From ec154ceb95fe304f56eb77ac6a16ad925c3ff3dd Mon Sep 17 00:00:00 2001 From: beanbeanjuice Date: Sun, 8 Dec 2024 02:17:28 +0000 Subject: [PATCH] deploy: b45ed4b26acb08219593e142e61e1e55a6a42320 --- dev/.build.manifest | 110 +- dev/.dart_tool/package_config.json | 2 +- dev/.packages | 99 - dev/main.dart.js | 37812 ++-- dev/packages/$sdk/_internal/strong.sum | 4078 - .../dev_compiler/{kernel => }/amd/require.js | 0 .../dev_compiler/ddc/ddc_module_loader.js | 1252 + .../$sdk/dev_compiler/kernel/amd/dart_sdk.js | 149318 --------------- .../dev_compiler/kernel/common/dart_sdk.js | 149314 -------------- .../$sdk/dev_compiler/kernel/common/run.js | 22 - .../$sdk/dev_compiler/kernel/es6/dart_sdk.js | 149279 -------------- .../web/dart_stack_trace_mapper.js | 8182 +- dev/packages/analyzer/src/wolf/README.md | 81 + .../archive/archive.dart.transitive_digest | 1 - .../async/async.dart.transitive_digest | 1 - .../boolean_selector.dart.transitive_digest | 1 - .../stack_trace_mapper.dart.js | 7475 +- .../built_collection.dart.transitive_digest | Bin 16 -> 0 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 16 -> 0 bytes ...tandard_json_plugin.dart.transitive_digest | 1 - .../collection.dart.transitive_digest | Bin 16 -> 0 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 - 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 - .../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 16 -> 0 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 - .../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 16 -> 0 bytes .../bridge.dart.transitive_digest | 1 - .../component_factory.dart.transitive_digest | Bin 16 -> 0 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 | 1 - .../src/runner/browser/static/host.dart.js | 6007 +- .../runner/browser/static/run_wasm_chrome.js | 47 + .../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 16 -> 0 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 16 -> 0 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 16 -> 0 bytes .../tuple/tuple.dart.transitive_digest | 1 - .../typed_data.dart.transitive_digest | 1 - dev/packages/vm_service/DEPENDENCIES.md | 17 + dev/packages/vm_service/src/DEPENDENCIES.md | 18 + dev/packages/vm_service/src/README.md | 1 + .../disposable.dart.transitive_digest | 1 - .../w_flux/w_flux.dart.transitive_digest | 1 - dev/packages/web/fix_data.yaml | 1279 + dev/packages/xml/xml.dart.transitive_digest | 1 - 116 files changed, 32584 insertions(+), 481928 deletions(-) delete mode 100644 dev/.packages delete mode 100644 dev/packages/$sdk/_internal/strong.sum rename dev/packages/$sdk/dev_compiler/{kernel => }/amd/require.js (100%) create mode 100644 dev/packages/$sdk/dev_compiler/ddc/ddc_module_loader.js delete mode 100644 dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js delete mode 100644 dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js delete mode 100644 dev/packages/$sdk/dev_compiler/kernel/common/run.js delete mode 100644 dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js create mode 100644 dev/packages/analyzer/src/wolf/README.md delete mode 100644 dev/packages/archive/archive.dart.transitive_digest delete mode 100644 dev/packages/async/async.dart.transitive_digest delete mode 100644 dev/packages/boolean_selector/boolean_selector.dart.transitive_digest delete mode 100644 dev/packages/built_collection/built_collection.dart.transitive_digest delete mode 100644 dev/packages/built_collection/src/internal/hash.dart.transitive_digest delete mode 100644 dev/packages/built_collection/src/set.dart.transitive_digest delete mode 100644 dev/packages/built_value/built_value.dart.transitive_digest delete mode 100644 dev/packages/built_value/serializer.dart.transitive_digest delete mode 100644 dev/packages/built_value/standard_json_plugin.dart.transitive_digest delete mode 100644 dev/packages/collection/collection.dart.transitive_digest delete mode 100644 dev/packages/color/color.dart.transitive_digest delete mode 100644 dev/packages/crypto/crypto.dart.transitive_digest delete mode 100644 dev/packages/dialog/dialog.dart.transitive_digest delete mode 100644 dev/packages/dnd/dnd.dart.transitive_digest delete mode 100644 dev/packages/fixnum/fixnum.dart.transitive_digest delete mode 100644 dev/packages/http/http.dart.transitive_digest delete mode 100644 dev/packages/http_parser/http_parser.dart.transitive_digest delete mode 100644 dev/packages/js/js.dart.transitive_digest delete mode 100644 dev/packages/js/js_util.dart.transitive_digest delete mode 100644 dev/packages/logging/logging.dart.transitive_digest delete mode 100644 dev/packages/matcher/expect.dart.transitive_digest delete mode 100644 dev/packages/matcher/src/expect/expect.dart.transitive_digest delete mode 100644 dev/packages/matcher/src/expect/expect_async.dart.transitive_digest delete mode 100644 dev/packages/matcher/src/expect/throws_matcher.dart.transitive_digest delete mode 100644 dev/packages/meta/meta.dart.transitive_digest delete mode 100644 dev/packages/meta/meta_meta.dart.transitive_digest delete mode 100644 dev/packages/over_react/component_base.dart.transitive_digest delete mode 100644 dev/packages/over_react/components.dart.transitive_digest delete mode 100644 dev/packages/over_react/over_react.dart.transitive_digest delete mode 100644 dev/packages/over_react/over_react_redux.dart.transitive_digest delete mode 100644 dev/packages/over_react/react_dom.dart.transitive_digest delete mode 100644 dev/packages/over_react/src/component/error_boundary.dart.transitive_digest delete mode 100644 dev/packages/over_react/src/component/error_boundary_api.dart.transitive_digest delete mode 100644 dev/packages/over_react/src/component/error_boundary_recoverable.dart.transitive_digest delete mode 100644 dev/packages/over_react/src/util/react_wrappers.dart.transitive_digest delete mode 100644 dev/packages/over_react_test/over_react_test.dart.transitive_digest delete mode 100644 dev/packages/path/path.dart.transitive_digest delete mode 100644 dev/packages/petitparser/core.dart.transitive_digest delete mode 100644 dev/packages/petitparser/petitparser.dart.transitive_digest delete mode 100644 dev/packages/platform_detect/platform_detect.dart.transitive_digest delete mode 100644 dev/packages/pointycastle/api.dart.transitive_digest delete mode 100644 dev/packages/pointycastle/block/aes.dart.transitive_digest delete mode 100644 dev/packages/pointycastle/digests/sha1.dart.transitive_digest delete mode 100644 dev/packages/pointycastle/export.dart.transitive_digest delete mode 100644 dev/packages/pointycastle/macs/hmac.dart.transitive_digest delete mode 100644 dev/packages/pool/pool.dart.transitive_digest delete mode 100644 dev/packages/pub_semver/pub_semver.dart.transitive_digest delete mode 100644 dev/packages/quiver/collection.dart.transitive_digest delete mode 100644 dev/packages/quiver/core.dart.transitive_digest delete mode 100644 dev/packages/quiver/iterables.dart.transitive_digest delete mode 100644 dev/packages/react/hooks.dart.transitive_digest delete mode 100644 dev/packages/react/react.dart.transitive_digest delete mode 100644 dev/packages/react/react_client.dart.transitive_digest delete mode 100644 dev/packages/react/react_client/bridge.dart.transitive_digest delete mode 100644 dev/packages/react/react_client/component_factory.dart.transitive_digest delete mode 100644 dev/packages/react/react_client/js_backed_map.dart.transitive_digest delete mode 100644 dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest delete mode 100644 dev/packages/react/react_client/react_interop.dart.transitive_digest delete mode 100644 dev/packages/react/react_dom.dart.transitive_digest delete mode 100644 dev/packages/react/react_test_utils.dart.transitive_digest delete mode 100644 dev/packages/redux/redux.dart.transitive_digest delete mode 100644 dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest delete mode 100644 dev/packages/source_span/source_span.dart.transitive_digest delete mode 100644 dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest delete mode 100644 dev/packages/stack_trace/stack_trace.dart.transitive_digest delete mode 100644 dev/packages/stream_channel/stream_channel.dart.transitive_digest delete mode 100644 dev/packages/string_scanner/string_scanner.dart.transitive_digest delete mode 100644 dev/packages/term_glyph/term_glyph.dart.transitive_digest create mode 100644 dev/packages/test/src/runner/browser/static/run_wasm_chrome.js delete mode 100644 dev/packages/test/src/runner/wasm/static/default.html.tpl delete mode 100644 dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js delete mode 100644 dev/packages/test/test.dart.transitive_digest delete mode 100644 dev/packages/test_api/backend.dart.transitive_digest delete mode 100644 dev/packages/test_api/hooks.dart.transitive_digest delete mode 100644 dev/packages/test_api/scaffolding.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/compiler.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/declarer.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/group.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/invoker.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/live_test.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/message.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/metadata.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/operating_system.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/runtime.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/state.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/suite.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest delete mode 100644 dev/packages/test_api/src/backend/test.dart.transitive_digest delete mode 100644 dev/packages/test_core/test_core.dart.transitive_digest delete mode 100644 dev/packages/tuple/tuple.dart.transitive_digest delete mode 100644 dev/packages/typed_data/typed_data.dart.transitive_digest create mode 100644 dev/packages/vm_service/DEPENDENCIES.md create mode 100644 dev/packages/vm_service/src/DEPENDENCIES.md create mode 100644 dev/packages/vm_service/src/README.md delete mode 100644 dev/packages/w_common/disposable.dart.transitive_digest delete mode 100644 dev/packages/w_flux/w_flux.dart.transitive_digest create mode 100644 dev/packages/web/fix_data.yaml delete mode 100644 dev/packages/xml/xml.dart.transitive_digest diff --git a/dev/.build.manifest b/dev/.build.manifest index a9b235bc2..df0974b1c 100644 --- a/dev/.build.manifest +++ b/dev/.build.manifest @@ -1,6 +1,5 @@ .dart_tool/package_config.json .gitignore -.packages 24-helix-rectangle-origami.dna CNAME bootstrap.min.css @@ -202,40 +201,20 @@ m13.txt main.dart.js origami_rectangle.py package-lock.json -packages/$sdk/_internal/strong.sum -packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js -packages/$sdk/dev_compiler/kernel/amd/require.js -packages/$sdk/dev_compiler/kernel/common/dart_sdk.js -packages/$sdk/dev_compiler/kernel/common/run.js -packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js +packages/$sdk/dev_compiler/amd/require.js +packages/$sdk/dev_compiler/ddc/ddc_module_loader.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/analyzer/src/wolf/README.md packages/build_runner/src/server/README.md 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/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 @@ -479,105 +458,32 @@ 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/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 +packages/test/src/runner/browser/static/run_wasm_chrome.js +packages/vm_service/DEPENDENCIES.md +packages/vm_service/src/DEPENDENCIES.md +packages/vm_service/src/README.md +packages/web/fix_data.yaml 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 e7c497a8d..65d1a654f 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.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":"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-12-06T00:36:37.209457Z","generator":"pub","generatorVersion":"2.19.6"} \ No newline at end of file +{"configVersion":2,"packages":[{"name":"_fe_analyzer_shared","rootUri":"../packages/_fe_analyzer_shared","packageUri":"","languageVersion":"3.3"},{"name":"_macros","rootUri":"../packages/_macros","packageUri":"","languageVersion":"3.4"},{"name":"analyzer","rootUri":"../packages/analyzer","packageUri":"","languageVersion":"3.3"},{"name":"archive","rootUri":"../packages/archive","packageUri":"","languageVersion":"3.0"},{"name":"args","rootUri":"../packages/args","packageUri":"","languageVersion":"3.3"},{"name":"async","rootUri":"../packages/async","packageUri":"","languageVersion":"3.4"},{"name":"bazel_worker","rootUri":"../packages/bazel_worker","packageUri":"","languageVersion":"3.1"},{"name":"boolean_selector","rootUri":"../packages/boolean_selector","packageUri":"","languageVersion":"3.1"},{"name":"build","rootUri":"../packages/build","packageUri":"","languageVersion":"2.19"},{"name":"build_config","rootUri":"../packages/build_config","packageUri":"","languageVersion":"2.14"},{"name":"build_daemon","rootUri":"../packages/build_daemon","packageUri":"","languageVersion":"3.4"},{"name":"build_modules","rootUri":"../packages/build_modules","packageUri":"","languageVersion":"3.5"},{"name":"build_resolvers","rootUri":"../packages/build_resolvers","packageUri":"","languageVersion":"3.0"},{"name":"build_runner","rootUri":"../packages/build_runner","packageUri":"","languageVersion":"3.5"},{"name":"build_runner_core","rootUri":"../packages/build_runner_core","packageUri":"","languageVersion":"3.5"},{"name":"build_test","rootUri":"../packages/build_test","packageUri":"","languageVersion":"3.0"},{"name":"build_web_compilers","rootUri":"../packages/build_web_compilers","packageUri":"","languageVersion":"3.5"},{"name":"built_collection","rootUri":"../packages/built_collection","packageUri":"","languageVersion":"2.12"},{"name":"built_value","rootUri":"../packages/built_value","packageUri":"","languageVersion":"3.0"},{"name":"built_value_generator","rootUri":"../packages/built_value_generator","packageUri":"","languageVersion":"3.0"},{"name":"checked_yaml","rootUri":"../packages/checked_yaml","packageUri":"","languageVersion":"2.19"},{"name":"clock","rootUri":"../packages/clock","packageUri":"","languageVersion":"3.4"},{"name":"code_builder","rootUri":"../packages/code_builder","packageUri":"","languageVersion":"3.5"},{"name":"collection","rootUri":"../packages/collection","packageUri":"","languageVersion":"3.4"},{"name":"color","rootUri":"../packages/color","packageUri":"","languageVersion":"2.12"},{"name":"convert","rootUri":"../packages/convert","packageUri":"","languageVersion":"3.4"},{"name":"coverage","rootUri":"../packages/coverage","packageUri":"","languageVersion":"3.4"},{"name":"crypto","rootUri":"../packages/crypto","packageUri":"","languageVersion":"3.4"},{"name":"csslib","rootUri":"../packages/csslib","packageUri":"","languageVersion":"3.1"},{"name":"dart_style","rootUri":"../packages/dart_style","packageUri":"","languageVersion":"3.0"},{"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":"3.0"},{"name":"fixnum","rootUri":"../packages/fixnum","packageUri":"","languageVersion":"3.1"},{"name":"frontend_server_client","rootUri":"../packages/frontend_server_client","packageUri":"","languageVersion":"3.0"},{"name":"glob","rootUri":"../packages/glob","packageUri":"","languageVersion":"2.19"},{"name":"graphs","rootUri":"../packages/graphs","packageUri":"","languageVersion":"3.4"},{"name":"html","rootUri":"../packages/html","packageUri":"","languageVersion":"3.2"},{"name":"http","rootUri":"../packages/http","packageUri":"","languageVersion":"3.3"},{"name":"http_multi_server","rootUri":"../packages/http_multi_server","packageUri":"","languageVersion":"2.12"},{"name":"http_parser","rootUri":"../packages/http_parser","packageUri":"","languageVersion":"3.4"},{"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":"3.0"},{"name":"logging","rootUri":"../packages/logging","packageUri":"","languageVersion":"3.4"},{"name":"macros","rootUri":"../packages/macros","packageUri":"","languageVersion":"3.4"},{"name":"matcher","rootUri":"../packages/matcher","packageUri":"","languageVersion":"3.0"},{"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":"3.2"},{"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":"3.4"},{"name":"petitparser","rootUri":"../packages/petitparser","packageUri":"","languageVersion":"3.2"},{"name":"platform_detect","rootUri":"../packages/platform_detect","packageUri":"","languageVersion":"2.12"},{"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":"3.0"},{"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":"scadnano","rootUri":"../","packageUri":"packages/scadnano","languageVersion":"3.0"},{"name":"scratch_space","rootUri":"../packages/scratch_space","packageUri":"","languageVersion":"2.19"},{"name":"shelf","rootUri":"../packages/shelf","packageUri":"","languageVersion":"3.4"},{"name":"shelf_packages_handler","rootUri":"../packages/shelf_packages_handler","packageUri":"","languageVersion":"2.17"},{"name":"shelf_static","rootUri":"../packages/shelf_static","packageUri":"","languageVersion":"3.3"},{"name":"shelf_web_socket","rootUri":"../packages/shelf_web_socket","packageUri":"","languageVersion":"3.3"},{"name":"source_gen","rootUri":"../packages/source_gen","packageUri":"","languageVersion":"3.0"},{"name":"source_map_stack_trace","rootUri":"../packages/source_map_stack_trace","packageUri":"","languageVersion":"3.3"},{"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":"3.0"},{"name":"stack_trace","rootUri":"../packages/stack_trace","packageUri":"","languageVersion":"3.4"},{"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":"3.1"},{"name":"term_glyph","rootUri":"../packages/term_glyph","packageUri":"","languageVersion":"2.12"},{"name":"test","rootUri":"../packages/test","packageUri":"","languageVersion":"3.5"},{"name":"test_api","rootUri":"../packages/test_api","packageUri":"","languageVersion":"3.5"},{"name":"test_core","rootUri":"../packages/test_core","packageUri":"","languageVersion":"3.5"},{"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.19"},{"name":"tuple","rootUri":"../packages/tuple","packageUri":"","languageVersion":"2.17"},{"name":"typed_data","rootUri":"../packages/typed_data","packageUri":"","languageVersion":"3.5"},{"name":"vm_service","rootUri":"../packages/vm_service","packageUri":"","languageVersion":"3.3"},{"name":"w_common","rootUri":"../packages/w_common","packageUri":"","languageVersion":"2.19"},{"name":"w_flux","rootUri":"../packages/w_flux","packageUri":"","languageVersion":"2.19"},{"name":"watcher","rootUri":"../packages/watcher","packageUri":"","languageVersion":"3.0"},{"name":"web","rootUri":"../packages/web","packageUri":"","languageVersion":"3.4"},{"name":"web_socket","rootUri":"../packages/web_socket","packageUri":"","languageVersion":"3.3"},{"name":"web_socket_channel","rootUri":"../packages/web_socket_channel","packageUri":"","languageVersion":"3.3"},{"name":"webkit_inspection_protocol","rootUri":"../packages/webkit_inspection_protocol","packageUri":"","languageVersion":"3.0"},{"name":"xml","rootUri":"../packages/xml","packageUri":"","languageVersion":"3.2"},{"name":"yaml","rootUri":"../packages/yaml","packageUri":"","languageVersion":"2.19"},{"name":"$sdk","rootUri":"../packages/$sdk","packageUri":""}]} \ No newline at end of file diff --git a/dev/.packages b/dev/.packages deleted file mode 100644 index d74a9d489..000000000 --- a/dev/.packages +++ /dev/null @@ -1,99 +0,0 @@ -_fe_analyzer_shared:packages/_fe_analyzer_shared/ -analyzer:packages/analyzer/ -archive:packages/archive/ -args:packages/args/ -async:packages/async/ -bazel_worker:packages/bazel_worker/ -boolean_selector:packages/boolean_selector/ -build:packages/build/ -build_config:packages/build_config/ -build_daemon:packages/build_daemon/ -build_modules:packages/build_modules/ -build_resolvers:packages/build_resolvers/ -build_runner:packages/build_runner/ -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_value:packages/built_value/ -built_value_generator:packages/built_value_generator/ -checked_yaml:packages/checked_yaml/ -clock:packages/clock/ -code_builder:packages/code_builder/ -collection:packages/collection/ -color:packages/color/ -convert:packages/convert/ -coverage:packages/coverage/ -crypto:packages/crypto/ -csslib:packages/csslib/ -dart_style:packages/dart_style/ -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/ -http:packages/http/ -http_multi_server:packages/http_multi_server/ -http_parser:packages/http_parser/ -intl:packages/intl/ -io:packages/io/ -js:packages/js/ -json_annotation:packages/json_annotation/ -logging:packages/logging/ -matcher:packages/matcher/ -memoize:packages/memoize/ -meta:packages/meta/ -mime:packages/mime/ -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/ -petitparser:packages/petitparser/ -platform_detect:packages/platform_detect/ -pointycastle:packages/pointycastle/ -pool:packages/pool/ -protobuf:packages/protobuf/ -pub_semver:packages/pub_semver/ -pubspec_parse:packages/pubspec_parse/ -quiver:packages/quiver/ -react:packages/react/ -redux:packages/redux/ -redux_dev_tools:packages/redux_dev_tools/ -reselect:packages/reselect/ -scadnano:packages/scadnano/ -scratch_space:packages/scratch_space/ -shelf:packages/shelf/ -shelf_packages_handler:packages/shelf_packages_handler/ -shelf_static:packages/shelf_static/ -shelf_web_socket:packages/shelf_web_socket/ -source_gen:packages/source_gen/ -source_map_stack_trace:packages/source_map_stack_trace/ -source_maps:packages/source_maps/ -source_span:packages/source_span/ -spreadsheet_decoder:packages/spreadsheet_decoder/ -stack_trace:packages/stack_trace/ -stream_channel:packages/stream_channel/ -stream_transform:packages/stream_transform/ -string_scanner:packages/string_scanner/ -term_glyph:packages/term_glyph/ -test:packages/test/ -test_api:packages/test_api/ -test_core:packages/test_core/ -test_html_builder:packages/test_html_builder/ -timing:packages/timing/ -transformer_utils:packages/transformer_utils/ -tuple:packages/tuple/ -typed_data:packages/typed_data/ -vm_service:packages/vm_service/ -w_common:packages/w_common/ -w_flux:packages/w_flux/ -watcher:packages/watcher/ -web_socket_channel:packages/web_socket_channel/ -webkit_inspection_protocol:packages/webkit_inspection_protocol/ -xml:packages/xml/ -yaml:packages/yaml/ -$sdk:packages/$sdk/ \ No newline at end of file diff --git a/dev/main.dart.js b/dev/main.dart.js index 5b4269599..f21aa2236 100644 --- a/dev/main.dart.js +++ b/dev/main.dart.js @@ -1,4 +1,4 @@ -// Generated by dart2js (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.6. +// Generated by dart2js (NullSafetyMode.sound, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.5.4. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -9,12 +9,22 @@ // directly. Instead, a closure that will invoke [main], and its arguments // [args] is passed to [dartMainRunner]. // -// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId): +// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority): // 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. The loadId argument is the deferred import that resulted in -// this uri being loaded. +// this uri being loaded. The loadPriority argument is the priority the +// library should be loaded with as specified in the code via the +// load-priority annotation (0: normal, 1: high). +// dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority): +// if this function is defined, it will be called when a deferred library +// is loaded. It should load and eval the javascript of every URI in `uris`, +// and call successCallback. If it fails to do so, it should call +// errorCallback with an error. The loadId argument is the deferred import +// that resulted in this uri being loaded. The loadPriority argument is the +// priority the library should be loaded with as specified in the code via +// the load-priority annotation (0: normal, 1: high). // // dartCallInstrumentation(id, qualifiedName): // if this function is defined, it will be called at each entry of a @@ -32,8 +42,9 @@ var keys = Object.keys(from); for (var i = 0; i < keys.length; i++) { var key = keys[i]; - if (!to.hasOwnProperty(key)) + if (!to.hasOwnProperty(key)) { to[key] = from[key]; + } } } function mixinPropertiesEasy(from, to) { @@ -44,7 +55,7 @@ }; cls.prototype = {p: {}}; var object = new cls(); - if (!(object.__proto__ && object.__proto__.p === cls.prototype.p)) + if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p)) return false; try { if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) @@ -63,7 +74,7 @@ cls.prototype["$is" + cls.name] = cls; if (sup != null) { if (supportsDirectProtoAccess) { - cls.prototype.__proto__ = sup.prototype; + Object.setPrototypeOf(cls.prototype, sup.prototype); return; } var clsPrototype = Object.create(sup.prototype); @@ -72,8 +83,9 @@ } } function inheritMany(sup, classes) { - for (var i = 0; i < classes.length; i++) + for (var i = 0; i < classes.length; i++) { inherit(classes[i], sup); + } } function mixinEasy(cls, mixin) { mixinPropertiesEasy(mixin.prototype, cls.prototype); @@ -83,37 +95,13 @@ 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() { - A.throwCyclicInit(name); - }; - var result; - var sentinelInProgress = initializer; - try { - if (holder[name] === uninitializedSentinel) { - result = holder[name] = sentinelInProgress; - result = holder[name] = initializer(); - } else - result = holder[name]; - } finally { - if (result === sentinelInProgress) - holder[name] = null; - holder[getterName] = function() { - return this[name]; - }; - } - return result; - }; - } function lazy(holder, name, getterName, initializer) { var uninitializedSentinel = holder; holder[name] = uninitializedSentinel; holder[getterName] = function() { - if (holder[name] === uninitializedSentinel) + if (holder[name] === uninitializedSentinel) { holder[name] = initializer(); + } holder[getterName] = function() { return this[name]; }; @@ -126,8 +114,9 @@ holder[getterName] = function() { if (holder[name] === uninitializedSentinel) { var value = initializer(); - if (holder[name] !== uninitializedSentinel) + if (holder[name] !== uninitializedSentinel) { A.throwLateFieldADI(name); + } holder[name] = value; } var finalValue = holder[name]; @@ -150,8 +139,9 @@ return properties; } function convertAllToFastObject(arrayOfObjects) { - for (var i = 0; i < arrayOfObjects.length; ++i) + for (var i = 0; i < arrayOfObjects.length; ++i) { convertToFastObject(arrayOfObjects[i]); + } } var functionCounter = 0; function instanceTearOffGetter(isIntercepted, parameters) { @@ -176,8 +166,9 @@ } var typesOffset = 0; function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) { - if (typeof funType == "number") + 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(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) { @@ -228,28 +219,761 @@ return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex); }; }; - 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}; + 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, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; }(); function initializeDeferredHunk(hunk) { typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } - var A = {JS_CONST: function JS_CONST() { + var 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$allocateGrowable($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; + }, + JSArray__compareAny(a, b) { + var t1 = type$.Comparable_dynamic; + return J.compareTo$1$ns(t1._as(a), t1._as(b)); + }, + 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 = string.charCodeAt(index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; + } + return index; + }, + JSString__skipTrailingWhitespace(string, index) { + var t1, index0, codeUnit; + for (t1 = string.length; index > 0; index = index0) { + index0 = index - 1; + if (!(index0 < t1)) + return A.ioore(string, index0); + codeUnit = string.charCodeAt(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 (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + 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 (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.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 (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + getInterceptor$ax(receiver) { + if (receiver == null) + return receiver; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); + }, + 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; + }, + 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; + }, + 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; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.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; + }, + set$_innerHtml$x(receiver, value) { + return J.getInterceptor$x(receiver).set$_innerHtml(receiver, value); + }, + set$dartComponentVersion$x(receiver, value) { + return J.getInterceptor$x(receiver).set$dartComponentVersion(receiver, value); + }, + set$dartStackTrace$x(receiver, value) { + return J.getInterceptor$x(receiver).set$dartStackTrace(receiver, value); + }, + set$disabled$z(receiver, value) { + return J.getInterceptor$z(receiver).set$disabled(receiver, value); + }, + set$display$z(receiver, value) { + return J.getInterceptor$z(receiver).set$display(receiver, value); + }, + set$displayName$x(receiver, value) { + return J.getInterceptor$x(receiver).set$displayName(receiver, value); + }, + set$height$x(receiver, value) { + return J.getInterceptor$x(receiver).set$height(receiver, value); + }, + set$key$z(receiver, value) { + return J.getInterceptor$z(receiver).set$key(receiver, value); + }, + set$length$asx(receiver, value) { + return J.getInterceptor$asx(receiver).set$length(receiver, value); + }, + set$props$x(receiver, value) { + return J.getInterceptor$x(receiver).set$props(receiver, value); + }, + set$render$x(receiver, value) { + return J.getInterceptor$x(receiver).set$render(receiver, value); + }, + set$show$z(receiver, value) { + return J.getInterceptor$z(receiver).set$show(receiver, value); + }, + set$src$x(receiver, value) { + return J.getInterceptor$x(receiver).set$src(receiver, value); + }, + set$state$x(receiver, value) { + return J.getInterceptor$x(receiver).set$state(receiver, value); + }, + set$store$z(receiver, value) { + return J.getInterceptor$z(receiver).set$store(receiver, value); + }, + set$value$x(receiver, value) { + return J.getInterceptor$x(receiver).set$value(receiver, value); + }, + set$width$x(receiver, value) { + return J.getInterceptor$x(receiver).set$width(receiver, value); + }, + get$attributes$x(receiver) { + return J.getInterceptor$x(receiver).get$attributes(receiver); + }, + get$button$x(receiver) { + return J.getInterceptor$x(receiver).get$button(receiver); + }, + get$checked$x(receiver) { + return J.getInterceptor$x(receiver).get$checked(receiver); + }, + get$classes$x(receiver) { + return J.getInterceptor$x(receiver).get$classes(receiver); + }, + get$componentStack$x(receiver) { + return J.getInterceptor$x(receiver).get$componentStack(receiver); + }, + get$ctrlKey$x(receiver) { + return J.getInterceptor$x(receiver).get$ctrlKey(receiver); + }, + get$current$x(receiver) { + return J.getInterceptor$x(receiver).get$current(receiver); + }, + get$currentTarget$x(receiver) { + return J.getInterceptor$x(receiver).get$currentTarget(receiver); + }, + get$dartComponent$x(receiver) { + return J.getInterceptor$x(receiver).get$dartComponent(receiver); + }, + get$dartComponentVersion$x(receiver) { + return J.getInterceptor$x(receiver).get$dartComponentVersion(receiver); + }, + get$defaultProps$x(receiver) { + return J.getInterceptor$x(receiver).get$defaultProps(receiver); + }, + get$displayName$x(receiver) { + return J.getInterceptor$x(receiver).get$displayName(receiver); + }, + get$first$ax(receiver) { + return J.getInterceptor$ax(receiver).get$first(receiver); + }, + get$hashCode$(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); + }, + get$hex$x(receiver) { + return J.getInterceptor$x(receiver).get$hex(receiver); + }, + get$innerHtml$x(receiver) { + return J.getInterceptor$x(receiver).get$innerHtml(receiver); + }, + get$isEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + }, + get$isNotEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); + }, + get$iterator$ax(receiver) { + return J.getInterceptor$ax(receiver).get$iterator(receiver); + }, + get$keyCode$x(receiver) { + return J.getInterceptor$x(receiver).get$keyCode(receiver); + }, + get$keys$x(receiver) { + return J.getInterceptor$x(receiver).get$keys(receiver); + }, + get$last$ax(receiver) { + return J.getInterceptor$ax(receiver).get$last(receiver); + }, + get$length$asx(receiver) { + return J.getInterceptor$asx(receiver).get$length(receiver); + }, + get$message$x(receiver) { + return J.getInterceptor$x(receiver).get$message(receiver); + }, + get$metaKey$x(receiver) { + return J.getInterceptor$x(receiver).get$metaKey(receiver); + }, + get$nativeEvent$x(receiver) { + return J.getInterceptor$x(receiver).get$nativeEvent(receiver); + }, + get$nodeType$x(receiver) { + return J.getInterceptor$x(receiver).get$nodeType(receiver); + }, + get$offset$x(receiver) { + return J.getInterceptor$x(receiver).get$offset(receiver); + }, + get$onClick$x(receiver) { + return J.getInterceptor$x(receiver).get$onClick(receiver); + }, + get$onMouseDown$x(receiver) { + return J.getInterceptor$x(receiver).get$onMouseDown(receiver); + }, + get$onTouchStart$x(receiver) { + return J.getInterceptor$x(receiver).get$onTouchStart(receiver); + }, + get$props$x(receiver) { + return J.getInterceptor$x(receiver).get$props(receiver); + }, + get$reversed$ax(receiver) { + return J.getInterceptor$ax(receiver).get$reversed(receiver); + }, + get$runtimeType$(receiver) { + return J.getInterceptor$(receiver).get$runtimeType(receiver); + }, + get$shiftKey$x(receiver) { + return J.getInterceptor$x(receiver).get$shiftKey(receiver); + }, + get$single$ax(receiver) { + return J.getInterceptor$ax(receiver).get$single(receiver); + }, + get$source$z(receiver) { + return J.getInterceptor$z(receiver).get$source(receiver); + }, + get$target$x(receiver) { + return J.getInterceptor$x(receiver).get$target(receiver); + }, + get$type$x(receiver) { + return J.getInterceptor$x(receiver).get$type(receiver); + }, + get$value$x(receiver) { + return J.getInterceptor$x(receiver).get$value(receiver); + }, + get$values$x(receiver) { + return J.getInterceptor$x(receiver).get$values(receiver); + }, + get$which$x(receiver) { + return J.getInterceptor$x(receiver).get$which(receiver); + }, + $add$ansx(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver + a0; + return J.getInterceptor$ansx(receiver).$add(receiver, a0); + }, + $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 (Array.isArray(receiver) || 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); + }, + $mod$n(receiver, a0) { + return J.getInterceptor$n(receiver).$mod(receiver, a0); + }, + $sub$n(receiver, a0) { + if (typeof receiver == "number" && typeof a0 == "number") + return receiver - a0; + return J.getInterceptor$n(receiver).$sub(receiver, a0); + }, + _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); + }, + _replaceChild$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); + }, + add$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).add$1(receiver, a0); + }, + addAll$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); + }, + addEventListener$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); + }, + addEventListener$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); + }, + 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); + }, + cast$2$0$ax(receiver, $T1, $T2) { + return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); + }, + click$0$x(receiver) { + return J.getInterceptor$x(receiver).click$0(receiver); + }, + close$0$z(receiver) { + return J.getInterceptor$z(receiver).close$0(receiver); + }, + compareTo$1$ns(receiver, a0) { + return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); + }, + contains$1$asx(receiver, a0) { + return J.getInterceptor$asx(receiver).contains$1(receiver, a0); + }, + containsKey$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); + }, + drawImage$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).drawImage$3(receiver, a0, a1, a2); + }, + elementAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + }, + expand$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); + }, + firstWhere$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).firstWhere$1(receiver, a0); + }, + forEach$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); + }, + getBoundingClientRect$0$x(receiver) { + return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); + }, + getRange$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); + }, + indexOf$2$asx(receiver, a0, a1) { + return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); + }, + insert$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); + }, + insertAll$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); + }, + insertAllBefore$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); + }, + insertBefore$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).insertBefore$2(receiver, a0, a1); + }, + join$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).join$1(receiver, a0); + }, + map$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).map$1(receiver, a0); + }, + map$1$1$ax(receiver, a0, $T1) { + return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); + }, + map$2$1$ax(receiver, a0, $T1, $T2) { + return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); + }, + matchAsPrefix$2$s(receiver, a0, a1) { + return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + }, + matches$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).matches$1(receiver, a0); + }, + matchesWithAncestors$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); + }, + noSuchMethod$1$(receiver, a0) { + return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + }, + postMessage$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); + }, + preventDefault$0$x(receiver) { + return J.getInterceptor$x(receiver).preventDefault$0(receiver); + }, + remove$0$ax(receiver) { + return J.getInterceptor$ax(receiver).remove$0(receiver); + }, + remove$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).remove$1(receiver, a0); + }, + removeAt$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); + }, + removeEventListener$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); + }, + removeEventListener$3$x(receiver, a0, a1, a2) { + return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); + }, + removeLast$0$ax(receiver) { + return J.getInterceptor$ax(receiver).removeLast$0(receiver); + }, + removeRange$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); + }, + removeWhere$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); + }, + replaceWith$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); + }, + setAll$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); + }, + setRange$3$ax(receiver, a0, a1, a2) { + return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); + }, + setRange$4$ax(receiver, a0, a1, a2, a3) { + return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); + }, + setSelectionRange$2$x(receiver, a0, a1) { + return J.getInterceptor$x(receiver).setSelectionRange$2(receiver, a0, a1); + }, + setState$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).setState$1(receiver, a0); + }, + skip$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).skip$1(receiver, a0); + }, + sort$0$ax(receiver) { + return J.getInterceptor$ax(receiver).sort$0(receiver); + }, + sort$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).sort$1(receiver, a0); + }, + stopPropagation$0$x(receiver) { + return J.getInterceptor$x(receiver).stopPropagation$0(receiver); + }, + sublist$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); + }, + sublist$2$ax(receiver, a0, a1) { + return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); + }, + take$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).take$1(receiver, a0); + }, + then$1$1$z(receiver, a0, $T1) { + return J.getInterceptor$z(receiver).then$1$1(receiver, a0, $T1); + }, + then$1$2$onError$z(receiver, a0, a1, $T1) { + return J.getInterceptor$z(receiver).then$1$2$onError(receiver, a0, a1, $T1); + }, + toBlob$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).toBlob$1(receiver, a0); + }, + toList$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toList$0(receiver); + }, + toList$1$growable$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); + }, + toLowerCase$0$s(receiver) { + return J.getInterceptor$s(receiver).toLowerCase$0(receiver); + }, + toSet$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toSet$0(receiver); + }, + toString$0$(receiver) { + return J.getInterceptor$(receiver).toString$0(receiver); + }, + toStringAsFixed$1$n(receiver, a0) { + return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); + }, + trim$0$s(receiver) { + return J.getInterceptor$s(receiver).trim$0(receiver); + }, + where$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).where$1(receiver, a0); + }, + Interceptor: function Interceptor() { + }, + JSBool: function JSBool() { + }, + JSNull: function JSNull() { + }, + JavaScriptObject: function JavaScriptObject() { + }, + LegacyJavaScriptObject: function LegacyJavaScriptObject() { + }, + PlainJavaScriptObject: function PlainJavaScriptObject() { + }, + UnknownJavaScriptObject: function UnknownJavaScriptObject() { + }, + JavaScriptFunction: function JavaScriptFunction() { + }, + JavaScriptBigInt: function JavaScriptBigInt() { + }, + JavaScriptSymbol: function JavaScriptSymbol() { + }, + 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() { + } + }, + A = {JS_CONST: function JS_CONST() { }, CastIterable_CastIterable(source, $S, $T) { if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) 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(fieldName) { - return new A.LateError("Field '" + fieldName + "' has been assigned during initialization."); - }, 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; @@ -279,6 +1003,13 @@ checkNotNullable(value, $name, $T) { return value; }, + isToStringVisiting(object) { + var t1, i; + for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i) + if (object === $.toStringVisiting[i]) + return true; + return false; + }, SubListIterable$(_iterable, _start, _endOrLength, $E) { A.RangeError_checkNotNegative(_start, "start"); if (_endOrLength != null) { @@ -321,12 +1052,6 @@ IterableElementError_tooFew() { return new A.StateError("Too few elements"); }, - Sort_sort(a, compare, $E) { - var t1 = J.get$length$asx(a); - if (typeof t1 !== "number") - return t1.$sub(); - A.Sort__doSort(a, 0, t1 - 1, compare, $E); - }, Sort__doSort(a, left, right, compare, $E) { if (right - left <= 32) A.Sort__insertionSort(a, left, right, compare, $E); @@ -356,7 +1081,7 @@ } }, Sort__dualPivotQuicksort(a, left, right, compare, $E) { - var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, + var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6), index1 = left + sixth, index5 = right - sixth, @@ -448,7 +1173,8 @@ t1.$indexSet(a, index4, t1.$index(a, right)); less = left + 1; great = right - 1; - if (J.$eq$(compare.call$2(el2, el4), 0)) { + pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0); + if (pivots_are_equal) for (k = less; k <= great; ++k) { ak = t1.$index(a, k); comp = compare.call$2(ak, el2); @@ -485,8 +1211,7 @@ } } } - pivots_are_equal = true; - } else { + else for (k = less; k <= great; ++k) { ak = t1.$index(a, k); if (compare.call$2(ak, el2) < 0) { @@ -518,8 +1243,6 @@ break; } } - pivots_are_equal = false; - } t2 = less - 1; t1.$indexSet(a, left, t1.$index(a, t2)); t1.$indexSet(a, t2, el2); @@ -598,11 +1321,6 @@ this._source = t0; this.$ti = t1; }, - CastSet: function CastSet(t0, t1, t2) { - this._source = t0; - this.__internal$_emptySet = t1; - this.$ti = t2; - }, CastMap: function CastMap(t0, t1) { this._source = t0; this.$ti = t1; @@ -611,17 +1329,10 @@ this.$this = t0; this.f = t1; }, - CastMap_entries_closure: function CastMap_entries_closure(t0) { - this.$this = t0; - }, CastMap_removeWhere_closure: function CastMap_removeWhere_closure(t0, t1) { this.$this = t0; this.test = t1; }, - CastQueue: function CastQueue(t0, t1) { - this._source = t0; - this.$ti = t1; - }, LateError: function LateError(t0) { this._message = t0; }, @@ -782,22 +1493,8 @@ 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(f, T1) { - var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>")); - t1.Instantiation$1(f); - return t1; + ConstantSet__throwUnmodifiable() { + throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set")); }, unminifyOrTag(rawClassName) { var preserved = init.mangledGlobalNames[rawClassName]; @@ -830,6 +1527,9 @@ result = J.toString$0$(value); return result; }, + JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) { + return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount); + }, Primitives_objectHashCode(object) { var hash, property = $.Primitives__identityHashCodeProperty; @@ -865,7 +1565,7 @@ maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; digitsPart = match[1]; for (t1 = digitsPart.length, i = 0; i < t1; ++i) - if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) + if ((digitsPart.charCodeAt(i) | 32) > maxCharCode) return _null; } return parseInt(source, radix); @@ -904,6 +1604,17 @@ } return A._rtiToString(A.instanceType(object), null); }, + Primitives_safeToString(object) { + if (object == null || typeof object == "number" || A._isBool(object)) + return J.toString$0$(object); + if (typeof object == "string") + return JSON.stringify(object); + if (object instanceof A.Closure) + return object.toString$0(0); + if (object instanceof A._Record) + return object._toString$1(true); + return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; + }, Primitives_currentUri() { if (!!self.location) return self.location.href; @@ -974,15 +1685,22 @@ } throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null)); }, - Primitives_valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { - var value, + Primitives_valueFromDecomposedDate(years, month, day, hours, minutes, seconds, milliseconds, microseconds, isUtc) { + var remainder, value, t1, jsMonth = month - 1; if (0 <= years && years < 100) { years += 400; jsMonth -= 4800; } + remainder = B.JSInt_methods.$mod(microseconds, 1000); + milliseconds += B.JSInt_methods._tdivFast$1(microseconds - remainder, 1000); value = isUtc ? Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds) : new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); - if (isNaN(value) || value < -864e13 || value > 864e13) + t1 = true; + if (!isNaN(value)) + if (!(value < -864e13)) + if (!(value > 864e13)) + t1 = value === 864e13 && remainder !== 0; + if (t1) return null; return value; }, @@ -1020,14 +1738,14 @@ t1.argumentCount = positionalArguments.length; B.JSArray_methods.addAll$1($arguments, positionalArguments); t1.names = ""; - if (namedArguments != null && namedArguments._length !== 0) + if (namedArguments != null && namedArguments.__js_helper$_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; + t1 = namedArguments == null || namedArguments.__js_helper$_length === 0; else t1 = false; if (t1) { @@ -1071,14 +1789,14 @@ if (typeof jsFunction == "string") jsFunction = interceptor[jsFunction]; if (t1) { - if (namedArguments != null && namedArguments._length !== 0) + if (namedArguments != null && namedArguments.__js_helper$_length !== 0) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); if (argumentCount === requiredParameterCount) return jsFunction.apply($function, $arguments); return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } if (Array.isArray(defaultValues)) { - if (namedArguments != null && namedArguments._length !== 0) + if (namedArguments != null && namedArguments.__js_helper$_length !== 0) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); maxArguments = requiredParameterCount + defaultValues.length; if (argumentCount > maxArguments) @@ -1116,12 +1834,18 @@ B.JSArray_methods.add$1($arguments, defaultValue); } } - if (used !== namedArguments._length) + if (used !== namedArguments.__js_helper$_length) return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments); } return jsFunction.apply($function, $arguments); } }, + Primitives_extractStackTrace(error) { + var jsError = error.$thrownJsError; + if (jsError == null) + return null; + return A.getTraceFromException(jsError); + }, iae(argument) { throw A.wrapException(A.argumentErrorValue(argument)); }, @@ -1151,10 +1875,12 @@ return new A.ArgumentError(true, object, null, null); }, wrapException(ex) { - var wrapper, t1; + return A.initializeExceptionWrapper(new Error(), ex); + }, + initializeExceptionWrapper(wrapper, ex) { + var t1; if (ex == null) - ex = new A.NullThrownError(); - wrapper = new Error(); + ex = new A.TypeError(); wrapper.dartException = ex; t1 = A.toStringWrapper; if ("defineProperty" in Object) { @@ -1170,6 +1896,9 @@ throwExpression(ex) { throw A.wrapException(ex); }, + throwExpressionWithWrapper(ex, wrapper) { + throw A.initializeExceptionWrapper(wrapper, ex); + }, throwConcurrentModificationError(collection) { throw A.wrapException(A.ConcurrentModificationError$(collection)); }, @@ -1231,7 +1960,7 @@ return error; }, _unwrapNonDartException(ex) { - var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; + var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match; if (!("message" in ex)) return ex; message = ex.message; @@ -1241,11 +1970,11 @@ if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) switch (ieErrorCode) { case 438: - return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null)); case 445: case 5007: - t1 = A.S(message); - return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null)); + A.S(message); + return A.saveStackTrace(ex, new A.NullError()); } } if (ex instanceof TypeError) { @@ -1267,41 +1996,9 @@ if (match != null) { match.method = "call"; return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); - } else { - match = nullCall.matchTypeError$1(message); - if (match == null) { - match = nullLiteralCall.matchTypeError$1(message); - if (match == null) { - match = undefCall.matchTypeError$1(message); - if (match == null) { - match = undefLiteralCall.matchTypeError$1(message); - if (match == null) { - match = nullProperty.matchTypeError$1(message); - if (match == null) { - match = nullLiteralCall.matchTypeError$1(message); - if (match == null) { - match = undefProperty.matchTypeError$1(message); - if (match == null) { - match = undefLiteralProperty.matchTypeError$1(message); - t1 = match != null; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - if (t1) { - A._asString(message); - return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); - } + } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null) { + A._asString(message); + return A.saveStackTrace(ex, new A.NullError()); } } return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); @@ -1316,7 +2013,7 @@ } return null; }(ex); - return A.saveStackTrace(ex, new A.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") @@ -1332,13 +2029,28 @@ trace = exception.$cachedTrace; if (trace != null) return trace; - return exception.$cachedTrace = new A._StackTrace(exception); + trace = new A._StackTrace(exception); + if (typeof exception === "object") + exception.$cachedTrace = trace; + return trace; }, objectHashCode(object) { - if (object == null || typeof object != "object") + if (object == null) return J.get$hashCode$(object); - else + if (typeof object == "object") return A.Primitives_objectHashCode(object); + return J.get$hashCode$(object); + }, + constantHashCode(key) { + if (typeof key == "number") + return B.JSNumber_methods.get$hashCode(key); + if (key instanceof A._Type) + return A.Primitives_objectHashCode(key); + if (key instanceof A._Record) + return key.get$hashCode(key); + if (key instanceof A.Symbol) + return key.get$hashCode(0); + return A.objectHashCode(key); }, fillLiteralMap(keyValuePairs, result) { var index, index0, index1, @@ -1357,7 +2069,7 @@ result.add$1(0, values[index]); return result; }, - invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { type$.Function._as(closure); switch (A._asInt(numberOfArguments)) { case 0: @@ -1380,13 +2092,38 @@ $function = closure.$identity; if (!!$function) return $function; - $function = function(closure, arity, invoke) { + $function = A.convertDartClosureToJSUncached(closure, arity); + closure.$identity = $function; + return $function; + }, + convertDartClosureToJSUncached(closure, arity) { + var entry; + switch (arity) { + case 0: + entry = closure.call$0; + break; + case 1: + entry = closure.call$1; + break; + case 2: + entry = closure.call$2; + break; + case 3: + entry = closure.call$3; + break; + case 4: + entry = closure.call$4; + break; + default: + entry = null; + } + if (entry != null) + return entry.bind(closure); + return function(closure, arity, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, arity, a1, a2, a3, a4); }; - }(closure, arity, A.invokeClosure); - closure.$identity = $function; - return $function; + }(closure, arity, A._invokeClosure); }, Closure_fromTearOff(parameters) { var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName, @@ -1404,14 +2141,11 @@ 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 - $constructor = function tear_off(a, b) { - this.$initialize(a, b); - }; + $constructor = isStatic ? function static_tear_off() { + this.$initialize(); + } : function tear_off(a, b) { + this.$initialize(a, b); + }; $prototype.constructor = $constructor; $constructor.prototype = $prototype; $prototype.$_name = $name; @@ -1509,12 +2243,9 @@ } }, Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) { - var arity, t1; if (isIntercepted) return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); - arity = $function.length; - t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); - return t1; + return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function); }, Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) { var getReceiver = A.BoundClosure_receiverOf, @@ -1610,7 +2341,7 @@ throw A.wrapException(new A._AssertionError(message)); }, throwCyclicInit(staticName) { - throw A.wrapException(new A.CyclicInitializationError(staticName)); + throw A.wrapException(new A._CyclicInitializationError(staticName)); }, getIsolateAffinityTag($name) { return init.getIsolateTag($name); @@ -1744,7 +2475,7 @@ transformers = dartNativeDispatchHooksTransformer; if (typeof transformers == "function") transformers = [transformers]; - if (transformers.constructor == Array) + if (Array.isArray(transformers)) for (i = 0; i < transformers.length; ++i) { transformer = transformers[i]; if (typeof transformer == "function") @@ -1761,6 +2492,28 @@ applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, + _RecordN__equalValues(a, b) { + var i, t1; + for (i = 0; i < a.length; ++i) { + t1 = a[i]; + if (!(i < b.length)) + return A.ioore(b, i); + if (!J.$eq$(t1, b[i])) + return false; + } + return true; + }, + createRecordTypePredicate(shape, fieldRtis) { + var $length = fieldRtis.length, + $function = init.rttc["" + $length + ";" + shape]; + if ($function == null) + return null; + if ($length === 0) + return $function; + if ($length === $function.length) + return $function.apply(null, fieldRtis); + return $function(fieldRtis); + }, JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { var m = multiLine ? "m" : "", i = caseSensitive ? "" : "i", @@ -1785,10 +2538,8 @@ 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); - } + } else + return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0); }, escapeReplacement(replacement) { if (replacement.indexOf("$", 0) >= 0) @@ -1799,7 +2550,7 @@ var match = regexp._execGlobal$2(receiver, startIndex); if (match == null) return receiver; - return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement); + return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement); }, quoteStringForRegExp(string) { if (/[[\]{}()*+?.\\^$|]/.test(string)) @@ -1828,7 +2579,7 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, stringReplaceAllUncheckedString(receiver, pattern, replacement) { - var $length, t1, i, index; + var $length, t1, i; if (pattern === "") { if (receiver === "") return replacement; @@ -1838,8 +2589,7 @@ t1 = t1 + receiver[i] + replacement; return t1.charCodeAt(0) == 0 ? t1 : t1; } - index = receiver.indexOf(pattern, 0); - if (index < 0) + if (receiver.indexOf(pattern, 0) < 0) return receiver; if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) return receiver.split(pattern).join(replacement); @@ -1882,6 +2632,24 @@ stringReplaceRangeUnchecked(receiver, start, end, replacement) { return receiver.substring(0, start) + replacement + receiver.substring(end); }, + _Record_2: function _Record_2(t0, t1) { + this._0 = t0; + this._1 = t1; + }, + _Record_3: function _Record_3(t0, t1, t2) { + this._0 = t0; + this._1 = t1; + this._2 = t2; + }, + _Record_4: function _Record_4(t0) { + this.__js_helper$_values = t0; + }, + _Record_5: function _Record_5(t0) { + this.__js_helper$_values = t0; + }, + _Record_8: function _Record_8(t0) { + this.__js_helper$_values = t0; + }, ConstantMapView: function ConstantMapView(t0, t1) { this._collection$_map = t0; this.$ti = t1; @@ -1893,26 +2661,37 @@ this.transform = t1; this.result = t2; }, - ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { - var _ = this; - _._length = t0; - _._jsObject = t1; - _.__js_helper$_keys = t2; - _.$ti = t3; - }, - ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) { - this.$this = t0; + ConstantStringMap: function ConstantStringMap(t0, t1, t2) { + this._jsIndex = t0; + this.__js_helper$_values = t1; + this.$ti = t2; }, - _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) { - this._map = t0; + _KeysOrValues: function _KeysOrValues(t0, t1) { + this._elements = t0; this.$ti = t1; }, + _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) { + var _ = this; + _._elements = t0; + _.__js_helper$_length = t1; + _.__js_helper$_index = 0; + _.__js_helper$_current = null; + _.$ti = t2; + }, GeneralConstantMap: function GeneralConstantMap(t0, t1) { this._jsData = t0; this.$ti = t1; }, - GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) { - this.T = t0; + ConstantSet: function ConstantSet() { + }, + ConstantStringSet: function ConstantStringSet(t0, t1, t2) { + this._jsIndex = t0; + this.__js_helper$_length = t1; + this.$ti = t2; + }, + GeneralConstantSet: function GeneralConstantSet(t0, t1) { + this._elements = t0; + this.$ti = t1; }, Instantiation: function Instantiation() { }, @@ -1942,9 +2721,7 @@ _._method = t4; _._receiver = t5; }, - NullError: function NullError(t0, t1) { - this.__js_helper$_message = t0; - this._method = t1; + NullError: function NullError() { }, JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { this.__js_helper$_message = t0; @@ -1979,6 +2756,9 @@ this._receiver = t0; this._interceptor = t1; }, + _CyclicInitializationError: function _CyclicInitializationError(t0) { + this.variableName = t0; + }, RuntimeError: function RuntimeError(t0) { this.message = t0; }, @@ -1989,7 +2769,7 @@ }, JsLinkedHashMap: function JsLinkedHashMap(t0) { var _ = this; - _._length = 0; + _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; @@ -2017,6 +2797,20 @@ _.__js_helper$_current = _._cell = null; _.$ti = t2; }, + JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) { + var _ = this; + _.__js_helper$_length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t0; + }, + JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) { + var _ = this; + _.__js_helper$_length = 0; + _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; + _._modifications = 0; + _.$ti = t0; + }, initHooks_closure: function initHooks_closure(t0) { this.getTag = t0; }, @@ -2026,6 +2820,14 @@ initHooks_closure1: function initHooks_closure1(t0) { this.prototypeForTag = t0; }, + _Record: function _Record() { + }, + _Record2: function _Record2() { + }, + _Record3: function _Record3() { + }, + _RecordN: function _RecordN() { + }, JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) { var _ = this; _.pattern = t0; @@ -2064,13 +2866,13 @@ _.__js_helper$_current = null; }, throwLateFieldNI(fieldName) { - return A.throwExpression(A.LateError$fieldNI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has not been initialized."), new Error()); }, throwLateFieldAI(fieldName) { - return A.throwExpression(A.LateError$fieldAI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has already been initialized."), new Error()); }, throwLateFieldADI(fieldName) { - return A.throwExpression(A.LateError$fieldADI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error()); }, _Cell$named(_name) { var t1 = new A._Cell(_name); @@ -2086,22 +2888,7 @@ _checkViewArguments(buffer, offsetInBytes, $length) { }, _ensureNativeList(list) { - var t1, result, i, t2; - if (type$.JSIndexable_dynamic._is(list)) - return list; - t1 = J.getInterceptor$asx(list); - 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 A.iae(t2); - if (!(i < t2)) - break; - B.JSArray_methods.$indexSet(result, i, t1.$index(list, i)); - ++i; - } - return result; + return list; }, NativeByteData_NativeByteData$view(buffer, offsetInBytes, $length) { var t1; @@ -2196,6 +2983,14 @@ Rti__getCanonicalRecipe(rti) { return rti._canonicalRecipe; }, + pairwiseIsTest(fieldRtis, values) { + var i, + $length = values.length; + for (i = 0; i < $length; ++i) + if (!fieldRtis[i]._is(values[i])) + return false; + return true; + }, findType(recipe) { return A._Universe_eval(init.typeUniverse, recipe, false); }, @@ -2216,7 +3011,7 @@ return rti; }, _substitute(universe, rti, typeArguments, depth) { - var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, + var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument, kind = rti._kind; switch (kind) { case 5: @@ -2257,6 +3052,13 @@ if (substitutedBase === base && substitutedArguments === $arguments) return rti; return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); + case 11: + t1 = rti._primary; + fields = rti._rest; + substitutedFields = A._substituteArray(universe, fields, typeArguments, depth); + if (substitutedFields === fields) + return rti; + return A._Universe__lookupRecordRti(universe, t1, substitutedFields); case 12: returnType = rti._primary; substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); @@ -2335,13 +3137,11 @@ return target; }, closureFunctionType(closure) { - var t1, - signature = closure.$signature; + var signature = closure.$signature; if (signature != null) { if (typeof signature == "number") return A.getTypeFromTypesTable(signature); - t1 = closure.$signature(); - return t1; + return closure.$signature(); } return null; }, @@ -2356,11 +3156,8 @@ return A.instanceType(object); }, instanceType(object) { - var rti; - if (object instanceof A.Object) { - rti = object.$ti; - return rti != null ? rti : A._instanceTypeFromConstructor(object); - } + if (object instanceof A.Object) + return A._instanceType(object); if (Array.isArray(object)) return A._arrayInstanceType(object); return A._instanceTypeFromConstructor(J.getInterceptor$(object)); @@ -2386,7 +3183,7 @@ return A._instanceTypeFromConstructorMiss(instance, $constructor); }, _instanceTypeFromConstructorMiss(instance, $constructor) { - var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor, + var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor, rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); $constructor.$ccache = rti; return rti; @@ -2402,41 +3199,78 @@ } return type; }, - getRuntimeType(object) { - var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null; - return A.createRuntimeType(rti == null ? A.instanceType(object) : rti); + getRuntimeTypeOfDartObject(object) { + return A.createRuntimeType(A._instanceType(object)); + }, + getRuntimeTypeOfClosure(closure) { + var rti = A.closureFunctionType(closure); + return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti); + }, + _structuralTypeOf(object) { + var functionRti; + if (object instanceof A._Record) + return object._getRti$0(); + functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null; + if (functionRti != null) + return functionRti; + if (type$.TrustedGetRuntimeType._is(object)) + return J.get$runtimeType$(object)._rti; + if (Array.isArray(object)) + return A._arrayInstanceType(object); + return A.instanceType(object); }, createRuntimeType(rti) { - var s, starErasedRecipe, starErasedRti, - type = rti._cachedRuntimeType; - if (type != null) - return type; - s = rti._canonicalRecipe; - starErasedRecipe = s.replace(/\*/g, ""); + var t1 = rti._cachedRuntimeType; + return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1; + }, + _createRuntimeType(rti) { + var starErasedRti, t1, + 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 A._Type(starErasedRti) : type; + t1 = starErasedRti._cachedRuntimeType; + return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1; + }, + evaluateRtiForRecord(recordRecipe, valuesList) { + var bindings, i, + values = valuesList, + $length = values.length; + if ($length === 0) + return type$.Record_0; + if (0 >= $length) + return A.ioore(values, 0); + bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>"); + for (i = 1; i < $length; ++i) { + if (!(i < values.length)) + return A.ioore(values, i); + bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i])); + } + return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe); }, typeLiteral(recipe) { return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, _installSpecializedIsTest(object) { - var t1, unstarred, isFn, $name, testRti = this; + var t1, unstarred, unstarredKind, isFn, $name, predicate, 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; + if (!A.isSoundTopType(testRti)) + t1 = testRti === type$.legacy_Object; else t1 = true; if (t1) return A._finishIsFn(testRti, object, A._isTop); t1 = testRti._kind; + if (t1 === 7) + return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); + if (t1 === 1) + return A._finishIsFn(testRti, object, A._isNever); unstarred = t1 === 6 ? testRti._primary : testRti; + unstarredKind = unstarred._kind; + if (unstarredKind === 8) + return A._finishIsFn(testRti, object, A._isFutureOr); if (unstarred === type$.int) isFn = A._isInt; else if (unstarred === type$.double || unstarred === type$.num) @@ -2447,16 +3281,18 @@ isFn = unstarred === type$.bool ? A._isBool : null; if (isFn != null) return A._finishIsFn(testRti, object, isFn); - if (unstarred._kind === 9) { + if (unstarredKind === 9) { $name = unstarred._primary; - if (unstarred._rest.every(A.isTopType)) { + if (unstarred._rest.every(A.isDefinitelyTopType)) { 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); + } else if (unstarredKind === 11) { + predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest); + return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate); + } return A._finishIsFn(testRti, object, A._generalIsTestImplementation); }, _finishIsFn(testRti, object, isFn) { @@ -2466,11 +3302,8 @@ _installSpecializedAsCheck(object) { var t1, testRti = this, asFn = A._generalAsCheckImplementation; - if (!A.isStrongTopType(testRti)) - if (!(testRti === type$.legacy_Object)) - t1 = false; - else - t1 = true; + if (!A.isSoundTopType(testRti)) + t1 = testRti === type$.legacy_Object; else t1 = true; if (t1) @@ -2486,31 +3319,21 @@ return testRti._as(object); }, _nullIs(testRti) { - var t1, - kind = testRti._kind; - if (!A.isStrongTopType(testRti)) + var kind = testRti._kind, + t1 = true; + if (!A.isSoundTopType(testRti)) if (!(testRti === type$.legacy_Object)) if (!(testRti === type$.legacy_Never)) if (kind !== 7) 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 - t1 = true; - else - t1 = true; - else - t1 = true; return t1; }, _generalIsTestImplementation(object) { var testRti = this; if (object == null) return A._nullIs(testRti); - return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null); + return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti); }, _generalNullableIsTestImplementation(object) { if (object == null) @@ -2540,10 +3363,9 @@ return !!J.getInterceptor$(object)[tag]; }, _generalAsCheckImplementation(object) { - var t1, testRti = this; + var testRti = this; if (object == null) { - t1 = A.isNullable(testRti); - if (t1) + if (A.isNullable(testRti)) return object; } else if (testRti._is(object)) return object; @@ -2558,23 +3380,26 @@ A._failedAsCheck(object, testRti); }, _failedAsCheck(object, testRti) { - throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null)))); + throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null)))); }, checkTypeBound(type, bound, variable, methodName) { - var _null = null; - if (A._isSubtype(init.typeUniverse, type, _null, bound, _null)) + if (A.isSubtype(init.typeUniverse, type, bound)) 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 + "'.")); + 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 + "'.")); }, - _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 + "'"; + _Error_compose(object, checkedTypeDescription) { + return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; }, _TypeError$fromMessage(message) { return new A._TypeError("TypeError: " + message); }, _TypeError__TypeError$forType(object, type) { - return new A._TypeError("TypeError: " + A._Error_compose(object, null, type)); + return new A._TypeError("TypeError: " + A._Error_compose(object, type)); + }, + _isFutureOr(object) { + var testRti = this, + unstarred = testRti._kind === 6 ? testRti._primary : testRti; + return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object); }, _isObject(object) { return object != null; @@ -2590,6 +3415,9 @@ _asTop(object) { return object; }, + _isNever(object) { + return false; + }, _isBool(object) { return true === object || false === object; }, @@ -2730,13 +3558,12 @@ 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_ = ", "; + var boundsLength, offset, i, t1, t2, typeParametersText, typeSep, t3, t4, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null; if (bounds != null) { boundsLength = bounds.length; - if (genericContext == null) { + if (genericContext == null) genericContext = A._setArrayType([], type$.JSArray_String); - outerContextLength = null; - } else + else outerContextLength = genericContext.length; offset = genericContext.length; for (i = boundsLength; i > 0; --i) @@ -2750,20 +3577,15 @@ 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; + t3 = boundRti === t2; else t3 = true; if (!t3) typeParametersText += " extends " + A._rtiToString(boundRti, genericContext); } typeParametersText += ">"; - } else { + } else typeParametersText = ""; - outerContextLength = null; - } t1 = functionType._primary; parameters = functionType._rest; requiredPositional = parameters._requiredPositional; @@ -2798,7 +3620,7 @@ return typeParametersText + "(" + argumentsText + ") => " + returnTypeText; }, _rtiToString(rti, genericContext) { - var s, questionArgument, argumentKind, $name, $arguments, t1, t2, + var questionArgument, s, argumentKind, $name, $arguments, t1, t2, kind = rti._kind; if (kind === 5) return "erased"; @@ -2810,10 +3632,8 @@ return "Never"; if (kind === 4) return "any"; - if (kind === 6) { - s = A._rtiToString(rti._primary, genericContext); - return s; - } + if (kind === 6) + return A._rtiToString(rti._primary, genericContext); if (kind === 7) { questionArgument = rti._primary; s = A._rtiToString(questionArgument, genericContext); @@ -2945,7 +3765,7 @@ var baseKind, t1, rti; if (normalize) { baseKind = baseType._kind; - if (!A.isStrongTopType(baseType)) + if (!A.isSoundTopType(baseType)) t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6; else t1 = true; @@ -2972,16 +3792,11 @@ var baseKind, t1, starArgument, rti; if (normalize) { baseKind = baseType._kind; - if (!A.isStrongTopType(baseType)) + t1 = true; + if (!A.isSoundTopType(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) @@ -3011,17 +3826,10 @@ return t1; }, _Universe__createFutureOrRti(universe, baseType, key, normalize) { - var t1, t2, rti; + var t1, 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) + if (A.isSoundTopType(baseType) || baseType === type$.Object || baseType === type$.legacy_Object) return baseType; else if (t1 === 1) return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]); @@ -3191,7 +3999,7 @@ return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize}; }, _Parser_parse(parser) { - var t2, i, ch, t3, array, head, base, end, item, + var t2, i, ch, t3, array, end, item, source = parser.r, t1 = parser.s; for (t2 = source.length, i = 0; i < t2;) { @@ -3233,24 +4041,7 @@ 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 12: - t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n)); - break; - default: - t1.push(A._Universe__lookupBindingRti(t3, base, array)); - break; - } - } + A._Parser_handleTypeArguments(parser, t1); break; case 38: A._Parser_handleExtendedOperations(parser, t1); @@ -3357,31 +4148,44 @@ stack.push(string); return i; }, - _Parser_handleArguments(parser, stack) { - var optionalPositional, named, requiredPositional, returnType, parameters, _null = null, + _Parser_handleTypeArguments(parser, stack) { + var base, t1 = parser.u, + $arguments = A._Parser_collectArray(parser, stack), head = stack.pop(); + if (typeof head == "string") + stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments)); + else { + base = A._Parser_toType(t1, parser.e, head); + switch (base._kind) { + case 12: + stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n)); + break; + default: + stack.push(A._Universe__lookupBindingRti(t1, base, $arguments)); + break; + } + } + }, + _Parser_handleArguments(parser, stack) { + var requiredPositional, returnType, parameters, + t1 = parser.u, + head = stack.pop(), + optionalPositional = null, named = null; 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 { + else stack.push(head); - named = _null; - optionalPositional = named; - } requiredPositional = A._Parser_collectArray(parser, stack); head = stack.pop(); switch (head) { @@ -3466,15 +4270,28 @@ 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; + isSubtype(universe, s, t) { + var result, + sCache = s._isSubtypeCache; + if (sCache == null) + sCache = s._isSubtypeCache = new Map(); + result = sCache.get(t); + if (result == null) { + result = A._isSubtype(universe, s, null, t, null, false) ? 1 : 0; + sCache.set(t, result); + } + if (0 === result) + return false; + if (1 === result) + return true; + return true; + }, + _isSubtype(universe, s, sEnv, t, tEnv, isLegacy) { + var t1, sKind, leftTypeVariable, tKind, t2, 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; + if (!A.isSoundTopType(t)) + t1 = t === type$.legacy_Object; else t1 = true; if (t1) @@ -3482,61 +4299,61 @@ sKind = s._kind; if (sKind === 4) return true; - if (A.isStrongTopType(s)) + if (A.isSoundTopType(s)) return false; - if (s._kind !== 1) - t1 = false; - else - t1 = true; - if (t1) + t1 = s._kind; + if (t1 === 1) return true; leftTypeVariable = sKind === 14; if (leftTypeVariable) - if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) + if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv, false)) 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 A._isSubtype(universe, s, sEnv, t._primary, tEnv, false); 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); + return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); if (sKind === 6) - return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); return sKind !== 7; } if (sKind === 6) - return A._isSubtype(universe, s._primary, sEnv, t, tEnv); + return A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); if (tKind === 6) { t1 = A.Rti__getQuestionFromStar(universe, t); - return A._isSubtype(universe, s, sEnv, t1, tEnv); + return A._isSubtype(universe, s, sEnv, t1, tEnv, false); } if (sKind === 8) { - if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv)) + if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv, false)) return false; - return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); + return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv, false); } if (sKind === 7) { - t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv); - return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv); + t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv, false); + return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv, false); } if (tKind === 8) { - if (A._isSubtype(universe, s, sEnv, t._primary, tEnv)) + if (A._isSubtype(universe, s, sEnv, t._primary, tEnv, false)) return true; - return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); + return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv, false); } if (tKind === 7) { - t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv); - return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv); + t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv, false); + return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv, false); } if (leftTypeVariable) return false; t1 = sKind !== 12; if ((!t1 || sKind === 13) && t === type$.Function) return true; + t2 = sKind === 11; + if (t2 && t === type$.Record) + return true; if (tKind === 13) { if (s === type$.JavaScriptFunction) return true; @@ -3552,33 +4369,30 @@ 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)) + if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv, false) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv, false)) return false; } - return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); + return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv, false); } if (tKind === 12) { if (s === type$.JavaScriptFunction) return true; if (t1) return false; - return A._isFunctionSubtype(universe, s, sEnv, t, tEnv); + return A._isFunctionSubtype(universe, s, sEnv, t, tEnv, false); } if (sKind === 9) { if (tKind !== 9) return false; - return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); + return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv, false); } - t1 = sKind === 11; - if (t1 && t === type$.Record) - return true; - if (t1 && tKind === 11) - return A._isRecordSubtype(universe, s, sEnv, t, tEnv); + if (t2 && tKind === 11) + return A._isRecordSubtype(universe, s, sEnv, t, tEnv, false); return false; }, - _isFunctionSubtype(universe, s, sEnv, t, tEnv) { + _isFunctionSubtype(universe, s, sEnv, t, tEnv, isLegacy) { 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)) + if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv, false)) return false; sParameters = s._rest; tParameters = t._rest; @@ -3597,17 +4411,17 @@ return false; for (i = 0; i < sRequiredPositionalLength; ++i) { t1 = sRequiredPositional[i]; - if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv, false)) return false; } for (i = 0; i < requiredPositionalDelta; ++i) { t1 = sOptionalPositional[i]; - if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv, false)) return false; } for (i = 0; i < tOptionalPositionalLength; ++i) { t1 = sOptionalPositional[requiredPositionalDelta + i]; - if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv, false)) return false; } sNamed = sParameters._named; @@ -3633,7 +4447,7 @@ if (sIsRequired && !t1) return false; t1 = sNamed[sIndex - 1]; - if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv)) + if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv, false)) return false; break; } @@ -3645,8 +4459,8 @@ } return true; }, - _isInterfaceSubtype(universe, s, sEnv, t, tEnv) { - var rule, recipes, $length, supertypeArgs, i, t1, t2, + _isInterfaceSubtype(universe, s, sEnv, t, tEnv, isLegacy) { + var rule, recipes, $length, supertypeArgs, i, sName = s._primary, tName = t._primary; for (; sName !== tName;) { @@ -3664,24 +4478,19 @@ 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); + return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv, false); } - t1 = s._rest; - t2 = t._rest; - return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv); + return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv, false); }, - _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) { - var i, t1, t2, + _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv, isLegacy) { + var i, $length = sArgs.length; - for (i = 0; i < $length; ++i) { - t1 = sArgs[i]; - t2 = tArgs[i]; - if (!A._isSubtype(universe, t1, sEnv, t2, tEnv)) + for (i = 0; i < $length; ++i) + if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv, false)) return false; - } return true; }, - _isRecordSubtype(universe, s, sEnv, t, tEnv) { + _isRecordSubtype(universe, s, sEnv, t, tEnv, isLegacy) { var i, sFields = s._rest, tFields = t._rest, @@ -3691,40 +4500,29 @@ if (s._primary !== t._primary) return false; for (i = 0; i < sCount; ++i) - if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv)) + if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv, false)) return false; return true; }, isNullable(t) { - var t1, - kind = t._kind; + var kind = t._kind, + t1 = true; if (!(t === type$.Null || t === type$.JSNull)) - if (!A.isStrongTopType(t)) + if (!A.isSoundTopType(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) { + isDefinitelyTopType(t) { var t1; - if (!A.isStrongTopType(t)) - if (!(t === type$.legacy_Object)) - t1 = false; - else - t1 = true; + if (!A.isSoundTopType(t)) + t1 = t === type$.legacy_Object; else t1 = true; return t1; }, - isStrongTopType(t) { + isSoundTopType(t) { var kind = t._kind; return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object; }, @@ -3744,7 +4542,7 @@ var _ = this; _._as = t0; _._is = t1; - _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null; + _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null; _._kind = 0; _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; }, @@ -3825,7 +4623,7 @@ object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic); else { t1 = type$.dynamic; - if (type$.Future_dynamic._is(object)) + if (object instanceof A._Future) object.then$1$2$onError(0, thenCallback, errorCallback, t1); else { future = new A._Future($.Zone__current, type$._Future_dynamic); @@ -3838,7 +4636,7 @@ _wrapJsFunctionForAsync($function) { var $protected = function(fn, ERROR) { return function(errorCode, result) { - while (true) + while (true) { try { fn(errorCode, result); break; @@ -3846,21 +4644,13 @@ result = error; errorCode = ERROR; } + } }; }($function, 1); return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); }, - _IterationMarker_yieldStar(values) { - return new A._IterationMarker(values, 1); - }, - _IterationMarker_endOfIteration() { - return B._IterationMarker_null_2; - }, - _IterationMarker_uncaughtError(error) { - return new A._IterationMarker(error, 3); - }, - _makeSyncStarIterable(body, $T) { - return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<0>")); + _SyncStarIterator__terminatedBody(_1, _2, _3) { + return 0; }, AsyncError$(error, stackTrace) { var t1 = A.checkNotNullable(error, "error", type$.Object); @@ -3877,21 +4667,19 @@ }, 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)); + A.Timer_Timer(B.Duration_0, new A.Future_Future_closure(computation, result)); return result; }, Future_Future$value(value, $T) { - var t1, t2; + var t1; $T._as(value); - t1 = value; - t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); - t2._asyncComplete$1(t1); - return t2; + t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncComplete$1(value); + return t1; }, 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>")); @@ -3904,19 +4692,18 @@ return result; }, Future_wait(futures, $T) { - var error, stackTrace, handleError, future, pos, e, st, t1, t2, _i, t3, exception, _box_0 = {}, cleanUp = null, + var 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); + _box_0.stackTrace = _box_0.error = null; + handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future); 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); + J.then$1$2$onError$z(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2); t3 = ++_box_0.remaining; } if (t3 === 0) { @@ -3931,8 +4718,8 @@ 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; + _box_0.error = e; + _box_0.stackTrace = st; } } return _future; @@ -3942,21 +4729,57 @@ stackTrace = A.AsyncError_defaultStackTrace(error); result._completeError$2(error, stackTrace); }, - _Future__chainCoreFuture(source, target) { + _Future$value(value, $T) { + var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + $T._as(value); + t1._state = 8; + t1._resultOrListeners = value; + return t1; + }, + _Future__chainCoreFutureSync(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) { + if (source === target) { + target._asyncCompleteError$2(new A.ArgumentError(true, source, null, "Cannot complete a future with itself"), A.StackTrace_current()); + return; + } + t1 = t2 | target._state & 1; + source._state = t1; + if ((t1 & 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; + target._setChained$1(source); source._prependListeners$1(listeners); } }, + _Future__chainCoreFutureAsync(source, target) { + var t2, t3, listeners, _box_0 = {}, + t1 = _box_0.source = source; + for (t2 = type$._Future_dynamic; t3 = t1._state, (t3 & 4) !== 0; t1 = source) { + source = t2._as(t1._resultOrListeners); + _box_0.source = source; + } + if (t1 === target) { + target._asyncCompleteError$2(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), A.StackTrace_current()); + return; + } + if ((t3 & 24) === 0) { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._setChained$1(t1); + _box_0.source._prependListeners$1(listeners); + return; + } + if ((t3 & 16) === 0 && target._resultOrListeners == null) { + target._cloneResult$1(t1); + return; + } + target._state ^= 2; + A._rootScheduleMicrotask(null, null, target._zone, type$.void_Function._as(new A._Future__chainCoreFutureAsync_closure(_box_0, target))); + }, _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; @@ -4017,7 +4840,7 @@ if (oldZone != null) $.Zone__current = oldZone; t1 = _box_0.listenerValueOrError; - if (t4._is(t1)) { + if (t1 instanceof A._Future) { t5 = _box_0.listener.$ti; t5 = t5._eval$1("Future<2>")._is(t1) || !t5._rest[1]._is(t1); } else @@ -4034,7 +4857,7 @@ _box_1.source = t1; continue; } else - A._Future__chainCoreFuture(t1, result); + A._Future__chainCoreFutureSync(t1, result); return; } } @@ -4120,17 +4943,12 @@ } }, scheduleMicrotask(callback) { - var t1, _null = null, + var _null = null, currentZone = $.Zone__current; if (B.C__RootZone === currentZone) { A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback); return; } - 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$value(value, $T) { @@ -4163,10 +4981,11 @@ _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 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>")); + t3 = onError != null ? 32 : 0, + t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), + t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError), + t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone; + return new A._ControllerSubscription(_controller, t4, t5, type$.void_Function._as(t6), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>")); }, _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) { var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData; @@ -4188,9 +5007,11 @@ }, _nullDoneHandler() { }, - _DoneStreamSubscription$(_onDone, $T) { - var t1 = new A._DoneStreamSubscription($.Zone__current, _onDone, $T._eval$1("_DoneStreamSubscription<0>")); - t1._schedule$0(); + _DoneStreamSubscription$(onDone, $T) { + var t1 = new A._DoneStreamSubscription($.Zone__current, $T._eval$1("_DoneStreamSubscription<0>")); + A.scheduleMicrotask(t1.get$_onMicrotask()); + if (onDone != null) + t1.set$_onDone(type$.void_Function._as(onDone)); return t1; }, _cancelAndValue(subscription, future, value) { @@ -4201,19 +5022,6 @@ else future._complete$1(value); }, - _ForwardingStreamSubscription$(_stream, onData, onError, onDone, cancelOnError, $S, $T) { - var t1 = $.Zone__current, - t2 = cancelOnError ? 1 : 0, - 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(sink, error, stackTrace) { - sink._addError$2(error, stackTrace); - }, Timer_Timer(duration, callback) { var t1 = $.Zone__current; if (t1 === B.C__RootZone) @@ -4321,14 +5129,10 @@ _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) { this.$protected = t0; }, - _IterationMarker: function _IterationMarker(t0, t1) { - this.value = t0; - this.state = t1; - }, _SyncStarIterator: function _SyncStarIterator(t0, t1) { var _ = this; _._body = t0; - _._suspendedBodies = _._nestedIterator = _._async$_current = null; + _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null; _.$ti = t1; }, _SyncStarIterable: function _SyncStarIterable(t0, t1) { @@ -4340,14 +5144,14 @@ this.stackTrace = t1; }, _BroadcastStream: function _BroadcastStream(t0, t1) { - this._async$_controller = t0; + this._controller = t0; this.$ti = t1; }, _BroadcastSubscription: function _BroadcastSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._eventState = 0; _._async$_previous = _._async$_next = null; - _._async$_controller = t0; + _._controller = t0; _._async$_onData = t1; _._onError = t2; _._onDone = t3; @@ -4379,33 +5183,29 @@ _.$ti = t2; }, Future_Future_closure: function Future_Future_closure(t0, t1) { - this.result = t0; - this.computation = t1; + this.computation = t0; + this.result = t1; }, Future_Future$delayed_closure: function Future_Future$delayed_closure(t0, t1, t2) { this.computation = t0; this.result = t1; this.T = t2; }, - Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) { + Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.cleanUp = t1; _.eagerError = t2; _._future = t3; - _.error = t4; - _.stackTrace = t5; }, - Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) { + Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.pos = t1; _._future = t2; - _.cleanUp = t3; - _.eagerError = t4; - _.error = t5; - _.stackTrace = t6; - _.T = t7; + _.T = t3; + _.cleanUp = t4; + _.eagerError = t5; }, _Completer: function _Completer() { }, @@ -4452,11 +5252,11 @@ this.e = t1; this.s = t2; }, - _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { - this.$this = t0; - this.value = t1; + _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) { + this._box_0 = t0; + this.target = t1; }, - _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) { + _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { this.$this = t0; this.value = t1; }, @@ -4503,12 +5303,8 @@ this.subscription = t1; this.future = t2; }, - StreamSubscription: function StreamSubscription() { - }, StreamView: function StreamView() { }, - StreamTransformerBase: function StreamTransformerBase() { - }, _StreamController: function _StreamController() { }, _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) { @@ -4531,12 +5327,12 @@ _.$ti = t4; }, _ControllerStream: function _ControllerStream(t0, t1) { - this._async$_controller = t0; + this._controller = t0; this.$ti = t1; }, _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; - _._async$_controller = t0; + _._controller = t0; _._async$_onData = t1; _._onError = t2; _._onDone = t3; @@ -4581,12 +5377,12 @@ this.$this = t0; this.dispatch = t1; }, - _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { + _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1) { var _ = this; + _._state = 1; _._zone = t0; - _._state = 0; - _._onDone = t1; - _.$ti = t2; + _._onDone = null; + _.$ti = t1; }, _StreamIterator: function _StreamIterator(t0) { this.$ti = t0; @@ -4674,25 +5470,18 @@ 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(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(); + LinkedHashMap_LinkedHashMap(equals, hashCode, $K, $V) { + 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.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>")); if (equals == null) equals = A.collection___defaultEquals$closure(); } - return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V); + return A._LinkedCustomHashMap$(equals, hashCode, null, $K, $V); }, 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>")))); @@ -4701,8 +5490,7 @@ return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<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>")); + return new A._LinkedCustomHashMap(_equals, _hashCode, new A._LinkedCustomHashMap_closure($K), $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>")); }, HashSet_HashSet($E) { return new A._HashSet($E._eval$1("_HashSet<0>")); @@ -4739,143 +5527,18 @@ _defaultHashCode(a) { return J.get$hashCode$(a); }, - IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { - var parts, t1; - if (A._isToStringVisiting(iterable)) { - if (leftDelimiter === "(" && rightDelimiter === ")") - return "(...)"; - return leftDelimiter + "..." + rightDelimiter; - } - parts = A._setArrayType([], type$.JSArray_String); - B.JSArray_methods.add$1($._toStringVisiting, iterable); - try { - A._iterablePartsToStrings(iterable, parts); - } finally { - if (0 >= $._toStringVisiting.length) - return A.ioore($._toStringVisiting, -1); - $._toStringVisiting.pop(); - } - t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; - return t1.charCodeAt(0) == 0 ? t1 : t1; - }, - IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { - var buffer, t1; - if (A._isToStringVisiting(iterable)) - return leftDelimiter + "..." + rightDelimiter; - buffer = new A.StringBuffer(leftDelimiter); - B.JSArray_methods.add$1($._toStringVisiting, iterable); - try { - t1 = buffer; - t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); - } finally { - 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(o) { - var t1, i; - for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) - if (o === $._toStringVisiting[i]) - return true; - return false; - }, - _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 = A.S(it.get$current(it)); - B.JSArray_methods.add$1(parts, next); - $length += next.length + 2; - ++count; - } - if (!it.moveNext$0()) { - if (count <= 5) - return; - if (0 >= parts.length) - return A.ioore(parts, -1); - ultimateString = parts.pop(); - if (0 >= parts.length) - return A.ioore(parts, -1); - penultimateString = parts.pop(); - } else { - penultimate = it.get$current(it); - ++count; - if (!it.moveNext$0()) { - if (count <= 4) { - B.JSArray_methods.add$1(parts, A.S(penultimate)); - return; - } - ultimateString = A.S(penultimate); - if (0 >= parts.length) - return A.ioore(parts, -1); - penultimateString = parts.pop(); - $length += ultimateString.length + 2; - } else { - ultimate = it.get$current(it); - ++count; - for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { - ultimate0 = it.get$current(it); - ++count; - if (count > 100) { - while (true) { - if (!($length > 75 && count > 3)) - break; - if (0 >= parts.length) - return A.ioore(parts, -1); - $length -= parts.pop().length + 2; - --count; - } - B.JSArray_methods.add$1(parts, "..."); - return; - } - } - penultimateString = A.S(penultimate); - ultimateString = A.S(ultimate); - $length += ultimateString.length + penultimateString.length + 4; - } - } - if (count > parts.length + 2) { - $length += 5; - elision = "..."; - } else - elision = null; - while (true) { - if (!($length > 80 && parts.length > 3)) - break; - if (0 >= parts.length) - return A.ioore(parts, -1); - $length -= parts.pop().length + 2; - if (elision == null) { - $length += 5; - elision = "..."; - } - } - if (elision != null) - B.JSArray_methods.add$1(parts, elision); - B.JSArray_methods.add$1(parts, penultimateString); - B.JSArray_methods.add$1(parts, ultimateString); - }, LinkedHashMap_LinkedHashMap$from(other, $K, $V) { - var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); + var result = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); J.forEach$1$ax(other, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); return result; }, LinkedHashMap_LinkedHashMap$of(other, $K, $V) { - var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); + var t1 = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); t1.addAll$1(0, other); return t1; }, LinkedHashMap_LinkedHashMap$fromIterable(iterable, key, value, $K, $V) { - var map = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); + var map = A.LinkedHashMap_LinkedHashMap(null, null, $K, $V); A.MapBase__fillMapWithMappedIterable(map, iterable, key, value); return map; }, @@ -4891,25 +5554,25 @@ t1.addAll$1(0, elements); return t1; }, - ListMixin__compareAny(a, b) { + ListBase__compareAny(a, b) { var t1 = type$.Comparable_dynamic; return J.compareTo$1$ns(t1._as(a), t1._as(b)); }, MapBase_mapToString(m) { var result, t1 = {}; - if (A._isToStringVisiting(m)) + if (A.isToStringVisiting(m)) return "{...}"; result = new A.StringBuffer(""); try { - B.JSArray_methods.add$1($._toStringVisiting, m); + B.JSArray_methods.add$1($.toStringVisiting, m); result._contents += "{"; t1.first = true; J.forEach$1$ax(m, new A.MapBase_mapToString_closure(t1, result)); result._contents += "}"; } finally { - if (0 >= $._toStringVisiting.length) - return A.ioore($._toStringVisiting, -1); - $._toStringVisiting.pop(); + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; @@ -4952,9 +5615,6 @@ return number; } }, - _UnmodifiableSetMixin__throwUnmodifiable() { - throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set")); - }, _HashMap: function _HashMap(t0) { var _ = this; _._collection$_length = 0; @@ -4994,19 +5654,12 @@ _._collection$_current = null; _.$ti = t2; }, - _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) { - var _ = this; - _._length = 0; - _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; - _._modifications = 0; - _.$ti = t0; - }, _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) { var _ = this; _._equals = t0; _._collection$_hashCode = t1; _._validKey = t2; - _._length = 0; + _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t3; @@ -5017,13 +5670,13 @@ _HashSet: function _HashSet(t0) { var _ = this; _._collection$_length = 0; - _._elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _._collection$_elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; _.$ti = t0; }, _HashSetIterator: function _HashSetIterator(t0, t1, t2) { var _ = this; _._collection$_set = t0; - _._elements = t1; + _._collection$_elements = t1; _._collection$_offset = 0; _._collection$_current = null; _.$ti = t2; @@ -5050,8 +5703,6 @@ this._collection$_source = t0; this.$ti = t1; }, - IterableBase: function IterableBase() { - }, LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) { this.result = t0; this.K = t1; @@ -5059,22 +5710,18 @@ }, ListBase: function ListBase() { }, - ListMixin: function ListMixin() { - }, MapBase: function MapBase() { }, - MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { - this._box_0 = t0; - this.result = t1; - }, - MapMixin: function MapMixin() { - }, - MapMixin_addAll_closure: function MapMixin_addAll_closure(t0) { + MapBase_addAll_closure: function MapBase_addAll_closure(t0) { this.$this = t0; }, - MapMixin_entries_closure: function MapMixin_entries_closure(t0) { + MapBase_entries_closure: function MapBase_entries_closure(t0) { this.$this = t0; }, + MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { + this._box_0 = t0; + this.result = t1; + }, _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) { this._collection$_map = t0; this.$ti = t1; @@ -5109,28 +5756,12 @@ _._collection$_current = null; _.$ti = t4; }, - SetMixin: function SetMixin() { - }, SetBase: function SetBase() { }, _SetBase: function _SetBase() { }, - _UnmodifiableSetMixin: function _UnmodifiableSetMixin() { - }, - _UnmodifiableSet: function _UnmodifiableSet(t0, t1) { - this._collection$_map = t0; - this.$ti = t1; - }, - _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() { - }, - _SetBase_Object_SetMixin: function _SetBase_Object_SetMixin() { - }, _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { }, - __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { - }, - __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() { - }, _parseJson(source, reviver) { var e, exception, t1, parsed = null; try { @@ -5149,36 +5780,36 @@ return null; if (typeof object != "object") return object; - if (Object.getPrototypeOf(object) !== Array.prototype) + if (!Array.isArray(object)) return new A._JsonMap(object, Object.create(null)); for (i = 0; i < object.length; ++i) object[i] = A._convertJsonToDartLazy(object[i]); return object; }, - 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; + _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) { + var bytes, t1, i, b, + $length = end - start; + if ($length <= 4096) + bytes = $.$get$_Utf8Decoder__reusableBuffer(); + else + bytes = new Uint8Array($length); + for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { + b = t1.$index(codeUnits, start + i); + if ((b & 255) !== b) + b = 255; + bytes[i] = b; } - return null; + return bytes; }, - Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) { - var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder(); + _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 A.Utf8Decoder__useTextDecoder(decoder, codeUnits); - return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length))); + return A._Utf8Decoder__useTextDecoder(decoder, codeUnits); + return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end)); }, - Utf8Decoder__useTextDecoder(decoder, codeUnits) { + _Utf8Decoder__useTextDecoder(decoder, codeUnits) { var t1, exception; try { t1 = decoder.decode(codeUnits); @@ -5196,35 +5827,45 @@ throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); }, _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) { - var t1, t2, i, byteOr, byte, outputIndex0, t3, outputIndex1, + var t1, t2, t3, i, byteOr, byte, outputIndex0, t4, outputIndex1, bits = state >>> 2, expectedChars = 3 - (state & 3); - for (t1 = J.getInterceptor$asx(bytes), t2 = output.length, i = start, byteOr = 0; i < end; ++i) { - byte = t1.$index(bytes, i); - byteOr = (byteOr | byte) >>> 0; + for (t1 = bytes.length, t2 = alphabet.length, t3 = output.length, i = start, byteOr = 0; i < end; ++i) { + if (!(i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + byteOr |= byte; bits = (bits << 8 | byte) & 16777215; --expectedChars; if (expectedChars === 0) { outputIndex0 = outputIndex + 1; - t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63); - if (!(outputIndex < t2)) + t4 = bits >>> 18 & 63; + if (!(t4 < t2)) + return A.ioore(alphabet, t4); + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); - output[outputIndex] = t3; + output[outputIndex] = alphabet.charCodeAt(t4); outputIndex = outputIndex0 + 1; - t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63); - if (!(outputIndex0 < t2)) + t4 = bits >>> 12 & 63; + if (!(t4 < t2)) + return A.ioore(alphabet, t4); + if (!(outputIndex0 < t3)) return A.ioore(output, outputIndex0); - output[outputIndex0] = t3; + output[outputIndex0] = alphabet.charCodeAt(t4); outputIndex0 = outputIndex + 1; - t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63); - if (!(outputIndex < t2)) + t4 = bits >>> 6 & 63; + if (!(t4 < t2)) + return A.ioore(alphabet, t4); + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); - output[outputIndex] = t3; + output[outputIndex] = alphabet.charCodeAt(t4); outputIndex = outputIndex0 + 1; - t3 = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63); - if (!(outputIndex0 < t2)) + t4 = bits & 63; + if (!(t4 < t2)) + return A.ioore(alphabet, t4); + if (!(outputIndex0 < t3)) return A.ioore(output, outputIndex0); - output[outputIndex0] = t3; + output[outputIndex0] = alphabet.charCodeAt(t4); bits = 0; expectedChars = 3; } @@ -5234,36 +5875,46 @@ outputIndex0 = outputIndex + 1; outputIndex1 = outputIndex0 + 1; if (3 - expectedChars === 1) { - t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63); - if (!(outputIndex < t2)) + t1 = bits >>> 2 & 63; + if (!(t1 < t2)) + return A.ioore(alphabet, t1); + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); - output[outputIndex] = t1; - t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63); - if (!(outputIndex0 < t2)) + output[outputIndex] = alphabet.charCodeAt(t1); + t1 = bits << 4 & 63; + if (!(t1 < t2)) + return A.ioore(alphabet, t1); + if (!(outputIndex0 < t3)) return A.ioore(output, outputIndex0); - output[outputIndex0] = t1; + output[outputIndex0] = alphabet.charCodeAt(t1); outputIndex = outputIndex1 + 1; - if (!(outputIndex1 < t2)) + if (!(outputIndex1 < t3)) return A.ioore(output, outputIndex1); output[outputIndex1] = 61; - if (!(outputIndex < t2)) + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); output[outputIndex] = 61; } else { - t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63); - if (!(outputIndex < t2)) + t1 = bits >>> 10 & 63; + if (!(t1 < t2)) + return A.ioore(alphabet, t1); + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); - output[outputIndex] = t1; - t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63); - if (!(outputIndex0 < t2)) + output[outputIndex] = alphabet.charCodeAt(t1); + t1 = bits >>> 4 & 63; + if (!(t1 < t2)) + return A.ioore(alphabet, t1); + if (!(outputIndex0 < t3)) return A.ioore(output, outputIndex0); - output[outputIndex0] = t1; + output[outputIndex0] = alphabet.charCodeAt(t1); outputIndex = outputIndex1 + 1; - t1 = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63); - if (!(outputIndex1 < t2)) + t1 = bits << 2 & 63; + if (!(t1 < t2)) + return A.ioore(alphabet, t1); + if (!(outputIndex1 < t3)) return A.ioore(output, outputIndex1); - output[outputIndex1] = t1; - if (!(outputIndex < t2)) + output[outputIndex1] = alphabet.charCodeAt(t1); + if (!(outputIndex < t3)) return A.ioore(output, outputIndex); output[outputIndex] = 61; } @@ -5272,41 +5923,47 @@ return (bits << 2 | 3 - expectedChars) >>> 0; } for (i = start; i < end;) { - byte = t1.$index(bytes, i); - if (byte < 0 || byte > 255) + if (!(i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + if (byte > 255) break; ++i; } - 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)); + if (!(i < t1)) + return A.ioore(bytes, i); + throw A.wrapException(A.ArgumentError$value(bytes, "Not a byte value at index " + i + ": 0x" + B.JSInt_methods.toRadixString$1(bytes[i], 16), null)); }, _Base64Decoder_decodeChunk(input, start, end, output, outIndex, state) { - var t1, t2, i, charOr, char, t3, code, outIndex0, expectedPadding, + var t1, t2, t3, i, charOr, char, t4, code, outIndex0, expectedPadding, _s31_ = "Invalid encoding before padding", _s17_ = "Invalid character", bits = B.JSInt_methods._shrOtherPositive$1(state, 2), count = state & 3, inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (t1 = inverseAlphabet.length, t2 = output.length, i = start, charOr = 0; i < end; ++i) { - char = B.JSString_methods._codeUnitAt$1(input, i); + for (t1 = input.length, t2 = inverseAlphabet.length, t3 = output.length, i = start, charOr = 0; i < end; ++i) { + if (!(i < t1)) + return A.ioore(input, i); + char = input.charCodeAt(i); charOr |= char; - t3 = char & 127; - if (!(t3 < t1)) - return A.ioore(inverseAlphabet, t3); - code = inverseAlphabet[t3]; + t4 = char & 127; + if (!(t4 < t2)) + return A.ioore(inverseAlphabet, t4); + code = inverseAlphabet[t4]; if (code >= 0) { bits = (bits << 6 | code) & 16777215; count = count + 1 & 3; if (count === 0) { outIndex0 = outIndex + 1; - if (!(outIndex < t2)) + if (!(outIndex < t3)) return A.ioore(output, outIndex); output[outIndex] = bits >>> 16 & 255; outIndex = outIndex0 + 1; - if (!(outIndex0 < t2)) + if (!(outIndex0 < t3)) return A.ioore(output, outIndex0); output[outIndex0] = bits >>> 8 & 255; outIndex0 = outIndex + 1; - if (!(outIndex < t2)) + if (!(outIndex < t3)) return A.ioore(output, outIndex); output[outIndex] = bits & 255; outIndex = outIndex0; @@ -5320,16 +5977,16 @@ if ((bits & 3) !== 0) throw A.wrapException(A.FormatException$(_s31_, input, i)); outIndex0 = outIndex + 1; - if (!(outIndex < t2)) + if (!(outIndex < t3)) return A.ioore(output, outIndex); output[outIndex] = bits >>> 10; - if (!(outIndex0 < t2)) + if (!(outIndex0 < t3)) return A.ioore(output, outIndex0); output[outIndex0] = bits >>> 2; } else { if ((bits & 15) !== 0) throw A.wrapException(A.FormatException$(_s31_, input, i)); - if (!(outIndex < t2)) + if (!(outIndex < t3)) return A.ioore(output, outIndex); output[outIndex] = bits >>> 4; } @@ -5343,8 +6000,9 @@ if (charOr >= 0 && charOr <= 127) return (bits << 2 | count) >>> 0; for (i = start; i < end; ++i) { - char = B.JSString_methods._codeUnitAt$1(input, i); - if (char > 127) + if (!(i < t1)) + return A.ioore(input, i); + if (input.charCodeAt(i) > 127) break; } throw A.wrapException(A.FormatException$(_s17_, input, i)); @@ -5362,6 +6020,7 @@ }, _Base64Decoder__trimPaddingChars(input, start, end) { var char, + t1 = input.length, newEnd = end, index = newEnd, padding = 0; @@ -5370,7 +6029,9 @@ break; c$0: { --index; - char = B.JSString_methods.codeUnitAt$1(input, index); + if (!(index >= 0 && index < t1)) + return A.ioore(input, index); + char = input.charCodeAt(index); if (char === 61) { ++padding; newEnd = index; @@ -5380,13 +6041,17 @@ if (index === start) break; --index; - char = B.JSString_methods.codeUnitAt$1(input, index); + if (!(index >= 0 && index < t1)) + return A.ioore(input, index); + char = input.charCodeAt(index); } if (char === 51) { if (index === start) break; --index; - char = B.JSString_methods.codeUnitAt$1(input, index); + if (!(index >= 0 && index < t1)) + return A.ioore(input, index); + char = input.charCodeAt(index); } if (char === 37) { ++padding; @@ -5399,12 +6064,14 @@ return newEnd; }, _Base64Decoder__checkPadding(input, start, end, state) { - var expectedPadding, char; + var expectedPadding, t1, char; if (start === end) return state; expectedPadding = -state - 1; - for (; expectedPadding > 0;) { - char = B.JSString_methods._codeUnitAt$1(input, start); + for (t1 = input.length; expectedPadding > 0;) { + if (!(start < t1)) + return A.ioore(input, start); + char = input.charCodeAt(start); if (expectedPadding === 3) { if (char === 61) { expectedPadding -= 3; @@ -5416,7 +6083,9 @@ ++start; if (start === end) break; - char = B.JSString_methods._codeUnitAt$1(input, start); + if (!(start < t1)) + return A.ioore(input, start); + char = input.charCodeAt(start); } else break; } @@ -5427,7 +6096,9 @@ --expectedPadding; if (start === end) break; - char = B.JSString_methods._codeUnitAt$1(input, start); + if (!(start < t1)) + return A.ioore(input, start); + char = input.charCodeAt(start); } if ((char | 32) !== 100) break; @@ -5486,20 +6157,6 @@ 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; @@ -5511,9 +6168,9 @@ _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { this._parent = t0; }, - Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() { + _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() { }, - Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() { + _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() { }, AsciiCodec: function AsciiCodec() { }, @@ -5543,15 +6200,11 @@ }, ByteConversionSink: function ByteConversionSink() { }, - ByteConversionSinkBase: function ByteConversionSinkBase() { - }, _ByteCallbackSink: function _ByteCallbackSink(t0, t1) { this._callback = t0; this._convert$_buffer = t1; this._bufferIndex = 0; }, - ChunkedConversionSink: function ChunkedConversionSink() { - }, Codec: function Codec() { }, Converter: function Converter() { @@ -5631,164 +6284,6 @@ }, __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin: function __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin() { }, - identityHashCode(object) { - return A.objectHashCode(object); - }, - Function_apply($function, positionalArguments) { - return A.Primitives_applyFunction($function, positionalArguments, null); - }, - Expando$($name, $T) { - return new A.Expando(new WeakMap(), $name, $T._eval$1("Expando<0>")); - }, - Expando__checkType(object) { - if (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 A.wrapException(A.FormatException$(source, null, null)); - }, - Error__objectToString(object) { - if (object instanceof A.Closure) - return object.toString$0(0); - return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; - }, - 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(isUtc, "isUtc", type$.bool); - return new A.DateTime(millisecondsSinceEpoch, isUtc); - }, - 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) - 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 J.JSArray_markFixedList(list, $E); - }, - List_List$of(elements, growable, $E) { - var t1; - if (growable) - return A.List_List$_of(elements, $E); - t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E), $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 A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); - t1 = end == null; - if (!t1 && end < start) - 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 A.wrapException(A.RangeError$range(start, 0, i, _null, _null)); - list = []; - if (t1) - for (; it.moveNext$0();) - list.push(it.get$current(it)); - else - for (i = start; i < end; ++i) { - if (!it.moveNext$0()) - throw A.wrapException(A.RangeError$range(end, start, i, _null, _null)); - list.push(it.get$current(it)); - } - return A.Primitives_stringFromCharCodes(list); - }, - RegExp_RegExp(source, caseSensitive) { - return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, false, caseSensitive, false, false, false)); - }, - identical(a, b) { - return a == null ? b == null : a === b; - }, - StringBuffer__writeAll(string, objects, separator) { - var iterator = J.get$iterator$ax(objects); - if (!iterator.moveNext$0()) - return string; - if (separator.length === 0) { - do - string += A.S(iterator.get$current(iterator)); - while (iterator.moveNext$0()); - } else { - string += A.S(iterator.get$current(iterator)); - for (; iterator.moveNext$0();) - string = string + separator + A.S(iterator.get$current(iterator)); - } - return string; - }, - NoSuchMethodError$_(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames) { - return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames); - }, - Uri_base() { - var uri = A.Primitives_currentUri(); - if (uri != null) - return A.Uri_parse(uri); - throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); - }, - StackTrace_current() { - var stackTrace, exception; - if (A.boolConversionCheck($.$get$_hasErrorStackProperty())) - return A.getTraceFromException(new Error()); - try { - throw A.wrapException(""); - } catch (exception) { - stackTrace = A.getTraceFromException(exception); - return stackTrace; - } - }, _BigIntImpl__parseDecimal(source, isNegative) { var part, i, result = $.$get$_BigIntImpl_zero(), @@ -5797,7 +6292,7 @@ if (digitInPartCount === 4) digitInPartCount = 0; for (part = 0, i = 0; i < t1; ++i) { - part = part * 10 + B.JSString_methods._codeUnitAt$1(source, i) - 48; + part = part * 10 + source.charCodeAt(i) - 48; ++digitInPartCount; if (digitInPartCount === 4) { result = result.$mul(0, $.$get$_BigIntImpl__bigInt10000()).$add(0, A._BigIntImpl__BigIntImpl$_fromInt(part)); @@ -5824,7 +6319,9 @@ lastDigitLength = sourceLength - t2 * 4; for (i = startPos, chunk = 0, j = 0; j < lastDigitLength; ++j, i = i0) { i0 = i + 1; - digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); + if (!(i < t1)) + return A.ioore(source, i); + digitValue = A._BigIntImpl__codeUnitToRadixValue(source.charCodeAt(i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; @@ -5836,7 +6333,9 @@ for (; i < t1; digitIndex = digitIndex0) { for (chunk = 0, j = 0; j < 4; ++j, i = i0) { i0 = i + 1; - digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); + if (!(i >= 0 && i < t1)) + return A.ioore(source, i); + digitValue = A._BigIntImpl__codeUnitToRadixValue(source.charCodeAt(i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; @@ -5921,7 +6420,7 @@ digits = new Uint16Array(4); digits[3] = 32768; t1 = A._BigIntImpl__normalize(4, digits); - return new A._BigIntImpl(t1 !== 0 || false, digits, t1); + return new A._BigIntImpl(t1 !== 0, digits, t1); } value = -value; } @@ -5983,11 +6482,11 @@ return A.ioore(xDigits, i); digit = xDigits[i]; t3 = i + digitShift + 1; - t4 = B.JSInt_methods._shrReceiverPositive$1(digit, carryBitShift); + t4 = B.JSInt_methods.$shr(digit, carryBitShift); if (!(t3 >= 0 && t3 < t2)) return A.ioore(resultDigits, t3); resultDigits[t3] = (t4 | carry) >>> 0; - carry = B.JSInt_methods.$shl(digit & bitMask, bitShift); + carry = B.JSInt_methods.$shl((digit & bitMask) >>> 0, bitShift); } if (!(digitShift >= 0 && digitShift < t2)) return A.ioore(resultDigits, digitShift); @@ -6021,18 +6520,18 @@ t1 = xDigits.length; if (!(digitsShift >= 0 && digitsShift < t1)) return A.ioore(xDigits, digitsShift); - carry = B.JSInt_methods._shrReceiverPositive$1(xDigits[digitsShift], bitShift); + carry = B.JSInt_methods.$shr(xDigits[digitsShift], bitShift); last = xUsed - digitsShift - 1; for (t2 = resultDigits.length, i = 0; i < last; ++i) { t3 = i + digitsShift + 1; if (!(t3 < t1)) return A.ioore(xDigits, t3); digit = xDigits[t3]; - t3 = B.JSInt_methods.$shl(digit & bitMask, carryBitShift); + t3 = B.JSInt_methods.$shl((digit & bitMask) >>> 0, carryBitShift); if (!(i < t2)) return A.ioore(resultDigits, i); resultDigits[i] = (t3 | carry) >>> 0; - carry = B.JSInt_methods._shrReceiverPositive$1(digit, bitShift); + carry = B.JSInt_methods.$shr(digit, bitShift); } if (!(last >= 0 && last < t2)) return A.ioore(resultDigits, last); @@ -6066,7 +6565,7 @@ if (!(i < t3)) return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; - carry = carry >>> 16; + carry = B.JSInt_methods._shrOtherPositive$1(carry, 16); } for (i = otherUsed; i < used; ++i) { if (!(i >= 0 && i < t1)) @@ -6075,7 +6574,7 @@ if (!(i < t3)) return A.ioore(resultDigits, i); resultDigits[i] = carry & 65535; - carry = carry >>> 16; + carry = B.JSInt_methods._shrOtherPositive$1(carry, 16); } if (!(used >= 0 && used < t3)) return A.ioore(resultDigits, used); @@ -6146,14 +6645,161 @@ return 65535; return quotientDigit; }, + identityHashCode(object) { + return A.objectHashCode(object); + }, + Function_apply($function, positionalArguments) { + return A.Primitives_applyFunction($function, positionalArguments, null); + }, + Expando$($name, $T) { + return new A.Expando(new WeakMap(), $name, $T._eval$1("Expando<0>")); + }, + Expando__checkType(object) { + if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record) + A.Expando__badExpandoKey(object); + }, + Expando__badExpandoKey(object) { + throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null")); + }, + int_parse(source, radix) { + var value = A.Primitives_parseInt(source, radix); + if (value != null) + return value; + throw A.wrapException(A.FormatException$(source, null, null)); + }, + 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"); + }, + 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) + 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 J.JSArray_markFixedList(list, $E); + }, + List_List$of(elements, growable, $E) { + var t1; + if (growable) + return A.List_List$_of(elements, $E); + t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E), $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 t1, t2, maxLength, array, len; + A.RangeError_checkNotNegative(start, "start"); + t1 = end == null; + t2 = !t1; + if (t2) { + maxLength = end - start; + if (maxLength < 0) + throw A.wrapException(A.RangeError$range(end, start, null, "end", null)); + if (maxLength === 0) + return ""; + } + if (Array.isArray(charCodes)) { + array = charCodes; + len = array.length; + if (t1) + end = len; + return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array); + } + if (type$.NativeUint8List._is(charCodes)) + return A.String__stringFromUint8List(charCodes, start, end); + if (t2) + charCodes = J.take$1$ax(charCodes, end); + if (start > 0) + charCodes = J.skip$1$ax(charCodes, start); + return A.Primitives_stringFromCharCodes(A.List_List$of(charCodes, true, type$.int)); + }, + String__stringFromUint8List(charCodes, start, endOrNull) { + var len = charCodes.length; + if (start >= len) + return ""; + return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull); + }, + RegExp_RegExp(source, caseSensitive) { + return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, false, caseSensitive, false, false, false)); + }, + identical(a, b) { + return a == null ? b == null : a === b; + }, + StringBuffer__writeAll(string, objects, separator) { + var iterator = J.get$iterator$ax(objects); + if (!iterator.moveNext$0()) + return string; + if (separator.length === 0) { + do + string += A.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); + } else { + string += A.S(iterator.get$current(iterator)); + for (; iterator.moveNext$0();) + string = string + separator + A.S(iterator.get$current(iterator)); + } + return string; + }, + NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) { + return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()); + }, + Uri_base() { + var cachedUri, uri, + current = A.Primitives_currentUri(); + if (current == null) + throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); + cachedUri = $.Uri__cachedBaseUri; + if (cachedUri != null && current === $.Uri__cachedBaseString) + return cachedUri; + uri = A.Uri_parse(current); + $.Uri__cachedBaseUri = uri; + $.Uri__cachedBaseString = current; + return uri; + }, + StackTrace_current() { + return A.getTraceFromException(new Error()); + }, + DateTime__finishParse(year, month, day, hour, minute, second, millisecond, microsecond, isUtc) { + var value = A.Primitives_valueFromDecomposedDate(year, month, day, hour, minute, second, millisecond, microsecond, isUtc); + if (value == null) + return null; + return new A.DateTime(A.DateTime__validate(value, microsecond, isUtc), microsecond, isUtc); + }, 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); + var t1 = A.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, 0, false); + if (t1 == null) + t1 = 864e14; + if (t1 === 864e14) + A.throwExpression(A.ArgumentError$("(" + year + ", " + month + ", " + day + ", 0, 0, 0, 0, 0)", null)); + return new A.DateTime(t1, 0, false); }, DateTime_parse(formattedString) { - var t1, t2, t3, years, month, day, hour, minute, second, milliAndMicroseconds, millisecond, tzSign, sign, hourDifference, isUtc, value, _null = null, + var t1, t2, t3, years, month, day, hour, minute, second, milliAndMicroseconds, millisecond, isUtc, tzSign, sign, hourDifference, result, _null = null, match = $.$get$DateTime__parseFormat().firstMatch$1(formattedString); if (match != null) { t1 = new A.DateTime_parse_parseIntOrZero(); @@ -6189,7 +6835,8 @@ t3 = t2.length; if (8 >= t3) return A.ioore(t2, 8); - if (t2[8] != null) { + isUtc = t2[8] != null; + if (isUtc) { if (9 >= t3) return A.ioore(t2, 9); tzSign = t2[9]; @@ -6204,26 +6851,24 @@ return A.ioore(t2, 11); minute -= sign * (t1.call$1(t2[11]) + 60 * hourDifference); } - isUtc = true; - } else - isUtc = false; - value = A.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond + B.JSNumber_methods.round$0(milliAndMicroseconds % 1000 / 1000), isUtc); - if (value == null) + } + result = A.DateTime__finishParse(years, month, day, hour, minute, second, millisecond, milliAndMicroseconds % 1000, isUtc); + if (result == null) throw A.wrapException(A.FormatException$("Time out of range", formattedString, _null)); - return A.DateTime$_withValue(value, isUtc); + return result; } else throw A.wrapException(A.FormatException$("Invalid date format", formattedString, _null)); }, - DateTime$_withValue(_value, isUtc) { - var t1; - if (Math.abs(_value) <= 864e13) - t1 = false; - else - t1 = true; - if (t1) - A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + _value, null)); + DateTime__validate(millisecondsSinceEpoch, microsecond, isUtc) { + var _s11_ = "microsecond"; + if (microsecond < 0 || microsecond > 999) + throw A.wrapException(A.RangeError$range(microsecond, 0, 999, _s11_, null)); + if (millisecondsSinceEpoch < -864e13 || millisecondsSinceEpoch > 864e13) + throw A.wrapException(A.RangeError$range(millisecondsSinceEpoch, -864e13, 864e13, "millisecondsSinceEpoch", null)); + if (millisecondsSinceEpoch === 864e13 && microsecond !== 0) + throw A.wrapException(A.ArgumentError$value(microsecond, _s11_, string$.Time_i)); A.checkNotNullable(isUtc, "isUtc", type$.bool); - return new A.DateTime(_value, isUtc); + return millisecondsSinceEpoch; }, DateTime__fourDigits(n) { var absN = Math.abs(n), @@ -6263,7 +6908,12 @@ return J.toString$0$(object); if (typeof object == "string") return JSON.stringify(object); - return A.Error__objectToString(object); + return A.Primitives_safeToString(object); + }, + Error_throwWithStackTrace(error, stackTrace) { + A.checkNotNullable(error, "error", type$.Object); + A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); + A.Error__throw(error, stackTrace); }, AssertionError$(message) { return new A.AssertionError(message); @@ -6274,11 +6924,8 @@ ArgumentError$value(value, $name, message) { return new A.ArgumentError(true, value, $name, message); }, - ArgumentError$notNull($name) { - return new A.ArgumentError(false, null, $name, "Must not be null"); - }, ArgumentError_checkNotNull(argument, $name, $T) { - return argument == null ? A.throwExpression(A.ArgumentError$notNull($name)) : argument; + return argument; }, RangeError$(message) { var _null = null; @@ -6340,24 +6987,140 @@ FormatException$(message, source, offset) { return new A.FormatException(message, source, offset); }, + Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { + var parts, t1; + if (A.isToStringVisiting(iterable)) { + if (leftDelimiter === "(" && rightDelimiter === ")") + return "(...)"; + return leftDelimiter + "..." + rightDelimiter; + } + parts = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + A._iterablePartsToStrings(iterable, parts); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { + var buffer, t1; + if (A.isToStringVisiting(iterable)) + return leftDelimiter + "..." + rightDelimiter; + buffer = new A.StringBuffer(leftDelimiter); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + t1 = buffer; + t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + buffer._contents += rightDelimiter; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _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 = A.S(it.get$current(it)); + B.JSArray_methods.add$1(parts, next); + $length += next.length + 2; + ++count; + } + if (!it.moveNext$0()) { + if (count <= 5) + return; + if (0 >= parts.length) + return A.ioore(parts, -1); + ultimateString = parts.pop(); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + } else { + penultimate = it.get$current(it); + ++count; + if (!it.moveNext$0()) { + if (count <= 4) { + B.JSArray_methods.add$1(parts, A.S(penultimate)); + return; + } + ultimateString = A.S(penultimate); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + $length += ultimateString.length + 2; + } else { + ultimate = it.get$current(it); + ++count; + for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { + ultimate0 = it.get$current(it); + ++count; + if (count > 100) { + while (true) { + if (!($length > 75 && count > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + --count; + } + B.JSArray_methods.add$1(parts, "..."); + return; + } + } + penultimateString = A.S(penultimate); + ultimateString = A.S(ultimate); + $length += ultimateString.length + penultimateString.length + 4; + } + } + if (count > parts.length + 2) { + $length += 5; + elision = "..."; + } else + elision = null; + while (true) { + if (!($length > 80 && parts.length > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + if (elision == null) { + $length += 5; + elision = "..."; + } + } + if (elision != null) + B.JSArray_methods.add$1(parts, elision); + B.JSArray_methods.add$1(parts, penultimateString); + B.JSArray_methods.add$1(parts, ultimateString); + }, 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(input) { - var t1, - result = A.num_tryParse(input); + var result = A.num_tryParse(input); if (result != null) return result; - t1 = A.FormatException$(input, null, null); - throw A.wrapException(t1); + throw A.wrapException(A.FormatException$(input, null, null)); }, num_tryParse(input) { var source = B.JSString_methods.trim$0(input), 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, t2; + Object_hash(object1, object2, object3, object4) { + 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) { @@ -6366,67 +7129,29 @@ 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); - t2 = $.$get$_hashSeed(); - 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(A.SystemHash_combine(t2, t1), object2), object3), object4), object5), object6), object7), object8)); + t1 = A.SystemHash_hash4(J.get$hashCode$(object1), J.get$hashCode$(object2), J.get$hashCode$(object3), J.get$hashCode$(object4), $.$get$_hashSeed()); + return t1; }, Object_hashAll(objects) { - var _i, + var t1, _i, hash = $.$get$_hashSeed(); - for (_i = 0; _i < 5; ++_i) - hash = A.SystemHash_combine(hash, B.JSInt_methods.get$hashCode(objects[_i])); + for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i) + hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i])); return A.SystemHash_finish(hash); }, print(object) { A.printString(A.S(object)); }, - 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(start, end) { return 65536 + ((start & 1023) << 10) + (end & 1023); }, 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, + var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null, end = uri.length; if (end >= 5) { - 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 (4 >= end) + return A.ioore(uri, 4); + delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0; if (delta === 0) return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); else if (delta === 32) @@ -6461,16 +7186,12 @@ if (portStart < hostStart) portStart = pathStart; isSimple = indices[7] < 0; - if (isSimple) - if (hostStart > schemeEnd + 3) { - scheme = _null; - isSimple = false; - } else { + scheme = _null; + if (isSimple) { + isSimple = false; + if (!(hostStart > schemeEnd + 3)) { t1 = portStart > 0; - if (t1 && portStart + 1 === pathStart) { - scheme = _null; - isSimple = false; - } else { + if (!(t1 && portStart + 1 === pathStart)) { 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); @@ -6478,19 +7199,13 @@ t2 = false; else t2 = true; - if (t2) { - scheme = _null; - isSimple = false; - } else { + if (!t2) { 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 (!t2) + if (schemeEnd === 4) { if (B.JSString_methods.startsWith$2(uri, "file", 0)) { if (hostStart <= 0) { if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) { @@ -6501,10 +7216,8 @@ delta = 2; } uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end); - schemeEnd -= 0; - t1 = delta - 0; - queryStart += t1; - fragmentStart += t1; + queryStart += delta; + fragmentStart += delta; end = uri.length; hostStart = 7; portStart = 7; @@ -6527,9 +7240,8 @@ pathStart = pathStart0; } scheme = "http"; - } else - scheme = _null; - else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) { + } + } 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; @@ -6539,27 +7251,14 @@ pathStart = pathStart0; } scheme = "https"; - } else - scheme = _null; - isSimple = true; - } + } + isSimple = !t2; } } } - else - scheme = _null; - if (isSimple) { - if (end < uri.length) { - uri = B.JSString_methods.substring$2(uri, 0, end); - schemeEnd -= 0; - hostStart -= 0; - portStart -= 0; - pathStart -= 0; - queryStart -= 0; - fragmentStart -= 0; - } - return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); } + if (isSimple) + return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); if (scheme == null) if (schemeEnd > 0) scheme = A._Uri__makeScheme(uri, 0, schemeEnd); @@ -6568,6 +7267,7 @@ A._Uri__fail(uri, 0, "Invalid empty scheme"); scheme = ""; } + port = _null; if (hostStart > 0) { userInfoStart = schemeEnd + 3; userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : ""; @@ -6576,11 +7276,9 @@ 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; + host = _null; userInfo = ""; } path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null); @@ -6592,13 +7290,15 @@ return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); }, Uri__parseIPv4Address(host, start, end) { - var i, partStart, partIndex, char, part, partIndex0, + var t1, 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); + for (t1 = host.length, i = start, partStart = i, partIndex = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); @@ -6627,18 +7327,23 @@ return result; }, Uri_parseIPv6Address(host, start, end) { - var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, _null = null, + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, 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) + parseHex = new A.Uri_parseIPv6Address_parseHex(error, host), + t1 = host.length; + if (t1 < 2) 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 = B.JSString_methods.codeUnitAt$1(host, i); + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); if (char === 58) { if (i === start) { ++i; - if (B.JSString_methods.codeUnitAt$1(host, i) !== 58) + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) !== 58) error.call$2("invalid start colon.", i); partStart = i; } @@ -6727,31 +7432,6 @@ } } }, - _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) { - var t1, t2, t3, t4, t5; - 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('["*/:<>?\\\\|]', true); - t5 = t3.length; - if (A.stringContainsUnchecked(t3, t4, 0)) { - t1 = A.UnsupportedError$("Illegal character in path: " + t3); - throw A.wrapException(t1); - } - } - }, - _Uri__checkWindowsDriveLetter(charCode, argumentError) { - var t1; - if (!(65 <= charCode && charCode <= 90)) - t1 = 97 <= charCode && charCode <= 122; - else - t1 = true; - if (t1) - return; - t1 = A.UnsupportedError$("Illegal drive letter " + A.String_String$fromCharCode(charCode)); - throw A.wrapException(t1); - }, _Uri__makePort(port, scheme) { if (port != null && port === A._Uri__defaultPort(scheme)) return null; @@ -6763,22 +7443,29 @@ return null; if (start === end) return ""; - if (B.JSString_methods.codeUnitAt$1(host, start) === 91) { - t1 = end - 1; - if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) + t1 = host.length; + if (!(start >= 0 && start < t1)) + return A.ioore(host, start); + if (host.charCodeAt(start) === 91) { + t2 = end - 1; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(host, t2); + if (host.charCodeAt(t2) !== 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) { + t1 = start + 1; + index = A._Uri__checkZoneID(host, t1, t2); + if (index < t2) { zoneIDstart = index + 1; - zoneID = A._Uri__normalizeZoneID(host, B.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, t2, "%25"); } else zoneID = ""; - A.Uri_parseIPv6Address(host, t2, index); + A.Uri_parseIPv6Address(host, t1, 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) { + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) === 58) { index = B.JSString_methods.indexOf$2(host, "%", start); index = index >= start && index < end ? index : end; if (index < end) { @@ -6789,6 +7476,7 @@ 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) { @@ -6796,37 +7484,39 @@ return index >= start && index < end ? index : end; }, _Uri__normalizeZoneID(host, start, end, prefix) { - var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, + var t1, index, sectionStart, isNormalized, char, replacement, t2, t3, sourceLength, tail, 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); + for (t1 = host.length, index = start, sectionStart = index, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); - t1 = replacement == null; - if (t1 && isNormalized) { + t2 = replacement == null; + if (t2 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); - t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); - if (t1) + t3 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + if (t2) 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; + buffer._contents = t3 + 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; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_piR, t2); + t2 = (B.List_piR[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) { + t2 = false; + if (t2) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); @@ -6838,23 +7528,26 @@ } ++index; } else { + sourceLength = 1; if ((char & 64512) === 55296 && index + 1 < end) { - tail = B.JSString_methods.codeUnitAt$1(host, index + 1); + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); 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; + t2 = buffer; } else - t1 = buffer; - t1._contents += slice; - t1._contents += A._Uri__escapeChar(char); + t2 = buffer; + t2._contents += slice; + t3 = A._Uri__escapeChar(char); + t2._contents += t3; index += sourceLength; sectionStart = index; } @@ -6862,47 +7555,52 @@ } 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); + if (sectionStart < end) { + slice = B.JSString_methods.substring$2(host, sectionStart, end); + buffer._contents += slice; + } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _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 = B.JSString_methods.codeUnitAt$1(host, index); + var t1, index, sectionStart, buffer, isNormalized, char, replacement, t2, slice, t3, sourceLength, tail; + for (t1 = host.length, index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); - t1 = replacement == null; - if (t1 && isNormalized) { + t2 = replacement == null; + if (t2 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); slice = B.JSString_methods.substring$2(host, sectionStart, index); - t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; - if (t1) { + if (!isNormalized) + slice = slice.toLowerCase(); + t3 = buffer._contents += slice; + sourceLength = 3; + if (t2) replacement = B.JSString_methods.substring$2(host, index, index + 3); - sourceLength = 3; - } else if (replacement === "%") { + else if (replacement === "%") { replacement = "%25"; sourceLength = 1; - } else - sourceLength = 3; - buffer._contents = t2 + replacement; + } + buffer._contents = t3 + replacement; index += sourceLength; sectionStart = index; isNormalized = true; } else { if (char < 127) { - t1 = char >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_qNA, t1); - t1 = (B.List_qNA[t1] & 1 << (char & 15)) !== 0; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_4AN, t2); + t2 = (B.List_4AN[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) { + t2 = false; + if (t2) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); @@ -6915,34 +7613,37 @@ ++index; } else { if (char <= 93) { - t1 = char >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_2Vk, t1); - t1 = (B.List_2Vk[t1] & 1 << (char & 15)) !== 0; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_VOY, t2); + t2 = (B.List_VOY[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) + t2 = false; + if (t2) A._Uri__fail(host, index, "Invalid character"); else { + sourceLength = 1; if ((char & 64512) === 55296 && index + 1 < end) { - tail = B.JSString_methods.codeUnitAt$1(host, index + 1); + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); 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 (!isNormalized) slice = slice.toLowerCase(); if (buffer == null) { buffer = new A.StringBuffer(""); - t1 = buffer; + t2 = buffer; } else - t1 = buffer; - t1._contents += slice; - t1._contents += A._Uri__escapeChar(char); + t2 = buffer; + t2._contents += slice; + t3 = A._Uri__escapeChar(char); + t2._contents += t3; index += sourceLength; sectionStart = index; } @@ -6953,27 +7654,34 @@ return B.JSString_methods.substring$2(host, start, end); if (sectionStart < end) { slice = B.JSString_methods.substring$2(host, sectionStart, end); - buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + if (!isNormalized) + slice = slice.toLowerCase(); + buffer._contents += slice; } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__makeScheme(scheme, start, end) { - var i, containsUpperCase, codeUnit, t1; + var t1, i, containsUpperCase, codeUnit, t2; if (start === end) return ""; - if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start))) + t1 = scheme.length; + if (!(start < t1)) + return A.ioore(scheme, start); + if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(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 (!(i < t1)) + return A.ioore(scheme, i); + codeUnit = scheme.charCodeAt(i); if (codeUnit < 128) { - t1 = codeUnit >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_JYB, t1); - t1 = (B.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; + t2 = codeUnit >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_GVy, t2); + t2 = (B.List_GVy[t2] & 1 << (codeUnit & 15)) !== 0; } else - t1 = false; - if (!t1) + t2 = false; + if (!t2) A._Uri__fail(scheme, i, "Illegal scheme character"); if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; @@ -6995,12 +7703,16 @@ _Uri__makeUserInfo(userInfo, start, end) { if (userInfo == null) return ""; - return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false, false); + return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_2jN, false, false); }, _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { - var isFile = scheme === "file", - ensureLeadingSlash = isFile || hasAuthority, - result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, true, true); + var result, + isFile = scheme === "file", + ensureLeadingSlash = isFile || hasAuthority; + if (path == null) + return isFile ? "/" : ""; + else + result = A._Uri__normalizeOrSubstring(path, start, end, B.List_M2I, true, true); if (result.length === 0) { if (isFile) return "/"; @@ -7016,21 +7728,27 @@ }, _Uri__makeQuery(query, start, end, queryParameters) { if (query != null) - return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true, false); + return A._Uri__normalizeOrSubstring(query, start, end, B.List_42A, true, false); return null; }, _Uri__makeFragment(fragment, start, end) { if (fragment == null) return null; - return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true, false); + return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_42A, true, false); }, _Uri__normalizeEscape(source, index, lowerCase) { - var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, - t1 = index + 2; - if (t1 >= source.length) + var t3, firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, + t1 = index + 2, + t2 = source.length; + if (t1 >= t2) return "%"; - firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1); - secondDigit = B.JSString_methods.codeUnitAt$1(source, t1); + t3 = index + 1; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(source, t3); + firstDigit = source.charCodeAt(t3); + if (!(t1 >= 0)) + return A.ioore(source, t1); + secondDigit = source.charCodeAt(t1); firstDigitValue = A.hexDigitValue(firstDigit); secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) @@ -7039,8 +7757,8 @@ if (value < 127) { 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; + return A.ioore(B.List_piR, t1); + t1 = (B.List_piR[t1] & 1 << (value & 15)) !== 0; } else t1 = false; if (t1) @@ -7050,13 +7768,16 @@ return null; }, _Uri__escapeChar(char) { - var codeUnits, flag, encodedBytes, t1, index, byte, t2, t3, + var codeUnits, t1, flag, encodedBytes, index, byte, t2, t3, _s16_ = "0123456789ABCDEF"; if (char < 128) { 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); + t1 = char >>> 4; + if (!(t1 < 16)) + return A.ioore(_s16_, t1); + codeUnits[1] = _s16_.charCodeAt(t1); + codeUnits[2] = _s16_.charCodeAt(char & 15); } else { if (char > 2047) if (char > 65535) { @@ -7078,15 +7799,16 @@ return A.ioore(codeUnits, index); codeUnits[index] = 37; t2 = index + 1; - t3 = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); + t3 = byte >>> 4; + if (!(t3 < 16)) + return A.ioore(_s16_, t3); if (!(t2 < t1)) return A.ioore(codeUnits, t2); - codeUnits[t2] = t3; + codeUnits[t2] = _s16_.charCodeAt(t3); t3 = index + 2; - t2 = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15); if (!(t3 < t1)) return A.ioore(codeUnits, t3); - codeUnits[t3] = t2; + codeUnits[t3] = _s16_.charCodeAt(byte & 15); index += 3; } } @@ -7097,72 +7819,70 @@ return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; }, _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 = B.JSString_methods.codeUnitAt$1(component, index); + var t1, t2, index, sectionStart, buffer, char, t3, sourceLength, replacement, tail, t4, _null = null; + for (t1 = !escapeDelimiters, t2 = component.length, index = start, sectionStart = index, buffer = _null; index < end;) { + if (!(index >= 0 && index < t2)) + return A.ioore(component, index); + char = component.charCodeAt(index); if (char < 127) { - t2 = char >>> 4; - if (!(t2 < 8)) - return A.ioore(charTable, t2); - t2 = (charTable[t2] & 1 << (char & 15)) !== 0; + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(charTable, t3); + t3 = (charTable[t3] & 1 << (char & 15)) !== 0; } else - t2 = false; - if (t2) + t3 = false; + if (t3) ++index; else { + sourceLength = 1; if (char === 37) { replacement = A._Uri__normalizeEscape(component, index, false); if (replacement == null) { index += 3; continue; } - if ("%" === replacement) { + if ("%" === replacement) replacement = "%25"; - sourceLength = 1; - } else + else sourceLength = 3; - } else if (char === 92 && replaceBackslash) { + } else if (char === 92 && replaceBackslash) replacement = "/"; - sourceLength = 1; - } else { + else { + t3 = false; 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) { + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(B.List_VOY, t3); + t3 = (B.List_VOY[t3] & 1 << (char & 15)) !== 0; + } + if (t3) { 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); + t3 = index + 1; + if (t3 < end) { + if (!(t3 < t2)) + return A.ioore(component, t3); + tail = component.charCodeAt(t3); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; - } else - sourceLength = 1; - } else - sourceLength = 1; - } else - sourceLength = 1; + } + } + } replacement = A._Uri__escapeChar(char); } } if (buffer == null) { buffer = new A.StringBuffer(""); - t2 = buffer; + t3 = buffer; } else - t2 = buffer; - t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); - t2._contents = t3 + A.S(replacement); + t3 = buffer; + t4 = t3._contents += B.JSString_methods.substring$2(component, sectionStart, index); + t3._contents = t4 + A.S(replacement); if (typeof sourceLength !== "number") return A.iae(sourceLength); index += sourceLength; @@ -7171,8 +7891,10 @@ } if (buffer == null) return _null; - if (sectionStart < end) - buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end); + if (sectionStart < end) { + t1 = B.JSString_methods.substring$2(component, sectionStart, end); + buffer._contents += t1; + } t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, @@ -7198,11 +7920,10 @@ B.JSArray_methods.add$1(output, ""); } appendSlash = true; - } else if ("." === segment) - appendSlash = true; - else { - B.JSArray_methods.add$1(output, segment); - appendSlash = false; + } else { + appendSlash = "." === segment; + if (!appendSlash) + B.JSArray_methods.add$1(output, segment); } } if (appendSlash) @@ -7216,21 +7937,18 @@ 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 && B.JSArray_methods.get$last(output) !== "..") { + if (".." === segment) { + appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== ".."; + if (appendSlash) { if (0 >= output.length) return A.ioore(output, -1); output.pop(); - appendSlash = true; - } else { + } else B.JSArray_methods.add$1(output, ".."); - appendSlash = false; - } - else if ("." === segment) - appendSlash = true; - else { - B.JSArray_methods.add$1(output, segment); - appendSlash = false; + } else { + appendSlash = "." === segment; + if (!appendSlash) + B.JSArray_methods.add$1(output, segment); } } t1 = output.length; @@ -7257,16 +7975,16 @@ _Uri__escapeScheme(path) { var i, char, t2, t1 = path.length; - if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0))) + if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0))) for (i = 1; i < t1; ++i) { - char = B.JSString_methods._codeUnitAt$1(path, i); + char = path.charCodeAt(i); if (char === 58) 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 A.ioore(B.List_JYB, t2); - t2 = (B.List_JYB[t2] & 1 << (char & 15)) === 0; + return A.ioore(B.List_GVy, t2); + t2 = (B.List_GVy[t2] & 1 << (char & 15)) === 0; } else t2 = true; if (t2) @@ -7279,34 +7997,13 @@ 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 A.ioore(segments, 0); - A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false); - A._Uri__checkWindowsPathReservedCharacters(segments, false, 1); - hasDriveLetter = true; - } else { - A._Uri__checkWindowsPathReservedCharacters(segments, false, 0); - hasDriveLetter = false; - } - t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : ""; - if (uri.get$hasAuthority()) { - host = uri.get$host(uri); - if (host.length !== 0) - t2 = t2 + "\\" + host + "\\"; - } - t2 = A.StringBuffer__writeAll(t2, segments, "\\"); - t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2; - return t1.charCodeAt(0) == 0 ? t1 : t1; - }, _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); + var t1, byte, i, t2, charCode; + for (t1 = s.length, byte = 0, i = 0; i < 2; ++i) { + t2 = pos + i; + if (!(t2 < t1)) + return A.ioore(s, t2); + charCode = s.charCodeAt(t2); if (48 <= charCode && charCode <= 57) byte = byte * 16 + charCode - 48; else { @@ -7320,40 +8017,38 @@ return byte; }, _Uri__uriDecode(text, start, end, encoding, plusToSpace) { - var simple, codeUnit, t1, bytes, + var simple, codeUnit, t2, bytes, + t1 = text.length, i = start; while (true) { if (!(i < end)) { simple = true; break; } - codeUnit = B.JSString_methods._codeUnitAt$1(text, i); + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); if (codeUnit <= 127) - if (codeUnit !== 37) - t1 = false; - else - t1 = true; + t2 = codeUnit === 37; else - t1 = true; - if (t1) { + t2 = true; + if (t2) { simple = false; break; } ++i; } - if (simple) { - if (B.C_Utf8Codec !== encoding) - t1 = false; - else - t1 = true; - if (t1) + if (simple) + if (B.C_Utf8Codec === encoding) return B.JSString_methods.substring$2(text, start, end); else bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end)); - } else { + else { bytes = A._setArrayType([], type$.JSArray_int); - for (t1 = text.length, i = start; i < end; ++i) { - codeUnit = B.JSString_methods._codeUnitAt$1(text, i); + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); if (codeUnit > 127) throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); if (codeUnit === 37) { @@ -7376,7 +8071,7 @@ _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 = B.JSString_methods._codeUnitAt$1(text, i); + char = text.charCodeAt(i); if (char === 44 || char === 59) break; if (char === 47) { @@ -7393,7 +8088,9 @@ B.JSArray_methods.add$1(indices, i); ++i; for (equalsIndex = -1; i < t1; ++i) { - char = B.JSString_methods._codeUnitAt$1(text, i); + if (!(i >= 0)) + return A.ioore(text, i); + char = text.charCodeAt(i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; @@ -7414,165 +8111,166 @@ if ((indices.length & 1) === 1) text = B.C_Base64Codec.normalize$3(0, text, t2, t1); else { - data = A._Uri__normalize(text, t2, t1, B.List_CVk, true, false); + data = A._Uri__normalize(text, t2, t1, B.List_42A, true, false); if (data != null) text = B.JSString_methods.replaceRange$3(text, t2, t1, data); } return new A.UriData(text, indices, sourceUri); }, _createTables() { - var _i, t2, t3, t4, b, + var _i, t1, t2, t3, b, _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\", - t1 = type$.Uint8List, - tables = J.JSArray_JSArray$allocateGrowable(22, t1); + tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List); for (_i = 0; _i < 22; ++_i) tables[_i] = new Uint8Array(96); - 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); + t1 = new A._createTables_build(tables); + t2 = new A._createTables_setChars(); + t3 = new A._createTables_setRange(); + b = t1.call$2(0, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_, 14); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 3); + t2.call$3(b, _s1_2, 227); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(15, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, "%", 225); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 9); + t2.call$3(b, _s1_2, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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_2, 131); + t2.call$3(b, _s1_, 146); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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_2, 68); + t2.call$3(b, _s1_, 18); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(4, 229); + t2.call$3(b, _s77_, 5); + t3.call$3(b, "AZ", 229); + t2.call$3(b, _s1_0, 102); + t2.call$3(b, "@", 68); + t2.call$3(b, "[", 232); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(5, 229); + t2.call$3(b, _s77_, 5); + t3.call$3(b, "AZ", 229); + t2.call$3(b, _s1_0, 102); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(6, 231); + t3.call$3(b, "19", 7); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(7, 231); + t3.call$3(b, "09", 7); + t2.call$3(b, "@", 68); + t2.call$3(b, _s1_1, 138); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(16, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 17); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, 10); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(18, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s1_, 19); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(19, 235); + t2.call$3(b, _s77_, 11); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(12, 236); + t2.call$3(b, _s77_, 12); + t2.call$3(b, _s1_3, 12); + t2.call$3(b, _s1_4, 205); + b = t1.call$2(13, 237); + t2.call$3(b, _s77_, 13); + t2.call$3(b, _s1_3, 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(uri, start, end, state, indices) { - var i, table, char, transition, + var t1, i, table, char, transition, tables = $.$get$_scannerTables(); - for (i = start; i < end; ++i) { + for (t1 = uri.length, i = start; i < end; ++i) { if (!(state >= 0 && state < tables.length)) return A.ioore(tables, state); table = tables[state]; - char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96; + if (!(i < t1)) + return A.ioore(uri, i); + char = uri.charCodeAt(i) ^ 96; transition = table[char > 95 ? 31 : char]; state = transition & 31; B.JSArray_methods.$indexSet(indices, transition >>> 5, i); @@ -7585,9 +8283,11 @@ 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); + var t1, i, dots, char; + for (t1 = source.length, i = start, dots = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 47) return dots !== 0 ? i : -1; if (char === 37 || char === 58) @@ -7597,11 +8297,13 @@ 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; + var t1, t2, result, i, t3, stringChar, delta, lowerChar; + for (t1 = prefix.length, t2 = string.length, result = 0, i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 < t2)) + return A.ioore(string, t3); + stringChar = string.charCodeAt(t3); + delta = prefix.charCodeAt(i) ^ stringChar; if (delta !== 0) { if (delta === 32) { lowerChar = stringChar | delta; @@ -7615,10 +8317,6 @@ } return result; }, - NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { - this._box_0 = t0; - this.sb = t1; - }, _BigIntImpl: function _BigIntImpl(t0, t1, t2) { this._isNegative = t0; this._digits = t1; @@ -7628,9 +8326,14 @@ }, _BigIntImpl_hashCode_finish: function _BigIntImpl_hashCode_finish() { }, - DateTime: function DateTime(t0, t1) { + NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { + this._box_0 = t0; + this.sb = t1; + }, + DateTime: function DateTime(t0, t1, t2) { this._core$_value = t0; - this.isUtc = t1; + this._microsecond = t1; + this.isUtc = t2; }, DateTime_parse_parseIntOrZero: function DateTime_parse_parseIntOrZero() { }, @@ -7648,8 +8351,6 @@ }, TypeError: function TypeError() { }, - NullThrownError: function NullThrownError() { - }, ArgumentError: function ArgumentError(t0, t1, t2, t3) { var _ = this; _._hasValue = t0; @@ -7674,13 +8375,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; @@ -7698,9 +8398,6 @@ }, StackOverflowError: function StackOverflowError() { }, - CyclicInitializationError: function CyclicInitializationError(t0) { - this.variableName = t0; - }, _Exception: function _Exception(t0) { this.message = t0; }, @@ -7713,8 +8410,6 @@ }, Iterable: function Iterable() { }, - Iterator: function Iterator() { - }, MapEntry: function MapEntry(t0, t1, t2) { this.key = t0; this.value = t1; @@ -7810,13 +8505,8 @@ return t1; }, Blob_Blob(blobParts, type) { - var bag, - t1 = type == null; - if (t1 && true) - return new self.Blob(blobParts); - bag = {}; - if (!t1) - bag.type = type; + var bag = {}; + bag.type = type; return new self.Blob(blobParts, bag); }, DomMatrix_DomMatrix($init) { @@ -7843,8 +8533,7 @@ t1 = document.body; t1.toString; t2 = type$._ChildNodeListLazy; - t2 = new A.WhereIterable(new A._ChildNodeListLazy(B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)), t2._eval$1("bool(ListMixin.E)")._as(new A.Element_Element$html_closure()), t2._eval$1("WhereIterable")); - return type$.Element._as(t2.get$single(t2)); + return type$.Element._as(new A.WhereIterable(new A._ChildNodeListLazy(B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)), t2._eval$1("bool(ListBase.E)")._as(new A.Element_Element$html_closure()), t2._eval$1("WhereIterable")).get$single(0)); }, Element__safeTagName(element) { var t1, exception, @@ -7861,7 +8550,7 @@ return A.HttpRequest_request(url, null, null, null).then$1$1(0, new A.HttpRequest_getString_closure(), type$.String); }, HttpRequest_request(url, onProgress, responseType, withCredentials) { - var t3, t4, t5, + var t3, t4, t1 = new A._Future($.Zone__current, type$._Future_HttpRequest), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest), t2 = new XMLHttpRequest(); @@ -7870,11 +8559,9 @@ if (responseType != null) t2.responseType = responseType; t3 = type$.nullable_void_Function_ProgressEvent; - t4 = t3._as(new A.HttpRequest_request_closure(t2, completer)); - type$.nullable_void_Function._as(null); - t5 = type$.ProgressEvent; - A._EventStreamSubscription$(t2, "load", t4, false, t5); - A._EventStreamSubscription$(t2, "error", t3._as(completer.get$completeError()), false, t5); + t4 = type$.ProgressEvent; + A._EventStreamSubscription$(t2, "load", t3._as(new A.HttpRequest_request_closure(t2, completer)), false, t4); + A._EventStreamSubscription$(t2, "error", t3._as(completer.get$completeError()), false, t4); t2.send(); return t1; }, @@ -7909,11 +8596,11 @@ return false; }, _ElementCssClassSet__removeAll(_element, iterable) { - var t2, _i, + var t2, t1 = _element.classList; t1.toString; - for (t2 = iterable.length, _i = 0; _i < iterable.length; iterable.length === t2 || (0, A.throwConcurrentModificationError)(iterable), ++_i) - t1.remove(A._asString(iterable[_i])); + for (t2 = J.get$iterator$ax(iterable); t2.moveNext$0();) + t1.remove(A._asString(t2.get$current(t2))); }, _EventStreamSubscription$(_target, _eventType, onData, _useCapture, $T) { var t1 = onData == null ? null : A._wrapZone(new A._EventStreamSubscription_closure(onData), type$.Event); @@ -7936,7 +8623,7 @@ return true; }, _Html5NodeValidator__uriAttributeValidator(element, attributeName, value, context) { - var t1, t2, t3, t4, t5; + var t1, t2, t3, t4, t5, t6; type$.Element._as(element); A._asString(attributeName); A._asString(value); @@ -7945,29 +8632,28 @@ B.AnchorElement_methods.set$href(t2, value); t3 = t2.hostname; t1 = t1._loc; + t4 = false; if (t3 == t1.hostname) { - t4 = t2.port; - t5 = t1.port; - t5.toString; - if (t4 === t5) { + t5 = t2.port; + t6 = t1.port; + t6.toString; + if (t5 === t6) { t4 = t2.protocol; t1 = t1.protocol; t1.toString; t1 = t4 === t1; } else - t1 = false; + t1 = t4; } else + t1 = t4; + if (!t1) { t1 = false; - if (!t1) if (t3 === "") if (t2.port === "") { t1 = t2.protocol; t1 = t1 === ":" || t1 === ""; - } else - t1 = false; - else - t1 = false; - else + } + } else t1 = true; return t1; }, @@ -8047,7 +8733,6 @@ return "Up"; case 229: case 224: - case 91: case 92: return "Win"; default: @@ -8056,11 +8741,11 @@ }, _TemplatingNodeValidator$() { var t1 = type$.String, - t2 = A.LinkedHashSet_LinkedHashSet$from(B.List_wSV, t1), + t2 = A.LinkedHashSet_LinkedHashSet$from(B.List_ym9, t1), t3 = A._setArrayType(["TEMPLATE"], type$.JSArray_String), t4 = type$.String_Function_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_String_String), t3, null); + t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new A.MappedListIterable(B.List_ym9, t4, type$.MappedListIterable_String_String), t3, null); return t1; }, _convertNativeToDart_Window(win) { @@ -8519,7 +9204,7 @@ _EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) { this.onData = t0; }, - _EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) { + _EventStreamSubscription_onData_closure0: function _EventStreamSubscription_onData_closure0(t0) { this.handleData = t0; }, _Html5NodeValidator: function _Html5NodeValidator(t0) { @@ -8557,13 +9242,13 @@ FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { var _ = this; _._array = t0; - _._html$_length = t1; + _._length = t1; _._position = -1; _._current = null; _.$ti = t2; }, _DOMWindowCrossFrame: function _DOMWindowCrossFrame(t0) { - this._window = t0; + this.__window = t0; }, KeyEvent: function KeyEvent(t0, t1) { var _ = this; @@ -8791,15 +9476,12 @@ FilteredElementList_removeRange_closure: function FilteredElementList_removeRange_closure() { }, _completeRequest(request, $T) { - var t4, - t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), + var 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_Event, - t3 = t2._as(new A._completeRequest_closure(request, completer, $T)); - type$.nullable_void_Function._as(null); - t4 = type$.Event; - A._EventStreamSubscription$(request, "success", t3, false, t4); - A._EventStreamSubscription$(request, "error", t2._as(completer.get$completeError()), false, t4); + t3 = type$.Event; + A._EventStreamSubscription$(request, "success", t2._as(new A._completeRequest_closure(request, completer, $T)), false, t3); + A._EventStreamSubscription$(request, "error", t2._as(completer.get$completeError()), false, t3); return t1; }, Cursor: function Cursor() { @@ -8861,7 +9543,7 @@ if (o == null || typeof o == "string" || typeof o == "number" || A._isBool(o)) return o; if (o instanceof A.JsObject) - return o._js$_jsObject; + return o._jsObject; if (A.isBrowserObject(o)) return o; if (type$.TypedData._is(o)) @@ -8888,7 +9570,7 @@ else if (o instanceof Object && type$.TypedData._is(o)) return o; else if (o instanceof Date) - return A.DateTime$fromMillisecondsSinceEpoch(A._asInt(o.getTime()), false); + return new A.DateTime(A.DateTime__validate(A._asInt(o.getTime()), 0, false), 0, false); else if (o.constructor === $.$get$_dartProxyCtor()) return o.o; else @@ -8909,6 +9591,29 @@ } return dartProxy; }, + _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._jsObject = t0; + }, + JsFunction: function JsFunction(t0) { + this._jsObject = t0; + }, + JsArray: function JsArray(t0, t1) { + this._jsObject = t0; + this.$ti = t1; + }, + _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { + }, _convertDartFunctionFast(f) { var ret, existing = f.$dart_jsFunction; @@ -8933,28 +9638,23 @@ else return $F._as(A._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; + _functionToJS1(f) { + var result; + if (typeof f == "function") + throw A.wrapException(A.ArgumentError$("Attempting to rewrap a JS function.", null)); + result = function(_call, f) { + return function(arg1) { + return _call(f, arg1, arguments.length); + }; + }(A._callDartFunctionFast1, f); + result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f; + return result; }, - _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { + _callDartFunctionFast1(callback, arg1, $length) { + type$.Function._as(callback); + if (A._asInt($length) >= 1) + return callback.call$1(arg1); + return callback.call$0(); }, promiseToFuture(jsPromise, $T) { var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), @@ -9094,29 +9794,8 @@ }, _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin: function _TransformList_JavaScriptObject_ListMixin_ImmutableListMixin() { }, - _UnmodifiableUint8ListView$(list) { - return new A._UnmodifiableUint8ListView(list); - }, - _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; - }, Endian: function Endian() { }, - __UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin: function __UnmodifiableInt32ListView_UnmodifiableListBase__UnmodifiableListMixin() { - }, - __UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin: function __UnmodifiableUint8ListView_UnmodifiableListBase__UnmodifiableListMixin() { - }, AudioBuffer: function AudioBuffer() { }, AudioNode: function AudioNode() { @@ -9175,13 +9854,17 @@ FileContent: function FileContent() { }, 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)) + var v, i, t3, + t1 = mac.length, + t2 = computedMac.length; + if (t1 !== t2) return false; - for (v = 0, i = 0; i < t1.get$length(mac); ++i) - v = (v | t1.$index(mac, i) ^ t2.$index(computedMac, i)) >>> 0; + for (v = 0, i = 0; i < t1; ++i) { + t3 = mac[i]; + if (!(i < t2)) + return A.ioore(computedMac, i); + v |= t3 ^ computedMac[i]; + } return v === 0; }, AesCipherUtil_prepareBuffAESIVBytes(buff, nonce) { @@ -9197,21 +9880,18 @@ } }, Aes$(derivedKey, hmacDerivedKey, aesKeyStrength, encrypt) { - var t2, t3, t4, t5, t6, mac, + var t2, t3, 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)); + t3 = t1.aesEngine = new A.AESEngine(t3); + t3._forEncryption = true; + t3.set$__AESEngine__workingKey_A(type$.List_List_int._as(t3.generateWorkingKey$2(true, new A.KeyParameter(derivedKey)))); + if (t3._forEncryption) + t3.set$_s(A.List_List$from(B.List_9Wx, true, t2)); else - t4.set$_s(A.List_List$from(t6, true, t2)); + t3.set$_s(A.List_List$from(B.List_8aB, true, t2)); mac = A.HMac$(A.SHA1Digest$(), 64); mac.init$1(0, new A.KeyParameter(hmacDerivedKey)); t1.__Aes__macGen_A = mac; @@ -9235,15 +9915,106 @@ this.source = t1; this.offset = t2; }, + shiftl32(x, n) { + n &= 31; + return (x & $._mask32HiBits[n]) << n >>> 0; + }, + rotr32(x, n) { + n &= 31; + return (x >>> n | A.shiftl32(x, 32 - n)) >>> 0; + }, + Register64$(hiOrLo32OrY) { + var t2, + t1 = new A.Register64(); + if (A._isInt(hiOrLo32OrY)) + t1.setInt$2(hiOrLo32OrY, null); + else { + type$.Register64._as(hiOrLo32OrY); + t2 = hiOrLo32OrY.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI("_hi32"); + t1.__Register64__hi32_A = t2; + t2 = hiOrLo32OrY.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + t1.__Register64__lo32_A = t2; + } + return t1; + }, + 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; + }, + 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; + }, + CipherParameters: function CipherParameters() { + }, + Pbkdf2Parameters: function Pbkdf2Parameters(t0, t1, t2) { + this.salt = t0; + this.iterationCount = t1; + this.desiredKeyLength = t2; + }, + BaseKeyDerivator: function BaseKeyDerivator() { + }, + KeyParameter: function KeyParameter(t0) { + this.__KeyParameter_key_A = t0; + }, + PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { + this.__PBKDF2KeyDerivator__params_A = $; + this._encryption$_mac = t0; + this.__PBKDF2KeyDerivator__state_A = $; + }, + BaseMac: function BaseMac() { + }, + BaseDigest: function BaseDigest() { + }, + Register64: function Register64() { + this.__Register64__lo32_A = this.__Register64__hi32_A = $; + }, + MD4FamilyDigest: function MD4FamilyDigest() { + }, + SHA1Digest: function SHA1Digest(t0, t1, t2, t3, t4, t5) { + var _ = this; + _._byteCount = t0; + _._wordBuffer = t1; + _.__MD4FamilyDigest__wordBufferOffset_A = $; + _._endian = t2; + _._packedStateSize = t3; + _.state = t4; + _.buffer = t5; + _.__MD4FamilyDigest_bufferOffset_A = $; + }, + HMac: function HMac(t0, t1) { + var _ = this; + _._digest = t0; + _.__HMac__digestSize_A = $; + _.__HMac__blockLength_A = t1; + _.__HMac__outputBuf_A = _.__HMac__inputPad_A = $; + }, + BaseBlockCipher: function BaseBlockCipher() { + }, + AESEngine: function AESEngine(t0) { + var _ = this; + _._rounds = 0; + _.__AESEngine__workingKey_A = $; + _._forEncryption = false; + _._s = 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 + if (type$.TypedData._is(data)) + t1 = A.NativeUint8List_NativeUint8List$view(data.buffer, data.byteOffset, data.byteLength); + 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 = A._asInt($length == null ? J.get$length$asx(t1) : $length); + t2.__InputStream__length_A = $length == null ? t1.length : $length; return t2; }, InputStreamBase: function InputStreamBase() { @@ -9421,13 +10192,13 @@ var t1; if (dist < 256) { if (!(dist >= 0)) - return A.ioore(B.List_AyI, dist); - t1 = B.List_AyI[dist]; + return A.ioore(B.List_0QU, dist); + t1 = B.List_0QU[dist]; } else { t1 = 256 + A._rshift(dist, 7); if (!(t1 < 512)) - return A.ioore(B.List_AyI, t1); - t1 = B.List_AyI[t1]; + return A.ioore(B.List_0QU, t1); + t1 = B.List_0QU[t1]; } return t1; }, @@ -9490,8 +10261,8 @@ this.minCodeLength = 2147483647; }, Inflate$(bytes) { - var t1 = A.HuffmanTable$(B.List_2Bc), - t2 = A.HuffmanTable$(B.List_X3d1); + var t1 = A.HuffmanTable$(B.List_s8I), + t2 = A.HuffmanTable$(B.List_lnn1); t2 = new A.Inflate(A.InputStream$(bytes, 0, null, 0), A.OutputStream$(null), t1, t2); t2.inputSet = true; t2._inflate$0(); @@ -9849,31 +10620,32 @@ 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, A.getRuntimeType($.$get$_BigIntImpl_zero())], t1))); - t2.add$1(0, new A.BoolSerializer(A.BuiltList_BuiltList$from([B.Type_bool_lhE], t1))); + t2.add$1(0, new A.BigIntSerializer(A.BuiltList_BuiltList$from([B.Type_BigInt_C3o, A.getRuntimeTypeOfDartObject($.$get$_BigIntImpl_zero())], t1))); + t2.add$1(0, new A.BoolSerializer(A.BuiltList_BuiltList$from([B.Type_bool_RoS], 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.BuiltListSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltList_27p, A.getRuntimeTypeOfDartObject(A.BuiltList_BuiltList$from(B.List_empty, t3))], t1))); + t2.add$1(0, new A.BuiltListMultimapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltListMultimap_apl, A.getRuntimeTypeOfDartObject(A.BuiltListMultimap_BuiltListMultimap(t3, t3))], t1))); + t2.add$1(0, new A.BuiltMapSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltMap_MUU, A.getRuntimeTypeOfDartObject(A.BuiltMap_BuiltMap(B.Map_empty, t3, t3))], t1))); + t2.add$1(0, new A.BuiltSetSerializer(A.BuiltList_BuiltList$from([B.Type_BuiltSet_MMh, A.getRuntimeTypeOfDartObject(A.BuiltSet_BuiltSet$from(B.List_empty, t3))], t1))); + t2.add$1(0, new A.BuiltSetMultimapSerializer(A.BuiltSet_BuiltSet$from([B.Type_BuiltSetMultimap_Xbt], t1))); + t2.add$1(0, new A.DateTimeSerializer(A.BuiltList_BuiltList$from([B.Type_DateTime_H1G], t1))); + t2.add$1(0, new A.DoubleSerializer(A.BuiltList_BuiltList$from([B.Type_double_23F], t1))); + t2.add$1(0, new A.DurationSerializer(A.BuiltList_BuiltList$from([B.Type_Duration_86y], t1))); + t2.add$1(0, new A.IntSerializer(A.BuiltList_BuiltList$from([B.Type_int_8nG], t1))); + t2.add$1(0, new A.Int32Serializer(A.BuiltList_BuiltList$from([B.Type_Int32_kyU], t1))); + t2.add$1(0, new A.Int64Serializer(A.BuiltList_BuiltList$from([B.Type_Int64_chs], t1))); + t2.add$1(0, new A.JsonObjectSerializer(A.BuiltList_BuiltList$from([B.Type_JsonObject_aJ0, B.Type_BoolJsonObject_Ocu, B.Type_ListJsonObject_l4J, B.Type_MapJsonObject_OYg, B.Type_NumJsonObject_u6D, B.Type_StringJsonObject_wcs], t1))); + t2.add$1(0, new A.NullSerializer(A.BuiltList_BuiltList$from([B.Type_Null_a9w], t1))); + t2.add$1(0, new A.NumSerializer(A.BuiltList_BuiltList$from([B.Type_num_EOZ], t1))); + t2.add$1(0, new A.RegExpSerializer(A.BuiltList_BuiltList$from([B.Type_RegExp_NMc, $.$get$_runtimeType()], t1))); + t2.add$1(0, new A.StringSerializer(A.BuiltList_BuiltList$from([B.Type_String_J2O], 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()); + t2.add$1(0, new A.UriSerializer(A.BuiltList_BuiltList$from([B.Type_Uri_aPa, A.getRuntimeTypeOfDartObject(A.Uri_parse("http://example.com")), A.getRuntimeTypeOfDartObject(A.Uri_parse("http://example.com:"))], t1))); + t2.addBuilderFactory$2(B.FullType_cgN, new A.Serializers_Serializers_closure()); + t2.addBuilderFactory$2(B.FullType_ow7, new A.Serializers_Serializers_closure0()); + t2.addBuilderFactory$2(B.FullType_wbi, new A.Serializers_Serializers_closure1()); + t2.addBuilderFactory$2(B.FullType_4aQ, new A.Serializers_Serializers_closure2()); + t2.addBuilderFactory$2(B.FullType_2pj, new A.Serializers_Serializers_closure3()); return t2.build$0(); }, FullType__getRawName(type) { @@ -9884,7 +10656,9 @@ 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); + if (t1 > 80) + B.JSString_methods.replaceRange$3(limitedJson, 77, t1, "..."); + return new A.DeserializationError(type, error); }, Serializers_Serializers_closure: function Serializers_Serializers_closure() { }, @@ -9901,10 +10675,9 @@ this.parameters = t1; this.nullable = t2; }, - DeserializationError: function DeserializationError(t0, t1, t2) { - this.json = t0; - this.type = t1; - this.error = t2; + DeserializationError: function DeserializationError(t0, t1) { + this.type = t0; + this.error = t1; }, BigIntSerializer: function BigIntSerializer(t0) { this.types = t0; @@ -9917,6 +10690,10 @@ genericsStart = B.JSString_methods.indexOf$1($name, "<"); return genericsStart === -1 ? $name : B.JSString_methods.substring$2($name, 0, genericsStart); }, + _noSerializerMessageFor(typeName) { + var maybeRecordAdvice = B.JSString_methods.contains$1(typeName, "(") ? " Note that record types are not automatically serializable, please write and install your own `Serializer`." : ""; + return "No serializer for '" + typeName + "'." + maybeRecordAdvice; + }, BuiltJsonSerializers: function BuiltJsonSerializers(t0, t1, t2, t3, t4) { var _ = this; _._typeToSerializer = t0; @@ -9989,6 +10766,9 @@ DurationSerializer: function DurationSerializer(t0) { this.types = t0; }, + Int32Serializer: function Int32Serializer(t0) { + this.types = t0; + }, Int64Serializer: function Int64Serializer(t0) { this.types = t0; }, @@ -10015,7 +10795,8 @@ UriSerializer: function UriSerializer(t0) { this.types = t0; }, - StandardJsonPlugin: function StandardJsonPlugin() { + StandardJsonPlugin: function StandardJsonPlugin(t0) { + this.typesToLeaveAsList = t0; }, StandardJsonPlugin__toList_closure: function StandardJsonPlugin__toList_closure() { }, @@ -10041,9 +10822,6 @@ 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; @@ -10110,9 +10888,9 @@ }, RgbColor_RgbColor$name($name) { var t1; - if (!B.Map_ACwDL.containsKey$1(0, $name)) + if (!B.Map_Aka5W.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 = B.Map_Aka5W.$index(0, $name); t1.toString; return t1; }, @@ -10193,9 +10971,9 @@ Draggable_onDragEnd_closure: function Draggable_onDragEnd_closure(t0) { this.$this = t0; }, - Draggable__suppressClickEvent_closure: function Draggable__suppressClickEvent_closure() { + Draggable__suppressClickEvent_closure0: function Draggable__suppressClickEvent_closure0() { }, - Draggable__suppressClickEvent_closure0: function Draggable__suppressClickEvent_closure0(t0) { + Draggable__suppressClickEvent_closure: function Draggable__suppressClickEvent_closure(t0) { this.clickPreventer = t0; }, Draggable_destroy_closure: function Draggable_destroy_closure() { @@ -10288,20 +11066,18 @@ _PointerManager_installCancel_closure: function _PointerManager_installCancel_closure(t0) { this.$this = t0; }, + Int32: function Int32(t0) { + this._i = t0; + }, 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; + var d0, d1, d2, digit, d00, d10, + negative = B.JSString_methods.startsWith$1(s, "-"), + i = negative ? 1 : 0, + 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)); + digit = A.decodeDigit(s.charCodeAt(i)); if (digit < radix) { d0 = d0 * radix + digit; d00 = d0 & 4194303; @@ -10316,12 +11092,10 @@ return new A.Int64(d0 & 4194303, d1 & 4194303, d2 & 1048575); }, Int64_Int64(value) { - var negative, v2, v1, t1, t2, t3; - if (value < 0) { + var v2, v1, t1, t2, t3, + negative = value < 0; + if (negative) 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); @@ -10335,6 +11109,8 @@ return value; else if (A._isInt(value)) return A.Int64_Int64(value); + else if (value instanceof A.Int32) + return A.Int64_Int64(value._i); throw A.wrapException(A.ArgumentError$value(value, "other", "not an int, Int32 or Int64")); }, Int64__toRadixStringUnsigned(radix, d0, d1, d2, sign) { @@ -10347,8 +11123,8 @@ d1 = d0 >>> 10 & 1023; d0 &= 1023; if (!(radix < 37)) - return A.ioore(B.List_WrN, radix); - fatRadix = B.List_WrN[radix]; + return A.ioore(B.List_BZW, radix); + fatRadix = B.List_BZW[radix]; chunk1 = ""; chunk2 = ""; chunk3 = ""; @@ -10429,19 +11205,14 @@ r1 = diff1 & 4194303; r2 = a2 - B.JSNumber_methods.toInt$0(q2d * b0 + q1d * b1 + q0d * b2 + p1carry) - (B.JSInt_methods._shrOtherPositive$1(diff1, 22) & 1) & 1048575; while (true) { + t1 = true; if (r2 < 524288) if (r2 <= b2) - if (r2 === b2) + if (r2 === b2) { if (r1 <= b1) t1 = r1 === b1 && r0 >= b0; - else - t1 = true; - else + } else t1 = false; - else - t1 = true; - else - t1 = true; if (!t1) break; m = (r2 & 524288) === 0 ? 1 : -1; @@ -10486,7 +11257,7 @@ _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; + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], t1, client; var $async$_withClient = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; @@ -10496,8 +11267,7 @@ switch ($async$goto) { case 0: // Function start - client0 = new A.BrowserClient(A.LinkedHashSet_LinkedHashSet$_empty(type$.HttpRequest)); - client = client0; + client = new A.BrowserClient(A.LinkedHashSet_LinkedHashSet$_empty(type$.JSObject)); $async$handler = 3; $async$goto = 6; return A._asyncAwait(fn.call$1(client), $async$_withClient); @@ -10552,6 +11322,28 @@ }, BaseResponse: function BaseResponse() { }, + _extension_0_get_responseHeaders(_this) { + var _i, header, t2, splitIdx, key, value, + t1 = type$.String, + headers = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), + headersList = A._asString(_this.getAllResponseHeaders()).split("\r\n"); + for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { + header = headersList[_i]; + 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; + }, BrowserClient: function BrowserClient(t0) { this._xhrs = t0; this._isClosed = false; @@ -10572,18 +11364,19 @@ this.completer = t0; }, ClientException$(message, uri) { - return new A.ClientException(message); + return new A.ClientException(message, uri); }, - ClientException: function ClientException(t0) { + ClientException: function ClientException(t0, t1) { this.message = t0; + this.uri = t1; }, Request$(method, url) { var t1 = new Uint8Array(0), - t2 = $.$get$BaseRequest__tokenRE()._nativeRegExp; - if (!t2.test(method)) + t2 = $.$get$BaseRequest__tokenRE(); + if (!t2._nativeRegExp.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)); + return new A.Request(B.C_Utf8Codec, t1, method, url, A.LinkedHashMap_LinkedHashMap(new A.BaseRequest_closure(), new A.BaseRequest_closure0(), t2, t2)); }, Request: function Request(t0, t1, t2, t3, t4) { var _ = this; @@ -10595,9 +11388,6 @@ _._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; @@ -10618,7 +11408,7 @@ t3 = response.headers; t4 = response.reasonPhrase; t5 = A.toUint8List(body); - t6 = J.get$length$asx(body); + t6 = body.length; 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; @@ -10649,7 +11439,9 @@ _.isRedirect = t6; _.persistentConnection = t7; }, - StreamedResponse: function StreamedResponse(t0, t1, t2, t3, t4, t5, t6, t7) { + StreamedResponse: function StreamedResponse() { + }, + StreamedResponseV2: function StreamedResponseV2(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.stream = t0; _.request = t1; @@ -10660,24 +11452,25 @@ _.isRedirect = t6; _.persistentConnection = t7; }, - 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; + CaseInsensitiveMap__canonicalizer(key) { + return A._asString(key).toLowerCase(); }, CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2) { this._canonicalize = t0; this._canonicalized_map$_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$.String; - t1 = parameters == null ? A.LinkedHashMap_LinkedHashMap$_empty(t1, t1) : A.CaseInsensitiveMap$from(parameters, t1); + if (parameters == null) + t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + else { + t1 = new A.CaseInsensitiveMap(A.case_insensitive_map_CaseInsensitiveMap__canonicalizer$closure(), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MapEntry_String_String), type$.CaseInsensitiveMap_String); + t1.addAll$1(0, parameters); + } return new A.MediaType(type.toLowerCase(), subtype.toLowerCase(), new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_String)); }, MediaType: function MediaType(t0, t1, t2) { @@ -10697,7 +11490,7 @@ 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), type$.Pattern._as($.$get$_quotedPair()), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(new A.expectQuotedString_closure())), type$.nullable_String_Function_String._as(null)); + 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())), null); }, expectQuotedString_closure: function expectQuotedString_closure() { }, @@ -10723,7 +11516,6 @@ _._level = null; _._children = t2; _.children = t3; - _._controller = null; }, Logger_Logger_closure: function Logger_Logger_closure(t0) { this.name = t0; @@ -10961,7 +11753,7 @@ }, GeneratedClass: function GeneratedClass() { }, - UiProps0: function UiProps0() { + UiProps: function UiProps() { }, UiState: function UiState() { }, @@ -10974,7 +11766,7 @@ }, UiState0: function UiState0() { }, - UiProps: function UiProps() { + UiProps0: function UiProps0() { }, UiProps_call_closure: function UiProps_call_closure() { }, @@ -10984,16 +11776,10 @@ }, MapViewMixin: function MapViewMixin() { }, - PropDescriptor: function PropDescriptor(t0, t1, t2, t3) { - var _ = this; - _.key = t0; - _.isRequired = t1; - _.isNullable = t2; - _.isLate = t3; + PropDescriptor: function PropDescriptor() { }, - PropsMeta: function PropsMeta(t0, t1) { - this.fields = t0; - this.keys = t1; + PropsMeta: function PropsMeta(t0) { + this.keys = t0; }, _AccessorMetaCollection: function _AccessorMetaCollection() { }, @@ -11018,15 +11804,12 @@ _UiState_Object_MapViewMixin_StateMapViewMixin: function _UiState_Object_MapViewMixin_StateMapViewMixin() { }, 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(); - A._instanceType(t1)._eval$1("1?")._as(reactComponentFactory); - t1._jsWeakMap.set(builderFactory, reactComponentFactory); - t1 = $.$get$_typeAliasToFactory(); - A._instanceType(t1)._eval$1("1?")._as(reactComponentFactory); - t1._jsWeakMap.set(componentClass, reactComponentFactory); + var t1, + reactComponentFactory = $.$get$registerComponent2().call$3$bridgeFactory$skipMethods(dartComponentFactory, A.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 A.ComponentTypeMeta(isWrapper); + t1._componentTypeMeta = new A.ComponentTypeMeta(); return reactComponentFactory; }, UiComponent2BridgeImpl_bridgeFactory(component) { @@ -11050,13 +11833,17 @@ _UiStatefulComponent2_UiComponent2_UiStatefulMixin2: function _UiStatefulComponent2_UiComponent2_UiStatefulMixin2() { }, enforceMinimumComponentVersionFor(component) { + var t1, + _s173_ = " The UiFactory provided should not be for a UiComponent or Component.\n \n Instead, use a different factory (such as UiComponent2 or Component2).\n "; 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)); + if (J.$eq$(J.get$dartComponentVersion$x(component.get$type(component)), "1")) { + t1 = A.RegExp_RegExp("^( *)", true).firstMatch$1(_s173_).group$1(1); + t1.toString; + throw A.wrapException(A.ArgumentError$(B.JSString_methods.replaceAll$2(B.JSString_methods.trim$0(_s173_), "\n" + t1, "\n"), null)); + } }, - ComponentTypeMeta: function ComponentTypeMeta(t0) { - this.isWrapper = t0; + ComponentTypeMeta: function ComponentTypeMeta() { }, DisposableManagerProxy: function DisposableManagerProxy() { }, @@ -11343,20 +12130,19 @@ this.$ti = t1; }, DartValueWrapper_wrapIfNeeded0(value) { - var t2, t3, + var t2, t1 = type$.Function; if (t1._is(value) && A.allowInterop(value, t1) !== value) { t1 = $.$get$DartValueWrapper__functionWrapperCache(); type$.Object._as(value); A.Expando__checkType(value); - t2 = t1._jsWeakMap; - t3 = t2.get(value); - if (t3 == null) { - t3 = new A.DartValueWrapper0(value); - t2.set(value, A._instanceType(t1)._eval$1("1?")._as(t3)); - t1 = t3; + t2 = t1._jsWeakMap.get(value); + if (t2 == null) { + t2 = new A.DartValueWrapper0(value); + t1.$indexSet(0, value, t2); + t1 = t2; } else - t1 = t3; + t1 = t2; return t1; } return value; @@ -11387,9 +12173,10 @@ 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"); }, _prettyObj(obj) { - var items, t1, namespacedKeys, otherKeys, pairs, trailingComma; + var t1, items, 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); + t1 = J.map$1$1$ax(obj, A.pretty_print___prettyObj$closure(), type$.String); + items = A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); 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 @@ -11438,9 +12225,7 @@ WeakMap: function WeakMap() { }, _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")); + return uri; }, _validateArgList(method, args) { var numArgs, i, numArgs0, message, t1, t2, t3, t4; @@ -11477,7 +12262,7 @@ InternalStyle: function InternalStyle() { }, ParsedPath_ParsedPath$parse(path, style) { - var t1, parts, separators, start, i, + var t1, parts, separators, t2, start, i, root = style.getRoot$1(path), isRootRelative = style.isRootRelative$1(path); if (root != null) @@ -11486,7 +12271,13 @@ 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 (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t2 = style.isSeparator$1(path.charCodeAt(0)); + } else + t2 = false; + if (t2) { if (0 >= t1) return A.ioore(path, 0); B.JSArray_methods.add$1(separators, path[0]); @@ -11496,7 +12287,7 @@ start = 0; } for (i = start; i < t1; ++i) - if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) { + if (style.isSeparator$1(path.charCodeAt(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; @@ -11538,7 +12329,10 @@ fragment = A._Uri__makeFragment(_null, 0, 0); port = A._Uri__makePort(_null, ""); if (host == null) - t1 = userInfo.length !== 0 || port != null || false; + if (userInfo.length === 0) + t1 = port != null; + else + t1 = true; else t1 = false; if (t1) @@ -11579,12 +12373,10 @@ this.buffer = t0; this.position = t1; }, - Failure: function Failure(t0, t1, t2, t3) { - var _ = this; - _.message = t0; - _.buffer = t1; - _.position = t2; - _.$ti = t3; + ParserException: function ParserException(t0) { + this.failure = t0; + }, + Parser: function Parser() { }, Result: function Result() { }, @@ -11595,14 +12387,14 @@ _.position = t2; _.$ti = t3; }, - ParserException: function ParserException(t0) { - this.failure = t0; - }, - Parser: function Parser() { + Failure: function Failure(t0, t1, t2) { + this.message = t0; + this.buffer = t1; + this.position = t2; }, 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) { + for (t1 = new A.MatchesIterable(new A.TokenParser($.$get$Token__newlineParser(), type$.TokenParser_String), buffer, 0, false, type$.MatchesIterable_Token_String).get$iterator(0), line = 1, offset = 0; t1.moveNext$0(); offset = offset0) { t2 = t1.__MatchesIterator_current_A; t2 === $ && A.throwLateFieldNI("current"); offset0 = t2.stop; @@ -11654,23 +12446,27 @@ this.delegate = t1; this.$ti = t2; }, - MapParserExtension_map(_this, callback, $R, $S) { - return new A.MapParser(callback, _this, $R._eval$1("@<0>")._bind$1($S)._eval$1("MapParser<1,2>")); + MapParserExtension_map(_this, callback, hasSideEffects, $R, $S) { + return new A.MapParser(callback, false, _this, $R._eval$1("@<0>")._bind$1($S)._eval$1("MapParser<1,2>")); }, - MapParser: function MapParser(t0, t1, t2) { - this.callback = t0; - this.delegate = t1; - this.$ti = t2; + MapParser: function MapParser(t0, t1, t2, t3) { + var _ = this; + _.callback = t0; + _.hasSideEffects = t1; + _.delegate = t2; + _.$ti = t3; }, TokenParser: function TokenParser(t0, t1) { this.delegate = t0; this.$ti = t1; }, 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'); + var t1; + if (0 >= char.length) + return A.ioore(char, 0); + t1 = type$.CodeUnits; + t1 = new A.MappedListIterable(new A.CodeUnits(char), t1._eval$1("String(ListBase.E)")._as(A.code___toFormattedChar$closure()), t1._eval$1("MappedListIterable")).join$0(0); + return new A.SingleCharacterParser(new A.SingleCharPredicate(char.charCodeAt(0)), '"' + t1 + '" expected'); }, SingleCharPredicate: function SingleCharPredicate(t0) { this.value = t0; @@ -11688,7 +12484,7 @@ }, optimizedRanges(ranges) { var mergedRanges, t1, _i, thisRange, lastRange, t2, matchingCount, t3, - sortedRanges = A.List_List$of(ranges, false, type$.RangeCharPredicate); + sortedRanges = A.List_List$of(type$.Iterable_RangeCharPredicate._as(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) { @@ -11737,7 +12533,7 @@ 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"; + t2 = "[" + new A.MappedListIterable(new A.CodeUnits(element), t2._eval$1("String(ListBase.E)")._as(A.code___toFormattedChar$closure()), t2._eval$1("MappedListIterable")).join$0(0) + "] expected"; } else t2 = message; return new A.SingleCharacterParser(t1, t2); @@ -11746,8 +12542,6 @@ }, _range_closure: function _range_closure() { }, - _sequence_closure: function _sequence_closure() { - }, _pattern_closure: function _pattern_closure() { }, CharacterPredicate: function CharacterPredicate() { @@ -11759,10 +12553,11 @@ WhitespaceCharPredicate: function WhitespaceCharPredicate() { }, ChoiceIterableExtension_toChoiceParser(_this, failureJoiner, $R) { - return A.ChoiceParser$(_this, failureJoiner, $R); + var t1 = failureJoiner == null ? A.failure_joiner__selectLast$closure() : failureJoiner; + return new A.ChoiceParser(t1, A.List_List$of(_this, false, $R._eval$1("Parser<0>")), $R._eval$1("ChoiceParser<0>")); }, ChoiceParser$(children, failureJoiner, $R) { - var t1 = failureJoiner == null ? A.instantiate1(A.failure_joiner__selectLast$closure(), $R) : failureJoiner; + var t1 = failureJoiner == null ? A.failure_joiner__selectLast$closure() : failureJoiner; return new A.ChoiceParser(t1, A.List_List$of(children, false, $R._eval$1("Parser<0>")), $R._eval$1("ChoiceParser<0>")); }, ChoiceParser: function ChoiceParser(t0, t1, t2) { @@ -11775,20 +12570,18 @@ seq2(parser1, parser2, R1, R2) { return new A.SequenceParser2(parser1, parser2, R1._eval$1("@<0>")._bind$1(R2)._eval$1("SequenceParser2<1,2>")); }, - 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); + SequenceParser2$(parser1, parser2, R1, R2) { + return new A.SequenceParser2(parser1, parser2, R1._eval$1("@<0>")._bind$1(R2)._eval$1("SequenceParser2<1,2>")); + }, + RecordParserExtension2_map2(_this, callback, T1, T2, $R) { + return A.MapParserExtension_map(_this, new A.RecordParserExtension2_map2_closure(callback, T1, T2, $R), false, T1._eval$1("@<0>")._bind$1(T2)._eval$1("+(1,2)"), $R); }, SequenceParser2: function SequenceParser2(t0, t1, t2) { this.parser1 = t0; this.parser2 = t1; this.$ti = t2; }, - Sequence2: function Sequence2(t0, t1, t2) { - this.first = t0; - this.second = t1; - this.$ti = t2; - }, - ParserSequenceExtension2_map2_closure: function ParserSequenceExtension2_map2_closure(t0, t1, t2, t3) { + RecordParserExtension2_map2_closure: function RecordParserExtension2_map2_closure(t0, t1, t2, t3) { var _ = this; _.callback = t0; _.T1 = t1; @@ -11798,8 +12591,11 @@ 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>")); }, - 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); + SequenceParser3$(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>")); + }, + RecordParserExtension3_map3(_this, callback, T1, T2, T3, $R) { + return A.MapParserExtension_map(_this, new A.RecordParserExtension3_map3_closure(callback, T1, T2, T3, $R), false, T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._eval$1("+(1,2,3)"), $R); }, SequenceParser3: function SequenceParser3(t0, t1, t2, t3) { var _ = this; @@ -11808,14 +12604,7 @@ _.parser3 = t2; _.$ti = t3; }, - Sequence3: function Sequence3(t0, t1, t2, t3) { - var _ = this; - _.first = t0; - _.second = t1; - _.third = t2; - _.$ti = t3; - }, - ParserSequenceExtension3_map3_closure: function ParserSequenceExtension3_map3_closure(t0, t1, t2, t3, t4) { + RecordParserExtension3_map3_closure: function RecordParserExtension3_map3_closure(t0, t1, t2, t3, t4) { var _ = this; _.callback = t0; _.T1 = t1; @@ -11826,8 +12615,8 @@ 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>")); }, - 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); + RecordParserExtension4_map4(_this, callback, T1, T2, T3, T4, $R) { + return A.MapParserExtension_map(_this, new A.RecordParserExtension4_map4_closure(callback, T1, T2, T3, T4, $R), false, T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._bind$1(T4)._eval$1("+(1,2,3,4)"), $R); }, SequenceParser4: function SequenceParser4(t0, t1, t2, t3, t4) { var _ = this; @@ -11837,15 +12626,7 @@ _.parser4 = t3; _.$ti = t4; }, - Sequence4: function Sequence4(t0, t1, t2, t3, t4) { - var _ = this; - _.first = t0; - _.second = t1; - _.third = t2; - _.fourth = t3; - _.$ti = t4; - }, - ParserSequenceExtension4_map4_closure: function ParserSequenceExtension4_map4_closure(t0, t1, t2, t3, t4, t5) { + RecordParserExtension4_map4_closure: function RecordParserExtension4_map4_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.callback = t0; _.T1 = t1; @@ -11857,8 +12638,8 @@ 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>")); }, - 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); + RecordParserExtension5_map5(_this, callback, T1, T2, T3, T4, T5, $R) { + return A.MapParserExtension_map(_this, new A.RecordParserExtension5_map5_closure(callback, T1, T2, T3, T4, T5, $R), false, T1._eval$1("@<0>")._bind$1(T2)._bind$1(T3)._bind$1(T4)._bind$1(T5)._eval$1("+(1,2,3,4,5)"), $R); }, SequenceParser5: function SequenceParser5(t0, t1, t2, t3, t4, t5) { var _ = this; @@ -11869,16 +12650,7 @@ _.parser5 = t4; _.$ti = t5; }, - Sequence5: function Sequence5(t0, t1, t2, t3, t4, t5) { - var _ = this; - _.first = t0; - _.second = t1; - _.third = t2; - _.fourth = t3; - _.fifth = t4; - _.$ti = t5; - }, - ParserSequenceExtension5_map5_closure: function ParserSequenceExtension5_map5_closure(t0, t1, t2, t3, t4, t5, t6) { + RecordParserExtension5_map5_closure: function RecordParserExtension5_map5_closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.callback = t0; _.T1 = t1; @@ -11888,8 +12660,8 @@ _.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); + RecordParserExtension8_map8(_this, callback, T1, T2, T3, T4, T5, T6, T7, T8, $R) { + return A.MapParserExtension_map(_this, new A.RecordParserExtension8_map8_closure(callback, T1, T2, T3, T4, T5, T6, T7, T8, $R), false, 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("+(1,2,3,4,5,6,7,8)"), $R); }, SequenceParser8: function SequenceParser8(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; @@ -11903,19 +12675,7 @@ _.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) { + RecordParserExtension8_map8_closure: function RecordParserExtension8_map8_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.callback = t0; _.T1 = t1; @@ -12064,8 +12824,10 @@ return t1; }, _InternetExplorer__isInternetExplorer($navigator) { - var t1 = window.navigator.appName; + var t2, + t1 = window.navigator.appName; t1.toString; + t2 = true; if (!B.JSString_methods.contains$1(t1, "Microsoft")) { t1 = window.navigator.appVersion; t1.toString; @@ -12074,9 +12836,9 @@ t1.toString; t1 = B.JSString_methods.contains$1(t1, "Edge"); } else - t1 = true; + t1 = t2; } else - t1 = true; + t1 = t2; return t1; }, Browser: function Browser(t0, t1) { @@ -12150,103 +12912,6 @@ }, chrome_closure: function chrome_closure() { }, - CipherParameters: function CipherParameters() { - }, - KeyParameter: function KeyParameter(t0) { - this.__KeyParameter_key_A = t0; - }, - 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; - }, - 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; - _._byteCount = t0; - _._wordBuffer = t1; - _.__MD4FamilyDigest__wordBufferOffset_A = $; - _._endian = t2; - _._packedStateSize = t3; - _.state = t4; - _.buffer = t5; - _.__MD4FamilyDigest_bufferOffset_A = $; - }, - Pbkdf2Parameters: function Pbkdf2Parameters(t0, t1, t2) { - this.salt = t0; - this.iterationCount = t1; - this.desiredKeyLength = t2; - }, - PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { - this.__PBKDF2KeyDerivator__params_A = $; - this._pbkdf2$_mac = t0; - this.__PBKDF2KeyDerivator__state_A = $; - }, - 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; - }, - HMac: function HMac(t0, t1) { - var _ = this; - _._digest = t0; - _.__HMac__digestSize_A = $; - _.__HMac__blockLength_A = t1; - _.__HMac__outputBuf_A = _.__HMac__inputPad_A = $; - }, - BaseBlockCipher: function BaseBlockCipher() { - }, - BaseDigest: function BaseDigest() { - }, - BaseKeyDerivator: function BaseKeyDerivator() { - }, - BaseMac: function BaseMac() { - }, - MD4FamilyDigest: function MD4FamilyDigest() { - }, - NodeCrypto: function NodeCrypto() { - }, - shiftl32(x, n) { - n &= 31; - return (x & $._MASK32_HI_BITS[n]) << n >>> 0; - }, - rotr32(x, n) { - n &= 31; - return (B.JSInt_methods._shrOtherPositive$1(x, n) | A.shiftl32(x, 32 - n)) >>> 0; - }, - 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); - }, - 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); - }, - Register64$(hiOrLo32OrY) { - var t1 = new A.Register64(); - t1.$set$2(0, hiOrLo32OrY, null); - return t1; - }, - Register64: function Register64() { - this.__Register64__lo32_A = this.__Register64__hi32_A = $; - }, Version_Version(major, minor, patch, build) { var t2, t3, text = "" + major + "." + minor + "." + patch, @@ -12280,14 +12945,14 @@ Version__splitParts_closure: function Version__splitParts_closure() { }, zip(iterables, $T) { - return A.zip$body(iterables, $T, $T._eval$1("List<0>")); + return new A._SyncStarIterable(A.zip$body(iterables, $T), $T._eval$1("_SyncStarIterable>")); }, - zip$body($async$iterables, $async$$T, $async$type) { - return A._makeSyncStarIterable(function() { + zip$body($async$iterables, $async$$T) { + return 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) { + return function $async$zip($async$iterator, $async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; $async$goto = $async$handler; @@ -12309,7 +12974,7 @@ break; } $async$goto = 4; - return A.List_List$of(new A.MappedListIterable(iterators, t2._as(new A.zip_closure1($T)), t1), false, t3); + return $async$iterator._async$_current = A.List_List$of(new A.MappedListIterable(iterators, t2._as(new A.zip_closure1($T)), t1), false, t3), 1; case 4: // after yield // goto for condition @@ -12318,13 +12983,13 @@ case 3: // after for // implicit return - return A._IterationMarker_endOfIteration(); + return 0; case 1: // rethrow - return A._IterationMarker_uncaughtError($async$currentError); + return $async$iterator._datum = $async$currentError, 3; } }; - }, $async$type); + }; }, zip_closure: function zip_closure(t0) { this.T = t0; @@ -12445,7 +13110,7 @@ return A._convertDataTree(object); }, _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); + return new A._convertDataTree__convert(A.LinkedHashMap_LinkedHashMap(A.core__identical$closure(), A.js_interop_helpers___jsObjectFriendlyIdentityHashCode$closure(), type$.Object, type$.dynamic)).call$1(data); }, _convertDataTree__convert: function _convertDataTree__convert(t0) { this._convertedObjects = t0; @@ -12483,7 +13148,7 @@ }, _findDomNode(component) { var t1; - if (type$.Component._is(component)) { + if (component instanceof A.Component2) { t1 = component.__Component2_jsThis_A; t1 === $ && A.throwLateFieldNI("jsThis"); } else @@ -12707,7 +13372,7 @@ try { self.React.isValidElement(null); self.ReactDOM.findDOMNode(null); - A.registerComponent20(new A.validateJsApi_closure(), null, B.List_Zyt); + A.registerComponent20(new A.validateJsApi_closure(), null, B.List_8Gl); $._isJsApiValid = true; } catch (exception) { if (type$.NoSuchMethodError._is(A.unwrapException(exception))) @@ -12765,7 +13430,7 @@ }, SyntheticWheelEvent: function SyntheticWheelEvent() { }, - Store$(reducer, initialState, middleware, syncStream, State) { + Store$(reducer, initialState, middleware, 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)); @@ -13031,12 +13696,15 @@ return t1._build$0(); }, HelixAdd_HelixAdd(grid_position, position) { + var t1; 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")); + else { + t1 = A.AssertionError$("cannot have both grid_position and position null in HelixAdd"); + throw A.wrapException(t1); + } }, HelixRemove_HelixRemove(helix_idx) { var t1 = new A.HelixRemoveBuilder(); @@ -13300,11 +13968,9 @@ 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) { @@ -13312,7 +13978,6 @@ return new A._$ExportCadnanoFile(whitespace); }, _$MouseoverDataClear__$MouseoverDataClear() { - type$.nullable_void_Function_MouseoverDataClearBuilder._as(null); return new A.MouseoverDataClearBuilder()._build$0(); }, _$MouseoverDataUpdate$_(mouseover_params) { @@ -13350,7 +14015,6 @@ return new A._$MousePositionSideUpdate(svg_pos); }, _$MousePositionSideClear__$MousePositionSideClear() { - type$.nullable_void_Function_MousePositionSideClearBuilder._as(null); return new A.MousePositionSideClearBuilder()._build$0(); }, _$GeometrySet$_(geometry) { @@ -13502,7 +14166,6 @@ 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) { @@ -13524,7 +14187,6 @@ 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) { @@ -13543,7 +14205,6 @@ 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) { @@ -13563,7 +14224,6 @@ 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) { @@ -13632,7 +14292,6 @@ 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) { @@ -13745,7 +14404,6 @@ return new A._$DialogShow(dialog); }, _$DialogHide__$DialogHide() { - type$.nullable_void_Function_DialogHideBuilder._as(null); return new A.DialogHideBuilder()._build$0(); }, _$ContextMenuShow$_(context_menu) { @@ -13753,7 +14411,6 @@ return new A._$ContextMenuShow(context_menu); }, _$ContextMenuHide__$ContextMenuHide() { - type$.nullable_void_Function_ContextMenuHideBuilder._as(null); return new A.ContextMenuHideBuilder()._build$0(); }, _$StrandOrSubstrandColorPickerShow$_(strand, substrand) { @@ -17251,28 +17908,19 @@ return $.__app._readField$0(); }, setup_undo_redo_keyboard_listeners() { - var t2, - t1 = window; + var t1 = window; t1.toString; - t2 = type$.nullable_void_Function_KeyboardEvent._as(new A.setup_undo_redo_keyboard_listeners_closure()); - type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(t1, "keydown", t2, false, type$.KeyboardEvent); + A._EventStreamSubscription$(t1, "keydown", type$.nullable_void_Function_KeyboardEvent._as(new A.setup_undo_redo_keyboard_listeners_closure()), false, type$.KeyboardEvent); }, setup_save_open_dna_file_keyboard_listeners() { - var t2, - t1 = window; + var t1 = window; t1.toString; - t2 = type$.nullable_void_Function_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$.KeyboardEvent); + A._EventStreamSubscription$(t1, "keydown", type$.nullable_void_Function_KeyboardEvent._as(new A.setup_save_open_dna_file_keyboard_listeners_closure()), false, type$.KeyboardEvent); }, copy_selected_strands_to_clipboard_image_keyboard_listeners() { - var t2, - t1 = window; + var t1 = window; t1.toString; - t2 = type$.nullable_void_Function_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$.KeyboardEvent); + A._EventStreamSubscription$(t1, "keydown", type$.nullable_void_Function_KeyboardEvent._as(new A.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure()), false, type$.KeyboardEvent); }, App: function App(t0, t1, t2, t3, t4, t5, t6) { var _ = this; @@ -17410,13 +18058,15 @@ this.encoder_no_indent = t1; }, check_reflect_strands_legal_middleware(store, action, next) { - var altered_design, e, msg, t1, strands_to_reflect, design, t2, t3, reflected_strands, exception, new_strands, t4, t5, idx_mirrored_strand, idx; + var altered_design, e, msg, t1, strands_to_reflect, design, t2, t3, reflected_strands, exception, new_strands, t4, t5, idx_mirrored_strand, idx, edit_action; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.StrandsReflect && action.strands._list.length !== 0) { + if (action instanceof A._$StrandsReflect && action.strands._list.length !== 0) { t1 = action.strands; strands_to_reflect = new A.CopyOnWriteList(true, t1._list, t1.$ti._eval$1("CopyOnWriteList<1>")); - design = store.get$state(store).get$design(); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + design = t1.get$design(); t1 = design.group_names_of_strands$1(strands_to_reflect)._set; if (t1.get$length(t1) !== 1) { t1 = t1.join$1(0, ", "); @@ -17457,12 +18107,17 @@ 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))); + edit_action = A._$ReplaceStrands$_(A.BuiltMap_BuiltMap$of(new_strands, t1, t2)); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(edit_action); } else next.call$1(action); }, horizontal_reflection_of_strands(design, strands_to_mirror, reverse_polarity) { - var t3, t4, t5, t6, min_offset, max_offset, mirrored_strands, t7, _box_0, t8, t9, i, domain, t10, reflected_deletions, reflected_insertions, t11, t12, is_first, is_last, mirrored_strand, strand, + var t3, t4, t5, t6, min_offset, max_offset, mirrored_strands, t7, _box_0, t8, t9, i, domain, t10, reflected_deletions, reflected_insertions, t11, 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();) { @@ -17511,33 +18166,21 @@ t8 = t1.get$current(t1); t9 = t8.substrands; _box_0.mirrored_substrands = new A.CopyOnWriteList(true, t9._list, t9.$ti._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; + for (i = 0; i < J.get$length$asx(_box_0.mirrored_substrands); ++i) { domain = J.$index$asx(_box_0.mirrored_substrands, i); - if (domain instanceof A.Domain) { + if (domain instanceof A._$Domain) { t9 = domain.start; 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 + if (!(t11 && t6)) + is_first = i === J.get$length$asx(_box_0.mirrored_substrands) - 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 + if (!(t11 && reverse_polarity)) + is_last = i === J.get$length$asx(_box_0.mirrored_substrands) - 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)); @@ -17546,7 +18189,6 @@ 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); @@ -17595,7 +18237,7 @@ return reflected_insertions; }, vertical_reflection_of_strands(group, strands_to_reflect, reverse_polarity) { - var t2, t3, t4, t5, min_order, max_order, mirrored_strands, t6, t7, t8, _box_0, t9, t10, i, domain, helix_idx, reflected_order, reflected_helix_idx, t11, is_first, is_last, t12, mirrored_strand, strand, + var t2, t3, t4, t5, min_order, max_order, mirrored_strands, t6, t7, t8, _box_0, t9, t10, i, domain, helix_idx, reflected_order, reflected_helix_idx, is_first, is_last, t11, t12, 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); @@ -17638,15 +18280,9 @@ t9 = t1.get$current(t1); t10 = t9.substrands; _box_0.mirrored_substrands = new A.CopyOnWriteList(true, t10._list, t10.$ti._eval$1("CopyOnWriteList<1>")); - i = 0; - while (true) { - t10 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t10 !== "number") - return A.iae(t10); - if (!(i < t10)) - break; + for (i = 0; i < J.get$length$asx(_box_0.mirrored_substrands); ++i) { domain = J.$index$asx(_box_0.mirrored_substrands, i); - if (domain instanceof A.Domain) { + if (domain instanceof A._$Domain) { helix_idx = domain.helix; t10 = group.__helices_view_order_inverse; if (t10 == null) { @@ -17660,19 +18296,13 @@ return A.ioore(t7, reflected_order); reflected_helix_idx = t7[reflected_order]; t10 = i === 0; - if (!(t10 && reverse_polarity)) { - t11 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t11 !== "number") - return t11.$sub(); - is_first = i === t11 - 1 && t4; - } else + if (!(t10 && reverse_polarity)) + is_first = i === J.get$length$asx(_box_0.mirrored_substrands) - 1 && t4; + else is_first = true; - if (!(t10 && t4)) { - t10 = J.get$length$asx(_box_0.mirrored_substrands); - if (typeof t10 !== "number") - return t10.$sub(); - is_last = i === t10 - 1 && reverse_polarity; - } else + if (!(t10 && t4)) + is_last = i === J.get$length$asx(_box_0.mirrored_substrands) - 1 && reverse_polarity; + else is_last = true; t10 = _box_0.mirrored_substrands; t11 = t6._as(new A.vertical_reflection_of_strands_closure(reflected_helix_idx, reverse_polarity, domain, is_first, is_last)); @@ -17681,7 +18311,6 @@ t5._as(t11).call$1(t12); J.$indexSet$ax(t10, i, t12._domain$_build$0()); } - ++i; } if (t4) _box_0.mirrored_substrands = A.List_List$of(J.get$reversed$ax(_box_0.mirrored_substrands), true, t8); @@ -17737,8 +18366,10 @@ var t1, selected_ends, moves, t2, lowest_offset, highest_offset, design, strands_affected, _i, t3, t4, t5, geometry; 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; + if (action instanceof A._$DNAEndsMoveStart) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.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); @@ -17747,11 +18378,11 @@ 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); + lowest_offset = A.find_allowable_offset(store.__Store__state_A.get$design(), t2, selected_ends, false); + highest_offset = A.find_allowable_offset(store.__Store__state_A.get$design(), t2, selected_ends, true); B.JSArray_methods.add$1(moves, new A._$DNAEndMove(t2, lowest_offset, highest_offset)); } - design = store.get$state(store).get$design(); + design = store.__Store__state_A.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) { @@ -17792,8 +18423,8 @@ 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 = t3._eval$1("EfficientLengthMappedIterable"); + selected_offsets = A.LinkedHashSet_LinkedHashSet$of(new A.EfficientLengthMappedIterable(t2, t3._eval$1("int(SetBase.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); @@ -17844,9 +18475,8 @@ 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.CONSTANT1); - 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); + closest_unselected_offset = B.JSArray_methods.reduce$1(unselected_end_offsets_to_one_side, highest ? B.CONSTANT0 : B.CONSTANT); + num_selected_offsets_between = 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).get$length(0); return closest_unselected_offset + (highest ? -1 - num_selected_offsets_between : 1 + num_selected_offsets_between); }, find_allowable_offset_closure: function find_allowable_offset_closure() { @@ -17867,19 +18497,21 @@ return J.toString$0$(e); }, 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, cause1, t3, t4, t5, t6, onError, + var strands, filename, blob_type, result, $content, e, stackTrace, cause, msg, strands0, filename0, blob_type0, result0, content0, e0, stackTrace0, cause0, msg0, t1, t2, t3, exception, t4, t5, t6, onError, + _s12_ = "_dispatchers", _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) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (action instanceof A._$ExportCanDoDNA) { strands = null; - t1 = state.get$design().strands; - strands = new A.CopyOnWriteList(true, t1._list, t1.$ti._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); + t2 = t1.get$design().strands; + strands = new A.CopyOnWriteList(true, t2._list, t2.$ti._eval$1("CopyOnWriteList<1>")); + t2 = strands; + t3 = t2.$ti._eval$1("bool(1)")._as(new A.export_dna_sequences_middleware_closure()); + t2._copy_on_write_list$_maybeCopyBeforeWrite$0(); + J.removeWhere$1$ax(t2._copy_on_write_list$_list, t3); filename = "cando_sequences.csv"; blob_type = B.BlobType_0; try { @@ -17889,33 +18521,38 @@ } catch (exception) { e = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); - cause1 = A.get_cause(e); - cause = cause1; + 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().__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)); + t2 = A.ErrorMessageSet_ErrorMessageSet(msg); + t3 = store.__Store__dispatchers_F; + t3 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t3.length) + return A.ioore(t3, 0); + t3[0].call$1(t2); + t2 = $.__app._readField$0(); + t2 = t2.__App_view_F; + t2 === $ && A.throwLateFieldNI("view"); + t2 = t2.__View_design_view_A; + t2 === $ && A.throwLateFieldNI(_s11_); + t2.render$1(0, store.__Store__state_A); } } - if (action instanceof A.ExportDNA) { + 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")); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + strands0 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); } else if (action.exclude_selected_strands) { - t1 = state.get$design().strands; - strands0 = new A.CopyOnWriteList(true, t1._list, t1.$ti._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$design().strands; + strands0 = new A.CopyOnWriteList(true, t2._list, t2.$ti._eval$1("CopyOnWriteList<1>")); + for (t1 = t1.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; + t1 = t1.get$design().strands; strands0 = new A.CopyOnWriteList(true, t1._list, t1.$ti._eval$1("CopyOnWriteList<1>")); } if (!action.include_scaffold) @@ -17933,12 +18570,11 @@ 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>"))); + t1._addListener$1(new A._FutureListener(new A._Future(t3, t2), 2, null, onError, t2._eval$1("_FutureListener<1,1>"))); } else { content0 = A._asString(result0); A.save_file(filename0, content0, null, blob_type0); @@ -17946,22 +18582,27 @@ } catch (exception) { e0 = A.unwrapException(exception); stackTrace0 = A.getTraceFromException(exception); - cause = A.get_cause(e0); - cause0 = cause; + 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().__App_view_F; + t1 = A.ErrorMessageSet_ErrorMessageSet(msg0); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); + 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)); + t1.render$1(0, store.__Store__state_A); } } }, export_dna() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, t3, t4, export_options, sort_options, items, results, t5, t6, t7, t8, column_major_strand, strand_order, format, t1, t2; + $async$returnValue, sort_options, items, results, t5, t6, t7, t8, column_major_strand, strand_order, format, t1, t2, t3, t4, export_options; var $async$export_dna = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -17970,34 +18611,32 @@ case 0: // Function start t1 = $.$get$_$values2(); - t2 = t1.$ti._eval$1("String(1)")._as(new A.export_dna_closure()); - t1 = t1._set; - t3 = A._instanceType(t1); - t4 = t3._eval$1("EfficientLengthMappedIterable"); - export_options = A.List_List$of(new A.EfficientLengthMappedIterable(t1, t3._eval$1("String(SetMixin.E)")._as(t2), t4), true, t4._eval$1("Iterable.E")); + 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(SetBase.E)")._as(t1.$ti._eval$1("String(1)")._as(new A.export_dna_closure())), t4), true, t4._eval$1("Iterable.E")); t4 = $.$get$_$values3(); - t2 = t4.$ti._eval$1("String(1)")._as(new A.export_dna_closure0()); - t4 = t4._set; - t3 = A._instanceType(t4); - t1 = t3._eval$1("EfficientLengthMappedIterable"); - sort_options = A.List_List$of(new A.EfficientLengthMappedIterable(t4, t3._eval$1("String(SetMixin.E)")._as(t2), t1), true, t1._eval$1("Iterable.E")); + 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(SetBase.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)); - items._util$_set$2(3, A.DialogRadio_DialogRadio("export format", B.List_69n, export_options, false, 0, "")); + items._util$_set$2(3, A.DialogRadio_DialogRadio("export format", B.List_ECG, 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, 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')); - t1 = type$.JSArray_int; - t2 = type$.int; + items._util$_set$2(9, A.DialogRadio_DialogRadio("strand part to sort by", B.List_2GH, 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; - t4 = A.LinkedHashMap_LinkedHashMap$_literal([1, A._setArrayType([2], t1), 2, A._setArrayType([1], t1)], t2, t3); + 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], t1), 9, A._setArrayType([7], t1)], t2, t3), t4, A.LinkedHashMap_LinkedHashMap$_literal([6, A.LinkedHashMap_LinkedHashMap$_literal([3, A._setArrayType(["CSV (.csv)", "IDT Bulk (.txt)"], type$.JSArray_String)], t2, type$.Iterable_String)], t2, type$.Map_of_int_and_Iterable_String), items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "export DNA sequences", B.DialogType_export_dna_sequences, true)), $async$export_dna); + 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_empty3, 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; @@ -18084,7 +18723,8 @@ 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(B.JSInt_methods.toInt$0(t3.r), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(B.JSInt_methods.toInt$0(t3.g), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(B.JSInt_methods.toInt$0(t3.b), 16), 2, "0")).toUpperCase() + "\n"; + t3 = t5 + "," + t4 + "," + t6 + "," + t7.length + "," + ("#" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(B.JSInt_methods.toInt$0(t3.r), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(B.JSInt_methods.toInt$0(t3.g), 16), 2, "0") + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(B.JSInt_methods.toInt$0(t3.b), 16), 2, "0")).toUpperCase() + "\n"; + buf._contents += t3; } t1 = buf._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; @@ -18131,32 +18771,39 @@ cando_compatible_csv_export_closure: function cando_compatible_csv_export_closure() { }, export_svg_middleware(store, action, next) { - var t1, ui_state, using_png_dna_sequence, t2, selected_elts, elt; + var t1, t2, ui_state, using_png_dna_sequence, 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; + t1 = action instanceof A._$ExportSvg; + if (t1 || action instanceof A._$CopySelectedStandsToClipboardImage) { + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + ui_state = t2.ui_state; using_png_dna_sequence = ui_state.dna_sequence_png_uri != null && !ui_state.is_zoom_above_threshold && ui_state.export_svg_action_delayed_for_png_cache == null && !ui_state.storables.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) { + t2 = action instanceof A._$CopySelectedStandsToClipboardImage; + if ((t2 || J.get$type$x(action) === B.ExportSvgType_0) && using_png_dna_sequence) { + t1 = A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache(type$.nullable_ExportSvg._as(action)); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); + } 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)); + selected_elts = A.get_selected_svg_elements(store.__Store__state_A); if (selected_elts.length === 0) { t2 = window; t2.toString; B.Window_methods.alert$1(t2, "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"); + A._export_from_element(A.get_cloned_svg_element_with_style(selected_elts, store.__Store__state_A.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); + if (store.__Store__state_A.ui_state.storables.export_svg_text_separately) + elt = A.get_cloned_svg_element_with_style(A._setArrayType([t2], type$.JSArray_Element), store.__Store__state_A.ui_state.storables.export_svg_text_separately); else elt = t2; A._export_from_element(elt, "main"); @@ -18168,7 +18815,7 @@ A._export_from_element(t1, "side"); } } else if (t2) { - selected_elts = A.get_selected_svg_elements(store.get$state(store)); + selected_elts = A.get_selected_svg_elements(store.__Store__state_A); if (selected_elts.length !== 0) A.copy_svg_as_png(A.get_cloned_svg_element_with_style(selected_elts, false)); } @@ -18182,10 +18829,14 @@ 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (t2.ui_state.storables.base_pair_display_type !== B.BasePairDisplayType_none) { t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI("store"); - export_bp_if_other_not_selected = t2.get$state(t2).ui_state.storables.export_base_pair_lines_if_other_strand_not_selected; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + export_bp_if_other_not_selected = t2.ui_state.storables.export_base_pair_lines_if_other_strand_not_selected; t2 = type$.BuiltSet_Strand; B.JSArray_methods.addAll$1(selected_elts, A.get_svg_elements_of_base_pairs(t1.storables.show_base_pair_lines_with_mismatches ? state.get$design()._base_pairs$3(true, t2._as(selected_strands), export_bp_if_other_not_selected) : state.get$design()._base_pairs$3(false, t2._as(selected_strands), export_bp_if_other_not_selected))); } @@ -18203,12 +18854,12 @@ t6 = document; t6.toString; t7 = t5.__id; - t7 = t6.getElementById(t7 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t7); + t7 = t6.getElementById(t7 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : 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)); + dna_seq_elt = t6.getElementById("dna-sequence-" + (t8 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : t8)); t8 = t5.__id; - t5 = t8 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t8; + t5 = t8 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : t8; A.checkTypeBound(t3, t3, "T", "querySelectorAll"); t5 = t6.querySelectorAll(".mismatch-" + t5); t5.toString; @@ -18223,13 +18874,13 @@ 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, t1.$ti._precomputed1), t2 = base_pairs._map$_map; t1.moveNext$0();) { + for (t1 = base_pairs.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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>"))); + B.JSArray_methods.addAll$1(elts, new A.MappedListIterable(t5, t6._eval$1("Element(1)")._as(t4.$ti._eval$1("Element(1)")._as(new A.get_svg_elements_of_base_pairs_closure(t3))), t6._eval$1("MappedListIterable<1,Element>"))); } return elts; }, @@ -18496,7 +19147,9 @@ source = A.serialize_svg(t1._as(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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + filename = 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); }, clone_and_apply_style(elt_orig) { @@ -18567,11 +19220,13 @@ this.text_ele = t0; }, forbid_create_circular_strand_no_crossovers_middleware(store, action, next) { - var design, crossover, t1, crossovers_on, t2, t3, t4, strand_id, t5, offset_5p, dna_end, address_end, domain_other; + var t1, design, crossover, crossovers_on, t2, t3, t4, strand_id, t5, offset_5p, dna_end, address_end, domain_other, _s6_ = "_state"; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.ConvertCrossoverToLoopout) { - design = store.get$state(store).get$design(); + if (action instanceof A._$ConvertCrossoverToLoopout) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + design = t1.get$design(); crossover = action.crossover; t1 = design.get$crossover_to_strand()._map$_map.$index(0, crossover); t1.toString; @@ -18581,8 +19236,10 @@ B.Window_methods.alert$1(t1, '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(); + } else if (action instanceof A._$ConvertCrossoversToLoopouts) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + design = t1.get$design(); crossovers_on = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Crossover); for (t1 = action.crossovers._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t3 = type$.JSArray_Crossover; t1.moveNext$0();) { t4 = t1.__interceptors$_current; @@ -18630,8 +19287,10 @@ return; } } - } else if (action instanceof A.Ligate) { - design = store.get$state(store).get$design(); + } else if (action instanceof A._$Ligate) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + design = t1.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); @@ -18656,15 +19315,24 @@ this.delta = t0; }, helix_positions_set_based_on_crossovers_middleware(store, action, next) { + var t1, t2; 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")); + if (action instanceof A._$HelicesPositionsSetBasedOnCrossovers) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = A.BatchAction_BatchAction(A.get_helix_position_and_roll_actions(t1), "set helix coordinates based on crossovers"); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); + } }, get_helix_position_and_roll_actions(state) { var t1, t2, t3, all_actions, geometry, 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, t1.$ti._precomputed1); t1.moveNext$0();) { + for (t1 = state.get$design().groups.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; t3 = state.get$design().groups._map$_map.$index(0, t2); t3.toString; @@ -18677,7 +19345,7 @@ B.Window_methods.alert$1(t1, "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, t1.$ti._precomputed1); t1.moveNext$0();) { + for (t1 = state.get$design().groups.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1); t1.moveNext$0();) { t2 = t1.__js_helper$_current; if (B.JSArray_methods.contains$1(group_names_to_skip, t2)) continue; @@ -18702,8 +19370,7 @@ 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 = design.helices.get$values(0); helices = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); } else { t2 = A._setArrayType([], type$.JSArray_Helix); @@ -18823,23 +19490,23 @@ 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)) { + t5 = addresses_top_bot_crossovers.containsKey$1(0, pair_idxs_rev); + if (t5) { 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; } + prev_is_top = !t5; if (!(prev_is_top && dom_top.forward)) - t5 = !prev_is_top && !dom_top.forward; + t6 = t5 && !dom_top.forward; else - t5 = true; - offset_top = t5 ? dom_top.end - 1 : dom_top.start; + t6 = true; + offset_top = t6 ? dom_top.end - 1 : dom_top.start; if (!(prev_is_top && dom_bot.forward)) - t5 = !prev_is_top && !dom_bot.forward; + t5 = t5 && !dom_bot.forward; else t5 = true; offset_bot = t5 ? dom_bot.start : dom_bot.end - 1; @@ -18922,17 +19589,18 @@ var t1, existing_idxs, t2, old_idxs, remaining_idxs, t3, key_to_idxs, t4, t5, t6, t7; 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); + if (action instanceof A._$HelixIdxsChange) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design().helices.get$keys(0); existing_idxs = A.LinkedHashSet_LinkedHashSet$of(t1, t1.$ti._eval$1("Iterable.E")); t1 = action.idx_replacements; - t2 = t1.get$keys(t1); + t2 = t1.get$keys(0); 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 = t1.get$values(0); t3 = t1._map$_map; - if (A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E"))._collection$_length !== t3._length) { + if (A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E"))._collection$_length !== t3.__js_helper$_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, t5 = t2.$ti._precomputed1; t2.moveNext$0();) { t6 = t2._collection$_current; @@ -18947,7 +19615,7 @@ } else key_to_idxs.$indexSet(0, t7, A._setArrayType([t6], t4)); } - if (key_to_idxs._length !== t3._length) { + if (key_to_idxs.__js_helper$_length !== t3.__js_helper$_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 "); t2 = window; t2.toString; @@ -18955,7 +19623,7 @@ return; } } - for (t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = t1.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -18974,13 +19642,18 @@ helix_idxs_change_middleware_closure0: function helix_idxs_change_middleware_closure0() { }, load_file_middleware(store, action, next) { - var fn, t1; + var t1, fn, t2, + _s12_ = "_dispatchers"; 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()); + if (action instanceof A._$PrepareToLoadDNAFile && !action.unit_testing) { + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$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) { + } else if (action instanceof A._$LoadDNAFile && !action.unit_testing) { next.call$1(action); fn = action.filename; if (fn != null) @@ -18989,12 +19662,23 @@ 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) + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t1.render$1(0, t2); + t1 = store.__Store__state_A; + if (t1.ui_state.storables.autofit && t1.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); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(new A._$LoadingDialogHide()); + t1 = store.__Store__state_A; + if (t1.maybe_design != null) { + t1 = t1.get$design(); + t2 = store.__Store__state_A.ui_state.storables; + A.set_selectables_css_style_rules(t1, t2.edit_modes, t2.select_mode_state.modes); + } } else next.call$1(action); }, @@ -19012,15 +19696,20 @@ window.localStorage.setItem("scadnano:" + storable.name, value_string); }, restore(store, storable) { - var e, stackTrace, error_message, exception; + var e, stackTrace, error_message, exception, t1, t2; try { A._restore(store, storable); } catch (exception) { e = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); - error_message = "ERROR: loading " + storable.toString$0(0) + " from localStorage, encountered this error:\n" + A.S(J.toString$0$(e)) + "\n\nstack trace:\n\n" + A.S(stackTrace); + error_message = "ERROR: loading " + storable.toString$0(0) + " from localStorage, encountered this error:\n" + J.toString$0$(e) + "\n\nstack trace:\n\n" + A.S(stackTrace); A.print(error_message); - store.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(error_message)); + t1 = A.ErrorMessageSet_ErrorMessageSet(error_message); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } }, _restore(store, storable) { @@ -19040,7 +19729,7 @@ } 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)); + 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" + J.toString$0$(e) + _s16_ + A.S(stackTrace)); } t2 = storables; t2 = t2 == null ? null : t2.loaded_filename; @@ -19053,9 +19742,8 @@ } 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)); - storables = $.$get$DEFAULT_AppUIStateStorable(); - storables0 = storables; + 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" + J.toString$0$(e0) + _s16_ + A.S(stackTrace0)); + storables0 = $.$get$DEFAULT_AppUIStateStorable(); } action = A.SetAppUIStateStorable_SetAppUIStateStorable(storables0); t1 = document; @@ -19063,8 +19751,13 @@ t1.title = storables0.loaded_filename; } else action = null; - if (action != null) - store.dispatch$1(action); + if (action != null) { + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); + } } }, restore_all_local_storage(store) { @@ -19090,46 +19783,49 @@ return A._asyncStartSync($async$save_storable_async, $async$completer); }, local_storage_middleware(store, action, next) { - var t1, design_before, storables_after, design_after, state_after; + var t1, t2, design_before, storables_after, design_after; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - t1 = store.get$state(store).ui_state; - design_before = store.get$state(store).maybe_design; + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t2 = t1.ui_state; + design_before = t1.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 (!t1.storables.$eq(0, 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); + t1 = store.__Store__state_A; + storables_after = t1.ui_state.storables; + design_after = t1.maybe_design; + if (!t2.storables.$eq(0, storables_after)) { + t2 = action instanceof A._$LoadDNAFile; + if (t2 && action.write_local_storage || !t2) + A.save_storable_async(t1, 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)) + 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); + A.save_storable_async(t1, B.Storable_design); } - if (action instanceof A.LocalStorageDesignChoiceSet) { - t1 = action.choice.option; - t1 = t1 === B.LocalStorageDesignOption_on_edit || t1 === B.LocalStorageDesignOption_periodic; + if (action instanceof A._$LocalStorageDesignChoiceSet) { + t2 = action.choice.option; + t2 = t2 === B.LocalStorageDesignOption_on_edit || t2 === B.LocalStorageDesignOption_periodic; } else - t1 = false; - if (t1) - A.save_storable_async(state_after, B.Storable_design); + t2 = false; + if (t2) + A.save_storable_async(t1, B.Storable_design); }, Storable: function Storable(t0) { this.name = t0; }, oxdna_export_middleware(store, action, next) { - var t1, state, t2, strands_to_export, dat_top, default_filename, $content; + var t1, t2, t3, 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); + t1 = action instanceof A._$OxdnaExport; + if (t1 || action instanceof A._$OxviewExport) { + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); 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")); + t3 = store.__Store__state_A.ui_state.selectables_store.get$selected_strands()._set; + strands_to_export = A.List_List$of(t3, true, A._instanceType(t3)._eval$1("SetBase.E")); if (strands_to_export.length === 0) { t1 = window; t1.toString; @@ -19137,27 +19833,27 @@ return; } } else { - t2 = state.get$design().strands; - strands_to_export = new A.CopyOnWriteList(true, t2._list, t2.$ti._eval$1("CopyOnWriteList<1>")); + t3 = t2.get$design().strands; + strands_to_export = new A.CopyOnWriteList(true, t3._list, t3.$ti._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; + dat_top = A.to_oxdna_format(t2.get$design(), strands_to_export); + default_filename = t2.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); - t1 = state.ui_state; + } else if (action instanceof A._$OxviewExport) { + $content = A.to_oxview_format(t2.get$design(), strands_to_export); + t1 = t2.ui_state; A.save_file($.$get$context().withoutExtension$1(t1.storables.loaded_filename) + ".oxview", $content, null, B.BlobType_0); } } next.call$1(action); }, to_oxview_format(design, strands_to_export) { - var t7, sc_strand, t8, oxdna_strand, oxvnucs, oxv_strand, scolor, index_in_strand, nuc, t9, t10, oxvnuc, base_pairs_map, offset, domain1, domain2, sc_strand1, sc_strand2, oxv_strand1, oxv_strand2, d1, d2, s1_nuc_idx, b, + var t4, t5, t6, nuc_count, strand_count, i, sc_strand, t7, t8, oxdna_strand, oxvnucs, oxv_strand, scolor, index_in_strand, nuc, 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), @@ -19168,17 +19864,8 @@ t3 = type$.dynamic, oxview_strand_map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3), strand_id_to_index = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.int), - strand_names_without_dna = A._setArrayType([], type$.JSArray_String), - 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; + strand_names_without_dna = A._setArrayType([], type$.JSArray_String); + for (t4 = J.getInterceptor$asx(strands_to_export), t5 = type$.JSArray_double, t6 = system.strands, nuc_count = 0, strand_count = 0, i = 0; i < t4.get$length(strands_to_export); ++i) { sc_strand = t4.$index(strands_to_export, i); t7 = sc_strand.___dna_sequence; if (!t7) { @@ -19202,11 +19889,11 @@ B.JSArray_methods.add$1(strand_names_without_dna, t7); else { t7 = sc_strand.__id; - B.JSArray_methods.add$1(strand_names_without_dna, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, sc_strand) : t7); + B.JSArray_methods.add$1(strand_names_without_dna, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, 0) : t7); } } 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); + strand_id_to_index.$indexSet(0, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, 0) : t7, i); if (!(i < t6.length)) return A.ioore(t6, i); oxdna_strand = t6[i]; @@ -19217,7 +19904,7 @@ 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); + oxview_strand_map.$indexSet(0, t7 == null ? sc_strand.__id = A.Strand.prototype.get$id.call(sc_strand, 0) : 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]; @@ -19239,7 +19926,6 @@ B.JSArray_methods.add$1(oxvnucs, oxvnuc); } B.JSArray_methods.add$1(oxview_strands, oxv_strand); - ++i; } if (strand_names_without_dna.length !== 0) { t1 = B.JSArray_methods.join$1(strand_names_without_dna, ", "); @@ -19248,7 +19934,7 @@ B.Window_methods.alert$1(t6, "The following strands do not have complete DNA sequences assigned: " + t1 + '. These strands will be exported with a default sequence of "T" for each nucleotide whose base is not specified. This can lead to unexpected behavior in oxView. For best results, assign a DNA sequence to each strand before exporting.'); } base_pairs_map = design.base_pairs_with_domain_strand$4(false, true, A._BuiltSet$of(t4.toSet$0(strands_to_export), type$.Strand), true); - for (t1 = base_pairs_map.get$keys(base_pairs_map), t4 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t1.$ti._precomputed1), t4 = base_pairs_map._map$_map, t6 = type$.Map_String_dynamic; t1.moveNext$0();) + for (t1 = base_pairs_map.get$keys(0), t4 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t1.$ti._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, t8 = A._arrayInstanceType(t7), t7 = new J.ArrayIterator(t7, t7.length, t8._eval$1("ArrayIterator<1>")), t8 = t8._precomputed1; t7.moveNext$0();) { t9 = t7.__interceptors$_current; if (t9 == null) @@ -19259,20 +19945,20 @@ sc_strand1 = t9.item4; sc_strand2 = t9.item5; t9 = sc_strand1.__id; - oxv_strand1 = t6._as(oxview_strand_map.$index(0, t9 == null ? sc_strand1.__id = A.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9)); + oxv_strand1 = t6._as(oxview_strand_map.$index(0, t9 == null ? sc_strand1.__id = A.Strand.prototype.get$id.call(sc_strand1, 0) : t9)); t9 = sc_strand2.__id; - oxv_strand2 = t6._as(oxview_strand_map.$index(0, t9 == null ? sc_strand2.__id = A.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9)); + oxv_strand2 = t6._as(oxview_strand_map.$index(0, t9 == null ? sc_strand2.__id = A.Strand.prototype.get$id.call(sc_strand2, 0) : 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 = A.Strand.prototype.get$id.call(sc_strand1, sc_strand1) : t9); + t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand1.__id = A.Strand.prototype.get$id.call(sc_strand1, 0) : t9); t9.toString; ++t9; if (!(t9 < strand_nuc_start.length)) return A.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 = A.Strand.prototype.get$id.call(sc_strand2, sc_strand2) : t9); + t9 = strand_id_to_index.$index(0, t9 == null ? sc_strand2.__id = A.Strand.prototype.get$id.call(sc_strand2, 0) : t9); t9.toString; ++t9; if (!(t9 < strand_nuc_start.length)) @@ -19290,7 +19976,7 @@ } } 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); + 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(), 0, 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); }, to_oxdna_format(design, strands_to_export) { return A.convert_design_to_oxdna_system(design, strands_to_export).oxdna_output$0(); @@ -19303,7 +19989,7 @@ system = new A.OxdnaSystem(A._setArrayType([], type$.JSArray_OxdnaStrand)), 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, t3.$ti._precomputed1), t4 = t2._map$_map; t3.moveNext$0();) { + for (t2 = design.helices, t3 = t2.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = t2._map$_map; t3.moveNext$0();) { t5 = t3.__js_helper$_current; t6 = t4.$index(0, t5); t6.toString; @@ -19347,7 +20033,7 @@ } } } - for (t2 = t2.get$keys(t2), t5 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t2.$ti._precomputed1); t2.moveNext$0();) { + for (t2 = t2.get$keys(0), t5 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t2.$ti._precomputed1); t2.moveNext$0();) { t5 = t2.__js_helper$_current; t6 = t4.$index(0, t5); t6.toString; @@ -19360,7 +20046,12 @@ t10 = offset - 1; if (!(t10 >= 0 && t10 < t9.length)) return A.ioore(t9, t10); - B.JSArray_methods.$indexSet(t7, offset, t8 + t9[t10]); + t10 = t9[t10]; + if (typeof t8 !== "number") + return t8.$add(); + if (typeof t10 !== "number") + return A.iae(t10); + B.JSArray_methods.$indexSet(t7, offset, t8 + t10); } } t2 = type$.Tuple3_OxdnaVector_OxdnaVector_OxdnaVector; @@ -19417,7 +20108,7 @@ seq = domain.get$dna_sequence(); if (seq == null) seq = B.JSString_methods.$mul("T", domain.dna_length$0()); - if (domain instanceof A.Domain) { + if (domain instanceof A._$Domain) { t15 = domain.helix; t16 = t4.$index(0, t15); t16.toString; @@ -19483,7 +20174,7 @@ ox_strand.set$nucleotides(A.List_List$from(new A.ReversedListIterable(t15, A._arrayInstanceType(t15)._eval$1("ReversedListIterable<1>")), true, t11)); } B.JSArray_methods.add$1(strand_domains, new A.Tuple2(ox_strand, false, t8)); - } else if (domain instanceof A.Loopout) { + } else if (domain instanceof A._$Loopout) { for (t15 = domain.loopout_num_bases, t16 = seq.length, i = 0; i < t15; ++i) { if (!(i < t16)) return A.ioore(seq, i); @@ -19492,7 +20183,7 @@ 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, t17, t17)); } B.JSArray_methods.add$1(strand_domains, new A.Tuple2(ox_strand, true, t8)); - } else if (domain instanceof A.Extension) { + } else if (domain instanceof A._$Extension) { t16 = t4.$index(0, domain.adjacent_domain.helix); t16.toString; t16 = t7.$index(0, t16.group); @@ -19615,11 +20306,11 @@ 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) { + t1 = action instanceof A._$LocalStorageDesignChoiceSet; + if (t1 || action instanceof A._$SetAppUIStateStorable) { if (t1) choice = action.choice; - else if (action instanceof A.SetAppUIStateStorable) + else if (action instanceof A._$SetAppUIStateStorable) choice = action.storables.local_storage_design_choice; else throw A.wrapException(A.AssertionError$("unreachable")); @@ -19648,16 +20339,17 @@ start_timer_periodic_design_save_local_storage_closure: function start_timer_periodic_design_save_local_storage_closure() { }, save_file_middleware(store, action, next) { - var state; + var t1; 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); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (action instanceof A._$SaveDNAFile) + A._save_file(t1); 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); + else if (action instanceof A._$Undo || action instanceof A._$Redo) + A.change_tab_title(t1.undo_redo.undo_stack._list.length !== 0); }, _save_file(state) { var $async$goto = 0, @@ -19707,24 +20399,25 @@ _save_file_closure: function _save_file_closure() { }, selections_intersect_box_compute_middleware(store, action, next) { - var state, is_origami, select_modes, select_box, t1, elts_overlapping, rope_elt, points, selectable_by_id, t2, t3, t4, t5, t6, t7, overlapping_now_select_mode_enabled, _i, obj, + var t1, is_origami, select_modes, select_box, t2, elts_overlapping, rope_elt, points, selectable_by_id, t3, t4, t5, t6, t7, 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 instanceof A._$SelectionsAdjustMainView) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + is_origami = t1.get$design().get$is_origami(); + select_modes = t1.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; } - t1 = select_box.getBoundingClientRect(); - t1.toString; - t1 = type$.List_SvgElement._as(A.generalized_intersection_list_box(_s13_, t1, 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); + t2 = select_box.getBoundingClientRect(); + t2.toString; + t2 = type$.List_SvgElement._as(A.generalized_intersection_list_box(_s13_, t2, select_modes, is_origami, store.__Store__state_A.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(t2, A._arrayInstanceType(t2)._precomputed1); } else { rope_elt = type$.nullable_PolygonElement._as(document.querySelector("#selection-rope-main")); if (rope_elt == null) { @@ -19732,10 +20425,10 @@ 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); + t2 = type$.List_SvgElement._as(A.generalized_intersection_list_polygon(_s13_, points, select_modes, is_origami, store.__Store__state_A.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(t2, A._arrayInstanceType(t2)._precomputed1); } - t1 = state.get$design(); + t1 = t1.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); @@ -19763,7 +20456,12 @@ if (t3.contains$1(0, obj.get$select_mode())) 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)); + t1 = A._$SelectOrToggleItems$_(A._BuiltList$of(overlapping_now_select_mode_enabled, type$.Selectable), action.toggle); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else next.call$1(action); }, @@ -19850,7 +20548,7 @@ return elts_intersecting; }, interval_contained(l1, h1, l2, h2) { - return A._asNum(l1) >= A._asNum(l2) && h1 <= h2; + return l1 >= l2 && h1 <= h2; }, interval_intersect(l1, h1, l2, h2) { return !(l2 > h1 || l1 > h2); @@ -19870,18 +20568,19 @@ return true; }, rect_contains_polygon(rect, polygon) { - var t1, x1, y1, x2, y2, _i, polygon_vertex, t2; + var t1, x1, y1, x2, y2, _i, polygon_vertex, t2, t3; for (t1 = polygon.length, x1 = rect.left, y1 = rect.top, x2 = x1 + rect.width, y2 = y1 + rect.height, _i = 0; _i < t1; ++_i) { polygon_vertex = polygon[_i]; t2 = polygon_vertex.x; + t3 = false; if (x1 <= t2) if (t2 <= x2) { t2 = polygon_vertex.y; t2 = y1 <= t2 && t2 <= y2; } else - t2 = false; + t2 = t3; else - t2 = false; + t2 = t3; if (!t2) return false; } @@ -19973,9 +20672,9 @@ 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)); + throw A.wrapException(A.ArgumentError$("elts (length " + elts.get$length(0) + ") 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 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t1 = new A.MappedIterator(t2.get$iterator(t1), elts._f, t3._eval$1("MappedIterator<1,2>")), t2 = select_box.x, t4 = select_box.y, t3 = t3._rest[1], i = 0; t1.moveNext$0(); i = i0) { + for (t3 = A._instanceType(elts), t1 = new A.MappedIterator(t2.get$iterator(t1), elts._f, t3._eval$1("MappedIterator<1,2>")), t2 = select_box.x, t4 = select_box.y, t3 = t3._rest[1], i = 0; t1.moveNext$0(); i = i0) { elt = t1.__internal$_current; if (elt == null) elt = t3._as(elt); @@ -19985,18 +20684,10 @@ elt_bbox = bboxes[i]; t5 = elt_bbox.x; t6 = elt_bbox.width; - if (typeof t5 !== "number") - return t5.$add(); t7 = select_box.width; - if (typeof t2 !== "number") - return t2.$add(); t8 = elt_bbox.y; t9 = elt_bbox.height; - if (typeof t8 !== "number") - return t8.$add(); t10 = select_box.height; - if (typeof t4 !== "number") - return t4.$add(); if (A.boolConversionCheck(overlap.call$4(t5, t5 + t6, t2, t2 + t7)) && A.boolConversionCheck(overlap.call$4(t8, t8 + t9, t4, t4 + t10))) B.JSArray_methods.add$1(elts_intersecting, elt); } @@ -20009,25 +20700,20 @@ _.y = t1; }, app_state_reducer(state, action) { - var t1, modify_undo_redo_stacks, state0, t2, t3, _box_0 = {}; + var t1, t2, state0, t3, _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; + t1 = action instanceof A._$SkipUndo; + t2 = t1 ? _box_0.action = action.undoable_action : action; + if (t2 instanceof A._$LoadDNAFile) + return A.load_dna_file_reducer(state, t2); + state0 = _box_0.state = $.$get$undo_redo_reducer().call$2(state, t2); + t1 = !t1 ? _box_0.state = $.$get$undoable_action_reducer().call$2(state0, t2) : 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) + if (t1 instanceof A._$BatchAction) for (t1 = t1.actions._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) { t3 = t1.__interceptors$_current; if (t3 == null) @@ -20051,9 +20737,9 @@ return ui_state.rebuild$1(new A.ui_state_local_reducer_closure(ui_state, action)); }, 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) + 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) + 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; @@ -20357,20 +21043,16 @@ return t3._example_designs$_build$0(); }, app_ui_state_storable_global_reducer(storables, state, action) { - var t2, t3, helices_in_first_group, t1 = {}; - if (action instanceof A.SetAppUIStateStorable) { + var t2, helices_in_first_group, t1 = {}; + if (action instanceof A._$SetAppUIStateStorable) { storables = action.storables; t2 = state.maybe_design != null; if (t2 && !state.get$design().groups._map$_map.containsKey$1(0, storables.displayed_group_name)) 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)) + helices_in_first_group = state.get$design().helices_in_group$1(state.get$design().groups.get$keys(0).get$first(0)).get$values(0); + if (!helices_in_first_group.get$isEmpty(0)) 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)); @@ -20378,59 +21060,46 @@ return storables.rebuild$1(new A.app_ui_state_storable_global_reducer_closure1(storables, state, action)); }, displayed_group_name_group_remove_reducer(_, state, action) { - var t1, first, last; + var first, last; A._asString(_); type$.AppState._as(state); type$.GroupRemove._as(action); - 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); + first = state.get$design().groups.get$keys(0).get$first(0); + last = state.get$design().groups.get$keys(0).get$last(0); return action.name !== first ? first : last; }, 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 + if (type$.ShowSliceBarSet._as(action).show) + return A.bounded_offset_in_helices_group(offset, state.get$design().helices_in_group$1(state.ui_state.storables.displayed_group_name).get$values(0)); + else return offset; }, slice_bar_offset_group_displayed_change_reducer(offset, state, action) { - var 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)); + return A.bounded_offset_in_helices_group(offset, state.get$design().helices_in_group$1(action.group_name).get$values(0)); }, slice_bar_offset_group_remove_reducer(offset, state, action) { - var new_group_name, t1; + var new_group_name; 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)); + return A.bounded_offset_in_helices_group(offset, state.get$design().helices_in_group$1(new_group_name).get$values(0)); }, 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).helices_in_group$1(state.ui_state.storables.displayed_group_name); - return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + return A.bounded_offset_in_helices_group(offset, A.design_global_reducer(state.get$design(), state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name).get$values(0)); }, 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).helices_in_group$1(state.ui_state.storables.displayed_group_name); - return A.bounded_offset_in_helices_group(offset, t1.get$values(t1)); + return A.bounded_offset_in_helices_group(offset, A.design_global_reducer(state.get$design(), state, action).helices_in_group$1(state.ui_state.storables.displayed_group_name).get$values(0)); }, app_ui_state_storable_local_reducer(storables, action) { return storables.rebuild$1(new A.app_ui_state_storable_local_reducer_closure(storables, action)); @@ -20448,19 +21117,19 @@ var t1; type$.nullable_Modification5Prime._as(modification); t1 = type$.ModificationAdd._as(action).modification; - return t1 instanceof A.Modification5Prime ? t1 : modification; + return t1 instanceof A._$Modification5Prime ? t1 : modification; }, 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; + return t1 instanceof A._$Modification3Prime ? t1 : modification; }, 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; + return t1 instanceof A._$ModificationInternal ? t1 : modification; }, load_dna_sequence_image_uri(_, action) { A._asStringQ(_); @@ -20523,11 +21192,10 @@ }, original_helix_offsets_reducer(original_helix_offsets, state, action) { var t1, helix_offsets, t2, t3, t4, t5, t6, t7, t8; - if (action instanceof A.StrandsMoveStartSelectedStrands || action instanceof A.StrandCreateStart) { + if (action instanceof A._$StrandsMoveStartSelectedStrands || action instanceof A._$StrandCreateStart) { t1 = original_helix_offsets.$ti; - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); helix_offsets = new A.CopyOnWriteMap(original_helix_offsets._mapFactory, original_helix_offsets._map$_map, t1._eval$1("CopyOnWriteMap<1,2>")); - for (t2 = state.get$design().helices, t2 = t2.get$keys(t2), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.JSArray_int, t4 = type$.int, t5 = type$._BuiltList_int, t6 = t1._rest[0], t1 = t1._rest[1]; t2.moveNext$0();) { + for (t2 = state.get$design().helices.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.JSArray_int, t4 = type$.int, t5 = type$._BuiltList_int, t6 = t1._precomputed1, t1 = t1._rest[1]; t2.moveNext$0();) { t7 = t2.__js_helper$_current; t7 = state.get$design().helices._map$_map.$index(0, t7); t7.toString; @@ -20616,7 +21284,7 @@ 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) { + if (substrand_to instanceof A._$Domain) { helix_idx = substrand_to.helix; t6 = strand_from.__domains_on_helix; if (t6 == null) { @@ -20624,7 +21292,7 @@ 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>")); + domains_on_helix_from = t6 == null ? null : new A.CopyOnWriteList(true, t6._list, t6.$ti._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)) @@ -20736,18 +21404,9 @@ t1 = t1.next_domain_idx; substrands.insert$2(0, t1, loopout_new); if (t1 === 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) + for (first_dom = -1, i = 0; i < J.get$length$asx(_box_0.substrands) - 1; ++i) + 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)); @@ -20755,7 +21414,7 @@ return strand.rebuild$1(new A.convert_crossover_to_loopout_reducer_closure(_box_0)).initialize$0(0); }, convert_crossovers_to_loopouts_reducer(strands, state, action) { - var crossovers_on_strand_id, t1, t2, t3, t4, strand_id, t5, strands_builder, 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, _s5_ = "_list"; + var crossovers_on_strand_id, t1, t2, t3, t4, strand_id, t5, strands_builder, t6, t7, t8, t9, t10, t11, strand_idx, t12, substrands_builder, t13, t14, num_crossovers_processed_on_strand, _i, crossover, t15, t16, t17, new_strand, strand, _s5_ = "_list"; type$.BuiltList_Strand._as(strands); type$.AppState._as(state); type$.ConvertCrossoversToLoopouts._as(action); @@ -20773,64 +21432,57 @@ } 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; + 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, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t9 = t2.__js_helper$_current; + t10 = state.get$design(); + t11 = t10.__strands_by_id; + if (t11 == null) { + t11 = A.Design.prototype.get$strands_by_id.call(t10); + t10.set$__strands_by_id(t11); + t10 = t11; } 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; - 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); + t10 = t11; + t10 = t10._map$_map.$index(0, t9); + t10.toString; + strand_idx = B.JSArray_methods.indexOf$2(t8, t1._as(t10), 0); + t11 = t10.substrands; + t12 = t11.$ti; + substrands_builder = new A.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_A(t14._as(t11._list)); + substrands_builder.set$_listOwner(t11); } else { - substrands_builder.set$__ListBuilder__list_A(t15._as(A.List_List$from(t12, true, t13._precomputed1))); + substrands_builder.set$__ListBuilder__list_A(t14._as(A.List_List$from(t11, true, t12._precomputed1))); substrands_builder.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)); - !$.$get$isSoundMode() && t16; + t9 = crossovers_on_strand_id.$index(0, t9); + t9.toString; + B.JSArray_methods.sort$1(t9, new A.convert_crossovers_to_loopouts_reducer_closure()); + for (t11 = t9.length, t13 = t10.is_scaffold, t12 = t12._precomputed1, num_crossovers_processed_on_strand = 0, _i = 0; _i < t9.length; t9.length === t11 || (0, A.throwConcurrentModificationError)(t9), ++_i) { + crossover = t9[_i]; + t15 = crossover.prev_domain_idx; + t16 = crossover.next_domain_idx; + t15 = t12._as(A.Loopout_Loopout(t13, t7, t15 + num_crossovers_processed_on_strand)); + $.$get$isSoundMode(); 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))); + t17 = substrands_builder.__ListBuilder__list_A; + t17 === $ && A.throwLateFieldNI(_s5_); + substrands_builder.set$__ListBuilder__list_A(t14._as(A.List_List$from(t17, true, t12))); 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); + t17 = substrands_builder.__ListBuilder__list_A; + t17 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.insert$2(t17, t16 + num_crossovers_processed_on_strand, t15); ++num_crossovers_processed_on_strand; } - 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(); + t9 = t6._as(new A.convert_crossovers_to_loopouts_reducer_closure0(substrands_builder)); + t11 = new A.StrandBuilder(); + t11._strand$_$v = t10; + t5._as(t9).call$1(t11); + new_strand = t11._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) if (new_strand.__first_domain == null) @@ -20841,21 +21493,21 @@ new_strand.check_only_at_ends$0(); new_strand.check_not_adjacent_to_loopout$0(); t4._as(strand); - !$.$get$isSoundMode() && t9; + $.$get$isSoundMode(); 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))); + t9 = strands_builder.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI(_s5_); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t9, 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); + t9 = strands_builder.__ListBuilder__list_A; + t9 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t9, strand_idx, strand); } return strands_builder.build$0(); }, loopouts_length_change_reducer(strands, state, action) { - var loopouts_on_strand_id, t1, t2, t3, t4, strand_id, t5, strands_builder, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, t16, substrands, t17, t18, _i, loopout, loopout_idx, new_strand, strand; + var loopouts_on_strand_id, t1, t2, t3, t4, strand_id, t5, strands_builder, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, strand_idx, t16, substrands, _i, loopout, loopout_idx, t17, t18, new_strand, strand; type$.BuiltList_Strand._as(strands); type$.AppState._as(state); type$.LoopoutsLengthChange._as(action); @@ -20873,7 +21525,7 @@ } 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();) { + 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 = type$.Loopout, t12 = strands._list, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { t13 = t2.__js_helper$_current; t14 = state.get$design(); t15 = t14.__strands_by_id; @@ -20885,22 +21537,13 @@ t14 = t15; t14 = t14._map$_map.$index(0, t13); t14.toString; - strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t14), 0); + strand_idx = B.JSArray_methods.indexOf$2(t12, t1._as(t14), 0); t15 = t14.substrands; t16 = t15.$ti; 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); + B.JSArray_methods.sort$1(t13, new A.loopouts_length_change_reducer_closure()); 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); @@ -20908,6 +21551,7 @@ if (t7) { t17 = t10._as(new A.loopouts_length_change_reducer_closure0(action)); t18 = new A.LoopoutBuilder(); + t11._as(loopout); t18._loopout$_$v = loopout; t9._as(t17).call$1(t18); t17 = t16._as(t18._loopout$_build$0()); @@ -20933,7 +21577,7 @@ new_strand.check_only_at_ends$0(); new_strand.check_not_adjacent_to_loopout$0(); t4._as(strand); - !$.$get$isSoundMode() && t12; + $.$get$isSoundMode(); if (strands_builder._listOwner != null) { t13 = strands_builder.__ListBuilder__list_A; t13 === $ && A.throwLateFieldNI("_list"); @@ -20965,7 +21609,7 @@ } 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();) { + 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 = type$.Extension, t12 = strands._list, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { t13 = t2.__js_helper$_current; t14 = state.get$design(); t15 = t14.__strands_by_id; @@ -20977,7 +21621,7 @@ t14 = t15; t14 = t14._map$_map.$index(0, t13); t14.toString; - strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t14), 0); + strand_idx = B.JSArray_methods.indexOf$2(t12, t1._as(t14), 0); t15 = t14.substrands; t16 = t15.$ti; substrands = new A.CopyOnWriteList(true, t15._list, t16._eval$1("CopyOnWriteList<1>")); @@ -20989,6 +21633,7 @@ if (t7) { t15 = t10._as(new A.extensions_num_bases_change_reducer_closure(action)); t17 = new A.ExtensionBuilder(); + t11._as(ext); t17._extension$_$v = ext; t9._as(t15).call$1(t17); t15 = t16._as(t17._extension$_build$0()); @@ -21012,7 +21657,7 @@ new_strand.check_only_at_ends$0(); new_strand.check_not_adjacent_to_loopout$0(); t4._as(strand); - !$.$get$isSoundMode() && t12; + $.$get$isSoundMode(); if (strands_builder._listOwner != null) { t13 = strands_builder.__ListBuilder__list_A; t13 === $ && A.throwLateFieldNI("_list"); @@ -21036,10 +21681,9 @@ substrands_builder = A.ListBuilder_ListBuilder(t1, t2); t1 = action.num_bases; if (t1 > 0) { - t1 = substrands_builder.$ti._precomputed1; - t3 = t1._as(t3.rebuild$1(new A.loopout_length_change_reducer_closure(action))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), loopout_idx, t3); + t1 = substrands_builder.$ti._precomputed1._as(t3.rebuild$1(new A.loopout_length_change_reducer_closure(action))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), loopout_idx, t1); } 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)); @@ -21054,10 +21698,9 @@ idx = B.JSArray_methods.indexOf$2(t1._list, t3, 0); substrands_builder = A.ListBuilder_ListBuilder(t1, t2); if (action.num_bases > 0) { - t1 = substrands_builder.$ti._precomputed1; - t3 = t1._as(t3.rebuild$1(new A.extension_num_bases_change_reducer_closure(action))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t3); + t1 = substrands_builder.$ti._precomputed1._as(t3.rebuild$1(new A.extension_num_bases_change_reducer_closure(action))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t1); } else throw A.wrapException(A.AssertionError$(string$.extens)); return strand.rebuild$1(new A.extension_num_bases_change_reducer_closure0(substrands_builder)); @@ -21073,10 +21716,9 @@ substrands_builder = A.ListBuilder_ListBuilder(t1, t2); if (action.display_length <= 0) throw A.wrapException(A.ArgumentError$("extension must have positive display_angle", null)); - t1 = substrands_builder.$ti._precomputed1; - t3 = t1._as(t3.rebuild$1(new A.extension_display_length_angle_change_reducer_closure(action))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t3); + t1 = substrands_builder.$ti._precomputed1._as(t3.rebuild$1(new A.extension_display_length_angle_change_reducer_closure(action))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(substrands_builder.get$_safeList(), idx, t1); return strand.rebuild$1(new A.extension_display_length_angle_change_reducer_closure0(substrands_builder)); }, convert_crossover_to_loopout_reducer_closure: function convert_crossover_to_loopout_reducer_closure(t0) { @@ -21133,32 +21775,32 @@ 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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure())), t1._eval$1("WhereIterable")), type$.Strand)); + strands = A._remove_strands(strands, A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._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 = items.$ti._eval$1("bool(1)"); t3 = A._instanceType(t2); - t4 = t3._eval$1("bool(SetMixin.E)"); - t3 = t3._eval$1("WhereIterable"); + t4 = t3._eval$1("bool(SetBase.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(items.$ti._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"))); + strands = A.remove_domains(strands, state, new A.MappedIterable(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure2())), t1._eval$1("WhereIterable")), t1._eval$1("Domain(SetBase.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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure4())), t1._eval$1("WhereIterable")), true, type$.Domain)); + strands = A.remove_domains(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure5())), t1._eval$1("WhereIterable")), true, type$.SelectableDeletion); + deletions = A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure6())), t1._eval$1("WhereIterable")), true, type$.SelectableInsertion); + insertions = A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._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); @@ -21166,12 +21808,12 @@ 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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure7())), t1._eval$1("WhereIterable")), true, type$.SelectableModification)); + strands = A.remove_modifications(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._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(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure8())), t1._eval$1("WhereIterable")), true, type$.Extension)); + strands = A.remove_extensions(strands, state, A.List_List$from(new A.WhereIterable(t2, t1._eval$1("bool(SetBase.E)")._as(items.$ti._eval$1("bool(1)")._as(new A.delete_all_reducer_closure8())), t1._eval$1("WhereIterable")), true, type$.Extension)); } } } @@ -21264,7 +21906,7 @@ 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) + if (linker instanceof A._$Loopout) ++ss_idx; } } @@ -21350,21 +21992,21 @@ t12.toString; internal_mods_on_these_substrands.$indexSet(0, dna_length_cur_substrands + t11, t12); } - if (substrand instanceof A.Loopout) { + 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) { + 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) { + 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; @@ -21512,7 +22154,7 @@ 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; + t3 = B.JSArray_methods.get$last(substrands) instanceof A._$Loopout || B.JSArray_methods.get$last(substrands) instanceof A._$Extension; else t3 = false; if (t3) { @@ -21526,7 +22168,7 @@ } if (ss_idx < t2.length - 1) { t3 = t2[ss_idx + 1]; - t3 = t3 instanceof A.Loopout || t3 instanceof A.Extension; + t3 = t3 instanceof A._$Loopout || t3 instanceof A._$Extension; } else t3 = false; if (t3) @@ -21625,7 +22267,7 @@ t11 = t10.$ti; substrands = new A.CopyOnWriteList(true, t10._list, t11._eval$1("CopyOnWriteList<1>")); for (t10 = t11._precomputed1, j = 0; j < J.get$length$asx(substrands._copy_on_write_list$_list); ++j) - if (J.$index$asx(substrands._copy_on_write_list$_list, j) instanceof A.Domain) { + if (J.$index$asx(substrands._copy_on_write_list$_list, j) instanceof A._$Domain) { domain = t7._as(J.$index$asx(substrands._copy_on_write_list$_list, j)); t11 = strand_to_deletions.$index(0, strand).$index(0, domain); t11.toString; @@ -21680,21 +22322,21 @@ return A._BuiltList$of(new_strands, t1); }, remove_modifications(strands, state, modifications) { - var t1, t2, _i, mod, t3, t4, new_strands, t5, t6, t7, _box_0, t8, strand_idx, strand, t9, mods_int, strand0, + var t1, t2, _i, mod, t3, t4, new_strands, t5, t6, t7, _box_0, t8, strand_idx, strand, mods_int, t9, 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)) { + if (!strand_id_to_mods.containsKey$1(0, t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, 0) : t4)) { t3 = mod.get$strand(); t4 = t3.__id; - t3 = t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, t3) : t4; + t3 = t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, 0) : 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); + strand_id_to_mods.$index(0, t4 == null ? t3.__id = A.Strand.prototype.get$id.call(t3, 0) : t4).add$1(0, mod); } t1 = strands._list; t2 = strands.$ti; @@ -21705,7 +22347,7 @@ if (t6 == null) t6 = t4._as(t6); t7 = t6.__id; - t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, t6) : t7); + t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, 0) : t7); } 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 = {}; @@ -21717,18 +22359,17 @@ return A.ioore(t1, strand_idx); strand = t1[strand_idx]; t7 = strand.modifications_int; - t9 = t7.$ti; - mods_int = new A.CopyOnWriteMap(t7._mapFactory, t7._map$_map, t9._eval$1("@<1>")._bind$1(t9._rest[1])._eval$1("CopyOnWriteMap<1,2>")); + mods_int = new A.CopyOnWriteMap(t7._mapFactory, t7._map$_map, t7.$ti._eval$1("CopyOnWriteMap<1,2>")); _box_0.remove_3p = _box_0.remove_5p = false; for (t7 = A._instanceType(t8), t9 = new A._LinkedHashSetIterator(t8, t8._collection$_modifications, t7._eval$1("_LinkedHashSetIterator<1>")), t9._collection$_cell = t8._collection$_first, t7 = t7._precomputed1; t9.moveNext$0();) { t8 = t9._collection$_current; if (t8 == null) t8 = t7._as(t8); - if (t8 instanceof A.SelectableModification5Prime) + if (t8 instanceof A._$SelectableModification5Prime) _box_0.remove_5p = true; - else if (t8 instanceof A.SelectableModification3Prime) + else if (t8 instanceof A._$SelectableModification3Prime) _box_0.remove_3p = true; - else if (t8 instanceof A.SelectableModificationInternal) { + 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); @@ -21832,15 +22473,14 @@ return t1 == null || t1.length === 0 ? design : null; }, design_geometry_set_reducer(design, state, action) { - var t1, t2; + var t1; type$.nullable_Design._as(design); type$.AppState._as(state); type$.GeometrySet._as(action); if (design == null) return null; t1 = design.helices; - t2 = t1.$ti; - return design.rebuild$1(new A.design_geometry_set_reducer_closure(new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>")), action)); + return design.rebuild$1(new A.design_geometry_set_reducer_closure(new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>")), action)); }, new_design_set_reducer(design, action) { type$.nullable_Design._as(design); @@ -21930,7 +22570,7 @@ 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); + selected_domains = A.LinkedHashSet_LinkedHashSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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), t5 = t2.$ti._precomputed1; t2.moveNext$0();) { @@ -21988,7 +22628,7 @@ 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; + num_helices_in_group = design.helices_in_group$1(t4)._map$_map.__js_helper$_length; t4 = domains_move.original_address; t7 = t3.$index(0, t4.helix_idx); t7.toString; @@ -22004,7 +22644,7 @@ return false; 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, t1.$ti._precomputed1), t6 = t6.helices_view_order._list; t1.moveNext$0();) { + for (t1 = t2.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t6 = t6.helices_view_order._list; t1.moveNext$0();) { t2 = t1.__js_helper$_current; t4 = domains_move.__domains_moving_on_helix; if (t4 == null) { @@ -22077,7 +22717,7 @@ t6 = domains_move.original_address; delta_offset = t1.offset - t6.offset; delta_forward = t1.forward !== t6.forward; - for (t1 = t2.get$keys(t2), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t4 = t4.helices_view_order._list; t1.moveNext$0();) { + for (t1 = t2.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t4 = t4.helices_view_order._list; t1.moveNext$0();) { t2 = t1.__js_helper$_current; t6 = domains_move.__domains_moving_on_helix; if (t6 == null) { @@ -22117,16 +22757,7 @@ 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); + B.JSArray_methods.sort$1(intervals_moving, A.strands_move_reducer__interval_comparator$closure()); t18 = intervals_moving.length; if (t18 !== 0) { if (0 >= t18) @@ -22139,16 +22770,7 @@ if (intervals_moving[t19].y >= 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); + B.JSArray_methods.sort$1(intervals_fixed, A.strands_move_reducer__interval_comparator$closure()); if (A.intersection(intervals_moving, intervals_fixed)) return false; } @@ -22253,14 +22875,13 @@ t3 = state.get$design().groups; t4 = t3._map$_map; t5 = t3.$ti; - 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 = t3.$ti; 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$.void_Function_HelixGroupBuilder, t6 = t6._precomputed1, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + for (t3 = t1.length, t7 = t5._precomputed1, t5 = t5._rest[1], t8 = type$.nullable_void_Function_HelixGroupBuilder, t9 = 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]; t10 = groups._copy_on_write_map$_map.$index(0, from_group_name); t10.toString; @@ -22337,9 +22958,8 @@ new_helix = $.$get$_helix_individual_reducers().call$3(t2, state, action); if (!new_helix.$eq(0, t2)) { t2 = helices.$ti; - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); helices_map = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); - t1 = t2._rest[0]._as(action.get$helix_idx()); + t1 = t2._precomputed1._as(action.get$helix_idx()); t2._rest[1]._as(new_helix); helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t1, new_helix); @@ -22357,14 +22977,13 @@ t1 = design.helices; t2 = t1._map$_map; t3 = t1.$ti; - 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 = t1.$ti; 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, t5.$ti._precomputed1), t6 = t3._rest[0], t3 = t3._rest[1], t7 = type$.nullable_void_Function_HelixBuilder, t1 = t1._map$_map, t8 = type$.void_Function_HelixBuilder, t9 = type$.Helix; t5.moveNext$0();) { + for (t1 = action.idx_replacements, t5 = t1.get$keys(0), t6 = t5._map, t5 = A.LinkedHashMapKeyIterator$(t6, t6._modifications, t5.$ti._precomputed1), t6 = t3._precomputed1, t3 = t3._rest[1], t7 = type$.nullable_void_Function_HelixBuilder, t1 = t1._map$_map, t8 = type$.void_Function_HelixBuilder, t9 = type$.Helix; t5.moveNext$0();) { t10 = t5.__js_helper$_current; t11 = t1.$index(0, t10); t11.toString; @@ -22392,7 +23011,7 @@ for (t9 = t10._precomputed1, changed_strand = false, d = 0; d < J.get$length$asx(substrands._copy_on_write_list$_list); ++d) { t10 = {}; substrand = J.$index$asx(substrands._copy_on_write_list$_list, d); - if (substrand instanceof A.Domain && t1.containsKey$1(0, substrand.helix)) { + if (substrand instanceof A._$Domain && t1.containsKey$1(0, substrand.helix)) { t10.domain = substrand; t11 = t1.$index(0, substrand.helix); t11.toString; @@ -22405,9 +23024,9 @@ 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) { + 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) { + 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; @@ -22419,13 +23038,13 @@ } if (d === J.get$length$asx(substrands._copy_on_write_list$_list) - 2) { t11 = J.get$length$asx(substrands._copy_on_write_list$_list); - t11 = J.$index$asx(substrands._copy_on_write_list$_list, t11 - 1) instanceof A.Extension; + 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); extension_3p = J.$index$asx(substrands._copy_on_write_list$_list, t11 - 1); - if (extension_3p instanceof A.Extension) { + 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; @@ -22463,10 +23082,10 @@ return design.rebuild$1(new A.helix_idx_change_reducer_closure5(new_groups, helices, strands)); }, change_groups(action, helices, design) { - var t2, t3, t4, t5, t6, t7, new_groups, t8, t9, t10, t11, t12, t13, t14, previous_is_default, helices_view_order_new, t15, t16, order_old_idx, new_group, + var t2, t3, t4, t5, t6, t7, new_groups, t8, t9, t10, t11, t12, t13, t14, previous_is_default, helices_view_order_new, t15, order_old_idx, new_group, t1 = type$.int, new_view_order = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); - for (t1 = action.idx_replacements, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = design.groups, t4 = t3._map$_map; t2.moveNext$0();) { + for (t1 = action.idx_replacements, t2 = t1.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = design.groups, t4 = t3._map$_map; t2.moveNext$0();) { t5 = t2.__js_helper$_current; t6 = helices._copy_on_write_map$_map.$index(0, t5); t6.toString; @@ -22484,9 +23103,8 @@ new_view_order.$indexSet(0, t5, t6); } t2 = t3.$ti; - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); new_groups = new A.CopyOnWriteMap(t3._mapFactory, t4, t2._eval$1("CopyOnWriteMap<1,2>")); - for (t3 = t3.get$keys(t3), t5 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t3.$ti._precomputed1), t5 = t1._map$_map, t6 = A._instanceType(t5)._eval$1("LinkedHashMapKeyIterable<1>"), t7 = t2._rest[0], t2 = t2._rest[1], t8 = type$.nullable_void_Function_HelixGroupBuilder, t9 = type$.void_Function_HelixGroupBuilder; t3.moveNext$0();) { + for (t3 = t3.get$keys(0), t5 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t3.$ti._precomputed1), t5 = t1._map$_map, t6 = A._instanceType(t5)._eval$1("LinkedHashMapKeyIterable<1>"), t7 = t2._precomputed1, t2 = t2._rest[1], t8 = type$.nullable_void_Function_HelixGroupBuilder, t9 = type$.void_Function_HelixGroupBuilder; t3.moveNext$0();) { t10 = t3.__js_helper$_current; t11 = t4.$index(0, t10); t11.toString; @@ -22516,25 +23134,24 @@ t14 = t12._map; t12 = new A.LinkedHashMapKeyIterator(t14, t14._modifications, A._instanceType(t12)._eval$1("LinkedHashMapKeyIterator<1>")); t12._cell = t14._first; - t14 = t13._precomputed1; + t13 = t13._precomputed1; for (; t12.moveNext$0();) { - t15 = t12.__js_helper$_current; - t16 = t11.__helices_view_order_inverse; - if (t16 == null) { - t16 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); - t11.set$__helices_view_order_inverse(t16); + t14 = t12.__js_helper$_current; + t15 = t11.__helices_view_order_inverse; + if (t15 == null) { + t15 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t11); + t11.set$__helices_view_order_inverse(t15); } - order_old_idx = t16._map$_map.$index(0, t15); + order_old_idx = t15._map$_map.$index(0, t14); if (order_old_idx != null) { - t15 = t5.$index(0, t15); - t15.toString; - t14._as(t15); + t14 = t5.$index(0, t14); + t14.toString; + t13._as(t14); 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); + J.$indexSet$ax(helices_view_order_new._copy_on_write_list$_list, order_old_idx, t14); } } if (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); } @@ -22593,14 +23210,13 @@ if (strand_creation != null) { t2 = helices._map$_map; t3 = helices.$ti; - 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 = action.offset; if (t2.$index(0, t1).min_offset > t4) { 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._precomputed1._as(t1); t3._rest[1]._as(t2); helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); @@ -22608,7 +23224,7 @@ } if (t2.$index(0, t1).max_offset <= t4) { 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._precomputed1._as(t1); t3._rest[1]._as(t2); helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); @@ -22628,7 +23244,7 @@ t5 = false; if (t5) { 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._precomputed1._as(t1); t3._rest[1]._as(t2); helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); @@ -22648,7 +23264,7 @@ 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._precomputed1._as(t1); t3._rest[1]._as(t2); helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t1, t2); @@ -22659,27 +23275,25 @@ return helices; }, first_replace_strands_reducer(helices, state, action) { - var t1, t2, t3, changed_strands, min_offsets, max_offsets, t4, t5, key, strand, t6, t7, helix_idx, t8, t9, helices_map, t10, t11, t12, + var t1, t2, changed_strands, min_offsets, max_offsets, t3, t4, t5, key, t6, t7, helix_idx, t8, t9, helices_map, 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 = t1.$ti; - 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 = helices._map$_map, t4 = type$.JSArray_int, t5 = type$.Strand; t1.moveNext$0();) { - key = A._asInt(t1.get$current(t1)); - strand = changed_strands._copy_on_write_map$_map.$index(0, key); - for (t6 = B.JSArray_methods.get$iterator((strand == null ? t5._as(strand) : strand).substrands._list); t6.moveNext$0();) { - t7 = t6.get$current(t6); - if (t7 instanceof A.Domain) { + changed_strands = new A.CopyOnWriteMap(t1._mapFactory, t2, t1.$ti._eval$1("CopyOnWriteMap<1,2>")); + t1 = type$.int; + min_offsets = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + max_offsets = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + for (t2 = t2.get$keys(0).get$iterator(0), t3 = helices._map$_map, t4 = type$.JSArray_int, t5 = type$.Strand; t2.moveNext$0();) { + key = A._asInt(t2.get$current(0)); + for (t6 = B.JSArray_methods.get$iterator(t5._as(changed_strands._copy_on_write_map$_map.$index(0, key)).substrands._list); t6.moveNext$0();) { + t7 = t6.get$current(0); + if (t7 instanceof A._$Domain) { helix_idx = t7.helix; t8 = t7.start; - if (t8 < t2.$index(0, helix_idx).min_offset) + if (t8 < t3.$index(0, helix_idx).min_offset) if (min_offsets.containsKey$1(0, helix_idx)) { t9 = min_offsets.$index(0, helix_idx); t9.toString; @@ -22688,7 +23302,7 @@ } else min_offsets.$indexSet(0, helix_idx, t8); t7 = t7.end; - if (t7 > t2.$index(0, helix_idx).max_offset) + if (t7 > t3.$index(0, helix_idx).max_offset) if (max_offsets.containsKey$1(0, helix_idx)) { t8 = max_offsets.$index(0, helix_idx); t8.toString; @@ -22699,12 +23313,11 @@ } } } - t1 = helices.$ti; - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); - helices_map = new A.CopyOnWriteMap(helices._mapFactory, t2, t1._eval$1("CopyOnWriteMap<1,2>")); - if (min_offsets._length > 0) - for (t2 = A.LinkedHashMapKeyIterator$(min_offsets, min_offsets._modifications, min_offsets.$ti._precomputed1), t4 = t1._rest[0], t5 = t1._rest[1], t6 = type$.nullable_void_Function_HelixBuilder, t7 = type$.void_Function_HelixBuilder, t8 = type$.Helix; t2.moveNext$0();) { - t9 = t2.__js_helper$_current; + t2 = helices.$ti; + helices_map = new A.CopyOnWriteMap(helices._mapFactory, t3, t2._eval$1("CopyOnWriteMap<1,2>")); + if (min_offsets.__js_helper$_length > 0) + for (t3 = A.LinkedHashMapKeyIterator$(min_offsets, min_offsets._modifications, min_offsets.$ti._precomputed1), t4 = t2._precomputed1, t5 = t2._rest[1], t6 = type$.nullable_void_Function_HelixBuilder, t7 = type$.void_Function_HelixBuilder, t8 = type$.Helix; t3.moveNext$0();) { + t9 = t3.__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)); @@ -22721,9 +23334,9 @@ helices_map._maybeCopyBeforeWrite$0(); helices_map._copy_on_write_map$_map.$indexSet(0, t9, t10); } - if (max_offsets._length > 0) - for (t2 = A.LinkedHashMapKeyIterator$(max_offsets, max_offsets._modifications, max_offsets.$ti._precomputed1), t4 = t1._rest[0], t1 = t1._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t2.moveNext$0();) { - t8 = t2.__js_helper$_current; + if (max_offsets.__js_helper$_length > 0) + for (t3 = A.LinkedHashMapKeyIterator$(max_offsets, max_offsets._modifications, max_offsets.$ti._precomputed1), t4 = t2._precomputed1, t2 = t2._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t3.moveNext$0();) { + t8 = t3.__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)); @@ -22736,20 +23349,19 @@ t5._as(t10).call$1(t11); t9 = t11._helix$_build$0(); t4._as(t8); - t1._as(t9); + 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); + return A.BuiltMap_BuiltMap$of(helices_map, t1, type$.Helix); }, reset_helices_offsets(helices, state) { - var helices_updated, original_helix_offsets, t2, t3, t4, t5, t6, t7, t8, current_helix_min_offset, t9, t10, t11, current_helix_max_offset, + var t2, t3, t4, t5, t6, t7, t8, current_helix_min_offset, t9, t10, t11, current_helix_max_offset, _s13_ = "default_group", - t1 = helices.$ti; - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); - helices_updated = new A.CopyOnWriteMap(helices._mapFactory, helices._map$_map, t1._eval$1("CopyOnWriteMap<1,2>")); - original_helix_offsets = state.ui_state.original_helix_offsets; - for (t2 = original_helix_offsets.get$keys(original_helix_offsets), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = original_helix_offsets._map$_map, t4 = t1._rest[0], t1 = t1._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t2.moveNext$0();) { + t1 = helices.$ti, + helices_updated = new A.CopyOnWriteMap(helices._mapFactory, helices._map$_map, t1._eval$1("CopyOnWriteMap<1,2>")), + original_helix_offsets = state.ui_state.original_helix_offsets; + for (t2 = original_helix_offsets.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = original_helix_offsets._map$_map, t4 = t1._precomputed1, t1 = t1._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t7 = type$.Helix; t2.moveNext$0();) { t8 = t2.__js_helper$_current; current_helix_min_offset = state.get$design().min_offset_of_strands_at$1(t8); t9 = t3.$index(0, t8)._list; @@ -22866,7 +23478,7 @@ 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, t1.$ti._precomputed1), t2 = type$.JSArray_int; t1.moveNext$0();) { + for (t1 = helices.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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();) @@ -22959,7 +23571,7 @@ 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 = helices.$ti; 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 = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("MapBuilder<1,2>")); helices_builder.$indexSet(0, t1, helix_new); return helices_builder.build$0(); }, @@ -22972,8 +23584,8 @@ return null; t1 = design.helices; t2 = t1._map$_map; - if (t2._length > 0) { - new_idx = A.IterableIntegerExtension_get_max(t1.get$keys(t1)) + 1; + if (t2.__js_helper$_length > 0) { + new_idx = A.IterableIntegerExtension_get_max(t1.get$keys(0)) + 1; min_offset = design.__min_offset; if (min_offset == null) { min_offset = A.Design.prototype.get$min_offset.call(design); @@ -23003,17 +23615,15 @@ 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 = t3.$ti; - 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._precomputed1._as(t5); t9._rest[1]._as(new_group); new_groups._maybeCopyBeforeWrite$0(); new_groups._copy_on_write_map$_map.$indexSet(0, t5, new_group); helix = A.Helix_Helix(t7.grid, action.grid_position, t5, new_idx, t4.invert_y, max_offset, min_offset, action.position); t4 = t1.$ti; - t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]); new_helices = new A.CopyOnWriteMap(t1._mapFactory, t2, t4._eval$1("CopyOnWriteMap<1,2>")); - t2 = t4._rest[0]._as(helix.idx); + t2 = t4._precomputed1._as(helix.idx); t4._rest[1]._as(helix); new_helices._maybeCopyBeforeWrite$0(); new_helices._copy_on_write_map$_map.$indexSet(0, t2, helix); @@ -23041,9 +23651,8 @@ 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 = t2.$ti; - 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._precomputed1._as(t3); t5._rest[1]._as(new_group); new_groups._maybeCopyBeforeWrite$0(); new_groups._copy_on_write_map$_map.$indexSet(0, t3, new_group); @@ -23064,9 +23673,8 @@ t1 = design.groups; t2 = t1._map$_map; t3 = t1.$ti; - 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, t1.$ti._precomputed1), t4 = t3._rest[0], t3 = t3._rest[1], t5 = type$.nullable_void_Function_HelixGroupBuilder, t6 = type$.void_Function_HelixGroupBuilder, t7 = helix_idxs._set; t1.moveNext$0();) { + for (t1 = t1.get$keys(0), t4 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t1.$ti._precomputed1), t4 = t3._precomputed1, t3 = t3._rest[1], t5 = type$.nullable_void_Function_HelixGroupBuilder, t6 = type$.void_Function_HelixGroupBuilder, t7 = helix_idxs._set; t1.moveNext$0();) { t8 = t1.__js_helper$_current; t9 = t2.$index(0, t8); t9.toString; @@ -23103,7 +23711,6 @@ type$.GridChange._as(action); t1 = helices._map$_map; t2 = helices.$ti; - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); new_helices = new A.CopyOnWriteMap(helices._mapFactory, t1, t2._eval$1("CopyOnWriteMap<1,2>")); t3 = action.group_name; t4 = state.get$design().groups._map$_map.$index(0, t3); @@ -23113,7 +23720,7 @@ geometry = state.get$design().geometry; t3 = state.get$design().get$helix_idxs_in_group()._map$_map.$index(0, t3); t3.toString; - for (t3 = t3._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t5 = t2._rest[0], t2 = t2._rest[1], t6 = action.grid, t7 = t6 === B.Grid_none, t8 = !t7, t4 = t4._precomputed1; t3.moveNext$0();) { + for (t3 = t3._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t5 = t2._precomputed1, t2 = t2._rest[1], t6 = action.grid, t7 = t6 === B.Grid_none, t8 = !t7, t4 = t4._precomputed1; t3.moveNext$0();) { t9 = t3.__interceptors$_current; if (t9 == null) t9 = t4._as(t9); @@ -23164,9 +23771,8 @@ 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.$ti; - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); new_helices_map = new A.CopyOnWriteMap(helices._mapFactory, helices._map$_map, t1._eval$1("CopyOnWriteMap<1,2>")); - for (t2 = helix_idxs_to_relax.get$iterator(helix_idxs_to_relax), t3 = t1._rest[0], t1 = t1._rest[1]; t2.moveNext$0();) { + for (t2 = helix_idxs_to_relax.get$iterator(helix_idxs_to_relax), t3 = t1._precomputed1, t1 = t1._rest[1]; t2.moveNext$0();) { t4 = t2.get$current(t2); t5 = new_helices_map._copy_on_write_map$_map.$index(0, t4); t5.toString; @@ -23216,7 +23822,7 @@ if (!new_helix.$eq(0, t3)) { t3 = helices.$ti; 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 = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("MapBuilder<1,2>")); helices_map.$indexSet(0, t1, new_helix); return helices_map.build$0(); } else @@ -23238,7 +23844,7 @@ if (!new_helix.$eq(0, t3)) { t3 = helices.$ti; 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 = new A.MapBuilder(helices._mapFactory, t2, helices, t3._eval$1("MapBuilder<1,2>")); helices_map.$indexSet(0, t1, new_helix); return helices_map.build$0(); } else @@ -23249,9 +23855,8 @@ type$.BuiltMap_int_Helix._as(helices); type$.MoveHelicesToGroup._as(action); t1 = helices.$ti; - t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]); helices_map = new A.CopyOnWriteMap(helices._mapFactory, helices._map$_map, t1._eval$1("CopyOnWriteMap<1,2>")); - for (t2 = action.helix_idxs._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t4 = t1._rest[0], t1 = t1._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t3 = t3._precomputed1; t2.moveNext$0();) { + for (t2 = action.helix_idxs._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t4 = t1._precomputed1, t1 = t1._rest[1], t5 = type$.nullable_void_Function_HelixBuilder, t6 = type$.void_Function_HelixBuilder, t3 = t3._precomputed1; t2.moveNext$0();) { t7 = t2.__interceptors$_current; if (t7 == null) t7 = t3._as(t7); @@ -23475,10 +24080,9 @@ t1 = design.groups; t2 = t1._map$_map; t3 = t1.$ti; - 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._precomputed1._as(group_name); t3._rest[1]._as(t2); new_groups._maybeCopyBeforeWrite$0(); new_groups._copy_on_write_map$_map.$indexSet(0, group_name, t2); @@ -23494,21 +24098,20 @@ this.new_groups = t0; }, inline_insertions_deletions_reducer(design, _) { - var t1, t2, t3, helices_new, t4, t5, strand_builders_new, helix_idx, strands, i, strand, strand0; + var t1, t2, helices_new, t3, t4, t5, strand_builders_new, helix_idx, strands, i, strand, strand0; type$.nullable_Design._as(design); type$.InlineInsertionsDeletions._as(_); if (design == null) return null; t1 = design.helices; t2 = t1._map$_map; - t3 = t1.$ti; - 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; - t1 = t3._list; - t4 = A._arrayInstanceType(t1); + helices_new = new A.CopyOnWriteMap(t1._mapFactory, t2, t1.$ti._eval$1("CopyOnWriteMap<1,2>")); + t1 = design.strands; + t3 = t1._list; + t4 = A._arrayInstanceType(t3); 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) + strand_builders_new = A.List_List$of(new A.MappedListIterable(t3, t4._eval$1("StrandBuilder(1)")._as(t1.$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.__js_helper$_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>"); @@ -23529,7 +24132,7 @@ return design.rebuild$1(new A.inline_insertions_deletions_reducer_closure1(helices_new, strands)); }, _inline_deletions_insertions_on_helix(design, helix_idx, helices_new, strands_new) { - var t2, t3, t4, t5, t6, t7, t8, 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, substrands, t9, t10, _i0, substrand, t11, t12, t13, delta_acc0, new_substrand, ss_idx, + var t2, t3, t4, t5, t6, t7, t8, 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, substrands, _i0, substrand, t9, t10, t11, t12, t13, delta_acc0, new_substrand, ss_idx, t1 = design.helices._map$_map.$index(0, helix_idx); t1.toString; t2 = type$.JSArray_int; @@ -23620,16 +24223,7 @@ 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); + B.JSArray_methods.sort$1(substrands, new A._inline_deletions_insertions_on_helix_closure4()); 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; @@ -23662,7 +24256,7 @@ 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 (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(); @@ -23678,7 +24272,7 @@ t10 = t9.$ti; t11 = t10._precomputed1; t11._as(new_substrand); - !$.$get$isSoundMode() && !t11._is(null); + $.$get$isSoundMode(); if (t9._listOwner != null) { t12 = t9.__ListBuilder__list_A; t12 === $ && A.throwLateFieldNI("_list"); @@ -23743,7 +24337,7 @@ t9 = t4.__interceptors$_current; if (t9 == null) t9 = t3._as(t9); - if (t9 instanceof A.Domain && t9.helix === t5 && t9.forward === t6 && t9.start === t7 && t9.end === t8) { + if (t9 instanceof A._$Domain && t9.helix === t5 && t9.forward === t6 && t9.start === t7 && t9.end === t8) { found = true; break; } @@ -23770,7 +24364,7 @@ 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); + t3.push(t2.get$current(0).offset); t2 = action.offset; if (!B.JSArray_methods.contains$1(t3, t2)) { t1 = t1._precomputed1._as(A.Insertion_Insertion(t2, 1)); @@ -23833,7 +24427,7 @@ 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, domain, strand_id, insertions_on_domain, t6, 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; + var insertions_on_strand_id_domain, t1, t2, t3, t4, t5, i, insertion, domain, strand_id, insertions_on_domain, t6, strands_builder, t7, t8, t9, t10, t11, t12, t13, t14, strand_idx, t15, substrands, insertions_on_domains, t16, t17, t18, existing_insertions, idx, t19, t20, new_domain, domain_idx, new_strand, strand; type$.BuiltList_Strand._as(strands); type$.AppState._as(state); type$.InsertionsLengthChange._as(action); @@ -23855,58 +24449,58 @@ } 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; + 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, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t12 = t2.__js_helper$_current; + t13 = state.get$design(); + t14 = t13.__strands_by_id; + if (t14 == null) { + t14 = A.Design.prototype.get$strands_by_id.call(t13); + t13.set$__strands_by_id(t14); + t13 = t14; } 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 = t15.$ti; - 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 = t18.$ti; - 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); - 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()); + t13 = t14; + t13 = t13._map$_map.$index(0, t12); + t13.toString; + strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t13), 0); + t14 = t13.substrands; + t15 = t14.$ti; + substrands = new A.CopyOnWriteList(true, t14._list, t15._eval$1("CopyOnWriteList<1>")); + insertions_on_domains = insertions_on_strand_id_domain.$index(0, t12); + for (t12 = new A.LinkedHashMapKeyIterator(insertions_on_domains, insertions_on_domains._modifications, A._instanceType(insertions_on_domains)._eval$1("LinkedHashMapKeyIterator<1>")), t12._cell = insertions_on_domains._first, t15 = t15._precomputed1; t12.moveNext$0();) { + t14 = t12.__js_helper$_current; + t16 = insertions_on_domains.$index(0, t14); + t16.toString; + t17 = t14.insertions; + t18 = t17.$ti; + existing_insertions = new A.CopyOnWriteList(true, t17._list, t18._eval$1("CopyOnWriteList<1>")); + for (t16 = J.get$iterator$ax(t16), t18 = t18._precomputed1; t16.moveNext$0();) { + t17 = t16.get$current(t16); + t18._as(t17); + idx = J.indexOf$2$asx(existing_insertions._copy_on_write_list$_list, t17, 0); + t19 = t10._as(new A.insertions_length_change_reducer_closure(action)); + t20 = new A.InsertionBuilder(); + t20._domain$_$v = t17; + t9._as(t19).call$1(t20); + t17 = t18._as(t20._domain$_build$0()); existing_insertions._copy_on_write_list$_maybeCopyBeforeWrite$0(); - J.$indexSet$ax(existing_insertions._copy_on_write_list$_list, idx, t18); + J.$indexSet$ax(existing_insertions._copy_on_write_list$_list, idx, t17); } - 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); + t16 = t8._as(new A.insertions_length_change_reducer_closure0(existing_insertions)); + t17 = new A.DomainBuilder(); + t17._domain$_$v = t14; + t7._as(t16).call$1(t17); + new_domain = t17._domain$_build$0(); + t15._as(t14); + domain_idx = J.indexOf$2$asx(substrands._copy_on_write_list$_list, t14, 0); + t15._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(); + t12 = t6._as(new A.insertions_length_change_reducer_closure1(substrands)); + t14 = new A.StrandBuilder(); + t14._strand$_$v = t13; + t5._as(t12).call$1(t14); + new_strand = t14._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) if (new_strand.__first_domain == null) @@ -23917,16 +24511,16 @@ new_strand.check_only_at_ends$0(); new_strand.check_not_adjacent_to_loopout$0(); t4._as(strand); - !$.$get$isSoundMode() && t12; + $.$get$isSoundMode(); 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))); + t12 = strands_builder.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t12, 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); + t12 = strands_builder.__ListBuilder__list_A; + t12 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t12, strand_idx, strand); } return strands_builder.build$0(); }, @@ -23963,7 +24557,7 @@ this.substrands = t0; }, load_dna_file_reducer(state, action) { - var design_new, error, stack_trace, error0, stack_trace0, t1, exception, error_message, new_state, design, side_selected_helix_idxs, t2, t3, new_selectables_store, new_filename, _box_0 = {}; + var design_new, error, stack_trace, error0, stack_trace0, exception, t1, error_message, new_state, design, side_selected_helix_idxs, t2, t3, new_selectables_store, new_filename, _box_0 = {}; _box_0.error_message = null; design_new = null; try { @@ -23975,7 +24569,6 @@ design_new = A.Design_from_cadnano_v2(type$.Map_String_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, action.content, null)), state.ui_state.storables.invert_y); break; } - t1 = null; } catch (exception) { t1 = A.unwrapException(exception); if (type$.IllegalDesignError._is(t1)) { @@ -23991,7 +24584,7 @@ t1.toString; B.Window_methods.alert$1(t1, "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; + error_message = "I encountered an error while reading the file " + t1 + ":\n\n" + $.$get$hline() + "\n* error type: " + J.get$runtimeType$(error0).toString$0(0) + "\n* error message: " + J.toString$0$(error0) + "\n" + $.$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; } @@ -24005,13 +24598,12 @@ 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) + if (state.maybe_design != null && design.helices._map$_map.__js_helper$_length < state.get$design().helices._map$_map.__js_helper$_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) @@ -24075,29 +24667,29 @@ return A._update_mouseover_datas_with_helix_rotation(t1, state, mouseover_datas, A.rotation_between_helices(t2, t3, action.forward, geometry), action.anchor); }, _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, + var new_helix, mouseover_datas_builder, t2, t3, t4, t5, i, mouseover_data, t6, t7, 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_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) { + for (t1 = mouseover_datas._list, t2 = mouseover_datas_builder.$ti, t3 = t2._precomputed1, t4 = type$.nullable_void_Function_MouseoverDataBuilder, t5 = type$.void_Function_MouseoverDataBuilder, 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()); - !$.$get$isSoundMode() && t6; + t6 = t5._as(new A._update_mouseover_datas_with_helix_rotation_closure0(new_helix)); + t7 = new A.MouseoverDataBuilder(); + t7._mouseover_data$_$v = mouseover_data; + t4._as(t6).call$1(t7); + t6 = t3._as(t7._mouseover_data$_build$0()); + $.$get$isSoundMode(); 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))); + t7 = mouseover_datas_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + mouseover_datas_builder.set$__ListBuilder__list_A(t2._as(A.List_List$from(t7, 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); + t7 = mouseover_datas_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t7, i, t6); } } return mouseover_datas_builder.build$0(); @@ -24169,7 +24761,7 @@ } 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; + 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; @@ -24299,9 +24891,8 @@ 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); - !$.$get$isSoundMode() && !t2._is(null); + strands_mutable.$ti._precomputed1._as(strand_new); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(strands_mutable.get$_safeList(), strand_idx, strand_new); return strands_mutable.build$0(); } else { @@ -24403,28 +24994,18 @@ 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) + if (J.get$last$ax(_box_0.substrands) instanceof A._$Loopout) { + for (first_dom = -1, i = 0; i < J.get$length$asx(_box_0.substrands) - 1; ++i) + 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); 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); - !$.$get$isSoundMode() && !t2._is(null); + strands_mutable.$ti._precomputed1._as(new_strand); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(strands_mutable.get$_safeList(), strand_idx, new_strand); return strands_mutable.build$0(); } else { @@ -24450,7 +25031,7 @@ 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"))); + end_pairs = A.find_end_pairs_to_connect(t1, A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetBase.E"))); t2 = type$.JSArray_Address; addresses_from = A._setArrayType([], t2); addresses_to = A._setArrayType([], t2); @@ -24554,7 +25135,7 @@ B.JSArray_methods.add$1(t7, 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, t4.$ti._precomputed1), t3 = t3._map$_map; t4.moveNext$0();) { + for (t3 = design.groups, t4 = t3.get$keys(0), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._precomputed1), t3 = t3._map$_map; t4.moveNext$0();) { t5 = t4.__js_helper$_current; t6 = t3.$index(0, t5); helices_view_order_inverse = t6.__helices_view_order_inverse; @@ -24715,7 +25296,7 @@ return A.swap_old_strands_for_new(strands, A._setArrayType([strand_3p, strand_5p], t1), A._setArrayType([new_strand], t1)); }, join_two_strands_with_substrands(strand_3p, strand_5p, substrands_new, properties_from_strand_3p) { - var color, idt, dna, t2, t3, mods_int, t4, t5, t6, t7, t8, strand_name, _null = null, + var color, idt, dna, t2, t3, mods_int, t4, t5, t6, t7, t8, strand_name, t1 = strand_3p.is_scaffold; if (t1 && !strand_5p.is_scaffold) properties_from_strand_3p = true; @@ -24723,30 +25304,28 @@ 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; + dna = null; + if (!(strand_3p.get$dna_sequence() == null && strand_5p.get$dna_sequence() == null)) + 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()); + } t2 = strand_3p.modifications_int; t3 = t2.$ti; - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); mods_int = new A.CopyOnWriteMap(t2._mapFactory, t2._map$_map, t3._eval$1("CopyOnWriteMap<1,2>")); - for (t2 = strand_5p.modifications_int, t4 = t2.get$keys(t2), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._precomputed1), t5 = t3._rest[0], t3 = t3._rest[1], t2 = t2._map$_map; t4.moveNext$0();) { + for (t2 = strand_5p.modifications_int, t4 = t2.get$keys(0), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._precomputed1), t5 = t3._precomputed1, t3 = t3._rest[1], t2 = t2._map$_map; t4.moveNext$0();) { t6 = t4.__js_helper$_current; t7 = t2.$index(0, t6); t7.toString; @@ -24765,9 +25344,9 @@ else if (t3 && strand_5p.name != null) strand_name = properties_from_strand_3p ? strand_name : strand_5p.name; else - strand_name = _null; + 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); + return A.Strand_Strand(substrands_new, false, color, dna, t1, null, strand_5p.modification_3p, strand_3p.modification_5p, mods_int, strand_name, idt); }, swap_old_strands_for_new(strands, strands_to_remove, strands_to_add) { var t2, _i, strand, t3, @@ -24912,14 +25491,15 @@ continue; t8 = state.get$design(); t9 = t8.__is_origami; + t10 = true; if (t9 == null ? t8.__is_origami = A.Design.prototype.get$is_origami.call(t8) : t9) { t8 = t7.is_scaffold; if (!(t8 && scaffold_selectable)) t8 = !t8 && staple_selectable; else - t8 = true; + t8 = t10; } else - t8 = true; + t8 = t10; if (t8) { if (t2.contains$1(0, B.SelectModeChoice_strand)) B.JSArray_methods.add$1(selected, t7); @@ -24934,7 +25514,7 @@ if (t2.contains$1(0, B.SelectModeChoice_extension_)) { t8 = t7.__extensions; if (t8 == null) { - t8 = A.Strand.prototype.get$extensions.call(t7, t7); + t8 = A.Strand.prototype.get$extensions.call(t7, 0); t7.set$__extensions(t8); } B.JSArray_methods.addAll$1(selected, t8); @@ -24975,7 +25555,7 @@ t8 = A._setArrayType([], t3); t9 = t7.__extensions; if (t9 == null) { - t9 = A.Strand.prototype.get$extensions.call(t7, t7); + t9 = A.Strand.prototype.get$extensions.call(t7, 0); t7.set$__extensions(t9); } t9 = t9._list; @@ -25031,7 +25611,7 @@ t8 = A._setArrayType([], t3); t9 = t7.__extensions; if (t9 == null) { - t9 = A.Strand.prototype.get$extensions.call(t7, t7); + t9 = A.Strand.prototype.get$extensions.call(t7, 0); t7.set$__extensions(t9); } t9 = t9._list; @@ -25158,7 +25738,7 @@ } } t2 = selectables_store.get$selected_strands()._set; - selected_strands = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + selected_strands = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetBase.E")); for (t2 = state.get$design().strands._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t4 = t1.$ti._eval$1("LinkedHashMapKeyIterator<1>"), t5 = action.exclude_scaffolds, t3 = t3._precomputed1; t2.moveNext$0();) { t6 = t2.__interceptors$_current; if (t6 == null) @@ -25209,7 +25789,7 @@ geometry = t1.geometry; if (geometry == null) geometry = state.get$design().geometry; - t1 = all_helices_in_displayed_group.get$values(all_helices_in_displayed_group); + t1 = all_helices_in_displayed_group.get$values(0); t2 = A._instanceType(t1); t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Box(Iterable.E)")._as(new A.helix_selections_adjust_reducer_closure(geometry, state)), t2._eval$1("Iterable.E"), type$.Box); all_bboxes = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); @@ -25217,9 +25797,9 @@ t1 = selection_box.current; t3 = Math.min(t2.x, t1.x); t1 = Math.min(t2.y, 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 = selection_box.get$width(0); + selection_box_as_box = A.Box$(t3, t1, selection_box.get$height(0), t2); + helices_overlapping = A.generalized_intersection_list(all_helices_in_displayed_group.get$values(0), 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")); @@ -25613,17 +26193,7 @@ if (typeof t5 !== "number") return t5.$add(); translation_helix_order = t5 + 1; - t2 = type$.nullable_void_Function_StrandsMoveBuilder; - t5 = 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; + for (t2 = type$.nullable_void_Function_StrandsMoveBuilder, t5 = type$.void_Function_StrandsMoveBuilder, t6 = type$.nullable_void_Function_AddressBuilder, t7 = type$.void_Function_AddressBuilder, strands_move_beneath = strands_move; translation_helix_order < t3.get$length(helices_view_order);) { t8 = t7._as(new A.compute_default_next_address_closure(t3.$index(helices_view_order, translation_helix_order))); t9 = new A.AddressBuilder(); t9._address$_$v = strands_move_beneath.current_address; @@ -25719,7 +26289,7 @@ t2 = t1.selectables_store.selected_items; 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); + selected_strands = A.BuiltList_BuiltList$from(new A.WhereIterable(t3, t4._eval$1("bool(SetBase.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(); t2 = state.get$design(); return A.StrandsMove_StrandsMove(t4.strands, action.copy, state.get$design().groups, t2.helices, t1.storables.strand_paste_keep_color, action.address, action.original_helices_view_order_inverse, selected_strands); @@ -25768,7 +26338,7 @@ 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; + num_helices_in_group = design.helices_in_group$1(t3)._map$_map.__js_helper$_length; t3 = strands_move.helices._map$_map; t5 = t3.$index(0, current_address_helix_idx); t5.toString; @@ -25849,13 +26419,13 @@ if (inBoundsNewMaxOffset < outOfBoundsNewMaxOffset) in_bounds_max_offset_changes.$indexSet(0, t11, inBoundsNewMaxOffset); } - if (out_of_bounds_min_offset_changes._length !== 0) + if (out_of_bounds_min_offset_changes.__js_helper$_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) + if (out_of_bounds_max_offset_changes.__js_helper$_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) + if (in_bounds_min_offset_changes.__js_helper$_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) + if (in_bounds_max_offset_changes.__js_helper$_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); }, @@ -25943,7 +26513,7 @@ delta_offset = t1.offset - t6.offset; delta_forward = t1.forward !== t6.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)); + helix_idx_to_substrands_fixed = A.construct_helix_idx_to_domains_map(strands_move.strands_fixed, t2.get$keys(0)); 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._list, t2 = helix_idx_to_substrands_fixed._map$_map, t5 = helix_idx_to_substrands_moving._map$_map, t6 = t1.$ti._precomputed1; t1.moveNext$0();) { t8 = t1._collection$_current; if (t8 == null) @@ -25969,16 +26539,7 @@ for (t13 = [true, false], t9 = t9.$ti._eval$1("bool(1)"), t14 = A._arrayInstanceType(t10), t15 = t14._eval$1("bool(1)"), t16 = t14._eval$1("WhereIterable<1>"), t17 = t14._eval$1("Point(1)"), t14 = t14._eval$1("MappedIterable<1,Point>"), t18 = t14._eval$1("Iterable.E"), t11 = t11.$ti._eval$1("bool(1)"), t19 = A._arrayInstanceType(t12), t20 = t19._eval$1("bool(1)"), t21 = t19._eval$1("WhereIterable<1>"), t22 = t19._eval$1("Point(1)"), t19 = t19._eval$1("MappedIterable<1,Point>"), t23 = t19._eval$1("Iterable.E"), t24 = t8.max_offset, t8 = t8.min_offset, _i = 0; _i < 2; ++_i) { $forward = t13[_i]; intervals_moving = A.List_List$of(new A.MappedIterable(new A.WhereIterable(t10, t15._as(t9._as(new A.is_allowable_closure(delta_forward, $forward))), t16), t17._as(new A.is_allowable_closure0(delta_offset)), t14), true, t18); - t25 = A._arrayInstanceType(intervals_moving); - t25._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_moving.immutable$list) - A.throwExpression(A.UnsupportedError$("sort")); - t25 = t25._precomputed1; - t26 = intervals_moving.length - 1; - if (t26 - 0 <= 32) - A.Sort__insertionSort(intervals_moving, 0, t26, A.strands_move_reducer__interval_comparator$closure(), t25); - else - A.Sort__dualPivotQuicksort(intervals_moving, 0, t26, A.strands_move_reducer__interval_comparator$closure(), t25); + B.JSArray_methods.sort$1(intervals_moving, A.strands_move_reducer__interval_comparator$closure()); t25 = intervals_moving.length; if (t25 !== 0) { if (0 >= t25) @@ -25991,16 +26552,7 @@ if (intervals_moving[t26].y >= t24) return false; intervals_fixed = A.List_List$of(new A.MappedIterable(new A.WhereIterable(t12, t20._as(t11._as(new A.is_allowable_closure1($forward))), t21), t22._as(new A.is_allowable_closure2()), t19), true, t23); - t25 = A._arrayInstanceType(intervals_fixed); - t25._eval$1("int(1,1)?")._as(A.strands_move_reducer__interval_comparator$closure()); - if (!!intervals_fixed.immutable$list) - A.throwExpression(A.UnsupportedError$("sort")); - t25 = t25._precomputed1; - t26 = intervals_fixed.length - 1; - if (t26 - 0 <= 32) - A.Sort__insertionSort(intervals_fixed, 0, t26, A.strands_move_reducer__interval_comparator$closure(), t25); - else - A.Sort__dualPivotQuicksort(intervals_fixed, 0, t26, A.strands_move_reducer__interval_comparator$closure(), t25); + B.JSArray_methods.sort$1(intervals_fixed, A.strands_move_reducer__interval_comparator$closure()); if (A.intersection(intervals_moving, intervals_fixed)) return false; } @@ -26083,25 +26635,25 @@ is_allowable_closure2: function is_allowable_closure2() { }, replace_strands_reducer(strands, action) { - var strands_builder, t1, t2, t3, t4, t5, t6, t7, t8; + var strands_builder, t1, t2, t3, t4, t5, t6, t7; type$.BuiltList_Strand._as(strands); type$.ReplaceStrands._as(action); 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, t2.$ti._precomputed1), t1 = t1._map$_map, 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.$index(0, t6); - t7.toString; - t4._as(t7); - !$.$get$isSoundMode() && t5; + for (t1 = action.new_strands, t2 = t1.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t1 = t1._map$_map, t3 = strands_builder.$ti, t4 = t3._precomputed1, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t5 = t2.__js_helper$_current; + t6 = t1.$index(0, t5); + t6.toString; + t4._as(t6); + $.$get$isSoundMode(); 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))); + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t7, true, t4))); strands_builder.set$_listOwner(null); } - t8 = strands_builder.__ListBuilder__list_A; - t8 === $ && A.throwLateFieldNI("_list"); - B.JSArray_methods.$indexSet(t8, t6, t7); + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t7, t5, t6); } return strands_builder.build$0(); }, @@ -26118,9 +26670,8 @@ return strands; strand = $.$get$strand_part_reducer().call$2(t1, action).initialize$0(0); strands_builder = A.ListBuilder_ListBuilder(strands, t2); - t1 = strands_builder.$ti._precomputed1; - t1._as(strand); - !$.$get$isSoundMode() && !t1._is(null); + strands_builder.$ti._precomputed1._as(strand); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(strands_builder.get$_safeList(), strand_idx, strand); return strands_builder.build$0(); }, @@ -26134,11 +26685,11 @@ t4 = t3._as(action.substrand); t1 = t1._list; substrand_idx = B.JSArray_methods.indexOf$2(t1, t4, 0); - if (t4 instanceof A.Domain) + if (t4 instanceof A._$Domain) substrand = t4.rebuild$1(new A.substrand_name_set_reducer_closure(action)); - else if (t4 instanceof A.Loopout) + else if (t4 instanceof A._$Loopout) substrand = t4.rebuild$1(new A.substrand_name_set_reducer_closure0(action)); - else if (t4 instanceof A.Extension) + else if (t4 instanceof A._$Extension) substrand = t4.rebuild$1(new A.substrand_name_set_reducer_closure1(action)); else throw A.wrapException(A.AssertionError$(string$.substr)); @@ -26158,11 +26709,11 @@ t4 = t3._as(action.substrand); t1 = t1._list; substrand_idx = B.JSArray_methods.indexOf$2(t1, t4, 0); - if (t4 instanceof A.Domain) + if (t4 instanceof A._$Domain) substrand = t4.rebuild$1(new A.substrand_label_set_reducer_closure(action)); - else if (t4 instanceof A.Loopout) + else if (t4 instanceof A._$Loopout) substrand = t4.rebuild$1(new A.substrand_label_set_reducer_closure0(action)); - else if (t4 instanceof A.Extension) + else if (t4 instanceof A._$Extension) substrand = t4.rebuild$1(new A.substrand_label_set_reducer_closure1(action)); else throw A.wrapException(A.AssertionError$(string$.substr)); @@ -26244,26 +26795,17 @@ move_strand(current_group, delta_forward, delta_offset, delta_view_order, original_helices_view_order_inverse, strand) { var is_moving, t2, t3, t4, i, t5, substrand, t6, new_view_order, domain_moved, new_substrand, _box_1 = {}, t1 = strand.substrands, - substrands = _box_1.substrands = new A.CopyOnWriteList(true, t1._list, t1.$ti._eval$1("CopyOnWriteList<1>")); + substrands = new A.CopyOnWriteList(true, t1._list, t1.$ti._eval$1("CopyOnWriteList<1>")); + _box_1.substrands = substrands; if (delta_forward) { - t1 = substrands.get$reversed(substrands); + t1 = substrands.get$reversed(0); _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; - t3 = original_helices_view_order_inverse._map$_map; - t4 = current_group.helices_view_order._list; - i = 0; - while (true) { - t5 = J.get$length$asx(_box_1.substrands); - if (typeof t5 !== "number") - return A.iae(t5); - if (!(i < t5)) - break; + for (t1 = type$.nullable_void_Function_DomainBuilder, t2 = type$.void_Function_DomainBuilder, t3 = original_helices_view_order_inverse._map$_map, t4 = current_group.helices_view_order._list, i = 0; i < J.get$length$asx(_box_1.substrands); ++i) { t5 = {}; substrand = J.$index$asx(_box_1.substrands, i); - if (substrand instanceof A.Domain) { + if (substrand instanceof A._$Domain) { t6 = substrand.helix; if (!t3.containsKey$1(0, t6) && 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) = " + t6)); @@ -26288,30 +26830,29 @@ } 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); }, 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; + var t1, t2, strands_builder, t3, t4, t5, t6, t7, t8, 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)) { 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); + 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, t4 = t4._eval$1("List<1>"); t3.moveNext$0();) { + t7 = t3.__js_helper$_current; + t8 = t1.__domains_moving_from_strand; + if (t8 == null) { + t8 = A.DomainsMove.prototype.get$domains_moving_from_strand.call(t1); + t1.set$__domains_moving_from_strand(t8); } - 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); + t8 = t8.$index(0, t7); + t8.toString; + domains = A.LinkedHashSet_LinkedHashSet$from(t8, A._arrayInstanceType(t8)._precomputed1); + strand_idx = B.JSArray_methods.indexOf$2(t6, t2._as(t7), 0); + new_strand = A.one_strand_domains_move_commit_reducer(state.get$design(), t7, 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) if (new_strand.__first_domain == null) @@ -26322,16 +26863,16 @@ new_strand.check_only_at_ends$0(); new_strand.check_not_adjacent_to_loopout$0(); t5._as(strand); - !$.$get$isSoundMode() && t7; + $.$get$isSoundMode(); 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))); + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + strands_builder.set$__ListBuilder__list_A(t4._as(A.List_List$from(t7, 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); + t7 = strands_builder.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t7, strand_idx, strand); } return strands_builder.build$0(); } else @@ -26344,7 +26885,7 @@ substrands = new A.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); for (t1 = domains_move.original_address, t3 = t1.helix_idx, t4 = domains_move.helices._map$_map, t5 = domains_move.current_address, t6 = t5.offset - t1.offset, t1 = t5.forward !== t1.forward, t2 = t2._precomputed1, t5 = t5.helix_idx, t7 = domains_move.groups._map$_map, t8 = design.helices._map$_map, t9 = design.groups._map$_map, i = 0; i < J.get$length$asx(substrands._copy_on_write_list$_list); ++i) { domain = J.$index$asx(substrands._copy_on_write_list$_list, i); - if (domain instanceof A.Domain && domains_on_strand.contains$1(0, domain)) { + if (domain instanceof A._$Domain && domains_on_strand.contains$1(0, domain)) { t10 = t8.$index(0, t3); t10.toString; t10 = t9.$index(0, t10.group); @@ -26389,7 +26930,7 @@ return strand.rebuild$1(new A.one_strand_domains_move_commit_reducer_closure(substrands)); }, strands_dna_ends_move_commit_reducer(strands, state, action) { - var move, t1, strands_builder, strands_affected, t2, t3, t4, t5, t6, t7, records, 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, _s5_ = "_list"; + var move, t1, strands_builder, strands_affected, t2, t3, t4, t5, t6, t7, records, strand_idx, ret, strand, strand0, t8, t9, t10, t11, t12, _i, record, offset, ss_idx, t13, strand_builder, substrand, substrand_builder, t14, t15, t16, t17, _null = null, _s5_ = "_list"; type$.BuiltList_Strand._as(strands); type$.AppState._as(state); move = type$.DNAEndsMoveCommit._as(action).dna_ends_move; @@ -26423,12 +26964,12 @@ strands_affected.add$1(0, t4); } 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 = t2.$ti._precomputed1, t7 = !t4._is(null), t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { - t8 = t2._collection$_current; - if (t8 == null) - t8 = t6._as(t8); - strand_idx = B.JSArray_methods.indexOf$2(t5, t1._as(t8), 0); - ret = A.single_strand_dna_ends_commit_stop_reducer(t8, move, state.get$design()); + 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 = t2.$ti._precomputed1, t3 = t3._eval$1("List<1>"); t2.moveNext$0();) { + t7 = t2._collection$_current; + if (t7 == null) + t7 = t6._as(t7); + 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)); @@ -26441,111 +26982,110 @@ strand.check_only_at_ends$0(); strand.check_not_adjacent_to_loopout$0(); t4._as(strand0); - !$.$get$isSoundMode() && t7; + $.$get$isSoundMode(); if (strands_builder._listOwner != null) { - t8 = strands_builder.__ListBuilder__list_A; - t8 === $ && A.throwLateFieldNI(_s5_); - strands_builder.set$__ListBuilder__list_A(t3._as(A.List_List$from(t8, true, t4))); + 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); } - t8 = strands_builder.__ListBuilder__list_A; - t8 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.$indexSet(t8, strand_idx, strand0); + 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, t6 = 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) { + for (t1 = records.length, t2 = type$.Insertion, t5 = type$.List_Insertion, t6 = type$.ListBuilder_Insertion, t7 = type$.int, t8 = type$.List_int, t9 = type$.ListBuilder_int, t10 = type$.Substrand, t11 = type$.List_Substrand, t12 = 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]; + t13 = strands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + if (!(strand_idx >= 0 && strand_idx < t13.length)) + return A.ioore(t13, strand_idx); + strand = t13[strand_idx]; 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]; + t13 = strand.__domains; + if (t13 == null) { + t13 = A.Strand.prototype.get$domains.call(strand); + strand.set$__domains(t13); + } + t13 = t13._list; + if (!(ss_idx >= 0 && ss_idx < t13.length)) + return A.ioore(t13, ss_idx); + substrand = t13[ss_idx]; 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))); + t13 = substrand_builder.get$_domain$_$this(); + t14 = t13._deletions; + if (t14 == null) { + t14 = new A.ListBuilder(t9); + t14.set$__ListBuilder__list_A(t8._as(A.List_List$from(B.List_empty, true, t7))); t14.set$_listOwner(_null); + t13.set$_deletions(t14); + t13 = t14; + } else + t13 = t14; + if (t13._listOwner != null) { + t14 = t13.__ListBuilder__list_A; + t14 === $ && A.throwLateFieldNI(_s5_); + t15 = t13.$ti; + t13.set$__ListBuilder__list_A(t15._eval$1("List<1>")._as(A.List_List$from(t14, true, t15._precomputed1))); + t13.set$_listOwner(_null); } - t14 = t14.__ListBuilder__list_A; - t14 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.remove$1(t14, offset); + t13 = t13.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.remove$1(t13, offset); } else { - t14 = substrand_builder.get$_domain$_$this(); - t15 = t14._insertions; - if (t15 == null) { - t15 = new A.ListBuilder(t6); - 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))); + t13 = substrand_builder.get$_domain$_$this(); + t14 = t13._insertions; + if (t14 == null) { + t14 = new A.ListBuilder(t6); + t14.set$__ListBuilder__list_A(t5._as(A.List_List$from(B.List_empty, true, t2))); t14.set$_listOwner(_null); + t13.set$_insertions(t14); + t13 = t14; + } else + t13 = t14; + t14 = t13.$ti; + t15 = t14._eval$1("bool(1)")._as(new A.strands_dna_ends_move_commit_reducer_closure(offset)); + if (t13._listOwner != null) { + t16 = t13.__ListBuilder__list_A; + t16 === $ && A.throwLateFieldNI(_s5_); + t13.set$__ListBuilder__list_A(t14._eval$1("List<1>")._as(A.List_List$from(t16, true, t14._precomputed1))); + t13.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) + t13 = t13.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + A._arrayInstanceType(t13)._eval$1("bool(1)")._as(t15); + if (!!t13.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); - B.JSArray_methods._removeWhere$2(t14, t16, true); + B.JSArray_methods._removeWhere$2(t13, t15, 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(); - t18 && !t16._is(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))); + t13 = strand_builder.get$_strand$_$this(); + t14 = t13._substrands; + if (t14 == null) { + t14 = new A.ListBuilder(t12); + t14.set$__ListBuilder__list_A(t11._as(A.List_List$from(B.List_empty, true, t10))); t14.set$_listOwner(_null); - } - t14 = t14.__ListBuilder__list_A; - t14 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.$indexSet(t14, ss_idx, t17); + t13.set$_substrands(t14); + t13 = t14; + } else + t13 = t14; + t14 = t13.$ti; + t15 = t14._precomputed1; + t16 = t15._as(substrand_builder._domain$_build$0()); + $.$get$isSoundMode(); + if (t13._listOwner != null) { + t17 = t13.__ListBuilder__list_A; + t17 === $ && A.throwLateFieldNI(_s5_); + t13.set$__ListBuilder__list_A(t14._eval$1("List<1>")._as(A.List_List$from(t17, true, t15))); + t13.set$_listOwner(_null); + } + t13 = t13.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t13, ss_idx, t16); 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) @@ -26557,7 +27097,6 @@ strand.check_only_at_ends$0(); strand.check_not_adjacent_to_loopout$0(); t4._as(strand0); - t18 && t7; 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); @@ -26567,105 +27106,103 @@ return strands_builder.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, t16, strand_idx, strand, t17, t18, t19, substrand_idx, substrands_builder, t20, extension_start_point, adjacent_domain, geometry, _s5_ = "_list"; + 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, adjacent_domain, geometry, _s5_ = "_list"; type$.BuiltList_Strand._as(strands); type$.AppState._as(state); type$.DNAExtensionsMoveCommit._as(action); t1 = strands.$ti._precomputed1; strands_builder = A.ListBuilder_ListBuilder(strands, t1); - for (t2 = action.dna_extensions_move, t3 = t2.moves._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t5 = strands_builder.$ti, t6 = t5._precomputed1, t7 = type$.nullable_void_Function_StrandBuilder, t8 = type$.void_Function_StrandBuilder, t9 = type$.nullable_void_Function_ExtensionBuilder, t10 = type$.void_Function_ExtensionBuilder, t11 = strands._list, t4 = t4._precomputed1, t12 = !t6._is(null), t5 = t5._eval$1("List<1>"); t3.moveNext$0();) { - t13 = t3.__interceptors$_current; - if (t13 == null) - t13 = t4._as(t13); + for (t2 = action.dna_extensions_move, t3 = t2.moves._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t5 = strands_builder.$ti, t6 = t5._precomputed1, t7 = type$.nullable_void_Function_StrandBuilder, t8 = type$.void_Function_StrandBuilder, t9 = type$.nullable_void_Function_ExtensionBuilder, t10 = type$.void_Function_ExtensionBuilder, t11 = strands._list, t4 = t4._precomputed1, t5 = t5._eval$1("List<1>"); t3.moveNext$0();) { + t12 = t3.__interceptors$_current; + if (t12 == null) + t12 = t4._as(t12); + 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.__substrand_to_strand; + t15 = t14.__end_to_extension; if (t15 == null) { - t15 = A.Design.prototype.get$substrand_to_strand.call(t14); - t14.set$__substrand_to_strand(t15); + t15 = A.Design.prototype.get$end_to_extension.call(t14); + t14.set$__end_to_extension(t15); t14 = t15; } else t14 = t15; - t15 = state.get$design(); - t16 = t15.__end_to_extension; - if (t16 == null) { - t16 = A.Design.prototype.get$end_to_extension.call(t15); - t15.set$__end_to_extension(t16); - t15 = t16; - } else - t15 = t16; - t16 = t13.dna_end; - t15 = t15._map$_map.$index(0, t16); - t15.toString; - t15 = t14._map$_map.$index(0, t15); - t15.toString; - strand_idx = B.JSArray_methods.indexOf$2(t11, t1._as(t15), 0); - t15 = strands_builder.__ListBuilder__list_A; - t15 === $ && A.throwLateFieldNI(_s5_); - if (!(strand_idx >= 0 && strand_idx < t15.length)) - return A.ioore(t15, strand_idx); - strand = t15[strand_idx]; - t15 = state.get$design(); - t14 = t15.__end_to_extension; - if (t14 == null) { - t14 = A.Design.prototype.get$end_to_extension.call(t15); - t15.set$__end_to_extension(t14); - } - t14 = t14._map$_map.$index(0, t16); + t15 = t12.dna_end; + t14 = t14._map$_map.$index(0, t15); t14.toString; - t15 = strand.substrands; - t17 = t15.$ti; - t18 = t17._precomputed1; - t19 = t15._list; - substrand_idx = B.JSArray_methods.indexOf$2(t19, t18._as(t14), 0); - substrands_builder = new A.ListBuilder(t17._eval$1("ListBuilder<1>")); - t20 = t17._eval$1("_BuiltList<1>"); - t17 = t17._eval$1("List<1>"); - if (t20._is(t15)) { - t20._as(t15); - substrands_builder.set$__ListBuilder__list_A(t17._as(t19)); - substrands_builder.set$_listOwner(t15); + t14 = t13._map$_map.$index(0, t14); + t14.toString; + strand_idx = B.JSArray_methods.indexOf$2(t11, 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; + 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(t17._as(A.List_List$from(t15, true, t18))); + substrands_builder.set$__ListBuilder__list_A(t16._as(A.List_List$from(t14, true, t17))); substrands_builder.set$_listOwner(null); } - extension_start_point = t13.attached_end_position; - adjacent_domain = t14.adjacent_domain; - t13 = state.get$design().helices._map$_map.$index(0, adjacent_domain.helix); - t13.toString; - t13 = state.get$design().groups._map$_map.$index(0, t13.group); - t13.toString; - geometry = t13.geometry; + extension_start_point = t12.attached_end_position; + adjacent_domain = t13.adjacent_domain; + t12 = state.get$design().helices._map$_map.$index(0, adjacent_domain.helix); + t12.toString; + t12 = state.get$design().groups._map$_map.$index(0, t12.group); + t12.toString; + geometry = t12.geometry; if (geometry == null) geometry = state.get$design().geometry; - t13 = t2.current_point_of$1(t16); - t13.toString; - t13 = t10._as(new A.strands_dna_extensions_move_commit_reducer_closure(A.compute_extension_length_and_angle_from_point(t13, extension_start_point, t14, adjacent_domain, geometry))); - t15 = new A.ExtensionBuilder(); - t15._extension$_$v = t14; - t9._as(t13).call$1(t15); - t13 = t18._as(t15._extension$_build$0()); - t14 = !$.$get$isSoundMode(); - t14 && !t18._is(null); + t12 = t2.current_point_of$1(t15); + t12.toString; + t12 = t10._as(new A.strands_dna_extensions_move_commit_reducer_closure(A.compute_extension_length_and_angle_from_point(t12, extension_start_point, t13, adjacent_domain, geometry))); + t14 = new A.ExtensionBuilder(); + t14._extension$_$v = t13; + t9._as(t12).call$1(t14); + t12 = t17._as(t14._extension$_build$0()); + $.$get$isSoundMode(); if (substrands_builder._listOwner != null) { - t15 = substrands_builder.__ListBuilder__list_A; - t15 === $ && A.throwLateFieldNI(_s5_); - substrands_builder.set$__ListBuilder__list_A(t17._as(A.List_List$from(t15, true, t18))); + t13 = substrands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + substrands_builder.set$__ListBuilder__list_A(t16._as(A.List_List$from(t13, true, t17))); substrands_builder.set$_listOwner(null); } - t15 = substrands_builder.__ListBuilder__list_A; - t15 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.$indexSet(t15, substrand_idx, t13); - t13 = t8._as(new A.strands_dna_extensions_move_commit_reducer_closure0(substrands_builder)); - t15 = new A.StrandBuilder(); - t15._strand$_$v = strand; - t7._as(t13).call$1(t15); - t13 = t6._as(t15._strand$_build$0()); - t14 && t12; + t13 = substrands_builder.__ListBuilder__list_A; + t13 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.$indexSet(t13, substrand_idx, t12); + t12 = t8._as(new A.strands_dna_extensions_move_commit_reducer_closure0(substrands_builder)); + t13 = new A.StrandBuilder(); + t13._strand$_$v = strand; + t7._as(t12).call$1(t13); + t12 = t6._as(t13._strand$_build$0()); if (strands_builder._listOwner != null) { strands_builder.set$__ListBuilder__list_A(t5._as(A.List_List$from(strands_builder.__ListBuilder__list_A, true, t6))); strands_builder.set$_listOwner(null); } - B.JSArray_methods.$indexSet(strands_builder.__ListBuilder__list_A, strand_idx, t13); + B.JSArray_methods.$indexSet(strands_builder.__ListBuilder__list_A, strand_idx, t12); } return strands_builder.build$0(); }, @@ -26677,7 +27214,7 @@ substrands = new A.CopyOnWriteList(true, t1._list, t2._eval$1("CopyOnWriteList<1>")); for (t1 = t2._precomputed1, t2 = all_move.moves, t3 = type$.nullable_void_Function_DomainBuilder, t4 = type$.void_Function_DomainBuilder, t5 = design.strands, t6 = t5.$ti._precomputed1, t5 = t5._list, i = 0; i < J.get$length$asx(substrands._copy_on_write_list$_list); ++i) { substrand = J.$index$asx(substrands._copy_on_write_list$_list, i); - if (substrand instanceof A.Domain) { + if (substrand instanceof A._$Domain) { t7 = substrand.__dnaend_start; if (t7 == null) t7 = substrand.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(substrand); @@ -26787,9 +27324,8 @@ 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); - !$.$get$isSoundMode() && !t1._is(null); + strands_builder.$ti._precomputed1._as(strand); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(strands_builder.get$_safeList(), strand_idx, strand); return strands_builder.build$0(); }, @@ -26847,11 +27383,11 @@ type$.Strand._as(strand); type$.ModificationAdd._as(action); mod = action.modification; - if (mod instanceof A.ModificationInternal) + 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) + 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) + 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)); @@ -26862,11 +27398,11 @@ type$.Strand._as(strand); type$.ModificationRemove._as(action); mod = action.modification; - if (mod instanceof A.ModificationInternal) + 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) + 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) + 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)); @@ -26877,11 +27413,11 @@ type$.Strand._as(strand); type$.ModificationEdit._as(action); mod = action.modification; - if (mod instanceof A.ModificationInternal) + 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) + 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) + 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)); @@ -26905,11 +27441,11 @@ t3 = t2._precomputed1; t1 = t1._list; substrand_idx = B.JSArray_methods.indexOf$2(t1, t3._as(substrand), 0); - if (substrand instanceof A.Domain) + 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) + 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) + 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)); @@ -26935,13 +27471,13 @@ if (t6 == null) t6 = t4._as(t6); t7 = t6.__id; - t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, t6) : t7); + t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, 0) : t7); } for (t4 = action.modifications._list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t6 = type$.nullable_void_Function_StrandBuilder, t7 = type$.void_Function_StrandBuilder, t5 = t5._precomputed1; t4.moveNext$0();) { t8 = t4.__interceptors$_current; t8 = (t8 == null ? t5._as(t8) : t8).strand; t9 = t8.__id; - strand_idx = B.JSArray_methods.indexOf$1(t3, t9 == null ? t8.__id = A.Strand.prototype.get$id.call(t8, t8) : t9); + strand_idx = B.JSArray_methods.indexOf$1(t3, t9 == null ? t8.__id = A.Strand.prototype.get$id.call(t8, 0) : t9); if (!(strand_idx >= 0 && strand_idx < t1.length)) return A.ioore(t1, strand_idx); strand = t1[strand_idx]; @@ -26979,13 +27515,13 @@ if (t6 == null) t6 = t4._as(t6); t7 = t6.__id; - t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, t6) : t7); + t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, 0) : t7); } for (t4 = action.modifications._list, t5 = A._arrayInstanceType(t4), t4 = new J.ArrayIterator(t4, t4.length, t5._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t6 = type$.nullable_void_Function_StrandBuilder, t7 = type$.void_Function_StrandBuilder, t5 = t5._precomputed1; t4.moveNext$0();) { t8 = t4.__interceptors$_current; t8 = (t8 == null ? t5._as(t8) : t8).strand; t9 = t8.__id; - strand_idx = B.JSArray_methods.indexOf$1(t3, t9 == null ? t8.__id = A.Strand.prototype.get$id.call(t8, t8) : t9); + strand_idx = B.JSArray_methods.indexOf$1(t3, t9 == null ? t8.__id = A.Strand.prototype.get$id.call(t8, 0) : t9); if (!(strand_idx >= 0 && strand_idx < t1.length)) return A.ioore(t1, strand_idx); strand = t1[strand_idx]; @@ -27021,14 +27557,14 @@ t4 = t2._as(t4); t5 = t4.strand; t6 = t5.__id; - if (!strand_id_to_mods.containsKey$1(0, t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6)) { + if (!strand_id_to_mods.containsKey$1(0, t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : t6)) { t6 = t5.__id; if (t6 == null) - t6 = t5.__id = A.Strand.prototype.get$id.call(t5, t5); + t6 = t5.__id = A.Strand.prototype.get$id.call(t5, 0); strand_id_to_mods.$indexSet(0, t6, A.LinkedHashSet_LinkedHashSet$_empty(t3)); } t6 = t5.__id; - strand_id_to_mods.$index(0, t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6).add$1(0, t4); + strand_id_to_mods.$index(0, t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : t6).add$1(0, t4); } t1 = strands._list; t2 = strands.$ti; @@ -27039,7 +27575,7 @@ if (t6 == null) t6 = t4._as(t6); t7 = t6.__id; - t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, t6) : t7); + t3.push(t7 == null ? t6.__id = A.Strand.prototype.get$id.call(t6, 0) : t7); } 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; @@ -27051,9 +27587,8 @@ strand = t1[strand_idx]; t8 = strand.modifications_int; t10 = t8.$ti; - t10 = t10._eval$1("@<1>")._bind$1(t10._rest[1]); mods_int = new A.CopyOnWriteMap(t8._mapFactory, t8._map$_map, t10._eval$1("CopyOnWriteMap<1,2>")); - for (t8 = A._instanceType(t9), t11 = new A._LinkedHashSetIterator(t9, t9._collection$_modifications, t8._eval$1("_LinkedHashSetIterator<1>")), t11._collection$_cell = t9._collection$_first, t9 = t10._rest[0], t10 = t10._rest[1], t8 = t8._precomputed1; t11.moveNext$0();) { + for (t8 = A._instanceType(t9), t11 = new A._LinkedHashSetIterator(t9, t9._collection$_modifications, t8._eval$1("_LinkedHashSetIterator<1>")), t11._collection$_cell = t9._collection$_first, t9 = t10._precomputed1, t10 = t10._rest[1], t8 = t8._precomputed1; t11.moveNext$0();) { t12 = t11._collection$_current; t12 = t9._as((t12 == null ? t8._as(t12) : t12).dna_idx); t10._as(t7); @@ -27260,34 +27795,34 @@ return A.state_result_after_applying_undo(state, action); }, state_result_after_applying_undo(state, action) { - var redo_stack, t2, t3, t4, t5, t6, i, t7, popped_item, t8, _s5_ = "_list", + var redo_stack, t2, t3, t4, t5, i, t6, popped_item, t7, _s5_ = "_list", new_design = state.get$design(), undo_redo = state.undo_redo, t1 = undo_redo.undo_stack, undo_stack = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); t1 = undo_redo.redo_stack; 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) { + 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>"), 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))); + t6 = undo_stack.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + undo_stack.set$__ListBuilder__list_A(t4._as(A.List_List$from(t6, 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)); - !$.$get$isSoundMode() && t6; + t6 = undo_stack.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + popped_item = B.JSArray_methods.removeLast$0(t6); + t6 = t3._as(A.UndoRedoItem_UndoRedoItem(popped_item.short_description, new_design)); + $.$get$isSoundMode(); 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))); + t7 = redo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + redo_stack.set$__ListBuilder__list_A(t2._as(A.List_List$from(t7, true, t3))); redo_stack.set$_listOwner(null); } - t8 = redo_stack.__ListBuilder__list_A; - t8 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.add$1(t8, t7); + t7 = redo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t7, t6); new_design = popped_item.design; } return A.create_new_state_with_new_design_and_undo_redo(state, new_design, undo_stack, redo_stack); @@ -27298,7 +27833,7 @@ 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)); }, 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 = {}; + var undo_redo, t1, t2, t3, undo_stack, redo_stack, t4, t5, t6, i, t7, popped_item, new_design, _s5_ = "_list", _box_0 = {}; type$.AppState._as(state); type$.Redo._as(action); undo_redo = state.undo_redo; @@ -27310,27 +27845,27 @@ t3 = undo_redo.undo_stack; undo_stack = A.ListBuilder_ListBuilder(t3, t3.$ti._precomputed1); redo_stack = A.ListBuilder_ListBuilder(t1, t1.$ti._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) { + 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>"), 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))); + t7 = redo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + redo_stack.set$__ListBuilder__list_A(t5._as(A.List_List$from(t7, 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); + t7 = redo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + popped_item = B.JSArray_methods.removeLast$0(t7); t2 = t4._as(A.UndoRedoItem_UndoRedoItem(popped_item.short_description, t2)); - !$.$get$isSoundMode() && t7; + $.$get$isSoundMode(); 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))); + t7 = undo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + undo_stack.set$__ListBuilder__list_A(t3._as(A.List_List$from(t7, true, t4))); undo_stack.set$_listOwner(null); } - t8 = undo_stack.__ListBuilder__list_A; - t8 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.add$1(t8, t2); + t7 = undo_stack.__ListBuilder__list_A; + t7 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t7, t2); new_design = popped_item.design; _box_0.new_design = new_design; } @@ -27620,29 +28155,27 @@ _AddressDifference_Object_BuiltJsonSerializable: function _AddressDifference_Object_BuiltJsonSerializable() { }, AppState__initializeBuilder(b) { - var t1, t2, t3; + var t1, t2; b.get$_app_state$_$this()._maybe_design = null; t1 = b.get$ui_state(); - t2 = type$.AppUIState; - t3 = t2._as($.$get$DEFAULT_AppUIState()); - A.ArgumentError_checkNotNull(t3, "other", t2); - t1._app_ui_state$_$v = t3; + 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; - t3 = $.$get$DEFAULT_UndoRedoBuilder(); - b.get$_app_state$_$this()._undo_redo = t3; + t2 = $.$get$DEFAULT_UndoRedoBuilder(); + b.get$_app_state$_$this()._undo_redo = t2; }, AppStateBuilder$() { - var t2, t3, t4, + var t2, t3, t1 = new A.AppStateBuilder(); t1.get$_app_state$_$this()._maybe_design = null; t2 = t1.get$ui_state(); - t3 = type$.AppUIState; - t4 = t3._as($.$get$DEFAULT_AppUIState()); - A.ArgumentError_checkNotNull(t4, "other", t3); - t2._app_ui_state$_$v = t4; + 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; - t4 = $.$get$DEFAULT_UndoRedoBuilder(); - t1.get$_app_state$_$this()._undo_redo = t4; + t3 = $.$get$DEFAULT_UndoRedoBuilder(); + t1.get$_app_state$_$this()._undo_redo = t3; return t1; }, AppState: function AppState() { @@ -27660,7 +28193,7 @@ _._error_message = _._undo_redo = _._ui_state = _._maybe_design = _._app_state$_$v = null; }, AppUIState__initializeBuilder(b) { - var t1, t2, t3; + 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; @@ -27679,7 +28212,6 @@ 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; @@ -27698,13 +28230,12 @@ 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 = type$.AppUIStateStorables; - t3 = t2._as($.$get$DEFAULT_AppUIStateStorable()); - A.ArgumentError_checkNotNull(t3, "other", t2); - t1._app_ui_state_storables$_$v = t3; + t2 = $.$get$DEFAULT_AppUIStateStorable(); + A.ArgumentError_checkNotNull(t2, "other", type$.AppUIStateStorables); + t1._app_ui_state_storables$_$v = t2; }, AppUIStateBuilder$() { - var t2, t3, t4, + 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; @@ -27724,7 +28255,6 @@ 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; @@ -27743,10 +28273,9 @@ 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 = type$.AppUIStateStorables; - t4 = t3._as($.$get$DEFAULT_AppUIStateStorable()); - A.ArgumentError_checkNotNull(t4, "other", t3); - t2._app_ui_state_storables$_$v = t4; + t3 = $.$get$DEFAULT_AppUIStateStorable(); + A.ArgumentError_checkNotNull(t3, "other", type$.AppUIStateStorables); + t2._app_ui_state_storables$_$v = t3; return t1; }, AppUIState: function AppUIState() { @@ -28168,12 +28697,12 @@ A.set_helices_min_max_offsets(t2, strands); t3 = _box_0.groups; A.assign_grids_to_helix_builders_from_groups(t3 == null ? _box_0.groups = A._calculate_groups_from_helix_builders(helix_builders, grid) : t3, t2); - t2 = t2.get$values(t2); + t2 = t2.get$values(0); t3 = type$.Helix; t4 = A._instanceType(t2); helices = A.MappedIterable_MappedIterable(t2, t4._eval$1("Helix(Iterable.E)")._as(new A.Design_Design_closure()), t4._eval$1("Iterable.E"), t3); t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - for (t1 = A._instanceType(helices), t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { + for (t1 = A._instanceType(helices), t2 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; if (t4 == null) t4 = t1._as(t4); @@ -28192,30 +28721,29 @@ return design; }, Design__initializeBuilder(b) { - var t1, t2, t3, + var t1, t2, _s13_ = "default_group"; b.get$_design0$_$this()._version = "0.19.5"; - t1 = new A.GeometryBuilder(); - t2 = type$.Geometry; - t3 = t2._as($.$get$default_geometry()); - A.ArgumentError_checkNotNull(t3, "other", t2); - t1._geometry$_$v = t3; - b.get$_design0$_$this()._geometry = t1; - t1 = type$.nullable_MapBuilder_int_Helix._as(A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix)); - b.get$_design0$_$this().set$_helices(t1); - t1 = type$.nullable_ListBuilder_Strand._as(A.ListBuilder_ListBuilder(B.List_empty, type$.Strand)); - b.get$_design0$_$this().set$_strands(t1); - t1 = type$.dynamic; - t3 = type$.String; - t1 = type$.nullable_MapBuilder_String_dynamic._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), t3, type$.Object)); - b.get$_design0$_$this().set$_unused_fields(t1); - t1 = type$.HelixGroup; - t1 = type$.nullable_MapBuilder_String_HelixGroup._as(A.MapBuilder_MapBuilder(A.LinkedHashMap_LinkedHashMap$_literal(["default_group", $.$get$DEFAULT_HelixGroup()], t3, t1), t3, t1)); - b.get$_design0$_$this().set$_groups(t1); - t1 = b.get$groups(); - t3 = b.get$groups().__MapBuilder__map_A; - t3 === $ && A.throwLateFieldNI("_map"); - t1.$indexSet(0, _s13_, t3.$index(0, _s13_).rebuild$1(new A.Design__initializeBuilder_closure())); + t1 = $.$get$default_geometry(); + 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())); }, Design__check_mutually_exclusive_fields(json_map) { var _i, pair, t2, key1, key2, @@ -28411,7 +28939,7 @@ 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); }, Design__groups_from_json(json_map, helix_builders_map, group_to_pitch_yaw, pitch_yaw_to_helices) { - var t4, t5, group_builders_map, groups_json, t6, t7, t8, t9, group_json, t10, t11, group_name, pitch, yaw, new_groups, group, helix_pitch, helix_yaw, helix_list, new_pitch, new_yaw, new_group_name, + var t4, group_builders_map, groups_json, t5, t6, t7, t8, t9, group_json, t10, t11, group_name, pitch, yaw, new_groups, group, helix_pitch, helix_yaw, helix_list, 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), @@ -28420,9 +28948,7 @@ t2 = $.$get$DEFAULT_HelixGroup(); t4 = new A.HelixGroupBuilder(); A.HelixGroup__initializeBuilder(t4); - t5 = type$.HelixGroup; - t5._as(t2); - A.ArgumentError_checkNotNull(t2, "other", t5); + 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); @@ -28443,7 +28969,7 @@ } A.ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map); if (A.Design__num_helix_groups(json_map) > 1) - for (t1 = J.get$entries$x(group_to_pitch_yaw), t1 = t1.get$iterator(t1); t1.moveNext$0();) { + for (t1 = group_to_pitch_yaw.get$entries(group_to_pitch_yaw), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); group_name = t2.key; t2 = t2.value; @@ -28462,7 +28988,7 @@ } else { new_groups = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); - t2 = group_builders_map.get$values(group_builders_map); + t2 = group_builders_map.get$values(0); 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$.double, t4 = type$.int, t5 = type$.dynamic; t2.moveNext$0();) { t6 = t2.get$current(t2); @@ -28515,7 +29041,7 @@ } 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], t3 = !using_groups; t1.moveNext$0();) { + for (t1 = helix_builders_map.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], t3 = !using_groups; t1.moveNext$0();) { t4 = t1.__internal$_current; if (t4 == null) t4 = t2._as(t4); @@ -28545,7 +29071,7 @@ (t7 == null ? t4._position_ = new A.Position3DBuilder() : t7).get$_position3d$_$this()._z = t5; } } - for (t1 = group_builders_map.get$values(group_builders_map), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = group_builders_map.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -28592,15 +29118,14 @@ version2 = A.get_version("0.13.0"); t2 = version1.major; t3 = version2.major; + position_x_z_should_swap = true; 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); @@ -28644,25 +29169,21 @@ } } A.Design_assign_modifications_to_strands(strands, strand_jsons, mods_5p, mods_3p, mods_int, all_mods); - t1 = unused_fields.$ti; - return A.Design_Design(geometry, B.Grid_none, groups_map, J.get$values$x(t.item1), invert_y, strands, new A.CopyOnWriteMap(unused_fields._mapFactory, unused_fields._map$_map, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + return A.Design_Design(geometry, B.Grid_none, groups_map, J.get$values$x(t.item1), invert_y, strands, new A.CopyOnWriteMap(unused_fields._mapFactory, unused_fields._map$_map, unused_fields.$ti._eval$1("CopyOnWriteMap<1,2>"))); }, 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, + var 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)) + _s32_ = " is not an internal modification", + legacy = all_mods.__js_helper$_length !== 0; + if (!legacy) + if (!(mods_5p.__js_helper$_length !== 0 || mods_3p.__js_helper$_length !== 0 || mods_int.__js_helper$_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]; @@ -28679,7 +29200,7 @@ 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)) + 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 { @@ -28690,7 +29211,7 @@ 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)) + 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)); } @@ -28711,7 +29232,7 @@ 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)) + 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 { @@ -28722,7 +29243,7 @@ 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)) + 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)); } @@ -28746,14 +29267,14 @@ key = mod_name; if (!all_mods.containsKey$1(0, key)) throw A.wrapException(A.IllegalDesignError$("modification " + mod_name + _s27_)); - if (!(all_mods.$index(0, key) instanceof A.ModificationInternal)) + if (!(all_mods.$index(0, key) instanceof A._$ModificationInternal)) throw A.wrapException(A.IllegalDesignError$("modification " + mod_name + _s32_)); mod = t7._as(all_mods.$index(0, key)); } else { key = !mods_int.containsKey$1(0, mod_name) ? "internal-" + mod_name : mod_name; if (!mods_int.containsKey$1(0, key)) throw A.wrapException(A.IllegalDesignError$("modification " + mod_name + _s27_)); - if (!(mods_int.$index(0, key) instanceof A.ModificationInternal)) + if (!(mods_int.$index(0, key) instanceof A._$ModificationInternal)) throw A.wrapException(A.IllegalDesignError$("modification " + mod_name + _s32_)); mod = t7._as(mods_int.$index(0, key)); } @@ -28810,7 +29331,7 @@ min_col = col; } t3 = type$.int; - helix_builders = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t3, type$.HelixBuilder); + helix_builders = A.LinkedHashMap_LinkedHashMap(_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); @@ -28836,7 +29357,7 @@ 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); + cadnano_helices = A.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, A._asInt(J.$index$asx(cadnano_helix, "num")), cadnano_helix); @@ -28856,7 +29377,7 @@ } } } - return A.Design_Design(_null, grid_type, _null, helix_builders.get$values(helix_builders), invert_y, strands, B.Map_empty1); + return A.Design_Design(_null, grid_type, _null, helix_builders.get$values(0), invert_y, strands, B.Map_empty1); }, 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; @@ -29022,19 +29543,12 @@ t7 = J.$index$asx(t7, 3); t7.toString; A._asInt(t7); + t8 = true; if (t6 === curr_helix) if (!(!direction_forward && t7 > curr_base)) if (!(direction_forward && t7 < 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; @@ -29110,7 +29624,7 @@ t4.toString; B.JSArray_methods.add$1(t5, t4); } - t1 = group_to_helix_idxs.get$values(group_to_helix_idxs); + t1 = group_to_helix_idxs.get$values(0); 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); @@ -29124,17 +29638,17 @@ }, ensure_helix_groups_in_groups_map(helix_builders_map, group_builders_map) { var t1, t2, t3; - for (t1 = helix_builders_map.get$values(helix_builders_map), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = helix_builders_map.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); if (!group_builders_map.containsKey$1(0, t3.get$_helix$_$this()._group)) - throw A.wrapException(A.IllegalDesignError$("helix " + A.S(t3.get$idx()) + " has group " + A.S(t3.get$group()) + ", which does not exist in the design.\nThe valid groups are: " + group_builders_map.get$keys(group_builders_map).join$1(0, ", "))); + throw A.wrapException(A.IllegalDesignError$("helix " + A.S(t3.get$idx()) + " has group " + A.S(t3.get$group()) + ", which does not exist in the design.\nThe valid groups are: " + group_builders_map.get$keys(0).join$1(0, ", "))); } }, assign_grids_to_helix_builders_from_groups(groups_map, helix_builders) { var t1, t2, t3, t4; - for (t1 = helix_builders.get$values(helix_builders), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = helix_builders.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -29144,10 +29658,10 @@ } }, 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", + 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, 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 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { + for (t2 = helix_builders.get$values(0), t3 = A._instanceType(t2), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; if (t4 == null) t4 = t3._as(t4); @@ -29208,40 +29722,13 @@ 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); + B.JSArray_methods.sort$0(identity); 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); + B.JSArray_methods.sort$0(sorted_helices_view_order); + B.JSArray_methods.sort$0(sorted_helix_idxs); 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; @@ -29741,9 +30228,9 @@ case "choose_autobreak_parameters": return B.DialogType_choose_autobreak_parameters; case "adjust_geometric_parameters_design": - return B.DialogType_0; + return B.DialogType_vhs; case "adjust_geometric_parameters_group": - return B.DialogType_ku2; + return B.DialogType_uti; case "create_new_helix_group": return B.DialogType_create_new_helix_group; case "adjust_current_helix_group": @@ -29807,9 +30294,9 @@ case "set_extension_name": return B.DialogType_set_extension_name; case "set_extension_display_length_angle": - return B.DialogType_2jN; + return B.DialogType_MG5; case "select_all_with_same_as_selected": - return B.DialogType_0i1; + return B.DialogType_2iH; default: throw A.wrapException(A.ArgumentError$($name, null)); } @@ -30285,9 +30772,9 @@ 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")); + deletions = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetBase.E")); t2 = A.LinkedHashSet_LinkedHashSet$from(insertions, type$.Insertion); - insertions = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetMixin.E")); + insertions = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetBase.E")); for (t1 = insertions.length, i = 0; i < t1; i = j) for (j = i + 1, j0 = j; j0 < t1; ++j0) { ins1 = insertions[i]; @@ -30650,9 +31137,9 @@ }, ExportDNAFormat_fromString(str) { var t1, t2, t3; - for (t1 = J.get$iterator$ax(B.Map_bv0.get$keys(B.Map_bv0)); t1.moveNext$0();) { + for (t1 = J.get$iterator$ax(B.Map_PL88f.get$keys(B.Map_PL88f)); t1.moveNext$0();) { t2 = t1.get$current(t1); - t3 = B.Map_bv0.$index(0, t2); + t3 = B.Map_PL88f.$index(0, t2); t3.toString; if (t3 === str) return t2; @@ -30697,12 +31184,12 @@ $async$temp2 = new A.ZipDecoder(); $async$temp3 = A; $async$temp4 = type$.List_int; - $async$temp5 = J; + $async$temp5 = A; $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); + decoder = $async$temp1._newSpreadsheetDecoder($async$temp2.decodeBuffer$3$password$verify($async$temp3.InputStream$($async$temp4._as($async$temp5.NativeUint8List_NativeUint8List$view($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) { @@ -30729,11 +31216,13 @@ 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; + t4 = 0; + t5 = 0; if (!on_final_plate && final_plate_less_than_min_required && num_strands_remaining0 === min_strands_per_plate) { ++t1; plate0 = t1; - t1 = 0; - t2 = 0; + t1 = t4; + t2 = t5; } else { if (column_major_plate) { ++t2; @@ -30742,7 +31231,7 @@ if (t2 === A.cols_of(plate_type).length) { ++t1; t2 = t1; - t1 = 0; + t1 = t5; } else { t0 = t2; t2 = t1; @@ -30750,7 +31239,7 @@ } t3 = t2; t2 = t1; - t1 = 0; + t1 = t4; } else { t0 = t3; t3 = t1; @@ -30764,14 +31253,14 @@ if (t2 === A.rows_of(plate_type).length) { ++t1; t2 = t1; - t1 = 0; + t1 = t4; } else { t0 = t2; t2 = t1; t1 = t0; } t3 = t2; - t2 = 0; + t2 = t5; } else { t0 = t3; t3 = t1; @@ -30888,9 +31377,9 @@ }, StrandOrder_fromString(str) { var t1, t2, t3; - for (t1 = J.get$iterator$ax(B.Map_yHyvP.get$keys(B.Map_yHyvP)); t1.moveNext$0();) { + for (t1 = J.get$iterator$ax(B.Map_wA43h.get$keys(B.Map_wA43h)); t1.moveNext$0();) { t2 = t1.get$current(t1); - t3 = B.Map_yHyvP.$index(0, t2); + t3 = B.Map_wA43h.$index(0, t2); t3.toString; if (t3 === str) return t2; @@ -31074,19 +31563,18 @@ _GridPosition_Object_BuiltJsonSerializable: function _GridPosition_Object_BuiltJsonSerializable() { }, HelixGroup__initializeBuilder(b) { - var t1, t2, t3; + var t1, t2; b.get$_group$_$this()._group$_grid = B.Grid_none; - t1 = new A.Position3DBuilder(); - t2 = type$.Position3D; - t3 = t2._as($.$get$Position3D_origin()); - A.ArgumentError_checkNotNull(t3, "other", t2); - t1._position3d$_$v = t3; - b.get$_group$_$this()._group$_position = t1; + t1 = $.$get$Position3D_origin(); + 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; - t1 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); - b.get$_group$_$this().set$_group$_helices_view_order(t1); + t2 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); + b.get$_group$_$this().set$_group$_helices_view_order(t2); b.get$_group$_$this()._group$_geometry = null; }, HelixGroup_HelixGroup(geometry, grid, helices_view_order, pitch, position, roll, yaw) { @@ -31112,7 +31600,7 @@ 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_))); + throw A.wrapException(A.IllegalDesignError$("number of helices (" + 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); @@ -31133,20 +31621,19 @@ return A.HelixGroup_HelixGroup(geometry_map != null ? A.Geometry_from_json(geometry_map) : _null, grid, helices_view_order, pitch, position, roll, yaw); }, HelixGroupBuilder$() { - var t2, t3, t4, + var t2, t3, t1 = new A.HelixGroupBuilder(); t1.get$_group$_$this()._group$_grid = B.Grid_none; - t2 = new A.Position3DBuilder(); - t3 = type$.Position3D; - t4 = t3._as($.$get$Position3D_origin()); - A.ArgumentError_checkNotNull(t4, "other", t3); - t2._position3d$_$v = t4; - t1.get$_group$_$this()._group$_position = t2; + t2 = $.$get$Position3D_origin(); + 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; - t2 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); - t1.get$_group$_$this().set$_group$_helices_view_order(t2); + t3 = type$.nullable_ListBuilder_int._as(A.ListBuilder_ListBuilder(B.List_empty, type$.int)); + t1.get$_group$_$this().set$_group$_helices_view_order(t3); t1.get$_group$_$this()._group$_geometry = null; return t1; }, @@ -31243,7 +31730,7 @@ }, HelixGroupMove_HelixGroupMove(geometry, group, group_name, helices, original_mouse_point) { var t1; - if (helices._map$_map._length === 0) + if (helices._map$_map.__js_helper$_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, geometry)).call$1(t1); @@ -31381,15 +31868,14 @@ _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields: function _Loopout_Object_SelectableMixin_BuiltJsonSerializable_UnusedFields() { }, Modification_mod_to_json_serializable(mod, suppress_indent) { - var t2, t3, + var t2, 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.$ti; - t1.addAll$1(0, new A.CopyOnWriteMap(t2._mapFactory, t2._map$_map, t3._eval$1("@<1>")._bind$1(t3._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + t1.addAll$1(0, new A.CopyOnWriteMap(t2._mapFactory, t2._map$_map, t2.$ti._eval$1("CopyOnWriteMap<1,2>"))); return t1; }, Modification_from_json(json_map) { @@ -31874,10 +32360,6 @@ }, _$SelectModeChoiceSerializer: function _$SelectModeChoiceSerializer() { }, - SelectModeState_add_selectable_css_selectors(mode) { - }, - SelectModeState_remove_selectable_css_selectors(mode) { - }, 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)); @@ -31916,76 +32398,85 @@ this._modes = this._select_mode_state$_$v = null; }, end_type_selectable(end) { - var t2, _s5_ = "store", - t1 = end.is_5p; + var t3, _s5_ = "store", _s6_ = "_state", + t1 = end.is_5p, + t2 = false; 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_5p_strand); + } + t3 = true; if (!t2) { + t2 = false; 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_5p_domain); + } if (!t2) { t1 = !t1; + t2 = false; 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_end_3p_strand); + } 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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; + t1 = t3; } else - t1 = true; + t1 = t3; } else - t1 = true; + t1 = t3; return t1; }, origami_type_selectable(selectable) { - var _s5_ = "store", + var _s5_ = "store", _s6_ = "_state", t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - if (!t1.get$state(t1).get$design().get$is_origami()) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + return 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + return t1.ui_state.storables.select_mode_state.modes._set.contains$1(0, B.SelectModeChoice_staple); } }, 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; + $async$returnValue, selected_strands, all_traits, t2, t3, t4, items, idx, results, traits_for_selection, trait, 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); @@ -31995,7 +32486,9 @@ // 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands(); selected_strands = A.BuiltList_BuiltList$from(t1, t1.$ti._precomputed1); if (selected_strands._list.length === 0) { t1 = window; @@ -32013,13 +32506,12 @@ 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(t4, idx, A.DialogCheckbox_DialogCheckbox(all_traits[idx].get$description(0), "", 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_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, 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); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "Select all strands with same traits as currently selected strand(s)", B.DialogType_2iH, true)), $async$ask_for_select_all_with_same_as_selected); case 3: // returning from await. results = $async$result; @@ -32369,7 +32861,7 @@ 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) + if (first_ss instanceof A._$Domain) first_dom = first_ss; else { t1 = builder.get$substrands().__ListBuilder__list_A; @@ -32421,7 +32913,7 @@ if (!(i < t10.length)) return A.ioore(t10, i); substrand = t10[i]; - t10 = substrand instanceof A.Loopout; + t10 = substrand instanceof A._$Loopout; if (t10) { if (substrand.prev_domain_idx === i - 1) { t11 = substrand.__next_domain_idx; @@ -32449,7 +32941,7 @@ t12 = t11.$ti; t13 = t12._precomputed1; t13._as(loopout); - !$.$get$isSoundMode() && !t13._is(null); + $.$get$isSoundMode(); if (t11._listOwner != null) { t14 = t11.__ListBuilder__list_A; t14 === $ && A.throwLateFieldNI(_s5_); @@ -32461,7 +32953,7 @@ B.JSArray_methods.$indexSet(t11, i, loopout); } } - if (substrand instanceof A.Domain) { + if (substrand instanceof A._$Domain) { t10 = builder.get$_strand$_$this(); t11 = t10._substrands; if (t11 == null) { @@ -32479,7 +32971,7 @@ t11 = t10.$ti; t13 = t11._precomputed1; t12 = t13._as(t12._domain$_build$0()); - !$.$get$isSoundMode() && !t13._is(null); + $.$get$isSoundMode(); if (t10._listOwner != null) { t14 = t10.__ListBuilder__list_A; t14 === $ && A.throwLateFieldNI(_s5_); @@ -32507,7 +32999,7 @@ t11 = t10.$ti; t13 = t11._precomputed1; t12 = t13._as(t12._loopout$_build$0()); - !$.$get$isSoundMode() && !t13._is(null); + $.$get$isSoundMode(); if (t10._listOwner != null) { t14 = t10.__ListBuilder__list_A; t14 === $ && A.throwLateFieldNI(_s5_); @@ -32517,7 +33009,7 @@ t10 = t10.__ListBuilder__list_A; t10 === $ && A.throwLateFieldNI(_s5_); B.JSArray_methods.$indexSet(t10, i, t12); - } else if (substrand instanceof A.Extension) { + } else if (substrand instanceof A._$Extension) { t10 = builder.get$_strand$_$this(); t11 = t10._substrands; if (t11 == null) { @@ -32535,7 +33027,7 @@ t11 = t10.$ti; t13 = t11._precomputed1; t12 = t13._as(t12._extension$_build$0()); - !$.$get$isSoundMode() && !t13._is(null); + $.$get$isSoundMode(); if (t10._listOwner != null) { t14 = t10.__ListBuilder__list_A; t14 === $ && A.throwLateFieldNI(_s5_); @@ -32551,7 +33043,7 @@ } }, Strand_from_json(json_map) { - var t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, start_dna_idx_ss, i, substrand_json, t19, end_dna_idx_ss, num_bases, display_length, display_angle, $name, label, dna_sequence, color, unused_fields, t20, t21, t22, ext, ssb, num_insertions, loopouts, loopout_num_bases, lb, adjacent_domain, vendor_fields_dict, vendor_fields, strand, _null = null, + var t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, start_dna_idx_ss, i, substrand_json, t19, end_dna_idx_ss, num_bases, display_length, display_angle, $name, label, dna_sequence, color, unused_fields, t20, t21, ext, ssb, t22, 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", @@ -32592,23 +33084,21 @@ color = A.parse_json_color(t19); } else color = _null; - unused_fields = A.unused_fields_map(substrand_json, B.List_zNb); + unused_fields = A.unused_fields_map(substrand_json, B.List_upM); A._asInt(num_bases); t19 = A.Domain_Domain(_null, 0, true, 0, _null, false, false, false, 0); if (unused_fields._mapOwner == null) { t20 = unused_fields.__MapBuilder__map_A; t20 === $ && A.throwLateFieldNI("_map"); - t21 = unused_fields.$ti; - unused_fields.set$_mapOwner(new A._BuiltMap(unused_fields._mapFactory, t20, t21._eval$1("@<1>")._bind$1(t21._rest[1])._eval$1("_BuiltMap<1,2>"))); + unused_fields.set$_mapOwner(new A._BuiltMap(unused_fields._mapFactory, t20, unused_fields.$ti._eval$1("_BuiltMap<1,2>"))); } t20 = unused_fields._mapOwner; t21 = t20._map$_map; - t22 = A._instanceType(t20); - ext = A.Extension_Extension(t19, color, display_angle, display_length, dna_sequence, false, false, label, $name, num_bases, new A.CopyOnWriteMap(t20._mapFactory, t21, t22._eval$1("@<1>")._bind$1(t22._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); - t22 = t14._as(new A.Strand_from_json_closure(i === 0)); + ext = A.Extension_Extension(t19, color, display_angle, display_length, dna_sequence, false, false, label, $name, num_bases, new A.CopyOnWriteMap(t20._mapFactory, t21, A._instanceType(t20)._eval$1("CopyOnWriteMap<1,2>"))); + t20 = t14._as(new A.Strand_from_json_closure(i === 0)); t21 = new A.ExtensionBuilder(); t21._extension$_$v = ext; - t13._as(t22).call$1(t21); + t13._as(t20).call$1(t21); ext = t21._extension$_build$0(); B.JSArray_methods.$indexSet(t6, i, ext); B.JSArray_methods.$indexSet(t1, i, true); @@ -32619,8 +33109,6 @@ ssb = A.Domain_from_json(t7._as(substrand_json)); ssb.get$_domain$_$this()._is_first = i === 0; t19 = t5.get$length(substrand_jsons); - if (typeof t19 !== "number") - return t19.$sub(); ssb.get$_domain$_$this()._is_last = i === t19 - 1; t19 = ssb.get$_domain$_$this(); t20 = t19._insertions; @@ -32671,14 +33159,7 @@ 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; + for (t2 = type$.nullable_MapBuilder_String_dynamic, i = 0; i < t5.get$length(substrand_jsons); ++i) { substrand_json = t5.$index(substrand_jsons, i); t3 = J.getInterceptor$x(substrand_json); if (t3.containsKey$1(substrand_json, _s7_)) { @@ -32704,7 +33185,6 @@ 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; @@ -32713,45 +33193,38 @@ B.JSArray_methods.$indexSet(t6, t3, t5); B.JSArray_methods.$indexSet(t1, t3, true); } - for (t2 = type$.Extension, i = 0; i < num_substrands; ++i) { + for (i = 0; i < num_substrands; ++i) { if (!t1[i]) A.throwExpression(A.StateError$("Item at index " + i + _s25_)); - if (!(i < num_substrands)) - return A.ioore(t6, i); - t3 = t6[i]; - t3.toString; - if (t3 instanceof A.Extension) { - t2._as(t3); - if (t3.is_5p) { - t5 = i + 1; - if (!(t5 < num_substrands)) - return A.ioore(t1, t5); - if (!t1[t5]) - A.throwExpression(A.StateError$("Item at index " + t5 + _s25_)); - if (!(t5 < num_substrands)) - return A.ioore(t6, t5); - t5 = t6[t5]; - t5.toString; - t4._as(t5); - adjacent_domain = t5; + t2 = t6[i]; + t2.toString; + if (t2 instanceof A._$Extension) { + if (t2.is_5p) { + t3 = i + 1; + if (!(t3 < num_substrands)) + return A.ioore(t1, t3); + if (!t1[t3]) + A.throwExpression(A.StateError$("Item at index " + t3 + _s25_)); + t3 = t6[t3]; + t3.toString; + t4._as(t3); + adjacent_domain = t3; } else { - t5 = i - 1; - if (!(t5 >= 0)) - return A.ioore(t1, t5); - if (!t1[t5]) - A.throwExpression(A.StateError$("Item at index " + t5 + _s25_)); - if (!(t5 < num_substrands)) - return A.ioore(t6, t5); - t5 = t6[t5]; - t5.toString; - t4._as(t5); - adjacent_domain = t5; + t3 = i - 1; + if (!(t3 >= 0)) + return A.ioore(t1, t3); + if (!t1[t3]) + A.throwExpression(A.StateError$("Item at index " + t3 + _s25_)); + t3 = t6[t3]; + t3.toString; + t4._as(t3); + adjacent_domain = t3; } - t5 = t14._as(new A.Strand_from_json_closure0(adjacent_domain)); - t8 = new A.ExtensionBuilder(); - t8._extension$_$v = t3; - t13._as(t5).call$1(t8); - B.JSArray_methods.$indexSet(t6, i, t8._extension$_build$0()); + t3 = t14._as(new A.Strand_from_json_closure0(adjacent_domain)); + t5 = new A.ExtensionBuilder(); + t5._extension$_$v = t2; + t13._as(t3).call$1(t5); + B.JSArray_methods.$indexSet(t6, i, t5._extension$_build$0()); B.JSArray_methods.$indexSet(t1, i, true); } } @@ -32772,9 +33245,9 @@ $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) + 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) + 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; }, @@ -32929,7 +33402,6 @@ t1.push(t5); } strands_fixed = t1; - copy = false; } 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); @@ -33048,7 +33520,7 @@ 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); + unused_fields = A.unused_fields_map(json_map, B.List_1YD); A._asString(scale); A._asString(purification); t1 = A.VendorFields_VendorFields(A._asStringQ(plate), purification, scale, A._asStringQ(well)); @@ -33106,10 +33578,12 @@ return t1.group; }, are_all_close(x1s, x2s) { - var t2, + var t2, t3, t4, 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)); + for (t2 = A.zip(A._setArrayType([x1s, x2s], type$.JSArray_Iterable_double), type$.double), t3 = t2.$ti, t2 = new A._SyncStarIterator(t2._outerHelper(), t3._eval$1("_SyncStarIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { + t4 = t2._async$_current; + t1.push(t4 == null ? t3._as(t4) : t4); + } return B.JSArray_methods.every$1(t1, new A.are_all_close_closure(1e-9)); }, is_increasing(items, $T) { @@ -33202,7 +33676,9 @@ // Function start t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - if (t1.get$state(t1).ui_state.dialog != null) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.dialog != null) $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); t1 = new A._Future($.Zone__current, type$._Future_nullable_List_DialogItem); t2 = type$.void_Function_DialogBuilder._as(new A.dialog_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_List_DialogItem))); @@ -33250,7 +33726,7 @@ t1 = true; if (t1) { t1 = A._setArrayType([], type$.JSArray_int); - for (t2 = helices.get$values(helices), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { + for (t2 = helices.get$values(0), t3 = A._instanceType(t2), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; t1.push((t4 == null ? t3._as(t4) : t4).idx); } @@ -33258,7 +33734,7 @@ } 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, t2.$ti._precomputed1), t3 = helices._map$_map, t4 = groups._map$_map, geometry = design.geometry; t2.moveNext$0();) { + for (t2 = groups.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = helices._map$_map, t4 = groups._map$_map, geometry = design.geometry; t2.moveNext$0();) { t5 = t4.$index(0, t2.__js_helper$_current); t5.toString; geometry0 = t5.geometry; @@ -33426,7 +33902,7 @@ t3 = helices_in_group._f; min_offset = t3.call$1(t2.get$first(t1)).min_offset; max_offset = t3.call$1(t2.get$first(t1)).max_offset; - for (t4 = A._instanceType(helices_in_group), t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]), t3 = new A.MappedIterator(t2.get$iterator(t1), t3, t4._eval$1("MappedIterator<1,2>")), t4 = t4._rest[1]; t3.moveNext$0();) { + for (t4 = A._instanceType(helices_in_group), t3 = new A.MappedIterator(t2.get$iterator(t1), t3, t4._eval$1("MappedIterator<1,2>")), t4 = t4._rest[1]; t3.moveNext$0();) { t1 = t3.__internal$_current; if (t1 == null) t1 = t4._as(t1); @@ -33699,14 +34175,13 @@ return new A.Point(t1.$index(ret, 0), t1.$index(ret, 1), type$.Point_double); }, get_scadnano_stylesheet() { - var t1, t2, _i, stylesheet, t3, t4; + var t1, t2, _i, stylesheet, t3; 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; + if (t3 != null) t3 = A.stringContainsUnchecked(t3, "scadnano-styles.css", 0); - } else + else t3 = false; if (t3) return type$.CssStyleSheet._as(stylesheet); @@ -33738,7 +34213,7 @@ t1.toString; t2 = type$._FrozenElementList_Element; xlink_elements = new A._FrozenElementList(t1, t2); - for (t1 = new A.ListIterator(xlink_elements, xlink_elements.get$length(xlink_elements), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListMixin.E"); t1.moveNext$0();) { + for (t1 = new A.ListIterator(xlink_elements, xlink_elements.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) { t3 = t1.__internal$_current; (t3 == null ? t2._as(t3) : t3).setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink"); } @@ -34050,29 +34525,25 @@ $.__app._readField$0().dispatch$1(A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold(new_zoom_threshold)); }, svg_to_png_data() { - var t3, t4, 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, t5, img, + var t3, t4, t5, 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, img, t1 = document, t2 = t1.getElementsByClassName("dna-sequences-main-view"); t2.toString; t3 = t1.getElementsByClassName("strands-main-view"); t3.toString; + t4 = true; if (t1.getElementById("dna-sequences-main-view-png") == null) if (t2.length !== 0) if (t3.length !== 0) { - t4 = type$.GraphicsElement._as(J.get$first$ax(t2)); - t4 = new A.FilteredElementList(t4, new A._ChildNodeListLazy(t4)); - if (t4.get$length(t4) !== 0) { + t5 = type$.GraphicsElement._as(J.get$first$ax(t2)); + if (new A.FilteredElementList(t5, new A._ChildNodeListLazy(t5)).get$length(0) !== 0) { t4 = $.__app._readField$0().__App_store_F; t4 === $ && A.throwLateFieldNI("store"); - t4 = t4.get$state(t4).ui_state.dna_sequence_png_uri != null; - } else - t4 = true; - } else - t4 = true; - else - t4 = true; - else - t4 = true; + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI("_state"); + t4 = t4.ui_state.dna_sequence_png_uri != null; + } + } if (t4) return; t4 = type$.GraphicsElement; @@ -34116,9 +34587,7 @@ t2.clearRect(0, 0, t3, t5); img = A.ImageElement_ImageElement(t4); t5 = type$._ElementEventStreamImpl_Event; - t1 = t5._eval$1("~(1)?")._as(new A.svg_to_png_data_closure(t2, img, t4, t1, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)); - type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(img, "load", t1, false, t5._precomputed1); + A._EventStreamSubscription$(img, "load", t5._eval$1("~(1)?")._as(new A.svg_to_png_data_closure(t2, img, t4, t1, dna_sequence_png_horizontal_offset, dna_sequence_png_vertical_offset)), false, t5._precomputed1); }, unused_fields_map(map, fields) { var _i, @@ -34130,7 +34599,8 @@ }, async_alert(msg) { var $async$goto = 0, - $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); + $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), + t1; var $async$async_alert = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -34138,8 +34608,9 @@ switch ($async$goto) { case 0: // Function start + t1 = A._Future$value(null, type$.Null); $async$goto = 2; - return A._asyncAwait(null, $async$async_alert); + return A._asyncAwait(t1, $async$async_alert); case 2: // returning from await. A.Timer_Timer(A.Duration$(1, 0, 0), new A.async_alert_closure(msg)); @@ -34202,43 +34673,52 @@ return new A.Tuple2(t1 * t2, angle_radians * 180 / 3.141592653589793, type$.Tuple2_double_double); }, update_mouseover(event_syn, helix, helix_svg_position) { - var $event, geometry, t2, address, mouseover_params, _s5_ = "store", + var $event, geometry, t2, address, mouseover_params, _s5_ = "store", _s6_ = "_state", t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - if (t1.get$state(t1).ui_state.storables.show_mouseover_data) { + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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._map$_map.$index(0, helix.group); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design().groups._map$_map.$index(0, helix.group); t1.toString; geometry = t1.geometry; if (geometry == null) { t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - geometry = t2.get$state(t2).get$design().geometry; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + geometry = t2.get$design().geometry; } address = A.get_address_on_helix($event, helix, t1, 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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (A.needs_update(mouseover_params, t1.ui_state.mouseover_datas)) $.__app._readField$0().dispatch$1(A._$MouseoverDataUpdate$_(A.BuiltList_BuiltList$from([mouseover_params], type$.MouseoverParams))); } }, needs_update(mouseover_params, mouseover_datas) { - var t1, t2, t3, t4, t5, needs, t6; + var t1, t2, t3, t4, t5, needs, t6, t7; for (t1 = mouseover_datas._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t3 = mouseover_params.helix_idx, t2 = t2._precomputed1, t4 = mouseover_params.offset, t5 = mouseover_params.forward, needs = true; t1.moveNext$0();) { t6 = t1.__interceptors$_current; if (t6 == null) t6 = t2._as(t6); + t7 = false; if (t6.helix.idx === t3) if (t6.offset === t4) { t6 = t6.domain; t6 = (t6 == null ? null : t6.forward) === t5; } else - t6 = false; + t6 = t7; else - t6 = false; + t6 = t7; if (t6) needs = false; } @@ -34668,11 +35148,12 @@ 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = 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()); }, paste_strands_manually() { @@ -34686,9 +35167,10 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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; @@ -34721,7 +35203,9 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - strands_move = t1.get$state(t1).ui_state.strands_move; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + strands_move = t1.ui_state.strands_move; if (strands_move != null) { $.__app._readField$0().dispatch$1(A._$StrandsMoveStop__$StrandsMoveStop()); if (strands_move.allowable) @@ -34733,7 +35217,9 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - domains_move = t1.get$state(t1).ui_state.domains_move; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + domains_move = 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)) @@ -34741,15 +35227,17 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - strand_creation = t1.get$state(t1).ui_state.strand_creation; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + strand_creation = 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; t3 = strand_creation.forward; - t4 = strand_creation.get$start(strand_creation); - t5 = strand_creation.get$end(strand_creation); + t4 = strand_creation.get$start(0); + t5 = strand_creation.get$end(0); t1.dispatch$1(A._$StrandCreateCommit$_(strand_creation.color, t5, t3, t2.idx, t4)); } } @@ -34828,7 +35316,8 @@ paste_strands_auto_closure: function paste_strands_auto_closure() { }, context_menu_to_ul(menu) { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, _null = null, + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, + _s9_ = "className", t1 = A.DomProps$($.$get$ul(), _null); t1.set$className(0, "context-menu-list"); t2 = A._setArrayType([], type$.JSArray_ReactElement); @@ -34842,24 +35331,20 @@ t10.$indexSet(0, "key", t9); t11 = t7.nested; t12 = t11 != null; - t13 = t12 ? "has-submenu" : ""; - t10.jsObject.className = A.DartValueWrapper_wrapIfNeeded(t13); + t10.$indexSet(0, _s9_, t12 ? "has-submenu" : ""); t10 = A.DomProps$($.$get$span(), _null); - t13 = t7.tooltip; - t14 = t10.props.jsObject; - t14.title = A.DartValueWrapper_wrapIfNeeded(t13); - t13 = t5._as(t7.on_click != null ? new A.context_menu_to_ul_closure(t7) : _null); - t14.onClick = A.DartValueWrapper_wrapIfNeeded(t13); - t7 = t7.disabled ? " context_menu_item_disabled" : ""; - t14.className = A.DartValueWrapper_wrapIfNeeded("context-menu-item" + t7); - t7 = t10.call$1(t9); + t13 = t10.props; + t13.$indexSet(0, "title", t7.tooltip); + t13.$indexSet(0, "onClick", t5._as(t7.on_click != null ? new A.context_menu_to_ul_closure(t7) : _null)); + t13.$indexSet(0, _s9_, "context-menu-item" + (t7.disabled ? " context_menu_item_disabled" : "")); + t9 = t10.call$1(t9); if (t12) { - t9 = A.design_context_menu___$DesignContextSubmenu$closure().call$0(); - J.$indexSet$ax(J.get$props$x(t9), "DesignContextSubmenuProps.context_menu", new A._$ContextMenu(t11, t6)); - t9 = t9.call$0(); + t7 = A.design_context_menu___$DesignContextSubmenu$closure().call$0(); + J.$indexSet$ax(J.get$props$x(t7), "DesignContextSubmenuProps.context_menu", new A._$ContextMenu(t11, t6)); + t7 = t7.call$0(); } else - t9 = _null; - t2.push(t8.call$2(t7, t9)); + t7 = _null; + t2.push(t8.call$2(t9, t7)); } return t1.call$1(t2); }, @@ -36077,7 +36562,9 @@ t1 === $ && A.throwLateFieldNI("design_view"); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI("store"); - t1.render$1(0, t2.get$state(t2)); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t1.render$1(0, t2); // implicit return return A._asyncReturn(null, $async$completer); } @@ -36771,7 +37258,7 @@ 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"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(selected_substrands, t1._eval$1("UndoableAction(SetBase.E)")._as(new A.ask_for_label_closure(label)), t1._eval$1("EfficientLengthMappedIterable")), t2 + " labels"); } } $.__app._readField$0().dispatch$1(action); @@ -36805,15 +37292,19 @@ 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands(); t2 = t1._set; t3 = A._instanceType(t2); - t4 = t3._eval$1("EfficientLengthMappedIterable>"); + 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); + t5 = A.BuiltSet_BuiltSet$from(A.BuiltSet_BuiltSet$of(new A.ExpandIterable(new A.EfficientLengthMappedIterable(t2, t3._eval$1("BuiltList(SetBase.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()); + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI("_state"); + return t5.union$1(t4.ui_state.selectables_store.get$selected_domains()); }, scaffold_set_strand_action_creator(is_scaffold) { return new A.scaffold_set_strand_action_creator_closure(is_scaffold); @@ -38742,15 +39233,21 @@ 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + last_mod = 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + last_mod = 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + last_mod = t2.ui_state.last_mod_int; } else throw A.wrapException(A.AssertionError$("should be unreachable")); if (last_mod != null) { @@ -38817,16 +39314,18 @@ 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) + 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())) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_dna_ends()._set; + ends_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.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())) + 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) @@ -38840,7 +39339,9 @@ A.throwExpression(A.LateError$fieldNI(t3)); t4 = t4.__App_store_F; t4 === $ && A.throwLateFieldNI("store"); - t4 = t4.get$state(t4).get$design(); + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI("_state"); + t4 = t4.get$design(); t2._as(end_selected); t5 = t4.__substrand_to_strand; if (t5 == null) { @@ -38887,7 +39388,7 @@ switch ($async$goto) { case 0: // Function start - is_internal = modification instanceof A.ModificationInternal; + 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())); @@ -38916,9 +39417,9 @@ 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) + if (modification instanceof A._$Modification3Prime) new_mod = A.Modification3Prime_Modification3Prime(connector_length, display_text, null, vendor_code); - else if (modification instanceof A.Modification5Prime) + else if (modification instanceof A._$Modification5Prime) new_mod = A.Modification5Prime_Modification5Prime(connector_length, display_text, null, vendor_code); else { t3 = type$.DialogCheckbox._as(t1.$index(results, 3)); @@ -38937,21 +39438,23 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_modifications()._set; + selectable_mods = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.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) { + 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) { + } 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) { + } 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 @@ -39506,10 +40009,11 @@ __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps: function __$$DesignMainStrandsProps_UiProps_DesignMainStrandsProps_$DesignMainStrandsProps() { }, set_design_main_strands_moving_props(elt, state) { - var original_helices_view_order_inverse, t2, group_names, t3, selected_strands_on_multiple_groups, geometry0, current_group, + var original_helices_view_order_inverse, t2, group_names, t3, geometry0, current_group, t1 = state.ui_state, strands_move = t1.strands_move, - geometry = state.get$design().geometry; + geometry = state.get$design().geometry, + selected_strands_on_multiple_groups = false; if (strands_move != null) { original_helices_view_order_inverse = strands_move.original_helices_view_order_inverse; t2 = state.get$design(); @@ -39520,10 +40024,8 @@ 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; + } + } geometry0 = t2.geometry; if (geometry0 != null) geometry = geometry0; @@ -39531,7 +40033,6 @@ } 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); @@ -40327,7 +40828,9 @@ 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); + t6 = t6.__Store__state_A; + t6 === $ && A.throwLateFieldNI("_state"); + return A._BuiltList$of(A._setArrayType([t1, t2, t3, t4, t5, context_menu_item_set_position, A.ContextMenuItem_ContextMenuItem(t6.get$design().groups._map$_map.__js_helper$_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, t4, _null = null, @@ -40368,10 +40871,10 @@ 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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = t2.get$design().helices.get$values(0); t3 = A._instanceType(t2); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")); t3 = t3._rest[1]; for (; t2.moveNext$0();) { @@ -40417,11 +40920,11 @@ return major_tick_distances; }, parse_helix_idxs_and_check_validity(helix_idxs_str) { - var _i, helix_idx, t2, t3, + var t2, _i, helix_idx, t3, t4, t1 = type$.WhereIterable_String, 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) { + for (t1 = helix_idxs_strs.length, t2 = $.__app._name, _i = 0; _i < t1; ++_i) { helix_idx = A.Primitives_parseInt(helix_idxs_strs[_i], null); if (helix_idx == null) { t1 = window; @@ -40429,17 +40932,19 @@ B.Window_methods.alert$1(t1, '"' + A.S(helix_idx) + '" is not a valid integer'); return null; } else { - 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>"))); + t3 = $.__app._value; + if (t3 === $.__app) + A.throwExpression(A.LateError$fieldNI(t2)); + t3 = t3.__App_store_F; + t3 === $ && A.throwLateFieldNI("store"); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + t3 = t3.get$design().helices; + if (t3._keys == null) { + t4 = t3._map$_map; + t3.set$_keys(new A.LinkedHashMapKeyIterable(t4, A._instanceType(t4)._eval$1("LinkedHashMapKeyIterable<1>"))); } - if (!t2._keys._map.containsKey$1(0, helix_idx)) { + if (!t3._keys._map.containsKey$1(0, helix_idx)) { t1 = window; t1.toString; B.Window_methods.alert$1(t1, A.S(helix_idx) + " is not the index of any helix in this design"); @@ -40652,7 +41157,7 @@ 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_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", B.DialogType_0, false)), $async$ask_for_geometry); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", B.DialogType_vhs, false)), $async$ask_for_geometry); case 3: // returning from await. results = $async$result; @@ -40676,7 +41181,7 @@ return A._asyncStartSync($async$ask_for_geometry, $async$completer); }, request_load_file_from_file_chooser(file_chooser, onload_callback) { - var t1, file, basefilename, t2, t3, t4, + var t1, file, basefilename, t2, t3, files = file_chooser.files; if (files == null) { t1 = window; @@ -40693,11 +41198,9 @@ t1 = new FileReader(); t1.toString; t2 = type$.nullable_void_Function_ProgressEvent; - t3 = t2._as(new A.request_load_file_from_file_chooser_closure(onload_callback, t1, basefilename)); - type$.nullable_void_Function._as(null); - t4 = type$.ProgressEvent; - A._EventStreamSubscription$(t1, "load", t3, false, t4); - A._EventStreamSubscription$(t1, "error", t2._as(new A.request_load_file_from_file_chooser_closure0("error reading file: " + J.toString$0$(t1.error))), false, t4); + t3 = type$.ProgressEvent; + A._EventStreamSubscription$(t1, "load", t2._as(new A.request_load_file_from_file_chooser_closure(onload_callback, t1, basefilename)), false, t3); + A._EventStreamSubscription$(t1, "error", t2._as(new A.request_load_file_from_file_chooser_closure0("error reading file: " + J.toString$0$(t1.error))), false, t3); t1.readAsText(file); }, scadnano_file_loaded(file_reader, filename) { @@ -41983,11 +42486,9 @@ }, setup_file_drag_and_drop_listener(drop_zone) { var t1 = type$._ElementEventStreamImpl_MouseEvent, - t2 = t1._eval$1("~(1)?"), - t3 = t2._as(new A.setup_file_drag_and_drop_listener_closure()); - type$.nullable_void_Function._as(null); + t2 = t1._eval$1("~(1)?"); t1 = t1._precomputed1; - A._EventStreamSubscription$(drop_zone, "dragover", t3, false, t1); + A._EventStreamSubscription$(drop_zone, "dragover", t2._as(new A.setup_file_drag_and_drop_listener_closure()), false, t1); A._EventStreamSubscription$(drop_zone, "drop", t2._as(new A.setup_file_drag_and_drop_listener_closure0()), false, t1); }, View: function View(t0, t1, t2, t3, t4, t5, t6) { @@ -42019,7 +42520,7 @@ 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) + ".")); + A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_ + file.get$length(0) + ".")); return new A.FileLocation(file, offset); }, SourceFile: function SourceFile(t0, t1, t2) { @@ -42044,7 +42545,7 @@ 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.CONSTANT1), !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("")); + 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("")); }, Highlighter__contiguous(lines) { var i, thisLine, nextLine; @@ -42060,7 +42561,7 @@ 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = highlightsByUrl.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -42083,7 +42584,7 @@ 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) + if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10) --endOffset; t1 = span.get$start(span); t2 = span.get$sourceUrl(); @@ -42149,13 +42650,19 @@ 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)); }, _Highlight__lastLineLength(text) { - var t1 = text.length; + var t2, + 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; + else { + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(text, t2); + if (text.charCodeAt(t2) === 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; + } }, Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; @@ -42415,7 +42922,7 @@ 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; + format = B.C_Utf8Codec.decode$1(0, type$.List_int._as(mimetype.get$content(0))) === $._spreasheetExtensionMap.$index(0, "ods") ? "ods" : null; } else format = archive.findFile$1("xl/workbook.xml") != null ? "xlsx" : null; switch (format) { @@ -42446,9 +42953,12 @@ } }, lettersToNumeric(letters) { - var index, sum, mul, c, n; + var index, sum, mul, t1, c, n; for (index = letters.length - 1, sum = 0, mul = 1; index >= 0; --index) { - c = B.JSString_methods._codeUnitAt$1(letters[index], 0); + t1 = letters[index]; + if (0 >= t1.length) + return A.ioore(t1, 0); + c = t1.charCodeAt(0); if (65 <= c && c <= 90) n = 1 + (c - 65); else @@ -42553,7 +43063,7 @@ return cell; }, XlsxDecoder__insertRow(table, lastRow, rowIndex) { - var attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("r"), B.JSInt_methods.toString$0(rowIndex + 1), B.XmlAttributeType_PIp)], type$.JSArray_XmlAttribute), + var attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("r"), B.JSInt_methods.toString$0(rowIndex + 1), B.XmlAttributeType_2x0)], type$.JSArray_XmlAttribute), row = A.XmlElement$(A.XmlName_XmlName("row"), attributes, A._setArrayType([], type$.JSArray_XmlNode), true), t1 = table.XmlHasChildren_children; if (lastRow == null) @@ -42564,7 +43074,7 @@ }, XlsxDecoder__createCell(columnIndex, rowIndex, value) { var 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), + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("r"), A.numericToLetters(columnIndex + 1) + (rowIndex + 1), B.XmlAttributeType_2x0), A.XmlAttribute$(A.XmlName_XmlName("t"), "inlineStr", B.XmlAttributeType_2x0)], t1), t2 = 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)], t2), true)], t2), true)], type$.JSArray_XmlElement); return A.XmlElement$(A.XmlName_XmlName("c"), attributes, children, true); @@ -42722,6 +43232,50 @@ DisposableState: function DisposableState(t0) { this._core$_name = t0; }, + _EventStreamSubscription$0(_target, _eventType, onData, _useCapture, $T) { + var t1; + if (onData == null) + t1 = null; + else { + t1 = A._wrapZone0(new A._EventStreamSubscription_closure0(onData), type$.JSObject); + t1 = t1 == null ? null : A._functionToJS1(t1); + } + t1 = new A._EventStreamSubscription0(_target, _eventType, t1, false, $T._eval$1("_EventStreamSubscription0<0>")); + t1._streams$_tryResume$0(); + return t1; + }, + _wrapZone0(callback, $T) { + var t1 = $.Zone__current; + if (t1 === B.C__RootZone) + return callback; + return t1.bindUnaryCallbackGuarded$1$1(callback, $T); + }, + EventStreamProvider0: function EventStreamProvider0(t0, t1) { + this._streams$_eventType = t0; + this.$ti = t1; + }, + _EventStream0: function _EventStream0(t0, t1, t2, t3) { + var _ = this; + _._streams$_target = t0; + _._streams$_eventType = t1; + _._streams$_useCapture = t2; + _.$ti = t3; + }, + _EventStreamSubscription0: function _EventStreamSubscription0(t0, t1, t2, t3, t4) { + var _ = this; + _._streams$_pauseCount = 0; + _._streams$_target = t0; + _._streams$_eventType = t1; + _._streams$_onData = t2; + _._streams$_useCapture = t3; + _.$ti = t4; + }, + _EventStreamSubscription_closure0: function _EventStreamSubscription_closure0(t0) { + this.onData = t0; + }, + _EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) { + this.handleData = t0; + }, DtdExternalId: function DtdExternalId(t0, t1, t2, t3) { var _ = this; _.publicId = t0; @@ -42847,7 +43401,7 @@ return new A.XmlNodeTypeException(message); }, XmlNodeTypeException_checkValidType(node, types) { - if (!J.containsKey$1$x(types._collection$_map, node.get$nodeType(node))) + if (!types.contains$1(0, 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, ", "))); }, XmlNodeTypeException: function XmlNodeTypeException(t0) { @@ -42910,15 +43464,15 @@ }, _XmlData_XmlNode_XmlHasParent: function _XmlData_XmlNode_XmlHasParent() { }, - XmlDeclaration$(attributesIterable) { + XmlDeclaration$(attributes) { var t1 = A.XmlNodeList$(type$.XmlAttribute), t2 = new A.XmlDeclaration(t1, null); - type$.Set_XmlNodeType._as(B.Set_r7Xh1); + type$.Set_XmlNodeType._as(B.Set_9UGP6); 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); + t1.set$__XmlNodeList__nodeTypes_F(B.Set_9UGP6); + t1.addAll$1(0, attributes); return t2; }, XmlDeclaration: function XmlDeclaration(t0, t1) { @@ -42946,15 +43500,15 @@ 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) { + XmlDocument$(children) { var t1 = A.XmlNodeList$(type$.XmlNode), t2 = new A.XmlDocument(t1); - type$.Set_XmlNodeType._as(B.Set_wEo81); + type$.Set_XmlNodeType._as(B.Set_uHvy); 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); + t1.set$__XmlNodeList__nodeTypes_F(B.Set_uHvy); + t1.addAll$1(0, children); return t2; }, XmlDocument: function XmlDocument(t0) { @@ -42974,17 +43528,17 @@ A.XmlParentException_checkNoParent($name); $name.set$_has_parent$_parent(t3); t4 = type$.Set_XmlNodeType; - t4._as(B.Set_r7Xh1); + t4._as(B.Set_9UGP6); 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.set$__XmlNodeList__nodeTypes_F(B.Set_9UGP6); t2.addAll$1(0, attributes); - t4._as(B.Set_EyI1); + t4._as(B.Set_HXHD4); 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.set$__XmlNodeList__nodeTypes_F(B.Set_HXHD4); t1.addAll$1(0, children); return t3; }, @@ -42998,17 +43552,17 @@ A.XmlParentException_checkNoParent(t1); t1.set$_has_parent$_parent(t4); t1 = type$.Set_XmlNodeType; - t1._as(B.Set_r7Xh1); + t1._as(B.Set_9UGP6); 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.set$__XmlNodeList__nodeTypes_F(B.Set_9UGP6); t3.addAll$1(0, attributes); - t1._as(B.Set_EyI1); + t1._as(B.Set_HXHD4); 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.set$__XmlNodeList__nodeTypes_F(B.Set_HXHD4); t2.addAll$1(0, children); return t4; }, @@ -43182,7 +43736,7 @@ this.sink = t0; this.entityMapping = t1; }, - __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor: function __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor() { + __XmlEventEncoderSink_Object_XmlEventVisitor: function __XmlEventEncoderSink_Object_XmlEventVisitor() { }, _XmlNodeDecoderSink: function _XmlNodeDecoderSink(t0) { this.sink = t0; @@ -43190,7 +43744,7 @@ }, _XmlNodeDecoderSink_convertAttributes_closure: function _XmlNodeDecoderSink_convertAttributes_closure() { }, - __XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor: function __XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor() { + __XmlNodeDecoderSink_Object_XmlEventVisitor: function __XmlNodeDecoderSink_Object_XmlEventVisitor() { }, XmlEvent: function XmlEvent() { }, @@ -43371,8 +43925,6 @@ console.log(string); return; } - if (typeof window == "object") - return; if (typeof print == "function") { print(string); return; @@ -43380,64 +43932,54 @@ throw "Unable to print message: " + String(string); }, CRC32(crc, b) { - return (B.List_B8J[(crc ^ b) & 255] ^ crc >>> 8) >>> 0; + return (B.List_YyJ[(crc ^ b) & 255] ^ crc >>> 8) >>> 0; }, getCrc32(array, crc) { - var ip, ip0, t2, - t1 = J.getInterceptor$asx(array), - len = t1.get$length(array); + var len0, ip, ip0, + len = array.length; crc ^= 4294967295; - for (ip = 0; len >= 8;) { + for (len0 = len, ip = 0; len0 >= 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; + if (!(ip < len)) + return A.ioore(array, ip); + crc = B.List_YyJ[(crc ^ array[ip]) & 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; + if (!(ip0 < len)) + return A.ioore(array, ip0); + crc = B.List_YyJ[(crc ^ array[ip0]) & 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; + if (!(ip < len)) + return A.ioore(array, ip); + crc = B.List_YyJ[(crc ^ array[ip]) & 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; + if (!(ip0 < len)) + return A.ioore(array, ip0); + crc = B.List_YyJ[(crc ^ array[ip0]) & 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; + if (!(ip < len)) + return A.ioore(array, ip); + crc = B.List_YyJ[(crc ^ array[ip]) & 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; + if (!(ip0 < len)) + return A.ioore(array, ip0); + crc = B.List_YyJ[(crc ^ array[ip0]) & 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; + if (!(ip < len)) + return A.ioore(array, ip); + crc = B.List_YyJ[(crc ^ array[ip]) & 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 (!(ip0 < len)) + return A.ioore(array, ip0); + crc = B.List_YyJ[(crc ^ array[ip0]) & 255] ^ crc >>> 8; + len0 -= 8; } - if (len > 0) + if (len0 > 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) { + if (!(ip < len)) + return A.ioore(array, ip); + crc = B.List_YyJ[(crc ^ array[ip]) & 255] ^ crc >>> 8; + if (--len0, len0 > 0) { ip = ip0; continue; } else @@ -43446,7 +43988,12 @@ return (crc ^ 4294967295) >>> 0; }, evaluateIterable(iterable, $E) { - return !type$.List_dynamic._is(iterable) && !type$.BuiltIterable_dynamic._is(iterable) && true ? J.toList$0$ax(iterable) : iterable; + var t1; + if (!type$.List_dynamic._is(iterable)) + t1 = !type$.BuiltIterable_dynamic._is(iterable); + else + t1 = false; + return t1 ? J.toList$0$ax(iterable) : iterable; }, groupBy(values, key, $S, $T) { var t1, _i, element, t2, t3, @@ -43520,11 +44067,7 @@ return t1 == null ? B.C_Latin1Codec : t1; }, 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)); + return input; }, toByteStream(stream) { return stream; @@ -43568,16 +44111,13 @@ return true; }, forwardUnconsumedProps(props, keySetsToOmit, propsToUpdate) { - var t1, t2, t3, t4, key, t5, shouldContinue; + var t1, t2, t3, t4, key, shouldContinue, t5; 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) { + if (t4.get$length(keySetsToOmit) > 1) { t5 = t4.get$iterator(keySetsToOmit); while (true) { if (!t5.moveNext$0()) { @@ -43605,16 +44145,6 @@ getBackingMap(map) { return map; }, - 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"); - }, current() { var exception, t1, path, lastIndex, uri = null; try { @@ -43634,7 +44164,7 @@ return t1; } $._currentUriBase = uri; - if ($.$get$Style_platform() == $.$get$Style_url()) + if ($.$get$Style_platform() === $.$get$Style_url()) t1 = $._current = uri.resolve$1(".").toString$0(0); else { path = uri.toFilePath$0(); @@ -43651,35 +44181,51 @@ 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; + driveLetterEnd(path, index) { + var t2, t3, _null = null, + t1 = path.length, + index0 = index + 2; + if (t1 < index0) + return _null; + if (!(index >= 0 && index < t1)) + return A.ioore(path, index); + if (!A.isAlphabetic(path.charCodeAt(index))) + return _null; + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(path, t2); + if (path.charCodeAt(t2) !== 58) { + t3 = index + 4; + if (t1 < t3) + return _null; + if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a") + return _null; + index = index0; + } + t2 = index + 2; if (t1 === t2) - return true; - return B.JSString_methods.codeUnitAt$1(path, t2) === 47; + return t2; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(path, t2); + if (path.charCodeAt(t2) !== 47) + return _null; + return index + 3; }, 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); + var todo, seen, t2, $parent, t3, _i, child, referenced, + t1 = type$.Parser_dynamic, + mapping = A.LinkedHashMap_LinkedHashMap$_empty(type$.ResolvableParser_dynamic, t1); 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) + seen = A.LinkedHashSet_LinkedHashSet$_literal([parser], t1); + for (t1 = type$.dynamic; t2 = todo.length, t2 !== 0;) { + if (0 >= t2) 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); + for (t2 = $parent.get$children($parent), t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { + child = t2[_i]; + if (child instanceof A.ReferenceParser) { + referenced = A._dereference(child, mapping, t1); $parent.replace$2(0, child, referenced); child = referenced; } @@ -43694,11 +44240,9 @@ 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)) + if (mapping.containsKey$1(0, parser)) + return $R._eval$1("Parser<0>")._as(mapping.$index(0, parser)); + else if (!references.add$1(0, parser)) throw A.wrapException(A.StateError$("Recursive references detected: " + references.toString$0(0))); parser = parser.$ti._eval$1("Parser<1>")._as(A.Primitives_applyFunction(parser.$function, parser.$arguments, null)); } @@ -43734,41 +44278,40 @@ return "\\x" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(code, 16), 2, "0"); return A.Primitives_stringFromCharCode(code); }, - selectFirst(first, second, $R) { - var t1 = $R._eval$1("Failure<0>"); + selectFirst(first, second) { + var t1 = type$.Failure; t1._as(first); t1._as(second); return first; }, - selectLast(first, second, $R) { - var t1 = $R._eval$1("Failure<0>"); + selectLast(first, second) { + var t1 = type$.Failure; t1._as(first); return t1._as(second); }, - selectFarthest(first, second, $R) { - var t1 = $R._eval$1("Failure<0>"); + selectFarthest(first, second) { + var t1 = type$.Failure; t1._as(first); t1._as(second); return first.position <= second.position ? second : first; }, 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, + var errorPrinted, componentInstance, componentStatics, filteredSkipMethods, defaultProps, e, stack, jsPropTypes, e0, stack0, jsConfig2, displayName, reactComponentClass, e1, stack1, finalList, shouldWarn, t1, exception, t2, reactComponentClass0, _s21_ = "shouldComponentUpdate", _s18_ = "componentDidUpdate"; type$.Component2_Function._as(componentFactory); type$.Iterable_String._as(skipMethods); - type$.nullable_Component2Bridge_Function_Component2._as(bridgeFactory); + bridgeFactory = type$.nullable_Component2Bridge_Function_Component2._as(bridgeFactory); errorPrinted = false; try { - t1 = bridgeFactory == null ? A.bridge_Component2BridgeImpl_bridgeFactory$closure() : bridgeFactory; + if (bridgeFactory == null) + bridgeFactory = A.bridge_Component2BridgeImpl_bridgeFactory$closure(); componentInstance = componentFactory.call$0(); - componentStatics = new A.ComponentStatics2(componentFactory, componentInstance, t1); + componentStatics = new A.ComponentStatics2(componentFactory, componentInstance, bridgeFactory); finalList = A.List_List$of(skipMethods, true, type$.String); - if (B.JSArray_methods.contains$1(finalList, _s21_)) { + shouldWarn = B.JSArray_methods.contains$1(finalList, _s21_); + if (shouldWarn) 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; @@ -43795,6 +44338,7 @@ errorPrinted = true; throw exception; } + jsPropTypes = null; try { } catch (exception) { e0 = A.unwrapException(exception); @@ -43805,8 +44349,9 @@ } t1 = defaultProps.jsObject; componentInstance.get$contextType(); - t2 = {}; - t2 = t2; + t2 = jsPropTypes; + if (t2 == null) + t2 = {}; jsConfig2 = {skipMethods: filteredSkipMethods, contextType: null, defaultProps: t1, propTypes: t2}; displayName = J.get$displayName$x(componentInstance); reactComponentClass0 = self._createReactDartComponentClass2($.$get$ReactDartInteropStatics2_staticsForJs(), componentStatics, jsConfig2); @@ -43828,16 +44373,17 @@ var 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)) + if (action instanceof A._$HelixGridPositionSet) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (!A.is_grid_position_occupied(t1.get$design().helices.get$values(0), action.grid_position)) next.call$1(action); } else next.call$1(action); }, is_grid_position_occupied(helices, grid_position) { var t1, t2, t3; - for (t1 = A._instanceType(helices), t1 = t1._eval$1("@<1>")._bind$1(t1._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { + for (t1 = A._instanceType(helices), t2 = new A.MappedIterator(J.get$iterator$ax(helices.__internal$_iterable), helices._f, t1._eval$1("MappedIterator<1,2>")), t1 = t1._rest[1]; t2.moveNext$0();) { t3 = t2.__internal$_current; if (J.$eq$((t3 == null ? t1._as(t3) : t3).grid_position, grid_position)) return true; @@ -43848,14 +44394,16 @@ var e, t1, exception; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.AssignDNA) { + 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); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + A.assign_dna_reducer(t1.get$design().strands, store.__Store__state_A, action); } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.ArgumentError) { @@ -43872,9 +44420,9 @@ autostaple_and_autobreak_middleware(store, action, next) { type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.Autostaple) + if (action instanceof A._$Autostaple) A._autostaple(store); - else if (action instanceof A.Autobreak) + else if (action instanceof A._$Autobreak) A._autobreak(store, action); else next.call$1(action); @@ -43882,7 +44430,7 @@ _autostaple(store) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), - t1, response; + t1, t2, t3, response; var $async$_autostaple = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -43891,9 +44439,12 @@ case 0: // Function start A.print("autostaple, sending design to server https://scadnano-backend.onrender.com/autostaple"); - t1 = type$.String; + t1 = A.Uri_parse("https://scadnano-backend.onrender.com/autostaple"); + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t3 = type$.String; $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); + return A._asyncAwait(A.post(t1, A.json_encode(t2.get$design(), true), A.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json"], t3, t3)), $async$_autostaple); case 2: // returning from await. response = $async$result; @@ -43908,7 +44459,7 @@ _autobreak(store, action) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), - t1, body, $async$temp1, $async$temp2; + body, t1, t2, t3, $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); @@ -43917,7 +44468,10 @@ 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); + t2 = 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); + t3 = store.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + body = B.C_JsonCodec.encode$2$toEncodable(A.LinkedHashMap_LinkedHashMap$_literal(["settings", t2, "design", t3.get$design().to_json_serializable$0()], t1, type$.Map_String_dynamic), null); $async$temp1 = A; $async$temp2 = store; $async$goto = 2; @@ -43939,7 +44493,9 @@ json_model_text = A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1).parameters._collection$_map, "charset")).decode$1(0, t2); design_new = null; try { - t1 = A.Design_from_json_str(json_model_text, store.get$state(store).ui_state.storables.invert_y); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = A.Design_from_json_str(json_model_text, t1.ui_state.storables.invert_y); t1.toString; design_new = t1; } catch (exception) { @@ -43949,7 +44505,12 @@ B.Window_methods.alert$1(t1, "Error: Received invalid JSON from server: " + A.S(e)); return; } - store.dispatch$1(A.NewDesignSet_NewDesignSet(design_new, short_description)); + t1 = A.NewDesignSet_NewDesignSet(design_new, short_description); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else { response_body_json = type$.Map_dynamic_dynamic._as(B.C_JsonCodec.decode$2$reviver(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1).parameters._collection$_map, "charset")).decode$1(0, t2), null)); t1 = window; @@ -43961,15 +44522,17 @@ var t1, selected_ends, moves, design, t2, t3, t4, geometry, t5, t6, t7, t8, t9, t10, geometry0, t11, t12, end_offset, extension_attached_end_svg, translate_svg, 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; + if (action instanceof A._$DNAExtensionsMoveStart) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.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(); + design = store.__Store__state_A.get$design(); for (t1 = selected_ends._set, t1 = t1.get$iterator(t1), t2 = type$.Point_double, t3 = design.helices._map$_map, t4 = design.groups._map$_map, geometry = design.geometry; t1.moveNext$0();) { t5 = t1.get$current(t1); t6 = design.__end_to_extension; @@ -43988,7 +44551,7 @@ geometry0 = t10.geometry; if (geometry0 == null) geometry0 = geometry; - t11 = store.get$state(store); + t11 = store.__Store__state_A; t12 = t11.__helix_idx_to_svg_position_map; if (t12 == null) { t12 = A.AppState.prototype.get$helix_idx_to_svg_position_map.call(t11); @@ -44079,11 +44642,12 @@ var t1, t2; 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) { - t1 = store.get$state(store).ui_state; - t2 = store.get$state(store).ui_state; - if (store.get$state(store).maybe_design != null) - A.set_selectables_css_style_rules(store.get$state(store).get$design(), t2.storables.edit_modes, t1.storables.select_mode_state.modes); + 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) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t2 = t1.ui_state.storables; + if (t1.maybe_design != null) + A.set_selectables_css_style_rules(t1.get$design(), t2.edit_modes, t2.select_mode_state.modes); } }, set_selectables_css_style_rules(design, edit_modes, select_modes) { @@ -44100,16 +44664,16 @@ 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 = select_modes._set, t4 = type$.Map_String_String, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) { + 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, t2.$ti._eval$1("CopyOnWriteList<1>"))), t1 = t2.length, t3 = select_modes._set, t4 = type$.Map_String_String, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) { select_mode_choice = t2[_i]; t5 = design.__is_origami; if (t5 == null) t5 = design.__is_origami = A.Design.prototype.get$is_origami.call(design); select_mode_contains_part = t3.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; + selectable_css_style_this_choice = B.Map_sou91; else - selectable_css_style_this_choice = B.SelectModeChoice_domain === select_mode_choice ? B.Map_GN46y : B.Map_OgmUV; + selectable_css_style_this_choice = B.SelectModeChoice_domain === select_mode_choice ? B.Map_Ybjj9 : B.Map_QWbJC; 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"; @@ -44127,7 +44691,8 @@ if (idx != null) B.CssStyleSheet_methods.removeRule$1(stylesheet, idx); } else if (!t5 || all_parts_selectable) { - A.css_class_set_style(all_strand_selector, t4._as(selectable_css_style_this_choice)); + t4._as(selectable_css_style_this_choice); + A.css_class_set_style(all_strand_selector, 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) { @@ -44212,11 +44777,13 @@ return null; }, example_design_selected_middleware(store, action, next) { - var example_designs, t1, t2, t3; + var t1, example_designs, t2, t3; 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; + if (action instanceof A._$ExampleDesignsLoad) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + example_designs = t1.ui_state.example_designs; t1 = example_designs.selected_idx; t2 = t1 >= 0; if (t2) { @@ -44244,7 +44811,7 @@ _get_file_content_and_dispatch_load(store, url, filename) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), - $async$temp1, $async$temp2; + $async$returnValue, t1, t2, $async$temp1; 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); @@ -44252,26 +44819,36 @@ switch ($async$goto) { case 0: // Function start - $async$temp1 = store; - $async$temp2 = A; - $async$goto = 2; + $async$temp1 = A; + $async$goto = 3; return A._asyncAwait(A.get_text_file_content(url), $async$_get_file_content_and_dispatch_load); - case 2: + case 3: // 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); + t1 = $async$temp1.PrepareToLoadDNAFile_PrepareToLoadDNAFile($async$result, B.DNAFileType_scadnano_file, filename, true); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) { + $async$returnValue = A.ioore(t2, 0); + // goto return + $async$goto = 1; + break; + } + t2[0].call$1(t1); + case 1: + // return + return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_get_file_content_and_dispatch_load, $async$completer); }, export_cadnano_file_middleware(store, action, next) { - var state; + var t1; 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); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (action instanceof A._$ExportCadnanoFile) + A._save_file_cadnano(t1, action.whitespace); }, _save_file_cadnano(state, whitespace) { return A._save_file_cadnano$body(state, whitespace); @@ -44319,19 +44896,19 @@ to_cadnano_v2_serializable(design, $name) { var design_grid, grid_used, t2, t3, grid_type, num_bases, t4, t5, t6, t7, t8, t9, cadnano_expected_direction, helices_ids_reverse, _null = null, t1 = type$.dynamic, - dct = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.String, t1); + dct = A.LinkedHashMap_LinkedHashMap(_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 = A.Design.prototype.get$grid.call(design, 0); 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, t2.$ti._precomputed1), t1 = t1._map$_map, grid_type = B.Grid_none; t2.moveNext$0();) { + for (t1 = design.groups, t2 = t1.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._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; @@ -44340,7 +44917,7 @@ 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], num_bases = 0; t1.moveNext$0();) { + for (t1 = design.helices.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], num_bases = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; num_bases = Math.max(num_bases, (t3 == null ? t2._as(t3) : t3).max_offset); } @@ -44358,7 +44935,7 @@ t9 = t7.__interceptors$_current; if (t9 == null) t9 = t8._as(t9); - if (t9 instanceof A.Loopout || t9 instanceof A.Extension) + if (t9 instanceof A._$Loopout || t9 instanceof A._$Extension) throw A.wrapException(A.IllegalCadnanoDesignError$("We cannot handle designs with Loopouts or Extensions, since they are not cadnano v2 concepts.")); t5._as(t9); if (t6) { @@ -44388,11 +44965,11 @@ var t2, t3, t4, t5, t6, t7, i, t8, 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t3 = type$.JSArray_int, t4 = design_grid !== B.Grid_square, t5 = type$.String, t6 = type$.dynamic, t2 = t2._rest[1], t7 = design_grid === B.Grid_honeycomb, i = 0; t1.moveNext$0();) { + for (t1 = design.helices.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t3 = type$.JSArray_int, t4 = design_grid !== B.Grid_square, t5 = type$.String, t6 = type$.dynamic, t2 = t2._rest[1], t7 = design_grid === B.Grid_honeycomb, i = 0; t1.moveNext$0();) { t8 = t1.__internal$_current; if (t8 == null) t8 = t2._as(t8); - helix_dct = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6); + helix_dct = A.LinkedHashMap_LinkedHashMap(_null, _null, t5, t6); helix_dct.$indexSet(0, "num", t8.idx); if (!t4 || t7) { t8 = t8.grid_position; @@ -44503,8 +45080,9 @@ if (!J.$eq$(J.$mod$n(t6.$index(which_helix, _s3_0), 2), J.$mod$n(t7.$index(next_helix, _s3_0), 2))) A.throwExpression(A.IllegalCadnanoDesignError$(_s111_ + A.S(t6.$index(which_helix, _s3_)) + " and helix num " + A.S(t7.$index(next_helix, _s3_)) + _s52_ + A.S(t6.$index(which_helix, _s3_0)) + " and " + A.S(t7.$index(next_helix, _s3_0)))); } 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)); + t8 = end_to - 1; + 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, t8], t3)); + J.setRange$3$ax(J.$index$asx(t7.$index(next_helix, strand_type), t8), 0, 2, A._setArrayType([helix_from, start_from], t3)); if (!J.$eq$(J.$mod$n(t6.$index(which_helix, _s3_0), 2), J.$mod$n(t7.$index(next_helix, _s3_0), 2))) A.throwExpression(A.IllegalCadnanoDesignError$(_s111_ + A.S(t6.$index(which_helix, _s3_)) + " and helix num " + A.S(t7.$index(next_helix, _s3_)) + _s52_ + A.S(t6.$index(which_helix, _s3_0)) + " and " + A.S(t7.$index(next_helix, _s3_0)))); } @@ -44586,11 +45164,13 @@ } }, group_remove_middleware(store, action, next) { - var t1, t2, t3, t4; + var t1, t2, t3, t4, helices_remove_action; 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(); + if (action instanceof A._$GroupRemove) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design().get$helix_idxs_in_group(); t2 = action.name; t1 = t1._map$_map.$index(0, t2); t1.toString; @@ -44607,7 +45187,12 @@ t2.push(A.HelixRemove_HelixRemove(t4 == null ? t3._as(t4) : t4)); } B.JSArray_methods.add$1(t2, action); - store.dispatch$1(A.BatchAction_BatchAction(t2, "remove group")); + helices_remove_action = A.BatchAction_BatchAction(t2, "remove group"); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(helices_remove_action); } else next.call$1(action); }, @@ -44615,17 +45200,26 @@ var t1, t2, geometry, t3, t4, t5, t6, t7, t8, position_normalized_diameter_1, idxs, i1, i2, i20, h1idx, h2idx, pos1, pos2; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.GridChange && action.grid !== B.Grid_none && store.get$state(store).get$design().groups._map$_map.$index(0, action.group_name).grid === B.Grid_none) { - t1 = store.get$state(store).get$design(); + t1 = false; + if (action instanceof A._$GridChange) + if (action.grid !== B.Grid_none) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design().groups._map$_map.$index(0, action.group_name).grid === B.Grid_none; + } + if (t1) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design(); t2 = action.group_name; t1 = t1.groups._map$_map.$index(0, t2); t1.toString; geometry = t1.geometry; if (geometry == null) - geometry = store.get$state(store).get$design().geometry; + geometry = store.__Store__state_A.get$design().geometry; t1 = type$.GridPosition; t3 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1); - for (t2 = store.get$state(store).get$design().helices_in_group$1(t2), t2 = t2.get$values(t2), t4 = A._instanceType(t2), t4 = t4._eval$1("@<1>")._bind$1(t4._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t4._eval$1("MappedIterator<1,2>")), t5 = action.grid, t4 = t4._rest[1]; t2.moveNext$0();) { + for (t2 = store.__Store__state_A.get$design().helices_in_group$1(t2).get$values(0), t4 = A._instanceType(t2), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t4._eval$1("MappedIterator<1,2>")), t5 = action.grid, t4 = t4._rest[1]; t2.moveNext$0();) { t6 = t2.__internal$_current; if (t6 == null) t6 = t4._as(t6); @@ -44642,7 +45236,7 @@ position_normalized_diameter_1 = A.Position3D_Position3D(t6.x * t8, t6.y * t8, t6.z * t8); t3.$indexSet(0, t7, A.position_2d_to_grid_position_diameter_1_circles(t5, position_normalized_diameter_1.z, position_normalized_diameter_1.y, B.HexGridCoordinateSystem_2)); } - if (A.LinkedHashSet_LinkedHashSet$from(t3.get$values(t3), t1)._collection$_length !== t3._length) { + if (A.LinkedHashSet_LinkedHashSet$from(t3.get$values(0), t1)._collection$_length !== t3.__js_helper$_length) { t1 = t3.$ti._eval$1("LinkedHashMapKeyIterable<1>"); idxs = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t1), true, t1._eval$1("Iterable.E")); for (i1 = 0; t1 = idxs.length, i1 < t1; i1 = i2) @@ -44654,7 +45248,7 @@ t4 = t3.$index(0, h2idx); t4.toString; if (t2.$eq(0, t4)) { - t1 = store.get$state(store).get$design().helices._map$_map; + t1 = store.__Store__state_A.get$design().helices._map$_map; pos1 = t1.$index(0, h1idx).position3d$1(geometry); pos2 = t1.$index(0, h2idx).position3d$1(geometry); t1 = window; @@ -44668,21 +45262,22 @@ next.call$1(action); }, helix_group_move_start_middleware(store, action, next) { - var state, group_name, t1, helices_in_group, geometry, helix_group_move; + var t1, group_name, t2, helices_in_group, geometry, 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) { + if (action instanceof A._$HelixGroupMoveStart) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + group_name = t1.ui_state.storables.displayed_group_name; + t2 = t1.get$design().groups._map$_map.$index(0, group_name); + t2.toString; + helices_in_group = t1.get$design().helices_in_group$1(group_name); + if (helices_in_group._map$_map.__js_helper$_length !== 0) { next.call$1(action); - geometry = t1.geometry; + geometry = t2.geometry; if (geometry == null) - geometry = state.get$design().geometry; - helix_group_move = A.HelixGroupMove_HelixGroupMove(geometry, t1, group_name, helices_in_group, action.mouse_point); + geometry = t1.get$design().geometry; + helix_group_move = A.HelixGroupMove_HelixGroupMove(geometry, t2, group_name, helices_in_group, action.mouse_point); $.__app._readField$0().dispatch$1(A._$HelixGroupMoveCreate$_(helix_group_move)); } else { t1 = window; @@ -44693,16 +45288,24 @@ next.call$1(action); }, helix_hide_all_middleware(store, action, next) { - var ui_state, design, t1; + var t1, ui_state, design; 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(); + 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) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = !t1.get$has_error(); + } else + t1 = false; + if (t1) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + ui_state = t1.ui_state; + design = t1.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; + t1 = t1.get$isEmpty(t1) && design.helices._map$_map.__js_helper$_length !== 0; } else t1 = false; if (t1) @@ -44710,7 +45313,7 @@ } }, helix_change_offsets_middleware(store, action, next) { - var design, helix_idx, helix_has_domains, min_offset, max_offset, min_offset_of_strand, t1, max_offset_of_strand, t2, t3, t4, + var t1, design, helix_idx, helix_has_domains, min_offset, max_offset, min_offset_of_strand, max_offset_of_strand, 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 ", @@ -44718,14 +45321,16 @@ _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(); + if (action instanceof A._$HelixOffsetChange) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + design = t1.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); + min_offset_of_strand = store.__Store__state_A.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) { @@ -44736,7 +45341,7 @@ } } 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); + max_offset_of_strand = store.__Store__state_A.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) { @@ -44746,15 +45351,17 @@ return; } } - } else if (action instanceof A.HelixOffsetChangeAll) { + } 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, t1.$ti._precomputed1), t2 = max_offset != null, t3 = min_offset != null; t1.moveNext$0();) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + design = t1.get$design(); + for (t1 = design.helices.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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); + min_offset_of_strand = store.__Store__state_A.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) { @@ -44765,7 +45372,7 @@ } } if (t2 && helix_has_domains) { - max_offset_of_strand = store.get$state(store).get$design().max_offset_of_strands_at$1(t4); + max_offset_of_strand = store.__Store__state_A.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) { @@ -44783,8 +45390,10 @@ 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(); + if (action instanceof A._$HelixRemove) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design(); t2 = action.helix_idx; if (J.get$isNotEmpty$asx(t1.domains_on_helix$1(t2))) { t1 = window; @@ -44793,11 +45402,13 @@ if (!B.Window_methods.confirm$1(t1, "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 A.HelixRemoveAllSelected) { + } 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();) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + for (t1 = t1.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))) + if (J.get$isNotEmpty$asx(store.__Store__state_A.get$design().domains_on_helix$1(t3))) helix_idx_with_substrands.add$1(0, t3); } if (helix_idx_with_substrands._collection$_length !== 0) { @@ -44812,12 +45423,16 @@ next.call$1(action); }, insertion_deletion_batching_middleware(store, action, next) { - var other_domains, t1, t2, t3, _i, paired_domain; + var t1, t2, other_domains, t3, _i, batch_action, paired_domain, + _s12_ = "_dispatchers"; 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 (type$.InsertionOrDeletionAction._is(action)) { + t1 = action.get$all_helices(); + t2 = store.__Store__state_A; + if (t1) { + t2 === $ && A.throwLateFieldNI("_state"); + other_domains = A.find_other_domains(t2.get$design(), action.get$domain(action), action.get$offset(action)); if (other_domains.length === 0) next.call$1(action); else { @@ -44825,16 +45440,28 @@ 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())); + batch_action = A.BatchAction_BatchAction(B.JSArray_methods.$add(A._setArrayType([action], t1), t2), action.short_description$0()); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(batch_action); } } else { - paired_domain = A.find_paired_domain(store.get$state(store).get$design(), action.get$domain(action), action.get$offset(action)); + t2 === $ && A.throwLateFieldNI("_state"); + paired_domain = A.find_paired_domain(t2.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 { + batch_action = A.BatchAction_BatchAction(A._setArrayType([action, action.clone_for_other_domain$1(paired_domain)], type$.JSArray_UndoableAction), action.short_description$0()); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(batch_action); + } } - else + } else next.call$1(action); }, find_other_domains(design, domain, offset) { @@ -44868,25 +45495,55 @@ return null; }, invalidate_png_middleware(store, action, next) { + var t1, t2, + _s12_ = "_dispatchers"; 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)); + if (type$.SvgPngCacheInvalidatingAction._is(action)) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.dna_sequence_png_uri != null; + } else + t1 = false; + if (t1) { + t1 = A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); + } else { + if (type$.HelixSelectSvgPngCacheInvalidatingAction._is(action)) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state; + t1 = t1.storables.only_display_selected_helices && t1.dna_sequence_png_uri != null; + } else + t1 = false; + if (t1) { + t1 = A.LoadDnaSequenceImageUri_LoadDnaSequenceImageUri(null, 0, 0); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); + } + } next.call$1(action); }, oxview_update_view_middleware(store, action, next) { var t1; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof A.OxviewShowSet) { + 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); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.storables.show_oxview && type$.DesignChangingAction._is(action)) + A.update_oxview_view(t1.get$design(), null); }, update_oxview_view(design, frame) { var t1, t2, t3, t4, message, t5, dat_top, blob_dat, @@ -44920,13 +45577,15 @@ var t1, t2, design, addresses, new_address_helix_idx, t3, t4, t5, t6, t7, t8, t9, t10, old_domain, t11, old_5p_end, 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) { + 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(); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.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; @@ -44934,7 +45593,7 @@ t1 = false; if (!t1) return; - design = store.get$state(store).get$design(); + design = store.__Store__state_A.get$design(); addresses = A._setArrayType([], type$.JSArray_Address); t1 = t2.current_address; new_address_helix_idx = t1.helix_idx; @@ -45001,7 +45660,7 @@ } next.call$1(action); new_strands = A._setArrayType([], type$.JSArray_Strand); - new_design = store.get$state(store).get$design(); + new_design = store.__Store__state_A.get$design(); if (t1) address_to_strand = new_design.get$address_3p_to_strand(); else { @@ -45018,7 +45677,12 @@ t3.toString; B.JSArray_methods.add$1(new_strands, t3); } - store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_strands, type$.Strand))); + t1 = A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_strands, type$.Strand)); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else next.call$1(action); }, @@ -45026,12 +45690,14 @@ var addresses, t1, t2, t3, t4, old_end, t5, 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) { + 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, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { t4 = t2.__interceptors$_current; old_end = (t4 == null ? t3._as(t4) : t4).dna_end; - t4 = store.get$state(store).get$design(); + t4 = store.__Store__state_A; + t4 === $ && A.throwLateFieldNI("_state"); + t4 = t4.get$design(); t5 = t4.__end_to_domain; if (t5 == null) { t5 = A.Design.prototype.get$end_to_domain.call(t4); @@ -45049,7 +45715,9 @@ 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(); + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = t2.get$design(); t3 = t2.__address_to_end; if (t3 == null) { t3 = A.Design.prototype.get$address_to_end.call(t2); @@ -45061,7 +45729,12 @@ t2.toString; B.JSArray_methods.add$1(new_ends, t2); } - store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_ends, type$.DNAEnd))); + t1 = A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_ends, type$.DNAEnd)); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else next.call$1(action); }, @@ -45069,12 +45742,14 @@ var extension_ids, t1, t2, t3, old_end, t4, 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) { + 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, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) { t3 = t1.__interceptors$_current; old_end = (t3 == null ? t2._as(t3) : t3).dna_end; - t3 = store.get$state(store).get$design(); + t3 = store.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + t3 = t3.get$design(); t4 = t3.__end_to_extension; if (t4 == null) { t4 = A.Design.prototype.get$end_to_extension.call(t3); @@ -45085,13 +45760,15 @@ t3 = t3._map$_map.$index(0, old_end); t3.toString; t4 = t3._extension$__id; - B.JSArray_methods.add$1(extension_ids, t4 == null ? t3._extension$__id = A.Extension.prototype.get$id.call(t3, t3) : t4); + B.JSArray_methods.add$1(extension_ids, t4 == null ? t3._extension$__id = A.Extension.prototype.get$id.call(t3, 0) : t4); } 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(); + t2 = store.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = t2.get$design(); t3 = t2.__extensions_by_id; if (t3 == null) { t3 = A.Design.prototype.get$extensions_by_id.call(t2); @@ -45104,16 +45781,23 @@ 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))); + t1 = A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_ends, type$.DNAEnd)); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else next.call$1(action); }, reselect_moved_domains_middleware(store, action, next) { - var old_design, domains_move, addresses, t1, new_address_helix_idx, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, old_5p_end, t13, t14, new_helix_view_order, new_helix_idx, new_domains, new_design, address_to_domain, _i; + var t1, old_design, domains_move, addresses, new_address_helix_idx, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, old_5p_end, t13, t14, 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(); + if (action instanceof A._$DomainsMoveCommit && action.domains_move.domains_moving._list.length > 1) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + old_design = t1.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; @@ -45191,7 +45875,7 @@ } next.call$1(action); new_domains = A._setArrayType([], type$.JSArray_Domain); - new_design = store.get$state(store).get$design(); + new_design = store.__Store__state_A.get$design(); if (t1) { t1 = new_design.__address_3p_to_domain; if (t1 == null) { @@ -45214,7 +45898,12 @@ t3.toString; B.JSArray_methods.add$1(new_domains, t3); } - store.dispatch$1(A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_domains, type$.Domain))); + t1 = A._$SelectAll$_(true, A.BuiltList_BuiltList$of(new_domains, type$.Domain)); + t2 = store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + t2[0].call$1(t1); } else next.call$1(action); }, @@ -45222,7 +45911,7 @@ var t1; type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next).call$1(action); - if (action instanceof A.ResetLocalStorage) { + if (action instanceof A._$ResetLocalStorage) { t1 = window.localStorage; t1.toString; B.Storage_methods.remove$1(t1, "scadnano:design"); @@ -45233,49 +45922,61 @@ } }, strand_create_middleware(store, action, next) { + var t1; 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) + if (action instanceof A._$StrandCreateStart) { + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.get$design().domain_on_helix_at$2(action.address, null) != null) return; + } next.call$1(action); }, system_clipboard_middleware(store, action, next) { type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.CopySelectedStrands) { + if (action instanceof A._$CopySelectedStrands) { A.put_strand_info_on_clipboard(store); next.call$1(action); - } else if (action instanceof A.ManualPasteInitiate) + } else if (action instanceof A._$ManualPasteInitiate) A.handle_manual_paste_initiate(store, action, next); - else if (action instanceof A.AutoPasteInitiate) + else if (action instanceof A._$AutoPasteInitiate) A.handle_autopaste_initiate(store, action, next); else next.call$1(action); }, handle_manual_paste_initiate(store, action, next) { - var copy_info, t1; + var t1, copy_info, paste_start_action; 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 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + copy_info = t1.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)); + paste_start_action = A._$StrandsMoveStart$_(copy_info.copied_address, true, copy_info.helices_view_order_inverse, t1); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(paste_start_action); }, 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", + var t1, copy_info, strands_move, batch_actions_list, new_strand_moving_details, helix_idx, helices_offset_change_action, batch_action, _s6_ = "status", _s7_ = "offsets"; 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); + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + copy_info = t1.ui_state.copy_info; + strands_move = copy_info.create_strands_move$2$start_at_copied(t1, true); + if (!A.in_bounds_and_allowable(store.__Store__state_A.get$design(), strands_move)) + strands_move = copy_info.create_strands_move$2$start_at_copied(store.__Store__state_A, 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) + new_strand_moving_details = A.get_strand_bounds_details(store.__Store__state_A.get$design(), strands_move, null); + if (store.__Store__state_A.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; @@ -45291,7 +45992,12 @@ } 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")); + batch_action = A.BatchAction_BatchAction(batch_actions_list, "Changing helix offsets and then executing autopaste"); + t1 = store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(batch_action); } }, paste_is_impossible_from_clipboard(clipboard_content, in_browser) { @@ -45316,9 +46022,11 @@ return false; }, put_strand_info_on_clipboard(store) { - var clipboard_strings, t2, strand_json, strands_json, design, helices_view_order, t3, mods_map, t4, mod_json, - strands = store.get$state(store).ui_state.selectables_store.get$selected_strands(), - t1 = strands._set; + var strands, clipboard_strings, t2, strand_json, strands_json, design, helices_view_order, t3, mods_map, t4, mod_json, + t1 = store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + strands = t1.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();) { @@ -45326,7 +46034,7 @@ 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(); + design = store.__Store__state_A.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; @@ -45379,13 +46087,10 @@ for (t2 = new J.ArrayIterator(t3, t3.length, t5); t2.moveNext$0();) { t3 = t2.__interceptors$_current; t3 = (t3 == null ? t4._as(t3) : t3).modifications_int; - if (t3._values == null) { - t5 = t3._map$_map; - t3.set$_values(t5.get$values(t5)); - } + if (t3._values == null) + t3.set$_values(t3._map$_map.get$values(0)); t3 = t3._values; t5 = A._instanceType(t3); - t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); t3 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t5._eval$1("MappedIterator<1,2>")); t5 = t5._rest[1]; for (; t3.moveNext$0();) { @@ -45402,10 +46107,10 @@ 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)); + last_time = $._throttled_types.$index(0, A.getRuntimeTypeOfDartObject(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); + $._throttled_types.$indexSet(0, A.getRuntimeTypeOfDartObject(throttled_action), current_time); next.call$1(throttled_action); } } else @@ -45414,7 +46119,7 @@ zoom_speed_middleware(store, action, next) { type$.Store_AppState._as(store); type$.dynamic_Function_dynamic._as(next); - if (action instanceof A.ZoomSpeedSet) + if (action instanceof A._$ZoomSpeedSet) self.set_zoom_speed(action.speed); next.call$1(action); }, @@ -45530,7 +46235,7 @@ strand.___dna_sequence = true; } t3 = strand.__dna_sequence; - t4 = t3.length; + t3.toString; t3 = !A.stringContainsUnchecked(t3, "?", 0); } else t3 = false; @@ -45586,9 +46291,9 @@ } 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) + 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) { + 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); @@ -45601,7 +46306,7 @@ 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>")); + domains_on_helix_from = t8 == null ? null : new A.CopyOnWriteList(true, t8._list, t8.$ti._eval$1("CopyOnWriteList<1>")); if (domains_on_helix_from == null) domains_on_helix_from = A._setArrayType([], t5); overlaps = A._setArrayType([], t4); @@ -45613,14 +46318,7 @@ 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); + B.JSArray_methods.sort$1(overlaps, A.assign_or_remove_dna_reducer__compare_overlap$closure()); 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) { @@ -45718,20 +46416,20 @@ 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)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t1._list, t1.$ti._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)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, t1.$ti._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)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, t1.$ti._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)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, t1.$ti._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)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t2, t1.$ti._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)))); } } } @@ -45755,18 +46453,18 @@ new_state = new_state.remove_mode$1(B.SelectModeChoice_strand); if (t4 === B.SelectModeChoice_crossover || t4 === B.SelectModeChoice_loopout) { t4 = $.$get$SelectModeChoice_ends(); - new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t4._list, A._instanceType(t4)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t3)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t4._list, t4.$ti._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t3)))); } else { t5 = $.$get$SelectModeChoice_ends(); t6 = t5._list; if (B.JSArray_methods.contains$1(t6, t4)) 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], t3)); else if (t4 === B.SelectModeChoice_domain) - new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, A._instanceType(t5)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t3)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, t5.$ti._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion, B.SelectModeChoice_modification], t3)))); else if (t4 === B.SelectModeChoice_deletion || t4 === B.SelectModeChoice_insertion) - new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, A._instanceType(t5)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_modification], t3)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, t5.$ti._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_modification], t3)))); else if (t4 === B.SelectModeChoice_modification) - new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, A._instanceType(t5)._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion], t3)))); + new_state = new_state.remove_modes$1(B.JSArray_methods.$add(t6, t5.$ti._eval$1("List<1>")._as(A._setArrayType([B.SelectModeChoice_crossover, B.SelectModeChoice_loopout, B.SelectModeChoice_domain, B.SelectModeChoice_deletion, B.SelectModeChoice_insertion], t3)))); } } } @@ -45774,10 +46472,10 @@ }, isAllTheSame(iter) { var firstValue, t1, t2, value; - if (iter.get$length(iter) === 0) + if (iter.get$length(0) === 0) return true; - firstValue = iter.get$first(iter); - for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), 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();) { + firstValue = iter.get$first(0); + for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { value = t1.__internal$_current; if (!J.$eq$(value == null ? t2._as(value) : value, firstValue)) return false; @@ -45798,7 +46496,7 @@ }, countCodeUnits(string, codeUnit) { var t1, t2, count, t3; - for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListMixin.E"), count = 0; t1.moveNext$0();) { + for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; if ((t3 == null ? t2._as(t3) : t3) === codeUnit) ++count; @@ -45832,10 +46530,10 @@ return new A.WhereIterable(t1, t2._eval$1("bool(Iterable.E)")._as(matcher), t2._eval$1("WhereIterable")); }, 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; + var node; + for (node = _this.XmlHasParent__parent; node != null; node = node.get$parent(node)) + if (node instanceof A.XmlElement) + return node; return null; }, lookupAttribute(start, prefix, local) { @@ -45857,750 +46555,6 @@ $.__app._readField$0().start$0(0); } }, - 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$allocateGrowable($length, $E) { - 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; - }, - JSArray__compareAny(a, b) { - var t1 = type$.Comparable_dynamic; - return J.compareTo$1$ns(t1._as(a), t1._as(b)); - }, - 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$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); - }, - 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$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; - }, - 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; - }, - 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; - }, - set$_innerHtml$x(receiver, value) { - return J.getInterceptor$x(receiver).set$_innerHtml(receiver, value); - }, - set$dartComponentVersion$x(receiver, value) { - return J.getInterceptor$x(receiver).set$dartComponentVersion(receiver, value); - }, - set$dartStackTrace$x(receiver, value) { - return J.getInterceptor$x(receiver).set$dartStackTrace(receiver, value); - }, - set$disabled$z(receiver, value) { - return J.getInterceptor$z(receiver).set$disabled(receiver, value); - }, - set$display$z(receiver, value) { - return J.getInterceptor$z(receiver).set$display(receiver, value); - }, - set$displayName$x(receiver, value) { - return J.getInterceptor$x(receiver).set$displayName(receiver, value); - }, - set$height$x(receiver, value) { - return J.getInterceptor$x(receiver).set$height(receiver, value); - }, - set$key$z(receiver, value) { - return J.getInterceptor$z(receiver).set$key(receiver, value); - }, - set$length$asx(receiver, value) { - return J.getInterceptor$asx(receiver).set$length(receiver, value); - }, - set$props$x(receiver, value) { - return J.getInterceptor$x(receiver).set$props(receiver, value); - }, - set$render$x(receiver, value) { - return J.getInterceptor$x(receiver).set$render(receiver, value); - }, - set$show$z(receiver, value) { - return J.getInterceptor$z(receiver).set$show(receiver, value); - }, - set$src$x(receiver, value) { - return J.getInterceptor$x(receiver).set$src(receiver, value); - }, - set$state$x(receiver, value) { - return J.getInterceptor$x(receiver).set$state(receiver, value); - }, - set$store$z(receiver, value) { - return J.getInterceptor$z(receiver).set$store(receiver, value); - }, - set$value$x(receiver, value) { - return J.getInterceptor$x(receiver).set$value(receiver, value); - }, - set$width$x(receiver, value) { - return J.getInterceptor$x(receiver).set$width(receiver, value); - }, - get$attributes$x(receiver) { - return J.getInterceptor$x(receiver).get$attributes(receiver); - }, - get$buffer$x(receiver) { - return J.getInterceptor$x(receiver).get$buffer(receiver); - }, - get$button$x(receiver) { - return J.getInterceptor$x(receiver).get$button(receiver); - }, - get$checked$x(receiver) { - return J.getInterceptor$x(receiver).get$checked(receiver); - }, - get$classes$x(receiver) { - return J.getInterceptor$x(receiver).get$classes(receiver); - }, - get$componentStack$x(receiver) { - return J.getInterceptor$x(receiver).get$componentStack(receiver); - }, - get$ctrlKey$x(receiver) { - return J.getInterceptor$x(receiver).get$ctrlKey(receiver); - }, - get$current$x(receiver) { - return J.getInterceptor$x(receiver).get$current(receiver); - }, - get$currentTarget$x(receiver) { - return J.getInterceptor$x(receiver).get$currentTarget(receiver); - }, - get$dartComponent$x(receiver) { - return J.getInterceptor$x(receiver).get$dartComponent(receiver); - }, - get$dartComponentVersion$x(receiver) { - return J.getInterceptor$x(receiver).get$dartComponentVersion(receiver); - }, - get$defaultProps$x(receiver) { - return J.getInterceptor$x(receiver).get$defaultProps(receiver); - }, - get$displayName$x(receiver) { - return J.getInterceptor$x(receiver).get$displayName(receiver); - }, - get$entries$x(receiver) { - return J.getInterceptor$x(receiver).get$entries(receiver); - }, - get$first$ax(receiver) { - return J.getInterceptor$ax(receiver).get$first(receiver); - }, - get$hashCode$(receiver) { - return J.getInterceptor$(receiver).get$hashCode(receiver); - }, - get$hex$x(receiver) { - return J.getInterceptor$x(receiver).get$hex(receiver); - }, - get$innerHtml$x(receiver) { - return J.getInterceptor$x(receiver).get$innerHtml(receiver); - }, - get$isEmpty$asx(receiver) { - return J.getInterceptor$asx(receiver).get$isEmpty(receiver); - }, - get$isNotEmpty$asx(receiver) { - return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); - }, - get$iterator$ax(receiver) { - return J.getInterceptor$ax(receiver).get$iterator(receiver); - }, - get$keyCode$x(receiver) { - return J.getInterceptor$x(receiver).get$keyCode(receiver); - }, - get$keys$x(receiver) { - return J.getInterceptor$x(receiver).get$keys(receiver); - }, - get$last$ax(receiver) { - return J.getInterceptor$ax(receiver).get$last(receiver); - }, - get$length$asx(receiver) { - return J.getInterceptor$asx(receiver).get$length(receiver); - }, - get$message$x(receiver) { - return J.getInterceptor$x(receiver).get$message(receiver); - }, - get$metaKey$x(receiver) { - return J.getInterceptor$x(receiver).get$metaKey(receiver); - }, - get$nativeEvent$x(receiver) { - return J.getInterceptor$x(receiver).get$nativeEvent(receiver); - }, - get$nodeType$x(receiver) { - return J.getInterceptor$x(receiver).get$nodeType(receiver); - }, - get$offset$x(receiver) { - return J.getInterceptor$x(receiver).get$offset(receiver); - }, - get$onClick$x(receiver) { - return J.getInterceptor$x(receiver).get$onClick(receiver); - }, - get$onMouseDown$x(receiver) { - return J.getInterceptor$x(receiver).get$onMouseDown(receiver); - }, - get$onTouchStart$x(receiver) { - return J.getInterceptor$x(receiver).get$onTouchStart(receiver); - }, - get$props$x(receiver) { - return J.getInterceptor$x(receiver).get$props(receiver); - }, - get$reversed$ax(receiver) { - return J.getInterceptor$ax(receiver).get$reversed(receiver); - }, - get$runtimeType$(receiver) { - return J.getInterceptor$(receiver).get$runtimeType(receiver); - }, - get$setRequestHeader$x(receiver) { - return J.getInterceptor$x(receiver).get$setRequestHeader(receiver); - }, - get$shiftKey$x(receiver) { - return J.getInterceptor$x(receiver).get$shiftKey(receiver); - }, - get$single$ax(receiver) { - return J.getInterceptor$ax(receiver).get$single(receiver); - }, - get$source$z(receiver) { - return J.getInterceptor$z(receiver).get$source(receiver); - }, - get$target$x(receiver) { - return J.getInterceptor$x(receiver).get$target(receiver); - }, - get$type$x(receiver) { - return J.getInterceptor$x(receiver).get$type(receiver); - }, - get$value$x(receiver) { - return J.getInterceptor$x(receiver).get$value(receiver); - }, - get$values$x(receiver) { - return J.getInterceptor$x(receiver).get$values(receiver); - }, - get$which$x(receiver) { - return J.getInterceptor$x(receiver).get$which(receiver); - }, - $add$ansx(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver + a0; - return J.getInterceptor$ansx(receiver).$add(receiver, a0); - }, - $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); - }, - $mod$n(receiver, a0) { - return J.getInterceptor$n(receiver).$mod(receiver, a0); - }, - $sub$n(receiver, a0) { - if (typeof receiver == "number" && typeof a0 == "number") - return receiver - a0; - return J.getInterceptor$n(receiver).$sub(receiver, a0); - }, - _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); - }, - _replaceChild$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); - }, - add$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).add$1(receiver, a0); - }, - addAll$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); - }, - addEventListener$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); - }, - addEventListener$3$x(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); - }, - 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); - }, - asByteData$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).asByteData$2(receiver, a0, a1); - }, - asUint8List$0$x(receiver) { - return J.getInterceptor$x(receiver).asUint8List$0(receiver); - }, - asUint8List$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1); - }, - cast$1$0$ax(receiver, $T1) { - return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); - }, - cast$2$0$ax(receiver, $T1, $T2) { - return J.getInterceptor$ax(receiver).cast$2$0(receiver, $T1, $T2); - }, - click$0$x(receiver) { - return J.getInterceptor$x(receiver).click$0(receiver); - }, - close$0$z(receiver) { - return J.getInterceptor$z(receiver).close$0(receiver); - }, - codeUnitAt$1$s(receiver, a0) { - return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); - }, - compareTo$1$ns(receiver, a0) { - return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); - }, - contains$1$asx(receiver, a0) { - return J.getInterceptor$asx(receiver).contains$1(receiver, a0); - }, - containsKey$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); - }, - drawImage$3$x(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).drawImage$3(receiver, a0, a1, a2); - }, - elementAt$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); - }, - expand$1$1$ax(receiver, a0, $T1) { - return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); - }, - firstWhere$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).firstWhere$1(receiver, a0); - }, - forEach$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); - }, - getBoundingClientRect$0$x(receiver) { - return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); - }, - getRange$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); - }, - getUint32$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).getUint32$2(receiver, a0, a1); - }, - indexOf$2$asx(receiver, a0, a1) { - return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); - }, - insert$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); - }, - insertAll$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).insertAll$2(receiver, a0, a1); - }, - insertAllBefore$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); - }, - insertBefore$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).insertBefore$2(receiver, a0, a1); - }, - join$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).join$1(receiver, a0); - }, - map$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).map$1(receiver, a0); - }, - map$1$1$ax(receiver, a0, $T1) { - return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); - }, - map$2$1$ax(receiver, a0, $T1, $T2) { - return J.getInterceptor$ax(receiver).map$2$1(receiver, a0, $T1, $T2); - }, - matchAsPrefix$2$s(receiver, a0, a1) { - return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); - }, - matches$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).matches$1(receiver, a0); - }, - matchesWithAncestors$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); - }, - noSuchMethod$1$(receiver, a0) { - return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); - }, - postMessage$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); - }, - preventDefault$0$x(receiver) { - return J.getInterceptor$x(receiver).preventDefault$0(receiver); - }, - remove$0$ax(receiver) { - return J.getInterceptor$ax(receiver).remove$0(receiver); - }, - remove$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).remove$1(receiver, a0); - }, - removeAt$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).removeAt$1(receiver, a0); - }, - removeEventListener$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).removeEventListener$2(receiver, a0, a1); - }, - removeEventListener$3$x(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); - }, - removeLast$0$ax(receiver) { - return J.getInterceptor$ax(receiver).removeLast$0(receiver); - }, - removeRange$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); - }, - removeWhere$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).removeWhere$1(receiver, a0); - }, - replaceWith$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); - }, - send$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).send$1(receiver, a0); - }, - setAll$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).setAll$2(receiver, a0, a1); - }, - setRange$3$ax(receiver, a0, a1, a2) { - return J.getInterceptor$ax(receiver).setRange$3(receiver, a0, a1, a2); - }, - setRange$4$ax(receiver, a0, a1, a2, a3) { - return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); - }, - setSelectionRange$2$x(receiver, a0, a1) { - return J.getInterceptor$x(receiver).setSelectionRange$2(receiver, a0, a1); - }, - setState$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).setState$1(receiver, a0); - }, - setUint32$3$x(receiver, a0, a1, a2) { - return J.getInterceptor$x(receiver).setUint32$3(receiver, a0, a1, a2); - }, - skip$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).skip$1(receiver, a0); - }, - sort$0$ax(receiver) { - return J.getInterceptor$ax(receiver).sort$0(receiver); - }, - sort$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).sort$1(receiver, a0); - }, - stopPropagation$0$x(receiver) { - return J.getInterceptor$x(receiver).stopPropagation$0(receiver); - }, - sublist$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).sublist$1(receiver, a0); - }, - sublist$2$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); - }, - take$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).take$1(receiver, a0); - }, - then$1$1$z(receiver, a0, $T1) { - return J.getInterceptor$z(receiver).then$1$1(receiver, a0, $T1); - }, - then$1$2$onError$z(receiver, a0, a1, $T1) { - return J.getInterceptor$z(receiver).then$1$2$onError(receiver, a0, a1, $T1); - }, - toBlob$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).toBlob$1(receiver, a0); - }, - toList$0$ax(receiver) { - return J.getInterceptor$ax(receiver).toList$0(receiver); - }, - toList$1$growable$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0); - }, - toLowerCase$0$s(receiver) { - return J.getInterceptor$s(receiver).toLowerCase$0(receiver); - }, - toSet$0$ax(receiver) { - return J.getInterceptor$ax(receiver).toSet$0(receiver); - }, - toString$0$(receiver) { - return J.getInterceptor$(receiver).toString$0(receiver); - }, - toStringAsFixed$1$n(receiver, a0) { - return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); - }, - trim$0$s(receiver) { - return J.getInterceptor$s(receiver).trim$0(receiver); - }, - where$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).where$1(receiver, a0); - }, - 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; - _.__interceptors$_current = null; - _.$ti = t2; - }, - JSNumber: function JSNumber() { - }, - JSInt: function JSInt() { - }, - JSNumNotInt: function JSNumNotInt() { - }, - JSString: function JSString() { - } - }, B = {}; var holders = [A, J, B]; var $ = {}; @@ -46616,11 +46570,10 @@ return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'"; }, 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)); + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, type$.Invocation._as(invocation))); }, get$runtimeType(receiver) { - return A.getRuntimeType(receiver); + return A.createRuntimeType(A._instanceTypeFromConstructor(this)); } }; J.JSBool.prototype = { @@ -46634,8 +46587,9 @@ return receiver ? 519018 : 218159; }, get$runtimeType(receiver) { - return B.Type_bool_lhE; + return A.createRuntimeType(type$.bool); }, + $isTrustedGetRuntimeType: 1, $isbool: 1 }; J.JSNull.prototype = { @@ -46649,22 +46603,22 @@ return 0; }, get$runtimeType(receiver) { - return B.Type_Null_Yyn; + return A.createRuntimeType(type$.Null); }, + $isTrustedGetRuntimeType: 1, $isNull: 1 }; - J.JavaScriptObject.prototype = {}; + J.JavaScriptObject.prototype = {$isJSObject: 1}; J.LegacyJavaScriptObject.prototype = { get$hashCode(receiver) { return 0; }, get$runtimeType(receiver) { - return B.Type_JSObject_8k0; + return B.Type_JSObject_0ua; }, toString$0(receiver) { return String(receiver); }, - $isJSObject: 1, $isJsConnectOptions: 1, $isJsMap: 1, $isJsRef: 1, @@ -46678,9 +46632,6 @@ $isSyntheticMouseEvent: 1, $isSyntheticPointerEvent: 1, $isJSColor: 1, - send$1(receiver, p0) { - return receiver.send(p0); - }, set$areOwnPropsEqual(obj, v) { return obj.areOwnPropsEqual = v; }, @@ -46776,14 +46727,27 @@ 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)); + return "JavaScript function for " + J.toString$0$(dartClosure); }, $isFunction: 1 }; - 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>")); + J.JavaScriptBigInt.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.JavaScriptSymbol.prototype = { + get$hashCode(receiver) { + return 0; }, + toString$0(receiver) { + return String(receiver); + } + }; + J.JSArray.prototype = { add$1(receiver, value) { A._arrayInstanceType(receiver)._precomputed1._as(value); if (!!receiver.fixed$length) @@ -46825,7 +46789,7 @@ 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) { + for (t1 = J.get$iterator$ax(iterable._source), t2 = A._instanceType(iterable)._rest[1]; t1.moveNext$0(); index = index0) { index0 = index + 1; this.$indexSet(receiver, index, t2._as(t1.get$current(t1))); } @@ -46923,8 +46887,8 @@ 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>")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(receiver, f) { + return this.map$1$1(receiver, f, type$.dynamic); }, join$1(receiver, separator) { var i, @@ -46933,8 +46897,8 @@ this.$indexSet(list, i, A.S(receiver[i])); return list.join(separator); }, - join$0($receiver) { - return this.join$1($receiver, ""); + join$0(receiver) { + return this.join$1(receiver, ""); }, take$1(receiver, n) { return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1); @@ -46987,8 +46951,8 @@ return orElse.call$0(); throw A.wrapException(A.IterableElementError_noElement()); }, - firstWhere$1($receiver, test) { - return this.firstWhere$2$orElse($receiver, test, null); + firstWhere$1(receiver, test) { + return this.firstWhere$2$orElse(receiver, test, null); }, elementAt$1(receiver, index) { if (!(index >= 0 && index < receiver.length)) @@ -47006,8 +46970,8 @@ return A._setArrayType([], A._arrayInstanceType(receiver)); return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver)); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, getRange$2(receiver, start, end) { A.RangeError_checkValidRange(start, end, receiver.length); @@ -47042,7 +47006,7 @@ receiver.splice(start, end - start); }, setRange$4(receiver, start, end, iterable, skipCount) { - var $length, otherList, otherStart, t1, t2, i; + var $length, otherList, otherStart, t1, i; A._asInt(end); A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); if (!!receiver.immutable$list) @@ -47060,10 +47024,7 @@ otherStart = 0; } t1 = J.getInterceptor$asx(otherList); - t2 = t1.get$length(otherList); - if (typeof t2 !== "number") - return A.iae(t2); - if (otherStart + $length > t2) + if (otherStart + $length > t1.get$length(otherList)) throw A.wrapException(A.IterableElementError_tooFew()); if (otherStart < start) for (i = $length - 1; i >= 0; --i) @@ -47072,8 +47033,8 @@ for (i = 0; i < $length; ++i) receiver[start + i] = t1.$index(otherList, otherStart + i); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(receiver, start, end, iterable) { + return this.setRange$4(receiver, start, end, iterable, 0); }, fillRange$3(receiver, start, end, fillValue) { var i; @@ -47139,16 +47100,52 @@ return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>")); }, sort$1(receiver, compare) { - var t2, + var len, a, b, undefineds, i, 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); + len = receiver.length; + if (len < 2) + return; + if (compare == null) + compare = J._interceptors_JSArray__compareAny$closure(); + if (len === 2) { + a = receiver[0]; + b = receiver[1]; + t1 = compare.call$2(a, b); + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > 0) { + receiver[0] = b; + receiver[1] = a; + } + return; + } + undefineds = 0; + if (t1._precomputed1._is(null)) + for (i = 0; i < receiver.length; ++i) + if (receiver[i] === void 0) { + receiver[i] = null; + ++undefineds; + } + receiver.sort(A.convertDartClosureToJS(compare, 2)); + if (undefineds > 0) + this._replaceSomeNullsWithUndefined$1(receiver, undefineds); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(receiver) { + return this.sort$1(receiver, null); + }, + _replaceSomeNullsWithUndefined$1(receiver, count) { + var i0, + i = receiver.length; + for (; i0 = i - 1, i > 0; i = i0) + if (receiver[i0] === null) { + receiver[i0] = void 0; + --count; + if (count === 0) + break; + } }, indexOf$2(receiver, element, start) { var i, @@ -47163,8 +47160,8 @@ } return -1; }, - indexOf$1($receiver, element) { - return this.indexOf$2($receiver, element, 0); + indexOf$1(receiver, element) { + return this.indexOf$2(receiver, element, 0); }, contains$1(receiver, other) { var i; @@ -47180,14 +47177,14 @@ return receiver.length !== 0; }, toString$0(receiver) { - return A.IterableBase_iterableToFullString(receiver, "[", "]"); + return A.Iterable_iterableToFullString(receiver, "[", "]"); }, 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); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(receiver) { + return this.toList$1$growable(receiver, true); }, toSet$0(receiver) { return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1); @@ -47242,8 +47239,8 @@ return i; return -1; }, - indexWhere$1($receiver, test) { - return this.indexWhere$2($receiver, test, 0); + indexWhere$1(receiver, test) { + return this.indexWhere$2(receiver, test, 0); }, set$last(receiver, element) { var t1; @@ -47253,7 +47250,9 @@ throw A.wrapException(A.IterableElementError_noElement()); this.$indexSet(receiver, t1 - 1, element); }, - $isJSIndexable: 1, + get$runtimeType(receiver) { + return A.createRuntimeType(A._arrayInstanceType(receiver)); + }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 @@ -47268,8 +47267,10 @@ var t2, _this = this, t1 = _this._iterable, $length = t1.length; - if (_this.__interceptors$_length !== $length) - throw A.wrapException(A.throwConcurrentModificationError(t1)); + if (_this.__interceptors$_length !== $length) { + t1 = A.throwConcurrentModificationError(t1); + throw A.wrapException(t1); + } t2 = _this._index; if (t2 >= $length) { _this.set$__interceptors$_current(null); @@ -47374,11 +47375,15 @@ return result; }, toRadixString$1(receiver, radix) { - var result, match, t1, exponent; + var result, t1, t2, match, 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) + t1 = result.length; + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(result, t2); + if (result.charCodeAt(t2) !== 41) return result; match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result); if (match == null) @@ -47488,7 +47493,7 @@ return other > 31 ? 0 : receiver >>> other; }, get$runtimeType(receiver) { - return B.Type_num_cv7; + return A.createRuntimeType(type$.num); }, $isComparable: 1, $isdouble: 1, @@ -47506,51 +47511,45 @@ return wordBits - Math.clz32(nonneg); }, get$runtimeType(receiver) { - return B.Type_int_tHn; + return A.createRuntimeType(type$.int); }, + $isTrustedGetRuntimeType: 1, $isint: 1 }; J.JSNumNotInt.prototype = { get$runtimeType(receiver) { - return B.Type_double_K1J; - } + return A.createRuntimeType(type$.double); + }, + $isTrustedGetRuntimeType: 1 }; J.JSString.prototype = { - codeUnitAt$1(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); - }, - _codeUnitAt$1(receiver, index) { - if (index >= receiver.length) - throw A.wrapException(A.diagnoseIndexError(receiver, index)); - return receiver.charCodeAt(index); - }, 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); }, - allMatches$1($receiver, string) { - return this.allMatches$2($receiver, string, 0); + allMatches$1(receiver, string) { + return this.allMatches$2(receiver, string, 0); }, matchAsPrefix$2(receiver, string, start) { - var t1, i, _null = null; + var t1, t2, i, t3, _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) + t2 = string.length; + if (start + t1 > t2) return _null; - for (i = 0; i < t1; ++i) - if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) + for (i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(string, t3); + if (string.charCodeAt(t3) !== receiver.charCodeAt(i)) return _null; + } return new A.StringMatch(start, receiver); }, $add(receiver, other) { - A._asString(other); return receiver + other; }, endsWith$1(receiver, other) { @@ -47561,7 +47560,6 @@ return other === this.substring$1(receiver, t1 - otherLength); }, replaceAll$2(receiver, from, to) { - type$.Pattern._as(from); return A.stringReplaceAllUnchecked(receiver, from, to); }, replaceFirst$2(receiver, from, to) { @@ -47581,14 +47579,14 @@ return false; return pattern === receiver.substring(index, endIndex); }, - startsWith$1($receiver, pattern) { - return this.startsWith$2($receiver, pattern, 0); + startsWith$1(receiver, pattern) { + return this.startsWith$2(receiver, pattern, 0); }, 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); + substring$1(receiver, start) { + return this.substring$2(receiver, start, null); }, toLowerCase$0(receiver) { return receiver.toLowerCase(); @@ -47599,37 +47597,34 @@ endIndex = result.length; if (endIndex === 0) return result; - if (this._codeUnitAt$1(result, 0) === 133) { + if (0 >= endIndex) + return A.ioore(result, 0); + if (result.charCodeAt(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 (!(t1 >= 0)) + return A.ioore(result, t1); + endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; if (startIndex === 0 && endIndex0 === endIndex) return result; return result.substring(startIndex, endIndex0); }, trimRight$0(receiver) { - var result, endIndex, t1; - if (typeof receiver.trimRight != "undefined") { - result = receiver.trimRight(); + var t1, + result = receiver.trimEnd(), 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); + return result; + t1 = endIndex - 1; + if (!(t1 >= 0)) + return A.ioore(result, t1); + if (result.charCodeAt(t1) !== 133) + return result; + return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1)); }, $mul(receiver, times) { var s, result; @@ -47668,8 +47663,8 @@ t1 = receiver.indexOf(pattern, start); return t1; }, - indexOf$1($receiver, pattern) { - return this.indexOf$2($receiver, pattern, 0); + indexOf$1(receiver, pattern) { + return this.indexOf$2(receiver, pattern, 0); }, lastIndexOf$2(receiver, pattern, start) { var t1, t2; @@ -47683,8 +47678,8 @@ start = t2 - t1; return receiver.lastIndexOf(pattern, start); }, - lastIndexOf$1($receiver, pattern) { - return this.lastIndexOf$2($receiver, pattern, null); + lastIndexOf$1(receiver, pattern) { + return this.lastIndexOf$2(receiver, pattern, null); }, contains$2(receiver, other, startIndex) { var t1 = receiver.length; @@ -47692,8 +47687,8 @@ throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null)); return A.stringContainsUnchecked(receiver, other, startIndex); }, - contains$1($receiver, other) { - return this.contains$2($receiver, other, 0); + contains$1(receiver, other) { + return this.contains$2(receiver, other, 0); }, compareTo$1(receiver, other) { var t1; @@ -47719,7 +47714,7 @@ return hash + ((hash & 16383) << 15) & 536870911; }, get$runtimeType(receiver) { - return B.Type_String_k8F; + return A.createRuntimeType(type$.String); }, get$length(receiver) { return receiver.length; @@ -47730,15 +47725,14 @@ throw A.wrapException(A.diagnoseIndexError(receiver, index)); return receiver[index]; }, - $isJSIndexable: 1, + $isTrustedGetRuntimeType: 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>")); + return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>")); }, get$length(_) { return J.get$length$asx(this.get$_source()); @@ -47787,9 +47781,6 @@ $isIterator: 1 }; A.CastIterable.prototype = { - cast$1$0(_, $R) { - return A.CastIterable_CastIterable(this._source, A._instanceType(this)._precomputed1, $R); - }, get$_source() { return this._source; } @@ -47820,8 +47811,8 @@ t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare); J.sort$1$ax(this._source, t1); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, insert$2(_, index, element) { var t1 = this.$ti; @@ -47855,8 +47846,8 @@ var t1 = this.$ti; J.setRange$4$ax(this._source, start, A._asInt(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); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, $isEfficientLengthIterable: 1, $isList: 1 @@ -47884,31 +47875,13 @@ } }; 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$_source() { - return this._source; - } - }; - 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>")); - }, - add$1(_, value) { - var t1 = this.$ti; - return this._source.add$1(0, t1._precomputed1._as(t1._rest[1]._as(value))); - }, - $isEfficientLengthIterable: 1, - $isSet: 1, get$_source() { return this._source; } }; 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>")); + return new A.CastMap(this._source, this.$ti._eval$1("@<1,2>")._bind$1(RK)._bind$1(RV)._eval$1("CastMap<1,2,3,4>")); }, containsKey$1(_, key) { return J.containsKey$1$x(this._source, key); @@ -47945,9 +47918,6 @@ get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._source); }, - 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))); } @@ -47963,18 +47933,6 @@ return this.$this.$ti._eval$1("~(1,2)"); } }; - 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>")); - }, - $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; @@ -47986,21 +47944,6 @@ 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>")); - }, - 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)))); - }, - $isEfficientLengthIterable: 1, - $isQueue: 1, - get$_source() { - return this._source; - } - }; A.LateError.prototype = { toString$0(_) { return "LateInitializationError: " + this._message; @@ -48011,7 +47954,12 @@ return this.__internal$_string.length; }, $index(_, i) { - return B.JSString_methods.codeUnitAt$1(this.__internal$_string, A._asInt(i)); + var t1; + A._asInt(i); + t1 = this.__internal$_string; + if (!(i >= 0 && i < t1.length)) + return A.ioore(t1, i); + return t1.charCodeAt(i); } }; A.nullFuture_closure.prototype = { @@ -48046,22 +47994,16 @@ return this.elementAt$1(0, 0); }, get$last(_) { - var t1, _this = this; + var _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); + return _this.elementAt$1(0, _this.get$length(_this) - 1); }, get$single(_) { - var t1, _this = this; + var _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) + if (_this.get$length(_this) > 1) throw A.wrapException(A.IterableElementError_tooMany()); return _this.elementAt$1(0, 0); }, @@ -48100,8 +48042,8 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; } }, - join$0($receiver) { - return this.join$1($receiver, ""); + join$0(_) { + return this.join$1(0, ""); }, where$1(_, test) { return this.super$Iterable$where(0, A._instanceType(this)._eval$1("bool(ListIterable.E)")._as(test)); @@ -48110,8 +48052,8 @@ 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>")); }, - map$1($receiver, toElement) { - return this.map$1$1($receiver, toElement, type$.dynamic); + map$1(_, toElement) { + return this.map$1$1(0, toElement, type$.dynamic); }, reduce$1(_, combine) { var $length, value, i, _this = this; @@ -48136,8 +48078,8 @@ toList$1$growable(_, growable) { return A.List_List$of(this, growable, A._instanceType(this)._eval$1("ListIterable.E")); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(_) { + return this.toList$1$growable(0, true); } }; A.SubListIterable.prototype = { @@ -48183,7 +48125,7 @@ var _this = this, realIndex = _this.get$_startIndex() + index; if (index < 0 || realIndex >= _this.get$_endIndex()) - throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, null, "index")); + throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index")); return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); }, skip$1(_, count) { @@ -48210,7 +48152,7 @@ } }, toList$1$growable(_, growable) { - var $length, result, i, t3, _this = this, + var $length, result, i, _this = this, start = _this.__internal$_start, t1 = _this.__internal$_iterable, t2 = J.getInterceptor$asx(t1), @@ -48226,16 +48168,10 @@ 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) + if (t2.get$length(t1) < end) throw A.wrapException(A.ConcurrentModificationError$(_this)); } return result; - }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); } }; A.ListIterator.prototype = { @@ -48266,8 +48202,7 @@ }; 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>")); + return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>")); }, get$length(_) { return J.get$length$asx(this.__internal$_iterable); @@ -48306,7 +48241,8 @@ }, set$__internal$_current(_current) { this.__internal$_current = this.$ti._eval$1("2?")._as(_current); - } + }, + $isIterator: 1 }; A.MappedListIterable.prototype = { get$length(_) { @@ -48324,8 +48260,8 @@ 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); + map$1(_, toElement) { + return this.map$1$1(0, toElement, type$.dynamic); } }; A.WhereIterator.prototype = { @@ -48339,12 +48275,12 @@ get$current(_) { var t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; 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>")); + return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>")); } }; A.ExpandIterator.prototype = { @@ -48406,7 +48342,8 @@ } t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; A.TakeWhileIterable.prototype = { get$iterator(_) { @@ -48433,7 +48370,8 @@ } t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; A.SkipIterable.prototype = { skip$1(_, count) { @@ -48447,11 +48385,7 @@ }; 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; + var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount; if ($length >= 0) return $length; return 0; @@ -48474,7 +48408,8 @@ get$current(_) { var t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; A.SkipWhileIterable.prototype = { get$iterator(_) { @@ -48495,7 +48430,8 @@ get$current(_) { var t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; A.EmptyIterable.prototype = { get$iterator(_) { @@ -48536,8 +48472,8 @@ 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); + map$1(_, toElement) { + return this.map$1$1(0, toElement, type$.dynamic); }, skip$1(_, count) { A.RangeError_checkNotNegative(count, "count"); @@ -48550,9 +48486,6 @@ 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); } }; A.EmptyIterator.prototype = { @@ -48657,8 +48590,8 @@ 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); + sort$0(_) { + return this.sort$1(0, null); }, removeAt$1(_, index) { throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list")); @@ -48671,8 +48604,8 @@ 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); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); } }; A.UnmodifiableListBase.prototype = {}; @@ -48682,11 +48615,8 @@ }, elementAt$1(_, index) { var t1 = this._source, - t2 = J.getInterceptor$asx(t1), - t3 = t2.get$length(t1); - if (typeof t3 !== "number") - return t3.$sub(); - return t2.elementAt$1(t1, t3 - 1 - index); + t2 = J.getInterceptor$asx(t1); + return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index); } }; A.Symbol.prototype = { @@ -48694,21 +48624,26 @@ var hash = this._hashCode; if (hash != null) return hash; - hash = 664597 * J.get$hashCode$(this.__internal$_name) & 536870911; + hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911; this._hashCode = hash; return hash; }, toString$0(_) { - return 'Symbol("' + A.S(this.__internal$_name) + '")'; + return 'Symbol("' + this.__internal$_name + '")'; }, $eq(_, other) { if (other == null) return false; - return other instanceof A.Symbol && this.__internal$_name == other.__internal$_name; + return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name; }, $isSymbol0: 1 }; A.__CastListBase__CastIterableBase_ListMixin.prototype = {}; + A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 1}; + A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 2}; + A._Record_4.prototype = {$recipe: "+(1,2,3,4)", $shape: 3}; + A._Record_5.prototype = {$recipe: "+(1,2,3,4,5)", $shape: 4}; + A._Record_8.prototype = {$recipe: "+(1,2,3,4,5,6,7,8)", $shape: 5}; A.ConstantMapView.prototype = {}; A.ConstantMap.prototype = { cast$2$0(_, RK, RV) { @@ -48724,67 +48659,23 @@ toString$0(_) { return A.MapBase_mapToString(this); }, - $indexSet(_, key, val) { + $indexSet(_, key, value) { var t1 = A._instanceType(this); t1._precomputed1._as(key); - t1._rest[1]._as(val); + t1._rest[1]._as(value); A.ConstantMap__throwUnmodifiable(); }, remove$1(_, key) { A.ConstantMap__throwUnmodifiable(); }, - 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, t3, key, t4; - 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), t3 = t2._rest[1], t2 = t2._eval$1("@<1>")._bind$1(t3)._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); - t4 = $async$self.$index(0, key); - $async$goto = 4; - return new A.MapEntry(key, t4 == null ? t3._as(t4) : t4, 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); + map$1(_, transform) { + var t1 = type$.dynamic; + return this.map$2$1(0, transform, t1, t1); }, removeWhere$1(_, test) { A._instanceType(this)._eval$1("bool(1,2)")._as(test); @@ -48804,66 +48695,85 @@ }; A.ConstantStringMap.prototype = { get$length(_) { - return this._length; + return this.__js_helper$_values.length; + }, + get$__js_helper$_keys() { + var keys = this.$keys; + if (keys == null) { + keys = Object.keys(this._jsIndex); + this.$keys = keys; + } + return keys; }, containsKey$1(_, key) { if (typeof key != "string") return false; if ("__proto__" === key) return false; - return this._jsObject.hasOwnProperty(key); + return this._jsIndex.hasOwnProperty(key); }, $index(_, key) { if (!this.containsKey$1(0, key)) return null; - return this._jsObject[A._asString(key)]; + return this.__js_helper$_values[this._jsIndex[key]]; }, 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])); - } + var keys, values, t1, i; + this.$ti._eval$1("~(1,2)")._as(f); + keys = this.get$__js_helper$_keys(); + values = this.__js_helper$_values; + for (t1 = keys.length, i = 0; i < t1; ++i) + f.call$2(keys[i], values[i]); }, get$keys(_) { - return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>")); + return new A._KeysOrValues(this.get$__js_helper$_keys(), this.$ti._eval$1("_KeysOrValues<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]); + return new A._KeysOrValues(this.__js_helper$_values, this.$ti._eval$1("_KeysOrValues<2>")); } }; - A.ConstantStringMap_values_closure.prototype = { - call$1(key) { - var t1 = this.$this, - t2 = t1.$ti; - return t2._rest[1]._as(t1._jsObject[A._asString(t2._precomputed1._as(key))]); + A._KeysOrValues.prototype = { + get$length(_) { + return this._elements.length; }, - $signature() { - return this.$this.$ti._eval$1("2(1)"); + get$isEmpty(_) { + return 0 === this._elements.length; + }, + get$isNotEmpty(_) { + return 0 !== this._elements.length; + }, + get$iterator(_) { + var t1 = this._elements; + return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<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>")); + A._KeysOrValuesOrElementsIterator.prototype = { + get$current(_) { + var t1 = this.__js_helper$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; }, - get$length(_) { - return this._map.__js_helper$_keys.length; - } + moveNext$0() { + var _this = this, + t1 = _this.__js_helper$_index; + if (t1 >= _this.__js_helper$_length) { + _this.set$__js_helper$_current(null); + return false; + } + _this.set$__js_helper$_current(_this._elements[t1]); + ++_this.__js_helper$_index; + return true; + }, + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 }; A.GeneralConstantMap.prototype = { _getMap$0() { - var t1, t2, t3, _this = this, + var _this = this, backingMap = _this.$map; if (backingMap == null) { - t1 = _this.$ti; - t2 = t1._precomputed1; - t3 = A.GeneralConstantMap__typeTest(t2); - backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]); + backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,2>")); A.fillLiteralMap(_this._jsData, backingMap); _this.$map = backingMap; } @@ -48884,31 +48794,97 @@ return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>")); }, get$values(_) { - var t1 = this._getMap$0(); - return t1.get$values(t1); + return this._getMap$0().get$values(0); }, get$length(_) { - return this._getMap$0()._length; + return this._getMap$0().__js_helper$_length; } }; - A.GeneralConstantMap__typeTest_closure.prototype = { - call$1(o) { - return this.T._is(o); + A.ConstantSet.prototype = { + add$1(_, value) { + A._instanceType(this)._precomputed1._as(value); + A.ConstantSet__throwUnmodifiable(); }, - $signature: 66 + remove$1(_, value) { + A.ConstantSet__throwUnmodifiable(); + }, + removeAll$1(elements) { + A.ConstantSet__throwUnmodifiable(); + } }; - A.Instantiation.prototype = { - Instantiation$1(_genericClosure) { - if (false) - A.instantiatedGenericFunctionType(0, 0); + A.ConstantStringSet.prototype = { + get$length(_) { + return this.__js_helper$_length; + }, + get$isEmpty(_) { + return this.__js_helper$_length === 0; }, + get$isNotEmpty(_) { + return this.__js_helper$_length !== 0; + }, + get$iterator(_) { + var t1, _this = this, + keys = _this.$keys; + if (keys == null) { + keys = Object.keys(_this._jsIndex); + _this.$keys = keys; + } + t1 = keys; + return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); + }, + contains$1(_, key) { + if (typeof key != "string") + return false; + if ("__proto__" === key) + return false; + return this._jsIndex.hasOwnProperty(key); + }, + toSet$0(_) { + return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1); + } + }; + A.GeneralConstantSet.prototype = { + get$length(_) { + return this._elements.length; + }, + get$isEmpty(_) { + return this._elements.length === 0; + }, + get$isNotEmpty(_) { + return this._elements.length !== 0; + }, + get$iterator(_) { + var t1 = this._elements; + return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); + }, + _getMap$0() { + var t1, t2, _i, key, _this = this, + backingMap = _this.$map; + if (backingMap == null) { + backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>")); + for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { + key = t1[_i]; + backingMap.$indexSet(0, key, key); + } + _this.$map = backingMap; + } + return backingMap; + }, + contains$1(_, key) { + return this._getMap$0().containsKey$1(0, key); + }, + toSet$0(_) { + return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1); + } + }; + 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); + return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(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); + return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); @@ -48919,9 +48895,6 @@ 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); } @@ -48929,44 +48902,39 @@ A.JSInvocationMirror.prototype = { get$memberName() { var t1 = this._memberName; - return t1; + if (t1 instanceof A.Symbol) + return t1; + return this._memberName = new A.Symbol(A._asString(t1)); }, get$positionalArguments() { - var t1, argumentCount, list, index, _this = this; + var t1, t2, 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; + t2 = J.getInterceptor$asx(t1); + argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _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]); - } + for (index = 0; index < argumentCount; ++index) + list.push(t2.$index(t1, index)); return J.JSArray_markUnmodifiableList(list); }, get$namedArguments() { - var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4, _this = this; + var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this; if (_this.__js_helper$_kind !== 0) return B.Map_empty2; t1 = _this._namedArgumentNames; - namedArgumentCount = t1.length; - t2 = _this._arguments; - namedArgumentsStartIndex = t2.length - namedArgumentCount - _this._typeArgumentCount; + t2 = J.getInterceptor$asx(t1); + namedArgumentCount = t2.get$length(t1); + t3 = _this._arguments; + t4 = J.getInterceptor$asx(t3); + namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount; if (namedArgumentCount === 0) return B.Map_empty2; 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]); - } + for (i = 0; i < namedArgumentCount; ++i) + map.$indexSet(0, new A.Symbol(A._asString(t2.$index(t1, i))), t4.$index(t3, namedArgumentsStartIndex + i)); return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic); }, $isInvocation: 1 @@ -48981,7 +48949,7 @@ B.JSArray_methods.add$1(this.$arguments, argument); ++t1.argumentCount; }, - $signature: 34 + $signature: 35 }; A.TypeErrorDecoder.prototype = { matchTypeError$1(message) { @@ -49010,10 +48978,7 @@ }; A.NullError.prototype = { toString$0(_) { - var t1 = this._method; - if (t1 == null) - return "NoSuchMethodError: " + this.__js_helper$_message; - return "NoSuchMethodError: method not found: '" + t1 + "' on null"; + return "Null check operator used on a null value"; }, $isNoSuchMethodError: 1 }; @@ -49066,6 +49031,10 @@ $name = $constructor == null ? null : $constructor.name; return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'"; }, + get$runtimeType(_) { + var rti = A.closureFunctionType(this); + return A.createRuntimeType(rti == null ? A.instanceType(this) : rti); + }, $isFunction: 1, get$$call() { return this; @@ -49102,6 +49071,11 @@ return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); } }; + A._CyclicInitializationError.prototype = { + toString$0(_) { + return "Reading static variable '" + this.variableName + "' during its initialization"; + } + }; A.RuntimeError.prototype = { toString$0(_) { return "RuntimeError: " + this.message; @@ -49118,13 +49092,13 @@ A._Required.prototype = {}; A.JsLinkedHashMap.prototype = { get$length(_) { - return this._length; + return this.__js_helper$_length; }, get$isEmpty(_) { - return this._length === 0; + return this.__js_helper$_length === 0; }, get$isNotEmpty(_) { - return this._length !== 0; + return this.__js_helper$_length !== 0; }, get$keys(_) { return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); @@ -49155,8 +49129,7 @@ return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0; }, addAll$1(_, other) { - A._instanceType(this)._eval$1("Map<1,2>")._as(other); - other.forEach$1(other, new A.JsLinkedHashMap_addAll_closure(this)); + J.forEach$1$ax(A._instanceType(this)._eval$1("Map<1,2>")._as(other), new A.JsLinkedHashMap_addAll_closure(this)); }, $index(_, key) { var strings, cell, t1, nums, _null = null; @@ -49262,9 +49235,9 @@ }, clear$0(_) { var _this = this; - if (_this._length > 0) { + if (_this.__js_helper$_length > 0) { _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null; - _this._length = 0; + _this.__js_helper$_length = 0; _this._modified$0(); } }, @@ -49317,7 +49290,7 @@ cell._previous = t1; _this._last = t1._next = cell; } - ++_this._length; + ++_this.__js_helper$_length; _this._modified$0(); return cell; }, @@ -49333,11 +49306,11 @@ _this._last = previous; else next._previous = previous; - --_this._length; + --_this.__js_helper$_length; _this._modified$0(); }, internalComputeHashCode$1(key) { - return J.get$hashCode$(key) & 0x3fffffff; + return J.get$hashCode$(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, i; @@ -49384,10 +49357,10 @@ A.LinkedHashMapCell.prototype = {}; A.LinkedHashMapKeyIterable.prototype = { get$length(_) { - return this._map._length; + return this._map.__js_helper$_length; }, get$isEmpty(_) { - return this._map._length === 0; + return this._map.__js_helper$_length === 0; }, get$iterator(_) { var t1 = this._map, @@ -49436,6 +49409,38 @@ }, $isIterator: 1 }; + A.JsIdentityLinkedHashMap.prototype = { + internalComputeHashCode$1(key) { + return A.objectHashCode(key) & 1073741823; + }, + 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 -1; + } + }; + A.JsConstantLinkedHashMap.prototype = { + internalComputeHashCode$1(key) { + return A.constantHashCode(key) & 1073741823; + }, + 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].hashMapCellKey, key)) + return i; + return -1; + } + }; A.initHooks_closure.prototype = { call$1(o) { return this.getTag(o); @@ -49446,13 +49451,117 @@ call$2(o, tag) { return this.getUnknownTag(o, tag); }, - $signature: 414 + $signature: 231 }; A.initHooks_closure1.prototype = { call$1(tag) { return this.prototypeForTag(A._asString(tag)); }, - $signature: 165 + $signature: 122 + }; + A._Record.prototype = { + get$runtimeType(_) { + return A.createRuntimeType(this._getRti$0()); + }, + _getRti$0() { + return A.evaluateRtiForRecord(this.$recipe, this._getFieldValues$0()); + }, + toString$0(_) { + return this._toString$1(false); + }, + _toString$1(safe) { + var t2, separator, i, key, value, + keys = this._fieldKeys$0(), + values = this._getFieldValues$0(), + t1 = (safe ? "" + "Record " : "") + "("; + for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") { + t1 += separator; + key = keys[i]; + if (typeof key == "string") + t1 = t1 + key + ": "; + if (!(i < values.length)) + return A.ioore(values, i); + value = values[i]; + t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value); + } + t1 += ")"; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _fieldKeys$0() { + var t1, + shapeTag = this.$shape; + for (; $._Record__computedFieldKeys.length <= shapeTag;) + B.JSArray_methods.add$1($._Record__computedFieldKeys, null); + t1 = $._Record__computedFieldKeys[shapeTag]; + if (t1 == null) { + t1 = this._computeFieldKeys$0(); + B.JSArray_methods.$indexSet($._Record__computedFieldKeys, shapeTag, t1); + } + return t1; + }, + _computeFieldKeys$0() { + var i, names, last, + recipe = this.$recipe, + position = recipe.indexOf("("), + joinedNames = recipe.substring(1, position), + fields = recipe.substring(position), + arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1, + t1 = type$.Object, + result = J.JSArray_JSArray$allocateGrowable(arity, t1); + for (i = 0; i < arity; ++i) + result[i] = i; + if (joinedNames !== "") { + names = joinedNames.split(","); + i = names.length; + for (last = arity; i > 0;) { + --last; + --i; + B.JSArray_methods.$indexSet(result, last, names[i]); + } + } + return A.List_List$unmodifiable(result, t1); + } + }; + A._Record2.prototype = { + _getFieldValues$0() { + return [this._0, this._1]; + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1); + }, + get$hashCode(_) { + return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue); + } + }; + A._Record3.prototype = { + _getFieldValues$0() { + return [this._0, this._1, this._2]; + }, + $eq(_, other) { + var _this = this; + if (other == null) + return false; + return other instanceof A._Record3 && _this.$shape === other.$shape && J.$eq$(_this._0, other._0) && J.$eq$(_this._1, other._1) && J.$eq$(_this._2, other._2); + }, + get$hashCode(_) { + var _this = this; + return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2); + } + }; + A._RecordN.prototype = { + _getFieldValues$0() { + return this.__js_helper$_values; + }, + $eq(_, other) { + if (other == null) + return false; + return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this.__js_helper$_values, other.__js_helper$_values); + }, + get$hashCode(_) { + return A.Object_hash(this.$shape, A.Object_hashAll(this.__js_helper$_values), B.C_SentinelValue, B.C_SentinelValue); + } }; A.JSSyntaxRegExp.prototype = { toString$0(_) { @@ -49486,8 +49595,8 @@ throw A.wrapException(A.RangeError$range(start, 0, t1, null, null)); return new A._AllMatchesIterable(this, string, start); }, - allMatches$1($receiver, string) { - return this.allMatches$2($receiver, string, 0); + allMatches$1(_, string) { + return this.allMatches$2(0, string, 0); }, _execGlobal$2(string, start) { var match, @@ -49559,7 +49668,7 @@ return t1 == null ? type$.RegExpMatch._as(t1) : t1; }, moveNext$0() { - var t1, t2, t3, match, nextIndex, _this = this, + var t1, t2, t3, match, nextIndex, t4, _this = this, string = _this._string; if (string == null) return false; @@ -49570,22 +49679,24 @@ match = t3._execGlobal$2(string, t1); if (match != null) { _this.__js_helper$_current = match; - nextIndex = match.get$end(match); + nextIndex = match.get$end(0); if (match._match.index === nextIndex) { + t1 = false; 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); + t3 = _this._nextIndex; + t4 = t3 + 1; + if (t4 < t2) { + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(string, t3); + t3 = string.charCodeAt(t3); + if (t3 >= 55296 && t3 <= 56319) { + if (!(t4 >= 0)) + return A.ioore(string, t4); + t1 = string.charCodeAt(t4); t1 = t1 >= 56320 && t1 <= 57343; - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; + } + } + } nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1; } _this._nextIndex = nextIndex; @@ -49669,12 +49780,6 @@ readLocal$0() { return this.readLocal$1$0(type$.dynamic); }, - _readLocal$0() { - var t1 = this._value; - if (t1 === this) - throw A.wrapException(new A.LateError("Local '" + this._name + "' has not been initialized.")); - return t1; - }, _readField$0() { var t1 = this._value; if (t1 === this) @@ -49687,34 +49792,13 @@ }; A.NativeByteBuffer.prototype = { get$runtimeType(receiver) { - return B.Type_ByteBuffer_RkP; - }, - asUint8List$2(receiver, offsetInBytes, $length) { - A._checkViewArguments(receiver, offsetInBytes, $length); - return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length); - }, - asUint8List$0($receiver) { - return this.asUint8List$2($receiver, 0, null); - }, - asByteData$2(receiver, offsetInBytes, $length) { - var t1; - A._checkViewArguments(receiver, offsetInBytes, $length); - t1 = new DataView(receiver, offsetInBytes, $length); - return t1; + return B.Type_ByteBuffer_EOZ; }, + $isTrustedGetRuntimeType: 1, $isNativeByteBuffer: 1, $isByteBuffer: 1 }; A.NativeTypedData.prototype = { - get$buffer(receiver) { - return receiver.buffer; - }, - get$lengthInBytes(receiver) { - return receiver.byteLength; - }, - get$offsetInBytes(receiver) { - return receiver.byteOffset; - }, _invalidPosition$3(receiver, position, $length, $name) { var t1 = A.RangeError$range(position, 0, $length, $name, null); throw A.wrapException(t1); @@ -49728,20 +49812,15 @@ }; A.NativeByteData.prototype = { get$runtimeType(receiver) { - return B.Type_ByteData_zNC; - }, - getUint32$2(receiver, byteOffset, endian) { - return this._getUint32$2(receiver, byteOffset, B.C_Endian === endian); + return B.Type_ByteData_mF8; }, _getUint32$2(receiver, byteOffset, littleEndian) { return receiver.getUint32(byteOffset, littleEndian); }, - setUint32$3(receiver, byteOffset, value, endian) { - return this._setUint32$3(receiver, byteOffset, value, B.C_Endian === endian); - }, _setUint32$3(receiver, byteOffset, value, littleEndian) { return receiver.setUint32(byteOffset, value, littleEndian); }, + $isTrustedGetRuntimeType: 1, $isByteData: 1 }; A.NativeTypedArray.prototype = { @@ -49765,7 +49844,6 @@ source = source.subarray(skipCount, skipCount + count); receiver.set(source, start); }, - $isJSIndexable: 1, $isJavaScriptIndexingBehavior: 1 }; A.NativeTypedArrayOfDouble.prototype = { @@ -49787,10 +49865,10 @@ this._setRangeFast$4(receiver, start, end, iterable, skipCount); return; } - this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + this.super$ListBase$setRange(receiver, start, end, iterable, skipCount); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(receiver, start, end, iterable) { + return this.setRange$4(receiver, start, end, iterable, 0); }, $isEfficientLengthIterable: 1, $isIterable: 1, @@ -49810,10 +49888,10 @@ this._setRangeFast$4(receiver, start, end, iterable, skipCount); return; } - this.super$ListMixin$setRange(receiver, start, end, iterable, skipCount); + this.super$ListBase$setRange(receiver, start, end, iterable, skipCount); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(receiver, start, end, iterable) { + return this.setRange$4(receiver, start, end, iterable, 0); }, $isEfficientLengthIterable: 1, $isIterable: 1, @@ -49821,29 +49899,31 @@ }; A.NativeFloat32List.prototype = { get$runtimeType(receiver) { - return B.Type_Float32List_LB7; + return B.Type_Float32List_Ymk; }, sublist$2(receiver, start, end) { return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); - } + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); + }, + $isTrustedGetRuntimeType: 1 }; A.NativeFloat64List.prototype = { get$runtimeType(receiver) { - return B.Type_Float64List_LB7; + return B.Type_Float64List_Ymk; }, sublist$2(receiver, start, end) { return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); - } + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); + }, + $isTrustedGetRuntimeType: 1 }; A.NativeInt16List.prototype = { get$runtimeType(receiver) { - return B.Type_Int16List_uXf; + return B.Type_Int16List_cot; }, $index(receiver, index) { A._asInt(index); @@ -49853,13 +49933,14 @@ sublist$2(receiver, start, end) { return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); - } + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); + }, + $isTrustedGetRuntimeType: 1 }; A.NativeInt32List.prototype = { get$runtimeType(receiver) { - return B.Type_Int32List_O50; + return B.Type_Int32List_m1p; }, $index(receiver, index) { A._asInt(index); @@ -49869,14 +49950,15 @@ sublist$2(receiver, start, end) { return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, + $isTrustedGetRuntimeType: 1, $isInt32List: 1 }; A.NativeInt8List.prototype = { get$runtimeType(receiver) { - return B.Type_Int8List_ekJ; + return B.Type_Int8List_woc; }, $index(receiver, index) { A._asInt(index); @@ -49886,13 +49968,14 @@ sublist$2(receiver, start, end) { return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); - } + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); + }, + $isTrustedGetRuntimeType: 1 }; A.NativeUint16List.prototype = { get$runtimeType(receiver) { - return B.Type_Uint16List_2bx; + return B.Type_Uint16List_2mh; }, $index(receiver, index) { A._asInt(index); @@ -49902,14 +49985,15 @@ sublist$2(receiver, start, end) { return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, + $isTrustedGetRuntimeType: 1, $isUint16List: 1 }; A.NativeUint32List.prototype = { get$runtimeType(receiver) { - return B.Type_Uint32List_2bx; + return B.Type_Uint32List_2mh; }, $index(receiver, index) { A._asInt(index); @@ -49919,14 +50003,15 @@ sublist$2(receiver, start, end) { return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, + $isTrustedGetRuntimeType: 1, $isUint32List: 1 }; A.NativeUint8ClampedList.prototype = { get$runtimeType(receiver) { - return B.Type_Uint8ClampedList_Jik; + return B.Type_Uint8ClampedList_9Bb; }, get$length(receiver) { return receiver.length; @@ -49939,13 +50024,14 @@ 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); - } + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); + }, + $isTrustedGetRuntimeType: 1 }; A.NativeUint8List.prototype = { get$runtimeType(receiver) { - return B.Type_Uint8List_WLA; + return B.Type_Uint8List_CSc; }, get$length(receiver) { return receiver.length; @@ -49958,9 +50044,10 @@ sublist$2(receiver, start, end) { return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length))); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, + $isTrustedGetRuntimeType: 1, $isNativeUint8List: 1, $isUint8List: 1 }; @@ -50001,7 +50088,7 @@ t1.storedCallback = null; f.call$0(); }, - $signature: 49 + $signature: 44 }; A._AsyncRun__initializeScheduleImmediate_closure.prototype = { call$1(callback) { @@ -50085,7 +50172,7 @@ t1 = _this.$ti; t1._eval$1("1/?")._as(value); if (value == null) - t1._precomputed1._as(value); + value = t1._precomputed1._as(value); if (!_this.isSync) _this._future._asyncComplete$1(value); else { @@ -50093,7 +50180,7 @@ if (t1._eval$1("Future<1>")._is(value)) t2._chainFuture$1(value); else - t2._completeWithValue$1(t1._precomputed1._as(value)); + t2._completeWithValue$1(value); } }, completeError$2(e, st) { @@ -50109,96 +50196,112 @@ call$1(result) { return this.bodyFunction.call$2(0, result); }, - $signature: 31 + $signature: 34 }; A._awaitOnObject_closure0.prototype = { call$2(error, stackTrace) { this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, type$.StackTrace._as(stackTrace))); }, - $signature: 239 + $signature: 247 }; A._wrapJsFunctionForAsync_closure.prototype = { call$2(errorCode, result) { this.$protected(A._asInt(errorCode), result); }, - $signature: 242 - }; - A._IterationMarker.prototype = { - toString$0(_) { - return "IterationMarker(" + this.state + ", " + A.S(this.value) + ")"; - }, - get$value(receiver) { - return this.value; - } + $signature: 248 }; A._SyncStarIterator.prototype = { get$current(_) { - var t1, - nested = this._nestedIterator; - if (nested == null) { - t1 = this._async$_current; - return t1 == null ? this.$ti._precomputed1._as(t1) : t1; - } - return nested.get$current(nested); + var t1 = this._async$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + _resumeBody$2(errorCode, errorValue) { + var body, t1, exception; + errorCode = A._asInt(errorCode); + errorValue = errorValue; + body = this._body; + for (; true;) + try { + t1 = body(this, errorCode, errorValue); + return t1; + } catch (exception) { + errorValue = exception; + errorCode = 1; + } }, 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; - } - } + var nestedIterator, exception, value, suspendedBodies, _this = this, _null = null, errorValue = null, errorCode = 0; + for (; true;) { + nestedIterator = _this._nestedIterator; + if (nestedIterator != null) + try { + if (nestedIterator.moveNext$0()) { + _this.set$_async$_current(J.get$current$x(nestedIterator)); + return true; + } else + _this.set$_nestedIterator(_null); + } catch (exception) { + errorValue = exception; + errorCode = 1; + _this.set$_nestedIterator(_null); } - } else { - _this.set$_async$_current(value); + value = _this._resumeBody$2(errorCode, errorValue); + if (1 === value) return true; + if (0 === value) { + _this.set$_async$_current(_null); + suspendedBodies = _this._suspendedBodies; + if (suspendedBodies == null || suspendedBodies.length === 0) { + _this._body = A._SyncStarIterator__terminatedBody; + return false; + } + if (0 >= suspendedBodies.length) + return A.ioore(suspendedBodies, -1); + _this._body = suspendedBodies.pop(); + errorCode = 0; + errorValue = null; + continue; } + if (2 === value) { + errorCode = 0; + errorValue = null; + continue; + } + if (3 === value) { + errorValue = _this._datum; + _this._datum = null; + suspendedBodies = _this._suspendedBodies; + if (suspendedBodies == null || suspendedBodies.length === 0) { + _this.set$_async$_current(_null); + _this._body = A._SyncStarIterator__terminatedBody; + throw errorValue; + return false; + } + if (0 >= suspendedBodies.length) + return A.ioore(suspendedBodies, -1); + _this._body = suspendedBodies.pop(); + errorCode = 1; + continue; + } + throw A.wrapException(A.StateError$("sync*")); } return false; }, + _yieldStar$1(iterable) { + var t1, t2, _this = this; + if (iterable instanceof A._SyncStarIterable) { + t1 = iterable._outerHelper(); + t2 = _this._suspendedBodies; + if (t2 == null) + t2 = _this._suspendedBodies = []; + B.JSArray_methods.add$1(t2, _this._body); + _this._body = t1; + return 2; + } else { + _this.set$_nestedIterator(J.get$iterator$ax(iterable)); + return 2; + } + }, set$_async$_current(_current) { this._async$_current = this.$ti._eval$1("1?")._as(_current); }, @@ -50255,7 +50358,7 @@ subscription.set$_async$_next(subscription); }, _subscribe$4(onData, onError, onDone, cancelOnError) { - var t2, t3, t4, t5, t6, subscription, oldLast, _this = this, + var t2, t3, t4, t5, t6, t7, subscription, oldLast, _this = this, t1 = A._instanceType(_this); t1._eval$1("~(1)?")._as(onData); type$.nullable_void_Function._as(onDone); @@ -50263,11 +50366,12 @@ 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; + t4 = onError != null ? 32 : 0; + t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1); + t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t7 = 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 = new A._BroadcastSubscription(_this, t5, t6, type$.void_Function._as(t7), t2, t3 | t4, t1); subscription.set$_async$_previous(subscription); subscription.set$_async$_next(subscription); t1._as(subscription); @@ -50412,32 +50516,38 @@ }; A.Future_Future_closure.prototype = { call$0() { - var e, s, exception; + var e, s, exception, computationResult = null; try { - this.result._complete$1(this.computation.call$0()); + computationResult = this.computation.call$0(); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(this.result, e, s); + return; } + this.result._complete$1(computationResult); }, $signature: 0 }; A.Future_Future$delayed_closure.prototype = { call$0() { - var e, s, exception, _this = this, + var computationResult, e, s, exception, _this = this, t1 = _this.computation; if (t1 == null) { _this.T._as(null); _this.result._complete$1(null); - } else + } else { + computationResult = null; try { - _this.result._complete$1(t1.call$0()); + computationResult = t1.call$0(); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(_this.result, e, s); + return; } + _this.result._complete$1(computationResult); + } }, $signature: 0 }; @@ -50450,31 +50560,48 @@ t2 = --t1.remaining; if (t1.values != null) { t1.values = null; - if (t1.remaining === 0 || _this.eagerError) + t1.error = theError; + t1.stackTrace = theStackTrace; + if (t2 === 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()); + } else if (t2 === 0 && !_this.eagerError) { + t2 = t1.error; + t2.toString; + t1 = t1.stackTrace; + t1.toString; + _this._future._completeError$2(t2, t1); + } }, - $signature: 91 + $signature: 90 }; 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; + var remainingResults, valueList, t1, value0, t3, t4, _i, t5, _this = this, + t2 = _this.T; + t2._as(value); + t3 = _this._box_0; + remainingResults = --t3.remaining; + valueList = t3.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()); + if (J.$eq$(remainingResults, 0)) { + t1 = A._setArrayType([], t2._eval$1("JSArray<0>")); + for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { + value0 = t3[_i]; + t5 = value0; + if (t5 == null) + t5 = t2._as(t5); + J.add$1$ax(t1, t5); + } + _this._future._completeWithValue$1(t1); + } + } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) { + t1 = t3.error; + t1.toString; + t3 = t3.stackTrace; + t3.toString; + _this._future._completeError$2(t1, t3); + } }, $signature() { return this.T._eval$1("Null(0)"); @@ -50507,8 +50634,8 @@ 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); + complete$0(_) { + return this.complete$1(0, null); }, _completeError$2(error, stackTrace) { this.future._asyncCompleteError$2(error, stackTrace); @@ -50560,6 +50687,10 @@ } }; A._Future.prototype = { + _setChained$1(source) { + this._state = this._state & 1 | 4; + this._resultOrListeners = source; + }, then$1$2$onError(_, f, onError, $R) { var currentZone, result, t2, t1 = this.$ti; @@ -50578,15 +50709,15 @@ 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($receiver, f, $R) { - return this.then$1$2$onError($receiver, f, null, $R); + then$1$1(_, f, $R) { + return this.then$1$2$onError(0, 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>"))); + this._addListener$1(new A._FutureListener(result, 19, f, onError, t1._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>"))); return result; }, whenComplete$1(action) { @@ -50594,7 +50725,7 @@ 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>"))); + this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>"))); return result; }, _setErrorObject$1(error) { @@ -50681,7 +50812,7 @@ t1._eval$1("1/")._as(value); if (t1._eval$1("Future<1>")._is(value)) if (t1._is(value)) - A._Future__chainCoreFuture(value, _this); + A._Future__chainCoreFutureSync(value, _this); else _this._chainForeignFuture$1(value); else { @@ -50715,7 +50846,7 @@ this._chainFuture$1(value); return; } - this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); + this._asyncCompleteWithValue$1(value); }, _asyncCompleteWithValue$1(value) { var _this = this; @@ -50724,18 +50855,13 @@ 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; + var 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); + A._Future__chainCoreFutureAsync(value, this); return; } - _this._chainForeignFuture$1(value); + this._chainForeignFuture$1(value); }, _asyncCompleteError$2(error, stackTrace) { type$.StackTrace._as(stackTrace); @@ -50769,13 +50895,13 @@ t1._completeError$2(error, stackTrace); } }, - $signature: 49 + $signature: 44 }; A._Future__chainForeignFuture_closure0.prototype = { call$2(error, stackTrace) { this.$this._completeError$2(type$.Object._as(error), type$.StackTrace._as(stackTrace)); }, - $signature: 265 + $signature: 263 }; A._Future__chainForeignFuture_closure1.prototype = { call$0() { @@ -50783,15 +50909,15 @@ }, $signature: 0 }; - A._Future__asyncCompleteWithValue_closure.prototype = { + A._Future__chainCoreFutureAsync_closure.prototype = { call$0() { - this.$this._completeWithValue$1(this.value); + A._Future__chainCoreFutureSync(this._box_0.source, this.target); }, $signature: 0 }; - A._Future__chainFuture_closure.prototype = { + A._Future__asyncCompleteWithValue_closure.prototype = { call$0() { - A._Future__chainCoreFuture(this.value, this.$this); + this.$this._completeWithValue$1(this.value); }, $signature: 0 }; @@ -50827,7 +50953,7 @@ } return; } - if (type$.Future_dynamic._is(completeResult)) { + if (completeResult instanceof A._Future) { 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); @@ -50840,7 +50966,7 @@ call$1(_) { return this.originalSource; }, - $signature: 275 + $signature: 411 }; A._Future__propagateToListeners_handleValueCallback.prototype = { call$0() { @@ -50888,12 +51014,9 @@ }; A._AsyncCallbackEntry.prototype = {}; A.Stream.prototype = { - map$1$1(_, convert, $S) { + map$1(_, convert) { 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>")); - }, - map$1($receiver, convert) { - return this.map$1$1($receiver, convert, type$.dynamic); + return new A._MapStream(t1._eval$1("@(Stream.T)")._as(convert), this, t1._eval$1("_MapStream")); }, get$length(_) { var t1 = {}, @@ -50946,7 +51069,6 @@ return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; - 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); @@ -50955,14 +51077,13 @@ return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; - 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()); + return t1._eval$1("_PendingEvents<1>?")._as(t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$_varData()); }, _ensurePendingEvents$0() { var events, t1, _this = this; @@ -50973,13 +51094,13 @@ return _this.$ti._eval$1("_PendingEvents<1>")._as(events); } t1 = _this.$ti; - events = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData).get$varData(); + 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(); + varData = type$._StreamControllerAddStreamState_nullable_Object._as(varData).get$_varData(); return this.$ti._eval$1("_ControllerSubscription<1>")._as(varData); }, _badEventState$0() { @@ -51024,7 +51145,7 @@ t2 = _this._state |= 1; if ((t2 & 8) !== 0) { addState = t1._eval$1("_StreamControllerAddStreamState<1>")._as(_this._varData); - addState.set$varData(subscription); + addState.set$_varData(subscription); addState.resume$0(0); } else _this._varData = subscription; @@ -51046,7 +51167,7 @@ if (result == null) try { cancelResult = onCancel.call$0(); - if (type$.Future_void._is(cancelResult)) + if (cancelResult instanceof A._Future) result = cancelResult; } catch (exception) { e = A.unwrapException(exception); @@ -51104,25 +51225,25 @@ A._AsyncStreamController.prototype = {}; A._ControllerStream.prototype = { get$hashCode(_) { - return (A.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; + return (A.Primitives_objectHashCode(this._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; + return other instanceof A._ControllerStream && other._controller === this._controller; } }; A._ControllerSubscription.prototype = { _onCancel$0() { - return this._async$_controller._recordCancel$1(this); + return this._controller._recordCancel$1(this); }, _onPause$0() { - this._async$_controller._recordPause$1(this); + this._controller._recordPause$1(this); }, _onResume$0() { - this._async$_controller._recordResume$1(this); + this._controller._recordResume$1(this); } }; A._BufferingStreamSubscription.prototype = { @@ -51133,7 +51254,7 @@ return; _this.set$_pending(pendingEvents); if (pendingEvents.lastPendingEvent != null) { - _this._state = (_this._state | 64) >>> 0; + _this._state = (_this._state | 128) >>> 0; pendingEvents.schedule$1(_this); } }, @@ -51146,15 +51267,15 @@ t1 = _this._state; if ((t1 & 8) !== 0) return; - t2 = (t1 + 128 | 4) >>> 0; + t2 = (t1 + 256 | 4) >>> 0; _this._state = t2; - if (t1 < 128) { + if (t1 < 256) { t3 = _this._pending; if (t3 != null) if (t3._state === 1) t3._state = 3; } - if ((t1 & 4) === 0 && (t2 & 32) === 0) + if ((t1 & 4) === 0 && (t2 & 64) === 0) _this._guardCallback$1(_this.get$_onPause()); }, resume$0(_) { @@ -51162,15 +51283,15 @@ 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) + if (t1 >= 256) { + t1 = _this._state = t1 - 256; + if (t1 < 256) + if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null) _this._pending.schedule$1(_this); else { t1 = (t1 & 4294967291) >>> 0; _this._state = t1; - if ((t1 & 32) === 0) + if ((t1 & 64) === 0) _this._guardCallback$1(_this.get$_onResume()); } } @@ -51187,12 +51308,12 @@ _cancel$0() { var t2, _this = this, t1 = _this._state = (_this._state | 8) >>> 0; - if ((t1 & 64) !== 0) { + if ((t1 & 128) !== 0) { t2 = _this._pending; if (t2._state === 1) t2._state = 3; } - if ((t1 & 32) === 0) + if ((t1 & 64) === 0) _this.set$_pending(null); _this._cancelFuture = _this._onCancel$0(); }, @@ -51203,7 +51324,7 @@ t2 = _this._state; if ((t2 & 8) !== 0) return; - if (t2 < 32) + if (t2 < 64) _this._sendData$1(data); else _this._addPending$1(new A._DelayedData(data, t1._eval$1("_DelayedData<_BufferingStreamSubscription.T>"))); @@ -51212,7 +51333,7 @@ var t1 = this._state; if ((t1 & 8) !== 0) return; - if (t1 < 32) + if (t1 < 64) this._sendError$2(error, stackTrace); else this._addPending$1(new A._DelayedError(error, stackTrace)); @@ -51224,7 +51345,7 @@ return; t1 = (t1 | 2) >>> 0; _this._state = t1; - if (t1 < 32) + if (t1 < 64) _this._sendDone$0(); else _this._addPending$1(B.C__DelayedDone); @@ -51245,10 +51366,10 @@ } pending.add$1(0, $event); t1 = _this._state; - if ((t1 & 64) === 0) { - t1 = (t1 | 64) >>> 0; + if ((t1 & 128) === 0) { + t1 = (t1 | 128) >>> 0; _this._state = t1; - if (t1 < 128) + if (t1 < 256) pending.schedule$1(_this); } }, @@ -51257,9 +51378,9 @@ t1 = A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"); t1._as(data); t2 = _this._state; - _this._state = (t2 | 32) >>> 0; + _this._state = (t2 | 64) >>> 0; _this._zone.runUnaryGuarded$1$2(_this._async$_onData, data, t1); - _this._state = (_this._state & 4294967263) >>> 0; + _this._state = (_this._state & 4294967231) >>> 0; _this._checkState$1((t2 & 4) !== 0); }, _sendError$2(error, stackTrace) { @@ -51294,25 +51415,23 @@ var t1, _this = this; type$.void_Function._as(callback); t1 = _this._state; - _this._state = (t1 | 32) >>> 0; + _this._state = (t1 | 64) >>> 0; callback.call$0(); - _this._state = (_this._state & 4294967263) >>> 0; + _this._state = (_this._state & 4294967231) >>> 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 & 128) !== 0 && _this._pending.lastPendingEvent == null) { + t1 = _this._state = (t1 & 4294967167) >>> 0; + t2 = false; if ((t1 & 4) !== 0) - if (t1 < 128) { + if (t1 < 256) { 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; @@ -51326,15 +51445,15 @@ isInputPaused = (t1 & 4) !== 0; if (wasInputPaused === isInputPaused) break; - _this._state = (t1 ^ 32) >>> 0; + _this._state = (t1 ^ 64) >>> 0; if (isInputPaused) _this._onPause$0(); else _this._onResume$0(); - t1 = (_this._state & 4294967263) >>> 0; + t1 = (_this._state & 4294967231) >>> 0; _this._state = t1; } - if ((t1 & 64) !== 0 && t1 < 128) + if ((t1 & 128) !== 0 && t1 < 256) _this._pending.schedule$1(_this); }, set$_async$_onData(_onData) { @@ -51354,7 +51473,7 @@ t2 = t1._state; if ((t2 & 8) !== 0 && (t2 & 16) === 0) return; - t1._state = (t2 | 32) >>> 0; + t1._state = (t2 | 64) >>> 0; onError = t1._onError; t2 = this.error; t3 = type$.Object; @@ -51363,7 +51482,7 @@ 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; + t1._state = (t1._state & 4294967231) >>> 0; }, $signature: 0 }; @@ -51373,9 +51492,9 @@ t2 = t1._state; if ((t2 & 16) === 0) return; - t1._state = (t2 | 42) >>> 0; + t1._state = (t2 | 74) >>> 0; t1._zone.runGuarded$1(t1._onDone); - t1._state = (t1._state & 4294967263) >>> 0; + t1._state = (t1._state & 4294967231) >>> 0; }, $signature: 0 }; @@ -51384,7 +51503,7 @@ 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); + return this._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); @@ -51474,39 +51593,45 @@ $signature: 0 }; A._DoneStreamSubscription.prototype = { - _schedule$0() { - var _this = this; - if ((_this._state & 2) !== 0) - return; - A._rootScheduleMicrotask(null, null, _this._zone, type$.void_Function._as(_this.get$_sendDone())); - _this._state = (_this._state | 2) >>> 0; - }, onData$1(handleData) { this.$ti._eval$1("~(1)?")._as(handleData); }, pause$0(_) { - this._state += 4; + var t1 = this._state; + if (t1 >= 0) + this._state = t1 + 2; }, resume$0(_) { - var t1 = this._state; - if (t1 >= 4) { - t1 = this._state = t1 - 4; - if (t1 < 4 && (t1 & 1) === 0) - this._schedule$0(); - } + var _this = this, + resumeState = _this._state - 2; + if (resumeState < 0) + return; + if (resumeState === 0) { + _this._state = 1; + A.scheduleMicrotask(_this.get$_onMicrotask()); + } else + _this._state = resumeState; }, cancel$0(_) { + this._state = -1; + this.set$_onDone(null); return $.$get$Future__nullFuture(); }, - _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); + _onMicrotask$0() { + var _0_0, _this = this, + unscheduledState = _this._state - 1; + if (unscheduledState === 0) { + _this._state = -1; + _0_0 = _this._onDone; + if (_0_0 != null) { + _this.set$_onDone(null); + _this._zone.runGuarded$1(_0_0); + } + } else + _this._state = unscheduledState; + }, + set$_onDone(_onDone) { + this._onDone = type$.nullable_void_Function._as(_onDone); }, $isStreamSubscription: 1 }; @@ -51529,28 +51654,25 @@ }; A._ForwardingStream.prototype = { listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { - A._instanceType(this)._eval$1("~(_ForwardingStream.T)?")._as(onData); + var t2, t3, t4, t5, + t1 = this.$ti; + t1._eval$1("~(2)?")._as(onData); type$.nullable_void_Function._as(onDone); - return this._createSubscription$4(onData, onError, onDone, cancelOnError === true); - }, - listen$1(onData) { - return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); + t2 = $.Zone__current; + t3 = cancelOnError === true ? 1 : 0; + t4 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]); + t5 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError); + t1 = new A._ForwardingStreamSubscription(this, t4, t5, type$.void_Function._as(onDone), t2, t3 | 32, t1._eval$1("_ForwardingStreamSubscription<1,2>")); + t1.set$_subscription(this._async$_source.listen$3$onDone$onError(t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError())); + return t1; }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); - }, - _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")); } }; 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())); - }, _async$_add$1(_, data) { - A._instanceType(this)._eval$1("_ForwardingStreamSubscription.T")._as(data); + this.$ti._rest[1]._as(data); if ((this._state & 2) !== 0) return; this.super$_BufferingStreamSubscription$_add(0, data); @@ -51579,19 +51701,19 @@ return null; }, _handleData$1(data) { - this._stream._handleData$2(A._instanceType(this)._eval$1("_ForwardingStreamSubscription.S")._as(data), this); + this._stream._handleData$2(this.$ti._precomputed1._as(data), this); }, _handleError$2(error, stackTrace) { var t1; type$.StackTrace._as(stackTrace); t1 = error == null ? type$.Object._as(error) : error; - A._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._addError$2(t1, stackTrace); + this._stream.$ti._eval$1("_EventSink<2>")._as(this)._addError$2(t1, stackTrace); }, _handleDone$0() { - A._instanceType(this._stream)._eval$1("_EventSink<_ForwardingStream.T>")._as(this)._close$0(); + this._stream.$ti._eval$1("_EventSink<2>")._as(this)._close$0(); }, set$_subscription(_subscription) { - this._subscription = A._instanceType(this)._eval$1("StreamSubscription<_ForwardingStreamSubscription.S>?")._as(_subscription); + this._subscription = this.$ti._eval$1("StreamSubscription<1>?")._as(_subscription); } }; A._MapStream.prototype = { @@ -51606,7 +51728,7 @@ } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); - A._addErrorWithReplacement(sink, e, s); + sink._addError$2(e, s); return; } sink._async$_add$1(0, outputEvent); @@ -51615,11 +51737,7 @@ A._Zone.prototype = {$isZone: 1}; 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); + A.Error_throwWithStackTrace(this.error, this.stackTrace); }, $signature: 0 }; @@ -51857,21 +51975,21 @@ } }, _collection$_computeKeys$0() { - var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, + var strings, index, names, entries, 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; + index = 0; if (strings != null) { names = Object.getOwnPropertyNames(strings); entries = names.length; - for (index = 0, i = 0; i < entries; ++i) { + for (i = 0; i < entries; ++i) { result[index] = names[i]; ++index; } - } else - index = 0; + } nums = _this._collection$_nums; if (nums != null) { names = Object.getOwnPropertyNames(nums); @@ -52000,7 +52118,7 @@ call$1(v) { return this.K._is(v); }, - $signature: 36 + $signature: 33 }; A._HashMapKeyIterable.prototype = { get$length(_) { @@ -52009,6 +52127,9 @@ get$isEmpty(_) { return this._collection$_map._collection$_length === 0; }, + get$isNotEmpty(_) { + return this._collection$_map._collection$_length !== 0; + }, get$iterator(_) { var t1 = this._collection$_map; return new A._HashMapKeyIterator(t1, t1._collection$_computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); @@ -52054,23 +52175,6 @@ }, $isIterator: 1 }; - A._LinkedIdentityHashMap.prototype = { - internalComputeHashCode$1(key) { - return A.objectHashCode(key) & 1073741823; - }, - 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 -1; - } - }; A._LinkedCustomHashMap.prototype = { $index(_, key) { if (!A.boolConversionCheck(this._validKey.call$1(key))) @@ -52109,18 +52213,12 @@ call$1(v) { return this.K._is(v); }, - $signature: 36 + $signature: 33 }; A._HashSet.prototype = { _newSet$0() { return new A._HashSet(A._instanceType(this)._eval$1("_HashSet<1>")); }, - _newSimilarSet$1$0($R) { - return new A._HashSet($R._eval$1("_HashSet<0>")); - }, - _newSimilarSet$0() { - return this._newSimilarSet$1$0(type$.dynamic); - }, get$iterator(_) { return new A._HashSetIterator(this, this._computeElements$0(), A._instanceType(this)._eval$1("_HashSetIterator<1>")); }, @@ -52178,7 +52276,7 @@ bucket.push(element); } ++_this._collection$_length; - _this._elements = null; + _this._collection$_elements = null; return true; }, addAll$1(_, objects) { @@ -52206,7 +52304,7 @@ if (index < 0) return false; --_this._collection$_length; - _this._elements = null; + _this._collection$_elements = null; bucket.splice(index, 1); if (0 === bucket.length) delete rest[hash]; @@ -52215,26 +52313,26 @@ clear$0(_) { var _this = this; if (_this._collection$_length > 0) { - _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._elements = null; + _this._collection$_strings = _this._collection$_nums = _this._collection$_rest = _this._collection$_elements = null; _this._collection$_length = 0; } }, _computeElements$0() { - var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, - result = _this._elements; + var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this, + result = _this._collection$_elements; if (result != null) return result; result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic); strings = _this._collection$_strings; + index = 0; if (strings != null) { names = Object.getOwnPropertyNames(strings); entries = names.length; - for (index = 0, i = 0; i < entries; ++i) { + for (i = 0; i < entries; ++i) { result[index] = names[i]; ++index; } - } else - index = 0; + } nums = _this._collection$_nums; if (nums != null) { names = Object.getOwnPropertyNames(nums); @@ -52257,7 +52355,7 @@ } } } - return _this._elements = result; + return _this._collection$_elements = result; }, _collection$_addHashTableEntry$2(table, element) { A._instanceType(this)._precomputed1._as(element); @@ -52265,14 +52363,14 @@ return false; table[element] = 0; ++this._collection$_length; - this._elements = null; + this._collection$_elements = null; return true; }, _collection$_removeHashTableEntry$2(table, element) { if (table != null && table[element] != null) { delete table[element]; --this._collection$_length; - this._elements = null; + this._collection$_elements = null; return true; } else return false; @@ -52299,10 +52397,10 @@ }, moveNext$0() { var _this = this, - elements = _this._elements, + elements = _this._collection$_elements, offset = _this._collection$_offset, t1 = _this._collection$_set; - if (elements !== t1._elements) + if (elements !== t1._collection$_elements) throw A.wrapException(A.ConcurrentModificationError$(t1)); else if (offset >= elements.length) { _this.set$_collection$_current(null); @@ -52322,12 +52420,6 @@ _newSet$0() { return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>")); }, - _newSimilarSet$1$0($R) { - return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>")); - }, - _newSimilarSet$0() { - return this._newSimilarSet$1$0(type$.dynamic); - }, get$iterator(_) { var _this = this, t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>")); @@ -52563,9 +52655,6 @@ $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$length(_) { return J.get$length$asx(this._collection$_source); }, @@ -52573,24 +52662,22 @@ return J.elementAt$1$ax(this._collection$_source, A._asInt(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)); }, - $signature: 42 + $signature: 43 }; - A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; - A.ListMixin.prototype = { + A.ListBase.prototype = { get$iterator(receiver) { - return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); + return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, forEach$1(receiver, action) { var $length, i; - A.instanceType(receiver)._eval$1("~(ListMixin.E)")._as(action); + A.instanceType(receiver)._eval$1("~(ListBase.E)")._as(action); $length = this.get$length(receiver); for (i = 0; i < $length; ++i) { action.call$1(this.$index(receiver, i)); @@ -52610,22 +52697,14 @@ return this.$index(receiver, 0); }, 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); + return this.$index(receiver, this.get$length(receiver) - 1); }, 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) + if (this.get$length(receiver) > 1) throw A.wrapException(A.IterableElementError_tooMany()); return this.$index(receiver, 0); }, @@ -52643,8 +52722,8 @@ 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); + t1._eval$1("bool(ListBase.E)")._as(test); + t1._eval$1("ListBase.E()?")._as(orElse); $length = this.get$length(receiver); for (i = $length - 1; i >= 0; --i) { element = this.$index(receiver, i); @@ -52666,91 +52745,70 @@ }, 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")); + return new A.WhereIterable(receiver, t1._eval$1("bool(ListBase.E)")._as(test), t1._eval$1("WhereIterable")); }, 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>")); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(receiver, f) { + return this.map$1$1(receiver, f, type$.dynamic); + }, + expand$1$1(receiver, f, $T) { + var t1 = A.instanceType(receiver); + return new A.ExpandIterable(receiver, t1._bind$1($T)._eval$1("Iterable<1>(ListBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, skip$1(receiver, count) { - return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E")); + return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E")); }, take$1(receiver, count) { - return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E")); + return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E")); }, 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"); + t1 = A.instanceType(receiver)._eval$1("ListBase.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; + result = A.List_List$filled(_this.get$length(receiver), first, growable, A.instanceType(receiver)._eval$1("ListBase.E")); + for (i = 1; i < _this.get$length(receiver); ++i) B.JSArray_methods.$indexSet(result, i, _this.$index(receiver, i)); - ++i; - } return result; }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(receiver) { + return this.toList$1$growable(receiver, true); }, 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; + var i, + result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E")); + for (i = 0; i < this.get$length(receiver); ++i) result.add$1(0, this.$index(receiver, i)); - ++i; - } return result; }, add$1(receiver, element) { var t1; - A.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + A.instanceType(receiver)._eval$1("ListBase.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(receiver, iterable) { var i, t1, t2; - A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + 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();) { + for (t1 = J.get$iterator$ax(iterable._source), t2 = A._instanceType(iterable)._rest[1]; t1.moveNext$0();) { this.add$1(receiver, t2._as(t1.get$current(t1))); ++i; } }, 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; + var i; + for (i = 0; i < this.get$length(receiver); ++i) if (J.$eq$(this.$index(receiver, i), element)) { this._closeGap$2(receiver, i, i + 1); return true; } - ++i; - } return false; }, _closeGap$2(receiver, start, end) { @@ -52762,13 +52820,13 @@ _this.set$length(receiver, $length - size); }, removeWhere$1(receiver, test) { - this._collection$_filter$2(receiver, A.instanceType(receiver)._eval$1("bool(ListMixin.E)")._as(test), false); + this._collection$_filter$2(receiver, A.instanceType(receiver)._eval$1("bool(ListBase.E)")._as(test), false); }, _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")); + t1._eval$1("bool(ListBase.E)")._as(test); + retained = A._setArrayType([], t1._eval$1("JSArray")); $length = _this.get$length(receiver); for (i = 0; i < $length; ++i) { element = _this.$index(receiver, i); @@ -52782,37 +52840,28 @@ _this.set$length(receiver, retained.length); } }, - cast$1$0(receiver, $R) { - return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); - }, removeLast$0(receiver) { - var t1, result, _this = this; + var 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); + result = _this.$index(receiver, _this.get$length(receiver) - 1); + _this.set$length(receiver, _this.get$length(receiver) - 1); return result; }, 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")); + t1._eval$1("int(ListBase.E,ListBase.E)?")._as(compare); + t2 = compare == null ? A.collection_ListBase__compareAny$closure() : compare; + A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t2, t1._eval$1("ListBase.E")); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(receiver) { + return this.sort$1(receiver, null); }, $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")); + t1._eval$1("List")._as(other); + t1 = A.List_List$of(receiver, true, t1._eval$1("ListBase.E")); B.JSArray_methods.addAll$1(t1, other); return t1; }, @@ -52821,33 +52870,33 @@ if (end == null) end = listLength; 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")); + return A.List_List$from(this.getRange$2(receiver, start, end), true, A.instanceType(receiver)._eval$1("ListBase.E")); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(receiver, start) { + return this.sublist$2(receiver, start, null); }, 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")); + return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E")); }, fillRange$3(receiver, start, end, fill) { var i; - A.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + A.instanceType(receiver)._eval$1("ListBase.E?")._as(fill); A.RangeError_checkValidRange(start, end, this.get$length(receiver)); for (i = start; i < end; ++i) this.$indexSet(receiver, i, fill); }, setRange$4(receiver, start, end, iterable, skipCount) { - var t1, $length, otherStart, otherList, t2, i; + var t1, $length, otherStart, otherList, i; A._asInt(end); t1 = A.instanceType(receiver); - t1._eval$1("Iterable")._as(iterable); + t1._eval$1("Iterable")._as(iterable); A.RangeError_checkValidRange(start, end, this.get$length(receiver)); $length = end - start; if ($length === 0) return; A.RangeError_checkNotNegative(skipCount, "skipCount"); - if (t1._eval$1("List")._is(iterable)) { + if (t1._eval$1("List")._is(iterable)) { otherStart = skipCount; otherList = iterable; } else { @@ -52855,10 +52904,7 @@ otherStart = 0; } t1 = J.getInterceptor$asx(otherList); - t2 = t1.get$length(otherList); - if (typeof t2 !== "number") - return A.iae(t2); - if (otherStart + $length > t2) + if (otherStart + $length > t1.get$length(otherList)) throw A.wrapException(A.IterableElementError_tooFew()); if (otherStart < start) for (i = $length - 1; i >= 0; --i) @@ -52867,27 +52913,19 @@ for (i = 0; i < $length; ++i) this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(receiver, start, end, iterable) { + return this.setRange$4(receiver, start, end, iterable, 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; + var i; + for (i = start; i < this.get$length(receiver); ++i) if (J.$eq$(this.$index(receiver, i), element)) return i; - ++i; - } return -1; }, insert$2(receiver, index, element) { var $length, _this = this; - A.instanceType(receiver)._eval$1("ListMixin.E")._as(element); + A.instanceType(receiver)._eval$1("ListBase.E")._as(element); A.checkNotNullable(index, "index", type$.int); $length = _this.get$length(receiver); A.RangeError_checkValueInInterval(index, 0, $length, "index"); @@ -52904,13 +52942,13 @@ }, insertAll$2(receiver, index, iterable) { var t1, insertionLength, oldLength, i, oldCopyStart, _this = this; - A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + 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) + if (!type$.EfficientLengthIterable_dynamic._is(iterable)) iterable = A.List_List$of(iterable, true, A._instanceType(iterable)._eval$1("Iterable.E")); t1 = J.getInterceptor$asx(iterable); insertionLength = t1.get$length(iterable); @@ -52920,10 +52958,7 @@ for (i = oldLength - insertionLength; 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); + _this.set$length(receiver, _this.get$length(receiver) - insertionLength); throw A.wrapException(A.ConcurrentModificationError$(iterable)); } oldCopyStart = index + insertionLength; @@ -52933,7 +52968,7 @@ }, setAll$2(receiver, index, iterable) { var t1, index0; - A.instanceType(receiver)._eval$1("Iterable")._as(iterable); + A.instanceType(receiver)._eval$1("Iterable")._as(iterable); if (type$.List_dynamic._is(iterable)) this.setRange$3(receiver, index, index + iterable.length, iterable); else @@ -52943,54 +52978,42 @@ } }, get$reversed(receiver) { - return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable")); + return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable")); }, 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); + return A.Iterable_iterableToFullString(receiver, "[", "]"); }, - $signature: 92 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - A.MapMixin.prototype = { + A.MapBase.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); + return A.Map_castFrom(receiver, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV); }, 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();) { + t1._eval$1("~(MapBase.K,MapBase.V)")._as(action); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { key = t2.get$current(t2); t3 = this.$index(receiver, key); action.call$2(key, t3 == null ? t1._as(t3) : t3); } }, addAll$1(receiver, other) { - J.forEach$1$ax(A.instanceType(receiver)._eval$1("Map")._as(other), new A.MapMixin_addAll_closure(receiver)); + J.forEach$1$ax(A.instanceType(receiver)._eval$1("Map")._as(other), new A.MapBase_addAll_closure(receiver)); }, 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")); + return J.map$1$1$ax(this.get$keys(receiver), new A.MapBase_entries_closure(receiver), A.instanceType(receiver)._eval$1("MapEntry")); }, map$2$1(receiver, transform, K2, V2) { var result, t2, key, t3, entry, t1 = A.instanceType(receiver); - t1._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapMixin.K,MapMixin.V)")._as(transform); + t1._bind$1(K2)._bind$1(V2)._eval$1("MapEntry<1,2>(MapBase.K,MapBase.V)")._as(transform); result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); - for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { key = t2.get$current(t2); t3 = this.$index(receiver, key); entry = transform.call$2(key, t3 == null ? t1._as(t3) : t3); @@ -52998,12 +53021,13 @@ } return result; }, - map$1($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + map$1(receiver, transform) { + var t1 = type$.dynamic; + return this.map$2$1(receiver, transform, t1, t1); }, addEntries$1(receiver, newEntries) { var t1, t2; - A.instanceType(receiver)._eval$1("Iterable>")._as(newEntries); + 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); @@ -53012,9 +53036,9 @@ removeWhere$1(receiver, test) { var keysToRemove, t2, key, t3, _i, t1 = A.instanceType(receiver); - t1._eval$1("bool(MapMixin.K,MapMixin.V)")._as(test); - keysToRemove = A._setArrayType([], t1._eval$1("JSArray")); - for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { + t1._eval$1("bool(MapBase.K,MapBase.V)")._as(test); + keysToRemove = A._setArrayType([], t1._eval$1("JSArray")); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { key = t2.get$current(t2); t3 = this.$index(receiver, key); if (A.boolConversionCheck(test.call$2(key, t3 == null ? t1._as(t3) : t3))) @@ -53036,38 +53060,53 @@ return J.get$isNotEmpty$asx(this.get$keys(receiver)); }, 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>")); + return new A._MapBaseValueIterable(receiver, A.instanceType(receiver)._eval$1("_MapBaseValueIterable")); }, toString$0(receiver) { return A.MapBase_mapToString(receiver); }, $isMap: 1 }; - A.MapMixin_addAll_closure.prototype = { + A.MapBase_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)); + J.$indexSet$ax(t1, t2._eval$1("MapBase.K")._as(key), t2._eval$1("MapBase.V")._as(value)); }, $signature() { - return A.instanceType(this.$this)._eval$1("~(MapMixin.K,MapMixin.V)"); + return A.instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)"); } }; - A.MapMixin_entries_closure.prototype = { + A.MapBase_entries_closure.prototype = { call$1(key) { var t1 = this.$this, t2 = A.instanceType(t1); - t2._eval$1("MapMixin.K")._as(key); + t2._eval$1("MapBase.K")._as(key); t1 = J.$index$asx(t1, key); if (t1 == null) - t1 = t2._eval$1("MapMixin.V")._as(t1); - return new A.MapEntry(key, t1, t2._eval$1("@")._bind$1(t2._eval$1("MapMixin.V"))._eval$1("MapEntry<1,2>")); + t1 = t2._eval$1("MapBase.V")._as(t1); + return new A.MapEntry(key, t1, t2._eval$1("MapEntry")); }, $signature() { - return A.instanceType(this.$this)._eval$1("MapEntry(MapMixin.K)"); + return A.instanceType(this.$this)._eval$1("MapEntry(MapBase.K)"); } }; + 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 = A.S(k); + t2 = t1._contents += t2; + t1._contents = t2 + ": "; + t2 = A.S(v); + t1._contents += t2; + }, + $signature: 96 + }; A._MapBaseValueIterable.prototype = { get$length(_) { return J.get$length$asx(this._collection$_map); @@ -53097,9 +53136,8 @@ return t1 == null ? this.$ti._rest[1]._as(t1) : t1; }, 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>")); + var t1 = this._collection$_map; + return new A._MapBaseValueIterator(J.get$iterator$ax(J.get$keys$x(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>")); } }; A._MapBaseValueIterator.prototype = { @@ -53175,14 +53213,12 @@ get$values(_) { return J.get$values$x(this._collection$_map); }, - get$entries(_) { - return J.get$entries$x(this._collection$_map); - }, 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); }, - map$1($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + map$1(_, transform) { + var t1 = type$.dynamic; + return this.map$2$1(0, transform, t1, t1); }, removeWhere$1(_, test) { J.removeWhere$1$ax(this._collection$_map, A._instanceType(this)._eval$1("bool(1,2)")._as(test)); @@ -53195,9 +53231,6 @@ } }; 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$iterator(_) { var _this = this; return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); @@ -53252,7 +53285,7 @@ var t1, t2, _this = this; if (_this._head === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); - if (_this.get$length(_this) > 1) + if (_this.get$length(0) > 1) throw A.wrapException(A.IterableElementError_tooMany()); t1 = _this._table; t2 = _this._head; @@ -53263,7 +53296,7 @@ }, elementAt$1(_, index) { var t1, t2, t3, _this = this; - A.IndexError_check(index, _this.get$length(_this), _this, null, null); + A.IndexError_check(index, _this.get$length(0), _this, null, null); t1 = _this._table; t2 = t1.length; t3 = (_this._head + index & t2 - 1) >>> 0; @@ -53281,7 +53314,7 @@ return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1); } t1 = _this.$ti._precomputed1; - list = A.List_List$filled($length, _this.get$first(_this), growable, t1); + list = A.List_List$filled($length, _this.get$first(0), growable, t1); for (i = 0; i < $length; ++i) { t2 = _this._table; t3 = (_this._head + i & mask) >>> 0; @@ -53292,14 +53325,11 @@ } return list; }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); - }, add$1(_, value) { this._add$1(0, this.$ti._precomputed1._as(value)); }, toString$0(_) { - return A.IterableBase_iterableToFullString(this, "{", "}"); + return A.Iterable_iterableToFullString(this, "{", "}"); }, removeFirst$0() { var t2, result, _this = this, @@ -53341,8 +53371,7 @@ }, set$_table(_table) { this._table = this.$ti._eval$1("List<1?>")._as(_table); - }, - $isQueue: 1 + } }; A._ListQueueIterator.prototype = { get$current(_) { @@ -53371,19 +53400,16 @@ }, $isIterator: 1 }; - A.SetMixin.prototype = { + A.SetBase.prototype = { get$isEmpty(_) { return this.get$length(this) === 0; }, get$isNotEmpty(_) { return this.get$length(this) !== 0; }, - cast$1$0(_, $R) { - return A.Set_castFrom(this, null, A._instanceType(this)._eval$1("SetMixin.E"), $R); - }, addAll$1(_, elements) { var t1; - for (t1 = J.get$iterator$ax(A._instanceType(this)._eval$1("Iterable")._as(elements)); t1.moveNext$0();) + 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)); }, removeAll$1(elements) { @@ -53393,7 +53419,7 @@ }, removeWhere$1(_, test) { var toRemove, t1, element, _this = this; - A._instanceType(_this)._eval$1("bool(SetMixin.E)")._as(test); + A._instanceType(_this)._eval$1("bool(SetBase.E)")._as(test); toRemove = []; for (t1 = _this.get$iterator(_this); t1.moveNext$0();) { element = t1.get$current(t1); @@ -53411,30 +53437,24 @@ }, union$1(other) { var t1; - A._instanceType(this)._eval$1("Set")._as(other); + A._instanceType(this)._eval$1("Set")._as(other); t1 = this.toSet$0(0); t1.addAll$1(0, other); return t1; }, toList$1$growable(_, growable) { - return A.List_List$of(this, growable, A._instanceType(this)._eval$1("SetMixin.E")); - }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("SetBase.E")); }, 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>")); + return new A.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(SetBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); }, get$single(_) { - var it, _this = this, - t1 = _this.get$length(_this); - if (typeof t1 !== "number") - return t1.$gt(); - if (t1 > 1) + var it, _this = this; + if (_this.get$length(_this) > 1) throw A.wrapException(A.IterableElementError_tooMany()); it = _this.get$iterator(_this); if (!it.moveNext$0()) @@ -53442,44 +53462,56 @@ return it.get$current(it); }, toString$0(_) { - return A.IterableBase_iterableToFullString(this, "{", "}"); + return A.Iterable_iterableToFullString(this, "{", "}"); + }, + where$1(_, f) { + var t1 = A._instanceType(this); + return new A.WhereIterable(this, t1._eval$1("bool(SetBase.E)")._as(f), t1._eval$1("WhereIterable")); + }, + expand$1$1(_, f, $T) { + var t1 = A._instanceType(this); + return new A.ExpandIterable(this, t1._bind$1($T)._eval$1("Iterable<1>(SetBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, forEach$1(_, f) { var t1; - A._instanceType(this)._eval$1("~(SetMixin.E)")._as(f); + A._instanceType(this)._eval$1("~(SetBase.E)")._as(f); for (t1 = this.get$iterator(this); t1.moveNext$0();) f.call$1(t1.get$current(t1)); }, join$1(_, separator) { - var t1, + var first, t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; - if (separator === "") { - t1 = ""; + first = J.toString$0$(iterator.get$current(iterator)); + if (!iterator.moveNext$0()) + return first; + if (separator.length === 0) { + t1 = first; do t1 += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { - t1 = "" + A.S(iterator.get$current(iterator)); - for (; iterator.moveNext$0();) + t1 = first; + do t1 = t1 + separator + A.S(iterator.get$current(iterator)); + while (iterator.moveNext$0()); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, any$1(_, test) { var t1; - A._instanceType(this)._eval$1("bool(SetMixin.E)")._as(test); + A._instanceType(this)._eval$1("bool(SetBase.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; }, take$1(_, n) { - return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._eval$1("SetMixin.E")); + return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._eval$1("SetBase.E")); }, skip$1(_, n) { - return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._eval$1("SetMixin.E")); + return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._eval$1("SetBase.E")); }, get$first(_) { var it = this.get$iterator(this); @@ -53498,23 +53530,21 @@ return result; }, 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; + var iterator, skipCount; + A.RangeError_checkNotNegative(index, "index"); + iterator = this.get$iterator(this); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) + return iterator.get$current(iterator); + --skipCount; } - throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, _s5_)); - } + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index")); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 }; - 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); - }, difference$1(other) { var t1, element, result = this._newSet$0(); @@ -53539,48 +53569,9 @@ var t1 = this._newSet$0(); t1.addAll$1(0, this); return t1; - }, - $isEfficientLengthIterable: 1, - $isIterable: 1, - $isSet: 1 - }; - A._UnmodifiableSetMixin.prototype = { - add$1(_, value) { - this.$ti._precomputed1._as(value); - return A._UnmodifiableSetMixin__throwUnmodifiable(); - }, - removeAll$1(elements) { - return A._UnmodifiableSetMixin__throwUnmodifiable(); - }, - remove$1(_, value) { - return A._UnmodifiableSetMixin__throwUnmodifiable(); - } - }; - A._UnmodifiableSet.prototype = { - _newSet$0() { - return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); - }, - _newSimilarSet$1$0($R) { - return A.LinkedHashSet_LinkedHashSet($R); - }, - _newSimilarSet$0() { - return this._newSimilarSet$1$0(type$.dynamic); - }, - contains$1(_, element) { - return J.containsKey$1$x(this._collection$_map, element); - }, - get$iterator(_) { - return J.get$iterator$ax(J.get$keys$x(this._collection$_map)); - }, - get$length(_) { - return J.get$length$asx(this._collection$_map); } }; - 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, @@ -53595,13 +53586,13 @@ } }, get$length(_) { - return this._processed == null ? this._data._length : this._computeKeys$0().length; + return this._processed == null ? this._data.__js_helper$_length : this._computeKeys$0().length; }, get$isEmpty(_) { - return this.get$length(this) === 0; + return this.get$length(0) === 0; }, get$isNotEmpty(_) { - return this.get$length(this) > 0; + return this.get$length(0) > 0; }, get$keys(_) { var t1; @@ -53612,11 +53603,9 @@ return new A._JsonMapKeyIterable(this); }, get$values(_) { - var t1, _this = this; - if (_this._processed == null) { - t1 = _this._data; - return t1.get$values(t1); - } + var _this = this; + if (_this._processed == null) + return _this._data.get$values(0); return A.MappedIterable_MappedIterable(_this._computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic); }, $indexSet(_, key, value) { @@ -53698,17 +53687,16 @@ call$1(each) { return this.$this.$index(0, A._asString(each)); }, - $signature: 165 + $signature: 122 }; A._JsonMapKeyIterable.prototype = { get$length(_) { - var t1 = this._parent; - return t1.get$length(t1); + return this._parent.get$length(0); }, elementAt$1(_, index) { var t1 = this._parent; if (t1._processed == null) - t1 = t1.get$keys(t1).elementAt$1(0, index); + t1 = t1.get$keys(0).elementAt$1(0, index); else { t1 = t1._computeKeys$0(); if (!(index >= 0 && index < t1.length)) @@ -53720,7 +53708,7 @@ get$iterator(_) { var t1 = this._parent; if (t1._processed == null) { - t1 = t1.get$keys(t1); + t1 = t1.get$keys(0); t1 = t1.get$iterator(t1); } else { t1 = t1._computeKeys$0(); @@ -53732,7 +53720,7 @@ return this._parent.containsKey$1(0, key); } }; - A.Utf8Decoder__decoder_closure.prototype = { + A._Utf8Decoder__decoder_closure.prototype = { call$0() { var t1, exception; try { @@ -53742,9 +53730,9 @@ } return null; }, - $signature: 7 + $signature: 8 }; - A.Utf8Decoder__decoderNonfatal_closure.prototype = { + A._Utf8Decoder__decoderNonfatal_closure.prototype = { call$0() { var t1, exception; try { @@ -53754,7 +53742,7 @@ } return null; }, - $signature: 7 + $signature: 8 }; A.AsciiCodec.prototype = { get$name(_) { @@ -53768,22 +53756,22 @@ 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 $length, result, t1, i, codeUnit; + var stringLength, end, 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); + stringLength = string.length; + end = A.RangeError_checkValidRange(0, null, stringLength); + result = new Uint8Array(end); + for (t1 = ~this._subsetMask, i = 0; i < end; ++i) { + if (!(i < stringLength)) + return A.ioore(string, i); + codeUnit = string.charCodeAt(i); if ((codeUnit & t1) !== 0) throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); - if (!(i < $length)) + if (!(i < end)) return A.ioore(result, i); result[i] = codeUnit; } @@ -53795,11 +53783,13 @@ 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)); + t1 = bytes.length; + end = A.RangeError_checkValidRange(0, null, t1); for (t2 = ~this._subsetMask, i = 0; i < end; ++i) { - byte = t1.$index(bytes, i); - if ((byte & t2) >>> 0 !== 0) { + if (!(i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; + if ((byte & t2) !== 0) { if (!this._allowInvalid) throw A.wrapException(A.FormatException$("Invalid value in input: " + byte, null, null)); return this._convertInvalid$3(bytes, 0, end); @@ -53810,9 +53800,11 @@ _convertInvalid$3(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 += A.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value); + for (t1 = ~this._subsetMask, t2 = bytes.length, i = start, t3 = ""; i < end; ++i) { + if (!(i < t2)) + return A.ioore(bytes, i); + value = bytes[i]; + t3 += A.Primitives_stringFromCharCode((value & t1) !== 0 ? 65533 : value); } return t3.charCodeAt(0) == 0 ? t3 : t3; } @@ -53823,18 +53815,27 @@ return B.C_Base64Encoder; }, 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); + var inverseAlphabet, t2, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, t3, digit2, char0, value, t4, endLength, $length, + _s64_ = string$.ABCDEF, + _s31_ = "Invalid base64 encoding length ", + t1 = source.length; + end = A.RangeError_checkValidRange(start, end, t1); inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (t1 = inverseAlphabet.length, i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + for (t2 = 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 (!(i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(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)); + if (!(i0 < t1)) + return A.ioore(source, i0); + digit1 = A.hexDigitValue(source.charCodeAt(i0)); + t3 = i0 + 1; + if (!(t3 < t1)) + return A.ioore(source, t3); + digit2 = A.hexDigitValue(source.charCodeAt(t3)); char0 = digit1 * 16 + digit2 - (digit2 & 256); if (char0 === 37) char0 = -1; @@ -53844,21 +53845,23 @@ } else char0 = char; if (0 <= char0 && char0 <= 127) { - if (!(char0 >= 0 && char0 < t1)) + if (!(char0 >= 0 && char0 < t2)) return A.ioore(inverseAlphabet, char0); value = inverseAlphabet[char0]; if (value >= 0) { - char0 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, value); + if (!(value < 64)) + return A.ioore(_s64_, value); + char0 = _s64_.charCodeAt(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); + t3 = buffer == null ? null : buffer._contents.length; + if (t3 == null) + t3 = 0; + firstPadding = t3 + (i - sliceStart); firstPaddingSourceIndex = i; } ++paddingCount; @@ -53870,11 +53873,12 @@ if (value !== -2) { if (buffer == null) { buffer = new A.StringBuffer(""); - t2 = buffer; + t3 = buffer; } else - t2 = buffer; - t3 = t2._contents += B.JSString_methods.substring$2(source, sliceStart, i); - t2._contents = t3 + A.Primitives_stringFromCharCode(char); + t3 = buffer; + t3._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t4 = A.Primitives_stringFromCharCode(char); + t3._contents += t4; sliceStart = i0; continue; } @@ -53882,7 +53886,8 @@ throw A.wrapException(A.FormatException$("Invalid base64 data", source, i)); } if (buffer != null) { - t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end); + t1 = B.JSString_methods.substring$2(source, sliceStart, end); + t1 = buffer._contents += t1; t2 = t1.length; if (firstPadding >= 0) A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2); @@ -53916,10 +53921,10 @@ convert$1(input) { var t1; type$.List_int._as(input); - t1 = J.getInterceptor$asx(input); - if (t1.get$length(input) === 0) + t1 = input.length; + if (t1 === 0) return ""; - t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1.get$length(input), true); + t1 = new A._Base64Encoder(string$.ABCDEF).encode$4(input, 0, t1, true); t1.toString; return A.String_String$fromCharCodes(t1, 0, null); } @@ -53975,24 +53980,17 @@ return buffer; } }; - A.ByteConversionSink.prototype = {}; - A.ByteConversionSinkBase.prototype = {}; + A.ByteConversionSink.prototype = {$isSink: 1}; A._ByteCallbackSink.prototype = { add$1(_, chunk) { - var t1, t2, t3, t4, v, grown, _this = this; + var t1, t2, t3, 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) { + if (t3.get$length(chunk) > 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 = t3.get$length(chunk) + t1.length - 1; v |= B.JSInt_methods._shrOtherPositive$1(v, 1); v |= v >>> 2; v |= v >>> 4; @@ -54004,15 +54002,8 @@ } 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; + B.NativeUint8List_methods.setRange$3(t1, t2, t2 + t3.get$length(chunk), chunk); + _this._bufferIndex = _this._bufferIndex + t3.get$length(chunk); }, close$0(_) { this._callback.call$1(B.NativeUint8List_methods.sublist$2(this._convert$_buffer, 0, this._bufferIndex)); @@ -54021,13 +54012,7 @@ this._convert$_buffer = type$.List_int._as(_buffer); } }; - 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); - } - }; + A.Codec.prototype = {}; A.Converter.prototype = {}; A.Encoding.prototype = {}; A.HtmlEscapeMode.prototype = { @@ -54080,8 +54065,10 @@ } if (result == null) return null; - if (end > start) - result._contents += B.JSString_methods.substring$2(text, start, end); + if (end > start) { + t1 = B.JSString_methods.substring$2(text, start, end); + result._contents += t1; + } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } @@ -54102,18 +54089,14 @@ }; 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); + var t1 = A._parseJson(source, this.get$decoder()._reviver); return t1; }, - decode$1($receiver, source) { - return this.decode$2$reviver($receiver, source, null); + decode$1(_, source) { + return this.decode$2$reviver(0, source, null); }, encode$2$toEncodable(value, toEncodable) { - var t1; - type$.nullable_nullable_Object_Function_dynamic._as(toEncodable); - t1 = this.get$encoder(); + var t1 = this.get$encoder(); t1 = A._JsonStringStringifier_stringify(value, t1._toEncodable, t1.indent); return t1; }, @@ -54127,47 +54110,26 @@ return B.JsonDecoder_null; } }; - A.JsonEncoder.prototype = { - convert$1(object) { - var stringifier, - t1 = this._toEncodable, - t2 = this.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; - } - }; - A.JsonDecoder.prototype = { - convert$1(input) { - return A._parseJson(A._asString(input), this._reviver); - } - }; + A.JsonEncoder.prototype = {}; + A.JsonDecoder.prototype = {}; 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); + charCode = s.charCodeAt(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); + t3 = !(t3 < $length && (s.charCodeAt(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); + t2 = !(t2 >= 0 && (s.charCodeAt(t2) & 64512) === 55296); } else t2 = false; else @@ -54176,19 +54138,21 @@ 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); + t2 = A.Primitives_stringFromCharCode(92); + t1._contents += t2; + t2 = A.Primitives_stringFromCharCode(117); + t1._contents += t2; + t2 = A.Primitives_stringFromCharCode(100); + t1._contents += t2; + t2 = charCode >>> 8 & 15; + t2 = A.Primitives_stringFromCharCode(t2 < 10 ? 48 + t2 : 87 + t2); + t1._contents += t2; + t2 = charCode >>> 4 & 15; + t2 = A.Primitives_stringFromCharCode(t2 < 10 ? 48 + t2 : 87 + t2); + t1._contents += t2; + t2 = charCode & 15; + t2 = A.Primitives_stringFromCharCode(t2 < 10 ? 48 + t2 : 87 + t2); + t1._contents += t2; } } continue; @@ -54197,43 +54161,52 @@ 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(92); + t1._contents += t2; switch (charCode) { case 8: - t1._contents = t2 + A.Primitives_stringFromCharCode(98); + t2 = A.Primitives_stringFromCharCode(98); + t1._contents += t2; break; case 9: - t1._contents = t2 + A.Primitives_stringFromCharCode(116); + t2 = A.Primitives_stringFromCharCode(116); + t1._contents += t2; break; case 10: - t1._contents = t2 + A.Primitives_stringFromCharCode(110); + t2 = A.Primitives_stringFromCharCode(110); + t1._contents += t2; break; case 12: - t1._contents = t2 + A.Primitives_stringFromCharCode(102); + t2 = A.Primitives_stringFromCharCode(102); + t1._contents += t2; break; case 13: - t1._contents = t2 + A.Primitives_stringFromCharCode(114); + t2 = A.Primitives_stringFromCharCode(114); + t1._contents += t2; 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); + t2 = A.Primitives_stringFromCharCode(117); + t1._contents += t2; + t2 = A.Primitives_stringFromCharCode(48); + t1._contents += t2; + t2 = A.Primitives_stringFromCharCode(48); + t1._contents += t2; + t2 = charCode >>> 4 & 15; + t2 = A.Primitives_stringFromCharCode(t2 < 10 ? 48 + t2 : 87 + t2); + t1._contents += t2; + t2 = charCode & 15; + t2 = A.Primitives_stringFromCharCode(t2 < 10 ? 48 + t2 : 87 + t2); + t1._contents += t2; 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); + t2 = A.Primitives_stringFromCharCode(92); + t1._contents += t2; + t2 = A.Primitives_stringFromCharCode(charCode); + t1._contents += t2; } } if (offset === 0) @@ -54272,11 +54245,13 @@ } }, writeJsonValue$1(object) { - var t1, success, _this = this; + var t1, t2, success, _this = this; if (typeof object == "number") { if (!isFinite(object)) return false; - _this._sink._contents += B.JSNumber_methods.toString$0(object); + t1 = _this._sink; + t2 = B.JSNumber_methods.toString$0(object); + t1._contents += t2; return true; } else if (object === true) { _this._sink._contents += "true"; @@ -54313,22 +54288,15 @@ return false; }, writeList$1(list) { - var t2, i, t3, + var t2, i, 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; + for (i = 1; i < t2.get$length(list); ++i) { t1._contents += ","; this.writeObject$1(t2.$index(list, i)); - ++i; } } t1._contents += "]"; @@ -54340,10 +54308,7 @@ _this._sink._contents += "{}"; return true; } - t2 = t1.get$length(map); - if (typeof t2 !== "number") - return t2.$mul(); - t2 *= 2; + 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; @@ -54375,7 +54340,7 @@ B.JSArray_methods.$indexSet(t1, t2.i++, key); B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $signature: 92 + $signature: 96 }; A._JsonPrettyPrintMixin.prototype = { writeList$1(list) { @@ -54390,17 +54355,10 @@ 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; + for (i = 1; i < t1.get$length(list); ++i) { 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); @@ -54414,10 +54372,7 @@ _this._sink._contents += "{}"; return true; } - t2 = t1.get$length(map); - if (typeof t2 !== "number") - return t2.$mul(); - t2 *= 2; + 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; @@ -54454,7 +54409,7 @@ B.JSArray_methods.$indexSet(t1, t2.i++, key); B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $signature: 92 + $signature: 96 }; A._JsonStringStringifier.prototype = { get$_partialResult() { @@ -54481,9 +54436,6 @@ type$.List_int._as(bytes); t1 = B.Latin1Decoder_false_255.convert$1(bytes); return t1; - }, - get$encoder() { - return B.Latin1Encoder_255; } }; A.Latin1Encoder.prototype = {}; @@ -54496,22 +54448,24 @@ type$.List_int._as(codeUnits); return B.Utf8Decoder_false.convert$1(codeUnits); }, - get$encoder() { - return B.C_Utf8Encoder; + encode$1(string) { + return B.C_Utf8Encoder.convert$1(string); } }; A.Utf8Encoder.prototype = { convert$1(string) { - var end, $length, t1, encoder; + var stringLength, end, t1, encoder, t2; A._asString(string); - end = A.RangeError_checkValidRange(0, null, string.length); - $length = end - 0; - if ($length === 0) + stringLength = string.length; + end = A.RangeError_checkValidRange(0, null, stringLength); + if (end === 0) return new Uint8Array(0); - t1 = new Uint8Array($length * 3); + t1 = new Uint8Array(end * 3); encoder = new A._Utf8Encoder(t1); if (encoder._fillBuffer$3(string, 0, end) !== end) { - B.JSString_methods.codeUnitAt$1(string, end - 1); + t2 = end - 1; + if (!(t2 >= 0 && t2 < stringLength)) + return A.ioore(string, t2); encoder._writeReplacementCharacter$0(); } return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); @@ -54566,56 +54520,67 @@ } }, _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) + var t1, t2, t3, stringIndex, codeUnit, t4, t5, _this = this; + if (start !== end) { + t1 = end - 1; + if (!(t1 >= 0 && t1 < str.length)) + return A.ioore(str, t1); + t1 = (str.charCodeAt(t1) & 64512) === 55296; + } else + t1 = false; + if (t1) --end; - for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { - codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex); + for (t1 = _this._convert$_buffer, t2 = t1.length, t3 = str.length, stringIndex = start; stringIndex < end; ++stringIndex) { + if (!(stringIndex < t3)) + return A.ioore(str, stringIndex); + codeUnit = str.charCodeAt(stringIndex); if (codeUnit <= 127) { - t3 = _this._bufferIndex; - if (t3 >= t2) + t4 = _this._bufferIndex; + if (t4 >= t2) break; - _this._bufferIndex = t3 + 1; - t1[t3] = codeUnit; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit; } else { - t3 = codeUnit & 64512; - if (t3 === 55296) { + t4 = codeUnit & 64512; + if (t4 === 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) { + t4 = stringIndex + 1; + if (!(t4 < t3)) + return A.ioore(str, t4); + if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(t4))) + stringIndex = t4; + } else if (t4 === 56320) { if (_this._bufferIndex + 3 > t2) break; _this._writeReplacementCharacter$0(); } else if (codeUnit <= 2047) { - t3 = _this._bufferIndex; - t4 = t3 + 1; - if (t4 >= t2) + t4 = _this._bufferIndex; + t5 = t4 + 1; + if (t5 >= 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; + _this._bufferIndex = t5; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 | 192; + _this._bufferIndex = t5 + 1; + t1[t5] = codeUnit & 63 | 128; } else { - t3 = _this._bufferIndex; - if (t3 + 2 >= t2) + t4 = _this._bufferIndex; + if (t4 + 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; + t5 = _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; + t1[t4] = codeUnit >>> 12 | 224; + t4 = _this._bufferIndex = t5 + 1; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t1[t5] = codeUnit >>> 6 & 63 | 128; + _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit & 63 | 128; } } } @@ -54624,32 +54589,37 @@ }; 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); + return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(type$.List_int._as(codeUnits), 0, null, true); } }; A._Utf8Decoder.prototype = { - convertGeneral$4(codeUnits, start, maybeEnd, single) { - var end, bytes, errorOffset, result, t1, message, _this = this; + _convertGeneral$4(codeUnits, start, maybeEnd, single) { + var end, casted, bytes, errorOffset, t1, result, 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; + if (codeUnits instanceof Uint8Array) { + casted = codeUnits; + bytes = casted; errorOffset = 0; } else { - bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end); + bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end); end -= start; errorOffset = start; start = 0; } - result = _this._convertRecursive$4(bytes, start, end, true); + if (end - start >= 15) { + t1 = _this.allowMalformed; + result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end); + if (result != null) { + if (!t1) + return result; + if (result.indexOf("\ufffd") < 0) + return result; + } + } + result = _this._decodeRecursive$4(bytes, start, end, true); t1 = _this._convert$_state; if ((t1 & 1) !== 0) { message = A._Utf8Decoder_errorDescription(t1); @@ -54658,33 +54628,44 @@ } return result; }, - _convertRecursive$4(bytes, start, end, single) { + _decodeRecursive$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); + s1 = _this._decodeRecursive$4(bytes, start, mid, false); if ((_this._convert$_state & 1) !== 0) return s1; - return s1 + _this._convertRecursive$4(bytes, mid, end, single); + return s1 + _this._decodeRecursive$4(bytes, mid, end, single); } return _this.decodeGeneral$4(bytes, start, end, single); }, decodeGeneral$4(bytes, start, end, single) { - var t2, type, t3, i0, markEnd, i1, m, _this = this, _65533 = 65533, + var byte, t2, type, t3, i0, markEnd, i1, m, _this = this, + _s256_ = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", + _s144_ = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", + _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); + 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; + if (!(byte >= 0 && byte < 256)) + return A.ioore(_s256_, byte); + type = _s256_.charCodeAt(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); + t3 = state + type; + if (!(t3 >= 0 && t3 < 144)) + return A.ioore(_s144_, t3); + state = _s144_.charCodeAt(t3); if (state === 0) { - buffer._contents += A.Primitives_stringFromCharCode(char); + t3 = A.Primitives_stringFromCharCode(char); + buffer._contents += t3; if (i === end) break $label0$0; break; @@ -54693,14 +54674,17 @@ switch (state) { case 69: case 67: - buffer._contents += A.Primitives_stringFromCharCode(_65533); + t3 = A.Primitives_stringFromCharCode(_65533); + buffer._contents += t3; break; case 65: - buffer._contents += A.Primitives_stringFromCharCode(_65533); + t3 = A.Primitives_stringFromCharCode(_65533); + buffer._contents += t3; --i; break; default: - t3 = buffer._contents += A.Primitives_stringFromCharCode(_65533); + t3 = A.Primitives_stringFromCharCode(_65533); + t3 = buffer._contents += t3; buffer._contents = t3 + A.Primitives_stringFromCharCode(_65533); break; } @@ -54714,10 +54698,14 @@ if (i === end) break $label0$0; i0 = i + 1; - byte = t1.$index(bytes, i); + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; } i0 = i + 1; - byte = t1.$index(bytes, i); + if (!(i >= 0 && i < t1)) + return A.ioore(bytes, i); + byte = bytes[i]; if (byte < 128) { while (true) { if (!(i0 < end)) { @@ -54725,7 +54713,9 @@ break; } i1 = i0 + 1; - byte = t1.$index(bytes, i0); + if (!(i0 >= 0 && i0 < t1)) + return A.ioore(bytes, i0); + byte = bytes[i0]; if (byte >= 128) { markEnd = i1 - 1; i0 = i1; @@ -54734,10 +54724,16 @@ 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); + for (m = i; m < markEnd; ++m) { + if (!(m < t1)) + return A.ioore(bytes, m); + t3 = A.Primitives_stringFromCharCode(bytes[m]); + buffer._contents += t3; + } + else { + t3 = A.String_String$fromCharCodes(bytes, i, markEnd); + buffer._contents += t3; + } if (markEnd === end) break $label0$0; i = i0; @@ -54745,9 +54741,10 @@ i = i0; } if (single && state > 32) - if (t2) - buffer._contents += A.Primitives_stringFromCharCode(_65533); - else { + if (t2) { + t1 = A.Primitives_stringFromCharCode(_65533); + buffer._contents += t1; + } else { _this._convert$_state = 77; _this._charOrIndex = end; return ""; @@ -54759,21 +54756,6 @@ } }; 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 += key.__internal$_name; - t1._contents = t3; - t1._contents = t3 + ": "; - t1._contents += A.Error_safeToString(value); - t2.comma = ", "; - }, - $signature: 261 - }; A._BigIntImpl.prototype = { $negate(_) { var t2, t3, _this = this, @@ -54840,7 +54822,7 @@ t1 = digits.length; if (!(digitShift >= 0 && digitShift < t1)) return A.ioore(digits, digitShift); - if ((digits[digitShift] & B.JSInt_methods.$shl(1, bitShift) - 1) !== 0) + if ((digits[digitShift] & B.JSInt_methods.$shl(1, bitShift) - 1) >>> 0 !== 0) return result.$sub(0, $.$get$_BigIntImpl_one()); for (i = 0; i < digitShift; ++i) { if (!(i < t1)) @@ -54862,10 +54844,9 @@ return t1 ? -1 : 1; }, _absAddSetSign$2(other, isNegative) { - var used, otherUsed, resultUsed, resultDigits, t1, _this = this; - type$._BigIntImpl._as(other); - used = _this._used; - otherUsed = other._used; + var resultUsed, resultDigits, t1, _this = this, + used = _this._used, + otherUsed = other._used; if (used < otherUsed) return other._absAddSetSign$2(_this, isNegative); if (used === 0) @@ -54879,9 +54860,8 @@ return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, _absSubSetSign$2(other, isNegative) { - var used, otherUsed, resultDigits, t1, _this = this; - type$._BigIntImpl._as(other); - used = _this._used; + var otherUsed, resultDigits, t1, _this = this, + used = _this._used; if (used === 0) return $.$get$_BigIntImpl_zero(); otherUsed = other._used; @@ -54924,10 +54904,9 @@ return other._absSubSetSign$2(_this, !isNegative); }, $mul(_, other) { - var used, otherUsed, resultUsed, digits, otherDigits, resultDigits, t1, i, t2; - type$._BigIntImpl._as(other); - used = this._used; - otherUsed = other._used; + 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; @@ -55067,7 +55046,7 @@ return result; }, toString$0(_) { - var decimalDigitChunks, rest, t2, t3, digits4, t4, _this = this, + var decimalDigitChunks, rest, t2, digits4, t3, _this = this, t1 = _this._used; if (t1 === 0) return "0"; @@ -55086,20 +55065,20 @@ decimalDigitChunks = A._setArrayType([], type$.JSArray_String); t1 = _this._isNegative; rest = t1 ? _this.$negate(0) : _this; - for (t2 = type$._BigIntImpl; rest._used > 1;) { - t3 = t2._as($.$get$_BigIntImpl__bigInt10000()); - if (t3._used === 0) + for (; rest._used > 1;) { + t2 = $.$get$_BigIntImpl__bigInt10000(); + if (t2._used === 0) A.throwExpression(B.C_IntegerDivisionByZeroException); - digits4 = rest._rem$1(t3).toString$0(0); + digits4 = rest._rem$1(t2).toString$0(0); B.JSArray_methods.add$1(decimalDigitChunks, digits4); - t4 = digits4.length; - if (t4 === 1) + t3 = digits4.length; + if (t3 === 1) B.JSArray_methods.add$1(decimalDigitChunks, "000"); - if (t4 === 2) + if (t3 === 2) B.JSArray_methods.add$1(decimalDigitChunks, "00"); - if (t4 === 3) + if (t3 === 3) B.JSArray_methods.add$1(decimalDigitChunks, "0"); - rest = rest._div$1(t3); + rest = rest._div$1(t2); } t2 = rest._digits; if (0 >= t2.length) @@ -55118,7 +55097,7 @@ hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, - $signature: 56 + $signature: 52 }; A._BigIntImpl_hashCode_finish.prototype = { call$1(hash) { @@ -55126,34 +55105,59 @@ hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, - $signature: 77 + $signature: 75 + }; + 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.__internal$_name; + t1._contents = t3; + t1._contents = t3 + ": "; + t3 = A.Error_safeToString(value); + t1._contents += t3; + t2.comma = ", "; + }, + $signature: 273 }; 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); + var _1000 = 1000, + t1 = type$.Duration._as(duration)._duration, + durationLo = B.JSInt_methods.$mod(t1, _1000), + durationHi = B.JSInt_methods._tdivFast$1(t1 - durationLo, _1000), + sumLo = this._microsecond + durationLo, + microsecond = B.JSInt_methods.$mod(sumLo, _1000); + t1 = this.isUtc; + return new A.DateTime(A.DateTime__validate(this._core$_value + B.JSInt_methods._tdivFast$1(sumLo - microsecond, _1000) + durationHi, microsecond, t1), microsecond, t1); + }, + _addMicroseconds$1(durationMicroseconds) { + var _1000 = 1000, + durationLo = B.JSInt_methods.$mod(durationMicroseconds, _1000), + durationHi = B.JSInt_methods._tdivFast$1(durationMicroseconds - durationLo, _1000), + sumLo = this._microsecond + durationLo, + microsecond = B.JSInt_methods.$mod(sumLo, _1000), + t1 = this.isUtc; + return new A.DateTime(A.DateTime__validate(this._core$_value + B.JSInt_methods._tdivFast$1(sumLo - microsecond, _1000) + durationHi, microsecond, t1), microsecond, t1); }, $eq(_, other) { if (other == null) return false; - return other instanceof A.DateTime && this._core$_value === other._core$_value && this.isUtc === other.isUtc; - }, - compareTo$1(_, other) { - return B.JSInt_methods.compareTo$1(this._core$_value, type$.DateTime._as(other)._core$_value); - }, - 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); + return other instanceof A.DateTime && this._core$_value === other._core$_value && this._microsecond === other._microsecond && this.isUtc === other.isUtc; }, get$hashCode(_) { - var t1 = this._core$_value; - return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; + return A.Object_hash(this._core$_value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue); + }, + compareTo$1(_, other) { + var r; + type$.DateTime._as(other); + r = B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value); + if (r !== 0) + return r; + return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond); }, toString$0(_) { var _this = this, @@ -55164,11 +55168,13 @@ 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; + t1 = _this._microsecond, + us = t1 === 0 ? "" : A.DateTime__threeDigits(t1); + t1 = y + "-" + m; if (_this.isUtc) - return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; + return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us + "Z"; else - return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; + return t1 + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us; }, toIso8601String$0() { var _this = this, @@ -55179,11 +55185,13 @@ 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; + t1 = _this._microsecond, + us = t1 === 0 ? "" : A.DateTime__threeDigits(t1); + t1 = y + "-" + m; if (_this.isUtc) - return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; + return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + us + "Z"; else - return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms; + return t1 + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + us; }, $isComparable: 1 }; @@ -55193,7 +55201,7 @@ return 0; return A.int_parse(matched, null); }, - $signature: 161 + $signature: 124 }; A.DateTime_parse_parseMilliAndMicroseconds.prototype = { call$1(matched) { @@ -55202,12 +55210,15 @@ 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; + if (i < t1) { + if (!(i < t1)) + return A.ioore(matched, i); + result += matched.charCodeAt(i) ^ 48; + } } return result; }, - $signature: 161 + $signature: 124 }; A.Duration.prototype = { $sub(_, other) { @@ -55225,19 +55236,24 @@ return B.JSInt_methods.compareTo$1(this._duration, type$.Duration._as(other)._duration); }, toString$0(_) { - var minutes, minutesPadding, seconds, secondsPadding, + var sign, 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; + hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000), + microseconds0 = microseconds % 3600000000; + if (microseconds < 0) { + hours = 0 - hours; + microseconds = 0 - microseconds0; + sign = "-"; + } else { + microseconds = microseconds0; + sign = ""; + } 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"); + return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); }, $isComparable: 1 }; @@ -55248,7 +55264,7 @@ }; A.Error.prototype = { get$stackTrace() { - return A.getTraceFromException(this.$thrownJsError); + return A.Primitives_extractStackTrace(this); } }; A.AssertionError.prototype = { @@ -55263,12 +55279,6 @@ } }; A.TypeError.prototype = {}; - A.NullThrownError.prototype = { - toString$0(_) { - return "Throw of null."; - }, - $isTypeError: 1 - }; A.ArgumentError.prototype = { get$_errorName() { return "Invalid argument" + (!this._hasValue ? "(s)" : ""); @@ -55344,7 +55354,8 @@ 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); + t2 = A.Error_safeToString(argument); + t2 = sb._contents += t2; _box_0.comma = ", "; } _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb)); @@ -55404,11 +55415,6 @@ }, $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; @@ -55420,7 +55426,7 @@ }; A.FormatException.prototype = { toString$0(_) { - var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, + var t1, lineEnd, lineNum, lineStart, previousCharWasCR, i, char, prefix, postfix, end, start, message = this.message, report = "" !== message ? "FormatException: " + message : "FormatException", offset = this.offset, @@ -55437,8 +55443,10 @@ 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); + for (lineEnd = source.length, lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + if (!(i < lineEnd)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 10) { if (lineStart !== i || !previousCharWasCR) ++lineNum; @@ -55451,20 +55459,21 @@ } } 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 (!(i >= 0)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 10 || char === 13) { lineEnd = i; break; } } - if (lineEnd - lineStart > 78) + prefix = ""; + if (lineEnd - lineStart > 78) { + postfix = "..."; if (offset - lineStart < 75) { end = lineStart + 75; start = lineStart; - prefix = ""; - postfix = "..."; } else { if (lineEnd - offset < 75) { start = lineEnd - 75; @@ -55473,14 +55482,12 @@ } else { start = offset - 36; end = offset + 36; - postfix = "..."; } prefix = "..."; } - else { + } 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"; @@ -55512,15 +55519,12 @@ $isException: 1 }; A.Iterable.prototype = { - cast$1$0(_, $R) { - return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R); - }, 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); }, - map$1($receiver, toElement) { - return this.map$1$1($receiver, toElement, type$.dynamic); + map$1(_, toElement) { + return this.map$1$1(0, toElement, type$.dynamic); }, where$1(_, test) { var t1 = A._instanceType(this); @@ -55555,35 +55559,37 @@ return true; }, join$1(_, separator) { - var t1, + var first, t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; - if (separator === "") { - t1 = ""; + first = J.toString$0$(iterator.get$current(iterator)); + if (!iterator.moveNext$0()) + return first; + if (separator.length === 0) { + t1 = first; do - t1 += A.S(J.toString$0$(iterator.get$current(iterator))); + t1 += 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))); + t1 = first; + do + t1 = t1 + separator + J.toString$0$(iterator.get$current(iterator)); + while (iterator.moveNext$0()); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, - join$0($receiver) { - return this.join$1($receiver, ""); + join$0(_) { + return this.join$1(0, ""); }, toList$1$growable(_, growable) { return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E")); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(_) { + return this.toList$1$growable(0, true); }, toSet$0(_) { - var t1 = A.LinkedHashSet_LinkedHashSet(A._instanceType(this)._eval$1("Iterable.E")); - t1.addAll$1(0, this); - return t1; + return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E")); }, get$length(_) { var count, @@ -55635,21 +55641,20 @@ return result; }, elementAt$1(_, index) { - var t1, elementIndex, element; + var iterator, skipCount; 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; + iterator = this.get$iterator(this); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) + return iterator.get$current(iterator); + --skipCount; } - throw A.wrapException(A.IndexError$withLength(index, elementIndex, this, null, "index")); + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index")); }, toString$0(_) { - return A.IterableBase_iterableToShortString(this, "(", ")"); + return A.Iterable_iterableToShortString(this, "(", ")"); } }; - A.Iterator.prototype = {}; A.MapEntry.prototype = { toString$0(_) { return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")"; @@ -55660,7 +55665,7 @@ }; A.Null.prototype = { get$hashCode(_) { - return A.Object.prototype.get$hashCode.call(this, this); + return A.Object.prototype.get$hashCode.call(this, 0); }, toString$0(_) { return "null"; @@ -55677,11 +55682,10 @@ return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; }, noSuchMethod$1(_, invocation) { - type$.Invocation._as(invocation); - throw A.wrapException(A.NoSuchMethodError$_(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, type$.Invocation._as(invocation))); }, get$runtimeType(_) { - return A.getRuntimeType(this); + return A.getRuntimeTypeOfDartObject(this); }, toString() { return this.toString$0(this); @@ -55698,14 +55702,20 @@ return new A.RuneIterator(this.string); }, get$last(_) { - var code, previousCode, + var t3, 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); + t3 = t2 - 1; + if (!(t3 >= 0)) + return A.ioore(t1, t3); + code = t1.charCodeAt(t3); if ((code & 64512) === 56320 && t2 > 1) { - previousCode = B.JSString_methods.codeUnitAt$1(t1, t2 - 2); + t3 = t2 - 2; + if (!(t3 >= 0)) + return A.ioore(t1, t3); + previousCode = t1.charCodeAt(t3); if ((previousCode & 64512) === 55296) return A._combineSurrogatePair(previousCode, code); } @@ -55725,10 +55735,14 @@ _this._currentCodePoint = -1; return false; } - codeUnit = B.JSString_methods._codeUnitAt$1(t2, t1); + if (!(t1 < t3)) + return A.ioore(t2, t1); + codeUnit = t2.charCodeAt(t1); nextPosition = t1 + 1; if ((codeUnit & 64512) === 55296 && nextPosition < t3) { - nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, nextPosition); + if (!(nextPosition < t3)) + return A.ioore(t2, nextPosition); + nextCodeUnit = t2.charCodeAt(nextPosition); if ((nextCodeUnit & 64512) === 56320) { _this._nextPosition = nextPosition + 1; _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit); @@ -55746,7 +55760,8 @@ return this._contents.length; }, write$1(_, obj) { - this._contents += A.S(obj); + var t1 = A.S(obj); + this._contents += t1; }, toString$0(_) { var t1 = this._contents; @@ -55758,13 +55773,13 @@ call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, - $signature: 227 + $signature: 225 }; A.Uri_parseIPv6Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, - $signature: 230 + $signature: 228 }; A.Uri_parseIPv6Address_parseHex.prototype = { call$2(start, end) { @@ -55776,7 +55791,7 @@ this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); return value; }, - $signature: 56 + $signature: 52 }; A._Uri.prototype = { get$_core$_text() { @@ -55812,11 +55827,18 @@ return value; }, get$pathSegments() { - var pathToSplit, result, _this = this, + var pathToSplit, t1, 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) + t1 = pathToSplit.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(pathToSplit, 0); + t1 = pathToSplit.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) 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"); @@ -55865,13 +55887,35 @@ return false; return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; }, + replace$1$scheme(_, scheme) { + var isFile, userInfo, port, host, currentPath, t1, path, _this = this; + scheme = A._Uri__makeScheme(scheme, 0, scheme.length); + isFile = scheme === "file"; + userInfo = _this._userInfo; + port = _this._port; + if (scheme !== _this.scheme) + port = A._Uri__makePort(port, scheme); + host = _this._host; + if (!(host != null)) + host = userInfo.length !== 0 || port != null || isFile ? "" : null; + currentPath = _this.path; + if (!isFile) + t1 = host != null && currentPath.length !== 0; + else + t1 = true; + if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/")) + currentPath = "/" + currentPath; + path = currentPath; + return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment); + }, _mergePaths$2(base, reference) { - var backCount, refStart, baseEnd, newEnd, delta, t1; + var backCount, refStart, baseEnd, t1, newEnd, delta, t2, t3, t4; for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { refStart += 3; ++backCount; } baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); + t1 = base.length; while (true) { if (!(baseEnd > 0 && backCount > 0)) break; @@ -55879,15 +55923,25 @@ 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; + t2 = delta !== 2; + t3 = false; + if (!t2 || delta === 3) { + t4 = newEnd + 1; + if (!(t4 < t1)) + return A.ioore(base, t4); + if (base.charCodeAt(t4) === 46) + if (t2) { + t2 = newEnd + 2; + if (!(t2 < t1)) + return A.ioore(base, t2); + t2 = base.charCodeAt(t2) === 46; + } else + t2 = true; else - t1 = false; - else - t1 = false; - if (t1) + t2 = t3; + } else + t2 = t3; + if (t2) break; --backCount; baseEnd = newEnd; @@ -55898,34 +55952,20 @@ return this.resolveUri$1(A.Uri_parse(reference)); }, 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 { + var targetScheme, t1, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, fragment, _this = this; + if (reference.get$scheme().length !== 0) + return reference; + 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; + t1 = reference.replace$1$scheme(0, targetScheme); + return t1; } else { targetUserInfo = _this._userInfo; targetHost = _this._host; targetPort = _this._port; targetPath = _this.path; - if (reference.get$path(reference) === "") + if (reference.get$hasEmptyPath()) targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _this._query; else { packageNameEnd = A._Uri__packageNameEnd(_this, targetPath); @@ -55947,24 +55987,25 @@ else targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null); } - targetQuery = reference.get$hasQuery() ? reference.get$query(reference) : _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); + fragment = reference.get$hasFragment() ? reference.get$fragment() : null; + return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); }, 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$hasEmptyPath() { + return this.path.length === 0; + }, get$hasAbsolutePath() { return B.JSString_methods.startsWith$1(this.path, "/"); }, @@ -55979,67 +56020,46 @@ 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; - } + if (_this._host != null && _this.get$host(0) !== "") + 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; }, toString$0(_) { return this.get$_core$_text(); }, $eq(_, other) { - var t1, t2, _this = this; + var t1, t2, t3, _this = this; if (other == null) return false; if (_this === other) return true; + t1 = false; 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.get$host(0) === other.get$host(other)) + if (_this.get$port(0) === 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 = ""; + t2 = _this._query; + t3 = t2 == null; + if (!t3 === other.get$hasQuery()) { + if (t3) + t2 = ""; + if (t2 === other.get$query(other)) { + t2 = _this._fragment; + t3 = t2 == null; + if (!t3 === other.get$hasFragment()) { + t1 = t3 ? "" : t2; 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; }, set$___Uri_pathSegments_FI(___Uri_pathSegments_FI) { @@ -56066,11 +56086,11 @@ 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); + query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, B.List_42A, 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); + t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, B.List_M2I, false, false), query, _null); } return t1; }, @@ -56092,31 +56112,38 @@ B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); return t1; }, - $signature: 232 + $signature: 230 }; 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; + t2 = chars.charCodeAt(i) ^ 96; if (!(t2 < 96)) return A.ioore(target, t2); target[t2] = transition; } }, - $signature: 160 + $signature: 127 }; 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) { + var i, n, + t1 = range.length; + if (0 >= t1) + return A.ioore(range, 0); + i = range.charCodeAt(0); + if (1 >= t1) + return A.ioore(range, 1); + n = range.charCodeAt(1); + for (; i <= n; ++i) { t1 = (i ^ 96) >>> 0; if (!(t1 < 96)) return A.ioore(target, t1); target[t1] = transition; } }, - $signature: 160 + $signature: 127 }; A._SimpleUri.prototype = { get$hasAuthority() { @@ -56134,6 +56161,9 @@ get$hasAbsolutePath() { return B.JSString_methods.startsWith$2(this._core$_uri, "/", this._pathStart); }, + get$hasEmptyPath() { + return this._pathStart === this._queryStart; + }, get$scheme() { var t1 = this._schemeCache; return t1 == null ? this._schemeCache = this._computeScheme$0() : t1; @@ -56187,24 +56217,6 @@ t2 = this._core$_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._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); - }, _isPort$1(port) { var portDigitStart = this._portStart + 1; return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._core$_uri, port, portDigitStart); @@ -56217,6 +56229,36 @@ 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); }, + replace$1$scheme(_, scheme) { + var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null; + scheme = A._Uri__makeScheme(scheme, 0, scheme.length); + schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._core$_uri, scheme)); + isFile = scheme === "file"; + t1 = _this._hostStart; + userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._core$_uri, _this._schemeEnd + 3, t1) : ""; + port = _this.get$hasPort() ? _this.get$port(0) : _null; + if (schemeChanged) + port = A._Uri__makePort(port, scheme); + t1 = _this._hostStart; + if (t1 > 0) + host = B.JSString_methods.substring$2(_this._core$_uri, t1, _this._portStart); + else + host = userInfo.length !== 0 || port != null || isFile ? "" : _null; + t1 = _this._core$_uri; + t2 = _this._queryStart; + path = B.JSString_methods.substring$2(t1, _this._pathStart, t2); + if (!isFile) + t3 = host != null && path.length !== 0; + else + t3 = true; + if (t3 && !B.JSString_methods.startsWith$1(path, "/")) + path = "/" + path; + t3 = _this._fragmentStart; + query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null; + t2 = _this._fragmentStart; + fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null; + return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment); + }, resolve$1(reference) { return this.resolveUri$1(A.Uri_parse(reference)); }, @@ -56295,9 +56337,11 @@ ++backCount; refStart = refStart0; } - for (insert = ""; baseEnd > baseStart0;) { + for (t3 = baseUri.length, insert = ""; baseEnd > baseStart0;) { --baseEnd; - if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { + if (!(baseEnd >= 0 && baseEnd < t3)) + return A.ioore(baseUri, baseEnd); + if (baseUri.charCodeAt(baseEnd) === 47) { if (backCount === 0) { insert = "/"; break; @@ -56314,7 +56358,7 @@ 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); }, toFilePath$0() { - var t2, t3, _this = this, + var t2, _this = this, t1 = _this._schemeEnd; if (t1 >= 0) { t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._core$_uri, "file")); @@ -56330,14 +56374,9 @@ 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); - } + if (_this._hostStart < _this._portStart) + A.throwExpression(A.UnsupportedError$(string$.Cannoten)); + t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1); return t1; }, get$hashCode(_) { @@ -56355,13 +56394,13 @@ 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, + t3 = _this._hostStart > 0 ? _this.get$host(0) : _null, + t4 = _this.get$hasPort() ? _this.get$port(0) : _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; + t6 = t6 < t8 ? _this.get$query(0) : _null; return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null); }, toString$0(_) { @@ -56373,12 +56412,15 @@ A.Expando.prototype = { $index(_, object) { type$.Object._as(object); - if (A._isBool(object) || typeof object == "number" || typeof object == "string") - A.throwExpression(A.ArgumentError$value(object, string$.Expand, null)); + if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record) + A.Expando__badExpandoKey(object); return this._jsWeakMap.get(object); }, $indexSet(_, object, value) { - this._jsWeakMap.set(object, this.$ti._eval$1("1?")._as(value)); + this.$ti._eval$1("1?")._as(value); + if (object instanceof A._Record) + A.Expando__badExpandoKey(object); + this._jsWeakMap.set(object, value); }, toString$0(_) { return "Expando:" + A.S(this.name); @@ -56500,7 +56542,7 @@ call$1(value) { this.completer.complete$1(0, type$.nullable_Blob._as(value)); }, - $signature: 235 + $signature: 233 }; A.CanvasRenderingContext2D.prototype = { drawImage$3(receiver, source, destX, destY) { @@ -56737,7 +56779,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -56753,21 +56794,20 @@ 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; + var t1, t2, t3; if (other == null) return false; + t1 = false; if (type$.Rectangle_num._is(other)) { - t1 = receiver.left; - t1.toString; - t2 = J.getInterceptor$x(other); - if (t1 === t2.get$left(other)) { + t2 = receiver.left; + t2.toString; + t3 = J.getInterceptor$x(other); + if (t2 === t3.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; + t1 = t1 === t3.get$top(other) && this.get$width(receiver) === t3.get$width(other) && this.get$height(receiver) === t3.get$height(other); + } + } return t1; }, get$hashCode(receiver) { @@ -56776,7 +56816,7 @@ t1.toString; t2 = receiver.top; t2.toString; - 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); + return A.Object_hash(t1, t2, this.get$width(receiver), this.get$height(receiver)); }, get$bottom(receiver) { var t1 = receiver.bottom; @@ -56878,7 +56918,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -56924,8 +56963,8 @@ this.$ti._eval$1("int(1,1)?")._as(compare); throw A.wrapException(A.UnsupportedError$("Cannot sort list")); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, get$first(_) { return this.$ti._precomputed1._as(B.NodeList_methods.get$first(this._nodeList)); @@ -57089,7 +57128,7 @@ if (t1) { t1 = receiver.tagName; t1.toString; - t1 = !B.JSArray_methods.contains$1(B.List_ego, t1); + t1 = !B.JSArray_methods.contains$1(B.List_Vet, t1); } else t1 = false; if (t1) { @@ -57141,7 +57180,7 @@ call$1(e) { return type$.Element._is(type$.Node._as(e)); }, - $signature: 158 + $signature: 157 }; A.ErrorEvent.prototype = { get$message(receiver) { @@ -57188,16 +57227,16 @@ if (listener != null) this._addEventListener$3(receiver, type, listener, useCapture); }, - addEventListener$2($receiver, type, listener) { - return this.addEventListener$3($receiver, type, listener, null); + 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); + 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); @@ -57270,7 +57309,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -57281,7 +57319,7 @@ get$result(receiver) { var res = receiver.result; if (type$.ByteBuffer._is(res)) - return B.NativeByteBuffer_methods.asUint8List$2(res, 0, null); + return A.NativeUint8List_NativeUint8List$view(res, 0, null); return res; }, $isFileReader: 1 @@ -57380,7 +57418,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -57393,41 +57430,9 @@ } }; A.HttpRequest.prototype = { - get$responseHeaders(receiver) { - var _i, header, t2, splitIdx, key, value, - t1 = type$.String, - headers = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), - headersString = receiver.getAllResponseHeaders(), - headersList = headersString.split("\r\n"); - for (t1 = headersList.length, _i = 0; _i < t1; ++_i) { - header = headersList[_i]; - 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; - }, open$3$async(receiver, method, url, async) { return receiver.open(method, url, true); }, - set$withCredentials(receiver, value) { - receiver.withCredentials = false; - }, - send$1(receiver, body_OR_data) { - return receiver.send(body_OR_data); - }, - setRequestHeader$2(receiver, $name, value) { - return receiver.setRequestHeader(A._asString($name), A._asString(value)); - }, $isHttpRequest: 1 }; A.HttpRequest_getString_closure.prototype = { @@ -57436,7 +57441,7 @@ t1.toString; return t1; }, - $signature: 240 + $signature: 237 }; A.HttpRequest_request_closure.prototype = { call$1(e) { @@ -57454,7 +57459,7 @@ else t3.completeError$1(e); }, - $signature: 51 + $signature: 56 }; A.HttpRequestEventTarget.prototype = {}; A.IFrameElement.prototype = {$isIFrameElement: 1}; @@ -57644,13 +57649,13 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 34 + $signature: 35 }; A.MidiInputMap_values_closure.prototype = { call$2(k, v) { return B.JSArray_methods.add$1(this.values, type$.Map_dynamic_dynamic._as(v)); }, - $signature: 34 + $signature: 35 }; A.MidiOutputMap.prototype = { containsKey$1(receiver, key) { @@ -57712,13 +57717,13 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 34 + $signature: 35 }; A.MidiOutputMap_values_closure.prototype = { call$2(k, v) { return B.JSArray_methods.add$1(this.values, type$.Map_dynamic_dynamic._as(v)); }, - $signature: 34 + $signature: 35 }; A.MimeType.prototype = {$isMimeType: 1}; A.MimeTypeArray.prototype = { @@ -57783,7 +57788,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -57881,11 +57885,11 @@ t2.appendChild(t1.get$current(t1)).toString; }, insert$2(_, index, node) { - var t1, t2, t3, _this = this; + var t1, t2, t3; 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; + if (index < 0 || index > this._this.childNodes.length) + throw A.wrapException(A.RangeError$range(index, 0, this.get$length(0), null, null)); + t1 = this._this; t2 = t1.childNodes; t3 = t2.length; if (index === t3) @@ -57915,7 +57919,7 @@ throw A.wrapException(A.UnsupportedError$("Cannot setAll on Node list")); }, removeLast$0(_) { - var result = this.get$last(this); + var result = this.get$last(0); this._this.removeChild(result).toString; return result; }, @@ -57964,16 +57968,16 @@ 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); + sort$0(_) { + return this.sort$1(0, null); }, setRange$4(_, start, end, iterable, skipCount) { A._asInt(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); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, get$length(_) { return this._this.childNodes.length; @@ -58010,7 +58014,7 @@ 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();) + for (t1 = J.get$iterator$ax(newNodes._source), t2 = A._instanceType(newNodes)._rest[1]; t1.moveNext$0();) this.insertBefore$2(receiver, t2._as(t1.get$current(t1)), child); }, _clearChildren$0(receiver) { @@ -58114,7 +58118,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58229,7 +58232,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58334,13 +58336,13 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 34 + $signature: 35 }; A.RtcStatsReport_values_closure.prototype = { call$2(k, v) { return B.JSArray_methods.add$1(this.values, type$.Map_dynamic_dynamic._as(v)); }, - $signature: 34 + $signature: 35 }; A.SelectElement.prototype = { get$length(receiver) { @@ -58418,7 +58420,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58487,7 +58488,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58560,13 +58560,13 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 74 + $signature: 99 }; A.Storage_values_closure.prototype = { call$2(k, v) { return B.JSArray_methods.add$1(this.values, v); }, - $signature: 74 + $signature: 99 }; A.StyleSheet.prototype = {$isStyleSheet: 1}; A.TemplateElement.prototype = {$isTemplateElement: 1}; @@ -58646,7 +58646,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58714,7 +58713,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58796,7 +58794,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58919,7 +58916,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -58939,32 +58935,29 @@ return "Rectangle (" + A.S(t1) + ", " + A.S(t2) + ") " + A.S(t3) + " x " + A.S(t4); }, $eq(receiver, other) { - var t1, t2; + var t1, t2, t3; if (other == null) return false; + t1 = 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; - if (t1 === t2.get$top(other)) { - t1 = receiver.width; - t1.toString; - if (t1 === t2.get$width(other)) { + t2 = receiver.left; + t2.toString; + t3 = J.getInterceptor$x(other); + if (t2 === t3.get$left(other)) { + t2 = receiver.top; + t2.toString; + if (t2 === t3.get$top(other)) { + t2 = receiver.width; + t2.toString; + if (t2 === t3.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; + t3 = t1 === t3.get$height(other); + t1 = t3; + } + } + } + } return t1; }, get$hashCode(receiver) { @@ -58977,7 +58970,7 @@ 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); + return A.Object_hash(t1, t2, t3, t4); }, get$_height(receiver) { return receiver.height; @@ -59044,7 +59037,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -59112,7 +59104,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -59180,7 +59171,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -59248,7 +59238,6 @@ return A.ioore(receiver, index); return receiver[index]; }, - $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isJavaScriptIndexingBehavior: 1, $isIterable: 1, @@ -59261,7 +59250,7 @@ }, 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) { + for (t1 = this.get$keys(0), 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); @@ -59270,7 +59259,7 @@ forEach$1(_, f) { var t1, t2, t3, _i, t4, value; 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) { + for (t1 = this.get$keys(0), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { t4 = A._asString(t1[_i]); value = t3.getAttribute(t4); f.call$2(t4, value == null ? A._asString(value) : value); @@ -59311,10 +59300,10 @@ return values; }, get$isEmpty(_) { - return this.get$keys(this).length === 0; + return this.get$keys(0).length === 0; }, get$isNotEmpty(_) { - return this.get$keys(this).length !== 0; + return this.get$keys(0).length !== 0; } }; A._ElementAttributeMap.prototype = { @@ -59345,7 +59334,7 @@ return t1; }, get$length(_) { - return this.get$keys(this).length; + return this.get$keys(0).length; } }; A._ElementCssClassSet.prototype = { @@ -59439,7 +59428,7 @@ 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); + t1 = A._wrapZone(new A._EventStreamSubscription_onData_closure0(handleData), type$.Event); _this.set$_onData(t1); _this._tryResume$0(); }, @@ -59476,28 +59465,29 @@ }, set$_onData(_onData) { this._onData = type$.nullable_dynamic_Function_Event._as(_onData); - } + }, + $isStreamSubscription: 1 }; A._EventStreamSubscription_closure.prototype = { call$1(e) { return this.onData.call$1(type$.Event._as(e)); }, - $signature: 19 + $signature: 18 }; - A._EventStreamSubscription_onData_closure.prototype = { + A._EventStreamSubscription_onData_closure0.prototype = { call$1(e) { return this.handleData.call$1(type$.Event._as(e)); }, - $signature: 19 + $signature: 18 }; A._Html5NodeValidator.prototype = { _Html5NodeValidator$1$uriPolicy(uriPolicy) { var _i; - if ($._Html5NodeValidator__attributeValidators._length === 0) { + if ($._Html5NodeValidator__attributeValidators.__js_helper$_length === 0) { for (_i = 0; _i < 262; ++_i) - $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_2Zi[_i], A.html__Html5NodeValidator__standardAttributeValidator$closure()); + $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_AOY[_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()); + $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_4Jt[_i], A.html__Html5NodeValidator__uriAttributeValidator$closure()); } }, allowsElement$1(element) { @@ -59529,8 +59519,8 @@ A.instanceType(receiver)._eval$1("int(ImmutableListMixin.E,ImmutableListMixin.E)?")._as(compare); throw A.wrapException(A.UnsupportedError$("Cannot sort immutable List.")); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(receiver) { + return this.sort$1(receiver, null); }, insert$2(receiver, index, element) { A.instanceType(receiver)._eval$1("ImmutableListMixin.E")._as(element); @@ -59562,8 +59552,8 @@ 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); + setRange$3(receiver, start, end, iterable) { + return this.setRange$4(receiver, start, end, iterable, 0); } }; A.NodeValidatorBuilder.prototype = { @@ -59582,13 +59572,13 @@ call$1(v) { return type$.NodeValidator._as(v).allowsElement$1(this.element); }, - $signature: 157 + $signature: 123 }; A.NodeValidatorBuilder_allowsAttribute_closure.prototype = { call$1(v) { return type$.NodeValidator._as(v).allowsAttribute$3(this.element, this.attributeName, this.value); }, - $signature: 157 + $signature: 123 }; A._SimpleNodeValidator.prototype = { _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { @@ -59633,15 +59623,15 @@ }; A._SimpleNodeValidator_closure.prototype = { call$1(x) { - return !B.JSArray_methods.contains$1(B.List_yrN, A._asString(x)); + return !B.JSArray_methods.contains$1(B.List_4Jt, A._asString(x)); }, - $signature: 26 + $signature: 29 }; A._SimpleNodeValidator_closure0.prototype = { call$1(x) { - return B.JSArray_methods.contains$1(B.List_yrN, A._asString(x)); + return B.JSArray_methods.contains$1(B.List_4Jt, A._asString(x)); }, - $signature: 26 + $signature: 29 }; A._TemplatingNodeValidator.prototype = { allowsAttribute$3(element, attributeName, value) { @@ -59664,7 +59654,7 @@ moveNext$0() { var _this = this, nextPosition = _this._position + 1, - t1 = _this._html$_length; + t1 = _this._length; if (nextPosition < t1) { _this.set$_current(J.$index$asx(_this._array, nextPosition)); _this._position = nextPosition; @@ -59684,9 +59674,13 @@ $isIterator: 1 }; A._DOMWindowCrossFrame.prototype = { + get$_window() { + return this.__window; + }, postMessage$2(_, message, targetOrigin) { - this._window.postMessage(new A._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); + this.get$_window().postMessage(new A._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); }, + $isJSObject: 1, $isEventTarget: 1, $isWindowBase: 1 }; @@ -59736,6 +59730,7 @@ stopPropagation$0(_) { J.stopPropagation$0$x(this.wrapped); }, + $isJSObject: 1, $isEvent: 1 }; A._TrustedHtmlTreeSanitizer.prototype = { @@ -59769,23 +59764,30 @@ isAttr = attrs._html$_element.getAttribute("is"); type$.Element._as(element); t1 = function(element) { - if (!(element.attributes instanceof NamedNodeMap)) + 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") + } + 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]) + if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) { return true; - if (element.children) - if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) + } + if (element.children) { + if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) { return true; + } + } var length = 0; - if (element.children) + 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") + 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); @@ -59807,6 +59809,7 @@ } catch (exception) { } try { + type$.Element._as(element); elementTagName = A.Element__safeTagName(element); this._sanitizeElement$7(element, $parent, corrupted, elementText, elementTagName, type$.Map_dynamic_dynamic._as(attrs), A._asStringQ(isAttr)); } catch (exception) { @@ -59854,9 +59857,9 @@ window.console.warn("Removing disallowed type extension <" + tag + ' is="' + isAttr + '">'); return; } - t1 = attrs.get$keys(attrs); + t1 = attrs.get$keys(0); 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 <" + tag + " "; i >= 0; --i) { + for (i = attrs.get$keys(0).length - 1, t1 = attrs._html$_element, t2 = "Removing disallowed attribute <" + tag + " "; i >= 0; --i) { if (!(i < keys.length)) return A.ioore(keys, i); $name = keys[i]; @@ -59879,17 +59882,12 @@ _this.sanitizeTree$1(t1); } }, - $isNodeTreeSanitizer: 1 - }; - A._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { - call$2(node, $parent) { - var child, nextChild, t3, t4, exception, - t1 = this.$this, - t2 = node.nodeType; - t2.toString; - switch (t2) { + sanitizeNode$2(node, $parent) { + var t1 = node.nodeType; + t1.toString; + switch (t1) { case 1: - t1._sanitizeUntrustedElement$2(node, $parent); + this._sanitizeUntrustedElement$2(node, $parent); break; case 8: case 11: @@ -59897,8 +59895,16 @@ case 4: break; default: - t1._removeNode$2(node, $parent); + this._removeNode$2(node, $parent); } + }, + $isNodeTreeSanitizer: 1 + }; + A._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { + call$2(node, $parent) { + var child, nextChild, t2, t3, t4, exception, + t1 = this.$this; + t1.sanitizeNode$2(node, $parent); child = node.lastChild; for (t2 = type$.Node; child != null;) { nextChild = null; @@ -59932,7 +59938,7 @@ child = nextChild; } }, - $signature: 273 + $signature: 271 }; A._CssStyleDeclaration_JavaScriptObject_CssStyleDeclarationBase.prototype = {}; A._DomRectList_JavaScriptObject_ListMixin.prototype = {}; @@ -59997,7 +60003,7 @@ return e; if (e instanceof A.DateTime) return new Date(e._core$_value); - if (type$.RegExp._is(e)) + if (e instanceof A.JSSyntaxRegExp) throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); if (type$.File._is(e)) return e; @@ -60066,13 +60072,13 @@ call$2(key, value) { this._box_0.copy[key] = this.$this.walk$1(value); }, - $signature: 42 + $signature: 43 }; A._StructuredClone_walk_closure0.prototype = { call$2(key, value) { this._box_0.copy[key] = this.$this.walk$1(value); }, - $signature: 156 + $signature: 160 }; A._AcceptStructuredClone.prototype = { findSlot$1(value) { @@ -60101,7 +60107,7 @@ if (t1) { t1 = e.getTime(); t1.toString; - return A.DateTime$fromMillisecondsSinceEpoch(t1, true); + return new A.DateTime(A.DateTime__validate(t1, 0, true), 0, true); } t1 = e instanceof RegExp; t1.toString; @@ -60163,19 +60169,19 @@ this.map.$indexSet(0, key, t1); return t1; }, - $signature: 280 + $signature: 278 }; A._convertDartToNative_Value_closure.prototype = { call$1(element) { this.array.push(A._convertDartToNative_Value(element)); }, - $signature: 31 + $signature: 34 }; A.convertDartToNative_Dictionary_closure.prototype = { call$2(key, value) { this.object[key] = A._convertDartToNative_Value(value); }, - $signature: 42 + $signature: 43 }; A._StructuredCloneDart2Js.prototype = { forEachObjectKey$2(object, action) { @@ -60201,8 +60207,8 @@ _validateToken$1(value) { var t1; A._asString(value); - t1 = $.$get$CssClassSetImpl__validTokenRE()._nativeRegExp; - if (t1.test(value)) + t1 = $.$get$CssClassSetImpl__validTokenRE(); + if (t1._nativeRegExp.test(value)) return value; throw A.wrapException(A.ArgumentError$value(value, "value", "Not a valid class token")); }, @@ -60222,10 +60228,24 @@ $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>")); + return new A.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetBase.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); + }, + where$1(_, f) { + var t1, t2; + type$.bool_Function_String._as(f); + t1 = this.readClasses$0(); + t2 = A._instanceType(t1); + return new A.WhereIterable(t1, t2._eval$1("bool(SetBase.E)")._as(f), t2._eval$1("WhereIterable")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + expand$1$1(_, f, $T) { + var t1, t2; + $T._eval$1("Iterable<0>(String)")._as(f); + t1 = this.readClasses$0(); + t2 = A._instanceType(t1); + return new A.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(SetBase.E)")._as(f), t2._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, get$isEmpty(_) { return this.readClasses$0()._collection$_length === 0; @@ -60263,34 +60283,28 @@ this.modify$1(0, new A.CssClassSetImpl_removeAll_closure(iterable)); }, get$first(_) { - var t1 = this.readClasses$0(); - return t1.get$first(t1); + return this.readClasses$0().get$first(0); }, get$last(_) { - var t1 = this.readClasses$0(); - return t1.get$last(t1); + return this.readClasses$0().get$last(0); }, get$single(_) { - var t1 = this.readClasses$0(); - return t1.get$single(t1); + return this.readClasses$0().get$single(0); }, toList$1$growable(_, growable) { var t1 = this.readClasses$0(); - return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetMixin.E")); - }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetBase.E")); }, 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")); + return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, skip$1(_, n) { var t1 = this.readClasses$0(); - return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); + return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, elementAt$1(_, index) { return this.readClasses$0().elementAt$1(0, index); @@ -60308,19 +60322,19 @@ call$1(s) { return type$.Set_String._as(s).add$1(0, this.value); }, - $signature: 281 + $signature: 279 }; A.CssClassSetImpl_removeAll_closure.prototype = { call$1(s) { return type$.Set_String._as(s).removeAll$1(this.iterable); }, - $signature: 317 + $signature: 314 }; 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")); + return new A.MappedIterable(new A.WhereIterable(t1, t2._eval$1("bool(ListBase.E)")._as(new A.FilteredElementList__iterable_closure()), t2._eval$1("WhereIterable")), t2._eval$1("Element(ListBase.E)")._as(new A.FilteredElementList__iterable_closure0()), t2._eval$1("MappedIterable")); }, forEach$1(_, f) { type$.void_Function_Element._as(f); @@ -60334,12 +60348,12 @@ J.replaceWith$1$x(t1._f.call$1(J.elementAt$1$ax(t1.__internal$_iterable, index)), value); }, set$length(_, newLength) { - var t1 = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); - if (newLength >= t1) + var len = J.get$length$asx(this.get$_html_common$_iterable().__internal$_iterable); + if (newLength >= len) return; else if (newLength < 0) throw A.wrapException(A.ArgumentError$("Invalid list length", null)); - this.removeRange$2(0, newLength, t1); + this.removeRange$2(0, newLength, len); }, add$1(_, value) { this._childNodes._this.appendChild(type$.Element._as(value)).toString; @@ -60358,16 +60372,16 @@ type$.nullable_int_Function_Element_Element._as(compare); throw A.wrapException(A.UnsupportedError$("Cannot sort filtered list")); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, setRange$4(_, start, end, iterable, skipCount) { A._asInt(end); type$.Iterable_Element._as(iterable); throw A.wrapException(A.UnsupportedError$("Cannot setRange on filtered list")); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, removeRange$2(_, start, end) { var t1 = this.get$_html_common$_iterable(); @@ -60433,19 +60447,19 @@ call$1(n) { return type$.Element._is(type$.Node._as(n)); }, - $signature: 158 + $signature: 157 }; A.FilteredElementList__iterable_closure0.prototype = { call$1(n) { return type$.Element._as(type$.Node._as(n)); }, - $signature: 391 + $signature: 387 }; A.FilteredElementList_removeRange_closure.prototype = { call$1(el) { return J.remove$0$ax(type$.Element._as(el)); }, - $signature: 44 + $signature: 46 }; A.Cursor.prototype = {}; A.CursorWithValue.prototype = { @@ -60457,7 +60471,7 @@ call$1(e) { this.completer.complete$1(0, this.T._as(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(this.request.result, false))); }, - $signature: 19 + $signature: 18 }; A.KeyRange.prototype = {$isKeyRange: 1}; A.ObjectStore.prototype = { @@ -60483,8 +60497,8 @@ t1.toString; return t1; }, - _indexed_db$_add$1($receiver, value) { - return this._indexed_db$_add$2($receiver, value, null); + _indexed_db$_add$1(receiver, value) { + return this._indexed_db$_add$2(receiver, value, null); } }; A.Observation.prototype = { @@ -60524,42 +60538,42 @@ call$1(o) { return new A.JsFunction(o == null ? type$.Object._as(o) : o); }, - $signature: 624 + $signature: 621 }; A._wrapToDart_closure0.prototype = { call$1(o) { var t1 = o == null ? type$.Object._as(o) : o; return new A.JsArray(t1, type$.JsArray_dynamic); }, - $signature: 190 + $signature: 188 }; A._wrapToDart_closure1.prototype = { call$1(o) { return new A.JsObject(o == null ? type$.Object._as(o) : o); }, - $signature: 211 + $signature: 209 }; A.JsObject.prototype = { $index(_, property) { type$.Object._as(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]); + return A._convertToDart(this._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); + this._jsObject[property] = A._convertToJS(value); }, $eq(_, other) { if (other == null) return false; - return other instanceof A.JsObject && this._js$_jsObject === other._js$_jsObject; + return other instanceof A.JsObject && this._jsObject === other._jsObject; }, toString$0(_) { var t1, exception; try { - t1 = String(this._js$_jsObject); + t1 = String(this._jsObject); return t1; } catch (exception) { t1 = this.super$Object$toString(0); @@ -60568,7 +60582,7 @@ }, callMethod$2(method, args) { var t2, - t1 = this._js$_jsObject; + t1 = this._jsObject; if (args == null) t2 = null; else { @@ -60587,10 +60601,9 @@ A.JsFunction.prototype = {}; A.JsArray.prototype = { _checkIndex$1(index) { - var _this = this, - t1 = index < 0 || index >= _this.get$length(_this); + var t1 = index < 0 || index >= this.get$length(0); if (t1) - throw A.wrapException(A.RangeError$range(index, 0, _this.get$length(_this), null, null)); + throw A.wrapException(A.RangeError$range(index, 0, this.get$length(0), null, null)); }, $index(_, index) { type$.Object._as(index); @@ -60604,7 +60617,7 @@ this.super$_JsArray_JsObject_ListMixin$$indexSet(0, index, value); }, get$length(_) { - var len = this._js$_jsObject.length; + var len = this._jsObject.length; if (typeof len === "number" && len >>> 0 === len) return len; throw A.wrapException(A.StateError$("Bad JsArray length")); @@ -60622,9 +60635,9 @@ insert$2(_, index, element) { var t1, _this = this; _this.$ti._precomputed1._as(element); - t1 = index < 0 || index >= _this.get$length(_this) + 1; + t1 = index < 0 || index >= _this.get$length(0) + 1; if (t1) - A.throwExpression(A.RangeError$range(index, 0, _this.get$length(_this), null, null)); + A.throwExpression(A.RangeError$range(index, 0, _this.get$length(0), null, null)); _this.callMethod$2("splice", [index, 0, element]); }, removeAt$1(_, index) { @@ -60632,16 +60645,15 @@ 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) + if (this.get$length(0) === 0) throw A.wrapException(A.RangeError$(-1)); - return _this.$ti._precomputed1._as(_this.callMethod$1("pop")); + return this.$ti._precomputed1._as(this.callMethod$1("pop")); }, setRange$4(_, start, end, iterable, skipCount) { - var $length, args, _this = this; + var $length, args; A._asInt(end); - _this.$ti._eval$1("Iterable<1>")._as(iterable); - A.JsArray__checkRange(start, end, _this.get$length(_this)); + this.$ti._eval$1("Iterable<1>")._as(iterable); + A.JsArray__checkRange(start, end, this.get$length(0)); $length = end - start; if ($length === 0) return; @@ -60649,17 +60661,17 @@ 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); + this.callMethod$2("splice", args); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, sort$1(_, compare) { this.$ti._eval$1("int(1,1)?")._as(compare); this.callMethod$2("sort", compare == null ? [] : [compare]); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, $isEfficientLengthIterable: 1, $isIterable: 1, @@ -60674,7 +60686,7 @@ call$1(r) { return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); }, - $signature: 31 + $signature: 34 }; A.promiseToFuture_closure0.prototype = { call$1(e) { @@ -60682,7 +60694,7 @@ return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); return this.completer.completeError$1(e); }, - $signature: 31 + $signature: 34 }; A.NullRejectionException.prototype = { toString$0(_) { @@ -60752,20 +60764,18 @@ var t1, t2, t3, t4, _this = this; if (other == null) return false; + t1 = 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)) { - t4 = _this.$ti._precomputed1; - t1 = t4._as(t1 + _this.width) === t2.get$right(other) && t4._as(t3 + _this.height) === t2.get$bottom(other); - } else - t1 = false; - } else - t1 = false; - } else - t1 = false; + t2 = _this.left; + t3 = J.getInterceptor$x(other); + if (t2 === t3.get$left(other)) { + t4 = _this.top; + if (t4 === t3.get$top(other)) { + t1 = _this.$ti._precomputed1; + t1 = t1._as(t2 + _this.width) === t3.get$right(other) && t1._as(t4 + _this.height) === t3.get$bottom(other); + } + } + } return t1; }, get$hashCode(_) { @@ -60847,7 +60857,7 @@ type$.Length._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length(receiver, value) { + set$length(receiver, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { @@ -60922,7 +60932,7 @@ type$.Number._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length(receiver, value) { + set$length(receiver, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { @@ -61004,7 +61014,7 @@ A._asString(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length(receiver, value) { + set$length(receiver, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { @@ -61126,7 +61136,7 @@ type$.Transform._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, - set$length(receiver, value) { + set$length(receiver, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize immutable List.")); }, get$first(receiver) { @@ -61176,90 +61186,7 @@ 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)); - }, - asUint8List$0($receiver) { - return this.asUint8List$2($receiver, 0, null); - }, - asByteData$2(_, offsetInBytes, $length) { - return new A._UnmodifiableByteDataView(A.NativeByteData_NativeByteData$view(this._typed_data$_data, offsetInBytes, $length)); - }, - $isByteBuffer: 1 - }; - A._UnmodifiableByteDataView.prototype = { - getUint32$2(_, byteOffset, endian) { - return B.NativeByteData_methods._getUint32$2(this._typed_data$_data, byteOffset, B.C_Endian === endian); - }, - get$offsetInBytes(_) { - return this._typed_data$_data.byteOffset; - }, - get$lengthInBytes(_) { - return this._typed_data$_data.byteLength; - }, - get$buffer(_) { - return new A._UnmodifiableByteBufferView(this._typed_data$_data.buffer); - }, - $isTypedData: 1, - $isByteData: 1 - }; - A._UnmodifiableListMixin.prototype = { - get$length(_) { - return this.get$_typed_data$_list().length; - }, - $index(_, index) { - var t1; - A._asInt(index); - t1 = this.get$_typed_data$_list(); - if (!(index >= 0 && index < t1.length)) - return A.ioore(t1, index); - return t1[index]; - }, - get$offsetInBytes(_) { - return A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteOffset; - }, - get$lengthInBytes(_) { - return A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).byteLength; - }, - get$buffer(_) { - return new A._UnmodifiableByteBufferView(A._instanceType(this)._eval$1("_UnmodifiableListMixin.2")._as(this.get$_typed_data$_list()).buffer); - }, - sublist$2(_, start, end) { - var sublistLength, result; - end.toString; - sublistLength = A.RangeError_checkValidRange(start, end, this.get$_typed_data$_list().length) - start; - result = this._createList$1(sublistLength); - J.setRange$4$ax(result, 0, sublistLength, this.get$_typed_data$_list(), start); - return result; - }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); - } - }; - A._UnmodifiableUint8ListView.prototype = { - _createList$1($length) { - return new Uint8Array($length); - }, - $isTypedData: 1, - $isUint8List: 1, - get$_typed_data$_list() { - return this._typed_data$_list; - } - }; - A._UnmodifiableInt32ListView.prototype = { - _createList$1($length) { - return new Int32Array($length); - }, - $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; @@ -61334,13 +61261,13 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 34 + $signature: 35 }; A.AudioParamMap_values_closure.prototype = { call$2(k, v) { return B.JSArray_methods.add$1(this.values, type$.Map_dynamic_dynamic._as(v)); }, - $signature: 34 + $signature: 35 }; A.AudioScheduledSourceNode.prototype = {}; A.AudioTrackList.prototype = { @@ -61384,6 +61311,20 @@ return A.ioore(t1, index); return t1[index]; }, + $indexSet(_, index, file) { + var t1, t2; + A._asInt(index); + type$.ArchiveFile._as(file); + if (index < 0 || index >= this._files.length) + return; + t1 = this._fileMap; + t2 = this._files; + if (!(index >= 0 && index < t2.length)) + return A.ioore(t2, index); + t1.remove$1(0, t2[index].name); + B.JSArray_methods.$indexSet(t2, index, file); + t1.$indexSet(0, file.get$name(file), index); + }, findFile$1($name) { var t1, index = this._fileMap.$index(0, $name); @@ -61415,42 +61356,37 @@ }; A.ArchiveFile.prototype = { ArchiveFile$4($name, size, $content, _compressionType) { - var t2, _this = this, + var t2, _this = this, _null = null, t1 = _this.name; _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); + _this._rawContent = A.InputStream$($content, 0, _null, 0); + if (_this.size <= 0) + _this.size = $content.length; } else if (type$.TypedData._is($content)) { - t2 = J.asUint8List$2$x(J.get$buffer$x($content), 0, null); + t2 = A.NativeUint8List_NativeUint8List$view($content.buffer, 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)); + _this._rawContent = A.InputStream$(t2, 0, _null, 0); + if (_this.size <= 0) + _this.size = t1._as(_this._archive_file$_content).length; } 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.set$size(0, J.get$length$asx($content)); - } else if ($content instanceof A.FileContent) + _this._rawContent = A.InputStream$($content, 0, _null, 0); + if (_this.size <= 0) + _this.size = $content.length; + } else if ($content instanceof A.ZipFile) { + t1 = $content.__ZipFile__rawContent_A; + t1 === $ && A.throwLateFieldNI("_rawContent"); + _this._rawContent = t1; _this._archive_file$_content = $content; + } }, 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) + if ((t1 instanceof A.ZipFile ? _this._archive_file$_content = t1.get$content(0) : t1) == null) _this.decompress$0(); return _this._archive_file$_content; }, @@ -61459,7 +61395,7 @@ 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)); + _this._archive_file$_content = type$.List_int._as(A.NativeUint8List_NativeUint8List$view(t1._output_stream$_buffer.buffer, 0, t1.length)); } else _this._archive_file$_content = _this._rawContent.toUint8List$0(); _this._compressionType = 0; @@ -61467,9 +61403,6 @@ }, toString$0(_) { return this.name; - }, - set$size(_, size) { - this.size = A._asInt(size); } }; A.Bz2BitReader.prototype = { @@ -61485,11 +61418,15 @@ 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); - value = t3 + (t4 & B.List_knt[t2]); + return A.ioore(B.List_Sry, t2); + value = t3 + (t4 & B.List_Sry[t2]); numBits -= t2; _this._bitPos = 8; - _this._bz2_bit_reader$_bitBuffer = J.$index$asx(t1.buffer, t1.offset++); + t2 = t1.buffer; + t4 = t1.offset++; + if (!(t4 >= 0 && t4 < t2.length)) + return A.ioore(t2, t4); + _this._bz2_bit_reader$_bitBuffer = t2[t4]; } if (numBits > 0) { if (t2 === 0) { @@ -61501,8 +61438,8 @@ t3 = _this._bitPos - numBits; t2 = B.JSInt_methods.$shr(t2, t3); if (!(numBits < 9)) - return A.ioore(B.List_knt, numBits); - value = t1 + (t2 & B.List_knt[numBits]); + return A.ioore(B.List_Sry, numBits); + value = t1 + (t2 & B.List_Sry[numBits]); _this._bitPos = t3; } return value; @@ -61541,9 +61478,9 @@ 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]) + if (b !== B.List_SMJ[i]) compressed = false; - if (b !== B.List_ww80[i]) + if (b !== B.List_SMJ0[i]) eos = false; if (!eos && !compressed) throw A.wrapException(A.ArchiveException$("Invalid Block Signature")); @@ -61551,7 +61488,7 @@ return compressed ? 0 : 2; }, _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, + var i, k, j, t1, t2, t3, alphaSize, numGroups, pos, v, tmp, v0, t, c, minLen, maxLen, minLen0, 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", @@ -61637,7 +61574,10 @@ t1 = _this.__BZip2Decoder__len_A; if (!(t < 6)) return A.ioore(t1, t); - J.$indexSet$ax(t1[t], i, c); + t1 = t1[t]; + if (!(i < t1.length)) + return A.ioore(t1, i); + t1[i] = c; } } t1 = $.$get$BZip2_emptyInt32List(); @@ -61657,25 +61597,27 @@ 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; + for (t1 = _this.__BZip2Decoder__len_A, minLen = 32, maxLen = 0, i = 0; i < alphaSize; ++i) { 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); + t2 = t1[t]; + if (!(i < t2.length)) + return A.ioore(t2, i); + minLen0 = t2[i]; + if (minLen0 > maxLen) + maxLen = minLen0; + if (minLen0 < minLen) + minLen = minLen0; } - t1 = _this.__BZip2Decoder__limit_A; + t2 = _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); + return A.ioore(t2, t); + t2 = t2[t]; + t3 = _this.__BZip2Decoder__base_A[t]; + t4 = _this.__BZip2Decoder__perm_A[t]; + t1 === $ && A.throwLateFieldNI(_s4_); + _this._hbCreateDecodeTables$7(t2, t3, t4, t1[t], minLen, maxLen, alphaSize); _this.__BZip2Decoder__minLens_A[t] = minLen; } eob = _this._numInUse + 1; @@ -61922,16 +61864,17 @@ rTPos = 0; } sSaveNBlockPP = nblock + 1; + blockCrc = _4294967295; if (t3) - for (blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = k0, k0 = k00) { + for (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; + return A.ioore(B.List_GZ8, t2); + blockCrc = (blockCrc << 8 ^ B.List_GZ8[t2]) >>> 0; --cStateOutLen; } if (cNBlockUsed === sSaveNBlockPP) @@ -61946,8 +61889,8 @@ tPos0 = tPos >>> 8; if (rNToGo === 0) { if (!(rTPos < 512)) - return A.ioore(B.List_Ewu, rTPos); - rNToGo = B.List_Ewu[rTPos]; + return A.ioore(B.List_Cxl, rTPos); + rNToGo = B.List_Cxl[rTPos]; ++rTPos; if (rTPos === 512) rTPos = 0; @@ -61956,16 +61899,15 @@ t3 = rNToGo === 1 ? 1 : 0; k1 = tPos & 255 ^ t3; ++cNBlockUsed; + cStateOutLen = 1; if (cNBlockUsed === sSaveNBlockPP) { k00 = k0; tPos = tPos0; - cStateOutLen = 1; continue; } if (k1 !== k0) { k00 = k1; tPos = tPos0; - cStateOutLen = 1; continue; } if (!(tPos0 < t2)) @@ -61974,8 +61916,8 @@ tPos0 = tPos >>> 8; if (rNToGo === 0) { if (!(rTPos < 512)) - return A.ioore(B.List_Ewu, rTPos); - rNToGo = B.List_Ewu[rTPos]; + return A.ioore(B.List_Cxl, rTPos); + rNToGo = B.List_Cxl[rTPos]; ++rTPos; if (rTPos === 512) rTPos = 0; @@ -62001,8 +61943,8 @@ tPos0 = tPos >>> 8; if (rNToGo === 0) { if (!(rTPos < 512)) - return A.ioore(B.List_Ewu, rTPos); - rNToGo = B.List_Ewu[rTPos]; + return A.ioore(B.List_Cxl, rTPos); + rNToGo = B.List_Cxl[rTPos]; ++rTPos; if (rTPos === 512) rTPos = 0; @@ -62028,8 +61970,8 @@ tPos0 = tPos >>> 8; if (rNToGo === 0) { if (!(rTPos < 512)) - return A.ioore(B.List_Ewu, rTPos); - rNToGo = B.List_Ewu[rTPos]; + return A.ioore(B.List_Cxl, rTPos); + rNToGo = B.List_Cxl[rTPos]; ++rTPos; if (rTPos === 512) rTPos = 0; @@ -62042,8 +61984,8 @@ tPos0 = tPos >>> 8; if (rNToGo === 0) { if (!(rTPos < 512)) - return A.ioore(B.List_Ewu, rTPos); - rNToGo = B.List_Ewu[rTPos]; + return A.ioore(B.List_Cxl, rTPos); + rNToGo = B.List_Cxl[rTPos]; ++rTPos; if (rTPos === 512) rTPos = 0; @@ -62054,7 +61996,7 @@ tPos = tPos0; } else - for (cK0 = k0, blockCrc = _4294967295, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = cK0, cK0 = cK00) { + for (cK0 = k0, cStateOutLen = 0, cStateOutCh = 0, cNBlockUsed = 1; true; cStateOutCh = cK0, cK0 = cK00) { if (cStateOutLen > 0) { for (t1 = cStateOutCh & 255; true;) { if (cStateOutLen === 1) @@ -62062,15 +62004,15 @@ 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]; + return A.ioore(B.List_GZ8, t2); + blockCrc = blockCrc << 8 ^ B.List_GZ8[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; + return A.ioore(B.List_GZ8, t1); + blockCrc = (blockCrc << 8 ^ B.List_GZ8[t1]) >>> 0; } if (cNBlockUsed > sSaveNBlockPP) throw A.wrapException(A.ArchiveException$(_s10_)); @@ -62087,24 +62029,23 @@ k1 = tPos & 255; tPos = tPos >>> 8; ++cNBlockUsed; + cStateOutLen = 0; 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; + return A.ioore(B.List_GZ8, t1); + blockCrc = (blockCrc << 8 ^ B.List_GZ8[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; + return A.ioore(B.List_GZ8, t1); + blockCrc = (blockCrc << 8 ^ B.List_GZ8[t1]) >>> 0; cK00 = cK0; - cStateOutLen = 0; continue; } if (tPos >= t1) @@ -62162,7 +62103,7 @@ return blockCrc; }, _getMtfVal$1(br) { - var t2, t3, t4, zn, zvec, _this = this, + var t2, t3, zn, zvec, _this = this, _s10_ = "Data error", t1 = _this._groupPos; if (t1 === 0) { @@ -62185,14 +62126,13 @@ _this._gMinlen = t3[t1]; t3 = _this.__BZip2Decoder__limit_A; t3 === $ && A.throwLateFieldNI("_limit"); - t4 = type$.Int32List; - _this.__BZip2Decoder__gLimit_A = t4._as(t3[t1]); + _this.__BZip2Decoder__gLimit_A = t3[t1]; t3 = _this.__BZip2Decoder__perm_A; t3 === $ && A.throwLateFieldNI("_perm"); - _this.__BZip2Decoder__gPerm_A = t4._as(t3[t1]); + _this.__BZip2Decoder__gPerm_A = t3[t1]; t3 = _this.__BZip2Decoder__base_A; t3 === $ && A.throwLateFieldNI("_base"); - _this.__BZip2Decoder__gBase_A = t4._as(t3[t1]); + _this.__BZip2Decoder__gBase_A = t3[t1]; t1 = t2; } _this._groupPos = t1 - 1; @@ -62203,45 +62143,88 @@ throw A.wrapException(A.ArchiveException$(_s10_)); t1 = _this.__BZip2Decoder__gLimit_A; t1 === $ && A.throwLateFieldNI("_gLimit"); - if (zvec <= J.$index$asx(t1, zn)) + if (!(zn >= 0 && zn < t1.length)) + return A.ioore(t1, zn); + if (zvec <= 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) + if (!(zn >= 0 && zn < t1.length)) + return A.ioore(t1, zn); + t1 = zvec - t1[zn]; + if (t1 < 0 || t1 >= 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)); + t2 = _this.__BZip2Decoder__gPerm_A; + t2 === $ && A.throwLateFieldNI("_gPerm"); + if (!(t1 >= 0 && t1 < t2.length)) + return A.ioore(t2, t1); + return t2[t1]; }, _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); + for (t1 = $length.length, t2 = perm.length, i = minLen, pp = 0; i <= maxLen; ++i) + for (j = 0; j < alphaSize; ++j) { + if (!(j < t1)) + return A.ioore($length, j); + if ($length[j] === i) { + if (!(pp >= 0 && pp < t2)) + return A.ioore(perm, pp); + perm[pp] = j; ++pp; } - for (t2 = J.getInterceptor$asx(base), i = 0; i < 23; ++i) - t2.$indexSet(base, i, 0); + } + for (t2 = base.length, i = 0; i < 23; ++i) { + if (!(i < t2)) + return A.ioore(base, i); + base[i] = 0; + } for (i = 0; i < alphaSize; ++i) { - t3 = t1.$index($length, i) + 1; - t2.$indexSet(base, t3, t2.$index(base, t3) + 1); + if (!(i < t1)) + return A.ioore($length, i); + t3 = $length[i] + 1; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(base, t3); + base[t3] = base[t3] + 1; + } + for (i = 1; i < 23; ++i) { + if (!(i < t2)) + return A.ioore(base, i); + t1 = base[i]; + t3 = i - 1; + if (!(t3 < t2)) + return A.ioore(base, t3); + base[i] = t1 + base[t3]; + } + for (t1 = limit.length, i = 0; i < 23; ++i) { + if (!(i < t1)) + return A.ioore(limit, i); + limit[i] = 0; } - 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); + if (!(i0 >= 0 && i0 < t2)) + return A.ioore(base, i0); + t3 = base[i0]; + if (!(i >= 0 && i < t2)) + return A.ioore(base, i); + vec += t3 - base[i]; + if (!(i < t1)) + return A.ioore(limit, i); + 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)); + for (i = minLen + 1; i <= maxLen; ++i) { + t3 = i - 1; + if (!(t3 >= 0 && t3 < t1)) + return A.ioore(limit, t3); + t3 = limit[t3]; + if (!(i >= 0 && i < t2)) + return A.ioore(base, i); + base[i] = (t3 + 1 << 1 >>> 0) - base[i]; + } }, _makeMaps$0() { var i, t1, t2, _this = this; @@ -62275,36 +62258,41 @@ A.FileContent.prototype = {}; A.Aes.prototype = { processData$3(buff, start, len) { - var t2, t3, t4, t5, j, j0, loopCount, t6, t7, k, _this = this, + var t2, t3, t4, t5, j, j0, loopCount, t6, t7, t8, k, _this = this, _s7_ = "_macGen", + _s11_ = "_workingKey", 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) { + for (t2 = start + len, t3 = buff.length, 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")); if (16 > t5.byteLength) A.throwExpression(A.ArgumentError$("Input buffer too short", null)); if (16 > t4.byteLength) 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); + t7 = t6._forEncryption; + t8 = t6.__AESEngine__workingKey_A; + if (t7) { + t8 === $ && A.throwLateFieldNI(_s11_); + t6._encryptBlock$5(t5, 0, t4, 0, t8); + } else { + t8 === $ && A.throwLateFieldNI(_s11_); + t6._decryptBlock$5(t5, 0, t4, 0, t8); + } for (k = 0; k < loopCount; ++k) { t6 = j + k; - t7 = t3.$index(buff, t6); + if (!(t6 < t3)) + return A.ioore(buff, t6); + t7 = buff[t6]; if (!(k < 16)) return A.ioore(t4, k); - t3.$indexSet(buff, t6, (t7 ^ t4[k]) >>> 0); + buff[t6] = t7 ^ t4[k]; } ++_this.nonce; } @@ -62326,6 +62314,1131 @@ } }; A.ArchiveException.prototype = {}; + A.CipherParameters.prototype = {}; + A.Pbkdf2Parameters.prototype = {}; + A.BaseKeyDerivator.prototype = {}; + A.KeyParameter.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._encryption$_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._encryption$_f$5(t1.salt, t1.iterationCount, iBuf, outBytes, outPos); + outPos += t2; + } + B.NativeUint8List_methods.setRange$3(out, outOff, outOff + dkLen, outBytes); + return _this.__PBKDF2KeyDerivator__params_A.desiredKeyLength; + }, + _encryption$_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._encryption$_mac; + t2 = t1._digest; + t2.update$3(0, $S, 0, $S.length); + 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.BaseMac.prototype = {$isMac: 1}; + A.BaseDigest.prototype = {$isDigest: 1}; + A.Register64.prototype = { + $eq(_, other) { + var t1, t2, t3; + if (other == null) + return false; + t1 = false; + if (other instanceof A.Register64) { + t2 = this.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI("_hi32"); + t3 = other.__Register64__hi32_A; + t3 === $ && A.throwLateFieldNI("_hi32"); + if (t2 === t3) { + t1 = this.__Register64__lo32_A; + t1 === $ && A.throwLateFieldNI("_lo32"); + t2 = other.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + t2 = t1 === t2; + t1 = t2; + } + } + return t1; + }, + setInt$2(hiOrLo32OrY, lo32) { + this.__Register64__hi32_A = 0; + this.__Register64__lo32_A = hiOrLo32OrY; + }, + setInt$1(hiOrLo32OrY) { + return this.setInt$2(hiOrLo32OrY, null); + }, + 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; + } + }, + 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; + }, + _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$hashCode(_) { + var t2, + t1 = this.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + t2 = this.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + return A.Object_hash(t1, t2, B.C_SentinelValue, B.C_SentinelValue); + } + }; + A.MD4FamilyDigest.prototype = { + reset$0(_) { + var t1, _this = this; + _this._byteCount.setInt$1(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); + }, + 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); + }, + 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, + bitLength = A.Register64$(_this._byteCount), + t1 = bitLength.__Register64__hi32_A; + t1 === $ && A.throwLateFieldNI("_hi32"); + t1 = A.shiftl32(t1, 3); + bitLength.__Register64__hi32_A = t1; + t2 = bitLength.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + bitLength.__Register64__hi32_A = (t1 | t2 >>> 29) >>> 0; + bitLength.__Register64__lo32_A = A.shiftl32(t2, 3); + _this._processPadding$0(); + _this._processLength$1(bitLength); + _this._doProcessBlock$0(); + _this._packState$2(out, outOff); + _this.reset$0(0); + return 20; + }, + _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, B.NativeByteData_methods._getUint32$2(A.NativeByteData_NativeByteData$view(inp.buffer, inp.byteOffset, inp.length), inpOff, B.C_Endian === _this._endian)); + if (_this.__MD4FamilyDigest_bufferOffset_A === 16) + _this._doProcessBlock$0(); + }, + _doProcessBlock$0() { + this.processBlock$0(); + this.__MD4FamilyDigest_bufferOffset_A = 0; + B.JSArray_methods.fillRange$3(this.buffer, 0, 16, 0); + }, + _processBytes$3(inp, inpOff, len) { + var t1; + for (t1 = inp.length; len > 0;) { + if (!(inpOff < t1)) + return A.ioore(inp, inpOff); + this.updateByte$1(inp[inpOff]); + ++inpOff; + --len; + } + }, + _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 processed; + }, + _processUntilNextWord$3(inp, inpOff, len) { + var t2, + t1 = inp.length, + processed = 0; + while (true) { + t2 = this.__MD4FamilyDigest__wordBufferOffset_A; + t2 === $ && A.throwLateFieldNI("_wordBufferOffset"); + if (!(t2 !== 0 && len > 0)) + break; + if (!(inpOff < t1)) + return A.ioore(inp, inpOff); + this.updateByte$1(inp[inpOff]); + ++inpOff; + --len; + ++processed; + } + return processed; + }, + _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); + } + }, + _processLength$1(bitLength) { + var t2, _this = this, + 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("_lo32"); + B.JSArray_methods.$indexSet(t1, 14, t2); + t2 = bitLength.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI("_hi32"); + B.JSArray_methods.$indexSet(t1, 15, t2); + break; + case B.C_Endian0: + t1 = _this.buffer; + t2 = bitLength.__Register64__hi32_A; + t2 === $ && A.throwLateFieldNI("_hi32"); + B.JSArray_methods.$indexSet(t1, 14, t2); + t2 = bitLength.__Register64__lo32_A; + t2 === $ && A.throwLateFieldNI("_lo32"); + B.JSArray_methods.$indexSet(t1, 15, t2); + break; + default: + throw A.wrapException(A.StateError$("Invalid endianness: " + t1.toString$0(0))); + } + }, + _packState$2(out, outOff) { + var t1, t2, t3, t4, t5, i, t6, t7, t8; + for (t1 = this._packedStateSize, t2 = B.C_Endian === this._endian, t3 = this.state, t4 = t3.length, t5 = out.length, i = 0; i < t1; ++i) { + if (!(i < t4)) + return A.ioore(t3, i); + t6 = t3[i]; + t7 = out.buffer; + t8 = out.byteOffset; + t7 = new DataView(t7, t8, t5); + B.NativeByteData_methods._setUint32$3(t7, outOff + i * 4, t6, t2); + } + } + }; + 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 & $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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 = $._mask32HiBits[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.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); + }, + 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; + }, + _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; + } + } + }; + A.BaseBlockCipher.prototype = {}; + A.AESEngine.prototype = { + _subWord$1(x) { + return (B.List_9Wx[x & 255] & 255 | (B.List_9Wx[x >>> 8 & 255] & 255) << 8 | (B.List_9Wx[x >>> 16 & 255] & 255) << 16 | B.List_9Wx[x >>> 24 & 255] << 24) >>> 0; + }, + generateWorkingKey$2(forEncryption, params) { + var keyLen, kc, t2, _length, $W, i, bKey, col0, 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: + bKey = A.NativeByteData_NativeByteData$view(t1.buffer, t1.byteOffset, keyLen); + col0 = B.NativeByteData_methods._getUint32$2(bKey, 0, true); + t1 = $W.length; + if (0 >= t1) + return A.ioore($W, 0); + t2 = $W[0]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = B.NativeByteData_methods._getUint32$2(bKey, 4, true); + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = B.NativeByteData_methods._getUint32$2(bKey, 8, true); + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = B.NativeByteData_methods._getUint32$2(bKey, 12, true); + B.JSArray_methods.$indexSet(t2, 3, col3); + for (i = 1; i <= 10; ++i) { + col0 = (col0 ^ _this._subWord$1((col3 >>> 8 | (col3 & $._mask32HiBits[24]) << 24) >>> 0) ^ B.List_bh5[i - 1]) >>> 0; + if (!(i < t1)) + return A.ioore($W, i); + t2 = $W[i]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col3); + } + break; + case 6: + bKey = A.NativeByteData_NativeByteData$view(t1.buffer, t1.byteOffset, keyLen); + col0 = B.NativeByteData_methods._getUint32$2(bKey, 0, true); + t1 = $W.length; + if (0 >= t1) + return A.ioore($W, 0); + t2 = $W[0]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = B.NativeByteData_methods._getUint32$2(bKey, 4, true); + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = B.NativeByteData_methods._getUint32$2(bKey, 8, true); + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = B.NativeByteData_methods._getUint32$2(bKey, 12, true); + B.JSArray_methods.$indexSet(t2, 3, col3); + col4 = B.NativeByteData_methods._getUint32$2(bKey, 16, true); + col5 = B.NativeByteData_methods._getUint32$2(bKey, 20, true); + for (i = 1, rcon = 1; true;) { + if (!(i < t1)) + return A.ioore($W, i); + t2 = $W[i]; + B.JSArray_methods.$indexSet(t2, 0, col4); + B.JSArray_methods.$indexSet(t2, 1, col5); + rcon0 = rcon << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._mask32HiBits[24]) << 24) >>> 0) ^ rcon) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col1); + col2 = (col2 ^ col1) >>> 0; + t2 = i + 1; + if (!(t2 < t1)) + return A.ioore($W, t2); + t2 = $W[t2]; + B.JSArray_methods.$indexSet(t2, 0, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t2, 1, col3); + col4 = (col4 ^ col3) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col4); + col5 = (col5 ^ col4) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col5); + rcon = rcon0 << 1; + col0 = (col0 ^ _this._subWord$1((col5 >>> 8 | (col5 & $._mask32HiBits[24]) << 24) >>> 0) ^ rcon0) >>> 0; + t2 = i + 2; + if (!(t2 < t1)) + return A.ioore($W, t2); + t2 = $W[t2]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col3); + i += 3; + if (i >= 13) + break; + col4 = (col4 ^ col3) >>> 0; + col5 = (col5 ^ col4) >>> 0; + } + break; + case 8: + bKey = A.NativeByteData_NativeByteData$view(t1.buffer, t1.byteOffset, keyLen); + col0 = B.NativeByteData_methods._getUint32$2(bKey, 0, true); + t1 = $W.length; + if (0 >= t1) + return A.ioore($W, 0); + t2 = $W[0]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = B.NativeByteData_methods._getUint32$2(bKey, 4, true); + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = B.NativeByteData_methods._getUint32$2(bKey, 8, true); + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = B.NativeByteData_methods._getUint32$2(bKey, 12, true); + B.JSArray_methods.$indexSet(t2, 3, col3); + col4 = B.NativeByteData_methods._getUint32$2(bKey, 16, true); + if (1 >= t1) + return A.ioore($W, 1); + t2 = $W[1]; + B.JSArray_methods.$indexSet(t2, 0, col4); + col5 = B.NativeByteData_methods._getUint32$2(bKey, 20, true); + B.JSArray_methods.$indexSet(t2, 1, col5); + col6 = B.NativeByteData_methods._getUint32$2(bKey, 24, true); + B.JSArray_methods.$indexSet(t2, 2, col6); + col7 = B.NativeByteData_methods._getUint32$2(bKey, 28, true); + B.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 & $._mask32HiBits[24]) << 24) >>> 0) ^ rcon) >>> 0; + if (!(i < t1)) + return A.ioore($W, i); + t2 = $W[i]; + B.JSArray_methods.$indexSet(t2, 0, col0); + col1 = (col1 ^ col0) >>> 0; + B.JSArray_methods.$indexSet(t2, 1, col1); + col2 = (col2 ^ col1) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col2); + col3 = (col3 ^ col2) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col3); + ++i; + if (i >= 15) + break; + col4 = (col4 ^ _this._subWord$1(col3)) >>> 0; + if (!(i < t1)) + return A.ioore($W, i); + t2 = $W[i]; + B.JSArray_methods.$indexSet(t2, 0, col4); + col5 = (col5 ^ col4) >>> 0; + B.JSArray_methods.$indexSet(t2, 1, col5); + col6 = (col6 ^ col5) >>> 0; + B.JSArray_methods.$indexSet(t2, 2, col6); + col7 = (col7 ^ col6) >>> 0; + B.JSArray_methods.$indexSet(t2, 3, col7); + ++i; + } + break; + default: + throw A.wrapException(A.StateError$("Should never get here")); + } + return $W; + }, + _encryptBlock$5(input, inOff, out, outOff, kw) { + var bInput, c0, c1, c2, c3, t1, t2, t00, t10, t20, r3, r, t3, t4, t5, t6, t7, t8, t9, t11, r0, r1, r2, r30, t12, t13, t14, t15, t16, t17, t18, t19; + type$.List_List_int._as(kw); + bInput = A.NativeByteData_NativeByteData$view(input.buffer, input.byteOffset, 16); + c0 = B.NativeByteData_methods._getUint32$2(bInput, inOff, true); + c1 = B.NativeByteData_methods._getUint32$2(bInput, inOff + 4, true); + c2 = B.NativeByteData_methods._getUint32$2(bInput, inOff + 8, true); + c3 = B.NativeByteData_methods._getUint32$2(bInput, inOff + 12, true); + 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, r = 1; r < t2;) { + t3 = B.List_oyU[t00 & 255]; + t4 = B.List_oyU[t10 >>> 8 & 255]; + t5 = $._mask32HiBits[8]; + t6 = B.List_oyU[t20 >>> 16 & 255]; + t7 = $._mask32HiBits[16]; + t8 = B.List_oyU[r3 >>> 24 & 255]; + t9 = $._mask32HiBits[24]; + if (!(r < t1)) + return A.ioore(kw, r); + t11 = kw[r]; + r0 = t3 ^ (t4 >>> 24 | (t4 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t8 >>> 8 | (t8 & t9) << 24) ^ t11[0]; + t8 = B.List_oyU[t10 & 255]; + t6 = B.List_oyU[t20 >>> 8 & 255]; + t4 = B.List_oyU[r3 >>> 16 & 255]; + t3 = B.List_oyU[t00 >>> 24 & 255]; + r1 = t8 ^ (t6 >>> 24 | (t6 & t5) << 8) ^ (t4 >>> 16 | (t4 & t7) << 16) ^ (t3 >>> 8 | (t3 & t9) << 24) ^ t11[1]; + t3 = B.List_oyU[t20 & 255]; + t4 = B.List_oyU[r3 >>> 8 & 255]; + t6 = B.List_oyU[t00 >>> 16 & 255]; + t8 = B.List_oyU[t10 >>> 24 & 255]; + r2 = t3 ^ (t4 >>> 24 | (t4 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t8 >>> 8 | (t8 & t9) << 24) ^ t11[2]; + t8 = B.List_oyU[r3 & 255]; + t00 = B.List_oyU[t00 >>> 8 & 255]; + t10 = B.List_oyU[t10 >>> 16 & 255]; + t20 = B.List_oyU[t20 >>> 24 & 255]; + ++r; + r3 = t8 ^ (t00 >>> 24 | (t00 & t5) << 8) ^ (t10 >>> 16 | (t10 & t7) << 16) ^ (t20 >>> 8 | (t20 & t9) << 24) ^ t11[3]; + t11 = B.List_oyU[r0 & 255]; + t20 = B.List_oyU[r1 >>> 8 & 255]; + t10 = B.List_oyU[r2 >>> 16 & 255]; + t00 = B.List_oyU[r3 >>> 24 & 255]; + if (!(r < t1)) + return A.ioore(kw, r); + t8 = kw[r]; + t00 = t11 ^ (t20 >>> 24 | (t20 & t5) << 8) ^ (t10 >>> 16 | (t10 & t7) << 16) ^ (t00 >>> 8 | (t00 & t9) << 24) ^ t8[0]; + t10 = B.List_oyU[r1 & 255]; + t20 = B.List_oyU[r2 >>> 8 & 255]; + t11 = B.List_oyU[r3 >>> 16 & 255]; + t6 = B.List_oyU[r0 >>> 24 & 255]; + t10 = t10 ^ (t20 >>> 24 | (t20 & t5) << 8) ^ (t11 >>> 16 | (t11 & t7) << 16) ^ (t6 >>> 8 | (t6 & t9) << 24) ^ t8[1]; + t6 = B.List_oyU[r2 & 255]; + t11 = B.List_oyU[r3 >>> 8 & 255]; + t20 = B.List_oyU[r0 >>> 16 & 255]; + t4 = B.List_oyU[r1 >>> 24 & 255]; + t20 = t6 ^ (t11 >>> 24 | (t11 & t5) << 8) ^ (t20 >>> 16 | (t20 & t7) << 16) ^ (t4 >>> 8 | (t4 & t9) << 24) ^ t8[2]; + t4 = B.List_oyU[r3 & 255]; + t11 = B.List_oyU[r0 >>> 8 & 255]; + t6 = B.List_oyU[r1 >>> 16 & 255]; + t3 = B.List_oyU[r2 >>> 24 & 255]; + ++r; + r3 = t4 ^ (t11 >>> 24 | (t11 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t3 >>> 8 | (t3 & t9) << 24) ^ t8[3]; + } + t1 = B.List_oyU[t00 & 255]; + t2 = A.rotr32(B.List_oyU[t10 >>> 8 & 255], 24); + t3 = A.rotr32(B.List_oyU[t20 >>> 16 & 255], 16); + t4 = A.rotr32(B.List_oyU[r3 >>> 24 & 255], 8); + if (!(r < kw.length)) + return A.ioore(kw, r); + r0 = t1 ^ t2 ^ t3 ^ t4 ^ kw[r][0]; + t4 = B.List_oyU[t10 & 255]; + t3 = A.rotr32(B.List_oyU[t20 >>> 8 & 255], 24); + t2 = A.rotr32(B.List_oyU[r3 >>> 16 & 255], 16); + t1 = A.rotr32(B.List_oyU[t00 >>> 24 & 255], 8); + if (!(r < kw.length)) + return A.ioore(kw, r); + r1 = t4 ^ t3 ^ t2 ^ t1 ^ kw[r][1]; + t1 = B.List_oyU[t20 & 255]; + t2 = A.rotr32(B.List_oyU[r3 >>> 8 & 255], 24); + t3 = A.rotr32(B.List_oyU[t00 >>> 16 & 255], 16); + t4 = A.rotr32(B.List_oyU[t10 >>> 24 & 255], 8); + if (!(r < kw.length)) + return A.ioore(kw, r); + r2 = t1 ^ t2 ^ t3 ^ t4 ^ kw[r][2]; + t4 = B.List_oyU[r3 & 255]; + t00 = A.rotr32(B.List_oyU[t00 >>> 8 & 255], 24); + t10 = A.rotr32(B.List_oyU[t10 >>> 16 & 255], 16); + t20 = A.rotr32(B.List_oyU[t20 >>> 24 & 255], 8); + r3 = r + 1; + t3 = kw.length; + if (!(r < t3)) + return A.ioore(kw, r); + r30 = t4 ^ t00 ^ t10 ^ t20 ^ kw[r][3]; + t20 = B.List_9Wx[r0 & 255]; + t10 = B.List_9Wx[r1 >>> 8 & 255]; + t00 = this._s; + t4 = r2 >>> 16 & 255; + t2 = t00.length; + if (!(t4 < t2)) + return A.ioore(t00, t4); + t4 = t00[t4]; + if (typeof t4 !== "number") + return t4.$and(); + t1 = r30 >>> 24 & 255; + if (!(t1 < t2)) + return A.ioore(t00, t1); + t1 = t00[t1]; + if (typeof t1 !== "number") + return t1.$shl(); + if (!(r3 < t3)) + return A.ioore(kw, r3); + t3 = kw[r3]; + t5 = t3[0]; + t6 = r1 & 255; + if (!(t6 < t2)) + return A.ioore(t00, t6); + t6 = t00[t6]; + if (typeof t6 !== "number") + return t6.$and(); + t7 = B.List_9Wx[r2 >>> 8 & 255]; + t8 = B.List_9Wx[r30 >>> 16 & 255]; + t9 = r0 >>> 24 & 255; + if (!(t9 < t2)) + return A.ioore(t00, t9); + t9 = t00[t9]; + if (typeof t9 !== "number") + return t9.$shl(); + t11 = t3[1]; + t12 = r2 & 255; + if (!(t12 < t2)) + return A.ioore(t00, t12); + t12 = t00[t12]; + if (typeof t12 !== "number") + return t12.$and(); + t13 = B.List_9Wx[r30 >>> 8 & 255]; + t14 = B.List_9Wx[r0 >>> 16 & 255]; + t15 = B.List_9Wx[r1 >>> 24 & 255]; + t16 = t3[2]; + t17 = r30 & 255; + if (!(t17 < t2)) + return A.ioore(t00, t17); + t17 = t00[t17]; + if (typeof t17 !== "number") + return t17.$and(); + t18 = r0 >>> 8 & 255; + if (!(t18 < t2)) + return A.ioore(t00, t18); + t18 = t00[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r1 >>> 16 & 255; + if (!(t19 < t2)) + return A.ioore(t00, t19); + t19 = t00[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t00 = B.List_9Wx[r2 >>> 24 & 255]; + t3 = t3[3]; + B.NativeByteData_methods._setUint32$3(A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, 16), outOff, (t20 & 255 ^ (t10 & 255) << 8 ^ (t4 & 255) << 16 ^ t1 << 24 ^ t5) >>> 0, true); + B.NativeByteData_methods._setUint32$3(A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, 16), outOff + 4, (t6 & 255 ^ (t7 & 255) << 8 ^ (t8 & 255) << 16 ^ t9 << 24 ^ t11) >>> 0, true); + B.NativeByteData_methods._setUint32$3(A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, 16), outOff + 8, (t12 & 255 ^ (t13 & 255) << 8 ^ (t14 & 255) << 16 ^ t15 << 24 ^ t16) >>> 0, true); + B.NativeByteData_methods._setUint32$3(A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, 16), outOff + 12, (t17 & 255 ^ (t18 & 255) << 8 ^ (t19 & 255) << 16 ^ t00 << 24 ^ t3) >>> 0, true); + }, + _decryptBlock$5(input, inOff, out, outOff, kw) { + var c0, c1, c2, c3, t1, t2, t3, t00, t10, t20, r, r3, t4, t5, t6, t7, t8, t9, r0, r1, r2, t11, t12, t13, t14, t15, t16, t17, t18, t19, t21, bOut; + type$.List_List_int._as(kw); + c0 = B.NativeByteData_methods._getUint32$2(A.NativeByteData_NativeByteData$view(input.buffer, input.byteOffset, 16), inOff, true); + c1 = B.NativeByteData_methods._getUint32$2(A.NativeByteData_NativeByteData$view(input.buffer, input.byteOffset, 16), inOff + 4, true); + c2 = B.NativeByteData_methods._getUint32$2(A.NativeByteData_NativeByteData$view(input.buffer, input.byteOffset, 16), inOff + 8, true); + c3 = B.NativeByteData_methods._getUint32$2(A.NativeByteData_NativeByteData$view(input.buffer, input.byteOffset, 16), inOff + 12, true); + 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 = t10; r > 1;) { + t3 = B.List_kqe[t00 & 255]; + t4 = B.List_kqe[r3 >>> 8 & 255]; + t5 = $._mask32HiBits[8]; + t6 = B.List_kqe[t20 >>> 16 & 255]; + t7 = $._mask32HiBits[16]; + t8 = B.List_kqe[t1 >>> 24 & 255]; + t9 = $._mask32HiBits[24]; + if (!(r < t2)) + return A.ioore(kw, r); + t10 = kw[r]; + r0 = t3 ^ (t4 >>> 24 | (t4 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t8 >>> 8 | (t8 & t9) << 24) ^ t10[0]; + t8 = B.List_kqe[t1 & 255]; + t6 = B.List_kqe[t00 >>> 8 & 255]; + t4 = B.List_kqe[r3 >>> 16 & 255]; + t3 = B.List_kqe[t20 >>> 24 & 255]; + r1 = t8 ^ (t6 >>> 24 | (t6 & t5) << 8) ^ (t4 >>> 16 | (t4 & t7) << 16) ^ (t3 >>> 8 | (t3 & t9) << 24) ^ t10[1]; + t3 = B.List_kqe[t20 & 255]; + t4 = B.List_kqe[t1 >>> 8 & 255]; + t6 = B.List_kqe[t00 >>> 16 & 255]; + t8 = B.List_kqe[r3 >>> 24 & 255]; + r2 = t3 ^ (t4 >>> 24 | (t4 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t8 >>> 8 | (t8 & t9) << 24) ^ t10[2]; + t8 = B.List_kqe[r3 & 255]; + t20 = B.List_kqe[t20 >>> 8 & 255]; + t1 = B.List_kqe[t1 >>> 16 & 255]; + t00 = B.List_kqe[t00 >>> 24 & 255]; + --r; + r3 = t8 ^ (t20 >>> 24 | (t20 & t5) << 8) ^ (t1 >>> 16 | (t1 & t7) << 16) ^ (t00 >>> 8 | (t00 & t9) << 24) ^ t10[3]; + t10 = B.List_kqe[r0 & 255]; + t00 = B.List_kqe[r3 >>> 8 & 255]; + t1 = B.List_kqe[r2 >>> 16 & 255]; + t20 = B.List_kqe[r1 >>> 24 & 255]; + if (!(r < t2)) + return A.ioore(kw, r); + t8 = kw[r]; + t00 = t10 ^ (t00 >>> 24 | (t00 & t5) << 8) ^ (t1 >>> 16 | (t1 & t7) << 16) ^ (t20 >>> 8 | (t20 & t9) << 24) ^ t8[0]; + t20 = B.List_kqe[r1 & 255]; + t1 = B.List_kqe[r0 >>> 8 & 255]; + t10 = B.List_kqe[r3 >>> 16 & 255]; + t6 = B.List_kqe[r2 >>> 24 & 255]; + t1 = t20 ^ (t1 >>> 24 | (t1 & t5) << 8) ^ (t10 >>> 16 | (t10 & t7) << 16) ^ (t6 >>> 8 | (t6 & t9) << 24) ^ t8[1]; + t6 = B.List_kqe[r2 & 255]; + t10 = B.List_kqe[r1 >>> 8 & 255]; + t20 = B.List_kqe[r0 >>> 16 & 255]; + t4 = B.List_kqe[r3 >>> 24 & 255]; + t20 = t6 ^ (t10 >>> 24 | (t10 & t5) << 8) ^ (t20 >>> 16 | (t20 & t7) << 16) ^ (t4 >>> 8 | (t4 & t9) << 24) ^ t8[2]; + t4 = B.List_kqe[r3 & 255]; + t10 = B.List_kqe[r2 >>> 8 & 255]; + t6 = B.List_kqe[r1 >>> 16 & 255]; + t3 = B.List_kqe[r0 >>> 24 & 255]; + --r; + r3 = t4 ^ (t10 >>> 24 | (t10 & t5) << 8) ^ (t6 >>> 16 | (t6 & t7) << 16) ^ (t3 >>> 8 | (t3 & t9) << 24) ^ t8[3]; + } + t2 = B.List_kqe[t00 & 255]; + t3 = A.rotr32(B.List_kqe[r3 >>> 8 & 255], 24); + t4 = A.rotr32(B.List_kqe[t20 >>> 16 & 255], 16); + t5 = A.rotr32(B.List_kqe[t1 >>> 24 & 255], 8); + if (!(r >= 0 && r < kw.length)) + return A.ioore(kw, r); + r0 = t2 ^ t3 ^ t4 ^ t5 ^ kw[r][0]; + t5 = B.List_kqe[t1 & 255]; + t4 = A.rotr32(B.List_kqe[t00 >>> 8 & 255], 24); + t3 = A.rotr32(B.List_kqe[r3 >>> 16 & 255], 16); + t2 = A.rotr32(B.List_kqe[t20 >>> 24 & 255], 8); + if (!(r < kw.length)) + return A.ioore(kw, r); + r1 = t5 ^ t4 ^ t3 ^ t2 ^ kw[r][1]; + t2 = B.List_kqe[t20 & 255]; + t3 = A.rotr32(B.List_kqe[t1 >>> 8 & 255], 24); + t4 = A.rotr32(B.List_kqe[t00 >>> 16 & 255], 16); + t5 = A.rotr32(B.List_kqe[r3 >>> 24 & 255], 8); + if (!(r < kw.length)) + return A.ioore(kw, r); + r2 = t2 ^ t3 ^ t4 ^ t5 ^ kw[r][2]; + t5 = B.List_kqe[r3 & 255]; + t20 = A.rotr32(B.List_kqe[t20 >>> 8 & 255], 24); + t1 = A.rotr32(B.List_kqe[t1 >>> 16 & 255], 16); + t00 = A.rotr32(B.List_kqe[t00 >>> 24 & 255], 8); + t4 = kw.length; + if (!(r < t4)) + return A.ioore(kw, r); + r3 = t5 ^ t20 ^ t1 ^ t00 ^ kw[r][3]; + t00 = B.List_8aB[r0 & 255]; + t1 = this._s; + t20 = r3 >>> 8 & 255; + t5 = t1.length; + if (!(t20 < t5)) + return A.ioore(t1, t20); + t20 = t1[t20]; + if (typeof t20 !== "number") + return t20.$and(); + t3 = r2 >>> 16 & 255; + if (!(t3 < t5)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + t2 = B.List_8aB[r1 >>> 24 & 255]; + if (0 >= t4) + return A.ioore(kw, 0); + t4 = kw[0]; + t6 = t4[0]; + t7 = r1 & 255; + if (!(t7 < t5)) + return A.ioore(t1, t7); + t7 = t1[t7]; + if (typeof t7 !== "number") + return t7.$and(); + t8 = r0 >>> 8 & 255; + if (!(t8 < t5)) + return A.ioore(t1, t8); + t8 = t1[t8]; + if (typeof t8 !== "number") + return t8.$and(); + t9 = B.List_8aB[r3 >>> 16 & 255]; + t10 = r2 >>> 24 & 255; + if (!(t10 < t5)) + return A.ioore(t1, t10); + t10 = t1[t10]; + if (typeof t10 !== "number") + return t10.$shl(); + t11 = t4[1]; + t12 = r2 & 255; + if (!(t12 < t5)) + return A.ioore(t1, t12); + t12 = t1[t12]; + if (typeof t12 !== "number") + return t12.$and(); + t13 = B.List_8aB[r1 >>> 8 & 255]; + t14 = B.List_8aB[r0 >>> 16 & 255]; + t15 = r3 >>> 24 & 255; + if (!(t15 < t5)) + return A.ioore(t1, t15); + t15 = t1[t15]; + if (typeof t15 !== "number") + return t15.$shl(); + t16 = t4[2]; + t17 = B.List_8aB[r3 & 255]; + t18 = r2 >>> 8 & 255; + if (!(t18 < t5)) + return A.ioore(t1, t18); + t18 = t1[t18]; + if (typeof t18 !== "number") + return t18.$and(); + t19 = r1 >>> 16 & 255; + if (!(t19 < t5)) + return A.ioore(t1, t19); + t19 = t1[t19]; + if (typeof t19 !== "number") + return t19.$and(); + t21 = r0 >>> 24 & 255; + if (!(t21 < t5)) + return A.ioore(t1, t21); + t21 = t1[t21]; + if (typeof t21 !== "number") + return t21.$shl(); + t4 = t4[3]; + bOut = A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, 16); + B.NativeByteData_methods._setUint32$3(bOut, outOff, (t00 & 255 ^ (t20 & 255) << 8 ^ (t3 & 255) << 16 ^ t2 << 24 ^ t6) >>> 0, true); + B.NativeByteData_methods._setUint32$3(bOut, outOff + 4, (t7 & 255 ^ (t8 & 255) << 8 ^ (t9 & 255) << 16 ^ t10 << 24 ^ t11) >>> 0, true); + B.NativeByteData_methods._setUint32$3(bOut, outOff + 8, (t12 & 255 ^ (t13 & 255) << 8 ^ (t14 & 255) << 16 ^ t15 << 24 ^ t16) >>> 0, true); + B.NativeByteData_methods._setUint32$3(bOut, outOff + 12, (t17 & 255 ^ (t18 & 255) << 8 ^ (t19 & 255) << 16 ^ t21 << 24 ^ t4) >>> 0, true); + }, + set$__AESEngine__workingKey_A(__AESEngine__workingKey_A) { + this.__AESEngine__workingKey_A = type$.List_List_int._as(__AESEngine__workingKey_A); + }, + set$_s(_s) { + this._s = type$.List_int._as(_s); + } + }; A.InputStreamBase.prototype = {}; A.InputStream.prototype = { get$length(_) { @@ -62340,8 +63453,13 @@ return t1 >= this.start + t2; }, $index(_, index) { + var t1, t2; A._asInt(index); - return J.$index$asx(this.buffer, this.offset + index); + t1 = this.buffer; + t2 = this.offset + index; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + return t1[t2]; }, subset$2(position, $length) { var t2, _this = this, @@ -62355,12 +63473,16 @@ return A.InputStream$(_this.buffer, _this.byteOrder, $length, position); }, readByte$0() { - return J.$index$asx(this.buffer, this.offset++); + var t1 = this.buffer, + t2 = this.offset++; + if (!(t2 >= 0 && t2 < t1.length)) + return A.ioore(t1, t2); + return t1[t2]; }, readBytes$1(count) { var _this = this, bytes = _this.subset$2(_this.offset - _this.start, count); - _this.offset = _this.offset + bytes.get$length(bytes); + _this.offset = _this.offset + bytes.get$length(0); return bytes; }, readString$2$size$utf8(size, utf8) { @@ -62379,102 +63501,148 @@ }, 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; + t1 = _this.buffer, + t2 = _this.offset, + t3 = _this.offset = t2 + 1, + t4 = t1.length; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b1 = t2 & 255; + _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b2 = t3 & 255; if (_this.byteOrder === 1) return b1 << 8 | b2; return b2 << 8 | b1; }, 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; + t1 = _this.buffer, + t2 = _this.offset, + t3 = _this.offset = t2 + 1, + t4 = t1.length; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b1 = t2 & 255; + t2 = _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b2 = t3 & 255; + t3 = _this.offset = t2 + 1; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b3 = t2 & 255; + _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b4 = t3 & 255; if (_this.byteOrder === 1) return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, 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; + t1 = _this.buffer, + t2 = _this.offset, + t3 = _this.offset = t2 + 1, + t4 = t1.length; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b1 = t2 & 255; + t2 = _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b2 = t3 & 255; + t3 = _this.offset = t2 + 1; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b3 = t2 & 255; + t2 = _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b4 = t3 & 255; + t3 = _this.offset = t2 + 1; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b5 = t2 & 255; + t2 = _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b6 = t3 & 255; + t3 = _this.offset = t2 + 1; + if (!(t2 >= 0 && t2 < t4)) + return A.ioore(t1, t2); + t2 = t1[t2]; + if (typeof t2 !== "number") + return t2.$and(); + b7 = t2 & 255; + _this.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4)) + return A.ioore(t1, t3); + t3 = t1[t3]; + if (typeof t3 !== "number") + return t3.$and(); + b8 = t3 & 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; }, toUint8List$1(bytes) { - var t2, end, _this = this, - len = _this.get$length(_this), + var t2, t3, end, end0, _this = this, + len = _this.get$length(0), 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; - return J.asUint8List$2$x(t2.get$buffer(t1), t2.get$offsetInBytes(t1) + _this.offset, len); + t2 = _this.offset; + t3 = t1.length; + if (t2 + len > t3) + len = t3 - t2; + return A.NativeUint8List_NativeUint8List$view(t1.buffer, t1.byteOffset + 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))); + t2 = _this.offset; + end = t2 + len; + end0 = t1.length; + return new Uint8Array(A._ensureNativeList(J.sublist$2$ax(t1, t2, end > end0 ? end0 : end))); }, toUint8List$0() { return this.toUint8List$1(null); }, - set$buffer(_, buffer) { - this.buffer = type$.List_int._as(buffer); - }, get$offset(receiver) { return this.offset; } @@ -62495,88 +63663,281 @@ 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); + len = bytes.length; 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)); + if (len === 1) { + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + } else if (len === 2) { + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, bytes[4]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (5 >= bytes.length) + return A.ioore(bytes, 5); + B.NativeUint8List_methods.$indexSet(t1, t2 + 5, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, bytes[4]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (5 >= bytes.length) + return A.ioore(bytes, 5); + B.NativeUint8List_methods.$indexSet(t1, t2 + 5, bytes[5]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (6 >= bytes.length) + return A.ioore(bytes, 6); + B.NativeUint8List_methods.$indexSet(t2, t1 + 6, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, bytes[4]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (5 >= bytes.length) + return A.ioore(bytes, 5); + B.NativeUint8List_methods.$indexSet(t1, t2 + 5, bytes[5]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (6 >= bytes.length) + return A.ioore(bytes, 6); + B.NativeUint8List_methods.$indexSet(t2, t1 + 6, bytes[6]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (7 >= bytes.length) + return A.ioore(bytes, 7); + B.NativeUint8List_methods.$indexSet(t1, t2 + 7, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, bytes[4]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (5 >= bytes.length) + return A.ioore(bytes, 5); + B.NativeUint8List_methods.$indexSet(t1, t2 + 5, bytes[5]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (6 >= bytes.length) + return A.ioore(bytes, 6); + B.NativeUint8List_methods.$indexSet(t2, t1 + 6, bytes[6]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (7 >= bytes.length) + return A.ioore(bytes, 7); + B.NativeUint8List_methods.$indexSet(t1, t2 + 7, bytes[7]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (8 >= bytes.length) + return A.ioore(bytes, 8); + B.NativeUint8List_methods.$indexSet(t2, t1 + 8, 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)); + if (0 >= bytes.length) + return A.ioore(bytes, 0); + B.NativeUint8List_methods.$indexSet(t2, j, bytes[0]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (1 >= bytes.length) + return A.ioore(bytes, 1); + B.NativeUint8List_methods.$indexSet(t1, t2 + 1, bytes[1]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (2 >= bytes.length) + return A.ioore(bytes, 2); + B.NativeUint8List_methods.$indexSet(t2, t1 + 2, bytes[2]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (3 >= bytes.length) + return A.ioore(bytes, 3); + B.NativeUint8List_methods.$indexSet(t1, t2 + 3, bytes[3]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (4 >= bytes.length) + return A.ioore(bytes, 4); + B.NativeUint8List_methods.$indexSet(t2, t1 + 4, bytes[4]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (5 >= bytes.length) + return A.ioore(bytes, 5); + B.NativeUint8List_methods.$indexSet(t1, t2 + 5, bytes[5]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (6 >= bytes.length) + return A.ioore(bytes, 6); + B.NativeUint8List_methods.$indexSet(t2, t1 + 6, bytes[6]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (7 >= bytes.length) + return A.ioore(bytes, 7); + B.NativeUint8List_methods.$indexSet(t1, t2 + 7, bytes[7]); + t2 = _this._output_stream$_buffer; + t1 = _this.length; + if (8 >= bytes.length) + return A.ioore(bytes, 8); + B.NativeUint8List_methods.$indexSet(t2, t1 + 8, bytes[8]); + t1 = _this._output_stream$_buffer; + t2 = _this.length; + if (9 >= bytes.length) + return A.ioore(bytes, 9); + B.NativeUint8List_methods.$indexSet(t1, t2 + 9, 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)); + for (i = 0; i < len; ++i, ++j) { + t1 = _this._output_stream$_buffer; + if (!(i < bytes.length)) + return A.ioore(bytes, i); + B.NativeUint8List_methods.$indexSet(t1, j, bytes[i]); + } _this.length += len; }, writeBytes$1(bytes) { @@ -62596,13 +63957,12 @@ break; _this._expandBuffer$1(t3 - t5); } - B.NativeUint8List_methods.setRange$4(t4, t2, t2 + stream.get$length(stream), stream.buffer, stream.offset); - _this.length = _this.length + stream.get$length(stream); + B.NativeUint8List_methods.setRange$4(t4, t2, t2 + stream.get$length(0), stream.buffer, stream.offset); + _this.length = _this.length + stream.get$length(0); }, writeUint16$1(value) { - A._asInt(value); this.writeByte$1(value & 255); - this.writeByte$1(B.JSInt_methods._shrOtherPositive$1(value, 8) & 255); + this.writeByte$1(value >>> 8 & 255); }, writeUint32$1(value) { var _this = this; @@ -62613,7 +63973,6 @@ }, writeUint64$1(value) { var topBit, _this = this; - A._asInt(value); if ((value & 9223372036854776e3) >>> 0 !== 0) { value = (value ^ 9223372036854776e3) >>> 0; topBit = 128; @@ -62636,7 +63995,7 @@ 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); + return A.NativeUint8List_NativeUint8List$view(_this._output_stream$_buffer.buffer, start, end - start); }, subset$1(start) { return this.subset$2(start, null); @@ -62672,7 +64031,7 @@ _this.__ZipDirectory_centralDirectoryOffset_A = input.readUint32$0(); len = input.readUint16$0(); if (len > 0) - _this.set$zipFileComment(input.readString$2$size$utf8(len, false)); + 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); @@ -62740,7 +64099,7 @@ var ip, t1 = input.offset, t2 = input.start; - for (ip = input.get$length(input) - 5; ip >= 0; --ip) { + for (ip = input.get$length(0) - 5; ip >= 0; --ip) { input.offset = t2 + ip; if (input.readUint32$0() === 101010256) { input.offset = t2 + (t1 - t2); @@ -62748,9 +64107,6 @@ } } throw A.wrapException(A.ArchiveException$("Could not find End of Central Directory Record")); - }, - set$zipFileComment(zipFileComment) { - A._asString(zipFileComment); } }; A.AesHeader.prototype = {}; @@ -62771,7 +64127,7 @@ _this.uncompressedSize = input.readUint32$0(); fnLen = input.readUint16$0(); exLen = input.readUint16$0(); - _this.set$filename(0, input.readString$1$size(fnLen)); + _this.filename = input.readString$1$size(fnLen); _this.set$extraField(input.readBytes$1(exLen).toUint8List$0()); t1 = _this.header; t2 = t1 == null; @@ -62803,10 +64159,14 @@ if (id === 39169) { bytes.readUint16$0(); bytes.readString$1$size(2); - t2 = J.$index$asx(bytes.buffer, bytes.offset++); + t2 = bytes.buffer; + t3 = bytes.offset++; + if (!(t3 >= 0 && t3 < t2.length)) + return A.ioore(t2, t3); + t3 = t2[t3]; compressionMethod = bytes.readUint16$0(); _this._encryptionType = 2; - _this._aesHeader = new A.AesHeader(t2, compressionMethod); + _this._aesHeader = new A.AesHeader(t3, compressionMethod); _this.compressionMethod = compressionMethod; } } @@ -62822,7 +64182,7 @@ } t1 = _this.header; t1 = t1 == null ? _null : t1.filename; - _this.set$filename(0, t1 == null ? _this.filename : t1); + _this.filename = t1 == null ? _this.filename : t1; }, get$content(_) { var t1, t2, salt, keySize, verify, dataBytes, dataMac, bytes, derivedKey, keyData, hmacKeyData, aes, output, _this = this, @@ -62831,7 +64191,7 @@ if (_this._encryptionType !== 0) { t1 = _this.__ZipFile__rawContent_A; t1 === $ && A.throwLateFieldNI(_s11_); - if (t1.get$length(t1) <= 0) { + if (t1.get$length(0) <= 0) { _this.set$_zip_file$_content(0, _this.__ZipFile__rawContent_A.toUint8List$0()); _this._encryptionType = 0; } else { @@ -62852,7 +64212,7 @@ keySize = 32; } verify = t1.readBytes$1(2).toUint8List$0(); - dataBytes = t1.readBytes$1(t1.get$length(t1) - 10); + dataBytes = t1.readBytes$1(t1.get$length(0) - 10); dataMac = t1.readBytes$1(10); bytes = dataBytes.toUint8List$0(); t1 = _this._password; @@ -62864,7 +64224,7 @@ 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)); + aes.processData$3(bytes, 0, bytes.length); t1 = dataMac.toUint8List$0(); t2 = aes.__Aes_mac_A; t2 === $ && A.throwLateFieldNI("mac"); @@ -62880,14 +64240,14 @@ 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.set$_zip_file$_content(0, type$.List_int._as(A.NativeUint8List_NativeUint8List$view(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.set$_zip_file$_content(0, A.NativeUint8List_NativeUint8List$view(output._output_stream$_buffer.buffer, 0, output.length)); _this.compressionMethod = 0; } else if (t1 === 0) { t1 = _this.__ZipFile__rawContent_A; @@ -62915,26 +64275,27 @@ return temp * (temp ^ 1) >>> 8 & 255; }, _decodeZipCrypto$1(input) { - var i, t1, bytes, temp, _this = this, + 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_); - _this._updateKeys$1((J.$index$asx(t1.buffer, t1.offset++) ^ _this._decryptByte$0()) >>> 0); + t2 = t1.buffer; + t1 = t1.offset++; + if (!(t1 >= 0 && t1 < t2.length)) + return A.ioore(t2, t1); + _this._updateKeys$1((t2[t1] ^ _this._decryptByte$0()) >>> 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; + for (t1 = bytes.length, i = 0; i < t1; ++i) { + temp = bytes[i] ^ _this._decryptByte$0(); _this._updateKeys$1(temp); - t1.$indexSet(bytes, i, temp); + bytes[i] = temp; } return A.InputStream$(bytes, 0, null, 0); }, - set$filename(_, filename) { - this.filename = A._asString(filename); - }, set$extraField(extraField) { this.extraField = type$.List_int._as(extraField); }, @@ -62962,7 +64323,7 @@ _this.externalFileAttributes = input.readUint32$0(); _this.localHeaderOffset = input.readUint32$0(); if (fnameLen > 0) - _this.set$filename(0, input.readString$1$size(fnameLen)); + _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); @@ -62999,19 +64360,13 @@ } } if (commentLen > 0) - _this.set$fileComment(input.readString$1$size(commentLen)); + input.readString$1$size(commentLen); }, toString$0(_) { return this.filename; }, - set$filename(_, filename) { - this.filename = A._asString(filename); - }, set$extraField(extraField) { this.extraField = type$.List_int._as(extraField); - }, - set$fileComment(fileComment) { - A._asString(fileComment); } }; A.ZipDecoder.prototype = { @@ -63028,7 +64383,7 @@ t5 = zfh.externalFileAttributes; t5.toString; t6 = t4.compressionMethod; - computedCrc = A.getCrc32(t4.get$content(t4), 0); + computedCrc = A.getCrc32(t4.get$content(0), 0); if (computedCrc !== t4.crc32) throw A.wrapException(A.ArchiveException$("Invalid CRC for file in archive.")); t7 = t4.filename; @@ -63048,10 +64403,10 @@ break; case 40960: t5 = file._archive_file$_content; - if ((t5 instanceof A.FileContent ? file._archive_file$_content = t5.get$content(t5) : t5) == null) + if ((t5 instanceof A.ZipFile ? file._archive_file$_content = t5.get$content(0) : t5) == null) file.decompress$0(); t5 = t3._as(t3._as(file._archive_file$_content)); - B.Utf8Decoder_false.convert$1(t5); + new A._Utf8Decoder(false)._convertGeneral$4(t5, 0, null, true); break; } } else @@ -63064,177 +64419,165 @@ return archive; } }; - A._ZipFileData.prototype = { - set$uncompressedSize(uncompressedSize) { - this.uncompressedSize = A._asInt(uncompressedSize); - } - }; + A._ZipFileData.prototype = {}; A._ZipEncoderData.prototype = {}; A.ZipEncoder.prototype = { encode$1(archive) { - var t2, t3, t4, t5, t6, t7, fileData, lastModMS, lastModTime, t8, compressedData, crc32, bytes, level, t9, t10, t11, t12, t13, t14, t15, encodedFilename, dataLen, compressedSize, needsZip64, compressionMethod, lastModFileTime, lastModFileDate, uncompressedSize, extra, out, _this = this, _null = null, _4294967295 = 4294967295, + var t2, t3, t4, t5, fileData, 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), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")), t3 = type$.Utf8Codec._eval$1("Codec.S"), t4 = type$.JSArray_int, t1 = t1._eval$1("ListMixin.E"), t5 = type$._StaticTree, t6 = type$.List_int; t2.moveNext$0();) { - t7 = t2.__internal$_current; - if (t7 == null) - t7 = t1._as(t7); + for (t1 = type$.UnmodifiableListView_ArchiveFile, t2 = new A.UnmodifiableListView(archive._files, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator")), t3 = type$.JSArray_int, t1 = t1._eval$1("ListBase.E"), t4 = type$.List_int; t2.moveNext$0();) { + t5 = t2.__internal$_current; + if (t5 == null) + t5 = t1._as(t5); fileData = new A._ZipFileData(); B.JSArray_methods.add$1(_this.__ZipEncoder__data_A.files, fileData); - lastModMS = t7.lastModTime * 1000; - lastModTime = new A.DateTime(lastModMS, false); - lastModTime.DateTime$_withValue$2$isUtc(lastModMS, false); - fileData.___ZipFileData_name_A = t7.name; - t8 = _this.__ZipEncoder__data_A.___ZipEncoderData_time_F; - t8 === $ && A.throwLateFieldNI("time"); - if (t8 == null) { - t8 = A._getTime(lastModTime); - t8.toString; + lastModTime = new A.DateTime(A.DateTime__validate(t5.lastModTime * 1000, 0, false), 0, 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; } - fileData.time = t8; - t8 = _this.__ZipEncoder__data_A.___ZipEncoderData_date_F; - t8 === $ && A.throwLateFieldNI("date"); - if (t8 == null) { - t8 = A._getDate(lastModTime); - t8.toString; + 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 = t8; - fileData.mode = t7.mode; - if (!t7.compress) { - if (t7._compressionType !== 0) - t7.decompress$0(); - t8 = t7._archive_file$_content; - if ((t8 instanceof A.FileContent ? t7._archive_file$_content = t8.get$content(t8) : t8) == null) - t7.decompress$0(); - t8 = t7._archive_file$_content; - if ((t8 instanceof A.FileContent ? t7._archive_file$_content = t8.get$content(t8) : t8) == null) - t7.decompress$0(); - compressedData = A.InputStream$(t7._archive_file$_content, 0, _null, 0); - crc32 = t7.crc32; - crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(t7); + 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.ZipFile ? t5._archive_file$_content = t6.get$content(0) : t6) == null) + t5.decompress$0(); + t6 = t5._archive_file$_content; + if ((t6 instanceof A.ZipFile ? t5._archive_file$_content = t6.get$content(0) : 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 { - t8 = t7._compressionType; - if (t8 !== 0 && t8 === 8) { - compressedData = t7._rawContent; - crc32 = t7.crc32; - crc32 = crc32 != null ? crc32 : _this.getFileCrc32$1(t7); - } else if (t7.isFile) { - crc32 = _this.getFileCrc32$1(t7); - t8 = t7._archive_file$_content; - if ((t8 instanceof A.FileContent ? t7._archive_file$_content = t8.get$content(t8) : t8) == null) - t7.decompress$0(); - bytes = t7._archive_file$_content; - t6._as(bytes); + t6 = t5._compressionType; + if (t6 !== 0 && t6 === 8 && t5._rawContent != null) { + 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.ZipFile ? t5._archive_file$_content = t6.get$content(0) : 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 A._HuffmanTree(); - t10 = new A._HuffmanTree(); - t11 = new Uint16Array(16); - t12 = new Uint32Array(573); - t13 = new Uint8Array(573); - t14 = A.InputStream$(bytes, 0, _null, 0); - t15 = new A.OutputStream(new Uint8Array(32768)); - t13 = new A.Deflate(t14, t15, t8, t9, t10, t11, t12, t13); + 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) - t11 = false; - else - t11 = true; - if (t11) + t9 = true; + t9 = level > 9; + if (t9) A.throwExpression(A.ArchiveException$("Invalid Deflate parameter")); - $.Deflate____config._value = t13._getConfig$1(level); - t11 = new Uint16Array(1146); - t13.__Deflate__dynamicLengthTree_A = t11; - t12 = new Uint16Array(122); - t13.__Deflate__dynamicDistTree_A = t12; - t14 = new Uint16Array(78); - t13.__Deflate__bitLengthTree_A = t14; - t13.__Deflate__windowBits_A = 15; - t13.__Deflate__windowSize_A = 32768; - t13.__Deflate__windowMask_A = 32767; - t13.__Deflate__hashBits_A = 15; - t13.__Deflate__hashSize_A = 32768; - t13.__Deflate__hashMask_A = 32767; - t13.__Deflate__hashShift_A = 5; - t13.__Deflate__window_A = new Uint8Array(65536); - t13.__Deflate__prev_A = new Uint16Array(32768); - t13.__Deflate__head_A = new Uint16Array(32768); - t13.__Deflate__litBufferSize_A = 16384; - t13.__Deflate__pendingBuffer_A = new Uint8Array(65536); - t13.__Deflate__pendingBufferSize_A = 65536; - t13.__Deflate__dbuf_A = 16384; - t13.__Deflate__lbuf_A = 49152; - t13.__Deflate__level_A = level; - t13.__Deflate__pendingOut_A = t13.__Deflate__pending_A = t13.__Deflate__strategy_A = 0; - t13._status = 113; - t13.crc32 = 0; - t8.___HuffmanTree_dynamicTree_A = t11; - t8.___HuffmanTree_staticDesc_A = t5._as($.$get$_StaticTree_staticLDesc()); - t9.___HuffmanTree_dynamicTree_A = t12; - t9.___HuffmanTree_staticDesc_A = t5._as($.$get$_StaticTree_staticDDesc()); - t10.___HuffmanTree_dynamicTree_A = t14; - t10.___HuffmanTree_staticDesc_A = t5._as($.$get$_StaticTree_staticBlDesc()); - t13.__Deflate__numValidBits_A = t13.__Deflate__bitBuffer_A = 0; - t13.__Deflate__lastEOBLen_A = 8; - t13._initBlock$0(); - t13._lmInit$0(); - t13._deflate$1(4); - t13._flushPending$0(); - compressedData = A.InputStream$(t6._as(B.NativeByteBuffer_methods.asUint8List$2(t15._output_stream$_buffer.buffer, 0, t15.length)), 0, _null, 0); + $.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(); + t6 = t13._output_stream$_buffer.buffer; + t13 = t13.length; + t6 = new Uint8Array(t6, 0, t13); + compressedData = A.InputStream$(t4._as(t6), 0, _null, 0); } else { compressedData = _null; crc32 = 0; } } - t8 = t3._as(t7.name); - encodedFilename = B.C_Utf8Codec.get$encoder().convert$1(t8); + encodedFilename = B.C_Utf8Encoder.convert$1(t5.name); if (compressedData == null) - t8 = _null; + t6 = _null; else { - t8 = compressedData.__InputStream__length_A; - t8 === $ && A.throwLateFieldNI("_length"); - t8 -= compressedData.offset - compressedData.start; + t6 = compressedData.__InputStream__length_A; + t6 === $ && A.throwLateFieldNI("_length"); + t6 -= compressedData.offset - compressedData.start; } + 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 = null == null ? 0 : _null; - t10 = _this._mac; - t10 = t10 == null ? _null : t10.length; - if (t10 == null) - t10 = 0; - t11 = _this._pwdVer; - t11 = t11 == null ? _null : t11.length; - if (t11 == null) - t11 = 0; - dataLen = t8 + t9 + t10 + t11; - t11 = _this.__ZipEncoder__data_A; - t10 = encodedFilename.length; - t11.localFileSize = t11.localFileSize + (30 + t10 + dataLen); - t9 = t11.centralDirectorySize; - t11.centralDirectorySize = t9 + (46 + t10); + 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.set$uncompressedSize(t7.size); - fileData.compress = t7.compress; + fileData.uncompressedSize = t5.size; + fileData.compress = t5.compress; fileData.comment = null; - t8 = _this._output; - fileData.position = t8.length; - t9 = fileData.___ZipFileData_name_A; - t8.writeUint32$1(67324752); + t5 = _this._output; + fileData.position = t5.length; + t6 = fileData.___ZipFileData_name_A; + t5.writeUint32$1(67324752); compressedSize = fileData.compressedSize; - if (compressedSize <= 4294967295) { - t10 = fileData.uncompressedSize; - if (typeof t10 !== "number") - return t10.$gt(); - needsZip64 = t10 > 4294967295; - } else - needsZip64 = true; + needsZip64 = compressedSize > 4294967295 || fileData.uncompressedSize > 4294967295; compressionMethod = fileData.compress ? 8 : 0; lastModFileTime = fileData.time; lastModFileDate = fileData.date; @@ -63242,7 +64585,7 @@ if (needsZip64) compressedSize = _4294967295; uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; - extra = A._setArrayType([], t4); + extra = A._setArrayType([], t3); if (needsZip64) { out = new A.OutputStream(new Uint8Array(32768)); out.writeByte$1(1); @@ -63251,62 +64594,50 @@ 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)); + t7 = out._output_stream$_buffer.buffer; + t8 = out.length; + t7 = new Uint8Array(t7, 0, t8); + B.JSArray_methods.addAll$1(extra, t7); } compressedData = fileData.compressedData; - t3._as(t9); - encodedFilename = B.C_Utf8Codec.get$encoder().convert$1(t9); - t8.writeUint16$1(20); - t8.writeUint16$1(2048); - t8.writeUint16$1(compressionMethod); - t8.writeUint16$1(lastModFileTime); - t8.writeUint16$1(lastModFileDate); - t8.writeUint32$1(crc32); - t8.writeUint32$1(compressedSize); - t8.writeUint32$1(uncompressedSize); - t8.writeUint16$1(encodedFilename.length); - t8.writeUint16$1(extra.length); - t8.writeBytes$1(encodedFilename); - t8.writeBytes$1(extra); + encodedFilename = B.C_Utf8Encoder.convert$1(t6); + t5.writeUint16$1(20); + t5.writeUint16$1(2048); + t5.writeUint16$1(compressionMethod); + t5.writeUint16$1(lastModFileTime); + t5.writeUint16$1(lastModFileDate); + t5.writeUint32$1(crc32); + t5.writeUint32$1(compressedSize); + t5.writeUint32$1(uncompressedSize); + t5.writeUint16$1(encodedFilename.length); + t5.writeUint16$1(extra.length); + t5.writeBytes$1(encodedFilename); + t5.writeBytes$1(extra); if (compressedData != null) - t8.writeInputStream$1(compressedData); + t5.writeInputStream$1(compressedData); fileData.compressedData = null; - t8 = t7._rawContent; - if (t8 instanceof A.InputStreamBase) { - t8.set$buffer(0, A._setArrayType([], t4)); - t8.__InputStream__length_A = 0; - } - t7._rawContent = t7._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); + t1 = A.NativeUint8List_NativeUint8List$view(output._output_stream$_buffer.buffer, 0, output.length); return t1; }, getFileCrc32$1(file) { - if (file.get$content(file) == null) + if (file.get$content(0) == null) return 0; - file.get$content(file); - return A.getCrc32(type$.List_int._as(file.get$content(file)), 0); + file.get$content(0); + return A.getCrc32(type$.List_int._as(file.get$content(0)), 0); }, _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; + var encodedComment, centralDirPosition, t1, t2, zipNeedsZip64, _i, t3, fileData, needsZip64, compressionMethod, lastModifiedFileTime, lastModifiedFileDate, crc32, compressedSize, uncompressedSize, localHeaderOffset, extraField, out, t4, t5, fileComment, 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(""); + encodedComment = B.C_Utf8Encoder.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) { + for (t1 = files.length, t2 = type$.JSArray_int, zipNeedsZip64 = false, _i = 0; t3 = files.length, _i < t3; files.length === t1 || (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; + needsZip64 = fileData.compressedSize > 4294967295 || fileData.uncompressedSize > 4294967295 || fileData.position > 4294967295; zipNeedsZip64 = B.JSBool_methods.$or(zipNeedsZip64, needsZip64); compressionMethod = fileData.compress ? 8 : 0; lastModifiedFileTime = fileData.time; @@ -63314,9 +64645,9 @@ crc32 = fileData.crc32; compressedSize = needsZip64 ? _4294967295 : fileData.compressedSize; uncompressedSize = needsZip64 ? _4294967295 : fileData.uncompressedSize; - t4 = fileData.mode; + t3 = fileData.mode; localHeaderOffset = needsZip64 ? _4294967295 : fileData.position; - extraField = A._setArrayType([], t3); + extraField = A._setArrayType([], t2); if (needsZip64) { out = new A.OutputStream(new Uint8Array(32768)); out.writeByte$1(1); @@ -63326,17 +64657,18 @@ 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)); + t4 = out._output_stream$_buffer.buffer; + t5 = out.length; + t4 = new Uint8Array(t4, 0, t5); + B.JSArray_methods.addAll$1(extraField, t4); } 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); + t4 = fileData.___ZipFileData_name_A; + t4 === $ && A.throwLateFieldNI("name"); + encodedFilename = B.C_Utf8Encoder.convert$1(t4); + encodedFileComment = B.C_Utf8Encoder.convert$1(fileComment); output.writeUint32$1(33639248); output.writeUint16$1(20); output.writeUint16$1(20); @@ -63352,7 +64684,7 @@ output.writeUint16$1(encodedFileComment.length); output.writeUint16$1(0); output.writeUint16$1(0); - output.writeUint32$1(t4 << 16 >>> 0); + output.writeUint32$1(t3 << 16 >>> 0); output.writeUint32$1(localHeaderOffset); output.writeBytes$1(encodedFilename); output.writeBytes$1(extraField); @@ -63360,7 +64692,7 @@ } t1 = output.length; centralDirectorySize = t1 - centralDirPosition; - needsZip64 = zipNeedsZip64 || t4 > 65535 || centralDirectorySize > 4294967295 || centralDirPosition > 4294967295; + needsZip64 = zipNeedsZip64 || t3 > 65535 || centralDirectorySize > 4294967295 || centralDirPosition > 4294967295; if (needsZip64) { output.writeUint32$1(101075792); output.writeUint64$1(44); @@ -63368,8 +64700,8 @@ output.writeUint16$1(45); output.writeUint32$1(0); output.writeUint32$1(0); - output.writeUint64$1(t4); - output.writeUint64$1(t4); + output.writeUint64$1(t3); + output.writeUint64$1(t3); output.writeUint64$1(centralDirectorySize); output.writeUint64$1(centralDirPosition); output.writeUint32$1(117853008); @@ -63380,8 +64712,8 @@ 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.writeUint16$1(needsZip64 ? 65535 : t3); + output.writeUint16$1(needsZip64 ? 65535 : t3); output.writeUint32$1(needsZip64 ? _4294967295 : centralDirectorySize); output.writeUint32$1(needsZip64 ? _4294967295 : centralDirPosition); output.writeUint16$1(encodedComment.length); @@ -63390,22 +64722,20 @@ }; A.Deflate.prototype = { _deflate$1(flush) { - var t1, bstate, t2, i, _this = this; - if (flush > 4 || false) + var t1, t2, bstate, i, _this = this; + if (flush > 4) throw A.wrapException(A.ArchiveException$("Invalid Deflate Parameter")); t1 = _this.__Deflate__pending_A; t1 === $ && A.throwLateFieldNI("_pending"); if (t1 !== 0) _this._flushPending$0(); + t1 = true; if (_this._deflate$_input.get$isEOS()) { - t1 = _this.__Deflate__lookAhead_A; - t1 === $ && A.throwLateFieldNI("_lookAhead"); - if (t1 === 0) + t2 = _this.__Deflate__lookAhead_A; + t2 === $ && A.throwLateFieldNI("_lookAhead"); + if (t2 === 0) t1 = flush !== 0 && _this._status !== 666; - else - t1 = true; - } else - t1 = true; + } if (t1) { switch ($.Deflate____config._readField$0().$function) { case 0: @@ -63429,7 +64759,7 @@ if (bstate === 1) { if (flush === 1) { _this._sendBits$2(2, 3); - _this._sendCode$2(256, B.List_Xg4); + _this._sendCode$2(256, B.List_aWd); _this.biFlush$0(); t1 = _this.__Deflate__lastEOBLen_A; t1 === $ && A.throwLateFieldNI("_lastEOBLen"); @@ -63437,7 +64767,7 @@ t2 === $ && A.throwLateFieldNI("_numValidBits"); if (1 + t1 + 10 - t2 < 9) { _this._sendBits$2(2, 3); - _this._sendCode$2(256, B.List_Xg4); + _this._sendCode$2(256, B.List_aWd); _this.biFlush$0(); } _this.__Deflate__lastEOBLen_A = 7; @@ -63556,7 +64886,7 @@ t1[k] = v; }, _scanTree$2(tree, maxCode) { - var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, + var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, minCount0, _s14_ = "_bitLengthTree", t1 = tree.length; if (1 >= t1) @@ -63582,35 +64912,38 @@ ++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) { + else { + minCount0 = 3; + if (count < minCount) { t2 === $ && A.throwLateFieldNI(_s14_); t3 = nextLen * 2; if (!(t3 >= 0 && t3 < 78)) return A.ioore(t2, t3); - t2[t3] = t2[t3] + 1; + 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; + } + 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; } - 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; } if (nextLen0 === 0) { + minCount = minCount0; maxCount = 138; - minCount = 3; } else if (nextLen === nextLen0) { + minCount = minCount0; maxCount = 6; - minCount = 3; } else { maxCount = 7; minCount = 4; @@ -63634,7 +64967,7 @@ _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; + t2 = B.List_O5O[maxBLIndex] * 2 + 1; if (!(t2 < 78)) return A.ioore(t1, t2); if (t1[t2] !== 0) @@ -63655,8 +64988,8 @@ 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; + return A.ioore(B.List_O5O, rank); + t3 = B.List_O5O[rank] * 2 + 1; if (!(t3 < 78)) return A.ioore(t2, t3); _this._sendBits$2(t2[t3], 3); @@ -63669,7 +65002,7 @@ _this._sendTree$2(t2, t1); }, _sendTree$2(tree, maxCode) { - var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, t4, t5, t6, _this = this, + var nextLen, maxCount, minCount, t2, n, prevLen, count, t3, nextLen0, minCount0, t4, t5, t6, _this = this, _s14_ = "_bitLengthTree", t1 = tree.length; if (1 >= t1) @@ -63691,60 +65024,63 @@ ++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) { + else { + minCount0 = 3; + 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); - 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); + _this._sendBits$2(t3[32] & 65535, t3[33] & 65535); + _this._sendBits$2(count - 3, 2); } else { - t3 === $ && A.throwLateFieldNI(_s14_); - t2._as(t3); - _this._sendBits$2(t3[36] & 65535, t3[37] & 65535); - _this._sendBits$2(count - 11, 7); + 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) { + minCount = minCount0; maxCount = 138; - minCount = 3; } else if (nextLen === nextLen0) { + minCount = minCount0; maxCount = 6; - minCount = 3; } else { maxCount = 7; minCount = 4; @@ -63810,9 +65146,8 @@ 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); + _this.__Deflate__bitBuffer_A = A._rshift(valueRenamed, 16 - _this.__Deflate__numValidBits_A); + _this.__Deflate__numValidBits_A = _this.__Deflate__numValidBits_A + ($length - 16); } else { t2 === $ && A.throwLateFieldNI(_s10_); _this.__Deflate__bitBuffer_A = (t2 | B.JSInt_methods.$shl(valueRenamed, t1) & 65535) >>> 0; @@ -63820,7 +65155,7 @@ } }, _trTally$2(dist, lc) { - var t2, t3, t4, t5, outLength, dcode, _this = this, + var t2, t3, t4, outLength, dcode, _this = this, _s18_ = "_dynamicLengthTree", _s8_ = "_matches", _s16_ = "_dynamicDistTree", @@ -63830,23 +65165,26 @@ 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; + t3 = t2 + t3 * 2; + t2 = A._rshift(dist, 8); + if (!(t3 < t1.length)) + return A.ioore(t1, t3); + t1[t3] = t2; + t2 = _this.__Deflate__pendingBuffer_A; + t3 = _this.__Deflate__dbuf_A; + t1 = _this.__Deflate__lastLit_A; + t3 = t3 + t1 * 2 + 1; + t4 = t2.length; + if (!(t3 < t4)) + return A.ioore(t2, t3); + t2[t3] = dist; + t3 = _this.__Deflate__lbuf_A; + t3 === $ && A.throwLateFieldNI("_lbuf"); + t3 += t1; + if (!(t3 < t4)) + return A.ioore(t2, t3); + t2[t3] = lc; + _this.__Deflate__lastLit_A = t1 + 1; if (dist === 0) { t1 = _this.__Deflate__dynamicLengthTree_A; t1 === $ && A.throwLateFieldNI(_s18_); @@ -63861,8 +65199,8 @@ 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; + return A.ioore(B.List_8D4, lc); + t2 = (B.List_8D4[lc] + 256 + 1) * 2; if (!(t2 < 1146)) return A.ioore(t1, t2); t1[t2] = t1[t2] + 1; @@ -63882,22 +65220,24 @@ 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]); + t1 = _this.__Deflate__strStart_A; + t1 === $ && A.throwLateFieldNI("_strStart"); + t2 = _this.__Deflate__blockStart_A; + t2 === $ && A.throwLateFieldNI("_blockStart"); + for (t3 = _this.__Deflate__dynamicDistTree_A, dcode = 0; dcode < 30; ++dcode) { + t3 === $ && A.throwLateFieldNI(_s16_); + t4 = dcode * 2; + if (!(t4 < 122)) + return A.ioore(t3, t4); + outLength += t3[t4] * (5 + B.List_lnn[dcode]); } outLength = A._rshift(outLength, 3); - t4 = _this.__Deflate__matches_A; - t4 === $ && A.throwLateFieldNI(_s8_); - if (t4 < t1 / 2 && outLength < (t2 - t3) / 2) + t3 = _this.__Deflate__matches_A; + t3 === $ && A.throwLateFieldNI(_s8_); + t4 = _this.__Deflate__lastLit_A; + if (t3 < t4 / 2 && outLength < (t1 - t2) / 2) return true; + t1 = t4; } t2 = _this.__Deflate__litBufferSize_A; t2 === $ && A.throwLateFieldNI("_litBufferSize"); @@ -63936,21 +65276,21 @@ if (dist === 0) _this._sendCode$2(lc, ltree); else { - code = B.List_NUU[lc]; + code = B.List_8D4[lc]; _this._sendCode$2(code + 256 + 1, ltree); if (!(code < 29)) - return A.ioore(B.List_qQn, code); - extra = B.List_qQn[code]; + return A.ioore(B.List_mlp, code); + extra = B.List_mlp[code]; if (extra !== 0) - _this._sendBits$2(lc - B.List_qQn0[code], extra); + _this._sendBits$2(lc - B.List_mlp0[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]; + return A.ioore(B.List_lnn, code); + extra = B.List_lnn[code]; if (extra !== 0) - _this._sendBits$2(dist - B.List_X3d0[code], extra); + _this._sendBits$2(dist - B.List_lnn0[code], extra); } } while (lx < _this.__Deflate__lastLit_A); } @@ -64060,7 +65400,7 @@ _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); + _this._compressBlock$2(B.List_aWd, B.List_66y); } else { _this._sendBits$2(4 + (eof ? 1 : 0), 3); t1 = _this._lDesc.___HuffmanTree_maxCode_A; @@ -64222,150 +65562,150 @@ } while (t2 < 262 && !t1.get$isEOS()); }, _deflateFast$1(flush) { - var t1, hashHead, t2, t3, t4, t5, t6, t7, bflush, t8, _this = this, + var t1, t2, hashHead, t3, t4, t5, t6, t7, t8, bflush, t9, _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) { + for (t1 = flush === 0, t2 = $.Deflate____config._name, hashHead = 0; true;) { + t3 = _this.__Deflate__lookAhead_A; + t3 === $ && A.throwLateFieldNI("_lookAhead"); + if (t3 < 262) { _this._fillWindow$0(); - t2 = _this.__Deflate__lookAhead_A; - if (t2 < 262 && t1) + t3 = _this.__Deflate__lookAhead_A; + if (t3 < 262 && t1) return 0; - if (t2 === 0) + if (t3 === 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 (t3 >= 3) { + t3 = _this.__Deflate__insertHash_A; + t3 === $ && A.throwLateFieldNI(_s11_); + t4 = _this.__Deflate__hashShift_A; + t4 === $ && A.throwLateFieldNI(_s10_); + t4 = B.JSInt_methods.$shl(t3, t4); + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI(_s7_); + t5 = _this.__Deflate__strStart_A; + t5 === $ && A.throwLateFieldNI(_s9_); + t6 = t5 + 2; + if (!(t6 >= 0 && t6 < t3.length)) + return A.ioore(t3, t6); + t6 = t3[t6]; + t3 = _this.__Deflate__hashMask_A; + t3 === $ && A.throwLateFieldNI(_s9_0); + t3 = ((t4 ^ t6 & 255) & t3) >>> 0; + _this.__Deflate__insertHash_A = t3; + t6 = _this.__Deflate__head_A; + t6 === $ && A.throwLateFieldNI("_head"); + if (!(t3 < t6.length)) + return A.ioore(t6, t3); + t4 = t6[t3]; + hashHead = t4 & 65535; + t7 = _this.__Deflate__prev_A; + t7 === $ && A.throwLateFieldNI("_prev"); + t8 = _this.__Deflate__windowMask_A; + t8 === $ && A.throwLateFieldNI(_s11_0); + t8 = (t5 & t8) >>> 0; + if (!(t8 >= 0 && t8 < t7.length)) + return A.ioore(t7, t8); + t7[t8] = t4; + t6[t3] = t5; } 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; + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + t4 = _this.__Deflate__windowSize_A; + t4 === $ && A.throwLateFieldNI("_windowSize"); + t4 = (t3 - hashHead & 65535) <= t4 - 262; + t3 = t4; } else - t2 = false; - if (t2) { - t2 = _this.__Deflate__strategy_A; - t2 === $ && A.throwLateFieldNI("_strategy"); - if (t2 !== 2) + t3 = false; + if (t3) { + t3 = _this.__Deflate__strategy_A; + t3 === $ && A.throwLateFieldNI("_strategy"); + if (t3 !== 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; + t3 = _this.__Deflate__matchLength_A; + t3 === $ && A.throwLateFieldNI("_matchLength"); + t4 = _this.__Deflate__strStart_A; + if (t3 >= 3) { + t4 === $ && A.throwLateFieldNI(_s9_); + bflush = _this._trTally$2(t4 - _this._matchStart, t3 - 3); + t3 = _this.__Deflate__lookAhead_A; + t4 = _this.__Deflate__matchLength_A; + t3 -= t4; + _this.__Deflate__lookAhead_A = t3; + t5 = $.Deflate____config._value; + if (t5 === $.Deflate____config) + A.throwExpression(A.LateError$fieldNI(t2)); + if (t4 <= t5.maxLazy && t3 >= 3) { + t3 = _this.__Deflate__matchLength_A = t4 - 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; + t4 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; + t5 = _this.__Deflate__insertHash_A; + t5 === $ && A.throwLateFieldNI(_s11_); + t6 = _this.__Deflate__hashShift_A; + t6 === $ && A.throwLateFieldNI(_s10_); + t6 = B.JSInt_methods.$shl(t5, t6); + t5 = _this.__Deflate__window_A; + t5 === $ && A.throwLateFieldNI(_s7_); + t7 = t4 + 2; + if (!(t7 >= 0 && t7 < t5.length)) + return A.ioore(t5, t7); + t7 = t5[t7]; + t5 = _this.__Deflate__hashMask_A; + t5 === $ && A.throwLateFieldNI(_s9_0); + t5 = ((t6 ^ t7 & 255) & t5) >>> 0; + _this.__Deflate__insertHash_A = t5; + t7 = _this.__Deflate__head_A; + t7 === $ && A.throwLateFieldNI("_head"); + if (!(t5 < t7.length)) + return A.ioore(t7, t5); + t6 = t7[t5]; + hashHead = t6 & 65535; + t8 = _this.__Deflate__prev_A; + t8 === $ && A.throwLateFieldNI("_prev"); + t9 = _this.__Deflate__windowMask_A; + t9 === $ && A.throwLateFieldNI(_s11_0); + t9 = (t4 & t9) >>> 0; + if (!(t9 >= 0 && t9 < t8.length)) + return A.ioore(t8, t9); + t8[t9] = t6; + t7[t5] = t4; + } while (t3 = _this.__Deflate__matchLength_A = t3 - 1, t3 !== 0); + _this.__Deflate__strStart_A = t4 + 1; } else { - t2 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + t3; + t3 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + t4; _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; + t4 = _this.__Deflate__window_A; + t4 === $ && A.throwLateFieldNI(_s7_); + t5 = t4.length; + if (!(t3 >= 0 && t3 < t5)) + return A.ioore(t4, t3); + t6 = t4[t3] & 255; + _this.__Deflate__insertHash_A = t6; + t7 = _this.__Deflate__hashShift_A; + t7 === $ && A.throwLateFieldNI(_s10_); + t7 = B.JSInt_methods.$shl(t6, t7); + ++t3; + if (!(t3 < t5)) + return A.ioore(t4, t3); + t3 = t4[t3]; + t4 = _this.__Deflate__hashMask_A; + t4 === $ && A.throwLateFieldNI(_s9_0); + _this.__Deflate__insertHash_A = ((t7 ^ t3 & 255) & t4) >>> 0; } } 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); + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI(_s7_); + t4 === $ && A.throwLateFieldNI(_s9_); + if (!(t4 >= 0 && t4 < t3.length)) + return A.ioore(t3, t4); + bflush = _this._trTally$2(0, t3[t4] & 255); _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; } @@ -64377,7 +65717,7 @@ return t1 ? 3 : 1; }, _deflateSlow$1(flush) { - var t1, hashHead, t2, t3, t4, t5, t6, t7, maxInsert, bflush, t8, _this = this, + var t1, t2, hashHead, t3, t4, t5, t6, t7, t8, maxInsert, bflush, t9, _this = this, _s11_ = "_insertHash", _s10_ = "_hashShift", _s7_ = "_window", @@ -64385,167 +65725,167 @@ _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) { + for (t1 = flush === 0, t2 = $.Deflate____config._name, hashHead = 0; true;) { + t3 = _this.__Deflate__lookAhead_A; + t3 === $ && A.throwLateFieldNI("_lookAhead"); + if (t3 < 262) { _this._fillWindow$0(); - t2 = _this.__Deflate__lookAhead_A; - if (t2 < 262 && t1) + t3 = _this.__Deflate__lookAhead_A; + if (t3 < 262 && t1) return 0; - if (t2 === 0) + if (t3 === 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; + if (t3 >= 3) { + t3 = _this.__Deflate__insertHash_A; + t3 === $ && A.throwLateFieldNI(_s11_); + t4 = _this.__Deflate__hashShift_A; + t4 === $ && A.throwLateFieldNI(_s10_); + t4 = B.JSInt_methods.$shl(t3, t4); + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI(_s7_); + t5 = _this.__Deflate__strStart_A; + t5 === $ && A.throwLateFieldNI(_s9_); + t6 = t5 + 2; + if (!(t6 >= 0 && t6 < t3.length)) + return A.ioore(t3, t6); + t6 = t3[t6]; + t3 = _this.__Deflate__hashMask_A; + t3 === $ && A.throwLateFieldNI(_s9_0); + t3 = ((t4 ^ t6 & 255) & t3) >>> 0; + _this.__Deflate__insertHash_A = t3; + t6 = _this.__Deflate__head_A; + t6 === $ && A.throwLateFieldNI("_head"); + if (!(t3 < t6.length)) + return A.ioore(t6, t3); + t4 = t6[t3]; + hashHead = t4 & 65535; + t7 = _this.__Deflate__prev_A; + t7 === $ && A.throwLateFieldNI("_prev"); + t8 = _this.__Deflate__windowMask_A; + t8 === $ && A.throwLateFieldNI(_s11_0); + t8 = (t5 & t8) >>> 0; + if (!(t8 >= 0 && t8 < t7.length)) + return A.ioore(t7, t8); + t7[t8] = t4; + t6[t3] = t5; + } + t3 = _this.__Deflate__matchLength_A; + t3 === $ && A.throwLateFieldNI("_matchLength"); + _this.__Deflate__prevLength_A = t3; _this.__Deflate__prevMatch_A = _this._matchStart; _this.__Deflate__matchLength_A = 2; + t4 = false; 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; + t5 = $.Deflate____config._value; + if (t5 === $.Deflate____config) + A.throwExpression(A.LateError$fieldNI(t2)); + if (t3 < t5.maxLazy) { + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + t4 = _this.__Deflate__windowSize_A; + t4 === $ && A.throwLateFieldNI("_windowSize"); + t4 = (t3 - hashHead & 65535) <= t4 - 262; + t3 = t4; } else - t2 = false; + t3 = t4; } 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; + t3 = t4; + t4 = 2; + if (t3) { + t3 = _this.__Deflate__strategy_A; + t3 === $ && A.throwLateFieldNI("_strategy"); + if (t3 !== 2) { + t3 = _this._longestMatch$1(hashHead); + _this.__Deflate__matchLength_A = t3; } 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) { + t3 = t4; + t5 = false; + if (t3 <= 5) + if (_this.__Deflate__strategy_A !== 1) { + if (t3 === 3) { + t5 = _this.__Deflate__strStart_A; + t5 === $ && A.throwLateFieldNI(_s9_); + t5 = t5 - _this._matchStart > 4096; + } + } else + t5 = true; + if (t5) { _this.__Deflate__matchLength_A = 2; - t2 = 2; + t3 = t4; } } 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; + t3 = t4; + t4 = _this.__Deflate__prevLength_A; + if (t4 >= 3 && t3 <= t4) { + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + maxInsert = t3 + _this.__Deflate__lookAhead_A - 3; + bflush = _this._trTally$2(t3 - 1 - _this.__Deflate__prevMatch_A, t4 - 3); + t4 = _this.__Deflate__lookAhead_A; + t3 = _this.__Deflate__prevLength_A; + _this.__Deflate__lookAhead_A = t4 - (t3 - 1); + t3 = _this.__Deflate__prevLength_A = t3 - 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; + t4 = _this.__Deflate__strStart_A = _this.__Deflate__strStart_A + 1; + if (t4 <= maxInsert) { + t5 = _this.__Deflate__insertHash_A; + t5 === $ && A.throwLateFieldNI(_s11_); + t6 = _this.__Deflate__hashShift_A; + t6 === $ && A.throwLateFieldNI(_s10_); + t6 = B.JSInt_methods.$shl(t5, t6); + t5 = _this.__Deflate__window_A; + t5 === $ && A.throwLateFieldNI(_s7_); + t7 = t4 + 2; + if (!(t7 >= 0 && t7 < t5.length)) + return A.ioore(t5, t7); + t7 = t5[t7]; + t5 = _this.__Deflate__hashMask_A; + t5 === $ && A.throwLateFieldNI(_s9_0); + t5 = ((t6 ^ t7 & 255) & t5) >>> 0; + _this.__Deflate__insertHash_A = t5; + t7 = _this.__Deflate__head_A; + t7 === $ && A.throwLateFieldNI("_head"); + if (!(t5 < t7.length)) + return A.ioore(t7, t5); + t6 = t7[t5]; + hashHead = t6 & 65535; + t8 = _this.__Deflate__prev_A; + t8 === $ && A.throwLateFieldNI("_prev"); + t9 = _this.__Deflate__windowMask_A; + t9 === $ && A.throwLateFieldNI(_s11_0); + t9 = (t4 & t9) >>> 0; + if (!(t9 >= 0 && t9 < t8.length)) + return A.ioore(t8, t9); + t8[t9] = t6; + t7[t5] = t4; } - } while (t2 = _this.__Deflate__prevLength_A = t2 - 1, t2 !== 0); + } while (t3 = _this.__Deflate__prevLength_A = t3 - 1, t3 !== 0); _this.__Deflate__matchAvailable_A = 0; _this.__Deflate__matchLength_A = 2; - _this.__Deflate__strStart_A = t3 + 1; + _this.__Deflate__strStart_A = t4 + 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)) + t3 = _this.__Deflate__matchAvailable_A; + t3 === $ && A.throwLateFieldNI(_s15_); + if (t3 !== 0) { + t3 = _this.__Deflate__window_A; + t3 === $ && A.throwLateFieldNI(_s7_); + t4 = _this.__Deflate__strStart_A; + t4 === $ && A.throwLateFieldNI(_s9_); + --t4; + if (!(t4 >= 0 && t4 < t3.length)) + return A.ioore(t3, t4); + if (_this._trTally$2(0, t3[t4] & 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; + t3 = _this.__Deflate__strStart_A; + t3 === $ && A.throwLateFieldNI(_s9_); + _this.__Deflate__strStart_A = t3 + 1; _this.__Deflate__lookAhead_A = _this.__Deflate__lookAhead_A - 1; } } @@ -64609,6 +65949,7 @@ t4 = t1.length; if (!(t2 >= 0 && t2 < t4)) return A.ioore(t1, t2); + t5 = true; if (t1[t2] === scanEnd) { --t2; if (!(t2 >= 0)) @@ -64630,16 +65971,16 @@ t5 = t2 !== t1[t5]; t2 = t5; } else { + t2 = t5; match = curMatch; - t2 = true; } } else { + t2 = t5; match = curMatch; - t2 = true; } } else { + t2 = t5; match = curMatch; - t2 = true; } if (t2) break c$0; @@ -64653,6 +65994,7 @@ ++match; if (!(match >= 0 && match < t4)) return A.ioore(t1, match); + t5 = false; if (t2 === t1[match]) { ++scan0; if (!(scan0 < t4)) @@ -64711,19 +66053,19 @@ return A.ioore(t1, match); t2 = t2 === t1[match] && scan0 < strend; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } else - t2 = false; + t2 = t5; } while (t2); len = 258 - (strend - scan0); if (len > bestLen) { @@ -64764,17 +66106,17 @@ return t1; }, _readBuf$3(buf, start, size) { - var data, len, bytes, t1, _this = this; + var data, len, bytes, len0, _this = this; if (size === 0 || _this._deflate$_input.get$isEOS()) return 0; data = _this._deflate$_input.readBytes$1(size); - len = data.get$length(data); + len = data.get$length(0); 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); + len0 = bytes.length; + if (len > len0) + len = len0; B.NativeUint8List_methods.setRange$3(buf, start, start + len, bytes); _this.total += len; _this.crc32 = A.getCrc32(bytes, _this.crc32); @@ -64987,6 +66329,8 @@ if (!(t6 >= 0 && t6 < t2)) return A.ioore(t1, t6); t1[t6] = 1; + if (!(node >= 0)) + return A.ioore(t4, node); t4[node] = 0; t7 = s.__Deflate__optimalLen_A; t7 === $ && A.throwLateFieldNI("_optimalLen"); @@ -65072,39 +66416,45 @@ 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); + var i, t1, t2, size, bitLength, code, skip, rtemp, reversed, j, t3, _this = this, + listSize = lengths.length; for (i = 0; i < listSize; ++i) { - t2 = t1.$index(lengths, i); - t3 = _this.maxCodeLength; - if (typeof t2 !== "number") - return t2.$gt(); - 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 (t2 < t3) - _this.set$minCodeLength(t1.$index(lengths, i)); + if (!(i < lengths.length)) + return A.ioore(lengths, i); + t1 = lengths[i]; + t2 = _this.maxCodeLength; + if (typeof t1 !== "number") + return t1.$gt(); + if (t1 > t2) + _this.set$maxCodeLength(t1); + if (!(i < lengths.length)) + return A.ioore(lengths, i); + t1 = lengths[i]; + t2 = _this.minCodeLength; + if (typeof t1 !== "number") + return t1.$lt(); + if (t1 < t2) + _this.set$minCodeLength(t1); } size = B.JSInt_methods.$shl(1, _this.maxCodeLength); _this.__HuffmanTable_table_A = new Uint32Array(size); for (bitLength = 1, code = 0, skip = 2; bitLength <= _this.maxCodeLength;) { - for (t2 = bitLength << 16, i = 0; i < listSize; ++i) - if (J.$eq$(t1.$index(lengths, i), bitLength)) { + for (t1 = bitLength << 16, i = 0; i < listSize; ++i) { + if (!(i < lengths.length)) + return A.ioore(lengths, i); + if (J.$eq$(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; + for (t2 = _this.__HuffmanTable_table_A, t3 = (t1 | i) >>> 0, j = reversed; j < size; j += skip) { + if (!(j >= 0 && j < t2.length)) + return A.ioore(t2, j); + t2[j] = t3; } ++code; } + } ++bitLength; code = code << 1 >>> 0; skip = skip << 1 >>> 0; @@ -65161,23 +66511,23 @@ return (blockHeader & 1) === 0; }, _readBits$1($length) { - var t1, t2, t3, _this = this; + var t1, t2, t3, t4, _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 (t2 >= t1.start + t3) + t2 = _this.__Inflate_input_A; + t2 === $ && A.throwLateFieldNI("input"); + t3 = t2.offset; + t4 = t2.__InputStream__length_A; + t4 === $ && A.throwLateFieldNI("_length"); + if (t3 >= t2.start + t4) return -1; - t3 = t1.buffer; - t1.offset = t2 + 1; - t2 = J.$index$asx(t3, t2); - t3 = _this._bitBuffer; - t1 = _this._bitBufferLen; - _this._bitBuffer = (t3 | B.JSInt_methods.$shl(t2, t1)) >>> 0; + t4 = t2.buffer; + t2.offset = t3 + 1; + if (!(t3 >= 0 && t3 < t4.length)) + return A.ioore(t4, t3); + t3 = t4[t3]; + _this._bitBuffer = (_this._bitBuffer | B.JSInt_methods.$shl(t3, t1)) >>> 0; _this._bitBufferLen = t1 + 8; } t2 = _this._bitBuffer; @@ -65187,24 +66537,24 @@ return (t2 & t3 - 1) >>> 0; }, _readCodeByTable$1(table) { - var maxCodeLength, t2, t3, t4, codeWithLength, codeLength, _this = this, + var maxCodeLength, t2, t3, t4, t5, codeWithLength, codeLength, _this = this, t1 = table.__HuffmanTable_table_A; t1 === $ && A.throwLateFieldNI("table"); maxCodeLength = table.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 (t3 >= t2.start + t4) + t3 = _this.__Inflate_input_A; + t3 === $ && A.throwLateFieldNI("input"); + t4 = t3.offset; + t5 = t3.__InputStream__length_A; + t5 === $ && A.throwLateFieldNI("_length"); + if (t4 >= t3.start + t5) return -1; - t4 = t2.buffer; - t2.offset = t3 + 1; - t3 = J.$index$asx(t4, t3); - t4 = _this._bitBuffer; - t2 = _this._bitBufferLen; - _this._bitBuffer = (t4 | B.JSInt_methods.$shl(t3, t2)) >>> 0; + t5 = t3.buffer; + t3.offset = t4 + 1; + if (!(t4 >= 0 && t4 < t5.length)) + return A.ioore(t5, t4); + t4 = t5[t4]; + _this._bitBuffer = (_this._bitBuffer | B.JSInt_methods.$shl(t4, t2)) >>> 0; _this._bitBufferLen = t2 + 8; } t3 = _this._bitBuffer; @@ -65226,7 +66576,7 @@ return -1; t1 = _this.__Inflate_input_A; t1 === $ && A.throwLateFieldNI("input"); - if (len > t1.get$length(t1)) + if (len > t1.get$length(0)) return -1; _this.output.writeInputStream$1(_this.__Inflate_input_A.readBytes$1(len)); return 0; @@ -65256,7 +66606,7 @@ len = _this._readBits$1(3); if (len === -1) return -1; - t1 = B.List_uSC[i]; + t1 = B.List_O5O[i]; if (!(t1 < 19)) return A.ioore(codeLengths, t1); codeLengths[t1] = len; @@ -65264,8 +66614,8 @@ 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); + litlenLengths = A.NativeUint8List_NativeUint8List$view(litLenDistLengths.buffer, 0, numLitLengthCodes); + distLengths = A.NativeUint8List_NativeUint8List$view(litLenDistLengths.buffer, numLitLengthCodes, numDistanceCodes); if (_this._decode$3(t1, codeLengthsTable, litLenDistLengths) === -1) return -1; return _this._decodeHuffman$2(A.HuffmanTable$(litlenLengths), A.HuffmanTable$(distLengths)); @@ -65284,14 +66634,14 @@ } 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]); + return A.ioore(B.List_mlp1, ti); + codeLength = B.List_mlp1[ti] + _this._readBits$1(B.List_LjY[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]); + return A.ioore(B.List_Wv6, distCode); + distance = B.List_Wv6[distCode] + _this._readBits$1(B.List_lnn[distCode]); for (t2 = -distance; codeLength > distance;) { t1.writeBytes$1(t1.subset$1(t2)); codeLength -= distance; @@ -65311,12 +66661,13 @@ return 0; }, _decode$3(num, table, codeLengths) { - var t1, prev, i, code, repeat, repeat0, i0, _this = this; + var t1, prev, i, code, prev0, 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; + prev0 = 0; switch (code) { case 16: repeat = _this._readBits$1(2); @@ -65341,7 +66692,7 @@ return A.ioore(codeLengths, i); codeLengths[i] = 0; } - prev = 0; + prev = prev0; break; case 18: repeat = _this._readBits$1(7); @@ -65354,7 +66705,7 @@ return A.ioore(codeLengths, i); codeLengths[i] = 0; } - prev = 0; + prev = prev0; break; default: if (code < 0 || code > 15) @@ -65383,15 +66734,16 @@ this.$ti._eval$1("List<1>")._as(other); return J.$add$ansx(this._copy_on_write_list$_list, other); }, - 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>")); - }, contains$1(_, element) { return J.contains$1$asx(this._copy_on_write_list$_list, element); }, elementAt$1(_, index) { return J.elementAt$1$ax(this._copy_on_write_list$_list, index); }, + expand$1$1(_, 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); + }, get$first(_) { return J.get$first$ax(this._copy_on_write_list$_list); }, @@ -65418,8 +66770,8 @@ 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($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); }, get$reversed(_) { return J.get$reversed$ax(this._copy_on_write_list$_list); @@ -65433,8 +66785,8 @@ sublist$2(_, start, end) { return J.sublist$2$ax(this._copy_on_write_list$_list, start, end); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(_, start) { + return this.sublist$2(0, start, null); }, take$1(_, count) { return J.take$1$ax(this._copy_on_write_list$_list, count); @@ -65442,8 +66794,8 @@ toList$1$growable(_, growable) { return J.toList$1$growable$ax(this._copy_on_write_list$_list, growable); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(_) { + return this.toList$1$growable(0, true); }, toSet$0(_) { return J.toSet$0$ax(this._copy_on_write_list$_list); @@ -65468,8 +66820,8 @@ this._copy_on_write_list$_maybeCopyBeforeWrite$0(); J.sort$1$ax(this._copy_on_write_list$_list, compare); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, insert$2(_, index, element) { this.$ti._precomputed1._as(element); @@ -65495,8 +66847,8 @@ this._copy_on_write_list$_maybeCopyBeforeWrite$0(); J.setRange$4$ax(this._copy_on_write_list$_list, start, end, iterable, skipCount); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, toString$0(_) { return J.toString$0$(this._copy_on_write_list$_list); @@ -65526,10 +66878,6 @@ containsKey$1(_, key) { return this._copy_on_write_map$_map.containsKey$1(0, key); }, - get$entries(_) { - var t1 = this._copy_on_write_map$_map; - return t1.get$entries(t1); - }, forEach$1(_, f) { this.$ti._eval$1("~(1,2)")._as(f); return this._copy_on_write_map$_map.forEach$1(0, f); @@ -65556,8 +66904,9 @@ t1 = this._copy_on_write_map$_map; return t1.map$2$1(t1, f, K2, V2); }, - map$1($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + map$1(_, f) { + var t1 = type$.dynamic; + return this.map$2$1(0, f, t1, t1); }, get$values(_) { var t1 = this._copy_on_write_map$_map; @@ -65604,15 +66953,16 @@ var t1 = this._copy_on_write_set$_set; return t1.get$length(t1); }, - 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>")); - }, contains$1(_, element) { return this._copy_on_write_set$_set.contains$1(0, element); }, elementAt$1(_, index) { return this._copy_on_write_set$_set.elementAt$1(0, index); }, + expand$1$1(_, 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(_) { var t1 = this._copy_on_write_set$_set; return t1.get$first(t1); @@ -65641,8 +66991,8 @@ 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($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); }, get$single(_) { var t1 = this._copy_on_write_set$_set; @@ -65657,8 +67007,9 @@ toList$1$growable(_, growable) { return this._copy_on_write_set$_set.toList$1$growable(0, growable); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + where$1(_, test) { + this.$ti._eval$1("bool(1)")._as(test); + return this._copy_on_write_set$_set.where$1(0, test); }, add$1(_, value) { this.$ti._precomputed1._as(value); @@ -65687,7 +67038,7 @@ call$2(h, i) { return A._combine(A._asInt(h), J.get$hashCode$(i)); }, - $signature: 212 + $signature: 210 }; A.BuiltList.prototype = { rebuild$1(updates) { @@ -65702,18 +67053,18 @@ return t1 == null ? this._list$_hashCode = A.hashObjects(this._list) : t1; }, $eq(_, other) { - var t1, t2, i, t3, t4, _this = this; + var t1, t2, i, t3, t4; if (other == null) return false; - if (other === _this) + if (other === this) return true; - if (!(other instanceof A.BuiltList)) + if (!(other instanceof A._BuiltList)) return false; t1 = other._list; - t2 = _this._list; + t2 = this._list; if (t1.length !== t2.length) return false; - if (other.get$hashCode(other) !== _this.get$hashCode(_this)) + if (other.get$hashCode(0) !== this.get$hashCode(0)) return false; for (i = 0; t3 = t2.length, i !== t3; ++i) { if (!(i < t1.length)) @@ -65727,7 +67078,7 @@ return true; }, toString$0(_) { - return A.IterableBase_iterableToFullString(this._list, "[", "]"); + return A.Iterable_iterableToFullString(this._list, "[", "]"); }, $index(_, index) { var t1; @@ -65749,8 +67100,18 @@ 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>")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); + }, + where$1(_, test) { + var t1 = this._list, + t2 = A._arrayInstanceType(t1); + return new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)), t2._eval$1("WhereIterable<1>")); + }, + expand$1$1(_, f, $T) { + var t1 = this._list, + t2 = A._arrayInstanceType(t1); + return new A.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>")); }, contains$1(_, element) { return B.JSArray_methods.contains$1(this._list, element); @@ -65761,8 +67122,8 @@ toList$1$growable(_, growable) { return new A.CopyOnWriteList(growable, this._list, this.$ti._eval$1("CopyOnWriteList<1>")); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + toList$0(_) { + return this.toList$1$growable(0, true); }, get$isEmpty(_) { return this._list.length === 0; @@ -65793,9 +67154,6 @@ return A.ioore(t1, index); return t1[index]; }, - cast$1$0(_, $T) { - return A.CastIterable_CastIterable(this._list, this.$ti._precomputed1, $T); - }, $isIterable: 1, $isBuiltIterable: 1 }; @@ -65849,11 +67207,9 @@ return t1[index]; }, $indexSet(_, index, element) { - var t1; A._asInt(index); - t1 = this.$ti._precomputed1; - t1._as(element); - !$.$get$isSoundMode() && !t1._is(null); + this.$ti._precomputed1._as(element); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(this.get$_safeList(), index, element); }, get$length(_) { @@ -65894,16 +67250,13 @@ throw exception; } }, - setRange$4(_, start, end, iterable, skipCount) { + setRange$3(_, start, end, iterable) { var t1; A._asInt(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); - }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + B.JSArray_methods.setRange$4(this.get$_safeList(), start, end, iterable, 0); }, map$1(_, f) { var t2, t3, t4, t5, result, _this = this, @@ -65970,15 +67323,15 @@ return false; if (other === _this) return true; - if (!(other instanceof A.BuiltListMultimap)) + if (!(other instanceof A._BuiltListMultimap)) return false; t1 = other._list_multimap$_map; t2 = _this._list_multimap$_map; - if (t1._length !== t2._length) + if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; - if (other.get$hashCode(other) !== _this.get$hashCode(_this)) + if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._emptyList, t5 = _this._emptyList; t3.moveNext$0();) { + for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._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; @@ -66009,7 +67362,7 @@ return t1; }, get$length(_) { - return this._list_multimap$_map._length; + return this._list_multimap$_map.__js_helper$_length; }, set$_list_multimap$_keys(_keys) { this._list_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); @@ -66080,8 +67433,7 @@ 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>"))); + _this.set$_list_multimap$_builtMapOwner(new A._BuiltListMultimap(t1, A.BuiltList_BuiltList$from(B.List_empty, t2._rest[1]), t2._eval$1("_BuiltListMultimap<1,2>"))); } t1 = _this._list_multimap$_builtMapOwner; t1.toString; @@ -66212,7 +67564,6 @@ 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(); @@ -66237,15 +67588,15 @@ return false; if (other === _this) return true; - if (!(other instanceof A.BuiltMap)) + if (!(other instanceof A._BuiltMap)) return false; t1 = other._map$_map; t2 = _this._map$_map; - if (t1._length !== t2._length) + if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; - if (other.get$hashCode(other) !== _this.get$hashCode(_this)) + if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1); t3.moveNext$0();) { + for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1); t3.moveNext$0();) { key = t3.__js_helper$_current; if (!J.$eq$(t1.$index(0, key), t2.$index(0, key))) return false; @@ -66272,14 +67623,12 @@ return t1; }, get$length(_) { - return this._map$_map._length; + return this._map$_map.__js_helper$_length; }, get$values(_) { var t1, _this = this; - if (_this._values == null) { - t1 = _this._map$_map; - _this.set$_values(t1.get$values(t1)); - } + if (_this._values == null) + _this.set$_values(_this._map$_map.get$values(0)); t1 = _this._values; t1.toString; return t1; @@ -66288,8 +67637,9 @@ 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>")); }, - map$1($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); + map$1(_, f) { + var t1 = type$.dynamic; + return this.map$2$1(0, f, t1, t1); }, set$_keys(_keys) { this._keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); @@ -66365,12 +67715,11 @@ }; A.MapBuilder.prototype = { build$0() { - var t1, t2, _this = this; + var t1, _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.set$_mapOwner(new A._BuiltMap(_this._mapFactory, t1, _this.$ti._eval$1("_BuiltMap<1,2>"))); } t1 = _this._mapOwner; t1.toString; @@ -66380,11 +67729,11 @@ var replacement, _this = this, t1 = _this.$ti, t2 = t1._eval$1("_BuiltMap<1,2>"); - if (t2._is(map) && true) { + if (t2._is(map)) { 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) { + } else if (map instanceof A._BuiltMap) { replacement = _this._createMap$0(); map._map$_map.forEach$1(0, map.$ti._eval$1("~(1,2)")._as(new A.MapBuilder_replace_closure(_this, replacement))); t1._eval$1("Map<1,2>")._as(replacement); @@ -66416,7 +67765,7 @@ get$length(_) { var t1 = this.__MapBuilder__map_A; t1 === $ && A.throwLateFieldNI("_map"); - return t1._length; + return t1.__js_helper$_length; }, get$_safeMap() { var t1, t2, _this = this; @@ -66468,14 +67817,14 @@ var t1 = this.$this.$ti; this.replacement.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, - $signature: 42 + $signature: 43 }; 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: 42 + $signature: 43 }; A.BuiltSet.prototype = { rebuild$1(updates) { @@ -66492,8 +67841,8 @@ 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")); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + t3 = A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("int(SetBase.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; @@ -66501,23 +67850,23 @@ return t1; }, $eq(_, other) { - var t1, t2, _this = this; + var t1, t2; if (other == null) return false; - if (other === _this) + if (other === this) return true; - if (!(other instanceof A.BuiltSet)) + if (!(other instanceof A._BuiltSet)) return false; t1 = other._set; - t2 = _this._set; + t2 = this._set; if (t1.get$length(t1) !== t2.get$length(t2)) return false; - if (other.get$hashCode(other) !== _this.get$hashCode(_this)) + if (other.get$hashCode(0) !== this.get$hashCode(0)) return false; return t2.containsAll$1(other); }, toString$0(_) { - return A.IterableBase_iterableToFullString(this._set, "{", "}"); + return A.Iterable_iterableToFullString(this._set, "{", "}"); }, get$length(_) { var t1 = this._set; @@ -66531,16 +67880,23 @@ var t1 = this._set; return t1.get$iterator(t1); }, - cast$1$0(_, $T) { - return A.CastIterable_CastIterable(this._set, this.$ti._precomputed1, $T); - }, 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>")); + return new A.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(SetBase.E)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); + }, + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); + }, + where$1(_, test) { + var t1 = this._set, + t2 = A._instanceType(t1); + return new A.WhereIterable(t1, t2._eval$1("bool(SetBase.E)")._as(this.$ti._eval$1("bool(1)")._as(test)), t2._eval$1("WhereIterable")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + expand$1$1(_, f, $T) { + var t1 = this._set, + t2 = A._instanceType(t1); + return new A.ExpandIterable(t1, t2._bind$1($T)._eval$1("Iterable<1>(SetBase.E)")._as(this.$ti._bind$1($T)._eval$1("Iterable<1>(2)")._as(f)), t2._eval$1("@")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, contains$1(_, element) { return this._set.contains$1(0, element); @@ -66550,10 +67906,7 @@ }, toList$1$growable(_, growable) { var t1 = this._set; - return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetMixin.E")); - }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); + return A.List_List$of(t1, growable, A._instanceType(t1)._eval$1("SetBase.E")); }, get$isEmpty(_) { var t1 = this._set; @@ -66565,11 +67918,11 @@ }, take$1(_, n) { var t1 = this._set; - return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); + return A.TakeIterable_TakeIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, skip$1(_, n) { var t1 = this._set; - return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetMixin.E")); + return A.SkipIterable_SkipIterable(t1, n, A._instanceType(t1)._eval$1("SetBase.E")); }, get$first(_) { var t1 = this._set; @@ -66580,8 +67933,7 @@ return t1.get$last(t1); }, get$single(_) { - var t1 = this._set; - return t1.get$single(t1); + return this._set.get$single(0); }, elementAt$1(_, index) { return this._set.elementAt$1(0, index); @@ -66622,7 +67974,7 @@ var set, t3, element, _this = this, t1 = _this.$ti, t2 = t1._eval$1("_BuiltSet<1>"); - if (t2._is(iterable) && true) { + if (t2._is(iterable)) { t2._as(iterable); _this.set$__SetBuilder__set_A(t1._eval$1("Set<1>")._as(iterable._set)); _this.set$_setOwner(iterable); @@ -66668,7 +68020,7 @@ 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>"))); + result.addAll$1(0, new A.EfficientLengthMappedIterable(t2, t4._bind$1(t3)._eval$1("1(SetBase.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); @@ -66729,15 +68081,15 @@ return false; if (other === _this) return true; - if (!(other instanceof A.BuiltSetMultimap)) + if (!(other instanceof A._BuiltSetMultimap)) return false; t1 = other._set_multimap$_map; t2 = _this._set_multimap$_map; - if (t1._length !== t2._length) + if (t1.__js_helper$_length !== t2.__js_helper$_length) return false; - if (other.get$hashCode(other) !== _this.get$hashCode(_this)) + if (other.get$hashCode(0) !== _this.get$hashCode(0)) return false; - for (t3 = _this.get$keys(_this), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._precomputed1), t4 = other._emptySet, t5 = _this._emptySet; t3.moveNext$0();) { + for (t3 = _this.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._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; @@ -66768,7 +68120,7 @@ return t1; }, get$length(_) { - return this._set_multimap$_map._length; + return this._set_multimap$_map.__js_helper$_length; }, set$_set_multimap$_keys(_keys) { this._set_multimap$_keys = this.$ti._eval$1("Iterable<1>?")._as(_keys); @@ -66820,8 +68172,7 @@ 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>"))); + _this.set$_builtMapOwner(new A._BuiltSetMultimap(t1, A.BuiltSet_BuiltSet$from(B.List_empty, t2._rest[1]), t2._eval$1("_BuiltSetMultimap<1,2>"))); } t1 = _this._builtMapOwner; t1.toString; @@ -66941,7 +68292,7 @@ $._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2; return new A.IndentingBuiltValueToStringHelper(t1); }, - $signature: 213 + $signature: 211 }; A.IndentingBuiltValueToStringHelper.prototype = { add$2(_, field, value) { @@ -66949,11 +68300,13 @@ if (value != null) { t1 = this._result; t1.toString; - t2 = t1._contents += B.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); + t2 = B.JSString_methods.$mul(" ", $._indentingBuiltValueToStringHelperIndent); + t2 = t1._contents += t2; t2 += field; t1._contents = t2; t1._contents = t2 + "="; - t2 = t1._contents += A.S(value); + t2 = A.S(value); + t2 = t1._contents += t2; t1._contents = t2 + ",\n"; } }, @@ -66963,7 +68316,8 @@ $._indentingBuiltValueToStringHelperIndent = t1; t2 = this._result; t2.toString; - t1 = t2._contents += B.JSString_methods.$mul(" ", t1); + t1 = B.JSString_methods.$mul(" ", t1); + t1 = t2._contents += t1; t2._contents = t1 + "}"; stringResult = J.toString$0$(this._result); this._result = null; @@ -66972,8 +68326,7 @@ }; 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.'; + return 'Tried to construct class "' + this.type + '" with null for non-nullable field "' + this.field + '".'; } }; A.BuiltValueNestedFieldError.prototype = { @@ -67075,34 +68428,34 @@ call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Object); }, - $signature: 214 + $signature: 212 }; A.Serializers_Serializers_closure0.prototype = { call$0() { var t1 = type$.Object; return A.ListMultimapBuilder_ListMultimapBuilder(t1, t1); }, - $signature: 216 + $signature: 214 }; A.Serializers_Serializers_closure1.prototype = { call$0() { var t1 = type$.Object; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 217 + $signature: 215 }; A.Serializers_Serializers_closure2.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.Object); }, - $signature: 218 + $signature: 216 }; A.Serializers_Serializers_closure3.prototype = { call$0() { var t1 = type$.Object; return A.SetMultimapBuilder_SetMultimapBuilder(t1, t1); }, - $signature: 225 + $signature: 223 }; A.FullType.prototype = { $eq(_, other) { @@ -67154,7 +68507,7 @@ }; A.DeserializationError.prototype = { toString$0(_) { - return "Deserializing '" + this.json + "' to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); + return "Deserializing to '" + this.type.toString$0(0) + "' failed due to: " + this.error.toString$0(0); } }; A.BigIntSerializer.prototype = { @@ -67234,7 +68587,7 @@ 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) + "'.")); + throw A.wrapException(A.StateError$(A._noSerializerMessageFor(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)); @@ -67274,7 +68627,6 @@ }, _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) { @@ -67283,7 +68635,7 @@ wireName = A._asString(t1.get$first(object)); serializer = _this._wireNameToSerializer._map$_map.$index(0, wireName); if (serializer == null) - throw A.wrapException(A.StateError$(_s19_ + wireName + "'.")); + throw A.wrapException(A.StateError$(A._noSerializerMessageFor(wireName))); if (type$.StructuredSerializer_dynamic._is(serializer)) try { t1 = serializer.deserialize$2(_this, t1.sublist$1(object, 1)); @@ -67317,7 +68669,7 @@ 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) + "'.")); + throw A.wrapException(A.StateError$(A._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); @@ -67376,7 +68728,7 @@ t8 = t7.$ti; t8._eval$1("_BuiltMap<1,2>")._as(t7); t9 = _this.serializerPlugins; - 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)); + return new A.BuiltJsonSerializersBuilder(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t3._mapFactory, t3._map$_map, t3, t4._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t5._mapFactory, t5._map$_map, t5, t6._eval$1("MapBuilder<1,2>")), new A.MapBuilder(t7._mapFactory, t7._map$_map, t7, t8._eval$1("MapBuilder<1,2>")), A.ListBuilder_ListBuilder(t9, t9.$ti._precomputed1)); }, $isSerializers: 1 }; @@ -67443,7 +68795,7 @@ valueType = t1[1]; } result = []; - for (t1 = builtListMultimap.get$keys(builtListMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtListMultimap._list_multimap$_map, t3 = builtListMultimap._emptyList; t1.moveNext$0();) { + for (t1 = builtListMultimap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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); @@ -67486,10 +68838,7 @@ } 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) + if (B.JSInt_methods.$mod(t2.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", _null)); for (t3 = result.$ti, t4 = t3._precomputed1, t5 = t3._rest[1], t6 = t3._eval$1("BuiltList<2>"), t3 = t3._eval$1("Map<1,BuiltList<2>>"), t7 = type$.nullable_Object, i = 0; i !== t2.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); @@ -67542,13 +68891,13 @@ call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - $signature: 40 + $signature: 37 }; A.BuiltListMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - $signature: 99 + $signature: 101 }; A.BuiltListSerializer.prototype = { serialize$3$specifiedType(serializers, builtList, specifiedType) { @@ -67606,13 +68955,13 @@ call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - $signature: 40 + $signature: 37 }; A.BuiltListSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - $signature: 40 + $signature: 37 }; A.BuiltMapSerializer.prototype = { serialize$3$specifiedType(serializers, builtMap, specifiedType) { @@ -67639,7 +68988,7 @@ valueType = t1[1]; } result = []; - for (t1 = builtMap.get$keys(builtMap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtMap._map$_map; t1.moveNext$0();) { + for (t1 = builtMap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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)); @@ -67676,10 +69025,7 @@ } 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) + if (B.JSInt_methods.$mod(t1.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); for (t2 = result.$ti, t3 = t2._precomputed1, t2 = t2._rest[1], i = 0; i !== t1.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t1.elementAt$1(serialized, i), keyType); @@ -67729,15 +69075,15 @@ valueType = t1[1]; } result = []; - for (t1 = builtSetMultimap.get$keys(builtSetMultimap), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = builtSetMultimap._set_multimap$_map, t3 = builtSetMultimap._emptySet; t1.moveNext$0();) { + for (t1 = builtSetMultimap.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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"))); + t7 = t6._eval$1("EfficientLengthMappedIterable"); + result.push(A.List_List$of(new A.EfficientLengthMappedIterable(t5, t6._eval$1("Object?(SetBase.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; }, @@ -67772,10 +69118,7 @@ } 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) + if (B.JSInt_methods.$mod(t2.get$length(serialized), 2) === 1) throw A.wrapException(A.ArgumentError$("odd length", null)); for (t3 = result.$ti, t4 = t3._precomputed1, t5 = t3._rest[1], t6 = t3._eval$1("BuiltSet<2>"), t3 = t3._eval$1("Map<1,BuiltSet<2>>"), i = 0; i !== t2.get$length(serialized); i += 2) { key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType); @@ -67818,13 +69161,13 @@ call$1(value) { return this.serializers.serialize$2$specifiedType(value, this.valueType); }, - $signature: 40 + $signature: 37 }; A.BuiltSetMultimapSerializer_deserialize_closure.prototype = { call$1(value) { return this.serializers.deserialize$2$specifiedType(value, this.valueType); }, - $signature: 40 + $signature: 37 }; A.BuiltSetSerializer.prototype = { serialize$3$specifiedType(serializers, builtSet, specifiedType) { @@ -67844,7 +69187,7 @@ } 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")); + return new A.EfficientLengthMappedIterable(t1, t2._eval$1("Object?(SetBase.E)")._as(builtSet.$ti._eval$1("Object?(1)")._as(new A.BuiltSetSerializer_serialize_closure(serializers, elementType))), t2._eval$1("EfficientLengthMappedIterable")); }, serialize$2(serializers, builtSet) { return this.serialize$3$specifiedType(serializers, builtSet, B.FullType_null_List_empty_false); @@ -67882,35 +69225,35 @@ call$1(item) { return this.serializers.serialize$2$specifiedType(item, this.elementType); }, - $signature: 40 + $signature: 37 }; A.BuiltSetSerializer_deserialize_closure.prototype = { call$1(item) { return this.serializers.deserialize$2$specifiedType(item, this.elementType); }, - $signature: 40 + $signature: 37 }; 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; + return 1000 * dateTime._core$_value + dateTime._microsecond; }, serialize$2(serializers, dateTime) { return this.serialize$3$specifiedType(serializers, dateTime, B.FullType_null_List_empty_false); }, deserialize$3$specifiedType(serializers, serialized, specifiedType) { - var t2, - t1 = B.JSNumber_methods.round$0(A._asInt(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)); + var t1, t2; + A._asInt(serialized); + t1 = B.JSInt_methods.$mod(serialized, 1000); + t2 = B.JSInt_methods._tdivFast$1(serialized - t1, 1000); + if (t2 < -864e13 || t2 > 864e13) + A.throwExpression(A.RangeError$range(t2, -864e13, 864e13, "millisecondsSinceEpoch", null)); + if (t2 === 864e13 && t1 !== 0) + A.throwExpression(A.ArgumentError$value(t1, "microsecond", string$.Time_i)); A.checkNotNullable(true, "isUtc", type$.bool); - return new A.DateTime(t1, true); + return new A.DateTime(t2, t1, true); }, deserialize$2(serializers, serialized) { return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); @@ -67982,6 +69325,29 @@ return "Duration"; } }; + A.Int32Serializer.prototype = { + serialize$3$specifiedType(serializers, int32, specifiedType) { + return type$.Int32._as(int32)._i; + }, + serialize$2(serializers, int32) { + return this.serialize$3$specifiedType(serializers, int32, B.FullType_null_List_empty_false); + }, + deserialize$3$specifiedType(serializers, serialized, specifiedType) { + A._asInt(serialized); + return new A.Int32((serialized & 2147483647) - ((serialized & 2147483648) >>> 0)); + }, + 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 "Int32"; + } + }; A.Int64Serializer.prototype = { serialize$3$specifiedType(serializers, int64, specifiedType) { return type$.Int64._as(int64)._toRadixString$1(10); @@ -68169,7 +69535,7 @@ return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false); }, get$types(_) { - return A.BuiltList_BuiltList$from([B.Type_Uint8List_WLA], type$.Type); + return A.BuiltList_BuiltList$from([B.Type_Uint8List_CSc], type$.Type); }, $isSerializer: 1, $isPrimitiveSerializer: 1, @@ -68201,54 +69567,41 @@ }; 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) + var _this = this; + if (type$.List_dynamic._is(object) && !_this.typesToLeaveAsList._set.contains$1(0, specifiedType.root)) if (specifiedType.root == null) - return this._toMapWithDiscriminator$1(object); + return _this._toMapWithDiscriminator$1(object); else - return this._toMap$2(object, this._needsEncodedKeys$1(specifiedType)); + return _this._toMap$2(object, _this._needsEncodedKeys$1(specifiedType)); else return object; }, beforeDeserialize$2(object, specifiedType) { var t1; - if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== B.Type_JsonObject_gyf) { + if (type$.Map_dynamic_dynamic._is(object) && specifiedType.root !== B.Type_JsonObject_aJ0) { 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); + return this._toList$3$keepNulls(object, this._needsEncodedKeys$1(specifiedType), t1 === B.Type_BuiltMap_MUU); } else return object; }, _needsEncodedKeys$1(specifiedType) { var t1; - if (specifiedType.root === B.Type_BuiltMap_qd4) { + if (specifiedType.root === B.Type_BuiltMap_MUU) { t1 = specifiedType.parameters; if (0 >= t1.length) return A.ioore(t1, 0); - t1 = t1[0].root !== B.Type_String_k8F; + t1 = t1[0].root !== B.Type_String_J2O; } else t1 = false; return t1; }, _toMap$2(list, needsEncodedKeys) { - var t3, key, value, - result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object), - t1 = J.getInterceptor$asx(list), - t2 = type$.Object, - i = 0; - while (true) { - t3 = t1.get$length(list); - if (typeof t3 !== "number") - return t3.$tdiv(); - if (!(i !== B.JSInt_methods._tdivFast$1(t3, 2))) - break; + var t1, t2, i, t3, key, value, + result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); + for (t1 = J.getInterceptor$asx(list), t2 = type$.Object, i = 0; i !== B.JSInt_methods._tdivFast$1(t1.get$length(list), 2); ++i) { t3 = i * 2; key = t1.$index(list, t3); value = t1.$index(list, t3 + 1); @@ -68259,7 +69612,6 @@ t3 = key; } result.$indexSet(0, t3, value); - ++i; } return result; }, @@ -68274,35 +69626,18 @@ } 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; - } + needToEncodeKeys = false; + if (t2.$eq(type, "map")) + for (i = 0; i !== B.JSInt_methods._tdivFast$1(t1.get$length(list) - 1, 2); ++i) if (typeof t1.$index(list, i * 2 + 1) != "string") { type = "encoded_map"; needToEncodeKeys = true; break; } - ++i; - } - } else - needToEncodeKeys = false; t2 = type == null ? type$.Object._as(type) : type; t3 = type$.Object; result = A.LinkedHashMap_LinkedHashMap$_literal(["$", t2], type$.String, t3); - 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; + for (i = 0; i !== B.JSInt_methods._tdivFast$1(t1.get$length(list) - 1, 2); ++i) { t2 = i * 2; t4 = t2 + 1; if (needToEncodeKeys) { @@ -68312,12 +69647,11 @@ key = A._asString(t1.$index(list, t4)); value = t1.$index(list, t2 + 2); result.$indexSet(0, key, value == null ? t3._as(value) : value); - ++i; } return result; }, _toList$3$keepNulls(map, hasEncodedKeys, keepNulls) { - var nullValueCount, t2, t3, result, t1 = {}; + var nullValueCount, t2, result, t1 = {}; if (keepNulls) nullValueCount = 0; else { @@ -68325,10 +69659,7 @@ 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); + result = A.List_List$filled((t2.get$length(map) - 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; @@ -68356,10 +69687,7 @@ 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); + result = A.List_List$filled((t2.get$length(map) - 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)); @@ -68371,7 +69699,7 @@ call$1(value) { return value == null; }, - $signature: 36 + $signature: 33 }; A.StandardJsonPlugin__toList_closure0.prototype = { call$2(key, value) { @@ -68385,13 +69713,13 @@ B.JSArray_methods.$indexSet(t1, t2.i + 1, value); t2.i += 2; }, - $signature: 42 + $signature: 43 }; A.StandardJsonPlugin__toListUsingDiscriminator_closure.prototype = { call$1(value) { return value == null; }, - $signature: 36 + $signature: 33 }; A.StandardJsonPlugin__toListUsingDiscriminator_closure0.prototype = { call$2(key, value) { @@ -68409,7 +69737,7 @@ B.JSArray_methods.$indexSet(t1, t3 + 1, value); t2.i += 2; }, - $signature: 42 + $signature: 43 }; A.CanonicalizedMap.prototype = { $index(_, key) { @@ -68420,14 +69748,13 @@ return pair == null ? null : pair.value; }, $indexSet(_, key, value) { - var t2, _this = this, + var _this = this, t1 = _this.$ti; t1._eval$1("CanonicalizedMap.K")._as(key); - t2 = t1._eval$1("CanonicalizedMap.V"); - t2._as(value); + t1._eval$1("CanonicalizedMap.V")._as(value); if (!_this._isValidKey$1(key)) return; - _this._canonicalized_map$_base.$indexSet(0, _this._canonicalize.call$1(key), new A.MapEntry(key, value, t1._eval$1("@")._bind$1(t2)._eval$1("MapEntry<1,2>"))); + _this._canonicalized_map$_base.$indexSet(0, _this._canonicalize.call$1(key), new A.MapEntry(key, value, t1._eval$1("MapEntry"))); }, addAll$1(_, other) { this.$ti._eval$1("Map")._as(other).forEach$1(0, new A.CanonicalizedMap_addAll_closure(this)); @@ -68442,36 +69769,31 @@ return false; return _this._canonicalized_map$_base.containsKey$1(0, _this._canonicalize.call$1(_this.$ti._eval$1("CanonicalizedMap.K")._as(key))); }, - get$entries(_) { - var t1 = this._canonicalized_map$_base; - return t1.get$entries(t1).map$1$1(0, new A.CanonicalizedMap_entries_closure(this), this.$ti._eval$1("MapEntry")); - }, forEach$1(_, f) { this._canonicalized_map$_base.forEach$1(0, new A.CanonicalizedMap_forEach_closure(this, this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)")._as(f))); }, get$isEmpty(_) { - return this._canonicalized_map$_base._length === 0; + return this._canonicalized_map$_base.__js_helper$_length === 0; }, get$isNotEmpty(_) { - return this._canonicalized_map$_base._length !== 0; + return this._canonicalized_map$_base.__js_helper$_length !== 0; }, get$keys(_) { - var t2, t3, - t1 = this._canonicalized_map$_base; - t1 = t1.get$values(t1); - t2 = this.$ti._eval$1("CanonicalizedMap.K"); - t3 = A._instanceType(t1); + var t1 = this._canonicalized_map$_base.get$values(0), + 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$length(_) { - return this._canonicalized_map$_base._length; + return this._canonicalized_map$_base.__js_helper$_length; }, map$2$1(_, transform, K2, V2) { var t1 = this._canonicalized_map$_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); }, - map$1($receiver, transform) { - return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); + map$1(_, transform) { + var t1 = type$.dynamic; + return this.map$2$1(0, transform, t1, t1); }, remove$1(_, key) { var pair, _this = this; @@ -68485,23 +69807,16 @@ 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._canonicalized_map$_base; - t1 = t1.get$values(t1); - t2 = this.$ti._eval$1("CanonicalizedMap.V"); - t3 = A._instanceType(t1); + var t1 = this._canonicalized_map$_base.get$values(0), + 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; + return this.$ti._eval$1("CanonicalizedMap.K")._is(key); }, $isMap: 1 }; @@ -68518,16 +69833,6 @@ return this.$this.$ti._eval$1("~(CanonicalizedMap.K,CanonicalizedMap.V)"); } }; - 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>")); - }, - $signature() { - return this.$this.$ti._eval$1("MapEntry(MapEntry>)"); - } - }; A.CanonicalizedMap_forEach_closure.prototype = { call$2(key, pair) { var t1 = this.$this.$ti; @@ -68644,22 +69949,12 @@ return true; }, hash$1(_, list) { - var t1, t2, hash, i, t3; + var t1, t2, hash, i; 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 A.iae(t3); - if (!(i < t3)) - break; + for (t1 = J.getInterceptor$asx(list), t2 = this._elementEquality, hash = 0, i = 0; i < t1.get$length(list); ++i) { hash = hash + t2.hash$1(0, t1.$index(list, i)) & 2147483647; hash = hash + (hash << 10 >>> 0) & 2147483647; hash ^= hash >>> 6; - ++i; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; @@ -68789,7 +70084,7 @@ 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 t1._is(e2) && new A.IterableEquality(_this, type$.IterableEquality_dynamic).equals$2(e1, e2); return J.$eq$(e1, e2); }, hash$1(_, o) { @@ -68805,16 +70100,11 @@ return J.get$hashCode$(o); }, isValidKey$1(o) { - !type$.Iterable_dynamic._is(o); return true; }, $isEquality: 1 }; A._DelegatingIterableBase.prototype = { - cast$1$0(_, $T) { - var t1 = this._base; - return new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); - }, contains$1(_, element) { return B.JSArray_methods.contains$1(this._base, element); }, @@ -68824,6 +70114,11 @@ return A.ioore(t1, index); return t1[index]; }, + expand$1$1(_, f, $T) { + var t1 = this._base, + t2 = A._arrayInstanceType(t1); + return new A.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(_) { return B.JSArray_methods.get$first(this._base); }, @@ -68854,8 +70149,8 @@ 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>")); }, - map$1($receiver, f) { - return this.map$1$1($receiver, f, type$.dynamic); + map$1(_, f) { + return this.map$1$1(0, f, type$.dynamic); }, get$single(_) { return B.JSArray_methods.get$single(this._base); @@ -68873,18 +70168,20 @@ t2 = A._arrayInstanceType(t1); return growable ? A._setArrayType(t1.slice(0), t2) : J.JSArray_JSArray$markFixed(t1.slice(0), t2._precomputed1); }, - toList$0($receiver) { - return this.toList$1$growable($receiver, true); - }, toSet$0(_) { var t1 = this._base; return A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); }, + where$1(_, test) { + var t1 = this._base, + t2 = A._arrayInstanceType(t1); + return new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(this.$ti._eval$1("bool(1)")._as(test)), t2._eval$1("WhereIterable<1>")); + }, whereType$1$0(_, $T) { return new A.WhereTypeIterable(this._base, $T._eval$1("WhereTypeIterable<0>")); }, toString$0(_) { - return A.IterableBase_iterableToFullString(this._base, "[", "]"); + return A.Iterable_iterableToFullString(this._base, "[", "]"); }, $isIterable: 1 }; @@ -68906,10 +70203,6 @@ addAll$1(_, iterable) { B.JSArray_methods.addAll$1(this._base, this.$ti._eval$1("Iterable<1>")._as(iterable)); }, - cast$1$0(_, $T) { - var t1 = this._base; - return new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("CastList<1,2>")); - }, insert$2(_, index, element) { B.JSArray_methods.insert$2(this._base, index, this.$ti._precomputed1._as(element)); }, @@ -68932,20 +70225,20 @@ setRange$4(_, start, end, iterable, skipCount) { B.JSArray_methods.setRange$4(this._base, start, A._asInt(end), this.$ti._eval$1("Iterable<1>")._as(iterable), skipCount); }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, sort$1(_, compare) { B.JSArray_methods.sort$1(this._base, this.$ti._eval$1("int(1,1)?")._as(compare)); }, - sort$0($receiver) { - return this.sort$1($receiver, null); + sort$0(_) { + return this.sort$1(0, null); }, sublist$2(_, start, end) { return B.JSArray_methods.sublist$2(this._base, start, end); }, - sublist$1($receiver, start) { - return this.sublist$2($receiver, start, null); + sublist$1(_, start) { + return this.sublist$2(0, start, null); }, $isEfficientLengthIterable: 1, $isList: 1 @@ -68957,14 +70250,14 @@ $eq(_, other) { if (other == null) return false; - return other instanceof A.Color && this.get$hashCode(this) === other.get$hashCode(other); + return other instanceof A.RgbColor && this.get$hashCode(0) === other.get$hashCode(0); }, $index(_, key) { var thisAsMap, t1, _this = this; A._asString(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$("`" + key + "` is not a valid key for a " + A.getRuntimeType(_this).toString$0(0), null)); + throw A.wrapException(A.ArgumentError$("`" + key + "` is not a valid key for a " + A.getRuntimeTypeOfDartObject(_this).toString$0(0), null)); t1 = thisAsMap.$index(0, key); t1.toString; return t1; @@ -69047,10 +70340,8 @@ }, _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); + t2 = t1.$ti; + A.Future_Future(new A.Draggable__suppressClickEvent_closure(A._EventStreamSubscription$(t1._target, t1._eventType, t2._eval$1("~(1)?")._as(new A.Draggable__suppressClickEvent_closure0()), false, t2._precomputed1)), type$.Null); }, destroy$0() { this._resetCurrentDrag$0(); @@ -69111,7 +70402,7 @@ }, $signature: 0 }; - A.Draggable__suppressClickEvent_closure.prototype = { + A.Draggable__suppressClickEvent_closure0.prototype = { call$1($event) { type$.MouseEvent._as($event); $event.stopPropagation(); @@ -69119,7 +70410,7 @@ }, $signature: 20 }; - A.Draggable__suppressClickEvent_closure0.prototype = { + A.Draggable__suppressClickEvent_closure.prototype = { call$0() { this.clickPreventer.cancel$0(0); }, @@ -69129,13 +70420,13 @@ call$1(m) { return type$._EventManager._as(m).destroy$0(); }, - $signature: 155 + $signature: 131 }; A.Draggable__resetCurrentDrag_closure.prototype = { call$1(m) { return type$._EventManager._as(m).reset$0(0); }, - $signature: 155 + $signature: 131 }; A.DraggableEvent.prototype = {}; A._DragInfo.prototype = { @@ -69156,16 +70447,13 @@ B.JSArray_methods.forEach$1(t1, new A._EventManager_closure()); }, installEscAndBlur$0() { - var t3, - t1 = this.dragSubs, + var t1 = this.dragSubs, t2 = window; t2.toString; - t3 = type$.nullable_void_Function_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$.KeyboardEvent)); - t3 = window; - t3.toString; - B.JSArray_methods.add$1(t1, A._EventStreamSubscription$(t3, "blur", type$.nullable_void_Function_Event._as(new A._EventManager_installEscAndBlur_closure0(this)), false, type$.Event)); + B.JSArray_methods.add$1(t1, A._EventStreamSubscription$(t2, "keydown", type$.nullable_void_Function_KeyboardEvent._as(new A._EventManager_installEscAndBlur_closure(this)), false, type$.KeyboardEvent)); + t2 = window; + t2.toString; + B.JSArray_methods.add$1(t1, A._EventStreamSubscription$(t2, "blur", type$.nullable_void_Function_Event._as(new A._EventManager_installEscAndBlur_closure0(this)), false, type$.Event)); }, handleStart$2($event, position) { var t2, _this = this, @@ -69272,11 +70560,11 @@ _recursiveShadowDomTarget$2(clientPosition, target) { var t1, newTarget; type$.Point_num._as(clientPosition); + t1 = false; if ((target.shadowRoot || target.webkitShadowRoot) != null) { t1 = target.hasAttribute("dnd-retarget"); t1.toString; - } else - t1 = false; + } if (t1) { t1 = target.shadowRoot || target.webkitShadowRoot; t1.toString; @@ -69299,7 +70587,7 @@ B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "none", ""); return "none"; }, - $signature: 44 + $signature: 46 }; A._EventManager_installEscAndBlur_closure.prototype = { call$1(keyboardEvent) { @@ -69307,25 +70595,25 @@ if (J.get$keyCode$x(keyboardEvent) === 27) this.$this.drg._handleDragEnd$3$cancelled(keyboardEvent, null, true); }, - $signature: 45 + $signature: 48 }; A._EventManager_installEscAndBlur_closure0.prototype = { call$1($event) { this.$this.drg._handleDragEnd$3$cancelled($event, null, true); }, - $signature: 19 + $signature: 18 }; A._EventManager_reset_closure.prototype = { call$1(sub) { return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); }, - $signature: 154 + $signature: 143 }; A._EventManager_destroy_closure.prototype = { call$1(sub) { return type$.StreamSubscription_dynamic._as(sub).cancel$0(0); }, - $signature: 154 + $signature: 143 }; A._EventManager_destroy_closure0.prototype = { call$1(el) { @@ -69334,7 +70622,7 @@ B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "touch-action"), "", ""); return ""; }, - $signature: 44 + $signature: 46 }; A._TouchManager.prototype = { installStart$0() { @@ -69343,28 +70631,19 @@ B.JSArray_methods.forEach$1(t1, new A._TouchManager_installStart_closure(this)); }, installMove$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - t2 = type$.nullable_void_Function_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$.TouchEvent)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchmove", type$.nullable_void_Function_TouchEvent._as(new A._TouchManager_installMove_closure(this)), false, type$.TouchEvent)); }, installEnd$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - t2 = type$.nullable_void_Function_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$.TouchEvent)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchend", type$.nullable_void_Function_TouchEvent._as(new A._TouchManager_installEnd_closure(this)), false, type$.TouchEvent)); }, installCancel$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - t2 = type$.nullable_void_Function_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$.TouchEvent)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "touchcancel", type$.nullable_void_Function_TouchEvent._as(new A._TouchManager_installCancel_closure(this)), false, type$.TouchEvent)); }, isScrolling$1(currentPosition) { type$.Point_num._as(currentPosition).$sub(0, $._currentDrag.startPosition); @@ -69375,12 +70654,10 @@ 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)); + t3 = t2.$ti; + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t3._eval$1("~(1)?")._as(new A._TouchManager_installStart__closure(t1)), false, t3._precomputed1)); }, - $signature: 44 + $signature: 46 }; A._TouchManager_installStart__closure.prototype = { call$1($event) { @@ -69415,7 +70692,7 @@ this.$this.handleStart$2($event, new A.Point(t2, B.JSNumber_methods.round$0(t1), type$.Point_num)); } }, - $signature: 64 + $signature: 70 }; A._TouchManager_installMove_closure.prototype = { call$1($event) { @@ -69464,7 +70741,7 @@ } $event.preventDefault(); }, - $signature: 64 + $signature: 70 }; A._TouchManager_installEnd_closure.prototype = { call$1($event) { @@ -69500,13 +70777,13 @@ } this.$this.handleEnd$4($event, null, t3, t1); }, - $signature: 64 + $signature: 70 }; A._TouchManager_installCancel_closure.prototype = { call$1($event) { this.$this.drg._handleDragEnd$3$cancelled(type$.TouchEvent._as($event), null, true); }, - $signature: 64 + $signature: 70 }; A._MouseManager.prototype = { installStart$0() { @@ -69515,20 +70792,14 @@ B.JSArray_methods.forEach$1(t1, new A._MouseManager_installStart_closure(this)); }, installMove$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - t2 = type$.nullable_void_Function_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$.MouseEvent)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "mousemove", type$.nullable_void_Function_MouseEvent._as(new A._MouseManager_installMove_closure(this)), false, type$.MouseEvent)); }, installEnd$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - t2 = type$.nullable_void_Function_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$.MouseEvent)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "mouseup", type$.nullable_void_Function_MouseEvent._as(new A._MouseManager_installEnd_closure(this)), false, type$.MouseEvent)); }, installCancel$0() { } @@ -69537,12 +70808,10 @@ 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)); + t3 = t2.$ti; + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t3._eval$1("~(1)?")._as(new A._MouseManager_installStart__closure(t1)), false, t3._precomputed1)); }, - $signature: 44 + $signature: 46 }; A._MouseManager_installStart__closure.prototype = { call$1($event) { @@ -69616,40 +70885,29 @@ B.JSArray_methods.forEach$1(t1, new A._PointerManager_installStart_closure(this)); }, installMove$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - 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)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointermove", type$.nullable_void_Function_Event._as(new A._PointerManager_installMove_closure(this)), false, type$.Event)); }, installEnd$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - 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)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointerup", type$.nullable_void_Function_Event._as(new A._PointerManager_installEnd_closure(this)), false, type$.Event)); }, installCancel$0() { - var t2, - t1 = document; + var t1 = document; t1.toString; - 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)); + B.JSArray_methods.add$1(this.dragSubs, A._EventStreamSubscription$(t1, "pointercancel", type$.nullable_void_Function_Event._as(new A._PointerManager_installCancel_closure(this)), false, type$.Event)); } }; A._PointerManager_installStart_closure.prototype = { call$1(el) { var t1 = this.$this, t2 = new A.ElementEvents(type$.Element._as(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)); + t3 = t2.$ti; + B.JSArray_methods.add$1(t1.startSubs, A._EventStreamSubscription$(t2._target, t2._eventType, t3._eval$1("~(1)?")._as(new A._PointerManager_installStart__closure(t1)), false, t3._precomputed1)); }, - $signature: 44 + $signature: 46 }; A._PointerManager_installStart__closure.prototype = { call$1(e) { @@ -69679,7 +70937,7 @@ t2.toString; this.$this.handleStart$2(e, new A.Point(t1, t2, type$.Point_num)); }, - $signature: 19 + $signature: 18 }; A._PointerManager_installMove_closure.prototype = { call$1(e) { @@ -69696,7 +70954,7 @@ t5.toString; this.$this.handleMove$3(e, new A.Point(t1, t2, t3), new A.Point(t4, t5, t3)); }, - $signature: 19 + $signature: 18 }; A._PointerManager_installEnd_closure.prototype = { call$1(e) { @@ -69713,13 +70971,57 @@ t5.toString; this.$this.handleEnd$4(e, null, new A.Point(t1, t2, t3), new A.Point(t4, t5, t3)); }, - $signature: 19 + $signature: 18 }; A._PointerManager_installCancel_closure.prototype = { call$1($event) { this.$this.drg._handleDragEnd$3$cancelled($event, null, true); }, - $signature: 19 + $signature: 18 + }; + A.Int32.prototype = { + _toInt$1(val) { + if (val instanceof A.Int32) + return val._i; + else if (A._isInt(val)) + return val; + throw A.wrapException(A.ArgumentError$value(val, "other", "Not an int, Int32 or Int64")); + }, + $sub(_, other) { + var t1; + type$.Object._as(other); + if (other instanceof A.Int64) + return A.Int64_Int64(this._i).$sub(0, other); + t1 = this._i - this._toInt$1(other); + return new A.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); + }, + $mod(_, other) { + var t1 = B.JSInt_methods.$mod(this._i, this._toInt$1(other)); + return new A.Int32((t1 & 2147483647) - ((t1 & 2147483648) >>> 0)); + }, + $eq(_, other) { + if (other == null) + return false; + if (other instanceof A.Int32) + return this._i === other._i; + else if (other instanceof A.Int64) + return A.Int64_Int64(this._i).$eq(0, other); + else if (A._isInt(other)) + return this._i === other; + return false; + }, + compareTo$1(_, other) { + if (other instanceof A.Int64) + return A.Int64_Int64(this._i)._compareTo$1(other); + return B.JSInt_methods.compareTo$1(this._i, this._toInt$1(other)); + }, + get$hashCode(_) { + return this._i; + }, + toString$0(_) { + return B.JSInt_methods.toString$0(this._i); + }, + $isComparable: 1 }; A.Int64.prototype = { $sub(_, other) { @@ -69742,7 +71044,7 @@ return false; o = A.Int64_Int64(other); } else - o = null; + o = other instanceof A.Int32 ? A.Int64_Int64(other._i) : null; if (o != null) return _this._l === o._l && _this._m === o._m && _this._int64$_h === o._int64$_h; return false; @@ -69825,7 +71127,7 @@ var _this = this; return client._sendUnstreamed$5("POST", _this.url, type$.nullable_Map_String_String._as(_this.headers), _this.body, _this.encoding); }, - $signature: 244 + $signature: 242 }; A.BaseClient.prototype = { _sendUnstreamed$5(method, url, headers, body, encoding) { @@ -69878,13 +71180,13 @@ call$2(key1, key2) { return A._asString(key1).toLowerCase() === A._asString(key2).toLowerCase(); }, - $signature: 245 + $signature: 243 }; A.BaseRequest_closure0.prototype = { call$1(key) { return B.JSString_methods.get$hashCode(A._asString(key).toLowerCase()); }, - $signature: 248 + $signature: 246 }; A.BaseResponse.prototype = { BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) { @@ -69897,7 +71199,7 @@ 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; + $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, xhr, completer, bytes, t1, t2, t3; var $async$send$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; @@ -69915,26 +71217,23 @@ case 3: // returning from await. bytes = $async$result; - t1 = new XMLHttpRequest(); - t1.toString; - xhr = t1; + xhr = type$.JSObject._as(new self.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.open(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)); + t2.withCredentials = false; + for (t2 = request.headers, t2 = t2.get$entries(t2), t2 = t2.get$iterator(t2); t2.moveNext$0();) { + t3 = t2.get$current(t2); + xhr.setRequestHeader(t3.key, t3.value); + } completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_StreamedResponse), type$._AsyncCompleter_StreamedResponse); - t2 = type$.nullable_EventTarget; - t3 = type$._EventStream_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); + t2 = type$._EventStream_JSObject; + t3 = type$.void; + new A._EventStream0(xhr, "load", false, t2).get$first(0).then$1$1(0, new A.BrowserClient_send_closure(xhr, completer, request), t3); + new A._EventStream0(xhr, "error", false, t2).get$first(0).then$1$1(0, new A.BrowserClient_send_closure0(completer, request), t3); + xhr.send(bytes); $async$handler = 4; $async$goto = 7; return A._asyncAwait(completer.future, $async$send$1); @@ -69977,36 +71276,50 @@ this._isClosed = true; for (t1 = this._xhrs, t2 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) { t4 = t2._collection$_current; - (t4 == null ? t3._as(t4) : t4).abort(); + if (t4 == null) + t4 = t3._as(t4); + t4.abort(); } t1.clear$0(0); } }; 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))); + var t1, _0_0, t2, body, responseUrl, t3, t4, t5, t6, _this = this; + type$.JSObject._as(_); + t1 = _this.xhr; + _0_0 = A._extension_0_get_responseHeaders(t1).$index(0, "content-length"); + t2 = false; + if (_0_0 != null) { + t2 = $.$get$_digitRegex(); + t2 = !t2._nativeRegExp.test(_0_0); + } + if (t2) { + _this.completer.completeError$1(new A.ClientException("Invalid content-length header [" + A.S(_0_0) + "].", _this.request.url)); + return; + } + body = A.NativeUint8List_NativeUint8List$view(type$.NativeByteBuffer._as(t1.response), 0, null); + responseUrl = A._asString(t1.responseURL); + if (responseUrl.length !== 0) + A.Uri_parse(responseUrl); 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); + t3 = A._asInt(t1.status); + t4 = body.length; + t5 = _this.request; + t6 = A._extension_0_get_responseHeaders(t1); + t1 = A._asString(t1.statusText); + t2 = new A.StreamedResponseV2(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); + _this.completer.complete$1(0, t2); }, - $signature: 150 + $signature: 165 }; A.BrowserClient_send_closure0.prototype = { call$1(_) { - type$.ProgressEvent._as(_); - this.completer.completeError$2(new A.ClientException("XMLHttpRequest error."), A.StackTrace_current()); + type$.JSObject._as(_); + this.completer.completeError$2(new A.ClientException("XMLHttpRequest error.", this.request.url), A.StackTrace_current()); }, - $signature: 150 + $signature: 165 }; A.ByteStream.prototype = { toBytes$0() { @@ -70021,11 +71334,12 @@ call$1(bytes) { return this.completer.complete$1(0, new Uint8Array(A._ensureNativeList(type$.List_int._as(bytes)))); }, - $signature: 149 + $signature: 103 }; A.ClientException.prototype = { toString$0(_) { - return this.message; + var t1 = this.uri.toString$0(0); + return "ClientException: " + this.message + ", uri=" + t1; }, $isException: 1, get$message(receiver) { @@ -70044,16 +71358,16 @@ }, set$body(_, value) { var contentType, t2, _this = this, - t1 = type$.List_int._as(_this.get$encoding(_this).encode$1(value)); + t1 = type$.List_int._as(_this.get$encoding(0).encode$1(value)); _this._checkFinalized$0(); _this._bodyBytes = A.toUint8List(t1); contentType = _this.get$_contentType(); if (contentType == null) { - t1 = _this.get$encoding(_this); + t1 = _this.get$encoding(0); 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); + t1 = _this.get$encoding(0); t2 = type$.String; _this.set$_contentType(contentType.change$1$parameters(A.LinkedHashMap_LinkedHashMap$_literal(["charset", t1.get$name(t1)], t2, t2))); } @@ -70075,13 +71389,8 @@ }; A.Response.prototype = {}; A.StreamedResponse.prototype = {}; + A.StreamedResponseV2.prototype = {}; A.CaseInsensitiveMap.prototype = {}; - A.CaseInsensitiveMap$from_closure.prototype = { - call$1(key) { - return A._asString(key).toLowerCase(); - }, - $signature: 27 - }; A.MediaType.prototype = { change$1$parameters(parameters) { var t1, parameters0; @@ -70106,7 +71415,7 @@ }; A.MediaType_MediaType$parse_closure.prototype = { call$0() { - var t3, t4, t5, t6, parameters, t7, t8, success, t9, value, + var t3, t4, t5, t6, parameters, t7, success, t8, value, t1 = this.mediaType, scanner = new A.StringScanner(null, t1), t2 = $.$get$whitespace(); @@ -70122,51 +71431,49 @@ scanner.scan$1(t2); t6 = type$.String; parameters = A.LinkedHashMap_LinkedHashMap$_empty(t6, t6); - t6 = type$.Pattern; while (true) { - t7 = scanner._lastMatch = B.JSString_methods.matchAsPrefix$2(";", t1, scanner._string_scanner$_position); - t8 = scanner._lastMatchPosition = scanner._string_scanner$_position; - success = t7 != null; - t7 = success ? scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(t7) : t8; + 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(0) : t7; if (!success) break; - t6._as(t2); - t7 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, t7); + t6 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, t6); scanner._lastMatchPosition = scanner._string_scanner$_position; - if (t7 != null) - scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(t7); + if (t6 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t6.get$end(0); scanner.expect$1(t3); if (scanner._string_scanner$_position !== scanner._lastMatchPosition) scanner._lastMatch = null; - t7 = scanner._lastMatch.$index(0, 0); - t7.toString; + t6 = scanner._lastMatch.$index(0, 0); + t6.toString; scanner.expect$1("="); - t8 = scanner._lastMatch = t6._as(t3).matchAsPrefix$2(0, t1, scanner._string_scanner$_position); - t9 = scanner._lastMatchPosition = scanner._string_scanner$_position; - success = t8 != null; + t7 = scanner._lastMatch = t3.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + t8 = scanner._lastMatchPosition = scanner._string_scanner$_position; + success = t7 != null; if (success) { - t8 = scanner._lastMatchPosition = scanner._string_scanner$_position = t8.get$end(t8); - t9 = t8; + t7 = scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(0); + t8 = t7; } else - t8 = t9; + t7 = t8; if (success) { - if (t8 !== t9) + if (t7 !== t8) scanner._lastMatch = null; - t8 = scanner._lastMatch.$index(0, 0); - t8.toString; - value = t8; + t7 = scanner._lastMatch.$index(0, 0); + t7.toString; + value = t7; } else value = A.expectQuotedString(scanner); - t8 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); + t7 = scanner._lastMatch = t2.matchAsPrefix$2(0, t1, scanner._string_scanner$_position); scanner._lastMatchPosition = scanner._string_scanner$_position; - if (t8 != null) - scanner._lastMatchPosition = scanner._string_scanner$_position = t8.get$end(t8); - parameters.$indexSet(0, t7, value); + if (t7 != null) + scanner._lastMatchPosition = scanner._string_scanner$_position = t7.get$end(0); + parameters.$indexSet(0, t6, value); } scanner.expectDone$0(); return A.MediaType$(t4, t5, parameters); }, - $signature: 251 + $signature: 249 }; A.MediaType_toString_closure.prototype = { call$2(attribute, value) { @@ -70175,23 +71482,24 @@ A._asString(value); t1 = this.buffer; t1._contents += "; " + attribute + "="; - t2 = $.$get$nonToken()._nativeRegExp; - t2 = t2.test(value); + t2 = $.$get$nonToken(); + t2 = t2._nativeRegExp.test(value); t3 = t1._contents; if (t2) { t1._contents = t3 + '"'; - t2 = t1._contents += A.stringReplaceAllFuncUnchecked(value, type$.Pattern._as($.$get$_escapedChar()), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(new A.MediaType_toString__closure())), type$.nullable_String_Function_String._as(null)); + t2 = A.stringReplaceAllFuncUnchecked(value, $.$get$_escapedChar(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(new A.MediaType_toString__closure())), null); + t2 = t1._contents += t2; t1._contents = t2 + '"'; } else t1._contents = t3 + value; }, - $signature: 74 + $signature: 99 }; A.MediaType_toString__closure.prototype = { call$1(match) { return "\\" + A.S(match.$index(0, 0)); }, - $signature: 52 + $signature: 51 }; A.expectQuotedString_closure.prototype = { call$1(match) { @@ -70199,7 +71507,7 @@ t1.toString; return t1; }, - $signature: 52 + $signature: 51 }; A.Level.prototype = { $eq(_, other) { @@ -70253,21 +71561,15 @@ return effectiveLevel; }, log$4(logLevel, message, error, stackTrace) { - var msg, record, _this = this, + var 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) { + if (t1 >= _this.get$level(0).value) { + if (stackTrace === B.C__StringStackTrace && t1 >= 2000) stackTrace = A.StackTrace_current(); - if (error == null) - error = "autogenerated stack trace for " + logLevel.toString$0(0) + " " + msg; - } t1 = _this.get$fullName(); Date.now(); $.LogRecord__nextNumber = $.LogRecord__nextNumber + 1; - record = new A.LogRecord(logLevel, msg, t1, error, stackTrace); + record = new A.LogRecord(logLevel, message, t1, error, stackTrace); if (_this.parent == null) _this._publish$1(record); else @@ -70275,8 +71577,7 @@ } }, _publish$1(record) { - var t1 = this._controller; - return t1 == null ? null : t1.add$1(0, record); + return null; } }; A.Logger_Logger_closure.prototype = { @@ -70302,7 +71603,7 @@ $parent._children.$indexSet(0, thisName, t1); return t1; }, - $signature: 253 + $signature: 251 }; A.DomProps.prototype = { get$$$isClassGenerated() { @@ -70346,8 +71647,8 @@ this.ErrorBoundaryProps_shouldLogErrors = A._asBoolQ(shouldLogErrors); }, $isMap: 1, - $isUiProps0: 1, - $isUiProps: 1 + $isUiProps: 1, + $isUiProps0: 1 }; A.ErrorBoundaryState.prototype = { set$hasError(value) { @@ -70407,20 +71708,19 @@ t1.modifyProps$1(this.get$addUnconsumedProps()); t2 = this.___$ErrorBoundaryComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - return t1.call$1(t2.get$children(t2)); + return t1.call$1(t2.get$children(0)); }, componentDidUpdate$3(prevProps, prevState, snapshot) { var childThatCausedError, _this = this, t1 = _this.___$ErrorBoundaryComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); if (t1.get$hasError()) { - t1 = A._$$ErrorBoundaryProps__$$ErrorBoundaryProps(prevProps); - t1 = t1.get$children(t1); + t1 = A._$$ErrorBoundaryProps__$$ErrorBoundaryProps(prevProps).get$children(0); t1.toString; childThatCausedError = J.get$single$ax(t1); t1 = _this.___$ErrorBoundaryComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$children(t1); + t1 = t1.get$children(0); t1.toString; if (!J.$eq$(childThatCausedError, J.get$single$ax(t1))) _this.setState$1(0, _this.get$initialState()); @@ -70454,7 +71754,7 @@ call$0() { return new A._$ErrorBoundaryComponent(null); }, - $signature: 254 + $signature: 252 }; A._$$ErrorBoundaryProps.prototype = { get$$$isClassGenerated() { @@ -70512,7 +71812,7 @@ return "ErrorBoundary"; }, get$$$defaultConsumedProps() { - return B.Map_EUkaS.get$values(B.Map_EUkaS); + return B.Map_MDgDQ.get$values(B.Map_MDgDQ); } }; A.$ErrorBoundaryProps.prototype = { @@ -70549,7 +71849,7 @@ return A._asBoolQ(t1 == null ? null : t1); }, set$shouldLogErrors(value) { - J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors", true); + J.$indexSet$ax(this.get$props(this), "ErrorBoundaryProps.shouldLogErrors", value); }, get$logger() { var t1 = J.$index$asx(this.get$props(this), "ErrorBoundaryProps.logger"); @@ -70614,13 +71914,12 @@ t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); if (t1.get$hasError()) { - t1 = A._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(prevProps); - t1 = t1.get$children(t1); + t1 = A._$$RecoverableErrorBoundaryProps__$$RecoverableErrorBoundaryProps(prevProps).get$children(0); t1.toString; childThatCausedError = J.get$single$ax(t1); t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$children(t1); + t1 = t1.get$children(0); t1.toString; if (!J.$eq$(childThatCausedError, J.get$single$ax(t1))) { _this._resetInternalErrorTracking$0(); @@ -70637,8 +71936,7 @@ t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); if (t1.get$hasError()) { - t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A; - t1 = t1.get$state(t1); + t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedState_A.get$state(0); t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject["ErrorBoundaryState.showFallbackUIOnError"]); t1 = A._asBool(t1 == null ? null : t1); } else @@ -70656,7 +71954,7 @@ } t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI(_s17_); - return t1.get$children(t1); + return t1.get$children(0); }, _handleErrorInComponentTree$2(error, info) { var t2, errorString, sameErrorWasThrownTwiceConsecutively, i, t3, exception, _this = this, @@ -70734,7 +72032,7 @@ return; t1 = _this.___$RecoverableErrorBoundaryComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.ErrorBPi); + t1 = t1.get$props(0).$index(0, string$.ErrorBPi); if (t1 == null) t1 = null; type$.nullable_Duration._as(t1); @@ -70802,7 +72100,7 @@ call$0() { return new A._$RecoverableErrorBoundaryComponent(A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray_ReactErrorInfo), null); }, - $signature: 256 + $signature: 254 }; A._$$RecoverableErrorBoundaryProps.prototype = { get$$$isClassGenerated() { @@ -70861,7 +72159,7 @@ return "RecoverableErrorBoundary"; }, get$$$defaultConsumedProps() { - return B.Map_EUkaS.get$values(B.Map_EUkaS); + return B.Map_MDgDQ.get$values(B.Map_MDgDQ); } }; A._RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi.prototype = {}; @@ -70893,129 +72191,94 @@ }; A.DomPropsMixin.prototype = { get$checked(_) { - var t1 = this.get$props(this); - t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.checked); + var t1 = this.get$props(this).$index(0, "checked"); return A._asBoolQ(t1 == null ? null : t1); }, set$checked(_, value) { - var t1 = this.get$props(this); - t1.jsObject.checked = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "checked", value); }, set$disabled(_, value) { - var t1 = this.get$props(this); - t1.jsObject.disabled = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "disabled", value); }, set$_raw$DomProps$style(value) { - var t1 = this.get$props(this); - t1.jsObject.style = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "style", value); }, set$className(_, value) { - var t1 = this.get$props(this); - t1.jsObject.className = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "className", value); }, set$id(_, value) { - var t1 = this.get$props(this); - t1.jsObject.id = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "id", value); }, set$title(_, value) { - var t1 = this.get$props(this); - t1.jsObject.title = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "title", value); }, set$height(_, value) { - var t1 = this.get$props(this); - t1.jsObject.height = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "height", value); }, set$pattern(_, value) { - var t1 = this.get$props(this); - t1.jsObject.pattern = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "pattern", value); }, set$src(_, value) { - var t1 = this.get$props(this); - t1.jsObject.src = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "src", value); }, set$step(_, value) { - var t1 = this.get$props(this); - t1.jsObject.step = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "step", value); }, get$target(_) { - var t1 = this.get$props(this); - t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.target); + var t1 = this.get$props(this).$index(0, "target"); return t1 == null ? null : t1; }, set$type(_, value) { - var t1 = this.get$props(this); - t1.jsObject.type = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "type", value); }, get$value(_) { - var t1 = this.get$props(this); - t1 = A.DartValueWrapper_unwrapIfNeeded(t1.jsObject.value); + var t1 = this.get$props(this).$index(0, "value"); return t1 == null ? null : t1; }, set$value(_, value) { - var t1 = this.get$props(this); - t1.jsObject.value = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "value", value); }, set$width(_, value) { - var t1 = this.get$props(this); - t1.jsObject.width = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "width", 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); + this.get$props(this).$indexSet(0, "onChange", 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); + this.get$props(this).$indexSet(0, "onSubmit", 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); + this.get$props(this).$indexSet(0, "onClick", 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); + this.get$props(this).$indexSet(0, "onMouseEnter", 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); + this.get$props(this).$indexSet(0, "onMouseLeave", 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); + this.get$props(this).$indexSet(0, "onMouseMove", 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); + this.get$props(this).$indexSet(0, "onMouseUp", 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); + this.get$props(this).$indexSet(0, "onPointerDown", 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); + this.get$props(this).$indexSet(0, "onPointerUp", value); }, set$defaultValue(_, value) { - var t1 = this.get$props(this); - t1.jsObject.defaultValue = A.DartValueWrapper_wrapIfNeeded(value); + this.get$props(this).$indexSet(0, "defaultValue", value); } }; A.SvgPropsMixin.prototype = { @@ -71132,7 +72395,7 @@ } }; A.GeneratedClass.prototype = {}; - A.UiProps0.prototype = { + A.UiProps.prototype = { get$props(_) { return A.throwExpression(A.UngeneratedError$(B.Symbol_props, null)); } @@ -71153,23 +72416,13 @@ A._UiProps_UiProps_GeneratedClass.prototype = {}; A._UiState_UiState_GeneratedClass.prototype = {}; A.UiState0.prototype = {$isMap: 1}; - A.UiProps.prototype = { + A.UiProps0.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)); - } }, call$9(c1, c2, c3, c4, c5, c6, c7, c8, c9) { var childArguments, t1, t2, t3; @@ -71197,14 +72450,14 @@ t1.toString; return t1.build$2(this.get$props(this), childArguments); }, - call$2(c1, c2) { - return this.call$9(c1, c2, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); + call$0() { + return this.call$9(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); }, call$1(c1) { return this.call$9(c1, 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$0() { - return this.call$9(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); + call$2(c1, c2) { + return this.call$9(c1, c2, 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$9(c1, c2, c3, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified, B.C_NotSpecified); @@ -71235,14 +72488,14 @@ call$1(child) { return child !== B.C_NotSpecified; }, - $signature: 36 + $signature: 33 }; A.PropsMapViewMixin.prototype = { get$_component_base$_map() { return this.get$props(this); }, toString$0(_) { - return A.getRuntimeType(this).toString$0(0) + ": " + A._prettyObj(this.get$props(this)); + return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + A._prettyObj(this.get$props(this)); } }; A.StateMapViewMixin.prototype = { @@ -71250,7 +72503,7 @@ return this.get$state(this); }, toString$0(_) { - return A.getRuntimeType(this).toString$0(0) + ": " + A._prettyObj(this.get$state(this)); + return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + A._prettyObj(this.get$state(this)); } }; A.MapViewMixin.prototype = { @@ -71258,11 +72511,9 @@ 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); }, - map$1($receiver, f) { - return this.map$2$1($receiver, f, type$.dynamic, type$.dynamic); - }, - get$entries(_) { - return J.get$entries$x(this.get$_component_base$_map()); + map$1(_, f) { + var t1 = type$.dynamic; + return this.map$2$1(0, f, t1, t1); }, removeWhere$1(_, predicate) { A._instanceType(this)._eval$1("bool(MapViewMixin.K,MapViewMixin.V)")._as(predicate); @@ -71319,7 +72570,7 @@ 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; + return meta == null ? B.PropsMeta_List_empty : meta; }, get$keys(_) { var t1 = this._metaByMixin; @@ -71367,7 +72618,7 @@ type$.ConsumedProps._as(consumedProps); return consumedProps.get$keys(consumedProps); }, - $signature: 258 + $signature: 256 }; A.UiStatefulComponent2.prototype = {}; A.UiStatefulMixin2.prototype = { @@ -71401,13 +72652,13 @@ call$1(x) { return x == null; }, - $signature: 36 + $signature: 33 }; A.connect_closure0.prototype = { call$1(x) { return x == null; }, - $signature: 36 + $signature: 33 }; A.connect_wrapWithConnect.prototype = { call$1(factory) { @@ -71443,7 +72694,7 @@ 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); + hocFactoryProxy.reactClass._componentTypeMeta = new A.ComponentTypeMeta(); return new A.connect_wrapWithConnect_connectedFactory(factory, hocFactoryProxy, t1); }, $signature() { @@ -71454,7 +72705,7 @@ call$1(props) { return A.jsBackingMapOrJsCopy(props instanceof A.UiProps ? props.get$props(props) : props); }, - $signature: 259 + $signature: 257 }; A.connect_wrapWithConnect_jsPropsToTProps.prototype = { call$1(jsProps) { @@ -71475,7 +72726,7 @@ call$2(dartFunction, count) { return this.call$1$2(dartFunction, count, type$.Function); }, - $signature: 260 + $signature: 258 }; A.connect_wrapWithConnect_handleMapStateToProps.prototype = { call$1(jsState) { @@ -71483,7 +72734,7 @@ t1.toString; return this.jsMapFromProps.call$1(t1.call$1(A.DartValueWrapper_unwrapIfNeeded0(jsState, this.TReduxState))); }, - $signature: 170 + $signature: 105 }; A.connect_wrapWithConnect_handleMapStateToPropsWithOwnProps.prototype = { call$2(jsState, jsOwnProps) { @@ -71493,7 +72744,7 @@ t1.toString; return _this.jsMapFromProps.call$1(t1.call$2(A.DartValueWrapper_unwrapIfNeeded0(jsState, _this.TReduxState), _this.jsPropsToTProps.call$1(jsOwnProps))); }, - $signature: 144 + $signature: 114 }; A.connect_wrapWithConnect_handleMakeMapStateToProps.prototype = { call$2(initialJsState, initialJsOwnProps) { @@ -71504,13 +72755,13 @@ 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: 269 + $signature: 267 }; 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: 170 + $signature: 105 }; A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps.prototype = { call$2(initialJsState, initialJsOwnProps) { @@ -71522,7 +72773,7 @@ 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: 272 + $signature: 270 }; A.connect_wrapWithConnect_handleMakeMapStateToPropsWithOwnProps_handleMakeMapStateToPropsWithOwnPropsFactory.prototype = { call$2(jsState, jsOwnProps) { @@ -71530,13 +72781,13 @@ 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: 144 + $signature: 114 }; 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: 154 }; A.connect_wrapWithConnect_handleMapDispatchToPropsWithOwnProps.prototype = { call$2(dispatch, jsOwnProps) { @@ -71547,7 +72798,7 @@ t1.toString; return this.jsMapFromProps.call$1(t1.call$2(dispatch, this.jsPropsToTProps.call$1(jsOwnProps))); }, - $signature: 135 + $signature: 155 }; A.connect_wrapWithConnect_handleMakeMapDispatchToProps.prototype = { call$2(dispatch, initialJsOwnProps) { @@ -71558,13 +72809,13 @@ 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: 276 + $signature: 274 }; 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: 143 + $signature: 154 }; A.connect_wrapWithConnect_handleMakeMapDispatchToPropsWithOwnProps.prototype = { call$2(dispatch, initialJsOwnProps) { @@ -71576,13 +72827,13 @@ 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); }, - $signature: 279 + $signature: 277 }; 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)))); }, - $signature: 135 + $signature: 155 }; A.connect_wrapWithConnect_handleAreOwnPropsEqual.prototype = { call$2(jsNext, jsPrev) { @@ -71592,7 +72843,7 @@ t1 = this.jsPropsToTProps; return this.areOwnPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - $signature: 85 + $signature: 100 }; A.connect_wrapWithConnect_handleAreStatePropsEqual.prototype = { call$2(jsNext, jsPrev) { @@ -71602,7 +72853,7 @@ t1 = this.jsPropsToTProps; return this.areStatePropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - $signature: 85 + $signature: 100 }; A.connect_wrapWithConnect_handleAreMergedPropsEqual.prototype = { call$2(jsNext, jsPrev) { @@ -71612,7 +72863,7 @@ t1 = this.jsPropsToTProps; return this.areMergedPropsEqual.call$2(t1.call$1(jsNext), t1.call$1(jsPrev)); }, - $signature: 85 + $signature: 100 }; A.connect_wrapWithConnect_interopMapStateToPropsHandler.prototype = { call$0() { @@ -71623,13 +72874,13 @@ return _this.allowInteropWithArgCount.call$1$2(_this.handleMapStateToPropsWithOwnProps, 2, type$.Function); return null; }, - $signature: 134 + $signature: 146 }; A.connect_wrapWithConnect_interopMapDispatchToPropsHandler.prototype = { call$0() { return null; }, - $signature: 134 + $signature: 146 }; A.connect_wrapWithConnect_connectedFactory.prototype = { call$1(props) { @@ -71669,33 +72920,36 @@ }; A._reduxifyStore_closure.prototype = { call$0() { - var t1 = this.store; - return A.DartValueWrapper_wrapIfNeeded0(t1.get$state(t1)); + var t1 = this.store.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + return A.DartValueWrapper_wrapIfNeeded0(t1); }, - $signature: 284 + $signature: 282 }; 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)); + var t1 = type$.Function, + t2 = this.store._changeController; + t2 = new A._BroadcastStream(t2, A._instanceType(t2)._eval$1("_BroadcastStream<1>")).listen$1(new A._reduxifyStore__closure(t1._as(cb))); return A.allowInterop(t2.get$cancel(t2), t1); }, - $signature: 285 + $signature: 283 }; A._reduxifyStore__closure.prototype = { call$1(_) { this.cb.call$0(); }, - $signature: 31 + $signature: 34 }; A._reduxifyStore_closure1.prototype = { call$1(action) { - this.store.dispatch$1(action); + var t1 = this.store.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$1(action); }, - $signature: 49 + $signature: 44 }; A.JsReactReduxStore.prototype = {}; A.JsConnectOptions.prototype = {}; @@ -71713,13 +72967,13 @@ call$1(map) { return A._$$ReduxProviderProps__$$ReduxProviderProps(type$.Map_dynamic_dynamic._as(map)); }, - $signature: 287 + $signature: 285 }; A._$ReduxProviderConfig_closure0.prototype = { call$1(map) { return A._$$ReduxProviderProps$JsMap$(type$.JsBackedMap._as(map)); }, - $signature: 289 + $signature: 287 }; A._$$ReduxProviderProps.prototype = { get$$$isClassGenerated() { @@ -71778,7 +73032,7 @@ call$1(items) { return B.JSString_methods.contains$1(A._asString(items), "\n"); }, - $signature: 26 + $signature: 29 }; A._prettyObj_closure0.prototype = { call$1(key) { @@ -71792,28 +73046,29 @@ } else B.JSArray_methods.add$1(this.otherKeys, key); }, - $signature: 31 + $signature: 34 }; A._prettyObj__closure0.prototype = { call$0() { return A._setArrayType([], type$.JSArray_String); }, - $signature: 291 + $signature: 289 }; A._prettyObj_closure1.prototype = { call$1(entry) { - var namespace, t1; + var namespace, t1, t2; type$.MapEntry_of_String_and_List_String._as(entry); namespace = entry.key; - t1 = type$.String; - return 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)); + t1 = J.map$1$1$ax(entry.value, new A._prettyObj_closure_renderSubKey(namespace, this.obj), type$.String); + t2 = t1.$ti; + return namespace + "\u2026\n" + A._indentString(new A.MappedListIterable(t1, t2._eval$1("String(ListIterable.E)")._as(new A._prettyObj__closure()), t2._eval$1("MappedListIterable")).join$0(0)); }, - $signature: 292 + $signature: 290 }; A._prettyObj_closure_renderSubKey.prototype = { call$1(subkey) { A._asString(subkey); - return B.JSString_methods.$add(subkey + ": ", A._prettyObj(J.$index$asx(this.obj, this.namespace + subkey))); + return subkey + ": " + A._prettyObj(J.$index$asx(this.obj, this.namespace + subkey)); }, $signature: 27 }; @@ -71825,15 +73080,15 @@ }; A._prettyObj_closure2.prototype = { call$1(key) { - return B.JSString_methods.$add(A.S(key) + ": ", A._prettyObj(J.$index$asx(this.obj, key))) + ","; + return A.S(key) + ": " + A._prettyObj(J.$index$asx(this.obj, key)) + ","; }, - $signature: 293 + $signature: 291 }; A._prettyObj_closure3.prototype = { call$1(pair) { return B.JSString_methods.contains$1(A._asString(pair), "\n"); }, - $signature: 26 + $signature: 29 }; A.WeakMap.prototype = {}; A.Context1.prototype = { @@ -71853,8 +73108,8 @@ 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); + for (t1 = parts.$ti, t2 = t1._eval$1("bool(Iterable.E)")._as(new A.Context_joinAll_closure()), t3 = parts.get$iterator(0), 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(0); if (t2.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) { parsed = A.ParsedPath_ParsedPath$parse(t5, t2); path = t4.charCodeAt(0) == 0 ? t4 : t4; @@ -71903,14 +73158,17 @@ return parsed.toString$0(0); }, _needsNormalization$1(path) { - var i, start, previous, t2, t3, previousPrevious, codeUnit, t4, + var t2, i, start, previous, 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) + for (t2 = path.length, i = 0; i < root; ++i) { + if (!(i < t2)) + return A.ioore(path, i); + if (path.charCodeAt(i) === 47) return true; + } start = root; previous = 47; } else { @@ -71918,7 +73176,9 @@ 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 (!(i >= 0)) + return A.ioore(t2, i); + codeUnit = t2.charCodeAt(i); if (t1.isSeparator$1(codeUnit)) { if (t1 === $.$get$Style_windows() && codeUnit === 47) return true; @@ -71945,7 +73205,7 @@ return false; }, relative$1(path) { - var from, fromParsed, pathParsed, t3, t4, t5, _this = this, + var from, fromParsed, pathParsed, t3, t4, t5, t6, _this = this, _s26_ = 'Unable to find a path to "', t1 = _this.style, t2 = t1.rootLength$1(path); @@ -71983,21 +73243,22 @@ while (true) { t2 = fromParsed.parts; t3 = t2.length; + t4 = false; if (t3 !== 0) { - t4 = pathParsed.parts; - t5 = t4.length; - if (t5 !== 0) { + t5 = pathParsed.parts; + t6 = t5.length; + if (t6 !== 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; + if (0 >= t6) + return A.ioore(t5, 0); + t5 = t1.pathsEqual$2(t2, t5[0]); + t2 = t5; } else - t2 = false; + t2 = t4; } else - t2 = false; + t2 = t4; if (!t2) break; B.JSArray_methods.removeAt$1(fromParsed.parts, 0); @@ -72068,20 +73329,20 @@ call$1(part) { return A._asString(part) !== ""; }, - $signature: 26 + $signature: 29 }; A.Context_split_closure.prototype = { call$1(part) { return A._asString(part).length !== 0; }, - $signature: 26 + $signature: 29 }; A._validateArgList_closure.prototype = { call$1(arg) { A._asStringQ(arg); return arg == null ? "null" : '"' + arg + '"'; }, - $signature: 297 + $signature: 295 }; A.InternalStyle.prototype = { getRoot$1(path) { @@ -72224,7 +73485,7 @@ call$1(p) { return A._asStringQ(p) !== ""; }, - $signature: 298 + $signature: 296 }; A.ParsedPath__splitExtension_closure0.prototype = { call$0() { @@ -72254,11 +73515,27 @@ return codeUnit === 47; }, needsSeparator$1(path) { - var t1 = path.length; - return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; + var t2, + t1 = path.length; + if (t1 !== 0) { + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2) !== 47; + t1 = t2; + } else + t1 = false; + return t1; }, rootLength$2$withDrive(path, withDrive) { - if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47) + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) return 1; return 0; }, @@ -72291,22 +73568,28 @@ return codeUnit === 47; }, needsSeparator$1(path) { - var t1 = path.length; + var t2, + t1 = path.length; if (t1 === 0) return false; - if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + if (path.charCodeAt(t2) !== 47) return true; return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; }, rootLength$2$withDrive(path, withDrive) { - var i, codeUnit, index, t2, + var i, codeUnit, index, t1 = path.length; if (t1 === 0) return 0; - if (B.JSString_methods._codeUnitAt$1(path, 0) === 47) + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) return 1; for (i = 0; i < t1; ++i) { - codeUnit = B.JSString_methods._codeUnitAt$1(path, i); + codeUnit = path.charCodeAt(i); if (codeUnit === 47) return 0; if (codeUnit === 58) { @@ -72319,10 +73602,8 @@ 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; + t1 = A.driveLetterEnd(path, index + 1); + return t1 == null ? index : t1; } } return 0; @@ -72331,7 +73612,14 @@ return this.rootLength$2$withDrive(path, false); }, isRootRelative$1(path) { - return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47; + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + return t1; }, pathFromUri$1(uri) { return uri.toString$0(0); @@ -72351,22 +73639,33 @@ return codeUnit === 47 || codeUnit === 92; }, needsSeparator$1(path) { - var t1 = path.length; + var t2, + t1 = path.length; if (t1 === 0) return false; - t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1); - return !(t1 === 47 || t1 === 92); + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2); + return !(t2 === 47 || t2 === 92); }, 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) + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) return 1; - if (t2 === 92) { - if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92) + if (path.charCodeAt(0) === 92) { + if (t1 >= 2) { + if (1 >= t1) + return A.ioore(path, 1); + t2 = path.charCodeAt(1) !== 92; + } else + t2 = true; + if (t2) return 1; index = B.JSString_methods.indexOf$2(path, "\\", 2); if (index > 0) { @@ -72378,11 +73677,11 @@ } if (t1 < 3) return 0; - if (!A.isAlphabetic(t2)) + if (!A.isAlphabetic(path.charCodeAt(0))) return 0; - if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58) + if (path.charCodeAt(1) !== 58) return 0; - t1 = B.JSString_methods._codeUnitAt$1(path, 2); + t1 = path.charCodeAt(2); if (!(t1 === 47 || t1 === 92)) return 0; return 3; @@ -72399,7 +73698,7 @@ 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)) + if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null) path = B.JSString_methods.replaceFirst$2(path, "/", ""); } else path = "\\\\" + uri.get$host(uri) + path; @@ -72420,15 +73719,19 @@ return upperCase1 >= 97 && upperCase1 <= 122; }, pathsEqual$2(path1, path2) { - var t1, i; + var t1, t2, i; if (path1 === path2) return true; t1 = path1.length; - if (t1 !== path2.length) + t2 = path2.length; + if (t1 !== t2) 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))) + for (i = 0; i < t1; ++i) { + if (!(i < t2)) + return A.ioore(path2, i); + if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i))) return false; + } return true; }, get$name() { @@ -72443,42 +73746,6 @@ return "Context[" + A.Token_positionString(this.buffer, this.position) + "]"; } }; - A.Failure.prototype = { - get$isFailure() { - return true; - }, - get$value(_) { - return A.throwExpression(new A.ParserException(this)); - }, - toString$0(_) { - return "Failure[" + A.Token_positionString(this.buffer, this.position) + "]: " + this.message; - }, - get$message(receiver) { - return this.message; - } - }; - A.Result.prototype = { - get$isSuccess() { - return false; - }, - get$isFailure() { - return false; - } - }; - A.Success.prototype = { - get$isSuccess() { - return true; - }, - get$message(_) { - return A.throwExpression(A.UnsupportedError$("Successful parse results do not have a message.")); - }, - toString$0(_) { - return "Success[" + A.Token_positionString(this.buffer, this.position) + "]: " + A.S(this.value); - }, - get$value(receiver) { - return this.value; - } - }; A.ParserException.prototype = { get$message(_) { return this.failure.message; @@ -72499,12 +73766,39 @@ A.Parser.prototype = { fastParseOn$2(buffer, position) { var result = this.parseOn$1(new A.Context0(buffer, position)); - return result.get$isSuccess() ? result.position : -1; + return result instanceof A.Failure ? -1 : result.position; }, get$children(_) { return B.List_empty2; }, replace$2(_, source, target) { + }, + toString$0(_) { + var result = this.super$Object$toString(0); + return B.JSString_methods.startsWith$1(result, "Instance of '") ? B.JSString_methods.replaceFirst$2(B.JSString_methods.substring$1(result, 13), "'", "") : result; + } + }; + A.Result.prototype = {}; + A.Success.prototype = { + get$message(_) { + return A.throwExpression(A.UnsupportedError$("Successful parse results do not have a message.")); + }, + toString$0(_) { + return "Success[" + A.Token_positionString(this.buffer, this.position) + "]: " + A.S(this.value); + }, + get$value(receiver) { + return this.value; + } + }; + A.Failure.prototype = { + get$value(_) { + return A.throwExpression(new A.ParserException(this)); + }, + toString$0(_) { + return "Failure[" + A.Token_positionString(this.buffer, this.position) + "]: " + this.message; + }, + get$message(receiver) { + return this.message; } }; A.Token.prototype = { @@ -72535,7 +73829,8 @@ if (other == null) return false; if (other instanceof A.ReferenceParser) { - if (!J.$eq$(this.$function, other.$function) || false) + t1 = J.$eq$(this.$function, other.$function); + if (!t1) return false; for (t1 = this.$arguments; false;) { if (0 >= 0) @@ -72564,20 +73859,20 @@ return t1; }, moveNext$0() { - var t1, t2, t3, t4, t5, _this = this; + var t1, t2, t3, t4, end, _this = this; for (t1 = _this.input, t2 = t1.length, t3 = _this.parser; t4 = _this.start, t4 <= t2;) { - t4 = t3.delegate.fastParseOn$2(t1, t4); - t5 = _this.start; - if (t4 < 0) - _this.start = t5 + 1; + end = t3.delegate.fastParseOn$2(t1, t4); + t4 = _this.start; + if (end < 0) + _this.start = t4 + 1; else { - t1 = t3.parseOn$1(new A.Context0(t1, t5)); + t1 = t3.parseOn$1(new A.Context0(t1, t4)); _this.set$__MatchesIterator_current_A(_this.$ti._precomputed1._as(t1.get$value(t1))); t1 = _this.start; - if (t1 === t4) + if (t1 === end) _this.start = t1 + 1; else - _this.start = t4; + _this.start = end; return true; } } @@ -72585,7 +73880,8 @@ }, set$__MatchesIterator_current_A(__MatchesIterator_current_A) { this.__MatchesIterator_current_A = this.$ti._precomputed1._as(__MatchesIterator_current_A); - } + }, + $isIterator: 1 }; A.FlattenParser.prototype = { parseOn$1(context) { @@ -72594,53 +73890,47 @@ t2 = context.position, position = this.delegate.fastParseOn$2(t1, t2); if (position < 0) - return new A.Failure(this.message, t1, t2, type$.Failure_String); + return new A.Failure(this.message, t1, t2); output = B.JSString_methods.substring$2(t1, t2, position); return new A.Success(output, t1, position, type$.Success_String); }, fastParseOn$2(buffer, position) { return this.delegate.fastParseOn$2(buffer, position); }, + toString$0(_) { + var t1 = this.super$Parser$toString(0); + return t1 + "[" + this.message + "]"; + }, get$message(receiver) { return this.message; } }; 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>")); - } + var t1, t2, + result = this.delegate.parseOn$1(context); + if (result instanceof A.Failure) + return result; + t1 = this.$ti; + t2 = t1._rest[1]._as(this.callback.call$1(result.get$value(result))); + return new A.Success(t2, result.buffer, result.position, t1._eval$1("Success<2>")); + }, + fastParseOn$2(buffer, position) { + var t1 = this.delegate.fastParseOn$2(buffer, position); + return t1; } }; 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>")); - } + var t1, t2, t3, + result = this.delegate.parseOn$1(context); + if (result instanceof A.Failure) + return result; + t1 = result.position; + t2 = this.$ti; + t3 = t2._eval$1("Token<1>"); + t3 = t3._as(new A.Token(result.get$value(result), context.buffer, context.position, t1, t3)); + return new A.Success(t3, result.buffer, t1, t2._eval$1("Success>")); }, fastParseOn$2(buffer, position) { return this.delegate.fastParseOn$2(buffer, position); @@ -72668,13 +73958,14 @@ 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; + t3[t6] = (t3[t6] | B.List_ouN[index & 31]) >>> 0; } } }, test$1(value) { - var t2, t3, - t1 = this.start; + var t3, + t1 = this.start, + t2 = false; if (t1 <= value) if (value <= this.stop) { t1 = value - t1; @@ -72682,11 +73973,11 @@ 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; + t1 = (t2[t3] & B.List_ouN[t1 & 31]) >>> 0 !== 0; } else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; return t1; }, $isCharacterPredicate: 1 @@ -72706,7 +73997,7 @@ t2 = second.start; return t1 !== t2 ? t1 - t2 : first.stop - second.stop; }, - $signature: 299 + $signature: 297 }; A.optimizedRanges_closure0.prototype = { call$2(current, range) { @@ -72714,29 +74005,29 @@ type$.RangeCharPredicate._as(range); return current + (range.stop - range.start + 1); }, - $signature: 300 + $signature: 298 }; A._single_closure.prototype = { call$1(element) { - var t1 = B.JSString_methods._codeUnitAt$1(A._asString(element), 0); - return new A.RangeCharPredicate(t1, t1); + A._asString(element); + if (0 >= element.length) + return A.ioore(element, 0); + return new A.RangeCharPredicate(element.charCodeAt(0), element.charCodeAt(0)); }, - $signature: 301 + $signature: 299 }; A._range_closure.prototype = { call$3(start, _, $stop) { A._asString(start); A._asString(_); A._asString($stop); - return new A.RangeCharPredicate(B.JSString_methods._codeUnitAt$1(start, 0), B.JSString_methods._codeUnitAt$1($stop, 0)); - }, - $signature: 302 - }; - A._sequence_closure.prototype = { - call$1(predicates) { - return A.optimizedRanges(J.cast$1$0$ax(type$.List_dynamic._as(predicates), type$.RangeCharPredicate)); + if (0 >= start.length) + return A.ioore(start, 0); + if (0 >= $stop.length) + return A.ioore($stop, 0); + return new A.RangeCharPredicate(start.charCodeAt(0), $stop.charCodeAt(0)); }, - $signature: 303 + $signature: 300 }; A._pattern_closure.prototype = { call$2(negation, sequence) { @@ -72749,7 +74040,7 @@ t1 = sequence instanceof A.ConstantCharPredicate ? new A.ConstantCharPredicate(!sequence.constant) : new A.NotCharacterPredicate(sequence); return t1; }, - $signature: 305 + $signature: 301 }; A.CharacterPredicate.prototype = {}; A.RangeCharPredicate.prototype = { @@ -72802,15 +74093,20 @@ }; 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) { + var result, t3, failure, i, + t1 = this.children, + t2 = t1.length; + if (0 >= t2) + return A.ioore(t1, 0); + result = t1[0].parseOn$1(context); + if (!(result instanceof A.Failure)) + return result; + for (t3 = this.failureJoiner, failure = result, i = 1; i < t2; ++i) { result = t1[i].parseOn$1(context); - if (t4._is(result)) - failure = failure == null ? result : t3.call$2(failure, result); - else + if (!(result instanceof A.Failure)) return result; + failure = t3.call$2(failure, result); } - failure.toString; return failure; }, fastParseOn$2(buffer, position) { @@ -72831,34 +74127,24 @@ var _this = this; _this.super$Parser$replace(0, source, target); if (_this.delegate.$eq(0, source)) - _this.set$delegate(A._instanceType(_this)._eval$1("Parser")._as(target)); + _this.set$delegate(A._instanceType(_this)._eval$1("Parser")._as(target)); }, set$delegate(delegate) { - this.delegate = A._instanceType(this)._eval$1("Parser")._as(delegate); + this.delegate = A._instanceType(this)._eval$1("Parser")._as(delegate); } }; 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>")); + var result2, t1, + result1 = this.parser1.parseOn$1(context); + if (result1 instanceof A.Failure) + return result1; + result2 = this.parser2.parseOn$1(result1); + if (result2 instanceof A.Failure) + return result2; + t1 = this.$ti; + result1 = t1._eval$1("+(1,2)")._as(new A._Record_2(result1.get$value(result1), result2.get$value(result2))); + return new A.Success(result1, result2.buffer, result2.position, t1._eval$1("Success<+(1,2)>")); }, fastParseOn$2(buffer, position) { position = this.parser1.fastParseOn$2(buffer, position); @@ -72887,64 +74173,30 @@ this.parser2 = this.$ti._eval$1("Parser<2>")._as(parser2); } }; - 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); - }, - map$1($receiver, callback) { - return this.map$1$1($receiver, callback, type$.dynamic); - }, - 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); - }, - $eq(_, other) { - if (other == null) - return false; - return this.$ti._is(other) && J.$eq$(this.first, other.first) && J.$eq$(this.second, other.second); - }, - toString$0(_) { - return this.super$Object$toString(0) + "(" + A.S(this.first) + ", " + A.S(this.second) + ")"; - } - }; - 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); - return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3)")._as(_this.callback).call$2(sequence.first, sequence.second); + A.RecordParserExtension2_map2_closure.prototype = { + call$1(record) { + this.T1._eval$1("@<0>")._bind$1(this.T2)._eval$1("+(1,2)")._as(record); + return this.callback.call$2(record._0, record._1); }, $signature() { - return this.R._eval$1("@<0>")._bind$1(this.T1)._bind$1(this.T2)._eval$1("1(Sequence2<2,3>)"); + return this.R._eval$1("@<0>")._bind$1(this.T1)._bind$1(this.T2)._eval$1("1(+(2,3))"); } }; A.SequenceParser3.prototype = { parseOn$1(context) { - var t1, t2, t3, result2, result3, _this = this, + var result2, result3, t1, _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>")); - } + if (result1 instanceof A.Failure) + return result1; 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>")); - } + if (result2 instanceof A.Failure) + return result2; 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>")); - } + if (result3 instanceof A.Failure) + return result3; 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>")); + result2 = t1._eval$1("+(1,2,3)")._as(new A._Record_3(result1.get$value(result1), result2.get$value(result2), result3.get$value(result3))); + return new A.Success(result2, result3.buffer, result3.position, t1._eval$1("Success<+(1,2,3)>")); }, fastParseOn$2(buffer, position) { position = this.parser1.fastParseOn$2(buffer, position); @@ -72981,75 +74233,35 @@ this.parser3 = this.$ti._eval$1("Parser<3>")._as(parser3); } }; - A.Sequence3.prototype = { - map$1$1(_, callback, $R) { + A.RecordParserExtension3_map3_closure.prototype = { + call$1(record) { 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); - }, - map$1($receiver, callback) { - return this.map$1$1($receiver, callback, type$.dynamic); - }, - 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); - }, - $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); - }, - toString$0(_) { - var _this = this; - return _this.super$Object$toString(0) + "(" + A.S(_this.first) + ", " + A.S(_this.second) + ", " + A.S(_this.third) + ")"; - } - }; - 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); - return sequence.$ti._bind$1(_this.R)._eval$1("1(2,3,4)")._as(_this.callback).call$3(sequence.first, sequence.second, sequence.third); + _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._eval$1("+(1,2,3)")._as(record); + return _this.callback.call$3(record._0, record._1, record._2); }, $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>)"); + return _this.R._eval$1("@<0>")._bind$1(_this.T1)._bind$1(_this.T2)._bind$1(_this.T3)._eval$1("1(+(2,3,4))"); } }; A.SequenceParser4.prototype = { parseOn$1(context) { - var t1, t2, t3, result2, result3, result4, _this = this, + var result2, result3, result4, t1, _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>")); - } + if (result1 instanceof A.Failure) + return result1; 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>")); - } + if (result2 instanceof A.Failure) + return result2; 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>")); - } + if (result3 instanceof A.Failure) + return result3; 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>")); - } + if (result4 instanceof A.Failure) + return result4; 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>")); + result3 = t1._eval$1("+(1,2,3,4)")._as(new A._Record_4([result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), result4.get$value(result4)])); + return new A.Success(result3, result4.buffer, result4.position, t1._eval$1("Success<+(1,2,3,4)>")); }, fastParseOn$2(buffer, position) { var _this = this; @@ -73096,83 +74308,38 @@ this.parser4 = this.$ti._eval$1("Parser<4>")._as(parser4); } }; - 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); - }, - map$1($receiver, callback) { - return this.map$1$1($receiver, callback, type$.dynamic); - }, - 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); - }, - $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); - }, - 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.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); - 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); + A.RecordParserExtension4_map4_closure.prototype = { + call$1(record) { + var _this = this, + t1 = _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._eval$1("+(1,2,3,4)")._as(record).__js_helper$_values; + return _this.callback.call$4(t1[0], t1[1], t1[2], t1[3]); }, $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>)"); + 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(+(2,3,4,5))"); } }; A.SequenceParser5.prototype = { parseOn$1(context) { - var t1, t2, t3, result2, result3, result4, result5, _this = this, + var result2, result3, result4, result5, t1, _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>")); - } + if (result1 instanceof A.Failure) + return result1; 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>")); - } + if (result2 instanceof A.Failure) + return result2; 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>")); - } + if (result3 instanceof A.Failure) + return result3; 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>")); - } + if (result4 instanceof A.Failure) + return result4; 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>")); - } + if (result5 instanceof A.Failure) + return result5; 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>")); + result4 = t1._eval$1("+(1,2,3,4,5)")._as(new A._Record_5([result1.get$value(result1), result2.get$value(result2), result3.get$value(result3), result4.get$value(result4), result5.get$value(result5)])); + return new A.Success(result4, result5.buffer, result5.position, t1._eval$1("Success<+(1,2,3,4,5)>")); }, fastParseOn$2(buffer, position) { var _this = this; @@ -73227,104 +74394,47 @@ this.parser5 = this.$ti._eval$1("Parser<5>")._as(parser5); } }; - 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); - }, - map$1($receiver, callback) { - return this.map$1$1($receiver, callback, type$.dynamic); - }, - 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); - }, - $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); - }, - 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.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); - 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); + A.RecordParserExtension5_map5_closure.prototype = { + call$1(record) { + var _this = this, + t1 = _this.T1._eval$1("@<0>")._bind$1(_this.T2)._bind$1(_this.T3)._bind$1(_this.T4)._bind$1(_this.T5)._eval$1("+(1,2,3,4,5)")._as(record).__js_helper$_values; + return _this.callback.call$5(t1[0], t1[1], t1[2], t1[3], t1[4]); }, $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>)"); + 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(+(2,3,4,5,6))"); } }; A.SequenceParser8.prototype = { parseOn$1(context) { - var t1, t2, t3, result2, result3, result4, result5, result6, result7, result8, _this = this, + var result2, result3, result4, result5, result6, result7, result8, t1, _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>")); - } + if (result1 instanceof A.Failure) + return result1; 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>")); - } + if (result2 instanceof A.Failure) + return result2; 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>")); - } + if (result3 instanceof A.Failure) + return result3; 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>")); - } + if (result4 instanceof A.Failure) + return result4; 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>")); - } + if (result5 instanceof A.Failure) + return result5; 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>")); - } + if (result6 instanceof A.Failure) + return result6; 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>")); - } + if (result7 instanceof A.Failure) + return result7; 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>")); - } + if (result8 instanceof A.Failure) + return result8; 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>")); + result7 = t1._eval$1("+(1,2,3,4,5,6,7,8)")._as(new A._Record_8([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)])); + return new A.Success(result7, result8.buffer, result8.position, t1._eval$1("Success<+(1,2,3,4,5,6,7,8)>")); }, fastParseOn$2(buffer, position) { var _this = this; @@ -73403,38 +74513,15 @@ 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); - }, - map$1($receiver, callback) { - return this.map$1$1($receiver, callback, type$.dynamic); - }, - 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); - }, - $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); - }, - 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) + ")"; - } - }; - 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); - 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); + A.RecordParserExtension8_map8_closure.prototype = { + call$1(record) { + var _this = this, + t1 = _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("+(1,2,3,4,5,6,7,8)")._as(record).__js_helper$_values; + return _this.callback.call$8(t1[0], t1[1], t1[2], t1[3], t1[4], t1[5], t1[6], t1[7]); }, $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>)"); + 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(+(2,3,4,5,6,7,8,9))"); } }; A.ListParser.prototype = { @@ -73453,13 +74540,11 @@ parseOn$1(context) { var t1, t2, result = this.delegate.parseOn$1(context); - if (result.get$isSuccess()) + if (!(result instanceof A.Failure)) 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>")); - } + t1 = this.$ti; + t2 = t1._precomputed1._as(this.otherwise); + return new A.Success(t2, context.buffer, context.position, t1._eval$1("Success<1>")); }, fastParseOn$2(buffer, position) { var result = this.delegate.fastParseOn$2(buffer, position); @@ -73468,67 +74553,38 @@ }; 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()) + var resultContext, afterContext, t1, t2, _this = this, + beforeContext = _this.before.parseOn$1(context); + if (beforeContext instanceof A.Failure) + return beforeContext; + resultContext = _this.delegate.parseOn$1(beforeContext); + if (resultContext instanceof A.Failure) 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; + afterContext = _this.after.parseOn$1(resultContext); + if (afterContext instanceof A.Failure) + return afterContext; 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>")); + return new A.Success(t2, afterContext.buffer, afterContext.position, t1._eval$1("Success<1>")); }, fastParseOn$2(buffer, position) { - var t1 = this.before, - position0 = t1 == null ? null : t1.fastParseOn$2(buffer, position); - position = position0 == null ? position : position0; + position = this.before.fastParseOn$2(buffer, position); if (position < 0) return -1; position = this.delegate.fastParseOn$2(buffer, position); if (position < 0) return -1; - t1 = this.after; - position0 = t1 == null ? null : t1.fastParseOn$2(buffer, position); - return position0 == null ? position : position0; + return this.after.fastParseOn$2(buffer, 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; + return A._setArrayType([this.before, this.delegate, this.after], type$.JSArray_Parser_dynamic); }, replace$2(_, source, target) { var _this = this; _this.super$DelegateParser$replace(0, source, target); - if (J.$eq$(_this.before, source)) + if (_this.before.$eq(0, source)) _this.before = target; - if (J.$eq$(_this.after, source)) + if (_this.after.$eq(0, source)) _this.after = target; } }; @@ -73540,6 +74596,9 @@ }, fastParseOn$2(buffer, position) { return position; + }, + toString$0(_) { + return this.super$Parser$toString(0) + "[" + A.S(this.result) + "]"; } }; A.NewlineParser.prototype = { @@ -73548,32 +74607,41 @@ buffer = context.buffer, position = context.position, t1 = buffer.length; - if (position < t1) - switch (B.JSString_methods.codeUnitAt$1(buffer, position)) { + if (position < t1) { + if (!(position >= 0)) + return A.ioore(buffer, position); + switch (buffer.charCodeAt(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) + if (t2 < t1 && buffer.charCodeAt(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); + } + return new A.Failure(this.message, buffer, position); }, fastParseOn$2(buffer, position) { var t2, t1 = buffer.length; - if (position < t1) - switch (B.JSString_methods.codeUnitAt$1(buffer, position)) { + if (position < t1) { + if (!(position >= 0)) + return A.ioore(buffer, position); + switch (buffer.charCodeAt(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 t2 < t1 && buffer.charCodeAt(t2) === 10 ? position + 2 : t2; } + } return -1; }, + toString$0(_) { + return this.super$Parser$toString(0) + "[" + this.message + "]"; + }, get$message(receiver) { return this.message; } @@ -73587,36 +74655,52 @@ 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; + return new A.Success(t1, buffer, position + 1, type$.Success_String); + } + return new A.Failure(this.message, buffer, position); }, fastParseOn$2(buffer, position) { return position < buffer.length ? position + 1 : -1; }, + toString$0(_) { + return this.super$Parser$toString(0) + "[" + this.message + "]"; + }, get$message(receiver) { return this.message; } }; A.SingleCharacterParser.prototype = { parseOn$1(context) { - var buffer = context.buffer, + var t2, + 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 < t1) { + if (!(position >= 0)) + return A.ioore(buffer, position); + t2 = this.predicate.test$1(buffer.charCodeAt(position)); + } else + t2 = false; + if (t2) { 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); + return new A.Failure(this.message, buffer, position); }, fastParseOn$2(buffer, position) { - return position < buffer.length && this.predicate.test$1(B.JSString_methods.codeUnitAt$1(buffer, position)) ? position + 1 : -1; + var t1 = buffer.length; + if (position < t1) { + if (!(position >= 0)) + return A.ioore(buffer, position); + t1 = this.predicate.test$1(buffer.charCodeAt(position)); + } else + t1 = false; + return t1 ? position + 1 : -1; }, toString$0(_) { - return this.super$Object$toString(0) + "[" + this.message + "]"; + return this.super$Parser$toString(0) + "[" + this.message + "]"; }, get$message(receiver) { return this.message; @@ -73633,14 +74717,14 @@ 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); + return new A.Failure(this.message, t1, start); }, 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; }, toString$0(_) { - return this.super$Object$toString(0) + "[" + this.message + "]"; + return this.super$Parser$toString(0) + "[" + this.message + "]"; }, get$length(receiver) { return this.length; @@ -73653,17 +74737,23 @@ call$1(each) { return this.element === each; }, - $signature: 26 + $signature: 29 }; A.RepeatingCharacterParser.prototype = { parseOn$1(context) { - var t1, t2, position, count, _this = this, + var t1, t2, position, count, t3, _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); + if (position < end) { + if (!(position >= 0 && position < end)) + return A.ioore(buffer, position); + t3 = !t2.test$1(buffer.charCodeAt(position)); + } else + t3 = true; + if (t3) + return new A.Failure(_this.message, buffer, position); ++position; ++count; } @@ -73671,7 +74761,9 @@ while (true) { if (!(position < end && count < t1)) break; - if (!t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + if (!(position >= 0 && position < end)) + return A.ioore(buffer, position); + if (!t2.test$1(buffer.charCodeAt(position))) break; ++position; ++count; @@ -73680,10 +74772,16 @@ return new A.Success(t1, buffer, position, type$.Success_String); }, fastParseOn$2(buffer, position) { - var t1, t2, count, + var t1, t2, count, t3, 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))) + if (position < end) { + if (!(position >= 0 && position < end)) + return A.ioore(buffer, position); + t3 = !t2.test$1(buffer.charCodeAt(position)); + } else + t3 = true; + if (t3) return -1; ++position; ++count; @@ -73692,7 +74790,9 @@ while (true) { if (!(position < end && count < t1)) break; - if (!t2.test$1(B.JSString_methods.codeUnitAt$1(buffer, position))) + if (!(position >= 0 && position < end)) + return A.ioore(buffer, position); + if (!t2.test$1(buffer.charCodeAt(position))) break; ++position; ++count; @@ -73701,7 +74801,7 @@ }, toString$0(_) { var _this = this, - t1 = _this.super$Object$toString(0), + t1 = _this.super$Parser$toString(0), t2 = _this.max; return t1 + "[" + _this.message + ", " + _this.min + ".." + A.S(t2 === 9007199254740991 ? "*" : t2) + "]"; }, @@ -73711,39 +74811,27 @@ }; A.LazyRepeatingParser.prototype = { parseOn$1(context) { - var t2, current, result, t3, t4, limiter, _this = this, + var t2, current, result, 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>")); - } + if (result instanceof A.Failure) + return result; 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>")); - } + if (limiter instanceof A.Failure) { + if (elements.length >= t2) + return limiter; 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>")); - } + if (result instanceof A.Failure) + return limiter; B.JSArray_methods.add$1(elements, result.get$value(result)); + } else { + t1._eval$1("List<1>")._as(elements); + return new A.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); } } }, @@ -73756,16 +74844,15 @@ ++count; } for (t1 = _this.max; true; current = result) - if (_this.limit.fastParseOn$2(buffer, current) >= 0) - return current; - else { + if (_this.limit.fastParseOn$2(buffer, current) < 0) { if (count >= t1) return -1; result = _this.delegate.fastParseOn$2(buffer, current); if (result < 0) return -1; ++count; - } + } else + return current; } }; A.LimitedRepeatingParser.prototype = { @@ -73780,25 +74867,19 @@ }; A.PossessiveRepeatingParser.prototype = { parseOn$1(context) { - var t2, current, result, t3, t4, _this = this, + var t2, current, result, _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>")); - } + if (result instanceof A.Failure) + return result; B.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 A.Success(elements, current.buffer, current.position, t1._eval$1("Success>")); - } + if (result instanceof A.Failure) + break; B.JSArray_methods.add$1(elements, result.get$value(result)); } t1._eval$1("List<1>")._as(elements); @@ -73815,7 +74896,7 @@ for (t1 = _this.max; count < t1; current = result) { result = _this.delegate.fastParseOn$2(buffer, current); if (result < 0) - return current; + break; ++count; } return current; @@ -73823,7 +74904,7 @@ }; A.RepeatingParser.prototype = { toString$0(_) { - var t1 = this.super$Object$toString(0), + var t1 = this.super$Parser$toString(0), t2 = this.max; return t1 + "[" + this.min + ".." + A.S(t2 === 9007199254740991 ? "*" : t2) + "]"; } @@ -73840,25 +74921,25 @@ t1 = $.Browser_navigator; return t1 != null && A.boolConversionCheck(browser._matchesNavigator.call$1(t1)); }, - $signature: 311 + $signature: 303 }; A.Browser_getCurrentBrowser_closure0.prototype = { call$0() { return $.$get$Browser_UnknownBrowser(); }, - $signature: 316 + $signature: 309 }; A.Browser_UnknownBrowser_closure.prototype = { call$1(_) { return false; }, - $signature: 18 + $signature: 17 }; A.Browser_UnknownBrowser_closure0.prototype = { call$1(_) { return A.Version_Version(0, 0, 0, null); }, - $signature: 321 + $signature: 317 }; A._Chrome.prototype = {}; A.EdgeChrome.prototype = {}; @@ -73875,19 +74956,19 @@ t1 = $.OperatingSystem_navigator; return t1 != null && A.boolConversionCheck(system._operating_system$_matchesNavigator.call$1(t1)); }, - $signature: 323 + $signature: 319 }; A.OperatingSystem_getCurrentOperatingSystem_closure0.prototype = { call$0() { return $.$get$OperatingSystem_UnknownOS(); }, - $signature: 342 + $signature: 321 }; A.OperatingSystem_UnknownOS_closure.prototype = { call$1(_) { return false; }, - $signature: 18 + $signature: 17 }; A.linux_closure.prototype = { call$1($navigator) { @@ -73895,7 +74976,7 @@ t1.toString; return B.JSString_methods.contains$1(t1, "Linux"); }, - $signature: 18 + $signature: 17 }; A.mac_closure.prototype = { call$1($navigator) { @@ -73903,7 +74984,7 @@ t1.toString; return B.JSString_methods.contains$1(t1, "Mac"); }, - $signature: 18 + $signature: 17 }; A.unix_closure.prototype = { call$1($navigator) { @@ -73911,7 +74992,7 @@ t1.toString; return B.JSString_methods.contains$1(t1, "X11"); }, - $signature: 18 + $signature: 17 }; A.windows_closure.prototype = { call$1($navigator) { @@ -73919,7 +75000,7 @@ t1.toString; return B.JSString_methods.contains$1(t1, "Win"); }, - $signature: 18 + $signature: 17 }; A.chrome_closure.prototype = { call$1($navigator) { @@ -73927,1510 +75008,14 @@ t1.toString; return B.JSString_methods.contains$1(t1, "CrOS"); }, - $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; - }, - 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 $W; - }, - _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._asInt(t3[t6]); - 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._asInt(t3[t9]); - 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._asInt(t3[t13]); - 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._asInt(t3[t14]); - 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._asInt(t3[t11]); - t6 = B.JSInt_methods._shrOtherPositive$1(t11, 16); - t7 = t00 >>> 24 & 255; - if (!(t7 < t4)) - return A.ioore(t3, t7); - t7 = A._asInt(t3[t7]); - 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._asInt(t3[t11]); - 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._asInt(t3[t14]); - t9 = B.JSInt_methods._shrOtherPositive$1(t14, 16); - t13 = t10 >>> 24 & 255; - if (!(t13 < t4)) - return A.ioore(t3, t13); - t13 = A._asInt(t3[t13]); - 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._asInt(t3[t00]); - 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._asInt(t3[t10]); - t9 = B.JSInt_methods._shrOtherPositive$1(t10, 16); - t20 = t20 >>> 24 & 255; - if (!(t20 < t4)) - return A.ioore(t3, t20); - t20 = A._asInt(t3[t20]); - ++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._asInt(t3[t20]); - 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._asInt(t3[t9]); - t00 = B.JSInt_methods._shrOtherPositive$1(t9, 16); - t14 = r3 >>> 24 & 255; - if (!(t14 < t4)) - return A.ioore(t3, t14); - t14 = A._asInt(t3[t14]); - 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._asInt(t3[t13]); - 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._asInt(t3[t20]); - t10 = B.JSInt_methods._shrOtherPositive$1(t20, 16); - t16 = r0 >>> 24 & 255; - if (!(t16 < t4)) - return A.ioore(t3, t16); - t16 = A._asInt(t3[t16]); - 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._asInt(t3[t20]); - 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._asInt(t3[t9]); - t14 = B.JSInt_methods._shrOtherPositive$1(t9, 16); - t6 = r1 >>> 24 & 255; - if (!(t6 < t4)) - return A.ioore(t3, t6); - t6 = A._asInt(t3[t6]); - 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._asInt(t3[t9]); - 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._asInt(t3[t13]); - t16 = B.JSInt_methods._shrOtherPositive$1(t13, 16); - t7 = r2 >>> 24 & 255; - if (!(t7 < t4)) - return A.ioore(t3, t7); - t7 = A._asInt(t3[t7]); - ++r; - r3 = t6 ^ (t14 | (t9 & t8) << 8) ^ (t16 | (t13 & t12) << 16) ^ (B.JSInt_methods._shrOtherPositive$1(t7, 8) | (t7 & t15) << 24) ^ t11[3]; - } - 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._asInt(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._asInt(t3[t4]), 16); - t5 = r3 >>> 24 & 255; - if (!(t5 < t3.length)) - return A.ioore(t3, t5); - t5 = A.rotr32(A._asInt(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._asInt(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._asInt(t3[t4]), 16); - t1 = t00 >>> 24 & 255; - if (!(t1 < t3.length)) - return A.ioore(t3, t1); - t1 = A.rotr32(A._asInt(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._asInt(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._asInt(t3[t4]), 16); - t5 = t10 >>> 24 & 255; - if (!(t5 < t3.length)) - return A.ioore(t3, t5); - t5 = A.rotr32(A._asInt(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._asInt(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._asInt(t3[t10]), 16); - t20 = t20 >>> 24 & 255; - if (!(t20 < t3.length)) - return A.ioore(t3, t20); - t20 = A.rotr32(A._asInt(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); - }, - _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._asInt(t1[t5]); - 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._asInt(t1[t8]); - 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._asInt(t1[t12]); - 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._asInt(t1[t13]); - 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._asInt(t1[t9]); - t5 = B.JSInt_methods._shrOtherPositive$1(t9, 16); - t6 = t20 >>> 24 & 255; - if (!(t6 < t3)) - return A.ioore(t1, t6); - t6 = A._asInt(t1[t6]); - 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._asInt(t1[t9]); - 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._asInt(t1[t13]); - t8 = B.JSInt_methods._shrOtherPositive$1(t13, 16); - t12 = r3 >>> 24 & 255; - if (!(t12 < t3)) - return A.ioore(t1, t12); - t12 = A._asInt(t1[t12]); - 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._asInt(t1[t20]); - 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._asInt(t1[t10]); - t8 = B.JSInt_methods._shrOtherPositive$1(t10, 16); - t00 = t00 >>> 24 & 255; - if (!(t00 < t3)) - return A.ioore(t1, t00); - t00 = A._asInt(t1[t00]); - --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._asInt(t1[t00]); - 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._asInt(t1[t8]); - t20 = B.JSInt_methods._shrOtherPositive$1(t8, 16); - t13 = r1 >>> 24 & 255; - if (!(t13 < t3)) - return A.ioore(t1, t13); - t13 = A._asInt(t1[t13]); - 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._asInt(t1[t12]); - 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._asInt(t1[t20]); - t10 = B.JSInt_methods._shrOtherPositive$1(t20, 16); - t15 = r2 >>> 24 & 255; - if (!(t15 < t3)) - return A.ioore(t1, t15); - t15 = A._asInt(t1[t15]); - 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._asInt(t1[t20]); - 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._asInt(t1[t8]); - t13 = B.JSInt_methods._shrOtherPositive$1(t8, 16); - t5 = r3 >>> 24 & 255; - if (!(t5 < t3)) - return A.ioore(t1, t5); - t5 = A._asInt(t1[t5]); - 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._asInt(t1[t8]); - 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._asInt(t1[t12]); - t15 = B.JSInt_methods._shrOtherPositive$1(t12, 16); - t6 = r0 >>> 24 & 255; - if (!(t6 < t3)) - return A.ioore(t1, t6); - t6 = A._asInt(t1[t6]); - --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._asInt(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._asInt(t1[t3]), 16); - t5 = t10 >>> 24 & 255; - if (!(t5 < t1.length)) - return A.ioore(t1, t5); - t5 = A.rotr32(A._asInt(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._asInt(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._asInt(t1[t3]), 16); - t2 = t20 >>> 24 & 255; - if (!(t2 < t1.length)) - return A.ioore(t1, t2); - t2 = A.rotr32(A._asInt(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._asInt(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._asInt(t1[t3]), 16); - t5 = r3 >>> 24 & 255; - if (!(t5 < t1.length)) - return A.ioore(t1, t5); - t5 = A.rotr32(A._asInt(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._asInt(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._asInt(t1[t10]), 16); - t00 = t00 >>> 24 & 255; - if (!(t00 < t1.length)) - return A.ioore(t1, t00); - t00 = A.rotr32(A._asInt(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); - }, - set$_WorkingKey(_WorkingKey) { - this._WorkingKey = type$.nullable_List_List_int._as(_WorkingKey); - }, - set$_s(_s) { - this._s = type$.List_int._as(_s); - } - }; - 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; - } - B.NativeUint8List_methods.setRange$3(out, outOff, outOff + dkLen, outBytes); - return _this.__PBKDF2KeyDerivator__params_A.desiredKeyLength; - }, - _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); - }, - 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; - }, - _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; - } - } - }; - 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); - }, - 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); - }, - 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))); - } - _this._doProcessBlock$0(); - _this._packState$2(out, outOff); - _this.reset$0(0); - return 20; - }, - _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(); - }, - _doProcessBlock$0() { - this.processBlock$0(); - this.__MD4FamilyDigest_bufferOffset_A = 0; - B.JSArray_methods.fillRange$3(this.buffer, 0, 16, 0); - }, - _processBytes$3(inp, inpOff, len) { - var t1; - for (t1 = J.getInterceptor$asx(inp); len > 0;) { - this.updateByte$1(t1.$index(inp, inpOff)); - ++inpOff; - --len; - } - }, - _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 processed; - }, - _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; - }, - _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); - } - }, - _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); - } - } - }; - 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._asInt(hiOrLo32OrY); - } - }, - $set$1($receiver, hiOrLo32OrY) { - return this.$set$2($receiver, hiOrLo32OrY, null); - }, - 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; - } - }, - 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; - }, - _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$hashCode(_) { - return A.Object.prototype.get$hashCode.call(this, this); - } + $signature: 17 }; 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)); + return other instanceof A.Version0 && _this.major === other.major && _this.minor === other.minor && _this.patch === other.patch && B.IterableEquality_DefaultEquality.equals$2(_this.preRelease, other.preRelease) && B.IterableEquality_DefaultEquality.equals$2(_this.build, other.build); }, get$hashCode(_) { var _this = this; @@ -75516,7 +75101,7 @@ t1 = A.Primitives_parseInt(part, null); return t1 == null ? part : t1; }, - $signature: 363 + $signature: 340 }; A.zip_closure.prototype = { call$1(e) { @@ -75598,8 +75183,7 @@ }, getDerivedStateFromError$1(error) { return null; - }, - $isComponent: 1 + } }; A.ReactComponentFactoryProxy.prototype = { call$18(props, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17) { @@ -75627,12 +75211,12 @@ } return this.build$2(props, childArguments); }, - 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); - }, 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); }, + 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); + }, 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); }, @@ -75671,22 +75255,20 @@ call$1(child) { return child !== B.C_NotSpecified0; }, - $signature: 36 + $signature: 33 }; A.NotSpecified0.prototype = {}; A.registerComponent2_closure.prototype = { call$0() { return A.component_registration__registerComponent2$closure(); }, - $signature: 366 + $signature: 361 }; 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; + var firstArg = A.jsBackingMapOrJsCopy(newState), + t1 = component.__Component2_jsThis_A; t1 === $ && A.throwLateFieldNI("jsThis"); J.setState$1$x(t1, firstArg); } @@ -75755,7 +75337,8 @@ 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); + var t1 = J.map$1$1$ax(self.Object.keys(this.jsObject), new A.JsBackedMap__values_closure(this), type$.dynamic); + return A.List_List$of(t1, true, t1.$ti._eval$1("ListIterable.E")); }, $index(_, key) { var t1 = key == null ? "null" : key; @@ -75777,9 +75360,9 @@ }, addAll$1(_, other) { if (other instanceof A.JsBackedMap) - self.Object.assign(this.jsObject, type$.JsMap._as(other.jsObject)); + self.Object.assign(this.jsObject, other.jsObject); else - this.super$MapMixin$addAll(this, other); + this.super$MapBase$addAll(this, other); }, containsKey$1(_, key) { var t1 = key == null ? "null" : key; @@ -75789,17 +75372,9 @@ return this.get$_js_backed_map$_values(); }, $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; + return other instanceof A.JsBackedMap && other.jsObject === this.jsObject; }, get$hashCode(_) { var exception; @@ -75880,13 +75455,13 @@ call$0() { return A.react_interop_ReactDom_render$closure(); }, - $signature: 377 + $signature: 364 }; A.findDOMNode_closure.prototype = { call$0() { return A.react_dom___findDomNode$closure(); }, - $signature: 389 + $signature: 375 }; A.Context.prototype = { get$jsThis() { @@ -75898,7 +75473,7 @@ var t1 = this.TValue._eval$1("0?"); return this.calculateChangedBits.call$2(t1._as(A.ContextHelpers_unjsifyNewContext(currentValue)), t1._as(A.ContextHelpers_unjsifyNewContext(nextValue))); }, - $signature: 95 + $signature: 85 }; A.JsPropertyDescriptor.prototype = {}; A.Promise.prototype = {}; @@ -75915,12 +75490,10 @@ jsState = A.jsBackingMapOrJsCopy(component.get$initialState()); t3.set$state(t2, jsState); component.set$state(0, new A.JsBackedMap(jsState)); - t2 = $.$get$Component2Bridge_bridgeForComponent(); - t1 = A._instanceType(t2)._eval$1("1?")._as(t1.bridgeFactory.call$1(component)); - t2._jsWeakMap.set(component, t1); + $.$get$Component2Bridge_bridgeForComponent().$indexSet(0, component, t1.bridgeFactory.call$1(component)); return component; }, - $signature: 410 + $signature: 389 }; A.ReactDartInteropStatics2_handleComponentDidMount_closure.prototype = { call$0() { @@ -75938,7 +75511,7 @@ A.ReactDartInteropStatics2__updatePropsAndStateWithJs(t1, t2, t3); return value; }, - $signature: 413 + $signature: 408 }; A.ReactDartInteropStatics2_handleGetDerivedStateFromProps_closure.prototype = { call$0() { @@ -75947,13 +75520,13 @@ return A.jsBackingMapOrJsCopy(derivedState); return null; }, - $signature: 133 + $signature: 161 }; A.ReactDartInteropStatics2_handleGetSnapshotBeforeUpdate_closure.prototype = { call$0() { return null; }, - $signature: 7 + $signature: 8 }; A.ReactDartInteropStatics2_handleComponentDidUpdate_closure.prototype = { call$0() { @@ -75996,7 +75569,7 @@ return null; } }, - $signature: 133 + $signature: 161 }; A.ReactDartInteropStatics2_handleRender_closure.prototype = { call$0() { @@ -76006,7 +75579,7 @@ A.ContextHelpers_unjsifyNewContext(_this.jsContext); return t1.render$0(0); }, - $signature: 7 + $signature: 8 }; A.convertRefValue2_closure.prototype = { call$1(instance) { @@ -76025,7 +75598,7 @@ call$0() { return new A._DummyComponent2(); }, - $signature: 416 + $signature: 412 }; A._DummyComponent2.prototype = { render$0(_) { @@ -76052,15 +75625,6 @@ 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>")); - }, _createReduceAndNotify$1(distinct) { return new A.Store__createReduceAndNotify_closure(this, false); }, @@ -76070,7 +75634,7 @@ type$.dynamic_Function_dynamic._as(reduceAndNotify); dispatchers = A._setArrayType([], type$.JSArray_of_dynamic_Function_dynamic); B.JSArray_methods.add$1(dispatchers, reduceAndNotify); - for (t1 = A._arrayInstanceType(middleware)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(middleware, t1), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) { + for (t1 = A._arrayInstanceType(middleware)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(middleware, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) { nextMiddleware = t2.__internal$_current; if (nextMiddleware == null) nextMiddleware = t1._as(nextMiddleware); @@ -76079,13 +75643,6 @@ t1 = type$.ReversedListIterable_of_dynamic_Function_dynamic; return A.List_List$of(new A.ReversedListIterable(dispatchers, t1), true, t1._eval$1("ListIterable.E")); }, - 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); - }, set$__Store__state_A(__Store__state_A) { this.__Store__state_A = this.$ti._precomputed1._as(__Store__state_A); }, @@ -76103,7 +75660,7 @@ t1.set$__Store__state_A(t1.$ti._precomputed1._as(state)); t1._changeController.add$1(0, state); }, - $signature: 49 + $signature: 44 }; A.Store__createDispatchers_closure.prototype = { call$1(action) { @@ -76140,7 +75697,7 @@ b.get$_$this()._undoable_action = this.undoable_action; return b; }, - $signature: 420 + $signature: 414 }; A.Undo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; A.Undo_Undo_closure.prototype = { @@ -76148,7 +75705,7 @@ b.get$_$this()._num_undos = this.num_undos; return b; }, - $signature: 422 + $signature: 418 }; A.Redo.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; A.Redo_Redo_closure.prototype = { @@ -76156,7 +75713,7 @@ b.get$_$this()._num_redos = this.num_redos; return b; }, - $signature: 423 + $signature: 420 }; A.UndoRedoClear.prototype = {$isAction: 1}; A.BatchAction.prototype = { @@ -76173,11 +75730,11 @@ }; A.BatchAction_BatchAction_closure.prototype = { call$1(b) { - b.get$actions(b).replace$1(0, this.actions); + b.get$actions(0).replace$1(0, this.actions); b.get$_$this()._short_description_value = this.short_description_value; return b; }, - $signature: 428 + $signature: 421 }; A.ThrottledActionFast.prototype = {$isAction: 1, $isFastAction: 1, $isThrottledAction: 1}; A.ThrottledActionFast_ThrottledActionFast_closure.prototype = { @@ -76186,7 +75743,7 @@ b.get$_$this()._interval_sec = this.interval_sec; return b; }, - $signature: 435 + $signature: 426 }; A.ThrottledActionNonFast.prototype = {$isAction: 1, $isThrottledAction: 1}; A.ThrottledActionNonFast_ThrottledActionNonFast_closure.prototype = { @@ -76195,7 +75752,7 @@ b.get$_$this()._interval_sec = this.interval_sec; return b; }, - $signature: 436 + $signature: 433 }; A.LocalStorageDesignChoiceSet.prototype = {$isAction: 1}; A.ResetLocalStorage.prototype = {$isAction: 1}; @@ -76206,7 +75763,7 @@ b.get$_$this()._mode = this.mode; return b; }, - $signature: 449 + $signature: 434 }; A.EditModesSet.prototype = {$isAction: 1}; A.SelectModeToggle.prototype = {$isAction: 1}; @@ -76215,7 +75772,7 @@ b.get$_$this()._select_mode_choice = this.select_mode_choice; return b; }, - $signature: 450 + $signature: 447 }; A.SelectModesAdd.prototype = {$isAction: 1}; A.SelectModesSet.prototype = {$isAction: 1}; @@ -76274,7 +75831,7 @@ b.get$_$this()._actions$_storables = t2; return b; }, - $signature: 451 + $signature: 448 }; A.ShowDNASet.prototype = {$isAction: 1}; A.ShowDNASet_ShowDNASet_closure.prototype = { @@ -76282,7 +75839,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 458 + $signature: 449 }; A.ShowDomainNamesSet.prototype = {$isAction: 1}; A.ShowDomainNamesSet_ShowDomainNamesSet_closure.prototype = { @@ -76290,7 +75847,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 460 + $signature: 456 }; A.ShowStrandNamesSet.prototype = {$isAction: 1}; A.ShowStrandNamesSet_ShowStrandNamesSet_closure.prototype = { @@ -76298,7 +75855,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 461 + $signature: 458 }; A.ShowStrandLabelsSet.prototype = {$isAction: 1}; A.ShowStrandLabelsSet_ShowStrandLabelsSet_closure.prototype = { @@ -76306,7 +75863,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 462 + $signature: 459 }; A.ShowDomainLabelsSet.prototype = {$isAction: 1}; A.ShowDomainLabelsSet_ShowDomainLabelsSet_closure.prototype = { @@ -76314,7 +75871,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 463 + $signature: 460 }; A.ShowModificationsSet.prototype = {$isAction: 1}; A.ShowModificationsSet_ShowModificationsSet_closure.prototype = { @@ -76322,7 +75879,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 464 + $signature: 461 }; A.DomainNameFontSizeSet.prototype = {$isAction: 1}; A.DomainLabelFontSizeSet.prototype = {$isAction: 1}; @@ -76334,7 +75891,7 @@ b.get$_$this()._font_size = this.font_size; return b; }, - $signature: 483 + $signature: 462 }; A.MajorTickOffsetFontSizeSet.prototype = {$isAction: 1}; A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet_closure.prototype = { @@ -76342,7 +75899,7 @@ b.get$_$this()._font_size = this.font_size; return b; }, - $signature: 485 + $signature: 481 }; A.MajorTickWidthFontSizeSet.prototype = {$isAction: 1}; A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet_closure.prototype = { @@ -76350,7 +75907,7 @@ b.get$_$this()._font_size = this.font_size; return b; }, - $signature: 489 + $signature: 483 }; A.SetModificationDisplayConnector.prototype = {$isAction: 1}; A.SetModificationDisplayConnector_SetModificationDisplayConnector_closure.prototype = { @@ -76358,7 +75915,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 493 + $signature: 487 }; A.ShowMismatchesSet.prototype = {$isAction: 1}; A.ShowMismatchesSet_ShowMismatchesSet_closure.prototype = { @@ -76366,7 +75923,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 518 + $signature: 491 }; A.ShowDomainNameMismatchesSet.prototype = {$isAction: 1}; A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet_closure.prototype = { @@ -76374,7 +75931,7 @@ b.get$_$this()._actions$_show_domain_name_mismatches = this.show_domain_name_mismatches; return b; }, - $signature: 519 + $signature: 516 }; A.ShowUnpairedInsertionDeletionsSet.prototype = {$isAction: 1}; A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet_closure.prototype = { @@ -76382,7 +75939,7 @@ b.get$_$this()._actions$_show_unpaired_insertion_deletions = this.show_unpaired_insertion_deletions; return b; }, - $signature: 522 + $signature: 517 }; A.OxviewShowSet.prototype = {$isAction: 1}; A.OxviewShowSet_OxviewShowSet_closure.prototype = { @@ -76390,7 +75947,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 531 + $signature: 520 }; A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix.prototype = {$isAction: 1}; A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_closure.prototype = { @@ -76398,7 +75955,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 551 + $signature: 529 }; A.DisplayMajorTicksOffsetsSet.prototype = {$isAction: 1}; A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet_closure.prototype = { @@ -76406,7 +75963,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 556 + $signature: 549 }; A.SetDisplayMajorTickWidthsAllHelices.prototype = {$isAction: 1}; A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices_closure.prototype = { @@ -76414,7 +75971,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 559 + $signature: 554 }; A.SetDisplayMajorTickWidths.prototype = {$isAction: 1}; A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths_closure.prototype = { @@ -76422,7 +75979,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 560 + $signature: 557 }; A.SetOnlyDisplaySelectedHelices.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices_closure.prototype = { @@ -76430,7 +75987,7 @@ b.get$_$this()._actions$_only_display_selected_helices = this.only_display_selected_helices; return b; }, - $signature: 563 + $signature: 558 }; A.InvertYSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; A.DynamicHelixUpdateSet.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; @@ -76450,7 +76007,7 @@ b.get$_$this()._dna_file_type = _this.dna_file_type; return b; }, - $signature: 564 + $signature: 561 }; A.PrepareToLoadDNAFile.prototype = {$isAction: 1, $isSvgPngCacheInvalidatingAction: 1}; A.PrepareToLoadDNAFile_PrepareToLoadDNAFile_closure.prototype = { @@ -76463,7 +76020,7 @@ b.get$_$this()._dna_file_type = _this.dna_file_type; return b; }, - $signature: 565 + $signature: 562 }; A.NewDesignSet.prototype = { short_description$0() { @@ -76482,7 +76039,7 @@ b.get$_$this()._short_description_value = this.short_description_value; return b; }, - $signature: 566 + $signature: 563 }; A.ExportCadnanoFile.prototype = {$isAction: 1}; A.ExportCodenanoFile.prototype = {$isAction: 1}; @@ -76492,7 +76049,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 574 + $signature: 564 }; A.MouseoverDataClear.prototype = {$isAction: 1}; A.MouseoverDataUpdate.prototype = {$isAction: 1}; @@ -76522,7 +76079,7 @@ b.get$_$this()._anchor = _this.anchor; return b; }, - $signature: 581 + $signature: 565 }; A.RelaxHelixRolls.prototype = { short_description$0() { @@ -76538,7 +76095,7 @@ b.get$_$this()._actions$_error_message = this.error_message; return b; }, - $signature: 582 + $signature: 573 }; A.SelectionBoxCreate.prototype = {$isAction: 1}; A.SelectionBoxCreate_SelectionBoxCreate_closure.prototype = { @@ -76549,7 +76106,7 @@ b.get$_$this()._actions$_is_main = this.is_main; return b; }, - $signature: 583 + $signature: 580 }; A.SelectionBoxSizeChange.prototype = {$isAction: 1, $isFastAction: 1}; A.SelectionBoxSizeChange_SelectionBoxSizeChange_closure.prototype = { @@ -76559,7 +76116,7 @@ b.get$_$this()._actions$_is_main = this.is_main; return b; }, - $signature: 588 + $signature: 581 }; A.SelectionBoxRemove.prototype = {$isAction: 1}; A.SelectionBoxRemove_SelectionBoxRemove_closure.prototype = { @@ -76567,7 +76124,7 @@ b.get$_$this()._actions$_is_main = this.is_main; return b; }, - $signature: 599 + $signature: 582 }; A.SelectionRopeCreate.prototype = {$isAction: 1}; A.SelectionRopeMouseMove.prototype = {$isAction: 1, $isFastAction: 1}; @@ -76582,14 +76139,14 @@ t1._grid_position$_$v = t2; return b; }, - $signature: 602 + $signature: 587 }; A.MouseGridPositionSideClear.prototype = {$isAction: 1}; A.MouseGridPositionSideClear_MouseGridPositionSideClear_closure.prototype = { call$1(b) { return b; }, - $signature: 603 + $signature: 598 }; A.MousePositionSideUpdate.prototype = {$isAction: 1}; A.MousePositionSideClear.prototype = {$isAction: 1}; @@ -76618,14 +76175,14 @@ b.get$_$this()._only = this.only; return b; }, - $signature: 604 + $signature: 601 }; A.SelectionsClear.prototype = {$isAction: 1}; A.SelectionsClear_SelectionsClear_closure.prototype = { call$1(b) { return b; }, - $signature: 613 + $signature: 602 }; A.SelectionsAdjustMainView.prototype = {$isAction: 1}; A.SelectOrToggleItems.prototype = {$isAction: 1}; @@ -76636,7 +76193,7 @@ b.get$_$this()._current_helix_group_only = this.current_helix_group_only; return b; }, - $signature: 621 + $signature: 603 }; A.SelectAllStrandsWithSameAsSelected.prototype = {$isAction: 1}; A.DeleteAllSelected.prototype = { @@ -76651,7 +76208,7 @@ call$1(b) { return b; }, - $signature: 623 + $signature: 613 }; A.HelixAdd.prototype = { short_description$0() { @@ -76670,7 +76227,7 @@ b.get$_$this()._actions$_grid_position = t2; return b; }, - $signature: 132 + $signature: 117 }; A.HelixAdd_HelixAdd_closure0.prototype = { call$1(b) { @@ -76681,7 +76238,7 @@ b.get$_$this()._actions$_position = t2; return b; }, - $signature: 132 + $signature: 117 }; A.HelixRemove.prototype = { short_description$0() { @@ -76696,7 +76253,7 @@ b.get$_$this()._actions$_helix_idx = this.helix_idx; return b; }, - $signature: 686 + $signature: 623 }; A.HelixRemoveAllSelected.prototype = { short_description$0() { @@ -76713,14 +76270,14 @@ b.get$_$this()._actions$_toggle = this.toggle; return b; }, - $signature: 705 + $signature: 624 }; A.HelixSelectionsClear.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; A.HelixSelectionsClear_HelixSelectionsClear_closure.prototype = { call$1(b) { return b; }, - $signature: 922 + $signature: 686 }; A.HelixSelectionsAdjust.prototype = {$isAction: 1, $isHelixSelectSvgPngCacheInvalidatingAction: 1}; A.HelixSelectionsAdjust_HelixSelectionsAdjust_closure.prototype = { @@ -76733,7 +76290,7 @@ t1._selection_box$_$v = t2; return b; }, - $signature: 937 + $signature: 705 }; A.HelixMajorTickDistanceChange.prototype = { short_description$0() { @@ -76816,7 +76373,7 @@ b.get$idx_replacements().replace$1(0, this.idx_replacements); return b; }, - $signature: 172 + $signature: 922 }; A.HelixOffsetChange.prototype = { short_description$0() { @@ -76894,14 +76451,14 @@ b.get$_$this()._column_major_plate = _this.column_major_plate; return b; }, - $signature: 173 + $signature: 937 }; A.ExportCanDoDNA.prototype = {$isAction: 1}; A.ExportCanDoDNA_ExportCanDoDNA_closure.prototype = { call$1(b) { return b; }, - $signature: 174 + $signature: 172 }; A.ExportSvgType.prototype = { _enumToString$0() { @@ -76915,7 +76472,7 @@ b.get$_$this()._actions$_export_svg_text_separately = this.export_svg_text_separately; return b; }, - $signature: 175 + $signature: 173 }; A.ExtensionDisplayLengthAngleSet.prototype = { get$strand_part() { @@ -76939,7 +76496,7 @@ b.get$_$this()._actions$_display_angle = this.display_angle; return b; }, - $signature: 176 + $signature: 174 }; A.ExtensionAdd.prototype = { short_description$0() { @@ -76960,7 +76517,7 @@ b.get$_$this()._actions$_num_bases = this.num_bases; return b; }, - $signature: 177 + $signature: 175 }; A.ExtensionNumBasesChange.prototype = { get$strand_part() { @@ -76983,7 +76540,7 @@ b.get$_$this()._actions$_num_bases = this.num_bases; return b; }, - $signature: 178 + $signature: 176 }; A.ExtensionsNumBasesChange.prototype = { short_description$0() { @@ -76995,11 +76552,11 @@ }; A.ExtensionsNumBasesChange_ExtensionsNumBasesChange_closure.prototype = { call$1(b) { - b.get$extensions(b).replace$1(0, this.extensions); + b.get$extensions(0).replace$1(0, this.extensions); b.get$_$this()._actions$_num_bases = this.num_bases; return b; }, - $signature: 179 + $signature: 177 }; A.LoopoutLengthChange.prototype = { get$strand_part() { @@ -77022,7 +76579,7 @@ b.get$_$this()._actions$_num_bases = this.num_bases; return b; }, - $signature: 180 + $signature: 178 }; A.LoopoutsLengthChange.prototype = { short_description$0() { @@ -77038,7 +76595,7 @@ b.get$_$this()._actions$_length = this.length; return b; }, - $signature: 181 + $signature: 179 }; A.ConvertCrossoverToLoopout.prototype = { get$strand_part() { @@ -77062,7 +76619,7 @@ b.get$_$this()._actions$_dna_sequence = this.dna_sequence; return b; }, - $signature: 182 + $signature: 180 }; A.ConvertCrossoversToLoopouts.prototype = { short_description$0() { @@ -77078,7 +76635,7 @@ b.get$_$this()._actions$_length = this.length; return b; }, - $signature: 183 + $signature: 181 }; A.Nick.prototype = { short_description$0() { @@ -77108,10 +76665,10 @@ short_description$0() { var linker_description, l = this.potential_crossover.linker; - if (l instanceof A.Crossover) + if (l instanceof A._$Crossover) linker_description = "crossover"; else { - if (!(l instanceof A.Loopout)) + if (!(l instanceof A._$Loopout)) throw A.wrapException(A.AssertionError$(A.S(l) + " is not crossover nor looput")); linker_description = "loopout"; } @@ -77159,7 +76716,7 @@ b.get$_$this()._in_browser = this.in_browser; return b; }, - $signature: 184 + $signature: 182 }; A.AutoPasteInitiate.prototype = {$isAction: 1}; A.AutoPasteInitiate_AutoPasteInitiate_closure.prototype = { @@ -77168,7 +76725,7 @@ b.get$_$this()._in_browser = this.in_browser; return b; }, - $signature: 185 + $signature: 183 }; A.CopySelectedStrands.prototype = {$isAction: 1}; A.StrandsMoveStart.prototype = {$isAction: 1}; @@ -77251,7 +76808,7 @@ b.get$strands().replace$1(0, this.strands); return b; }, - $signature: 186 + $signature: 184 }; A.AssignDomainNameComplementFromBoundStrands.prototype = { short_description$0() { @@ -77266,7 +76823,7 @@ b.get$strands().replace$1(0, this.strands); return b; }, - $signature: 187 + $signature: 185 }; A.AssignDomainNameComplementFromBoundDomains.prototype = { short_description$0() { @@ -77281,7 +76838,7 @@ b.get$domains().replace$1(0, this.domains); return b; }, - $signature: 188 + $signature: 186 }; A.RemoveDNA.prototype = { short_description$0() { @@ -77315,13 +76872,13 @@ }; A.InsertionAdd_clone_for_other_domain_closure.prototype = { call$1(b) { - var t1 = b.get$domain(b), + var t1 = b.get$domain(0), t2 = this.domain; A.ArgumentError_checkNotNull(t2, "other", type$.Domain); t1._domain$_$v = t2; return b; }, - $signature: 189 + $signature: 187 }; A.InsertionLengthChange.prototype = { get$offset(_) { @@ -77331,9 +76888,8 @@ return this.domain; }, clone_for_other_domain$1(other_domain) { - var t1 = other_domain.insertions, - 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); + var t1 = other_domain.insertions; + return A.InsertionLengthChange_InsertionLengthChange(other_domain, B.JSArray_methods.firstWhere$2$orElse(t1._list, t1.$ti._eval$1("bool(1)")._as(new A.InsertionLengthChange_clone_for_other_domain_closure(this)), null), this.length); }, short_description$0() { return "change insertion length"; @@ -77352,7 +76908,7 @@ }; A.InsertionLengthChange_InsertionLengthChange_closure.prototype = { call$1(b) { - var t1 = b.get$domain(b), + var t1 = b.get$domain(0), t2 = this.domain; A.ArgumentError_checkNotNull(t2, "other", type$.Domain); t1._domain$_$v = t2; @@ -77364,7 +76920,7 @@ b.get$_$this()._all_helices = false; return b; }, - $signature: 191 + $signature: 189 }; A.InsertionsLengthChange.prototype = { short_description$0() { @@ -77382,7 +76938,7 @@ b.get$_$this()._all_helices = false; return b; }, - $signature: 192 + $signature: 190 }; A.DeletionAdd.prototype = { get$strand_part() { @@ -77407,13 +76963,13 @@ }; A.DeletionAdd_clone_for_other_domain_closure.prototype = { call$1(b) { - var t1 = b.get$domain(b), + var t1 = b.get$domain(0), t2 = this.domain; A.ArgumentError_checkNotNull(t2, "other", type$.Domain); t1._domain$_$v = t2; return b; }, - $signature: 193 + $signature: 191 }; A.InsertionRemove.prototype = { get$offset(_) { @@ -77423,9 +76979,8 @@ return this.domain; }, clone_for_other_domain$1(other_domain) { - var t1 = other_domain.insertions, - 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))); + var t1 = other_domain.insertions; + return A.InsertionRemove_InsertionRemove(other_domain, B.JSArray_methods.firstWhere$2$orElse(t1._list, t1.$ti._eval$1("bool(1)")._as(new A.InsertionRemove_clone_for_other_domain_closure(this)), null)); }, short_description$0() { return "remove insertion"; @@ -77444,7 +76999,7 @@ }; A.InsertionRemove_InsertionRemove_closure.prototype = { call$1(b) { - var t1 = b.get$domain(b), + var t1 = b.get$domain(0), t2 = this.domain; A.ArgumentError_checkNotNull(t2, "other", type$.Domain); t1._domain$_$v = t2; @@ -77455,7 +77010,7 @@ b.get$_$this()._all_helices = false; return b; }, - $signature: 194 + $signature: 192 }; A.DeletionRemove.prototype = { get$strand_part() { @@ -77475,7 +77030,7 @@ }; A.DeletionRemove_DeletionRemove_closure.prototype = { call$1(b) { - var t1 = b.get$domain(b), + var t1 = b.get$domain(0), t2 = this.domain; A.ArgumentError_checkNotNull(t2, "other", type$.Domain); t1._domain$_$v = t2; @@ -77483,7 +77038,7 @@ b.get$_$this()._all_helices = false; return b; }, - $signature: 195 + $signature: 193 }; A.ScalePurificationVendorFieldsAssign.prototype = { short_description$0() { @@ -77567,7 +77122,7 @@ t1._modification$_$v = t2; return b; }, - $signature: 196 + $signature: 194 }; A.Modifications3PrimeEdit.prototype = { short_description$0() { @@ -77587,7 +77142,7 @@ t1._modification$_$v = t2; return b; }, - $signature: 197 + $signature: 195 }; A.ModificationsInternalEdit.prototype = { short_description$0() { @@ -77607,7 +77162,7 @@ t1._modification$_$v = t2; return b; }, - $signature: 198 + $signature: 196 }; A.GridChange.prototype = { short_description$0() { @@ -77660,7 +77215,7 @@ call$1(b) { return b; }, - $signature: 199 + $signature: 197 }; A.ScaffoldSet.prototype = { short_description$0() { @@ -77729,7 +77284,7 @@ b.get$_$this()._actions$_dna_sequence_png_vertical_offset = this.dna_sequence_png_vertical_offset; return b; }, - $signature: 200 + $signature: 198 }; A.SetIsZoomAboveThreshold.prototype = {$isAction: 1}; A.SetIsZoomAboveThreshold_SetIsZoomAboveThreshold_closure.prototype = { @@ -77737,7 +77292,7 @@ b.get$_$this()._actions$_is_zoom_above_threshold = this.is_zoom_above_threshold; return b; }, - $signature: 201 + $signature: 199 }; A.SetExportSvgActionDelayedForPngCache.prototype = {$isAction: 1}; A.SetExportSvgActionDelayedForPngCache_SetExportSvgActionDelayedForPngCache_closure.prototype = { @@ -77755,7 +77310,7 @@ b.get$_$this()._actions$_export_svg_action_delayed_for_png_cache = t1; return b; }, - $signature: 202 + $signature: 200 }; A.ShowBasePairLinesSet.prototype = {$isAction: 1}; A.ExportBasePairLinesIfOtherStrandNotSelectedSet.prototype = {$isAction: 1}; @@ -77766,7 +77321,7 @@ b.get$_$this()._show = this.show; return b; }, - $signature: 203 + $signature: 201 }; A.SliceBarOffsetSet.prototype = {$isAction: 1}; A.SliceBarOffsetSet_SliceBarOffsetSet_closure.prototype = { @@ -77774,7 +77329,7 @@ b.get$_$this()._actions$_offset = this.offset; return b; }, - $signature: 204 + $signature: 202 }; A.DisablePngCachingDnaSequencesSet.prototype = {$isAction: 1}; A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet_closure.prototype = { @@ -77782,7 +77337,7 @@ b.get$_$this()._actions$_disable_png_caching_dna_sequences = this.disable_png_caching_dna_sequences; return b; }, - $signature: 205 + $signature: 203 }; A.RetainStrandColorOnSelectionSet.prototype = {$isAction: 1}; A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet_closure.prototype = { @@ -77790,7 +77345,7 @@ b.get$_$this()._actions$_retain_strand_color_on_selection = this.retain_strand_color_on_selection; return b; }, - $signature: 206 + $signature: 204 }; A.DisplayReverseDNARightSideUpSet.prototype = {$isAction: 1}; A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet_closure.prototype = { @@ -77798,7 +77353,7 @@ b.get$_$this()._actions$_display_reverse_DNA_right_side_up = this.display_reverse_DNA_right_side_up; return b; }, - $signature: 207 + $signature: 205 }; A.SliceBarMoveStart.prototype = {$isAction: 1}; A.SliceBarMoveStop.prototype = {$isAction: 1}; @@ -77813,7 +77368,7 @@ b.get$_$this()._min_distance_to_xover = _this.min_distance_to_xover; return b; }, - $signature: 208 + $signature: 206 }; A.ZoomSpeedSet.prototype = {$isAction: 1}; A.OxdnaExport.prototype = {$isAction: 1}; @@ -77822,7 +77377,7 @@ b.get$_$this()._selected_strands_only = this.selected_strands_only; return b; }, - $signature: 209 + $signature: 207 }; A.OxviewExport.prototype = {$isAction: 1}; A.OxviewExport_OxviewExport_closure.prototype = { @@ -77830,12 +77385,12 @@ b.get$_$this()._selected_strands_only = this.selected_strands_only; return b; }, - $signature: 210 + $signature: 208 }; 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)]; + return ["num_undos", serializers.serialize$2$specifiedType(type$.Undo._as(object).num_undos, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -77852,7 +77407,7 @@ value = iterator.get$current(iterator); switch (t1) { case "num_undos": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -77872,7 +77427,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ab8; + return B.List_Ix1; }, get$wireName() { return "Undo"; @@ -77880,7 +77435,7 @@ }; 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)]; + return ["num_redos", serializers.serialize$2$specifiedType(type$.Redo._as(object).num_redos, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -77897,7 +77452,7 @@ value = iterator.get$current(iterator); switch (t1) { case "num_redos": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -77917,7 +77472,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Isn; + return B.List_UeS; }, get$wireName() { return "Redo"; @@ -77944,7 +77499,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_O5Z; + return B.List_ibp; }, get$wireName() { return "UndoRedoClear"; @@ -77953,7 +77508,7 @@ 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)]; + return ["actions", serializers.serialize$2$specifiedType(object.actions, B.FullType_FNm), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -77980,7 +77535,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_YGD); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_FNm); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -77996,7 +77551,7 @@ } break; case "short_description_value": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_$this()._short_description_value = t5; @@ -78011,7 +77566,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AuK; + return B.List_BZ7; }, get$wireName() { return "BatchAction"; @@ -78020,7 +77575,7 @@ 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)]; + return ["action", serializers.serialize$2$specifiedType(object.action, B.FullType_Xdq), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78037,7 +77592,7 @@ value = iterator.get$current(iterator); switch (t2) { case "action": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_3lI); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_Xdq); t2.toString; t1._as(t2); $$v = result._$v; @@ -78049,7 +77604,7 @@ result._action = t2; break; case "interval_sec": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t2.toString; A._asDouble(t2); $$v = result._$v; @@ -78070,7 +77625,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_YLN; + return B.List_0Vb; }, get$wireName() { return "ThrottledActionFast"; @@ -78079,7 +77634,7 @@ 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)]; + return ["action", serializers.serialize$2$specifiedType(object.action, B.FullType_Xdq), "interval_sec", serializers.serialize$2$specifiedType(object.interval_sec, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78096,7 +77651,7 @@ value = iterator.get$current(iterator); switch (t2) { case "action": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_3lI); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_Xdq); t2.toString; t1._as(t2); $$v = result._$v; @@ -78108,7 +77663,7 @@ result._action = t2; break; case "interval_sec": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t2.toString; A._asDouble(t2); $$v = result._$v; @@ -78129,7 +77684,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_yJg; + return B.List_45X; }, get$wireName() { return "ThrottledActionNonFast"; @@ -78137,7 +77692,7 @@ }; A._$LocalStorageDesignChoiceSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["choice", serializers.serialize$2$specifiedType(type$.LocalStorageDesignChoiceSet._as(object).choice, B.FullType_UeR)]; + return ["choice", serializers.serialize$2$specifiedType(type$.LocalStorageDesignChoiceSet._as(object).choice, B.FullType_r0y)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78165,7 +77720,7 @@ t2 = result._choice; if (t2 == null) t2 = result._choice = new A.LocalStorageDesignChoiceBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_UeR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_r0y); t3.toString; t1._as(t3); t2._local_storage_design_choice$_$v = t3; @@ -78180,7 +77735,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cKo; + return B.List_nV5; }, get$wireName() { return "LocalStorageDesignChoiceSet"; @@ -78207,7 +77762,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Zuu; + return B.List_R39; }, get$wireName() { return "ResetLocalStorage"; @@ -78215,7 +77770,7 @@ }; A._$ClearHelixSelectionWhenLoadingNewDesignSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["clear", serializers.serialize$2$specifiedType(type$.ClearHelixSelectionWhenLoadingNewDesignSet._as(object).clear, B.FullType_MtR)]; + return ["clear", serializers.serialize$2$specifiedType(type$.ClearHelixSelectionWhenLoadingNewDesignSet._as(object).clear, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78232,7 +77787,7 @@ value = iterator.get$current(iterator); switch (t1) { case "clear": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -78256,7 +77811,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_U05; + return B.List_MGe; }, get$wireName() { return string$.ClearH; @@ -78264,7 +77819,7 @@ }; A._$EditModeToggleSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["mode", serializers.serialize$2$specifiedType(type$.EditModeToggle._as(object).mode, B.FullType_eX4)]; + return ["mode", serializers.serialize$2$specifiedType(type$.EditModeToggle._as(object).mode, B.FullType_y5T)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78281,7 +77836,7 @@ value = iterator.get$current(iterator); switch (t2) { case "mode": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_eX4); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_y5T); t2.toString; t1._as(t2); $$v = result._$v; @@ -78301,7 +77856,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_q7D; + return B.List_8I8; }, get$wireName() { return "EditModeToggle"; @@ -78309,7 +77864,7 @@ }; 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)]; + return ["edit_modes", serializers.serialize$2$specifiedType(type$.EditModesSet._as(object).edit_modes, B.FullType_soA)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78340,7 +77895,7 @@ t3.replace$1(0, B.List_empty); result.set$_actions$_edit_modes(t3); } - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kiE); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_soA); t4.toString; t3.replace$1(0, t1._as(t4)); break; @@ -78354,7 +77909,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_sI7; + return B.List_DSg; }, get$wireName() { return "EditModesSet"; @@ -78362,7 +77917,7 @@ }; 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)]; + return ["select_mode_choice", serializers.serialize$2$specifiedType(type$.SelectModeToggle._as(object).select_mode_choice, B.FullType_VKi)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78379,7 +77934,7 @@ value = iterator.get$current(iterator); switch (t2) { case "select_mode_choice": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_gg40); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_VKi); t2.toString; t1._as(t2); $$v = result._$v; @@ -78399,7 +77954,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ifn; + return B.List_4hO; }, get$wireName() { return "SelectModeToggle"; @@ -78407,7 +77962,7 @@ }; A._$SelectModesAddSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["modes", serializers.serialize$2$specifiedType(type$.SelectModesAdd._as(object).modes, B.FullType_AgZ)]; + return ["modes", serializers.serialize$2$specifiedType(type$.SelectModesAdd._as(object).modes, B.FullType_00)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78449,7 +78004,7 @@ t5.set$_listOwner(null); result.set$_actions$_modes(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_AgZ); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_00); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -78474,7 +78029,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ivT; + return B.List_2rf; }, get$wireName() { return "SelectModesAdd"; @@ -78482,7 +78037,7 @@ }; 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)]; + return ["select_mode_choices", serializers.serialize$2$specifiedType(type$.SelectModesSet._as(object).select_mode_choices, B.FullType_0QK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78513,7 +78068,7 @@ t3.replace$1(0, B.List_empty); result.set$_select_mode_choices(t3); } - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_2aQ); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_0QK); t4.toString; t3.replace$1(0, t1._as(t4)); break; @@ -78527,7 +78082,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gsm0; + return B.List_wEo1; }, get$wireName() { return "SelectModesSet"; @@ -78537,11 +78092,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.StrandNameSet._as(object); - result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -78560,14 +78115,14 @@ value = iterator.get$current(iterator); switch (t2) { case "name": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._actions$_name = t2; break; 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; @@ -78582,7 +78137,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ZYL; + return B.List_PcY; }, get$wireName() { return "StrandNameSet"; @@ -78592,11 +78147,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.StrandLabelSet._as(object); - result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -78615,14 +78170,14 @@ value = iterator.get$current(iterator); switch (t2) { case "label": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._actions$_label = t2; break; 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; @@ -78637,7 +78192,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_69P; + return B.List_D0U; }, get$wireName() { return "StrandLabelSet"; @@ -78647,11 +78202,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.SubstrandNameSet._as(object); - result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_S4t)]; + result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_qBm)]; value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -78670,7 +78225,7 @@ value = iterator.get$current(iterator); switch (t2) { case "name": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); $$v = result._$v; if ($$v != null) { result._actions$_name = $$v.name; @@ -78680,7 +78235,7 @@ result._actions$_name = t2; break; case "substrand": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_S4t); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_qBm); t2.toString; t1._as(t2); $$v = result._$v; @@ -78705,7 +78260,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Ol2; + return B.List_DQH; }, get$wireName() { return "SubstrandNameSet"; @@ -78715,11 +78270,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.SubstrandLabelSet._as(object); - result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_S4t)]; + result = ["substrand", serializers.serialize$2$specifiedType(object.substrand, B.FullType_qBm)]; value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -78738,7 +78293,7 @@ value = iterator.get$current(iterator); switch (t2) { case "label": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); $$v = result._$v; if ($$v != null) { result._actions$_label = $$v.label; @@ -78748,7 +78303,7 @@ result._actions$_label = t2; break; case "substrand": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_S4t); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_qBm); t2.toString; t1._as(t2); $$v = result._$v; @@ -78773,7 +78328,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ucM; + return B.List_iL9; }, get$wireName() { return "SubstrandLabelSet"; @@ -78781,7 +78336,7 @@ }; A._$SetAppUIStateStorableSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["storables", serializers.serialize$2$specifiedType(type$.SetAppUIStateStorable._as(object).storables, B.FullType_wEo)]; + return ["storables", serializers.serialize$2$specifiedType(type$.SetAppUIStateStorable._as(object).storables, B.FullType_td2)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78813,7 +78368,7 @@ A.AppUIStateStorables__initializeBuilder(t2); result._actions$_storables = t2; } - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wEo); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_td2); t3.toString; t1._as(t3); t2._app_ui_state_storables$_$v = t3; @@ -78828,7 +78383,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_mOq; + return B.List_Nm5; }, get$wireName() { return "SetAppUIStateStorable"; @@ -78836,7 +78391,7 @@ }; A._$ShowDNASetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowDNASet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowDNASet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78853,7 +78408,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -78873,7 +78428,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Yap; + return B.List_9Ii; }, get$wireName() { return "ShowDNASet"; @@ -78881,7 +78436,7 @@ }; A._$ShowDomainNamesSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainNamesSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainNamesSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78898,7 +78453,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -78918,7 +78473,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Au4; + return B.List_Uzt; }, get$wireName() { return "ShowDomainNamesSet"; @@ -78926,7 +78481,7 @@ }; A._$ShowStrandNamesSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandNamesSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandNamesSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78943,7 +78498,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -78963,7 +78518,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_dmq; + return B.List_3jH; }, get$wireName() { return "ShowStrandNamesSet"; @@ -78971,7 +78526,7 @@ }; A._$ShowStrandLabelsSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandLabelsSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowStrandLabelsSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -78988,7 +78543,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79008,7 +78563,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Nw8; + return B.List_Jhy; }, get$wireName() { return "ShowStrandLabelsSet"; @@ -79016,7 +78571,7 @@ }; A._$ShowDomainLabelsSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainLabelsSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowDomainLabelsSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79033,7 +78588,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79053,7 +78608,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_xTV; + return B.List_jGK; }, get$wireName() { return "ShowDomainLabelsSet"; @@ -79061,7 +78616,7 @@ }; A._$ShowModificationsSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowModificationsSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowModificationsSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79078,7 +78633,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79098,7 +78653,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_urY; + return B.List_GZw; }, get$wireName() { return "ShowModificationsSet"; @@ -79106,7 +78661,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.DomainNameFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79123,7 +78678,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79147,7 +78702,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cIf; + return B.List_soA; }, get$wireName() { return "DomainNameFontSizeSet"; @@ -79155,7 +78710,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.DomainLabelFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79172,7 +78727,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79196,7 +78751,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_M8C; + return B.List_kUh; }, get$wireName() { return "DomainLabelFontSizeSet"; @@ -79204,7 +78759,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.StrandNameFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79221,7 +78776,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79245,7 +78800,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_V0W; + return B.List_7Un; }, get$wireName() { return "StrandNameFontSizeSet"; @@ -79253,7 +78808,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.StrandLabelFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79270,7 +78825,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79294,7 +78849,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_oyn; + return B.List_03; }, get$wireName() { return "StrandLabelFontSizeSet"; @@ -79302,7 +78857,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.ModificationFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79319,7 +78874,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79339,7 +78894,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wbQ; + return B.List_g8g; }, get$wireName() { return "ModificationFontSizeSet"; @@ -79347,7 +78902,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.MajorTickOffsetFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79364,7 +78919,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79384,7 +78939,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AW6; + return B.List_kqK; }, get$wireName() { return "MajorTickOffsetFontSizeSet"; @@ -79392,7 +78947,7 @@ }; 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)]; + return ["font_size", serializers.serialize$2$specifiedType(type$.MajorTickWidthFontSizeSet._as(object).font_size, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79409,7 +78964,7 @@ value = iterator.get$current(iterator); switch (t1) { case "font_size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -79429,7 +78984,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_u9T; + return B.List_E6F; }, get$wireName() { return "MajorTickWidthFontSizeSet"; @@ -79437,7 +78992,7 @@ }; A._$SetModificationDisplayConnectorSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.SetModificationDisplayConnector._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.SetModificationDisplayConnector._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79454,7 +79009,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79474,7 +79029,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_e1J; + return B.List_fVV; }, get$wireName() { return "SetModificationDisplayConnector"; @@ -79482,7 +79037,7 @@ }; A._$ShowMismatchesSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowMismatchesSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowMismatchesSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79499,7 +79054,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79519,7 +79074,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_P2J; + return B.List_FKj; }, get$wireName() { return "ShowMismatchesSet"; @@ -79527,7 +79082,7 @@ }; 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)]; + return ["show_domain_name_mismatches", serializers.serialize$2$specifiedType(type$.ShowDomainNameMismatchesSet._as(object).show_domain_name_mismatches, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79544,7 +79099,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_domain_name_mismatches": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79564,7 +79119,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_aZ8; + return B.List_Okd; }, get$wireName() { return "ShowDomainNameMismatchesSet"; @@ -79572,7 +79127,7 @@ }; 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)]; + return ["show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(type$.ShowUnpairedInsertionDeletionsSet._as(object).show_unpaired_insertion_deletions, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79589,7 +79144,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_unpaired_insertion_deletions": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79609,7 +79164,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_7Re; + return B.List_2b9; }, get$wireName() { return "ShowUnpairedInsertionDeletionsSet"; @@ -79617,7 +79172,7 @@ }; A._$OxviewShowSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.OxviewShowSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.OxviewShowSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79634,7 +79189,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79654,7 +79209,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_W7l; + return B.List_GfL; }, get$wireName() { return "OxviewShowSet"; @@ -79662,7 +79217,7 @@ }; A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79679,7 +79234,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79699,7 +79254,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kzZ; + return B.List_ACQ; }, get$wireName() { return string$.SetDis; @@ -79707,7 +79262,7 @@ }; A._$DisplayMajorTicksOffsetsSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.DisplayMajorTicksOffsetsSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.DisplayMajorTicksOffsetsSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79724,7 +79279,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79744,7 +79299,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_TfG; + return B.List_23B; }, get$wireName() { return "DisplayMajorTicksOffsetsSet"; @@ -79752,7 +79307,7 @@ }; A._$SetDisplayMajorTickWidthsAllHelicesSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidthsAllHelices._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidthsAllHelices._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79769,7 +79324,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79789,7 +79344,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gJ1; + return B.List_wHc1; }, get$wireName() { return "SetDisplayMajorTickWidthsAllHelices"; @@ -79797,7 +79352,7 @@ }; A._$SetDisplayMajorTickWidthsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidths._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.SetDisplayMajorTickWidths._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79814,7 +79369,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79834,7 +79389,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_U7q; + return B.List_bns; }, get$wireName() { return "SetDisplayMajorTickWidths"; @@ -79842,7 +79397,7 @@ }; 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)]; + return ["only_display_selected_helices", serializers.serialize$2$specifiedType(type$.SetOnlyDisplaySelectedHelices._as(object).only_display_selected_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79859,7 +79414,7 @@ value = iterator.get$current(iterator); switch (t1) { case "only_display_selected_helices": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79879,7 +79434,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_HFe; + return B.List_GML; }, get$wireName() { return "SetOnlyDisplaySelectedHelices"; @@ -79887,7 +79442,7 @@ }; 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)]; + return ["invert_y", serializers.serialize$2$specifiedType(type$.InvertYSet._as(object).invert_y, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79904,7 +79459,7 @@ value = iterator.get$current(iterator); switch (t1) { case "invert_y": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79928,7 +79483,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Db0; + return B.List_VxZ; }, get$wireName() { return "InvertYSet"; @@ -79936,7 +79491,7 @@ }; 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)]; + return ["dynamically_update_helices", serializers.serialize$2$specifiedType(type$.DynamicHelixUpdateSet._as(object).dynamically_update_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -79954,7 +79509,7 @@ value = iterator.get$current(iterator); switch (t1) { case "dynamically_update_helices": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -79978,7 +79533,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_bD1; + return B.List_MMm; }, get$wireName() { return "DynamicHelixUpdateSet"; @@ -79986,7 +79541,7 @@ }; A._$WarnOnExitIfUnsavedSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["warn", serializers.serialize$2$specifiedType(type$.WarnOnExitIfUnsavedSet._as(object).warn, B.FullType_MtR)]; + return ["warn", serializers.serialize$2$specifiedType(type$.WarnOnExitIfUnsavedSet._as(object).warn, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80003,7 +79558,7 @@ value = iterator.get$current(iterator); switch (t1) { case "warn": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80027,7 +79582,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_SQp; + return B.List_2No0; }, get$wireName() { return "WarnOnExitIfUnsavedSet"; @@ -80054,7 +79609,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_t3J; + return B.List_P86; }, get$wireName() { return "LoadingDialogShow"; @@ -80081,7 +79636,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wEo; + return B.List_QWS; }, get$wireName() { return "LoadingDialogHide"; @@ -80105,7 +79660,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IIj; + return B.List_QTi; }, get$wireName() { return "CopySelectedStandsToClipboardImage"; @@ -80129,7 +79684,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_dDf; + return B.List_YmM; }, get$wireName() { return "SaveDNAFile"; @@ -80139,11 +79694,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["content", serializers.serialize$2$specifiedType(object.content, B.FullType_iHz), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, B.FullType_mpw), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, B.FullType_mpw), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, B.FullType_Qdq)]; value = object.filename; if (value != null) { result.push("filename"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -80162,31 +79717,31 @@ value = iterator.get$current(iterator); switch (t2) { case "content": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._content = t2; break; case "write_local_storage": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._write_local_storage = t2; break; case "unit_testing": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._unit_testing = t2; break; case "dna_file_type": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_8L0); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_Qdq); 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)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._filename = t2; break; } @@ -80199,7 +79754,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_MIe; + return B.List_Qwp; }, get$wireName() { return "LoadDNAFile"; @@ -80209,11 +79764,11 @@ 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)]; + result = ["content", serializers.serialize$2$specifiedType(object.content, B.FullType_iHz), "write_local_storage", serializers.serialize$2$specifiedType(object.write_local_storage, B.FullType_mpw), "unit_testing", serializers.serialize$2$specifiedType(object.unit_testing, B.FullType_mpw), "dna_file_type", serializers.serialize$2$specifiedType(object.dna_file_type, B.FullType_Qdq)]; value = object.filename; if (value != null) { result.push("filename"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -80232,31 +79787,31 @@ value = iterator.get$current(iterator); switch (t2) { case "content": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._content = t2; break; case "write_local_storage": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._write_local_storage = t2; break; case "unit_testing": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._unit_testing = t2; break; case "dna_file_type": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_8L0); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_Qdq); 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)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._filename = t2; break; } @@ -80269,7 +79824,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_nFv; + return B.List_U43; }, get$wireName() { return "PrepareToLoadDNAFile"; @@ -80278,7 +79833,7 @@ 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)]; + return ["design", serializers.serialize$2$specifiedType(object.design, B.FullType_jUG), "short_description_value", serializers.serialize$2$specifiedType(object.short_description_value, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80304,13 +79859,13 @@ t2 = t3; } else t2 = t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_WnR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_jUG); t3.toString; t1._as(t3); t2._design0$_$v = t3; break; case "short_description_value": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._short_description_value = t2; @@ -80325,7 +79880,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_RyU; + return B.List_wXI; }, get$wireName() { return "NewDesignSet"; @@ -80333,7 +79888,7 @@ }; A._$ExportCadnanoFileSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["whitespace", serializers.serialize$2$specifiedType(type$.ExportCadnanoFile._as(object).whitespace, B.FullType_MtR)]; + return ["whitespace", serializers.serialize$2$specifiedType(type$.ExportCadnanoFile._as(object).whitespace, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80350,7 +79905,7 @@ value = iterator.get$current(iterator); switch (t1) { case "whitespace": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80374,7 +79929,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IGS; + return B.List_CLo; }, get$wireName() { return "ExportCadnanoFile"; @@ -80401,7 +79956,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_avb; + return B.List_svj; }, get$wireName() { return "ExportCodenanoFile"; @@ -80409,7 +79964,7 @@ }; A._$ShowMouseoverDataSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverDataSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverDataSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80426,7 +79981,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80446,7 +80001,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_5HG; + return B.List_Zo9; }, get$wireName() { return "ShowMouseoverDataSet"; @@ -80470,7 +80025,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_07o; + return B.List_inH0; }, get$wireName() { return "MouseoverDataClear"; @@ -80478,7 +80033,7 @@ }; 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)]; + return ["mouseover_params", serializers.serialize$2$specifiedType(type$.MouseoverDataUpdate._as(object).mouseover_params, B.FullType_c0c)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80520,7 +80075,7 @@ t5.set$_listOwner(null); result.set$_mouseover_params(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_AFm); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_c0c); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -80545,7 +80100,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_GVa; + return B.List_9Aw; }, get$wireName() { return "MouseoverDataUpdate"; @@ -80554,7 +80109,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80572,7 +80127,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -80584,7 +80139,7 @@ result._actions$_helix_idx = t1; break; case "roll": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -80609,7 +80164,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_4QF; + return B.List_j94; }, get$wireName() { return "HelixRollSet"; @@ -80618,7 +80173,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "helix_other_idx", serializers.serialize$2$specifiedType(object.helix_other_idx, B.FullType_xEI), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw), "anchor", serializers.serialize$2$specifiedType(object.anchor, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80635,25 +80190,25 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._actions$_helix_idx = t1; break; case "helix_other_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._helix_other_idx = t1; break; case "forward": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_$this()._actions$_forward = t1; break; case "anchor": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._anchor = t1; @@ -80668,7 +80223,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AyI1; + return B.List_bFi; }, get$wireName() { return "HelixRollSetAtOther"; @@ -80676,7 +80231,7 @@ }; 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)]; + return ["only_selected", serializers.serialize$2$specifiedType(type$.RelaxHelixRolls._as(object).only_selected, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80693,7 +80248,7 @@ value = iterator.get$current(iterator); switch (t1) { case "only_selected": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80717,7 +80272,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IYw; + return B.List_E3m; }, get$wireName() { return "RelaxHelixRolls"; @@ -80729,7 +80284,7 @@ value = type$.ErrorMessageSet._as(object).error_message; if (value != null) { result.push("error_message"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -80748,7 +80303,7 @@ value = iterator.get$current(iterator); switch (t1) { case "error_message": - t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); $$v = result._$v; if ($$v != null) { result._actions$_error_message = $$v.error_message; @@ -80766,7 +80321,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_a3r; + return B.List_uva; }, get$wireName() { return "ErrorMessageSet"; @@ -80775,7 +80330,7 @@ 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)]; + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_uvw), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80792,19 +80347,19 @@ value = iterator.get$current(iterator); switch (t3) { case "point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); result.get$_$this().set$_point(t3); break; case "toggle": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._actions$_toggle = t3; break; case "is_main": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._actions$_is_main = t3; @@ -80819,7 +80374,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_a0G; + return B.List_SJP; }, get$wireName() { return "SelectionBoxCreate"; @@ -80828,7 +80383,7 @@ 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)]; + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_uvw), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80845,7 +80400,7 @@ value = iterator.get$current(iterator); switch (t3) { case "point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -80857,7 +80412,7 @@ result.set$_point(t3); break; case "is_main": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); $$v = result._$v; @@ -80878,7 +80433,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wEs; + return B.List_sgq; }, get$wireName() { return "SelectionBoxSizeChange"; @@ -80886,7 +80441,7 @@ }; 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)]; + return ["is_main", serializers.serialize$2$specifiedType(type$.SelectionBoxRemove._as(object).is_main, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80903,7 +80458,7 @@ value = iterator.get$current(iterator); switch (t1) { case "is_main": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80923,7 +80478,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_jYc; + return B.List_n5n; }, get$wireName() { return "SelectionBoxRemove"; @@ -80931,7 +80486,7 @@ }; A._$SelectionRopeCreateSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["toggle", serializers.serialize$2$specifiedType(type$.SelectionRopeCreate._as(object).toggle, B.FullType_MtR)]; + return ["toggle", serializers.serialize$2$specifiedType(type$.SelectionRopeCreate._as(object).toggle, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80948,7 +80503,7 @@ value = iterator.get$current(iterator); switch (t1) { case "toggle": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -80972,7 +80527,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_WfA; + return B.List_02; }, get$wireName() { return "SelectionRopeCreate"; @@ -80981,7 +80536,7 @@ 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)]; + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_uvw), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -80999,7 +80554,7 @@ value = iterator.get$current(iterator); switch (t3) { case "point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -81011,7 +80566,7 @@ result.set$_point(t3); break; case "is_main_view": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); $$v = result._$v; @@ -81038,7 +80593,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wEo1; + return B.List_hLM; }, get$wireName() { return "SelectionRopeMouseMove"; @@ -81047,7 +80602,7 @@ 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)]; + return ["point", serializers.serialize$2$specifiedType(object.point, B.FullType_uvw), "is_main_view", serializers.serialize$2$specifiedType(object.is_main_view, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81065,7 +80620,7 @@ value = iterator.get$current(iterator); switch (t3) { case "point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -81077,7 +80632,7 @@ result.set$_point(t3); break; case "is_main_view": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); $$v = result._$v; @@ -81104,7 +80659,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_A2g; + return B.List_QW2; }, get$wireName() { return "SelectionRopeAddPoint"; @@ -81131,7 +80686,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_eDH; + return B.List_yDQ; }, get$wireName() { return "SelectionRopeRemove"; @@ -81139,7 +80694,7 @@ }; 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)]; + return ["grid_position", serializers.serialize$2$specifiedType(type$.MouseGridPositionSideUpdate._as(object).grid_position, B.FullType_yPV)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81167,7 +80722,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_yPV); t3.toString; t1._as(t3); t2._grid_position$_$v = t3; @@ -81182,7 +80737,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_u77; + return B.List_eAf; }, get$wireName() { return "MouseGridPositionSideUpdate"; @@ -81206,7 +80761,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Dn0; + return B.List_G3l; }, get$wireName() { return "MouseGridPositionSideClear"; @@ -81214,7 +80769,7 @@ }; 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)]; + return ["svg_pos", serializers.serialize$2$specifiedType(type$.MousePositionSideUpdate._as(object).svg_pos, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81231,7 +80786,7 @@ value = iterator.get$current(iterator); switch (t3) { case "svg_pos": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -81255,7 +80810,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_L2O; + return B.List_j7r; }, get$wireName() { return "MousePositionSideUpdate"; @@ -81279,7 +80834,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_MCX; + return B.List_elY; }, get$wireName() { return "MousePositionSideClear"; @@ -81287,7 +80842,7 @@ }; A._$GeometrySetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["geometry", serializers.serialize$2$specifiedType(type$.GeometrySet._as(object).geometry, B.FullType_qNW)]; + return ["geometry", serializers.serialize$2$specifiedType(type$.GeometrySet._as(object).geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81315,7 +80870,7 @@ t2 = result._actions$_geometry; if (t2 == null) t2 = result._actions$_geometry = new A.GeometryBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t3.toString; t1._as(t3); t2._geometry$_$v = t3; @@ -81330,7 +80885,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_olV; + return B.List_LpI; }, get$wireName() { return "GeometrySet"; @@ -81339,7 +80894,7 @@ A._$GeometryHelixGroupSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { type$.GeometryHelixGroupSet._as(object); - return ["group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_h8g), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW)]; + return ["group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_iHz), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81356,7 +80911,7 @@ value = iterator.get$current(iterator); switch (t2) { case "group_name": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._group_name = t2; @@ -81365,7 +80920,7 @@ t2 = result.get$_$this(); t3 = t2._actions$_geometry; t2 = t3 == null ? t2._actions$_geometry = new A.GeometryBuilder() : t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t3.toString; t1._as(t3); t2._geometry$_$v = t3; @@ -81380,7 +80935,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_33r; + return B.List_Ecu; }, get$wireName() { return "GeometryHelixGroupSet"; @@ -81388,7 +80943,7 @@ }; A._$SelectionBoxIntersectionRuleSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["intersect", serializers.serialize$2$specifiedType(type$.SelectionBoxIntersectionRuleSet._as(object).intersect, B.FullType_MtR)]; + return ["intersect", serializers.serialize$2$specifiedType(type$.SelectionBoxIntersectionRuleSet._as(object).intersect, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81405,7 +80960,7 @@ value = iterator.get$current(iterator); switch (t1) { case "intersect": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -81429,7 +80984,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_7Ah; + return B.List_UQo; }, get$wireName() { return "SelectionBoxIntersectionRuleSet"; @@ -81438,7 +80993,7 @@ 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)]; + return ["selectable", serializers.serialize$2$specifiedType(object.selectable, B.FullType_ato), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "only", serializers.serialize$2$specifiedType(object.only, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81455,19 +81010,19 @@ value = iterator.get$current(iterator); switch (t2) { case "selectable": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kn0); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_ato); t2.toString; t1._as(t2); result.get$_$this()._selectable = t2; break; case "toggle": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._actions$_toggle = t2; break; case "only": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._only = t2; @@ -81482,7 +81037,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wEo0; + return B.List_8qN; }, get$wireName() { return "Select"; @@ -81506,7 +81061,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cQL; + return B.List_eRp; }, get$wireName() { return "SelectionsClear"; @@ -81515,7 +81070,7 @@ 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)]; + return ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "box", serializers.serialize$2$specifiedType(object.box, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81533,7 +81088,7 @@ value = iterator.get$current(iterator); switch (t1) { case "toggle": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -81545,7 +81100,7 @@ result._actions$_toggle = t1; break; case "box": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -81573,7 +81128,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_A9i; + return B.List_mtS; }, get$wireName() { return "SelectionsAdjustMainView"; @@ -81582,7 +81137,7 @@ 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)]; + return ["items", serializers.serialize$2$specifiedType(object.items, B.FullType_o7e), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81609,7 +81164,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_ox4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_o7e); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -81625,7 +81180,7 @@ } break; case "toggle": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_$this()._actions$_toggle = t5; @@ -81640,7 +81195,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ntz; + return B.List_s1A; }, get$wireName() { return "SelectOrToggleItems"; @@ -81649,7 +81204,7 @@ 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)]; + return ["selectables", serializers.serialize$2$specifiedType(object.selectables, B.FullType_o7e), "only", serializers.serialize$2$specifiedType(object.only, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81676,7 +81231,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_ox4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_o7e); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -81692,7 +81247,7 @@ } break; case "only": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_$this()._only = t5; @@ -81707,7 +81262,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_00; + return B.List_F4V; }, get$wireName() { return "SelectAll"; @@ -81715,7 +81270,7 @@ }; 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)]; + return ["current_helix_group_only", serializers.serialize$2$specifiedType(type$.SelectAllSelectable._as(object).current_helix_group_only, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81732,7 +81287,7 @@ value = iterator.get$current(iterator); switch (t1) { case "current_helix_group_only": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -81752,7 +81307,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_9ED; + return B.List_Wnj; }, get$wireName() { return "SelectAllSelectable"; @@ -81761,7 +81316,7 @@ 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)]; + return ["template_strands", serializers.serialize$2$specifiedType(object.template_strands, B.FullType_SJV), "traits", serializers.serialize$2$specifiedType(object.traits, B.FullType_D5s), "exclude_scaffolds", serializers.serialize$2$specifiedType(object.exclude_scaffolds, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81788,7 +81343,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -81814,7 +81369,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mPa); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_D5s); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -81830,7 +81385,7 @@ } break; case "exclude_scaffolds": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t8.toString; A._asBool(t8); result.get$_$this()._exclude_scaffolds = t8; @@ -81845,7 +81400,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_egL; + return B.List_srB; }, get$wireName() { return "SelectAllStrandsWithSameAsSelected"; @@ -81869,7 +81424,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_D7h; + return B.List_Jcx; }, get$wireName() { return "DeleteAllSelected"; @@ -81883,12 +81438,12 @@ value = object.grid_position; if (value != null) { result.push("grid_position"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_q96)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_yPV)); } value = object.position; if (value != null) { result.push("position"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_cgM)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_aJC)); } return result; }, @@ -81910,7 +81465,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_yPV); t4.toString; t2._as(t4); t3._grid_position$_$v = t4; @@ -81919,7 +81474,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aJC); t4.toString; t1._as(t4); t3._position3d$_$v = t4; @@ -81934,7 +81489,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_xw8; + return B.List_sey; }, get$wireName() { return "HelixAdd"; @@ -81942,7 +81497,7 @@ }; 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixRemove._as(object).helix_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -81959,7 +81514,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -81979,7 +81534,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Esr; + return B.List_yXb; }, get$wireName() { return "HelixRemove"; @@ -82003,7 +81558,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_aTx; + return B.List_H1G; }, get$wireName() { return "HelixRemoveAllSelected"; @@ -82012,7 +81567,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82029,7 +81584,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82041,7 +81596,7 @@ result._actions$_helix_idx = t1; break; case "toggle": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -82062,7 +81617,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_MQk; + return B.List_AKu; }, get$wireName() { return "HelixSelect"; @@ -82086,7 +81641,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_TfU; + return B.List_s7p; }, get$wireName() { return "HelixSelectionsClear"; @@ -82095,7 +81650,7 @@ 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)]; + return ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "selection_box", serializers.serialize$2$specifiedType(object.selection_box, B.FullType_aEB)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82112,7 +81667,7 @@ value = iterator.get$current(iterator); switch (t2) { case "toggle": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._actions$_toggle = t2; @@ -82121,7 +81676,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aEB); t3.toString; t1._as(t3); t2._selection_box$_$v = t3; @@ -82136,7 +81691,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_qr1; + return B.List_H48; }, get$wireName() { return "HelixSelectionsAdjust"; @@ -82145,7 +81700,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "major_tick_distance", serializers.serialize$2$specifiedType(object.major_tick_distance, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82164,7 +81719,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82176,7 +81731,7 @@ result._actions$_helix_idx = t1; break; case "major_tick_distance": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82203,7 +81758,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_yP5; + return B.List_6YB; }, get$wireName() { return "HelixMajorTickDistanceChange"; @@ -82211,7 +81766,7 @@ }; 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)]; + return ["major_tick_distance", serializers.serialize$2$specifiedType(type$.HelixMajorTickDistanceChangeAll._as(object).major_tick_distance, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82229,7 +81784,7 @@ value = iterator.get$current(iterator); switch (t1) { case "major_tick_distance": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82253,7 +81808,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Nws; + return B.List_3zC; }, get$wireName() { return "HelixMajorTickDistanceChangeAll"; @@ -82262,7 +81817,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82281,7 +81836,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82293,7 +81848,7 @@ result._actions$_helix_idx = t1; break; case "major_tick_start": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82320,7 +81875,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ygQ; + return B.List_MvE; }, get$wireName() { return "HelixMajorTickStartChange"; @@ -82328,7 +81883,7 @@ }; 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)]; + return ["major_tick_start", serializers.serialize$2$specifiedType(type$.HelixMajorTickStartChangeAll._as(object).major_tick_start, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82346,7 +81901,7 @@ value = iterator.get$current(iterator); switch (t1) { case "major_tick_start": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82370,7 +81925,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_YNa; + return B.List_TDs; }, get$wireName() { return "HelixMajorTickStartChangeAll"; @@ -82379,7 +81934,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "major_ticks", serializers.serialize$2$specifiedType(object.major_ticks, B.FullType_0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82396,7 +81951,7 @@ value = iterator.get$current(iterator); switch (t5) { case "helix_idx": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_$this()._actions$_helix_idx = t5; @@ -82412,7 +81967,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -82437,7 +81992,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ciW; + return B.List_wAg; }, get$wireName() { return "HelixMajorTicksChange"; @@ -82445,7 +82000,7 @@ }; 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)]; + return ["major_ticks", serializers.serialize$2$specifiedType(type$.HelixMajorTicksChangeAll._as(object).major_ticks, B.FullType_0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82487,7 +82042,7 @@ t5.set$_listOwner(null); result.set$_actions$_major_ticks(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -82512,7 +82067,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_GxI; + return B.List_Qfu; }, get$wireName() { return "HelixMajorTicksChangeAll"; @@ -82521,7 +82076,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, B.FullType_0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82538,7 +82093,7 @@ value = iterator.get$current(iterator); switch (t5) { case "helix_idx": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_$this()._actions$_helix_idx = t5; @@ -82554,7 +82109,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -82579,7 +82134,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_GQ1; + return B.List_0M5; }, get$wireName() { return "HelixMajorTickPeriodicDistancesChange"; @@ -82587,7 +82142,7 @@ }; 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)]; + return ["major_tick_periodic_distances", serializers.serialize$2$specifiedType(type$.HelixMajorTickPeriodicDistancesChangeAll._as(object).major_tick_periodic_distances, B.FullType_0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82629,7 +82184,7 @@ t5.set$_listOwner(null); result.set$_actions$_major_tick_periodic_distances(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -82654,7 +82209,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_QVp; + return B.List_oqK; }, get$wireName() { return "HelixMajorTickPeriodicDistancesChangeAll"; @@ -82662,7 +82217,7 @@ }; 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)]; + return ["idx_replacements", serializers.serialize$2$specifiedType(type$.HelixIdxsChange._as(object).idx_replacements, B.FullType_RoN)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82684,7 +82239,7 @@ t2 = $$v.idx_replacements; 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.set$_idx_replacements(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("MapBuilder<1,2>"))); result._$v = null; } t2 = result._idx_replacements; @@ -82693,7 +82248,7 @@ t2.replace$1(0, B.Map_empty); result.set$_idx_replacements(t2); } - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t3.toString; t2.replace$1(0, t3); break; @@ -82707,7 +82262,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_CrS; + return B.List_O5M; }, get$wireName() { return "HelixIdxsChange"; @@ -82717,16 +82272,16 @@ 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)]; + result = ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI)]; value = object.min_offset; if (value != null) { result.push("min_offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } value = object.max_offset; if (value != null) { result.push("max_offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -82745,17 +82300,17 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._actions$_helix_idx = t1; break; case "min_offset": - t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_$this()._actions$_min_offset = t1; break; case "max_offset": - t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_$this()._actions$_max_offset = t1; break; } @@ -82775,7 +82330,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_EIw; + return B.List_iDZ; }, get$wireName() { return "HelixOffsetChange"; @@ -82783,7 +82338,7 @@ }; 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixMinOffsetSetByDomains._as(object).helix_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82800,7 +82355,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82824,7 +82379,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_QG0; + return B.List_SVp; }, get$wireName() { return "HelixMinOffsetSetByDomains"; @@ -82832,7 +82387,7 @@ }; 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(type$.HelixMaxOffsetSetByDomains._as(object).helix_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -82849,7 +82404,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -82873,7 +82428,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kmC0; + return B.List_oqK0; }, get$wireName() { return "HelixMaxOffsetSetByDomains"; @@ -82897,7 +82452,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_q96; + return B.List_UCB; }, get$wireName() { return "HelixMinOffsetSetByDomainsAll"; @@ -82921,7 +82476,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_2Vu; + return B.List_qtf; }, get$wireName() { return "HelixMaxOffsetSetByDomainsAll"; @@ -82945,7 +82500,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_SRR; + return B.List_blY; }, get$wireName() { return "HelixMaxOffsetSetByDomainsAllSameMax"; @@ -82959,12 +82514,12 @@ value = object.min_offset; if (value != null) { result.push("min_offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } value = object.max_offset; if (value != null) { result.push("max_offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -82983,7 +82538,7 @@ value = iterator.get$current(iterator); switch (t1) { case "min_offset": - t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); $$v = result._$v; if ($$v != null) { result._actions$_min_offset = $$v.min_offset; @@ -82993,7 +82548,7 @@ result._actions$_min_offset = t1; break; case "max_offset": - t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); $$v = result._$v; if ($$v != null) { result._actions$_min_offset = $$v.min_offset; @@ -83016,7 +82571,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_P50; + return B.List_yDC; }, get$wireName() { return "HelixOffsetChangeAll"; @@ -83024,7 +82579,7 @@ }; A._$ShowMouseoverRectSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverRectSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowMouseoverRectSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83042,7 +82597,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -83070,7 +82625,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_qKv; + return B.List_QKh; }, get$wireName() { return "ShowMouseoverRectSet"; @@ -83097,7 +82652,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Wvz; + return B.List_ivT; }, get$wireName() { return "ShowMouseoverRectToggle"; @@ -83107,11 +82662,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["include_scaffold", serializers.serialize$2$specifiedType(object.include_scaffold, B.FullType_mpw), "include_only_selected_strands", serializers.serialize$2$specifiedType(object.include_only_selected_strands, B.FullType_mpw), "exclude_selected_strands", serializers.serialize$2$specifiedType(object.exclude_selected_strands, B.FullType_mpw), "export_dna_format", serializers.serialize$2$specifiedType(object.export_dna_format, B.FullType_AGY), "column_major_strand", serializers.serialize$2$specifiedType(object.column_major_strand, B.FullType_mpw), "column_major_plate", serializers.serialize$2$specifiedType(object.column_major_plate, B.FullType_mpw), "delimiter", serializers.serialize$2$specifiedType(object.delimiter, B.FullType_iHz), "domain_delimiter", serializers.serialize$2$specifiedType(object.domain_delimiter, B.FullType_iHz)]; value = object.strand_order; if (value != null) { result.push("strand_order"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kaS)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_qzR)); } return result; }, @@ -83130,53 +82685,53 @@ value = iterator.get$current(iterator); switch (t3) { case "include_scaffold": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._include_scaffold = t3; break; case "include_only_selected_strands": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._include_only_selected_strands = t3; break; case "exclude_selected_strands": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._exclude_selected_strands = t3; break; case "export_dna_format": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Otz); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_AGY); t3.toString; t2._as(t3); result.get$_$this()._export_dna_format = t3; break; case "strand_order": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_kaS)); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qzR)); result.get$_$this()._strand_order = t3; break; case "column_major_strand": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._column_major_strand = t3; break; case "column_major_plate": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._column_major_plate = t3; break; case "delimiter": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_$this()._delimiter = t3; break; case "domain_delimiter": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_$this()._domain_delimiter = t3; @@ -83191,7 +82746,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_EVy; + return B.List_oqh; }, get$wireName() { return "ExportDNA"; @@ -83199,7 +82754,7 @@ }; A._$ExportSvgSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["type", serializers.serialize$2$specifiedType(type$.ExportSvg._as(object).type, B.FullType_A0M)]; + return ["type", serializers.serialize$2$specifiedType(type$.ExportSvg._as(object).type, B.FullType_91d)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83216,7 +82771,7 @@ value = iterator.get$current(iterator); switch (t2) { case "type": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_A0M); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_91d); t2.toString; t1._as(t2); $$v = result._$v; @@ -83236,7 +82791,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_oBb; + return B.List_NcA; }, get$wireName() { return "ExportSvg"; @@ -83244,7 +82799,7 @@ }; 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)]; + return ["export_svg_text_separately", serializers.serialize$2$specifiedType(type$.ExportSvgTextSeparatelySet._as(object).export_svg_text_separately, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83261,7 +82816,7 @@ value = iterator.get$current(iterator); switch (t1) { case "export_svg_text_separately": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -83281,7 +82836,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cIc; + return B.List_vdR; }, get$wireName() { return "ExportSvgTextSeparatelySet"; @@ -83290,7 +82845,7 @@ 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)]; + return ["ext", serializers.serialize$2$specifiedType(object.ext, B.FullType_aur), "display_length", serializers.serialize$2$specifiedType(object.display_length, B.FullType_5AK), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83310,19 +82865,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aur); t3.toString; t1._as(t3); t2._extension$_$v = t3; break; case "display_length": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t2.toString; A._asDouble(t2); result.get$_$this()._actions$_display_length = t2; break; case "display_angle": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t2.toString; A._asDouble(t2); result.get$_$this()._actions$_display_angle = t2; @@ -83337,7 +82892,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_0RG; + return B.List_0Q3; }, get$wireName() { return "ExtensionDisplayLengthAngleSet"; @@ -83346,7 +82901,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_mpw), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83366,19 +82921,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; break; case "is_5p": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._actions$_is_5p = t2; break; case "num_bases": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_num_bases = t2; @@ -83393,7 +82948,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_tI7; + return B.List_46c; }, get$wireName() { return "ExtensionAdd"; @@ -83402,7 +82957,7 @@ 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)]; + return ["ext", serializers.serialize$2$specifiedType(object.ext, B.FullType_aur), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83422,13 +82977,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aur); t3.toString; t1._as(t3); t2._extension$_$v = t3; break; case "num_bases": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_num_bases = t2; @@ -83443,7 +82998,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_WjS; + return B.List_MQy; }, get$wireName() { return "ExtensionNumBasesChange"; @@ -83452,7 +83007,7 @@ 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)]; + return ["extensions", serializers.serialize$2$specifiedType(object.extensions, B.FullType_Qgd), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83479,7 +83034,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_gg4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_Qgd); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -83495,7 +83050,7 @@ } break; case "num_bases": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_$this()._actions$_num_bases = t5; @@ -83510,7 +83065,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_mtF; + return B.List_urY; }, get$wireName() { return "ExtensionsNumBasesChange"; @@ -83519,7 +83074,7 @@ 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)]; + return ["loopout", serializers.serialize$2$specifiedType(object.loopout, B.FullType_qhc), "num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83539,13 +83094,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_qhc); t3.toString; t1._as(t3); t2._loopout$_$v = t3; break; case "num_bases": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_num_bases = t2; @@ -83560,7 +83115,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IFE0; + return B.List_KY7; }, get$wireName() { return "LoopoutLengthChange"; @@ -83569,7 +83124,7 @@ 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)]; + return ["loopouts", serializers.serialize$2$specifiedType(object.loopouts, B.FullType_GBG), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83596,7 +83151,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_H9I); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_GBG); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -83612,7 +83167,7 @@ } break; case "length": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_$this()._actions$_length = t5; @@ -83627,7 +83182,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kTd; + return B.List_gsm0; }, get$wireName() { return "LoopoutsLengthChange"; @@ -83637,11 +83192,11 @@ 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)]; + result = ["crossover", serializers.serialize$2$specifiedType(object.crossover, B.FullType_paL), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI)]; value = object.dna_sequence; if (value != null) { result.push("dna_sequence"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -83663,19 +83218,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_paL); t3.toString; t1._as(t3); t2._crossover$_$v = t3; break; case "length": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_length = t2; break; case "dna_sequence": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._actions$_dna_sequence = t2; break; } @@ -83688,7 +83243,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_KeE; + return B.List_qpm; }, get$wireName() { return "ConvertCrossoverToLoopout"; @@ -83697,7 +83252,7 @@ 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)]; + return ["crossovers", serializers.serialize$2$specifiedType(object.crossovers, B.FullType_mXu), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83724,7 +83279,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_EOY); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_mXu); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -83740,7 +83295,7 @@ } break; case "length": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_$this()._actions$_length = t5; @@ -83755,7 +83310,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_SLS; + return B.List_Key; }, get$wireName() { return "ConvertCrossoversToLoopouts"; @@ -83764,7 +83319,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83784,13 +83339,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; break; case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_offset = t2; @@ -83805,7 +83360,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_5sE; + return B.List_M3c; }, get$wireName() { return "Nick"; @@ -83813,7 +83368,7 @@ }; 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)]; + return ["dna_end", serializers.serialize$2$specifiedType(type$.Ligate._as(object).dna_end, B.FullType_wOX)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83841,7 +83396,7 @@ t2 = result._actions$_dna_end; if (t2 == null) t2 = result._actions$_dna_end = new A.DNAEndBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_QR4); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t3.toString; t1._as(t3); t2._dna_end$_$v = t3; @@ -83856,7 +83411,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_7BT; + return B.List_SdN; }, get$wireName() { return "Ligate"; @@ -83865,7 +83420,7 @@ 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)]; + return ["dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, B.FullType_wOX), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, B.FullType_wOX)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83885,7 +83440,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t3.toString; t1._as(t3); t2._dna_end$_$v = t3; @@ -83894,7 +83449,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t3.toString; t1._as(t3); t2._dna_end$_$v = t3; @@ -83909,7 +83464,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_mq4; + return B.List_pZX; }, get$wireName() { return "JoinStrandsByCrossover"; @@ -83918,7 +83473,7 @@ 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)]; + return ["potential_crossover", serializers.serialize$2$specifiedType(object.potential_crossover, B.FullType_yHq), "dna_end_second_click", serializers.serialize$2$specifiedType(object.dna_end_second_click, B.FullType_wOX)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -83938,7 +83493,7 @@ t3 = result.get$_$this(); t4 = t3._potential_crossover; t3 = t4 == null ? t3._potential_crossover = new A.PotentialCrossoverBuilder() : t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_gkc); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_yHq); t4.toString; t2._as(t4); t3._potential_crossover$_$v = t4; @@ -83947,7 +83502,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t4.toString; t1._as(t4); t3._dna_end$_$v = t4; @@ -83962,7 +83517,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_W34; + return B.List_wwi; }, get$wireName() { return "MoveLinker"; @@ -83986,7 +83541,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_43h0; + return B.List_01; }, get$wireName() { return "JoinStrandsByMultipleCrossovers"; @@ -83995,7 +83550,7 @@ 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)]; + return ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_SJV), "horizontal", serializers.serialize$2$specifiedType(object.horizontal, B.FullType_mpw), "reverse_polarity", serializers.serialize$2$specifiedType(object.reverse_polarity, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84022,7 +83577,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -84038,13 +83593,13 @@ } break; case "horizontal": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_$this()._horizontal = t5; break; case "reverse_polarity": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_$this()._reverse_polarity = t5; @@ -84059,7 +83614,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wwi; + return B.List_Diz; }, get$wireName() { return "StrandsReflect"; @@ -84067,7 +83622,7 @@ }; 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)]; + return ["new_strands", serializers.serialize$2$specifiedType(type$.ReplaceStrands._as(object).new_strands, B.FullType_wiJ)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84089,7 +83644,7 @@ t2 = $$v.new_strands; 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.set$_new_strands(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t3._eval$1("MapBuilder<1,2>"))); result._$v = null; } t2 = result._new_strands; @@ -84098,7 +83653,7 @@ t2.replace$1(0, B.Map_empty); result.set$_new_strands(t2); } - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_vpC); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wiJ); t3.toString; t2.replace$1(0, t3); break; @@ -84112,7 +83667,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_yS0; + return B.List_qxe; }, get$wireName() { return "ReplaceStrands"; @@ -84121,7 +83676,7 @@ 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)]; + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_ync), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_Zul)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84141,13 +83696,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t4.toString; t2._as(t4); t3._address$_$v = t4; break; case "color": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); t3.toString; t1._as(t3); result.get$_$this()._actions$_color = t3; @@ -84162,7 +83717,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IbS; + return B.List_N4X; }, get$wireName() { return "StrandCreateStart"; @@ -84170,7 +83725,7 @@ }; A._$StrandCreateAdjustOffsetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["offset", serializers.serialize$2$specifiedType(type$.StrandCreateAdjustOffset._as(object).offset, B.FullType_kjq)]; + return ["offset", serializers.serialize$2$specifiedType(type$.StrandCreateAdjustOffset._as(object).offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84187,7 +83742,7 @@ value = iterator.get$current(iterator); switch (t1) { case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -84211,7 +83766,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_5Bm; + return B.List_w7k; }, get$wireName() { return "StrandCreateAdjustOffset"; @@ -84235,7 +83790,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_goM; + return B.List_urv; }, get$wireName() { return "StrandCreateStop"; @@ -84244,7 +83799,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "start", serializers.serialize$2$specifiedType(object.start, B.FullType_xEI), "end", serializers.serialize$2$specifiedType(object.end, B.FullType_xEI), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_Zul)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84262,31 +83817,31 @@ value = iterator.get$current(iterator); switch (t2) { case "helix_idx": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_helix_idx = t2; break; case "start": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_start = t2; break; case "end": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_end = t2; break; case "forward": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._actions$_forward = t2; break; case "color": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); t2.toString; t1._as(t2); result.get$_$this()._actions$_color = t2; @@ -84311,7 +83866,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_HYb; + return B.List_3oi; }, get$wireName() { return "StrandCreateCommit"; @@ -84319,7 +83874,7 @@ }; 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)]; + return ["potential_crossover", serializers.serialize$2$specifiedType(type$.PotentialCrossoverCreate._as(object).potential_crossover, B.FullType_yHq)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84347,7 +83902,7 @@ t2 = result._potential_crossover; if (t2 == null) t2 = result._potential_crossover = new A.PotentialCrossoverBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gkc); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_yHq); t3.toString; t1._as(t3); t2._potential_crossover$_$v = t3; @@ -84362,7 +83917,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Uxx; + return B.List_DFB; }, get$wireName() { return "PotentialCrossoverCreate"; @@ -84370,7 +83925,7 @@ }; A._$PotentialCrossoverMoveSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["point", serializers.serialize$2$specifiedType(type$.PotentialCrossoverMove._as(object).point, B.FullType_laS)]; + return ["point", serializers.serialize$2$specifiedType(type$.PotentialCrossoverMove._as(object).point, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84387,7 +83942,7 @@ value = iterator.get$current(iterator); switch (t3) { case "point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -84411,7 +83966,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_FIw; + return B.List_dkG; }, get$wireName() { return "PotentialCrossoverMove"; @@ -84435,7 +83990,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_rv4; + return B.List_nom; }, get$wireName() { return "PotentialCrossoverRemove"; @@ -84444,7 +83999,7 @@ 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)]; + return ["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, B.FullType_iHz), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84461,7 +84016,7 @@ value = iterator.get$current(iterator); switch (t1) { case "clipboard_content": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); $$v = result._$v; @@ -84473,7 +84028,7 @@ result._clipboard_content = t1; break; case "in_browser": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -84494,7 +84049,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_fXI; + return B.List_zjl; }, get$wireName() { return "ManualPasteInitiate"; @@ -84503,7 +84058,7 @@ 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)]; + return ["clipboard_content", serializers.serialize$2$specifiedType(object.clipboard_content, B.FullType_iHz), "in_browser", serializers.serialize$2$specifiedType(object.in_browser, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84520,7 +84075,7 @@ value = iterator.get$current(iterator); switch (t1) { case "clipboard_content": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); $$v = result._$v; @@ -84532,7 +84087,7 @@ result._clipboard_content = t1; break; case "in_browser": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -84553,7 +84108,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_1yH; + return B.List_wdM; }, get$wireName() { return "AutoPasteInitiate"; @@ -84577,7 +84132,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_HJj; + return B.List_WVl; }, get$wireName() { return "CopySelectedStrands"; @@ -84586,7 +84141,7 @@ 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)]; + return ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_SJV), "address", serializers.serialize$2$specifiedType(object.address, B.FullType_ync), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_mpw), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_RoN)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84613,7 +84168,7 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t8.toString; t3._as(t8); t9 = t7.$ti; @@ -84632,13 +84187,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t8.toString; t2._as(t8); t7._address$_$v = t8; break; case "copy": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t7.toString; A._asBool(t7); result.get$_$this()._actions$_copy = t7; @@ -84653,7 +84208,7 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t8.toString; t7.replace$1(0, t8); break; @@ -84667,7 +84222,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_nz1; + return B.List_apf; }, get$wireName() { return "StrandsMoveStart"; @@ -84676,7 +84231,7 @@ 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)]; + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_ync), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_mpw), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_RoN)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84696,13 +84251,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t4.toString; t2._as(t4); t3._address$_$v = t4; break; case "copy": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._actions$_copy = t3; @@ -84717,7 +84272,7 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t4.toString; t3.replace$1(0, t4); break; @@ -84731,7 +84286,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_aJC; + return B.List_yrt; }, get$wireName() { return "StrandsMoveStartSelectedStrands"; @@ -84755,7 +84310,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_egL0; + return B.List_mC8; }, get$wireName() { return "StrandsMoveStop"; @@ -84763,7 +84318,7 @@ }; A._$StrandsMoveAdjustAddressSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["address", serializers.serialize$2$specifiedType(type$.StrandsMoveAdjustAddress._as(object).address, B.FullType_KlG)]; + return ["address", serializers.serialize$2$specifiedType(type$.StrandsMoveAdjustAddress._as(object).address, B.FullType_ync)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84791,7 +84346,7 @@ t2 = result._actions$_address; if (t2 == null) t2 = result._actions$_address = new A.AddressBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t3.toString; t1._as(t3); t2._address$_$v = t3; @@ -84806,7 +84361,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_G7M; + return B.List_wQs; }, get$wireName() { return "StrandsMoveAdjustAddress"; @@ -84815,7 +84370,7 @@ 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)]; + return ["strands_move", serializers.serialize$2$specifiedType(object.strands_move, B.FullType_6z6), "autopaste", serializers.serialize$2$specifiedType(object.autopaste, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84835,13 +84390,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_6z6); t3.toString; t1._as(t3); t2._strands_move$_$v = t3; break; case "autopaste": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._autopaste = t2; @@ -84856,7 +84411,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_YZn; + return B.List_kPa; }, get$wireName() { return "StrandsMoveCommit"; @@ -84865,7 +84420,7 @@ 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)]; + return ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_ync), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_RoN)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84885,7 +84440,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t4.toString; t2._as(t4); t3._address$_$v = t4; @@ -84900,7 +84455,7 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t4.toString; t3.replace$1(0, t4); break; @@ -84914,7 +84469,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_wsf; + return B.List_aZS; }, get$wireName() { return "DomainsMoveStartSelectedDomains"; @@ -84938,7 +84493,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gDw; + return B.List_IOo; }, get$wireName() { return "DomainsMoveStop"; @@ -84946,7 +84501,7 @@ }; A._$DomainsMoveAdjustAddressSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["address", serializers.serialize$2$specifiedType(type$.DomainsMoveAdjustAddress._as(object).address, B.FullType_KlG)]; + return ["address", serializers.serialize$2$specifiedType(type$.DomainsMoveAdjustAddress._as(object).address, B.FullType_ync)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -84974,7 +84529,7 @@ t2 = result._actions$_address; if (t2 == null) t2 = result._actions$_address = new A.AddressBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_KlG); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t3.toString; t1._as(t3); t2._address$_$v = t3; @@ -84989,7 +84544,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ssD; + return B.List_ZVc; }, get$wireName() { return "DomainsMoveAdjustAddress"; @@ -84997,7 +84552,7 @@ }; 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)]; + return ["domains_move", serializers.serialize$2$specifiedType(type$.DomainsMoveCommit._as(object).domains_move, B.FullType_u1z)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85025,7 +84580,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_u1z); t3.toString; t1._as(t3); t2._domains_move$_$v = t3; @@ -85040,7 +84595,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_0; + return B.List_NYu; }, get$wireName() { return "DomainsMoveCommit"; @@ -85049,7 +84604,7 @@ 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)]; + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85066,7 +84621,7 @@ value = iterator.get$current(iterator); switch (t2) { case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_offset = t2; @@ -85083,7 +84638,7 @@ t2 = t3; } else t2 = t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t3.toString; t1._as(t3); t2._helix$_$v = t3; @@ -85098,7 +84653,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ifL; + return B.List_071; }, get$wireName() { return "DNAEndsMoveStart"; @@ -85107,7 +84662,7 @@ 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), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW)]; + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_uAN), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_xEI), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, B.FullType_qti), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85134,7 +84689,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_TgZ); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_uAN); t10.toString; t5._as(t10); t11 = t9.$ti; @@ -85150,7 +84705,7 @@ } break; case "original_offset": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t9.toString; A._asInt(t9); result.get$_$this()._actions$_original_offset = t9; @@ -85167,7 +84722,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t10.toString; t4._as(t10); t9._helix$_$v = t10; @@ -85182,7 +84737,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_Y8O); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_qti); t10.toString; t9.replace$1(0, t2._as(t10)); break; @@ -85190,7 +84745,7 @@ t9 = result.get$_$this(); t10 = t9._actions$_geometry; t9 = t10 == null ? t9._actions$_geometry = new A.GeometryBuilder() : t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t10.toString; t1._as(t10); t9._geometry$_$v = t10; @@ -85205,7 +84760,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6Hc; + return B.List_g3y; }, get$wireName() { return "DNAEndsMoveSetSelectedEnds"; @@ -85213,7 +84768,7 @@ }; A._$DNAEndsMoveAdjustOffsetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["offset", serializers.serialize$2$specifiedType(type$.DNAEndsMoveAdjustOffset._as(object).offset, B.FullType_kjq)]; + return ["offset", serializers.serialize$2$specifiedType(type$.DNAEndsMoveAdjustOffset._as(object).offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85230,7 +84785,7 @@ value = iterator.get$current(iterator); switch (t1) { case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -85254,7 +84809,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_CZB; + return B.List_B6W; }, get$wireName() { return "DNAEndsMoveAdjustOffset"; @@ -85281,7 +84836,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kmC; + return B.List_2Um; }, get$wireName() { return "DNAEndsMoveStop"; @@ -85289,7 +84844,7 @@ }; 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)]; + return ["dna_ends_move", serializers.serialize$2$specifiedType(type$.DNAEndsMoveCommit._as(object).dna_ends_move, B.FullType_wsa)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85317,7 +84872,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wsa); t3.toString; t1._as(t3); t2._dna_ends_move$_$v = t3; @@ -85332,7 +84887,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_9pj; + return B.List_zDQ; }, get$wireName() { return "DNAEndsMoveCommit"; @@ -85341,7 +84896,7 @@ 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)]; + return ["start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_uvw), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85358,7 +84913,7 @@ value = iterator.get$current(iterator); switch (t4) { case "start_point": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t4.toString; t4 = t3._as(t2._as(t4)); result.get$_$this().set$_actions$_start_point(t4); @@ -85375,7 +84930,7 @@ t4 = t5; } else t4 = t5; - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t5.toString; t1._as(t5); t4._helix$_$v = t5; @@ -85390,7 +84945,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_SbI; + return B.List_LB7; }, get$wireName() { return "DNAExtensionsMoveStart"; @@ -85399,7 +84954,7 @@ 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)]; + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_c4R), "original_point", serializers.serialize$2$specifiedType(object.original_point, B.FullType_uvw), "strands_affected", serializers.serialize$2$specifiedType(object.strands_affected, B.FullType_qti), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85426,7 +84981,7 @@ t10 = t11; } else t10 = t11; - t11 = serializers.deserialize$2$specifiedType(value, B.FullType_j5B); + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_c4R); t11.toString; t6._as(t11); t12 = t10.$ti; @@ -85442,7 +84997,7 @@ } break; case "original_point": - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t10.toString; t10 = t5._as(t4._as(t10)); result.get$_$this().set$_original_point(t10); @@ -85457,7 +85012,7 @@ t10 = t11; } else t10 = t11; - t11 = serializers.deserialize$2$specifiedType(value, B.FullType_Y8O); + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_qti); t11.toString; t10.replace$1(0, t2._as(t11)); break; @@ -85473,7 +85028,7 @@ t10 = t11; } else t10 = t11; - t11 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t11.toString; t1._as(t11); t10._helix$_$v = t11; @@ -85488,7 +85043,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_43h; + return B.List_2Rm; }, get$wireName() { return string$.DNAExt; @@ -85496,7 +85051,7 @@ }; A._$DNAExtensionsMoveAdjustPositionSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["position", serializers.serialize$2$specifiedType(type$.DNAExtensionsMoveAdjustPosition._as(object).position, B.FullType_laS)]; + return ["position", serializers.serialize$2$specifiedType(type$.DNAExtensionsMoveAdjustPosition._as(object).position, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85513,7 +85068,7 @@ value = iterator.get$current(iterator); switch (t3) { case "position": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -85537,7 +85092,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Mhf; + return B.List_u1J; }, get$wireName() { return "DNAExtensionsMoveAdjustPosition"; @@ -85564,7 +85119,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_etd; + return B.List_yDH; }, get$wireName() { return "DNAExtensionsMoveStop"; @@ -85572,7 +85127,7 @@ }; 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)]; + return ["dna_extensions_move", serializers.serialize$2$specifiedType(type$.DNAExtensionsMoveCommit._as(object).dna_extensions_move, B.FullType_RoN0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85600,7 +85155,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN0); t3.toString; t1._as(t3); t2._dna_extensions_move$_$v = t3; @@ -85615,7 +85170,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_OPz; + return B.List_gMW; }, get$wireName() { return "DNAExtensionsMoveCommit"; @@ -85623,7 +85178,7 @@ }; 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)]; + return ["mouse_point", serializers.serialize$2$specifiedType(type$.HelixGroupMoveStart._as(object).mouse_point, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85640,7 +85195,7 @@ value = iterator.get$current(iterator); switch (t3) { case "mouse_point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -85664,7 +85219,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_hkU; + return B.List_mNE; }, get$wireName() { return "HelixGroupMoveStart"; @@ -85672,7 +85227,7 @@ }; 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)]; + return ["helix_group_move", serializers.serialize$2$specifiedType(type$.HelixGroupMoveCreate._as(object).helix_group_move, B.FullType_72A)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85700,7 +85255,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_72A); t3.toString; t1._as(t3); t2._helix_group_move$_$v = t3; @@ -85715,7 +85270,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_1nx; + return B.List_zPV; }, get$wireName() { return "HelixGroupMoveCreate"; @@ -85723,7 +85278,7 @@ }; 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)]; + return ["mouse_point", serializers.serialize$2$specifiedType(type$.HelixGroupMoveAdjustTranslation._as(object).mouse_point, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85740,7 +85295,7 @@ value = iterator.get$current(iterator); switch (t3) { case "mouse_point": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._$v; @@ -85764,7 +85319,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_iHz; + return B.List_8I80; }, get$wireName() { return "HelixGroupMoveAdjustTranslation"; @@ -85788,7 +85343,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_PcW; + return B.List_uE5; }, get$wireName() { return "HelixGroupMoveStop"; @@ -85796,7 +85351,7 @@ }; 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)]; + return ["helix_group_move", serializers.serialize$2$specifiedType(type$.HelixGroupMoveCommit._as(object).helix_group_move, B.FullType_72A)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85824,7 +85379,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_72A); t3.toString; t1._as(t3); t2._helix_group_move$_$v = t3; @@ -85839,7 +85394,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ziQ; + return B.List_Crw; }, get$wireName() { return "HelixGroupMoveCommit"; @@ -85848,7 +85403,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, B.FullType_cg9)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85868,7 +85423,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; @@ -85887,7 +85442,7 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_eRS); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_cg9); t4.toString; t1._as(t4); t3._dna_assign_options$_$v = t4; @@ -85902,7 +85457,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_fvk; + return B.List_IWk; }, get$wireName() { return "AssignDNA"; @@ -85910,7 +85465,7 @@ }; A._$AssignDNAComplementFromBoundStrandsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["strands", serializers.serialize$2$specifiedType(type$.AssignDNAComplementFromBoundStrands._as(object).strands, B.FullType_2No)]; + return ["strands", serializers.serialize$2$specifiedType(type$.AssignDNAComplementFromBoundStrands._as(object).strands, B.FullType_SJV)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -85952,7 +85507,7 @@ t5.set$_listOwner(null); result.set$_actions$_strands(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -85977,7 +85532,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_1YD; + return B.List_s34; }, get$wireName() { return "AssignDNAComplementFromBoundStrands"; @@ -85985,7 +85540,7 @@ }; A._$AssignDomainNameComplementFromBoundStrandsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["strands", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundStrands._as(object).strands, B.FullType_2No)]; + return ["strands", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundStrands._as(object).strands, B.FullType_SJV)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86027,7 +85582,7 @@ t5.set$_listOwner(null); result.set$_actions$_strands(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -86052,7 +85607,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_eZu; + return B.List_wHc0; }, get$wireName() { return string$.AssignS; @@ -86060,7 +85615,7 @@ }; A._$AssignDomainNameComplementFromBoundDomainsSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["domains", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundDomains._as(object).domains, B.FullType_dli)]; + return ["domains", serializers.serialize$2$specifiedType(type$.AssignDomainNameComplementFromBoundDomains._as(object).domains, B.FullType_Dti)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86102,7 +85657,7 @@ t5.set$_listOwner(null); result.set$_domains(t5); } - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_Dti); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -86127,7 +85682,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gc6; + return B.List_m7u; }, get$wireName() { return string$.AssignD; @@ -86136,7 +85691,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "remove_complements", serializers.serialize$2$specifiedType(object.remove_complements, B.FullType_mpw), "remove_all", serializers.serialize$2$specifiedType(object.remove_all, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86156,19 +85711,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; break; case "remove_complements": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._remove_complements = t2; break; case "remove_all": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._remove_all = t2; @@ -86183,7 +85738,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_URr; + return B.List_sxw; }, get$wireName() { return "RemoveDNA"; @@ -86192,7 +85747,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86212,19 +85767,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; break; case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_offset = t2; break; case "all_helices": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._all_helices = t2; @@ -86239,7 +85794,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_oyU; + return B.List_ali; }, get$wireName() { return "InsertionAdd"; @@ -86248,7 +85803,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_1ju), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86268,7 +85823,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t2._as(t4); t3._domain$_$v = t4; @@ -86277,19 +85832,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_1ju); t4.toString; t1._as(t4); t3._domain$_$v = t4; break; case "length": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_$this()._actions$_length = t3; break; case "all_helices": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._all_helices = t3; @@ -86304,7 +85859,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_86y; + return B.List_1Od; }, get$wireName() { return "InsertionLengthChange"; @@ -86313,7 +85868,7 @@ 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)]; + return ["insertions", serializers.serialize$2$specifiedType(object.insertions, B.FullType_qxo), "domains", serializers.serialize$2$specifiedType(object.domains, B.FullType_Dti), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86340,7 +85895,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_i7r); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_qxo); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -86366,7 +85921,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_Dti); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -86382,13 +85937,13 @@ } break; case "length": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t8.toString; A._asInt(t8); result.get$_$this()._actions$_length = t8; break; case "all_helices": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t8.toString; A._asBool(t8); result.get$_$this()._all_helices = t8; @@ -86403,7 +85958,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_5uk; + return B.List_hLc; }, get$wireName() { return "InsertionsLengthChange"; @@ -86412,7 +85967,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86432,19 +85987,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; break; case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_offset = t2; break; case "all_helices": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._all_helices = t2; @@ -86459,7 +86014,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kjq; + return B.List_A4K; }, get$wireName() { return "DeletionAdd"; @@ -86468,7 +86023,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_1ju), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86488,7 +86043,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t2._as(t4); t3._domain$_$v = t4; @@ -86497,13 +86052,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_1ju); t4.toString; t1._as(t4); t3._domain$_$v = t4; break; case "all_helices": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_$this()._all_helices = t3; @@ -86518,7 +86073,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_yXb; + return B.List_Gxl; }, get$wireName() { return "InsertionRemove"; @@ -86527,7 +86082,7 @@ 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)]; + return ["domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "all_helices", serializers.serialize$2$specifiedType(object.all_helices, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86547,19 +86102,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; break; case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_offset = t2; break; case "all_helices": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._all_helices = t2; @@ -86574,7 +86129,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_qNA0; + return B.List_Bzp; }, get$wireName() { return "DeletionRemove"; @@ -86583,7 +86138,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, B.FullType_qYH)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86603,7 +86158,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; @@ -86612,7 +86167,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_qYH); t4.toString; t1._as(t4); t3._vendor_fields$_$v = t4; @@ -86627,7 +86182,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AeS; + return B.List_MAi; }, get$wireName() { return "ScalePurificationVendorFieldsAssign"; @@ -86636,7 +86191,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "vendor_fields", serializers.serialize$2$specifiedType(object.vendor_fields, B.FullType_qYH)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86656,7 +86211,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; @@ -86665,7 +86220,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_qYH); t4.toString; t1._as(t4); t3._vendor_fields$_$v = t4; @@ -86680,7 +86235,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gsm; + return B.List_86y0; }, get$wireName() { return "PlateWellVendorFieldsAssign"; @@ -86688,7 +86243,7 @@ }; A._$PlateWellVendorFieldsRemoveSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["strand", serializers.serialize$2$specifiedType(type$.PlateWellVendorFieldsRemove._as(object).strand, B.FullType_w0x)]; + return ["strand", serializers.serialize$2$specifiedType(type$.PlateWellVendorFieldsRemove._as(object).strand, B.FullType_knt)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86716,7 +86271,7 @@ t2 = result._strand; if (t2 == null) t2 = result._strand = new A.StrandBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; @@ -86731,7 +86286,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_nXg; + return B.List_P50; }, get$wireName() { return "PlateWellVendorFieldsRemove"; @@ -86739,7 +86294,7 @@ }; A._$VendorFieldsRemoveSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["strand", serializers.serialize$2$specifiedType(type$.VendorFieldsRemove._as(object).strand, B.FullType_w0x)]; + return ["strand", serializers.serialize$2$specifiedType(type$.VendorFieldsRemove._as(object).strand, B.FullType_knt)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86767,7 +86322,7 @@ t2 = result._strand; if (t2 == null) t2 = result._strand = new A.StrandBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_w0x); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; @@ -86782,7 +86337,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ezA; + return B.List_IIj; }, get$wireName() { return "VendorFieldsRemove"; @@ -86792,11 +86347,11 @@ 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)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_ptl)]; value = object.strand_dna_idx; if (value != null) { result.push("strand_dna_idx"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -86818,19 +86373,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; break; case "modification": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ptl); 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)); + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_$this()._strand_dna_idx = t3; break; } @@ -86843,7 +86398,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_jDT; + return B.List_75E; }, get$wireName() { return "ModificationAdd"; @@ -86853,11 +86408,11 @@ 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)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_ptl)]; value = object.strand_dna_idx; if (value != null) { result.push("strand_dna_idx"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -86879,19 +86434,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; break; case "modification": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ptl); 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)); + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_$this()._strand_dna_idx = t3; break; } @@ -86904,7 +86459,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_zrt; + return B.List_86y; }, get$wireName() { return "ModificationRemove"; @@ -86913,7 +86468,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_ptl), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -86933,19 +86488,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; break; case "modification": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ptl); t3.toString; t1._as(t3); result.get$_$this()._modification = t3; break; case "connector_length": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_$this()._actions$_connector_length = t3; @@ -86960,7 +86515,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_HVo; + return B.List_ato; }, get$wireName() { return "ModificationConnectorLengthSet"; @@ -86970,11 +86525,11 @@ 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)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_ptl)]; value = object.strand_dna_idx; if (value != null) { result.push("strand_dna_idx"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -86996,19 +86551,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; break; case "modification": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_IvI); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_ptl); 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)); + t3 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_$this()._strand_dna_idx = t3; break; } @@ -87021,7 +86576,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_bpf; + return B.List_Qtz; }, get$wireName() { return "ModificationEdit"; @@ -87030,7 +86585,7 @@ 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)]; + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_qHN0), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_8eb)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87057,7 +86612,7 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_SGU0); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_qHN0); t7.toString; t2._as(t7); t8 = t6.$ti; @@ -87076,7 +86631,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb); t7.toString; t1._as(t7); t6._modification$_$v = t7; @@ -87091,7 +86646,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_2Zi0; + return B.List_gSF; }, get$wireName() { return "Modifications5PrimeEdit"; @@ -87100,7 +86655,7 @@ 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)]; + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_qHN), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_8eb0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87127,7 +86682,7 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_SGU); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_qHN); t7.toString; t2._as(t7); t8 = t6.$ti; @@ -87146,7 +86701,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb0); t7.toString; t1._as(t7); t6._modification$_$v = t7; @@ -87161,7 +86716,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ECG; + return B.List_IlG; }, get$wireName() { return "Modifications3PrimeEdit"; @@ -87170,7 +86725,7 @@ 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)]; + return ["modifications", serializers.serialize$2$specifiedType(object.modifications, B.FullType_bqg), "new_modification", serializers.serialize$2$specifiedType(object.new_modification, B.FullType_W7E)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87197,7 +86752,7 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_Gat); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_bqg); t7.toString; t2._as(t7); t8 = t6.$ti; @@ -87216,7 +86771,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_W7E); t7.toString; t1._as(t7); t6._modification$_$v = t7; @@ -87231,7 +86786,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_2BF; + return B.List_46c0; }, get$wireName() { return "ModificationsInternalEdit"; @@ -87240,7 +86795,7 @@ 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)]; + return ["grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_P98), "group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87258,7 +86813,7 @@ value = iterator.get$current(iterator); switch (t2) { case "grid": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_P98); t2.toString; t1._as(t2); $$v = result._$v; @@ -87270,7 +86825,7 @@ result._actions$_grid = t2; break; case "group_name": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); $$v = result._$v; @@ -87295,7 +86850,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_nNZ; + return B.List_Uoo; }, get$wireName() { return "GridChange"; @@ -87303,7 +86858,7 @@ }; 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)]; + return ["group_name", serializers.serialize$2$specifiedType(type$.GroupDisplayedChange._as(object).group_name, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87320,7 +86875,7 @@ value = iterator.get$current(iterator); switch (t1) { case "group_name": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); $$v = result._$v; @@ -87344,7 +86899,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_j6U; + return B.List_vFz0; }, get$wireName() { return "GroupDisplayedChange"; @@ -87353,7 +86908,7 @@ 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)]; + return ["name", serializers.serialize$2$specifiedType(object.name, B.FullType_iHz), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_V5x)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87370,7 +86925,7 @@ value = iterator.get$current(iterator); switch (t2) { case "name": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._actions$_name = t2; @@ -87385,7 +86940,7 @@ t2 = t3; } else t2 = t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_V5x); t3.toString; t1._as(t3); t2._group$_$v = t3; @@ -87400,7 +86955,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kWG; + return B.List_dgA; }, get$wireName() { return "GroupAdd"; @@ -87408,7 +86963,7 @@ }; A._$GroupRemoveSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["name", serializers.serialize$2$specifiedType(type$.GroupRemove._as(object).name, B.FullType_h8g)]; + return ["name", serializers.serialize$2$specifiedType(type$.GroupRemove._as(object).name, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87425,7 +86980,7 @@ value = iterator.get$current(iterator); switch (t1) { case "name": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); $$v = result._$v; @@ -87449,7 +87004,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Mbm; + return B.List_pEs; }, get$wireName() { return "GroupRemove"; @@ -87458,7 +87013,7 @@ 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)]; + return ["old_name", serializers.serialize$2$specifiedType(object.old_name, B.FullType_iHz), "new_name", serializers.serialize$2$specifiedType(object.new_name, B.FullType_iHz), "new_group", serializers.serialize$2$specifiedType(object.new_group, B.FullType_V5x)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87475,13 +87030,13 @@ value = iterator.get$current(iterator); switch (t2) { case "old_name": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._old_name = t2; break; case "new_name": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_$this()._new_name = t2; @@ -87496,7 +87051,7 @@ t2 = t3; } else t2 = t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_V5x); t3.toString; t1._as(t3); t2._group$_$v = t3; @@ -87511,7 +87066,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_pUC; + return B.List_ol5; }, get$wireName() { return "GroupChange"; @@ -87520,7 +87075,7 @@ 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)]; + return ["helix_idxs", serializers.serialize$2$specifiedType(object.helix_idxs, B.FullType_0), "group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87547,7 +87102,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -87563,7 +87118,7 @@ } break; case "group_name": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_$this()._group_name = t5; @@ -87578,7 +87133,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_G31; + return B.List_WvZ; }, get$wireName() { return "MoveHelicesToGroup"; @@ -87586,7 +87141,7 @@ }; A._$DialogShowSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["dialog", serializers.serialize$2$specifiedType(type$.DialogShow._as(object).dialog, B.FullType_Azp)]; + return ["dialog", serializers.serialize$2$specifiedType(type$.DialogShow._as(object).dialog, B.FullType_gIi)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87614,7 +87169,7 @@ t2 = result._actions$_dialog; if (t2 == null) t2 = result._actions$_dialog = new A.DialogBuilder(); - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Azp); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_gIi); t3.toString; t1._as(t3); t2._dialog$_$v = t3; @@ -87629,7 +87184,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_NO4; + return B.List_gRf; }, get$wireName() { return "DialogShow"; @@ -87653,7 +87208,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ro0; + return B.List_UW2; }, get$wireName() { return "DialogHide"; @@ -87661,7 +87216,7 @@ }; 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)]; + return ["context_menu", serializers.serialize$2$specifiedType(type$.ContextMenuShow._as(object).context_menu, B.FullType_NjO)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87689,7 +87244,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_NjO); t3.toString; t1._as(t3); t2._context_menu$_$v = t3; @@ -87704,7 +87259,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_KdY; + return B.List_Q0F; }, get$wireName() { return "ContextMenuShow"; @@ -87728,7 +87283,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_2jN; + return B.List_Q49; }, get$wireName() { return "ContextMenuHide"; @@ -87738,11 +87293,11 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.StrandOrSubstrandColorPickerShow._as(object); - result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; value = object.substrand; if (value != null) { result.push("substrand"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBm)); } return result; }, @@ -87764,13 +87319,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t2._as(t4); t3._strand$_$v = t4; break; case "substrand": - t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_S4t)); + t3 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBm)); result.get$_$this()._substrand = t3; break; } @@ -87783,7 +87338,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ky0; + return B.List_IAM; }, get$wireName() { return "StrandOrSubstrandColorPickerShow"; @@ -87807,7 +87362,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_MCv; + return B.List_rPz; }, get$wireName() { return "StrandOrSubstrandColorPickerHide"; @@ -87816,7 +87371,7 @@ 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)]; + return ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87836,13 +87391,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t3.toString; t1._as(t3); t2._strand$_$v = t3; break; case "is_scaffold": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_$this()._actions$_is_scaffold = t2; @@ -87857,7 +87412,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cdS; + return B.List_4m40; }, get$wireName() { return "ScaffoldSet"; @@ -87867,16 +87422,16 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.StrandOrSubstrandColorSet._as(object); - result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_w0x)]; + result = ["strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; value = object.substrand; if (value != null) { result.push("substrand"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBm)); } value = object.color; if (value != null) { result.push("color"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Zul)); } return result; }, @@ -87898,17 +87453,17 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t5.toString; t3._as(t5); t4._strand$_$v = t5; break; case "substrand": - t4 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_S4t)); + t4 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBm)); result.get$_$this()._substrand = t4; break; case "color": - t4 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + t4 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_Zul)); result.get$_$this()._actions$_color = t4; break; } @@ -87921,7 +87476,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_m1u; + return B.List_04; }, get$wireName() { return "StrandOrSubstrandColorSet"; @@ -87929,7 +87484,7 @@ }; A._$StrandPasteKeepColorSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["keep", serializers.serialize$2$specifiedType(type$.StrandPasteKeepColorSet._as(object).keep, B.FullType_MtR)]; + return ["keep", serializers.serialize$2$specifiedType(type$.StrandPasteKeepColorSet._as(object).keep, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87946,7 +87501,7 @@ value = iterator.get$current(iterator); switch (t1) { case "keep": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -87970,7 +87525,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_NYu; + return B.List_gVf; }, get$wireName() { return "StrandPasteKeepColorSet"; @@ -87978,7 +87533,7 @@ }; 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)]; + return ["selected_idx", serializers.serialize$2$specifiedType(type$.ExampleDesignsLoad._as(object).selected_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -87995,7 +87550,7 @@ value = iterator.get$current(iterator); switch (t1) { case "selected_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -88019,7 +87574,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_WMt; + return B.List_4CA; }, get$wireName() { return "ExampleDesignsLoad"; @@ -88027,7 +87582,7 @@ }; 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)]; + return ["selected_idx", serializers.serialize$2$specifiedType(type$.BasePairTypeSet._as(object).selected_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88044,7 +87599,7 @@ value = iterator.get$current(iterator); switch (t1) { case "selected_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -88068,7 +87623,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_sNW; + return B.List_GVx; }, get$wireName() { return "BasePairTypeSet"; @@ -88077,7 +87632,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_aJC)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88094,7 +87649,7 @@ value = iterator.get$current(iterator); switch (t2) { case "helix_idx": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_$this()._actions$_helix_idx = t2; @@ -88103,7 +87658,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aJC); t3.toString; t1._as(t3); t2._position3d$_$v = t3; @@ -88118,7 +87673,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_9Aw; + return B.List_wQ8; }, get$wireName() { return "HelixPositionSet"; @@ -88127,7 +87682,7 @@ 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)]; + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "grid_position", serializers.serialize$2$specifiedType(object.grid_position, B.FullType_yPV)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88155,7 +87710,7 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t4.toString; t2._as(t4); t3._helix$_$v = t4; @@ -88164,7 +87719,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_yPV); t4.toString; t1._as(t4); t3._grid_position$_$v = t4; @@ -88179,7 +87734,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_MUw; + return B.List_wEo0; }, get$wireName() { return "HelixGridPositionSet"; @@ -88203,7 +87758,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_mio; + return B.List_OON; }, get$wireName() { return "HelicesPositionsSetBasedOnCrossovers"; @@ -88227,7 +87782,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_07S; + return B.List_iS5; }, get$wireName() { return "InlineInsertionsDeletions"; @@ -88236,7 +87791,7 @@ 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)]; + return ["scaffold", serializers.serialize$2$specifiedType(object.scaffold, B.FullType_mpw), "staple", serializers.serialize$2$specifiedType(object.staple, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88254,7 +87809,7 @@ value = iterator.get$current(iterator); switch (t1) { case "scaffold": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88266,7 +87821,7 @@ result._scaffold = t1; break; case "staple": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88293,7 +87848,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_oXN; + return B.List_gg4; }, get$wireName() { return string$.Defaul; @@ -88301,7 +87856,7 @@ }; A._$AutofitSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["autofit", serializers.serialize$2$specifiedType(type$.AutofitSet._as(object).autofit, B.FullType_MtR)]; + return ["autofit", serializers.serialize$2$specifiedType(type$.AutofitSet._as(object).autofit, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88318,7 +87873,7 @@ value = iterator.get$current(iterator); switch (t1) { case "autofit": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88342,7 +87897,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_V5x; + return B.List_zLv; }, get$wireName() { return "AutofitSet"; @@ -88350,7 +87905,7 @@ }; 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)]; + return ["show_helix_circles_main_view", serializers.serialize$2$specifiedType(type$.ShowHelixCirclesMainViewSet._as(object).show_helix_circles_main_view, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88368,7 +87923,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_helix_circles_main_view": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88392,7 +87947,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6iW; + return B.List_gzW; }, get$wireName() { return "ShowHelixCirclesMainViewSet"; @@ -88400,7 +87955,7 @@ }; 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)]; + return ["show_helix_components", serializers.serialize$2$specifiedType(type$.ShowHelixComponentsMainViewSet._as(object).show_helix_components, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88418,7 +87973,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_helix_components": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88442,7 +87997,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ZGD; + return B.List_EHV; }, get$wireName() { return "ShowHelixComponentsMainViewSet"; @@ -88469,7 +88024,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_LJp; + return B.List_QPa; }, get$wireName() { return "ShowEditMenuToggle"; @@ -88477,7 +88032,7 @@ }; 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)]; + return ["show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(type$.ShowGridCoordinatesSideViewSet._as(object).show_grid_coordinates_side_view, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88495,7 +88050,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_grid_coordinates_side_view": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88519,7 +88074,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Jik; + return B.List_69t; }, get$wireName() { return "ShowGridCoordinatesSideViewSet"; @@ -88527,7 +88082,7 @@ }; 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)]; + return ["show_helices_axis_arrows", serializers.serialize$2$specifiedType(type$.ShowAxisArrowsSet._as(object).show_helices_axis_arrows, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88545,7 +88100,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_helices_axis_arrows": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88569,7 +88124,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AuK0; + return B.List_b9U; }, get$wireName() { return "ShowAxisArrowsSet"; @@ -88577,7 +88132,7 @@ }; 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)]; + return ["show_length", serializers.serialize$2$specifiedType(type$.ShowLoopoutExtensionLengthSet._as(object).show_length, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88594,7 +88149,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88618,7 +88173,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_knt0; + return B.List_eg9; }, get$wireName() { return "ShowLoopoutExtensionLengthSet"; @@ -88628,11 +88183,11 @@ 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)]; + result = ["dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, B.FullType_5AK), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, B.FullType_5AK)]; value = object.uri; if (value != null) { result.push("uri"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -88651,17 +88206,17 @@ value = iterator.get$current(iterator); switch (t1) { case "uri": - t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_$this()._uri = t1; break; case "dna_sequence_png_horizontal_offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_$this()._actions$_dna_sequence_png_vertical_offset = t1; @@ -88676,7 +88231,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_qbL; + return B.List_P3l; }, get$wireName() { return "LoadDnaSequenceImageUri"; @@ -88684,7 +88239,7 @@ }; 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)]; + return ["is_zoom_above_threshold", serializers.serialize$2$specifiedType(type$.SetIsZoomAboveThreshold._as(object).is_zoom_above_threshold, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88701,7 +88256,7 @@ value = iterator.get$current(iterator); switch (t1) { case "is_zoom_above_threshold": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88721,7 +88276,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IO4; + return B.List_5vP; }, get$wireName() { return "SetIsZoomAboveThreshold"; @@ -88733,7 +88288,7 @@ 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)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_UIa)); } return result; }, @@ -88755,7 +88310,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_UIa); t3.toString; t1._as(t3); t2._$v = t3; @@ -88770,7 +88325,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_tqs; + return B.List_LtQ; }, get$wireName() { return "SetExportSvgActionDelayedForPngCache"; @@ -88778,7 +88333,7 @@ }; 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)]; + return ["show_base_pair_lines", serializers.serialize$2$specifiedType(type$.ShowBasePairLinesSet._as(object).show_base_pair_lines, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88797,7 +88352,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_base_pair_lines": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88825,7 +88380,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_7YB; + return B.List_jjl; }, get$wireName() { return "ShowBasePairLinesSet"; @@ -88833,7 +88388,7 @@ }; A._$ExportBasePairLinesIfOtherStrandNotSelectedSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return [string$.export, serializers.serialize$2$specifiedType(type$.ExportBasePairLinesIfOtherStrandNotSelectedSet._as(object).export_base_pair_lines_if_other_strand_not_selected, B.FullType_MtR)]; + return [string$.export, serializers.serialize$2$specifiedType(type$.ExportBasePairLinesIfOtherStrandNotSelectedSet._as(object).export_base_pair_lines_if_other_strand_not_selected, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88851,7 +88406,7 @@ value = iterator.get$current(iterator); switch (t1) { case string$.export: - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88875,7 +88430,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6vf; + return B.List_rBc; }, get$wireName() { return string$.Export; @@ -88883,7 +88438,7 @@ }; 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)]; + return ["show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(type$.ShowBasePairLinesWithMismatchesSet._as(object).show_base_pair_lines_with_mismatches, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88901,7 +88456,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show_base_pair_lines_with_mismatches": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88925,7 +88480,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_4QF0; + return B.List_Dr3; }, get$wireName() { return "ShowBasePairLinesWithMismatchesSet"; @@ -88933,7 +88488,7 @@ }; A._$ShowSliceBarSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["show", serializers.serialize$2$specifiedType(type$.ShowSliceBarSet._as(object).show, B.FullType_MtR)]; + return ["show", serializers.serialize$2$specifiedType(type$.ShowSliceBarSet._as(object).show, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88950,7 +88505,7 @@ value = iterator.get$current(iterator); switch (t1) { case "show": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -88970,7 +88525,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_knt1; + return B.List_s2W; }, get$wireName() { return "ShowSliceBarSet"; @@ -88978,7 +88533,7 @@ }; A._$SliceBarOffsetSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["offset", serializers.serialize$2$specifiedType(type$.SliceBarOffsetSet._as(object).offset, B.FullType_kjq)]; + return ["offset", serializers.serialize$2$specifiedType(type$.SliceBarOffsetSet._as(object).offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -88995,7 +88550,7 @@ value = iterator.get$current(iterator); switch (t1) { case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._$v; @@ -89015,7 +88570,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_UgE; + return B.List_aWd0; }, get$wireName() { return "SliceBarOffsetSet"; @@ -89023,7 +88578,7 @@ }; 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)]; + return ["disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(type$.DisablePngCachingDnaSequencesSet._as(object).disable_png_caching_dna_sequences, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89040,7 +88595,7 @@ value = iterator.get$current(iterator); switch (t1) { case "disable_png_caching_dna_sequences": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89060,7 +88615,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_AiQ; + return B.List_yLR; }, get$wireName() { return "DisablePngCachingDnaSequencesSet"; @@ -89068,7 +88623,7 @@ }; 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)]; + return ["retain_strand_color_on_selection", serializers.serialize$2$specifiedType(type$.RetainStrandColorOnSelectionSet._as(object).retain_strand_color_on_selection, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89085,7 +88640,7 @@ value = iterator.get$current(iterator); switch (t1) { case "retain_strand_color_on_selection": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89105,7 +88660,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_3Qm; + return B.List_79P; }, get$wireName() { return "RetainStrandColorOnSelectionSet"; @@ -89113,7 +88668,7 @@ }; 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)]; + return ["display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(type$.DisplayReverseDNARightSideUpSet._as(object).display_reverse_DNA_right_side_up, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89130,7 +88685,7 @@ value = iterator.get$current(iterator); switch (t1) { case "display_reverse_DNA_right_side_up": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89150,7 +88705,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_U050; + return B.List_U4w; }, get$wireName() { return "DisplayReverseDNARightSideUpSet"; @@ -89174,7 +88729,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_izV0; + return B.List_ODz; }, get$wireName() { return "SliceBarMoveStart"; @@ -89198,7 +88753,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gaI; + return B.List_IJC; }, get$wireName() { return "SliceBarMoveStop"; @@ -89222,7 +88777,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_i9o; + return B.List_ZRC; }, get$wireName() { return "Autostaple"; @@ -89231,7 +88786,7 @@ 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)]; + return ["target_length", serializers.serialize$2$specifiedType(object.target_length, B.FullType_xEI), "min_length", serializers.serialize$2$specifiedType(object.min_length, B.FullType_xEI), "max_length", serializers.serialize$2$specifiedType(object.max_length, B.FullType_xEI), "min_distance_to_xover", serializers.serialize$2$specifiedType(object.min_distance_to_xover, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89248,25 +88803,25 @@ value = iterator.get$current(iterator); switch (t1) { case "target_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._target_length = t1; break; case "min_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._min_length = t1; break; case "max_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._max_length = t1; break; case "min_distance_to_xover": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_$this()._min_distance_to_xover = t1; @@ -89281,7 +88836,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_5Q6; + return B.List_oVV; }, get$wireName() { return "Autobreak"; @@ -89289,7 +88844,7 @@ }; A._$ZoomSpeedSetSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["speed", serializers.serialize$2$specifiedType(type$.ZoomSpeedSet._as(object).speed, B.FullType_MME)]; + return ["speed", serializers.serialize$2$specifiedType(type$.ZoomSpeedSet._as(object).speed, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89306,7 +88861,7 @@ value = iterator.get$current(iterator); switch (t1) { case "speed": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); $$v = result._$v; @@ -89330,7 +88885,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_joV; + return B.List_Yyq; }, get$wireName() { return "ZoomSpeedSet"; @@ -89338,7 +88893,7 @@ }; 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)]; + return ["selected_strands_only", serializers.serialize$2$specifiedType(type$.OxdnaExport._as(object).selected_strands_only, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89355,7 +88910,7 @@ value = iterator.get$current(iterator); switch (t1) { case "selected_strands_only": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89375,7 +88930,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_kaS; + return B.List_kMT; }, get$wireName() { return "OxdnaExport"; @@ -89383,7 +88938,7 @@ }; 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)]; + return ["selected_strands_only", serializers.serialize$2$specifiedType(type$.OxviewExport._as(object).selected_strands_only, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89400,7 +88955,7 @@ value = iterator.get$current(iterator); switch (t1) { case "selected_strands_only": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89420,7 +88975,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_N9s; + return B.List_eAG; }, get$wireName() { return "OxviewExport"; @@ -89428,7 +88983,7 @@ }; 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)]; + return ["only_selected", serializers.serialize$2$specifiedType(type$.OxExportOnlySelectedStrandsSet._as(object).only_selected, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -89445,7 +89000,7 @@ value = iterator.get$current(iterator); switch (t1) { case "only_selected": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); $$v = result._$v; @@ -89469,7 +89024,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ggc; + return B.List_T7q; }, get$wireName() { return "OxExportOnlySelectedStrandsSet"; @@ -89481,7 +89036,7 @@ return false; if (other === this) return true; - return other instanceof A.SkipUndo && this.undoable_action.$eq(0, other.undoable_action); + return other instanceof A._$SkipUndo && this.undoable_action.$eq(0, other.undoable_action); }, get$hashCode(_) { var t1 = this.undoable_action; @@ -89511,7 +89066,7 @@ return false; if (other === this) return true; - return other instanceof A.Undo && this.num_undos === other.num_undos; + return other instanceof A._$Undo && this.num_undos === other.num_undos; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.num_undos))); @@ -89553,7 +89108,7 @@ return false; if (other === this) return true; - return other instanceof A.Redo && this.num_redos === other.num_redos; + return other instanceof A._$Redo && this.num_redos === other.num_redos; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.num_redos))); @@ -89595,7 +89150,7 @@ return false; if (other === this) return true; - return other instanceof A.UndoRedoClear; + return other instanceof A._$UndoRedoClear; }, get$hashCode(_) { return 505725110; @@ -89610,11 +89165,10 @@ return false; if (other === this) return true; - return other instanceof A.BatchAction && this.actions.$eq(0, other.actions) && this.short_description_value === other.short_description_value; + return other instanceof A._$BatchAction && this.actions.$eq(0, other.actions) && this.short_description_value === other.short_description_value; }, get$hashCode(_) { - var t1 = this.actions; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSString_methods.get$hashCode(this.short_description_value))); + return A.$jf(A.$jc(A.$jc(0, this.actions.get$hashCode(0)), B.JSString_methods.get$hashCode(this.short_description_value))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("BatchAction"), @@ -89655,7 +89209,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$actions(_this).build$0(); + t1 = _this.get$actions(0).build$0(); t2 = type$.String; t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._short_description_value, _s11_, _s23_, t2); _$result0 = new A._$BatchAction(t1, t3); @@ -89667,7 +89221,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "actions"; - _this.get$actions(_this).build$0(); + _this.get$actions(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -89691,7 +89245,7 @@ return false; if (other === this) return true; - return other instanceof A.ThrottledActionFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + return other instanceof A._$ThrottledActionFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; }, get$hashCode(_) { var t1 = this.action; @@ -89746,7 +89300,7 @@ return false; if (other === this) return true; - return other instanceof A.ThrottledActionNonFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; + return other instanceof A._$ThrottledActionNonFast && this.action.$eq(0, other.action) && this.interval_sec === other.interval_sec; }, get$hashCode(_) { var t1 = this.action; @@ -89801,11 +89355,10 @@ return false; if (other === this) return true; - return other instanceof A.LocalStorageDesignChoiceSet && this.choice.$eq(0, other.choice); + return other instanceof A._$LocalStorageDesignChoiceSet && this.choice.$eq(0, other.choice); }, get$hashCode(_) { - var t1 = this.choice; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.choice.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("LocalStorageDesignChoiceSet"), @@ -89859,7 +89412,7 @@ return false; if (other === this) return true; - return other instanceof A.ResetLocalStorage; + return other instanceof A._$ResetLocalStorage; }, get$hashCode(_) { return 939416752; @@ -89874,7 +89427,7 @@ return false; if (other === this) return true; - return other instanceof A.ClearHelixSelectionWhenLoadingNewDesignSet && this.clear === other.clear; + return other instanceof A._$ClearHelixSelectionWhenLoadingNewDesignSet && this.clear === other.clear; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.clear))); @@ -89903,7 +89456,7 @@ return false; if (other === this) return true; - return other instanceof A.EditModeToggle && this.mode === other.mode; + return other instanceof A._$EditModeToggle && this.mode === other.mode; }, get$hashCode(_) { return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.mode))); @@ -89945,11 +89498,10 @@ return false; if (other === this) return true; - return other instanceof A.EditModesSet && this.edit_modes.$eq(0, other.edit_modes); + return other instanceof A._$EditModesSet && this.edit_modes.$eq(0, other.edit_modes); }, get$hashCode(_) { - var t1 = this.edit_modes; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.edit_modes.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("EditModesSet"), @@ -90017,7 +89569,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectModeToggle && this.select_mode_choice === other.select_mode_choice; + return other instanceof A._$SelectModeToggle && this.select_mode_choice === other.select_mode_choice; }, get$hashCode(_) { return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.select_mode_choice))); @@ -90060,11 +89612,10 @@ return false; if (other === this) return true; - return other instanceof A.SelectModesAdd && this.modes.$eq(0, other.modes); + return other instanceof A._$SelectModesAdd && this.modes.$eq(0, other.modes); }, get$hashCode(_) { - var t1 = this.modes; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.modes.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesAdd"), @@ -90122,11 +89673,10 @@ return false; if (other === this) return true; - return other instanceof A.SelectModesSet && this.select_mode_choices.$eq(0, other.select_mode_choices); + return other instanceof A._$SelectModesSet && this.select_mode_choices.$eq(0, other.select_mode_choices); }, get$hashCode(_) { - var t1 = this.select_mode_choices; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.select_mode_choices.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectModesSet"), @@ -90194,15 +89744,14 @@ return false; if (other === this) return true; - return other instanceof A.StrandNameSet && this.name == other.name && this.strand.$eq(0, other.strand); + return other instanceof A._$StrandNameSet && this.name == other.name && this.strand.$eq(0, other.strand); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.strand; - _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.name)), t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.name)), _this.strand.get$hashCode(0))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -90271,15 +89820,14 @@ return false; if (other === this) return true; - return other instanceof A.StrandLabelSet && this.label == other.label && this.strand.$eq(0, other.strand); + return other instanceof A._$StrandLabelSet && this.label == other.label && this.strand.$eq(0, other.strand); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.strand; - _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.label)), t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(_this.label)), _this.strand.get$hashCode(0))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -90348,7 +89896,7 @@ return false; if (other === this) return true; - return other instanceof A.SubstrandNameSet && this.name == other.name && this.substrand.$eq(0, other.substrand); + return other instanceof A._$SubstrandNameSet && this.name == other.name && this.substrand.$eq(0, other.substrand); }, get$hashCode(_) { var _$hash, _this = this, @@ -90390,7 +89938,7 @@ return false; if (other === this) return true; - return other instanceof A.SubstrandLabelSet && this.label == other.label && this.substrand.$eq(0, other.substrand); + return other instanceof A._$SubstrandLabelSet && this.label == other.label && this.substrand.$eq(0, other.substrand); }, get$hashCode(_) { var _$hash, _this = this, @@ -90432,11 +89980,10 @@ return false; if (other === this) return true; - return other instanceof A.SetAppUIStateStorable && this.storables.$eq(0, other.storables); + return other instanceof A._$SetAppUIStateStorable && this.storables.$eq(0, other.storables); }, get$hashCode(_) { - var t1 = this.storables; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.storables.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SetAppUIStateStorable"), @@ -90510,7 +90057,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowDNASet && this.show === other.show; + return other instanceof A._$ShowDNASet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90552,7 +90099,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowDomainNamesSet && this.show === other.show; + return other instanceof A._$ShowDomainNamesSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90594,7 +90141,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowStrandNamesSet && this.show === other.show; + return other instanceof A._$ShowStrandNamesSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90636,7 +90183,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowStrandLabelsSet && this.show === other.show; + return other instanceof A._$ShowStrandLabelsSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90678,7 +90225,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowDomainLabelsSet && this.show === other.show; + return other instanceof A._$ShowDomainLabelsSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90720,7 +90267,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowModificationsSet && this.show === other.show; + return other instanceof A._$ShowModificationsSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -90762,7 +90309,7 @@ return false; if (other === this) return true; - return other instanceof A.DomainNameFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$DomainNameFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90791,7 +90338,7 @@ return false; if (other === this) return true; - return other instanceof A.DomainLabelFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$DomainLabelFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90820,7 +90367,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandNameFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$StrandNameFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90849,7 +90396,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandLabelFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$StrandLabelFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90878,7 +90425,7 @@ return false; if (other === this) return true; - return other instanceof A.ModificationFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$ModificationFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90921,7 +90468,7 @@ return false; if (other === this) return true; - return other instanceof A.MajorTickOffsetFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$MajorTickOffsetFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -90964,7 +90511,7 @@ return false; if (other === this) return true; - return other instanceof A.MajorTickWidthFontSizeSet && this.font_size === other.font_size; + return other instanceof A._$MajorTickWidthFontSizeSet && this.font_size === other.font_size; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSNumber_methods.get$hashCode(this.font_size))); @@ -91007,7 +90554,7 @@ return false; if (other === this) return true; - return other instanceof A.SetModificationDisplayConnector && this.show === other.show; + return other instanceof A._$SetModificationDisplayConnector && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91049,7 +90596,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowMismatchesSet && this.show === other.show; + return other instanceof A._$ShowMismatchesSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91091,7 +90638,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowDomainNameMismatchesSet && this.show_domain_name_mismatches === other.show_domain_name_mismatches; + return other instanceof A._$ShowDomainNameMismatchesSet && this.show_domain_name_mismatches === other.show_domain_name_mismatches; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_domain_name_mismatches))); @@ -91134,7 +90681,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowUnpairedInsertionDeletionsSet && this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions; + return other instanceof A._$ShowUnpairedInsertionDeletionsSet && this.show_unpaired_insertion_deletions === other.show_unpaired_insertion_deletions; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_unpaired_insertion_deletions))); @@ -91177,7 +90724,7 @@ return false; if (other === this) return true; - return other instanceof A.OxviewShowSet && this.show === other.show; + return other instanceof A._$OxviewShowSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91219,7 +90766,7 @@ return false; if (other === this) return true; - return other instanceof A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix && this.show === other.show; + return other instanceof A._$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91261,7 +90808,7 @@ return false; if (other === this) return true; - return other instanceof A.DisplayMajorTicksOffsetsSet && this.show === other.show; + return other instanceof A._$DisplayMajorTicksOffsetsSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91303,7 +90850,7 @@ return false; if (other === this) return true; - return other instanceof A.SetDisplayMajorTickWidthsAllHelices && this.show === other.show; + return other instanceof A._$SetDisplayMajorTickWidthsAllHelices && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91345,7 +90892,7 @@ return false; if (other === this) return true; - return other instanceof A.SetDisplayMajorTickWidths && this.show === other.show; + return other instanceof A._$SetDisplayMajorTickWidths && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91387,7 +90934,7 @@ return false; if (other === this) return true; - return other instanceof A.SetOnlyDisplaySelectedHelices && this.only_display_selected_helices === other.only_display_selected_helices; + return other instanceof A._$SetOnlyDisplaySelectedHelices && this.only_display_selected_helices === other.only_display_selected_helices; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.only_display_selected_helices))); @@ -91430,7 +90977,7 @@ return false; if (other === this) return true; - return other instanceof A.InvertYSet && this.invert_y === other.invert_y; + return other instanceof A._$InvertYSet && this.invert_y === other.invert_y; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.invert_y))); @@ -91459,7 +91006,7 @@ return false; if (other === this) return true; - return other instanceof A.DynamicHelixUpdateSet && this.dynamically_update_helices === other.dynamically_update_helices; + return other instanceof A._$DynamicHelixUpdateSet && this.dynamically_update_helices === other.dynamically_update_helices; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.dynamically_update_helices))); @@ -91488,7 +91035,7 @@ return false; if (other === this) return true; - return other instanceof A.WarnOnExitIfUnsavedSet && this.warn === other.warn; + return other instanceof A._$WarnOnExitIfUnsavedSet && this.warn === other.warn; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.warn))); @@ -91517,7 +91064,7 @@ return false; if (other === this) return true; - return other instanceof A.LoadingDialogShow; + return other instanceof A._$LoadingDialogShow; }, get$hashCode(_) { return 952269547; @@ -91532,7 +91079,7 @@ return false; if (other === this) return true; - return other instanceof A.LoadingDialogHide; + return other instanceof A._$LoadingDialogHide; }, get$hashCode(_) { return 802315898; @@ -91547,7 +91094,7 @@ return false; if (other === this) return true; - return other instanceof A.CopySelectedStandsToClipboardImage; + return other instanceof A._$CopySelectedStandsToClipboardImage; }, get$hashCode(_) { return 747815956; @@ -91571,7 +91118,7 @@ return false; if (other === this) return true; - return other instanceof A.SaveDNAFile; + return other instanceof A._$SaveDNAFile; }, get$hashCode(_) { return 802180151; @@ -91596,7 +91143,7 @@ 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; + 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; @@ -91660,7 +91207,7 @@ return false; if (other === _this) return true; - 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; + 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(_) { var _this = this; @@ -91723,11 +91270,10 @@ return false; if (other === this) return true; - return other instanceof A.NewDesignSet && this.design.$eq(0, other.design) && this.short_description_value === other.short_description_value; + return other instanceof A._$NewDesignSet && this.design.$eq(0, other.design) && this.short_description_value === other.short_description_value; }, get$hashCode(_) { - var t1 = this.design; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSString_methods.get$hashCode(this.short_description_value))); + return A.$jf(A.$jc(A.$jc(0, this.design.get$hashCode(0)), B.JSString_methods.get$hashCode(this.short_description_value))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("NewDesignSet"), @@ -91806,7 +91352,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportCadnanoFile && this.whitespace === other.whitespace; + return other instanceof A._$ExportCadnanoFile && this.whitespace === other.whitespace; }, get$hashCode(_) { var _$hash, _this = this, @@ -91845,7 +91391,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportCodenanoFile; + return other instanceof A._$ExportCodenanoFile; }, get$hashCode(_) { return 632553768; @@ -91860,7 +91406,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowMouseoverDataSet && this.show === other.show; + return other instanceof A._$ShowMouseoverDataSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -91902,7 +91448,7 @@ return false; if (other === this) return true; - return other instanceof A.MouseoverDataClear; + return other instanceof A._$MouseoverDataClear; }, get$hashCode(_) { return 193748472; @@ -91926,11 +91472,10 @@ return false; if (other === this) return true; - return other instanceof A.MouseoverDataUpdate && this.mouseover_params.$eq(0, other.mouseover_params); + return other instanceof A._$MouseoverDataUpdate && this.mouseover_params.$eq(0, other.mouseover_params); }, get$hashCode(_) { - var t1 = this.mouseover_params; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.mouseover_params.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseoverDataUpdate"), @@ -91988,7 +91533,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixRollSet && this.helix_idx === other.helix_idx && this.roll === other.roll; + return other instanceof A._$HelixRollSet && this.helix_idx === other.helix_idx && this.roll === other.roll; }, 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))); @@ -92023,7 +91568,7 @@ return false; if (other === _this) return true; - 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; + 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(_) { var _this = this; @@ -92082,7 +91627,7 @@ return false; if (other === this) return true; - return other instanceof A.RelaxHelixRolls && this.only_selected === other.only_selected; + return other instanceof A._$RelaxHelixRolls && this.only_selected === other.only_selected; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.only_selected))); @@ -92111,7 +91656,7 @@ return false; if (other === this) return true; - return other instanceof A.ErrorMessageSet && this.error_message == other.error_message; + return other instanceof A._$ErrorMessageSet && this.error_message == other.error_message; }, get$hashCode(_) { return A.$jf(A.$jc(0, J.get$hashCode$(this.error_message))); @@ -92148,7 +91693,7 @@ 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; + return other instanceof A._$SelectionBoxCreate && _this.point.$eq(0, other.point) && _this.toggle === other.toggle && _this.is_main === other.is_main; }, get$hashCode(_) { var t1 = this.point; @@ -92203,7 +91748,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionBoxSizeChange && this.point.$eq(0, other.point) && this.is_main === other.is_main; + return other instanceof A._$SelectionBoxSizeChange && this.point.$eq(0, other.point) && this.is_main === other.is_main; }, get$hashCode(_) { var t1 = this.point; @@ -92254,7 +91799,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionBoxRemove && this.is_main === other.is_main; + return other instanceof A._$SelectionBoxRemove && this.is_main === other.is_main; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.is_main))); @@ -92296,7 +91841,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionRopeCreate && this.toggle === other.toggle; + return other instanceof A._$SelectionRopeCreate && this.toggle === other.toggle; }, get$hashCode(_) { var _$hash, _this = this, @@ -92335,7 +91880,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionRopeMouseMove && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + return other instanceof A._$SelectionRopeMouseMove && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; }, get$hashCode(_) { var _$hash, _this = this, @@ -92380,7 +91925,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionRopeAddPoint && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; + return other instanceof A._$SelectionRopeAddPoint && this.point.$eq(0, other.point) && this.is_main_view === other.is_main_view; }, get$hashCode(_) { var _$hash, _this = this, @@ -92425,7 +91970,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionRopeRemove; + return other instanceof A._$SelectionRopeRemove; }, get$hashCode(_) { return 271648066; @@ -92440,11 +91985,10 @@ return false; if (other === this) return true; - return other instanceof A.MouseGridPositionSideUpdate && this.grid_position.$eq(0, other.grid_position); + return other instanceof A._$MouseGridPositionSideUpdate && this.grid_position.$eq(0, other.grid_position); }, get$hashCode(_) { - var t1 = this.grid_position; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.grid_position.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("MouseGridPositionSideUpdate"), @@ -92506,7 +92050,7 @@ return false; if (other === this) return true; - return other instanceof A.MouseGridPositionSideClear; + return other instanceof A._$MouseGridPositionSideClear; }, get$hashCode(_) { return 436959071; @@ -92530,7 +92074,7 @@ return false; if (other === this) return true; - return other instanceof A.MousePositionSideUpdate && this.svg_pos.$eq(0, other.svg_pos); + return other instanceof A._$MousePositionSideUpdate && this.svg_pos.$eq(0, other.svg_pos); }, get$hashCode(_) { var t1 = this.svg_pos; @@ -92563,7 +92107,7 @@ return false; if (other === this) return true; - return other instanceof A.MousePositionSideClear; + return other instanceof A._$MousePositionSideClear; }, get$hashCode(_) { return 1008932832; @@ -92587,11 +92131,10 @@ return false; if (other === this) return true; - return other instanceof A.GeometrySet && this.geometry.$eq(0, other.geometry); + return other instanceof A._$GeometrySet && this.geometry.$eq(0, other.geometry); }, get$hashCode(_) { - var t1 = this.geometry; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.geometry.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("GeometrySet"), @@ -92619,12 +92162,12 @@ 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; + _$result = _$result0 == null ? A._$GeometrySet$_(_this.get$geometry(0)._geometry$_build$0()) : _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "geometry"; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$("GeometrySet", _$failedField.readLocal$0(), J.toString$0$(e)); @@ -92645,11 +92188,10 @@ return false; if (other === this) return true; - return other instanceof A.GeometryHelixGroupSet && this.group_name === other.group_name && this.geometry.$eq(0, other.geometry); + return other instanceof A._$GeometryHelixGroupSet && this.group_name === other.group_name && this.geometry.$eq(0, other.geometry); }, get$hashCode(_) { - var t1 = this.geometry; - return A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.group_name)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.group_name)), this.geometry.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("GeometryHelixGroupSet"), @@ -92687,14 +92229,14 @@ _$result0 = _this._$v; if (_$result0 == null) { t1 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._group_name, _s21_, "group_name", type$.String); - _$result0 = A._$GeometryHelixGroupSet$_(_this.get$geometry(_this)._geometry$_build$0(), t1); + _$result0 = A._$GeometryHelixGroupSet$_(_this.get$geometry(0)._geometry$_build$0(), t1); } _$result = _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "geometry"; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s21_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -92715,7 +92257,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionBoxIntersectionRuleSet && this.intersect === other.intersect; + return other instanceof A._$SelectionBoxIntersectionRuleSet && this.intersect === other.intersect; }, get$hashCode(_) { var _$hash, _this = this, @@ -92755,7 +92297,7 @@ return false; if (other === _this) return true; - return other instanceof A.Select && _this.selectable.$eq(0, other.selectable) && _this.toggle === other.toggle && _this.only === other.only; + return other instanceof A._$Select && _this.selectable.$eq(0, other.selectable) && _this.toggle === other.toggle && _this.only === other.only; }, get$hashCode(_) { var t1 = this.selectable; @@ -92807,7 +92349,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionsClear; + return other instanceof A._$SelectionsClear; }, get$hashCode(_) { return 647379793; @@ -92831,7 +92373,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectionsAdjustMainView && this.toggle === other.toggle && this.box === other.box; + return other instanceof A._$SelectionsAdjustMainView && this.toggle === other.toggle && this.box === other.box; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.toggle)), B.JSBool_methods.get$hashCode(this.box))); @@ -92862,11 +92404,10 @@ return false; if (other === this) return true; - return other instanceof A.SelectOrToggleItems && this.items.$eq(0, other.items) && this.toggle === other.toggle; + return other instanceof A._$SelectOrToggleItems && this.items.$eq(0, other.items) && this.toggle === other.toggle; }, get$hashCode(_) { - var t1 = this.items; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.toggle))); + return A.$jf(A.$jc(A.$jc(0, this.items.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.toggle))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectOrToggleItems"), @@ -92905,12 +92446,12 @@ _$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; + _$result = _$result0 == null ? A._$SelectOrToggleItems$_(_this.get$items(0).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(); + _this.get$items(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -92934,11 +92475,10 @@ return false; if (other === this) return true; - return other instanceof A.SelectAll && this.selectables.$eq(0, other.selectables) && this.only === other.only; + return other instanceof A._$SelectAll && this.selectables.$eq(0, other.selectables) && this.only === other.only; }, get$hashCode(_) { - var t1 = this.selectables; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.only))); + return A.$jf(A.$jc(A.$jc(0, this.selectables.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.only))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAll"), @@ -93010,7 +92550,7 @@ return false; if (other === this) return true; - return other instanceof A.SelectAllSelectable && this.current_helix_group_only === other.current_helix_group_only; + 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))); @@ -93054,12 +92594,10 @@ return false; if (other === _this) return true; - return other instanceof A.SelectAllStrandsWithSameAsSelected && _this.template_strands.$eq(0, other.template_strands) && _this.traits.$eq(0, other.traits) && _this.exclude_scaffolds === other.exclude_scaffolds; + return other instanceof A._$SelectAllStrandsWithSameAsSelected && _this.template_strands.$eq(0, other.template_strands) && _this.traits.$eq(0, other.traits) && _this.exclude_scaffolds === other.exclude_scaffolds; }, get$hashCode(_) { - var t1 = this.template_strands, - t2 = this.traits; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(this.exclude_scaffolds))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.template_strands.get$hashCode(0)), this.traits.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.exclude_scaffolds))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("SelectAllStrandsWithSameAsSelected"), @@ -93151,7 +92689,7 @@ return false; if (other === this) return true; - return other instanceof A.DeleteAllSelected; + return other instanceof A._$DeleteAllSelected; }, get$hashCode(_) { return 637787722; @@ -93175,7 +92713,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixAdd && J.$eq$(this.grid_position, other.grid_position) && J.$eq$(this.position, other.position); + return other instanceof A._$HelixAdd && J.$eq$(this.grid_position, other.grid_position) && J.$eq$(this.position, other.position); }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.grid_position)), J.get$hashCode$(this.position))); @@ -93259,7 +92797,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixRemove && this.helix_idx === other.helix_idx; + return other instanceof A._$HelixRemove && this.helix_idx === other.helix_idx; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); @@ -93302,7 +92840,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixRemoveAllSelected; + return other instanceof A._$HelixRemoveAllSelected; }, get$hashCode(_) { return 62805209; @@ -93326,7 +92864,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixSelect && this.helix_idx === other.helix_idx && this.toggle === other.toggle; + return other instanceof A._$HelixSelect && this.helix_idx === other.helix_idx && this.toggle === other.toggle; }, 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))); @@ -93374,7 +92912,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixSelectionsClear; + return other instanceof A._$HelixSelectionsClear; }, get$hashCode(_) { return 705934614; @@ -93398,11 +92936,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixSelectionsAdjust && this.toggle === other.toggle && this.selection_box.$eq(0, other.selection_box); + return other instanceof A._$HelixSelectionsAdjust && this.toggle === other.toggle && this.selection_box.$eq(0, other.selection_box); }, 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))); + return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.toggle)), this.selection_box.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixSelectionsAdjust"), @@ -93473,7 +93010,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickDistanceChange && this.helix_idx === other.helix_idx && this.major_tick_distance === other.major_tick_distance; + return other instanceof A._$HelixMajorTickDistanceChange && this.helix_idx === other.helix_idx && this.major_tick_distance === other.major_tick_distance; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), B.JSInt_methods.get$hashCode(this.major_tick_distance))); @@ -93507,7 +93044,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickDistanceChangeAll && this.major_tick_distance === other.major_tick_distance; + return other instanceof A._$HelixMajorTickDistanceChangeAll && this.major_tick_distance === other.major_tick_distance; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.major_tick_distance))); @@ -93536,7 +93073,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickStartChange && this.helix_idx === other.helix_idx && this.major_tick_start === other.major_tick_start; + return other instanceof A._$HelixMajorTickStartChange && this.helix_idx === other.helix_idx && this.major_tick_start === other.major_tick_start; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), B.JSInt_methods.get$hashCode(this.major_tick_start))); @@ -93570,7 +93107,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickStartChangeAll && this.major_tick_start === other.major_tick_start; + return other instanceof A._$HelixMajorTickStartChangeAll && this.major_tick_start === other.major_tick_start; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.major_tick_start))); @@ -93599,11 +93136,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTicksChange && this.helix_idx === other.helix_idx && this.major_ticks.$eq(0, other.major_ticks); + return other instanceof A._$HelixMajorTicksChange && this.helix_idx === other.helix_idx && this.major_ticks.$eq(0, other.major_ticks); }, get$hashCode(_) { - var t1 = this.major_ticks; - return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), this.major_ticks.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChange"), @@ -93674,11 +93210,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTicksChangeAll && this.major_ticks.$eq(0, other.major_ticks); + return other instanceof A._$HelixMajorTicksChangeAll && this.major_ticks.$eq(0, other.major_ticks); }, get$hashCode(_) { - var t1 = this.major_ticks; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.major_ticks.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTicksChangeAll"), @@ -93736,11 +93271,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickPeriodicDistancesChange && this.helix_idx === other.helix_idx && this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances); + return other instanceof A._$HelixMajorTickPeriodicDistancesChange && this.helix_idx === other.helix_idx && this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances); }, get$hashCode(_) { - var t1 = this.major_tick_periodic_distances; - return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), this.major_tick_periodic_distances.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChange"), @@ -93811,11 +93345,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixMajorTickPeriodicDistancesChangeAll && this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances); + return other instanceof A._$HelixMajorTickPeriodicDistancesChangeAll && this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances); }, get$hashCode(_) { - var t1 = this.major_tick_periodic_distances; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.major_tick_periodic_distances.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixMajorTickPeriodicDistancesChangeAll"), @@ -93873,11 +93406,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixIdxsChange && this.idx_replacements.$eq(0, other.idx_replacements); + return other instanceof A._$HelixIdxsChange && this.idx_replacements.$eq(0, other.idx_replacements); }, get$hashCode(_) { - var t1 = this.idx_replacements; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.idx_replacements.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixIdxsChange"), @@ -93894,7 +93426,7 @@ t1 = $$v.idx_replacements; 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.set$_idx_replacements(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._$v = null; } t1 = _this._idx_replacements; @@ -93947,7 +93479,7 @@ return false; if (other === _this) return true; - return other instanceof A.HelixOffsetChange && _this.helix_idx === other.helix_idx && _this.min_offset == other.min_offset && _this.max_offset == other.max_offset; + 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(_) { return A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); @@ -93983,7 +93515,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMinOffsetSetByDomains && this.helix_idx === other.helix_idx; + return other instanceof A._$HelixMinOffsetSetByDomains && this.helix_idx === other.helix_idx; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); @@ -94015,7 +93547,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMaxOffsetSetByDomains && this.helix_idx === other.helix_idx; + return other instanceof A._$HelixMaxOffsetSetByDomains && this.helix_idx === other.helix_idx; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx))); @@ -94047,7 +93579,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMinOffsetSetByDomainsAll; + return other instanceof A._$HelixMinOffsetSetByDomainsAll; }, get$hashCode(_) { return 161125460; @@ -94071,7 +93603,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMaxOffsetSetByDomainsAll; + return other instanceof A._$HelixMaxOffsetSetByDomainsAll; }, get$hashCode(_) { return 920642029; @@ -94095,7 +93627,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixMaxOffsetSetByDomainsAllSameMax; + return other instanceof A._$HelixMaxOffsetSetByDomainsAllSameMax; }, get$hashCode(_) { return 713464849; @@ -94119,7 +93651,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixOffsetChangeAll && this.min_offset == other.min_offset && this.max_offset == other.max_offset; + return other instanceof A._$HelixOffsetChangeAll && this.min_offset == other.min_offset && this.max_offset == other.max_offset; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, J.get$hashCode$(this.min_offset)), J.get$hashCode$(this.max_offset))); @@ -94150,7 +93682,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowMouseoverRectSet && this.show === other.show; + return other instanceof A._$ShowMouseoverRectSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -94179,7 +93711,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowMouseoverRectToggle; + return other instanceof A._$ShowMouseoverRectToggle; }, get$hashCode(_) { return 950177715; @@ -94195,7 +93727,7 @@ 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; + 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(_) { var _this = this; @@ -94280,7 +93812,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportCanDoDNA; + return other instanceof A._$ExportCanDoDNA; }, get$hashCode(_) { return 736579583; @@ -94296,7 +93828,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportSvg && this.type === other.type; + return other instanceof A._$ExportSvg && this.type === other.type; }, get$hashCode(_) { return A.$jf(A.$jc(0, A.Primitives_objectHashCode(this.type))); @@ -94335,7 +93867,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportSvgTextSeparatelySet && this.export_svg_text_separately === other.export_svg_text_separately; + 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))); @@ -94379,11 +93911,10 @@ return false; if (other === _this) return true; - return other instanceof A.ExtensionDisplayLengthAngleSet && _this.ext.$eq(0, other.ext) && _this.display_length === other.display_length && _this.display_angle === other.display_angle; + return other instanceof A._$ExtensionDisplayLengthAngleSet && _this.ext.$eq(0, other.ext) && _this.display_length === other.display_length && _this.display_angle === other.display_angle; }, get$hashCode(_) { - var t1 = this.ext; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSNumber_methods.get$hashCode(this.display_length)), B.JSNumber_methods.get$hashCode(this.display_angle))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.ext.get$hashCode(0)), B.JSNumber_methods.get$hashCode(this.display_length)), B.JSNumber_methods.get$hashCode(this.display_angle))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionDisplayLengthAngleSet"), @@ -94460,11 +93991,10 @@ return false; if (other === _this) return true; - return other instanceof A.ExtensionAdd && _this.strand.$eq(0, other.strand) && _this.is_5p === other.is_5p && _this.num_bases === other.num_bases; + return other instanceof A._$ExtensionAdd && _this.strand.$eq(0, other.strand) && _this.is_5p === other.is_5p && _this.num_bases === other.num_bases; }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.is_5p)), B.JSInt_methods.get$hashCode(this.num_bases))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.is_5p)), B.JSInt_methods.get$hashCode(this.num_bases))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionAdd"), @@ -94543,11 +94073,10 @@ return false; if (other === this) return true; - return other instanceof A.ExtensionNumBasesChange && this.ext.$eq(0, other.ext) && this.num_bases === other.num_bases; + return other instanceof A._$ExtensionNumBasesChange && this.ext.$eq(0, other.ext) && this.num_bases === other.num_bases; }, get$hashCode(_) { - var t1 = this.ext; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.num_bases))); + return A.$jf(A.$jc(A.$jc(0, this.ext.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.num_bases))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionNumBasesChange"), @@ -94618,11 +94147,10 @@ return false; if (other === this) return true; - return other instanceof A.ExtensionsNumBasesChange && this.extensions.$eq(0, other.extensions) && this.num_bases === other.num_bases; + return other instanceof A._$ExtensionsNumBasesChange && this.extensions.$eq(0, other.extensions) && this.num_bases === other.num_bases; }, get$hashCode(_) { - var t1 = this.extensions; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.num_bases))); + return A.$jf(A.$jc(A.$jc(0, this.extensions.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.num_bases))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ExtensionsNumBasesChange"), @@ -94664,7 +94192,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$extensions(_this).build$0(); + t1 = _this.get$extensions(0).build$0(); t2 = type$.int; t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_num_bases, _s24_, _s9_, t2); _$result0 = new A._$ExtensionsNumBasesChange(t1, t3); @@ -94676,7 +94204,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = _s10_; - _this.get$extensions(_this).build$0(); + _this.get$extensions(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s24_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -94700,11 +94228,10 @@ return false; if (other === this) return true; - return other instanceof A.LoopoutLengthChange && this.loopout.$eq(0, other.loopout) && this.num_bases === other.num_bases; + return other instanceof A._$LoopoutLengthChange && this.loopout.$eq(0, other.loopout) && this.num_bases === other.num_bases; }, get$hashCode(_) { - var t1 = this.loopout; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.num_bases))); + return A.$jf(A.$jc(A.$jc(0, this.loopout.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.num_bases))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutLengthChange"), @@ -94775,11 +94302,10 @@ return false; if (other === this) return true; - return other instanceof A.LoopoutsLengthChange && this.loopouts.$eq(0, other.loopouts) && this.length === other.length; + return other instanceof A._$LoopoutsLengthChange && this.loopouts.$eq(0, other.loopouts) && this.length === other.length; }, get$hashCode(_) { - var t1 = this.loopouts; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.length))); + return A.$jf(A.$jc(A.$jc(0, this.loopouts.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.length))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("LoopoutsLengthChange"), @@ -94863,11 +94389,10 @@ return false; if (other === _this) return true; - return other instanceof A.ConvertCrossoverToLoopout && _this.crossover.$eq(0, other.crossover) && _this.length === other.length && _this.dna_sequence == other.dna_sequence; + return other instanceof A._$ConvertCrossoverToLoopout && _this.crossover.$eq(0, other.crossover) && _this.length === other.length && _this.dna_sequence == other.dna_sequence; }, 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))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.crossover.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.length)), J.get$hashCode$(this.dna_sequence))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoverToLoopout"), @@ -94946,11 +94471,10 @@ return false; if (other === this) return true; - return other instanceof A.ConvertCrossoversToLoopouts && this.crossovers.$eq(0, other.crossovers) && this.length === other.length; + return other instanceof A._$ConvertCrossoversToLoopouts && this.crossovers.$eq(0, other.crossovers) && this.length === other.length; }, get$hashCode(_) { - var t1 = this.crossovers; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.length))); + return A.$jf(A.$jc(A.$jc(0, this.crossovers.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.length))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ConvertCrossoversToLoopouts"), @@ -95033,11 +94557,10 @@ return false; if (other === this) return true; - return other instanceof A.Nick && this.domain.$eq(0, other.domain) && this.offset === other.offset; + return other instanceof A._$Nick && this.domain.$eq(0, other.domain) && this.offset === other.offset; }, get$hashCode(_) { - var t1 = this.domain; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.offset))); + return A.$jf(A.$jc(A.$jc(0, this.domain.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.offset))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("Nick"), @@ -95077,12 +94600,12 @@ var _$failedField, e, _$result0, exception, t1, t2, _this = this, _$result = null; try { _$result0 = _this._$v; - _$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; + _$result = _$result0 == null ? A._$Nick$_(_this.get$domain(0)._domain$_build$0(), A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, "Nick", "offset", type$.int)) : _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$("Nick", _$failedField.readLocal$0(), J.toString$0$(e)); @@ -95103,11 +94626,10 @@ return false; if (other === this) return true; - return other instanceof A.Ligate && this.dna_end.$eq(0, other.dna_end); + return other instanceof A._$Ligate && this.dna_end.$eq(0, other.dna_end); }, get$hashCode(_) { - var t1 = this.dna_end; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.dna_end.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("Ligate"), @@ -95161,12 +94683,10 @@ return false; if (other === this) return true; - 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); + 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(_) { - 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))); + return A.$jf(A.$jc(A.$jc(0, this.dna_end_first_click.get$hashCode(0)), this.dna_end_second_click.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("JoinStrandsByCrossover"), @@ -95238,22 +94758,19 @@ return false; if (other === this) return true; - return other instanceof A.MoveLinker && this.potential_crossover.$eq(0, other.potential_crossover) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); + return other instanceof A._$MoveLinker && this.potential_crossover.$eq(0, other.potential_crossover) && this.dna_end_second_click.$eq(0, other.dna_end_second_click); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.potential_crossover; - t2 = _this.dna_end_second_click; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._actions$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(0, _this.potential_crossover.get$hashCode(0)), _this.dna_end_second_click.get$hashCode(0))); + t1 = _this._actions$__hashCode; + if (t1 == null) { _this._actions$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -95329,7 +94846,7 @@ return false; if (other === this) return true; - return other instanceof A.JoinStrandsByMultipleCrossovers; + return other instanceof A._$JoinStrandsByMultipleCrossovers; }, get$hashCode(_) { return 913553039; @@ -95354,11 +94871,10 @@ return false; if (other === _this) return true; - return other instanceof A.StrandsReflect && _this.strands.$eq(0, other.strands) && _this.horizontal === other.horizontal && _this.reverse_polarity === other.reverse_polarity; + return other instanceof A._$StrandsReflect && _this.strands.$eq(0, other.strands) && _this.horizontal === other.horizontal && _this.reverse_polarity === other.reverse_polarity; }, get$hashCode(_) { - var t1 = this.strands; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.horizontal)), B.JSBool_methods.get$hashCode(this.reverse_polarity))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strands.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.horizontal)), B.JSBool_methods.get$hashCode(this.reverse_polarity))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsReflect"), @@ -95433,11 +94949,10 @@ return false; if (other === this) return true; - return other instanceof A.ReplaceStrands && this.new_strands.$eq(0, other.new_strands); + return other instanceof A._$ReplaceStrands && this.new_strands.$eq(0, other.new_strands); }, get$hashCode(_) { - var t1 = this.new_strands; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.new_strands.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ReplaceStrands"), @@ -95454,7 +94969,7 @@ t1 = $$v.new_strands; 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.set$_new_strands(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._$v = null; } t1 = _this._new_strands; @@ -95493,26 +95008,21 @@ }; A._$StrandCreateStart.prototype = { $eq(_, other) { - var t1, t2; + var t1; if (other == null) return false; if (other === this) return true; - if (other instanceof A.StrandCreateStart) + t1 = false; + 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; + t1 = other.color; + t1 = this.color.get$hashCode(0) === t1.get$hashCode(0); + } return t1; }, 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))); + return A.$jf(A.$jc(A.$jc(0, this.address.get$hashCode(0)), this.color.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandCreateStart"), @@ -95574,7 +95084,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandCreateAdjustOffset && this.offset === other.offset; + return other instanceof A._$StrandCreateAdjustOffset && this.offset === other.offset; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset))); @@ -95609,7 +95119,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandCreateStop; + return other instanceof A._$StrandCreateStop; }, get$hashCode(_) { return 562189073; @@ -95629,35 +95139,25 @@ }; A._$StrandCreateCommit.prototype = { $eq(_, other) { - var t1, t2, _this = this; + var t1, _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof A.StrandCreateCommit) + t1 = false; + 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; + t1 = other.color; + t1 = _this.color.get$hashCode(0) === t1.get$hashCode(0); + } return t1; }, 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))); + var _this = this; + 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)), _this.color.get$hashCode(0))); }, toString$0(_) { var _this = this, @@ -95692,11 +95192,10 @@ return false; if (other === this) return true; - return other instanceof A.PotentialCrossoverCreate && this.potential_crossover.$eq(0, other.potential_crossover); + return other instanceof A._$PotentialCrossoverCreate && this.potential_crossover.$eq(0, other.potential_crossover); }, get$hashCode(_) { - var t1 = this.potential_crossover; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.potential_crossover.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("PotentialCrossoverCreate"), @@ -95750,7 +95249,7 @@ return false; if (other === this) return true; - return other instanceof A.PotentialCrossoverMove && this.point.$eq(0, other.point); + return other instanceof A._$PotentialCrossoverMove && this.point.$eq(0, other.point); }, get$hashCode(_) { var t1 = this.point; @@ -95783,7 +95282,7 @@ return false; if (other === this) return true; - return other instanceof A.PotentialCrossoverRemove; + return other instanceof A._$PotentialCrossoverRemove; }, get$hashCode(_) { return 588638045; @@ -95807,7 +95306,7 @@ return false; if (other === this) return true; - return other instanceof A.ManualPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + return other instanceof A._$ManualPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; }, get$hashCode(_) { var _$hash, _this = this, @@ -95866,7 +95365,7 @@ return false; if (other === this) return true; - return other instanceof A.AutoPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; + return other instanceof A._$AutoPasteInitiate && this.clipboard_content === other.clipboard_content && this.in_browser === other.in_browser; }, get$hashCode(_) { var _$hash, _this = this, @@ -95925,7 +95424,7 @@ return false; if (other === this) return true; - return other instanceof A.CopySelectedStrands; + return other instanceof A._$CopySelectedStrands; }, get$hashCode(_) { return 12466871; @@ -95950,14 +95449,11 @@ return false; if (other === _this) return true; - return other instanceof A.StrandsMoveStart && _this.strands.$eq(0, other.strands) && _this.address.$eq(0, other.address) && _this.copy === other.copy && _this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); + return other instanceof A._$StrandsMoveStart && _this.strands.$eq(0, other.strands) && _this.address.$eq(0, other.address) && _this.copy === other.copy && _this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); }, get$hashCode(_) { - var _this = this, - t1 = _this.strands, - t2 = _this.address, - t3 = _this.original_helices_view_order_inverse; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(_this.copy)), t3.get$hashCode(t3))); + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.strands.get$hashCode(0)), _this.address.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.copy)), _this.original_helices_view_order_inverse.get$hashCode(0))); }, toString$0(_) { var _this = this, @@ -96014,7 +95510,7 @@ t2 = $$v.original_helices_view_order_inverse; 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.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._$v = null; } return _this; @@ -96066,12 +95562,10 @@ return false; if (other === _this) return true; - return other instanceof A.StrandsMoveStartSelectedStrands && _this.address.$eq(0, other.address) && _this.copy === other.copy && _this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); + return other instanceof A._$StrandsMoveStartSelectedStrands && _this.address.$eq(0, other.address) && _this.copy === other.copy && _this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); }, get$hashCode(_) { - var t1 = this.address, - t2 = this.original_helices_view_order_inverse; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.copy)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.address.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.copy)), this.original_helices_view_order_inverse.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveStartSelectedStrands"), @@ -96113,7 +95607,7 @@ t2 = $$v.original_helices_view_order_inverse; 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.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._$v = null; } return _this; @@ -96155,7 +95649,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandsMoveStop; + return other instanceof A._$StrandsMoveStop; }, get$hashCode(_) { return 852105731; @@ -96179,11 +95673,10 @@ return false; if (other === this) return true; - return other instanceof A.StrandsMoveAdjustAddress && this.address.$eq(0, other.address); + 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))); + return A.$jf(A.$jc(0, this.address.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveAdjustAddress"), @@ -96237,11 +95730,10 @@ return false; if (other === this) return true; - return other instanceof A.StrandsMoveCommit && this.strands_move.$eq(0, other.strands_move) && this.autopaste === other.autopaste; + return other instanceof A._$StrandsMoveCommit && this.strands_move.$eq(0, other.strands_move) && this.autopaste === other.autopaste; }, get$hashCode(_) { - var t1 = this.strands_move; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.autopaste))); + return A.$jf(A.$jc(A.$jc(0, this.strands_move.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.autopaste))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandsMoveCommit"), @@ -96307,12 +95799,10 @@ return false; if (other === this) return true; - return other instanceof A.DomainsMoveStartSelectedDomains && this.address.$eq(0, other.address) && this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); + return other instanceof A._$DomainsMoveStartSelectedDomains && this.address.$eq(0, other.address) && this.original_helices_view_order_inverse.$eq(0, other.original_helices_view_order_inverse); }, get$hashCode(_) { - var t1 = this.address, - t2 = this.original_helices_view_order_inverse; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.address.get$hashCode(0)), this.original_helices_view_order_inverse.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveStartSelectedDomains"), @@ -96352,7 +95842,7 @@ t2 = $$v.original_helices_view_order_inverse; 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.set$_actions$_original_helices_view_order_inverse(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._$v = null; } return _this; @@ -96392,7 +95882,7 @@ return false; if (other === this) return true; - return other instanceof A.DomainsMoveStop; + return other instanceof A._$DomainsMoveStop; }, get$hashCode(_) { return 156712681; @@ -96416,11 +95906,10 @@ return false; if (other === this) return true; - return other instanceof A.DomainsMoveAdjustAddress && this.address.$eq(0, other.address); + return other instanceof A._$DomainsMoveAdjustAddress && this.address.$eq(0, other.address); }, get$hashCode(_) { - var t1 = this.address; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.address.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveAdjustAddress"), @@ -96474,11 +95963,10 @@ return false; if (other === this) return true; - return other instanceof A.DomainsMoveCommit && this.domains_move.$eq(0, other.domains_move); + return other instanceof A._$DomainsMoveCommit && this.domains_move.$eq(0, other.domains_move); }, get$hashCode(_) { - var t1 = this.domains_move; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.domains_move.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DomainsMoveCommit"), @@ -96532,11 +96020,10 @@ return false; if (other === this) return true; - return other instanceof A.DNAEndsMoveStart && this.offset === other.offset && this.helix.$eq(0, other.helix); + return other instanceof A._$DNAEndsMoveStart && this.offset === other.offset && this.helix.$eq(0, other.helix); }, get$hashCode(_) { - var t1 = this.helix; - return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset)), this.helix.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveStart"), @@ -96621,15 +96108,11 @@ return false; if (other === _this) return true; - return other instanceof A.DNAEndsMoveSetSelectedEnds && _this.moves.$eq(0, other.moves) && _this.original_offset === other.original_offset && _this.helix.$eq(0, other.helix) && _this.strands_affected.$eq(0, other.strands_affected) && _this.geometry.$eq(0, other.geometry); + return other instanceof A._$DNAEndsMoveSetSelectedEnds && _this.moves.$eq(0, other.moves) && _this.original_offset === other.original_offset && _this.helix.$eq(0, other.helix) && _this.strands_affected.$eq(0, other.strands_affected) && _this.geometry.$eq(0, other.geometry); }, get$hashCode(_) { - var _this = this, - t1 = _this.moves, - t2 = _this.helix, - t3 = _this.strands_affected, - t4 = _this.geometry; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.original_offset)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4))); + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.moves.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.original_offset)), _this.helix.get$hashCode(0)), _this.strands_affected.get$hashCode(0)), _this.geometry.get$hashCode(0))); }, toString$0(_) { var _this = this, @@ -96724,7 +96207,7 @@ t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_original_offset, _s26_, "original_offset", type$.int); t3 = _this.get$helix()._helix$_build$0(); t4 = _this.get$strands_affected().build$0(); - _$result0 = A._$DNAEndsMoveSetSelectedEnds$_(_this.get$geometry(_this)._geometry$_build$0(), t3, t1, t2, t4); + _$result0 = A._$DNAEndsMoveSetSelectedEnds$_(_this.get$geometry(0)._geometry$_build$0(), t3, t1, t2, t4); } _$result = _$result0; } catch (exception) { @@ -96737,7 +96220,7 @@ _$failedField._value = "strands_affected"; _this.get$strands_affected().build$0(); _$failedField._value = "geometry"; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s26_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -96764,7 +96247,7 @@ return false; if (other === this) return true; - return other instanceof A.DNAEndsMoveAdjustOffset && this.offset === other.offset; + return other instanceof A._$DNAEndsMoveAdjustOffset && this.offset === other.offset; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset))); @@ -96799,7 +96282,7 @@ return false; if (other === this) return true; - return other instanceof A.DNAEndsMoveStop; + return other instanceof A._$DNAEndsMoveStop; }, get$hashCode(_) { return 405840353; @@ -96814,11 +96297,10 @@ return false; if (other === this) return true; - return other instanceof A.DNAEndsMoveCommit && this.dna_ends_move.$eq(0, other.dna_ends_move); + return other instanceof A._$DNAEndsMoveCommit && this.dna_ends_move.$eq(0, other.dna_ends_move); }, get$hashCode(_) { - var t1 = this.dna_ends_move; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.dna_ends_move.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAEndsMoveCommit"), @@ -96872,12 +96354,11 @@ return false; if (other === this) return true; - return other instanceof A.DNAExtensionsMoveStart && this.start_point.$eq(0, other.start_point) && this.helix.$eq(0, other.helix); + return other instanceof A._$DNAExtensionsMoveStart && this.start_point.$eq(0, other.start_point) && this.helix.$eq(0, other.helix); }, get$hashCode(_) { - var t1 = this.start_point, - t2 = this.helix; - return A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), t2.get$hashCode(t2))); + var t1 = this.start_point; + return A.$jf(A.$jc(A.$jc(0, A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), this.helix.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveStart"), @@ -96959,15 +96440,12 @@ return false; if (other === _this) return true; - return other instanceof A.DNAExtensionsMoveSetSelectedExtensionEnds && _this.moves.$eq(0, other.moves) && _this.original_point.$eq(0, other.original_point) && _this.strands_affected.$eq(0, other.strands_affected) && _this.helix.$eq(0, other.helix); + return other instanceof A._$DNAExtensionsMoveSetSelectedExtensionEnds && _this.moves.$eq(0, other.moves) && _this.original_point.$eq(0, other.original_point) && _this.strands_affected.$eq(0, other.strands_affected) && _this.helix.$eq(0, other.helix); }, get$hashCode(_) { var _this = this, - t1 = _this.moves, - t2 = _this.original_point, - t3 = _this.strands_affected, - t4 = _this.helix; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0)), t3.get$hashCode(t3)), t4.get$hashCode(t4))); + t1 = _this.original_point; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.moves.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), _this.strands_affected.get$hashCode(0)), _this.helix.get$hashCode(0))); }, toString$0(_) { var _this = this, @@ -97091,7 +96569,7 @@ return false; if (other === this) return true; - return other instanceof A.DNAExtensionsMoveAdjustPosition && this.position.$eq(0, other.position); + return other instanceof A._$DNAExtensionsMoveAdjustPosition && this.position.$eq(0, other.position); }, get$hashCode(_) { var t1 = this.position; @@ -97124,7 +96602,7 @@ return false; if (other === this) return true; - return other instanceof A.DNAExtensionsMoveStop; + return other instanceof A._$DNAExtensionsMoveStop; }, get$hashCode(_) { return 595080581; @@ -97139,11 +96617,10 @@ return false; if (other === this) return true; - return other instanceof A.DNAExtensionsMoveCommit && this.dna_extensions_move.$eq(0, other.dna_extensions_move); + return other instanceof A._$DNAExtensionsMoveCommit && this.dna_extensions_move.$eq(0, other.dna_extensions_move); }, get$hashCode(_) { - var t1 = this.dna_extensions_move; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.dna_extensions_move.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DNAExtensionsMoveCommit"), @@ -97197,7 +96674,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixGroupMoveStart && this.mouse_point.$eq(0, other.mouse_point); + return other instanceof A._$HelixGroupMoveStart && this.mouse_point.$eq(0, other.mouse_point); }, get$hashCode(_) { var t1 = this.mouse_point; @@ -97230,11 +96707,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixGroupMoveCreate && this.helix_group_move.$eq(0, other.helix_group_move); + return other instanceof A._$HelixGroupMoveCreate && this.helix_group_move.$eq(0, other.helix_group_move); }, get$hashCode(_) { - var t1 = this.helix_group_move; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.helix_group_move.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCreate"), @@ -97288,7 +96764,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixGroupMoveAdjustTranslation && this.mouse_point.$eq(0, other.mouse_point); + return other instanceof A._$HelixGroupMoveAdjustTranslation && this.mouse_point.$eq(0, other.mouse_point); }, get$hashCode(_) { var t1 = this.mouse_point; @@ -97321,7 +96797,7 @@ return false; if (other === this) return true; - return other instanceof A.HelixGroupMoveStop; + return other instanceof A._$HelixGroupMoveStop; }, get$hashCode(_) { return 16916568; @@ -97345,11 +96821,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixGroupMoveCommit && this.helix_group_move.$eq(0, other.helix_group_move); + return other instanceof A._$HelixGroupMoveCommit && this.helix_group_move.$eq(0, other.helix_group_move); }, get$hashCode(_) { - var t1 = this.helix_group_move; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.helix_group_move.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGroupMoveCommit"), @@ -97403,12 +96878,10 @@ return false; if (other === this) return true; - return other instanceof A.AssignDNA && this.strand.$eq(0, other.strand) && this.dna_assign_options.$eq(0, other.dna_assign_options); + return other instanceof A._$AssignDNA && this.strand.$eq(0, other.strand) && this.dna_assign_options.$eq(0, other.dna_assign_options); }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.dna_assign_options; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), this.dna_assign_options.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("AssignDNA"), @@ -97491,15 +96964,14 @@ return false; if (other === this) return true; - return other instanceof A.AssignDNAComplementFromBoundStrands && this.strands.$eq(0, other.strands); + return other instanceof A._$AssignDNAComplementFromBoundStrands && this.strands.$eq(0, other.strands); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.strands; - _$hash = A.$jf(A.$jc(0, t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(0, _this.strands.get$hashCode(0))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -97570,15 +97042,14 @@ return false; if (other === this) return true; - return other instanceof A.AssignDomainNameComplementFromBoundStrands && this.strands.$eq(0, other.strands); + return other instanceof A._$AssignDomainNameComplementFromBoundStrands && this.strands.$eq(0, other.strands); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.strands; - _$hash = A.$jf(A.$jc(0, t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(0, _this.strands.get$hashCode(0))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -97649,15 +97120,14 @@ return false; if (other === this) return true; - return other instanceof A.AssignDomainNameComplementFromBoundDomains && this.domains.$eq(0, other.domains); + return other instanceof A._$AssignDomainNameComplementFromBoundDomains && this.domains.$eq(0, other.domains); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.domains; - _$hash = A.$jf(A.$jc(0, t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(0, _this.domains.get$hashCode(0))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -97729,11 +97199,10 @@ return false; if (other === _this) return true; - return other instanceof A.RemoveDNA && _this.strand.$eq(0, other.strand) && _this.remove_complements === other.remove_complements && _this.remove_all === other.remove_all; + return other instanceof A._$RemoveDNA && _this.strand.$eq(0, other.strand) && _this.remove_complements === other.remove_complements && _this.remove_all === other.remove_all; }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.remove_complements)), B.JSBool_methods.get$hashCode(this.remove_all))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.remove_complements)), B.JSBool_methods.get$hashCode(this.remove_all))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("RemoveDNA"), @@ -97807,11 +97276,10 @@ return false; if (other === _this) return true; - return other instanceof A.InsertionAdd && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A._$InsertionAdd && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var t1 = this.domain; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.domain.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionAdd"), @@ -97862,7 +97330,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this)._domain$_build$0(); + t1 = _this.get$domain(0)._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); } @@ -97871,7 +97339,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s12_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -97893,13 +97361,11 @@ return false; if (other === _this) return true; - return other instanceof A.InsertionLengthChange && _this.domain.$eq(0, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.length === other.length && _this.all_helices === other.all_helices; + return other instanceof A._$InsertionLengthChange && _this.domain.$eq(0, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.length === other.length && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var _this = this, - t1 = _this.domain, - t2 = _this.insertion; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.domain.get$hashCode(0)), _this.insertion.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); }, toString$0(_) { var _this = this, @@ -97964,7 +97430,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this)._domain$_build$0(); + t1 = _this.get$domain(0)._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); @@ -97981,7 +97447,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); _$failedField._value = _s9_; _this.get$insertion()._domain$_build$0(); } catch (exception) { @@ -98005,13 +97471,11 @@ return false; if (other === _this) return true; - return other instanceof A.InsertionsLengthChange && _this.insertions.$eq(0, other.insertions) && _this.domains.$eq(0, other.domains) && _this.length === other.length && _this.all_helices === other.all_helices; + return other instanceof A._$InsertionsLengthChange && _this.insertions.$eq(0, other.insertions) && _this.domains.$eq(0, other.domains) && _this.length === other.length && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var _this = this, - t1 = _this.insertions, - t2 = _this.domains; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); + var _this = this; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.insertions.get$hashCode(0)), _this.domains.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.length)), B.JSBool_methods.get$hashCode(_this.all_helices))); }, toString$0(_) { var _this = this, @@ -98123,11 +97587,10 @@ return false; if (other === _this) return true; - return other instanceof A.DeletionAdd && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A._$DeletionAdd && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var t1 = this.domain; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.domain.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionAdd"), @@ -98178,7 +97641,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this)._domain$_build$0(); + t1 = _this.get$domain(0)._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); } @@ -98187,7 +97650,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -98209,12 +97672,10 @@ return false; if (other === _this) return true; - return other instanceof A.InsertionRemove && _this.domain.$eq(0, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.all_helices === other.all_helices; + return other instanceof A._$InsertionRemove && _this.domain.$eq(0, other.domain) && _this.insertion.$eq(0, other.insertion) && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var t1 = this.domain, - t2 = this.insertion; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(this.all_helices))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.domain.get$hashCode(0)), this.insertion.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.all_helices))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("InsertionRemove"), @@ -98270,7 +97731,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this)._domain$_build$0(); + t1 = _this.get$domain(0)._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); @@ -98284,7 +97745,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); _$failedField._value = _s9_; _this.get$insertion()._domain$_build$0(); } catch (exception) { @@ -98308,11 +97769,10 @@ return false; if (other === _this) return true; - return other instanceof A.DeletionRemove && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; + return other instanceof A._$DeletionRemove && _this.domain.$eq(0, other.domain) && _this.offset === other.offset && _this.all_helices === other.all_helices; }, get$hashCode(_) { - var t1 = this.domain; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.domain.get$hashCode(0)), B.JSInt_methods.get$hashCode(this.offset)), B.JSBool_methods.get$hashCode(this.all_helices))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DeletionRemove"), @@ -98364,7 +97824,7 @@ try { _$result0 = _this._$v; if (_$result0 == null) { - t1 = _this.get$domain(_this)._domain$_build$0(); + t1 = _this.get$domain(0)._domain$_build$0(); t2 = type$.int; t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_offset, _s14_, "offset", t2); t4 = type$.bool; @@ -98379,7 +97839,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -98400,12 +97860,10 @@ return false; if (other === this) return true; - return other instanceof A.ScalePurificationVendorFieldsAssign && this.strand.$eq(0, other.strand) && this.vendor_fields.$eq(0, other.vendor_fields); + return other instanceof A._$ScalePurificationVendorFieldsAssign && this.strand.$eq(0, other.strand) && this.vendor_fields.$eq(0, other.vendor_fields); }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.vendor_fields; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), this.vendor_fields.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScalePurificationVendorFieldsAssign"), @@ -98479,12 +97937,10 @@ return false; if (other === this) return true; - return other instanceof A.PlateWellVendorFieldsAssign && this.strand.$eq(0, other.strand) && this.vendor_fields.$eq(0, other.vendor_fields); + return other instanceof A._$PlateWellVendorFieldsAssign && this.strand.$eq(0, other.strand) && this.vendor_fields.$eq(0, other.vendor_fields); }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.vendor_fields; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), this.vendor_fields.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsAssign"), @@ -98558,11 +98014,10 @@ return false; if (other === this) return true; - return other instanceof A.PlateWellVendorFieldsRemove && this.strand.$eq(0, other.strand); + return other instanceof A._$PlateWellVendorFieldsRemove && this.strand.$eq(0, other.strand); }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.strand.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("PlateWellVendorFieldsRemove"), @@ -98619,11 +98074,10 @@ return false; if (other === this) return true; - return other instanceof A.VendorFieldsRemove && this.strand.$eq(0, other.strand); + return other instanceof A._$VendorFieldsRemove && this.strand.$eq(0, other.strand); }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.strand.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("VendorFieldsRemove"), @@ -98681,12 +98135,11 @@ return false; if (other === _this) return true; - return other instanceof A.ModificationAdd && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A._$ModificationAdd && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.modification; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), J.get$hashCode$(this.strand_dna_idx))); + var t1 = this.modification; + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), t1.get$hashCode(t1)), J.get$hashCode$(this.strand_dna_idx))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationAdd"), @@ -98758,12 +98211,11 @@ return false; if (other === _this) return true; - return other instanceof A.ModificationRemove && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A._$ModificationRemove && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.modification; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), J.get$hashCode$(this.strand_dna_idx))); + var t1 = this.modification; + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), t1.get$hashCode(t1)), J.get$hashCode$(this.strand_dna_idx))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationRemove"), @@ -98835,22 +98287,20 @@ return false; if (other === _this) return true; - return other instanceof A.ModificationConnectorLengthSet && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.connector_length === other.connector_length; + return other instanceof A._$ModificationConnectorLengthSet && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.connector_length === other.connector_length; }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.strand; - t2 = _this.modification; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSInt_methods.get$hashCode(_this.connector_length))); - t2 = _this._actions$__hashCode; - if (t2 == null) { + t1 = _this.modification; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, _this.strand.get$hashCode(0)), 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; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -98929,12 +98379,11 @@ return false; if (other === _this) return true; - return other instanceof A.ModificationEdit && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; + return other instanceof A._$ModificationEdit && _this.strand.$eq(0, other.strand) && _this.modification.$eq(0, other.modification) && _this.strand_dna_idx == other.strand_dna_idx; }, get$hashCode(_) { - var t1 = this.strand, - t2 = this.modification; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), J.get$hashCode$(this.strand_dna_idx))); + var t1 = this.modification; + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), t1.get$hashCode(t1)), J.get$hashCode$(this.strand_dna_idx))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationEdit"), @@ -99005,12 +98454,10 @@ return false; if (other === this) return true; - return other instanceof A.Modifications5PrimeEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); + return other instanceof A._$Modifications5PrimeEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); }, get$hashCode(_) { - var t1 = this.modifications, - t2 = this.new_modification; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.modifications.get$hashCode(0)), this.new_modification.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications5PrimeEdit"), @@ -99098,12 +98545,10 @@ return false; if (other === this) return true; - return other instanceof A.Modifications3PrimeEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); + return other instanceof A._$Modifications3PrimeEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); }, get$hashCode(_) { - var t1 = this.modifications, - t2 = this.new_modification; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.modifications.get$hashCode(0)), this.new_modification.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("Modifications3PrimeEdit"), @@ -99191,12 +98636,10 @@ return false; if (other === this) return true; - return other instanceof A.ModificationsInternalEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); + return other instanceof A._$ModificationsInternalEdit && this.modifications.$eq(0, other.modifications) && this.new_modification.$eq(0, other.new_modification); }, get$hashCode(_) { - var t1 = this.modifications, - t2 = this.new_modification; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.modifications.get$hashCode(0)), this.new_modification.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ModificationsInternalEdit"), @@ -99284,7 +98727,7 @@ return false; if (other === this) return true; - return other instanceof A.GridChange && this.grid === other.grid && this.group_name === other.group_name; + 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, A.Primitives_objectHashCode(this.grid)), B.JSString_methods.get$hashCode(this.group_name))); @@ -99315,7 +98758,7 @@ return false; if (other === this) return true; - return other instanceof A.GroupDisplayedChange && this.group_name === other.group_name; + return other instanceof A._$GroupDisplayedChange && this.group_name === other.group_name; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSString_methods.get$hashCode(this.group_name))); @@ -99344,11 +98787,10 @@ return false; if (other === this) return true; - return other instanceof A.GroupAdd && this.name === other.name && this.group.$eq(0, other.group); + return other instanceof A._$GroupAdd && this.name === other.name && this.group.$eq(0, other.group); }, get$hashCode(_) { - var t1 = this.group; - return A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.name)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.name)), this.group.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupAdd"), @@ -99422,7 +98864,7 @@ return false; if (other === this) return true; - return other instanceof A.GroupRemove && this.name === other.name; + return other instanceof A._$GroupRemove && this.name === other.name; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSString_methods.get$hashCode(this.name))); @@ -99452,11 +98894,10 @@ return false; if (other === _this) return true; - return other instanceof A.GroupChange && _this.old_name === other.old_name && _this.new_name === other.new_name && _this.new_group.$eq(0, other.new_group); + return other instanceof A._$GroupChange && _this.old_name === other.old_name && _this.new_name === other.new_name && _this.new_group.$eq(0, other.new_group); }, get$hashCode(_) { - var t1 = this.new_group; - return A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.old_name)), B.JSString_methods.get$hashCode(this.new_name)), t1.get$hashCode(t1))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(this.old_name)), B.JSString_methods.get$hashCode(this.new_name)), this.new_group.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("GroupChange"), @@ -99534,15 +98975,14 @@ return false; if (other === this) return true; - return other instanceof A.MoveHelicesToGroup && this.helix_idxs.$eq(0, other.helix_idxs) && this.group_name === other.group_name; + return other instanceof A._$MoveHelicesToGroup && this.helix_idxs.$eq(0, other.helix_idxs) && this.group_name === other.group_name; }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._actions$__hashCode; if (t1 != null) return t1; - t1 = _this.helix_idxs; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSString_methods.get$hashCode(_this.group_name))); + _$hash = A.$jf(A.$jc(A.$jc(0, _this.helix_idxs.get$hashCode(0)), B.JSString_methods.get$hashCode(_this.group_name))); t1 = _this._actions$__hashCode; if (t1 == null) { _this._actions$__hashCode = _$hash; @@ -99620,11 +99060,10 @@ return false; if (other === this) return true; - return other instanceof A.DialogShow && this.dialog.$eq(0, other.dialog); + return other instanceof A._$DialogShow && this.dialog.$eq(0, other.dialog); }, get$hashCode(_) { - var t1 = this.dialog; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.dialog.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("DialogShow"), @@ -99678,7 +99117,7 @@ return false; if (other === this) return true; - return other instanceof A.DialogHide; + return other instanceof A._$DialogHide; }, get$hashCode(_) { return 68450832; @@ -99702,11 +99141,10 @@ return false; if (other === this) return true; - return other instanceof A.ContextMenuShow && this.context_menu.$eq(0, other.context_menu); + return other instanceof A._$ContextMenuShow && this.context_menu.$eq(0, other.context_menu); }, get$hashCode(_) { - var t1 = this.context_menu; - return A.$jf(A.$jc(0, t1.get$hashCode(t1))); + return A.$jf(A.$jc(0, this.context_menu.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ContextMenuShow"), @@ -99760,7 +99198,7 @@ return false; if (other === this) return true; - return other instanceof A.ContextMenuHide; + return other instanceof A._$ContextMenuHide; }, get$hashCode(_) { return 628270879; @@ -99784,11 +99222,10 @@ return false; if (other === this) return true; - return other instanceof A.StrandOrSubstrandColorPickerShow && this.strand.$eq(0, other.strand) && J.$eq$(this.substrand, other.substrand); + return other instanceof A._$StrandOrSubstrandColorPickerShow && this.strand.$eq(0, other.strand) && J.$eq$(this.substrand, other.substrand); }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), J.get$hashCode$(this.substrand))); + return A.$jf(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), J.get$hashCode$(this.substrand))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorPickerShow"), @@ -99848,7 +99285,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandOrSubstrandColorPickerHide; + return other instanceof A._$StrandOrSubstrandColorPickerHide; }, get$hashCode(_) { return 600404320; @@ -99872,11 +99309,10 @@ return false; if (other === this) return true; - return other instanceof A.ScaffoldSet && this.strand.$eq(0, other.strand) && this.is_scaffold === other.is_scaffold; + return other instanceof A._$ScaffoldSet && this.strand.$eq(0, other.strand) && this.is_scaffold === other.is_scaffold; }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(this.is_scaffold))); + return A.$jf(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), B.JSBool_methods.get$hashCode(this.is_scaffold))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("ScaffoldSet"), @@ -99946,11 +99382,10 @@ return false; if (other === _this) return true; - return other instanceof A.StrandOrSubstrandColorSet && _this.strand.$eq(0, other.strand) && J.$eq$(_this.substrand, other.substrand) && J.$eq$(_this.color, other.color); + return other instanceof A._$StrandOrSubstrandColorSet && _this.strand.$eq(0, other.strand) && J.$eq$(_this.substrand, other.substrand) && J.$eq$(_this.color, other.color); }, get$hashCode(_) { - var t1 = this.strand; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), J.get$hashCode$(this.substrand)), J.get$hashCode$(this.color))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.strand.get$hashCode(0)), J.get$hashCode$(this.substrand)), J.get$hashCode$(this.color))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("StrandOrSubstrandColorSet"), @@ -100020,7 +99455,7 @@ return false; if (other === this) return true; - return other instanceof A.StrandPasteKeepColorSet && this.keep === other.keep; + return other instanceof A._$StrandPasteKeepColorSet && this.keep === other.keep; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.keep))); @@ -100049,7 +99484,7 @@ return false; if (other === this) return true; - return other instanceof A.ExampleDesignsLoad && this.selected_idx === other.selected_idx; + 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))); @@ -100078,7 +99513,7 @@ return false; if (other === this) return true; - return other instanceof A.BasePairTypeSet && this.selected_idx === other.selected_idx; + return other instanceof A._$BasePairTypeSet && this.selected_idx === other.selected_idx; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.selected_idx))); @@ -100107,11 +99542,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixPositionSet && this.helix_idx === other.helix_idx && this.position.$eq(0, other.position); + return other instanceof A._$HelixPositionSet && this.helix_idx === other.helix_idx && this.position.$eq(0, other.position); }, 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))); + return A.$jf(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(this.helix_idx)), this.position.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixPositionSet"), @@ -100150,12 +99584,12 @@ _$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; + _$result = _$result0 == null ? A._$HelixPositionSet$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_$this()._actions$_helix_idx, _s16_, "helix_idx", type$.int), _this.get$position(0)._position3d$_build$0()) : _$result0; } catch (exception) { _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "position"; - _this.get$position(_this)._position3d$_build$0(); + _this.get$position(0)._position3d$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s16_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -100176,12 +99610,10 @@ return false; if (other === this) return true; - return other instanceof A.HelixGridPositionSet && this.helix.$eq(0, other.helix) && this.grid_position.$eq(0, other.grid_position); + return other instanceof A._$HelixGridPositionSet && this.helix.$eq(0, other.helix) && this.grid_position.$eq(0, other.grid_position); }, get$hashCode(_) { - var t1 = this.helix, - t2 = this.grid_position; - return A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); + return A.$jf(A.$jc(A.$jc(0, this.helix.get$hashCode(0)), this.grid_position.get$hashCode(0))); }, toString$0(_) { var t1 = $.$get$newBuiltValueToStringHelper().call$1("HelixGridPositionSet"), @@ -100268,7 +99700,7 @@ return false; if (other === this) return true; - return other instanceof A.HelicesPositionsSetBasedOnCrossovers; + return other instanceof A._$HelicesPositionsSetBasedOnCrossovers; }, get$hashCode(_) { return 1067021116; @@ -100292,7 +99724,7 @@ return false; if (other === this) return true; - return other instanceof A.InlineInsertionsDeletions; + return other instanceof A._$InlineInsertionsDeletions; }, get$hashCode(_) { return 40574671; @@ -100316,7 +99748,7 @@ return false; if (other === this) return true; - return other instanceof A.DefaultCrossoverTypeForSettingHelixRollsSet && this.scaffold === other.scaffold && this.staple === other.staple; + return other instanceof A._$DefaultCrossoverTypeForSettingHelixRollsSet && this.scaffold === other.scaffold && this.staple === other.staple; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(this.scaffold)), B.JSBool_methods.get$hashCode(this.staple))); @@ -100347,7 +99779,7 @@ return false; if (other === this) return true; - return other instanceof A.AutofitSet && this.autofit === other.autofit; + return other instanceof A._$AutofitSet && this.autofit === other.autofit; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.autofit))); @@ -100376,7 +99808,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowHelixCirclesMainViewSet && this.show_helix_circles_main_view === other.show_helix_circles_main_view; + return other instanceof A._$ShowHelixCirclesMainViewSet && this.show_helix_circles_main_view === other.show_helix_circles_main_view; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_helix_circles_main_view))); @@ -100405,7 +99837,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowHelixComponentsMainViewSet && this.show_helix_components === other.show_helix_components; + return other instanceof A._$ShowHelixComponentsMainViewSet && this.show_helix_components === other.show_helix_components; }, get$hashCode(_) { var _$hash, _this = this, @@ -100444,7 +99876,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowEditMenuToggle; + return other instanceof A._$ShowEditMenuToggle; }, get$hashCode(_) { return 156767941; @@ -100459,7 +99891,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowGridCoordinatesSideViewSet && this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view; + return other instanceof A._$ShowGridCoordinatesSideViewSet && this.show_grid_coordinates_side_view === other.show_grid_coordinates_side_view; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_grid_coordinates_side_view))); @@ -100488,7 +99920,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowAxisArrowsSet && this.show_helices_axis_arrows === other.show_helices_axis_arrows; + return other instanceof A._$ShowAxisArrowsSet && this.show_helices_axis_arrows === other.show_helices_axis_arrows; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_helices_axis_arrows))); @@ -100517,7 +99949,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowLoopoutExtensionLengthSet && this.show_length === other.show_length; + return other instanceof A._$ShowLoopoutExtensionLengthSet && this.show_length === other.show_length; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show_length))); @@ -100547,7 +99979,7 @@ 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; + 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; }, 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))); @@ -100598,7 +100030,7 @@ return false; if (other === this) return true; - return other instanceof A.SetIsZoomAboveThreshold && this.is_zoom_above_threshold === other.is_zoom_above_threshold; + return other instanceof A._$SetIsZoomAboveThreshold && this.is_zoom_above_threshold === other.is_zoom_above_threshold; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.is_zoom_above_threshold))); @@ -100641,7 +100073,7 @@ 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); + return other instanceof A._$SetExportSvgActionDelayedForPngCache && J.$eq$(this.export_svg_action_delayed_for_png_cache, other.export_svg_action_delayed_for_png_cache); }, get$hashCode(_) { return A.$jf(A.$jc(0, J.get$hashCode$(this.export_svg_action_delayed_for_png_cache))); @@ -100708,7 +100140,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowBasePairLinesSet && this.show_base_pair_lines === other.show_base_pair_lines; + return other instanceof A._$ShowBasePairLinesSet && this.show_base_pair_lines === other.show_base_pair_lines; }, get$hashCode(_) { var _$hash, _this = this, @@ -100747,7 +100179,7 @@ return false; if (other === this) return true; - return other instanceof A.ExportBasePairLinesIfOtherStrandNotSelectedSet && this.export_base_pair_lines_if_other_strand_not_selected === other.export_base_pair_lines_if_other_strand_not_selected; + return other instanceof A._$ExportBasePairLinesIfOtherStrandNotSelectedSet && this.export_base_pair_lines_if_other_strand_not_selected === other.export_base_pair_lines_if_other_strand_not_selected; }, get$hashCode(_) { var _$hash, _this = this, @@ -100786,7 +100218,7 @@ 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; + return other instanceof A._$ShowBasePairLinesWithMismatchesSet && this.show_base_pair_lines_with_mismatches === other.show_base_pair_lines_with_mismatches; }, get$hashCode(_) { var _$hash, _this = this, @@ -100825,7 +100257,7 @@ return false; if (other === this) return true; - return other instanceof A.ShowSliceBarSet && this.show === other.show; + return other instanceof A._$ShowSliceBarSet && this.show === other.show; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.show))); @@ -100867,7 +100299,7 @@ return false; if (other === this) return true; - return other instanceof A.SliceBarOffsetSet && this.offset === other.offset; + return other instanceof A._$SliceBarOffsetSet && this.offset === other.offset; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSInt_methods.get$hashCode(this.offset))); @@ -100915,7 +100347,7 @@ return false; if (other === this) return true; - return other instanceof A.DisablePngCachingDnaSequencesSet && this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences; + return other instanceof A._$DisablePngCachingDnaSequencesSet && this.disable_png_caching_dna_sequences === other.disable_png_caching_dna_sequences; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.disable_png_caching_dna_sequences))); @@ -100958,7 +100390,7 @@ return false; if (other === this) return true; - return other instanceof A.RetainStrandColorOnSelectionSet && this.retain_strand_color_on_selection === other.retain_strand_color_on_selection; + return other instanceof A._$RetainStrandColorOnSelectionSet && this.retain_strand_color_on_selection === other.retain_strand_color_on_selection; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.retain_strand_color_on_selection))); @@ -101001,7 +100433,7 @@ 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; + return other instanceof A._$DisplayReverseDNARightSideUpSet && this.display_reverse_DNA_right_side_up === other.display_reverse_DNA_right_side_up; }, get$hashCode(_) { return A.$jf(A.$jc(0, B.JSBool_methods.get$hashCode(this.display_reverse_DNA_right_side_up))); @@ -101044,7 +100476,7 @@ return false; if (other === this) return true; - return other instanceof A.SliceBarMoveStart; + return other instanceof A._$SliceBarMoveStart; }, get$hashCode(_) { return 405947091; @@ -101068,7 +100500,7 @@ return false; if (other === this) return true; - return other instanceof A.SliceBarMoveStop; + return other instanceof A._$SliceBarMoveStop; }, get$hashCode(_) { return 186948767; @@ -101092,7 +100524,7 @@ return false; if (other === this) return true; - return other instanceof A.Autostaple; + return other instanceof A._$Autostaple; }, get$hashCode(_) { return 574995319; @@ -101117,7 +100549,7 @@ 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; + 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; }, get$hashCode(_) { var _this = this; @@ -101177,7 +100609,7 @@ return false; if (other === this) return true; - return other instanceof A.ZoomSpeedSet && this.speed === other.speed; + return other instanceof A._$ZoomSpeedSet && this.speed === other.speed; }, get$hashCode(_) { var _$hash, _this = this, @@ -101216,7 +100648,7 @@ return false; if (other === this) return true; - return other instanceof A.OxdnaExport && this.selected_strands_only === other.selected_strands_only; + return other instanceof A._$OxdnaExport && this.selected_strands_only === other.selected_strands_only; }, get$hashCode(_) { var _$hash, _this = this, @@ -101272,7 +100704,7 @@ return false; if (other === this) return true; - return other instanceof A.OxviewExport && this.selected_strands_only === other.selected_strands_only; + return other instanceof A._$OxviewExport && this.selected_strands_only === other.selected_strands_only; }, get$hashCode(_) { var _$hash, _this = this, @@ -101328,7 +100760,7 @@ return false; if (other === this) return true; - return other instanceof A.OxExportOnlySelectedStrandsSet && this.only_selected === other.only_selected; + return other instanceof A._$OxExportOnlySelectedStrandsSet && this.only_selected === other.only_selected; }, get$hashCode(_) { var _$hash, _this = this, @@ -101699,25 +101131,25 @@ } 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)); + t1 = type$.Store_AppState._as(A.Store$(A.app_state_reducer__app_state_reducer$closure(), state, $.$get$all_middleware(), 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)); + 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), 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)); + 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), 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)); + 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), 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)); + 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), 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)); + 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), 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)); + 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), 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(); @@ -101730,12 +101162,14 @@ $async$self.setup_save_design_to_localStorage_before_unload$0(); t1 = $async$self.__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - t1.get$state(t1); + t1.__Store__state_A === $ && A.throwLateFieldNI("_state"); t2 = window; t2.toString; t2.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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + self.set_zoom_speed(t1.ui_state.storables.zoom_speed); // implicit return return A._asyncReturn(null, $async$completer); } @@ -101780,10 +101214,14 @@ if (!type$.FastAction._is(action)) { t1 = _this.__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - t1.dispatch$1(action); + t1 = t1.__Store__dispatchers_F; + t1 === $ && A.throwLateFieldNI(_s12_); + if (0 >= t1.length) + return A.ioore(t1, 0); + t1[0].call$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) { + 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; @@ -101792,7 +101230,7 @@ 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) { + 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; @@ -101801,7 +101239,7 @@ 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) { + 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; @@ -101810,7 +101248,7 @@ 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) { + 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; @@ -101819,7 +101257,7 @@ 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) { + 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; @@ -101828,7 +101266,7 @@ 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) { + 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; @@ -101839,20 +101277,14 @@ } }, setup_warning_before_unload$0() { - var t2, - t1 = window; + var t1 = window; t1.toString; - t2 = type$.nullable_void_Function_BeforeUnloadEvent._as(new A.App_setup_warning_before_unload_closure(this)); - type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(t1, "beforeunload", t2, false, type$.BeforeUnloadEvent); + A._EventStreamSubscription$(t1, "beforeunload", type$.nullable_void_Function_BeforeUnloadEvent._as(new A.App_setup_warning_before_unload_closure(this)), false, type$.BeforeUnloadEvent); }, setup_save_design_to_localStorage_before_unload$0() { - var t2, - t1 = window; + var t1 = window; t1.toString; - t2 = type$.nullable_void_Function_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$.BeforeUnloadEvent); + A._EventStreamSubscription$(t1, "beforeunload", type$.nullable_void_Function_BeforeUnloadEvent._as(new A.App_setup_save_design_to_localStorage_before_unload_closure(this)), false, type$.BeforeUnloadEvent); }, setup_view$0() { var 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, 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, @@ -102033,7 +101465,8 @@ _this.__App_view_F = t9; t19 = _this.__App_store_F; t19 === $ && A.throwLateFieldNI("store"); - t19 = t19.get$state(t19); + t19 = t19.__Store__state_A; + t19 === $ && A.throwLateFieldNI("_state"); t9.update_showing_oxview$0(); t5 = $.__app._readField$0().__App_store_F; t5 === $ && A.throwLateFieldNI("store"); @@ -102058,9 +101491,7 @@ t9 = t9.__OxviewViewComponent_frame_A; t9 === $ && A.throwLateFieldNI("frame"); t2 = type$._ElementEventStreamImpl_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); + A._EventStreamSubscription$(t9, "load", t2._eval$1("~(1)?")._as(new A.App_setup_view_closure(_this)), false, t2._precomputed1); }, set$__App_store_F(__App_store_F) { this.__App_store_F = type$.Store_AppState._as(__App_store_F); @@ -102088,19 +101519,25 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.storables.warn_on_exit_if_unsaved && t1.undo_redo.undo_stack._list.length !== 0) B.BeforeUnloadEvent_methods.set$returnValue(type$.BeforeUnloadEvent._as($event), "You have unsaved work. Are you sure you want to leave?"); }, - $signature: 19 + $signature: 18 }; A.App_setup_save_design_to_localStorage_before_unload_closure.prototype = { call$1(_) { - var t1 = this.$this.__App_store_F; + var t2, + 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t2 = t1.ui_state.storables.local_storage_design_choice.option; + if (t2 === B.LocalStorageDesignOption_on_exit || t2 === B.LocalStorageDesignOption_periodic) + A.save(t1, B.Storable_design); }, - $signature: 19 + $signature: 18 }; A.App_setup_view_closure.prototype = { call$1($event) { @@ -102118,10 +101555,14 @@ 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (t2.maybe_design != null) { t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI("store"); - t2 = t2.get$state(t2).get$design(); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = t2.get$design(); t1 = t1.__View_oxview_view_A; t1 === $ && A.throwLateFieldNI(_s11_); t1 = t1.__OxviewViewComponent_frame_A; @@ -102129,7 +101570,7 @@ A.update_oxview_view(t2, t1); } }, - $signature: 19 + $signature: 18 }; A.setup_undo_redo_keyboard_listeners_closure.prototype = { call$1($event) { @@ -102141,17 +101582,21 @@ if ((t1.get$ctrlKey($event) || t1.get$metaKey($event)) && !t1.get$shiftKey($event) && t2 === 90 && !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) + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + if (t3.undo_redo.undo_stack._list.length !== 0) $.__app._readField$0().dispatch$1(A.Undo_Undo(1)); } if ((t1.get$ctrlKey($event) || t1.get$metaKey($event)) && t1.get$shiftKey($event) && t2 === 90 && !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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.undo_redo.redo_stack._list.length !== 0) $.__app._readField$0().dispatch$1(A.Redo_Redo(1)); } }, - $signature: 45 + $signature: 48 }; A.setup_save_open_dna_file_keyboard_listeners_closure.prototype = { call$1($event) { @@ -102171,7 +101616,7 @@ J.click$0$x(t1); } }, - $signature: 45 + $signature: 48 }; A.copy_selected_strands_to_clipboard_image_keyboard_listeners_closure.prototype = { call$1($event) { @@ -102185,7 +101630,7 @@ $.__app._readField$0().dispatch$1(A._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); } }, - $signature: 45 + $signature: 48 }; A.strand_bounds_status.prototype = { _enumToString$0() { @@ -102209,7 +101654,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_DNAFileType_bQh; + return B.List_Type_DNAFileType_5uU; }, get$wireName() { return "DNAFileType"; @@ -102250,7 +101695,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_DNASequencePredefined_1Sb; + return B.List_Type_DNASequencePredefined_WWf; }, get$wireName() { return "DNASequencePredefined"; @@ -102334,14 +101779,14 @@ b.get$_domain$_$this()._domain$_offset = this.reflected_offset; return b; }, - $signature: 54 + $signature: 53 }; A.reflect_insertions_closure0.prototype = { call$2(i1, i2) { var t1 = type$.Insertion; return t1._as(i1).offset - t1._as(i2).offset; }, - $signature: 131 + $signature: 116 }; A.vertical_reflection_of_strands_closure.prototype = { call$1(b) { @@ -102367,7 +101812,7 @@ call$1(e) { return type$.DNAEnd._as(e).get$offset_inclusive(); }, - $signature: 215 + $signature: 213 }; A.find_allowable_offset_closure0.prototype = { call$1(ss) { @@ -102401,41 +101846,48 @@ var $content = type$.List_int._as(response); A.save_file(this.filename, $content, null, this.blob_type); }, - $signature: 219 + $signature: 217 }; A.export_dna_sequences_middleware_closure2.prototype = { call$2(e, stackTrace) { - var msg, t1, t2, cause = ""; + var msg, t1, t2, t3, cause = ""; if (A.has_cause(e)) cause = A._asString(e.get$cause()); else if (A.has_message(e)) cause = A._asString(J.get$message$x(e)); - msg = B.JSString_methods.$add(J.$add$ansx(cause, "\n\n"), J.toString$0$(stackTrace)); + msg = J.$add$ansx(cause, "\n\n") + J.toString$0$(stackTrace); t1 = this.store; - t1.dispatch$1(A.ErrorMessageSet_ErrorMessageSet(msg)); + t2 = A.ErrorMessageSet_ErrorMessageSet(msg); + t3 = t1.__Store__dispatchers_F; + t3 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t3.length) + return A.ioore(t3, 0); + t3[0].call$1(t2); 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)); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t2.render$1(0, t1); }, - $signature: 156 + $signature: 160 }; A.export_dna_closure.prototype = { call$1(v) { - var t1 = B.Map_bv0.$index(0, type$.ExportDNAFormat._as(v)); + var t1 = B.Map_PL88f.$index(0, type$.ExportDNAFormat._as(v)); t1.toString; return t1; }, - $signature: 220 + $signature: 218 }; A.export_dna_closure0.prototype = { call$1(v) { - var t1 = B.Map_yHyvP.$index(0, type$.StrandOrder._as(v)); + var t1 = B.Map_wA43h.$index(0, type$.StrandOrder._as(v)); t1.toString; return t1; }, - $signature: 221 + $signature: 219 }; A.cando_compatible_csv_export_closure.prototype = { call$1(match) { @@ -102444,7 +101896,7 @@ return A.ioore(t1, 0); return t1[0]; }, - $signature: 222 + $signature: 220 }; A.get_svg_elements_of_base_pairs_closure.prototype = { call$1(offset) { @@ -102454,7 +101906,7 @@ t1.toString; return t1; }, - $signature: 223 + $signature: 221 }; A.make_portable_closure.prototype = { call$1(v) { @@ -102464,7 +101916,7 @@ t1.toString; return t1; }, - $signature: 224 + $signature: 222 }; A.forbid_create_circular_strand_no_crossovers_middleware_closure.prototype = { call$1(b) { @@ -102492,19 +101944,19 @@ return A.iae(t1); return t2 - t1; }, - $signature: 226 + $signature: 224 }; A._first_crossover_addresses_between_helices_closure.prototype = { call$1(address_crossover) { return !type$.Tuple2_Address_Crossover._as(address_crossover).item2.is_scaffold; }, - $signature: 130 + $signature: 168 }; A._first_crossover_addresses_between_helices_closure0.prototype = { call$1(address_crossover) { return type$.Tuple2_Address_Crossover._as(address_crossover).item2.is_scaffold; }, - $signature: 130 + $signature: 168 }; A.RollXY.prototype = { toString$0(_) { @@ -102522,21 +101974,27 @@ call$1(element) { return J.get$length$asx(type$.MapEntry_of_int_and_List_int._as(element).value) !== 1; }, - $signature: 228 + $signature: 226 }; 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: 229 + $signature: 227 }; 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)); + var t2, + t1 = this.action; + t1 = A.LoadDNAFile_LoadDNAFile(t1.content, t1.dna_file_type, t1.filename, t1.unit_testing, t1.write_local_storage); + t2 = this.store.__Store__dispatchers_F; + t2 === $ && A.throwLateFieldNI("_dispatchers"); + if (0 >= t2.length) + return A.ioore(t2, 0); + return t2[0].call$1(t1); }, - $signature: 7 + $signature: 8 }; A.Storable.prototype = {}; A.OxdnaVector.prototype = { @@ -102620,7 +102078,7 @@ return new A.OxdnaVector(1, 1, 1); }, 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, + 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, 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), @@ -102644,11 +102102,8 @@ 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))); + t12 = 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(t11.x) + " " + A.S(t11.y) + " " + A.S(t11.z) + " ") + (A.S(t12.x) + " " + A.S(t12.y) + " " + A.S(t12.z))); } } t1 = B.JSArray_methods.join$1(top_list, "\n"); @@ -102661,9 +102116,11 @@ type$.Timer._as(timer); t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - A.save(t1.get$state(t1), B.Storable_design); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + A.save(t1, B.Storable_design); }, - $signature: 231 + $signature: 229 }; A._save_file_closure.prototype = { call$0() { @@ -102699,7 +102156,7 @@ m.get$_app_state$_$this()._error_message = t1; return m; }, - $signature: 37 + $signature: 38 }; A.app_state_reducer_closure0.prototype = { call$1(m) { @@ -102723,7 +102180,7 @@ t3._app_ui_state$_$v = t1; return m; }, - $signature: 37 + $signature: 38 }; A.ui_state_local_reducer_closure.prototype = { call$1(u) { @@ -102903,24 +102360,22 @@ u.get$_app_ui_state$_$this()._is_zoom_above_threshold = t3; return u; }, - $signature: 71 + $signature: 74 }; A.example_designs_idx_set_reducer_closure.prototype = { call$1(b) { b.get$_example_designs$_$this()._selected_idx = this.action.selected_idx; return b; }, - $signature: 234 + $signature: 232 }; 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)); + var t1 = A._asStringQ(this.state.get$design().groups.get$keys(0).get$first(0)); b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; return b; }, - $signature: 50 + $signature: 55 }; A.app_ui_state_storable_global_reducer_closure0.prototype = { call$1(b) { @@ -102928,7 +102383,7 @@ b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t1; return b; }, - $signature: 50 + $signature: 55 }; A.app_ui_state_storable_global_reducer_closure1.prototype = { call$1(b) { @@ -102943,7 +102398,7 @@ b.get$_app_ui_state_storables$_$this()._slice_bar_offset = t3; return b; }, - $signature: 50 + $signature: 55 }; A.app_ui_state_storable_local_reducer_closure.prototype = { call$1(b) { @@ -103070,7 +102525,7 @@ b.get$_app_ui_state_storables$_$this()._selection_box_intersection = t2; return b; }, - $signature: 50 + $signature: 55 }; A.ui_state_global_reducer_closure.prototype = { call$1(u) { @@ -103138,11 +102593,11 @@ t4 = A.original_helix_offsets_reducer(t2.original_helix_offsets, t3, t4); 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>"))); + t3 = type$.nullable_MapBuilder_of_int_and_BuiltList_int._as(new A.MapBuilder(t4._mapFactory, t4._map$_map, t4, t3._eval$1("MapBuilder<1,2>"))); u.get$_app_ui_state$_$this().set$_original_helix_offsets(t3); return u; }, - $signature: 71 + $signature: 74 }; A.compute_domain_name_complements_closure.prototype = { call$1(b) { @@ -103184,7 +102639,7 @@ var t1 = type$.Crossover; return t1._as(c1).prev_domain_idx - t1._as(c2).prev_domain_idx; }, - $signature: 236 + $signature: 234 }; A.convert_crossovers_to_loopouts_reducer_closure0.prototype = { call$1(s) { @@ -103199,14 +102654,14 @@ var t1 = type$.Loopout; return t1._as(c1).prev_domain_idx - t1._as(c2).prev_domain_idx; }, - $signature: 237 + $signature: 235 }; A.loopouts_length_change_reducer_closure0.prototype = { call$1(l) { l.get$_loopout$_$this()._loopout_num_bases = this.action.length; return l; }, - $signature: 29 + $signature: 26 }; A.loopouts_length_change_reducer_closure1.prototype = { call$1(s) { @@ -103234,7 +102689,7 @@ l.get$_loopout$_$this()._loopout_num_bases = this.action.num_bases; return l; }, - $signature: 29 + $signature: 26 }; A.loopout_length_change_reducer_closure0.prototype = { call$1(s) { @@ -103278,25 +102733,25 @@ }; A.delete_all_reducer_closure.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.Strand; + return type$.Selectable._as(item) instanceof A._$Strand; }, $signature: 11 }; A.delete_all_reducer_closure0.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.Crossover; + return type$.Selectable._as(item) instanceof A._$Crossover; }, $signature: 11 }; A.delete_all_reducer_closure1.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.Loopout; + return type$.Selectable._as(item) instanceof A._$Loopout; }, $signature: 11 }; A.delete_all_reducer_closure2.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.DNAEnd; + return type$.Selectable._as(item) instanceof A._$DNAEnd; }, $signature: 11 }; @@ -103308,23 +102763,23 @@ t1.toString; return t1; }, - $signature: 241 + $signature: 239 }; A.delete_all_reducer_closure4.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.Domain; + return type$.Selectable._as(item) instanceof A._$Domain; }, $signature: 11 }; A.delete_all_reducer_closure5.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.SelectableDeletion; + return type$.Selectable._as(item) instanceof A._$SelectableDeletion; }, $signature: 11 }; A.delete_all_reducer_closure6.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.SelectableInsertion; + return type$.Selectable._as(item) instanceof A._$SelectableInsertion; }, $signature: 11 }; @@ -103336,7 +102791,7 @@ }; A.delete_all_reducer_closure8.prototype = { call$1(item) { - return type$.Selectable._as(item) instanceof A.Extension; + return type$.Selectable._as(item) instanceof A._$Extension; }, $signature: 11 }; @@ -103352,7 +102807,7 @@ B.JSArray_methods._removeWhere$2(t2, t1, true); return b; }, - $signature: 128 + $signature: 129 }; A._remove_strands__closure.prototype = { call$1(strand) { @@ -103367,7 +102822,7 @@ t1._as(l2); return B.JSInt_methods.compareTo$1(l1.get$prev_domain_idx(), l2.get$prev_domain_idx()); }, - $signature: 243 + $signature: 241 }; A.remove_linkers_from_strand_closure0.prototype = { call$1(b) { @@ -103381,7 +102836,7 @@ loopout.get$_loopout$_$this()._prev_domain_idx = this.i - 1; return loopout; }, - $signature: 29 + $signature: 26 }; A.create_new_strands_from_substrand_lists_closure0.prototype = { call$1(s) { @@ -103447,7 +102902,7 @@ b.get$_strand$_$this()._modification_3p = null; b.get$modifications_int().replace$1(0, this.mods_int); }, - $signature: 67 + $signature: 65 }; A.design_composed_local_reducer_closure.prototype = { call$1(d) { @@ -103476,7 +102931,7 @@ call$1(b) { var t1, t2; b.get$helices().replace$1(0, this.new_helices); - t1 = b.get$geometry(b); + t1 = b.get$geometry(0); t2 = this.action.geometry; A.ArgumentError_checkNotNull(t2, "other", type$.Geometry); t1._geometry$_$v = t2; @@ -103489,7 +102944,7 @@ b.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = this.action.offset; return b; }, - $signature: 246 + $signature: 244 }; A.dna_extensions_move_adjust_reducer_closure.prototype = { call$1(b) { @@ -103497,11 +102952,11 @@ b.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t1); return b; }, - $signature: 247 + $signature: 245 }; A.domains_move_start_selected_domains_reducer_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Domain; + return type$.Selectable._as(s) instanceof A._$Domain; }, $signature: 11 }; @@ -103513,14 +102968,14 @@ t1._address$_$v = t2; return b; }, - $signature: 127 + $signature: 134 }; A.domains_adjust_address_reducer_closure0.prototype = { call$1(b) { b.get$_domains_move$_$this()._allowable = this.allowable; return b; }, - $signature: 127 + $signature: 134 }; A.is_allowable_closure3.prototype = { call$1(dom) { @@ -103535,7 +102990,7 @@ t1 = this.delta_offset; return new A.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_int); }, - $signature: 68 + $signature: 66 }; A.is_allowable_closure5.prototype = { call$1(dom) { @@ -103548,7 +103003,7 @@ type$.Domain._as(dom); return new A.Point(dom.start, dom.end - 1, type$.Point_int); }, - $signature: 68 + $signature: 66 }; A.move_domain_closure.prototype = { call$1(b) { @@ -103580,21 +103035,21 @@ call$1(d) { return A._asInt(d) + this.delta_offset; }, - $signature: 77 + $signature: 75 }; 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: 103 + $signature: 158 }; A.move_domain___closure.prototype = { call$1(ib) { ib.get$_domain$_$this()._domain$_offset = this.i.offset + this.delta_offset; return ib; }, - $signature: 54 + $signature: 53 }; A.toggle_edit_mode_reducer_closure.prototype = { call$1(m) { @@ -103602,21 +103057,20 @@ m.get$_safeSet().remove$1(0, this.mode); return m; }, - $signature: 124 + $signature: 106 }; A.toggle_edit_mode_reducer_closure0.prototype = { call$1(m) { - var t1, t2; + var t1; 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(); + t1 = m.$ti._precomputed1._as(this.mode); + $.$get$isSoundMode(); + m.get$_safeSet().add$1(0, t1); + t1 = t1.get$excluded_modes(); m.get$_safeSet().removeAll$1(t1); return m; }, - $signature: 124 + $signature: 106 }; A.grid_change_reducer_closure.prototype = { call$2($name, group) { @@ -103626,14 +103080,14 @@ t1 = this.action; return $name === t1.group_name ? group.rebuild$1(new A.grid_change_reducer__closure(t1)) : group; }, - $signature: 123 + $signature: 110 }; A.grid_change_reducer__closure.prototype = { call$1(b) { b.get$_group$_$this()._group$_grid = this.action.grid; return b; }, - $signature: 28 + $signature: 25 }; A.geometry_helix_group_set_reducer_closure.prototype = { call$2($name, group) { @@ -103643,30 +103097,30 @@ t1 = this.action; return $name === t1.group_name ? group.rebuild$1(new A.geometry_helix_group_set_reducer__closure(t1)) : group; }, - $signature: 123 + $signature: 110 }; A.geometry_helix_group_set_reducer__closure.prototype = { call$1(b) { - var t1 = b.get$geometry(b), + var t1 = b.get$geometry(0), t2 = this.action.geometry; A.ArgumentError_checkNotNull(t2, "other", type$.Geometry); t1._geometry$_$v = t2; return b; }, - $signature: 28 + $signature: 25 }; 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: 82 + $signature: 92 }; A.group_remove_reducer_closure.prototype = { call$1(b) { type$.MapBuilder_String_HelixGroup._as(b).get$_safeMap().remove$1(0, this.action.name); }, - $signature: 82 + $signature: 92 }; A.group_change_reducer_closure.prototype = { call$1(b) { @@ -103679,21 +103133,21 @@ b.get$_safeMap().remove$1(0, t2); b.$indexSet(0, t3, t1.new_group); }, - $signature: 82 + $signature: 92 }; 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: 28 + $signature: 25 }; 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: 28 + $signature: 25 }; A.helix_idx_change_reducer_closure.prototype = { call$2(key, _) { @@ -103701,7 +103155,7 @@ type$.Helix._as(_); return this.action.idx_replacements._map$_map.containsKey$1(0, key); }, - $signature: 70 + $signature: 67 }; A.helix_idx_change_reducer_closure0.prototype = { call$1(b) { @@ -103758,7 +103212,7 @@ b.get$helices_view_order().replace$1(0, this.helices_view_order_new); return b; }, - $signature: 28 + $signature: 25 }; A._change_offset_one_helix_closure.prototype = { call$1(b) { @@ -103824,7 +103278,7 @@ call$1(b) { return b.get$_helix$_$this()._max_offset = this.action.offset + 1; }, - $signature: 62 + $signature: 54 }; A.first_replace_strands_reducer_closure.prototype = { call$1(b) { @@ -103850,7 +103304,7 @@ t1 = A._asIntQ(t1[0]); return b.get$_helix$_$this()._min_offset = t1; }, - $signature: 62 + $signature: 54 }; A.reset_helices_offsets_closure0.prototype = { call$1(b) { @@ -103860,14 +103314,14 @@ t1 = A._asIntQ(t1[1]); return b.get$_helix$_$this()._max_offset = t1; }, - $signature: 62 + $signature: 54 }; 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: 83 + $signature: 84 }; A._min_offset_set_by_domains_one_helix_closure.prototype = { call$1(b) { @@ -103887,13 +103341,13 @@ call$2(_, helix) { return A._min_offset_set_by_domains_one_helix(type$.Helix._as(helix), this.state.get$design()); }, - $signature: 83 + $signature: 84 }; 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: 83 + $signature: 84 }; A.helix_max_offset_set_by_domains_all_same_max_reducer_closure.prototype = { call$2(_, helix) { @@ -103941,7 +103395,6 @@ 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; }, @@ -103957,7 +103410,6 @@ 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; }, @@ -103990,7 +103442,7 @@ b.get$helices_view_order().replace$1(0, this.new_helices_view_order); return b; }, - $signature: 28 + $signature: 25 }; A.helix_add_design_reducer_closure0.prototype = { call$1(d) { @@ -104005,7 +103457,7 @@ b.get$helices_view_order().replace$1(0, this.new_helices_view_order); return b; }, - $signature: 28 + $signature: 25 }; A.helix_remove_design_global_reducer_closure0.prototype = { call$1(d) { @@ -104021,7 +103473,7 @@ b.get$helices_view_order().replace$1(0, this.new_helices_view_order); return b; }, - $signature: 28 + $signature: 25 }; A.helix_remove_all_selected_design_global_reducer_closure0.prototype = { call$1(d) { @@ -104038,7 +103490,7 @@ b.get$_safeMap().remove$1(0, this.action.helix_idx); return b; }, - $signature: 121 + $signature: 109 }; A.remove_helices_assuming_no_domains_closure.prototype = { call$1(b) { @@ -104049,7 +103501,7 @@ t2.removeWhere$1(t2, t1); return b; }, - $signature: 121 + $signature: 109 }; A.remove_helices_assuming_no_domains__closure.prototype = { call$2(idx, _) { @@ -104057,7 +103509,7 @@ type$.Helix._as(_); return this.helix_idxs._set.contains$1(0, idx); }, - $signature: 70 + $signature: 67 }; A.helix_group_change_reducer_closure.prototype = { call$2(idx, helix) { @@ -104112,17 +103564,17 @@ b.get$_helix_group_move$_$this().set$_current_mouse_point(t1); return b; }, - $signature: 262 + $signature: 260 }; A.helix_group_move_commit_global_reducer_closure.prototype = { call$1(b) { - var t1 = b.get$position(b), + var t1 = b.get$position(0), t2 = this.helix_group_move.get$current_position(); A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); t1._position3d$_$v = t2; return b; }, - $signature: 28 + $signature: 25 }; A.helix_group_move_commit_global_reducer_closure0.prototype = { call$1(b) { @@ -104141,13 +103593,13 @@ t2._strand$_$v = s; return t2; }, - $signature: 263 + $signature: 261 }; A.inline_insertions_deletions_reducer_closure0.prototype = { call$1(b) { return type$.StrandBuilder._as(b)._strand$_build$0(); }, - $signature: 264 + $signature: 262 }; A.inline_insertions_deletions_reducer_closure1.prototype = { call$1(b) { @@ -104161,7 +103613,7 @@ call$2(a, b) { return A._asInt(a) + A._asInt(b); }, - $signature: 56 + $signature: 52 }; A._inline_deletions_insertions_on_helix_closure0.prototype = { call$1(b) { @@ -104169,7 +103621,7 @@ t1.toString; return b.get$_helix$_$this()._max_offset = t1 + this.delta_length; }, - $signature: 62 + $signature: 54 }; A._inline_deletions_insertions_on_helix_closure1.prototype = { call$1(b) { @@ -104195,7 +103647,7 @@ var t1 = type$.Domain; return t1._as(ss1).start - t1._as(ss2).start; }, - $signature: 76 + $signature: 68 }; A._inline_deletions_insertions_on_helix_closure5.prototype = { call$1(b) { @@ -104219,7 +103671,7 @@ var t1 = type$.Insertion; return t1._as(i1).offset - t1._as(i2).offset; }, - $signature: 131 + $signature: 116 }; A.insertion_add_reducer_closure0.prototype = { call$1(b) { @@ -104254,7 +103706,7 @@ i.get$_domain$_$this()._domain$_length = this.action.length; return i; }, - $signature: 54 + $signature: 53 }; A.insertion_length_change_reducer_closure0.prototype = { call$1(b) { @@ -104268,7 +103720,7 @@ b.get$_domain$_$this()._domain$_length = this.action.length; return b; }, - $signature: 54 + $signature: 53 }; A.insertions_length_change_reducer_closure0.prototype = { call$1(b) { @@ -104296,7 +103748,7 @@ m.get$_app_state$_$this()._error_message = t2; return m; }, - $signature: 37 + $signature: 38 }; A.load_dna_file_reducer_closure0.prototype = { call$1(s) { @@ -104306,23 +103758,21 @@ s.get$_safeSet().removeWhere$1(0, t1); return null; }, - $signature: 266 + $signature: 264 }; A.load_dna_file_reducer__closure0.prototype = { call$1(idx) { - return A._asInt(idx) >= this.design.helices._map$_map._length; + return A._asInt(idx) >= this.design.helices._map$_map.__js_helper$_length; }, $signature: 22 }; 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)); + var t1 = A._asStringQ(this.design.groups.get$keys(0).get$first(0)); b.get$_app_ui_state_storables$_$this()._displayed_group_name = t1; return b; }, - $signature: 50 + $signature: 55 }; A.load_dna_file_reducer_closure2.prototype = { call$1(m) { @@ -104342,7 +103792,7 @@ m.get$_app_state$_$this()._error_message = ""; return m; }, - $signature: 37 + $signature: 38 }; A.load_dna_file_reducer__closure.prototype = { call$1(u) { @@ -104360,7 +103810,7 @@ u.get$storables().get$side_selected_helix_idxs().replace$1(0, t2.side_selected_helix_idxs); return u; }, - $signature: 267 + $signature: 265 }; A._update_mouseover_datas_with_helix_rotation_closure.prototype = { call$1(h) { @@ -104377,7 +103827,7 @@ t1._helix$_$v = t2; return m; }, - $signature: 268 + $signature: 266 }; A.nick_reducer_closure.prototype = { call$1(d) { @@ -104427,13 +103877,13 @@ call$2(l1, l2) { return A._asInt(l1) + A._asInt(l2); }, - $signature: 56 + $signature: 52 }; A.nick_reducer_closure6.prototype = { call$2(a, b) { return A._asInt(a) + A._asInt(b); }, - $signature: 56 + $signature: 52 }; A.nick_reducer_closure7.prototype = { call$2(idx, mod) { @@ -104443,7 +103893,7 @@ if (_this.i < J.get$length$asx(_this.substrands_before._copy_on_write_list$_list) - 1 || idx < _this.dna_length_strand_5p) _this.modifications_int_strand_5p.$indexSet(0, idx, mod); }, - $signature: 118 + $signature: 170 }; A.nick_reducer_closure8.prototype = { call$1(b) { @@ -104461,7 +103911,7 @@ if (_this.i > J.get$length$asx(_this.substrands_before._copy_on_write_list$_list) || idx >= _this.dna_length_strand_5p) _this.modifications_int_strand_3p.$indexSet(0, idx - _this.dna_length_strand_5p, mod); }, - $signature: 118 + $signature: 170 }; A.ligate_reducer_closure.prototype = { call$1(b) { @@ -104494,7 +103944,7 @@ return t1 ? -1 : 1; return end1.get$offset_inclusive() - end2.get$offset_inclusive(); }, - $signature: 270 + $signature: 268 }; A._join_strands_with_crossover_closure.prototype = { call$1(b) { @@ -104514,8 +103964,7 @@ call$1(b) { var t1; b.get$_domain$_$this()._is_first = false; - t1 = this.strand_5p; - t1 = t1.get$id(t1); + t1 = this.strand_5p.get$id(0); b.get$_domain$_$this()._domain$_strand_id = t1; return b; }, @@ -104527,7 +103976,7 @@ p.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t1); return p; }, - $signature: 271 + $signature: 269 }; A.select_all_selectables_reducer_closure.prototype = { call$1(domain) { @@ -104540,7 +103989,7 @@ type$.Domain._as(domain); return domain.forward ? domain.get$dnaend_start() : domain.get$dnaend_end(); }, - $signature: 117 + $signature: 120 }; A.select_all_selectables_reducer_closure1.prototype = { call$1(domain) { @@ -104553,14 +104002,14 @@ type$.Domain._as(domain); return domain.forward ? domain.get$dnaend_end() : domain.get$dnaend_start(); }, - $signature: 117 + $signature: 120 }; A.select_all_with_same_reducer_closure.prototype = { call$1(b) { b.get$selected_items().replace$1(0, this.selected_strands); return b; }, - $signature: 47 + $signature: 45 }; A.helix_selections_adjust_reducer_closure.prototype = { call$1(helix) { @@ -104571,30 +104020,29 @@ width = t1.get$helix_radius_svg() * 2; return A.Box$(svg_pos.x - t2, svg_pos.y - t3, width, width); }, - $signature: 274 + $signature: 272 }; A.helix_selections_adjust_reducer_closure0.prototype = { call$1(helix) { return type$.Helix._as(helix).idx; }, - $signature: 89 + $signature: 82 }; A.helix_select_reducer_closure.prototype = { call$1(h) { - var t1, t2; + var t1; 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); + t1 = h.$ti._precomputed1._as(this.idx); + $.$get$isSoundMode(); + return h.get$_safeSet().add$1(0, t1); }, - $signature: 115 + $signature: 126 }; A.helix_select_reducer_closure0.prototype = { call$1(h) { return type$.SetBuilder_int._as(h).get$_safeSet().remove$1(0, this.idx); }, - $signature: 115 + $signature: 126 }; A.helix_remove_selected_reducer_closure.prototype = { call$1(b) { @@ -104602,7 +104050,7 @@ b.get$_safeSet().remove$1(0, this.action.helix_idx); return b; }, - $signature: 277 + $signature: 275 }; A.selection_box_size_changed_reducer_closure.prototype = { call$1(s) { @@ -104610,14 +104058,14 @@ s.get$_selection_box$_$this().set$_selection_box$_current(t1); return s; }, - $signature: 278 + $signature: 276 }; A.selection_rope_mouse_move_reducer_closure.prototype = { call$1(b) { b.get$_selection_rope$_$this()._is_main = this.action.is_main_view; return b; }, - $signature: 78 + $signature: 64 }; A.selection_rope_mouse_move_reducer_closure0.prototype = { call$1(b) { @@ -104625,35 +104073,35 @@ b.get$_selection_rope$_$this().set$_current_point(t1); return b; }, - $signature: 78 + $signature: 64 }; A.selection_rope_add_point_reducer_closure.prototype = { call$1(b) { b.get$_selection_rope$_$this()._is_main = this.action.is_main_view; return b; }, - $signature: 78 + $signature: 64 }; A.selection_rope_add_point_reducer_closure0.prototype = { call$1(b) { - b.get$points(b).replace$1(0, this.points); + b.get$points(0).replace$1(0, this.points); return b; }, - $signature: 78 + $signature: 64 }; A.strand_create_adjust_offset_reducer_closure.prototype = { call$1(b) { b.get$_strand_creation$_$this()._current_offset = this.action.offset; return b; }, - $signature: 111 + $signature: 130 }; A.strand_create_adjust_offset_reducer_closure0.prototype = { call$1(b) { b.get$_strand_creation$_$this()._current_offset = this.action.offset; return b; }, - $signature: 111 + $signature: 130 }; A.parse_strands_and_helices_view_order_from_clipboard_closure.prototype = { call$1(m) { @@ -104727,7 +104175,7 @@ b.get$_copy_info$_$this()._translation = t2; return b; }, - $signature: 110 + $signature: 132 }; A.manual_paste_copy_info_reducer_closure0.prototype = { call$1(b) { @@ -104737,11 +104185,11 @@ t1._address$_$v = t2; return b; }, - $signature: 110 + $signature: 132 }; A.strands_move_start_selected_strands_reducer_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Strand; + return type$.Selectable._as(s) instanceof A._$Strand; }, $signature: 11 }; @@ -104775,7 +104223,7 @@ t1 = this.delta_offset; return new A.Point(dom.start + t1, dom.end - 1 + t1, type$.Point_int); }, - $signature: 68 + $signature: 66 }; A.is_allowable_closure1.prototype = { call$1(dom) { @@ -104788,7 +104236,7 @@ type$.Domain._as(dom); return new A.Point(dom.start, dom.end - 1, type$.Point_int); }, - $signature: 68 + $signature: 66 }; A.substrand_name_set_reducer_closure.prototype = { call$1(b) { @@ -104802,7 +104250,7 @@ b.get$_loopout$_$this()._loopout$_name = this.action.name; return b; }, - $signature: 29 + $signature: 26 }; A.substrand_name_set_reducer_closure1.prototype = { call$1(b) { @@ -104830,7 +104278,7 @@ b.get$_loopout$_$this()._loopout$_label = this.action.label; return b; }, - $signature: 29 + $signature: 26 }; A.substrand_label_set_reducer_closure1.prototype = { call$1(b) { @@ -104860,8 +104308,6 @@ 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; @@ -104886,21 +104332,21 @@ call$1(d) { return A._asInt(d) + this.delta_offset; }, - $signature: 77 + $signature: 75 }; 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)); }, - $signature: 103 + $signature: 158 }; A.move_strand___closure.prototype = { call$1(ib) { ib.get$_domain$_$this()._domain$_offset = this.i.offset + this.delta_offset; return ib; }, - $signature: 54 + $signature: 53 }; A.move_strand_closure0.prototype = { call$1(b) { @@ -104965,7 +104411,7 @@ call$1(i) { return type$.Insertion._as(i).offset; }, - $signature: 282 + $signature: 280 }; A.single_strand_dna_ends_commit_stop_reducer_closure2.prototype = { call$1(b) { @@ -105012,21 +104458,20 @@ }; A.strand_create_closure.prototype = { call$1(s) { - var t1, t2; + var t1; type$.ListBuilder_Strand._as(s); - t1 = s.$ti._precomputed1; - t2 = t1._as(this.strand); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.add$1(s.get$_safeList(), t2); + t1 = s.$ti._precomputed1._as(this.strand); + $.$get$isSoundMode(); + B.JSArray_methods.add$1(s.get$_safeList(), t1); return s; }, - $signature: 128 + $signature: 129 }; A.vendor_fields_remove_reducer_closure.prototype = { call$1(m) { return m.get$_strand$_$this()._vendor_fields = null; }, - $signature: 67 + $signature: 65 }; A.plate_well_vendor_fields_remove_reducer_closure.prototype = { call$1(m) { @@ -105035,7 +104480,7 @@ t1.get$_vendor_fields$_$this()._well = null; return t1; }, - $signature: 283 + $signature: 281 }; A.plate_well_vendor_fields_assign_reducer_closure.prototype = { call$1(m) { @@ -105088,7 +104533,7 @@ t1.$indexSet(0, t2, t3); return t3; }, - $signature: 107 + $signature: 141 }; A.modification_add_reducer_closure0.prototype = { call$1(m) { @@ -105114,19 +104559,19 @@ call$1(m) { return m.get$modifications_int().get$_safeMap().remove$1(0, this.action.strand_dna_idx); }, - $signature: 286 + $signature: 284 }; A.modification_remove_reducer_closure0.prototype = { call$1(m) { return m.get$_strand$_$this()._modification_3p = null; }, - $signature: 67 + $signature: 65 }; A.modification_remove_reducer_closure1.prototype = { call$1(m) { return m.get$_strand$_$this()._modification_5p = null; }, - $signature: 67 + $signature: 65 }; A.modification_edit_reducer_closure.prototype = { call$1(m) { @@ -105138,7 +104583,7 @@ t1.$indexSet(0, t2, t3); return t3; }, - $signature: 107 + $signature: 141 }; A.modification_edit_reducer_closure0.prototype = { call$1(m) { @@ -105187,7 +104632,7 @@ b.get$_loopout$_$this()._loopout$_color = this.action.color; return b; }, - $signature: 29 + $signature: 26 }; A.strand_or_substrand_color_set_reducer_closure2.prototype = { call$1(b) { @@ -105247,14 +104692,14 @@ t1._undo_redo$_$v = t2; return m; }, - $signature: 37 + $signature: 38 }; 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: 71 + $signature: 74 }; A.create_new_state_with_new_design_and_undo_redo__closure0.prototype = { call$1(u) { @@ -105265,7 +104710,7 @@ u.get$_undo_redo$_$this().set$_redo_stack(t1); return u; }, - $signature: 96 + $signature: 78 }; A.redo_reducer_closure.prototype = { call$1(m) { @@ -105284,14 +104729,14 @@ t1._undo_redo$_$v = t2; return m; }, - $signature: 37 + $signature: 38 }; 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: 71 + $signature: 74 }; A.redo_reducer__closure0.prototype = { call$1(u) { @@ -105302,7 +104747,7 @@ u.get$_undo_redo$_$this().set$_redo_stack(t1); return u; }, - $signature: 96 + $signature: 78 }; A.undo_redo_clear_reducer_closure.prototype = { call$1(m) { @@ -105312,7 +104757,7 @@ t1._undo_redo$_$v = t2; return m; }, - $signature: 37 + $signature: 38 }; A.undoable_action_typed_reducer_closure.prototype = { call$1(m) { @@ -105323,19 +104768,18 @@ t1._undo_redo$_$v = t2; return m; }, - $signature: 37 + $signature: 38 }; 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())); - !$.$get$isSoundMode() && !t2._is(null); - B.JSArray_methods.add$1(t1.get$_safeList(), t3); + t2 = t1.$ti._precomputed1._as(A.UndoRedoItem_UndoRedoItem(this.action.short_description$0(), this.state.get$design())); + $.$get$isSoundMode(); + B.JSArray_methods.add$1(t1.get$_safeList(), t2); B.JSArray_methods.clear$0(u.get$redo_stack().get$_safeList()); return u; }, - $signature: 96 + $signature: 78 }; A.TypedGlobalReducer.prototype = { call$3(local_state, global_state, action) { @@ -105364,7 +104808,7 @@ call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_String); }, - $signature: 288 + $signature: 286 }; A.BuiltJsonSerializable.prototype = { toJson$0() { @@ -105428,85 +104872,85 @@ call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.ContextMenuItem); }, - $signature: 106 + $signature: 148 }; A._$serializers_closure0.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.ContextMenuItem); }, - $signature: 106 + $signature: 148 }; A._$serializers_closure1.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Crossover); }, - $signature: 290 + $signature: 288 }; A._$serializers_closure2.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); }, - $signature: 104 + $signature: 149 }; A._$serializers_closure3.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAEndMove); }, - $signature: 104 + $signature: 149 }; A._$serializers_closure4.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); }, - $signature: 125 + $signature: 156 }; A._$serializers_closure5.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); }, - $signature: 147 + $signature: 102 }; A._$serializers_closure6.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.DNAExtensionMove); }, - $signature: 147 + $signature: 102 }; A._$serializers_closure7.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.Strand); }, - $signature: 125 + $signature: 156 }; A._$serializers_closure8.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.DialogItem); }, - $signature: 294 + $signature: 292 }; A._$serializers_closure9.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.BuiltList_int); }, - $signature: 295 + $signature: 293 }; A._$serializers_closure10.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltMap_of_int_and_BuiltList_String); }, - $signature: 296 + $signature: 294 }; A._$serializers_closure11.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - $signature: 101 + $signature: 79 }; A._$serializers_closure12.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - $signature: 101 + $signature: 79 }; A._$serializers_closure13.prototype = { call$0() { @@ -105518,195 +104962,195 @@ call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - $signature: 73 + $signature: 76 }; A._$serializers_closure15.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - $signature: 73 + $signature: 76 }; A._$serializers_closure16.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - $signature: 73 + $signature: 76 }; A._$serializers_closure17.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); }, - $signature: 98 + $signature: 81 }; A._$serializers_closure18.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); }, - $signature: 105 + $signature: 104 }; A._$serializers_closure19.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure20.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure21.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Extension); }, - $signature: 304 + $signature: 302 }; A._$serializers_closure22.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); }, - $signature: 108 + $signature: 107 }; A._$serializers_closure23.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Domain); }, - $signature: 73 + $signature: 76 }; A._$serializers_closure24.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Loopout); }, - $signature: 306 + $signature: 304 }; A._$serializers_closure25.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverData); }, - $signature: 307 + $signature: 305 }; A._$serializers_closure26.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.BuiltList_int); }, - $signature: 101 + $signature: 79 }; A._$serializers_closure27.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.MouseoverParams); }, - $signature: 308 + $signature: 306 }; A._$serializers_closure28.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Point_double); }, - $signature: 309 + $signature: 307 }; A._$serializers_closure29.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectModeChoice); }, - $signature: 310 + $signature: 308 }; A._$serializers_closure30.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); }, - $signature: 109 + $signature: 108 }; A._$serializers_closure31.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Selectable); }, - $signature: 109 + $signature: 108 }; A._$serializers_closure32.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification3Prime); }, - $signature: 312 + $signature: 310 }; A._$serializers_closure33.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModification5Prime); }, - $signature: 313 + $signature: 311 }; A._$serializers_closure34.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableModificationInternal); }, - $signature: 314 + $signature: 312 }; A._$serializers_closure35.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure36.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure37.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure38.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure39.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.SelectableTrait); }, - $signature: 315 + $signature: 313 }; A._$serializers_closure40.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure41.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure42.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); }, - $signature: 98 + $signature: 81 }; A._$serializers_closure43.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.String, type$.HelixGroup); }, - $signature: 105 + $signature: 104 }; A._$serializers_closure44.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure45.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure46.prototype = { call$0() { @@ -105719,56 +105163,56 @@ var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure48.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Strand); }, - $signature: 33 + $signature: 31 }; A._$serializers_closure49.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure50.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.String); }, - $signature: 93 + $signature: 83 }; A._$serializers_closure51.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.String); }, - $signature: 93 + $signature: 83 }; A._$serializers_closure52.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.String); }, - $signature: 93 + $signature: 83 }; A._$serializers_closure53.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Substrand); }, - $signature: 171 + $signature: 315 }; A._$serializers_closure54.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.ModificationInternal); }, - $signature: 318 + $signature: 316 }; A._$serializers_closure55.prototype = { call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.UndoableAction); }, - $signature: 319 + $signature: 171 }; A._$serializers_closure56.prototype = { call$0() { @@ -105816,7 +105260,7 @@ call$0() { return A.ListBuilder_ListBuilder(B.List_empty, type$.Insertion); }, - $signature: 108 + $signature: 107 }; A._$serializers_closure64.prototype = { call$0() { @@ -105834,76 +105278,76 @@ call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Helix); }, - $signature: 98 + $signature: 81 }; A._$serializers_closure67.prototype = { call$0() { return A.MapBuilder_MapBuilder(B.Map_empty, type$.int, type$.Strand); }, - $signature: 320 + $signature: 318 }; A._$serializers_closure68.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure69.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure70.prototype = { call$0() { var t1 = type$.int; return A.MapBuilder_MapBuilder(B.Map_empty, t1, t1); }, - $signature: 43 + $signature: 42 }; A._$serializers_closure71.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); }, - $signature: 112 + $signature: 111 }; A._$serializers_closure72.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.EditModeChoice); }, - $signature: 112 + $signature: 111 }; A._$serializers_closure73.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.int); }, - $signature: 322 + $signature: 320 }; A._$serializers_closure74.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); }, - $signature: 142 + $signature: 112 }; A._$serializers_closure75.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.SelectModeChoice); }, - $signature: 142 + $signature: 112 }; A._$serializers_closure76.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.Selectable); }, - $signature: 324 + $signature: 322 }; A._$serializers_closure77.prototype = { call$0() { return A.SetBuilder_SetBuilder(B.List_empty, type$.String); }, - $signature: 325 + $signature: 323 }; A.Address.prototype = { toString$0(_) { @@ -105947,7 +105391,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -105964,19 +105408,19 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_address$_$this()._helix_idx = t1; break; case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_address$_$this()._offset = t1; break; case "forward": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_address$_$this()._address$_forward = t1; @@ -105991,7 +105435,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_liY; + return B.List_5e2; }, get$wireName() { return "Address"; @@ -106000,7 +105444,7 @@ 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)]; + return ["helix_idx_delta", serializers.serialize$2$specifiedType(object.helix_idx_delta, B.FullType_xEI), "offset_delta", serializers.serialize$2$specifiedType(object.offset_delta, B.FullType_xEI), "forward_delta", serializers.serialize$2$specifiedType(object.forward_delta, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -106017,19 +105461,19 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx_delta": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_address$_$this()._helix_idx_delta = t1; break; case "offset_delta": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_address$_$this()._offset_delta = t1; break; case "forward_delta": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_address$_$this()._forward_delta = t1; @@ -106044,7 +105488,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_xTK; + return B.List_Aa4; }, get$wireName() { return "AddressDifference"; @@ -106066,7 +105510,7 @@ return false; if (other === _this) return true; - return other instanceof A.Address && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; + return other instanceof A._$Address && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; }, get$hashCode(_) { return 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))); @@ -106111,7 +105555,7 @@ return false; if (other === _this) return true; - 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; + 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; }, 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))); @@ -106203,22 +105647,19 @@ return false; if (other === _this) return true; - return other instanceof A.AppState && J.$eq$(_this.maybe_design, other.maybe_design) && _this.ui_state.$eq(0, other.ui_state) && _this.undo_redo.$eq(0, other.undo_redo) && _this.error_message == other.error_message; + return other instanceof A._$AppState && J.$eq$(_this.maybe_design, other.maybe_design) && _this.ui_state.$eq(0, other.ui_state) && _this.undo_redo.$eq(0, other.undo_redo) && _this.error_message == other.error_message; }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._app_state$__hashCode; if (t1 != null) return t1; - t1 = _this.ui_state; - t2 = _this.undo_redo; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.maybe_design)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), J.get$hashCode$(_this.error_message))); - t2 = _this._app_state$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, J.get$hashCode$(_this.maybe_design)), _this.ui_state.get$hashCode(0)), _this.undo_redo.get$hashCode(0)), J.get$hashCode$(_this.error_message))); + t1 = _this._app_state$__hashCode; + if (t1 == null) { _this._app_state$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -106363,86 +105804,86 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["selectables_store", serializers.serialize$2$specifiedType(object.selectables_store, B.FullType_27z), "drawing_potential_crossover", serializers.serialize$2$specifiedType(object.drawing_potential_crossover, B.FullType_mpw), "dna_ends_are_moving", serializers.serialize$2$specifiedType(object.dna_ends_are_moving, B.FullType_mpw), "helix_group_is_moving", serializers.serialize$2$specifiedType(object.helix_group_is_moving, B.FullType_mpw), "show_load_dialog", serializers.serialize$2$specifiedType(object.show_load_dialog, B.FullType_mpw), "slice_bar_is_moving", serializers.serialize$2$specifiedType(object.slice_bar_is_moving, B.FullType_mpw), "selection_box_displayed_main", serializers.serialize$2$specifiedType(object.selection_box_displayed_main, B.FullType_mpw), "selection_box_displayed_side", serializers.serialize$2$specifiedType(object.selection_box_displayed_side, B.FullType_mpw), "dna_assign_options", serializers.serialize$2$specifiedType(object.dna_assign_options, B.FullType_cg9), "helix_change_apply_to_all", serializers.serialize$2$specifiedType(object.helix_change_apply_to_all, B.FullType_mpw), "mouseover_datas", serializers.serialize$2$specifiedType(object.mouseover_datas, B.FullType_46c), "example_designs", serializers.serialize$2$specifiedType(object.example_designs, B.FullType_O1c), "changed_since_last_save", serializers.serialize$2$specifiedType(object.changed_since_last_save, B.FullType_mpw), "dna_sequence_png_horizontal_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_horizontal_offset, B.FullType_5AK), "dna_sequence_png_vertical_offset", serializers.serialize$2$specifiedType(object.dna_sequence_png_vertical_offset, B.FullType_5AK), "is_zoom_above_threshold", serializers.serialize$2$specifiedType(object.is_zoom_above_threshold, B.FullType_mpw), "storables", serializers.serialize$2$specifiedType(object.storables, B.FullType_td2), "original_helix_offsets", serializers.serialize$2$specifiedType(object.original_helix_offsets, B.FullType_fFi)]; value = object.strands_move; if (value != null) { result.push("strands_move"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_VSS)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_6z6)); } value = object.domains_move; if (value != null) { result.push("domains_move"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_KIf)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_u1z)); } value = object.copy_info; if (value != null) { result.push("copy_info"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_miO)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_8Sf)); } value = object.selection_rope; if (value != null) { result.push("selection_rope"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_H1G)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xw8)); } value = object.last_mod_5p; if (value != null) { result.push("last_mod_5p"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_8eb)); } value = object.last_mod_3p; if (value != null) { result.push("last_mod_3p"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p0)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_8eb0)); } value = object.last_mod_int; if (value != null) { result.push("last_mod_int"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_eR6)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_W7E)); } value = object.dialog; if (value != null) { result.push("dialog"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Azp)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_gIi)); } value = object.color_picker_strand; if (value != null) { result.push("color_picker_strand"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_w0x)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_knt)); } value = object.color_picker_substrand; if (value != null) { result.push("color_picker_substrand"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_S4t)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_qBm)); } value = object.strand_creation; if (value != null) { result.push("strand_creation"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_O92)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Myy)); } 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)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_yPV)); } 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)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uvw)); } value = object.context_menu; if (value != null) { result.push("context_menu"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Z6u)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_NjO)); } 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)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } 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)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_UIa)); } return result; }, @@ -106475,7 +105916,7 @@ t30 = t31; } else t30 = t31; - t31 = serializers.deserialize$2$specifiedType(value, B.FullType_y5f); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_27z); t31.toString; t27._as(t31); t30._selectable$_$v = t31; @@ -106484,7 +105925,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_6z6); t31.toString; t26._as(t31); t30._strands_move$_$v = t31; @@ -106493,7 +105934,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_u1z); t31.toString; t25._as(t31); t30._domains_move$_$v = t31; @@ -106502,49 +105943,49 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8Sf); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(t30); result.get$_app_ui_state$_$this()._selection_box_displayed_side = t30; @@ -106563,13 +106004,13 @@ t30 = t31; } else t30 = t31; - t31 = serializers.deserialize$2$specifiedType(value, B.FullType_eRS); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_cg9); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(t30); result.get$_app_ui_state$_$this()._helix_change_apply_to_all = t30; @@ -106578,7 +106019,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_xw8); t31.toString; t22._as(t31); t30._selection_rope$_$v = t31; @@ -106587,7 +106028,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb); t31.toString; t21._as(t31); t30._modification$_$v = t31; @@ -106596,7 +106037,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb0); t31.toString; t20._as(t31); t30._modification$_$v = t31; @@ -106605,7 +106046,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_W7E); t31.toString; t19._as(t31); t30._modification$_$v = t31; @@ -106621,7 +106062,7 @@ t30 = t31; } else t30 = t31; - t31 = serializers.deserialize$2$specifiedType(value, B.FullType_yLX); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_46c); t31.toString; t15._as(t31); t32 = t30.$ti; @@ -106652,7 +106093,7 @@ t30 = t31; } else t30 = t31; - t31 = serializers.deserialize$2$specifiedType(value, B.FullType_Auo); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_O1c); t31.toString; t10._as(t31); t30._example_designs$_$v = t31; @@ -106661,7 +106102,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_gIi); t31.toString; t9._as(t31); t30._dialog$_$v = t31; @@ -106670,20 +106111,20 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); 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)); + t30 = t7._as(serializers.deserialize$2$specifiedType(value, B.FullType_qBm)); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_Myy); t31.toString; t6._as(t31); t30._strand_creation$_$v = t31; @@ -106692,42 +106133,42 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_yPV); 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))); + t30 = t4._as(t4._as(serializers.deserialize$2$specifiedType(value, B.FullType_uvw))); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_NjO); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(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)); + t30 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t30.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t30.toString; A._asDouble(t30); result.get$_app_ui_state$_$this()._dna_sequence_png_vertical_offset = t30; @@ -106736,13 +106177,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_UIa); t31.toString; t2._as(t31); t30._$v = t31; break; case "is_zoom_above_threshold": - t30 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t30 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t30.toString; A._asBool(t30); result.get$_app_ui_state$_$this()._is_zoom_above_threshold = t30; @@ -106757,14 +106198,14 @@ t30 = t31; } else t30 = t31; - t31 = serializers.deserialize$2$specifiedType(value, B.FullType_wEo); + t31 = serializers.deserialize$2$specifiedType(value, B.FullType_td2); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_fFi); t31.toString; t30.replace$1(0, t31); break; @@ -106778,7 +106219,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_cMx; + return B.List_wHc; }, get$wireName() { return "AppUIState"; @@ -106801,26 +106242,19 @@ return false; if (other === _this) return true; - return other instanceof A.AppUIState && _this.selectables_store.$eq(0, 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) && _this.mouseover_datas.$eq(0, other.mouseover_datas) && _this.example_designs.$eq(0, 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 && _this.storables.$eq(0, other.storables) && _this.original_helix_offsets.$eq(0, other.original_helix_offsets); + return other instanceof A._$AppUIState && _this.selectables_store.$eq(0, 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) && _this.mouseover_datas.$eq(0, other.mouseover_datas) && _this.example_designs.$eq(0, 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 && _this.storables.$eq(0, other.storables) && _this.original_helix_offsets.$eq(0, other.original_helix_offsets); }, get$hashCode(_) { - var t2, t3, t4, t5, t6, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._app_ui_state$__hashCode; if (t1 != null) return t1; - t1 = _this.selectables_store; - t2 = _this.dna_assign_options; - t3 = _this.mouseover_datas; - t4 = _this.example_designs; - t5 = _this.storables; - t6 = _this.original_helix_offsets; - _$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, t1.get$hashCode(t1)), 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)), t2.get$hashCode(t2)), 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)), t3.get$hashCode(t3)), t4.get$hashCode(t4)), 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)), t5.get$hashCode(t5)), t6.get$hashCode(t6))); - t6 = _this._app_ui_state$__hashCode; - if (t6 == null) { + _$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, _this.selectables_store.get$hashCode(0)), 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)), _this.dna_assign_options.get$hashCode(0)), 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)), _this.mouseover_datas.get$hashCode(0)), _this.example_designs.get$hashCode(0)), 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)), _this.storables.get$hashCode(0)), _this.original_helix_offsets.get$hashCode(0))); + t1 = _this._app_ui_state$__hashCode; + if (t1 == null) { _this._app_ui_state$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t6; + } return t1; }, toString$0(_) { @@ -107113,7 +106547,7 @@ t2 = $$v.original_helix_offsets; 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.set$_original_helix_offsets(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._app_ui_state$_$v = null; } return _this; @@ -107309,11 +106743,11 @@ 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), string$.export, serializers.serialize$2$specifiedType(object.export_base_pair_lines_if_other_strand_not_selected, 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$.displax5f, 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)]; + result = ["select_mode_state", serializers.serialize$2$specifiedType(object.select_mode_state, B.FullType_wie), "edit_modes", serializers.serialize$2$specifiedType(object.edit_modes, B.FullType_soA), "side_selected_helix_idxs", serializers.serialize$2$specifiedType(object.side_selected_helix_idxs, B.FullType_yXb), "autofit", serializers.serialize$2$specifiedType(object.autofit, B.FullType_mpw), "show_dna", serializers.serialize$2$specifiedType(object.show_dna, B.FullType_mpw), "show_strand_names", serializers.serialize$2$specifiedType(object.show_strand_names, B.FullType_mpw), "show_strand_labels", serializers.serialize$2$specifiedType(object.show_strand_labels, B.FullType_mpw), "show_domain_names", serializers.serialize$2$specifiedType(object.show_domain_names, B.FullType_mpw), "show_domain_labels", serializers.serialize$2$specifiedType(object.show_domain_labels, B.FullType_mpw), "base_pair_display_type", serializers.serialize$2$specifiedType(object.base_pair_display_type, B.FullType_Wxi), "show_base_pair_lines", serializers.serialize$2$specifiedType(object.show_base_pair_lines, B.FullType_mpw), string$.export, serializers.serialize$2$specifiedType(object.export_base_pair_lines_if_other_strand_not_selected, B.FullType_mpw), "show_base_pair_lines_with_mismatches", serializers.serialize$2$specifiedType(object.show_base_pair_lines_with_mismatches, B.FullType_mpw), "strand_name_font_size", serializers.serialize$2$specifiedType(object.strand_name_font_size, B.FullType_5AK), "strand_label_font_size", serializers.serialize$2$specifiedType(object.strand_label_font_size, B.FullType_5AK), "domain_name_font_size", serializers.serialize$2$specifiedType(object.domain_name_font_size, B.FullType_5AK), "domain_label_font_size", serializers.serialize$2$specifiedType(object.domain_label_font_size, B.FullType_5AK), "show_modifications", serializers.serialize$2$specifiedType(object.show_modifications, B.FullType_mpw), "show_mismatches", serializers.serialize$2$specifiedType(object.show_mismatches, B.FullType_mpw), "show_domain_name_mismatches", serializers.serialize$2$specifiedType(object.show_domain_name_mismatches, B.FullType_mpw), "show_unpaired_insertion_deletions", serializers.serialize$2$specifiedType(object.show_unpaired_insertion_deletions, B.FullType_mpw), "show_oxview", serializers.serialize$2$specifiedType(object.show_oxview, B.FullType_mpw), "show_slice_bar", serializers.serialize$2$specifiedType(object.show_slice_bar, B.FullType_mpw), "show_mouseover_data", serializers.serialize$2$specifiedType(object.show_mouseover_data, B.FullType_mpw), "only_display_selected_helices", serializers.serialize$2$specifiedType(object.only_display_selected_helices, B.FullType_mpw), "modification_font_size", serializers.serialize$2$specifiedType(object.modification_font_size, B.FullType_5AK), "major_tick_offset_font_size", serializers.serialize$2$specifiedType(object.major_tick_offset_font_size, B.FullType_5AK), "major_tick_width_font_size", serializers.serialize$2$specifiedType(object.major_tick_width_font_size, B.FullType_5AK), "zoom_speed", serializers.serialize$2$specifiedType(object.zoom_speed, B.FullType_5AK), "modification_display_connector", serializers.serialize$2$specifiedType(object.modification_display_connector, B.FullType_mpw), "strand_paste_keep_color", serializers.serialize$2$specifiedType(object.strand_paste_keep_color, B.FullType_mpw), "display_base_offsets_of_major_ticks", serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks, B.FullType_mpw), string$.displax5f, serializers.serialize$2$specifiedType(object.display_base_offsets_of_major_ticks_only_first_helix, B.FullType_mpw), "display_major_tick_widths", serializers.serialize$2$specifiedType(object.display_major_tick_widths, B.FullType_mpw), "display_major_tick_widths_all_helices", serializers.serialize$2$specifiedType(object.display_major_tick_widths_all_helices, B.FullType_mpw), "loaded_filename", serializers.serialize$2$specifiedType(object.loaded_filename, B.FullType_iHz), "loaded_script_filename", serializers.serialize$2$specifiedType(object.loaded_script_filename, B.FullType_iHz), "invert_y", serializers.serialize$2$specifiedType(object.invert_y, B.FullType_mpw), "dynamically_update_helices", serializers.serialize$2$specifiedType(object.dynamically_update_helices, B.FullType_mpw), "warn_on_exit_if_unsaved", serializers.serialize$2$specifiedType(object.warn_on_exit_if_unsaved, B.FullType_mpw), "show_helix_circles_main_view", serializers.serialize$2$specifiedType(object.show_helix_circles_main_view, B.FullType_mpw), "show_helix_components_main_view", serializers.serialize$2$specifiedType(object.show_helix_components_main_view, B.FullType_mpw), "show_edit_mode_menu", serializers.serialize$2$specifiedType(object.show_edit_mode_menu, B.FullType_mpw), "show_grid_coordinates_side_view", serializers.serialize$2$specifiedType(object.show_grid_coordinates_side_view, B.FullType_mpw), "show_helices_axis_arrows", serializers.serialize$2$specifiedType(object.show_helices_axis_arrows, B.FullType_mpw), "show_loopout_extension_length", serializers.serialize$2$specifiedType(object.show_loopout_extension_length, B.FullType_mpw), string$.defaulc, serializers.serialize$2$specifiedType(object.default_crossover_type_scaffold_for_setting_helix_rolls, B.FullType_mpw), string$.default, serializers.serialize$2$specifiedType(object.default_crossover_type_staple_for_setting_helix_rolls, B.FullType_mpw), "local_storage_design_choice", serializers.serialize$2$specifiedType(object.local_storage_design_choice, B.FullType_r0y), string$.clear_, serializers.serialize$2$specifiedType(object.clear_helix_selection_when_loading_new_design, B.FullType_mpw), "displayed_group_name", serializers.serialize$2$specifiedType(object.displayed_group_name, B.FullType_iHz), "disable_png_caching_dna_sequences", serializers.serialize$2$specifiedType(object.disable_png_caching_dna_sequences, B.FullType_mpw), "retain_strand_color_on_selection", serializers.serialize$2$specifiedType(object.retain_strand_color_on_selection, B.FullType_mpw), "display_reverse_DNA_right_side_up", serializers.serialize$2$specifiedType(object.display_reverse_DNA_right_side_up, B.FullType_mpw), "selection_box_intersection", serializers.serialize$2$specifiedType(object.selection_box_intersection, B.FullType_mpw), "export_svg_text_separately", serializers.serialize$2$specifiedType(object.export_svg_text_separately, B.FullType_mpw), "ox_export_only_selected_strands", serializers.serialize$2$specifiedType(object.ox_export_only_selected_strands, B.FullType_mpw)]; value = object.slice_bar_offset; if (value != null) { result.push("slice_bar_offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -107346,7 +106780,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_6ha); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_wie); t10.toString; t6._as(t10); t9._select_mode_state$_$v = t10; @@ -107361,7 +106795,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_kiE); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_soA); t10.toString; t9.replace$1(0, t3._as(t10)); break; @@ -107375,276 +106809,276 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MQk); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); t10.toString; t9.replace$1(0, t3._as(t10)); break; case "autofit": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._autofit = t9; break; case "show_dna": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_Wxi); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._show_base_pair_lines = t9; break; case string$.export: - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._export_base_pair_lines_if_other_strand_not_selected = t9; break; case "show_base_pair_lines_with_mismatches": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t9.toString; A._asDouble(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._display_base_offsets_of_major_ticks = t9; break; case string$.displax5f: - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t9.toString; A._asString(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 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t9.toString; A._asString(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._default_crossover_type_staple_for_setting_helix_rolls = t9; @@ -107653,59 +107087,59 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_r0y); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t9.toString; A._asString(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)); + t9 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_app_ui_state_storables$_$this()._ox_export_only_selected_strands = t9; @@ -107720,7 +107154,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_s9c; + return B.List_WRr; }, get$wireName() { return "AppUIStateStorables"; @@ -107743,24 +107177,19 @@ return false; if (other === _this) return true; - return other instanceof A.AppUIStateStorables && _this.select_mode_state.$eq(0, other.select_mode_state) && _this.edit_modes.$eq(0, other.edit_modes) && _this.side_selected_helix_idxs.$eq(0, 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.export_base_pair_lines_if_other_strand_not_selected === other.export_base_pair_lines_if_other_strand_not_selected && _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; + return other instanceof A._$AppUIStateStorables && _this.select_mode_state.$eq(0, other.select_mode_state) && _this.edit_modes.$eq(0, other.edit_modes) && _this.side_selected_helix_idxs.$eq(0, 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.export_base_pair_lines_if_other_strand_not_selected === other.export_base_pair_lines_if_other_strand_not_selected && _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$hashCode(_) { - var t2, t3, t4, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._app_ui_state_storables$__hashCode; if (t1 != null) return t1; - t1 = _this.select_mode_state; - t2 = _this.edit_modes; - t3 = _this.side_selected_helix_idxs; - t4 = _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(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), 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.export_base_pair_lines_if_other_strand_not_selected)), 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)), t4.get$hashCode(t4)), 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))); - t4 = _this._app_ui_state_storables$__hashCode; - if (t4 == null) { + _$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(A.$jc(0, _this.select_mode_state.get$hashCode(0)), _this.edit_modes.get$hashCode(0)), _this.side_selected_helix_idxs.get$hashCode(0)), 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.export_base_pair_lines_if_other_strand_not_selected)), 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)), _this.local_storage_design_choice.get$hashCode(0)), 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; - } else - t1 = t4; + } return t1; }, toString$0(_) { @@ -108212,7 +107641,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_BasePairDisplayType_hjk; + return B.List_Type_BasePairDisplayType_SPQ; }, get$wireName() { return "BasePairDisplayType"; @@ -108317,12 +107746,12 @@ b.get$_context_menu$_$this()._disabled = _this.disabled; return b; }, - $signature: 326 + $signature: 324 }; 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)]; + return ["items", serializers.serialize$2$specifiedType(object.items, B.FullType_ezA), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -108349,7 +107778,7 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_91n); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_ezA); t8.toString; t3._as(t8); t9 = t7.$ti; @@ -108365,7 +107794,7 @@ } break; case "position": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t7.toString; t7 = t2._as(t1._as(t7)); result.get$_context_menu$_$this().set$_context_menu$_position(0, t7); @@ -108380,7 +107809,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_IAF; + return B.List_yvG; }, get$wireName() { return "ContextMenu"; @@ -108390,11 +107819,11 @@ 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)]; + result = ["title", serializers.serialize$2$specifiedType(object.title, B.FullType_iHz), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz), "disabled", serializers.serialize$2$specifiedType(object.disabled, B.FullType_mpw)]; value = object.nested; if (value != null) { result.push("nested"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_91n)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_ezA)); } return result; }, @@ -108413,13 +107842,13 @@ value = iterator.get$current(iterator); switch (t5) { case "title": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_context_menu$_$this()._context_menu$_title = t5; break; case "tooltip": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_context_menu$_$this()._context_menu$_tooltip = t5; @@ -108435,7 +107864,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_91n); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_ezA); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -108451,7 +107880,7 @@ } break; case "disabled": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_context_menu$_$this()._disabled = t5; @@ -108466,7 +107895,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_pU4; + return B.List_Mul; }, get$wireName() { return "ContextMenuItem"; @@ -108478,22 +107907,20 @@ return false; if (other === this) return true; - return other instanceof A.ContextMenu && this.items.$eq(0, other.items) && this.position.$eq(0, other.position); + return other instanceof A._$ContextMenu && this.items.$eq(0, other.items) && this.position.$eq(0, other.position); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._context_menu$__hashCode; if (t1 != null) return t1; - t1 = _this.items; - t2 = _this.position; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0))); - t2 = _this._context_menu$__hashCode; - if (t2 == null) { + t1 = _this.position; + _$hash = A.$jf(A.$jc(A.$jc(0, _this.items.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0))); + t1 = _this._context_menu$__hashCode; + if (t1 == null) { _this._context_menu$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -108533,12 +107960,12 @@ _$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; + _$result = _$result0 == null ? A._$ContextMenu$_(_this.get$items(0).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(); + _this.get$items(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -108566,7 +107993,7 @@ 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; + return other instanceof A._$ContextMenuItem && _this.title === other.title && _this.tooltip === other.tooltip && J.$eq$(_this.nested, other.nested) && _this.disabled === other.disabled; }, get$hashCode(_) { var _$hash, _this = this, @@ -108693,7 +108120,7 @@ b.get$helices_view_order_inverse().replace$1(0, _this.helices_view_order_inverse); return b; }, - $signature: 327 + $signature: 325 }; A.CopyInfo_create_strands_move_closure.prototype = { call$1(b) { @@ -108733,16 +108160,16 @@ 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)]; + result = ["strands", serializers.serialize$2$specifiedType(object.strands, B.FullType_SJV), "copied_address", serializers.serialize$2$specifiedType(object.copied_address, B.FullType_ync), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, B.FullType_0), "helices_view_order_inverse", serializers.serialize$2$specifiedType(object.helices_view_order_inverse, B.FullType_RoN)]; value = object.prev_paste_address; if (value != null) { result.push("prev_paste_address"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_KlG)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_ync)); } value = object.translation; if (value != null) { result.push("translation"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_KlG0)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_YZG)); } return result; }, @@ -108771,7 +108198,7 @@ t11 = t12; } else t11 = t12; - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t12.toString; t2._as(t12); t13 = t11.$ti; @@ -108790,7 +108217,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t12.toString; t7._as(t12); t11._address$_$v = t12; @@ -108799,7 +108226,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t12.toString; t7._as(t12); t11._address$_$v = t12; @@ -108808,7 +108235,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_YZG); t12.toString; t6._as(t12); t11._address$_$v = t12; @@ -108824,7 +108251,7 @@ t11 = t12; } else t11 = t12; - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t12.toString; t2._as(t12); t13 = t11.$ti; @@ -108849,7 +108276,7 @@ t11 = t12; } else t11 = t12; - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t12.toString; t11.replace$1(0, t12); break; @@ -108863,7 +108290,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_LU9; + return B.List_QIS; }, get$wireName() { return "CopyInfo"; @@ -108885,24 +108312,19 @@ return false; if (other === _this) return true; - return other instanceof A.CopyInfo && _this.strands.$eq(0, 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) && _this.helices_view_order.$eq(0, other.helices_view_order) && _this.helices_view_order_inverse.$eq(0, other.helices_view_order_inverse); + return other instanceof A._$CopyInfo && _this.strands.$eq(0, 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) && _this.helices_view_order.$eq(0, other.helices_view_order) && _this.helices_view_order_inverse.$eq(0, other.helices_view_order_inverse); }, get$hashCode(_) { - var t2, t3, t4, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._copy_info$__hashCode; if (t1 != null) return t1; - t1 = _this.strands; - t2 = _this.copied_address; - t3 = _this.helices_view_order; - t4 = _this.helices_view_order_inverse; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), J.get$hashCode$(_this.prev_paste_address)), J.get$hashCode$(_this.translation)), t3.get$hashCode(t3)), t4.get$hashCode(t4))); - t4 = _this._copy_info$__hashCode; - if (t4 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.strands.get$hashCode(0)), _this.copied_address.get$hashCode(0)), J.get$hashCode$(_this.prev_paste_address)), J.get$hashCode$(_this.translation)), _this.helices_view_order.get$hashCode(0)), _this.helices_view_order_inverse.get$hashCode(0))); + t1 = _this._copy_info$__hashCode; + if (t1 == null) { _this._copy_info$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t4; + } return t1; }, toString$0(_) { @@ -108999,7 +108421,7 @@ t1 = $$v.helices_view_order_inverse; 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.set$_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._copy_info$_$v = null; } return _this; @@ -109091,12 +108513,12 @@ b.get$_crossover$_$this()._crossover$_strand_id = _this.strand_id; return b; }, - $signature: 328 + $signature: 326 }; 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)]; + return ["prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, B.FullType_xEI), "next_domain_idx", serializers.serialize$2$specifiedType(object.next_domain_idx, B.FullType_xEI), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -109113,25 +108535,25 @@ value = iterator.get$current(iterator); switch (t1) { case "prev_domain_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(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 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_crossover$_$this()._next_domain_idx = t1; break; case "is_scaffold": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_crossover$_$this()._crossover$_is_scaffold = t1; break; case "strand_id": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_crossover$_$this()._crossover$_strand_id = t1; @@ -109146,7 +108568,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_go8; + return B.List_sFe; }, get$wireName() { return "Crossover"; @@ -109158,9 +108580,8 @@ return t1 == null ? this._crossover$__select_mode = A.Crossover.prototype.get$select_mode.call(this) : t1; }, get$id(_) { - var _this = this, - t1 = _this._crossover$__id; - return t1 == null ? _this._crossover$__id = A.Crossover.prototype.get$id.call(_this, _this) : t1; + var t1 = this._crossover$__id; + return t1 == null ? this._crossover$__id = A.Crossover.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { var _this = this; @@ -109168,7 +108589,7 @@ 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; + 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; }, get$hashCode(_) { var _$hash, _this = this, @@ -109249,11 +108670,10 @@ A._Crossover_Object_SelectableMixin_BuiltJsonSerializable.prototype = {}; A.Design.prototype = { helices_in_group$1(group_name) { - var t1 = this.helices, - t2 = t1.$ti; - t2 = new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>")); - t2.removeWhere$1(0, new A.Design_helices_in_group_closure(group_name)); - return A.BuiltMap_BuiltMap$from(t2, type$.int, type$.Helix); + var t1 = this.helices; + t1 = new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>")); + t1.removeWhere$1(0, new A.Design_helices_in_group_closure(group_name)); + return A.BuiltMap_BuiltMap$from(t1, type$.int, type$.Helix); }, get$is_origami() { var t1, t2, t3; @@ -109392,7 +108812,7 @@ var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, prev_dom, is_prev, _i, dom, t12, t13, 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, t2.$ti._precomputed1), t3 = type$.JSArray_Tuple2_Address_Crossover; t2.moveNext$0();) + for (t2 = this.helices.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._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, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t4 = type$.Tuple2_Address_Crossover, t5 = type$.Domain, t3 = t3._precomputed1; t2.moveNext$0();) { t6 = t2.__interceptors$_current; @@ -109437,16 +108857,7 @@ for (t2 = address_crossover_pairs.$ti._precomputed1, t3 = A.LinkedHashMapKeyIterator$(address_crossover_pairs, address_crossover_pairs._modifications, t2); t3.moveNext$0();) { t5 = address_crossover_pairs.$index(0, t3.__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); + B.JSArray_methods.sort$1(t5, new A.Design_address_crossover_pairs_by_helix_idx_closure()); } t3 = type$.BuiltList_Tuple2_Address_Crossover; t5 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t3); @@ -109466,7 +108877,7 @@ if (t5 == null) t5 = t2._as(t5); t6 = t5.__id; - t6 = t4._as(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, t5) : t6); + t6 = t4._as(t6 == null ? t5.__id = A.Strand.prototype.get$id.call(t5, 0) : t6); t3._as(t5); builder._checkKey$1(t6); builder._checkValue$1(t5); @@ -109497,7 +108908,7 @@ if (t7 == null) t7 = t6._as(t7); t8 = t7._domain$__id; - t8 = t4._as(t8 == null ? t7._domain$__id = A.Domain.prototype.get$id.call(t7, t7) : t8); + t8 = t4._as(t8 == null ? t7._domain$__id = A.Domain.prototype.get$id.call(t7, 0) : t8); t3._as(t7); builder._checkKey$1(t8); builder._checkValue$1(t7); @@ -109529,7 +108940,7 @@ if (t7 == null) t7 = t6._as(t7); t8 = t7._loopout$__id; - t8 = t4._as(t8 == null ? t7._loopout$__id = A.Loopout.prototype.get$id.call(t7, t7) : t8); + t8 = t4._as(t8 == null ? t7._loopout$__id = A.Loopout.prototype.get$id.call(t7, 0) : t8); t3._as(t7); builder._checkKey$1(t8); builder._checkValue$1(t7); @@ -109547,7 +108958,7 @@ t5 = t2._as(t5); t6 = t5.__extensions; if (t6 == null) { - t6 = A.Strand.prototype.get$extensions.call(t5, t5); + t6 = A.Strand.prototype.get$extensions.call(t5, 0); t5.set$__extensions(t6); t5 = t6; } else @@ -109561,7 +108972,7 @@ if (t7 == null) t7 = t6._as(t7); t8 = t7._extension$__id; - t8 = t4._as(t8 == null ? t7._extension$__id = A.Extension.prototype.get$id.call(t7, t7) : t8); + t8 = t4._as(t8 == null ? t7._extension$__id = A.Extension.prototype.get$id.call(t7, 0) : t8); t3._as(t7); builder._checkKey$1(t8); builder._checkValue$1(t7); @@ -109593,7 +109004,7 @@ if (t7 == null) t7 = t6._as(t7); t8 = t7._crossover$__id; - t8 = t4._as(t8 == null ? t7._crossover$__id = A.Crossover.prototype.get$id.call(t7, t7) : t8); + t8 = t4._as(t8 == null ? t7._crossover$__id = A.Crossover.prototype.get$id.call(t7, 0) : t8); t3._as(t7); builder._checkKey$1(t8); builder._checkValue$1(t7); @@ -109640,7 +109051,7 @@ if (t9 == null) t9 = t8._as(t9); t10 = t9._selectable$__id; - t10 = t4._as(t10 == null ? t9._selectable$__id = A.SelectableDeletion.prototype.get$id.call(t9, t9) : t10); + t10 = t4._as(t10 == null ? t9._selectable$__id = A.SelectableDeletion.prototype.get$id.call(t9, 0) : t10); t3._as(t9); builder._checkKey$1(t10); builder._checkValue$1(t9); @@ -109688,7 +109099,7 @@ if (t9 == null) t9 = t8._as(t9); t10 = t9._selectable$__id; - t10 = t4._as(t10 == null ? t9._selectable$__id = A.SelectableInsertion.prototype.get$id.call(t9, t9) : t10); + t10 = t4._as(t10 == null ? t9._selectable$__id = A.SelectableInsertion.prototype.get$id.call(t9, 0) : t10); t3._as(t9); builder._checkKey$1(t10); builder._checkValue$1(t9); @@ -109753,7 +109164,7 @@ if (t9 == null) t9 = t8.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t8); t10 = t9._dna_end$__id; - t9 = t10 == null ? t9._dna_end$__id = A.DNAEnd.prototype.get$id.call(t9, t9) : t10; + t9 = t10 == null ? t9._dna_end$__id = A.DNAEnd.prototype.get$id.call(t9, 0) : t10; t10 = t8.__dnaend_start; if (t10 == null) t10 = t8.__dnaend_start = A.Domain.prototype.get$dnaend_start.call(t8); @@ -109765,7 +109176,7 @@ t10 = t8.__dnaend_end; t9 = t10 == null ? t8.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t8) : t10; t10 = t9._dna_end$__id; - t9 = t10 == null ? t9._dna_end$__id = A.DNAEnd.prototype.get$id.call(t9, t9) : t10; + t9 = t10 == null ? t9._dna_end$__id = A.DNAEnd.prototype.get$id.call(t9, 0) : t10; t10 = t8.__dnaend_end; t8 = t10 == null ? t8.__dnaend_end = A.Domain.prototype.get$dnaend_end.call(t8) : t10; t4._as(t9); @@ -109776,7 +109187,7 @@ } t6 = t5.__extensions; if (t6 == null) { - t6 = A.Strand.prototype.get$extensions.call(t5, t5); + t6 = A.Strand.prototype.get$extensions.call(t5, 0); t5.set$__extensions(t6); t5 = t6; } else @@ -109793,7 +109204,7 @@ if (t8 == null) t8 = t7.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t7); t9 = t8._dna_end$__id; - t8 = t9 == null ? t8._dna_end$__id = A.DNAEnd.prototype.get$id.call(t8, t8) : t9; + t8 = t9 == null ? t8._dna_end$__id = A.DNAEnd.prototype.get$id.call(t8, 0) : t9; t9 = t7.__dnaend_free; t7 = t9 == null ? t7.__dnaend_free = A.Extension.prototype.get$dnaend_free.call(t7) : t9; t4._as(t8); @@ -110030,7 +109441,7 @@ t5 = t2._as(t5); t6 = t5.__extensions; if (t6 == null) { - t6 = A.Strand.prototype.get$extensions.call(t5, t5); + t6 = A.Strand.prototype.get$extensions.call(t5, 0); t5.set$__extensions(t6); t5 = t6; } else @@ -110130,8 +109541,7 @@ return A.BuiltMap_BuiltMap$of(linker_to_strand_builder, type$.Linker, type$.Strand); }, get$helix_idxs() { - var t1 = this.helices; - return A.BuiltList_BuiltList$of(t1.get$keys(t1), type$.int); + return A.BuiltList_BuiltList$of(this.helices.get$keys(0), type$.int); }, get$helix_idx_to_domains() { return A.construct_helix_idx_to_domains_map(this.strands, this.get$helix_idxs()); @@ -110301,7 +109711,7 @@ get$address_5p_to_domain() { var t1, t2, t3, t4, t5, t6, t7, 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = this.get$domains_by_id().get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -110335,7 +109745,7 @@ get$address_3p_to_domain() { var t1, t2, t3, t4, t5, t6, t7, 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = this.get$domains_by_id().get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -110532,17 +109942,13 @@ return A._BuiltList$of(crossovers, type$.PotentialVerticalCrossover); }, get$max_offset() { - var t2, - t1 = this.helices; - t1 = t1.get$values(t1); - t2 = A._instanceType(t1); + var t1 = this.helices.get$values(0), + 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)); }, get$min_offset() { - var t2, - t1 = this.helices; - t1 = t1.get$values(t1); - t2 = A._instanceType(t1); + var t1 = this.helices.get$values(0), + 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)); }, add_strands$1(new_strands) { @@ -110580,28 +109986,26 @@ }, has_default_groups$0() { var t1 = this.groups._map$_map; - return t1._length === 1 && t1.containsKey$1(0, "default_group"); + return t1.__js_helper$_length === 1 && t1.containsKey$1(0, "default_group"); }, 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; - return B.JSArray_methods.get$first(A.List_List$from(t1.get$values(t1), true, type$.HelixGroup)); + return B.JSArray_methods.get$first(A.List_List$from(this.groups.get$values(0), true, type$.HelixGroup)); }, get$grid(_) { return this.default_group$0().grid; }, to_json_serializable$1$suppress_indent(suppress_indent) { - var group_map, t5, t6, t7, t8, t9, t10, json_map0, t11, pos, helices_view_order_to_write, t12, use_no_indent, gp, distances, t13, ticks, helix_json, default_max_end, helices_view_order, order, _i, mod_type, mods_map, _this = this, + var t4, group_map, t5, t6, t7, t8, t9, t10, json_map0, t11, pos, helices_view_order_to_write, t12, use_no_indent, gp, distances, ticks, helix_json, default_max_end, helices_view_order, order, _i, mod_type, mods_map, _this = this, _s8_ = "geometry", _s8_0 = "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.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t3._mapFactory, t3._map$_map, t4._eval$1("@<1>")._bind$1(t4._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + t3 = _this.unused_fields; + json_map.addAll$1(0, new A.CopyOnWriteMap(t3._mapFactory, t3._map$_map, t3.$ti._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; @@ -110610,7 +110014,7 @@ json_map.$indexSet(0, _s8_, t3.to_json_serializable$1$suppress_indent(suppress_indent)); 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, t4.$ti._precomputed1), t5 = type$.int, t6 = type$.Iterable_int, t7 = type$.double, t3 = t3._map$_map; t4.moveNext$0();) { + for (t3 = _this.groups, t4 = t3.get$keys(0), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._precomputed1), t5 = type$.int, t6 = type$.Iterable_int, t7 = type$.double, t3 = t3._map$_map; t4.moveNext$0();) { t8 = t4.__js_helper$_current; t9 = t3.$index(0, t8); t9.toString; @@ -110627,13 +110031,13 @@ pos = A.LinkedHashMap_LinkedHashMap$_literal(["x", t11.x, "y", t11.y, "z", t11.z], t1, t7); json_map0.$indexSet(0, _s8_0, suppress_indent ? new A.NoIndent(pos) : pos); t11 = t9.pitch; - if (!(Math.abs(t11 - 0) < 1e-9)) + if (!(Math.abs(t11) < 1e-9)) json_map0.$indexSet(0, "pitch", t11); t11 = t9.roll; - if (!(Math.abs(t11 - 0) < 1e-9)) + if (!(Math.abs(t11) < 1e-9)) json_map0.$indexSet(0, "roll", t11); t11 = t9.yaw; - if (!(Math.abs(t11 - 0) < 1e-9)) + if (!(Math.abs(t11) < 1e-9)) json_map0.$indexSet(0, "yaw", t11); json_map0.$indexSet(0, "grid", t9.grid.name); if (!A.helices_view_order_is_default(A.BuiltList_BuiltList$of(t10, t5), t9)) { @@ -110650,7 +110054,7 @@ } 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 = t7._eval$1("@<1>")._bind$1(t7._rest[1]), t6 = new A.MappedIterator(J.get$iterator$ax(t6.__internal$_iterable), t6._f, t7._eval$1("MappedIterator<1,2>")), t7 = t7._rest[1], t8 = type$.JSArray_int, t9 = type$.double; t6.moveNext$0();) { + for (t5 = _this.helices, t6 = t5.get$values(0), t7 = A._instanceType(t6), t6 = new A.MappedIterator(J.get$iterator$ax(t6.__internal$_iterable), t6._f, t7._eval$1("MappedIterator<1,2>")), t7 = t7._rest[1], t8 = type$.JSArray_int, t9 = type$.double; t6.moveNext$0();) { t10 = t6.__internal$_current; if (t10 == null) t10 = t7._as(t10); @@ -110699,8 +110103,7 @@ json_map0.$indexSet(0, "major_tick_periodic_distances", suppress_indent && !use_no_indent ? new A.NoIndent(distances) : distances); } t12 = t10.unused_fields; - t13 = t12.$ti; - json_map0.addAll$1(0, new A.CopyOnWriteMap(t12._mapFactory, t12._map$_map, t13._eval$1("@<1>")._bind$1(t13._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map0.addAll$1(0, new A.CopyOnWriteMap(t12._mapFactory, t12._map$_map, t12.$ti._eval$1("CopyOnWriteMap<1,2>"))); t12 = t10.__has_default_major_ticks; if (!(t12 == null ? t10.__has_default_major_ticks = A.Helix.prototype.get$has_default_major_ticks.call(t10) : t12)) { t10 = t10.major_ticks; @@ -110710,10 +110113,10 @@ json_map0.$indexSet(0, "idx", t11); t4.$indexSet(0, t11, suppress_indent && use_no_indent ? new A.NoIndent(json_map0) : json_map0); } - t6 = t4.get$values(t4); + t6 = t4.get$values(0); 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 = t6._eval$1("@<1>")._bind$1(t6._rest[1]), t5 = new A.MappedIterator(J.get$iterator$ax(t5.__internal$_iterable), t5._f, t6._eval$1("MappedIterator<1,2>")), t7 = _this.strands, t6 = t6._rest[1]; t5.moveNext$0();) { + for (t5 = t5.get$values(0), t6 = A._instanceType(t5), t5 = new A.MappedIterator(J.get$iterator$ax(t5.__internal$_iterable), t5._f, t6._eval$1("MappedIterator<1,2>")), t7 = _this.strands, t6 = t6._rest[1]; t5.moveNext$0();) { t8 = t5.__internal$_current; if (t8 == null) t8 = t6._as(t8); @@ -110727,7 +110130,7 @@ if (_this.has_nondefault_min_offset$1(t8)) J.$indexSet$ax(helix_json, "min_offset", t8.min_offset); } - t4 = t4.get$values(t4); + t4 = t4.get$values(0); 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; @@ -110746,7 +110149,7 @@ 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); + json_map.$indexSet(0, mod_type.get$key(0), mods_map); } } t1 = A._setArrayType([], type$.JSArray_Map_String_dynamic); @@ -110785,13 +110188,10 @@ for (t2 = this.strands._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { t4 = t2.__interceptors$_current; t4 = (t4 == null ? t3._as(t4) : t4).modifications_int; - if (t4._values == null) { - t5 = t4._map$_map; - t4.set$_values(t5.get$values(t5)); - } + if (t4._values == null) + t4.set$_values(t4._map$_map.get$values(0)); t4 = t4._values; t5 = A._instanceType(t4); - t5 = t5._eval$1("@<1>")._bind$1(t5._rest[1]); t4 = new A.MappedIterator(J.get$iterator$ax(t4.__internal$_iterable), t4._f, t5._eval$1("MappedIterator<1,2>")); t5 = t5._rest[1]; for (; t4.moveNext$0();) { @@ -110805,7 +110205,7 @@ }, 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), + min_start = starts.get$length(0) === 0 ? null : A.IterableIntegerExtension_get_min(starts), t1 = min_start == null || min_start >= 0, t2 = helix.min_offset; if (t1) @@ -110815,7 +110215,7 @@ }, _check_helix_offsets$0() { var t1, t2, t3, t4, t5; - for (t1 = this.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = this.helices.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1]; t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -110885,7 +110285,7 @@ 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, t1.$ti._precomputed1), t2 = type$.JSArray_Domain, t3 = type$.Tuple3_int_bool_Domain, t4 = type$.JSArray_Tuple3_int_bool_Domain; t1.moveNext$0();) { + for (t1 = this.helices.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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); @@ -110897,14 +110297,7 @@ 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); + B.JSArray_methods.sort$1(offsets_data, new A.Design_check_strands_overlap_legally_closure()); 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]; @@ -110944,9 +110337,9 @@ 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, t3.$ti._precomputed1), t4 = type$.JSArray_int; t3.moveNext$0();) + for (t3 = this.groups.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._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, t4.$ti._precomputed1), t3 = t3._map$_map; t4.moveNext$0();) { + for (t3 = this.helices, t4 = t3.get$keys(0), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._precomputed1), t3 = t3._map$_map; t4.moveNext$0();) { t5 = t4.__js_helper$_current; t6 = t3.$index(0, t5); t6.toString; @@ -110968,7 +110361,7 @@ }, _check_grid_positions_disjoint$0() { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, 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, t2.$ti._precomputed1), t3 = _this.helices._map$_map, t4 = type$.int, t5 = type$.GridPosition, t1 = t1._map$_map; t2.moveNext$0();) { + for (t1 = _this.groups, t2 = t1.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = _this.helices._map$_map, t4 = type$.int, t5 = type$.GridPosition, t1 = t1._map$_map; t2.moveNext$0();) { t6 = t2.__js_helper$_current; t7 = t1.$index(0, t6); t7.toString; @@ -110990,7 +110383,7 @@ t12.toString; t8.$indexSet(0, t11, t12); } - for (i = 0; i < t8._length - 1; i = j) { + for (i = 0; i < t8.__js_helper$_length - 1; i = j) { if (!(i < t7.length)) return A.ioore(t7, i); idx1 = t7[i]; @@ -111040,65 +110433,67 @@ return unpaireds; }, _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", + var offset, t1, t2, t3, t4, t5, other_domain, t6, t7, dna_idx, t8, length_insertion_domain, idx_other, t9, 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._list; offset < t1; ++offset) { - if (B.JSArray_methods.contains$1(t6, offset)) + for (offset = domain.start, t1 = domain.end, t2 = mismatches.$ti, t3 = t2._precomputed1, t4 = domain.forward, t2 = t2._eval$1("List<1>"), t5 = domain.deletions._list; offset < t1; ++offset) { + if (B.JSArray_methods.contains$1(t5, 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); + t6 = domain.dna_sequence_in$2(offset, offset); + t6.toString; + t7 = other_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; + t7 = t3._as(new A.Mismatch(dna_idx, offset, t6.length === 1 ? -1 : 0)); + $.$get$isSoundMode(); 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))); + t6 = mismatches.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + mismatches.set$__ListBuilder__list_A(t2._as(A.List_List$from(t6, true, t3))); mismatches.set$_listOwner(null); } - t7 = mismatches.__ListBuilder__list_A; - t7 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.add$1(t7, t8); + t6 = mismatches.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t6, t7); 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); + t8 = domain.__insertion_offset_to_length; + if (t8 == null) { + t8 = A.Domain.prototype.get$insertion_offset_to_length.call(domain); + domain.set$__insertion_offset_to_length(t8); } - 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); + length_insertion_domain = t8._map$_map.$index(0, offset); + t8 = other_domain.__insertion_offset_to_length; + if (t8 == null) { + t8 = A.Domain.prototype.get$insertion_offset_to_length.call(other_domain); + other_domain.set$__insertion_offset_to_length(t8); } - if (length_insertion_domain != t9._map$_map.$index(0, offset)) { + if (length_insertion_domain != t8._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; + t7 = t3._as(new A.Mismatch(dna_idx, offset, t6.length === 1 ? -1 : 0)); + $.$get$isSoundMode(); 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))); + t6 = mismatches.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + mismatches.set$__ListBuilder__list_A(t2._as(A.List_List$from(t6, true, t3))); mismatches.set$_listOwner(null); } - t7 = mismatches.__ListBuilder__list_A; - t7 === $ && A.throwLateFieldNI(_s5_); - B.JSArray_methods.add$1(t7, t8); + t6 = mismatches.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI(_s5_); + B.JSArray_methods.add$1(t6, t7); 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))) { + for (t8 = t6.length, idx_other = t8 - 1, t9 = t7.length, t10 = t8 === 1, idx = 0; idx < t8; ++idx, --idx_other) { + if (!(idx_other >= 0 && idx_other < t9)) + return A.ioore(t7, idx_other); + if (t6.charCodeAt(idx) !== A._wc(t7.charCodeAt(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; + $.$get$isSoundMode(); if (mismatches._listOwner != null) { t12 = mismatches.__ListBuilder__list_A; t12 === $ && A.throwLateFieldNI(_s5_); @@ -111109,6 +110504,7 @@ t12 === $ && A.throwLateFieldNI(_s5_); B.JSArray_methods.add$1(t12, t11); } + } } return mismatches; }, @@ -111126,7 +110522,7 @@ var domains, t1 = this.get$helix_idx_to_domains()._map$_map.$index(0, helix_idx), t2 = t1._list; - t1 = A.instanceType(t1); + t1 = t1.$ti; 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))); @@ -111157,9 +110553,9 @@ var t3, t4, t5, forward_domains, _i, forward_domain, t6, t7, t8, t9, 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, t4.$ti._precomputed1), t5 = type$.JSArray_DomainNameMismatch; t4.moveNext$0();) + for (t3 = this.helices, t4 = t3.get$keys(0), t5 = t4._map, t4 = A.LinkedHashMapKeyIterator$(t5, t5._modifications, t4.$ti._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, t3.$ti._precomputed1); t3.moveNext$0();) { + for (t3 = t3.get$keys(0), t4 = t3._map, t3 = A.LinkedHashMapKeyIterator$(t4, t4._modifications, t3.$ti._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()); @@ -111414,13 +110810,13 @@ }, _ensure_helix_groups_exist$0() { var t1, t2, t3, t4, t5, t6; - for (t1 = this.helices, t1 = t1.get$values(t1), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t3 = this.groups, t4 = t3._map$_map, t2 = t2._rest[1]; t1.moveNext$0();) { + for (t1 = this.helices.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t3 = this.groups, t4 = t3._map$_map, t2 = t2._rest[1]; t1.moveNext$0();) { t5 = t1.__internal$_current; if (t5 == null) t5 = t2._as(t5); t6 = t5.group; if (!t4.containsKey$1(0, t6)) - throw A.wrapException(A.IllegalDesignError$("helix " + t5.idx + " has group " + t6 + ", which does not exist in the design. The valid groups are " + t3.get$keys(t3).join$1(0, ", "))); + throw A.wrapException(A.IllegalDesignError$("helix " + t5.idx + " has group " + t6 + ", which does not exist in the design. The valid groups are " + t3.get$keys(0).join$1(0, ", "))); } }, base_pairs_with_domain_strand$4(allow_mismatches, allow_unassigned_dna, selected_strands, include_base_pair_lines_if_other_strand_not_selected) { @@ -111429,10 +110825,10 @@ 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>"); + 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, t1.$ti._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();) { + selected_domains = A.BuiltSet_BuiltSet$of(new A.MappedIterable(new A.WhereIterable(new A.ExpandIterable(new A.EfficientLengthMappedIterable(t1, t2._eval$1("BuiltList(SetBase.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.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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); @@ -111489,14 +110885,14 @@ var t1, t2, t3, t4, t5, t6, t7, t8, t9, base_pairs_with_domain_strand = this.base_pairs_with_domain_strand$4(allow_mismatches, true, type$.BuiltSet_Strand._as(selected_strands), include_base_pair_lines_if_other_strand_not_selected), 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, t1.$ti._precomputed1), t2 = base_pairs_with_domain_strand._map$_map, t3 = type$.int, t4 = type$._BuiltList_int; t1.moveNext$0();) { + for (t1 = base_pairs_with_domain_strand.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._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 = new A._BuiltList(A.List_List$from(A.List_List$of(new A.MappedListIterable(t7, t8._eval$1("int(1)")._as(t6.$ti._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); } @@ -111527,10 +110923,10 @@ reverse_domain = t3._as(reverse_domain); t5 = t4.start; while (true) { - if (!(reverse_domain.end <= t5 && !reverse_domains.get$isEmpty(reverse_domains))) + if (!(reverse_domain.end <= t5 && !reverse_domains.get$isEmpty(0))) break; reverse_domains.removeFirst$0(); - if (!reverse_domains.get$isEmpty(reverse_domains)) { + if (!reverse_domains.get$isEmpty(0)) { t6 = reverse_domains._head; if (t6 === reverse_domains._tail) A.throwExpression(A.IterableElementError_noElement()); @@ -111552,7 +110948,7 @@ B.JSArray_methods.add$1(overlapping_domains, new A.Tuple2(t4, reverse_domain, t2)); if (reverse_domain.end <= t5) { reverse_domains.removeFirst$0(); - if (!reverse_domains.get$isEmpty(reverse_domains)) { + if (!reverse_domains.get$isEmpty(0)) { t8 = reverse_domains._head; if (t8 === reverse_domains._tail) A.throwExpression(A.IterableElementError_noElement()); @@ -111684,10 +111080,9 @@ } 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); + for (t1 = t2.get$keys(0).get$iterator(0), t2 = type$.Address, t4 = type$._BuiltList_Address, t5 = t3._precomputed1, t3 = t3._rest[1], t6 = type$.JSArray_Address; t1.moveNext$0();) { + t7 = t1.get$current(0); t8 = ret._copy_on_write_map$_map.$index(0, t7); t8.toString; t9 = A._setArrayType([], t6); @@ -111716,10 +111111,9 @@ } 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._map$_map, t7 = type$.JSArray_Address; t1.moveNext$0();) { - t8 = t1.get$current(t1); + for (t1 = t2.get$keys(0).get$iterator(0), t2 = type$.Address, t4 = type$._BuiltList_Address, t5 = t3._precomputed1, t3 = t3._rest[1], t6 = _this.helices._map$_map, t7 = type$.JSArray_Address; t1.moveNext$0();) { + t8 = t1.get$current(0); t9 = ret._copy_on_write_map$_map.$index(0, t8); t9.toString; t10 = A._setArrayType([], t7); @@ -111744,12 +111138,12 @@ call$1(b) { return type$.HelixBuilder._as(b)._helix$_build$0(); }, - $signature: 329 + $signature: 327 }; A.Design_Design_closure0.prototype = { call$1(b) { var _this = this, - t1 = b.get$geometry(b), + t1 = b.get$geometry(0), t2 = _this._box_0, t3 = t2.geometry; t3.toString; @@ -111764,20 +111158,20 @@ b.get$unused_fields().replace$1(0, _this.unused_fields); return b; }, - $signature: 330 + $signature: 328 }; A.Design__initializeBuilder_closure.prototype = { call$1(g) { return g.get$_group$_$this()._group$_grid = B.Grid_none; }, - $signature: 331 + $signature: 329 }; A.Design_helices_in_group_closure.prototype = { call$2(idx, helix) { A._asInt(idx); return type$.Helix._as(helix).group !== this.group_name; }, - $signature: 70 + $signature: 67 }; A.Design_address_crossover_pairs_by_helix_idx_closure.prototype = { call$2(address_crossover_pair1, address_crossover_pair2) { @@ -111786,31 +111180,31 @@ t1._as(address_crossover_pair2); return address_crossover_pair1.item1.offset - address_crossover_pair2.item1.offset; }, - $signature: 332 + $signature: 330 }; 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()); }, - $signature: 333 + $signature: 331 }; 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)); }, - $signature: 334 + $signature: 332 }; A.Design_max_offset_closure.prototype = { call$1(helix) { return type$.Helix._as(helix).max_offset; }, - $signature: 89 + $signature: 82 }; A.Design_min_offset_closure.prototype = { call$1(helix) { return type$.Helix._as(helix).min_offset; }, - $signature: 89 + $signature: 82 }; A.Design_add_strands_closure.prototype = { call$1(d) { @@ -111842,7 +111236,7 @@ call$1(ss) { return type$.Domain._as(ss).start; }, - $signature: 335 + $signature: 333 }; A.Design__groups_from_json_closure.prototype = { call$1(idx) { @@ -111856,19 +111250,19 @@ t1.toString; return t1; }, - $signature: 62 + $signature: 54 }; A.Design_from_json_closure.prototype = { call$1(geometry_map) { return A.Geometry_from_json(type$.Map_String_dynamic._as(geometry_map)); }, - $signature: 336 + $signature: 334 }; A.Design_from_json_closure0.prototype = { call$2(key, value) { return new A.MapEntry(A._asString(key), type$.HelixGroupBuilder._as(value)._group$_build$0(), type$.MapEntry_String_HelixGroup); }, - $signature: 337 + $signature: 335 }; A.Design_assign_modifications_to_strands_closure.prototype = { call$1(b) { @@ -111901,7 +111295,7 @@ call$3(domain1, domain2, h_idx) { return "two domains overlap on helix " + h_idx + ": \n" + domain1.toString$0(0) + "\n and\n" + domain2.toString$0(0) + "\n but have the same direction"; }, - $signature: 338 + $signature: 336 }; A.Design_check_strands_overlap_legally_closure.prototype = { call$2(d1, d2) { @@ -111914,7 +111308,7 @@ return A.iae(t1); return t2 - t1; }, - $signature: 339 + $signature: 337 }; A.Design_domains_on_helix_closure.prototype = { call$1(domain) { @@ -111938,45 +111332,45 @@ call$1(s) { return type$.Strand._as(s).substrands; }, - $signature: 340 + $signature: 338 }; A.Design_base_pairs_with_domain_strand_closure0.prototype = { call$1(x) { return type$.BuiltList_Substrand._as(x); }, - $signature: 341 + $signature: 339 }; A.Design_base_pairs_with_domain_strand_closure1.prototype = { call$1(x) { - return type$.Substrand._as(x) instanceof A.Domain; + return type$.Substrand._as(x) instanceof A._$Domain; }, - $signature: 114 + $signature: 142 }; A.Design_base_pairs_with_domain_strand_closure2.prototype = { call$1(x) { return type$.Domain._as(type$.Substrand._as(x)); }, - $signature: 343 + $signature: 341 }; A.Design__base_pairs_closure.prototype = { call$1(x) { return type$.Tuple5_int_Domain_Domain_Strand_Strand._as(x).item1; }, - $signature: 344 + $signature: 342 }; A.Design_find_overlapping_domains_on_helix_closure.prototype = { call$2(d1, d2) { var t1 = type$.Domain; return t1._as(d1).start - t1._as(d2).start; }, - $signature: 76 + $signature: 68 }; A.Design_find_overlapping_domains_on_helix_closure0.prototype = { call$2(d1, d2) { var t1 = type$.Domain; return t1._as(d1).start - t1._as(d2).start; }, - $signature: 76 + $signature: 68 }; A.Design__cadnano_v2_import_circular_strands_merge_first_last_domains_closure.prototype = { call$1(b) { @@ -111998,7 +111392,7 @@ call$1(idxs) { return J.sort$0$ax(type$.List_int._as(idxs)); }, - $signature: 149 + $signature: 103 }; A.assign_default_helices_view_orders_to_groups_closure.prototype = { call$2(key, value) { @@ -112006,14 +111400,14 @@ type$.HelixGroupBuilder._as(value); return new A.MapEntry(key, 0, type$.MapEntry_String_int); }, - $signature: 345 + $signature: 343 }; A.construct_helix_idx_to_domains_map_closure.prototype = { call$2(ss1, ss2) { var t1 = type$.Domain; return t1._as(ss1).start - t1._as(ss2).start; }, - $signature: 76 + $signature: 68 }; A.Mismatch.prototype = { toString$0(_) { @@ -112152,25 +111546,19 @@ return false; if (other === _this) return true; - return other instanceof A.Design && _this.version === other.version && _this.geometry.$eq(0, other.geometry) && _this.helices.$eq(0, other.helices) && _this.strands.$eq(0, other.strands) && _this.groups.$eq(0, other.groups) && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$Design && _this.version === other.version && _this.geometry.$eq(0, other.geometry) && _this.helices.$eq(0, other.helices) && _this.strands.$eq(0, other.strands) && _this.groups.$eq(0, other.groups) && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { - var t2, t3, t4, t5, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._design0$__hashCode; if (t1 != null) return t1; - t1 = _this.geometry; - t2 = _this.helices; - t3 = _this.strands; - t4 = _this.groups; - t5 = _this.unused_fields; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.version)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4)), t5.get$hashCode(t5))); - t5 = _this._design0$__hashCode; - if (t5 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.version)), _this.geometry.get$hashCode(0)), _this.helices.get$hashCode(0)), _this.strands.get$hashCode(0)), _this.groups.get$hashCode(0)), _this.unused_fields.get$hashCode(0))); + t1 = _this._design0$__hashCode; + if (t1 == null) { _this._design0$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t5; + } return t1; }, toString$0(_) { @@ -112357,17 +111745,17 @@ t2 = $$v.helices; 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>"))); + _this.set$_helices(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); t1 = $$v.strands; _this.set$_strands(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); t1 = $$v.groups; 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>"))); + _this.set$_groups(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.unused_fields; 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.set$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._design0$_$v = null; } return _this; @@ -112382,7 +111770,7 @@ if (_$result0 == null) { t1 = type$.String; t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_design0$_$this()._version, _s6_, "version", t1); - t3 = _this.get$geometry(_this)._geometry$_build$0(); + t3 = _this.get$geometry(0)._geometry$_build$0(); t4 = _this.get$helices().build$0(); t5 = _this.get$strands().build$0(); t6 = _this.get$groups().build$0(); @@ -112400,7 +111788,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = _s8_; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); _$failedField._value = "helices"; _this.get$helices().build$0(); _$failedField._value = "strands"; @@ -112443,7 +111831,7 @@ b.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = this.offset; return b; }, - $signature: 346 + $signature: 344 }; A.DesignSideRotationData.prototype = {}; A.DesignSideRotationData_DesignSideRotationData_closure.prototype = { @@ -112457,18 +111845,18 @@ 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; - t2 = b.get$geometry(b); + t2 = b.get$geometry(0); t1 = _this.geometry; A.ArgumentError_checkNotNull(t1, "other", type$.Geometry); t2._geometry$_$v = t1; return b; }, - $signature: 347 + $signature: 345 }; 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -112485,7 +111873,7 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._design_side_rotation_data$_$v; @@ -112497,7 +111885,7 @@ result._design_side_rotation_data$_helix_idx = t1; break; case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._design_side_rotation_data$_$v; @@ -112518,7 +111906,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gn0; + return B.List_V2D; }, get$wireName() { return "DesignSideRotationParams"; @@ -112527,7 +111915,7 @@ 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), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW)]; + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, B.FullType_Zul), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, B.FullType_Zul), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, B.FullType_5AK), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -112555,31 +111943,31 @@ t4 = t5; } else t4 = t5; - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t5.toString; t3._as(t5); t4._helix$_$v = t5; break; case "offset": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t4.toString; A._asInt(t4); result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_offset = t4; break; case "color_forward": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); t4.toString; t2._as(t4); result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_forward = t4; break; case "color_reverse": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); t4.toString; t2._as(t4); result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_color_reverse = t4; break; case "roll_forward": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t4.toString; A._asDouble(t4); result.get$_design_side_rotation_data$_$this()._design_side_rotation_data$_roll_forward = t4; @@ -112588,7 +111976,7 @@ t4 = result.get$_design_side_rotation_data$_$this(); t5 = t4._design_side_rotation_data$_geometry; t4 = t5 == null ? t4._design_side_rotation_data$_geometry = new A.GeometryBuilder() : t5; - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t5.toString; t1._as(t5); t4._geometry$_$v = t5; @@ -112603,7 +111991,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_vEs; + return B.List_wEo; }, get$wireName() { return "DesignSideRotationData"; @@ -112615,7 +112003,7 @@ return false; if (other === this) return true; - return other instanceof A.DesignSideRotationParams && this.helix_idx === other.helix_idx && this.offset === other.offset; + return other instanceof A._$DesignSideRotationParams && this.helix_idx === other.helix_idx && this.offset === other.offset; }, get$hashCode(_) { var _$hash, _this = this, @@ -112674,50 +112062,38 @@ }; A._$DesignSideRotationData.prototype = { $eq(_, other) { - var t1, t2, _this = this; + var t1, t2, t3, _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof A.DesignSideRotationData) + t1 = false; + if (other instanceof A._$DesignSideRotationData) if (_this.helix.$eq(0, 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.geometry.$eq(0, other.geometry); - } else - t1 = false; - } else - t1 = false; - else - t1 = false; - else - t1 = false; + t3 = _this.color_forward.get$hashCode(0); + t2 = t2.get$hashCode(0); + if (t3 === t2) { + t1 = other.color_reverse; + t2 = _this.color_reverse.get$hashCode(0); + t1 = t1.get$hashCode(0); + t1 = t2 === t1 && _this.roll_forward === other.roll_forward && _this.geometry.$eq(0, other.geometry); + } + } return t1; }, get$hashCode(_) { - var t2, t3, t4, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._design_side_rotation_data$__hashCode; if (t1 != null) return t1; - t1 = _this.helix; - t2 = _this.color_forward; - t3 = _this.color_reverse; - t4 = _this.geometry; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.offset)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), B.JSNumber_methods.get$hashCode(_this.roll_forward)), t4.get$hashCode(t4))); - t4 = _this._design_side_rotation_data$__hashCode; - if (t4 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.helix.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.offset)), _this.color_forward.get$hashCode(0)), _this.color_reverse.get$hashCode(0)), B.JSNumber_methods.get$hashCode(_this.roll_forward)), _this.geometry.get$hashCode(0))); + t1 = _this._design_side_rotation_data$__hashCode; + if (t1 == null) { _this._design_side_rotation_data$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t4; + } return t1; }, toString$0(_) { @@ -112803,7 +112179,7 @@ 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 = _this.get$geometry(_this)._geometry$_build$0(); + t9 = _this.get$geometry(0)._geometry$_build$0(); _$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); @@ -112819,7 +112195,7 @@ _$failedField._value = "helix"; _this.get$helix()._helix$_build$0(); _$failedField._value = _s8_; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s22_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -112846,15 +112222,15 @@ 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$items(0).replace$1(0, _this.items); + b.get$disable(0).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: 348 + $signature: 346 }; A.DialogInteger.prototype = {$isDialogItem: 1}; A.DialogInteger_DialogInteger_closure.prototype = { @@ -112864,7 +112240,7 @@ b.get$_dialog$_$this()._tooltip = this.tooltip; return b; }, - $signature: 349 + $signature: 347 }; A.DialogFloat.prototype = {$isDialogItem: 1}; A.DialogFloat_DialogFloat_closure.prototype = { @@ -112874,7 +112250,7 @@ b.get$_dialog$_$this()._tooltip = this.tooltip; return b; }, - $signature: 350 + $signature: 348 }; A.DialogText.prototype = {$isDialogItem: 1}; A.DialogText_DialogText_closure.prototype = { @@ -112887,7 +112263,7 @@ b.get$_dialog$_$this()._tooltip = _this.tooltip; return b; }, - $signature: 351 + $signature: 349 }; A.DialogTextArea.prototype = {$isDialogItem: 1}; A.DialogTextArea_DialogTextArea_closure.prototype = { @@ -112900,7 +112276,7 @@ b.get$_dialog$_$this()._tooltip = _this.tooltip; return b; }, - $signature: 352 + $signature: 350 }; A.DialogCheckbox.prototype = {$isDialogItem: 1}; A.DialogCheckbox_DialogCheckbox_closure.prototype = { @@ -112910,7 +112286,7 @@ b.get$_dialog$_$this()._tooltip = this.tooltip; return b; }, - $signature: 353 + $signature: 351 }; A.DialogRadio.prototype = { get$value(_) { @@ -112925,7 +112301,7 @@ A.DialogRadio_DialogRadio_closure.prototype = { call$1(b) { var _this = this; - b.get$options(b).replace$1(0, _this.options_list); + b.get$options(0).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; @@ -112933,7 +112309,7 @@ b.get$option_tooltips().replace$1(0, _this.option_tooltips_list); return b; }, - $signature: 354 + $signature: 352 }; A.DialogLink.prototype = {$isDialogItem: 1}; A.DialogLink_DialogLink_closure.prototype = { @@ -112944,7 +112320,7 @@ b.get$_dialog$_$this()._tooltip = this.tooltip; return b; }, - $signature: 355 + $signature: 353 }; A.DialogLabel.prototype = {$isDialogItem: 1}; A.DialogLabel_DialogLabel_closure.prototype = { @@ -112954,7 +112330,7 @@ b.get$_dialog$_$this()._tooltip = this.tooltip; return b; }, - $signature: 356 + $signature: 354 }; A._$DialogTypeSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { @@ -112972,7 +112348,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_DialogType_Zuq; + return B.List_Type_DialogType_9t4; }, get$wireName() { return "DialogType"; @@ -112981,7 +112357,7 @@ 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)]; + return ["title", serializers.serialize$2$specifiedType(object.title, B.FullType_iHz), "type", serializers.serialize$2$specifiedType(object.type, B.FullType_5eM), "use_saved_response", serializers.serialize$2$specifiedType(object.use_saved_response, B.FullType_mpw), "items", serializers.serialize$2$specifiedType(object.items, B.FullType_mJI), "mutually_exclusive_checkbox_groups", serializers.serialize$2$specifiedType(object.mutually_exclusive_checkbox_groups, B.FullType_G7M), "disable_when_any_radio_button_selected", serializers.serialize$2$specifiedType(object.disable_when_any_radio_button_selected, B.FullType_MLA), "disable_when_any_checkboxes_on", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_on, B.FullType_fFi), "disable_when_any_checkboxes_off", serializers.serialize$2$specifiedType(object.disable_when_any_checkboxes_off, B.FullType_fFi), "disable", serializers.serialize$2$specifiedType(object.disable, B.FullType_0)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -112998,19 +112374,19 @@ value = iterator.get$current(iterator); switch (t12) { case "title": - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t12.toString; A._asString(t12); result.get$_dialog$_$this()._title = t12; break; case "type": - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_Npb); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_5eM); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t12.toString; A._asBool(t12); result.get$_dialog$_$this()._use_saved_response = t12; @@ -113026,7 +112402,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_UGn); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_mJI); t13.toString; t1._as(t13); t14 = t12.$ti; @@ -113052,7 +112428,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_UWS); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_G7M); t13.toString; t1._as(t13); t14 = t12.$ti; @@ -113069,19 +112445,19 @@ break; 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 = serializers.deserialize$2$specifiedType(value, B.FullType_MLA); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_fFi); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_fFi); t13.toString; t12.replace$1(0, t13); break; @@ -113096,7 +112472,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t13.toString; t1._as(t13); t14 = t12.$ti; @@ -113121,7 +112497,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_FCG; + return B.List_EZX; }, get$wireName() { return "Dialog"; @@ -113130,7 +112506,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_xEI), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113147,19 +112523,19 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113174,7 +112550,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_nKT; + return B.List_Pgi; }, get$wireName() { return "DialogInteger"; @@ -113183,7 +112559,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_5AK), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113200,19 +112576,19 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113227,7 +112603,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ijl; + return B.List_qtW; }, get$wireName() { return "DialogFloat"; @@ -113236,7 +112612,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_iHz), "size", serializers.serialize$2$specifiedType(object.size, B.FullType_xEI), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113253,25 +112629,25 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "size": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_dialog$_$this()._size = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113286,7 +112662,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Opk; + return B.List_MYb; }, get$wireName() { return "DialogText"; @@ -113295,7 +112671,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "cols", serializers.serialize$2$specifiedType(object.cols, B.FullType_xEI), "rows", serializers.serialize$2$specifiedType(object.rows, B.FullType_xEI), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_iHz), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113312,31 +112688,31 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "cols": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_dialog$_$this()._cols = t1; break; case "rows": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_dialog$_$this()._rows = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113351,7 +112727,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_uwZ; + return B.List_QJm; }, get$wireName() { return "DialogTextArea"; @@ -113360,7 +112736,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_mpw), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113377,19 +112753,19 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113404,7 +112780,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_OPy; + return B.List_Drw; }, get$wireName() { return "DialogCheckbox"; @@ -113413,7 +112789,7 @@ 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)]; + return ["options", serializers.serialize$2$specifiedType(object.options, B.FullType_61T), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, B.FullType_xEI), "label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "radio", serializers.serialize$2$specifiedType(object.radio, B.FullType_mpw), "option_tooltips", serializers.serialize$2$specifiedType(object.option_tooltips, B.FullType_61T), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113440,7 +112816,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_61T); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -113456,19 +112832,19 @@ } break; case "selected_idx": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_dialog$_$this()._dialog$_selected_idx = t5; break; case "label": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_dialog$_$this()._dialog$_label = t5; break; case "radio": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t5.toString; A._asBool(t5); result.get$_dialog$_$this()._radio = t5; @@ -113484,7 +112860,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_61T); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -113500,7 +112876,7 @@ } break; case "tooltip": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_dialog$_$this()._tooltip = t5; @@ -113515,7 +112891,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_4AN; + return B.List_oCX; }, get$wireName() { return "DialogRadio"; @@ -113524,7 +112900,7 @@ 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)]; + return ["label", serializers.serialize$2$specifiedType(object.label, B.FullType_iHz), "link", serializers.serialize$2$specifiedType(object.link, B.FullType_iHz), "value", serializers.serialize$2$specifiedType(object.value, B.FullType_iHz), "tooltip", serializers.serialize$2$specifiedType(object.tooltip, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -113541,25 +112917,25 @@ value = iterator.get$current(iterator); switch (t1) { case "label": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_label = t1; break; case "link": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._link = t1; break; case "value": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._dialog$_value = t1; break; case "tooltip": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dialog$_$this()._tooltip = t1; @@ -113574,7 +112950,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_app; + return B.List_Hsm; }, get$wireName() { return "DialogLink"; @@ -113587,26 +112963,19 @@ return false; if (other === _this) return true; - return other instanceof A.Dialog && _this.title === other.title && _this.type === other.type && _this.use_saved_response === other.use_saved_response && _this.items.$eq(0, other.items) && _this.mutually_exclusive_checkbox_groups.$eq(0, other.mutually_exclusive_checkbox_groups) && _this.disable_when_any_radio_button_selected.$eq(0, other.disable_when_any_radio_button_selected) && _this.disable_when_any_checkboxes_on.$eq(0, other.disable_when_any_checkboxes_on) && _this.disable_when_any_checkboxes_off.$eq(0, other.disable_when_any_checkboxes_off) && _this.disable.$eq(0, other.disable); + return other instanceof A._$Dialog && _this.title === other.title && _this.type === other.type && _this.use_saved_response === other.use_saved_response && _this.items.$eq(0, other.items) && _this.mutually_exclusive_checkbox_groups.$eq(0, other.mutually_exclusive_checkbox_groups) && _this.disable_when_any_radio_button_selected.$eq(0, other.disable_when_any_radio_button_selected) && _this.disable_when_any_checkboxes_on.$eq(0, other.disable_when_any_checkboxes_on) && _this.disable_when_any_checkboxes_off.$eq(0, other.disable_when_any_checkboxes_off) && _this.disable.$eq(0, other.disable); }, get$hashCode(_) { - var t2, t3, t4, t5, t6, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._dialog$__hashCode; if (t1 != null) return t1; - t1 = _this.items; - t2 = _this.mutually_exclusive_checkbox_groups; - t3 = _this.disable_when_any_radio_button_selected; - t4 = _this.disable_when_any_checkboxes_on; - t5 = _this.disable_when_any_checkboxes_off; - t6 = _this.disable; - _$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)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4)), t5.get$hashCode(t5)), t6.get$hashCode(t6))); - t6 = _this._dialog$__hashCode; - if (t6 == null) { + _$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)), _this.items.get$hashCode(0)), _this.mutually_exclusive_checkbox_groups.get$hashCode(0)), _this.disable_when_any_radio_button_selected.get$hashCode(0)), _this.disable_when_any_checkboxes_on.get$hashCode(0)), _this.disable_when_any_checkboxes_off.get$hashCode(0)), _this.disable.get$hashCode(0))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { _this._dialog$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t6; + } return t1; }, toString$0(_) { @@ -113709,15 +113078,15 @@ t1 = $$v.disable_when_any_radio_button_selected; 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>"))); + _this.set$_disable_when_any_radio_button_selected(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.disable_when_any_checkboxes_on; 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>"))); + _this.set$_disable_when_any_checkboxes_on(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); t1 = $$v.disable_when_any_checkboxes_off; 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>"))); + _this.set$_disable_when_any_checkboxes_off(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.disable; _this.set$_disable(A.ListBuilder_ListBuilder(t2, t2.$ti._precomputed1)); _this.set$_on_submit($$v.on_submit); @@ -113743,12 +113112,12 @@ 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(); + t8 = _this.get$items(0).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(); + t13 = _this.get$disable(0).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); @@ -113766,7 +113135,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "items"; - _this.get$items(_this).build$0(); + _this.get$items(0).build$0(); _$failedField._value = _s34_; _this.get$mutually_exclusive_checkbox_groups().build$0(); _$failedField._value = _s38_; @@ -113776,7 +113145,7 @@ _$failedField._value = _s31_; _this.get$disable_when_any_checkboxes_off().build$0(); _$failedField._value = "disable"; - _this.get$disable(_this).build$0(); + _this.get$disable(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s6_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -113822,7 +113191,7 @@ return false; if (other === _this) return true; - return other instanceof A.DialogInteger && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; + return other instanceof A._$DialogInteger && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, get$hashCode(_) { var _$hash, _this = this, @@ -113896,7 +113265,7 @@ return false; if (other === _this) return true; - return other instanceof A.DialogFloat && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; + 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))); @@ -113960,7 +113329,7 @@ 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; + return other instanceof A._$DialogText && _this.label === other.label && _this.value === other.value && _this.size === other.size && _this.tooltip === other.tooltip; }, get$hashCode(_) { var _$hash, _this = this, @@ -114039,7 +113408,7 @@ 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; + 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, @@ -114131,7 +113500,7 @@ return false; if (other === _this) return true; - return other instanceof A.DialogCheckbox && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; + return other instanceof A._$DialogCheckbox && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, get$hashCode(_) { var _$hash, _this = this, @@ -114214,22 +113583,19 @@ return false; if (other === _this) return true; - return other instanceof A.DialogRadio && _this.options.$eq(0, other.options) && _this.selected_idx === other.selected_idx && _this.label === other.label && _this.radio === other.radio && _this.option_tooltips.$eq(0, other.option_tooltips) && _this.tooltip === other.tooltip; + return other instanceof A._$DialogRadio && _this.options.$eq(0, other.options) && _this.selected_idx === other.selected_idx && _this.label === other.label && _this.radio === other.radio && _this.option_tooltips.$eq(0, other.option_tooltips) && _this.tooltip === other.tooltip; }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._dialog$__hashCode; if (t1 != null) return t1; - t1 = _this.options; - t2 = _this.option_tooltips; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.selected_idx)), B.JSString_methods.get$hashCode(_this.label)), B.JSBool_methods.get$hashCode(_this.radio)), t2.get$hashCode(t2)), B.JSString_methods.get$hashCode(_this.tooltip))); - t2 = _this._dialog$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.options.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.selected_idx)), B.JSString_methods.get$hashCode(_this.label)), B.JSBool_methods.get$hashCode(_this.radio)), _this.option_tooltips.get$hashCode(0)), B.JSString_methods.get$hashCode(_this.tooltip))); + t1 = _this._dialog$__hashCode; + if (t1 == null) { _this._dialog$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -114296,7 +113662,7 @@ try { _$result0 = _this._dialog$_$v; if (_$result0 == null) { - t1 = _this.get$options(_this).build$0(); + t1 = _this.get$options(0).build$0(); t2 = type$.int; t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_dialog$_$this()._dialog$_selected_idx, _s11_, _s12_, t2); t4 = type$.String; @@ -114319,7 +113685,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "options"; - _this.get$options(_this).build$0(); + _this.get$options(0).build$0(); _$failedField._value = _s15_; _this.get$option_tooltips().build$0(); } catch (exception) { @@ -114349,7 +113715,7 @@ 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; + return other instanceof A._$DialogLink && _this.label === other.label && _this.link === other.link && _this.value === other.value && _this.tooltip === other.tooltip; }, get$hashCode(_) { var _$hash, _this = this, @@ -114427,7 +113793,7 @@ return false; if (other === _this) return true; - return other instanceof A.DialogLabel && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; + return other instanceof A._$DialogLabel && _this.label === other.label && _this.value === other.value && _this.tooltip === other.tooltip; }, get$hashCode(_) { var _$hash, _this = this, @@ -114496,12 +113862,12 @@ b.get$_dna_assign_options$_$this()._m13_rotation = _this.m13_rotation; return b; }, - $signature: 357 + $signature: 355 }; 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)]; + return ["dna_sequence", serializers.serialize$2$specifiedType(object.dna_sequence, B.FullType_iHz), "use_predefined_dna_sequence", serializers.serialize$2$specifiedType(object.use_predefined_dna_sequence, B.FullType_mpw), "assign_complements", serializers.serialize$2$specifiedType(object.assign_complements, B.FullType_mpw), "disable_change_sequence_bound_strand", serializers.serialize$2$specifiedType(object.disable_change_sequence_bound_strand, B.FullType_mpw), "m13_rotation", serializers.serialize$2$specifiedType(object.m13_rotation, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -114520,31 +113886,31 @@ value = iterator.get$current(iterator); switch (t1) { case "dna_sequence": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dna_assign_options$_$this()._dna_assign_options$_dna_sequence = t1; break; case "use_predefined_dna_sequence": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_assign_options$_$this()._use_predefined_dna_sequence = t1; break; case "assign_complements": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(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 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_dna_assign_options$_$this()._m13_rotation = t1; @@ -114559,7 +113925,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6hp; + return B.List_kil; }, get$wireName() { return "DNAAssignOptions"; @@ -114572,7 +113938,7 @@ return false; if (other === _this) return true; - 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; + 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(_) { var _$hash, _this = this, @@ -114687,17 +114053,17 @@ b.get$_dna_end$_$this()._is_on_extension = _this.is_on_extension; return b; }, - $signature: 358 + $signature: 356 }; A._$DNAEndSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_mpw), "is_start", serializers.serialize$2$specifiedType(object.is_start, B.FullType_mpw), "is_on_extension", serializers.serialize$2$specifiedType(object.is_on_extension, B.FullType_mpw), "substrand_is_first", serializers.serialize$2$specifiedType(object.substrand_is_first, B.FullType_mpw), "substrand_is_last", serializers.serialize$2$specifiedType(object.substrand_is_last, B.FullType_mpw), "substrand_id", serializers.serialize$2$specifiedType(object.substrand_id, B.FullType_iHz), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw)]; value = object.offset; if (value != null) { result.push("offset"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_kjq)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_xEI)); } return result; }, @@ -114716,53 +114082,53 @@ value = iterator.get$current(iterator); switch (t1) { case "offset": - t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_kjq)); + t1 = A._asIntQ(serializers.deserialize$2$specifiedType(value, B.FullType_xEI)); result.get$_dna_end$_$this()._dna_end$_offset = t1; break; case "forward": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._dna_end$_forward = t1; break; case "is_5p": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._dna_end$_is_5p = t1; break; case "is_start": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._is_start = t1; break; case "is_on_extension": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._is_on_extension = t1; break; case "substrand_is_first": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._substrand_is_first = t1; break; case "substrand_is_last": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._substrand_is_last = t1; break; case "substrand_id": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_dna_end$_$this()._substrand_id = t1; break; case "is_scaffold": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_dna_end$_$this()._dna_end$_is_scaffold = t1; @@ -114777,7 +114143,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6iC; + return B.List_Fb0; }, get$wireName() { return "DNAEnd"; @@ -114793,9 +114159,8 @@ return t1 == null ? this._dna_end$__select_mode = A.DNAEnd.prototype.get$select_mode.call(this) : t1; }, 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; + var t1 = this._dna_end$__id; + return t1 == null ? this._dna_end$__id = A.DNAEnd.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { var _this = this; @@ -114803,7 +114168,7 @@ return false; if (other === _this) return true; - 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; + 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(_) { var _$hash, _this = this, @@ -114969,7 +114334,7 @@ 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), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW)]; + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_uAN), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_xEI), "helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, B.FullType_xEI), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -114996,7 +114361,7 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_TgZ); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_uAN); t8.toString; t3._as(t8); t9 = t7.$ti; @@ -115012,7 +114377,7 @@ } break; case "original_offset": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t7.toString; A._asInt(t7); result.get$_dna_ends_move$_$this()._dna_ends_move$_original_offset = t7; @@ -115029,13 +114394,13 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t8.toString; t2._as(t8); t7._helix$_$v = t8; break; case "current_offset": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t7.toString; A._asInt(t7); result.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset = t7; @@ -115044,7 +114409,7 @@ t7 = result.get$_dna_ends_move$_$this(); t8 = t7._dna_ends_move$_geometry; t7 = t8 == null ? t7._dna_ends_move$_geometry = new A.GeometryBuilder() : t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t8.toString; t1._as(t8); t7._geometry$_$v = t8; @@ -115059,7 +114424,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_6pZ; + return B.List_YsN; }, get$wireName() { return "DNAEndsMove"; @@ -115068,7 +114433,7 @@ 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)]; + return ["dna_end", serializers.serialize$2$specifiedType(object.dna_end, B.FullType_wOX), "lowest_offset", serializers.serialize$2$specifiedType(object.lowest_offset, B.FullType_xEI), "highest_offset", serializers.serialize$2$specifiedType(object.highest_offset, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -115088,19 +114453,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t3.toString; t1._as(t3); t2._dna_end$_$v = t3; break; case "lowest_offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_dna_ends_move$_$this()._lowest_offset = t2; break; case "highest_offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_dna_ends_move$_$this()._highest_offset = t2; @@ -115115,7 +114480,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_A2Y; + return B.List_fL6; }, get$wireName() { return "DNAEndMove"; @@ -115140,23 +114505,19 @@ return false; if (other === _this) return true; - return other instanceof A.DNAEndsMove && _this.moves.$eq(0, other.moves) && _this.original_offset === other.original_offset && _this.helix.$eq(0, other.helix) && _this.current_offset === other.current_offset && _this.geometry.$eq(0, other.geometry); + return other instanceof A._$DNAEndsMove && _this.moves.$eq(0, other.moves) && _this.original_offset === other.original_offset && _this.helix.$eq(0, other.helix) && _this.current_offset === other.current_offset && _this.geometry.$eq(0, other.geometry); }, get$hashCode(_) { - var t2, t3, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._dna_ends_move$__hashCode; if (t1 != null) return t1; - t1 = _this.moves; - t2 = _this.helix; - t3 = _this.geometry; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.original_offset)), t2.get$hashCode(t2)), B.JSInt_methods.get$hashCode(_this.current_offset)), t3.get$hashCode(t3))); - t3 = _this._dna_ends_move$__hashCode; - if (t3 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.moves.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.original_offset)), _this.helix.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.current_offset)), _this.geometry.get$hashCode(0))); + t1 = _this._dna_ends_move$__hashCode; + if (t1 == null) { _this._dna_ends_move$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t3; + } return t1; }, toString$0(_) { @@ -115241,7 +114602,7 @@ 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), _this.get$geometry(_this)._geometry$_build$0(), t4, t1, t3); + _$result0 = A._$DNAEndsMove$_(A.BuiltValueNullFieldError_checkNotNull(_this.get$_dna_ends_move$_$this()._dna_ends_move$_current_offset, _s11_, "current_offset", t2), _this.get$geometry(0)._geometry$_build$0(), t4, t1, t3); } _$result = _$result0; } catch (exception) { @@ -115252,7 +114613,7 @@ _$failedField._value = "helix"; _this.get$helix()._helix$_build$0(); _$failedField._value = "geometry"; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s11_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -115277,11 +114638,10 @@ return false; if (other === _this) return true; - return other instanceof A.DNAEndMove && _this.dna_end.$eq(0, other.dna_end) && _this.lowest_offset === other.lowest_offset && _this.highest_offset === other.highest_offset; + return other instanceof A._$DNAEndMove && _this.dna_end.$eq(0, other.dna_end) && _this.lowest_offset === other.lowest_offset && _this.highest_offset === other.highest_offset; }, get$hashCode(_) { - var t1 = this.dna_end; - return A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(this.lowest_offset)), B.JSInt_methods.get$hashCode(this.highest_offset))); + return A.$jf(A.$jc(A.$jc(A.$jc(0, this.dna_end.get$hashCode(0)), 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"), @@ -115381,7 +114741,7 @@ 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)]; + return ["moves", serializers.serialize$2$specifiedType(object.moves, B.FullType_c4R), "start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_uvw), "current_point", serializers.serialize$2$specifiedType(object.current_point, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -115408,7 +114768,7 @@ t7 = t8; } else t7 = t8; - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_j5B); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_c4R); t8.toString; t3._as(t8); t9 = t7.$ti; @@ -115424,13 +114784,13 @@ } break; case "start_point": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t7.toString; t7 = t2._as(t1._as(t7)); result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_start_point(t7); break; case "current_point": - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t7.toString; t7 = t2._as(t1._as(t7)); result.get$_dna_extensions_move$_$this().set$_dna_extensions_move$_current_point(t7); @@ -115445,7 +114805,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_grL; + return B.List_oIV; }, get$wireName() { return "DNAExtensionsMove"; @@ -115454,7 +114814,7 @@ 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)]; + return ["dna_end", serializers.serialize$2$specifiedType(object.dna_end, B.FullType_wOX), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_Zul), "original_position", serializers.serialize$2$specifiedType(object.original_position, B.FullType_uvw), "attached_end_position", serializers.serialize$2$specifiedType(object.attached_end_position, B.FullType_uvw), "extension", serializers.serialize$2$specifiedType(object.extension, B.FullType_aur)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -115474,25 +114834,25 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t7.toString; t5._as(t7); t6._dna_end$_$v = t7; break; case "color": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t6.toString; t6 = t3._as(t2._as(t6)); result.get$_dna_extensions_move$_$this().set$_attached_end_position(t6); @@ -115501,7 +114861,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_aur); t7.toString; t1._as(t7); t6._extension$_$v = t7; @@ -115516,7 +114876,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_NDM; + return B.List_2jN0; }, get$wireName() { return "DNAExtensionMove"; @@ -115537,23 +114897,22 @@ return false; if (other === _this) return true; - return other instanceof A.DNAExtensionsMove && _this.moves.$eq(0, other.moves) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point); + return other instanceof A._$DNAExtensionsMove && _this.moves.$eq(0, other.moves) && _this.start_point.$eq(0, other.start_point) && _this.current_point.$eq(0, other.current_point); }, get$hashCode(_) { - var t2, t3, _$hash, _this = this, + var t2, _$hash, _this = this, t1 = _this._dna_extensions_move$__hashCode; if (t1 != null) return t1; - t1 = _this.moves; - t2 = _this.start_point; - t3 = _this.current_point; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t3.x), B.JSNumber_methods.get$hashCode(t3.y), 0))); - t3 = _this._dna_extensions_move$__hashCode; - if (t3 == null) { + t1 = _this.start_point; + t2 = _this.current_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, _this.moves.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0))); + t2 = _this._dna_extensions_move$__hashCode; + if (t2 == null) { _this._dna_extensions_move$__hashCode = _$hash; t1 = _$hash; } else - t1 = t3; + t1 = t2; return t1; }, toString$0(_) { @@ -115650,27 +115009,21 @@ return false; if (other === _this) return true; - if (other instanceof A.DNAExtensionMove) + t1 = false; + if (other instanceof A._$DNAExtensionMove) if (_this.dna_end.$eq(0, 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) && _this.extension.$eq(0, other.extension); - } else - t1 = false; - else - t1 = false; + t1 = other.color; + t2 = _this.color.get$hashCode(0); + t1 = t1.get$hashCode(0); + t1 = t2 === t1 && _this.original_position.$eq(0, other.original_position) && _this.attached_end_position.$eq(0, other.attached_end_position) && _this.extension.$eq(0, other.extension); + } return t1; }, get$hashCode(_) { var _this = this, - t1 = _this.dna_end, - t2 = _this.color, - t3 = _this.original_position, - t4 = _this.attached_end_position, - t5 = _this.extension; - return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t3.x), B.JSNumber_methods.get$hashCode(t3.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t4.x), B.JSNumber_methods.get$hashCode(t4.y), 0)), t5.get$hashCode(t5))); + t1 = _this.original_position, + t2 = _this.attached_end_position; + return A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.dna_end.get$hashCode(0)), _this.color.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0)), _this.extension.get$hashCode(0))); }, toString$0(_) { var _this = this, @@ -115771,7 +115124,7 @@ b.get$_domain$_$this()._domain$_strand_id = this.strand_id; return b; }, - $signature: 359 + $signature: 357 }; A.Domain.prototype = { get$id(_) { @@ -115797,12 +115150,12 @@ 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); + return A.DNAEnd_DNAEnd(t1, t1, false, _this.is_scaffold, true, _this.start, _this.get$id(0), _this.is_first, _this.is_last); }, 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); + return A.DNAEnd_DNAEnd(t1, !t1, false, _this.is_scaffold, false, _this.end, _this.get$id(0), _this.is_first, _this.is_last); }, get$selectable_deletions() { var t2, t3, t4, t5, @@ -115879,8 +115232,7 @@ if (t1 != null) json_map.$indexSet(0, "label", t1); t1 = _this.unused_fields; - t2 = t1.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); return suppress_indent ? new A.NoIndent(json_map) : json_map; }, get$offset_5p() { @@ -115898,7 +115250,7 @@ return _this.end - _this.start - t1 + t2; }, dna_length_in$2(left, right) { - var t1, t2, t3, t4, _this = this; + var t1, t2, t3, t4, t5, t6, _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; @@ -115910,14 +115262,13 @@ t1 = _this.deletions; 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>")); - t1 = _this.insertions; - t2 = t1._list; - t4 = A._arrayInstanceType(t2); - return right - left + 1 - t3.get$length(t3) + A.Domain_num_insertions_in_list(new A.WhereIterable(t2, t4._eval$1("bool(1)")._as(t1.$ti._eval$1("bool(1)")._as(new A.Domain_dna_length_in_closure0(left, right))), t4._eval$1("WhereIterable<1>"))); + t4 = _this.insertions; + t5 = t4._list; + t6 = A._arrayInstanceType(t5); + return right - left + 1 - 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>")).get$length(0) + A.Domain_num_insertions_in_list(new A.WhereIterable(t5, t6._eval$1("bool(1)")._as(t4.$ti._eval$1("bool(1)")._as(new A.Domain_dna_length_in_closure0(left, right))), t6._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, + var codeunits, t2, deletions_set, insertions_map, offset, $forward, offset_out_of_bounds, seq_idx, offset0, t3, _this = this, t1 = _this.dna_sequence; t1.toString; codeunits = A._setArrayType([], type$.JSArray_int); @@ -115928,7 +115279,7 @@ 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));) + for (t2 = t1.length, 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; @@ -115936,11 +115287,13 @@ 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; + t3 = insertions_map.$index(0, offset); + t3.toString; + seq_idx += t3 + 1; } else { - B.JSArray_methods.add$1(codeunits, B.JSString_methods.codeUnitAt$1(t1, seq_idx)); + if (!(seq_idx >= 0 && seq_idx < t2)) + return A.ioore(t1, seq_idx); + B.JSArray_methods.add$1(codeunits, t1.charCodeAt(seq_idx)); ++seq_idx; } offset = offset0; @@ -116090,7 +115443,7 @@ b.get$unused_fields().replace$1(0, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); return b; }, - $signature: 360 + $signature: 358 }; A.Domain_set_dna_sequence_closure.prototype = { call$1(ss) { @@ -116104,14 +115457,14 @@ type$.Insertion._as(insertion); return A._setArrayType([insertion.offset, insertion.length], type$.JSArray_int); }, - $signature: 361 + $signature: 359 }; A.Domain_parse_json_insertions_closure.prototype = { call$1(list) { var t1 = J.getInterceptor$asx(list); return A.Insertion_Insertion(A._asInt(t1.$index(list, 0)), A._asInt(t1.$index(list, 1))); }, - $signature: 362 + $signature: 360 }; A.Domain_dna_length_in_closure.prototype = { call$1(d) { @@ -116131,13 +115484,13 @@ call$1(insertion) { return A._asInt(J.get$offset$x(insertion)); }, - $signature: 46 + $signature: 47 }; A.Domain_dna_sequence_deletions_insertions_to_spaces_closure0.prototype = { call$1(insertion) { return A._asInt(J.get$length$asx(insertion)); }, - $signature: 46 + $signature: 47 }; A.Domain_dna_sequence_deletions_insertions_to_spaces_offset_out_of_bounds.prototype = { call$1(offset) { @@ -116145,24 +115498,24 @@ t2 = this.forward; return t1.forward ? offset >= t1.get$offset_3p() + t2 : offset <= t1.get$offset_3p() + t2; }, - $signature: 36 + $signature: 33 }; A.Domain_net_ins_del_length_increase_from_5p_to_closure.prototype = { call$1(insertion) { return A._asInt(J.get$offset$x(insertion)); }, - $signature: 46 + $signature: 47 }; A.Domain_net_ins_del_length_increase_from_5p_to_closure0.prototype = { call$1(insertion) { return A._asInt(J.get$length$asx(insertion)); }, - $signature: 46 + $signature: 47 }; 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)]; + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "length", serializers.serialize$2$specifiedType(object.length, B.FullType_xEI), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_iHz)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -116179,19 +115532,19 @@ value = iterator.get$current(iterator); switch (t1) { case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_domain$_$this()._domain$_offset = t1; break; case "length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_domain$_$this()._domain$_length = t1; break; case "strand_id": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_domain$_$this()._domain$_strand_id = t1; @@ -116206,7 +115559,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_CJJ; + return B.List_vNP; }, get$wireName() { return "Insertion"; @@ -116216,26 +115569,26 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_xEI), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw), "start", serializers.serialize$2$specifiedType(object.start, B.FullType_xEI), "end", serializers.serialize$2$specifiedType(object.end, B.FullType_xEI), "deletions", serializers.serialize$2$specifiedType(object.deletions, B.FullType_0), "insertions", serializers.serialize$2$specifiedType(object.insertions, B.FullType_qxo), "is_first", serializers.serialize$2$specifiedType(object.is_first, B.FullType_mpw), "is_last", serializers.serialize$2$specifiedType(object.is_last, B.FullType_mpw), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_iHz)]; value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.dna_sequence; if (value != null) { result.push("dna_sequence"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.color; if (value != null) { result.push("color"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Zul)); } return result; }, @@ -116254,25 +115607,25 @@ value = iterator.get$current(iterator); switch (t9) { case "helix": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t9.toString; A._asInt(t9); result.get$_domain$_$this()._domain$_helix = t9; break; case "forward": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_domain$_$this()._domain$_forward = t9; break; case "start": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t9.toString; A._asInt(t9); result.get$_domain$_$this()._start = t9; break; case "end": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t9.toString; A._asInt(t9); result.get$_domain$_$this()._end = t9; @@ -116288,7 +115641,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t10.toString; t2._as(t10); t11 = t9.$ti; @@ -116314,7 +115667,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_i7r); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_qxo); t10.toString; t2._as(t10); t11 = t9.$ti; @@ -116330,41 +115683,41 @@ } break; case "is_first": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_domain$_$this()._is_first = t9; break; case "is_last": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_domain$_$this()._is_last = t9; break; case "is_scaffold": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_domain$_$this()._domain$_is_scaffold = t9; break; case "name": - t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_domain$_$this()._domain$_name = t9; break; case "label": - t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_domain$_$this()._domain$_label = t9; break; case "dna_sequence": - t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t9 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_domain$_$this()._domain$_dna_sequence = t9; break; case "color": - t9 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + t9 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_Zul)); result.get$_domain$_$this()._domain$_color = t9; break; case "strand_id": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t9.toString; A._asString(t9); result.get$_domain$_$this()._domain$_strand_id = t9; @@ -116379,7 +115732,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_9YS; + return B.List_TDf; }, get$wireName() { return "Domain"; @@ -116401,7 +115754,7 @@ 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; + return other instanceof A._$Insertion && _this.offset === other.offset && _this.length === other.length && _this.strand_id === other.strand_id; }, get$hashCode(_) { var _$hash, _this = this, @@ -116471,9 +115824,8 @@ }; 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; + var t1 = this._domain$__id; + return t1 == null ? this._domain$__id = A.Domain.prototype.get$id.call(this, 0) : t1; }, get$select_mode() { var t1 = this._domain$__select_mode; @@ -116526,23 +115878,19 @@ return false; if (other === _this) return true; - return other instanceof A.Domain && _this.helix === other.helix && _this.forward === other.forward && _this.start === other.start && _this.end === other.end && _this.deletions.$eq(0, other.deletions) && _this.insertions.$eq(0, 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 && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$Domain && _this.helix === other.helix && _this.forward === other.forward && _this.start === other.start && _this.end === other.end && _this.deletions.$eq(0, other.deletions) && _this.insertions.$eq(0, 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 && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { - var t2, t3, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._domain$__hashCode; if (t1 != null) return t1; - t1 = _this.deletions; - t2 = _this.insertions; - t3 = _this.unused_fields; - _$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)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), 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)), t3.get$hashCode(t3))); - t3 = _this._domain$__hashCode; - if (t3 == null) { + _$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)), _this.deletions.get$hashCode(0)), _this.insertions.get$hashCode(0)), 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)), _this.unused_fields.get$hashCode(0))); + t1 = _this._domain$__hashCode; + if (t1 == null) { _this._domain$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t3; + } return t1; }, toString$0(_) { @@ -116648,7 +115996,7 @@ t1 = $$v.unused_fields; 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.set$_domain$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._domain$_$v = null; } return _this; @@ -116737,7 +116085,7 @@ 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "forward_domain", serializers.serialize$2$specifiedType(object.forward_domain, B.FullType_M6L), "reverse_domain", serializers.serialize$2$specifiedType(object.reverse_domain, B.FullType_M6L)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -116754,7 +116102,7 @@ value = iterator.get$current(iterator); switch (t2) { case "helix_idx": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_domain_name_mismatch$_$this()._domain_name_mismatch$_helix_idx = t2; @@ -116763,7 +116111,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; @@ -116772,7 +116120,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; @@ -116787,7 +116135,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_gUw; + return B.List_Wrl; }, get$wireName() { return "DomainNameMismatch"; @@ -116800,22 +116148,19 @@ return false; if (other === _this) return true; - return other instanceof A.DomainNameMismatch && _this.helix_idx === other.helix_idx && _this.forward_domain.$eq(0, other.forward_domain) && _this.reverse_domain.$eq(0, other.reverse_domain); + return other instanceof A._$DomainNameMismatch && _this.helix_idx === other.helix_idx && _this.forward_domain.$eq(0, other.forward_domain) && _this.reverse_domain.$eq(0, other.reverse_domain); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._domain_name_mismatch$__hashCode; if (t1 != null) return t1; - t1 = _this.forward_domain; - t2 = _this.reverse_domain; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._domain_name_mismatch$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.helix_idx)), _this.forward_domain.get$hashCode(0)), _this.reverse_domain.get$hashCode(0))); + t1 = _this._domain_name_mismatch$__hashCode; + if (t1 == null) { _this._domain_name_mismatch$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -116919,7 +116264,7 @@ get$domains_moving_on_helix() { var t2, t3, t4, t5, 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, t2.$ti._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) + for (t2 = this.helices.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) t1.$indexSet(0, t2.__js_helper$_current, A._setArrayType([], t3)); for (t2 = this.domains_moving._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { t4 = t2.__interceptors$_current; @@ -116934,7 +116279,7 @@ get$domains_fixed_on_helix() { var t2, t3, t4, t5, 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, t2.$ti._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) + for (t2 = this.helices.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.JSArray_Domain; t2.moveNext$0();) t1.$indexSet(0, t2.__js_helper$_current, A._setArrayType([], t3)); for (t2 = this.domains_fixed._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { t4 = t2.__interceptors$_current; @@ -117004,12 +116349,12 @@ b.get$_domains_move$_$this()._allowable = true; return b; }, - $signature: 364 + $signature: 362 }; 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)]; + return ["domains_moving", serializers.serialize$2$specifiedType(object.domains_moving, B.FullType_Dti), "domains_fixed", serializers.serialize$2$specifiedType(object.domains_fixed, B.FullType_Dti), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_vLM), "groups", serializers.serialize$2$specifiedType(object.groups, B.FullType_WoX), "strands_with_domains_moving", serializers.serialize$2$specifiedType(object.strands_with_domains_moving, B.FullType_SJV), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_RoN), "original_address", serializers.serialize$2$specifiedType(object.original_address, B.FullType_ync), "current_address", serializers.serialize$2$specifiedType(object.current_address, B.FullType_ync), "allowable", serializers.serialize$2$specifiedType(object.allowable, B.FullType_mpw), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_mpw), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -117036,7 +116381,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_Dti); t13.toString; t3._as(t13); t14 = t12.$ti; @@ -117062,7 +116407,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_dli); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_Dti); t13.toString; t3._as(t13); t14 = t12.$ti; @@ -117087,7 +116432,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_vLM); t13.toString; t12.replace$1(0, t13); break; @@ -117101,7 +116446,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_m48); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_WoX); t13.toString; t12.replace$1(0, t13); break; @@ -117116,7 +116461,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t13.toString; t3._as(t13); t14 = t12.$ti; @@ -117141,7 +116486,7 @@ t12 = t13; } else t12 = t13; - t13 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t13 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t13.toString; t12.replace$1(0, t13); break; @@ -117149,7 +116494,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t13.toString; t1._as(t13); t12._address$_$v = t13; @@ -117158,25 +116503,25 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t13.toString; t1._as(t13); t12._address$_$v = t13; break; case "allowable": - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t12.toString; A._asBool(t12); result.get$_domains_move$_$this()._allowable = t12; break; case "copy": - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t12.toString; A._asBool(t12); result.get$_domains_move$_$this()._copy = t12; break; case "keep_color": - t12 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t12 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t12.toString; A._asBool(t12); result.get$_domains_move$_$this()._keep_color = t12; @@ -117191,7 +116536,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_u2S; + return B.List_6Ps; }, get$wireName() { return "DomainsMove"; @@ -117221,28 +116566,19 @@ return false; if (other === _this) return true; - return other instanceof A.DomainsMove && _this.domains_moving.$eq(0, other.domains_moving) && _this.domains_fixed.$eq(0, other.domains_fixed) && _this.helices.$eq(0, other.helices) && _this.groups.$eq(0, other.groups) && _this.strands_with_domains_moving.$eq(0, other.strands_with_domains_moving) && _this.original_helices_view_order_inverse.$eq(0, 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._$DomainsMove && _this.domains_moving.$eq(0, other.domains_moving) && _this.domains_fixed.$eq(0, other.domains_fixed) && _this.helices.$eq(0, other.helices) && _this.groups.$eq(0, other.groups) && _this.strands_with_domains_moving.$eq(0, other.strands_with_domains_moving) && _this.original_helices_view_order_inverse.$eq(0, 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(_) { - var t2, t3, t4, t5, t6, t7, t8, _$hash, _this = this, + var _$hash, _this = this, t1 = _this.__hashCode; if (t1 != null) return t1; - t1 = _this.domains_moving; - t2 = _this.domains_fixed; - t3 = _this.helices; - t4 = _this.groups; - t5 = _this.strands_with_domains_moving; - t6 = _this.original_helices_view_order_inverse; - t7 = _this.original_address; - t8 = _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, t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4)), t5.get$hashCode(t5)), t6.get$hashCode(t6)), t7.get$hashCode(t7)), t8.get$hashCode(t8)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); - t8 = _this.__hashCode; - if (t8 == null) { + _$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, _this.domains_moving.get$hashCode(0)), _this.domains_fixed.get$hashCode(0)), _this.helices.get$hashCode(0)), _this.groups.get$hashCode(0)), _this.strands_with_domains_moving.get$hashCode(0)), _this.original_helices_view_order_inverse.get$hashCode(0)), _this.original_address.get$hashCode(0)), _this.current_address.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); + t1 = _this.__hashCode; + if (t1 == null) { _this.__hashCode = _$hash; t1 = _$hash; - } else - t1 = t8; + } return t1; }, toString$0(_) { @@ -117361,17 +116697,17 @@ t1 = $$v.helices; 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>"))); + _this.set$_domains_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.groups; 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>"))); + _this.set$_domains_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); t1 = $$v.strands_with_domains_moving; _this.set$_strands_with_domains_moving(A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1)); t1 = $$v.original_helices_view_order_inverse; 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>"))); + _this.set$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.original_address; t1 = new A.AddressBuilder(); t3 = type$.Address; @@ -117488,9 +116824,9 @@ 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();) { + for (t1 = J.get$iterator$ax(B.Map_VOaKH.get$keys(B.Map_VOaKH)); t1.moveNext$0();) { t2 = t1.get$current(t1); - if (B.Map_2Vy1w.$index(0, t2) === this) + if (B.Map_VOaKH.$index(0, t2) === this) return t2; } throw A.wrapException(A.AssertionError$("This should be unreachable.")); @@ -117600,7 +116936,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_EditModeChoice_hod; + return B.List_Type_EditModeChoice_Z3F; }, get$wireName() { return "EditModeChoice"; @@ -117610,7 +116946,7 @@ 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)]; + return ["directory", serializers.serialize$2$specifiedType(object.directory, B.FullType_iHz), "filenames", serializers.serialize$2$specifiedType(object.filenames, B.FullType_61T), "selected_idx", serializers.serialize$2$specifiedType(object.selected_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -117629,7 +116965,7 @@ value = iterator.get$current(iterator); switch (t5) { case "directory": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t5.toString; A._asString(t5); result.get$_example_designs$_$this()._directory = t5; @@ -117645,7 +116981,7 @@ t5 = t6; } else t5 = t6; - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_6m4); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_61T); t6.toString; t1._as(t6); t7 = t5.$ti; @@ -117661,7 +116997,7 @@ } break; case "selected_idx": - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t5.toString; A._asInt(t5); result.get$_example_designs$_$this()._selected_idx = t5; @@ -117676,7 +117012,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ouD; + return B.List_c4R; }, get$wireName() { return "ExampleDesigns"; @@ -117689,15 +117025,14 @@ return false; if (other === _this) return true; - return other instanceof A.ExampleDesigns && _this.directory === other.directory && _this.filenames.$eq(0, other.filenames) && _this.selected_idx === other.selected_idx; + return other instanceof A._$ExampleDesigns && _this.directory === other.directory && _this.filenames.$eq(0, other.filenames) && _this.selected_idx === other.selected_idx; }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._example_designs$__hashCode; if (t1 != null) return t1; - t1 = _this.filenames; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.directory)), t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.selected_idx))); + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.directory)), _this.filenames.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.selected_idx))); t1 = _this._example_designs$__hashCode; if (t1 == null) { _this._example_designs$__hashCode = _$hash; @@ -117812,7 +117147,7 @@ else return A._asInt(J.$sub$n(tuple1.item2, tuple2.item2)); }, - $signature: 365 + $signature: 363 }; A.ExportDNAFormat.prototype = { extension$0() { @@ -117828,7 +117163,7 @@ throw A.wrapException(A.ExportDNAException$(string$.You_ha)); }, toString$0(_) { - var t1 = B.Map_bv0.$index(0, this); + var t1 = B.Map_PL88f.$index(0, this); t1.toString; return t1; }, @@ -117895,7 +117230,7 @@ t2 = "*****NONE*****"; return t1 + "," + t2; }, - $signature: 116 + $signature: 115 }; A.idt_bulk_export_closure.prototype = { call$1(strand) { @@ -117908,7 +117243,7 @@ t3 = "*****NONE*****"; return t1 + t2 + t3 + t2 + _this.scale + t2 + _this.purification; }, - $signature: 116 + $signature: 115 }; A.PlateType.prototype = { _enumToString$0() { @@ -117931,7 +117266,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_ExportDNAFormat_QK8; + return B.List_Type_ExportDNAFormat_Sw4; }, get$wireName() { return "ExportDNAFormat"; @@ -117939,7 +117274,7 @@ }; A.StrandOrder.prototype = { toString$0(_) { - var t1 = B.Map_yHyvP.$index(0, this); + var t1 = B.Map_wA43h.$index(0, this); t1.toString; return t1; } @@ -117960,7 +117295,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_StrandOrder_Jrj; + return B.List_Type_StrandOrder_UW6; }, get$wireName() { return "StrandOrder"; @@ -117968,7 +117303,7 @@ }; A.Extension.prototype = { to_json_serializable$1$suppress_indent(suppress_indent) { - var t2, _this = this, + var _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) @@ -117988,8 +117323,7 @@ if (t1 != null) json_map.$indexSet(0, "label", t1); t1 = _this.unused_fields; - t2 = t1.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); return suppress_indent ? new A.NoIndent(json_map) : json_map; }, set_dna_sequence$1(seq) { @@ -118016,7 +117350,7 @@ 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); + return A.DNAEnd_DNAEnd(_this.adjacent_domain.forward, t1, true, _this.is_scaffold, true, null, _this.get$id(0), t1, !t1); }, $isSelectable: 1, $isSubstrand: 1 @@ -118044,7 +117378,7 @@ b.get$_extension$_$this()._strand_id = _this.strand_id; return b; }, - $signature: 367 + $signature: 365 }; A.Extension_set_dna_sequence_closure.prototype = { call$1(ext) { @@ -118057,26 +117391,26 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["num_bases", serializers.serialize$2$specifiedType(object.num_bases, B.FullType_xEI), "display_length", serializers.serialize$2$specifiedType(object.display_length, B.FullType_5AK), "display_angle", serializers.serialize$2$specifiedType(object.display_angle, B.FullType_5AK), "is_5p", serializers.serialize$2$specifiedType(object.is_5p, B.FullType_mpw), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_iHz), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw), "adjacent_domain", serializers.serialize$2$specifiedType(object.adjacent_domain, B.FullType_M6L)]; value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.dna_sequence; if (value != null) { result.push("dna_sequence"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.color; if (value != null) { result.push("color"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Zul)); } return result; }, @@ -118095,53 +117429,53 @@ value = iterator.get$current(iterator); switch (t3) { case "num_bases": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_extension$_$this()._num_bases = t3; break; case "display_length": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t3.toString; A._asDouble(t3); result.get$_extension$_$this()._display_length = t3; break; case "display_angle": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t3.toString; A._asDouble(t3); result.get$_extension$_$this()._display_angle = t3; break; case "is_5p": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_extension$_$this()._is_5p = t3; break; case "label": - t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_extension$_$this()._extension$_label = t3; break; case "name": - t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_extension$_$this()._extension$_name = t3; break; case "dna_sequence": - t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t3 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_extension$_$this()._dna_sequence = t3; break; case "color": - t3 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + t3 = t2._as(serializers.deserialize$2$specifiedType(value, B.FullType_Zul)); result.get$_extension$_$this()._extension$_color = t3; break; case "strand_id": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_extension$_$this()._strand_id = t3; break; case "is_scaffold": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_extension$_$this()._extension$_is_scaffold = t3; @@ -118150,7 +117484,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t1._as(t4); t3._domain$_$v = t4; @@ -118165,7 +117499,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_eAf; + return B.List_G8U; }, get$wireName() { return "Extension"; @@ -118177,9 +117511,8 @@ 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; + var t1 = this._extension$__id; + return t1 == null ? this._extension$__id = A.Extension.prototype.get$id.call(this, 0) : t1; }, get$dnaend_free() { var t1 = this.__dnaend_free; @@ -118200,22 +117533,19 @@ return false; if (other === _this) return true; - 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 && _this.adjacent_domain.$eq(0, other.adjacent_domain) && _this.unused_fields.$eq(0, 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 && _this.adjacent_domain.$eq(0, other.adjacent_domain) && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._extension$__hashCode; if (t1 != null) return t1; - t1 = _this.adjacent_domain; - t2 = _this.unused_fields; - _$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)), t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._extension$__hashCode; - if (t2 == null) { + _$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)), _this.adjacent_domain.get$hashCode(0)), _this.unused_fields.get$hashCode(0))); + t1 = _this._extension$__hashCode; + if (t1 == null) { _this._extension$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -118291,7 +117621,7 @@ t2 = $$v.unused_fields; 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.set$_extension$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._extension$_$v = null; } return _this; @@ -118397,7 +117727,7 @@ return 1 / this.get$nm_to_svg_pixels(); }, to_json_serializable$1$suppress_indent(suppress_indent) { - var t2, _this = this, + var _this = this, json_map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_String_dynamic), t1 = _this.rise_per_base_pair; if (!(Math.abs(t1 - 0.332) < 1e-9)) @@ -118415,8 +117745,7 @@ if (!(Math.abs(t1 - 150) < 1e-9)) json_map.$indexSet(0, "minor_groove_angle", t1); t1 = _this.unused_fields; - t2 = t1.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); return json_map; } }; @@ -118430,13 +117759,13 @@ b.get$_geometry$_$this()._geometry$_minor_groove_angle = _this.minor_groove_angle; return b; }, - $signature: 368 + $signature: 366 }; A.Geometry_from_json_closure.prototype = { call$1(angle_radians) { return A._asDouble(angle_radians) * 360 / 6.283185307179586; }, - $signature: 369 + $signature: 367 }; A.Geometry_from_json_closure0.prototype = { call$1(b) { @@ -118444,12 +117773,12 @@ b.get$_geometry$_$this().set$_geometry$_unused_fields(t1); return b; }, - $signature: 370 + $signature: 368 }; 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)]; + return ["rise_per_base_pair", serializers.serialize$2$specifiedType(object.rise_per_base_pair, B.FullType_5AK), "helix_radius", serializers.serialize$2$specifiedType(object.helix_radius, B.FullType_5AK), "inter_helix_gap", serializers.serialize$2$specifiedType(object.inter_helix_gap, B.FullType_5AK), "bases_per_turn", serializers.serialize$2$specifiedType(object.bases_per_turn, B.FullType_5AK), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -118466,31 +117795,31 @@ value = iterator.get$current(iterator); switch (t1) { case "rise_per_base_pair": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_geometry$_$this()._rise_per_base_pair = t1; break; case "helix_radius": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_geometry$_$this()._helix_radius = t1; break; case "inter_helix_gap": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_geometry$_$this()._inter_helix_gap = t1; break; case "bases_per_turn": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_geometry$_$this()._bases_per_turn = t1; break; case "minor_groove_angle": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_geometry$_$this()._geometry$_minor_groove_angle = t1; @@ -118505,7 +117834,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_JYK; + return B.List_4m4; }, get$wireName() { return "Geometry"; @@ -118546,15 +117875,14 @@ return false; if (other === _this) return true; - 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 && _this.unused_fields.$eq(0, 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 && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._geometry$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._geometry$__hashCode; if (t1 == null) { _this._geometry$__hashCode = _$hash; @@ -118599,7 +117927,7 @@ t1 = $$v.unused_fields; 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.set$_geometry$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._geometry$_$v = null; } return _this; @@ -118686,7 +118014,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_Grid_zSh; + return B.List_Type_Grid_6D4; }, get$wireName() { return "Grid"; @@ -118703,12 +118031,12 @@ g.get$_grid_position$_$this()._v = this.v; return g; }, - $signature: 371 + $signature: 369 }; 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)]; + return ["h", serializers.serialize$2$specifiedType(object.h, B.FullType_xEI), "v", serializers.serialize$2$specifiedType(object.v, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -118725,7 +118053,7 @@ value = iterator.get$current(iterator); switch (t1) { case "h": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._grid_position$_$v; @@ -118737,7 +118065,7 @@ result._h = t1; break; case "v": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); $$v = result._grid_position$_$v; @@ -118758,7 +118086,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ibp; + return B.List_dVd; }, get$wireName() { return "GridPosition"; @@ -118770,7 +118098,7 @@ return false; if (other === this) return true; - return other instanceof A.GridPosition && this.h === other.h && this.v === other.v; + return other instanceof A._$GridPosition && this.h === other.h && this.v === other.v; }, get$hashCode(_) { var _$hash, _this = this, @@ -118848,7 +118176,7 @@ 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); + t1 = b.get$position(0); t2 = _this._box_0.position; t2.toString; A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); @@ -118867,17 +118195,17 @@ b.get$_group$_$this()._group$_geometry = t1; return b; }, - $signature: 372 + $signature: 370 }; A._$HelixGroupSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; type$.HelixGroup._as(object); - result = ["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)]; + result = ["grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_P98), "helices_view_order", serializers.serialize$2$specifiedType(object.helices_view_order, B.FullType_0), "position", serializers.serialize$2$specifiedType(object.position, B.FullType_aJC), "pitch", serializers.serialize$2$specifiedType(object.pitch, B.FullType_5AK), "yaw", serializers.serialize$2$specifiedType(object.yaw, B.FullType_5AK), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_5AK)]; value = object.geometry; if (value != null) { result.push("geometry"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_qNW)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_s2S)); } return result; }, @@ -118898,7 +118226,7 @@ value = iterator.get$current(iterator); switch (t8) { case "grid": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_P98); t8.toString; t7._as(t8); result.get$_group$_$this()._group$_grid = t8; @@ -118914,7 +118242,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t9.toString; t3._as(t9); t10 = t8.$ti; @@ -118933,25 +118261,25 @@ t8 = result.get$_group$_$this(); t9 = t8._group$_position; t8 = t9 == null ? t8._group$_position = new A.Position3DBuilder() : t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_aJC); t9.toString; t2._as(t9); t8._position3d$_$v = t9; break; case "pitch": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t8.toString; A._asDouble(t8); result.get$_group$_$this()._pitch = t8; break; case "yaw": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t8.toString; A._asDouble(t8); result.get$_group$_$this()._yaw = t8; break; case "roll": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t8.toString; A._asDouble(t8); result.get$_group$_$this()._group$_roll = t8; @@ -118960,7 +118288,7 @@ t8 = result.get$_group$_$this(); t9 = t8._group$_geometry; t8 = t9 == null ? t8._group$_geometry = new A.GeometryBuilder() : t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t9.toString; t1._as(t9); t8._geometry$_$v = t9; @@ -118975,7 +118303,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_n7k; + return B.List_tEV; }, get$wireName() { return "HelixGroup"; @@ -119006,22 +118334,19 @@ return false; if (other === _this) return true; - return other instanceof A.HelixGroup && _this.grid === other.grid && _this.helices_view_order.$eq(0, other.helices_view_order) && _this.position.$eq(0, other.position) && _this.pitch === other.pitch && _this.yaw === other.yaw && _this.roll === other.roll && J.$eq$(_this.geometry, other.geometry); + return other instanceof A._$HelixGroup && _this.grid === other.grid && _this.helices_view_order.$eq(0, other.helices_view_order) && _this.position.$eq(0, other.position) && _this.pitch === other.pitch && _this.yaw === other.yaw && _this.roll === other.roll && J.$eq$(_this.geometry, other.geometry); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._group$__hashCode; if (t1 != null) return t1; - t1 = _this.helices_view_order; - t2 = _this.position; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, A.Primitives_objectHashCode(_this.grid)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSNumber_methods.get$hashCode(_this.pitch)), B.JSNumber_methods.get$hashCode(_this.yaw)), B.JSNumber_methods.get$hashCode(_this.roll)), J.get$hashCode$(_this.geometry))); - t2 = _this._group$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, A.Primitives_objectHashCode(_this.grid)), _this.helices_view_order.get$hashCode(0)), _this.position.get$hashCode(0)), B.JSNumber_methods.get$hashCode(_this.pitch)), B.JSNumber_methods.get$hashCode(_this.yaw)), B.JSNumber_methods.get$hashCode(_this.roll)), J.get$hashCode$(_this.geometry))); + t1 = _this._group$__hashCode; + if (t1 == null) { _this._group$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -119103,7 +118428,7 @@ 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(); + t4 = _this.get$position(0)._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); @@ -119124,7 +118449,7 @@ _$failedField._value = _s18_; _this.get$helices_view_order().build$0(); _$failedField._value = _s8_; - _this.get$position(_this)._position3d$_build$0(); + _this.get$position(0)._position3d$_build$0(); _$failedField._value = "geometry"; t1 = _this._group$_geometry; if (t1 != null) @@ -119203,7 +118528,7 @@ return this.group === "default_group"; }, get$has_default_roll() { - return Math.abs(this.roll - 0) < 1e-9; + return Math.abs(this.roll) < 1e-9; }, get$has_default_major_tick_distance() { return this.get$major_tick_distance() == null; @@ -119357,7 +118682,7 @@ b.get$unused_fields().replace$1(0, A.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); return b; }, - $signature: 373 + $signature: 371 }; A.Helix_relax_roll_closure.prototype = { call$1(b) { @@ -119370,21 +118695,21 @@ 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), "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)]; + result = ["idx", serializers.serialize$2$specifiedType(object.idx, B.FullType_xEI), "grid", serializers.serialize$2$specifiedType(object.grid, B.FullType_P98), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_iHz), "roll", serializers.serialize$2$specifiedType(object.roll, B.FullType_5AK), "max_offset", serializers.serialize$2$specifiedType(object.max_offset, B.FullType_xEI), "min_offset", serializers.serialize$2$specifiedType(object.min_offset, B.FullType_xEI), "major_tick_start", serializers.serialize$2$specifiedType(object.major_tick_start, B.FullType_xEI), "major_tick_periodic_distances", serializers.serialize$2$specifiedType(object.major_tick_periodic_distances, B.FullType_0)]; value = object.grid_position; if (value != null) { result.push("grid_position"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_q96)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_yPV)); } value = object.position_; if (value != null) { result.push("position_"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_cgM)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_aJC)); } value = object.major_ticks; if (value != null) { result.push("major_ticks"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_4QF0)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_0)); } return result; }, @@ -119407,19 +118732,19 @@ value = iterator.get$current(iterator); switch (t8) { case "idx": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t8.toString; A._asInt(t8); result.get$_helix$_$this()._idx = t8; break; case "grid": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_yXb); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_P98); t8.toString; t7._as(t8); result.get$_helix$_$this()._grid = t8; break; case "group": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t8.toString; A._asString(t8); result.get$_helix$_$this()._group = t8; @@ -119428,7 +118753,7 @@ t8 = result.get$_helix$_$this(); t9 = t8._grid_position; t8 = t9 == null ? t8._grid_position = new A.GridPositionBuilder() : t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_q96); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_yPV); t9.toString; t6._as(t9); t8._grid_position$_$v = t9; @@ -119437,31 +118762,31 @@ t8 = result.get$_helix$_$this(); t9 = t8._position_; t8 = t9 == null ? t8._position_ = new A.Position3DBuilder() : t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_cgM); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_aJC); t9.toString; t5._as(t9); t8._position3d$_$v = t9; break; case "roll": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t8.toString; A._asDouble(t8); result.get$_helix$_$this()._roll = t8; break; case "max_offset": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t8.toString; A._asInt(t8); result.get$_helix$_$this()._max_offset = t8; break; case "min_offset": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t8.toString; A._asInt(t8); result.get$_helix$_$this()._min_offset = t8; break; case "major_tick_start": - t8 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t8 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t8.toString; A._asInt(t8); result.get$_helix$_$this()._major_tick_start = t8; @@ -119477,7 +118802,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -119503,7 +118828,7 @@ t8 = t9; } else t8 = t9; - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_4QF0); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_0); t9.toString; t1._as(t9); t10 = t8.$ti; @@ -119528,7 +118853,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_uHJ; + return B.List_fkJ; }, get$wireName() { return "Helix"; @@ -119585,22 +118910,19 @@ return false; if (other === _this) return true; - return other instanceof A.Helix && _this.idx === other.idx && _this.grid === other.grid && _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 && _this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances) && J.$eq$(_this.major_ticks, other.major_ticks) && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$Helix && _this.idx === other.idx && _this.grid === other.grid && _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 && _this.major_tick_periodic_distances.$eq(0, other.major_tick_periodic_distances) && J.$eq$(_this.major_ticks, other.major_ticks) && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._helix$__hashCode; if (t1 != null) return t1; - t1 = _this.major_tick_periodic_distances; - t2 = _this.unused_fields; - _$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.idx)), A.Primitives_objectHashCode(_this.grid)), 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)), t1.get$hashCode(t1)), J.get$hashCode$(_this.major_ticks)), t2.get$hashCode(t2))); - t2 = _this._helix$__hashCode; - if (t2 == null) { + _$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.idx)), A.Primitives_objectHashCode(_this.grid)), 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)), _this.major_tick_periodic_distances.get$hashCode(0)), J.get$hashCode$(_this.major_ticks)), _this.unused_fields.get$hashCode(0))); + t1 = _this._helix$__hashCode; + if (t1 == null) { _this._helix$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -119713,7 +119035,7 @@ t1 = $$v.unused_fields; 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.set$_helix$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._helix$_$v = null; } return _this; @@ -119825,7 +119147,7 @@ get$helix_idxs_in_group() { var t2, t3, t4, t1 = A._setArrayType([], type$.JSArray_int); - for (t2 = this.helices, t2 = t2.get$values(t2), t3 = A._instanceType(t2), t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { + for (t2 = this.helices.get$values(0), t3 = A._instanceType(t2), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; t1.push((t4 == null ? t3._as(t4) : t4).idx); } @@ -119844,13 +119166,13 @@ 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); - t2 = b.get$geometry(b); + t2 = b.get$geometry(0); t1 = _this.geometry; A.ArgumentError_checkNotNull(t1, "other", type$.Geometry); t2._geometry$_$v = t1; return b; }, - $signature: 374 + $signature: 372 }; A.HelixGroupMove_current_position_closure.prototype = { call$1(b) { @@ -119860,12 +119182,12 @@ b.get$_position3d$_$this()._y = t1.y + t2.y; return b; }, - $signature: 375 + $signature: 373 }; 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), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_qNW)]; + return ["group_name", serializers.serialize$2$specifiedType(object.group_name, B.FullType_iHz), "group", serializers.serialize$2$specifiedType(object.group, B.FullType_V5x), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_vLM), "original_mouse_point", serializers.serialize$2$specifiedType(object.original_mouse_point, B.FullType_uvw), "current_mouse_point", serializers.serialize$2$specifiedType(object.current_mouse_point, B.FullType_uvw), "geometry", serializers.serialize$2$specifiedType(object.geometry, B.FullType_s2S)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -119882,7 +119204,7 @@ value = iterator.get$current(iterator); switch (t6) { case "group_name": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t6.toString; A._asString(t6); result.get$_helix_group_move$_$this()._helix_group_move$_group_name = t6; @@ -119897,7 +119219,7 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_yfz); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_V5x); t7.toString; t5._as(t7); t6._group$_$v = t7; @@ -119912,18 +119234,18 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_vLM); t7.toString; t6.replace$1(0, t7); break; case "original_mouse_point": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t6.toString; t6 = t3._as(t2._as(t6)); result.get$_helix_group_move$_$this().set$_original_mouse_point(t6); break; case "current_mouse_point": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t6.toString; t6 = t3._as(t2._as(t6)); result.get$_helix_group_move$_$this().set$_current_mouse_point(t6); @@ -119932,7 +119254,7 @@ t6 = result.get$_helix_group_move$_$this(); t7 = t6._helix_group_move$_geometry; t6 = t7 == null ? t6._helix_group_move$_geometry = new A.GeometryBuilder() : t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_qNW); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_s2S); t7.toString; t1._as(t7); t6._geometry$_$v = t7; @@ -119947,7 +119269,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_sxw; + return B.List_Xq4; }, get$wireName() { return "HelixGroupMove"; @@ -119980,25 +119302,22 @@ return false; if (other === _this) return true; - return other instanceof A.HelixGroupMove && _this.group_name === other.group_name && _this.group.$eq(0, other.group) && _this.helices.$eq(0, other.helices) && _this.original_mouse_point.$eq(0, other.original_mouse_point) && _this.current_mouse_point.$eq(0, other.current_mouse_point) && _this.geometry.$eq(0, other.geometry); + return other instanceof A._$HelixGroupMove && _this.group_name === other.group_name && _this.group.$eq(0, other.group) && _this.helices.$eq(0, other.helices) && _this.original_mouse_point.$eq(0, other.original_mouse_point) && _this.current_mouse_point.$eq(0, other.current_mouse_point) && _this.geometry.$eq(0, other.geometry); }, get$hashCode(_) { - var t2, t3, t4, t5, _$hash, _this = this, + var t2, _$hash, _this = this, t1 = _this._helix_group_move$__hashCode; if (t1 != null) return t1; - t1 = _this.group; - t2 = _this.helices; - t3 = _this.original_mouse_point; - t4 = _this.current_mouse_point; - t5 = _this.geometry; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.group_name)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t3.x), B.JSNumber_methods.get$hashCode(t3.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t4.x), B.JSNumber_methods.get$hashCode(t4.y), 0)), t5.get$hashCode(t5))); - t5 = _this._helix_group_move$__hashCode; - if (t5 == null) { + t1 = _this.original_mouse_point; + t2 = _this.current_mouse_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.group_name)), _this.group.get$hashCode(0)), _this.helices.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0)), _this.geometry.get$hashCode(0))); + t2 = _this._helix_group_move$__hashCode; + if (t2 == null) { _this._helix_group_move$__hashCode = _$hash; t1 = _$hash; } else - t1 = t5; + t1 = t2; return t1; }, toString$0(_) { @@ -120063,7 +119382,7 @@ t2 = $$v.helices; 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$_helix_group_move$_helices(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this.set$_original_mouse_point($$v.original_mouse_point); _this.set$_current_mouse_point($$v.current_mouse_point); t1 = $$v.geometry; @@ -120093,7 +119412,7 @@ 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); - t8 = _this.get$geometry(_this)._geometry$_build$0(); + t8 = _this.get$geometry(0)._geometry$_build$0(); _$result0 = new A._$HelixGroupMove(t2, t3, t4, t6, t7, t8); A.BuiltValueNullFieldError_checkNotNull(t2, _s14_, _s10_, t1); A.BuiltValueNullFieldError_checkNotNull(t3, _s14_, "group", type$.HelixGroup); @@ -120111,7 +119430,7 @@ _$failedField._value = "helices"; _this.get$helices().build$0(); _$failedField._value = _s8_; - _this.get$geometry(_this)._geometry$_build$0(); + _this.get$geometry(0)._geometry$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s14_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -120160,7 +119479,7 @@ b.get$_local_storage_design_choice$_$this()._period_seconds = this.period_seconds; return b; }, - $signature: 376 + $signature: 374 }; A.LocalStorageDesignChoice_to_on_edit_closure.prototype = { call$1(b) { @@ -120213,7 +119532,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_LocalStorageDesignOption_xgQ; + return B.List_Type_LocalStorageDesignOption_CV7; }, get$wireName() { return "LocalStorageDesignOption"; @@ -120222,7 +119541,7 @@ 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)]; + return ["option", serializers.serialize$2$specifiedType(object.option, B.FullType_94O), "period_seconds", serializers.serialize$2$specifiedType(object.period_seconds, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -120239,7 +119558,7 @@ value = iterator.get$current(iterator); switch (t2) { case "option": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kOK); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_94O); t2.toString; t1._as(t2); $$v = result._local_storage_design_choice$_$v; @@ -120251,7 +119570,7 @@ result._option = t2; break; case "period_seconds": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); $$v = result._local_storage_design_choice$_$v; @@ -120272,7 +119591,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_OzL; + return B.List_eT2; }, get$wireName() { return "LocalStorageDesignChoice"; @@ -120293,7 +119612,7 @@ return false; if (other === this) return true; - return other instanceof A.LocalStorageDesignChoice && this.option === other.option && this.period_seconds === other.period_seconds; + return other instanceof A._$LocalStorageDesignChoice && this.option === other.option && this.period_seconds === other.period_seconds; }, get$hashCode(_) { return A.$jf(A.$jc(A.$jc(0, A.Primitives_objectHashCode(this.option)), B.JSInt_methods.get$hashCode(this.period_seconds))); @@ -120362,7 +119681,7 @@ return "loopout"; }, to_json_serializable$1$suppress_indent(suppress_indent) { - var t2, _this = this, + var _this = this, json_map = A.LinkedHashMap_LinkedHashMap$_literal(["loopout", _this.loopout_num_bases], type$.String, type$.dynamic), t1 = _this.name; if (t1 != null) @@ -120376,8 +119695,7 @@ if (t1 != null) json_map.$indexSet(0, "label", t1); t1 = _this.unused_fields; - t2 = t1.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); return suppress_indent ? new A.NoIndent(json_map) : json_map; }, $isLinker: 1, @@ -120400,39 +119718,39 @@ b.get$_loopout$_$this().set$_loopout$_unused_fields(t1); return b; }, - $signature: 378 + $signature: 376 }; A.Loopout_set_dna_sequence_closure.prototype = { call$1(loopout) { loopout.get$_loopout$_$this()._loopout$_dna_sequence = this.seq; return loopout; }, - $signature: 29 + $signature: 26 }; 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)]; + result = ["loopout_num_bases", serializers.serialize$2$specifiedType(object.loopout_num_bases, B.FullType_xEI), "prev_domain_idx", serializers.serialize$2$specifiedType(object.prev_domain_idx, B.FullType_xEI), "strand_id", serializers.serialize$2$specifiedType(object.strand_id, B.FullType_iHz), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw)]; value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.dna_sequence; if (value != null) { result.push("dna_sequence"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.color; if (value != null) { result.push("color"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_uHx)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_Zul)); } return result; }, @@ -120451,41 +119769,41 @@ value = iterator.get$current(iterator); switch (t2) { case "loopout_num_bases": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_loopout$_$this()._loopout_num_bases = t2; break; case "name": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_loopout$_$this()._loopout$_name = t2; break; case "label": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_loopout$_$this()._loopout$_label = t2; break; case "prev_domain_idx": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_loopout$_$this()._prev_domain_idx = t2; break; case "dna_sequence": - t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t2 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_loopout$_$this()._loopout$_dna_sequence = t2; break; case "color": - t2 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uHx)); + t2 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_Zul)); result.get$_loopout$_$this()._loopout$_color = t2; break; case "strand_id": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_loopout$_$this()._loopout$_strand_id = t2; break; case "is_scaffold": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_loopout$_$this()._loopout$_is_scaffold = t2; @@ -120500,7 +119818,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_2ad; + return B.List_rx4; }, get$wireName() { return "Loopout"; @@ -120516,9 +119834,8 @@ return t1 == null ? this._loopout$__select_mode = A.Loopout.prototype.get$select_mode.call(this) : 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; + var t1 = this._loopout$__id; + return t1 == null ? this._loopout$__id = A.Loopout.prototype.get$id.call(this, 0) : t1; }, rebuild$1(updates) { var t1; @@ -120535,15 +119852,14 @@ 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 && _this.unused_fields.$eq(0, other.unused_fields); + 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 && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._loopout$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._loopout$__hashCode; if (t1 == null) { _this._loopout$__hashCode = _$hash; @@ -120612,7 +119928,7 @@ t1 = $$v.unused_fields; 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.set$_loopout$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._loopout$_$v = null; } return _this; @@ -120681,7 +119997,7 @@ b.get$_modification$_$this().set$_modification$_unused_fields(t1); return t1; }, - $signature: 379 + $signature: 377 }; A.Modification_from_json_closure0.prototype = { call$1(b) { @@ -120690,7 +120006,7 @@ b.get$_modification$_$this().set$_modification$_unused_fields(t1); return t1; }, - $signature: 380 + $signature: 378 }; A.Modification_from_json_closure1.prototype = { call$1(b) { @@ -120699,7 +120015,7 @@ b.get$_modification$_$this().set$_modification$_unused_fields(t1); return t1; }, - $signature: 381 + $signature: 379 }; A.Modification5Prime.prototype = { to_json_serializable$1$suppress_indent(suppress_indent) { @@ -120718,7 +120034,7 @@ b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); return b; }, - $signature: 382 + $signature: 380 }; A.Modification3Prime.prototype = { to_json_serializable$1$suppress_indent(suppress_indent) { @@ -120737,7 +120053,7 @@ b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); return b; }, - $signature: 383 + $signature: 381 }; A.ModificationInternal.prototype = { to_json_serializable$1$suppress_indent(suppress_indent) { @@ -120748,10 +120064,10 @@ 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"))); + t1 = new A.NoIndent(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"))); } else { t1 = t1._set; - t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); } ret.$indexSet(0, "allowed_bases", t1); } @@ -120779,12 +120095,12 @@ b.get$unused_fields().replace$1(0, _this.unused_fields_to_assign); return b; }, - $signature: 384 + $signature: 382 }; 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)]; + return ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_iHz), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_iHz), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -120801,19 +120117,19 @@ value = iterator.get$current(iterator); switch (t1) { case "display_text": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_modification$_$this()._display_text = t1; break; case "vendor_code": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_modification$_$this()._vendor_code = t1; break; case "connector_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_modification$_$this()._connector_length = t1; @@ -120828,7 +120144,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Qkz0; + return B.List_iuz0; }, get$wireName() { return "Modification5Prime"; @@ -120837,7 +120153,7 @@ 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)]; + return ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_iHz), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_iHz), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -120854,19 +120170,19 @@ value = iterator.get$current(iterator); switch (t1) { case "display_text": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_modification$_$this()._display_text = t1; break; case "vendor_code": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_modification$_$this()._vendor_code = t1; break; case "connector_length": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_modification$_$this()._connector_length = t1; @@ -120881,7 +120197,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Qkz; + return B.List_iuz; }, get$wireName() { return "Modification3Prime"; @@ -120891,11 +120207,11 @@ 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)]; + result = ["display_text", serializers.serialize$2$specifiedType(object.display_text, B.FullType_iHz), "vendor_code", serializers.serialize$2$specifiedType(object.vendor_code, B.FullType_iHz), "connector_length", serializers.serialize$2$specifiedType(object.connector_length, B.FullType_xEI)]; value = object.allowed_bases; if (value != null) { result.push("allowed_bases"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Mnt)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_woc)); } return result; }, @@ -120914,19 +120230,19 @@ value = iterator.get$current(iterator); switch (t3) { case "display_text": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_modification$_$this()._display_text = t3; break; case "vendor_code": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_modification$_$this()._vendor_code = t3; break; case "connector_length": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_modification$_$this()._connector_length = t3; @@ -120941,7 +120257,7 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Mnt); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_woc); t4.toString; t3.replace$1(0, t1._as(t4)); break; @@ -120955,7 +120271,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_neG; + return B.List_gg40; }, get$wireName() { return "ModificationInternal"; @@ -120968,15 +120284,14 @@ 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 && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$Modification5Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._modification$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._modification$__hashCode; if (t1 == null) { _this._modification$__hashCode = _$hash; @@ -121029,7 +120344,7 @@ t1 = $$v.unused_fields; 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.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._modification$_$v = null; } return _this; @@ -121087,15 +120402,14 @@ return false; if (other === _this) return true; - return other instanceof A.Modification3Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$Modification3Prime && _this.display_text === other.display_text && _this.vendor_code === other.vendor_code && _this.connector_length === other.connector_length && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._modification$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._modification$__hashCode; if (t1 == null) { _this._modification$__hashCode = _$hash; @@ -121148,7 +120462,7 @@ t1 = $$v.unused_fields; 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.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._modification$_$v = null; } return _this; @@ -121206,15 +120520,14 @@ return false; if (other === _this) return true; - 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) && _this.unused_fields.$eq(0, other.unused_fields); + 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) && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._modification$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._modification$__hashCode; if (t1 == null) { _this._modification$__hashCode = _$hash; @@ -121278,7 +120591,7 @@ t1 = $$v.unused_fields; 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.set$_modification$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._modification$_$v = null; } return _this; @@ -121373,7 +120686,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_ModificationType_EWG; + return B.List_Type_ModificationType_Cfz; }, get$wireName() { return "ModificationType"; @@ -121387,7 +120700,7 @@ b.get$_mouseover_data$_$this()._mouseover_data$_forward = this.forward; return b; }, - $signature: 385 + $signature: 383 }; A.MouseoverData.prototype = {}; A.MouseoverData_MouseoverData_closure.prototype = { @@ -121414,12 +120727,12 @@ b.get$_mouseover_data$_$this()._minor_groove_angle = _this.minor_groove_angle; return b; }, - $signature: 386 + $signature: 384 }; 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)]; + return ["helix_idx", serializers.serialize$2$specifiedType(object.helix_idx, B.FullType_xEI), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -121436,19 +120749,19 @@ value = iterator.get$current(iterator); switch (t1) { case "helix_idx": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_mouseover_data$_$this()._mouseover_data$_helix_idx = t1; break; case "offset": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t1.toString; A._asInt(t1); result.get$_mouseover_data$_$this()._mouseover_data$_offset = t1; break; case "forward": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t1.toString; A._asBool(t1); result.get$_mouseover_data$_$this()._mouseover_data$_forward = t1; @@ -121463,7 +120776,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_jlU; + return B.List_ktQ; }, get$wireName() { return "MouseoverParams"; @@ -121473,11 +120786,11 @@ 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)]; + result = ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "color_forward", serializers.serialize$2$specifiedType(object.color_forward, B.FullType_Zul), "color_reverse", serializers.serialize$2$specifiedType(object.color_reverse, B.FullType_Zul), "roll_forward", serializers.serialize$2$specifiedType(object.roll_forward, B.FullType_5AK), "minor_groove_angle", serializers.serialize$2$specifiedType(object.minor_groove_angle, B.FullType_5AK), "strand_idx", serializers.serialize$2$specifiedType(object.strand_idx, B.FullType_xEI)]; value = object.domain; if (value != null) { result.push("domain"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_fnc)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_M6L)); } return result; }, @@ -121507,43 +120820,43 @@ t4 = t5; } else t4 = t5; - t5 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t5 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t5.toString; t3._as(t5); t4._helix$_$v = t5; break; case "offset": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t4.toString; A._asInt(t4); result.get$_mouseover_data$_$this()._mouseover_data$_offset = t4; break; case "color_forward": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t4.toString; A._asDouble(t4); result.get$_mouseover_data$_$this()._roll_forward = t4; break; case "minor_groove_angle": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t4.toString; A._asDouble(t4); result.get$_mouseover_data$_$this()._minor_groove_angle = t4; break; case "strand_idx": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t4.toString; A._asInt(t4); result.get$_mouseover_data$_$this()._strand_idx = t4; @@ -121552,7 +120865,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t5.toString; t1._as(t5); t4._domain$_$v = t5; @@ -121567,7 +120880,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Qw7; + return B.List_46y; }, get$wireName() { return "MouseoverData"; @@ -121580,7 +120893,7 @@ return false; if (other === _this) return true; - return other instanceof A.MouseoverParams && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; + return other instanceof A._$MouseoverParams && _this.helix_idx === other.helix_idx && _this.offset === other.offset && _this.forward === other.forward; }, get$hashCode(_) { var _$hash, _this = this, @@ -121644,49 +120957,38 @@ }; A._$MouseoverData.prototype = { $eq(_, other) { - var t1, t2, _this = this; + var t1, t2, t3, _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof A.MouseoverData) + t1 = false; + if (other instanceof A._$MouseoverData) if (_this.helix.$eq(0, 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; + t3 = _this.color_forward.get$hashCode(0); + t2 = t2.get$hashCode(0); + if (t3 === t2) { + t1 = other.color_reverse; + t2 = _this.color_reverse.get$hashCode(0); + t1 = t1.get$hashCode(0); + t1 = t2 === t1 && _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); + } + } return t1; }, get$hashCode(_) { - var t2, t3, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._mouseover_data$__hashCode; if (t1 != null) return t1; - t1 = _this.helix; - t2 = _this.color_forward; - t3 = _this.color_reverse; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSInt_methods.get$hashCode(_this.offset)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), 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))); - t3 = _this._mouseover_data$__hashCode; - if (t3 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.helix.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.offset)), _this.color_forward.get$hashCode(0)), _this.color_reverse.get$hashCode(0)), 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))); + t1 = _this._mouseover_data$__hashCode; + if (t1 == null) { _this._mouseover_data$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t3; + } return t1; }, toString$0(_) { @@ -121826,12 +121128,12 @@ b.get$_position3d$_$this()._z = this.z; return b; }, - $signature: 387 + $signature: 385 }; 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)]; + return ["x", serializers.serialize$2$specifiedType(object.x, B.FullType_5AK), "y", serializers.serialize$2$specifiedType(object.y, B.FullType_5AK), "z", serializers.serialize$2$specifiedType(object.z, B.FullType_5AK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -121848,19 +121150,19 @@ value = iterator.get$current(iterator); switch (t1) { case "x": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_position3d$_$this()._x = t1; break; case "y": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_position3d$_$this()._y = t1; break; case "z": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_MME); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_5AK); t1.toString; A._asDouble(t1); result.get$_position3d$_$this()._z = t1; @@ -121875,7 +121177,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Ns6; + return B.List_ZrR; }, get$wireName() { return "Position3D"; @@ -121888,7 +121190,7 @@ return false; if (other === _this) return true; - return other instanceof A.Position3D && _this.x === other.x && _this.y === other.y && _this.z === other.z; + return other instanceof A._$Position3D && _this.x === other.x && _this.y === other.y && _this.z === other.z; }, get$hashCode(_) { var _$hash, _this = this, @@ -121964,17 +121266,17 @@ b.get$_potential_crossover$_$this()._linker = _this.linker; return b; }, - $signature: 388 + $signature: 386 }; A._$PotentialCrossoverSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["address", serializers.serialize$2$specifiedType(object.address, B.FullType_ync), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_iHz), "dna_end_first_click", serializers.serialize$2$specifiedType(object.dna_end_first_click, B.FullType_wOX), "start_point", serializers.serialize$2$specifiedType(object.start_point, B.FullType_uvw), "current_point", serializers.serialize$2$specifiedType(object.current_point, B.FullType_uvw)]; value = object.linker; if (value != null) { result.push("linker"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_yCn)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_nrs)); } return result; }, @@ -121996,13 +121298,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t7.toString; t5._as(t7); t6._address$_$v = t7; break; case "color": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t6.toString; A._asString(t6); result.get$_potential_crossover$_$this()._potential_crossover$_color = t6; @@ -122011,25 +121313,25 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t7.toString; t4._as(t7); t6._dna_end$_$v = t7; break; case "start_point": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t6.toString; t6 = t3._as(t2._as(t6)); result.get$_potential_crossover$_$this().set$_start_point(t6); break; case "current_point": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t6.toString; t6 = t3._as(t2._as(t6)); result.get$_potential_crossover$_$this().set$_potential_crossover$_current_point(t6); break; case "linker": - t6 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_yCn)); + t6 = t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_nrs)); result.get$_potential_crossover$_$this()._linker = t6; break; } @@ -122042,7 +121344,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Mli; + return B.List_CyI; }, get$wireName() { return "PotentialCrossover"; @@ -122055,24 +121357,22 @@ return false; if (other === _this) return true; - 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); + 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(_) { - var t2, t3, t4, _$hash, _this = this, + var t2, _$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(B.JSNumber_methods.get$hashCode(t3.x), B.JSNumber_methods.get$hashCode(t3.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t4.x), B.JSNumber_methods.get$hashCode(t4.y), 0)), J.get$hashCode$(_this.linker))); - t4 = _this._potential_crossover$__hashCode; - if (t4 == null) { + t1 = _this.start_point; + t2 = _this.current_point; + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.address.get$hashCode(0)), B.JSString_methods.get$hashCode(_this.color)), _this.dna_end_first_click.get$hashCode(0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t1.x), B.JSNumber_methods.get$hashCode(t1.y), 0)), A.SystemHash_hash2(B.JSNumber_methods.get$hashCode(t2.x), B.JSNumber_methods.get$hashCode(t2.y), 0)), J.get$hashCode$(_this.linker))); + t2 = _this._potential_crossover$__hashCode; + if (t2 == null) { _this._potential_crossover$__hashCode = _$hash; t1 = _$hash; } else - t1 = t4; + t1 = t2; return t1; }, toString$0(_) { @@ -122178,7 +121478,7 @@ 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)]; + return ["helix_idx_top", serializers.serialize$2$specifiedType(object.helix_idx_top, B.FullType_xEI), "helix_idx_bot", serializers.serialize$2$specifiedType(object.helix_idx_bot, B.FullType_xEI), "offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "forward_top", serializers.serialize$2$specifiedType(object.forward_top, B.FullType_mpw), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_iHz), "domain_top", serializers.serialize$2$specifiedType(object.domain_top, B.FullType_M6L), "domain_bot", serializers.serialize$2$specifiedType(object.domain_bot, B.FullType_M6L), "dna_end_top", serializers.serialize$2$specifiedType(object.dna_end_top, B.FullType_wOX), "dna_end_bot", serializers.serialize$2$specifiedType(object.dna_end_bot, B.FullType_wOX)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -122195,31 +121495,31 @@ value = iterator.get$current(iterator); switch (t3) { case "helix_idx_top": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(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 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_potential_vertical_crossover$_$this()._helix_idx_bot = t3; break; case "offset": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_potential_vertical_crossover$_$this()._forward_top = t3; break; case "color": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t3.toString; A._asString(t3); result.get$_potential_vertical_crossover$_$this()._potential_vertical_crossover$_color = t3; @@ -122228,7 +121528,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t2._as(t4); t3._domain$_$v = t4; @@ -122237,7 +121537,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t2._as(t4); t3._domain$_$v = t4; @@ -122246,7 +121546,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t4.toString; t1._as(t4); t3._dna_end$_$v = t4; @@ -122255,7 +121555,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_wOX); t4.toString; t1._as(t4); t3._dna_end$_$v = t4; @@ -122270,7 +121570,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_LQu; + return B.List_v5H; }, get$wireName() { return "PotentialVerticalCrossover"; @@ -122283,24 +121583,19 @@ return false; if (other === _this) return true; - 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 && _this.domain_top.$eq(0, other.domain_top) && _this.domain_bot.$eq(0, other.domain_bot) && _this.dna_end_top.$eq(0, other.dna_end_top) && _this.dna_end_bot.$eq(0, other.dna_end_bot); + 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 && _this.domain_top.$eq(0, other.domain_top) && _this.domain_bot.$eq(0, 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(_) { - var t2, t3, t4, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._potential_vertical_crossover$__hashCode; if (t1 != null) return t1; - t1 = _this.domain_top; - t2 = _this.domain_bot; - t3 = _this.dna_end_top; - t4 = _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)), B.JSInt_methods.get$hashCode(_this.offset)), B.JSBool_methods.get$hashCode(_this.forward_top)), B.JSString_methods.get$hashCode(_this.color)), t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4))); - t4 = _this._potential_vertical_crossover$__hashCode; - if (t4 == null) { + _$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)), B.JSInt_methods.get$hashCode(_this.offset)), B.JSBool_methods.get$hashCode(_this.forward_top)), B.JSString_methods.get$hashCode(_this.color)), _this.domain_top.get$hashCode(0)), _this.domain_bot.get$hashCode(0)), _this.dna_end_top.get$hashCode(0)), _this.dna_end_bot.get$hashCode(0))); + t1 = _this._potential_vertical_crossover$__hashCode; + if (t1 == null) { _this._potential_vertical_crossover$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t4; + } return t1; }, toString$0(_) { @@ -122559,7 +121854,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_SelectModeChoice_a75; + return B.List_Type_SelectModeChoice_N4X; }, get$wireName() { return "SelectModeChoice"; @@ -122593,11 +121888,9 @@ return this.modes._set.contains$1(0, B.SelectModeChoice_modification); }, add_mode$1(mode) { - A.SelectModeState_add_selectable_css_selectors(mode); return this.rebuild$1(new A.SelectModeState_add_mode_closure(this, mode)); }, remove_mode$1(mode) { - A.SelectModeState_remove_selectable_css_selectors(mode); return this.rebuild$1(new A.SelectModeState_remove_mode_closure(this, mode)); }, add_modes$1(new_modes) { @@ -122605,7 +121898,8 @@ type$.Iterable_SelectModeChoice._as(new_modes); for (t1 = new_modes._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) { t3 = t1.__interceptors$_current; - A.SelectModeState_add_selectable_css_selectors(t3 == null ? t2._as(t3) : t3); + if (t3 == null) + t2._as(t3); } return this.rebuild$1(new A.SelectModeState_add_modes_closure(this, new_modes)); }, @@ -122614,39 +121908,33 @@ type$.Iterable_SelectModeChoice._as(new_modes); for (t1 = J.get$iterator$ax(new_modes), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { t3 = t1.__interceptors$_current; - A.SelectModeState_remove_selectable_css_selectors(t3 == null ? t2._as(t3) : t3); + if (t3 == null) + t2._as(t3); } return this.rebuild$1(new A.SelectModeState_remove_modes_closure(this, new_modes)); }, set_modes$1(new_modes) { - var t1, t2, t3; + var t1, t2; type$.Iterable_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)) - A.SelectModeState_add_selectable_css_selectors(t3); - else - A.SelectModeState_remove_selectable_css_selectors(t3); - } + for (t1 = new_modes._set, t2 = t1.get$iterator(t1); t2.moveNext$0();) + t1.contains$1(0, t2.get$current(t2)); return this.rebuild$1(new A.SelectModeState_set_modes_closure(new_modes)); } }; A.SelectModeState_add_mode_closure.prototype = { call$1(s) { - var t3, - t1 = this.$this.modes, + var t1 = this.$this.modes, 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); + t2 = t2._precomputed1._as(this.mode); + $.$get$isSoundMode(); + t1.get$_safeSet().add$1(0, t2); type$.nullable_SetBuilder_SelectModeChoice._as(t1); s.get$_select_mode_state$_$this().set$_modes(t1); return s; }, - $signature: 75 + $signature: 72 }; A.SelectModeState_remove_mode_closure.prototype = { call$1(s) { @@ -122659,7 +121947,7 @@ s.get$_select_mode_state$_$this().set$_modes(t2); return s; }, - $signature: 75 + $signature: 72 }; A.SelectModeState_add_modes_closure.prototype = { call$1(s) { @@ -122672,7 +121960,7 @@ s.get$_select_mode_state$_$this().set$_modes(t2); return s; }, - $signature: 75 + $signature: 72 }; A.SelectModeState_remove_modes_closure.prototype = { call$1(s) { @@ -122685,7 +121973,7 @@ s.get$_select_mode_state$_$this().set$_modes(t2); return s; }, - $signature: 75 + $signature: 72 }; A.SelectModeState_set_modes_closure.prototype = { call$1(s) { @@ -122694,11 +121982,11 @@ s.get$_select_mode_state$_$this().set$_modes(t1); return t1; }, - $signature: 390 + $signature: 388 }; A._$SelectModeStateSerializer.prototype = { serialize$3$specifiedType(serializers, object, specifiedType) { - return ["modes", serializers.serialize$2$specifiedType(type$.SelectModeState._as(object).modes, B.FullType_2aQ)]; + return ["modes", serializers.serialize$2$specifiedType(type$.SelectModeState._as(object).modes, B.FullType_0QK)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -122732,7 +122020,7 @@ t3.replace$1(0, B.List_empty); result.set$_modes(t3); } - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_2aQ); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_0QK); t4.toString; t3.replace$1(0, t1._as(t4)); break; @@ -122746,7 +122034,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_qLL; + return B.List_w66; }, get$wireName() { return "SelectModeState"; @@ -122781,15 +122069,14 @@ return false; if (other === this) return true; - return other instanceof A.SelectModeState && this.modes.$eq(0, other.modes); + return other instanceof A._$SelectModeState && this.modes.$eq(0, other.modes); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._select_mode_state$__hashCode; if (t1 != null) return t1; - t1 = _this.modes; - _$hash = A.$jf(A.$jc(0, t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(0, _this.modes.get$hashCode(0))); t1 = _this._select_mode_state$__hashCode; if (t1 == null) { _this._select_mode_state$__hashCode = _$hash; @@ -122867,67 +122154,67 @@ var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_strands_closure())), t3._eval$1("WhereIterable")), type$.Strand); }, get$selected_crossovers() { var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_crossovers_closure())), t3._eval$1("WhereIterable")), type$.Crossover); }, get$selected_loopouts() { var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_loopouts_closure())), t3._eval$1("WhereIterable")), type$.Loopout); }, get$selected_extensions() { var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_extensions_closure())), t3._eval$1("WhereIterable")), type$.Extension); }, get$selected_domains() { var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.E)")._as(t1.$ti._eval$1("bool(1)")._as(new A.SelectablesStore_selected_domains_closure())), t3._eval$1("WhereIterable")), type$.Domain); }, get$selected_dna_ends() { var t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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 t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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 t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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 t1 = this.selected_items, 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); + return A.BuiltSet_BuiltSet$from(new A.WhereIterable(t2, t3._eval$1("bool(SetBase.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 selected_items_builder, @@ -122937,14 +122224,13 @@ 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); + t2._precomputed1._as(selectable); + $.$get$isSoundMode(); 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); + select$1(_, selectable) { + return this.select$2$only(0, selectable, false); }, unselect$1(selectable) { var selected_items_builder, @@ -122980,23 +122266,23 @@ return this.select$1(0, selectable); }, toggle_all$1(selectables) { - var t1, t2, t3, selected_items_builder, t4, t5, t6; + var t1, t2, t3, selected_items_builder, t4, t5; type$.Iterable_Selectable._as(selectables); t1 = this.selected_items; 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, t4 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t4._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t4 = t4._precomputed1, t5 = !t2._is(null); t1.moveNext$0();) { - t6 = t1.__interceptors$_current; - if (t6 == null) - t6 = t4._as(t6); - if (t3.contains$1(0, t6)) - selected_items_builder.get$_safeSet().remove$1(0, t6); + for (t1 = selectables._list, t4 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t4._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t4 = t4._precomputed1; t1.moveNext$0();) { + t5 = t1.__interceptors$_current; + if (t5 == null) + t5 = t4._as(t5); + if (t3.contains$1(0, t5)) + selected_items_builder.get$_safeSet().remove$1(0, t5); else { - t2._as(t6); - !$.$get$isSoundMode() && t5; - selected_items_builder.get$_safeSet().add$1(0, t6); + t2._as(t5); + $.$get$isSoundMode(); + selected_items_builder.get$_safeSet().add$1(0, t5); } } return this.rebuild$1(new A.SelectablesStore_toggle_all_closure(selected_items_builder)); @@ -123053,7 +122339,7 @@ t2.add$1(0, end); } } - for (t3 = strand.get$extensions(strand)._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t4 = t4._precomputed1; t3.moveNext$0();) { + for (t3 = strand.get$extensions(0)._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t4 = t4._precomputed1; t3.moveNext$0();) { t5 = t3.__interceptors$_current; if (t5 == null) t5 = t4._as(t5); @@ -123112,7 +122398,7 @@ var t3, t4, t5, t6, t1 = type$.Extension, t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1); - for (t3 = strand.get$extensions(strand)._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t4 = t4._precomputed1; t3.moveNext$0();) { + for (t3 = strand.get$extensions(0)._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t4 = t4._precomputed1; t3.moveNext$0();) { t5 = t3.__interceptors$_current; if (t5 == null) t5 = t4._as(t5); @@ -123208,9 +122494,9 @@ 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; + t4 = t5 == null ? t4.__id = A.Strand.prototype.get$id.call(t4, 0) : t5; t5 = strand.__id; - if (t4 === (t5 == null ? strand.__id = A.Strand.prototype.get$id.call(strand, strand) : t5)) + if (t4 === (t5 == null ? strand.__id = A.Strand.prototype.get$id.call(strand, 0) : t5)) modifications.add$1(0, t3); } return A._BuiltSet$of(modifications, t1); @@ -123218,37 +122504,37 @@ }; A.SelectablesStore_selected_strands_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Strand; + return type$.Selectable._as(s) instanceof A._$Strand; }, $signature: 11 }; A.SelectablesStore_selected_crossovers_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Crossover; + return type$.Selectable._as(s) instanceof A._$Crossover; }, $signature: 11 }; A.SelectablesStore_selected_loopouts_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Loopout; + return type$.Selectable._as(s) instanceof A._$Loopout; }, $signature: 11 }; A.SelectablesStore_selected_extensions_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Extension; + return type$.Selectable._as(s) instanceof A._$Extension; }, $signature: 11 }; A.SelectablesStore_selected_domains_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.Domain; + return type$.Selectable._as(s) instanceof A._$Domain; }, $signature: 11 }; A.SelectablesStore_selected_dna_ends_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.DNAEnd; + return type$.Selectable._as(s) instanceof A._$DNAEnd; }, $signature: 11 }; @@ -123256,23 +122542,23 @@ call$1(end) { return !type$.DNAEnd._as(end).is_on_extension; }, - $signature: 119 + $signature: 118 }; A.SelectablesStore_selected_dna_ends_on_extensions_closure.prototype = { call$1(end) { return type$.DNAEnd._as(end).is_on_extension; }, - $signature: 119 + $signature: 118 }; A.SelectablesStore_selected_deletions_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.SelectableDeletion; + return type$.Selectable._as(s) instanceof A._$SelectableDeletion; }, $signature: 11 }; A.SelectablesStore_selected_insertions_closure.prototype = { call$1(s) { - return type$.Selectable._as(s) instanceof A.SelectableInsertion; + return type$.Selectable._as(s) instanceof A._$SelectableInsertion; }, $signature: 11 }; @@ -123288,7 +122574,7 @@ s.get$_selectable$_$this().set$_selected_items(t1); return s; }, - $signature: 47 + $signature: 45 }; A.SelectablesStore_unselect_closure.prototype = { call$1(s) { @@ -123296,7 +122582,7 @@ s.get$_selectable$_$this().set$_selected_items(t1); return s; }, - $signature: 47 + $signature: 45 }; A.SelectablesStore_clear_closure.prototype = { call$1(s) { @@ -123304,7 +122590,7 @@ s.get$_selectable$_$this().set$_selected_items(t1); return s; }, - $signature: 47 + $signature: 45 }; A.SelectablesStore_select_all_closure.prototype = { call$1(s) { @@ -123312,7 +122598,7 @@ s.get$_selectable$_$this().set$_selected_items(t1); return s; }, - $signature: 47 + $signature: 45 }; A.SelectablesStore_toggle_all_closure.prototype = { call$1(s) { @@ -123320,7 +122606,7 @@ s.get$_selectable$_$this().set$_selected_items(t1); return s; }, - $signature: 47 + $signature: 45 }; A.SelectableDeletion.prototype = { get$select_mode() { @@ -123343,7 +122629,7 @@ return "insertion-H" + t1.helix + "-O" + this.insertion.offset + "-" + t2; }, get$id_group() { - return this.get$id(this) + "-group"; + return this.get$id(0) + "-group"; }, $isSelectable: 1 }; @@ -123362,8 +122648,7 @@ return A._$Address$_(dom.forward, dom.helix, dom.get$offset_5p()); }, get$id(_) { - var t1 = this.strand; - return "modification-5p-" + t1.get$id(t1); + return "modification-5p-" + this.strand.get$id(0); }, $isSelectable: 1 }; @@ -123373,8 +122658,7 @@ return A._$Address$_(dom.forward, dom.helix, dom.get$offset_3p()); }, get$id(_) { - var t1 = this.strand; - return "modification-3p-" + t1.get$id(t1); + return "modification-3p-" + this.strand.get$id(0); }, $isSelectable: 1 }; @@ -123385,13 +122669,12 @@ }, get$address() { var t1 = this.domain; - return A._$Address$_(t1.forward, t1.helix, this.get$offset(this)); + return A._$Address$_(t1.forward, t1.helix, this.get$offset(0)); }, get$id(_) { - var t1 = this.strand, - t2 = this.get$address(), - t3 = t2.forward ? "forward" : "reverse"; - return "modification-int-H" + t2.helix_idx + "-" + t2.offset + "-" + t3 + "-" + t1.get$id(t1); + var t1 = this.get$address(), + t2 = t1.forward ? "forward" : "reverse"; + return "modification-int-H" + t1.helix_idx + "-" + t1.offset + "-" + t2 + "-" + this.strand.get$id(0); }, $isSelectable: 1 }; @@ -123414,11 +122697,13 @@ } }, handle_selection_mouse_up$1($event) { - var t1 = $event.button; + var t2, + t1 = $event.button; t1.toString; if (t1 === 0) { t1 = $event.ctrlKey; t1.toString; + t2 = true; if (!t1) { t1 = $event.metaKey; t1.toString; @@ -123426,9 +122711,9 @@ t1 = $event.shiftKey; t1.toString; } else - t1 = true; + t1 = t2; } else - t1 = true; + t1 = t2; if (!t1) $.__app._readField$0().dispatch$1(A.Select_Select(this, true, false)); } @@ -123508,15 +122793,14 @@ t1 = type$.BuiltMap_int_ModificationInternal; t1._as(v1); t1._as(v2); - for (t1 = v1.get$values(v1), t2 = A._instanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], t3 = v2._map$_map; t1.moveNext$0();) { + for (t1 = v1.get$values(0), t2 = A._instanceType(t1), t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")), t2 = t2._rest[1], t3 = v2._map$_map; t1.moveNext$0();) { t4 = t1.__internal$_current; if (t4 == null) t4 = t2._as(t4); if (v2._values == null) - v2.set$_values(t3.get$values(t3)); + v2.set$_values(t3.get$values(0)); t5 = v2._values; t6 = A._instanceType(t5); - t6 = t6._eval$1("@<1>")._bind$1(t6._rest[1]); t5 = new A.MappedIterator(J.get$iterator$ax(t5.__internal$_iterable), t5._f, t6._eval$1("MappedIterator<1,2>")); t4 = t4.vendor_code; t6 = t6._rest[1]; @@ -123544,7 +122828,7 @@ }; 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)]; + return ["selected_items", serializers.serialize$2$specifiedType(type$.SelectablesStore._as(object).selected_items, B.FullType_QC2)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123578,7 +122862,7 @@ t3.replace$1(0, B.List_empty); result.set$_selected_items(t3); } - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_zrt); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_QC2); t4.toString; t3.replace$1(0, t1._as(t4)); break; @@ -123592,7 +122876,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_U8I; + return B.List_EMQ; }, get$wireName() { return "SelectablesStore"; @@ -123601,7 +122885,7 @@ 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)]; + return ["offset", serializers.serialize$2$specifiedType(object.offset, B.FullType_xEI), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123618,7 +122902,7 @@ value = iterator.get$current(iterator); switch (t2) { case "offset": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t2.toString; A._asInt(t2); result.get$_selectable$_$this()._selectable$_offset = t2; @@ -123627,13 +122911,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t3.toString; t1._as(t3); t2._domain$_$v = t3; break; case "is_scaffold": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t2.toString; A._asBool(t2); result.get$_selectable$_$this()._selectable$_is_scaffold = t2; @@ -123648,7 +122932,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_43h1; + return B.List_wIv; }, get$wireName() { return "SelectableDeletion"; @@ -123657,7 +122941,7 @@ 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)]; + return ["insertion", serializers.serialize$2$specifiedType(object.insertion, B.FullType_1ju), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123677,7 +122961,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_1ju); t4.toString; t2._as(t4); t3._domain$_$v = t4; @@ -123686,13 +122970,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t4.toString; t1._as(t4); t3._domain$_$v = t4; break; case "is_scaffold": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_selectable$_$this()._selectable$_is_scaffold = t3; @@ -123707,7 +122991,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_zc5; + return B.List_Ml7; }, get$wireName() { return "SelectableInsertion"; @@ -123716,7 +123000,7 @@ 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)]; + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_8eb), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123736,7 +123020,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb); t4.toString; t2._as(t4); t3._modification$_$v = t4; @@ -123745,7 +123029,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t1._as(t4); t3._strand$_$v = t4; @@ -123760,7 +123044,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Fy50; + return B.List_YD50; }, get$wireName() { return "SelectableModification5Prime"; @@ -123769,7 +123053,7 @@ 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)]; + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_8eb0), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123789,7 +123073,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb0); t4.toString; t2._as(t4); t3._modification$_$v = t4; @@ -123798,7 +123082,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t4.toString; t1._as(t4); t3._strand$_$v = t4; @@ -123813,7 +123097,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Fy5; + return B.List_YD5; }, get$wireName() { return "SelectableModification3Prime"; @@ -123822,7 +123106,7 @@ 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)]; + return ["modification", serializers.serialize$2$specifiedType(object.modification, B.FullType_W7E), "strand", serializers.serialize$2$specifiedType(object.strand, B.FullType_knt), "domain", serializers.serialize$2$specifiedType(object.domain, B.FullType_M6L), "dna_idx", serializers.serialize$2$specifiedType(object.dna_idx, B.FullType_xEI)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -123842,7 +123126,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_W7E); t5.toString; t3._as(t5); t4._modification$_$v = t5; @@ -123851,7 +123135,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_knt); t5.toString; t2._as(t5); t4._strand$_$v = t5; @@ -123860,13 +123144,13 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_M6L); t5.toString; t1._as(t5); t4._domain$_$v = t5; break; case "dna_idx": - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t4.toString; A._asInt(t4); result.get$_selectable$_$this()._dna_idx = t4; @@ -123881,7 +123165,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_v3C; + return B.List_ckq; }, get$wireName() { return "SelectableModificationInternal"; @@ -123903,7 +123187,7 @@ $isSerializer: 1, $isPrimitiveSerializer: 1, get$types() { - return B.List_Type_SelectableTrait_SXj; + return B.List_Type_SelectableTrait_oWu; }, get$wireName() { return "SelectableTrait"; @@ -123990,15 +123274,14 @@ return false; if (other === this) return true; - return other instanceof A.SelectablesStore && this.selected_items.$eq(0, other.selected_items); + return other instanceof A._$SelectablesStore && this.selected_items.$eq(0, other.selected_items); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.selected_items; - _$hash = A.$jf(A.$jc(0, t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(0, _this.selected_items.get$hashCode(0))); t1 = _this._selectable$__hashCode; if (t1 == null) { _this._selectable$__hashCode = _$hash; @@ -124111,9 +123394,8 @@ return t1 == null ? this._selectable$__select_mode = A.SelectableDeletion.prototype.get$select_mode.call(this) : t1; }, get$id(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = A.SelectableDeletion.prototype.get$id.call(_this, _this) : t1; + var t1 = this._selectable$__id; + return t1 == null ? this._selectable$__id = A.SelectableDeletion.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { var _this = this; @@ -124121,15 +123403,14 @@ return false; if (other === _this) return true; - return other instanceof A.SelectableDeletion && _this.offset === other.offset && _this.domain.$eq(0, other.domain) && _this.is_scaffold === other.is_scaffold; + return other instanceof A._$SelectableDeletion && _this.offset === other.offset && _this.domain.$eq(0, other.domain) && _this.is_scaffold === other.is_scaffold; }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.domain; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.offset)), t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, B.JSInt_methods.get$hashCode(_this.offset)), _this.domain.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); t1 = _this._selectable$__hashCode; if (t1 == null) { _this._selectable$__hashCode = _$hash; @@ -124184,14 +123465,14 @@ _$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); + _$result0 = A._$SelectableDeletion$_(_this.get$domain(0)._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(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s18_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -124212,9 +123493,8 @@ return t1 == null ? this._selectable$__select_mode = A.SelectableInsertion.prototype.get$select_mode.call(this) : t1; }, get$id(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = A.SelectableInsertion.prototype.get$id.call(_this, _this) : t1; + var t1 = this._selectable$__id; + return t1 == null ? this._selectable$__id = A.SelectableInsertion.prototype.get$id.call(this, 0) : t1; }, get$id_group() { var t1 = this.__id_group; @@ -124226,22 +123506,19 @@ return false; if (other === _this) return true; - return other instanceof A.SelectableInsertion && _this.insertion.$eq(0, other.insertion) && _this.domain.$eq(0, other.domain) && _this.is_scaffold === other.is_scaffold; + return other instanceof A._$SelectableInsertion && _this.insertion.$eq(0, other.insertion) && _this.domain.$eq(0, other.domain) && _this.is_scaffold === other.is_scaffold; }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.insertion; - t2 = _this.domain; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); - t2 = _this._selectable$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(0, _this.insertion.get$hashCode(0)), _this.domain.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.is_scaffold))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { _this._selectable$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -124294,7 +123571,7 @@ _$result0 = _this._selectable$_$v; if (_$result0 == null) { 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)); + _$result0 = A._$SelectableInsertion$_(_this.get$domain(0)._domain$_build$0(), t1, A.BuiltValueNullFieldError_checkNotNull(_this.get$_selectable$_$this()._selectable$_is_scaffold, _s19_, "is_scaffold", type$.bool)); } _$result = _$result0; } catch (exception) { @@ -124303,7 +123580,7 @@ _$failedField._value = "insertion"; _this.get$insertion()._domain$_build$0(); _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s19_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -124324,31 +123601,27 @@ return t1 == null ? this.__address = A.SelectableModification5Prime.prototype.get$address.call(this) : t1; }, get$id(_) { - var _this = this, - t1 = _this._selectable$__id; - return t1 == null ? _this._selectable$__id = A.SelectableModification5Prime.prototype.get$id.call(_this, _this) : t1; + var t1 = this._selectable$__id; + return t1 == null ? this._selectable$__id = A.SelectableModification5Prime.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof A.SelectableModification5Prime && this.modification.$eq(0, other.modification) && this.strand.$eq(0, other.strand); + return other instanceof A._$SelectableModification5Prime && this.modification.$eq(0, other.modification) && this.strand.$eq(0, other.strand); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.modification; - t2 = _this.strand; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._selectable$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(0, _this.modification.get$hashCode(0)), _this.strand.get$hashCode(0))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { _this._selectable$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -124426,31 +123699,27 @@ 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; + var t1 = this._selectable$__id; + return t1 == null ? this._selectable$__id = A.SelectableModification3Prime.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { if (other == null) return false; if (other === this) return true; - return other instanceof A.SelectableModification3Prime && this.modification.$eq(0, other.modification) && this.strand.$eq(0, other.strand); + return other instanceof A._$SelectableModification3Prime && this.modification.$eq(0, other.modification) && this.strand.$eq(0, other.strand); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.modification; - t2 = _this.strand; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._selectable$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(0, _this.modification.get$hashCode(0)), _this.strand.get$hashCode(0))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { _this._selectable$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -124528,9 +123797,8 @@ 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; + var t1 = this._selectable$__id; + return t1 == null ? this._selectable$__id = A.SelectableModificationInternal.prototype.get$id.call(this, 0) : t1; }, $eq(_, other) { var _this = this; @@ -124538,23 +123806,19 @@ return false; if (other === _this) return true; - return other instanceof A.SelectableModificationInternal && _this.modification.$eq(0, other.modification) && _this.strand.$eq(0, other.strand) && _this.domain.$eq(0, other.domain) && _this.dna_idx === other.dna_idx; + return other instanceof A._$SelectableModificationInternal && _this.modification.$eq(0, other.modification) && _this.strand.$eq(0, other.strand) && _this.domain.$eq(0, other.domain) && _this.dna_idx === other.dna_idx; }, get$hashCode(_) { - var t2, t3, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._selectable$__hashCode; if (t1 != null) return t1; - t1 = _this.modification; - t2 = _this.strand; - t3 = _this.domain; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), B.JSInt_methods.get$hashCode(_this.dna_idx))); - t3 = _this._selectable$__hashCode; - if (t3 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.modification.get$hashCode(0)), _this.strand.get$hashCode(0)), _this.domain.get$hashCode(0)), B.JSInt_methods.get$hashCode(_this.dna_idx))); + t1 = _this._selectable$__hashCode; + if (t1 == null) { _this._selectable$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t3; + } return t1; }, toString$0(_) { @@ -124623,7 +123887,7 @@ if (_$result0 == null) { t1 = _this.get$modification()._modification$_build$0(); t2 = _this.get$strand()._strand$_build$0(); - t3 = _this.get$domain(_this)._domain$_build$0(); + t3 = _this.get$domain(0)._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; @@ -124635,7 +123899,7 @@ _$failedField._value = "strand"; _this.get$strand()._strand$_build$0(); _$failedField._value = "domain"; - _this.get$domain(_this)._domain$_build$0(); + _this.get$domain(0)._domain$_build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s30_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -124686,12 +123950,12 @@ b.get$_selection_box$_$this().set$_selection_box$_current(t1); return b; }, - $signature: 392 + $signature: 390 }; 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)]; + return ["start", serializers.serialize$2$specifiedType(object.start, B.FullType_uvw), "current", serializers.serialize$2$specifiedType(object.current, B.FullType_uvw), "toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "is_main", serializers.serialize$2$specifiedType(object.is_main, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -124708,25 +123972,25 @@ value = iterator.get$current(iterator); switch (t3) { case "start": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); 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 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_selection_box$_$this()._selection_box$_toggle = t3; break; case "is_main": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_selection_box$_$this()._selection_box$_is_main = t3; @@ -124741,7 +124005,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_mHo; + return B.List_W3i; }, get$wireName() { return "SelectionBox"; @@ -124754,7 +124018,7 @@ 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; + 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, @@ -124878,10 +124142,10 @@ if ((t3 == null ? t2._as(t3) : t3).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)) + if (_this.get$lines(0)._list.length !== 0) { + if (B.JSArray_methods.get$last(_this.get$lines(0)._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)) + if (B.JSArray_methods.get$first(_this.get$lines(0)._list).intersects_line_from_new_point$1(new_point)) return true; } return false; @@ -124896,14 +124160,13 @@ }; 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$points(0).replace$1(0, []); b.get$_selection_rope$_$this()._is_main = null; return b; }, - $signature: 393 + $signature: 391 }; A.Line.prototype = { intersects$1(_, line2) { @@ -124929,13 +124192,14 @@ return false; }, contains_point$1(p) { - var t1, t2, t3, t4, t5; + 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 = false; if (t1 < Math.max(t3, t5)) if (t1 < Math.min(t3, t5)) { t1 = p.y; @@ -124943,9 +124207,9 @@ t4 = t4.y; t1 = t1 < Math.max(t2, t4) && t1 < Math.min(t2, t4); } else - t1 = false; + t1 = t6; else - t1 = false; + t1 = t6; return t1; }, intersects_line_to_new_point$1(new_point) { @@ -124976,7 +124240,7 @@ b.get$_selection_rope$_$this().set$_p2(t1); return b; }, - $signature: 394 + $signature: 392 }; A.Orientation.prototype = { _enumToString$0() { @@ -124987,16 +124251,16 @@ serialize$3$specifiedType(serializers, object, specifiedType) { var result, value; 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)]; + result = ["toggle", serializers.serialize$2$specifiedType(object.toggle, B.FullType_mpw), "points", serializers.serialize$2$specifiedType(object.points, B.FullType_EkK)]; value = object.current_point; if (value != null) { result.push("current_point"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_laS)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_uvw)); } value = object.is_main; if (value != null) { result.push("is_main"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_MtR)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_mpw)); } return result; }, @@ -125015,7 +124279,7 @@ value = iterator.get$current(iterator); switch (t6) { case "toggle": - t6 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t6 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t6.toString; A._asBool(t6); result.get$_selection_rope$_$this()._toggle = t6; @@ -125031,7 +124295,7 @@ t6 = t7; } else t6 = t7; - t7 = serializers.deserialize$2$specifiedType(value, B.FullType_cGo); + t7 = serializers.deserialize$2$specifiedType(value, B.FullType_EkK); t7.toString; t2._as(t7); t8 = t6.$ti; @@ -125047,11 +124311,11 @@ } break; case "current_point": - t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_laS))); + t6 = t1._as(t1._as(serializers.deserialize$2$specifiedType(value, B.FullType_uvw))); result.get$_selection_rope$_$this().set$_current_point(t6); break; case "is_main": - t6 = A._asBoolQ(serializers.deserialize$2$specifiedType(value, B.FullType_MtR)); + t6 = A._asBoolQ(serializers.deserialize$2$specifiedType(value, B.FullType_mpw)); result.get$_selection_rope$_$this()._is_main = t6; break; } @@ -125064,7 +124328,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_VQM; + return B.List_6yO; }, get$wireName() { return "SelectionRope"; @@ -125073,7 +124337,7 @@ 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)]; + return ["p1", serializers.serialize$2$specifiedType(object.p1, B.FullType_uvw), "p2", serializers.serialize$2$specifiedType(object.p2, B.FullType_uvw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -125090,7 +124354,7 @@ value = iterator.get$current(iterator); switch (t3) { case "p1": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._selection_rope$_$v; @@ -125102,7 +124366,7 @@ result.set$_p1(t3); break; case "p2": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_laS); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uvw); t3.toString; t3 = t2._as(t1._as(t3)); $$v = result._selection_rope$_$v; @@ -125123,7 +124387,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Cu4; + return B.List_s09; }, get$wireName() { return "Line"; @@ -125131,11 +124395,10 @@ }; A._$SelectionRope.prototype = { get$lines(_) { - var _this = this, - t1 = _this.__lines; + var t1 = this.__lines; if (t1 == null) { - t1 = A.SelectionRope.prototype.get$lines.call(_this, _this); - _this.set$__lines(t1); + t1 = A.SelectionRope.prototype.get$lines.call(this, 0); + this.set$__lines(t1); } return t1; }, @@ -125154,15 +124417,14 @@ return false; if (other === _this) return true; - return other instanceof A.SelectionRope && _this.toggle === other.toggle && _this.points.$eq(0, other.points) && J.$eq$(_this.current_point, other.current_point) && _this.is_main == other.is_main; + return other instanceof A._$SelectionRope && _this.toggle === other.toggle && _this.points.$eq(0, other.points) && J.$eq$(_this.current_point, other.current_point) && _this.is_main == other.is_main; }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._selection_rope$__hashCode; if (t1 != null) return t1; - t1 = _this.points; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.toggle)), t1.get$hashCode(t1)), J.get$hashCode$(_this.current_point)), J.get$hashCode$(_this.is_main))); + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(0, B.JSBool_methods.get$hashCode(_this.toggle)), _this.points.get$hashCode(0)), 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; @@ -125224,7 +124486,7 @@ if (_$result0 == null) { t1 = type$.bool; t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_selection_rope$_$this()._toggle, _s13_, "toggle", t1); - t3 = _this.get$points(_this).build$0(); + t3 = _this.get$points(0).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); @@ -125234,7 +124496,7 @@ _$failedField = A._Cell$named("_$failedField"); try { _$failedField._value = "points"; - _this.get$points(_this).build$0(); + _this.get$points(0).build$0(); } catch (exception) { e = A.unwrapException(exception); t1 = A.BuiltValueNestedFieldError$(_s13_, _$failedField.readLocal$0(), J.toString$0$(e)); @@ -125261,7 +124523,7 @@ return false; if (other === this) return true; - return other instanceof A.Line && this.p1.$eq(0, other.p1) && this.p2.$eq(0, other.p2); + return other instanceof A._$Line && this.p1.$eq(0, other.p1) && this.p2.$eq(0, other.p2); }, get$hashCode(_) { var t2, _$hash, _this = this, @@ -125335,47 +124597,47 @@ t3 = t2.length; if (0 >= t3) return A.ioore(t2, 0); - if (t2[0] instanceof A.Extension) { + if (t2[0] instanceof A._$Extension) { if (1 >= t3) return A.ioore(t2, 1); - if (t2[1] instanceof A.Loopout) + 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) { + 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)))); + if (t2[second_last_idx] instanceof A._$Loopout) + A.throwExpression(A.StrandError$(_this, string$.cannothl + A.S(t1.get$last(0)) + string$.x0ax20and_ + A.S(t1.$index(0, second_last_idx)))); } return strand; }, _rebuild_substrands_with_new_fields_based_on_strand$1(strand) { - var t2, t3, t4, t5, t6, idx, is_5p, t7, new_ss, + var t2, t3, t4, t5, idx, is_5p, t6, new_ss, t1 = strand.substrands, substrands_new = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - for (t1 = t1._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t3 = type$.Substrand, t4 = substrands_new.$ti, t5 = t4._precomputed1, t2 = t2._precomputed1, t6 = !t5._is(null), t4 = t4._eval$1("List<1>"), idx = 0, is_5p = true; t1.moveNext$0(); is_5p = false) { - t7 = t1.__interceptors$_current; - if (t7 == null) - t7 = t2._as(t7); - if (t7 instanceof A.Loopout) - new_ss = this._rebuild_loopout_with_new_fields_based_on_strand$3(t7, idx, strand); - else if (t7 instanceof A.Domain) - new_ss = this._rebuild_domain_with_new_fields_based_on_strand$3(t7, idx, strand); + for (t1 = t1._list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t3 = type$.Substrand, t4 = substrands_new.$ti, t5 = t4._precomputed1, t2 = t2._precomputed1, t4 = t4._eval$1("List<1>"), idx = 0, is_5p = true; t1.moveNext$0(); is_5p = false) { + t6 = t1.__interceptors$_current; + if (t6 == null) + t6 = t2._as(t6); + if (t6 instanceof A._$Loopout) + new_ss = this._rebuild_loopout_with_new_fields_based_on_strand$3(t6, idx, strand); + else if (t6 instanceof A._$Domain) + new_ss = this._rebuild_domain_with_new_fields_based_on_strand$3(t6, idx, strand); else - new_ss = t7 instanceof A.Extension ? this._rebuild_extension_with_new_fields_based_on_strand$3(t7, is_5p, strand) : null; + new_ss = t6 instanceof A._$Extension ? this._rebuild_extension_with_new_fields_based_on_strand$3(t6, is_5p, strand) : null; new_ss = t5._as(t3._as(new_ss)); - !$.$get$isSoundMode() && t6; + $.$get$isSoundMode(); if (substrands_new._listOwner != null) { - t7 = substrands_new.__ListBuilder__list_A; - t7 === $ && A.throwLateFieldNI("_list"); - substrands_new.set$__ListBuilder__list_A(t4._as(A.List_List$from(t7, true, t5))); + t6 = substrands_new.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI("_list"); + substrands_new.set$__ListBuilder__list_A(t4._as(A.List_List$from(t6, true, t5))); substrands_new.set$_listOwner(null); } - t7 = substrands_new.__ListBuilder__list_A; - t7 === $ && A.throwLateFieldNI("_list"); - B.JSArray_methods.$indexSet(t7, idx, new_ss); + t6 = substrands_new.__ListBuilder__list_A; + t6 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t6, idx, new_ss); ++idx; } return strand.rebuild$1(new A.Strand__rebuild_substrands_with_new_fields_based_on_strand_closure(substrands_new)); @@ -125417,7 +124679,7 @@ var t1, t2, t3, t4; for (t1 = this.substrands, t2 = t1._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t3 = t3._precomputed1; t2.moveNext$0();) { t4 = t2.__interceptors$_current; - if ((t4 == null ? t3._as(t4) : t4) instanceof A.Domain) + if ((t4 == null ? t3._as(t4) : t4) 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))); @@ -125425,7 +124687,7 @@ 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) + 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)))); }, check_not_adjacent_to_loopout$0() { @@ -125435,19 +124697,19 @@ t3 = t2.length; if (0 >= t3) return A.ioore(t2, 0); - if (t2[0] instanceof A.Extension) { + if (t2[0] instanceof A._$Extension) { if (1 >= t3) return A.ioore(t2, 1); - if (t2[1] instanceof A.Loopout) + 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) { + 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)))); + if (t2[second_last_idx] instanceof A._$Loopout) + throw A.wrapException(A.StrandError$(this, string$.cannothl + A.S(t1.get$last(0)) + string$.x0ax20and_ + A.S(t1.$index(0, second_last_idx)))); } }, check_loopout_not_singleton$0() { @@ -125546,10 +124808,10 @@ return B.JSArray_methods.join$1(new_seq_list, ""); }, get$has_5p_extension() { - return B.JSArray_methods.get$first(this.substrands._list) instanceof A.Extension; + return B.JSArray_methods.get$first(this.substrands._list) instanceof A._$Extension; }, get$has_3p_extension() { - return B.JSArray_methods.get$last(this.substrands._list) instanceof A.Extension; + return B.JSArray_methods.get$last(this.substrands._list) instanceof A._$Extension; }, get$address_5p() { return this.get$first_domain().get$address_5p(); @@ -125616,7 +124878,7 @@ return t1 == null ? null : A._$SelectableModification3Prime$_(t1, this); }, get$selectable_modifications() { - var t1, t2, _this = this, + var t1, _this = this, mods = A._setArrayType([], type$.JSArray_SelectableModification); if (_this.get$selectable_modification_5p() != null) { t1 = _this.get$selectable_modification_5p(); @@ -125628,10 +124890,9 @@ 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); + t1 = type$.SelectableModification; + B.JSArray_methods.addAll$1(mods, A.List_List$from(_this.get$selectable_modifications_int_by_dna_idx().get$values(0), true, t1)); + return A._BuiltList$of(mods, t1); }, get$selectable_modifications_int_by_dna_idx() { var t3, i, substrand, t4, mods_on_ss, t5, t6, t7, _this = this, @@ -125640,7 +124901,7 @@ 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) { + 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); @@ -125679,7 +124940,7 @@ 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, t5.$ti._precomputed1), t1 = t1._map$_map; t5.moveNext$0();) { + for (t1 = _this.modifications_int, t5 = t1.get$keys(0), t6 = t5._map, t5 = A.LinkedHashMapKeyIterator$(t6, t6._modifications, t5.$ti._precomputed1), t1 = t1._map$_map; t5.moveNext$0();) { t6 = t5.__js_helper$_current; t7 = t1.$index(0, t6); t7.toString; @@ -125688,7 +124949,7 @@ 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)) + if (!(ss_idx < t2)) return A.ioore(t3, ss_idx); t8 = t3[ss_idx]; t8.toString; @@ -125696,7 +124957,7 @@ } 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)); + t1.push(A.BuiltMap_BuiltMap$of(t2.get$current(0), t3, t4)); return A._BuiltList$of(t1, type$.BuiltMap_int_ModificationInternal); }, index_of_substrand$1(ss) { @@ -125715,7 +124976,7 @@ t4 = t2._as(t4); mods.$indexSet(0, t4, new A.JsLinkedHashMap(t3)); } - for (t1 = this.modifications_int, t2 = t1.get$keys(t1), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t1 = t1._map$_map; t2.moveNext$0();) { + for (t1 = this.modifications_int, t2 = t1.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t1 = t1._map$_map; t2.moveNext$0();) { t3 = t2.__js_helper$_current; t4 = t1.$index(0, t3); t4.toString; @@ -125781,17 +125042,17 @@ 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) { + if (t1[i] instanceof A._$Domain) { t3 = i + 1; t4 = t1[t3]; - if (t4 instanceof A.Domain) { + 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, A.Crossover_Crossover(i, t3, t2, t4 == null ? _this.__id = A.Strand.prototype.get$id.call(_this, 0) : 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))); + B.JSArray_methods.add$1(linkers, A.Crossover_Crossover(t3, 0, t2, _this.get$id(0))); return A._BuiltList$of(linkers, type$.Linker); }, get$crossovers() { @@ -125800,7 +125061,7 @@ t4 = t2.__interceptors$_current; if (t4 == null) t4 = t3._as(t4); - if (t4 instanceof A.Crossover) + if (t4 instanceof A._$Crossover) t1.push(t4); } return A.BuiltList_BuiltList$from(t1, type$.Crossover); @@ -125811,7 +125072,7 @@ t4 = t2.__interceptors$_current; if (t4 == null) t4 = t3._as(t4); - if (t4 instanceof A.Loopout) + if (t4 instanceof A._$Loopout) t1.push(t4); } return A.BuiltList_BuiltList$from(t1, type$.Loopout); @@ -125819,9 +125080,9 @@ get$extensions(_) { var t1 = [], t2 = this.substrands._list; - if (B.JSArray_methods.get$first(t2) instanceof A.Extension) + 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) + 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); }, @@ -125875,8 +125136,7 @@ if (t2 != null) json_map0.$indexSet(0, "well", t2); t1 = t1.unused_fields; - t2 = t1.$ti; - json_map0.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map0.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); json_map.$indexSet(0, "vendor_fields", suppress_indent ? new A.NoIndent(json_map0) : json_map0); } if (_this.is_scaffold) @@ -125895,9 +125155,9 @@ json_map.$indexSet(0, "3prime_modification", t1.vendor_code); t1 = _this.modifications_int; t2 = t1._map$_map; - if (t2._length !== 0) { + if (t2.__js_helper$_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, t1.$ti._precomputed1); t1.moveNext$0();) { + for (t1 = t1.get$keys(0), t3 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t1.$ti._precomputed1); t1.moveNext$0();) { t3 = t1.__js_helper$_current; t4 = t2.$index(0, t3); t4.toString; @@ -125909,8 +125169,7 @@ if (t1 != null) json_map.$indexSet(0, "label", t1); t1 = _this.unused_fields; - t2 = t1.$ti; - json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + json_map.addAll$1(0, new A.CopyOnWriteMap(t1._mapFactory, t1._map$_map, t1.$ti._eval$1("CopyOnWriteMap<1,2>"))); return json_map; }, remove_dna_sequence$0() { @@ -125993,7 +125252,7 @@ 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) + if (t3 instanceof A._$Domain) return t3; } throw A.wrapException(A.AssertionError$("should not be reachable")); @@ -126002,7 +125261,7 @@ var t1, i, t2; for (t1 = this.substrands._list, i = t1.length - 1; i >= 0; --i) { t2 = t1[i]; - if (t2 instanceof A.Domain) + if (t2 instanceof A._$Domain) return t2; } throw A.wrapException(A.AssertionError$("should not be reachable")); @@ -126039,7 +125298,7 @@ t1 = this.substrands, 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), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"), self_seq_idx_start = 0; t1.moveNext$0();) { + for (A.RangeError_checkValidRange(0, self_substrand_idx, t2.length), t1 = A.SubListIterable$(t2, 0, self_substrand_idx, A._arrayInstanceType(t2)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"), self_seq_idx_start = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; self_seq_idx_start += (t3 == null ? t2._as(t3) : t3).dna_length$0(); } @@ -126145,7 +125404,7 @@ b.get$_loopout$_$this()._prev_domain_idx = this.i - 1; return b; }, - $signature: 29 + $signature: 26 }; A.Strand__finalizeBuilder_closure0.prototype = { call$1(b) { @@ -126159,7 +125418,7 @@ b.get$_loopout$_$this()._loopout$_strand_id = this.id; return b; }, - $signature: 29 + $signature: 26 }; A.Strand__finalizeBuilder_closure2.prototype = { call$1(b) { @@ -126179,8 +125438,7 @@ 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); + t1 = _this.strand.get$id(0); 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; @@ -126193,20 +125451,18 @@ call$1(b) { var t1; b.get$_loopout$_$this()._loopout$_is_scaffold = this.$this.is_scaffold; - t1 = this.strand; - t1 = t1.get$id(t1); + t1 = this.strand.get$id(0); b.get$_loopout$_$this()._loopout$_strand_id = t1; b.get$_loopout$_$this()._prev_domain_idx = this.idx - 1; return b; }, - $signature: 29 + $signature: 26 }; 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); + t1 = _this.strand.get$id(0); b.get$_extension$_$this()._strand_id = t1; t1 = b.get$adjacent_domain(); t2 = _this.adjacent_domain; @@ -126227,7 +125483,7 @@ call$1(ss) { return type$.Substrand._as(ss).get$dna_sequence() != null; }, - $signature: 114 + $signature: 142 }; A.Strand_remove_dna_sequence_closure.prototype = { call$1(strand) { @@ -126247,13 +125503,13 @@ call$1(e) { return A._asInt(J.get$offset$x(e)); }, - $signature: 46 + $signature: 47 }; A.Strand__net_ins_del_length_increase_from_5p_to_closure0.prototype = { call$1(e) { return A._asInt(J.get$length$asx(e)); }, - $signature: 46 + $signature: 47 }; A.Strand_from_json_closure.prototype = { call$1(b) { @@ -126279,37 +125535,37 @@ b.get$_strand$_$this().set$_strand$_unused_fields(t1); return t1; }, - $signature: 395 + $signature: 393 }; 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)]; + result = ["substrands", serializers.serialize$2$specifiedType(object.substrands, B.FullType_GVQ), "is_scaffold", serializers.serialize$2$specifiedType(object.is_scaffold, B.FullType_mpw), "circular", serializers.serialize$2$specifiedType(object.circular, B.FullType_mpw), "modifications_int", serializers.serialize$2$specifiedType(object.modifications_int, B.FullType_OXO), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_Zul)]; value = object.vendor_fields; if (value != null) { result.push("vendor_fields"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Unx)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_qYH)); } value = object.modification_5p; if (value != null) { result.push("modification_5p"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_8eb)); } value = object.modification_3p; if (value != null) { result.push("modification_3p"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_Q1p0)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_8eb0)); } value = object.name; if (value != null) { result.push("name"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.label; if (value != null) { result.push("label"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -126338,7 +125594,7 @@ t10 = t11; } else t10 = t11; - t11 = serializers.deserialize$2$specifiedType(value, B.FullType_3HJ); + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_GVQ); t11.toString; t6._as(t11); t12 = t10.$ti; @@ -126357,19 +125613,19 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_qYH); t11.toString; t5._as(t11); t10._vendor_fields$_$v = t11; break; case "is_scaffold": - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t10.toString; A._asBool(t10); result.get$_strand$_$this()._is_scaffold = t10; break; case "circular": - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t10.toString; A._asBool(t10); result.get$_strand$_$this()._circular = t10; @@ -126378,7 +125634,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb); t11.toString; t4._as(t11); t10._modification$_$v = t11; @@ -126387,7 +125643,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_8eb0); t11.toString; t3._as(t11); t10._modification$_$v = t11; @@ -126402,22 +125658,22 @@ t10 = t11; } else t10 = t11; - t11 = serializers.deserialize$2$specifiedType(value, B.FullType_d1y); + t11 = serializers.deserialize$2$specifiedType(value, B.FullType_OXO); t11.toString; t10.replace$1(0, t11); break; case "color": - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); 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)); + t10 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_strand$_$this()._strand$_name = t10; break; case "label": - t10 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t10 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_strand$_$this()._label = t10; break; } @@ -126430,7 +125686,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_CC0; + return B.List_ODE; }, get$wireName() { return "Strand"; @@ -126506,11 +125762,10 @@ return t1; }, get$extensions(_) { - var _this = this, - t1 = _this.__extensions; + var t1 = this.__extensions; if (t1 == null) { - t1 = A.Strand.prototype.get$extensions.call(_this, _this); - _this.set$__extensions(t1); + t1 = A.Strand.prototype.get$extensions.call(this, 0); + this.set$__extensions(t1); } return t1; }, @@ -126519,9 +125774,8 @@ return t1 == null ? this.__select_mode = A.Strand.prototype.get$select_mode.call(this) : t1; }, get$id(_) { - var _this = this, - t1 = _this.__id; - return t1 == null ? _this.__id = A.Strand.prototype.get$id.call(_this, _this) : t1; + var t1 = this.__id; + return t1 == null ? this.__id = A.Strand.prototype.get$id.call(this, 0) : t1; }, get$domains() { var t1 = this.__domains; @@ -126566,7 +125820,8 @@ return false; if (other === _this) return true; - if (other instanceof A.Strand) + t1 = false; + if (other instanceof A._$Strand) if (_this.substrands.$eq(0, other.substrands)) if (J.$eq$(_this.vendor_fields, other.vendor_fields)) if (_this.is_scaffold === other.is_scaffold) @@ -126574,45 +125829,24 @@ if (J.$eq$(_this.modification_5p, other.modification_5p)) if (J.$eq$(_this.modification_3p, other.modification_3p)) if (_this.modifications_int.$eq(0, 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 && _this.unused_fields.$eq(0, 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; + t1 = other.color; + t2 = _this.color.get$hashCode(0); + t1 = t1.get$hashCode(0); + t1 = t2 === t1 && _this.name == other.name && _this.label == other.label && _this.unused_fields.$eq(0, other.unused_fields); + } return t1; }, get$hashCode(_) { - var t2, t3, t4, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._strand$__hashCode; if (t1 != null) return t1; - t1 = _this.substrands; - t2 = _this.modifications_int; - t3 = _this.color; - t4 = _this.unused_fields; - _$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, t1.get$hashCode(t1)), 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)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), t4.get$hashCode(t4))); - t4 = _this._strand$__hashCode; - if (t4 == null) { + _$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, _this.substrands.get$hashCode(0)), 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)), _this.modifications_int.get$hashCode(0)), _this.color.get$hashCode(0)), J.get$hashCode$(_this.name)), J.get$hashCode$(_this.label)), _this.unused_fields.get$hashCode(0))); + t1 = _this._strand$__hashCode; + if (t1 == null) { _this._strand$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t4; + } return t1; }, toString$0(_) { @@ -126762,14 +125996,14 @@ t1 = $$v.modifications_int; 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.set$_modifications_int(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._strand$_color = $$v.color; _this._strand$_name = $$v.name; _this._label = $$v.label; t2 = $$v.unused_fields; 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.set$_strand$_unused_fields(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); _this._strand$_$v = null; } return _this; @@ -126884,12 +126118,12 @@ b.get$_strand_creation$_$this()._color = _this.color; return b; }, - $signature: 396 + $signature: 394 }; 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)]; + return ["helix", serializers.serialize$2$specifiedType(object.helix, B.FullType_ibu), "forward", serializers.serialize$2$specifiedType(object.forward, B.FullType_mpw), "original_offset", serializers.serialize$2$specifiedType(object.original_offset, B.FullType_xEI), "current_offset", serializers.serialize$2$specifiedType(object.current_offset, B.FullType_xEI), "color", serializers.serialize$2$specifiedType(object.color, B.FullType_Zul)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -126917,31 +126151,31 @@ t3 = t4; } else t3 = t4; - t4 = serializers.deserialize$2$specifiedType(value, B.FullType_wEV); + t4 = serializers.deserialize$2$specifiedType(value, B.FullType_ibu); t4.toString; t2._as(t4); t3._helix$_$v = t4; break; case "forward": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t3.toString; A._asBool(t3); result.get$_strand_creation$_$this()._forward = t3; break; case "original_offset": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_strand_creation$_$this()._original_offset = t3; break; case "current_offset": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_kjq); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_xEI); t3.toString; A._asInt(t3); result.get$_strand_creation$_$this()._current_offset = t3; break; case "color": - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_uHx); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_Zul); t3.toString; t1._as(t3); result.get$_strand_creation$_$this()._color = t3; @@ -126956,7 +126190,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_Ltx; + return B.List_8sM; }, get$wireName() { return "StrandCreation"; @@ -126973,45 +126207,33 @@ return t1._strand_creation$_build$0(); }, $eq(_, other) { - var t1, t2, _this = this; + var t1, _this = this; if (other == null) return false; if (other === _this) return true; - if (other instanceof A.StrandCreation) + t1 = false; + if (other instanceof A._$StrandCreation) if (_this.helix.$eq(0, 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; + t1 = other.color; + t1 = _this.color.get$hashCode(0) === t1.get$hashCode(0); + } return t1; }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._strand_creation$__hashCode; if (t1 != null) return t1; - t1 = _this.helix; - t2 = _this.color; - _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, t1.get$hashCode(t1)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSInt_methods.get$hashCode(_this.original_offset)), B.JSInt_methods.get$hashCode(_this.current_offset)), t2.get$hashCode(t2))); - t2 = _this._strand_creation$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.helix.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.forward)), B.JSInt_methods.get$hashCode(_this.original_offset)), B.JSInt_methods.get$hashCode(_this.current_offset)), _this.color.get$hashCode(0))); + t1 = _this._strand_creation$__hashCode; + if (t1 == null) { _this._strand_creation$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -127128,12 +126350,12 @@ b.get$_strands_move$_$this()._strands_move$_allowable = true; return b; }, - $signature: 397 + $signature: 395 }; 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)]; + return ["strands_moving", serializers.serialize$2$specifiedType(object.strands_moving, B.FullType_SJV), "strands_fixed", serializers.serialize$2$specifiedType(object.strands_fixed, B.FullType_SJV), "helices", serializers.serialize$2$specifiedType(object.helices, B.FullType_vLM), "groups", serializers.serialize$2$specifiedType(object.groups, B.FullType_WoX), "original_helices_view_order_inverse", serializers.serialize$2$specifiedType(object.original_helices_view_order_inverse, B.FullType_RoN), "original_address", serializers.serialize$2$specifiedType(object.original_address, B.FullType_ync), "current_address", serializers.serialize$2$specifiedType(object.current_address, B.FullType_ync), "allowable", serializers.serialize$2$specifiedType(object.allowable, B.FullType_mpw), "copy", serializers.serialize$2$specifiedType(object.copy, B.FullType_mpw), "keep_color", serializers.serialize$2$specifiedType(object.keep_color, B.FullType_mpw)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -127160,7 +126382,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t10.toString; t5._as(t10); t11 = t9.$ti; @@ -127186,7 +126408,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_2No); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_SJV); t10.toString; t5._as(t10); t11 = t9.$ti; @@ -127211,7 +126433,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_Qc0); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_vLM); t10.toString; t9.replace$1(0, t10); break; @@ -127225,7 +126447,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_m48); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_WoX); t10.toString; t9.replace$1(0, t10); break; @@ -127239,7 +126461,7 @@ t9 = t10; } else t9 = t10; - t10 = serializers.deserialize$2$specifiedType(value, B.FullType_oyU); + t10 = serializers.deserialize$2$specifiedType(value, B.FullType_RoN); t10.toString; t9.replace$1(0, t10); break; @@ -127247,7 +126469,7 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t10.toString; t1._as(t10); t9._address$_$v = t10; @@ -127256,25 +126478,25 @@ 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 = serializers.deserialize$2$specifiedType(value, B.FullType_ync); t10.toString; t1._as(t10); t9._address$_$v = t10; break; case "allowable": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_strands_move$_$this()._strands_move$_allowable = t9; break; case "copy": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_strands_move$_$this()._strands_move$_copy = t9; break; case "keep_color": - t9 = serializers.deserialize$2$specifiedType(value, B.FullType_MtR); + t9 = serializers.deserialize$2$specifiedType(value, B.FullType_mpw); t9.toString; A._asBool(t9); result.get$_strands_move$_$this()._strands_move$_keep_color = t9; @@ -127289,7 +126511,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_ECG0; + return B.List_KmO; }, get$wireName() { return "StrandsMove"; @@ -127311,27 +126533,19 @@ return false; if (other === _this) return true; - return other instanceof A.StrandsMove && _this.strands_moving.$eq(0, other.strands_moving) && _this.strands_fixed.$eq(0, other.strands_fixed) && _this.helices.$eq(0, other.helices) && _this.groups.$eq(0, other.groups) && _this.original_helices_view_order_inverse.$eq(0, 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._$StrandsMove && _this.strands_moving.$eq(0, other.strands_moving) && _this.strands_fixed.$eq(0, other.strands_fixed) && _this.helices.$eq(0, other.helices) && _this.groups.$eq(0, other.groups) && _this.original_helices_view_order_inverse.$eq(0, 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(_) { - var t2, t3, t4, t5, t6, t7, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._strands_move$__hashCode; if (t1 != null) return t1; - t1 = _this.strands_moving; - t2 = _this.strands_fixed; - t3 = _this.helices; - t4 = _this.groups; - t5 = _this.original_helices_view_order_inverse; - t6 = _this.original_address; - t7 = _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, t1.get$hashCode(t1)), t2.get$hashCode(t2)), t3.get$hashCode(t3)), t4.get$hashCode(t4)), t5.get$hashCode(t5)), t6.get$hashCode(t6)), t7.get$hashCode(t7)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); - t7 = _this._strands_move$__hashCode; - if (t7 == null) { + _$hash = A.$jf(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(A.$jc(0, _this.strands_moving.get$hashCode(0)), _this.strands_fixed.get$hashCode(0)), _this.helices.get$hashCode(0)), _this.groups.get$hashCode(0)), _this.original_helices_view_order_inverse.get$hashCode(0)), _this.original_address.get$hashCode(0)), _this.current_address.get$hashCode(0)), B.JSBool_methods.get$hashCode(_this.allowable)), B.JSBool_methods.get$hashCode(_this.copy)), B.JSBool_methods.get$hashCode(_this.keep_color))); + t1 = _this._strands_move$__hashCode; + if (t1 == null) { _this._strands_move$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t7; + } return t1; }, toString$0(_) { @@ -127429,15 +126643,15 @@ t1 = $$v.helices; 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>"))); + _this.set$_strands_move$_helices(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.groups; 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>"))); + _this.set$_strands_move$_groups(new A.MapBuilder(t2._mapFactory, t2._map$_map, t2, t1._eval$1("MapBuilder<1,2>"))); t1 = $$v.original_helices_view_order_inverse; 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>"))); + _this.set$_strands_move$_original_helices_view_order_inverse(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); t2 = $$v.original_address; t1 = new A.AddressBuilder(); t3 = type$.Address; @@ -127546,13 +126760,12 @@ A.UndoRedo.prototype = {}; A.UndoRedo_UndoRedo_closure.prototype = { call$1(u) { - var t1 = type$.UndoRedo, - t2 = t1._as($.$get$DEFAULT_UndoRedo()); - A.ArgumentError_checkNotNull(t2, "other", t1); - u._undo_redo$_$v = t2; + var t1 = $.$get$DEFAULT_UndoRedo(); + A.ArgumentError_checkNotNull(t1, "other", type$.UndoRedo); + u._undo_redo$_$v = t1; return u; }, - $signature: 398 + $signature: 396 }; A.UndoRedoItem.prototype = {}; A.UndoRedoItem_UndoRedoItem_closure.prototype = { @@ -127565,12 +126778,12 @@ t1._design0$_$v = t2; return b; }, - $signature: 399 + $signature: 397 }; 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)]; + return ["short_description", serializers.serialize$2$specifiedType(object.short_description, B.FullType_iHz), "design", serializers.serialize$2$specifiedType(object.design, B.FullType_jUG)]; }, serialize$2(serializers, object) { return this.serialize$3$specifiedType(serializers, object, B.FullType_null_List_empty_false); @@ -127587,7 +126800,7 @@ value = iterator.get$current(iterator); switch (t2) { case "short_description": - t2 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t2 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t2.toString; A._asString(t2); result.get$_undo_redo$_$this()._short_description = t2; @@ -127602,7 +126815,7 @@ t2 = t3; } else t2 = t3; - t3 = serializers.deserialize$2$specifiedType(value, B.FullType_WnR); + t3 = serializers.deserialize$2$specifiedType(value, B.FullType_jUG); t3.toString; t1._as(t3); t2._design0$_$v = t3; @@ -127617,7 +126830,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_y1j; + return B.List_avb; }, get$wireName() { return "UndoRedoItem"; @@ -127644,22 +126857,19 @@ return false; if (other === this) return true; - return other instanceof A.UndoRedo && this.undo_stack.$eq(0, other.undo_stack) && this.redo_stack.$eq(0, other.redo_stack); + return other instanceof A._$UndoRedo && this.undo_stack.$eq(0, other.undo_stack) && this.redo_stack.$eq(0, other.redo_stack); }, get$hashCode(_) { - var t2, _$hash, _this = this, + var _$hash, _this = this, t1 = _this._undo_redo$__hashCode; if (t1 != null) return t1; - t1 = _this.undo_stack; - t2 = _this.redo_stack; - _$hash = A.$jf(A.$jc(A.$jc(0, t1.get$hashCode(t1)), t2.get$hashCode(t2))); - t2 = _this._undo_redo$__hashCode; - if (t2 == null) { + _$hash = A.$jf(A.$jc(A.$jc(0, _this.undo_stack.get$hashCode(0)), _this.redo_stack.get$hashCode(0))); + t1 = _this._undo_redo$__hashCode; + if (t1 == null) { _this._undo_redo$__hashCode = _$hash; t1 = _$hash; - } else - t1 = t2; + } return t1; }, toString$0(_) { @@ -127755,15 +126965,14 @@ return false; if (other === this) return true; - return other instanceof A.UndoRedoItem && this.short_description === other.short_description && this.design.$eq(0, other.design); + return other instanceof A._$UndoRedoItem && this.short_description === other.short_description && this.design.$eq(0, other.design); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._undo_redo$__hashCode; if (t1 != null) return t1; - t1 = _this.design; - _$hash = A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.short_description)), t1.get$hashCode(t1))); + _$hash = A.$jf(A.$jc(A.$jc(0, B.JSString_methods.get$hashCode(_this.short_description)), _this.design.get$hashCode(0))); t1 = _this._undo_redo$__hashCode; if (t1 == null) { _this._undo_redo$__hashCode = _$hash; @@ -127858,7 +127067,7 @@ b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); return b; }, - $signature: 400 + $signature: 398 }; A.VendorFields_from_json_closure.prototype = { call$1(b) { @@ -127867,22 +127076,22 @@ b.get$_vendor_fields$_$this().set$_vendor_fields$_unused_fields(t1); return t1; }, - $signature: 401 + $signature: 399 }; 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)]; + result = ["scale", serializers.serialize$2$specifiedType(object.scale, B.FullType_iHz), "purification", serializers.serialize$2$specifiedType(object.purification, B.FullType_iHz)]; value = object.plate; if (value != null) { result.push("plate"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } value = object.well; if (value != null) { result.push("well"); - result.push(serializers.serialize$2$specifiedType(value, B.FullType_h8g)); + result.push(serializers.serialize$2$specifiedType(value, B.FullType_iHz)); } return result; }, @@ -127901,23 +127110,23 @@ value = iterator.get$current(iterator); switch (t1) { case "scale": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_vendor_fields$_$this()._scale = t1; break; case "purification": - t1 = serializers.deserialize$2$specifiedType(value, B.FullType_h8g); + t1 = serializers.deserialize$2$specifiedType(value, B.FullType_iHz); t1.toString; A._asString(t1); result.get$_vendor_fields$_$this()._purification = t1; break; case "plate": - t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_vendor_fields$_$this()._plate = t1; break; case "well": - t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_h8g)); + t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_iHz)); result.get$_vendor_fields$_$this()._well = t1; break; } @@ -127930,7 +127139,7 @@ $isSerializer: 1, $isStructuredSerializer: 1, get$types() { - return B.List_zLk; + return B.List_uVV; }, get$wireName() { return "VendorFields"; @@ -127943,15 +127152,14 @@ 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 && _this.unused_fields.$eq(0, other.unused_fields); + return other instanceof A._$VendorFields && _this.scale === other.scale && _this.purification === other.purification && _this.plate == other.plate && _this.well == other.well && _this.unused_fields.$eq(0, other.unused_fields); }, get$hashCode(_) { var _$hash, _this = this, t1 = _this._vendor_fields$__hashCode; if (t1 != null) return t1; - t1 = _this.unused_fields; - _$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)), t1.get$hashCode(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)), _this.unused_fields.get$hashCode(0))); t1 = _this._vendor_fields$__hashCode; if (t1 == null) { _this._vendor_fields$__hashCode = _$hash; @@ -127994,7 +127202,7 @@ t1 = $$v.unused_fields; 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.set$_vendor_fields$_unused_fields(new A.MapBuilder(t1._mapFactory, t1._map$_map, t1, t2._eval$1("MapBuilder<1,2>"))); _this._vendor_fields$_$v = null; } return _this; @@ -128063,7 +127271,7 @@ t1 = J.getInterceptor$asx(pair); return Math.abs(t1.$index(pair, 0) - t1.$index(pair, 1)) < this.epsilon; }, - $signature: 402 + $signature: 400 }; A.get_text_file_content_closure.prototype = { call$1($content) { @@ -128075,7 +127283,7 @@ call$1(request) { return type$.FutureOr_ByteBuffer._as(A._convertNativeToDart_XHR_Response(type$.HttpRequest._as(request).response)); }, - $signature: 403 + $signature: 401 }; A.dialog_closure.prototype = { call$1(b) { @@ -128083,13 +127291,13 @@ b.get$_dialog$_$this().set$_on_submit(t1); return b; }, - $signature: 404 + $signature: 402 }; A.dialog__closure.prototype = { call$1(items) { this.completer.complete$1(0, type$.nullable_List_DialogItem._as(items)); }, - $signature: 405 + $signature: 403 }; A.Version.prototype = {}; A.HexGridCoordinateSystem.prototype = { @@ -128147,7 +127355,7 @@ }); return A._asyncStartSync($async$call$1, $async$completer); }, - $signature: 406 + $signature: 404 }; A.wc_closure.prototype = { call$1(base) { @@ -128163,7 +127371,7 @@ 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)); }, - $signature: 19 + $signature: 18 }; A.async_alert_closure.prototype = { call$0() { @@ -128177,11 +127385,11 @@ call$2(a, b) { return A._asDouble(a) + A._asDouble(b); }, - $signature: 407 + $signature: 405 }; 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._util$_items, index, this.$ti._precomputed1._as(value)); B.JSArray_methods.$indexSet(this._initialized, index, true); }, _get$1(_, index) { @@ -128190,13 +127398,16 @@ return A.ioore(t1, index); if (!t1[index]) throw A.wrapException(A.StateError$("Item at index " + index + " has not been initialized")); - t1 = J.$index$asx(this._util$_items, index); + t1 = this._util$_items; + if (!(index < t1.length)) + return A.ioore(t1, index); + t1 = t1[index]; t1.toString; return t1; }, $indexSet(_, index, value) { A._asInt(index); - J.$indexSet$ax(this._util$_items, index, this.$ti._precomputed1._as(value)); + B.JSArray_methods.$indexSet(this._util$_items, index, this.$ti._precomputed1._as(value)); B.JSArray_methods.$indexSet(this._initialized, index, true); return null; }, @@ -128204,7 +127415,7 @@ return this._get$1(0, A._asInt(index)); }, get$length(_) { - return J.get$length$asx(this._util$_items); + return this._util$_items.length; }, get$iterator(_) { return new A._FixedListIterator(this, this.$ti._eval$1("_FixedListIterator<1>")); @@ -128215,52 +127426,50 @@ }; A._FixedListIterator.prototype = { get$current(_) { - var _this = this, - t1 = _this._util$_index; - if (t1 < 0 || t1 >= J.get$length$asx(_this._util$_list._util$_items)) + var t1 = this._util$_index; + if (t1 < 0 || t1 >= this._util$_list._util$_items.length) throw A.wrapException(A.StateError$("No element")); - return _this._util$_list._get$1(0, _this._util$_index); + return this._util$_list._get$1(0, t1); }, moveNext$0() { - var t2, - t1 = this._util$_list; - if (this._util$_index >= J.get$length$asx(t1._util$_items) - 1) + var t1 = this._util$_index, + t2 = this._util$_list; + if (t1 >= t2._util$_items.length - 1) return false; - t2 = ++this._util$_index; - t1 = t1._initialized; - if (!(t2 >= 0 && t2 < t1.length)) - return A.ioore(t1, t2); - if (!t1[t2]) - throw A.wrapException(A.StateError$("Uninitialized element encountered at index " + t2 + " during iteration")); + ++t1; + this._util$_index = t1; + 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 }; A.add_if_not_null_closure.prototype = { call$1(b) { - var t1, t2; + var t1; 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); + t1 = b.$ti._precomputed1._as(this.elt); + $.$get$isSoundMode(); + return b.get$_safeSet().add$1(0, t1); }, $signature() { return this.T._eval$1("bool(SetBuilder<0>)"); } }; - A.End3PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.End3PrimeProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.End3PrimeComponent.prototype = { render$0(_) { var t2, t3, t4, t5, 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"); + t1 = t1.get$props(0).$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"); + t2 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$index(0, "End3PrimeProps.forward"); t3 = t1.x; t1 = t1.y; t4 = A.S(t1); @@ -128274,46 +127483,35 @@ points = A.S(t3 + 3.7) + "," + t4 + " " + t2 + "," + A.S(t5) + " " + t2 + "," + A.S(t1); } poly_props = A.SvgProps$($.$get$polygon(), _null); - t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.classname"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$index(0, "End3PrimeProps.classname"); poly_props.set$className(0, A._asString(t1 == null ? _null : t1)); poly_props.set$points(0, points); - t1 = _this.___$End3PrimeComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "End3PrimeProps.color"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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_"); + if (_this.___$End3PrimeComponent__cachedTypedProps_A.get$transform(0) != null) { + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + poly_props.set$transform(0, _this.___$End3PrimeComponent__cachedTypedProps_A.get$transform(0)); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End3PrimeComponent__cachedTypedProps_A.get$props(0).$index(0, "End3PrimeProps.on_mouse_move"); poly_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); } return poly_props.call$0(); @@ -128323,7 +127521,7 @@ call$0() { return new A._$End3PrimeComponent(null); }, - $signature: 408 + $signature: 406 }; A._$$End3PrimeProps.prototype = { get$$$isClassGenerated() { @@ -128358,7 +127556,7 @@ return "End3Prime"; }, get$$$defaultConsumedProps() { - return B.Map_0Ecu.get$values(B.Map_0Ecu); + return B.Map_AYjzT.get$values(B.Map_AYjzT); } }; A.$End3PrimeProps.prototype = { @@ -128412,14 +127610,14 @@ }; A.__$$End3PrimeProps_UiProps_End3PrimeProps.prototype = {}; A.__$$End3PrimeProps_UiProps_End3PrimeProps_$End3PrimeProps.prototype = {}; - A.End5PrimeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.End5PrimeProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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"); + t1 = t1.get$props(0).$index(0, "End5PrimeProps.classname"); rect_props.set$className(0, A._asString(t1 == null ? _null : t1)); rect_props.set$x(0, A.S(_this.___$End5PrimeComponent__cachedTypedProps_A.get$pos().x - 3.5)); rect_props.set$y(0, A.S(_this.___$End5PrimeComponent__cachedTypedProps_A.get$pos().y - 3.5)); @@ -128428,42 +127626,32 @@ 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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$index(0, "End5PrimeProps.color"); if (t1 == null) t1 = _null; 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_"); + if (_this.___$End5PrimeComponent__cachedTypedProps_A.get$transform(0) != null) { + rect_props.set$transform(0, _this.___$End5PrimeComponent__cachedTypedProps_A.get$transform(0)); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$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"); + t1 = _this.___$End5PrimeComponent__cachedTypedProps_A.get$props(0).$index(0, "End5PrimeProps.on_mouse_move"); rect_props.set$onMouseMove(0, t2._as(t1 == null ? _null : t1)); } return rect_props.call$0(); @@ -128473,7 +127661,7 @@ call$0() { return new A._$End5PrimeComponent(null); }, - $signature: 409 + $signature: 407 }; A._$$End5PrimeProps.prototype = { get$$$isClassGenerated() { @@ -128508,7 +127696,7 @@ return "End5Prime"; }, get$$$defaultConsumedProps() { - return B.Map_Wb23h.get$values(B.Map_Wb23h); + return B.Map_0eWEc.get$values(B.Map_0eWEc); } }; A.$End5PrimeProps.prototype = { @@ -128573,9 +127761,9 @@ type$.AppState._as(state); return A.set_axis_arrows_props(A.axis_arrows_main___$AxisArrowsMain$closure().call$0(), state); }, - $signature: 120 + $signature: 119 }; - A.AxisArrowsMainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.AxisArrowsMainProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainArrowsComponent.prototype = { render$0(_) { var svg_center_y, t2, t3, t4, t5, t6, _this = this, _null = null, _s4_ = "none", _s3_ = "red", @@ -128585,8 +127773,7 @@ t1 = _this.___$DesignMainArrowsComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); svg_center_y = t1.get$invert_y() ? 66.5 : 20; - t1 = _this.___$DesignMainArrowsComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.AxisArM); + t1 = _this.___$DesignMainArrowsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.AxisArM); if (A._asBool(t1 == null ? _null : t1)) { t1 = A.SvgProps$($.$get$g(), _null); t1.set$className(0, "arrow-group"); @@ -128673,7 +127860,7 @@ call$0() { return new A._$DesignMainArrowsComponent(null); }, - $signature: 411 + $signature: 409 }; A._$$AxisArrowsMainProps.prototype = { get$$$isClassGenerated() { @@ -128708,7 +127895,7 @@ return "AxisArrowsMain"; }, get$$$defaultConsumedProps() { - return B.Map_ACAVR.get$values(B.Map_ACAVR); + return B.Map_WNJ1G.get$values(B.Map_WNJ1G); } }; A.$AxisArrowsMainProps.prototype = { @@ -128730,9 +127917,9 @@ type$.AppState._as(state); return A.set_axis_arrows_props(A.axis_arrows_side___$AxisArrowsSide$closure().call$0(), state); }, - $signature: 120 + $signature: 119 }; - A.AxisArrowsSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.AxisArrowsSideProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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", @@ -128742,8 +127929,7 @@ t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); svg_center_x = t1.get$invert_y() ? 66.5 : 20; svg_center_y = _this.___$AxisArrowsComponent__cachedTypedProps_A.get$invert_y() ? 66.5 : 20; - t1 = _this.___$AxisArrowsComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.AxisArS); + t1 = _this.___$AxisArrowsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.AxisArS); if (A._asBool(t1 == null ? _null : t1)) { t1 = A.SvgProps$($.$get$g(), _null); t1.set$className(0, "arrow-group"); @@ -128801,7 +127987,7 @@ call$0() { return new A._$AxisArrowsComponent(null); }, - $signature: 412 + $signature: 410 }; A._$$AxisArrowsSideProps.prototype = { get$$$isClassGenerated() { @@ -128836,7 +128022,7 @@ return "AxisArrowsSide"; }, get$$$defaultConsumedProps() { - return B.Map_RGnlV.get$values(B.Map_RGnlV); + return B.Map_y0uNR.get$values(B.Map_y0uNR); } }; A.$AxisArrowsSideProps.prototype = { @@ -128865,53 +128051,55 @@ _s9_0 = "mousedown", t1 = document; t1.toString; - t2 = type$.nullable_void_Function_MouseEvent._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure()); - type$.nullable_void_Function._as(null); - A._EventStreamSubscription$(t1, "click", t2, false, type$.MouseEvent); - t2 = _this.__DesignViewComponent_side_view_svg_A; - t2 === $ && A.throwLateFieldNI("side_view_svg"); - t1 = type$._ElementEventStreamImpl_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]; + A._EventStreamSubscription$(t1, "click", type$.nullable_void_Function_MouseEvent._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure()), false, type$.MouseEvent); + t1 = _this.__DesignViewComponent_side_view_svg_A; + t1 === $ && A.throwLateFieldNI("side_view_svg"); + t2 = type$._ElementEventStreamImpl_MouseEvent; + t3 = t2._eval$1("~(1)?"); + t2 = t2._precomputed1; + A._EventStreamSubscription$(t1, "mouseleave", t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure0(_this)), false, t2); + A._EventStreamSubscription$(_this.__DesignViewComponent_side_view_svg_A, _s9_, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure1(_this)), false, t2); + t1 = _this.__DesignViewComponent_main_view_svg_A; + t1 === $ && A.throwLateFieldNI("main_view_svg"); + t1 = [t1, _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 = window; - t2.toString; + A._EventStreamSubscription$(t1[_i], _s9_0, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure2()), false, t2); + A._EventStreamSubscription$(_this.__DesignViewComponent_main_view_svg_A, _s9_, t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure3(_this)), false, t2); + t1 = window; + t1.toString; t4 = type$.nullable_void_Function_KeyboardEvent; t5 = type$.KeyboardEvent; - A._EventStreamSubscription$(t2, "keydown", t4._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure4(_this)), false, t5); + A._EventStreamSubscription$(t1, "keydown", t4._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure4(_this)), false, t5); end_select_mode = new A.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode(_this); - t2 = window; - t2.toString; - A._EventStreamSubscription$(t2, "blur", type$.nullable_void_Function_Event._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure5(end_select_mode)), false, type$.Event); - t2 = window; - t2.toString; - A._EventStreamSubscription$(t2, "keyup", t4._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure6(end_select_mode)), false, t5); - 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); + t1 = window; + t1.toString; + A._EventStreamSubscription$(t1, "blur", type$.nullable_void_Function_Event._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure5(end_select_mode)), false, type$.Event); + t1 = window; + t1.toString; + A._EventStreamSubscription$(t1, "keyup", t4._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure6(end_select_mode)), false, t5); + for (t1 = [_this.__DesignViewComponent_main_view_svg_A, _this.__DesignViewComponent_side_view_svg_A], _i = 0; _i < 2; ++_i) { + svg_elt = t1[_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, t2); + A._EventStreamSubscription$(svg_elt, "mouseup", t3._as(new A.DesignViewComponent_handle_keyboard_mouse_events_closure8(svg_elt)), false, t2); } }, handle_keyboard_shortcuts$2(key, ev) { - var _i, svg_elt, t2, _this = this, _s5_ = "store", + var _i, svg_elt, t2, t3, _this = this, _s5_ = "store", _s6_ = "_state", _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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); } else t1 = true; if (t1) @@ -128932,9 +128120,9 @@ } } else { t1 = J.getInterceptor$x(ev); - if (!t1.get$ctrlKey(ev) && !t1.get$metaKey(ev) && !t1.get$shiftKey(ev) && !t1.get$altKey(ev) && J.contains$1$asx(B.Map_2Vy1w.get$keys(B.Map_2Vy1w), key)) { + if (!t1.get$ctrlKey(ev) && !t1.get$metaKey(ev) && !t1.get$shiftKey(ev) && !t1.get$altKey(ev) && J.contains$1$asx(B.Map_VOaKH.get$keys(B.Map_VOaKH), key)) { t1 = $.__app._readField$0(); - t2 = B.Map_2Vy1w.$index(0, key); + t2 = B.Map_VOaKH.$index(0, key); t2.toString; t1.dispatch$1(A.EditModeToggle_EditModeToggle(t2)); } else { @@ -128951,23 +128139,28 @@ 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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; @@ -128991,7 +128184,9 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_strands()._set; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; if (t1.get$isNotEmpty(t1)) { t1 = J.getInterceptor$x(ev); t1 = (t1.get$ctrlKey(ev) || t1.get$metaKey(ev)) && key === 67; @@ -129004,53 +128199,55 @@ A.paste_strands_manually(); else if ((t1.get$ctrlKey(ev) || t1.get$metaKey(ev)) && t1.get$shiftKey(ev) && key === 86) A.paste_strands_auto(); + t2 = false; if (t1.get$ctrlKey(ev) || t1.get$metaKey(ev)) if (!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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 { + t2 = false; if (t1.get$altKey(ev)) if (t1.get$shiftKey(ev)) t2 = !(t1.get$ctrlKey(ev) || 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); } else { 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else t2 = true; + t3 = false; if (t2) if (t1.get$altKey(ev)) t2 = !(t1.get$ctrlKey(ev) || t1.get$metaKey(ev)); else - t2 = false; + t2 = t3; else - t2 = false; + t2 = t3; if (t2) { t1.preventDefault$0(ev); if (key === 83) @@ -129108,7 +128305,7 @@ t2 = window; t2.toString; t2 = A._wrapToDart(A._convertToJS(t2)); - if ("PointerEvent" in t2._js$_jsObject) + if ("PointerEvent" in t2._jsObject) B.JSArray_methods.add$1(t3, A._PointerManager$(draggable)); else { if (A.TouchEvent_supported()) @@ -129116,17 +128313,18 @@ 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)); + draggable.get$onDragStart(0).listen$1(new A.DesignViewComponent_install_draggable_closure(_this, view_svg, is_main_view)); + draggable.get$onDrag(0).listen$1(new A.DesignViewComponent_install_draggable_closure0(_this, view_svg, is_main_view)); + draggable.get$onDragEnd(0).listen$1(new A.DesignViewComponent_install_draggable_closure1(_this, view_svg, is_main_view)); }, drag_end$3(draggable_event, view_svg, is_main_view) { - var action_remove, toggle, action_adjust, + var action_remove, toggle, action_adjust, _s6_ = "_state", _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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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; @@ -129155,7 +128353,9 @@ 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); } else t1 = false; if (t1) @@ -129364,30 +128564,42 @@ $.$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, t2, displayed_grid, geometry, svg_pos, gp, action, _s5_ = "store"; + var t1, displayed_group_name, t2, displayed_grid, geometry, svg_pos, gp, action, _s5_ = "store", _s6_ = "_state"; 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + displayed_group_name = t1.ui_state.storables.displayed_group_name; t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design().groups._map$_map.$index(0, displayed_group_name); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design().groups._map$_map.$index(0, displayed_group_name); t1.toString; t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - displayed_grid = t2.get$state(t2).get$design().groups._map$_map.$index(0, displayed_group_name).grid; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + displayed_grid = t2.get$design().groups._map$_map.$index(0, displayed_group_name).grid; if (displayed_grid !== B.Grid_none) { t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - t2 = t2.get$state(t2).ui_state; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state; geometry = t1.geometry; if (geometry == null) { t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - geometry = t1.get$state(t1).get$design().geometry; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + geometry = t1.get$design().geometry; } svg_pos = A.transformed_svg_point(type$.SvgSvgElement._as(document.querySelector("#side-view-svg")), false, $event, mouse_pos); gp = A.position_2d_to_grid_position_diameter_1_circles(displayed_grid, svg_pos.x / geometry.get$distance_between_helices_svg(), svg_pos.y / geometry.get$distance_between_helices_svg(), B.HexGridCoordinateSystem_2); @@ -129395,7 +128607,9 @@ 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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (!J.$eq$(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; @@ -129406,11 +128620,15 @@ } 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1.ui_state.side_view_position_mouse_cursor != null) $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); } }, @@ -129433,14 +128651,18 @@ 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) { + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.context_menu != null) { context_menu_elt = document.querySelector("#context-menu"); if (context_menu_elt != null && !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) { + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.color_picker_strand != null) { strand_color_picker_elt = document.querySelector("#strand-color-picker"); if (strand_color_picker_elt != null && !J.contains$1$asx(strand_color_picker_elt, target)) $.__app._readField$0().dispatch$1(A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); @@ -129454,11 +128676,15 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.side_view_position_mouse_cursor != null) $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); return null; }, @@ -129511,12 +128737,17 @@ } 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (t2.ui_state.selection_rope != null) { t2 = $event.ctrlKey; t2.toString; + t3 = true; if (!t2) { t2 = $event.metaKey; t2.toString; @@ -129524,9 +128755,9 @@ t2 = $event.shiftKey; t2.toString; } else - t2 = true; + t2 = t3; } else - t2 = true; + t2 = t3; } else t2 = false; } else @@ -129540,36 +128771,49 @@ 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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + displayed_group_name = 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.get$design().groups._map$_map.$index(0, displayed_group_name); t2.toString; geometry = t2.geometry; if (geometry == null) { t3 = $.__app._readField$0().__App_store_F; t3 === $ && A.throwLateFieldNI(_s5_); - geometry = t3.get$state(t3).get$design().geometry; + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + geometry = t3.get$design().geometry; } 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + helices_in_group = t3.get$design().helices_in_group$1(displayed_group_name).get$values(0); t3 = $.__app._readField$0().__App_store_F; t3 === $ && A.throwLateFieldNI(_s5_); - t3 = t3.get$state(t3).ui_state; + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = t3.ui_state; t4 = $.__app._readField$0().__App_store_F; t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); t5 = helices_in_group.__internal$_iterable; t6 = J.getInterceptor$ax(t5); t7 = helices_in_group._f; - t4 = t4.get$state(t4).get$helix_idx_to_svg_position_map()._map$_map.$index(0, t7.call$1(t6.get$first(t5)).idx).x; + t4 = t4.get$helix_idx_to_svg_position_map()._map$_map.$index(0, t7.call$1(t6.get$first(t5)).idx).x; svg_clicked_point_untransformed = t2.transform_point_main_view$3$inverse(A.svg_position_of_mouse_click($event), geometry, true); range = A.find_helix_group_min_max(helices_in_group); min_offset = range.x; @@ -129585,7 +128829,9 @@ 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; + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_); t3 = window; @@ -129595,17 +128841,23 @@ helix = t2.helix; t3 = $.__app._readField$0().__App_store_F; t3 === $ && A.throwLateFieldNI(_s5_); - t3 = t3.get$state(t3).get$design().groups._map$_map.$index(0, helix.group); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = t3.get$design().groups._map$_map.$index(0, helix.group); t3.toString; geometry = t3.geometry; if (geometry == null) { t4 = $.__app._readField$0().__App_store_F; t4 === $ && A.throwLateFieldNI(_s5_); - geometry = t4.get$state(t4).get$design().geometry; + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + geometry = t4.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()._map$_map.$index(0, helix.idx); + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + t4 = t4.get$helix_idx_to_svg_position_map()._map$_map.$index(0, helix.idx); t4.toString; offset = A.get_address_on_helix($event, helix, t3, geometry, t4).offset; if (offset !== t2.current_offset) @@ -129619,7 +128871,9 @@ 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; + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_); t2 = window; @@ -129637,41 +128891,46 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - strands_move = t1.get$state(t1).ui_state.strands_move; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + strands_move = 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_); - group_names = t1.get$state(t1).get$design().group_names_of_strands$1(strands_move.strands_moving); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + group_names = t1.get$design().group_names_of_strands$1(strands_move.strands_moving); if (group_names != null) { t1 = group_names._set; t1 = t1.get$length(t1) !== 1; } else t1 = false; if (t1) { - t1 = group_names._set.join$1(0, _s2_); - t2 = window; - t2.toString; - B.Window_methods.alert$1(t2, "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; + t2 = group_names._set.join$1(0, _s2_); + t3 = window; + t3.toString; + B.Window_methods.alert$1(t3, "Cannot move or copy strands unless they are all on the same helix group.\nThese strands occupy the following helix groups: " + t2); + } + can_paste = !t1; } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.get$design().helices.get$values(0); t3 = A._instanceType(t2); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")); t3 = t3._rest[1]; t4 = $.__app._name; @@ -129684,35 +128943,48 @@ A.throwExpression(A.LateError$fieldNI(t4)); t6 = t6.__App_store_F; t6 === $ && A.throwLateFieldNI(_s5_); - if (t6.get$state(t6).ui_state.storables.side_selected_helix_idxs._set.contains$1(0, t5.idx)) + t6 = t6.__Store__state_A; + t6 === $ && A.throwLateFieldNI(_s6_); + if (t6.ui_state.storables.side_selected_helix_idxs._set.contains$1(0, t5.idx)) t1.push(t5); } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + visible_helices = t1.get$design().helices.get$values(0); } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - t2 = t1.groups._map$_map.$index(0, t2.get$state(t2).ui_state.storables.displayed_group_name); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t1.groups._map$_map.$index(0, t2.ui_state.storables.displayed_group_name); t2.toString; geometry = t2.geometry; if (geometry == null) { t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - geometry = t1.get$state(t1).get$design().geometry; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + geometry = t1.get$design().geometry; } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - address = A.find_closest_address($event, visible_helices, t1.groups, geometry, t2.get$state(t2).get$helix_idx_to_svg_position_map()); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + address = A.find_closest_address($event, visible_helices, t1.groups, geometry, t2.get$helix_idx_to_svg_position_map()); if (!address.$eq(0, old_address)) $.__app._readField$0().dispatch$1(A._$StrandsMoveAdjustAddress$_(address)); } @@ -129720,12 +128992,16 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - domains_move = t1.get$state(t1).ui_state.domains_move; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + domains_move = 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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_); t2 = window; @@ -129735,14 +129011,16 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.get$design().helices.get$values(0); t3 = A._instanceType(t2); - t3 = t3._eval$1("@<1>")._bind$1(t3._rest[1]); t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")); t3 = t3._rest[1]; t4 = $.__app._name; @@ -129755,46 +129033,63 @@ A.throwExpression(A.LateError$fieldNI(t4)); t6 = t6.__App_store_F; t6 === $ && A.throwLateFieldNI(_s5_); - if (t6.get$state(t6).ui_state.storables.side_selected_helix_idxs._set.contains$1(0, t5.idx)) + t6 = t6.__Store__state_A; + t6 === $ && A.throwLateFieldNI(_s6_); + if (t6.ui_state.storables.side_selected_helix_idxs._set.contains$1(0, t5.idx)) t1.push(t5); } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + visible_helices = t1.get$design().helices.get$values(0); } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - t2 = t1.groups._map$_map.$index(0, t2.get$state(t2).ui_state.storables.displayed_group_name); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t1.groups._map$_map.$index(0, t2.ui_state.storables.displayed_group_name); t2.toString; geometry = t2.geometry; if (geometry == null) { t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - geometry = t1.get$state(t1).get$design().geometry; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + geometry = t1.get$design().geometry; } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - address = A.find_closest_address($event, visible_helices, t1.groups, geometry, t2.get$state(t2).get$helix_idx_to_svg_position_map()); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + address = A.find_closest_address($event, visible_helices, t1.groups, geometry, t2.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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + strand_creation = 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = strand_creation.helix; t3 = t2.group; t1 = t1.groups._map$_map.$index(0, t3); @@ -129803,19 +129098,25 @@ if (geometry == null) { t4 = $.__app._readField$0().__App_store_F; t4 === $ && A.throwLateFieldNI(_s5_); - geometry = t4.get$state(t4).get$design().geometry; + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + geometry = t4.get$design().geometry; } t4 = $.__app._readField$0().__App_store_F; t4 === $ && A.throwLateFieldNI(_s5_); + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); t2 = t2.idx; - t4 = t4.get$state(t4).get$design().helices._map$_map.$index(0, t2); + t4 = t4.get$design().helices._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 = t5.__Store__state_A; + t5 === $ && A.throwLateFieldNI(_s6_); + t5 = t5.get$helix_idx_to_svg_position_map()._map$_map.$index(0, t2); t5.toString; t1 = type$.int; t3 = type$.Point_double; @@ -129836,7 +129137,7 @@ }; A.DesignViewComponent_handle_keyboard_mouse_events_closure4.prototype = { call$1(ev) { - var t1, t2, _s5_ = "store"; + var t1, t2, _s5_ = "store", _s6_ = "_state"; type$.KeyboardEvent._as(ev); t1 = J.getInterceptor$x(ev); t2 = t1.get$which(ev); @@ -129848,48 +129149,66 @@ 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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); } }, - $signature: 45 + $signature: 48 }; A.DesignViewComponent_handle_keyboard_mouse_events_end_select_mode.prototype = { call$0() { @@ -129910,7 +129229,9 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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; @@ -129933,7 +129254,7 @@ call$1(_) { return this.end_select_mode.call$0(); }, - $signature: 19 + $signature: 18 }; A.DesignViewComponent_handle_keyboard_mouse_events_closure6.prototype = { call$1(ev) { @@ -129945,34 +129266,43 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.side_view_position_mouse_cursor != null) $.__app._readField$0().dispatch$1(A._$MousePositionSideClear__$MousePositionSideClear()); } }, - $signature: 45 + $signature: 48 }; A.DesignViewComponent_handle_keyboard_mouse_events_closure7.prototype = { call$1($event) { - var t1, left_click, point; + var t1, left_click, t2, point; type$.MouseEvent._as($event); t1 = $event.button; t1.toString; left_click = t1 === 0; t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - if (t1.get$state(t1).ui_state.selection_rope != null) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t2 = false; + if (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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_rope_select); } else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; if (t1) { t1 = this.is_main_view; point = A.transform_mouse_coord_to_svg_current_panzoom_correct_firefox($event, t1, this.svg_elt); @@ -130000,7 +129330,9 @@ 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)) { + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (t2.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { t2 = $event.ctrlKey; t2.toString; if (!t2) { @@ -130021,7 +129353,9 @@ 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); } else t1 = false; if (t1) @@ -130029,19 +129363,22 @@ } return null; }, - $signature: 84 + $signature: 86 }; A.DesignViewComponent_install_draggable_closure0.prototype = { call$1(ev) { - var action, + var t3, 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)) { + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (t2.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_select)) { t2 = $event.ctrlKey; t2.toString; + t3 = true; if (!t2) { t2 = $event.metaKey; t2.toString; @@ -130049,9 +129386,9 @@ t2 = $event.shiftKey; t2.toString; } else - t2 = true; + t2 = t3; } else - t2 = true; + t2 = t3; if (t2) { action = A.SelectionBoxSizeChange_SelectionBoxSizeChange(point, t1); $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); @@ -130060,12 +129397,15 @@ 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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_move_group); } else t1 = false; if (t1) { t1 = $event.ctrlKey; t1.toString; + t2 = true; if (!t1) { t1 = $event.metaKey; t1.toString; @@ -130073,9 +129413,9 @@ t1 = $event.shiftKey; t1.toString; } else - t1 = true; + t1 = t2; } else - t1 = true; + t1 = t2; if (t1) { action = A._$HelixGroupMoveAdjustTranslation$_(point); $.__app._readField$0().dispatch$1(A.ThrottledActionFast_ThrottledActionFast(action, 0.016666666666666666)); @@ -130084,13 +129424,13 @@ } return null; }, - $signature: 84 + $signature: 86 }; 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); }, - $signature: 84 + $signature: 86 }; A.paste_strands_manually_closure.prototype = { call$1($content) { @@ -130098,7 +129438,7 @@ if ($content != null && $content.length !== 0) $.__app._readField$0().dispatch$1(A.ManualPasteInitiate_ManualPasteInitiate($content)); }, - $signature: 122 + $signature: 121 }; A.paste_strands_auto_closure.prototype = { call$1($content) { @@ -130106,7 +129446,7 @@ if ($content != null && $content.length !== 0) $.__app._readField$0().dispatch$1(A.AutoPasteInitiate_AutoPasteInitiate($content)); }, - $signature: 122 + $signature: 121 }; A.ConnectedDesignContextMenu_closure.prototype = { call$1(state) { @@ -130116,9 +129456,9 @@ J.$indexSet$ax(J.get$props$x(t1), "DesignContextMenuProps.context_menu", state.ui_state.context_menu); return t1; }, - $signature: 415 + $signature: 413 }; - A.DesignContextMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignContextMenuProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignContextMenuState.prototype = {$isMap: 1}; A.DesignContextMenuComponent.prototype = { get$initialState() { @@ -130128,7 +129468,7 @@ 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); + t1.get$state(0).$indexSet(0, string$.DesignCM, t2); return t1; }, componentDidUpdate$3(_, prev_state, __) { @@ -130136,28 +129476,24 @@ 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(); - t1 = t1.get$current(t1).offsetWidth; + t2 = false; + if (t1.get$menu_HTML_element_ref().get$current(0) != null) { + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref().get$current(0).offsetWidth; t1.toString; if (B.JSNumber_methods.round$0(t1) !== 0) { - t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); - t1 = t1.get$current(t1).offsetWidth; + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref().get$current(0).offsetWidth; t1.toString; - t1 = B.JSNumber_methods.round$0(t1) !== t_prev_state.get$width(t_prev_state); + t1 = B.JSNumber_methods.round$0(t1) !== t_prev_state.get$width(0); } else - t1 = false; + t1 = t2; } else - t1 = false; + t1 = t2; if (t1) { t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); - t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); - t2 = t2.get$current(t2).offsetWidth; + t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref().get$current(0).offsetWidth; t2.toString; t1.set$width(0, B.JSNumber_methods.round$0(t2)); - t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref(); - t2 = t2.get$current(t2).offsetHeight; + t2 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$menu_HTML_element_ref().get$current(0).offsetHeight; t2.toString; t1.set$height(0, B.JSNumber_methods.round$0(t2)); _this.setState$1(0, t1); @@ -130174,23 +129510,20 @@ $top = _this.___$DesignContextMenuComponent__cachedTypedProps_A.get$context_menu().position.y; t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); - t1 = t1.get$width(t1); + t1 = t1.get$width(0); t2 = window.innerWidth; t2.toString; if (left + t1 > t2) { - t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; - t1 = t1.get$width(t1); + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$width(0); t2 = window.innerWidth; t2.toString; left -= left + t1 - t2 + 20; } - t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; - t1 = t1.get$height(t1); + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$height(0); t2 = window.innerHeight; t2.toString; if ($top + t1 > t2) { - t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A; - t1 = t1.get$height(t1); + t1 = _this.___$DesignContextMenuComponent__cachedTypedState_A.get$height(0); t2 = window.innerHeight; t2.toString; $top -= $top + t1 - t2 + 20; @@ -130205,7 +129538,7 @@ return t1.call$1(A.context_menu_to_ul(t2)); } }; - A.DesignContextSubmenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignContextSubmenuProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignContextSubmenuState.prototype = {$isMap: 1}; A.DesignContextSubmenuComponent.prototype = { get$initialState() { @@ -130237,7 +129570,7 @@ } else { t1 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); - if (t1.get$width(t1) === 0) + if (t1.get$width(0) === 0) _this.reset_submenu_bounding_box$0(); } }, @@ -130245,26 +129578,21 @@ 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) + if (t1.get$submenu_HTML_element_ref().get$current(0) == null) return; t1 = _this.typedStateFactoryJs$1(new A.JsBackedMap({})); - t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); - t2 = t2.get$current(t2).offsetWidth; + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref().get$current(0).offsetWidth; t2.toString; t1.set$width(0, B.JSNumber_methods.round$0(t2)); - t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); - t2 = t2.get$current(t2).offsetHeight; + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref().get$current(0).offsetHeight; t2.toString; t1.set$height(0, B.JSNumber_methods.round$0(t2)); - t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); - t2 = t2.get$current(t2); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref().get$current(0); t2.toString; t2 = J.getBoundingClientRect$0$x(t2).left; t2.toString; t1.set$left(0, t2); - t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref(); - t2 = t2.get$current(t2); + t2 = _this.___$DesignContextSubmenuComponent__cachedTypedState_A.get$submenu_HTML_element_ref().get$current(0); t2.toString; t2 = J.getBoundingClientRect$0$x(t2).top; t2.toString; @@ -130280,7 +129608,7 @@ t4 = t3._design_context_menu$_state; t4 = A.DartValueWrapper_unwrapIfNeeded(t4.jsObject["DesignContextSubmenuState.left"]); t4 = A._asNum(t4 == null ? _null : t4); - t3 = t3.get$width(t3); + t3 = t3.get$width(0); t5 = window.innerWidth; t5.toString; t3 = t4 + t3 > t5 ? "left" : "right"; @@ -130313,7 +129641,7 @@ call$0() { return new A._$DesignContextMenuComponent(null); }, - $signature: 417 + $signature: 415 }; A._$$DesignContextMenuProps.prototype = { get$$$isClassGenerated() { @@ -130370,14 +129698,14 @@ return "DesignContextMenu"; }, get$$$defaultConsumedProps() { - return B.Map_MCk2a.get$values(B.Map_MCk2a); + return B.Map_CR0.get$values(B.Map_CR0); } }; A.$DesignContextSubmenuComponentFactory_closure.prototype = { call$0() { return new A._$DesignContextSubmenuComponent(null); }, - $signature: 418 + $signature: 416 }; A._$$DesignContextSubmenuProps.prototype = { get$$$isClassGenerated() { @@ -130437,7 +129765,7 @@ return "DesignContextSubmenu"; }, get$$$defaultConsumedProps() { - return B.Map_5a6FR.get$values(B.Map_5a6FR); + return B.Map_jfegt.get$values(B.Map_jfegt); } }; A.$DesignContextMenuProps.prototype = { @@ -130526,9 +129854,9 @@ J.$indexSet$ax(J.get$props$x(t1), "DesignDialogFormProps.dialog", state.ui_state.dialog); return t1; }, - $signature: 419 + $signature: 417 }; - A.DesignDialogFormProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignDialogFormProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignDialogFormState.prototype = {$isMap: 1}; A.DesignDialogFormComponent.prototype = { get$initialState() { @@ -130573,7 +129901,7 @@ return prevStateUntyped; }, render$0(_) { - var dialog, current_responses, components, t2, t3, t4, t5, t6, component_idx, t7, t8, t9, t10, disabled, t11, radio, t12, component_idx0, _this = this, _null = null, + var dialog, current_responses, components, t2, t3, t4, t5, t6, component_idx, t7, t8, disabled, t9, t10, t11, radio, t12, component_idx0, _this = this, _null = null, _s11_ = "dialog-form", _s16_ = "dialog-form-form", _s17_ = "dialog-form-title", @@ -130593,6 +129921,7 @@ if (t7 == null) t7 = t3._as(t7); t8 = dialog.disable_when_any_radio_button_selected._map$_map; + disabled = false; if (t8.containsKey$1(0, component_idx)) { t8 = t8.$index(0, component_idx); t8.toString; @@ -130605,11 +129934,7 @@ t9 = new A.LinkedHashMapKeyIterator(t10, t10._modifications, A._instanceType(t9)._eval$1("LinkedHashMapKeyIterator<1>")); t9._cell = t10._first; t8 = t8._map$_map; - while (true) { - if (!t9.moveNext$0()) { - disabled = false; - break; - } + for (; t9.moveNext$0();) { t10 = t9.__js_helper$_current; t11 = t8.$index(0, t10); t11.toString; @@ -130625,8 +129950,7 @@ break; } } - } else - disabled = false; + } t8 = dialog.disable_when_any_checkboxes_off._map$_map; if (t8.containsKey$1(0, component_idx)) { t8 = t8.$index(0, component_idx); @@ -130663,7 +129987,7 @@ disabled = true; t8 = A.DomProps$($.$get$div(), _null); t9 = t8.props; - t9.jsObject.className = A.DartValueWrapper_wrapIfNeeded("dialog-form-item"); + t9.$indexSet(0, "className", "dialog-form-item"); t10 = t7.get$label(t7); t9.$indexSet(0, "key", t10); component_idx0 = component_idx + 1; @@ -130696,11 +130020,13 @@ return t2.call$1(t3.call$1(t1)); }, dialog_for$3(item, dialog_item_idx, disabled) { - var t1, t2, t3, t4, components, t5, t6, t7, radio_idx, i, option, option_tooltip, t8, t9, t10, t11, t12, _this = this, _null = null, + var t1, t2, t3, t4, components, t5, t6, t7, radio_idx, i, option, option_tooltip, t8, t9, t10, _this = this, _null = null, _s17_ = "_cachedTypedState", _s3_ = "key", + _s8_ = "disabled", + _s8_0 = "onChange", _s10_ = "radio-left"; - if (item instanceof A.DialogCheckbox) { + if (item instanceof A._$DialogCheckbox) { t1 = A.DomProps$($.$get$label(), _null); t1.set$title(0, item.tooltip); t2 = A.DomProps$($.$get$input(), _null); @@ -130709,7 +130035,7 @@ 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) { + } else if (item instanceof A._$DialogText) { t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI(_s17_); t1 = t1.get$current_responses(); @@ -130720,10 +130046,10 @@ 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.props.$indexSet(0, "size", 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) { + } else if (item instanceof A._$DialogTextArea) { t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI(_s17_); t1 = t1.get$current_responses(); @@ -130731,15 +130057,15 @@ 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"); + t4 = t3.props; + t4.$indexSet(0, "form", "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); + t4.$indexSet(0, "rows", item.rows); + t4.$indexSet(0, "cols", 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) { + } else if (item instanceof A._$DialogInteger) { t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI(_s17_); t1 = t1.get$current_responses(); @@ -130753,7 +130079,7 @@ 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) { + } else if (item instanceof A._$DialogFloat) { t1 = _this.___$DesignDialogFormComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI(_s17_); t1 = t1.get$current_responses(); @@ -130769,14 +130095,14 @@ 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; + 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._list, radio_idx = 0, i = 0; i < t2.length; ++i) { + for (t2 = item.options._list, t3 = item.label, t4 = "radio-" + t3 + "-", t5 = item.selected_idx, t6 = type$.nullable_dynamic_Function_SyntheticFormEvent, t7 = item.option_tooltips._list, radio_idx = 0, i = 0; i < t2.length; ++i) { option = t2[i]; if (!(i < t7.length)) return A.ioore(t7, i); @@ -130787,21 +130113,19 @@ 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, "type", "radio"); + t10.$indexSet(0, "id", t4 + t9); + t10.$indexSet(0, _s8_, disabled); + t10.$indexSet(0, "name", t3); + t10.$indexSet(0, "checked", t5 === radio_idx); + t10.$indexSet(0, "value", option); + t10.$indexSet(0, _s8_0, t6._as(new A.DesignDialogFormComponent_dialog_for_closure4(_this, item, t1, dialog_item_idx))); 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); + t10.$indexSet(0, "title", option_tooltip); B.JSArray_methods.add$1(components, t8.call$1(option)); ++radio_idx; } @@ -130809,28 +130133,26 @@ 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); + return t1.call$2(t2.call$1(t3 + ":"), 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._list, radio_idx = 0, i = 0; i < t2.length; ++i) { + for (t2 = item.options._list, t3 = item.option_tooltips._list, t4 = type$.nullable_dynamic_Function_SyntheticFormEvent, radio_idx = 0, i = 0; i < t2.length; ++i) { option = t2[i]; - if (!(i < t4.length)) - return A.ioore(t4, i); - option_tooltip = t4[i]; + if (!(i < t3.length)) + return A.ioore(t3, i); + option_tooltip = t3[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, "id", "radio-" + t6); + t7.$indexSet(0, _s8_, disabled); + t7.$indexSet(0, "title", option_tooltip); + t7.$indexSet(0, "value", option); + t7.$indexSet(0, _s8_0, t4._as(new A.DesignDialogFormComponent_dialog_for_closure5(_this, item, t1, dialog_item_idx))); t7.$indexSet(0, _s3_, t6); B.JSArray_methods.add$1(components, t5.call$1(option)); ++radio_idx; @@ -130845,14 +130167,14 @@ 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) { + } 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"); + t2 = t1.props; + t2.$indexSet(0, "href", item.link); + t2.$indexSet(0, "target", "_blank"); + t2.$indexSet(0, "rel", "noopener noreferrer"); return t1.call$1(item.label); - } else if (item instanceof A.DialogLabel) { + } else if (item instanceof A._$DialogLabel) { t1 = A.DomProps$($.$get$span(), _null); t1.set$title(0, item.tooltip); return t1.call$1(item.label); @@ -130870,15 +130192,16 @@ $.__app._readField$0().dispatch$1(A._$DialogHide__$DialogHide()); t1 = _this.___$DesignDialogFormComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = false; 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; + t1 = t2; else - t1 = false; + t1 = t2; if (t1) { t1 = _this.___$DesignDialogFormComponent__cachedTypedProps_A.get$dialog().on_submit; t1.toString; @@ -130904,7 +130227,7 @@ old_responses.$indexSet(0, t2, t1); return old_responses; }, - $signature: 421 + $signature: 419 }; A.DesignDialogFormComponent_render_closure.prototype = { call$1(e) { @@ -130924,7 +130247,7 @@ }; 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, t13, t14, other_response, t15, t16; + var t1, t2, new_responses, new_checked, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, other_response, t14, t15; type$.SyntheticFormEvent._as(e); t1 = this.$this; t2 = t1.___$DesignDialogFormComponent__cachedTypedState_A; @@ -130941,7 +130264,7 @@ 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); + $.$get$isSoundMode(); B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t3, t7); t7 = t1.___$DesignDialogFormComponent__cachedTypedProps_A; t7 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -130951,36 +130274,35 @@ t8 = t8._precomputed1; t9 = type$.nullable_void_Function_DialogCheckboxBuilder; t10 = type$.void_Function_DialogCheckboxBuilder; - t11 = !t6._is(null); t5 = t5._eval$1("List<1>"); for (; t7.moveNext$0();) { - t12 = t7.__interceptors$_current; - t12 = (t12 == null ? t8._as(t12) : t12)._list; - if (B.JSArray_methods.contains$1(t12, t3)) - for (t13 = A._arrayInstanceType(t12), t12 = new J.ArrayIterator(t12, t12.length, t13._eval$1("ArrayIterator<1>")), t13 = t13._precomputed1; t12.moveNext$0();) { - t14 = t12.__interceptors$_current; - if (t14 == null) - t14 = t13._as(t14); - if (t14 !== t3) { - if (t14 >>> 0 !== t14 || t14 >= t2.length) - return A.ioore(t2, t14); - other_response = t4._as(t2[t14]); + t11 = t7.__interceptors$_current; + t11 = (t11 == null ? t8._as(t11) : t11)._list; + if (B.JSArray_methods.contains$1(t11, t3)) + for (t12 = A._arrayInstanceType(t11), t11 = new J.ArrayIterator(t11, t11.length, t12._eval$1("ArrayIterator<1>")), t12 = t12._precomputed1; t11.moveNext$0();) { + t13 = t11.__interceptors$_current; + if (t13 == null) + t13 = t12._as(t13); + if (t13 !== t3) { + if (t13 >>> 0 !== t13 || t13 >= t2.length) + return A.ioore(t2, t13); + other_response = t4._as(t2[t13]); if (other_response.value) { - t15 = t10._as(new A.DesignDialogFormComponent_dialog_for__closure7()); - t16 = new A.DialogCheckboxBuilder(); - t16._dialog$_$v = other_response; - t9._as(t15).call$1(t16); - t15 = t6._as(t16._dialog$_build$0()); - !$.$get$isSoundMode() && t11; + t14 = t10._as(new A.DesignDialogFormComponent_dialog_for__closure7()); + t15 = new A.DialogCheckboxBuilder(); + t15._dialog$_$v = other_response; + t9._as(t14).call$1(t15); + t14 = t6._as(t15._dialog$_build$0()); + $.$get$isSoundMode(); if (new_responses._listOwner != null) { - t16 = new_responses.__ListBuilder__list_A; - t16 === $ && A.throwLateFieldNI("_list"); - new_responses.set$__ListBuilder__list_A(t5._as(A.List_List$from(t16, true, t6))); + t15 = new_responses.__ListBuilder__list_A; + t15 === $ && A.throwLateFieldNI("_list"); + new_responses.set$__ListBuilder__list_A(t5._as(A.List_List$from(t15, true, t6))); new_responses.set$_listOwner(null); } - t16 = new_responses.__ListBuilder__list_A; - t16 === $ && A.throwLateFieldNI("_list"); - B.JSArray_methods.$indexSet(t16, t14, t15); + t15 = new_responses.__ListBuilder__list_A; + t15 === $ && A.throwLateFieldNI("_list"); + B.JSArray_methods.$indexSet(t15, t13, t14); } } } @@ -130989,19 +130311,19 @@ t2.set$current_responses(new_responses.build$0()); t1.setState$1(0, t2); }, - $signature: 8 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure6.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = this.new_checked; }, - $signature: 126 + $signature: 169 }; A.DesignDialogFormComponent_dialog_for__closure7.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = false; }, - $signature: 126 + $signature: 169 }; A.DesignDialogFormComponent_dialog_for_closure0.prototype = { call$1(e) { @@ -131021,22 +130343,21 @@ 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 = new_responses.$ti._precomputed1._as(t4._dialog$_build$0()); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure5.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - $signature: 424 + $signature: 422 }; A.DesignDialogFormComponent_dialog_for_closure1.prototype = { call$1(e) { @@ -131056,22 +130377,21 @@ 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 = new_responses.$ti._precomputed1._as(t4._dialog$_build$0()); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure4.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - $signature: 425 + $signature: 423 }; A.DesignDialogFormComponent_dialog_for_closure2.prototype = { call$1(e) { @@ -131093,22 +130413,21 @@ 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 = new_responses.$ti._precomputed1._as(t4._dialog$_build$0()); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure3.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - $signature: 426 + $signature: 424 }; A.DesignDialogFormComponent_dialog_for_closure3.prototype = { call$1(e) { @@ -131130,22 +130449,21 @@ 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 = new_responses.$ti._precomputed1._as(t4._dialog$_build$0()); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure2.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_value = this.new_value; }, - $signature: 427 + $signature: 425 }; A.DesignDialogFormComponent_dialog_for_closure4.prototype = { call$1(e) { @@ -131159,22 +130477,21 @@ return A.ioore(t3, t2); response = type$.DialogRadio._as(t3[t2]); new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - t1 = new_responses.$ti._precomputed1; - t3 = t1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure1(selected_radio_idx))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t3); + t1 = new_responses.$ti._precomputed1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure1(selected_radio_idx))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure1.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; }, - $signature: 88 + $signature: 89 }; A.DesignDialogFormComponent_dialog_for_closure5.prototype = { call$1(e) { @@ -131188,22 +130505,21 @@ return A.ioore(t3, t2); response = type$.DialogRadio._as(t3[t2]); new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - t1 = new_responses.$ti._precomputed1; - t3 = t1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure0(selected_radio_idx))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t3); + t1 = new_responses.$ti._precomputed1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure0(selected_radio_idx))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure0.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; }, - $signature: 88 + $signature: 89 }; A.DesignDialogFormComponent_dialog_for_closure6.prototype = { call$1(e) { @@ -131217,28 +130533,27 @@ return A.ioore(t3, t2); response = type$.DialogRadio._as(t3[t2]); new_responses = A.ListBuilder_ListBuilder(t1, t1.$ti._precomputed1); - t1 = new_responses.$ti._precomputed1; - t3 = t1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure(selected_radio_idx))); - !$.$get$isSoundMode() && !t1._is(null); - B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t3); + t1 = new_responses.$ti._precomputed1._as(response.rebuild$1(new A.DesignDialogFormComponent_dialog_for__closure(selected_radio_idx))); + $.$get$isSoundMode(); + B.JSArray_methods.$indexSet(new_responses.get$_safeList(), t2, t1); 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 + $signature: 7 }; A.DesignDialogFormComponent_dialog_for__closure.prototype = { call$1(b) { return b.get$_dialog$_$this()._dialog$_selected_idx = this.selected_radio_idx; }, - $signature: 88 + $signature: 89 }; A.$DesignDialogFormComponentFactory_closure.prototype = { call$0() { return new A._$DesignDialogFormComponent(null); }, - $signature: 429 + $signature: 427 }; A._$$DesignDialogFormProps.prototype = { get$$$isClassGenerated() { @@ -131295,7 +130610,7 @@ return "DesignDialogForm"; }, get$$$defaultConsumedProps() { - return B.Map_MIUSr.get$values(B.Map_MIUSr); + return B.Map_6F3tc.get$values(B.Map_6F3tc); } }; A.$DesignDialogFormProps.prototype = { @@ -131341,15 +130656,15 @@ type$.AppState._as(state); return A.set_design_footer_props(A.design_footer___$DesignFooter$closure().call$0(), state); }, - $signature: 430 + $signature: 428 }; - A.DesignFooterProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignFooterProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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"); + t1 = t1.get$props(0).$index(0, "DesignFooterProps.mouseover_datas"); if (t1 == null) t1 = _null; t1 = type$.BuiltList_MouseoverData._as(t1)._list; @@ -131359,8 +130674,7 @@ 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); + t1 = this.___$DesignFooterComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignF); if (t1 == null) t1 = _null; type$.nullable_Strand._as(t1); @@ -131376,8 +130690,7 @@ 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"); + t1 = this.___$DesignFooterComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignFooterProps.loaded_filename"); text = A._asStringQ(t1 == null ? _null : t1); if (text == null) text = ""; @@ -131391,7 +130704,7 @@ call$0() { return new A._$DesignFooterComponent(null); }, - $signature: 431 + $signature: 429 }; A._$$DesignFooterProps.prototype = { get$$$isClassGenerated() { @@ -131426,7 +130739,7 @@ return "DesignFooter"; }, get$$$defaultConsumedProps() { - return B.Map_np43h.get$values(B.Map_np43h); + return B.Map_aX7PY.get$values(B.Map_aX7PY); } }; A.$DesignFooterProps.prototype = {}; @@ -131440,15 +130753,15 @@ t1.set$show(0, state.ui_state.show_load_dialog); return t1; }, - $signature: 432 + $signature: 430 }; - A.DesignLoadingDialogProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignLoadingDialogProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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"); + t1 = t1.get$props(0).$index(0, "DesignLoadingDialogProps.show"); if (!A._asBool(t1 == null ? _null : t1)) return _null; t1 = A.DomProps$($.$get$div(), _null); @@ -131460,7 +130773,7 @@ call$0() { return new A._$DesignLoadingDialogComponent(null); }, - $signature: 433 + $signature: 431 }; A._$$DesignLoadingDialogProps.prototype = { get$$$isClassGenerated() { @@ -131495,7 +130808,7 @@ return "DesignLoadingDialog"; }, get$$$defaultConsumedProps() { - return B.Map_KF6q6.get$values(B.Map_KF6q6); + return B.Map_Trxw8.get$values(B.Map_Trxw8); } }; A.$DesignLoadingDialogProps.prototype = { @@ -131513,15 +130826,15 @@ J.set$state$x(t1, state); return t1; }, - $signature: 434 + $signature: 432 }; - A.DesignMainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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"); + t1 = t1.get$props(0).$index(0, "DesignMainProps.state"); if (t1 == null) t1 = _null; type$.AppState._as(t1); @@ -131659,9 +130972,9 @@ 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); + t9 = t5.get$start(0); J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.start", t9); - t9 = t5.get$end(t5); + t9 = t5.get$end(0); J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.end", t9); t5 = t5.color; J.$indexSet$ax(t8.get$props(t6), "DesignMainStrandCreatingProps.color", t5); @@ -131816,7 +131129,7 @@ call$2(helix_idx, svg_position) { return new A.MapEntry(A._asInt(helix_idx), type$.Point_double._as(svg_position).y, type$.MapEntry_int_double); }, - $signature: 129 + $signature: 128 }; A.DesignMainComponent_render_closure4.prototype = { call$0() { @@ -131825,7 +131138,7 @@ return A.iae(t1); return 2 / t1; }, - $signature: 65 + $signature: 63 }; A.DesignMainComponent_render_closure5.prototype = { call$0() { @@ -131834,13 +131147,13 @@ return A.iae(t1); return 2 / t1; }, - $signature: 65 + $signature: 63 }; A.$DesignMainComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainComponent(null); }, - $signature: 437 + $signature: 435 }; A._$$DesignMainProps.prototype = { get$$$isClassGenerated() { @@ -131875,7 +131188,7 @@ return "DesignMain"; }, get$$$defaultConsumedProps() { - return B.Map_dyUgo.get$values(B.Map_dyUgo); + return B.Map_gcYH7.get$values(B.Map_gcYH7); } }; A.$DesignMainProps.prototype = { @@ -131885,13 +131198,15 @@ }; A.__$$DesignMainProps_UiProps_DesignMainProps.prototype = {}; A.__$$DesignMainProps_UiProps_DesignMainProps_$DesignMainProps.prototype = {}; - A.DesignMainBasePairLinesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainBasePairLinesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design().strands; 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"); @@ -131899,39 +131214,35 @@ }, create_base_pair_lines_components$1(strands) { var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, geometry, t10, t11, translate_svg, helix_components, t12, t13, t14, t15, t16, base_svg_forward_pos, base_svg_reverse_pos, t17, t18, _this = this, _null = null, - _s35_ = "DesignMainBasePairLinesProps.design"; + _s35_ = "DesignMainBasePairLinesProps.design", + _s9_ = "className"; 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 = t2.get$props(0).$index(0, string$.DesignMBLw); t2 = A._asBool(t2 == null ? _null : t2); t3 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; base_pairs = t2 ? t3.get$design()._base_pairs$3(true, strands, true) : t3.get$design()._base_pairs$3(false, strands, true); - for (t2 = base_pairs.get$keys(base_pairs), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.BuiltSet_int, t4 = base_pairs._map$_map, t5 = type$.BuiltMap_int_num, t6 = type$.Design; t2.moveNext$0();) { + for (t2 = base_pairs.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._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); + t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMBLo); if (A._asBool(t8 == null ? _null : t8)) { - t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, string$.DesignMBLs); + t8 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t9 = t6._as(t9 == null ? _null : t9).groups._map$_map.$index(0, t8.group); t9.toString; geometry = t9.geometry; if (geometry == null) { - t10 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, _s35_); + t10 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t6._as(t10 == null ? _null : t10).geometry; } t10 = t9.position; @@ -131944,8 +131255,7 @@ t15 = t10.__interceptors$_current; if (t15 == null) t15 = t11._as(t15); - t16 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, string$.DesignMBLh); + t16 = _this.___$DesignMainBasePairLinesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMBLh); t16 = t5._as(t16 == null ? _null : t16)._map$_map.$index(0, t7); t16.toString; base_svg_forward_pos = t8.svg_base_pos$4(t15, true, t16, geometry); @@ -131953,22 +131263,21 @@ t16 = A.SvgProps$($.$get$line(), _null); t15 = A.S(t15); t17 = t16.props; + t17.$indexSet(0, "id", t14 + t15); t18 = t17.jsObject; - t18.id = A.DartValueWrapper_wrapIfNeeded(t14 + t15); t18.x1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); t18.y1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); t18.x2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); t18.y2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); - t18.className = A.DartValueWrapper_wrapIfNeeded("base-pair-line"); + t17.$indexSet(0, _s9_, "base-pair-line"); t18.stroke = A.DartValueWrapper_wrapIfNeeded("black"); t17.$indexSet(0, "key", t13 + t15); B.JSArray_methods.add$1(helix_components, t16.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.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t9.pitch) + ")"); + t8.$indexSet(0, _s9_, "base-pair-lines-components-in-helix"); t8.$indexSet(0, "key", "base-pair-lines-components-in-helix-H" + t12); B.JSArray_methods.add$1(base_pair_lines_components, t7.call$1(helix_components)); } @@ -131980,7 +131289,7 @@ call$0() { return new A._$DesignMainBasePairLinesComponent(null); }, - $signature: 438 + $signature: 436 }; A._$$DesignMainBasePairLinesProps.prototype = { get$$$isClassGenerated() { @@ -132015,7 +131324,7 @@ return "DesignMainBasePairLines"; }, get$$$defaultConsumedProps() { - return B.Map_67KTj.get$values(B.Map_67KTj); + return B.Map_w0sWu.get$values(B.Map_w0sWu); } }; A.$DesignMainBasePairLinesProps.prototype = { @@ -132029,13 +131338,15 @@ 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.DesignMainBasePairRectangleProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design().strands; 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"); @@ -132043,39 +131354,35 @@ }, create_base_pair_lines_components$1(strands) { var t1, base_pair_lines_components, t2, t3, base_pairs, t4, t5, t6, t7, t8, t9, t10, geometry, t11, t12, translate_svg, helix_components, t13, t14, t15, t16, last_svg_forward_pos, last_offset, t17, last_offset0, base_svg_forward_pos, base_svg_reverse_pos, t18, t19, t20, t21, t22, base_pair_ele, _this = this, _null = null, - _s39_ = "DesignMainBasePairRectangleProps.design"; + _s39_ = "DesignMainBasePairRectangleProps.design", + _s9_ = "className"; 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 = t2.get$props(0).$index(0, string$.DesignMBRw); t2 = A._asBool(t2 == null ? _null : t2); t3 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; base_pairs = t2 ? t3.get$design()._base_pairs$3(true, strands, true) : t3.get$design()._base_pairs$3(false, strands, true); - for (t2 = base_pairs.get$keys(base_pairs), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.BuiltSet_int, t4 = base_pairs._map$_map, t5 = type$.ReactElement, t6 = type$.BuiltMap_int_num, t7 = type$.Design; t2.moveNext$0();) { + for (t2 = base_pairs.get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._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); + t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMBRo); if (A._asBool(t9 == null ? _null : t9)) { - t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; - t9 = t9.get$props(t9).$index(0, string$.DesignMBRs); + t9 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$index(0, _s39_); t10 = t7._as(t10 == null ? _null : t10).groups._map$_map.$index(0, t9.group); t10.toString; geometry = t10.geometry; if (geometry == null) { - t11 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s39_); + t11 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$index(0, _s39_); geometry = t7._as(t11 == null ? _null : t11).geometry; } t11 = t10.position; @@ -132087,8 +131394,7 @@ for (t11 = t4.$index(0, t8)._list, t12 = A._arrayInstanceType(t11), t11 = new J.ArrayIterator(t11, t11.length, t12._eval$1("ArrayIterator<1>")), t13 = A.S(t8), t14 = "base-pair-line-H" + t13 + "-", t15 = "base_pair-" + t13 + "-", t12 = t12._precomputed1, t16 = "base-pair-rect-H" + t13 + "-", last_svg_forward_pos = _null, last_offset = -2; t11.moveNext$0(); last_svg_forward_pos = base_svg_forward_pos, last_offset = last_offset0) { t17 = t11.__interceptors$_current; last_offset0 = t17 == null ? t12._as(t17) : t17; - t17 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A; - t17 = t17.get$props(t17).$index(0, string$.DesignMBRh); + t17 = _this.___$DesignMainBasePairRectangleComponent__cachedTypedProps_A.get$props(0).$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$4(last_offset0, true, t17, geometry); @@ -132098,29 +131404,29 @@ if (last_offset0 - last_offset === 1) { t19 = A.SvgProps$($.$get$rect(), _null); t20 = t19.props; - t21 = t20.jsObject; - t21.id = A.DartValueWrapper_wrapIfNeeded(t18); + t20.$indexSet(0, "id", t18); t18 = last_svg_forward_pos.x; + t21 = t20.jsObject; t21.x = A.DartValueWrapper_wrapIfNeeded(t18 - 0.5); t22 = base_svg_forward_pos.y; t21.y = A.DartValueWrapper_wrapIfNeeded(t22); - t21.width = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x - t18 + 0.8); - t21.height = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y - t22); - t21.className = A.DartValueWrapper_wrapIfNeeded("base-pair-rect"); + t20.$indexSet(0, "width", base_svg_reverse_pos.x - t18 + 0.8); + t20.$indexSet(0, "height", base_svg_reverse_pos.y - t22); + t20.$indexSet(0, _s9_, "base-pair-rect"); t21.fill = A.DartValueWrapper_wrapIfNeeded("grey"); t20.$indexSet(0, "key", t16 + 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, "id", t18); + t18 = t20.jsObject; + t18.x1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.x); + t18.y1 = A.DartValueWrapper_wrapIfNeeded(base_svg_forward_pos.y); + t18.x2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.x); + t18.y2 = A.DartValueWrapper_wrapIfNeeded(base_svg_reverse_pos.y); + t20.$indexSet(0, _s9_, "base-pair-line"); + t18.stroke = A.DartValueWrapper_wrapIfNeeded("grey"); t20.$indexSet(0, "key", t14 + t17); base_pair_ele = t19.call$0(); } @@ -132128,9 +131434,8 @@ } 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.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t10.pitch) + ")"); + t9.$indexSet(0, _s9_, "base-pair-lines-components-in-helix"); t9.$indexSet(0, "key", "base-pair-lines-components-in-helix-H" + t13); B.JSArray_methods.add$1(base_pair_lines_components, t8.call$1(helix_components)); } @@ -132142,7 +131447,7 @@ call$0() { return new A._$DesignMainBasePairRectangleComponent(null); }, - $signature: 439 + $signature: 437 }; A._$$DesignMainBasePairRectangleProps.prototype = { get$$$isClassGenerated() { @@ -132177,7 +131482,7 @@ return "DesignMainBasePairRectangle"; }, get$$$defaultConsumedProps() { - return B.Map_ZR52A.get$values(B.Map_ZR52A); + return B.Map_gnUyN.get$values(B.Map_gnUyN); } }; A.$DesignMainBasePairRectangleProps.prototype = { @@ -132191,7 +131496,7 @@ 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.DesignMainDNAMismatchesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainDNAMismatchesComponent.prototype = { render$0(_) { var mismatch_components = this._design_main_dna_mismatches$_create_mismatch_components$0(), @@ -132233,8 +131538,7 @@ t12 = t10.__interceptors$_current; if (t12 == null) t12 = t11._as(t12); - t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s35_); + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t13 = t4._as(t13 == null ? _null : t13); t14 = t13.__domain_mismatches_map; if (t14 == null) { @@ -132251,32 +131555,26 @@ t18 = t13.__interceptors$_current; if (t18 == null) t18 = t14._as(t18); - t19 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, _s35_); + t19 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t19 = t4._as(t19 == null ? _null : t19).helices._map$_map.$index(0, t15); t19.toString; - t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMDNMo); + t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNMo); if (A._asBool(t20 == null ? _null : t20)) { - t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMDNMs); + t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNMs); t20 = t5._as(t20 == null ? _null : t20)._set.contains$1(0, t19.idx); } else t20 = true; if (t20) { - t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s35_); + t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t20 = t4._as(t20 == null ? _null : t20).groups._map$_map.$index(0, t19.group); t20.toString; geometry = t20.geometry; if (geometry == null) { - t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s35_); + t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t4._as(t20 == null ? _null : t20).geometry; } t18 = t18.offset; - t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMDNMh); + t20 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNMh); t20 = t6._as(t20 == null ? _null : t20)._map$_map.$index(0, t19.idx); t20.toString; base_svg_pos = t19.svg_base_pos$4(t18, t16, t20, geometry); @@ -132296,16 +131594,13 @@ } } } - t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s35_); + t13 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t13 = t4._as(t13 == null ? _null : t13).helices._map$_map.$index(0, t15); t13.toString; - t14 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s35_); + t14 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t13 = t4._as(t14 == null ? _null : t14).groups._map$_map.$index(0, t13.group); t13.toString; - t14 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s35_); + t14 = _this.___$DesignMainDNAMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t14 = t4._as(t14 == null ? _null : t14).geometry; t17 = t13.position; t18 = t14.__nm_to_svg_pixels; @@ -132314,12 +131609,9 @@ if (domain_components.length !== 0) { t14 = A.SvgProps$($.$get$g(), _null); t17 = t14.props; - t18 = t17.jsObject; - t18.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t13.pitch) + ")"); + t17.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t13.pitch) + ")"); t13 = t9.__id; - if (t13 == null) - t13 = t9.__id = A.Strand.prototype.get$id.call(t9, t9); - t18.className = A.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain mismatch-" + t13); + t17.$indexSet(0, "className", "mismatch-components-in-domain mismatch-" + (t13 == null ? t9.__id = A.Strand.prototype.get$id.call(t9, 0) : t13)); t13 = t12.start; t12 = t12.end; t16 = t16 ? "forward" : "reverse"; @@ -132335,7 +131627,7 @@ call$0() { return new A._$DesignMainDNAMismatchesComponent(null); }, - $signature: 440 + $signature: 438 }; A._$$DesignMainDNAMismatchesProps.prototype = { get$$$isClassGenerated() { @@ -132370,7 +131662,7 @@ return "DesignMainDNAMismatches"; }, get$$$defaultConsumedProps() { - return B.Map_utWfX.get$values(B.Map_utWfX); + return B.Map_kjAKW.get$values(B.Map_kjAKW); } }; A.$DesignMainDNAMismatchesProps.prototype = { @@ -132401,13 +131693,13 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainDNASequenceComponent.prototype = { render$0(_) { - var t2, dna_sequence_elts, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, i, t14, substrand, domain_elts, t15, t16, geometry, seq_to_draw, offset, t17, t18, pos, rotate_x, rotate_y, x_adjust, text_length, dy, x, y, rotate_degrees, t19, id, reverse_right_side_up, t20, $length, t21, reverse_right_side_up0, subseq, font_size, letter_spacing, style_map, text_path_props, t22, t23, t24, translate_svg, prev_dom, next_dom, is_hairpin, ls_fs, _this = this, _null = null, + var t2, dna_sequence_elts, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, i, t14, substrand, domain_elts, t15, t16, geometry, seq_to_draw, offset, t17, t18, pos, rotate_x, rotate_y, x_adjust, text_length, rotate_degrees, dy, x, y, t19, id, reverse_right_side_up, t20, $length, t21, reverse_right_side_up0, subseq, font_size, letter_spacing, style_map, text_path_props, t22, t23, t24, translate_svg, prev_dom, next_dom, is_hairpin, ls_fs, _this = this, _null = null, _s33_ = "DesignMainDNASequenceProps.strand", _s56_ = string$.DesignMDNSPo, _s34_ = "DesignMainDNASequenceProps.helices", @@ -132417,9 +131709,11 @@ _s7_ = "forward", _s7_0 = "reverse", _s3_ = "key", + _s9_ = "className", + _s5_ = "style", t1 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.DesignMDNSPs); + t1 = t1.get$props(0).$index(0, string$.DesignMDNSPs); if (t1 == null) t1 = _null; type$.BuiltSet_int._as(t1); @@ -132439,49 +131733,40 @@ t13 = type$.BuiltMap_of_int_and_Point_double; i = 0; while (true) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s33_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); if (!(i < t3._as(t14 == null ? _null : t14).substrands._list.length)) break; - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s33_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); t14 = t3._as(t14 == null ? _null : t14).substrands._list; if (!(i < t14.length)) return A.ioore(t14, i); substrand = t14[i]; - if (substrand instanceof A.Domain) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s56_); + if (substrand instanceof A._$Domain) { + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); if (!A._asBool(t14 == null ? _null : t14) || t1.contains$1(0, substrand.helix)) { domain_elts = A._setArrayType([], t2); - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s34_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t14 = t9._as(t14 == null ? _null : t14); t15 = substrand.helix; t14 = t14._map$_map.$index(0, t15); t14.toString; - t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s33_0); + t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t16 = t8._as(t16 == null ? _null : t16)._map$_map.$index(0, t14.group); t16.toString; geometry = t16.geometry; if (geometry == null) { - t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s35_); + t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t10._as(t16 == null ? _null : t16); } - t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s60_); + t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); seq_to_draw = substrand.dna_sequence_deletions_insertions_to_spaces$1$reverse(A._asBool(t16 == null ? _null : t16) && !substrand.forward); offset = substrand.__offset_5p; if (offset == null) offset = substrand.__offset_5p = A.Domain.prototype.get$offset_5p.call(substrand); t16 = substrand.forward; - t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t17 = t17.get$props(t17).$index(0, string$.DesignMDNSPh); + t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSPh); t17 = t13._as(t17 == null ? _null : t17)._map$_map.$index(0, t15).y; - t18 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, _s35_); + t18 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); pos = t14.svg_base_pos$4(offset, t16, t17, t10._as(t18 == null ? _null : t18)); rotate_x = pos.x; rotate_y = pos.y; @@ -132495,15 +131780,14 @@ t14 = substrand.end; t18 = substrand.start; text_length = t17 * (t14 - t18 - 0.342); + rotate_degrees = 0; if (t16) { t17 = geometry.__base_height_svg; dy = -(t17 == null ? geometry.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(geometry) : t17) * 0.25; x = rotate_x + x_adjust; y = rotate_y; - rotate_degrees = 0; } else { - t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t17 = t17.get$props(t17).$index(0, _s60_); + t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t17 = A._asBool(t17 == null ? _null : t17); t19 = geometry.__base_height_svg; if (t17) { @@ -132515,7 +131799,6 @@ dy = t17 * 0.75; x = rotate_x - x_adjust - text_length; y = rotate_y + t19; - rotate_degrees = 0; } else { dy = -(t19 == null ? geometry.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(geometry) : t19) * 0.25; x = rotate_x + x_adjust; @@ -132529,9 +131812,9 @@ t18 = A.SvgProps$($.$get$text(), _null); t19 = t18.props; t19.$indexSet(0, _s3_, id); + t19.$indexSet(0, "id", id); + t19.$indexSet(0, _s9_, "dna-seq"); t19 = t19.jsObject; - t19.id = A.DartValueWrapper_wrapIfNeeded(id); - t19.className = A.DartValueWrapper_wrapIfNeeded("dna-seq"); t19.x = A.DartValueWrapper_wrapIfNeeded(A.S(x)); t19.y = A.DartValueWrapper_wrapIfNeeded(A.S(y)); t19.textLength = A.DartValueWrapper_wrapIfNeeded(A.S(text_length)); @@ -132544,22 +131827,18 @@ t20 = t19._as(t20); offset = t20.offset; $length = t20.length; - t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s34_); + t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t20 = t9._as(t20 == null ? _null : t20)._map$_map.$index(0, t15); t20.toString; - t21 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t21 = t21.get$props(t21).$index(0, _s33_0); + t21 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t20 = t8._as(t21 == null ? _null : t21)._map$_map.$index(0, t20.group); t20.toString; geometry = t20.geometry; if (geometry == null) { - t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s35_); + t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t10._as(t20 == null ? _null : t20); } - t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s60_); + t20 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); reverse_right_side_up0 = A._asBool(t20 == null ? _null : t20) && reverse_right_side_up; subseq = substrand.dna_sequence_in$3$reverse(offset, offset, reverse_right_side_up0); t20 = geometry.__base_width_svg; @@ -132574,16 +131853,16 @@ if (t21 === $.$get$chrome() || t21 === $.$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) + else { letter_spacing = -0.1; - else if ($length === 5) - letter_spacing = -0.15; - else - letter_spacing = $length === 6 ? -0.18 : _null; + if (!($length === 2)) + if (!($length === 3)) + if (!($length === 4)) + if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + } else letter_spacing = _null; if (t21 === $.$get$firefox()) { @@ -132596,14 +131875,14 @@ if (reverse_right_side_up0) style_map.$indexSet(0, "dominantBaseline", "hanging"); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t21 = text_path_props.props.jsObject; - t21.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-insertion"); + t21 = text_path_props.props; + t21.$indexSet(0, _s9_, "dna-seq-insertion"); t22 = t17 + offset + "-"; t23 = t16 ? _s7_ : _s7_0; - t21.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + (t22 + t23)); - t21.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); - t4._as(style_map); - t21.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t24 = t21.jsObject; + t24.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + (t22 + t23)); + t24.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t21.$indexSet(0, _s5_, t4._as(style_map)); t21 = A.SvgProps$($.$get$text(), _null); t23 = t16 ? _s7_ : _s7_0; t24 = t21.props; @@ -132617,56 +131896,48 @@ t15.toString; t15 = t18.get$groups()._map$_map.$index(0, t15.group); t15.toString; - t18 = t18.get$geometry(t18); + t18 = t18.get$geometry(0); t19 = t15.position; t20 = t18.__nm_to_svg_pixels; t18 = t20 == null ? t18.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t18) : t20; translate_svg = A.Position3D_Position3D(t19.x * t18, t19.y * t18, t19.z * t18); t18 = t17.props; - t19 = t18.jsObject; - t19.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t15.pitch) + ")"); - t19.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-on-domain-group"); + t18.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t15.pitch) + ")"); + t18.$indexSet(0, _s9_, "dna-seq-on-domain-group"); t15 = t16 ? _s7_ : _s7_0; t18.$indexSet(0, _s3_, t14 + t15); B.JSArray_methods.add$1(dna_sequence_elts, t17.call$1(domain_elts)); } - } else if (substrand instanceof A.Loopout) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s33_); + } else if (substrand instanceof A._$Loopout) { + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); t15 = i - 1; t14 = t3._as(t14 == null ? _null : t14).substrands._list; if (!(t15 >= 0 && t15 < t14.length)) return A.ioore(t14, t15); prev_dom = t11._as(t14[t15]); - t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s33_); + t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); t14 = i + 1; t15 = t3._as(t15 == null ? _null : t15).substrands._list; if (!(t14 < t15.length)) return A.ioore(t15, t14); next_dom = t11._as(t15[t14]); - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s56_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); if (!A._asBool(t14 == null ? _null : t14) || t1.contains$1(0, prev_dom.helix)) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s56_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); t14 = !A._asBool(t14 == null ? _null : t14) || t1.contains$1(0, next_dom.helix); } else t14 = false; if (t14) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s34_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t15 = prev_dom.helix; t14 = t9._as(t14 == null ? _null : t14)._map$_map.$index(0, t15); t14.toString; - t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s33_0); + t16 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t14 = t8._as(t16 == null ? _null : t16)._map$_map.$index(0, t14.group); t14.toString; geometry = t14.geometry; if (geometry == null) { - t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s35_); + t14 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t10._as(t14 == null ? _null : t14); } subseq = substrand.dna_sequence; @@ -132675,6 +131946,7 @@ if (t14 == null) t14 = geometry.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(geometry); t16 = next_dom.helix; + is_hairpin = false; if (t15 === t16) if (prev_dom.forward !== next_dom.forward) { t17 = prev_dom.__offset_3p; @@ -132683,10 +131955,7 @@ t18 = next_dom.__offset_5p; t17 = Math.abs(t17 - (t18 == null ? next_dom.__offset_5p = A.Domain.prototype.get$offset_5p.call(next_dom) : t18)) < 3; is_hairpin = t17; - } else - is_hairpin = false; - else - is_hairpin = false; + } if (is_hairpin) { font_size = Math.max(6, 12 - Math.max(0, $length - 6)); t17 = $._browser; @@ -132697,16 +131966,16 @@ if (t17 === $.$get$chrome() || t17 === $.$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) + else { letter_spacing = -0.1; - else if ($length === 5) - letter_spacing = -0.15; - else - letter_spacing = $length === 6 ? -0.18 : _null; + if (!($length === 2)) + if (!($length === 3)) + if (!($length === 4)) + if ($length === 5) + letter_spacing = -0.15; + else + letter_spacing = $length === 6 ? -0.18 : _null; + } else letter_spacing = _null; if (t17 === $.$get$firefox()) { @@ -132722,15 +131991,15 @@ t17 = A.S(ls_fs.item2) + "px"; style_map = letter_spacing != null ? A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", A.S(letter_spacing) + "em", "fontSize", t17], t6, t7) : A.LinkedHashMap_LinkedHashMap$_literal(["fontSize", t17], t6, t7); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t17 = text_path_props.props.jsObject; - t17.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-loopout"); + t17 = text_path_props.props; + t17.$indexSet(0, _s9_, "dna-seq-loopout"); t18 = substrand._loopout$__id; if (t18 == null) - t18 = substrand._loopout$__id = A.Loopout.prototype.get$id.call(substrand, substrand); - t17.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t18); - t17.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); - t4._as(style_map); - t17.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t18 = substrand._loopout$__id = A.Loopout.prototype.get$id.call(substrand, 0); + t19 = t17.jsObject; + t19.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t18); + t19.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t17.$indexSet(0, _s5_, t4._as(style_map)); t17 = A.SvgProps$($.$get$text(), _null); t18 = prev_dom.__offset_3p; if (t18 == null) @@ -132743,24 +132012,20 @@ t20.jsObject.dy = A.DartValueWrapper_wrapIfNeeded(A.S(0.1 * t14)); B.JSArray_methods.add$1(dna_sequence_elts, t17.call$1(text_path_props.call$1(subseq))); } - } else if (substrand instanceof A.Extension) { + } else if (substrand instanceof A._$Extension) { t14 = substrand.adjacent_domain; - t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s56_); + t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); if (!A._asBool(t15 == null ? _null : t15) || t1.contains$1(0, t14.helix)) { - t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s34_); + t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t16 = t14.helix; t15 = t9._as(t15 == null ? _null : t15)._map$_map.$index(0, t16); t15.toString; - t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t17 = t17.get$props(t17).$index(0, _s33_0); + t17 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t15 = t8._as(t17 == null ? _null : t17)._map$_map.$index(0, t15.group); t15.toString; geometry = t15.geometry; if (geometry == null) { - t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s35_); + t15 = _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); geometry = t10._as(t15 == null ? _null : t15); } subseq = substrand.dna_sequence; @@ -132769,15 +132034,15 @@ t15 = geometry.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(geometry); style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", "12px"], t6, t7); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t17 = text_path_props.props.jsObject; - t17.className = A.DartValueWrapper_wrapIfNeeded("dna-seq-extension"); + t17 = text_path_props.props; + t17.$indexSet(0, _s9_, "dna-seq-extension"); t18 = substrand._extension$__id; if (t18 == null) - t18 = substrand._extension$__id = A.Extension.prototype.get$id.call(substrand, substrand); - t17.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t18); - t17.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); - t4._as(style_map); - t17.style = A.DartValueWrapper_wrapIfNeeded(style_map); + t18 = substrand._extension$__id = A.Extension.prototype.get$id.call(substrand, 0); + t19 = t17.jsObject; + t19.xlinkHref = A.DartValueWrapper_wrapIfNeeded("#" + t18); + t19.startOffset = A.DartValueWrapper_wrapIfNeeded("50%"); + t17.$indexSet(0, _s5_, t4._as(style_map)); t17 = A.SvgProps$($.$get$text(), _null); t18 = substrand.is_5p ? "5'" : "3'"; t19 = t17.props; @@ -132791,8 +132056,7 @@ } 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)); + t1.set$id(0, "dna-sequence-" + _this.___$DesignMainDNASequenceComponent__cachedTypedProps_A.get$strand().get$id(0)); return t1.call$1(dna_sequence_elts); } }; @@ -132800,7 +132064,7 @@ call$0() { return new A._$DesignMainDNASequenceComponent(null); }, - $signature: 441 + $signature: 439 }; A._$$DesignMainDNASequenceProps.prototype = { get$$$isClassGenerated() { @@ -132836,7 +132100,7 @@ return "DesignMainDNASequence"; }, get$$$defaultConsumedProps() { - return B.Map_CdXnL.get$values(B.Map_CdXnL); + return B.Map_vFMma.get$values(B.Map_vFMma); } }; A.$DesignMainDNASequenceProps.prototype = { @@ -132868,7 +132132,7 @@ 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.DesignMainDNASequencesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainDNASequencesComponent.prototype = { componentDidUpdate$3(prevProps, prevState, snapshot) { var action_to_complete, @@ -132886,22 +132150,18 @@ 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 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsi); t2 = A._asBool(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 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsdia); t4 = A._asBool(t4 == null ? _null : t4); if (t1 != null && !t2 && t3 == null && !t4) { t1 = A.SvgProps$($.$get$g(), _null); 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 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsdnh); t2 = A._asNum(t2 == null ? _null : t2); - t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, string$.DesignMDNSsdnv); + t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsdnv); t1.set$transform(0, "translate(" + A.S(t2) + ", " + A.S(A._asNum(t3 == null ? _null : t3)) + ")"); t2 = A.SvgProps$($.$get$image(), _null); t2.set$xlinkHref(_this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$dna_sequence_png_uri()); @@ -132911,8 +132171,7 @@ 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"); + t3 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNASequencesProps.strands"); if (t3 == null) t3 = _null; t3 = type$.BuiltList_Strand._as(t3)._list; @@ -132935,34 +132194,27 @@ } if (t10.__dna_sequence != null) { t11 = A.design_main_dna_sequence___$DesignMainDNASequence$closure().call$0(); - t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainDNASequencesProps.helices"); + t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNASequencesProps.helices"); t12 = t9._as(t9._as(t12 == null ? _null : t12)); t13 = J.getInterceptor$x(t11); J.$indexSet$ax(t13.get$props(t11), "DesignMainDNASequenceProps.helices", t12); - t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainDNASequencesProps.groups"); + t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNASequencesProps.groups"); t12 = t8._as(t8._as(t12 == null ? _null : t12)); J.$indexSet$ax(t13.get$props(t11), "DesignMainDNASequenceProps.groups", t12); - t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainDNASequencesProps.geometry"); + t12 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNASequencesProps.geometry"); t12 = t7._as(t12 == null ? _null : t12); J.$indexSet$ax(t13.get$props(t11), "DesignMainDNASequenceProps.geometry", t12); J.$indexSet$ax(t13.get$props(t11), "DesignMainDNASequenceProps.strand", t10); - t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMDNSss); + t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSss); t10 = t6._as(t6._as(t10 == null ? _null : t10)); J.$indexSet$ax(t13.get$props(t11), string$.DesignMDNSPs, t10); - t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMDNSso); + t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSso); t10 = A._asBool(t10 == null ? _null : t10); J.$indexSet$ax(t13.get$props(t11), string$.DesignMDNSPo, t10); - t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMDNSsdip); + t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsdip); t10 = A._asBool(t10 == null ? _null : t10); J.$indexSet$ax(t13.get$props(t11), string$.DesignMDNSPd, t10); - t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMDNSsh); + t10 = _this.___$DesignMainDNASequencesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNSsh); t10 = t5._as(t5._as(t10 == null ? _null : t10)); J.$indexSet$ax(t13.get$props(t11), string$.DesignMDNSPh, t10); idx0 = idx + 1; @@ -132981,7 +132233,7 @@ call$0() { return new A._$DesignMainDNASequencesComponent(null); }, - $signature: 442 + $signature: 440 }; A._$$DesignMainDNASequencesProps.prototype = { get$$$isClassGenerated() { @@ -133016,7 +132268,7 @@ return "DesignMainDNASequences"; }, get$$$defaultConsumedProps() { - return B.Map_KYw97.get$values(B.Map_KYw97); + return B.Map_M6OHH.get$values(B.Map_M6OHH); } }; A.$DesignMainDNASequencesProps.prototype = { @@ -133051,32 +132303,22 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainDomainMovingComponent.prototype = { render$0(_) { - var t2, t3, t4, t5, start_svg, end_svg, classname, hex_color, _this = this, + var start_svg, end_svg, t2, classname, hex_color, t3, t4, t5, _this = this, t1 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$helices()._map$_map.$index(0, _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().helix); t1.toString; - t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().get$offset_5p(); - t3 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved(); - t4 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_helix_svg_position_y(); - t5 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; - start_svg = t1.svg_base_pos$4(t2, t3.forward, t4, t5.get$geometry(t5)); - t5 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved().get$offset_3p(); - t4 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_moved(); - t3 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$domain_helix_svg_position_y(); - t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; - end_svg = t1.svg_base_pos$4(t5, t4.forward, t3, t2.get$geometry(t2)); - t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainDomainMovingProps.allowable"); + start_svg = t1.svg_base_pos$4(_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(), _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$geometry(0)); + end_svg = t1.svg_base_pos$4(_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(), _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$geometry(0)); + t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainMovingProps.allowable"); classname = !A._asBool(t2 == null ? null : t2) ? "domain-line-moving disallowed" : "domain-line-moving"; - t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainDomainMovingProps.color"); + t2 = _this.___$DesignMainDomainMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainMovingProps.color"); if (t2 == null) t2 = null; hex_color = type$.Color._as(t2).toHexColor$0(); @@ -133098,7 +132340,7 @@ call$0() { return new A._$DesignMainDomainMovingComponent(null); }, - $signature: 443 + $signature: 441 }; A._$$DesignMainDomainMovingProps.prototype = { get$$$isClassGenerated() { @@ -133134,7 +132376,7 @@ return "DesignMainDomainMoving"; }, get$$$defaultConsumedProps() { - return B.Map_kTckn.get$values(B.Map_kTckn); + return B.Map_0CB9.get$values(B.Map_0CB9); } }; A.$DesignMainDomainMovingProps.prototype = { @@ -133170,7 +132412,7 @@ 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.DesignMainDomainNameMismatchesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainDomainNameMismatchesComponent.prototype = { render$0(_) { var mismatch_components = this._create_mismatch_components$0(), @@ -133184,10 +132426,8 @@ 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); + t1 = t1.get$design().helices.get$values(0); t2 = A._instanceType(t1); - t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")); t3 = type$.BuiltMap_of_int_and_Point_double; t4 = type$.Point_double; @@ -133198,18 +132438,15 @@ t7 = t1.__internal$_current; if (t7 == null) t7 = t2._as(t7); - t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, string$.DesignMDoNo); + t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDoNo); if (A._asBool(t8 == null ? _null : t8)) { - t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, string$.DesignMDoNs); + t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDoNs); t8 = !t6._as(t8 == null ? _null : t8)._set.contains$1(0, t7.idx); } else t8 = false; if (t8) continue; - t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, _s42_); + t8 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t8 = t5._as(t8 == null ? _null : t8); t9 = t8.__domain_name_mismatches; if (t9 == null) { @@ -133238,24 +132475,20 @@ 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 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s42_); + t11 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t12 = domain.helix; t11 = t5._as(t11 == null ? _null : t11).helices._map$_map.$index(0, t12); t11.toString; - t13 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s42_); + t13 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t13 = t5._as(t13 == null ? _null : t13).groups._map$_map.$index(0, t11.group); t13.toString; geometry = t13.geometry; if (geometry == null) { - t13 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s42_); + t13 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); geometry = t5._as(t13 == null ? _null : t13).geometry; } t13 = domain.forward; - t14 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMDoNh); + t14 = _this.___$DesignMainDomainNameMismatchesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDoNh); base_svg_pos = t11.svg_base_pos$4(mid, t13, t3._as(t14 == null ? _null : t14)._map$_map.$index(0, t11.idx).y, geometry); t11 = A.design_main_warning_star___$DesignMainWarningStar$closure().call$0(); t4._as(base_svg_pos); @@ -133277,7 +132510,7 @@ call$0() { return new A._$DesignMainDomainNameMismatchesComponent(null); }, - $signature: 444 + $signature: 442 }; A._$$DesignMainDomainNameMismatchesProps.prototype = { get$$$isClassGenerated() { @@ -133312,7 +132545,7 @@ return "DesignMainDomainNameMismatches"; }, get$$$defaultConsumedProps() { - return B.Map_cwodG.get$values(B.Map_cwodG); + return B.Map_muVSq.get$values(B.Map_muVSq); } }; A.$DesignMainDomainNameMismatchesProps.prototype = { @@ -133337,9 +132570,9 @@ type$.AppState._as(state); return A.set_design_main_domains_moving_props(A.design_main_domains_moving___$DesignMainDomainsMoving$closure().call$0(), state); }, - $signature: 445 + $signature: 443 }; - A.DesignMainDomainsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDomainsMovingProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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, domain_moved, moved_helix_idx, geometry, key0, _this = this, _null = null, @@ -133349,7 +132582,7 @@ _s35_ = "DesignMainDomainsMovingProps.groups", t1 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.DesignMDosd); + t1 = t1.get$props(0).$index(0, string$.DesignMDosd); if (t1 == null) t1 = _null; type$.nullable_DomainsMove._as(t1); @@ -133360,11 +132593,9 @@ t18 = t2.__interceptors$_current; if (t18 == null) t18 = t3._as(t18); - t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, _s43_); + t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s43_); t19 = t8._as(t19 == null ? _null : t19); - t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s42_); + t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t20 = t8._as(t20 == null ? _null : t20); t21 = t13.$index(0, t9); t21.toString; @@ -133396,29 +132627,24 @@ t23.toString; domain_moved = A.move_domain(t20, t12, t11, t22 - t23, t18, t19, true); moved_helix_idx = domain_moved.helix; - t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, string$.DesignMDosh); + t19 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDosh); t19 = t16._as(t19 == null ? _null : t19)._map$_map.$index(0, moved_helix_idx); t19.toString; - t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, _s36_); + t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); t20 = t6._as(t20 == null ? _null : t20)._map$_map.$index(0, moved_helix_idx); t20.toString; - t21 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t21 = t21.get$props(t21).$index(0, _s35_); + t21 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t20 = t4._as(t21 == null ? _null : t21)._map$_map.$index(0, t20.group); t20.toString; geometry = t20.geometry; if (geometry == null) { - t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, "DesignMainDomainsMovingProps.geometry"); + t20 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainsMovingProps.geometry"); geometry = t17._as(t20 == null ? _null : t20); } t20 = A.design_main_domain_moving___$DesignMainDomainMoving$closure().call$0(); t21 = J.getInterceptor$x(t20); J.$indexSet$ax(t21.get$props(t20), "DesignMainDomainMovingProps.domain_moved", domain_moved); - t22 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t22 = t22.get$props(t22).$index(0, string$.DesignMDosco); + t22 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDosco); t18 = t14._as(t22 == null ? _null : t22)._map$_map.$index(0, t18); t18.toString; t15._as(t18); @@ -133452,26 +132678,21 @@ t23 = t18._map$_map.$index(0, t23.idx); t23.toString; J.$indexSet$ax(t21.get$props(t20), string$.DesignMDoMdev, t22 - t23); - t23 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, _s43_); + t23 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s43_); t18 = t8._as(t23 == null ? _null : t23); J.$indexSet$ax(t21.get$props(t20), string$.DesignMDoMo, t18); - t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, _s42_); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t18 = t8._as(t18 == null ? _null : t18); J.$indexSet$ax(t21.get$props(t20), string$.DesignMDoMc, t18); J.$indexSet$ax(t21.get$props(t20), "DesignMainDomainMovingProps.delta_offset", t11); J.$indexSet$ax(t21.get$props(t20), string$.DesignMDoMdef, t12); - t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, string$.DesignMDoss); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDoss); t18 = t7._as(t7._as(t18 == null ? _null : t18)); J.$indexSet$ax(t21.get$props(t20), string$.DesignMDoMs, t18); - t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, _s36_); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); t18 = t6._as(t6._as(t18 == null ? _null : t18)); J.$indexSet$ax(t21.get$props(t20), "DesignMainDomainMovingProps.helices", t18); - t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, _s35_); + t18 = _this.___$DesignMainDomainsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t18 = t4._as(t4._as(t18 == null ? _null : t18)); J.$indexSet$ax(t21.get$props(t20), "DesignMainDomainMovingProps.groups", t18); J.$indexSet$ax(t21.get$props(t20), "DesignMainDomainMovingProps.allowable", t5); @@ -133491,7 +132712,7 @@ call$0() { return new A._$DesignMainDomainsMovingComponent(null); }, - $signature: 446 + $signature: 444 }; A._$$DesignMainDomainsMovingProps.prototype = { get$$$isClassGenerated() { @@ -133526,7 +132747,7 @@ return "DesignMainDomainsMoving"; }, get$$$defaultConsumedProps() { - return B.Map_LBiKm.get$values(B.Map_LBiKm); + return B.Map_anXXe.get$values(B.Map_anXXe); } }; A.$DesignMainDomainsMovingProps.prototype = { @@ -133609,7 +132830,7 @@ 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())); + 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" + J.toString$0$(error) + "\n\nstack trace:\n" + A.S(error.get$stackTrace())); return null; } t1 = $.$get$RecoverableErrorBoundary().call$0(); @@ -133617,19 +132838,18 @@ t1.modifyProps$1(_this.get$addUnconsumedProps()); t2 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - return t1.call$1(t2.get$children(t2)); + return t1.call$1(t2.get$children(0)); }, componentDidUpdate$3(prevProps, prevState, snapshot) { var childThatCausedError, _this = this, t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); if (t1.get$hasError()) { - t1 = A._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(prevProps); - t1 = t1.get$children(t1); + t1 = A._$$DesignMainErrorBoundaryProps__$$DesignMainErrorBoundaryProps(prevProps).get$children(0); childThatCausedError = t1 == null ? null : J.get$single$ax(t1); t1 = _this.___$DesignMainErrorBoundaryComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$children(t1); + t1 = t1.get$children(0); if (!J.$eq$(childThatCausedError, t1 == null ? null : J.get$single$ax(t1))) _this.setState$1(0, _this.get$initialState()); } @@ -133666,7 +132886,7 @@ call$0() { return new A._$DesignMainErrorBoundaryComponent(null); }, - $signature: 447 + $signature: 445 }; A._$$DesignMainErrorBoundaryProps.prototype = { get$$$isClassGenerated() { @@ -133724,7 +132944,7 @@ return "DesignMainErrorBoundary"; }, get$$$defaultConsumedProps() { - return B.Map_EUkaS.get$values(B.Map_EUkaS); + return B.Map_MDgDQ.get$values(B.Map_MDgDQ); } }; A.$DesignMainErrorBoundaryStateMixin.prototype = {}; @@ -133735,7 +132955,7 @@ 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.DesignMainHelicesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainHelicesComponent.prototype = { render$0(_) { var t2, only_display_selected_helices, group_views, t3, t4, t5, t6, t7, t8, t9, t10, t11, geometry, t12, t13, first_helix_view_order, children, t14, t15, geometry0, t16, t17, t18, translate_svg, _this = this, _null = null, @@ -133743,56 +132963,47 @@ _s31_ = "DesignMainHelicesProps.geometry", t1 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t1.get$helices()._map$_map._length === 0) + if (t1.get$helices()._map$_map.__js_helper$_length === 0) return _null; - t1 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMHcsi); + t1 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$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); + t2 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHco); only_display_selected_helices = A._asBool(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, t2.$ti._precomputed1), t3 = type$.BuiltMap_String_HelixGroup, t4 = type$.BuiltMap_int_Helix, t5 = type$.Geometry, t1 = t1._set, t6 = !only_display_selected_helices, t7 = type$.BuiltMap_of_int_and_Point_double, t8 = type$.Point_double, t9 = type$.BuiltMap_of_String_and_BuiltList_int; t2.moveNext$0();) { + for (t2 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$groups().get$keys(0), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, t2.$ti._precomputed1), t3 = type$.BuiltMap_String_HelixGroup, t4 = type$.BuiltMap_int_Helix, t5 = type$.Geometry, t1 = t1._set, t6 = !only_display_selected_helices, t7 = type$.BuiltMap_of_int_and_Point_double, t8 = type$.Point_double, t9 = type$.BuiltMap_of_String_and_BuiltList_int; t2.moveNext$0();) { t10 = t2.__js_helper$_current; - t11 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s29_); + t11 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t11 = t3._as(t11 == null ? _null : t11)._map$_map.$index(0, t10); t11.toString; geometry = t11.geometry; if (geometry == null) { - t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s31_); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, _s31_); geometry = t5._as(t12 == null ? _null : t12); } - t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, string$.DesignMHchis); + t12 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHchis); t12 = t9._as(t12 == null ? _null : t12)._map$_map.$index(0, t10); t12.toString; t12 = t12._list; if (t12.length === 0) continue; - t13 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, "DesignMainHelicesProps.invert_y"); + t13 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelicesProps.invert_y"); first_helix_view_order = A._asBool(t13 == null ? _null : t13) ? t12.length - 1 : 0; children = []; for (t13 = A._arrayInstanceType(t12), t12 = new J.ArrayIterator(t12, t12.length, t13._eval$1("ArrayIterator<1>")), t13 = t13._precomputed1; t12.moveNext$0();) { t14 = t12.__interceptors$_current; if (t14 == null) t14 = t13._as(t14); - t15 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignMainHelicesProps.helices"); + t15 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelicesProps.helices"); t14 = t4._as(t15 == null ? _null : t15)._map$_map.$index(0, t14); t14.toString; - t15 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s29_); + t15 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t15 = t3._as(t15 == null ? _null : t15)._map$_map.$index(0, t10); t15.toString; geometry0 = t15.geometry; if (geometry0 == null) { - t16 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s31_); + t16 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, _s31_); geometry0 = t5._as(t16 == null ? _null : t16); } t16 = t15.__helices_view_order_inverse; @@ -133812,44 +133023,34 @@ J.$indexSet$ax(t18.get$props(t17), "DesignMainHelixProps.geometry", geometry0); t14 = t1.contains$1(0, t16); J.$indexSet$ax(t18.get$props(t17), "DesignMainHelixProps.selected", t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcmo); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcmo); t14 = A._asDouble(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), string$.DesignMHxmo, t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcmw); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcmw); t14 = A._asDouble(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), string$.DesignMHxmw, t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHchc); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHchc); t14 = A._asBool(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), string$.DesignMHxh, t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, "DesignMainHelicesProps.show_dna"); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelicesProps.show_dna"); t14 = A._asBool(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), "DesignMainHelixProps.show_dna", t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcshd); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcshd); t14 = A._asBool(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), "DesignMainHelixProps.show_domain_labels", t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcshh); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcshh); t14 = A._asBool(t14 == null ? _null : t14); J.$indexSet$ax(t18.get$props(t17), "DesignMainHelixProps.show_helix_circles", t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcdb); if (A._asBool(t14 == null ? _null : t14)) { - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdb_); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcdb_); t14 = !A._asBool(t14 == null ? _null : t14) || t15 === first_helix_view_order; } else t14 = false; J.$indexSet$ax(t18.get$props(t17), string$.DesignMHxdb, t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcdm); if (A._asBool(t14 == null ? _null : t14)) { - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHcdm_); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHcdm_); t14 = A._asBool(t14 == null ? _null : t14) || t15 === first_helix_view_order; } else t14 = false; @@ -133857,8 +133058,7 @@ t14 = B.JSInt_methods.toString$0(t16); t15 = t18.get$props(t17); J.$indexSet$ax(t15, "key", t14); - t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMHchi_); + t14 = _this.___$DesignMainHelicesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHchi_); t14 = t7._as(t14 == null ? _null : t14)._map$_map.$index(0, t16); t14.toString; t8._as(t14); @@ -133868,14 +133068,13 @@ } t12 = A.SvgProps$($.$get$g(), _null); t13 = t12.props; - t14 = t13.jsObject; - t14.className = A.DartValueWrapper_wrapIfNeeded("helices-main-view-group-" + t10); - t15 = t11.position; - t16 = geometry.__nm_to_svg_pixels; - if (t16 == null) - t16 = geometry.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(geometry); - translate_svg = A.Position3D_Position3D(t15.x * t16, t15.y * t16, t15.z * t16); - t14.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); + t13.$indexSet(0, "className", "helices-main-view-group-" + t10); + t14 = t11.position; + t15 = geometry.__nm_to_svg_pixels; + if (t15 == null) + t15 = geometry.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(geometry); + translate_svg = A.Position3D_Position3D(t14.x * t15, t14.y * t15, t14.z * t15); + t13.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); t13.$indexSet(0, "key", t10); group_views.push(t12.call$1(children)); } @@ -133888,7 +133087,7 @@ call$0() { return new A._$DesignMainHelicesComponent(null); }, - $signature: 448 + $signature: 446 }; A._$$DesignMainHelicesProps.prototype = { get$$$isClassGenerated() { @@ -133923,7 +133122,7 @@ return "DesignMainHelices"; }, get$$$defaultConsumedProps() { - return B.Map_qZkMT.get$values(B.Map_qZkMT); + return B.Map_GNwEs.get$values(B.Map_GNwEs); } }; A.$DesignMainHelicesProps.prototype = { @@ -133943,57 +133142,47 @@ 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.DesignMainHelixProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainHelixComponent.prototype = { render$0(_) { - var t2, cx, cy, t3, t4, y_start, t5, t6, t7, height, x_start, vert_line_paths, t8, t9, t10, t11, _this = this, _null = null, + var cx, cy, t2, t3, t4, y_start, t5, t6, height, x_start, vert_line_paths, t7, t8, t9, t10, _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"); - t1 = t1.get$geometry(t1).get$base_width_svg(); - t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - cx = -(2 * t1 + t2.get$geometry(t2).get$distance_between_helices_svg() / 2); - t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position(); + cx = -(2 * t1.get$geometry(0).get$base_width_svg() + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$distance_between_helices_svg() / 2); + t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position(); _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - cy = t2.y + t1.get$geometry(t1).get$base_height_svg() * 2 / 2; + cy = t1.y + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() * 2 / 2; t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t2 = t2.get$geometry(t2).get$base_width_svg(); + t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg(); t1 = t1.get$num_bases(); _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t3 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t3 = t3.get$geometry(t3).get$base_height_svg(); + t3 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); t4 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); y_start = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y; - t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t5 = t5.get$geometry(t5).get$base_width_svg(); + t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg(); t6 = t4.get$num_bases(); - t7 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - height = t7.get$geometry(t7).get$base_height_svg() * 2; - t7 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - x_start = t4.min_offset * t7.get$geometry(t7).get$base_width_svg(); - t7 = A.S(x_start); + height = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() * 2; + x_start = t4.min_offset * _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg(); + t4 = A.S(x_start); t6 = A.S(x_start + t5 * t6); vert_line_paths = _this._vert_line_paths$2(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(), _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y); t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t4 = A.SvgProps$($.$get$g(), _null); - t4.set$id(0, "helix-main-view-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); - t4.set$className(0, "helix-main-view"); + t7 = A.SvgProps$($.$get$g(), _null); + t7.set$id(0, "helix-main-view-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); + t7.set$className(0, "helix-main-view"); t8 = []; if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_helix_circles()) { t9 = A.SvgProps$($.$get$circle(), _null); - t10 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, "DesignMainHelixProps.selected"); + t10 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelixProps.selected"); t9.set$className(0, "main-view-helix-circle " + (A._asBool(t10 == null ? _null : t10) ? "selected" : "")); t9.set$onClick(0, new A.DesignMainHelixComponent_render_closure(_this)); t9.set$id(0, "main-view-helix-circle-" + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); t9.set$cx(0, A.S(cx)); t9.set$cy(0, A.S(cy)); - t11 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t9.set$r(0, A.S(t11.get$geometry(t11).get$helix_radius_svg())); + t9.set$r(0, A.S(_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$helix_radius_svg())); t9.set$key(0, "main-view-helix-circle"); t8.push(t9.call$0()); } @@ -134012,37 +133201,35 @@ t5.set$key(0, _s17_); t9 = A.SvgProps$($.$get$path(), _null); t9.set$className(0, "helix-lines helix-horz-line"); - t9.set$d(0, "M " + t7 + " " + A.S(y_start) + " H " + t6 + " M " + t7 + " " + A.S(y_start + height / 2) + " H " + t6 + " M " + t7 + " " + A.S(y_start + height) + " H " + t6); + t9.set$d(0, "M " + t4 + " " + A.S(y_start) + " H " + t6 + " M " + t4 + " " + A.S(y_start + height / 2) + " H " + t6 + " M " + t4 + " " + A.S(y_start + height) + " H " + t6); t9 = t9.call$0(); t6 = A.SvgProps$($.$get$path(), _null); t6.set$className(0, "helix-lines helix-vert-minor-line"); t6.set$d(0, vert_line_paths.$index(0, "minor")); t6 = t6.call$0(); - t7 = A.SvgProps$($.$get$path(), _null); - t7.set$className(0, "helix-lines helix-vert-major-line"); - t7.set$d(0, vert_line_paths.$index(0, "major")); - t8.push(t5.call$3(t9, t6, t7.call$0())); - t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, string$.DesignMHxdb); - if (A._asBool(t5 == null ? _null : t5)) + t4 = A.SvgProps$($.$get$path(), _null); + t4.set$className(0, "helix-lines helix-vert-major-line"); + t4.set$d(0, vert_line_paths.$index(0, "major")); + t8.push(t5.call$3(t9, t6, t4.call$0())); + t4 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHxdb); + if (A._asBool(t4 == null ? _null : t4)) t8.push(_this._major_tick_offsets_svg_group$0()); - t5 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, string$.DesignMHxdm); - if (A._asBool(t5 == null ? _null : t5)) + t4 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHxdm); + if (A._asBool(t4 == null ? _null : t4)) t8.push(_this._major_tick_widths_svg_group$0()); - t5 = A.SvgProps$($.$get$rect(), _null); - t5.set$onPointerDown(new A.DesignMainHelixComponent_render_closure1(_this)); - t5.set$onMouseLeave(0, new A.DesignMainHelixComponent_render_closure2()); - t5.set$onMouseEnter(0, new A.DesignMainHelixComponent_render_closure3(_this)); - t5.set$onMouseMove(0, new A.DesignMainHelixComponent_render_closure4(_this)); - t5.set$x(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().x); - t5.set$y(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y); - t5.set$width(0, A.S(t2 * t1)); - t5.set$height(0, A.S(t3 * 2)); - t5.set$className(0, _s20_0); - t5.set$key(0, _s20_0); - t8.push(t5.call$0()); - return t4.call$1(t8); + t4 = A.SvgProps$($.$get$rect(), _null); + t4.set$onPointerDown(new A.DesignMainHelixComponent_render_closure1(_this)); + t4.set$onMouseLeave(0, new A.DesignMainHelixComponent_render_closure2()); + t4.set$onMouseEnter(0, new A.DesignMainHelixComponent_render_closure3(_this)); + t4.set$onMouseMove(0, new A.DesignMainHelixComponent_render_closure4(_this)); + t4.set$x(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().x); + t4.set$y(0, _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position().y); + t4.set$width(0, A.S(t2 * t1)); + t4.set$height(0, A.S(t3 * 2)); + t4.set$className(0, _s20_0); + t4.set$key(0, _s20_0); + t8.push(t4.call$0()); + return t7.call$1(t8); }, componentDidMount$0() { var t1 = this.___$DesignMainHelixComponent__cachedTypedProps_A; @@ -134077,8 +133264,7 @@ 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); + t3 = this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHxh); t2 = A.context_menu_helix(t2, A._asBool(t3 == null ? null : t3)); t3 = ev.pageX; t3.toString; @@ -134093,35 +133279,27 @@ t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); major_ticks = t1.get$helix().get$calculate_major_ticks(); - if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna()) { - t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - offset = 0 + t1.get$geometry(t1).get$base_height_svg(); - } else - offset = 0; - if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels()) { - t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - offset += 1.2 * t1.get$geometry(t1).get$base_height_svg(); - } + offset = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna() ? 0 + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() : 0; + if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels()) + offset += 1.2 * _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position(); offset_texts_elements = []; for (t2 = major_ticks._list, t3 = A._arrayInstanceType(t2), t2 = new J.ArrayIterator(t2, t2.length, t3._eval$1("ArrayIterator<1>")), t1 = A.S(t1.y - (3 + offset)), t4 = type$.Geometry, t3 = t3._precomputed1; t2.moveNext$0();) { t5 = t2.__interceptors$_current; if (t5 == null) t5 = t3._as(t5); - t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t6 = t6.get$props(t6).$index(0, "DesignMainHelixProps.geometry"); + t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelixProps.geometry"); t6 = t4._as(t6 == null ? _null : t6); t7 = t6.__base_width_svg; t6 = t7 == null ? t6.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t6) : t7; t7 = A.SvgProps$($.$get$text(), _null); t8 = t7.props; - t9 = t8.jsObject; - t9.className = A.DartValueWrapper_wrapIfNeeded("main-view-helix-major-tick-offset-text"); + t8.$indexSet(0, "className", "main-view-helix-major-tick-offset-text"); t6 = A.S((t5 + 0.5) * t6); + t9 = t8.jsObject; t9.x = A.DartValueWrapper_wrapIfNeeded(t6); t9.y = A.DartValueWrapper_wrapIfNeeded(t1); - t10 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMHxmo); + t10 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHxmo); t10 = A._asDouble(t10 == null ? _null : t10); t9.fontSize = A.DartValueWrapper_wrapIfNeeded(A.S(t10)); t9.dominantBaseline = A.DartValueWrapper_wrapIfNeeded("baseline"); @@ -134140,19 +133318,12 @@ t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); major_ticks = t1.get$helix().get$calculate_major_ticks(); - if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna()) { - t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - offset = 0 + t1.get$geometry(t1).get$base_height_svg(); - } else - offset = 0; - if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels()) { - t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - offset += t1.get$geometry(t1).get$base_height_svg(); - } + offset = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_dna() ? 0 + _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() : 0; + if (_this.___$DesignMainHelixComponent__cachedTypedProps_A.get$show_domain_labels()) + offset += _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); t1 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix_svg_position(); _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t2 = t2.get$geometry(t2).get$base_height_svg(); + t2 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); 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) { @@ -134166,28 +133337,25 @@ 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 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelixProps.helix_svg_position"); t5 = t4._as(t5 == null ? _null : t5); - t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A; - t6 = t6.get$props(t6).$index(0, "DesignMainHelixProps.geometry"); + t6 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainHelixProps.geometry"); t6 = t1._as(t6 == null ? _null : t6); t7 = t6.__base_width_svg; t6 = t7 == null ? t6.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t6) : t7; 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.x + 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._asDouble(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); + t8.$indexSet(0, "className", "main-view-helix-major-tick-distance-text"); + t6 = A.S(t5.x + base * t6); + t5 = t8.jsObject; + t5.x = A.DartValueWrapper_wrapIfNeeded(t6); + t5.y = A.DartValueWrapper_wrapIfNeeded(t2); + t9 = _this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMHxmw); + t9 = A._asDouble(t9 == null ? _null : t9); + t5.fontSize = A.DartValueWrapper_wrapIfNeeded(A.S(t9)); + t5.dominantBaseline = A.DartValueWrapper_wrapIfNeeded("hanging"); + t5.textAnchor = A.DartValueWrapper_wrapIfNeeded("middle"); + t8.$indexSet(0, "key", "main-view-helix-major-tick-distance-" + t6); B.JSArray_methods.addAll$1(offset_texts_elements, [t7.call$1(distance)]); } t1 = A.SvgProps$($.$get$g(), _null); @@ -134205,19 +133373,17 @@ for (base = helix.min_offset, t1 = helix.max_offset, t2 = type$.Geometry, 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, _s29_); + t5 = t5.get$props(0).$index(0, _s29_); t5 = t2._as(t5 == null ? null : t5); 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 = this.___$DesignMainHelixComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, _s29_); + t5 = this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t5 = t2._as(t5 == null ? null : t5); t6 = t5.__base_height_svg; B.JSArray_methods.add$1(path_cmds, "v " + A.S((t6 == null ? t5.__base_height_svg = A.Geometry.prototype.get$base_height_svg.call(t5) : t6) * 2)); - t5 = this.___$DesignMainHelixComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, _s29_); + t5 = this.___$DesignMainHelixComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t5 = t2._as(t5 == null ? null : t5); if (t5.__base_width_svg == null) t5.__base_width_svg = A.Geometry.prototype.get$base_width_svg.call(t5); @@ -134257,14 +133423,18 @@ }; A.DesignMainHelixComponent_render_closure1.prototype = { call$1(event_syn) { - var t1, $event, t2, t3, t4, address, _s5_ = "store"; + var t1, $event, t2, t3, address, _s5_ = "store", _s6_ = "_state"; 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = !t1.ui_state.drawing_potential_crossover; } else t1 = false; if (t1) { @@ -134275,7 +133445,9 @@ return; t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI(_s5_); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design(); t2 = this.$this; t3 = t2.___$DesignMainHelixComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -134283,15 +133455,15 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$helix_idx_to_svg_position_map()._map$_map.$index(0, t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix().idx); t1.toString; - t4 = t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(); - t2 = t2.___$DesignMainHelixComponent__cachedTypedProps_A; - address = A.get_address_on_helix($event, t4, t3, t2.get$geometry(t2), t1); + address = A.get_address_on_helix($event, t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$helix(), t3, t2.___$DesignMainHelixComponent__cachedTypedProps_A.get$geometry(0), t1); $.__app._readField$0().dispatch$1(A._$StrandCreateStart$_(address, $.$get$color_cycler().next$0(0))); } }, - $signature: 17 + $signature: 19 }; A.DesignMainHelixComponent_render_closure2.prototype = { call$1(_) { @@ -134299,7 +133471,9 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.storables.show_mouseover_data) $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); return null; }, @@ -134315,7 +133489,9 @@ 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + t1 = 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); }, @@ -134331,7 +133507,9 @@ 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + t1 = 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); }, @@ -134341,7 +133519,7 @@ call$0() { return new A._$DesignMainHelixComponent(null); }, - $signature: 452 + $signature: 450 }; A._$$DesignMainHelixProps.prototype = { get$$$isClassGenerated() { @@ -134376,7 +133554,7 @@ return "DesignMainHelix"; }, get$$$defaultConsumedProps() { - return B.Map_4qyDQ.get$values(B.Map_4qyDQ); + return B.Map_ZYDbk.get$values(B.Map_ZYDbk); } }; A.$DesignMainHelixProps.prototype = { @@ -134414,7 +133592,7 @@ 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.DesignMainLoopoutExtensionLengthProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainLoopoutExtensionLengthComponent.prototype = { render$0(_) { var style_map, $length, text_path_props, t2, t3, _this = this, _null = null, @@ -134422,7 +133600,7 @@ 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); + t1 = t1.get$props(0).$index(0, string$.DesignMLEPg); if (t1 == null) t1 = _null; t1 = type$.Geometry._as(t1).get$base_width_svg(); @@ -134448,7 +133626,7 @@ call$0() { return new A._$DesignMainLoopoutExtensionLengthComponent(null); }, - $signature: 453 + $signature: 451 }; A._$$DesignMainLoopoutExtensionLengthProps.prototype = { get$$$isClassGenerated() { @@ -134483,7 +133661,7 @@ return "DesignMainLoopoutExtensionLength"; }, get$$$defaultConsumedProps() { - return B.Map_uQOHx.get$values(B.Map_uQOHx); + return B.Map_kGwGY.get$values(B.Map_kGwGY); } }; A.$DesignMainLoopoutExtensionLengthProps.prototype = { @@ -134497,17 +133675,16 @@ 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.DesignMainLoopoutExtensionLengthsProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainLoopoutExtensionLengthsComponent.prototype = { render$0(_) { var elts, t2, t3, idx, t4, t5, t6, t7, t8, t9, idx0, _null = null, t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.DesignMLEssh); + t1 = t1.get$props(0).$index(0, string$.DesignMLEssh); if (A._asBool(t1 == null ? _null : t1)) { elts = []; - t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMLEsst); + t1 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMLEsst); if (t1 == null) t1 = _null; t1 = type$.BuiltList_Strand._as(t1)._list; @@ -134522,10 +133699,9 @@ t6 = t4.__interceptors$_current; if (t6 == null) t6 = t5._as(t6); - if (t6 instanceof A.Loopout || t6 instanceof A.Extension) { + if (t6 instanceof A._$Loopout || t6 instanceof A._$Extension) { t7 = A.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure().call$0(); - t8 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, string$.DesignMLEsg); + t8 = this.___$DesignMainLoopoutExtensionLengthsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMLEsg); t8 = t3._as(t8 == null ? _null : t8); t9 = J.getInterceptor$x(t7); J.$indexSet$ax(t9.get$props(t7), string$.DesignMLEPg, t8); @@ -134549,7 +133725,7 @@ call$0() { return new A._$DesignMainLoopoutExtensionLengthsComponent(null); }, - $signature: 454 + $signature: 452 }; A._$$DesignMainLoopoutExtensionLengthsProps.prototype = { get$$$isClassGenerated() { @@ -134584,7 +133760,7 @@ return "DesignMainLoopoutExtensionLengths"; }, get$$$defaultConsumedProps() { - return B.Map_46dDt.get$values(B.Map_46dDt); + return B.Map_ijQHh.get$values(B.Map_ijQHh); } }; A.$DesignMainLoopoutExtensionLengthsProps.prototype = {}; @@ -134608,8 +133784,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainPotentialVerticalCrossoverComponent.prototype = { @@ -134617,7 +133793,7 @@ var prev_domain, next_domain, t0, t2, t3, t4, t5, t6, path, path_props, _this = this, _null = null, t1 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.DesignMPPp); + t1 = t1.get$props(0).$index(0, string$.DesignMPPp); if (t1 == null) t1 = _null; type$.PotentialVerticalCrossover._as(t1); @@ -134633,8 +133809,7 @@ if (_this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, t2).group !== _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, t3).group) return _null; t4 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helices(); - t5 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A; - t5 = t5.get$geometry(t5); + t5 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$geometry(0); t6 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t2); t6.toString; t3 = _this.___$DesignMainPotentialVerticalCrossoverComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_y_map()._map$_map.$index(0, t3); @@ -134657,13 +133832,13 @@ $.__app._readField$0().dispatch$1(A._$JoinStrandsByCrossover$_(t1.dna_end_top, t1.dna_end_bot)); } }, - $signature: 17 + $signature: 19 }; A.$DesignMainPotentialVerticalCrossoverComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainPotentialVerticalCrossoverComponent(null); }, - $signature: 455 + $signature: 453 }; A._$$DesignMainPotentialVerticalCrossoverProps.prototype = { get$$$isClassGenerated() { @@ -134699,7 +133874,7 @@ return "DesignMainPotentialVerticalCrossover"; }, get$$$defaultConsumedProps() { - return B.Map_jdsUL.get$values(B.Map_jdsUL); + return B.Map_qpPXx.get$values(B.Map_qpPXx); } }; A.$DesignMainPotentialVerticalCrossoverProps.prototype = { @@ -134731,7 +133906,7 @@ 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.DesignMainPotentialVerticalCrossoversProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainPotentialVerticalCrossoversComponent.prototype = { render$0(_) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, idx_top, idx_bot, t13, t14, t15, helices_of_crossover, group_top_name, group_bot_name, geometry, groups_of_crossover, _this = this, _null = null, @@ -134739,7 +133914,7 @@ 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); + t1 = t1.get$props(0).$index(0, string$.DesignMPsp); if (t1 == null) t1 = _null; t1 = type$.BuiltList_PotentialVerticalCrossover._as(t1)._list; @@ -134761,21 +133936,17 @@ t12 = t2._as(t12); idx_top = t12.helix_idx_top; idx_bot = t12.helix_idx_bot; - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMPso); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMPso); if (A._asBool(t13 == null ? _null : t13)) { - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMPss); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMPss); t13 = !t6._as(t13 == null ? _null : t13)._set.containsAll$1([idx_bot, idx_top]); } else t13 = false; if (t13) continue; - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMPshc); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMPshc); t13 = t3._as(t13 == null ? _null : t13); t14 = t13.$ti; - t14 = t14._eval$1("@<1>")._bind$1(t14._rest[1]); t13 = new A.CopyOnWriteMap(t13._mapFactory, t13._map$_map, 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(); @@ -134786,18 +133957,15 @@ group_top_name = t13.$index(0, idx_top).group; group_bot_name = t13.$index(0, idx_bot).group; if (group_top_name === group_bot_name) { - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s49_); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, _s49_); t13 = t8._as(t13 == null ? _null : t13)._map$_map.$index(0, group_top_name); t13.toString; geometry = t13.geometry; if (geometry == null) { - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMPsge); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMPsge); geometry = t11._as(t13 == null ? _null : t13); } - t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s49_); + t13 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, _s49_); t13 = t8._as(t13 == null ? _null : t13)._map$_map.$index(0, group_bot_name); t13.toString; groups_of_crossover = A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([group_bot_name, t13], t9, t10), t9, t10); @@ -134809,13 +133977,12 @@ t8._as(groups_of_crossover); J.$indexSet$ax(t14.get$props(t13), string$.DesignMPPgr, groups_of_crossover); J.$indexSet$ax(t14.get$props(t13), string$.DesignMPPge, geometry); - t15 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignMPshx); + t15 = _this.___$DesignMainPotentialVerticalCrossoversComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMPshx); t15 = t7._as(t7._as(t15 == null ? _null : t15)); J.$indexSet$ax(t14.get$props(t13), string$.DesignMPPhx, t15); t12 = t12.dna_end_top; t15 = t12._dna_end$__id; - t12 = t15 == null ? t12._dna_end$__id = A.DNAEnd.prototype.get$id.call(t12, t12) : t15; + t12 = t15 == null ? t12._dna_end$__id = A.DNAEnd.prototype.get$id.call(t12, 0) : t15; t14 = t14.get$props(t13); J.$indexSet$ax(t14, "key", t12); B.JSArray_methods.add$1(crossover_components, t13.call$0()); @@ -134832,13 +133999,13 @@ type$.Helix._as(_); return !(idx === this.idx_top || idx === this.idx_bot); }, - $signature: 70 + $signature: 67 }; A.$DesignMainPotentialVerticalCrossoversComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainPotentialVerticalCrossoversComponent(null); }, - $signature: 456 + $signature: 454 }; A._$$DesignMainPotentialVerticalCrossoversProps.prototype = { get$$$isClassGenerated() { @@ -134873,19 +134040,19 @@ return "DesignMainPotentialVerticalCrossovers"; }, get$$$defaultConsumedProps() { - return B.Map_C8f7G.get$values(B.Map_C8f7G); + return B.Map_LNezW.get$values(B.Map_LNezW); } }; A.$DesignMainPotentialVerticalCrossoversProps.prototype = {}; A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps.prototype = {}; A.__$$DesignMainPotentialVerticalCrossoversProps_UiProps_DesignMainPotentialVerticalCrossoversProps_$DesignMainPotentialVerticalCrossoversProps.prototype = {}; - A.DesignMainSliceBarProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainSliceBarProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainSliceBarComponent.prototype = { render$0(_) { var t2, t3, t4, t5, t6, displayed_helices_min_y, displayed_helices_max_y, t7, t8, t9, side_selected_helix_idxs, only_display_selected_helices, 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); + t1 = t1.get$props(0).$index(0, string$.DesignMSlhs); if (t1 == null) t1 = _null; t1 = type$.BuiltMap_of_String_and_BuiltList_int._as(t1)._map$_map.$index(0, _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$displayed_group_name()); @@ -134894,19 +134061,15 @@ t7 = t3.__interceptors$_current; if (t7 == null) t7 = t2._as(t7); - t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, "DesignMainSliceBarProps.helices"); + t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainSliceBarProps.helices"); t8 = t5._as(t8 == null ? _null : t8)._map$_map.$index(0, t7); t8.toString; - t9 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t9 = t9.get$props(t9).$index(0, string$.DesignMSls); + t9 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMSls); side_selected_helix_idxs = t4._as(t9 == null ? _null : t9); - t9 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t9 = t9.get$props(t9).$index(0, string$.DesignMSlo); + t9 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMSlo); only_display_selected_helices = A._asBool(t9 == null ? _null : t9); if (only_display_selected_helices && side_selected_helix_idxs._set.contains$1(0, t8.idx) || !only_display_selected_helices) { - t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, string$.DesignMSlh_); + t8 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMSlh_); y = t6._as(t8 == null ? _null : t8)._map$_map.$index(0, t7).y; displayed_helices_max_y = Math.max(displayed_helices_max_y, y); displayed_helices_min_y = Math.min(displayed_helices_min_y, y); @@ -134914,8 +134077,7 @@ } if (displayed_helices_min_y === 1 / 0) return _null; - t2 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - geometry = t2.get$geometry(t2); + geometry = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$geometry(0); slice_bar_svg_width = geometry.get$base_width_svg(); t2 = geometry.__helix_diameter_svg; if (t2 == null) @@ -134938,14 +134100,12 @@ offset_text = t4.call$1(_this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$slice_bar_offset()); t4 = A.SvgProps$($.$get$g(), _null); t4.set$className(0, "slice-bar-rect"); - t1 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignMainSliceBarProps.groups"); + t1 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainSliceBarProps.groups"); if (t1 == null) t1 = _null; t1 = type$.BuiltMap_String_HelixGroup._as(t1)._map$_map.$index(0, _this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$displayed_group_name()); t1.toString; - t2 = _this.___$DesignMainSliceBarComponent__cachedTypedProps_A; - t4.set$transform(0, t1.transform_str$1(t2.get$geometry(t2))); + t4.set$transform(0, t1.transform_str$1(_this.___$DesignMainSliceBarComponent__cachedTypedProps_A.get$geometry(0))); t4.set$key(0, "slice-bar"); return t4.call$2(slice_bar, offset_text); } @@ -134955,16 +134115,15 @@ var t1; type$.SyntheticPointerEvent._as(_); t1 = $.__app._readField$0(); - type$.nullable_void_Function_SliceBarMoveStartBuilder._as(null); t1.dispatch$1(new A.SliceBarMoveStartBuilder()._build$0()); }, - $signature: 17 + $signature: 19 }; A.$DesignMainSliceBarComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainSliceBarComponent(null); }, - $signature: 457 + $signature: 455 }; A._$$DesignMainSliceBarProps.prototype = { get$$$isClassGenerated() { @@ -134999,7 +134158,7 @@ return "DesignMainSliceBar"; }, get$$$defaultConsumedProps() { - return B.Map_OkS19.get$values(B.Map_OkS19); + return B.Map_wEfs3.get$values(B.Map_wEfs3); } }; A.$DesignMainSliceBarProps.prototype = { @@ -135050,8 +134209,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandComponent.prototype = { @@ -135062,8 +134221,7 @@ 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"); + t1 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.selected"); if (A._asBool(t1 == null ? _null : t1)) classname = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$retain_strand_color_on_selection() ? "strand selected" : "strand selected-pink"; else @@ -135077,11 +134235,9 @@ for (t3 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().get$domains()._list, t4 = A._arrayInstanceType(t3), t3 = new J.ArrayIterator(t3, t3.length, t4._eval$1("ArrayIterator<1>")), t5 = type$.nullable_BuiltSet_int, t4 = t4._precomputed1, t6 = helix_idx_to_svg_position_map._map$_map; t3.moveNext$0();) { t7 = t3.__interceptors$_current; helix_idx = (t7 == null ? t4._as(t7) : t7).helix; - t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t7 = t7.get$props(t7).$index(0, _s46_); + t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, _s46_); if (t5._as(t7 == null ? _null : t7) != null) { - t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t7 = t7.get$props(t7).$index(0, _s46_); + t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, _s46_); t7 = t5._as(t7 == null ? _null : t7)._set.contains$1(0, helix_idx); } else t7 = true; @@ -135093,8 +134249,7 @@ } 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$id(0, _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand().get$id(0)); t2.set$onPointerDown(_this.get$handle_click_down()); t2.set$onPointerUp(_this.get$handle_click_up()); t2.set$className(0, classname); @@ -135111,36 +134266,31 @@ 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); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$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); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$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); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$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); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$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); + t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsedo); if (t8 == null) t8 = _null; t9 = type$.BuiltSet_Domain; @@ -135172,16 +134322,13 @@ 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.helix + ", offset=" + t14 + ")") + "\n") + (" 3' end=" + ("(helix=" + t15.helix + ", offset=" + t16 + ")") + "\n") + t17 + t9); - t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t9 = t9.get$props(t9).$index(0, string$.DesignMStPrdr); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrdr); t9 = A._asBool(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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.moving_dna_ends"); t9 = A._asBool(t9 == null ? _null : t9); J.$indexSet$ax(t6.get$props(t3), string$.DesignMStPam, t9); - t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t9 = t9.get$geometry(t9); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$geometry(0); 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); @@ -135199,11 +134346,9 @@ 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); + t9 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$geometry(0); 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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.show_dna"); t9 = A._asBool(t9 == null ? _null : t9); J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAshdn, t9); t9 = t5._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$side_selected_helix_idxs()); @@ -135218,20 +134363,16 @@ 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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrstn); t9 = A._asDouble(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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrstl); t9 = A._asDouble(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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrdon); t9 = A._asDouble(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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrdol); t9 = A._asDouble(t9 == null ? _null : t9); J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAdl, t9); J.$indexSet$ax(t10.get$props(t6), string$.DesignMStAc, t8); @@ -135239,8 +134380,7 @@ 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"); + t6 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.show_modifications"); if (A._asBool(t6 == null ? _null : t6)) { t6 = A.design_main_strand_modifications___$DesignMainStrandModifications$closure().call$0(); t8 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$strand(); @@ -135250,25 +134390,21 @@ J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdshc, t4); 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); + t7 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$geometry(0); J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdsge, t7); t5 = t5._as(_this.___$DesignMainStrandComponent__cachedTypedProps_A.get$side_selected_helix_idxs()); J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdssi, t5); t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$only_display_selected_helices(); J.$indexSet$ax(t9.get$props(t6), string$.DesignMStMdso, t5); - t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, string$.DesignMStPrsem); + t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsem); t4 = t5 == null ? _null : t5; 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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrmf); t4 = A._asDouble(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 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrmd); t4 = A._asBool(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)); @@ -135281,7 +134417,7 @@ return t2.call$1(t3); }, handle_click_down$1(event_syn) { - var t2, t3, address, helices_view_order_inverse, t4, t5, _this = this, _s5_ = "store", + var t2, address, helices_view_order_inverse, t3, t4, t5, _this = this, _s5_ = "store", _s6_ = "_state", $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))), t1 = $event.button; t1.toString; @@ -135291,39 +134427,41 @@ 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t1 = 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 = t2._eval$1("@<1>")._bind$1(t2._rest[1]); - t1 = new A.MappedIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, t2._eval$1("MappedIterator<1,2>")); - t2 = t2._rest[1]; - for (; t1.moveNext$0();) { - t4 = t1.__internal$_current; + address = A.find_closest_address($event, _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helices().get$values(0), _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$groups(), _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$geometry(0), _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map()); + t1 = type$.int; + helices_view_order_inverse = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.get$design().groups.get$values(0); + t3 = A._instanceType(t2); + t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")); + t3 = t3._rest[1]; + for (; t2.moveNext$0();) { + t4 = t2.__internal$_current; if (t4 == null) - t4 = t2._as(t4); + t4 = t3._as(t4); t5 = t4.__helices_view_order_inverse; if (t5 == null) { t5 = A.HelixGroup.prototype.get$helices_view_order_inverse.call(t4); @@ -135331,47 +134469,57 @@ t4 = t5; } else t4 = t5; - t5 = t4.$ti; - helices_view_order_inverse.addAll$1(0, new A.CopyOnWriteMap(t4._mapFactory, t4._map$_map, t5._eval$1("@<1>")._bind$1(t5._rest[1])._eval$1("CopyOnWriteMap<1,2>"))); + helices_view_order_inverse.addAll$1(0, new A.CopyOnWriteMap(t4._mapFactory, t4._map$_map, t4.$ti._eval$1("CopyOnWriteMap<1,2>"))); } - $.__app._readField$0().dispatch$1(A._$StrandsMoveStartSelectedStrands$_(address, false, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t3, t3))); + $.__app._readField$0().dispatch$1(A._$StrandsMoveStartSelectedStrands$_(address, false, A.BuiltMap_BuiltMap$of(helices_view_order_inverse, t1, t1))); } } }, handle_click_up$1(event_syn) { - var t1, t2, currently_moving, t3, _s5_ = "store"; + var t1, t2, currently_moving, t3, _s5_ = "store", _s6_ = "_state"; 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + currently_moving = true; + if (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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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) @@ -135385,8 +134533,10 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + strands_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); if (!B.JSArray_methods.contains$1(strands_selected, t1.get$strand())) @@ -135438,27 +134588,22 @@ t10 = t1.__interceptors$_current; if (t10 == null) t10 = t2._as(t10); - t11 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, "DesignMainStrandProps.helices"); + t11 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.helices"); t11 = t5._as(t11 == null ? _null : t11); t12 = t10.helix; t11 = t11._map$_map.$index(0, t12); t11.toString; - t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, "DesignMainStrandProps.groups"); + t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.groups"); t13 = t4._as(t13 == null ? _null : t13)._map$_map.$index(0, t11.group); t13.toString; geometry = t13.geometry; if (geometry == null) { - t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, "DesignMainStrandProps.geometry"); + t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.geometry"); geometry = t6._as(t13 == null ? _null : t13); } - t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStPrsi); + t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsi); t13 = t3._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMStPro); + t14 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPro); if (!A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12)) { t13 = t10._domain$__selectable_insertions; if (t13 == null) { @@ -135479,14 +134624,12 @@ t18 = A.design_main_strand_insertion___$DesignMainStrandInsertion$closure().call$0(); t19 = J.getInterceptor$x(t18); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStIse, t17); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMStPrsei); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsei); t20 = t9._as(t20 == null ? _null : t20)._set.contains$1(0, t17); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandInsertionProps.selected", t20); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandInsertionProps.helix", t11); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandInsertionProps.geometry", geometry); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, "DesignMainStrandProps.strand"); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.strand"); t20 = t8._as(t20 == null ? _null : t20); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandInsertionProps.color", t20.color); t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; @@ -135494,22 +134637,19 @@ t21.toString; t21 = t20.get$groups()._map$_map.$index(0, t21.group); t21.toString; - t20 = t20.get$geometry(t20); + t20 = t20.get$geometry(0); t22 = t21.position; t23 = t20.__nm_to_svg_pixels; t20 = t23 == null ? t20.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t20) : t23; translate_svg = A.Position3D_Position3D(t22.x * t20, t22.y * t20, t22.z * t20); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandInsertionProps.transform", "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t21.pitch) + ")"); - t21 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t21 = t21.get$props(t21).$index(0, string$.DesignMStPrh); + t21 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrh); t20 = t7._as(t21 == null ? _null : t21)._map$_map.$index(0, t16).y; J.$indexSet$ax(t19.get$props(t18), string$.DesignMStIsv, t20); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMStPrdi); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrdi); t20 = A._asBool(t20 == null ? _null : t20); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStId, t20); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMStPrr); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrr); t20 = A._asBool(t20 == null ? _null : t20); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStIr, t20); t17 = t17.insertion; @@ -135550,26 +134690,21 @@ t9 = t1.__interceptors$_current; if (t9 == null) t9 = t2._as(t9); - t10 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, "DesignMainStrandProps.helices"); + t10 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.helices"); t10 = t4._as(t10 == null ? _null : t10); t11 = t9.helix; t10 = t10._map$_map.$index(0, t11); t10.toString; - t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, string$.DesignMStPrsi); + t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsi); t12 = t3._as(t12 == null ? _null : t12); - t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStPro); + t13 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPro); if (!A._asBool(t13 == null ? _null : t13) || t12._set.contains$1(0, t11)) { - t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainStrandProps.groups"); + t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.groups"); t12 = t7._as(t12 == null ? _null : t12)._map$_map.$index(0, t10.group); t12.toString; geometry = t12.geometry; if (geometry == null) { - t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainStrandProps.geometry"); + t12 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.geometry"); geometry = t8._as(t12 == null ? _null : t12); } t12 = t9._domain$__selectable_deletions; @@ -135594,8 +134729,7 @@ J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDesea, t15); J.$indexSet$ax(t19.get$props(t18), "DesignMainStrandDeletionPropsMixin.helix", t10); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDeg, geometry); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMStPrsede); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrsede); t15 = t6._as(t20 == null ? _null : t20)._set.contains$1(0, t15); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDesee, t15); t15 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; @@ -135603,18 +134737,16 @@ t20.toString; t20 = t15.get$groups()._map$_map.$index(0, t20.group); t20.toString; - t15 = t15.get$geometry(t15); + t15 = t15.get$geometry(0); t21 = t20.position; t22 = t15.__nm_to_svg_pixels; t15 = t22 == null ? t15.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t15) : t22; translate_svg = A.Position3D_Position3D(t21.x * t15, t21.y * t15, t21.z * t15); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDet, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t20.pitch) + ")"); - t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t20 = t20.get$props(t20).$index(0, string$.DesignMStPrh); + t20 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrh); t15 = t5._as(t20 == null ? _null : t20)._map$_map.$index(0, t11).y; J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDesv, t15); - t15 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignMStPrr); + t15 = _this.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPrr); t15 = A._asBool(t15 == null ? _null : t15); J.$indexSet$ax(t19.get$props(t18), string$.DesignMStDer, t15); t19 = t19.get$props(t18); @@ -135641,7 +134773,9 @@ _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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_strands = t1.ui_state.selectables_store.get$selected_strands(); t1 = selected_strands._set; if (!t1.get$isEmpty(t1)) if (t1.get$length(t1) === 1) { @@ -135663,9 +134797,9 @@ 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")); + strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); } else - strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); + strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); } $.__app._readField$0().dispatch$1(A._$StrandsReflect$_(horizontal, reverse_polarity, A._BuiltList$of(strands, type$.Strand))); }, @@ -135676,12 +134810,14 @@ 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_strands = 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", + var t1, t2, t3, t4, t5, _this = this, _null = null, _s5_ = "store", _s6_ = "_state", _s17_ = "_cachedTypedProps"; type$.Strand._as(strand); type$.Domain._as(domain); @@ -135695,13 +134831,17 @@ 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) + t4 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + if (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 = t5.__Store__state_A; + t5 === $ && A.throwLateFieldNI(_s6_); + t5 = 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("SetBase.E")), new A.DesignMainStrandComponent_context_menu_strand_closure1())) { t5 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; t5 === $ && A.throwLateFieldNI(_s17_); t5 = t5.get$strand().vendor_fields == null; @@ -135710,8 +134850,10 @@ 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 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + t4 = 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("SetBase.E")), new A.DesignMainStrandComponent_context_menu_strand_closure2())) { t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; t4 === $ && A.throwLateFieldNI(_s17_); t4 = t4.get$strand().vendor_fields != null; @@ -135721,8 +134863,10 @@ 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 = t4.__Store__state_A; + t4 === $ && A.throwLateFieldNI(_s6_); + t4 = 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("SetBase.E")), new A.DesignMainStrandComponent_context_menu_strand_closure4())) { t4 = _this.___$DesignMainStrandComponent__cachedTypedProps_A; t4 === $ && A.throwLateFieldNI(_s17_); t4 = t4.get$strand().vendor_fields; @@ -135770,7 +134914,7 @@ ask_for_add_extension$1(strand) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), - $async$returnValue, $async$self = this, t1, t2, options, items, results, t3, is_5p, action; + $async$returnValue, $async$self = this, t1, t2, options, items, results, t3, action; var $async$ask_for_add_extension$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -135816,9 +134960,8 @@ break; } t3 = t2[t3]; - if (t3 === "3'") - is_5p = false; - else { + t2 = t3 === "3'"; + if (!t2) if (t3 !== "5'") { t1 = window; t1.toString; @@ -135827,12 +134970,10 @@ $async$goto = 1; break; } - is_5p = true; - } t1 = type$.DialogInteger._as(t1.$index(results, 1)); - t2 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; - t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - action = A.ExtensionAdd_ExtensionAdd(is_5p, t1.value, t2.get$strand()); + t3 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; + t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); + action = A.ExtensionAdd_ExtensionAdd(!t2, t1.value, t3.get$strand()); $.__app._readField$0().dispatch$1(action); case 1: // return @@ -135844,7 +134985,7 @@ 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); + return B.JSArray_methods.indexOf$1(A.List_List$of(options, true, A._instanceType(options)._eval$1("SetBase.E")), vendor_option); else if (default_index) return 1; else @@ -135926,8 +135067,10 @@ // 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")); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); if (all_strands.length === 0) { t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -136046,8 +135189,10 @@ // 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")); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); if (all_strands.length === 0) { t1 = $async$self.___$DesignMainStrandComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -136131,8 +135276,10 @@ 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")); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); if (all_strands.length === 0) { t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -136153,8 +135300,10 @@ 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")); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_strands()._set; + all_strands = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); if (all_strands.length === 0) { t1 = this.___$DesignMainStrandComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -136239,7 +135388,7 @@ } t2 = type$.DialogText._as(J.$index$asx(results, 0)); t3 = A._instanceType(t1); - $async$returnValue = $.__app._readField$0().dispatch$1(A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t3._eval$1("UndoableAction(SetMixin.E)")._as(domains.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainStrandComponent_ask_for_domain_names_closure(t2.value))), t3._eval$1("EfficientLengthMappedIterable")), "set domain names")); + $async$returnValue = $.__app._readField$0().dispatch$1(A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t3._eval$1("UndoableAction(SetBase.E)")._as(domains.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainStrandComponent_ask_for_domain_names_closure(t2.value))), t3._eval$1("EfficientLengthMappedIterable")), "set domain names")); // goto return $async$goto = 1; break; @@ -136255,7 +135404,7 @@ call$2(i, p) { return new A.MapEntry(A._asInt(i), type$.Point_double._as(p).y, type$.MapEntry_int_double); }, - $signature: 129 + $signature: 128 }; A.DesignMainStrandComponent_assign_dna_closure.prototype = { call$0() { @@ -136263,8 +135412,7 @@ 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"); + t1 = t1.___$DesignMainStrandComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandProps.dna_assign_options"); if (t1 == null) t1 = null; return A.ask_for_assign_dna_sequence(t2, type$.DNAAssignOptions._as(t1)); @@ -136289,7 +135437,9 @@ 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()); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + return t1.ask_for_strand_name$2(t2, t3.ui_state.selectables_store.get$selected_strands()); }, $signature: 5 }; @@ -136301,7 +135451,9 @@ 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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + return A.ask_for_label(t1, null, t2.ui_state.selectables_store.get$selected_strands(), type$.Strand); }, $signature: 5 }; @@ -136327,22 +135479,23 @@ 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()); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + return A.ask_for_remove_dna_sequence(t1, t2.ui_state.selectables_store.get$selected_strands()); }, $signature: 5 }; A.DesignMainStrandComponent_reflect_closure.prototype = { call$1(b) { - var t1, t2; + var t1; 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()); - !$.$get$isSoundMode() && !t2._is(null); + t1 = b.$ti._precomputed1._as(t1.get$strand()); + $.$get$isSoundMode(); return b.get$_safeSet().add$1(0, t1); }, - $signature: 100 + $signature: 93 }; A.DesignMainStrandComponent_context_menu_strand_closure.prototype = { call$0() { @@ -136359,7 +135512,9 @@ t1 = t1.get$strand(); t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI("store"); - t2 = t2.get$state(t2).get$design().strands; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = t2.get$design().strands; message_js_commands = A.LinkedHashMap_LinkedHashMap$_literal(["message", "iframe_drop", "files", A._setArrayType([A.Blob_Blob(["let base = systems[0].strands[" + B.JSArray_methods.indexOf$2(t2._list, t2.$ti._precomputed1._as(t1), 0) + "].getMonomers()[" + A.clicked_strand_dna_idx(this.domain, this.address, t1) + "];\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"); @@ -136446,7 +135601,9 @@ 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")); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + return t1.dispatch$1(A.batch_if_multiple_selected(new A.DesignMainStrandComponent_context_menu_strand__closure3(), t2, t3.ui_state.selectables_store.get$selected_strands(), "remove strand name")); }, $signature: 0 }; @@ -136454,28 +135611,34 @@ call$1(strand) { return A._$StrandNameSet$_(null, strand); }, - $signature: 136 + $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)); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + return this.$this.set_domain_names$1(A.add_if_not_null(t1.ui_state.selectables_store.get$selected_domains(), this.domain, type$.Domain)); }, $signature: 0 }; A.DesignMainStrandComponent_context_menu_strand_closure11.prototype = { call$0() { - var domains_selected, action, strands_selected, _s5_ = "store", + var domains_selected, action, strands_selected, _s5_ = "store", _s6_ = "_state", 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()) { + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (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")); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.ui_state.selectables_store.get$selected_domains()._set; + domains_selected = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); if (!B.JSArray_methods.contains$1(domains_selected, t2)) B.JSArray_methods.add$1(domains_selected, t2); action = A.AssignDomainNameComplementFromBoundDomains_AssignDomainNameComplementFromBoundDomains(domains_selected); @@ -136483,8 +135646,10 @@ } 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.selectables_store.get$selected_strands()._set; + strands_selected = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("SetBase.E")); t2 = t1.___$DesignMainStrandComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); if (!B.JSArray_methods.contains$1(strands_selected, t2.get$strand())) @@ -136501,13 +135666,15 @@ var t2, domains, t3, action, t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); t2 = this.domain; - domains = A.add_if_not_null(t1.get$state(t1).ui_state.selectables_store.get$selected_domains(), t2, type$.Domain); + domains = A.add_if_not_null(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(domains.$ti._eval$1("SubstrandNameSet(1)")._as(new A.DesignMainStrandComponent_context_menu_strand__closure2())), t3), true, t3._eval$1("Iterable.E")), "remove domain names"); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + action = A.BatchAction_BatchAction(A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("SubstrandNameSet(SetBase.E)")._as(domains.$ti._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); @@ -136518,7 +135685,7 @@ call$1(d) { return A._$SubstrandNameSet$_(null, type$.Domain._as(d)); }, - $signature: 137 + $signature: 136 }; A.DesignMainStrandComponent_context_menu_strand_closure13.prototype = { call$0() { @@ -136529,7 +135696,9 @@ 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")); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + return t1.dispatch$1(A.batch_if_multiple_selected(new A.DesignMainStrandComponent_context_menu_strand__closure1(), t2, t3.ui_state.selectables_store.get$selected_strands(), "remove strand label")); }, $signature: 0 }; @@ -136537,7 +135706,7 @@ call$1(strand) { return A._$StrandLabelSet$_(null, strand); }, - $signature: 138 + $signature: 137 }; A.DesignMainStrandComponent_context_menu_strand_closure14.prototype = { call$0() { @@ -136550,13 +135719,15 @@ var t2, domains, t3, action, t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); t2 = this.domain; - domains = A.add_if_not_null(t1.get$state(t1).ui_state.selectables_store.get$selected_domains(), t2, type$.Domain); + domains = A.add_if_not_null(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(domains.$ti._eval$1("SubstrandLabelSet(1)")._as(new A.DesignMainStrandComponent_context_menu_strand__closure0())), t3), true, t3._eval$1("Iterable.E")), "remove domain labels"); + t3 = t2._eval$1("EfficientLengthMappedIterable"); + action = A.BatchAction_BatchAction(A.List_List$of(new A.EfficientLengthMappedIterable(t1, t2._eval$1("SubstrandLabelSet(SetBase.E)")._as(domains.$ti._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); @@ -136567,7 +135738,7 @@ call$1(d) { return A._$SubstrandLabelSet$_(null, type$.Domain._as(d)); }, - $signature: 465 + $signature: 463 }; A.DesignMainStrandComponent_context_menu_strand_closure16.prototype = { call$0() { @@ -136703,66 +135874,65 @@ call$1(d) { return A._$SubstrandNameSet$_(this.name, type$.Domain._as(d)); }, - $signature: 137 + $signature: 136 }; A.ask_for_label_closure.prototype = { call$1(s) { return A._$SubstrandLabelSet$_(this.label, type$.Substrand._as(s)); }, - $signature: 466 + $signature: 464 }; A.batch_if_multiple_selected_closure.prototype = { call$1(b) { - var t1, t2; + var t1; type$.SetBuilder_Strand._as(b); - t1 = b.$ti._precomputed1; - t2 = t1._as(this.strand); - !$.$get$isSoundMode() && !t1._is(null); - return b.get$_safeSet().add$1(0, t2); + t1 = b.$ti._precomputed1._as(this.strand); + $.$get$isSoundMode(); + return b.get$_safeSet().add$1(0, t1); }, - $signature: 100 + $signature: 93 }; A.get_selected_domains_closure.prototype = { call$1(s) { return type$.Strand._as(s).get$domains(); }, - $signature: 467 + $signature: 465 }; A.get_selected_domains_closure0.prototype = { call$1(l) { return type$.BuiltList_Domain._as(l); }, - $signature: 468 + $signature: 466 }; A.scaffold_set_strand_action_creator_closure.prototype = { call$1(strand) { return A._$ScaffoldSet$_(this.is_scaffold, strand); }, - $signature: 469 + $signature: 467 }; A.remove_dna_strand_action_creator_closure.prototype = { call$1(strand) { return A._$RemoveDNA$_(this.remove_all, this.remove_complements, strand); }, - $signature: 470 + $signature: 468 }; A.name_set_strand_action_creator_closure.prototype = { call$1(strand) { return A._$StrandNameSet$_(this.name, strand); }, - $signature: 136 + $signature: 135 }; A.label_set_strand_action_creator_closure.prototype = { call$1(strand) { return A._$StrandLabelSet$_(this.label, strand); }, - $signature: 138 + $signature: 137 }; A.$DesignMainStrandComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainStrandComponent(null); }, - $signature: 471 + $signature: 469 }; A._$$DesignMainStrandProps.prototype = { get$$$isClassGenerated() { @@ -136798,7 +135968,7 @@ return "DesignMainStrand"; }, get$$$defaultConsumedProps() { - return B.Map_urwdf.get$values(B.Map_urwdf); + return B.Map_c0ibp.get$values(B.Map_c0ibp); } }; A.$DesignMainStrandProps.prototype = { @@ -136883,8 +136053,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandAndDomainTextsComponent.prototype = { @@ -136961,13 +136131,11 @@ 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); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAst_n); t4.set$font_size(A._asDouble(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$geometry(t4, _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$geometry(0)); 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()); @@ -137009,13 +136177,11 @@ 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); + t6 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAst_l); t4.set$font_size(A._asDouble(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$geometry(t4, _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$geometry(0)); 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()); @@ -137053,28 +136219,22 @@ t11 = t1.__interceptors$_current; if (t11 == null) t11 = t2._as(t11); - if (t11 instanceof A.Domain) { + if (t11 instanceof A._$Domain) { t12 = t11.helix; - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s60_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t13 = t3._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s65_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); if ((!A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12)) && t11.name != null) { - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStAhc); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAhc); t13 = t10._as(t13 == null ? _null : t13)._map$_map.$index(0, t12); t13.toString; - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMStAhx); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAhx); t14 = t9._as(t14 == null ? _null : t14)._map$_map.$index(0, t12); t14.toString; - t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s44_); + t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t15 == null ? _null : t15) ? 1 : 0; t15 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t16 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s42_); + t16 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t16 = t5._as(t16 == null ? _null : t16); t17 = J.getInterceptor$x(t15); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.strand", t16); @@ -137085,16 +136245,13 @@ J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDon, num_stacked); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDocs, "domain-name"); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.helix", t13); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStAgr); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAgr); t11 = t8._as(t8._as(t13 == null ? _null : t13)); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDohg, t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s44_0); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t11 = t4._as(t11 == null ? _null : t11); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.geometry", t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s57_); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t11 = A._asDouble(t11 == null ? _null : t11); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDof, t11); t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; @@ -137102,7 +136259,7 @@ t12.toString; t12 = t11.get$groups()._map$_map.$index(0, t12.group); t12.toString; - t11 = t11.get$geometry(t11); + t11 = t11.get$geometry(0); t13 = t12.position; t16 = t11.__nm_to_svg_pixels; t11 = t16 == null ? t11.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t16; @@ -137115,33 +136272,28 @@ J.$indexSet$ax(t17, "key", "domain-name-" + i); B.JSArray_methods.add$1(names, t15.call$0()); } - } else if (t11 instanceof A.Loopout) { - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s42_); + } else if (t11 instanceof A._$Loopout) { + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t13 = i - 1; t12 = t5._as(t12 == null ? _null : t12).substrands._list; if (!(t13 >= 0 && t13 < t12.length)) return A.ioore(t12, t13); prev_domain = t6._as(t12[t13]); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s42_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t12 = i + 1; t13 = t5._as(t13 == null ? _null : t13).substrands._list; if (!(t12 < t13.length)) return A.ioore(t13, t12); next_domain = t6._as(t13[t12]); - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s60_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t12 = t3._as(t12 == null ? _null : t12); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s65_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); t13 = A._asBool(t13 == null ? _null : t13); if (!t13 || t12._set.contains$1(0, prev_domain.helix)) draw_loopout = !t13 || t12._set.contains$1(0, next_domain.helix); else draw_loopout = false; - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s44_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t12 == null ? _null : t12) ? 1 : 0; if (draw_loopout && t11.name != null) { t12 = A.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure().call$0(); @@ -137153,12 +136305,10 @@ J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLnu, num_stacked); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLp, prev_domain); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLne, next_domain); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s44_0); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t11 = t4._as(t11 == null ? _null : t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLg, t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s57_); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t11 = A._asDouble(t11 == null ? _null : t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLf, t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLc, "loopout-name"); @@ -137166,16 +136316,13 @@ J.$indexSet$ax(t13, "key", "loopout-name-" + i); B.JSArray_methods.add$1(names, t12.call$0()); } - } else if (t11 instanceof A.Extension) { + } else if (t11 instanceof A._$Extension) { t12 = t11.adjacent_domain; - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s60_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t13 = t3._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s65_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); draw_ext = !A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12.helix); - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s44_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t12 == null ? _null : t12) ? 1 : 0; if (draw_ext && t11.name != null) { t12 = A.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure().call$0(); @@ -137185,12 +136332,10 @@ t11.toString; J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandExtensionTextProps.text", t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEn, num_stacked); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s44_0); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t11 = t4._as(t11 == null ? _null : t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEg, t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s57_); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t11 = A._asDouble(t11 == null ? _null : t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEf, t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEc, "loopout-label"); @@ -137234,32 +136379,25 @@ t11 = t1.__interceptors$_current; if (t11 == null) t11 = t2._as(t11); - if (t11 instanceof A.Domain) { + if (t11 instanceof A._$Domain) { t12 = t11.helix; - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s60_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t13 = t3._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s65_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); if ((!A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12)) && t11.label != null) { - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStAhc); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAhc); t13 = t10._as(t13 == null ? _null : t13)._map$_map.$index(0, t12); t13.toString; - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, string$.DesignMStAhx); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAhx); t14 = t9._as(t14 == null ? _null : t14)._map$_map.$index(0, t12); t14.toString; - t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s44_); + t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t15 == null ? _null : t15) ? 1 : 0; - t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s53_); + t15 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s53_); if (A._asBool(t15 == null ? _null : t15)) ++num_stacked; t15 = A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure().call$0(); - t16 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s42_); + t16 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t16 = t5._as(t16 == null ? _null : t16); t17 = J.getInterceptor$x(t15); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.strand", t16); @@ -137270,16 +136408,13 @@ J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDon, num_stacked); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDocs, _s12_); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.helix", t13); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignMStAgr); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStAgr); t11 = t8._as(t8._as(t13 == null ? _null : t13)); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDohg, t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s44_0); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t11 = t4._as(t11 == null ? _null : t11); J.$indexSet$ax(t17.get$props(t15), "DesignMainStrandDomainTextProps.geometry", t11); - t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s57_); + t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t11 = A._asDouble(t11 == null ? _null : t11); J.$indexSet$ax(t17.get$props(t15), string$.DesignMStDof, t11); t11 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; @@ -137287,7 +136422,7 @@ t12.toString; t12 = t11.get$groups()._map$_map.$index(0, t12.group); t12.toString; - t11 = t11.get$geometry(t11); + t11 = t11.get$geometry(0); t13 = t12.position; t16 = t11.__nm_to_svg_pixels; t11 = t16 == null ? t11.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t11) : t16; @@ -137301,36 +136436,30 @@ J.$indexSet$ax(t17, "key", "domain-label-" + i); B.JSArray_methods.add$1(names, t15.call$0()); } - } else if (t11 instanceof A.Loopout) { - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s42_); + } else if (t11 instanceof A._$Loopout) { + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t13 = i - 1; t12 = t5._as(t12 == null ? _null : t12).substrands._list; if (!(t13 >= 0 && t13 < t12.length)) return A.ioore(t12, t13); prev_domain = t6._as(t12[t13]); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s42_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t12 = i + 1; t13 = t5._as(t13 == null ? _null : t13).substrands._list; if (!(t12 < t13.length)) return A.ioore(t13, t12); next_domain = t6._as(t13[t12]); - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s60_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t12 = t3._as(t12 == null ? _null : t12); - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s65_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); t13 = A._asBool(t13 == null ? _null : t13); if (!t13 || t12._set.contains$1(0, prev_domain.helix)) draw_loopout = !t13 || t12._set.contains$1(0, next_domain.helix); else draw_loopout = false; - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s44_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t12 == null ? _null : t12) ? 1 : 0; - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s53_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s53_); if (A._asBool(t12 == null ? _null : t12)) ++num_stacked; if (draw_loopout && t11.label != null) { @@ -137340,12 +136469,10 @@ J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLnu, num_stacked); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLp, prev_domain); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLne, next_domain); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s44_0); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t14 = t4._as(t14 == null ? _null : t14); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLg, t14); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s57_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t14 = A._asDouble(t14 == null ? _null : t14); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStLf, t14); t11 = t11.label; @@ -137356,19 +136483,15 @@ J.$indexSet$ax(t13, "key", "loopout-label-" + i); B.JSArray_methods.add$1(names, t12.call$0()); } - } else if (t11 instanceof A.Extension) { + } else if (t11 instanceof A._$Extension) { t12 = t11.adjacent_domain; - t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s60_); + t13 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s60_); t13 = t3._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s65_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s65_); draw_ext = !A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12.helix); - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s44_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_); num_stacked = A._asBool(t12 == null ? _null : t12) ? 1 : 0; - t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s53_); + t12 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s53_); if (A._asBool(t12 == null ? _null : t12)) ++num_stacked; if (draw_ext && t11.label != null) { @@ -137376,12 +136499,10 @@ t13 = J.getInterceptor$x(t12); J.$indexSet$ax(t13.get$props(t12), "DesignMainStrandExtensionTextProps.ext", t11); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEn, num_stacked); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s44_0); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s44_0); t14 = t4._as(t14 == null ? _null : t14); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEg, t14); - t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s57_); + t14 = _this.___$DesignMainStrandAndDomainTextsComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t14 = A._asDouble(t14 == null ? _null : t14); J.$indexSet$ax(t13.get$props(t12), string$.DesignMStEf, t14); t11 = t11.label; @@ -137403,7 +136524,7 @@ call$0() { return new A._$DesignMainStrandAndDomainTextsComponent(null); }, - $signature: 472 + $signature: 470 }; A._$$DesignMainStrandAndDomainTextsProps.prototype = { get$$$isClassGenerated() { @@ -137439,7 +136560,7 @@ return "DesignMainStrandAndDomainTexts"; }, get$$$defaultConsumedProps() { - return B.Map_GFJAZ.get$values(B.Map_GFJAZ); + return B.Map_jR13F.get$values(B.Map_jR13F); } }; A.$DesignMainStrandAndDomainTextsProps.prototype = { @@ -137530,74 +136651,55 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandCreatingComponent.prototype = { render$0(_) { - var t2, t3, t4, t5, start_svg, end_svg, t6, t7, _this = this, _null = null, + var t2, start_svg, end_svg, t3, t4, t5, _this = this, _null = null, t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); t1 = t1.get$helix(); + t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandCreatingProps.start"); + start_svg = t1.svg_base_pos$4(A._asInt(t2 == null ? _null : t2), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y(), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$geometry(0)); + t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$helix(); + t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandCreatingProps.end"); + end_svg = t1.svg_base_pos$4(A._asInt(t2 == null ? _null : t2) - 1, _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y(), _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$geometry(0)); + t1 = A.SvgProps$($.$get$g(), _null); + t1.set$className(0, "strand-creating"); t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainStrandCreatingProps.start"); - t2 = A._asInt(t2 == null ? _null : t2); - t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t3 = t3.get$forward(t3); - t4 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y(); - t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - start_svg = t1.svg_base_pos$4(t2, t3, t4, t5.get$geometry(t5)); - t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$helix(); - t4 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "DesignMainStrandCreatingProps.end"); - t1 = A._asInt(t4 == null ? _null : t4); - t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t2 = t2.get$forward(t2); - t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$svg_position_y(); - t4 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - end_svg = t5.svg_base_pos$4(t1 - 1, t2, t3, t4.get$geometry(t4)); - t4 = A.SvgProps$($.$get$g(), _null); - t4.set$className(0, "strand-creating"); - t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t4.set$transform(0, A.transform_of_helix2(t3, t3.get$helix().idx, type$.DesignMainStrandCreatingProps)); - t3 = A.SvgProps$($.$get$line(), _null); - t2 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t2 = t2.get$color(t2).toHexColor$0(); - t3.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); - t3.set$x1(0, A.S(start_svg.x)); - t3.set$y1(0, A.S(start_svg.y)); - t3.set$x2(0, A.S(end_svg.x)); - t3.set$y2(0, A.S(end_svg.y)); - t3.set$className(0, "domain-line"); - t3 = t3.call$0(); - t2 = A.lib_5p_end___$End5Prime$closure().call$0(); - t2.set$classname("five-prime-end-first-substrand"); - t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t2.set$pos(t1.get$forward(t1) ? start_svg : end_svg); - t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t6 = J.getInterceptor$z(t2); - t6.set$color(t2, t5.get$color(t5)); - t5 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t6.set$forward(t2, t5.get$forward(t5)); + t1.set$transform(0, A.transform_of_helix2(t2, t2.get$helix().idx, type$.DesignMainStrandCreatingProps)); + t2 = A.SvgProps$($.$get$line(), _null); + t3 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$color(0).toHexColor$0(); + t2.set$stroke(0, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex()); + t2.set$x1(0, A.S(start_svg.x)); + t2.set$y1(0, A.S(start_svg.y)); + t2.set$x2(0, A.S(end_svg.x)); + t2.set$y2(0, A.S(end_svg.y)); + t2.set$className(0, "domain-line"); t2 = t2.call$0(); - t5 = A.lib_3p_end___$End3Prime$closure().call$0(); - t5.set$classname("three-prime-end-last-substrand"); - t1 = _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A; - t5.set$pos(t1.get$forward(t1) ? 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 t4.call$3(t3, t2, t5.call$0()); + t3 = A.lib_5p_end___$End5Prime$closure().call$0(); + t3.set$classname("five-prime-end-first-substrand"); + t3.set$pos(_this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0) ? start_svg : end_svg); + t4 = J.getInterceptor$z(t3); + t4.set$color(t3, _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$color(0)); + t4.set$forward(t3, _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0)); + t3 = t3.call$0(); + t4 = A.lib_3p_end___$End3Prime$closure().call$0(); + t4.set$classname("three-prime-end-last-substrand"); + t4.set$pos(_this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0) ? end_svg : start_svg); + t5 = J.getInterceptor$z(t4); + t5.set$color(t4, _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$color(0)); + t5.set$forward(t4, _this.___$DesignMainStrandCreatingComponent__cachedTypedProps_A.get$forward(0)); + return t1.call$3(t2, t3, t4.call$0()); } }; A.$DesignMainStrandCreatingComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainStrandCreatingComponent(null); }, - $signature: 473 + $signature: 471 }; A._$$DesignMainStrandCreatingProps.prototype = { get$$$isClassGenerated() { @@ -137633,7 +136735,7 @@ return "DesignMainStrandCreating"; }, get$$$defaultConsumedProps() { - return B.Map_Qcsav.get$values(B.Map_Qcsav); + return B.Map_6QQ8L.get$values(B.Map_6QQ8L); } }; A.$DesignMainStrandCreatingProps.prototype = { @@ -137696,8 +136798,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandCrossoverState.prototype = {$isMap: 1}; @@ -137708,16 +136810,14 @@ return t1; }, render$0(_) { - var strand, crossover, classname, within_group, t2, t3, t4, path, prev_geometry, t5, t6, t7, t8, prev_geometry0, next_geometry, start_svg, end_svg, vector_start_to_end, normal_vector, scaled_normal_vector, control, id, path_props, _this = this, + var strand, crossover, classname, within_group, path, t2, t3, prev_geometry, t4, t5, t6, t7, t8, prev_geometry0, next_geometry, 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"); + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandCrossoverProps.selected"); if (A._asBool(t1 == null ? null : t1)) { - t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMStCor); + t1 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStCor); classname = A._asBool(t1 == null ? null : t1) ? "crossover-curve selected" : "crossover-curve selected-pink"; } else classname = "crossover-curve"; @@ -137727,18 +136827,13 @@ classname += " crossover-curve-same-helix"; within_group = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain().helix).group === _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices()._map$_map.$index(0, _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain().helix).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 { + if (within_group) + path = A.crossover_path_description_within_group(t1.get$prev_domain(), _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain(), _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$helices(), _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$geometry(0), _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; - prev_geometry = t4.get$geometry(t4); + prev_geometry = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$geometry(0); t4 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$groups(); t5 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$prev_domain_helix_svg_position_y(); t6 = _this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A.get$next_domain_helix_svg_position_y(); @@ -137770,7 +136865,7 @@ t2 = t1.get$rHex(); t3 = t1.get$gHex(); t1 = t1.get$bHex(); - id = crossover.get$id(crossover); + id = crossover.get$id(0); path_props = A.SvgProps$($.$get$path(), null); path_props.set$d(0, path); path_props.set$stroke(0, "#" + t2 + t3 + t1); @@ -137790,8 +136885,7 @@ componentDidMount$0() { var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$crossover(); - t1 = t1.get$id(t1); + t1 = t1.get$crossover().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -137800,8 +136894,7 @@ componentWillUnmount$0() { var t1 = this.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$crossover(); - t1 = t1.get$id(t1); + t1 = t1.get$crossover().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -137882,7 +136975,9 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_crossovers = 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); @@ -137924,7 +137019,7 @@ }; A.DesignMainStrandCrossoverComponent_render_closure1.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; @@ -137932,26 +137027,32 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 + $signature: 19 }; A.DesignMainStrandCrossoverComponent_render_closure2.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandCrossoverComponent__cachedTypedProps_A; @@ -137959,28 +137060,34 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 + $signature: 19 }; A.$DesignMainStrandCrossoverComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainStrandCrossoverComponent(null); }, - $signature: 474 + $signature: 472 }; A._$$DesignMainStrandCrossoverProps.prototype = { get$$$isClassGenerated() { @@ -138041,7 +137148,7 @@ return "DesignMainStrandCrossover"; }, get$$$defaultConsumedProps() { - return B.Map_QcwHn.get$values(B.Map_QcwHn); + return B.Map_rL4QF.get$values(B.Map_rL4QF); } }; A.$DesignMainStrandCrossoverProps.prototype = { @@ -138110,35 +137217,29 @@ 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, + var geometry, domain, deletion_offset, t2, pos, width, half_width, t3, 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$geometry(t1); + geometry = t1.get$geometry(0); domain = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().domain; deletion_offset = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().offset; - t1 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignMainStrandDeletionPropsMixin.helix"); + t1 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandDeletionPropsMixin.helix"); if (t1 == null) t1 = _null; type$.Helix._as(t1); - t2 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDesv); - t2 = A._asNum(t2 == null ? _null : t2); - t3 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; - pos = t1.svg_base_pos$4(deletion_offset, domain.forward, t2, t3.get$geometry(t3)); + t2 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDesv); + pos = t1.svg_base_pos$4(deletion_offset, domain.forward, A._asNum(t2 == null ? _null : t2), _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$geometry(0)); width = 0.8 * geometry.get$base_width_svg(); half_width = 0.5 * width; - t3 = pos.x; + t1 = pos.x; t2 = pos.y; - t1 = A.S(width); + 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); + t5 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDesee); if (A._asBool(t5 == null ? _null : t5)) { - t5 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, string$.DesignMStDer); + t5 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDer); classname = A._asBool(t5 == null ? _null : t5) ? "deletion-group selected" : "deletion-group selected-pink"; } else classname = "deletion-group"; @@ -138150,12 +137251,11 @@ 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); + t8 = _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDet); t7.set$transform(0, A._asString(t8 == null ? _null : t8)); t8 = A.SvgProps$($.$get$rect(), _null); t8.set$className(0, "deletion-background"); - t8.set$x(0, t3 - background_width / 2); + 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); @@ -138165,17 +137265,16 @@ t9 = A.SvgProps$($.$get$path(), _null); t9.set$className(0, "deletion-cross"); t9.set$fill(0, "none"); - t9.set$d(0, "M " + A.S(t3 - half_width) + " " + A.S(t2 - half_width) + " l " + t1 + " " + t1 + " m " + t4 + " 0 l " + t1 + " " + t4); + 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$id(0, _this.___$DesignMainStrandDeletionComponent__cachedTypedProps_A.get$selectable_deletion().get$id(0)); t9.set$key(0, "deletion-H" + t5 + "-" + t6); return t7.call$2(t8, t9.call$0()); } }; A.DesignMainStrandDeletionComponent_render_closure.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; @@ -138183,26 +137282,32 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 + $signature: 19 }; A.DesignMainStrandDeletionComponent_render_closure0.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandDeletionComponent__cachedTypedProps_A; @@ -138210,22 +137315,28 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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 + $signature: 19 }; A.DesignMainStrandDeletionComponent_render_closure1.prototype = { call$1(_) { @@ -138233,7 +137344,9 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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; @@ -138249,7 +137362,9 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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; @@ -138263,7 +137378,7 @@ call$0() { return new A._$DesignMainStrandDeletionComponent(null); }, - $signature: 475 + $signature: 473 }; A._$$DesignMainStrandDeletionProps.prototype = { get$$$isClassGenerated() { @@ -138298,7 +137413,7 @@ return "DesignMainStrandDeletion"; }, get$$$defaultConsumedProps() { - return B.Map_AsKFk.get$values(B.Map_AsKFk); + return B.Map_Fmwnh.get$values(B.Map_Fmwnh); } }; A.$DesignMainStrandDeletionPropsMixin.prototype = { @@ -138324,14 +137439,14 @@ var t2, _this = this, t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t1.get$domain(t1) != null) { + if (t1.get$domain(0) != null) { t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; if (t1) { - t1 = t2.get$domain(t2); + t1 = t2.get$domain(0); t1 = t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end(); } else { - t1 = t2.get$domain(t2); + t1 = t2.get$domain(0); t1 = t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start(); } } else @@ -138342,10 +137457,9 @@ 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 && _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); - } else + if (t1.get$domain(0) != null) + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0).is_first && _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); + else t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); return t1; }, @@ -138353,30 +137467,26 @@ 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 && !_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); - } else + if (t1.get$domain(0) != null) + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0).is_last && !_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p(); + else t1 = !_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, t3, pos, color0, extension_attached_end_svg, rotation_degrees, ext, t4, _this = this, _null = null, + 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 (t1.get$is_5p()) classname = _this.get$is_first() && _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p() ? "five-prime-end-first-substrand" : "five-prime-end"; else classname = _this.get$is_last() && !_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"); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNAEndPropsMixin.selected"); if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMDNEr); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDNEr); classname = A._asBool(t1 == null ? _null : t1) ? classname + " selected" : classname + " selected-pink"; } - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignMainDNAEndPropsMixin.is_scaffold"); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNAEndPropsMixin.is_scaffold"); if (A._asBool(t1 == null ? _null : t1)) classname += " scaffold"; end_props = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p() ? A.lib_5p_end___$End5Prime$closure().call$0() : A.lib_3p_end___$End3Prime$closure().call$0(); @@ -138387,17 +137497,14 @@ t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$ext(); t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; if (t1 == null) { - domain = t2.get$domain(t2); + domain = t2.get$domain(0); $forward = domain.forward; if (_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 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p() ? domain.get$offset_5p() : domain.get$offset_3p(); - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(); - t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position(); - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - pos = t1.svg_base_pos$4(offset, $forward, t2.y, t3.get$geometry(t3)); + pos = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(offset, $forward, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); color0 = domain.color; if (color0 != null) color = color0; @@ -138408,12 +137515,8 @@ t1 = ext.adjacent_domain; $forward = t1.forward; dna_end = ext.get$dnaend_free(); - t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(); - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position(); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, t1, t2, t3.y, t4.get$geometry(t4)); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - pos = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, t4.get$geometry(t4)); + 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, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); + pos = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); rotation_degrees = A.compute_end_rotation(ext.display_angle, $forward, ext.is_5p); color0 = ext.color; if (color0 != null) @@ -138431,7 +137534,7 @@ 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$id_(dna_end.get$id(0)); 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()); @@ -138444,8 +137547,7 @@ 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$geometry(0, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); 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()); @@ -138455,8 +137557,7 @@ 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"); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDNAEndPropsMixin.transform"); t2.set$transform(0, A._asString(t1 == null ? _null : t1)); return t2.call$3(end_props.call$0(), end_moving_props.call$0(), extension_end_moving_props.call$0()); }, @@ -138465,29 +137566,21 @@ t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); if (t1.get$is_5p()) { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$domain(t1); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); 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); - } + t1 = t2.get$domain(0); + id = (t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end()).get$id(0); + } else + id = t2.get$ext().get$dnaend_free().get$id(0); } else { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$domain(t1); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); 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 = t2.get$domain(0); + id = (t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start()).get$id(0); + } else + id = t2.get$ext().get$dnaend_free().get$id(0); } t1 = document.querySelector("#" + id); t1.toString; @@ -138498,29 +137591,21 @@ t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); if (t1.get$is_5p()) { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$domain(t1); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); 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); - } + t1 = t2.get$domain(0); + id = (t1.forward ? t1.get$dnaend_start() : t1.get$dnaend_end()).get$id(0); + } else + id = t2.get$ext().get$dnaend_free().get$id(0); } else { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - t1 = t1.get$domain(t1); + t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); 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 = t2.get$domain(0); + id = (t1.forward ? t1.get$dnaend_end() : t1.get$dnaend_start()).get$id(0); + } else + id = t2.get$ext().get$dnaend_free().get$id(0); } t1 = document.querySelector("#" + id); t1.toString; @@ -138542,7 +137627,7 @@ if (t1 != null) domain = t2.get$ext().adjacent_domain; else { - t1 = t2.get$domain(t2); + t1 = t2.get$domain(0); t1.toString; domain = t1; } @@ -138559,15 +137644,19 @@ } }, handle_end_click_select_and_or_move_start$1(event_synthetic) { - var t1, t2, t3, $event, t4, t5, extension_attached_end_svg, pos, _this = this; + var t1, t2, t3, $event, 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = 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)) { @@ -138595,15 +137684,7 @@ return; _this.get$dna_end().handle_selection_mouse_down$1($event); t2 = t1.adjacent_domain; - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position(); - t5 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - extension_attached_end_svg = A.compute_extension_attached_end_svg(t1, t2, t3, t4.y, t5.get$geometry(t5)); - t5 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - extension_attached_end_svg = extension_attached_end_svg.$add(0, t5.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)); + pos = A.compute_extension_free_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, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)).$add(0, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group().translation$1(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0))), t1, t2, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); $.__app._readField$0().dispatch$1(A._$DNAExtensionsMoveStart$_(_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(), pos)); } } @@ -138614,10 +137695,14 @@ 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + t2 = 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)) { @@ -138630,7 +137715,7 @@ } }, handle_end_click_ligate_or_potential_crossover$1($event) { - var t1, domain, offset, t2, t3, t4, start_point_untransformed, 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", + var t1, t2, domain, 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, _this = this, _s5_ = "store", _s6_ = "_state", _s25_ = "domain should not be null"; if (!J.$eq$(J.get$button$x(J.get$nativeEvent$x(type$.SyntheticMouseEvent._as($event))), 0)) return; @@ -138640,27 +137725,25 @@ 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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t2 = false; + if (t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) if (!_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover()) t1 = _this.get$is_first() || _this.get$is_last(); else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; if (t1) { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - domain = t1.get$domain(t1); + domain = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); if (domain == null) throw A.wrapException(A.AssertionError$(_s25_)); offset = _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; - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position(); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - start_point_untransformed = t1.svg_base_pos$4(offset, t2, t3.y, t4.get$geometry(t4)); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - start_point = t4.transform_point_main_view$2(start_point_untransformed, t3.get$geometry(t3)); + start_point_untransformed = t1.svg_base_pos$4(offset, t2, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); + start_point = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group().transform_point_main_view$2(start_point_untransformed, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); 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); @@ -138668,16 +137751,18 @@ } 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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t2 = false; + if (t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) if (!_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover()) t1 = !(_this.get$is_first() || _this.get$is_last()); else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; if (t1) { - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - domain = t1.get$domain(t1); + domain = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$domain(0); if (domain == null) throw A.wrapException(A.AssertionError$(_s25_)); t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand().get$domains(); @@ -138713,34 +137798,35 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$helix_idx_to_svg_position_map()._map$_map.$index(0, other_helix_idx); t1.toString; - t2 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix(); - t3 = other_domain.forward; - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - start_point_untransformed = t2.svg_base_pos$4(other_offset, t3, t1.y, t4.get$geometry(t4)); - t4 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group(); - t1 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A; - start_point = t4.transform_point_main_view$2(start_point_untransformed, t1.get$geometry(t1)); - address = A._$Address$_(t3, other_helix_idx, other_offset); - t3 = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$strand_color().toHexColor$0(); - potential_crossover = A.PotentialCrossover_PotentialCrossover(address, "#" + t3.get$rHex() + t3.get$gHex() + t3.get$bHex(), start_point, other_end, linker, start_point); + t2 = other_domain.forward; + start_point_untransformed = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(other_offset, t2, t1.y, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); + start_point = _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$group().transform_point_main_view$2(start_point_untransformed, _this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$geometry(0)); + 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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t2 = false; + if (t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_pencil)) if (_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$drawing_potential_crossover()) t1 = _this.get$is_first() || _this.get$is_last(); else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; 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 === $ && A.throwLateFieldNI(_s6_); t1.toString; t2 = t1.dna_end_first_click; if (_this.___$DesignMainDNAEndComponent__cachedTypedProps_A.get$is_5p() === t2.is_5p) @@ -138757,7 +137843,9 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_ligate)) t1 = _this.get$is_first() || _this.get$is_last(); else t1 = false; @@ -138772,7 +137860,9 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.storables.show_mouseover_data) $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); }, handle_on_mouse_enter$1($event) { @@ -138794,7 +137884,7 @@ call$0() { return new A._$DesignMainDNAEndComponent(null); }, - $signature: 476 + $signature: 474 }; A._$$DesignMainDNAEndProps.prototype = { get$$$isClassGenerated() { @@ -138829,7 +137919,7 @@ return "DesignMainDNAEnd"; }, get$$$defaultConsumedProps() { - return B.Map_EQcin.get$values(B.Map_EQcin); + return B.Map_EMiZu.get$values(B.Map_EMiZu); } }; A.$DesignMainDNAEndPropsMixin.prototype = { @@ -138929,7 +138019,7 @@ 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$color(t1, props.get$color(0)); 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()); @@ -138937,9 +138027,9 @@ t2.set$transform(t1, null); return t1; }, - $signature: 477 + $signature: 475 }; - A.EndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EndMovingProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.EndMovingComponent.prototype = { get$defaultProps(_) { var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); @@ -138951,34 +138041,28 @@ var t2, t3, t4, t5, t6, t7, 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"); + t1 = t1.get$props(0).$index(0, "EndMovingProps.render"); if (!A._asBool(t1 == null ? _null : t1)) return _null; - t1 = _this.___$EndMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "EndMovingProps.helix"); + t1 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$EndMovingComponent__cachedTypedProps_A.get$color(0); t6.toString; - t7 = _this.___$EndMovingComponent__cachedTypedProps_A; - t7 = t7.get$props(t7).$index(0, "EndMovingProps.geometry"); + t7 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "EndMovingProps.geometry"); if (t7 == null) t7 = _null; type$.nullable_Geometry._as(t7); @@ -138986,17 +138070,13 @@ pos = t1.svg_base_pos$4(t2, t3, t4, t7); 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"); + t2 = _this.___$EndMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "EndMovingProps.allowable"); end_props.set$classname(t1 + (A._asBool(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)); - } + if (_this.___$EndMovingComponent__cachedTypedProps_A.get$transform(0) != null) + end_props.set$transform(0, _this.___$EndMovingComponent__cachedTypedProps_A.get$transform(0)); return end_props.call$0(); } }; @@ -139004,7 +138084,7 @@ call$0() { return new A._$EndMovingComponent(null); }, - $signature: 478 + $signature: 476 }; A._$$EndMovingProps.prototype = { get$$$isClassGenerated() { @@ -139042,7 +138122,7 @@ return "EndMoving"; }, get$$$defaultConsumedProps() { - return B.Map_2Ni2M.get$values(B.Map_2Ni2M); + return B.Map_hqynv.get$values(B.Map_hqynv); } }; A.$EndMovingProps.prototype = { @@ -139126,45 +138206,43 @@ 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)); + t2.set$geometry(t1, props.get$geometry(0)); 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$color(t1, props.get$color(0)); 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: 479 + $signature: 477 }; - A.ExtensionEndMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.ExtensionEndMovingProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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); + t1.get$props(0).$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"); + t1 = t1.get$props(0).$index(0, "ExtensionEndMovingProps.render"); if (!A._asBool(t1 == null ? _null : t1)) return _null; - t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "ExtensionEndMovingProps.current_point"); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$geometry(0); t3.toString; pos = t1.$sub(0, t2.translation$1(t3)); t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$is_5p(); @@ -139173,16 +138251,13 @@ 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"); + t2 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "ExtensionEndMovingProps.allowable"); end_props.set$classname(t1 + (A._asBool(t2 == null ? _null : t2) ? "" : " disallowed-end")); end_props.set$pos(pos); - t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; - t1 = t1.get$color(t1); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$color(0); t1.toString; end_props.set$color(0, t1); - t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A; - t1 = t1.get$forward(t1); + t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$forward(0); t1.toString; end_props.set$forward(0, t1); t1 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$attached_end_svg(); @@ -139190,12 +138265,10 @@ 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 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$geometry(0); 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 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$forward(0); t5.toString; t4 = _this.___$ExtensionEndMovingComponent__cachedTypedProps_A.get$is_5p(); t4.toString; @@ -139207,7 +138280,7 @@ call$0() { return new A._$ExtensionEndMovingComponent(null); }, - $signature: 480 + $signature: 478 }; A._$$ExtensionEndMovingProps.prototype = { get$$$isClassGenerated() { @@ -139245,7 +138318,7 @@ return "ExtensionEndMoving"; }, get$$$defaultConsumedProps() { - return B.Map_HYJmU.get$values(B.Map_HYJmU); + return B.Map_AOoSr.get$values(B.Map_AOoSr); } }; A.$ExtensionEndMovingProps.prototype = { @@ -139327,102 +138400,100 @@ }; A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps.prototype = {}; A.__$$ExtensionEndMovingProps_UiProps_ExtensionEndMovingProps_$ExtensionEndMovingProps.prototype = {}; - A.DesignMainDomainProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainDomainProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainDomainComponent.prototype = { render$0(_) { - var domain, id, t2, t3, t4, t5, start_svg, end_svg, classname, color, t6, t7, _this = this, _null = null, + var domain, id, start_svg, end_svg, t2, classname, color, t3, t4, t5, t6, t7, _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; - t4 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position(); - t5 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - start_svg = t1.svg_base_pos$4(t2, t3, t4.y, t5.get$geometry(t5)); - t5 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix(); - t4 = domain.get$offset_3p(); - t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position(); - t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - end_svg = t5.svg_base_pos$4(t4, t3, t2.y, t1.get$geometry(t1)); - t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignMainDomainProps.selected"); - if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMDoPr); - classname = A._asBool(t1 == null ? _null : t1) ? "domain-line selected" : "domain-line selected-pink"; + domain = t1.get$domain(0); + id = domain.get$id(0); + t1 = domain.forward; + start_svg = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(domain.get$offset_5p(), t1, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$geometry(0)); + end_svg = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(domain.get$offset_3p(), t1, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$geometry(0)); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainProps.selected"); + if (A._asBool(t2 == null ? _null : t2)) { + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMDoPr); + classname = A._asBool(t2 == null ? _null : t2) ? "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; + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainProps.strand_color"); + if (t2 == null) + t2 = _null; + type$.Color._as(t2); + color = t2; } - 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._asString(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"; + t2 = A.SvgProps$($.$get$line(), _null); + t2.set$className(0, classname); + t2.set$onClick(0, _this.get$_handle_click_for_nick_insertion_deletion()); + t2.set$onMouseLeave(0, new A.DesignMainDomainComponent_render_closure()); + t2.set$onMouseEnter(0, new A.DesignMainDomainComponent_render_closure0(_this)); + t2.set$onMouseMove(0, new A.DesignMainDomainComponent_render_closure1(_this)); + 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.___$DesignMainDomainComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainProps.transform"); + t2.set$transform(0, A._asString(t3 == null ? _null : t3)); + t2.set$x1(0, A.S(start_svg.x)); + t2.set$y1(0, A.S(start_svg.y)); + t2.set$x2(0, A.S(end_svg.x)); + t2.set$y2(0, A.S(end_svg.y)); + t2.set$id(0, id); + t2.set$key(0, id); + t3 = A.SvgProps$($.$get$title(), _null); + t1 = t1 ? "forward" : "reverse"; t4 = domain.dna_length$0(); t5 = domain.name; t5 = t5 == null ? "" : "\n name=" + t5; t6 = domain.label; t6 = t6 == null ? "" : "\n label=" + t6; - t7 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - t7 = t7.get$props(t7).$index(0, "DesignMainDomainProps.strand_tooltip"); - return t1.call$1(t2.call$1(t3 + " domain:\n length=" + t4 + "\n helix=" + domain.helix + "\n start=" + domain.start + "\n end=" + domain.end + t5 + t6 + "\n" + A._asString(t7 == null ? _null : t7))); + t7 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainDomainProps.strand_tooltip"); + return t2.call$1(t3.call$1(t1 + " domain:\n length=" + t4 + "\n helix=" + domain.helix + "\n start=" + domain.start + "\n end=" + domain.end + t5 + t6 + "\n" + A._asString(t7 == null ? _null : t7))); }, _handle_click_for_nick_insertion_deletion$1(event_syn) { - var t1, domain, $event, t2, offset, all_helices, _this = this, _s5_ = "store"; + var t1, t2, domain, $event, offset, all_helices, _this = this, _s5_ = "store", _s6_ = "_state"; 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t2 = true; + if (!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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.ui_state.storables.edit_modes._set.contains$1(0, B.EditModeChoice_deletion); } else - t1 = true; + t1 = t2; } else - t1 = true; + t1 = t2; if (t1) { t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - domain = t1.get$domain(t1); + domain = t1.get$domain(0); $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._map$_map.$index(0, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().group); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + t1 = t1.get$design().groups._map$_map.$index(0, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().group); t1.toString; t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI(_s5_); - t2 = t2.get$state(t2).get$design(); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.get$design(); offset = A.get_address_on_helix($event, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix(), t1, t2.geometry, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()).offset; t1 = domain.start; if (offset <= t1 || offset >= domain.end) @@ -139437,112 +138508,128 @@ all_helices = true; 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)) { + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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)) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI(_s6_); + if (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 t2, t3, t4, t5, address, view_order_inverse, _this = this, _s5_ = "store", + var t2, address, view_order_inverse, _this = this, _s5_ = "store", _s6_ = "_state", $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))), t1 = $event.button; t1.toString; if (t1 === 0) { t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$domain(t1); + t1 = t1.get$domain(0); 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t1 = 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; - view_order_inverse = t5.group_of_helix_idx$1(t4.get$domain(t4).helix).get$helices_view_order_inverse(); + _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$domain(0).handle_selection_mouse_down$1($event); + t1 = type$.int; + t2 = type$.Point_double; + address = A.find_closest_address($event, A._setArrayType([_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix()], type$.JSArray_Helix), _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$groups(), _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$geometry(0), A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().idx, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()], t1, t2), t1, t2)); + t2 = $.__app._readField$0().__App_store_F; + t2 === $ && A.throwLateFieldNI(_s5_); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + view_order_inverse = t2.get$design().group_of_helix_idx$1(_this.___$DesignMainDomainComponent__cachedTypedProps_A.get$domain(0).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"; + var t1, t2, currently_moving, t3, _s5_ = "store", _s6_ = "_state"; 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + currently_moving = true; + if (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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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); + t2 = t2.get$domain(0); 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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))); - } + if (t2 && !currently_moving) + this.___$DesignMainDomainComponent__cachedTypedProps_A.get$domain(0).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 = t1.get$domain(0).get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -139550,15 +138637,14 @@ componentWillUnmount$0() { var t1 = this.___$DesignMainDomainComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$domain(t1); - t1 = t1.get$id(t1); + t1 = t1.get$domain(0).get$id(0); 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; + var t1, t2, address, items, t3, _this = this; ev = type$.MouseEvent._as(type$.Event._as(ev)); t1 = ev.shiftKey; t1.toString; @@ -139570,18 +138656,15 @@ t1 = t1.get$helix(); t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$groups()._map$_map.$index(0, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix().group); t2.toString; - t3 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - address = A.get_address_on_helix(ev, t1, t2, t3.get$geometry(t3), _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()); - t3 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - t2 = t3.get$strand(); - t1 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; - items = A._BuiltList$of(t3.context_menu_strand$3$address$domain(t2, address, t1.get$domain(t1)), type$.ContextMenuItem); - t1 = $.__app._readField$0(); - t2 = ev.pageX; - t2.toString; + address = A.get_address_on_helix(ev, t1, t2, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$geometry(0), _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$helix_svg_position()); + t2 = _this.___$DesignMainDomainComponent__cachedTypedProps_A; + items = A._BuiltList$of(t2.context_menu_strand$3$address$domain(t2.get$strand(), address, _this.___$DesignMainDomainComponent__cachedTypedProps_A.get$domain(0)), type$.ContextMenuItem); + t2 = $.__app._readField$0(); + t1 = ev.pageX; + t1.toString; t3 = ev.pageY; t3.toString; - t1.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(items, A.from_point_num(new A.Point(t2, t3, type$.Point_num))))); + t2.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(items, A.from_point_num(new A.Point(t1, t3, type$.Point_num))))); } } }; @@ -139591,7 +138674,9 @@ 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) + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (t1.ui_state.storables.show_mouseover_data) $.__app._readField$0().dispatch$1(A._$MouseoverDataClear__$MouseoverDataClear()); return null; }, @@ -139623,7 +138708,7 @@ call$0() { return new A._$DesignMainDomainComponent(null); }, - $signature: 481 + $signature: 479 }; A._$$DesignMainDomainProps.prototype = { get$$$isClassGenerated() { @@ -139658,7 +138743,7 @@ return "DesignMainDomain"; }, get$$$defaultConsumedProps() { - return B.Map_ivM4y.get$values(B.Map_ivM4y); + return B.Map_XNmZh.get$values(B.Map_XNmZh); } }; A.$DesignMainDomainProps.prototype = { @@ -139711,65 +138796,39 @@ 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.DesignMainStrandDomainTextProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainStrandDomainTextComponent.prototype = { render$0(_) { - var t2, t3, t4, t5, start_svg, mid_svg, baseline, dy, _this = this, _null = null, + var mid_svg, baseline, t2, 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); - t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t3 = t3.get$domain(t3); - t4 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position(); - t5 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - start_svg = t1.svg_base_pos$4(t2.start, t3.forward, t4.y, t5.get$geometry(t5)); - t5 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix(); - t4 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t4 = t4.get$domain(t4); - t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t3 = t3.get$domain(t3); - t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position(); - t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - mid_svg = start_svg.$add(0, t5.svg_base_pos$4(t4.end - 1, t3.forward, t2.y, t1.get$geometry(t1))).$mul(0, 0.5); - t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - baseline = t1.get$domain(t1).forward ? "baseline" : "hanging"; - t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMStDon); + mid_svg = t1.get$helix().svg_base_pos$4(_this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).start, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).forward, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$geometry(0)).$add(0, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(_this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).end - 1, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).forward, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position().y, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$geometry(0))).$mul(0, 0.5); + baseline = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).forward ? "baseline" : "hanging"; + t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDon); t1 = A._asInt(t1 == null ? _null : t1); - t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t2 = t2.get$geometry(t2).get$base_height_svg(); - t3 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - dy = t3.get$geometry(t3).get$base_height_svg() * 0.7 + t1 * t2; - t1 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - if (t1.get$domain(t1).forward) + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); + dy = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() * 0.7 + t1 * t2; + if (_this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0).forward) dy = -dy; t1 = A.SvgProps$($.$get$text(), _null); 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.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDot); + t1.set$id(0, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$strand().get$id(0) + "_name"); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDot); t1.set$transform(0, A._asString(t2 == null ? _null : t2)); - t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDof); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDof); t1.set$fontSize(0, A._asDouble(t2 == null ? _null : t2)); t1.set$dominantBaseline(baseline); - t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStDocs); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDocs); t1.set$className(0, A._asString(t2 == null ? _null : t2)); - t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainStrandDomainTextProps.text"); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandDomainTextProps.text"); return t1.call$1(A._asString(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 = t1.get$strand().get$id(0); t1 = document.querySelector("#" + (t1 + "_name")); t1.toString; J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -139777,15 +138836,14 @@ componentWillUnmount$0() { var t1 = this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$strand(); - t1 = t1.get$id(t1); + t1 = t1.get$strand().get$id(0); 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(ev) { - var t1, t2, t3, t4, t5, address, _this = this; + var t1, t2, t3, t4, address, _this = this; ev = type$.MouseEvent._as(type$.Event._as(ev)); t1 = ev.shiftKey; t1.toString; @@ -139795,25 +138853,20 @@ 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); + t2 = _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStDohg); if (t2 == null) t2 = null; - type$.BuiltMap_String_HelixGroup._as(t2); + t3 = type$.int; + t4 = type$.Point_double; + address = A.find_closest_address(ev, t1, type$.BuiltMap_String_HelixGroup._as(t2), _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$geometry(0), A.BuiltMap_BuiltMap$of(A.LinkedHashMap_LinkedHashMap$_literal([_this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix().idx, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$helix_svg_position()], t3, t4), t3, t4)); + t4 = $.__app._readField$0(); 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.___$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(A._$ContextMenuShow$_(A._$ContextMenu$_(t2, A.from_point_num(new A.Point(t3, t4, type$.Point_num))))); + t3 = A._BuiltList$of(t3.context_menu_strand$3$address$domain(t3.get$strand(), address, _this.___$DesignMainStrandDomainTextComponent__cachedTypedProps_A.get$domain(0)), type$.ContextMenuItem); + t2 = ev.pageX; + t2.toString; + t1 = ev.pageY; + t1.toString; + t4.dispatch$1(A._$ContextMenuShow$_(A._$ContextMenu$_(t3, A.from_point_num(new A.Point(t2, t1, type$.Point_num))))); } } }; @@ -139821,7 +138874,7 @@ call$0() { return new A._$DesignMainStrandDomainTextComponent(null); }, - $signature: 482 + $signature: 480 }; A._$$DesignMainStrandDomainTextProps.prototype = { get$$$isClassGenerated() { @@ -139856,7 +138909,7 @@ return "DesignMainStrandDomainText"; }, get$$$defaultConsumedProps() { - return B.Map_0Hqc.get$values(B.Map_0Hqc); + return B.Map_go0.get$values(B.Map_go0); } }; A.$DesignMainStrandDomainTextProps.prototype = { @@ -139942,39 +138995,30 @@ 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.DesignMainExtensionProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainExtensionComponent.prototype = { render$0(_) { - var ext, id, t2, t3, t4, extension_attached_end_svg, extension_free_end_svg, classname, svg_3p, svg_5p, color, t5, t6, _this = this, _null = null, + var ext, id, t2, t3, extension_attached_end_svg, extension_free_end_svg, classname, svg_3p, svg_5p, color, t4, t5, t6, _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"); + id = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext().get$id(0); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.adjacent_domain"); if (t1 == null) t1 = _null; type$.Domain._as(t1); - t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainExtensionProps.adjacent_helix"); + t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.adjacent_helix"); if (t2 == null) t2 = _null; type$.Helix._as(t2); - t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, string$.DesignMEa); + t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMEa); if (t3 == null) t3 = _null; - type$.Point_double._as(t3); - t4 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, t1, t2, t3.y, t4.get$geometry(t4)); - t4 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - extension_free_end_svg = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, t4.get$geometry(t4)); - t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignMainExtensionProps.selected"); + extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, t1, t2, type$.Point_double._as(t3).y, _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$geometry(0)); + extension_free_end_svg = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, t1, _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$geometry(0)); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.selected"); if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMEr); + t1 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMEr); classname = A._asBool(t1 == null ? _null : t1) ? "extension-line selected" : "extension-line selected-pink"; } else classname = "extension-line"; @@ -139990,8 +139034,7 @@ } color = ext.color; if (color == null) { - t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainExtensionProps.strand_color"); + t2 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.strand_color"); if (t2 == null) t2 = _null; type$.Color._as(t2); @@ -140003,8 +139046,7 @@ 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.___$DesignMainExtensionComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "DesignMainExtensionProps.transform"); + t3 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.transform"); t2.set$transform(0, A._asString(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); @@ -140015,12 +139057,11 @@ t4 = t4 == null ? "" : "\n name=" + t4; t5 = ext.label; t5 = t5 == null ? "" : "\n label=" + t5; - t6 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A; - t6 = t6.get$props(t6).$index(0, "DesignMainExtensionProps.strand_tooltip"); + t6 = _this.___$DesignMainExtensionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainExtensionProps.strand_tooltip"); return t2.call$1(t3.call$1(t1 + " extension:\n num_bases=" + ext.num_bases + "\n" + t4 + t5 + "\n" + A._asString(t6 == null ? _null : t6))); }, handle_click_down$1(event_syn) { - var t2, _s5_ = "store", + var t2, _s5_ = "store", _s6_ = "_state", $event = type$.MouseEvent._as(J.get$nativeEvent$x(type$.SyntheticPointerEvent._as(event_syn))), t1 = $event.button; t1.toString; @@ -140030,16 +139071,22 @@ 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = 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_extension_) && A.origami_type_selectable(t1); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t1 = 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) @@ -140047,39 +139094,50 @@ } }, handle_click_up$1(event_syn) { - var t1, t2, currently_moving, t3, _s5_ = "store"; + var t1, t2, currently_moving, t3, _s5_ = "store", _s6_ = "_state"; 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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + currently_moving = true; + if (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 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + if (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; + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI(_s6_); + t2 = t2.ui_state.dna_ends_are_moving; currently_moving = t2; - } else - currently_moving = true; - } else - currently_moving = true; + } + } 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_extension_) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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) @@ -140089,8 +139147,7 @@ componentDidMount$0() { var t1 = this.___$DesignMainExtensionComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$ext(); - t1 = t1.get$id(t1); + t1 = t1.get$ext().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -140099,8 +139156,7 @@ 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 = t1.get$ext().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -140162,7 +139218,9 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_extensions = t1.ui_state.selectables_store.get$selected_extensions(); t1 = selected_extensions._set; action = t1.get$length(t1) > 0 ? A.ExtensionsNumBasesChange_ExtensionsNumBasesChange(selected_extensions, new_num_bases) : A.ExtensionNumBasesChange_ExtensionNumBasesChange($async$self.___$DesignMainExtensionComponent__cachedTypedProps_A.get$ext(), new_num_bases); $.__app._readField$0().dispatch$1(action); @@ -140208,11 +139266,13 @@ $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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_exts = t1.ui_state.selectables_store.get$selected_extensions(); t1 = selected_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(selected_exts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_ask_for_extension_name_closure($name))), t2._eval$1("EfficientLengthMappedIterable")), "set extension names"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetBase.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); @@ -140243,7 +139303,7 @@ 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 A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "set extension display length/angle", B.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_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "set extension display length/angle", B.DialogType_MG5, false)), $async$ask_for_extension_display_length_and_angle$0); case 3: // returning from await. results = $async$result; @@ -140277,7 +139337,9 @@ 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_extensions(); t2 = this.$this; t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -140285,7 +139347,7 @@ 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(exts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_context_menu_extension__closure0())), t2._eval$1("EfficientLengthMappedIterable")), "remove extension names"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetBase.E)")._as(exts.$ti._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); @@ -140296,14 +139358,16 @@ call$1(l) { return A._$SubstrandNameSet$_(null, type$.Extension._as(l)); }, - $signature: 139 + $signature: 138 }; 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_extensions(); t2 = this.$this; t3 = t2.___$DesignMainExtensionComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -140311,7 +139375,7 @@ 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(exts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainExtensionComponent_context_menu_extension__closure())), t2._eval$1("EfficientLengthMappedIterable")), "remove extension labels"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetBase.E)")._as(exts.$ti._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); @@ -140322,7 +139386,7 @@ call$1(l) { return A._$SubstrandLabelSet$_(null, type$.Extension._as(l)); }, - $signature: 484 + $signature: 482 }; A.DesignMainExtensionComponent_context_menu_extension_closure1.prototype = { call$0() { @@ -140350,7 +139414,7 @@ t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); return A.ask_for_num_bases("change extension number of bases", t1.get$ext().num_bases, 1); }, - $signature: 140 + $signature: 139 }; A.DesignMainExtensionComponent_set_extension_label_closure.prototype = { call$0() { @@ -140362,7 +139426,9 @@ 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + return A.ask_for_label(t2, t1, t3.ui_state.selectables_store.get$selected_extensions(), type$.Extension); }, $signature: 5 }; @@ -140370,13 +139436,13 @@ call$1(e) { return A._$SubstrandNameSet$_(this.name, type$.Extension._as(e)); }, - $signature: 139 + $signature: 138 }; A.$DesignMainExtensionComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainExtensionComponent(null); }, - $signature: 486 + $signature: 484 }; A._$$DesignMainExtensionProps.prototype = { get$$$isClassGenerated() { @@ -140411,7 +139477,7 @@ return "DesignMainExtension"; }, get$$$defaultConsumedProps() { - return B.Map_L9AYZ.get$values(B.Map_L9AYZ); + return B.Map_oBdsj.get$values(B.Map_oBdsj); } }; A.$DesignMainExtensionProps.prototype = { @@ -140437,27 +139503,22 @@ 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.DesignMainStrandExtensionTextProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$geometry(t1).get$base_height_svg(); - t2 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; - t2 = t2.get$geometry(t2).get$base_height_svg(); - t3 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, string$.DesignMStEn); + t1 = t1.get$geometry(0).get$base_height_svg(); + t2 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); + t3 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStEn); t3 = A._asInt(t3 == null ? _null : t3); - t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStEf); + t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStEf); style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", A.S(A._asDouble(t4 == null ? _null : t4)) + "px"], type$.String, type$.dynamic); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStEc); + t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStEc); text_path_props.set$className(0, A._asString(t4 == null ? _null : t4)); - t4 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext(); - text_path_props.set$xlinkHref("#" + t4.get$id(t4)); + text_path_props.set$xlinkHref("#" + _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext().get$id(0)); text_path_props.set$startOffset(0, "50%"); text_path_props.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(style_map)); dom = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$ext().adjacent_domain; @@ -140465,8 +139526,7 @@ t4 = A.SvgProps$($.$get$text(), _null); 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"); + t3 = _this.___$DesignMainStrandExtensionTextComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandExtensionTextProps.text"); return t4.call$1(text_path_props.call$1(A._asString(t3 == null ? _null : t3))); } }; @@ -140474,7 +139534,7 @@ call$0() { return new A._$DesignMainStrandExtensionTextComponent(null); }, - $signature: 487 + $signature: 485 }; A._$$DesignMainStrandExtensionTextProps.prototype = { get$$$isClassGenerated() { @@ -140509,7 +139569,7 @@ return "DesignMainStrandExtensionText"; }, get$$$defaultConsumedProps() { - return B.Map_9wJO4.get$values(B.Map_9wJO4); + return B.Map_EERSP.get$values(B.Map_EERSP); } }; A.$DesignMainStrandExtensionTextProps.prototype = { @@ -140529,45 +139589,33 @@ 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.DesignMainStrandInsertionProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainStrandInsertionComponent.prototype = { render$0(_) { - var classname, t2, t3, t4, t5, pos, insertion_background, geometry, t6, pos0, dx1, dx2, dy1, dy2, x0, y0, x1, x2, x3, x4, x5, y1, y2, insertion_path, dy_text, background_width, background_height, background_y, text_path_props, _this = this, _null = null, + var classname, pos, insertion_background, geometry, t2, pos0, dx1, dx2, dy1, dy2, x0, y0, x1, x2, x3, x4, x5, y1, y2, t3, insertion_path, dy_text, background_width, background_height, background_y, text_path_props, t4, _this = this, _null = null, t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "DesignMainStrandInsertionProps.selected"); + t1 = t1.get$props(0).$index(0, "DesignMainStrandInsertionProps.selected"); if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMStIr); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStIr); classname = A._asBool(t1 == null ? _null : t1) ? "insertion-group selected" : "insertion-group selected-pink"; } else classname = "insertion-group"; if (_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().is_scaffold) classname += " scaffold"; - t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix(); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - t4 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$svg_position_y(); - t5 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - pos = t1.svg_base_pos$4(t2.insertion.offset, t3.domain.forward, t4, t5.get$geometry(t5)); + pos = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(_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(), _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$geometry(0)); insertion_background = _this._insertion_background$1(pos); - t5 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - geometry = t5.get$geometry(t5); - t5 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - t4 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "DesignMainStrandInsertionProps.color"); - t1 = t4 == null ? _null : t4; - type$.Color._as(t1); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix(); - t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - t4 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$svg_position_y(); - t6 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - pos0 = t2.svg_base_pos$4(t5.insertion.offset, t3.domain.forward, t4, t6.get$geometry(t6)); + geometry = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$geometry(0); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); + t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandInsertionProps.color"); + if (t2 == null) + t2 = _null; + type$.Color._as(t2); + pos0 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$helix().svg_base_pos$4(t1.insertion.offset, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$svg_position_y(), _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$geometry(0)); dx1 = geometry.get$base_width_svg(); dx2 = 0.5 * geometry.get$base_width_svg(); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStId); - if (A._asBool(t2 == null ? _null : t2) && !_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward) { + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStId); + if (A._asBool(t1 == null ? _null : t1) && !_this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward) { dx1 = -dx1; dx2 = -dx2; } @@ -140588,23 +139636,20 @@ x5 = B.JSNumber_methods.toStringAsFixed$1(x0 - dx1, 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.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - t2.set$id(0, t1.get$id(t1)); - t1 = A.S(x0); + t1 = A.SvgProps$($.$get$path(), _null); + t1.set$className(0, "insertion-curve"); + t2 = t2.toHexColor$0(); + t1.set$stroke(0, "#" + t2.get$rHex() + t2.get$gHex() + t2.get$bHex()); + t1.set$fill(0, "none"); + t1.set$id(0, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().get$id(0)); + t2 = 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(); + t1.set$d(0, "M " + t2 + " " + t3 + " C " + x1 + " " + y1 + ", " + x2 + " " + y2 + ", " + x3 + " " + y2 + " C " + x4 + " " + y2 + ", " + x5 + " " + y1 + ", " + t2 + " " + t3 + " "); + t1.set$key(0, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().get$id(0)); + insertion_path = t1.call$0(); type$.Point_double._as(pos); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - geometry = t2.get$geometry(t2); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); + geometry = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$geometry(0); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); t3 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); dy_text = A.S(0.2 * geometry.get$base_height_svg()); if (A.browser() === $.$get$firefox()) @@ -140613,40 +139658,38 @@ background_height = 1.5 * geometry.get$base_height_svg(); background_y = pos.y - geometry.get$base_height_svg() / 2; background_y = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().domain.forward ? background_y - background_height : background_y + geometry.get$base_height_svg(); - t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); + t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); text_path_props = A.SvgProps$($.$get$textPath(), _null); text_path_props.set$startOffset(0, "50%"); - t4 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); - text_path_props.set$xlinkHref("#" + t4.get$id(t4)); + text_path_props.set$xlinkHref("#" + _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().get$id(0)); text_path_props.set$className(0, "insertion-length"); t4 = A.SvgProps$($.$get$g(), _null); - t4.set$key(0, "num-insertion-H" + t1.domain.helix + "-" + t2.insertion.offset); - t2 = A.SvgProps$($.$get$rect(), _null); - t2.set$x(0, pos.x - 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 = t2.call$0(); - t1 = A.SvgProps$($.$get$text(), _null); - t1.set$dy(0, dy_text); - t3 = t4.call$2(t2, t1.call$1(text_path_props.call$1("" + t3.insertion.length))); - t1 = A.SvgProps$($.$get$g(), _null); - t1.set$id(0, _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().get$id_group()); - t1.set$className(0, classname); - t1.set$onPointerDown(new A.DesignMainStrandInsertionComponent_render_closure(_this)); - t1.set$onPointerUp(new A.DesignMainStrandInsertionComponent_render_closure0(_this)); - t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, "DesignMainStrandInsertionProps.transform"); - t1.set$transform(0, A._asString(t2 == null ? _null : t2)); - return t1.call$3(insertion_path, insertion_background, t3); + t4.set$key(0, "num-insertion-H" + t2.domain.helix + "-" + t1.insertion.offset); + t1 = A.SvgProps$($.$get$rect(), _null); + t1.set$x(0, pos.x - background_width / 2); + t1.set$y(0, background_y); + t1.set$width(0, background_width); + t1.set$height(0, background_height); + t1.set$className(0, "insertion-background"); + t1 = t1.call$0(); + t2 = A.SvgProps$($.$get$text(), _null); + t2.set$dy(0, dy_text); + t3 = t4.call$2(t1, t2.call$1(text_path_props.call$1("" + t3.insertion.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)); + t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandInsertionProps.transform"); + t2.set$transform(0, A._asString(t1 == null ? _null : t1)); + return t2.call$3(insertion_path, insertion_background, t3); }, _insertion_background$1(pos) { var t1, geometry, t2, background_width, background_height, t3, _this = this; type$.Point_double._as(pos); t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - geometry = t1.get$geometry(t1); + geometry = t1.get$geometry(0); t1 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); t2 = _this.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion(); background_width = geometry.get$base_width_svg(); @@ -140721,7 +139764,9 @@ } t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - t1 = t1.get$state(t1).ui_state.selectables_store.get$selected_insertions()._set; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_insertions()._set; if (t1.get$length(t1) > 0) { t2 = A._setArrayType([], type$.JSArray_Insertion); for (t3 = t1.get$iterator(t1); t3.moveNext$0();) @@ -140743,7 +139788,7 @@ }; A.DesignMainStrandInsertionComponent_render_closure.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; @@ -140751,26 +139796,32 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_insertion) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; A.DesignMainStrandInsertionComponent_render_closure0.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandInsertionComponent__cachedTypedProps_A; @@ -140778,22 +139829,28 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_insertion) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainStrandInsertionComponent__cachedTypedProps_A.get$selectable_insertion().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; A.DesignMainStrandInsertionComponent__insertion_background_closure.prototype = { call$1(_) { @@ -140801,7 +139858,9 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + if (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; @@ -140815,7 +139874,7 @@ call$0() { return new A._$DesignMainStrandInsertionComponent(null); }, - $signature: 488 + $signature: 486 }; A._$$DesignMainStrandInsertionProps.prototype = { get$$$isClassGenerated() { @@ -140850,7 +139909,7 @@ return "DesignMainStrandInsertion"; }, get$$$defaultConsumedProps() { - return B.Map_jwscL.get$values(B.Map_jwscL); + return B.Map_6XQyU.get$values(B.Map_6XQyU); } }; A.$DesignMainStrandInsertionProps.prototype = { @@ -140897,8 +139956,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainLoopoutState.prototype = {$isMap: 1}; @@ -140912,10 +139971,9 @@ var classname, within_group, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, path_description, prev_offset, next_offset, 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.___$DesignMainLoopoutComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "DesignMainLoopoutProps.selected"); + t1 = t1.get$props(0).$index(0, "DesignMainLoopoutProps.selected"); if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMLPr); + t1 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMLPr); classname = A._asBool(t1 == null ? _null : t1) ? "loopout-curve selected" : "loopout-curve selected-pink"; } else classname = "loopout-curve"; @@ -140930,19 +139988,16 @@ 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"); + t7 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainLoopoutProps.show_domain_names"); t7 = A._asBool(t7 == null ? _null : t7); t8 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix_svg_position_y(); t9 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix_svg_position_y(); - t10 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, "DesignMainLoopoutProps.prev_geometry"); + t10 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainLoopoutProps.prev_geometry"); if (t10 == null) t10 = _null; t11 = type$.Geometry; t11._as(t10); - t12 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, "DesignMainLoopoutProps.next_geometry"); + t12 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainLoopoutProps.next_geometry"); path_description = A.loopout_path_description_within_group(t2, t3, t4, t5, t6, true, t7, t8, t9, t10, t11._as(t12 == null ? _null : t12)); } else { t2 = t2.get$prev_domain(); @@ -140953,26 +140008,12 @@ t2.toString; t3 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$groups()._map$_map.$index(0, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix().group); t3.toString; - t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix(); - t5 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_domain(); - t6 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix_svg_position_y(); - t7 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - prev_svg_untransformed = t4.svg_base_pos$4(prev_offset, t5.forward, t6, t7.get$geometry(t7)); - t7 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix(); - t6 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_domain(); - t5 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix_svg_position_y(); - t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - next_svg_untransformed = t7.svg_base_pos$4(next_offset, t6.forward, t5, t4.get$geometry(t4)); - t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - prev_svg = t2.transform_point_main_view$2(prev_svg_untransformed, t4.get$geometry(t4)); - t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - next_svg = t3.transform_point_main_view$2(next_svg_untransformed, t4.get$geometry(t4)); - t4 = Math.exp(-_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases); - t5 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - w = 2 * (1 / (1 + t4)) * t5.get$geometry(t5).get$base_width_svg(); - t5 = Math.exp(-(_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases - 3)); - t4 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A; - h = 10 * (1 / (1 + t5)) * t4.get$geometry(t4).get$base_height_svg(); + prev_svg_untransformed = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix().svg_base_pos$4(prev_offset, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_domain().forward, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$prev_helix_svg_position_y(), _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0)); + next_svg_untransformed = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix().svg_base_pos$4(next_offset, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_domain().forward, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$next_helix_svg_position_y(), _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0)); + prev_svg = t2.transform_point_main_view$2(prev_svg_untransformed, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0)); + next_svg = t3.transform_point_main_view$2(next_svg_untransformed, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0)); + w = 2 * (1 / (1 + Math.exp(-_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases))) * _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg(); + h = 10 * (1 / (1 + Math.exp(-(_this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().loopout_num_bases - 3)))) * _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); t4 = prev_svg.y; t5 = next_svg.y; t6 = prev_svg.x; @@ -140985,8 +140026,7 @@ } 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"); + t2 = _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainLoopoutProps.strand_color"); if (t2 == null) t2 = _null; type$.Color._as(t2); @@ -141001,10 +140041,8 @@ 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)); + path_props.set$key(0, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().get$id(0)); + path_props.set$id(0, _this.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().get$id(0)); 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)); @@ -141014,8 +140052,7 @@ componentDidMount$0() { var t1 = this.___$DesignMainLoopoutComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$loopout(); - t1 = t1.get$id(t1); + t1 = t1.get$loopout().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.addEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -141024,8 +140061,7 @@ 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 = t1.get$loopout().get$id(0); t1 = document.querySelector("#" + t1); t1.toString; J.removeEventListener$2$x(t1, "contextmenu", this.get$on_context_menu()); @@ -141087,7 +140123,9 @@ } 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + selected_loopouts = t1.ui_state.selectables_store.get$selected_loopouts(); t1 = selected_loopouts._set; action = t1.get$length(t1) > 0 ? A.LoopoutsLengthChange_LoopoutsLengthChange(selected_loopouts, new_length) : A.LoopoutLengthChange_LoopoutLengthChange($async$self.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout(), new_length); $.__app._readField$0().dispatch$1(action); @@ -141133,7 +140171,9 @@ $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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = 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()); @@ -141178,7 +140218,7 @@ }; A.DesignMainLoopoutComponent_render_closure1.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A; @@ -141186,26 +140226,32 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_loopout) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; A.DesignMainLoopoutComponent_render_closure2.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainLoopoutComponent__cachedTypedProps_A; @@ -141213,29 +140259,37 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_loopout) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainLoopoutComponent__cachedTypedProps_A.get$loopout().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_loopouts(); t2 = this.$this; t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -141243,7 +140297,7 @@ 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(loopouts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainLoopoutComponent_context_menu_loopout__closure0())), t2._eval$1("EfficientLengthMappedIterable")), "remove loopout names"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetBase.E)")._as(loopouts.$ti._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); @@ -141254,14 +140308,16 @@ call$1(l) { return A._$SubstrandNameSet$_(null, type$.Loopout._as(l)); }, - $signature: 141 + $signature: 140 }; 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_loopouts(); t2 = this.$this; t3 = t2.___$DesignMainLoopoutComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); @@ -141269,7 +140325,7 @@ 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(loopouts.$ti._eval$1("UndoableAction(1)")._as(new A.DesignMainLoopoutComponent_context_menu_loopout__closure())), t2._eval$1("EfficientLengthMappedIterable")), "remove loopout labels"); + action = A.BatchAction_BatchAction(new A.EfficientLengthMappedIterable(t1, t2._eval$1("UndoableAction(SetBase.E)")._as(loopouts.$ti._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); @@ -141280,7 +140336,7 @@ call$1(l) { return A._$SubstrandLabelSet$_(null, type$.Loopout._as(l)); }, - $signature: 490 + $signature: 488 }; A.DesignMainLoopoutComponent_context_menu_loopout_closure1.prototype = { call$0() { @@ -141308,7 +140364,7 @@ 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: 140 + $signature: 139 }; A.DesignMainLoopoutComponent_set_loopout_label_closure.prototype = { call$0() { @@ -141320,7 +140376,9 @@ 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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + return A.ask_for_label(t2, t1, t3.ui_state.selectables_store.get$selected_loopouts(), type$.Loopout); }, $signature: 5 }; @@ -141328,13 +140386,13 @@ call$1(l) { return A._$SubstrandNameSet$_(this.name, type$.Loopout._as(l)); }, - $signature: 141 + $signature: 140 }; A.$DesignMainLoopoutComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainLoopoutComponent(null); }, - $signature: 491 + $signature: 489 }; A._$$DesignMainLoopoutProps.prototype = { get$$$isClassGenerated() { @@ -141395,7 +140453,7 @@ return "DesignMainLoopout"; }, get$$$defaultConsumedProps() { - return B.Map_e3oWp.get$values(B.Map_e3oWp); + return B.Map_GV1eM.get$values(B.Map_GV1eM); } }; A.$DesignMainLoopoutProps.prototype = { @@ -141473,38 +140531,31 @@ 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.DesignMainStrandLoopoutTextProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainStrandLoopoutTextComponent.prototype = { render$0(_) { var t2, t3, t4, style_map, text_path_props, _this = this, _null = null, t1 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$geometry(t1).get$base_height_svg(); - t2 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; - t2 = t2.get$geometry(t2).get$base_height_svg(); - t3 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, string$.DesignMStLnu); + t1 = t1.get$geometry(0).get$base_height_svg(); + t2 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg(); + t3 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStLnu); t3 = A._asInt(t3 == null ? _null : t3); - t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStLf); + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStLf); style_map = A.LinkedHashMap_LinkedHashMap$_literal(["letterSpacing", "0em", "fontSize", A.S(A._asDouble(t4 == null ? _null : t4)) + "px"], type$.String, type$.dynamic); text_path_props = A.SvgProps$($.$get$textPath(), _null); - t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStLc); + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStLc); text_path_props.set$className(0, A._asString(t4 == null ? _null : t4)); - t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "DesignMainStrandLoopoutTextProps.loopout"); + t4 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandLoopoutTextProps.loopout"); if (t4 == null) t4 = _null; - type$.Loopout._as(t4); - text_path_props.set$xlinkHref("#" + t4.get$id(t4)); + text_path_props.set$xlinkHref("#" + type$.Loopout._as(t4).get$id(0)); text_path_props.set$startOffset(0, "50%"); 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.___$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"); + t3 = _this.___$DesignMainStrandLoopoutTextComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandLoopoutTextProps.text"); return t4.call$1(text_path_props.call$1(A._asString(t3 == null ? _null : t3))); } }; @@ -141512,7 +140563,7 @@ call$0() { return new A._$DesignMainStrandLoopoutTextComponent(null); }, - $signature: 492 + $signature: 490 }; A._$$DesignMainStrandLoopoutTextProps.prototype = { get$$$isClassGenerated() { @@ -141547,7 +140598,7 @@ return "DesignMainStrandLoopoutText"; }, get$$$defaultConsumedProps() { - return B.Map_mJkdI.get$values(B.Map_mJkdI); + return B.Map_FIwMy.get$values(B.Map_FIwMy); } }; A.$DesignMainStrandLoopoutTextProps.prototype = { @@ -141573,48 +140624,33 @@ 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.DesignMainStrandModificationProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainStrandModificationComponent.prototype = { render$0(_) { - var t2, t3, t4, t5, pos, ext, adj_dom, adj_helix, adj_helix_svg_y, extension_attached_end_svg, display_connector, classname, y_delta, y_del_small, font_size, baseline, id, _this = this, _null = null, + var t2, pos, ext, adj_dom, 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) { - t1 = t2.get$helix(); - t2 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address(); - t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address(); - t4 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix_svg_position_y(); - t5 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - pos = t1.svg_base_pos$4(t2.offset, t3.forward, t4, t5.get$geometry(t5)); - 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; - pos = new A.Point(pos.x + t1.get$geometry(t1).get$base_width_svg() / 2, pos.y, type$.Point_double); - } + pos = t2.get$helix().svg_base_pos$4(_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(), _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0)); + 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) + pos = new A.Point(pos.x + _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg() / 2, pos.y, type$.Point_double); } else { ext = t2.get$ext(); adj_dom = ext.adjacent_domain; - adj_helix = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix(); - adj_helix_svg_y = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$helix_svg_position_y(); - t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - extension_attached_end_svg = A.compute_extension_attached_end_svg(ext, adj_dom, adj_helix, adj_helix_svg_y, t1.get$geometry(t1)); - t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - pos = A.compute_extension_free_end_svg(extension_attached_end_svg, ext, adj_dom, t1.get$geometry(t1)); + pos = A.compute_extension_free_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(), _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0)), ext, adj_dom, _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0)); } - t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPdi); + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdPdi); display_connector = A._asBool(t1 == null ? _null : t1); - if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A.Modification5Prime) + if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A._$Modification5Prime) classname = "modification 5'"; else - 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); + classname = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification() instanceof A._$Modification3Prime ? "modification 3'" : "modification internal"; + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdPse); if (A._asBool(t1 == null ? _null : t1)) { - t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, string$.DesignMStMdPr); + t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdPr); classname = A._asBool(t1 == null ? _null : t1) ? classname + " selected" : classname + " selected-pink"; } if (_this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$strand().is_scaffold) @@ -141625,11 +140661,9 @@ t2 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$address().forward; t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().get$modification().get$connector_length(); type$.Point_double._as(pos); - t4 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - y_delta = t4.get$geometry(t4).get$base_height_svg() * 0.45; + y_delta = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0).get$base_height_svg() * 0.45; y_del_small = t2 ? -y_delta : y_delta; - t4 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStMdPf); + t4 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdPf); font_size = A._asDouble(t4 == null ? _null : t4); baseline = t2 ? "baseline" : "hanging"; if (!display_connector) @@ -141650,8 +140684,7 @@ t2.set$onPointerUp(new A.DesignMainStrandModificationComponent_render_closure0(_this)); t2.set$className(0, classname); t2.set$id(0, id); - t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, string$.DesignMStMdPt); + t3 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdPt); t2.set$transform(0, A._asString(t3 == null ? _null : t3)); return t2.call$1(t1); }, @@ -141700,8 +140733,10 @@ 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.ui_state.selectables_store.get$selected_modifications()._set; + selectable_mods = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E")); t1 = _this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); if (!B.JSArray_methods.contains$1(selectable_mods, t1.get$selectable_modification())) @@ -141723,10 +140758,9 @@ type$.Point_double._as(pos); t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - y_delta = t1.get$geometry(t1).get$base_height_svg() * 0.45; + y_delta = t1.get$geometry(0).get$base_height_svg() * 0.45; y_del_small = $forward ? -y_delta : y_delta; - t1 = this.___$DesignMainStrandModificationComponent__cachedTypedProps_A; - x = -(t1.get$geometry(t1).get$base_width_svg() / 3); + x = -(this.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$geometry(0).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) B.JSArray_methods.add$1(points, A.S(t3 + (B.JSInt_methods.$mod(i, 2) === 1 ? x : 0)) + "," + A.S(t2 + i * y_del_small) + " "); @@ -141742,7 +140776,7 @@ }; A.DesignMainStrandModificationComponent_render_closure.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A; @@ -141750,26 +140784,32 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_modification) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().handle_selection_mouse_down$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; A.DesignMainStrandModificationComponent_render_closure0.prototype = { call$1(ev) { - var t1, t2, t3, _s5_ = "store"; + var t1, t2, t3, _s5_ = "store", _s6_ = "_state"; type$.SyntheticPointerEvent._as(ev); t1 = this.$this; t2 = t1.___$DesignMainStrandModificationComponent__cachedTypedProps_A; @@ -141777,22 +140817,28 @@ 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 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + if (!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); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t3 = 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_modification) && A.origami_type_selectable(t2); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI(_s6_); + t2 = 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.___$DesignMainStrandModificationComponent__cachedTypedProps_A.get$selectable_modification().handle_selection_mouse_up$1(type$.MouseEvent._as(J.get$nativeEvent$x(ev))); }, - $signature: 17 + $signature: 19 }; A.DesignMainStrandModificationComponent_context_menu_modification_closure.prototype = { call$0() { @@ -141805,27 +140851,27 @@ }; A.edit_modification_closure.prototype = { call$1(mod) { - return type$.SelectableModification._as(mod) instanceof A.SelectableModification5Prime; + return type$.SelectableModification._as(mod) instanceof A._$SelectableModification5Prime; }, - $signature: 102 + $signature: 94 }; A.edit_modification_closure0.prototype = { call$1(mod) { - return type$.SelectableModification._as(mod) instanceof A.SelectableModification3Prime; + return type$.SelectableModification._as(mod) instanceof A._$SelectableModification3Prime; }, - $signature: 102 + $signature: 94 }; A.edit_modification_closure1.prototype = { call$1(mod) { - return type$.SelectableModification._as(mod) instanceof A.SelectableModificationInternal; + return type$.SelectableModification._as(mod) instanceof A._$SelectableModificationInternal; }, - $signature: 102 + $signature: 94 }; A.$DesignMainStrandModificationComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainStrandModificationComponent(null); }, - $signature: 494 + $signature: 492 }; A._$$DesignMainStrandModificationProps.prototype = { get$$$isClassGenerated() { @@ -141860,7 +140906,7 @@ return "DesignMainStrandModification"; }, get$$$defaultConsumedProps() { - return B.Map_l5Opy.get$values(B.Map_l5Opy); + return B.Map_uMgkc.get$values(B.Map_uMgkc); } }; A.$DesignMainStrandModificationProps.prototype = { @@ -141946,8 +140992,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandModificationsComponent.prototype = { @@ -141966,10 +141012,8 @@ t3 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$groups()._map$_map.$index(0, t2.group); t3.toString; geometry = t3.geometry; - if (geometry == null) { - t3 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - geometry = t3.get$geometry(t3); - } + if (geometry == null) + geometry = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$geometry(0); selected = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$selected_modifications_in_strand()._set.contains$1(0, _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modification_5p()); 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(); @@ -142001,10 +141045,8 @@ t3 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$groups()._map$_map.$index(0, t2.group); t3.toString; geometry = t3.geometry; - if (geometry == null) { - t3 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - geometry = t3.get$geometry(t3); - } + if (geometry == null) + geometry = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$geometry(0); 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(); @@ -142026,10 +141068,9 @@ 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, t1.$ti._precomputed1), t2 = type$.Strand, t3 = type$.nullable_BuiltSet_int, t4 = type$.BuiltMap_int_double, t5 = type$.BuiltSet_SelectableModification, t6 = type$.BuiltMap_String_HelixGroup, t7 = type$.BuiltMap_int_Helix, t8 = type$.Geometry; t1.moveNext$0();) { + for (t1 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$strand().get$selectable_modifications_int_by_dna_idx().get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = type$.Strand, t3 = type$.nullable_BuiltSet_int, t4 = type$.BuiltMap_int_double, t5 = type$.BuiltSet_SelectableModification, t6 = type$.BuiltMap_String_HelixGroup, t7 = type$.BuiltMap_int_Helix, t8 = type$.Geometry; t1.moveNext$0();) { t9 = t1.__js_helper$_current; - t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, _s41_); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, _s41_); t10 = t2._as(t10 == null ? _null : t10).substrands._list; t11 = A._arrayInstanceType(t10); t10 = new J.ArrayIterator(t10, t10.length, t11._eval$1("ArrayIterator<1>")); @@ -142046,12 +141087,10 @@ if (dna_index_5p_end_of_ss_with_mod > t9) break; } - if (ss_with_mod instanceof A.Domain) { - t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdso); + if (ss_with_mod instanceof A._$Domain) { + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdso); if (A._asBool(t10 == null ? _null : t10)) { - t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdssi); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdssi); t10 = t3._as(t10 == null ? _null : t10); t11 = ss_with_mod.helix; t11 = t10._set.contains$1(0, t11); @@ -142059,24 +141098,20 @@ } else t10 = true; if (t10) { - t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdshc); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdshc); t10 = t7._as(t10 == null ? _null : t10); t11 = ss_with_mod.helix; t10 = t10._map$_map.$index(0, t11); t10.toString; - t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, string$.DesignMStMdsgr); + t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsgr); t12 = t6._as(t12 == null ? _null : t12)._map$_map.$index(0, t10.group); t12.toString; geometry = t12.geometry; if (geometry == null) { - t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, string$.DesignMStMdsge); + t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsge); geometry = t8._as(t12 == null ? _null : t12); } - t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s41_); + t12 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, _s41_); t12 = t2._as(t12 == null ? _null : t12); t13 = t12.__selectable_modifications_int_by_dna_idx; if (t13 == null) { @@ -142096,33 +141131,28 @@ t11.toString; t11 = t15.get$groups()._map$_map.$index(0, t11.group); t11.toString; - t15 = t15.get$geometry(t15); + t15 = t15.get$geometry(0); t16 = t11.position; t17 = t15.__nm_to_svg_pixels; t15 = t17 == null ? t15.__nm_to_svg_pixels = A.Geometry.prototype.get$nm_to_svg_pixels.call(t15) : t17; translate_svg = A.Position3D_Position3D(t16.x * t15, t16.y * t15, t16.z * t15); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPt, "translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t11.pitch) + ")"); - t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, string$.DesignMStMdsf); + t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsf); t11 = A._asDouble(t11 == null ? _null : t11); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPf, t11); - t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, string$.DesignMStMdsd); + t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsd); t11 = A._asBool(t11 == null ? _null : t11); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPdi, t11); - t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, string$.DesignMStMdsse); + t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsse); t11 = t5._as(t11 == null ? _null : t11)._set.contains$1(0, t12); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPse, t11); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPg, geometry); - t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, string$.DesignMStMdshx); + t11 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdshx); t10 = t4._as(t11 == null ? _null : t11)._map$_map.$index(0, t10.idx); t10.toString; A._asDouble(t10); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPh, t10); - t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, string$.DesignMStMdsr); + t10 = _this.___$DesignMainStrandModificationsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMdsr); t10 = A._asBool(t10 == null ? _null : t10); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPr, t10); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStMdPdn, t9); @@ -142130,9 +141160,9 @@ J.$indexSet$ax(t14, "key", "internal-" + A.S(t9)); B.JSArray_methods.add$1(modifications, t13.call$0()); } - } else if (ss_with_mod instanceof A.Loopout) + } 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) + 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) @@ -142149,7 +141179,7 @@ call$0() { return new A._$DesignMainStrandModificationsComponent(null); }, - $signature: 495 + $signature: 493 }; A._$$DesignMainStrandModificationsProps.prototype = { get$$$isClassGenerated() { @@ -142185,7 +141215,7 @@ return "DesignMainStrandModifications"; }, get$$$defaultConsumedProps() { - return B.Map_3V5WF.get$values(B.Map_3V5WF); + return B.Map_4QSRb.get$values(B.Map_4QSRb); } }; A.$DesignMainStrandModificationsProps.prototype = { @@ -142268,32 +141298,28 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 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, + 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, _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.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand(); - t2 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignMStMvo); + t2 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMvo); if (t2 == null) t2 = _null; type$.BuiltMap_int_int._as(t2); t3 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$current_group(); - t4 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, string$.DesignMStMvdv); + t4 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMvdv); t4 = A._asInt(t4 == null ? _null : t4); - t5 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, "DesignMainStrandMovingProps.delta_offset"); + t5 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandMovingProps.delta_offset"); t5 = A._asInt(t5 == null ? _null : t5); - t6 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t6 = t6.get$props(t6).$index(0, string$.DesignMStMvdf); + t6 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMvdf); strand_moved = A.move_strand(t3, A._asBool(t6 == null ? _null : t6), t5, t4, t2, t1); if (strand_moved == null) return _null; @@ -142318,39 +141344,37 @@ if (t5) { t6 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); t6.set$helix(first_helix_moved); - t7 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t8 = J.getInterceptor$x(t6); - t8.set$geometry(t6, t7.get$geometry(t7)); + t7 = J.getInterceptor$x(t6); + t7.set$geometry(t6, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$geometry(0)); t6.set$dna_end(end_5p_moved); - t8.set$color(t6, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand().color); - t8.set$forward(t6, t1); + 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.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$allowable()); t6.set$current_offset(end_5p_moved.get$offset_inclusive()); t6.set$svg_position_y(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map()._map$_map.$index(0, first_helix_moved.idx).y); - t8.set$key(t6, "end-5p"); + t7.set$key(t6, "end-5p"); t3.push(t6.call$0()); } if (t5) { t1 = A.design_main_strand_dna_end_moving___$EndMoving$closure().call$0(); t1.set$helix(last_helix_moved); - t5 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t6 = J.getInterceptor$x(t1); - t6.set$geometry(t1, t5.get$geometry(t5)); + t5 = J.getInterceptor$x(t1); + t5.set$geometry(t1, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$geometry(0)); t1.set$dna_end(end_3p_moved); - t6.set$color(t1, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$strand().color); - t6.set$forward(t1, t2); + 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.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$allowable()); t1.set$current_offset(end_3p_moved.get$offset_inclusive()); t1.set$svg_position_y(_this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$helix_idx_to_svg_position_map()._map$_map.$index(0, last_helix_moved.idx).y); - t6.set$key(t1, "end-3p"); + t5.set$key(t1, "end-3p"); t3.push(t1.call$0()); } return t4.call$1(t3); }, _draw_strand_lines_single_path$1(strand_moved) { - var t2, helix_svg_position_y, t3, t4, start_svg, path_cmds, t5, t6, t7, t8, helix, i, substrand, t9, t10, end_svg, t11, t12, t13, control, prev_domain, next_domain, geometry, prev_helix_svg_position_y, classname, _this = this, _null = null, + var t2, helix_svg_position_y, start_svg, path_cmds, t3, t4, t5, t6, t7, t8, helix, i, substrand, t9, t10, end_svg, t11, t12, t13, control, prev_domain, next_domain, geometry, prev_helix_svg_position_y, classname, _this = this, _null = null, _s57_ = string$.DesignMStMvh, _s36_ = "DesignMainStrandMovingProps.geometry", _s35_ = "DesignMainStrandMovingProps.helices", @@ -142362,67 +141386,54 @@ 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; - t2 = domain_first.get$offset_5p(); - t3 = domain_first.forward; - t4 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - start_svg = t1.svg_base_pos$4(t2, t3, helix_svg_position_y, t4.get$geometry(t4)); + start_svg = t1.svg_base_pos$4(domain_first.get$offset_5p(), domain_first.forward, helix_svg_position_y, _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$geometry(0)); 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$.HelixGroup, t6 = type$.Domain, t7 = type$.Geometry, t8 = strand_moved.circular, 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_); + if (substrand instanceof A._$Domain) { + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$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); t9 = substrand.forward; - t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, _s36_); + t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); end_svg = helix.svg_base_pos$4(t1, t9, helix_svg_position_y, t7._as(t10 == null ? _null : t10)); B.JSArray_methods.add$1(path_cmds, "L " + A.S(end_svg.x) + " " + A.S(end_svg.y)); t1 = t2.length; t9 = t2[(i + 1) % t1]; - if (t9 instanceof A.Domain) + if (t9 instanceof A._$Domain) t1 = i < t1 - 1 || t8; else t1 = false; if (t1) { t6._as(t9); - t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, _s35_); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t10 = t9.helix; if (t3._as(t1 == null ? _null : t1)._map$_map.$index(0, t10) == null) return _null; - t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, _s35_); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t1 = t3._as(t1 == null ? _null : t1)._map$_map.$index(0, t10); t1.toString; - t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s57_); + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); helix_svg_position_y = t4._as(t11 == null ? _null : t11)._map$_map.$index(0, t1.idx).y; t11 = t9.__offset_5p; if (t11 == null) t11 = t9.__offset_5p = A.Domain.prototype.get$offset_5p.call(t9); - t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s36_); + t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); start_svg = t1.svg_base_pos$4(t11, t9.forward, helix_svg_position_y, t7._as(t12 == null ? _null : t12)); - t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s35_); + t11 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t11 = t3._as(t11 == null ? _null : t11); - t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s57_); + t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t12 = t4._as(t12 == null ? _null : t12)._map$_map.$index(0, substrand.helix).y; - t13 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s57_); + t13 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); t10 = t4._as(t13 == null ? _null : t13)._map$_map.$index(0, t10).y; - t13 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s36_); + t13 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); control = A.control_point_for_crossover_bezier_curve(substrand, t9, t11, t12, t10, t7._as(t13 == null ? _null : t13)); 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) { + } else if (substrand instanceof A._$Loopout && i > 0 && i < t1 - 1) { t9 = i - 1; if (!(t9 >= 0)) return A.ioore(t2, t9); @@ -142431,32 +141442,25 @@ if (!(t9 < t1)) return A.ioore(t2, t9); next_domain = t6._as(t2[t9]); - t9 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t9 = t9.get$props(t9).$index(0, _s35_); + t9 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t1 = prev_domain.helix; t9 = t3._as(t9 == null ? _null : t9)._map$_map.$index(0, t1); t9.toString; - t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, _s35_); + t10 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t11 = next_domain.helix; t10 = t3._as(t10 == null ? _null : t10)._map$_map.$index(0, t11); t10.toString; - t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, string$.DesignMStMvc); + t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStMvc); geometry = t5._as(t12 == null ? _null : t12).geometry; if (geometry == null) { - t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s36_); + t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s36_); geometry = t7._as(t12 == null ? _null : t12); } - t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s57_); + t12 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); prev_helix_svg_position_y = t4._as(t12 == null ? _null : t12)._map$_map.$index(0, t1).y; - t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, _s57_); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s57_); B.JSArray_methods.add$1(path_cmds, A.loopout_path_description_within_group(t9, t10, prev_domain, next_domain, substrand, false, false, prev_helix_svg_position_y, t4._as(t1 == null ? _null : t1)._map$_map.$index(0, t11).y, geometry, geometry)); - t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, _s35_); + t1 = _this.___$DesignMainStrandMovingComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t1 = t3._as(t1 == null ? _null : t1)._map$_map.$index(0, t11); t1.toString; helix = t1; @@ -142477,7 +141481,7 @@ call$0() { return new A._$DesignMainStrandMovingComponent(null); }, - $signature: 496 + $signature: 494 }; A._$$DesignMainStrandMovingProps.prototype = { get$$$isClassGenerated() { @@ -142513,7 +141517,7 @@ return "DesignMainStrandMoving"; }, get$$$defaultConsumedProps() { - return B.Map_Jeg27.get$values(B.Map_Jeg27); + return B.Map_TRivT.get$values(B.Map_TRivT); } }; A.$DesignMainStrandMovingProps.prototype = { @@ -142578,8 +141582,8 @@ return t1; }, $isMap: 1, - $isUiProps0: 1, $isUiProps: 1, + $isUiProps0: 1, $isTransformByHelixGroupPropsMixin: 1 }; A.DesignMainStrandPathsComponent.prototype = { @@ -142620,9 +141624,9 @@ t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); strand = t1.get$strand(); t1 = strand.substrands._list; - if (B.JSArray_methods.get$first(t1) instanceof A.Loopout) + 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) + 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); @@ -142630,24 +141634,20 @@ 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_); + if (substrand instanceof A._$Domain) { + t20 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s51_); t22 = t2._as(t22 == null ? _null : t22); - t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, _s56_); + t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); if (!A._asBool(t23 == null ? _null : t23) || t22._set.contains$1(0, t21)) { t22 = A.design_main_strand_domain___$DesignMainDomain$closure().call$0(); 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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; @@ -142655,7 +141655,7 @@ t25.toString; t25 = t24.get$groups()._map$_map.$index(0, t25.group); t25.toString; - t24 = t24.get$geometry(t24); + t24 = t24.get$geometry(0); 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; @@ -142664,8 +141664,7 @@ 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); + t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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); @@ -142673,36 +141672,30 @@ 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s41_); t26 = A._asString(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t26 = A._asBool(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_); + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); if (!t7._as(t22 == null ? _null : t22).circular) { t22 = substrand.forward; if (t22) { @@ -142744,8 +141737,7 @@ key = t26 + (t28 ? "-is_first" : ""); else key = t27 + (t23 ? "-is_last" : ""); - t29 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t29 = t29.get$props(t29).$index(0, _s50_); + t29 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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(); t30 = J.getInterceptor$x(t29); @@ -142756,7 +141748,7 @@ t32.toString; t32 = t31.get$groups()._map$_map.$index(0, t32.group); t32.toString; - t31 = t31.get$geometry(t31); + t31 = t31.get$geometry(0); 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; @@ -142764,39 +141756,32 @@ 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); + t32 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); t31 = t7._as(t31 == null ? _null : t31); J.$indexSet$ax(t30.get$props(t29), _s38_, t31.is_scaffold); 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t31 = A._asBool(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s54_); t31 = A._asBool(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t31 = A._asBool(t31 == null ? _null : t31); J.$indexSet$ax(t30.get$props(t29), _s59_0, t31); t30 = t30.get$props(t29); @@ -142805,7 +141790,7 @@ } } } - } else if (substrand instanceof A.Loopout) { + } else if (substrand instanceof A._$Loopout) { t21 = i + 1; if (!(t21 < t20)) return A.ioore(t1, t21); @@ -142814,41 +141799,33 @@ 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_); + t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t20 = prev_dom.helix; t21 = t3._as(t21 == null ? _null : t21)._map$_map.$index(0, t20); t21.toString; - t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t22 = t22.get$props(t22).$index(0, _s34_); + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t23 = next_dom.helix; t22 = t3._as(t22 == null ? _null : t22)._map$_map.$index(0, t23); t22.toString; - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s33_0); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t24 = t9._as(t24 == null ? _null : t24)._map$_map.$index(0, t21.group); t24.toString; - t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t25 = t25.get$props(t25).$index(0, _s33_0); + t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t25 = t9._as(t25 == null ? _null : t25)._map$_map.$index(0, t22.group); t25.toString; prev_geometry = t24.geometry; if (prev_geometry == null) { - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s35_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); prev_geometry = t8._as(t24 == null ? _null : t24); } next_geometry = t25.geometry; if (next_geometry == null) { - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s35_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); next_geometry = t8._as(t24 == null ? _null : t24); } - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s51_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s51_); t24 = t2._as(t24 == null ? _null : t24); - t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t25 = t25.get$props(t25).$index(0, _s56_); + t25 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); t25 = A._asBool(t25 == null ? _null : t25); if (!t25 || t24._set.contains$1(0, t20)) should = !t25 || t24._set.contains$1(0, t23); @@ -142864,76 +141841,62 @@ J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.next_domain", next_dom); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.prev_helix", t21); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.next_helix", t22); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, string$.DesignMStPasel); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPasel); t24 = t14._as(t24 == null ? _null : t24)._set.contains$1(0, substrand); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.selected", t24); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, string$.DesignMStPash); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPash); t24 = A._asBool(t24 == null ? _null : t24); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.show_domain_names", t24); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s34_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t24 = t3._as(t3._as(t24 == null ? _null : t24)); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.helices", t24); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s33_0); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t24 = t9._as(t9._as(t24 == null ? _null : t24)); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.groups", t24); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s35_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t24 = t8._as(t24 == null ? _null : t24); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.geometry", t24); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.prev_geometry", prev_geometry); J.$indexSet$ax(t23.get$props(t20), "DesignMainLoopoutProps.next_geometry", next_geometry); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s56_0); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_0); t21 = t5._as(t24 == null ? _null : t24)._map$_map.$index(0, t21.idx).y; J.$indexSet$ax(t23.get$props(t20), string$.DesignMLPp, t21); - t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t21 = t21.get$props(t21).$index(0, _s56_0); + t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_0); t21 = t5._as(t21 == null ? _null : t21)._map$_map.$index(0, t22.idx).y; J.$indexSet$ax(t23.get$props(t20), string$.DesignMLPn, t21); - t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t21 = t21.get$props(t21).$index(0, _s59_); + t21 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t21 = A._asBool(t21 == null ? _null : t21); J.$indexSet$ax(t23.get$props(t20), string$.DesignMLPr, t21); t23 = t23.get$props(t20); J.$indexSet$ax(t23, _s3_, "loopout-" + i); B.JSArray_methods.add$1(paths, t20.call$0()); } - } else if (substrand instanceof A.Extension) { + } else if (substrand instanceof A._$Extension) { t21 = substrand.is_5p; is_5p_str = t21 ? "5'" : "3'"; 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t22 = adj_dom.helix; t20 = t3._as(t20 == null ? _null : t20)._map$_map.$index(0, t22); t20.toString; - t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, _s51_); + t23 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s51_); t23 = t2._as(t23 == null ? _null : t23); - t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s56_); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); if (!A._asBool(t24 == null ? _null : t24) || t23._set.contains$1(0, t22)) { t22 = A.design_main_strand_extension___$DesignMainExtension$closure().call$0(); t23 = J.getInterceptor$x(t22); 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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); @@ -142943,28 +141906,24 @@ t26.toString; t26 = t24.get$groups()._map$_map.$index(0, t26.group); t26.toString; - t24 = t24.get$geometry(t24); + t24 = t24.get$geometry(0); 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); + t26 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t24 = A._asBool(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s41_); t24 = A._asString(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_0); t24 = t5._as(t24 == null ? _null : t24)._map$_map.$index(0, t25); t24.toString; t6._as(t24); @@ -142980,8 +141939,7 @@ 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_); + t22 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s50_); end_selected = t12._as(t22 == null ? _null : t22)._set.contains$1(0, end); t22 = A.design_main_strand_dna_end___$DesignMainDNAEnd$closure().call$0(); t23 = J.getInterceptor$x(t22); @@ -142993,7 +141951,7 @@ t24.toString; t24 = t21.get$groups()._map$_map.$index(0, t24.group); t24.toString; - t21 = t21.get$geometry(t21); + t21 = t21.get$geometry(0); 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; @@ -143001,39 +141959,32 @@ 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); + t24 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_); t20 = t7._as(t20 == null ? _null : t20); J.$indexSet$ax(t23.get$props(t22), _s38_, t20.is_scaffold); 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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s42_); t20 = A._asBool(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s54_); t20 = A._asBool(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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$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 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t20 = A._asBool(t20 == null ? _null : t20); J.$indexSet$ax(t23.get$props(t22), _s59_0, t20); t23 = t23.get$props(t22); @@ -143056,18 +142007,14 @@ return A.ioore(t1, t11); next_domain = t4._as(t1[t11]); t11 = prev_domain.helix; - t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s51_); + t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s51_); t12 = t2._as(t13 == null ? _null : t13); - t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s56_); + t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); draw_prev_domain = !A._asBool(t13 == null ? _null : t13) || t12._set.contains$1(0, t11); t12 = next_domain.helix; - t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s51_); + t13 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s51_); t13 = t2._as(t13 == null ? _null : t13); - t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s56_); + t14 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_); draw_next_domain = !A._asBool(t14 == null ? _null : t14) || t13._set.contains$1(0, t12); if (draw_prev_domain && draw_next_domain) { t13 = strand.__crossovers; @@ -143084,34 +142031,27 @@ t14 = J.getInterceptor$x(t13); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.crossover", crossover); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.strand", strand); - t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s34_); + t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t15 = t3._as(t3._as(t15 == null ? _null : t15)); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.helices", t15); - t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s33_0); + t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s33_0); t15 = t9._as(t9._as(t15 == null ? _null : t15)); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.groups", t15); - t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignMStPasec); + t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStPasec); t15 = t10._as(t15 == null ? _null : t15)._set.contains$1(0, crossover); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.selected", t15); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop, prev_domain); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon, next_domain); - t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s35_); + t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s35_); t15 = t8._as(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), "DesignMainStrandCrossoverProps.geometry", t15); - t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s56_0); + t15 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_0); t11 = t5._as(t15 == null ? _null : t15)._map$_map.$index(0, t11).y; J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCop_, t11); - t11 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s56_0); + t11 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s56_0); t11 = t5._as(t11 == null ? _null : t11)._map$_map.$index(0, t12).y; J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCon_, t11); - t11 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s59_); + t11 = _this.___$DesignMainStrandPathsComponent__cachedTypedProps_A.get$props(0).$index(0, _s59_); t11 = A._asBool(t11 == null ? _null : t11); J.$indexSet$ax(t14.get$props(t13), string$.DesignMStCor, t11); t14 = t14.get$props(t13); @@ -143127,7 +142067,7 @@ call$0() { return new A._$DesignMainStrandPathsComponent(null); }, - $signature: 497 + $signature: 495 }; A._$$DesignMainStrandPathsProps.prototype = { get$$$isClassGenerated() { @@ -143163,7 +142103,7 @@ return "DesignMainStrandPaths"; }, get$$$defaultConsumedProps() { - return B.Map_l36TA.get$values(B.Map_l36TA); + return B.Map_ggVZD.get$values(B.Map_ggVZD); } }; A.$DesignMainStrandPathsProps.prototype = { @@ -143206,9 +142146,9 @@ type$.AppState._as(state); return A.set_design_main_strands_props(A.design_main_strands___$DesignMainStrands$closure().call$0(), state); }, - $signature: 498 + $signature: 496 }; - A.DesignMainStrandsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandsProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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, t22, key, t23, helices_used_in_strand_mutable, t24, t25, t26, t27, helices_used_in_strand, group_names_in_strand, t28, 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, @@ -143217,7 +142157,7 @@ elts = A._setArrayType([], type$.JSArray_ReactElement), t1 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "DesignMainStrandsProps.strands"); + t1 = t1.get$props(0).$index(0, "DesignMainStrandsProps.strands"); if (t1 == null) t1 = _null; t1 = type$.BuiltList_Strand._as(t1)._list; @@ -143262,72 +142202,57 @@ for (; t24.moveNext$0();) { t26 = t24.__interceptors$_current; t26 = (t26 == null ? t25._as(t26) : t26).helix; - t27 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t27 = t27.get$props(t27).$index(0, "DesignMainStrandsProps.helices"); + t27 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.helices"); t27 = t7._as(t27 == null ? _null : t27)._map$_map.$index(0, t26); t27.toString; helices_used_in_strand_mutable.$indexSet(0, t26, t27); } helices_used_in_strand = A.BuiltMap_BuiltMap$of(helices_used_in_strand_mutable, t20, t21); - if (helices_used_in_strand._values == null) { - t24 = helices_used_in_strand._map$_map; - helices_used_in_strand.set$_values(t24.get$values(t24)); - } + if (helices_used_in_strand._values == null) + helices_used_in_strand.set$_values(helices_used_in_strand._map$_map.get$values(0)); t24 = helices_used_in_strand._values; t24.toString; t25 = A._instanceType(t24); group_names_in_strand = A.MappedIterable_MappedIterable(t24, t25._eval$1("String(Iterable.E)")._as(new A.DesignMainStrandsComponent_render_closure()), t25._eval$1("Iterable.E"), t18); t25 = A.LinkedHashMap_LinkedHashMap$_empty(t18, t19); - for (t24 = A._instanceType(group_names_in_strand), t24 = t24._eval$1("@<1>")._bind$1(t24._rest[1]), t26 = new A.MappedIterator(J.get$iterator$ax(group_names_in_strand.__internal$_iterable), group_names_in_strand._f, t24._eval$1("MappedIterator<1,2>")), t24 = t24._rest[1]; t26.moveNext$0();) { + for (t24 = A._instanceType(group_names_in_strand), t26 = new A.MappedIterator(J.get$iterator$ax(group_names_in_strand.__internal$_iterable), group_names_in_strand._f, t24._eval$1("MappedIterator<1,2>")), t24 = t24._rest[1]; t26.moveNext$0();) { t27 = t26.__internal$_current; if (t27 == null) t27 = t24._as(t27); - t28 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t28 = t28.get$props(t28).$index(0, "DesignMainStrandsProps.groups"); + t28 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.groups"); t28 = t8._as(t28 == null ? _null : t28)._map$_map.$index(0, t27); t28.toString; t25.$indexSet(0, t27, t28); } groups_in_strand = A.BuiltMap_BuiltMap$of(t25, t18, t19); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_ends_in_strand = t6._as(t24 == null ? _null : t24).selected_ends_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_crossovers_in_strand = t6._as(t24 == null ? _null : t24).selected_crossovers_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_loopouts_in_strand = t6._as(t24 == null ? _null : t24).selected_loopouts_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_extensions_in_strand = t6._as(t24 == null ? _null : t24).selected_extensions_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_domains_in_strand = t6._as(t24 == null ? _null : t24).selected_domains_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_deletions_in_strand = t6._as(t24 == null ? _null : t24).selected_deletions_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_insertions_in_strand = t6._as(t24 == null ? _null : t24).selected_insertions_in_strand$1(t23); - t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t24 = t24.get$props(t24).$index(0, _s40_); + t24 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); selected_modifications_in_strand = t6._as(t24 == null ? _null : t24).selected_modifications_in_strand$1(t23); t24 = A.design_main_strand___$DesignMainStrand$closure().call$0(); t25 = J.getInterceptor$x(t24); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.strand", t23); - t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t26 = t26.get$props(t26).$index(0, _s52_); + t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s52_); if (A._asBool(t26 == null ? _null : t26)) { - t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t26 = t26.get$props(t26).$index(0, string$.DesignMStsPsi); + t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPsi); t26 = t22._as(t26 == null ? _null : t26); } else t26 = _null; t17._as(t26); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrsi, t26); - t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t26 = t26.get$props(t26).$index(0, _s40_); + t26 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s40_); t23 = t6._as(t26 == null ? _null : t26).selected_items._set.contains$1(0, t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.selected", t23); t7._as(helices_used_in_strand); @@ -143350,84 +142275,64 @@ J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrsei, selected_insertions_in_strand); t16._as(selected_modifications_in_strand); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrsem, selected_modifications_in_strand); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPdr); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPdr); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrdr, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, "DesignMainStrandsProps.moving_dna_ends"); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.moving_dna_ends"); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.moving_dna_ends", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPdn); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPdn); t23 = t5._as(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.dna_assign_options", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, _s52_); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, _s52_); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPro, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, "DesignMainStrandsProps.show_dna"); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.show_dna"); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_dna", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPshm); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPshm); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_modifications", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, "DesignMainStrandsProps.show_strand_names"); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.show_strand_names"); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_strand_names", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPshs); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPshs); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_strand_labels", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, "DesignMainStrandsProps.show_domain_names"); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.show_domain_names"); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_domain_names", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPshd); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPshd); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.show_domain_labels", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPstn); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPstn); t23 = A._asDouble(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrstn, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPstl); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPstl); t23 = A._asDouble(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrstl, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPdon); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPdon); t23 = A._asDouble(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrdon, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPdol); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPdol); t23 = A._asDouble(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrdol, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPmf); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPmf); t23 = A._asDouble(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrmf, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPmd); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPmd); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrmd, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, "DesignMainStrandsProps.geometry"); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsProps.geometry"); t23 = t4._as(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), "DesignMainStrandProps.geometry", t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPh); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPh); t23 = t3._as(t3._as(t23 == null ? _null : t23)); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrh, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPdi); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPdi); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrdi, t23); - t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A; - t23 = t23.get$props(t23).$index(0, string$.DesignMStsPr); + t23 = _this.___$DesignMainStrandsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsPr); t23 = A._asBool(t23 == null ? _null : t23); J.$indexSet$ax(t25.get$props(t24), string$.DesignMStPrr, t23); key0 = key + 1; @@ -143444,13 +142349,13 @@ call$1(helix) { return type$.Helix._as(helix).group; }, - $signature: 499 + $signature: 497 }; A.$DesignMainStrandsComponentFactory_closure.prototype = { call$0() { return new A._$DesignMainStrandsComponent(null); }, - $signature: 500 + $signature: 498 }; A._$$DesignMainStrandsProps.prototype = { get$$$isClassGenerated() { @@ -143485,7 +142390,7 @@ return "DesignMainStrands"; }, get$$$defaultConsumedProps() { - return B.Map_S7wAg.get$values(B.Map_S7wAg); + return B.Map_88GTa.get$values(B.Map_88GTa); } }; A.$DesignMainStrandsProps.prototype = {}; @@ -143497,25 +142402,23 @@ type$.AppState._as(state); return A.set_design_main_strands_moving_props(A.design_main_strands_moving___$DesignMainStrandsMoving$closure().call$0(), state); }, - $signature: 501 + $signature: 499 }; - A.DesignMainStrandsMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainStrandsMovingProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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, t22, key, 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); + t1 = t1.get$props(0).$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); + t2 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$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); + t3 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsMo); if (t3 == null) t3 = _null; type$.nullable_BuiltMap_int_int._as(t3); @@ -143556,25 +142459,20 @@ J.$indexSet$ax(t24.get$props(t23), string$.DesignMStMvc, t2); J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandMovingProps.delta_offset", t22); J.$indexSet$ax(t24.get$props(t23), string$.DesignMStMvdf, t18); - t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMsi); + t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsMsi); t15 = t13._as(t13._as(t15 == null ? _null : t15)); J.$indexSet$ax(t24.get$props(t23), string$.DesignMStMvs, t15); - t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.helices"); + t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsMovingProps.helices"); t15 = t12._as(t12._as(t15 == null ? _null : t15)); J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandMovingProps.helices", t15); - t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.groups"); + t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsMovingProps.groups"); t15 = t11._as(t11._as(t15 == null ? _null : t15)); J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandMovingProps.groups", t15); J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandMovingProps.allowable", t5); - t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignMainStrandsMovingProps.geometry"); + t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignMainStrandsMovingProps.geometry"); t15 = t10._as(t15 == null ? _null : t15); J.$indexSet$ax(t24.get$props(t23), "DesignMainStrandMovingProps.geometry", t15); - t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignMStsMh); + t15 = _this.___$DesignMainStrandsMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMStsMh); t15 = t9._as(t9._as(t15 == null ? _null : t15)); J.$indexSet$ax(t24.get$props(t23), string$.DesignMStMvh, t15); key0 = key + 1; @@ -143589,7 +142487,7 @@ call$0() { return new A._$DesignMainStrandsMovingComponent(null); }, - $signature: 502 + $signature: 500 }; A._$$DesignMainStrandsMovingProps.prototype = { get$$$isClassGenerated() { @@ -143624,13 +142522,13 @@ return "DesignMainStrandsMoving"; }, get$$$defaultConsumedProps() { - return B.Map_6V6J9.get$values(B.Map_6V6J9); + return B.Map_0WWbH.get$values(B.Map_0WWbH); } }; A.$DesignMainStrandsMovingProps.prototype = {}; A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps.prototype = {}; A.__$$DesignMainStrandsMovingProps_UiProps_DesignMainStrandsMovingProps_$DesignMainStrandsMovingProps.prototype = {}; - A.DesignMainUnpairedInsertionDeletionsProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignMainUnpairedInsertionDeletionsProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainUnpairedInsertionDeletionsComponent.prototype = { render$0(_) { var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, ret, domain_components, t14, t15, t16, t17, t18, t19, geometry, t20, base_svg_pos, key, translate_svg, _this = this, _null = null, @@ -143668,8 +142566,7 @@ t11 = t9.__interceptors$_current; if (t11 == null) t11 = t10._as(t11); - t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s48_); + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t12 = t4._as(t12 == null ? _null : t12); t13 = t12.__unpaired_insertion_deletion_map; if (t13 == null) { @@ -143686,31 +142583,25 @@ t17 = t12.__interceptors$_current; if (t17 == null) t17 = t13._as(t17); - t18 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t18 = t18.get$props(t18).$index(0, _s48_); + t18 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t18 = t4._as(t18 == null ? _null : t18).helices._map$_map.$index(0, t14); t18.toString; - t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, string$.DesignMUo); + t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMUo); if (A._asBool(t19 == null ? _null : t19)) { - t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, string$.DesignMUs); + t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMUs); t19 = t5._as(t19 == null ? _null : t19)._set.contains$1(0, t18.idx); } else t19 = true; if (t19) { - t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, _s48_); + t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t19 = t4._as(t19 == null ? _null : t19).groups._map$_map.$index(0, t18.group); t19.toString; geometry = t19.geometry; if (geometry == null) { - t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, _s48_); + t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); geometry = t4._as(t19 == null ? _null : t19).geometry; } - t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, string$.DesignMUh); + t19 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignMUh); t19 = t6._as(t19 == null ? _null : t19)._map$_map.$index(0, t18.idx); t19.toString; t20 = t17.offset; @@ -143749,16 +142640,13 @@ } } } - t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t12 = t12.get$props(t12).$index(0, _s48_); + t12 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t12 = t4._as(t12 == null ? _null : t12).helices._map$_map.$index(0, t14); t12.toString; - t13 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s48_); + t13 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t12 = t4._as(t13 == null ? _null : t13).groups._map$_map.$index(0, t12.group); t12.toString; - t13 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s48_); + t13 = _this.___$DesignMainUnpairedInsertionDeletionsComponent__cachedTypedProps_A.get$props(0).$index(0, _s48_); t13 = t4._as(t13 == null ? _null : t13).geometry; t16 = t12.position; t17 = t13.__nm_to_svg_pixels; @@ -143767,9 +142655,8 @@ if (domain_components.length !== 0) { t13 = A.SvgProps$($.$get$g(), _null); t16 = t13.props; - t17 = t16.jsObject; - t17.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t12.pitch) + ")"); - t17.className = A.DartValueWrapper_wrapIfNeeded("mismatch-components-in-domain"); + t16.jsObject.transform = A.DartValueWrapper_wrapIfNeeded("translate(" + A.S(translate_svg.z) + ", " + A.S(translate_svg.y) + ") rotate(" + A.S(t12.pitch) + ")"); + t16.$indexSet(0, "className", "mismatch-components-in-domain"); t12 = t11.start; t11 = t11.end; t15 = t15 ? "forward" : "reverse"; @@ -143787,7 +142674,7 @@ call$0() { return new A._$DesignMainUnpairedInsertionDeletionsComponent(null); }, - $signature: 503 + $signature: 501 }; A._$$DesignMainUnpairedInsertionDeletionsProps.prototype = { get$$$isClassGenerated() { @@ -143822,7 +142709,7 @@ return "DesignMainUnpairedInsertionDeletions"; }, get$$$defaultConsumedProps() { - return B.Map_YqOzp.get$values(B.Map_YqOzp); + return B.Map_U8Cnc.get$values(B.Map_U8Cnc); } }; A.$DesignMainUnpairedInsertionDeletionsProps.prototype = { @@ -143836,21 +142723,19 @@ 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.DesignMainWarningStarProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignMainWarningStarComponent.prototype = { render$0(_) { - var rotate_degrees, x0, t2, y0, i, points, t3, _this = this, + var rotate_degrees, x0, y0, i, points, _this = this, 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"); + t1 = t1.get$props(0).$index(0, "DesignMainWarningStarProps.forward"); rotate_degrees = !A._asBool(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(); - t2 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A; - y0 = t1.y - t2.get$geometry(t2).get$base_width_svg(); + y0 = _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$base_svg_pos().y - _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$geometry(0).get$base_width_svg(); for (i = 0; i < xs.length; ++i) { t1 = xs[i]; if (typeof t1 !== "number") @@ -143873,10 +142758,7 @@ t1 = A.SvgProps$($.$get$polygon(), null); t1.set$className(0, "warning-star"); 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", t2, "fill", t3.get$color(t3)], type$.String, type$.dynamic))); + t1.set$_raw$DomProps$style(type$.nullable_Map_String_dynamic._as(A.LinkedHashMap_LinkedHashMap$_literal(["stroke", _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$color(0), "fill", _this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$color(0)], 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(); }, @@ -143887,9 +142769,8 @@ 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.___$DesignMainWarningStarComponent__cachedTypedProps_A; - outer_radius = 0.65 * t1.get$geometry(t1).get$base_width_svg(); + inner_radius = 0.4 * t1.get$geometry(0).get$base_width_svg(); + outer_radius = 0.65 * this.___$DesignMainWarningStarComponent__cachedTypedProps_A.get$geometry(0).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); @@ -143909,7 +142790,7 @@ call$0() { return new A._$DesignMainWarningStarComponent(null); }, - $signature: 504 + $signature: 502 }; A._$$DesignMainWarningStarProps.prototype = { get$$$isClassGenerated() { @@ -143944,7 +142825,7 @@ return "DesignMainWarningStar"; }, get$$$defaultConsumedProps() { - return B.Map_2R4e8.get$values(B.Map_2R4e8); + return B.Map_iDhCt.get$values(B.Map_iDhCt); } }; A.$DesignMainWarningStarProps.prototype = { @@ -143972,9 +142853,9 @@ type$.AppState._as(state); return A.set_design_side_props(A.design_side___$DesignSide$closure().call$0(), state); }, - $signature: 505 + $signature: 503 }; - A.DesignSideProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignSideComponent.prototype = { render$0(_) { var t2, t3, t4, helices_components, t5, t6, t7, t8, t9, t10, t11, t12, t13, mouse_is_over, t14, t15, t16, t17, t18, mouse_pos_nm_3d, t19, distance, should_display_potential_helix, _this = this, _null = null, @@ -143984,7 +142865,7 @@ _s17_ = "helices-side-view", t1 = _this.___$DesignSideComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "DesignSideProps.rotation_datas"); + t1 = t1.get$props(0).$index(0, "DesignSideProps.rotation_datas"); if (t1 == null) t1 = _null; t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.DesignSideRotationData); @@ -143994,20 +142875,18 @@ t4 = t3._as(t4); t2.$indexSet(0, t4.helix.idx, t4); } - t1 = _this.___$DesignSideComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignSideProps.helix_idxs_selected"); + t1 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideProps.helix_idxs_selected"); if (t1 == null) t1 = _null; 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 = t4._eval$1("@<1>")._bind$1(t4._rest[1]), t3 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("MappedIterator<1,2>")), t1 = t1._set, t5 = type$.BuiltSet_EditModeChoice, t6 = type$.HelixGroup, t7 = type$.Geometry, t4 = t4._rest[1], t8 = type$.nullable_GridPosition, t9 = type$.nullable_Point_double, t10 = type$.Point_double; t3.moveNext$0();) { + for (t3 = _this.___$DesignSideComponent__cachedTypedProps_A.get$helices().get$values(0), t4 = A._instanceType(t3), t3 = new A.MappedIterator(J.get$iterator$ax(t3.__internal$_iterable), t3._f, t4._eval$1("MappedIterator<1,2>")), t1 = t1._set, t5 = type$.BuiltSet_EditModeChoice, t6 = type$.HelixGroup, t7 = type$.Geometry, t4 = t4._rest[1], t8 = type$.nullable_GridPosition, t9 = type$.nullable_Point_double, t10 = type$.Point_double; t3.moveNext$0();) { t11 = t3.__internal$_current; if (t11 == null) t11 = t4._as(t11); t12 = t11.grid_position; if (t12 != null) { - t13 = _this.___$DesignSideComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.DesignSPrg); + t13 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignSPrg); t13 = J.$eq$(t8._as(t13 == null ? _null : t13), t12); } else t13 = false; @@ -144016,21 +142895,17 @@ else { t13 = t11.grid; if (t13 === B.Grid_none) { - t14 = _this.___$DesignSideComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s29_); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t14 = t9._as(t14 == null ? _null : t14) != null; } else t14 = false; if (t14) { - t14 = _this.___$DesignSideComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s29_); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s29_); t14 = t9._as(t14 == null ? _null : t14); t14.toString; - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s24_); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_); t15 = A._asBool(t15 == null ? _null : t15); - t16 = _this.___$DesignSideComponent__cachedTypedProps_A; - t16 = t16.get$props(t16).$index(0, _s24_0); + t16 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_0); t16 = t7._as(t16 == null ? _null : t16); t17 = t16.__nm_to_svg_pixels; if (t17 == null) { @@ -144043,8 +142918,7 @@ mouse_pos_nm_3d = A.Position3D_Position3D(t14.x / t16 * t18, t14.y / t17 * t15, 0); t15 = mouse_pos_nm_3d.x; t17 = mouse_pos_nm_3d.y; - t14 = _this.___$DesignSideComponent__cachedTypedProps_A; - t14 = t14.get$props(t14).$index(0, _s24_0); + t14 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_0); t14 = t7._as(t14 == null ? _null : t14); t16 = t11.position_; t18 = t16 == null; @@ -144053,8 +142927,7 @@ t14 = A.grid_position_to_position3d(t12, t13, t14); } else t14 = t16; - t19 = _this.___$DesignSideComponent__cachedTypedProps_A; - t19 = t19.get$props(t19).$index(0, _s24_0); + t19 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_0); t19 = t7._as(t19 == null ? _null : t19); if (t18) { t12.toString; @@ -144065,42 +142938,34 @@ t15 = t14.x - t15; t17 = t13.y - t17; distance = Math.sqrt(t15 * t15 + t17 * t17); - t13 = _this.___$DesignSideComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, _s24_0); - mouse_is_over = distance < t7._as(t13 == null ? _null : t13).helix_radius && true; + t13 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_0); + mouse_is_over = distance < t7._as(t13 == null ? _null : t13).helix_radius; } else mouse_is_over = false; } t13 = A.design_side_helix___$DesignSideHelix$closure().call$0(); t14 = J.getInterceptor$x(t13); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.helix", t11); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s24_0); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_0); t15 = t7._as(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.geometry", t15); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignSideProps.slice_bar_offset"); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideProps.slice_bar_offset"); t15 = A._asIntQ(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.slice_bar_offset", t15); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignSideProps.displayed_group"); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideProps.displayed_group"); t15 = t6._as(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.grid", t15.grid); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, _s24_); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, _s24_); t15 = A._asBool(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.invert_y", t15); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, string$.DesignSPrh); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignSPrh); t15 = A._asBool(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), string$.DesignSHh, t15); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignSideProps.edit_modes"); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideProps.edit_modes"); t15 = t5._as(t5._as(t15 == null ? _null : t15)); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.edit_modes", t15); J.$indexSet$ax(t14.get$props(t13), "DesignSideHelixProps.mouse_is_over", mouse_is_over); - t15 = _this.___$DesignSideComponent__cachedTypedProps_A; - t15 = t15.get$props(t15).$index(0, "DesignSideProps.show_grid_coordinates"); + t15 = _this.___$DesignSideComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideProps.show_grid_coordinates"); t15 = A._asBool(t15 == null ? _null : t15); J.$indexSet$ax(t14.get$props(t13), string$.DesignSHs, t15); t15 = t11.idx; @@ -144116,7 +142981,7 @@ } 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 = t3._eval$1("@<1>")._bind$1(t3._rest[1]), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { + for (t2 = _this.___$DesignSideComponent__cachedTypedProps_A.get$helices().get$values(0), t3 = A._instanceType(t2), t2 = new A.MappedIterator(J.get$iterator$ax(t2.__internal$_iterable), t2._f, t3._eval$1("MappedIterator<1,2>")), t3 = t3._rest[1]; t2.moveNext$0();) { t4 = t2.__internal$_current; t4 = (t4 == null ? t3._as(t4) : t4).grid_position; t4.toString; @@ -144136,8 +143001,7 @@ t4 = _this.___$DesignSideComponent__cachedTypedProps_A.get$displayed_group(); t5 = J.getInterceptor$x(t3); J.$indexSet$ax(t5.get$props(t3), "DesignSidePotentialHelixProps.grid", t4.grid); - t4 = _this.___$DesignSideComponent__cachedTypedProps_A; - t4 = t4.get$geometry(t4); + t4 = _this.___$DesignSideComponent__cachedTypedProps_A.get$geometry(0); 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); @@ -144168,13 +143032,13 @@ return A.iae(t1); return 2 / t1; }, - $signature: 65 + $signature: 63 }; A.$DesignSideComponentFactory_closure.prototype = { call$0() { return new A._$DesignSideComponent(null); }, - $signature: 506 + $signature: 504 }; A._$$DesignSideProps.prototype = { get$$$isClassGenerated() { @@ -144209,7 +143073,7 @@ return "DesignSide"; }, get$$$defaultConsumedProps() { - return B.Map_gGnZA.get$values(B.Map_gGnZA); + return B.Map_vrAzp.get$values(B.Map_vrAzp); } }; A.$DesignSideProps.prototype = { @@ -144251,32 +143115,28 @@ 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.DesignSideHelixProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignSideHelixComponent.prototype = { render$0(_) { - var classname_circle, t2, pos, position_str, grid_position_str, t3, forward_angle, reverse_angle, t4, tooltip, pos3d, center, _this = this, _null = null, + var classname_circle, t2, pos, position_str, grid_position_str, forward_angle, reverse_angle, t3, 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"); + t1 = t1.get$props(0).$index(0, "DesignSideHelixProps.selected"); classname_circle = A._asBool(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"); + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideHelixProps.mouse_is_over"); if (A._asBool(t1 == null ? _null : t1) && _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$edit_modes()._set.contains$1(0, B.EditModeChoice_pencil)) classname_circle += " deletable"; - t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "DesignSideHelixProps.grid"); + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideHelixProps.grid"); if (t1 == null) t1 = _null; type$.Grid._as(t1); t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; if (t1 === B.Grid_none) { - t1 = t2.get$helix(); - t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - pos = t1.position3d$1(t2.get$geometry(t2)); - t2 = pos.x; - t1 = pos.y; - position_str = B.JSNumber_methods.toStringAsFixed$1(t2, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t1, 1); - grid_position_str = B.JSNumber_methods.toStringAsFixed$1(t2, 1) + "," + B.JSNumber_methods.toStringAsFixed$1(t1, 1); + pos = t2.get$helix().position3d$1(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0)); + t1 = pos.x; + t2 = pos.y; + position_str = B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(t2, 1); + grid_position_str = B.JSNumber_methods.toStringAsFixed$1(t1, 1) + "," + B.JSNumber_methods.toStringAsFixed$1(t2, 1); } else { pos = t2.get$helix().grid_position; position_str = "" + pos.h + ", " + pos.v; @@ -144286,16 +143146,14 @@ t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix(); t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$slice_bar_offset(); t2.toString; - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - forward_angle = t1.backbone_angle_at_offset$3(t2, true, t3.get$geometry(t3)); + forward_angle = t1.backbone_angle_at_offset$3(t2, true, _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0)); } 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; - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - reverse_angle = t1.backbone_angle_at_offset$3(t2, false, t3.get$geometry(t3)); + reverse_angle = t1.backbone_angle_at_offset$3(t2, false, _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0)); } else reverse_angle = _null; t1 = B.JSNumber_methods.toStringAsFixed$1(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().roll, 1); @@ -144305,8 +143163,7 @@ 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); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - t4.set$r(0, A.S(t3.get$geometry(t3).get$helix_radius_svg())); + t4.set$r(0, A.S(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0).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"); @@ -144317,48 +143174,39 @@ t3.set$id(0, "side-view-helix-text-" + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); t3.set$onClick(0, new A.DesignSideHelixComponent_render_closure0(_this)); t3.set$key(0, "text-idx"); - t1 = B.JSInt_methods.toString$0(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); - t1 = A._setArrayType([t4, t3.call$2(t1, A.SvgProps$($.$get$title(), _null).call$1(tooltip))], type$.JSArray_ReactElement); - t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.DesignSHs); - if (A._asBool(t2 == null ? _null : t2)) { - t2 = A.SvgProps$($.$get$text(), _null); - t2.set$fontSize(0, 10); - t2.set$dominantBaseline("text-before-edge"); - t2.set$textAnchor("middle"); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - t2.set$y(0, t3.get$geometry(t3).get$helix_radius_svg() / 2); - t2.set$key(0, "text-grid-position"); - t1.push(t2.call$1(grid_position_str)); - } - t2 = A.SvgProps$($.$get$title(), _null); - t2.set$key(0, "text-grid-position-tooltip"); - t1.push(t2.call$1(tooltip)); + t3 = A._setArrayType([t4, t3.call$2(B.JSInt_methods.toString$0(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx), A.SvgProps$($.$get$title(), _null).call$1(tooltip))], type$.JSArray_ReactElement); + t1 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignSHs); + if (A._asBool(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.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0).get$helix_radius_svg() / 2); + t1.set$key(0, "text-grid-position"); + t3.push(t1.call$1(grid_position_str)); + } + t1 = A.SvgProps$($.$get$title(), _null); + t1.set$key(0, "text-grid-position-tooltip"); + t3.push(t1.call$1(tooltip)); if (_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$rotation_data() != null) { - t2 = A.design_side_rotation___$DesignSideRotation$closure().call$0(); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - t3 = t3.get$geometry(t3).get$helix_radius_svg(); - t4 = J.getInterceptor$x(t2); - J.$indexSet$ax(t4.get$props(t2), "DesignSideRotationProps.radius", t3); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$rotation_data(); - t3.toString; - J.$indexSet$ax(t4.get$props(t2), "DesignSideRotationProps.data", t3); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(); - J.$indexSet$ax(t4.get$props(t2), "DesignSideRotationProps.invert_y", t3); - t4.set$className(t2, "side-view-helix-rotation"); - t4.set$key(t2, "rotation"); - B.JSArray_methods.add$1(t1, t2.call$0()); - } - t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix(); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - pos3d = t2.position3d$1(t3.get$geometry(t3)); - t3 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(); - t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A; - center = A.position3d_to_side_view_svg(pos3d, t3, t2.get$geometry(t2)); - t2 = A.SvgProps$($.$get$g(), _null); - t2.set$transform(0, "translate(" + A.S(center.x) + " " + A.S(center.y) + ")"); - t2.set$id(0, "helix-side-view-" + _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().idx); - return t2.call$1(t1); + t1 = A.design_side_rotation___$DesignSideRotation$closure().call$0(); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0).get$helix_radius_svg(); + t4 = J.getInterceptor$x(t1); + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.radius", t2); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$rotation_data(); + t2.toString; + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.data", t2); + t2 = _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(); + J.$indexSet$ax(t4.get$props(t1), "DesignSideRotationProps.invert_y", t2); + t4.set$className(t1, "side-view-helix-rotation"); + t4.set$key(t1, "rotation"); + B.JSArray_methods.add$1(t3, t1.call$0()); + } + center = A.position3d_to_side_view_svg(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$helix().position3d$1(_this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0)), _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$invert_y(), _this.___$DesignSideHelixComponent__cachedTypedProps_A.get$geometry(0)); + t1 = A.SvgProps$($.$get$g(), _null); + 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(t3); }, componentDidMount$0() { var elt, @@ -144396,8 +143244,7 @@ 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); + t3 = this.___$DesignSideHelixComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignSHh); t2 = A.context_menu_helix(t2, A._asBool(t3 == null ? null : t3)); t3 = ev.pageX; t3.toString; @@ -144446,7 +143293,7 @@ call$0() { return new A._$DesignSideHelixComponent(null); }, - $signature: 507 + $signature: 505 }; A._$$DesignSideHelixProps.prototype = { get$$$isClassGenerated() { @@ -144481,7 +143328,7 @@ return "DesignSideHelix"; }, get$$$defaultConsumedProps() { - return B.Map_IImDg.get$values(B.Map_IImDg); + return B.Map_hv4m4.get$values(B.Map_hv4m4); } }; A.$DesignSideHelixProps.prototype = { @@ -144521,17 +143368,16 @@ 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.DesignSidePotentialHelixProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignSidePotentialHelixComponent.prototype = { render$0(_) { var grid, svg_ideal_pos, t2, t3, t4, point, pos, tooltip, _this = this, _null = null, t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t1.get$grid(t1) !== B.Grid_none) + if (t1.get$grid(0) !== B.Grid_none) if (_this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid_position() == null) return _null; - t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; - grid = t1.get$grid(t1); + grid = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid(0); t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; if (grid === B.Grid_none) { t1 = t1.get$mouse_svg_pos(); @@ -144540,11 +143386,9 @@ } else { t1 = t1.get$grid_position(); t1.toString; - t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; - t2 = t2.get$grid(t2); + t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid(0); t3 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(); - t4 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; - t4 = t4.get$geometry(t4); + t4 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$geometry(0); if (t2 === B.Grid_square) point = new A.Point(t1.h, t1.v, type$.Point_double); else if (t2 === B.Grid_hex) @@ -144559,15 +143403,12 @@ point = new A.Point(-point.x, -point.y, type$.Point_double); svg_ideal_pos = point.$mul(0, t4.get$distance_between_helices_svg()); } - t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; - t1 = t1.get$grid(t1); + t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid(0); t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; if (t1 === B.Grid_none) { t1 = t2.get$mouse_svg_pos(); 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)); + pos = A.svg_side_view_to_position3d(t1, _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(), _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$geometry(0)); 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(); @@ -144576,23 +143417,20 @@ t1 = A.SvgProps$($.$get$circle(), _null); t1.set$cx(0, svg_ideal_pos.x); t1.set$cy(0, svg_ideal_pos.y); - t2 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; - t1.set$r(0, A.S(t2.get$geometry(t2).get$helix_radius_svg())); + t1.set$r(0, A.S(_this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$geometry(0).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($event) { - var t1, t2, t3, position, _this = this; + var t1, position, _this = this; type$.SyntheticMouseEvent._as($event); t1 = _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t1.get$grid(t1) === B.Grid_none) { + if (t1.get$grid(0) === 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)); + position = A.svg_side_view_to_position3d(t1, _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$invert_y(), _this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$geometry(0)); $.__app._readField$0().dispatch$1(A.HelixAdd_HelixAdd(null, position)); } else $.__app._readField$0().dispatch$1(A.HelixAdd_HelixAdd(_this.___$DesignSidePotentialHelixComponent__cachedTypedProps_A.get$grid_position(), null)); @@ -144602,7 +143440,7 @@ call$0() { return new A._$DesignSidePotentialHelixComponent(null); }, - $signature: 508 + $signature: 506 }; A._$$DesignSidePotentialHelixProps.prototype = { get$$$isClassGenerated() { @@ -144637,7 +143475,7 @@ return "DesignSidePotentialHelix"; }, get$$$defaultConsumedProps() { - return B.Map_qp0eX.get$values(B.Map_qp0eX); + return B.Map_6r0dN.get$values(B.Map_6r0dN); } }; A.$DesignSidePotentialHelixProps.prototype = { @@ -144672,31 +143510,27 @@ }; A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps.prototype = {}; A.__$$DesignSidePotentialHelixProps_UiProps_DesignSidePotentialHelixProps_$DesignSidePotentialHelixProps.prototype = {}; - A.DesignSideRotationProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.DesignSideRotationProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.DesignSideRotationComponent.prototype = { render$0(_) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s14_ = "rotation-arrow", t1 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$data(t1); - t2 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; - t2 = t2.get$data(t2); - t3 = _this.___$DesignSideRotationComponent__cachedTypedProps_A; - t3 = t3.get$data(t3).color_forward.toHexColor$0(); + t1 = t1.get$data(0); + t2 = _this.___$DesignSideRotationComponent__cachedTypedProps_A.get$data(0); + t3 = _this.___$DesignSideRotationComponent__cachedTypedProps_A.get$data(0).color_forward.toHexColor$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(); + t6 = _this.___$DesignSideRotationComponent__cachedTypedProps_A.get$data(0).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); + t10.set$angle_degrees(_this.___$DesignSideRotationComponent__cachedTypedProps_A.get$data(0).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()); @@ -144716,7 +143550,7 @@ call$0() { return new A._$DesignSideRotationComponent(null); }, - $signature: 509 + $signature: 507 }; A._$$DesignSideRotationProps.prototype = { get$$$isClassGenerated() { @@ -144751,7 +143585,7 @@ return "DesignSideRotation"; }, get$$$defaultConsumedProps() { - return B.Map_365me.get$values(B.Map_365me); + return B.Map_Ii5YL.get$values(B.Map_Ii5YL); } }; A.$DesignSideRotationProps.prototype = { @@ -144773,30 +143607,27 @@ 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.DesignSideRotationArrowProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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 = t1.get$props(0).$index(0, "DesignSideRotationArrowProps.radius"); mag = A._asDouble(t1 == null ? _null : t1) * 0.93; 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); + t4 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A.get$props(0).$index(0, string$.DesignSR); angle_degrees = A._asDouble(t4 == null ? _null : t4); - t4 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "DesignSideRotationArrowProps.invert_y"); + t4 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideRotationArrowProps.invert_y"); if (A._asBool(t4 == null ? _null : t4)) angle_degrees += 180; 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"); + t1 = _this.___$DesignSideRotationArrowComponent__cachedTypedProps_A.get$props(0).$index(0, "DesignSideRotationArrowProps.color"); t4.set$stroke(0, A._asString(t1 == null ? _null : t1)); t4.set$className(0, "rotation-line"); return t4.call$0(); @@ -144806,7 +143637,7 @@ call$0() { return new A._$DesignSideRotationArrowComponent(null); }, - $signature: 510 + $signature: 508 }; A._$$DesignSideRotationArrowProps.prototype = { get$$$isClassGenerated() { @@ -144841,7 +143672,7 @@ return "DesignSideRotationArrow"; }, get$$$defaultConsumedProps() { - return B.Map_OPVIs.get$values(B.Map_OPVIs); + return B.Map_xjmZ3.get$values(B.Map_xjmZ3); } }; A.$DesignSideRotationArrowProps.prototype = { @@ -144865,9 +143696,9 @@ type$.AppState._as(state); return A.set_edit_and_select_mode_props(A.edit_and_select_modes___$EditAndSelectModes$closure().call$0(), state); }, - $signature: 511 + $signature: 509 }; - A.EditAndSelectModesProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EditAndSelectModesProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.EditAndSelectModesComponent.prototype = { render$0(_) { var select_mode, t2, t3, t4, _this = this, _null = null, @@ -144878,15 +143709,13 @@ t1 = A._setArrayType([], type$.JSArray_ReactElement); if (select_mode && _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); + t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$props(0).$index(0, string$.EditAns); if (t3 == null) t3 = _null; type$.SelectModeState._as(t3); t4 = J.getInterceptor$x(t2); J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.select_mode_state", t3); - t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "EditAndSelectModesProps.is_origami"); + t3 = _this.___$EditAndSelectModesComponent__cachedTypedProps_A.get$props(0).$index(0, "EditAndSelectModesProps.is_origami"); t3 = A._asBool(t3 == null ? _null : t3); J.$indexSet$ax(t4.get$props(t2), "SelectModePropsMixin.is_origami", t3); t4.set$key(t2, "select-modes"); @@ -144929,7 +143758,7 @@ call$0() { return new A._$EditAndSelectModesComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - $signature: 512 + $signature: 510 }; A._$$EditAndSelectModesProps.prototype = { get$$$isClassGenerated() { @@ -144964,7 +143793,7 @@ return "EditAndSelectModes"; }, get$$$defaultConsumedProps() { - return B.Map_2fHFO.get$values(B.Map_2fHFO); + return B.Map_cQp2l.get$values(B.Map_cQp2l); } }; A.$EditAndSelectModesProps.prototype = { @@ -144992,7 +143821,7 @@ }; A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps.prototype = {}; A.__$$EditAndSelectModesProps_UiProps_EditAndSelectModesProps_$EditAndSelectModesProps.prototype = {}; - A.EditModeProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.EditModeProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.EditModeComponent.prototype = { render$0(_) { var t2, t3, @@ -145009,7 +143838,7 @@ 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"); + t2 = t2.get$props(0).$index(0, "EditModeProps.modes"); if (t2 == null) t2 = null; t1.set$className(0, "mode-button " + (type$.BuiltSet_EditModeChoice._as(t2)._set.contains$1(0, mode) ? "edit-mode-button-selected" : "edit-mode-button-unselected")); @@ -145033,7 +143862,7 @@ call$0() { return new A._$EditModeComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - $signature: 513 + $signature: 511 }; A._$$EditModeProps.prototype = { get$$$isClassGenerated() { @@ -145068,7 +143897,7 @@ return "EditMode"; }, get$$$defaultConsumedProps() { - return B.Map_bdfHw.get$values(B.Map_bdfHw); + return B.Map_Q1kWM.get$values(B.Map_Q1kWM); } }; A.$EditModeProps.prototype = {}; @@ -145119,7 +143948,6 @@ if (t3._as(t2.$index(results, 1)).value) if (apply_to_all) { t1 = $.__app._readField$0(); - type$.nullable_void_Function_HelixMinOffsetSetByDomainsAllBuilder._as(null); t1.dispatch$1(new A.HelixMinOffsetSetByDomainsAllBuilder()._build$0()); } else $.__app._readField$0().dispatch$1(A._$HelixMinOffsetSetByDomains$_(t1.idx)); @@ -145185,11 +144013,9 @@ if (apply_to_all) if (t3.value) { t1 = $.__app._readField$0(); - type$.nullable_void_Function_HelixMaxOffsetSetByDomainsAllSameMaxBuilder._as(null); t1.dispatch$1(new A.HelixMaxOffsetSetByDomainsAllSameMaxBuilder()._build$0()); } else { t1 = $.__app._readField$0(); - type$.nullable_void_Function_HelixMaxOffsetSetByDomainsAllBuilder._as(null); t1.dispatch$1(new A.HelixMaxOffsetSetByDomainsAllBuilder()._build$0()); } else @@ -145292,7 +144118,7 @@ call$0() { var $async$goto = 0, $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, major_tick_periodic_distances, major_tick_start, t6, major_ticks, major_tick_distance, action, helix_idxs, all_actions, _i, this_helix_idx, t1, helix_idx; + $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, major_tick_periodic_distances, major_tick_start, t6, major_tick_distance, major_ticks, action, helix_idxs, all_actions, _i, this_helix_idx, t1, helix_idx; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -145367,6 +144193,7 @@ $async$goto = 1; break; } + major_tick_distance = null; if (use_major_ticks) { 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) { @@ -145374,7 +144201,6 @@ $async$goto = 1; break; } - major_tick_distance = null; } else { if (use_major_tick_distance) { major_tick_distance = t2._as(t4.$index(results, 1)).value; @@ -145386,18 +144212,15 @@ $async$goto = 1; break; } - } else { - if (use_major_tick_periodic_distances) { - 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 A.wrapException(A.AssertionError$("should not be reachable")); - major_tick_distance = null; - } + } else if (use_major_tick_periodic_distances) { + 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 A.wrapException(A.AssertionError$("should not be reachable")); major_ticks = null; } if (apply_to_all) @@ -145512,14 +144335,18 @@ // Function start t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); t2 = $async$self.helix; - t1 = t1.get$state(t1).get$design().groups._map$_map.$index(0, t2.group); + t1 = t1.get$design().groups._map$_map.$index(0, t2.group); t1.toString; geometry = t1.geometry; if (geometry == null) { t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - geometry = t1.get$state(t1).get$design().geometry; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + geometry = t1.get$design().geometry; } position = t2.position$1(0, geometry); $async$goto = 3; @@ -145561,13 +144388,16 @@ // Function start 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 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + group_names = t1.get$design().groups.get$keys(0); t1 = $async$self.helix; 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); + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + B.JSArray_methods.addAll$1(selected_helix_idxs, t2.ui_state.storables.side_selected_helix_idxs); 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; @@ -145652,7 +144482,7 @@ call$1(token) { return A._asString(token).length !== 0; }, - $signature: 26 + $signature: 29 }; A.parse_major_ticks_and_check_validity_closure0.prototype = { call$1(t) { @@ -145670,13 +144500,13 @@ call$1(token) { return A._asString(token).length !== 0; }, - $signature: 26 + $signature: 29 }; A.parse_helix_idxs_and_check_validity_closure.prototype = { call$1(token) { return A._asString(token).length !== 0; }, - $signature: 26 + $signature: 29 }; A.ConnectedHelixGroupMoving_closure.prototype = { call$1(helix_group_move) { @@ -145686,27 +144516,25 @@ t1.set$helix_group_move(helix_group_move); return t1; }, - $signature: 514 + $signature: 512 }; - A.HelixGroupMovingProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.HelixGroupMovingProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.HelixGroupMovingComponent.prototype = { render$0(_) { var t2, t3, only_display_selected_helices, children, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, 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"); + t1 = t1.get$props(0).$index(0, "HelixGroupMovingProps.helix_group_move"); if (t1 == null) t1 = _null; type$.nullable_HelixGroupMove._as(t1); - if (t1 == null || t1.helices._map$_map._length === 0) + if (t1 == null || t1.helices._map$_map.__js_helper$_length === 0) return _null; - t2 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t2 = t2.get$props(t2).$index(0, string$.HelixGs); + t2 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$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); + t3 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.HelixGo); only_display_selected_helices = A._asBool(t3 == null ? _null : t3); if (t1.get$helix_idxs_in_group()._list.length === 0) return _null; @@ -145723,28 +144551,23 @@ t10 = t10.idx; t13 = t2.contains$1(0, t10); J.$indexSet$ax(t12.get$props(t11), "DesignMainHelixProps.selected", t13); - t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.HelixGmo); + t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.HelixGmo); t13 = A._asDouble(t13 == null ? _null : t13); J.$indexSet$ax(t12.get$props(t11), string$.DesignMHxmo, t13); - t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.HelixGmw); + t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.HelixGmw); t13 = A._asDouble(t13 == null ? _null : t13); J.$indexSet$ax(t12.get$props(t11), string$.DesignMHxmw, t13); J.$indexSet$ax(t12.get$props(t11), "DesignMainHelixProps.show_dna", false); - t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, "HelixGroupMovingProps.show_domain_labels"); + t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "HelixGroupMovingProps.show_domain_labels"); t13 = A._asBool(t13 == null ? _null : t13); J.$indexSet$ax(t12.get$props(t11), "DesignMainHelixProps.show_domain_labels", t13); - t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, "HelixGroupMovingProps.show_helix_circles"); + t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, "HelixGroupMovingProps.show_helix_circles"); t13 = A._asBool(t13 == null ? _null : t13); J.$indexSet$ax(t12.get$props(t11), "DesignMainHelixProps.show_helix_circles", t13); J.$indexSet$ax(t12.get$props(t11), string$.DesignMHxh, false); J.$indexSet$ax(t12.get$props(t11), string$.DesignMHxdb, false); J.$indexSet$ax(t12.get$props(t11), string$.DesignMHxdm, false); - t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A; - t13 = t13.get$props(t13).$index(0, string$.HelixGh); + t13 = _this.___$HelixGroupMovingComponent__cachedTypedProps_A.get$props(0).$index(0, string$.HelixGh); t13 = t7._as(t13 == null ? _null : t13)._map$_map.$index(0, t10); t13.toString; t8._as(t13); @@ -145767,19 +144590,19 @@ }; A.HelixGroupMovingComponent_render_closure.prototype = { call$1(b) { - var t1 = b.get$position(b), + var t1 = b.get$position(0), t2 = this.new_position; A.ArgumentError_checkNotNull(t2, "other", type$.Position3D); t1._position3d$_$v = t2; return b; }, - $signature: 28 + $signature: 25 }; A.$HelixGroupMovingComponentFactory_closure.prototype = { call$0() { return new A._$HelixGroupMovingComponent(null); }, - $signature: 515 + $signature: 513 }; A._$$HelixGroupMovingProps.prototype = { get$$$isClassGenerated() { @@ -145814,7 +144637,7 @@ return "HelixGroupMoving"; }, get$$$defaultConsumedProps() { - return B.Map_cKej4.get$values(B.Map_cKej4); + return B.Map_jfekq.get$values(B.Map_jfekq); } }; A.$HelixGroupMovingProps.prototype = { @@ -145833,21 +144656,14 @@ t1.set$state(0, state); return t1; }, - $signature: 516 + $signature: 514 }; - A.MenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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; + return t1.get$state(0).maybe_design == null ? false : this.___$MenuComponent__cachedTypedProps_A.get$state(0).get$design().groups.get$values(0).every$1(0, new A.MenuComponent_no_grid_is_none_closure()); }, render$0(_) { var _this = this, @@ -145875,7 +144691,7 @@ 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, + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, _s14_ = "open-form-file", t1 = $.$get$NavDropdown(), t2 = type$.dynamic, @@ -145889,7 +144705,7 @@ t5 = A.menu_form_file___$MenuFormFile$closure().call$0(); t5.set$id_(_s14_); t6 = $.$get$all_scadnano_file_extensions(); - t7 = A.instanceType(t6); + 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()); @@ -145910,7 +144726,7 @@ 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$value(t9, t10.get$state(0).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."); t9.set$on_change(new A.MenuComponent_file_menu_closure3(_this)); @@ -145936,17 +144752,16 @@ t14 = _this.file_menu_save_design_local_storage_options$0(); 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"); + t15 = J.getInterceptor$x(t8); + t15.set$value(t8, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.clear_helix_selection_when_loading_new_design); + t15.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"); + t15.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, + var t2, t3, t4, t5, t6, t7, _this = this, _s31_ = "file_menu_local-storage-options", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Local storage design save options"); @@ -145958,51 +144773,46 @@ 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$value(t2, t3.get$state(0).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."); 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(); 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.local_storage_design_choice.option === B.LocalStorageDesignOption_on_exit); - t5.set$display(t4, "Save design in localStorage before exiting"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_on_exit); + t3.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"); + t3.set$key(t4, "save-dna-design-in-local-storage-on-exit"); t4 = t4.call$0(); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.local_storage_design_choice.option === B.LocalStorageDesignOption_never); + t5.set$display(t3, "Do not save design in localStorage"); + t3.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."); + t3.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure1(_this)); + t5.set$key(t3, "never-save-dna-design-in-local-storage"); + t3 = t3.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.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"); + t6.set$value(t5, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.local_storage_design_choice.option === B.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."); + t5.set$on_change(new A.MenuComponent_file_menu_save_design_local_storage_options_closure2(_this)); + t6.set$key(t5, "save-dna-design-in-local-storage-periodically"); 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.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)); + t6 = A.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.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.local_storage_design_choice.period_seconds); + t6.set$hide(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.local_storage_design_choice.option !== B.LocalStorageDesignOption_periodic); + t6.set$tooltip("Number of seconds between saving design to localStorage."); + t6.set$on_new_value(new A.MenuComponent_file_menu_save_design_local_storage_options_closure3()); + t7.set$key(t6, "period-of-save-dna-design-in-local-storage-periodically"); + return t1.call$1(A._setArrayType([t2, t4, t3, t5, t6.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, @@ -146016,14 +144826,13 @@ t4.set$keyboard_shortcut("Ctrl+Z"); 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); + J.set$disabled$z(t4, t5.get$state(0).undo_redo.undo_stack._list.length === 0); t4 = t4.call$1(_this.get$undo_dropdowns()); 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"); - t6 = _this.___$MenuComponent__cachedTypedProps_A; - J.set$disabled$z(t5, t6.get$state(t6).undo_redo.redo_stack._list.length === 0); + J.set$disabled$z(t5, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).undo_redo.redo_stack._list.length === 0); t5 = t5.call$1(_this.get$redo_dropdowns()); t6 = $.$get$DropdownDivider(); t7 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); @@ -146036,16 +144845,14 @@ t11.set$name(t10, _s26_); t11.set$key(t10, _s26_); 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); + t11.set$value(t10, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.dynamically_update_helices); t10 = t10.call$0(); - 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; + t11 = t6.call$1(A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)); + t12 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); + t12.set$on_click(new A.MenuComponent_edit_menu_closure0()); + t13 = J.getInterceptor$z(t12); + t13.set$display(t12, "Inline insertions/deletions"); + t14 = _this.___$MenuComponent__cachedTypedProps_A.get$state(0).maybe_design; if (t14 == null) t14 = null; else { @@ -146057,16 +144864,15 @@ } 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(); + t13.set$disabled(t12, t14 !== true); + 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(); 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; + t16 = _this.___$MenuComponent__cachedTypedProps_A.get$state(0).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(); @@ -146088,24 +144894,24 @@ 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, t12, t11, t14, t13, t16, t15, t17, t18, t2, t6, t19.call$0()); + return t1.call$18(t3, t4, t5, t7, t8, t9, t10, t11, t12, 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"); + return this.undo_or_redo_dropdowns$3(new A.MenuComponent_undo_dropdowns_closure(), t1.get$state(0).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"); + return this.undo_or_redo_dropdowns$3(new A.MenuComponent_redo_dropdowns_closure(), t1.get$state(0).undo_redo.redo_stack, "Redo"); }, undo_or_redo_dropdowns$3(undo_or_redo_action_creator, stack, action_name) { var dropdowns, t1, t2, num_times, most_recent, t3; type$.Action_Function_int._as(undo_or_redo_action_creator); type$.BuiltList_UndoRedoItem._as(stack); dropdowns = A._setArrayType([], type$.JSArray_ReactElement); - for (t1 = stack._list, 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"), num_times = 1, most_recent = true; t1.moveNext$0(); most_recent = false) { + for (t1 = stack._list, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListIterable.E"), num_times = 1, most_recent = true; t1.moveNext$0(); most_recent = false) { t3 = t1.__internal$_current; B.JSArray_methods.add$1(dropdowns, this.undo_or_redo_dropdown$5(t3 == null ? t2._as(t3) : t3, undo_or_redo_action_creator, num_times, action_name, most_recent)); ++num_times; @@ -146124,7 +144930,7 @@ return t1.call$0(); }, edit_menu_copy_paste$0() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, + var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s20_ = "edit_menu_copy-paste", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Copy/Paste/Select"); @@ -146140,7 +144946,7 @@ 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)."); t4 = _this.___$MenuComponent__cachedTypedProps_A; t4 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t4 = t4.get$state(t4).ui_state.selectables_store.get$selected_strands()._set; + t4 = t4.get$state(0).ui_state.selectables_store.get$selected_strands()._set; t3.set$disabled(t2, !t4.get$isNotEmpty(t4)); t2 = t2.call$0(); t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); @@ -146149,8 +144955,7 @@ t3.set$display(t4, "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; + t5 = _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.selectables_store.get$selected_strands()._set; t3.set$disabled(t4, !t5.get$isNotEmpty(t5)); t4 = t4.call$0(); t5 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); @@ -146184,24 +144989,22 @@ t8.set$keyboard_shortcut("Alt+Shift+A"); t8 = t8.call$0(); 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"); + t10 = J.getInterceptor$x(t9); + t10.set$value(t9, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.selection_box_intersection); + t10.set$display(t9, "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 shape.\n\nIf unchecked, select any object *entirely contained within* the selection shape.\n\nIf checked, select any object *intersecting* the selection shape, even if some parts lie \noutside the selection shape.'); t9.set$on_change(new A.MenuComponent_edit_menu_copy_paste_closure6(_this)); t9 = t9.call$0(); - 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"); - 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$9(t2, t4, t5, t3, t6, t7, t8, t9, t11.call$0()); + t10 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t11 = J.getInterceptor$x(t10); + t11.set$value(t10, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.strand_paste_keep_color); + t11.set$display(t10, "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."); + t10.set$on_change(new A.MenuComponent_edit_menu_copy_paste_closure7(_this)); + return t1.call$9(t2, t4, t5, t3, t6, t7, t8, t9, t10.call$0()); }, edit_menu_helix_rolls$0() { - var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, + var t2, t3, t4, t5, t6, t7, t8, _this = this, _s21_ = "edit_menu_helix-rolls", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Helix rolls"); @@ -146232,16 +145035,15 @@ 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$value(t6, t7.get$state(0).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls); t8.set$display(t6, "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).'); t6.set$on_change(new A.MenuComponent_edit_menu_helix_rolls_closure2(_this)); t6 = t6.call$0(); 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"); + t7 = J.getInterceptor$x(t8); + t7.set$value(t8, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls); + t7.set$display(t8, "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$6(t2, t3, t4, t5, t6, t8.call$0()); @@ -146266,7 +145068,7 @@ 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$value(t3, t4.get$state(0).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".'); t5.set$name(t3, "center-on-load"); @@ -146275,7 +145077,7 @@ return t1.call$1(A._setArrayType([t2, t3.call$0()], type$.JSArray_ReactElement)); }, view_menu_warnings$0() { - var t2, t3, t4, t5, t6, _this = this, + var t2, t3, t4, t5, _this = this, _s23_ = "view_menu_show_warnings", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Warnings"); @@ -146287,33 +145089,31 @@ 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$value(t2, t3.get$state(0).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."); t2.set$on_change(new A.MenuComponent_view_menu_warnings_closure(_this)); t4.set$key(t2, "show-mismatches"); t2 = t2.call$0(); 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.show_domain_name_mismatches); - t5.set$display(t4, "Show domain name mismatches"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_domain_name_mismatches); + t3.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"); + t3.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)); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_unpaired_insertion_deletions); + t5.set$display(t3, "Show unpaired insertion/deletions"); + t3.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)."); + t3.set$on_change(new A.MenuComponent_view_menu_warnings_closure1(_this)); + t5.set$key(t3, "show-unpaired-insertion-deletions"); + return t1.call$1(A._setArrayType([t2, t4, t3.call$0()], type$.JSArray_ReactElement)); }, view_menu_show_labels$0() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, + var t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _s30_ = "view_menu_show_labels-dropdown", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Strand/domain names/labels"); @@ -146325,7 +145125,7 @@ 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$value(t2, t3.get$state(0).ui_state.storables.show_strand_names); t4.set$display(t2, "Show strand names"); t2.set$tooltip("Show strand names near 5' domain of strand."); t2.set$on_change(new A.MenuComponent_view_menu_show_labels_closure(_this)); @@ -146334,77 +145134,66 @@ 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$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.strand_name_font_size); + t4.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).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(); 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"); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_strand_labels); + t5.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"); + t5.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(); - 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 = A.menu_number___$MenuNumber$closure().call$0(); + t6 = J.getInterceptor$z(t5); + t6.set$display(t5, "strand label font size"); + t5.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.strand_label_font_size); + t5.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_strand_labels); + t5.set$tooltip("Adjust the font size of strand labels."); + t5.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure2()); + t6.set$key(t5, "strand-label-font-size"); 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(); - 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"); + t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_domain_names); + t7.set$display(t6, "Show domain names"); + t6.set$tooltip("Show domain and loopout names."); + t6.set$on_change(new A.MenuComponent_view_menu_show_labels_closure3(_this)); + t7.set$key(t6, "show-domain-name"); + t6 = t6.call$0(); + t7 = A.menu_number___$MenuNumber$closure().call$0(); + t8 = J.getInterceptor$z(t7); + t8.set$display(t7, "domain name font size"); + t7.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.domain_name_font_size); + t7.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_domain_names); + t7.set$tooltip("Adjust the font size of domain/loopout/extension names."); + t7.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure4()); + t8.set$key(t7, "domain-name-font-size"); 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)); + t8 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t9 = J.getInterceptor$x(t8); + t9.set$value(t8, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_domain_labels); + t9.set$display(t8, "Show domain labels"); + t8.set$tooltip("Show domain labels near 5' domain of strand."); + t8.set$on_change(new A.MenuComponent_view_menu_show_labels_closure5(_this)); + t9.set$key(t8, "show-domain-label"); + t8 = t8.call$0(); + t9 = A.menu_number___$MenuNumber$closure().call$0(); + t10 = J.getInterceptor$z(t9); + t10.set$display(t9, "domain label font size"); + t9.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.domain_label_font_size); + t9.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_domain_labels); + t9.set$tooltip("Adjust the font size of domain labels."); + t9.set$on_new_value(new A.MenuComponent_view_menu_show_labels_closure6()); + t10.set$key(t9, "domain-label-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t3, t5, t6, t7, t8, t9.call$0()], type$.JSArray_ReactElement)); }, view_menu_mods$0() { - var t2, t3, t4, t5, t6, _this = this, + var t2, t3, t4, t5, _this = this, _s23_ = "view_menu_mods-dropdown", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("Modifications"); @@ -146416,37 +145205,33 @@ 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$value(t2, t3.get$state(0).ui_state.storables.show_modifications); t4.set$display(t2, "Show modifications"); t2.set$tooltip("Check to show DNA modifications (e.g., biotins, fluorophores)."); t2.set$on_change(new A.MenuComponent_view_menu_mods_closure(_this)); t4.set$key(t2, "show-mods"); t2 = t2.call$0(); 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"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.modification_display_connector); + t4.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_modifications); + t3.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"); + t3.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)); + t3 = A.menu_number___$MenuNumber$closure().call$0(); + t5 = J.getInterceptor$z(t3); + t5.set$display(t3, "Modification font size"); + t3.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.modification_font_size); + t3.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_modifications); + t3.set$tooltip("Adjust the font size of modification text representation."); + t3.set$on_new_value(new A.MenuComponent_view_menu_mods_closure1()); + t5.set$key(t3, "mod-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t3.call$0()], type$.JSArray_ReactElement)); }, view_menu_helices$0() { - var t2, t3, t4, t5, t6, t7, _this = this, + var t2, t3, t4, t5, t6, _this = this, _s26_ = "view_menu_helices-dropdown", _s29_ = "display-only-selected-helices", _s31_ = "show-helix-components-main-view", @@ -146462,7 +145247,7 @@ 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$value(t2, t3.get$state(0).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."); t4.set$name(t2, _s29_); @@ -146470,38 +145255,35 @@ t4.set$key(t2, _s29_); t2 = t2.call$0(); 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.show_helix_components_main_view); - t5.set$display(t4, "Show main view helices"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_helix_components_main_view); + t3.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_); + t3.set$name(t4, _s31_); t4.set$on_change(new A.MenuComponent_view_menu_helices_closure0(_this)); - t5.set$key(t4, _s31_); + t3.set$key(t4, _s31_); t4 = t4.call$0(); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_helix_circles_main_view); + t5.set$display(t3, "Show main view helix circles/idx"); + t3.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(t3, _s28_); + t3.set$on_change(new A.MenuComponent_view_menu_helices_closure1(_this)); + t5.set$key(t3, _s28_); + t3 = t3.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_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)); + t6.set$value(t5, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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); + t5.set$on_change(new A.MenuComponent_view_menu_helices_closure2(_this)); + t6.set$key(t5, _s31_0); + return t1.call$1(A._setArrayType([t2, t4, t3, t5.call$0()], type$.JSArray_ReactElement)); }, view_menu_display_major_ticks_options$0() { - var t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, + var t2, t3, t4, t5, t6, t7, t8, t9, _this = this, _s45_ = "view_menu_display_major_tick_offsets-dropdown", _s53_ = "Adjust to change the font size of major tick offsets.", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); @@ -146514,70 +145296,61 @@ 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$value(t2, t3.get$state(0).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."); 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(); 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"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, !_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_base_offsets_of_major_ticks_only_first_helix); + t4.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_base_offsets_of_major_ticks); + t3.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, string$.displax2d); + t3.set$key(t4, string$.displax2d); t4 = t4.call$0(); - 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)); + t3 = A.menu_number___$MenuNumber$closure().call$0(); + t5 = J.getInterceptor$z(t3); + t5.set$display(t3, "major tick offset font size"); + t3.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.major_tick_offset_font_size); + t3.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_base_offsets_of_major_ticks); + t3.set$tooltip(_s53_); + t3.set$on_new_value(new A.MenuComponent_view_menu_display_major_ticks_options_closure1()); + t5.set$key(t3, "major-tick-offset-font-size"); + t3 = t3.call$0(); + t5 = type$.dynamic; + t5 = $.$get$DropdownDivider().call$1(A.LinkedHashMap_LinkedHashMap$_literal(["key", "divider-major-tick-offset-from-width"], t5, t5)); 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"); + t7 = J.getInterceptor$x(t6); + t7.set$value(t6, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_major_tick_widths); + t7.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."); t6.set$on_change(new A.MenuComponent_view_menu_display_major_ticks_options_closure2(_this)); - t8.set$key(t6, "display-major-tick-widths"); + t7.set$key(t6, "display-major-tick-widths"); t6 = t6.call$0(); - 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)); + t7 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t8 = J.getInterceptor$x(t7); + t8.set$value(t7, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_major_tick_widths_all_helices); + t7.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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."); + t7.set$on_change(new A.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 = A.menu_number___$MenuNumber$closure().call$0(); + t9 = J.getInterceptor$z(t8); + t9.set$display(t8, "Major tick width font size"); + t8.set$default_value(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.major_tick_width_font_size); + t8.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_major_tick_widths); + t8.set$tooltip(_s53_); + t8.set$on_new_value(new A.MenuComponent_view_menu_display_major_ticks_options_closure4()); + t9.set$key(t8, "major-tick-width-font-size"); + return t1.call$1(A._setArrayType([t2, t4, t3, t5, t6, t7, t8.call$0()], type$.JSArray_ReactElement)); }, view_menu_base_pairs$0() { - var t2, t3, t4, t5, t6, t7, _this = this, + 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"); @@ -146588,44 +145361,39 @@ 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 === B.BasePairDisplayType_lines); + t4.set$value(t2, t3.get$state(0).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_lines); 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(); 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.export_base_pair_lines_if_other_strand_not_selected); - t3 = _this.___$MenuComponent__cachedTypedProps_A; - t4.set$hide(t3.get$state(t3).ui_state.storables.base_pair_display_type !== B.BasePairDisplayType_lines); - t5.set$display(t4, "Export base pair lines if other strand not selected"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.export_base_pair_lines_if_other_strand_not_selected); + t4.set$hide(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.base_pair_display_type !== B.BasePairDisplayType_lines); + t3.set$display(t4, "Export base pair lines if other strand not selected"); t4.set$tooltip("When exporting an image of strands while base pair lines are displayed, either through \nEdit-->Copy/Paste/Select-->Copy image (Ctrl+I), or through \nExport-->SVG of selected strands, where it is possible that some strands are not selected,\nbut are bound to strands that are selected, this determines whether to export the base pair \nlines connecting the exported strand to the other (non-exported) strand."); t4.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure0(_this)); - t5.set$key(t4, string$.displax2d); + t3.set$key(t4, string$.displax2d); t4 = t4.call$0(); + t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t5 = J.getInterceptor$x(t3); + t5.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.base_pair_display_type.toIndex$0() === 2); + t5.set$display(t3, "Display as " + B.BasePairDisplayType_rectangle.display_name$0()); + t5.set$key(t3, "base-pair-display-rectangle"); + t3.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure1(_this)); + t3 = t3.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.base_pair_display_type.toIndex$0() === 2); - t6.set$display(t5, "Display as " + B.BasePairDisplayType_rectangle.display_name$0()); - t6.set$key(t5, "base-pair-display-rectangle"); - t5.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure1(_this)); - 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_base_pair_lines_with_mismatches); - t7.set$display(t6, "... even if bases mismatch"); - t7.set$key(t6, "base-pair-display-even-if-bases-mismatch"); - t7 = _this.___$MenuComponent__cachedTypedProps_A; - t6.set$hide(t7.get$state(t7).ui_state.storables.base_pair_display_type.toIndex$0() === 0); - t6.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."); - t6.set$on_change(new A.MenuComponent_view_menu_base_pairs_closure2(_this)); - return t1.call$1(A._setArrayType([t2, t4, t5, t6.call$0()], type$.JSArray_ReactElement)); + t6.set$value(t5, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).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"); + t5.set$hide(_this.___$MenuComponent__cachedTypedProps_A.get$state(0).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_closure2(_this)); + return t1.call$1(A._setArrayType([t2, t4, t3, t5.call$0()], type$.JSArray_ReactElement)); }, view_menu_dna$0() { - var t2, t3, t4, t5, _this = this, + var t2, t3, t4, _this = this, _s33_ = "display-reverse-DNA-right-side-up", t1 = A.menu_dropdown_right___$MenuDropdownRight$closure().call$0(); t1.set$title_("DNA"); @@ -146637,23 +145405,21 @@ 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$value(t2, t3.get$state(0).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."); t2.set$on_change(new A.MenuComponent_view_menu_dna_closure(_this)); t4.set$key(t2, "show-dna-sequences"); t2 = t2.call$0(); 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"); + t3 = J.getInterceptor$x(t4); + t3.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.display_reverse_DNA_right_side_up); + t3.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); + t3.set$name(t4, _s33_); + t4.set$hide(!_this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_dna); t4.set$on_change(new A.MenuComponent_view_menu_dna_closure0(_this)); - t5.set$key(t4, _s33_); + t3.set$key(t4, _s33_); return t1.call$1(A._setArrayType([t2, t4.call$0()], type$.JSArray_ReactElement)); }, view_menu_show_oxview$0() { @@ -146663,7 +145429,7 @@ 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$value(t1, t2.get$state(0).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_); @@ -146678,7 +145444,7 @@ t2.set$display(t1, "Zoom speed"); t3 = this.___$MenuComponent__cachedTypedProps_A; t3 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1.set$default_value(t3.get$state(t3).ui_state.storables.zoom_speed); + t1.set$default_value(t3.get$state(0).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."); @@ -146687,7 +145453,7 @@ return A._setArrayType([t1.call$0()], type$.JSArray_ReactElement); }, view_menu_misc$0() { - var t3, t4, t5, t6, t7, t8, t9, _this = this, + var t3, t4, t5, t6, t7, t8, _this = this, _s13_ = "invert-y-axis", _s24_ = "show-helices-axis-arrows", _s29_ = "show-loopout-extension-length", @@ -146699,7 +145465,7 @@ 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$value(t1, t2.get$state(0).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.'); t3.set$name(t1, _s13_); @@ -146707,68 +145473,62 @@ t3.set$key(t1, _s13_); t1 = t1.call$0(); t3 = A.menu_boolean___$MenuBoolean$closure().call$0(); - t2 = _this.___$MenuComponent__cachedTypedProps_A; - t4 = J.getInterceptor$x(t3); - t4.set$value(t3, t2.get$state(t2).ui_state.storables.show_helices_axis_arrows); - t4.set$display(t3, "Axis arrows"); + t2 = J.getInterceptor$x(t3); + t2.set$value(t3, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_helices_axis_arrows); + t2.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_); + t2.set$name(t3, _s24_); t3.set$on_change(new A.MenuComponent_view_menu_misc_closure0(_this)); - t4.set$key(t3, _s24_); + t2.set$key(t3, _s24_); t3 = t3.call$0(); + t2 = A.menu_boolean___$MenuBoolean$closure().call$0(); + t4 = J.getInterceptor$x(t2); + t4.set$value(t2, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.show_loopout_extension_length); + t4.set$display(t2, "Loopout/extension lengths"); + t2.set$tooltip("When selected, the length of each loopout and extension is displayed next to it."); + t4.set$name(t2, _s29_); + t2.set$on_change(new A.MenuComponent_view_menu_misc_closure1(_this)); + t4.set$key(t2, _s29_); + t2 = t2.call$0(); t4 = A.menu_boolean___$MenuBoolean$closure().call$0(); - t2 = _this.___$MenuComponent__cachedTypedProps_A; t5 = J.getInterceptor$x(t4); - 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_); + t5.set$value(t4, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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_); + t4.set$on_change(new A.MenuComponent_view_menu_misc_closure2(_this)); + t5.set$key(t4, _s14_); t4 = t4.call$0(); t5 = A.menu_boolean___$MenuBoolean$closure().call$0(); - t2 = _this.___$MenuComponent__cachedTypedProps_A; t6 = J.getInterceptor$x(t5); - 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_); + t6.set$value(t5, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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_); + t5.set$on_change(new A.MenuComponent_view_menu_misc_closure3(_this)); + t6.set$key(t5, _s19_); t5 = t5.call$0(); t6 = A.menu_boolean___$MenuBoolean$closure().call$0(); - t2 = _this.___$MenuComponent__cachedTypedProps_A; t7 = J.getInterceptor$x(t6); - 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_); + t7.set$value(t6, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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_); + t6.set$on_change(new A.MenuComponent_view_menu_misc_closure4(_this)); + t7.set$key(t6, _s33_); t6 = t6.call$0(); t7 = A.menu_boolean___$MenuBoolean$closure().call$0(); - t2 = _this.___$MenuComponent__cachedTypedProps_A; t8 = J.getInterceptor$x(t7); - 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); + t8.set$value(t7, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.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_); + t7.set$on_change(new A.MenuComponent_view_menu_misc_closure5(_this)); + t8.set$key(t7, _s32_); + return A._setArrayType([t1, t3, t2, t4, t5, t6, t7.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, + var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, _s26_ = "export-svg-text-separately", _s31_ = "ox-export-only-selected-strands", t1 = $.$get$NavDropdown(), @@ -146793,7 +145553,7 @@ 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$value(t7, t8.get$state(0).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."); t9.set$name(t7, _s26_); @@ -146844,14 +145604,13 @@ t17.set$key(t16, "export-oxdna"); t16 = t16.call$0(); 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"); + t18 = J.getInterceptor$x(t17); + t18.set$value(t17, _this.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.ox_export_only_selected_strands); + t18.set$display(t17, "export only selected strands"); t17.set$tooltip("When selected, only selected strands will be exported to oxDNA or oxView formats."); - t19.set$name(t17, _s31_); + t18.set$name(t17, _s31_); t17.set$on_change(new A.MenuComponent_export_menu_closure9(_this)); - t19.set$key(t17, _s31_); + t18.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() { @@ -146902,7 +145661,7 @@ t1 = $async$self.___$MenuComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); $async$goto = 3; - return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, A._setArrayType([A.DialogRadio_DialogRadio("designs", null, t1.get$state(t1).ui_state.example_designs.filenames, true, 0, "")], type$.JSArray_DialogItem), B.List_empty3, A.dialog_Dialog_identity_function$closure(), "Load example DNA design", B.DialogType_load_example_dna_design, true)), $async$load_example_dialog$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, A._setArrayType([A.DialogRadio_DialogRadio("designs", null, t1.get$state(0).ui_state.example_designs.filenames, true, 0, "")], type$.JSArray_DialogItem), B.List_empty3, 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; @@ -146925,14 +145684,14 @@ call$1(group) { return type$.HelixGroup._as(group).grid !== B.Grid_none; }, - $signature: 517 + $signature: 515 }; 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: 53 + $signature: 57 }; A.MenuComponent_file_menu_closure0.prototype = { call$1(ext) { @@ -146960,7 +145719,7 @@ 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)); + return t1.dispatch$1(A._$WarnOnExitIfUnsavedSet$_(!t2.get$state(0).ui_state.storables.warn_on_exit_if_unsaved)); }, $signature: 4 }; @@ -146988,7 +145747,7 @@ 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)); + return t1.dispatch$1(A._$ClearHelixSelectionWhenLoadingNewDesignSet$_(!t2.get$state(0).ui_state.storables.clear_helix_selection_when_loading_new_design)); }, $signature: 4 }; @@ -146999,7 +145758,7 @@ 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())); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(0).ui_state.storables.local_storage_design_choice.to_on_edit$0())); }, $signature: 4 }; @@ -147010,7 +145769,7 @@ 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())); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(0).ui_state.storables.local_storage_design_choice.to_on_exit$0())); }, $signature: 4 }; @@ -147021,7 +145780,7 @@ 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())); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(0).ui_state.storables.local_storage_design_choice.to_never$0())); }, $signature: 4 }; @@ -147032,7 +145791,7 @@ 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())); + return t1.dispatch$1(A._$LocalStorageDesignChoiceSet$_(t2.get$state(0).ui_state.storables.local_storage_design_choice.to_periodic$0())); }, $signature: 4 }; @@ -147041,7 +145800,7 @@ A._asNum(period); return $.__app._readField$0().dispatch$1(A._$LocalStorageDesignChoiceSet$_(A.LocalStorageDesignChoice_LocalStorageDesignChoice(B.LocalStorageDesignOption_periodic, B.JSNumber_methods.toInt$0(period)))); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_edit_menu_closure.prototype = { call$1(_) { @@ -147050,7 +145809,7 @@ 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)); + return t1.dispatch$1(A._$DynamicHelixUpdateSet$_(!t2.get$state(0).ui_state.storables.dynamically_update_helices)); }, $signature: 4 }; @@ -147059,7 +145818,6 @@ var t1; type$.SyntheticMouseEvent._as(_); t1 = $.__app._readField$0(); - type$.nullable_void_Function_InlineInsertionsDeletionsBuilder._as(null); return t1.dispatch$1(new A.InlineInsertionsDeletionsBuilder()._build$0()); }, $signature: 1 @@ -147069,7 +145827,6 @@ var t1; type$.SyntheticMouseEvent._as(_); t1 = $.__app._readField$0(); - type$.nullable_void_Function_JoinStrandsByMultipleCrossoversBuilder._as(null); return t1.dispatch$1(new A.JoinStrandsByMultipleCrossoversBuilder()._build$0()); }, $signature: 1 @@ -147079,13 +145836,13 @@ type$.SyntheticMouseEvent._as(_); return $.__app._readField$0().disable_keyboard_shortcuts_while$1$1(new A.MenuComponent_edit_menu__closure(this.$this), type$.void); }, - $signature: 53 + $signature: 57 }; A.MenuComponent_edit_menu__closure.prototype = { call$0() { var t1 = this.$this.___$MenuComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$state(t1).maybe_design; + t1 = t1.get$state(0).maybe_design; return A.ask_for_geometry(t1 == null ? null : t1.geometry); }, $signature: 5 @@ -147095,7 +145852,6 @@ var t1; type$.SyntheticMouseEvent._as(_); t1 = $.__app._readField$0(); - type$.nullable_void_Function_AutostapleBuilder._as(null); return t1.dispatch$1(new A.AutostapleBuilder()._build$0()); }, $signature: 1 @@ -147105,19 +145861,19 @@ type$.SyntheticMouseEvent._as(_); return A.ask_for_autobreak_parameters(); }, - $signature: 53 + $signature: 57 }; A.MenuComponent_undo_dropdowns_closure.prototype = { call$1(i) { return A.Undo_Undo(i); }, - $signature: 520 + $signature: 518 }; A.MenuComponent_redo_dropdowns_closure.prototype = { call$1(i) { return A.Redo_Redo(i); }, - $signature: 521 + $signature: 519 }; A.MenuComponent_undo_or_redo_dropdown_closure.prototype = { call$1(_) { @@ -147132,7 +145888,7 @@ 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; + t1 = t1.get$state(0).ui_state.selectables_store.get$selected_strands()._set; if (t1.get$isNotEmpty(t1)) { t1 = window; t1.toString; @@ -147147,7 +145903,7 @@ 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; + t1 = t1.get$state(0).ui_state.selectables_store.get$selected_strands()._set; if (t1.get$isNotEmpty(t1)) $.__app._readField$0().dispatch$1(A._$CopySelectedStandsToClipboardImage__$CopySelectedStandsToClipboardImage()); }, @@ -147163,7 +145919,7 @@ t1.toString; return t1; }, - $signature: 145 + $signature: 144 }; A.MenuComponent_edit_menu_copy_paste_closure2.prototype = { call$1(_) { @@ -147182,7 +145938,7 @@ t1.toString; return t1; }, - $signature: 145 + $signature: 144 }; A.MenuComponent_edit_menu_copy_paste_closure4.prototype = { call$1(_) { @@ -147196,7 +145952,7 @@ 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: 53 + $signature: 57 }; A.MenuComponent_edit_menu_copy_paste_closure6.prototype = { call$1(_) { @@ -147205,7 +145961,7 @@ 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)); + return t1.dispatch$1(A._$SelectionBoxIntersectionRuleSet$_(!t2.get$state(0).ui_state.storables.selection_box_intersection)); }, $signature: 4 }; @@ -147216,7 +145972,7 @@ 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)); + return t1.dispatch$1(A._$StrandPasteKeepColorSet$_(!t2.get$state(0).ui_state.storables.strand_paste_keep_color)); }, $signature: 4 }; @@ -147239,44 +145995,33 @@ var t1; type$.SyntheticMouseEvent._as(_); t1 = $.__app._readField$0(); - type$.nullable_void_Function_HelicesPositionsSetBasedOnCrossoversBuilder._as(null); return t1.dispatch$1(new A.HelicesPositionsSetBasedOnCrossoversBuilder()._build$0()); }, $signature: 1 }; A.MenuComponent_edit_menu_helix_rolls_closure2.prototype = { call$1(_) { - var t1, t2, t3; + var t1, t2; type$.SyntheticFormEvent._as(_); t1 = this.$this; 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); - t1 = t1.___$MenuComponent__cachedTypedProps_A; - t2.dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(!t3.ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls, t1.get$state(t1).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); - } + if (t2.get$state(0).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls) + $.__app._readField$0().dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(!t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls, t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_edit_menu_helix_rolls_closure3.prototype = { call$1(_) { - var t1, t2, t3; + var t1, t2; type$.SyntheticFormEvent._as(_); t1 = this.$this; 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); - t1 = t1.___$MenuComponent__cachedTypedProps_A; - t2.dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t3.ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls, !t1.get$state(t1).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); - } + if (t2.get$state(0).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls) + $.__app._readField$0().dispatch$1(A._$DefaultCrossoverTypeForSettingHelixRollsSet$_(t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.default_crossover_type_scaffold_for_setting_helix_rolls, !t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.default_crossover_type_staple_for_setting_helix_rolls)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_autofit_closure.prototype = { call$1(_) { @@ -147293,7 +146038,7 @@ 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)); + return t1.dispatch$1(A._$AutofitSet$_(!t2.get$state(0).ui_state.storables.autofit)); }, $signature: 4 }; @@ -147304,9 +146049,9 @@ 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)); + t1.dispatch$1(A.ShowMismatchesSet_ShowMismatchesSet(!t2.get$state(0).ui_state.storables.show_mismatches)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_warnings_closure0.prototype = { call$1(_) { @@ -147315,9 +146060,9 @@ 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)); + t1.dispatch$1(A.ShowDomainNameMismatchesSet_ShowDomainNameMismatchesSet(!t2.get$state(0).ui_state.storables.show_domain_name_mismatches)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_warnings_closure1.prototype = { call$1(_) { @@ -147326,9 +146071,9 @@ 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)); + t1.dispatch$1(A.ShowUnpairedInsertionDeletionsSet_ShowUnpairedInsertionDeletionsSet(!t2.get$state(0).ui_state.storables.show_unpaired_insertion_deletions)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_show_labels_closure.prototype = { call$1(_) { @@ -147337,7 +146082,7 @@ 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)); + return t1.dispatch$1(A.ShowStrandNamesSet_ShowStrandNamesSet(!t2.get$state(0).ui_state.storables.show_strand_names)); }, $signature: 4 }; @@ -147346,7 +146091,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A._$StrandNameFontSizeSet$_(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_show_labels_closure1.prototype = { call$1(_) { @@ -147355,7 +146100,7 @@ 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)); + return t1.dispatch$1(A.ShowStrandLabelsSet_ShowStrandLabelsSet(!t2.get$state(0).ui_state.storables.show_strand_labels)); }, $signature: 4 }; @@ -147364,7 +146109,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A._$StrandLabelFontSizeSet$_(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_show_labels_closure3.prototype = { call$1(_) { @@ -147373,7 +146118,7 @@ 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)); + return t1.dispatch$1(A.ShowDomainNamesSet_ShowDomainNamesSet(!t2.get$state(0).ui_state.storables.show_domain_names)); }, $signature: 4 }; @@ -147382,7 +146127,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A._$DomainNameFontSizeSet$_(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_show_labels_closure5.prototype = { call$1(_) { @@ -147391,7 +146136,7 @@ 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)); + return t1.dispatch$1(A.ShowDomainLabelsSet_ShowDomainLabelsSet(!t2.get$state(0).ui_state.storables.show_domain_labels)); }, $signature: 4 }; @@ -147400,7 +146145,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A._$DomainLabelFontSizeSet$_(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_mods_closure.prototype = { call$1(_) { @@ -147409,7 +146154,7 @@ 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)); + return t1.dispatch$1(A.ShowModificationsSet_ShowModificationsSet(!t2.get$state(0).ui_state.storables.show_modifications)); }, $signature: 4 }; @@ -147420,7 +146165,7 @@ 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)); + return t1.dispatch$1(A.SetModificationDisplayConnector_SetModificationDisplayConnector(!t2.get$state(0).ui_state.storables.modification_display_connector)); }, $signature: 4 }; @@ -147429,7 +146174,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A.ModificationFontSizeSet_ModificationFontSizeSet(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_helices_closure.prototype = { call$1(_) { @@ -147438,7 +146183,7 @@ 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)); + return t1.dispatch$1(A.SetOnlyDisplaySelectedHelices_SetOnlyDisplaySelectedHelices(!t2.get$state(0).ui_state.storables.only_display_selected_helices)); }, $signature: 4 }; @@ -147449,7 +146194,7 @@ 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)); + return t1.dispatch$1(A._$ShowHelixComponentsMainViewSet$_(!t2.get$state(0).ui_state.storables.show_helix_components_main_view)); }, $signature: 4 }; @@ -147460,7 +146205,7 @@ 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)); + return t1.dispatch$1(A._$ShowHelixCirclesMainViewSet$_(!t2.get$state(0).ui_state.storables.show_helix_circles_main_view)); }, $signature: 4 }; @@ -147471,7 +146216,7 @@ 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)); + return t1.dispatch$1(A._$ShowGridCoordinatesSideViewSet$_(!t2.get$state(0).ui_state.storables.show_grid_coordinates_side_view)); }, $signature: 4 }; @@ -147482,7 +146227,7 @@ 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)); + return t1.dispatch$1(A.DisplayMajorTicksOffsetsSet_DisplayMajorTicksOffsetsSet(!t2.get$state(0).ui_state.storables.display_base_offsets_of_major_ticks)); }, $signature: 4 }; @@ -147493,7 +146238,7 @@ 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)); + return t1.dispatch$1(A.SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix_SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix(!t2.get$state(0).ui_state.storables.display_base_offsets_of_major_ticks_only_first_helix)); }, $signature: 4 }; @@ -147502,7 +146247,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A.MajorTickOffsetFontSizeSet_MajorTickOffsetFontSizeSet(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_display_major_ticks_options_closure2.prototype = { call$1(_) { @@ -147511,7 +146256,7 @@ 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)); + return t1.dispatch$1(A.SetDisplayMajorTickWidths_SetDisplayMajorTickWidths(!t2.get$state(0).ui_state.storables.display_major_tick_widths)); }, $signature: 4 }; @@ -147522,7 +146267,7 @@ 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)); + return t1.dispatch$1(A.SetDisplayMajorTickWidthsAllHelices_SetDisplayMajorTickWidthsAllHelices(!t2.get$state(0).ui_state.storables.display_major_tick_widths_all_helices)); }, $signature: 4 }; @@ -147531,7 +146276,7 @@ A._asNum(font_size); return $.__app._readField$0().dispatch$1(A.MajorTickWidthFontSizeSet_MajorTickWidthFontSizeSet(font_size)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_base_pairs_closure.prototype = { call$1(_) { @@ -147540,15 +146285,12 @@ t1 = this.$this; t2 = t1.___$MenuComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t2.get$state(t2).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_lines) + if (t2.get$state(0).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())); - } + else if (t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_none) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_lines.toIndex$0())); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_base_pairs_closure0.prototype = { call$1(_) { @@ -147557,7 +146299,7 @@ t1 = $.__app._readField$0(); t2 = this.$this.___$MenuComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - return t1.dispatch$1(A._$ExportBasePairLinesIfOtherStrandNotSelectedSet$_(!t2.get$state(t2).ui_state.storables.export_base_pair_lines_if_other_strand_not_selected)); + return t1.dispatch$1(A._$ExportBasePairLinesIfOtherStrandNotSelectedSet$_(!t2.get$state(0).ui_state.storables.export_base_pair_lines_if_other_strand_not_selected)); }, $signature: 4 }; @@ -147568,15 +146310,12 @@ t1 = this.$this; t2 = t1.___$MenuComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - if (t2.get$state(t2).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_rectangle) + if (t2.get$state(0).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())); - } + else if (t1.___$MenuComponent__cachedTypedProps_A.get$state(0).ui_state.storables.base_pair_display_type === B.BasePairDisplayType_none) + $.__app._readField$0().dispatch$1(A._$BasePairTypeSet$_(B.BasePairDisplayType_rectangle.toIndex$0())); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_base_pairs_closure2.prototype = { call$1(_) { @@ -147585,7 +146324,7 @@ 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)); + return t1.dispatch$1(A._$ShowBasePairLinesWithMismatchesSet$_(!t2.get$state(0).ui_state.storables.show_base_pair_lines_with_mismatches)); }, $signature: 4 }; @@ -147596,7 +146335,7 @@ 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)); + return t1.dispatch$1(A.ShowDNASet_ShowDNASet(!t2.get$state(0).ui_state.storables.show_dna)); }, $signature: 4 }; @@ -147607,9 +146346,9 @@ 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)); + t1.dispatch$1(A.DisplayReverseDNARightSideUpSet_DisplayReverseDNARightSideUpSet(!t2.get$state(0).ui_state.storables.display_reverse_DNA_right_side_up)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_show_oxview_closure.prototype = { call$1(_) { @@ -147618,16 +146357,16 @@ 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)); + t1.dispatch$1(A.OxviewShowSet_OxviewShowSet(!t2.get$state(0).ui_state.storables.show_oxview)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_zoom_speed_closure.prototype = { call$1(new_zoom_speed) { A._asNum(new_zoom_speed); return $.__app._readField$0().dispatch$1(A._$ZoomSpeedSet$_(new_zoom_speed)); }, - $signature: 35 + $signature: 36 }; A.MenuComponent_view_menu_misc_closure.prototype = { call$1(_) { @@ -147636,7 +146375,7 @@ 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)); + return t1.dispatch$1(A._$InvertYSet$_(!t2.get$state(0).ui_state.storables.invert_y)); }, $signature: 4 }; @@ -147647,7 +146386,7 @@ 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)); + return t1.dispatch$1(A._$ShowAxisArrowsSet$_(!t2.get$state(0).ui_state.storables.show_helices_axis_arrows)); }, $signature: 4 }; @@ -147658,7 +146397,7 @@ 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)); + return t1.dispatch$1(A._$ShowLoopoutExtensionLengthSet$_(!t2.get$state(0).ui_state.storables.show_loopout_extension_length)); }, $signature: 4 }; @@ -147669,9 +146408,9 @@ 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)); + t1.dispatch$1(A.ShowSliceBarSet_ShowSliceBarSet(!t2.get$state(0).ui_state.storables.show_slice_bar)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_misc_closure3.prototype = { call$1(_) { @@ -147680,9 +146419,9 @@ 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)); + t1.dispatch$1(A.ShowMouseoverDataSet_ShowMouseoverDataSet(!t2.get$state(0).ui_state.storables.show_mouseover_data)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_misc_closure4.prototype = { call$1(_) { @@ -147691,9 +146430,9 @@ 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)); + t1.dispatch$1(A.DisablePngCachingDnaSequencesSet_DisablePngCachingDnaSequencesSet(!t2.get$state(0).ui_state.storables.disable_png_caching_dna_sequences)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_view_menu_misc_closure5.prototype = { call$1(_) { @@ -147702,9 +146441,9 @@ 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)); + t1.dispatch$1(A.RetainStrandColorOnSelectionSet_RetainStrandColorOnSelectionSet(!t2.get$state(0).ui_state.storables.retain_strand_color_on_selection)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_export_menu_closure.prototype = { call$1(_) { @@ -147734,16 +146473,16 @@ 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)); + t1.dispatch$1(A.ExportSvgTextSeparatelySet_ExportSvgTextSeparatelySet(!t2.get$state(0).ui_state.storables.export_svg_text_separately)); }, - $signature: 8 + $signature: 7 }; 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: 53 + $signature: 57 }; A.MenuComponent_export_menu_closure4.prototype = { call$1(_) { @@ -147773,7 +146512,7 @@ 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)); + return t1.dispatch$1(A.OxviewExport_OxviewExport(t2.get$state(0).ui_state.storables.ox_export_only_selected_strands)); }, $signature: 1 }; @@ -147784,7 +146523,7 @@ 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)); + return t1.dispatch$1(A.OxdnaExport_OxdnaExport(t2.get$state(0).ui_state.storables.ox_export_only_selected_strands)); }, $signature: 1 }; @@ -147795,9 +146534,9 @@ 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)); + t1.dispatch$1(A._$OxExportOnlySelectedStrandsSet$_(!t2.get$state(0).ui_state.storables.ox_export_only_selected_strands)); }, - $signature: 8 + $signature: 7 }; A.MenuComponent_help_menu_closure.prototype = { call$1(_) { @@ -147807,14 +146546,14 @@ t1.toString; return B.Window_methods.alert$1(t1, "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: 523 + $signature: 521 }; 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: 51 + $signature: 56 }; A.request_load_file_from_file_chooser_closure0.prototype = { call$1(_) { @@ -147824,13 +146563,13 @@ t1.toString; return B.Window_methods.alert$1(t1, this.err_msg); }, - $signature: 51 + $signature: 56 }; A.$MenuComponentFactory_closure.prototype = { call$0() { return new A._$MenuComponent(null); }, - $signature: 524 + $signature: 522 }; A._$$MenuProps.prototype = { get$$$isClassGenerated() { @@ -147865,7 +146604,7 @@ return "Menu"; }, get$$$defaultConsumedProps() { - return B.Map_wsU01.get$values(B.Map_wsU01); + return B.Map_Y2AH7.get$values(B.Map_Y2AH7); } }; A.$MenuProps.prototype = { @@ -147891,8 +146630,8 @@ this.MenuBooleanProps___MenuBooleanProps_value_A = A._asBool(value); }, $isMap: 1, - $isUiProps0: 1, - $isUiProps: 1 + $isUiProps: 1, + $isUiProps0: 1 }; A.MenuBooleanComponent.prototype = { get$defaultProps(_) { @@ -147905,15 +146644,13 @@ var $name, t2, t3, t4, t5, t6, _this = this, _null = null, t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "MenuBooleanProps.hide"); + t1 = t1.get$props(0).$index(0, "MenuBooleanProps.hide"); if (A._asBool(t1 == null ? _null : t1)) return _null; - t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "MenuBooleanProps.name"); + t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuBooleanProps.name"); $name = A._asStringQ(t1 == null ? _null : t1); if ($name == null) { - t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A; - t1 = t1.get$display(t1); + t1 = _this.___$MenuBooleanComponent__cachedTypedProps_A.get$display(0); $name = A.stringReplaceAllUnchecked(t1.toLowerCase(), " ", "-"); } t1 = A.DomProps$($.$get$span(), _null); @@ -147924,28 +146661,23 @@ 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.___$MenuBooleanComponent__cachedTypedProps_A; - t6 = t6.get$props(t6).$index(0, "MenuBooleanProps.tooltip"); + t6 = _this.___$MenuBooleanComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuBooleanProps.tooltip"); t5.set$title(0, A._asString(t6 == null ? _null : t6)); t6 = A.DomProps$($.$get$input(), _null); 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.___$MenuBooleanComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "MenuBooleanProps.on_change"); + t6.set$checked(0, _this.___$MenuBooleanComponent__cachedTypedProps_A.get$value(0)); + t3 = _this.___$MenuBooleanComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuBooleanProps.on_change"); t2 = t3 == null ? _null : t3; t6.set$onChange(0, type$.dynamic_Function_SyntheticFormEvent._as(t2)); t6.set$type(0, "checkbox"); - t6 = t6.call$0(); - t2 = _this.___$MenuBooleanComponent__cachedTypedProps_A; - return t1.call$1(t5.call$2(t6, t2.get$display(t2))); + return t1.call$1(t5.call$2(t6.call$0(), _this.___$MenuBooleanComponent__cachedTypedProps_A.get$display(0))); } }; A.$MenuBooleanComponentFactory_closure.prototype = { call$0() { return new A._$MenuBooleanComponent(null); }, - $signature: 525 + $signature: 523 }; A._$$MenuBooleanProps.prototype = { get$$$isClassGenerated() { @@ -147983,7 +146715,7 @@ return "MenuBoolean"; }, get$$$defaultConsumedProps() { - return B.Map_EsMQR.get$values(B.Map_EsMQR); + return B.Map_CxWnW.get$values(B.Map_CxWnW); } }; A.$MenuBooleanProps.prototype = { @@ -148018,7 +146750,7 @@ }; A.__$$MenuBooleanProps_UiProps_MenuBooleanProps.prototype = {}; A.__$$MenuBooleanProps_UiProps_MenuBooleanProps_$MenuBooleanProps.prototype = {}; - A.MenuDropdownItemProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuDropdownItemProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.MenuDropdownItemComponent.prototype = { get$defaultProps(_) { var t1 = this.typedPropsFactoryJs$1(new A.JsBackedMap({})); @@ -148032,27 +146764,22 @@ t1 = $.$get$DropdownItem(), t2 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t2 = t2.get$props(t2).$index(0, "MenuDropdownItemProps.active"); + t2 = t2.get$props(0).$index(0, "MenuDropdownItemProps.active"); t2 = A._asBool(t2 == null ? _null : t2); - t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.disabled"); + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownItemProps.disabled"); t3 = A._asBool(t3 == null ? _null : t3); - t4 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "MenuDropdownItemProps.on_click"); + t4 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownItemProps.on_click"); if (t4 == null) t4 = _null; t5 = type$.dynamic; 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.___$MenuDropdownItemComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.display"); + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownItemProps.display"); t2 = t4.call$1(A._asString(t3 == null ? _null : t3)); - t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "MenuDropdownItemProps.keyboard_shortcut"); + t3 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A.get$props(0).$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"); + t2 = _this.___$MenuDropdownItemComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownItemProps.tooltip"); t1.set$title(0, A._asString(t2 == null ? _null : t2)); return t1.call$1(dropdown_item); } @@ -148061,7 +146788,7 @@ call$0() { return new A._$MenuDropdownItemComponent(null); }, - $signature: 526 + $signature: 524 }; A._$$MenuDropdownItemProps.prototype = { get$$$isClassGenerated() { @@ -148099,7 +146826,7 @@ return "MenuDropdownItem"; }, get$$$defaultConsumedProps() { - return B.Map_woiCG.get$values(B.Map_woiCG); + return B.Map_ufg6t.get$values(B.Map_ufg6t); } }; A.$MenuDropdownItemProps.prototype = { @@ -148125,7 +146852,7 @@ }; A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps.prototype = {}; A.__$$MenuDropdownItemProps_UiProps_MenuDropdownItemProps_$MenuDropdownItemProps.prototype = {}; - A.MenuDropdownRightProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.MenuDropdownRightProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.MenuDropdownRightState.prototype = {$isMap: 1}; A.MenuDropdownRightComponent.prototype = { get$initialState() { @@ -148149,8 +146876,7 @@ var t2, t1 = this.___$MenuDropdownRightComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); - t2 = t1.get$HTML_element(); - t2 = t2.get$current(t2); + t2 = t1.get$HTML_element().get$current(0); t2.toString; t2 = J.getBoundingClientRect$0$x(t2).top; t2.toString; @@ -148175,19 +146901,15 @@ 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 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownRightProps.disabled"); t4 = A._asBool(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"); + if (_this.___$MenuDropdownRightComponent__cachedTypedState_A.get$top(0) != null) { + t7 = _this.___$MenuDropdownRightComponent__cachedTypedState_A.get$top(0); + t8 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownRightProps.disallow_overflow"); t8 = A._asBool(t8 == null ? _null : t8) ? "auto" : "visible"; t9 = type$.String; t9 = A.LinkedHashMap_LinkedHashMap$_literal(["--offset-top", A.S(t7) + "px", "--overflow-y", t8], t9, t9); @@ -148197,21 +146919,18 @@ 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)); - t7 = A.DomProps$($.$get$span(), _null); - t8 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A; - t8 = t8.get$props(t8).$index(0, "MenuDropdownRightProps.tooltip"); - t7.set$title(0, A._asString(t8 == null ? _null : t8)); - return t7.call$1(menu_dropdown_right); + menu_dropdown_right = t1.call$2(A.LinkedHashMap_LinkedHashMap$_literal(["title", t2, "drop", "right", "id", t3, "variant", "none", "disabled", t4, "ref", t5, "key", t6, "style", t7], t8, t8), _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$children(0)); + t8 = A.DomProps$($.$get$span(), _null); + t7 = _this.___$MenuDropdownRightComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuDropdownRightProps.tooltip"); + t8.set$title(0, A._asString(t7 == null ? _null : t7)); + return t8.call$1(menu_dropdown_right); } }; A.$MenuDropdownRightComponentFactory_closure.prototype = { call$0() { return new A._$MenuDropdownRightComponent(null); }, - $signature: 527 + $signature: 525 }; A._$$MenuDropdownRightProps.prototype = { get$$$isClassGenerated() { @@ -148269,7 +146988,7 @@ return "MenuDropdownRight"; }, get$$$defaultConsumedProps() { - return B.Map_HP2jN.get$values(B.Map_HP2jN); + return B.Map_B8Nl7.get$values(B.Map_B8Nl7); } }; A.$MenuDropdownRightProps.prototype = { @@ -148326,31 +147045,27 @@ 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.MenuFormFileProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.MenuFormFileComponent.prototype = { render$0(_) { var t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = $.$get$FormFile(), t2 = _this.___$MenuFormFileComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t2 = t2.get$props(t2).$index(0, "MenuFormFileProps.id_"); + t2 = t2.get$props(0).$index(0, "MenuFormFileProps.id_"); t2 = A._asString(t2 == null ? _null : t2); - t3 = _this.___$MenuFormFileComponent__cachedTypedProps_A; - t3 = t3.get$props(t3).$index(0, "MenuFormFileProps.accept"); + t3 = _this.___$MenuFormFileComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuFormFileProps.accept"); t3 = A._asString(t3 == null ? _null : t3); - t4 = _this.___$MenuFormFileComponent__cachedTypedProps_A; - t4 = t4.get$props(t4).$index(0, "MenuFormFileProps.on_change"); + t4 = _this.___$MenuFormFileComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuFormFileProps.on_change"); if (t4 == null) t4 = _null; type$.dynamic_Function_SyntheticFormEvent._as(t4); t5 = A.DomProps$($.$get$div(), _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"); + t7 = _this.___$MenuFormFileComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuFormFileProps.display"); t6 = t6.call$1(A._asString(t7 == null ? _null : t7)); - t7 = _this.___$MenuFormFileComponent__cachedTypedProps_A; - t7 = t7.get$props(t7).$index(0, "MenuFormFileProps.keyboard_shortcut"); + t7 = _this.___$MenuFormFileComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuFormFileProps.keyboard_shortcut"); t8 = type$.dynamic; 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)); } @@ -148362,13 +147077,13 @@ J.click$0$x(t1); J.set$value$x(J.get$target$x(e), null); }, - $signature: 49 + $signature: 44 }; A.$MenuFormFileComponentFactory_closure.prototype = { call$0() { return new A._$MenuFormFileComponent(null); }, - $signature: 528 + $signature: 526 }; A._$$MenuFormFileProps.prototype = { get$$$isClassGenerated() { @@ -148403,7 +147118,7 @@ return "MenuFormFile"; }, get$$$defaultConsumedProps() { - return B.Map_ca8ix.get$values(B.Map_ca8ix); + return B.Map_0itt.get$values(B.Map_0itt); } }; A.$MenuFormFileProps.prototype = { @@ -148437,47 +147152,37 @@ 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"); + t1 = t1.get$props(0).$index(0, "MenuNumberPropsMixin.hide"); if (A._asBool(t1 == null ? _null : t1)) return _null; - t1 = _this.___$MenuNumberComponent__cachedTypedProps_A; - t1 = t1.get$display(t1); + t1 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$display(0); display_no_spaces = A.stringReplaceAllUnchecked(t1.toLowerCase(), " ", "-"); - t1 = _this.___$MenuNumberComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "MenuNumberPropsMixin.input_elt_id"); + t1 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$props(0).$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$title(0, _this.___$MenuNumberComponent__cachedTypedProps_A.get$display(0)); 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"); + t6 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuNumberPropsMixin.tooltip"); t5.set$title(0, A._asString(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._asNum(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"); + t3 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuNumberPropsMixin.min_value"); + t6.props.$indexSet(0, "min", A.S(A._asNum(t3 == null ? _null : t3))); + t2 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuNumberPropsMixin.step"); t6.set$step(0, A.S(A._asNum(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"); + t2 = _this.___$MenuNumberComponent__cachedTypedProps_A.get$props(0).$index(0, "MenuNumberPropsMixin.default_value"); t6.set$defaultValue(0, A._asNum(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))); + return t1.call$1(t5.call$2(t6.call$0(), _this.___$MenuNumberComponent__cachedTypedProps_A.get$display(0))); } }; A.MenuNumberComponent_render_closure.prototype = { @@ -148492,13 +147197,13 @@ t1.on_new_value$1(new_value); } }, - $signature: 8 + $signature: 7 }; A.$MenuNumberComponentFactory_closure.prototype = { call$0() { return new A._$MenuNumberComponent(null); }, - $signature: 529 + $signature: 527 }; A._$$MenuNumberProps.prototype = { get$$$isClassGenerated() { @@ -148536,7 +147241,7 @@ return "MenuNumber"; }, get$$$defaultConsumedProps() { - return B.Map_Uc7Gq.get$values(B.Map_Uc7Gq); + return B.Map_2NJAZ.get$values(B.Map_2NJAZ); } }; A.$MenuNumberPropsMixin.prototype = { @@ -148583,21 +147288,21 @@ type$.AppState._as(state); return A.set_side_menu_props(A.menu_side___$SideMenu$closure().call$0(), state); }, - $signature: 530 + $signature: 528 }; - A.SideMenuProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SideMenuProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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"); + t1 = t1.get$props(0).$index(0, "SideMenuProps.groups"); if (t1 == null) t1 = null; type$.nullable_BuiltMap_String_HelixGroup._as(t1); if (t1 == null) return null; - t2 = t1._map$_map._length > 1 || _this.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name() !== "default_group"; + t2 = t1._map$_map.__js_helper$_length > 1 || _this.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name() !== "default_group"; t3 = type$.dynamic; if (t2) return $.$get$Navbar().call$3(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)); @@ -148611,7 +147316,7 @@ _s18_ = "group-nav-dropdown"; type$.BuiltMap_String_HelixGroup._as(groups); options = []; - for (t1 = groups.get$keys(groups), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = type$.dynamic_Function_SyntheticMouseEvent; t1.moveNext$0();) { + for (t1 = groups.get$keys(0), t2 = t1._map, t1 = A.LinkedHashMapKeyIterator$(t2, t2._modifications, t1.$ti._precomputed1), t2 = type$.dynamic_Function_SyntheticMouseEvent; t1.moveNext$0();) { t3 = t1.__js_helper$_current; t4 = A.menu_dropdown_item___$MenuDropdownItem$closure().call$0(); t5 = t2._as(new A.SideMenuComponent_groups_menu_closure(t3)); @@ -148620,11 +147325,10 @@ 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 = t5.get$props(0).$index(0, _s34_); t5 = A._asString(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 = _this.___$SideMenuComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t5 = A._asString(t5 == null ? null : t5); J.$indexSet$ax(t6.get$props(t4), "MenuDropdownItemProps.disabled", t3 === t5); t6 = t6.get$props(t4); @@ -148650,7 +147354,7 @@ t7 = J.getInterceptor$z(t6); t7.set$display(t6, "remove current group"); t8 = groups._map$_map; - t7.set$disabled(t6, t8._length === 1); + t7.set$disabled(t6, t8.__js_helper$_length === 1); t6.set$on_click(new A.SideMenuComponent_groups_menu_closure2(_this)); t7.set$key(t6, "remove-current-group"); t6 = t6.call$0(); @@ -148688,11 +147392,10 @@ J.$indexSet$ax(t10.get$props(t8), "MenuDropdownItemProps.display", t9); t11 = this.___$SideMenuComponent__cachedTypedProps_A; t11 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t11 = t11.get$props(t11).$index(0, _s34_); + t11 = t11.get$props(0).$index(0, _s34_); t11 = t5.$index(0, A._asString(t11 == null ? null : t11)).grid; J.$indexSet$ax(t10.get$props(t8), "MenuDropdownItemProps.active", t7 === t11); - t11 = this.___$SideMenuComponent__cachedTypedProps_A; - t11 = t11.get$props(t11).$index(0, _s34_); + t11 = this.___$SideMenuComponent__cachedTypedProps_A.get$props(0).$index(0, _s34_); t11 = t5.$index(0, A._asString(t11 == null ? null : t11)).grid; J.$indexSet$ax(t10.get$props(t8), "MenuDropdownItemProps.disabled", t7 === t11); t7 = t6._as(new A.SideMenuComponent_grid_menu_closure(this, t7)); @@ -148811,7 +147514,7 @@ 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); + existing_names = groups.get$keys(0); if (new_name !== $async$self.___$SideMenuComponent__cachedTypedProps_A.get$displayed_group_name() && existing_names._map.containsKey$1(0, new_name)) { t1 = window; t1.toString; @@ -148856,8 +147559,8 @@ old_sorted = J.toSet$0$ax(helices_view_order_old_sorted._copy_on_write_list$_list); 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: " + 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))) { + 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("SetBase.E"))) + "\n" : ""; + if (!A.boolConversionCheck(eq.call$2(A.List_List$of(chosen_sorted, true, A._instanceType(chosen_sorted)._eval$1("SetBase.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) { @@ -148868,7 +147571,7 @@ B.JSArray_methods.add$1(unique_vals, i); } 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"; + error_message += "The following helix indices are duplicated: " + A.S(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"))) + "\n"; } t1 = window; t1.toString; @@ -148934,19 +147637,7 @@ } t2 = type$.int; new_indices_map = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); - t2 = J.getInterceptor$asx(results); - t3 = type$.DialogInteger; - i = 1; - while (true) { - t4 = t2.get$length(results); - if (typeof t4 !== "number") { - $async$returnValue = A.iae(t4); - // goto return - $async$goto = 1; - break $async$outer; - } - if (!(i < t4)) - break; + for (t2 = J.getInterceptor$asx(results), t3 = type$.DialogInteger, i = 1; i < t2.get$length(results); ++i) { t4 = i - 1; if (!(t4 < t1.length)) { $async$returnValue = A.ioore(t1, t4); @@ -148955,7 +147646,6 @@ break $async$outer; } new_indices_map.$indexSet(0, t1[t4], t3._as(t2.$index(results, i)).value); - ++i; } $.__app._readField$0().dispatch$1(A.HelixIdxsChange_HelixIdxsChange(new_indices_map)); case 1: @@ -148981,7 +147671,9 @@ // Function start t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - t1 = t1.get$state(t1).get$design(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + t1 = t1.get$design(); t2 = $async$self.___$SideMenuComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); t2 = t1.groups._map$_map.$index(0, t2.get$displayed_group_name()); @@ -148996,7 +147688,7 @@ 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_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", B.DialogType_ku2, false)), $async$ask_change_group_geometry$0); + return A._asyncAwait(A.dialog(A.Dialog_Dialog(B.Set_empty, B.Map_empty3, B.Map_empty3, B.Map_empty4, items, B.List_empty3, A.dialog_Dialog_identity_function$closure(), "adjust geometric parameters", B.DialogType_uti, false)), $async$ask_change_group_geometry$0); case 3: // returning from await. results = $async$result; @@ -149036,10 +147728,8 @@ }; 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)); + return this.$this.add_new_group$1(this.groups.get$keys(0)); }, $signature: 1 }; @@ -149111,7 +147801,7 @@ } return saved_items; }, - $signature: 146 + $signature: 145 }; A.SideMenuComponent_ask_new_helix_indices_for_current_group__closure.prototype = { call$1(e) { @@ -149120,7 +147810,7 @@ t1 = this.saved_item; return e.get$label(e) === t1.get$label(t1); }, - $signature: 532 + $signature: 530 }; A.SideMenuComponent_change_group_geometry_closure.prototype = { call$0() { @@ -149132,7 +147822,7 @@ call$0() { return new A._$SideMenuComponent(null); }, - $signature: 533 + $signature: 531 }; A._$$SideMenuProps.prototype = { get$$$isClassGenerated() { @@ -149167,7 +147857,7 @@ return "SideMenu"; }, get$$$defaultConsumedProps() { - return B.Map_OTv4L.get$values(B.Map_OTv4L); + return B.Map_jtWrY.get$values(B.Map_jtWrY); } }; A.$SideMenuProps.prototype = { @@ -149184,15 +147874,15 @@ type$.nullable_PotentialCrossover._as(potential_crossover); return A.set_potential_crossover_props(A.potential_crossover_view___$PotentialCrossoverView$closure().call$0(), potential_crossover); }, - $signature: 534 + $signature: 532 }; - A.PotentialCrossoverViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.PotentialCrossoverViewProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.PotentialCrossoverViewComponent.prototype = { render$0(_) { var t2, t3, _null = null, t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, string$.PotentC); + t1 = t1.get$props(0).$index(0, string$.PotentC); if (t1 == null) t1 = _null; type$.nullable_PotentialCrossover._as(t1); @@ -149207,8 +147897,7 @@ t2.set$y2(0, A.S(t3.y)); t2.set$className(0, "potential-segment"); t2.set$stroke(0, t1.color); - t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "PotentialCrossoverViewProps.id_"); + t1 = this.___$PotentialCrossoverViewComponent__cachedTypedProps_A.get$props(0).$index(0, "PotentialCrossoverViewProps.id_"); t2.set$id(0, A._asString(t1 == null ? _null : t1)); return t2.call$0(); } @@ -149217,7 +147906,7 @@ call$0() { return new A._$PotentialCrossoverViewComponent(null); }, - $signature: 535 + $signature: 533 }; A._$$PotentialCrossoverViewProps.prototype = { get$$$isClassGenerated() { @@ -149252,7 +147941,7 @@ return "PotentialCrossoverView"; }, get$$$defaultConsumedProps() { - return B.Map_2jwEs.get$values(B.Map_2jwEs); + return B.Map_vPdEs.get$values(B.Map_vPdEs); } }; A.$PotentialCrossoverViewProps.prototype = {}; @@ -149268,15 +147957,15 @@ t1.set$id_(props.get$id_()); return t1; }, - $signature: 536 + $signature: 534 }; - A.PotentialExtensionsViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.PotentialExtensionsViewProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 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); + t1 = t1.get$props(0).$index(0, string$.PotentE); if (t1 == null) t1 = null; type$.nullable_DNAExtensionsMove._as(t1); @@ -149307,17 +147996,17 @@ 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)); + t1.set$key(0, A.S(t4.get$id_()) + "-" + t3.get$id(0)); + t1.set$id(0, A.S(t2.___$PotentialExtensionsViewComponent__cachedTypedProps_A.get$id_()) + "-" + t3.get$id(0)); return t1.call$0(); }, - $signature: 537 + $signature: 535 }; A.$PotentialExtensionsViewComponentFactory_closure.prototype = { call$0() { return new A._$PotentialExtensionsViewComponent(null); }, - $signature: 538 + $signature: 536 }; A._$$PotentialExtensionsViewProps.prototype = { get$$$isClassGenerated() { @@ -149352,7 +148041,7 @@ return "PotentialExtensionsView"; }, get$$$defaultConsumedProps() { - return B.Map_dywEo.get$values(B.Map_dywEo); + return B.Map_GVMvk.get$values(B.Map_GVMvk); } }; A.$PotentialExtensionsViewProps.prototype = { @@ -149383,7 +148072,7 @@ t3.remove$1(0, _s8_); 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_)); + t1 = t3._as(J.$index$asx(t1.get$_component_base$_map(), _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; @@ -149397,13 +148086,13 @@ this.RedrawCounterMixin__didRedraw = type$.Completer_int._as(_didRedraw); } }; - A.SelectModePropsMixin.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectModePropsMixin.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.SelectModeComponent.prototype = { get$consumedProps() { - var t1 = type$.Set_Type._as(A.LinkedHashSet_LinkedHashSet$_literal([B.Type_SelectModePropsMixin_kqe], type$.Type)), + var t1 = type$.Set_Type._as(A.LinkedHashSet_LinkedHashSet$_literal([B.Type_SelectModePropsMixin_0], type$.Type)), t2 = type$.PropsMetaCollection._eval$1("_AccessorMetaCollection.U"), t3 = t1.$ti; - 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>")); + return new A.EfficientLengthMappedIterable(t1, t3._bind$1(t2)._eval$1("1(SetBase.E)")._as(B.PropsMetaCollection_Map_UwEGJ.get$forMixin()), t3._eval$1("@")._bind$1(t2)._eval$1("EfficientLengthMappedIterable<1,2>")); }, render$0(_) { var t2, t3, all_ends_button, modes, t4, t5, t6, t7, t8, t9, t10, t11, t12, _null = null, @@ -149414,14 +148103,13 @@ t1.set$title(0, "all ends: Selects all of 5' strand, 3'\nstrand, 5' domain, 3' domain.\n[Alt+E]"); t2 = this.___$SelectModeComponent__cachedTypedProps_A; t2 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1.set$className(0, "mode-button " + (t2.get$select_mode_state().modes._set.containsAll$1(type$.Iterable_nullable_Object._as($.$get$SelectModeChoice_ends())) ? _s27_ : _s29_)); + t1.set$className(0, "mode-button " + (t2.get$select_mode_state().modes._set.containsAll$1($.$get$SelectModeChoice_ends()) ? _s27_ : _s29_)); t1.addTestId$1("scadnano.SelectModeComponent.button.all_ends"); t1.set$key(0, "all-ends"); t3 = A.DomProps$($.$get$img(), _null); t3.set$src(0, "images/select_mode_icons/allends.svg"); all_ends_button = t1.call$1(t3.call$0()); - t1 = this.___$SelectModeComponent__cachedTypedProps_A; - t1 = t1.get$props(t1).$index(0, "SelectModePropsMixin.is_origami"); + t1 = this.___$SelectModeComponent__cachedTypedProps_A.get$props(0).$index(0, "SelectModePropsMixin.is_origami"); modes = A._asBool(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), t4 = t3._eval$1("ArrayIterator<1>"), t5 = new J.ArrayIterator(t2, t2.length, t4), t6 = type$.SelectModeState, t7 = type$.nullable_dynamic_Function_SyntheticMouseEvent, t3 = t3._precomputed1; t5.moveNext$0();) { @@ -149429,22 +148117,16 @@ if (t8 == null) t8 = t3._as(t8); t9 = A.DomProps$($.$get$button(), _null); - t10 = t7._as(new A.SelectModeComponent_render_closure0(t8)); - t11 = t9.props; - t12 = t11.jsObject; - t12.onClick = A.DartValueWrapper_wrapIfNeeded(t10); - t10 = t8.get$tooltip(); - t12.title = A.DartValueWrapper_wrapIfNeeded(t10); - t10 = this.___$SelectModeComponent__cachedTypedProps_A; - t10 = t10.get$props(t10).$index(0, "SelectModePropsMixin.select_mode_state"); - t10 = t6._as(t10 == null ? _null : t10).modes._set.contains$1(0, t8) ? _s27_ : _s29_; - t12.className = A.DartValueWrapper_wrapIfNeeded("mode-button " + t10); + t10 = t9.props; + t10.$indexSet(0, "onClick", t7._as(new A.SelectModeComponent_render_closure0(t8))); + t10.$indexSet(0, "title", t8.get$tooltip()); + t11 = this.___$SelectModeComponent__cachedTypedProps_A.get$props(0).$index(0, "SelectModePropsMixin.select_mode_state"); + t10.$indexSet(0, "className", "mode-button " + (t6._as(t11 == null ? _null : t11).modes._set.contains$1(0, t8) ? _s27_ : _s29_)); t9.addTestId$1("scadnano.SelectModeComponent.button." + t8.name); - t10 = t8.get$display_name(); - t11.$indexSet(0, "key", t10); + t12 = t8.get$display_name(); + t10.$indexSet(0, "key", t12); t10 = A.DomProps$($.$get$img(), _null); - t11 = t8.get$image_file(); - t10.props.jsObject.src = A.DartValueWrapper_wrapIfNeeded(t11); + t10.props.$indexSet(0, "src", t8.get$image_file()); t1.$indexSet(0, t8, t9.call$1(t10.call$0())); } t5 = type$.JSArray_nullable_ReactElement; @@ -149481,7 +148163,7 @@ call$0() { return new A._$SelectModeComponent(1, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_int), type$._AsyncCompleter_int), 0, null); }, - $signature: 539 + $signature: 537 }; A._$$SelectModeProps.prototype = { get$$$isClassGenerated() { @@ -149516,7 +148198,7 @@ return "SelectMode"; }, get$$$defaultConsumedProps() { - return B.Map_scU05.get$values(B.Map_scU05); + return B.Map_UwEGJ.get$values(B.Map_UwEGJ); } }; A.$SelectModePropsMixin.prototype = { @@ -149554,9 +148236,9 @@ t1.set$is_main(props.get$is_main()); return t1; }, - $signature: 540 + $signature: 538 }; - A.SelectionBoxViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectionBoxViewProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.SelectionBoxViewComponent.prototype = { render$0(_) { var stroke_width, t2, t3, t4, _this = this, @@ -149574,8 +148256,8 @@ t4 = t1.current; t2.set$x(0, Math.min(t3.x, t4.x)); t2.set$y(0, Math.min(t3.y, t4.y)); - t2.set$width(0, t1.get$width(t1)); - t2.set$height(0, t1.get$height(t1)); + t2.set$width(0, t1.get$width(0)); + t2.set$height(0, t1.get$height(0)); t2.set$strokeWidth(stroke_width); t2.set$id(0, _this.___$SelectionBoxViewComponent__cachedTypedProps_A.get$id_()); t2.set$className(0, "selection-box"); @@ -149586,7 +148268,7 @@ call$0() { return new A._$SelectionBoxViewComponent(null); }, - $signature: 541 + $signature: 539 }; A._$$SelectionBoxViewProps.prototype = { get$$$isClassGenerated() { @@ -149621,7 +148303,7 @@ return "SelectionBoxView"; }, get$$$defaultConsumedProps() { - return B.Map_EkiDg.get$values(B.Map_EkiDg); + return B.Map_guUwG.get$values(B.Map_guUwG); } }; A.$SelectionBoxViewProps.prototype = { @@ -149670,9 +148352,9 @@ t1.set$is_main(props.get$is_main()); return t1; }, - $signature: 542 + $signature: 540 }; - A.SelectionRopeViewProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.SelectionRopeViewProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.SelectionRopeViewComponent.prototype = { render$0(_) { var stroke_width, t2, t3, t4, t5, potential_is_illegal, points_str_potential, draw_potential, _this = this, _null = null, @@ -149680,7 +148362,7 @@ _s24_ = "selection-rope-potential", t1 = _this.___$SelectionRopeViewComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "SelectionRopeViewProps.selection_rope"); + t1 = t1.get$props(0).$index(0, "SelectionRopeViewProps.selection_rope"); if (t1 == null) t1 = _null; type$.nullable_SelectionRope._as(t1); @@ -149732,7 +148414,7 @@ call$0() { return new A._$SelectionRopeViewComponent(null); }, - $signature: 543 + $signature: 541 }; A._$$SelectionRopeViewProps.prototype = { get$$$isClassGenerated() { @@ -149767,7 +148449,7 @@ return "SelectionRopeView"; }, get$$$defaultConsumedProps() { - return B.Map_vSouM.get$values(B.Map_vSouM); + return B.Map_eoc4R.get$values(B.Map_eoc4R); } }; A.$SelectionRopeViewProps.prototype = { @@ -149816,9 +148498,9 @@ J.$indexSet$ax(t1.get$props(t1), string$.Strand, t2); return t1; }, - $signature: 544 + $signature: 542 }; - A.StrandOrSubstrandColorPickerProps.prototype = {$isMap: 1, $isUiProps0: 1, $isUiProps: 1}; + A.StrandOrSubstrandColorPickerProps.prototype = {$isMap: 1, $isUiProps: 1, $isUiProps0: 1}; A.StrandOrSubstrandColorPickerState.prototype = {$isMap: 1}; A.StrandOrSubstrandColorPickerComponent.prototype = { handleOnChangeComplete$2(color, _) { @@ -149845,27 +148527,30 @@ $.__app._readField$0().dispatch$1(A.StrandOrSubstrandColorPickerHide_StrandOrSubstrandColorPickerHide()); t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; t1 === $ && A.throwLateFieldNI("_cachedTypedState"); - color = t1.get$color(t1); + color = t1.get$color(0); if (color != null) { t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); + t2 = false; 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); + t2 = color.get$hashCode(0); + t1 = t1.get$hashCode(0); t1 = t2 !== t1; } else - t1 = false; + t1 = t2; else - t1 = false; + t1 = t2; if (t1) { t1 = _this.color_set_strand_action_creator$1(color); 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()); + t3 = t3.__Store__state_A; + t3 === $ && A.throwLateFieldNI("_state"); + action = _this.batch_if_multiple_selected_strands$3(t1, t2, t3.ui_state.selectables_store.get$selected_strands()); } else { if (_this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$substrand() != null) { t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$substrand(); @@ -149875,7 +148560,9 @@ if (t1) { t1 = $.__app._readField$0().__App_store_F; t1 === $ && A.throwLateFieldNI("store"); - store = t1.get$state(t1).ui_state.selectables_store; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + store = t1.ui_state.selectables_store; 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()); @@ -149899,7 +148586,7 @@ _s13_ = "dialog-button", t1 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; t1 === $ && A.throwLateFieldNI("_cachedTypedProps"); - t1 = t1.get$props(t1).$index(0, "StrandOrSubstrandColorPickerProps.show"); + t1 = t1.get$props(0).$index(0, "StrandOrSubstrandColorPickerProps.show"); if (!A._asBool(t1 == null ? _null : t1)) return _null; t1 = A.DomProps$($.$get$div(), _null); @@ -149912,10 +148599,9 @@ t4 = $.$get$SketchPicker(); t5 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedState_A; t5 === $ && A.throwLateFieldNI("_cachedTypedState"); - t5 = t5.get$color(t5); + t5 = t5.get$color(0); if (t5 == null) { - t5 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A; - t5 = t5.get$props(t5).$index(0, "StrandOrSubstrandColorPickerProps.color"); + t5 = _this.___$StrandOrSubstrandColorPickerComponent__cachedTypedProps_A.get$props(0).$index(0, "StrandOrSubstrandColorPickerProps.color"); if (t5 == null) t5 = _null; type$.nullable_Color._as(t5); @@ -149977,7 +148663,9 @@ 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(); + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + design = 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]; @@ -149999,31 +148687,30 @@ call$1(strand) { return A._$StrandOrSubstrandColorSet$_(this.color, type$.Strand._as(strand), null); }, - $signature: 546 + $signature: 544 }; A.StrandOrSubstrandColorPickerComponent_color_set_substrand_action_creator_closure.prototype = { call$2(strand, substrand) { return A._$StrandOrSubstrandColorSet$_(this.color, strand, substrand); }, - $signature: 547 + $signature: 545 }; A.StrandOrSubstrandColorPickerComponent_batch_if_multiple_selected_strands_closure.prototype = { call$1(b) { - var t1, t2; + var t1; type$.SetBuilder_Strand._as(b); - t1 = b.$ti._precomputed1; - t2 = t1._as(this.strand); - !$.$get$isSoundMode() && !t1._is(null); - return b.get$_safeSet().add$1(0, t2); + t1 = b.$ti._precomputed1._as(this.strand); + $.$get$isSoundMode(); + return b.get$_safeSet().add$1(0, t1); }, - $signature: 100 + $signature: 93 }; A.JSColor.prototype = {}; A.$StrandOrSubstrandColorPickerComponentFactory_closure.prototype = { call$0() { return new A._$StrandOrSubstrandColorPickerComponent(null); }, - $signature: 548 + $signature: 546 }; A._$$StrandOrSubstrandColorPickerProps.prototype = { get$$$isClassGenerated() { @@ -150072,7 +148759,7 @@ return "StrandOrSubstrandColorPicker"; }, get$$$defaultConsumedProps() { - return B.Map_csgs8.get$values(B.Map_csgs8); + return B.Map_0tuBB.get$values(B.Map_0tuBB); } }; A.$StrandOrSubstrandColorPickerProps.prototype = { @@ -150115,7 +148802,9 @@ _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; + t1 = t1.__Store__state_A; + t1 === $ && A.throwLateFieldNI("_state"); + show_oxview = t1.ui_state.storables.show_oxview; if (!_this.currently_showing_oxview && show_oxview) { _this.design_oxview_separator.hidden = false; t1 = _this.__View_oxview_view_A; @@ -150170,7 +148859,7 @@ if (t1 === 0) return; t1 = $.$get$all_scadnano_file_extensions(); - t2 = A.instanceType(t1); + 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)); @@ -150187,7 +148876,9 @@ if (B.JSArray_methods.contains$1(dot_exts, ext.toLowerCase())) { t2 = $.__app._readField$0().__App_store_F; t2 === $ && A.throwLateFieldNI("store"); - if (!t2.get$state(t2).get$has_error()) { + t2 = t2.__Store__state_A; + t2 === $ && A.throwLateFieldNI("_state"); + if (!t2.get$has_error()) { t2 = window; t2.toString; $confirm = B.Window_methods.confirm$1(t2, "Are you sure you want to replace the current design?"); @@ -150197,10 +148888,8 @@ t2 = new FileReader(); t2.toString; t3 = type$.nullable_void_Function_ProgressEvent; - t1 = t3._as(new A.setup_file_drag_and_drop_listener__closure0(t2, t1)); - type$.nullable_void_Function._as(null); t4 = type$.ProgressEvent; - A._EventStreamSubscription$(t2, "load", t1, false, t4); + A._EventStreamSubscription$(t2, "load", t3._as(new A.setup_file_drag_and_drop_listener__closure0(t2, t1)), false, t4); A._EventStreamSubscription$(t2, "error", t3._as(new A.setup_file_drag_and_drop_listener__closure1("error reading file: " + J.toString$0$(t2.error))), false, t4); t2.readAsText(file); } @@ -150223,7 +148912,7 @@ type$.ProgressEvent._as(_); return A.scadnano_file_loaded(this.file_reader, this.filename); }, - $signature: 51 + $signature: 56 }; A.setup_file_drag_and_drop_listener__closure1.prototype = { call$1(_) { @@ -150233,7 +148922,7 @@ t1.toString; return B.Window_methods.alert$1(t1, this.err_msg); }, - $signature: 51 + $signature: 56 }; A.SourceFile.prototype = { get$length(_) { @@ -150266,7 +148955,7 @@ if (offset < 0) throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (offset > _this._decodedChars.length) - throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(_this) + ".")); + throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_ + _this.get$length(0) + ".")); t1 = _this._lineStarts; if (offset < B.JSArray_methods.get$first(t1)) return -1; @@ -150334,7 +149023,7 @@ if (offset < 0) throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + ".")); else if (offset > _this._decodedChars.length) - throw A.wrapException(A.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(0) + ".")); line = _this.getLine$1(offset); t1 = _this._lineStarts; if (!(line >= 0 && line < t1.length)) @@ -150345,17 +149034,17 @@ return offset - lineStart; }, getOffset$1(line) { - var t1, t2, result, t3, _this = this; + var t1, t2, result, t3; if (line < 0) throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + ".")); else { - t1 = _this._lineStarts; + t1 = this._lineStarts; t2 = t1.length; if (line >= t2) - throw A.wrapException(A.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(0) + ".")); } result = t1[line]; - if (result <= _this._decodedChars.length) { + if (result <= this._decodedChars.length) { t3 = line + 1; t1 = t3 < t2 && result >= t1[t3]; } else @@ -150419,14 +149108,13 @@ var _this = this; if (other == null) return false; - if (!type$.FileSpan._is(other)) + if (!(other instanceof A._FileSpan)) 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(_) { - 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); + return A.Object_hash(this._file$_start, this._file$_end, this.file.url, B.C_SentinelValue); }, - $isFileSpan: 1, $isSourceSpanWithContext: 1 }; A.Highlighter.prototype = { @@ -150451,7 +149139,7 @@ t3._contents += "\n"; } } - for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get$length(t7), t6._eval$1("ListIterator")), t6 = t6._eval$1("ListIterable.E"), t8 = line.number, t9 = line.text; t7.moveNext$0();) { + for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval$1("ReversedListIterable<1>"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get$length(0), t6._eval$1("ListIterator")), t6 = t6._eval$1("ListIterable.E"), t8 = line.number, t9 = line.text; t7.moveNext$0();) { t10 = t7.__internal$_current; if (t10 == null) t10 = t6._as(t10); @@ -150506,13 +149194,15 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, _writeFileStart$1(url) { - var _this = this; + var t1, t2, _this = this; if (!_this._multipleFiles || !type$.Uri._is(url)) _this._writeSidebar$1$end("\u2577"); else { _this._writeSidebar$1$end("\u250c"); _this._colorize$1$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m", type$.void); - _this._buffer._contents += " " + $.$get$context().prettyUri$1(url); + t1 = _this._buffer; + t2 = " " + $.$get$context().prettyUri$1(url); + t1._contents += t2; } _this._buffer._contents += "\n"; }, @@ -150567,7 +149257,7 @@ _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length)); }, _writeIndicator$3(line, highlight, highlightsByColumn) { - var color, t1, t2, t3, coversWholeLine, _this = this; + var color, t1, t2, t3, _this = this; type$.List_nullable__Highlight._as(highlightsByColumn); color = _this._primaryColor; t1 = highlight.span; @@ -150598,15 +149288,15 @@ } 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) { + t1 = t1.get$end(t1).get$column(); + if (t1 === line.text.length) { A.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); return; } _this._writeSidebar$0(); _this._buffer._contents += " "; _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight); - _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$1$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color, type$.int)); + _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$1$2$color(new A.Highlighter__writeIndicator_closure1(_this, false, line, highlight), color, type$.int)); A.replaceWithNull(highlightsByColumn, highlight, type$._Highlight); } } @@ -150615,7 +149305,8 @@ _writeArrow$3$beginning(line, column, beginning) { var t1 = beginning ? 0 : 1, t2 = this._buffer; - t1 = t2._contents += B.JSString_methods.$mul("\u2500", 1 + column + this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1)) * 3); + t1 = B.JSString_methods.$mul("\u2500", 1 + column + this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1)) * 3); + t1 = t2._contents += t1; t2._contents = t1 + "^"; }, _writeArrow$2(line, column) { @@ -150628,14 +149319,17 @@ }, _writeText$1(text) { var t1, t2, t3, t4; - for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t3 = this._buffer, t2 = t2._eval$1("ListMixin.E"); t1.moveNext$0();) { + for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t3 = this._buffer, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) { t4 = t1.__internal$_current; if (t4 == null) t4 = t2._as(t4); - if (t4 === 9) - t3._contents += B.JSString_methods.$mul(" ", 4); - else - t3._contents += A.Primitives_stringFromCharCode(t4); + if (t4 === 9) { + t4 = B.JSString_methods.$mul(" ", 4); + t3._contents += t4; + } else { + t4 = A.Primitives_stringFromCharCode(t4); + t3._contents += t4; + } } }, _writeSidebar$3$end$line$text(end, line, text) { @@ -150659,7 +149353,7 @@ }, _countTabs$1(text) { var t1, t2, count, t3; - for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListMixin.E"), count = 0; t1.moveNext$0();) { + for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListBase.E"), count = 0; t1.moveNext$0();) { t3 = t1.__internal$_current; if ((t3 == null ? t2._as(t3) : t3) === 9) ++count; @@ -150668,7 +149362,7 @@ }, _isOnlyWhitespace$1(text) { var t1, t2, t3; - for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListMixin.E"); t1.moveNext$0();) { + for (t1 = new A.CodeUnits(text), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator")), t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) { t3 = t1.__internal$_current; if (t3 == null) t3 = t2._as(t3); @@ -150691,18 +149385,23 @@ }; A.Highlighter_closure.prototype = { call$0() { - return this.color; + var t1 = this.color, + t2 = J.getInterceptor$(t1); + if (t2.$eq(t1, true)) + return "\x1b[31m"; + if (t2.$eq(t1, false)) + return null; + return A._asStringQ(t1); }, - $signature: 549 + $signature: 547 }; A.Highlighter$__closure.prototype = { call$1(line) { var t1 = type$._Line._as(line).highlights, 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); + return new A.WhereIterable(t1, t2._eval$1("bool(1)")._as(new A.Highlighter$___closure()), t2._eval$1("WhereIterable<1>")).get$length(0); }, - $signature: 550 + $signature: 548 }; A.Highlighter$___closure.prototype = { call$1(highlight) { @@ -150712,31 +149411,31 @@ t1 = t1.get$end(t1); return t2 !== t1.get$line(t1); }, - $signature: 94 + $signature: 95 }; A.Highlighter$__closure0.prototype = { call$1(line) { return type$._Line._as(line).url; }, - $signature: 552 + $signature: 550 }; 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: 553 + $signature: 551 }; A.Highlighter__collateLines_closure0.prototype = { call$2(highlight1, highlight2) { var t1 = type$._Highlight; return t1._as(highlight1).span.compareTo$1(0, t1._as(highlight2).span); }, - $signature: 554 + $signature: 552 }; 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; + 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; @@ -150746,8 +149445,7 @@ context = t4.get$context(t4); t5 = A.findLineStart(context, t4.get$text(t4), t4.get$start(t4).get$column()); t5.toString; - t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)); - linesBeforeSpan = t5.get$length(t5); + linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0); t4 = t4.get$start(t4); lineNumber = t4.get$line(t4) - linesBeforeSpan; for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) { @@ -150765,20 +149463,22 @@ 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; - t6 = t6.get$start(t6); - if (t6.get$line(t6) > line.number) + for (t4 = t1.skip$1(highlightsForFile, highlightIndex), t5 = t4.$ti, t4 = new A.ListIterator(t4, t4.get$length(0), t5._eval$1("ListIterator")), t5 = t5._eval$1("ListIterable.E"); t4.moveNext$0();) { + t6 = t4.__internal$_current; + if (t6 == null) + t6 = t5._as(t6); + t7 = t6.span; + t7 = t7.get$start(t7); + if (t7.get$line(t7) > line.number) break; - B.JSArray_methods.add$1(activeHighlights, t5); + B.JSArray_methods.add$1(activeHighlights, t6); } highlightIndex += activeHighlights.length - oldHighlightLength; B.JSArray_methods.addAll$1(line.highlights, activeHighlights); } return lines; }, - $signature: 555 + $signature: 553 }; A.Highlighter__collateLines__closure.prototype = { call$1(highlight) { @@ -150786,33 +149486,37 @@ t1 = t1.get$end(t1); return t1.get$line(t1) < this.line.number; }, - $signature: 94 + $signature: 95 }; A.Highlighter_highlight_closure.prototype = { call$1(highlight) { type$._Highlight._as(highlight); return true; }, - $signature: 94 + $signature: 95 }; A.Highlighter__writeFileStart_closure.prototype = { call$0() { - this.$this._buffer._contents += B.JSString_methods.$mul("\u2500", 2) + ">"; + var t1 = this.$this._buffer, + t2 = B.JSString_methods.$mul("\u2500", 2) + ">"; + t1._contents += t2; return null; }, $signature: 0 }; A.Highlighter__writeMultilineHighlights_closure.prototype = { call$0() { - var t1 = this.startLine === this.line.number ? "\u250c" : "\u2514"; - this.$this._buffer._contents += t1; + var t1 = this.$this._buffer, + t2 = this.startLine === this.line.number ? "\u250c" : "\u2514"; + t1._contents += t2; }, $signature: 10 }; A.Highlighter__writeMultilineHighlights_closure0.prototype = { call$0() { - var t1 = this.highlight == null ? "\u2500" : "\u253c"; - this.$this._buffer._contents += t1; + var t1 = this.$this._buffer, + t2 = this.highlight == null ? "\u2500" : "\u253c"; + t1._contents += t2; }, $signature: 10 }; @@ -150857,8 +149561,9 @@ }; A.Highlighter__writeMultilineHighlights__closure.prototype = { call$0() { - var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c"; - this.$this._buffer._contents += t1; + var t1 = this.$this._buffer, + t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c"; + t1._contents += t2; }, $signature: 10 }; @@ -150888,11 +149593,13 @@ tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t4, 0, startColumn)); tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t4, startColumn, endColumn)); startColumn += tabsBefore * 3; - 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; + t4 = B.JSString_methods.$mul(" ", startColumn); + t2._contents += t4; + t4 = B.JSString_methods.$mul("^", Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1)); + t4 = t2._contents += t4; + return t4.length - t3.length; }, - $signature: 148 + $signature: 147 }; A.Highlighter__writeIndicator_closure0.prototype = { call$0() { @@ -150907,15 +149614,16 @@ t1 = _this.$this, t2 = t1._buffer, t3 = t2._contents; - if (_this.coversWholeLine) - t2._contents += B.JSString_methods.$mul("\u2500", 3); - else { + if (_this.coversWholeLine) { + t1 = B.JSString_methods.$mul("\u2500", 3); + t2._contents += t1; + } else { 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: 148 + $signature: 147 }; A.Highlighter__writeSidebar_closure.prototype = { call$0() { @@ -150924,7 +149632,8 @@ t3 = this._box_0.text; if (t3 == null) t3 = ""; - t1 = t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar); + t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar); + t1 = t2._contents += t1; t3 = this.end; t2._contents = t1 + (t3 == null ? "\u2502" : t3); }, @@ -150957,7 +149666,7 @@ } return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1))); }, - $signature: 557 + $signature: 555 }; A._Line.prototype = { toString$0(_) { @@ -150993,7 +149702,7 @@ }, toString$0(_) { var _this = this, - t1 = A.getRuntimeType(_this).toString$0(0), + t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0), source = _this.sourceUrl; return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">"; }, @@ -151036,7 +149745,7 @@ return t1 + this.offset; }, toString$0(_) { - var t1 = A.getRuntimeType(this).toString$0(0), + var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0), t2 = this.offset, t3 = this.file, source = t3.url; @@ -151108,12 +149817,15 @@ return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result; }, message$2$color(_, message, color) { - var t2, highlight, _this = this, - t1 = _this.get$start(_this); + var t1, t2, t3, highlight, _this = this; + A._asString(message); + t1 = _this.get$start(_this); t1 = "" + ("line " + (t1.get$line(t1) + 1) + ", column " + (_this.get$start(_this).get$column() + 1)); if (_this.get$sourceUrl() != null) { t2 = _this.get$sourceUrl(); - t2 = t1 + (" of " + $.$get$context().prettyUri$1(t2)); + t3 = $.$get$context(); + t2.toString; + t2 = t1 + (" of " + t3.prettyUri$1(t2)); t1 = t2; } t1 += ": " + message; @@ -151122,8 +149834,8 @@ t1 = t1 + "\n" + highlight; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - message$1($receiver, message) { - return this.message$2$color($receiver, message, null); + message$1(_, message) { + return this.message$2$color(0, message, null); }, highlight$1$color(_, color) { var _this = this; @@ -151135,15 +149847,15 @@ 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)); + return other instanceof A.SourceSpanMixin && _this.get$start(_this).$eq(0, other.get$start(other)) && _this.get$end(_this).$eq(0, other.get$end(other)); }, 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); + return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var _this = 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) + '">'; + return "<" + A.getRuntimeTypeOfDartObject(_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 @@ -151168,8 +149880,8 @@ t2 === $ && A.throwLateFieldNI("_tables"); t2 = t2.$index(0, sheet)._maxCols; t3 = type$.JSArray_XmlAttribute; - 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_empty1, true)], type$.JSArray_XmlNode); + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("table:style-name"), style, B.XmlAttributeType_2x0)], 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_2x0)], t3), B.List_empty1, 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; @@ -151192,7 +149904,7 @@ t1 = t1.XmlHasChildren_children; index = B.JSArray_methods.indexOf$2(t1._base, t1.$ti._precomputed1._as(t2), 0); t2 = type$.JSArray_XmlAttribute; - attributes = 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)], t2); + attributes = A._setArrayType([A.XmlAttribute$(A.XmlName_XmlName("office:value-type"), "string", B.XmlAttributeType_2x0), A.XmlAttribute$(A.XmlName_XmlName("calcext:value-type"), "string", B.XmlAttributeType_2x0)], t2); t3 = type$.JSArray_XmlNode; children = A._setArrayType([A.XmlElement$(A.XmlName_XmlName("text:p"), A._setArrayType([], t2), A._setArrayType([new A.XmlText(value, null)], t3), true)], t3); cell = A.XmlElement$(A.XmlName_XmlName("table:table-cell"), attributes, children, true); @@ -151207,7 +149919,7 @@ t1 = file == null; if (!t1) file.decompress$0(); - t1 = t1 ? null : file.get$content(file); + t1 = t1 ? null : file.get$content(0); $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; @@ -151297,10 +150009,12 @@ t3 = t2._as(t3); if (t3 instanceof A.XmlElement) { t3 = this._readString$1(t3); - buffer._contents += A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + t3 = A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + buffer._contents += t3; } else if (t3 instanceof A.XmlText) { t3 = t3.value; - buffer._contents += A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + t3 = A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + buffer._contents += t3; } } t1 = buffer._contents; @@ -151364,7 +150078,7 @@ } return empty; }, - $signature: 79 + $signature: 97 }; A.OdsDecoder__parseTable_closure0.prototype = { call$1(child) { @@ -151376,7 +150090,7 @@ call$1(cell) { return this.$this._readCell$1(type$.XmlElement._as(cell)) == null; }, - $signature: 79 + $signature: 97 }; A.OdsDecoder__parseRow_closure0.prototype = { call$1(child) { @@ -151436,7 +150150,7 @@ B.JSArray_methods.$indexSet(t1[rowIndex], columnIndex, value); }, encode$0() { - var t2, t3, t4, $content, t5, t6, _this = this, + var t2, $content, t3, t4, t5, _this = this, t1 = _this.__SpreadsheetDecoder__update_A; t1 === $ && A.throwLateFieldNI("_update"); if (!t1) @@ -151444,17 +150158,15 @@ 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 A.ArchiveFile(t3, t5, B.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); - t6.ArchiveFile$4(t3, t5, $content, 0); - t4.$indexSet(0, t3, t6); + t2 = t1.__js_helper$_current; + $content = B.C_Utf8Encoder.convert$1(J.toString$0$(_this.__SpreadsheetDecoder__xmlFiles_A.$index(0, t2))); + t3 = _this.__SpreadsheetDecoder__archiveFiles_A; + t3 === $ && A.throwLateFieldNI("_archiveFiles"); + t4 = $content.length; + t5 = new A.ArchiveFile(t2, t4, B.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); + t5.ArchiveFile$4(t2, t4, $content, 0); + t3.$indexSet(0, t2, t5); } t1 = $.$get$Random__secureRandom(); t2 = _this.__SpreadsheetDecoder__archive_A; @@ -151465,7 +150177,7 @@ _cloneArchive$1(archive) { var t1, t2, t3, t4, t5, 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), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator")), t1 = t1._eval$1("ListMixin.E"), t3 = type$.Uint8List; t2.moveNext$0();) { + for (t1 = type$.UnmodifiableListView_ArchiveFile, t2 = new A.UnmodifiableListView(archive._files, t1), t2 = new A.ListIterator(t2, t2.get$length(0), t1._eval$1("ListIterator")), t1 = t1._eval$1("ListBase.E"), t3 = type$.Uint8List; t2.moveNext$0();) { t4 = t2.__internal$_current; if (t4 == null) t4 = t1._as(t4); @@ -151478,12 +150190,12 @@ copy = t4; } else { t5 = t4._archive_file$_content; - if ((t5 instanceof A.FileContent ? t4._archive_file$_content = t5.get$content(t5) : t5) == null) + if ((t5 instanceof A.ZipFile ? t4._archive_file$_content = t5.get$content(0) : t5) == null) t4.decompress$0(); $content = t3._as(t4._archive_file$_content); compress = t4.compress; t4 = t4.name; - t5 = J.get$length$asx($content); + t5 = $content.length; copy = new A.ArchiveFile(t4, t5, B.JSInt_methods._tdivFast$1(Date.now(), 1000), 0); copy.ArchiveFile$4(t4, t5, $content, 0); copy.compress = compress; @@ -151567,7 +150279,7 @@ call$2(value, element) { return A._asBool(value) && element == null; }, - $signature: 561 + $signature: 559 }; A.SpreadsheetTable.prototype = {}; A.cellCoordsFromCellId_closure.prototype = { @@ -151612,7 +150324,7 @@ relations = t1.findFile$1("xl/_rels/workbook.xml.rels"); if (relations != null) { relations.decompress$0(); - 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)); + A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(relations.get$content(0))))), "Relationship", null).forEach$1(0, new A.XlsxDecoder__parseRelations_closure(this)); } }, _parseStyles$0() { @@ -151622,8 +150334,7 @@ styles = t1.findFile$1("xl/" + A.S(this._stylesTarget)); if (styles != null) { styles.decompress$0(); - 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)); + A.filterElements(A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(styles.get$content(0))))), "cellXfs", null).get$first(0).XmlHasChildren_children, "xf", null).forEach$1(0, new A.XlsxDecoder__parseStyles_closure(this)); } }, _parseSharedStrings$0() { @@ -151633,7 +150344,7 @@ sharedStrings = t1.findFile$1("xl/" + A.S(this._sharedStringsTarget)); if (sharedStrings != null) { sharedStrings.decompress$0(); - 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)); + A.filterElements(new A.XmlDescendantsIterable(A.XmlDocument_XmlDocument$parse(B.C_Utf8Codec.decode$1(0, type$.List_int._as(sharedStrings.get$content(0))))), "si", null).forEach$1(0, new A.XlsxDecoder__parseSharedStrings_closure(this)); } }, _parseSharedString$1(node) { @@ -151649,7 +150360,7 @@ t1 = workbook == null; if (!t1) workbook.decompress$0(); - t1 = t1 ? null : workbook.get$content(workbook); + t1 = t1 ? null : workbook.get$content(0); 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(node) { @@ -151669,11 +150380,9 @@ t2 = file == null; if (!t2) file.decompress$0(); - t2 = t2 ? _null : file.get$content(file); + t2 = t2 ? _null : file.get$content(0); $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); + sheet = A.filterElements(A.filterElements($content.XmlHasChildren_children, "worksheet", _null).get$first(0).XmlHasChildren_children, "sheetData", _null).get$first(0); 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; @@ -151704,7 +150413,7 @@ _this._countFilledRow$2(table, row); }, _parseCell$3(node, table, row) { - var repeat, index, t2, value, s, valueNode, $content, fmtId, date, _this = this, _null = null, + var repeat, index, t2, value, s, $content, fmtId, date, _this = this, _null = null, colIndex = A.XlsxDecoder__getCellNumber(node) - 1, t1 = row.length; if (colIndex > t1) { @@ -151718,30 +150427,25 @@ switch (node.getAttribute$1(0, "t")) { case "s": t2 = _this._sharedStrings; - t1 = A.filterElements(t1, "v", _null); - t1 = A.int_parse(_this._parseValue$1(t1.get$first(t1)), _null); + t1 = A.int_parse(_this._parseValue$1(A.filterElements(t1, "v", _null).get$first(0)), _null); if (!(t1 >= 0 && t1 < t2.length)) return A.ioore(t2, t1); value = t2[t1]; break; case "b": - t1 = A.filterElements(t1, "v", _null); - value = _this._parseValue$1(t1.get$first(t1)) === "1"; + value = _this._parseValue$1(A.filterElements(t1, "v", _null).get$first(0)) === "1"; break; case "e": case "str": - t1 = A.filterElements(t1, "v", _null); - value = _this._parseValue$1(t1.get$first(t1)); + value = _this._parseValue$1(A.filterElements(t1, "v", _null).get$first(0)); break; case "inlineStr": - t1 = A.filterElements(new A.XmlDescendantsIterable(node), "t", _null); - value = _this._parseValue$1(t1.get$first(t1)); + value = _this._parseValue$1(A.filterElements(new A.XmlDescendantsIterable(node), "t", _null).get$first(0)); break; case "n": default: s = node.getAttribute$1(0, "s"); - valueNode = A.filterElements(t1, "v", _null); - $content = valueNode.get$first(valueNode); + $content = A.filterElements(t1, "v", _null).get$first(0); if (s != null) { t1 = _this._numFormats; t2 = A.int_parse(s, _null); @@ -151750,7 +150454,7 @@ fmtId = t1[t2]; if (fmtId >= 14 && fmtId <= 17 || fmtId === 22) { 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(); + value = A.DateTime$(1899, 12, 30)._addMicroseconds$1(A.Duration$(0, B.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)._duration).toIso8601String$0(); } else { if (!(fmtId >= 18 && fmtId <= 21)) t1 = fmtId >= 45 && fmtId <= 47; @@ -151758,7 +150462,7 @@ t1 = true; if (t1) { 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)); + date = A.DateTime$(0, 1, 1)._addMicroseconds$1(A.Duration$(0, B.JSNumber_methods.toInt$0(t1 * 24 * 3600 * 1000), 0)._duration); value = A._twoDigits(A.Primitives_getHours(date)) + ":" + A._twoDigits(A.Primitives_getMinutes(date)) + ":" + A._twoDigits(A.Primitives_getSeconds(date)); } else value = A.num_parse(_this._parseValue$1($content)); @@ -151778,7 +150482,8 @@ t3 = t2._as(t3); if (t3 instanceof A.XmlText) { t3 = t3.value; - buffer._contents += A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + t3 = A.stringReplaceAllUnchecked(t3, "\r\n", "\n"); + buffer._contents += t3; } } t1 = buffer._contents; @@ -151789,7 +150494,7 @@ call$1(row) { return type$.XmlElement._as(row) !== this.foundRow; }, - $signature: 79 + $signature: 97 }; A.XlsxDecoder_insertRow_closure0.prototype = { call$1(row) { @@ -151860,10 +150565,8 @@ 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))); - } + else if (t1.get$local() === "r") + B.JSArray_methods.add$1(_this.list, _this.$this._parseValue$1(A.filterElements(node.XmlHasChildren_children, "t", null).get$first(0))); }, $signature: 15 }; @@ -151899,7 +150602,7 @@ }, scan$1(pattern) { var success, _this = this, - t1 = _this._lastMatch = J.matchAsPrefix$2$s(type$.Pattern._as(pattern), _this.string, _this._string_scanner$_position); + t1 = _this._lastMatch = J.matchAsPrefix$2$s(pattern, _this.string, _this._string_scanner$_position); _this._lastMatchPosition = _this._string_scanner$_position; success = t1 != null; if (success) @@ -151908,35 +150611,33 @@ }, expect$2$name(pattern, $name) { var t1; - type$.Pattern._as(pattern); if (this.scan$1(pattern)) return; if ($name == null) - if (type$.RegExp._is(pattern)) + if (pattern instanceof A.JSSyntaxRegExp) $name = "/" + pattern.pattern + "/"; else { t1 = J.toString$0$(pattern); t1 = A.stringReplaceAllUnchecked(t1, "\\", "\\\\"); $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"'; } - this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position); + this._fail$1($name); }, expect$1(pattern) { return this.expect$2$name(pattern, null); }, expectDone$0() { - var t1 = this._string_scanner$_position; - if (t1 === this.string.length) + if (this._string_scanner$_position === this.string.length) return; - this.error$3$length$position(0, "expected no more input.", 0, t1); + this._fail$1("no more input"); }, substring$2(_, start, end) { if (end == null) end = this._string_scanner$_position; return B.JSString_methods.substring$2(this.string, start, end); }, - substring$1($receiver, start) { - return this.substring$2($receiver, start, null); + substring$1(_, start) { + return this.substring$2(0, start, null); }, error$4$length$match$position(_, message, $length, match, position) { var t2, t3, t4, t5, sourceFile, end, @@ -151956,13 +150657,16 @@ sourceFile.SourceFile$decoded$2$url(t3, t2); end = position + $length; if (end > t5.length) - A.throwExpression(A.RangeError$("End " + end + string$.x20must_ + sourceFile.get$length(sourceFile) + ".")); + A.throwExpression(A.RangeError$("End " + end + string$.x20must_ + sourceFile.get$length(0) + ".")); else if (position < 0) 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($receiver, message, $length, position) { - return this.error$4$length$match$position($receiver, message, $length, null, position); + error$3$length$position(_, message, $length, position) { + return this.error$4$length$match$position(0, message, $length, null, position); + }, + _fail$1($name) { + this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position); } }; A.Tuple2.prototype = { @@ -151975,7 +150679,7 @@ return other instanceof A.Tuple2 && J.$eq$(other.item1, this.item1) && J.$eq$(other.item2, this.item2); }, 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); + return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), B.C_SentinelValue, B.C_SentinelValue); } }; A.Tuple3.prototype = { @@ -151985,10 +150689,10 @@ $eq(_, other) { if (other == null) return false; - return other instanceof A.Tuple3 && other.item1 === this.item1 && J.$eq$(other.item2, this.item2) && J.$eq$(other.item3, this.item3); + return other instanceof A.Tuple3 && other.item1 === this.item1 && other.item2 === this.item2 && J.$eq$(other.item3, this.item3); }, 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); + return A.Object_hash(J.get$hashCode$(this.item1), J.get$hashCode$(this.item2), J.get$hashCode$(this.item3), B.C_SentinelValue); } }; A.Tuple5.prototype = { @@ -152003,12 +150707,8 @@ return other instanceof A.Tuple5 && other.item1 === _this.item1 && other.item2.$eq(0, _this.item2) && other.item3.$eq(0, _this.item3) && other.item4.$eq(0, _this.item4) && other.item5.$eq(0, _this.item5); }, get$hashCode(_) { - var _this = this, - t1 = _this.item2, - t2 = _this.item3, - t3 = _this.item4, - t4 = _this.item5; - return A.Object_hashAll([B.JSInt_methods.get$hashCode(_this.item1), t1.get$hashCode(t1), t2.get$hashCode(t2), t3.get$hashCode(t3), t4.get$hashCode(t4)]); + var _this = this; + return A.Object_hashAll([B.JSInt_methods.get$hashCode(_this.item1), _this.item2.get$hashCode(0), _this.item3.get$hashCode(0), _this.item4.get$hashCode(0), _this.item5.get$hashCode(0)]); } }; A.ManagedDisposer.prototype = { @@ -152039,7 +150739,7 @@ t1._didDispose.complete$0(0); t1._isDisposing = false; }, - $signature: 49 + $signature: 44 }; A._ObservableTimer.prototype = { _ObservableTimer$2(duration, callback) { @@ -152091,7 +150791,7 @@ return A._asyncAwait($async$self.onWillDispose$0(), $async$dispose$0); case 3: // returning from await. - t2 = $async$self._awaitableFutures, t3 = type$.dynamic, t4 = A._instanceType(t2)._eval$1("SetMixin.E"); + t2 = $async$self._awaitableFutures, t3 = type$.dynamic, t4 = A._instanceType(t2)._eval$1("SetBase.E"); case 4: // for condition if (!(t2._collection$_length !== 0)) { @@ -152101,7 +150801,7 @@ } 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$_strings = t2._collection$_nums = t2._collection$_rest = t2._collection$_elements = null; t2._collection$_length = 0; } $async$goto = 6; @@ -152235,13 +150935,84 @@ if (!((t1._didDispose.future._state & 30) !== 0 || t1._disposable$_state === B.DisposableState_2)) t1._internalDisposables.remove$1(0, this.disposable); }, - $signature: 562 + $signature: 560 }; A.DisposableState.prototype = { _enumToString$0() { return "DisposableState." + this._core$_name; } }; + A.EventStreamProvider0.prototype = {}; + A._EventStream0.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 A._EventStreamSubscription$0(this._streams$_target, this._streams$_eventType, onData, false, t1._precomputed1); + }, + listen$3$onDone$onError(onData, onDone, onError) { + return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); + } + }; + A._EventStreamSubscription0.prototype = { + cancel$0(_) { + var _this = this, + emptyFuture = A.Future_Future$value(null, type$.void); + if (_this._streams$_target == null) + return emptyFuture; + _this._streams$_unlisten$0(); + _this._streams$_onData = _this._streams$_target = null; + return emptyFuture; + }, + onData$1(handleData) { + var t1, _this = this; + _this.$ti._eval$1("~(1)?")._as(handleData); + if (_this._streams$_target == null) + throw A.wrapException(A.StateError$("Subscription has been canceled.")); + _this._streams$_unlisten$0(); + t1 = A._wrapZone0(new A._EventStreamSubscription_onData_closure(handleData), type$.JSObject); + t1 = t1 == null ? null : A._functionToJS1(t1); + _this._streams$_onData = t1; + _this._streams$_tryResume$0(); + }, + pause$0(_) { + if (this._streams$_target == null) + return; + ++this._streams$_pauseCount; + this._streams$_unlisten$0(); + }, + resume$0(_) { + var _this = this; + if (_this._streams$_target == null || _this._streams$_pauseCount <= 0) + return; + --_this._streams$_pauseCount; + _this._streams$_tryResume$0(); + }, + _streams$_tryResume$0() { + var _this = this, + t1 = _this._streams$_onData; + if (t1 != null && _this._streams$_pauseCount <= 0) + _this._streams$_target.addEventListener(_this._streams$_eventType, t1, false); + }, + _streams$_unlisten$0() { + var t1 = this._streams$_onData; + if (t1 != null) + this._streams$_target.removeEventListener(this._streams$_eventType, t1, false); + }, + $isStreamSubscription: 1 + }; + A._EventStreamSubscription_closure0.prototype = { + call$1(e) { + return this.onData.call$1(type$.JSObject._as(e)); + }, + $signature: 150 + }; + A._EventStreamSubscription_onData_closure.prototype = { + call$1(e) { + return this.handleData.call$1(type$.JSObject._as(e)); + }, + $signature: 150 + }; A.DtdExternalId.prototype = { toString$0(_) { var t2, _this = this, @@ -152257,17 +151028,12 @@ 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); + return A.Object_hash(this.systemId, this.publicId, 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; + return other instanceof A.DtdExternalId; } }; A.XmlDefaultEntityMapping.prototype = { @@ -152284,7 +151050,7 @@ else return this._decodeNumericEntity$2(B.JSString_methods.substring$1(input, 1), 10); } else - return B.Map_2EUwe.$index(0, input); + return B.Map_4YusT.$index(0, input); }, _decodeNumericEntity$2(input, radix) { var value = A.Primitives_parseInt(input, radix); @@ -152294,10 +151060,10 @@ }, encodeAttributeValue$2(input, type) { switch (type) { - case B.XmlAttributeType_fgL: - return A.stringReplaceAllFuncUnchecked(input, type$.Pattern._as($.$get$_singeQuoteAttributePattern()), 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: - return A.stringReplaceAllFuncUnchecked(input, type$.Pattern._as($.$get$_doubleQuoteAttributePattern()), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___doubleQuoteAttributeReplace$closure())), type$.nullable_String_Function_String._as(null)); + case B.XmlAttributeType_3h3: + return A.stringReplaceAllFuncUnchecked(input, $.$get$_singeQuoteAttributePattern(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___singeQuoteAttributeReplace$closure())), null); + case B.XmlAttributeType_2x0: + return A.stringReplaceAllFuncUnchecked(input, $.$get$_doubleQuoteAttributePattern(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___doubleQuoteAttributeReplace$closure())), null); } } }; @@ -152470,7 +151236,8 @@ this.push$1(t1); return true; } - } + }, + $isIterator: 1 }; A.XmlAttributesBase.prototype = { get$attributes(_) { @@ -152485,8 +151252,8 @@ var t1 = this.getAttributeNode$2$namespace($name, namespace); return t1 == null ? null : t1.value; }, - getAttribute$1($receiver, $name) { - return this.getAttribute$2$namespace($receiver, $name, null); + getAttribute$1(_, $name) { + return this.getAttribute$2$namespace(0, $name, null); }, getAttributeNode$2$namespace($name, namespace) { var t1, t2, t3, @@ -152592,7 +151359,8 @@ t1._contents += "="; t2 = this.attributeType; t3 = t2.token; - t1._contents += t3 + A.S(visitor.entityMapping.encodeAttributeValue$2(A._asString(this.value), t2)) + t3; + t3 = t3 + visitor.entityMapping.encodeAttributeValue$2(this.value, t2) + t3; + t1._contents += t3; return null; }, set$value(_, value) { @@ -152617,7 +151385,7 @@ accept$1(_, visitor) { var t1 = visitor.buffer, t2 = t1._contents += ""; return null; @@ -152633,7 +151401,7 @@ accept$1(_, visitor) { var t1 = visitor.buffer, t2 = t1._contents += ""; return null; @@ -152699,7 +151467,8 @@ t3 = this.externalId; if (t3 != null) { t1._contents = t2 + " "; - t2 = t1._contents += t3.toString$0(0); + t2 = t3.toString$0(0); + t2 = t1._contents += t2; } t3 = this.internalSubset; if (t3 != null) { @@ -152785,7 +151554,7 @@ A._XmlNode_Object_XmlAttributesBase_XmlChildrenBase_XmlHasVisitor_XmlHasWriter_XmlParentBase_XmlValueBase.prototype = {}; A.XmlProcessing.prototype = { get$nodeType(_) { - return B.XmlNodeType_8; + return B.XmlNodeType_10; }, copy$0() { return new A.XmlProcessing(this.target, this.value, null); @@ -152811,29 +151580,30 @@ }; A.XmlText.prototype = { get$nodeType(_) { - return B.XmlNodeType_9; + return B.XmlNodeType_11; }, copy$0() { return new A.XmlText(this.value, null); }, accept$1(_, visitor) { - visitor.buffer._contents += A.stringReplaceAllFuncUnchecked(A._asString(this.value), type$.Pattern._as($.$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)); + var t1 = visitor.buffer, + t2 = A.stringReplaceAllFuncUnchecked(this.value, $.$get$_textPattern(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___textReplace$closure())), null); + t1._contents += t2; return null; } }; A.XmlCache.prototype = { $index(_, key) { - var t1, t2, t3, t4, it, _this = this; + var t1, t2, t3, 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); + for (t2 = _this._maxSize, t3 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"); t1.__js_helper$_length > t2;) { + it = new A.LinkedHashMapKeyIterable(t1, t3).get$iterator(0); if (!it.moveNext$0()) A.throwExpression(A.IterableElementError_noElement()); - t1.remove$1(0, it.get$current(it)); + t1.remove$1(0, it.get$current(0)); } } t1 = t1.$index(0, key); @@ -152850,12 +151620,11 @@ 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); + return new A.Failure("Unable to parse character data.", buffer, position); else { t1 = B.JSString_methods.substring$2(buffer, position, end); - t1 = new A.Success(t1, buffer, end, type$.Success_String); + return new A.Success(t1, buffer, end, type$.Success_String); } - return t1; }, fastParseOn$2(buffer, position) { var end = buffer.length, @@ -152866,7 +151635,9 @@ }; A.XmlName.prototype = { accept$1(_, visitor) { - visitor.buffer._contents += this.get$qualified(); + var t1 = visitor.buffer, + t2 = this.get$qualified(); + t1._contents += t2; return null; }, $isXmlParentBase: 1 @@ -152879,7 +151650,7 @@ type$.XmlHasName._as(named); return true; }, - $signature: 57 + $signature: 61 }; A.createNameMatcher_closure0.prototype = { call$1(named) { @@ -152888,21 +151659,21 @@ t1 = named.get$name(named); return t1.get$namespaceUri(t1) === this.namespace; }, - $signature: 57 + $signature: 61 }; A.createNameMatcher_closure1.prototype = { call$1(named) { type$.XmlHasName._as(named); return named.get$name(named).get$qualified() === this.name; }, - $signature: 57 + $signature: 61 }; A.createNameMatcher_closure2.prototype = { call$1(named) { type$.XmlHasName._as(named); return named.get$name(named).get$local() === this.name; }, - $signature: 57 + $signature: 61 }; A.createNameMatcher_closure3.prototype = { call$1(named) { @@ -152915,7 +151686,7 @@ t1 = false; return t1; }, - $signature: 57 + $signature: 61 }; A.XmlNodeList.prototype = { $indexSet(_, index, value) { @@ -153004,8 +151775,8 @@ t2.attachParent$1(t3); } }, - setRange$3($receiver, start, end, iterable) { - return this.setRange$4($receiver, start, end, iterable, 0); + setRange$3(_, start, end, iterable) { + return this.setRange$4(0, start, end, iterable, 0); }, replaceRange$3(_, start, end, iterable) { var t1, expanded, i, t2, t3, _i, node, _this = this; @@ -153083,7 +151854,7 @@ else { t2 = this.__XmlNodeList__nodeTypes_F; t2 === $ && A.throwLateFieldNI("_nodeTypes"); - if (!J.containsKey$1$x(t2._collection$_map, node.get$nodeType(node))) + if (!t2.contains$1(0, 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) A.throwExpression(A.XmlParentException$(string$.Node_a, node, node.get$parent(node))); @@ -153111,6 +151882,9 @@ } }; A.XmlPrefixName.prototype = { + _throwNoParent$0() { + return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__throwNoParent, "_prefix_name$_throwNoParent$0", 0, [], [], 0))); + }, get$namespaceUri(_) { var t1 = A.lookupAttribute(this.XmlHasParent__parent, "xmlns", this.prefix); return t1 == null ? null : t1.value; @@ -153129,6 +151903,9 @@ } }; A.XmlSimpleName.prototype = { + _throwNoParent$0() { + return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__throwNoParent, "_simple_name$_throwNoParent$0", 0, [], [], 0))); + }, get$prefix(_) { return null; }, @@ -153149,9 +151926,11 @@ A.XmlPrettyWriter.prototype = { visitDocument$1(node) { var _this = this, - t1 = _this.indent; - _this.buffer._contents += B.JSString_methods.$mul(t1, _this.level); - _this.writeIterable$2(_this.normalizeText$1(node.XmlHasChildren_children), _this.newLine + B.JSString_methods.$mul(t1, _this.level)); + t1 = _this.buffer, + t2 = _this.indent, + t3 = B.JSString_methods.$mul(t2, _this.level); + t1._contents += t3; + _this.writeIterable$2(_this.normalizeText$1(node.XmlHasChildren_children), _this.newLine + B.JSString_methods.$mul(t2, _this.level)); }, visitElement$1(node) { var t2, t3, t4, t5, t6, _this = this, @@ -153176,11 +151955,13 @@ t5 = _this.newLine; t1._contents += t5; t6 = _this.indent; - t1._contents += B.JSString_methods.$mul(t6, t4); + t4 = B.JSString_methods.$mul(t6, t4); + t1._contents += t4; _this.writeIterable$2(_this.normalizeText$1(t3), t5 + B.JSString_methods.$mul(t6, _this.level)); t3 = --_this.level; t1._contents += t5; - t1._contents += B.JSString_methods.$mul(t6, t3); + t3 = B.JSString_methods.$mul(t6, t3); + t1._contents += t3; } else _this.writeIterable$1(t3); @@ -153199,33 +151980,32 @@ _i = 0; for (; _i < result.length; result.length === t1 || (0, A.throwConcurrentModificationError)(result), ++_i) { attribute = result[_i]; - this.pretty; t3._contents += " "; t2._as(attribute).accept$1(0, this); } }, normalizeText$1(nodes) { - var result, t1, t2, t3, t4, t5, t6, text; + var result, t1, t2, t3, t4, t5, text; type$.List_XmlNode._as(nodes); result = A._setArrayType([], type$.JSArray_XmlNode); - for (t1 = nodes._base, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t3 = type$.Pattern; t1.moveNext$0();) { - t4 = t1.__interceptors$_current; - if (t4 == null) - t4 = t2._as(t4); - if (t4 instanceof A.XmlText) { - t5 = J.trim$0$s(t4.value); - t6 = t3._as($.$get$_whitespaceOrLineTerminators()); - text = A.stringReplaceAllUnchecked(t5, t6, " "); + for (t1 = nodes._base, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) { + t3 = t1.__interceptors$_current; + if (t3 == null) + t3 = t2._as(t3); + if (t3 instanceof A.XmlText) { + t4 = B.JSString_methods.trim$0(t3.value); + t5 = $.$get$_whitespaceOrLineTerminators(); + text = A.stringReplaceAllUnchecked(t4, t5, " "); if (text.length !== 0) if (result.length !== 0 && B.JSArray_methods.get$last(result) instanceof A.XmlText) { - t4 = B.JSArray_methods.get$last(result); - B.JSArray_methods.set$last(result, new A.XmlText(A.S(t4.get$value(t4)) + " " + text, null)); - } else if (t4.value !== text) + t3 = B.JSArray_methods.get$last(result); + B.JSArray_methods.set$last(result, new A.XmlText(A.S(t3.get$value(t3)) + " " + text, null)); + } else if (t3.value !== text) B.JSArray_methods.add$1(result, new A.XmlText(text, null)); else - B.JSArray_methods.add$1(result, t4); + B.JSArray_methods.add$1(result, t3); } else - B.JSArray_methods.add$1(result, t4); + B.JSArray_methods.add$1(result, t3); } return result; } @@ -153234,7 +152014,7 @@ call$1(each) { return type$.XmlNode._as(each) instanceof A.XmlText; }, - $signature: 567 + $signature: 566 }; A.XmlVisitor.prototype = {}; A.XmlWriter.prototype = { @@ -153299,52 +152079,56 @@ A._XmlWriter_Object_XmlVisitor.prototype = {}; A.XmlAnnotator.prototype = { annotate$4$buffer$start$stop($event, buffer, start, $stop) { - var t3, _this = this, + var _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)) + $label0$0: { + if ($event instanceof A.XmlDeclarationEvent) { + t2 = _this._roots; + if (!new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlDeclarationEvent).get$isEmpty(0)) + 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); + break $label0$0; + } + if ($event instanceof A.XmlDoctypeEvent) { + t2 = _this._roots; + if (!new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlDoctypeEvent).get$isEmpty(0)) + throw A.wrapException(A.XmlParserException$("Expected at most one doctype declaration", buffer, start)); + else if (!new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlStartElementEvent).get$isEmpty(0)) throw A.wrapException(A.XmlParserException$("Unexpected doctype declaration", buffer, start)); + B.JSArray_methods.add$1(t2, $event); + break $label0$0; + } + if ($event instanceof A.XmlStartElementEvent) { + t2 = _this._roots; + if (!new A.WhereTypeIterable(t2, type$.WhereTypeIterable_XmlStartElementEvent).get$isEmpty(0)) + throw A.wrapException(A.XmlParserException$("Unexpected root element", buffer, start)); + B.JSArray_methods.add$1(t2, $event); } - 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 = $event.name; - if (B.JSArray_methods.get$last(t1).name !== t2) - throw A.wrapException(A.XmlTagException_XmlTagException$mismatchClosingTag(B.JSArray_methods.get$last(t1).name, t2, buffer, start)); } - t2 = t1.length; - if (t2 !== 0) { - if (0 >= t2) - return A.ioore(t1, -1); - t1.pop(); + $label1$1: { + if ($event instanceof A.XmlStartElementEvent) { + if (!$event.isSelfClosing) + B.JSArray_methods.add$1(t1, $event); + break $label1$1; + } + if ($event instanceof A.XmlEndElementEvent) { + if (t1.length === 0) + throw A.wrapException(A.XmlTagException_XmlTagException$unexpectedClosingTag($event.name, buffer, start)); + else { + t2 = $event.name; + if (B.JSArray_methods.get$last(t1).name !== t2) + throw A.wrapException(A.XmlTagException_XmlTagException$mismatchClosingTag(B.JSArray_methods.get$last(t1).name, t2, buffer, start)); + } + t2 = t1.length; + if (t2 !== 0) { + if (0 >= t2) + return A.ioore(t1, -1); + t1.pop(); + } } } } @@ -153455,7 +152239,7 @@ }, visitTextEvent$1($event) { var t1 = this.sink, - t2 = t1.$ti._precomputed1._as(A.stringReplaceAllFuncUnchecked($event.get$value($event), type$.Pattern._as($.$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))); + t2 = t1.$ti._precomputed1._as(A.stringReplaceAllFuncUnchecked($event.get$value(0), $.$get$_textPattern(), type$.nullable_String_Function_Match._as(type$.String_Function_Match._as(A.default_mapping___textReplace$closure())), null)); t1.callback.call$1(t2); }, addAttributes$1(attributes) { @@ -153470,11 +152254,12 @@ t7 = t5.value; t5 = t5.attributeType; t8 = t5.token; - t6.call$1(t3._as(t8 + A.S(t4.encodeAttributeValue$2(t7, t5)) + t8)); + t6.call$1(t3._as(t8 + t4.encodeAttributeValue$2(t7, t5) + t8)); } - } + }, + $isSink: 1 }; - A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor.prototype = {}; + A.__XmlEventEncoderSink_Object_XmlEventVisitor.prototype = {}; A._XmlNodeDecoderSink.prototype = { add$1(_, chunk) { return J.forEach$1$ax(type$.List_XmlEvent._as(chunk), this.get$visit()); @@ -153524,7 +152309,7 @@ } }, visitTextEvent$1($event) { - return this.commit$2(0, new A.XmlText($event.get$value($event), null), $event); + return this.commit$2(0, new A.XmlText($event.get$value(0), null), $event); }, commit$2(_, node, $event) { var outerEvent, outerElement, t2, @@ -153543,16 +152328,17 @@ }, convertAttributes$1(attributes) { return J.map$1$1$ax(type$.Iterable_XmlEventAttribute._as(attributes), new A._XmlNodeDecoderSink_convertAttributes_closure(), type$.XmlAttribute); - } + }, + $isSink: 1 }; 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 + $signature: 567 }; - A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor.prototype = {}; + A.__XmlNodeDecoderSink_Object_XmlEventVisitor.prototype = {}; A.XmlEvent.prototype = { toString$0(_) { return new A.XmlEventEncoder(B.C_XmlDefaultEntityMapping).convert$1(A._setArrayType([this], type$.JSArray_XmlEvent)); @@ -153566,7 +152352,7 @@ 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); + return A.Object_hash(B.XmlNodeType_1, this.value, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -153582,7 +152368,7 @@ 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); + return A.Object_hash(B.XmlNodeType_2, this.value, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -153598,7 +152384,7 @@ 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); + return A.Object_hash(B.XmlNodeType_3, B.ListEquality_DefaultEquality0.hash$1(0, this.attributes), B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -153611,7 +152397,7 @@ 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); + return A.Object_hash(B.XmlNodeType_4, this.name, this.externalId, this.internalSubset); }, $eq(_, other) { if (other == null) @@ -153624,7 +152410,7 @@ 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); + return A.Object_hash(B.XmlNodeType_7, this.name, B.C_SentinelValue, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -153638,7 +152424,7 @@ 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); + return A.Object_hash(B.XmlNodeType_10, this.value, this.target, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -153657,7 +152443,7 @@ 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); + return A.Object_hash(B.XmlNodeType_7, this.name, this.isSelfClosing, B.ListEquality_DefaultEquality0.hash$1(0, this.attributes)); }, $eq(_, other) { if (other == null) @@ -153682,12 +152468,12 @@ 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); + return A.Object_hash(B.XmlNodeType_11, this.get$value(0), 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); + return other instanceof A.XmlRawTextEvent && other.get$value(0) === this.get$value(0); }, $isXmlTextEvent: 1 }; @@ -153695,7 +152481,7 @@ 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)); + 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)); } }; A.XmlEventIterator.prototype = { @@ -153709,27 +152495,29 @@ context = _this._context; if (context != null) { result = _this._eventParser.parseOn$1(context); - if (result.get$isSuccess()) { + if (result instanceof A.Success) { _this.set$_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); + t1 = result.value; + _this.set$_iterator$_current(t1); + _this._annotator.annotate$4$buffer$start$stop(t1, 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$_context(new A.Failure(t3, t2, t1 + 1, type$.Failure_XmlEvent)); + _this.set$_context(new A.Failure(t3, t2, t1 + 1)); + _this._iterator$_current = null; throw A.wrapException(A.XmlParserException$(result.get$message(result), result.buffer, result.position)); } else { _this.set$_context(null); + _this._iterator$_current = 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(); + t3 = new A.WhereTypeIterable(t3._roots, type$.WhereTypeIterable_XmlStartElementEvent).get$iterator(0).moveNext$0(); if (!t3) A.throwExpression(A.XmlParserException$("Expected a single root element", t2, t1)); return false; @@ -153743,22 +152531,23 @@ }, set$_iterator$_current(_current) { this._iterator$_current = type$.nullable_XmlEvent._as(_current); - } + }, + $isIterator: 1 }; 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.CONSTANT, type$.XmlEvent); + return A.ChoiceParser$(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), A.failure_joiner__selectFarthest$closure(), type$.XmlEvent); }, characterData$0() { - return A.MapParserExtension_map(new A.XmlCharacterDataParser("<", 1), new A.XmlEventParser_characterData_closure(this), type$.String, type$.XmlTextEvent); + return A.MapParserExtension_map(new A.XmlCharacterDataParser("<", 1), new A.XmlEventParser_characterData_closure(this), false, 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.CONSTANT0, t2), t2, t2, t3, t2, t2), new A.XmlEventParser_startElement_closure(), t2, t2, t3, t2, t2, type$.XmlStartElementEvent); + return A.RecordParserExtension5_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.ChoiceParser$(A._setArrayType([A.PredicateStringExtension_toParser(">"), A.PredicateStringExtension_toParser("/>")], type$.JSArray_Parser_String), A.failure_joiner__selectFirst$closure(), 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); @@ -153767,53 +152556,53 @@ 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); + t3 = type$.Record_2_String_and_XmlAttributeType; + return A.RecordParserExtension3_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_Record_2_String_and_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); + t4 = type$.Record_2_String_and_XmlAttributeType; + return new A.OptionalParser(B.Record2_8aB, A.RecordParserExtension4_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_Record_2_String_and_XmlAttributeType), t3, t3, t3, t4), new A.XmlEventParser_attributeAssignment_closure(), t3, t3, t3, t4, t4), type$.OptionalParser_Record_2_String_and_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); + var t1 = type$.ReferenceParser_Record_2_String_and_XmlAttributeType; + return A.ChoiceParser$(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_Record_2_String_and_XmlAttributeType), null, type$.Record_2_String_and_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); + return A.RecordParserExtension3_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$.Record_2_String_and_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); + return A.RecordParserExtension3_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$.Record_2_String_and_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); + return A.MapParserExtension_map(new A.ReferenceParser(this.get$nameToken(), B.List_empty, type$.ReferenceParser_String), new A.XmlEventParser_attributeValueNoQuote_closure(), false, type$.String, type$.Record_2_String_and_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); + return A.RecordParserExtension4_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); + return A.RecordParserExtension3_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); + return A.RecordParserExtension3_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); + return A.RecordParserExtension4_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); + return A.RecordParserExtension4_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, @@ -153822,55 +152611,55 @@ t3 = type$.ReferenceParser_String, t4 = _this.get$spaceOptional(), t5 = type$.String; - return A.ParserSequenceExtension8_map8(new A.SequenceParser8(t1, new A.ReferenceParser(t2, B.List_empty, t3), new A.ReferenceParser(_this.get$nameToken(), B.List_empty, t3), new A.OptionalParser(null, new A.SkipParser(new A.ReferenceParser(t2, B.List_empty, type$.ReferenceParser_void), null, new A.ReferenceParser(_this.get$doctypeExternalId(), B.List_empty, type$.ReferenceParser_DtdExternalId), type$.SkipParser_DtdExternalId), type$.OptionalParser_nullable_DtdExternalId), new A.ReferenceParser(t4, B.List_empty, t3), new A.OptionalParser(null, new A.ReferenceParser(_this.get$doctypeIntSubset(), B.List_empty, t3), type$.OptionalParser_nullable_String), new A.ReferenceParser(t4, B.List_empty, t3), 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); + return A.RecordParserExtension8_map8(new A.SequenceParser8(t1, new A.ReferenceParser(t2, B.List_empty, t3), new A.ReferenceParser(_this.get$nameToken(), B.List_empty, t3), new A.OptionalParser(null, new A.SkipParser(new A.ReferenceParser(t2, B.List_empty, type$.ReferenceParser_void), new A.EpsilonParser(null, type$.EpsilonParser_void), new A.ReferenceParser(_this.get$doctypeExternalId(), B.List_empty, type$.ReferenceParser_DtdExternalId), type$.SkipParser_DtdExternalId), type$.OptionalParser_nullable_DtdExternalId), new A.ReferenceParser(t4, B.List_empty, t3), new A.OptionalParser(null, new A.ReferenceParser(_this.get$doctypeIntSubset(), B.List_empty, t3), type$.OptionalParser_nullable_String), new A.ReferenceParser(t4, B.List_empty, t3), 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); + return A.ChoiceParser$(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); + t2 = type$.Record_2_String_and_XmlAttributeType; + return A.RecordParserExtension3_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_Record_2_String_and_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, + t4 = type$.ReferenceParser_Record_2_String_and_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); + t6 = type$.Record_2_String_and_XmlAttributeType; + return A.RecordParserExtension5_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); + t2 = A.ChoiceParser$(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); + return A.RecordParserExtension3_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); }, @@ -153889,7 +152678,7 @@ 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); + 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_Record_2_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); @@ -153903,7 +152692,7 @@ var _null = null; return new A.XmlRawTextEvent(A._asString(each), this.$this.entityMapping, _null, _null, _null, _null); }, - $signature: 584 + $signature: 583 }; A.XmlEventParser_startElement_closure.prototype = { call$5(_, nameToken, attributes, __, closeElement) { @@ -153914,32 +152703,32 @@ A._asString(__); return new A.XmlStartElementEvent(nameToken, attributes, A._asString(closeElement) === "/>", _null, _null, _null, _null); }, - $signature: 585 + $signature: 584 }; A.XmlEventParser_attribute_closure.prototype = { call$3(_, $name, attribute) { A._asString(_); A._asString($name); - type$.Sequence2_String_XmlAttributeType._as(attribute); - return new A.XmlEventAttribute($name, this.$this.entityMapping.decode$1(0, attribute.first), attribute.second, null); + type$.Record_2_String_and_XmlAttributeType._as(attribute); + return new A.XmlEventAttribute($name, this.$this.entityMapping.decode$1(0, attribute._0), attribute._1, null); }, - $signature: 586 + $signature: 585 }; A.XmlEventParser_attributeAssignment_closure.prototype = { call$4(_, __, ___, value) { A._asString(_); A._asString(__); A._asString(___); - return type$.Sequence2_String_XmlAttributeType._as(value); + return type$.Record_2_String_and_XmlAttributeType._as(value); }, - $signature: 587 + $signature: 586 }; A.XmlEventParser_attributeValueDoubleQuote_closure.prototype = { call$3(_, value, __) { A._asString(_); A._asString(value); A._asString(__); - return new A.Sequence2(value, B.XmlAttributeType_PIp, type$.Sequence2_String_XmlAttributeType); + return new A._Record_2(value, B.XmlAttributeType_2x0); }, $signature: 159 }; @@ -153948,15 +152737,15 @@ A._asString(_); A._asString(value); A._asString(__); - return new A.Sequence2(value, B.XmlAttributeType_fgL, type$.Sequence2_String_XmlAttributeType); + return new A._Record_2(value, B.XmlAttributeType_3h3); }, $signature: 159 }; A.XmlEventParser_attributeValueNoQuote_closure.prototype = { call$1(value) { - return new A.Sequence2(A._asString(value), B.XmlAttributeType_PIp, type$.Sequence2_String_XmlAttributeType); + return new A._Record_2(A._asString(value), B.XmlAttributeType_2x0); }, - $signature: 589 + $signature: 588 }; A.XmlEventParser_endElement_closure.prototype = { call$4(_, $name, __, ___) { @@ -153967,7 +152756,7 @@ A._asString(___); return new A.XmlEndElementEvent($name, _null, _null, _null, _null); }, - $signature: 590 + $signature: 589 }; A.XmlEventParser_comment_closure.prototype = { call$3(_, text, __) { @@ -153977,7 +152766,7 @@ A._asString(__); return new A.XmlCommentEvent(text, _null, _null, _null, _null); }, - $signature: 591 + $signature: 590 }; A.XmlEventParser_cdata_closure.prototype = { call$3(_, text, __) { @@ -153987,7 +152776,7 @@ A._asString(__); return new A.XmlCDATAEvent(text, _null, _null, _null, _null); }, - $signature: 592 + $signature: 591 }; A.XmlEventParser_declaration_closure.prototype = { call$4(_, attributes, __, ___) { @@ -153998,14 +152787,14 @@ A._asString(___); return new A.XmlDeclarationEvent(attributes, _null, _null, _null, _null); }, - $signature: 593 + $signature: 592 }; A.XmlEventParser_processing_closure.prototype = { call$2(_, text) { A._asString(_); return A._asString(text); }, - $signature: 594 + $signature: 593 }; A.XmlEventParser_processing_closure0.prototype = { call$4(_, target, text, __) { @@ -154016,7 +152805,7 @@ A._asString(__); return new A.XmlProcessingEvent(target, text, _null, _null, _null, _null); }, - $signature: 595 + $signature: 594 }; A.XmlEventParser_doctype_closure.prototype = { call$8(_, __, $name, externalId, ___, internalSubset, ____, _____) { @@ -154031,29 +152820,29 @@ A._asString(_____); return new A.XmlDoctypeEvent($name, externalId, internalSubset, _null, _null, _null, _null); }, - $signature: 596 + $signature: 595 }; A.XmlEventParser_doctypeExternalIdSystem_closure.prototype = { call$3(_, __, attribute) { A._asString(_); A._asString(__); - type$.Sequence2_String_XmlAttributeType._as(attribute); - return new A.DtdExternalId(null, null, attribute.first, attribute.second); + type$.Record_2_String_and_XmlAttributeType._as(attribute); + return new A.DtdExternalId(null, null, attribute._0, attribute._1); }, - $signature: 597 + $signature: 596 }; A.XmlEventParser_doctypeExternalIdPublic_closure.prototype = { call$5(_, __, publicAttribute, ___, systemAttribute) { var t1; A._asString(_); A._asString(__); - t1 = type$.Sequence2_String_XmlAttributeType; + t1 = type$.Record_2_String_and_XmlAttributeType; t1._as(publicAttribute); A._asString(___); t1._as(systemAttribute); - return new A.DtdExternalId(publicAttribute.first, publicAttribute.second, systemAttribute.first, systemAttribute.second); + return new A.DtdExternalId(publicAttribute._0, publicAttribute._1, systemAttribute._0, systemAttribute._1); }, - $signature: 598 + $signature: 597 }; A.XmlEventParser_doctypeIntSubset_closure.prototype = { call$3(_, contents, __) { @@ -154062,13 +152851,13 @@ A._asString(__); return contents; }, - $signature: 90 + $signature: 88 }; 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 + $signature: 599 }; A.ConversionSink.prototype = { add$1(_, data) { @@ -154079,7 +152868,7 @@ }; 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); + return A.Object_hash(this.name, this.value, this.attributeType, B.C_SentinelValue); }, $eq(_, other) { if (other == null) @@ -154096,6 +152885,22 @@ A.XmlEventVisitor.prototype = { visit$1($event) { return type$.XmlEvent._as($event).accept$1(0, this); + }, + visitCDATAEvent$1($event) { + }, + visitCommentEvent$1($event) { + }, + visitDeclarationEvent$1($event) { + }, + visitDoctypeEvent$1($event) { + }, + visitEndElementEvent$1($event) { + }, + visitProcessingEvent$1($event) { + }, + visitStartElementEvent$1($event) { + }, + visitTextEvent$1($event) { } }; (function aliases() { @@ -154118,10 +152923,10 @@ _.super$_HashMap$_get = _._collection$_get$1; _.super$_HashMap$_set = _._collection$_set$2; _.super$_HashMap$_remove = _._remove$1; - _ = A.ListMixin.prototype; - _.super$ListMixin$setRange = _.setRange$4; - _ = A.MapMixin.prototype; - _.super$MapMixin$addAll = _.addAll$1; + _ = A.ListBase.prototype; + _.super$ListBase$setRange = _.setRange$4; + _ = A.MapBase.prototype; + _.super$MapBase$addAll = _.addAll$1; _ = A.Iterable.prototype; _.super$Iterable$where = _.where$1; _.super$Iterable$skipWhile = _.skipWhile$1; @@ -154154,6 +152959,7 @@ _.super$_UiComponent2_Component2_DisposableManagerProxy$componentWillUnmount = _.componentWillUnmount$0; _ = A.Parser.prototype; _.super$Parser$replace = _.replace$2; + _.super$Parser$toString = _.toString$0; _ = A.DelegateParser.prototype; _.super$DelegateParser$replace = _.replace$2; _ = A.Component2.prototype; @@ -154181,95 +152987,91 @@ _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", 95); + _static = hunkHelpers.installStaticTearOff; + _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 85); var _; - _instance_1_i(_ = J.JSArray.prototype, "get$addAll", "addAll$1", 72); - _instance_1_i(_, "get$contains", "contains$1", 66); - _static_1(A, "_js_helper_GeneralConstantMap__constantMapHashCode$closure", "GeneralConstantMap__constantMapHashCode", 61); - _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); + _instance_1_i(_ = J.JSArray.prototype, "get$addAll", "addAll$1", 73); + _instance_1_i(_, "get$contains", "contains$1", 87); + _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 80); + _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 80); + _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 80); _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0); - _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 31); - _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 91); + _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 34); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 90); _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(A._Completer.prototype, "get$completeError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 252, 0, 0); - _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 91); + }, ["call$2", "call$1"], ["completeError$2", "completeError$1"], 259, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 90); _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance_0_i(_ = A._BufferingStreamSubscription.prototype, "get$cancel", "cancel$0", 81); + _instance_0_i(_ = A._BufferingStreamSubscription.prototype, "get$cancel", "cancel$0", 77); _instance_0_u(_, "get$_onPause", "_onPause$0", 0); _instance_0_u(_, "get$_onResume", "_onResume$0", 0); - _instance_0_i(_ = A._DoneStreamSubscription.prototype, "get$cancel", "cancel$0", 81); - _instance_0_u(_, "get$_sendDone", "_sendDone$0", 0); + _instance_0_i(_ = A._DoneStreamSubscription.prototype, "get$cancel", "cancel$0", 77); + _instance_0_u(_, "get$_onMicrotask", "_onMicrotask$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", 72); - _instance_2_u(_, "get$_handleError", "_handleError$2", 233); + _instance_1_u(_, "get$_handleData", "_handleData$1", 73); + _instance_2_u(_, "get$_handleError", "_handleError$2", 236); _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0); - _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 63); - _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 61); - _static_2(A, "collection_ListMixin__compareAny$closure", "ListMixin__compareAny", 95); - _instance(A._HashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 80, 0, 0); - _instance(A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 80, 0, 0); - _instance(A._UnmodifiableSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 80, 0, 0); + _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 59); + _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 71); + _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 85); _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 12); - _instance_1_i(_ = A._ByteCallbackSink.prototype, "get$add", "add$1", 72); + _instance_1_i(_ = A._ByteCallbackSink.prototype, "get$add", "add$1", 73); _instance_0_i(_, "get$close", "close$0", 0); - _static_1(A, "core__identityHashCode$closure", "identityHashCode", 61); - _static_2(A, "core__identical$closure", "identical", 63); + _static_1(A, "core__identityHashCode$closure", "identityHashCode", 71); + _static_2(A, "core__identical$closure", "identical", 59); _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 27); - _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 72); + _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 73); _static(A, "html__Html5NodeValidator__standardAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__standardAttributeValidator"], 162, 0); _static(A, "html__Html5NodeValidator__uriAttributeValidator$closure", 4, null, ["call$4"], ["_Html5NodeValidator__uriAttributeValidator"], 162, 0); - _instance_0_i(A.CacheStorage.prototype, "get$keys", "keys$0", 81); - _instance_2_i(A.HttpRequest.prototype, "get$setRequestHeader", "setRequestHeader$2", 74); - _instance_0_i(A.PaymentInstruments.prototype, "get$keys", "keys$0", 249); - _static_1(A, "js___convertToJS$closure", "_convertToJS", 99); - _static_1(A, "js___convertToDart$closure", "_convertToDart", 40); + _instance_0_i(A.CacheStorage.prototype, "get$keys", "keys$0", 77); + _instance_0_i(A.PaymentInstruments.prototype, "get$keys", "keys$0", 240); + _static_1(A, "js___convertToJS$closure", "_convertToJS", 101); + _static_1(A, "js___convertToDart$closure", "_convertToDart", 37); _static(A, "math__min$closure", 2, null, ["call$1$2", "call$2"], ["min", function(a, b) { return A.min(a, b, type$.num); }], 163, 1); _static(A, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) { return A.max(a, b, type$.num); }], 163, 1); - _instance_2_u(_ = A.DefaultEquality.prototype, "get$equals", "equals$2", 63); - _instance_1_i(_, "get$hash", "hash$1", 61); - _instance_1_u(_, "get$isValidKey", "isValidKey$1", 66); - _instance_2_u(A.ListEquality.prototype, "get$equals", "equals$2", 63); - _instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 63); - _instance_1_i(_, "get$hash", "hash$1", 61); - _instance_1_u(_, "get$isValidKey", "isValidKey$1", 66); + _instance_2_u(_ = A.DefaultEquality.prototype, "get$equals", "equals$2", 59); + _instance_1_i(_, "get$hash", "hash$1", 71); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 87); + _instance_2_u(A.ListEquality.prototype, "get$equals", "equals$2", 59); + _instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 59); + _instance_1_i(_, "get$hash", "hash$1", 71); + _instance_1_u(_, "get$isValidKey", "isValidKey$1", 87); + _static_1(A, "case_insensitive_map_CaseInsensitiveMap__canonicalizer$closure", "CaseInsensitiveMap__canonicalizer", 27); _static(A, "error_boundary___$ErrorBoundary$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$ErrorBoundary", function() { return A._$ErrorBoundary(null); - }], 605, 0); + }], 604, 0); _static(A, "error_boundary_recoverable___$RecoverableErrorBoundary$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$RecoverableErrorBoundary", function() { return A._$RecoverableErrorBoundary(null); - }], 606, 0); - _instance_2_u(_ = A.RecoverableErrorBoundaryComponent.prototype, "get$_renderStringDomAfterUnrecoverableErrors", "_renderStringDomAfterUnrecoverableErrors$2", 255); + }], 605, 0); + _instance_2_u(_ = A.RecoverableErrorBoundaryComponent.prototype, "get$_renderStringDomAfterUnrecoverableErrors", "_renderStringDomAfterUnrecoverableErrors$2", 253); _instance_0_u(_, "get$_resetInternalErrorTracking", "_resetInternalErrorTracking$0", 0); _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", 257); - _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, "component_base_2_UiComponent2BridgeImpl_bridgeFactory$closure", "UiComponent2BridgeImpl_bridgeFactory", 606); + _instance_1_u(A.UiComponent2.prototype, "get$addUnconsumedProps", "addUnconsumedProps$1", 255); + _static_1(A, "pretty_print___prettyObj$closure", "_prettyObj", 607); + _static_1(A, "optimize__optimizedRanges$closure", "optimizedRanges", 608); + _static_1(A, "browser__Chrome__isChrome$closure", "_Chrome__isChrome", 17); + _static_1(A, "browser_EdgeChrome__isEdge$closure", "EdgeChrome__isEdge", 17); + _static_1(A, "browser__Firefox__isFirefox$closure", "_Firefox__isFirefox", 17); + _static_1(A, "browser__Safari__isSafari$closure", "_Safari__isSafari", 17); + _static_1(A, "browser__WKWebView__isWKWebView$closure", "_WKWebView__isWKWebView", 17); + _static_1(A, "browser__InternetExplorer__isInternetExplorer$closure", "_InternetExplorer__isInternetExplorer", 17); _static_1(A, "bridge_Component2BridgeImpl_bridgeFactory$closure", "Component2BridgeImpl_bridgeFactory", 609); - _static_1(A, "component_factory__listifyChildren$closure", "listifyChildren", 99); + _static_1(A, "component_factory__listifyChildren$closure", "listifyChildren", 101); _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); @@ -154301,7 +153103,7 @@ _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", 65); + _instance_0_i(A.OxdnaVector.prototype, "get$length", "length$0", 63); _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); @@ -154370,8 +153172,8 @@ _static_2(A, "app_ui_state_reducer__show_oxview_reducer$closure", "show_oxview_reducer", 683); _static_2(A, "app_ui_state_reducer__show_mouseover_data_set_reducer$closure", "show_mouseover_data_set_reducer", 684); _static_2(A, "app_ui_state_reducer__only_display_selected_helices_reducer$closure", "only_display_selected_helices_reducer", 685); - _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", 168); - _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", 168); + _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", 133); + _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", 133); _static_2(A, "app_ui_state_reducer__dna_assign_options_reducer$closure", "dna_assign_options_reducer", 687); _static_2(A, "app_ui_state_reducer__local_storage_design_choice_reducer$closure", "local_storage_design_choice_reducer", 688); _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", 689); @@ -154390,8 +153192,8 @@ _static_2(A, "app_ui_state_reducer__last_mod_3p_modification_add_reducer$closure", "last_mod_3p_modification_add_reducer", 702); _static_2(A, "app_ui_state_reducer__last_mod_int_modification_add_reducer$closure", "last_mod_int_modification_add_reducer", 703); _static_2(A, "app_ui_state_reducer__load_dna_sequence_image_uri$closure", "load_dna_sequence_image_uri", 704); - _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure", "load_dna_sequence_png_horizontal_offset", 169); - _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure", "load_dna_sequence_png_vertical_offset", 169); + _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_horizontal_offset$closure", "load_dna_sequence_png_horizontal_offset", 125); + _static_2(A, "app_ui_state_reducer__load_dna_sequence_png_vertical_offset$closure", "load_dna_sequence_png_vertical_offset", 125); _static_2(A, "app_ui_state_reducer__set_export_svg_action_delayed_for_png_cache$closure", "set_export_svg_action_delayed_for_png_cache", 706); _static_2(A, "app_ui_state_reducer__set_is_zoom_above_threshold$closure", "set_is_zoom_above_threshold", 707); _static_2(A, "app_ui_state_reducer__side_view_mouse_grid_pos_update_reducer$closure", "side_view_mouse_grid_pos_update_reducer", 708); @@ -154549,12 +153351,12 @@ _static_2(A, "undo_redo_reducer__undo_redo_clear_reducer$closure", "undo_redo_clear_reducer", 860); _static_2(A, "undo_redo_reducer__undoable_action_typed_reducer$closure", "undoable_action_typed_reducer", 861); _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", 146); + _static_1(A, "dialog_Dialog_identity_function$closure", "Dialog_identity_function", 145); _static_1(A, "grid_Grid_valueOf$closure", "Grid_valueOf", 862); _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"], 90, 0); - _static(A, "util__merge_wildcards_favor_first$closure", 3, null, ["call$3"], ["merge_wildcards_favor_first"], 90, 0); + _static(A, "util__merge_wildcards$closure", 3, null, ["call$3"], ["merge_wildcards"], 88, 0); + _static(A, "util__merge_wildcards_favor_first$closure", 3, null, ["call$3"], ["merge_wildcards_favor_first"], 88, 0); _static_1(A, "util__dispatch_set_zoom_threshold$closure", "dispatch_set_zoom_threshold", 863); _static_0(A, "util__svg_to_png_data$closure", "svg_to_png_data", 0); _static(A, "lib_3p_end___$End3Prime$closure", 0, function() { @@ -154664,7 +153466,7 @@ }, ["call$1", "call$0"], ["_$DesignMainHelix", function() { return A._$DesignMainHelix(null); }], 885, 0); - _instance_1_u(A.DesignMainHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(A.DesignMainHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); _static(A, "design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainLoopoutExtensionLength", function() { @@ -154695,19 +153497,19 @@ }, ["call$1", "call$0"], ["_$DesignMainStrand", function() { return A._$DesignMainStrand(null); }], 891, 0); - _instance_1_u(_ = A.DesignMainStrandComponent.prototype, "get$handle_click_down", "handle_click_down$1", 38); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 38); - _instance_0_u(_, "get$assign_dna", "assign_dna$0", 7); - _instance_0_u(_, "get$assign_dna_complement_from_bound_strands", "assign_dna_complement_from_bound_strands$0", 7); - _instance_0_u(_, "get$assign_scale_purification_fields", "assign_scale_purification_fields$0", 7); - _instance_0_u(_, "get$assign_plate_well_fields", "assign_plate_well_fields$0", 7); - _instance_0_u(_, "get$set_strand_name", "set_strand_name$0", 7); - _instance_0_u(_, "get$set_strand_label", "set_strand_label$0", 7); - _instance_0_u(_, "get$remove_dna", "remove_dna$0", 7); - _instance_0_u(_, "get$set_scaffold", "set_scaffold$0", 7); + _instance_1_u(_ = A.DesignMainStrandComponent.prototype, "get$handle_click_down", "handle_click_down$1", 40); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 40); + _instance_0_u(_, "get$assign_dna", "assign_dna$0", 8); + _instance_0_u(_, "get$assign_dna_complement_from_bound_strands", "assign_dna_complement_from_bound_strands$0", 8); + _instance_0_u(_, "get$assign_scale_purification_fields", "assign_scale_purification_fields$0", 8); + _instance_0_u(_, "get$assign_plate_well_fields", "assign_plate_well_fields$0", 8); + _instance_0_u(_, "get$set_strand_name", "set_strand_name$0", 8); + _instance_0_u(_, "get$set_strand_label", "set_strand_label$0", 8); + _instance_0_u(_, "get$remove_dna", "remove_dna$0", 8); + _instance_0_u(_, "get$set_scaffold", "set_scaffold$0", 8); _instance(_, "get$context_menu_strand", 0, 1, function() { return {address: B.C__Required, domain: B.C__Required, type: B.ModificationType_internal}; - }, ["call$4$address$domain$type", "call$3$address$domain"], ["context_menu_strand$4$address$domain$type", "context_menu_strand$3$address$domain"], 459, 0, 0); + }, ["call$4$address$domain$type", "call$3$address$domain"], ["context_menu_strand$4$address$domain$type", "context_menu_strand$3$address$domain"], 457, 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() { @@ -154725,9 +153527,9 @@ }, ["call$1", "call$0"], ["_$DesignMainStrandCrossover", function() { return A._$DesignMainStrandCrossover(null); }], 894, 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", 7); - _instance_0_u(_, "get$convert_crossover_to_loopout", "convert_crossover_to_loopout$0", 7); + _instance_1_u(_ = A.DesignMainStrandCrossoverComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); + _instance_0_u(_, "get$unstrain_backbone_at_crossover", "unstrain_backbone_at_crossover$0", 8); + _instance_0_u(_, "get$convert_crossover_to_loopout", "convert_crossover_to_loopout$0", 8); _static(A, "design_main_strand_deletion___$DesignMainStrandDeletion$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandDeletion", function() { @@ -154738,9 +153540,9 @@ }, ["call$1", "call$0"], ["_$DesignMainDNAEnd", function() { return A._$DesignMainDNAEnd(null); }], 896, 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", 38); - _instance_1_u(_, "get$handle_end_pointer_up_select", "handle_end_pointer_up_select$1", 38); + _instance_1_u(_ = A.DesignMainDNAEndComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); + _instance_1_u(_, "get$handle_end_click_select_and_or_move_start", "handle_end_click_select_and_or_move_start$1", 40); + _instance_1_u(_, "get$handle_end_pointer_up_select", "handle_end_pointer_up_select$1", 40); _instance_1_u(_, "get$handle_end_click_ligate_or_potential_crossover", "handle_end_click_ligate_or_potential_crossover$1", 1); _instance_1_u(_, "get$handle_on_mouse_leave", "handle_on_mouse_leave$1", 1); _instance_1_u(_, "get$handle_on_mouse_enter", "handle_on_mouse_enter$1", 1); @@ -154761,28 +153563,28 @@ return A._$DesignMainDomain(null); }], 899, 0); _instance_1_u(_ = A.DesignMainDomainComponent.prototype, "get$_handle_click_for_nick_insertion_deletion", "_handle_click_for_nick_insertion_deletion$1", 1); - _instance_1_u(_, "get$handle_click_down", "handle_click_down$1", 38); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 38); - _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(_, "get$handle_click_down", "handle_click_down$1", 40); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 40); + _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 28); _static(A, "design_main_strand_domain_text___$DesignMainStrandDomainText$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandDomainText", function() { return A._$DesignMainStrandDomainText(null); }], 900, 0); - _instance_1_u(A.DesignMainStrandDomainTextComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(A.DesignMainStrandDomainTextComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); _static(A, "design_main_strand_extension___$DesignMainExtension$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainExtension", function() { return A._$DesignMainExtension(null); }], 901, 0); - _instance_1_u(_ = A.DesignMainExtensionComponent.prototype, "get$handle_click_down", "handle_click_down$1", 38); - _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 38); - _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", 7); - _instance_0_u(_, "get$set_extension_name", "set_extension_name$0", 7); - _instance_0_u(_, "get$set_extension_label", "set_extension_label$0", 7); + _instance_1_u(_ = A.DesignMainExtensionComponent.prototype, "get$handle_click_down", "handle_click_down$1", 40); + _instance_1_u(_, "get$handle_click_up", "handle_click_up$1", 40); + _instance_1_u(_, "get$on_context_menu", "on_context_menu$1", 28); + _instance_0_u(_, "get$extension_num_bases_change", "extension_num_bases_change$0", 8); + _instance_0_u(_, "get$set_extension_name", "set_extension_name$0", 8); + _instance_0_u(_, "get$set_extension_label", "set_extension_label$0", 8); _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", 7); + _instance_0_u(_, "get$extension_display_length_and_angle_change", "extension_display_length_and_angle_change$0", 8); _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]; @@ -154794,17 +153596,17 @@ }, ["call$1", "call$0"], ["_$DesignMainStrandInsertion", function() { return A._$DesignMainStrandInsertion(null); }], 903, 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", 7); + _instance_1_u(_ = A.DesignMainStrandInsertionComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); + _instance_0_u(_, "get$change_insertion_length", "change_insertion_length$0", 8); _static(A, "design_main_strand_loopout___$DesignMainLoopout$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainLoopout", function() { return A._$DesignMainLoopout(null); }], 904, 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", 7); - _instance_0_u(_, "get$set_loopout_name", "set_loopout_name$0", 7); - _instance_0_u(_, "get$set_loopout_label", "set_loopout_label$0", 7); + _instance_1_u(_ = A.DesignMainLoopoutComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); + _instance_0_u(_, "get$loopout_length_change", "loopout_length_change$0", 8); + _instance_0_u(_, "get$set_loopout_name", "set_loopout_name$0", 8); + _instance_0_u(_, "get$set_loopout_label", "set_loopout_label$0", 8); _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]; @@ -154816,8 +153618,8 @@ }, ["call$1", "call$0"], ["_$DesignMainStrandModification", function() { return A._$DesignMainStrandModification(null); }], 906, 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", 7); + _instance_1_u(_ = A.DesignMainStrandModificationComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); + _instance_0_u(_, "get$remove_modification", "remove_modification$0", 8); _static(A, "design_main_strand_modifications___$DesignMainStrandModifications$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignMainStrandModifications", function() { @@ -154863,7 +153665,7 @@ }, ["call$1", "call$0"], ["_$DesignSideHelix", function() { return A._$DesignSideHelix(null); }], 915, 0); - _instance_1_u(A.DesignSideHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 25); + _instance_1_u(A.DesignSideHelixComponent.prototype, "get$on_context_menu", "on_context_menu$1", 28); _static(A, "design_side_potential_helix___$DesignSidePotentialHelix$closure", 0, function() { return [null]; }, ["call$1", "call$0"], ["_$DesignSidePotentialHelix", function() { @@ -154963,60 +153765,54 @@ }, ["call$1", "call$0"], ["_$StrandOrSubstrandColorPicker", function() { return A._$StrandOrSubstrandColorPicker(null); }], 935, 0); - _instance_2_u(_ = A.StrandOrSubstrandColorPickerComponent.prototype, "get$handleOnChangeComplete", "handleOnChangeComplete$2", 545); - _instance_1_u(_, "get$handleOnCancel", "handleOnCancel$1", 31); - _instance_1_u(_, "get$handleOnOK", "handleOnOK$1", 31); - _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, null, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 558, 0, 0); - _static_1(A, "spreadsheet_decoder___letterOnly$closure", "_letterOnly", 77); - _static_1(A, "default_mapping___textReplace$closure", "_textReplace", 52); - _static_1(A, "default_mapping___singeQuoteAttributeReplace$closure", "_singeQuoteAttributeReplace", 52); - _static_1(A, "default_mapping___doubleQuoteAttributeReplace$closure", "_doubleQuoteAttributeReplace", 52); - _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", 59); - _instance_0_u(_, "get$attributeValue", "attributeValue$0", 59); - _instance_0_u(_, "get$attributeValueDoubleQuote", "attributeValueDoubleQuote$0", 59); - _instance_0_u(_, "get$attributeValueSingleQuote", "attributeValueSingleQuote$0", 59); - _instance_0_u(_, "get$attributeValueNoQuote", "attributeValueNoQuote$0", 59); - _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", 87); - _instance_0_u(_, "get$doctypeExternalIdSystem", "doctypeExternalIdSystem$0", 87); - _instance_0_u(_, "get$doctypeExternalIdPublic", "doctypeExternalIdPublic$0", 87); - _instance_0_u(_, "get$doctypeIntSubset", "doctypeIntSubset$0", 48); - _instance_0_u(_, "get$doctypeElementDecl", "doctypeElementDecl$0", 55); - _instance_0_u(_, "get$doctypeAttlistDecl", "doctypeAttlistDecl$0", 55); - _instance_0_u(_, "get$doctypeEntityDecl", "doctypeEntityDecl$0", 55); - _instance_0_u(_, "get$doctypeNotationDecl", "doctypeNotationDecl$0", 55); - _instance_0_u(_, "get$doctypeReference", "doctypeReference$0", 55); - _instance_0_u(_, "get$space", "space$0", 48); - _instance_0_u(_, "get$spaceOptional", "spaceOptional$0", 48); - _instance_0_u(_, "get$nameToken", "nameToken$0", 48); - _instance_0_u(_, "get$nameStartChar", "nameStartChar$0", 48); - _instance_0_u(_, "get$nameChar", "nameChar$0", 48); - _instance_1_u(A.XmlEventVisitor.prototype, "get$visit", "visit$1", 601); + _instance_2_u(_ = A.StrandOrSubstrandColorPickerComponent.prototype, "get$handleOnChangeComplete", "handleOnChangeComplete$2", 543); + _instance_1_u(_, "get$handleOnCancel", "handleOnCancel$1", 34); + _instance_1_u(_, "get$handleOnOK", "handleOnOK$1", 34); + _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, null, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 556, 0, 0); + _static_1(A, "spreadsheet_decoder___letterOnly$closure", "_letterOnly", 75); + _static_1(A, "default_mapping___textReplace$closure", "_textReplace", 51); + _static_1(A, "default_mapping___singeQuoteAttributeReplace$closure", "_singeQuoteAttributeReplace", 51); + _static_1(A, "default_mapping___doubleQuoteAttributeReplace$closure", "_doubleQuoteAttributeReplace", 51); + _instance_0_u(_ = A.XmlEventParser.prototype, "get$event", "event$0", 568); + _instance_0_u(_, "get$characterData", "characterData$0", 569); + _instance_0_u(_, "get$startElement", "startElement$0", 570); + _instance_0_i(_, "get$attributes", "attributes$0", 571); + _instance_0_u(_, "get$attribute", "attribute$0", 572); + _instance_0_u(_, "get$attributeAssignment", "attributeAssignment$0", 62); + _instance_0_u(_, "get$attributeValue", "attributeValue$0", 62); + _instance_0_u(_, "get$attributeValueDoubleQuote", "attributeValueDoubleQuote$0", 62); + _instance_0_u(_, "get$attributeValueSingleQuote", "attributeValueSingleQuote$0", 62); + _instance_0_u(_, "get$attributeValueNoQuote", "attributeValueNoQuote$0", 62); + _instance_0_i(_, "get$endElement", "endElement$0", 574); + _instance_0_u(_, "get$comment", "comment$0", 575); + _instance_0_u(_, "get$cdata", "cdata$0", 576); + _instance_0_u(_, "get$declaration", "declaration$0", 577); + _instance_0_u(_, "get$processing", "processing$0", 578); + _instance_0_u(_, "get$doctype", "doctype$0", 579); + _instance_0_u(_, "get$doctypeExternalId", "doctypeExternalId$0", 98); + _instance_0_u(_, "get$doctypeExternalIdSystem", "doctypeExternalIdSystem$0", 98); + _instance_0_u(_, "get$doctypeExternalIdPublic", "doctypeExternalIdPublic$0", 98); + _instance_0_u(_, "get$doctypeIntSubset", "doctypeIntSubset$0", 49); + _instance_0_u(_, "get$doctypeElementDecl", "doctypeElementDecl$0", 50); + _instance_0_u(_, "get$doctypeAttlistDecl", "doctypeAttlistDecl$0", 50); + _instance_0_u(_, "get$doctypeEntityDecl", "doctypeEntityDecl$0", 50); + _instance_0_u(_, "get$doctypeNotationDecl", "doctypeNotationDecl$0", 50); + _instance_0_u(_, "get$doctypeReference", "doctypeReference$0", 50); + _instance_0_u(_, "get$space", "space$0", 49); + _instance_0_u(_, "get$spaceOptional", "spaceOptional$0", 49); + _instance_0_u(_, "get$nameToken", "nameToken$0", 49); + _instance_0_u(_, "get$nameStartChar", "nameStartChar$0", 49); + _instance_0_u(_, "get$nameChar", "nameChar$0", 49); + _instance_1_u(A.XmlEventVisitor.prototype, "get$visit", "visit$1", 600); _static_2(A, "equality__propsOrStateMapsEqual$closure", "propsOrStateMapsEqual", 936); _static_1(A, "code___toFormattedChar$closure", "_toFormattedChar", 151); - _static(A, "failure_joiner__selectFirst$closure", 2, null, ["call$1$2", "call$2"], ["selectFirst", function(first, second) { - return A.selectFirst(first, second, type$.dynamic); - }], 86, 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); - }], 86, 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); - }], 86, 1); + _static_2(A, "failure_joiner__selectFirst$closure", "selectFirst", 91); + _static_2(A, "failure_joiner__selectLast$closure", "selectLast", 91); + _static_2(A, "failure_joiner__selectFarthest$closure", "selectFarthest", 91); _static(A, "component_registration__registerComponent2$closure", 1, function() { - return {bridgeFactory: null, skipMethods: B.List_Zyt}; + return {bridgeFactory: null, skipMethods: B.List_8Gl}; }, ["call$3$bridgeFactory$skipMethods", "call$1"], ["registerComponent20", function(componentFactory) { - return A.registerComponent20(componentFactory, null, B.List_Zyt); + return A.registerComponent20(componentFactory, null, B.List_8Gl); }], 938, 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); @@ -155061,41 +153857,44 @@ _inherit = hunkHelpers.inherit, _inheritMany = hunkHelpers.inheritMany; _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.Context1, A.Style, A.ParsedPath, A.PathException, A.Context0, 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._GeometryHelixGroupSet_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._ExportBasePairLinesIfOtherStrandNotSelectedSet_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._$GeometryHelixGroupSetSerializer, 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._$ExportBasePairLinesIfOtherStrandNotSelectedSetSerializer, 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.GeometryHelixGroupSetBuilder, 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.ExportBasePairLinesIfOtherStrandNotSelectedSetBuilder, 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.NoIndent, A.SuppressableIndentEncoder, 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._XmlWriter_Object_XmlVisitor, A.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.__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]); + _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.TakeWhileIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A._Record, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.SetBase, 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._SyncStarIterator, A.AsyncError, A.Stream, A._BufferingStreamSubscription, A._BroadcastStreamController, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A._StreamController, A._AsyncStreamControllerDispatch, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._Zone, A._HashMapKeyIterator, A._HashSetIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A.Codec, A.Converter, A._Base64Encoder, A._Base64Decoder, A.ByteConversionSink, 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._EventStreamSubscription, 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.Endian, A.ArchiveFile, A.Bz2BitReader, A.BZip2Decoder, A.FileContent, A.Aes, A.CipherParameters, A.BaseKeyDerivator, A.BaseMac, A.BaseDigest, A.Register64, A.BaseBlockCipher, 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.Int32Serializer, 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.Int32, 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.Context1, A.Style, A.ParsedPath, A.PathException, A.Context0, A.ParserException, A.Parser, A.Token, A.MatchesIterator, A.CharacterPredicate, A.LookupCharPredicate, A.RangeCharPredicate, A.WhitespaceCharPredicate, A.Browser, A._HtmlNavigator, A.OperatingSystem, 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._GeometryHelixGroupSet_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._ExportBasePairLinesIfOtherStrandNotSelectedSet_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._$GeometryHelixGroupSetSerializer, 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._$ExportBasePairLinesIfOtherStrandNotSelectedSetSerializer, 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.GeometryHelixGroupSetBuilder, 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.ExportBasePairLinesIfOtherStrandNotSelectedSetBuilder, 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.NoIndent, A.SuppressableIndentEncoder, 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.EventStreamProvider0, A._EventStreamSubscription0, A.DtdExternalId, A.XmlEntityMapping, A.XmlException, A.XmlFormatException, A.XmlDescendantsIterator, 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._XmlWriter_Object_XmlVisitor, A.XmlVisitor, A.XmlAnnotator, A.XmlHasBuffer, A.XmlHasLocation, A.XmlHasParent0, A.__XmlEventEncoderSink_Object_XmlEventVisitor, A.__XmlNodeDecoderSink_Object_XmlEventVisitor, A._XmlEvent_Object_XmlHasParent, A.XmlEventIterator, A.XmlEventParser, A.ConversionSink, A._XmlEventAttribute_Object_XmlNamed, A.XmlNamed, A.XmlEventVisitor]); + _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]); + _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData, 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.__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._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(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]); + _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.TakeWhileIterable, A.SkipIterable, A.SkipWhileIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A.Archive, A.MatchesIterable, A.FixedList, A.XmlDescendantsIterable, A.XmlEventIterable]); + _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin]); _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.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.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.geometry_helix_group_set_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__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_base_pairs_closure2, 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_groups_menu_closure4, 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.XmlPrettyWriter_visitElement_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.geometry_helix_group_set_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]); + _inheritMany(A.Closure, [A.Closure2Args, A._CastListBase_removeWhere_closure, A.Closure0Args, 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.MapBase_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_closure0, 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_keys_closure, A.CanonicalizedMap_values_closure, A.Draggable__suppressClickEvent_closure0, 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.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.RecordParserExtension2_map2_closure, A.RecordParserExtension3_map3_closure, A.RecordParserExtension4_map4_closure, A.RecordParserExtension5_map5_closure, A.RecordParserExtension8_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.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.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.geometry_helix_group_set_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__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_base_pairs_closure2, 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_groups_menu_closure4, 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._EventStreamSubscription_closure0, A._EventStreamSubscription_onData_closure, 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.XmlPrettyWriter_visitElement_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_addAll_closure, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A._JsonPrettyPrintMixin_writeMap_closure, A._BigIntImpl_hashCode_combine, A.NoSuchMethodError_toString_closure, 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.geometry_helix_group_set_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.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.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError, A.BuiltValueNullFieldError, A.BuiltValueNestedFieldError, A.DeserializationError, A.UngeneratedError]); _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.MenuComponent_edit_menu__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.SideMenuComponent_change_group_geometry_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.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]); + _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__chainCoreFutureAsync_closure, A._Future__asyncCompleteWithValue_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_closure, 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.MenuComponent_edit_menu__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.SideMenuComponent_change_group_geometry_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); + _inheritMany(A._Record, [A._Record2, A._Record3, A._RecordN]); + _inherit(A._Record_2, A._Record2); + _inherit(A._Record_3, A._Record3); + _inheritMany(A._RecordN, [A._Record_4, A._Record_5, A._Record_8]); _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]); + _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A.CssClassSetImpl]); + _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]); _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.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]); _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); @@ -155105,7 +153904,7 @@ _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]); + _inheritMany(A.Stream, [A._StreamImpl, A.StreamView, A._EmptyStream, A._ForwardingStream, A._EventStream, A._EventStream0]); _inherit(A._ControllerStream, A._StreamImpl); _inherit(A._BroadcastStream, A._ControllerStream); _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]); @@ -155117,20 +153916,13 @@ _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._SetBase, [A._HashSet, A._LinkedHashSet]); _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._ByteCallbackSink, A.ByteConversionSink); _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError); _inherit(A._JsonStringStringifier, A._JsonStringifier); _inherit(A.__JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin, A._JsonStringStringifier); @@ -155198,10 +153990,8 @@ _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); @@ -155223,13 +154013,17 @@ _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); + _inheritMany(A.CipherParameters, [A.Pbkdf2Parameters, A.KeyParameter]); + _inherit(A.PBKDF2KeyDerivator, A.BaseKeyDerivator); + _inherit(A.MD4FamilyDigest, A.BaseDigest); + _inherit(A.SHA1Digest, A.MD4FamilyDigest); + _inherit(A.HMac, A.BaseMac); + _inherit(A.AESEngine, A.BaseBlockCipher); _inherit(A.InputStream, A.InputStreamBase); _inherit(A.OutputStream, A.OutputStreamBase); _inherit(A.ZipFile, A.FileContent); @@ -155248,15 +154042,16 @@ _inherit(A.ByteStream, A.StreamView); _inherit(A.Request, A.BaseRequest); _inheritMany(A.BaseResponse, [A.Response, A.StreamedResponse]); + _inherit(A.StreamedResponseV2, 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.UiProps0, A._UiProps_MapBase_MapViewMixin_PropsMapViewMixin_ReactPropsMixin_UbiquitousDomPropsMixin_CssClassPropsMixin); + _inherit(A._UiProps_UiProps_GeneratedClass, A.UiProps0); + _inherit(A.UiProps, A._UiProps_UiProps_GeneratedClass); + _inheritMany(A.UiProps, [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); @@ -155300,7 +154095,7 @@ _inherit(A.InternalStyle, A.Style); _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]); _inherit(A.Result, A.Context0); - _inheritMany(A.Result, [A.Failure, A.Success]); + _inheritMany(A.Result, [A.Success, A.Failure]); _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]); @@ -155308,12 +154103,6 @@ _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(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); @@ -156403,8 +155192,8 @@ _inheritMany(A.XmlName, [A.XmlPrefixName, A.XmlSimpleName]); _inherit(A.XmlWriter, A._XmlWriter_Object_XmlVisitor); _inherit(A.XmlPrettyWriter, A.XmlWriter); - _inherit(A._XmlEventEncoderSink, A.__XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor); - _inherit(A._XmlNodeDecoderSink, A.__XmlNodeDecoderSink_ChunkedConversionSink_XmlEventVisitor); + _inherit(A._XmlEventEncoderSink, A.__XmlEventEncoderSink_Object_XmlEventVisitor); + _inherit(A._XmlNodeDecoderSink, A.__XmlNodeDecoderSink_Object_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); @@ -156414,69 +155203,63 @@ _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.__CastListBase__CastIterableBase_ListMixin, A.ListBase); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase); _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); - _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase); _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, A.ListBase); _mixin(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListBase); _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._MidiInputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MidiOutputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapMixin); - _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListBase); _mixin(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapMixin); - _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListBase); _mixin(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixinHard(A._JsArray_JsObject_ListMixin, A.ListMixin); - _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListMixin); + _mixinHard(A._JsArray_JsObject_ListMixin, A.ListBase); + _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListBase); _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._AudioParamMap_JavaScriptObject_MapMixin, A.MapBase); _mixin(A._DomProps_UiProps_DomPropsMixin, A.DomPropsMixin); _mixin(A._SvgProps_UiProps_DomPropsMixin, A.DomPropsMixin); _mixin(A._SvgProps_UiProps_DomPropsMixin_SvgPropsMixin, A.SvgPropsMixin); @@ -157133,8 +155916,8 @@ _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.__XmlEventEncoderSink_Object_XmlEventVisitor, A.XmlEventVisitor); + _mixin(A.__XmlNodeDecoderSink_Object_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); @@ -157145,15 +155928,22 @@ })(); 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"}, + mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"}, mangledNames: {}, - types: ["~()", "@(SyntheticMouseEvent)", "StrandBuilder(StrandBuilder)", "@(Store,@,@(@))", "@(SyntheticFormEvent)", "Future<~>()", "DomainBuilder(DomainBuilder)", "@()", "Null(SyntheticFormEvent)", "HelixBuilder(HelixBuilder)", "Null()", "bool(Selectable)", "@(@)", "bool(Strand)", "Null(SyntheticMouseEvent)", "~(XmlElement)", "ExtensionBuilder(ExtensionBuilder)", "Null(SyntheticPointerEvent)", "bool(NavigatorProvider)", "~(Event)", "~(MouseEvent)", "bool(Domain)", "bool(int)", "ListBuilder()", "DesignBuilder(DesignBuilder)", "@(Event)", "bool(String)", "String(String)", "HelixGroupBuilder(HelixGroupBuilder)", "LoopoutBuilder(LoopoutBuilder)", "~(StrandBuilder)", "~(@)", "bool(Insertion)", "ListBuilder()", "~(String,@)", "@(num)", "bool(@)", "AppStateBuilder(AppStateBuilder)", "@(SyntheticPointerEvent)", "Helix(int,Helix)", "Object?(@)", "StrandsMoveBuilder(StrandsMoveBuilder)", "~(@,@)", "MapBuilder()", "~(Element)", "~(KeyboardEvent)", "int(@)", "SelectablesStoreBuilder(SelectablesStoreBuilder)", "Parser()", "Null(@)", "AppUIStateStorablesBuilder(AppUIStateStorablesBuilder)", "~(ProgressEvent)", "String(Match)", "Future<~>(SyntheticMouseEvent)", "InsertionBuilder(InsertionBuilder)", "Parser<@>()", "int(int,int)", "bool(XmlHasName)", "LocalStorageDesignChoiceBuilder(LocalStorageDesignChoiceBuilder)", "Parser>()", "MapEntry(int,Point)", "int(Object?)", "int(HelixBuilder)", "bool(Object?,Object?)", "~(TouchEvent)", "double()", "bool(Object?)", "Null(StrandBuilder)", "Point(Domain)", "AddressBuilder(AddressBuilder)", "bool(int,Helix)", "AppUIStateBuilder(AppUIStateBuilder)", "~(Object?)", "ListBuilder()", "~(String,String)", "SelectModeStateBuilder(SelectModeStateBuilder)", "int(Domain,Domain)", "int(int)", "SelectionRopeBuilder(SelectionRopeBuilder)", "bool(XmlElement)", "Set<0^>()", "Future<@>()", "Null(MapBuilder)", "Helix(@,Helix)", "~(DraggableEvent)", "bool(JsMap,JsMap)", "Failure<0^>(Failure<0^>,Failure<0^>)", "Parser()", "int(DialogRadioBuilder)", "int(Helix)", "String(String,String,String)", "~(Object,StackTrace)", "~(Object?,Object?)", "ListBuilder()", "bool(_Highlight)", "int(@,@)", "UndoRedoBuilder(UndoRedoBuilder)", "~(~())", "MapBuilder()", "Object?(Object?)", "bool(SetBuilder)", "MapBuilder>()", "bool(SelectableModification)", "Insertion(Insertion)", "ListBuilder()", "MapBuilder()", "ListBuilder()", "ModificationInternal(StrandBuilder)", "ListBuilder()", "ListBuilder()", "CopyInfoBuilder(CopyInfoBuilder)", "StrandCreationBuilder(StrandCreationBuilder)", "SetBuilder()", "@(FileReader,String)", "bool(Substrand)", "bool(SetBuilder)", "String(Strand)", "DNAEnd(Domain)", "~(int,ModificationInternal)", "bool(DNAEnd)", "AxisArrowsProps(AppState)", "MapBuilder(MapBuilder)", "Null(String?)", "HelixGroup(String,HelixGroup)", "SetBuilder(SetBuilder)", "SetBuilder()", "bool(DialogCheckboxBuilder)", "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)", "ListBuilder()", "int()", "~(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)", "JsMap(Object?)", "ListBuilder()", "~(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()", "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)", "DNAEndsMoveBuilder(DNAEndsMoveBuilder)", "DNAExtensionsMoveBuilder(DNAExtensionsMoveBuilder)", "int(String)", "Future>()", "Future()", "MediaType()", "~(Object[StackTrace?])", "Logger()", "_$ErrorBoundaryComponent()", "Object?(@,@)", "_$RecoverableErrorBoundaryComponent()", "~(Map<@,@>)", "List(ConsumedProps)", "JsMap(Map<@,@>)", "0^(0^,int)", "~(Symbol0,@)", "HelixGroupMoveBuilder(HelixGroupMoveBuilder)", "StrandBuilder(Strand)", "Strand(StrandBuilder)", "Null(Object,StackTrace)", "~(SetBuilder)", "~(AppUIStateBuilder)", "MouseoverDataBuilder(MouseoverDataBuilder)", "JsMap(Object?)(Object?,JsMap)", "int(DNAEnd,DNAEnd)", "PotentialCrossoverBuilder(PotentialCrossoverBuilder)", "JsMap(Object?,JsMap)(Object?,JsMap)", "~(Node,Node?)", "Box(Helix)", "_Future<@>(@)", "JsMap(@(@))(@(@),JsMap)", "SetBuilder(SetBuilder)", "SelectionBoxBuilder(SelectionBoxBuilder)", "JsMap(@(@),JsMap)(@(@),JsMap)", "@(@,@)", "bool(Set)", "int(Insertion)", "VendorFieldsBuilder(StrandBuilder)", "Object?()", "Function(Function)", "ModificationInternal?(StrandBuilder)", "_$$ReduxProviderProps(Map<@,@>)", "MapBuilder>()", "_$$ReduxProviderProps$JsMap(JsBackedMap)", "ListBuilder()", "List()", "String(MapEntry>)", "String(@)", "ListBuilder()", "ListBuilder>()", "MapBuilder>>()", "String(String?)", "bool(String?)", "int(RangeCharPredicate,RangeCharPredicate)", "int(int,RangeCharPredicate)", "RangeCharPredicate(String)", "RangeCharPredicate(String,String,String)", "CharacterPredicate(List<@>)", "ListBuilder()", "CharacterPredicate(String?,CharacterPredicate)", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder>()", "ListBuilder()", "bool(Browser)", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder()", "Browser()", "~(Set)", "MapBuilder()", "ListBuilder()", "MapBuilder()", "Version0(NavigatorProvider)", "SetBuilder()", "bool(OperatingSystem)", "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)", "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(@)", "Object(String)", "~(DomainsMoveBuilder)", "int(Strand,Strand)", "ReactDartComponentFactoryProxy2(Component2(){bridgeFactory:Component2Bridge(Component2)?,skipMethods:Iterable})()", "~(ExtensionBuilder)", "~(GeometryBuilder)", "double(double)", "GeometryBuilder(GeometryBuilder)", "~(GridPositionBuilder)", "~(HelixGroupBuilder)", "~(HelixBuilder)", "~(HelixGroupMoveBuilder)", "Position3DBuilder(Position3DBuilder)", "~(LocalStorageDesignChoiceBuilder)", "@(Object?,Element)()", "~(LoopoutBuilder)", "MapBuilder(Modification5PrimeBuilder)", "MapBuilder(Modification3PrimeBuilder)", "MapBuilder(ModificationInternalBuilder)", "~(Modification5PrimeBuilder)", "~(Modification3PrimeBuilder)", "~(ModificationInternalBuilder)", "~(MouseoverParamsBuilder)", "~(MouseoverDataBuilder)", "~(Position3DBuilder)", "~(PotentialCrossoverBuilder)", "@(@)()", "SetBuilder(SelectModeStateBuilder)", "Element(Node)", "~(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()", "Component2()", "_$DesignMainArrowsComponent()", "_$AxisArrowsComponent()", "bool()", "@(@,String)", "DesignContextMenuProps(AppState)", "_DummyComponent2()", "_$DesignContextMenuComponent()", "_$DesignContextSubmenuComponent()", "DesignDialogFormProps(AppState)", "~(SkipUndoBuilder)", "MapBuilder>(MapBuilder>)", "~(UndoBuilder)", "~(RedoBuilder)", "String(DialogTextBuilder)", "String(DialogTextAreaBuilder)", "int(DialogIntegerBuilder)", "double(DialogFloatBuilder)", "~(BatchActionBuilder)", "_$DesignDialogFormComponent()", "DesignFooterProps(AppState)", "_$DesignFooterComponent()", "DesignLoadingDialogProps(AppState)", "_$DesignLoadingDialogComponent()", "DesignMainProps(AppState)", "~(ThrottledActionFastBuilder)", "~(ThrottledActionNonFastBuilder)", "_$DesignMainComponent()", "_$DesignMainBasePairLinesComponent()", "_$DesignMainBasePairRectangleComponent()", "_$DesignMainDNAMismatchesComponent()", "_$DesignMainDNASequenceComponent()", "_$DesignMainDNASequencesComponent()", "_$DesignMainDomainMovingComponent()", "_$DesignMainDomainNameMismatchesComponent()", "DesignMainDomainsMovingProps(AppState)", "_$DesignMainDomainsMovingComponent()", "_$DesignMainErrorBoundaryComponent()", "_$DesignMainHelicesComponent()", "~(EditModeToggleBuilder)", "~(SelectModeToggleBuilder)", "~(SetAppUIStateStorableBuilder)", "_$DesignMainHelixComponent()", "_$DesignMainLoopoutExtensionLengthComponent()", "_$DesignMainLoopoutExtensionLengthsComponent()", "_$DesignMainPotentialVerticalCrossoverComponent()", "_$DesignMainPotentialVerticalCrossoversComponent()", "_$DesignMainSliceBarComponent()", "~(ShowDNASetBuilder)", "List(Strand{address!Address,domain!Domain,type:ModificationType})", "~(ShowDomainNamesSetBuilder)", "~(ShowStrandNamesSetBuilder)", "~(ShowStrandLabelsSetBuilder)", "~(ShowDomainLabelsSetBuilder)", "~(ShowModificationsSetBuilder)", "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()", "~(ModificationFontSizeSetBuilder)", "SubstrandLabelSet(Extension)", "~(MajorTickOffsetFontSizeSetBuilder)", "_$DesignMainExtensionComponent()", "_$DesignMainStrandExtensionTextComponent()", "_$DesignMainStrandInsertionComponent()", "~(MajorTickWidthFontSizeSetBuilder)", "SubstrandLabelSet(Loopout)", "_$DesignMainLoopoutComponent()", "_$DesignMainStrandLoopoutTextComponent()", "~(SetModificationDisplayConnectorBuilder)", "_$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)", "~(ShowMismatchesSetBuilder)", "~(ShowDomainNameMismatchesSetBuilder)", "Undo(int)", "Redo(int)", "~(ShowUnpairedInsertionDeletionsSetBuilder)", "~(SyntheticMouseEvent)", "_$MenuComponent()", "_$MenuBooleanComponent()", "_$MenuDropdownItemComponent()", "_$MenuDropdownRightComponent()", "_$MenuFormFileComponent()", "_$MenuNumberComponent()", "SideMenuProps(AppState)", "~(OxviewShowSetBuilder)", "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)", "~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry>)", "~(DisplayMajorTicksOffsetsSetBuilder)", "SourceSpanWithContext()", "String(String{color:Object?})", "~(SetDisplayMajorTickWidthsAllHelicesBuilder)", "~(SetDisplayMajorTickWidthsBuilder)", "bool(bool,@)", "Null(Null)", "~(SetOnlyDisplaySelectedHelicesBuilder)", "~(LoadDNAFileBuilder)", "~(PrepareToLoadDNAFileBuilder)", "~(NewDesignSetBuilder)", "bool(XmlNode)", "XmlAttribute(XmlEventAttribute)", "Parser()", "Parser()", "Parser()", "Parser>()", "Parser()", "~(ShowMouseoverDataSetBuilder)", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "~(HelixRollSetAtOtherBuilder)", "~(ErrorMessageSetBuilder)", "~(SelectionBoxCreateBuilder)", "XmlRawTextEvent(String)", "XmlStartElementEvent(String,String,List,String,String)", "XmlEventAttribute(String,String,Sequence2)", "Sequence2(String,String,String,Sequence2)", "~(SelectionBoxSizeChangeBuilder)", "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)", "~(SelectionBoxRemoveBuilder)", "Parser(XmlEntityMapping)", "~(XmlEvent)", "~(MouseGridPositionSideUpdateBuilder)", "~(MouseGridPositionSideClearBuilder)", "~(SelectBuilder)", "_$$ErrorBoundaryProps([Map<@,@>?])", "_$$RecoverableErrorBoundaryProps([Map<@,@>?])", "UiComponent2BridgeImpl(Component2)", "String(Object?)", "Component2BridgeImpl(Component2)", "int(Object)", "@(Object?,Element)", "Component2(ReactComponent,ComponentStatics2)", "~(SelectionsClearBuilder)", "bool(Component2,JsMap,JsMap)", "JsMap?(ComponentStatics2,JsMap,JsMap)", "@(Component2,JsMap,JsMap)", "~(Component2,ReactComponent,JsMap,JsMap[@])", "~(Component2,@,ReactErrorInfo)", "JsMap?(ComponentStatics2,@)", "Object?(Component2,JsMap,JsMap,@)", "~(SelectAllSelectableBuilder)", "Element(Element)", "~(DeleteAllSelectedBuilder)", "JsFunction(@)", "AppState(AppState,@)", "String?(String?,ErrorMessageSet)", "bool(bool,PotentialCrossoverCreate)", "bool(bool,PotentialCrossoverRemove)", "bool(bool,DNAEndsMoveStart)", "bool(bool,DNAEndsMoveStop)", "bool(bool,DNAExtensionsMoveStart)", "bool(bool,DNAExtensionsMoveStop)", "SelectModeState(SelectModeState,SelectModesAdd)", "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,ExportBasePairLinesIfOtherStrandNotSelectedSet)", "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)", "~(HelixRemoveBuilder)", "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)", "~(HelixSelectBuilder)", "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,GeometryHelixGroupSet)", "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<@,@>?])", "~(HelixSelectionsClearBuilder)", "_$$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<@,@>)", "~(HelixSelectionsAdjustBuilder)", "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,SliceBarMoveStart)"], + types: ["~()", "@(SyntheticMouseEvent)", "StrandBuilder(StrandBuilder)", "@(Store,@,@(@))", "@(SyntheticFormEvent)", "Future<~>()", "DomainBuilder(DomainBuilder)", "Null(SyntheticFormEvent)", "@()", "HelixBuilder(HelixBuilder)", "Null()", "bool(Selectable)", "@(@)", "bool(Strand)", "Null(SyntheticMouseEvent)", "~(XmlElement)", "ExtensionBuilder(ExtensionBuilder)", "bool(NavigatorProvider)", "~(Event)", "Null(SyntheticPointerEvent)", "~(MouseEvent)", "bool(Domain)", "bool(int)", "ListBuilder()", "DesignBuilder(DesignBuilder)", "HelixGroupBuilder(HelixGroupBuilder)", "LoopoutBuilder(LoopoutBuilder)", "String(String)", "@(Event)", "bool(String)", "~(StrandBuilder)", "ListBuilder()", "bool(Insertion)", "bool(@)", "~(@)", "~(String,@)", "@(num)", "Object?(@)", "AppStateBuilder(AppStateBuilder)", "Helix(int,Helix)", "@(SyntheticPointerEvent)", "StrandsMoveBuilder(StrandsMoveBuilder)", "MapBuilder()", "~(@,@)", "Null(@)", "SelectablesStoreBuilder(SelectablesStoreBuilder)", "~(Element)", "int(@)", "~(KeyboardEvent)", "Parser()", "Parser<@>()", "String(Match)", "int(int,int)", "InsertionBuilder(InsertionBuilder)", "int(HelixBuilder)", "AppUIStateStorablesBuilder(AppUIStateStorablesBuilder)", "~(ProgressEvent)", "Future<~>(SyntheticMouseEvent)", "LocalStorageDesignChoiceBuilder(LocalStorageDesignChoiceBuilder)", "bool(Object?,Object?)", "MapEntry(int,Point)", "bool(XmlHasName)", "Parser<+(String,XmlAttributeType)>()", "double()", "SelectionRopeBuilder(SelectionRopeBuilder)", "Null(StrandBuilder)", "Point(Domain)", "bool(int,Helix)", "int(Domain,Domain)", "AddressBuilder(AddressBuilder)", "~(TouchEvent)", "int(Object?)", "SelectModeStateBuilder(SelectModeStateBuilder)", "~(Object?)", "AppUIStateBuilder(AppUIStateBuilder)", "int(int)", "ListBuilder()", "Future<@>()", "UndoRedoBuilder(UndoRedoBuilder)", "MapBuilder>()", "~(~())", "MapBuilder()", "int(Helix)", "ListBuilder()", "Helix(@,Helix)", "int(@,@)", "~(DraggableEvent)", "bool(Object?)", "String(String,String,String)", "int(DialogRadioBuilder)", "~(Object,StackTrace)", "Failure(Failure,Failure)", "Null(MapBuilder)", "bool(SetBuilder)", "bool(SelectableModification)", "bool(_Highlight)", "~(Object?,Object?)", "bool(XmlElement)", "Parser()", "~(String,String)", "bool(JsMap,JsMap)", "Object?(Object?)", "ListBuilder()", "~(List)", "MapBuilder()", "JsMap(Object?)", "SetBuilder(SetBuilder)", "ListBuilder()", "ListBuilder()", "MapBuilder(MapBuilder)", "HelixGroup(String,HelixGroup)", "SetBuilder()", "SetBuilder()", "@(FileReader,String)", "JsMap(Object?,JsMap)", "String(Strand)", "int(Insertion,Insertion)", "~(HelixAddBuilder)", "bool(DNAEnd)", "AxisArrowsProps(AppState)", "DNAEnd(Domain)", "Null(String?)", "@(String)", "bool(NodeValidator)", "int(String?)", "double(double,LoadDnaSequenceImageUri)", "bool(SetBuilder)", "~(Uint8List,String,int)", "MapEntry(int,Point)", "ListBuilder(ListBuilder)", "StrandCreationBuilder(StrandCreationBuilder)", "~(_EventManager)", "CopyInfoBuilder(CopyInfoBuilder)", "bool(bool,DefaultCrossoverTypeForSettingHelixRollsSet)", "DomainsMoveBuilder(DomainsMoveBuilder)", "StrandNameSet(Strand)", "SubstrandNameSet(Domain)", "StrandLabelSet(Strand)", "SubstrandNameSet(Extension)", "Future()", "SubstrandNameSet(Loopout)", "ModificationInternal(StrandBuilder)", "bool(Substrand)", "~(StreamSubscription<@>)", "bool(SyntheticMouseEvent)", "BuiltList(BuiltList)", "Function?()", "int()", "ListBuilder()", "ListBuilder()", "~(JSObject)", "String(int)", "XmlAttribute(XmlAttribute)", "XmlNode(XmlNode)", "JsMap(@(@))", "JsMap(@(@),JsMap)", "SetBuilder()", "bool(Node)", "Insertion(Insertion)", "+(String,XmlAttributeType)(String,String,String)", "Null(@,@)", "JsMap?()", "bool(Element,String,String,_Html5NodeValidator)", "0^(0^,0^)", "~(Component2)", "Null(JSObject)", "bool(num,num,num,num)", "bool(List>,Rectangle)", "bool(Tuple2)", "bool(DialogCheckboxBuilder)", "~(int,ModificationInternal)", "ListBuilder()", "~(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()", "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(@,@)", "@(@,String)", "ExampleDesignsBuilder(ExampleDesignsBuilder)", "~(Blob?)", "int(Crossover,Crossover)", "int(Loopout,Loopout)", "~(@,StackTrace)", "String(HttpRequest)", "Null(~())", "Domain(Selectable)", "Future>()", "int(Linker,Linker)", "Future(Client0)", "bool(String,String)", "DNAEndsMoveBuilder(DNAEndsMoveBuilder)", "DNAExtensionsMoveBuilder(DNAExtensionsMoveBuilder)", "int(String)", "Null(@,StackTrace)", "~(int,@)", "MediaType()", "Future()", "Logger()", "_$ErrorBoundaryComponent()", "Object?(@,@)", "_$RecoverableErrorBoundaryComponent()", "~(Map<@,@>)", "List(ConsumedProps)", "JsMap(Map<@,@>)", "0^(0^,int)", "~(Object[StackTrace?])", "HelixGroupMoveBuilder(HelixGroupMoveBuilder)", "StrandBuilder(Strand)", "Strand(StrandBuilder)", "Null(Object,StackTrace)", "~(SetBuilder)", "~(AppUIStateBuilder)", "MouseoverDataBuilder(MouseoverDataBuilder)", "JsMap(Object?)(Object?,JsMap)", "int(DNAEnd,DNAEnd)", "PotentialCrossoverBuilder(PotentialCrossoverBuilder)", "JsMap(Object?,JsMap)(Object?,JsMap)", "~(Node,Node?)", "Box(Helix)", "~(Symbol0,@)", "JsMap(@(@))(@(@),JsMap)", "SetBuilder(SetBuilder)", "SelectionBoxBuilder(SelectionBoxBuilder)", "JsMap(@(@),JsMap)(@(@),JsMap)", "@(@,@)", "bool(Set)", "int(Insertion)", "VendorFieldsBuilder(StrandBuilder)", "Object?()", "Function(Function)", "ModificationInternal?(StrandBuilder)", "_$$ReduxProviderProps(Map<@,@>)", "MapBuilder>()", "_$$ReduxProviderProps$JsMap(JsBackedMap)", "ListBuilder()", "List()", "String(MapEntry>)", "String(@)", "ListBuilder()", "ListBuilder>()", "MapBuilder>>()", "String(String?)", "bool(String?)", "int(RangeCharPredicate,RangeCharPredicate)", "int(int,RangeCharPredicate)", "RangeCharPredicate(String)", "RangeCharPredicate(String,String,String)", "CharacterPredicate(String?,CharacterPredicate)", "ListBuilder()", "bool(Browser)", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder>()", "ListBuilder()", "Browser()", "ListBuilder()", "ListBuilder()", "ListBuilder()", "ListBuilder()", "~(Set)", "ListBuilder()", "MapBuilder()", "Version0(NavigatorProvider)", "MapBuilder()", "bool(OperatingSystem)", "SetBuilder()", "OperatingSystem()", "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)", "Object(String)", "Domain(Substrand)", "int(Tuple5)", "MapEntry(String,HelixGroupBuilder)", "~(DesignSideRotationParamsBuilder)", "~(DesignSideRotationDataBuilder)", "~(DialogBuilder)", "~(DialogIntegerBuilder)", "~(DialogFloatBuilder)", "~(DialogTextBuilder)", "~(DialogTextAreaBuilder)", "~(DialogCheckboxBuilder)", "~(DialogRadioBuilder)", "~(DialogLinkBuilder)", "~(DialogLabelBuilder)", "~(DNAAssignOptionsBuilder)", "~(DNAEndBuilder)", "~(InsertionBuilder)", "~(DomainBuilder)", "@(Insertion)", "Insertion(@)", "ReactDartComponentFactoryProxy2(Component2(){bridgeFactory:Component2Bridge(Component2)?,skipMethods:Iterable})()", "~(DomainsMoveBuilder)", "int(Strand,Strand)", "@(Object?,Element)()", "~(ExtensionBuilder)", "~(GeometryBuilder)", "double(double)", "GeometryBuilder(GeometryBuilder)", "~(GridPositionBuilder)", "~(HelixGroupBuilder)", "~(HelixBuilder)", "~(HelixGroupMoveBuilder)", "Position3DBuilder(Position3DBuilder)", "~(LocalStorageDesignChoiceBuilder)", "@(@)()", "~(LoopoutBuilder)", "MapBuilder(Modification5PrimeBuilder)", "MapBuilder(Modification3PrimeBuilder)", "MapBuilder(ModificationInternalBuilder)", "~(Modification5PrimeBuilder)", "~(Modification3PrimeBuilder)", "~(ModificationInternalBuilder)", "~(MouseoverParamsBuilder)", "~(MouseoverDataBuilder)", "~(Position3DBuilder)", "~(PotentialCrossoverBuilder)", "Element(Node)", "SetBuilder(SelectModeStateBuilder)", "Component2()", "~(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()", "bool()", "_$DesignMainArrowsComponent()", "_$AxisArrowsComponent()", "_Future<@>(@)", "_DummyComponent2()", "DesignContextMenuProps(AppState)", "~(SkipUndoBuilder)", "_$DesignContextMenuComponent()", "_$DesignContextSubmenuComponent()", "DesignDialogFormProps(AppState)", "~(UndoBuilder)", "MapBuilder>(MapBuilder>)", "~(RedoBuilder)", "~(BatchActionBuilder)", "String(DialogTextBuilder)", "String(DialogTextAreaBuilder)", "int(DialogIntegerBuilder)", "double(DialogFloatBuilder)", "~(ThrottledActionFastBuilder)", "_$DesignDialogFormComponent()", "DesignFooterProps(AppState)", "_$DesignFooterComponent()", "DesignLoadingDialogProps(AppState)", "_$DesignLoadingDialogComponent()", "DesignMainProps(AppState)", "~(ThrottledActionNonFastBuilder)", "~(EditModeToggleBuilder)", "_$DesignMainComponent()", "_$DesignMainBasePairLinesComponent()", "_$DesignMainBasePairRectangleComponent()", "_$DesignMainDNAMismatchesComponent()", "_$DesignMainDNASequenceComponent()", "_$DesignMainDNASequencesComponent()", "_$DesignMainDomainMovingComponent()", "_$DesignMainDomainNameMismatchesComponent()", "DesignMainDomainsMovingProps(AppState)", "_$DesignMainDomainsMovingComponent()", "_$DesignMainErrorBoundaryComponent()", "_$DesignMainHelicesComponent()", "~(SelectModeToggleBuilder)", "~(SetAppUIStateStorableBuilder)", "~(ShowDNASetBuilder)", "_$DesignMainHelixComponent()", "_$DesignMainLoopoutExtensionLengthComponent()", "_$DesignMainLoopoutExtensionLengthsComponent()", "_$DesignMainPotentialVerticalCrossoverComponent()", "_$DesignMainPotentialVerticalCrossoversComponent()", "_$DesignMainSliceBarComponent()", "~(ShowDomainNamesSetBuilder)", "List(Strand{address!Address,domain!Domain,type:ModificationType})", "~(ShowStrandNamesSetBuilder)", "~(ShowStrandLabelsSetBuilder)", "~(ShowDomainLabelsSetBuilder)", "~(ShowModificationsSetBuilder)", "~(ModificationFontSizeSetBuilder)", "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()", "~(MajorTickOffsetFontSizeSetBuilder)", "SubstrandLabelSet(Extension)", "~(MajorTickWidthFontSizeSetBuilder)", "_$DesignMainExtensionComponent()", "_$DesignMainStrandExtensionTextComponent()", "_$DesignMainStrandInsertionComponent()", "~(SetModificationDisplayConnectorBuilder)", "SubstrandLabelSet(Loopout)", "_$DesignMainLoopoutComponent()", "_$DesignMainStrandLoopoutTextComponent()", "~(ShowMismatchesSetBuilder)", "_$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)", "~(ShowDomainNameMismatchesSetBuilder)", "~(ShowUnpairedInsertionDeletionsSetBuilder)", "Undo(int)", "Redo(int)", "~(OxviewShowSetBuilder)", "~(SyntheticMouseEvent)", "_$MenuComponent()", "_$MenuBooleanComponent()", "_$MenuDropdownItemComponent()", "_$MenuDropdownRightComponent()", "_$MenuFormFileComponent()", "_$MenuNumberComponent()", "SideMenuProps(AppState)", "~(SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelixBuilder)", "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)", "~(DisplayMajorTicksOffsetsSetBuilder)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry>)", "~(SetDisplayMajorTickWidthsAllHelicesBuilder)", "SourceSpanWithContext()", "String(String{color:Object?})", "~(SetDisplayMajorTickWidthsBuilder)", "~(SetOnlyDisplaySelectedHelicesBuilder)", "bool(bool,@)", "Null(Null)", "~(LoadDNAFileBuilder)", "~(PrepareToLoadDNAFileBuilder)", "~(NewDesignSetBuilder)", "~(ShowMouseoverDataSetBuilder)", "~(HelixRollSetAtOtherBuilder)", "bool(XmlNode)", "XmlAttribute(XmlEventAttribute)", "Parser()", "Parser()", "Parser()", "Parser>()", "Parser()", "~(ErrorMessageSetBuilder)", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "Parser()", "~(SelectionBoxCreateBuilder)", "~(SelectionBoxSizeChangeBuilder)", "~(SelectionBoxRemoveBuilder)", "XmlRawTextEvent(String)", "XmlStartElementEvent(String,String,List,String,String)", "XmlEventAttribute(String,String,+(String,XmlAttributeType))", "+(String,XmlAttributeType)(String,String,String,+(String,XmlAttributeType))", "~(MouseGridPositionSideUpdateBuilder)", "+(String,XmlAttributeType)(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,+(String,XmlAttributeType))", "DtdExternalId(String,String,+(String,XmlAttributeType),String,+(String,XmlAttributeType))", "~(MouseGridPositionSideClearBuilder)", "Parser(XmlEntityMapping)", "~(XmlEvent)", "~(SelectBuilder)", "~(SelectionsClearBuilder)", "~(SelectAllSelectableBuilder)", "_$$ErrorBoundaryProps([Map<@,@>?])", "_$$RecoverableErrorBoundaryProps([Map<@,@>?])", "UiComponent2BridgeImpl(Component2)", "String(Object?)", "CharacterPredicate(Iterable)", "Component2BridgeImpl(Component2)", "int(Object)", "@(Object?,Element)", "Component2(ReactComponent,ComponentStatics2)", "~(DeleteAllSelectedBuilder)", "bool(Component2,JsMap,JsMap)", "JsMap?(ComponentStatics2,JsMap,JsMap)", "@(Component2,JsMap,JsMap)", "~(Component2,ReactComponent,JsMap,JsMap[@])", "~(Component2,@,ReactErrorInfo)", "JsMap?(ComponentStatics2,@)", "Object?(Component2,JsMap,JsMap,@)", "JsFunction(@)", "Element(Element)", "~(HelixRemoveBuilder)", "~(HelixSelectBuilder)", "AppState(AppState,@)", "String?(String?,ErrorMessageSet)", "bool(bool,PotentialCrossoverCreate)", "bool(bool,PotentialCrossoverRemove)", "bool(bool,DNAEndsMoveStart)", "bool(bool,DNAEndsMoveStop)", "bool(bool,DNAExtensionsMoveStart)", "bool(bool,DNAExtensionsMoveStop)", "SelectModeState(SelectModeState,SelectModesAdd)", "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,ExportBasePairLinesIfOtherStrandNotSelectedSet)", "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)", "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)", "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,GeometryHelixGroupSet)", "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<@,@>?])", "~(HelixIdxsChangeBuilder)", "_$$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<@,@>)", "~(ExportDNABuilder)", "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,SliceBarMoveStart)"], interceptorsByTag: null, leafTags: null, - arrayRti: Symbol("$ti") + arrayRti: Symbol("$ti"), + rttc: { + "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1), + "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2), + "4;": types => o => o instanceof A._Record_4 && A.pairwiseIsTest(types, o.__js_helper$_values), + "5;": types => o => o instanceof A._Record_5 && A.pairwiseIsTest(types, o.__js_helper$_values), + "8;": types => o => o instanceof A._Record_8 && A.pairwiseIsTest(types, o.__js_helper$_values) + } }; - 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":[]},"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"],"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"],"Context0":[]},"Result":{"Context0":[]},"Success":{"Result":["1"],"Context0":[]},"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":[]},"GeometryHelixGroupSet":{"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":[]},"ExportBasePairLinesIfOtherStrandNotSelectedSet":{"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"]},"_$GeometryHelixGroupSetSerializer":{"StructuredSerializer":["GeometryHelixGroupSet"],"Serializer":["GeometryHelixGroupSet"]},"_$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"]},"_$ExportBasePairLinesIfOtherStrandNotSelectedSetSerializer":{"StructuredSerializer":["ExportBasePairLinesIfOtherStrandNotSelectedSet"],"Serializer":["ExportBasePairLinesIfOtherStrandNotSelectedSet"]},"_$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":[]},"_$GeometryHelixGroupSet":{"GeometryHelixGroupSet":[],"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":[]},"_$ExportBasePairLinesIfOtherStrandNotSelectedSet":{"ExportBasePairLinesIfOtherStrandNotSelectedSet":[],"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"]},"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":[],"XmlHasChildren.T":"XmlNode","XmlHasParent.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"},"XmlPrettyWriter":{"XmlVisitor":[]},"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}')); + 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","_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","KeyframeEffect":"JavaScriptObject","KeyframeEffectReadOnly":"JavaScriptObject","AnimationEffectReadOnly":"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","MathMLElement":"Element","HttpRequestUpload":"HttpRequestEventTarget","HtmlFormControlsCollection":"HtmlCollection","CssCharsetRule":"CssRule","CssMatrixComponent":"CssTransformComponent","CssurlImageValue":"CssStyleValue","CssImageValue":"CssStyleValue","CssResourceValue":"CssStyleValue","CDataSection":"CharacterData","Text":"CharacterData","AudioElement":"MediaElement","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"JavaScriptObject":{"JSObject":[]},"LegacyJavaScriptObject":{"JSObject":[],"JsConnectOptions":[],"JsMap":[],"JsRef":[],"ReactClass":[],"ReactElement":[],"ReactComponent":[],"ReactContext":[],"ReactErrorInfo":[],"SyntheticFormEvent":[],"SyntheticMouseEvent":[],"SyntheticPointerEvent":[],"JSColor":[]},"JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"TrustedGetRuntimeType":[]},"_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":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int","UnmodifiableListMixin.E":"int"},"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":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"Symbol":{"Symbol0":[]},"_Record_2":{"_Record2":[],"_Record":[]},"_Record_3":{"_Record3":[],"_Record":[]},"_Record_4":{"_RecordN":[],"_Record":[]},"_Record_5":{"_RecordN":[],"_Record":[]},"_Record_8":{"_RecordN":[],"_Record":[]},"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"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"_KeysOrValuesOrElementsIterator":{"Iterator":["1"]},"GeneralConstantMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"ConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ConstantStringSet":{"ConstantSet":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetBase.E":"1"},"GeneralConstantSet":{"ConstantSet":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetBase.E":"1"},"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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_Record2":{"_Record":[]},"_Record3":{"_Record":[]},"_RecordN":{"_Record":[]},"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":{"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JSObject":[],"TypedData":[]},"NativeByteData":{"NativeTypedData":[],"ByteData":[],"JSObject":[],"TypedData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"NativeTypedData":[],"JavaScriptIndexingBehavior":["1"],"JSObject":[],"TypedData":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"TypedData":[],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"NativeTypedData":[],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"TypedData":[],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.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"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_Zone":{"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_HashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashSet":{"_SetBase":["1"],"SetBase":["1"],"HashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetBase.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"LinkedHashSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"SetBase.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","UnmodifiableListMixin.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"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"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1","ListIterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"Encoding":{"Codec":["String","List"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.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"]},"_ByteCallbackSink":{"Sink":["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":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"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":[],"JSObject":[]},"Blob":{"JSObject":[]},"CssRule":{"JSObject":[]},"DivElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"Element":{"Node":[],"EventTarget":[],"JSObject":[]},"Event":{"JSObject":[]},"File":{"Blob":[],"JSObject":[]},"FileReader":{"EventTarget":[],"JSObject":[]},"Gamepad":{"JSObject":[]},"HttpRequest":{"EventTarget":[],"JSObject":[]},"KeyboardEvent":{"Event":[],"JSObject":[]},"MimeType":{"JSObject":[]},"MouseEvent":{"Event":[],"JSObject":[]},"Node":{"EventTarget":[],"JSObject":[]},"Plugin":{"JSObject":[]},"ProgressEvent":{"Event":[],"JSObject":[]},"SourceBuffer":{"EventTarget":[],"JSObject":[]},"SpeechGrammar":{"JSObject":[]},"SpeechRecognitionResult":{"JSObject":[]},"StyleSheet":{"JSObject":[]},"TextTrack":{"EventTarget":[],"JSObject":[]},"TextTrackCue":{"EventTarget":[],"JSObject":[]},"Touch":{"JSObject":[]},"TouchEvent":{"Event":[],"JSObject":[]},"_Html5NodeValidator":{"NodeValidator":[]},"HtmlElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"AccessibleNode":{"EventTarget":[],"JSObject":[]},"AccessibleNodeList":{"JSObject":[]},"AnchorElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"ApplicationCacheErrorEvent":{"Event":[],"JSObject":[]},"AreaElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"BaseElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"BluetoothRemoteGattDescriptor":{"JSObject":[]},"BodyElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"ButtonElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"CacheStorage":{"JSObject":[]},"CanvasElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[],"CanvasImageSource":[]},"CanvasRenderingContext2D":{"JSObject":[]},"CharacterData":{"Node":[],"EventTarget":[],"JSObject":[]},"CssKeywordValue":{"JSObject":[]},"CssNumericValue":{"JSObject":[]},"CssPerspective":{"JSObject":[]},"CssStyleDeclaration":{"JSObject":[]},"CssStyleRule":{"CssRule":[],"JSObject":[]},"CssStyleSheet":{"StyleSheet":[],"JSObject":[]},"CssStyleValue":{"JSObject":[]},"CssTransformComponent":{"JSObject":[]},"CssTransformValue":{"JSObject":[]},"CssUnitValue":{"CssNumericValue":[],"JSObject":[]},"CssUnparsedValue":{"JSObject":[]},"DataElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"DataTransfer":{"JSObject":[]},"DataTransferItemList":{"JSObject":[]},"DeprecationReport":{"JSObject":[]},"Document":{"Node":[],"EventTarget":[],"JSObject":[]},"DomError":{"JSObject":[]},"DomException":{"JSObject":[]},"DomImplementation":{"JSObject":[]},"DomPoint":{"JSObject":[]},"DomPointReadOnly":{"JSObject":[]},"DomRectList":{"ListBase":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"EfficientLengthIterable":["Rectangle"],"JSObject":[],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListBase.E":"Rectangle"},"DomRectReadOnly":{"Rectangle":["num"],"JSObject":[]},"DomStringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"EfficientLengthIterable":["String"],"JSObject":[],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"DomTokenList":{"JSObject":[]},"_FrozenElementList":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ErrorEvent":{"Event":[],"JSObject":[]},"EventTarget":{"JSObject":[]},"FileList":{"ListBase":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"EfficientLengthIterable":["File"],"JSObject":[],"Iterable":["File"],"ImmutableListMixin.E":"File","ListBase.E":"File"},"FileWriter":{"EventTarget":[],"JSObject":[]},"FontFace":{"JSObject":[]},"FontFaceSet":{"EventTarget":[],"JSObject":[]},"FormElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"GamepadButton":{"JSObject":[]},"History":{"JSObject":[]},"HtmlCollection":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"JSObject":[],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"HtmlDocument":{"Document":[],"Node":[],"EventTarget":[],"JSObject":[]},"HttpRequestEventTarget":{"EventTarget":[],"JSObject":[]},"IFrameElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"ImageData":{"JSObject":[]},"ImageElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[],"CanvasImageSource":[]},"InputElement":{"FileUploadInputElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"IntersectionObserverEntry":{"JSObject":[]},"InterventionReport":{"JSObject":[]},"LIElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"Location":{"JSObject":[]},"MediaElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"MediaError":{"JSObject":[]},"MediaKeyMessageEvent":{"Event":[],"JSObject":[]},"MediaList":{"JSObject":[]},"MessagePort":{"EventTarget":[],"JSObject":[]},"MeterElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"MidiInputMap":{"MapBase":["String","@"],"JSObject":[],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MidiOutputMap":{"MapBase":["String","@"],"JSObject":[],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MimeTypeArray":{"ListBase":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"EfficientLengthIterable":["MimeType"],"JSObject":[],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListBase.E":"MimeType"},"MutationRecord":{"JSObject":[]},"NavigatorUserMediaError":{"JSObject":[]},"_ChildNodeListLazy":{"ListBase":["Node"],"List":["Node"],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ListBase.E":"Node"},"NodeList":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"JSObject":[],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"OptionElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"OutputElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"OverconstrainedError":{"JSObject":[]},"ParamElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"PaymentInstruments":{"JSObject":[]},"PluginArray":{"ListBase":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"EfficientLengthIterable":["Plugin"],"JSObject":[],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListBase.E":"Plugin"},"PointerEvent":{"MouseEvent":[],"Event":[],"JSObject":[]},"PositionError":{"JSObject":[]},"PreElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"PresentationAvailability":{"EventTarget":[],"JSObject":[]},"PresentationConnectionCloseEvent":{"Event":[],"JSObject":[]},"ProcessingInstruction":{"Node":[],"EventTarget":[],"JSObject":[]},"ProgressElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"ReportBody":{"JSObject":[]},"ResizeObserverEntry":{"JSObject":[]},"RtcStatsReport":{"MapBase":["String","@"],"JSObject":[],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"SelectElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"SharedArrayBuffer":{"JSObject":[]},"SourceBufferList":{"ListBase":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"EventTarget":[],"JavaScriptIndexingBehavior":["SourceBuffer"],"EfficientLengthIterable":["SourceBuffer"],"JSObject":[],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListBase.E":"SourceBuffer"},"SpeechGrammarList":{"ListBase":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"EfficientLengthIterable":["SpeechGrammar"],"JSObject":[],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListBase.E":"SpeechGrammar"},"SpeechRecognitionError":{"Event":[],"JSObject":[]},"Storage":{"MapBase":["String","String"],"JSObject":[],"Map":["String","String"],"MapBase.K":"String","MapBase.V":"String"},"TemplateElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TextAreaElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TextTrackCueList":{"ListBase":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"EfficientLengthIterable":["TextTrackCue"],"JSObject":[],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListBase.E":"TextTrackCue"},"TextTrackList":{"ListBase":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"EventTarget":[],"JavaScriptIndexingBehavior":["TextTrack"],"EfficientLengthIterable":["TextTrack"],"JSObject":[],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListBase.E":"TextTrack"},"TimeRanges":{"JSObject":[]},"TouchList":{"ListBase":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"EfficientLengthIterable":["Touch"],"JSObject":[],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListBase.E":"Touch"},"TrackDefaultList":{"JSObject":[]},"UIEvent":{"Event":[],"JSObject":[]},"Url":{"JSObject":[]},"VREyeParameters":{"JSObject":[]},"VideoElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[],"CanvasImageSource":[]},"VideoTrackList":{"EventTarget":[],"JSObject":[]},"Window":{"WindowBase":[],"EventTarget":[],"JSObject":[]},"WorkerGlobalScope":{"EventTarget":[],"JSObject":[]},"_Attr":{"Node":[],"EventTarget":[],"JSObject":[]},"_CssRuleList":{"ListBase":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"EfficientLengthIterable":["CssRule"],"JSObject":[],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListBase.E":"CssRule"},"_DomRect":{"Rectangle":["num"],"JSObject":[]},"_GamepadList":{"ListBase":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"EfficientLengthIterable":["Gamepad?"],"JSObject":[],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListBase.E":"Gamepad?"},"_NamedNodeMap":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"EfficientLengthIterable":["Node"],"JSObject":[],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"_SpeechRecognitionResultList":{"ListBase":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"EfficientLengthIterable":["SpeechRecognitionResult"],"JSObject":[],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListBase.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListBase":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"EfficientLengthIterable":["StyleSheet"],"JSObject":[],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListBase.E":"StyleSheet"},"_AttributeMap":{"MapBase":["String","String"],"Map":["String","String"]},"_ElementAttributeMap":{"MapBase":["String","String"],"Map":["String","String"],"MapBase.K":"String","MapBase.V":"String"},"_ElementCssClassSet":{"SetBase":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetBase.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":[],"JSObject":[]},"KeyEvent":{"KeyboardEvent":[],"Event":[],"JSObject":[]},"_WrappedEvent":{"Event":[],"JSObject":[]},"_TrustedHtmlTreeSanitizer":{"NodeTreeSanitizer":[]},"_SameOriginUriPolicy":{"UriPolicy":[]},"_ValidatingTreeSanitizer":{"NodeTreeSanitizer":[]},"CssClassSetImpl":{"SetBase":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"]},"FilteredElementList":{"ListBase":["Element"],"List":["Element"],"EfficientLengthIterable":["Element"],"Iterable":["Element"],"ListBase.E":"Element"},"Cursor":{"JSObject":[]},"CursorWithValue":{"JSObject":[]},"KeyRange":{"JSObject":[]},"ObjectStore":{"JSObject":[]},"Observation":{"JSObject":[]},"Request0":{"EventTarget":[],"JSObject":[]},"VersionChangeEvent":{"Event":[],"JSObject":[]},"JsArray":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"NullRejectionException":{"Exception":[]},"Rectangle":{"_RectangleBase":["1"]},"_JSSecureRandom":{"Random":[]},"GraphicsElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"Length":{"JSObject":[]},"Number":{"JSObject":[]},"Point0":{"JSObject":[]},"SvgElement":{"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"SvgSvgElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TextContentElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"Transform":{"JSObject":[]},"AElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"Angle":{"JSObject":[]},"CircleElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"DefsElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"FEGaussianBlurElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"FEMergeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"FEMergeNodeElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"FilterElement":{"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"GElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"GeometryElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"LengthList":{"ListBase":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"EfficientLengthIterable":["Length"],"JSObject":[],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListBase.E":"Length"},"NumberList":{"ListBase":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"EfficientLengthIterable":["Number"],"JSObject":[],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListBase.E":"Number"},"PointList":{"JSObject":[]},"PolygonElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"RectElement":{"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"StringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"EfficientLengthIterable":["String"],"JSObject":[],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"AttributeClassSet":{"SetBase":["String"],"Set":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"SetBase.E":"String"},"TextElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TextPathElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TextPositioningElement":{"TextContentElement":[],"GraphicsElement":[],"SvgElement":[],"Element":[],"Node":[],"EventTarget":[],"JSObject":[]},"TransformList":{"ListBase":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"EfficientLengthIterable":["Transform"],"JSObject":[],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListBase.E":"Transform"},"ByteData":{"TypedData":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"TypedData":[],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"TypedData":[],"Iterable":["double"]},"AudioBuffer":{"JSObject":[]},"AudioNode":{"EventTarget":[],"JSObject":[]},"AudioParam":{"JSObject":[]},"AudioParamMap":{"MapBase":["String","@"],"JSObject":[],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"AudioScheduledSourceNode":{"EventTarget":[],"JSObject":[]},"AudioTrackList":{"EventTarget":[],"JSObject":[]},"BaseAudioContext":{"EventTarget":[],"JSObject":[]},"ConstantSourceNode":{"EventTarget":[],"JSObject":[]},"OfflineAudioContext":{"EventTarget":[],"JSObject":[]},"Archive":{"Iterable":["ArchiveFile"],"Iterable.E":"ArchiveFile"},"ArchiveException":{"FormatException":[],"Exception":[]},"BaseMac":{"Mac":[]},"BaseDigest":{"Digest":[]},"MD4FamilyDigest":{"Digest":[]},"SHA1Digest":{"Digest":[]},"HMac":{"Mac":[]},"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":[]},"StreamedResponseV2":{"StreamedResponse":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String","String","1"],"Map":["String","1"],"CanonicalizedMap.V":"1","CanonicalizedMap.K":"String","CanonicalizedMap.C":"String"},"Level":{"Comparable":["Level"]},"DomProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"DomPropsMixin":[],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SvgProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"DomPropsMixin":[],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ErrorBoundaryProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"ErrorBoundaryState":{"Map":["@","@"]},"ErrorBoundaryComponent":{"Component2":[]},"_$$ErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ErrorBoundaryComponent":{"Component2":[]},"_$$ErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"RecoverableErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"RecoverableErrorBoundaryState":{"Map":["@","@"]},"RecoverableErrorBoundaryComponent":{"Component2":[]},"_$$RecoverableErrorBoundaryProps":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$RecoverableErrorBoundaryComponent":{"Component2":[]},"_$$RecoverableErrorBoundaryProps$PlainMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryProps$JsMap":{"RecoverableErrorBoundaryProps":[],"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$RecoverableErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$RecoverableErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"UiProps":{"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"UiState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"UngeneratedError":{"Error":[]},"UiProps0":{"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMeta":{"ConsumedProps":[]},"UiState0":{"MapViewMixin":["@","@"],"Map":["@","@"]},"PropsMetaCollection":{"_AccessorMetaCollection":["PropDescriptor","PropsMeta"],"PropsMeta":[],"ConsumedProps":[],"_AccessorMetaCollection.U":"PropsMeta"},"UiComponent2BridgeImpl":{"Component2Bridge":[]},"UiComponent2":{"Component2":[]},"UiStatefulComponent2":{"Component2":[]},"ReduxProviderProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"_$$ReduxProviderProps":{"ReduxProviderProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$ReduxProviderProps$JsMap":{"_$$ReduxProviderProps":[],"ReduxProviderProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ReactJsReactReduxComponentFactoryProxy":{"ReactJsContextComponentFactoryProxy":[],"ReactComponentFactoryProxy":[]},"_$$ReduxProviderProps$PlainMap":{"_$$ReduxProviderProps":[],"ReduxProviderProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ProviderProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"ConsumerProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"ParserException":{"FormatException":[],"Exception":[]},"Failure":{"Result":["0&"],"Context0":[]},"Result":{"Context0":[]},"Success":{"Result":["1"],"Context0":[]},"ReferenceParser":{"ResolvableParser":["1"],"Parser":["1"]},"MatchesIterable":{"Iterable":["1"],"Iterable.E":"1"},"MatchesIterator":{"Iterator":["1"]},"FlattenParser":{"DelegateParser":["1","String"],"Parser":["String"],"DelegateParser.T":"1"},"MapParser":{"DelegateParser":["1","2"],"Parser":["2"],"DelegateParser.T":"1"},"TokenParser":{"DelegateParser":["1","Token<1>"],"Parser":["Token<1>"],"DelegateParser.T":"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":["+(1,2)"]},"SequenceParser3":{"Parser":["+(1,2,3)"]},"SequenceParser4":{"Parser":["+(1,2,3,4)"]},"SequenceParser5":{"Parser":["+(1,2,3,4,5)"]},"SequenceParser8":{"Parser":["+(1,2,3,4,5,6,7,8)"]},"ListParser":{"Parser":["2"]},"OptionalParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.T":"1"},"SkipParser":{"DelegateParser":["1","1"],"Parser":["1"],"DelegateParser.T":"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.T":"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.T":"1"},"RepeatingParser":{"DelegateParser":["1","2"],"Parser":["2"]},"_Chrome":{"Browser":[]},"EdgeChrome":{"Browser":[]},"_Firefox":{"Browser":[]},"_Safari":{"Browser":[]},"_WKWebView":{"Browser":[]},"_InternetExplorer":{"Browser":[]},"_HtmlNavigator":{"NavigatorProvider":[]},"Version0":{"VersionRange":[],"Comparable":["VersionRange"]},"Component2BridgeImpl":{"Component2Bridge":[]},"ReactDartComponentFactoryProxy2":{"ReactComponentFactoryProxy":[]},"ReactJsContextComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactJsComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"ReactDomComponentFactoryProxy":{"ReactComponentFactoryProxy":[]},"JsBackedMap":{"MapBase":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@"},"_DummyComponent2":{"Component2":[]},"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":[]},"GeometryHelixGroupSet":{"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":[]},"ExportBasePairLinesIfOtherStrandNotSelectedSet":{"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"]},"_$GeometryHelixGroupSetSerializer":{"StructuredSerializer":["GeometryHelixGroupSet"],"Serializer":["GeometryHelixGroupSet"]},"_$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"]},"_$ExportBasePairLinesIfOtherStrandNotSelectedSetSerializer":{"StructuredSerializer":["ExportBasePairLinesIfOtherStrandNotSelectedSet"],"Serializer":["ExportBasePairLinesIfOtherStrandNotSelectedSet"]},"_$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":[]},"_$GeometryHelixGroupSet":{"GeometryHelixGroupSet":[],"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":[]},"_$ExportBasePairLinesIfOtherStrandNotSelectedSet":{"ExportBasePairLinesIfOtherStrandNotSelectedSet":[],"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"]},"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":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"End3PrimeComponent":{"Component2":[]},"_$$End3PrimeProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End3PrimeComponent":{"Component2":[]},"_$$End3PrimeProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End3PrimeProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"End5PrimeProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"End5PrimeComponent":{"Component2":[]},"_$$End5PrimeProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$End5PrimeComponent":{"Component2":[]},"_$$End5PrimeProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$End5PrimeProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"AxisArrowsMainProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainArrowsComponent":{"Component2":[]},"_$$AxisArrowsMainProps":{"AxisArrowsMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainArrowsComponent":{"Component2":[]},"_$$AxisArrowsMainProps$PlainMap":{"AxisArrowsMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$AxisArrowsMainProps$JsMap":{"AxisArrowsMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"AxisArrowsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"AxisArrowsSideProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"AxisArrowsComponent":{"Component2":[]},"_$$AxisArrowsSideProps":{"AxisArrowsSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$AxisArrowsComponent":{"Component2":[]},"_$$AxisArrowsSideProps$PlainMap":{"AxisArrowsSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$AxisArrowsSideProps$JsMap":{"AxisArrowsSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignContextMenuProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignContextMenuState":{"Map":["@","@"]},"DesignContextMenuComponent":{"Component2":[]},"DesignContextSubmenuProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignContextSubmenuState":{"Map":["@","@"]},"DesignContextSubmenuComponent":{"Component2":[]},"_$$DesignContextMenuProps":{"DesignContextMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextMenuComponent":{"Component2":[]},"_$$DesignContextSubmenuProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignContextSubmenuComponent":{"Component2":[]},"_$$DesignContextMenuProps$PlainMap":{"DesignContextMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuProps$JsMap":{"DesignContextMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextMenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextMenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignContextSubmenuState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignContextSubmenuState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignDialogFormProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignDialogFormState":{"Map":["@","@"]},"DesignDialogFormComponent":{"Component2":[]},"_$$DesignDialogFormProps":{"DesignDialogFormProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignDialogFormComponent":{"Component2":[]},"_$$DesignDialogFormProps$PlainMap":{"DesignDialogFormProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormProps$JsMap":{"DesignDialogFormProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignDialogFormState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignDialogFormState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignFooterProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignFooterComponent":{"Component2":[]},"_$$DesignFooterProps":{"DesignFooterProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignFooterComponent":{"Component2":[]},"_$$DesignFooterProps$PlainMap":{"DesignFooterProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignFooterProps$JsMap":{"DesignFooterProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignLoadingDialogProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignLoadingDialogComponent":{"Component2":[]},"_$$DesignLoadingDialogProps":{"DesignLoadingDialogProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignLoadingDialogComponent":{"Component2":[]},"_$$DesignLoadingDialogProps$PlainMap":{"DesignLoadingDialogProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignLoadingDialogProps$JsMap":{"DesignLoadingDialogProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainComponent":{"Component2":[]},"_$$DesignMainProps":{"DesignMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainComponent":{"Component2":[]},"_$$DesignMainProps$PlainMap":{"DesignMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainProps$JsMap":{"DesignMainProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairLinesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainBasePairLinesComponent":{"Component2":[]},"_$$DesignMainBasePairLinesProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairLinesComponent":{"Component2":[]},"_$$DesignMainBasePairLinesProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairLinesProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainBasePairRectangleProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainBasePairRectangleComponent":{"Component2":[]},"_$$DesignMainBasePairRectangleProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainBasePairRectangleComponent":{"Component2":[]},"_$$DesignMainBasePairRectangleProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainBasePairRectangleProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAMismatchesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainDNAMismatchesComponent":{"Component2":[]},"_$$DesignMainDNAMismatchesProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAMismatchesComponent":{"Component2":[]},"_$$DesignMainDNAMismatchesProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAMismatchesProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequenceProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainDNASequenceComponent":{"Component2":[]},"_$$DesignMainDNASequenceProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainDNASequenceComponent":{"Component2":[]},"_$$DesignMainDNASequenceProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequenceProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNASequencesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainDNASequencesComponent":{"Component2":[]},"_$$DesignMainDNASequencesProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNASequencesComponent":{"Component2":[]},"_$$DesignMainDNASequencesProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNASequencesProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainDomainMovingComponent":{"Component2":[]},"_$$DesignMainDomainMovingProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainDomainMovingComponent":{"Component2":[]},"_$$DesignMainDomainMovingProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainMovingProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainNameMismatchesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainDomainNameMismatchesComponent":{"Component2":[]},"_$$DesignMainDomainNameMismatchesProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainNameMismatchesComponent":{"Component2":[]},"_$$DesignMainDomainNameMismatchesProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainNameMismatchesProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainsMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainDomainsMovingComponent":{"Component2":[]},"_$$DesignMainDomainsMovingProps":{"DesignMainDomainsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainsMovingComponent":{"Component2":[]},"_$$DesignMainDomainsMovingProps$PlainMap":{"DesignMainDomainsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainsMovingProps$JsMap":{"DesignMainDomainsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"DesignMainErrorBoundaryState":{"Map":["@","@"]},"DesignMainErrorBoundaryComponent":{"Component2":[]},"_$$DesignMainErrorBoundaryProps":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainErrorBoundaryComponent":{"Component2":[]},"_$$DesignMainErrorBoundaryProps$PlainMap":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryProps$JsMap":{"ErrorBoundaryProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainErrorBoundaryState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainErrorBoundaryState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelicesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainHelicesComponent":{"Component2":[]},"_$$DesignMainHelicesProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelicesComponent":{"Component2":[]},"_$$DesignMainHelicesProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelicesProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainHelixProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainHelixComponent":{"Component2":[]},"_$$DesignMainHelixProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainHelixComponent":{"Component2":[]},"_$$DesignMainHelixProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainHelixProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthComponent":{"Component2":[]},"_$$DesignMainLoopoutExtensionLengthProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthComponent":{"Component2":[]},"_$$DesignMainLoopoutExtensionLengthProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutExtensionLengthsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainLoopoutExtensionLengthsComponent":{"Component2":[]},"_$$DesignMainLoopoutExtensionLengthsProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainLoopoutExtensionLengthsComponent":{"Component2":[]},"_$$DesignMainLoopoutExtensionLengthsProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutExtensionLengthsProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoverProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainPotentialVerticalCrossoverComponent":{"Component2":[]},"_$$DesignMainPotentialVerticalCrossoverProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainPotentialVerticalCrossoverComponent":{"Component2":[]},"_$$DesignMainPotentialVerticalCrossoverProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoverProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainPotentialVerticalCrossoversProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainPotentialVerticalCrossoversComponent":{"Component2":[]},"_$$DesignMainPotentialVerticalCrossoversProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainPotentialVerticalCrossoversComponent":{"Component2":[]},"_$$DesignMainPotentialVerticalCrossoversProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainPotentialVerticalCrossoversProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainSliceBarProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainSliceBarComponent":{"Component2":[]},"_$$DesignMainSliceBarProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainSliceBarComponent":{"Component2":[]},"_$$DesignMainSliceBarProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainSliceBarProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandComponent":{"Component2":[]},"_$$DesignMainStrandProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandComponent":{"Component2":[]},"_$$DesignMainStrandProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandAndDomainTextsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandAndDomainTextsComponent":{"Component2":[]},"_$$DesignMainStrandAndDomainTextsProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandAndDomainTextsComponent":{"Component2":[]},"_$$DesignMainStrandAndDomainTextsProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandAndDomainTextsProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCreatingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandCreatingComponent":{"Component2":[]},"_$$DesignMainStrandCreatingProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandCreatingComponent":{"Component2":[]},"_$$DesignMainStrandCreatingProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCreatingProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandCrossoverProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandCrossoverState":{"Map":["@","@"]},"DesignMainStrandCrossoverComponent":{"Component2":[]},"_$$DesignMainStrandCrossoverProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandCrossoverComponent":{"Component2":[]},"_$$DesignMainStrandCrossoverProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandCrossoverState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainStrandCrossoverState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDeletionProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"DesignMainStrandDeletionComponent":{"Component2":[]},"_$$DesignMainStrandDeletionProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDeletionComponent":{"Component2":[]},"_$$DesignMainStrandDeletionProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDeletionProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDNAEndProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"DesignMainDNAEndComponent":{"Component2":[]},"_$$DesignMainDNAEndProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDNAEndComponent":{"Component2":[]},"_$$DesignMainDNAEndProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDNAEndProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EndMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"EndMovingComponent":{"Component2":[]},"_$$EndMovingProps":{"EndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EndMovingComponent":{"Component2":[]},"_$$EndMovingProps$PlainMap":{"EndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EndMovingProps$JsMap":{"EndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"ExtensionEndMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"ExtensionEndMovingComponent":{"Component2":[]},"_$$ExtensionEndMovingProps":{"ExtensionEndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$ExtensionEndMovingComponent":{"Component2":[]},"_$$ExtensionEndMovingProps$PlainMap":{"ExtensionEndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$ExtensionEndMovingProps$JsMap":{"ExtensionEndMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainDomainProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainDomainComponent":{"Component2":[]},"_$$DesignMainDomainProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainDomainComponent":{"Component2":[]},"_$$DesignMainDomainProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainDomainProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandDomainTextProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandDomainTextComponent":{"Component2":[]},"_$$DesignMainStrandDomainTextProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandDomainTextComponent":{"Component2":[]},"_$$DesignMainStrandDomainTextProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandDomainTextProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainExtensionProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainExtensionComponent":{"Component2":[]},"_$$DesignMainExtensionProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainExtensionComponent":{"Component2":[]},"_$$DesignMainExtensionProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainExtensionProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandExtensionTextProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandExtensionTextComponent":{"Component2":[]},"_$$DesignMainStrandExtensionTextProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandExtensionTextComponent":{"Component2":[]},"_$$DesignMainStrandExtensionTextProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandExtensionTextProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandInsertionProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandInsertionComponent":{"Component2":[]},"_$$DesignMainStrandInsertionProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandInsertionComponent":{"Component2":[]},"_$$DesignMainStrandInsertionProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandInsertionProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainLoopoutProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainLoopoutState":{"Map":["@","@"]},"DesignMainLoopoutComponent":{"Component2":[]},"_$$DesignMainLoopoutProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainLoopoutComponent":{"Component2":[]},"_$$DesignMainLoopoutProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainLoopoutState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$DesignMainLoopoutState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandLoopoutTextProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandLoopoutTextComponent":{"Component2":[]},"_$$DesignMainStrandLoopoutTextProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandLoopoutTextComponent":{"Component2":[]},"_$$DesignMainStrandLoopoutTextProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandLoopoutTextProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandModificationComponent":{"Component2":[]},"_$$DesignMainStrandModificationProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandModificationComponent":{"Component2":[]},"_$$DesignMainStrandModificationProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandModificationsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandModificationsComponent":{"Component2":[]},"_$$DesignMainStrandModificationsProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandModificationsComponent":{"Component2":[]},"_$$DesignMainStrandModificationsProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandModificationsProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandMovingComponent":{"Component2":[]},"_$$DesignMainStrandMovingProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandMovingComponent":{"Component2":[]},"_$$DesignMainStrandMovingProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandMovingProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandPathsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"DesignMainStrandPathsComponent":{"Component2":[]},"_$$DesignMainStrandPathsProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[]},"_$DesignMainStrandPathsComponent":{"Component2":[]},"_$$DesignMainStrandPathsProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandPathsProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"TransformByHelixGroupPropsMixin":[],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandsComponent":{"Component2":[]},"_$$DesignMainStrandsProps":{"DesignMainStrandsProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsComponent":{"Component2":[]},"_$$DesignMainStrandsProps$PlainMap":{"DesignMainStrandsProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsProps$JsMap":{"DesignMainStrandsProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainStrandsMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainStrandsMovingComponent":{"Component2":[]},"_$$DesignMainStrandsMovingProps":{"DesignMainStrandsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainStrandsMovingComponent":{"Component2":[]},"_$$DesignMainStrandsMovingProps$PlainMap":{"DesignMainStrandsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainStrandsMovingProps$JsMap":{"DesignMainStrandsMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainUnpairedInsertionDeletionsProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainUnpairedInsertionDeletionsComponent":{"Component2":[]},"_$$DesignMainUnpairedInsertionDeletionsProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainUnpairedInsertionDeletionsComponent":{"Component2":[]},"_$$DesignMainUnpairedInsertionDeletionsProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainUnpairedInsertionDeletionsProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignMainWarningStarProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignMainWarningStarComponent":{"Component2":[]},"_$$DesignMainWarningStarProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignMainWarningStarComponent":{"Component2":[]},"_$$DesignMainWarningStarProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignMainWarningStarProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignSideComponent":{"Component2":[]},"_$$DesignSideProps":{"DesignSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideComponent":{"Component2":[]},"_$$DesignSideProps$PlainMap":{"DesignSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideProps$JsMap":{"DesignSideProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideHelixProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignSideHelixComponent":{"Component2":[]},"_$$DesignSideHelixProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideHelixComponent":{"Component2":[]},"_$$DesignSideHelixProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideHelixProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSidePotentialHelixProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignSidePotentialHelixComponent":{"Component2":[]},"_$$DesignSidePotentialHelixProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSidePotentialHelixComponent":{"Component2":[]},"_$$DesignSidePotentialHelixProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSidePotentialHelixProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignSideRotationComponent":{"Component2":[]},"_$$DesignSideRotationProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationComponent":{"Component2":[]},"_$$DesignSideRotationProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"DesignSideRotationArrowProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"DesignSideRotationArrowComponent":{"Component2":[]},"_$$DesignSideRotationArrowProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$DesignSideRotationArrowComponent":{"Component2":[]},"_$$DesignSideRotationArrowProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$DesignSideRotationArrowProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditAndSelectModesProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"EditAndSelectModesComponent":{"Component2":[]},"_$$EditAndSelectModesProps":{"EditAndSelectModesProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditAndSelectModesComponent":{"Component2":[]},"_$$EditAndSelectModesProps$PlainMap":{"EditAndSelectModesProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditAndSelectModesProps$JsMap":{"EditAndSelectModesProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"EditModeProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"EditModeComponent":{"Component2":[]},"_$$EditModeProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$EditModeComponent":{"Component2":[]},"_$$EditModeProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$EditModeProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"HelixGroupMovingProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"HelixGroupMovingComponent":{"Component2":[]},"_$$HelixGroupMovingProps":{"HelixGroupMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$HelixGroupMovingComponent":{"Component2":[]},"_$$HelixGroupMovingProps$PlainMap":{"HelixGroupMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$HelixGroupMovingProps$JsMap":{"HelixGroupMovingProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"MenuComponent":{"Component2":[]},"_$$MenuProps":{"MenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuComponent":{"Component2":[]},"_$$MenuProps$PlainMap":{"MenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuProps$JsMap":{"MenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuBooleanProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"MenuBooleanComponent":{"Component2":[]},"_$$MenuBooleanProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuBooleanComponent":{"Component2":[]},"_$$MenuBooleanProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuBooleanProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownItemProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"MenuDropdownItemComponent":{"Component2":[]},"_$$MenuDropdownItemProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownItemComponent":{"Component2":[]},"_$$MenuDropdownItemProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownItemProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuDropdownRightProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"MenuDropdownRightState":{"Map":["@","@"]},"MenuDropdownRightComponent":{"Component2":[]},"_$$MenuDropdownRightProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuDropdownRightComponent":{"Component2":[]},"_$$MenuDropdownRightProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuDropdownRightState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$MenuDropdownRightState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuFormFileProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"MenuFormFileComponent":{"Component2":[]},"_$$MenuFormFileProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuFormFileComponent":{"Component2":[]},"_$$MenuFormFileProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuFormFileProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"MenuNumberProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"MenuNumberComponent":{"Component2":[]},"_$$MenuNumberProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$MenuNumberComponent":{"Component2":[]},"_$$MenuNumberProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$MenuNumberProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SideMenuProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"SideMenuComponent":{"Component2":[]},"_$$SideMenuProps":{"SideMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SideMenuComponent":{"Component2":[]},"_$$SideMenuProps$PlainMap":{"SideMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SideMenuProps$JsMap":{"SideMenuProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialCrossoverViewProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"PotentialCrossoverViewComponent":{"Component2":[]},"_$$PotentialCrossoverViewProps":{"PotentialCrossoverViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialCrossoverViewComponent":{"Component2":[]},"_$$PotentialCrossoverViewProps$PlainMap":{"PotentialCrossoverViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialCrossoverViewProps$JsMap":{"PotentialCrossoverViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"PotentialExtensionsViewProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"PotentialExtensionsViewComponent":{"Component2":[]},"_$$PotentialExtensionsViewProps":{"PotentialExtensionsViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$PotentialExtensionsViewComponent":{"Component2":[]},"_$$PotentialExtensionsViewProps$PlainMap":{"PotentialExtensionsViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$PotentialExtensionsViewProps$JsMap":{"PotentialExtensionsViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectModePropsMixin":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"SelectModeProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"Map":["@","@"]},"SelectModeComponent":{"Component2":[]},"_$$SelectModeProps":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectModeComponent":{"Component2":[]},"_$$SelectModeProps$PlainMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectModeProps$JsMap":{"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionBoxViewProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"SelectionBoxViewComponent":{"Component2":[]},"_$$SelectionBoxViewProps":{"SelectionBoxViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionBoxViewComponent":{"Component2":[]},"_$$SelectionBoxViewProps$PlainMap":{"SelectionBoxViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionBoxViewProps$JsMap":{"SelectionBoxViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"SelectionRopeViewProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"SelectionRopeViewComponent":{"Component2":[]},"_$$SelectionRopeViewProps":{"SelectionRopeViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$SelectionRopeViewComponent":{"Component2":[]},"_$$SelectionRopeViewProps$PlainMap":{"SelectionRopeViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$SelectionRopeViewProps$JsMap":{"SelectionRopeViewProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"StrandOrSubstrandColorPickerProps":{"UiProps":[],"UiProps0":[],"Map":["@","@"]},"StrandOrSubstrandColorPickerState":{"Map":["@","@"]},"StrandOrSubstrandColorPickerComponent":{"Component2":[]},"_$$StrandOrSubstrandColorPickerProps":{"StrandOrSubstrandColorPickerProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"]},"_$StrandOrSubstrandColorPickerComponent":{"Component2":[]},"_$$StrandOrSubstrandColorPickerProps$PlainMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerProps$JsMap":{"StrandOrSubstrandColorPickerProps":[],"UiProps":[],"UiProps0":[],"MapBase":["@","@"],"MapViewMixin":["@","@"],"Map":["@","@"],"MapBase.K":"@","MapBase.V":"@","MapViewMixin.K":"@","MapViewMixin.V":"@"},"_$$StrandOrSubstrandColorPickerState":{"MapViewMixin":["@","@"],"Map":["@","@"]},"_$$StrandOrSubstrandColorPickerState$JsMap":{"MapViewMixin":["@","@"],"Map":["@","@"],"MapViewMixin.K":"@","MapViewMixin.V":"@"},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_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":[]},"_EventStream0":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription0":{"StreamSubscription":["1"]},"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":[],"XmlHasChildren.T":"XmlNode","XmlHasParent.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"},"XmlPrettyWriter":{"XmlVisitor":[]},"XmlWriter":{"XmlVisitor":[]},"XmlEventEncoder":{"Converter":["List","String"]},"_XmlEventEncoderSink":{"XmlEventVisitor":[],"Sink":["List"]},"_XmlNodeDecoderSink":{"XmlEventVisitor":[],"Sink":["List"]},"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,"_DelayedEvent":1,"Comparable":1,"_JsArray_JsObject_ListMixin":1,"ErrorBoundaryApi":2,"RecoverableErrorBoundaryComponent":2,"_RecoverableErrorBoundaryComponent_UiStatefulComponent2_ErrorBoundaryApi":2,"UiComponent2":1,"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: ", @@ -157421,7 +156211,6 @@ ErrorB_: "ErrorBoundary.unrecoverableErrorInnerHtmlContainerNode", ErrorBPi: "ErrorBoundaryProps.identicalErrorFrequencyTolerance", ErrorBPo: "ErrorBoundaryProps.onComponentIsUnrecoverable", - Expand: "Expandos are not allowed on strings, numbers, booleans or null", Export: "ExportBasePairLinesIfOtherStrandNotSelectedSet", 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", @@ -157442,6 +156231,7 @@ The_nu: 'The number of lines in the "connector" displayed to separate the modification "display text" \nfrom the strand.', This_i_: 'This is the "vendor code" of the modification, for instance /5Biosg/ for 5\' biotin when ordering\nfrom the vendor IDT DNA.', This_it: "This is the text displayed in the scadnano web interface to depict the modification.", + Time_i: "Time including microseconds is outside valid range", 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", @@ -157566,6 +156356,7 @@ ByteBuffer: findType("ByteBuffer"), CanvasElement: findType("CanvasElement"), CanvasRenderingContext2D: findType("CanvasRenderingContext2D"), + CaseInsensitiveMap_String: findType("CaseInsensitiveMap"), CharacterPredicate: findType("CharacterPredicate"), CircleElement: findType("CircleElement"), ClearHelixSelectionWhenLoadingNewDesignSet: findType("ClearHelixSelectionWhenLoadingNewDesignSet"), @@ -157573,7 +156364,6 @@ Color: findType("Color"), Comparable_dynamic: findType("Comparable<@>"), Completer_int: findType("Completer"), - Component: findType("Component"), Component2: findType("Component2"), Component2_Function: findType("Component2()"), ComponentStatics2: findType("ComponentStatics2"), @@ -157671,6 +156461,7 @@ Element: findType("Element"), EndMovingProps: findType("EndMovingProps"), EpsilonParser_String: findType("EpsilonParser"), + EpsilonParser_void: findType("EpsilonParser<~>"), Error: findType("Error"), ErrorMessageSet: findType("ErrorMessageSet"), Event: findType("Event"), @@ -157695,13 +156486,11 @@ FEGaussianBlurElement: findType("FEGaussianBlurElement"), FEMergeElement: findType("FEMergeElement"), FEMergeNodeElement: findType("FEMergeNodeElement"), - Failure_String: findType("Failure"), - Failure_XmlEvent: findType("Failure"), + Failure: 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"), @@ -157709,7 +156498,7 @@ FixedList_Substrand: findType("FixedList"), FlattenParser_List_String: findType("FlattenParser>"), FlattenParser_List_dynamic: findType("FlattenParser>"), - FlattenParser_Sequence2_of_String_and_List_String: findType("FlattenParser>>"), + FlattenParser_Record_2_String_and_List_String: findType("FlattenParser<+(String,List)>"), FontFace: findType("FontFace"), FormatException: findType("FormatException"), FullType: findType("FullType"), @@ -157718,10 +156507,9 @@ FutureOr_ByteBuffer: findType("ByteBuffer/"), Future_List_int: findType("Future>"), Future_dynamic: findType("Future<@>"), - Future_void: findType("Future<~>"), GElement: findType("GElement"), GeneralConstantMap_Type_PropsMeta: findType("GeneralConstantMap"), - GeneralConstantMap_XmlNodeType_Null: findType("GeneralConstantMap"), + GeneralConstantSet_XmlNodeType: findType("GeneralConstantSet"), Geometry: findType("Geometry"), GeometryHelixGroupSet: findType("GeometryHelixGroupSet"), GeometrySet: findType("GeometrySet"), @@ -157785,6 +156573,7 @@ InsertionRemove: findType("InsertionRemove"), InsertionsLengthChange: findType("InsertionsLengthChange"), Instantiation1_int: findType("Instantiation1"), + Int32: findType("Int32"), Int32List: findType("Int32List"), Int64: findType("Int64"), InvertYSet: findType("InvertYSet"), @@ -157794,6 +156583,7 @@ Iterable_Domain: findType("Iterable"), Iterable_Element: findType("Iterable"), Iterable_Node: findType("Iterable"), + Iterable_RangeCharPredicate: findType("Iterable"), Iterable_SelectModeChoice: findType("Iterable"), Iterable_Selectable: findType("Iterable"), Iterable_Strand: findType("Iterable"), @@ -157852,7 +156642,7 @@ JSArray_OxdnaStrand: findType("JSArray"), JSArray_Parser_DtdExternalId: findType("JSArray>"), JSArray_Parser_Object: findType("JSArray>"), - JSArray_Parser_Sequence2_String_XmlAttributeType: findType("JSArray>>"), + JSArray_Parser_Record_2_String_and_XmlAttributeType: findType("JSArray>"), JSArray_Parser_String: findType("JSArray>"), JSArray_Parser_XmlEvent: findType("JSArray>"), JSArray_Parser_dynamic: findType("JSArray>"), @@ -157912,7 +156702,6 @@ 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"), @@ -158001,6 +156790,7 @@ List_Insertion: findType("List"), List_Int32List: findType("List"), List_Linker: findType("List"), + List_List_int: findType("List>"), List_Loopout: findType("List"), List_Map_String_dynamic: findType("List>"), List_MouseoverData: findType("List"), @@ -158057,6 +156847,7 @@ MapBuilder_int_int: findType("MapBuilder"), MapBuilder_of_DialogType_and_BuiltList_DialogItem: findType("MapBuilder>"), MapEntry_String_HelixGroup: findType("MapEntry"), + MapEntry_String_String: findType("MapEntry"), MapEntry_String_int: findType("MapEntry"), MapEntry_int_double: findType("MapEntry"), MapEntry_int_num: findType("MapEntry"), @@ -158127,7 +156918,7 @@ Object_Function_String: findType("Object(String)"), OperatingSystem: findType("OperatingSystem"), OptionElement: findType("OptionElement"), - OptionalParser_Sequence2_String_XmlAttributeType: findType("OptionalParser>"), + OptionalParser_Record_2_String_and_XmlAttributeType: findType("OptionalParser<+(String,XmlAttributeType)>"), OptionalParser_String: findType("OptionalParser"), OptionalParser_nullable_DtdExternalId: findType("OptionalParser"), OptionalParser_nullable_String: findType("OptionalParser"), @@ -158163,13 +156954,15 @@ ReactElement: findType("ReactElement"), ReactErrorInfo: findType("ReactErrorInfo"), Record: findType("Record"), + Record_0: findType("+()"), + Record_2_String_and_XmlAttributeType: findType("+(String,XmlAttributeType)"), RectElement: findType("RectElement"), Rectangle_num: findType("Rectangle"), Redo: findType("Redo"), Ref_nullable_DivElement: findType("Ref"), ReferenceParser_DtdExternalId: findType("ReferenceParser"), ReferenceParser_List_XmlEventAttribute: findType("ReferenceParser>"), - ReferenceParser_Sequence2_String_XmlAttributeType: findType("ReferenceParser>"), + ReferenceParser_Record_2_String_and_XmlAttributeType: findType("ReferenceParser<+(String,XmlAttributeType)>"), ReferenceParser_String: findType("ReferenceParser"), ReferenceParser_XmlCDATAEvent: findType("ReferenceParser"), ReferenceParser_XmlCommentEvent: findType("ReferenceParser"), @@ -158185,6 +156978,7 @@ ReferenceParser_void: findType("ReferenceParser<~>"), RegExp: findType("RegExp"), RegExpMatch: findType("RegExpMatch"), + Register64: findType("Register64"), RelaxHelixRolls: findType("RelaxHelixRolls"), RemoveDNA: findType("RemoveDNA"), ReplaceStrands: findType("ReplaceStrands"), @@ -158236,7 +157030,6 @@ 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<@>"), @@ -158369,6 +157162,7 @@ Touch: findType("Touch"), TouchEvent: findType("TouchEvent"), Transform: findType("Transform"), + TrustedGetRuntimeType: findType("TrustedGetRuntimeType"), Tuple2_Address_Address: findType("Tuple2"), Tuple2_Address_Crossover: findType("Tuple2"), Tuple2_DNAEnd_DNAEnd: findType("Tuple2"), @@ -158469,7 +157263,6 @@ 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"), @@ -158525,7 +157318,7 @@ _ElementEventStreamImpl_TouchEvent: findType("_ElementEventStreamImpl"), _EventManager: findType("_EventManager"), _EventStream_Event: findType("_EventStream"), - _EventStream_ProgressEvent: findType("_EventStream"), + _EventStream_JSObject: findType("_EventStream0"), _FixedListIterator_Map_int_ModificationInternal: findType("_FixedListIterator>"), _FrozenElementList_Element: findType("_FrozenElementList"), _FrozenElementList_GraphicsElement: findType("_FrozenElementList"), @@ -158542,9 +157335,7 @@ _Html5NodeValidator: findType("_Html5NodeValidator"), _Line: findType("_Line"), _MapEntry: findType("_MapEntry"), - _StaticTree: findType("_StaticTree"), _StreamControllerAddStreamState_nullable_Object: findType("_StreamControllerAddStreamState"), - _UnmodifiableSet_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)"), @@ -158688,7 +157479,6 @@ 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?"), @@ -158734,16 +157524,13 @@ 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<@,@>)?"), @@ -158755,8 +157542,6 @@ 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)?"), @@ -158768,16 +157553,12 @@ 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_BeforeUnloadEvent: findType("~(BeforeUnloadEvent)?"), - 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)?"), @@ -158792,7 +157573,6 @@ 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)?"), @@ -158804,7 +157584,6 @@ 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)?"), @@ -158819,29 +157598,21 @@ 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_KeyboardEvent: findType("~(KeyboardEvent)?"), nullable_void_Function_LineBuilder: findType("~(LineBuilder)?"), nullable_void_Function_LoadDNAFileBuilder: findType("~(LoadDNAFileBuilder)?"), @@ -158863,9 +157634,7 @@ nullable_void_Function_MouseEvent: findType("~(MouseEvent)?"), 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)?"), @@ -158873,12 +157642,10 @@ 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_ProgressEvent: findType("~(ProgressEvent)?"), 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)?"), @@ -158910,15 +157677,11 @@ 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)?"), @@ -159023,7 +157786,6 @@ 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; @@ -159047,10 +157809,8 @@ 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.CONSTANT1 = new A.Instantiation1(A.math__max$closure(), type$.Instantiation1_int); - B.CONSTANT2 = new A.Instantiation1(A.math__min$closure(), type$.Instantiation1_int); - B.CONSTANT = new A.Instantiation1(A.failure_joiner__selectFarthest$closure(), A.findType("Instantiation1")); - B.CONSTANT0 = new A.Instantiation1(A.failure_joiner__selectFirst$closure(), A.findType("Instantiation1")); + B.CONSTANT = new A.Instantiation1(A.math__max$closure(), type$.Instantiation1_int); + B.CONSTANT0 = new A.Instantiation1(A.math__min$closure(), type$.Instantiation1_int); B.C_AsciiCodec = new A.AsciiCodec(); B.C_Base64Encoder = new A.Base64Encoder(); B.C_Base64Codec = new A.Base64Codec(); @@ -159081,7 +157841,7 @@ } } function getUnknownTagGenericBrowser(object, tag) { - if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + if (object instanceof HTMLElement) return "HTMLElement"; return getUnknownTag(object, tag); } function prototypeForTag(tag) { @@ -159092,7 +157852,7 @@ return constructor.prototype; } function discriminator(tag) { return null; } - var isBrowser = typeof navigator == "object"; + var isBrowser = typeof HTMLElement == "function"; return { getTag: getTag, getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, @@ -159102,9 +157862,10 @@ 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) { + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; + if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks; + if (userAgent.indexOf("Chrome") >= 0) { function confirm(p) { return typeof window == "object" && window[p] && window[p].name == p; } @@ -159116,27 +157877,11 @@ 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 (typeof navigator != "object") return hooks; + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; if (userAgent.indexOf("Firefox") == -1) return hooks; var getTag = hooks.getTag; var quickMap = { @@ -159153,7 +157898,9 @@ hooks.getTag = getTagFirefox; }; B.C_JS_CONST4 = function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; + if (typeof navigator != "object") return hooks; + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; if (userAgent.indexOf("Trident/") == -1) return hooks; var getTag = hooks.getTag; var quickMap = { @@ -159180,6 +157927,24 @@ } hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; +}; + 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_CONST3 = function(hooks) { return hooks; } ; @@ -159193,8 +157958,8 @@ 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_String); - B.Map_2EUwe = new A.ConstantStringMap(5, {amp: "&", apos: "'", gt: ">", lt: "<", quot: '"'}, B.List_2EQ, type$.ConstantStringMap_String_String); + B.Object_eAe = {amp: 0, apos: 1, gt: 2, lt: 3, quot: 4}; + B.Map_4YusT = new A.ConstantStringMap(B.Object_eAe, ["&", "'", ">", "<", '"'], type$.ConstantStringMap_String_String); B.C_XmlDefaultEntityMapping = new A.XmlDefaultEntityMapping(); B.C__DelayedDone = new A._DelayedDone(); B.C__Required = new A._Required(); @@ -159211,9 +157976,8 @@ B.DNASequencePredefined_M13p8634 = new A.DNASequencePredefined("M13p8634"); B.DNASequencePredefined_Tilibit_CS3_L = new A.DNASequencePredefined("Tilibit_CS3_L"); B.DNASequencePredefined_Tilibit_CS4 = new A.DNASequencePredefined("Tilibit_CS4"); - B.DialogType_0 = new A.DialogType("adjust_geometric_parameters_design"); - 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_2iH = new A.DialogType("select_all_with_same_as_selected"); + B.DialogType_MG5 = 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"); @@ -159226,7 +157990,6 @@ 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_ku2 = new A.DialogType("adjust_geometric_parameters_group"); 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"); @@ -159247,6 +158010,8 @@ 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.DialogType_uti = new A.DialogType("adjust_geometric_parameters_group"); + B.DialogType_vhs = new A.DialogType("adjust_geometric_parameters_design"); B.DisposableState_0 = new A.DisposableState("initialized"); B.DisposableState_1 = new A.DisposableState("awaitingDisposal"); B.DisposableState_2 = new A.DisposableState("disposing"); @@ -159271,234 +158036,234 @@ 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.Type_BuiltList_27p = A.typeLiteral("BuiltList<@>"); + B.Type_SelectModeChoice_N4X = A.typeLiteral("SelectModeChoice"); B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_VKi = new A.FullType(B.Type_SelectModeChoice_N4X, B.List_empty5, false); + B.List_Dh9 = A._setArrayType(makeConstList([B.FullType_VKi]), type$.JSArray_FullType); + B.FullType_00 = new A.FullType(B.Type_BuiltList_27p, B.List_Dh9, false); + B.Type_int_8nG = A.typeLiteral("int"); + B.FullType_xEI = new A.FullType(B.Type_int_8nG, B.List_empty5, false); + B.List_ZGD = A._setArrayType(makeConstList([B.FullType_xEI]), type$.JSArray_FullType); + B.FullType_0 = new A.FullType(B.Type_BuiltList_27p, B.List_ZGD, false); + B.Type_BuiltSet_MMh = A.typeLiteral("BuiltSet<@>"); + B.FullType_0QK = new A.FullType(B.Type_BuiltSet_MMh, B.List_Dh9, false); + B.Type_Insertion_Xbs = A.typeLiteral("Insertion"); + B.FullType_1ju = new A.FullType(B.Type_Insertion_Xbs, B.List_empty5, false); + B.Type_SelectablesStore_GxI = A.typeLiteral("SelectablesStore"); + B.FullType_27z = new A.FullType(B.Type_SelectablesStore_GxI, B.List_empty5, false); + B.Type_BuiltSetMultimap_Xbt = A.typeLiteral("BuiltSetMultimap<@,@>"); + B.Type_Object_QJv = A.typeLiteral("Object"); + B.FullType_Dj3 = new A.FullType(B.Type_Object_QJv, B.List_empty5, false); + B.List_Hhy = A._setArrayType(makeConstList([B.FullType_Dj3, B.FullType_Dj3]), type$.JSArray_FullType); + B.FullType_2pj = new A.FullType(B.Type_BuiltSetMultimap_Xbt, B.List_Hhy, false); + B.Type_MouseoverData_HJ0 = A.typeLiteral("MouseoverData"); + B.FullType_MQW = new A.FullType(B.Type_MouseoverData_HJ0, B.List_empty5, false); + B.List_PrN = A._setArrayType(makeConstList([B.FullType_MQW]), type$.JSArray_FullType); + B.FullType_46c = new A.FullType(B.Type_BuiltList_27p, B.List_PrN, false); + B.List_u2C = A._setArrayType(makeConstList([B.FullType_Dj3]), type$.JSArray_FullType); + B.FullType_4aQ = new A.FullType(B.Type_BuiltSet_MMh, B.List_u2C, false); + B.Type_double_23F = A.typeLiteral("double"); + B.FullType_5AK = new A.FullType(B.Type_double_23F, B.List_empty5, false); + B.Type_DialogType_9t4 = A.typeLiteral("DialogType"); + B.FullType_5eM = new A.FullType(B.Type_DialogType_9t4, B.List_empty5, false); + B.Type_String_J2O = A.typeLiteral("String"); + B.FullType_iHz = new A.FullType(B.Type_String_J2O, B.List_empty5, false); + B.List_fTF = A._setArrayType(makeConstList([B.FullType_iHz]), type$.JSArray_FullType); + B.FullType_61T = new A.FullType(B.Type_BuiltList_27p, B.List_fTF, false); + B.Type_StrandsMove_af1 = A.typeLiteral("StrandsMove"); + B.FullType_6z6 = new A.FullType(B.Type_StrandsMove_af1, B.List_empty5, false); + B.Type_HelixGroupMove_kxe = A.typeLiteral("HelixGroupMove"); + B.FullType_72A = new A.FullType(B.Type_HelixGroupMove_kxe, B.List_empty5, false); + B.Type_CopyInfo_ePO = A.typeLiteral("CopyInfo"); + B.FullType_8Sf = new A.FullType(B.Type_CopyInfo_ePO, B.List_empty5, false); + B.Type_Modification3Prime_p0S = A.typeLiteral("Modification3Prime"); + B.FullType_8eb0 = new A.FullType(B.Type_Modification3Prime_p0S, B.List_empty5, false); + B.Type_Modification5Prime_p0S = A.typeLiteral("Modification5Prime"); + B.FullType_8eb = new A.FullType(B.Type_Modification5Prime_p0S, B.List_empty5, false); + B.Type_ExportSvgType_n3O = A.typeLiteral("ExportSvgType"); + B.FullType_91d = new A.FullType(B.Type_ExportSvgType_n3O, B.List_empty5, false); + B.Type_LocalStorageDesignOption_CV7 = A.typeLiteral("LocalStorageDesignOption"); + B.FullType_94O = new A.FullType(B.Type_LocalStorageDesignOption_CV7, B.List_empty5, false); + B.Type_ExportDNAFormat_Sw4 = A.typeLiteral("ExportDNAFormat"); + B.FullType_AGY = new A.FullType(B.Type_ExportDNAFormat_Sw4, B.List_empty5, false); + B.Type_SelectableTrait_oWu = A.typeLiteral("SelectableTrait"); + B.FullType_Ja4 = new A.FullType(B.Type_SelectableTrait_oWu, B.List_empty5, false); + B.List_Ejg = A._setArrayType(makeConstList([B.FullType_Ja4]), type$.JSArray_FullType); + B.FullType_D5s = new A.FullType(B.Type_BuiltList_27p, B.List_Ejg, false); + B.Type_Domain_0 = A.typeLiteral("Domain"); + B.FullType_M6L = new A.FullType(B.Type_Domain_0, B.List_empty5, false); + B.List_Qxg = A._setArrayType(makeConstList([B.FullType_M6L]), type$.JSArray_FullType); + B.FullType_Dti = new A.FullType(B.Type_BuiltList_27p, B.List_Qxg, false); + B.Type_Point_yHP = A.typeLiteral("Point"); + B.List_gkc = A._setArrayType(makeConstList([B.FullType_5AK]), type$.JSArray_FullType); + B.FullType_uvw = new A.FullType(B.Type_Point_yHP, B.List_gkc, false); + B.List_hcQ = A._setArrayType(makeConstList([B.FullType_uvw]), type$.JSArray_FullType); + B.FullType_EkK = new A.FullType(B.Type_BuiltList_27p, B.List_hcQ, false); + B.Type_UndoableAction_rE5 = A.typeLiteral("UndoableAction"); + B.FullType_xi1 = new A.FullType(B.Type_UndoableAction_rE5, B.List_empty5, false); + B.List_EKW = A._setArrayType(makeConstList([B.FullType_xi1]), type$.JSArray_FullType); + B.FullType_FNm = new A.FullType(B.Type_BuiltList_27p, B.List_EKW, false); + B.List_2No = A._setArrayType(makeConstList([B.FullType_0]), type$.JSArray_FullType); + B.FullType_G7M = new A.FullType(B.Type_BuiltList_27p, B.List_2No, false); + B.Type_Loopout_kXN = A.typeLiteral("Loopout"); + B.FullType_qhc = new A.FullType(B.Type_Loopout_kXN, B.List_empty5, false); + B.List_00 = A._setArrayType(makeConstList([B.FullType_qhc]), type$.JSArray_FullType); + B.FullType_GBG = new A.FullType(B.Type_BuiltList_27p, B.List_00, false); + B.Type_Substrand_V86 = A.typeLiteral("Substrand"); + B.FullType_qBm = new A.FullType(B.Type_Substrand_V86, B.List_empty5, false); + B.List_tyo = A._setArrayType(makeConstList([B.FullType_qBm]), type$.JSArray_FullType); + B.FullType_GVQ = new A.FullType(B.Type_BuiltList_27p, B.List_tyo, false); + B.Type_BuiltMap_MUU = A.typeLiteral("BuiltMap<@,@>"); + B.List_QTP = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_61T]), type$.JSArray_FullType); + B.FullType_Iag = new A.FullType(B.Type_BuiltMap_MUU, B.List_QTP, false); + B.List_mJb = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_Iag]), type$.JSArray_FullType); + B.FullType_MLA = new A.FullType(B.Type_BuiltMap_MUU, B.List_mJb, false); + B.Type_StrandCreation_i7B = A.typeLiteral("StrandCreation"); + B.FullType_Myy = new A.FullType(B.Type_StrandCreation_i7B, B.List_empty5, false); + B.Type_ContextMenu_knt = A.typeLiteral("ContextMenu"); + B.FullType_NjO = new A.FullType(B.Type_ContextMenu_knt, B.List_empty5, false); + B.Type_ExampleDesigns_GJy = A.typeLiteral("ExampleDesigns"); + B.FullType_O1c = new A.FullType(B.Type_ExampleDesigns_GJy, B.List_empty5, false); + B.Type_ModificationInternal_YEQ = A.typeLiteral("ModificationInternal"); + B.FullType_W7E = new A.FullType(B.Type_ModificationInternal_YEQ, B.List_empty5, false); + B.List_hiw = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_W7E]), type$.JSArray_FullType); + B.FullType_OXO = new A.FullType(B.Type_BuiltMap_MUU, B.List_hiw, false); + B.Type_Grid_6D4 = A.typeLiteral("Grid"); + B.FullType_P98 = new A.FullType(B.Type_Grid_6D4, B.List_empty5, false); + B.Type_Selectable_2jN = A.typeLiteral("Selectable"); + B.FullType_ato = new A.FullType(B.Type_Selectable_2jN, B.List_empty5, false); + B.List_vHJ = A._setArrayType(makeConstList([B.FullType_ato]), type$.JSArray_FullType); + B.FullType_QC2 = new A.FullType(B.Type_BuiltSet_MMh, B.List_vHJ, false); + B.Type_DNAFileType_5uU = A.typeLiteral("DNAFileType"); + B.FullType_Qdq = new A.FullType(B.Type_DNAFileType_5uU, B.List_empty5, false); + B.Type_Extension_cyO = A.typeLiteral("Extension"); + B.FullType_aur = new A.FullType(B.Type_Extension_cyO, B.List_empty5, false); + B.List_wOl = A._setArrayType(makeConstList([B.FullType_aur]), type$.JSArray_FullType); + B.FullType_Qgd = new A.FullType(B.Type_BuiltList_27p, B.List_wOl, false); + B.Type_DNAExtensionsMove_iVD = A.typeLiteral("DNAExtensionsMove"); + B.FullType_RoN0 = new A.FullType(B.Type_DNAExtensionsMove_iVD, B.List_empty5, false); + B.List_ksZ = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_xEI]), type$.JSArray_FullType); + B.FullType_RoN = new A.FullType(B.Type_BuiltMap_MUU, B.List_ksZ, false); + B.Type_Strand_g6P = A.typeLiteral("Strand"); + B.FullType_knt = new A.FullType(B.Type_Strand_g6P, B.List_empty5, false); + B.List_vl2 = A._setArrayType(makeConstList([B.FullType_knt]), type$.JSArray_FullType); + B.FullType_SJV = new A.FullType(B.Type_BuiltList_27p, B.List_vl2, false); + B.Type_ExportSvg_Z7N = A.typeLiteral("ExportSvg"); + B.FullType_UIa = new A.FullType(B.Type_ExportSvg_Z7N, B.List_empty5, false); + B.Type_HelixGroup_43h = A.typeLiteral("HelixGroup"); + B.FullType_V5x = new A.FullType(B.Type_HelixGroup_43h, B.List_empty5, false); + B.List_GJk = A._setArrayType(makeConstList([B.FullType_iHz, B.FullType_V5x]), type$.JSArray_FullType); + B.FullType_WoX = new A.FullType(B.Type_BuiltMap_MUU, B.List_GJk, false); + B.Type_BasePairDisplayType_SPQ = A.typeLiteral("BasePairDisplayType"); + B.FullType_Wxi = new A.FullType(B.Type_BasePairDisplayType_SPQ, B.List_empty5, false); + B.Type_Action_E4y = A.typeLiteral("Action"); + B.FullType_Xdq = new A.FullType(B.Type_Action_E4y, B.List_empty5, false); + B.Type_AddressDifference_BCk = A.typeLiteral("AddressDifference"); + B.FullType_YZG = new A.FullType(B.Type_AddressDifference_BCk, B.List_empty5, false); + B.Type_Color_Q92 = A.typeLiteral("Color"); + B.FullType_Zul = new A.FullType(B.Type_Color_Q92, B.List_empty5, false); + B.Type_SelectionBox_In1 = A.typeLiteral("SelectionBox"); + B.FullType_aEB = new A.FullType(B.Type_SelectionBox_In1, B.List_empty5, false); + B.Type_Position3D_o7h = A.typeLiteral("Position3D"); + B.FullType_aJC = new A.FullType(B.Type_Position3D_o7h, B.List_empty5, false); + B.Type_D9d = A.typeLiteral("SelectableModificationInternal"); + B.FullType_6qE = new A.FullType(B.Type_D9d, B.List_empty5, false); + B.List_2tH = A._setArrayType(makeConstList([B.FullType_6qE]), type$.JSArray_FullType); + B.FullType_bqg = new A.FullType(B.Type_BuiltList_27p, B.List_2tH, false); + B.Type_MouseoverParams_Ikh = A.typeLiteral("MouseoverParams"); + B.FullType_wIv = new A.FullType(B.Type_MouseoverParams_Ikh, B.List_empty5, false); + B.List_Feh = A._setArrayType(makeConstList([B.FullType_wIv]), type$.JSArray_FullType); + B.FullType_c0c = new A.FullType(B.Type_BuiltList_27p, B.List_Feh, false); + B.Type_DNAExtensionMove_8cK = A.typeLiteral("DNAExtensionMove"); + B.FullType_qBb = new A.FullType(B.Type_DNAExtensionMove_8cK, B.List_empty5, false); + B.List_n7k = A._setArrayType(makeConstList([B.FullType_qBb]), type$.JSArray_FullType); + B.FullType_c4R = new A.FullType(B.Type_BuiltList_27p, B.List_n7k, false); + B.Type_DNAAssignOptions_6Do = A.typeLiteral("DNAAssignOptions"); + B.FullType_cg9 = new A.FullType(B.Type_DNAAssignOptions_6Do, B.List_empty5, false); + B.FullType_cgN = new A.FullType(B.Type_BuiltList_27p, B.List_u2C, false); + B.Type_ContextMenuItem_7db = A.typeLiteral("ContextMenuItem"); + B.FullType_bQo = new A.FullType(B.Type_ContextMenuItem_7db, B.List_empty5, false); + B.List_Y3r = A._setArrayType(makeConstList([B.FullType_bQo]), type$.JSArray_FullType); + B.FullType_ezA = new A.FullType(B.Type_BuiltList_27p, B.List_Y3r, false); + B.List_gWj = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_0]), type$.JSArray_FullType); + B.FullType_fFi = new A.FullType(B.Type_BuiltMap_MUU, B.List_gWj, false); + B.Type_Dialog_DFB = A.typeLiteral("Dialog"); + B.FullType_gIi = new A.FullType(B.Type_Dialog_DFB, B.List_empty5, false); + B.Type_Helix_MuY = A.typeLiteral("Helix"); + B.FullType_ibu = new A.FullType(B.Type_Helix_MuY, B.List_empty5, false); + B.Type_Design_atQ = A.typeLiteral("Design"); + B.FullType_jUG = new A.FullType(B.Type_Design_atQ, B.List_empty5, false); + B.Type_DialogItem_q39 = A.typeLiteral("DialogItem"); + B.FullType_k2W = new A.FullType(B.Type_DialogItem_q39, B.List_empty5, false); + B.List_THE = A._setArrayType(makeConstList([B.FullType_k2W]), type$.JSArray_FullType); + B.FullType_mJI = new A.FullType(B.Type_BuiltList_27p, B.List_THE, false); + B.Type_Crossover_a9Z = A.typeLiteral("Crossover"); + B.FullType_paL = new A.FullType(B.Type_Crossover_a9Z, B.List_empty5, false); + B.List_gsm = A._setArrayType(makeConstList([B.FullType_paL]), type$.JSArray_FullType); + B.FullType_mXu = new A.FullType(B.Type_BuiltList_27p, B.List_gsm, false); + B.Type_bool_RoS = A.typeLiteral("bool"); + B.FullType_mpw = new A.FullType(B.Type_bool_RoS, B.List_empty5, false); + B.Type_Linker_Vvc = A.typeLiteral("Linker"); + B.FullType_nrs = new A.FullType(B.Type_Linker_Vvc, 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_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_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_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_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.FullType_o7e = new A.FullType(B.Type_BuiltList_27p, B.List_vHJ, false); + B.Type_BuiltListMultimap_apl = A.typeLiteral("BuiltListMultimap<@,@>"); + B.FullType_ow7 = new A.FullType(B.Type_BuiltListMultimap_apl, B.List_Hhy, false); + B.Type_Modification_ZGD = A.typeLiteral("Modification"); + B.FullType_ptl = new A.FullType(B.Type_Modification_ZGD, B.List_empty5, false); + B.Type_SelectableModification3Prime_OIB = A.typeLiteral("SelectableModification3Prime"); + B.FullType_jOQ = new A.FullType(B.Type_SelectableModification3Prime_OIB, B.List_empty5, false); + B.List_80m = A._setArrayType(makeConstList([B.FullType_jOQ]), type$.JSArray_FullType); + B.FullType_qHN = new A.FullType(B.Type_BuiltList_27p, B.List_80m, false); + B.Type_SelectableModification5Prime_OIB = A.typeLiteral("SelectableModification5Prime"); + B.FullType_jOQ0 = new A.FullType(B.Type_SelectableModification5Prime_OIB, B.List_empty5, false); + B.List_80m0 = A._setArrayType(makeConstList([B.FullType_jOQ0]), type$.JSArray_FullType); + B.FullType_qHN0 = new A.FullType(B.Type_BuiltList_27p, B.List_80m0, false); + B.Type_VendorFields_m0o = A.typeLiteral("VendorFields"); + B.FullType_qYH = new A.FullType(B.Type_VendorFields_m0o, B.List_empty5, false); + B.FullType_qti = new A.FullType(B.Type_BuiltSet_MMh, B.List_vl2, false); + B.List_kCs = A._setArrayType(makeConstList([B.FullType_1ju]), type$.JSArray_FullType); + B.FullType_qxo = new A.FullType(B.Type_BuiltList_27p, B.List_kCs, false); + B.Type_StrandOrder_UW6 = A.typeLiteral("StrandOrder"); + B.FullType_qzR = new A.FullType(B.Type_StrandOrder_UW6, B.List_empty5, false); + B.Type_LocalStorageDesignChoice_uhU = A.typeLiteral("LocalStorageDesignChoice"); + B.FullType_r0y = new A.FullType(B.Type_LocalStorageDesignChoice_uhU, B.List_empty5, false); + B.Type_Geometry_q0p = A.typeLiteral("Geometry"); + B.FullType_s2S = new A.FullType(B.Type_Geometry_q0p, B.List_empty5, false); + B.Type_EditModeChoice_Z3F = A.typeLiteral("EditModeChoice"); + B.FullType_y5T = new A.FullType(B.Type_EditModeChoice_Z3F, B.List_empty5, false); + B.List_CIX = A._setArrayType(makeConstList([B.FullType_y5T]), type$.JSArray_FullType); + B.FullType_soA = new A.FullType(B.Type_BuiltSet_MMh, B.List_CIX, false); + B.Type_AppUIStateStorables_XVq = A.typeLiteral("AppUIStateStorables"); + B.FullType_td2 = new A.FullType(B.Type_AppUIStateStorables_XVq, B.List_empty5, false); + B.Type_DomainsMove_c8P = A.typeLiteral("DomainsMove"); + B.FullType_u1z = new A.FullType(B.Type_DomainsMove_c8P, B.List_empty5, false); + B.Type_DNAEndMove_YfA = A.typeLiteral("DNAEndMove"); + B.FullType_sty = new A.FullType(B.Type_DNAEndMove_YfA, B.List_empty5, false); + B.List_vFz = A._setArrayType(makeConstList([B.FullType_sty]), type$.JSArray_FullType); + B.FullType_uAN = new A.FullType(B.Type_BuiltList_27p, B.List_vFz, false); + B.List_5i6 = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_ibu]), type$.JSArray_FullType); + B.FullType_vLM = new A.FullType(B.Type_BuiltMap_MUU, B.List_5i6, false); + B.Type_DNAEnd_fcN = A.typeLiteral("DNAEnd"); + B.FullType_wOX = new A.FullType(B.Type_DNAEnd_fcN, B.List_empty5, false); + B.FullType_wbi = new A.FullType(B.Type_BuiltMap_MUU, B.List_Hhy, false); + B.List_Ger = A._setArrayType(makeConstList([B.FullType_xEI, B.FullType_knt]), type$.JSArray_FullType); + B.FullType_wiJ = new A.FullType(B.Type_BuiltMap_MUU, B.List_Ger, false); + B.Type_SelectModeState_YBo = A.typeLiteral("SelectModeState"); + B.FullType_wie = new A.FullType(B.Type_SelectModeState_YBo, B.List_empty5, false); + B.FullType_woc = new A.FullType(B.Type_BuiltSet_MMh, B.List_fTF, false); + B.Type_DNAEndsMove_4ZJ = A.typeLiteral("DNAEndsMove"); + B.FullType_wsa = new A.FullType(B.Type_DNAEndsMove_4ZJ, B.List_empty5, false); + B.Type_SelectionRope_gWj = A.typeLiteral("SelectionRope"); + B.FullType_xw8 = new A.FullType(B.Type_SelectionRope_gWj, B.List_empty5, false); + B.Type_PotentialCrossover_7VO = A.typeLiteral("PotentialCrossover"); + B.FullType_yHq = new A.FullType(B.Type_PotentialCrossover_7VO, B.List_empty5, false); + B.Type_GridPosition_Ohc = A.typeLiteral("GridPosition"); + B.FullType_yPV = new A.FullType(B.Type_GridPosition_Ohc, B.List_empty5, false); + B.FullType_yXb = new A.FullType(B.Type_BuiltSet_MMh, B.List_ZGD, false); + B.Type_Address_LL9 = A.typeLiteral("Address"); + B.FullType_ync = new A.FullType(B.Type_Address_LL9, B.List_empty5, false); B.Grid_hex = new A.Grid("hex"); B.Grid_honeycomb = new A.Grid("honeycomb"); B.Grid_none = new A.Grid("none"); @@ -159516,575 +158281,584 @@ B.Level_SEVERE_1000 = new A.Level("SEVERE", 1000); B.ListEquality_DefaultEquality0 = new A.ListEquality(B.C_DefaultEquality, A.findType("ListEquality")); B.ListEquality_DefaultEquality = new A.ListEquality(B.C_DefaultEquality, type$.ListEquality_dynamic); - 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_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_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_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_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_Type); + B.Type_RsV = A.typeLiteral("JoinStrandsByMultipleCrossovers"); + B.Type_qFu = A.typeLiteral("_$JoinStrandsByMultipleCrossovers"); + B.List_01 = A._setArrayType(makeConstList([B.Type_RsV, B.Type_qFu]), type$.JSArray_Type); + B.Type_SelectionRopeCreate_2Vk = A.typeLiteral("SelectionRopeCreate"); + B.Type__$SelectionRopeCreate_4Ge = A.typeLiteral("_$SelectionRopeCreate"); + B.List_02 = A._setArrayType(makeConstList([B.Type_SelectionRopeCreate_2Vk, B.Type__$SelectionRopeCreate_4Ge]), type$.JSArray_Type); + B.Type_StrandLabelFontSizeSet_C47 = A.typeLiteral("StrandLabelFontSizeSet"); + B.Type__$StrandLabelFontSizeSet_CSX = A.typeLiteral("_$StrandLabelFontSizeSet"); + B.List_03 = A._setArrayType(makeConstList([B.Type_StrandLabelFontSizeSet_C47, B.Type__$StrandLabelFontSizeSet_CSX]), type$.JSArray_Type); + B.Type_StrandOrSubstrandColorSet_ouN = A.typeLiteral("StrandOrSubstrandColorSet"); + B.Type__$StrandOrSubstrandColorSet_MdH = A.typeLiteral("_$StrandOrSubstrandColorSet"); + B.List_04 = A._setArrayType(makeConstList([B.Type_StrandOrSubstrandColorSet_ouN, B.Type__$StrandOrSubstrandColorSet_MdH]), type$.JSArray_Type); + B.List_0 = A._setArrayType(makeConstList([B.ExportDNAFormat_idt_bulk, B.ExportDNAFormat_idt_plates96, B.ExportDNAFormat_idt_plates384, B.ExportDNAFormat_csv]), A.findType("JSArray")); + B.Type_DNAEndsMoveStart_LlB = A.typeLiteral("DNAEndsMoveStart"); + B.Type__$DNAEndsMoveStart_gkc = A.typeLiteral("_$DNAEndsMoveStart"); + B.List_071 = A._setArrayType(makeConstList([B.Type_DNAEndsMoveStart_LlB, B.Type__$DNAEndsMoveStart_gkc]), type$.JSArray_Type); + B.Type_hg3 = A.typeLiteral("HelixMajorTickPeriodicDistancesChange"); + B.Type_JIe = A.typeLiteral("_$HelixMajorTickPeriodicDistancesChange"); + B.List_0M5 = A._setArrayType(makeConstList([B.Type_hg3, B.Type_JIe]), type$.JSArray_Type); + B.Type_Fu7 = A.typeLiteral("ExtensionDisplayLengthAngleSet"); + B.Type_vsR = A.typeLiteral("_$ExtensionDisplayLengthAngleSet"); + B.List_0Q3 = A._setArrayType(makeConstList([B.Type_Fu7, B.Type_vsR]), type$.JSArray_Type); + B.List_0QU = 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_int); + B.Type_ThrottledActionFast_0a4 = A.typeLiteral("ThrottledActionFast"); + B.Type__$ThrottledActionFast_bI8 = A.typeLiteral("_$ThrottledActionFast"); + B.List_0Vb = A._setArrayType(makeConstList([B.Type_ThrottledActionFast_0a4, B.Type__$ThrottledActionFast_bI8]), type$.JSArray_Type); B.List_0_0 = A._setArrayType(makeConstList([0, 0]), type$.JSArray_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_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_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_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_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_int); - B.List_2Vk = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_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_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_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_String); - B.Type__$Loopout_5Rp = A.typeLiteral("_$Loopout"); - B.List_2ad = A._setArrayType(makeConstList([B.Type_Loopout_AQw, B.Type__$Loopout_5Rp]), type$.JSArray_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_Type); - B.Type_GeometryHelixGroupSet_2jN = A.typeLiteral("GeometryHelixGroupSet"); - B.Type__$GeometryHelixGroupSet_mpF = A.typeLiteral("_$GeometryHelixGroupSet"); - B.List_33r = A._setArrayType(makeConstList([B.Type_GeometryHelixGroupSet_2jN, B.Type__$GeometryHelixGroupSet_mpF]), type$.JSArray_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Type); - B.Type__$DNAAssignOptions_oqK = A.typeLiteral("_$DNAAssignOptions"); - B.List_6hp = A._setArrayType(makeConstList([B.Type_DNAAssignOptions_Ub0, B.Type__$DNAAssignOptions_oqK]), type$.JSArray_Type); - B.Type__$DNAEnd_UWS = A.typeLiteral("_$DNAEnd"); - B.List_6iC = A._setArrayType(makeConstList([B.Type_DNAEnd_s8p, B.Type__$DNAEnd_UWS]), type$.JSArray_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_Type); - B.Type__$DNAEndsMove_MYz = A.typeLiteral("_$DNAEndsMove"); - B.List_6pZ = A._setArrayType(makeConstList([B.Type_DNAEndsMove_AKW, B.Type__$DNAEndsMove_MYz]), type$.JSArray_Type); - B.Type_IMr = A.typeLiteral("ExportBasePairLinesIfOtherStrandNotSelectedSet"); - B.Type_saY = A.typeLiteral("_$ExportBasePairLinesIfOtherStrandNotSelectedSet"); - B.List_6vf = A._setArrayType(makeConstList([B.Type_IMr, B.Type_saY]), type$.JSArray_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_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_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_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_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_Type); - B.List_8RB = A._setArrayType(makeConstList(["fill", "stroke", "stroke-width", "stroke-linecap", "stroke-opacity", "visibility", "transform-box", "transform-origin"]), type$.JSArray_String); + B.Type_InsertionLengthChange_doa = A.typeLiteral("InsertionLengthChange"); + B.Type__$InsertionLengthChange_IAC = A.typeLiteral("_$InsertionLengthChange"); + B.List_1Od = A._setArrayType(makeConstList([B.Type_InsertionLengthChange_doa, B.Type__$InsertionLengthChange_IAC]), type$.JSArray_Type); + B.List_1YD = A._setArrayType(makeConstList(["name", "scale", "purification", "plate", "well"]), type$.JSArray_String); + B.List_1iK = A._setArrayType(makeConstList(["fill", "stroke", "stroke-width", "stroke-linecap", "stroke-opacity", "visibility", "transform-box", "transform-origin"]), type$.JSArray_String); + B.Type_DisplayMajorTicksOffsetsSet_9Ii = A.typeLiteral("DisplayMajorTicksOffsetsSet"); + B.Type_qtp = A.typeLiteral("_$DisplayMajorTicksOffsetsSet"); + B.List_23B = A._setArrayType(makeConstList([B.Type_DisplayMajorTicksOffsetsSet_9Ii, B.Type_qtp]), type$.JSArray_Type); + B.List_2GH = 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_String); + B.Type_WarnOnExitIfUnsavedSet_UJh = A.typeLiteral("WarnOnExitIfUnsavedSet"); + B.Type__$WarnOnExitIfUnsavedSet_AKA = A.typeLiteral("_$WarnOnExitIfUnsavedSet"); + B.List_2No0 = A._setArrayType(makeConstList([B.Type_WarnOnExitIfUnsavedSet_UJh, B.Type__$WarnOnExitIfUnsavedSet_AKA]), type$.JSArray_Type); + B.Type_f3w = A.typeLiteral("DNAExtensionsMoveSetSelectedExtensionEnds"); + B.Type_Hx4 = A.typeLiteral("_$DNAExtensionsMoveSetSelectedExtensionEnds"); + B.List_2Rm = A._setArrayType(makeConstList([B.Type_f3w, B.Type_Hx4]), type$.JSArray_Type); + B.Type_DNAEndsMoveStop_2No = A.typeLiteral("DNAEndsMoveStop"); + B.Type__$DNAEndsMoveStop_UH2 = A.typeLiteral("_$DNAEndsMoveStop"); + B.List_2Um = A._setArrayType(makeConstList([B.Type_DNAEndsMoveStop_2No, B.Type__$DNAEndsMoveStop_UH2]), type$.JSArray_Type); + B.Type_mnK = A.typeLiteral("ShowUnpairedInsertionDeletionsSet"); + B.Type_GZS = A.typeLiteral("_$ShowUnpairedInsertionDeletionsSet"); + B.List_2b9 = A._setArrayType(makeConstList([B.Type_mnK, B.Type_GZS]), type$.JSArray_Type); + B.Type__$DNAExtensionMove_5Yf = A.typeLiteral("_$DNAExtensionMove"); + B.List_2jN0 = A._setArrayType(makeConstList([B.Type_DNAExtensionMove_8cK, B.Type__$DNAExtensionMove_5Yf]), type$.JSArray_Type); + B.List_2jN = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.Type_SelectModesAdd_kOh = A.typeLiteral("SelectModesAdd"); + B.Type__$SelectModesAdd_inH = A.typeLiteral("_$SelectModesAdd"); + B.List_2rf = A._setArrayType(makeConstList([B.Type_SelectModesAdd_kOh, B.Type__$SelectModesAdd_inH]), type$.JSArray_Type); + B.Type_ShowStrandNamesSet_kqK = A.typeLiteral("ShowStrandNamesSet"); + B.Type__$ShowStrandNamesSet_33h = A.typeLiteral("_$ShowStrandNamesSet"); + B.List_3jH = A._setArrayType(makeConstList([B.Type_ShowStrandNamesSet_kqK, B.Type__$ShowStrandNamesSet_33h]), type$.JSArray_Type); + B.Type_StrandCreateCommit_Q1S = A.typeLiteral("StrandCreateCommit"); + B.Type__$StrandCreateCommit_82X = A.typeLiteral("_$StrandCreateCommit"); + B.List_3oi = A._setArrayType(makeConstList([B.Type_StrandCreateCommit_Q1S, B.Type__$StrandCreateCommit_82X]), type$.JSArray_Type); + B.Type_Art = A.typeLiteral("HelixMajorTickDistanceChangeAll"); + B.Type_knn = A.typeLiteral("_$HelixMajorTickDistanceChangeAll"); + B.List_3zC = A._setArrayType(makeConstList([B.Type_Art, B.Type_knn]), type$.JSArray_Type); + B.List_42A = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.Type_ThrottledActionNonFast_wsa = A.typeLiteral("ThrottledActionNonFast"); + B.Type__$ThrottledActionNonFast_ivu = A.typeLiteral("_$ThrottledActionNonFast"); + B.List_45X = A._setArrayType(makeConstList([B.Type_ThrottledActionNonFast_wsa, B.Type__$ThrottledActionNonFast_ivu]), type$.JSArray_Type); + B.Type_ExtensionAdd_ckd = A.typeLiteral("ExtensionAdd"); + B.Type__$ExtensionAdd_gNF = A.typeLiteral("_$ExtensionAdd"); + B.List_46c = A._setArrayType(makeConstList([B.Type_ExtensionAdd_ckd, B.Type__$ExtensionAdd_gNF]), type$.JSArray_Type); + B.Type_ModificationsInternalEdit_ckA = A.typeLiteral("ModificationsInternalEdit"); + B.Type__$ModificationsInternalEdit_urY = A.typeLiteral("_$ModificationsInternalEdit"); + B.List_46c0 = A._setArrayType(makeConstList([B.Type_ModificationsInternalEdit_ckA, B.Type__$ModificationsInternalEdit_urY]), type$.JSArray_Type); + B.Type__$MouseoverData_qNA = A.typeLiteral("_$MouseoverData"); + B.List_46y = A._setArrayType(makeConstList([B.Type_MouseoverData_HJ0, B.Type__$MouseoverData_qNA]), type$.JSArray_Type); + B.List_4AN = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.Type_ExampleDesignsLoad_wEo = A.typeLiteral("ExampleDesignsLoad"); + B.Type__$ExampleDesignsLoad_apg = A.typeLiteral("_$ExampleDesignsLoad"); + B.List_4CA = A._setArrayType(makeConstList([B.Type_ExampleDesignsLoad_wEo, B.Type__$ExampleDesignsLoad_apg]), type$.JSArray_Type); + B.List_4Jt = 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_String); + B.Type_SelectModeToggle_mPy = A.typeLiteral("SelectModeToggle"); + B.Type__$SelectModeToggle_LB7 = A.typeLiteral("_$SelectModeToggle"); + B.List_4hO = A._setArrayType(makeConstList([B.Type_SelectModeToggle_mPy, B.Type__$SelectModeToggle_LB7]), type$.JSArray_Type); + B.Type__$Geometry_7Pr = A.typeLiteral("_$Geometry"); + B.List_4m4 = A._setArrayType(makeConstList([B.Type_Geometry_q0p, B.Type__$Geometry_7Pr]), type$.JSArray_Type); + B.Type_ScaffoldSet_lRY = A.typeLiteral("ScaffoldSet"); + B.Type__$ScaffoldSet_WBb = A.typeLiteral("_$ScaffoldSet"); + B.List_4m40 = A._setArrayType(makeConstList([B.Type_ScaffoldSet_lRY, B.Type__$ScaffoldSet_WBb]), type$.JSArray_Type); + B.Type__$Address_K6i = A.typeLiteral("_$Address"); + B.List_5e2 = A._setArrayType(makeConstList([B.Type_Address_LL9, B.Type__$Address_K6i]), type$.JSArray_Type); + B.Type_SetIsZoomAboveThreshold_yfz = A.typeLiteral("SetIsZoomAboveThreshold"); + B.Type__$SetIsZoomAboveThreshold_VjC = A.typeLiteral("_$SetIsZoomAboveThreshold"); + B.List_5vP = A._setArrayType(makeConstList([B.Type_SetIsZoomAboveThreshold_yfz, B.Type__$SetIsZoomAboveThreshold_VjC]), type$.JSArray_Type); + B.List_66y = 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_int); + B.Type_HxI = A.typeLiteral("ShowGridCoordinatesSideViewSet"); + B.Type_TDC = A.typeLiteral("_$ShowGridCoordinatesSideViewSet"); + B.List_69t = A._setArrayType(makeConstList([B.Type_HxI, B.Type_TDC]), type$.JSArray_Type); + B.List_6Fv = A._setArrayType(makeConstList(["font-size", "font-family", "font-weight", "text-anchor", "dominant-baseline", "fill", "letter-spacing"]), type$.JSArray_String); + B.Type__$DomainsMove_KFe = A.typeLiteral("_$DomainsMove"); + B.List_6Ps = A._setArrayType(makeConstList([B.Type_DomainsMove_c8P, B.Type__$DomainsMove_KFe]), type$.JSArray_Type); + B.Type_HelixMajorTickDistanceChange_GQf = A.typeLiteral("HelixMajorTickDistanceChange"); + B.Type_48R = A.typeLiteral("_$HelixMajorTickDistanceChange"); + B.List_6YB = A._setArrayType(makeConstList([B.Type_HelixMajorTickDistanceChange_GQf, B.Type_48R]), type$.JSArray_Type); + B.Type__$SelectionRope_IJC = A.typeLiteral("_$SelectionRope"); + B.List_6yO = A._setArrayType(makeConstList([B.Type_SelectionRope_gWj, B.Type__$SelectionRope_IJC]), type$.JSArray_Type); + B.Type_ModificationAdd_yzb = A.typeLiteral("ModificationAdd"); + B.Type__$ModificationAdd_4e8 = A.typeLiteral("_$ModificationAdd"); + B.List_75E = A._setArrayType(makeConstList([B.Type_ModificationAdd_yzb, B.Type__$ModificationAdd_4e8]), type$.JSArray_Type); + B.Type_0fc = A.typeLiteral("RetainStrandColorOnSelectionSet"); + B.Type_6nc = A.typeLiteral("_$RetainStrandColorOnSelectionSet"); + B.List_79P = A._setArrayType(makeConstList([B.Type_0fc, B.Type_6nc]), type$.JSArray_Type); + B.Type_StrandNameFontSizeSet_9hQ = A.typeLiteral("StrandNameFontSizeSet"); + B.Type__$StrandNameFontSizeSet_esC = A.typeLiteral("_$StrandNameFontSizeSet"); + B.List_7Un = A._setArrayType(makeConstList([B.Type_StrandNameFontSizeSet_9hQ, B.Type__$StrandNameFontSizeSet_esC]), type$.JSArray_Type); + B.Type_ModificationRemove_oqF = A.typeLiteral("ModificationRemove"); + B.Type__$ModificationRemove_E4S = A.typeLiteral("_$ModificationRemove"); + B.List_86y = A._setArrayType(makeConstList([B.Type_ModificationRemove_oqF, B.Type__$ModificationRemove_E4S]), type$.JSArray_Type); + B.Type_PlateWellVendorFieldsAssign_asC = A.typeLiteral("PlateWellVendorFieldsAssign"); + B.Type_opF = A.typeLiteral("_$PlateWellVendorFieldsAssign"); + B.List_86y0 = A._setArrayType(makeConstList([B.Type_PlateWellVendorFieldsAssign_asC, B.Type_opF]), type$.JSArray_Type); + B.List_8D4 = 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_int); + B.List_8Gl = A._setArrayType(makeConstList(["getDerivedStateFromError", "componentDidCatch"]), type$.JSArray_String); + B.Type_EditModeToggle_YyD = A.typeLiteral("EditModeToggle"); + B.Type__$EditModeToggle_BFM = A.typeLiteral("_$EditModeToggle"); + B.List_8I8 = A._setArrayType(makeConstList([B.Type_EditModeToggle_YyD, B.Type__$EditModeToggle_BFM]), type$.JSArray_Type); + B.Type_qJO = A.typeLiteral("HelixGroupMoveAdjustTranslation"); + B.Type_4MH = A.typeLiteral("_$HelixGroupMoveAdjustTranslation"); + B.List_8I80 = A._setArrayType(makeConstList([B.Type_qJO, B.Type_4MH]), type$.JSArray_Type); + B.List_8aB = A._setArrayType(makeConstList([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]), type$.JSArray_int); + B.Type_Select_aZ8 = A.typeLiteral("Select"); + B.Type__$Select_Sqf = A.typeLiteral("_$Select"); + B.List_8qN = A._setArrayType(makeConstList([B.Type_Select_aZ8, B.Type__$Select_Sqf]), type$.JSArray_Type); + B.Type__$StrandCreation_4e8 = A.typeLiteral("_$StrandCreation"); + B.List_8sM = A._setArrayType(makeConstList([B.Type_StrandCreation_i7B, B.Type__$StrandCreation_4e8]), type$.JSArray_Type); + B.Type_MouseoverDataUpdate_woc = A.typeLiteral("MouseoverDataUpdate"); + B.Type__$MouseoverDataUpdate_6PY = A.typeLiteral("_$MouseoverDataUpdate"); + B.List_9Aw = A._setArrayType(makeConstList([B.Type_MouseoverDataUpdate_woc, B.Type__$MouseoverDataUpdate_6PY]), type$.JSArray_Type); + B.Type_ShowDNASet_66y = A.typeLiteral("ShowDNASet"); + B.Type__$ShowDNASet_SgB = A.typeLiteral("_$ShowDNASet"); + B.List_9Ii = A._setArrayType(makeConstList([B.Type_ShowDNASet_66y, B.Type__$ShowDNASet_SgB]), type$.JSArray_Type); + B.List_9Wx = A._setArrayType(makeConstList([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]), type$.JSArray_int); + B.Type_DeletionAdd_iTx = A.typeLiteral("DeletionAdd"); + B.Type__$DeletionAdd_mGg = A.typeLiteral("_$DeletionAdd"); + B.List_A4K = A._setArrayType(makeConstList([B.Type_DeletionAdd_iTx, B.Type__$DeletionAdd_mGg]), type$.JSArray_Type); + B.Type_a3L = A.typeLiteral("SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + B.Type_WjT = A.typeLiteral("_$SetDisplayBaseOffsetsOfMajorTicksOnlyFirstHelix"); + B.List_ACQ = A._setArrayType(makeConstList([B.Type_a3L, B.Type_WjT]), type$.JSArray_Type); + B.Type_HelixSelect_6hT = A.typeLiteral("HelixSelect"); + B.Type__$HelixSelect_WYZ = A.typeLiteral("_$HelixSelect"); + B.List_AKu = A._setArrayType(makeConstList([B.Type_HelixSelect_6hT, B.Type__$HelixSelect_WYZ]), type$.JSArray_Type); + B.List_AOY = 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_String); + B.Type__$AddressDifference_el3 = A.typeLiteral("_$AddressDifference"); + B.List_Aa4 = A._setArrayType(makeConstList([B.Type_AddressDifference_BCk, B.Type__$AddressDifference_el3]), type$.JSArray_Type); + B.Type_DNAEndsMoveAdjustOffset_yzu = A.typeLiteral("DNAEndsMoveAdjustOffset"); + B.Type__$DNAEndsMoveAdjustOffset_3uR = A.typeLiteral("_$DNAEndsMoveAdjustOffset"); + B.List_B6W = A._setArrayType(makeConstList([B.Type_DNAEndsMoveAdjustOffset_yzu, B.Type__$DNAEndsMoveAdjustOffset_3uR]), type$.JSArray_Type); + B.Type_BatchAction_u7u = A.typeLiteral("BatchAction"); + B.Type__$BatchAction_DJI = A.typeLiteral("_$BatchAction"); + B.List_BZ7 = A._setArrayType(makeConstList([B.Type_BatchAction_u7u, B.Type__$BatchAction_DJI]), type$.JSArray_Type); + B.List_BZW = 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_int); + B.Type_DeletionRemove_eNh = A.typeLiteral("DeletionRemove"); + B.Type__$DeletionRemove_yNE = A.typeLiteral("_$DeletionRemove"); + B.List_Bzp = A._setArrayType(makeConstList([B.Type_DeletionRemove_eNh, B.Type__$DeletionRemove_yNE]), type$.JSArray_Type); + B.Type_ExportCadnanoFile_X3d = A.typeLiteral("ExportCadnanoFile"); + B.Type__$ExportCadnanoFile_EOw = A.typeLiteral("_$ExportCadnanoFile"); + B.List_CLo = A._setArrayType(makeConstList([B.Type_ExportCadnanoFile_X3d, B.Type__$ExportCadnanoFile_EOw]), type$.JSArray_Type); + B.Type_HelixGroupMoveCommit_W6F = A.typeLiteral("HelixGroupMoveCommit"); + B.Type__$HelixGroupMoveCommit_coI = A.typeLiteral("_$HelixGroupMoveCommit"); + B.List_Crw = A._setArrayType(makeConstList([B.Type_HelixGroupMoveCommit_W6F, B.Type__$HelixGroupMoveCommit_coI]), type$.JSArray_Type); + B.List_Cxl = 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_int); + B.Type__$PotentialCrossover_8tf = A.typeLiteral("_$PotentialCrossover"); + B.List_CyI = A._setArrayType(makeConstList([B.Type_PotentialCrossover_7VO, B.Type__$PotentialCrossover_8tf]), type$.JSArray_Type); + B.Type_StrandLabelSet_aQo = A.typeLiteral("StrandLabelSet"); + B.Type__$StrandLabelSet_MYE = A.typeLiteral("_$StrandLabelSet"); + B.List_D0U = A._setArrayType(makeConstList([B.Type_StrandLabelSet_aQo, B.Type__$StrandLabelSet_MYE]), type$.JSArray_Type); + B.Type_PotentialCrossoverCreate_ssD = A.typeLiteral("PotentialCrossoverCreate"); + B.Type__$PotentialCrossoverCreate_CRe = A.typeLiteral("_$PotentialCrossoverCreate"); + B.List_DFB = A._setArrayType(makeConstList([B.Type_PotentialCrossoverCreate_ssD, B.Type__$PotentialCrossoverCreate_CRe]), type$.JSArray_Type); + B.Type_SubstrandNameSet_4CA = A.typeLiteral("SubstrandNameSet"); + B.Type__$SubstrandNameSet_U0a = A.typeLiteral("_$SubstrandNameSet"); + B.List_DQH = A._setArrayType(makeConstList([B.Type_SubstrandNameSet_4CA, B.Type__$SubstrandNameSet_U0a]), type$.JSArray_Type); + B.Type_EditModesSet_kWM = A.typeLiteral("EditModesSet"); + B.Type__$EditModesSet_QaA = A.typeLiteral("_$EditModesSet"); + B.List_DSg = A._setArrayType(makeConstList([B.Type_EditModesSet_kWM, B.Type__$EditModesSet_QaA]), type$.JSArray_Type); + B.Type_StrandsReflect_GF2 = A.typeLiteral("StrandsReflect"); + B.Type__$StrandsReflect_Ucj = A.typeLiteral("_$StrandsReflect"); + B.List_Diz = A._setArrayType(makeConstList([B.Type_StrandsReflect_GF2, B.Type__$StrandsReflect_Ucj]), type$.JSArray_Type); + B.Type_46y = A.typeLiteral("ShowBasePairLinesWithMismatchesSet"); + B.Type_EaX = A.typeLiteral("_$ShowBasePairLinesWithMismatchesSet"); + B.List_Dr3 = A._setArrayType(makeConstList([B.Type_46y, B.Type_EaX]), type$.JSArray_Type); + B.Type_DialogCheckbox_WjS = A.typeLiteral("DialogCheckbox"); + B.Type__$DialogCheckbox_FGJ = A.typeLiteral("_$DialogCheckbox"); + B.List_Drw = A._setArrayType(makeConstList([B.Type_DialogCheckbox_WjS, B.Type__$DialogCheckbox_FGJ]), type$.JSArray_Type); + B.Type_RelaxHelixRolls_mLj = A.typeLiteral("RelaxHelixRolls"); + B.Type__$RelaxHelixRolls_2bx = A.typeLiteral("_$RelaxHelixRolls"); + B.List_E3m = A._setArrayType(makeConstList([B.Type_RelaxHelixRolls_mLj, B.Type__$RelaxHelixRolls_2bx]), type$.JSArray_Type); + B.Type_MajorTickWidthFontSizeSet_qtW = A.typeLiteral("MajorTickWidthFontSizeSet"); + B.Type__$MajorTickWidthFontSizeSet_Ozn = A.typeLiteral("_$MajorTickWidthFontSizeSet"); + B.List_E6F = A._setArrayType(makeConstList([B.Type_MajorTickWidthFontSizeSet_qtW, B.Type__$MajorTickWidthFontSizeSet_Ozn]), type$.JSArray_Type); + B.List_ECG = 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_String); + B.Type_EKR = A.typeLiteral("ShowHelixComponentsMainViewSet"); + B.Type_cdS = A.typeLiteral("_$ShowHelixComponentsMainViewSet"); + B.List_EHV = A._setArrayType(makeConstList([B.Type_EKR, B.Type_cdS]), type$.JSArray_Type); + B.Type__$SelectablesStore_2Ov = A.typeLiteral("_$SelectablesStore"); + B.List_EMQ = A._setArrayType(makeConstList([B.Type_SelectablesStore_GxI, B.Type__$SelectablesStore_2Ov]), type$.JSArray_Type); + B.Type__$Dialog_wEo = A.typeLiteral("_$Dialog"); + B.List_EZX = A._setArrayType(makeConstList([B.Type_Dialog_DFB, B.Type__$Dialog_wEo]), type$.JSArray_Type); + B.Type_GeometryHelixGroupSet_8I8 = A.typeLiteral("GeometryHelixGroupSet"); + B.Type__$GeometryHelixGroupSet_kGC = A.typeLiteral("_$GeometryHelixGroupSet"); + B.List_Ecu = A._setArrayType(makeConstList([B.Type_GeometryHelixGroupSet_8I8, B.Type__$GeometryHelixGroupSet_kGC]), type$.JSArray_Type); + B.Type_SelectAll_X7k = A.typeLiteral("SelectAll"); + B.Type__$SelectAll_2bG = A.typeLiteral("_$SelectAll"); + B.List_F4V = A._setArrayType(makeConstList([B.Type_SelectAll_X7k, B.Type__$SelectAll_2bG]), type$.JSArray_Type); + B.Type_ShowMismatchesSet_woc = A.typeLiteral("ShowMismatchesSet"); + B.Type__$ShowMismatchesSet_VzG = A.typeLiteral("_$ShowMismatchesSet"); + B.List_FKj = A._setArrayType(makeConstList([B.Type_ShowMismatchesSet_woc, B.Type__$ShowMismatchesSet_VzG]), type$.JSArray_Type); + B.Type__$DNAEnd_8aB = A.typeLiteral("_$DNAEnd"); + B.List_Fb0 = A._setArrayType(makeConstList([B.Type_DNAEnd_fcN, B.Type__$DNAEnd_8aB]), type$.JSArray_Type); + B.Type_MouseGridPositionSideClear_0 = A.typeLiteral("MouseGridPositionSideClear"); + B.Type__$MouseGridPositionSideClear_9I8 = A.typeLiteral("_$MouseGridPositionSideClear"); + B.List_G3l = A._setArrayType(makeConstList([B.Type_MouseGridPositionSideClear_0, B.Type__$MouseGridPositionSideClear_9I8]), type$.JSArray_Type); + B.Type__$Extension_H9W = A.typeLiteral("_$Extension"); + B.List_G8U = A._setArrayType(makeConstList([B.Type_Extension_cyO, B.Type__$Extension_H9W]), type$.JSArray_Type); + B.Type_fP4 = A.typeLiteral("SetOnlyDisplaySelectedHelices"); + B.Type_O9p = A.typeLiteral("_$SetOnlyDisplaySelectedHelices"); + B.List_GML = A._setArrayType(makeConstList([B.Type_fP4, B.Type_O9p]), type$.JSArray_Type); + B.Type_BasePairTypeSet_KD7 = A.typeLiteral("BasePairTypeSet"); + B.Type__$BasePairTypeSet_V6T = A.typeLiteral("_$BasePairTypeSet"); + B.List_GVx = A._setArrayType(makeConstList([B.Type_BasePairTypeSet_KD7, B.Type__$BasePairTypeSet_V6T]), type$.JSArray_Type); + B.List_GVy = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); + B.List_GZ8 = 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_int); + B.Type_ShowModificationsSet_Zc5 = A.typeLiteral("ShowModificationsSet"); + B.Type__$ShowModificationsSet_cQd = A.typeLiteral("_$ShowModificationsSet"); + B.List_GZw = A._setArrayType(makeConstList([B.Type_ShowModificationsSet_Zc5, B.Type__$ShowModificationsSet_cQd]), type$.JSArray_Type); + B.Type_OxviewShowSet_CFO = A.typeLiteral("OxviewShowSet"); + B.Type__$OxviewShowSet_3Hh = A.typeLiteral("_$OxviewShowSet"); + B.List_GfL = A._setArrayType(makeConstList([B.Type_OxviewShowSet_CFO, B.Type__$OxviewShowSet_3Hh]), type$.JSArray_Type); + B.Type_InsertionRemove_wDC = A.typeLiteral("InsertionRemove"); + B.Type__$InsertionRemove_t4R = A.typeLiteral("_$InsertionRemove"); + B.List_Gxl = A._setArrayType(makeConstList([B.Type_InsertionRemove_wDC, B.Type__$InsertionRemove_t4R]), type$.JSArray_Type); + B.Type_HelixRemoveAllSelected_a9w = A.typeLiteral("HelixRemoveAllSelected"); + B.Type__$HelixRemoveAllSelected_yDx = A.typeLiteral("_$HelixRemoveAllSelected"); + B.List_H1G = A._setArrayType(makeConstList([B.Type_HelixRemoveAllSelected_a9w, B.Type__$HelixRemoveAllSelected_yDx]), type$.JSArray_Type); + B.Type_HelixSelectionsAdjust_IYb = A.typeLiteral("HelixSelectionsAdjust"); + B.Type__$HelixSelectionsAdjust_Ods = A.typeLiteral("_$HelixSelectionsAdjust"); + B.List_H48 = A._setArrayType(makeConstList([B.Type_HelixSelectionsAdjust_IYb, B.Type__$HelixSelectionsAdjust_Ods]), type$.JSArray_Type); + B.Type_DialogLink_0Tb = A.typeLiteral("DialogLink"); + B.Type__$DialogLink_4QF = A.typeLiteral("_$DialogLink"); + B.List_Hsm = A._setArrayType(makeConstList([B.Type_DialogLink_0Tb, B.Type__$DialogLink_4QF]), type$.JSArray_Type); + B.Type_MEl = A.typeLiteral("StrandOrSubstrandColorPickerShow"); + B.Type_3I7 = A.typeLiteral("_$StrandOrSubstrandColorPickerShow"); + B.List_IAM = A._setArrayType(makeConstList([B.Type_MEl, B.Type_3I7]), type$.JSArray_Type); + B.Type_VendorFieldsRemove_kyZ = A.typeLiteral("VendorFieldsRemove"); + B.Type__$VendorFieldsRemove_ifL = A.typeLiteral("_$VendorFieldsRemove"); + B.List_IIj = A._setArrayType(makeConstList([B.Type_VendorFieldsRemove_kyZ, B.Type__$VendorFieldsRemove_ifL]), type$.JSArray_Type); + B.Type_SliceBarMoveStop_BCk = A.typeLiteral("SliceBarMoveStop"); + B.Type__$SliceBarMoveStop_xSe = A.typeLiteral("_$SliceBarMoveStop"); + B.List_IJC = A._setArrayType(makeConstList([B.Type_SliceBarMoveStop_BCk, B.Type__$SliceBarMoveStop_xSe]), type$.JSArray_Type); + B.Type_DomainsMoveStop_gyO = A.typeLiteral("DomainsMoveStop"); + B.Type__$DomainsMoveStop_fgL = A.typeLiteral("_$DomainsMoveStop"); + B.List_IOo = A._setArrayType(makeConstList([B.Type_DomainsMoveStop_gyO, B.Type__$DomainsMoveStop_fgL]), type$.JSArray_Type); + B.Type_AssignDNA_QkZ = A.typeLiteral("AssignDNA"); + B.Type__$AssignDNA_ChN = A.typeLiteral("_$AssignDNA"); + B.List_IWk = A._setArrayType(makeConstList([B.Type_AssignDNA_QkZ, B.Type__$AssignDNA_ChN]), type$.JSArray_Type); + B.Type_Modifications3PrimeEdit_sAl = A.typeLiteral("Modifications3PrimeEdit"); + B.Type__$Modifications3PrimeEdit_bFE = A.typeLiteral("_$Modifications3PrimeEdit"); + B.List_IlG = A._setArrayType(makeConstList([B.Type_Modifications3PrimeEdit_sAl, B.Type__$Modifications3PrimeEdit_bFE]), type$.JSArray_Type); + B.Type_Undo_6it = A.typeLiteral("Undo"); + B.Type__$Undo_C0x = A.typeLiteral("_$Undo"); + B.List_Ix1 = A._setArrayType(makeConstList([B.Type_Undo_6it, B.Type__$Undo_C0x]), type$.JSArray_Type); + B.Type_DeleteAllSelected_KdN = A.typeLiteral("DeleteAllSelected"); + B.Type__$DeleteAllSelected_YDz = A.typeLiteral("_$DeleteAllSelected"); + B.List_Jcx = A._setArrayType(makeConstList([B.Type_DeleteAllSelected_KdN, B.Type__$DeleteAllSelected_YDz]), type$.JSArray_Type); + B.Type_ShowStrandLabelsSet_suG = A.typeLiteral("ShowStrandLabelsSet"); + B.Type__$ShowStrandLabelsSet_O1M = A.typeLiteral("_$ShowStrandLabelsSet"); + B.List_Jhy = A._setArrayType(makeConstList([B.Type_ShowStrandLabelsSet_suG, B.Type__$ShowStrandLabelsSet_O1M]), type$.JSArray_Type); + B.Type_LoopoutLengthChange_IRf = A.typeLiteral("LoopoutLengthChange"); + B.Type__$LoopoutLengthChange_Qa6 = A.typeLiteral("_$LoopoutLengthChange"); + B.List_KY7 = A._setArrayType(makeConstList([B.Type_LoopoutLengthChange_IRf, B.Type__$LoopoutLengthChange_Qa6]), type$.JSArray_Type); + B.Type_ConvertCrossoversToLoopouts_ad7 = A.typeLiteral("ConvertCrossoversToLoopouts"); + B.Type_46y0 = A.typeLiteral("_$ConvertCrossoversToLoopouts"); + B.List_Key = A._setArrayType(makeConstList([B.Type_ConvertCrossoversToLoopouts_ad7, B.Type_46y0]), type$.JSArray_Type); + B.Type__$StrandsMove_7BT = A.typeLiteral("_$StrandsMove"); + B.List_KmO = A._setArrayType(makeConstList([B.Type_StrandsMove_af1, B.Type__$StrandsMove_7BT]), type$.JSArray_Type); + B.Type_DNAExtensionsMoveStart_8cP = A.typeLiteral("DNAExtensionsMoveStart"); + B.Type__$DNAExtensionsMoveStart_yzN = A.typeLiteral("_$DNAExtensionsMoveStart"); + B.List_LB7 = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveStart_8cP, B.Type__$DNAExtensionsMoveStart_yzN]), type$.JSArray_Type); + B.List_LjY = 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_int); + B.Type_GeometrySet_bLX = A.typeLiteral("GeometrySet"); + B.Type__$GeometrySet_q8Y = A.typeLiteral("_$GeometrySet"); + B.List_LpI = A._setArrayType(makeConstList([B.Type_GeometrySet_bLX, B.Type__$GeometrySet_q8Y]), type$.JSArray_Type); + B.Type_waB = A.typeLiteral("SetExportSvgActionDelayedForPngCache"); + B.Type_2fK = A.typeLiteral("_$SetExportSvgActionDelayedForPngCache"); + B.List_LtQ = A._setArrayType(makeConstList([B.Type_waB, B.Type_2fK]), type$.JSArray_Type); + B.List_M2I = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.Type_Nick_4e8 = A.typeLiteral("Nick"); + B.Type__$Nick_Jsp = A.typeLiteral("_$Nick"); + B.List_M3c = A._setArrayType(makeConstList([B.Type_Nick_4e8, B.Type__$Nick_Jsp]), type$.JSArray_Type); + B.Type_bnB = A.typeLiteral("ScalePurificationVendorFieldsAssign"); + B.Type_tYD = A.typeLiteral("_$ScalePurificationVendorFieldsAssign"); + B.List_MAi = A._setArrayType(makeConstList([B.Type_bnB, B.Type_tYD]), type$.JSArray_Type); + B.Type_8aB = A.typeLiteral("ClearHelixSelectionWhenLoadingNewDesignSet"); + B.Type_dXt = A.typeLiteral("_$ClearHelixSelectionWhenLoadingNewDesignSet"); + B.List_MGe = A._setArrayType(makeConstList([B.Type_8aB, B.Type_dXt]), type$.JSArray_Type); + B.Type_DynamicHelixUpdateSet_0Iy = A.typeLiteral("DynamicHelixUpdateSet"); + B.Type__$DynamicHelixUpdateSet_U8c = A.typeLiteral("_$DynamicHelixUpdateSet"); + B.List_MMm = A._setArrayType(makeConstList([B.Type_DynamicHelixUpdateSet_0Iy, B.Type__$DynamicHelixUpdateSet_U8c]), type$.JSArray_Type); + B.Type_ExtensionNumBasesChange_KLe = A.typeLiteral("ExtensionNumBasesChange"); + B.Type__$ExtensionNumBasesChange_WZH = A.typeLiteral("_$ExtensionNumBasesChange"); + B.List_MQy = A._setArrayType(makeConstList([B.Type_ExtensionNumBasesChange_KLe, B.Type__$ExtensionNumBasesChange_WZH]), type$.JSArray_Type); + B.Type_DialogText_zWl = A.typeLiteral("DialogText"); + B.Type__$DialogText_8aB = A.typeLiteral("_$DialogText"); + B.List_MYb = A._setArrayType(makeConstList([B.Type_DialogText_zWl, B.Type__$DialogText_8aB]), type$.JSArray_Type); + B.Type_SelectableInsertion_8Gl = A.typeLiteral("SelectableInsertion"); + B.Type__$SelectableInsertion_p2H = A.typeLiteral("_$SelectableInsertion"); + B.List_Ml7 = A._setArrayType(makeConstList([B.Type_SelectableInsertion_8Gl, B.Type__$SelectableInsertion_p2H]), type$.JSArray_Type); + B.Type__$ContextMenuItem_yvU = A.typeLiteral("_$ContextMenuItem"); + B.List_Mul = A._setArrayType(makeConstList([B.Type_ContextMenuItem_7db, B.Type__$ContextMenuItem_yvU]), type$.JSArray_Type); + B.Type_HelixMajorTickStartChange_XR3 = A.typeLiteral("HelixMajorTickStartChange"); + B.Type__$HelixMajorTickStartChange_OBc = A.typeLiteral("_$HelixMajorTickStartChange"); + B.List_MvE = A._setArrayType(makeConstList([B.Type_HelixMajorTickStartChange_XR3, B.Type__$HelixMajorTickStartChange_OBc]), type$.JSArray_Type); + B.Type_StrandCreateStart_KMK = A.typeLiteral("StrandCreateStart"); + B.Type__$StrandCreateStart_89t = A.typeLiteral("_$StrandCreateStart"); + B.List_N4X = A._setArrayType(makeConstList([B.Type_StrandCreateStart_KMK, B.Type__$StrandCreateStart_89t]), type$.JSArray_Type); + B.Type_DomainsMoveCommit_Uy7 = A.typeLiteral("DomainsMoveCommit"); + B.Type__$DomainsMoveCommit_gkc = A.typeLiteral("_$DomainsMoveCommit"); + B.List_NYu = A._setArrayType(makeConstList([B.Type_DomainsMoveCommit_Uy7, B.Type__$DomainsMoveCommit_gkc]), type$.JSArray_Type); + B.Type__$ExportSvg_CBZ = A.typeLiteral("_$ExportSvg"); + B.List_NcA = A._setArrayType(makeConstList([B.Type_ExportSvg_Z7N, B.Type__$ExportSvg_CBZ]), type$.JSArray_Type); + B.Type_SetAppUIStateStorable_5me = A.typeLiteral("SetAppUIStateStorable"); + B.Type__$SetAppUIStateStorable_f1Q = A.typeLiteral("_$SetAppUIStateStorable"); + B.List_Nm5 = A._setArrayType(makeConstList([B.Type_SetAppUIStateStorable_5me, B.Type__$SetAppUIStateStorable_f1Q]), type$.JSArray_Type); + B.Type_HelixIdxsChange_Qm5 = A.typeLiteral("HelixIdxsChange"); + B.Type__$HelixIdxsChange_nE3 = A.typeLiteral("_$HelixIdxsChange"); + B.List_O5M = A._setArrayType(makeConstList([B.Type_HelixIdxsChange_Qm5, B.Type__$HelixIdxsChange_nE3]), type$.JSArray_Type); + B.List_O5O0 = A._setArrayType(makeConstList([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]), type$.JSArray_int); + B.List_O5O = A._setArrayType(makeConstList([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), type$.JSArray_int); + B.Type__$Strand_mf6 = A.typeLiteral("_$Strand"); + B.List_ODE = A._setArrayType(makeConstList([B.Type_Strand_g6P, B.Type__$Strand_mf6]), type$.JSArray_Type); + B.Type_SliceBarMoveStart_2Z4 = A.typeLiteral("SliceBarMoveStart"); + B.Type__$SliceBarMoveStart_t6A = A.typeLiteral("_$SliceBarMoveStart"); + B.List_ODz = A._setArrayType(makeConstList([B.Type_SliceBarMoveStart_2Z4, B.Type__$SliceBarMoveStart_t6A]), type$.JSArray_Type); + B.Type_4QF = A.typeLiteral("HelicesPositionsSetBasedOnCrossovers"); + B.Type_gQW = A.typeLiteral("_$HelicesPositionsSetBasedOnCrossovers"); + B.List_OON = A._setArrayType(makeConstList([B.Type_4QF, B.Type_gQW]), type$.JSArray_Type); + B.Type_ShowDomainNameMismatchesSet_ww8 = A.typeLiteral("ShowDomainNameMismatchesSet"); + B.Type_XpQ = A.typeLiteral("_$ShowDomainNameMismatchesSet"); + B.List_Okd = A._setArrayType(makeConstList([B.Type_ShowDomainNameMismatchesSet_ww8, B.Type_XpQ]), type$.JSArray_Type); + B.Type_LoadDnaSequenceImageUri_YaW = A.typeLiteral("LoadDnaSequenceImageUri"); + B.Type__$LoadDnaSequenceImageUri_4m4 = A.typeLiteral("_$LoadDnaSequenceImageUri"); + B.List_P3l = A._setArrayType(makeConstList([B.Type_LoadDnaSequenceImageUri_YaW, B.Type__$LoadDnaSequenceImageUri_4m4]), type$.JSArray_Type); + B.Type_PlateWellVendorFieldsRemove_int = A.typeLiteral("PlateWellVendorFieldsRemove"); + B.Type_opF0 = A.typeLiteral("_$PlateWellVendorFieldsRemove"); + B.List_P50 = A._setArrayType(makeConstList([B.Type_PlateWellVendorFieldsRemove_int, B.Type_opF0]), type$.JSArray_Type); + B.Type_LoadingDialogShow_88M = A.typeLiteral("LoadingDialogShow"); + B.Type__$LoadingDialogShow_Sof = A.typeLiteral("_$LoadingDialogShow"); + B.List_P86 = A._setArrayType(makeConstList([B.Type_LoadingDialogShow_88M, B.Type__$LoadingDialogShow_Sof]), type$.JSArray_Type); + B.Type_StrandNameSet_bB0 = A.typeLiteral("StrandNameSet"); + B.Type__$StrandNameSet_ymF = A.typeLiteral("_$StrandNameSet"); + B.List_PcY = A._setArrayType(makeConstList([B.Type_StrandNameSet_bB0, B.Type__$StrandNameSet_ymF]), type$.JSArray_Type); + B.Type_DialogInteger_WoY = A.typeLiteral("DialogInteger"); + B.Type__$DialogInteger_chs = A.typeLiteral("_$DialogInteger"); + B.List_Pgi = A._setArrayType(makeConstList([B.Type_DialogInteger_WoY, B.Type__$DialogInteger_chs]), type$.JSArray_Type); + B.Type_ContextMenuShow_7N7 = A.typeLiteral("ContextMenuShow"); + B.Type__$ContextMenuShow_FFB = A.typeLiteral("_$ContextMenuShow"); + B.List_Q0F = A._setArrayType(makeConstList([B.Type_ContextMenuShow_7N7, B.Type__$ContextMenuShow_FFB]), type$.JSArray_Type); + B.Type_ContextMenuHide_7N7 = A.typeLiteral("ContextMenuHide"); + B.Type__$ContextMenuHide_8aB = A.typeLiteral("_$ContextMenuHide"); + B.List_Q49 = A._setArrayType(makeConstList([B.Type_ContextMenuHide_7N7, B.Type__$ContextMenuHide_8aB]), type$.JSArray_Type); + B.Type__$CopyInfo_OFj = A.typeLiteral("_$CopyInfo"); + B.List_QIS = A._setArrayType(makeConstList([B.Type_CopyInfo_ePO, B.Type__$CopyInfo_OFj]), type$.JSArray_Type); + B.Type_DialogTextArea_79Z = A.typeLiteral("DialogTextArea"); + B.Type__$DialogTextArea_gg9 = A.typeLiteral("_$DialogTextArea"); + B.List_QJm = A._setArrayType(makeConstList([B.Type_DialogTextArea_79Z, B.Type__$DialogTextArea_gg9]), type$.JSArray_Type); + B.Type_ShowMouseoverRectSet_goM = A.typeLiteral("ShowMouseoverRectSet"); + B.Type__$ShowMouseoverRectSet_MQu = A.typeLiteral("_$ShowMouseoverRectSet"); + B.List_QKh = A._setArrayType(makeConstList([B.Type_ShowMouseoverRectSet_goM, B.Type__$ShowMouseoverRectSet_MQu]), type$.JSArray_Type); + B.List_QMV = A._setArrayType(makeConstList([B.DNASequencePredefined_M13p7249, B.DNASequencePredefined_M13p7560, B.DNASequencePredefined_M13p8064, B.DNASequencePredefined_M13p8634, B.DNASequencePredefined_Tilibit_CS3_L, B.DNASequencePredefined_Tilibit_CS4]), A.findType("JSArray")); + B.Type_ShowEditMenuToggle_Jiw = A.typeLiteral("ShowEditMenuToggle"); + B.Type__$ShowEditMenuToggle_jPf = A.typeLiteral("_$ShowEditMenuToggle"); + B.List_QPa = A._setArrayType(makeConstList([B.Type_ShowEditMenuToggle_Jiw, B.Type__$ShowEditMenuToggle_jPf]), type$.JSArray_Type); + B.Type_MYu = A.typeLiteral("CopySelectedStandsToClipboardImage"); + B.Type_fpq = A.typeLiteral("_$CopySelectedStandsToClipboardImage"); + B.List_QTi = A._setArrayType(makeConstList([B.Type_MYu, B.Type_fpq]), type$.JSArray_Type); + B.Type_SelectionRopeAddPoint_Ayr = A.typeLiteral("SelectionRopeAddPoint"); + B.Type__$SelectionRopeAddPoint_rgY = A.typeLiteral("_$SelectionRopeAddPoint"); + B.List_QW2 = A._setArrayType(makeConstList([B.Type_SelectionRopeAddPoint_Ayr, B.Type__$SelectionRopeAddPoint_rgY]), type$.JSArray_Type); + B.Type_LoadingDialogHide_Q0v = A.typeLiteral("LoadingDialogHide"); + B.Type__$LoadingDialogHide_1s4 = A.typeLiteral("_$LoadingDialogHide"); + B.List_QWS = A._setArrayType(makeConstList([B.Type_LoadingDialogHide_Q0v, B.Type__$LoadingDialogHide_1s4]), type$.JSArray_Type); + B.Type_HelixMajorTicksChangeAll_mT8 = A.typeLiteral("HelixMajorTicksChangeAll"); + B.Type__$HelixMajorTicksChangeAll_Q8r = A.typeLiteral("_$HelixMajorTicksChangeAll"); + B.List_Qfu = A._setArrayType(makeConstList([B.Type_HelixMajorTicksChangeAll_mT8, B.Type__$HelixMajorTicksChangeAll_Q8r]), type$.JSArray_Type); + B.Type_ModificationEdit_Hbf = A.typeLiteral("ModificationEdit"); + B.Type__$ModificationEdit_YfA = A.typeLiteral("_$ModificationEdit"); + B.List_Qtz = A._setArrayType(makeConstList([B.Type_ModificationEdit_Hbf, B.Type__$ModificationEdit_YfA]), type$.JSArray_Type); + B.Type_LoadDNAFile_GFv = A.typeLiteral("LoadDNAFile"); + B.Type__$LoadDNAFile_0d5 = A.typeLiteral("_$LoadDNAFile"); + B.List_Qwp = A._setArrayType(makeConstList([B.Type_LoadDNAFile_GFv, B.Type__$LoadDNAFile_0d5]), type$.JSArray_Type); + B.Type_ResetLocalStorage_bxS = A.typeLiteral("ResetLocalStorage"); + B.Type__$ResetLocalStorage_Ya9 = A.typeLiteral("_$ResetLocalStorage"); + B.List_R39 = A._setArrayType(makeConstList([B.Type_ResetLocalStorage_bxS, B.Type__$ResetLocalStorage_Ya9]), type$.JSArray_Type); + B.Type_SelectionBoxCreate_wzu = A.typeLiteral("SelectionBoxCreate"); + B.Type__$SelectionBoxCreate_eAf = A.typeLiteral("_$SelectionBoxCreate"); + B.List_SJP = A._setArrayType(makeConstList([B.Type_SelectionBoxCreate_wzu, B.Type__$SelectionBoxCreate_eAf]), type$.JSArray_Type); + B.List_SMJ0 = A._setArrayType(makeConstList([23, 114, 69, 56, 80, 144]), type$.JSArray_int); + B.List_SMJ = A._setArrayType(makeConstList([49, 65, 89, 38, 83, 89]), type$.JSArray_int); + B.Type_HelixMinOffsetSetByDomains_SVv = A.typeLiteral("HelixMinOffsetSetByDomains"); + B.Type__$HelixMinOffsetSetByDomains_cMb = A.typeLiteral("_$HelixMinOffsetSetByDomains"); + B.List_SVp = A._setArrayType(makeConstList([B.Type_HelixMinOffsetSetByDomains_SVv, B.Type__$HelixMinOffsetSetByDomains_cMb]), type$.JSArray_Type); + B.Type_Ligate_JMV = A.typeLiteral("Ligate"); + B.Type__$Ligate_Quk = A.typeLiteral("_$Ligate"); + B.List_SdN = A._setArrayType(makeConstList([B.Type_Ligate_JMV, B.Type__$Ligate_Quk]), type$.JSArray_Type); + B.List_Sry = A._setArrayType(makeConstList([0, 1, 3, 7, 15, 31, 63, 127, 255]), type$.JSArray_int); + B.Type_EQM = A.typeLiteral("OxExportOnlySelectedStrandsSet"); + B.Type_qpm = A.typeLiteral("_$OxExportOnlySelectedStrandsSet"); + B.List_T7q = A._setArrayType(makeConstList([B.Type_EQM, B.Type_qpm]), type$.JSArray_Type); + B.Type__$Domain_mFg = A.typeLiteral("_$Domain"); + B.List_TDf = A._setArrayType(makeConstList([B.Type_Domain_0, B.Type__$Domain_mFg]), type$.JSArray_Type); + B.Type_HelixMajorTickStartChangeAll_4CA = A.typeLiteral("HelixMajorTickStartChangeAll"); + B.Type_cdS0 = A.typeLiteral("_$HelixMajorTickStartChangeAll"); + B.List_TDs = A._setArrayType(makeConstList([B.Type_HelixMajorTickStartChangeAll_4CA, B.Type_cdS0]), type$.JSArray_Type); + B.List_Type_BasePairDisplayType_SPQ = A._setArrayType(makeConstList([B.Type_BasePairDisplayType_SPQ]), type$.JSArray_Type); + B.List_Type_DNAFileType_5uU = A._setArrayType(makeConstList([B.Type_DNAFileType_5uU]), type$.JSArray_Type); + B.Type_DNASequencePredefined_WWf = A.typeLiteral("DNASequencePredefined"); + B.List_Type_DNASequencePredefined_WWf = A._setArrayType(makeConstList([B.Type_DNASequencePredefined_WWf]), type$.JSArray_Type); + B.List_Type_DialogType_9t4 = A._setArrayType(makeConstList([B.Type_DialogType_9t4]), type$.JSArray_Type); + B.List_Type_EditModeChoice_Z3F = A._setArrayType(makeConstList([B.Type_EditModeChoice_Z3F]), type$.JSArray_Type); + B.List_Type_ExportDNAFormat_Sw4 = A._setArrayType(makeConstList([B.Type_ExportDNAFormat_Sw4]), type$.JSArray_Type); + B.List_Type_Grid_6D4 = A._setArrayType(makeConstList([B.Type_Grid_6D4]), type$.JSArray_Type); + B.List_Type_LocalStorageDesignOption_CV7 = A._setArrayType(makeConstList([B.Type_LocalStorageDesignOption_CV7]), type$.JSArray_Type); + B.Type_ModificationType_Cfz = A.typeLiteral("ModificationType"); + B.List_Type_ModificationType_Cfz = A._setArrayType(makeConstList([B.Type_ModificationType_Cfz]), type$.JSArray_Type); + B.List_Type_SelectModeChoice_N4X = A._setArrayType(makeConstList([B.Type_SelectModeChoice_N4X]), type$.JSArray_Type); + B.List_Type_SelectableTrait_oWu = A._setArrayType(makeConstList([B.Type_SelectableTrait_oWu]), type$.JSArray_Type); + B.List_Type_StrandOrder_UW6 = A._setArrayType(makeConstList([B.Type_StrandOrder_UW6]), type$.JSArray_Type); + B.Type_PrepareToLoadDNAFile_A4L = A.typeLiteral("PrepareToLoadDNAFile"); + B.Type__$PrepareToLoadDNAFile_n7k = A.typeLiteral("_$PrepareToLoadDNAFile"); + B.List_U43 = A._setArrayType(makeConstList([B.Type_PrepareToLoadDNAFile_A4L, B.Type__$PrepareToLoadDNAFile_n7k]), type$.JSArray_Type); + B.Type_6d7 = A.typeLiteral("DisplayReverseDNARightSideUpSet"); + B.Type_Xlz = A.typeLiteral("_$DisplayReverseDNARightSideUpSet"); + B.List_U4w = A._setArrayType(makeConstList([B.Type_6d7, B.Type_Xlz]), type$.JSArray_Type); + B.Type_Zsr = A.typeLiteral("HelixMinOffsetSetByDomainsAll"); + B.Type_MIo = A.typeLiteral("_$HelixMinOffsetSetByDomainsAll"); + B.List_UCB = A._setArrayType(makeConstList([B.Type_Zsr, B.Type_MIo]), type$.JSArray_Type); + B.Type_8FR = A.typeLiteral("SelectionBoxIntersectionRuleSet"); + B.Type_Mjv = A.typeLiteral("_$SelectionBoxIntersectionRuleSet"); + B.List_UQo = A._setArrayType(makeConstList([B.Type_8FR, B.Type_Mjv]), type$.JSArray_Type); + B.Type_DialogHide_qfd = A.typeLiteral("DialogHide"); + B.Type__$DialogHide_4AN = A.typeLiteral("_$DialogHide"); + B.List_UW2 = A._setArrayType(makeConstList([B.Type_DialogHide_qfd, B.Type__$DialogHide_4AN]), type$.JSArray_Type); + B.Type_Redo_QTP = A.typeLiteral("Redo"); + B.Type__$Redo_1O7 = A.typeLiteral("_$Redo"); + B.List_UeS = A._setArrayType(makeConstList([B.Type_Redo_QTP, B.Type__$Redo_1O7]), type$.JSArray_Type); + B.Type_GridChange_E3v = A.typeLiteral("GridChange"); + B.Type__$GridChange_aRS = A.typeLiteral("_$GridChange"); + B.List_Uoo = A._setArrayType(makeConstList([B.Type_GridChange_E3v, B.Type__$GridChange_aRS]), type$.JSArray_Type); + B.Type_ShowDomainNamesSet_aBG = A.typeLiteral("ShowDomainNamesSet"); + B.Type__$ShowDomainNamesSet_MMm = A.typeLiteral("_$ShowDomainNamesSet"); + B.List_Uzt = A._setArrayType(makeConstList([B.Type_ShowDomainNamesSet_aBG, B.Type__$ShowDomainNamesSet_MMm]), type$.JSArray_Type); + B.Type_DesignSideRotationParams_Drw = A.typeLiteral("DesignSideRotationParams"); + B.Type__$DesignSideRotationParams_yzN = A.typeLiteral("_$DesignSideRotationParams"); + B.List_V2D = A._setArrayType(makeConstList([B.Type_DesignSideRotationParams_Drw, B.Type__$DesignSideRotationParams_yzN]), type$.JSArray_Type); + B.List_VOY = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int); + B.List_Vet = 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_String); + B.Type_InvertYSet_qSb = A.typeLiteral("InvertYSet"); + B.Type__$InvertYSet_wnc = A.typeLiteral("_$InvertYSet"); + B.List_VxZ = A._setArrayType(makeConstList([B.Type_InvertYSet_qSb, B.Type__$InvertYSet_wnc]), type$.JSArray_Type); + B.Type__$SelectionBox_yT1 = A.typeLiteral("_$SelectionBox"); + B.List_W3i = A._setArrayType(makeConstList([B.Type_SelectionBox_In1, B.Type__$SelectionBox_yT1]), type$.JSArray_Type); + B.Type__$AppUIStateStorables_UZj = A.typeLiteral("_$AppUIStateStorables"); + B.List_WRr = A._setArrayType(makeConstList([B.Type_AppUIStateStorables_XVq, B.Type__$AppUIStateStorables_UZj]), type$.JSArray_Type); + B.Type_CopySelectedStrands_pRe = A.typeLiteral("CopySelectedStrands"); + B.Type__$CopySelectedStrands_atQ = A.typeLiteral("_$CopySelectedStrands"); + B.List_WVl = A._setArrayType(makeConstList([B.Type_CopySelectedStrands_pRe, B.Type__$CopySelectedStrands_atQ]), type$.JSArray_Type); + B.Type_SelectAllSelectable_Qkc = A.typeLiteral("SelectAllSelectable"); + B.Type__$SelectAllSelectable_aAc = A.typeLiteral("_$SelectAllSelectable"); + B.List_Wnj = A._setArrayType(makeConstList([B.Type_SelectAllSelectable_Qkc, B.Type__$SelectAllSelectable_aAc]), type$.JSArray_Type); 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_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_Type); - B.Type__$Domain_QAb = A.typeLiteral("_$Domain"); - B.List_9YS = A._setArrayType(makeConstList([B.Type_Domain_ECn, B.Type__$Domain_QAb]), type$.JSArray_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_Type); - B.Type__$DNAEndMove_5Qm = A.typeLiteral("_$DNAEndMove"); - B.List_A2Y = A._setArrayType(makeConstList([B.Type_DNAEndMove_brX, B.Type__$DNAEndMove_5Qm]), type$.JSArray_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_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_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_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_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_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_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_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_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_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_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_int); - B.Type__$Strand_UaF = A.typeLiteral("_$Strand"); - B.List_CC0 = A._setArrayType(makeConstList([B.Type_Strand_CKH, B.Type__$Strand_UaF]), type$.JSArray_Type); - B.Type__$Insertion_8bg = A.typeLiteral("_$Insertion"); - B.List_CJJ = A._setArrayType(makeConstList([B.Type_Insertion_Gxl, B.Type__$Insertion_8bg]), type$.JSArray_Type); - B.List_CVk = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_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_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_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_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_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_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_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_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_Type); - B.Type__$StrandsMove_knt = A.typeLiteral("_$StrandsMove"); - B.List_ECG0 = A._setArrayType(makeConstList([B.Type_StrandsMove_Icb, B.Type__$StrandsMove_knt]), type$.JSArray_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_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_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_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_int); - B.Type__$Dialog_rJT = A.typeLiteral("_$Dialog"); - B.List_FCG = A._setArrayType(makeConstList([B.Type_Dialog_eAf, B.Type__$Dialog_rJT]), type$.JSArray_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_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_Type); - B.Type_Dba0 = A.typeLiteral("_$SelectableModification5Prime"); - B.List_Fy50 = A._setArrayType(makeConstList([B.Type_SelectableModification5Prime_sBE, B.Type_Dba0]), type$.JSArray_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_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_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_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_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_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_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_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_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_Type); - B.Type__$ContextMenu_ouN = A.typeLiteral("_$ContextMenu"); - B.List_IAF = A._setArrayType(makeConstList([B.Type_ContextMenu_u5x, B.Type__$ContextMenu_ouN]), type$.JSArray_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_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_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_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_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_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_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_Type); - B.List_JYB = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); - B.Type__$Geometry_YZL = A.typeLiteral("_$Geometry"); - B.List_JYK = A._setArrayType(makeConstList([B.Type_Geometry_CC0, B.Type__$Geometry_YZL]), type$.JSArray_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_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_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_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_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_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_Type); - B.Type__$CopyInfo_ruJ = A.typeLiteral("_$CopyInfo"); - B.List_LU9 = A._setArrayType(makeConstList([B.Type_CopyInfo_aTW, B.Type__$CopyInfo_ruJ]), type$.JSArray_Type); - B.Type__$StrandCreation_cGl = A.typeLiteral("_$StrandCreation"); - B.List_Ltx = A._setArrayType(makeConstList([B.Type_StrandCreation_A2Y, B.Type__$StrandCreation_cGl]), type$.JSArray_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_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_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_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_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_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_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_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_Type); - B.Type__$PotentialCrossover_66S = A.typeLiteral("_$PotentialCrossover"); - B.List_Mli = A._setArrayType(makeConstList([B.Type_PotentialCrossover_RkP, B.Type__$PotentialCrossover_66S]), type$.JSArray_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_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_Type); - B.Type__$DNAExtensionMove_kaS = A.typeLiteral("_$DNAExtensionMove"); - B.List_NDM = A._setArrayType(makeConstList([B.Type_DNAExtensionMove_iVD, B.Type__$DNAExtensionMove_kaS]), type$.JSArray_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_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_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_Type); - B.Type__$Position3D_8o7 = A.typeLiteral("_$Position3D"); - B.List_Ns6 = A._setArrayType(makeConstList([B.Type_Position3D_kqK, B.Type__$Position3D_8o7]), type$.JSArray_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_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_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_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_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_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_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_Type); - B.Type__$LocalStorageDesignChoice_cOY = A.typeLiteral("_$LocalStorageDesignChoice"); - B.List_OzL = A._setArrayType(makeConstList([B.Type_LocalStorageDesignChoice_wMy, B.Type__$LocalStorageDesignChoice_cOY]), type$.JSArray_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_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_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_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]), type$.JSArray_SelectableTrait); - 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_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_Type); - B.Type__$Modification3Prime_EyN = A.typeLiteral("_$Modification3Prime"); - B.List_Qkz = A._setArrayType(makeConstList([B.Type_Modification3Prime_wsa, B.Type__$Modification3Prime_EyN]), type$.JSArray_Type); - B.Type__$Modification5Prime_EyN = A.typeLiteral("_$Modification5Prime"); - B.List_Qkz0 = A._setArrayType(makeConstList([B.Type_Modification5Prime_wsa, B.Type__$Modification5Prime_EyN]), type$.JSArray_Type); - B.Type__$MouseoverData_g78 = A.typeLiteral("_$MouseoverData"); - B.List_Qw7 = A._setArrayType(makeConstList([B.Type_MouseoverData_qTC, B.Type__$MouseoverData_g78]), type$.JSArray_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_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_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_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_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_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_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_Type); - B.List_Type_BasePairDisplayType_hjk = A._setArrayType(makeConstList([B.Type_BasePairDisplayType_hjk]), type$.JSArray_Type); - B.List_Type_DNAFileType_bQh = A._setArrayType(makeConstList([B.Type_DNAFileType_bQh]), type$.JSArray_Type); - B.Type_DNASequencePredefined_1Sb = A.typeLiteral("DNASequencePredefined"); - B.List_Type_DNASequencePredefined_1Sb = A._setArrayType(makeConstList([B.Type_DNASequencePredefined_1Sb]), type$.JSArray_Type); - B.List_Type_DialogType_Zuq = A._setArrayType(makeConstList([B.Type_DialogType_Zuq]), type$.JSArray_Type); - B.List_Type_EditModeChoice_hod = A._setArrayType(makeConstList([B.Type_EditModeChoice_hod]), type$.JSArray_Type); - B.List_Type_ExportDNAFormat_QK8 = A._setArrayType(makeConstList([B.Type_ExportDNAFormat_QK8]), type$.JSArray_Type); - B.List_Type_Grid_zSh = A._setArrayType(makeConstList([B.Type_Grid_zSh]), type$.JSArray_Type); - B.List_Type_LocalStorageDesignOption_xgQ = A._setArrayType(makeConstList([B.Type_LocalStorageDesignOption_xgQ]), type$.JSArray_Type); - B.Type_ModificationType_EWG = A.typeLiteral("ModificationType"); - B.List_Type_ModificationType_EWG = A._setArrayType(makeConstList([B.Type_ModificationType_EWG]), type$.JSArray_Type); - B.List_Type_SelectModeChoice_a75 = A._setArrayType(makeConstList([B.Type_SelectModeChoice_a75]), type$.JSArray_Type); - B.List_Type_SelectableTrait_SXj = A._setArrayType(makeConstList([B.Type_SelectableTrait_SXj]), type$.JSArray_Type); - B.List_Type_StrandOrder_Jrj = A._setArrayType(makeConstList([B.Type_StrandOrder_Jrj]), type$.JSArray_Type); - 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_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_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_Type); - B.Type__$SelectablesStore_mdj = A.typeLiteral("_$SelectablesStore"); - B.List_U8I = A._setArrayType(makeConstList([B.Type_SelectablesStore_xd9, B.Type__$SelectablesStore_mdj]), type$.JSArray_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_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_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_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_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_Type); - B.Type__$SelectionRope_2No = A.typeLiteral("_$SelectionRope"); - B.List_VQM = A._setArrayType(makeConstList([B.Type_SelectionRope_0Rd, B.Type__$SelectionRope_2No]), type$.JSArray_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Type); - B.List_Zyt = A._setArrayType(makeConstList(["getDerivedStateFromError", "componentDidCatch"]), type$.JSArray_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Type); + B.List_WrT = A._setArrayType(makeConstList([B.Storable_design, B.Storable_app_ui_state_storables]), A.findType("JSArray")); + B.Type_DomainNameMismatch_W0P = A.typeLiteral("DomainNameMismatch"); + B.Type__$DomainNameMismatch_mja = A.typeLiteral("_$DomainNameMismatch"); + B.List_Wrl = A._setArrayType(makeConstList([B.Type_DomainNameMismatch_W0P, B.Type__$DomainNameMismatch_mja]), type$.JSArray_Type); + B.List_Wv6 = 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_int); + B.Type_MoveHelicesToGroup_SsP = A.typeLiteral("MoveHelicesToGroup"); + B.Type__$MoveHelicesToGroup_Tr4 = A.typeLiteral("_$MoveHelicesToGroup"); + B.List_WvZ = A._setArrayType(makeConstList([B.Type_MoveHelicesToGroup_SsP, B.Type__$MoveHelicesToGroup_Tr4]), type$.JSArray_Type); + B.Type__$HelixGroupMove_Amv = A.typeLiteral("_$HelixGroupMove"); + B.List_Xq4 = A._setArrayType(makeConstList([B.Type_HelixGroupMove_kxe, B.Type__$HelixGroupMove_Amv]), type$.JSArray_Type); + B.Type_44R = A.typeLiteral("_$SelectableModification3Prime"); + B.List_YD5 = A._setArrayType(makeConstList([B.Type_SelectableModification3Prime_OIB, B.Type_44R]), type$.JSArray_Type); + B.Type_44R0 = A.typeLiteral("_$SelectableModification5Prime"); + B.List_YD50 = A._setArrayType(makeConstList([B.Type_SelectableModification5Prime_OIB, B.Type_44R0]), type$.JSArray_Type); + B.Type_SaveDNAFile_cwF = A.typeLiteral("SaveDNAFile"); + B.Type__$SaveDNAFile_Dur = A.typeLiteral("_$SaveDNAFile"); + B.List_YmM = A._setArrayType(makeConstList([B.Type_SaveDNAFile_cwF, B.Type__$SaveDNAFile_Dur]), type$.JSArray_Type); + B.Type__$DNAEndsMove_u72 = A.typeLiteral("_$DNAEndsMove"); + B.List_YsN = A._setArrayType(makeConstList([B.Type_DNAEndsMove_4ZJ, B.Type__$DNAEndsMove_u72]), type$.JSArray_Type); + B.List_YyJ = 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_int); + B.Type_ZoomSpeedSet_EOZ = A.typeLiteral("ZoomSpeedSet"); + B.Type__$ZoomSpeedSet_cc6 = A.typeLiteral("_$ZoomSpeedSet"); + B.List_Yyq = A._setArrayType(makeConstList([B.Type_ZoomSpeedSet_EOZ, B.Type__$ZoomSpeedSet_cc6]), type$.JSArray_Type); + B.Type_Autostaple_62o = A.typeLiteral("Autostaple"); + B.Type__$Autostaple_Z0b = A.typeLiteral("_$Autostaple"); + B.List_ZRC = A._setArrayType(makeConstList([B.Type_Autostaple_62o, B.Type__$Autostaple_Z0b]), type$.JSArray_Type); + B.Type_DomainsMoveAdjustAddress_7N7 = A.typeLiteral("DomainsMoveAdjustAddress"); + B.Type__$DomainsMoveAdjustAddress_rPf = A.typeLiteral("_$DomainsMoveAdjustAddress"); + B.List_ZVc = A._setArrayType(makeConstList([B.Type_DomainsMoveAdjustAddress_7N7, B.Type__$DomainsMoveAdjustAddress_rPf]), type$.JSArray_Type); + B.Type_ShowMouseoverDataSet_OT7 = A.typeLiteral("ShowMouseoverDataSet"); + B.Type__$ShowMouseoverDataSet_our = A.typeLiteral("_$ShowMouseoverDataSet"); + B.List_Zo9 = A._setArrayType(makeConstList([B.Type_ShowMouseoverDataSet_OT7, B.Type__$ShowMouseoverDataSet_our]), type$.JSArray_Type); + B.Type__$Position3D_AHF = A.typeLiteral("_$Position3D"); + B.List_ZrR = A._setArrayType(makeConstList([B.Type_Position3D_o7h, B.Type__$Position3D_AHF]), type$.JSArray_Type); + B.Type_SliceBarOffsetSet_gRf = A.typeLiteral("SliceBarOffsetSet"); + B.Type__$SliceBarOffsetSet_E8w = A.typeLiteral("_$SliceBarOffsetSet"); + B.List_aWd0 = A._setArrayType(makeConstList([B.Type_SliceBarOffsetSet_gRf, B.Type__$SliceBarOffsetSet_E8w]), type$.JSArray_Type); + B.List_aWd = 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_int); + B.Type_8gb = A.typeLiteral("DomainsMoveStartSelectedDomains"); + B.Type_3bx = A.typeLiteral("_$DomainsMoveStartSelectedDomains"); + B.List_aZS = A._setArrayType(makeConstList([B.Type_8gb, B.Type_3bx]), type$.JSArray_Type); + B.Type_InsertionAdd_0 = A.typeLiteral("InsertionAdd"); + B.Type__$InsertionAdd_qBb = A.typeLiteral("_$InsertionAdd"); + B.List_ali = A._setArrayType(makeConstList([B.Type_InsertionAdd_0, B.Type__$InsertionAdd_qBb]), type$.JSArray_Type); + B.Type_StrandsMoveStart_0 = A.typeLiteral("StrandsMoveStart"); + B.Type__$StrandsMoveStart_uwZ = A.typeLiteral("_$StrandsMoveStart"); + B.List_apf = A._setArrayType(makeConstList([B.Type_StrandsMoveStart_0, B.Type__$StrandsMoveStart_uwZ]), type$.JSArray_Type); + B.Type_sMR = A.typeLiteral("ModificationConnectorLengthSet"); + B.Type_Nol = A.typeLiteral("_$ModificationConnectorLengthSet"); + B.List_ato = A._setArrayType(makeConstList([B.Type_sMR, B.Type_Nol]), type$.JSArray_Type); + B.Type_UndoRedoItem_gWg = A.typeLiteral("UndoRedoItem"); + B.Type__$UndoRedoItem_CV9 = A.typeLiteral("_$UndoRedoItem"); + B.List_avb = A._setArrayType(makeConstList([B.Type_UndoRedoItem_gWg, B.Type__$UndoRedoItem_CV9]), type$.JSArray_Type); + B.Type_ShowAxisArrowsSet_7v8 = A.typeLiteral("ShowAxisArrowsSet"); + B.Type__$ShowAxisArrowsSet_7F1 = A.typeLiteral("_$ShowAxisArrowsSet"); + B.List_b9U = A._setArrayType(makeConstList([B.Type_ShowAxisArrowsSet_7v8, B.Type__$ShowAxisArrowsSet_7F1]), type$.JSArray_Type); + B.Type_HelixRollSetAtOther_w97 = A.typeLiteral("HelixRollSetAtOther"); + B.Type__$HelixRollSetAtOther_m5d = A.typeLiteral("_$HelixRollSetAtOther"); + B.List_bFi = A._setArrayType(makeConstList([B.Type_HelixRollSetAtOther_w97, B.Type__$HelixRollSetAtOther_m5d]), type$.JSArray_Type); + B.List_bh5 = A._setArrayType(makeConstList([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]), type$.JSArray_int); + B.Type_mf7 = A.typeLiteral("HelixMaxOffsetSetByDomainsAllSameMax"); + B.Type_EGl = A.typeLiteral("_$HelixMaxOffsetSetByDomainsAllSameMax"); + B.List_blY = A._setArrayType(makeConstList([B.Type_mf7, B.Type_EGl]), type$.JSArray_Type); + B.Type_SetDisplayMajorTickWidths_76I = A.typeLiteral("SetDisplayMajorTickWidths"); + B.Type__$SetDisplayMajorTickWidths_qxi = A.typeLiteral("_$SetDisplayMajorTickWidths"); + B.List_bns = A._setArrayType(makeConstList([B.Type_SetDisplayMajorTickWidths_76I, B.Type__$SetDisplayMajorTickWidths_qxi]), type$.JSArray_Type); + B.Type__$ExampleDesigns_Ucj = A.typeLiteral("_$ExampleDesigns"); + B.List_c4R = A._setArrayType(makeConstList([B.Type_ExampleDesigns_GJy, B.Type__$ExampleDesigns_Ucj]), type$.JSArray_Type); + B.List_chs = 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]), type$.JSArray_EditModeChoice); + B.Type_vdM = A.typeLiteral("_$SelectableModificationInternal"); + B.List_ckq = A._setArrayType(makeConstList([B.Type_D9d, B.Type_vdM]), type$.JSArray_Type); + B.Type__$GridPosition_U86 = A.typeLiteral("_$GridPosition"); + B.List_dVd = A._setArrayType(makeConstList([B.Type_GridPosition_Ohc, B.Type__$GridPosition_U86]), type$.JSArray_Type); + B.Type_GroupAdd_2Vk = A.typeLiteral("GroupAdd"); + B.Type__$GroupAdd_Fb0 = A.typeLiteral("_$GroupAdd"); + B.List_dgA = A._setArrayType(makeConstList([B.Type_GroupAdd_2Vk, B.Type__$GroupAdd_Fb0]), type$.JSArray_Type); + B.Type_PotentialCrossoverMove_vZ7 = A.typeLiteral("PotentialCrossoverMove"); + B.Type__$PotentialCrossoverMove_Zyo = A.typeLiteral("_$PotentialCrossoverMove"); + B.List_dkG = A._setArrayType(makeConstList([B.Type_PotentialCrossoverMove_vZ7, B.Type__$PotentialCrossoverMove_Zyo]), type$.JSArray_Type); B.List_dna_json = A._setArrayType(makeConstList(["dna", "json"]), type$.JSArray_String); B.List_dna_sequence = A._setArrayType(makeConstList(["dna_sequence"]), type$.JSArray_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_Type); - B.Type__$Extension_oMs = A.typeLiteral("_$Extension"); - B.List_eAf = A._setArrayType(makeConstList([B.Type_Extension_dwE, B.Type__$Extension_oMs]), type$.JSArray_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_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_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_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_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_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_String); + B.Type_OxviewExport_SZl = A.typeLiteral("OxviewExport"); + B.Type__$OxviewExport_i7B = A.typeLiteral("_$OxviewExport"); + B.List_eAG = A._setArrayType(makeConstList([B.Type_OxviewExport_SZl, B.Type__$OxviewExport_i7B]), type$.JSArray_Type); + B.Type_MouseGridPositionSideUpdate_oGx = A.typeLiteral("MouseGridPositionSideUpdate"); + B.Type_g3y = A.typeLiteral("_$MouseGridPositionSideUpdate"); + B.List_eAf = A._setArrayType(makeConstList([B.Type_MouseGridPositionSideUpdate_oGx, B.Type_g3y]), type$.JSArray_Type); + B.Type_SelectionsClear_Q6W = A.typeLiteral("SelectionsClear"); + B.Type__$SelectionsClear_AGs = A.typeLiteral("_$SelectionsClear"); + B.List_eRp = A._setArrayType(makeConstList([B.Type_SelectionsClear_Q6W, B.Type__$SelectionsClear_AGs]), type$.JSArray_Type); + B.Type__$LocalStorageDesignChoice_SOW = A.typeLiteral("_$LocalStorageDesignChoice"); + B.List_eT2 = A._setArrayType(makeConstList([B.Type_LocalStorageDesignChoice_uhU, B.Type__$LocalStorageDesignChoice_SOW]), type$.JSArray_Type); + B.Type_yrD = A.typeLiteral("ShowLoopoutExtensionLengthSet"); + B.Type_Gxl = A.typeLiteral("_$ShowLoopoutExtensionLengthSet"); + B.List_eg9 = A._setArrayType(makeConstList([B.Type_yrD, B.Type_Gxl]), type$.JSArray_Type); + B.Type_MousePositionSideClear_86y = A.typeLiteral("MousePositionSideClear"); + B.Type__$MousePositionSideClear_IfV = A.typeLiteral("_$MousePositionSideClear"); + B.List_elY = A._setArrayType(makeConstList([B.Type_MousePositionSideClear_86y, B.Type__$MousePositionSideClear_IfV]), type$.JSArray_Type); B.List_empty6 = A._setArrayType(makeConstList([]), A.findType("JSArray<@(Store,@,@(@))>")); B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_Iterable_int); B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_Parser_dynamic); @@ -160093,528 +158867,557 @@ B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_XmlAttribute); B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_XmlNode); B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_dynamic); - 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_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_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_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_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_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_Type); - B.List_gRj = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_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_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_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_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_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_Type); - B.Type__$Crossover_mpd = A.typeLiteral("_$Crossover"); - B.List_go8 = A._setArrayType(makeConstList([B.Type_Crossover_w3m, B.Type__$Crossover_mpd]), type$.JSArray_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_Type); - B.Type__$DNAExtensionsMove_ES1 = A.typeLiteral("_$DNAExtensionsMove"); - B.List_grL = A._setArrayType(makeConstList([B.Type_DNAExtensionsMove_0My, B.Type__$DNAExtensionsMove_ES1]), type$.JSArray_Type); + B.List_empty8 = A._setArrayType(makeConstList([]), A.findType("JSArray")); + B.Type__$DNAEndMove_OY7 = A.typeLiteral("_$DNAEndMove"); + B.List_fL6 = A._setArrayType(makeConstList([B.Type_DNAEndMove_YfA, B.Type__$DNAEndMove_OY7]), type$.JSArray_Type); + B.Type_Zaf = A.typeLiteral("SetModificationDisplayConnector"); + B.Type_ehu = A.typeLiteral("_$SetModificationDisplayConnector"); + B.List_fVV = A._setArrayType(makeConstList([B.Type_Zaf, B.Type_ehu]), type$.JSArray_Type); + B.Type__$Helix_wZL = A.typeLiteral("_$Helix"); + B.List_fkJ = A._setArrayType(makeConstList([B.Type_Helix_MuY, B.Type__$Helix_wZL]), type$.JSArray_Type); + B.Type_DNAEndsMoveSetSelectedEnds_2jN = A.typeLiteral("DNAEndsMoveSetSelectedEnds"); + B.Type__$DNAEndsMoveSetSelectedEnds_MLT = A.typeLiteral("_$DNAEndsMoveSetSelectedEnds"); + B.List_g3y = A._setArrayType(makeConstList([B.Type_DNAEndsMoveSetSelectedEnds_2jN, B.Type__$DNAEndsMoveSetSelectedEnds_MLT]), type$.JSArray_Type); + B.Type_ModificationFontSizeSet_fGb = A.typeLiteral("ModificationFontSizeSet"); + B.Type__$ModificationFontSizeSet_M2D = A.typeLiteral("_$ModificationFontSizeSet"); + B.List_g8g = A._setArrayType(makeConstList([B.Type_ModificationFontSizeSet_fGb, B.Type__$ModificationFontSizeSet_M2D]), type$.JSArray_Type); + B.Type_DNAExtensionsMoveCommit_h76 = A.typeLiteral("DNAExtensionsMoveCommit"); + B.Type__$DNAExtensionsMoveCommit_0 = A.typeLiteral("_$DNAExtensionsMoveCommit"); + B.List_gMW = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveCommit_h76, B.Type__$DNAExtensionsMoveCommit_0]), type$.JSArray_Type); + B.Type_DialogShow_O9d = A.typeLiteral("DialogShow"); + B.Type__$DialogShow_ECL = A.typeLiteral("_$DialogShow"); + B.List_gRf = A._setArrayType(makeConstList([B.Type_DialogShow_O9d, B.Type__$DialogShow_ECL]), type$.JSArray_Type); + B.Type_Modifications5PrimeEdit_sAl = A.typeLiteral("Modifications5PrimeEdit"); + B.Type__$Modifications5PrimeEdit_qhZ = A.typeLiteral("_$Modifications5PrimeEdit"); + B.List_gSF = A._setArrayType(makeConstList([B.Type_Modifications5PrimeEdit_sAl, B.Type__$Modifications5PrimeEdit_qhZ]), type$.JSArray_Type); + B.Type_StrandPasteKeepColorSet_pqb = A.typeLiteral("StrandPasteKeepColorSet"); + B.Type__$StrandPasteKeepColorSet_CjA = A.typeLiteral("_$StrandPasteKeepColorSet"); + B.List_gVf = A._setArrayType(makeConstList([B.Type_StrandPasteKeepColorSet_pqb, B.Type__$StrandPasteKeepColorSet_CjA]), type$.JSArray_Type); + B.Type_gg4 = A.typeLiteral("DefaultCrossoverTypeForSettingHelixRollsSet"); + B.Type_q3P = A.typeLiteral("_$DefaultCrossoverTypeForSettingHelixRollsSet"); + B.List_gg4 = A._setArrayType(makeConstList([B.Type_gg4, B.Type_q3P]), type$.JSArray_Type); + B.Type__$ModificationInternal_2uL = A.typeLiteral("_$ModificationInternal"); + B.List_gg40 = A._setArrayType(makeConstList([B.Type_ModificationInternal_YEQ, B.Type__$ModificationInternal_2uL]), type$.JSArray_Type); B.List_groove_angle = A._setArrayType(makeConstList(["groove_angle"]), type$.JSArray_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_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_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_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_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_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_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_int); - B.Type__$GridPosition_aU7 = A.typeLiteral("_$GridPosition"); - B.List_ibp = A._setArrayType(makeConstList([B.Type_GridPosition_IuH, B.Type__$GridPosition_aU7]), type$.JSArray_Type); + B.Type_LoopoutsLengthChange_xw8 = A.typeLiteral("LoopoutsLengthChange"); + B.Type__$LoopoutsLengthChange_UAT = A.typeLiteral("_$LoopoutsLengthChange"); + B.List_gsm0 = A._setArrayType(makeConstList([B.Type_LoopoutsLengthChange_xw8, B.Type__$LoopoutsLengthChange_UAT]), type$.JSArray_Type); + B.Type_ShowHelixCirclesMainViewSet_8Gl = A.typeLiteral("ShowHelixCirclesMainViewSet"); + B.Type_YjD = A.typeLiteral("_$ShowHelixCirclesMainViewSet"); + B.List_gzW = A._setArrayType(makeConstList([B.Type_ShowHelixCirclesMainViewSet_8Gl, B.Type_YjD]), type$.JSArray_Type); + B.Type_SelectionRopeMouseMove_wsa = A.typeLiteral("SelectionRopeMouseMove"); + B.Type__$SelectionRopeMouseMove_wEs = A.typeLiteral("_$SelectionRopeMouseMove"); + B.List_hLM = A._setArrayType(makeConstList([B.Type_SelectionRopeMouseMove_wsa, B.Type__$SelectionRopeMouseMove_wEs]), type$.JSArray_Type); + B.Type_InsertionsLengthChange_12e = A.typeLiteral("InsertionsLengthChange"); + B.Type__$InsertionsLengthChange_Hsm = A.typeLiteral("_$InsertionsLengthChange"); + B.List_hLc = A._setArrayType(makeConstList([B.Type_InsertionsLengthChange_12e, B.Type__$InsertionsLengthChange_Hsm]), type$.JSArray_Type); + B.Type_HelixOffsetChange_Ox4 = A.typeLiteral("HelixOffsetChange"); + B.Type__$HelixOffsetChange_86y = A.typeLiteral("_$HelixOffsetChange"); + B.List_iDZ = A._setArrayType(makeConstList([B.Type_HelixOffsetChange_Ox4, B.Type__$HelixOffsetChange_86y]), type$.JSArray_Type); + B.Type_SubstrandLabelSet_dTP = A.typeLiteral("SubstrandLabelSet"); + B.Type__$SubstrandLabelSet_MYA = A.typeLiteral("_$SubstrandLabelSet"); + B.List_iL9 = A._setArrayType(makeConstList([B.Type_SubstrandLabelSet_dTP, B.Type__$SubstrandLabelSet_MYA]), type$.JSArray_Type); + B.Type_InlineInsertionsDeletions_kml = A.typeLiteral("InlineInsertionsDeletions"); + B.Type__$InlineInsertionsDeletions_QXg = A.typeLiteral("_$InlineInsertionsDeletions"); + B.List_iS5 = A._setArrayType(makeConstList([B.Type_InlineInsertionsDeletions_kml, B.Type__$InlineInsertionsDeletions_QXg]), type$.JSArray_Type); + B.Type_UndoRedoClear_8Gl = A.typeLiteral("UndoRedoClear"); + B.Type__$UndoRedoClear_XKW = A.typeLiteral("_$UndoRedoClear"); + B.List_ibp = A._setArrayType(makeConstList([B.Type_UndoRedoClear_8Gl, B.Type__$UndoRedoClear_XKW]), type$.JSArray_Type); B.List_idt = A._setArrayType(makeConstList(["idt"]), type$.JSArray_String); B.List_idt_text = A._setArrayType(makeConstList(["idt_text"]), type$.JSArray_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_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_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_Type); - B.List_in0 = A._setArrayType(makeConstList(["font-size", "font-family", "font-weight", "text-anchor", "dominant-baseline", "fill", "letter-spacing"]), type$.JSArray_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_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_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_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_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_Type); - B.Type__$MouseoverParams_3GN = A.typeLiteral("_$MouseoverParams"); - B.List_jlU = A._setArrayType(makeConstList([B.Type_MouseoverParams_ArU, B.Type__$MouseoverParams_3GN]), type$.JSArray_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_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_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_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_Type); + B.Type_MouseoverDataClear_gg4 = A.typeLiteral("MouseoverDataClear"); + B.Type__$MouseoverDataClear_u8d = A.typeLiteral("_$MouseoverDataClear"); + B.List_inH0 = A._setArrayType(makeConstList([B.Type_MouseoverDataClear_gg4, B.Type__$MouseoverDataClear_u8d]), type$.JSArray_Type); + B.List_inH = A._setArrayType(makeConstList([B.BasePairDisplayType_none, B.BasePairDisplayType_lines, B.BasePairDisplayType_rectangle]), A.findType("JSArray")); + B.Type__$Modification3Prime_iL9 = A.typeLiteral("_$Modification3Prime"); + B.List_iuz = A._setArrayType(makeConstList([B.Type_Modification3Prime_p0S, B.Type__$Modification3Prime_iL9]), type$.JSArray_Type); + B.Type__$Modification5Prime_iL9 = A.typeLiteral("_$Modification5Prime"); + B.List_iuz0 = A._setArrayType(makeConstList([B.Type_Modification5Prime_p0S, B.Type__$Modification5Prime_iL9]), type$.JSArray_Type); + B.Type_ShowMouseoverRectToggle_8aB = A.typeLiteral("ShowMouseoverRectToggle"); + B.Type__$ShowMouseoverRectToggle_Cnt = A.typeLiteral("_$ShowMouseoverRectToggle"); + B.List_ivT = A._setArrayType(makeConstList([B.Type_ShowMouseoverRectToggle_8aB, B.Type__$ShowMouseoverRectToggle_Cnt]), type$.JSArray_Type); + B.Type_MousePositionSideUpdate_mKc = A.typeLiteral("MousePositionSideUpdate"); + B.Type__$MousePositionSideUpdate_1bB = A.typeLiteral("_$MousePositionSideUpdate"); + B.List_j7r = A._setArrayType(makeConstList([B.Type_MousePositionSideUpdate_mKc, B.Type__$MousePositionSideUpdate_1bB]), type$.JSArray_Type); + B.Type_HelixRollSet_jwK = A.typeLiteral("HelixRollSet"); + B.Type__$HelixRollSet_ns9 = A.typeLiteral("_$HelixRollSet"); + B.List_j94 = A._setArrayType(makeConstList([B.Type_HelixRollSet_jwK, B.Type__$HelixRollSet_ns9]), type$.JSArray_Type); + B.Type_ShowDomainLabelsSet_zba = A.typeLiteral("ShowDomainLabelsSet"); + B.Type__$ShowDomainLabelsSet_0 = A.typeLiteral("_$ShowDomainLabelsSet"); + B.List_jGK = A._setArrayType(makeConstList([B.Type_ShowDomainLabelsSet_zba, B.Type__$ShowDomainLabelsSet_0]), type$.JSArray_Type); + B.Type_ShowBasePairLinesSet_ESz = A.typeLiteral("ShowBasePairLinesSet"); + B.Type__$ShowBasePairLinesSet_Zyo = A.typeLiteral("_$ShowBasePairLinesSet"); + B.List_jjl = A._setArrayType(makeConstList([B.Type_ShowBasePairLinesSet_ESz, B.Type__$ShowBasePairLinesSet_Zyo]), type$.JSArray_Type); + B.Type_OxdnaExport_iDZ = A.typeLiteral("OxdnaExport"); + B.Type__$OxdnaExport_1yC = A.typeLiteral("_$OxdnaExport"); + B.List_kMT = A._setArrayType(makeConstList([B.Type_OxdnaExport_iDZ, B.Type__$OxdnaExport_1yC]), type$.JSArray_Type); + B.Type_StrandsMoveCommit_CLo = A.typeLiteral("StrandsMoveCommit"); + B.Type__$StrandsMoveCommit_oEy = A.typeLiteral("_$StrandsMoveCommit"); + B.List_kPa = A._setArrayType(makeConstList([B.Type_StrandsMoveCommit_CLo, B.Type__$StrandsMoveCommit_oEy]), type$.JSArray_Type); + B.Type_DomainLabelFontSizeSet_ylm = A.typeLiteral("DomainLabelFontSizeSet"); + B.Type__$DomainLabelFontSizeSet_GFc = A.typeLiteral("_$DomainLabelFontSizeSet"); + B.List_kUh = A._setArrayType(makeConstList([B.Type_DomainLabelFontSizeSet_ylm, B.Type__$DomainLabelFontSizeSet_GFc]), type$.JSArray_Type); B.List_key_ref_children = A._setArrayType(makeConstList(["key", "ref", "children"]), type$.JSArray_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_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_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_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_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_Type); - B.List_knt = A._setArrayType(makeConstList([0, 1, 3, 7, 15, 31, 63, 127, 255]), type$.JSArray_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_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_Type); - B.Type__$Address_wPM = A.typeLiteral("_$Address"); - B.List_liY = A._setArrayType(makeConstList([B.Type_Address_WHr, B.Type__$Address_wPM]), type$.JSArray_Type); + B.Type__$DNAAssignOptions_jvI = A.typeLiteral("_$DNAAssignOptions"); + B.List_kil = A._setArrayType(makeConstList([B.Type_DNAAssignOptions_6Do, B.Type__$DNAAssignOptions_jvI]), type$.JSArray_Type); + B.Type_MajorTickOffsetFontSizeSet_E4y = A.typeLiteral("MajorTickOffsetFontSizeSet"); + B.Type__$MajorTickOffsetFontSizeSet_0 = A.typeLiteral("_$MajorTickOffsetFontSizeSet"); + B.List_kqK = A._setArrayType(makeConstList([B.Type_MajorTickOffsetFontSizeSet_E4y, B.Type__$MajorTickOffsetFontSizeSet_0]), type$.JSArray_Type); + B.List_kqe = A._setArrayType(makeConstList([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]), type$.JSArray_int); + B.Type__$MouseoverParams_EFv = A.typeLiteral("_$MouseoverParams"); + B.List_ktQ = A._setArrayType(makeConstList([B.Type_MouseoverParams_Ikh, B.Type__$MouseoverParams_EFv]), type$.JSArray_Type); + B.List_lnn = 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_int); + B.List_lnn0 = 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_int); + B.List_lnn1 = 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_int); B.List_loopout_label_name_color = A._setArrayType(makeConstList(["loopout", "label", "name", "color"]), type$.JSArray_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_Type); - B.Type__$SelectionBox_i7R = A.typeLiteral("_$SelectionBox"); - B.List_mHo = A._setArrayType(makeConstList([B.Type_SelectionBox_cdS, B.Type__$SelectionBox_i7R]), type$.JSArray_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_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_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_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_Type); - B.Type__$HelixGroup_8aB = A.typeLiteral("_$HelixGroup"); - B.List_n7k = A._setArrayType(makeConstList([B.Type_HelixGroup_tsp, B.Type__$HelixGroup_8aB]), type$.JSArray_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_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_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_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_Type); - B.Type__$ModificationInternal_cUt = A.typeLiteral("_$ModificationInternal"); - B.List_neG = A._setArrayType(makeConstList([B.Type_ModificationInternal_7vk, B.Type__$ModificationInternal_cUt]), type$.JSArray_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_Type); - B.List_nxB = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_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_Type); - B.Type__$ExportSvg_bFE = A.typeLiteral("_$ExportSvg"); - B.List_oBb = A._setArrayType(makeConstList([B.Type_ExportSvg_Gt8, B.Type__$ExportSvg_bFE]), type$.JSArray_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_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_Type); + B.Type_wEs = A.typeLiteral("AssignDomainNameComplementFromBoundDomains"); + B.Type_fHw = A.typeLiteral("_$AssignDomainNameComplementFromBoundDomains"); + B.List_m7u = A._setArrayType(makeConstList([B.Type_wEs, B.Type_fHw]), type$.JSArray_Type); + B.Type_StrandsMoveStop_A4L = A.typeLiteral("StrandsMoveStop"); + B.Type__$StrandsMoveStop_BHz = A.typeLiteral("_$StrandsMoveStop"); + B.List_mC8 = A._setArrayType(makeConstList([B.Type_StrandsMoveStop_A4L, B.Type__$StrandsMoveStop_BHz]), type$.JSArray_Type); + B.Type_HelixGroupMoveStart_ACp = A.typeLiteral("HelixGroupMoveStart"); + B.Type__$HelixGroupMoveStart_kyU = A.typeLiteral("_$HelixGroupMoveStart"); + B.List_mNE = A._setArrayType(makeConstList([B.Type_HelixGroupMoveStart_ACp, B.Type__$HelixGroupMoveStart_kyU]), type$.JSArray_Type); + B.List_mlp = 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_int); + B.List_mlp0 = 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_int); + B.List_mlp1 = 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_int); + B.Type_SelectionsAdjustMainView_m30 = A.typeLiteral("SelectionsAdjustMainView"); + B.Type__$SelectionsAdjustMainView_fhf = A.typeLiteral("_$SelectionsAdjustMainView"); + B.List_mtS = A._setArrayType(makeConstList([B.Type_SelectionsAdjustMainView_m30, B.Type__$SelectionsAdjustMainView_fhf]), type$.JSArray_Type); + B.Type_SelectionBoxRemove_gg4 = A.typeLiteral("SelectionBoxRemove"); + B.Type__$SelectionBoxRemove_z1V = A.typeLiteral("_$SelectionBoxRemove"); + B.List_n5n = A._setArrayType(makeConstList([B.Type_SelectionBoxRemove_gg4, B.Type__$SelectionBoxRemove_z1V]), type$.JSArray_Type); + B.Type_LocalStorageDesignChoiceSet_iL9 = A.typeLiteral("LocalStorageDesignChoiceSet"); + B.Type_6ZX = A.typeLiteral("_$LocalStorageDesignChoiceSet"); + B.List_nV5 = A._setArrayType(makeConstList([B.Type_LocalStorageDesignChoiceSet_iL9, B.Type_6ZX]), type$.JSArray_Type); + B.Type_PotentialCrossoverRemove_iqV = A.typeLiteral("PotentialCrossoverRemove"); + B.Type__$PotentialCrossoverRemove_exN = A.typeLiteral("_$PotentialCrossoverRemove"); + B.List_nom = A._setArrayType(makeConstList([B.Type_PotentialCrossoverRemove_iqV, B.Type__$PotentialCrossoverRemove_exN]), type$.JSArray_Type); + B.Type_DialogRadio_IUd = A.typeLiteral("DialogRadio"); + B.Type__$DialogRadio_YwG = A.typeLiteral("_$DialogRadio"); + B.List_oCX = A._setArrayType(makeConstList([B.Type_DialogRadio_IUd, B.Type__$DialogRadio_YwG]), type$.JSArray_Type); + B.Type__$DNAExtensionsMove_gkc = A.typeLiteral("_$DNAExtensionsMove"); + B.List_oIV = A._setArrayType(makeConstList([B.Type_DNAExtensionsMove_iVD, B.Type__$DNAExtensionsMove_gkc]), type$.JSArray_Type); + B.Type_Autobreak_GZj = A.typeLiteral("Autobreak"); + B.Type__$Autobreak_sEs = A.typeLiteral("_$Autobreak"); + B.List_oVV = A._setArrayType(makeConstList([B.Type_Autobreak_GZj, B.Type__$Autobreak_sEs]), type$.JSArray_Type); + B.Type_GroupChange_qhc = A.typeLiteral("GroupChange"); + B.Type__$GroupChange_IAC = A.typeLiteral("_$GroupChange"); + B.List_ol5 = A._setArrayType(makeConstList([B.Type_GroupChange_qhc, B.Type__$GroupChange_IAC]), type$.JSArray_Type); + B.Type_Yyy = A.typeLiteral("HelixMajorTickPeriodicDistancesChangeAll"); + B.Type_gg40 = A.typeLiteral("_$HelixMajorTickPeriodicDistancesChangeAll"); + B.List_oqK = A._setArrayType(makeConstList([B.Type_Yyy, B.Type_gg40]), type$.JSArray_Type); + B.Type_HelixMaxOffsetSetByDomains_Hd8 = A.typeLiteral("HelixMaxOffsetSetByDomains"); + B.Type__$HelixMaxOffsetSetByDomains_cMb = A.typeLiteral("_$HelixMaxOffsetSetByDomains"); + B.List_oqK0 = A._setArrayType(makeConstList([B.Type_HelixMaxOffsetSetByDomains_Hd8, B.Type__$HelixMaxOffsetSetByDomains_cMb]), type$.JSArray_Type); + B.Type_ExportDNA_gRf = A.typeLiteral("ExportDNA"); + B.Type__$ExportDNA_iyR = A.typeLiteral("_$ExportDNA"); + B.List_oqh = A._setArrayType(makeConstList([B.Type_ExportDNA_gRf, B.Type__$ExportDNA_iyR]), type$.JSArray_Type); B.List_origin = A._setArrayType(makeConstList(["origin"]), type$.JSArray_String); - B.Type__$ExampleDesigns_Am8 = A.typeLiteral("_$ExampleDesigns"); - B.List_ouD = A._setArrayType(makeConstList([B.Type_ExampleDesigns_cWU, B.Type__$ExampleDesigns_Am8]), type$.JSArray_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_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_Type); - B.Type__$ContextMenuItem_aOd = A.typeLiteral("_$ContextMenuItem"); - B.List_pU4 = A._setArrayType(makeConstList([B.Type_ContextMenuItem_c0h, B.Type__$ContextMenuItem_aOd]), type$.JSArray_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_Type); + B.List_ouN = 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_int); + B.List_oyU = A._setArrayType(makeConstList([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]), type$.JSArray_int); + B.List_oyn = A._setArrayType(makeConstList([B.Grid_square, B.Grid_hex, B.Grid_honeycomb, B.Grid_none]), A.findType("JSArray")); + B.Type_GroupRemove_U06 = A.typeLiteral("GroupRemove"); + B.Type__$GroupRemove_URx = A.typeLiteral("_$GroupRemove"); + B.List_pEs = A._setArrayType(makeConstList([B.Type_GroupRemove_U06, B.Type__$GroupRemove_URx]), type$.JSArray_Type); + B.Type_JoinStrandsByCrossover_aB0 = A.typeLiteral("JoinStrandsByCrossover"); + B.Type__$JoinStrandsByCrossover_aTW = A.typeLiteral("_$JoinStrandsByCrossover"); + B.List_pZX = A._setArrayType(makeConstList([B.Type_JoinStrandsByCrossover_aB0, B.Type__$JoinStrandsByCrossover_aTW]), type$.JSArray_Type); B.List_parameters = A._setArrayType(makeConstList(["parameters"]), type$.JSArray_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_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_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_Type); - B.Type__$SelectModeState_uYn = A.typeLiteral("_$SelectModeState"); - B.List_qLL = A._setArrayType(makeConstList([B.Type_SelectModeState_qx4, B.Type__$SelectModeState_uYn]), type$.JSArray_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_Type); - B.List_qNA = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_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_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_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_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_Type); - B.List_qg4 = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_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_Type); + B.List_piR = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.Type_ConvertCrossoverToLoopout_nNZ = A.typeLiteral("ConvertCrossoverToLoopout"); + B.Type__$ConvertCrossoverToLoopout_89P = A.typeLiteral("_$ConvertCrossoverToLoopout"); + B.List_qpm = A._setArrayType(makeConstList([B.Type_ConvertCrossoverToLoopout_nNZ, B.Type__$ConvertCrossoverToLoopout_89P]), type$.JSArray_Type); + B.Type_DialogFloat_46y = A.typeLiteral("DialogFloat"); + B.Type__$DialogFloat_nRX = A.typeLiteral("_$DialogFloat"); + B.List_qtW = A._setArrayType(makeConstList([B.Type_DialogFloat_46y, B.Type__$DialogFloat_nRX]), type$.JSArray_Type); + B.Type_cdS1 = A.typeLiteral("HelixMaxOffsetSetByDomainsAll"); + B.Type_MIo0 = A.typeLiteral("_$HelixMaxOffsetSetByDomainsAll"); + B.List_qtf = A._setArrayType(makeConstList([B.Type_cdS1, B.Type_MIo0]), type$.JSArray_Type); + B.Type_ReplaceStrands_E1n = A.typeLiteral("ReplaceStrands"); + B.Type__$ReplaceStrands_cQL = A.typeLiteral("_$ReplaceStrands"); + B.List_qxe = A._setArrayType(makeConstList([B.Type_ReplaceStrands_E1n, B.Type__$ReplaceStrands_cQL]), type$.JSArray_Type); + B.Type_MYA = A.typeLiteral("ExportBasePairLinesIfOtherStrandNotSelectedSet"); + B.Type_er0 = A.typeLiteral("_$ExportBasePairLinesIfOtherStrandNotSelectedSet"); + B.List_rBc = A._setArrayType(makeConstList([B.Type_MYA, B.Type_er0]), type$.JSArray_Type); + B.Type_GFY = A.typeLiteral("StrandOrSubstrandColorPickerHide"); + B.Type_3I70 = A.typeLiteral("_$StrandOrSubstrandColorPickerHide"); + B.List_rPz = A._setArrayType(makeConstList([B.Type_GFY, B.Type_3I70]), type$.JSArray_Type); B.List_right = A._setArrayType(makeConstList(["right"]), type$.JSArray_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_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_Type); - B.Type__$AppUIStateStorables_fqj = A.typeLiteral("_$AppUIStateStorables"); - B.List_s9c = A._setArrayType(makeConstList([B.Type_AppUIStateStorables_AS6, B.Type__$AppUIStateStorables_fqj]), type$.JSArray_Type); - B.List_sEI = A._setArrayType(makeConstList(["name", "scale", "purification", "plate", "well"]), type$.JSArray_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_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_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_Type); + B.Type__$Loopout_Xp0 = A.typeLiteral("_$Loopout"); + B.List_rx4 = A._setArrayType(makeConstList([B.Type_Loopout_kXN, B.Type__$Loopout_Xp0]), type$.JSArray_Type); + B.Type_Line_651 = A.typeLiteral("Line"); + B.Type__$Line_y6N = A.typeLiteral("_$Line"); + B.List_s09 = A._setArrayType(makeConstList([B.Type_Line_651, B.Type__$Line_y6N]), type$.JSArray_Type); + B.Type_SelectOrToggleItems_oWp = A.typeLiteral("SelectOrToggleItems"); + B.Type__$SelectOrToggleItems_inD = A.typeLiteral("_$SelectOrToggleItems"); + B.List_s1A = A._setArrayType(makeConstList([B.Type_SelectOrToggleItems_oWp, B.Type__$SelectOrToggleItems_inD]), type$.JSArray_Type); + B.Type_ShowSliceBarSet_9a2 = A.typeLiteral("ShowSliceBarSet"); + B.Type__$ShowSliceBarSet_A39 = A.typeLiteral("_$ShowSliceBarSet"); + B.List_s2W = A._setArrayType(makeConstList([B.Type_ShowSliceBarSet_9a2, B.Type__$ShowSliceBarSet_A39]), type$.JSArray_Type); + B.Type_Y1X = A.typeLiteral("AssignDNAComplementFromBoundStrands"); + B.Type_OTP = A.typeLiteral("_$AssignDNAComplementFromBoundStrands"); + B.List_s34 = A._setArrayType(makeConstList([B.Type_Y1X, B.Type_OTP]), type$.JSArray_Type); + B.Type_HelixSelectionsClear_gg4 = A.typeLiteral("HelixSelectionsClear"); + B.Type__$HelixSelectionsClear_ULJ = A.typeLiteral("_$HelixSelectionsClear"); + B.List_s7p = A._setArrayType(makeConstList([B.Type_HelixSelectionsClear_gg4, B.Type__$HelixSelectionsClear_ULJ]), type$.JSArray_Type); + B.List_s8I = 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_int); + B.Type__$Crossover_PJ6 = A.typeLiteral("_$Crossover"); + B.List_sFe = A._setArrayType(makeConstList([B.Type_Crossover_a9Z, B.Type__$Crossover_PJ6]), type$.JSArray_Type); + B.Type_HelixAdd_vF3 = A.typeLiteral("HelixAdd"); + B.Type__$HelixAdd_ecN = A.typeLiteral("_$HelixAdd"); + B.List_sey = A._setArrayType(makeConstList([B.Type_HelixAdd_vF3, B.Type__$HelixAdd_ecN]), type$.JSArray_Type); + B.Type_SelectionBoxSizeChange_IGO = A.typeLiteral("SelectionBoxSizeChange"); + B.Type__$SelectionBoxSizeChange_uwZ = A.typeLiteral("_$SelectionBoxSizeChange"); + B.List_sgq = A._setArrayType(makeConstList([B.Type_SelectionBoxSizeChange_IGO, B.Type__$SelectionBoxSizeChange_uwZ]), type$.JSArray_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_sid = 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]), type$.JSArray_SelectableTrait); + B.Type_DomainNameFontSizeSet_uXp = A.typeLiteral("DomainNameFontSizeSet"); + B.Type__$DomainNameFontSizeSet_46c = A.typeLiteral("_$DomainNameFontSizeSet"); + B.List_soA = A._setArrayType(makeConstList([B.Type_DomainNameFontSizeSet_uXp, B.Type__$DomainNameFontSizeSet_46c]), type$.JSArray_Type); + B.Type_GrM = A.typeLiteral("SelectAllStrandsWithSameAsSelected"); + B.Type_inH = A.typeLiteral("_$SelectAllStrandsWithSameAsSelected"); + B.List_srB = A._setArrayType(makeConstList([B.Type_GrM, B.Type_inH]), type$.JSArray_Type); B.List_substrands = A._setArrayType(makeConstList(["substrands"]), type$.JSArray_String); - B.Type__$HelixGroupMove_gcy = A.typeLiteral("_$HelixGroupMove"); - B.List_sxw = A._setArrayType(makeConstList([B.Type_HelixGroupMove_sE6, B.Type__$HelixGroupMove_gcy]), type$.JSArray_Type); - B.List_sy0 = A._setArrayType(makeConstList([B.DNASequencePredefined_M13p7249, B.DNASequencePredefined_M13p7560, B.DNASequencePredefined_M13p8064, B.DNASequencePredefined_M13p8634, B.DNASequencePredefined_Tilibit_CS3_L, B.DNASequencePredefined_Tilibit_CS4]), A.findType("JSArray")); - 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_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_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_Type); - B.Type__$DomainsMove_4QF = A.typeLiteral("_$DomainsMove"); - B.List_u2S = A._setArrayType(makeConstList([B.Type_DomainsMove_Js5, B.Type__$DomainsMove_4QF]), type$.JSArray_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_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_Type); - B.Type__$Helix_gkc = A.typeLiteral("_$Helix"); - B.List_uHJ = A._setArrayType(makeConstList([B.Type_Helix_cIf, B.Type__$Helix_gkc]), type$.JSArray_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_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_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_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_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_Type); - B.Type_893 = A.typeLiteral("_$SelectableModificationInternal"); - B.List_v3C = A._setArrayType(makeConstList([B.Type_MEg, B.Type_893]), type$.JSArray_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_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_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_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_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_Type); - B.List_wSV = A._setArrayType(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_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_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_Type); - B.List_ww80 = A._setArrayType(makeConstList([23, 114, 69, 56, 80, 144]), type$.JSArray_int); - B.List_ww8 = A._setArrayType(makeConstList([49, 65, 89, 38, 83, 89]), type$.JSArray_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_Type); - B.Type__$AddressDifference_IXT = A.typeLiteral("_$AddressDifference"); - B.List_xTK = A._setArrayType(makeConstList([B.Type_AddressDifference_p4P, B.Type__$AddressDifference_IXT]), type$.JSArray_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_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_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_Type); + B.Type_ExportCodenanoFile_WZe = A.typeLiteral("ExportCodenanoFile"); + B.Type__$ExportCodenanoFile_c2q = A.typeLiteral("_$ExportCodenanoFile"); + B.List_svj = A._setArrayType(makeConstList([B.Type_ExportCodenanoFile_WZe, B.Type__$ExportCodenanoFile_c2q]), type$.JSArray_Type); + B.Type_RemoveDNA_ki1 = A.typeLiteral("RemoveDNA"); + B.Type__$RemoveDNA_Vsy = A.typeLiteral("_$RemoveDNA"); + B.List_sxw = A._setArrayType(makeConstList([B.Type_RemoveDNA_ki1, B.Type__$RemoveDNA_Vsy]), type$.JSArray_Type); + B.Type__$HelixGroup_6ts = A.typeLiteral("_$HelixGroup"); + B.List_tEV = A._setArrayType(makeConstList([B.Type_HelixGroup_43h, B.Type__$HelixGroup_6ts]), type$.JSArray_Type); + B.Type_ZIT = A.typeLiteral("DNAExtensionsMoveAdjustPosition"); + B.Type_Qyy = A.typeLiteral("_$DNAExtensionsMoveAdjustPosition"); + B.List_u1J = A._setArrayType(makeConstList([B.Type_ZIT, B.Type_Qyy]), type$.JSArray_Type); + B.Type_HelixGroupMoveStop_FKj = A.typeLiteral("HelixGroupMoveStop"); + B.Type__$HelixGroupMoveStop_km6 = A.typeLiteral("_$HelixGroupMoveStop"); + B.List_uE5 = A._setArrayType(makeConstList([B.Type_HelixGroupMoveStop_FKj, B.Type__$HelixGroupMoveStop_km6]), type$.JSArray_Type); + B.Type__$VendorFields_HTJ = A.typeLiteral("_$VendorFields"); + B.List_uVV = A._setArrayType(makeConstList([B.Type_VendorFields_m0o, B.Type__$VendorFields_HTJ]), type$.JSArray_Type); + B.List_upM = A._setArrayType(makeConstList(["extension_num_bases", "is_5p", "display_length", "display_angle", "label", "name", "color"]), type$.JSArray_String); + B.Type_ExtensionsNumBasesChange_RDC = A.typeLiteral("ExtensionsNumBasesChange"); + B.Type__$ExtensionsNumBasesChange_Jik = A.typeLiteral("_$ExtensionsNumBasesChange"); + B.List_urY = A._setArrayType(makeConstList([B.Type_ExtensionsNumBasesChange_RDC, B.Type__$ExtensionsNumBasesChange_Jik]), type$.JSArray_Type); + B.Type_StrandCreateStop_e3D = A.typeLiteral("StrandCreateStop"); + B.Type__$StrandCreateStop_axY = A.typeLiteral("_$StrandCreateStop"); + B.List_urv = A._setArrayType(makeConstList([B.Type_StrandCreateStop_e3D, B.Type__$StrandCreateStop_axY]), type$.JSArray_Type); + B.Type_ErrorMessageSet_0hq = A.typeLiteral("ErrorMessageSet"); + B.Type__$ErrorMessageSet_NIe = A.typeLiteral("_$ErrorMessageSet"); + B.List_uva = A._setArrayType(makeConstList([B.Type_ErrorMessageSet_0hq, B.Type__$ErrorMessageSet_NIe]), type$.JSArray_Type); + B.Type_PotentialVerticalCrossover_d4f = A.typeLiteral("PotentialVerticalCrossover"); + B.Type__$PotentialVerticalCrossover_CBD = A.typeLiteral("_$PotentialVerticalCrossover"); + B.List_v5H = A._setArrayType(makeConstList([B.Type_PotentialVerticalCrossover_d4f, B.Type__$PotentialVerticalCrossover_CBD]), type$.JSArray_Type); + B.Type_GroupDisplayedChange_7xV = A.typeLiteral("GroupDisplayedChange"); + B.Type__$GroupDisplayedChange_aj8 = A.typeLiteral("_$GroupDisplayedChange"); + B.List_vFz0 = A._setArrayType(makeConstList([B.Type_GroupDisplayedChange_7xV, B.Type__$GroupDisplayedChange_aj8]), type$.JSArray_Type); + B.Type__$Insertion_WjX = A.typeLiteral("_$Insertion"); + B.List_vNP = A._setArrayType(makeConstList([B.Type_Insertion_Xbs, B.Type__$Insertion_WjX]), type$.JSArray_Type); + B.Type_ExportSvgTextSeparatelySet_Lzk = A.typeLiteral("ExportSvgTextSeparatelySet"); + B.Type__$ExportSvgTextSeparatelySet_07z = A.typeLiteral("_$ExportSvgTextSeparatelySet"); + B.List_vdR = A._setArrayType(makeConstList([B.Type_ExportSvgTextSeparatelySet_Lzk, B.Type__$ExportSvgTextSeparatelySet_07z]), type$.JSArray_Type); + B.Type__$SelectModeState_CLo = A.typeLiteral("_$SelectModeState"); + B.List_w66 = A._setArrayType(makeConstList([B.Type_SelectModeState_YBo, B.Type__$SelectModeState_CLo]), type$.JSArray_Type); + B.Type_StrandCreateAdjustOffset_Tfk = A.typeLiteral("StrandCreateAdjustOffset"); + B.Type__$StrandCreateAdjustOffset_8Gl = A.typeLiteral("_$StrandCreateAdjustOffset"); + B.List_w7k = A._setArrayType(makeConstList([B.Type_StrandCreateAdjustOffset_Tfk, B.Type__$StrandCreateAdjustOffset_8Gl]), type$.JSArray_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_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_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_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_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_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]), type$.JSArray_EditModeChoice); - 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_String); - B.Type__$VendorFields_MEg = A.typeLiteral("_$VendorFields"); - B.List_zLk = A._setArrayType(makeConstList([B.Type_VendorFields_9Ml, B.Type__$VendorFields_MEg]), type$.JSArray_Type); - B.List_zNb = A._setArrayType(makeConstList(["extension_num_bases", "is_5p", "display_length", "display_angle", "label", "name", "color"]), type$.JSArray_String); + B.List_wAN = 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_HelixMajorTicksChange_0 = A.typeLiteral("HelixMajorTicksChange"); + B.Type__$HelixMajorTicksChange_xw8 = A.typeLiteral("_$HelixMajorTicksChange"); + B.List_wAg = A._setArrayType(makeConstList([B.Type_HelixMajorTicksChange_0, B.Type__$HelixMajorTicksChange_xw8]), type$.JSArray_Type); + B.Type_DesignSideRotationData_Ttf = A.typeLiteral("DesignSideRotationData"); + B.Type__$DesignSideRotationData_61T = A.typeLiteral("_$DesignSideRotationData"); + B.List_wEo = A._setArrayType(makeConstList([B.Type_DesignSideRotationData_Ttf, B.Type__$DesignSideRotationData_61T]), type$.JSArray_Type); + B.Type_HelixGridPositionSet_r1z = A.typeLiteral("HelixGridPositionSet"); + B.Type__$HelixGridPositionSet_iyH = A.typeLiteral("_$HelixGridPositionSet"); + B.List_wEo0 = A._setArrayType(makeConstList([B.Type_HelixGridPositionSet_r1z, B.Type__$HelixGridPositionSet_iyH]), type$.JSArray_Type); + B.Type_SelectModesSet_kOh = A.typeLiteral("SelectModesSet"); + B.Type__$SelectModesSet_agQ = A.typeLiteral("_$SelectModesSet"); + B.List_wEo1 = A._setArrayType(makeConstList([B.Type_SelectModesSet_kOh, B.Type__$SelectModesSet_agQ]), type$.JSArray_Type); + B.Type_AppUIState_a9P = A.typeLiteral("AppUIState"); + B.Type__$AppUIState_kLh = A.typeLiteral("_$AppUIState"); + B.List_wHc = A._setArrayType(makeConstList([B.Type_AppUIState_a9P, B.Type__$AppUIState_kLh]), type$.JSArray_Type); + B.Type_WZH = A.typeLiteral("AssignDomainNameComplementFromBoundStrands"); + B.Type_MZ3 = A.typeLiteral("_$AssignDomainNameComplementFromBoundStrands"); + B.List_wHc0 = A._setArrayType(makeConstList([B.Type_WZH, B.Type_MZ3]), type$.JSArray_Type); + B.Type_OvD = A.typeLiteral("SetDisplayMajorTickWidthsAllHelices"); + B.Type_IUB = A.typeLiteral("_$SetDisplayMajorTickWidthsAllHelices"); + B.List_wHc1 = A._setArrayType(makeConstList([B.Type_OvD, B.Type_IUB]), type$.JSArray_Type); + B.Type_SelectableDeletion_KPw = A.typeLiteral("SelectableDeletion"); + B.Type__$SelectableDeletion_6ha = A.typeLiteral("_$SelectableDeletion"); + B.List_wIv = A._setArrayType(makeConstList([B.Type_SelectableDeletion_KPw, B.Type__$SelectableDeletion_6ha]), type$.JSArray_Type); + B.Type_HelixPositionSet_Neo = A.typeLiteral("HelixPositionSet"); + B.Type__$HelixPositionSet_ckA = A.typeLiteral("_$HelixPositionSet"); + B.List_wQ8 = A._setArrayType(makeConstList([B.Type_HelixPositionSet_Neo, B.Type__$HelixPositionSet_ckA]), type$.JSArray_Type); + B.Type_StrandsMoveAdjustAddress_88x = A.typeLiteral("StrandsMoveAdjustAddress"); + B.Type__$StrandsMoveAdjustAddress_2t2 = A.typeLiteral("_$StrandsMoveAdjustAddress"); + B.List_wQs = A._setArrayType(makeConstList([B.Type_StrandsMoveAdjustAddress_88x, B.Type__$StrandsMoveAdjustAddress_2t2]), type$.JSArray_Type); + B.Type_NewDesignSet_inN = A.typeLiteral("NewDesignSet"); + B.Type__$NewDesignSet_WzX = A.typeLiteral("_$NewDesignSet"); + B.List_wXI = A._setArrayType(makeConstList([B.Type_NewDesignSet_inN, B.Type__$NewDesignSet_WzX]), type$.JSArray_Type); + B.Type_AutoPasteInitiate_Jik = A.typeLiteral("AutoPasteInitiate"); + B.Type__$AutoPasteInitiate_muE = A.typeLiteral("_$AutoPasteInitiate"); + B.List_wdM = A._setArrayType(makeConstList([B.Type_AutoPasteInitiate_Jik, B.Type__$AutoPasteInitiate_muE]), type$.JSArray_Type); + B.Type_MoveLinker_8p2 = A.typeLiteral("MoveLinker"); + B.Type__$MoveLinker_EOY = A.typeLiteral("_$MoveLinker"); + B.List_wwi = A._setArrayType(makeConstList([B.Type_MoveLinker_8p2, B.Type__$MoveLinker_EOY]), type$.JSArray_Type); + B.Type_HelixOffsetChangeAll_adc = A.typeLiteral("HelixOffsetChangeAll"); + B.Type__$HelixOffsetChangeAll_efI = A.typeLiteral("_$HelixOffsetChangeAll"); + B.List_yDC = A._setArrayType(makeConstList([B.Type_HelixOffsetChangeAll_adc, B.Type__$HelixOffsetChangeAll_efI]), type$.JSArray_Type); + B.Type_DNAExtensionsMoveStop_RsV = A.typeLiteral("DNAExtensionsMoveStop"); + B.Type__$DNAExtensionsMoveStop_Kz0 = A.typeLiteral("_$DNAExtensionsMoveStop"); + B.List_yDH = A._setArrayType(makeConstList([B.Type_DNAExtensionsMoveStop_RsV, B.Type__$DNAExtensionsMoveStop_Kz0]), type$.JSArray_Type); + B.Type_SelectionRopeRemove_f3K = A.typeLiteral("SelectionRopeRemove"); + B.Type__$SelectionRopeRemove_EUq = A.typeLiteral("_$SelectionRopeRemove"); + B.List_yDQ = A._setArrayType(makeConstList([B.Type_SelectionRopeRemove_f3K, B.Type__$SelectionRopeRemove_EUq]), type$.JSArray_Type); + B.Type_8IM = A.typeLiteral("DisablePngCachingDnaSequencesSet"); + B.Type_WdG = A.typeLiteral("_$DisablePngCachingDnaSequencesSet"); + B.List_yLR = A._setArrayType(makeConstList([B.Type_8IM, B.Type_WdG]), type$.JSArray_Type); + B.Type_HelixRemove_Qa6 = A.typeLiteral("HelixRemove"); + B.Type__$HelixRemove_qJs = A.typeLiteral("_$HelixRemove"); + B.List_yXb = A._setArrayType(makeConstList([B.Type_HelixRemove_Qa6, B.Type__$HelixRemove_qJs]), type$.JSArray_Type); + B.List_ym9 = A._setArrayType(makeConstList(["bind", "if", "ref", "repeat", "syntax"]), type$.JSArray_String); + B.Type_cOY = A.typeLiteral("StrandsMoveStartSelectedStrands"); + B.Type_ACG = A.typeLiteral("_$StrandsMoveStartSelectedStrands"); + B.List_yrt = A._setArrayType(makeConstList([B.Type_cOY, B.Type_ACG]), type$.JSArray_Type); + B.Type__$ContextMenu_sQ1 = A.typeLiteral("_$ContextMenu"); + B.List_yvG = A._setArrayType(makeConstList([B.Type_ContextMenu_knt, B.Type__$ContextMenu_sQ1]), type$.JSArray_Type); + B.Type_DNAEndsMoveCommit_ssa = A.typeLiteral("DNAEndsMoveCommit"); + B.Type__$DNAEndsMoveCommit_yHF = A.typeLiteral("_$DNAEndsMoveCommit"); + B.List_zDQ = A._setArrayType(makeConstList([B.Type_DNAEndsMoveCommit_ssa, B.Type__$DNAEndsMoveCommit_yHF]), type$.JSArray_Type); + B.Type_AutofitSet_gO0 = A.typeLiteral("AutofitSet"); + B.Type__$AutofitSet_w91 = A.typeLiteral("_$AutofitSet"); + B.List_zLv = A._setArrayType(makeConstList([B.Type_AutofitSet_gO0, B.Type__$AutofitSet_w91]), type$.JSArray_Type); + B.Type_HelixGroupMoveCreate_CGq = A.typeLiteral("HelixGroupMoveCreate"); + B.Type__$HelixGroupMoveCreate_Tzk = A.typeLiteral("_$HelixGroupMoveCreate"); + B.List_zPV = A._setArrayType(makeConstList([B.Type_HelixGroupMoveCreate_CGq, B.Type__$HelixGroupMoveCreate_Tzk]), type$.JSArray_Type); B.List_z_step = A._setArrayType(makeConstList(["z_step"]), type$.JSArray_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_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_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_Type); + B.Type_ManualPasteInitiate_0 = A.typeLiteral("ManualPasteInitiate"); + B.Type__$ManualPasteInitiate_o05 = A.typeLiteral("_$ManualPasteInitiate"); + B.List_zjl = A._setArrayType(makeConstList([B.Type_ManualPasteInitiate_0, B.Type__$ManualPasteInitiate_o05]), type$.JSArray_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_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_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_Type_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_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_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_Type_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_Ajn = new A.PropDescriptor("EndMovingProps.geometry", 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_DqM = A._setArrayType(makeConstList([B.PropDescriptor_gkc, B.PropDescriptor_8Gl, B.PropDescriptor_d4f, B.PropDescriptor_wgK, B.PropDescriptor_0, B.PropDescriptor_Ajn, B.PropDescriptor_2yK, B.PropDescriptor_4QF, B.PropDescriptor_cw1, B.PropDescriptor_RHl, B.PropDescriptor_o0y0]), type$.JSArray_PropDescriptor); - B.List_AgZ = A._setArrayType(makeConstList(["EndMovingProps.dna_end", "EndMovingProps.helix", "EndMovingProps.color", "EndMovingProps.forward", "EndMovingProps.is_5p", "EndMovingProps.geometry", "EndMovingProps.current_offset", "EndMovingProps.svg_position_y", "EndMovingProps.transform", "EndMovingProps.render", "EndMovingProps.allowable"]), type$.JSArray_String); - B.PropsMeta_QOR = new A.PropsMeta(B.List_DqM, B.List_AgZ); - B.Map_2Ni2M = new A.GeneralConstantMap([B.Type_EndMovingProps_idk, B.PropsMeta_QOR], type$.GeneralConstantMap_Type_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_PropDescriptor); - B.List_43h2 = A._setArrayType(makeConstList(["DesignMainWarningStarProps.base_svg_pos", "DesignMainWarningStarProps.forward", "DesignMainWarningStarProps.geometry", "DesignMainWarningStarProps.color"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_w23 = A._setArrayType(makeConstList(["EditAndSelectModesProps.edit_modes", string$.EditAns, "EditAndSelectModesProps.is_origami", string$.EditAne]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_utl = A._setArrayType(makeConstList([string$.PotentC, "PotentialCrossoverViewProps.id_"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_ejq = A._setArrayType(makeConstList(["DesignSideRotationProps.radius", "DesignSideRotationProps.data", "DesignSideRotationProps.invert_y"]), type$.JSArray_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_Type_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_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.PropDescriptor_qRH = new A.PropDescriptor(string$.DesignMStMdsge, true, true, true); - B.List_Z9k = A._setArrayType(makeConstList([B.PropDescriptor_8Fn, B.PropDescriptor_ew1, B.PropDescriptor_FGJ, B.PropDescriptor_sUe, B.PropDescriptor_mH2, B.PropDescriptor_2No, B.PropDescriptor_yPV, B.PropDescriptor_Gh9, B.PropDescriptor_iZT, B.PropDescriptor_2fy, B.PropDescriptor_qRH]), type$.JSArray_PropDescriptor); - B.List_b9P = A._setArrayType(makeConstList([string$.DesignMStMdsst, string$.DesignMStMdshc, string$.DesignMStMdsgr, string$.DesignMStMdssi, string$.DesignMStMdso, string$.DesignMStMdsse, string$.DesignMStMdsf, string$.DesignMStMdsd, string$.DesignMStMdshx, string$.DesignMStMdsr, string$.DesignMStMdsge]), type$.JSArray_String); - B.PropsMeta_aNA = new A.PropsMeta(B.List_Z9k, B.List_b9P); - B.Map_3V5WF = new A.GeneralConstantMap([B.Type_yfE, B.PropsMeta_aNA], type$.GeneralConstantMap_Type_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_PropDescriptor); - B.List_gkc = A._setArrayType(makeConstList([string$.DesignMLEsg, string$.DesignMLEsst, string$.DesignMLEssh]), type$.JSArray_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_Type_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.PropDescriptor_dkr0 = new A.PropDescriptor("DesignMainHelixProps.geometry", true, true, true); - B.List_xw80 = 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, B.PropDescriptor_dkr0]), type$.JSArray_PropDescriptor); - B.List_2bx = 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", "DesignMainHelixProps.geometry"]), type$.JSArray_String); - B.PropsMeta_ynv = new A.PropsMeta(B.List_xw80, B.List_2bx); - B.Map_4qyDQ = new A.GeneralConstantMap([B.Type_DesignMainHelixProps_Q06, B.PropsMeta_ynv], type$.GeneralConstantMap_Type_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_PropDescriptor); - B.List_iDY = A._setArrayType(makeConstList(["DesignContextSubmenuProps.context_menu"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_YIF = A._setArrayType(makeConstList([string$.DesignMBLw, "DesignMainBasePairLinesProps.design", string$.DesignMBLo, string$.DesignMBLs, string$.DesignMBLh]), type$.JSArray_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_RTv = A._setArrayType(makeConstList(["DesignMainStrandExtensionTextProps.ext", string$.DesignMStEg, "DesignMainStrandExtensionTextProps.text", string$.DesignMStEc, string$.DesignMStEn, string$.DesignMStEf]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_IJ0 = A._setArrayType(makeConstList(["AxisArrowsMainProps.invert_y", string$.AxisArM]), type$.JSArray_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_Type_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_String); + B.Type_DesignMainDomainMovingProps_WKj = A.typeLiteral("DesignMainDomainMovingProps"); + B.C_PropDescriptor = new A.PropDescriptor(); + B.C_PropDescriptor0 = new A.PropDescriptor(); + B.C_PropDescriptor1 = new A.PropDescriptor(); + B.C_PropDescriptor2 = new A.PropDescriptor(); + B.C_PropDescriptor3 = new A.PropDescriptor(); + B.C_PropDescriptor4 = new A.PropDescriptor(); + B.C_PropDescriptor5 = new A.PropDescriptor(); + B.C_PropDescriptor6 = new A.PropDescriptor(); + B.C_PropDescriptor7 = new A.PropDescriptor(); + B.C_PropDescriptor8 = new A.PropDescriptor(); + B.C_PropDescriptor9 = new A.PropDescriptor(); + B.C_PropDescriptor10 = new A.PropDescriptor(); + B.C_PropDescriptor11 = new A.PropDescriptor(); + B.List_I2F = A._setArrayType(makeConstList([B.C_PropDescriptor, B.C_PropDescriptor0, B.C_PropDescriptor1, B.C_PropDescriptor2, B.C_PropDescriptor3, B.C_PropDescriptor4, B.C_PropDescriptor5, B.C_PropDescriptor6, B.C_PropDescriptor7, B.C_PropDescriptor8, B.C_PropDescriptor9, B.C_PropDescriptor10, B.C_PropDescriptor11]), type$.JSArray_PropDescriptor); + B.List_UsI = 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_String); + B.PropsMeta_HZw = new A.PropsMeta(B.List_UsI); + B.Map_0CB9 = new A.GeneralConstantMap([B.Type_DesignMainDomainMovingProps_WKj, B.PropsMeta_HZw], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainStrandsMovingProps_E8w = A.typeLiteral("DesignMainStrandsMovingProps"); + B.C_PropDescriptor12 = new A.PropDescriptor(); + B.C_PropDescriptor13 = new A.PropDescriptor(); + B.C_PropDescriptor14 = new A.PropDescriptor(); + B.C_PropDescriptor15 = new A.PropDescriptor(); + B.C_PropDescriptor16 = new A.PropDescriptor(); + B.C_PropDescriptor17 = new A.PropDescriptor(); + B.C_PropDescriptor18 = new A.PropDescriptor(); + B.C_PropDescriptor19 = new A.PropDescriptor(); + B.List_kye = A._setArrayType(makeConstList([B.C_PropDescriptor12, B.C_PropDescriptor13, B.C_PropDescriptor14, B.C_PropDescriptor15, B.C_PropDescriptor16, B.C_PropDescriptor17, B.C_PropDescriptor18, B.C_PropDescriptor19]), type$.JSArray_PropDescriptor); + B.List_2jN1 = A._setArrayType(makeConstList([string$.DesignMStsMst, string$.DesignMStsMo, string$.DesignMStsMc, "DesignMainStrandsMovingProps.helices", "DesignMainStrandsMovingProps.groups", string$.DesignMStsMsi, "DesignMainStrandsMovingProps.geometry", string$.DesignMStsMh]), type$.JSArray_String); + B.PropsMeta_Zjc = new A.PropsMeta(B.List_2jN1); + B.Map_0WWbH = new A.GeneralConstantMap([B.Type_DesignMainStrandsMovingProps_E8w, B.PropsMeta_Zjc], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_End5PrimeProps_mBm = A.typeLiteral("End5PrimeProps"); + B.C_PropDescriptor20 = new A.PropDescriptor(); + B.C_PropDescriptor21 = new A.PropDescriptor(); + B.C_PropDescriptor22 = new A.PropDescriptor(); + B.C_PropDescriptor23 = new A.PropDescriptor(); + B.C_PropDescriptor24 = new A.PropDescriptor(); + B.C_PropDescriptor25 = new A.PropDescriptor(); + B.C_PropDescriptor26 = new A.PropDescriptor(); + B.C_PropDescriptor27 = new A.PropDescriptor(); + B.C_PropDescriptor28 = new A.PropDescriptor(); + B.C_PropDescriptor29 = new A.PropDescriptor(); + B.C_PropDescriptor30 = new A.PropDescriptor(); + B.C_PropDescriptor31 = new A.PropDescriptor(); + B.List_CNd = A._setArrayType(makeConstList([B.C_PropDescriptor20, B.C_PropDescriptor21, B.C_PropDescriptor22, B.C_PropDescriptor23, B.C_PropDescriptor24, B.C_PropDescriptor25, B.C_PropDescriptor26, B.C_PropDescriptor27, B.C_PropDescriptor28, B.C_PropDescriptor29, B.C_PropDescriptor30, B.C_PropDescriptor31]), type$.JSArray_PropDescriptor); + B.List_Wm6 = 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_String); + B.PropsMeta_mdN = new A.PropsMeta(B.List_Wm6); + B.Map_0eWEc = new A.GeneralConstantMap([B.Type_End5PrimeProps_mBm, B.PropsMeta_mdN], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_MenuFormFileProps_ODD = A.typeLiteral("MenuFormFileProps"); + B.C_PropDescriptor32 = new A.PropDescriptor(); + B.C_PropDescriptor33 = new A.PropDescriptor(); + B.C_PropDescriptor34 = new A.PropDescriptor(); + B.C_PropDescriptor35 = new A.PropDescriptor(); + B.C_PropDescriptor36 = new A.PropDescriptor(); + B.List_kmC = A._setArrayType(makeConstList([B.C_PropDescriptor32, B.C_PropDescriptor33, B.C_PropDescriptor34, B.C_PropDescriptor35, B.C_PropDescriptor36]), type$.JSArray_PropDescriptor); + B.List_K1G = A._setArrayType(makeConstList(["MenuFormFileProps.id_", "MenuFormFileProps.accept", "MenuFormFileProps.on_change", "MenuFormFileProps.display", "MenuFormFileProps.keyboard_shortcut"]), type$.JSArray_String); + B.PropsMeta_42K = new A.PropsMeta(B.List_K1G); + B.Map_0itt = new A.GeneralConstantMap([B.Type_MenuFormFileProps_ODD, B.PropsMeta_42K], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_Zyo = A.typeLiteral("StrandOrSubstrandColorPickerProps"); + B.C_PropDescriptor37 = new A.PropDescriptor(); + B.C_PropDescriptor38 = new A.PropDescriptor(); + B.C_PropDescriptor39 = new A.PropDescriptor(); + B.C_PropDescriptor40 = new A.PropDescriptor(); + B.List_ZDx = A._setArrayType(makeConstList([B.C_PropDescriptor37, B.C_PropDescriptor38, B.C_PropDescriptor39, B.C_PropDescriptor40]), type$.JSArray_PropDescriptor); + B.List_l83 = A._setArrayType(makeConstList(["StrandOrSubstrandColorPickerProps.color", "StrandOrSubstrandColorPickerProps.show", "StrandOrSubstrandColorPickerProps.strand", string$.Strand]), type$.JSArray_String); + B.PropsMeta_gBJ = new A.PropsMeta(B.List_l83); + B.Map_0tuBB = new A.GeneralConstantMap([B.Type_Zyo, B.PropsMeta_gBJ], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_MenuNumberPropsMixin_0 = A.typeLiteral("MenuNumberPropsMixin"); + B.C_PropDescriptor41 = new A.PropDescriptor(); + B.C_PropDescriptor42 = new A.PropDescriptor(); + B.C_PropDescriptor43 = new A.PropDescriptor(); + B.C_PropDescriptor44 = new A.PropDescriptor(); + B.C_PropDescriptor45 = new A.PropDescriptor(); + B.C_PropDescriptor46 = new A.PropDescriptor(); + B.C_PropDescriptor47 = new A.PropDescriptor(); + B.C_PropDescriptor48 = new A.PropDescriptor(); + B.List_kye0 = A._setArrayType(makeConstList([B.C_PropDescriptor41, B.C_PropDescriptor42, B.C_PropDescriptor43, B.C_PropDescriptor44, B.C_PropDescriptor45, B.C_PropDescriptor46, B.C_PropDescriptor47, B.C_PropDescriptor48]), type$.JSArray_PropDescriptor); + B.List_L0Z = 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_String); + B.PropsMeta_ALH = new A.PropsMeta(B.List_L0Z); + B.Map_2NJAZ = new A.GeneralConstantMap([B.Type_MenuNumberPropsMixin_0, B.PropsMeta_ALH], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ali = A.typeLiteral("DesignMainStrandModificationsProps"); + B.C_PropDescriptor49 = new A.PropDescriptor(); + B.C_PropDescriptor50 = new A.PropDescriptor(); + B.C_PropDescriptor51 = new A.PropDescriptor(); + B.C_PropDescriptor52 = new A.PropDescriptor(); + B.C_PropDescriptor53 = new A.PropDescriptor(); + B.C_PropDescriptor54 = new A.PropDescriptor(); + B.C_PropDescriptor55 = new A.PropDescriptor(); + B.C_PropDescriptor56 = new A.PropDescriptor(); + B.C_PropDescriptor57 = new A.PropDescriptor(); + B.C_PropDescriptor58 = new A.PropDescriptor(); + B.C_PropDescriptor59 = new A.PropDescriptor(); + B.List_61r = A._setArrayType(makeConstList([B.C_PropDescriptor49, B.C_PropDescriptor50, B.C_PropDescriptor51, B.C_PropDescriptor52, B.C_PropDescriptor53, B.C_PropDescriptor54, B.C_PropDescriptor55, B.C_PropDescriptor56, B.C_PropDescriptor57, B.C_PropDescriptor58, B.C_PropDescriptor59]), type$.JSArray_PropDescriptor); + B.List_mpG = A._setArrayType(makeConstList([string$.DesignMStMdsst, string$.DesignMStMdshc, string$.DesignMStMdsgr, string$.DesignMStMdssi, string$.DesignMStMdso, string$.DesignMStMdsse, string$.DesignMStMdsf, string$.DesignMStMdsd, string$.DesignMStMdshx, string$.DesignMStMdsr, string$.DesignMStMdsge]), type$.JSArray_String); + B.PropsMeta_YPm = new A.PropsMeta(B.List_mpG); + B.Map_4QSRb = new A.GeneralConstantMap([B.Type_ali, B.PropsMeta_YPm], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignDialogFormProps_btP = A.typeLiteral("DesignDialogFormProps"); + B.C_PropDescriptor60 = new A.PropDescriptor(); + B.List_PropDescriptor = A._setArrayType(makeConstList([B.C_PropDescriptor60]), type$.JSArray_PropDescriptor); + B.List_LBt = A._setArrayType(makeConstList(["DesignDialogFormProps.dialog"]), type$.JSArray_String); + B.PropsMeta_eZ8 = new A.PropsMeta(B.List_LBt); + B.Map_6F3tc = new A.GeneralConstantMap([B.Type_DesignDialogFormProps_btP, B.PropsMeta_eZ8], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ww8 = A.typeLiteral("DesignMainStrandCreatingProps"); + B.C_PropDescriptor61 = new A.PropDescriptor(); + B.C_PropDescriptor62 = new A.PropDescriptor(); + B.C_PropDescriptor63 = new A.PropDescriptor(); + B.C_PropDescriptor64 = new A.PropDescriptor(); + B.C_PropDescriptor65 = new A.PropDescriptor(); + B.C_PropDescriptor66 = new A.PropDescriptor(); + B.C_PropDescriptor67 = new A.PropDescriptor(); + B.C_PropDescriptor68 = new A.PropDescriptor(); + B.C_PropDescriptor69 = new A.PropDescriptor(); + B.List_kjq = A._setArrayType(makeConstList([B.C_PropDescriptor61, B.C_PropDescriptor62, B.C_PropDescriptor63, B.C_PropDescriptor64, B.C_PropDescriptor65, B.C_PropDescriptor66, B.C_PropDescriptor67, B.C_PropDescriptor68, B.C_PropDescriptor69]), type$.JSArray_PropDescriptor); + B.List_9cm = A._setArrayType(makeConstList(["DesignMainStrandCreatingProps.helix", "DesignMainStrandCreatingProps.forward", "DesignMainStrandCreatingProps.start", "DesignMainStrandCreatingProps.end", "DesignMainStrandCreatingProps.color", "DesignMainStrandCreatingProps.helices", "DesignMainStrandCreatingProps.groups", "DesignMainStrandCreatingProps.geometry", string$.DesignMStCe]), type$.JSArray_String); + B.PropsMeta_sIG = new A.PropsMeta(B.List_9cm); + B.Map_6QQ8L = new A.GeneralConstantMap([B.Type_ww8, B.PropsMeta_sIG], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_0Dy = A.typeLiteral("DesignMainStrandInsertionProps"); + B.C_PropDescriptor70 = new A.PropDescriptor(); + B.C_PropDescriptor71 = new A.PropDescriptor(); + B.C_PropDescriptor72 = new A.PropDescriptor(); + B.C_PropDescriptor73 = new A.PropDescriptor(); + B.C_PropDescriptor74 = new A.PropDescriptor(); + B.C_PropDescriptor75 = new A.PropDescriptor(); + B.C_PropDescriptor76 = new A.PropDescriptor(); + B.C_PropDescriptor77 = new A.PropDescriptor(); + B.C_PropDescriptor78 = new A.PropDescriptor(); + B.List_kjq0 = A._setArrayType(makeConstList([B.C_PropDescriptor70, B.C_PropDescriptor71, B.C_PropDescriptor72, B.C_PropDescriptor73, B.C_PropDescriptor74, B.C_PropDescriptor75, B.C_PropDescriptor76, B.C_PropDescriptor77, B.C_PropDescriptor78]), type$.JSArray_PropDescriptor); + B.List_8ix = A._setArrayType(makeConstList([string$.DesignMStIse, "DesignMainStrandInsertionProps.helix", "DesignMainStrandInsertionProps.transform", "DesignMainStrandInsertionProps.color", "DesignMainStrandInsertionProps.selected", string$.DesignMStId, string$.DesignMStIsv, string$.DesignMStIr, "DesignMainStrandInsertionProps.geometry"]), type$.JSArray_String); + B.PropsMeta_2nU = new A.PropsMeta(B.List_8ix); + B.Map_6XQyU = new A.GeneralConstantMap([B.Type_0Dy, B.PropsMeta_2nU], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_yL2 = A.typeLiteral("DesignSidePotentialHelixProps"); + B.C_PropDescriptor79 = new A.PropDescriptor(); + B.C_PropDescriptor80 = new A.PropDescriptor(); + B.C_PropDescriptor81 = new A.PropDescriptor(); + B.C_PropDescriptor82 = new A.PropDescriptor(); + B.C_PropDescriptor83 = new A.PropDescriptor(); + B.List_kmC0 = A._setArrayType(makeConstList([B.C_PropDescriptor79, B.C_PropDescriptor80, B.C_PropDescriptor81, B.C_PropDescriptor82, B.C_PropDescriptor83]), type$.JSArray_PropDescriptor); + B.List_aXZ = A._setArrayType(makeConstList(["DesignSidePotentialHelixProps.grid", string$.DesignSPog, string$.DesignSPom, "DesignSidePotentialHelixProps.invert_y", "DesignSidePotentialHelixProps.geometry"]), type$.JSArray_String); + B.PropsMeta_s6o = new A.PropsMeta(B.List_aXZ); + B.Map_6r0dN = new A.GeneralConstantMap([B.Type_yL2, B.PropsMeta_s6o], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainStrandsProps_QBS = A.typeLiteral("DesignMainStrandsProps"); + B.C_PropDescriptor84 = new A.PropDescriptor(); + B.C_PropDescriptor85 = new A.PropDescriptor(); + B.C_PropDescriptor86 = new A.PropDescriptor(); + B.C_PropDescriptor87 = new A.PropDescriptor(); + B.C_PropDescriptor88 = new A.PropDescriptor(); + B.C_PropDescriptor89 = new A.PropDescriptor(); + B.C_PropDescriptor90 = new A.PropDescriptor(); + B.C_PropDescriptor91 = new A.PropDescriptor(); + B.C_PropDescriptor92 = new A.PropDescriptor(); + B.C_PropDescriptor93 = new A.PropDescriptor(); + B.C_PropDescriptor94 = new A.PropDescriptor(); + B.C_PropDescriptor95 = new A.PropDescriptor(); + B.C_PropDescriptor96 = new A.PropDescriptor(); + B.C_PropDescriptor97 = new A.PropDescriptor(); + B.C_PropDescriptor98 = new A.PropDescriptor(); + B.C_PropDescriptor99 = new A.PropDescriptor(); + B.C_PropDescriptor100 = new A.PropDescriptor(); + B.C_PropDescriptor101 = new A.PropDescriptor(); + B.C_PropDescriptor102 = new A.PropDescriptor(); + B.C_PropDescriptor103 = new A.PropDescriptor(); + B.C_PropDescriptor104 = new A.PropDescriptor(); + B.C_PropDescriptor105 = new A.PropDescriptor(); + B.C_PropDescriptor106 = new A.PropDescriptor(); + B.C_PropDescriptor107 = new A.PropDescriptor(); + B.C_PropDescriptor108 = new A.PropDescriptor(); + B.List_Ze4 = A._setArrayType(makeConstList([B.C_PropDescriptor84, B.C_PropDescriptor85, B.C_PropDescriptor86, B.C_PropDescriptor87, B.C_PropDescriptor88, B.C_PropDescriptor89, B.C_PropDescriptor90, B.C_PropDescriptor91, B.C_PropDescriptor92, B.C_PropDescriptor93, B.C_PropDescriptor94, B.C_PropDescriptor95, B.C_PropDescriptor96, B.C_PropDescriptor97, B.C_PropDescriptor98, B.C_PropDescriptor99, B.C_PropDescriptor100, B.C_PropDescriptor101, B.C_PropDescriptor102, B.C_PropDescriptor103, B.C_PropDescriptor104, B.C_PropDescriptor105, B.C_PropDescriptor106, B.C_PropDescriptor107, B.C_PropDescriptor108]), type$.JSArray_PropDescriptor); + B.List_3mv = 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_String); + B.PropsMeta_axY = new A.PropsMeta(B.List_3mv); + B.Map_88GTa = new A.GeneralConstantMap([B.Type_DesignMainStrandsProps_QBS, B.PropsMeta_axY], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ExtensionEndMovingProps_aL3 = A.typeLiteral("ExtensionEndMovingProps"); + B.C_PropDescriptor109 = new A.PropDescriptor(); + B.C_PropDescriptor110 = new A.PropDescriptor(); + B.C_PropDescriptor111 = new A.PropDescriptor(); + B.C_PropDescriptor112 = new A.PropDescriptor(); + B.C_PropDescriptor113 = new A.PropDescriptor(); + B.C_PropDescriptor114 = new A.PropDescriptor(); + B.C_PropDescriptor115 = new A.PropDescriptor(); + B.C_PropDescriptor116 = new A.PropDescriptor(); + B.C_PropDescriptor117 = new A.PropDescriptor(); + B.C_PropDescriptor118 = new A.PropDescriptor(); + B.C_PropDescriptor119 = new A.PropDescriptor(); + B.C_PropDescriptor120 = new A.PropDescriptor(); + B.List_CNd0 = A._setArrayType(makeConstList([B.C_PropDescriptor109, B.C_PropDescriptor110, B.C_PropDescriptor111, B.C_PropDescriptor112, B.C_PropDescriptor113, B.C_PropDescriptor114, B.C_PropDescriptor115, B.C_PropDescriptor116, B.C_PropDescriptor117, B.C_PropDescriptor118, B.C_PropDescriptor119, B.C_PropDescriptor120]), type$.JSArray_PropDescriptor); + B.List_irL = 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_String); + B.PropsMeta_4YL = new A.PropsMeta(B.List_irL); + B.Map_AOoSr = new A.GeneralConstantMap([B.Type_ExtensionEndMovingProps_aL3, B.PropsMeta_4YL], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_End3PrimeProps_0GW = A.typeLiteral("End3PrimeProps"); + B.C_PropDescriptor121 = new A.PropDescriptor(); + B.C_PropDescriptor122 = new A.PropDescriptor(); + B.C_PropDescriptor123 = new A.PropDescriptor(); + B.C_PropDescriptor124 = new A.PropDescriptor(); + B.C_PropDescriptor125 = new A.PropDescriptor(); + B.C_PropDescriptor126 = new A.PropDescriptor(); + B.C_PropDescriptor127 = new A.PropDescriptor(); + B.C_PropDescriptor128 = new A.PropDescriptor(); + B.C_PropDescriptor129 = new A.PropDescriptor(); + B.C_PropDescriptor130 = new A.PropDescriptor(); + B.C_PropDescriptor131 = new A.PropDescriptor(); + B.C_PropDescriptor132 = new A.PropDescriptor(); + B.List_CNd1 = A._setArrayType(makeConstList([B.C_PropDescriptor121, B.C_PropDescriptor122, B.C_PropDescriptor123, B.C_PropDescriptor124, B.C_PropDescriptor125, B.C_PropDescriptor126, B.C_PropDescriptor127, B.C_PropDescriptor128, B.C_PropDescriptor129, B.C_PropDescriptor130, B.C_PropDescriptor131, B.C_PropDescriptor132]), type$.JSArray_PropDescriptor); + B.List_efs = 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_String); + B.PropsMeta_sXT = new A.PropsMeta(B.List_efs); + B.Map_AYjzT = new A.GeneralConstantMap([B.Type_End3PrimeProps_0GW, B.PropsMeta_sXT], type$.GeneralConstantMap_Type_PropsMeta); + B.Object_eht = {aliceblue: 0, antiquewhite: 1, aqua: 2, aquamarine: 3, azure: 4, beige: 5, bisque: 6, black: 7, blanchedalmond: 8, blue: 9, blueviolet: 10, brown: 11, burlywood: 12, cadetblue: 13, chartreuse: 14, chocolate: 15, coral: 16, cornflowerblue: 17, cornsilk: 18, crimson: 19, cyan: 20, darkblue: 21, darkcyan: 22, darkgoldenrod: 23, darkgray: 24, darkgreen: 25, darkgrey: 26, darkkhaki: 27, darkmagenta: 28, darkolivegreen: 29, darkorange: 30, darkorchid: 31, darkred: 32, darksalmon: 33, darkseagreen: 34, darkslateblue: 35, darkslategray: 36, darkslategrey: 37, darkturquoise: 38, darkviolet: 39, deeppink: 40, deepskyblue: 41, dimgray: 42, dimgrey: 43, dodgerblue: 44, firebrick: 45, floralwhite: 46, forestgreen: 47, fuchsia: 48, gainsboro: 49, ghostwhite: 50, gold: 51, goldenrod: 52, gray: 53, green: 54, greenyellow: 55, grey: 56, honeydew: 57, hotpink: 58, indianred: 59, indigo: 60, ivory: 61, khaki: 62, lavender: 63, lavenderblush: 64, lawngreen: 65, lemonchiffon: 66, lightblue: 67, lightcoral: 68, lightcyan: 69, lightgoldenrodyellow: 70, lightgray: 71, lightgreen: 72, lightgrey: 73, lightpink: 74, lightsalmon: 75, lightseagreen: 76, lightskyblue: 77, lightslategray: 78, lightslategrey: 79, lightsteelblue: 80, lightyellow: 81, lime: 82, limegreen: 83, linen: 84, magenta: 85, maroon: 86, mediumaquamarine: 87, mediumblue: 88, mediumorchid: 89, mediumpurple: 90, mediumseagreen: 91, mediumslateblue: 92, mediumspringgreen: 93, mediumturquoise: 94, mediumvioletred: 95, midnightblue: 96, mintcream: 97, mistyrose: 98, moccasin: 99, navajowhite: 100, navy: 101, oldlace: 102, olive: 103, olivedrab: 104, orange: 105, orangered: 106, orchid: 107, palegoldenrod: 108, palegreen: 109, paleturquoise: 110, palevioletred: 111, papayawhip: 112, peachpuff: 113, peru: 114, pink: 115, plum: 116, powderblue: 117, purple: 118, rebeccapurple: 119, red: 120, rosybrown: 121, royalblue: 122, saddlebrown: 123, salmon: 124, sandybrown: 125, seagreen: 126, seashell: 127, sienna: 128, silver: 129, skyblue: 130, slateblue: 131, slategray: 132, slategrey: 133, snow: 134, springgreen: 135, steelblue: 136, tan: 137, teal: 138, thistle: 139, tomato: 140, turquoise: 141, violet: 142, wheat: 143, white: 144, whitesmoke: 145, yellow: 146, yellowgreen: 147}; 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); @@ -160754,757 +159557,724 @@ 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.PropDescriptor_ESz = new A.PropDescriptor(string$.DesignMStDeg, true, true, true); - B.List_cQZ = A._setArrayType(makeConstList([B.PropDescriptor_JFX, B.PropDescriptor_hky, B.PropDescriptor_IG8, B.PropDescriptor_Rmd, B.PropDescriptor_mfA, B.PropDescriptor_s0y, B.PropDescriptor_ESz]), type$.JSArray_PropDescriptor); - B.List_Jik0 = A._setArrayType(makeConstList([string$.DesignMStDesea, "DesignMainStrandDeletionPropsMixin.helix", string$.DesignMStDesee, string$.DesignMStDet, string$.DesignMStDesv, string$.DesignMStDer, string$.DesignMStDeg]), type$.JSArray_String); - B.PropsMeta_sIv = new A.PropsMeta(B.List_cQZ, B.List_Jik0); - B.Map_AsKFk = new A.GeneralConstantMap([B.Type_nuu, B.PropsMeta_sIv], type$.GeneralConstantMap_Type_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_PropDescriptor); - B.List_qJs = A._setArrayType(makeConstList([string$.DesignMPsp, string$.DesignMPshc, string$.DesignMPsgr, string$.DesignMPsge, string$.DesignMPso, string$.DesignMPss, string$.DesignMPshx]), type$.JSArray_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_Type_PropsMeta); - B.List_CNb = A._setArrayType(makeConstList(["filter", "stroke", "stroke-width", "visibility"]), type$.JSArray_String); - B.Map_CNaF8 = new A.ConstantStringMap(4, {filter: 'url("#shadow")', stroke: "black", "stroke-width": "1pt", visibility: "visible"}, B.List_CNb, type$.ConstantStringMap_String_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_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_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_gw4 = A._setArrayType(makeConstList(["ErrorBoundaryProps.onComponentDidCatch", string$.ErrorBPo, "ErrorBoundaryProps.fallbackUIRenderer", string$.ErrorBPi, "ErrorBoundaryProps.loggerName", "ErrorBoundaryProps.shouldLogErrors", "ErrorBoundaryProps.logger"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_QXg = A._setArrayType(makeConstList(["SelectionBoxViewProps.selection_box", string$.SelectB, "SelectionBoxViewProps.id_", "SelectionBoxViewProps.is_main"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_T5x = A._setArrayType(makeConstList(["MenuBooleanProps.value", "MenuBooleanProps.display", "MenuBooleanProps.on_change", "MenuBooleanProps.name", "MenuBooleanProps.hide", "MenuBooleanProps.tooltip"]), type$.JSArray_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_Type_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_ESz0 = 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_ESz0, B.PropDescriptor_Eo2, B.PropDescriptor_2No0, B.PropDescriptor_uIv, B.PropDescriptor_AxQ]), type$.JSArray_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_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_Type_PropsMeta); - B.List_GNi = A._setArrayType(makeConstList(["stroke", "stroke-width"]), type$.JSArray_String); - B.Map_GN46y = new A.ConstantStringMap(2, {stroke: "hotpink", "stroke-width": "5pt"}, B.List_GNi, type$.ConstantStringMap_String_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_PropDescriptor); - B.List_GNU = A._setArrayType(makeConstList(["MenuDropdownRightProps.title_", "MenuDropdownRightProps.id_", "MenuDropdownRightProps.keyboard_shortcut", "MenuDropdownRightProps.tooltip", "MenuDropdownRightProps.disabled", "MenuDropdownRightProps.disallow_overflow"]), type$.JSArray_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_Type_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_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_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_Type_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.PropDescriptor_wmn = new A.PropDescriptor("DesignSideHelixProps.geometry", true, true, true); - B.List_vEC = 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, B.PropDescriptor_wmn]), type$.JSArray_PropDescriptor); - B.List_dUt = 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", "DesignSideHelixProps.geometry"]), type$.JSArray_String); - B.PropsMeta_YUl = new A.PropsMeta(B.List_vEC, B.List_dUt); - B.Map_IImDg = new A.GeneralConstantMap([B.Type_DesignSideHelixProps_kSE, B.PropsMeta_YUl], type$.GeneralConstantMap_Type_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_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_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_Type_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_PropDescriptor); - B.List_Gn1 = A._setArrayType(makeConstList(["DesignLoadingDialogProps.show"]), type$.JSArray_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_Type_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_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_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_Type_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_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_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_yXb0 = A._setArrayType(makeConstList(["DesignContextMenuProps.context_menu"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_RYF = A._setArrayType(makeConstList(["DesignDialogFormProps.dialog"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_qNf = A._setArrayType(makeConstList([string$.DesignSR, "DesignSideRotationArrowProps.radius", "DesignSideRotationArrowProps.color", "DesignSideRotationArrowProps.invert_y"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_P1S = A._setArrayType(makeConstList(["SideMenuProps.groups", "SideMenuProps.displayed_group_name"]), type$.JSArray_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_Type_PropsMeta); - B.List_Ogi = A._setArrayType(makeConstList(["filter", "stroke-width"]), type$.JSArray_String); - B.Map_OgmUV = new A.ConstantStringMap(2, {filter: 'url("#shadow")', "stroke-width": "5pt"}, B.List_Ogi, type$.ConstantStringMap_String_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_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_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_Type_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_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_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_yHZ = A._setArrayType(makeConstList(["AxisArrowsSideProps.invert_y", string$.AxisArS]), type$.JSArray_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_Type_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_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_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_Type_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_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_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_C1h = A._setArrayType(makeConstList([string$.DesignMUd, string$.DesignMUo, string$.DesignMUs, string$.DesignMUh]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_yT3 = A._setArrayType(makeConstList([string$.DesignMBRw, "DesignMainBasePairRectangleProps.design", string$.DesignMBRo, string$.DesignMBRs, string$.DesignMBRh]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_iZu = A._setArrayType(makeConstList(["EditModeProps.modes"]), type$.JSArray_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_Type_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_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_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_Type_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_ESz1 = 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_ESz1, B.PropDescriptor_9Ya]), type$.JSArray_PropDescriptor); - B.List_wEo2 = A._setArrayType(makeConstList(["MenuFormFileProps.id_", "MenuFormFileProps.accept", "MenuFormFileProps.on_change", "MenuFormFileProps.display", "MenuFormFileProps.keyboard_shortcut"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_dy4 = A._setArrayType(makeConstList(["StrandOrSubstrandColorPickerProps.color", "StrandOrSubstrandColorPickerProps.show", "StrandOrSubstrandColorPickerProps.strand", string$.Strand]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_rxd = A._setArrayType(makeConstList([string$.DesignMDoNd, string$.DesignMDoNo, string$.DesignMDoNs, string$.DesignMDoNh]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_a9P = A._setArrayType(makeConstList(["DesignMainProps.state"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_enE = A._setArrayType(makeConstList([string$.PotentE, "PotentialExtensionsViewProps.id_"]), type$.JSArray_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_Type_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_Jgx = new A.PropDescriptor("DesignMainLoopoutProps.prev_geometry", true, true, true); - B.PropDescriptor_t1q = new A.PropDescriptor("DesignMainLoopoutProps.next_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_f5T = 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_Jgx, B.PropDescriptor_t1q, B.PropDescriptor_lQA, B.PropDescriptor_M2I, B.PropDescriptor_IbN]), type$.JSArray_PropDescriptor); - B.List_g4h = 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", "DesignMainLoopoutProps.prev_geometry", "DesignMainLoopoutProps.next_geometry", string$.DesignMLPp, string$.DesignMLPn, string$.DesignMLPr]), type$.JSArray_String); - B.PropsMeta_ky0 = new A.PropsMeta(B.List_f5T, B.List_g4h); - B.Map_e3oWp = new A.GeneralConstantMap([B.Type_DesignMainLoopoutProps_2Lu, B.PropsMeta_ky0], type$.GeneralConstantMap_Type_PropsMeta); - B.Map_empty5 = new A.ConstantStringMap(0, {}, B.List_empty0, type$.ConstantStringMap_String_String); - B.Map_empty1 = new A.ConstantStringMap(0, {}, B.List_empty0, A.findType("ConstantStringMap")); - B.List_empty8 = A._setArrayType(makeConstList([]), A.findType("JSArray")); - B.Map_empty2 = new A.ConstantStringMap(0, {}, B.List_empty8, A.findType("ConstantStringMap")); - B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_int); - B.Map_empty3 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap>")); - B.Map_empty4 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap>>")); - B.Map_empty0 = new A.ConstantStringMap(0, {}, B.List_empty9, A.findType("ConstantStringMap")); - B.Map_empty = new A.ConstantStringMap(0, {}, B.List_empty, 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_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_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_Type_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_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_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_Type_PropsMeta); - B.Type_86y = A.typeLiteral("DesignMainPotentialVerticalCrossoverProps"); - B.PropDescriptor_wmn0 = 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_wmn0, B.PropDescriptor_iL90, B.PropDescriptor_XNd0, B.PropDescriptor_kUZ, B.PropDescriptor_EKW]), type$.JSArray_PropDescriptor); - B.List_Pdf = A._setArrayType(makeConstList([string$.DesignMPPp, string$.DesignMPPhc, string$.DesignMPPgr, string$.DesignMPPge, string$.DesignMPPhx]), type$.JSArray_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_Type_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.PropDescriptor_O980 = new A.PropDescriptor("DesignMainStrandInsertionProps.geometry", true, true, true); - B.List_i4A = 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, B.PropDescriptor_O980]), type$.JSArray_PropDescriptor); - B.List_U3W = A._setArrayType(makeConstList([string$.DesignMStIse, "DesignMainStrandInsertionProps.helix", "DesignMainStrandInsertionProps.transform", "DesignMainStrandInsertionProps.color", "DesignMainStrandInsertionProps.selected", string$.DesignMStId, string$.DesignMStIsv, string$.DesignMStIr, "DesignMainStrandInsertionProps.geometry"]), type$.JSArray_String); - B.PropsMeta_6pZ = new A.PropsMeta(B.List_i4A, B.List_U3W); - B.Map_jwscL = new A.GeneralConstantMap([B.Type_Scz, B.PropsMeta_6pZ], type$.GeneralConstantMap_Type_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_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_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_Type_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_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_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_Type_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_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_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_uh9 = A._setArrayType(makeConstList(["DesignFooterProps.mouseover_datas", string$.DesignF, "DesignFooterProps.loaded_filename"]), type$.JSArray_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_I2O = A._setArrayType(makeConstList(["DesignSidePotentialHelixProps.grid", string$.DesignSPog, string$.DesignSPom, "DesignSidePotentialHelixProps.invert_y", "DesignSidePotentialHelixProps.geometry"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_wkm = A._setArrayType(makeConstList(["SelectModePropsMixin.select_mode_state", "SelectModePropsMixin.is_origami"]), type$.JSArray_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_PropDescriptor); + B.Map_Aka5W = new A.ConstantStringMap(B.Object_eht, [B.RgbColor_240_248_255, B.RgbColor_250_235_215, B.RgbColor_0_255_255, B.RgbColor_127_255_212, B.RgbColor_240_255_255, B.RgbColor_245_245_220, B.RgbColor_255_228_196, B.RgbColor_0_0_0, B.RgbColor_255_235_205, B.RgbColor_0_0_255, B.RgbColor_138_43_226, B.RgbColor_165_42_42, B.RgbColor_222_184_135, B.RgbColor_95_158_160, B.RgbColor_127_255_0, B.RgbColor_210_105_30, B.RgbColor_255_127_80, B.RgbColor_100_149_237, B.RgbColor_255_248_220, B.RgbColor_220_20_60, B.RgbColor_0_255_255, B.RgbColor_0_0_139, B.RgbColor_0_139_139, B.RgbColor_184_134_11, B.RgbColor_169_169_169, B.RgbColor_0_100_0, B.RgbColor_169_169_169, B.RgbColor_189_183_107, B.RgbColor_139_0_139, B.RgbColor_85_107_47, B.RgbColor_255_140_0, B.RgbColor_153_50_204, B.RgbColor_139_0_0, B.RgbColor_233_150_122, B.RgbColor_143_188_143, B.RgbColor_72_61_139, B.RgbColor_47_79_79, B.RgbColor_47_79_79, B.RgbColor_0_206_209, B.RgbColor_148_0_211, B.RgbColor_255_20_147, B.RgbColor_0_191_255, B.RgbColor_105_105_105, B.RgbColor_105_105_105, B.RgbColor_30_144_255, B.RgbColor_178_34_34, B.RgbColor_255_250_240, B.RgbColor_34_139_34, B.RgbColor_255_0_255, B.RgbColor_220_220_220, B.RgbColor_248_248_255, B.RgbColor_255_215_0, B.RgbColor_218_165_32, B.RgbColor_128_128_128, B.RgbColor_0_128_0, B.RgbColor_173_255_47, B.RgbColor_128_128_128, B.RgbColor_240_255_240, B.RgbColor_255_105_180, B.RgbColor_205_92_92, B.RgbColor_75_0_130, B.RgbColor_255_255_240, B.RgbColor_240_230_140, B.RgbColor_230_230_250, B.RgbColor_255_240_245, B.RgbColor_124_252_0, B.RgbColor_255_250_205, B.RgbColor_173_216_230, B.RgbColor_240_128_128, B.RgbColor_224_255_255, B.RgbColor_250_250_210, B.RgbColor_211_211_211, B.RgbColor_144_238_144, B.RgbColor_211_211_211, B.RgbColor_255_182_193, B.RgbColor_255_160_122, B.RgbColor_32_178_170, B.RgbColor_135_206_250, B.RgbColor_119_136_153, B.RgbColor_119_136_153, B.RgbColor_176_196_222, B.RgbColor_255_255_224, B.RgbColor_0_255_0, B.RgbColor_50_205_50, B.RgbColor_250_240_230, B.RgbColor_255_0_255, B.RgbColor_128_0_0, B.RgbColor_102_205_170, B.RgbColor_0_0_205, B.RgbColor_186_85_211, B.RgbColor_147_112_219, B.RgbColor_60_179_113, B.RgbColor_123_104_238, B.RgbColor_0_250_154, B.RgbColor_72_209_204, B.RgbColor_199_21_133, B.RgbColor_25_25_112, B.RgbColor_245_255_250, B.RgbColor_255_228_225, B.RgbColor_255_228_181, B.RgbColor_255_222_173, B.RgbColor_0_0_128, B.RgbColor_253_245_230, B.RgbColor_128_128_0, B.RgbColor_107_142_35, B.RgbColor_255_165_0, B.RgbColor_255_69_0, B.RgbColor_218_112_214, B.RgbColor_238_232_170, B.RgbColor_152_251_152, B.RgbColor_175_238_238, B.RgbColor_219_112_147, B.RgbColor_255_239_213, B.RgbColor_255_218_185, B.RgbColor_205_133_63, B.RgbColor_255_192_203, B.RgbColor_221_160_221, B.RgbColor_176_224_230, B.RgbColor_128_0_128, B.RgbColor_102_51_153, B.RgbColor_255_0_0, B.RgbColor_188_143_143, B.RgbColor_65_105_225, B.RgbColor_139_69_19, B.RgbColor_250_128_114, B.RgbColor_244_164_96, B.RgbColor_46_139_87, B.RgbColor_255_245_238, B.RgbColor_160_82_45, B.RgbColor_192_192_192, B.RgbColor_135_206_235, B.RgbColor_106_90_205, B.RgbColor_112_128_144, B.RgbColor_112_128_144, B.RgbColor_255_250_250, B.RgbColor_0_255_127, B.RgbColor_70_130_180, B.RgbColor_210_180_140, B.RgbColor_0_128_128, B.RgbColor_216_191_216, B.RgbColor_255_99_71, B.RgbColor_64_224_208, B.RgbColor_238_130_238, B.RgbColor_245_222_179, B.RgbColor_255_255_255, B.RgbColor_245_245_245, B.RgbColor_255_255_0, B.RgbColor_154_205_50], A.findType("ConstantStringMap")); + B.Type_MenuDropdownRightProps_4aa = A.typeLiteral("MenuDropdownRightProps"); + B.C_PropDescriptor133 = new A.PropDescriptor(); + B.C_PropDescriptor134 = new A.PropDescriptor(); + B.C_PropDescriptor135 = new A.PropDescriptor(); + B.C_PropDescriptor136 = new A.PropDescriptor(); + B.C_PropDescriptor137 = new A.PropDescriptor(); + B.C_PropDescriptor138 = new A.PropDescriptor(); + B.List_2tm = A._setArrayType(makeConstList([B.C_PropDescriptor133, B.C_PropDescriptor134, B.C_PropDescriptor135, B.C_PropDescriptor136, B.C_PropDescriptor137, B.C_PropDescriptor138]), type$.JSArray_PropDescriptor); + B.List_NIe = A._setArrayType(makeConstList(["MenuDropdownRightProps.title_", "MenuDropdownRightProps.id_", "MenuDropdownRightProps.keyboard_shortcut", "MenuDropdownRightProps.tooltip", "MenuDropdownRightProps.disabled", "MenuDropdownRightProps.disallow_overflow"]), type$.JSArray_String); + B.PropsMeta_TBc = new A.PropsMeta(B.List_NIe); + B.Map_B8Nl7 = new A.GeneralConstantMap([B.Type_MenuDropdownRightProps_4aa, B.PropsMeta_TBc], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignContextMenuProps_YaG = A.typeLiteral("DesignContextMenuProps"); + B.C_PropDescriptor139 = new A.PropDescriptor(); + B.List_PropDescriptor0 = A._setArrayType(makeConstList([B.C_PropDescriptor139]), type$.JSArray_PropDescriptor); + B.List_Qxg0 = A._setArrayType(makeConstList(["DesignContextMenuProps.context_menu"]), type$.JSArray_String); + B.PropsMeta_ZGD = new A.PropsMeta(B.List_Qxg0); + B.Map_CR0 = new A.GeneralConstantMap([B.Type_DesignContextMenuProps_YaG, B.PropsMeta_ZGD], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_MenuBooleanProps_kuJ = A.typeLiteral("MenuBooleanProps"); + B.C_PropDescriptor140 = new A.PropDescriptor(); + B.C_PropDescriptor141 = new A.PropDescriptor(); + B.C_PropDescriptor142 = new A.PropDescriptor(); + B.C_PropDescriptor143 = new A.PropDescriptor(); + B.C_PropDescriptor144 = new A.PropDescriptor(); + B.C_PropDescriptor145 = new A.PropDescriptor(); + B.List_2tm0 = A._setArrayType(makeConstList([B.C_PropDescriptor140, B.C_PropDescriptor141, B.C_PropDescriptor142, B.C_PropDescriptor143, B.C_PropDescriptor144, B.C_PropDescriptor145]), type$.JSArray_PropDescriptor); + B.List_2eY = A._setArrayType(makeConstList(["MenuBooleanProps.value", "MenuBooleanProps.display", "MenuBooleanProps.on_change", "MenuBooleanProps.name", "MenuBooleanProps.hide", "MenuBooleanProps.tooltip"]), type$.JSArray_String); + B.PropsMeta_Ao9 = new A.PropsMeta(B.List_2eY); + B.Map_CxWnW = new A.GeneralConstantMap([B.Type_MenuBooleanProps_kuJ, B.PropsMeta_Ao9], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_KdP = A.typeLiteral("DesignMainStrandExtensionTextProps"); + B.C_PropDescriptor146 = new A.PropDescriptor(); + B.C_PropDescriptor147 = new A.PropDescriptor(); + B.C_PropDescriptor148 = new A.PropDescriptor(); + B.C_PropDescriptor149 = new A.PropDescriptor(); + B.C_PropDescriptor150 = new A.PropDescriptor(); + B.C_PropDescriptor151 = new A.PropDescriptor(); + B.List_2tm1 = A._setArrayType(makeConstList([B.C_PropDescriptor146, B.C_PropDescriptor147, B.C_PropDescriptor148, B.C_PropDescriptor149, B.C_PropDescriptor150, B.C_PropDescriptor151]), type$.JSArray_PropDescriptor); + B.List_gQe = A._setArrayType(makeConstList(["DesignMainStrandExtensionTextProps.ext", string$.DesignMStEg, "DesignMainStrandExtensionTextProps.text", string$.DesignMStEc, string$.DesignMStEn, string$.DesignMStEf]), type$.JSArray_String); + B.PropsMeta_MYA = new A.PropsMeta(B.List_gQe); + B.Map_EERSP = new A.GeneralConstantMap([B.Type_KdP, B.PropsMeta_MYA], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDNAEndPropsMixin_V43 = A.typeLiteral("DesignMainDNAEndPropsMixin"); + B.C_PropDescriptor152 = new A.PropDescriptor(); + B.C_PropDescriptor153 = new A.PropDescriptor(); + B.C_PropDescriptor154 = new A.PropDescriptor(); + B.C_PropDescriptor155 = new A.PropDescriptor(); + B.C_PropDescriptor156 = new A.PropDescriptor(); + B.C_PropDescriptor157 = new A.PropDescriptor(); + B.C_PropDescriptor158 = new A.PropDescriptor(); + B.C_PropDescriptor159 = new A.PropDescriptor(); + B.C_PropDescriptor160 = new A.PropDescriptor(); + B.C_PropDescriptor161 = new A.PropDescriptor(); + B.C_PropDescriptor162 = new A.PropDescriptor(); + B.C_PropDescriptor163 = new A.PropDescriptor(); + B.C_PropDescriptor164 = new A.PropDescriptor(); + B.C_PropDescriptor165 = new A.PropDescriptor(); + B.C_PropDescriptor166 = new A.PropDescriptor(); + B.C_PropDescriptor167 = new A.PropDescriptor(); + B.List_6i0 = A._setArrayType(makeConstList([B.C_PropDescriptor152, B.C_PropDescriptor153, B.C_PropDescriptor154, B.C_PropDescriptor155, B.C_PropDescriptor156, B.C_PropDescriptor157, B.C_PropDescriptor158, B.C_PropDescriptor159, B.C_PropDescriptor160, B.C_PropDescriptor161, B.C_PropDescriptor162, B.C_PropDescriptor163, B.C_PropDescriptor164, B.C_PropDescriptor165, B.C_PropDescriptor166, B.C_PropDescriptor167]), type$.JSArray_PropDescriptor); + B.List_Ab5 = 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_String); + B.PropsMeta_20O = new A.PropsMeta(B.List_Ab5); + B.Map_EMiZu = new A.GeneralConstantMap([B.Type_DesignMainDNAEndPropsMixin_V43, B.PropsMeta_20O], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_Snt = A.typeLiteral("DesignMainStrandLoopoutTextProps"); + B.C_PropDescriptor168 = new A.PropDescriptor(); + B.C_PropDescriptor169 = new A.PropDescriptor(); + B.C_PropDescriptor170 = new A.PropDescriptor(); + B.C_PropDescriptor171 = new A.PropDescriptor(); + B.C_PropDescriptor172 = new A.PropDescriptor(); + B.C_PropDescriptor173 = new A.PropDescriptor(); + B.C_PropDescriptor174 = new A.PropDescriptor(); + B.C_PropDescriptor175 = new A.PropDescriptor(); + B.List_kye1 = A._setArrayType(makeConstList([B.C_PropDescriptor168, B.C_PropDescriptor169, B.C_PropDescriptor170, B.C_PropDescriptor171, B.C_PropDescriptor172, B.C_PropDescriptor173, B.C_PropDescriptor174, B.C_PropDescriptor175]), type$.JSArray_PropDescriptor); + B.List_SJs = A._setArrayType(makeConstList(["DesignMainStrandLoopoutTextProps.loopout", string$.DesignMStLg, string$.DesignMStLp, string$.DesignMStLne, "DesignMainStrandLoopoutTextProps.text", string$.DesignMStLc, string$.DesignMStLnu, string$.DesignMStLf]), type$.JSArray_String); + B.PropsMeta_gGr = new A.PropsMeta(B.List_SJs); + B.Map_FIwMy = new A.GeneralConstantMap([B.Type_Snt, B.PropsMeta_gGr], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ASw = A.typeLiteral("DesignMainStrandDeletionPropsMixin"); + B.C_PropDescriptor176 = new A.PropDescriptor(); + B.C_PropDescriptor177 = new A.PropDescriptor(); + B.C_PropDescriptor178 = new A.PropDescriptor(); + B.C_PropDescriptor179 = new A.PropDescriptor(); + B.C_PropDescriptor180 = new A.PropDescriptor(); + B.C_PropDescriptor181 = new A.PropDescriptor(); + B.C_PropDescriptor182 = new A.PropDescriptor(); + B.List_ECG0 = A._setArrayType(makeConstList([B.C_PropDescriptor176, B.C_PropDescriptor177, B.C_PropDescriptor178, B.C_PropDescriptor179, B.C_PropDescriptor180, B.C_PropDescriptor181, B.C_PropDescriptor182]), type$.JSArray_PropDescriptor); + B.List_4UD = A._setArrayType(makeConstList([string$.DesignMStDesea, "DesignMainStrandDeletionPropsMixin.helix", string$.DesignMStDesee, string$.DesignMStDet, string$.DesignMStDesv, string$.DesignMStDer, string$.DesignMStDeg]), type$.JSArray_String); + B.PropsMeta_88s = new A.PropsMeta(B.List_4UD); + B.Map_Fmwnh = new A.GeneralConstantMap([B.Type_ASw, B.PropsMeta_88s], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainHelicesProps_8Fi = A.typeLiteral("DesignMainHelicesProps"); + B.C_PropDescriptor183 = new A.PropDescriptor(); + B.C_PropDescriptor184 = new A.PropDescriptor(); + B.C_PropDescriptor185 = new A.PropDescriptor(); + B.C_PropDescriptor186 = new A.PropDescriptor(); + B.C_PropDescriptor187 = new A.PropDescriptor(); + B.C_PropDescriptor188 = new A.PropDescriptor(); + B.C_PropDescriptor189 = new A.PropDescriptor(); + B.C_PropDescriptor190 = new A.PropDescriptor(); + B.C_PropDescriptor191 = new A.PropDescriptor(); + B.C_PropDescriptor192 = new A.PropDescriptor(); + B.C_PropDescriptor193 = new A.PropDescriptor(); + B.C_PropDescriptor194 = new A.PropDescriptor(); + B.C_PropDescriptor195 = new A.PropDescriptor(); + B.C_PropDescriptor196 = new A.PropDescriptor(); + B.C_PropDescriptor197 = new A.PropDescriptor(); + B.C_PropDescriptor198 = new A.PropDescriptor(); + B.C_PropDescriptor199 = new A.PropDescriptor(); + B.C_PropDescriptor200 = new A.PropDescriptor(); + B.List_cKo = A._setArrayType(makeConstList([B.C_PropDescriptor183, B.C_PropDescriptor184, B.C_PropDescriptor185, B.C_PropDescriptor186, B.C_PropDescriptor187, B.C_PropDescriptor188, B.C_PropDescriptor189, B.C_PropDescriptor190, B.C_PropDescriptor191, B.C_PropDescriptor192, B.C_PropDescriptor193, B.C_PropDescriptor194, B.C_PropDescriptor195, B.C_PropDescriptor196, B.C_PropDescriptor197, B.C_PropDescriptor198, B.C_PropDescriptor199, B.C_PropDescriptor200]), type$.JSArray_PropDescriptor); + B.List_kWM = 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_String); + B.PropsMeta_j0s = new A.PropsMeta(B.List_kWM); + B.Map_GNwEs = new A.GeneralConstantMap([B.Type_DesignMainHelicesProps_8Fi, B.PropsMeta_j0s], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainLoopoutProps_66I = A.typeLiteral("DesignMainLoopoutProps"); + B.C_PropDescriptor201 = new A.PropDescriptor(); + B.C_PropDescriptor202 = new A.PropDescriptor(); + B.C_PropDescriptor203 = new A.PropDescriptor(); + B.C_PropDescriptor204 = new A.PropDescriptor(); + B.C_PropDescriptor205 = new A.PropDescriptor(); + B.C_PropDescriptor206 = new A.PropDescriptor(); + B.C_PropDescriptor207 = new A.PropDescriptor(); + B.C_PropDescriptor208 = new A.PropDescriptor(); + B.C_PropDescriptor209 = new A.PropDescriptor(); + B.C_PropDescriptor210 = new A.PropDescriptor(); + B.C_PropDescriptor211 = new A.PropDescriptor(); + B.C_PropDescriptor212 = new A.PropDescriptor(); + B.C_PropDescriptor213 = new A.PropDescriptor(); + B.C_PropDescriptor214 = new A.PropDescriptor(); + B.C_PropDescriptor215 = new A.PropDescriptor(); + B.C_PropDescriptor216 = new A.PropDescriptor(); + B.C_PropDescriptor217 = new A.PropDescriptor(); + B.List_wzu = A._setArrayType(makeConstList([B.C_PropDescriptor201, B.C_PropDescriptor202, B.C_PropDescriptor203, B.C_PropDescriptor204, B.C_PropDescriptor205, B.C_PropDescriptor206, B.C_PropDescriptor207, B.C_PropDescriptor208, B.C_PropDescriptor209, B.C_PropDescriptor210, B.C_PropDescriptor211, B.C_PropDescriptor212, B.C_PropDescriptor213, B.C_PropDescriptor214, B.C_PropDescriptor215, B.C_PropDescriptor216, B.C_PropDescriptor217]), type$.JSArray_PropDescriptor); + B.List_aZ8 = 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", "DesignMainLoopoutProps.prev_geometry", "DesignMainLoopoutProps.next_geometry", string$.DesignMLPp, string$.DesignMLPn, string$.DesignMLPr]), type$.JSArray_String); + B.PropsMeta_8km = new A.PropsMeta(B.List_aZ8); + B.Map_GV1eM = new A.GeneralConstantMap([B.Type_DesignMainLoopoutProps_66I, B.PropsMeta_8km], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_PotentialExtensionsViewProps_Tvc = A.typeLiteral("PotentialExtensionsViewProps"); + B.C_PropDescriptor218 = new A.PropDescriptor(); + B.C_PropDescriptor219 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor = A._setArrayType(makeConstList([B.C_PropDescriptor218, B.C_PropDescriptor219]), type$.JSArray_PropDescriptor); + B.List_twG = A._setArrayType(makeConstList([string$.PotentE, "PotentialExtensionsViewProps.id_"]), type$.JSArray_String); + B.PropsMeta_zT4 = new A.PropsMeta(B.List_twG); + B.Map_GVMvk = new A.GeneralConstantMap([B.Type_PotentialExtensionsViewProps_Tvc, B.PropsMeta_zT4], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignSideRotationProps_2Lp = A.typeLiteral("DesignSideRotationProps"); + B.C_PropDescriptor220 = new A.PropDescriptor(); + B.C_PropDescriptor221 = new A.PropDescriptor(); + B.C_PropDescriptor222 = new A.PropDescriptor(); + B.List_OT5 = A._setArrayType(makeConstList([B.C_PropDescriptor220, B.C_PropDescriptor221, B.C_PropDescriptor222]), type$.JSArray_PropDescriptor); + B.List_A8D = A._setArrayType(makeConstList(["DesignSideRotationProps.radius", "DesignSideRotationProps.data", "DesignSideRotationProps.invert_y"]), type$.JSArray_String); + B.PropsMeta_2i7 = new A.PropsMeta(B.List_A8D); + B.Map_Ii5YL = new A.GeneralConstantMap([B.Type_DesignSideRotationProps_2Lp, B.PropsMeta_2i7], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_KEX = A.typeLiteral("DesignMainPotentialVerticalCrossoversProps"); + B.C_PropDescriptor223 = new A.PropDescriptor(); + B.C_PropDescriptor224 = new A.PropDescriptor(); + B.C_PropDescriptor225 = new A.PropDescriptor(); + B.C_PropDescriptor226 = new A.PropDescriptor(); + B.C_PropDescriptor227 = new A.PropDescriptor(); + B.C_PropDescriptor228 = new A.PropDescriptor(); + B.C_PropDescriptor229 = new A.PropDescriptor(); + B.List_ECG1 = A._setArrayType(makeConstList([B.C_PropDescriptor223, B.C_PropDescriptor224, B.C_PropDescriptor225, B.C_PropDescriptor226, B.C_PropDescriptor227, B.C_PropDescriptor228, B.C_PropDescriptor229]), type$.JSArray_PropDescriptor); + B.List_uPE = A._setArrayType(makeConstList([string$.DesignMPsp, string$.DesignMPshc, string$.DesignMPsgr, string$.DesignMPsge, string$.DesignMPso, string$.DesignMPss, string$.DesignMPshx]), type$.JSArray_String); + B.PropsMeta_WmH = new A.PropsMeta(B.List_uPE); + B.Map_LNezW = new A.GeneralConstantMap([B.Type_KEX, B.PropsMeta_WmH], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDNASequencesProps_GBZ = A.typeLiteral("DesignMainDNASequencesProps"); + B.C_PropDescriptor230 = new A.PropDescriptor(); + B.C_PropDescriptor231 = new A.PropDescriptor(); + B.C_PropDescriptor232 = new A.PropDescriptor(); + B.C_PropDescriptor233 = new A.PropDescriptor(); + B.C_PropDescriptor234 = new A.PropDescriptor(); + B.C_PropDescriptor235 = new A.PropDescriptor(); + B.C_PropDescriptor236 = new A.PropDescriptor(); + B.C_PropDescriptor237 = new A.PropDescriptor(); + B.C_PropDescriptor238 = new A.PropDescriptor(); + B.C_PropDescriptor239 = new A.PropDescriptor(); + B.C_PropDescriptor240 = new A.PropDescriptor(); + B.C_PropDescriptor241 = new A.PropDescriptor(); + B.C_PropDescriptor242 = new A.PropDescriptor(); + B.C_PropDescriptor243 = new A.PropDescriptor(); + B.C_PropDescriptor244 = new A.PropDescriptor(); + B.List_qRH = A._setArrayType(makeConstList([B.C_PropDescriptor230, B.C_PropDescriptor231, B.C_PropDescriptor232, B.C_PropDescriptor233, B.C_PropDescriptor234, B.C_PropDescriptor235, B.C_PropDescriptor236, B.C_PropDescriptor237, B.C_PropDescriptor238, B.C_PropDescriptor239, B.C_PropDescriptor240, B.C_PropDescriptor241, B.C_PropDescriptor242, B.C_PropDescriptor243, B.C_PropDescriptor244]), type$.JSArray_PropDescriptor); + B.List_2jN2 = 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_String); + B.PropsMeta_Zjc0 = new A.PropsMeta(B.List_2jN2); + B.Map_M6OHH = new A.GeneralConstantMap([B.Type_DesignMainDNASequencesProps_GBZ, B.PropsMeta_Zjc0], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ErrorBoundaryProps_IiG = A.typeLiteral("ErrorBoundaryProps"); + B.C_PropDescriptor245 = new A.PropDescriptor(); + B.C_PropDescriptor246 = new A.PropDescriptor(); + B.C_PropDescriptor247 = new A.PropDescriptor(); + B.C_PropDescriptor248 = new A.PropDescriptor(); + B.C_PropDescriptor249 = new A.PropDescriptor(); + B.C_PropDescriptor250 = new A.PropDescriptor(); + B.C_PropDescriptor251 = new A.PropDescriptor(); + B.List_ECG2 = A._setArrayType(makeConstList([B.C_PropDescriptor245, B.C_PropDescriptor246, B.C_PropDescriptor247, B.C_PropDescriptor248, B.C_PropDescriptor249, B.C_PropDescriptor250, B.C_PropDescriptor251]), type$.JSArray_PropDescriptor); + B.List_a9d = A._setArrayType(makeConstList(["ErrorBoundaryProps.onComponentDidCatch", string$.ErrorBPo, "ErrorBoundaryProps.fallbackUIRenderer", string$.ErrorBPi, "ErrorBoundaryProps.loggerName", "ErrorBoundaryProps.shouldLogErrors", "ErrorBoundaryProps.logger"]), type$.JSArray_String); + B.PropsMeta_OBU = new A.PropsMeta(B.List_a9d); + B.Map_MDgDQ = new A.GeneralConstantMap([B.Type_ErrorBoundaryProps_IiG, B.PropsMeta_OBU], type$.GeneralConstantMap_Type_PropsMeta); + B.Map_PL88f = 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_EditModeProps_bd2 = A.typeLiteral("EditModeProps"); + B.C_PropDescriptor252 = new A.PropDescriptor(); + B.List_PropDescriptor1 = A._setArrayType(makeConstList([B.C_PropDescriptor252]), type$.JSArray_PropDescriptor); + B.List_8eb = A._setArrayType(makeConstList(["EditModeProps.modes"]), type$.JSArray_String); + B.PropsMeta_eop = new A.PropsMeta(B.List_8eb); + B.Map_Q1kWM = new A.GeneralConstantMap([B.Type_EditModeProps_bd2, B.PropsMeta_eop], type$.GeneralConstantMap_Type_PropsMeta); + B.Object_reb = {filter: 0, "stroke-width": 1}; + B.Map_QWbJC = new A.ConstantStringMap(B.Object_reb, ['url("#shadow")', "5pt"], type$.ConstantStringMap_String_String); + B.Type_DesignMainStrandMovingProps_kap = A.typeLiteral("DesignMainStrandMovingProps"); + B.C_PropDescriptor253 = new A.PropDescriptor(); + B.C_PropDescriptor254 = new A.PropDescriptor(); + B.C_PropDescriptor255 = new A.PropDescriptor(); + B.C_PropDescriptor256 = new A.PropDescriptor(); + B.C_PropDescriptor257 = new A.PropDescriptor(); + B.C_PropDescriptor258 = new A.PropDescriptor(); + B.C_PropDescriptor259 = new A.PropDescriptor(); + B.C_PropDescriptor260 = new A.PropDescriptor(); + B.C_PropDescriptor261 = new A.PropDescriptor(); + B.C_PropDescriptor262 = new A.PropDescriptor(); + B.C_PropDescriptor263 = new A.PropDescriptor(); + B.C_PropDescriptor264 = new A.PropDescriptor(); + B.List_CNd2 = A._setArrayType(makeConstList([B.C_PropDescriptor253, B.C_PropDescriptor254, B.C_PropDescriptor255, B.C_PropDescriptor256, B.C_PropDescriptor257, B.C_PropDescriptor258, B.C_PropDescriptor259, B.C_PropDescriptor260, B.C_PropDescriptor261, B.C_PropDescriptor262, B.C_PropDescriptor263, B.C_PropDescriptor264]), type$.JSArray_PropDescriptor); + B.List_V63 = 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_String); + B.PropsMeta_ww8 = new A.PropsMeta(B.List_V63); + B.Map_TRivT = new A.GeneralConstantMap([B.Type_DesignMainStrandMovingProps_kap, B.PropsMeta_ww8], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignLoadingDialogProps_4YV = A.typeLiteral("DesignLoadingDialogProps"); + B.C_PropDescriptor265 = new A.PropDescriptor(); + B.List_PropDescriptor2 = A._setArrayType(makeConstList([B.C_PropDescriptor265]), type$.JSArray_PropDescriptor); + B.List_y5T = A._setArrayType(makeConstList(["DesignLoadingDialogProps.show"]), type$.JSArray_String); + B.PropsMeta_zuL = new A.PropsMeta(B.List_y5T); + B.Map_Trxw8 = new A.GeneralConstantMap([B.Type_DesignLoadingDialogProps_4YV, B.PropsMeta_zuL], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_M2I = A.typeLiteral("DesignMainUnpairedInsertionDeletionsProps"); + B.C_PropDescriptor266 = new A.PropDescriptor(); + B.C_PropDescriptor267 = new A.PropDescriptor(); + B.C_PropDescriptor268 = new A.PropDescriptor(); + B.C_PropDescriptor269 = new A.PropDescriptor(); + B.List_ZDx0 = A._setArrayType(makeConstList([B.C_PropDescriptor266, B.C_PropDescriptor267, B.C_PropDescriptor268, B.C_PropDescriptor269]), type$.JSArray_PropDescriptor); + B.List_SLf = A._setArrayType(makeConstList([string$.DesignMUd, string$.DesignMUo, string$.DesignMUs, string$.DesignMUh]), type$.JSArray_String); + B.PropsMeta_bcu = new A.PropsMeta(B.List_SLf); + B.Map_U8Cnc = new A.GeneralConstantMap([B.Type_M2I, B.PropsMeta_bcu], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_SelectModePropsMixin_0 = A.typeLiteral("SelectModePropsMixin"); + B.Type_ConnectPropsMixin_cUH = A.typeLiteral("ConnectPropsMixin"); + B.C_PropDescriptor270 = new A.PropDescriptor(); + B.C_PropDescriptor271 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor0 = A._setArrayType(makeConstList([B.C_PropDescriptor270, B.C_PropDescriptor271]), type$.JSArray_PropDescriptor); + B.List_465 = A._setArrayType(makeConstList(["SelectModePropsMixin.select_mode_state", "SelectModePropsMixin.is_origami"]), type$.JSArray_String); + B.PropsMeta_L7S = new A.PropsMeta(B.List_465); + B.C_PropDescriptor272 = new A.PropDescriptor(); + B.List_PropDescriptor3 = A._setArrayType(makeConstList([B.C_PropDescriptor272]), type$.JSArray_PropDescriptor); B.List_dispatch = A._setArrayType(makeConstList(["dispatch"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_iRE = A._setArrayType(makeConstList([string$.DesignMLEPg, string$.DesignMLEPs]), type$.JSArray_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_Type_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_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_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_Type_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_PropDescriptor); - B.List_9Mg = A._setArrayType(makeConstList(["DesignMainDNAMismatchesProps.design", string$.DesignMDNMo, string$.DesignMDNMs, string$.DesignMDNMh]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_0F9 = A._setArrayType(makeConstList(["SelectionRopeViewProps.selection_rope", string$.SelectR, "SelectionRopeViewProps.id_", "SelectionRopeViewProps.is_main"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_gkc0 = A._setArrayType(makeConstList(["MenuDropdownItemProps.display", "MenuDropdownItemProps.on_click", "MenuDropdownItemProps.keyboard_shortcut", "MenuDropdownItemProps.disabled", "MenuDropdownItemProps.active", "MenuDropdownItemProps.tooltip"]), type$.JSArray_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_Type_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_PropDescriptor); - B.List_G2S = A._setArrayType(makeConstList(["MenuProps.state"]), type$.JSArray_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_Type_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.PropsMeta_List_dispatch = new A.PropsMeta(B.List_dispatch); + B.Map_UwEGJ = new A.GeneralConstantMap([B.Type_SelectModePropsMixin_0, B.PropsMeta_L7S, B.Type_ConnectPropsMixin_cUH, B.PropsMeta_List_dispatch], type$.GeneralConstantMap_Type_PropsMeta); + B.Map_VOaKH = 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_AxisArrowsMainProps_06z = A.typeLiteral("AxisArrowsMainProps"); + B.C_PropDescriptor273 = new A.PropDescriptor(); + B.C_PropDescriptor274 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor1 = A._setArrayType(makeConstList([B.C_PropDescriptor273, B.C_PropDescriptor274]), type$.JSArray_PropDescriptor); + B.List_h4E = A._setArrayType(makeConstList(["AxisArrowsMainProps.invert_y", string$.AxisArM]), type$.JSArray_String); + B.PropsMeta_uj5 = new A.PropsMeta(B.List_h4E); + B.Map_WNJ1G = new A.GeneralConstantMap([B.Type_AxisArrowsMainProps_06z, B.PropsMeta_uj5], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDomainProps_B6W = A.typeLiteral("DesignMainDomainProps"); + B.C_PropDescriptor275 = new A.PropDescriptor(); + B.C_PropDescriptor276 = new A.PropDescriptor(); + B.C_PropDescriptor277 = new A.PropDescriptor(); + B.C_PropDescriptor278 = new A.PropDescriptor(); + B.C_PropDescriptor279 = new A.PropDescriptor(); + B.C_PropDescriptor280 = new A.PropDescriptor(); + B.C_PropDescriptor281 = new A.PropDescriptor(); + B.C_PropDescriptor282 = new A.PropDescriptor(); + B.C_PropDescriptor283 = new A.PropDescriptor(); + B.C_PropDescriptor284 = new A.PropDescriptor(); + B.C_PropDescriptor285 = new A.PropDescriptor(); + B.C_PropDescriptor286 = new A.PropDescriptor(); + B.C_PropDescriptor287 = new A.PropDescriptor(); + B.List_I2F0 = A._setArrayType(makeConstList([B.C_PropDescriptor275, B.C_PropDescriptor276, B.C_PropDescriptor277, B.C_PropDescriptor278, B.C_PropDescriptor279, B.C_PropDescriptor280, B.C_PropDescriptor281, B.C_PropDescriptor282, B.C_PropDescriptor283, B.C_PropDescriptor284, B.C_PropDescriptor285, B.C_PropDescriptor286, B.C_PropDescriptor287]), type$.JSArray_PropDescriptor); + B.List_uHn = 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_String); + B.PropsMeta_s2a = new A.PropsMeta(B.List_uHn); + B.Map_XNmZh = new A.GeneralConstantMap([B.Type_DesignMainDomainProps_B6W, B.PropsMeta_s2a], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_MenuProps_gSn = A.typeLiteral("MenuProps"); + B.C_PropDescriptor288 = new A.PropDescriptor(); + B.List_PropDescriptor4 = A._setArrayType(makeConstList([B.C_PropDescriptor288]), type$.JSArray_PropDescriptor); + B.List_7Nb = A._setArrayType(makeConstList(["MenuProps.state"]), type$.JSArray_String); + B.PropsMeta_BW8 = new A.PropsMeta(B.List_7Nb); + B.Map_Y2AH7 = new A.GeneralConstantMap([B.Type_MenuProps_gSn, B.PropsMeta_BW8], type$.GeneralConstantMap_Type_PropsMeta); + B.Object_0 = {stroke: 0, "stroke-width": 1}; + B.Map_Ybjj9 = new A.ConstantStringMap(B.Object_0, ["hotpink", "5pt"], type$.ConstantStringMap_String_String); + B.Type_DesignMainHelixProps_GJC = A.typeLiteral("DesignMainHelixProps"); + B.C_PropDescriptor289 = new A.PropDescriptor(); + B.C_PropDescriptor290 = new A.PropDescriptor(); + B.C_PropDescriptor291 = new A.PropDescriptor(); + B.C_PropDescriptor292 = new A.PropDescriptor(); + B.C_PropDescriptor293 = new A.PropDescriptor(); + B.C_PropDescriptor294 = new A.PropDescriptor(); + B.C_PropDescriptor295 = new A.PropDescriptor(); + B.C_PropDescriptor296 = new A.PropDescriptor(); + B.C_PropDescriptor297 = new A.PropDescriptor(); + B.C_PropDescriptor298 = new A.PropDescriptor(); + B.C_PropDescriptor299 = new A.PropDescriptor(); + B.C_PropDescriptor300 = new A.PropDescriptor(); + B.List_CNd3 = A._setArrayType(makeConstList([B.C_PropDescriptor289, B.C_PropDescriptor290, B.C_PropDescriptor291, B.C_PropDescriptor292, B.C_PropDescriptor293, B.C_PropDescriptor294, B.C_PropDescriptor295, B.C_PropDescriptor296, B.C_PropDescriptor297, B.C_PropDescriptor298, B.C_PropDescriptor299, B.C_PropDescriptor300]), type$.JSArray_PropDescriptor); + B.List_ACk = 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", "DesignMainHelixProps.geometry"]), type$.JSArray_String); + B.PropsMeta_iTR = new A.PropsMeta(B.List_ACk); + B.Map_ZYDbk = new A.GeneralConstantMap([B.Type_DesignMainHelixProps_GJC, B.PropsMeta_iTR], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignFooterProps_mSr = A.typeLiteral("DesignFooterProps"); + B.C_PropDescriptor301 = new A.PropDescriptor(); + B.C_PropDescriptor302 = new A.PropDescriptor(); + B.C_PropDescriptor303 = new A.PropDescriptor(); + B.List_OT50 = A._setArrayType(makeConstList([B.C_PropDescriptor301, B.C_PropDescriptor302, B.C_PropDescriptor303]), type$.JSArray_PropDescriptor); + B.List_DDH = A._setArrayType(makeConstList(["DesignFooterProps.mouseover_datas", string$.DesignF, "DesignFooterProps.loaded_filename"]), type$.JSArray_String); + B.PropsMeta_oyU = new A.PropsMeta(B.List_DDH); + B.Map_aX7PY = new A.GeneralConstantMap([B.Type_DesignFooterProps_mSr, B.PropsMeta_oyU], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDomainsMovingProps_7Xe = A.typeLiteral("DesignMainDomainsMovingProps"); + B.C_PropDescriptor304 = new A.PropDescriptor(); + B.C_PropDescriptor305 = new A.PropDescriptor(); + B.C_PropDescriptor306 = new A.PropDescriptor(); + B.C_PropDescriptor307 = new A.PropDescriptor(); + B.C_PropDescriptor308 = new A.PropDescriptor(); + B.C_PropDescriptor309 = new A.PropDescriptor(); + B.C_PropDescriptor310 = new A.PropDescriptor(); + B.C_PropDescriptor311 = new A.PropDescriptor(); + B.C_PropDescriptor312 = new A.PropDescriptor(); + B.List_kjq1 = A._setArrayType(makeConstList([B.C_PropDescriptor304, B.C_PropDescriptor305, B.C_PropDescriptor306, B.C_PropDescriptor307, B.C_PropDescriptor308, B.C_PropDescriptor309, B.C_PropDescriptor310, B.C_PropDescriptor311, B.C_PropDescriptor312]), type$.JSArray_PropDescriptor); + B.List_a1A = A._setArrayType(makeConstList([string$.DesignMDosd, string$.DesignMDosco, string$.DesignMDoso, string$.DesignMDoscu, "DesignMainDomainsMovingProps.helices", "DesignMainDomainsMovingProps.groups", string$.DesignMDoss, "DesignMainDomainsMovingProps.geometry", string$.DesignMDosh]), type$.JSArray_String); + B.PropsMeta_azY = new A.PropsMeta(B.List_a1A); + B.Map_anXXe = new A.GeneralConstantMap([B.Type_DesignMainDomainsMovingProps_7Xe, B.PropsMeta_azY], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainStrandProps_Z0b = A.typeLiteral("DesignMainStrandProps"); + B.C_PropDescriptor313 = new A.PropDescriptor(); + B.C_PropDescriptor314 = new A.PropDescriptor(); + B.C_PropDescriptor315 = new A.PropDescriptor(); + B.C_PropDescriptor316 = new A.PropDescriptor(); + B.C_PropDescriptor317 = new A.PropDescriptor(); + B.C_PropDescriptor318 = new A.PropDescriptor(); + B.C_PropDescriptor319 = new A.PropDescriptor(); + B.C_PropDescriptor320 = new A.PropDescriptor(); + B.C_PropDescriptor321 = new A.PropDescriptor(); + B.C_PropDescriptor322 = new A.PropDescriptor(); + B.C_PropDescriptor323 = new A.PropDescriptor(); + B.C_PropDescriptor324 = new A.PropDescriptor(); + B.C_PropDescriptor325 = new A.PropDescriptor(); + B.C_PropDescriptor326 = new A.PropDescriptor(); + B.C_PropDescriptor327 = new A.PropDescriptor(); + B.C_PropDescriptor328 = new A.PropDescriptor(); + B.C_PropDescriptor329 = new A.PropDescriptor(); + B.C_PropDescriptor330 = new A.PropDescriptor(); + B.C_PropDescriptor331 = new A.PropDescriptor(); + B.C_PropDescriptor332 = new A.PropDescriptor(); + B.C_PropDescriptor333 = new A.PropDescriptor(); + B.C_PropDescriptor334 = new A.PropDescriptor(); + B.C_PropDescriptor335 = new A.PropDescriptor(); + B.C_PropDescriptor336 = new A.PropDescriptor(); + B.C_PropDescriptor337 = new A.PropDescriptor(); + B.C_PropDescriptor338 = new A.PropDescriptor(); + B.C_PropDescriptor339 = new A.PropDescriptor(); + B.C_PropDescriptor340 = new A.PropDescriptor(); + B.C_PropDescriptor341 = new A.PropDescriptor(); + B.C_PropDescriptor342 = new A.PropDescriptor(); + B.C_PropDescriptor343 = new A.PropDescriptor(); + B.C_PropDescriptor344 = new A.PropDescriptor(); + B.C_PropDescriptor345 = new A.PropDescriptor(); + B.List_sgE = A._setArrayType(makeConstList([B.C_PropDescriptor313, B.C_PropDescriptor314, B.C_PropDescriptor315, B.C_PropDescriptor316, B.C_PropDescriptor317, B.C_PropDescriptor318, B.C_PropDescriptor319, B.C_PropDescriptor320, B.C_PropDescriptor321, B.C_PropDescriptor322, B.C_PropDescriptor323, B.C_PropDescriptor324, B.C_PropDescriptor325, B.C_PropDescriptor326, B.C_PropDescriptor327, B.C_PropDescriptor328, B.C_PropDescriptor329, B.C_PropDescriptor330, B.C_PropDescriptor331, B.C_PropDescriptor332, B.C_PropDescriptor333, B.C_PropDescriptor334, B.C_PropDescriptor335, B.C_PropDescriptor336, B.C_PropDescriptor337, B.C_PropDescriptor338, B.C_PropDescriptor339, B.C_PropDescriptor340, B.C_PropDescriptor341, B.C_PropDescriptor342, B.C_PropDescriptor343, B.C_PropDescriptor344, B.C_PropDescriptor345]), type$.JSArray_PropDescriptor); + B.List_UWp = 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_String); + B.PropsMeta_429 = new A.PropsMeta(B.List_UWp); + B.Map_c0ibp = new A.GeneralConstantMap([B.Type_DesignMainStrandProps_Z0b, B.PropsMeta_429], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_EditAndSelectModesProps_bpf = A.typeLiteral("EditAndSelectModesProps"); + B.C_PropDescriptor346 = new A.PropDescriptor(); + B.C_PropDescriptor347 = new A.PropDescriptor(); + B.C_PropDescriptor348 = new A.PropDescriptor(); + B.C_PropDescriptor349 = new A.PropDescriptor(); + B.List_ZDx1 = A._setArrayType(makeConstList([B.C_PropDescriptor346, B.C_PropDescriptor347, B.C_PropDescriptor348, B.C_PropDescriptor349]), type$.JSArray_PropDescriptor); + B.List_mNb = A._setArrayType(makeConstList(["EditAndSelectModesProps.edit_modes", string$.EditAns, "EditAndSelectModesProps.is_origami", string$.EditAne]), type$.JSArray_String); + B.PropsMeta_Azz = new A.PropsMeta(B.List_mNb); + B.Map_cQp2l = new A.GeneralConstantMap([B.Type_EditAndSelectModesProps_bpf, B.PropsMeta_Azz], type$.GeneralConstantMap_Type_PropsMeta); + B.Object_empty = {}; + B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], type$.ConstantStringMap_String_String); + B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap>")); + B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap>>")); + B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<@,@>")); + B.Type_SelectionRopeViewProps_WbI = A.typeLiteral("SelectionRopeViewProps"); + B.C_PropDescriptor350 = new A.PropDescriptor(); + B.C_PropDescriptor351 = new A.PropDescriptor(); + B.C_PropDescriptor352 = new A.PropDescriptor(); + B.C_PropDescriptor353 = new A.PropDescriptor(); + B.List_ZDx2 = A._setArrayType(makeConstList([B.C_PropDescriptor350, B.C_PropDescriptor351, B.C_PropDescriptor352, B.C_PropDescriptor353]), type$.JSArray_PropDescriptor); + B.List_xw8 = A._setArrayType(makeConstList(["SelectionRopeViewProps.selection_rope", string$.SelectR, "SelectionRopeViewProps.id_", "SelectionRopeViewProps.is_main"]), type$.JSArray_String); + B.PropsMeta_oyU0 = new A.PropsMeta(B.List_xw8); + B.Map_eoc4R = new A.GeneralConstantMap([B.Type_SelectionRopeViewProps_WbI, B.PropsMeta_oyU0], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainProps_K9W = A.typeLiteral("DesignMainProps"); + B.C_PropDescriptor354 = new A.PropDescriptor(); + B.List_PropDescriptor5 = A._setArrayType(makeConstList([B.C_PropDescriptor354]), type$.JSArray_PropDescriptor); + B.List_nGa = A._setArrayType(makeConstList(["DesignMainProps.state"]), type$.JSArray_String); + B.PropsMeta_MMm = new A.PropsMeta(B.List_nGa); + B.Map_gcYH7 = new A.GeneralConstantMap([B.Type_DesignMainProps_K9W, B.PropsMeta_MMm], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainStrandPathsProps_kBM = A.typeLiteral("DesignMainStrandPathsProps"); + B.C_PropDescriptor355 = new A.PropDescriptor(); + B.C_PropDescriptor356 = new A.PropDescriptor(); + B.C_PropDescriptor357 = new A.PropDescriptor(); + B.C_PropDescriptor358 = new A.PropDescriptor(); + B.C_PropDescriptor359 = new A.PropDescriptor(); + B.C_PropDescriptor360 = new A.PropDescriptor(); + B.C_PropDescriptor361 = new A.PropDescriptor(); + B.C_PropDescriptor362 = new A.PropDescriptor(); + B.C_PropDescriptor363 = new A.PropDescriptor(); + B.C_PropDescriptor364 = new A.PropDescriptor(); + B.C_PropDescriptor365 = new A.PropDescriptor(); + B.C_PropDescriptor366 = new A.PropDescriptor(); + B.C_PropDescriptor367 = new A.PropDescriptor(); + B.C_PropDescriptor368 = new A.PropDescriptor(); + B.C_PropDescriptor369 = new A.PropDescriptor(); + B.C_PropDescriptor370 = new A.PropDescriptor(); + B.C_PropDescriptor371 = new A.PropDescriptor(); + B.C_PropDescriptor372 = new A.PropDescriptor(); + B.List_cKo0 = A._setArrayType(makeConstList([B.C_PropDescriptor355, B.C_PropDescriptor356, B.C_PropDescriptor357, B.C_PropDescriptor358, B.C_PropDescriptor359, B.C_PropDescriptor360, B.C_PropDescriptor361, B.C_PropDescriptor362, B.C_PropDescriptor363, B.C_PropDescriptor364, B.C_PropDescriptor365, B.C_PropDescriptor366, B.C_PropDescriptor367, B.C_PropDescriptor368, B.C_PropDescriptor369, B.C_PropDescriptor370, B.C_PropDescriptor371, B.C_PropDescriptor372]), type$.JSArray_PropDescriptor); + B.List_urb = 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_String); + B.PropsMeta_0 = new A.PropsMeta(B.List_urb); + B.Map_ggVZD = new A.GeneralConstantMap([B.Type_DesignMainStrandPathsProps_kBM, B.PropsMeta_0], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_haa = A.typeLiteral("DesignMainBasePairRectangleProps"); + B.C_PropDescriptor373 = new A.PropDescriptor(); + B.C_PropDescriptor374 = new A.PropDescriptor(); + B.C_PropDescriptor375 = new A.PropDescriptor(); + B.C_PropDescriptor376 = new A.PropDescriptor(); + B.C_PropDescriptor377 = new A.PropDescriptor(); + B.List_kmC1 = A._setArrayType(makeConstList([B.C_PropDescriptor373, B.C_PropDescriptor374, B.C_PropDescriptor375, B.C_PropDescriptor376, B.C_PropDescriptor377]), type$.JSArray_PropDescriptor); + B.List_iOX = A._setArrayType(makeConstList([string$.DesignMBRw, "DesignMainBasePairRectangleProps.design", string$.DesignMBRo, string$.DesignMBRs, string$.DesignMBRh]), type$.JSArray_String); + B.PropsMeta_uzK = new A.PropsMeta(B.List_iOX); + B.Map_gnUyN = new A.GeneralConstantMap([B.Type_haa, B.PropsMeta_uzK], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_NlB = A.typeLiteral("DesignMainStrandDomainTextProps"); + B.C_PropDescriptor378 = new A.PropDescriptor(); + B.C_PropDescriptor379 = new A.PropDescriptor(); + B.C_PropDescriptor380 = new A.PropDescriptor(); + B.C_PropDescriptor381 = new A.PropDescriptor(); + B.C_PropDescriptor382 = new A.PropDescriptor(); + B.C_PropDescriptor383 = new A.PropDescriptor(); + B.C_PropDescriptor384 = new A.PropDescriptor(); + B.C_PropDescriptor385 = new A.PropDescriptor(); + B.C_PropDescriptor386 = new A.PropDescriptor(); + B.C_PropDescriptor387 = new A.PropDescriptor(); + B.C_PropDescriptor388 = new A.PropDescriptor(); + B.C_PropDescriptor389 = new A.PropDescriptor(); + B.List_CNd4 = A._setArrayType(makeConstList([B.C_PropDescriptor378, B.C_PropDescriptor379, B.C_PropDescriptor380, B.C_PropDescriptor381, B.C_PropDescriptor382, B.C_PropDescriptor383, B.C_PropDescriptor384, B.C_PropDescriptor385, B.C_PropDescriptor386, B.C_PropDescriptor387, B.C_PropDescriptor388, B.C_PropDescriptor389]), type$.JSArray_PropDescriptor); + B.List_gkJ = 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_String); + B.PropsMeta_xw8 = new A.PropsMeta(B.List_gkJ); + B.Map_go0 = new A.GeneralConstantMap([B.Type_NlB, B.PropsMeta_xw8], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_SelectionBoxViewProps_APP = A.typeLiteral("SelectionBoxViewProps"); + B.C_PropDescriptor390 = new A.PropDescriptor(); + B.C_PropDescriptor391 = new A.PropDescriptor(); + B.C_PropDescriptor392 = new A.PropDescriptor(); + B.C_PropDescriptor393 = new A.PropDescriptor(); + B.List_ZDx3 = A._setArrayType(makeConstList([B.C_PropDescriptor390, B.C_PropDescriptor391, B.C_PropDescriptor392, B.C_PropDescriptor393]), type$.JSArray_PropDescriptor); + B.List_sPH = A._setArrayType(makeConstList(["SelectionBoxViewProps.selection_box", string$.SelectB, "SelectionBoxViewProps.id_", "SelectionBoxViewProps.is_main"]), type$.JSArray_String); + B.PropsMeta_Wrr = new A.PropsMeta(B.List_sPH); + B.Map_guUwG = new A.GeneralConstantMap([B.Type_SelectionBoxViewProps_APP, B.PropsMeta_Wrr], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_EndMovingProps_IUb = A.typeLiteral("EndMovingProps"); + B.C_PropDescriptor394 = new A.PropDescriptor(); + B.C_PropDescriptor395 = new A.PropDescriptor(); + B.C_PropDescriptor396 = new A.PropDescriptor(); + B.C_PropDescriptor397 = new A.PropDescriptor(); + B.C_PropDescriptor398 = new A.PropDescriptor(); + B.C_PropDescriptor399 = new A.PropDescriptor(); + B.C_PropDescriptor400 = new A.PropDescriptor(); + B.C_PropDescriptor401 = new A.PropDescriptor(); + B.C_PropDescriptor402 = new A.PropDescriptor(); + B.C_PropDescriptor403 = new A.PropDescriptor(); + B.C_PropDescriptor404 = new A.PropDescriptor(); + B.List_61r0 = A._setArrayType(makeConstList([B.C_PropDescriptor394, B.C_PropDescriptor395, B.C_PropDescriptor396, B.C_PropDescriptor397, B.C_PropDescriptor398, B.C_PropDescriptor399, B.C_PropDescriptor400, B.C_PropDescriptor401, B.C_PropDescriptor402, B.C_PropDescriptor403, B.C_PropDescriptor404]), type$.JSArray_PropDescriptor); + B.List_6dg = A._setArrayType(makeConstList(["EndMovingProps.dna_end", "EndMovingProps.helix", "EndMovingProps.color", "EndMovingProps.forward", "EndMovingProps.is_5p", "EndMovingProps.geometry", "EndMovingProps.current_offset", "EndMovingProps.svg_position_y", "EndMovingProps.transform", "EndMovingProps.render", "EndMovingProps.allowable"]), type$.JSArray_String); + B.PropsMeta_yPV = new A.PropsMeta(B.List_6dg); + B.Map_hqynv = new A.GeneralConstantMap([B.Type_EndMovingProps_IUb, B.PropsMeta_yPV], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignSideHelixProps_i3t = A.typeLiteral("DesignSideHelixProps"); + B.C_PropDescriptor405 = new A.PropDescriptor(); + B.C_PropDescriptor406 = new A.PropDescriptor(); + B.C_PropDescriptor407 = new A.PropDescriptor(); + B.C_PropDescriptor408 = new A.PropDescriptor(); + B.C_PropDescriptor409 = new A.PropDescriptor(); + B.C_PropDescriptor410 = new A.PropDescriptor(); + B.C_PropDescriptor411 = new A.PropDescriptor(); + B.C_PropDescriptor412 = new A.PropDescriptor(); + B.C_PropDescriptor413 = new A.PropDescriptor(); + B.C_PropDescriptor414 = new A.PropDescriptor(); + B.C_PropDescriptor415 = new A.PropDescriptor(); + B.List_61r1 = A._setArrayType(makeConstList([B.C_PropDescriptor405, B.C_PropDescriptor406, B.C_PropDescriptor407, B.C_PropDescriptor408, B.C_PropDescriptor409, B.C_PropDescriptor410, B.C_PropDescriptor411, B.C_PropDescriptor412, B.C_PropDescriptor413, B.C_PropDescriptor414, B.C_PropDescriptor415]), type$.JSArray_PropDescriptor); + B.List_69t0 = 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", "DesignSideHelixProps.geometry"]), type$.JSArray_String); + B.PropsMeta_AEy = new A.PropsMeta(B.List_69t0); + B.Map_hv4m4 = new A.GeneralConstantMap([B.Type_DesignSideHelixProps_i3t, B.PropsMeta_AEy], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainWarningStarProps_uXQ = A.typeLiteral("DesignMainWarningStarProps"); + B.C_PropDescriptor416 = new A.PropDescriptor(); + B.C_PropDescriptor417 = new A.PropDescriptor(); + B.C_PropDescriptor418 = new A.PropDescriptor(); + B.C_PropDescriptor419 = new A.PropDescriptor(); + B.List_ZDx4 = A._setArrayType(makeConstList([B.C_PropDescriptor416, B.C_PropDescriptor417, B.C_PropDescriptor418, B.C_PropDescriptor419]), type$.JSArray_PropDescriptor); + B.List_xw80 = A._setArrayType(makeConstList(["DesignMainWarningStarProps.base_svg_pos", "DesignMainWarningStarProps.forward", "DesignMainWarningStarProps.geometry", "DesignMainWarningStarProps.color"]), type$.JSArray_String); + B.PropsMeta_oyU1 = new A.PropsMeta(B.List_xw80); + B.Map_iDhCt = new A.GeneralConstantMap([B.Type_DesignMainWarningStarProps_uXQ, B.PropsMeta_oyU1], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_s6Q = A.typeLiteral("DesignMainLoopoutExtensionLengthsProps"); + B.C_PropDescriptor420 = new A.PropDescriptor(); + B.C_PropDescriptor421 = new A.PropDescriptor(); + B.C_PropDescriptor422 = new A.PropDescriptor(); + B.List_OT51 = A._setArrayType(makeConstList([B.C_PropDescriptor420, B.C_PropDescriptor421, B.C_PropDescriptor422]), type$.JSArray_PropDescriptor); + B.List_xw81 = A._setArrayType(makeConstList([string$.DesignMLEsg, string$.DesignMLEsst, string$.DesignMLEssh]), type$.JSArray_String); + B.PropsMeta_oyU2 = new A.PropsMeta(B.List_xw81); + B.Map_ijQHh = new A.GeneralConstantMap([B.Type_s6Q, B.PropsMeta_oyU2], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_tVC = A.typeLiteral("DesignMainStrandAndDomainTextsProps"); + B.C_PropDescriptor423 = new A.PropDescriptor(); + B.C_PropDescriptor424 = new A.PropDescriptor(); + B.C_PropDescriptor425 = new A.PropDescriptor(); + B.C_PropDescriptor426 = new A.PropDescriptor(); + B.C_PropDescriptor427 = new A.PropDescriptor(); + B.C_PropDescriptor428 = new A.PropDescriptor(); + B.C_PropDescriptor429 = new A.PropDescriptor(); + B.C_PropDescriptor430 = new A.PropDescriptor(); + B.C_PropDescriptor431 = new A.PropDescriptor(); + B.C_PropDescriptor432 = new A.PropDescriptor(); + B.C_PropDescriptor433 = new A.PropDescriptor(); + B.C_PropDescriptor434 = new A.PropDescriptor(); + B.C_PropDescriptor435 = new A.PropDescriptor(); + B.C_PropDescriptor436 = new A.PropDescriptor(); + B.C_PropDescriptor437 = new A.PropDescriptor(); + B.C_PropDescriptor438 = new A.PropDescriptor(); + B.C_PropDescriptor439 = new A.PropDescriptor(); + B.List_wzu0 = A._setArrayType(makeConstList([B.C_PropDescriptor423, B.C_PropDescriptor424, B.C_PropDescriptor425, B.C_PropDescriptor426, B.C_PropDescriptor427, B.C_PropDescriptor428, B.C_PropDescriptor429, B.C_PropDescriptor430, B.C_PropDescriptor431, B.C_PropDescriptor432, B.C_PropDescriptor433, B.C_PropDescriptor434, B.C_PropDescriptor435, B.C_PropDescriptor436, B.C_PropDescriptor437, B.C_PropDescriptor438, B.C_PropDescriptor439]), type$.JSArray_PropDescriptor); + B.List_iDA = 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_String); + B.PropsMeta_UYm = new A.PropsMeta(B.List_iDA); + B.Map_jR13F = new A.GeneralConstantMap([B.Type_tVC, B.PropsMeta_UYm], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignContextSubmenuProps_QKO = A.typeLiteral("DesignContextSubmenuProps"); + B.C_PropDescriptor440 = new A.PropDescriptor(); + B.List_PropDescriptor6 = A._setArrayType(makeConstList([B.C_PropDescriptor440]), type$.JSArray_PropDescriptor); + B.List_Z7k = A._setArrayType(makeConstList(["DesignContextSubmenuProps.context_menu"]), type$.JSArray_String); + B.PropsMeta_qd9 = new A.PropsMeta(B.List_Z7k); + B.Map_jfegt = new A.GeneralConstantMap([B.Type_DesignContextSubmenuProps_QKO, B.PropsMeta_qd9], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_HelixGroupMovingProps_4CA = A.typeLiteral("HelixGroupMovingProps"); + B.C_PropDescriptor441 = new A.PropDescriptor(); + B.C_PropDescriptor442 = new A.PropDescriptor(); + B.C_PropDescriptor443 = new A.PropDescriptor(); + B.C_PropDescriptor444 = new A.PropDescriptor(); + B.C_PropDescriptor445 = new A.PropDescriptor(); + B.C_PropDescriptor446 = new A.PropDescriptor(); + B.C_PropDescriptor447 = new A.PropDescriptor(); + B.C_PropDescriptor448 = new A.PropDescriptor(); + B.List_kye2 = A._setArrayType(makeConstList([B.C_PropDescriptor441, B.C_PropDescriptor442, B.C_PropDescriptor443, B.C_PropDescriptor444, B.C_PropDescriptor445, B.C_PropDescriptor446, B.C_PropDescriptor447, B.C_PropDescriptor448]), type$.JSArray_PropDescriptor); + B.List_k6P = 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_String); + B.PropsMeta_0HB = new A.PropsMeta(B.List_k6P); + B.Map_jfekq = new A.GeneralConstantMap([B.Type_HelixGroupMovingProps_4CA, B.PropsMeta_0HB], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_SideMenuProps_gn0 = A.typeLiteral("SideMenuProps"); + B.C_PropDescriptor449 = new A.PropDescriptor(); + B.C_PropDescriptor450 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor2 = A._setArrayType(makeConstList([B.C_PropDescriptor449, B.C_PropDescriptor450]), type$.JSArray_PropDescriptor); + B.List_1uJ = A._setArrayType(makeConstList(["SideMenuProps.groups", "SideMenuProps.displayed_group_name"]), type$.JSArray_String); + B.PropsMeta_ifL = new A.PropsMeta(B.List_1uJ); + B.Map_jtWrY = new A.GeneralConstantMap([B.Type_SideMenuProps_gn0, B.PropsMeta_ifL], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_a1T = A.typeLiteral("DesignMainLoopoutExtensionLengthProps"); + B.C_PropDescriptor451 = new A.PropDescriptor(); + B.C_PropDescriptor452 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor3 = A._setArrayType(makeConstList([B.C_PropDescriptor451, B.C_PropDescriptor452]), type$.JSArray_PropDescriptor); + B.List_XnF = A._setArrayType(makeConstList([string$.DesignMLEPg, string$.DesignMLEPs]), type$.JSArray_String); + B.PropsMeta_wAC = new A.PropsMeta(B.List_XnF); + B.Map_kGwGY = new A.GeneralConstantMap([B.Type_a1T, B.PropsMeta_wAC], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDNAMismatchesProps_kCw = A.typeLiteral("DesignMainDNAMismatchesProps"); + B.C_PropDescriptor453 = new A.PropDescriptor(); + B.C_PropDescriptor454 = new A.PropDescriptor(); + B.C_PropDescriptor455 = new A.PropDescriptor(); + B.C_PropDescriptor456 = new A.PropDescriptor(); + B.List_ZDx5 = A._setArrayType(makeConstList([B.C_PropDescriptor453, B.C_PropDescriptor454, B.C_PropDescriptor455, B.C_PropDescriptor456]), type$.JSArray_PropDescriptor); + B.List_7xV = A._setArrayType(makeConstList(["DesignMainDNAMismatchesProps.design", string$.DesignMDNMo, string$.DesignMDNMs, string$.DesignMDNMh]), type$.JSArray_String); + B.PropsMeta_LPp = new A.PropsMeta(B.List_7xV); + B.Map_kjAKW = new A.GeneralConstantMap([B.Type_DesignMainDNAMismatchesProps_kCw, B.PropsMeta_LPp], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_inD = A.typeLiteral("DesignMainDomainNameMismatchesProps"); + B.C_PropDescriptor457 = new A.PropDescriptor(); + B.C_PropDescriptor458 = new A.PropDescriptor(); + B.C_PropDescriptor459 = new A.PropDescriptor(); + B.C_PropDescriptor460 = new A.PropDescriptor(); + B.List_ZDx6 = A._setArrayType(makeConstList([B.C_PropDescriptor457, B.C_PropDescriptor458, B.C_PropDescriptor459, B.C_PropDescriptor460]), type$.JSArray_PropDescriptor); + B.List_AOw = A._setArrayType(makeConstList([string$.DesignMDoNd, string$.DesignMDoNo, string$.DesignMDoNs, string$.DesignMDoNh]), type$.JSArray_String); + B.PropsMeta_yFG = new A.PropsMeta(B.List_AOw); + B.Map_muVSq = new A.GeneralConstantMap([B.Type_inD, B.PropsMeta_yFG], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainExtensionProps_RTB = A.typeLiteral("DesignMainExtensionProps"); + B.C_PropDescriptor461 = new A.PropDescriptor(); + B.C_PropDescriptor462 = new A.PropDescriptor(); + B.C_PropDescriptor463 = new A.PropDescriptor(); + B.C_PropDescriptor464 = new A.PropDescriptor(); + B.C_PropDescriptor465 = new A.PropDescriptor(); + B.C_PropDescriptor466 = new A.PropDescriptor(); + B.C_PropDescriptor467 = new A.PropDescriptor(); + B.C_PropDescriptor468 = new A.PropDescriptor(); + B.C_PropDescriptor469 = new A.PropDescriptor(); + B.C_PropDescriptor470 = new A.PropDescriptor(); + B.C_PropDescriptor471 = new A.PropDescriptor(); + B.C_PropDescriptor472 = new A.PropDescriptor(); + B.C_PropDescriptor473 = new A.PropDescriptor(); + B.List_I2F1 = A._setArrayType(makeConstList([B.C_PropDescriptor461, B.C_PropDescriptor462, B.C_PropDescriptor463, B.C_PropDescriptor464, B.C_PropDescriptor465, B.C_PropDescriptor466, B.C_PropDescriptor467, B.C_PropDescriptor468, B.C_PropDescriptor469, B.C_PropDescriptor470, B.C_PropDescriptor471, B.C_PropDescriptor472, B.C_PropDescriptor473]), type$.JSArray_PropDescriptor); + B.List_MDA = 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_String); + B.PropsMeta_Iwp = new A.PropsMeta(B.List_MDA); + B.Map_oBdsj = new A.GeneralConstantMap([B.Type_DesignMainExtensionProps_RTB, B.PropsMeta_Iwp], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_Ak6 = A.typeLiteral("DesignMainPotentialVerticalCrossoverProps"); + B.C_PropDescriptor474 = new A.PropDescriptor(); + B.C_PropDescriptor475 = new A.PropDescriptor(); + B.C_PropDescriptor476 = new A.PropDescriptor(); + B.C_PropDescriptor477 = new A.PropDescriptor(); + B.C_PropDescriptor478 = new A.PropDescriptor(); + B.List_kmC2 = A._setArrayType(makeConstList([B.C_PropDescriptor474, B.C_PropDescriptor475, B.C_PropDescriptor476, B.C_PropDescriptor477, B.C_PropDescriptor478]), type$.JSArray_PropDescriptor); + B.List_05 = A._setArrayType(makeConstList([string$.DesignMPPp, string$.DesignMPPhc, string$.DesignMPPgr, string$.DesignMPPge, string$.DesignMPPhx]), type$.JSArray_String); + B.PropsMeta_Jjl = new A.PropsMeta(B.List_05); + B.Map_qpPXx = new A.GeneralConstantMap([B.Type_Ak6, B.PropsMeta_Jjl], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_ZwB = A.typeLiteral("DesignMainStrandCrossoverProps"); + B.C_PropDescriptor479 = new A.PropDescriptor(); + B.C_PropDescriptor480 = new A.PropDescriptor(); + B.C_PropDescriptor481 = new A.PropDescriptor(); + B.C_PropDescriptor482 = new A.PropDescriptor(); + B.C_PropDescriptor483 = new A.PropDescriptor(); + B.C_PropDescriptor484 = new A.PropDescriptor(); + B.C_PropDescriptor485 = new A.PropDescriptor(); + B.C_PropDescriptor486 = new A.PropDescriptor(); + B.C_PropDescriptor487 = new A.PropDescriptor(); + B.C_PropDescriptor488 = new A.PropDescriptor(); + B.C_PropDescriptor489 = new A.PropDescriptor(); + B.List_61r2 = A._setArrayType(makeConstList([B.C_PropDescriptor479, B.C_PropDescriptor480, B.C_PropDescriptor481, B.C_PropDescriptor482, B.C_PropDescriptor483, B.C_PropDescriptor484, B.C_PropDescriptor485, B.C_PropDescriptor486, B.C_PropDescriptor487, B.C_PropDescriptor488, B.C_PropDescriptor489]), type$.JSArray_PropDescriptor); + B.List_nl5 = 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_String); + B.PropsMeta_DV7 = new A.PropsMeta(B.List_nl5); + B.Map_rL4QF = new A.GeneralConstantMap([B.Type_ZwB, B.PropsMeta_DV7], type$.GeneralConstantMap_Type_PropsMeta); + B.Object_kWM = {filter: 0, stroke: 1, "stroke-width": 2, visibility: 3}; + B.Map_sou91 = new A.ConstantStringMap(B.Object_kWM, ['url("#shadow")', "black", "1pt", "visible"], type$.ConstantStringMap_String_String); + B.Type_oCz = A.typeLiteral("DesignMainStrandModificationProps"); + B.C_PropDescriptor490 = new A.PropDescriptor(); + B.C_PropDescriptor491 = new A.PropDescriptor(); + B.C_PropDescriptor492 = new A.PropDescriptor(); + B.C_PropDescriptor493 = new A.PropDescriptor(); + B.C_PropDescriptor494 = new A.PropDescriptor(); + B.C_PropDescriptor495 = new A.PropDescriptor(); + B.C_PropDescriptor496 = new A.PropDescriptor(); + B.C_PropDescriptor497 = new A.PropDescriptor(); + B.C_PropDescriptor498 = new A.PropDescriptor(); + B.C_PropDescriptor499 = new A.PropDescriptor(); + B.C_PropDescriptor500 = new A.PropDescriptor(); + B.List_61r3 = A._setArrayType(makeConstList([B.C_PropDescriptor490, B.C_PropDescriptor491, B.C_PropDescriptor492, B.C_PropDescriptor493, B.C_PropDescriptor494, B.C_PropDescriptor495, B.C_PropDescriptor496, B.C_PropDescriptor497, B.C_PropDescriptor498, B.C_PropDescriptor499, B.C_PropDescriptor500]), type$.JSArray_PropDescriptor); + B.List_T5R = 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_String); + B.PropsMeta_Y6h = new A.PropsMeta(B.List_T5R); + B.Map_uMgkc = new A.GeneralConstantMap([B.Type_oCz, B.PropsMeta_Y6h], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_MenuDropdownItemProps_Aij = A.typeLiteral("MenuDropdownItemProps"); + B.C_PropDescriptor501 = new A.PropDescriptor(); + B.C_PropDescriptor502 = new A.PropDescriptor(); + B.C_PropDescriptor503 = new A.PropDescriptor(); + B.C_PropDescriptor504 = new A.PropDescriptor(); + B.C_PropDescriptor505 = new A.PropDescriptor(); + B.C_PropDescriptor506 = new A.PropDescriptor(); + B.List_2tm2 = A._setArrayType(makeConstList([B.C_PropDescriptor501, B.C_PropDescriptor502, B.C_PropDescriptor503, B.C_PropDescriptor504, B.C_PropDescriptor505, B.C_PropDescriptor506]), type$.JSArray_PropDescriptor); + B.List_E0A = A._setArrayType(makeConstList(["MenuDropdownItemProps.display", "MenuDropdownItemProps.on_click", "MenuDropdownItemProps.keyboard_shortcut", "MenuDropdownItemProps.disabled", "MenuDropdownItemProps.active", "MenuDropdownItemProps.tooltip"]), type$.JSArray_String); + B.PropsMeta_B8J = new A.PropsMeta(B.List_E0A); + B.Map_ufg6t = new A.GeneralConstantMap([B.Type_MenuDropdownItemProps_Aij, B.PropsMeta_B8J], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainDNASequenceProps_sty = A.typeLiteral("DesignMainDNASequenceProps"); + B.C_PropDescriptor507 = new A.PropDescriptor(); + B.C_PropDescriptor508 = new A.PropDescriptor(); + B.C_PropDescriptor509 = new A.PropDescriptor(); + B.C_PropDescriptor510 = new A.PropDescriptor(); + B.C_PropDescriptor511 = new A.PropDescriptor(); + B.C_PropDescriptor512 = new A.PropDescriptor(); + B.C_PropDescriptor513 = new A.PropDescriptor(); + B.C_PropDescriptor514 = new A.PropDescriptor(); + B.List_kye3 = A._setArrayType(makeConstList([B.C_PropDescriptor507, B.C_PropDescriptor508, B.C_PropDescriptor509, B.C_PropDescriptor510, B.C_PropDescriptor511, B.C_PropDescriptor512, B.C_PropDescriptor513, B.C_PropDescriptor514]), type$.JSArray_PropDescriptor); + B.List_Gnl = A._setArrayType(makeConstList(["DesignMainDNASequenceProps.strand", string$.DesignMDNSPs, string$.DesignMDNSPo, string$.DesignMDNSPd, "DesignMainDNASequenceProps.helices", "DesignMainDNASequenceProps.groups", "DesignMainDNASequenceProps.geometry", string$.DesignMDNSPh]), type$.JSArray_String); + B.PropsMeta_LPN = new A.PropsMeta(B.List_Gnl); + B.Map_vFMma = new A.GeneralConstantMap([B.Type_DesignMainDNASequenceProps_sty, B.PropsMeta_LPN], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_PotentialCrossoverViewProps_wmT = A.typeLiteral("PotentialCrossoverViewProps"); + B.C_PropDescriptor515 = new A.PropDescriptor(); + B.C_PropDescriptor516 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor4 = A._setArrayType(makeConstList([B.C_PropDescriptor515, B.C_PropDescriptor516]), type$.JSArray_PropDescriptor); + B.List_E8w = A._setArrayType(makeConstList([string$.PotentC, "PotentialCrossoverViewProps.id_"]), type$.JSArray_String); + B.PropsMeta_0wn = new A.PropsMeta(B.List_E8w); + B.Map_vPdEs = new A.GeneralConstantMap([B.Type_PotentialCrossoverViewProps_wmT, B.PropsMeta_0wn], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignSideProps_jzl = A.typeLiteral("DesignSideProps"); + B.C_PropDescriptor517 = new A.PropDescriptor(); + B.C_PropDescriptor518 = new A.PropDescriptor(); + B.C_PropDescriptor519 = new A.PropDescriptor(); + B.C_PropDescriptor520 = new A.PropDescriptor(); + B.C_PropDescriptor521 = new A.PropDescriptor(); + B.C_PropDescriptor522 = new A.PropDescriptor(); + B.C_PropDescriptor523 = new A.PropDescriptor(); + B.C_PropDescriptor524 = new A.PropDescriptor(); + B.C_PropDescriptor525 = new A.PropDescriptor(); + B.C_PropDescriptor526 = new A.PropDescriptor(); + B.C_PropDescriptor527 = new A.PropDescriptor(); + B.C_PropDescriptor528 = new A.PropDescriptor(); + B.List_CNd5 = A._setArrayType(makeConstList([B.C_PropDescriptor517, B.C_PropDescriptor518, B.C_PropDescriptor519, B.C_PropDescriptor520, B.C_PropDescriptor521, B.C_PropDescriptor522, B.C_PropDescriptor523, B.C_PropDescriptor524, B.C_PropDescriptor525, B.C_PropDescriptor526, B.C_PropDescriptor527, B.C_PropDescriptor528]), type$.JSArray_PropDescriptor); + B.List_2ev = 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_String); + B.PropsMeta_MlX = new A.PropsMeta(B.List_2ev); + B.Map_vrAzp = new A.GeneralConstantMap([B.Type_DesignSideProps_jzl, B.PropsMeta_MlX], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignMainBasePairLinesProps_chs = A.typeLiteral("DesignMainBasePairLinesProps"); + B.C_PropDescriptor529 = new A.PropDescriptor(); + B.C_PropDescriptor530 = new A.PropDescriptor(); + B.C_PropDescriptor531 = new A.PropDescriptor(); + B.C_PropDescriptor532 = new A.PropDescriptor(); + B.C_PropDescriptor533 = new A.PropDescriptor(); + B.List_kmC3 = A._setArrayType(makeConstList([B.C_PropDescriptor529, B.C_PropDescriptor530, B.C_PropDescriptor531, B.C_PropDescriptor532, B.C_PropDescriptor533]), type$.JSArray_PropDescriptor); + B.List_hcx = A._setArrayType(makeConstList([string$.DesignMBLw, "DesignMainBasePairLinesProps.design", string$.DesignMBLo, string$.DesignMBLs, string$.DesignMBLh]), type$.JSArray_String); + B.PropsMeta_ato = new A.PropsMeta(B.List_hcx); + B.Map_w0sWu = new A.GeneralConstantMap([B.Type_DesignMainBasePairLinesProps_chs, B.PropsMeta_ato], type$.GeneralConstantMap_Type_PropsMeta); + B.Map_wA43h = 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.Type_DesignMainSliceBarProps_feg = A.typeLiteral("DesignMainSliceBarProps"); + B.C_PropDescriptor534 = new A.PropDescriptor(); + B.C_PropDescriptor535 = new A.PropDescriptor(); + B.C_PropDescriptor536 = new A.PropDescriptor(); + B.C_PropDescriptor537 = new A.PropDescriptor(); + B.C_PropDescriptor538 = new A.PropDescriptor(); + B.C_PropDescriptor539 = new A.PropDescriptor(); + B.C_PropDescriptor540 = new A.PropDescriptor(); + B.C_PropDescriptor541 = new A.PropDescriptor(); + B.C_PropDescriptor542 = new A.PropDescriptor(); + B.List_kjq2 = A._setArrayType(makeConstList([B.C_PropDescriptor534, B.C_PropDescriptor535, B.C_PropDescriptor536, B.C_PropDescriptor537, B.C_PropDescriptor538, B.C_PropDescriptor539, B.C_PropDescriptor540, B.C_PropDescriptor541, B.C_PropDescriptor542]), type$.JSArray_PropDescriptor); + B.List_Eoc = 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_String); + B.PropsMeta_zjx = new A.PropsMeta(B.List_Eoc); + B.Map_wEfs3 = new A.GeneralConstantMap([B.Type_DesignMainSliceBarProps_feg, B.PropsMeta_zjx], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_DesignSideRotationArrowProps_23h = A.typeLiteral("DesignSideRotationArrowProps"); + B.C_PropDescriptor543 = new A.PropDescriptor(); + B.C_PropDescriptor544 = new A.PropDescriptor(); + B.C_PropDescriptor545 = new A.PropDescriptor(); + B.C_PropDescriptor546 = new A.PropDescriptor(); + B.List_ZDx7 = A._setArrayType(makeConstList([B.C_PropDescriptor543, B.C_PropDescriptor544, B.C_PropDescriptor545, B.C_PropDescriptor546]), type$.JSArray_PropDescriptor); + B.List_M5r = A._setArrayType(makeConstList([string$.DesignSR, "DesignSideRotationArrowProps.radius", "DesignSideRotationArrowProps.color", "DesignSideRotationArrowProps.invert_y"]), type$.JSArray_String); + B.PropsMeta_4AN = new A.PropsMeta(B.List_M5r); + B.Map_xjmZ3 = new A.GeneralConstantMap([B.Type_DesignSideRotationArrowProps_23h, B.PropsMeta_4AN], type$.GeneralConstantMap_Type_PropsMeta); + B.Type_AxisArrowsSideProps_alO = A.typeLiteral("AxisArrowsSideProps"); + B.C_PropDescriptor547 = new A.PropDescriptor(); + B.C_PropDescriptor548 = new A.PropDescriptor(); + B.List_PropDescriptor_PropDescriptor5 = A._setArrayType(makeConstList([B.C_PropDescriptor547, B.C_PropDescriptor548]), type$.JSArray_PropDescriptor); + B.List_FKj0 = A._setArrayType(makeConstList(["AxisArrowsSideProps.invert_y", string$.AxisArS]), type$.JSArray_String); + B.PropsMeta_wqM = new A.PropsMeta(B.List_FKj0); + B.Map_y0uNR = new A.GeneralConstantMap([B.Type_AxisArrowsSideProps_alO, B.PropsMeta_wqM], type$.GeneralConstantMap_Type_PropsMeta); 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"); @@ -161515,9 +160285,11 @@ B.PlateType_1 = new A.PlateType("wells384"); B.PlateType_2 = new A.PlateType("none"); B.Point_0_0 = new A.Point(0, 0, type$.Point_double); - B.PropsMetaCollection_Map_scU05 = new A.PropsMetaCollection(B.Map_scU05); - B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_PropDescriptor); - B.PropsMeta_List_empty_List_empty = new A.PropsMeta(B.List_empty10, B.List_empty0); + B.PropsMetaCollection_Map_UwEGJ = new A.PropsMetaCollection(B.Map_UwEGJ); + B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_PropDescriptor); + B.PropsMeta_List_empty = new A.PropsMeta(B.List_empty0); + B.XmlAttributeType_2x0 = new A.XmlAttributeType('"', "DOUBLE_QUOTE"); + B.Record2_8aB = new A._Record_2("", B.XmlAttributeType_2x0); B.SelectModeChoice_crossover = new A.SelectModeChoice("crossover"); B.SelectModeChoice_deletion = new A.SelectModeChoice("deletion"); B.SelectModeChoice_domain = new A.SelectModeChoice("domain"); @@ -161532,131 +160304,126 @@ 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, type$.Sequence2_String_XmlAttributeType); + B.XmlNodeType_0 = new A.XmlNodeType("ATTRIBUTE"); + B.Set_9UGP6 = new A.GeneralConstantSet([B.XmlNodeType_0], type$.GeneralConstantSet_XmlNodeType); 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_XmlNodeType_Null); - B.Set_EyI1 = new A._UnmodifiableSet(B.Map_EyMBF, type$._UnmodifiableSet_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_XmlNodeType_Null); - B.Set_r7Xh1 = new A._UnmodifiableSet(B.Map_r7O98, type$._UnmodifiableSet_XmlNodeType); + B.XmlNodeType_10 = new A.XmlNodeType("PROCESSING"); + B.XmlNodeType_11 = new A.XmlNodeType("TEXT"); + B.Set_HXHD4 = new A.GeneralConstantSet([B.XmlNodeType_1, B.XmlNodeType_2, B.XmlNodeType_7, B.XmlNodeType_10, B.XmlNodeType_11], type$.GeneralConstantSet_XmlNodeType); + B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet")); 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_XmlNodeType_Null); - B.Set_wEo81 = new A._UnmodifiableSet(B.Map_wEIik, type$._UnmodifiableSet_XmlNodeType); + B.Set_uHvy = new A.GeneralConstantSet([B.XmlNodeType_1, B.XmlNodeType_2, B.XmlNodeType_3, B.XmlNodeType_4, B.XmlNodeType_7, B.XmlNodeType_10, B.XmlNodeType_11], type$.GeneralConstantSet_XmlNodeType); B.Symbol_$defaultConsumedProps = new A.Symbol("$defaultConsumedProps"); + B.Symbol__throwNoParent = new A.Symbol("_throwNoParent"); 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.Type_2No = A.typeLiteral("DesignMainStrandDomainTextComponent"); + B.Type_37p = A.typeLiteral("DesignMainBasePairRectangleComponent"); + B.Type_61T = A.typeLiteral("DesignMainLoopoutExtensionLengthComponent"); + B.Type_6UD = A.typeLiteral("DesignMainWarningStarComponent"); + B.Type_86y = A.typeLiteral("DesignMainStrandDeletionComponent"); + B.Type_8hx = A.typeLiteral("DesignContextSubmenuComponent"); + B.Type_8qt = A.typeLiteral("DesignMainBasePairLinesComponent"); + B.Type_AxisArrowsComponent_4AN = A.typeLiteral("AxisArrowsComponent"); + B.Type_BigInt_C3o = A.typeLiteral("BigInt"); + B.Type_BoolJsonObject_Ocu = A.typeLiteral("BoolJsonObject"); + B.Type_ByteBuffer_EOZ = A.typeLiteral("ByteBuffer"); + B.Type_ByteData_mF8 = A.typeLiteral("ByteData"); + B.Type_COe = A.typeLiteral("DesignMainStrandMovingComponent"); + B.Type_DateTime_H1G = A.typeLiteral("DateTime"); + B.Type_DesignContextMenuComponent_kXN = A.typeLiteral("DesignContextMenuComponent"); + B.Type_DesignDialogFormComponent_QTP = A.typeLiteral("DesignDialogFormComponent"); + B.Type_DesignFooterComponent_KQ1 = A.typeLiteral("DesignFooterComponent"); + B.Type_DesignLoadingDialogComponent_RvG = A.typeLiteral("DesignLoadingDialogComponent"); + B.Type_DesignMainArrowsComponent_8Kj = A.typeLiteral("DesignMainArrowsComponent"); + B.Type_DesignMainComponent_Azz = A.typeLiteral("DesignMainComponent"); + B.Type_DesignMainDNAEndComponent_y00 = A.typeLiteral("DesignMainDNAEndComponent"); + B.Type_DesignMainDomainComponent_oqK = A.typeLiteral("DesignMainDomainComponent"); + B.Type_DesignMainExtensionComponent_MQu = A.typeLiteral("DesignMainExtensionComponent"); + B.Type_DesignMainHelicesComponent_d0h = A.typeLiteral("DesignMainHelicesComponent"); + B.Type_DesignMainHelixComponent_S74 = A.typeLiteral("DesignMainHelixComponent"); + B.Type_DesignMainLoopoutComponent_9Oh = A.typeLiteral("DesignMainLoopoutComponent"); + B.Type_DesignMainSliceBarComponent_uSn = A.typeLiteral("DesignMainSliceBarComponent"); + B.Type_DesignMainStrandComponent_QGe = A.typeLiteral("DesignMainStrandComponent"); + B.Type_DesignMainStrandsComponent_o7e = A.typeLiteral("DesignMainStrandsComponent"); + B.Type_DesignSideComponent_6Vr = A.typeLiteral("DesignSideComponent"); + B.Type_DesignSideHelixComponent_4AN = A.typeLiteral("DesignSideHelixComponent"); + B.Type_DesignSideRotationComponent_GpM = A.typeLiteral("DesignSideRotationComponent"); + B.Type_Duration_86y = A.typeLiteral("Duration"); + B.Type_EGJ = A.typeLiteral("DesignMainStrandModificationsComponent"); + B.Type_EditAndSelectModesComponent_ybB = A.typeLiteral("EditAndSelectModesComponent"); + B.Type_EditModeComponent_CKW = A.typeLiteral("EditModeComponent"); + B.Type_End3PrimeComponent_0 = A.typeLiteral("End3PrimeComponent"); + B.Type_End5PrimeComponent_ijq = A.typeLiteral("End5PrimeComponent"); + B.Type_EndMovingComponent_PVo = A.typeLiteral("EndMovingComponent"); + B.Type_ErrorBoundaryComponent_ffQ = A.typeLiteral("ErrorBoundaryComponent"); + B.Type_Ewu = A.typeLiteral("DesignMainDNASequencesComponent"); + B.Type_ExtensionEndMovingComponent_b8w = A.typeLiteral("ExtensionEndMovingComponent"); + B.Type_Float32List_Ymk = A.typeLiteral("Float32List"); + B.Type_Float64List_Ymk = A.typeLiteral("Float64List"); + B.Type_HelixGroupMovingComponent_kGq = A.typeLiteral("HelixGroupMovingComponent"); + B.Type_Ht8 = A.typeLiteral("PotentialExtensionsViewComponent"); + B.Type_Int16List_cot = A.typeLiteral("Int16List"); + B.Type_Int32List_m1p = A.typeLiteral("Int32List"); + B.Type_Int32_kyU = A.typeLiteral("Int32"); + B.Type_Int64_chs = A.typeLiteral("Int64"); + B.Type_Int8List_woc = A.typeLiteral("Int8List"); + B.Type_JSObject_0ua = A.typeLiteral("JSObject"); + B.Type_JsonObject_aJ0 = A.typeLiteral("JsonObject"); + B.Type_ListJsonObject_l4J = A.typeLiteral("ListJsonObject"); + B.Type_Lm4 = A.typeLiteral("DesignMainPotentialVerticalCrossoverComponent"); + B.Type_MapJsonObject_OYg = A.typeLiteral("MapJsonObject"); + B.Type_MenuBooleanComponent_WJm = A.typeLiteral("MenuBooleanComponent"); + B.Type_MenuComponent_uoT = A.typeLiteral("MenuComponent"); + B.Type_MenuDropdownItemComponent_GbU = A.typeLiteral("MenuDropdownItemComponent"); + B.Type_MenuDropdownRightComponent_8Yy = A.typeLiteral("MenuDropdownRightComponent"); + B.Type_MenuFormFileComponent_5gs = A.typeLiteral("MenuFormFileComponent"); + B.Type_MenuNumberComponent_ijK = A.typeLiteral("MenuNumberComponent"); + B.Type_N1J = A.typeLiteral("DesignSideRotationArrowComponent"); + B.Type_Null_a9w = A.typeLiteral("Null"); + B.Type_NumJsonObject_u6D = A.typeLiteral("NumJsonObject"); + B.Type_Qnb = A.typeLiteral("DesignMainStrandsMovingComponent"); + B.Type_RegExp_NMc = A.typeLiteral("RegExp"); + B.Type_SelectModeComponent_OLT = A.typeLiteral("SelectModeComponent"); + B.Type_SelectionBoxViewComponent_Y2j = A.typeLiteral("SelectionBoxViewComponent"); + B.Type_SelectionRopeViewComponent_ZEQ = A.typeLiteral("SelectionRopeViewComponent"); + B.Type_SideMenuComponent_4C1 = A.typeLiteral("SideMenuComponent"); + B.Type_StringJsonObject_wcs = A.typeLiteral("StringJsonObject"); + B.Type_U44 = A.typeLiteral("DesignMainPotentialVerticalCrossoversComponent"); + B.Type_Uint16List_2mh = A.typeLiteral("Uint16List"); + B.Type_Uint32List_2mh = A.typeLiteral("Uint32List"); + B.Type_Uint8ClampedList_9Bb = A.typeLiteral("Uint8ClampedList"); + B.Type_Uint8List_CSc = A.typeLiteral("Uint8List"); + B.Type_Uri_aPa = A.typeLiteral("Uri"); + B.Type_W71 = A.typeLiteral("DesignMainDomainNameMismatchesComponent"); + B.Type_a1Y = A.typeLiteral("DesignMainDomainMovingComponent"); + B.Type_ald = A.typeLiteral("DesignMainStrandCrossoverComponent"); + B.Type_apl = A.typeLiteral("DesignMainStrandModificationComponent"); + B.Type_gf4 = A.typeLiteral("DesignMainErrorBoundaryComponent"); + B.Type_gyO = A.typeLiteral("DesignSidePotentialHelixComponent"); + B.Type_jrF = A.typeLiteral("PotentialCrossoverViewComponent"); + B.Type_k0J = A.typeLiteral("DesignMainStrandAndDomainTextsComponent"); + B.Type_kNE = A.typeLiteral("StrandOrSubstrandColorPickerComponent"); + B.Type_kmC = A.typeLiteral("RecoverableErrorBoundaryComponent"); + B.Type_lhK = A.typeLiteral("DesignMainStrandInsertionComponent"); + B.Type_mBc = A.typeLiteral("DesignMainStrandCreatingComponent"); + B.Type_n3h = A.typeLiteral("DesignMainDNASequenceComponent"); + B.Type_num_EOZ = A.typeLiteral("num"); + B.Type_oT8 = A.typeLiteral("DesignMainStrandExtensionTextComponent"); + B.Type_osh = A.typeLiteral("DesignMainStrandPathsComponent"); + B.Type_q96 = A.typeLiteral("DesignMainUnpairedInsertionDeletionsComponent"); + B.Type_qWb = A.typeLiteral("DesignMainDomainsMovingComponent"); + B.Type_qtf = A.typeLiteral("DesignMainStrandLoopoutTextComponent"); + B.Type_s2f = A.typeLiteral("DesignMainDNAMismatchesComponent"); + B.Type_w54 = A.typeLiteral("DesignMainLoopoutExtensionLengthsComponent"); B.Utf8Decoder_false = new A.Utf8Decoder(false); - B.XmlAttributeType_fgL = new A.XmlAttributeType("'", "SINGLE_QUOTE"); + B.XmlAttributeType_3h3 = 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"); @@ -161667,6 +160434,7 @@ })(); (function staticFields() { $._JS_INTEROP_INTERCEPTOR_TAG = null; + $.toStringVisiting = A._setArrayType([], type$.JSArray_Object); $.Primitives__identityHashCodeProperty = null; $.BoundClosure__receiverFieldNameCache = null; $.BoundClosure__interceptorFieldNameCache = null; @@ -161676,12 +160444,12 @@ $.dispatchRecordsForInstanceTags = null; $.interceptorsForUncacheableTags = null; $.initNativeDispatchFlag = null; + $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray?>")); $._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; @@ -161690,11 +160458,14 @@ $._BigIntImpl____lastQuoRemUsed = A._Cell$named("_lastQuoRemUsed"); $._BigIntImpl____lastRemUsed = A._Cell$named("_lastRemUsed"); $._BigIntImpl____lastRem_nsh = A._Cell$named("_lastRem_nsh"); + $.Uri__cachedBaseString = ""; + $.Uri__cachedBaseUri = null; $.Element__parseDocument = null; $.Element__parseRange = null; $.Element__defaultValidator = null; $.Element__defaultSanitizer = null; $._Html5NodeValidator__attributeValidators = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Function); + $._mask32HiBits = 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); $.Deflate____config = A._Cell$named("_config"); $._indentingBuiltValueToStringHelperIndent = 0; $._currentDrag = null; @@ -161708,7 +160479,6 @@ $._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); @@ -161770,20 +160540,19 @@ }())); _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($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096)); + _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($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_QJv)); _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables()); _lazyFinal($, "CssStyleDeclaration__propertyCache", "$get$CssStyleDeclaration__propertyCache", () => ({})); _lazyFinal($, "ElementEvents_webkitEvents", "$get$ElementEvents_webkitEvents", () => { @@ -161794,17 +160563,17 @@ _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", () => B.JSString_methods.contains$2(A.Device_userAgent(), "Opera", 0)); - _lazyFinal($, "Device_isIE", "$get$Device_isIE", () => !A.boolConversionCheck($.$get$Device_isOpera()) && B.JSString_methods.contains$2(A.Device_userAgent(), "Trident/", 0)); + _lazyFinal($, "Device_isIE", "$get$Device_isIE", () => !$.$get$Device_isOpera() && B.JSString_methods.contains$2(A.Device_userAgent(), "Trident/", 0)); _lazyFinal($, "Device_isFirefox", "$get$Device_isFirefox", () => B.JSString_methods.contains$2(A.Device_userAgent(), "Firefox", 0)); - _lazyFinal($, "Device_isWebKit", "$get$Device_isWebKit", () => !A.boolConversionCheck($.$get$Device_isOpera()) && B.JSString_methods.contains$2(A.Device_userAgent(), "WebKit", 0)); + _lazyFinal($, "Device_isWebKit", "$get$Device_isWebKit", () => !$.$get$Device_isOpera() && B.JSString_methods.contains$2(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())) + if ($.$get$Device_isFirefox()) var t1 = "moz"; else if ($.$get$Device_isIE()) t1 = "ms"; else - t1 = A.boolConversionCheck($.$get$Device_isOpera()) ? "o" : "webkit"; + t1 = $.$get$Device_isOpera() ? "o" : "webkit"; return t1; }); _lazyFinal($, "_DART_OBJECT_PROPERTY_NAME", "$get$_DART_OBJECT_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartObject")); @@ -161816,16 +160585,17 @@ 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($, "BZip2_emptyUint8List", "$get$BZip2_emptyUint8List", () => A.NativeUint8List_NativeUint8List(0)); + _lazyFinal($, "BZip2_emptyInt32List", "$get$BZip2_emptyInt32List", () => A.NativeInt32List_NativeInt32List(0)); + _lazyFinal($, "_StaticTree_staticLDesc", "$get$_StaticTree_staticLDesc", () => A._StaticTree$(B.List_aWd, B.List_mlp, 257, 286, 15)); + _lazyFinal($, "_StaticTree_staticDDesc", "$get$_StaticTree_staticDDesc", () => A._StaticTree$(B.List_66y, B.List_lnn, 0, 30, 15)); + _lazyFinal($, "_StaticTree_staticBlDesc", "$get$_StaticTree_staticBlDesc", () => A._StaticTree$(null, B.List_O5O0, 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($, "_runtimeType", "$get$_runtimeType", () => A.getRuntimeTypeOfDartObject(A.RegExp_RegExp("", true))); + _lazyFinal($, "StandardJsonPlugin__unsupportedTypes", "$get$StandardJsonPlugin__unsupportedTypes", () => A.BuiltSet_BuiltSet([B.Type_BuiltListMultimap_apl, B.Type_BuiltSetMultimap_Xbt], type$.Type)); _lazyFinal($, "BaseRequest__tokenRE", "$get$BaseRequest__tokenRE", () => A.RegExp_RegExp("^[\\w!#%&'*+\\-.^`|~]+$", true)); + _lazyFinal($, "_digitRegex", "$get$_digitRegex", () => A.RegExp_RegExp("^\\d+$", 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)); @@ -161835,9 +160605,9 @@ _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)); + _lazyFinal($, "$ErrorBoundaryComponentFactory", "$get$$ErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$ErrorBoundaryComponentFactory_closure(), A.error_boundary___$ErrorBoundary$closure(), B.Type_ErrorBoundaryComponent_ffQ, 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)); + _lazyFinal($, "$RecoverableErrorBoundaryComponentFactory", "$get$$RecoverableErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$RecoverableErrorBoundaryComponentFactory_closure(), A.error_boundary_recoverable___$RecoverableErrorBoundary$closure(), B.Type_kmC, true, null, B.List_empty0)); _lazy($, "_typeAliasToFactory", "$get$_typeAliasToFactory", () => A.Expando$(null, A.findType("ReactComponentFactoryProxy"))); _lazy($, "ReduxProvider", "$get$ReduxProvider", () => { var t1 = self.ReactRedux.Provider, @@ -161847,26 +160617,25 @@ }); _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.Context1(A.findType("InternalStyle")._as($.$get$Style_platform()))); + _lazyFinal($, "context", "$get$context", () => new A.Context1($.$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($, "_single", "$get$_single", () => A.MapParserExtension_map(A.any(), new A._single_closure(), false, 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); + return A.RecordParserExtension3_map3(A.SequenceParser3$(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); + var t1 = type$.RangeCharPredicate; + return A.MapParserExtension_map(A.PossessiveRepeatingParserExtension_star(A.ChoiceIterableExtension_toChoiceParser(A._setArrayType([$.$get$_range(), $.$get$_single()], A.findType("JSArray>")), null, t1), t1), A.optimize__optimizedRanges$closure(), false, A.findType("List"), 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); + return A.RecordParserExtension2_map2(A.SequenceParser2$(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"))); @@ -162164,11 +160933,11 @@ _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($, "_tilibit_cs3_l", "$get$_tilibit_cs3_l", () => B.JSString_methods.replaceAll$2("CATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTCCTTTCGCTTTCTTCCCTTCCTTTCTCGC\nCACGTTCGCCGGCTTTCCCCGTCAAGCTCTAAATCGGGGGCTCCCTTTAGGGTTCCGATTTAGTGCTTTACGGCACCTCGACCCCAAAAAACTTGATTAG\nGGTGATGGTTCACGTAGTGGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTG\nGAACAACACTCAACCCTATCTCGGTCTATTCTTTTGATTTATAAGGGATTTTGCCGATTTCGGCCTATTGGTTAAAAAATGAGCTGATTTAACAAAAATT\nTAACGCGAATTTTAACAAAATATTAACGCTTACAATTTAGGTGGCACTTTTCGGGGAAATGTGCGCGGAACCCCTATTTGTTTATTTTTCTAAATACATT\nCAAATATGTATCCGCTCATGAGACAATAACCCTGATAAATGCTTCAATAATATTGAAAAAGGAAGAGTATGAGTATTCAACATTTCCGTGTCGCCCTTAT\nTCCCTTTTTTGCGGCATTTTGCCTTCCTGTTTTTGCTCACCCAGAAACGCTGGTGAAAGTAAAAGATGCTGAAGATCAGTTGGGTGCACGAGTGGGTTAC\nATCGAACTGGATCTCAACAGCGGTAAGATCCTTGAGAGTTTTCGCCCCGAAGAACGTTTTCCAATGATGAGCACTTTTAAAGTTCTGCTATGTGGCGCGG\nTATTATCCCGTATTGACGCCGGGCAAGAGCAACTCGGTCGCCGCATACACTATTCTCAGAATGACTTGGTTGAGTACTCACCAGTCACAGAAAAGCATCT\nTACGGATGGCATGACAGTAAGAGAATTATGCAGTGCTGCCATAACCATGAGTGATAACACTGCGGCCAACTTACTTCTGACAACGATCGGAGGACCGAAG\nGAGCTAACCGCTTTTTTGCACAACATGGGGGATCATGTAACTCGCCTTGATCGTTGGGAACCGGAGCTGAATGAAGCCATACCAAACGACGAGCGTGACA\nCCACGATGCCTGTAGCAATGGCAACAACGTTGCGCAAACTATTAACTGGCGAACTACTTACTCTAGCTTCCCGGCAACAATTAATAGACTGGATGGAGGC\nGGATAAAGTTGCAGGACCACTTCTGCGCTCGGCCCTTCCGGCTGGCTGGTTTATTGCTGATAAATCTGGAGCCGGTGAGCGTGGGTCACGCGGTATCATT\nGCAGCACTGGGGCCAGATGGTAAGCCCTCCCGTATCGTAGTTATCTACACGACGGGGAGTCAGGCAACTATGGATGAACGAAATAGACAGATCGCTGAGA\nTAGGTGCCTCACTGATTAAGCATTGGTAACTGTCAGACCAAGTTTACTCATATATACTTTAGATTGATTTAAAACTTCATTTTTAATTTAAAAGGATCTA\nGGTGAAGATCCTTTTTGATAATCTCATGACCAAAATCCCTTAACGTGAGTTTTCGTTCCACTGAGCGTCAGACCCCGTAGAAAAGATCAAAGGATCTTCT\nTGAGATCCTTTTTTTCTGCGCGTAATCTGCTGCTTGCAAACAAAAAAACCACCGCTACCAGCGGTGGTTTGTTTGCCGGATCAAGAGCTACCAACTCTTT\nTTCCGAAGGTAACTGGCTTCAGCAGAGCGCAGATACCAAATACTGTTCTTCTAGTGTAGCCGTAGTTAGGCCACCACTTCAAGAACTCTGTAGCACCGCC\nTACATACCTCGCTCTGCTAATCCTGTTACCAGTGGCTGCTGCCAGTGGCGATAAGTCGTGTCTTACCGGGTTGGACTCAAGACGATAGTTACCGGATAAG\nGCGCAGCGGTCGGGCTGAACGGGGGGTTCGTGCACACAGCCCAGCTTGGAGCGAACGACCTACACCGAACTGAGATACCTACAGCGTGAGCTATGAGAAA\nGCGCCACGCTTCCCGAAGGGAGAAAGGCGGACAGGTATCCGGTAAGCGGCAGGGTCGGAACAGGAGAGCGCACGAGGGAGCTTCCAGGGGGAAACGCCTG\nGTATCTTTATAGTCCTGTCGGGTTTCGCCACCTCTGACTTGAGCGTCGATTTTTGTGATGCTCGTCAGGGGGGCGGAGCCTATGGAAAAACGCCAGCAAC\nGCGGCCTTTTTACGGTTCCTGGCCTTTTGCTGGCCTTTTGCTCACTTAGCAAGAGCCGCACGACGACCAGAGGCCAGTTATCCAGAGTTAGGATACCTCA\nATGTGCATCCGCTCGGTTCTAAGGACATTATTTCAGTCCTTTAAGATCTCCCGTATAGAAGCCTCACGTTAGGGGGCGCCGTGCCTTCACGCCCTCCCAT\nTTAGGAATACCTTGTCTCCGCCGTCTTTATTCAGTAGCCCTATGCATTACGATGTGGCGCTTCCCCCGCGTGGGCGCAGAAATTTACTGAGGCGGATTCG\nAAACGACTGTGAGGGCAGGATAGGTGAGCAGGCACTGGCACGTAATCAACCAACGGACTCACCCGTGTGCAGGCCTAAAAACAGCCCTCGAAGGGCACTT\nGGATATGAATGAACCCACTTGTTTTGACTCGTGGAGGCGTGGTTTTATTACTGTGCTCAGTTAACGCCGCATGAATTTAGCTCTGATCACCGTAAGGGTA\nACTGCACTAGACATGTTGTGGGCATTTAAGTCCTGCAGTATCTTTTTGTTAGGTGGAACGGCCTAGGGGTACCTTCCGTGAGAAACTCCCAGATGATGCA\nTGTTCGAGTACTTGTGAAATGGATGGTCGCATCCCCTCCTCTCACACATTACACTGTCTCGCGCGGGTTGCGTCTTGACCGGTACAAGTTGTGTAACCTT\nACACCTCTAGAAACATTTTAGCAGTCGCTCCAATTGATACCACGACCTCAGCGCGCGTTGGGAGACCGTTGCCAAACCTAGTTTTCATGTTTTCCTTCAA\nACGTGCGATATAATTCCTCGCACCTAGCCGCCTAGCTGAGAAGTGTTATATAGGTCACTTGAAAAGAGTAGGTTCAGCATATGGAACTTGGGGGTTTGTT\nCGCTATGCGGTAACGCGTGCCCCTCTGACTTGTCGATGACTCCCGGCGCGGTTTCGATGCGGGCATGTAATCGTCGCGAACCTTTACTCAGGCTATAAAG\nCGGCATAACCAGTTGTAACTAACAGAATACAGTTCTCTCTCAACGGCAACTACAAAATAGCATACTTGAGACCTACGACAGTAGGGTCGCGTCAACCTGT\nGCAAGAAAAAGCTAGAAGAGCTGAATTCTGATAATTACAGACCCATACACCGATTAACCCCGACTTATAGGCGTAAGTGGTGTCCCTTGCATGACCCAGG\nCCATATCTATGCCCCCATATAAACCAGGTCGACTTCCCACTGATCGAACCAATAAGGAATGATCGCAGCCCATAAAGTACGGTTCAACGATTGCTGAGCT\nTCAGTGAGGTTAACAGCGGCTGGTGCCCGTACATTGCCTCGTCGATTAGCCTAGTGAGCGTCGACAGGAGCTTTAACTCCTACTTTCATACGCCACCGCA\nCAGACTTCATTGACCACGTATCTGAGACTCCTTGTAAACTGACTACTCCAGCTCCATCAACAATCTTGAAGAAGTTCTATCCGATCACGGTTATCGCGAG\nTCTTAGCGTAGCCAATGCTGGGCCGTAGCGTCTACTTAACGGAAAGAAGGGTGAAAGCTGCCACAGAAAATAAATTACTATTTACATTTGTAAGACAAAG\nTTAGTATGGTTAAATACTGGCTTAGTCTGCGGGAAACTTAGCCATACGACTTGGTTTGCCTATCGTTACAGCGTACGACCCGTTCACCAATCGCATTTGC\nGATGCAGATAACAACTCGGAAGCTGTATGACCTCTCGAGCGTTAGTCGCAGTTTTAGTAGAGAAAACCCGATAGCCAGGCGTTCAAGCCTATTCCCCATT\nATGCGTCCGCTATTGACTTCGCTGGACCCTCGCGGAGTCGGCGACAAATAACATAGAGGATATCGTCACGGGATAGCGCTCTCCATTGGAATTGTACATG\nAGAGTTGGACTGCCGAACGCATGGGTGGAGCAGCCAAGCACCCGGGGACTACGAAGGTTTACGCGCATGTGTTACCTTTCAGCCGAAGAGAAGGTCGGTG\nGATCTCGCTCTTTCGGAGCTCATACTCCTCATGCTACAATGTTAAAACGCAAAACCTGACTCAATCTATTGCCCGGTCGTTGGCTCGCATGCTTCCTCCT\nTCTGCCCCAATCCGACATGACTGAGATGCGCTTGATAGCAATGACCAAGATAGTCGTCTAGATTCATCTTTAGCGACGTGACTTAGATTTGCAGAGGAAA\nCGGGGTGACTGTAGATTATGGCAGTTGATATCTCTCCCTGTTATGGAGTGCGGAGGCTGAGTGCTAATGTTGCCCCGCAAAGCAGTGTCGTTAGAAGTAT\nATATGCAGTGGCGGTGTTCAATCAGGATCAGCCCGTGCTGATTTCTTTGTTGGGGAGAAATGATATTGGGCGGGCTCAAACTTCAACTCCGACGGTCGAA\nTGCCGGGTTCTTCGATTCCTGTTTATTGCGACGCACGCTCTATTTGCTGGATTACCTGCATTCACCGAATCGCCTAATATACGTCTAATCACCTGTCAAT\nTTAATCCTGGTATACTATCATCCAGGGTGGTCTAAAGTCCCATGAGCCACGATGATTAATTTTGGTATGCACCAAGGGGAGGTGGCTAGCGATCCGAGCC\nGAGCTGCGTCACCGGTTGGAAACACCTGCGCTACCCTCCAGTGGTCGGAATTCGCGTATCAGCTTGTCCGGGTCTACGTACACGCAAGACAGATTTCATC\nATACCCCCTGGGGATTCTTAGAGACTATATTTCGTCCGATGTCCACCAACATAAGCGAGGCTACCTCTTGGAGGAGCATTCTTGTATCCCCCTCATAGAA\nAGACCCTGTGACGTCTTAACAATAGGGGCGACCTAGATCCGTTTTCGTATTTGACCTTAGTGGTAACCGCAGTACAACGGGCCTGAAGATGGTAGTCGAG\nTGCCAACACCAAAGAGGCTCTAGCCCAGTGTTCGGGCGTCGTTCTACGGTACGTCCATGACGGCAGCAGCTACCAGATTCCGGCTGCCCATCATGGCATT\nATAGTTTATGAAGAGTGAATCGTAGCTAATTCAAGGCAGTAACGTTCATAGCCGACAGCTGACGCTGGGTTGTTTACCCGTAATTCTTCTCCACTCTGCT\nTGAGCGGTGAGGACCCCTTAATCTGCTCGACATCCACTTTCCATGTAGGACGACAACGCTTGGACAATCCAATAGTTAGATAGCTAGTCGGACTTCTGGC\nCCGATCTAAACTCAAATCGCGGGATCTTCTGTCATTCGTACTGATGCCGACCCAATTTCAAAAACGTAGGCGCACCCACAGGCGAGGTACTTATTTATGT\nATTGCTCTGTATAAGCCTTCGCCTCGAGTCCTAAGCAGCGCTTTGGCTTCGGTAAGGCCTCATCACTTCAGAAACGCCATCCGTCGTAAGCGTGTGTGCC\nTCCCTAGAATCATAGGCCACTCGCTACTTCGTGGGGACAGGCCGCGAAATGCTAGACTCATAAGAACATACGGCTCCTAATGGCTGGGACGTCGGTTGTC\nCCGAAGTGGCTTGTAGGCTGTGTGTCAAGTCCAGAACCACTCCGGACGGCCAGCAGACGCGGATAATCCCGGAAATAGGTAGGATTGACGAACCGGATAC\nTAGGATGCCCTACGGGGCGTAGATCTGGCTCCGCTTCTGACGAGAGTATCATAATTGGCCTTGTTACATCCTGTAAGTCTAAGCTAAGGCGCCAGGAGAT\nGGGGTAGGTGTGCTTACTGGTACGCCGATACGGACACGAGCATCCAACAGTACTATACCTAATCTCTTATATTCACATGATAACGCACAAACTCGTTATT\nGTATAGCACGAACAGATATATTGCACGTGATTGGACCGAAAATGACTTTGGACGCCAGCTTAAAAGGCGGTTGCTTCAATTCGATGGGTATCTCATCCGA\nATGGACAGTTGGTAGGCCCCTTCAGCGATTATACCGCGACATTCTCTGTCCTAGCAGGTCAGGGAATTTTCCCTAAGGGCTCGTATCCACGCATCAATCG\nATGCGGACATGGTCAGATTGCATCTGCGTAGGAACAGTTTCGTTGCGGCAAGGAACCGCTTGCGGATCACACCATATTTGGATCCCCGAGCAAGTCTTCT\nTGGGTTAGAGGCATACGTAAGAAGCACGCCGTTTGCGCGACTTTCGAGCCTAACCTGGCAGGGTTTCTTAATTGTTTGATGTACTCTATCTGGAAATTCG\nTGATATGCCAGAGCGGCCCGGCCCCGGATTAGTCACACGATCTGAACTTATCCCAGGTAGTGTTTAGCCGTGTAGGGATATTCGTTTTGTGGTTGTGCTG\nCGGAAGTTACTACAGCAGGGGACCCGAGGTCCGAACTTTAAACTTTTGTCAGTCGGTCAGTATGTAAGCCCACCATGGAGGTCTTCACCTTGCTGCTACG\nTCATTATCGTGCCGGATGTTCCGTAACTCAGAACTACCGAGAAGCTATTATTCCGCCAACCCCTCGTAGAGTCTGAGGGATCAAGAGACATTTATCGACT\nCAGTGCGTAATACCGTTCGAAGCGATAGATCAATGGTGCTCCGTCAGGACACTATGACTAGAACAGGTATGTCAAACCGATAAGGCAAGCATAGTCAACG\nTGTCATGAGTGACACTTAGGTCCTATAGTGCGACAGACACGCCAAGACCATAGACAATGAGGTGACAACTAGATAAGCTCGATCCTTACTTGCGCACACT\nCCCCCAGCTAACCAAACATCAGATGGACCTGTACACTAGTCTTTTACCTAGGAGAACCTCGTTTATCTTATTAGCGGGGAGCAACAACGAGCTATAGATG\nCCACTAGCGTGGCCCTGCAAGTTATTCGAGATGTCAGGCAACCTCTGTTGCGAGAGCTCGCTGCACCCCACTCACTCCTGCTTCGTCTTCCAAGGTCCCA\nAGCCGATCCATGCTCTCAGGGGTGGGTCCGTGTTGCATAAAAGTCTCCAAAACTCTTAAGGAGAGGCGCGCACGGATATACATCGCGTTTAGGTTATTAT\nGTCCCACGGCATGGCCAAATGAGTTCTTGAGTAGCAAAAGGTGCACGAGACCCCGGTGCCTAAGATTTTATACGCTTCATCGGGAATCACTGCCCGACAA\nTTGCTTTCGTGTTAATAATTTCGACGTAACGGTGCTGTCTAACATCGAGACTGCAATTACCCCGCCAGACCTTTGCACTTCCACACTAATTTGGTCGATC\nTTTGCTTAACCGGGAACTATGTAGTCTATATGAGAATATTGAGCATAAGGTGTCAGCCAGCCTTTATCCTTGAGGCAGATCAGGTCTATTCGCTCAGAGT\nAAGATGCTAACACCCAGTAGATGACGACGTTTAATTAGGGCCGAGAGACCAATGTCACG\n", A.RegExp_RegExp("\\s", true), "")); _lazyFinal($, "_tilibit_cs4", "$get$_tilibit_cs4", () => B.JSString_methods.replaceAll$2("CATTGACCGGGAGCGCCCTGTAGCGGCGCATTAAGCGCGGCGGGTGTGGTGGTTACGCGCAGCGTGACCGCTACACTTGCCAGCGCCCTAGCGCCCGCTC\nCCGGGATCGGAATTCCGGCCATCGCCCTGATAGACGGTTTTTCGCCCTTTGACGTTGGAGTCCACGTTCTTTAATAGTGGACTCTTGTTCCAAACTGGAA\nCAACACTCAACCCTATCTCGGGCAAGCTTGTCACGCTGATATTCTACACGTAAGGCAAGATCATGTTCGCGGGTACAAACTACGTATGCTAAAATTTACA\nTAGCCAATCATAGAGTCCGGAGAGTGAAAAGTACCGATTCGGCAGTCGCACGGCATTCTCCGTATTTCTCAACTCGAAACGCCGTACACAAGGCGTGCAC\nTGGTATTACAAGTTGGCGTCGAGCGCTTACCGTTACTTGCGAGGCCTCTCGCGTCTAGACGAGGTCCTGAGAATCGTATAGAATGGCAACCGCGGGGGAT\nACTGGGATCGTTGTCCGATCTGTAAGATCCTTTTCACGCTTGGCTCGTTCCTAGTCGTATCGTTAAGTGAGGAGGTACCAGGATGTCTTTTTTGACTCCA\nAGGCACGGACACCCTGCATTTTGTCAGCAGTCCCCACTTTGTCCACTGACAGTATCATTGTTGGAGCGTCTGTGCTCTTATTACGATGCCATTATAGCGC\nTACTGTCTATTCAAGACGCTAGCGACCCGGTCCGCTGAAATCTATCGTCTGGGCATTTCACACGCTATGCGAGTATCCGCGTAGCGTGCTACTTCCCCCG\nTGCAGCGATCAAGATTCCCTCGGGGAAGTCTTTCCGGGCAGGGACGCCACTAAGGACGATATGGCAGCCATGTATCCAAAGGATAACTACCCCTTCGTCA\nCGTCATTCATCCGTGTTGCTGAGACCACCCCTCTACCGAATTATCCTGGGGGGTCAGTCTAGCCGATGGCTGCGTGATGCTACCCTACGCGTACCACAGC\nTTTTCGTGGTCCCGGGACGACCGCCCAAGGTTGGTATATCTTATACGGTGAGGCAATTTCAGCTGCGCCTTAAAACACGAACGACTTGTAATGAATCTCG\nCAAGCGCCTGAGTTGGATTGTAGTAAGTACACGAGCCGAGTGAGATAGAACTCCCATCTGAGGTCGCCGAGATCCCATGGTTAGGGCGCCGATAGCCTTG\nAATCATCTGTGGGTGCATACTTGAGGATCAGCATCCGCTATTACTTCGAATGACTTAAATATAAGACGATCGAGCCATATAATGGGATAAAGTGTATTGA\nACTAGAGTAAACAGTGTTAATTATTATTTGTTTGACAACTATCCCTCTGTTTAGGAGAGCATGGCGTATATTCATTTTCGAGGAGTGTAGATCCGGCGAG\nGACACATACAAGGTCAATCACATTTGTAGGCCAACCCGAAGGCATAGCGTAGGGCCGAATAAAAGTCACCGCGTGAGACTGACCATTCCTAAGGCTCGCG\nCGTCAACCTCATAGTTGCTTAAGAGACTCCCTGACCCCTATTATGGCTCATGGTCCACAAGAATGATCGCTCTGGAAACGGCTGCACGGTTGCAACAAGA\nCCAATTTGGCCAAATCTGATACGAGAAGTGGGGGAGACATGCCTGATCCTATTTCGTCTTACCCATAAATAAATTACCGACACGATGATCAGTGACGCAG\nTATTTACGAGTCCTGCTGAATCCGGAAGGTCGGACTCGTGTGCCACACCAGAACGCATACGTCAAACGGATATTAGACCGTTGCGTGGTGCAAGGATCCA\nATGTCGGGATGGACACTTTAAGCCGGTTTGAGAGGGTAGCAGTGTGTAGGACGGACCATGTGACTATCACCGGTACTACGAGGGTGGTGTTTGTTCATTA\nTGAGTAGTGCACGACGGTGTGCTTATGACGACAACATTGTCATAGGCTCAACAGCTGGTAGTAGCTCTGACGCCCGTTGATAGCAAAAAGGTTTACAACA\nACTGTTTGCGCGCACGAAGTACTATACATTTAACAAAGTAAATGAAAGCCAGCCCCGTTATGATGAGCCGCAAAGTGCCGGAATAACGAAGAGAAGCCCG\nGCGCGCGCCAATAGCTAACGTGATCTTTTCTGAGCTAGATGGCCTGACACCTGGTACCTCCTCACATATTCCACATGTGCGGCCACAATGGCCCAATGGT\nGGGAGAAAATACTTAGTGAGTGACATGAGACACTGCGATCGGTCGGTAACGGTCGTACAGGAATATTATCGGACGCACTGAGTCAAGAGATGTATTATAA\nACACTAATCAGAGAGATATTTCCCGGACATATGGATAGCGAGAGGAGACTTTGCATGGGTATAAGCCATTCGACGATGGTCTACGGCCATACAGATGCCG\nCCTTCCAGTTCCAGAATAGGGAGCTCGTGATTGGATCACAGATTAAGGGCTAACCGGCCAATGAGATGAAGCTGGGCCTCGGTTTATAGTTAACATAACG\nTTACCGCTCATCTAGGCATGCCGGTGCACAAAAATTGAAAACCTGGAAGTTGAGGTATCTCAGCAAATGGCTACAAATTGGCAATGATGCCTAAGACAGA\nAGGTACTTGGCCTATGCTCCGTCGATCTTAAGCTCGAGCTAAATTGTTCTGAATAGAAAGGCTTGCAAGCTATCAATTGGGACAGCGAGTTTCCTCGGAC\nCCTCCCAACGTAGGAAGGGAACGCTAAGCTGCCCTGGGACCCGTTCAAACCGTCATATCGCATTTGCCAATTAGTAATCCTCAGCTATACGCATGCGATT\nTTAGCGTTAACTGGGTGTACATCTCCTGCAACGCCTACTAGAACCCCGAATGTACTAAAGTTCGTAGAGTGGTATGACCCATTCAGGGATGCCCTCTCAG\nTGTACGAGCTGGACAACGACGCGTTGGCTTTATTCCGAGTTGCCTTGGGTTGGAATACGCGAGCACAGTTGTAGCCGTAACTATAACTGTCCGCGCATCC\nTGAAGACACACCGCTTTAACGTAATCAACTTTGGTTCGTTTCCCAGTATAATATCATCGGATACATCATCATACCTGGCGGTAGATTTGACCCTAACCTG\nTTTCTGCTTGTCTTGATGCATGACATTAATCTCCACTTGTGTGCGCTATCTGCCTTTATCCCCAAGTTTGAACGCGTGCCGAAGCGGCAGACTAGCCCCC\nTTATTCAGTATGAAACGTCGCGCAAATAACATTATCTAGAGCTTCATAAAACTAACTCAAGCGGGACACGTCGGGTTACCATTGAGCACGCGCTGTTCAC\nTCGGGAGGGGCCTGGTGACCAAACAAAACCCAAGCCCTTGGTGATTAACGGAATCGAGGCAGAATTTAAGTCGTTGAACAAACCAACCATGCTATTTTTC\nTACCATGGGGCACTGCTATGGCGGATGCTTACGGAGACCCAGGGAGGAGCAGCAAGCAGGGTATTGTGATGTCGTGACACAACAGTCAGAAAGAACTGAA\nAAAAATGTAGTGTAATAGACTTACGCTCTACTATCTAAACGGGTAAGTTACCTGATGATTCACCGACGGGCCGGCCTTGCCGGGTGCCTTAGGCGCTAGA\nCAAAGCAGTACTTTGAAGGGGGTAACCTTATGTCAGTTGACTTGACCACGATACACTAGATTAGTCCTTTGTTGCCATGGCCACTCTTCCGAACCTCGGC\nACAGGACAATTTAGGCCCTTCATGCTCTATCATAAGGCGATTCATGGCACCAGGGCAATAGTTTCTCCCAGAAGCGTAAGCATATTACCTCACGGAAGAA\nAAATAGGCACAATCCGCCAGATTTTCTTATGGTTGCGCTGACGAACTCAGGGCGACCGGACTGGACTAACGAGTGGAAATATGCGTCTGAAGCAAAGATT\nACTGAATGGAGGATTGACGCTCGGATCTGAACCAGATAGCTCCGGTGGACATTGACCGGGCTTGGGAAATTAGCCTGCGCAGAGGACTACCACTACCTGC\nAGGCTTCTCCAATTCTGACTAAAACCACGCGGCCGGGAACACGTTGAGAAAGCGGATTACGTTCCGGATGAATTTGAGCGATTAAAATGCAGTCTGAGAG\nAAATTTTGGGGCGCAACGAGCAGACGCCGACCTTCTTCGGGCATATGCTGTTACGTAGAAGGCCTACACCGAGCCTGTTAGGACCTGTATCACTAGTACC\nTAAAAAAGCTTAACCCCTGCTCCCGGTAGCTGTGTTCTCTTCAATTTTAATCACCACACAGCGCATAAGTCTCAATAAACGAACAGTAGCACCTATAAAA\nTCGCAGGTCCAATATACCTTCAGGCGGGATCCGCACTTGGTTAAATCCGAAAGGTAGCCCGATGACAGATAAACCAGCTTCCCACTCGCCCGGGCGCGTA\nAAAGCGAGCGGAACTGGTGTCTAAGGTCCCAAGAAGGGTACCGCGCTTCTTTGATGTTAACCGTGTCCCTACTGCCCATGATCTCGAACCGGAGGACGTT\nAATGTATAAAGGGCATCGTTCGTGTTACACGGCTCGGTATTTTCAATAGATATACAACTTATCTTCCTGGAGGGAAGGATTATCATGACCGACCCACTAT\nTCGGGGTCTCGTCTACTCTTAATCCAGCTAGCTCGGCCGATCCTCGCAGTTAATCGTGAGGGCCAAGAGGATGCAGAGTGTTGATGACCTTTTGCTCCTA\nGCTGGCTAATAGCATTTAGATTCTAACGGCCCCATATGTACAGACCCGACAAAAGTTAGGTATAGGCGTTTGCCTCTGCTCGGGTCCATTCTTCACCCCC\nAACCTAGTAGACTCATGCGTATGAGGGGGACGGCAAATTAACTCGGCTGGGTCACTTATGCTTTGTGTCAGATATCTATAATTAAATGTCACTGTGCAAT\nCTTGCGTACTTCAACGAAACTGCGTCACTATATCGGGTGAGTTTATCGTGCTGGGGTGCGGGCGTGTGTGAAACTTAGGGGAAAGCAAGAGTTGAAAGTC\nGCTCAAAAACCGCAAGGTGATAAGATGGTACTCTGAAAGGGACTGTTAAACGTTTATTTCATCTCGTAATACGTGGTTGACCTCAGACCTGACGTCGTTC\nTGTTCTATTAGTTGATCTGCTGTACACTGGGGCTACGGTTCCATCGATGGGTTAAGGCCGACGACTATTAAGTTTCGATATAACACAGGTCACGCCCTCG\nTACGACTCTGTCTGCAGATACTATGAAGAGTCACGACATCCGACAGACGACGAAGCTAAGAATTACAGTCTTCTCAGGTTGCTACGAAGGACATGTACGT\nTGCTCTCGTGGCAGTTTAGTATCGGTGTCCAACTTGTCCCCTTTTATGTATGATCCGTTCCCAAATGCCTCCACGAGGATATCGTAAATACACAGACTTC\nTTGGGGGTGTTGGCAGATTCAGCGCGTGGGGTCCCCGACGTCACAATTACTAGGCGGCGTTGTGGGATTGGCCCTGCCGGCATAAAGCTCCCCATCAGTT\nATGTTAGAGGAAACCCGTGGTAGGGTGCTGCCAGTCCAGTCGAATAGTCGCCCAGGCACTCTATACTGACGGTCTATATGCCTTCTGCCGACTAAGTGCG\nGAGATGGAAGATCTTCGCGATCTCTTGGCGCTCTTCGTGCGTTTTGAATGAAGTAACGCAGACCGAAGTCGGGCCACCACGTCTAATACAAAGGGGTACG\nCCCCCGGTGTAAGGAACATGCAGCCCGTCGCAAACCCTCGCTGAGTGGCGTGAATCGCTGGAGTAATGTGGTTTTGTAAGCCTGGCCAGCATTGAATATC\nCTCCTTCGATCATGTTTTATTAGCGCGAGGGCGTCAGGCATCTGGCGATCCCCTAAGTCCGTGCGGTAATCGAACACTGAACTCGCTTGTTTACGCCAAG\nGAAAGTTTTGGTACATTACTCGAGTGTCTCCTCTTACATTGCACACTTCCGCAGGACTTTATGGGACTCAGAGTTATCTCCCCTGAGCAAACACACATGC\nGGGAGAGACCGCGACTGAGGAATTAGGGACCTCTGGCTTGTGCAGTTCGGCGCTGGTCTTCATCGCACTATCGGCGTAATGCTTCCATAGATTGAGATTG\nTGCCGCGGAAATCCCACCAGTTGCGAAATTCGGTCTTGCACCCCACAGAGGGCAGAGCACTAGGGAAACACCGGGGACCGCAGTGAATGCCAAGTGTTTC\nATTCTGTAGACGTCCCCCTAGAAACAATCAGCCCTATGGAGCTGAAGGTGTATGTAAATCTTAGTTTGCACTTAGAGTTTGGGAGTCGGTCCCTCCGCTT\nATCCATTACCCCGTACCTTTACTCCTGTTGCGGGGAGCCACATCAATGGGTGGAGCGTTGCACGTGGCTGAACGTATCCTAATTAGAAGCTCATTTGGTC\nACACAAAGAGTGCATGCACTACGGGGCTGCTCATACATGGCTTAATTGACTGCCTAGCAAGGCTAGCCTACCGTCCCTGGATTAGCAATAACCAGGTCGT\nCCCGACTCGGAACAGACATAAACTTCAGCCGTGGACGTGTGGGGCCCGTGAAAGATAATCTGCGACACCACCATTAACACCTTCCGGCCGTCGGTGACAA\nACAGAGAATGTGCTAGTAACTTGCTTTTTCATGATACTTCTATGGTCGCAGCATAGGTGCCAAACGAGGCGGTGAAGATAGTCTGCTAAGTATAGTCACT\nCAGTTTCAGTTCTTGAACCCGGAAAGGAGTTGTCGAAATACCCGTAGATGATGGGCTAGGAAATGACGTACGGTCAGAGCCAAGCAATTAAGAAGCATCG\nGTTCTTAAAGGTCTCTCCGCGAGACTACATGATTGATGGCGAGAAACCTCCAAAATAATTCTTGCCCGCACAGCCTCGCGGCTCAGATCGGCCAGACACG\nGTCCAGGAGTAGGCGACGCCTGCTTAGAACGGCGAACGCCAGCTGAGGCCGGTATGCAGGAGATTCGAAAAGGGTTTGGAGCCTTCGCAACTAATTTTCC\nGACCGAGAGAGGCCACGAAATGGGCCCAGACGTTCATAGCTTTAGAGAACATTTTACTTACCTAGCCAGTTAGATCGACCTCCGTGAGTCGCGGAGGCCC\nGAGCATCATTTCCTTAATATTCGCAGAAGTTTAATTCCTTGTGGACCCAAACCTTTCACCTACCAGCGAATTTCCAGCACTCCGCCCCAATCCTTGGCAC\nGCAAAAGCACATAGGGTAATGGATTCGCGTGTAAAGTAGAAATAGAGCGCGCTCCATGAACTTGGATAAGTAATATAGCCGCGAAGACCGGTTGGGGTAT\nCAGTCGGCTAAACAACGCACCCGCCACGTGCATCGACACAGTGAGCTGTAATCTAGTATTAGGAACTATTGCATTATTGACACTATGGGTCCTCTAACCC\nGCGTCCATACCCTGTTCGAGTCGACTTAGCTTGCGCACTCATCCATATTTATGAACCGTACTCGCGACGTGCGATATCAAACTCACAACTCATTACACAC\nGACTGGCCCGCGATACCCCCGAGGTAGGCAAAGCGCTCACACTACAGGCTGTTGTCT\n", A.RegExp_RegExp("\\s", true), "")); - _lazyFinal($, "_$values", "$get$_$values0", () => A.BuiltSet_BuiltSet(B.List_sy0, type$.DNASequencePredefined)); + _lazyFinal($, "_$values", "$get$_$values0", () => A.BuiltSet_BuiltSet(B.List_QMV, 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.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_file__export_cadnano_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($, "relevant_styles", "$get$relevant_styles", () => A.LinkedHashMap_LinkedHashMap$_literal(["rect", B.List_1iK, "polygon", B.List_1iK, "path", B.List_1iK, "circle", B.List_1iK, "line", B.List_1iK, "text", B.List_6Fv, "textPath", B.JSArray_methods.$add(B.List_6Fv, B.List_empty0)], type$.String, type$.List_String)); + _lazyFinal($, "_$values0", "$get$_$values5", () => A.BuiltSet_BuiltSet(B.List_WrT, 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", () => { @@ -162593,12 +161362,14 @@ }); _lazy($, "serializers", "$get$serializers", () => $.$get$_$serializers()); _lazy($, "standard_serializers", "$get$standard_serializers", () => { - var t1 = $.$get$serializers().toBuilder$0(), + var t3, + t1 = $.$get$serializers().toBuilder$0(), 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()); + t1.add$1(0, new A.PointSerializer(A.BuiltList_BuiltList([B.Type_Point_yHP], t2), A.findType("PointSerializer"))); + t1.add$1(0, new A.ColorSerializer(A.BuiltList_BuiltList([B.Type_Color_Q92], t2))); + t3 = A.LinkedHashSet_LinkedHashSet$_literal([B.Type_BuiltList_27p, B.Type_BuiltSet_MMh, B.Type_JsonObject_aJ0], type$.dynamic); + t1._plugins.add$1(0, new A.StandardJsonPlugin(A.BuiltSet_BuiltSet(t3, t2))); + t1.addBuilderFactory$2(B.FullType_Iag, new A.standard_serializers_closure()); return t1.build$0(); }); _lazy($, "_$serializers", "$get$_$serializers", () => { @@ -162904,85 +161675,85 @@ t1.add$1(0, $.$get$_$vendorFieldsRemoveSerializer()); t1.add$1(0, $.$get$_$warnOnExitIfUnsavedSetSerializer()); t1.add$1(0, $.$get$_$zoomSpeedSetSerializer()); - 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()); + t1.addBuilderFactory$2(B.FullType_ezA, new A._$serializers_closure()); + t1.addBuilderFactory$2(B.FullType_ezA, new A._$serializers_closure0()); + t1.addBuilderFactory$2(B.FullType_mXu, new A._$serializers_closure1()); + t1.addBuilderFactory$2(B.FullType_uAN, new A._$serializers_closure2()); + t1.addBuilderFactory$2(B.FullType_uAN, new A._$serializers_closure3()); + t1.addBuilderFactory$2(B.FullType_qti, new A._$serializers_closure4()); + t1.addBuilderFactory$2(B.FullType_c4R, new A._$serializers_closure5()); + t1.addBuilderFactory$2(B.FullType_c4R, new A._$serializers_closure6()); + t1.addBuilderFactory$2(B.FullType_qti, new A._$serializers_closure7()); + t1.addBuilderFactory$2(B.FullType_mJI, new A._$serializers_closure8()); + t1.addBuilderFactory$2(B.FullType_G7M, new A._$serializers_closure9()); + t1.addBuilderFactory$2(B.FullType_MLA, new A._$serializers_closure10()); + t1.addBuilderFactory$2(B.FullType_fFi, new A._$serializers_closure11()); + t1.addBuilderFactory$2(B.FullType_fFi, new A._$serializers_closure12()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure13()); + t1.addBuilderFactory$2(B.FullType_Dti, new A._$serializers_closure14()); + t1.addBuilderFactory$2(B.FullType_Dti, new A._$serializers_closure15()); + t1.addBuilderFactory$2(B.FullType_Dti, new A._$serializers_closure16()); + t1.addBuilderFactory$2(B.FullType_vLM, new A._$serializers_closure17()); + t1.addBuilderFactory$2(B.FullType_WoX, new A._$serializers_closure18()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure19()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure20()); + t1.addBuilderFactory$2(B.FullType_Qgd, new A._$serializers_closure21()); + t1.addBuilderFactory$2(B.FullType_qxo, new A._$serializers_closure22()); + t1.addBuilderFactory$2(B.FullType_Dti, new A._$serializers_closure23()); + t1.addBuilderFactory$2(B.FullType_GBG, new A._$serializers_closure24()); + t1.addBuilderFactory$2(B.FullType_46c, new A._$serializers_closure25()); + t1.addBuilderFactory$2(B.FullType_fFi, new A._$serializers_closure26()); + t1.addBuilderFactory$2(B.FullType_c0c, new A._$serializers_closure27()); + t1.addBuilderFactory$2(B.FullType_EkK, new A._$serializers_closure28()); + t1.addBuilderFactory$2(B.FullType_00, new A._$serializers_closure29()); + t1.addBuilderFactory$2(B.FullType_o7e, new A._$serializers_closure30()); + t1.addBuilderFactory$2(B.FullType_o7e, new A._$serializers_closure31()); + t1.addBuilderFactory$2(B.FullType_qHN, new A._$serializers_closure32()); + t1.addBuilderFactory$2(B.FullType_qHN0, new A._$serializers_closure33()); + t1.addBuilderFactory$2(B.FullType_bqg, new A._$serializers_closure34()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure35()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure36()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure37()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure38()); + t1.addBuilderFactory$2(B.FullType_D5s, new A._$serializers_closure39()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure40()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure41()); + t1.addBuilderFactory$2(B.FullType_vLM, new A._$serializers_closure42()); + t1.addBuilderFactory$2(B.FullType_WoX, new A._$serializers_closure43()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure44()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure45()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure46()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure47()); + t1.addBuilderFactory$2(B.FullType_SJV, new A._$serializers_closure48()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure49()); + t1.addBuilderFactory$2(B.FullType_61T, new A._$serializers_closure50()); + t1.addBuilderFactory$2(B.FullType_61T, new A._$serializers_closure51()); + t1.addBuilderFactory$2(B.FullType_61T, new A._$serializers_closure52()); + t1.addBuilderFactory$2(B.FullType_GVQ, new A._$serializers_closure53()); + t1.addBuilderFactory$2(B.FullType_OXO, new A._$serializers_closure54()); + t1.addBuilderFactory$2(B.FullType_FNm, new A._$serializers_closure55()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure56()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure57()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure58()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure59()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure60()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure61()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure62()); + t1.addBuilderFactory$2(B.FullType_qxo, new A._$serializers_closure63()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure64()); + t1.addBuilderFactory$2(B.FullType_0, new A._$serializers_closure65()); + t1.addBuilderFactory$2(B.FullType_vLM, new A._$serializers_closure66()); + t1.addBuilderFactory$2(B.FullType_wiJ, new A._$serializers_closure67()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure68()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure69()); + t1.addBuilderFactory$2(B.FullType_RoN, new A._$serializers_closure70()); + t1.addBuilderFactory$2(B.FullType_soA, new A._$serializers_closure71()); + t1.addBuilderFactory$2(B.FullType_soA, new A._$serializers_closure72()); + t1.addBuilderFactory$2(B.FullType_yXb, new A._$serializers_closure73()); + t1.addBuilderFactory$2(B.FullType_0QK, new A._$serializers_closure74()); + t1.addBuilderFactory$2(B.FullType_0QK, new A._$serializers_closure75()); + t1.addBuilderFactory$2(B.FullType_QC2, new A._$serializers_closure76()); + t1.addBuilderFactory$2(B.FullType_woc, new A._$serializers_closure77()); return t1.build$0(); }); _lazy($, "_$addressSerializer", "$get$_$addressSerializer", () => new A._$AddressSerializer()); @@ -162992,7 +161763,7 @@ _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($, "BasePairDisplayType_types", "$get$BasePairDisplayType_types", () => A.BuiltListIterableExtension_toBuiltList(B.List_inH, type$.BasePairDisplayType)); _lazy($, "_$basePairDisplayTypeSerializer", "$get$_$basePairDisplayTypeSerializer", () => new A._$BasePairDisplayTypeSerializer()); _lazy($, "_$contextMenuSerializer", "$get$_$contextMenuSerializer", () => new A._$ContextMenuSerializer()); _lazy($, "_$contextMenuItemSerializer", "$get$_$contextMenuItemSerializer", () => new A._$ContextMenuItemSerializer()); @@ -163024,17 +161795,17 @@ _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)); + _lazyFinal($, "_$values1", "$get$_$values", () => A.BuiltSet_BuiltSet(B.List_chs, 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)); + _lazyFinal($, "_$values2", "$get$_$values2", () => A.BuiltSet_BuiltSet(B.List_0, type$.ExportDNAFormat)); _lazy($, "_$exportDNAFormatSerializer", "$get$_$exportDNAFormatSerializer", () => new A._$ExportDNAFormatSerializer()); - _lazyFinal($, "_$values3", "$get$_$values3", () => A.BuiltSet_BuiltSet(B.List_yHF, type$.StrandOrder)); + _lazyFinal($, "_$values3", "$get$_$values3", () => A.BuiltSet_BuiltSet(B.List_wAN, 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)); + _lazyFinal($, "_$values4", "$get$_$values1", () => A.BuiltSet_BuiltSet(B.List_oyn, 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()); @@ -163061,7 +161832,7 @@ _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)); + _lazyFinal($, "_$values5", "$get$_$values4", () => A.BuiltSet_BuiltSet(B.List_sid, type$.SelectableTrait)); _lazy($, "_$selectablesStoreSerializer", "$get$_$selectablesStoreSerializer", () => new A._$SelectablesStoreSerializer()); _lazy($, "_$selectableDeletionSerializer", "$get$_$selectableDeletionSerializer", () => new A._$SelectableDeletionSerializer()); _lazy($, "_$selectableInsertionSerializer", "$get$_$selectableInsertionSerializer", () => new A._$SelectableInsertionSerializer()); @@ -163085,91 +161856,91 @@ _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)); + _lazyFinal($, "$End3PrimeComponentFactory", "$get$$End3PrimeComponentFactory", () => A.registerComponent2(new A.$End3PrimeComponentFactory_closure(), A.lib_3p_end___$End3Prime$closure(), B.Type_End3PrimeComponent_0, false, null, B.List_8Gl)); + _lazyFinal($, "$End5PrimeComponentFactory", "$get$$End5PrimeComponentFactory", () => A.registerComponent2(new A.$End5PrimeComponentFactory_closure(), A.lib_5p_end___$End5Prime$closure(), B.Type_End5PrimeComponent_ijq, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignMainArrowsComponentFactory", "$get$$DesignMainArrowsComponentFactory", () => A.registerComponent2(new A.$DesignMainArrowsComponentFactory_closure(), A.axis_arrows_main___$AxisArrowsMain$closure(), B.Type_DesignMainArrowsComponent_8Kj, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$AxisArrowsComponentFactory", "$get$$AxisArrowsComponentFactory", () => A.registerComponent2(new A.$AxisArrowsComponentFactory_closure(), A.axis_arrows_side___$AxisArrowsSide$closure(), B.Type_AxisArrowsComponent_4AN, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignContextMenuComponentFactory", "$get$$DesignContextMenuComponentFactory", () => A.registerComponent2(new A.$DesignContextMenuComponentFactory_closure(), A.design_context_menu___$DesignContextMenu$closure(), B.Type_DesignContextMenuComponent_kXN, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignContextSubmenuComponentFactory", "$get$$DesignContextSubmenuComponentFactory", () => A.registerComponent2(new A.$DesignContextSubmenuComponentFactory_closure(), A.design_context_menu___$DesignContextSubmenu$closure(), B.Type_8hx, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignDialogFormComponentFactory", "$get$$DesignDialogFormComponentFactory", () => A.registerComponent2(new A.$DesignDialogFormComponentFactory_closure(), A.design_dialog_form___$DesignDialogForm$closure(), B.Type_DesignDialogFormComponent_QTP, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignFooterComponentFactory", "$get$$DesignFooterComponentFactory", () => A.registerComponent2(new A.$DesignFooterComponentFactory_closure(), A.design_footer___$DesignFooter$closure(), B.Type_DesignFooterComponent_KQ1, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignLoadingDialogComponentFactory", "$get$$DesignLoadingDialogComponentFactory", () => A.registerComponent2(new A.$DesignLoadingDialogComponentFactory_closure(), A.design_loading_dialog___$DesignLoadingDialog$closure(), B.Type_DesignLoadingDialogComponent_RvG, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignMainComponentFactory", "$get$$DesignMainComponentFactory", () => A.registerComponent2(new A.$DesignMainComponentFactory_closure(), A.design_main___$DesignMain$closure(), B.Type_DesignMainComponent_Azz, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainBasePairLinesComponentFactory", "$get$$DesignMainBasePairLinesComponentFactory", () => A.registerComponent2(new A.$DesignMainBasePairLinesComponentFactory_closure(), A.design_main_base_pair_lines___$DesignMainBasePairLines$closure(), B.Type_8qt, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainBasePairRectangleComponentFactory", "$get$$DesignMainBasePairRectangleComponentFactory", () => A.registerComponent2(new A.$DesignMainBasePairRectangleComponentFactory_closure(), A.design_main_base_pair_rectangle___$DesignMainBasePairRectangle$closure(), B.Type_37p, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDNAMismatchesComponentFactory", "$get$$DesignMainDNAMismatchesComponentFactory", () => A.registerComponent2(new A.$DesignMainDNAMismatchesComponentFactory_closure(), A.design_main_dna_mismatches___$DesignMainDNAMismatches$closure(), B.Type_s2f, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDNASequenceComponentFactory", "$get$$DesignMainDNASequenceComponentFactory", () => A.registerComponent2(new A.$DesignMainDNASequenceComponentFactory_closure(), A.design_main_dna_sequence___$DesignMainDNASequence$closure(), B.Type_n3h, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDNASequencesComponentFactory", "$get$$DesignMainDNASequencesComponentFactory", () => A.registerComponent2(new A.$DesignMainDNASequencesComponentFactory_closure(), A.design_main_dna_sequences___$DesignMainDNASequences$closure(), B.Type_Ewu, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDomainMovingComponentFactory", "$get$$DesignMainDomainMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainMovingComponentFactory_closure(), A.design_main_domain_moving___$DesignMainDomainMoving$closure(), B.Type_a1Y, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDomainNameMismatchesComponentFactory", "$get$$DesignMainDomainNameMismatchesComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainNameMismatchesComponentFactory_closure(), A.design_main_domain_name_mismatches___$DesignMainDomainNameMismatches$closure(), B.Type_W71, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignMainDomainsMovingComponentFactory", "$get$$DesignMainDomainsMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainsMovingComponentFactory_closure(), A.design_main_domains_moving___$DesignMainDomainsMoving$closure(), B.Type_qWb, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainErrorBoundaryComponentFactory", "$get$$DesignMainErrorBoundaryComponentFactory", () => A.registerComponent2(new A.$DesignMainErrorBoundaryComponentFactory_closure(), A.design_main_error_boundary___$DesignMainErrorBoundary$closure(), B.Type_gf4, true, null, B.List_empty0)); + _lazyFinal($, "$DesignMainHelicesComponentFactory", "$get$$DesignMainHelicesComponentFactory", () => A.registerComponent2(new A.$DesignMainHelicesComponentFactory_closure(), A.design_main_helices___$DesignMainHelices$closure(), B.Type_DesignMainHelicesComponent_d0h, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainHelixComponentFactory", "$get$$DesignMainHelixComponentFactory", () => A.registerComponent2(new A.$DesignMainHelixComponentFactory_closure(), A.design_main_helix___$DesignMainHelix$closure(), B.Type_DesignMainHelixComponent_S74, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainLoopoutExtensionLengthComponentFactory", "$get$$DesignMainLoopoutExtensionLengthComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutExtensionLengthComponentFactory_closure(), A.design_main_loopout_extension_length___$DesignMainLoopoutExtensionLength$closure(), B.Type_61T, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainLoopoutExtensionLengthsComponentFactory", "$get$$DesignMainLoopoutExtensionLengthsComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutExtensionLengthsComponentFactory_closure(), A.design_main_loopout_extension_lengths___$DesignMainLoopoutExtensionLengths$closure(), B.Type_w54, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainPotentialVerticalCrossoverComponentFactory", "$get$$DesignMainPotentialVerticalCrossoverComponentFactory", () => A.registerComponent2(new A.$DesignMainPotentialVerticalCrossoverComponentFactory_closure(), A.design_main_potential_vertical_crossover___$DesignMainPotentialVerticalCrossover$closure(), B.Type_Lm4, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainPotentialVerticalCrossoversComponentFactory", "$get$$DesignMainPotentialVerticalCrossoversComponentFactory", () => A.registerComponent2(new A.$DesignMainPotentialVerticalCrossoversComponentFactory_closure(), A.design_main_potential_vertical_crossovers___$DesignMainPotentialVerticalCrossovers$closure(), B.Type_U44, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainSliceBarComponentFactory", "$get$$DesignMainSliceBarComponentFactory", () => A.registerComponent2(new A.$DesignMainSliceBarComponentFactory_closure(), A.design_main_slice_bar___$DesignMainSliceBar$closure(), B.Type_DesignMainSliceBarComponent_uSn, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandComponentFactory", "$get$$DesignMainStrandComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandComponentFactory_closure(), A.design_main_strand___$DesignMainStrand$closure(), B.Type_DesignMainStrandComponent_QGe, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandAndDomainTextsComponentFactory", "$get$$DesignMainStrandAndDomainTextsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandAndDomainTextsComponentFactory_closure(), A.design_main_strand_and_domain_texts___$DesignMainStrandAndDomainTexts$closure(), B.Type_k0J, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandCreatingComponentFactory", "$get$$DesignMainStrandCreatingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandCreatingComponentFactory_closure(), A.design_main_strand_creating___$DesignMainStrandCreating$closure(), B.Type_mBc, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandCrossoverComponentFactory", "$get$$DesignMainStrandCrossoverComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandCrossoverComponentFactory_closure(), A.design_main_strand_crossover___$DesignMainStrandCrossover$closure(), B.Type_ald, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandDeletionComponentFactory", "$get$$DesignMainStrandDeletionComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandDeletionComponentFactory_closure(), A.design_main_strand_deletion___$DesignMainStrandDeletion$closure(), B.Type_86y, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDNAEndComponentFactory", "$get$$DesignMainDNAEndComponentFactory", () => A.registerComponent2(new A.$DesignMainDNAEndComponentFactory_closure(), A.design_main_strand_dna_end___$DesignMainDNAEnd$closure(), B.Type_DesignMainDNAEndComponent_y00, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$EndMovingComponentFactory", "$get$$EndMovingComponentFactory", () => A.registerComponent2(new A.$EndMovingComponentFactory_closure(), A.design_main_strand_dna_end_moving___$EndMoving$closure(), B.Type_EndMovingComponent_PVo, false, null, B.List_8Gl)); _lazy($, "ConnectedExtensionEndMoving", "$get$ConnectedExtensionEndMoving", () => A.connect(A.app().context_extensions_move, false, null, new A.ConnectedExtensionEndMoving_closure(), type$.nullable_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)); + _lazyFinal($, "$ExtensionEndMovingComponentFactory", "$get$$ExtensionEndMovingComponentFactory", () => A.registerComponent2(new A.$ExtensionEndMovingComponentFactory_closure(), A.design_main_strand_dna_extension_end_moving___$ExtensionEndMoving$closure(), B.Type_ExtensionEndMovingComponent_b8w, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainDomainComponentFactory", "$get$$DesignMainDomainComponentFactory", () => A.registerComponent2(new A.$DesignMainDomainComponentFactory_closure(), A.design_main_strand_domain___$DesignMainDomain$closure(), B.Type_DesignMainDomainComponent_oqK, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandDomainTextComponentFactory", "$get$$DesignMainStrandDomainTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandDomainTextComponentFactory_closure(), A.design_main_strand_domain_text___$DesignMainStrandDomainText$closure(), B.Type_2No, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainExtensionComponentFactory", "$get$$DesignMainExtensionComponentFactory", () => A.registerComponent2(new A.$DesignMainExtensionComponentFactory_closure(), A.design_main_strand_extension___$DesignMainExtension$closure(), B.Type_DesignMainExtensionComponent_MQu, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandExtensionTextComponentFactory", "$get$$DesignMainStrandExtensionTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandExtensionTextComponentFactory_closure(), A.design_main_strand_extension_text___$DesignMainStrandExtensionText$closure(), B.Type_oT8, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandInsertionComponentFactory", "$get$$DesignMainStrandInsertionComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandInsertionComponentFactory_closure(), A.design_main_strand_insertion___$DesignMainStrandInsertion$closure(), B.Type_lhK, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainLoopoutComponentFactory", "$get$$DesignMainLoopoutComponentFactory", () => A.registerComponent2(new A.$DesignMainLoopoutComponentFactory_closure(), A.design_main_strand_loopout___$DesignMainLoopout$closure(), B.Type_DesignMainLoopoutComponent_9Oh, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandLoopoutTextComponentFactory", "$get$$DesignMainStrandLoopoutTextComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandLoopoutTextComponentFactory_closure(), A.design_main_strand_loopout_name___$DesignMainStrandLoopoutText$closure(), B.Type_qtf, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandModificationComponentFactory", "$get$$DesignMainStrandModificationComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandModificationComponentFactory_closure(), A.design_main_strand_modification___$DesignMainStrandModification$closure(), B.Type_apl, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandModificationsComponentFactory", "$get$$DesignMainStrandModificationsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandModificationsComponentFactory_closure(), A.design_main_strand_modifications___$DesignMainStrandModifications$closure(), B.Type_EGJ, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandMovingComponentFactory", "$get$$DesignMainStrandMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandMovingComponentFactory_closure(), A.design_main_strand_moving___$DesignMainStrandMoving$closure(), B.Type_COe, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainStrandPathsComponentFactory", "$get$$DesignMainStrandPathsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandPathsComponentFactory_closure(), A.design_main_strand_paths___$DesignMainStrandPaths$closure(), B.Type_osh, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignMainStrandsComponentFactory", "$get$$DesignMainStrandsComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandsComponentFactory_closure(), A.design_main_strands___$DesignMainStrands$closure(), B.Type_DesignMainStrandsComponent_o7e, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignMainStrandsMovingComponentFactory", "$get$$DesignMainStrandsMovingComponentFactory", () => A.registerComponent2(new A.$DesignMainStrandsMovingComponentFactory_closure(), A.design_main_strands_moving___$DesignMainStrandsMoving$closure(), B.Type_Qnb, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainUnpairedInsertionDeletionsComponentFactory", "$get$$DesignMainUnpairedInsertionDeletionsComponentFactory", () => A.registerComponent2(new A.$DesignMainUnpairedInsertionDeletionsComponentFactory_closure(), A.design_main_unpaired_insertion_deletions___$DesignMainUnpairedInsertionDeletions$closure(), B.Type_q96, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignMainWarningStarComponentFactory", "$get$$DesignMainWarningStarComponentFactory", () => A.registerComponent2(new A.$DesignMainWarningStarComponentFactory_closure(), A.design_main_warning_star___$DesignMainWarningStar$closure(), B.Type_6UD, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$DesignSideComponentFactory", "$get$$DesignSideComponentFactory", () => A.registerComponent2(new A.$DesignSideComponentFactory_closure(), A.design_side___$DesignSide$closure(), B.Type_DesignSideComponent_6Vr, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignSideHelixComponentFactory", "$get$$DesignSideHelixComponentFactory", () => A.registerComponent2(new A.$DesignSideHelixComponentFactory_closure(), A.design_side_helix___$DesignSideHelix$closure(), B.Type_DesignSideHelixComponent_4AN, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignSidePotentialHelixComponentFactory", "$get$$DesignSidePotentialHelixComponentFactory", () => A.registerComponent2(new A.$DesignSidePotentialHelixComponentFactory_closure(), A.design_side_potential_helix___$DesignSidePotentialHelix$closure(), B.Type_gyO, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignSideRotationComponentFactory", "$get$$DesignSideRotationComponentFactory", () => A.registerComponent2(new A.$DesignSideRotationComponentFactory_closure(), A.design_side_rotation___$DesignSideRotation$closure(), B.Type_DesignSideRotationComponent_GpM, false, null, B.List_8Gl)); + _lazyFinal($, "$DesignSideRotationArrowComponentFactory", "$get$$DesignSideRotationArrowComponentFactory", () => A.registerComponent2(new A.$DesignSideRotationArrowComponentFactory_closure(), A.design_side_rotation_arrow___$DesignSideRotationArrow$closure(), B.Type_N1J, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$EditAndSelectModesComponentFactory", "$get$$EditAndSelectModesComponentFactory", () => A.registerComponent2(new A.$EditAndSelectModesComponentFactory_closure(), A.edit_and_select_modes___$EditAndSelectModes$closure(), B.Type_EditAndSelectModesComponent_ybB, false, null, B.List_8Gl)); + _lazyFinal($, "$EditModeComponentFactory", "$get$$EditModeComponentFactory", () => A.registerComponent2(new A.$EditModeComponentFactory_closure(), A.edit_mode___$EditMode$closure(), B.Type_EditModeComponent_CKW, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$HelixGroupMovingComponentFactory", "$get$$HelixGroupMovingComponentFactory", () => A.registerComponent2(new A.$HelixGroupMovingComponentFactory_closure(), A.helix_group_moving___$HelixGroupMoving$closure(), B.Type_HelixGroupMovingComponent_kGq, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$MenuComponentFactory", "$get$$MenuComponentFactory", () => A.registerComponent2(new A.$MenuComponentFactory_closure(), A.menu___$Menu$closure(), B.Type_MenuComponent_uoT, false, null, B.List_8Gl)); + _lazyFinal($, "$MenuBooleanComponentFactory", "$get$$MenuBooleanComponentFactory", () => A.registerComponent2(new A.$MenuBooleanComponentFactory_closure(), A.menu_boolean___$MenuBoolean$closure(), B.Type_MenuBooleanComponent_WJm, false, null, B.List_8Gl)); + _lazyFinal($, "$MenuDropdownItemComponentFactory", "$get$$MenuDropdownItemComponentFactory", () => A.registerComponent2(new A.$MenuDropdownItemComponentFactory_closure(), A.menu_dropdown_item___$MenuDropdownItem$closure(), B.Type_MenuDropdownItemComponent_GbU, false, null, B.List_8Gl)); + _lazyFinal($, "$MenuDropdownRightComponentFactory", "$get$$MenuDropdownRightComponentFactory", () => A.registerComponent2(new A.$MenuDropdownRightComponentFactory_closure(), A.menu_dropdown_right___$MenuDropdownRight$closure(), B.Type_MenuDropdownRightComponent_8Yy, false, null, B.List_8Gl)); + _lazyFinal($, "$MenuFormFileComponentFactory", "$get$$MenuFormFileComponentFactory", () => A.registerComponent2(new A.$MenuFormFileComponentFactory_closure(), A.menu_form_file___$MenuFormFile$closure(), B.Type_MenuFormFileComponent_5gs, false, null, B.List_8Gl)); + _lazyFinal($, "$MenuNumberComponentFactory", "$get$$MenuNumberComponentFactory", () => A.registerComponent2(new A.$MenuNumberComponentFactory_closure(), A.menu_number___$MenuNumber$closure(), B.Type_MenuNumberComponent_ijK, false, null, B.List_8Gl)); _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)); + _lazyFinal($, "$SideMenuComponentFactory", "$get$$SideMenuComponentFactory", () => A.registerComponent2(new A.$SideMenuComponentFactory_closure(), A.menu_side___$SideMenu$closure(), B.Type_SideMenuComponent_4C1, false, null, B.List_8Gl)); _lazy($, "ConnectedPotentialCrossoverView", "$get$ConnectedPotentialCrossoverView", () => A.connect(A.app().context_potential_crossover, false, new A.ConnectedPotentialCrossoverView_closure(), null, type$.nullable_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)); + _lazyFinal($, "$PotentialCrossoverViewComponentFactory", "$get$$PotentialCrossoverViewComponentFactory", () => A.registerComponent2(new A.$PotentialCrossoverViewComponentFactory_closure(), A.potential_crossover_view___$PotentialCrossoverView$closure(), B.Type_jrF, false, null, B.List_8Gl)); _lazy($, "ConnectedPotentialExtensionsView", "$get$ConnectedPotentialExtensionsView", () => A.connect(A.app().context_extensions_move, false, null, new A.ConnectedPotentialExtensionsView_closure(), type$.nullable_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($, "$PotentialExtensionsViewComponentFactory", "$get$$PotentialExtensionsViewComponentFactory", () => A.registerComponent2(new A.$PotentialExtensionsViewComponentFactory_closure(), A.potential_extensions_view___$PotentialExtensionsView$closure(), B.Type_Ht8, false, null, B.List_8Gl)); _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)); @@ -163178,13 +161949,13 @@ _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)); + _lazyFinal($, "$SelectModeComponentFactory", "$get$$SelectModeComponentFactory", () => A.registerComponent2(new A.$SelectModeComponentFactory_closure(), A.select_mode___$SelectMode$closure(), B.Type_SelectModeComponent_OLT, false, null, B.List_8Gl)); _lazy($, "ConnectedSelectionBoxView", "$get$ConnectedSelectionBoxView", () => A.connect(A.app().context_selection_box, false, null, new A.ConnectedSelectionBoxView_closure(), type$.nullable_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)); + _lazyFinal($, "$SelectionBoxViewComponentFactory", "$get$$SelectionBoxViewComponentFactory", () => A.registerComponent2(new A.$SelectionBoxViewComponentFactory_closure(), A.selection_box_view___$SelectionBoxView$closure(), B.Type_SelectionBoxViewComponent_Y2j, false, null, B.List_8Gl)); _lazy($, "ConnectedSelectionRopeView", "$get$ConnectedSelectionRopeView", () => A.connect(A.app().context_selection_rope, false, null, new A.ConnectedSelectionRopeView_closure(), type$.nullable_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)); + _lazyFinal($, "$SelectionRopeViewComponentFactory", "$get$$SelectionRopeViewComponentFactory", () => A.registerComponent2(new A.$SelectionRopeViewComponentFactory_closure(), A.selection_rope_view___$SelectionRopeView$closure(), B.Type_SelectionRopeViewComponent_ZEQ, false, null, B.List_8Gl)); _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($, "$StrandOrSubstrandColorPickerComponentFactory", "$get$$StrandOrSubstrandColorPickerComponentFactory", () => A.registerComponent2(new A.$StrandOrSubstrandColorPickerComponentFactory_closure(), A.strand_color_picker___$StrandOrSubstrandColorPicker$closure(), B.Type_kNE, false, null, B.List_8Gl)); _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)); @@ -163214,8 +161985,8 @@ } init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); }(); - 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, 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, 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, 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, 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, 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, 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}); + 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, 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, 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, webkitSpeechRecognition: 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, 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, 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, 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, webkitSpeechRecognition: 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, 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"; @@ -163228,24 +161999,24 @@ A._TextTrackList_EventTarget_ListMixin.$nativeSuperclassTag = "EventTarget"; A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.$nativeSuperclassTag = "EventTarget"; })(); - Function.prototype.call$2 = function(a, b) { - return this(a, b); + Function.prototype.call$0 = function() { + return this(); }; Function.prototype.call$1 = function(a) { return this(a); }; - Function.prototype.call$0 = function() { - return this(); + 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$1$1 = function(a) { - return this(a); - }; Function.prototype.call$4 = function(a, b, c, d) { return this(a, b, c, d); }; + Function.prototype.call$1$1 = function(a) { + return this(a); + }; Function.prototype.call$2$1 = function(a) { return this(a); }; @@ -163255,9 +162026,6 @@ Function.prototype.call$5 = function(a, b, c, d, e) { return this(a, b, c, d, e); }; - Function.prototype.call$1$0 = function() { - return this(); - }; Function.prototype.call$8 = function(a, b, c, d, e, f, g, h) { return this(a, b, c, d, e, f, g, h); }; @@ -163288,6 +162056,9 @@ Function.prototype.call$2$0 = function() { return this(); }; + Function.prototype.call$1$0 = function() { + return this(); + }; convertAllToFastObject(holders); convertToFastObject($); (function(callback) { @@ -163301,19 +162072,22 @@ } var scripts = document.scripts; function onLoad(event) { - for (var i = 0; i < scripts.length; ++i) + for (var i = 0; i < scripts.length; ++i) { scripts[i].removeEventListener("load", onLoad, false); + } callback(event.target); } - for (var i = 0; i < scripts.length; ++i) + for (var i = 0; i < scripts.length; ++i) { scripts[i].addEventListener("load", onLoad, false); + } })(function(currentScript) { init.currentScript = currentScript; var callMain = A.main; - if (typeof dartMainRunner === "function") + if (typeof dartMainRunner === "function") { dartMainRunner(callMain, []); - else + } else { callMain([]); + } }); })(); diff --git a/dev/packages/$sdk/_internal/strong.sum b/dev/packages/$sdk/_internal/strong.sum deleted file mode 100644 index 4b7b0d954..000000000 --- a/dev/packages/$sdk/_internal/strong.sum +++ /dev/null @@ -1,4078 +0,0 @@ -O{ - "version": 1, - "experimentSets": { - "sdkExperiments": [ - "records" - ], - "nullSafety": [ - "non-nullable" - ] - }, - "sdk": { - "default": { - "experimentSet": "sdkExperiments" - }, - "_example_libraries": { - "ui": { - "experimentSet": "nullSafety" - } - } - }, - "packages": { - "async": { - "experimentSet": "nullSafety" - }, - "boolean_selector": { - "experimentSet": "nullSafety" - }, - "characters": { - "experimentSet": "nullSafety" - }, - "clock": { - "experimentSet": "nullSafety" - }, - "collection": { - "experimentSet": "nullSafety" - }, - "connectivity": { - "experimentSet": "nullSafety" - }, - "connectivity_platform_interface": { - "experimentSet": "nullSafety" - }, - "convert": { - "experimentSet": "nullSafety" - }, - "crypto": { - "experimentSet": "nullSafety" - }, - "csslib": { - "experimentSet": "nullSafety" - }, - "dart_internal": { - "experimentSet": "nullSafety" - }, - "device_info": { - "experimentSet": "nullSafety" - }, - "device_info_platform_interface": { - "experimentSet": "nullSafety" - }, - "fake_async": { - "experimentSet": "nullSafety" - }, - "file": { - "experimentSet": "nullSafety" - }, - "fixnum": { - "experimentSet": "nullSafety" - }, - "flutter": { - "experimentSet": "nullSafety" - }, - "flutter_driver": { - "experimentSet": "nullSafety" - }, - "flutter_test": { - "experimentSet": "nullSafety" - }, - "flutter_goldens": { - "experimentSet": "nullSafety" - }, - "flutter_goldens_client": { - "experimentSet": "nullSafety" - }, - "http": { - "experimentSet": "nullSafety" - }, - "http_parser": { - "experimentSet": "nullSafety" - }, - "intl": { - "experimentSet": "nullSafety" - }, - "js": { - "experimentSet": "nullSafety" - }, - "logging": { - "experimentSet": "nullSafety" - }, - "matcher": { - "experimentSet": "nullSafety" - }, - "meta": { - "experimentSet": "nullSafety" - }, - "native_stack_traces": { - "experimentSet": "nullSafety" - }, - "observatory": { - "experimentSet": "nullSafety" - }, - "observatory_test_package": { - "experimentSet": "nullSafety" - }, - "path": { - "experimentSet": "nullSafety" - }, - "pedantic": { - "experimentSet": "nullSafety" - }, - "platform": { - "experimentSet": "nullSafety" - }, - "plugin_platform_interface": { - "experimentSet": "nullSafety" - }, - "pool": { - "experimentSet": "nullSafety" - }, - "process": { - "experimentSet": "nullSafety" - }, - "pub_semver": { - "experimentSet": "nullSafety" - }, - "sky_engine": { - "experimentSet": "nullSafety" - }, - "source_maps": { - "experimentSet": "nullSafety" - }, - "source_map_stack_trace": { - "experimentSet": "nullSafety" - }, - "source_span": { - "experimentSet": "nullSafety" - }, - "stack_trace": { - "experimentSet": "nullSafety" - }, - "stream_channel": { - "experimentSet": "nullSafety" - }, - "string_scanner": { - "experimentSet": "nullSafety" - }, - "term_glyph": { - "experimentSet": "nullSafety" - }, - "test": { - "experimentSet": "nullSafety" - }, - "test_api": { - "experimentSet": "nullSafety" - }, - "test_core": { - "experimentSet": "nullSafety" - }, - "typed_data": { - "experimentSet": "nullSafety" - }, - "url_launcher": { - "experimentSet": "nullSafety" - }, - "url_launcher_linux": { - "experimentSet": "nullSafety" - }, - "url_launcher_macos": { - "experimentSet": "nullSafety" - }, - "url_launcher_platform_interface": { - "experimentSet": "nullSafety" - }, - "url_launcher_windows": { - "experimentSet": "nullSafety" - }, - "vector_math": { - "experimentSet": "nullSafety" - }, - "video_player": { - "experimentSet": "nullSafety" - }, - "video_player_platform_interface": { - "experimentSet": "nullSafety" - }, - "video_player_web": { - "experimentSet": "nullSafety" - } - } -} -( -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) { - var s = toStringFunction.call(o); - return s.substring(8, s.length - 1); - } - function getUnknownTag(object, tag) { - // This code really belongs in [getUnknownTagGenericBrowser] but having it - // here allows [getUnknownTag] to be tested on d8. - if (/^HTML[A-Z].*Element$/.test(tag)) { - // Check that it is not a simple JavaScript object. - 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 }; -}'''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) { - // This code really belongs in [getUnknownTagGenericBrowser] but having it - // here allows [getUnknownTag] to be tested on d8. - if (/^HTML[A-Z].*Element$/.test(tag)) { - // Check that it is not a simple JavaScript object. - 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 }; -}_constructorNameFallbackr''' -function getTagFallback(o) { - var s = Object.prototype.toString.call(o); - return s.substring(8, s.length - 1); -}'''function getTagFallback(o) { - var s = Object.prototype.toString.call(o); - return s.substring(8, s.length - 1); -}_fallbackConstructorHooksTransformerGeneratorr''' -function(getTagFallback) { - return function(hooks) { - // If we are not in a browser, assume we are in d8. - // TODO(sra): Recognize jsshell. - if (typeof navigator != "object") return hooks; - - var ua = navigator.userAgent; - // TODO(antonm): remove a reference to DumpRenderTree. - if (ua.indexOf("DumpRenderTree") >= 0) return hooks; - if (ua.indexOf("Chrome") >= 0) { - // Confirm constructor name is usable for dispatch. - function confirm(p) { - return typeof window == "object" && window[p] && window[p].name == p; - } - if (confirm("Window") && confirm("HTMLElement")) return hooks; - } - - hooks.getTag = getTagFallback; - }; -}'''function(getTagFallback) { - return function(hooks) { - // If we are not in a browser, assume we are in d8. - // TODO(sra): Recognize jsshell. - if (typeof navigator != "object") return hooks; - - var ua = navigator.userAgent; - // TODO(antonm): remove a reference to DumpRenderTree. - if (ua.indexOf("DumpRenderTree") >= 0) return hooks; - if (ua.indexOf("Chrome") >= 0) { - // Confirm constructor name is usable for dispatch. - function confirm(p) { - return typeof window == "object" && window[p] && window[p].name == p; - } - if (confirm("Window") && confirm("HTMLElement")) return hooks; - } - - hooks.getTag = getTagFallback; - }; -}_ieHooksTransformerr''' -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; - // Patches for types which report themselves as Objects. - 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; -}'''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; - // Patches for types which report themselves as Objects. - 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; -}_fixDocumentHooksTransformerr''' -function(hooks) { - var getTag = hooks.getTag; - var prototypeForTag = hooks.prototypeForTag; - function getTagFixed(o) { - var tag = getTag(o); - if (tag == "Document") { - // Some browsers and the polymer polyfill call both HTML and XML documents - // "Document", so we check for the xmlVersion property, which is the empty - // string on HTML documents. Since both dart:html classes Document and - // HtmlDocument share the same type, we must patch the instances and not - // the prototype. - if (!!o.xmlVersion) return "!Document"; - return "!HTMLDocument"; - } - return tag; - } - - function prototypeForTagFixed(tag) { - if (tag == "Document") return null; // Do not pre-patch Document. - return prototypeForTag(tag); - } - - hooks.getTag = getTagFixed; - hooks.prototypeForTag = prototypeForTagFixed; -}'''function(hooks) { - var getTag = hooks.getTag; - var prototypeForTag = hooks.prototypeForTag; - function getTagFixed(o) { - var tag = getTag(o); - if (tag == "Document") { - // Some browsers and the polymer polyfill call both HTML and XML documents - // "Document", so we check for the xmlVersion property, which is the empty - // string on HTML documents. Since both dart:html classes Document and - // HtmlDocument share the same type, we must patch the instances and not - // the prototype. - if (!!o.xmlVersion) return "!Document"; - return "!HTMLDocument"; - } - return tag; - } - - function prototypeForTagFixed(tag) { - if (tag == "Document") return null; // Do not pre-patch Document. - return prototypeForTag(tag); - } - - hooks.getTag = getTagFixed; - hooks.prototypeForTag = prototypeForTagFixed; -}_firefoxHooksTransformerr''' -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", // Fixes issue 18151 - "WorkerMessageEvent": "MessageEvent", - "XMLDocument": "!Document"}; - - function getTagFirefox(o) { - var tag = getTag(o); - return quickMap[tag] || tag; - } - - hooks.getTag = getTagFirefox; -}'''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", // Fixes issue 18151 - "WorkerMessageEvent": "MessageEvent", - "XMLDocument": "!Document"}; - - function getTagFirefox(o) { - var tag = getTag(o); - return quickMap[tag] || tag; - } - - hooks.getTag = getTagFirefox; -}_operaHooksTransformerr''' -function(hooks) { return hooks; } -'''function(hooks) { return hooks; } -_safariHooksTransformer_dartExperimentalFixupGetTagHooksTransformerr''' -function(hooks) { - if (typeof dartExperimentalFixupGetTag != "function") return hooks; - hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -}'''function(hooks) { - if (typeof dartExperimentalFixupGetTag != "function") return hooks; - hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); -}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 -     - -    - -   - -        - - -             - $"   - -   -$" -  -  -)' - -  -   -  -   -  -%#  @>    - - -     -  - -      -  - -  - -  -    - -    -  -     -  -    -     -  - -   - -     - -   & #    -    -    -     -  -    -   - -  - - - - -    -     -   -   -        -  97 - 86  -       -   - -  - -   -    - - - - - - -     - -  - - - - -    - - - -  - - -   - - -  -   -      -  -     - -    -   -  "!$ -     -           -         -  :8  - - - -    - - - -      "   -     -      -    - -    -       -     - - - -     -    -=;B@ - -        %#  - -           -  - -  -    -  -   - - -     - -   -    -   -     - -  - -     -:8=; - -          - -  - - 97 -    -    -     -  -  -  - - -   - -    - - - - -  -    -   -  - -  -   - -     - - -& -  -           -  - - -    -  -  -         - -   -          - -  -  - - -      -           -  -   -   -   -%# !    - -       HF -  a_ - -      - -       -    -   -  -      -      -     -  -  -  -  - - -  -  -         -   -  -     -  - -  - -  -    - -   -   -  -  - -   -    - -    - 3 - - -  - -    - -  -    -   -  - - -  - - -  - -   - -        - - - - -  -  - -$'  - -    - - - -  -         &    -      -  -  -+ -   -  -     -  -   -  -  (( " '% -  -   97  - - -     - -<: - - - - -  -  -       - -   - !       -  -  #! -       -   #  -EC -       -   -  -  -           - - -  - -          -   -          -    -   -             -  - $"         -            -  - -     - -   - -  -   -    - -       - )'  - -  - -     -   -    -     -    -        -  -    -      -  -        -  - -    !#   -  -     -     -     - - - -  - - -  -   - - - -      -  -    - - -   (& -  - $& "        -    -  - -    -   - -    -  - - -$"  - @>     -     -     -   0.  - - - - -      !  - -  -   -  - - -   -   -    - -  -  -  -  -  -           - - -    - -  - - - -   -  - - #! -   -  -   -    -     - - - - JH      -  - -    -     -   -   -  -  -        '% -  - -     - - - -        -           -  -  -     -     - -      -    -  - -  - - - -   -  -    -      -        -       - "#!"#!    -     -    -       -   -      ! !    -  -         -  #   - -   -   -  - -  -   -        -  - -      -  -    -  - -   - -    - - - -  - - -        - -  - - - -   -   - -            - - - - - -   - - - - - -   - -   -     -  - -     -     - -           -    -       -    - -      - -  -  -  - - - -  - - - -  - - - - -  -    - -  - - -  - - - - - -  -  - - -    - -     -   -  -  -  - - -      -           ! "      ""  #  -!    --  )))% ) -86   + -       - -  -     -  - -?=  - - -  -  -   - -   -       *(  -  -  - - &$ -" -   -  #"  !          - -  - - - -  -       - -    -          -      -  - " -   -       - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -                  -   -   - -         -             -         -   -      -    !   -         -    -    -  -      -      -    - - - - % *           - @><: -  - - - - - - - - - -          -  - -  &$ -20    " -     -    - - - -  -   -  -         -           -    - -     - -  - - - - -     - - -  - -   - - -      -   - -  - - -  -   - - - - -  -      - - -'%*(*('%#! $"$"" "  -  -  - -   - - -      -           -  -                       -  !     -    -     -   -  - -   !     - )   - -    -    -  - -  -   -    97   - -  - -      -       -   - - .,   -  - -  - - -       - - - - - - -  - -     - -    -   -   - -   -   -  -   -  -    -   - - - - - - -  - - - ,      -  - - - - - - - - - -         $"  -   WU  HF   -       -     '#          -  !   -     -  - -   -    -  -      -  -  - -   -                -  - $%# #!   -    !  -     -           &$*(      ! -  -20 )'   - --+!   &%%%&&$$$$$$$$86(,:8( )<:  :8 ### 20 '% '% %#)!     - - ,*<:   ?= ,*1/##!0.,*97.,    -    -  -   -   - -        -  -  -  - !|z  -  -[Y(&    -    -6 6 - - - - - - - -  - -  -      -   - -         -  ? ->    - - - - -       -            -     - - -   -                       -   -   -   - - - ! %%!!""#,$$!!)" -  - - -       - -   ( & -'*  -        - -    - - -           -         - - -                        - -!%  $+)  " -  "       -     -    -   )' -       )' #!" *(!  %#(&  - !             -  - -  !      -    - "  -   $    - -   - - -   - - -  # !  -       - -         -    -  -   % -   -"&$,* ()  - *  *     -      -%zr-XPA9*",*   - -  -*  "#!,     -    - - - -  -   - -  - -   !    -   -       * ""$! - -         -   -      - -      $%  - - - - -  - - -   -  -   %   -   -   & - - -  - &        -  -   - -      -  -  -          -    -    ! '  -        -    -    -    - - -x 5 XO \ No newline at end of file diff --git a/dev/packages/$sdk/dev_compiler/kernel/amd/require.js b/dev/packages/$sdk/dev_compiler/amd/require.js similarity index 100% rename from dev/packages/$sdk/dev_compiler/kernel/amd/require.js rename to dev/packages/$sdk/dev_compiler/amd/require.js diff --git a/dev/packages/$sdk/dev_compiler/ddc/ddc_module_loader.js b/dev/packages/$sdk/dev_compiler/ddc/ddc_module_loader.js new file mode 100644 index 000000000..b9fedb236 --- /dev/null +++ b/dev/packages/$sdk/dev_compiler/ddc/ddc_module_loader.js @@ -0,0 +1,1252 @@ +// Copyright (c) 2015, 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. + +// This file defines the module loader for the dart runtime. +if (!self.dart_library) { + self.dart_library = typeof module != 'undefined' && module.exports || {}; + + (function (dart_library) { + 'use strict'; + + // Throws an error related to module loading. + // + // This does not throw a Dart error because the Dart SDK may not have loaded + // yet, and module loading errors cannot be caught by Dart code. + function throwLibraryError(message) { + // Dispatch event to allow others to react to the load error without + // capturing the exception. + if (!!self.dispatchEvent) { + self.dispatchEvent( + new CustomEvent('dartLoadException', { detail: message })); + } + throw Error(message); + } + + /** + * Returns true if we're running in d8. + * + * TOOD(markzipan): Determine if this d8 check is too inexact. + */ + self.dart_library.isD8 = self.document.head == void 0; + + const libraryImports = Symbol('libraryImports'); + self.dart_library.libraryImports = libraryImports; + + const _metrics = Symbol('metrics'); + + // Returns a map from module name to various metrics for module. + function moduleMetrics() { + const map = {}; + const keys = Array.from(_libraries.keys()); + for (const key of keys) { + const lib = _libraries.get(key); + map[lib._name] = lib.firstLibraryValue[_metrics]; + } + return map; + } + self.dart_library.moduleMetrics = moduleMetrics; + + // Returns an application level overview of the module metrics. + function appMetrics() { + const metrics = moduleMetrics(); + let dartSize = 0; + let jsSize = 0; + let sourceMapSize = 0; + let evaluatedModules = 0; + const keys = Array.from(_libraries.keys()); + + let firstLoadStart = Number.MAX_VALUE; + let lastLoadEnd = Number.MIN_VALUE; + + for (const module of keys) { + let data = metrics[module]; + if (data != null) { + evaluatedModules++; + dartSize += data.dartSize; + jsSize += data.jsSize; + sourceMapSize += data.sourceMapSize; + firstLoadStart = Math.min(firstLoadStart, data.loadStart); + lastLoadEnd = Math.max(lastLoadEnd, data.loadEnd); + } + } + return { + 'dartSize': dartSize, + 'jsSize': jsSize, + 'sourceMapSize': sourceMapSize, + 'evaluatedModules': evaluatedModules, + 'loadTimeMs': lastLoadEnd - firstLoadStart + }; + } + self.dart_library.appMetrics = appMetrics; + + function _sortFn(key1, key2) { + const t1 = _libraries.get(key1).firstLibraryValue[_metrics].loadStart; + const t2 = _libraries.get(key2).firstLibraryValue[_metrics].loadStart; + return t1 - t2; + } + + // Convenience method to print the metrics in the browser console + // in CSV format. + function metricsCsv() { + let buffer = + 'Module, JS Size, Dart Size, Load Start, Load End, Cumulative JS Size\n'; + const keys = Array.from(_libraries.keys()); + keys.sort(_sortFn); + let cumulativeJsSize = 0; + for (const key of keys) { + const lib = _libraries.get(key); + const jsSize = lib.firstLibraryValue[_metrics].jsSize; + cumulativeJsSize += jsSize; + const dartSize = lib.firstLibraryValue[_metrics].dartSize; + const loadStart = lib.firstLibraryValue[_metrics].loadStart; + const loadEnd = lib.firstLibraryValue[_metrics].loadEnd; + buffer += '"' + lib._name + '", ' + jsSize + ', ' + dartSize + ', ' + + loadStart + ', ' + loadEnd + ', ' + cumulativeJsSize + '\n'; + } + return buffer; + } + self.dart_library.metricsCsv = metricsCsv; + + // Module support. This is a simplified module system for Dart. + // Longer term, we can easily migrate to an existing JS module system: + // ES6, AMD, RequireJS, .... + + // Returns a proxy that delegates to the underlying loader. + // This defers loading of a module until a library is actually used. + const loadedModule = Symbol('loadedModule'); + self.dart_library.defer = function (module, name, patch) { + let done = false; + function loadDeferred() { + done = true; + let mod = module[loadedModule]; + let lib = mod[name]; + // Install unproxied module and library in caller's context. + patch(mod, lib); + } + // The deferred library object. Note, the only legal operations on a Dart + // library object should be get (to read a top-level variable, method, or + // Class) or set (to write a top-level variable). + return new Proxy({}, { + get: function (o, p) { + if (!done) loadDeferred(); + return module[name][p]; + }, + set: function (o, p, value) { + if (!done) loadDeferred(); + module[name][p] = value; + return true; + }, + }); + }; + + let _reverseImports = new Map(); + + // App name to set of libraries that were not only loaded on the page but + // also executed. + const _executedLibraries = new Map(); + self.dart_library.executedLibraryCount = function () { + let count = 0; + _executedLibraries.forEach(function (executedLibraries, _) { + count += executedLibraries.size; + }); + return count; + }; + + // Library instance that is going to be loaded or has been loaded. + class LibraryInstance { + constructor(libraryValue) { + this.libraryValue = libraryValue; + // Cyclic import detection + this.loadingState = LibraryLoader.NOT_LOADED; + } + + get isNotLoaded() { + return this.loadingState == LibraryLoader.NOT_LOADED; + } + } + + class LibraryLoader { + constructor(name, defaultLibraryValue, imports, loader, data) { + imports.forEach(function (i) { + let deps = _reverseImports.get(i); + if (!deps) { + deps = new Set(); + _reverseImports.set(i, deps); + } + deps.add(name); + }); + this._name = name; + this._defaultLibraryValue = + defaultLibraryValue ? defaultLibraryValue : {}; + this._imports = imports; + this._loader = loader; + data.jsSize = loader.toString().length; + data.loadStart = NaN; + data.loadEnd = NaN; + this._metrics = data; + + // First loaded instance for supporting logic that assumes there is only + // one app. + // TODO(b/204209941): Remove _firstLibraryInstance after debugger and + // metrics support multiple apps. + this._firstLibraryInstance = + new LibraryInstance(this._deepCopyDefaultValue()); + this._firstLibraryInstanceUsed = false; + + // App name to instance map. + this._instanceMap = new Map(); + } + + /// First loaded value for supporting logic that assumes there is only + /// one app. + get firstLibraryValue() { + return this._firstLibraryInstance.libraryValue; + } + + /// The loaded instance value for the given `appName`. + libraryValueInApp(appName) { + return this._instanceMap.get(appName).libraryValue; + } + + load(appName) { + let instance = this._instanceMap.get(appName); + if (!instance && !this._firstLibraryInstanceUsed) { + // If `_firstLibraryInstance` is already assigned to an app, creates a + // new instance clone (with deep copy) and assigns it the given app. + // Otherwise, reuse `_firstLibraryInstance`. + instance = this._firstLibraryInstance; + this._firstLibraryInstanceUsed = true; + this._instanceMap.set(appName, instance); + } + if (!instance) { + instance = new LibraryInstance(this._deepCopyDefaultValue()); + this._instanceMap.set(appName, instance); + } + + // Check for cycles + if (instance.loadingState == LibraryLoader.LOADING) { + throwLibraryError('Circular dependence on library: ' + this._name); + } else if (instance.loadingState >= LibraryLoader.READY) { + return instance.libraryValue; + } + if (!_executedLibraries.has(appName)) { + _executedLibraries.set(appName, new Set()); + } + _executedLibraries.get(appName).add(this._name); + instance.loadingState = LibraryLoader.LOADING; + + // Handle imports + let args = this._loadImports(appName); + + // Load the library + let loader = this; + let library = instance.libraryValue; + + library[libraryImports] = this._imports; + library[loadedModule] = library; + library[_metrics] = this._metrics; + args.unshift(library); + + if (this._name == 'dart_sdk') { + // Eagerly load the SDK. + if (!!self.performance && !!self.performance.now) { + library[_metrics].loadStart = self.performance.now(); + } + this._loader.apply(null, args); + if (!!self.performance && !!self.performance.now) { + library[_metrics].loadEnd = self.performance.now(); + } + } else { + // Load / parse other modules on demand. + let done = false; + instance.libraryValue = new Proxy(library, { + get: function (o, name) { + if (name == _metrics) { + return o[name]; + } + if (!done) { + done = true; + if (!!self.performance && !!self.performance.now) { + library[_metrics].loadStart = self.performance.now(); + } + loader._loader.apply(null, args); + if (!!self.performance && !!self.performance.now) { + library[_metrics].loadEnd = self.performance.now(); + } + } + return o[name]; + } + }); + } + + instance.loadingState = LibraryLoader.READY; + return instance.libraryValue; + } + + _loadImports(appName) { + let results = []; + for (let name of this._imports) { + results.push(import_(name, appName)); + } + return results; + } + + _deepCopyDefaultValue() { + return JSON.parse(JSON.stringify(this._defaultLibraryValue)); + } + } + LibraryLoader.NOT_LOADED = 0; + LibraryLoader.LOADING = 1; + LibraryLoader.READY = 2; + + // Map from name to LibraryLoader + let _libraries = new Map(); + self.dart_library.libraries = function () { + return _libraries.keys(); + }; + self.dart_library.debuggerLibraries = function () { + let debuggerLibraries = []; + _libraries.forEach(function (value, key, map) { + debuggerLibraries.push(value.load(_firstStartedAppName)); + }); + Object.setPrototypeOf(debuggerLibraries, null); + return debuggerLibraries; + }; + + // Invalidate a library and all things that depend on it + function _invalidateLibrary(name) { + let lib = _libraries.get(name); + if (lib._instanceMap.size === 0) return; + lib._firstLibraryInstance = + new LibraryInstance(lib._deepCopyDefaultValue()); + lib._firstLibraryInstanceUsed = false; + lib._instanceMap.clear(); + let deps = _reverseImports.get(name); + if (!deps) return; + deps.forEach(_invalidateLibrary); + } + + function library(name, defaultLibraryValue, imports, loader, data = {}) { + let result = _libraries.get(name); + if (result) { + console.log('Re-loading ' + name); + _invalidateLibrary(name); + } + result = + new LibraryLoader(name, defaultLibraryValue, imports, loader, data); + _libraries.set(name, result); + return result; + } + self.dart_library.library = library; + + // Store executed modules upon reload. + if (!!self.addEventListener && !!self.localStorage) { + self.addEventListener('beforeunload', function (event) { + _nameToApp.forEach(function (_, appName) { + if (!_executedLibraries.get(appName)) { + return; + } + let libraryCache = { + 'time': new Date().getTime(), + 'modules': Array.from(_executedLibraries.get(appName).keys()), + }; + self.localStorage.setItem( + `dartLibraryCache:${appName}`, JSON.stringify(libraryCache)); + }); + }); + } + + // Map from module name to corresponding app to proxy library map. + let _proxyLibs = new Map(); + + function import_(name, appName) { + // For backward compatibility. + if (!appName && _lastStartedSubapp) { + appName = _lastStartedSubapp.appName; + } + + let proxy; + if (_proxyLibs.has(name)) { + proxy = _proxyLibs.get(name).get(appName); + } + if (proxy) return proxy; + let proxyLib = new Proxy({}, { + get: function (o, p) { + let lib = _libraries.get(name); + if (self.$dartJITModules) { + // The backing module changed so update the reference + if (!lib) { + let xhr = new XMLHttpRequest(); + let sourceURL = self.$dartLoader.moduleIdToUrl.get(name); + xhr.open('GET', sourceURL, false); + xhr.withCredentials = true; + xhr.send(); + // Add inline policy to make eval() call Trusted Types compatible + // when running in a TT compatible browser + let policy = { + createScript: function (script) { + return script; + } + }; + if (self.trustedTypes && self.trustedTypes.createPolicy) { + policy = self.trustedTypes.createPolicy( + 'dartDdcModuleLoading#dart_library', policy); + } + // Append sourceUrl so the resource shows up in the Chrome + // console. + eval(policy.createScript( + xhr.responseText + '//@ sourceURL=' + sourceURL)); + lib = _libraries.get(name); + } + } + if (!lib) { + throwLibraryError('Module ' + name + ' not loaded in the browser.'); + } + // Always load the library before accessing a property as it may have + // been invalidated. + return lib.load(appName)[p]; + } + }); + if (!_proxyLibs.has(name)) { + _proxyLibs.set(name, new Map()); + } + _proxyLibs.get(name).set(appName, proxyLib); + return proxyLib; + } + self.dart_library.import = import_; + + // Removes the corresponding library and invalidates all things that + // depend on it. + function _invalidateImport(name) { + let lib = _libraries.get(name); + if (!lib) return; + _invalidateLibrary(name); + _libraries.delete(name); + } + self.dart_library.invalidateImport = _invalidateImport; + + let _debuggerInitialized = false; + + // Caches the last N runIds to prevent hot reload requests from the same + // runId from executing more than once. + const _hotRestartRunIdCache = new Array(); + + // Called to initiate a hot restart of the application for a given uuid. If + // it is not set, the last started application will be hot restarted. + // + // "Hot restart" means all application state is cleared, the newly compiled + // modules are loaded, and `main()` is called. + // + // Note: `onReloadEnd()` can be provided, and if so will be used instead of + // `main()` for hot restart. + // + // This happens in the following sequence: + // + // 1. Look for `onReloadStart()` in the same library that has `main()`, and + // call it if present. This function is implemented by the application to + // ensure any global browser/DOM state is cleared, so the application can + // restart. + // 2. Wait for `onReloadStart()` to complete (either synchronously, or async + // if it returned a `Future`). + // 3. Call dart:_runtime's `hotRestart()` function to clear any state that + // `dartdevc` is tracking, such as initialized static fields and type + // caches. + // 4. Call `self.$dartReloadModifiedModules()` (provided by the HTML page) + // to reload the relevant JS modules, passing a callback that will invoke + // `main()`. + // 5. `$dartReloadModifiedModules` calls the callback to rerun main. + // + async function hotRestart(config) { + if (!self || !self.$dartReloadModifiedModules) { + console.warn('Hot restart not supported in this environment.'); + return; + } + + // If `config.runId` is set (e.g. a unique build ID that represent the + // current build and shared by multiple subapps), skip the following runs + // with the same id. + if (config && config.runId) { + if (_hotRestartRunIdCache.indexOf(config.runId) >= 0) { + // The run has already started (by other subapp or app) + return; + } + _hotRestartRunIdCache.push(config.runId); + + // Only cache the runIds for the last N runs. We assume that there are + // less than N requests with different runId can happen in a very short + // period of time (e.g. 1 second). + if (_hotRestartRunIdCache.length > 10) { + _hotRestartRunIdCache.shift(); + } + } + + self.console.clear(); + const sdk = _libraries.get('dart_sdk'); + + // Finds out what apps and their subapps should be hot restarted in + // their starting order. + const dirtyAppNames = new Array(); + const dirtySubapps = new Array(); + if (config && config.runId) { + _nameToApp.forEach(function (app, appName) { + dirtySubapps.push(...app.uuidToSubapp.values()); + dirtyAppNames.push(appName); + }); + } else { + dirtySubapps.push(_lastStartedSubapp); + dirtyAppNames.push(_lastStartedSubapp.appName); + } + + // Invokes onReloadStart for each subapp in reversed starting order. + const onReloadStartPromises = new Array(); + for (const subapp of dirtySubapps.reverse()) { + // Call the application's `onReloadStart()` function, if provided. + if (subapp.library && subapp.library.onReloadStart) { + const result = subapp.library.onReloadStart(); + if (result && result.then) { + let resolve; + onReloadStartPromises.push(new Promise(function (res, _) { + resolve = res; + })); + const dart = sdk.libraryValueInApp(subapp.appName).dart; + result.then(dart.dynamic, function () { + resolve(); + }); + } + } + } + // Reverse the subapps back to starting order. + dirtySubapps.reverse(); + + await Promise.all(onReloadStartPromises); + + // Invokes SDK `hotRestart` to reset all initialized fields and clears + // type caches and other temporary data structures used by the + // compiler/SDK. + for (const appName of dirtyAppNames) { + sdk.libraryValueInApp(appName).dart.hotRestart(); + } + + // Invoke `hotRestart` for the deferred loader to clear load ids and + // other temporary state. + if (self.deferred_loader) { + self.deferred_loader.hotRestart(); + } + + // Starts the subapps in their starting order. + for (const subapp of dirtySubapps) { + // Call the module loader to reload the necessary modules. + self.$dartReloadModifiedModules(subapp.appName, async function () { + // If the promise `readyToRunMain` is provided, then wait for + // it. This gives the debugging clients time to set any breakpoints. + if (!!(config && config.readyToRunMain)) { + await config.readyToRunMain; + } + // Once the modules are loaded, rerun `main()`. + start( + subapp.appName, subapp.uuid, subapp.moduleName, + subapp.libraryName, true); + }); + } + } + self.dart_library.reload = hotRestart; + + // Creates a script with the proper nonce value for strict CSP or noops on + // invalid platforms. + self.dart_library.createScript = (function () { + // Exit early if we aren't modifying an HtmlElement (such as in D8). + if (self.dart_library.isD8) return; + // Find the nonce value. (Note, this is only computed once.) + const scripts = Array.from(document.getElementsByTagName('script')); + let nonce; + scripts.some( + script => (nonce = script.nonce || script.getAttribute('nonce'))); + // If present, return a closure that automatically appends the nonce. + if (nonce) { + return function () { + let script = document.createElement('script'); + script.nonce = nonce; + return script; + }; + } else { + return function () { + return document.createElement('script'); + }; + } + })(); + + /// An App contains one or multiple Subapps, all of the subapps share the + /// same memory copy of library instances, and as a result they share state + /// in Dart statics and top-level fields. There can be one or multiple Apps + /// in a browser window, all of the Apps are isolated from each other + /// (i.e. they create different instances even for the same module). + class App { + constructor(name) { + this.name = name; + + // Subapp's uuid to subapps in initial starting order. + // (ES6 preserves iteration order) + this.uuidToSubapp = new Map(); + } + } + + class Subapp { + constructor(uuid, appName, moduleName, libraryName, library) { + this.uuid = uuid; + this.appName = appName; + this.moduleName = moduleName; + this.libraryName = libraryName; + this.library = library; + + this.originalBody = null; + } + } + + // App name to App map in initial starting order. + // (ES6 preserves iteration order) + const _nameToApp = new Map(); + let _firstStartedAppName; + let _lastStartedSubapp; + + /// Starts a subapp that is identified with `uuid`, `moduleName`, and + /// `libraryName` inside a parent app that is identified by `appName`. + function start(appName, uuid, moduleName, libraryName, isReload) { + console.info( + `DDC: Subapp Module [${appName}:${moduleName}:${uuid}] is starting`); + if (libraryName == null) libraryName = moduleName; + const library = import_(moduleName, appName)[libraryName]; + + let app = _nameToApp.get(appName); + if (!isReload) { + if (!app) { + app = new App(appName); + _nameToApp.set(appName, app); + } + + let subapp = app.uuidToSubapp.get(uuid); + if (!subapp) { + subapp = new Subapp(uuid, appName, moduleName, libraryName, library); + app.uuidToSubapp.set(uuid, subapp); + } + + _lastStartedSubapp = subapp; + if (!_firstStartedAppName) { + _firstStartedAppName = appName; + } + } + + const subapp = app.uuidToSubapp.get(uuid); + const sdk = import_('dart_sdk', appName); + + if (!_debuggerInitialized) { + // This import is only needed for chrome debugging. We should provide an + // option to compile without it. + sdk._debugger.registerDevtoolsFormatter(); + + // Create isolate. + _debuggerInitialized = true; + } + if (isReload) { + // subapp may have been modified during reload, `subapp.library` needs + // to always point to the latest data. + subapp.library = library; + + if (library.onReloadEnd) { + library.onReloadEnd(); + return; + } else { + if (!!self.document) { + // Note: we expect originalBody to be undefined in non-browser + // environments, but in that case so is the body. + if (!subapp.originalBody && !!self.document.body) { + self.console.warn('No body saved to update on reload'); + } else { + self.document.body = subapp.originalBody; + } + } + } + } else { + // If not a reload and `onReloadEnd` is not defined, store the initial + // html to reset it on reload. + if (!library.onReloadEnd && !!self.document && !!self.document.body) { + subapp.originalBody = self.document.body.cloneNode(true); + } + } + library.main([]); + } + dart_library.start = start; + })(dart_library); +} + +// Initialize the DDC module loader. +// +// Scripts are JS objects with the following structure: +// {"src": "path/to/script.js", "id": "lookup_id_for_script"} +(function () { + let _currentDirectory = (function () { + let _url = document.currentScript.src; + let lastSlash = _url.lastIndexOf('/'); + if (lastSlash == -1) return _url; + let currentDirectory = _url.substring(0, lastSlash + 1); + return currentDirectory; + })(); + + let trimmedDirectory = _currentDirectory.endsWith("/") ? + _currentDirectory.substring(0, _currentDirectory.length - 1) + : _currentDirectory; + + if (!self.$dartLoader) { + self.$dartLoader = { + // Maps cosmetic (but stable) module names to their fully resolved URL. + // + // TODO(markzipan): Multi-app scripts can have module name conflicts. + // This should ideally be separated per-app. + moduleIdToUrl: new Map(), + // Contains root directories below which scripts are resolved. + rootDirectories: new Array(), + // This mapping is required for proper translation of stack traces. + urlToModuleId: new Map(), + // The DDCLoader used for this app. Should not be used in multi-app + // scenarios. + loader: null, + // The LoadConfiguration used for this app's DDCLoader. Should not be used + // in multi-app scenarios. + loadConfig: null + }; + + // Every distinct DDC app requires its own load configuration. + self.$dartLoader.LoadConfiguration = class LoadConfiguration { + constructor() { + // Identifies the bootstrap script. + // This should be set by bootstrappers for bootstrap-specific hooks. + this.bootstrapScript = null; + + // True if the bootstrap script should be loaded on the this attempt. + this.tryLoadBootstrapScript = false; + + // The underlying function that loads scripts. + // + // @param {function(!DDCLoader)} + this.loadScriptFn = (_) => { }; + + // The root for script URLs. Defaults to the root of this file. + // + // TODO(markzipan): Using the default is not safe in a multi-app scenario + // due to apps clobbering state on dartLoader. Move this to the local + // DDCLoader, which is unique per-app. + this.root = trimmedDirectory; + + this.isWindows = false; + + // Optional event handlers. + // Called when modules begin loading. + this.onLoadStart = () => { }; + // Called when the app fails to load after retrying. + this.onLoadError = () => { }; + // Called if loading the bootstrap script is successful. + this.onBootstrapSuccess = () => { }; + // Called if the bootstrap script fails to load. + this.onBootstrapError = () => { }; + + this.maxRequestPoolSize = 1000; + + // Max retry to prevent from load failing scripts forever. + this.maxAttempts = 6; + } + }; + } + + // Loads a single script onto the page. + // TODO(markzipan): Is there a cleaner way to integrate this? + self.$dartLoader.forceLoadScript = function (jsFile) { + if (self.dart_library.isD8) { + self.load(jsFile); + return; + } + let script = self.dart_library.createScript(); + let policy = { + createScriptURL: function (src) { return src; } + }; + if (self.trustedTypes && self.trustedTypes.createPolicy) { + policy = self.trustedTypes.createPolicy('dartDdcModuleUrl', policy); + } + script.setAttribute('src', policy.createScriptURL(jsFile)); + document.head.appendChild(script); + }; + + self.$dartLoader.forceLoadModule = function (moduleName) { + let modulePathScript = _currentDirectory + moduleName + '.js'; + self.$dartLoader.forceLoadScript(modulePathScript); + }; + + // Handles JS script downloads and evaluation for a DDC app. + // + // Every DDC application requires exactly one DDCLoader. + self.$dartLoader.DDCLoader = class DDCLoader { + constructor(loadConfig) { + this.attemptCount = 0; + + this.loadConfig = loadConfig; + + // Scripts that await to be loaded. + this.queue = new Array(); + + // These refer to scripts already added to the document (as script tag). + this.numToLoad = 0; + this.numLoaded = 0; + this.numFailed = 0; + + // Resets all the fields and makes a load attempt. + this.nextAttempt = function () { + if (this.attemptCount == 0) { + this.loadConfig.onLoadStart(); + } + this.attemptCount++; + this.queue = new Array(); + this.numToLoad = 0; + this.numLoaded = 0; + this.numFailed = 0; + + this.loadConfig.loadScriptFn(this); + }; + + // The current hot restart generation. + // + // 0-indexed and increases by 1 on every successful hot restart. + // This value is read to determine the 'current' hot restart generation + // in our hot restart tests. This closely tracks but is not the same as + // `hotRestartIteration` in DDC's runtime. + this.hotRestartGeneration = 0; + + // The current 'intended' hot restart generation. + // + // 0-indexed and increases by 1 on every successful hot restart. + // Unlike `hotRestartGeneration`, this is incremented when the intent to + // perform a hot restart is established. + // This is used to synchronize D8 timers and lookup files to load in + // each generation for hot restart testing. + this.intendedHotRestartGeneration = 0; + + // The current hot reload generation. + // + // 0-indexed and increases by 1 on every successful hot reload. + this.hotReloadGeneration = 0; + } + + // True if we are still processing scripts from the script queue. + // 'Processing' means the script is 1) currently being downloaded/parsed + // or 2) the script failed to download and is being retried. + scriptsActivelyBeingLoaded() { + return this.numToLoad > this.numLoaded + this.numFailed; + }; + + // Joins path segments from the root directory to [script]'s path to get a + // complete URL. + getScriptUrl(script) { + let pathSlash = this.loadConfig.isWindows ? "\\" : "/"; + // Get path segments for src + let splitSrc = script.src.toString().split(pathSlash); + let j = 0; + // Count number of relative path segments + while (splitSrc[j] == "..") { + j++; + } + // Get path segments for root directory + let splitDir = !this.loadConfig.root + || this.loadConfig.root == pathSlash ? [] + : this.loadConfig.root.split(pathSlash); + // Account for relative path from the root directory + let splitPath = splitDir + .slice(0, splitDir.length - j) + .concat(splitSrc.slice(j)); + // Join path segments to get a complete path + return splitPath.join(pathSlash); + }; + + // Adds [script] to the dartLoader's internals as if it had been loaded and + // returns its fully resolved source path. + // + // Should be called when scripts are loaded on the page externally from + // dartLoader's API. + registerScript(script) { + const src = this.getScriptUrl(script); + // TODO(markzipan): moduleIdToUrl and urlToModuleId may conflict in + // multi-app scenarios. Fix this by moving them into the DDCLoader. + self.$dartLoader.moduleIdToUrl.set(script.id, src); + self.$dartLoader.urlToModuleId.set(src, script.id); + return src; + }; + + // Adds [scripts] to [queue] according to validation function [allowScriptFn]. + // + // Scripts aren't loaded until loadEnqueuedModules is called. + addScriptsToQueue(scripts, allowScriptFn) { + for (let i = 0; i < scripts.length; i++) { + const script = scripts[i]; + + // Only load the bootstrap script after every other script has finished loading. + if (script.src == this.loadConfig.bootstrapScript.src) { + this.loadConfig.tryLoadBootstrapScript = true; + continue; + } + // Skip loading already-loaded scripts. + if (script.id == null || self.$dartLoader.moduleIdToUrl.has(script.id)) { + continue; + } + + // Register this script's resolved URL. + let resolvedSrc = this.registerScript(script); + + // Deferred scripts should be registered but not added during bootstrap. + if (self.$dartLoader.bootstrapModules !== void 0 && + !self.$dartLoader.bootstrapModules.has(script.id)) { + continue; + } + + if (!allowScriptFn || allowScriptFn(script)) { + this.queue.push({ id: script.id, src: resolvedSrc }); + } + } + + if (this.queue.length > 0) { + console.info( + `DDC is about to load ${this.queue.length}/${scripts.length} scripts with pool size = ${this.loadConfig.maxRequestPoolSize}`); + } + }; + + // Creates a script element to be loaded into the provided container. + createAndLoadScript(src, id, container, onError, onLoad) { + let el = self.dart_library.createScript(); + el.src = policy.createScriptURL(src); + el.async = false; + el.defer = true; + el.id = id; + el.onerror = onError; + el.onload = onLoad; + container.appendChild(el); + }; + + // Retrieves scripts from the loader queue, with at most [maxRequests] + // outgoing requests. + // + // TODO(markzipan): Rewrite this with a promise pool. + loadMore(maxRequests) { + let fragment = document.createDocumentFragment(); + let inflightRequests = 0; + while (this.queue.length > 0 && inflightRequests++ < maxRequests) { + const script = this.queue.shift(); + this.numToLoad++; + this.createAndLoadScript( + script.src.toString(), + script.id, + fragment, + this.onError.bind(this), + this.onLoad.bind(this) + ); + } + if (inflightRequests > 0) { + document.head.appendChild(fragment); + } else if (!this.scriptsActivelyBeingLoaded()) { + this.loadBootstrapJs(); + } + }; + + loadOneMore() { + if (this.queue.length > 0) { + this.loadMore(1); + } + }; + + // Loads modules when running with Chrome. + loadEnqueuedModules() { + this.loadMore(this.loadConfig.maxRequestPoolSize); + }; + + // Loads modules when running with d8. + loadEnqueuedModulesForD8() { + if (!self.dart_library.isD8) { + throw Error("'loadEnqueuedModulesForD8' is only supported in D8."); + } + // Load all enqueued scripts sequentially. + for (let i = 0; i < this.queue.length; i++) { + const script = this.queue[i]; + self.load(script.src.toString()); + } + this.queue.length = 0; + // Load the bootstrapper script if it wasn't already loaded. + if (this.loadConfig.tryLoadBootstrapScript) { + const script = this.loadConfig.bootstrapScript; + const src = this.registerScript(script); + self.load(src); + this.loadConfig.tryLoadBootstrapScript = false; + } + return; + }; + + // Loads just the bootstrap script. + // + // The bootstrapper is loaded only after all other scripts are loaded. + loadBootstrapJs() { + if (!this.loadConfig.tryLoadBootstrapScript) { + return; + } + const script = this.loadConfig.bootstrapScript; + const src = this.registerScript(script); + this.createAndLoadScript(src, script.id, document.head, null, null); + this.loadConfig.tryLoadBootstrapScript = false; + }; + + // Loads/retries compiled JS scripts. + // + // Should always be called after a script is loaded or errors. + processAfterLoadOrErrorEvent() { + if (this.scriptsActivelyBeingLoaded()) { + if (this.numFailed == 0) { + this.loadOneMore(); + } else if (this.attemptCount > this.maxAttempts) { + // Some scripts have failed to load. Continue loading the rest. + this.loadOneMore(); + } else { + // Some scripts have failed to load, but we can still make another + // load attempt. Wait for scheduled scripts to finish. + } + return; + } + + // Retry failed scripts to a limit, then load the bootstrap script. + if (this.numFailed == 0) { + this.loadBootstrapJs(); + return; + } + // Reload whatever failed if maxAttempts is not reached. + if (this.numFailed > 0) { + if (this.attemptCount <= this.loadConfig.maxAttempts) { + this.nextAttempt(); + } else { + console.error( + `Failed to load DDC scripts after ${this.loadConfig.maxAttempts} tries`); + this.loadConfig.onLoadError(); + this.loadBootstrapJs(); + } + } + }; + + onLoad(e) { + this.numLoaded++; + if (e.target.src == this.loadConfig.bootstrapScript.src) { + this.loadConfig.onBootstrapSuccess(); + } + this.processAfterLoadOrErrorEvent(); + }; + + onError(e) { + this.numFailed++; + const target = e.target; + self.$dartLoader.moduleIdToUrl.delete(target.id); + self.$dartLoader.urlToModuleId.delete(target.src); + self.deferred_loader.clearModule(target.id); + + if (target.src == this.loadConfig.bootstrapScript.src) { + this.loadConfig.onBootstrapError(); + } + this.processAfterLoadOrErrorEvent(); + }; + + // Initiates a hot reload. + // TODO(markzipan): This function is currently stubbed out for testing. + hotReload() { + this.hotReloadGeneration += 1; + } + + // Initiates a hot restart. + hotRestart() { + this.intendedHotRestartGeneration += 1; + self.dart_library.reload(); + } + }; + + let policy = { + createScriptURL: function (src) { return src; } + }; + + if (self.trustedTypes && self.trustedTypes.createPolicy) { + policy = self.trustedTypes.createPolicy("dartDdcModuleUrl", policy); + } + + self.$dartLoader.loadScripts = function (scripts, loader) { + loader.loadConfig.loadScriptFn = function (loader) { + loader.addScriptsToQueue(scripts, null); + loader.loadEnqueuedModules(); + }; + loader.nextAttempt(); + }; +})(); + +if (!self.deferred_loader) { + self.deferred_loader = { + // Module IDs already loaded on the page (e.g., during bootstrap or after + // loadLibrary is called). + loadedModules: new Set(), + // An import graph of all direct imports (not deferred). + moduleGraph: new Map(), + // Maps module IDs to their resolved urls. + moduleToUrl: new Map(), + // Module IDs mapped to their resolved or resolving promises. + moduleToPromise: new Map(), + // Deferred libraries on which 'loadLibrary' have already been called. + // Load Ids are a composite of the URI of originating load's library and + // the target library name. + loadIds: new Set(), + }; + + /** + * Must be called before 'main' to initialize the deferred loader. + * @param {!Map} moduleToUrlMapping + * @param {!Map>} moduleGraph non-deferred import graph + * @param {!Array} loadedModules moduled loaded during bootstrap + */ + self.deferred_loader.initDeferredLoader = function ( + moduleToUrlMapping, moduleGraph, loadedModules) { + self.deferred_loader.moduleToUrl = moduleToUrlMapping; + self.deferred_loader.moduleGraph = moduleGraph; + for (let i = 0; i < loadedModules.length; i++) { + let module = loadedModules[i]; + self.deferred_loader.loadedModules.add(module); + self.deferred_loader.moduleToPromise.set(module, Promise.resolve()); + } + }; + + /** + * Returns all modules downstream of [moduleId] that are visible + * (i.e., not deferred) and have not already been loaded. + * @param {string} moduleId + * @return {!Array} module IDs that must be loaded with [moduleId] + */ + let dependenciesToLoad = function (moduleId) { + let stack = [moduleId]; + let seen = new Set(); + while (stack.length > 0) { + let module = stack.pop(); + if (seen.has(module)) continue; + seen.add(module); + stack = stack.concat(self.deferred_loader.moduleGraph.get(module)); + } + let dependencies = []; + seen.forEach(module => { + if (self.deferred_loader.loadedModules.has(module)) return; + dependencies.push(module); + }); + return dependencies; + }; + + /** + * Loads [moduleUrl] onto this instance's DDC app's page, then invokes + * [onLoad]. + * @param {string} moduleUrl + * @param {function()} onLoad Callback after a successful load + */ + let loadScript = function (moduleUrl, onLoad) { + // A head element won't be created for D8, so just load synchronously. + if (self.dart_library.isD8) { + self.load(moduleUrl); + onLoad(); + return; + } + let script = dart_library.createScript(); + let policy = { + createScriptURL: function (src) { + return src; + } + }; + if (self.trustedTypes && self.trustedTypes.createPolicy) { + policy = self.trustedTypes.createPolicy('dartDdcModuleUrl', policy); + } + script.setAttribute('src', policy.createScriptURL(moduleUrl)); + script.async = false; + script.defer = true; + script.onload = onLoad; + self.document.head.appendChild(script); + }; + + /** + * Performs a deferred load, calling [onSuccess] or [onError] callbacks when + * the deferred load completes or fails, respectively. + * @param {string} loadId {library URI}:{resource name being loaded} + * @param {string} targetModule moduleId of the resource requested by [loadId] + * @param {function(function())} onSuccess callback after a successful load + * @param {function(!Error)} onError callback after a failed load + */ + self.deferred_loader.loadDeferred = function ( + loadId, targetModule, onSuccess, onError) { + // loadLibrary had already been called, and its module has already been + // loaded, so just complete the future. + if (self.deferred_loader.loadIds.has(loadId)) { + onSuccess(); + return; + } + + // The module's been loaded, so mark this import as loaded and finish. + if (self.deferred_loader.loadedModules.has(targetModule)) { + self.deferred_loader.loadIds.add(loadId); + onSuccess(); + return; + } + + // The import's module has not been loaded, so load it and its dependencies + // before completing the callback. + let modulesToLoad = dependenciesToLoad(targetModule); + Promise + .all(modulesToLoad.map(module => { + let url = self.deferred_loader.moduleToUrl.get(module); + if (url === void 0) { + console.log('Unable to find URL for module: ' + module); + return; + } + let promise = self.deferred_loader.moduleToPromise.get(module); + if (promise !== void 0) return promise; + self.deferred_loader.moduleToPromise.set( + module, + new Promise((resolve) => loadScript(url, () => { + self.deferred_loader.loadedModules.add(module); + resolve(); + }))); + return self.deferred_loader.moduleToPromise.get(module); + })) + .then(() => { + onSuccess(() => self.deferred_loader.loadIds.add(loadId)); + }) + .catch((error) => { + onError(error.message); + }); + }; + + /** + * Returns whether or not the module containing [loadId] has finished loading. + * @param {string} loadId library URI concatenated with the resource being + * loaded + * @return {boolean} + */ + self.deferred_loader.isLoaded = function (loadId) { + return self.deferred_loader.loadIds.has(loadId); + }; + + /** + * Removes references to [moduleId] in the deferred loader. + * @param {string} moduleId + * + * TODO(markzipan): Determine how deep we should clear moduleId's references. + */ + self.deferred_loader.clearModule = function (moduleId) { + self.deferred_loader.loadedModules.delete(moduleId); + self.deferred_loader.moduleToUrl.delete(moduleId); + self.deferred_loader.moduleToPromise.delete(moduleId); + }; + + /** + * Clears state required for hot restart. + */ + self.deferred_loader.hotRestart = function () { + self.deferred_loader.loadIds = new Set(); + }; +} diff --git a/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js deleted file mode 100644 index 57f180866..000000000 --- a/dev/packages/$sdk/dev_compiler/kernel/amd/dart_sdk.js +++ /dev/null @@ -1,149318 +0,0 @@ -// 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); - var _internal = Object.create(dart.library); - var _isolate_helper = Object.create(dart.library); - var _js_helper = Object.create(dart.library); - var _js_primitives = Object.create(dart.library); - var _metadata = Object.create(dart.library); - var _native_typed_data = Object.create(dart.library); - var async = Object.create(dart.library); - var collection = Object.create(dart.library); - var convert = Object.create(dart.library); - var developer = Object.create(dart.library); - var io = Object.create(dart.library); - var isolate$ = Object.create(dart.library); - var js = Object.create(dart.library); - var js_util = Object.create(dart.library); - var math = Object.create(dart.library); - var typed_data = Object.create(dart.library); - var indexed_db = Object.create(dart.library); - var html$ = Object.create(dart.library); - 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 core = Object.create(dart.library); - var _http = Object.create(dart.library); - var dartx = Object.create(dart.library); - const _privateNames = Symbol("_privateNames"); - dart.privateName = function(library, name) { - let names = library[_privateNames]; - if (names == null) names = library[_privateNames] = new Map(); - let symbol = names.get(name); - if (symbol == null) names.set(name, symbol = Symbol(name)); - return symbol; - }; - var $hashCode = dartx.hashCode = Symbol("dartx.hashCode"); - var $isNotEmpty = dartx.isNotEmpty = Symbol("dartx.isNotEmpty"); - var $where = dartx.where = Symbol("dartx.where"); - var $join = dartx.join = Symbol("dartx.join"); - 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"); - 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 $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); - var $map = dartx.map = Symbol("dartx.map"); - var $toList = dartx.toList = Symbol("dartx.toList"); - var $sublist = dartx.sublist = Symbol("dartx.sublist"); - var $substring = dartx.substring = Symbol("dartx.substring"); - var $split = dartx.split = Symbol("dartx.split"); - var $trim = dartx.trim = Symbol("dartx.trim"); - var $runtimeType = dartx.runtimeType = Symbol("dartx.runtimeType"); - var $containsKey = dartx.containsKey = Symbol("dartx.containsKey"); - 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 $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); - var $truncate = dartx.truncate = Symbol("dartx.truncate"); - var $toInt = dartx.toInt = Symbol("dartx.toInt"); - var $skip = dartx.skip = Symbol("dartx.skip"); - var $take = dartx.take = Symbol("dartx.take"); - var $asMap = dartx.asMap = Symbol("dartx.asMap"); - var $forEach = dartx.forEach = Symbol("dartx.forEach"); - var $elementAt = dartx.elementAt = Symbol("dartx.elementAt"); - var $last = dartx.last = Symbol("dartx.last"); - var $firstWhere = dartx.firstWhere = Symbol("dartx.firstWhere"); - var $replaceFirst = dartx.replaceFirst = Symbol("dartx.replaceFirst"); - var $startsWith = dartx.startsWith = Symbol("dartx.startsWith"); - var $compareTo = dartx.compareTo = Symbol("dartx.compareTo"); - var $sort = dartx.sort = Symbol("dartx.sort"); - var $putIfAbsent = dartx.putIfAbsent = Symbol("dartx.putIfAbsent"); - var $round = dartx.round = Symbol("dartx.round"); - var $bitAnd = dartx['&'] = Symbol("dartx.&"); - var $bitOr = dartx['|'] = Symbol("dartx.|"); - var $bitXor = dartx['^'] = Symbol("dartx.^"); - var $stackTrace = dartx.stackTrace = Symbol("dartx.stackTrace"); - var $invalidValue = dartx.invalidValue = Symbol("dartx.invalidValue"); - var $name = dartx.name = Symbol("dartx.name"); - var $message = dartx.message = Symbol("dartx.message"); - var $checkMutable = dartx.checkMutable = Symbol("dartx.checkMutable"); - var $checkGrowable = dartx.checkGrowable = Symbol("dartx.checkGrowable"); - var $removeAt = dartx.removeAt = Symbol("dartx.removeAt"); - var $insert = dartx.insert = Symbol("dartx.insert"); - var $setRange = dartx.setRange = Symbol("dartx.setRange"); - var $insertAll = dartx.insertAll = Symbol("dartx.insertAll"); - var $setAll = dartx.setAll = Symbol("dartx.setAll"); - var $removeLast = dartx.removeLast = Symbol("dartx.removeLast"); - var $removeWhere = dartx.removeWhere = Symbol("dartx.removeWhere"); - var $retainWhere = dartx.retainWhere = Symbol("dartx.retainWhere"); - var $expand = dartx.expand = Symbol("dartx.expand"); - var $takeWhile = dartx.takeWhile = Symbol("dartx.takeWhile"); - var $skipWhile = dartx.skipWhile = Symbol("dartx.skipWhile"); - var $reduce = dartx.reduce = Symbol("dartx.reduce"); - var $fold = dartx.fold = Symbol("dartx.fold"); - var $lastWhere = dartx.lastWhere = Symbol("dartx.lastWhere"); - var $singleWhere = dartx.singleWhere = Symbol("dartx.singleWhere"); - var $getRange = dartx.getRange = Symbol("dartx.getRange"); - var $first = dartx.first = Symbol("dartx.first"); - var $single = dartx.single = Symbol("dartx.single"); - var $removeRange = dartx.removeRange = Symbol("dartx.removeRange"); - var $fillRange = dartx.fillRange = Symbol("dartx.fillRange"); - var $replaceRange = dartx.replaceRange = Symbol("dartx.replaceRange"); - var $every = dartx.every = Symbol("dartx.every"); - var $reversed = dartx.reversed = Symbol("dartx.reversed"); - var $shuffle = dartx.shuffle = Symbol("dartx.shuffle"); - var $lastIndexOf = dartx.lastIndexOf = Symbol("dartx.lastIndexOf"); - var $toSet = dartx.toSet = Symbol("dartx.toSet"); - var $iterator = dartx.iterator = Symbol("dartx.iterator"); - var $followedBy = dartx.followedBy = Symbol("dartx.followedBy"); - var $whereType = dartx.whereType = Symbol("dartx.whereType"); - var $plus = dartx['+'] = Symbol("dartx.+"); - var $indexWhere = dartx.indexWhere = Symbol("dartx.indexWhere"); - var $lastIndexWhere = dartx.lastIndexWhere = Symbol("dartx.lastIndexWhere"); - var $isNegative = dartx.isNegative = Symbol("dartx.isNegative"); - var $isNaN = dartx.isNaN = Symbol("dartx.isNaN"); - var $isInfinite = dartx.isInfinite = Symbol("dartx.isInfinite"); - var $isFinite = dartx.isFinite = Symbol("dartx.isFinite"); - var $remainder = dartx.remainder = Symbol("dartx.remainder"); - var $abs = dartx.abs = Symbol("dartx.abs"); - var $sign = dartx.sign = Symbol("dartx.sign"); - var $truncateToDouble = dartx.truncateToDouble = Symbol("dartx.truncateToDouble"); - var $ceilToDouble = dartx.ceilToDouble = Symbol("dartx.ceilToDouble"); - var $ceil = dartx.ceil = Symbol("dartx.ceil"); - var $floorToDouble = dartx.floorToDouble = Symbol("dartx.floorToDouble"); - var $floor = dartx.floor = Symbol("dartx.floor"); - var $roundToDouble = dartx.roundToDouble = Symbol("dartx.roundToDouble"); - var $clamp = dartx.clamp = Symbol("dartx.clamp"); - var $toDouble = dartx.toDouble = Symbol("dartx.toDouble"); - var $toStringAsFixed = dartx.toStringAsFixed = Symbol("dartx.toStringAsFixed"); - var $toStringAsExponential = dartx.toStringAsExponential = Symbol("dartx.toStringAsExponential"); - var $toStringAsPrecision = dartx.toStringAsPrecision = Symbol("dartx.toStringAsPrecision"); - var $codeUnitAt = dartx.codeUnitAt = Symbol("dartx.codeUnitAt"); - var $toRadixString = dartx.toRadixString = Symbol("dartx.toRadixString"); - var $times = dartx['*'] = Symbol("dartx.*"); - var $_negate = dartx._negate = Symbol("dartx._negate"); - var $minus = dartx['-'] = Symbol("dartx.-"); - var $divide = dartx['/'] = Symbol("dartx./"); - var $modulo = dartx['%'] = Symbol("dartx.%"); - var $floorDivide = dartx['~/'] = Symbol("dartx.~/"); - var $leftShift = dartx['<<'] = Symbol("dartx.<<"); - var $rightShift = dartx['>>'] = Symbol("dartx.>>"); - var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); - var $lessThan = dartx['<'] = Symbol("dartx.<"); - var $greaterThan = dartx['>'] = Symbol("dartx.>"); - var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); - var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); - var $isEven = dartx.isEven = Symbol("dartx.isEven"); - var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); - var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); - var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); - var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); - var $modPow = dartx.modPow = Symbol("dartx.modPow"); - var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); - var $gcd = dartx.gcd = Symbol("dartx.gcd"); - var $bitNot = dartx['~'] = Symbol("dartx.~"); - var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); - var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); - var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); - var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); - var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); - var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); - var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); - var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); - var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); - var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); - var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); - var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); - var $padRight = dartx.padRight = Symbol("dartx.padRight"); - var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); - var $runes = dartx.runes = Symbol("dartx.runes"); - var $buffer = dartx.buffer = Symbol("dartx.buffer"); - 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"); - var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); - var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); - var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); - var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); - var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); - var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); - var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); - var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); - var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); - var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); - var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); - var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); - var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); - var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); - var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); - var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); - var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); - var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); - var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); - var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); - var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); - var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); - var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); - var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); - var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); - var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); - var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); - var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); - var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); - var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); - var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); - var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); - var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); - var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); - var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); - var $left = dartx.left = Symbol("dartx.left"); - var $width = dartx.width = Symbol("dartx.width"); - var $top = dartx.top = Symbol("dartx.top"); - var $height = dartx.height = Symbol("dartx.height"); - var $right = dartx.right = Symbol("dartx.right"); - var $bottom = dartx.bottom = Symbol("dartx.bottom"); - var $intersection = dartx.intersection = Symbol("dartx.intersection"); - var $intersects = dartx.intersects = Symbol("dartx.intersects"); - var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); - var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); - var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); - var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); - var $topRight = dartx.topRight = Symbol("dartx.topRight"); - var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); - var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); - var T$ = { - ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), - ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), - boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), - JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), - IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), - ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), - ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), - IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), - JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), - ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), - IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), - ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), - IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), - 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)))(), - TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), - JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), - intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), - JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), - _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), - IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), - dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), - dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), - dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), - ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), - StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), - VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), - StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), - NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), - LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), - dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), - dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), - IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), - StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), - VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), - 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)))(), - 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(), [])))(), - 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)))(), - VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), - boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), - voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), - _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), - 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(), [])))(), - 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()])))(), - ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), - EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), - doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), - VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), - VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), - VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), - JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), - StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), - JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), - SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), - EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), - ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), - MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), - IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), - IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), - intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), - ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), - _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)))(), - 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(), [])))(), - FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - 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()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), - ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), - ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), - TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), - ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), - ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), - ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), - MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), - MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), - ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - _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()])))(), - 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())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), - VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), - ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), - TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), - DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), - TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), - TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), - StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), - ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), - ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), - 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])))(), - 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)))(), - 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])))(), - StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), - IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), - SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), - StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), - StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), - SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), - intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), - 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])))(), - 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)))(), - 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())))(), - _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())))(), - 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])))(), - 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)))(), - ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), - FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - 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])))(), - RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), - 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())))(), - 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)))(), - 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])))(), - 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])))(), - ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), - FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), - FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - 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)))(), - 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])))(), - 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)))(), - ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), - RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), - RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), - ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), - ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), - ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), - 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)))(), - 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])))(), - RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), - ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), - ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), - CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), - StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), - CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), - 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)))(), - 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])))(), - ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), - PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), - RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), - EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), - EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), - VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), - EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), - FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), - CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), - EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), - FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), - ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), - CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), - EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), - ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), - JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), - NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), - CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), - ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), - MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), - MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), - ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), - MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), - WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), - _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), - EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), - TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), - _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), - MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), - EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), - ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), - EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), - KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), - EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), - TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), - EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), - EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), - ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), - EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), - MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), - EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), - PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), - 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)))(), - 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)))(), - EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), - DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), - CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), - MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), - ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), - CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), - ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), - 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)))(), - 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)))(), - CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), - FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), - CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), - FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), - FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), - 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)))(), - 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())))(), - HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), - StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), - CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), - ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), - CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), - FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), - ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), - ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), - MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), - MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), - EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), - MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), - JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), - ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), - ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), - boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), - CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), - MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), - NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), - IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), - NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), - PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), - ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), - ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), - RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), - EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), - JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), - CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), - RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), - MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), - EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), - RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), - EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), - RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), - EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), - RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), - EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), - UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), - IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), - OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), - JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), - ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), - EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), - SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), - EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), - SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), - EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), - SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), - EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), - _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), - _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), - _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), - TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), - EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), - CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), - EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), - CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), - numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), - IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), - CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), - FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), - DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), - EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), - DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), - 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())))(), - 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)))(), - ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), - _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), - CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), - boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), - StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), - SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), - SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), - IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), - 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)))(), - JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), - KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), - JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), - NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), - NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), - NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), - MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), - dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), - 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])))(), - 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)))(), - 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()])))(), - 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])))(), - 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()])))(), - MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), - StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), - 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])))(), - 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])))(), - Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), - HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), - StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), - VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), - StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), - 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())))() - }; - 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"), - $delete: dartx.delete = Symbol("dartx.delete"), - _update: dart.privateName(indexed_db, "_update"), - $next: dartx.next = Symbol("dartx.next"), - $direction: dartx.direction = Symbol("dartx.direction"), - $key: dartx.key = Symbol("dartx.key"), - $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), - $source: dartx.source = Symbol("dartx.source"), - $advance: dartx.advance = Symbol("dartx.advance"), - $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), - _update_1: dart.privateName(indexed_db, "_update_1"), - _get_value: dart.privateName(indexed_db, "_get_value"), - $value: dartx.value = Symbol("dartx.value"), - _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), - $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), - _transaction: dart.privateName(indexed_db, "_transaction"), - $transaction: dartx.transaction = Symbol("dartx.transaction"), - $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), - $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), - $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), - $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), - $version: dartx.version = Symbol("dartx.version"), - $close: dartx.close = Symbol("dartx.close"), - _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), - _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), - $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), - $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), - $onClose: dartx.onClose = Symbol("dartx.onClose"), - $onError: dartx.onError = Symbol("dartx.onError"), - $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), - $on: dartx.on = Symbol("dartx.on"), - _addEventListener: dart.privateName(html$, "_addEventListener"), - $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), - _removeEventListener: dart.privateName(html$, "_removeEventListener"), - $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), - $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), - EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), - _open: dart.privateName(indexed_db, "_open"), - $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), - $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), - $open: dartx.open = Symbol("dartx.open"), - _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), - $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), - $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), - $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), - $cmp: dartx.cmp = Symbol("dartx.cmp"), - _count$2: dart.privateName(indexed_db, "_count"), - $count: dartx.count = Symbol("dartx.count"), - _get: dart.privateName(indexed_db, "_get"), - $get: dartx.get = Symbol("dartx.get"), - _getKey: dart.privateName(indexed_db, "_getKey"), - $getKey: dartx.getKey = Symbol("dartx.getKey"), - _openCursor: dart.privateName(indexed_db, "_openCursor"), - $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), - _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), - $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), - $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), - $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), - $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), - $unique: dartx.unique = Symbol("dartx.unique"), - $getAll: dartx.getAll = Symbol("dartx.getAll"), - $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), - $lower: dartx.lower = Symbol("dartx.lower"), - $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), - $upper: dartx.upper = Symbol("dartx.upper"), - $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), - $includes: dartx.includes = Symbol("dartx.includes"), - _add$3: dart.privateName(indexed_db, "_add"), - _clear$2: dart.privateName(indexed_db, "_clear"), - _put: dart.privateName(indexed_db, "_put"), - $put: dartx.put = Symbol("dartx.put"), - $getObject: dartx.getObject = Symbol("dartx.getObject"), - _createIndex: dart.privateName(indexed_db, "_createIndex"), - $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), - $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), - $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), - _add_1: dart.privateName(indexed_db, "_add_1"), - _add_2: dart.privateName(indexed_db, "_add_2"), - _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), - _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), - $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), - $index: dartx.index = Symbol("dartx.index"), - _put_1: dart.privateName(indexed_db, "_put_1"), - _put_2: dart.privateName(indexed_db, "_put_2"), - $result: dartx.result = Symbol("dartx.result"), - $type: dartx.type = Symbol("dartx.type"), - _observe_1: dart.privateName(indexed_db, "_observe_1"), - $observe: dartx.observe = Symbol("dartx.observe"), - $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), - $database: dartx.database = Symbol("dartx.database"), - $records: dartx.records = Symbol("dartx.records"), - $error: dartx.error = Symbol("dartx.error"), - $readyState: dartx.readyState = Symbol("dartx.readyState"), - _get_result: dart.privateName(indexed_db, "_get_result"), - $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), - $completed: dartx.completed = Symbol("dartx.completed"), - $db: dartx.db = Symbol("dartx.db"), - $mode: dartx.mode = Symbol("dartx.mode"), - $abort: dartx.abort = Symbol("dartx.abort"), - $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), - $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), - $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), - $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), - $target: dartx.target = Symbol("dartx.target"), - _createEvent: dart.privateName(html$, "_createEvent"), - _initEvent: dart.privateName(html$, "_initEvent"), - _selector: dart.privateName(html$, "_selector"), - $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), - $matches: dartx.matches = Symbol("dartx.matches"), - $parent: dartx.parent = Symbol("dartx.parent"), - $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), - $path: dartx.path = Symbol("dartx.path"), - $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), - $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), - $composed: dartx.composed = Symbol("dartx.composed"), - _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), - $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), - $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), - $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), - _get_target: dart.privateName(html$, "_get_target"), - $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), - $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), - $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), - $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), - $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), - $nonce: dartx.nonce = Symbol("dartx.nonce"), - $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), - $nodes: dartx.nodes = Symbol("dartx.nodes"), - $attributes: dartx.attributes = Symbol("dartx.attributes"), - _getAttribute: dart.privateName(html$, "_getAttribute"), - $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), - _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), - $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), - _hasAttribute: dart.privateName(html$, "_hasAttribute"), - $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), - _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), - $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), - _removeAttribute: dart.privateName(html$, "_removeAttribute"), - $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), - _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), - $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), - _setAttribute: dart.privateName(html$, "_setAttribute"), - $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), - _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), - $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), - $children: dartx.children = Symbol("dartx.children"), - _children: dart.privateName(html$, "_children"), - _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), - $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), - _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), - $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), - _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), - $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), - $classes: dartx.classes = Symbol("dartx.classes"), - $dataset: dartx.dataset = Symbol("dartx.dataset"), - $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), - _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), - $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), - $client: dartx.client = Symbol("dartx.client"), - $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), - $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), - $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), - $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), - $offset: dartx.offset = Symbol("dartx.offset"), - $append: dartx.append = Symbol("dartx.append"), - $appendText: dartx.appendText = Symbol("dartx.appendText"), - $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), - $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), - $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), - $attached: dartx.attached = Symbol("dartx.attached"), - $leftView: dartx.leftView = Symbol("dartx.leftView"), - $detached: dartx.detached = Symbol("dartx.detached"), - _getClientRects: dart.privateName(html$, "_getClientRects"), - $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), - _animate: dart.privateName(html$, "_animate"), - $animate: dartx.animate = Symbol("dartx.animate"), - $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), - _localName: dart.privateName(html$, "_localName"), - $localName: dartx.localName = Symbol("dartx.localName"), - _namespaceUri: dart.privateName(html$, "_namespaceUri"), - $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), - _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), - _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), - _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), - $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), - _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), - _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), - $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), - $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), - $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), - $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), - $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), - $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), - $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), - $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), - $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), - $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), - $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), - $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), - $createElement: dartx.createElement = Symbol("dartx.createElement"), - $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), - $head: dartx.head = Symbol("dartx.head"), - _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), - _innerHtml: dart.privateName(html$, "_innerHtml"), - _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), - $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), - $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), - $text: dartx.text = Symbol("dartx.text"), - $innerText: dartx.innerText = Symbol("dartx.innerText"), - $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), - $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), - $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"), - $hidden: dartx.hidden = Symbol("dartx.hidden"), - $inert: dartx.inert = Symbol("dartx.inert"), - $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), - $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), - $lang: dartx.lang = Symbol("dartx.lang"), - $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), - $style: dartx.style = Symbol("dartx.style"), - $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), - $title: dartx.title = Symbol("dartx.title"), - $translate: dartx.translate = Symbol("dartx.translate"), - $blur: dartx.blur = Symbol("dartx.blur"), - $click: dartx.click = Symbol("dartx.click"), - $focus: dartx.focus = Symbol("dartx.focus"), - $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), - $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), - _attributes$1: dart.privateName(html$, "_attributes"), - $className: dartx.className = Symbol("dartx.className"), - $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), - $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), - $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), - $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), - $computedName: dartx.computedName = Symbol("dartx.computedName"), - $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), - $id: dartx.id = Symbol("dartx.id"), - $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), - _scrollHeight: dart.privateName(html$, "_scrollHeight"), - _scrollLeft: dart.privateName(html$, "_scrollLeft"), - _scrollTop: dart.privateName(html$, "_scrollTop"), - _scrollWidth: dart.privateName(html$, "_scrollWidth"), - $slot: dartx.slot = Symbol("dartx.slot"), - $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), - $tagName: dartx.tagName = Symbol("dartx.tagName"), - _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), - $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), - $closest: dartx.closest = Symbol("dartx.closest"), - $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), - $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), - $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), - $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), - $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), - _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), - $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), - $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), - $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), - _scroll_1: dart.privateName(html$, "_scroll_1"), - _scroll_2: dart.privateName(html$, "_scroll_2"), - _scroll_3: dart.privateName(html$, "_scroll_3"), - $scroll: dartx.scroll = Symbol("dartx.scroll"), - _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), - _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"), - $after: dartx.after = Symbol("dartx.after"), - $before: dartx.before = Symbol("dartx.before"), - $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), - $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), - _childElementCount: dart.privateName(html$, "_childElementCount"), - _firstElementChild: dart.privateName(html$, "_firstElementChild"), - _lastElementChild: dart.privateName(html$, "_lastElementChild"), - $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), - $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), - $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), - $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), - $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), - $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), - $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), - $onChange: dartx.onChange = Symbol("dartx.onChange"), - $onClick: dartx.onClick = Symbol("dartx.onClick"), - $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), - $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), - $onCut: dartx.onCut = Symbol("dartx.onCut"), - $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), - $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), - $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), - $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), - $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), - $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), - $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), - $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), - $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), - $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), - $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), - $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), - $onInput: dartx.onInput = Symbol("dartx.onInput"), - $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), - $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), - $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), - $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), - $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), - $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), - $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $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"), - $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), - $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), - $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), - $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), - $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), - $onPause: dartx.onPause = Symbol("dartx.onPause"), - $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), - $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), - $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), - $onReset: dartx.onReset = Symbol("dartx.onReset"), - $onResize: dartx.onResize = Symbol("dartx.onResize"), - $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), - $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), - $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), - $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), - $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), - $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), - $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), - $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), - $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), - $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), - $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), - $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), - $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), - $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), - $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), - $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), - $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), - $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), - $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), - $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), - $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), - _removeChild: dart.privateName(html$, "_removeChild"), - _replaceChild: dart.privateName(html$, "_replaceChild"), - $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), - _this: dart.privateName(html$, "_this"), - $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), - _clearChildren: dart.privateName(html$, "_clearChildren"), - $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), - $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), - $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), - $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), - $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), - $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), - $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), - $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), - $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), - $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), - $clone: dartx.clone = Symbol("dartx.clone"), - _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), - _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), - $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), - $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), - $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), - _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), - $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), - $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), - $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), - $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), - $activated: dartx.activated = Symbol("dartx.activated"), - $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), - $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), - $start: dartx.start = Symbol("dartx.start"), - $stop: dartx.stop = Symbol("dartx.stop"), - $x: dartx.x = Symbol("dartx.x"), - $y: dartx.y = Symbol("dartx.y"), - $z: dartx.z = Symbol("dartx.z"), - $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), - $atomic: dartx.atomic = Symbol("dartx.atomic"), - $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), - $busy: dartx.busy = Symbol("dartx.busy"), - $checked: dartx.checked = Symbol("dartx.checked"), - $colCount: dartx.colCount = Symbol("dartx.colCount"), - $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), - $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), - $controls: dartx.controls = Symbol("dartx.controls"), - $current: dartx.current = Symbol("dartx.current"), - $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), - $details: dartx.details = Symbol("dartx.details"), - $disabled: dartx.disabled = Symbol("dartx.disabled"), - $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), - $expanded: dartx.expanded = Symbol("dartx.expanded"), - $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), - $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), - $invalid: dartx.invalid = Symbol("dartx.invalid"), - $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), - $label: dartx.label = Symbol("dartx.label"), - $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), - $level: dartx.level = Symbol("dartx.level"), - $live: dartx.live = Symbol("dartx.live"), - $modal: dartx.modal = Symbol("dartx.modal"), - $multiline: dartx.multiline = Symbol("dartx.multiline"), - $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), - $orientation: dartx.orientation = Symbol("dartx.orientation"), - $owns: dartx.owns = Symbol("dartx.owns"), - $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), - $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), - $pressed: dartx.pressed = Symbol("dartx.pressed"), - $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), - $relevant: dartx.relevant = Symbol("dartx.relevant"), - $required: dartx.required = Symbol("dartx.required"), - $role: dartx.role = Symbol("dartx.role"), - $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), - $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), - $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), - $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), - $selected: dartx.selected = Symbol("dartx.selected"), - $setSize: dartx.setSize = Symbol("dartx.setSize"), - $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), - $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), - $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), - $valueText: dartx.valueText = Symbol("dartx.valueText"), - $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), - $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), - $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), - $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), - $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), - $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), - $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), - __setter__: dart.privateName(html$, "__setter__"), - $item: dartx.item = Symbol("dartx.item"), - $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), - $download: dartx.download = Symbol("dartx.download"), - $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), - $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), - $rel: dartx.rel = Symbol("dartx.rel"), - $hash: dartx.hash = Symbol("dartx.hash"), - $host: dartx.host = Symbol("dartx.host"), - $hostname: dartx.hostname = Symbol("dartx.hostname"), - $href: dartx.href = Symbol("dartx.href"), - $origin: dartx.origin = Symbol("dartx.origin"), - $password: dartx.password = Symbol("dartx.password"), - $pathname: dartx.pathname = Symbol("dartx.pathname"), - $port: dartx.port = Symbol("dartx.port"), - $protocol: dartx.protocol = Symbol("dartx.protocol"), - $search: dartx.search = Symbol("dartx.search"), - $username: dartx.username = Symbol("dartx.username"), - $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), - $effect: dartx.effect = Symbol("dartx.effect"), - $finished: dartx.finished = Symbol("dartx.finished"), - $playState: dartx.playState = Symbol("dartx.playState"), - $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), - $ready: dartx.ready = Symbol("dartx.ready"), - $startTime: dartx.startTime = Symbol("dartx.startTime"), - $timeline: dartx.timeline = Symbol("dartx.timeline"), - $cancel: dartx.cancel = Symbol("dartx.cancel"), - $finish: dartx.finish = Symbol("dartx.finish"), - $pause: dartx.pause = Symbol("dartx.pause"), - $play: dartx.play = Symbol("dartx.play"), - $reverse: dartx.reverse = Symbol("dartx.reverse"), - $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), - $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), - $timing: dartx.timing = Symbol("dartx.timing"), - _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), - $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), - $delay: dartx.delay = Symbol("dartx.delay"), - $duration: dartx.duration = Symbol("dartx.duration"), - $easing: dartx.easing = Symbol("dartx.easing"), - $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), - $fill: dartx.fill = Symbol("dartx.fill"), - $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), - $iterations: dartx.iterations = Symbol("dartx.iterations"), - $animationName: dartx.animationName = Symbol("dartx.animationName"), - $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), - $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), - $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), - $status: dartx.status = Symbol("dartx.status"), - $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), - $onCached: dartx.onCached = Symbol("dartx.onCached"), - $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), - $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), - $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), - $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), - $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), - $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), - $reason: dartx.reason = Symbol("dartx.reason"), - $url: dartx.url = Symbol("dartx.url"), - $alt: dartx.alt = Symbol("dartx.alt"), - $coords: dartx.coords = Symbol("dartx.coords"), - $shape: dartx.shape = Symbol("dartx.shape"), - $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), - $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), - $buffered: dartx.buffered = Symbol("dartx.buffered"), - $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), - $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), - $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), - $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), - $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), - $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), - $ended: dartx.ended = Symbol("dartx.ended"), - $loop: dartx.loop = Symbol("dartx.loop"), - $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), - $muted: dartx.muted = Symbol("dartx.muted"), - $networkState: dartx.networkState = Symbol("dartx.networkState"), - $paused: dartx.paused = Symbol("dartx.paused"), - $played: dartx.played = Symbol("dartx.played"), - $preload: dartx.preload = Symbol("dartx.preload"), - $remote: dartx.remote = Symbol("dartx.remote"), - $seekable: dartx.seekable = Symbol("dartx.seekable"), - $seeking: dartx.seeking = Symbol("dartx.seeking"), - $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), - $src: dartx.src = Symbol("dartx.src"), - $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), - $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), - $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), - $volume: dartx.volume = Symbol("dartx.volume"), - $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), - $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), - $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), - $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), - $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), - $load: dartx.load = Symbol("dartx.load"), - $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), - $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), - $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), - $signature: dartx.signature = Symbol("dartx.signature"), - $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), - $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), - $state: dartx.state = Symbol("dartx.state"), - $fetches: dartx.fetches = Symbol("dartx.fetches"), - $request: dartx.request = Symbol("dartx.request"), - $fetch: dartx.fetch = Symbol("dartx.fetch"), - $getIds: dartx.getIds = Symbol("dartx.getIds"), - $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), - $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), - $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), - $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), - $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), - $response: dartx.response = Symbol("dartx.response"), - $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), - $visible: dartx.visible = Symbol("dartx.visible"), - $detect: dartx.detect = Symbol("dartx.detect"), - $charging: dartx.charging = Symbol("dartx.charging"), - $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), - $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), - $platforms: dartx.platforms = Symbol("dartx.platforms"), - $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), - $prompt: dartx.prompt = Symbol("dartx.prompt"), - $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), - $size: dartx.size = Symbol("dartx.size"), - $slice: dartx.slice = Symbol("dartx.slice"), - $data: dartx.data = Symbol("dartx.data"), - $timecode: dartx.timecode = Symbol("dartx.timecode"), - $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), - $uuid: dartx.uuid = Symbol("dartx.uuid"), - $readValue: dartx.readValue = Symbol("dartx.readValue"), - $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), - $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), - $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), - $blob: dartx.blob = Symbol("dartx.blob"), - $formData: dartx.formData = Symbol("dartx.formData"), - $json: dartx.json = Symbol("dartx.json"), - $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), - $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), - $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), - $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), - $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), - $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), - $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), - $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), - $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), - $time: dartx.time = Symbol("dartx.time"), - $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), - $form: dartx.form = Symbol("dartx.form"), - $formAction: dartx.formAction = Symbol("dartx.formAction"), - $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), - $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), - $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), - $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), - $labels: dartx.labels = Symbol("dartx.labels"), - $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), - $validity: dartx.validity = Symbol("dartx.validity"), - $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), - $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), - $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), - $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), - $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), - $splitText: dartx.splitText = Symbol("dartx.splitText"), - $appendData: dartx.appendData = Symbol("dartx.appendData"), - $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), - $insertData: dartx.insertData = Symbol("dartx.insertData"), - $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), - $substringData: dartx.substringData = Symbol("dartx.substringData"), - $has: dartx.has = Symbol("dartx.has"), - $match: dartx.match = Symbol("dartx.match"), - $methodData: dartx.methodData = Symbol("dartx.methodData"), - $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), - $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), - $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), - $canvas: dartx.canvas = Symbol("dartx.canvas"), - $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), - $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), - $enabled: dartx.enabled = Symbol("dartx.enabled"), - $kind: dartx.kind = Symbol("dartx.kind"), - $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), - _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), - $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), - _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), - $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), - _getSettings_1: dart.privateName(html$, "_getSettings_1"), - $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), - $onMute: dartx.onMute = Symbol("dartx.onMute"), - $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), - _getContext_1: dart.privateName(html$, "_getContext_1"), - _getContext_2: dart.privateName(html$, "_getContext_2"), - $getContext: dartx.getContext = Symbol("dartx.getContext"), - _toDataUrl: dart.privateName(html$, "_toDataUrl"), - $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), - $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), - $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), - $context2D: dartx.context2D = Symbol("dartx.context2D"), - $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), - $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), - _toBlob: dart.privateName(html$, "_toBlob"), - $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), - $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), - $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), - $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), - $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), - $filter: dartx.filter = Symbol("dartx.filter"), - $font: dartx.font = Symbol("dartx.font"), - $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), - $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), - $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), - $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), - $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), - $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), - $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), - $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), - $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), - $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), - $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), - $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), - $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), - $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), - $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), - _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), - _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), - $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), - $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), - $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), - $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), - $clip: dartx.clip = Symbol("dartx.clip"), - _createImageData_1: dart.privateName(html$, "_createImageData_1"), - _createImageData_2: dart.privateName(html$, "_createImageData_2"), - _createImageData_3: dart.privateName(html$, "_createImageData_3"), - _createImageData_4: dart.privateName(html$, "_createImageData_4"), - _createImageData_5: dart.privateName(html$, "_createImageData_5"), - $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), - $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), - $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), - $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), - $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), - $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), - _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), - $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), - _getImageData_1: dart.privateName(html$, "_getImageData_1"), - $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), - _getLineDash: dart.privateName(html$, "_getLineDash"), - $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), - $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), - $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), - $measureText: dartx.measureText = Symbol("dartx.measureText"), - _putImageData_1: dart.privateName(html$, "_putImageData_1"), - _putImageData_2: dart.privateName(html$, "_putImageData_2"), - $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), - $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), - $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), - $restore: dartx.restore = Symbol("dartx.restore"), - $rotate: dartx.rotate = Symbol("dartx.rotate"), - $save: dartx.save = Symbol("dartx.save"), - $scale: dartx.scale = Symbol("dartx.scale"), - $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), - $stroke: dartx.stroke = Symbol("dartx.stroke"), - $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), - $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), - $transform: dartx.transform = Symbol("dartx.transform"), - _arc: dart.privateName(html$, "_arc"), - $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), - $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), - $closePath: dartx.closePath = Symbol("dartx.closePath"), - $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), - $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), - $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), - $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), - $rect: dartx.rect = Symbol("dartx.rect"), - $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), - $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), - $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), - $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), - $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), - $arc: dartx.arc = Symbol("dartx.arc"), - $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), - $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), - $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), - $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), - $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), - $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), - $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), - $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), - $fillText: dartx.fillText = Symbol("dartx.fillText"), - $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), - $frameType: dartx.frameType = Symbol("dartx.frameType"), - $claim: dartx.claim = Symbol("dartx.claim"), - $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), - $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), - $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), - $code: dartx.code = Symbol("dartx.code"), - $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), - _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), - _initUIEvent: dart.privateName(html$, "_initUIEvent"), - $detail: dartx.detail = Symbol("dartx.detail"), - $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), - _get_view: dart.privateName(html$, "_get_view"), - $view: dartx.view = Symbol("dartx.view"), - _which: dart.privateName(html$, "_which"), - $select: dartx.select = Symbol("dartx.select"), - $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), - $set: dartx.set = Symbol("dartx.set"), - $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), - $altitude: dartx.altitude = Symbol("dartx.altitude"), - $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), - $heading: dartx.heading = Symbol("dartx.heading"), - $latitude: dartx.latitude = Symbol("dartx.latitude"), - $longitude: dartx.longitude = Symbol("dartx.longitude"), - $speed: dartx.speed = Symbol("dartx.speed"), - $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), - $create: dartx.create = Symbol("dartx.create"), - $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), - $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), - $store: dartx.store = Symbol("dartx.store"), - _getRandomValues: dart.privateName(html$, "_getRandomValues"), - $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), - $subtle: dartx.subtle = Symbol("dartx.subtle"), - $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), - $extractable: dartx.extractable = Symbol("dartx.extractable"), - $usages: dartx.usages = Symbol("dartx.usages"), - $encoding: dartx.encoding = Symbol("dartx.encoding"), - $cssText: dartx.cssText = Symbol("dartx.cssText"), - $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), - $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), - $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), - $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), - $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), - $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), - $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), - $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), - $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), - $media: dartx.media = Symbol("dartx.media"), - $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), - $keyText: dartx.keyText = Symbol("dartx.keyText"), - __getter__: dart.privateName(html$, "__getter__"), - $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), - $findRule: dartx.findRule = Symbol("dartx.findRule"), - $matrix: dartx.matrix = Symbol("dartx.matrix"), - $is2D: dartx.is2D = Symbol("dartx.is2D"), - $prefix: dartx.prefix = Symbol("dartx.prefix"), - $div: dartx.div = Symbol("dartx.div"), - $mul: dartx.mul = Symbol("dartx.mul"), - $sub: dartx.sub = Symbol("dartx.sub"), - $to: dartx.to = Symbol("dartx.to"), - $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), - $angle: dartx.angle = Symbol("dartx.angle"), - $ax: dartx.ax = Symbol("dartx.ax"), - $ay: dartx.ay = Symbol("dartx.ay"), - _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), - $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), - _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), - _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), - _supportsProperty: dart.privateName(html$, "_supportsProperty"), - $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), - _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), - $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), - _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), - $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), - $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), - $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), - _background: dart.privateName(html$, "_background"), - $background: dartx.background = Symbol("dartx.background"), - _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), - $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), - _backgroundColor: dart.privateName(html$, "_backgroundColor"), - $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), - _backgroundImage: dart.privateName(html$, "_backgroundImage"), - $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), - _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), - $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), - _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), - $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), - _border: dart.privateName(html$, "_border"), - $border: dartx.border = Symbol("dartx.border"), - _borderBottom: dart.privateName(html$, "_borderBottom"), - $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), - _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), - $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _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"), - _borderCollapse: dart.privateName(html$, "_borderCollapse"), - $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), - _borderColor: dart.privateName(html$, "_borderColor"), - $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), - _borderLeft: dart.privateName(html$, "_borderLeft"), - $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), - _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), - $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), - _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), - $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), - _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), - $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), - _borderRight: dart.privateName(html$, "_borderRight"), - $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), - _borderRightColor: dart.privateName(html$, "_borderRightColor"), - $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), - _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), - $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), - $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), - _borderSpacing: dart.privateName(html$, "_borderSpacing"), - $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), - _borderStyle: dart.privateName(html$, "_borderStyle"), - $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), - _borderTop: dart.privateName(html$, "_borderTop"), - $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), - _borderTopColor: dart.privateName(html$, "_borderTopColor"), - $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), - _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), - $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), - _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), - $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), - _borderWidth: dart.privateName(html$, "_borderWidth"), - $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), - _bottom: dart.privateName(html$, "_bottom"), - _captionSide: dart.privateName(html$, "_captionSide"), - $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), - _clear$3: dart.privateName(html$, "_clear"), - _clip: dart.privateName(html$, "_clip"), - _color: dart.privateName(html$, "_color"), - $color: dartx.color = Symbol("dartx.color"), - _content: dart.privateName(html$, "_content"), - $content: dartx.content = Symbol("dartx.content"), - _cursor: dart.privateName(html$, "_cursor"), - $cursor: dartx.cursor = Symbol("dartx.cursor"), - _direction: dart.privateName(html$, "_direction"), - _display: dart.privateName(html$, "_display"), - $display: dartx.display = Symbol("dartx.display"), - _emptyCells: dart.privateName(html$, "_emptyCells"), - $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), - _font: dart.privateName(html$, "_font"), - _fontFamily: dart.privateName(html$, "_fontFamily"), - $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), - _fontSize: dart.privateName(html$, "_fontSize"), - $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), - _fontStyle: dart.privateName(html$, "_fontStyle"), - $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), - _fontVariant: dart.privateName(html$, "_fontVariant"), - $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), - _fontWeight: dart.privateName(html$, "_fontWeight"), - $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), - _height$1: dart.privateName(html$, "_height"), - _left$2: dart.privateName(html$, "_left"), - _letterSpacing: dart.privateName(html$, "_letterSpacing"), - $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), - _lineHeight: dart.privateName(html$, "_lineHeight"), - $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), - _listStyle: dart.privateName(html$, "_listStyle"), - $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), - _listStyleImage: dart.privateName(html$, "_listStyleImage"), - $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), - _listStylePosition: dart.privateName(html$, "_listStylePosition"), - $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), - _listStyleType: dart.privateName(html$, "_listStyleType"), - $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), - _margin: dart.privateName(html$, "_margin"), - $margin: dartx.margin = Symbol("dartx.margin"), - _marginBottom: dart.privateName(html$, "_marginBottom"), - $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), - _marginLeft: dart.privateName(html$, "_marginLeft"), - $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), - _marginRight: dart.privateName(html$, "_marginRight"), - $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), - _marginTop: dart.privateName(html$, "_marginTop"), - $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), - _maxHeight: dart.privateName(html$, "_maxHeight"), - $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), - _maxWidth: dart.privateName(html$, "_maxWidth"), - $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), - _minHeight: dart.privateName(html$, "_minHeight"), - $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), - _minWidth: dart.privateName(html$, "_minWidth"), - $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), - _outline: dart.privateName(html$, "_outline"), - $outline: dartx.outline = Symbol("dartx.outline"), - _outlineColor: dart.privateName(html$, "_outlineColor"), - $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), - _outlineStyle: dart.privateName(html$, "_outlineStyle"), - $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), - _outlineWidth: dart.privateName(html$, "_outlineWidth"), - $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), - _overflow: dart.privateName(html$, "_overflow"), - $overflow: dartx.overflow = Symbol("dartx.overflow"), - _padding: dart.privateName(html$, "_padding"), - $padding: dartx.padding = Symbol("dartx.padding"), - _paddingBottom: dart.privateName(html$, "_paddingBottom"), - $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), - _paddingLeft: dart.privateName(html$, "_paddingLeft"), - $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), - _paddingRight: dart.privateName(html$, "_paddingRight"), - $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), - _paddingTop: dart.privateName(html$, "_paddingTop"), - $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), - _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), - $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), - _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), - $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), - _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), - $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), - _position$2: dart.privateName(html$, "_position"), - $position: dartx.position = Symbol("dartx.position"), - _quotes: dart.privateName(html$, "_quotes"), - $quotes: dartx.quotes = Symbol("dartx.quotes"), - _right$2: dart.privateName(html$, "_right"), - _tableLayout: dart.privateName(html$, "_tableLayout"), - $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), - _textAlign: dart.privateName(html$, "_textAlign"), - _textDecoration: dart.privateName(html$, "_textDecoration"), - $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), - _textIndent: dart.privateName(html$, "_textIndent"), - $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), - _textTransform: dart.privateName(html$, "_textTransform"), - $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), - _top: dart.privateName(html$, "_top"), - _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), - $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), - _verticalAlign: dart.privateName(html$, "_verticalAlign"), - $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), - _visibility: dart.privateName(html$, "_visibility"), - $visibility: dartx.visibility = Symbol("dartx.visibility"), - _whiteSpace: dart.privateName(html$, "_whiteSpace"), - $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), - _width$1: dart.privateName(html$, "_width"), - _wordSpacing: dart.privateName(html$, "_wordSpacing"), - $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), - _zIndex: dart.privateName(html$, "_zIndex"), - $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), - $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), - $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), - $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), - $animation: dartx.animation = Symbol("dartx.animation"), - $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), - $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), - $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), - $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), - $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), - $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), - $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), - $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), - $appearance: dartx.appearance = Symbol("dartx.appearance"), - $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), - $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), - $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), - $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), - $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), - $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), - $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), - $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), - $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), - $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), - $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), - $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), - $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), - $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), - $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), - $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), - $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), - $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), - $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), - $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), - $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), - $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), - $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), - $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), - $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), - $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), - $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), - $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), - $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), - $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), - $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), - $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), - $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), - $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), - $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), - $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), - $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), - $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), - $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), - $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), - $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), - $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), - $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), - $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), - $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), - $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), - $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), - $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), - $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), - $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), - $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), - $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), - $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), - $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), - $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), - $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), - $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), - $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), - $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), - $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), - $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), - $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), - $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), - $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), - $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), - $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), - $columns: dartx.columns = Symbol("dartx.columns"), - $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), - $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), - $flex: dartx.flex = Symbol("dartx.flex"), - $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), - $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), - $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), - $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), - $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), - $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), - $float: dartx.float = Symbol("dartx.float"), - $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), - $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), - $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), - $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"), - $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), - $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), - $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), - $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), - $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), - $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), - $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), - $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), - $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), - $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), - $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), - $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), - $highlight: dartx.highlight = Symbol("dartx.highlight"), - $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), - $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), - $isolation: dartx.isolation = Symbol("dartx.isolation"), - $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), - $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), - $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), - $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), - $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), - $locale: dartx.locale = Symbol("dartx.locale"), - $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), - $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), - $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), - $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), - $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), - $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), - $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), - $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), - $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), - $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), - $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), - $mask: dartx.mask = Symbol("dartx.mask"), - $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), - $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), - $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), - $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), - $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), - $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), - $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), - $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), - $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), - $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), - $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), - $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), - $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), - $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), - $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), - $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), - $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), - $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), - $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), - $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), - $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), - $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), - $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), - $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), - $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), - $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), - $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), - $opacity: dartx.opacity = Symbol("dartx.opacity"), - $order: dartx.order = Symbol("dartx.order"), - $orphans: dartx.orphans = Symbol("dartx.orphans"), - $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), - $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), - $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), - $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), - $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), - $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), - $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), - $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), - $page: dartx.page = Symbol("dartx.page"), - $perspective: dartx.perspective = Symbol("dartx.perspective"), - $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), - $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), - $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), - $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"), - $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), - $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), - $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), - $speak: dartx.speak = Symbol("dartx.speak"), - $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), - $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), - $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), - $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), - $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), - $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), - $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), - $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), - $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), - $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), - $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), - $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), - $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), - $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), - $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), - $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), - $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), - $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), - $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), - $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), - $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), - $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), - $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), - $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), - $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), - $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), - $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), - $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), - $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), - $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), - $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), - $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), - $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), - $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), - $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), - $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), - $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), - $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), - $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), - $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), - $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), - $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), - $transition: dartx.transition = Symbol("dartx.transition"), - $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), - $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), - $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), - $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), - $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), - $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), - $userModify: dartx.userModify = Symbol("dartx.userModify"), - $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), - $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), - $widows: dartx.widows = Symbol("dartx.widows"), - $willChange: dartx.willChange = Symbol("dartx.willChange"), - $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), - $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), - $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), - $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), - $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), - $zoom: dartx.zoom = Symbol("dartx.zoom"), - _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"), - $addRule: dartx.addRule = Symbol("dartx.addRule"), - $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), - $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), - $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), - $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), - $unit: dartx.unit = Symbol("dartx.unit"), - $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), - $fallback: dartx.fallback = Symbol("dartx.fallback"), - $variable: dartx.variable = Symbol("dartx.variable"), - _define_1: dart.privateName(html$, "_define_1"), - _define_2: dart.privateName(html$, "_define_2"), - $define: dartx.define = Symbol("dartx.define"), - $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), - _dartDetail: dart.privateName(html$, "_dartDetail"), - _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), - _detail: dart.privateName(html$, "_detail"), - _get__detail: dart.privateName(html$, "_get__detail"), - $options: dartx.options = Symbol("dartx.options"), - $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), - $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), - $files: dartx.files = Symbol("dartx.files"), - $items: dartx.items = Symbol("dartx.items"), - $types: dartx.types = Symbol("dartx.types"), - $clearData: dartx.clearData = Symbol("dartx.clearData"), - $getData: dartx.getData = Symbol("dartx.getData"), - $setData: dartx.setData = Symbol("dartx.setData"), - $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), - _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), - $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), - $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), - $addData: dartx.addData = Symbol("dartx.addData"), - $addFile: dartx.addFile = Symbol("dartx.addFile"), - _postMessage_1: dart.privateName(html$, "_postMessage_1"), - _postMessage_2: dart.privateName(html$, "_postMessage_2"), - _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), - $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), - $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), - _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), - $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), - $caches: dartx.caches = Symbol("dartx.caches"), - $crypto: dartx.crypto = Symbol("dartx.crypto"), - $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), - $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), - $location: dartx.location = Symbol("dartx.location"), - $navigator: dartx.navigator = Symbol("dartx.navigator"), - $performance: dartx.performance = Symbol("dartx.performance"), - $self: dartx.self = Symbol("dartx.self"), - $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), - $atob: dartx.atob = Symbol("dartx.atob"), - $btoa: dartx.btoa = Symbol("dartx.btoa"), - _setInterval_String: dart.privateName(html$, "_setInterval_String"), - _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), - _clearInterval: dart.privateName(html$, "_clearInterval"), - _clearTimeout: dart.privateName(html$, "_clearTimeout"), - _setInterval: dart.privateName(html$, "_setInterval"), - _setTimeout: dart.privateName(html$, "_setTimeout"), - $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), - $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), - $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), - $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), - $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), - $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), - $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), - $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), - $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), - $interval: dartx.interval = Symbol("dartx.interval"), - $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), - $absolute: dartx.absolute = Symbol("dartx.absolute"), - $alpha: dartx.alpha = Symbol("dartx.alpha"), - $beta: dartx.beta = Symbol("dartx.beta"), - $gamma: dartx.gamma = Symbol("dartx.gamma"), - $show: dartx.show = Symbol("dartx.show"), - $showModal: dartx.showModal = Symbol("dartx.showModal"), - _getDirectory: dart.privateName(html$, "_getDirectory"), - $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), - _createReader: dart.privateName(html$, "_createReader"), - $createReader: dartx.createReader = Symbol("dartx.createReader"), - $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), - _getFile: dart.privateName(html$, "_getFile"), - $createFile: dartx.createFile = Symbol("dartx.createFile"), - $getFile: dartx.getFile = Symbol("dartx.getFile"), - __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), - __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), - __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), - __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), - __getDirectory: dart.privateName(html$, "__getDirectory"), - __getFile_1: dart.privateName(html$, "__getFile_1"), - __getFile_2: dart.privateName(html$, "__getFile_2"), - __getFile_3: dart.privateName(html$, "__getFile_3"), - __getFile_4: dart.privateName(html$, "__getFile_4"), - __getFile: dart.privateName(html$, "__getFile"), - _removeRecursively: dart.privateName(html$, "_removeRecursively"), - $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), - $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), - $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), - $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $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"), - $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), - _getParent: dart.privateName(html$, "_getParent"), - $getParent: dartx.getParent = Symbol("dartx.getParent"), - _moveTo: dart.privateName(html$, "_moveTo"), - _remove$1: dart.privateName(html$, "_remove"), - $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), - _readEntries: dart.privateName(html$, "_readEntries"), - $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), - _body: dart.privateName(html$, "_body"), - $contentType: dartx.contentType = Symbol("dartx.contentType"), - $cookie: dartx.cookie = Symbol("dartx.cookie"), - $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), - _get_window: dart.privateName(html$, "_get_window"), - $window: dartx.window = Symbol("dartx.window"), - $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), - $domain: dartx.domain = Symbol("dartx.domain"), - $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), - _head$1: dart.privateName(html$, "_head"), - $implementation: dartx.implementation = Symbol("dartx.implementation"), - _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), - _referrer: dart.privateName(html$, "_referrer"), - $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), - $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), - $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), - _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), - $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), - _title: dart.privateName(html$, "_title"), - _visibilityState: dart.privateName(html$, "_visibilityState"), - _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), - _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), - _webkitHidden: dart.privateName(html$, "_webkitHidden"), - _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), - $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), - _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), - $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), - _createElement: dart.privateName(html$, "_createElement"), - _createElementNS: dart.privateName(html$, "_createElementNS"), - $createRange: dartx.createRange = Symbol("dartx.createRange"), - _createTextNode: dart.privateName(html$, "_createTextNode"), - _createTouch_1: dart.privateName(html$, "_createTouch_1"), - _createTouch_2: dart.privateName(html$, "_createTouch_2"), - _createTouch_3: dart.privateName(html$, "_createTouch_3"), - _createTouch_4: dart.privateName(html$, "_createTouch_4"), - _createTouch_5: dart.privateName(html$, "_createTouch_5"), - _createTouch: dart.privateName(html$, "_createTouch"), - _createTouchList: dart.privateName(html$, "_createTouchList"), - $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), - $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), - $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), - $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), - $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), - $importNode: dartx.importNode = Symbol("dartx.importNode"), - $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), - $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), - $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), - $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), - $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), - _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), - _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), - $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), - _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), - $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), - $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), - _styleSheets: dart.privateName(html$, "_styleSheets"), - _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"), - $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), - $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), - $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), - $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), - $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), - _createElement_2: dart.privateName(html$, "_createElement_2"), - _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), - $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), - _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), - _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), - $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), - _docChildren: dart.privateName(html$, "_docChildren"), - $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), - $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), - $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), - $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), - $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), - $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), - $a: dartx.a = Symbol("dartx.a"), - $b: dartx.b = Symbol("dartx.b"), - $c: dartx.c = Symbol("dartx.c"), - $d: dartx.d = Symbol("dartx.d"), - $e: dartx.e = Symbol("dartx.e"), - $f: dartx.f = Symbol("dartx.f"), - $m11: dartx.m11 = Symbol("dartx.m11"), - $m12: dartx.m12 = Symbol("dartx.m12"), - $m13: dartx.m13 = Symbol("dartx.m13"), - $m14: dartx.m14 = Symbol("dartx.m14"), - $m21: dartx.m21 = Symbol("dartx.m21"), - $m22: dartx.m22 = Symbol("dartx.m22"), - $m23: dartx.m23 = Symbol("dartx.m23"), - $m24: dartx.m24 = Symbol("dartx.m24"), - $m31: dartx.m31 = Symbol("dartx.m31"), - $m32: dartx.m32 = Symbol("dartx.m32"), - $m33: dartx.m33 = Symbol("dartx.m33"), - $m34: dartx.m34 = Symbol("dartx.m34"), - $m41: dartx.m41 = Symbol("dartx.m41"), - $m42: dartx.m42 = Symbol("dartx.m42"), - $m43: dartx.m43 = Symbol("dartx.m43"), - $m44: dartx.m44 = Symbol("dartx.m44"), - $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), - _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), - _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), - $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), - _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), - _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), - $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), - $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), - $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), - $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), - $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), - $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), - $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), - $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), - $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), - $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), - $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), - $flipX: dartx.flipX = Symbol("dartx.flipX"), - $flipY: dartx.flipY = Symbol("dartx.flipY"), - $inverse: dartx.inverse = Symbol("dartx.inverse"), - _multiply_1: dart.privateName(html$, "_multiply_1"), - _multiply_2: dart.privateName(html$, "_multiply_2"), - $multiply: dartx.multiply = Symbol("dartx.multiply"), - $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), - $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), - $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), - $skewX: dartx.skewX = Symbol("dartx.skewX"), - $skewY: dartx.skewY = Symbol("dartx.skewY"), - $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), - $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), - _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), - _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), - $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), - $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), - $w: dartx.w = Symbol("dartx.w"), - _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), - _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), - $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), - $p1: dartx.p1 = Symbol("dartx.p1"), - $p2: dartx.p2 = Symbol("dartx.p2"), - $p3: dartx.p3 = Symbol("dartx.p3"), - $p4: dartx.p4 = Symbol("dartx.p4"), - $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), - __delete__: dart.privateName(html$, "__delete__"), - $replace: dartx.replace = Symbol("dartx.replace"), - $supports: dartx.supports = Symbol("dartx.supports"), - $toggle: dartx.toggle = Symbol("dartx.toggle"), - _childElements: dart.privateName(html$, "_childElements"), - _element: dart.privateName(html$, "_element"), - _filter$2: dart.privateName(html$, "_filter"), - _nodeList: dart.privateName(html$, "_nodeList"), - _forElementList: dart.privateName(html$, "_forElementList"), - _value$6: dart.privateName(html$, "ScrollAlignment._value"), - _value$7: dart.privateName(html$, "_value"), - $colno: dartx.colno = Symbol("dartx.colno"), - $filename: dartx.filename = Symbol("dartx.filename"), - $lineno: dartx.lineno = Symbol("dartx.lineno"), - $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), - $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), - _ptr: dart.privateName(html$, "_ptr"), - $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), - $ports: dartx.ports = Symbol("dartx.ports"), - $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), - $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), - $provider: dartx.provider = Symbol("dartx.provider"), - $clientId: dartx.clientId = Symbol("dartx.clientId"), - $isReload: dartx.isReload = Symbol("dartx.isReload"), - $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), - $elements: dartx.elements = Symbol("dartx.elements"), - $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), - _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), - $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), - $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), - _createWriter: dart.privateName(html$, "_createWriter"), - $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), - _file$1: dart.privateName(html$, "_file"), - $file: dartx.file = Symbol("dartx.file"), - $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), - $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), - $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), - $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), - $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), - $root: dartx.root = Symbol("dartx.root"), - $seek: dartx.seek = Symbol("dartx.seek"), - $write: dartx.write = Symbol("dartx.write"), - $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), - $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), - $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), - _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), - $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), - $family: dartx.family = Symbol("dartx.family"), - $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), - $loaded: dartx.loaded = Symbol("dartx.loaded"), - $stretch: dartx.stretch = Symbol("dartx.stretch"), - $variant: dartx.variant = Symbol("dartx.variant"), - $weight: dartx.weight = Symbol("dartx.weight"), - $check: dartx.check = Symbol("dartx.check"), - $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), - $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), - $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), - $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), - $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), - $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), - $action: dartx.action = Symbol("dartx.action"), - $enctype: dartx.enctype = Symbol("dartx.enctype"), - $method: dartx.method = Symbol("dartx.method"), - $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), - _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), - $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), - $reset: dartx.reset = Symbol("dartx.reset"), - $submit: dartx.submit = Symbol("dartx.submit"), - $axes: dartx.axes = Symbol("dartx.axes"), - $buttons: dartx.buttons = Symbol("dartx.buttons"), - $connected: dartx.connected = Symbol("dartx.connected"), - $displayId: dartx.displayId = Symbol("dartx.displayId"), - $hand: dartx.hand = Symbol("dartx.hand"), - $mapping: dartx.mapping = Symbol("dartx.mapping"), - $pose: dartx.pose = Symbol("dartx.pose"), - $touched: dartx.touched = Symbol("dartx.touched"), - $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), - $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), - $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), - $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), - $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), - $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), - $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), - _ensurePosition: dart.privateName(html$, "_ensurePosition"), - _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), - $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), - _clearWatch: dart.privateName(html$, "_clearWatch"), - _watchPosition: dart.privateName(html$, "_watchPosition"), - $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), - _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), - _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), - _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), - _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), - _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), - _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), - $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), - $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), - $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), - _get_state: dart.privateName(html$, "_get_state"), - $back: dartx.back = Symbol("dartx.back"), - $forward: dartx.forward = Symbol("dartx.forward"), - $go: dartx.go = Symbol("dartx.go"), - _pushState_1: dart.privateName(html$, "_pushState_1"), - $pushState: dartx.pushState = Symbol("dartx.pushState"), - _replaceState_1: dart.privateName(html$, "_replaceState_1"), - $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), - $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), - $body: dartx.body = Symbol("dartx.body"), - $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), - $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), - $referrer: dartx.referrer = Symbol("dartx.referrer"), - $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), - $register: dartx.register = Symbol("dartx.register"), - $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), - $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), - _item: dart.privateName(html$, "_item"), - $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), - _get_response: dart.privateName(html$, "_get_response"), - $responseText: dartx.responseText = Symbol("dartx.responseText"), - $responseType: dartx.responseType = Symbol("dartx.responseType"), - $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), - $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), - $statusText: dartx.statusText = Symbol("dartx.statusText"), - $timeout: dartx.timeout = Symbol("dartx.timeout"), - $upload: dartx.upload = Symbol("dartx.upload"), - $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), - $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), - $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), - $send: dartx.send = Symbol("dartx.send"), - $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), - $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), - $allow: dartx.allow = Symbol("dartx.allow"), - $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), - $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), - _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), - $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), - $csp: dartx.csp = Symbol("dartx.csp"), - $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), - $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), - $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), - $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), - $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), - $track: dartx.track = Symbol("dartx.track"), - $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), - $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), - $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), - $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), - $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), - $async: dartx.async = Symbol("dartx.async"), - $complete: dartx.complete = Symbol("dartx.complete"), - $isMap: dartx.isMap = Symbol("dartx.isMap"), - $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), - $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), - $sizes: dartx.sizes = Symbol("dartx.sizes"), - $srcset: dartx.srcset = Symbol("dartx.srcset"), - $useMap: dartx.useMap = Symbol("dartx.useMap"), - $decode: dartx.decode = Symbol("dartx.decode"), - $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), - $accept: dartx.accept = Symbol("dartx.accept"), - $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), - $capture: dartx.capture = Symbol("dartx.capture"), - $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), - $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), - $dirName: dartx.dirName = Symbol("dartx.dirName"), - $incremental: dartx.incremental = Symbol("dartx.incremental"), - $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), - $list: dartx.list = Symbol("dartx.list"), - $max: dartx.max = Symbol("dartx.max"), - $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), - $min: dartx.min = Symbol("dartx.min"), - $minLength: dartx.minLength = Symbol("dartx.minLength"), - $multiple: dartx.multiple = Symbol("dartx.multiple"), - $pattern: dartx.pattern = Symbol("dartx.pattern"), - $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), - $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), - $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), - $step: dartx.step = Symbol("dartx.step"), - _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), - $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), - _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), - $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), - $directory: dartx.directory = Symbol("dartx.directory"), - $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), - $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), - $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), - $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), - files: dart.privateName(html$, "FileUploadInputElement.files"), - _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), - $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), - $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), - $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), - $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), - $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), - $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), - $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), - $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), - $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), - $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), - _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), - $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), - $charCode: dartx.charCode = Symbol("dartx.charCode"), - $which: dartx.which = Symbol("dartx.which"), - $altKey: dartx.altKey = Symbol("dartx.altKey"), - _charCode: dart.privateName(html$, "_charCode"), - $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), - $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), - _keyCode: dart.privateName(html$, "_keyCode"), - $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), - $repeat: dartx.repeat = Symbol("dartx.repeat"), - $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), - $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), - $control: dartx.control = Symbol("dartx.control"), - $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), - $as: dartx.as = Symbol("dartx.as"), - $import: dartx.import = Symbol("dartx.import"), - $integrity: dartx.integrity = Symbol("dartx.integrity"), - $relList: dartx.relList = Symbol("dartx.relList"), - $scope: dartx.scope = Symbol("dartx.scope"), - $sheet: dartx.sheet = Symbol("dartx.sheet"), - $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), - $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), - $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), - $assign: dartx.assign = Symbol("dartx.assign"), - $reload: dartx.reload = Symbol("dartx.reload"), - $areas: dartx.areas = Symbol("dartx.areas"), - $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), - $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), - $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), - $smooth: dartx.smooth = Symbol("dartx.smooth"), - $supported: dartx.supported = Symbol("dartx.supported"), - $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), - $groupId: dartx.groupId = Symbol("dartx.groupId"), - $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), - _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), - $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), - $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), - $initData: dartx.initData = Symbol("dartx.initData"), - $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), - $messageType: dartx.messageType = Symbol("dartx.messageType"), - $closed: dartx.closed = Symbol("dartx.closed"), - $expiration: dartx.expiration = Symbol("dartx.expiration"), - $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), - $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), - $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), - _update$1: dart.privateName(html$, "_update"), - $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), - $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), - _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), - $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), - _createSession: dart.privateName(html$, "_createSession"), - $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), - $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), - $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), - $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), - $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), - $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), - $album: dartx.album = Symbol("dartx.album"), - $artist: dartx.artist = Symbol("dartx.artist"), - $artwork: dartx.artwork = Symbol("dartx.artwork"), - $addListener: dartx.addListener = Symbol("dartx.addListener"), - $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), - $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), - $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), - $stream: dartx.stream = Symbol("dartx.stream"), - $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), - $requestData: dartx.requestData = Symbol("dartx.requestData"), - $resume: dartx.resume = Symbol("dartx.resume"), - $metadata: dartx.metadata = Symbol("dartx.metadata"), - $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), - $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), - $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), - $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), - $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), - $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), - $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), - $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), - $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), - $active: dartx.active = Symbol("dartx.active"), - $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), - $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), - $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), - $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), - $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), - $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), - $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), - $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), - $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), - $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), - $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), - $port1: dartx.port1 = Symbol("dartx.port1"), - $port2: dartx.port2 = Symbol("dartx.port2"), - _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), - _get_data: dart.privateName(html$, "_get_data"), - _get_source: dart.privateName(html$, "_get_source"), - _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _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"), - $high: dartx.high = Symbol("dartx.high"), - $low: dartx.low = Symbol("dartx.low"), - $optimum: dartx.optimum = Symbol("dartx.optimum"), - $inputs: dartx.inputs = Symbol("dartx.inputs"), - $outputs: dartx.outputs = Symbol("dartx.outputs"), - $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), - $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), - $connection: dartx.connection = Symbol("dartx.connection"), - $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), - _getItem: dart.privateName(html$, "_getItem"), - $description: dartx.description = Symbol("dartx.description"), - $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), - $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), - $cite: dartx.cite = Symbol("dartx.cite"), - $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), - _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), - $button: dartx.button = Symbol("dartx.button"), - _clientX: dart.privateName(html$, "_clientX"), - _clientY: dart.privateName(html$, "_clientY"), - $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), - _layerX: dart.privateName(html$, "_layerX"), - _layerY: dart.privateName(html$, "_layerY"), - _movementX: dart.privateName(html$, "_movementX"), - _movementY: dart.privateName(html$, "_movementY"), - _pageX: dart.privateName(html$, "_pageX"), - _pageY: dart.privateName(html$, "_pageY"), - $region: dartx.region = Symbol("dartx.region"), - _screenX: dart.privateName(html$, "_screenX"), - _screenY: dart.privateName(html$, "_screenY"), - $toElement: dartx.toElement = Symbol("dartx.toElement"), - _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), - $movement: dartx.movement = Symbol("dartx.movement"), - $screen: dartx.screen = Symbol("dartx.screen"), - $layer: dartx.layer = Symbol("dartx.layer"), - $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), - $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), - $attrName: dartx.attrName = Symbol("dartx.attrName"), - $newValue: dartx.newValue = Symbol("dartx.newValue"), - $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") - }; - var S$2 = { - _observe_2: dart.privateName(html$, "_observe_2"), - _observe: dart.privateName(html$, "_observe"), - _call: dart.privateName(html$, "_call"), - $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), - $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), - $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), - $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), - $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), - $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), - $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), - $disable: dartx.disable = Symbol("dartx.disable"), - $enable: dartx.enable = Symbol("dartx.enable"), - $getState: dartx.getState = Symbol("dartx.getState"), - _getGamepads: dart.privateName(html$, "_getGamepads"), - $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), - $language: dartx.language = Symbol("dartx.language"), - _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), - _getUserMedia: dart.privateName(html$, "_getUserMedia"), - $budget: dartx.budget = Symbol("dartx.budget"), - $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), - $credentials: dartx.credentials = Symbol("dartx.credentials"), - $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), - $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), - $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), - $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), - $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), - $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), - $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), - $nfc: dartx.nfc = Symbol("dartx.nfc"), - $permissions: dartx.permissions = Symbol("dartx.permissions"), - $presentation: dartx.presentation = Symbol("dartx.presentation"), - $productSub: dartx.productSub = Symbol("dartx.productSub"), - $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), - $storage: dartx.storage = Symbol("dartx.storage"), - $vendor: dartx.vendor = Symbol("dartx.vendor"), - $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), - $vr: dartx.vr = Symbol("dartx.vr"), - $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), - $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), - $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), - $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), - $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), - $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), - $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), - _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), - _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), - $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), - $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), - $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), - $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), - $share: dartx.share = Symbol("dartx.share"), - $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), - $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), - $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), - $appName: dartx.appName = Symbol("dartx.appName"), - $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), - $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), - $platform: dartx.platform = Symbol("dartx.platform"), - $product: dartx.product = Symbol("dartx.product"), - $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), - $languages: dartx.languages = Symbol("dartx.languages"), - $onLine: dartx.onLine = Symbol("dartx.onLine"), - $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), - $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), - $downlink: dartx.downlink = Symbol("dartx.downlink"), - $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), - $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), - $rtt: dartx.rtt = Symbol("dartx.rtt"), - $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), - $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), - $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), - $detach: dartx.detach = Symbol("dartx.detach"), - $actions: dartx.actions = Symbol("dartx.actions"), - $badge: dartx.badge = Symbol("dartx.badge"), - $icon: dartx.icon = Symbol("dartx.icon"), - $image: dartx.image = Symbol("dartx.image"), - $renotify: dartx.renotify = Symbol("dartx.renotify"), - $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), - $silent: dartx.silent = Symbol("dartx.silent"), - $tag: dartx.tag = Symbol("dartx.tag"), - $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), - $onShow: dartx.onShow = Symbol("dartx.onShow"), - $notification: dartx.notification = Symbol("dartx.notification"), - $reply: dartx.reply = Symbol("dartx.reply"), - $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), - $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), - $commit: dartx.commit = Symbol("dartx.commit"), - $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), - $constraint: dartx.constraint = Symbol("dartx.constraint"), - $persisted: dartx.persisted = Symbol("dartx.persisted"), - $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), - $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), - $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), - $idName: dartx.idName = Symbol("dartx.idName"), - $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), - $addPath: dartx.addPath = Symbol("dartx.addPath"), - $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), - $city: dartx.city = Symbol("dartx.city"), - $country: dartx.country = Symbol("dartx.country"), - $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), - $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), - $organization: dartx.organization = Symbol("dartx.organization"), - $phone: dartx.phone = Symbol("dartx.phone"), - $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), - $recipient: dartx.recipient = Symbol("dartx.recipient"), - $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), - $instruments: dartx.instruments = Symbol("dartx.instruments"), - $userHint: dartx.userHint = Symbol("dartx.userHint"), - $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), - $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), - $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), - $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), - $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), - $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), - $total: dartx.total = Symbol("dartx.total"), - $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), - $methodName: dartx.methodName = Symbol("dartx.methodName"), - $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), - $payerName: dartx.payerName = Symbol("dartx.payerName"), - $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), - $requestId: dartx.requestId = Symbol("dartx.requestId"), - $memory: dartx.memory = Symbol("dartx.memory"), - $navigation: dartx.navigation = Symbol("dartx.navigation"), - $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), - $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), - $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), - $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), - $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"), - $entryType: dartx.entryType = Symbol("dartx.entryType"), - $attribution: dartx.attribution = Symbol("dartx.attribution"), - $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), - $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), - $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), - $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), - $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), - $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), - $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), - $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), - $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), - $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), - $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), - $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), - $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), - $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), - $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), - $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), - $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), - $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), - $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), - $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), - $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), - $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), - $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), - $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), - $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), - $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), - $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), - $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), - $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), - $query: dartx.query = Symbol("dartx.query"), - $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), - $revoke: dartx.revoke = Symbol("dartx.revoke"), - $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), - $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), - $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), - $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), - $refresh: dartx.refresh = Symbol("dartx.refresh"), - $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), - $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), - $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), - $pressure: dartx.pressure = Symbol("dartx.pressure"), - $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), - $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), - $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), - $twist: dartx.twist = Symbol("dartx.twist"), - $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), - $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), - $receiver: dartx.receiver = Symbol("dartx.receiver"), - $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), - $terminate: dartx.terminate = Symbol("dartx.terminate"), - $connections: dartx.connections = Symbol("dartx.connections"), - $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), - $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), - $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), - $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), - $promise: dartx.promise = Symbol("dartx.promise"), - $rawId: dartx.rawId = Symbol("dartx.rawId"), - $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), - $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), - $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), - $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), - $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), - $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), - $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), - $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), - $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), - $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), - $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), - $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), - $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), - $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), - $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), - $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), - $collapse: dartx.collapse = Symbol("dartx.collapse"), - $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), - $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), - $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), - $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), - $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), - $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), - $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), - $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), - $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), - $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), - $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), - $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), - $setStart: dartx.setStart = Symbol("dartx.setStart"), - $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), - $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), - $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), - $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), - $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), - $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), - $expires: dartx.expires = Symbol("dartx.expires"), - $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), - $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), - $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), - $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), - $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), - $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), - $ordered: dartx.ordered = Symbol("dartx.ordered"), - $reliable: dartx.reliable = Symbol("dartx.reliable"), - $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), - $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), - $sendString: dartx.sendString = Symbol("dartx.sendString"), - $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), - $channel: dartx.channel = Symbol("dartx.channel"), - $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), - $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), - $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), - $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), - $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), - $tone: dartx.tone = Symbol("dartx.tone"), - $candidate: dartx.candidate = Symbol("dartx.candidate"), - $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), - $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), - _get_timestamp: dart.privateName(html$, "_get_timestamp"), - $names: dartx.names = Symbol("dartx.names"), - $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"), - $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), - $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), - $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), - _addStream_1: dart.privateName(html$, "_addStream_1"), - _addStream_2: dart.privateName(html$, "_addStream_2"), - $addStream: dartx.addStream = Symbol("dartx.addStream"), - $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), - $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), - _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), - _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), - $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), - $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), - $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), - $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), - $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), - $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), - $getStats: dartx.getStats = Symbol("dartx.getStats"), - $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), - _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), - $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), - $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"), - $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), - $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), - $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), - $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), - $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), - $sdp: dartx.sdp = Symbol("dartx.sdp"), - $streams: dartx.streams = Symbol("dartx.streams"), - _availLeft: dart.privateName(html$, "_availLeft"), - _availTop: dart.privateName(html$, "_availTop"), - _availWidth: dart.privateName(html$, "_availWidth"), - _availHeight: dart.privateName(html$, "_availHeight"), - $available: dartx.available = Symbol("dartx.available"), - $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), - $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), - $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), - $lock: dartx.lock = Symbol("dartx.lock"), - $unlock: dartx.unlock = Symbol("dartx.unlock"), - $charset: dartx.charset = Symbol("dartx.charset"), - $defer: dartx.defer = Symbol("dartx.defer"), - $noModule: dartx.noModule = Symbol("dartx.noModule"), - $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), - $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), - $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), - $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), - $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), - $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), - $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), - $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), - $positionX: dartx.positionX = Symbol("dartx.positionX"), - $positionY: dartx.positionY = Symbol("dartx.positionY"), - $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), - $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), - $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), - $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), - $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), - $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), - $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), - $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), - $disposition: dartx.disposition = Symbol("dartx.disposition"), - $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), - $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), - $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), - $sample: dartx.sample = Symbol("dartx.sample"), - $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), - $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), - $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), - $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), - $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), - $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), - $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), - $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), - $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), - $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), - $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), - $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), - $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), - $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), - $addRange: dartx.addRange = Symbol("dartx.addRange"), - $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), - $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), - $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), - $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), - $empty: dartx.empty = Symbol("dartx.empty"), - $extend: dartx.extend = Symbol("dartx.extend"), - $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), - $modify: dartx.modify = Symbol("dartx.modify"), - $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), - $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), - $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), - $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), - $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), - $controller: dartx.controller = Symbol("dartx.controller"), - $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), - $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), - $clients: dartx.clients = Symbol("dartx.clients"), - $registration: dartx.registration = Symbol("dartx.registration"), - $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), - $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), - $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), - $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), - $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), - $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), - $installing: dartx.installing = Symbol("dartx.installing"), - $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), - $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), - $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), - $sync: dartx.sync = Symbol("dartx.sync"), - $waiting: dartx.waiting = Symbol("dartx.waiting"), - $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), - $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), - $unregister: dartx.unregister = Symbol("dartx.unregister"), - $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), - $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), - $console: dartx.console = Symbol("dartx.console"), - $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), - $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), - $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), - $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), - _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), - _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), - $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), - $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), - $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), - $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), - $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), - $updating: dartx.updating = Symbol("dartx.updating"), - $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), - $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), - $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), - $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), - $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), - $continuous: dartx.continuous = Symbol("dartx.continuous"), - $grammars: dartx.grammars = Symbol("dartx.grammars"), - $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), - $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), - $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), - $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), - $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), - $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), - $onResult: dartx.onResult = Symbol("dartx.onResult"), - $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), - $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), - $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), - $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), - $onStart: dartx.onStart = Symbol("dartx.onStart"), - $confidence: dartx.confidence = Symbol("dartx.confidence"), - $transcript: dartx.transcript = Symbol("dartx.transcript"), - $emma: dartx.emma = Symbol("dartx.emma"), - $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), - $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), - $results: dartx.results = Symbol("dartx.results"), - $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), - _getVoices: dart.privateName(html$, "_getVoices"), - $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), - $pending: dartx.pending = Symbol("dartx.pending"), - $speaking: dartx.speaking = Symbol("dartx.speaking"), - $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), - $utterance: dartx.utterance = Symbol("dartx.utterance"), - $pitch: dartx.pitch = Symbol("dartx.pitch"), - $rate: dartx.rate = Symbol("dartx.rate"), - $voice: dartx.voice = Symbol("dartx.voice"), - $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), - $onMark: dartx.onMark = Symbol("dartx.onMark"), - $onResume: dartx.onResume = Symbol("dartx.onResume"), - $localService: dartx.localService = Symbol("dartx.localService"), - $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), - _setItem: dart.privateName(html$, "_setItem"), - _removeItem: dart.privateName(html$, "_removeItem"), - _key: dart.privateName(html$, "_key"), - _length$3: dart.privateName(html$, "_length"), - _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), - $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), - $estimate: dartx.estimate = Symbol("dartx.estimate"), - $persist: dartx.persist = Symbol("dartx.persist"), - $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), - $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), - $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), - $getTags: dartx.getTags = Symbol("dartx.getTags"), - $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), - $headers: dartx.headers = Symbol("dartx.headers"), - $span: dartx.span = Symbol("dartx.span"), - _tBodies: dart.privateName(html$, "_tBodies"), - $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), - _rows: dart.privateName(html$, "_rows"), - $rows: dartx.rows = Symbol("dartx.rows"), - $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), - $addRow: dartx.addRow = Symbol("dartx.addRow"), - _createCaption: dart.privateName(html$, "_createCaption"), - $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), - _createTBody: dart.privateName(html$, "_createTBody"), - $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), - _createTFoot: dart.privateName(html$, "_createTFoot"), - $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), - _createTHead: dart.privateName(html$, "_createTHead"), - $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), - _insertRow: dart.privateName(html$, "_insertRow"), - _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), - $caption: dartx.caption = Symbol("dartx.caption"), - $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), - $tHead: dartx.tHead = Symbol("dartx.tHead"), - $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), - $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), - $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), - $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), - _cells: dart.privateName(html$, "_cells"), - $cells: dartx.cells = Symbol("dartx.cells"), - $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), - $addCell: dartx.addCell = Symbol("dartx.addCell"), - _insertCell: dart.privateName(html$, "_insertCell"), - $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), - $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), - $containerId: dartx.containerId = Symbol("dartx.containerId"), - $containerName: dartx.containerName = Symbol("dartx.containerName"), - $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), - $containerType: dartx.containerType = Symbol("dartx.containerType"), - $cols: dartx.cols = Symbol("dartx.cols"), - $textLength: dartx.textLength = Symbol("dartx.textLength"), - $wrap: dartx.wrap = Symbol("dartx.wrap"), - _initTextEvent: dart.privateName(html$, "_initTextEvent"), - $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), - $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), - $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), - $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), - $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $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"), - $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), - $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), - $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), - $cues: dartx.cues = Symbol("dartx.cues"), - $addCue: dartx.addCue = Symbol("dartx.addCue"), - $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), - $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), - $endTime: dartx.endTime = Symbol("dartx.endTime"), - $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), - $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), - $onExit: dartx.onExit = Symbol("dartx.onExit"), - $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), - $end: dartx.end = Symbol("dartx.end"), - $force: dartx.force = Symbol("dartx.force"), - $identifier: dartx.identifier = Symbol("dartx.identifier"), - _radiusX: dart.privateName(html$, "_radiusX"), - _radiusY: dart.privateName(html$, "_radiusY"), - $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), - __clientX: dart.privateName(html$, "__clientX"), - __clientY: dart.privateName(html$, "__clientY"), - __screenX: dart.privateName(html$, "__screenX"), - __screenY: dart.privateName(html$, "__screenY"), - __pageX: dart.privateName(html$, "__pageX"), - __pageY: dart.privateName(html$, "__pageY"), - __radiusX: dart.privateName(html$, "__radiusX"), - __radiusY: dart.privateName(html$, "__radiusY"), - $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), - $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), - $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), - $touches: dartx.touches = Symbol("dartx.touches"), - $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), - $kinds: dartx.kinds = Symbol("dartx.kinds"), - $srclang: dartx.srclang = Symbol("dartx.srclang"), - $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), - $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), - $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), - $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), - $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), - $pull: dartx.pull = Symbol("dartx.pull"), - $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), - $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), - $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), - $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), - $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), - $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), - $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), - $device: dartx.device = Symbol("dartx.device"), - $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), - $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), - $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), - $displayName: dartx.displayName = Symbol("dartx.displayName"), - $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), - $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), - $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), - $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), - $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), - $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), - $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), - $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), - $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), - $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), - $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), - $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), - $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), - $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), - $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), - $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), - $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), - $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), - $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), - $bounds: dartx.bounds = Symbol("dartx.bounds"), - $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), - $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), - $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), - $session: dartx.session = Symbol("dartx.session"), - $geometry: dartx.geometry = Symbol("dartx.geometry"), - $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), - $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), - $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), - $badInput: dartx.badInput = Symbol("dartx.badInput"), - $customError: dartx.customError = Symbol("dartx.customError"), - $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), - $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), - $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), - $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), - $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), - $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), - $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), - $valid: dartx.valid = Symbol("dartx.valid"), - $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), - $poster: dartx.poster = Symbol("dartx.poster"), - $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), - $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), - $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), - $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), - $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), - $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), - $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), - $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), - $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), - $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), - $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), - $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), - $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), - $align: dartx.align = Symbol("dartx.align"), - $line: dartx.line = Symbol("dartx.line"), - $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), - $vertical: dartx.vertical = Symbol("dartx.vertical"), - $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), - $lines: dartx.lines = Symbol("dartx.lines"), - $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), - $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), - $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), - $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), - $extensions: dartx.extensions = Symbol("dartx.extensions"), - _deltaX: dart.privateName(html$, "_deltaX"), - _deltaY: dart.privateName(html$, "_deltaY"), - $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), - $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), - _wheelDelta: dart.privateName(html$, "_wheelDelta"), - _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), - _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), - _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), - _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), - _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), - $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), - $document: dartx.document = Symbol("dartx.document"), - _open2: dart.privateName(html$, "_open2"), - _open3: dart.privateName(html$, "_open3"), - _location: dart.privateName(html$, "_location"), - _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), - _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), - _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), - _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), - $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), - $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), - $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), - $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), - $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), - $customElements: dartx.customElements = Symbol("dartx.customElements"), - $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), - $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), - $external: dartx.external = Symbol("dartx.external"), - $history: dartx.history = Symbol("dartx.history"), - $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), - $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), - $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), - $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), - $menubar: dartx.menubar = Symbol("dartx.menubar"), - $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), - _get_opener: dart.privateName(html$, "_get_opener"), - $opener: dartx.opener = Symbol("dartx.opener"), - $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), - $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), - _pageXOffset: dart.privateName(html$, "_pageXOffset"), - _pageYOffset: dart.privateName(html$, "_pageYOffset"), - _get_parent: dart.privateName(html$, "_get_parent"), - $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), - $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), - $screenX: dartx.screenX = Symbol("dartx.screenX"), - $screenY: dartx.screenY = Symbol("dartx.screenY"), - $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), - _get_self: dart.privateName(html$, "_get_self"), - $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), - $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), - $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), - $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), - $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), - _get_top: dart.privateName(html$, "_get_top"), - $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), - __getter___1: dart.privateName(html$, "__getter___1"), - __getter___2: dart.privateName(html$, "__getter___2"), - $alert: dartx.alert = Symbol("dartx.alert"), - $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), - $confirm: dartx.confirm = Symbol("dartx.confirm"), - $find: dartx.find = Symbol("dartx.find"), - $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), - $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), - $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), - $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - $print: dartx.print = Symbol("dartx.print"), - _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), - _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), - $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), - $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), - $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), - _scroll_4: dart.privateName(html$, "_scroll_4"), - _scroll_5: dart.privateName(html$, "_scroll_5"), - _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), - _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), - _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), - _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), - __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), - _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), - $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), - $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), - $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), - $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), - $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), - $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), - $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), - $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), - $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), - $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), - $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), - $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), - $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - $focused: dartx.focused = Symbol("dartx.focused"), - $navigate: dartx.navigate = Symbol("dartx.navigate"), - $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), - $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), - $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), - $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), - $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), - $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), - $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), - $resultType: dartx.resultType = Symbol("dartx.resultType"), - $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), - $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), - $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), - $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), - $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), - $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), - $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), - $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), - $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), - $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), - $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), - $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), - $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), - $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), - $getCost: dartx.getCost = Symbol("dartx.getCost"), - $reserve: dartx.reserve = Symbol("dartx.reserve"), - $read: dartx.read = Symbol("dartx.read"), - $readText: dartx.readText = Symbol("dartx.readText"), - $writeText: dartx.writeText = Symbol("dartx.writeText"), - $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), - $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), - $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), - $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), - $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), - $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), - $cache: dartx.cache = Symbol("dartx.cache"), - $redirect: dartx.redirect = Symbol("dartx.redirect"), - _matches: dart.privateName(html$, "_matches"), - _namespace: dart.privateName(html$, "_namespace"), - _attr: dart.privateName(html$, "_attr"), - _strip: dart.privateName(html$, "_strip"), - _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), - _toCamelCase: dart.privateName(html$, "_toCamelCase"), - _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), - _elementList: dart.privateName(html$, "_elementList"), - _sets: dart.privateName(html$, "_sets"), - _validateToken: dart.privateName(html_common, "_validateToken"), - _unit: dart.privateName(html$, "_unit"), - _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"), - _pauseCount$1: dart.privateName(html$, "_pauseCount"), - _onData$3: dart.privateName(html$, "_onData"), - _tryResume: dart.privateName(html$, "_tryResume"), - _canceled: dart.privateName(html$, "_canceled"), - _unlisten: dart.privateName(html$, "_unlisten"), - _type$5: dart.privateName(html$, "_type"), - _streamController: dart.privateName(html$, "_streamController"), - _parent$2: dart.privateName(html$, "_parent"), - _currentTarget: dart.privateName(html$, "_currentTarget"), - _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), - _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), - _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), - _realAltKey: dart.privateName(html$, "_realAltKey"), - _realCharCode: dart.privateName(html$, "_realCharCode"), - _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"), - _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), - _keyDownList: dart.privateName(html$, "_keyDownList"), - _stream$3: dart.privateName(html$, "_stream"), - _capsLockOn: dart.privateName(html$, "_capsLockOn"), - _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), - _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), - _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), - _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), - _validators: dart.privateName(html$, "_validators"), - _templateAttrs: dart.privateName(html$, "_templateAttrs"), - _list$19: dart.privateName(html$, "_list"), - _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"), - _constructor: dart.privateName(html$, "_constructor"), - _nativeType: dart.privateName(html$, "_nativeType"), - _window: dart.privateName(html$, "_window"), - _history: dart.privateName(html$, "_history"), - _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), - _loc: dart.privateName(html$, "_loc"), - _removeNode: dart.privateName(html$, "_removeNode"), - _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), - _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), - alpha: dart.privateName(html_common, "ContextAttributes.alpha"), - antialias: dart.privateName(html_common, "ContextAttributes.antialias"), - depth: dart.privateName(html_common, "ContextAttributes.depth"), - premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), - preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), - stencil: dart.privateName(html_common, "ContextAttributes.stencil"), - failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - 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"), - _node: dart.privateName(html_common, "_node"), - _iterable$2: dart.privateName(html_common, "_iterable"), - _filtered: dart.privateName(html_common, "_filtered"), - $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), - $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), - $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), - $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), - $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), - $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), - $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), - _children$1: dart.privateName(svg$, "_children"), - _svgClassName: dart.privateName(svg$, "_svgClassName"), - $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), - $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), - $unitType: dartx.unitType = Symbol("dartx.unitType"), - $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), - $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), - $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), - $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), - $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), - $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), - $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), - $endElement: dartx.endElement = Symbol("dartx.endElement"), - $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), - $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), - $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), - $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), - $animVal: dartx.animVal = Symbol("dartx.animVal"), - $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), - $cx: dartx.cx = Symbol("dartx.cx"), - $cy: dartx.cy = Symbol("dartx.cy"), - $r: dartx.r = Symbol("dartx.r"), - $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), - $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), - $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), - $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), - $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), - $rx: dartx.rx = Symbol("dartx.rx"), - $ry: dartx.ry = Symbol("dartx.ry"), - $in1: dartx.in1 = Symbol("dartx.in1"), - $in2: dartx.in2 = Symbol("dartx.in2"), - $k1: dartx.k1 = Symbol("dartx.k1"), - $k2: dartx.k2 = Symbol("dartx.k2"), - $k3: dartx.k3 = Symbol("dartx.k3"), - $k4: dartx.k4 = Symbol("dartx.k4"), - $operator: dartx.operator = Symbol("dartx.operator"), - $bias: dartx.bias = Symbol("dartx.bias"), - $divisor: dartx.divisor = Symbol("dartx.divisor"), - $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), - $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), - $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), - $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), - $orderX: dartx.orderX = Symbol("dartx.orderX"), - $orderY: dartx.orderY = Symbol("dartx.orderY"), - $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), - $targetX: dartx.targetX = Symbol("dartx.targetX"), - $targetY: dartx.targetY = Symbol("dartx.targetY"), - $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), - $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), - $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), - $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), - $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), - $elevation: dartx.elevation = Symbol("dartx.elevation"), - $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), - $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), - $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), - $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), - $dx: dartx.dx = Symbol("dartx.dx"), - $dy: dartx.dy = Symbol("dartx.dy"), - $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), - $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), - $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), - $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), - $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), - $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), - $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), - $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), - $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), - $seed: dartx.seed = Symbol("dartx.seed"), - $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), - $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), - $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), - $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), - $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), - __setter__$1: dart.privateName(svg$, "__setter__"), - $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), - $getItem: dartx.getItem = Symbol("dartx.getItem"), - $initialize: dartx.initialize = Symbol("dartx.initialize"), - $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), - $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), - $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), - $x1: dartx.x1 = Symbol("dartx.x1"), - $x2: dartx.x2 = Symbol("dartx.x2"), - $y1: dartx.y1 = Symbol("dartx.y1"), - $y2: dartx.y2 = Symbol("dartx.y2"), - $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), - $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), - $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), - $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), - $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), - $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), - $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), - $orientType: dartx.orientType = Symbol("dartx.orientType"), - $refX: dartx.refX = Symbol("dartx.refX"), - $refY: dartx.refY = Symbol("dartx.refY"), - $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), - $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), - $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), - $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), - $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), - $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), - $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), - $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), - $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), - $points: dartx.points = Symbol("dartx.points"), - $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), - $fr: dartx.fr = Symbol("dartx.fr"), - $fx: dartx.fx = Symbol("dartx.fx"), - $fy: dartx.fy = Symbol("dartx.fy"), - $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$1: dart.privateName(svg$, "_element"), - $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), - $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), - $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), - $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), - $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), - $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), - $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), - $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), - $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), - $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), - $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), - $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), - $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), - $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), - $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), - $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), - $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), - $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), - $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), - $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), - $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), - $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), - $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), - $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), - $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), - $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), - $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), - $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), - $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), - $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), - $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), - $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), - $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), - $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), - $spacing: dartx.spacing = Symbol("dartx.spacing"), - $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), - $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), - $setScale: dartx.setScale = Symbol("dartx.setScale"), - $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), - $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), - $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), - $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), - $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), - $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), - $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), - $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), - $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), - $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), - $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), - $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), - $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), - $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), - $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), - $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), - $context: dartx.context = Symbol("dartx.context"), - $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $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"), - $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), - $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), - $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), - $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), - $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), - $detune: dartx.detune = Symbol("dartx.detune"), - $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), - $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), - $start2: dartx.start2 = Symbol("dartx.start2"), - $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), - _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), - $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), - $suspend: dartx.suspend = Symbol("dartx.suspend"), - $createGain: dartx.createGain = Symbol("dartx.createGain"), - $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), - $destination: dartx.destination = Symbol("dartx.destination"), - $listener: dartx.listener = Symbol("dartx.listener"), - $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), - $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), - $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), - $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), - $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), - $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), - $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), - $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), - $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), - $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), - $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), - $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), - $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), - $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), - $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), - _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), - _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), - $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), - $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), - $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), - $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), - $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), - $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), - $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), - $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), - $upX: dartx.upX = Symbol("dartx.upX"), - $upY: dartx.upY = Symbol("dartx.upY"), - $upZ: dartx.upZ = Symbol("dartx.upZ"), - $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), - $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), - $minValue: dartx.minValue = Symbol("dartx.minValue"), - $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), - $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), - $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), - $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), - $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), - $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), - $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), - _getItem$1: dart.privateName(web_audio, "_getItem"), - $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), - $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), - $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), - __getter__$1: dart.privateName(web_audio, "__getter__"), - $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), - $parameters: dartx.parameters = Symbol("dartx.parameters"), - $Q: dartx.Q = Symbol("dartx.Q"), - $frequency: dartx.frequency = Symbol("dartx.frequency"), - $gain: dartx.gain = Symbol("dartx.gain"), - $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), - $normalize: dartx.normalize = Symbol("dartx.normalize"), - $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), - $attack: dartx.attack = Symbol("dartx.attack"), - $knee: dartx.knee = Symbol("dartx.knee"), - $ratio: dartx.ratio = Symbol("dartx.ratio"), - $reduction: dartx.reduction = Symbol("dartx.reduction"), - $release: dartx.release = Symbol("dartx.release"), - $threshold: dartx.threshold = Symbol("dartx.threshold"), - $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), - $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), - $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), - $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), - $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), - $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), - $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), - $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), - $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), - $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), - $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), - $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), - $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), - $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), - $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), - $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), - $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), - $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), - $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), - $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), - $pan: dartx.pan = Symbol("dartx.pan"), - $curve: dartx.curve = Symbol("dartx.curve"), - $oversample: dartx.oversample = Symbol("dartx.oversample"), - $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), - $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), - $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), - $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), - $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), - $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), - $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), - $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), - $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), - $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), - $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), - $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), - $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), - $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), - $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), - $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), - $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), - $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), - $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), - $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), - $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), - $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), - $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), - $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), - $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), - $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), - $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), - $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), - $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), - $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), - $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), - $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), - $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), - $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), - $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), - $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), - $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), - $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), - $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), - $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), - $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), - $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), - $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), - $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), - $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), - $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), - $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), - $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), - $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), - $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), - $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), - $createShader: dartx.createShader = Symbol("dartx.createShader"), - $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), - $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), - $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), - $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), - $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), - $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), - $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), - $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), - $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), - $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), - $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), - $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), - $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), - $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), - $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), - $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), - $flush: dartx.flush = Symbol("dartx.flush"), - $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), - $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), - $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), - $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), - $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), - $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), - $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), - $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), - $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), - _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), - $getError: dartx.getError = Symbol("dartx.getError"), - $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), - $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), - $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), - $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), - $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), - $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), - $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), - $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), - $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), - $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), - $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), - $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), - $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), - $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), - $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), - $hint: dartx.hint = Symbol("dartx.hint"), - $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), - $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), - $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), - $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), - $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), - $isShader: dartx.isShader = Symbol("dartx.isShader"), - $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), - $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), - $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), - $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), - _readPixels: dart.privateName(web_gl, "_readPixels"), - $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), - $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), - $scissor: dartx.scissor = Symbol("dartx.scissor"), - $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), - $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), - $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), - $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), - $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), - $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), - $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), - _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), - _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), - _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), - _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), - _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), - _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), - $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), - $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), - $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), - _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), - _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), - _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), - _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), - _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), - _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), - $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), - $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), - $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), - $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), - $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), - $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), - $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), - $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), - $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), - $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), - $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), - $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), - $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), - $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), - $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), - $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), - $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), - $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), - $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), - $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), - $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), - $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), - $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), - $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), - $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), - $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), - $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), - $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), - $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), - $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), - $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), - $viewport: dartx.viewport = Symbol("dartx.viewport"), - $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), - $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), - $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), - $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), - $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), - $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), - $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), - $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), - $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), - $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), - $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), - $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), - $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), - $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), - $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), - $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), - $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), - $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), - $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), - $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), - $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), - $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), - $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), - $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), - $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), - $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), - $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), - $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), - $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), - $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), - $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), - $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), - $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), - $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), - $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), - $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), - $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), - $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), - $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), - $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), - $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), - $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), - $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), - $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), - $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), - $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), - $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), - $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), - $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), - $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), - $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), - $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), - $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), - $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), - $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), - $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), - $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), - $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), - $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), - _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), - $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), - $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), - $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), - $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), - $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), - $isSync: dartx.isSync = Symbol("dartx.isSync"), - $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), - $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), - $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), - $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), - $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), - $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), - $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), - $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), - _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), - _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), - _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), - _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), - _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), - _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), - _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), - $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), - _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), - _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), - _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), - _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), - _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), - _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), - _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), - _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), - $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), - $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), - $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), - _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), - _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), - _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), - _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), - _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), - _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), - _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), - $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), - _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), - _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), - _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), - _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), - _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), - _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), - _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), - _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), - $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), - _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), - $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), - $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), - $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), - $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), - $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), - $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), - $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), - $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), - $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), - $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), - $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), - $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), - $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), - $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), - $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), - $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), - $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), - $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), - $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), - $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), - $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), - $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), - $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), - $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), - $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), - $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), - $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), - $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), - $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), - $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), - $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), - $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), - $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), - $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), - $precision: dartx.precision = Symbol("dartx.precision"), - $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), - $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), - $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), - $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), - $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") - }; - const CT = Object.create({ - _: () => (C, CT) - }); - 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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", - "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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", - "dart:_debugger", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", - "dart:_foreign_helper", - "dart:_interceptors", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", - "org-dartlang-sdk:///lib/internal/internal.dart", - "org-dartlang-sdk:///lib/internal/list.dart", - "org-dartlang-sdk:///lib/collection/list.dart", - "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", - "org-dartlang-sdk:///lib/convert/converter.dart", - "dart:convert", - "org-dartlang-sdk:///lib/internal/bytes_builder.dart", - "org-dartlang-sdk:///lib/internal/cast.dart", - "org-dartlang-sdk:///lib/core/iterable.dart", - "org-dartlang-sdk:///lib/collection/maps.dart", - "org-dartlang-sdk:///lib/internal/errors.dart", - "org-dartlang-sdk:///lib/internal/iterable.dart", - "org-dartlang-sdk:///lib/internal/linked_list.dart", - "org-dartlang-sdk:///lib/collection/iterable.dart", - "org-dartlang-sdk:///lib/internal/sort.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", - "org-dartlang-sdk:///lib/internal/symbol.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", - "dart:_isolate_helper", - "dart:_js_helper", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", - "org-dartlang-sdk:///lib/html/html_common/metadata.dart", - "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", - "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_impl.dart", - "org-dartlang-sdk:///lib/async/deferred_load.dart", - "org-dartlang-sdk:///lib/async/future.dart", - "org-dartlang-sdk:///lib/async/future_impl.dart", - "org-dartlang-sdk:///lib/async/schedule_microtask.dart", - "org-dartlang-sdk:///lib/async/stream_pipe.dart", - "org-dartlang-sdk:///lib/async/stream_transformers.dart", - "org-dartlang-sdk:///lib/async/timer.dart", - "org-dartlang-sdk:///lib/async/zone.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", - "org-dartlang-sdk:///lib/collection/set.dart", - "org-dartlang-sdk:///lib/collection/collections.dart", - "org-dartlang-sdk:///lib/collection/hash_map.dart", - "org-dartlang-sdk:///lib/collection/hash_set.dart", - "org-dartlang-sdk:///lib/collection/iterator.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", - "org-dartlang-sdk:///lib/collection/linked_list.dart", - "org-dartlang-sdk:///lib/collection/queue.dart", - "org-dartlang-sdk:///lib/collection/splay_tree.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", - "org-dartlang-sdk:///lib/convert/string_conversion.dart", - "org-dartlang-sdk:///lib/convert/ascii.dart", - "org-dartlang-sdk:///lib/convert/encoding.dart", - "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/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", - "org-dartlang-sdk:///lib/convert/line_splitter.dart", - "org-dartlang-sdk:///lib/convert/utf.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", - "dart:developer", - "org-dartlang-sdk:///lib/developer/extension.dart", - "org-dartlang-sdk:///lib/developer/profiler.dart", - "org-dartlang-sdk:///lib/developer/service.dart", - "org-dartlang-sdk:///lib/developer/timeline.dart", - "dart:io", - "org-dartlang-sdk:///lib/io/common.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", - "org-dartlang-sdk:///lib/io/data_transformer.dart", - "org-dartlang-sdk:///lib/io/directory.dart", - "org-dartlang-sdk:///lib/io/directory_impl.dart", - "org-dartlang-sdk:///lib/io/file_system_entity.dart", - "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_sink.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", - "org-dartlang-sdk:///lib/io/link.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", - "org-dartlang-sdk:///lib/io/secure_server_socket.dart", - "org-dartlang-sdk:///lib/io/secure_socket.dart", - "org-dartlang-sdk:///lib/io/socket.dart", - "org-dartlang-sdk:///lib/io/security_context.dart", - "org-dartlang-sdk:///lib/io/service_object.dart", - "org-dartlang-sdk:///lib/io/stdio.dart", - "org-dartlang-sdk:///lib/io/string_transformer.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", - "dart:isolate", - "org-dartlang-sdk:///lib/isolate/isolate.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", - "dart:js", - "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/indexed_db/dart2js/indexed_db_dart2js.dart", - "dart:indexed_db", - "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", - "dart:html", - "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", - "dart:html_common", - "org-dartlang-sdk:///lib/html/html_common/conversions.dart", - "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", - "org-dartlang-sdk:///lib/html/html_common/device.dart", - "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", - "org-dartlang-sdk:///lib/html/html_common/lists.dart", - "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", - "dart:svg", - "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", - "dart:web_audio", - "dart:web_gl", - "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.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/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", - "org-dartlang-sdk:///lib/_http/crypto.dart", - "org-dartlang-sdk:///lib/_http/http_date.dart", - "org-dartlang-sdk:///lib/_http/http_headers.dart", - "org-dartlang-sdk:///lib/_http/http_impl.dart", - "org-dartlang-sdk:///lib/_http/http_parser.dart", - "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/http_testing.dart", - "org-dartlang-sdk:///lib/_http/embedder_config.dart" - ]; - var _jsError$ = dart.privateName(dart, "_jsError"); - var _type$ = dart.privateName(dart, "_type"); - dart.applyMixin = function applyMixin(to, from) { - to[dart._mixin] = from; - let toProto = to.prototype; - let fromProto = from.prototype; - dart._copyMembers(toProto, fromProto); - dart._mixinSignature(to, from, dart._methodSig); - dart._mixinSignature(to, from, dart._fieldSig); - dart._mixinSignature(to, from, dart._getterSig); - dart._mixinSignature(to, from, dart._setterSig); - let mixinOnFn = from[dart.mixinOn]; - if (mixinOnFn != null) { - let proto = mixinOnFn(to.__proto__).prototype; - dart._copyMembers(toProto, proto); - } - }; - dart._copyMembers = function _copyMembers(to, from) { - let names = dart.getOwnNamesAndSymbols(from); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - dart._copyMember(to, from, name); - } - return to; - }; - dart._copyMember = function _copyMember(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - let getter = desc.get; - let setter = desc.set; - if (getter != null) { - if (setter == null) { - let obj = desc.set = { - __proto__: to.__proto__, - set [name](x) { - return super[name] = x; - } - }; - desc.set = dart.getOwnPropertyDescriptor(obj, name).set; - } - } else if (setter != null) { - if (getter == null) { - let obj = desc.get = { - __proto__: to.__proto__, - get [name]() { - return super[name]; - } - }; - desc.get = dart.getOwnPropertyDescriptor(obj, name).get; - } - } - dart.defineProperty(to, name, desc); - }; - dart._mixinSignature = function _mixinSignature(to, from, kind) { - to[kind] = () => { - let baseMembers = dart._getMembers(to.__proto__, kind); - let fromMembers = dart._getMembers(from, kind); - if (fromMembers == null) return baseMembers; - let toSignature = {__proto__: baseMembers}; - dart.copyProperties(toSignature, fromMembers); - return toSignature; - }; - }; - dart.getMixin = function getMixin(clazz) { - return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; - }; - dart.getImplements = function getImplements(clazz) { - return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; - }; - dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { - let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); - function normalize(typeArg) { - if (typeArg == void 0) return dart.dynamic; - if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { - return typeArg; - } - if (typeArg === dart.Never) { - return async.Future$(typeArg); - } - if (typeArg === core.Null) { - return dart.nullable(async.Future$(typeArg)); - } - let genericType = genericFutureOrType(typeArg); - genericType[dart._originalDeclaration] = normalize; - function is_FutureOr(obj) { - return typeArg.is(obj) || async.Future$(typeArg).is(obj); - } - genericType.is = is_FutureOr; - function as_FutureOr(obj) { - if (obj == null && typeArg instanceof dart.LegacyType) { - return obj; - } - if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { - return obj; - } - return dart.as(obj, async.FutureOr$(typeArg)); - } - genericType.as = as_FutureOr; - return genericType; - } - return normalize; - }; - dart.generic = function generic(typeConstructor, setBaseClass) { - let length = typeConstructor.length; - if (length < 1) { - dart.throwInternalError('must have at least one generic type argument'); - } - let resultMap = new Map(); - function makeGenericType(...args) { - if (args.length != length && args.length != 0) { - dart.throwInternalError('requires ' + length + ' or 0 type arguments'); - } - while (args.length < length) - args.push(dart.dynamic); - let value = resultMap; - for (let i = 0; i < length; i++) { - let arg = args[i]; - if (arg == null) { - dart.throwInternalError('type arguments should not be null: ' + typeConstructor); - } - let map = value; - value = map.get(arg); - if (value === void 0) { - if (i + 1 == length) { - value = typeConstructor.apply(null, args); - if (value) { - value[dart._typeArguments] = args; - value[dart._originalDeclaration] = makeGenericType; - } - map.set(arg, value); - if (setBaseClass != null) setBaseClass.apply(null, args); - } else { - value = new Map(); - map.set(arg, value); - } - } - } - return value; - } - makeGenericType[dart._genericTypeCtor] = typeConstructor; - return makeGenericType; - }; - dart.getGenericClass = function getGenericClass(type) { - return dart.safeGetOwnProperty(type, dart._originalDeclaration); - }; - dart.getGenericArgs = function getGenericArgs(type) { - return dart.safeGetOwnProperty(type, dart._typeArguments); - }; - dart.getGenericArgVariances = function getGenericArgVariances(type) { - return dart.safeGetOwnProperty(type, dart._variances); - }; - dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { - return f[dart._variances] = variances; - }; - dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { - return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); - }; - dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { - if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); - if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); - return genericClass.apply(null, typeArgs); - }; - dart.getConstructors = function getConstructors(value) { - return dart._getMembers(value, dart._constructorSig); - }; - dart.getMethods = function getMethods(value) { - return dart._getMembers(value, dart._methodSig); - }; - dart.getFields = function getFields(value) { - return dart._getMembers(value, dart._fieldSig); - }; - dart.getGetters = function getGetters(value) { - return dart._getMembers(value, dart._getterSig); - }; - dart.getSetters = function getSetters(value) { - return dart._getMembers(value, dart._setterSig); - }; - dart.getStaticMethods = function getStaticMethods(value) { - return dart._getMembers(value, dart._staticMethodSig); - }; - dart.getStaticFields = function getStaticFields(value) { - return dart._getMembers(value, dart._staticFieldSig); - }; - dart.getStaticGetters = function getStaticGetters(value) { - return dart._getMembers(value, dart._staticGetterSig); - }; - dart.getStaticSetters = function getStaticSetters(value) { - return dart._getMembers(value, dart._staticSetterSig); - }; - dart.getGenericTypeCtor = function getGenericTypeCtor(value) { - return value[dart._genericTypeCtor]; - }; - dart.getType = function getType(obj) { - if (obj == null) return core.Object; - let constructor = obj.constructor; - return constructor ? constructor : dart.global.Object.prototype.constructor; - }; - dart.getLibraryUri = function getLibraryUri(value) { - return value[dart._libraryUri]; - }; - dart.setLibraryUri = function setLibraryUri(f, uri) { - return f[dart._libraryUri] = uri; - }; - dart.isJsInterop = function isJsInterop(obj) { - if (obj == null) return false; - if (typeof obj === "function") { - return obj[dart._runtimeType] == null; - } - 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) { - let m = dart.getMethods(type); - return m != null ? m[name] : null; - }; - dart.getSetterType = function getSetterType(type, name) { - let setters = dart.getSetters(type); - if (setters != null) { - let type = setters[name]; - if (type != null) { - return type; - } - } - let fields = dart.getFields(type); - if (fields != null) { - let fieldInfo = fields[name]; - if (fieldInfo != null && !fieldInfo.isFinal) { - return fieldInfo.type; - } - } - return null; - }; - dart.finalFieldType = function finalFieldType(type, metadata) { - return {type: type, isFinal: true, metadata: metadata}; - }; - dart.fieldType = function fieldType(type, metadata) { - return {type: type, isFinal: false, metadata: metadata}; - }; - dart.classGetConstructorType = function classGetConstructorType(cls, name) { - if (cls == null) return null; - if (name == null) name = "new"; - let ctors = dart.getConstructors(cls); - return ctors != null ? ctors[name] : null; - }; - dart.setMethodSignature = function setMethodSignature(f, sigF) { - return f[dart._methodSig] = sigF; - }; - dart.setFieldSignature = function setFieldSignature(f, sigF) { - return f[dart._fieldSig] = sigF; - }; - dart.setGetterSignature = function setGetterSignature(f, sigF) { - return f[dart._getterSig] = sigF; - }; - dart.setSetterSignature = function setSetterSignature(f, sigF) { - return f[dart._setterSig] = sigF; - }; - dart.setConstructorSignature = function setConstructorSignature(f, sigF) { - return f[dart._constructorSig] = sigF; - }; - dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { - return f[dart._staticMethodSig] = sigF; - }; - dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { - return f[dart._staticFieldSig] = sigF; - }; - dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { - return f[dart._staticGetterSig] = sigF; - }; - dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { - return f[dart._staticSetterSig] = sigF; - }; - dart._getMembers = function _getMembers(type, kind) { - let sig = type[kind]; - return typeof sig == "function" ? type[kind] = sig() : sig; - }; - dart._hasMember = function _hasMember(type, kind, name) { - let sig = dart._getMembers(type, kind); - return sig != null && name in sig; - }; - dart.hasMethod = function hasMethod(type, name) { - return dart._hasMember(type, dart._methodSig, name); - }; - dart.hasGetter = function hasGetter(type, name) { - return dart._hasMember(type, dart._getterSig, name); - }; - dart.hasSetter = function hasSetter(type, name) { - return dart._hasMember(type, dart._setterSig, name); - }; - dart.hasField = function hasField(type, name) { - return dart._hasMember(type, dart._fieldSig, name); - }; - dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { - if (dartType === core.Object) { - dart._installPropertiesForObject(jsProto); - return; - } - let dartSupertype = dartType.__proto__; - if (dartSupertype !== installedParent) { - dart._installProperties(jsProto, dartSupertype, installedParent); - } - let dartProto = dartType.prototype; - dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); - }; - dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { - let coreObjProto = core.Object.prototype; - let names = dart.getOwnPropertyNames(coreObjProto); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); - dart.defineProperty(jsProto, dart.dartx[name], desc); - } - }; - dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { - dart._installPropertiesForObject(jsProto); - jsProto[dartx.toString] = function() { - return this.toString(); - }; - dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; - }; - dart._applyExtension = function _applyExtension(jsType, dartExtType) { - if (jsType == null) return; - let jsProto = jsType.prototype; - if (jsProto == null) return; - if (dartExtType === core.Object) { - dart._installPropertiesForGlobalObject(jsProto); - return; - } - if (jsType === dart.global.Object) { - let extName = dartExtType.name; - dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); - return; - } - dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); - if (dartExtType !== _interceptors.JSFunction) { - jsProto[dart._extensionType] = dartExtType; - } - jsType[dart._methodSig] = dartExtType[dart._methodSig]; - jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; - jsType[dart._getterSig] = dartExtType[dart._getterSig]; - jsType[dart._setterSig] = dartExtType[dart._setterSig]; - }; - dart.applyExtension = function applyExtension(name, nativeObject) { - let dartExtType = dart._extensionMap.get(name); - let jsType = nativeObject.constructor; - dart._applyExtension(jsType, dartExtType); - }; - dart.applyAllExtensions = function applyAllExtensions(global) { - dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); - }; - dart.registerExtension = function registerExtension(name, dartExtType) { - dart._extensionMap.set(name, dartExtType); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); - }; - dart.applyExtensionForTesting = function applyExtensionForTesting(name) { - let dartExtType = dart._extensionMap.get(name); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); - }; - dart.defineExtensionMethods = function defineExtensionMethods(type, 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], 574, 46, "memberNames"); - let proto = type.prototype; - for (let name of memberNames) { - let member = null; - let p = proto; - for (;; p = p.__proto__) { - member = dart.getOwnPropertyDescriptor(p, name); - if (member != null) break; - } - dart.defineProperty(proto, dartx[name], member); - } - }; - dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { - dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); - }; - dart.setBaseClass = function setBaseClass(derived, base) { - derived.prototype.__proto__ = base.prototype; - derived.__proto__ = base; - }; - dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { - let dartProto = dartType.prototype; - dartProto[dart._extensionType] = dartType; - dartProto.__proto__ = jsType.prototype; - }; - dart.addTypeTests = function addTypeTests(ctor, isClass) { - if (isClass == null) isClass = Symbol("_is_" + ctor.name); - ctor.prototype[isClass] = true; - ctor.is = function is_C(obj) { - return obj != null && (obj[isClass] || dart.is(obj, this)); - }; - ctor.as = function as_C(obj) { - if (obj != null && obj[isClass]) return obj; - 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); - } - }; - dart.argumentError = function argumentError(value) { - dart.throw(new core.ArgumentError.value(value)); - }; - dart.throwUnimplementedError = function throwUnimplementedError(message) { - if (message == null) dart.nullFailed(I[1], 16, 32, "message"); - dart.throw(new core.UnimplementedError.new(message)); - }; - dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { - dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); - }; - dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { - dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); - }; - dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { - if (isModuleSound !== false) { - 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) + "."; - }; - dart.nullFailed = function nullFailed(fileUri, line, column, variable) { - if (dart._nonNullAsserts) { - dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); - } - let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); - if (!dart._nullFailedSet.has(key)) { - dart._nullFailedSet.add(key); - dart._nullWarn(dart._nullFailedMessage(variable)); - } - }; - dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 81, 37, "name"); - dart.throw(new _internal.LateError.new(name)); - }; - dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { - dart.throw(new core.CyclicInitializationError.new(field)); - }; - dart.throwNullValueError = function throwNullValueError() { - dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); - }; - dart.castError = function castError(obj, expectedType) { - let actualType = dart.getReifiedType(obj); - let message = dart._castErrorMessage(actualType, expectedType); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); - }; - dart._castErrorMessage = function _castErrorMessage(from, to) { - 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) { - let value = error[dart._thrownValue]; - if (value != null) return value; - } - return error; - }; - dart.stackTrace = function stackTrace(error) { - if (!(error instanceof Error)) { - return new dart._StackTrace.missing(error); - } - let trace = error[dart._stackTrace]; - if (trace != null) return trace; - return error[dart._stackTrace] = new dart._StackTrace.new(error); - }; - dart.stackTraceForError = function stackTraceForError(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], 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], 286, 37, "exception"); - if (trace == null) { - let error = exception[dart._jsError]; - return error != null ? error : new dart.DartError(exception); - } - if (dart._StackTrace.is(trace)) { - let originalError = trace[_jsError$]; - if (core.identical(exception, dart.getThrown(originalError))) { - return originalError; - } - } - return new dart.RethrownDartError(exception, trace); - }; - dart.stackPrint = function stackPrint(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) { - if (obj == null) obj = _interceptors.jsNull; - if (method == null) method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); - return f; - }; - dart.bindCall = function bindCall(obj, name) { - if (obj == null) return null; - let ftype = dart.getMethodType(dart.getType(obj), name); - if (ftype == null) return null; - let method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = ftype; - return f; - }; - dart.gbind = function gbind(f, ...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) { - return dart.dload(obj, dart.replNameLookup(obj, field)); - }; - dart.dload = function dload(obj, field) { - if (typeof obj == "function" && field == "call") { - return obj; - } - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - 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})); - }; - dart._stripGenericArguments = function _stripGenericArguments(type) { - let genericClass = dart.getGenericClass(type); - if (genericClass != null) return genericClass(); - return type; - }; - dart.dputRepl = function dputRepl(obj, field, value) { - return dart.dput(obj, dart.replNameLookup(obj, field), value); - }; - dart.dput = function dput(obj, field, value) { - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - let setterType = dart.getSetterType(dart.getType(obj), f); - if (setterType != null) { - return obj[f] = setterType.as(value); - } - if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; - } - dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); - return value; - }; - dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - 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; - if (actualsCount < requiredCount) { - return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let extras = actualsCount - requiredCount; - let optionals = type.optionals; - if (extras > optionals.length) { - return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let names = null; - let named = type.named; - let requiredNamed = type.requiredNamed; - if (namedActuals != null) { - names = dart.getOwnPropertyNames(namedActuals); - for (let name of names) { - if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { - return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; - } - } - } - let requiredNames = dart.getOwnPropertyNames(requiredNamed); - if (dart.test(requiredNames[$isNotEmpty])) { - 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](", ")) + "."; - { - dart._nullWarn(error); - } - } - } - for (let i = 0; i < requiredCount; i = i + 1) { - required[i].as(actuals[i]); - } - for (let i = 0; i < extras; i = i + 1) { - optionals[i].as(actuals[i + requiredCount]); - } - if (names != null) { - for (let name of names) { - (named[name] || requiredNamed[name]).as(namedActuals[name]); - } - } - return null; - }; - dart._toSymbolName = function _toSymbolName(symbol) { - let str = symbol.toString(); - return str.substring(7, str.length - 1); - }; - 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; - }; - dart._dartSymbol = function _dartSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); - }; - dart._setterSymbol = function _setterSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); - }; - dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { - _debugger.trackCall(obj); - let originalTarget = obj === void 0 ? f : obj; - 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 instanceof Function)) { - if (f != null) { - originalTarget = f; - f = dart.bindCall(f, dart._canonicalMember(f, "call")); - ftype = null; - displayName = "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."); - } - if (named != null) args.push(named); - return f.apply(obj, args); - } - if (ftype instanceof dart.GenericFunctionType) { - let formalCount = ftype.formalCount; - 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); - } 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); - } - let errorMessage = dart._argumentErrors(ftype, args, named); - if (errorMessage == null) { - if (typeArgs != null) args = typeArgs.concat(args); - if (named != null) args.push(named); - return f.apply(obj, args); - } - return callNSM(errorMessage); - }; - dart.dcall = function dcall(f, args, named = null) { - return dart._checkAndCall(f, null, void 0, null, args, named, f.name); - }; - dart.dgcall = function dgcall(f, typeArgs, args, named = null) { - return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); - }; - dart.replNameLookup = function replNameLookup(object, field) { - let rawField = field; - if (typeof field == 'symbol') { - if (field in object) return field; - field = field.toString(); - field = field.substring('Symbol('.length, field.length - 1); - } else if (field.charAt(0) != '_') { - return field; - } - if (field in object) return field; - let proto = object; - while (proto !== null) { - let symbols = Object.getOwnPropertySymbols(proto); - let target = 'Symbol(' + field + ')'; - for (let s = 0; s < symbols.length; s++) { - let sym = symbols[s]; - if (target == sym.toString()) return sym; - } - proto = proto.__proto__; - } - return rawField; - }; - dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { - if (typeof obj == "function" && name == "call") { - return dart.dgcall(obj, typeArgs, args, named); - } - let symbol = dart._canonicalMember(obj, name); - if (symbol == null) { - return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); - } - let f = obj != null ? obj[symbol] : null; - let type = dart.getType(obj); - let ftype = dart.getMethodType(type, symbol); - return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); - }; - dart.dsend = function dsend(obj, method, args, named = null) { - return dart.callMethod(obj, method, null, args, named, method); - }; - dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, method, typeArgs, args, named, method); - }; - dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); - }; - dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); - }; - dart.dindex = function dindex(obj, index) { - return dart.callMethod(obj, "_get", null, [index], null, "[]"); - }; - dart.dsetindex = function dsetindex(obj, index, value) { - return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); - }; - dart.is = function instanceOf(obj, type) { - if (obj == null) { - return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; - } - return dart.isSubtypeOf(dart.getReifiedType(obj), type); - }; - dart.as = function cast(obj, type) { - if (obj == null && true) { - dart._nullWarnOnType(type); - return obj; - } else { - let actual = dart.getReifiedType(obj); - if (dart.isSubtypeOf(actual, type)) return obj; - } - return dart.castError(obj, type); - }; - dart.test = function test(obj) { - if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); - return obj; - }; - dart.dtest = function dtest(obj) { - if (!(typeof obj == 'boolean')) { - 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; - }; - dart.booleanConversionFailed = function booleanConversionFailed(obj) { - let actual = dart.typeName(dart.getReifiedType(obj)); - dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); - }; - dart.asInt = function asInt(obj) { - if (Math.floor(obj) != obj) { - if (obj == null && true) { - dart._nullWarnOnType(core.int); - return null; - } else { - dart.castError(obj, core.int); - } - } - return obj; - }; - dart.asNullableInt = function asNullableInt(obj) { - return obj == null ? null : dart.asInt(obj); - }; - dart.notNull = function _notNull(x) { - if (x == null) dart.throwNullValueError(); - return x; - }; - dart.nullCast = function nullCast(x, type) { - if (x == null) { - { - dart._nullWarnOnType(type); - } - } - return x; - }; - dart.nullCheck = function nullCheck(x) { - if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); - return x; - }; - dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - 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], 579, 34, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantMaps, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - map = dart._lookupNonTerminal(map, dart.wrapType(K)); - let result = map.get(V); - if (result != null) return result; - result = new (_js_helper.ImmutableMap$(K, V)).from(elements); - map.set(V, result); - return result; - }; - dart._createImmutableSet = function _createImmutableSet(E, 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], 603, 31, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantSets, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let result = map.get(E); - if (result != null) return result; - result = dart._createImmutableSet(E, elements); - map.set(E, result); - return result; - }; - dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { - for (let k of keys) { - let value = map.get(k); - if (!value) { - map.set(k, value = new Map()); - } - map = value; - } - if (map.has(dart._value)) return map.get(dart._value); - let value = valueFn(); - map.set(dart._value, value); - return value; - }; - dart.const = function const_(obj) { - let names = dart.getOwnNamesAndSymbols(obj); - let count = names.length; - let map = dart._lookupNonTerminal(dart.constants, count); - for (let i = 0; i < count; i++) { - let name = names[i]; - map = dart._lookupNonTerminal(map, name); - map = dart._lookupNonTerminal(map, obj[name]); - } - let type = dart.getReifiedType(obj); - let value = map.get(type); - if (value) return value; - map.set(type, obj); - return obj; - }; - dart.constList = function constList(elements, elementType) { - let count = elements.length; - let map = dart._lookupNonTerminal(dart.constantLists, count); - for (let i = 0; i < count; i++) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let value = map.get(elementType); - if (value) return value; - _interceptors.JSArray$(elementType).unmodifiable(elements); - map.set(elementType, elements); - return elements; - }; - dart.constFn = function constFn(x) { - return () => x; - }; - dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 721, 24, "name"); - return dartx[name]; - }; - dart.equals = function equals(x, y) { - return x == null ? y == null : x[$_equals](y); - }; - dart.hashCode = function hashCode(obj) { - return obj == null ? 0 : obj[$hashCode]; - }; - dart.toString = function _toString(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - return obj[$toString](); - }; - dart.str = function str(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - 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], 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], 767, 37, "i"); - dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); - }; - dart.runtimeType = function runtimeType(obj) { - return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; - }; - dart._canonicalMember = function _canonicalMember(obj, name) { - if (typeof name === "symbol") return name; - if (obj != null && obj[dart._extensionType] != null) { - return dartx[name]; - } - if (name == "constructor" || name == "prototype") { - name = "+" + name; - } - return name; - }; - dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { - let result = dart.deferredImports.get(enclosingLibrary); - if (dart.test(result === void 0)) { - dart.deferredImports.set(enclosingLibrary, result = new Set()); - } - result.add(importPrefix); - return async.Future.value(); - }; - dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { - let loaded = dart.deferredImports.get(enclosingLibrary); - if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { - dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); - } - }; - dart.defineLazy = function defineLazy(to, from, 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)); - } else { - dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); - } - } - }; - dart.defineLazyField = function defineLazyField(to, name, desc) { - const initializer = desc.get; - const final = desc.set == null; - let initialized = false; - let init = initializer; - let value = null; - let savedLocals = false; - desc.get = function() { - if (init == null) return value; - if (final && initialized) dart.throwLateInitializationError(name); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - initialized = false; - }); - savedLocals = true; - } - initialized = true; - try { - value = init(); - } catch (e) { - initialized = false; - throw e; - } - init = null; - return value; - }; - desc.configurable = true; - 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); - }; - 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); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - }); - savedLocals = true; - } - try { - value = f(); - init = null; - return value; - } catch (e) { - init = null; - value = null; - throw e; - } - }; - desc.configurable = true; - 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); - }; - dart.checkNativeNonNull = function checkNativeNonNull(variable) { - if (dart._nativeNonNullAsserts && variable == null) { - dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); - } - return variable; - }; - dart.fn = function fn(closure, type) { - { - closure[dart._runtimeType] = type; - } - return closure; - }; - dart.lazyFn = function lazyFn(closure, 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), - configurable: true - }); - return closure; - }; - dart.getFunctionType = function getFunctionType(obj) { - let args = Array(obj.length).fill(dart.dynamic); - return dart.fnType(dart.bottom, args, void 0); - }; - 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; - } - if (named != null) { - for (let name of named) { - let field = obj[name]; - types[$add](dart.getReifiedType(field)); - } - } - 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], 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], 194, 29, "moduleName"); - return dart._loadedSourceMaps.get(moduleName); - }; - dart.getModuleLibraries = function getModuleLibraries(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], 207, 25, "name"); - return dart._loadedPartMaps.get(name); - }; - dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - 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 = {}; - } - dart._loadedSourceMaps.set(moduleName, sourceMap); - dart._loadedModules.set(moduleName, libraries); - dart._loadedPartMaps.set(moduleName, parts); - dart._libraries = null; - dart._libraryObjects = null; - dart._parts = null; - }; - dart._computeLibraryMetadata = function _computeLibraryMetadata() { - dart._libraries = T$.JSArrayOfString().of([]); - dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); - dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); - let modules = dart.getModuleNames(); - for (let name of modules) { - let module = dart.getModuleLibraries(name); - let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); - dart.nullCheck(dart._libraries)[$addAll](libraries); - for (let library of libraries) { - dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); - } - let partMap = dart.getModulePartMap(name); - libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); - for (let library of libraries) { - dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); - } - } - }; - dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); - if (dart._libraryObjects == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraryObjects)[$_get](uri); - }; - dart.getLibraries = function getLibraries() { - if (dart._libraries == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraries); - }; - dart.getParts = function getParts(libraryUri) { - let t0; - if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); - if (dart._parts == null) { - dart._computeLibraryMetadata(); - } - t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); - return t0 == null ? T$.JSArrayOfString().of([]) : t0; - }; - dart.polyfill = function polyfill(window) { - if (window[dart._polyfilled]) return false; - window[dart._polyfilled] = true; - if (typeof window.NodeList !== "undefined") { - window.NodeList.prototype.get = function(i) { - return this[i]; - }; - window.NamedNodeMap.prototype.get = function(i) { - return this[i]; - }; - window.DOMTokenList.prototype.get = function(i) { - return this[i]; - }; - window.HTMLCollection.prototype.get = function(i) { - return this[i]; - }; - if (typeof window.PannerNode == "undefined") { - let audioContext; - if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { - audioContext = new window.webkitAudioContext(); - } else { - audioContext = new window.AudioContext(); - window.StereoPannerNode = audioContext.createStereoPanner().constructor; - } - window.PannerNode = audioContext.createPanner().constructor; - } - if (typeof window.AudioSourceNode == "undefined") { - window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; - } - if (typeof window.FontFaceSet == "undefined") { - if (typeof window.document.fonts != "undefined") { - window.FontFaceSet = window.document.fonts.__proto__.constructor; - } - } - if (typeof window.MemoryInfo == "undefined") { - if (typeof window.performance.memory != "undefined") { - window.MemoryInfo = function() { - }; - window.MemoryInfo.prototype = window.performance.memory.__proto__; - } - } - if (typeof window.Geolocation == "undefined") { - window.Geolocation == window.navigator.geolocation.constructor; - } - if (typeof window.Animation == "undefined") { - let d = window.document.createElement('div'); - if (typeof d.animate != "undefined") { - window.Animation = d.animate(d).constructor; - } - } - if (typeof window.SourceBufferList == "undefined") { - if ('MediaSource' in window) { - window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; - } - } - if (typeof window.SpeechRecognition == "undefined") { - window.SpeechRecognition = window.webkitSpeechRecognition; - window.SpeechRecognitionError = window.webkitSpeechRecognitionError; - window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; - } - } - return true; - }; - dart.trackProfile = function trackProfile(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], 179, 39, "value"); - dart.startAsyncSynchronously = value; - }; - dart.hotRestart = function hotRestart() { - dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart.resetFields) - f(); - dart.resetFields[$clear](); - for (let m of dart._cacheMaps) - m.clear(); - dart._cacheMaps[$clear](); - dart._nullComparisonSet.clear(); - dart.constantMaps.clear(); - dart.deferredImports.clear(); - }; - dart._throwInvalidFlagError = function _throwInvalidFlagError(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], 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], 43, 32, "showErrors"); - if (dart.test(showErrors) && false) { - dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); - } - if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { - dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); - } - dart._weakNullSafetyErrors = showErrors; - }; - dart.nonNullAsserts = function nonNullAsserts(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], 79, 32, "enable"); - dart._nativeNonNullAsserts = enable; - }; - dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; - }; - dart.assertInterop = function assertInterop(f) { - 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) { - return obj instanceof Function && obj[dart._runtimeType] != null; - }; - dart.tearoffInterop = function tearoffInterop(f) { - if (!dart._isJsObject(f) || f == null) return f; - let ret = dart._assertInteropExpando._get(f); - if (ret == null) { - ret = function(...arguments$) { - var args = arguments$.map(dart.assertInterop); - return f.apply(this, args); - }; - dart._assertInteropExpando._set(f, ret); - } - return ret; - }; - dart._warn = function _warn(arg) { - console.warn(arg); - }; - dart._nullWarn = function _nullWarn(message) { - if (dart._weakNullSafetyWarnings) { - dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); - } else if (dart._weakNullSafetyErrors) { - dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); - } - }; - dart._nullWarnOnType = function _nullWarnOnType(type) { - let result = dart._nullComparisonSet.has(type); - if (!dart.test(result)) { - dart._nullComparisonSet.add(type); - dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); - } - }; - dart.packageJSType = function packageJSType(name, staticInterop) { - let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; - let ret = map.get(name); - if (ret == null) { - ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); - map.set(name, ret); - } - return ret; - }; - dart.nullable = function nullable(type) { - let cached = type[dart._cachedNullable]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeNullable(type); - type[dart._cachedNullable] = cachedType; - return cachedType; - }; - dart._computeNullable = function _computeNullable(type) { - if (type instanceof dart.LegacyType) { - return dart.nullable(type.type); - } - if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { - return type; - } - if (type === dart.Never) return core.Null; - return new dart.NullableType.new(type); - }; - dart.legacy = function legacy(type) { - let cached = type[dart._cachedLegacy]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeLegacy(type); - type[dart._cachedLegacy] = cachedType; - return cachedType; - }; - dart._computeLegacy = function _computeLegacy(type) { - if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { - return type; - } - return new dart.LegacyType.new(type); - }; - dart.wrapType = function wrapType(type, isNormalized = false) { - if (type.hasOwnProperty(dart._typeObject)) { - return type[dart._typeObject]; - } - let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); - type[dart._typeObject] = result; - return result; - }; - dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - 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', []); - if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { - if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { - let normType = dart.fnType(normReturnType, core.List.as(normArgs)); - return dart.wrapType(normType, true); - } - let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); - return dart.wrapType(normType, true); - } - let normNamed = {}; - dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); - let normRequiredNamed = {}; - dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); - return dart.wrapType(normType, true); - } - if (type instanceof dart.GenericFunctionType) { - let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); - let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); - let substitutedTypes = []; - if (dart.test(normBounds[$contains](dart.Never))) { - for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { - let substitutedType = normBounds[$_get](i); - while (dart.test(formals[$contains](substitutedType))) { - substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); - } - if (dart.equals(substitutedType, dart.Never)) { - substitutedTypes[$add](dart.Never); - } else { - substitutedTypes[$add](formals[$_get](i)); - } - } - } else { - substitutedTypes = formals; - } - let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); - let typeObjectIdKey = []; - typeObjectIdKey.push(...normBounds); - typeObjectIdKey.push(normFunc); - let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); - return dart.wrapType(memoizedId, true); - } - let args = dart.getGenericArgs(type); - let normType = null; - if (args == null || dart.test(args[$isEmpty])) { - normType = type; - } else { - let genericClass = dart.getGenericClass(type); - let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); - normType = genericClass(...normArgs); - } - return dart.wrapType(normType, true); - }; - dart._transformJSObject = function _transformJSObject(srcObject, dstObject, 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], 605, 24, "obj"); - return obj[_type$]; - }; - dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 650, 49, "count"); - while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { - dart._fillTypeVariable(); - } - return dart._typeVariablePool[$sublist](0, count); - }; - dart._fillTypeVariable = function _fillTypeVariable() { - if (dart.notNull(dart._typeVariablePool[$length]) < 26) { - dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); - } else { - dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); - } - }; - dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 672, 32, "create"); - return (() => { - let len = arr.length; - map = dart._lookupNonTerminal(map, len); - for (var i = 0; i < len - 1; ++i) { - map = dart._lookupNonTerminal(map, arr[i]); - } - let result = map.get(arr[len - 1]); - if (result !== void 0) return result; - map.set(arr[len - 1], result = create()); - return result; - })(); - }; - dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 684, 30, "array"); - return dart._memoizeArray(map, array, () => array); - }; - dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { - let key = []; - let names = dart.getOwnPropertyNames(named); - for (var i = 0; i < names.length; ++i) { - let name = names[i]; - let type = named[name]; - key.push(name); - key.push(type); - } - return dart._memoizeArray(map, key, () => named); - }; - dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 704, 44, "required"); - return (() => { - let count = required.length; - let map = dart._fnTypeSmallMap[count]; - for (var i = 0; i < count; ++i) { - map = dart._lookupNonTerminal(map, required[i]); - } - let result = map.get(returnType); - if (result !== void 0) return result; - result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); - map.set(returnType, result); - return result; - })(); - }; - dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { - let str = typeConstructor.toString(); - let hasParens = str[$_get](0) === "("; - let end = str[$indexOf](hasParens ? ")" : "=>"); - if (hasParens) { - return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); - return new dart.TypeVariable.new(n[$trim]()); - })[$toList](); - } else { - return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); - } - }; - dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); - return dart.FunctionType.create(returnType, args, optional, requiredNamed); - }; - dart.gFnType = function gFnType(instantiateFn, typeBounds) { - return new dart.GenericFunctionType.new(instantiateFn, typeBounds); - }; - dart.isType = function isType(obj) { - return obj[dart._runtimeType] === core.Type; - }; - dart.checkTypeBound = function checkTypeBound(type, bound, name) { - if (!dart.isSubtypeOf(type, bound)) { - dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); - } - }; - dart.typeName = function typeName(type) { - if (type === void 0) return "undefined type"; - if (type === null) return "null type"; - if (type instanceof dart.DartType) { - return type.toString(); - } - let tag = type[dart._runtimeType]; - if (tag === core.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 + "<"; - 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; - } - 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; - let args2Length = args2.length; - if (args1Length > args2Length) { - return false; - } - 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; - let optionals2Length = optionals2.length; - if (args1Length + optionals1Length < args2Length + optionals2Length) { - return false; - } - let j = 0; - 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 < optionals2Length; i = i + 1, j = j + 1) { - if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { - return false; - } - } - let named1 = ft1.named; - let requiredNamed1 = ft1.requiredNamed; - let named2 = ft2.named; - let requiredNamed2 = ft2.requiredNamed; - if (!strictMode) { - named1 = Object.assign({}, named1, requiredNamed1); - named2 = Object.assign({}, named2, requiredNamed2); - requiredNamed1 = {}; - requiredNamed2 = {}; - } - let names = dart.getOwnPropertyNames(requiredNamed1); - 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) { - return false; - } - } - names = dart.getOwnPropertyNames(named2); - namesLength = names.length; - for (let i = 0; i < namesLength; i = i + 1) { - let name = names[i]; - let n1 = named1[name]; - let n2 = named2[name]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - names = dart.getOwnPropertyNames(requiredNamed2); - 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]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - return dart._isSubtype(ret1, ret2, strictMode); - }; - 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 && 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) + "."); - } - } - map.set(t2, validSubtype); - return validSubtype; - }; - dart._isBottom = function _isBottom(type, strictMode) { - return type === dart.Never || !strictMode && type === core.Null; - }; - dart._isTop = function _isTop(type) { - if (type instanceof dart.NullableType) return type.type === core.Object; - return type === dart.dynamic || type === dart.void; - }; - dart._isFutureOr = function _isFutureOr(type) { - let genericClass = dart.getGenericClass(type); - return !!genericClass && genericClass === async.FutureOr$; - }; - dart._isSubtype = function _isSubtype(t1, t2, strictMode) { - if (!strictMode) { - if (t1 instanceof dart.NullableType) { - t1 = t1.type; - } - if (t2 instanceof dart.NullableType) { - t2 = t2.type; - } - } - if (t1 === t2) { - return true; - } - if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { - return true; - } - if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(T$.ObjectN(), t2, strictMode); - } - if (t2 === core.Object) { - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - return dart._isSubtype(t1TypeArg, core.Object, strictMode); - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t1 === core.Null || t1 instanceof dart.NullableType) { - return false; - } - return true; - } - if (t1 === core.Null) { - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - return dart._isSubtype(core.Null, t2TypeArg, strictMode); - } - return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t2 instanceof dart.LegacyType) { - return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); - } - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { - return true; - } - } - let t1Future = async.Future$(t1TypeArg); - return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); - } - if (t1 instanceof dart.NullableType) { - return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); - } - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - let t2Future = async.Future$(t2TypeArg); - return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, 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 (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); - } - if (!(t1 instanceof dart.AbstractFunctionType)) { - return false; - } - if (t1 instanceof dart.GenericFunctionType) { - if (!(t2 instanceof dart.GenericFunctionType)) { - return false; - } - let formalCount = t1.formalCount; - if (formalCount !== t2.formalCount) { - return false; - } - let fresh1 = null; - let fresh2 = null; - if (t1.hasTypeBounds || t2.hasTypeBounds) { - 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(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 === t2) { - return true; - } - if (t1 === core.Object) { - return false; - } - if (t1 === core.Function || t2 === core.Function) { - return false; - } - 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("Internal type check failure."); - } - let variances = dart.getGenericArgVariances(t1); - 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 (varianceType == 2) { - if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } else if (varianceType == 3) { - if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } - } - return true; - } - if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { - return true; - } - let m1 = dart.getMixin(t1); - if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { - return true; - } - let getInterfaces = dart.getImplements(t1); - if (getInterfaces != null) { - for (let i1 of getInterfaces()) { - if (dart._isInterfaceSubtype(i1, t2, strictMode)) { - return true; - } - } - } - return false; - }; - dart.extractTypeArguments = function extractTypeArguments(T, instance, 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.")); - } - let type = T; - type = type.type || type; - if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { - dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); - } - let typeArguments = dart.getGenericArgs(type); - if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { - 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], 1860, 10, "supertype != null"); - let typeArgs = dart.getGenericArgs(supertype); - 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], 2223, 55, "supertype"); - if (core.identical(subtype, supertype)) return supertype; - if (subtype == null || subtype === core.Object) return null; - let subclass = dart.getGenericClass(subtype); - let superclass = dart.getGenericClass(supertype); - if (subclass != null && core.identical(subclass, superclass)) { - return subtype; - } - let result = dart._getMatchingSupertype(subtype.__proto__, supertype); - if (result != null) return result; - let mixin = dart.getMixin(subtype); - if (mixin != null) { - result = dart._getMatchingSupertype(mixin, supertype); - if (result != null) return result; - } - let getInterfaces = dart.getImplements(subtype); - if (getInterfaces != null) { - for (let iface of getInterfaces()) { - result = dart._getMatchingSupertype(iface, supertype); - if (result != null) return result; - } - } - 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], 40, 28, "message"); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); - }; - dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 45, 32, "message"); - throw Error(message); - }; - dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { - let names = dart.getOwnPropertyNames(obj); - let symbols = dart.getOwnPropertySymbols(obj); - return names.concat(symbols); - }; - dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { - if (obj.hasOwnProperty(name)) return obj[name]; - }; - dart.copyTheseProperties = function copyTheseProperties(to, from, names) { - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (dart.equals(name, "constructor")) continue; - dart.copyProperty(to, from, name); - } - return to; - }; - dart.copyProperty = function copyProperty(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - dart.defineProperty(to, name, desc); - }; - dart.export = function exportProperty(to, from, name) { - return dart.copyProperty(to, from, name); - }; - dart.copyProperties = function copyProperties(to, from) { - return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); - }; - dart._polyfilled = Symbol("_polyfilled"); - dart.global = (function() { - var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; - if (!globalState) { - globalState = new Function('return this;')(); - } - dart.polyfill(globalState); - if (globalState.Error) { - globalState.Error.stackTraceLimit = Infinity; - } - let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; - dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); - return globalState; - })(); - dart.JsSymbol = Symbol; - dart.libraryPrototype = dart.library; - dart.startAsyncSynchronously = true; - dart._cacheMaps = []; - dart.resetFields = []; - dart.hotRestartIteration = 0; - dart.addAsyncCallback = function() { - }; - dart.removeAsyncCallback = function() { - }; - dart.defineProperty = Object.defineProperty; - dart.defineAccessor = Object.defineProperty; - dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - dart.getOwnPropertyNames = Object.getOwnPropertyNames; - dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; - dart.getPrototypeOf = Object.getPrototypeOf; - dart._mixin = Symbol("mixin"); - dart.mixinOn = Symbol("mixinOn"); - dart.implements = Symbol("implements"); - dart._typeArguments = Symbol("typeArguments"); - dart._variances = Symbol("variances"); - dart._originalDeclaration = Symbol("originalDeclaration"); - dart.mixinNew = Symbol("dart.mixinNew"); - dart._constructorSig = Symbol("sigCtor"); - dart._methodSig = Symbol("sigMethod"); - dart._fieldSig = Symbol("sigField"); - dart._getterSig = Symbol("sigGetter"); - dart._setterSig = Symbol("sigSetter"); - dart._staticMethodSig = Symbol("sigStaticMethod"); - dart._staticFieldSig = Symbol("sigStaticField"); - dart._staticGetterSig = Symbol("sigStaticGetter"); - dart._staticSetterSig = Symbol("sigStaticSetter"); - dart._genericTypeCtor = Symbol("genericType"); - 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"); - dart.isMap = Symbol("_is_Map"); - dart.isStream = Symbol("_is_Stream"); - dart.isStreamSubscription = Symbol("_is_StreamSubscription"); - dart.identityEquals = null; - dart._runtimeType = Symbol("_runtimeType"); - dart._moduleName = Symbol("_moduleName"); - dart._loadedModules = new Map(); - dart._loadedPartMaps = new Map(); - dart._loadedSourceMaps = new Map(); - dart._libraries = null; - dart._libraryObjects = null; - dart._parts = null; - dart._weakNullSafetyWarnings = false; - dart._weakNullSafetyErrors = false; - dart._nonNullAsserts = false; - dart._nativeNonNullAsserts = false; - dart.metadata = Symbol("metadata"); - 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"); - } - static is(o) { - return o != null; - } - 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; - } - get hashCode() { - return core.identityHashCode(this); - } - toString() { - return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; - } - noSuchMethod(invocation) { - if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); - return dart.defaultNoSuchMethod(this, invocation); - } - 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() { - ; - }).prototype = core.Object.prototype; - dart.addTypeCaches(core.Object); - dart.setMethodSignature(core.Object, () => ({ - __proto__: Object.create(null), - _equals: dart.fnType(core.bool, [core.Object]), - [$_equals]: dart.fnType(core.bool, [core.Object]), - toString: dart.fnType(core.String, []), - [$toString]: dart.fnType(core.String, []), - 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, - [$hashCode]: core.int, - runtimeType: core.Type, - [$runtimeType]: core.Type - })); - 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']); - dart.registerExtension("Object", core.Object); - dart.DartType = class DartType extends core.Object { - get name() { - return this[$toString](); - } - is(object) { - return dart.is(object, this); - } - as(object) { - return dart.as(object, this); - } - static ['_#new#tearOff']() { - return new dart.DartType.new(); - } - }; - (dart.DartType.new = function() { - { - dart.addTypeCaches(this); - } - }).prototype = dart.DartType.prototype; - dart.addTypeTests(dart.DartType); - dart.addTypeCaches(dart.DartType); - dart.DartType[dart.implements] = () => [core.Type]; - dart.setMethodSignature(dart.DartType, () => ({ - __proto__: dart.getMethods(dart.DartType.__proto__), - is: dart.fnType(core.bool, [dart.dynamic]), - as: dart.fnType(dart.dynamic, [dart.dynamic]) - })); - dart.setGetterSignature(dart.DartType, () => ({ - __proto__: dart.getGetters(dart.DartType.__proto__), - name: core.String - })); - 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); - ; - }).prototype = dart.NeverType.prototype; - dart.addTypeTests(dart.NeverType); - dart.addTypeCaches(dart.NeverType); - dart.setLibraryUri(dart.NeverType, I[10]); - dart.defineExtensionMethods(dart.NeverType, ['toString']); - dart.Never = new dart.NeverType.new(); - dart.DynamicType = class DynamicType extends dart.DartType { - toString() { - return "dynamic"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.DynamicType.new(); - } - }; - (dart.DynamicType.new = function() { - dart.DynamicType.__proto__.new.call(this); - ; - }).prototype = dart.DynamicType.prototype; - dart.addTypeTests(dart.DynamicType); - dart.addTypeCaches(dart.DynamicType); - 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[10]); - dart.defineExtensionMethods(dart.DynamicType, ['toString']); - dart.dynamic = new dart.DynamicType.new(); - dart.VoidType = class VoidType extends dart.DartType { - toString() { - return "void"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.VoidType.new(); - } - }; - (dart.VoidType.new = function() { - dart.VoidType.__proto__.new.call(this); - ; - }).prototype = dart.VoidType.prototype; - dart.addTypeTests(dart.VoidType); - dart.addTypeCaches(dart.VoidType); - 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[10]); - dart.defineExtensionMethods(dart.VoidType, ['toString']); - dart.void = new dart.VoidType.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"); - dart._stackTrace = Symbol("_stackTrace"); - dart.DartError = class DartError extends Error { - constructor(error) { - super(); - if (error == null) error = new core.NullThrownError.new(); - this[dart._thrownValue] = error; - if (error != null && typeof error == "object" && error[dart._jsError] == null) { - error[dart._jsError] = this; - } - } - get message() { - return dart.toString(this[dart._thrownValue]); - } - }; - dart.RethrownDartError = class RethrownDartError extends dart.DartError { - constructor(error, stackTrace) { - super(error); - this[dart._stackTrace] = stackTrace; - } - get message() { - return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; - } - }; - dart.constantMaps = new Map(); - dart.constantSets = new Map(); - dart._immutableSetConstructor = null; - dart._value = Symbol("_value"); - dart.constants = new Map(); - dart.constantLists = new Map(); - dart.identityHashCode_ = Symbol("_identityHashCode"); - dart.JsIterator = class JsIterator { - constructor(dartIterator) { - this.dartIterator = dartIterator; - } - next() { - let i = this.dartIterator; - let done = !i.moveNext(); - return {done: done, value: done ? void 0 : i.current}; - } - }; - dart.deferredImports = new Map(); - dart.defineLazy(dart, { - /*dart._assertInteropExpando*/get _assertInteropExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _assertInteropExpando(value) { - if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); - }, - /*dart.bottom*/get bottom() { - return core.Null; - }, - /*dart._typeVariablePool*/get _typeVariablePool() { - return T$.JSArrayOfTypeVariable().of([]); - } - }, false); - var type$ = dart.privateName(dart, "NullableType.type"); - dart.NullableType = class NullableType extends dart.DartType { - get type() { - return this[type$]; - } - 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) + "?"; - } - toString() { - return this.name; - } - is(obj) { - return obj == null || this.type.is(obj); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } - }; - (dart.NullableType.new = function(type) { - this[type$] = type; - dart.NullableType.__proto__.new.call(this); - ; - }).prototype = dart.NullableType.prototype; - dart.addTypeTests(dart.NullableType); - dart.addTypeCaches(dart.NullableType); - dart.setLibraryUri(dart.NullableType, I[10]); - dart.setFieldSignature(dart.NullableType, () => ({ - __proto__: dart.getFields(dart.NullableType.__proto__), - type: dart.finalFieldType(core.Type) - })); - dart.defineExtensionMethods(dart.NullableType, ['toString']); - var type$0 = dart.privateName(dart, "LegacyType.type"); - dart.LegacyType = class LegacyType extends dart.DartType { - get type() { - return this[type$0]; - } - 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); - } - toString() { - return this.name; - } - is(obj) { - if (obj == null) { - 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); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } - }; - (dart.LegacyType.new = function(type) { - this[type$0] = type; - dart.LegacyType.__proto__.new.call(this); - ; - }).prototype = dart.LegacyType.prototype; - dart.addTypeTests(dart.LegacyType); - dart.addTypeCaches(dart.LegacyType); - dart.setLibraryUri(dart.LegacyType, I[10]); - dart.setFieldSignature(dart.LegacyType, () => ({ - __proto__: dart.getFields(dart.LegacyType.__proto__), - type: dart.finalFieldType(core.Type) - })); - dart.defineExtensionMethods(dart.LegacyType, ['toString']); - 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); - ; - }).prototype = dart.BottomType.prototype; - dart.addTypeTests(dart.BottomType); - dart.addTypeCaches(dart.BottomType); - dart.setLibraryUri(dart.BottomType, I[10]); - dart.defineExtensionMethods(dart.BottomType, ['toString']); - core.Type = class Type extends core.Object {}; - (core.Type.new = function() { - ; - }).prototype = core.Type.prototype; - dart.addTypeTests(core.Type); - dart.addTypeCaches(core.Type); - 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$]); - } - get runtimeType() { - return dart.wrapType(core.Type); - } - }; - (dart._Type.new = function(_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[10]); - dart.setFieldSignature(dart._Type, () => ({ - __proto__: dart.getFields(dart._Type.__proto__), - [_type$]: dart.finalFieldType(core.Object) - })); - dart.defineExtensionMethods(dart._Type, ['toString']); - dart.defineExtensionAccessors(dart._Type, ['runtimeType']); - dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; - (dart.AbstractFunctionType.new = function() { - dart.AbstractFunctionType.__proto__.new.call(this); - ; - }).prototype = dart.AbstractFunctionType.prototype; - dart.addTypeTests(dart.AbstractFunctionType); - dart.addTypeCaches(dart.AbstractFunctionType); - 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"); - var named$ = dart.privateName(dart, "FunctionType.named"); - var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); - var _stringValue = dart.privateName(dart, "_stringValue"); - var _createNameMap = dart.privateName(dart, "_createNameMap"); - dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { - get returnType() { - return this[returnType$]; - } - set returnType(value) { - super.returnType = value; - } - get args() { - return this[args$]; - } - set args(value) { - super.args = value; - } - get optionals() { - return this[optionals$]; - } - set optionals(value) { - super.optionals = value; - } - get named() { - return this[named$]; - } - set named(value) { - super.named = value; - } - get requiredNamed() { - return this[requiredNamed$]; - } - set requiredNamed(value) { - super.requiredNamed = value; - } - static create(returnType, args, optionalArgs, requiredNamedArgs) { - 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); - } - args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); - let keys = []; - let create = null; - if (noOptionalArgs) { - keys = [returnType, args]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); - } else if (optionalArgs instanceof Array) { - let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); - keys = [returnType, args, optionals]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); - } else { - let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); - let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); - keys = [returnType, args, named, requiredNamed]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); - } - 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; - } - get requiredParameterCount() { - return this.args[$length]; - } - get positionalParameterCount() { - return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); - } - getPositionalParameter(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], 782, 52, "names"); - let result = new (T$.IdentityMapOfString$Object()).new(); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - let name = names[i]; - result[$_set](name, this.named[name]); - } - return result; - } - getNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); - } - getRequiredNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); - } - get name() { - if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); - let buffer = "("; - for (let i = 0; i < this.args.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.args[i]); - } - if (this.optionals.length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "["; - for (let i = 0; i < this.optionals.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.optionals[i]); - } - buffer = buffer + "]"; - } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "{"; - let names = dart.getOwnPropertyNames(this.named); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.named[names[i]]); - buffer = buffer + (typeNameString + " " + dart.str(names[i])); - } - if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; - names = dart.getOwnPropertyNames(this.requiredNamed); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.requiredNamed[names[i]]); - buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); - } - buffer = buffer + "}"; - } - let returnTypeName = dart.typeName(this.returnType); - buffer = buffer + (") => " + returnTypeName); - this[_stringValue] = buffer; - return buffer; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - 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.FunctionType.new = function(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"); - this[_stringValue] = null; - this[returnType$] = returnType; - this[args$] = args; - this[optionals$] = optionals; - this[named$] = named; - this[requiredNamed$] = requiredNamed; - dart.FunctionType.__proto__.new.call(this); - ; - }).prototype = dart.FunctionType.prototype; - dart.addTypeTests(dart.FunctionType); - dart.addTypeCaches(dart.FunctionType); - dart.setMethodSignature(dart.FunctionType, () => ({ - __proto__: dart.getMethods(dart.FunctionType.__proto__), - getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), - [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), - 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[10]); - dart.setFieldSignature(dart.FunctionType, () => ({ - __proto__: dart.getFields(dart.FunctionType.__proto__), - returnType: dart.finalFieldType(core.Type), - args: dart.finalFieldType(core.List), - optionals: dart.finalFieldType(core.List), - named: dart.finalFieldType(dart.dynamic), - requiredNamed: dart.finalFieldType(dart.dynamic), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(dart.FunctionType, ['toString']); - var name$ = dart.privateName(dart, "TypeVariable.name"); - dart.TypeVariable = class TypeVariable extends dart.DartType { - get name() { - return this[name$]; - } - 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], 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[10]); - dart.setFieldSignature(dart.TypeVariable, () => ({ - __proto__: dart.getFields(dart.TypeVariable.__proto__), - name: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(dart.TypeVariable, ['toString']); - 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[10]); - dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); - dart.defineLazy(dart.Variance, { - /*dart.Variance.unrelated*/get unrelated() { - return 0; - }, - /*dart.Variance.covariant*/get covariant() { - return 1; - }, - /*dart.Variance.contravariant*/get contravariant() { - return 2; - }, - /*dart.Variance.invariant*/get invariant() { - return 3; - } - }, false); - var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); - var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); - var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); - dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { - get typeFormals() { - return this[typeFormals$]; - } - set typeFormals(value) { - super.typeFormals = value; - } - get typeBounds() { - return this[typeBounds$]; - } - set typeBounds(value) { - super.typeBounds = value; - } - get function() { - return this[$function$]; - } - 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 = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.typeBounds; - for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { - 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) || true && bound === core.Object) { - continue; - } - s = s + (" extends " + dart.str(bound)); - } - s = s + (">" + dart.notNull(dart.toString(this.function))); - return this[_stringValue] = s; - } - }; - (dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); - this[_stringValue] = null; - this[typeFormals$] = typeFormals; - this[typeBounds$] = typeBounds; - this[$function$] = $function; - dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); - ; - }).prototype = dart.GenericFunctionTypeIdentifier.prototype; - dart.addTypeTests(dart.GenericFunctionTypeIdentifier); - dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); - dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); - dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ - __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), - typeFormals: dart.finalFieldType(dart.dynamic), - typeBounds: dart.finalFieldType(dart.dynamic), - function: dart.finalFieldType(dart.FunctionType), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); - var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); - var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); - var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); - var _typeFormals = dart.privateName(dart, "_typeFormals"); - dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { - get formalCount() { - return this[formalCount]; - } - set formalCount(value) { - super.formalCount = value; - } - static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { - return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); - } - get typeFormals() { - return this[_typeFormals]; - } - get hasTypeBounds() { - return this[_instantiateTypeBounds$] != null; - } - checkBounds(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; - for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { - dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); - } - } - instantiate(typeArgs) { - let parts = this[_instantiateTypeParts].apply(null, typeArgs); - return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); - } - instantiateTypeBounds(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)); - } - return this[_instantiateTypeBounds$].apply(null, typeArgs); - } - toString() { - let s = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { - if (i !== 0) s = s + ", "; - s = s + typeFormals[i].name; - let bound = typeBounds[$_get](i); - if (bound !== dart.dynamic && bound !== core.Object) { - s = s + (" extends " + dart.str(bound)); - } - } - s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); - return s; - } - instantiateDefaultBounds() { - function defaultsToDynamic(type) { - if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { - return type.type === core.Object; - } - return false; - } - let typeFormals = this.typeFormals; - let all = new (T$.IdentityMapOfTypeVariable$int()).new(); - let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); - let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { - let typeFormal = typeFormals[$_get](i); - let bound = typeBounds[$_get](i); - all[$_set](typeFormal, i); - if (dart.test(defaultsToDynamic(bound))) { - defaults[$_set](i, dart.dynamic); - } else { - defaults[$_set](i, typeFormal); - partials[$_set](typeFormal, bound); - } - } - function hasFreeFormal(t) { - if (dart.test(partials[$containsKey](t))) return true; - if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { - return hasFreeFormal(t.type); - } - let typeArgs = dart.getGenericArgs(t); - if (typeArgs != null) return typeArgs[$any](hasFreeFormal); - if (dart.GenericFunctionType.is(t)) { - return hasFreeFormal(t.instantiate(t.typeFormals)); - } - if (dart.FunctionType.is(t)) { - return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); - } - return false; - } - let hasProgress = true; - while (hasProgress) { - hasProgress = false; - for (let typeFormal of partials[$keys]) { - let partialBound = dart.nullCheck(partials[$_get](typeFormal)); - if (!dart.test(hasFreeFormal(partialBound))) { - let index = dart.nullCheck(all[$_get](typeFormal)); - defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); - partials[$remove](typeFormal); - hasProgress = true; - break; - } - } - } - if (dart.test(partials[$isNotEmpty])) { - dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); - } - return defaults; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - return actual != null && dart.isSubtypeOf(actual, this); - } - return false; - } - as(obj) { - if (this.is(obj)) return obj; - return dart.as(obj, this); - } - }; - (dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { - this[_instantiateTypeBounds$] = _instantiateTypeBounds; - this[_instantiateTypeParts] = instantiateTypeParts; - this[formalCount] = instantiateTypeParts.length; - this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); - dart.GenericFunctionType.__proto__.new.call(this); - ; - }).prototype = dart.GenericFunctionType.prototype; - dart.addTypeTests(dart.GenericFunctionType); - dart.addTypeCaches(dart.GenericFunctionType); - dart.setMethodSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), - checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), - instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), - instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), - instantiateDefaultBounds: dart.fnType(core.List, []) - })); - dart.setGetterSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), - typeFormals: core.List$(dart.TypeVariable), - hasTypeBounds: core.bool - })); - dart.setLibraryUri(dart.GenericFunctionType, I[10]); - dart.setFieldSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getFields(dart.GenericFunctionType.__proto__), - [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), - formalCount: dart.finalFieldType(core.int), - [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), - [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) - })); - dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); - var _typeVariables = dart.privateName(dart, "_typeVariables"); - var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); - var _constrainLower = dart.privateName(dart, "_constrainLower"); - var _constrainUpper = dart.privateName(dart, "_constrainUpper"); - 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]) { - if (constraint.lower != null) { - result[$add](dart.nullCheck(constraint.lower)); - } else if (constraint.upper != null) { - result[$add](dart.nullCheck(constraint.upper)); - } else { - return null; - } - } - return result; - } - trySubtypeMatch(subtype, 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], 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], 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 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; - } - if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { - return false; - } - if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { - return false; - } - for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { - return false; - } - } - let supertypeNamed = supertype.getNamedParameters(); - let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); - let subtypeNamed = supertype.getNamedParameters(); - let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - { - supertypeNamed = (() => { - let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); - t0[$addAll](supertypeRequiredNamed); - return t0; - })(); - subtypeNamed = (() => { - let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); - t1[$addAll](subtypeRequiredNamed); - return t1; - })(); - supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - } - for (let name of subtypeRequiredNamed[$keys]) { - let supertypeParamType = supertypeRequiredNamed[$_get](name); - if (supertypeParamType == null) return false; - } - for (let name of supertypeNamed[$keys]) { - let subtypeParamType = subtypeNamed[$_get](name); - if (subtypeParamType == null) return false; - if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { - return false; - } - } - for (let name of supertypeRequiredNamed[$keys]) { - 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; - } - } - return true; - } - [_isInterfaceSubtypeMatch](subtype, 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)); - let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); - for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { - return false; - } - } - return true; - } - [_isSubtypeMatch](subtype, 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; - } - if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { - this[_constrainLower](supertype, subtype); - return true; - } - if (core.identical(subtype, supertype)) return true; - if (dart.test(this[_isTop$](supertype))) return true; - if (subtype === core.Null) return true; - if (dart._isFutureOr(subtype)) { - let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); - } - let subtypeFuture = async.Future$(subtypeArg); - return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); - } - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - let supertypeFuture = async.Future$(supertypeArg); - return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); - } - if (dart.TypeVariable.is(subtype)) { - return dart.TypeVariable.is(supertype) && subtype == supertype; - } - if (dart.GenericFunctionType.is(subtype)) { - if (dart.GenericFunctionType.is(supertype)) { - let formalCount = subtype.formalCount; - 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 < formalCount; i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { - return false; - } - } - return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); - } else { - return false; - } - } else if (dart.GenericFunctionType.is(supertype)) { - return false; - } - if (dart.FunctionType.is(subtype)) { - if (!dart.FunctionType.is(supertype)) { - if (supertype === core.Function || supertype === core.Object) { - return true; - } else { - return false; - } - } - if (dart.FunctionType.is(supertype)) { - return this[_isFunctionSubtypeMatch](subtype, supertype); - } - } - return this[_isInterfaceSubtypeMatch](subtype, supertype); - } - [_isTop$](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], 1873, 40, "typeVariables"); - this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); - return new dart.TypeConstraint.new(); - })); - ; - }).prototype = dart._TypeInferrer.prototype; - dart.addTypeTests(dart._TypeInferrer); - dart.addTypeCaches(dart._TypeInferrer); - dart.setMethodSignature(dart._TypeInferrer, () => ({ - __proto__: dart.getMethods(dart._TypeInferrer.__proto__), - getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), - trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), - [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), - [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isTop$]: dart.fnType(core.bool, [core.Object]) - })); - 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)) - })); - var lower = dart.privateName(dart, "TypeConstraint.lower"); - var upper = dart.privateName(dart, "TypeConstraint.upper"); - dart.TypeConstraint = class TypeConstraint extends core.Object { - get lower() { - return this[lower]; - } - set lower(value) { - this[lower] = value; - } - get upper() { - return this[upper]; - } - set upper(value) { - this[upper] = value; - } - [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); - let _lower = this.lower; - if (_lower != null) { - if (dart.isSubtypeOf(_lower, type)) { - return; - } - if (!dart.isSubtypeOf(type, _lower)) { - type = core.Null; - } - } - this.lower = type; - } - [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); - let _upper = this.upper; - if (_upper != null) { - if (dart.isSubtypeOf(type, _upper)) { - return; - } - if (!dart.isSubtypeOf(_upper, type)) { - type = core.Object; - } - } - this.upper = type; - } - 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; - this[upper] = null; - ; - }).prototype = dart.TypeConstraint.prototype; - dart.addTypeTests(dart.TypeConstraint); - dart.addTypeCaches(dart.TypeConstraint); - dart.setMethodSignature(dart.TypeConstraint, () => ({ - __proto__: dart.getMethods(dart.TypeConstraint.__proto__), - [_constrainLower]: dart.fnType(dart.void, [core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [core.Object]) - })); - 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$]; - let trace = ""; - if (e != null && typeof e === "object") { - trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; - let mapper = _debugger.stackTraceMapper; - if (trace != null && mapper != null) { - trace = mapper(trace); - } - } - if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { - let jsToString = null; - try { - jsToString = "" + this[_jsObjectMissingTrace]; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - jsToString = ""; - } else - throw e$; - } - trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); - } - return this[_trace] = trace; - } - }; - (dart._StackTrace.new = function(_jsError) { - this[_trace] = null; - this[_jsError$] = _jsError; - this[_jsObjectMissingTrace] = null; - ; - }).prototype = dart._StackTrace.prototype; - (dart._StackTrace.missing = function(caughtObj) { - this[_trace] = null; - this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; - this[_jsError$] = Error(); - ; - }).prototype = dart._StackTrace.prototype; - dart.addTypeTests(dart._StackTrace); - dart.addTypeCaches(dart._StackTrace); - dart._StackTrace[dart.implements] = () => [core.StackTrace]; - dart.setLibraryUri(dart._StackTrace, I[10]); - dart.setFieldSignature(dart._StackTrace, () => ({ - __proto__: dart.getFields(dart._StackTrace.__proto__), - [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), - [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), - [_trace]: dart.fieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(dart._StackTrace, ['toString']); - var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); - var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); - var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); - var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); - var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); - var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); - var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); - var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); - let const$; - let const$0; - dart.defineLazy(CT, { - get C0() { - return C[0] = dart.const({ - __proto__: _internal.SentinelValue.prototype, - [SentinelValue_id]: 0 - }); - }, - get C1() { - return C[1] = dart.constList([], T$.TypeL()); - }, - get C2() { - return C[2] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); - }, - get C3() { - return C[3] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" - }); - }, - get C4() { - return C[4] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" - }); - }, - get C5() { - return C[5] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" - }); - }, - get C6() { - return C[6] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" - }); - }, - get C7() { - return C[7] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" - }); - }, - get C8() { - return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); - }, - get C9() { - return C[9] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); - }, - get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); - }, - get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); - }, - get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); - }, - get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); - }, - get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); - }, - get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); - }, - get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); - }, - get C17() { - return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); - }, - get C18() { - return C[18] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); - }, - get C19() { - return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); - }, - get C20() { - return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); - }, - get C21() { - return C[21] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); - }, - get C22() { - 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({ - __proto__: _internal._Patch.prototype - }); - }, - get C24() { - return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); - }, - get C25() { - 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('_arguments', _arguments$0)); - }, - get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); - }, - get C28() { - return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); - }, - get C29() { - return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); - }, - get C30() { - return C[30] = dart.applyExtensionForTesting; - }, - get C31() { - return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); - }, - get C32() { - return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); - }, - get C33() { - return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); - }, - get C34() { - return C[34] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); - }, - get C35() { - return C[35] = dart.const({ - __proto__: _js_helper._Undefined.prototype - }); - }, - get C36() { - return C[36] = dart.const({ - __proto__: _js_helper._NullCheck.prototype - }); - }, - get C37() { - return C[37] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false - }); - }, - get C38() { - return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); - }, - get C39() { - return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); - }, - get C40() { - return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); - }, - get C41() { - return C[41] = dart.const({ - __proto__: async._DelayedDone.prototype - }); - }, - get C42() { - return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); - }, - get C43() { - return C[43] = async._AsyncRun._scheduleImmediateJSOverride; - }, - get C44() { - return C[44] = async._AsyncRun._scheduleImmediateWithPromise; - }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RootZone.prototype - }); - }, - get C47() { - return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); - }, - get C46() { - return C[46] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, - [$function$0]: C[47] || CT.C47, - [zone$]: C[45] || CT.C45 - }); - }, - get C49() { - return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); - }, - 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 C51() { - return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); - }, - 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 C53() { - return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); - }, - get C52() { - return C[52] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, - [$function$0]: C[53] || CT.C53, - [zone$]: C[45] || CT.C45 - }); - }, - get C55() { - return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); - }, - 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 C57() { - return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); - }, - 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 C59() { - return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); - }, - get C58() { - return C[58] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[59] || CT.C59, - [zone$]: C[45] || CT.C45 - }); - }, - get C61() { - return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); - }, - get C60() { - return C[60] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[61] || CT.C61, - [zone$]: C[45] || CT.C45 - }); - }, - get C63() { - return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); - }, - get C62() { - return C[62] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[63] || CT.C63, - [zone$]: C[45] || CT.C45 - }); - }, - get C65() { - return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); - }, - get C64() { - return C[64] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[65] || CT.C65, - [zone$]: C[45] || CT.C45 - }); - }, - get C67() { - return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); - }, - get C66() { - return C[66] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[67] || CT.C67, - [zone$]: C[45] || CT.C45 - }); - }, - get C69() { - return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); - }, - get C68() { - return C[68] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[69] || CT.C69, - [zone$]: C[45] || CT.C45 - }); - }, - get C71() { - return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); - }, - get C70() { - return C[70] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[71] || CT.C71, - [zone$]: C[45] || CT.C45 - }); - }, - get C72() { - return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); - }, - get C73() { - 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, - [createPeriodicTimer$]: null, - [createTimer$]: null, - [scheduleMicrotask$]: null, - [errorCallback$]: null, - [registerBinaryCallback$]: null, - [registerUnaryCallback$]: null, - [registerCallback$]: null, - [runBinary$]: null, - [runUnary$]: null, - [run$]: null, - [handleUncaughtError$]: null - }); - }, - get C76() { - return C[76] = dart.hashCode; - }, - get C77() { - return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); - }, - get C78() { - return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); - }, - get C79() { - return C[79] = dart.equals; - }, - get C80() { - 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 C88() { - return C[88] = dart.const({ - __proto__: convert.AsciiDecoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 127, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C89() { - return C[89] = dart.const({ - __proto__: convert.AsciiEncoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 127 - }); - }, - get C90() { - return C[90] = dart.constList([239, 191, 189], T$0.intL()); - }, - get C91() { - return C[91] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: false - }); - }, - get C92() { - return C[92] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: true - }); - }, - get C93() { - return C[93] = dart.const({ - __proto__: convert.Base64Decoder.prototype - }); - }, - get C94() { - return C[94] = dart.constList([], T$0.intL()); - }, - get C95() { - return C[95] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: true, - [escapeApos$]: true, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "unknown" - }); - }, - get C96() { - return C[96] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C97() { - return C[97] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: true, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C98() { - return C[98] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "element" - }); - }, - get C99() { - return C[99] = dart.const({ - __proto__: convert.JsonEncoder.prototype, - [JsonEncoder__toEncodable]: null, - [JsonEncoder_indent]: null - }); - }, - get C100() { - return C[100] = dart.const({ - __proto__: convert.JsonDecoder.prototype, - [JsonDecoder__reviver]: null - }); - }, - get C101() { - return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); - }, - get C102() { - return C[102] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: true - }); - }, - get C103() { - return C[103] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C104() { - return C[104] = dart.const({ - __proto__: convert.Latin1Encoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 255 - }); - }, - get C105() { - return C[105] = dart.constList([65533], T$0.intL()); - }, - get C106() { - return C[106] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: true - }); - }, - get C107() { - return C[107] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: false - }); - }, - get C108() { - return C[108] = dart.const({ - __proto__: convert.Utf8Encoder.prototype - }); - }, - get C109() { - return C[109] = dart.const({ - __proto__: convert.AsciiCodec.prototype, - [_allowInvalid]: false - }); - }, - get C110() { - return C[110] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[91] || CT.C91 - }); - }, - get C111() { - return C[111] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[92] || CT.C92 - }); - }, - get C112() { - return C[112] = dart.const({ - __proto__: convert.HtmlEscape.prototype, - [mode$]: C[95] || CT.C95 - }); - }, - get C113() { - return C[113] = dart.const({ - __proto__: convert.JsonCodec.prototype, - [_toEncodable]: null, - [_reviver]: null - }); - }, - get C114() { - return C[114] = dart.const({ - __proto__: convert.Latin1Codec.prototype, - [_allowInvalid$1]: false - }); - }, - get C115() { - return C[115] = dart.const({ - __proto__: convert.Utf8Codec.prototype, - [_allowMalformed]: false - }); - }, - get C116() { - return C[116] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 0 - }); - }, - get C117() { - return C[117] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 1 - }); - }, - get C118() { - return C[118] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 2 - }); - }, - get C119() { - return C[119] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 3 - }); - }, - get C120() { - return C[120] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 4 - }); - }, - get C121() { - return C[121] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 1 - }); - }, - get C122() { - return C[122] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 2 - }); - }, - get C123() { - return C[123] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 3 - }); - }, - get C124() { - return C[124] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 4 - }); - }, - get C125() { - return C[125] = dart.const({ - __proto__: convert.LineSplitter.prototype - }); - }, - get C126() { - return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C127() { - return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C128() { - return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); - }, - get C129() { - return C[129] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 0 - }); - }, - get C130() { - return C[130] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 1 - }); - }, - get C131() { - return C[131] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 2 - }); - }, - get C132() { - return C[132] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 3 - }); - }, - get C133() { - return C[133] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 4 - }); - }, - get C134() { - return C[134] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 5 - }); - }, - 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 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, - [_Enum__name]: "startTime", - [_Enum_index]: 0 - }); - }, - get C139() { - return C[139] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "endTime", - [_Enum_index]: 1 - }); - }, - get C140() { - return C[140] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "address", - [_Enum_index]: 2 - }); - }, - get C141() { - return C[141] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "port", - [_Enum_index]: 3 - }); - }, - get C142() { - return C[142] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "socketType", - [_Enum_index]: 4 - }); - }, - get C143() { - return C[143] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "readBytes", - [_Enum_index]: 5 - }); - }, - get C144() { - return C[144] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "writeBytes", - [_Enum_index]: 6 - }); - }, - 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 C147() { - return C[147] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 0 - }); - }, - get C148() { - return C[148] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 1 - }); - }, - get C149() { - return C[149] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 2 - }); - }, - get C150() { - return C[150] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 3 - }); - }, - 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 C151() { - return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); - }, - get C152() { - return C[152] = dart.const({ - __proto__: io.SystemEncoding.prototype - }); - }, - get C153() { - return C[153] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTERM", - [ProcessSignal__signalNumber]: 15 - }); - }, - get C154() { - return C[154] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGHUP", - [ProcessSignal__signalNumber]: 1 - }); - }, - get C155() { - return C[155] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGINT", - [ProcessSignal__signalNumber]: 2 - }); - }, - get C156() { - return C[156] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGQUIT", - [ProcessSignal__signalNumber]: 3 - }); - }, - get C157() { - return C[157] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGILL", - [ProcessSignal__signalNumber]: 4 - }); - }, - get C158() { - return C[158] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTRAP", - [ProcessSignal__signalNumber]: 5 - }); - }, - get C159() { - return C[159] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGABRT", - [ProcessSignal__signalNumber]: 6 - }); - }, - get C160() { - return C[160] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGBUS", - [ProcessSignal__signalNumber]: 7 - }); - }, - get C161() { - return C[161] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGFPE", - [ProcessSignal__signalNumber]: 8 - }); - }, - get C162() { - return C[162] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGKILL", - [ProcessSignal__signalNumber]: 9 - }); - }, - get C163() { - return C[163] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR1", - [ProcessSignal__signalNumber]: 10 - }); - }, - get C164() { - return C[164] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSEGV", - [ProcessSignal__signalNumber]: 11 - }); - }, - get C165() { - return C[165] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR2", - [ProcessSignal__signalNumber]: 12 - }); - }, - get C166() { - return C[166] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPIPE", - [ProcessSignal__signalNumber]: 13 - }); - }, - get C167() { - return C[167] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGALRM", - [ProcessSignal__signalNumber]: 14 - }); - }, - get C168() { - return C[168] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCHLD", - [ProcessSignal__signalNumber]: 17 - }); - }, - get C169() { - return C[169] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCONT", - [ProcessSignal__signalNumber]: 18 - }); - }, - get C170() { - return C[170] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSTOP", - [ProcessSignal__signalNumber]: 19 - }); - }, - get C171() { - return C[171] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTSTP", - [ProcessSignal__signalNumber]: 20 - }); - }, - get C172() { - return C[172] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTIN", - [ProcessSignal__signalNumber]: 21 - }); - }, - get C173() { - return C[173] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTOU", - [ProcessSignal__signalNumber]: 22 - }); - }, - get C174() { - return C[174] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGURG", - [ProcessSignal__signalNumber]: 23 - }); - }, - get C175() { - return C[175] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXCPU", - [ProcessSignal__signalNumber]: 24 - }); - }, - get C176() { - return C[176] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXFSZ", - [ProcessSignal__signalNumber]: 25 - }); - }, - get C177() { - return C[177] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGVTALRM", - [ProcessSignal__signalNumber]: 26 - }); - }, - get C178() { - return C[178] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPROF", - [ProcessSignal__signalNumber]: 27 - }); - }, - get C179() { - return C[179] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGWINCH", - [ProcessSignal__signalNumber]: 28 - }); - }, - get C180() { - return C[180] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPOLL", - [ProcessSignal__signalNumber]: 29 - }); - }, - get C181() { - return C[181] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSYS", - [ProcessSignal__signalNumber]: 31 - }); - }, - get C182() { - return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); - }, - get C183() { - return C[183] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 0 - }); - }, - get C184() { - return C[184] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 1 - }); - }, - get C185() { - return C[185] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 2 - }); - }, - get C186() { - return C[186] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 3 - }); - }, - get C187() { - return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); - }, - get C188() { - return C[188] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 0 - }); - }, - get C189() { - return C[189] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 1 - }); - }, - get C190() { - return C[190] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 2 - }); - }, - get C191() { - return C[191] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: -1 - }); - }, - get C192() { - return C[192] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 0 - }); - }, - get C193() { - return C[193] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 1 - }); - }, - get C194() { - return C[194] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 2 - }); - }, - get C195() { - return C[195] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 0 - }); - }, - get C196() { - return C[196] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 1 - }); - }, - get C197() { - return C[197] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 2 - }); - }, - get C198() { - return C[198] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 3 - }); - }, - get C199() { - return C[199] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 4 - }); - }, - get C201() { - return C[201] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "SOL_SOCKET", - [_Enum_index]: 0 - }); - }, - get C202() { - return C[202] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IP", - [_Enum_index]: 1 - }); - }, - get C203() { - return C[203] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IP_MULTICAST_IF", - [_Enum_index]: 2 - }); - }, - get C204() { - return C[204] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IPV6", - [_Enum_index]: 3 - }); - }, - get C205() { - return C[205] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPV6_MULTICAST_IF", - [_Enum_index]: 4 - }); - }, - get C206() { - return C[206] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_TCP", - [_Enum_index]: 5 - }); - }, - get C207() { - return C[207] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_UDP", - [_Enum_index]: 6 - }); - }, - 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 C208() { - return C[208] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "terminal" - }); - }, - get C209() { - return C[209] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "pipe" - }); - }, - get C210() { - return C[210] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "file" - }); - }, - get C211() { - return C[211] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "other" - }); - }, - get C212() { - return C[212] = dart.const({ - __proto__: io._WindowsCodePageEncoder.prototype - }); - }, - get C213() { - return C[213] = dart.const({ - __proto__: io._WindowsCodePageDecoder.prototype - }); - }, - get C214() { - return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); - }, - get C215() { - return C[215] = dart.const({ - __proto__: io.ZLibCodec.prototype, - [dictionary$]: null, - [raw$]: false, - [windowBits$]: 15, - [strategy$]: 0, - [memLevel$]: 8, - [level$]: 6, - [gzip$]: false - }); - }, - get C216() { - return C[216] = dart.const({ - __proto__: io.GZipCodec.prototype, - [raw$0]: false, - [dictionary$0]: null, - [windowBits$0]: 15, - [strategy$0]: 0, - [memLevel$0]: 8, - [level$0]: 6, - [gzip$0]: true - }); - }, - get C217() { - return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); - }, - get C218() { - return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); - }, - get C219() { - return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); - }, - get C220() { - return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); - }, - get C221() { - return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); - }, - get C222() { - return C[222] = dart.const({ - __proto__: math._JSRandom.prototype - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: true - }); - }, - get C224() { - return C[224] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C226() { - return C[226] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "versionchange" - }); - }, - get C228() { - return C[228] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "success" - }); - }, - get C229() { - return C[229] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blocked" - }); - }, - get C230() { - return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C231() { - return C[231] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C232() { - return C[232] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C233() { - return C[233] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "JSExtendableArray|=Object|num|String" - }); - }, - get C234() { - 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._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 - }); - }, - get C238() { - return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C237() { - return C[237] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 - }); - }, - get C239() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" - }); - }, - get C241() { - return C[241] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" - }); - }, - get C242() { - return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" - }); - }, - get C243() { - return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" - }); - }, - get C244() { - return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); - }, - get C245() { - return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" - }); - }, - get C246() { - return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); - }, - get C247() { - return C[247] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C248() { - return C[248] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" - }); - }, - get C249() { - return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); - }, - get C250() { - return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" - }); - }, - get C251() { - return C[251] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" - }); - }, - get C252() { - return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" - }); - }, - get C253() { - return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" - }); - }, - get C254() { - return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" - }); - }, - get C255() { - return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" - }); - }, - get C256() { - return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" - }); - }, - get C257() { - return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" - }); - }, - get C258() { - return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" - }); - }, - get C259() { - return C[259] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" - }); - }, - get C260() { - return C[260] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" - }); - }, - get C261() { - return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" - }); - }, - get C262() { - return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" - }); - }, - get C263() { - return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" - }); - }, - get C264() { - return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" - }); - }, - get C265() { - return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" - }); - }, - get C266() { - return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" - }); - }, - get C267() { - return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" - }); - }, - get C268() { - return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" - }); - }, - get C269() { - return C[269] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" - }); - }, - get C270() { - return C[270] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" - }); - }, - get C271() { - return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" - }); - }, - get C272() { - return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" - }); - }, - get C273() { - return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" - }); - }, - get C274() { - return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" - }); - }, - get C275() { - return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" - }); - }, - get C276() { - return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" - }); - }, - get C277() { - return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" - }); - }, - get C278() { - return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" - }); - }, - get C279() { - return C[279] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" - }); - }, - get C280() { - return C[280] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" - }); - }, - get C281() { - return C[281] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" - }); - }, - get C282() { - return C[282] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" - }); - }, - get C283() { - return C[283] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" - }); - }, - get C284() { - return C[284] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" - }); - }, - get C285() { - return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" - }); - }, - get C286() { - return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" - }); - }, - get C287() { - return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" - }); - }, - get C288() { - return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" - }); - }, - get C289() { - return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" - }); - }, - get C290() { - return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" - }); - }, - get C291() { - return C[291] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" - }); - }, - get C292() { - return C[292] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" - }); - }, - get C293() { - return C[293] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" - }); - }, - get C294() { - return C[294] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" - }); - }, - get C295() { - return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" - }); - }, - get C296() { - return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" - }); - }, - get C297() { - return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" - }); - }, - get C298() { - return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" - }); - }, - get C299() { - return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" - }); - }, - get C300() { - return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" - }); - }, - get C301() { - return C[301] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" - }); - }, - get C302() { - return C[302] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" - }); - }, - get C303() { - return C[303] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" - }); - }, - get C304() { - return C[304] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" - }); - }, - get C305() { - return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" - }); - }, - get C306() { - return C[306] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" - }); - }, - get C307() { - return C[307] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" - }); - }, - get C308() { - return C[308] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" - }); - }, - get C309() { - return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" - }); - }, - get C310() { - return C[310] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" - }); - }, - get C311() { - return C[311] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" - }); - }, - get C312() { - return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" - }); - }, - get C313() { - return C[313] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" - }); - }, - get C314() { - return C[314] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" - }); - }, - get C315() { - return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" - }); - }, - get C316() { - return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" - }); - }, - get C317() { - return C[317] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" - }); - }, - get C318() { - return C[318] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" - }); - }, - get C319() { - return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C320() { - return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" - }); - }, - get C321() { - return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" - }); - }, - get C322() { - return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" - }); - }, - get C323() { - return C[323] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" - }); - }, - get C324() { - return C[324] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" - }); - }, - get C325() { - return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" - }); - }, - get C326() { - return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" - }); - }, - get C327() { - return C[327] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" - }); - }, - get C328() { - return C[328] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" - }); - }, - get C329() { - return C[329] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" - }); - }, - get C330() { - return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" - }); - }, - get C331() { - return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" - }); - }, - get C332() { - return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" - }); - }, - get C333() { - return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" - }); - }, - get C334() { - return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" - }); - }, - get C335() { - return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" - }); - }, - get C336() { - return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" - }); - }, - get C337() { - return C[337] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" - }); - }, - get C338() { - return C[338] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" - }); - }, - get C339() { - return C[339] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" - }); - }, - get C340() { - return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" - }); - }, - get C341() { - return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C342() { - return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C343() { - return C[343] = dart.const({ - __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]: "loadstart" - }); - }, - get C346() { - return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" - }); - }, - get C347() { - return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" - }); - }, - get C348() { - return C[348] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" - }); - }, - get C349() { - return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" - }); - }, - get C350() { - return C[350] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" - }); - }, - get C351() { - return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" - }); - }, - get C352() { - return C[352] = dart.const({ - __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._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 - }); - }, - get C355() { - return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" - }); - }, - get C356() { - return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C357() { - return C[357] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" - }); - }, - get C358() { - return C[358] = dart.constList([], T$0.MessagePortL()); - }, - get C359() { - return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" - }); - }, - get C360() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C362() { - return C[362] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" - }); - }, - get C363() { - return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C364() { - return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" - }); - }, - get C365() { - return C[365] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connectionstatechange" - }); - }, - get C366() { - return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" - }); - }, - get C367() { - return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" - }); - }, - get C368() { - return C[368] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" - }); - }, - get C369() { - return C[369] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); - }, - get C370() { - return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" - }); - }, - get C371() { - return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); - }, - get C372() { - return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" - }); - }, - get C373() { - return C[373] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" - }); - }, - get C374() { - return C[374] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" - }); - }, - get C375() { - return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" - }); - }, - get C376() { - return C[376] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" - }); - }, - get C377() { - return C[377] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" - }); - }, - get C378() { - return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" - }); - }, - get C379() { - return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" - }); - }, - get C380() { - return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C381() { - return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C382() { - return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" - }); - }, - get C383() { - return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" - }); - }, - get C384() { - return C[384] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" - }); - }, - get C385() { - return C[385] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" - }); - }, - get C386() { - return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" - }); - }, - get C387() { - return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" - }); - }, - get C388() { - return C[388] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C389() { - return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" - }); - }, - get C390() { - return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C391() { - return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" - }); - }, - get C392() { - return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" - }); - }, - get C393() { - return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C394() { - return C[394] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" - }); - }, - get C395() { - return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" - }); - }, - get C396() { - return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" - }); - }, - get C397() { - return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C398() { - return C[398] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C399() { - return C[399] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" - }); - }, - get C400() { - return C[400] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" - }); - }, - get C401() { - return C[401] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" - }); - }, - get C402() { - return C[402] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" - }); - }, - get C403() { - return C[403] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" - }); - }, - get C404() { - return C[404] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" - }); - }, - get C405() { - return C[405] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C406() { - return C[406] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" - }); - }, - get C407() { - return C[407] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" - }); - }, - get C408() { - return C[408] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" - }); - }, - get C409() { - return C[409] = dart.const({ - __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, - [S.EventStreamProvider__eventType]: "beforeunload" - }); - }, - get C410() { - return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C411() { - return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C412() { - 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.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.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.constList([], T$.StringL()); - }, - get C416() { - return C[416] = dart.constList(["A", "FORM"], T$.StringL()); - }, - get C417() { - 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.constList(["A::href", "FORM::action"], T$.StringL()); - }, - get C419() { - return C[419] = dart.constList(["IMG"], T$.StringL()); - }, - get C420() { - 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(["IMG::src"], T$.StringL()); - }, - get C422() { - 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(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); - }, - get C424() { - return C[424] = dart.const({ - __proto__: html$.Console.prototype - }); - }, - get C425() { - return C[425] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); - }, - get C426() { - return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); - }, - get C427() { - 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({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); - }, - get C429() { - return C[429] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); - }, - get C430() { - return C[430] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); - }, - get C431() { - return C[431] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); - }, - get C432() { - return C[432] = dart.constList([], T$.ObjectN()); - }, - get C433() { - return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); - }, - get C434() { - return C[434] = dart.constList([], T$.ObjectL()); - }, - get C435() { - return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); - }, - get C436() { - return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); - }, - get C437() { - return C[437] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); - }, - get C438() { - return C[438] = dart.const(new _internal.Symbol.new('unary-')); - }, - get C439() { - return C[439] = dart.const(new _internal.Symbol.new('')); - }, - get C440() { - return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); - }, - get C441() { - return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); - }, - get C442() { - return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); - }, - get C443() { - return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); - }, - get C444() { - return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C445() { - return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C446() { - return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C447() { - return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); - }, - get C448() { - return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); - }, - get C449() { - return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C450() { - return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C451() { - return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C452() { - return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C453() { - return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C454() { - return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); - }, - get C455() { - return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); - }, - get C456() { - return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C457() { - return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C458() { - return C[458] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); - }, - get C459() { - return C[459] = dart.const({ - __proto__: core._Override.prototype - }); - }, - get C460() { - return C[460] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); - }, - get C461() { - 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(["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(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); - }, - get C464() { - 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.constMap(T$.StringL(), T$.StringN(), []); - }, - get C466() { - return C[466] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); - }, - get C468() { - return C[468] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "notCompressed", - [_Enum_index]: 0 - }); - }, - get C469() { - return C[469] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "decompressed", - [_Enum_index]: 1 - }); - }, - get C470() { - 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([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([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(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); - }, - get C474() { - 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.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, - [_Proxy_username]: null, - [_Proxy_port]: null, - [_Proxy_host]: null - }); - }, - get C488() { - return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); - }, - get C487() { - return C[487] = dart.const({ - __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[488] || CT.C488 - }); - }, - 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 C493() { - return C[493] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 0 - }); - }, - get C494() { - return C[494] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 1 - }); - }, - get C495() { - return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); - }, - get C496() { - return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); - }, - get C497() { - return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); - }, - get C498() { - return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); - }, - 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 C500() { - return C[500] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: true, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C501() { - return C[501] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: false, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C502() { - return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); - }, - get C503() { - return C[503] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 5000000 - }); - } - }, false); - core.Invocation = class Invocation extends core.Object { - static method(memberName, positionalArguments, namedArguments = null) { - 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[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[1] || CT.C1; - } - get isAccessor() { - return dart.test(this.isGetter) || dart.test(this.isSetter); - } - }; - (core.Invocation.new = function() { - ; - }).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[9]); - dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); - dart.InvocationImpl = class InvocationImpl extends core.Invocation { - get memberName() { - return this[memberName$]; - } - set memberName(value) { - super.memberName = value; - } - get positionalArguments() { - return this[positionalArguments$]; - } - set positionalArguments(value) { - super.positionalArguments = value; - } - get namedArguments() { - return this[namedArguments$]; - } - set namedArguments(value) { - super.namedArguments = value; - } - get typeArguments() { - return this[typeArguments$]; - } - set typeArguments(value) { - super.typeArguments = value; - } - get isMethod() { - return this[isMethod$]; - } - set isMethod(value) { - super.isMethod = value; - } - get isGetter() { - return this[isGetter$]; - } - set isGetter(value) { - super.isGetter = value; - } - get isSetter() { - return this[isSetter$]; - } - set isSetter(value) { - super.isSetter = value; - } - get failureMessage() { - return this[failureMessage$]; - } - 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), { - key: dart._dartSymbol, - value: k => namedArgs[k] - })); - } - }; - (dart.InvocationImpl.new = function(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"); - this[isMethod$] = isMethod; - this[isGetter$] = isGetter; - this[isSetter$] = isSetter; - this[failureMessage$] = failureMessage; - this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); - this[positionalArguments$] = core.List.unmodifiable(positionalArguments); - this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); - this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); - dart.InvocationImpl.__proto__.new.call(this); - ; - }).prototype = dart.InvocationImpl.prototype; - dart.addTypeTests(dart.InvocationImpl); - dart.addTypeCaches(dart.InvocationImpl); - 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), - positionalArguments: dart.finalFieldType(core.List), - namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - isMethod: dart.finalFieldType(core.bool), - isGetter: dart.finalFieldType(core.bool), - 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() { - return this[name$0]; - } - 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[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[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[2] || CT.C2; - }, - /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[3] || CT.C3; - }, - /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[4] || CT.C4; - }, - /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[5] || CT.C5; - }, - /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[6] || CT.C6; - }, - /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[7] || CT.C7; - } - }, false); - _debugger.JSNative = class JSNative extends core.Object { - static getProperty(object, name) { - return object[name]; - } - 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.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"); - var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); - _debugger.NameValuePair = class NameValuePair extends core.Object { - get name() { - return this[name$1]; - } - set name(value) { - super.name = value; - } - get value() { - return this[value$]; - } - set value(value) { - super.value = value; - } - get config() { - return this[config$]; - } - set config(value) { - super.config = value; - } - get hideName() { - return this[hideName$]; - } - 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; - if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; - return other.name == this.name; - } - get hashCode() { - return dart.hashCode(this.name); - } - get displayName() { - return dart.test(this.hideName) ? "" : this.name; - } - }; - (_debugger.NameValuePair.new = function(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"); - this[name$1] = name; - this[value$] = value; - this[config$] = config; - this[hideName$] = hideName; - ; - }).prototype = _debugger.NameValuePair.prototype; - dart.addTypeTests(_debugger.NameValuePair); - dart.addTypeCaches(_debugger.NameValuePair); - dart.setGetterSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), - displayName: core.String - })); - dart.setLibraryUri(_debugger.NameValuePair, I[13]); - dart.setFieldSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getFields(_debugger.NameValuePair.__proto__), - name: dart.finalFieldType(core.String), - value: dart.finalFieldType(dart.nullable(core.Object)), - config: dart.finalFieldType(_debugger.JsonMLConfig), - hideName: dart.finalFieldType(core.bool) - })); - dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); - dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); - var key$ = dart.privateName(_debugger, "MapEntry.key"); - var value$0 = dart.privateName(_debugger, "MapEntry.value"); - _debugger.MapEntry = class MapEntry extends core.Object { - get key() { - return this[key$]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$0]; - } - 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; - let value = opts && 'value' in opts ? opts.value : null; - this[key$] = key; - this[value$0] = value; - ; - }).prototype = _debugger.MapEntry.prototype; - dart.addTypeTests(_debugger.MapEntry); - dart.addTypeCaches(_debugger.MapEntry); - dart.setLibraryUri(_debugger.MapEntry, I[13]); - dart.setFieldSignature(_debugger.MapEntry, () => ({ - __proto__: dart.getFields(_debugger.MapEntry.__proto__), - key: dart.finalFieldType(dart.nullable(core.Object)), - value: dart.finalFieldType(dart.nullable(core.Object)) - })); - var start$ = dart.privateName(_debugger, "IterableSpan.start"); - var end$ = dart.privateName(_debugger, "IterableSpan.end"); - var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); - _debugger.IterableSpan = class IterableSpan extends core.Object { - get start() { - return this[start$]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end$]; - } - set end(value) { - super.end = value; - } - get iterable() { - return this[iterable$]; - } - 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); - } - get maxPowerOfSubsetSize() { - return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); - } - get subsetSize() { - return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); - } - asMap() { - return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); - } - children() { - 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[12], 225, 24, "i"); - children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); - }, T$.intAnddynamicTovoid())); - } else { - for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { - let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); - if (subSpan.length === 1) { - children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); - } else { - children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); - } - } - } - return children; - } - }; - (_debugger.IterableSpan.new = function(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"); - this[start$] = start; - this[end$] = end; - this[iterable$] = iterable; - ; - }).prototype = _debugger.IterableSpan.prototype; - dart.addTypeTests(_debugger.IterableSpan); - dart.addTypeCaches(_debugger.IterableSpan); - dart.setMethodSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), - asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), - children: dart.fnType(core.List$(_debugger.NameValuePair), []) - })); - dart.setGetterSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), - length: core.int, - maxPowerOfSubsetSize: core.int, - subsetSize: core.int - })); - dart.setLibraryUri(_debugger.IterableSpan, I[13]); - dart.setFieldSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getFields(_debugger.IterableSpan.__proto__), - start: dart.finalFieldType(core.int), - end: dart.finalFieldType(core.int), - iterable: dart.finalFieldType(core.Iterable) - })); - var name$2 = dart.privateName(_debugger, "Library.name"); - var object$ = dart.privateName(_debugger, "Library.object"); - _debugger.Library = class Library extends core.Object { - get name() { - return this[name$2]; - } - set name(value) { - super.name = value; - } - get object() { - return this[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[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[13]); - dart.setFieldSignature(_debugger.Library, () => ({ - __proto__: dart.getFields(_debugger.Library.__proto__), - name: dart.finalFieldType(core.String), - object: dart.finalFieldType(core.Object) - })); - var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); - _debugger.NamedConstructor = class NamedConstructor extends core.Object { - get object() { - return this[object$0]; - } - 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[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[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$0 = dart.privateName(_debugger, "HeritageClause.types"); - _debugger.HeritageClause = class HeritageClause extends core.Object { - get name() { - return this[name$3]; - } - set name(value) { - super.name = value; - } - get 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[12], 261, 23, "name"); - if (types == null) dart.nullFailed(I[12], 261, 34, "types"); - this[name$3] = name; - this[types$0] = types; - ; - }).prototype = _debugger.HeritageClause.prototype; - dart.addTypeTests(_debugger.HeritageClause); - dart.addTypeCaches(_debugger.HeritageClause); - dart.setLibraryUri(_debugger.HeritageClause, I[13]); - dart.setFieldSignature(_debugger.HeritageClause, () => ({ - __proto__: dart.getFields(_debugger.HeritageClause.__proto__), - name: dart.finalFieldType(core.String), - types: dart.finalFieldType(core.List) - })); - var _attributes = dart.privateName(_debugger, "_attributes"); - var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); - var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); - var _jsonML = dart.privateName(_debugger, "_jsonML"); - _debugger.JsonMLElement = class JsonMLElement extends core.Object { - get [_jsonML]() { - let t4; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); - } - set [_jsonML](_jsonML$35param) { - if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); - this[__JsonMLElement__jsonML_isSet] = true; - 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[12], 296, 36, "tagName"); - let c = new _debugger.JsonMLElement.new(tagName); - this[_jsonML][$add](c.toJsonML()); - return c; - } - createObjectTag(object) { - let t4; - t4 = this.createChild("object"); - return (() => { - t4.addAttribute("object", object); - return t4; - })(); - } - setStyle(style) { - if (style == null) dart.nullFailed(I[12], 305, 24, "style"); - dart.dput(this[_attributes], 'style', style); - } - addStyle(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 { - 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[12], 321, 26, "text"); - this[_jsonML][$add](text); - } - toJsonML() { - return this[_jsonML]; - } - }; - (_debugger.JsonMLElement.new = function(tagName) { - this[_attributes] = null; - this[__JsonMLElement__jsonML] = null; - this[__JsonMLElement__jsonML_isSet] = false; - this[_attributes] = {}; - this[_jsonML] = [tagName, this[_attributes]]; - }).prototype = _debugger.JsonMLElement.prototype; - dart.addTypeTests(_debugger.JsonMLElement); - dart.addTypeCaches(_debugger.JsonMLElement); - dart.setMethodSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), - appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), - createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), - createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), - setStyle: dart.fnType(dart.void, [core.String]), - addStyle: dart.fnType(dart.dynamic, [core.String]), - addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - createTextChild: dart.fnType(dart.dynamic, [core.String]), - toJsonML: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List - })); - dart.setSetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List - })); - dart.setLibraryUri(_debugger.JsonMLElement, I[13]); - dart.setFieldSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), - [_attributes]: dart.fieldType(dart.dynamic), - [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), - [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) - })); - var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); - var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); - _debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { - get customFormattersOn() { - 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[12], 363, 43, "spanLength"); - _debugger._maxSpanLength = spanLength; - } - header(object, config) { - let t4; - this.customFormattersOn = true; - if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { - return null; - } - let c = this[_simpleFormatter$].preview(object, config); - if (c == null) return null; - if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { - c = dart.toString(object); - } - let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { - t4.setStyle("background-color: #d9edf7;color: black"); - t4.createTextChild(c); - return t4; - })()); - return element.toJsonML(); - } - hasBody(object, config) { - return this[_simpleFormatter$].hasChildren(object, config); - } - body(object, config) { - 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);"); - } - let children = this[_simpleFormatter$].children(object, config); - if (children == null) return body.toJsonML(); - for (let child of children) { - let li = body.createChild("li"); - li.setStyle("padding-left: 13px;"); - let nameSpan = null; - let valueStyle = ""; - if (!dart.test(child.hideName)) { - 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 = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { - t4$0.setStyle(valueStyle); - return t4$0; - })()); - t4$1 = valueSpan.createObjectTag(child.value); - (() => { - t4$1.addAttribute("config", child.config); - return t4$1; - })(); - if (nameSpan != null) { - li.appendChild(nameSpan); - } - li.appendChild(valueSpan); - } else { - let line = li.createChild("span"); - if (nameSpan != null) { - line.appendChild(nameSpan); - } - 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; - })())); - } - } - return body.toJsonML(); - } - }; - (_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); - this[customFormattersOn] = false; - this[_simpleFormatter$] = _simpleFormatter; - ; - }).prototype = _debugger.JsonMLFormatter.prototype; - dart.addTypeTests(_debugger.JsonMLFormatter); - dart.addTypeCaches(_debugger.JsonMLFormatter); - dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), - setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), - header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) - })); - dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); - dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), - [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), - customFormattersOn: dart.fieldType(core.bool) - })); - _debugger.Formatter = class Formatter extends core.Object {}; - (_debugger.Formatter.new = function() { - ; - }).prototype = _debugger.Formatter.prototype; - dart.addTypeTests(_debugger.Formatter); - dart.addTypeCaches(_debugger.Formatter); - 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))) { - return dart.toString(object); - } - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.preview(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return null; - } - hasChildren(object, config) { - if (object == null) return false; - try { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return false; - } - children(object, config) { - try { - if (object != null) { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.children(object); - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return T$.JSArrayOfNameValuePair().of([]); - } - [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[12], 523, 34, "message"); - return window.console.error(message); - } - }; - (_debugger.DartFormatter.new = function() { - this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); - ; - }).prototype = _debugger.DartFormatter.prototype; - dart.addTypeTests(_debugger.DartFormatter); - dart.addTypeCaches(_debugger.DartFormatter); - dart.setMethodSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), - preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - 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[13]); - dart.setFieldSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getFields(_debugger.DartFormatter.__proto__), - [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) - })); - _debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { - accept(object, config) { - return !dart.test(_debugger.isNativeJavaScriptObject(object)); - } - preview(object) { - let typeName = _debugger.getObjectTypeName(object); - try { - let toString = dart.str(object); - if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { - toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; - } - if (toString[$contains](typeName)) { - return toString; - } else { - return toString + " (" + dart.str(typeName) + ")"; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return typeName; - } - hasChildren(object) { - return true; - } - children(object) { - let type = dart.getType(object); - let ret = new (T$._HashSetOfNameValuePair()).new(); - let fields = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); - let getters = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); - ret.addAll(_debugger.sortProperties(fields)); - ret.addAll(_debugger.sortProperties(getters)); - _debugger.addMetadataChildren(object, ret); - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ObjectFormatter.new(); - } - }; - (_debugger.ObjectFormatter.new = function() { - ; - }).prototype = _debugger.ObjectFormatter.prototype; - dart.addTypeTests(_debugger.ObjectFormatter); - dart.addTypeCaches(_debugger.ObjectFormatter); - dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) - })); - 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); - } - 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[13]); - _debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { - accept(object, config) { - return dart.getModuleName(core.Object.as(object)) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); - if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { - libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); - } - return "Library Module: " + dart.str(libraryNames[$join]("/")); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - for (let name of _debugger.getOwnPropertyNames(object)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); - } - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.LibraryModuleFormatter.new(); - } - }; - (_debugger.LibraryModuleFormatter.new = function() { - ; - }).prototype = _debugger.LibraryModuleFormatter.prototype; - dart.addTypeTests(_debugger.LibraryModuleFormatter); - dart.addTypeCaches(_debugger.LibraryModuleFormatter); - _debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - 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) { - return _debugger.Library.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - return core.String.as(dart.dload(object, 'name')); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); - dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { - if (dart.getGenericTypeCtor(value) != null) return; - children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); - }, T$.dynamicAnddynamicToNull())]); - return children[$toList](); - } - classChild(name, 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(); - ; - }).prototype = _debugger.LibraryFormatter.prototype; - dart.addTypeTests(_debugger.LibraryFormatter); - dart.addTypeCaches(_debugger.LibraryFormatter); - _debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), - classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) - })); - 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)) - })); - _debugger.FunctionFormatter = class FunctionFormatter extends core.Object { - accept(object, config) { - if (_debugger._typeof(object) !== "function") return false; - return dart.getReifiedType(object) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - try { - return dart.typeName(dart.getReifiedType(object)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; - }).prototype = _debugger.FunctionFormatter.prototype; - dart.addTypeTests(_debugger.FunctionFormatter); - dart.addTypeCaches(_debugger.FunctionFormatter); - _debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); - _debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { - accept(object, config) { - return core.Map.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; - }).prototype = _debugger.MapOverviewFormatter.prototype; - dart.addTypeTests(_debugger.MapOverviewFormatter); - dart.addTypeCaches(_debugger.MapOverviewFormatter); - _debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - 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); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - children(object) { - let map = core.Map.as(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - map[$forEach](dart.fn((key, value) => { - let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); - entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); - }, T$.dynamicAnddynamicTovoid())); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.MapFormatter.new(); - } - }; - (_debugger.MapFormatter.new = function() { - ; - }).prototype = _debugger.MapFormatter.prototype; - dart.addTypeTests(_debugger.MapFormatter); - dart.addTypeCaches(_debugger.MapFormatter); - _debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.MapFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.MapFormatter, I[13]); - _debugger.IterableFormatter = class IterableFormatter extends core.Object { - accept(object, config) { - return core.Iterable.is(object); - } - preview(object) { - let iterable = core.Iterable.as(object); - try { - let length = iterable[$length]; - return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return dart.str(_debugger.getObjectTypeName(iterable)); - } else - throw e; - } - } - hasChildren(object) { - return true; - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); - _debugger.addMetadataChildren(object, children); - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.IterableFormatter.new(); - } - }; - (_debugger.IterableFormatter.new = function() { - ; - }).prototype = _debugger.IterableFormatter.prototype; - dart.addTypeTests(_debugger.IterableFormatter); - dart.addTypeCaches(_debugger.IterableFormatter); - _debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.IterableFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.IterableFormatter, I[13]); - _debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { - accept(object, config) { - return _debugger.NamedConstructor.is(object); - } - preview(object) { - return "Named Constructor"; - } - hasChildren(object) { - return true; - } - 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() { - ; - }).prototype = _debugger.NamedConstructorFormatter.prototype; - dart.addTypeTests(_debugger.NamedConstructorFormatter); - dart.addTypeCaches(_debugger.NamedConstructorFormatter); - _debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ - __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); - _debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { - accept(object, config) { - return _debugger.MapEntry.is(object); - } - preview(object) { - let entry = _debugger.MapEntry.as(object); - return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); - } - hasChildren(object) { - return true; - } - 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() { - ; - }).prototype = _debugger.MapEntryFormatter.prototype; - dart.addTypeTests(_debugger.MapEntryFormatter); - dart.addTypeCaches(_debugger.MapEntryFormatter); - _debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - 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[8] || CT.C8); - return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); - } - hasChildren(object) { - return true; - } - children(object) { - let clause = _debugger.HeritageClause.as(object); - let children = T$.JSArrayOfNameValuePair().of([]); - for (let type of clause.types) { - children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); - } - return children; - } - static ['_#new#tearOff']() { - return new _debugger.HeritageClauseFormatter.new(); - } - }; - (_debugger.HeritageClauseFormatter.new = function() { - ; - }).prototype = _debugger.HeritageClauseFormatter.prototype; - dart.addTypeTests(_debugger.HeritageClauseFormatter); - dart.addTypeCaches(_debugger.HeritageClauseFormatter); - _debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ - __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); - _debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { - accept(object, config) { - return _debugger.IterableSpan.is(object); - } - preview(object) { - return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; - } - hasChildren(object) { - return true; - } - children(object) { - return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); - } - static ['_#new#tearOff']() { - return new _debugger.IterableSpanFormatter.new(); - } - }; - (_debugger.IterableSpanFormatter.new = function() { - ; - }).prototype = _debugger.IterableSpanFormatter.prototype; - dart.addTypeTests(_debugger.IterableSpanFormatter); - dart.addTypeCaches(_debugger.IterableSpanFormatter); - _debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - 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); - } - hasChildren(object) { - return true; - } - preview(object) { - let trace = dart.stackTrace(object); - let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(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); - } - children(object) { - let trace = dart.stackTrace(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); - this.addInstanceMembers(object, entries); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - addInstanceMembers(object, 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() { - ; - }).prototype = _debugger.ErrorAndExceptionFormatter.prototype; - dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); - dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); - dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), - 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[13]); - dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); - dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { - /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { - return core.RegExp.new("\\d+\\:\\d+"); - } - }, false); - _debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { - accept(object, config) { - return core.StackTrace.is(object); - } - preview(object) { - return "StackTrace"; - } - hasChildren(object) { - return true; - } - children(object) { - return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(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() { - ; - }).prototype = _debugger.StackTraceFormatter.prototype; - dart.addTypeTests(_debugger.StackTraceFormatter); - dart.addTypeCaches(_debugger.StackTraceFormatter); - _debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ - __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); - _debugger.ClassFormatter = class ClassFormatter extends core.Object { - accept(object, config) { - return dart.equals(config, _debugger.JsonMLConfig.asClass); - } - preview(type) { - let $implements = dart.getImplements(type); - let typeName = _debugger.getTypeName(type); - if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[8] || CT.C8); - return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); - } else { - return typeName; - } - } - hasChildren(object) { - return true; - } - children(type) { - let t12; - let ret = new (T$._HashSetOfNameValuePair()).new(); - let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); - if (dart.test(instanceMethods[$isNotEmpty])) { - t12 = ret; - (() => { - t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t12.addAll(_debugger.sortProperties(instanceMethods)); - return t12; - })(); - } - let mixin = dart.getMixin(type); - if (mixin != null) { - ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); - } - let baseProto = type.__proto__; - if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { - ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); - } - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ClassFormatter.new(); - } - }; - (_debugger.ClassFormatter.new = function() { - ; - }).prototype = _debugger.ClassFormatter.prototype; - dart.addTypeTests(_debugger.ClassFormatter); - dart.addTypeCaches(_debugger.ClassFormatter); - _debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.ClassFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - dart.setLibraryUri(_debugger.ClassFormatter, I[13]); - _debugger.TypeFormatter = class TypeFormatter extends core.Object { - accept(object, config) { - return core.Type.is(object); - } - preview(object) { - return dart.toString(object); - } - hasChildren(object) { - return false; - } - children(object) { - return T$.JSArrayOfNameValuePair().of([]); - } - static ['_#new#tearOff']() { - return new _debugger.TypeFormatter.new(); - } - }; - (_debugger.TypeFormatter.new = function() { - ; - }).prototype = _debugger.TypeFormatter.prototype; - dart.addTypeTests(_debugger.TypeFormatter); - dart.addTypeCaches(_debugger.TypeFormatter); - _debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; - dart.setMethodSignature(_debugger.TypeFormatter, () => ({ - __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) - })); - 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[14], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); - this.count = 0.0; - this.typeName = typeName; - this.frame = frame; - ; - }).prototype = _debugger._MethodStats.prototype; - dart.addTypeTests(_debugger._MethodStats); - dart.addTypeCaches(_debugger._MethodStats); - 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 { - static ['_#new#tearOff'](jsError, type) { - return new _debugger._CallMethodRecord.new(jsError, type); - } - }; - (_debugger._CallMethodRecord.new = function(jsError, type) { - this.jsError = jsError; - this.type = type; - ; - }).prototype = _debugger._CallMethodRecord.prototype; - dart.addTypeTests(_debugger._CallMethodRecord); - dart.addTypeCaches(_debugger._CallMethodRecord); - dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); - dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ - __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), - jsError: dart.fieldType(dart.dynamic), - type: dart.fieldType(dart.dynamic) - })); - _debugger._typeof = function _typeof(object) { - return typeof object; - }; - _debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { - return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); - }; - _debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { - return Object.getOwnPropertySymbols(object); - }; - _debugger.addMetadataChildren = function addMetadataChildren(object, 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 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 = (t12 = new collection._HashSet.new(), (() => { - t12.add("hashCode"); - return t12; - })()); - let objectPrototype = Object.prototype; - while (sig != null && !core.identical(sig, objectPrototype)) { - for (let symbol of _debugger.getOwnPropertySymbols(sig)) { - let dartName = _debugger.symbolName(symbol); - let dartXPrefix = "dartx."; - if (dartName[$startsWith](dartXPrefix)) { - dartName = dartName[$substring](dartXPrefix.length); - } - if (dart.test(skippedNames.contains(dartName))) continue; - let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[symbol]); - } - properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); - } - for (let name of _debugger.getOwnPropertyNames(sig)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - if (dart.test(skippedNames.contains(name))) continue; - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[name]); - } - properties.add(new _debugger.NameValuePair.new({name: name, value: value})); - } - if (!dart.test(walkPrototypeChain)) break; - sig = dart.getPrototypeOf(sig); - } - }; - _debugger.sortProperties = function sortProperties(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[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; - return a.name[$compareTo](b.name); - }, T$.NameValuePairAndNameValuePairToint())); - return sortedProperties; - }; - _debugger.getObjectTypeName = function getObjectTypeName(object) { - let reifiedType = dart.getReifiedType(object); - if (reifiedType == null) { - if (_debugger._typeof(object) === "function") { - return "[[Raw JavaScript Function]]"; - } - return ""; - } - return _debugger.getTypeName(reifiedType); - }; - _debugger.getTypeName = function getTypeName(type) { - return dart.typeName(type); - }; - _debugger.safePreview = function safePreview(object, config) { - try { - let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); - if (preview != null) return preview; - return dart.toString(object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } - }; - _debugger.symbolName = function symbolName(symbol) { - let name = dart.toString(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[12], 161, 31, "name"); - try { - return dart.hasMethod(object, name); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return false; - } else - throw e$; - } - }; - _debugger.safeGetProperty = function safeGetProperty(protoChain, 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$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } - }; - _debugger.safeProperties = function safeProperties(object) { - return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(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())}); - }; - _debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { - let type = _debugger._typeof(object); - if (type !== "object" && type !== "function") return true; - if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { - return true; - } - return object instanceof Node; - }; - _debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { - dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; - }; - _debugger.getModuleNames = function getModuleNames$() { - return dart.getModuleNames(); - }; - _debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); - return dart.getModuleLibraries(name); - }; - _debugger.getDynamicStats = function getDynamicStats() { - 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]); - for (let record of _debugger._callMethodRecords) { - 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[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[14], 68, 24, "f"); - return !f[$startsWith]("dart:"); - }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); - let actualTypeName = dart.typeName(record.type); - 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]()) { - let stats = dart.nullCheck(callMethodStats[$_get](k)); - let threshold = dart.notNull(_debugger._minCount) * recordRatio; - if (dart.notNull(stats.count) + 0.001 < threshold) { - callMethodStats[$remove](k); - } - } - } - } - _debugger._callMethodRecords[$clear](); - _debugger._totalCallRecords = 0; - let keys = callMethodStats[$keys][$toList](); - keys[$sort](dart.fn((a, 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([]); - for (let key of keys) { - let stats = dart.nullCheck(callMethodStats[$_get](key)); - ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); - } - return ret; - }; - _debugger.clearDynamicStats = function clearDynamicStats() { - _debugger._callMethodRecords[$clear](); - }; - _debugger.trackCall = function trackCall(obj) { - if (!_debugger._trackProfile) return; - let index = -1; - _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; - if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { - index = Math.floor(Math.random() * _debugger._totalCallRecords); - if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; - } - let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); - if (index === -1) { - _debugger._callMethodRecords[$add](record); - } else { - _debugger._callMethodRecords[$_set](index, record); - } - }; - dart.copyProperties(_debugger, { - get stackTraceMapper() { - let _util = dart.global.$dartStackTraceUtility; - return _util != null ? _util.mapper : null; - }, - get _trackProfile() { - return dart.__trackProfile; - } - }); - dart.defineLazy(_debugger, { - /*_debugger._maxSpanLength*/get _maxSpanLength() { - return 100; - }, - 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(value) { - if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); - }, - /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { - return 100; - }, - set maxFormatterStringLength(value) { - if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); - }, - /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { - return 5000; - }, - set _callRecordSampleSize(value) { - if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); - }, - /*_debugger._callMethodRecords*/get _callMethodRecords() { - return T$.JSArrayOf_CallMethodRecord().of([]); - }, - set _callMethodRecords(value) { - if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); - }, - /*_debugger._totalCallRecords*/get _totalCallRecords() { - return 0; - }, - set _totalCallRecords(value) { - if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); - }, - /*_debugger._minCount*/get _minCount() { - return 2; - }, - 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(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 { - get name() { - return this[name$4]; - } - 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[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[16]); - dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ - __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), - name: dart.finalFieldType(core.String) - })); - var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); - _foreign_helper.JS_CONST = class JS_CONST extends core.Object { - get code() { - return this[code$]; - } - 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[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[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 { - 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[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[15], 162, 30, "type"); - }; - _foreign_helper.JS_EFFECT = function JS_EFFECT(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[9] || CT.C9; - } - }, false); - _interceptors.Interceptor = class Interceptor extends core.Object { - toString() { - return this.toString(); - } - }; - (_interceptors.Interceptor.new = function() { - ; - }).prototype = _interceptors.Interceptor.prototype; - dart.addTypeTests(_interceptors.Interceptor); - dart.addTypeCaches(_interceptors.Interceptor); - 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); - } - get [$hashCode]() { - return this ? 2 * 3 * 23 * 3761 : 269 * 811; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return other && this; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return other || this; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return this !== other; - } - get [$runtimeType]() { - return dart.wrapType(core.bool); - } - }; - (_interceptors.JSBool.new = function() { - _interceptors.JSBool.__proto__.new.call(this); - ; - }).prototype = _interceptors.JSBool.prototype; - dart.addTypeTests(_interceptors.JSBool); - dart.addTypeCaches(_interceptors.JSBool); - _interceptors.JSBool[dart.implements] = () => [core.bool]; - dart.setMethodSignature(_interceptors.JSBool, () => ({ - __proto__: dart.getMethods(_interceptors.JSBool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) - })); - dart.setLibraryUri(_interceptors.JSBool, I[17]); - dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); - dart.registerExtension("Boolean", _interceptors.JSBool); - const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); - _interceptors.JSIndexable$ = dart.generic(E => { - class JSIndexable extends core.Object {} - (JSIndexable.new = function() { - ; - }).prototype = JSIndexable.prototype; - dart.addTypeTests(JSIndexable); - JSIndexable.prototype[_is_JSIndexable_default] = true; - dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[17]); - return JSIndexable; - }); - _interceptors.JSIndexable = _interceptors.JSIndexable$(); - dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); - const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); - _interceptors.JSMutableIndexable$ = dart.generic(E => { - class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} - (JSMutableIndexable.new = function() { - ; - }).prototype = JSMutableIndexable.prototype; - dart.addTypeTests(JSMutableIndexable); - JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; - dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[17]); - return JSMutableIndexable; - }); - _interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); - dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); - _interceptors.JSObject = class JSObject extends core.Object {}; - (_interceptors.JSObject.new = function() { - ; - }).prototype = _interceptors.JSObject.prototype; - dart.addTypeTests(_interceptors.JSObject); - dart.addTypeCaches(_interceptors.JSObject); - dart.setLibraryUri(_interceptors.JSObject, I[17]); - _interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - static ['_#new#tearOff']() { - return new _interceptors.JavaScriptObject.new(); - } - }; - (_interceptors.JavaScriptObject.new = function() { - _interceptors.JavaScriptObject.__proto__.new.call(this); - ; - }).prototype = _interceptors.JavaScriptObject.prototype; - dart.addTypeTests(_interceptors.JavaScriptObject); - dart.addTypeCaches(_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[17]); - _interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { - static ['_#new#tearOff']() { - return new _interceptors.UnknownJavaScriptObject.new(); - } - }; - (_interceptors.UnknownJavaScriptObject.new = function() { - _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); - ; - }).prototype = _interceptors.UnknownJavaScriptObject.prototype; - dart.addTypeTests(_interceptors.UnknownJavaScriptObject); - dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); - 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); - ; - }).prototype = _interceptors.NativeError.prototype; - dart.addTypeTests(_interceptors.NativeError); - dart.addTypeCaches(_interceptors.NativeError); - dart.setMethodSignature(_interceptors.NativeError, () => ({ - __proto__: dart.getMethods(_interceptors.NativeError.__proto__), - dartStack: dart.fnType(core.String, []), - [$dartStack]: dart.fnType(core.String, []) - })); - dart.setLibraryUri(_interceptors.NativeError, I[17]); - dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); - var _fieldName = dart.privateName(_interceptors, "_fieldName"); - var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); - var _receiver = dart.privateName(_interceptors, "_receiver"); - var _receiver$ = dart.privateName(core, "_receiver"); - var _arguments = dart.privateName(_interceptors, "_arguments"); - var _arguments$ = dart.privateName(core, "_arguments"); - var _memberName = dart.privateName(_interceptors, "_memberName"); - var _memberName$ = dart.privateName(core, "_memberName"); - var _invocation = dart.privateName(_interceptors, "_invocation"); - var _invocation$ = dart.privateName(core, "_invocation"); - var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); - var _namedArguments$ = dart.privateName(core, "_namedArguments"); - _interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { - [_fieldName](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 = (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[18], 139, 38, "message"); - let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); - return match != null ? match._get(1) : null; - } - [$dartStack]() { - let stack = super[$dartStack](); - stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); - return stack; - } - get [$stackTrace]() { - return dart.stackTrace(this); - } - [$toString]() { - let message = this.message; - let callTarget = this[_functionCallTarget](message); - if (callTarget != null) { - return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; - } - let name = this[_fieldName](message); - if (name == null) { - return this.toString(); - } - return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; - } - static ['_#new#tearOff']() { - return new _interceptors.JSNoSuchMethodError.new(); - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); - } - }; - (_interceptors.JSNoSuchMethodError.new = function() { - _interceptors.JSNoSuchMethodError.__proto__.new.call(this); - ; - }).prototype = _interceptors.JSNoSuchMethodError.prototype; - dart.addTypeTests(_interceptors.JSNoSuchMethodError); - dart.addTypeCaches(_interceptors.JSNoSuchMethodError); - _interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; - dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), - [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), - [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) - })); - dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), - [$stackTrace]: core.StackTrace, - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) - })); - 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$"); - }, - /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { - return core.RegExp.new("^(.+) is not a function$"); - }, - /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { - return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); - }, - /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { - return core.RegExp.new("^Symbol\\((_.+)\\)$"); - } - }, false); - dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); - _interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { - [$toString]() { - if (dart.isType(this)) return dart.typeName(this); - return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; - } - [$_equals](other) { - if (other == null) return false; - 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; - if (boundObj == null) return core.identityHashCode(this); - let boundMethod = this._boundMethod; - let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; - return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; - } - 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); - ; - }).prototype = _interceptors.JSFunction.prototype; - dart.addTypeTests(_interceptors.JSFunction); - dart.addTypeCaches(_interceptors.JSFunction); - 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[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[17]); - dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); - var _hasValue = dart.privateName(_interceptors, "_hasValue"); - var _hasValue$ = dart.privateName(core, "_hasValue"); - var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); - var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); - var _errorName = dart.privateName(_interceptors, "_errorName"); - var _errorName$ = dart.privateName(core, "_errorName"); - _interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { - get [$stackTrace]() { - return dart.stackTrace(this); - } - get [$invalidValue]() { - return null; - } - get [$name]() { - return null; - } - get [$message]() { - return this.message; - } - [$toString]() { - return "Invalid argument: " + dart.str(this[$message]); - } - static ['_#new#tearOff']() { - return new _interceptors.JSRangeError.new(); - } - get [_hasValue$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); - } - get [_errorExplanation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); - } - get [_errorName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); - } - }; - (_interceptors.JSRangeError.new = function() { - _interceptors.JSRangeError.__proto__.new.call(this); - ; - }).prototype = _interceptors.JSRangeError.prototype; - dart.addTypeTests(_interceptors.JSRangeError); - dart.addTypeCaches(_interceptors.JSRangeError); - _interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; - dart.setGetterSignature(_interceptors.JSRangeError, () => ({ - __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), - [$stackTrace]: core.StackTrace, - [$invalidValue]: dart.dynamic, - [$name]: dart.nullable(core.String), - [$message]: dart.dynamic, - [_hasValue$]: core.bool, - [_errorExplanation$]: core.String, - [_errorName$]: core.String - })); - 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 __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; - list.immutable$list = Array; - return list; - } - static markFixedList(list) { - list.fixed$length = Array; - } - static markUnmodifiableList(list) { - list.fixed$length = Array; - list.immutable$list = Array; - } - [$checkMutable](reason) { - if (this.immutable$list) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$checkGrowable](reason) { - if (this.fixed$length) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$cast](R) { - return core.List.castFrom(E, R, this); - } - [$add](value) { - E.as(value); - this[$checkGrowable]("add"); - this.push(value); - } - [$removeAt](index) { - if (index == null) dart.argumentError(index); - this[$checkGrowable]("removeAt"); - if (index < 0 || index >= this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - return this.splice(index, 1)[0]; - } - [$insert](index, value) { - if (index == null) dart.argumentError(index); - E.as(value); - this[$checkGrowable]("insert"); - if (index < 0 || index > this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - this.splice(index, 0, value); - } - [$insertAll](index, iterable) { - if (index == null) dart.argumentError(index); - __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)) { - iterable = iterable[$toList](); - } - let insertionLength = dart.notNull(iterable[$length]); - this[_setLengthUnsafe](this[$length] + insertionLength); - let end = index + insertionLength; - this[$setRange](end, this[$length], this, index); - this[$setRange](index, end, iterable); - } - [$setAll](index, iterable) { - let t15; - if (index == null) dart.argumentError(index); - __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]((t15 = index, index = t15 + 1, t15), element); - } - } - [$removeLast]() { - this[$checkGrowable]("removeLast"); - if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); - return this.pop(); - } - [$remove](element) { - this[$checkGrowable]("remove"); - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this.splice(i, 1); - return true; - } - } - return false; - } - [$removeWhere](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[19], 141, 37, "test"); - this[$checkGrowable]("retainWhere"); - this[_removeWhere](test, false); - } - [_removeWhere](test, 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) { - let element = this[i]; - if (!dart.test(test(element)) === removeMatching) { - retained.push(element); - } - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (retained[$length] === end) return; - this[$length] = retained[$length]; - let length = dart.notNull(retained[$length]); - for (let i = 0; i < length; i = i + 1) { - this[i] = retained[i]; - } - } - [$where](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[19], 179, 49, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - [$addAll](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[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); - i = i + 1; - this.push(e); - } - } - [$clear]() { - this[$length] = 0; - } - [$forEach](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]; - f(element); - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [$map](T, 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[19], 210, 23, "separator"); - let length = this[$length]; - let list = T$.ListOfString().filled(length, ""); - for (let i = 0; i < length; i = i + 1) { - list[$_set](i, dart.str(this[$_get](i))); - } - return list.join(separator); - } - [$take](n) { - 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[19], 223, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - [$skip](n) { - 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[19], 231, 42, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - [$reduce](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); - for (let i = 1; i < length; i = i + 1) { - let element = this[i]; - value = combine(value, element); - if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$fold](T, initialValue, 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) { - let element = this[i]; - value = combine(value, element); - if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 258, 33, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let end = this[$length]; - for (let i = 0; i < end; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 269, 32, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = length - 1; i >= 0; i = i - 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 282, 34, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - let match = null; - let matchFound = false; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match = element; - } - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return E.as(match); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[19], 304, 19, "index"); - return this[$_get](index); - } - [$sublist](start, end = null) { - if (start == null) dart.argumentError(start); - if (start < 0 || start > this[$length]) { - dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); - } - if (end == null) { - end = this[$length]; - } else { - let _end = end; - if (_end < start || _end > this[$length]) { - dart.throw(new core.RangeError.range(end, start, this[$length], "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[19], 325, 28, "start"); - if (end == null) dart.nullFailed(I[19], 325, 39, "end"); - core.RangeError.checkValidRange(start, end, this[$length]); - return new (__t$SubListIterableOfE()).new(this, start, end); - } - get [$first]() { - if (this[$length] > 0) return this[$_get](0); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$last]() { - if (this[$length] > 0) return this[$_get](this[$length] - 1); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$single]() { - if (this[$length] === 1) return this[$_get](0); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - dart.throw(_internal.IterableElementError.tooMany()); - } - [$removeRange](start, end) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - this[$checkGrowable]("removeRange"); - core.RangeError.checkValidRange(start, end, this[$length]); - let deleteCount = end - start; - this.splice(start, deleteCount); - } - [$setRange](start, end, iterable, skipCount = 0) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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 = __t$JSArrayOfE().of([]); - let otherStart = 0; - if (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (otherStart + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (otherStart < start) { - for (let i = length - 1; i >= 0; i = i - 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } else { - for (let i = 0; i < length; i = i + 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } - } - [$fillRange](start, end, fillValue = null) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __t$EN().as(fillValue); - this[$checkMutable]("fill range"); - core.RangeError.checkValidRange(start, end, this[$length]); - let checkedFillValue = E.as(fillValue); - for (let i = start; i < end; i = i + 1) { - this[i] = checkedFillValue; - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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)) { - replacement = replacement[$toList](); - } - let removeLength = end - start; - let insertLength = dart.notNull(replacement[$length]); - if (removeLength >= insertLength) { - let delta = removeLength - insertLength; - let insertEnd = start + insertLength; - let newLength = this[$length] - delta; - this[$setRange](start, insertEnd, replacement); - if (delta !== 0) { - this[$setRange](insertEnd, newLength, this, end); - this[$length] = newLength; - } - } else { - let delta = insertLength - removeLength; - let newLength = this[$length] + delta; - let insertEnd = start + insertLength; - this[_setLengthUnsafe](newLength); - this[$setRange](insertEnd, newLength, this, end); - this[$setRange](start, insertEnd, replacement); - } - } - [$any](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]; - if (dart.test(test(element))) return true; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return false; - } - [$every](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]; - if (!dart.test(test(element))) return false; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return true; - } - get [$reversed]() { - 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$EAndEToint())); - } else { - _internal.Sort.sort(E, this, compare); - } - } - [$shuffle](random = null) { - this[$checkMutable]("shuffle"); - if (random == null) random = math.Random.new(); - let length = this[$length]; - while (length > 1) { - let pos = random.nextInt(length); - length = length - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - [$indexOf](element, start = 0) { - if (start == null) dart.argumentError(start); - let length = this[$length]; - if (start >= length) { - return -1; - } - if (start < 0) { - start = 0; - } - for (let i = start; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$lastIndexOf](element, startIndex = null) { - let t15; - let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); - if (start >= this[$length]) { - start = this[$length] - 1; - } else if (start < 0) { - return -1; - } - for (let i = start; i >= 0; i = i - 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$contains](other) { - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.equals(element, other)) return true; - } - return false; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$toString]() { - return collection.ListBase.listToString(this); - } - [$toList](opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.argumentError(growable); - let list = this.slice(); - if (!growable) _interceptors.JSArray.markFixedList(list); - return __t$JSArrayOfE().of(list); - } - [$toSet]() { - return __t$LinkedHashSetOfE().from(this); - } - get [$iterator]() { - return new (__t$ArrayIteratorOfE()).new(this); - } - get [$hashCode]() { - return core.identityHashCode(this); - } - [$_equals](other) { - if (other == null) return false; - return this === other; - } - get [$length]() { - return this.length; - } - set [$length](newLength) { - if (newLength == null) dart.argumentError(newLength); - this[$checkGrowable]("set length"); - if (newLength < 0) { - dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); - } - if (newLength > this[$length]) E.as(null); - this.length = newLength; - } - [_setLengthUnsafe](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[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[19], 586, 25, "index"); - E.as(value); - this[$checkMutable]("indexed set"); - if (index == null || !(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - this[index] = value; - return value$; - } - [$asMap]() { - return new (__t$ListMapViewOfE()).new(this); - } - get [$runtimeType]() { - return dart.wrapType(core.List$(E)); - } - [$followedBy](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) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[19], 608, 30, "other"); - return (() => { - let t15 = __t$ListOfE().of(this); - t15[$addAll](other); - return t15; - })(); - } - [$indexWhere](test, start = 0) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - [$lastIndexWhere](test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - set [$first](element) { - E.as(element); - 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.withLength(0, this[$length], {indexable: this})); - this[$_set](this[$length] - 1, element); - } - } - (JSArray.new = function() { - ; - }).prototype = JSArray.prototype; - dart.setExtensionBaseClass(JSArray, dart.global.Array); - JSArray.prototype[dart.isList] = true; - dart.addTypeTests(JSArray); - JSArray.prototype[_is_JSArray_default] = true; - dart.addTypeCaches(JSArray); - JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; - dart.setMethodSignature(JSArray, () => ({ - __proto__: dart.getMethods(JSArray.__proto__), - [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$removeAt]: dart.fnType(E, [core.int]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$removeLast]: dart.fnType(E, []), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$join]: dart.fnType(core.String, [], [core.String]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$elementAt]: dart.fnType(E, [core.int]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toSet]: dart.fnType(core.Set$(E), []), - [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$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, - [$last]: E, - [$single]: E, - [$reversed]: core.Iterable$(E), - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$iterator]: core.Iterator$(E), - [$length]: core.int - })); - dart.setSetterSignature(JSArray, () => ({ - __proto__: dart.getSetters(JSArray.__proto__), - [$length]: core.int, - [$first]: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(JSArray, I[17]); - return JSArray; - }); - _interceptors.JSArray = _interceptors.JSArray$(); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSMutableArray$(E)).new(); - } - } - (JSMutableArray.new = function() { - JSMutableArray.__proto__.new.call(this); - ; - }).prototype = JSMutableArray.prototype; - dart.addTypeTests(JSMutableArray); - JSMutableArray.prototype[_is_JSMutableArray_default] = true; - dart.addTypeCaches(JSMutableArray); - JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSFixedArray$(E)).new(); - } - } - (JSFixedArray.new = function() { - JSFixedArray.__proto__.new.call(this); - ; - }).prototype = JSFixedArray.prototype; - dart.addTypeTests(JSFixedArray); - JSFixedArray.prototype[_is_JSFixedArray_default] = true; - dart.addTypeCaches(JSFixedArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSExtendableArray$(E)).new(); - } - } - (JSExtendableArray.new = function() { - JSExtendableArray.__proto__.new.call(this); - ; - }).prototype = JSExtendableArray.prototype; - dart.addTypeTests(JSExtendableArray); - JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; - dart.addTypeCaches(JSExtendableArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSUnmodifiableArray$(E)).new(); - } - } - (JSUnmodifiableArray.new = function() { - JSUnmodifiableArray.__proto__.new.call(this); - ; - }).prototype = JSUnmodifiableArray.prototype; - dart.addTypeTests(JSUnmodifiableArray); - JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; - dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[17]); - return JSUnmodifiableArray; - }); - _interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); - dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); - var _current = dart.privateName(_interceptors, "_current"); - var _iterable = dart.privateName(_interceptors, "_iterable"); - var _length = dart.privateName(_interceptors, "_length"); - 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]); - } - moveNext() { - let length = this[_iterable][$length]; - if (this[_length] !== length) { - dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); - } - if (this[_index] >= length) { - this[_current] = null; - return false; - } - this[_current] = this[_iterable][$_get](this[_index]); - this[_index] = this[_index] + 1; - return true; - } - } - (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); - this[_current] = null; - this[_iterable] = iterable; - this[_length] = iterable[$length]; - this[_index] = 0; - ; - }).prototype = ArrayIterator.prototype; - dart.addTypeTests(ArrayIterator); - ArrayIterator.prototype[_is_ArrayIterator_default] = true; - dart.addTypeCaches(ArrayIterator); - ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ArrayIterator, () => ({ - __proto__: dart.getMethods(ArrayIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ArrayIterator, () => ({ - __proto__: dart.getGetters(ArrayIterator.__proto__), - current: E - })); - dart.setLibraryUri(ArrayIterator, I[17]); - dart.setFieldSignature(ArrayIterator, () => ({ - __proto__: dart.getFields(ArrayIterator.__proto__), - [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), - [_length]: dart.finalFieldType(core.int), - [_index]: dart.fieldType(core.int), - [_current]: dart.fieldType(dart.nullable(E)) - })); - return ArrayIterator; - }); - _interceptors.ArrayIterator = _interceptors.ArrayIterator$(); - dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); - var _isInt32 = dart.privateName(_interceptors, "_isInt32"); - var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); - 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); - if (this < b) { - return -1; - } else if (this > b) { - return 1; - } else if (this === b) { - if (this === 0) { - let bIsNegative = b[$isNegative]; - if (this[$isNegative] === bIsNegative) return 0; - if (this[$isNegative]) return -1; - return 1; - } - return 0; - } else if (this[$isNaN]) { - if (b[$isNaN]) { - return 0; - } - return 1; - } else { - return -1; - } - } - get [$isNegative]() { - return this === 0 ? 1 / this < 0 : this < 0; - } - get [$isNaN]() { - return isNaN(this); - } - get [$isInfinite]() { - return this == 1 / 0 || this == -1 / 0; - } - get [$isFinite]() { - return isFinite(this); - } - [$remainder](b) { - if (b == null) dart.argumentError(b); - return this % b; - } - [$abs]() { - return Math.abs(this); - } - get [$sign]() { - return this > 0 ? 1 : this < 0 ? -1 : this; - } - [$toInt]() { - if (this >= -2147483648 && this <= 2147483647) { - return this | 0; - } - if (isFinite(this)) { - return this[$truncateToDouble]() + 0; - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$truncate]() { - return this[$toInt](); - } - [$ceil]() { - return this[$ceilToDouble]()[$toInt](); - } - [$floor]() { - return this[$floorToDouble]()[$toInt](); - } - [$round]() { - if (this > 0) { - if (this !== 1 / 0) { - return Math.round(this); - } - } else if (this > -1 / 0) { - return 0 - Math.round(0 - this); - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$ceilToDouble]() { - return Math.ceil(this); - } - [$floorToDouble]() { - return Math.floor(this); - } - [$roundToDouble]() { - if (this < 0) { - return -Math.round(-this); - } else { - return Math.round(this); - } - } - [$truncateToDouble]() { - return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); - } - [$clamp](lowerLimit, upperLimit) { - if (lowerLimit == null) dart.argumentError(lowerLimit); - if (upperLimit == null) dart.argumentError(upperLimit); - if (lowerLimit[$compareTo](upperLimit) > 0) { - dart.throw(_js_helper.argumentErrorValue(lowerLimit)); - } - if (this[$compareTo](lowerLimit) < 0) return lowerLimit; - if (this[$compareTo](upperLimit) > 0) return upperLimit; - return this; - } - [$toDouble]() { - return this; - } - [$toStringAsFixed](fractionDigits) { - if (fractionDigits == null) dart.argumentError(fractionDigits); - if (fractionDigits < 0 || fractionDigits > 20) { - dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); - } - let result = this.toFixed(fractionDigits); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toStringAsExponential](fractionDigits = null) { - let result = null; - if (fractionDigits != null) { - let _fractionDigits = fractionDigits; - if (_fractionDigits < 0 || _fractionDigits > 20) { - dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); - } - result = this.toExponential(_fractionDigits); - } else { - result = this.toExponential(); - } - if (this === 0 && this[$isNegative]) return "-" + dart.str(result); - return result; - } - [$toStringAsPrecision](precision) { - if (precision == null) dart.argumentError(precision); - if (precision < 1 || precision > 21) { - dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); - } - let result = this.toPrecision(precision); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toRadixString](radix) { - if (radix == null) dart.argumentError(radix); - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - let result = this.toString(radix); - if (result[$codeUnitAt](result.length - 1) !== 41) { - return result; - } - return _interceptors.JSNumber._handleIEtoString(result); - } - static _handleIEtoString(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))); - } - result = match[$_get](1); - let exponent = +match[$_get](3); - if (match[$_get](2) != null) { - result = result + match[$_get](2); - exponent = exponent - match[$_get](2).length; - } - return dart.notNull(result) + "0"[$times](exponent); - } - [$toString]() { - if (this === 0 && 1 / this < 0) { - return "-0.0"; - } else { - return "" + this; - } - } - get [$hashCode]() { - let intValue = this | 0; - if (this === intValue) return 536870911 & intValue; - let absolute = Math.abs(this); - let lnAbsolute = Math.log(absolute); - let log2 = lnAbsolute / 0.6931471805599453; - let floorLog2 = log2 | 0; - let factor = Math.pow(2, floorLog2); - let scaled = absolute < 1 ? absolute / factor : factor / absolute; - let rescaled1 = scaled * 9007199254740992; - let rescaled2 = scaled * 3542243181176521; - let d1 = rescaled1 | 0; - let d2 = rescaled2 | 0; - let d3 = floorLog2; - let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; - return h; - } - [$_negate]() { - return -this; - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$minus](other) { - if (other == null) dart.argumentError(other); - return this - other; - } - [$divide](other) { - if (other == null) dart.argumentError(other); - return this / other; - } - [$times](other) { - if (other == null) dart.argumentError(other); - return this * other; - } - [$modulo](other) { - if (other == null) dart.argumentError(other); - let result = this % other; - if (result === 0) { - return 0; - } - if (result > 0) return result; - if (other < 0) { - return result - other; - } else { - return result + other; - } - } - [_isInt32](value) { - return (value | 0) === value; - } - [$floorDivide](other) { - if (other == null) dart.argumentError(other); - if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { - return this / other | 0; - } else { - return this[_tdivSlow](other); - } - } - [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[20], 321, 21, "other"); - return (this / other)[$toInt](); - } - [$leftShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shlPositive](other); - } - [_shlPositive](other) { - return other > 31 ? 0 : this << other >>> 0; - } - [$rightShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrOtherPositive](other); - } - [$tripleShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrUnsigned](other); - } - [_shrOtherPositive](other) { - return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; - } - [_shrUnsigned](other) { - return other > 31 ? 0 : this >>> other; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return (this & other) >>> 0; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return (this | other) >>> 0; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return (this ^ other) >>> 0; - } - [$lessThan](other) { - if (other == null) dart.argumentError(other); - return this < other; - } - [$greaterThan](other) { - if (other == null) dart.argumentError(other); - return this > other; - } - [$lessOrEquals](other) { - if (other == null) dart.argumentError(other); - return this <= other; - } - [$greaterOrEquals](other) { - if (other == null) dart.argumentError(other); - return this >= other; - } - get [$isEven]() { - return (this & 1) === 0; - } - get [$isOdd]() { - return (this & 1) === 1; - } - [$toUnsigned](width) { - if (width == null) dart.argumentError(width); - return (this & (1)[$leftShift](width) - 1) >>> 0; - } - [$toSigned](width) { - if (width == null) dart.argumentError(width); - let signMask = (1)[$leftShift](width - 1); - return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); - } - get [$bitLength]() { - let nonneg = this < 0 ? -this - 1 : this; - let wordBits = 32; - while (nonneg >= 4294967296) { - nonneg = (nonneg / 4294967296)[$truncate](); - wordBits = wordBits + 32; - } - return wordBits - _interceptors.JSNumber._clz32(nonneg); - } - static _clz32(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; - if (this < -9007199254740991.0 || this > 9007199254740991.0) { - dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); - } - if (e > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); - } - if (m > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); - } - if (m > 94906265) { - return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); - } - let b = this; - if (b < 0 || b > m) { - b = b[$modulo](m); - } - let r = 1; - while (e > 0) { - if (e[$isOdd]) { - r = (r * b)[$modulo](m); - } - e = (e / 2)[$truncate](); - b = (b * b)[$modulo](m); - } - return r; - } - static _binaryGcd(x, y, inv) { - let s = 1; - if (!inv) { - while (x[$isEven] && y[$isEven]) { - x = (x / 2)[$truncate](); - y = (y / 2)[$truncate](); - s = s * 2; - } - if (y[$isOdd]) { - let t = x; - x = y; - y = t; - } - } - let ac = x[$isEven]; - let u = x; - let v = y; - let a = 1; - let b = 0; - let c = 0; - let d = 1; - do { - while (u[$isEven]) { - u = (u / 2)[$truncate](); - if (ac) { - if (!a[$isEven] || !b[$isEven]) { - a = a + y; - b = b - x; - } - a = (a / 2)[$truncate](); - } else if (!b[$isEven]) { - b = b - x; - } - b = (b / 2)[$truncate](); - } - while (v[$isEven]) { - v = (v / 2)[$truncate](); - if (ac) { - if (!c[$isEven] || !d[$isEven]) { - c = c + y; - d = d - x; - } - c = (c / 2)[$truncate](); - } else if (!d[$isEven]) { - d = d - x; - } - d = (d / 2)[$truncate](); - } - if (u >= v) { - u = u - v; - if (ac) a = a - c; - b = b - d; - } else { - v = v - u; - if (ac) c = c - a; - d = d - b; - } - } while (u !== 0); - if (!inv) return s * v; - if (v !== 1) dart.throw(core.Exception.new("Not coprime")); - if (d < 0) { - d = d + x; - if (d < 0) d = d + x; - } else if (d > x) { - d = d - x; - if (d > x) d = d - x; - } - return d; - } - [$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; - if (t < 0 || t >= m) t = t[$modulo](m); - if (t === 1) return 1; - if (t === 0 || t[$isEven] && m[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - return _interceptors.JSNumber._binaryGcd(m, t, true); - } - [$gcd](other) { - if (other == null) dart.argumentError(other); - if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); - let x = this[$abs](); - let y = other[$abs](); - if (x === 0) return y; - if (y === 0) return x; - if (x === 1 || y === 1) return 1; - return _interceptors.JSNumber._binaryGcd(x, y, false); - } - [$bitNot]() { - return ~this >>> 0; - } - }; - (_interceptors.JSNumber.new = function() { - _interceptors.JSNumber.__proto__.new.call(this); - ; - }).prototype = _interceptors.JSNumber.prototype; - dart.addTypeTests(_interceptors.JSNumber); - dart.addTypeCaches(_interceptors.JSNumber); - _interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; - dart.setMethodSignature(_interceptors.JSNumber, () => ({ - __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$abs]: dart.fnType(_interceptors.JSNumber, []), - [$toInt]: dart.fnType(core.int, []), - [$truncate]: dart.fnType(core.int, []), - [$ceil]: dart.fnType(core.int, []), - [$floor]: dart.fnType(core.int, []), - [$round]: dart.fnType(core.int, []), - [$ceilToDouble]: dart.fnType(core.double, []), - [$floorToDouble]: dart.fnType(core.double, []), - [$roundToDouble]: dart.fnType(core.double, []), - [$truncateToDouble]: dart.fnType(core.double, []), - [$clamp]: dart.fnType(core.num, [core.num, core.num]), - [$toDouble]: dart.fnType(core.double, []), - [$toStringAsFixed]: dart.fnType(core.String, [core.int]), - [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), - [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), - [$toRadixString]: dart.fnType(core.String, [core.int]), - [$_negate]: dart.fnType(_interceptors.JSNumber, []), - [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$divide]: dart.fnType(core.double, [core.num]), - [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), - [_isInt32]: dart.fnType(core.bool, [core.num]), - [$floorDivide]: dart.fnType(core.int, [core.num]), - [_tdivSlow]: dart.fnType(core.int, [core.num]), - [$leftShift]: dart.fnType(core.int, [core.num]), - [_shlPositive]: dart.fnType(core.int, [core.num]), - [$rightShift]: dart.fnType(core.int, [core.num]), - [$tripleShift]: dart.fnType(core.int, [core.num]), - [_shrOtherPositive]: dart.fnType(core.int, [core.num]), - [_shrUnsigned]: dart.fnType(core.int, [core.num]), - [$bitAnd]: dart.fnType(core.int, [core.num]), - [$bitOr]: dart.fnType(core.int, [core.num]), - [$bitXor]: dart.fnType(core.int, [core.num]), - [$lessThan]: dart.fnType(core.bool, [core.num]), - [$greaterThan]: dart.fnType(core.bool, [core.num]), - [$lessOrEquals]: dart.fnType(core.bool, [core.num]), - [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), - [$toUnsigned]: dart.fnType(core.int, [core.int]), - [$toSigned]: dart.fnType(core.int, [core.int]), - [$modPow]: dart.fnType(core.int, [core.int, core.int]), - [$modInverse]: dart.fnType(core.int, [core.int]), - [$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, - [$isNaN]: core.bool, - [$isInfinite]: core.bool, - [$isFinite]: core.bool, - [$sign]: _interceptors.JSNumber, - [$isEven]: core.bool, - [$isOdd]: core.bool, - [$bitLength]: core.int - })); - 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; - }, - /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { - return 2147483647; - } - }, 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.withLength(index, len, {indexable: this, name: "index"})); - } - return this.charCodeAt(index); - } - [$allMatches](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let len = string.length; - if (0 > start || start > len) { - dart.throw(new core.RangeError.range(start, 0, len)); - } - return _js_helper.allMatchesInStringUnchecked(this, string, start); - } - [$matchAsPrefix](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let stringLength = string.length; - if (start < 0 || start > stringLength) { - dart.throw(new core.RangeError.range(start, 0, stringLength)); - } - let thisLength = this.length; - if (start + thisLength > stringLength) return null; - for (let i = 0; i < thisLength; i = i + 1) { - if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { - return null; - } - } - return new _js_helper.StringMatch.new(start, string, this); - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$endsWith](other) { - if (other == null) dart.argumentError(other); - let otherLength = other.length; - let thisLength = this.length; - if (otherLength > thisLength) return false; - return other === this[$substring](thisLength - otherLength); - } - [$replaceAll](from, to) { - 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[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[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[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[21], 91, 15, "from"); - if (replace == null) dart.argumentError(replace); - if (startIndex == null) dart.argumentError(startIndex); - core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); - return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); - } - [$split](pattern) { - if (pattern == null) dart.argumentError(pattern); - if (typeof pattern == 'string') { - return T$.JSArrayOfString().of(this.split(pattern)); - } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { - let re = _js_helper.regExpGetNative(pattern); - return T$.JSArrayOfString().of(this.split(re)); - } else { - return this[_defaultSplit](pattern); - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (replacement == null) dart.argumentError(replacement); - let e = core.RangeError.checkValidRange(start, end, this.length); - return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); - } - [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); - let result = T$.JSArrayOfString().of([]); - let start = 0; - let length = 1; - for (let match of pattern[$allMatches](this)) { - let matchStart = match.start; - let matchEnd = match.end; - length = matchEnd - matchStart; - if (length === 0 && start === matchStart) { - continue; - } - let end = matchStart; - result[$add](this[$substring](start, end)); - start = matchEnd; - } - if (start < this.length || length > 0) { - result[$add](this[$substring](start)); - } - return result; - } - [$startsWith](pattern, index = 0) { - 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) { - dart.throw(new core.RangeError.range(index, 0, this.length)); - } - if (typeof pattern == 'string') { - let other = pattern; - let otherLength = other.length; - let endIndex = index + otherLength; - if (endIndex > length) return false; - return other === this.substring(index, endIndex); - } - return pattern[$matchAsPrefix](this, index) != null; - } - [$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(); - } - [$toUpperCase]() { - return this.toUpperCase(); - } - static _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; - } - } - } - static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[21], 243, 44, "string"); - if (index == null) dart.argumentError(index); - let stringLength = string.length; - while (index < stringLength) { - let codeUnit = string[$codeUnitAt](index); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index + 1; - } - return index; - } - static _skipTrailingWhitespace(string, index) { - 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); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index - 1; - } - return index; - } - [$trim]() { - let result = this.trim(); - let length = result.length; - if (length === 0) return result; - let firstCode = result[$codeUnitAt](0); - let startIndex = 0; - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - if (startIndex === length) return ""; - } - let endIndex = length; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - if (startIndex === 0 && endIndex === length) return result; - return result.substring(startIndex, endIndex); - } - [$trimLeft]() { - let result = null; - let startIndex = 0; - if (typeof this.trimLeft != "undefined") { - result = this.trimLeft(); - if (result.length === 0) return result; - let firstCode = result[$codeUnitAt](0); - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - } - } else { - result = this; - startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); - } - if (startIndex === 0) return result; - if (startIndex === result.length) return ""; - return result.substring(startIndex); - } - [$trimRight]() { - let result = null; - let endIndex = 0; - if (typeof this.trimRight != "undefined") { - result = this.trimRight(); - endIndex = result.length; - if (endIndex === 0) return result; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - } else { - result = this; - endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); - } - if (endIndex === result.length) return result; - if (endIndex === 0) return ""; - return result.substring(0, endIndex); - } - [$times](times) { - if (times == null) dart.argumentError(times); - if (0 >= times) return ""; - if (times === 1 || this.length === 0) return this; - if (times !== times >>> 0) { - dart.throw(C[18] || CT.C18); - } - let result = ""; - let s = this; - while (true) { - if ((times & 1) === 1) result = s + result; - times = times >>> 1; - if (times === 0) break; - s = s + s; - } - return result; - } - [$padLeft](width, padding = " ") { - if (width == null) dart.argumentError(width); - 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[21], 393, 49, "padding"); - let delta = width - this.length; - if (delta <= 0) return this; - return this[$plus](padding[$times](delta)); - } - get [$codeUnits]() { - return new _internal.CodeUnits.new(this); - } - get [$runes]() { - return new core.Runes.new(this); - } - [$indexOf](pattern, start = 0) { - if (pattern == null) dart.argumentError(pattern); - if (start == null) dart.argumentError(start); - if (start < 0 || start > this.length) { - dart.throw(new core.RangeError.range(start, 0, this.length)); - } - if (typeof pattern == 'string') { - return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = pattern; - let match = _js_helper.firstMatchAfter(re, this, start); - return match == null ? -1 : match.start; - } - let length = this.length; - for (let i = start; i <= length; i = i + 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$lastIndexOf](pattern, _start = null) { - let t16; - if (pattern == null) dart.argumentError(pattern); - let length = this.length; - 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)); - } - if (typeof pattern == 'string') { - let other = pattern; - if (dart.notNull(start) + other.length > length) { - start = length - other.length; - } - return _js_helper.stringLastIndexOfUnchecked(this, other, start); - } - for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$contains](other, startIndex = 0) { - if (other == null) dart.argumentError(other); - if (startIndex == null) dart.argumentError(startIndex); - if (startIndex < 0 || startIndex > this.length) { - dart.throw(new core.RangeError.range(startIndex, 0, this.length)); - } - return _js_helper.stringContainsUnchecked(this, other, startIndex); - } - get [$isEmpty]() { - return this.length === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$compareTo](other) { - core.String.as(other); - if (other == null) dart.argumentError(other); - return this === other ? 0 : this < other ? -1 : 1; - } - [$toString]() { - return this; - } - get [$hashCode]() { - let hash = 0; - let length = this.length; - for (let i = 0; i < length; i = i + 1) { - hash = 536870911 & hash + this.charCodeAt(i); - hash = 536870911 & hash + ((524287 & hash) << 10); - hash = hash ^ hash >> 6; - } - hash = 536870911 & hash + ((67108863 & hash) << 3); - hash = hash ^ hash >> 11; - return 536870911 & hash + ((16383 & hash) << 15); - } - get [$runtimeType]() { - return dart.wrapType(core.String); - } - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.argumentError(index); - if (!(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - return this[index]; - } - }; - (_interceptors.JSString.new = function() { - _interceptors.JSString.__proto__.new.call(this); - ; - }).prototype = _interceptors.JSString.prototype; - dart.addTypeTests(_interceptors.JSString); - dart.addTypeCaches(_interceptors.JSString); - _interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; - dart.setMethodSignature(_interceptors.JSString, () => ({ - __proto__: dart.getMethods(_interceptors.JSString.__proto__), - [$codeUnitAt]: dart.fnType(core.int, [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), - [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), - [$plus]: dart.fnType(core.String, [core.String]), - [$endsWith]: dart.fnType(core.bool, [core.String]), - [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), - [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), - [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), - [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), - [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), - [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), - [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), - [$toLowerCase]: dart.fnType(core.String, []), - [$toUpperCase]: dart.fnType(core.String, []), - [$trim]: dart.fnType(core.String, []), - [$trimLeft]: dart.fnType(core.String, []), - [$trimRight]: dart.fnType(core.String, []), - [$times]: dart.fnType(core.String, [core.int]), - [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), - [$padRight]: dart.fnType(core.String, [core.int], [core.String]), - [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$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), - [$runes]: core.Runes, - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$length]: core.int - })); - dart.setLibraryUri(_interceptors.JSString, I[17]); - dart.definePrimitiveHashCode(_interceptors.JSString.prototype); - dart.registerExtension("String", _interceptors.JSString); - _interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { - }; - _interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[18], 304, 57, "name"); - }; - _interceptors.getNativeInterceptor = function getNativeInterceptor(object) { - }; - _interceptors.setDispatchProperty = function setDispatchProperty(object, value) { - }; - _interceptors.findInterceptorForType = function findInterceptorForType(type) { - }; - dart.defineLazy(_interceptors, { - /*_interceptors.jsNull*/get jsNull() { - return new _interceptors.JSNull.new(); - } - }, false); - var _string$ = dart.privateName(_internal, "_string"); - 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 __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 (__t$ListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[24], 78, 19, "index"); - return this[$_get](index); - } - followedBy(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[24], 83, 21, "action"); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - action(this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - get first() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](0); - } - set first(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](0, value); - } - get last() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](dart.notNull(this[$length]) - 1); - } - set last(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](dart.notNull(this[$length]) - 1, value); - } - get single() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this[$_get](0); - } - contains(element) { - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this[$_get](i), element)) return true; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 157, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 170, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - let t20; - if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); - if (this[$length] === 0) return ""; - 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[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[24], 215, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); - } - expand(T, f) { - if (f == null) dart.nullFailed(I[24], 217, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[24], 247, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - take(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[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[24], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); - let first = this[$_get](0); - 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 (__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 t20; - E.as(element); - this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); - } - addAll(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[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); - this[$add](element); - i = dart.notNull(i) + 1; - } - } - remove(element) { - for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this[_closeGap](i, i + 1); - return true; - } - } - return false; - } - [_closeGap](start, 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[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)); - } - this[$length] = dart.notNull(length) - size; - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[24], 315, 25, "test"); - this[_filter](test, false); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[24], 319, 25, "test"); - this[_filter](test, true); - } - [_filter](test, retainMatching) { - 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); - if (test(element) == retainMatching) { - retained[$add](element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (retained[$length] != this[$length]) { - this[$setRange](0, retained[$length], retained); - this[$length] = retained[$length]; - } - } - clear() { - this[$length] = 0; - } - cast(R) { - return core.List.castFrom(E, R, this); - } - removeLast() { - if (this[$length] === 0) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = this[$_get](dart.notNull(this[$length]) - 1); - this[$length] = dart.notNull(this[$length]) - 1; - return result; - } - sort(compare = null) { - 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)); - } - shuffle(random = null) { - random == null ? random = math.Random.new() : null; - if (random == null) dart.throw("!"); - let length = this[$length]; - while (dart.notNull(length) > 1) { - let pos = random.nextInt(length); - length = dart.notNull(length) - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - asMap() { - return new (__t$ListMapViewOfE()).new(this); - } - ['+'](other) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[24], 381, 30, "other"); - return (() => { - let t20 = __t$ListOfE().of(this); - t20[$addAll](other); - return t20; - })(); - } - sublist(start, end = null) { - 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 __t$ListOfE().from(this[$getRange](start, end)); - } - getRange(start, 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 (__t$SubListIterableOfE()).new(this, start, end); - } - removeRange(start, 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[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) { - this[$_set](i, value); - } - } - setRange(start, end, iterable, skipCount = 0) { - 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 (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (dart.notNull(otherStart) < dart.notNull(start)) { - for (let i = length - 1; i >= 0; i = i - 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } else { - for (let i = 0; i < length; i = i + 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } - } - replaceRange(start, end, 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); - return; - } - if (!_internal.EfficientLengthIterable.is(newContents)) { - newContents = newContents[$toList](); - } - let removeLength = dart.notNull(end) - dart.notNull(start); - let insertLength = newContents[$length]; - if (removeLength >= dart.notNull(insertLength)) { - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - this[$setRange](start, insertEnd, newContents); - if (removeLength > dart.notNull(insertLength)) { - this[_closeGap](insertEnd, end); - } - } else if (end == this[$length]) { - let i = start; - for (let element of newContents) { - if (dart.notNull(i) < dart.notNull(end)) { - this[$_set](i, element); - } else { - this[$add](element); - } - i = dart.notNull(i) + 1; - } - } else { - let delta = dart.notNull(insertLength) - removeLength; - let oldLength = this[$length]; - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (insertEnd < dart.notNull(oldLength)) { - this[$setRange](insertEnd, oldLength, this, end); - } - this[$setRange](start, insertEnd, newContents); - } - } - indexOf(element, start = 0) { - 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; - } - return -1; - } - indexWhere(test, start = 0) { - 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; - } - return -1; - } - lastIndexOf(element, start = null) { - 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) { - if (dart.equals(this[$_get](i), element)) return i; - } - return -1; - } - lastIndexWhere(test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[24], 526, 19, "index"); - E.as(element); - _internal.checkNotNullable(core.int, index, "index"); - let length = this[$length]; - core.RangeError.checkValueInInterval(index, 0, length, "index"); - this[$add](element); - if (index != length) { - this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); - this[$_set](index, element); - } - } - removeAt(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[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); - return; - } - if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { - iterable = iterable[$toList](); - } - let insertionLength = iterable[$length]; - if (insertionLength === 0) { - return; - } - let oldLength = this[$length]; - for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (iterable[$length] != insertionLength) { - this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); - dart.throw(new core.ConcurrentModificationError.new(iterable)); - } - let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); - if (oldCopyStart < dart.notNull(oldLength)) { - this[$setRange](oldCopyStart, oldLength, this, index); - } - this[$setAll](index, iterable); - } - setAll(index, 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]((t21 = index, index = dart.notNull(t21) + 1, t21), element); - } - } - } - get reversed() { - return new (__t$ReversedListIterableOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "[", "]"); - } - } - (ListMixin.new = function() { - ; - }).prototype = ListMixin.prototype; - ListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ListMixin); - ListMixin.prototype[_is_ListMixin_default] = true; - dart.addTypeCaches(ListMixin); - ListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ListMixin, () => ({ - __proto__: dart.getMethods(ListMixin.__proto__), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - asMap: dart.fnType(core.Map$(core.int, E), []), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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), - [$iterator]: core.Iterator$(E), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E, - reversed: core.Iterable$(E), - [$reversed]: core.Iterable$(E) - })); - dart.setSetterSignature(ListMixin, () => ({ - __proto__: dart.getSetters(ListMixin.__proto__), - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(ListMixin, I[25]); - dart.defineExtensionMethods(ListMixin, [ - 'elementAt', - 'followedBy', - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'whereType', - 'map', - 'expand', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet', - 'add', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'cast', - 'removeLast', - 'sort', - 'shuffle', - 'asMap', - '+', - 'sublist', - 'getRange', - 'removeRange', - 'fillRange', - 'setRange', - 'replaceRange', - 'indexOf', - 'indexWhere', - 'lastIndexOf', - 'lastIndexWhere', - 'insert', - 'removeAt', - 'insertAll', - 'setAll', - 'toString' - ]); - dart.defineExtensionAccessors(ListMixin, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single', - 'reversed' - ]); - return ListMixin; - }); - collection.ListMixin = collection.ListMixin$(); - dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); - const _is_ListBase_default = Symbol('_is_ListBase_default'); - collection.ListBase$ = dart.generic(E => { - const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; - (Object_ListMixin$36.new = function() { - }).prototype = Object_ListMixin$36.prototype; - dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); - class ListBase extends Object_ListMixin$36 { - static listToString(list) { - if (list == null) dart.nullFailed(I[24], 42, 35, "list"); - return collection.IterableBase.iterableToFullString(list, "[", "]"); - } - } - (ListBase.new = function() { - ; - }).prototype = ListBase.prototype; - dart.addTypeTests(ListBase); - ListBase.prototype[_is_ListBase_default] = true; - dart.addTypeCaches(ListBase); - 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 __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[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[23], 94, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); - } - set first(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - set last(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - setAll(at, 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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); - } - insert(index, element) { - 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[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) { - __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[23], 138, 25, "test"); - dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); - } - retainWhere(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) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - clear() { - dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); - } - removeAt(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[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[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[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[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]() { - return new dart.JsIterator(this[$iterator]); - } - } - (UnmodifiableListMixin.new = function() { - ; - }).prototype = UnmodifiableListMixin.prototype; - UnmodifiableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(UnmodifiableListMixin); - UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; - dart.addTypeCaches(UnmodifiableListMixin); - UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), - length: core.int, - [$length]: core.int, - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(UnmodifiableListMixin, I[26]); - dart.defineExtensionMethods(UnmodifiableListMixin, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); - return UnmodifiableListMixin; - }); - _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 __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[23], 208, 16, "newLength"); - return super.length = newLength; - } - set first(element) { - E.as(element); - return super.first = element; - } - get first() { - return super.first; - } - set last(element) { - E.as(element); - return super.last = element; - } - get last() { - return super.last; - } - _set(index, value$) { - let value = value$; - 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[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) { - E.as(value); - return super.add(value); - } - insert(index, element) { - 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[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) { - __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[23], 208, 16, "test"); - return super.removeWhere(test); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 208, 16, "test"); - return super.retainWhere(test); - } - sort(compare = null) { - return super.sort(compare); - } - shuffle(random = null) { - return super.shuffle(random); - } - clear() { - return super.clear(); - } - removeAt(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[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[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[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[23], 208, 16, "start"); - if (end == null) dart.nullFailed(I[23], 208, 16, "end"); - __t$EN().as(fillValue); - return super.fillRange(start, end, fillValue); - } - } - (UnmodifiableListBase.new = function() { - ; - }).prototype = UnmodifiableListBase.prototype; - dart.addTypeTests(UnmodifiableListBase); - UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; - dart.addTypeCaches(UnmodifiableListBase); - dart.setMethodSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getMethods(UnmodifiableListBase.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getSetters(UnmodifiableListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListBase, I[26]); - dart.defineExtensionMethods(UnmodifiableListBase, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); - return UnmodifiableListBase; - }); - _internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); - dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); - core.num = class num extends core.Object { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.num); - } - static parse(input, onError = null) { - 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 t21; - if (input == null) dart.nullFailed(I[27], 600, 31, "input"); - let source = input[$trim](); - t21 = core.int.tryParse(source); - return t21 == null ? core.double.tryParse(source) : t21; - } - }; - (core.num.new = function() { - ; - }).prototype = core.num.prototype; - dart.addTypeCaches(core.num); - core.num[dart.implements] = () => [core.Comparable$(core.num)]; - 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; - } - static as(o) { - if (typeof o == "number" && Math.floor(o) == o) { - return o; - } - return dart.as(o, core.int); - } - static fromEnvironment(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"); - 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], 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}); - if (value != null) return value; - if (onError != null) return onError(source); - dart.throw(new core.FormatException.new(source)); - } - static tryParse(source, opts) { - 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.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; - } - set length(value) { - super.length = value; - } - _get(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[22], 97, 36, "u"); - return u[_string$]; - } - }; - (_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); - this[_string$] = _string; - ; - }).prototype = _internal.CodeUnits.prototype; - dart.addTypeTests(_internal.CodeUnits); - dart.addTypeCaches(_internal.CodeUnits); - dart.setMethodSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getMethods(_internal.CodeUnits.__proto__), - _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[26]); - dart.setFieldSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getFields(_internal.CodeUnits.__proto__), - [_string$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); - dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); - var name$5 = dart.privateName(_internal, "ExternalName.name"); - _internal.ExternalName = class ExternalName extends core.Object { - get name() { - return this[name$5]; - } - 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[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[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[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[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, 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, 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, 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, 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - hash = _internal.SystemHash.combine(hash, v7); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - 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[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; - x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; - 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.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() { - return this[version$]; - } - 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[22], 745, 20, "version"); - this[version$] = version; - ; - }).prototype = _internal.Since.prototype; - dart.addTypeTests(_internal.Since); - dart.addTypeCaches(_internal.Since); - 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); - } - if (typeof object == 'string') { - return core.Error._stringToSafeString(object); - } - return core.Error._objectToString(object); - } - static _stringToSafeString(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], 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[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 '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; - } - } - (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); - this[_name$] = _name; - NotNullableError.__proto__.new.call(this); - ; - }).prototype = NotNullableError.prototype; - dart.addTypeTests(NotNullableError); - NotNullableError.prototype[_is_NotNullableError_default] = true; - dart.addTypeCaches(NotNullableError); - NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[26]); - dart.setFieldSignature(NotNullableError, () => ({ - __proto__: dart.getFields(NotNullableError.__proto__), - [_name$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(NotNullableError, ['toString']); - return NotNullableError; - }); - _internal.NotNullableError = _internal.NotNullableError$(); - dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); - _internal.HttpStatus = class HttpStatus extends core.Object {}; - (_internal.HttpStatus.new = function() { - ; - }).prototype = _internal.HttpStatus.prototype; - dart.addTypeTests(_internal.HttpStatus); - dart.addTypeCaches(_internal.HttpStatus); - 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; - }, - /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { - return 101; - }, - /*_internal.HttpStatus.processing*/get processing() { - return 102; - }, - /*_internal.HttpStatus.ok*/get ok() { - return 200; - }, - /*_internal.HttpStatus.created*/get created() { - return 201; - }, - /*_internal.HttpStatus.accepted*/get accepted() { - return 202; - }, - /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { - return 203; - }, - /*_internal.HttpStatus.noContent*/get noContent() { - return 204; - }, - /*_internal.HttpStatus.resetContent*/get resetContent() { - return 205; - }, - /*_internal.HttpStatus.partialContent*/get partialContent() { - return 206; - }, - /*_internal.HttpStatus.multiStatus*/get multiStatus() { - return 207; - }, - /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { - return 208; - }, - /*_internal.HttpStatus.imUsed*/get imUsed() { - return 226; - }, - /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { - return 300; - }, - /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { - return 301; - }, - /*_internal.HttpStatus.found*/get found() { - return 302; - }, - /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { - return 302; - }, - /*_internal.HttpStatus.seeOther*/get seeOther() { - return 303; - }, - /*_internal.HttpStatus.notModified*/get notModified() { - return 304; - }, - /*_internal.HttpStatus.useProxy*/get useProxy() { - return 305; - }, - /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { - return 307; - }, - /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { - return 308; - }, - /*_internal.HttpStatus.badRequest*/get badRequest() { - return 400; - }, - /*_internal.HttpStatus.unauthorized*/get unauthorized() { - return 401; - }, - /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { - return 402; - }, - /*_internal.HttpStatus.forbidden*/get forbidden() { - return 403; - }, - /*_internal.HttpStatus.notFound*/get notFound() { - return 404; - }, - /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { - return 405; - }, - /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { - return 406; - }, - /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { - return 407; - }, - /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { - return 408; - }, - /*_internal.HttpStatus.conflict*/get conflict() { - return 409; - }, - /*_internal.HttpStatus.gone*/get gone() { - return 410; - }, - /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { - return 411; - }, - /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { - return 412; - }, - /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { - return 413; - }, - /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { - return 414; - }, - /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { - return 415; - }, - /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { - return 416; - }, - /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { - return 417; - }, - /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { - return 421; - }, - /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { - return 422; - }, - /*_internal.HttpStatus.locked*/get locked() { - return 423; - }, - /*_internal.HttpStatus.failedDependency*/get failedDependency() { - return 424; - }, - /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { - return 426; - }, - /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { - return 428; - }, - /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { - return 429; - }, - /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { - return 431; - }, - /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { - return 444; - }, - /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { - return 451; - }, - /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { - return 499; - }, - /*_internal.HttpStatus.internalServerError*/get internalServerError() { - return 500; - }, - /*_internal.HttpStatus.notImplemented*/get notImplemented() { - return 501; - }, - /*_internal.HttpStatus.badGateway*/get badGateway() { - return 502; - }, - /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { - return 503; - }, - /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { - return 504; - }, - /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { - return 505; - }, - /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { - return 506; - }, - /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { - return 507; - }, - /*_internal.HttpStatus.loopDetected*/get loopDetected() { - return 508; - }, - /*_internal.HttpStatus.notExtended*/get notExtended() { - return 510; - }, - /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { - return 511; - }, - /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { - return 599; - }, - /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { - return 100; - }, - /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { - return 101; - }, - /*_internal.HttpStatus.OK*/get OK() { - return 200; - }, - /*_internal.HttpStatus.CREATED*/get CREATED() { - return 201; - }, - /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { - return 202; - }, - /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { - return 203; - }, - /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { - return 204; - }, - /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { - return 205; - }, - /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { - return 206; - }, - /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { - return 300; - }, - /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { - return 301; - }, - /*_internal.HttpStatus.FOUND*/get FOUND() { - return 302; - }, - /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { - return 302; - }, - /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { - return 303; - }, - /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { - return 304; - }, - /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { - return 305; - }, - /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { - return 307; - }, - /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { - return 400; - }, - /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { - return 401; - }, - /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { - return 402; - }, - /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { - return 403; - }, - /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { - return 404; - }, - /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { - return 405; - }, - /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { - return 406; - }, - /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { - return 407; - }, - /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { - return 408; - }, - /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { - return 409; - }, - /*_internal.HttpStatus.GONE*/get GONE() { - return 410; - }, - /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { - return 411; - }, - /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { - return 412; - }, - /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { - return 413; - }, - /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { - return 414; - }, - /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { - return 415; - }, - /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { - return 416; - }, - /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { - return 417; - }, - /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { - return 426; - }, - /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 500; - }, - /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { - return 501; - }, - /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { - return 502; - }, - /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { - return 503; - }, - /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { - return 504; - }, - /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { - return 505; - }, - /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { - 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"); - var _addError = dart.privateName(async, "_addError"); - var _completeError = dart.privateName(async, "_completeError"); - var _complete = dart.privateName(async, "_complete"); - var _sink$ = dart.privateName(async, "_sink"); - async.Stream$ = dart.generic(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 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 t22, t21; - if (error == null) dart.nullFailed(I[30], 212, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - 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[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); - controller[_closeUnchecked](); - }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { - controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); - controller[_closeUnchecked](); - }, 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[30], 291, 50, "futures"); - let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); - let count = 0; - function onValue(value) { - if (!dart.test(controller.isClosed)) { - controller[_add](value); - if ((count = count - 1) === 0) controller[_closeUnchecked](); - } - } - dart.fn(onValue, dart.fnType(dart.void, [T])); - function onError(error, 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](); - } - } - dart.fn(onError, T$.ObjectAndStackTraceTovoid()); - for (let future of futures) { - count = count + 1; - future.then(dart.void, onValue, {onError: onError}); - } - 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[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[30], 461, 64, "onListen"); - let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - 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[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 t25; - let computationCount = 0; - function sendEvent(_) { - let t24; - watch.reset(); - if (computation != null) { - let event = null; - try { - event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - controller.add(event); - } else { - controller.add(T.as(null)); - } - } - dart.fn(sendEvent, T$.dynamicTovoid()); - let timer = async.Timer.periodic(period, sendEvent); - t25 = controller; - (() => { - t25.onCancel = dart.fn(() => { - timer.cancel(); - return async.Future._nullFuture; - }, T$.VoidTo_FutureOfNull()); - t25.onPause = dart.fn(() => { - watch.stop(); - timer.cancel(); - }, T$.VoidTovoid()); - t25.onResume = dart.fn(() => { - let elapsed = watch.elapsed; - watch.start(); - timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { - timer = async.Timer.periodic(period, sendEvent); - sendEvent(null); - }, T$.VoidTovoid())); - }, T$.VoidTovoid()); - return t25; - })(); - }, T$.VoidTovoid()); - return controller.stream; - } - static eventTransformed(source, 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[30], 585, 45, "source"); - return new (_internal.CastStream$(S, T)).new(source); - } - get isBroadcast() { - return false; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); - } - where(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[30], 769, 22, "convert"); - return new (async._MapStream$(T, S)).new(this, convert); - } - asyncMap(E, 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); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - let t26; - let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); - function add(value) { - controller.add(value); - } - dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); - let addError = dart.bind(controller, _addError); - let resume = dart.bind(subscription, 'resume'); - subscription.onData(dart.fn(event => { - let newValue = null; - try { - newValue = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (async.Future$(E).is(newValue)) { - subscription.pause(); - newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); - } else { - controller.add(E.as(newValue)); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t26 = controller; - (() => { - 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[30], 841, 39, "convert"); - let controller = null; - if (dart.test(this.isBroadcast)) { - controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - 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; - try { - newStream = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (newStream != null) { - subscription.pause(); - controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t27 = controller; - (() => { - 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[30], 923, 34, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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[30], 958, 35, "convert"); - return new (async._ExpandStream$(T, S)).new(this, convert); - } - pipe(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[30], 1005, 50, "streamTransformer"); - return streamTransformer.bind(this); - } - reduce(combine) { - __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")); - } - function value$35set(value$35param) { - value$35isSet = true; - return value = value$35param; - } - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - if (!seenFirst) { - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } else { - result[_complete](value$35get()); - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { - value$35set(newValue); - }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); - } else { - value$35set(element); - seenFirst = true; - } - }, __t$TTovoid())); - return result; - } - fold(S, initialValue, 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(() => { - result[_complete](value); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - 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)); - }, __t$TTovoid())); - return result; - } - join(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; - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_complete](buffer.toString()); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(separator[$isEmpty] ? dart.fn(element => { - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid()) : dart.fn(element => { - if (!first) { - buffer.write(separator); - } - first = false; - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid())); - return result; - } - contains(needle) { - 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(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(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)); - }, __t$TTovoid())); - return future; - } - forEach(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); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { - }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - every(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[30], 1233, 47, "isMatch"); - if (!dart.test(isMatch)) { - async._cancelAndValue(subscription, future, false); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - any(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[30], 1271, 47, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, true); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - get length() { - let future = new (T$._FutureOfint()).new(); - let count = 0; - this.listen(dart.fn(_ => { - count = count + 1; - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](count); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get isEmpty() { - 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(_ => { - async._cancelAndValue(subscription, future, false); - }, __t$TTovoid())); - return future; - } - cast(R) { - return async.Stream.castFrom(T, R, this); - } - toList() { - let result = __t$JSArrayOfT().of([]); - let future = new (__t$_FutureOfListOfT()).new(); - this.listen(dart.fn(data => { - result[$add](data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - toSet() { - let result = new (__t$_HashSetOfT()).new(); - let future = new (__t$_FutureOfSetOfT()).new(); - this.listen(dart.fn(data => { - result.add(data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - drain(E, futureValue = null) { - if (futureValue == null) { - futureValue = E.as(futureValue); - } - return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); - } - take(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[30], 1475, 28, "test"); - return new (__t$_TakeWhileStreamOfT()).new(this, test); - } - skip(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[30], 1527, 28, "test"); - return new (__t$_SkipWhileStreamOfT()).new(this, test); - } - distinct(equals = null) { - return new (__t$_DistinctStreamOfT()).new(this, equals); - } - get first() { - 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()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - async._cancelAndValue(subscription, future, value); - }, __t$TTovoid())); - return future; - } - get last() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - this.listen(dart.fn(value => { - foundResult = true; - result$35set(value); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get single() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - }, __t$TTovoid())); - return future; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1716, 45, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1767, 45, "isMatch"); - if (dart.test(isMatch)) { - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1818, 45, "isMatch"); - if (dart.test(isMatch)) { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - elementAt(index) { - if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); - core.RangeError.checkNotNegative(index, "index"); - 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.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (index === elementIndex) { - async._cancelAndValue(subscription, result, value); - return; - } - elementIndex = elementIndex + 1; - }, __t$TTovoid())); - return result; - } - timeout(timeLimit, opts) { - 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 (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); - } else { - controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); - } - let zone = async.Zone.current; - let timeoutCallback = null; - if (onTimeout == null) { - timeoutCallback = dart.fn(() => { - controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); - }, T$.VoidTovoid()); - } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); - let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); - timeoutCallback = dart.fn(() => { - wrapper[_sink$] = controller; - zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); - wrapper[_sink$] = null; - }, T$.VoidTovoid()); - } - controller.onListen = dart.fn(() => { - let t58, t58$; - let timer = zone.createTimer(timeLimit, timeoutCallback); - let subscription = this.listen(null); - t58 = subscription; - (() => { - t58.onData(dart.fn(event => { - timer.cancel(); - timer = zone.createTimer(timeLimit, timeoutCallback); - controller.add(event); - }, __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())); - t58.onDone(dart.fn(() => { - timer.cancel(); - controller.close(); - }, T$.VoidTovoid())); - return t58; - })(); - controller.onCancel = dart.fn(() => { - timer.cancel(); - return subscription.cancel(); - }, T$.VoidToFutureOfvoid()); - if (!dart.test(this.isBroadcast)) { - t58$ = controller; - (() => { - t58$.onPause = dart.fn(() => { - timer.cancel(); - subscription.pause(); - }, T$.VoidTovoid()); - t58$.onResume = dart.fn(() => { - subscription.resume(); - timer = zone.createTimer(timeLimit, timeoutCallback); - }, T$.VoidTovoid()); - return t58$; - })(); - } - }, T$.VoidTovoid()); - return controller.stream; - } - } - (Stream.new = function() { - ; - }).prototype = Stream.prototype; - (Stream._internal = function() { - ; - }).prototype = Stream.prototype; - dart.addTypeTests(Stream); - Stream.prototype[dart.isStream] = true; - dart.addTypeCaches(Stream); - dart.setMethodSignature(Stream, () => ({ - __proto__: dart.getMethods(Stream.__proto__), - asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), - where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), - asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), - asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), - handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), - expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), - pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), - transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), - reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), - fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), - join: dart.fnType(async.Future$(core.String), [], [core.String]), - contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), - forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), - every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), - toList: dart.fnType(async.Future$(core.List$(T)), []), - toSet: dart.fnType(async.Future$(core.Set$(T)), []), - drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - take: dart.fnType(async.Stream$(T), [core.int]), - takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - skip: dart.fnType(async.Stream$(T), [core.int]), - skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), - firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - 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, - length: async.Future$(core.int), - isEmpty: async.Future$(core.bool), - first: async.Future$(T), - last: async.Future$(T), - single: async.Future$(T) - })); - 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 __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 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; - t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); - return (() => { - t21.onData(onData); - t21.onError(onError); - return t21; - })(); - } - cast(R) { - return new (_internal.CastStream$(S, R)).new(this[_source$]); - } - } - (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); - this[_source$] = _source; - CastStream.__proto__.new.call(this); - ; - }).prototype = CastStream.prototype; - dart.addTypeTests(CastStream); - CastStream.prototype[_is_CastStream_default] = true; - dart.addTypeCaches(CastStream); - dart.setMethodSignature(CastStream, () => ({ - __proto__: dart.getMethods(CastStream.__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)}, {}), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastStream, I[26]); - dart.setFieldSignature(CastStream, () => ({ - __proto__: dart.getFields(CastStream.__proto__), - [_source$]: dart.finalFieldType(async.Stream$(S)) - })); - return CastStream; - }); - _internal.CastStream = _internal.CastStream$(); - dart.addTypeTests(_internal.CastStream, _is_CastStream_default); - var _zone = dart.privateName(_internal, "_zone"); - var _handleData = dart.privateName(_internal, "_handleData"); - var _handleError = dart.privateName(_internal, "_handleError"); - 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(); - } - onData(handleData) { - this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); - } - onError(handleError) { - this[_source$].onError(handleError); - if (handleError == null) { - this[_handleError] = null; - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); - } else if (T$.ObjectTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); - } else { - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - } - onDone(handleDone) { - this[_source$].onDone(handleDone); - } - [_onData](data) { - S.as(data); - if (this[_handleData] == null) return; - let targetData = null; - try { - targetData = T.as(data); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - let handleError = this[_handleError]; - if (handleError == null) { - this[_zone].handleUncaughtError(error, stack); - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); - } else { - this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); - } - return; - } else - throw e; - } - this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); - } - pause(resumeSignal = null) { - this[_source$].pause(resumeSignal); - } - resume() { - this[_source$].resume(); - } - get isPaused() { - return this[_source$].isPaused; - } - asFuture(E, futureValue = null) { - return this[_source$].asFuture(E, futureValue); - } - } - (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); - this[_zone] = async.Zone.current; - this[_handleData] = null; - this[_handleError] = null; - this[_source$] = _source; - this[_source$].onData(dart.bind(this, _onData)); - }).prototype = CastStreamSubscription.prototype; - CastStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(CastStreamSubscription); - CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; - dart.addTypeCaches(CastStreamSubscription); - CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(CastStreamSubscription, () => ({ - __proto__: dart.getMethods(CastStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(CastStreamSubscription, () => ({ - __proto__: dart.getGetters(CastStreamSubscription.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(CastStreamSubscription, I[26]); - dart.setFieldSignature(CastStreamSubscription, () => ({ - __proto__: dart.getFields(CastStreamSubscription.__proto__), - [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), - [_zone]: dart.finalFieldType(async.Zone), - [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), - [_handleError]: dart.fieldType(dart.nullable(core.Function)) - })); - return CastStreamSubscription; - }); - _internal.CastStreamSubscription = _internal.CastStreamSubscription$(); - dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); - const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); - async.StreamTransformerBase$ = dart.generic((S, T) => { - class StreamTransformerBase extends core.Object { - cast(RS, RT) { - return async.StreamTransformer.castFrom(S, T, RS, RT, this); - } - } - (StreamTransformerBase.new = function() { - ; - }).prototype = StreamTransformerBase.prototype; - dart.addTypeTests(StreamTransformerBase); - StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; - dart.addTypeCaches(StreamTransformerBase); - StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; - dart.setMethodSignature(StreamTransformerBase, () => ({ - __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[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 __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) { - __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[29], 104, 30, "_source"); - this[_source$] = _source; - CastStreamTransformer.__proto__.new.call(this); - ; - }).prototype = CastStreamTransformer.prototype; - dart.addTypeTests(CastStreamTransformer); - CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; - dart.addTypeCaches(CastStreamTransformer); - dart.setMethodSignature(CastStreamTransformer, () => ({ - __proto__: dart.getMethods(CastStreamTransformer.__proto__), - 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[26]); - dart.setFieldSignature(CastStreamTransformer, () => ({ - __proto__: dart.getFields(CastStreamTransformer.__proto__), - [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) - })); - return CastStreamTransformer; - }); - _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 __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[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[32], 31, 46, "other"); - return new (convert._FusedConverter$(S, T, TT)).new(this, other); - } - startChunkedConversion(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) { - __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())); - } - cast(RS, RT) { - return convert.Converter.castFrom(S, T, RS, RT, this); - } - } - (Converter.new = function() { - Converter.__proto__.new.call(this); - ; - }).prototype = Converter.prototype; - dart.addTypeTests(Converter); - Converter.prototype[_is_Converter_default] = true; - dart.addTypeCaches(Converter); - dart.setMethodSignature(Converter, () => ({ - __proto__: dart.getMethods(Converter.__proto__), - fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), - 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.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 __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) { - __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) { - return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); - } - } - (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); - this[_source$] = _source; - CastConverter.__proto__.new.call(this); - ; - }).prototype = CastConverter.prototype; - dart.addTypeTests(CastConverter); - CastConverter.prototype[_is_CastConverter_default] = true; - dart.addTypeCaches(CastConverter); - dart.setMethodSignature(CastConverter, () => ({ - __proto__: dart.getMethods(CastConverter.__proto__), - 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[26]); - dart.setFieldSignature(CastConverter, () => ({ - __proto__: dart.getFields(CastConverter.__proto__), - [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) - })); - return CastConverter; - }); - _internal.CastConverter = _internal.CastConverter$(); - 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[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.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[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[34], 96, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer][$setRange](this[_length$], required, bytes); - } else { - for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { - this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); - } - } - this[_length$] = required; - } - addByte(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[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[34], 118, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); - this[_buffer] = newBuffer; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } - }; - (_internal._CopyingBytesBuilder.new = function() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - ; - }).prototype = _internal._CopyingBytesBuilder.prototype; - dart.addTypeTests(_internal._CopyingBytesBuilder); - dart.addTypeCaches(_internal._CopyingBytesBuilder); - _internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; - dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - 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[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; - }, - /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } - }, false); - var _chunks = dart.privateName(_internal, "_chunks"); - _internal._BytesBuilder = class _BytesBuilder extends core.Object { - add(bytes) { - if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); - let typedBytes = null; - if (typed_data.Uint8List.is(bytes)) { - typedBytes = bytes; - } else { - typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); - } - this[_chunks][$add](typedBytes); - this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); - } - addByte(byte) { - 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; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - if (this[_chunks][$length] === 1) { - let buffer = this[_chunks][$_get](0); - this[_clear](); - return buffer; - } - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - return buffer; - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_chunks][$clear](); - } - static ['_#new#tearOff']() { - return new _internal._BytesBuilder.new(); - } - }; - (_internal._BytesBuilder.new = function() { - this[_length$] = 0; - this[_chunks] = T$.JSArrayOfUint8List().of([]); - ; - }).prototype = _internal._BytesBuilder.prototype; - dart.addTypeTests(_internal._BytesBuilder); - dart.addTypeCaches(_internal._BytesBuilder); - _internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; - dart.setMethodSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - clear: dart.fnType(dart.void, []), - [_clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), - length: core.int, - isEmpty: core.bool, - isNotEmpty: core.bool - })); - 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 __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[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[36], 119, 49, "source"); - return _internal.CastIterable$(S, T).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - cast(R) { - return core.Iterable.castFrom(E, R, this); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[36], 172, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - 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[36], 239, 26, "test"); - return new (__t$WhereIterableOfE()).new(this, test); - } - whereType(T) { - return new (_internal.WhereTypeIterable$(T)).new(this); - } - 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) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[36], 324, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[36], 421, 23, "separator"); - let iterator = this[$iterator]; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.toString(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[36], 450, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().of(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - take(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[36], 564, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[36], 612, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 676, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 705, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 742, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - } - (Iterable.new = function() { - ; - }).prototype = Iterable.prototype; - dart.addTypeTests(Iterable); - Iterable.prototype[dart.isIterable] = true; - dart.addTypeCaches(Iterable); - dart.setMethodSignature(Iterable, () => ({ - __proto__: dart.getMethods(Iterable.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - 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, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(Iterable, I[9]); - dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); - dart.defineExtensionMethods(Iterable, [ - 'cast', - 'followedBy', - 'map', - 'where', - 'whereType', - 'expand', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(Iterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return Iterable; - }); - 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 __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 (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - 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[35], 40, 24, "count"); - return __t$CastIterableOfS$T().new(this[_source$][$take](count)); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[35], 42, 19, "index"); - return T.as(this[_source$][$elementAt](index)); - } - get first() { - return T.as(this[_source$][$first]); - } - get last() { - return T.as(this[_source$][$last]); - } - get single() { - return T.as(this[_source$][$single]); - } - contains(other) { - return this[_source$][$contains](other); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[35], 51, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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$]); - } - } - (_CastIterableBase.new = function() { - _CastIterableBase.__proto__.new.call(this); - ; - }).prototype = _CastIterableBase.prototype; - dart.addTypeTests(_CastIterableBase); - _CastIterableBase.prototype[_is__CastIterableBase_default] = true; - dart.addTypeCaches(_CastIterableBase); - dart.setGetterSignature(_CastIterableBase, () => ({ - __proto__: dart.getGetters(_CastIterableBase.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(_CastIterableBase, I[26]); - dart.defineExtensionMethods(_CastIterableBase, [ - 'skip', - 'take', - 'elementAt', - 'contains', - 'lastWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CastIterableBase, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return _CastIterableBase; - }); - _internal._CastIterableBase = _internal._CastIterableBase$(); - 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(); - } - get current() { - return T.as(this[_source$].current); - } - } - (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); - this[_source$] = _source; - ; - }).prototype = CastIterator.prototype; - dart.addTypeTests(CastIterator); - CastIterator.prototype[_is_CastIterator_default] = true; - dart.addTypeCaches(CastIterator); - CastIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(CastIterator, () => ({ - __proto__: dart.getMethods(CastIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(CastIterator, () => ({ - __proto__: dart.getGetters(CastIterator.__proto__), - current: T - })); - dart.setLibraryUri(CastIterator, I[26]); - dart.setFieldSignature(CastIterator, () => ({ - __proto__: dart.getFields(CastIterator.__proto__), - [_source$]: dart.fieldType(core.Iterator$(S)) - })); - return CastIterator; - }); - _internal.CastIterator = _internal.CastIterator$(); - dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); - var _source$0 = dart.privateName(_internal, "CastIterable._source"); - const _is_CastIterable_default = Symbol('_is_CastIterable_default'); - _internal.CastIterable$ = dart.generic((S, T) => { - class CastIterable extends _internal._CastIterableBase$(S, T) { - get [_source$]() { - return this[_source$0]; - } - 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[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[35], 68, 23, "_source"); - this[_source$0] = _source; - CastIterable.__proto__.new.call(this); - ; - }).prototype = CastIterable.prototype; - dart.addTypeTests(CastIterable); - CastIterable.prototype[_is_CastIterable_default] = true; - dart.addTypeCaches(CastIterable); - dart.setMethodSignature(CastIterable, () => ({ - __proto__: dart.getMethods(CastIterable.__proto__), - 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.setStaticMethodSignature(CastIterable, () => ['new']); - dart.setLibraryUri(CastIterable, I[26]); - dart.setFieldSignature(CastIterable, () => ({ - __proto__: dart.getFields(CastIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)) - })); - dart.defineExtensionMethods(CastIterable, ['cast']); - return CastIterable; - }); - _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) { - 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[35], 82, 59, "source"); - _EfficientLengthCastIterable.__proto__.__.call(this, source); - ; - }).prototype = _EfficientLengthCastIterable.prototype; - dart.addTypeTests(_EfficientLengthCastIterable); - _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; - dart.addTypeCaches(_EfficientLengthCastIterable); - _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - 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 __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); - }).prototype = _CastIterableBase_ListMixin$36.prototype; - dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); - class _CastListBase extends _CastIterableBase_ListMixin$36 { - _get(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[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[35], 105, 23, "length"); - this[_source$][$length] = length; - } - get length() { - return super.length; - } - add(value) { - T.as(value); - this[_source$][$add](S.as(value)); - } - addAll(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)), __t$SAndSToint())); - } - shuffle(random = null) { - this[_source$][$shuffle](random); - } - insert(index, element) { - 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[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[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[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[35], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[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[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[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[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[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() { - _CastListBase.__proto__.new.call(this); - ; - }).prototype = _CastListBase.prototype; - dart.addTypeTests(_CastListBase); - _CastListBase.prototype[_is__CastListBase_default] = true; - dart.addTypeCaches(_CastListBase); - dart.setMethodSignature(_CastListBase, () => ({ - __proto__: dart.getMethods(_CastListBase.__proto__), - _get: dart.fnType(T, [core.int]), - [$_get]: dart.fnType(T, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(_CastListBase, () => ({ - __proto__: dart.getSetters(_CastListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_CastListBase, I[26]); - dart.defineExtensionMethods(_CastListBase, [ - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'remove', - 'removeAt', - 'removeLast', - 'removeWhere', - 'retainWhere', - 'getRange', - 'setRange', - 'removeRange', - 'fillRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(_CastListBase, ['length']); - return _CastListBase; - }); - _internal._CastListBase = _internal._CastListBase$(); - dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); - var _source$1 = dart.privateName(_internal, "CastList._source"); - const _is_CastList_default = Symbol('_is_CastList_default'); - _internal.CastList$ = dart.generic((S, T) => { - class CastList extends _internal._CastListBase$(S, T) { - get [_source$]() { - return this[_source$1]; - } - 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[35], 174, 17, "_source"); - this[_source$1] = _source; - CastList.__proto__.new.call(this); - ; - }).prototype = CastList.prototype; - dart.addTypeTests(CastList); - CastList.prototype[_is_CastList_default] = true; - dart.addTypeCaches(CastList); - dart.setMethodSignature(CastList, () => ({ - __proto__: dart.getMethods(CastList.__proto__), - 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[26]); - dart.setFieldSignature(CastList, () => ({ - __proto__: dart.getFields(CastList.__proto__), - [_source$]: dart.finalFieldType(core.List$(S)) - })); - dart.defineExtensionMethods(CastList, ['cast']); - return CastList; - }); - _internal.CastList = _internal.CastList$(); - dart.addTypeTests(_internal.CastList, _is_CastList_default); - var _source$2 = dart.privateName(_internal, "CastSet._source"); - var _emptySet$ = dart.privateName(_internal, "_emptySet"); - 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 __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]; - } - set [_source$](value) { - super[_source$] = value; - } - 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$]); - } - add(value) { - T.as(value); - return this[_source$].add(S.as(value)); - } - addAll(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[35], 198, 36, "objects"); - this[_source$].removeAll(objects); - } - retainAll(objects) { - if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); - this[_source$].retainAll(objects); - } - removeWhere(test) { - 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[35], 210, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - containsAll(objects) { - if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); - return this[_source$].containsAll(objects); - } - intersection(other) { - if (other == null) dart.nullFailed(I[35], 216, 36, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); - } - difference(other) { - if (other == null) dart.nullFailed(I[35], 221, 34, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); - } - [_conditionalAdd](other, 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 (__t$_HashSetOfT()).new() : emptySet(T); - for (let element of this[_source$]) { - let castElement = T.as(element); - if (otherContains == other.contains(castElement)) result.add(castElement); - } - return result; - } - union(other) { - let t67; - __t$SetOfT().as(other); - if (other == null) dart.nullFailed(I[35], 236, 23, "other"); - t67 = this[_clone](); - return (() => { - t67.addAll(other); - return t67; - })(); - } - clear() { - this[_source$].clear(); - } - [_clone]() { - let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); - result.addAll(this); - return result; - } - toSet() { - return this[_clone](); - } - lookup(key) { - return T.as(this[_source$].lookup(key)); - } - } - (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); - this[_source$2] = _source; - this[_emptySet$] = _emptySet; - CastSet.__proto__.new.call(this); - ; - }).prototype = CastSet.prototype; - dart.addTypeTests(CastSet); - CastSet.prototype[_is_CastSet_default] = true; - dart.addTypeCaches(CastSet); - CastSet[dart.implements] = () => [core.Set$(T)]; - dart.setMethodSignature(CastSet, () => ({ - __proto__: dart.getMethods(CastSet.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), - union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_clone]: dart.fnType(core.Set$(T), []), - lookup: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastSet, I[26]); - dart.setFieldSignature(CastSet, () => ({ - __proto__: dart.getFields(CastSet.__proto__), - [_source$]: dart.finalFieldType(core.Set$(S)), - [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) - })); - dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); - return CastSet; - }); - _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 __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[37], 121, 21, "action"); - for (let key of this[$keys]) { - action(key, V.as(this[$_get](key))); - } - } - addAll(other) { - __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]) { - if (dart.equals(this[$_get](key), value)) return true; - } - return false; - } - putIfAbsent(key, ifAbsent) { - let t68, t67; - K.as(key); - __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)); - } - t67 = key; - t68 = ifAbsent(); - this[$_set](t67, t68); - return t68; - } - update(key, update, opts) { - let t68, t67, t68$, t67$; - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 147, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - if (dart.test(this[$containsKey](key))) { - t67 = key; - t68 = update(V.as(this[$_get](key))); - this[$_set](t67, t68); - return t68; - } - if (ifAbsent != null) { - t67$ = key; - t68$ = ifAbsent(); - this[$_set](t67$, t68$); - return t68$; - } - dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); - } - updateAll(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](__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[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))); - result[$_set](entry.key, entry.value); - } - return result; - } - addEntries(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[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); - } - for (let key of keysToRemove) { - this[$remove](key); - } - } - containsKey(key) { - return this[$keys][$contains](key); - } - get length() { - return this[$keys][$length]; - } - get isEmpty() { - return this[$keys][$isEmpty]; - } - get isNotEmpty() { - return this[$keys][$isNotEmpty]; - } - get values() { - return new (__t$_MapBaseValueIterableOfK$V()).new(this); - } - toString() { - return collection.MapBase.mapToString(this); - } - } - (MapMixin.new = function() { - ; - }).prototype = MapMixin.prototype; - MapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(MapMixin); - MapMixin.prototype[_is_MapMixin_default] = true; - dart.addTypeCaches(MapMixin); - MapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapMixin, () => ({ - __proto__: dart.getMethods(MapMixin.__proto__), - 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)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(MapMixin, () => ({ - __proto__: dart.getGetters(MapMixin.__proto__), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - values: core.Iterable$(V), - [$values]: core.Iterable$(V) - })); - dart.setLibraryUri(MapMixin, I[25]); - dart.defineExtensionMethods(MapMixin, [ - 'cast', - 'forEach', - 'addAll', - 'containsValue', - 'putIfAbsent', - 'update', - 'updateAll', - 'map', - 'addEntries', - 'removeWhere', - 'containsKey', - 'toString' - ]); - dart.defineExtensionAccessors(MapMixin, [ - 'entries', - 'length', - 'isEmpty', - 'isNotEmpty', - 'values' - ]); - return MapMixin; - }); - collection.MapMixin = collection.MapMixin$(); - dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); - 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[37], 22, 51, "m"); - if (dart.test(collection._isToStringVisiting(m))) { - return "{...}"; - } - let result = new core.StringBuffer.new(); - try { - collection._toStringVisiting[$add](m); - result.write("{"); - let first = true; - m[$forEach](dart.fn((k, v) => { - if (!first) { - result.write(", "); - } - first = false; - result.write(k); - result.write(": "); - result.write(v); - }, T$.ObjectNAndObjectNTovoid())); - result.write("}"); - } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); - collection._toStringVisiting[$removeLast](); - } - return result.toString(); - } - static _id(x) { - return x; - } - static _fillMapWithMappedIterable(map, iterable, key, value) { - 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) { - map[$_set](key(element), value(element)); - } - } - static _fillMapWithIterables(map, keys, 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(); - let hasNextValue = valueIterator.moveNext(); - while (dart.test(hasNextKey) && dart.test(hasNextValue)) { - map[$_set](keyIterator.current, valueIterator.current); - hasNextKey = keyIterator.moveNext(); - hasNextValue = valueIterator.moveNext(); - } - if (dart.test(hasNextKey) || dart.test(hasNextValue)) { - dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); - } - } - } - (MapBase.new = function() { - ; - }).prototype = MapBase.prototype; - dart.addTypeTests(MapBase); - MapBase.prototype[_is_MapBase_default] = true; - dart.addTypeCaches(MapBase); - 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 __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$]); - } - containsValue(value) { - return this[_source$][$containsValue](value); - } - containsKey(key) { - return this[_source$][$containsKey](key); - } - _get(key) { - return __t$VN().as(this[_source$][$_get](key)); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_source$][$_set](SK.as(key), SV.as(value)); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) { - __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 __t$VN().as(this[_source$][$remove](key)); - } - clear() { - this[_source$][$clear](); - } - forEach(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)); - }, __t$SKAndSVTovoid())); - } - get keys() { - return __t$CastIterableOfSK$K().new(this[_source$][$keys]); - } - get values() { - return __t$CastIterableOfSV$V().new(this[_source$][$values]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[35], 300, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __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) { - __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](__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) { - __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[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[35], 257, 16, "_source"); - this[_source$] = _source; - ; - }).prototype = CastMap.prototype; - dart.addTypeTests(CastMap); - CastMap.prototype[_is_CastMap_default] = true; - dart.addTypeCaches(CastMap); - dart.setMethodSignature(CastMap, () => ({ - __proto__: dart.getMethods(CastMap.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CastMap, () => ({ - __proto__: dart.getGetters(CastMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CastMap, I[26]); - dart.setFieldSignature(CastMap, () => ({ - __proto__: dart.getFields(CastMap.__proto__), - [_source$]: dart.finalFieldType(core.Map$(SK, SV)) - })); - dart.defineExtensionMethods(CastMap, [ - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'update', - 'updateAll', - 'addEntries', - 'removeWhere' - ]); - dart.defineExtensionAccessors(CastMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return CastMap; - }); - _internal.CastMap = _internal.CastMap$(); - 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 __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]; - } - 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$]); - } - removeFirst() { - return T.as(this[_source$].removeFirst()); - } - removeLast() { - return T.as(this[_source$].removeLast()); - } - add(value) { - T.as(value); - this[_source$].add(S.as(value)); - } - addFirst(value) { - T.as(value); - this[_source$].addFirst(S.as(value)); - } - addLast(value) { - T.as(value); - this[_source$].addLast(S.as(value)); - } - remove(other) { - return this[_source$].remove(other); - } - addAll(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[35], 350, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[35], 327, 18, "_source"); - this[_source$3] = _source; - CastQueue.__proto__.new.call(this); - ; - }).prototype = CastQueue.prototype; - dart.addTypeTests(CastQueue); - CastQueue.prototype[_is_CastQueue_default] = true; - dart.addTypeCaches(CastQueue); - CastQueue[dart.implements] = () => [collection.Queue$(T)]; - dart.setMethodSignature(CastQueue, () => ({ - __proto__: dart.getMethods(CastQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - removeFirst: dart.fnType(T, []), - removeLast: dart.fnType(T, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - clear: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(CastQueue, I[26]); - dart.setFieldSignature(CastQueue, () => ({ - __proto__: dart.getFields(CastQueue.__proto__), - [_source$]: dart.finalFieldType(collection.Queue$(S)) - })); - dart.defineExtensionMethods(CastQueue, ['cast']); - return CastQueue; - }); - _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"; - } - }; - (_internal.LateError.new = function(_message = null) { - this[_message$] = _message; - _internal.LateError.__proto__.new.call(this); - ; - }).prototype = _internal.LateError.prototype; - (_internal.LateError.fieldADI = function(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[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[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[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[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[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[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"; - } - }; - (_internal.ReachabilityError.new = function(_message = null) { - this[_message$] = _message; - _internal.ReachabilityError.__proto__.new.call(this); - ; - }).prototype = _internal.ReachabilityError.prototype; - dart.addTypeTests(_internal.ReachabilityError); - dart.addTypeCaches(_internal.ReachabilityError); - dart.setLibraryUri(_internal.ReachabilityError, I[26]); - dart.setFieldSignature(_internal.ReachabilityError, () => ({ - __proto__: dart.getFields(_internal.ReachabilityError.__proto__), - [_message$]: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); - const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); - _internal.EfficientLengthIterable$ = dart.generic(T => { - class EfficientLengthIterable extends core.Iterable$(T) {} - (EfficientLengthIterable.new = function() { - EfficientLengthIterable.__proto__.new.call(this); - ; - }).prototype = EfficientLengthIterable.prototype; - dart.addTypeTests(EfficientLengthIterable); - EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; - dart.addTypeCaches(EfficientLengthIterable); - 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 __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 (__t$ListIteratorOfE()).new(this); - } - forEach(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)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this.length === 0; - } - get first() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(0); - } - get last() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(dart.notNull(this.length) - 1); - } - get single() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this.elementAt(0); - } - contains(element) { - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this.elementAt(i), element)) return true; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 97, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 110, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 123, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); - let length = this.length; - if (!separator[$isEmpty]) { - if (length === 0) return ""; - let first = dart.str(this.elementAt(0)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - let buffer = new core.StringBuffer.new(first); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - buffer.write(separator); - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } else { - let buffer = new core.StringBuffer.new(); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } - } - where(test) { - if (test == null) dart.nullFailed(I[39], 174, 26, "test"); - return super[$where](test); - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); - return new (_internal.MappedListIterable$(E, T)).new(this, toElement); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[39], 206, 30, "test"); - return super[$skipWhile](test); - } - take(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[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[39], 213, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - let result = new (__t$_HashSetOfE()).new(); - for (let i = 0; i < dart.notNull(this.length); i = i + 1) { - result.add(this.elementAt(i)); - } - return result; - } - } - (ListIterable.new = function() { - ListIterable.__proto__.new.call(this); - ; - }).prototype = ListIterable.prototype; - dart.addTypeTests(ListIterable); - ListIterable.prototype[_is_ListIterable_default] = true; - dart.addTypeCaches(ListIterable); - dart.setMethodSignature(ListIterable, () => ({ - __proto__: dart.getMethods(ListIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListIterable, () => ({ - __proto__: dart.getGetters(ListIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ListIterable, I[26]); - dart.defineExtensionMethods(ListIterable, [ - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(ListIterable, [ - 'iterator', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return ListIterable; - }); - _internal.ListIterable = _internal.ListIterable$(); - dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); - var _iterable$ = dart.privateName(_internal, "_iterable"); - var _start$ = dart.privateName(_internal, "_start"); - var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); - 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 __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$]; - if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; - return endOrLength; - } - get [_startIndex]() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; - return this[_start$]; - } - get length() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; - let endOrLength = this[_endOrLength$]; - if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { - return dart.notNull(length) - dart.notNull(this[_start$]); - } - return dart.notNull(endOrLength) - dart.notNull(this[_start$]); - } - elementAt(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.withLength(index, this.length, {indexable: this, name: "index"})); - } - return this[_iterable$][$elementAt](realIndex); - } - skip(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 (__t$EmptyIterableOfE()).new(); - } - return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); - } - take(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 (__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 (__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[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 __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)); - } - return result; - } - } - (SubListIterable.new = function(_iterable, _start, _endOrLength) { - 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; - SubListIterable.__proto__.new.call(this); - core.RangeError.checkNotNegative(this[_start$], "start"); - let endOrLength = this[_endOrLength$]; - if (endOrLength != null) { - core.RangeError.checkNotNegative(endOrLength, "end"); - if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { - dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); - } - } - }).prototype = SubListIterable.prototype; - dart.addTypeTests(SubListIterable); - SubListIterable.prototype[_is_SubListIterable_default] = true; - dart.addTypeCaches(SubListIterable); - dart.setGetterSignature(SubListIterable, () => ({ - __proto__: dart.getGetters(SubListIterable.__proto__), - [_endIndex]: core.int, - [_startIndex]: core.int - })); - dart.setLibraryUri(SubListIterable, I[26]); - dart.setFieldSignature(SubListIterable, () => ({ - __proto__: dart.getFields(SubListIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_start$]: dart.finalFieldType(core.int), - [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) - })); - dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); - dart.defineExtensionAccessors(SubListIterable, ['length']); - return SubListIterable; - }); - _internal.SubListIterable = _internal.SubListIterable$(); - dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); - var _current$ = dart.privateName(_internal, "_current"); - 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$]); - } - moveNext() { - let length = this[_iterable$][$length]; - if (this[_length$] != length) { - dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); - } - if (dart.notNull(this[_index$]) >= dart.notNull(length)) { - this[_current$] = null; - return false; - } - this[_current$] = this[_iterable$][$elementAt](this[_index$]); - this[_index$] = dart.notNull(this[_index$]) + 1; - return true; - } - } - (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); - this[_current$] = null; - this[_iterable$] = iterable; - this[_length$] = iterable[$length]; - this[_index$] = 0; - ; - }).prototype = ListIterator.prototype; - dart.addTypeTests(ListIterator); - ListIterator.prototype[_is_ListIterator_default] = true; - dart.addTypeCaches(ListIterator); - ListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ListIterator, () => ({ - __proto__: dart.getMethods(ListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ListIterator, () => ({ - __proto__: dart.getGetters(ListIterator.__proto__), - current: E - })); - dart.setLibraryUri(ListIterator, I[26]); - dart.setFieldSignature(ListIterator, () => ({ - __proto__: dart.getFields(ListIterator.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_length$]: dart.finalFieldType(core.int), - [_index$]: dart.fieldType(core.int), - [_current$]: dart.fieldType(dart.nullable(E)) - })); - return ListIterator; - }); - _internal.ListIterator = _internal.ListIterator$(); - 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 __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[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 (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - get length() { - return this[_iterable$][$length]; - } - get isEmpty() { - return this[_iterable$][$isEmpty]; - } - get first() { - let t71; - t71 = this[_iterable$][$first]; - return this[_f$](t71); - } - get last() { - let t71; - t71 = this[_iterable$][$last]; - return this[_f$](t71); - } - get single() { - let t71; - t71 = this[_iterable$][$single]; - return this[_f$](t71); - } - elementAt(index) { - 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[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); - ; - }).prototype = MappedIterable.prototype; - 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[26]); - dart.setFieldSignature(MappedIterable, () => ({ - __proto__: dart.getFields(MappedIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return MappedIterable; - }); - _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) { - 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[39], 380, 45, "iterable"); - if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); - EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); - ; - }).prototype = EfficientLengthMappedIterable.prototype; - dart.addTypeTests(EfficientLengthMappedIterable); - EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; - dart.addTypeCaches(EfficientLengthMappedIterable); - EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); - return EfficientLengthMappedIterable; - }); - _internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); - dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); - var _iterator$ = dart.privateName(_internal, "_iterator"); - const _is_Iterator_default = Symbol('_is_Iterator_default'); - core.Iterator$ = dart.generic(E => { - class Iterator extends core.Object {} - (Iterator.new = function() { - ; - }).prototype = Iterator.prototype; - dart.addTypeTests(Iterator); - Iterator.prototype[_is_Iterator_default] = true; - dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[9]); - return Iterator; - }); - core.Iterator = core.Iterator$(); - 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 t71; - if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); - return true; - } - this[_current$] = null; - return false; - } - get current() { - return T.as(this[_current$]); - } - } - (MappedIterator.new = function(_iterator, _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; - ; - }).prototype = MappedIterator.prototype; - dart.addTypeTests(MappedIterator); - MappedIterator.prototype[_is_MappedIterator_default] = true; - dart.addTypeCaches(MappedIterator); - dart.setMethodSignature(MappedIterator, () => ({ - __proto__: dart.getMethods(MappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(MappedIterator, () => ({ - __proto__: dart.getGetters(MappedIterator.__proto__), - current: T - })); - dart.setLibraryUri(MappedIterator, I[26]); - dart.setFieldSignature(MappedIterator, () => ({ - __proto__: dart.getFields(MappedIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return MappedIterator; - }); - _internal.MappedIterator = _internal.MappedIterator$(); - 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 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[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); - ; - }).prototype = MappedListIterable.prototype; - dart.addTypeTests(MappedListIterable); - MappedListIterable.prototype[_is_MappedListIterable_default] = true; - dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[26]); - dart.setFieldSignature(MappedListIterable, () => ({ - __proto__: dart.getFields(MappedListIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedListIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedListIterable, ['length']); - return MappedListIterable; - }); - _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 __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 (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], 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[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); - ; - }).prototype = WhereIterable.prototype; - dart.addTypeTests(WhereIterable); - WhereIterable.prototype[_is_WhereIterable_default] = true; - dart.addTypeCaches(WhereIterable); - dart.setMethodSignature(WhereIterable, () => ({ - __proto__: dart.getMethods(WhereIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(WhereIterable, () => ({ - __proto__: dart.getGetters(WhereIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(WhereIterable, I[26]); - dart.setFieldSignature(WhereIterable, () => ({ - __proto__: dart.getFields(WhereIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionMethods(WhereIterable, ['map']); - dart.defineExtensionAccessors(WhereIterable, ['iterator']); - return WhereIterable; - }); - _internal.WhereIterable = _internal.WhereIterable$(); - 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 t71; - while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - return true; - } - } - return false; - } - get current() { - return this[_iterator$].current; - } - } - (WhereIterator.new = function(_iterator, _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; - ; - }).prototype = WhereIterator.prototype; - dart.addTypeTests(WhereIterator); - WhereIterator.prototype[_is_WhereIterator_default] = true; - dart.addTypeCaches(WhereIterator); - dart.setMethodSignature(WhereIterator, () => ({ - __proto__: dart.getMethods(WhereIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereIterator, () => ({ - __proto__: dart.getGetters(WhereIterator.__proto__), - current: E - })); - dart.setLibraryUri(WhereIterator, I[26]); - dart.setFieldSignature(WhereIterator, () => ({ - __proto__: dart.getFields(WhereIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - return WhereIterator; - }); - _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 __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 (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (ExpandIterable.new = function(_iterable, _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); - ; - }).prototype = ExpandIterable.prototype; - dart.addTypeTests(ExpandIterable); - ExpandIterable.prototype[_is_ExpandIterable_default] = true; - dart.addTypeCaches(ExpandIterable); - dart.setGetterSignature(ExpandIterable, () => ({ - __proto__: dart.getGetters(ExpandIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(ExpandIterable, I[26]); - dart.setFieldSignature(ExpandIterable, () => ({ - __proto__: dart.getFields(ExpandIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - dart.defineExtensionAccessors(ExpandIterable, ['iterator']); - return ExpandIterable; - }); - _internal.ExpandIterable = _internal.ExpandIterable$(); - dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); - 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 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] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; - } else { - return false; - } - } - this[_current$] = dart.nullCheck(this[_currentExpansion]).current; - return true; - } - } - (ExpandIterator.new = function(_iterator, _f) { - 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; - ; - }).prototype = ExpandIterator.prototype; - dart.addTypeTests(ExpandIterator); - ExpandIterator.prototype[_is_ExpandIterator_default] = true; - dart.addTypeCaches(ExpandIterator); - ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(ExpandIterator, () => ({ - __proto__: dart.getMethods(ExpandIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ExpandIterator, () => ({ - __proto__: dart.getGetters(ExpandIterator.__proto__), - current: T - })); - dart.setLibraryUri(ExpandIterator, I[26]); - dart.setFieldSignature(ExpandIterator, () => ({ - __proto__: dart.getFields(ExpandIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), - [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), - [_current$]: dart.fieldType(dart.nullable(T)) - })); - return ExpandIterator; - }); - _internal.ExpandIterator = _internal.ExpandIterator$(); - 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 __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[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)) { - return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); - } - 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 (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); - } - } - (TakeIterable.__ = function(_iterable, _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); - ; - }).prototype = TakeIterable.prototype; - 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[26]); - dart.setFieldSignature(TakeIterable, () => ({ - __proto__: dart.getFields(TakeIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_takeCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionAccessors(TakeIterable, ['iterator']); - return TakeIterable; - }); - _internal.TakeIterable = _internal.TakeIterable$(); - 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$]; - return iterableLength; - } - } - (EfficientLengthTakeIterable.new = function(iterable, 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; - dart.addTypeTests(EfficientLengthTakeIterable); - EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; - dart.addTypeCaches(EfficientLengthTakeIterable); - EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); - dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); - return EfficientLengthTakeIterable; - }); - _internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); - dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); - 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) { - return this[_iterator$].moveNext(); - } - this[_remaining$] = -1; - return false; - } - get current() { - if (dart.notNull(this[_remaining$]) < 0) return E.as(null); - return this[_iterator$].current; - } - } - (TakeIterator.new = function(_iterator, _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[39], 530, 12, "_remaining >= 0"); - }).prototype = TakeIterator.prototype; - dart.addTypeTests(TakeIterator); - TakeIterator.prototype[_is_TakeIterator_default] = true; - dart.addTypeCaches(TakeIterator); - dart.setMethodSignature(TakeIterator, () => ({ - __proto__: dart.getMethods(TakeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeIterator, () => ({ - __proto__: dart.getGetters(TakeIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeIterator, I[26]); - dart.setFieldSignature(TakeIterator, () => ({ - __proto__: dart.getFields(TakeIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_remaining$]: dart.fieldType(core.int) - })); - return TakeIterator; - }); - _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 __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 (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (TakeWhileIterable.new = function(_iterable, _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); - ; - }).prototype = TakeWhileIterable.prototype; - dart.addTypeTests(TakeWhileIterable); - TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; - dart.addTypeCaches(TakeWhileIterable); - dart.setGetterSignature(TakeWhileIterable, () => ({ - __proto__: dart.getGetters(TakeWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(TakeWhileIterable, I[26]); - dart.setFieldSignature(TakeWhileIterable, () => ({ - __proto__: dart.getFields(TakeWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); - return TakeWhileIterable; - }); - _internal.TakeWhileIterable = _internal.TakeWhileIterable$(); - dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); - 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 t71; - if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - this[_isFinished] = true; - return false; - } - return true; - } - get current() { - if (dart.test(this[_isFinished])) return E.as(null); - return this[_iterator$].current; - } - } - (TakeWhileIterator.new = function(_iterator, _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; - ; - }).prototype = TakeWhileIterator.prototype; - dart.addTypeTests(TakeWhileIterator); - TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; - dart.addTypeCaches(TakeWhileIterator); - dart.setMethodSignature(TakeWhileIterator, () => ({ - __proto__: dart.getMethods(TakeWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeWhileIterator, () => ({ - __proto__: dart.getGetters(TakeWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeWhileIterator, I[26]); - dart.setFieldSignature(TakeWhileIterator, () => ({ - __proto__: dart.getFields(TakeWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_isFinished]: dart.fieldType(core.bool) - })); - return TakeWhileIterator; - }); - _internal.TakeWhileIterator = _internal.TakeWhileIterator$(); - 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 __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[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[39], 598, 24, "count"); - return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); - } - get iterator() { - return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); - } - } - (SkipIterable.__ = function(_iterable, _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); - ; - }).prototype = SkipIterable.prototype; - 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[26]); - dart.setFieldSignature(SkipIterable, () => ({ - __proto__: dart.getFields(SkipIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_skipCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionMethods(SkipIterable, ['skip']); - dart.defineExtensionAccessors(SkipIterable, ['iterator']); - return SkipIterable; - }); - _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 __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[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[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[39], 613, 45, "iterable"); - if (count == null) dart.nullFailed(I[39], 613, 59, "count"); - EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); - ; - }).prototype = EfficientLengthSkipIterable.prototype; - dart.addTypeTests(EfficientLengthSkipIterable); - EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; - dart.addTypeCaches(EfficientLengthSkipIterable); - EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); - dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); - dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); - return EfficientLengthSkipIterable; - }); - _internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); - dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); - 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(); - this[_skipCount$] = 0; - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipIterator.new = function(_iterator, _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[39], 639, 12, "_skipCount >= 0"); - }).prototype = SkipIterator.prototype; - dart.addTypeTests(SkipIterator); - SkipIterator.prototype[_is_SkipIterator_default] = true; - dart.addTypeCaches(SkipIterator); - dart.setMethodSignature(SkipIterator, () => ({ - __proto__: dart.getMethods(SkipIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipIterator, () => ({ - __proto__: dart.getGetters(SkipIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipIterator, I[26]); - dart.setFieldSignature(SkipIterator, () => ({ - __proto__: dart.getFields(SkipIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_skipCount$]: dart.fieldType(core.int) - })); - return SkipIterator; - }); - _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 __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 (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (SkipWhileIterable.new = function(_iterable, _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); - ; - }).prototype = SkipWhileIterable.prototype; - dart.addTypeTests(SkipWhileIterable); - SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; - dart.addTypeCaches(SkipWhileIterable); - dart.setGetterSignature(SkipWhileIterable, () => ({ - __proto__: dart.getGetters(SkipWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SkipWhileIterable, I[26]); - dart.setFieldSignature(SkipWhileIterable, () => ({ - __proto__: dart.getFields(SkipWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); - return SkipWhileIterable; - }); - _internal.SkipWhileIterable = _internal.SkipWhileIterable$(); - dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); - 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 t71; - if (!dart.test(this[_hasSkipped])) { - this[_hasSkipped] = true; - while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; - } - } - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipWhileIterator.new = function(_iterator, _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; - ; - }).prototype = SkipWhileIterator.prototype; - dart.addTypeTests(SkipWhileIterator); - SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; - dart.addTypeCaches(SkipWhileIterator); - dart.setMethodSignature(SkipWhileIterator, () => ({ - __proto__: dart.getMethods(SkipWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipWhileIterator, () => ({ - __proto__: dart.getGetters(SkipWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipWhileIterator, I[26]); - dart.setFieldSignature(SkipWhileIterator, () => ({ - __proto__: dart.getFields(SkipWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_hasSkipped]: dart.fieldType(core.bool) - })); - return SkipWhileIterator; - }); - _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 __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[21] || CT.C21; - } - forEach(action) { - if (action == null) dart.nullFailed(I[39], 690, 21, "action"); - } - get isEmpty() { - return true; - } - get length() { - return 0; - } - get first() { - dart.throw(_internal.IterableElementError.noElement()); - } - get last() { - dart.throw(_internal.IterableElementError.noElement()); - } - get single() { - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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[39], 714, 19, "test"); - return true; - } - any(test) { - if (test == null) dart.nullFailed(I[39], 716, 17, "test"); - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 718, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 723, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 728, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); - return ""; - } - where(test) { - if (test == null) dart.nullFailed(I[39], 735, 26, "test"); - return this; - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); - return new (_internal.EmptyIterable$(T)).new(); - } - reduce(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[39], 743, 31, "combine"); - return initialValue; - } - skip(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[39], 752, 30, "test"); - return this; - } - take(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[39], 759, 30, "test"); - return this; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); - return __t$ListOfE().empty({growable: growable}); - } - toSet() { - return new (__t$_HashSetOfE()).new(); - } - } - (EmptyIterable.new = function() { - EmptyIterable.__proto__.new.call(this); - ; - }).prototype = EmptyIterable.prototype; - dart.addTypeTests(EmptyIterable); - EmptyIterable.prototype[_is_EmptyIterable_default] = true; - dart.addTypeCaches(EmptyIterable); - dart.setMethodSignature(EmptyIterable, () => ({ - __proto__: dart.getMethods(EmptyIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(EmptyIterable, () => ({ - __proto__: dart.getGetters(EmptyIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(EmptyIterable, I[26]); - dart.defineExtensionMethods(EmptyIterable, [ - 'forEach', - 'elementAt', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(EmptyIterable, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return EmptyIterable; - }); - _internal.EmptyIterable = _internal.EmptyIterable$(); - 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; - } - get current() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (EmptyIterator.new = function() { - ; - }).prototype = EmptyIterator.prototype; - dart.addTypeTests(EmptyIterator); - EmptyIterator.prototype[_is_EmptyIterator_default] = true; - dart.addTypeCaches(EmptyIterator); - EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(EmptyIterator, () => ({ - __proto__: dart.getMethods(EmptyIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(EmptyIterator, () => ({ - __proto__: dart.getGetters(EmptyIterator.__proto__), - current: E - })); - dart.setLibraryUri(EmptyIterator, I[26]); - return EmptyIterator; - }); - _internal.EmptyIterator = _internal.EmptyIterator$(); - dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); - 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 __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[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 (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); - } - get length() { - return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); - } - get isEmpty() { - return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); - } - get isNotEmpty() { - return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); - } - contains(value) { - return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); - } - get first() { - let iterator = this[_first$][$iterator]; - if (dart.test(iterator.moveNext())) return iterator.current; - return this[_second$][$first]; - } - get last() { - let iterator = this[_second$][$iterator]; - if (dart.test(iterator.moveNext())) { - let last = iterator.current; - while (dart.test(iterator.moveNext())) - last = iterator.current; - return last; - } - return this[_first$][$last]; - } - } - (FollowedByIterable.new = function(_first, _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); - ; - }).prototype = FollowedByIterable.prototype; - 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[26]); - dart.setFieldSignature(FollowedByIterable, () => ({ - __proto__: dart.getFields(FollowedByIterable.__proto__), - [_first$]: dart.finalFieldType(core.Iterable$(E)), - [_second$]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(FollowedByIterable, ['contains']); - dart.defineExtensionAccessors(FollowedByIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last' - ]); - return FollowedByIterable; - }); - _internal.FollowedByIterable = _internal.FollowedByIterable$(); - 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[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)); - } - get first() { - if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; - return this[_second$][$first]; - } - get last() { - if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; - return this[_first$][$last]; - } - } - (EfficientLengthFollowedByIterable.new = function(first, 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; - dart.addTypeTests(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; - dart.addTypeCaches(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); - dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); - return EfficientLengthFollowedByIterable; - }); - _internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); - dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); - var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); - 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) { - this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; - this[_nextIterable$] = null; - return this[_currentIterator].moveNext(); - } - return false; - } - get current() { - return this[_currentIterator].current; - } - } - (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[39], 845, 34, "first"); - this[_nextIterable$] = _nextIterable; - this[_currentIterator] = first[$iterator]; - ; - }).prototype = FollowedByIterator.prototype; - dart.addTypeTests(FollowedByIterator); - FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; - dart.addTypeCaches(FollowedByIterator); - FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(FollowedByIterator, () => ({ - __proto__: dart.getMethods(FollowedByIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FollowedByIterator, () => ({ - __proto__: dart.getGetters(FollowedByIterator.__proto__), - current: E - })); - dart.setLibraryUri(FollowedByIterator, I[26]); - dart.setFieldSignature(FollowedByIterator, () => ({ - __proto__: dart.getFields(FollowedByIterator.__proto__), - [_currentIterator]: dart.fieldType(core.Iterator$(E)), - [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) - })); - return FollowedByIterator; - }); - _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 __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 (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); - } - } - (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); - this[_source$] = _source; - WhereTypeIterable.__proto__.new.call(this); - ; - }).prototype = WhereTypeIterable.prototype; - dart.addTypeTests(WhereTypeIterable); - WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; - dart.addTypeCaches(WhereTypeIterable); - dart.setGetterSignature(WhereTypeIterable, () => ({ - __proto__: dart.getGetters(WhereTypeIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(WhereTypeIterable, I[26]); - dart.setFieldSignature(WhereTypeIterable, () => ({ - __proto__: dart.getFields(WhereTypeIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) - })); - dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); - return WhereTypeIterable; - }); - _internal.WhereTypeIterable = _internal.WhereTypeIterable$(); - 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; - } - return false; - } - get current() { - return T.as(this[_source$].current); - } - } - (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); - this[_source$] = _source; - ; - }).prototype = WhereTypeIterator.prototype; - dart.addTypeTests(WhereTypeIterator); - WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; - dart.addTypeCaches(WhereTypeIterator); - WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(WhereTypeIterator, () => ({ - __proto__: dart.getMethods(WhereTypeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereTypeIterator, () => ({ - __proto__: dart.getGetters(WhereTypeIterator.__proto__), - current: T - })); - dart.setLibraryUri(WhereTypeIterator, I[26]); - dart.setFieldSignature(WhereTypeIterator, () => ({ - __proto__: dart.getFields(WhereTypeIterator.__proto__), - [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) - })); - return WhereTypeIterator; - }); - _internal.WhereTypeIterator = _internal.WhereTypeIterator$(); - dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); - _internal.IterableElementError = class IterableElementError extends core.Object { - static noElement() { - return new core.StateError.new("No element"); - } - static tooMany() { - return new core.StateError.new("Too many elements"); - } - static tooFew() { - return new core.StateError.new("Too few elements"); - } - }; - (_internal.IterableElementError.new = function() { - ; - }).prototype = _internal.IterableElementError.prototype; - dart.addTypeTests(_internal.IterableElementError); - dart.addTypeCaches(_internal.IterableElementError); - 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 __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); - class FixedLengthListMixin extends core.Object { - set length(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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); - } - insert(index, value) { - 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[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) { - __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[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[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[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[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[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")); - } - } - (FixedLengthListMixin.new = function() { - ; - }).prototype = FixedLengthListMixin.prototype; - dart.addTypeTests(FixedLengthListMixin); - FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; - dart.addTypeCaches(FixedLengthListMixin); - dart.setMethodSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getMethods(FixedLengthListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getSetters(FixedLengthListMixin.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListMixin, I[26]); - dart.defineExtensionMethods(FixedLengthListMixin, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); - return FixedLengthListMixin; - }); - _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 __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[23], 199, 16, "newLength"); - return super[$length] = newLength; - } - add(value) { - E.as(value); - return super[$add](value); - } - insert(index, value) { - 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[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) { - __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[23], 199, 16, "test"); - return super[$removeWhere](test); - } - retainWhere(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[23], 199, 16, "index"); - return super[$removeAt](index); - } - removeLast() { - return super[$removeLast](); - } - removeRange(start, 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[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); - } - } - (FixedLengthListBase.new = function() { - ; - }).prototype = FixedLengthListBase.prototype; - dart.addTypeTests(FixedLengthListBase); - FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; - dart.addTypeCaches(FixedLengthListBase); - dart.setSetterSignature(FixedLengthListBase, () => ({ - __proto__: dart.getSetters(FixedLengthListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListBase, I[26]); - dart.defineExtensionMethods(FixedLengthListBase, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListBase, ['length']); - return FixedLengthListBase; - }); - _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[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[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[26]); - dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ - __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), - [_backedList$]: dart.fieldType(core.List) - })); - dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); - 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 __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$; - K.as(key); - V.as(value); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - return value$; - } - addAll(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) { - __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() { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - remove(key) { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - removeWhere(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); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 303, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - updateAll(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")); - } - } - (_UnmodifiableMapMixin.new = function() { - ; - }).prototype = _UnmodifiableMapMixin.prototype; - _UnmodifiableMapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(_UnmodifiableMapMixin); - _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; - dart.addTypeCaches(_UnmodifiableMapMixin); - _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); - dart.defineExtensionMethods(_UnmodifiableMapMixin, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return _UnmodifiableMapMixin; - }); - 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 __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; - dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); - class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - super._set(key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 217, 16, "other"); - return super.addAll(other); - } - addEntries(entries) { - __t$IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); - return super.addEntries(entries); - } - clear() { - return super.clear(); - } - remove(key) { - return super.remove(key); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[37], 217, 16, "test"); - return super.removeWhere(test); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return super.update(key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - __t$KAndVToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - return super.updateAll(update); - } - } - (UnmodifiableMapBase.new = function() { - ; - }).prototype = UnmodifiableMapBase.prototype; - dart.addTypeTests(UnmodifiableMapBase); - UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; - dart.addTypeCaches(UnmodifiableMapBase); - dart.setMethodSignature(UnmodifiableMapBase, () => ({ - __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(UnmodifiableMapBase, I[25]); - dart.defineExtensionMethods(UnmodifiableMapBase, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return UnmodifiableMapBase; - }); - 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 __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; - } - get length() { - return this[_values$][$length]; - } - get values() { - return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); - } - get keys() { - return new _internal._ListIndicesIterable.new(this[_values$]); - } - get isEmpty() { - return this[_values$][$isEmpty]; - } - get isNotEmpty() { - return this[_values$][$isNotEmpty]; - } - containsValue(value) { - return this[_values$][$contains](value); - } - containsKey(key) { - return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); - } - forEach(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)); - if (length != this[_values$][$length]) { - dart.throw(new core.ConcurrentModificationError.new(this[_values$])); - } - } - } - } - (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); - this[_values$] = _values; - ; - }).prototype = ListMapView.prototype; - dart.addTypeTests(ListMapView); - ListMapView.prototype[_is_ListMapView_default] = true; - dart.addTypeCaches(ListMapView); - dart.setMethodSignature(ListMapView, () => ({ - __proto__: dart.getMethods(ListMapView.__proto__), - _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListMapView, () => ({ - __proto__: dart.getGetters(ListMapView.__proto__), - keys: core.Iterable$(core.int), - [$keys]: core.Iterable$(core.int) - })); - dart.setLibraryUri(ListMapView, I[26]); - dart.setFieldSignature(ListMapView, () => ({ - __proto__: dart.getFields(ListMapView.__proto__), - [_values$]: dart.fieldType(core.List$(E)) - })); - dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); - dart.defineExtensionAccessors(ListMapView, [ - 'length', - 'values', - 'keys', - 'isEmpty', - 'isNotEmpty' - ]); - return ListMapView; - }); - _internal.ListMapView = _internal.ListMapView$(); - 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[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[23], 252, 29, "_source"); - this[_source$] = _source; - ReversedListIterable.__proto__.new.call(this); - ; - }).prototype = ReversedListIterable.prototype; - dart.addTypeTests(ReversedListIterable); - ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; - dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[26]); - dart.setFieldSignature(ReversedListIterable, () => ({ - __proto__: dart.getFields(ReversedListIterable.__proto__), - [_source$]: dart.fieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); - dart.defineExtensionAccessors(ReversedListIterable, ['length']); - return ReversedListIterable; - }); - _internal.ReversedListIterable = _internal.ReversedListIterable$(); - dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); - _internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { - static add() { - return new core.UnsupportedError.new("Cannot add to unmodifiable List"); - } - static change() { - return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); - } - }; - (_internal.UnmodifiableListError.new = function() { - ; - }).prototype = _internal.UnmodifiableListError.prototype; - dart.addTypeTests(_internal.UnmodifiableListError); - dart.addTypeCaches(_internal.UnmodifiableListError); - 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"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of non-growable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from non-growable List"); - } - }; - (_internal.NonGrowableListError.new = function() { - ; - }).prototype = _internal.NonGrowableListError.prototype; - dart.addTypeTests(_internal.NonGrowableListError); - dart.addTypeCaches(_internal.NonGrowableListError); - 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"); - var _previous = dart.privateName(_internal, "_previous"); - var _list = dart.privateName(_internal, "_list"); - 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 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 "(...)"; - } - return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); - } - let parts = T$.JSArrayOfString().of([]); - collection._toStringVisiting[$add](iterable); - try { - collection._iterablePartsToStrings(iterable, parts); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - 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[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); - } - let buffer = new core.StringBuffer.new(leftDelimiter); - collection._toStringVisiting[$add](iterable); - try { - buffer.writeAll(iterable, ", "); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - buffer.write(rightDelimiter); - return buffer.toString(); - } - } - (IterableBase.new = function() { - IterableBase.__proto__.new.call(this); - ; - }).prototype = IterableBase.prototype; - dart.addTypeTests(IterableBase); - IterableBase.prototype[_is_IterableBase_default] = true; - dart.addTypeCaches(IterableBase); - 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 __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() { - return dart.nullCast(this[_first$], T); - } - get last() { - return dart.nullCast(this[_last], T); - } - get isEmpty() { - return this.length === 0; - } - add(newLast) { - T.as(newLast); - 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[40], 25, 14, "_last!._next == null"); - dart.nullCheck(this[_last])[_next] = newLast; - } else { - this[_first$] = newLast; - } - newLast[_previous] = this[_last]; - this[_last] = newLast; - dart.nullCheck(this[_last])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - addFirst(newFirst) { - T.as(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[40], 41, 14, "_first!._previous == null"); - dart.nullCheck(this[_first$])[_previous] = newFirst; - } else { - this[_last] = newFirst; - } - newFirst[_next] = this[_first$]; - this[_first$] = newFirst; - dart.nullCheck(this[_first$])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - remove(node) { - T.as(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[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[40], 69, 14, "identical(node, _last)"); - this[_last] = node[_previous]; - } else { - dart.nullCheck(node[_next])[_previous] = node[_previous]; - } - node[_next] = node[_previous] = null; - node[_list] = null; - } - get iterator() { - return new (__t$_LinkedListIteratorOfT()).new(this); - } - static ['_#new#tearOff'](T) { - return new (_internal.LinkedList$(T)).new(); - } - } - (LinkedList.new = function() { - this[_first$] = null; - this[_last] = null; - this[length] = 0; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(LinkedList, I[26]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_first$]: dart.fieldType(dart.nullable(T)), - [_last]: dart.fieldType(dart.nullable(T)), - length: dart.fieldType(core.int) - })); - dart.defineExtensionAccessors(LinkedList, [ - 'length', - 'first', - 'last', - 'isEmpty', - 'iterator' - ]); - return LinkedList; - }); - _internal.LinkedList = _internal.LinkedList$(); - dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); - var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); - 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 __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$] = __t$TN().as(value); - } - get [_previous]() { - return this[_previous$]; - } - set [_previous](value) { - this[_previous$] = __t$TN().as(value); - } - get [_list]() { - return this[_list$]; - } - set [_list](value) { - this[_list$] = __t$LinkedListNOfT().as(value); - } - unlink() { - 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() { - this[_next$] = null; - this[_previous$] = null; - this[_list$] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(LinkedListEntry, I[26]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_next]: dart.fieldType(dart.nullable(T)), - [_previous]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return LinkedListEntry; - }); - _internal.LinkedListEntry = _internal.LinkedListEntry$(); - dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); - const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); - _internal._LinkedListIterator$ = dart.generic(T => { - class _LinkedListIterator extends core.Object { - 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[40], 123, 14, "list.length > 0"); - this[_current$] = list.first; - this[_list] = null; - return true; - } - this[_current$] = dart.nullCheck(this[_current$])[_next]; - return this[_current$] != null; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[40], 113, 37, "list"); - this[_current$] = null; - this[_list] = list; - if (list.length === 0) this[_list] = null; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: T - })); - dart.setLibraryUri(_LinkedListIterator, I[26]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return _LinkedListIterator; - }); - _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[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[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[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 { - _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); - } - } - static _insertionSort(E, a, left, right, 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; - while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { - a[$_set](j, a[$_get](j - 1)); - j = j - 1; - } - a[$_set](j, el); - } - } - static _dualPivotQuicksort(E, a, left, right, compare) { - 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; - let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); - let index2 = index3 - sixth; - let index4 = index3 + sixth; - let el1 = a[$_get](index1); - let el2 = a[$_get](index2); - let el3 = a[$_get](index3); - let el4 = a[$_get](index4); - let el5 = a[$_get](index5); - if (dart.notNull(compare(el1, el2)) > 0) { - let t = el1; - el1 = el2; - el2 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - if (dart.notNull(compare(el1, el3)) > 0) { - let t = el1; - el1 = el3; - el3 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el1, el4)) > 0) { - let t = el1; - el1 = el4; - el4 = t; - } - if (dart.notNull(compare(el3, el4)) > 0) { - let t = el3; - el3 = el4; - el4 = t; - } - if (dart.notNull(compare(el2, el5)) > 0) { - let t = el2; - el2 = el5; - el5 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - let pivot1 = el2; - let pivot2 = el4; - a[$_set](index1, el1); - a[$_set](index3, el3); - a[$_set](index5, el5); - a[$_set](index2, a[$_get](left)); - a[$_set](index4, a[$_get](right)); - let less = dart.notNull(left) + 1; - let great = dart.notNull(right) - 1; - let pivots_are_equal = compare(pivot1, pivot2) === 0; - if (pivots_are_equal) { - let pivot = pivot1; - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp = compare(ak, pivot); - if (comp === 0) continue; - if (dart.notNull(comp) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - while (true) { - comp = compare(a[$_get](great), pivot); - if (dart.notNull(comp) > 0) { - great = great - 1; - continue; - } else if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$0 = great, great = t71$0 - 1, t71$0), ak); - break; - } - } - } - } - } else { - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (dart.notNull(comp_pivot1) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (dart.notNull(comp_pivot2) > 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (dart.notNull(comp) > 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$3 = great, great = t71$3 - 1, t71$3), ak); - } - break; - } - } - } - } - } - } - a[$_set](left, a[$_get](less - 1)); - a[$_set](less - 1, pivot1); - a[$_set](right, a[$_get](great + 1)); - a[$_set](great + 1, pivot2); - _internal.Sort._doSort(E, a, left, less - 2, compare); - _internal.Sort._doSort(E, a, great + 2, right, compare); - if (pivots_are_equal) { - return; - } - if (less < index1 && great > index5) { - while (compare(a[$_get](less), pivot1) === 0) { - less = less + 1; - } - while (compare(a[$_get](great), pivot2) === 0) { - great = great - 1; - } - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (comp_pivot1 === 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (comp_pivot2 === 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (comp === 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$6 = great, great = t71$6 - 1, t71$6), ak); - } - break; - } - } - } - } - } - _internal.Sort._doSort(E, a, less, great, compare); - } else { - _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.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; - } - }, false); - var _name$0 = dart.privateName(_internal, "Symbol._name"); - _internal.Symbol = class Symbol extends core.Object { - get [_name$]() { - return this[_name$0]; - } - 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$]; - } - get hashCode() { - let hash = this._hashCode; - if (hash != null) return hash; - hash = 536870911 & 664597 * dart.hashCode(this[_name$]); - this._hashCode = hash; - return hash; - } - toString() { - return "Symbol(\"" + dart.str(this[_name$]) + "\")"; - } - static getName(symbol) { - if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); - return symbol[_name$]; - } - static computeUnmangledName(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[43], 20, 23, "name"); - this[_name$0] = name; - ; - }).prototype = _internal.Symbol.prototype; - (_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); - this[_name$0] = _name; - ; - }).prototype = _internal.Symbol.prototype; - dart.addTypeTests(_internal.Symbol); - dart.addTypeCaches(_internal.Symbol); - _internal.Symbol[dart.implements] = () => [core.Symbol]; - dart.setMethodSignature(_internal.Symbol, () => ({ - __proto__: dart.getMethods(_internal.Symbol.__proto__), - toString: dart.fnType(dart.dynamic, []), - [$toString]: dart.fnType(dart.dynamic, []) - })); - 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']); - _internal.createSentinel = function createSentinel(T) { - return dart.throw(new core.UnsupportedError.new("createSentinel")); - }; - _internal.isSentinel = function isSentinel(value) { - return dart.throw(new core.UnsupportedError.new("isSentinel")); - }; - _internal.typeAcceptsNull = function typeAcceptsNull(T) { - 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[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; - if (97 <= letter && letter <= 102) return letter - (97 - 10); - return -1; - }; - _internal.parseHexByte = function parseHexByte(source, index) { - 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[43], 57, 54, "extract"); - return dart.extractTypeArguments(T, instance, extract); - }; - _internal.checkNotNullable = function checkNotNullable(T, value, 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[22], 782, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); - if (value == null) { - return defaultVal; - } else { - return value; - } - }; - _internal._checkCount = function _checkCount(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[43], 45, 40, "growableList"); - _interceptors.JSArray.markFixedList(growableList); - return growableList; - }; - _internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, 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[43], 40, 28, "line"); - _js_primitives.printString(dart.str(line)); - }; - dart.defineLazy(_internal, { - /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - 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(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]; - } - cancel() { - if (dart.test(_isolate_helper.hasTimer())) { - if (this[_handle] == null) return; - dart.removeAsyncCallback(); - if (dart.test(this[_once])) { - _isolate_helper.global.clearTimeout(this[_handle]); - } else { - _isolate_helper.global.clearInterval(this[_handle]); - } - this[_handle] = null; - } else { - dart.throw(new core.UnsupportedError.new("Canceling a timer.")); - } - } - get isActive() { - return this[_handle] != null; - } - }; - (_isolate_helper.TimerImpl.new = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - let currentHotRestartIteration = dart.hotRestartIteration; - const internalCallback = () => { - this[_handle] = null; - dart.removeAsyncCallback(); - this[_tick] = 1; - if (currentHotRestartIteration == dart.hotRestartIteration) { - callback(); - } - }; - dart.fn(internalCallback, T$.VoidTovoid()); - dart.addAsyncCallback(); - this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); - } - }).prototype = _isolate_helper.TimerImpl.prototype; - (_isolate_helper.TimerImpl.periodic = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - dart.addAsyncCallback(); - let start = Date.now(); - let currentHotRestartIteration = dart.hotRestartIteration; - this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { - if (currentHotRestartIteration != dart.hotRestartIteration) { - this.cancel(); - return; - } - let tick = dart.notNull(this[_tick]) + 1; - if (dart.notNull(milliseconds) > 0) { - let duration = Date.now() - start; - if (duration > (tick + 1) * dart.notNull(milliseconds)) { - tick = (duration / dart.notNull(milliseconds))[$truncate](); - } - } - this[_tick] = tick; - callback(this); - }, T$.VoidToNull()), milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("Periodic timer.")); - } - }).prototype = _isolate_helper.TimerImpl.prototype; - dart.addTypeTests(_isolate_helper.TimerImpl); - dart.addTypeCaches(_isolate_helper.TimerImpl); - _isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; - dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), - cancel: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), - tick: core.int, - isActive: core.bool - })); - dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); - dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), - [_once]: dart.finalFieldType(core.bool), - [_handle]: dart.fieldType(dart.nullable(core.int)), - [_tick]: dart.fieldType(core.int) - })); - _isolate_helper.startRootIsolate = function startRootIsolate(main, args) { - if (args == null) args = T$.JSArrayOfString().of([]); - if (core.List.is(args)) { - if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); - if (typeof main == "function") { - main(args, null); - } else { - dart.dcall(main, [args]); - } - } else { - dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); - } - }; - _isolate_helper.hasTimer = function hasTimer() { - return _isolate_helper.global.setTimeout != null; - }; - dart.defineLazy(_isolate_helper, { - /*_isolate_helper.global*/get global() { - return dart.global; - } - }, false); - 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]); - } - moveNext() { - let ret = this[_jsIterator$].next(); - this[_current$0] = ret.value; - return !ret.done; - } - } - (DartIterator.new = function(_jsIterator) { - this[_current$0] = null; - this[_jsIterator$] = _jsIterator; - ; - }).prototype = DartIterator.prototype; - dart.addTypeTests(DartIterator); - DartIterator.prototype[_is_DartIterator_default] = true; - dart.addTypeCaches(DartIterator); - DartIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(DartIterator, () => ({ - __proto__: dart.getMethods(DartIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(DartIterator, () => ({ - __proto__: dart.getGetters(DartIterator.__proto__), - current: E - })); - dart.setLibraryUri(DartIterator, I[47]); - dart.setFieldSignature(DartIterator, () => ({ - __proto__: dart.getFields(DartIterator.__proto__), - [_jsIterator$]: dart.finalFieldType(dart.dynamic), - [_current$0]: dart.fieldType(dart.nullable(E)) - })); - return DartIterator; - }); - _js_helper.DartIterator = _js_helper.DartIterator$(); - 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 __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 (__t$DartIteratorOfE()).new(this[_initGenerator$]()); - } - } - (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); - this[_initGenerator$] = _initGenerator; - SyncIterable.__proto__.new.call(this); - ; - }).prototype = SyncIterable.prototype; - dart.addTypeTests(SyncIterable); - SyncIterable.prototype[_is_SyncIterable_default] = true; - dart.addTypeCaches(SyncIterable); - dart.setMethodSignature(SyncIterable, () => ({ - __proto__: dart.getMethods(SyncIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(SyncIterable, () => ({ - __proto__: dart.getGetters(SyncIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SyncIterable, I[47]); - dart.setFieldSignature(SyncIterable, () => ({ - __proto__: dart.getFields(SyncIterable.__proto__), - [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) - })); - dart.defineExtensionAccessors(SyncIterable, ['iterator']); - return SyncIterable; - }); - _js_helper.SyncIterable = _js_helper.SyncIterable$(); - dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); - _js_helper.Primitives = class Primitives extends core.Object { - static parseInt(source, _radix) { - if (source == null) dart.argumentError(source); - let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; - let match = re.exec(source); - let digitsIndex = 1; - let hexIndex = 2; - let decimalIndex = 3; - if (match == null) { - return null; - } - let decimalMatch = match[$_get](decimalIndex); - if (_radix == null) { - if (decimalMatch != null) { - return parseInt(source, 10); - } - if (match[$_get](hexIndex) != null) { - return parseInt(source, 16); - } - return null; - } - let radix = _radix; - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return parseInt(source, 10); - } - if (radix < 10 || decimalMatch == null) { - let maxCharCode = null; - if (radix <= 10) { - maxCharCode = 48 - 1 + radix; - } else { - maxCharCode = 97 - 10 - 1 + radix; - } - 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; - if (characterCode > dart.notNull(maxCharCode)) { - return null; - } - } - } - return parseInt(source, radix); - } - static parseDouble(source) { - if (source == null) dart.argumentError(source); - if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { - return null; - } - let result = parseFloat(source); - if (result[$isNaN]) { - let trimmed = source[$trim](); - if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { - return result; - } - return null; - } - return result; - } - static dateNow() { - return Date.now(); - } - static initTicker() { - if (_js_helper.Primitives.timerFrequency !== 0) return; - _js_helper.Primitives.timerFrequency = 1000; - if (typeof window == "undefined") return; - let jsWindow = window; - if (jsWindow == null) return; - let performance = jsWindow.performance; - if (performance == null) return; - if (typeof performance.now != "function") return; - _js_helper.Primitives.timerFrequency = 1000000; - _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); - } - static get isD8() { - return typeof version == "function" && typeof os == "object" && "system" in os; - } - static get isJsshell() { - return typeof version == "function" && typeof system == "function"; - } - static currentUri() { - if (!!dart.global.location) { - return dart.global.location.href; - } - return ""; - } - static _fromCharCodeApply(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); - } - let result = ""; - for (let i = 0; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); - } - return result; - } - static stringFromCodePoints(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); - { - if (i <= 65535) { - a[$add](i); - } else if (i <= 1114111) { - a[$add](55296 + (i - 65536 >> 10 & 1023)); - a[$add](56320 + (i & 1023)); - } else { - dart.throw(_js_helper.argumentErrorValue(i)); - } - } - } - return _js_helper.Primitives._fromCharCodeApply(a); - } - static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); - for (let i of charCodes) { - if (i == null) dart.argumentError(i); - { - if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); - if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); - } - } - return _js_helper.Primitives._fromCharCodeApply(charCodes); - } - static stringFromNativeUint8List(charCodes, start, end) { - 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]) { - return String.fromCharCode.apply(null, charCodes); - } - let result = ""; - for (let i = start; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); - } - return result; - } - static stringFromCharCode(charCode) { - if (charCode == null) dart.argumentError(charCode); - if (0 <= charCode) { - if (charCode <= 65535) { - return String.fromCharCode(charCode); - } - if (charCode <= 1114111) { - let bits = charCode - 65536; - let low = 56320 | bits & 1023; - let high = (55296 | bits[$rightShift](10)) >>> 0; - return String.fromCharCode(high, low); - } - } - dart.throw(new core.RangeError.range(charCode, 0, 1114111)); - } - static flattenString(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[48], 298, 42, "receiver"); - let d = _js_helper.Primitives.lazyAsJsDate(receiver); - let match = /\((.*)\)/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); - if (match != null) return match[$_get](0); - return ""; - } - static getTimeZoneOffsetInMinutes(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) { - if (years == null) dart.argumentError(years); - if (month == null) dart.argumentError(month); - if (day == null) dart.argumentError(day); - if (hours == null) dart.argumentError(hours); - if (minutes == null) dart.argumentError(minutes); - if (seconds == null) dart.argumentError(seconds); - if (milliseconds == null) dart.argumentError(milliseconds); - if (isUtc == null) dart.argumentError(isUtc); - let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; - let jsMonth = month - 1; - if (0 <= years && years < 100) { - years = years + 400; - jsMonth = jsMonth - 400 * 12; - } - let value = null; - if (isUtc) { - value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); - } else { - value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); - } - if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { - return null; - } - if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); - return value; - } - static patchUpY2K(value, years, isUtc) { - let date = new Date(value); - if (dart.dtest(isUtc)) { - date.setUTCFullYear(years); - } else { - date.setFullYear(years); - } - return date.valueOf(); - } - static lazyAsJsDate(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[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[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[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[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[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[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[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[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; - } - static valueFromDateString(str) { - if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); - let value = Date.parse(str); - if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); - return value; - } - static getProperty(object, 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)); - } - return object[key]; - } - static setProperty(object, key, value) { - if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { - dart.throw(_js_helper.argumentErrorValue(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.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; - }, - /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { - return 0; - }, - set timerFrequency(value) { - if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); - }, - /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[24] || CT.C24; - }, - 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"); - var _method = dart.privateName(_js_helper, "_method"); - var _receiver$1 = dart.privateName(_js_helper, "_receiver"); - var _arguments$0 = dart.privateName(_js_helper, "_arguments"); - var _memberName$0 = dart.privateName(_js_helper, "_memberName"); - var _invocation$0 = dart.privateName(_js_helper, "_invocation"); - var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); - _js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { - get [_receiver$1]() { - return this[_receiver$0]; - } - 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) { - return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; - } - return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); - } - }; - (_js_helper.JsNoSuchMethodError.new = function(_message, match) { - this[_message$0] = _message; - this[_method] = match == null ? null : match.method; - this[_receiver$0] = match == null ? null : match.receiver; - _js_helper.JsNoSuchMethodError.__proto__.new.call(this); - ; - }).prototype = _js_helper.JsNoSuchMethodError.prototype; - dart.addTypeTests(_js_helper.JsNoSuchMethodError); - dart.addTypeCaches(_js_helper.JsNoSuchMethodError); - _js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; - dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) - })); - 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)), - [_method]: dart.finalFieldType(dart.nullable(core.String)), - [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) - })); - 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[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[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$1 = dart.privateName(_js_helper, "Creates.types"); - _js_helper.Creates = class Creates extends core.Object { - get types() { - 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[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[47]); - dart.setFieldSignature(_js_helper.Creates, () => ({ - __proto__: dart.getFields(_js_helper.Creates.__proto__), - types: dart.finalFieldType(core.String) - })); - var types$2 = dart.privateName(_js_helper, "Returns.types"); - _js_helper.Returns = class Returns extends core.Object { - get types() { - 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[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[47]); - dart.setFieldSignature(_js_helper.Returns, () => ({ - __proto__: dart.getFields(_js_helper.Returns.__proto__), - types: dart.finalFieldType(core.String) - })); - var name$6 = dart.privateName(_js_helper, "JSName.name"); - _js_helper.JSName = class JSName extends core.Object { - get name() { - return this[name$6]; - } - 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[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[47]); - dart.setFieldSignature(_js_helper.JSName, () => ({ - __proto__: dart.getFields(_js_helper.JSName.__proto__), - name: dart.finalFieldType(core.String) - })); - const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); - _js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { - class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} - (JavaScriptIndexingBehavior.new = function() { - ; - }).prototype = JavaScriptIndexingBehavior.prototype; - dart.addTypeTests(JavaScriptIndexingBehavior); - JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; - dart.addTypeCaches(JavaScriptIndexingBehavior); - 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[48], 695, 22, "_message"); - this[_message$0] = _message; - _js_helper.TypeErrorImpl.__proto__.new.call(this); - ; - }).prototype = _js_helper.TypeErrorImpl.prototype; - 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[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']); - 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](); - } - }; - (core.FallThroughError.new = function() { - core.FallThroughError.__proto__.new.call(this); - ; - }).prototype = core.FallThroughError.prototype; - (core.FallThroughError._create = function(url, 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[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); - ; - }).prototype = _js_helper.FallThroughErrorImplementation.prototype; - dart.addTypeTests(_js_helper.FallThroughErrorImplementation); - dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); - 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 { - get message() { - return this[message$]; - } - set message(value) { - super.message = value; - } - static ['_#new#tearOff'](message) { - return new _js_helper.RuntimeError.new(message); - } - toString() { - return "RuntimeError: " + dart.str(this.message); - } - }; - (_js_helper.RuntimeError.new = function(message) { - this[message$] = message; - _js_helper.RuntimeError.__proto__.new.call(this); - ; - }).prototype = _js_helper.RuntimeError.prototype; - dart.addTypeTests(_js_helper.RuntimeError); - dart.addTypeCaches(_js_helper.RuntimeError); - dart.setLibraryUri(_js_helper.RuntimeError, I[47]); - dart.setFieldSignature(_js_helper.RuntimeError, () => ({ - __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), - message: dart.finalFieldType(dart.dynamic) - })); - dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); - var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); - var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); - _js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { - get enclosingLibrary() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - 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[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); - ; - }).prototype = _js_helper.DeferredNotLoadedError.prototype; - dart.addTypeTests(_js_helper.DeferredNotLoadedError); - dart.addTypeCaches(_js_helper.DeferredNotLoadedError); - _js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; - dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) - })); - dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); - dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), - enclosingLibrary: dart.fieldType(core.String), - importPrefix: dart.fieldType(core.String) - })); - dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); - var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); - var _line$ = dart.privateName(_js_helper, "_line"); - var _column$ = dart.privateName(_js_helper, "_column"); - var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); - var message$0 = dart.privateName(core, "AssertionError.message"); - core.AssertionError = class AssertionError extends core.Error { - get message() { - return this[message$0]; - } - 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)); - } - return "Assertion failed"; - } - }; - (core.AssertionError.new = function(message = null) { - this[message$0] = message; - core.AssertionError.__proto__.new.call(this); - ; - }).prototype = core.AssertionError.prototype; - dart.addTypeTests(core.AssertionError); - dart.addTypeCaches(core.AssertionError); - 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) { - failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); - } - failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); - return "Assertion failed: " + failureMessage; - } - }; - (_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { - this[_fileUri$] = _fileUri; - this[_line$] = _line; - this[_column$] = _column; - this[_conditionSource$] = _conditionSource; - _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); - ; - }).prototype = _js_helper.AssertionErrorImpl.prototype; - dart.addTypeTests(_js_helper.AssertionErrorImpl); - dart.addTypeCaches(_js_helper.AssertionErrorImpl); - 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)), - [_line$]: dart.finalFieldType(dart.nullable(core.int)), - [_column$]: dart.finalFieldType(dart.nullable(core.int)), - [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); - _js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { - 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); - ; - }).prototype = _js_helper.BooleanConversionAssertionError.prototype; - dart.addTypeTests(_js_helper.BooleanConversionAssertionError); - dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); - 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"); - var _name = dart.privateName(_js_helper, "_name"); - var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); - _js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { - get [_name]() { - return this[_name$1]; - } - set [_name](value) { - super[_name] = value; - } - get [_nativeSymbol]() { - return this[_nativeSymbol$]; - } - 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[48], 800, 32, "symbol"); - return _js_helper.PrivateSymbol.as(symbol)[_name]; - } - static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); - if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; - return null; - } - _equals(other) { - if (other == null) return false; - return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); - } - get hashCode() { - return dart.hashCode(this[_name]); - } - toString() { - return "Symbol(\"" + dart.str(this[_name]) + "\")"; - } - }; - (_js_helper.PrivateSymbol.new = function(_name, _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; - ; - }).prototype = _js_helper.PrivateSymbol.prototype; - dart.addTypeTests(_js_helper.PrivateSymbol); - dart.addTypeCaches(_js_helper.PrivateSymbol); - _js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; - 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), - [_nativeSymbol]: dart.finalFieldType(core.Object) - })); - dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); - dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); - _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[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[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[47]); - var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); - _js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { - get value() { - return this[value$1]; - } - 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[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[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 { - 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[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[47]); - var name$7 = dart.privateName(_js_helper, "Native.name"); - _js_helper.Native = class Native extends core.Object { - get name() { - return this[name$7]; - } - 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[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[47]); - dart.setFieldSignature(_js_helper.Native, () => ({ - __proto__: dart.getFields(_js_helper.Native.__proto__), - name: dart.finalFieldType(core.String) - })); - var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); - _js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { - get name() { - return this[name$8]; - } - 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[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[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 { - 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[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[50], 18, 21, "action"); - let modifications = this[_modifications]; - for (let entry of this[_map$].entries()) { - action(entry[0], entry[1]); - if (modifications !== this[_modifications]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - } - (InternalMap.new = function() { - ; - }).prototype = InternalMap.prototype; - dart.addTypeTests(InternalMap); - InternalMap.prototype[_is_InternalMap_default] = true; - dart.addTypeCaches(InternalMap); - InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[47]); - dart.defineExtensionMethods(InternalMap, ['forEach']); - return InternalMap; - }); - _js_helper.InternalMap = _js_helper.InternalMap$(); - dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); - var _map = dart.privateName(_js_helper, "LinkedMap._map"); - 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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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) => { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - this[_map$].set(key, value); - }, __t$KAndVTovoid())); - if (length !== map.size) { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return this[_map$].get(k); - } - } - return null; - } - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) { - this[_keyMap].set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return map.get(k); - } - buckets.push(key); - } - } else if (map.has(key)) { - return map.get(key); - } - let value = ifAbsent(); - if (value == null) { - value = null; - } - map.set(key, value); - 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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) return null; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return null; - } - } - let map = this[_map$]; - let value = map.get(key); - if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value == null ? null : value; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (LinkedMap.new = function() { - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - ; - }).prototype = LinkedMap.prototype; - (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - let map = this[_map$]; - let keyMap = this[_keyMap]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - let key = entries[i]; - let value = entries[i + 1]; - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, keyMap); - } - map.set(key, value); - } - }).prototype = LinkedMap.prototype; - dart.addTypeTests(LinkedMap); - LinkedMap.prototype[_is_LinkedMap_default] = true; - dart.addTypeCaches(LinkedMap); - dart.setMethodSignature(LinkedMap, () => ({ - __proto__: dart.getMethods(LinkedMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(LinkedMap, () => ({ - __proto__: dart.getGetters(LinkedMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(LinkedMap, I[47]); - dart.setFieldSignature(LinkedMap, () => ({ - __proto__: dart.getFields(LinkedMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(LinkedMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(LinkedMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return LinkedMap; - }); - _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 __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); - V.as(value); - dart.throw(_js_helper.ImmutableMap._unsupported()); - return value$; - } - addAll(other) { - core.Object.as(other); - if (other == null) dart.nullFailed(I[50], 268, 22, "other"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - clear() { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - remove(key) { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable map"); - } - } - (ImmutableMap.from = function(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.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); - dart.setLibraryUri(ImmutableMap, I[47]); - dart.defineExtensionMethods(ImmutableMap, [ - '_set', - 'addAll', - 'clear', - 'remove', - 'putIfAbsent' - ]); - return ImmutableMap; - }); - _js_helper.ImmutableMap = _js_helper.ImmutableMap$(); - dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); - 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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$0]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - _get(key) { - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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 & 1073741823; - return value; - } - remove(key) { - let value = this[_map$].get(key); - if (this[_map$].delete(key)) { - 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 & 1073741823; - } - } - } - (IdentityMap.new = function() { - this[_map$0] = new Map(); - this[_modifications$0] = 0; - ; - }).prototype = IdentityMap.prototype; - (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); - this[_map$0] = new Map(); - this[_modifications$0] = 0; - let map = this[_map$]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - map.set(entries[i], entries[i + 1]); - } - }).prototype = IdentityMap.prototype; - dart.addTypeTests(IdentityMap); - IdentityMap.prototype[_is_IdentityMap_default] = true; - dart.addTypeCaches(IdentityMap); - dart.setMethodSignature(IdentityMap, () => ({ - __proto__: dart.getMethods(IdentityMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(IdentityMap, () => ({ - __proto__: dart.getGetters(IdentityMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(IdentityMap, I[47]); - dart.setFieldSignature(IdentityMap, () => ({ - __proto__: dart.getFields(IdentityMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(IdentityMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(IdentityMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return IdentityMap; - }); - _js_helper.IdentityMap = _js_helper.IdentityMap$(); - 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 __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]; - } - get isEmpty() { - return this[_map$][$isEmpty]; - } - [Symbol.iterator]() { - let map = this[_map$]; - let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); - let modifications = map[_modifications]; - return { - next() { - if (modifications != map[_modifications]) { - throw new core.ConcurrentModificationError.new(map); - } - return iterator.next(); - } - }; - } - get 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[51], 134, 33, "f"); - for (let entry of this) - f(entry); - } - } - (_JSMapIterable.new = function(_map, _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); - ; - }).prototype = _JSMapIterable.prototype; - dart.addTypeTests(_JSMapIterable); - _JSMapIterable.prototype[_is__JSMapIterable_default] = true; - dart.addTypeCaches(_JSMapIterable); - dart.setMethodSignature(_JSMapIterable, () => ({ - __proto__: dart.getMethods(_JSMapIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_JSMapIterable, () => ({ - __proto__: dart.getGetters(_JSMapIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_JSMapIterable, I[47]); - dart.setFieldSignature(_JSMapIterable, () => ({ - __proto__: dart.getFields(_JSMapIterable.__proto__), - [_map$]: dart.finalFieldType(_js_helper.InternalMap), - [_isKeys$]: dart.finalFieldType(core.bool) - })); - dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); - dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); - return _JSMapIterable; - }); - _js_helper._JSMapIterable = _js_helper._JSMapIterable$(); - dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); - var _validKey$ = dart.privateName(_js_helper, "_validKey"); - var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); - var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); - 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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$1]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(value, v)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - } - _get(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - let value = this[_map$].get(k); - return value == null ? null : value; - } - } - } - } - return null; - } - _set(key, value$) { - let value = value$; - let t71; - K.as(key); - V.as(value); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - key = k; - break; - } - if ((i = i + 1) >= n) { - buckets.push(key); - break; - } - } - } - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value$; - } - putIfAbsent(key, ifAbsent) { - let t71; - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return this[_map$].get(k); - } - buckets.push(key); - } - let value = ifAbsent(); - if (value == null) value = null; - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value; - } - remove(key) { - let t71; - if (K.is(key)) { - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let keyMap = this[_keyMap]; - let buckets = keyMap.get(hash); - if (buckets == null) return null; - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - let map = this[_map$]; - let value = map.get(k); - map.delete(k); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value == null ? null : value; - } - } - } - return null; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (CustomHashMap.new = function(_equals, _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; - this[_equals$] = _equals; - this[_hashCode$] = _hashCode; - ; - }).prototype = CustomHashMap.prototype; - dart.addTypeTests(CustomHashMap); - CustomHashMap.prototype[_is_CustomHashMap_default] = true; - dart.addTypeCaches(CustomHashMap); - dart.setMethodSignature(CustomHashMap, () => ({ - __proto__: dart.getMethods(CustomHashMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CustomHashMap, () => ({ - __proto__: dart.getGetters(CustomHashMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CustomHashMap, I[47]); - dart.setFieldSignature(CustomHashMap, () => ({ - __proto__: dart.getFields(CustomHashMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int), - [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), - [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) - })); - dart.defineExtensionMethods(CustomHashMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(CustomHashMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return CustomHashMap; - }); - _js_helper.CustomHashMap = _js_helper.CustomHashMap$(); - 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 t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; - return super.containsKey(key); - } - _get(key) { - let t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; - return super._get(key); - } - remove(key) { - 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[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); - ; - }).prototype = CustomKeyHashMap.prototype; - dart.addTypeTests(CustomKeyHashMap); - CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; - dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[47]); - dart.setFieldSignature(CustomKeyHashMap, () => ({ - __proto__: dart.getFields(CustomKeyHashMap.__proto__), - [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) - })); - dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); - return CustomKeyHashMap; - }); - _js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); - dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); - var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); - var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); - var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); - var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); - var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); - var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); - var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); - var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); - var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); - var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); - var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); - var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); - _js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { - get pattern() { - return this[pattern]; - } - set pattern(value) { - super.pattern = value; - } - 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); - } - get [_nativeAnchoredVersion]() { - if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; - return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); - } - get [_isMultiLine]() { - return this[_nativeRegExp].multiline; - } - get [_isCaseSensitive]() { - return !this[_nativeRegExp].ignoreCase; - } - get [_isUnicode]() { - return this[_nativeRegExp].unicode; - } - get [_isDotAll]() { - return this[_nativeRegExp].dotAll == true; - } - static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { - if (source == null) dart.argumentError(source); - 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" : ""; - let s = dart.test(dotAll) ? "s" : ""; - let g = dart.test(global) ? "g" : ""; - let regexp = (function() { - try { - return new RegExp(source, m + i + u + s + g); - } catch (e) { - return e; - } - })(); - if (regexp instanceof RegExp) return regexp; - let errorMessage = String(regexp); - dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); - } - firstMatch(string) { - if (string == null) dart.argumentError(string); - let m = this[_nativeRegExp].exec(string); - if (m == null) return null; - return new _js_helper._MatchImplementation.new(this, m); - } - hasMatch(string) { - if (string == null) dart.argumentError(string); - return this[_nativeRegExp].test(string); - } - stringMatch(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; - } - allMatches(string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - if (start < 0 || start > string.length) { - dart.throw(new core.RangeError.range(start, 0, string.length)); - } - return new _js_helper._AllMatchesIterable.new(this, string, start); - } - [_execGlobal](string, 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); - if (match == null) return null; - return new _js_helper._MatchImplementation.new(this, match); - } - [_execAnchored](string, 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; - 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[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)); - } - return this[_execAnchored](string, start); - } - get isMultiLine() { - return this[_isMultiLine]; - } - get isCaseSensitive() { - return this[_isCaseSensitive]; - } - get isUnicode() { - return this[_isUnicode]; - } - get isDotAll() { - return this[_isDotAll]; - } - }; - (_js_helper.JSSyntaxRegExp.new = function(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"); - this[_nativeGlobalRegExp] = null; - this[_nativeAnchoredRegExp] = null; - this[pattern] = source; - this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); - ; - }).prototype = _js_helper.JSSyntaxRegExp.prototype; - dart.addTypeTests(_js_helper.JSSyntaxRegExp); - dart.addTypeCaches(_js_helper.JSSyntaxRegExp); - _js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; - dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), - firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), - hasMatch: dart.fnType(core.bool, [core.String]), - stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), - allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - 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, - [_nativeAnchoredVersion]: dart.dynamic, - [_isMultiLine]: core.bool, - [_isCaseSensitive]: core.bool, - [_isUnicode]: core.bool, - [_isDotAll]: core.bool, - isMultiLine: core.bool, - isCaseSensitive: core.bool, - isUnicode: core.bool, - isDotAll: core.bool - })); - dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); - dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), - pattern: dart.finalFieldType(core.String), - [_nativeRegExp]: dart.finalFieldType(dart.dynamic), - [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), - [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) - })); - 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; - } - get start() { - return this[_match$].index; - } - get end() { - return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; - } - group(index) { - if (index == null) dart.nullFailed(I[53], 200, 21, "index"); - return this[_match$][$_get](index); - } - _get(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[53], 204, 34, "groups"); - let out = T$.JSArrayOfStringN().of([]); - for (let i of groups) { - out[$add](this.group(i)); - } - return out; - } - namedGroup(name) { - if (name == null) dart.nullFailed(I[53], 212, 29, "name"); - let groups = this[_match$].groups; - if (groups != null) { - let result = groups[name]; - if (result != null || name in groups) { - return result; - } - } - dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); - } - get groupNames() { - let groups = this[_match$].groups; - if (groups != null) { - let keys = T$.JSArrayOfString().of(Object.keys(groups)); - return new (T$.SubListIterableOfString()).new(keys, 0, null); - } - return new (T$.EmptyIterableOfString()).new(); - } - }; - (_js_helper._MatchImplementation.new = function(pattern, _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[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); - _js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; - dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), - group: dart.fnType(dart.nullable(core.String), [core.int]), - _get: dart.fnType(dart.nullable(core.String), [core.int]), - groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), - namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) - })); - dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), - input: core.String, - start: core.int, - end: core.int, - groupCount: core.int, - groupNames: core.Iterable$(core.String) - })); - dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); - dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), - pattern: dart.finalFieldType(core.Pattern), - [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) - })); - var _re$ = dart.privateName(_js_helper, "_re"); - var _string$0 = dart.privateName(_js_helper, "_string"); - var _start$0 = dart.privateName(_js_helper, "_start"); - core.RegExpMatch = class RegExpMatch extends core.Object {}; - (core.RegExpMatch.new = function() { - ; - }).prototype = core.RegExpMatch.prototype; - dart.addTypeTests(core.RegExpMatch); - dart.addTypeCaches(core.RegExpMatch); - core.RegExpMatch[dart.implements] = () => [core.Match]; - 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[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; - _js_helper._AllMatchesIterable.__proto__.new.call(this); - ; - }).prototype = _js_helper._AllMatchesIterable.prototype; - dart.addTypeTests(_js_helper._AllMatchesIterable); - dart.addTypeCaches(_js_helper._AllMatchesIterable); - dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), - iterator: core.Iterator$(core.RegExpMatch), - [$iterator]: core.Iterator$(core.RegExpMatch) - })); - 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), - [_string$0]: dart.finalFieldType(core.String), - [_start$0]: dart.finalFieldType(core.int) - })); - 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[53], 254, 36, "c"); - return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; - } - static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[53], 258, 37, "c"); - return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; - } - moveNext() { - let string = this[_string$0]; - if (string == null) return false; - if (dart.notNull(this[_nextIndex$]) <= string.length) { - let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); - if (match != null) { - this[_current$0] = match; - let nextIndex = match.end; - if (match.start == nextIndex) { - if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { - nextIndex = dart.notNull(nextIndex) + 1; - } - nextIndex = dart.notNull(nextIndex) + 1; - } - this[_nextIndex$] = nextIndex; - return true; - } - } - this[_current$0] = null; - this[_string$0] = null; - return false; - } - }; - (_js_helper._AllMatchesIterator.new = function(_regExp, _string, _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; - this[_nextIndex$] = _nextIndex; - ; - }).prototype = _js_helper._AllMatchesIterator.prototype; - dart.addTypeTests(_js_helper._AllMatchesIterator); - dart.addTypeCaches(_js_helper._AllMatchesIterator); - _js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; - 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[47]); - dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), - [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), - [_string$0]: dart.fieldType(dart.nullable(core.String)), - [_nextIndex$]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) - })); - var start$0 = dart.privateName(_js_helper, "StringMatch.start"); - var input$ = dart.privateName(_js_helper, "StringMatch.input"); - var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); - _js_helper.StringMatch = class StringMatch extends core.Object { - get start() { - return this[start$0]; - } - set start(value) { - super.start = value; - } - get input() { - return this[input$]; - } - set input(value) { - super.input = value; - } - get pattern() { - return this[pattern$]; - } - 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[54], 31, 26, "g"); - return this.group(g); - } - get groupCount() { - return 0; - } - group(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[54], 41, 33, "groups_"); - let result = T$.JSArrayOfString().of([]); - for (let g of groups_) { - result[$add](this.group(g)); - } - return result; - } - }; - (_js_helper.StringMatch.new = function(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"); - this[start$0] = start; - this[input$] = input; - this[pattern$] = pattern; - ; - }).prototype = _js_helper.StringMatch.prototype; - dart.addTypeTests(_js_helper.StringMatch); - dart.addTypeCaches(_js_helper.StringMatch); - _js_helper.StringMatch[dart.implements] = () => [core.Match]; - dart.setMethodSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), - _get: dart.fnType(core.String, [core.int]), - group: dart.fnType(core.String, [core.int]), - groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) - })); - dart.setGetterSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), - end: core.int, - groupCount: core.int - })); - dart.setLibraryUri(_js_helper.StringMatch, I[47]); - dart.setFieldSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getFields(_js_helper.StringMatch.__proto__), - start: dart.finalFieldType(core.int), - input: dart.finalFieldType(core.String), - pattern: dart.finalFieldType(core.String) - })); - var _input$ = dart.privateName(_js_helper, "_input"); - var _pattern$ = dart.privateName(_js_helper, "_pattern"); - var _index$0 = dart.privateName(_js_helper, "_index"); - core.Match = class Match extends core.Object {}; - (core.Match.new = function() { - ; - }).prototype = core.Match.prototype; - dart.addTypeTests(core.Match); - dart.addTypeCaches(core.Match); - 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]); - } - get first() { - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index >= 0) { - return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - } - dart.throw(_internal.IterableElementError.noElement()); - } - }; - (_js_helper._StringAllMatchesIterable.new = function(_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"); - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - _js_helper._StringAllMatchesIterable.__proto__.new.call(this); - ; - }).prototype = _js_helper._StringAllMatchesIterable.prototype; - dart.addTypeTests(_js_helper._StringAllMatchesIterable); - dart.addTypeCaches(_js_helper._StringAllMatchesIterable); - dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), - iterator: core.Iterator$(core.Match), - [$iterator]: core.Iterator$(core.Match) - })); - dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); - dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.finalFieldType(core.int) - })); - 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; - return false; - } - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index < 0) { - this[_index$0] = this[_input$].length + 1; - this[_current$0] = null; - return false; - } - let end = index + this[_pattern$].length; - this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - if (end === this[_index$0]) end = end + 1; - this[_index$0] = end; - return true; - } - get current() { - return dart.nullCheck(this[_current$0]); - } - }; - (_js_helper._StringAllMatchesIterator.new = function(_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"); - this[_current$0] = null; - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - ; - }).prototype = _js_helper._StringAllMatchesIterator.prototype; - dart.addTypeTests(_js_helper._StringAllMatchesIterator); - dart.addTypeCaches(_js_helper._StringAllMatchesIterator); - _js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; - dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), - current: core.Match - })); - dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); - dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.Match)) - })); - _js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, 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.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[48], 495, 52, "length"); - if (start == null) { - return new core.ArgumentError.value(start, "start"); - } - if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { - return new core.RangeError.range(start, 0, length, "start"); - } - if (end != null) { - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - return new core.RangeError.range(end, start, length, "end"); - } - } - return new core.ArgumentError.value(end, "end"); - }; - _js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { - return receiver.lastIndexOf(element, start); - }; - _js_helper.argumentErrorValue = function argumentErrorValue(object) { - return new core.ArgumentError.value(object); - }; - _js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { - dart.throw(_js_helper.argumentErrorValue(value)); - }; - _js_helper.checkInt = function checkInt(value) { - if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); - return value; - }; - _js_helper.throwRuntimeError = function throwRuntimeError(message) { - dart.throw(new _js_helper.RuntimeError.new(message)); - }; - _js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { - dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); - }; - _js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { - dart.throw(new core.ConcurrentModificationError.new(collection)); - }; - _js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, 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, (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[48], 586, 40, "property"); - return jsObject.hasOwnProperty(property); - }; - _js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[48], 590, 35, "property"); - return jsObject[property]; - }; - _js_helper.getFallThroughError = function getFallThroughError() { - return new _js_helper.FallThroughErrorImplementation.new(); - }; - _js_helper.random64 = function random64() { - let int32a = Math.random() * 0x100000000 >>> 0; - let int32b = Math.random() * 0x100000000 >>> 0; - return int32a + int32b * 4294967296; - }; - _js_helper.registerGlobalObject = function registerGlobalObject(object) { - try { - if (dart.test(dart.polyfill(object))) { - dart.applyAllExtensions(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - }; - _js_helper.applyExtension = function applyExtension$(name, nativeObject) { - dart.applyExtension(name, nativeObject); - }; - _js_helper.applyTestExtensions = function applyTestExtensions(names) { - 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[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[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[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] & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - return key; - } - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (k[$_equals](key)) return k; - } - buckets.push(key); - return key; - }; - _js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); - return closure; - }; - _js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { - }; - _js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { - }; - _js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { - }; - _js_helper.regExpGetNative = function regExpGetNative(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[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[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[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) { - return receiver.indexOf(other, startIndex); - }; - _js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { - return receiver.substring(startIndex); - }; - _js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { - return receiver.substring(startIndex, endIndex); - }; - _js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { - return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; - }; - _js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, 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[54], 110, 51, "startIndex"); - if (typeof other == 'string') { - return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); - } else if (_js_helper.JSSyntaxRegExp.is(other)) { - return other.hasMatch(receiver[$substring](startIndex)); - } else { - let substr = receiver[$substring](startIndex); - return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); - } - }; - _js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, 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[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; - let end = match.end; - return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); - }; - _js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { - return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); - }; - _js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { - if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.argumentError(replacement); - if (typeof pattern == 'string') { - if (pattern === "") { - if (receiver === "") { - return replacement; - } else { - let result = new core.StringBuffer.new(); - let length = receiver.length; - result.write(replacement); - for (let i = 0; i < length; i = i + 1) { - result.write(receiver[$_get](i)); - result.write(replacement); - } - return result.toString(); - } - } else { - return receiver.split(pattern).join(replacement); - } - } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = _js_helper.regExpGetGlobalNative(pattern); - return _js_helper.stringReplaceJS(receiver, re, replacement); - } else { - 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[54], 184, 27, "match"); - return dart.nullCheck(match._get(0)); - }; - _js_helper._stringIdentity = function _stringIdentity(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[54], 189, 12, "receiver"); - if (pattern == null) dart.argumentError(pattern); - 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); - } - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - for (let match of pattern[$allMatches](receiver)) { - buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); - buffer.write(onMatch(match)); - startIndex = match.end; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); - }; - _js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, 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; - buffer.write(onNonMatch("")); - while (i < length) { - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - let code = receiver[$codeUnitAt](i); - if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { - code = receiver[$codeUnitAt](i + 1); - if ((code & ~1023 >>> 0) === 56320) { - buffer.write(onNonMatch(receiver[$substring](i, i + 2))); - i = i + 2; - continue; - } - } - buffer.write(onNonMatch(receiver[$_get](i))); - i = i + 1; - } - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - buffer.write(onNonMatch("")); - return buffer.toString(); - }; - _js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, 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); - } - let length = receiver.length; - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - while (startIndex < length) { - let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); - if (position === -1) { - break; - } - buffer.write(onNonMatch(receiver[$substring](startIndex, position))); - buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); - startIndex = position + patternLength; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); - }; - _js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { - if (pattern == null) dart.argumentError(pattern); - 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; - let end = index + pattern.length; - return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); - } - let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; - if (!dart.test(matches.moveNext())) return receiver; - let match = matches.current; - return receiver[$replaceRange](match.start, match.end, replacement); - }; - _js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, 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; - let replacement = dart.str(replace(match)); - return receiver[$replaceRange](match.start, match.end, replacement); - }; - _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[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.notNull*/get notNull() { - return C[34] || CT.C34; - }, - /*_js_helper.undefined*/get undefined() { - return C[35] || CT.C35; - }, - /*_js_helper.nullCheck*/get nullCheck() { - return C[36] || CT.C36; - } - }, false); - _js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[57], 20, 25, "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); - }; - var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); - var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); - _metadata.SupportedBrowser = class SupportedBrowser extends core.Object { - get browserName() { - return this[browserName$]; - } - set browserName(value) { - super.browserName = value; - } - get minimumVersion() { - return this[minimumVersion$]; - } - 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[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[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"; - }, - /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { - return "Firefox"; - }, - /*_metadata.SupportedBrowser.IE*/get IE() { - return "Internet Explorer"; - }, - /*_metadata.SupportedBrowser.OPERA*/get OPERA() { - return "Opera"; - }, - /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { - return "Safari"; - } - }, false); - _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[59]); - var name$9 = dart.privateName(_metadata, "DomName.name"); - _metadata.DomName = class DomName extends core.Object { - get name() { - return this[name$9]; - } - 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[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[59]); - dart.setFieldSignature(_metadata.DomName, () => ({ - __proto__: dart.getFields(_metadata.DomName.__proto__), - name: dart.finalFieldType(core.String) - })); - _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[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[59]); - _native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { - get [$lengthInBytes]() { - return this.byteLength; - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteBuffer); - } - [$asUint8List](offsetInBytes = 0, length = null) { - 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[60], 37, 28, "offsetInBytes"); - return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); - } - [$asUint8ClampedList](offsetInBytes = 0, length = null) { - 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[60], 45, 32, "offsetInBytes"); - return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); - } - [$asInt16List](offsetInBytes = 0, length = null) { - 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[60], 53, 32, "offsetInBytes"); - return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); - } - [$asInt32List](offsetInBytes = 0, length = null) { - 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[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[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[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[60], 75, 34, "offsetInBytes"); - return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); - } - [$asFloat64List](offsetInBytes = 0, length = null) { - 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[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[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[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() { - ; - }).prototype = _native_typed_data.NativeByteBuffer.prototype; - dart.addTypeTests(_native_typed_data.NativeByteBuffer); - dart.addTypeCaches(_native_typed_data.NativeByteBuffer); - _native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; - dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), - [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) - })); - dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), - [$lengthInBytes]: core.int - })); - 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 { - 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.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; - }, - /*typed_data.Float32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Float32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Float32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Float32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Float32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Float32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Float32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Float32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Float32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Float32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Float32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Float32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Float32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Float32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Float32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Float32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Float32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Float32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Float32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Float32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Float32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Float32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Float32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Float32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Float32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Float32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Float32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Float32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Float32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Float32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Float32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Float32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Float32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Float32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Float32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Float32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Float32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Float32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Float32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Float32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Float32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Float32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Float32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Float32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Float32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Float32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Float32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Float32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Float32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Float32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Float32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Float32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Float32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Float32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Float32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Float32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Float32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Float32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Float32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Float32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Float32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Float32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Float32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Float32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Float32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Float32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Float32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Float32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Float32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Float32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Float32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Float32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Float32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Float32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Float32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Float32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Float32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Float32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Float32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Float32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Float32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Float32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Float32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Float32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Float32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Float32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Float32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Float32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Float32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Float32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Float32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Float32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Float32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Float32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Float32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Float32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Float32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Float32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Float32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Float32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Float32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Float32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Float32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Float32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Float32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Float32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Float32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Float32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Float32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Float32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Float32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Float32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Float32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Float32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Float32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Float32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Float32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Float32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Float32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Float32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Float32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Float32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Float32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Float32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Float32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Float32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Float32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Float32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Float32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Float32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Float32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Float32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Float32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Float32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Float32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Float32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Float32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Float32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Float32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Float32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Float32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Float32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Float32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Float32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Float32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Float32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Float32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Float32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Float32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Float32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Float32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Float32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Float32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Float32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Float32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Float32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Float32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Float32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Float32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Float32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Float32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Float32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Float32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Float32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Float32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Float32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Float32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Float32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Float32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Float32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Float32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Float32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Float32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Float32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Float32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Float32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Float32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Float32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Float32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Float32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Float32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Float32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Float32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Float32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Float32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Float32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Float32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Float32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Float32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Float32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Float32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Float32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Float32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Float32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Float32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Float32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Float32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Float32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Float32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Float32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Float32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Float32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Float32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Float32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Float32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Float32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Float32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Float32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Float32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Float32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Float32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Float32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Float32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Float32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Float32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Float32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Float32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Float32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Float32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Float32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Float32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Float32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Float32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Float32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Float32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Float32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Float32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Float32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Float32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Float32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Float32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Float32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Float32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Float32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Float32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Float32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Float32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Float32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Float32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Float32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Float32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Float32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Float32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Float32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Float32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Float32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Float32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Float32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Float32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Float32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Float32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Float32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Float32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Float32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Float32x4.wwww*/get wwww() { - return 255; - } - }, false); - const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; - (Object_ListMixin$36.new = function() { - }).prototype = Object_ListMixin$36.prototype; - dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); - const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; - (Object_FixedLengthListMixin$36.new = function() { - }).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 157, 25, "index"); - typed_data.Float32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } - }).prototype = _native_typed_data.NativeFloat32x4List.prototype; - dart.addTypeTests(_native_typed_data.NativeFloat32x4List); - dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); - _native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; - dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), - _get: dart.fnType(typed_data.Float32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int - })); - 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) - })); - dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); - dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' - ]); - 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.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; - }, - /*typed_data.Int32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Int32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Int32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Int32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Int32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Int32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Int32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Int32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Int32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Int32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Int32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Int32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Int32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Int32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Int32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Int32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Int32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Int32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Int32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Int32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Int32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Int32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Int32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Int32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Int32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Int32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Int32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Int32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Int32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Int32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Int32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Int32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Int32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Int32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Int32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Int32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Int32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Int32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Int32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Int32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Int32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Int32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Int32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Int32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Int32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Int32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Int32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Int32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Int32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Int32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Int32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Int32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Int32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Int32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Int32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Int32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Int32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Int32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Int32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Int32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Int32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Int32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Int32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Int32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Int32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Int32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Int32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Int32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Int32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Int32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Int32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Int32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Int32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Int32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Int32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Int32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Int32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Int32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Int32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Int32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Int32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Int32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Int32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Int32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Int32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Int32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Int32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Int32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Int32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Int32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Int32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Int32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Int32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Int32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Int32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Int32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Int32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Int32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Int32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Int32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Int32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Int32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Int32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Int32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Int32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Int32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Int32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Int32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Int32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Int32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Int32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Int32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Int32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Int32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Int32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Int32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Int32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Int32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Int32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Int32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Int32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Int32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Int32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Int32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Int32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Int32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Int32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Int32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Int32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Int32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Int32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Int32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Int32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Int32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Int32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Int32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Int32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Int32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Int32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Int32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Int32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Int32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Int32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Int32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Int32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Int32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Int32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Int32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Int32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Int32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Int32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Int32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Int32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Int32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Int32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Int32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Int32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Int32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Int32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Int32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Int32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Int32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Int32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Int32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Int32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Int32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Int32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Int32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Int32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Int32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Int32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Int32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Int32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Int32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Int32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Int32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Int32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Int32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Int32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Int32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Int32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Int32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Int32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Int32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Int32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Int32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Int32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Int32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Int32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Int32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Int32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Int32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Int32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Int32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Int32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Int32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Int32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Int32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Int32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Int32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Int32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Int32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Int32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Int32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Int32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Int32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Int32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Int32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Int32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Int32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Int32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Int32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Int32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Int32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Int32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Int32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Int32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Int32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Int32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Int32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Int32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Int32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Int32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Int32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Int32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Int32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Int32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Int32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Int32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Int32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Int32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Int32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Int32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Int32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Int32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Int32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Int32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Int32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Int32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Int32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Int32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Int32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Int32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Int32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Int32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Int32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Int32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Int32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Int32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Int32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Int32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Int32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Int32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Int32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Int32x4.wwww*/get wwww() { - return 255; - } - }, false); - const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; - (Object_ListMixin$36$.new = function() { - }).prototype = Object_ListMixin$36$.prototype; - dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); - const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; - (Object_FixedLengthListMixin$36$.new = function() { - }).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 229, 25, "index"); - typed_data.Int32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } - }).prototype = _native_typed_data.NativeInt32x4List.prototype; - dart.addTypeTests(_native_typed_data.NativeInt32x4List); - dart.addTypeCaches(_native_typed_data.NativeInt32x4List); - _native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; - dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), - _get: dart.fnType(typed_data.Int32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int - })); - 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) - })); - dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); - dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' - ]); - 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.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; - dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); - const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; - (Object_FixedLengthListMixin$36$0.new = function() { - }).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[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); - } - get buffer() { - return this[_storage$][$buffer]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - return new _native_typed_data.NativeFloat64x2.new(_x, _y); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 297, 25, "index"); - typed_data.Float64x2.as(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[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[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[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[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); - this[_storage$][$_set](i * 2 + 0, e.x); - this[_storage$][$_set](i * 2 + 1, e.y); - } - }).prototype = _native_typed_data.NativeFloat64x2List.prototype; - dart.addTypeTests(_native_typed_data.NativeFloat64x2List); - dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); - _native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; - dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), - _get: dart.fnType(typed_data.Float64x2, [core.int]), - [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int - })); - 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) - })); - dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); - dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' - ]); - var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); - var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); - _native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { - get [$buffer]() { - return this.buffer; - } - get [$lengthInBytes]() { - return this.byteLength; - } - get [$offsetInBytes]() { - return this.byteOffset; - } - get [$elementSizeInBytes]() { - return this.BYTES_PER_ELEMENT; - } - [_invalidPosition](position, length, 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 { - dart.throw(new core.RangeError.range(position, 0, length, name)); - } - } - [_checkPosition](position, length, 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() { - ; - }).prototype = _native_typed_data.NativeTypedData.prototype; - dart.addTypeTests(_native_typed_data.NativeTypedData); - dart.addTypeCaches(_native_typed_data.NativeTypedData); - _native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; - dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), - [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) - })); - dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), - [$buffer]: typed_data.ByteBuffer, - [$lengthInBytes]: core.int, - [$offsetInBytes]: core.int, - [$elementSizeInBytes]: core.int - })); - 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"); - var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); - var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); - var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); - var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); - var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); - var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); - var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); - var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); - var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); - 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[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[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); - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteData); - } - get [$elementSizeInBytes]() { - return 1; - } - [$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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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) { - return this.setUint8.apply(this, args); - } - static _create1(arg) { - return new DataView(new ArrayBuffer(arg)); - } - static _create2(arg1, arg2) { - return new DataView(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new DataView(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeByteData); - dart.addTypeCaches(_native_typed_data.NativeByteData); - _native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; - dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt8]: dart.fnType(core.int, [core.int]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint8]: dart.fnType(core.int, [core.int]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) - })); - 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[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"); - if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); - let count = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let sourceLength = source[$length]; - if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { - dart.throw(new core.StateError.new("Not enough elements")); - } - if (skipCount !== 0 || sourceLength !== count) { - source = source.subarray(skipCount, dart.notNull(skipCount) + count); - } - this.set(source, start); - } - } - (NativeTypedArray.new = function() { - ; - }).prototype = NativeTypedArray.prototype; - dart.addTypeTests(NativeTypedArray); - NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; - dart.addTypeCaches(NativeTypedArray); - NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; - dart.setMethodSignature(NativeTypedArray, () => ({ - __proto__: dart.getMethods(NativeTypedArray.__proto__), - [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) - })); - dart.setLibraryUri(NativeTypedArray, I[61]); - return NativeTypedArray; - }); - _native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); - dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); - core.double = class double extends core.num { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.double); - } - static parse(source, onError = null) { - 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], 285, 34, "source"); - return _js_helper.Primitives.parseDouble(source); - } - }; - (core.double.new = function() { - ; - }).prototype = core.double.prototype; - dart.addTypeCaches(core.double); - 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; - }, - /*core.double.infinity*/get infinity() { - return 1 / 0; - }, - /*core.double.negativeInfinity*/get negativeInfinity() { - return -1 / 0; - }, - /*core.double.minPositive*/get minPositive() { - return 5e-324; - }, - /*core.double.maxFinite*/get maxFinite() { - return 1.7976931348623157e+308; - } - }, false); - const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; - (NativeTypedArray_ListMixin$36.new = function() { - }).prototype = NativeTypedArray_ListMixin$36.prototype; - dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); - const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; - (NativeTypedArray_FixedLengthListMixin$36.new = function() { - }).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; - dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); - _native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _get(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[60], 704, 25, "index"); - core.num.as(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[60], 709, 21, "start"); - if (end == null) dart.nullFailed(I[60], 709, 32, "end"); - T$.IterableOfdouble().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } - }; - (_native_typed_data.NativeTypedArrayOfDouble.new = function() { - ; - }).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; - dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); - dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); - dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - _get: dart.fnType(core.double, [core.int]), - [$_get]: dart.fnType(core.double, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - length: core.int, - [$length]: core.int - })); - 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) {}; - (NativeTypedArray_ListMixin$36$.new = function() { - }).prototype = NativeTypedArray_ListMixin$36$.prototype; - dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); - const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; - (NativeTypedArray_FixedLengthListMixin$36$.new = function() { - }).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; - dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); - _native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 727, 25, "index"); - core.int.as(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[60], 732, 21, "start"); - if (end == null) dart.nullFailed(I[60], 732, 32, "end"); - T$.IterableOfint().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } - }; - (_native_typed_data.NativeTypedArrayOfInt.new = function() { - ; - }).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; - _native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; - dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); - dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); - _native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; - dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), - length: core.int, - [$length]: core.int - })); - 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[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[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[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[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); - } - static _create1(arg) { - return new Float32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float32Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeFloat32List); - dart.addTypeCaches(_native_typed_data.NativeFloat32List); - _native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; - 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.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[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[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[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[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); - } - static _create1(arg) { - return new Float64Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float64Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeFloat64List); - dart.addTypeCaches(_native_typed_data.NativeFloat64List); - _native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; - 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.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[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[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[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[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[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); - } - static _create1(arg) { - return new Int16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int16Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeInt16List); - dart.addTypeCaches(_native_typed_data.NativeInt16List); - _native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; - dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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[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[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); - } - static _create1(arg) { - return new Int32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int32Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeInt32List); - dart.addTypeCaches(_native_typed_data.NativeInt32List); - _native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; - dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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[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[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); - } - static _create1(arg) { - return new Int8Array(arg); - } - static _create2(arg1, arg2) { - return new Int8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Int8Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeInt8List); - dart.addTypeCaches(_native_typed_data.NativeInt8List); - _native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; - dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint16Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeUint16List); - dart.addTypeCaches(_native_typed_data.NativeUint16List); - _native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; - dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint32Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeUint32List); - dart.addTypeCaches(_native_typed_data.NativeUint32List); - _native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; - dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8ClampedArray(arg); - } - static _create2(arg1, arg2) { - return new Uint8ClampedArray(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8ClampedArray(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); - dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); - _native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; - dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) - })); - 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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8Array(arg); - } - static _create2(arg1, arg2) { - return new Uint8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8Array(arg1, arg2, arg3); - } - }; - dart.addTypeTests(_native_typed_data.NativeUint8List); - dart.addTypeCaches(_native_typed_data.NativeUint8List); - _native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; - dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) - })); - 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"); - var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); - var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); - _native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { - get x() { - return this[x$]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[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[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); - let _w = dart.notNull(this.w) + dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - _negate() { - 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[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); - let _w = dart.notNull(this.w) - dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['*'](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); - let _w = dart.notNull(this.w) * dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['/'](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); - let _w = dart.notNull(this.w) / dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - lessThan(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); - let _cw = dart.notNull(this.w) < dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) <= dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) > dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) >= dart.notNull(other.w); - 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[60], 1227, 27, "other"); - let _cx = this.x == other.x; - let _cy = this.y == other.y; - let _cz = this.z == other.z; - let _cw = this.w == other.w; - 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[60], 1237, 30, "other"); - let _cx = this.x != other.x; - let _cy = this.y != other.y; - let _cz = this.z != other.z; - let _cw = this.w != other.w; - 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[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); - let _w = dart.notNull(s) * dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - abs() { - let _x = this.x[$abs](); - let _y = this.y[$abs](); - let _z = this.z[$abs](); - let _w = this.w[$abs](); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - clamp(lowerLimit, 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; - let _lw = lowerLimit.w; - let _ux = upperLimit.x; - let _uy = upperLimit.y; - let _uz = upperLimit.z; - let _uw = upperLimit.w; - let _x = this.x; - let _y = this.y; - let _z = this.z; - let _w = this.w; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; - _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; - _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - get signMask() { - let view = _native_typed_data.NativeFloat32x4._uint32view; - let mx = null; - let my = null; - let mz = null; - let mw = null; - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; - my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; - mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; - mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; - return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); - } - shuffle(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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - withX(newX) { - if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); - core.ArgumentError.checkNotNull(core.double, newX); - 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[60], 1353, 26, "newY"); - core.ArgumentError.checkNotNull(core.double, newY); - 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[60], 1359, 26, "newZ"); - core.ArgumentError.checkNotNull(core.double, newZ); - 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[60], 1365, 26, "newW"); - core.ArgumentError.checkNotNull(core.double, 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[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; - let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - max(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; - let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - sqrt() { - let _x = math.sqrt(this.x); - let _y = math.sqrt(this.y); - let _z = math.sqrt(this.z); - let _w = math.sqrt(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocal() { - let _x = 1.0 / dart.notNull(this.x); - let _y = 1.0 / dart.notNull(this.y); - let _z = 1.0 / dart.notNull(this.z); - let _w = 1.0 / dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocalSqrt() { - let _x = math.sqrt(1.0 / dart.notNull(this.x)); - let _y = math.sqrt(1.0 / dart.notNull(this.y)); - let _z = math.sqrt(1.0 / dart.notNull(this.z)); - let _w = math.sqrt(1.0 / dart.notNull(this.w)); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - }; - (_native_typed_data.NativeFloat32x4.new = function(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"); - 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[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[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[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[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; - this[w$] = w; - ; - }).prototype = _native_typed_data.NativeFloat32x4.prototype; - dart.addTypeTests(_native_typed_data.NativeFloat32x4); - dart.addTypeCaches(_native_typed_data.NativeFloat32x4); - _native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; - dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), - '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - _negate: dart.fnType(typed_data.Float32x4, []), - '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - scale: dart.fnType(typed_data.Float32x4, [core.double]), - abs: dart.fnType(typed_data.Float32x4, []), - clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), - shuffle: dart.fnType(typed_data.Float32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), - withX: dart.fnType(typed_data.Float32x4, [core.double]), - withY: dart.fnType(typed_data.Float32x4, [core.double]), - withZ: dart.fnType(typed_data.Float32x4, [core.double]), - withW: dart.fnType(typed_data.Float32x4, [core.double]), - min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - sqrt: dart.fnType(typed_data.Float32x4, []), - 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[61]); - dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), - x: dart.finalFieldType(core.double), - y: dart.finalFieldType(core.double), - 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() { - return _native_typed_data.NativeFloat32List.new(4); - }, - /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { - return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); - } - }, false); - var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); - var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); - var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); - var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); - _native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { - get x() { - return this[x$0]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$0]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$0]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$0]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[60], 1452, 53, "f"); - let floatList = _native_typed_data.NativeFloat32x4._list; - floatList[$_set](0, f.x); - floatList[$_set](1, f.y); - floatList[$_set](2, f.z); - floatList[$_set](3, f.w); - 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[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[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[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[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[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() { - return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); - } - get signMask() { - let mx = (dart.notNull(this.x) & 2147483648) >>> 31; - let my = (dart.notNull(this.y) & 2147483648) >>> 31; - let mz = (dart.notNull(this.z) & 2147483648) >>> 31; - let mw = (dart.notNull(this.w) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; - } - shuffle(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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeInt32x4._list[$_set](0, other.x); - _native_typed_data.NativeInt32x4._list[$_set](1, other.y); - _native_typed_data.NativeInt32x4._list[$_set](2, other.z); - _native_typed_data.NativeInt32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - withX(x) { - if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1582, 21, "y"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1589, 21, "z"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1596, 21, "w"); - core.ArgumentError.checkNotNull(core.int, 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() { - return this.x !== 0; - } - get flagY() { - return this.y !== 0; - } - get flagZ() { - return this.z !== 0; - } - get flagW() { - return this.w !== 0; - } - withFlagX(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[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[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[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[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); - floatList[$_set](1, trueValue.y); - floatList[$_set](2, trueValue.z); - floatList[$_set](3, trueValue.w); - let stx = intView[$_get](0); - let sty = intView[$_get](1); - let stz = intView[$_get](2); - let stw = intView[$_get](3); - floatList[$_set](0, falseValue.x); - floatList[$_set](1, falseValue.y); - floatList[$_set](2, falseValue.z); - floatList[$_set](3, falseValue.w); - let sfx = intView[$_get](0); - let sfy = intView[$_get](1); - let sfz = intView[$_get](2); - let sfw = intView[$_get](3); - let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; - let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; - let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; - let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; - intView[$_set](0, _x); - intView[$_set](1, _y); - intView[$_set](2, _z); - intView[$_set](3, _w); - return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); - } - }; - (_native_typed_data.NativeInt32x4.new = function(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"); - 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[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; - this[w$0] = dart.test(w) ? -1 : 0; - ; - }).prototype = _native_typed_data.NativeInt32x4.prototype; - (_native_typed_data.NativeInt32x4._truncated = function(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"); - this[x$0] = x; - this[y$0] = y; - this[z$0] = z; - this[w$0] = w; - ; - }).prototype = _native_typed_data.NativeInt32x4.prototype; - dart.addTypeTests(_native_typed_data.NativeInt32x4); - dart.addTypeCaches(_native_typed_data.NativeInt32x4); - _native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; - dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), - '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - _negate: dart.fnType(typed_data.Int32x4, []), - shuffle: dart.fnType(typed_data.Int32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), - withX: dart.fnType(typed_data.Int32x4, [core.int]), - withY: dart.fnType(typed_data.Int32x4, [core.int]), - withZ: dart.fnType(typed_data.Int32x4, [core.int]), - withW: dart.fnType(typed_data.Int32x4, [core.int]), - withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), - 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, - flagX: core.bool, - flagY: core.bool, - flagZ: core.bool, - flagW: core.bool - })); - 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), - y: dart.finalFieldType(core.int), - 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() { - return _native_typed_data.NativeInt32List.new(4); - } - }, false); - var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); - var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); - _native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { - get x() { - return this[x$1]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$1]; - } - 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[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[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[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[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[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[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; - let _uy = upperLimit.y; - let _x = this.x; - let _y = this.y; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); - } - get signMask() { - let view = _native_typed_data.NativeFloat64x2._uint32View; - _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); - _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); - let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; - let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0) >>> 0; - } - withX(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[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[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[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() { - return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); - } - }; - (_native_typed_data.NativeFloat64x2.new = function(x, 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[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[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[60], 1694, 33, "x"); - if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); - this[x$1] = x; - this[y$1] = y; - ; - }).prototype = _native_typed_data.NativeFloat64x2.prototype; - dart.addTypeTests(_native_typed_data.NativeFloat64x2); - dart.addTypeCaches(_native_typed_data.NativeFloat64x2); - _native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; - dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), - '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - _negate: dart.fnType(typed_data.Float64x2, []), - '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - scale: dart.fnType(typed_data.Float64x2, [core.double]), - abs: dart.fnType(typed_data.Float64x2, []), - clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), - withX: dart.fnType(typed_data.Float64x2, [core.double]), - withY: dart.fnType(typed_data.Float64x2, [core.double]), - min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - sqrt: dart.fnType(typed_data.Float64x2, []) - })); - dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), - signMask: core.int - })); - 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(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(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))); - return length; - }; - _native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { - if (!_native_typed_data.NativeByteBuffer.is(buffer)) { - dart.throw(new core.ArgumentError.new("Invalid view buffer")); - } - if (!core.int.is(offsetInBytes)) { - dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); - } - if (!T$.intN().is(length)) { - dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); - } - }; - _native_typed_data._ensureNativeList = function _ensureNativeList(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) { - result[$_set](i, list[$_get](i)); - } - return result; - }; - _native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(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[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[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)); - } - if (end == null) return length; - return end; - }; - var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); - var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); - var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); - var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); - var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); - var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); - var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); - 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 __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 t72; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); - } - 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] = controller$35param; - } - get jsIterator() { - let t72; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); - } - set jsIterator(jsIterator$35param) { - if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); - this[___AsyncStarImpl_jsIterator_isSet] = true; - 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; - } - get handleError() { - if (this[_handleErrorCallback] == null) { - this[_handleErrorCallback] = dart.fn((error, 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$) { - let e = dart.getThrown(e$); - let newStack = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, newStack); - } else - throw e$; - } - }, T$.ObjectAndStackTraceToNull()); - let zone = async.Zone.current; - if (zone != async.Zone.root) { - this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); - } - } - return dart.nullCheck(this[_handleErrorCallback]); - } - scheduleGenerator() { - if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { - return; - } - this.isScheduled = true; - let zone = async.Zone.current; - if (this[_runBodyCallback] == null) { - this[_runBodyCallback] = this.runBody.bind(this); - if (zone != async.Zone.root) { - let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); - this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); - } - } - zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); - } - runBody(awaitValue) { - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - let iterResult = null; - try { - iterResult = this.jsIterator.next(awaitValue); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, s); - return; - } else - throw e$; - } - if (iterResult.done) { - this.close(); - return; - } - if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; - this.isSuspendedAtAwait = true; - let value = iterResult.value; - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); - } - add(event) { - T.as(event); - if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); - if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); - if (!dart.test(this.controller.hasListener)) { - return true; - } - this.controller.add(event); - this.scheduleGenerator(); - this.isSuspendedAtYield = true; - return false; - } - addStream(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; - let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); - whenDoneAdding.then(core.Null, dart.fn(_ => { - this.isSuspendedAtYieldStar = false; - this.scheduleGenerator(); - if (!this.isScheduled) this.isSuspendedAtYield = true; - }, T$.dynamicToNull()), {onError: this.handleError}); - return false; - } - addError(error, 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)) { - completer.completeError(error, stackTrace); - } else if (dart.test(this.controller.hasListener)) { - this.controller.addError(error, stackTrace); - } - this.close(); - } - close() { - let completer = this.cancellationCompleter; - if (completer != null && !dart.test(completer.isCompleted)) { - completer.complete(); - } - this.controller.close(); - } - onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); - this.onListenReceived = true; - this.scheduleGenerator(); - } - onResume() { - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - onCancel() { - if (dart.test(this.controller.isClosed)) { - return null; - } - if (this.cancellationCompleter == null) { - this.cancellationCompleter = async.Completer.new(); - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - return dart.nullCheck(this.cancellationCompleter).future; - } - [_fatal](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[64], 245, 23, "initGenerator"); - this[___AsyncStarImpl_controller] = null; - this[___AsyncStarImpl_controller_isSet] = false; - this.isSuspendedAtYieldStar = false; - this.onListenReceived = false; - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - this.cancellationCompleter = null; - this[___AsyncStarImpl_jsIterator] = null; - this[___AsyncStarImpl_jsIterator_isSet] = false; - this[_handleErrorCallback] = null; - this[_runBodyCallback] = null; - this.initGenerator = initGenerator; - 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); - _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; - dart.addTypeCaches(_AsyncStarImpl); - dart.setMethodSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getMethods(_AsyncStarImpl.__proto__), - scheduleGenerator: dart.fnType(dart.void, []), - runBody: dart.fnType(dart.void, [dart.dynamic]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - close: dart.fnType(dart.void, []), - onListen: dart.fnType(dart.dynamic, []), - onResume: dart.fnType(dart.dynamic, []), - onCancel: dart.fnType(dart.dynamic, []), - [_fatal]: dart.fnType(dart.dynamic, [core.String]) - })); - dart.setGetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getGetters(_AsyncStarImpl.__proto__), - controller: async.StreamController$(T), - jsIterator: core.Object, - stream: async.Stream$(T), - handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) - })); - dart.setSetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getSetters(_AsyncStarImpl.__proto__), - controller: dart.nullable(core.Object), - jsIterator: core.Object - })); - dart.setLibraryUri(_AsyncStarImpl, I[31]); - dart.setFieldSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getFields(_AsyncStarImpl.__proto__), - [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), - initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), - isSuspendedAtYieldStar: dart.fieldType(core.bool), - onListenReceived: dart.fieldType(core.bool), - isScheduled: dart.fieldType(core.bool), - isSuspendedAtYield: dart.fieldType(core.bool), - isSuspendedAtAwait: dart.fieldType(core.bool), - cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), - [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), - [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), - [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), - [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) - })); - return _AsyncStarImpl; - }); - async._AsyncStarImpl = async._AsyncStarImpl$(); - dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); - var error$ = dart.privateName(async, "AsyncError.error"); - var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); - async.AsyncError = class AsyncError extends core.Object { - get error() { - return this[error$]; - } - set error(value) { - super.error = value; - } - get stackTrace() { - return this[stackTrace$]; - } - 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[65], 24, 46, "error"); - if (core.Error.is(error)) { - let stackTrace = error[$stackTrace]; - if (stackTrace != null) return stackTrace; - } - return core.StackTrace.empty; - } - toString() { - return dart.str(this.error); - } - }; - (async.AsyncError.new = function(error, stackTrace) { - let t74; - if (error == null) dart.nullFailed(I[65], 15, 21, "error"); - this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - 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.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), - stackTrace: dart.finalFieldType(core.StackTrace) - })); - dart.defineExtensionMethods(async.AsyncError, ['toString']); - dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); - var _controller$ = dart.privateName(async, "_controller"); - var _subscribe = dart.privateName(async, "_subscribe"); - 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 __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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - cancelOnError == null ? cancelOnError = false : null; - let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); - this[_onListen$](subscription); - return subscription; - } - [_createSubscription](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[68], 485, 37, "subscription"); - } - } - (_StreamImpl.new = function() { - _StreamImpl.__proto__.new.call(this); - ; - }).prototype = _StreamImpl.prototype; - dart.addTypeTests(_StreamImpl); - _StreamImpl.prototype[_is__StreamImpl_default] = true; - dart.addTypeCaches(_StreamImpl); - dart.setMethodSignature(_StreamImpl, () => ({ - __proto__: dart.getMethods(_StreamImpl.__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)}, {}), - [_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[31]); - return _StreamImpl; - }); - async._StreamImpl = async._StreamImpl$(); - 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[67], 826, 51, "cancelOnError"); - return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); - } - get hashCode() { - return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; - } - } - (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); - this[_controller$] = _controller; - _ControllerStream.__proto__.new.call(this); - ; - }).prototype = _ControllerStream.prototype; - dart.addTypeTests(_ControllerStream); - _ControllerStream.prototype[_is__ControllerStream_default] = true; - dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[31]); - dart.setFieldSignature(_ControllerStream, () => ({ - __proto__: dart.getFields(_ControllerStream.__proto__), - [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) - })); - dart.defineExtensionMethods(_ControllerStream, ['_equals']); - dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); - return _ControllerStream; - }); - async._ControllerStream = async._ControllerStream$(); - 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[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[31]); - return _BroadcastStream; - }); - async._BroadcastStream = async._BroadcastStream$(); - dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); - var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); - var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); - var _eventState = dart.privateName(async, "_eventState"); - var _next$1 = dart.privateName(async, "_next"); - var _previous$1 = dart.privateName(async, "_previous"); - var _expectsEvent = dart.privateName(async, "_expectsEvent"); - var _toggleEventId = dart.privateName(async, "_toggleEventId"); - var _isFiring = dart.privateName(async, "_isFiring"); - var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); - var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); - var _onPause = dart.privateName(async, "_onPause"); - var _onResume = dart.privateName(async, "_onResume"); - var _recordCancel = dart.privateName(async, "_recordCancel"); - 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 _zone$ = dart.privateName(async, "_zone"); - var _state = dart.privateName(async, "_state"); - var _onData$ = dart.privateName(async, "_onData"); - var _onError$ = dart.privateName(async, "_onError"); - var _onDone$ = dart.privateName(async, "_onDone"); - var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); - var _isCanceled = dart.privateName(async, "_isCanceled"); - var _isPaused = dart.privateName(async, "_isPaused"); - var _isInputPaused = dart.privateName(async, "_isInputPaused"); - var _inCallback = dart.privateName(async, "_inCallback"); - var _guardCallback = dart.privateName(async, "_guardCallback"); - var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); - var _hasPending = dart.privateName(async, "_hasPending"); - var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); - var _cancel = dart.privateName(async, "_cancel"); - var _isClosed = dart.privateName(async, "_isClosed"); - var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); - var _canFire = dart.privateName(async, "_canFire"); - var _cancelOnError = dart.privateName(async, "_cancelOnError"); - var _sendData = dart.privateName(async, "_sendData"); - var _addPending = dart.privateName(async, "_addPending"); - var _sendError = dart.privateName(async, "_sendError"); - var _sendDone = dart.privateName(async, "_sendDone"); - 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 __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) { - __t$_PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); - if (pendingEvents == null) return; - this[_pending] = pendingEvents; - if (!dart.test(pendingEvents.isEmpty)) { - this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; - pendingEvents.schedule(this); - } - } - onData(handleData) { - this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); - } - static _registerDataHandler(T, zone, handleData) { - 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); - } - static _registerErrorHandler(zone, handleError) { - 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); - } - if (T$.ObjectTovoid().is(handleError)) { - return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); - } - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - onDone(handleDone) { - this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); - } - static _registerDoneHandler(zone, handleDone) { - 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 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; - t74 = resumeSignal; - t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); - if (!dart.test(wasPaused)) { - t74$ = this[_pending]; - t74$ == null ? null : t74$.cancelSchedule(); - } - if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); - } - resume() { - if (dart.test(this[_isCanceled])) return; - 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); - } else { - 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)); - } - } - } - } - cancel() { - let t74; - this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; - if (!dart.test(this[_isCanceled])) { - this[_cancel](); - } - t74 = this[_cancelFuture]; - return t74 == null ? async.Future._nullFuture : t74; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_complete](resultValue); - }, T$.VoidTovoid()); - 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(() => { - result[_completeError](error, stackTrace); - }, T$.VoidToNull())); - } else { - result[_completeError](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull()); - return result; - } - get [_isInputPaused]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isClosed]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_waitsForCancel]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_inCallback]() { - return (dart.notNull(this[_state]) & 32) !== 0; - } - get [_hasPending]() { - return (dart.notNull(this[_state]) & 64) !== 0; - } - get [_isPaused]() { - return dart.notNull(this[_state]) >= 128; - } - get [_canFire]() { - return dart.notNull(this[_state]) < 32; - } - get [_mayResumeInput]() { - 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; - } - get isPaused() { - return this[_isPaused]; - } - [_cancel]() { - this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending]).cancelSchedule(); - } - if (!dart.test(this[_inCallback])) this[_pending] = null; - this[_cancelFuture] = this[_onCancel](); - } - [_decrementPauseCount]() { - 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[68], 268, 12, "!_isClosed"); - if (dart.test(this[_isCanceled])) return; - if (dart.test(this[_canFire])) { - this[_sendData](data); - } else { - this[_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - } - [_addError](error, 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); - } else { - this[_addPending](new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[41] || CT.C41); - } - } - [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); - } - [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); - } - [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); - return null; - } - [_addPending](event) { - 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; - if (!dart.test(this[_isPaused])) { - pending.schedule(this); - } - } - } - [_sendData](data) { - 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); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_sendError](error, stackTrace) { - 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$]; - 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[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendError, T$.VoidTovoid()); - if (dart.test(this[_cancelOnError])) { - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - this[_cancel](); - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendError); - } else { - sendError(); - } - } else { - sendError(); - this[_checkState](wasInputPaused); - } - } - [_sendDone]() { - 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; - this[_zone$].runGuarded(this[_onDone$]); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendDone, T$.VoidTovoid()); - this[_cancel](); - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendDone); - } else { - sendDone(); - } - } - [_guardCallback](callback) { - 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(); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_checkState](wasInputPaused) { - 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; - } - } - while (true) { - if (dart.test(this[_isCanceled])) { - this[_pending] = null; - return; - } - let isInputPaused = this[_isInputPaused]; - if (wasInputPaused == isInputPaused) break; - this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; - if (dart.test(isInputPaused)) { - this[_onPause](); - } else { - this[_onResume](); - } - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - wasInputPaused = isInputPaused; - } - if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending]).schedule(this); - } - } - } - (_BufferingStreamSubscription.new = function(onData, onError, onDone, 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[68], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); - this[_cancelFuture] = 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[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); - ; - }).prototype = _BufferingStreamSubscription.prototype; - _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BufferingStreamSubscription); - _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; - dart.addTypeCaches(_BufferingStreamSubscription); - _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setMethodSignature(_BufferingStreamSubscription, () => ({ - __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), - [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_cancel]: dart.fnType(dart.void, []), - [_decrementPauseCount]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_onPause]: dart.fnType(dart.void, []), - [_onResume]: dart.fnType(dart.void, []), - [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), - [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []), - [_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, - [_isClosed]: core.bool, - [_isCanceled]: core.bool, - [_waitsForCancel]: core.bool, - [_inCallback]: core.bool, - [_hasPending]: core.bool, - [_isPaused]: core.bool, - [_canFire]: core.bool, - [_mayResumeInput]: core.bool, - [_cancelOnError]: core.bool, - isPaused: core.bool - })); - 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), - [_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))) - })); - 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$(); - dart.defineLazy(async._BufferingStreamSubscription, { - /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { - return 1; - }, - /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { - return 2; - }, - /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { - return 4; - }, - /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { - return 8; - }, - /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { - return 16; - }, - /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { - return 32; - }, - /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { - return 64; - }, - /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { - return 128; - } - }, false); - dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); - 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); - } - [_onPause]() { - this[_controller$][_recordPause](this); - } - [_onResume]() { - this[_controller$][_recordResume](this); - } - } - (_ControllerSubscription.new = function(_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"); - this[_controller$] = _controller; - _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - ; - }).prototype = _ControllerSubscription.prototype; - dart.addTypeTests(_ControllerSubscription); - _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; - dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[31]); - dart.setFieldSignature(_ControllerSubscription, () => ({ - __proto__: dart.getFields(_ControllerSubscription.__proto__), - [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) - })); - return _ControllerSubscription; - }); - 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 __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] = __t$_BroadcastSubscriptionNOfT().as(value); - } - get [_previous$1]() { - return this[_previous$0]; - } - set [_previous$1](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[66], 36, 26, "eventId"); - return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; - } - [_toggleEventId]() { - this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; - } - get [_isFiring]() { - return (dart.notNull(this[_eventState]) & 2) !== 0; - } - [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); - this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; - } - get [_removeAfterFiring]() { - return (dart.notNull(this[_eventState]) & 4) !== 0; - } - [_onPause]() { - } - [_onResume]() { - } - } - (_BroadcastSubscription.new = function(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"); - this[_eventState] = 0; - this[_next$0] = null; - this[_previous$0] = null; - _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); - this[_next$1] = this[_previous$1] = this; - }).prototype = _BroadcastSubscription.prototype; - dart.addTypeTests(_BroadcastSubscription); - _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; - dart.addTypeCaches(_BroadcastSubscription); - dart.setMethodSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getMethods(_BroadcastSubscription.__proto__), - [_expectsEvent]: dart.fnType(core.bool, [core.int]), - [_toggleEventId]: dart.fnType(dart.void, []), - [_setRemoveAfterFiring]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getGetters(_BroadcastSubscription.__proto__), - [_isFiring]: core.bool, - [_removeAfterFiring]: core.bool - })); - 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$(); - dart.defineLazy(async._BroadcastSubscription, { - /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { - return 4; - } - }, false); - dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); - var _firstSubscription = dart.privateName(async, "_firstSubscription"); - var _lastSubscription = dart.privateName(async, "_lastSubscription"); - var _addStreamState = dart.privateName(async, "_addStreamState"); - var _doneFuture = dart.privateName(async, "_doneFuture"); - var _isEmpty = dart.privateName(async, "_isEmpty"); - var _hasOneListener = dart.privateName(async, "_hasOneListener"); - var _isAddingStream = dart.privateName(async, "_isAddingStream"); - var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); - var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); - var _addListener = dart.privateName(async, "_addListener"); - var _removeListener = dart.privateName(async, "_removeListener"); - var _callOnCancel = dart.privateName(async, "_callOnCancel"); - var _addEventError = dart.privateName(async, "_addEventError"); - var _forEachListener = dart.privateName(async, "_forEachListener"); - 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 __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")); - } - set onPause(onPauseHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get onResume() { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - set onResume(onResumeHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get stream() { - return new (__t$_BroadcastStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return false; - } - get hasListener() { - return !dart.test(this[_isEmpty]); - } - get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); - return this[_firstSubscription] == this[_lastSubscription]; - } - get [_isFiring]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - [_ensureDoneFuture]() { - 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[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; - subscription[_next$1] = null; - subscription[_previous$1] = oldLast; - if (oldLast == null) { - this[_firstSubscription] = subscription; - } else { - oldLast[_next$1] = subscription; - } - } - [_removeListener](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) { - this[_firstSubscription] = next; - } else { - previous[_next$1] = next; - } - if (next == null) { - this[_lastSubscription] = previous; - } else { - next[_previous$1] = previous; - } - subscription[_next$1] = subscription[_previous$1] = subscription; - } - [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); - if (dart.test(this.isClosed)) { - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); - this[_addListener](subscription); - if (this[_firstSubscription] == this[_lastSubscription]) { - async._runGuarded(this.onListen); - } - return subscription; - } - [_recordCancel](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](); - } else { - this[_removeListener](subscription); - if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - return null; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); - } - [_recordResume](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[66], 238, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add new events while doing an addStream"); - } - add(data) { - T.as(data); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendData](data); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_sendError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - 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]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - let doneFuture = this[_ensureDoneFuture](); - this[_sendDone](); - return doneFuture; - } - get done() { - return this[_ensureDoneFuture](); - } - addStream(stream, opts) { - 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 (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); - this[_addStreamState] = addStreamState; - return addStreamState.addStreamFuture; - } - [_add](data) { - this[_sendData](data); - } - [_addError](error, 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[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 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")); - } - if (dart.test(this[_isEmpty])) return; - let id = (dart.notNull(this[_state]) & 1) >>> 0; - this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; - let subscription = this[_firstSubscription]; - while (subscription != null) { - if (dart.test(subscription[_expectsEvent](id))) { - 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); - } - t74$ = subscription; - t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; - subscription = next; - } else { - subscription = subscription[_next$1]; - } - } - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - [_callOnCancel]() { - 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])) { - doneFuture[_asyncComplete](null); - } - } - async._runGuarded(this.onCancel); - } - } - (_BroadcastStreamController.new = function(onListen, onCancel) { - this[_firstSubscription] = null; - this[_lastSubscription] = null; - this[_addStreamState] = null; - this[_doneFuture] = null; - this.onListen = onListen; - this.onCancel = onCancel; - this[_state] = 0; - ; - }).prototype = _BroadcastStreamController.prototype; - dart.addTypeTests(_BroadcastStreamController); - _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; - dart.addTypeCaches(_BroadcastStreamController); - _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getMethods(_BroadcastStreamController.__proto__), - [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), - [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_addEventError]: dart.fnType(core.Error, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), - [_add]: dart.fnType(dart.void, [T]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), - [_callOnCancel]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getGetters(_BroadcastStreamController.__proto__), - onPause: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - isClosed: core.bool, - isPaused: core.bool, - hasListener: core.bool, - [_hasOneListener]: core.bool, - [_isFiring]: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_isEmpty]: core.bool, - done: async.Future$(dart.void) - })); - dart.setSetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getSetters(_BroadcastStreamController.__proto__), - onPause: dart.nullable(dart.fnType(dart.void, [])), - onResume: dart.nullable(dart.fnType(dart.void, [])) - })); - dart.setLibraryUri(_BroadcastStreamController, I[31]); - dart.setFieldSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getFields(_BroadcastStreamController.__proto__), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - [_state]: dart.fieldType(core.int), - [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), - [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(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$(); - dart.defineLazy(async._BroadcastStreamController, { - /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } - }, false); - dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); - const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); - async._SyncBroadcastStreamController$ = dart.generic(T => { - 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]); - } - [_addEventError]() { - if (dart.test(this[_isFiring])) { - return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); - } - return super[_addEventError](); - } - [_sendData](data) { - if (dart.test(this[_isEmpty])) return; - if (dart.test(this[_hasOneListener])) { - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); - firstSubscription[_add](data); - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - return; - } - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); - subscription[_add](data); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendError](error, 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[66], 391, 55, "subscription"); - subscription[_addError](error, stackTrace); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); - subscription[_close](); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } else { - 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); - } - } - } - (_SyncBroadcastStreamController.new = function(onListen, onCancel) { - _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _SyncBroadcastStreamController.prototype; - dart.addTypeTests(_SyncBroadcastStreamController); - _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_SyncBroadcastStreamController); - _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __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 (__t$_DelayedDataOfT()).new(data)); - } - } - [_sendError](error, 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)); - } - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[41] || CT.C41); - } - } else { - 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); - } - } - } - (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { - _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsyncBroadcastStreamController.prototype; - dart.addTypeTests(_AsyncBroadcastStreamController); - _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsyncBroadcastStreamController); - dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); - return _AsyncBroadcastStreamController; - }); - async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); - dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); - 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 __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]; - return pending != null && !dart.test(pending.isEmpty); - } - [_addPendingEvent](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 (__t$_DelayedDataOfT()).new(data)); - return; - } - super.add(data); - this[_flushPending](); - } - addError(error, stackTrace = null) { - 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])) { - this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); - return; - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendError](error, stackTrace); - this[_flushPending](); - } - [_flushPending]() { - 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[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[66], 506, 12, "!_hasPending"); - return result; - } - [_callOnCancel]() { - let pending = this[_pending]; - if (pending != null) { - pending.clear(); - this[_pending] = null; - } - super[_callOnCancel](); - } - } - (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending] = null; - _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsBroadcastStreamController.prototype; - dart.addTypeTests(_AsBroadcastStreamController); - _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsBroadcastStreamController); - _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; - dart.setMethodSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), - [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), - [_flushPending]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), - [_hasPending]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStreamController, I[31]); - dart.setFieldSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) - })); - return _AsBroadcastStreamController; - }); - async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); - dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); - var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); - var uri$ = dart.privateName(async, "DeferredLibrary.uri"); - async.DeferredLibrary = class DeferredLibrary extends core.Object { - get libraryName() { - return this[libraryName$]; - } - set libraryName(value) { - super.libraryName = value; - } - get uri() { - return this[uri$]; - } - 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[69], 17, 30, "libraryName"); - let uri = opts && 'uri' in opts ? opts.uri : null; - this[libraryName$] = libraryName; - this[uri$] = uri; - ; - }).prototype = async.DeferredLibrary.prototype; - dart.addTypeTests(async.DeferredLibrary); - dart.addTypeCaches(async.DeferredLibrary); - dart.setMethodSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getMethods(async.DeferredLibrary.__proto__), - load: dart.fnType(async.Future$(core.Null), []) - })); - dart.setLibraryUri(async.DeferredLibrary, I[31]); - dart.setFieldSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getFields(async.DeferredLibrary.__proto__), - libraryName: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.String)) - })); - 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[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[31]); - dart.setFieldSignature(async.DeferredLoadException, () => ({ - __proto__: dart.getFields(async.DeferredLoadException.__proto__), - [_s]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); - async.FutureOr$ = dart.normalizeFutureOr(T => { - class FutureOr extends core.Object {} - (FutureOr.__ = function() { - dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); - }).prototype = FutureOr.prototype; - dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[31]); - return FutureOr; - }); - async.FutureOr = async.FutureOr$(); - var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); - 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[70], 249, 30, "computation"); - let result = new (async._Future$(T)).new(); - async.Timer.run(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 273, 40, "computation"); - let result = new (async._Future$(T)).new(); - async.scheduleMicrotask(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 300, 35, "computation"); - try { - let result = computation(); - if (async.Future$(T).is(result)) { - return result; - } else { - return new (async._Future$(T)).value(T.as(result)); - } - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - let future = new (async._Future$(T)).new(); - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - future[_asyncCompleteError](replacement.error, replacement.stackTrace); - } else { - future[_asyncCompleteError](error, stackTrace); - } - return future; - } else - 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[70], 369, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - if (async.Zone.current != async._rootZone) { - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } - } - 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[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")); - } - let result = new (async._Future$(T)).new(); - async.Timer.new(duration, dart.fn(() => { - if (computation == null) { - result[_complete](T.as(null)); - } else { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } - }, 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 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[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; - let remaining = 0; - let error = null; - let error$35isSet = false; - function error$35get() { - return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); - } - function error$35set(error$35param) { - if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); - error$35isSet = true; - return error = error$35param; - } - let stackTrace = null; - let stackTrace$35isSet = false; - function stackTrace$35get() { - return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); - } - function stackTrace$35set(stackTrace$35param) { - if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); - stackTrace$35isSet = true; - return stackTrace = stackTrace$35param; - } - function handleError(theError, 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) { - if (cleanUp != null) { - for (let value of valueList) { - if (value != null) { - let cleanUpValue = value; - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(cleanUpValue); - }, T$.VoidToNull())); - } - } - } - values = null; - if (remaining === 0 || dart.test(eagerError)) { - _future[_completeError](theError, theStackTrace); - } else { - error$35set(theError); - stackTrace$35set(theStackTrace); - } - } else if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); - try { - for (let future of futures) { - let pos = remaining; - future.then(core.Null, dart.fn(value => { - remaining = remaining - 1; - let valueList = values; - if (valueList != null) { - valueList[$_set](pos, value); - if (remaining === 0) { - _future[_completeWithValue](core.List$(T).from(valueList)); - } - } else { - if (cleanUp != null && value != null) { - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(value); - }, T$.VoidToNull())); - } - if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - }, dart.fnType(core.Null, [T])), {onError: handleError}); - remaining = remaining + 1; - } - if (remaining === 0) { - t86 = _future; - return (() => { - t86[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t86; - })(); - } - values = core.List$(dart.nullable(T)).filled(remaining, null); - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (remaining === 0 || dart.test(eagerError)) { - return async.Future$(core.List$(T)).error(e, st); - } else { - error$35set(e); - stackTrace$35set(st); - } - } else - throw e$; - } - return _future; - } - static any(T, 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[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()); - for (let future of futures) { - future.then(dart.void, onValue, {onError: onError}); - } - return completer.future; - } - static forEach(T, elements, 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[42] || CT.C42); - return true; - }, T$.VoidToFutureOrOfbool())); - } - static _kTrue(_) { - return true; - } - static doWhile(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")); - } - function nextIteration$35set(nextIteration$35param) { - if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); - nextIteration$35isSet = true; - return nextIteration = nextIteration$35param; - } - nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); - while (dart.test(keepGoing)) { - let result = null; - try { - result = action(); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); - return; - } else - throw e; - } - if (T$.FutureOfbool().is(result)) { - result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); - return; - } - keepGoing = result; - } - doneSignal[_complete](null); - }, T$.boolTovoid()))); - nextIteration$35get()(true); - return doneSignal; - } - } - (Future[dart.mixinNew] = function() { - }).prototype = Future.prototype; - dart.addTypeTests(Future); - Future.prototype[dart.isFuture] = true; - dart.addTypeCaches(Future); - 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$(); - dart.defineLazy(async.Future, { - /*async.Future._nullFuture*/get _nullFuture() { - return T$._FutureOfNull().as(_internal.nullFuture); - }, - /*async.Future._falseFuture*/get _falseFuture() { - return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); - } - }, false); - dart.addTypeTests(async.Future, dart.isFuture); - var message$1 = dart.privateName(async, "TimeoutException.message"); - var duration$ = dart.privateName(async, "TimeoutException.duration"); - async.TimeoutException = class TimeoutException extends core.Object { - get message() { - return this[message$1]; - } - set message(value) { - super.message = value; - } - get duration() { - return this[duration$]; - } - 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); - if (this.message != null) result = result + ": " + dart.str(this.message); - return result; - } - }; - (async.TimeoutException.new = function(message, duration = null) { - this[message$1] = message; - this[duration$] = duration; - ; - }).prototype = async.TimeoutException.prototype; - dart.addTypeTests(async.TimeoutException); - dart.addTypeCaches(async.TimeoutException); - async.TimeoutException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(async.TimeoutException, I[31]); - dart.setFieldSignature(async.TimeoutException, () => ({ - __proto__: dart.getFields(async.TimeoutException.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)), - duration: dart.finalFieldType(dart.nullable(core.Duration)) - })); - dart.defineExtensionMethods(async.TimeoutException, ['toString']); - const _is_Completer_default = Symbol('_is_Completer_default'); - async.Completer$ = dart.generic(T => { - class Completer extends core.Object { - 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.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 __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); - class _Completer extends core.Object { - completeError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_completeError](error, stackTrace); - } - get isCompleted() { - return !dart.test(this.future[_mayComplete]); - } - } - (_Completer.new = function() { - this.future = new (__t$_FutureOfT()).new(); - ; - }).prototype = _Completer.prototype; - dart.addTypeTests(_Completer); - _Completer.prototype[_is__Completer_default] = true; - dart.addTypeCaches(_Completer); - _Completer[dart.implements] = () => [async.Completer$(T)]; - dart.setMethodSignature(_Completer, () => ({ - __proto__: dart.getMethods(_Completer.__proto__), - completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_Completer, () => ({ - __proto__: dart.getGetters(_Completer.__proto__), - isCompleted: core.bool - })); - dart.setLibraryUri(_Completer, I[31]); - dart.setFieldSignature(_Completer, () => ({ - __proto__: dart.getFields(_Completer.__proto__), - future: dart.finalFieldType(async._Future$(T)) - })); - return _Completer; - }); - 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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _AsyncCompleter.prototype; - dart.addTypeTests(_AsyncCompleter); - _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; - dart.addTypeCaches(_AsyncCompleter); - dart.setMethodSignature(_AsyncCompleter, () => ({ - __proto__: dart.getMethods(_AsyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - 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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _SyncCompleter.prototype; - dart.addTypeTests(_SyncCompleter); - _SyncCompleter.prototype[_is__SyncCompleter_default] = true; - dart.addTypeCaches(_SyncCompleter); - dart.setMethodSignature(_SyncCompleter, () => ({ - __proto__: dart.getMethods(_SyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - dart.setLibraryUri(_SyncCompleter, I[31]); - return _SyncCompleter; - }); - async._SyncCompleter = async._SyncCompleter$(); - dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); - var _nextListener = dart.privateName(async, "_nextListener"); - var _onValue = dart.privateName(async, "_onValue"); - 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 __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$]; - } - get handlesValue() { - return (dart.notNull(this.state) & 1) !== 0; - } - get handlesError() { - return (dart.notNull(this.state) & 2) !== 0; - } - get hasErrorTest() { - return (dart.notNull(this.state) & 15) >>> 0 === 6; - } - get handlesComplete() { - return (dart.notNull(this.state) & 15) >>> 0 === 8; - } - get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); - return this.callback; - } - get [_onError$]() { - return this.errorCallback; - } - get [_errorTest]() { - 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[71], 132, 12, "handlesComplete"); - return this.callback; - } - get hasErrorCallback() { - 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(__t$FutureOrOfT(), S, this[_onValue], sourceResult); - } - matchesErrorTest(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[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)) { - result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); - } else { - 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[71], 189, 12, "!handlesError"); - return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); - } - shouldChain(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[71], 94, 12, "result"); - if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = errorCallback == null ? 1 : 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.thenAwait = function(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"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[71], 105, 35, "result"); - this[_nextListener] = null; - this.result = result; - this.errorCallback = errorCallback; - this.callback = callback; - this.state = callback == null ? 2 : 6; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[71], 108, 37, "result"); - this[_nextListener] = null; - this.result = result; - this.callback = callback; - this.errorCallback = null; - this.state = 8; - ; - }).prototype = _FutureListener.prototype; - dart.addTypeTests(_FutureListener); - _FutureListener.prototype[_is__FutureListener_default] = true; - dart.addTypeCaches(_FutureListener); - dart.setMethodSignature(_FutureListener, () => ({ - __proto__: dart.getMethods(_FutureListener.__proto__), - handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), - matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), - handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), - handleWhenComplete: dart.fnType(dart.dynamic, []), - shouldChain: dart.fnType(core.bool, [async.Future]) - })); - dart.setGetterSignature(_FutureListener, () => ({ - __proto__: dart.getGetters(_FutureListener.__proto__), - [_zone$]: async._Zone, - handlesValue: core.bool, - handlesError: core.bool, - hasErrorTest: core.bool, - handlesComplete: core.bool, - [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError$]: dart.nullable(core.Function), - [_errorTest]: dart.fnType(core.bool, [core.Object]), - [_whenCompleteAction]: dart.fnType(dart.dynamic, []), - hasErrorCallback: core.bool - })); - dart.setLibraryUri(_FutureListener, I[31]); - dart.setFieldSignature(_FutureListener, () => ({ - __proto__: dart.getFields(_FutureListener.__proto__), - [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), - result: dart.finalFieldType(async._Future$(T)), - state: dart.finalFieldType(core.int), - 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$(); - dart.defineLazy(async._FutureListener, { - /*async._FutureListener.maskValue*/get maskValue() { - return 1; - }, - /*async._FutureListener.maskError*/get maskError() { - return 2; - }, - /*async._FutureListener.maskTestError*/get maskTestError() { - return 4; - }, - /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { - return 8; - }, - /*async._FutureListener.stateChain*/get stateChain() { - return 0; - }, - /*async._FutureListener.stateThen*/get stateThen() { - return 1; - }, - /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { - return 3; - }, - /*async._FutureListener.stateCatchError*/get stateCatchError() { - return 2; - }, - /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { - return 6; - }, - /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { - return 8; - }, - /*async._FutureListener.maskType*/get maskType() { - return 15; - } - }, false); - dart.addTypeTests(async._FutureListener, _is__FutureListener_default); - var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); - var _setValue = dart.privateName(async, "_setValue"); - var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); - 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"); - var _chainSource = dart.privateName(async, "_chainSource"); - var _setErrorObject = dart.privateName(async, "_setErrorObject"); - var _setError = dart.privateName(async, "_setError"); - var _cloneResult = dart.privateName(async, "_cloneResult"); - var _prependListeners = dart.privateName(async, "_prependListeners"); - 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 __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 (dart.notNull(this[_state]) & 30) >>> 0 === 0; - } - get [_isPendingComplete]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_mayAddListener]() { - return dart.notNull(this[_state]) <= (2 | 1) >>> 0; - } - get [_isChained]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isComplete]() { - return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; - } - get [_hasError]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_ignoreError]() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - [_setChained](source) { - 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[71], 302, 33, "f"); - let onError = opts && 'onError' in opts ? opts.onError : null; - let currentZone = async.Zone.current; - 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); - } - } - let result = new (async._Future$(R)).new(); - this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); - return result; - } - [_thenAwait](E, f, 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[71], 342, 33, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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 (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); - return result; - } - whenComplete(action) { - 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 (__t$_FutureListenerOfT$T()).whenComplete(result, action)); - return result; - } - asStream() { - return __t$StreamOfT().fromFuture(this); - } - [_setPendingComplete]() { - 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[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[71], 374, 12, "_hasError"); - return async.AsyncError.as(this[_resultOrListeners]); - } - get [_chainSource]() { - 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[71], 385, 12, "!_isComplete"); - this[_state] = 8; - this[_resultOrListeners] = value; - } - [_setErrorObject](error) { - 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[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[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[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; - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_addListener](listener); - return; - } - this[_cloneResult](source); - } - 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())); - } - } - [_prependListeners](listeners) { - if (listeners == null) return; - if (dart.test(this[_mayAddListener])) { - let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); - this[_resultOrListeners] = listeners; - if (existingListeners != null) { - let cursor = listeners; - let next = cursor[_nextListener]; - while (next != null) { - cursor = next; - next = cursor[_nextListener]; - } - cursor[_nextListener] = existingListeners; - } - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_prependListeners](listeners); - return; - } - this[_cloneResult](source); - } - 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); - }, T$.VoidTovoid())); - } - } - [_removeListeners]() { - 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); - } - [_reverseListeners](listeners) { - let prev = null; - let current = listeners; - while (current != null) { - let next = current[_nextListener]; - current[_nextListener] = prev; - prev = current; - current = next; - } - return prev; - } - [_chainForeignFuture](source) { - 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[71], 503, 16, "_isPendingComplete"); - this[_clearPendingComplete](); - try { - this[_completeWithValue](T.as(value)); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_completeError](error, stackTrace); - } else - throw e; - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.scheduleMicrotask(dart.fn(() => { - this[_completeError](e, s); - }, T$.VoidTovoid())); - } else - throw e$; - } - } - static _chainCoreFuture(source, target) { - 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]; - } - if (dart.test(source[_isComplete])) { - let listeners = target[_removeListeners](); - target[_cloneResult](source); - async._Future._propagateToListeners(target, listeners); - } else { - let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); - target[_setChained](source); - source[_prependListeners](listeners); - } - } - [_complete](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); - } - } else { - let listeners = this[_removeListeners](); - this[_setValue](T.as(value)); - async._Future._propagateToListeners(this, listeners); - } - } - [_completeWithValue](value) { - T.as(value); - 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[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) { - __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](); - this[_zone$].scheduleMicrotask(dart.fn(() => { - this[_completeWithValue](value); - }, T$.VoidTovoid())); - } - [_chainFuture](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(() => { - async._Future._chainCoreFuture(value, this); - }, T$.VoidTovoid())); - } else { - async._Future._chainCoreFuture(value, this); - } - return; - } - this[_chainForeignFuture](value); - } - [_asyncCompleteError](error, stackTrace) { - 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[71], 673, 15, "source"); - while (true) { - 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) && !dart.test(source[_ignoreError])) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - } - return; - } - let listener = listeners; - let nextListener = listener[_nextListener]; - while (nextListener != null) { - listener[_nextListener] = null; - async._Future._propagateToListeners(source, listener); - listener = nextListener; - nextListener = listener[_nextListener]; - } - let sourceResult = source[_resultOrListeners]; - let listenerHasError = hasError; - let listenerValueOrError = sourceResult; - if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { - let zone = listener[_zone$]; - if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - return; - } - let oldZone = null; - if (async.Zone._current != zone) { - oldZone = async.Zone._enter(zone); - } - function handleWhenCompleteCallback() { - 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(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.test(hasError) && core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - return; - } else - throw e$; - } - if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { - if (dart.test(completeResult[_hasError])) { - listenerValueOrError = completeResult[_error]; - listenerHasError = true; - } - return; - } - if (async.Future.is(completeResult)) { - let originalSource = source; - listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); - listenerHasError = false; - } - } - dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); - function handleValueCallback() { - try { - listenerValueOrError = listener.handleValue(sourceResult); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - listenerValueOrError = new async.AsyncError.new(e, s); - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleValueCallback, T$.VoidTovoid()); - function handleError() { - try { - let asyncError = source[_error]; - if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { - listenerValueOrError = listener.handleError(asyncError); - listenerHasError = false; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleError, T$.VoidTovoid()); - if (dart.test(listener.handlesComplete)) { - handleWhenCompleteCallback(); - } else if (!dart.test(hasError)) { - if (dart.test(listener.handlesValue)) { - handleValueCallback(); - } - } else { - if (dart.test(listener.handlesError)) { - handleError(); - } - } - if (oldZone != null) async.Zone._leave(oldZone); - if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { - let chainSource = async.Future.as(listenerValueOrError); - let result = listener.result; - if (async._Future.is(chainSource)) { - if (dart.test(chainSource[_isComplete])) { - listeners = result[_removeListeners](); - result[_cloneResult](chainSource); - source = chainSource; - continue; - } else { - async._Future._chainCoreFuture(chainSource, result); - } - } else { - result[_chainForeignFuture](chainSource); - } - return; - } - } - let result = listener.result; - listeners = result[_removeListeners](); - if (!dart.test(listenerHasError)) { - result[_setValue](listenerValueOrError); - } else { - let asyncError = async.AsyncError.as(listenerValueOrError); - result[_setErrorObject](asyncError); - } - source = result; - } - } - timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); - let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - __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(() => { - _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); - }, T$.VoidTovoid())); - } else { - let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); - timer = async.Timer.new(timeLimit, dart.fn(() => { - try { - _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - _future[_completeError](e, s); - } else - throw e$; - } - }, T$.VoidTovoid())); - } - this.then(core.Null, dart.fn(v => { - if (dart.test(timer.isActive)) { - timer.cancel(); - _future[_completeWithValue](v); - } - }, __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); - } - }, T$.ObjectAndStackTraceToNull())}); - return _future; - } - } - (_Future.new = function() { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - ; - }).prototype = _Future.prototype; - (_Future.immediate = function(result) { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncComplete](result); - }).prototype = _Future.prototype; - (_Future.zoneValue = function(value, _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[71], 279, 48, "stackTrace"); - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncCompleteError](core.Object.as(error), stackTrace); - }).prototype = _Future.prototype; - (_Future.value = function(value) { - _Future.zoneValue.call(this, value, async.Zone._current); - }).prototype = _Future.prototype; - _Future.prototype[dart.isFuture] = true; - dart.addTypeTests(_Future); - _Future.prototype[_is__Future_default] = true; - dart.addTypeCaches(_Future); - _Future[dart.implements] = () => [async.Future$(T)]; - dart.setMethodSignature(_Future, () => ({ - __proto__: dart.getMethods(_Future.__proto__), - [_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), []), - [_setPendingComplete]: dart.fnType(dart.void, []), - [_clearPendingComplete]: dart.fnType(dart.void, []), - [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), - [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_cloneResult]: dart.fnType(dart.void, [async._Future]), - [_addListener]: dart.fnType(dart.void, [async._FutureListener]), - [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), - [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), - [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), - [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), - [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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, - [_isPendingComplete]: core.bool, - [_mayAddListener]: core.bool, - [_isChained]: core.bool, - [_isComplete]: core.bool, - [_hasError]: core.bool, - [_ignoreError]: core.bool, - [_error]: async.AsyncError, - [_chainSource]: async._Future - })); - 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$(); - dart.defineLazy(async._Future, { - /*async._Future._stateIncomplete*/get _stateIncomplete() { - return 0; - }, - /*async._Future._stateIgnoreError*/get _stateIgnoreError() { - return 1; - }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { - return 2; - }, - /*async._Future._stateChained*/get _stateChained() { - return 4; - }, - /*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 { - 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[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[31]); - dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ - __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), - callback: dart.finalFieldType(dart.fnType(dart.void, [])), - next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) - })); - async._AsyncRun = class _AsyncRun extends core.Object { - static _initializeScheduleImmediate() { - if (dart.global.scheduleImmediate != null) { - return C[43] || CT.C43; - } - return C[44] || CT.C44; - } - static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); - dart.addAsyncCallback(); - dart.global.scheduleImmediate(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); - dart.addAsyncCallback(); - dart.global.Promise.resolve(null).then(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediate(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.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(); - } - }, false); - async.StreamSubscription$ = dart.generic(T => { - class StreamSubscription extends core.Object {} - (StreamSubscription.new = function() { - ; - }).prototype = StreamSubscription.prototype; - dart.addTypeTests(StreamSubscription); - StreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[31]); - return StreamSubscription; - }); - async.StreamSubscription = async.StreamSubscription$(); - dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); - const _is_EventSink_default = Symbol('_is_EventSink_default'); - async.EventSink$ = dart.generic(T => { - class EventSink extends core.Object {} - (EventSink.new = function() { - ; - }).prototype = EventSink.prototype; - dart.addTypeTests(EventSink); - EventSink.prototype[_is_EventSink_default] = true; - dart.addTypeCaches(EventSink); - EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[31]); - return EventSink; - }); - async.EventSink = async.EventSink$(); - dart.addTypeTests(async.EventSink, _is_EventSink_default); - var _stream = dart.privateName(async, "StreamView._stream"); - var _stream$ = dart.privateName(async, "_stream"); - const _is_StreamView_default = Symbol('_is_StreamView_default'); - async.StreamView$ = dart.generic(T => { - class StreamView extends async.Stream$(T) { - get [_stream$]() { - return this[_stream]; - } - 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; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); - } - 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; - return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } - (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); - this[_stream] = stream; - StreamView.__proto__._internal.call(this); - ; - }).prototype = StreamView.prototype; - dart.addTypeTests(StreamView); - StreamView.prototype[_is_StreamView_default] = true; - dart.addTypeCaches(StreamView); - dart.setMethodSignature(StreamView, () => ({ - __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[31]); - dart.setFieldSignature(StreamView, () => ({ - __proto__: dart.getFields(StreamView.__proto__), - [_stream$]: dart.finalFieldType(async.Stream$(T)) - })); - return StreamView; - }); - async.StreamView = async.StreamView$(); - dart.addTypeTests(async.StreamView, _is_StreamView_default); - const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); - async.StreamConsumer$ = dart.generic(S => { - class StreamConsumer extends core.Object {} - (StreamConsumer.new = function() { - ; - }).prototype = StreamConsumer.prototype; - dart.addTypeTests(StreamConsumer); - StreamConsumer.prototype[_is_StreamConsumer_default] = true; - dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[31]); - return StreamConsumer; - }); - async.StreamConsumer = async.StreamConsumer$(); - dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); - const _is_StreamSink_default = Symbol('_is_StreamSink_default'); - async.StreamSink$ = dart.generic(S => { - class StreamSink extends core.Object {} - (StreamSink.new = function() { - ; - }).prototype = StreamSink.prototype; - dart.addTypeTests(StreamSink); - StreamSink.prototype[_is_StreamSink_default] = true; - dart.addTypeCaches(StreamSink); - StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[31]); - return StreamSink; - }); - async.StreamSink = async.StreamSink$(); - 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[30], 2460, 33, "source"); - return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); - } - } - (StreamTransformer[dart.mixinNew] = function() { - }).prototype = StreamTransformer.prototype; - dart.addTypeTests(StreamTransformer); - StreamTransformer.prototype[_is_StreamTransformer_default] = true; - dart.addTypeCaches(StreamTransformer); - dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); - dart.setLibraryUri(StreamTransformer, I[31]); - dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); - return StreamTransformer; - }); - async.StreamTransformer = async.StreamTransformer$(); - dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); - 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[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.setStaticMethodSignature(StreamIterator, () => ['new']); - dart.setLibraryUri(StreamIterator, I[31]); - return StreamIterator; - }); - async.StreamIterator = async.StreamIterator$(); - dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); - 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")); - return sink; - } - add(data) { - T.as(data); - this[_ensureSink]().add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); - this[_ensureSink]().addError(error, stackTrace); - } - close() { - this[_ensureSink]().close(); - } - } - (_ControllerEventSinkWrapper.new = function(_sink) { - this[_sink$] = _sink; - ; - }).prototype = _ControllerEventSinkWrapper.prototype; - dart.addTypeTests(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; - dart.addTypeCaches(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), - [_ensureSink]: dart.fnType(async.EventSink, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); - dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) - })); - return _ControllerEventSinkWrapper; - }); - async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); - dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); - const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); - async.MultiStreamController$ = dart.generic(T => { - class MultiStreamController extends core.Object {} - (MultiStreamController.new = function() { - ; - }).prototype = MultiStreamController.prototype; - dart.addTypeTests(MultiStreamController); - MultiStreamController.prototype[_is_MultiStreamController_default] = true; - dart.addTypeCaches(MultiStreamController); - MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[31]); - return MultiStreamController; - }); - async.MultiStreamController = async.MultiStreamController$(); - dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); - const _is_StreamController_default = Symbol('_is_StreamController_default'); - async.StreamController$ = dart.generic(T => { - class StreamController extends core.Object { - static new(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 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[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; - dart.addTypeTests(StreamController); - StreamController.prototype[_is_StreamController_default] = true; - dart.addTypeCaches(StreamController); - StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); - dart.setLibraryUri(StreamController, I[31]); - return StreamController; - }); - async.StreamController = async.StreamController$(); - dart.addTypeTests(async.StreamController, _is_StreamController_default); - const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); - async.SynchronousStreamController$ = dart.generic(T => { - class SynchronousStreamController extends core.Object {} - (SynchronousStreamController.new = function() { - ; - }).prototype = SynchronousStreamController.prototype; - dart.addTypeTests(SynchronousStreamController); - SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; - dart.addTypeCaches(SynchronousStreamController); - SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - 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 __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - class _StreamControllerLifecycle extends core.Object { - [_recordPause](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); - } - [_recordResume](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); - } - [_recordCancel](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); - return null; - } - } - (_StreamControllerLifecycle.new = function() { - ; - }).prototype = _StreamControllerLifecycle.prototype; - dart.addTypeTests(_StreamControllerLifecycle); - _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; - dart.addTypeCaches(_StreamControllerLifecycle); - dart.setMethodSignature(_StreamControllerLifecycle, () => ({ - __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), - [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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[31]); - return _StreamControllerLifecycle; - }); - async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); - dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); - const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); - async._StreamControllerBase$ = dart.generic(T => { - class _StreamControllerBase extends core.Object {} - (_StreamControllerBase.new = function() { - ; - }).prototype = _StreamControllerBase.prototype; - dart.addTypeTests(_StreamControllerBase); - _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[31]); - return _StreamControllerBase; - }); - async._StreamControllerBase = async._StreamControllerBase$(); - dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); - var _varData = dart.privateName(async, "_varData"); - var _isInitialState = dart.privateName(async, "_isInitialState"); - var _subscription = dart.privateName(async, "_subscription"); - var _pendingEvents = dart.privateName(async, "_pendingEvents"); - 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 __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 (__t$_ControllerStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get hasListener() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - get [_isInitialState]() { - return (dart.notNull(this[_state]) & 3) >>> 0 === 0; - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); - if (!dart.test(this[_isAddingStream])) { - return __t$_PendingEventsNOfT().as(this[_varData]); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - return __t$_PendingEventsNOfT().as(state.varData); - } - [_ensurePendingEvents]() { - 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 (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - let events = state.varData; - if (events == null) { - state.varData = events = new (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - get [_subscription]() { - 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 __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[67], 567, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add event while adding a stream"); - } - addStream(source, opts) { - 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 (__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; - } - get done() { - return this[_ensureDoneFuture](); - } - [_ensureDoneFuture]() { - 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); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_add](value); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_addError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - return this[_ensureDoneFuture](); - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_closeUnchecked](); - return this[_ensureDoneFuture](); - } - [_closeUnchecked]() { - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) { - this[_sendDone](); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[41] || CT.C41); - } - } - [_add](value) { - T.as(value); - if (dart.test(this.hasListener)) { - this[_sendData](value); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); - } - } - [_addError](error, 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])) { - this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[67], 674, 28, "cancelOnError"); - if (!dart.test(this[_isInitialState])) { - dart.throw(new core.StateError.new("Stream has already been listened to.")); - } - 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 = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.varData = subscription; - addState.resume(); - } else { - this[_varData] = subscription; - } - subscription[_setPendingEvents](pendingEvents); - subscription[_guardCallback](dart.fn(() => { - async._runGuarded(this.onListen); - }, T$.VoidTovoid())); - return subscription; - } - [_recordCancel](subscription) { - let t101; - if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); - let result = null; - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - result = addState.cancel(); - } - this[_varData] = null; - this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; - let onCancel = this.onCancel; - if (onCancel != null) { - if (result == null) { - try { - let cancelResult = onCancel(); - if (T$.FutureOfvoid().is(cancelResult)) { - result = cancelResult; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - result = (t101 = new (T$._FutureOfvoid()).new(), (() => { - t101[_asyncCompleteError](e, s); - return t101; - })()); - } else - throw e$; - } - } else { - result = result.whenComplete(onCancel); - } - } - const complete = () => { - let doneFuture = this[_doneFuture]; - if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { - doneFuture[_asyncComplete](null); - } - }; - dart.fn(complete, T$.VoidTovoid()); - if (result != null) { - result = result.whenComplete(complete); - } else { - complete(); - } - return result; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.pause(); - } - async._runGuarded(this.onPause); - } - [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.resume(); - } - async._runGuarded(this.onResume); - } - } - (_StreamController.new = function(onListen, onPause, onResume, onCancel) { - this[_varData] = null; - this[_state] = 0; - this[_doneFuture] = null; - this.onListen = onListen; - this.onPause = onPause; - this.onResume = onResume; - this.onCancel = onCancel; - ; - }).prototype = _StreamController.prototype; - dart.addTypeTests(_StreamController); - _StreamController.prototype[_is__StreamController_default] = true; - dart.addTypeCaches(_StreamController); - _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_StreamController, () => ({ - __proto__: dart.getMethods(_StreamController.__proto__), - [_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), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - [_closeUnchecked]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) - })); - dart.setGetterSignature(_StreamController, () => ({ - __proto__: dart.getGetters(_StreamController.__proto__), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - [_isCanceled]: core.bool, - hasListener: core.bool, - [_isInitialState]: core.bool, - isClosed: core.bool, - isPaused: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), - [_subscription]: async._ControllerSubscription$(T), - done: async.Future$(dart.void) - })); - dart.setLibraryUri(_StreamController, I[31]); - dart.setFieldSignature(_StreamController, () => ({ - __proto__: dart.getFields(_StreamController.__proto__), - [_varData]: dart.fieldType(dart.nullable(core.Object)), - [_state]: dart.fieldType(core.int), - [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - 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$(); - dart.defineLazy(async._StreamController, { - /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { - return 1; - }, - /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { - return 2; - }, - /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { - return 3; - }, - /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } - }, false); - dart.addTypeTests(async._StreamController, _is__StreamController_default); - const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); - async._SyncStreamControllerDispatch$ = dart.generic(T => { - class _SyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_add](data); - } - [_sendError](error, 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]() { - this[_subscription][_close](); - } - } - (_SyncStreamControllerDispatch.new = function() { - ; - }).prototype = _SyncStreamControllerDispatch.prototype; - dart.addTypeTests(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - class _AsyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - [_sendError](error, 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[41] || CT.C41); - } - } - (_AsyncStreamControllerDispatch.new = function() { - ; - }).prototype = _AsyncStreamControllerDispatch.prototype; - dart.addTypeTests(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; - dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); - return _AsyncStreamControllerDispatch; - }); - async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); - dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); - const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); - async._AsyncStreamController$ = dart.generic(T => { - const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 805, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _AsyncStreamController.prototype; - dart.addTypeTests(_AsyncStreamController); - _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; - dart.addTypeCaches(_AsyncStreamController); - dart.setMethodSignature(_AsyncStreamController, () => ({ - __proto__: dart.getMethods(_AsyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamController, I[31]); - return _AsyncStreamController; - }); - async._AsyncStreamController = async._AsyncStreamController$(); - dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); - const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); - async._SyncStreamController$ = dart.generic(T => { - const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 808, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _SyncStreamController.prototype; - dart.addTypeTests(_SyncStreamController); - _SyncStreamController.prototype[_is__SyncStreamController_default] = true; - dart.addTypeCaches(_SyncStreamController); - dart.setMethodSignature(_SyncStreamController, () => ({ - __proto__: dart.getMethods(_SyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SyncStreamController, I[31]); - return _SyncStreamController; - }); - async._SyncStreamController = async._SyncStreamController$(); - 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 __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[67], 870, 24, "error"); - this[_target$].addError(error, stackTrace); - } - close() { - return this[_target$].close(); - } - addStream(source) { - __t$StreamOfT().as(source); - if (source == null) dart.nullFailed(I[67], 876, 30, "source"); - return this[_target$].addStream(source); - } - get done() { - return this[_target$].done; - } - } - (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); - this[_target$] = _target; - ; - }).prototype = _StreamSinkWrapper.prototype; - dart.addTypeTests(_StreamSinkWrapper); - _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; - dart.addTypeCaches(_StreamSinkWrapper); - _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), - done: async.Future - })); - dart.setLibraryUri(_StreamSinkWrapper, I[31]); - dart.setFieldSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getFields(_StreamSinkWrapper.__proto__), - [_target$]: dart.finalFieldType(async.StreamController) - })); - return _StreamSinkWrapper; - }); - 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[67], 899, 38, "controller"); - return dart.fn((e, 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()); - } - pause() { - this.addSubscription.pause(); - } - resume() { - this.addSubscription.resume(); - } - cancel() { - let cancel = this.addSubscription.cancel(); - if (cancel == null) { - this.addStreamFuture[_asyncComplete](null); - return async.Future._nullFuture; - } - return cancel.whenComplete(dart.fn(() => { - this.addStreamFuture[_asyncComplete](null); - }, T$.VoidToNull())); - } - complete() { - this.addStreamFuture[_asyncComplete](null); - } - } - (_AddStreamState.new = function(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"); - this.addStreamFuture = new async._Future.new(); - 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); - _AddStreamState.prototype[_is__AddStreamState_default] = true; - dart.addTypeCaches(_AddStreamState); - dart.setMethodSignature(_AddStreamState, () => ({ - __proto__: dart.getMethods(_AddStreamState.__proto__), - pause: dart.fnType(dart.void, []), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future$(dart.void), []), - complete: dart.fnType(dart.void, []) - })); - dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); - dart.setLibraryUri(_AddStreamState, I[31]); - dart.setFieldSignature(_AddStreamState, () => ({ - __proto__: dart.getFields(_AddStreamState.__proto__), - addStreamFuture: dart.finalFieldType(async._Future), - addSubscription: dart.finalFieldType(async.StreamSubscription) - })); - return _AddStreamState; - }); - 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) { - 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[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)) { - this.addSubscription.pause(); - } - }).prototype = _StreamControllerAddStreamState.prototype; - dart.addTypeTests(_StreamControllerAddStreamState); - _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; - dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); - dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ - __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), - varData: dart.fieldType(dart.dynamic) - })); - return _StreamControllerAddStreamState; - }); - async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); - dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); - const _is__EventSink_default = Symbol('_is__EventSink_default'); - async._EventSink$ = dart.generic(T => { - class _EventSink extends core.Object {} - (_EventSink.new = function() { - ; - }).prototype = _EventSink.prototype; - dart.addTypeTests(_EventSink); - _EventSink.prototype[_is__EventSink_default] = true; - dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[31]); - return _EventSink; - }); - async._EventSink = async._EventSink$(); - dart.addTypeTests(async._EventSink, _is__EventSink_default); - const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); - async._EventDispatch$ = dart.generic(T => { - class _EventDispatch extends core.Object {} - (_EventDispatch.new = function() { - ; - }).prototype = _EventDispatch.prototype; - dart.addTypeTests(_EventDispatch); - _EventDispatch.prototype[_is__EventDispatch_default] = true; - dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[31]); - return _EventDispatch; - }); - async._EventDispatch = async._EventDispatch$(); - dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); - const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); - async._DelayedEvent$ = dart.generic(T => { - class _DelayedEvent extends core.Object {} - (_DelayedEvent.new = function() { - this.next = null; - ; - }).prototype = _DelayedEvent.prototype; - dart.addTypeTests(_DelayedEvent); - _DelayedEvent.prototype[_is__DelayedEvent_default] = true; - dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[31]); - dart.setFieldSignature(_DelayedEvent, () => ({ - __proto__: dart.getFields(_DelayedEvent.__proto__), - next: dart.fieldType(dart.nullable(async._DelayedEvent)) - })); - return _DelayedEvent; - }); - 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 __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) { - __t$_EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); - dispatch[_sendData](this.value); - } - } - (_DelayedData.new = function(value) { - this.value = value; - _DelayedData.__proto__.new.call(this); - ; - }).prototype = _DelayedData.prototype; - dart.addTypeTests(_DelayedData); - _DelayedData.prototype[_is__DelayedData_default] = true; - dart.addTypeCaches(_DelayedData); - dart.setMethodSignature(_DelayedData, () => ({ - __proto__: dart.getMethods(_DelayedData.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_DelayedData, I[31]); - dart.setFieldSignature(_DelayedData, () => ({ - __proto__: dart.getFields(_DelayedData.__proto__), - value: dart.finalFieldType(T) - })); - return _DelayedData; - }); - 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[68], 525, 31, "dispatch"); - dispatch[_sendError](this.error, this.stackTrace); - } - }; - (async._DelayedError.new = function(error, 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); - ; - }).prototype = async._DelayedError.prototype; - dart.addTypeTests(async._DelayedError); - dart.addTypeCaches(async._DelayedError); - dart.setMethodSignature(async._DelayedError, () => ({ - __proto__: dart.getMethods(async._DelayedError.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - 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[68], 533, 31, "dispatch"); - dispatch[_sendDone](); - } - get next() { - return null; - } - set next(_) { - dart.throw(new core.StateError.new("No events after a done.")); - } - }; - (async._DelayedDone.new = function() { - ; - }).prototype = async._DelayedDone.prototype; - dart.addTypeTests(async._DelayedDone); - dart.addTypeCaches(async._DelayedDone); - async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; - dart.setMethodSignature(async._DelayedDone, () => ({ - __proto__: dart.getMethods(async._DelayedDone.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getGetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) - })); - dart.setSetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getSetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) - })); - 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[68], 602, 26, "event"); - let lastEvent = this.lastPendingEvent; - if (lastEvent == null) { - this.firstPendingEvent = this.lastPendingEvent = event; - } else { - this.lastPendingEvent = lastEvent.next = event; - } - } - handleNext(dispatch) { - __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; - if (nextEvent == null) { - this.lastPendingEvent = null; - } - event.perform(dispatch); - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this.firstPendingEvent = this.lastPendingEvent = null; - } - static ['_#new#tearOff'](T) { - return new (async._PendingEvents$(T)).new(); - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - this.firstPendingEvent = null; - this.lastPendingEvent = null; - ; - }).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(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool, - isEmpty: core.bool - })); - 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)) - })); - dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); - return _PendingEvents; - }); - 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; - } - get [_isScheduled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get isPaused() { - return dart.notNull(this[_state]) >= 4; - } - [_schedule]() { - if (dart.test(this[_isScheduled])) return; - this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - } - onData(handleData) { - } - onError(handleError) { - } - onDone(handleDone) { - this[_onDone$] = handleDone; - } - pause(resumeSignal = null) { - this[_state] = dart.notNull(this[_state]) + 4; - if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - resume() { - if (dart.test(this.isPaused)) { - this[_state] = dart.notNull(this[_state]) - 4; - if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { - this[_schedule](); - } - } - } - cancel() { - return async.Future._nullFuture; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_completeWithValue](resultValue); - }, T$.VoidTovoid()); - return result; - } - [_sendDone]() { - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this.isPaused)) return; - this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; - let doneHandler = this[_onDone$]; - if (doneHandler != null) this[_zone$].runGuarded(doneHandler); - } - } - (_DoneStreamSubscription.new = function(_onDone) { - this[_state] = 0; - this[_onDone$] = _onDone; - this[_zone$] = async.Zone.current; - this[_schedule](); - }).prototype = _DoneStreamSubscription.prototype; - _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_DoneStreamSubscription); - _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; - dart.addTypeCaches(_DoneStreamSubscription); - _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), - [_schedule]: dart.fnType(dart.void, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), - [_isSent]: core.bool, - [_isScheduled]: core.bool, - isPaused: core.bool - })); - 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$(); - dart.defineLazy(async._DoneStreamSubscription, { - /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { - return 1; - }, - /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { - return 2; - }, - /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { - return 4; - } - }, false); - dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); - var _source$4 = dart.privateName(async, "_source"); - var _onListenHandler = dart.privateName(async, "_onListenHandler"); - var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); - var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); - var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); - 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 __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 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 (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - 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, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - if (shutdown) { - let subscription = this[_subscription]; - if (subscription != null) { - subscription.cancel(); - this[_subscription] = null; - } - } - } - [_onListen$]() { - let listenHandler = this[_onListenHandler]; - if (listenHandler != null) { - this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - } - [_cancelSubscription]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - this[_controller$] = null; - subscription.cancel(); - } - } - [_pauseSubscription](resumeSignal) { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(resumeSignal); - } - [_resumeSubscription]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - get [_isSubscriptionPaused]() { - 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[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, __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 (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); - }).prototype = _AsBroadcastStream.prototype; - dart.addTypeTests(_AsBroadcastStream); - _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; - dart.addTypeCaches(_AsBroadcastStream); - dart.setMethodSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getMethods(_AsBroadcastStream.__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)}, {}), - [_onCancel]: dart.fnType(dart.void, []), - [_onListen$]: dart.fnType(dart.void, []), - [_cancelSubscription]: dart.fnType(dart.void, []), - [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), - [_resumeSubscription]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getGetters(_AsBroadcastStream.__proto__), - [_isSubscriptionPaused]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStream, I[31]); - dart.setFieldSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getFields(_AsBroadcastStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(T)), - [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_zone$]: dart.finalFieldType(async.Zone), - [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) - })); - return _AsBroadcastStream; - }); - async._AsBroadcastStream = async._AsBroadcastStream$(); - 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.")); - } - onError(handleError) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - onDone(handleDone) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - pause(resumeSignal = null) { - this[_stream$][_pauseSubscription](resumeSignal); - } - resume() { - this[_stream$][_resumeSubscription](); - } - cancel() { - this[_stream$][_cancelSubscription](); - return async.Future._nullFuture; - } - get isPaused() { - return this[_stream$][_isSubscriptionPaused]; - } - asFuture(E, futureValue = null) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - } - (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); - this[_stream$] = _stream; - ; - }).prototype = _BroadcastSubscriptionWrapper.prototype; - _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; - dart.addTypeCaches(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); - dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), - [_stream$]: dart.finalFieldType(async._AsBroadcastStream) - })); - return _BroadcastSubscriptionWrapper; - }); - async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); - dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); - var _hasValue$0 = dart.privateName(async, "_hasValue"); - 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 __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); - } - moveNext() { - let subscription = this[_subscription]; - if (subscription != null) { - if (dart.test(this[_hasValue$0])) { - let future = new (T$._FutureOfbool()).new(); - this[_stateData] = future; - this[_hasValue$0] = false; - subscription.resume(); - return future; - } - dart.throw(new core.StateError.new("Already waiting for next.")); - } - return this[_initializeOrDone](); - } - [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); - let stateData = this[_stateData]; - if (stateData != null) { - 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}); - if (this[_stateData] != null) { - this[_subscription] = subscription; - } - return future; - } - return async.Future._falseFuture; - } - cancel() { - let subscription = this[_subscription]; - let stateData = this[_stateData]; - this[_stateData] = null; - if (subscription != null) { - this[_subscription] = null; - if (!dart.test(this[_hasValue$0])) { - let future = T$._FutureOfbool().as(stateData); - future[_asyncComplete](false); - } else { - this[_hasValue$0] = false; - } - return subscription.cancel(); - } - return async.Future._nullFuture; - } - [_onData$](data) { - let t101; - T.as(data); - if (this[_subscription] == null) return; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_stateData] = data; - this[_hasValue$0] = true; - moveNextFuture[_complete](true); - if (dart.test(this[_hasValue$0])) { - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - } - [_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; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeError](error, stackTrace); - } else { - moveNextFuture[_asyncCompleteError](error, stackTrace); - } - } - [_onDone$]() { - let subscription = this[_subscription]; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_subscription] = null; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeWithValue](false); - } else { - moveNextFuture[_asyncCompleteWithValue](false); - } - } - } - (_StreamIterator.new = function(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"); - ; - }).prototype = _StreamIterator.prototype; - dart.addTypeTests(_StreamIterator); - _StreamIterator.prototype[_is__StreamIterator_default] = true; - dart.addTypeCaches(_StreamIterator); - _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; - dart.setMethodSignature(_StreamIterator, () => ({ - __proto__: dart.getMethods(_StreamIterator.__proto__), - moveNext: dart.fnType(async.Future$(core.bool), []), - [_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]), - [_onDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamIterator, () => ({ - __proto__: dart.getGetters(_StreamIterator.__proto__), - current: T - })); - dart.setLibraryUri(_StreamIterator, I[31]); - dart.setFieldSignature(_StreamIterator, () => ({ - __proto__: dart.getFields(_StreamIterator.__proto__), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), - [_stateData]: dart.fieldType(dart.nullable(core.Object)), - [_hasValue$0]: dart.fieldType(core.bool) - })); - return _StreamIterator; - }); - 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 __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; - } - 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; - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - } - (_EmptyStream.new = function() { - _EmptyStream.__proto__._internal.call(this); - ; - }).prototype = _EmptyStream.prototype; - dart.addTypeTests(_EmptyStream); - _EmptyStream.prototype[_is__EmptyStream_default] = true; - dart.addTypeCaches(_EmptyStream); - dart.setMethodSignature(_EmptyStream, () => ({ - __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[31]); - return _EmptyStream; - }); - async._EmptyStream = async._EmptyStream$(); - 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 __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); - class _MultiStream extends async.Stream$(T) { - get isBroadcast() { - return this[isBroadcast$]; - } - 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 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 (__t$_MultiStreamControllerOfT()).new(); - controller.onListen = dart.fn(() => { - let t101; - t101 = controller; - this[_onListen$](t101); - }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); - } - } - (_MultiStream.new = function(_onListen, 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); - ; - }).prototype = _MultiStream.prototype; - dart.addTypeTests(_MultiStream); - _MultiStream.prototype[_is__MultiStream_default] = true; - dart.addTypeCaches(_MultiStream); - dart.setMethodSignature(_MultiStream, () => ({ - __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[31]); - dart.setFieldSignature(_MultiStream, () => ({ - __proto__: dart.getFields(_MultiStream.__proto__), - isBroadcast: dart.finalFieldType(core.bool), - [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) - })); - return _MultiStream; - }); - async._MultiStream = async._MultiStream$(); - 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 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, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); - } - } - closeSync() { - if (dart.test(this.isClosed)) return; - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) this[_subscription][_close](); - } - get stream() { - dart.throw(new core.UnsupportedError.new("Not available")); - } - } - (_MultiStreamController.new = function() { - _MultiStreamController.__proto__.new.call(this, null, null, null, null); - ; - }).prototype = _MultiStreamController.prototype; - dart.addTypeTests(_MultiStreamController); - _MultiStreamController.prototype[_is__MultiStreamController_default] = true; - dart.addTypeCaches(_MultiStreamController); - _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; - dart.setMethodSignature(_MultiStreamController, () => ({ - __proto__: dart.getMethods(_MultiStreamController.__proto__), - addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - closeSync: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_MultiStreamController, I[31]); - return _MultiStreamController; - }); - async._MultiStreamController = async._MultiStreamController$(); - dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); - 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 __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 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, (t101 = cancelOnError, t101 == null ? false : t101)); - } - [_createSubscription](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[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) { - __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[73], 75, 26, "_source"); - this[_source$4] = _source; - _ForwardingStream.__proto__.new.call(this); - ; - }).prototype = _ForwardingStream.prototype; - dart.addTypeTests(_ForwardingStream); - _ForwardingStream.prototype[_is__ForwardingStream_default] = true; - dart.addTypeCaches(_ForwardingStream); - dart.setMethodSignature(_ForwardingStream, () => ({ - __proto__: dart.getMethods(_ForwardingStream.__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)}, {}), - [_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]), - [_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[31]); - dart.setFieldSignature(_ForwardingStream, () => ({ - __proto__: dart.getFields(_ForwardingStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(S)) - })); - return _ForwardingStream; - }); - async._ForwardingStream = async._ForwardingStream$(); - dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); - 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[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 t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - [_onResume]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - this[_stream$][_handleData$](data, this); - } - [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); - this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); - } - [_handleDone$]() { - this[_stream$][_handleDone$](this); - } - } - (_ForwardingStreamSubscription.new = function(_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"); - this[_subscription] = null; - this[_stream$] = _stream; - _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); - }).prototype = _ForwardingStreamSubscription.prototype; - dart.addTypeTests(_ForwardingStreamSubscription); - _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; - dart.addTypeCaches(_ForwardingStreamSubscription); - dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); - dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), - [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _ForwardingStreamSubscription; - }); - async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); - dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); - 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 t101; - if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); - let satisfies = null; - try { - satisfies = (t101 = inputEvent, this[_test$](t101)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } - } - } - (_WhereStream.new = function(source, 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; - dart.addTypeTests(_WhereStream); - _WhereStream.prototype[_is__WhereStream_default] = true; - dart.addTypeCaches(_WhereStream); - dart.setMethodSignature(_WhereStream, () => ({ - __proto__: dart.getMethods(_WhereStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_WhereStream, I[31]); - dart.setFieldSignature(_WhereStream, () => ({ - __proto__: dart.getFields(_WhereStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _WhereStream; - }); - async._WhereStream = async._WhereStream$(); - dart.addTypeTests(async._WhereStream, _is__WhereStream_default); - 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 t102; - if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); - let outputEvent = null; - try { - outputEvent = (t102 = inputEvent, this[_transform](t102)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - sink[_add](outputEvent); - } - } - (_MapStream.new = function(source, 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); - ; - }).prototype = _MapStream.prototype; - dart.addTypeTests(_MapStream); - _MapStream.prototype[_is__MapStream_default] = true; - dart.addTypeCaches(_MapStream); - dart.setMethodSignature(_MapStream, () => ({ - __proto__: dart.getMethods(_MapStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_MapStream, I[31]); - dart.setFieldSignature(_MapStream, () => ({ - __proto__: dart.getFields(_MapStream.__proto__), - [_transform]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return _MapStream; - }); - async._MapStream = async._MapStream$(); - dart.addTypeTests(async._MapStream, _is__MapStream_default); - 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 t103; - if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); - try { - for (let value of (t103 = inputEvent, this[_expand](t103))) { - sink[_add](value); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - } else - throw e$; - } - } - } - (_ExpandStream.new = function(source, 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); - ; - }).prototype = _ExpandStream.prototype; - dart.addTypeTests(_ExpandStream); - _ExpandStream.prototype[_is__ExpandStream_default] = true; - dart.addTypeCaches(_ExpandStream); - dart.setMethodSignature(_ExpandStream, () => ({ - __proto__: dart.getMethods(_ExpandStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_ExpandStream, I[31]); - dart.setFieldSignature(_ExpandStream, () => ({ - __proto__: dart.getFields(_ExpandStream.__proto__), - [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - return _ExpandStream; - }); - async._ExpandStream = async._ExpandStream$(); - 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[73], 252, 42, "sink"); - sink[_add](data); - } - [_handleError$](error, stackTrace, 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$]; - if (test != null) { - try { - matches = test(error); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - } - if (dart.test(matches)) { - try { - t105 = error; - t106 = stackTrace; - this[_onError$](t105, t106); - } catch (e$0) { - let e = dart.getThrown(e$0); - let s = dart.stackTrace(e$0); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - sink[_addError](error, stackTrace); - } else { - async._addErrorWithReplacement(sink, e, s); - } - return; - } else - throw e$0; - } - } else { - sink[_addError](error, stackTrace); - } - } - } - (_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; - dart.addTypeTests(_HandleErrorStream); - _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; - dart.addTypeCaches(_HandleErrorStream); - dart.setMethodSignature(_HandleErrorStream, () => ({ - __proto__: dart.getMethods(_HandleErrorStream.__proto__), - [_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[31]); - dart.setFieldSignature(_HandleErrorStream, () => ({ - __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), - [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) - })); - return _HandleErrorStream; - }); - async._HandleErrorStream = async._HandleErrorStream$(); - dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); - 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 __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[73], 292, 47, "cancelOnError"); - if (this[_count] === 0) { - this[_source$4].listen(null).cancel(); - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); - } - [_handleData$](inputEvent, 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); - count = dart.notNull(count) - 1; - subscription[_subState] = count; - if (count === 0) { - sink[_close](); - } - } - } - } - (_TakeStream.new = function(source, 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); - ; - }).prototype = _TakeStream.prototype; - dart.addTypeTests(_TakeStream); - _TakeStream.prototype[_is__TakeStream_default] = true; - dart.addTypeCaches(_TakeStream); - dart.setMethodSignature(_TakeStream, () => ({ - __proto__: dart.getMethods(_TakeStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeStream, I[31]); - dart.setFieldSignature(_TakeStream, () => ({ - __proto__: dart.getFields(_TakeStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _TakeStream; - }); - async._TakeStream = async._TakeStream$(); - dart.addTypeTests(async._TakeStream, _is__TakeStream_default); - var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); - const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); - async._StateStreamSubscription$ = dart.generic((S, T) => { - class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { - get [_subState]() { - return this[_subState$]; - } - 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[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); - ; - }).prototype = _StateStreamSubscription.prototype; - dart.addTypeTests(_StateStreamSubscription); - _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; - dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[31]); - dart.setFieldSignature(_StateStreamSubscription, () => ({ - __proto__: dart.getFields(_StateStreamSubscription.__proto__), - [_subState]: dart.fieldType(S) - })); - return _StateStreamSubscription; - }); - async._StateStreamSubscription = async._StateStreamSubscription$(); - dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); - 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 t106; - if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); - let satisfies = null; - try { - satisfies = (t106 = inputEvent, this[_test$](t106)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - sink[_close](); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } else { - sink[_close](); - } - } - } - (_TakeWhileStream.new = function(source, 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; - dart.addTypeTests(_TakeWhileStream); - _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; - dart.addTypeCaches(_TakeWhileStream); - dart.setMethodSignature(_TakeWhileStream, () => ({ - __proto__: dart.getMethods(_TakeWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeWhileStream, I[31]); - dart.setFieldSignature(_TakeWhileStream, () => ({ - __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _TakeWhileStream; - }); - 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 __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[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[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; - return; - } - sink[_add](inputEvent); - } - } - (_SkipStream.new = function(source, 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"); - }).prototype = _SkipStream.prototype; - dart.addTypeTests(_SkipStream); - _SkipStream.prototype[_is__SkipStream_default] = true; - dart.addTypeCaches(_SkipStream); - dart.setMethodSignature(_SkipStream, () => ({ - __proto__: dart.getMethods(_SkipStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipStream, I[31]); - dart.setFieldSignature(_SkipStream, () => ({ - __proto__: dart.getFields(_SkipStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _SkipStream; - }); - 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 __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[73], 390, 47, "cancelOnError"); - return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); - } - [_handleData$](inputEvent, 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); - return; - } - let satisfies = null; - try { - satisfies = (t107 = inputEvent, this[_test$](t107)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - subscription[_subState] = true; - return; - } else - throw e$; - } - if (!dart.test(satisfies)) { - subscription[_subState] = true; - sink[_add](inputEvent); - } - } - } - (_SkipWhileStream.new = function(source, 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; - dart.addTypeTests(_SkipWhileStream); - _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; - dart.addTypeCaches(_SkipWhileStream); - dart.setMethodSignature(_SkipWhileStream, () => ({ - __proto__: dart.getMethods(_SkipWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipWhileStream, I[31]); - dart.setFieldSignature(_SkipWhileStream, () => ({ - __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _SkipWhileStream; - }); - async._SkipWhileStream = async._SkipWhileStream$(); - 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 __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[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[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; - sink[_add](inputEvent); - } else { - let previousEvent = T.as(previous); - let equals = this[_equals]; - let isEqual = null; - try { - if (equals == null) { - isEqual = dart.equals(previousEvent, inputEvent); - } else { - isEqual = equals(previousEvent, inputEvent); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (!dart.test(isEqual)) { - sink[_add](inputEvent); - subscription[_subState] = inputEvent; - } - } - } - } - (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[73], 423, 29, "source"); - this[_equals] = equals; - _DistinctStream.__proto__.new.call(this, source); - ; - }).prototype = _DistinctStream.prototype; - dart.addTypeTests(_DistinctStream); - _DistinctStream.prototype[_is__DistinctStream_default] = true; - dart.addTypeCaches(_DistinctStream); - dart.setMethodSignature(_DistinctStream, () => ({ - __proto__: dart.getMethods(_DistinctStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - 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$(); - dart.defineLazy(async._DistinctStream, { - /*async._DistinctStream._SENTINEL*/get _SENTINEL() { - return new core.Object.new(); - } - }, false); - 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 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[74], 10, 26, "_sink"); - this[_sink$] = _sink; - ; - }).prototype = _EventSinkWrapper.prototype; - dart.addTypeTests(_EventSinkWrapper); - _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; - dart.addTypeCaches(_EventSinkWrapper); - _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getMethods(_EventSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_EventSinkWrapper, I[31]); - dart.setFieldSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getFields(_EventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(async._EventSink$(T)) - })); - return _EventSinkWrapper; - }); - async._EventSinkWrapper = async._EventSinkWrapper$(); - dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); - var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); - var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); - var _transformerSink = dart.privateName(async, "_transformerSink"); - const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); - async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); - class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { - get [_transformerSink]() { - let t109; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); - } - set [_transformerSink](_transformerSink$35param) { - if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); - this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - 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])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_add](data); - } - [_addError](error, 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")); - } - super[_addError](error, stackTrace); - } - [_close]() { - if (dart.test(this[_isClosed])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_close](); - } - [_onPause]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.pause(); - } - [_onResume]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - try { - this[_transformerSink].add(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - [_handleError$](error, 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - this[_addError](error, stackTrace); - } else { - this[_addError](e, s); - } - } else - throw e$; - } - } - [_handleDone$]() { - try { - this[_subscription] = null; - this[_transformerSink].close(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - } - (_SinkTransformerStreamSubscription.new = function(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"); - 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 (__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); - _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; - dart.addTypeCaches(_SinkTransformerStreamSubscription); - dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), - [_add]: dart.fnType(dart.void, [T]), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); - dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), - [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), - [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _SinkTransformerStreamSubscription; - }); - async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); - dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); - 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 __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$]; - } - 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) { - __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[74], 149, 37, "_sinkMapper"); - this[_sinkMapper$] = _sinkMapper; - _StreamSinkTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSinkTransformer.prototype; - dart.addTypeTests(_StreamSinkTransformer); - _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; - dart.addTypeCaches(_StreamSinkTransformer); - dart.setMethodSignature(_StreamSinkTransformer, () => ({ - __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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)])) - })); - return _StreamSinkTransformer; - }); - 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 __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 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 (__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[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); - ; - }).prototype = _BoundSinkStream.prototype; - dart.addTypeTests(_BoundSinkStream); - _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; - dart.addTypeCaches(_BoundSinkStream); - dart.setMethodSignature(_BoundSinkStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSinkStream, () => ({ - __proto__: dart.getFields(_BoundSinkStream.__proto__), - [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSinkStream; - }); - async._BoundSinkStream = async._BoundSinkStream$(); - 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$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleData = this[_handleData$]; - if (handleData != null) { - handleData(data, sink); - } else { - sink.add(T.as(data)); - } - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[74], 215, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let sink = this[_sink$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleError = this[_handleError$]; - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - if (handleError != null) { - handleError(error, stackTrace, sink); - } else { - sink.addError(error, stackTrace); - } - } - close() { - let sink = this[_sink$]; - if (sink == null) return; - this[_sink$] = null; - let handleDone = this[_handleDone$]; - if (handleDone != null) { - handleDone(sink); - } else { - sink.close(); - } - } - } - (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); - this[_handleData$] = _handleData; - this[_handleError$] = _handleError; - this[_handleDone$] = _handleDone; - this[_sink$] = _sink; - ; - }).prototype = _HandlerEventSink.prototype; - dart.addTypeTests(_HandlerEventSink); - _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; - dart.addTypeCaches(_HandlerEventSink); - _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_HandlerEventSink, () => ({ - __proto__: dart.getMethods(_HandlerEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - 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)]))), - [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), - [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) - })); - return _HandlerEventSink; - }); - 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 __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) { - __t$StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); - return super.bind(stream); - } - } - (_StreamHandlerTransformer.new = function(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; - _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - 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[31]); - return _StreamHandlerTransformer; - }); - async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); - dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); - var _bind$ = dart.privateName(async, "_bind"); - const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); - async._StreamBindTransformer$ = dart.generic((S, T) => { - 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 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[74], 264, 31, "_bind"); - this[_bind$] = _bind; - _StreamBindTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamBindTransformer.prototype; - dart.addTypeTests(_StreamBindTransformer); - _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; - dart.addTypeCaches(_StreamBindTransformer); - dart.setMethodSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getMethods(_StreamBindTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_StreamBindTransformer, I[31]); - dart.setFieldSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getFields(_StreamBindTransformer.__proto__), - [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) - })); - return _StreamBindTransformer; - }); - async._StreamBindTransformer = async._StreamBindTransformer$(); - dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); - var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); - const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); - async._StreamSubscriptionTransformer$ = dart.generic((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]; - } - 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) { - __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[74], 286, 45, "_onListen"); - this[_onListen$0] = _onListen; - _StreamSubscriptionTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSubscriptionTransformer.prototype; - dart.addTypeTests(_StreamSubscriptionTransformer); - _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; - dart.addTypeCaches(_StreamSubscriptionTransformer); - dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ - __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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])) - })); - return _StreamSubscriptionTransformer; - }); - async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); - dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); - const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); - async._BoundSubscriptionStream$ = dart.generic((S, T) => { - class _BoundSubscriptionStream extends async.Stream$(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 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 = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); - result.onData(onData); - result.onError(onError); - result.onDone(onDone); - return result; - } - } - (_BoundSubscriptionStream.new = function(_stream, _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); - ; - }).prototype = _BoundSubscriptionStream.prototype; - dart.addTypeTests(_BoundSubscriptionStream); - _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; - dart.addTypeCaches(_BoundSubscriptionStream); - dart.setMethodSignature(_BoundSubscriptionStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSubscriptionStream, () => ({ - __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), - [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSubscriptionStream; - }); - 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[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[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[75], 109, 35, "callback"); - async.Timer.new(core.Duration.zero, callback); - } - static _createTimer(duration, 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[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); - } - }; - (async.Timer[dart.mixinNew] = function() { - }).prototype = async.Timer.prototype; - dart.addTypeTests(async.Timer); - dart.addTypeCaches(async.Timer); - 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'); - async._ZoneFunction$ = dart.generic(T => { - class _ZoneFunction extends core.Object { - get zone() { - return this[zone$]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$0]; - } - 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[76], 303, 28, "zone"); - if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); - this[zone$] = zone; - this[$function$0] = $function; - ; - }).prototype = _ZoneFunction.prototype; - dart.addTypeTests(_ZoneFunction); - _ZoneFunction.prototype[_is__ZoneFunction_default] = true; - dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[31]); - dart.setFieldSignature(_ZoneFunction, () => ({ - __proto__: dart.getFields(_ZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(T) - })); - return _ZoneFunction; - }); - async._ZoneFunction = async._ZoneFunction$(); - dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); - 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 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; - 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: (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.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"); - var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); - var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); - var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); - var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); - var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); - var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); - var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); - var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); - var print$ = dart.privateName(async, "_ZoneSpecification.print"); - var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); - async._ZoneSpecification = class _ZoneSpecification extends core.Object { - get handleUncaughtError() { - return this[handleUncaughtError$]; - } - set handleUncaughtError(value) { - super.handleUncaughtError = value; - } - get run() { - return this[run$]; - } - set run(value) { - super.run = value; - } - get runUnary() { - return this[runUnary$]; - } - set runUnary(value) { - super.runUnary = value; - } - get runBinary() { - return this[runBinary$]; - } - set runBinary(value) { - super.runBinary = value; - } - get registerCallback() { - return this[registerCallback$]; - } - set registerCallback(value) { - super.registerCallback = value; - } - get registerUnaryCallback() { - return this[registerUnaryCallback$]; - } - set registerUnaryCallback(value) { - super.registerUnaryCallback = value; - } - get registerBinaryCallback() { - return this[registerBinaryCallback$]; - } - set registerBinaryCallback(value) { - super.registerBinaryCallback = value; - } - get errorCallback() { - return this[errorCallback$]; - } - set errorCallback(value) { - super.errorCallback = value; - } - get scheduleMicrotask() { - return this[scheduleMicrotask$]; - } - set scheduleMicrotask(value) { - super.scheduleMicrotask = value; - } - get createTimer() { - return this[createTimer$]; - } - set createTimer(value) { - super.createTimer = value; - } - get createPeriodicTimer() { - return this[createPeriodicTimer$]; - } - set createPeriodicTimer(value) { - super.createPeriodicTimer = value; - } - get print() { - return this[print$]; - } - set print(value) { - super.print = value; - } - get fork() { - return this[fork$]; - } - 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; - 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; - this[handleUncaughtError$] = handleUncaughtError; - this[run$] = run; - this[runUnary$] = runUnary; - this[runBinary$] = runBinary; - this[registerCallback$] = registerCallback; - this[registerUnaryCallback$] = registerUnaryCallback; - this[registerBinaryCallback$] = registerBinaryCallback; - this[errorCallback$] = errorCallback; - this[scheduleMicrotask$] = scheduleMicrotask; - this[createTimer$] = createTimer; - this[createPeriodicTimer$] = createPeriodicTimer; - this[print$] = print; - this[fork$] = fork; - ; - }).prototype = async._ZoneSpecification.prototype; - dart.addTypeTests(async._ZoneSpecification); - dart.addTypeCaches(async._ZoneSpecification); - async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; - 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]))), - run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - runUnary: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - registerUnaryCallback: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), - scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), - createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), - createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) - })); - async.ZoneDelegate = class ZoneDelegate extends core.Object {}; - (async.ZoneDelegate.new = function() { - ; - }).prototype = async.ZoneDelegate.prototype; - dart.addTypeTests(async.ZoneDelegate); - dart.addTypeCaches(async.ZoneDelegate); - 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[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[76], 921, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); - async.Zone._current = previous; - } - }; - (async.Zone.__ = function() { - ; - }).prototype = async.Zone.prototype; - dart.addTypeTests(async.Zone); - dart.addTypeCaches(async.Zone); - 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[45] || CT.C45; - }, - /*async.Zone._current*/get _current() { - return async._rootZone; - }, - set _current(value) { - if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); - } - }, false); - var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); - 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"); - var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); - var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); - var _errorCallback = dart.privateName(async, "_errorCallback"); - var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); - var _createTimer = dart.privateName(async, "_createTimer"); - 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[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[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[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[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[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[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[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[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; - if (implZone == async._rootZone) return null; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); - } - scheduleMicrotask(zone, 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[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[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[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[76], 1027, 18, "zone"); - let implementation = this[_delegationTarget$][_fork]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); - } - }; - (async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); - this[_delegationTarget$] = _delegationTarget; - ; - }).prototype = async._ZoneDelegate.prototype; - dart.addTypeTests(async._ZoneDelegate); - dart.addTypeCaches(async._ZoneDelegate); - async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; - dart.setMethodSignature(async._ZoneDelegate, () => ({ - __proto__: dart.getMethods(async._ZoneDelegate.__proto__), - handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), - run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [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.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), - createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), - 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[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[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() { - ; - }).prototype = async._Zone.prototype; - dart.addTypeTests(async._Zone); - 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]), - [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) - })); - 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"); - var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); - var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); - var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); - var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); - var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); - var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); - var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); - var _print$ = dart.privateName(async, "_CustomZone._print"); - var _fork$ = dart.privateName(async, "_CustomZone._fork"); - var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); - var parent$ = dart.privateName(async, "_CustomZone.parent"); - var _map$2 = dart.privateName(async, "_CustomZone._map"); - var _delegateCache = dart.privateName(async, "_delegateCache"); - var _map$3 = dart.privateName(async, "_map"); - var _delegate = dart.privateName(async, "_delegate"); - async._CustomZone = class _CustomZone extends async._Zone { - get [_run]() { - 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() { - return this[parent$]; - } - set parent(value) { - super.parent = value; - } - get [_map$3]() { - return this[_map$2]; - } - set [_map$3](value) { - super[_map$3] = value; - } - get [_delegate]() { - 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[76], 1206, 24, "f"); - try { - this.run(dart.void, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); - try { - this.runUnary(dart.void, T, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); - try { - this.runBinary(dart.void, T1, T2, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[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[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[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])); - } - _get(key) { - let result = this[_map$3][$_get](key); - if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; - if (this.parent != null) { - let value = this.parent._get(key); - if (value != null) { - this[_map$3][$_set](key, value); - } - return value; - } - 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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - let implementation = this[_fork]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, specification, zoneValues); - } - run(R, 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[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[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[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[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[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[76], 1339, 36, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let implementation = this[_errorCallback]; - let implementationZone = implementation.zone; - if (implementationZone == async._rootZone) return null; - let parentDelegate = implementationZone[_parentDelegate]; - let handler = implementation.function; - return handler(implementationZone, parentDelegate, this, error, stackTrace); - } - scheduleMicrotask(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[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[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[76], 1370, 21, "line"); - let implementation = this[_print]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, line); - } - }; - (async._CustomZone.new = function(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"); - this[_delegateCache] = null; - this[parent$] = parent; - this[_map$2] = _map; - this[_run$] = parent[_run]; - this[_runUnary$] = parent[_runUnary]; - this[_runBinary$] = parent[_runBinary]; - this[_registerCallback$] = parent[_registerCallback]; - this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; - this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; - this[_errorCallback$] = parent[_errorCallback]; - this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; - this[_createTimer$] = parent[_createTimer]; - this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; - this[_print$] = parent[_print]; - this[_fork$] = parent[_fork]; - this[_handleUncaughtError$] = parent[_handleUncaughtError]; - async._CustomZone.__proto__.new.call(this); - let run = specification.run; - if (run != null) { - this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); - } - let runUnary = specification.runUnary; - if (runUnary != null) { - this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); - } - let runBinary = specification.runBinary; - if (runBinary != null) { - this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); - } - let registerCallback = specification.registerCallback; - if (registerCallback != null) { - this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); - } - let registerUnaryCallback = specification.registerUnaryCallback; - if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); - } - let registerBinaryCallback = specification.registerBinaryCallback; - if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); - } - let errorCallback = specification.errorCallback; - if (errorCallback != null) { - this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); - } - let scheduleMicrotask = specification.scheduleMicrotask; - if (scheduleMicrotask != null) { - this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); - } - let createTimer = specification.createTimer; - if (createTimer != null) { - this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); - } - let createPeriodicTimer = specification.createPeriodicTimer; - if (createPeriodicTimer != null) { - this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); - } - let print = specification.print; - if (print != null) { - this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); - } - let fork = specification.fork; - if (fork != null) { - this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); - } - let handleUncaughtError = specification.handleUncaughtError; - if (handleUncaughtError != null) { - this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); - } - }).prototype = async._CustomZone.prototype; - dart.addTypeTests(async._CustomZone); - dart.addTypeCaches(async._CustomZone); - dart.setMethodSignature(async._CustomZone, () => ({ - __proto__: dart.getMethods(async._CustomZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) - })); - dart.setGetterSignature(async._CustomZone, () => ({ - __proto__: dart.getGetters(async._CustomZone.__proto__), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone - })); - dart.setLibraryUri(async._CustomZone, I[31]); - dart.setFieldSignature(async._CustomZone, () => ({ - __proto__: dart.getFields(async._CustomZone.__proto__), - [_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, [])]))), - [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), - [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), - [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), - parent: dart.finalFieldType(async._Zone), - [_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[46] || CT.C46; - } - get [_runUnary]() { - return C[48] || CT.C48; - } - get [_runBinary]() { - return C[50] || CT.C50; - } - get [_registerCallback]() { - return C[52] || CT.C52; - } - get [_registerUnaryCallback]() { - return C[54] || CT.C54; - } - get [_registerBinaryCallback]() { - return C[56] || CT.C56; - } - get [_errorCallback]() { - return C[58] || CT.C58; - } - get [_scheduleMicrotask]() { - return C[60] || CT.C60; - } - get [_createTimer]() { - return C[62] || CT.C62; - } - get [_createPeriodicTimer]() { - return C[64] || CT.C64; - } - get [_print]() { - return C[66] || CT.C66; - } - get [_fork]() { - return C[68] || CT.C68; - } - get [_handleUncaughtError]() { - return C[70] || CT.C70; - } - get parent() { - return null; - } - get [_map$3]() { - return async._RootZone._rootMap; - } - get [_delegate]() { - let t116; - t116 = async._RootZone._rootDelegate; - return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; - } - get [_parentDelegate]() { - return this[_delegate]; - } - get errorZone() { - return this; - } - runGuarded(f) { - if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(); - return; - } - async._rootRun(dart.void, null, null, this, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg); - return; - } - async._rootRunUnary(dart.void, T, null, null, this, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg1, arg2); - return; - } - async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[76], 1627, 44, "f"); - return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); - } - bindUnaryCallbackGuarded(T, 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[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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - return async._rootFork(null, null, this, specification, zoneValues); - } - run(R, 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[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[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[76], 1669, 41, "f"); - return f; - } - registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); - return f; - } - registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); - return f; - } - errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); - return null; - } - scheduleMicrotask(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[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[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[76], 1691, 21, "line"); - _internal.printToConsole(line); - } - }; - (async._RootZone.new = function() { - async._RootZone.__proto__.new.call(this); - ; - }).prototype = async._RootZone.prototype; - dart.addTypeTests(async._RootZone); - dart.addTypeCaches(async._RootZone); - dart.setMethodSignature(async._RootZone, () => ({ - __proto__: dart.getMethods(async._RootZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) - })); - dart.setGetterSignature(async._RootZone, () => ({ - __proto__: dart.getGetters(async._RootZone.__proto__), - [_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, [])])), - [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), - [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), - [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), - [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), - parent: dart.nullable(async._Zone), - [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone - })); - 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(); - }, - /*async._RootZone._rootDelegate*/get _rootDelegate() { - return null; - }, - set _rootDelegate(value) {} - }, false); - async.async = function _async(T, 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(onValue$35param) { - if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); - onValue$35isSet = true; - 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(onError$35param) { - if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); - onError$35isSet = true; - return onError = onError$35param; - } - function onAwait(value) { - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); - return f; - } - 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); - }, 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())); - onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); - } - let asyncFuture = new (async._Future$(T)).new(); - let isRunningAsEvent = false; - function runBody() { - try { - iter = initGenerator()[Symbol.iterator](); - let iteratorValue = iter.next(null); - let value = iteratorValue.value; - if (iteratorValue.done) { - if (async.Future.is(value)) { - if (async._Future.is(value)) { - async._Future._chainCoreFuture(value, asyncFuture); - } else { - asyncFuture[_chainForeignFuture](value); - } - } else if (isRunningAsEvent) { - asyncFuture[_completeWithValue](value); - } else { - asyncFuture[_asyncComplete](value); - } - } else { - async._Future._chainCoreFuture(onAwait(value), asyncFuture); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (isRunningAsEvent) { - async._completeWithErrorCallback(asyncFuture, e, s); - } else { - async._asyncCompleteWithErrorCallback(asyncFuture, e, s); - } - } else - throw e$; - } - } - dart.fn(runBody, T$.VoidToNull()); - if (dart.test(dart.startAsyncSynchronously)) { - runBody(); - isRunningAsEvent = true; - } else { - isRunningAsEvent = true; - async.scheduleMicrotask(runBody); - } - return asyncFuture; - }; - async.unawaited = function unawaited(future) { - }; - async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - 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[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[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[70], 1041, 13, "#this"); - return dart.fn((E, handleError, opts) => { - 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 __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 __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[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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - result[_completeError](error, stackTrace); - }; - async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - 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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - if (stackTrace == null) { - dart.throw("unreachable"); - } - result[_asyncCompleteError](error, stackTrace); - }; - async._registerErrorHandler = function _registerErrorHandler(errorHandler, 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 value of the returned future's type")); - }; - async._microtaskLoop = function _microtaskLoop() { - for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { - async._lastPriorityCallback = null; - let next = entry.next; - async._nextCallback = next; - if (next == null) async._lastCallback = null; - entry.callback(); - } - }; - async._startMicrotaskLoop = function _startMicrotaskLoop() { - async._isInCallbackLoop = true; - try { - async._microtaskLoop(); - } finally { - async._lastPriorityCallback = null; - async._isInCallbackLoop = false; - if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[73] || CT.C73); - } - } - }; - async._scheduleAsyncCallback = function _scheduleAsyncCallback(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[73] || CT.C73); - } - } else { - lastCallback.next = newEntry; - async._lastCallback = newEntry; - } - }; - async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); - if (async._nextCallback == null) { - async._scheduleAsyncCallback(callback); - async._lastPriorityCallback = async._lastCallback; - return; - } - let entry = new async._AsyncCallbackEntry.new(callback); - let lastPriorityCallback = async._lastPriorityCallback; - if (lastPriorityCallback == null) { - entry.next = async._nextCallback; - async._nextCallback = async._lastPriorityCallback = entry; - } else { - let next = lastPriorityCallback.next; - entry.next = next; - lastPriorityCallback.next = entry; - async._lastPriorityCallback = entry; - if (next == null) { - async._lastCallback = entry; - } - } - }; - async.scheduleMicrotask = function scheduleMicrotask(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); - return; - } - let implementation = currentZone[_scheduleMicrotask]; - if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { - async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); - return; - } - async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); - }; - async._runGuarded = function _runGuarded(notificationHandler) { - if (notificationHandler == null) return; - try { - notificationHandler(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.Zone.current.handleUncaughtError(e, s); - } else - throw e$; - } - }; - async._nullDataHandler = function _nullDataHandler(value) { - }; - async._nullErrorHandler = function _nullErrorHandler(error, 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - let replacement = async.Zone.current.errorCallback(e, s); - if (replacement == null) { - onError(e, s); - } else { - let error = replacement.error; - let stackTrace = replacement.stackTrace; - onError(error, stackTrace); - } - } else - throw e$; - } - }; - async._cancelAndError = function _cancelAndError(subscription, future, error, 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())); - } else { - future[_completeError](error, stackTrace); - } - }; - async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, 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; - stackTrace = replacement.stackTrace; - } - async._cancelAndError(subscription, future, error, stackTrace); - }; - async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, 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[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[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())); - } else { - future[_complete](value); - } - }; - async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, 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; - stackTrace = replacement.stackTrace; - } - sink[_addError](error, stackTrace); - }; - async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, 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(() => { - core.Error.throwWithStackTrace(error, stackTrace); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - }, T$.VoidTovoid())); - }; - async._rootRun = function _rootRun(R, self, parent, zone, 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")); - } - let old = async.Zone._enter(zone); - try { - return f(); - } finally { - async.Zone._leave(old); - } - }; - async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg); - } finally { - async.Zone._leave(old); - } - }; - async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg1, arg2); - } finally { - async.Zone._leave(old); - } - }; - async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, 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[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[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[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[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) { - f = zone.bindCallbackGuarded(f); - } else { - f = zone.bindCallback(dart.void, f); - } - } - async._scheduleAsyncCallback(f); - }; - async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, 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[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[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[76], 1488, 26, "line"); - async.Zone.current.print(line); - }; - async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - 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[74] || CT.C74; - if (specification == null) { - specification = C[75] || CT.C75; - } else if (!async._ZoneSpecification.is(specification)) { - specification = async.ZoneSpecification.from(specification); - } - let valueMap = null; - if (zoneValues == null) { - valueMap = zone[_map$3]; - } else { - 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[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; - _internal.checkNotNullable(dart.fnType(R, []), body, "body"); - if (onError != null) { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) { - if (T$.ObjectTovoid().is(onError)) { - let originalOnError = onError; - onError = dart.fn((error, 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 { - dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); - } - } - return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); - } - return async._runZoned(R, body, zoneValues, zoneSpecification); - }; - async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - parent.handleUncaughtError(zone, error, stackTrace); - } else { - parent.handleUncaughtError(zone, e, s); - } - } else - throw e$; - } - }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); - if (zoneSpecification == null) { - zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); - } else { - zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); - } - try { - return async._runZoned(R, body, zoneValues, zoneSpecification); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - onError(error, stackTrace); - } else - throw e; - } - return null; - }; - async._runZoned = function _runZoned(R, body, zoneValues, specification) { - 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(value) {}, - /*async._lastCallback*/get _lastCallback() { - return null; - }, - set _lastCallback(value) {}, - /*async._lastPriorityCallback*/get _lastPriorityCallback() { - return null; - }, - set _lastPriorityCallback(value) {}, - /*async._isInCallbackLoop*/get _isInCallbackLoop() { - return false; - }, - set _isInCallbackLoop(value) { - if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); - }, - /*async._rootZone*/get _rootZone() { - return C[45] || CT.C45; - } - }, false); - var _map$4 = dart.privateName(collection, "_HashSet._map"); - var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); - var _keyMap$ = dart.privateName(collection, "_keyMap"); - var _map$5 = dart.privateName(collection, "_map"); - var _modifications$3 = dart.privateName(collection, "_modifications"); - 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 __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]); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - cast(R) { - return core.Set.castFrom(E, R, this); - } - followedBy(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); - } - clear() { - this.removeAll(this.toList()); - } - addAll(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[78], 60, 36, "elements"); - for (let element of elements) - this.remove(element); - } - retainAll(elements) { - if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); - let toRemove = this.toSet(); - for (let o of elements) { - toRemove.remove(o); - } - this.removeAll(toRemove); - } - removeWhere(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); - } - this.removeAll(toRemove); - } - retainWhere(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); - } - this.removeAll(toRemove); - } - containsAll(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 t136; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[78], 97, 23, "other"); - t136 = this.toSet(); - return (() => { - t136.addAll(other); - return t136; - })(); - } - intersection(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); - } - return result; - } - difference(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); - } - return result; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[78], 120, 24, "f"); - return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - let it = this.iterator; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - return result; - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - where(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[78], 138, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - forEach(f) { - if (f == null) dart.nullFailed(I[78], 141, 21, "f"); - for (let element of this) - f(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[78], 170, 23, "separator"); - let iterator = this.iterator; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(iterator.current); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(iterator.current); - } - } - return buffer.toString(); - } - any(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[78], 195, 24, "n"); - return __t$TakeIterableOfE().new(this, n); - } - takeWhile(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[78], 203, 24, "n"); - return __t$SkipIterableOfE().new(this, n); - } - skipWhile(test) { - if (test == null) dart.nullFailed(I[78], 207, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 231, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 239, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 253, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - } - (SetMixin.new = function() { - ; - }).prototype = SetMixin.prototype; - dart.addTypeTests(SetMixin); - SetMixin.prototype[_is_SetMixin_default] = true; - dart.addTypeCaches(SetMixin); - SetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(SetMixin, () => ({ - __proto__: dart.getMethods(SetMixin.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), - intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(SetMixin, () => ({ - __proto__: dart.getGetters(SetMixin.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - single: E, - [$single]: E, - first: E, - [$first]: E, - last: E, - [$last]: E - })); - dart.setLibraryUri(SetMixin, I[25]); - dart.defineExtensionMethods(SetMixin, [ - 'cast', - 'followedBy', - 'whereType', - 'toList', - 'map', - 'toString', - 'where', - 'expand', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' - ]); - dart.defineExtensionAccessors(SetMixin, [ - 'isEmpty', - 'isNotEmpty', - 'single', - 'first', - 'last' - ]); - return SetMixin; - }); - collection.SetMixin = collection.SetMixin$(); - dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); - const _is__SetBase_default = Symbol('_is__SetBase_default'); - collection._SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class _SetBase extends Object_SetMixin$36 { - cast(R) { - return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); - } - difference(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); - } - return result; - } - intersection(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); - } - return result; - } - toSet() { - let t136; - t136 = this[_newSet](); - return (() => { - t136.addAll(this); - return t136; - })(); - } - } - (_SetBase.new = function() { - ; - }).prototype = _SetBase.prototype; - dart.addTypeTests(_SetBase); - _SetBase.prototype[_is__SetBase_default] = true; - dart.addTypeCaches(_SetBase); - dart.setMethodSignature(_SetBase, () => ({ - __proto__: dart.getMethods(_SetBase.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setLibraryUri(_SetBase, I[25]); - dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); - return _SetBase; - }); - 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 __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); - class _InternalSet extends collection._SetBase$(E) { - get length() { - return this[_map$5].size; - } - get isEmpty() { - return this[_map$5].size == 0; - } - get isNotEmpty() { - return this[_map$5].size != 0; - } - get iterator() { - return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); - } - [Symbol.iterator]() { - let self = this; - let iterator = self[_map$5].values(); - let modifications = self[_modifications$3]; - return { - next() { - if (modifications != self[_modifications$3]) { - throw new core.ConcurrentModificationError.new(self); - } - return iterator.next(); - } - }; - } - } - (_InternalSet.new = function() { - _InternalSet.__proto__.new.call(this); - ; - }).prototype = _InternalSet.prototype; - dart.addTypeTests(_InternalSet); - _InternalSet.prototype[_is__InternalSet_default] = true; - dart.addTypeCaches(_InternalSet); - dart.setMethodSignature(_InternalSet, () => ({ - __proto__: dart.getMethods(_InternalSet.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_InternalSet, () => ({ - __proto__: dart.getGetters(_InternalSet.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_InternalSet, I[25]); - dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); - return _InternalSet; - }); - 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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$2]; - } - set [_modifications$3](value) { - this[_modifications$2] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._HashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$5].has(key); - } - lookup(key) { - if (key == null) return null; - if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return k; - } - } - return null; - } - return this[_map$5].has(key) ? key : null; - } - add(key) { - E.as(key); - let map = this[_map$5]; - if (key == null) { - if (dart.test(map.has(null))) return false; - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let keyMap = this[_keyMap$]; - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return false; - } - buckets.push(key); - } - } else if (dart.test(map.has(key))) { - return false; - } - map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - remove(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = this[_keyMap$].get(hash); - if (buckets == null) return false; - for (let i = 0, n = buckets.length;;) { - k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap$].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return false; - } - } - let map = this[_map$5]; - if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_HashSet.new = function() { - this[_map$4] = new Set(); - this[_keyMap$] = new Map(); - this[_modifications$2] = 0; - _HashSet.__proto__.new.call(this); - ; - }).prototype = _HashSet.prototype; - dart.addTypeTests(_HashSet); - _HashSet.prototype[_is__HashSet_default] = true; - dart.addTypeCaches(_HashSet); - _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_HashSet, () => ({ - __proto__: dart.getMethods(_HashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_HashSet, I[25]); - dart.setFieldSignature(_HashSet, () => ({ - __proto__: dart.getFields(_HashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_HashSet, ['contains']); - return _HashSet; - }); - 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 __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) { - __t$IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); - return dart.throw(collection._ImmutableSet._unsupported()); - } - clear() { - return dart.throw(collection._ImmutableSet._unsupported()); - } - remove(value) { - return dart.throw(collection._ImmutableSet._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable set"); - } - } - (_ImmutableSet.from = function(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - }).prototype = _ImmutableSet.prototype; - dart.addTypeTests(_ImmutableSet); - _ImmutableSet.prototype[_is__ImmutableSet_default] = true; - dart.addTypeCaches(_ImmutableSet); - dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); - dart.setLibraryUri(_ImmutableSet, I[25]); - return _ImmutableSet; - }); - collection._ImmutableSet = collection._ImmutableSet$(); - dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); - 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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$4]; - } - set [_modifications$3](value) { - this[_modifications$4] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._IdentityHashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_IdentityHashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._IdentityHashSet$(R)).new(); - } - contains(element) { - return this[_map$5].has(element); - } - lookup(element) { - return E.is(element) && this[_map$5].has(element) ? element : null; - } - add(element) { - E.as(element); - let map = this[_map$5]; - if (map.has(element)) return false; - map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 & 1073741823; - } - } - remove(element) { - if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_IdentityHashSet.new = function() { - this[_map$6] = new Set(); - this[_modifications$4] = 0; - _IdentityHashSet.__proto__.new.call(this); - ; - }).prototype = _IdentityHashSet.prototype; - dart.addTypeTests(_IdentityHashSet); - _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; - dart.addTypeCaches(_IdentityHashSet); - _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_IdentityHashSet, () => ({ - __proto__: dart.getMethods(_IdentityHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_IdentityHashSet, I[25]); - dart.setFieldSignature(_IdentityHashSet, () => ({ - __proto__: dart.getFields(_IdentityHashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_IdentityHashSet, ['contains']); - return _IdentityHashSet; - }); - collection._IdentityHashSet = collection._IdentityHashSet$(); - dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); - var _validKey$0 = dart.privateName(collection, "_validKey"); - var _equals$0 = dart.privateName(collection, "_equals"); - var _hashCode$0 = dart.privateName(collection, "_hashCode"); - var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); - var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); - const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); - collection._CustomHashSet$ = dart.generic(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]; - } - set [_modifications$3](value) { - this[_modifications$5] = value; - } - get [_map$5]() { - return this[_map$7]; - } - 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 (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - lookup(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return k; - } - } - } - return null; - } - add(key) { - let t144; - E.as(key); - let keyMap = this[_keyMap$]; - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return false; - } - buckets.push(key); - } - this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 t144; - if (E.is(key)) { - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let keyMap = this[_keyMap$]; - let buckets = keyMap.get(hash); - if (buckets == null) return false; - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - } - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_CustomHashSet.new = function(_equals, _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(); - this[_equals$0] = _equals; - this[_hashCode$0] = _hashCode; - _CustomHashSet.__proto__.new.call(this); - ; - }).prototype = _CustomHashSet.prototype; - dart.addTypeTests(_CustomHashSet); - _CustomHashSet.prototype[_is__CustomHashSet_default] = true; - dart.addTypeCaches(_CustomHashSet); - _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_CustomHashSet, () => ({ - __proto__: dart.getMethods(_CustomHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomHashSet, I[25]); - dart.setFieldSignature(_CustomHashSet, () => ({ - __proto__: dart.getFields(_CustomHashSet.__proto__), - [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), - [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), - [_modifications$3]: dart.fieldType(core.int), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) - })); - dart.defineExtensionMethods(_CustomHashSet, ['contains']); - return _CustomHashSet; - }); - 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 __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 (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; - return super.contains(element); - } - lookup(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; - return super.lookup(element); - } - remove(element) { - 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[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); - ; - }).prototype = _CustomKeyHashSet.prototype; - dart.addTypeTests(_CustomKeyHashSet); - _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; - dart.addTypeCaches(_CustomKeyHashSet); - dart.setMethodSignature(_CustomKeyHashSet, () => ({ - __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) - })); - 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)])) - })); - dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); - return _CustomKeyHashSet; - }); - collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); - dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); - 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)); - } - get length() { - return this[_source][$length]; - } - set length(value) { - super.length = value; - } - _get(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[79], 29, 36, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableListView.prototype; - dart.addTypeTests(UnmodifiableListView); - UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; - dart.addTypeCaches(UnmodifiableListView); - dart.setMethodSignature(UnmodifiableListView, () => ({ - __proto__: dart.getMethods(UnmodifiableListView.__proto__), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(UnmodifiableListView, () => ({ - __proto__: dart.getGetters(UnmodifiableListView.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListView, I[25]); - dart.setFieldSignature(UnmodifiableListView, () => ({ - __proto__: dart.getFields(UnmodifiableListView.__proto__), - [_source]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); - dart.defineExtensionAccessors(UnmodifiableListView, ['length']); - return UnmodifiableListView; - }); - collection.UnmodifiableListView = collection.UnmodifiableListView$(); - dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); - const _is_HashMap_default = Symbol('_is_HashMap_default'); - collection.HashMap$ = dart.generic((K, V) => { - class HashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); - } - 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[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 t144; - if (other == null) dart.nullFailed(I[80], 210, 32, "other"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t144; - if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - HashMap.prototype[dart.isMap] = true; - dart.addTypeTests(HashMap); - HashMap.prototype[_is_HashMap_default] = true; - dart.addTypeCaches(HashMap); - HashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); - dart.addTypeTests(collection.HashMap, _is_HashMap_default); - const _is_HashSet_default = Symbol('_is_HashSet_default'); - collection.HashSet$ = dart.generic(E => { - class HashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { - return new (collection._IdentityHashSet$(E)).new(); - } - 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((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[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 t144; - if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); - t144 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (HashSet[dart.mixinNew] = function() { - }).prototype = HashSet.prototype; - dart.addTypeTests(HashSet); - HashSet.prototype[_is_HashSet_default] = true; - dart.addTypeCaches(HashSet); - HashSet[dart.implements] = () => [core.Set$(E)]; - 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 __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, toElement) { - if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); - return _internal.MappedIterable$(E, T).new(this, toElement); - } - 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, toElements) { - if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); - return new (_internal.ExpandIterable$(E, T)).new(this, toElements); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[41], 27, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - contains(element) { - for (let e of this) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[41], 44, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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(test) { - if (test == null) dart.nullFailed(I[41], 66, 19, "test"); - for (let element of this) { - if (!dart.test(test(element))) return false; - } - return true; - } - join(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(); - if (separator == null || separator === "") { - do { - buffer.write(dart.str(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.str(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.str(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[41], 91, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); - return __t$ListOfE().from(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().from(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - take(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[41], 121, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[41], 129, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 161, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 169, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (IterableMixin.new = function() { - ; - }).prototype = IterableMixin.prototype; - IterableMixin.prototype[dart.isIterable] = true; - dart.addTypeTests(IterableMixin); - IterableMixin.prototype[_is_IterableMixin_default] = true; - dart.addTypeCaches(IterableMixin); - IterableMixin[dart.implements] = () => [core.Iterable$(E)]; - dart.setMethodSignature(IterableMixin, () => ({ - __proto__: dart.getMethods(IterableMixin.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(IterableMixin, () => ({ - __proto__: dart.getGetters(IterableMixin.__proto__), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(IterableMixin, I[25]); - dart.defineExtensionMethods(IterableMixin, [ - 'cast', - 'map', - 'where', - 'whereType', - 'expand', - 'followedBy', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(IterableMixin, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return IterableMixin; - }); - collection.IterableMixin = collection.IterableMixin$(); - dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); - var _state$ = dart.privateName(collection, "_state"); - var _iterator$0 = dart.privateName(collection, "_iterator"); - 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[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); - let result = this[_iterator$0].current; - this[_move](); - return result; - } - [_move]() { - if (dart.test(this[_iterator$0].moveNext())) { - this[_state$] = 0; - } else { - this[_state$] = 1; - } - } - } - (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); - this[_state$] = 2; - this[_iterator$0] = _iterator; - ; - }).prototype = HasNextIterator.prototype; - dart.addTypeTests(HasNextIterator); - HasNextIterator.prototype[_is_HasNextIterator_default] = true; - dart.addTypeCaches(HasNextIterator); - dart.setMethodSignature(HasNextIterator, () => ({ - __proto__: dart.getMethods(HasNextIterator.__proto__), - next: dart.fnType(E, []), - [_move]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(HasNextIterator, () => ({ - __proto__: dart.getGetters(HasNextIterator.__proto__), - hasNext: core.bool - })); - 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$(); - dart.defineLazy(collection.HasNextIterator, { - /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { - return 0; - }, - /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { - return 1; - }, - /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { - return 2; - } - }, false); - dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); - const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); - collection.LinkedHashMap$ = dart.generic((K, V) => { - class LinkedHashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (other == null) dart.nullFailed(I[83], 199, 38, "other"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t152; - if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - LinkedHashMap.prototype[dart.isMap] = true; - dart.addTypeTests(LinkedHashMap); - LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; - dart.addTypeCaches(LinkedHashMap); - LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); - dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); - const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); - collection.LinkedHashSet$ = dart.generic(E => { - class LinkedHashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); - t152 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (LinkedHashSet[dart.mixinNew] = function() { - }).prototype = LinkedHashSet.prototype; - dart.addTypeTests(LinkedHashSet); - LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; - dart.addTypeCaches(LinkedHashSet); - LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); - dart.setLibraryUri(LinkedHashSet, I[25]); - dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); - return LinkedHashSet; - }); - collection.LinkedHashSet = collection.LinkedHashSet$(); - dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); - var _modificationCount = dart.privateName(collection, "_modificationCount"); - var _length$0 = dart.privateName(collection, "_length"); - var _first = dart.privateName(collection, "_first"); - var _insertBefore = dart.privateName(collection, "_insertBefore"); - var _list$0 = dart.privateName(collection, "_list"); - var _unlink = dart.privateName(collection, "_unlink"); - 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 __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[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[85], 96, 14, "entry"); - this[_insertBefore](this[_first], entry, {updateFirst: false}); - } - addAll(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[85], 111, 17, "entry"); - if (!dart.equals(entry[_list$0], this)) return false; - this[_unlink](entry); - return true; - } - contains(entry) { - return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; - } - get iterator() { - return new (__t$_LinkedListIteratorOfE()).new(this); - } - get length() { - return this[_length$0]; - } - clear() { - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - if (dart.test(this.isEmpty)) return; - let next = dart.nullCheck(this[_first]); - do { - let entry = next; - next = dart.nullCheck(entry[_next$2]); - entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; - } while (next !== this[_first]); - this[_first] = null; - this[_length$0] = 0; - } - get first() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(this[_first]); - } - get last() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); - } - get single() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - if (dart.notNull(this[_length$0]) > 1) { - dart.throw(new core.StateError.new("Too many elements")); - } - return dart.nullCheck(this[_first]); - } - forEach(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]); - do { - action(current); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - current = dart.nullCheck(current[_next$2]); - } while (current !== this[_first]); - } - get isEmpty() { - return this[_length$0] === 0; - } - [_insertBefore](entry, newEntry, opts) { - __t$EN().as(entry); - E.as(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[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[85], 199, 14, "entry == null"); - newEntry[_previous$2] = newEntry[_next$2] = newEntry; - this[_first] = newEntry; - this[_length$0] = dart.notNull(this[_length$0]) + 1; - return; - } - let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); - let successor = entry; - newEntry[_previous$2] = predecessor; - newEntry[_next$2] = successor; - predecessor[_next$2] = newEntry; - successor[_previous$2] = newEntry; - if (dart.test(updateFirst) && entry == this[_first]) { - this[_first] = newEntry; - } - this[_length$0] = dart.notNull(this[_length$0]) + 1; - } - [_unlink](entry) { - E.as(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]; - this[_length$0] = dart.notNull(this[_length$0]) - 1; - entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; - if (dart.test(this.isEmpty)) { - this[_first] = null; - } else if (entry == this[_first]) { - this[_first] = next; - } - } - } - (LinkedList.new = function() { - this[_modificationCount] = 0; - this[_length$0] = 0; - this[_first] = null; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default$] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), - [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(LinkedList, I[25]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_modificationCount]: dart.fieldType(core.int), - [_length$0]: dart.fieldType(core.int), - [_first]: dart.fieldType(dart.nullable(E)) - })); - dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); - dart.defineExtensionAccessors(LinkedList, [ - 'iterator', - 'length', - 'first', - 'last', - 'single', - 'isEmpty' - ]); - return LinkedList; - }); - collection.LinkedList = collection.LinkedList$(); - dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); - var _current$1 = dart.privateName(collection, "_current"); - 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); - } - moveNext() { - if (this[_modificationCount] != this[_list$0][_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { - this[_current$1] = null; - return false; - } - this[_visitedFirst] = true; - this[_current$1] = this[_next$2]; - this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; - return true; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[85], 238, 37, "list"); - this[_current$1] = null; - this[_list$0] = list; - this[_modificationCount] = list[_modificationCount]; - this[_next$2] = list[_first]; - this[_visitedFirst] = false; - ; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: E - })); - dart.setLibraryUri(_LinkedListIterator, I[25]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), - [_modificationCount]: dart.finalFieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_visitedFirst]: dart.fieldType(core.bool) - })); - return _LinkedListIterator; - }); - collection._LinkedListIterator = collection._LinkedListIterator$(); - dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); - var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); - 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 __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] = __t$LinkedListNOfE().as(value); - } - get [_next$2]() { - return this[_next$3]; - } - set [_next$2](value) { - this[_next$3] = __t$EN().as(value); - } - get [_previous$2]() { - return this[_previous$3]; - } - set [_previous$2](value) { - this[_previous$3] = __t$EN().as(value); - } - get list() { - return this[_list$0]; - } - unlink() { - dart.nullCheck(this[_list$0])[_unlink](E.as(this)); - } - get next() { - if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; - return this[_next$2]; - } - get previous() { - if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; - return this[_previous$2]; - } - insertAfter(entry) { - E.as(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[85], 320, 23, "entry"); - dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); - } - } - (LinkedListEntry.new = function() { - this[_list$1] = null; - this[_next$3] = null; - this[_previous$3] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []), - insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedListEntry, () => ({ - __proto__: dart.getGetters(LinkedListEntry.__proto__), - list: dart.nullable(collection.LinkedList$(E)), - next: dart.nullable(E), - previous: dart.nullable(E) - })); - dart.setLibraryUri(LinkedListEntry, I[25]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_previous$2]: dart.fieldType(dart.nullable(E)) - })); - return LinkedListEntry; - }); - 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 __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]; - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get first() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); - } - get single() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); - } - get last() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); - } - get iterator() { - return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); - this[_map$5] = _map; - _MapBaseValueIterable.__proto__.new.call(this); - ; - }).prototype = _MapBaseValueIterable.prototype; - dart.addTypeTests(_MapBaseValueIterable); - _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; - dart.addTypeCaches(_MapBaseValueIterable); - dart.setGetterSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_MapBaseValueIterable, I[25]); - dart.setFieldSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getFields(_MapBaseValueIterable.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionAccessors(_MapBaseValueIterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'single', - 'last', - 'iterator' - ]); - return _MapBaseValueIterable; - }); - collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); - dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); - 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); - return true; - } - this[_current$1] = null; - return false; - } - get current() { - return V.as(this[_current$1]); - } - } - (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[37], 248, 35, "map"); - this[_current$1] = null; - this[_map$5] = map; - this[_keys] = map[$keys][$iterator]; - ; - }).prototype = _MapBaseValueIterator.prototype; - dart.addTypeTests(_MapBaseValueIterator); - _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; - dart.addTypeCaches(_MapBaseValueIterator); - _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; - dart.setMethodSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), - current: V - })); - dart.setLibraryUri(_MapBaseValueIterator, I[25]); - dart.setFieldSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getFields(_MapBaseValueIterator.__proto__), - [_keys]: dart.finalFieldType(core.Iterator$(K)), - [_map$5]: dart.finalFieldType(core.Map$(K, V)), - [_current$1]: dart.fieldType(dart.nullable(V)) - })); - return _MapBaseValueIterator; - }); - collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); - dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); - var _map$8 = dart.privateName(collection, "MapView._map"); - const _is_MapView_default = Symbol('_is_MapView_default'); - collection.MapView$ = dart.generic((K, V) => { - 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]; - } - 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); - } - _get(key) { - return this[_map$5][$_get](key); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_map$5][$_set](key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 330, 25, "other"); - this[_map$5][$addAll](other); - } - clear() { - this[_map$5][$clear](); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); - return this[_map$5][$putIfAbsent](key, ifAbsent); - } - containsKey(key) { - return this[_map$5][$containsKey](key); - } - containsValue(value) { - return this[_map$5][$containsValue](value); - } - forEach(action) { - if (action == null) dart.nullFailed(I[37], 341, 21, "action"); - this[_map$5][$forEach](action); - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get length() { - return this[_map$5][$length]; - } - get keys() { - return this[_map$5][$keys]; - } - remove(key) { - return this[_map$5][$remove](key); - } - toString() { - return dart.toString(this[_map$5]); - } - get values() { - return this[_map$5][$values]; - } - get entries() { - return this[_map$5][$entries]; - } - addEntries(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[37], 359, 44, "transform"); - return this[_map$5][$map](K2, V2, transform); - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 362, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(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[37], 369, 25, "test"); - this[_map$5][$removeWhere](test); - } - } - (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[37], 322, 27, "map"); - this[_map$8] = map; - ; - }).prototype = MapView.prototype; - MapView.prototype[dart.isMap] = true; - dart.addTypeTests(MapView); - MapView.prototype[_is_MapView_default] = true; - dart.addTypeCaches(MapView); - MapView[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapView, () => ({ - __proto__: dart.getMethods(MapView.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) - })); - dart.setGetterSignature(MapView, () => ({ - __proto__: dart.getGetters(MapView.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - length: core.int, - [$length]: core.int, - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K), - values: core.Iterable$(V), - [$values]: core.Iterable$(V), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(MapView, I[25]); - dart.setFieldSignature(MapView, () => ({ - __proto__: dart.getFields(MapView.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionMethods(MapView, [ - 'cast', - '_get', - '_set', - 'addAll', - 'clear', - 'putIfAbsent', - 'containsKey', - 'containsValue', - 'forEach', - 'remove', - 'toString', - 'addEntries', - 'map', - 'update', - 'updateAll', - 'removeWhere' - ]); - dart.defineExtensionAccessors(MapView, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return MapView; - }); - collection.MapView = collection.MapView$(); - dart.addTypeTests(collection.MapView, _is_MapView_default); - const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); - collection.UnmodifiableMapView$ = dart.generic((K, V) => { - const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; - (MapView__UnmodifiableMapMixin$36.new = function(map) { - MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); - }).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[37], 392, 33, "map"); - UnmodifiableMapView.__proto__.new.call(this, map); - ; - }).prototype = UnmodifiableMapView.prototype; - dart.addTypeTests(UnmodifiableMapView); - UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; - dart.addTypeCaches(UnmodifiableMapView); - dart.setMethodSignature(UnmodifiableMapView, () => ({ - __proto__: dart.getMethods(UnmodifiableMapView.__proto__), - 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[25]); - dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); - return UnmodifiableMapView; - }); - collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); - dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); - 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[86], 76, 43, "source"); - return new (_internal.CastQueue$(S, T)).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (Queue[dart.mixinNew] = function() { - }).prototype = Queue.prototype; - dart.addTypeTests(Queue); - Queue.prototype[_is_Queue_default] = true; - dart.addTypeCaches(Queue); - Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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$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"); - const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); - collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - 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; - } - [_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]); - } - [_prepend](element, queue) { - E.as(element); - __t$DoubleLinkedQueueNOfE().as(queue); - new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); - } - } - (_DoubleLinkedQueueEntry.new = function() { - this[_previousLink$0] = null; - this[_nextLink$0] = null; - ; - }).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(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.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_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 t152; - E.as(e); - this[_append](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - prepend(e) { - let t152; - E.as(e); - this[_prepend](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - [_remove]() { - this[_queue$0] = null; - this[_unlink](); - return this.element; - } - remove() { - 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) { - 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, []), - 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) - })); - return _DoubleLinkedQueueElement; - }); - collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); - dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); - 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() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (_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(core.Null, []), - [_remove]: dart.fnType(E, []) - })); - 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 _sentinel = dart.privateName(collection, "_sentinel"); - const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); - collection.DoubleLinkedQueue$ = dart.generic(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) { - static ['_#new#tearOff'](E) { - return new (collection.DoubleLinkedQueue$(E)).new(); - } - static from(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 t152; - if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); - t152 = new (collection.DoubleLinkedQueue$(E)).new(); - return (() => { - 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); - } - get length() { - return this[_elementCount]; - } - addLast(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addFirst(value) { - E.as(value); - this[_sentinel][_append](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - add(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addAll(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); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - } - removeLast() { - let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - removeFirst() { - let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - remove(o) { - 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) { - entry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return true; - } - entry = dart.nullCheck(entry[_nextLink$1]); - } - } - [_filter](test, removeMatching) { - 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$1]); - if (removeMatching == matches) { - elementEntry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - } - entry = next; - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 379, 25, "test"); - this[_filter](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 383, 25, "test"); - this[_filter](test, false); - } - get first() { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - get last() { - return dart.nullCheck(this[_sentinel][_previousLink$1]).element; - } - get single() { - if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - dart.throw(_internal.IterableElementError.tooMany()); - } - firstEntry() { - return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); - } - lastEntry() { - return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); - } - get isEmpty() { - return this[_sentinel][_nextLink$1] == this[_sentinel]; - } - clear() { - 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[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)); - } - cursor = dart.nullCheck(cursor[_nextLink$1]); - action(element); - if (this === element[_queue$0]) { - cursor = dart.nullCheck(element[_nextLink$1]); - } - } - } - get iterator() { - return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (DoubleLinkedQueue.new = function() { - this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); - this[_elementCount] = 0; - DoubleLinkedQueue.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueue.prototype; - dart.addTypeTests(DoubleLinkedQueue); - DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; - dart.addTypeCaches(DoubleLinkedQueue); - DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - removeFirst: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_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(_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, [_internal.DoubleLinkedQueueEntry$(E)])]) - })); - dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); - dart.setGetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - iterator: collection._DoubleLinkedQueueIterator$(E), - [$iterator]: collection._DoubleLinkedQueueIterator$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[25]); - dart.setFieldSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), - [_elementCount]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); - dart.defineExtensionAccessors(DoubleLinkedQueue, [ - 'length', - 'first', - 'last', - 'single', - 'isEmpty', - 'iterator' - ]); - return DoubleLinkedQueue; - }); - collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); - 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 => { - 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() { - let t152; - let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); - if (nextElement == null) { - this[_current$1] = null; - this[_nextEntry] = null; - this[_queue$0] = null; - return false; - } - if (this[_queue$0] != nextElement[_queue$0]) { - dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); - } - this[_current$1] = nextElement.element; - this[_nextEntry] = nextElement[_nextLink$1]; - return true; - } - get current() { - return E.as(this[_current$1]); - } - } - (_DoubleLinkedQueueIterator.new = function(_queue) { - if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); - this[_current$1] = null; - this[_queue$0] = _queue; - this[_nextEntry] = _queue[_sentinel][_nextLink$1]; - ; - }).prototype = _DoubleLinkedQueueIterator.prototype; - dart.addTypeTests(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; - dart.addTypeCaches(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_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; - }); - collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); - dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); - var _head = dart.privateName(collection, "_head"); - var _tail = dart.privateName(collection, "_tail"); - var _table = dart.privateName(collection, "_table"); - var _checkModification = dart.privateName(collection, "_checkModification"); - var _add$ = dart.privateName(collection, "_add"); - var _preGrow = dart.privateName(collection, "_preGrow"); - var _filterWhere = dart.privateName(collection, "_filterWhere"); - 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 __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[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[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[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))); - } - queue[_tail] = length; - return queue; - } else { - let capacity = 8; - if (_internal.EfficientLengthIterable.is(elements)) { - capacity = elements[$length]; - } - let result = new (collection.ListQueue$(E)).new(capacity); - for (let element of elements) { - result.addLast(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); - t152 = new (collection.ListQueue$(E)).new(); - return (() => { - t152.addAll(elements); - return t152; - })(); - } - cast(R) { - return collection.Queue.castFrom(E, R, this); - } - get iterator() { - return new (__t$_ListQueueIteratorOfE()).new(this); - } - forEach(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))); - this[_checkModification](modificationCount); - } - } - get isEmpty() { - return this[_head] == this[_tail]; - } - get length() { - return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - get first() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get](this[_head])); - } - get last() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); - } - get single() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return E.as(this[_table][$_get](this[_head])); - } - elementAt(index) { - 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[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 __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))); - } - return list; - } - add(value) { - E.as(value); - this[_add$](value); - } - addAll(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; - if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { - this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); - this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); - if (dart.notNull(addCount) < endSpace) { - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let preSpace = dart.notNull(addCount) - endSpace; - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); - this[_table][$setRange](0, preSpace, list, endSpace); - this[_tail] = preSpace; - } - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - for (let element of elements) - this[_add$](element); - } - } - remove(value) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - let element = this[_table][$_get](i); - if (dart.equals(element, value)) { - this[_remove](i); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return true; - } - } - return false; - } - [_filterWhere](test, 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]) { - let element = E.as(this[_table][$_get](i)); - let remove = removeMatching == test(element); - this[_checkModification](modificationCount); - if (remove) { - i = this[_remove](i); - modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 784, 25, "test"); - this[_filterWhere](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 792, 25, "test"); - this[_filterWhere](test, false); - } - clear() { - if (this[_head] != this[_tail]) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - this[_table][$_set](i, null); - } - this[_head] = this[_tail] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - addLast(value) { - E.as(value); - this[_add$](value); - } - addFirst(value) { - E.as(value); - this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - this[_table][$_set](this[_head], value); - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - removeFirst() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - let result = E.as(this[_table][$_get](this[_head])); - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - return result; - } - removeLast() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - let result = E.as(this[_table][$_get](this[_tail])); - this[_table][$_set](this[_tail], null); - return result; - } - static _isPowerOf2(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[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; - if (nextNumber === 0) return number; - number = nextNumber; - } - } - [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); - if (expectedModificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [_add$](element) { - this[_table][$_set](this[_tail], element); - this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_remove](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; - if (startDistance < endDistance) { - let i = offset; - while (i != this[_head]) { - let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](prevOffset)); - i = prevOffset; - } - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; - return (dart.notNull(offset) + 1 & mask) >>> 0; - } else { - this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; - let i = offset; - while (i != this[_tail]) { - let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](nextOffset)); - i = nextOffset; - } - this[_table][$_set](this[_tail], null); - return offset; - } - } - [_grow$]() { - 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); - this[_head] = 0; - this[_tail] = this[_table][$length]; - this[_table] = newTable; - } - [_writeToList](target) { - 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]); - return length; - } else { - let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); - target[$setRange](0, firstPartSize, this[_table], this[_head]); - target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); - return dart.notNull(this[_tail]) + firstPartSize; - } - } - [_preGrow](newElementCount) { - 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 = __t$ListOfEN().filled(newCapacity, null); - this[_tail] = this[_writeToList](newTable); - this[_table] = newTable; - this[_head] = 0; - } - } - (ListQueue.new = function(initialCapacity = null) { - this[_modificationCount] = 0; - this[_head] = 0; - this[_tail] = 0; - this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); - ListQueue.__proto__.new.call(this); - ; - }).prototype = ListQueue.prototype; - dart.addTypeTests(ListQueue); - ListQueue.prototype[_is_ListQueue_default] = true; - dart.addTypeCaches(ListQueue); - ListQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(ListQueue, () => ({ - __proto__: dart.getMethods(ListQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_filterWhere]: 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])]), - clear: dart.fnType(dart.void, []), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeFirst: dart.fnType(E, []), - removeLast: dart.fnType(E, []), - [_checkModification]: dart.fnType(dart.void, [core.int]), - [_add$]: dart.fnType(dart.void, [E]), - [_remove]: dart.fnType(core.int, [core.int]), - [_grow$]: dart.fnType(dart.void, []), - [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), - [_preGrow]: dart.fnType(dart.void, [core.int]) - })); - 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))), - [_head]: dart.fieldType(core.int), - [_tail]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int) - })); - dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); - dart.defineExtensionMethods(ListQueue, [ - 'cast', - 'forEach', - 'elementAt', - 'toList', - 'toString' - ]); - dart.defineExtensionAccessors(ListQueue, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return ListQueue; - }); - collection.ListQueue = collection.ListQueue$(); - dart.defineLazy(collection.ListQueue, { - /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { - return 8; - } - }, false); - dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); - var _end = dart.privateName(collection, "_end"); - 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$0][_checkModification](this[_modificationCount]); - if (this[_position] == this[_end]) { - this[_current$1] = null; - return false; - } - 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[86], 962, 35, "queue"); - this[_current$1] = null; - this[_queue$0] = queue; - this[_end] = queue[_tail]; - this[_modificationCount] = queue[_modificationCount]; - this[_position] = queue[_head]; - ; - }).prototype = _ListQueueIterator.prototype; - dart.addTypeTests(_ListQueueIterator); - _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; - dart.addTypeCaches(_ListQueueIterator); - _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_ListQueueIterator, () => ({ - __proto__: dart.getMethods(_ListQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_ListQueueIterator, () => ({ - __proto__: dart.getGetters(_ListQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_ListQueueIterator, I[25]); - dart.setFieldSignature(_ListQueueIterator, () => ({ - __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), - [_end]: dart.finalFieldType(core.int), - [_modificationCount]: dart.finalFieldType(core.int), - [_position]: dart.fieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)) - })); - return _ListQueueIterator; - }); - collection._ListQueueIterator = collection._ListQueueIterator$(); - dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); - const _is_SetBase_default = Symbol('_is_SetBase_default'); - collection.SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class SetBase extends Object_SetMixin$36 { - static setToString(set) { - if (set == null) dart.nullFailed(I[78], 307, 33, "set"); - return collection.IterableBase.iterableToFullString(set, "{", "}"); - } - } - (SetBase.new = function() { - ; - }).prototype = SetBase.prototype; - dart.addTypeTests(SetBase); - SetBase.prototype[_is_SetBase_default] = true; - dart.addTypeCaches(SetBase); - 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 __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")); - } - add(value) { - E.as(value); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - clear() { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - addAll(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[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[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[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[78], 368, 25, "test"); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - remove(value) { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (_UnmodifiableSetMixin.new = function() { - ; - }).prototype = _UnmodifiableSetMixin.prototype; - dart.addTypeTests(_UnmodifiableSetMixin); - _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; - dart.addTypeCaches(_UnmodifiableSetMixin); - _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); - dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); - return _UnmodifiableSetMixin; - }); - collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); - dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); - var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); - const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); - collection._UnmodifiableSet$ = dart.generic(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); - }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; - dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); - class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { - get [_map$5]() { - return this[_map$9]; - } - 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 (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - return this[_map$5][$containsKey](element); - } - get iterator() { - return this[_map$5][$keys][$iterator]; - } - get length() { - return this[_map$5][$length]; - } - lookup(element) { - for (let key of this[_map$5][$keys]) { - if (dart.equals(key, element)) return key; - } - return null; - } - } - (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); - this[_map$9] = _map; - _UnmodifiableSet.__proto__.new.call(this); - ; - }).prototype = _UnmodifiableSet.prototype; - dart.addTypeTests(_UnmodifiableSet); - _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; - dart.addTypeCaches(_UnmodifiableSet); - dart.setMethodSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getMethods(_UnmodifiableSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getGetters(_UnmodifiableSet.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_UnmodifiableSet, I[25]); - dart.setFieldSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getFields(_UnmodifiableSet.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) - })); - dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); - dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); - return _UnmodifiableSet; - }); - collection._UnmodifiableSet = collection._UnmodifiableSet$(); - dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); - const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); - collection.UnmodifiableSetView$ = dart.generic(E => { - const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; - (SetBase__UnmodifiableSetMixin$36.new = function() { - }).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); - } - lookup(element) { - return this[_source].lookup(element); - } - get length() { - return this[_source][$length]; - } - get iterator() { - return this[_source].iterator; - } - toSet() { - return this[_source].toSet(); - } - } - (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[78], 420, 30, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableSetView.prototype; - dart.addTypeTests(UnmodifiableSetView); - UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; - dart.addTypeCaches(UnmodifiableSetView); - dart.setMethodSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getMethods(UnmodifiableSetView.__proto__), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setGetterSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getGetters(UnmodifiableSetView.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(UnmodifiableSetView, I[25]); - dart.setFieldSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getFields(UnmodifiableSetView.__proto__), - [_source]: dart.finalFieldType(core.Set$(E)) - })); - dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); - dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); - return UnmodifiableSetView; - }); - collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); - dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); - var _left = dart.privateName(collection, "_SplayTreeNode._left"); - var _right = dart.privateName(collection, "_SplayTreeNode._right"); - 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 __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); - class _SplayTreeNode extends core.Object { - get [_left$]() { - return this[_left]; - } - set [_left$](value) { - this[_left] = __t$NodeN().as(value); - } - get [_right$]() { - return this[_right]; - } - set [_right$](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) { - this[_left] = null; - this[_right] = null; - this.key = key; - ; - }).prototype = _SplayTreeNode.prototype; - dart.addTypeTests(_SplayTreeNode); - _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; - dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[25]); - dart.setFieldSignature(_SplayTreeNode, () => ({ - __proto__: dart.getFields(_SplayTreeNode.__proto__), - key: dart.finalFieldType(K), - [_left$]: dart.fieldType(dart.nullable(Node)), - [_right$]: dart.fieldType(dart.nullable(Node)) - })); - return _SplayTreeNode; - }); - 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 { - static ['_#new#tearOff'](K, key) { - return new (collection._SplayTreeSetNode$(K)).new(key); - } - } - (_SplayTreeSetNode.new = function(key) { - _SplayTreeSetNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeSetNode.prototype; - dart.addTypeTests(_SplayTreeSetNode); - _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; - dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[25]); - return _SplayTreeSetNode; - }, K => { - dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); - }); - collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); - 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 __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 t152; - V.as(value); - t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); - return (() => { - t152[_left$] = this[_left$]; - t152[_right$] = this[_right$]; - return t152; - })(); - } - toString() { - return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; - } - } - (_SplayTreeMapNode.new = function(key, value) { - this.value = value; - _SplayTreeMapNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeMapNode.prototype; - dart.addTypeTests(_SplayTreeMapNode); - _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; - dart.addTypeCaches(_SplayTreeMapNode); - _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; - dart.setMethodSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), - [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapNode, I[25]); - dart.setFieldSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getFields(_SplayTreeMapNode.__proto__), - value: dart.finalFieldType(V) - })); - dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); - return _SplayTreeMapNode; - }, (K, V) => { - dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); - }); - collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); - dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); - var _count$ = dart.privateName(collection, "_count"); - var _splayCount = dart.privateName(collection, "_splayCount"); - var _root = dart.privateName(collection, "_root"); - var _compare = dart.privateName(collection, "_compare"); - var _splay = dart.privateName(collection, "_splay"); - var _splayMin = dart.privateName(collection, "_splayMin"); - var _splayMax = dart.privateName(collection, "_splayMax"); - var _addNewRoot = dart.privateName(collection, "_addNewRoot"); - var _last$ = dart.privateName(collection, "_last"); - var _clear$ = dart.privateName(collection, "_clear"); - var _containsKey = dart.privateName(collection, "_containsKey"); - const _is__SplayTree_default = Symbol('_is__SplayTree_default'); - collection._SplayTree$ = dart.generic((K, Node) => { - class _SplayTree extends core.Object { - [_splay](key) { - let t153, t152; - K.as(key); - let root = this[_root]; - if (root == null) { - t152 = key; - t153 = key; - this[_compare](t152, t153); - return -1; - } - let right = null; - let newTreeRight = null; - let left = null; - let newTreeLeft = null; - let current = root; - let compare = this[_compare]; - let comp = null; - while (true) { - comp = compare(current.key, key); - if (dart.notNull(comp) > 0) { - let currentLeft = current[_left$]; - if (currentLeft == null) break; - comp = compare(currentLeft.key, key); - if (dart.notNull(comp) > 0) { - current[_left$] = currentLeft[_right$]; - currentLeft[_right$] = current; - current = currentLeft; - currentLeft = current[_left$]; - if (currentLeft == null) break; - } - if (right == null) { - newTreeRight = current; - } else { - right[_left$] = current; - } - right = current; - current = currentLeft; - } else if (dart.notNull(comp) < 0) { - let currentRight = current[_right$]; - if (currentRight == null) break; - comp = compare(currentRight.key, key); - if (dart.notNull(comp) < 0) { - current[_right$] = currentRight[_left$]; - currentRight[_left$] = current; - current = currentRight; - currentRight = current[_right$]; - if (currentRight == null) break; - } - if (left == null) { - newTreeLeft = current; - } else { - left[_right$] = current; - } - left = current; - current = currentRight; - } else { - break; - } - } - if (left != null) { - left[_right$] = current[_left$]; - current[_left$] = newTreeLeft; - } - if (right != null) { - right[_left$] = current[_right$]; - current[_right$] = newTreeRight; - } - if (this[_root] != current) { - this[_root] = current; - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - } - return comp; - } - [_splayMin](node) { - if (node == null) dart.nullFailed(I[87], 173, 23, "node"); - let current = node; - let nextLeft = current[_left$]; - while (nextLeft != null) { - let left = nextLeft; - current[_left$] = left[_right$]; - left[_right$] = current; - current = left; - nextLeft = current[_left$]; - } - return current; - } - [_splayMax](node) { - if (node == null) dart.nullFailed(I[87], 191, 23, "node"); - let current = node; - let nextRight = current[_right$]; - while (nextRight != null) { - let right = nextRight; - current[_right$] = right[_left$]; - right[_left$] = current; - current = right; - nextRight = current[_right$]; - } - return current; - } - [_remove](key) { - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (comp !== 0) return null; - let root = dart.nullCheck(this[_root]); - let result = root; - let left = root[_left$]; - this[_count$] = dart.notNull(this[_count$]) - 1; - if (left == null) { - this[_root] = root[_right$]; - } else { - let right = root[_right$]; - root = this[_splayMax](left); - root[_right$] = right; - this[_root] = root; - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return result; - } - [_addNewRoot](node, 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]; - if (root == null) { - this[_root] = node; - return; - } - if (dart.notNull(comp) < 0) { - node[_left$] = root; - node[_right$] = root[_right$]; - root[_right$] = null; - } else { - node[_right$] = root; - node[_left$] = root[_left$]; - root[_left$] = null; - } - this[_root] = node; - } - get [_first]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMin](root); - return this[_root]; - } - get [_last$]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMax](root); - return this[_root]; - } - [_clear$]() { - this[_root] = null; - this[_count$] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_containsKey](key) { - let t152; - return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; - } - } - (_SplayTree.new = function() { - this[_count$] = 0; - this[_modificationCount] = 0; - this[_splayCount] = 0; - ; - }).prototype = _SplayTree.prototype; - dart.addTypeTests(_SplayTree); - _SplayTree.prototype[_is__SplayTree_default] = true; - dart.addTypeCaches(_SplayTree); - dart.setMethodSignature(_SplayTree, () => ({ - __proto__: dart.getMethods(_SplayTree.__proto__), - [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_splayMin]: dart.fnType(Node, [Node]), - [_splayMax]: dart.fnType(Node, [Node]), - [_remove]: dart.fnType(dart.nullable(Node), [K]), - [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), - [_clear$]: dart.fnType(dart.void, []), - [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_SplayTree, () => ({ - __proto__: dart.getGetters(_SplayTree.__proto__), - [_first]: dart.nullable(Node), - [_last$]: dart.nullable(Node) - })); - dart.setLibraryUri(_SplayTree, I[25]); - dart.setFieldSignature(_SplayTree, () => ({ - __proto__: dart.getFields(_SplayTree.__proto__), - [_count$]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTree; - }); - collection._SplayTree = collection._SplayTree$(); - dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); - var _root$ = dart.privateName(collection, "SplayTreeMap._root"); - 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 __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); - }).prototype = _SplayTree_MapMixin$36.prototype; - dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); - class SplayTreeMap extends _SplayTree_MapMixin$36 { - get [_root]() { - return this[_root$]; - } - set [_root](value) { - this[_root$] = value; - } - get [_compare]() { - 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[87], 416, 51, "other"); - if (core.Map$(K, V).is(other)) { - return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); - } - let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - other[$forEach](dart.fn((k, v) => { - result._set(K.as(k), V.as(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 t152; - if (other == null) dart.nullFailed(I[87], 436, 37, "other"); - t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - return (() => { - 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[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; - let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - 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[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 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) { - return dart.nullCheck(this[_root]).value; - } - } - return null; - } - remove(key) { - 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; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let comp = this[_splay](key); - if (comp === 0) { - this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return value$; - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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; - } - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let value = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[87], 545, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - let comp = this[_splay](key); - if (comp === 0) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = update(dart.nullCheck(this[_root]).value); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - this[_splay](key); - } - this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return newValue; - } - if (ifAbsent != null) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - } - 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) { - __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 (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); - while (dart.test(iterator.moveNext())) { - let node = iterator.current; - let newValue = update(node.key, node.value); - iterator[_replaceValue](newValue); - } - } - addAll(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); - }, __t$KAndVTovoid())); - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - forEach(f) { - 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); - } - } - get length() { - return this[_count$]; - } - clear() { - this[_clear$](); - } - containsKey(key) { - return this[_containsKey](key); - } - containsValue(value) { - let initialSplayCount = this[_splayCount]; - const visit = node => { - while (node != null) { - if (dart.equals(node.value, value)) return true; - if (initialSplayCount != this[_splayCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (node[_right$] != null && dart.test(visit(node[_right$]))) { - return true; - } - node = node[_left$]; - } - return false; - }; - dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); - return visit(this[_root]); - } - get keys() { - return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); - } - get values() { - return new (__t$_SplayTreeValueIterableOfK$V()).new(this); - } - get entries() { - return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); - } - firstKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_first]).key; - } - lastKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_last$]).key; - } - lastKeyBefore(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_left$]; - if (node == null) return null; - let nodeRight = node[_right$]; - while (nodeRight != null) { - node = nodeRight; - nodeRight = node[_right$]; - } - return dart.nullCheck(node).key; - } - firstKeyAfter(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_right$]; - if (node == null) return null; - let nodeLeft = node[_left$]; - while (nodeLeft != null) { - node = nodeLeft; - nodeLeft = node[_left$]; - } - return dart.nullCheck(node).key; - } - } - (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$] = null; - 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; - dart.addTypeTests(SplayTreeMap); - SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; - dart.addTypeCaches(SplayTreeMap); - dart.setMethodSignature(SplayTreeMap, () => ({ - __proto__: dart.getMethods(SplayTreeMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - firstKey: dart.fnType(dart.nullable(K), []), - lastKey: dart.fnType(dart.nullable(K), []), - 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[25]); - dart.setFieldSignature(SplayTreeMap, () => ({ - __proto__: dart.getFields(SplayTreeMap.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), - [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeMap, [ - '_get', - 'remove', - '_set', - 'putIfAbsent', - 'update', - 'updateAll', - 'addAll', - 'forEach', - 'clear', - 'containsKey', - 'containsValue' - ]); - dart.defineExtensionAccessors(SplayTreeMap, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return SplayTreeMap; - }); - collection.SplayTreeMap = collection.SplayTreeMap$(); - dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); - var _path = dart.privateName(collection, "_path"); - var _tree$ = dart.privateName(collection, "_tree"); - var _getValue = dart.privateName(collection, "_getValue"); - 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 __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); - let node = this[_path][$last]; - return this[_getValue](node); - } - [_rebuildPath](key) { - this[_path][$clear](); - this[_tree$][_splay](key); - this[_path][$add](dart.nullCheck(this[_tree$][_root])); - this[_splayCount] = this[_tree$][_splayCount]; - } - [_findLeftMostDescendent](node) { - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - } - moveNext() { - if (this[_modificationCount] != this[_tree$][_modificationCount]) { - if (this[_modificationCount] == null) { - this[_modificationCount] = this[_tree$][_modificationCount]; - let node = this[_tree$][_root]; - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - return this[_path][$isNotEmpty]; - } - dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); - } - if (dart.test(this[_path][$isEmpty])) return false; - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let node = this[_path][$last]; - let next = node[_right$]; - if (next != null) { - while (next != null) { - this[_path][$add](next); - next = next[_left$]; - } - return true; - } - this[_path][$removeLast](); - while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { - node = this[_path][$removeLast](); - } - return this[_path][$isNotEmpty]; - } - } - (_SplayTreeIterator.new = function(tree) { - 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]; - ; - }).prototype = _SplayTreeIterator.prototype; - dart.addTypeTests(_SplayTreeIterator); - _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; - dart.addTypeCaches(_SplayTreeIterator); - _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeIterator.__proto__), - [_rebuildPath]: dart.fnType(dart.void, [K]), - [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getGetters(_SplayTreeIterator.__proto__), - current: T - })); - dart.setLibraryUri(_SplayTreeIterator, I[25]); - dart.setFieldSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getFields(_SplayTreeIterator.__proto__), - [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), - [_path]: dart.finalFieldType(core.List$(Node)), - [_modificationCount]: dart.fieldType(dart.nullable(core.int)), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTreeIterator; - }); - collection._SplayTreeIterator = collection._SplayTreeIterator$(); - 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 __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$]; - } - get isEmpty() { - return this[_tree$][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); - } - contains(o) { - return this[_tree$][_containsKey](o); - } - toSet() { - 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[87], 791, 30, "_tree"); - this[_tree$] = _tree; - _SplayTreeKeyIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeKeyIterable.prototype; - dart.addTypeTests(_SplayTreeKeyIterable); - _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterable); - dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), - iterator: core.Iterator$(K), - [$iterator]: core.Iterator$(K) - })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); - dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), - [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) - })); - dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); - dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeKeyIterable; - }); - 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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); - this[_map$5] = _map; - _SplayTreeValueIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeValueIterable.prototype; - dart.addTypeTests(_SplayTreeValueIterable); - _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; - dart.addTypeCaches(_SplayTreeValueIterable); - dart.setGetterSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_SplayTreeValueIterable, I[25]); - dart.setFieldSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeValueIterable; - }); - collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); - dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); - var key$0 = dart.privateName(core, "MapEntry.key"); - var value$2 = dart.privateName(core, "MapEntry.value"); - const _is_MapEntry_default = Symbol('_is_MapEntry_default'); - core.MapEntry$ = dart.generic((K, V) => { - class MapEntry extends core.Object { - get key() { - return this[key$0]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$2]; - } - 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) + ")"; - } - } - (MapEntry.__ = function(key, value) { - this[key$0] = key; - this[value$2] = value; - ; - }).prototype = MapEntry.prototype; - dart.addTypeTests(MapEntry); - MapEntry.prototype[_is_MapEntry_default] = true; - dart.addTypeCaches(MapEntry); - 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; - }); - 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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); - this[_map$5] = _map; - _SplayTreeMapEntryIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeMapEntryIterable.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterable); - _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterable); - dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), - iterator: core.Iterator$(core.MapEntry$(K, V)), - [$iterator]: core.Iterator$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); - dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeMapEntryIterable; - }); - collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); - dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); - 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[87], 827, 20, "node"); - return node.key; - } - } - (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 826, 45, "map"); - _SplayTreeKeyIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeKeyIterator.prototype; - dart.addTypeTests(_SplayTreeKeyIterator); - _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterator); - dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), - [_getValue]: dart.fnType(K, [Node]) - })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); - return _SplayTreeKeyIterator; - }); - collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); - dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); - 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[87], 833, 39, "node"); - return node.value; - } - } - (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 832, 46, "map"); - _SplayTreeValueIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeValueIterator.prototype; - dart.addTypeTests(_SplayTreeValueIterator); - _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; - dart.addTypeCaches(_SplayTreeValueIterator); - dart.setMethodSignature(_SplayTreeValueIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), - [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) - })); - dart.setLibraryUri(_SplayTreeValueIterator, I[25]); - return _SplayTreeValueIterator; - }); - collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); - dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); - 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[87], 839, 52, "node"); - return node; - } - [_replaceValue](value) { - let t152; - V.as(value); - 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$])); - } - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let last = this[_path][$removeLast](); - let newLast = last[_replaceValue](value); - if (dart.test(this[_path][$isEmpty])) { - this[_tree$][_root] = newLast; - } else { - let parent = this[_path][$last]; - if (last == parent[_left$]) { - parent[_left$] = newLast; - } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); - parent[_right$] = newLast; - } - } - this[_path][$add](newLast); - this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); - } - } - (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); - _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); - ; - }).prototype = _SplayTreeMapEntryIterator.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterator); - _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterator); - dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), - [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), - [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); - return _SplayTreeMapEntryIterator; - }); - collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); - dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); - var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); - var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); - 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 __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); - }).prototype = _SplayTree_IterableMixin$36.prototype; - dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); - const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; - (_SplayTree_SetMixin$36.new = function() { - _SplayTree_SetMixin$36.__proto__.new.call(this); - }).prototype = _SplayTree_SetMixin$36.prototype; - dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); - class SplayTreeSet extends _SplayTree_SetMixin$36 { - get [_root]() { - return this[_root$0]; - } - set [_root](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[87], 1004, 38, "elements"); - if (core.Iterable$(E).is(elements)) { - return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); - } - let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - for (let element of elements) { - result.add(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); - t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - return (() => { - 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 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 (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); - } - get length() { - return this[_count$]; - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return this[_root] != null; - } - get first() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_first]).key; - } - get last() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_last$]).key; - } - get single() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return dart.nullCheck(this[_root]).key; - } - contains(element) { - let t152; - return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; - } - add(element) { - E.as(element); - return this[_add$](element); - } - [_add$](element) { - let compare = this[_splay](element); - if (compare === 0) return false; - this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); - return true; - } - remove(object) { - let t152; - if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; - return this[_remove](E.as(object)) != null; - } - addAll(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 t152; - if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); - for (let element of elements) { - if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); - } - } - retainAll(elements) { - 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((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { - retainSet.add(dart.nullCheck(this[_root]).key); - } - } - if (retainSet[_count$] != this[_count$]) { - this[_root] = retainSet[_root]; - this[_count$] = retainSet[_count$]; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - lookup(object) { - 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[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[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 t152; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); - t152 = this[_clone$](); - return (() => { - t152.addAll(other); - return t152; - })(); - } - [_clone$]() { - let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); - set[_count$] = this[_count$]; - 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[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 (__t$_SplayTreeSetNodeOfE()).new(left.key); - dest[_left$] = newLeft; - copyChildren(left, newLeft); - } - if (right != null) { - 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, __t$_SplayTreeSetNodeOfE()])); - let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); - copyChildren(node, result); - return result; - } - clear() { - this[_clear$](); - } - toSet() { - return this[_clone$](); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$0] = null; - 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; - dart.addTypeTests(SplayTreeSet); - SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; - dart.addTypeCaches(SplayTreeSet); - dart.setMethodSignature(SplayTreeSet, () => ({ - __proto__: dart.getMethods(SplayTreeSet.__proto__), - [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_add$]: dart.fnType(core.bool, [E]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [_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[25]); - dart.setFieldSignature(SplayTreeSet, () => ({ - __proto__: dart.getFields(SplayTreeSet.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), - [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); - dart.defineExtensionAccessors(SplayTreeSet, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return SplayTreeSet; - }); - collection.SplayTreeSet = collection.SplayTreeSet$(); - dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); - collection._defaultEquals = function _defaultEquals(a, b) { - return dart.equals(a, b); - }; - collection._defaultHashCode = function _defaultHashCode(a) { - return dart.hashCode(a); - }; - collection._isToStringVisiting = function _isToStringVisiting(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[41], 291, 48, "iterable"); - if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); - let length = 0; - let count = 0; - let it = iterable[$iterator]; - while (length < 80 || count < 3) { - if (!dart.test(it.moveNext())) return; - let next = dart.str(it.current); - parts[$add](next); - length = length + (next.length + 2); - count = count + 1; - } - let penultimateString = null; - let ultimateString = null; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 2) return; - ultimateString = parts[$removeLast](); - penultimateString = parts[$removeLast](); - } else { - let penultimate = it.current; - count = count + 1; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 1) { - parts[$add](dart.str(penultimate)); - return; - } - ultimateString = dart.str(penultimate); - penultimateString = parts[$removeLast](); - length = length + (ultimateString.length + 2); - } else { - let ultimate = it.current; - count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); - while (dart.test(it.moveNext())) { - penultimate = ultimate; - ultimate = it.current; - count = count + 1; - if (count > 100) { - while (length > 80 - 3 - 2 && count > 3) { - length = length - (parts[$removeLast]().length + 2); - count = count - 1; - } - parts[$add]("..."); - return; - } - } - penultimateString = dart.str(penultimate); - ultimateString = dart.str(ultimate); - length = length + (ultimateString.length + penultimateString.length + 2 * 2); - } - } - let elision = null; - if (count > dart.notNull(parts[$length]) + 2) { - elision = "..."; - length = length + (3 + 2); - } - while (length > 80 && dart.notNull(parts[$length]) > 3) { - length = length - (parts[$removeLast]().length + 2); - if (elision == null) { - elision = "..."; - length = length + (3 + 2); - } - } - if (elision != null) { - parts[$add](elision); - } - parts[$add](penultimateString); - parts[$add](ultimateString); - }; - 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[85] || CT.C85; - if (dart.fnType(core.int, [K, K]).is(compare)) { - return compare; - } - return C[86] || CT.C86; - }; - dart.defineLazy(collection, { - /*collection._toStringVisiting*/get _toStringVisiting() { - return T$.JSArrayOfObject().of([]); - } - }, false); - var _processed = dart.privateName(convert, "_processed"); - var _data = dart.privateName(convert, "_data"); - var _original$ = dart.privateName(convert, "_original"); - var _isUpgraded = dart.privateName(convert, "_isUpgraded"); - var _upgradedMap = dart.privateName(convert, "_upgradedMap"); - var _process = dart.privateName(convert, "_process"); - 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], 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)) { - list = dart.dsend(list, 'sublist', [start, end]); - } - return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); - } - static _stringFromUint8List(charCodes, start, endOrNull) { - 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], 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])); - } - let it = charCodes[$iterator]; - for (let i = 0; i < dart.notNull(start); i = i + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(start, 0, i)); - } - } - let list = T$.JSArrayOfint().of(new Array()); - if (end == null) { - while (dart.test(it.moveNext())) - list[$add](it.current); - } else { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(end, start, i)); - } - list[$add](it.current); - } - } - return _js_helper.Primitives.stringFromCharCodes(list); - } - static is(o) { - return typeof o == "string"; - } - static as(o) { - if (typeof o == "string") return o; - return dart.as(o, core.String); - } - static fromCharCodes(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"); - if (_interceptors.JSArray.is(charCodes)) { - return core.String._stringFromJSArray(charCodes, start, end); - } - if (_native_typed_data.NativeUint8List.is(charCodes)) { - return core.String._stringFromUint8List(charCodes, start, end); - } - 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], 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], 661, 41, "name"); - let defaultValue = opts && 'defaultValue' in opts ? opts.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")); - } - }; - (core.String[dart.mixinNew] = function() { - }).prototype = core.String.prototype; - dart.addTypeCaches(core.String); - core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; - 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); - } else if (!(typeof key == 'string')) { - return null; - } else { - let result = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); - return result; - } - } - get length() { - return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return dart.notNull(this.length) > 0; - } - get keys() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; - return new convert._JsonMapKeyIterable.new(this); - } - get values() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - 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[88], 170, 16, "key"); - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$_set](key, value); - } else if (dart.test(this.containsKey(key))) { - let processed = this[_processed]; - convert._JsonMap._setProperty(processed, key, value); - let original = this[_original$]; - if (!core.identical(original, processed)) { - convert._JsonMap._setProperty(original, key, null); - } - } else { - this[_upgrade]()[$_set](key, value); - } - return value$; - } - addAll(other) { - T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[88], 185, 36, "other"); - other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[88], 186, 20, "key"); - this._set(key, value); - }, T$0.StringAnddynamicTovoid())); - } - containsValue(value) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - if (dart.equals(this._get(key), value)) return true; - } - return false; - } - containsKey(key) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); - if (!(typeof key == 'string')) return false; - return convert._JsonMap._hasProperty(this[_original$], key); - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - 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); - return value; - } - remove(key) { - if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; - return this[_upgrade]()[$remove](key); - } - clear() { - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$clear](); - } else { - if (this[_data] != null) { - dart.dsend(this[_data], 'clear', []); - } - this[_original$] = this[_processed] = null; - this[_data] = new _js_helper.LinkedMap.new(); - } - } - forEach(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) { - let key = keys[$_get](i); - let value = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(value))) { - value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); - convert._JsonMap._setProperty(this[_processed], key, value); - } - f(key, value); - if (!core.identical(keys, this[_data])) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get [_isUpgraded]() { - return this[_processed] == null; - } - get [_upgradedMap]() { - 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[88], 274, 12, "!_isUpgraded"); - let keys = T$0.ListN().as(this[_data]); - if (keys == null) { - keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); - } - return keys; - } - [_upgrade]() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; - let result = new (T$0.IdentityMapOfString$dynamic()).new(); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - result[$_set](key, this._get(key)); - } - if (dart.test(keys[$isEmpty])) { - keys[$add](""); - } else { - keys[$clear](); - } - this[_original$] = this[_processed] = null; - this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); - return result; - } - [_process](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[88], 321, 43, "key"); - return Object.prototype.hasOwnProperty.call(object, key); - } - static _getProperty(object, 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[88], 324, 38, "key"); - return object[key] = value; - } - static _getPropertyNames(object) { - return Object.keys(object); - } - static _isUnprocessed(object) { - return typeof object == "undefined"; - } - static _newJavaScriptObject() { - return Object.create(null); - } - }; - (convert._JsonMap.new = function(_original) { - this[_processed] = convert._JsonMap._newJavaScriptObject(); - this[_data] = null; - this[_original$] = _original; - ; - }).prototype = convert._JsonMap.prototype; - dart.addTypeTests(convert._JsonMap); - dart.addTypeCaches(convert._JsonMap); - dart.setMethodSignature(convert._JsonMap, () => ({ - __proto__: dart.getMethods(convert._JsonMap.__proto__), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [_computeKeys]: dart.fnType(core.List$(core.String), []), - [_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), - [$keys]: core.Iterable$(core.String), - [_isUpgraded]: core.bool, - [_upgradedMap]: core.Map$(core.String, dart.dynamic) - })); - dart.setLibraryUri(convert._JsonMap, I[33]); - dart.setFieldSignature(convert._JsonMap, () => ({ - __proto__: dart.getFields(convert._JsonMap.__proto__), - [_original$]: dart.fieldType(dart.dynamic), - [_processed]: dart.fieldType(dart.dynamic), - [_data]: dart.fieldType(dart.dynamic) - })); - dart.defineExtensionMethods(convert._JsonMap, [ - '_get', - '_set', - 'addAll', - 'containsValue', - 'containsKey', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' - ]); - dart.defineExtensionAccessors(convert._JsonMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - 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[88], 340, 24, "index"); - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); - } - get iterator() { - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; - } - contains(key) { - return this[_parent$].containsKey(key); - } - }; - (convert._JsonMapKeyIterable.new = function(_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[33]); - dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ - __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), - [_parent$]: dart.finalFieldType(convert._JsonMap) - })); - dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); - dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); - var _reviver$ = dart.privateName(convert, "_reviver"); - var _sink$0 = dart.privateName(convert, "_sink"); - 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[89], 162, 19, "str"); - this.addSlice(str, 0, str.length, false); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); - return new convert._Utf8ConversionSink.new(this, allowMalformed); - } - asStringSink() { - return new convert._StringConversionSinkAsStringSinkAdapter.new(this); - } - }; - (convert.StringConversionSinkMixin.new = function() { - ; - }).prototype = convert.StringConversionSinkMixin.prototype; - dart.addTypeTests(convert.StringConversionSinkMixin); - dart.addTypeCaches(convert.StringConversionSinkMixin); - convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; - dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ - __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), - asStringSink: dart.fnType(convert.ClosableStringSink, []) - })); - 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[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[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)); - } - } else { - this[_stringSink$].write(str); - } - if (dart.test(isLast)) this.close(); - } - add(str) { - core.String.as(str); - if (str == null) dart.nullFailed(I[89], 194, 19, "str"); - this[_stringSink$].write(str); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); - return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); - } - asStringSink() { - return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); - } - } - (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); - this[_stringSink$] = _stringSink; - ; - }).prototype = _StringSinkConversionSink.prototype; - dart.addTypeTests(_StringSinkConversionSink); - _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; - dart.addTypeCaches(_StringSinkConversionSink); - dart.setMethodSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - dart.setLibraryUri(_StringSinkConversionSink, I[33]); - dart.setFieldSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getFields(_StringSinkConversionSink.__proto__), - [_stringSink$]: dart.finalFieldType(TStringSink) - })); - return _StringSinkConversionSink; - }); - convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); - dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); - var _contents = dart.privateName(core, "_contents"); - var _writeString = dart.privateName(core, "_writeString"); - core.StringBuffer = class StringBuffer extends core.Object { - [_writeString](str) { - this[_contents] = this[_contents] + str; - } - static _writeAll(string, objects, 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]) { - do { - string = core.StringBuffer._writeOne(string, iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - string = core.StringBuffer._writeOne(string, iterator.current); - while (dart.test(iterator.moveNext())) { - string = core.StringBuffer._writeOne(string, separator); - string = core.StringBuffer._writeOne(string, iterator.current); - } - } - return string; - } - 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; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - write(obj) { - this[_writeString](dart.str(obj)); - } - writeCharCode(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], 799, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); - this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); - } - writeln(obj = "") { - this[_writeString](dart.str(obj) + "\n"); - } - clear() { - this[_contents] = ""; - } - toString() { - return _js_helper.Primitives.flattenString(this[_contents]); - } - }; - (core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 783, 24, "content"); - this[_contents] = dart.str(content); - ; - }).prototype = core.StringBuffer.prototype; - dart.addTypeTests(core.StringBuffer); - dart.addTypeCaches(core.StringBuffer); - core.StringBuffer[dart.implements] = () => [core.StringSink]; - dart.setMethodSignature(core.StringBuffer, () => ({ - __proto__: dart.getMethods(core.StringBuffer.__proto__), - [_writeString]: dart.fnType(dart.void, [core.String]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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[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$]); - this[_stringSink$].clear(); - let decoded = convert._parseJson(accumulated, this[_reviver$]); - this[_sink$0].add(decoded); - this[_sink$0].close(); - } - }; - (convert._JsonDecoderSink.new = function(_reviver, _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("")); - ; - }).prototype = convert._JsonDecoderSink.prototype; - dart.addTypeTests(convert._JsonDecoderSink); - dart.addTypeCaches(convert._JsonDecoderSink); - 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)]))), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) - })); - var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); - var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); - var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); - var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); - var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); - const _is_Codec_default = Symbol('_is_Codec_default'); - convert.Codec$ = dart.generic((S, T) => { - var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); - class Codec extends core.Object { - encode(input) { - S.as(input); - return this.encoder.convert(input); - } - decode(encoded) { - T.as(encoded); - return this.decoder.convert(encoded); - } - fuse(R, other) { - convert.Codec$(T, R).as(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 (__t$_InvertedCodecOfT$S()).new(this); - } - } - (Codec.new = function() { - ; - }).prototype = Codec.prototype; - dart.addTypeTests(Codec); - Codec.prototype[_is_Codec_default] = true; - dart.addTypeCaches(Codec); - dart.setMethodSignature(Codec, () => ({ - __proto__: dart.getMethods(Codec.__proto__), - encode: dart.fnType(T, [dart.nullable(core.Object)]), - decode: dart.fnType(S, [dart.nullable(core.Object)]), - fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Codec, () => ({ - __proto__: dart.getGetters(Codec.__proto__), - inverted: convert.Codec$(T, S) - })); - dart.setLibraryUri(Codec, I[33]); - return Codec; - }); - convert.Codec = convert.Codec$(); - dart.addTypeTests(convert.Codec, _is_Codec_default); - core.List$ = dart.generic(E => { - class List extends core.Object { - static new(length = null) { - let list = null; - if (length === void 0) { - list = []; - } else { - let _length = length; - if (length == null || _length < 0) { - dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); - } - list = new Array(_length); - list.fill(null); - _interceptors.JSArray.markFixedList(list); - } - 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], 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], 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], 576, 30, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - 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) { - list.push(e); - } - } else { - for (let e of elements) { - list.push(E.as(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], 598, 31, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); - let list = _interceptors.JSArray$(E).of([]); - for (let e of elements) { - list.push(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], 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"); - 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) { - result[i] = generator(i); - } - return result; - } - static unmodifiable(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[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[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) { - dart.throw("unreachable"); - } - let length = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(target[$length]) < dart.notNull(at) + length) { - dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); - } - if (source != target || dart.notNull(start) >= dart.notNull(at)) { - for (let i = 0; i < length; i = i + 1) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } else { - for (let i = length; (i = i - 1) >= 0;) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } - } - static writeIterable(T, target, at, 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.withLength(index, targetLength, {indexable: target})); - } - target[$_set](index, element); - index = dart.notNull(index) + 1; - } - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (List[dart.mixinNew] = function() { - }).prototype = List.prototype; - dart.addTypeTests(List); - List.prototype[dart.isList] = true; - dart.addTypeCaches(List); - List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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[91], 21, 49, "byteStream"); - return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - 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 (() => { - t152.write(string); - return t152; - })(); - }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); - return dart.toString(buffer); - }, T$0.StringBufferToString())); - } - static getByName(name) { - if (name == null) return null; - return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); - } - }; - (convert.Encoding.new = function() { - convert.Encoding.__proto__.new.call(this); - ; - }).prototype = convert.Encoding.prototype; - dart.addTypeTests(convert.Encoding); - dart.addTypeCaches(convert.Encoding); - dart.setMethodSignature(convert.Encoding, () => ({ - __proto__: dart.getMethods(convert.Encoding.__proto__), - decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) - })); - 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]); - } - }, false); - convert.AsciiCodec = class AsciiCodec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid]; - } - 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[90], 41, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t152; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { - return (C[87] || CT.C87).convert(bytes); - } else { - return (C[88] || CT.C88).convert(bytes); - } - } - get encoder() { - return C[89] || CT.C89; - } - get decoder() { - 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[90], 36, 26, "allowInvalid"); - this[_allowInvalid] = allowInvalid; - convert.AsciiCodec.__proto__.new.call(this); - ; - }).prototype = convert.AsciiCodec.prototype; - dart.addTypeTests(convert.AsciiCodec); - dart.addTypeCaches(convert.AsciiCodec); - dart.setMethodSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getMethods(convert.AsciiCodec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) - })); - dart.setGetterSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getGetters(convert.AsciiCodec.__proto__), - name: core.String, - encoder: convert.AsciiEncoder, - decoder: convert.AsciiDecoder - })); - dart.setLibraryUri(convert.AsciiCodec, I[33]); - dart.setFieldSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getFields(convert.AsciiCodec.__proto__), - [_allowInvalid$]: dart.finalFieldType(core.bool) - })); - var _subsetMask$ = dart.privateName(convert, "_subsetMask"); - const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; - convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { - get [_subsetMask$]() { - return this[_subsetMask$0]; - } - 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[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); - 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) { - let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); - } - result[$_set](i, codeUnit); - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[90], 103, 41, "stream"); - return super.bind(stream); - } - }; - (convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); - this[_subsetMask$0] = _subsetMask; - convert._UnicodeSubsetEncoder.__proto__.new.call(this); - ; - }).prototype = convert._UnicodeSubsetEncoder.prototype; - dart.addTypeTests(convert._UnicodeSubsetEncoder); - dart.addTypeCaches(convert._UnicodeSubsetEncoder); - dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), - 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[33]); - dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), - [_subsetMask$]: dart.finalFieldType(core.int) - })); - 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[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[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); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); - } - } - this[_sink$0].add(source[$codeUnits][$sublist](start, end)); - if (dart.test(isLast)) { - this.close(); - } - } - }; - (convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _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; - ; - }).prototype = convert._UnicodeSubsetEncoderSink.prototype; - dart.addTypeTests(convert._UnicodeSubsetEncoderSink); - dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); - dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); - dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_subsetMask$]: dart.finalFieldType(core.int) - })); - var _convertInvalid = dart.privateName(convert, "_convertInvalid"); - const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; - const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; - convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowInvalid$]() { - return this[_allowInvalid$0]; - } - set [_allowInvalid$](value) { - super[_allowInvalid$] = value; - } - get [_subsetMask$]() { - return this[_subsetMask$1]; - } - set [_subsetMask$](value) { - super[_subsetMask$] = value; - } - convert(bytes, start = 0, end = null) { - T$0.ListOfint().as(bytes); - 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]); - 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) { - if (!dart.test(this[_allowInvalid$])) { - dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); - } - return this[_convertInvalid](bytes, start, end); - } - } - return core.String.fromCharCodes(bytes, start, end); - } - [_convertInvalid](bytes, start, 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); - if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; - buffer.writeCharCode(value); - } - return buffer.toString(); - } - bind(stream) { - T$0.StreamOfListOfint().as(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[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); - ; - }).prototype = convert._UnicodeSubsetDecoder.prototype; - dart.addTypeTests(convert._UnicodeSubsetDecoder); - dart.addTypeCaches(convert._UnicodeSubsetDecoder); - dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), - 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[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[90], 237, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (dart.test(this[_allowInvalid$])) { - return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); - } else { - return new convert._SimpleAsciiDecoderSink.new(stringSink); - } - } - }; - (convert.AsciiDecoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); - convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); - ; - }).prototype = convert.AsciiDecoder.prototype; - dart.addTypeTests(convert.AsciiDecoder); - dart.addTypeCaches(convert.AsciiDecoder); - dart.setMethodSignature(convert.AsciiDecoder, () => ({ - __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) - })); - 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 { - 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; - dart.addTypeTests(ChunkedConversionSink); - ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; - dart.addTypeCaches(ChunkedConversionSink); - ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - 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)) { - 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.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[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(); - } - }; - (convert.ByteConversionSinkBase.new = function() { - convert.ByteConversionSinkBase.__proto__.new.call(this); - ; - }).prototype = convert.ByteConversionSinkBase.prototype; - dart.addTypeTests(convert.ByteConversionSinkBase); - dart.addTypeCaches(convert.ByteConversionSinkBase); - 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[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[90], 264, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - addSlice(source, start, end, 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[90] || CT.C90); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_utf8Sink$].addSlice(source, start, end, isLast); - } else if (dart.test(isLast)) { - this.close(); - } - } - }; - (convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); - this[_utf8Sink$] = _utf8Sink; - convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); - ; - }).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; - dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); - dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); - dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - 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[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.")); - } - } - this[_sink$0].add(core.String.fromCharCodes(source)); - } - addSlice(source, start, end, 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)) { - if (start !== 0 || end != length) { - source = source[$sublist](start, end); - } - this.add(source); - } - if (dart.test(isLast)) this.close(); - } - }; - (convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); - this[_sink$0] = _sink; - convert._SimpleAsciiDecoderSink.__proto__.new.call(this); - ; - }).prototype = convert._SimpleAsciiDecoderSink.prototype; - dart.addTypeTests(convert._SimpleAsciiDecoderSink); - dart.addTypeCaches(convert._SimpleAsciiDecoderSink); - dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); - dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), - [_sink$0]: dart.fieldType(core.Sink) - })); - var _encoder = dart.privateName(convert, "Base64Codec._encoder"); - var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); - var _encoder$ = dart.privateName(convert, "_encoder"); - convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { - get [_encoder$]() { - return this[_encoder]; - } - 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[93] || CT.C93; - } - decode(encoded) { - core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); - return this.decoder.convert(encoded); - } - normalize(source, start = 0, end = null) { - 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); - let buffer = null; - let sliceStart = start; - let alphabet = convert._Base64Encoder._base64Alphabet; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - let firstPadding = -1; - let firstPaddingSourceIndex = -1; - let paddingCount = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end);) { - let sliceEnd = i; - 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)) { - char = _internal.parseHexByte(source, i); - i = dart.notNull(i) + 2; - if (char === 37) char = -1; - } else { - char = -1; - } - } - if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { - let value = inverseAlphabet[$_get](char); - if (dart.notNull(value) >= 0) { - char = alphabet[$codeUnitAt](value); - if (char == originalChar) continue; - } else if (value === -1) { - if (firstPadding < 0) { - 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) { - t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); - (() => { - t152$2.write(source[$substring](sliceStart, sliceEnd)); - t152$2.writeCharCode(char); - return t152$2; - })(); - sliceStart = i; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); - } - if (buffer != null) { - buffer.write(source[$substring](sliceStart, end)); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); - } else { - let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - while (endLength < 4) { - buffer.write("="); - endLength = endLength + 1; - } - } - return source[$replaceRange](start, end, dart.toString(buffer)); - } - let length = dart.notNull(end) - dart.notNull(start); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); - } else { - let endLength = length[$modulo](4); - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - if (endLength > 1) { - source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); - } - } - return source; - } - static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, 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)); - } - if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { - dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); - } - if (dart.notNull(paddingCount) > 2) { - dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); - } - } - }; - (convert.Base64Codec.new = function() { - this[_encoder] = C[91] || CT.C91; - convert.Base64Codec.__proto__.new.call(this); - ; - }).prototype = convert.Base64Codec.prototype; - (convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[92] || CT.C92; - convert.Base64Codec.__proto__.new.call(this); - ; - }).prototype = convert.Base64Codec.prototype; - dart.addTypeTests(convert.Base64Codec); - dart.addTypeCaches(convert.Base64Codec); - dart.setMethodSignature(convert.Base64Codec, () => ({ - __proto__: dart.getMethods(convert.Base64Codec.__proto__), - 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[33]); - dart.setFieldSignature(convert.Base64Codec, () => ({ - __proto__: dart.getFields(convert.Base64Codec.__proto__), - [_encoder$]: dart.finalFieldType(convert.Base64Encoder) - })); - var _urlSafe = dart.privateName(convert, "_urlSafe"); - const _urlSafe$ = Base64Encoder__urlSafe; - convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_urlSafe]() { - return this[_urlSafe$]; - } - 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[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)); - return core.String.fromCharCodes(buffer); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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]); - } - return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); - } - }; - (convert.Base64Encoder.new = function() { - this[_urlSafe$] = false; - convert.Base64Encoder.__proto__.new.call(this); - ; - }).prototype = convert.Base64Encoder.prototype; - (convert.Base64Encoder.urlSafe = function() { - this[_urlSafe$] = true; - convert.Base64Encoder.__proto__.new.call(this); - ; - }).prototype = convert.Base64Encoder.prototype; - dart.addTypeTests(convert.Base64Encoder); - dart.addTypeCaches(convert.Base64Encoder); - dart.setMethodSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getMethods(convert.Base64Encoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(convert.Base64Encoder, I[33]); - dart.setFieldSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getFields(convert.Base64Encoder.__proto__), - [_urlSafe]: dart.finalFieldType(core.bool) - })); - 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[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[96], 293, 29, "state"); - return state[$rightShift](2); - } - static _stateCount(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[96], 299, 30, "bufferLength"); - return _native_typed_data.NativeUint8List.new(bufferLength); - } - encode(bytes, start, end, isLast) { - 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; - let fullChunks = (byteCount / 3)[$truncate](); - let partialChunkLength = byteCount - fullChunks * 3; - let bufferLength = fullChunks * 4; - if (dart.test(isLast) && partialChunkLength > 0) { - bufferLength = bufferLength + 4; - } - let output = this.createBuffer(bufferLength); - this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); - if (bufferLength > 0) return output; - return null; - } - static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, 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; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let byte = bytes[$_get](i); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; - expectedChars = expectedChars - 1; - if (expectedChars === 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; - } - } - if (byteOr >= 0 && byteOr <= 255) { - if (dart.test(isLast) && expectedChars < 3) { - convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); - return 0; - } - return convert._Base64Encoder._encodeState(3 - expectedChars, bits); - } - let i = start; - while (dart.notNull(i) < dart.notNull(end)) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; - i = dart.notNull(i) + 1; - } - 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 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]((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[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[96], 283, 23, "urlSafe"); - this[_state$0] = 0; - this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; - ; - }).prototype = convert._Base64Encoder.prototype; - dart.addTypeTests(convert._Base64Encoder); - dart.addTypeCaches(convert._Base64Encoder); - dart.setMethodSignature(convert._Base64Encoder, () => ({ - __proto__: dart.getMethods(convert._Base64Encoder.__proto__), - 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.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+/"; - }, - /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*convert._Base64Encoder._valueShift*/get _valueShift() { - return 2; - }, - /*convert._Base64Encoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { - return 63; - } - }, 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[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); - } - return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); - } - }; - (convert._BufferCachingBase64Encoder.new = function(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[33]); - dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ - __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), - bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) - })); - 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[96], 420, 22, "source"); - this[_add$0](source, 0, source[$length], false); - } - close() { - this[_add$0](C[94] || CT.C94, 0, 0, true); - } - addSlice(source, start, end, 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); - } - }; - (convert._Base64EncoderSink.new = function() { - convert._Base64EncoderSink.__proto__.new.call(this); - ; - }).prototype = convert._Base64EncoderSink.prototype; - dart.addTypeTests(convert._Base64EncoderSink); - dart.addTypeCaches(convert._Base64EncoderSink); - dart.setMethodSignature(convert._Base64EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - 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[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); - this[_sink$0].add(string); - } - if (dart.test(isLast)) { - this[_sink$0].close(); - } - } - }; - (convert._AsciiBase64EncoderSink.new = function(_sink, 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); - ; - }).prototype = convert._AsciiBase64EncoderSink.prototype; - dart.addTypeTests(convert._AsciiBase64EncoderSink); - dart.addTypeCaches(convert._AsciiBase64EncoderSink); - 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[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[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); - } - } - }; - (convert._Utf8Base64EncoderSink.new = function(_sink, 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); - ; - }).prototype = convert._Utf8Base64EncoderSink.prototype; - dart.addTypeTests(convert._Utf8Base64EncoderSink); - dart.addTypeCaches(convert._Utf8Base64EncoderSink); - 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[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[96], 505, 28, "input"); - if (start == null) dart.nullFailed(I[96], 505, 40, "start"); - end = core.RangeError.checkValidRange(start, end, input.length); - 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)); - decoder.close(input, end); - return buffer; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); - return new convert._Base64DecoderSink.new(sink); - } - }; - (convert.Base64Decoder.new = function() { - convert.Base64Decoder.__proto__.new.call(this); - ; - }).prototype = convert.Base64Decoder.prototype; - dart.addTypeTests(convert.Base64Decoder); - dart.addTypeCaches(convert.Base64Decoder); - dart.setMethodSignature(convert.Base64Decoder, () => ({ - __proto__: dart.getMethods(convert.Base64Decoder.__proto__), - 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[33]); - convert._Base64Decoder = class _Base64Decoder extends core.Object { - static _encodeCharacterState(count, bits) { - 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[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[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[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[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[96], 612, 35, "state"); - return dart.notNull(state) < 0; - } - decode(input, start, end) { - 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; - } - if (start == end) return _native_typed_data.NativeUint8List.new(0); - let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); - this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); - return buffer; - } - close(input, end) { - if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { - dart.throw(new core.FormatException.new("Missing padding character", input, end)); - } - if (dart.notNull(this[_state$0]) > 0) { - dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); - } - this[_state$0] = convert._Base64Decoder._encodePaddingState(0); - } - static decodeChunk(input, start, end, output, outIndex, 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; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = input[$codeUnitAt](i); - charOr = (charOr | char) >>> 0; - let code = inverseAlphabet[$_get]((char & 127) >>> 0); - if (dart.notNull(code) >= 0) { - 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[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; - } else if (code === -1 && dart.notNull(count) > 1) { - if (charOr < 0 || charOr > 127) break; - if (count === 3) { - if ((dart.notNull(bits) & 3) !== 0) { - dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); - } - 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]((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; - state = convert._Base64Decoder._encodePaddingState(expectedPadding); - return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); - } - dart.throw(new core.FormatException.new("Invalid character", input, i)); - } - if (charOr >= 0 && charOr <= 127) { - return convert._Base64Decoder._encodeCharacterState(count, bits); - } - let i = null; - 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[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; - let remainderLength = length & 3; - if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { - bufferLength = bufferLength + (remainderLength - 1); - } - if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); - return convert._Base64Decoder._emptyBuffer; - } - static _trimPaddingChars(input, start, 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; - while (dart.notNull(index) > dart.notNull(start) && padding < 2) { - index = dart.notNull(index) - 1; - let char = input[$codeUnitAt](index); - if (char === 61) { - padding = padding + 1; - newEnd = index; - continue; - } - if ((char | 32) >>> 0 === 100) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 51) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 37) { - padding = padding + 1; - newEnd = index; - continue; - } - break; - } - return newEnd; - } - static _checkPadding(input, start, end, 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[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) { - if (char === 61) { - expectedPadding = dart.notNull(expectedPadding) - 3; - start = dart.notNull(start) + 1; - break; - } - if (char === 37) { - expectedPadding = dart.notNull(expectedPadding) - 1; - start = dart.notNull(start) + 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } else { - break; - } - } - let expectedPartialPadding = expectedPadding; - if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; - if (expectedPartialPadding === 2) { - if (char !== 51) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } - if ((char | 32) >>> 0 !== 100) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - } - if (start != end) { - dart.throw(new core.FormatException.new("Invalid padding character", input, start)); - } - return convert._Base64Decoder._encodePaddingState(expectedPadding); - } - static ['_#new#tearOff']() { - return new convert._Base64Decoder.new(); - } - }; - (convert._Base64Decoder.new = function() { - this[_state$0] = 0; - ; - }).prototype = convert._Base64Decoder.prototype; - dart.addTypeTests(convert._Base64Decoder); - dart.addTypeCaches(convert._Base64Decoder); - dart.setMethodSignature(convert._Base64Decoder, () => ({ - __proto__: dart.getMethods(convert._Base64Decoder.__proto__), - 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.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; - }, - /*convert._Base64Decoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Decoder._invalid*/get _invalid() { - return -2; - }, - /*convert._Base64Decoder._padding*/get _padding() { - return -1; - }, - /*convert._Base64Decoder.___*/get ___() { - return -2; - }, - /*convert._Base64Decoder._p*/get _p() { - return -1; - }, - /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { - return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -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])); - }, - /*convert._Base64Decoder._char_percent*/get _char_percent() { - return 37; - }, - /*convert._Base64Decoder._char_3*/get _char_3() { - return 51; - }, - /*convert._Base64Decoder._char_d*/get _char_d() { - return 100; - }, - /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { - return _native_typed_data.NativeUint8List.new(0); - }, - 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[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); - } - close() { - this[_decoder].close(null, null); - this[_sink$0].close(); - } - addSlice(string, start, end, 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); - if (buffer != null) this[_sink$0].add(buffer); - if (dart.test(isLast)) { - this[_decoder].close(string, end); - this[_sink$0].close(); - } - } - }; - (convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); - this[_decoder] = new convert._Base64Decoder.new(); - this[_sink$0] = _sink; - ; - }).prototype = convert._Base64DecoderSink.prototype; - dart.addTypeTests(convert._Base64DecoderSink); - dart.addTypeCaches(convert._Base64DecoderSink); - dart.setMethodSignature(convert._Base64DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - 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[94], 57, 22, "chunk"); - this[_sink$0].add(chunk); - } - close() { - this[_sink$0].close(); - } - }; - (convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); - this[_sink$0] = _sink; - convert._ByteAdapterSink.__proto__.new.call(this); - ; - }).prototype = convert._ByteAdapterSink.prototype; - dart.addTypeTests(convert._ByteAdapterSink); - dart.addTypeCaches(convert._ByteAdapterSink); - dart.setMethodSignature(convert._ByteAdapterSink, () => ({ - __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - 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))) - })); - 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[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]; - let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; - let grown = _native_typed_data.NativeUint8List.new(newLength); - grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); - this[_buffer$] = grown; - } - this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); - this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); - } - static _roundToPowerOf2(v) { - 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; - v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; - v = dart.notNull(v) + 1; - return v; - } - close() { - let t153; - t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t153); - } - }; - (convert._ByteCallbackSink.new = function(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; - convert._ByteCallbackSink.__proto__.new.call(this); - ; - }).prototype = convert._ByteCallbackSink.prototype; - dart.addTypeTests(convert._ByteCallbackSink); - dart.addTypeCaches(convert._ByteCallbackSink); - dart.setMethodSignature(convert._ByteCallbackSink, () => ({ - __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - 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; - } - }, false); - var _accumulated = dart.privateName(convert, "_accumulated"); - const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); - convert._SimpleCallbackSink$ = dart.generic(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 t153; - t153 = this[_accumulated]; - this[_callback$](t153); - } - } - (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); - this[_accumulated] = __t$JSArrayOfT().of([]); - this[_callback$] = _callback; - _SimpleCallbackSink.__proto__.new.call(this); - ; - }).prototype = _SimpleCallbackSink.prototype; - dart.addTypeTests(_SimpleCallbackSink); - _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; - dart.addTypeCaches(_SimpleCallbackSink); - dart.setMethodSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SimpleCallbackSink, I[33]); - dart.setFieldSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getFields(_SimpleCallbackSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), - [_accumulated]: dart.finalFieldType(core.List$(T)) - })); - return _SimpleCallbackSink; - }); - convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); - dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); - var _eventSink = dart.privateName(convert, "_eventSink"); - 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[95], 75, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - this[_eventSink].addError(error, stackTrace); - } - close() { - this[_chunkedSink$].close(); - } - } - (_ConverterStreamEventSink.new = function(converter, 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); - ; - }).prototype = _ConverterStreamEventSink.prototype; - dart.addTypeTests(_ConverterStreamEventSink); - _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; - dart.addTypeCaches(_ConverterStreamEventSink); - _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ConverterStreamEventSink, I[33]); - dart.setFieldSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(T)), - [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) - })); - return _ConverterStreamEventSink; - }); - convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); - dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); - var _first$0 = dart.privateName(convert, "_first"); - var _second$0 = dart.privateName(convert, "_second"); - const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); - convert._FusedCodec$ = dart.generic((S, M, T) => { - class _FusedCodec extends convert.Codec$(S, T) { - get encoder() { - return this[_first$0].encoder.fuse(T, this[_second$0].encoder); - } - 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[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); - ; - }).prototype = _FusedCodec.prototype; - dart.addTypeTests(_FusedCodec); - _FusedCodec.prototype[_is__FusedCodec_default] = true; - dart.addTypeCaches(_FusedCodec); - dart.setGetterSignature(_FusedCodec, () => ({ - __proto__: dart.getGetters(_FusedCodec.__proto__), - encoder: convert.Converter$(S, T), - decoder: convert.Converter$(T, S) - })); - dart.setLibraryUri(_FusedCodec, I[33]); - dart.setFieldSignature(_FusedCodec, () => ({ - __proto__: dart.getFields(_FusedCodec.__proto__), - [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), - [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) - })); - return _FusedCodec; - }); - convert._FusedCodec = convert._FusedCodec$(); - dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); - 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; - } - get decoder() { - return this[_codec].encoder; - } - get inverted() { - return this[_codec]; - } - } - (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); - this[_codec] = codec; - _InvertedCodec.__proto__.new.call(this); - ; - }).prototype = _InvertedCodec.prototype; - dart.addTypeTests(_InvertedCodec); - _InvertedCodec.prototype[_is__InvertedCodec_default] = true; - dart.addTypeCaches(_InvertedCodec); - dart.setGetterSignature(_InvertedCodec, () => ({ - __proto__: dart.getGetters(_InvertedCodec.__proto__), - encoder: convert.Converter$(T, S), - decoder: convert.Converter$(S, T) - })); - dart.setLibraryUri(_InvertedCodec, I[33]); - dart.setFieldSignature(_InvertedCodec, () => ({ - __proto__: dart.getFields(_InvertedCodec.__proto__), - [_codec]: dart.finalFieldType(convert.Codec$(S, T)) - })); - return _InvertedCodec; - }); - 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 __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) { - __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[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); - ; - }).prototype = _FusedConverter.prototype; - dart.addTypeTests(_FusedConverter); - _FusedConverter.prototype[_is__FusedConverter_default] = true; - dart.addTypeCaches(_FusedConverter); - dart.setMethodSignature(_FusedConverter, () => ({ - __proto__: dart.getMethods(_FusedConverter.__proto__), - convert: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_FusedConverter, I[33]); - dart.setFieldSignature(_FusedConverter, () => ({ - __proto__: dart.getFields(_FusedConverter.__proto__), - [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), - [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) - })); - return _FusedConverter; - }); - convert._FusedConverter = convert._FusedConverter$(); - dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); - var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); - var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); - var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); - var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); - var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); - var _name$3 = dart.privateName(convert, "_name"); - convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { - get [_name$3]() { - return this[_name$2]; - } - set [_name$3](value) { - super[_name$3] = value; - } - get escapeLtGt() { - return this[escapeLtGt$]; - } - set escapeLtGt(value) { - super.escapeLtGt = value; - } - get escapeQuot() { - return this[escapeQuot$]; - } - set escapeQuot(value) { - super.escapeQuot = value; - } - get escapeApos() { - return this[escapeApos$]; - } - set escapeApos(value) { - super.escapeApos = value; - } - get escapeSlash() { - return this[escapeSlash$]; - } - 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[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; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - ; - }).prototype = convert.HtmlEscapeMode.prototype; - (convert.HtmlEscapeMode.new = function(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"); - this[escapeLtGt$] = escapeLtGt; - this[escapeQuot$] = escapeQuot; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - this[_name$2] = name; - ; - }).prototype = convert.HtmlEscapeMode.prototype; - dart.addTypeTests(convert.HtmlEscapeMode); - dart.addTypeCaches(convert.HtmlEscapeMode); - dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); - dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ - __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), - [_name$3]: dart.finalFieldType(core.String), - escapeLtGt: dart.finalFieldType(core.bool), - escapeQuot: dart.finalFieldType(core.bool), - 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[95] || CT.C95; - }, - /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[96] || CT.C96; - }, - /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[97] || CT.C97; - }, - /*convert.HtmlEscapeMode.element*/get element() { - return C[98] || CT.C98; - } - }, false); - var mode$ = dart.privateName(convert, "HtmlEscape.mode"); - var _convert = dart.privateName(convert, "_convert"); - convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { - get mode() { - return this[mode$]; - } - 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[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[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; - } - case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } - case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } - case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } - case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } - case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } - } - if (replacement != null) { - result == null ? result = new core.StringBuffer.new() : null; - if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); - result.write(replacement); - start = dart.notNull(i) + 1; - } - } - if (result == null) return null; - if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); - return dart.toString(result); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[95] || CT.C95) { - if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); - this[mode$] = mode; - convert.HtmlEscape.__proto__.new.call(this); - ; - }).prototype = convert.HtmlEscape.prototype; - dart.addTypeTests(convert.HtmlEscape); - dart.addTypeCaches(convert.HtmlEscape); - dart.setMethodSignature(convert.HtmlEscape, () => ({ - __proto__: dart.getMethods(convert.HtmlEscape.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - [_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[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[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); - } else { - this[_sink$0].add(val); - if (dart.test(isLast)) this[_sink$0].close(); - } - } - close() { - this[_sink$0].close(); - } - }; - (convert._HtmlEscapeSink.new = function(_escape, _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; - ; - }).prototype = convert._HtmlEscapeSink.prototype; - dart.addTypeTests(convert._HtmlEscapeSink); - dart.addTypeCaches(convert._HtmlEscapeSink); - dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); - dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), - [_escape$]: dart.finalFieldType(convert.HtmlEscape), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink) - })); - var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); - var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); - var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); - convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { - get unsupportedObject() { - return this[unsupportedObject$]; - } - set unsupportedObject(value) { - super.unsupportedObject = value; - } - get cause() { - return this[cause$]; - } - set cause(value) { - super.cause = value; - } - get partialResult() { - return this[partialResult$]; - } - 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; - if (this.cause != null) { - prefix = "Converting object to an encodable object failed:"; - } else { - prefix = "Converting object did not return an encodable object:"; - } - return dart.str(prefix) + " " + dart.str(safeString); - } - }; - (convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { - let cause = opts && 'cause' in opts ? opts.cause : null; - let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; - this[unsupportedObject$] = unsupportedObject; - this[cause$] = cause; - this[partialResult$] = partialResult; - convert.JsonUnsupportedObjectError.__proto__.new.call(this); - ; - }).prototype = convert.JsonUnsupportedObjectError.prototype; - dart.addTypeTests(convert.JsonUnsupportedObjectError); - dart.addTypeCaches(convert.JsonUnsupportedObjectError); - dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); - dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ - __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), - unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), - cause: dart.finalFieldType(dart.nullable(core.Object)), - partialResult: dart.finalFieldType(dart.nullable(core.String)) - })); - 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"; - } - }; - (convert.JsonCyclicError.new = function(object) { - convert.JsonCyclicError.__proto__.new.call(this, object); - ; - }).prototype = convert.JsonCyclicError.prototype; - dart.addTypeTests(convert.JsonCyclicError); - dart.addTypeCaches(convert.JsonCyclicError); - 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"); - var _toEncodable$ = dart.privateName(convert, "_toEncodable"); - var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); - var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); - var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); - convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { - get [_reviver$]() { - return this[_reviver]; - } - set [_reviver$](value) { - super[_reviver$] = value; - } - get [_toEncodable$]() { - return this[_toEncodable]; - } - 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[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); - return new convert.JsonDecoder.new(reviver).convert(source); - } - encode(value, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - toEncodable == null ? toEncodable = this[_toEncodable$] : null; - if (toEncodable == null) return this.encoder.convert(value); - return new convert.JsonEncoder.new(toEncodable).convert(value); - } - get encoder() { - if (this[_toEncodable$] == null) return C[99] || CT.C99; - return new convert.JsonEncoder.new(this[_toEncodable$]); - } - get decoder() { - if (this[_reviver$] == null) return C[100] || CT.C100; - return new convert.JsonDecoder.new(this[_reviver$]); - } - }; - (convert.JsonCodec.new = function(opts) { - let reviver = opts && 'reviver' in opts ? opts.reviver : null; - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - this[_reviver] = reviver; - this[_toEncodable] = toEncodable; - convert.JsonCodec.__proto__.new.call(this); - ; - }).prototype = convert.JsonCodec.prototype; - (convert.JsonCodec.withReviver = function(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); - dart.addTypeCaches(convert.JsonCodec); - dart.setMethodSignature(convert.JsonCodec, () => ({ - __proto__: dart.getMethods(convert.JsonCodec.__proto__), - decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), - encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) - })); - dart.setGetterSignature(convert.JsonCodec, () => ({ - __proto__: dart.getGetters(convert.JsonCodec.__proto__), - encoder: convert.JsonEncoder, - decoder: convert.JsonDecoder - })); - 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)]))), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) - })); - const indent$ = JsonEncoder_indent; - const _toEncodable$0 = JsonEncoder__toEncodable; - convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { - get indent() { - return this[indent$]; - } - set indent(value) { - super.indent = value; - } - get [_toEncodable$]() { - return this[_toEncodable$0]; - } - 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[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); - } - return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); - } - bind(stream) { - T$0.StreamOfObjectN().as(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[98], 371, 54, "other"); - if (convert.Utf8Encoder.is(other)) { - return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); - } - return super.fuse(T, other); - } - }; - (convert.JsonEncoder.new = function(toEncodable = null) { - this[indent$] = null; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; - }).prototype = convert.JsonEncoder.prototype; - (convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { - this[indent$] = indent; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; - }).prototype = convert.JsonEncoder.prototype; - dart.addTypeTests(convert.JsonEncoder); - dart.addTypeCaches(convert.JsonEncoder); - dart.setMethodSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getMethods(convert.JsonEncoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - 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[33]); - dart.setFieldSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getFields(convert.JsonEncoder.__proto__), - indent: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) - })); - 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); - L0: { - for (let i = 0; i < string.length; i = i + 1) { - if (string[$codeUnitAt](i) >= 128) break L0; - } - return string[$codeUnits]; - } - return convert.utf8.encode(string); - } - convert(object) { - let bytes = T$0.JSArrayOfListOfint().of([]); - function addChunk(chunk, start, 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); - } - bytes[$add](chunk); - } - dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); - if (bytes[$length] === 1) return bytes[$_get](0); - let length = 0; - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - length = length + dart.notNull(bytes[$_get](i)[$length]); - } - let result = _native_typed_data.NativeUint8List.new(length); - for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byteList = bytes[$_get](i); - let end = offset + dart.notNull(byteList[$length]); - result[$setRange](offset, end, byteList); - offset = end; - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); - let byteSink = null; - if (convert.ByteConversionSink.is(sink)) { - byteSink = sink; - } else { - byteSink = new convert._ByteAdapterSink.new(sink); - } - return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); - } - bind(stream) { - T$0.StreamOfObjectN().as(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 t153; - this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); - this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); - convert.JsonUtf8Encoder.__proto__.new.call(this); - ; - }).prototype = convert.JsonUtf8Encoder.prototype; - dart.addTypeTests(convert.JsonUtf8Encoder); - dart.addTypeCaches(convert.JsonUtf8Encoder); - dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ - __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), - 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.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; - } - }, 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")); - } - this[_isDone] = true; - let stringSink = this[_sink$0].asStringSink(); - convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); - stringSink.close(); - } - close() { - } - }; - (convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); - this[_isDone] = false; - this[_sink$0] = _sink; - this[_toEncodable$] = _toEncodable; - this[_indent$] = _indent; - convert._JsonEncoderSink.__proto__.new.call(this); - ; - }).prototype = convert._JsonEncoderSink.prototype; - dart.addTypeTests(convert._JsonEncoderSink); - dart.addTypeCaches(convert._JsonEncoderSink); - dart.setMethodSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(convert._JsonEncoderSink, I[33]); - dart.setFieldSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), - [_indent$]: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_isDone]: dart.fieldType(core.bool) - })); - 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[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) { - if (dart.test(this[_isDone])) { - dart.throw(new core.StateError.new("Only one call to add allowed")); - } - this[_isDone] = true; - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); - this[_sink$0].close(); - } - close() { - if (!dart.test(this[_isDone])) { - this[_isDone] = true; - this[_sink$0].close(); - } - } - }; - (convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _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; - this[_indent$] = _indent; - this[_bufferSize$] = _bufferSize; - convert._JsonUtf8EncoderSink.__proto__.new.call(this); - ; - }).prototype = convert._JsonUtf8EncoderSink.prototype; - dart.addTypeTests(convert._JsonUtf8EncoderSink); - dart.addTypeCaches(convert._JsonUtf8EncoderSink); - dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), - [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); - dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_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), - [_isDone]: dart.fieldType(core.bool) - })); - const _reviver$0 = JsonDecoder__reviver; - convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { - get [_reviver$]() { - return this[_reviver$0]; - } - 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[98], 610, 26, "input"); - return convert._parseJson(input, this[_reviver$]); - } - startChunkedConversion(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[98], 618, 39, "stream"); - return super.bind(stream); - } - }; - (convert.JsonDecoder.new = function(reviver = null) { - this[_reviver$0] = reviver; - convert.JsonDecoder.__proto__.new.call(this); - ; - }).prototype = convert.JsonDecoder.prototype; - dart.addTypeTests(convert.JsonDecoder); - dart.addTypeCaches(convert.JsonDecoder); - dart.setMethodSignature(convert.JsonDecoder, () => ({ - __proto__: dart.getMethods(convert.JsonDecoder.__proto__), - 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[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)]))) - })); - var _seen = dart.privateName(convert, "_seen"); - var _checkCycle = dart.privateName(convert, "_checkCycle"); - 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[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[98], 682, 34, "s"); - let offset = 0; - let length = s.length; - for (let i = 0; i < length; i = i + 1) { - let charCode = s[$codeUnitAt](i); - if (charCode > 92) { - if (charCode >= 55296) { - if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(117); - this.writeCharCode(100); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - } - } - continue; - } - if (charCode < 32) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - switch (charCode) { - case 8: - { - this.writeCharCode(98); - break; - } - case 9: - { - this.writeCharCode(116); - break; - } - case 10: - { - this.writeCharCode(110); - break; - } - case 12: - { - this.writeCharCode(102); - break; - } - case 13: - { - 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; - } - } - } else if (charCode === 34 || charCode === 92) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(charCode); - } - } - if (offset === 0) { - this.writeString(s); - } else if (offset < length) { - this.writeStringSlice(s, offset, length); - } - } - [_checkCycle](object) { - for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { - if (core.identical(object, this[_seen][$_get](i))) { - dart.throw(new convert.JsonCyclicError.new(object)); - } - } - this[_seen][$add](object); - } - [_removeSeen](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 t153; - if (dart.test(this.writeJsonValue(object))) return; - this[_checkCycle](object); - try { - let customJson = (t153 = object, this[_toEncodable$](t153)); - if (!dart.test(this.writeJsonValue(customJson))) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); - } - this[_removeSeen](object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); - } else - throw e$; - } - } - writeJsonValue(object) { - if (typeof object == 'number') { - if (!object[$isFinite]) return false; - this.writeNumber(object); - return true; - } else if (object === true) { - this.writeString("true"); - return true; - } else if (object === false) { - this.writeString("false"); - return true; - } else if (object == null) { - this.writeString("null"); - return true; - } else if (typeof object == 'string') { - this.writeString("\""); - this.writeStringContent(object); - this.writeString("\""); - return true; - } else if (core.List.is(object)) { - this[_checkCycle](object); - this.writeList(object); - this[_removeSeen](object); - return true; - } else if (core.Map.is(object)) { - this[_checkCycle](object); - let success = this.writeMap(object); - this[_removeSeen](object); - return success; - } else { - return false; - } - } - writeList(list) { - if (list == null) dart.nullFailed(I[98], 838, 32, "list"); - this.writeString("["); - if (dart.test(list[$isNotEmpty])) { - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(","); - this.writeObject(list[$_get](i)); - } - } - this.writeString("]"); - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 851, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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("{"); - let separator = "\""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\""; - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\":"); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("}"); - return true; - } - }; - (convert._JsonStringifier.new = function(toEncodable) { - let t153; - this[_seen] = []; - this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); - ; - }).prototype = convert._JsonStringifier.prototype; - dart.addTypeTests(convert._JsonStringifier); - dart.addTypeCaches(convert._JsonStringifier); - dart.setMethodSignature(convert._JsonStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringifier.__proto__), - writeStringContent: dart.fnType(dart.void, [core.String]), - [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - 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.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; - }, - /*convert._JsonStringifier.tab*/get tab() { - return 9; - }, - /*convert._JsonStringifier.newline*/get newline() { - return 10; - }, - /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { - return 13; - }, - /*convert._JsonStringifier.formFeed*/get formFeed() { - return 12; - }, - /*convert._JsonStringifier.quote*/get quote() { - return 34; - }, - /*convert._JsonStringifier.char_0*/get char_0() { - return 48; - }, - /*convert._JsonStringifier.backslash*/get backslash() { - return 92; - }, - /*convert._JsonStringifier.char_b*/get char_b() { - return 98; - }, - /*convert._JsonStringifier.char_d*/get char_d() { - return 100; - }, - /*convert._JsonStringifier.char_f*/get char_f() { - return 102; - }, - /*convert._JsonStringifier.char_n*/get char_n() { - return 110; - }, - /*convert._JsonStringifier.char_r*/get char_r() { - return 114; - }, - /*convert._JsonStringifier.char_t*/get char_t() { - return 116; - }, - /*convert._JsonStringifier.char_u*/get char_u() { - return 117; - }, - /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { - return 55296; - }, - /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { - return 64512; - }, - /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { - return 55296; - }, - /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { - return 56320; - } - }, false); - var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); - var _indentLevel$ = dart.privateName(convert, "_indentLevel"); - convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { - get [_indentLevel$]() { - 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[98], 891, 32, "list"); - if (dart.test(list[$isEmpty])) { - this.writeString("[]"); - } else { - this.writeString("[\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(",\n"); - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](i)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("]"); - } - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 911, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - let separator = ""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\n"; - this.writeIndentation(this[_indentLevel$]); - this.writeString("\""); - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\": "); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("}"); - return true; - } - }; - (convert._JsonPrettyPrintMixin.new = function() { - this[_indentLevel] = 0; - ; - }).prototype = convert._JsonPrettyPrintMixin.prototype; - dart.addTypeTests(convert._JsonPrettyPrintMixin); - dart.addTypeCaches(convert._JsonPrettyPrintMixin); - convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; - dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ - __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), - 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[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[98], 974, 50, "output"); - let stringifier = null; - if (indent == null) { - stringifier = new convert._JsonStringStringifier.new(output, toEncodable); - } else { - stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); - } - stringifier.writeObject(object); - } - get [_partialResult]() { - return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; - } - writeNumber(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[98], 991, 27, "string"); - this[_sink$0].write(string); - } - writeStringSlice(string, start, 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[98], 999, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } - }; - (convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); - this[_sink$0] = _sink; - convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); - ; - }).prototype = convert._JsonStringStringifier.prototype; - dart.addTypeTests(convert._JsonStringStringifier); - dart.addTypeCaches(convert._JsonStringStringifier); - dart.setMethodSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), - writeNumber: dart.fnType(dart.void, [core.num]), - writeString: dart.fnType(dart.void, [core.String]), - 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[33]); - dart.setFieldSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), - [_sink$0]: dart.finalFieldType(core.StringSink) - })); - const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; - (_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); - }).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[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[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); - ; - }).prototype = convert._JsonStringStringifierPretty.prototype; - dart.addTypeTests(convert._JsonStringStringifierPretty); - dart.addTypeCaches(convert._JsonStringStringifierPretty); - dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) - })); - 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[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); - } else { - stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); - } - stringifier.writeObject(object); - stringifier.flush(); - } - flush() { - let t156, t155, t154; - if (dart.notNull(this.index) > 0) { - t154 = this.buffer; - t155 = 0; - t156 = this.index; - this.addChunk(t154, t155, t156); - } - this.buffer = _native_typed_data.NativeUint8List.new(0); - this.index = 0; - } - get [_partialResult]() { - return null; - } - writeNumber(number) { - if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); - this.writeAsciiString(dart.toString(number)); - } - writeAsciiString(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[98], 1080, 14, "char <= 0x7f"); - this.writeByte(char); - } - } - writeString(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[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) { - this.writeByte(char); - } else { - if ((char & 63488) === 55296) { - if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { - let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); - if ((nextChar & 64512) === 56320) { - char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); - this.writeFourByteCharCode(char); - i = dart.notNull(i) + 1; - continue; - } - } - this.writeMultiByteCharCode(65533); - continue; - } - this.writeMultiByteCharCode(char); - } - } - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); - if (dart.notNull(charCode) <= 127) { - this.writeByte(charCode); - return; - } - this.writeMultiByteCharCode(charCode); - } - writeMultiByteCharCode(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); - return; - } - if (dart.notNull(charCode) <= 65535) { - this.writeByte((224 | charCode[$rightShift](12)) >>> 0); - this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); - this.writeByte(128 | dart.notNull(charCode) & 63); - return; - } - this.writeFourByteCharCode(charCode); - } - writeFourByteCharCode(charCode) { - 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 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]) { - 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]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); - } - }; - (convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, 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; - this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); - convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); - ; - }).prototype = convert._JsonUtf8Stringifier.prototype; - dart.addTypeTests(convert._JsonUtf8Stringifier); - dart.addTypeCaches(convert._JsonUtf8Stringifier); - dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), - flush: dart.fnType(dart.void, []), - writeNumber: dart.fnType(dart.void, [core.num]), - writeAsciiString: dart.fnType(dart.void, [core.String]), - writeString: dart.fnType(dart.void, [core.String]), - writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), - 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[33]); - dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), - bufferSize: dart.finalFieldType(core.int), - addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), - buffer: dart.fieldType(typed_data.Uint8List), - index: dart.fieldType(core.int) - })); - const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; - (_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); - }).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[98], 1170, 29, "count"); - let indent = this.indent; - let indentLength = indent[$length]; - if (indentLength === 1) { - let char = indent[$_get](0); - while (dart.notNull(count) > 0) { - this.writeByte(char); - count = dart.notNull(count) - 1; - } - return; - } - while (dart.notNull(count) > 0) { - count = dart.notNull(count) - 1; - let end = dart.notNull(this.index) + dart.notNull(indentLength); - if (end <= dart.notNull(this.buffer[$length])) { - this.buffer[$setRange](this.index, end, indent); - this.index = end; - } else { - for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { - this.writeByte(indent[$_get](i)); - } - } - } - } - }; - (convert._JsonUtf8StringifierPretty.new = function(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"); - this.indent = indent; - convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); - ; - }).prototype = convert._JsonUtf8StringifierPretty.prototype; - dart.addTypeTests(convert._JsonUtf8StringifierPretty); - dart.addTypeCaches(convert._JsonUtf8StringifierPretty); - dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) - })); - dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); - dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), - indent: dart.finalFieldType(core.List$(core.int)) - })); - var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); - convert.Latin1Codec = class Latin1Codec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid$1]; - } - 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[99], 40, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t154; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { - return (C[102] || CT.C102).convert(bytes); - } else { - return (C[103] || CT.C103).convert(bytes); - } - } - get encoder() { - return C[104] || CT.C104; - } - get decoder() { - 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[99], 35, 27, "allowInvalid"); - this[_allowInvalid$1] = allowInvalid; - convert.Latin1Codec.__proto__.new.call(this); - ; - }).prototype = convert.Latin1Codec.prototype; - dart.addTypeTests(convert.Latin1Codec); - dart.addTypeCaches(convert.Latin1Codec); - dart.setMethodSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getMethods(convert.Latin1Codec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) - })); - dart.setGetterSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getGetters(convert.Latin1Codec.__proto__), - name: core.String, - encoder: convert.Latin1Encoder, - decoder: convert.Latin1Decoder - })); - 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 { - 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[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[99], 124, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); - return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); - } - }; - (convert.Latin1Decoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); - convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); - ; - }).prototype = convert.Latin1Decoder.prototype; - dart.addTypeTests(convert.Latin1Decoder); - dart.addTypeCaches(convert.Latin1Decoder); - dart.setMethodSignature(convert.Latin1Decoder, () => ({ - __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) - })); - 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[99], 146, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - [_addSliceToSink](source, start, end, 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[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)) { - convert._Latin1DecoderSink._checkValidLatin1(source, start, end); - } - this[_addSliceToSink](source, start, end, isLast); - } - static _checkValidLatin1(source, start, 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; - } - if (mask >= 0 && mask <= 255) { - return; - } - convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); - } - static _reportInvalidLatin1(source, start, 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[99], 192, 12, "false"); - } - }; - (convert._Latin1DecoderSink.new = function(_sink) { - this[_sink$0] = _sink; - convert._Latin1DecoderSink.__proto__.new.call(this); - ; - }).prototype = convert._Latin1DecoderSink.prototype; - dart.addTypeTests(convert._Latin1DecoderSink); - dart.addTypeCaches(convert._Latin1DecoderSink); - dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - 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.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[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[105] || CT.C105, 0, 1, false); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_addSliceToSink](source, start, end, isLast); - } - if (dart.test(isLast)) { - this.close(); - } - } - }; - (convert._Latin1AllowInvalidDecoderSink.new = function(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[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[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[100], 52, 31, "data"); - let lines = T$.JSArrayOfString().of([]); - let end = data.length; - let sliceStart = 0; - let char = 0; - for (let i = 0; i < end; i = i + 1) { - let previousChar = char; - char = data[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = i + 1; - continue; - } - } - lines[$add](data[$substring](sliceStart, i)); - sliceStart = i + 1; - } - if (sliceStart < end) { - lines[$add](data[$substring](sliceStart, end)); - } - return lines; - } - startChunkedConversion(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[100], 81, 38, "stream"); - return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); - return new convert._LineSplitterEventSink.new(sink); - }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); - } - }; - (convert.LineSplitter.new = function() { - convert.LineSplitter.__proto__.new.call(this); - ; - }).prototype = convert.LineSplitter.prototype; - dart.addTypeTests(convert.LineSplitter); - dart.addTypeCaches(convert.LineSplitter); - dart.setMethodSignature(convert.LineSplitter, () => ({ - __proto__: dart.getMethods(convert.LineSplitter.__proto__), - convert: dart.fnType(core.List$(core.String), [core.String]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), - bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) - })); - 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[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(); - return; - } - let carry = this[_carry]; - if (carry != null) { - 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; - this[_carry] = null; - } else if (dart.test(this[_skipLeadingLF])) { - if (chunk[$codeUnitAt](start) === 10) { - start = dart.notNull(start) + 1; - } - this[_skipLeadingLF] = false; - } - this[_addLines](chunk, start, end); - if (dart.test(isLast)) this.close(); - } - close() { - if (this[_carry] != null) { - this[_sink$0].add(dart.nullCheck(this[_carry])); - this[_carry] = null; - } - this[_sink$0].close(); - } - [_addLines](lines, start, 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) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - this[_sink$0].add(lines[$substring](sliceStart, i)); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - this[_carry] = lines[$substring](sliceStart, end); - } else { - this[_skipLeadingLF] = char === 13; - } - } - }; - (convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); - this[_carry] = null; - this[_skipLeadingLF] = false; - this[_sink$0] = _sink; - ; - }).prototype = convert._LineSplitterSink.prototype; - dart.addTypeTests(convert._LineSplitterSink); - dart.addTypeCaches(convert._LineSplitterSink); - dart.setMethodSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []), - [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) - })); - dart.setLibraryUri(convert._LineSplitterSink, I[33]); - dart.setFieldSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_carry]: dart.fieldType(dart.nullable(core.String)), - [_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[100], 172, 24, "o"); - this[_eventSink].addError(o, stackTrace); - } - }; - (convert._LineSplitterEventSink.new = function(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)); - ; - }).prototype = convert._LineSplitterEventSink.prototype; - dart.addTypeTests(convert._LineSplitterEventSink); - dart.addTypeCaches(convert._LineSplitterEventSink); - convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; - 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[33]); - dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(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.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[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.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[89], 78, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } - write(o) { - this[_sink$0].write(o); - } - writeln(o = "") { - this[_sink$0].writeln(o); - } - writeAll(objects, 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[89], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); - this[_sink$0] = _sink; - this[_callback$] = _callback; - ; - }).prototype = convert._ClosableStringSink.prototype; - dart.addTypeTests(convert._ClosableStringSink); - dart.addTypeCaches(convert._ClosableStringSink); - convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; - dart.setMethodSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) - })); - dart.setLibraryUri(convert._ClosableStringSink, I[33]); - dart.setFieldSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getFields(convert._ClosableStringSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), - [_sink$0]: dart.finalFieldType(core.StringSink) - })); - 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[89], 113, 26, "charCode"); - this[_buffer$].writeCharCode(charCode); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - write(o) { - if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); - this[_chunkedSink$].add(dart.toString(o)); - } - writeln(o = "") { - this[_buffer$].writeln(o); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - writeAll(objects, 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; - if (separator[$isEmpty]) { - do { - this[_chunkedSink$].add(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - this[_chunkedSink$].add(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this[_chunkedSink$].add(dart.toString(iterator.current)); - } - } - } - [_flush]() { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].add(accumulated); - } - }; - (convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); - this[_chunkedSink$] = _chunkedSink; - this[_buffer$] = new core.StringBuffer.new(); - ; - }).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; - dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); - dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); - convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; - dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - [_flush]: dart.fnType(dart.void, []) - })); - 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 t154; - let accumulated = dart.toString(this[_stringSink$]); - this[_stringSink$].clear(); - t154 = accumulated; - this[_callback$](t154); - } - asUtf8Sink(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[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[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[89], 237, 19, "str"); - this[_sink$0].add(str); - } - addSlice(str, start, end, 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 { - this.add(str[$substring](start, end)); - } - if (dart.test(isLast)) this.close(); - } - close() { - this[_sink$0].close(); - } - }; - (convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); - this[_sink$0] = _sink; - ; - }).prototype = convert._StringAdapterSink.prototype; - dart.addTypeTests(convert._StringAdapterSink); - dart.addTypeCaches(convert._StringAdapterSink); - dart.setMethodSignature(convert._StringAdapterSink, () => ({ - __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) - })); - 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[89], 271, 22, "chunk"); - this.addSlice(chunk, 0, chunk[$length], false); - } - addSlice(codeUnits, startIndex, endIndex, 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[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); - convert._Utf8StringSinkAdapter.__proto__.new.call(this); - ; - }).prototype = convert._Utf8StringSinkAdapter.prototype; - dart.addTypeTests(convert._Utf8StringSinkAdapter); - dart.addTypeCaches(convert._Utf8StringSinkAdapter); - dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); - dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), - [_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)) { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); - } else { - this[_chunkedSink$].close(); - } - } - add(chunk) { - T$0.ListOfint().as(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[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$]); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); - this[_buffer$].clear(); - return; - } - if (dart.test(isLast)) this.close(); - } - }; - (convert._Utf8ConversionSink.new = function(sink, 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[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; - convert._Utf8ConversionSink.__proto__.new.call(this); - ; - }).prototype = convert._Utf8ConversionSink.prototype; - dart.addTypeTests(convert._Utf8ConversionSink); - dart.addTypeCaches(convert._Utf8ConversionSink); - dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); - dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), - [_buffer$]: dart.finalFieldType(core.StringBuffer) - })); - var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); - var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); - var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); - convert.Utf8Codec = class Utf8Codec extends convert.Encoding { - get [_allowMalformed$]() { - return this[_allowMalformed]; - } - 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 t154; - T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - 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[108] || CT.C108; - } - get decoder() { - 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[101], 40, 25, "allowMalformed"); - this[_allowMalformed] = allowMalformed; - convert.Utf8Codec.__proto__.new.call(this); - ; - }).prototype = convert.Utf8Codec.prototype; - dart.addTypeTests(convert.Utf8Codec); - dart.addTypeCaches(convert.Utf8Codec); - dart.setMethodSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getMethods(convert.Utf8Codec.__proto__), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) - })); - dart.setGetterSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getGetters(convert.Utf8Codec.__proto__), - name: core.String, - encoder: convert.Utf8Encoder, - decoder: convert.Utf8Decoder - })); - dart.setLibraryUri(convert.Utf8Codec, I[33]); - dart.setFieldSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getFields(convert.Utf8Codec.__proto__), - [_allowMalformed$]: dart.finalFieldType(core.bool) - })); - 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[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); - 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[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[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[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[101], 128, 41, "stream"); - return super.bind(stream); - } - }; - (convert.Utf8Encoder.new = function() { - convert.Utf8Encoder.__proto__.new.call(this); - ; - }).prototype = convert.Utf8Encoder.prototype; - dart.addTypeTests(convert.Utf8Encoder); - dart.addTypeCaches(convert.Utf8Encoder); - dart.setMethodSignature(convert.Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), - 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[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[101], 146, 38, "size"); - return _native_typed_data.NativeUint8List.new(size); - } - [_writeReplacementCharacter]() { - 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 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[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](); - return false; - } - } - [_fillBuffer](str, start, 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 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]((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); - let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); - if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; - } else if (dart.test(convert._isTailSurrogate(codeUnit))) { - if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; - this[_writeReplacementCharacter](); - } else { - let rune = codeUnit; - if (rune <= 2047) { - if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - 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[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); - if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - 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); - } - } - } - return stringIndex; - } - }; - (convert._Utf8Encoder.new = function() { - convert._Utf8Encoder.withBufferSize.call(this, 1024); - }).prototype = convert._Utf8Encoder.prototype; - (convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); - this[_carry] = 0; - this[_bufferIndex] = 0; - this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); - ; - }).prototype = convert._Utf8Encoder.prototype; - dart.addTypeTests(convert._Utf8Encoder); - dart.addTypeCaches(convert._Utf8Encoder); - dart.setMethodSignature(convert._Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), - [_writeReplacementCharacter]: dart.fnType(dart.void, []), - [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), - [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) - })); - 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; - } - }, false); - const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; - (_Utf8Encoder_StringConversionSinkMixin$36.new = function() { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); - }).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; - (_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); - }).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); - return; - } - this[_sink$0].close(); - } - addSlice(str, start, end, 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; - } - if (this[_carry] !== 0) { - let nextCodeUnit = 0; - if (start != end) { - nextCodeUnit = str[$codeUnitAt](start); - } else { - 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[101], 265, 14, "!wasCombined || start != end"); - if (dart.test(wasCombined)) start = dart.notNull(start) + 1; - this[_carry] = 0; - } - do { - start = this[_fillBuffer](str, start, end); - let isLastSlice = dart.test(isLast) && start == end; - if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { - if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { - this[_writeReplacementCharacter](); - } else { - this[_carry] = str[$codeUnitAt](start); - } - start = dart.notNull(start) + 1; - } - this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); - this[_bufferIndex] = 0; - } while (dart.notNull(start) < dart.notNull(end)); - if (dart.test(isLast)) this.close(); - } - }; - (convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); - this[_sink$0] = _sink; - convert._Utf8EncoderSink.__proto__.new.call(this); - ; - }).prototype = convert._Utf8EncoderSink.prototype; - dart.addTypeTests(convert._Utf8EncoderSink); - dart.addTypeCaches(convert._Utf8EncoderSink); - dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); - dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) - })); - const _allowMalformed$0 = Utf8Decoder__allowMalformed; - convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowMalformed$]() { - return this[_allowMalformed$0]; - } - set [_allowMalformed$](value) { - super[_allowMalformed$] = value; - } - static _convertInterceptedUint8List(allowMalformed, codeUnits, start, 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]) { - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); - } - let length = codeUnits[$length]; - end = core.RangeError.checkValidRange(start, end, length); - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); - } - static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); - try { - return decoder.decode(codeUnits); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[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; - } - return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - return stringSink.asUtf8Sink(this[_allowMalformed$]); - } - bind(stream) { - T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); - return super.bind(stream); - } - fuse(T, 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[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; - if (dart.notNull(end) - dart.notNull(start) < 15) { - return null; - } - let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); - if (result != null && dart.test(allowMalformed)) { - if (result.indexOf("�") >= 0) { - return null; - } - } - return result; - } - return null; - } - }; - (convert.Utf8Decoder.new = function(opts) { - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); - this[_allowMalformed$0] = allowMalformed; - convert.Utf8Decoder.__proto__.new.call(this); - ; - }).prototype = convert.Utf8Decoder.prototype; - dart.addTypeTests(convert.Utf8Decoder); - dart.addTypeCaches(convert.Utf8Decoder); - dart.setMethodSignature(convert.Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), - 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.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; - }, - /*convert.Utf8Decoder._decoder*/get _decoder() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: true}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - }, - /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: false}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - } - }, false); - 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[101], 528, 32, "state"); - return (dart.notNull(state) & 1) !== 0; - } - static errorDescription(state) { - if (state == null) dart.nullFailed(I[101], 530, 38, "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 ""; - } - } - } - 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[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[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[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; - let errorOffset = null; - if (typed_data.Uint8List.is(codeUnits)) { - bytes = codeUnits; - errorOffset = 0; - } else { - bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); - errorOffset = start; - end = dart.notNull(end) - dart.notNull(start); - start = 0; - } - let result = this[_convertRecursive](bytes, start, end, single); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { - let message = convert._Utf8Decoder.errorDescription(this[_state$0]); - this[_state$0] = 0; - dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); - } - return result; - } - [_convertRecursive](bytes, start, end, 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); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; - let s2 = this[_convertRecursive](bytes, mid, end, single); - return dart.notNull(s1) + dart.notNull(s2); - } - return this.decodeGeneral(bytes, start, end, single); - } - flush(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) { - return; - } - if (dart.test(this.allowMalformed)) { - sink.writeCharCode(65533); - } else { - dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); - } - } - decodeGeneral(bytes, start, end, 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]((t158 = i, i = dart.notNull(t158) + 1, t158)); - L1: - while (true) { - while (true) { - let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; - char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; - state = transitionTable[$codeUnitAt](dart.notNull(state) + type); - if (state === 0) { - buffer.writeCharCode(char); - if (i == end) break L1; - break; - } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { - if (dart.test(this.allowMalformed)) { - switch (state) { - case 69: - case 67: - { - buffer.writeCharCode(65533); - break; - } - case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } - default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } - } - state = 0; - } else { - this[_state$0] = state; - this[_charOrIndex] = dart.notNull(i) - 1; - return ""; - } - } - if (i == end) break L1; - byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); - } - let markStart = i; - 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]((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[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)); - } - } else { - buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); - } - if (markEnd == end) break; - } - } - if (dart.test(single) && dart.notNull(state) > 32) { - if (dart.test(this.allowMalformed)) { - buffer.writeCharCode(65533); - } else { - this[_state$0] = 77; - this[_charOrIndex] = end; - return ""; - } - } - this[_state$0] = state; - this[_charOrIndex] = char; - return buffer.toString(); - } - static _makeUint8List(codeUnits, start, 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) { - let b = codeUnits[$_get](dart.notNull(start) + i); - if ((dart.notNull(b) & ~255 >>> 0) !== 0) { - b = 255; - } - bytes[$_set](i, b); - } - return bytes; - } - }; - (convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); - this[_charOrIndex] = 0; - this.allowMalformed = allowMalformed; - this[_state$0] = 16; - ; - }).prototype = convert._Utf8Decoder.prototype; - dart.addTypeTests(convert._Utf8Decoder); - dart.addTypeCaches(convert._Utf8Decoder); - dart.setMethodSignature(convert._Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), - convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), - [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), - flush: dart.fnType(dart.void, [core.StringSink]), - decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) - })); - 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; - }, - /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { - return 61694; - }, - /*convert._Utf8Decoder.typeTable*/get typeTable() { - return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; - }, - /*convert._Utf8Decoder.IA*/get IA() { - return 0; - }, - /*convert._Utf8Decoder.BB*/get BB() { - return 16; - }, - /*convert._Utf8Decoder.AB*/get AB() { - return 32; - }, - /*convert._Utf8Decoder.X1*/get X1() { - return 48; - }, - /*convert._Utf8Decoder.X2*/get X2() { - return 58; - }, - /*convert._Utf8Decoder.X3*/get X3() { - return 68; - }, - /*convert._Utf8Decoder.TO*/get TO() { - return 78; - }, - /*convert._Utf8Decoder.TS*/get TS() { - return 88; - }, - /*convert._Utf8Decoder.QO*/get QO() { - return 98; - }, - /*convert._Utf8Decoder.QR*/get QR() { - return 108; - }, - /*convert._Utf8Decoder.B1*/get B1() { - return 118; - }, - /*convert._Utf8Decoder.B2*/get B2() { - return 128; - }, - /*convert._Utf8Decoder.E1*/get E1() { - return 65; - }, - /*convert._Utf8Decoder.E2*/get E2() { - return 67; - }, - /*convert._Utf8Decoder.E3*/get E3() { - return 69; - }, - /*convert._Utf8Decoder.E4*/get E4() { - return 71; - }, - /*convert._Utf8Decoder.E5*/get E5() { - return 73; - }, - /*convert._Utf8Decoder.E6*/get E6() { - return 75; - }, - /*convert._Utf8Decoder.E7*/get E7() { - return 77; - }, - /*convert._Utf8Decoder._IA*/get _IA() { - return ""; - }, - /*convert._Utf8Decoder._BB*/get _BB() { - return ""; - }, - /*convert._Utf8Decoder._AB*/get _AB() { - return " "; - }, - /*convert._Utf8Decoder._X1*/get _X1() { - return "0"; - }, - /*convert._Utf8Decoder._X2*/get _X2() { - return ":"; - }, - /*convert._Utf8Decoder._X3*/get _X3() { - return "D"; - }, - /*convert._Utf8Decoder._TO*/get _TO() { - return "N"; - }, - /*convert._Utf8Decoder._TS*/get _TS() { - return "X"; - }, - /*convert._Utf8Decoder._QO*/get _QO() { - return "b"; - }, - /*convert._Utf8Decoder._QR*/get _QR() { - return "l"; - }, - /*convert._Utf8Decoder._B1*/get _B1() { - return "v"; - }, - /*convert._Utf8Decoder._B2*/get _B2() { - return "€"; - }, - /*convert._Utf8Decoder._E1*/get _E1() { - return "A"; - }, - /*convert._Utf8Decoder._E2*/get _E2() { - return "C"; - }, - /*convert._Utf8Decoder._E3*/get _E3() { - return "E"; - }, - /*convert._Utf8Decoder._E4*/get _E4() { - return "G"; - }, - /*convert._Utf8Decoder._E5*/get _E5() { - return "I"; - }, - /*convert._Utf8Decoder._E6*/get _E6() { - return "K"; - }, - /*convert._Utf8Decoder._E7*/get _E7() { - return "M"; - }, - /*convert._Utf8Decoder.transitionTable*/get transitionTable() { - return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; - }, - /*convert._Utf8Decoder.initial*/get initial() { - return 0; - }, - /*convert._Utf8Decoder.accept*/get accept() { - return 0; - }, - /*convert._Utf8Decoder.beforeBom*/get beforeBom() { - return 16; - }, - /*convert._Utf8Decoder.afterBom*/get afterBom() { - return 32; - }, - /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { - return 65; - }, - /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { - return 67; - }, - /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { - return 69; - }, - /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { - return 71; - }, - /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { - return 73; - }, - /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { - return 75; - }, - /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { - return 77; - } - }, false); - convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); - function walk(e) { - if (e == null || typeof e != "object") { - return e; - } - if (Object.getPrototypeOf(e) === Array.prototype) { - for (let i = 0; i < e.length; i = i + 1) { - let item = e[i]; - e[i] = reviver(i, walk(item)); - } - return e; - } - let map = new convert._JsonMap.new(e); - let processed = map[_processed]; - let keys = map[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - let revived = reviver(key, walk(e[key])); - processed[key] = revived; - } - map[_original$] = processed; - return map; - } - dart.fn(walk, T$.dynamicTodynamic()); - return reviver(null, walk(json)); - }; - convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { - if (object == null) return null; - if (typeof object != "object") { - return object; - } - if (Object.getPrototypeOf(object) !== Array.prototype) { - return new convert._JsonMap.new(object); - } - for (let i = 0; i < object.length; i = i + 1) { - let item = object[i]; - object[i] = convert._convertJsonToDartLazy(item); - } - return object; - }; - convert.base64Encode = function base64Encode(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[96], 46, 34, "bytes"); - return convert.base64Url.encode(bytes); - }; - convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[96], 52, 31, "source"); - return convert.base64.decode(source); - }; - convert.jsonEncode = function jsonEncode(object, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - return convert.json.encode(object, {toEncodable: toEncodable}); - }; - convert.jsonDecode = function jsonDecode(source, opts) { - 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[88], 31, 19, "source"); - if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); - let parsed = null; - try { - parsed = JSON.parse(source); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new core.FormatException.new(String(e))); - } else - throw e$; - } - if (reviver == null) { - return convert._convertJsonToDartLazy(parsed); - } else { - return convert._convertJsonToDart(parsed, reviver); - } - }; - convert._defaultToEncodable = function _defaultToEncodable(object) { - return dart.dsend(object, 'toJson', []); - }; - convert._isLeadSurrogate = function _isLeadSurrogate(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[101], 391, 27, "codeUnit"); - return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; - }; - convert._combineSurrogatePair = function _combineSurrogatePair(lead, 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[109] || CT.C109; - }, - /*convert._asciiMask*/get _asciiMask() { - return 127; - }, - /*convert.base64*/get base64() { - return C[110] || CT.C110; - }, - /*convert.base64Url*/get base64Url() { - return C[111] || CT.C111; - }, - /*convert._paddingChar*/get _paddingChar() { - return 61; - }, - /*convert.htmlEscape*/get htmlEscape() { - return C[112] || CT.C112; - }, - /*convert.json*/get json() { - return C[113] || CT.C113; - }, - /*convert.latin1*/get latin1() { - return C[114] || CT.C114; - }, - /*convert._latin1Mask*/get _latin1Mask() { - return 255; - }, - /*convert._LF*/get _LF() { - return 10; - }, - /*convert._CR*/get _CR() { - return 13; - }, - /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { - return 65533; - }, - /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { - return 65279; - }, - /*convert.utf8*/get utf8() { - return C[115] || CT.C115; - }, - /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { - return 127; - }, - /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { - return 2047; - }, - /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { - return 65535; - }, - /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { - return 1114111; - }, - /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { - return 64512; - }, - /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { - return 1023; - }, - /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { - return 55296; - }, - /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { - return 56320; - } - }, 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 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; - } - if (developer._FakeUserTag._instances[$length] === 64) { - dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); - } - 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; - developer._currentTag = this; - return old; - } - }; - (developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[102], 200, 26, "label"); - this.label = label; - ; - }).prototype = developer._FakeUserTag.prototype; - dart.addTypeTests(developer._FakeUserTag); - dart.addTypeCaches(developer._FakeUserTag); - developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; - dart.setMethodSignature(developer._FakeUserTag, () => ({ - __proto__: dart.getMethods(developer._FakeUserTag.__proto__), - makeCurrent: dart.fnType(developer.UserTag, []) - })); - 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(); - }, - /*developer._FakeUserTag._defaultTag*/get _defaultTag() { - return developer._FakeUserTag.new("Default"); - } - }, false); - var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); - var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); - var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); - var _toString$ = dart.privateName(developer, "_toString"); - developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { - get result() { - return this[result$]; - } - set result(value) { - super.result = value; - } - get errorCode() { - return this[errorCode$]; - } - set errorCode(value) { - super.errorCode = value; - } - get errorDetail() { - return this[errorDetail$]; - } - 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[104], 60, 39, "errorCode"); - developer.ServiceExtensionResponse._validateErrorCode(errorCode); - if (errorCode === -32602) { - return "Invalid params"; - } - return "Server error"; - } - static _validateErrorCode(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; - } - dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); - } - isError() { - return this.errorCode != null && this.errorDetail != null; - } - [_toString$]() { - 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[104], 25, 42, "result"); - this[result$] = result; - this[errorCode$] = null; - this[errorDetail$] = null; - _internal.checkNotNullable(core.String, result, "result"); - }).prototype = developer.ServiceExtensionResponse.prototype; - (developer.ServiceExtensionResponse.error = function(errorCode, 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); - _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); - }).prototype = developer.ServiceExtensionResponse.prototype; - dart.addTypeTests(developer.ServiceExtensionResponse); - dart.addTypeCaches(developer.ServiceExtensionResponse); - dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ - __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), - isError: dart.fnType(core.bool, []), - [_toString$]: dart.fnType(core.String, []) - })); - 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.invalidParams*/get invalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { - return -32016; - } - }, 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; - } - }; - (developer.UserTag[dart.mixinNew] = function() { - }).prototype = developer.UserTag.prototype; - dart.addTypeTests(developer.UserTag); - dart.addTypeCaches(developer.UserTag); - 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; - } - }, false); - var name$10 = dart.privateName(developer, "Metric.name"); - var description$ = dart.privateName(developer, "Metric.description"); - developer.Metric = class Metric extends core.Object { - get name() { - return this[name$10]; - } - set name(value) { - super.name = value; - } - get description() { - return this[description$]; - } - set description(value) { - super.description = value; - } - }; - (developer.Metric.new = function(name, 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]("/")) { - dart.throw(new core.ArgumentError.new("Invalid Metric name.")); - } - }).prototype = developer.Metric.prototype; - dart.addTypeTests(developer.Metric); - dart.addTypeCaches(developer.Metric); - dart.setLibraryUri(developer.Metric, I[103]); - dart.setFieldSignature(developer.Metric, () => ({ - __proto__: dart.getFields(developer.Metric.__proto__), - name: dart.finalFieldType(core.String), - description: dart.finalFieldType(core.String) - })); - var min$ = dart.privateName(developer, "Gauge.min"); - var max$ = dart.privateName(developer, "Gauge.max"); - var _value = dart.privateName(developer, "_value"); - var _toJSON = dart.privateName(developer, "_toJSON"); - developer.Gauge = class Gauge extends developer.Metric { - get min() { - return this[min$]; - } - set min(value) { - super.min = value; - } - get max() { - return this[max$]; - } - set max(value) { - super.max = value; - } - get value() { - return this[_value]; - } - set value(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)) { - v = this.max; - } - 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[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; - developer.Gauge.__proto__.new.call(this, name, description); - core.ArgumentError.checkNotNull(core.double, this.min, "min"); - core.ArgumentError.checkNotNull(core.double, this.max, "max"); - if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); - }).prototype = developer.Gauge.prototype; - dart.addTypeTests(developer.Gauge); - dart.addTypeCaches(developer.Gauge); - dart.setMethodSignature(developer.Gauge, () => ({ - __proto__: dart.getMethods(developer.Gauge.__proto__), - [_toJSON]: dart.fnType(core.Map, []) - })); - dart.setGetterSignature(developer.Gauge, () => ({ - __proto__: dart.getGetters(developer.Gauge.__proto__), - value: core.double - })); - dart.setSetterSignature(developer.Gauge, () => ({ - __proto__: dart.getSetters(developer.Gauge.__proto__), - value: core.double - })); - dart.setLibraryUri(developer.Gauge, I[103]); - dart.setFieldSignature(developer.Gauge, () => ({ - __proto__: dart.getFields(developer.Gauge.__proto__), - min: dart.finalFieldType(core.double), - max: dart.finalFieldType(core.double), - [_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[105], 103, 20, "v"); - this[_value] = v; - } - [_toJSON]() { - let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); - return map; - } - }; - (developer.Counter.new = function(name, 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); - ; - }).prototype = developer.Counter.prototype; - dart.addTypeTests(developer.Counter); - dart.addTypeCaches(developer.Counter); - dart.setMethodSignature(developer.Counter, () => ({ - __proto__: dart.getMethods(developer.Counter.__proto__), - [_toJSON]: dart.fnType(core.Map, []) - })); - dart.setGetterSignature(developer.Counter, () => ({ - __proto__: dart.getGetters(developer.Counter.__proto__), - value: core.double - })); - dart.setSetterSignature(developer.Counter, () => ({ - __proto__: dart.getSetters(developer.Counter.__proto__), - value: core.double - })); - 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[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")); - } - developer.Metrics._metrics[$_set](metric.name, metric); - } - static deregister(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[105], 146, 38, "id"); - let metric = developer.Metrics._metrics[$_get](id); - if (metric == null) { - return null; - } - return convert.json.encode(metric[_toJSON]()); - } - static _printMetrics() { - let metrics = []; - for (let metric of developer.Metrics._metrics[$values]) { - metrics[$add](metric[_toJSON]()); - } - 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.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.IdentityMapOfString$Metric()).new(); - } - }, false); - var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); - var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); - var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); - developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { - get majorVersion() { - return this[majorVersion]; - } - set majorVersion(value) { - super.majorVersion = value; - } - get minorVersion() { - return this[minorVersion]; - } - set minorVersion(value) { - super.minorVersion = value; - } - get serverUri() { - return this[serverUri$]; - } - 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); - } else { - return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); - } - } - }; - (developer.ServiceProtocolInfo.new = function(serverUri) { - this[majorVersion] = developer._getServiceMajorVersion(); - this[minorVersion] = developer._getServiceMinorVersion(); - this[serverUri$] = serverUri; - ; - }).prototype = developer.ServiceProtocolInfo.prototype; - dart.addTypeTests(developer.ServiceProtocolInfo); - dart.addTypeCaches(developer.ServiceProtocolInfo); - 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), - minorVersion: dart.finalFieldType(core.int), - serverUri: dart.finalFieldType(dart.nullable(core.Uri)) - })); - dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); - 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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._getServerInfo(receivePort.sendPort); - 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[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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - 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[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.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$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 t159; - let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); - } - static step(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[107], 84, 23, "id"); - return new developer.Flow.__(11, id); - } - }; - (developer.Flow.__ = function(_type, 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$0] = id; - ; - }).prototype = developer.Flow.prototype; - dart.addTypeTests(developer.Flow); - dart.addTypeCaches(developer.Flow); - 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) - })); - var _startSync = dart.privateName(developer, "_startSync"); - developer.Timeline = class Timeline extends core.Object { - static startSync(name, opts) { - 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; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - developer.Timeline._stack[$add](null); - return; - } - let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); - developer.Timeline._stack[$add](block); - block[_startSync](); - } - static finishSync() { - ; - 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](); - if (block == null) { - return; - } - block.finish(); - } - static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[107], 146, 34, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let taskId = 0; - developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); - } - static timeSync(T, name, $function, opts) { - 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}); - try { - return $function(); - } finally { - developer.Timeline.finishSync(); - } - } - 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.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([]); - } - }, false); - var _stack = dart.privateName(developer, "_stack"); - var _parent = dart.privateName(developer, "_parent"); - var _filterKey = dart.privateName(developer, "_filterKey"); - 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[107], 221, 21, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - 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(); - if ($arguments != null) { - for (let key of $arguments[$keys]) { - map[$_set](key, $arguments[$_get](key)); - } - } - if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); - if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); - block[_start](map); - } - instant(name, opts) { - if (name == null) dart.nullFailed(I[107], 249, 23, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - if (this[_filterKey] != null) { - instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; - instantArguments[$_set]("filterKey", this[_filterKey]); - } - developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); - } - finish(opts) { - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - if (this[_stack][$length] === 0) { - dart.throw(new core.StateError.new("Uneven calls to start and finish")); - } - if (this[_filterKey] != null) { - $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; - $arguments[$_set]("filterKey", this[_filterKey]); - } - let block = this[_stack][$removeLast](); - if (block == null) { - return; - } - block[_finish]($arguments); - } - pass() { - if (dart.notNull(this[_stack][$length]) > 0) { - dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); - } - let r = this[_taskId$]; - return r; - } - }; - (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_AsyncBlockN().of([]); - this[_parent] = parent; - this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextTaskId(); - }).prototype = developer.TimelineTask.prototype; - (developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); - let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); - this[_parent] = null; - this[_filterKey] = filterKey; - this[_taskId$] = taskId; - core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); - }).prototype = developer.TimelineTask.prototype; - dart.addTypeTests(developer.TimelineTask); - dart.addTypeCaches(developer.TimelineTask); - dart.setMethodSignature(developer.TimelineTask, () => ({ - __proto__: dart.getMethods(developer.TimelineTask.__proto__), - start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), - pass: dart.fnType(core.int, []) - })); - 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$(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[107], 322, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); - } - [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); - } - }; - (developer._AsyncBlock.__ = function(name, _taskId) { - 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; - ; - }).prototype = developer._AsyncBlock.prototype; - dart.addTypeTests(developer._AsyncBlock); - dart.addTypeCaches(developer._AsyncBlock); - dart.setMethodSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getMethods(developer._AsyncBlock.__proto__), - [_start]: dart.fnType(dart.void, [core.Map]), - [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) - })); - dart.setLibraryUri(developer._AsyncBlock, I[103]); - dart.setFieldSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getFields(developer._AsyncBlock.__proto__), - name: dart.finalFieldType(core.String), - [_taskId$]: dart.finalFieldType(core.int) - })); - 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(this.taskId, 1, this.name, this[_jsonArguments]); - } - finish() { - 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)); - } - } - }; - (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); - dart.addTypeCaches(developer._SyncBlock); - dart.setMethodSignature(developer._SyncBlock, () => ({ - __proto__: dart.getMethods(developer._SyncBlock.__proto__), - [_startSync]: dart.fnType(dart.void, []), - finish: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getGetters(developer._SyncBlock.__proto__), - [_jsonArguments]: core.String - })); - dart.setLibraryUri(developer._SyncBlock, I[103]); - dart.setFieldSignature(developer._SyncBlock, () => ({ - __proto__: dart.getFields(developer._SyncBlock.__proto__), - name: dart.finalFieldType(core.String), - 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[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[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)); - let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); - let result = (yield method(methodName, parameters)); - resolve(result[_toString$]()); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - reject(dart.str(e)); - } else - throw e$; - } - }); - }); - }; - developer.debugger = function $debugger(opts) { - let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[102], 26, 21, "when"); - let message = opts && 'message' in opts ? opts.message : null; - if (dart.test(when)) { - debugger; - } - return when; - }; - developer.inspect = function inspect(object) { - console.debug("dart.developer.inspect", object); - return object; - }; - developer.log = function log(message, opts) { - 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[102], 45, 9, "level"); - let name = opts && 'name' in opts ? opts.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; - let items = {message: message, name: name, level: level}; - if (time != null) items.time = time; - if (sequenceNumber != null) { - items.sequenceNumber = sequenceNumber; - } - if (zone != null) items.zone = zone; - if (error != null) items.error = error; - if (stackTrace != null) items.stackTrace = stackTrace; - console.debug("dart.developer.log", items); - }; - developer.registerExtension = function registerExtension$(method, handler) { - 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))); - } - _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); - developer._registerExtension(method, handler); - }; - developer.postEvent = function postEvent(eventKind, 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[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[102], 69, 50, "method"); - return developer._extensions[$_get](method); - }; - developer._registerExtension = function _registerExtension(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[102], 174, 30, "sendPort"); - sendPort.send(null); - }; - developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - 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() { - return 0; - }; - developer._getServiceMinorVersion = function _getServiceMinorVersion() { - return 0; - }; - developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); - return null; - }; - developer._argumentsAsJson = function _argumentsAsJson($arguments) { - if ($arguments == null || $arguments[$length] === 0) { - return "{}"; - } - return convert.json.encode($arguments); - }; - developer._isDartStreamEnabled = function _isDartStreamEnabled() { - return false; - }; - developer._getNextTaskId = function _getNextTaskId() { - return 0; - }; - developer._getTraceClock = function _getTraceClock() { - 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(value) { - if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); - }, - /*developer._currentTag*/get _currentTag() { - return developer._FakeUserTag._defaultTag; - }, - 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 { - toString() { - return "IOException"; - } - }; - (io.IOException.new = function() { - ; - }).prototype = io.IOException.prototype; - dart.addTypeTests(io.IOException); - dart.addTypeCaches(io.IOException); - io.IOException[dart.implements] = () => [core.Exception]; - 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"); - io.OSError = class OSError extends core.Object { - get message() { - return this[message$2]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$0]; - } - 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 t161, t161$, t161$0; - let sb = new core.StringBuffer.new(); - sb.write("OS Error"); - if (this.message[$isNotEmpty]) { - t161 = sb; - (() => { - t161.write(": "); - t161.write(this.message); - return t161; - })(); - if (this.errorCode !== -1) { - t161$ = sb; - (() => { - t161$.write(", errno = "); - t161$.write(dart.toString(this.errorCode)); - return t161$; - })(); - } - } else if (this.errorCode !== -1) { - t161$0 = sb; - (() => { - 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[109], 75, 23, "message"); - if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); - this[message$2] = message; - this[errorCode$0] = errorCode; - ; - }).prototype = io.OSError.prototype; - dart.addTypeTests(io.OSError); - dart.addTypeCaches(io.OSError); - io.OSError[dart.implements] = () => [core.Exception]; - 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 { - 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[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[108]); - dart.setFieldSignature(io._BufferAndStart, () => ({ - __proto__: dart.getFields(io._BufferAndStart.__proto__), - buffer: dart.fieldType(core.List$(core.int)), - start: dart.fieldType(core.int) - })); - io._IOCrypto = class _IOCrypto extends core.Object { - static getRandomBytes(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.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[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.maxWindowBits*/get maxWindowBits() { - return 15; - }, - /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { - return 15; - }, - /*io.ZLibOption.minLevel*/get minLevel() { - return -1; - }, - /*io.ZLibOption.maxLevel*/get maxLevel() { - return 9; - }, - /*io.ZLibOption.defaultLevel*/get defaultLevel() { - return 6; - }, - /*io.ZLibOption.minMemLevel*/get minMemLevel() { - return 1; - }, - /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { - return 9; - }, - /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { - return 8; - }, - /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { - return 1; - }, - /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { - return 2; - }, - /*io.ZLibOption.strategyRle*/get strategyRle() { - return 3; - }, - /*io.ZLibOption.strategyFixed*/get strategyFixed() { - return 4; - }, - /*io.ZLibOption.strategyDefault*/get strategyDefault() { - return 0; - } - }, false); - var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); - var level$ = dart.privateName(io, "ZLibCodec.level"); - var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); - var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); - var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); - var raw$ = dart.privateName(io, "ZLibCodec.raw"); - var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); - io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$]; - } - set windowBits(value) { - super.windowBits = value; - } - get raw() { - return this[raw$]; - } - set raw(value) { - super.raw = value; - } - get dictionary() { - return this[dictionary$]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } - }; - (io.ZLibCodec.new = function(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"); - this[level$] = level; - this[windowBits$] = windowBits; - this[memLevel$] = memLevel; - this[strategy$] = strategy; - this[dictionary$] = dictionary; - this[raw$] = raw; - this[gzip$] = gzip; - io.ZLibCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); - }).prototype = io.ZLibCodec.prototype; - (io.ZLibCodec._default = function() { - this[level$] = 6; - this[windowBits$] = 15; - this[memLevel$] = 8; - this[strategy$] = 0; - this[raw$] = false; - this[gzip$] = false; - this[dictionary$] = null; - io.ZLibCodec.__proto__.new.call(this); - ; - }).prototype = io.ZLibCodec.prototype; - dart.addTypeTests(io.ZLibCodec); - dart.addTypeCaches(io.ZLibCodec); - dart.setGetterSignature(io.ZLibCodec, () => ({ - __proto__: dart.getGetters(io.ZLibCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder - })); - dart.setLibraryUri(io.ZLibCodec, I[108]); - dart.setFieldSignature(io.ZLibCodec, () => ({ - __proto__: dart.getFields(io.ZLibCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - raw: dart.finalFieldType(core.bool), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) - })); - var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); - var level$0 = dart.privateName(io, "GZipCodec.level"); - var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); - var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); - var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); - var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); - var raw$0 = dart.privateName(io, "GZipCodec.raw"); - io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$0]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$0]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$0]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$0]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$0]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$0]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$0]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } - }; - (io.GZipCodec.new = function(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"); - this[level$0] = level; - this[windowBits$0] = windowBits; - this[memLevel$0] = memLevel; - this[strategy$0] = strategy; - this[dictionary$0] = dictionary; - this[raw$0] = raw; - this[gzip$0] = gzip; - io.GZipCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); - }).prototype = io.GZipCodec.prototype; - (io.GZipCodec._default = function() { - this[level$0] = 6; - this[windowBits$0] = 15; - this[memLevel$0] = 8; - this[strategy$0] = 0; - this[raw$0] = false; - this[gzip$0] = true; - this[dictionary$0] = null; - io.GZipCodec.__proto__.new.call(this); - ; - }).prototype = io.GZipCodec.prototype; - dart.addTypeTests(io.GZipCodec); - dart.addTypeCaches(io.GZipCodec); - dart.setGetterSignature(io.GZipCodec, () => ({ - __proto__: dart.getGetters(io.GZipCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder - })); - dart.setLibraryUri(io.GZipCodec, I[108]); - dart.setFieldSignature(io.GZipCodec, () => ({ - __proto__: dart.getFields(io.GZipCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) - })); - var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); - var level$1 = dart.privateName(io, "ZLibEncoder.level"); - var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); - var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); - var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); - var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); - var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); - io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$1]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$1]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$1]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$1]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$1]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$1]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$1]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); - } - }; - (io.ZLibEncoder.new = function(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"); - this[gzip$1] = gzip; - this[level$1] = level; - this[windowBits$1] = windowBits; - this[memLevel$1] = memLevel; - this[strategy$1] = strategy; - this[dictionary$1] = dictionary; - this[raw$1] = raw; - io.ZLibEncoder.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); - }).prototype = io.ZLibEncoder.prototype; - dart.addTypeTests(io.ZLibEncoder); - dart.addTypeCaches(io.ZLibEncoder); - dart.setMethodSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getMethods(io.ZLibEncoder.__proto__), - 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[108]); - dart.setFieldSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getFields(io.ZLibEncoder.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) - })); - var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); - var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); - var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); - io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get windowBits() { - return this[windowBits$2]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$2]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$2]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); - } - }; - (io.ZLibDecoder.new = function(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"); - this[windowBits$2] = windowBits; - this[dictionary$2] = dictionary; - this[raw$2] = raw; - io.ZLibDecoder.__proto__.new.call(this); - io._validateZLibWindowBits(this.windowBits); - }).prototype = io.ZLibDecoder.prototype; - dart.addTypeTests(io.ZLibDecoder); - dart.addTypeCaches(io.ZLibDecoder); - dart.setMethodSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getMethods(io.ZLibDecoder.__proto__), - 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[108]); - dart.setFieldSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getFields(io.ZLibDecoder.__proto__), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) - })); - 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[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._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[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._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[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[110], 678, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); - dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); - } - }; - (io.RawZLibFilter[dart.mixinNew] = function() { - }).prototype = io.RawZLibFilter.prototype; - dart.addTypeTests(io.RawZLibFilter); - dart.addTypeCaches(io.RawZLibFilter); - 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[111], 440, 22, "chunk"); - this.builder.add(chunk); - } - addSlice(chunk, start, end, 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))); - } else { - this.builder.add(chunk[$sublist](start, end)); - } - } - close() { - } - static ['_#new#tearOff']() { - return new io._BufferSink.new(); - } - }; - (io._BufferSink.new = function() { - this.builder = _internal.BytesBuilder.new({copy: false}); - io._BufferSink.__proto__.new.call(this); - ; - }).prototype = io._BufferSink.prototype; - dart.addTypeTests(io._BufferSink); - dart.addTypeCaches(io._BufferSink); - dart.setMethodSignature(io._BufferSink, () => ({ - __proto__: dart.getMethods(io._BufferSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); - dart.setFieldSignature(io._BufferSink, () => ({ - __proto__: dart.getFields(io._BufferSink.__proto__), - builder: dart.finalFieldType(_internal.BytesBuilder) - })); - var _closed = dart.privateName(io, "_closed"); - 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[111], 488, 22, "data"); - this.addSlice(data, 0, data[$length], false); - } - addSlice(data, start, end, 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]); - try { - this[_empty] = false; - let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); - this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - let out = null; - while (true) { - let out = this[_filter$].processed({flush: false}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.rethrow(e$); - } else - throw e$; - } - if (dart.test(isLast)) this.close(); - } - close() { - if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); - try { - while (true) { - let out = this[_filter$].processed({end: true}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.throw(e); - } else - throw e$; - } - this[_closed] = true; - this[_sink$1].close(); - } - }; - (io._FilterSink.new = function(_sink, _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; - this[_filter$] = _filter; - io._FilterSink.__proto__.new.call(this); - ; - }).prototype = io._FilterSink.prototype; - dart.addTypeTests(io._FilterSink); - dart.addTypeCaches(io._FilterSink); - dart.setMethodSignature(io._FilterSink, () => ({ - __proto__: dart.getMethods(io._FilterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); - dart.setFieldSignature(io._FilterSink, () => ({ - __proto__: dart.getFields(io._FilterSink.__proto__), - [_filter$]: dart.finalFieldType(io.RawZLibFilter), - [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), - [_closed]: dart.fieldType(core.bool), - [_empty]: dart.fieldType(core.bool) - })); - 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[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[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[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[108]); - io.Directory = class Directory extends core.Object { - static new(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[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[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) { - return io._Directory.current; - } - return overrides.getCurrentDirectory(); - } - static set current(path) { - let overrides = io.IOOverrides.current; - if (overrides == null) { - io._Directory.current = path; - return; - } - overrides.setCurrentDirectory(core.String.as(path)); - } - static get systemTemp() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._Directory.systemTemp; - } - return overrides.getSystemTempDirectory(); - } - }; - (io.Directory[dart.mixinNew] = function() { - }).prototype = io.Directory.prototype; - dart.addTypeTests(io.Directory); - dart.addTypeCaches(io.Directory); - io.Directory[dart.implements] = () => [io.FileSystemEntity]; - 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 _absolutePath = dart.privateName(io, "_absolutePath"); - var _delete = dart.privateName(io, "_delete"); - var _deleteSync = dart.privateName(io, "_deleteSync"); - io.FileSystemEntity = class FileSystemEntity extends core.Object { - get uri() { - return core._Uri.file(this.path); - } - resolveSymbolicLinks() { - return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - 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$]); - io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); - return core.String.as(result); - } - stat() { - return io.FileStat.stat(this.path); - } - statSync() { - return io.FileStat.statSync(this.path); - } - delete(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[114], 468, 12, "events"); - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - return io._FileSystemWatcher._watch(trimmedPath, events, recursive); - } - return overrides.fsWatch(trimmedPath, events, recursive); - } - static _identical(path1, 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 => { - 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[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); - } - return overrides.fseIdentical(path1, path2); - } - get isAbsolute() { - return io.FileSystemEntity._isAbsolute(this.path); - } - static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[114], 533, 34, "path"); - if (dart.test(io.Platform.isWindows)) { - return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); - } else { - return path[$startsWith]("/"); - } - } - get [_absolutePath]() { - if (dart.test(this.isAbsolute)) return this.path; - if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); - let current = io.Directory.current.path; - if (current[$endsWith]("/")) { - return dart.str(current) + dart.str(this.path); - } else { - return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); - } - } - static _windowsDriveLetter(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[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[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); - } - if (current[$startsWith]("\\\\")) { - let serverEnd = current[$indexOf]("\\", 2); - if (serverEnd >= 0) { - let shareEnd = current[$indexOf]("\\", serverEnd + 1); - if (shareEnd < 0) shareEnd = current.length; - return current[$substring](0, shareEnd) + dart.str(path); - } - } - return path; - } - let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); - if (dart.notNull(entityDrive) >= 0) { - if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { - return path[$_get](0) + ":\\" + dart.str(path); - } - path = path[$substring](2); - 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); - } - return dart.str(current) + "\\" + dart.str(path); - } - static _identicalSync(path1, 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[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); - } - return overrides.fseIdenticalSync(path1, path2); - } - static get isWatchSupported() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._FileSystemWatcher.isSupported; - } - return overrides.fsWatchIsSupported(); - } - static _toUtf8Array(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[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; - } else { - return l; - } - } - static _toStringFromUtf8Array(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); - } - return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); - } - static type(path, opts) { - 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[114], 692, 13, "followLinks"); - return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static typeSync(path, opts) { - 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[114], 703, 59, "followLinks"); - return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static isLink(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[114], 713, 44, "rawPath"); - return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(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[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[114], 720, 14, "type"); - return dart.equals(type, io.FileSystemEntityType.file); - }, T$0.FileSystemEntityTypeTobool())); - } - static isDirectory(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[114], 727, 18, "type"); - return dart.equals(type, io.FileSystemEntityType.directory); - }, T$0.FileSystemEntityTypeTobool())); - } - static isLinkSync(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[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[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[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[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[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[114], 773, 33, "path"); - let rootEnd = -1; - if (dart.test(io.Platform.isWindows)) { - if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { - rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); - if (rootEnd === -1) return path; - } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { - rootEnd = 0; - } - } else if (path[$startsWith]("/")) { - rootEnd = 0; - } - let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); - if (pos > rootEnd) { - return path[$substring](0, pos + 1); - } else if (rootEnd > -1) { - return path[$substring](0, rootEnd + 1); - } else { - return "."; - } - } - get parent() { - return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); - } - static _getTypeSyncHelper(rawPath, 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[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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _getTypeRequest(rawPath, 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 => { - io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); - return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.ObjectNToFileSystemEntityType())); - } - static _getType(rawPath, 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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _throwIfError(result, msg, path = null) { - 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)) { - dart.throw(result); - } - } - static _trimTrailingPathSeparators(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]("/"))) { - path = path[$substring](0, path.length - 1); - } - } else { - while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { - path = path[$substring](0, path.length - 1); - } - } - return path; - } - static _ensureTrailingPathSeparators(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]("/")) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } else { - while (!path[$endsWith](io.Platform.pathSeparator)) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } - return path; - } - }; - (io.FileSystemEntity.new = function() { - ; - }).prototype = io.FileSystemEntity.prototype; - dart.addTypeTests(io.FileSystemEntity); - dart.addTypeCaches(io.FileSystemEntity); - dart.setMethodSignature(io.FileSystemEntity, () => ({ - __proto__: dart.getMethods(io.FileSystemEntity.__proto__), - resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), - resolveSymbolicLinksSync: dart.fnType(core.String, []), - stat: dart.fnType(async.Future$(io.FileStat), []), - statSync: dart.fnType(io.FileStat, []), - delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), - 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, - isAbsolute: core.bool, - [_absolutePath]: core.String, - parent: io.Directory - })); - 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; - }, - /*io.FileSystemEntity._slashChar*/get _slashChar() { - return 47; - }, - /*io.FileSystemEntity._colonChar*/get _colonChar() { - return 58; - }, - /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { - return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); - }, - /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { - return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); - } - }, false); - io._Directory = class _Directory extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath]; - } - 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[110], 14, 30, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._current")); - } - static _setCurrent(namespace, 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[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[110], 29, 40, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); - } - static _exists(namespace, 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[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[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[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[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(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); - } - return new io._Directory.new(core.String.as(result)); - } - static set current(path) { - let _rawPath = null; - let _rawPath$35isSet = false; - function _rawPath$35get() { - return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); - } - function _rawPath$35set(_rawPath$35param) { - if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); - _rawPath$35isSet = true; - return _rawPath = _rawPath$35param; - } - if (io._Directory.is(path)) { - _rawPath$35set(path[_rawPath$]); - } else if (io.Directory.is(path)) { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); - } else if (typeof path == 'string') { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); - } else { - dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); - } - if (!dart.test(io._EmbedderConfig._mayChdir)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); - } - 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(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(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - io._checkForErrorResponse(response, "Exists failed", this.path); - return dart.equals(response, 1); - }, T$.ObjectNTobool())); - } - existsSync() { - let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); - } - return dart.equals(result, 1); - } - get absolute() { - return io.Directory.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[113], 104, 55, "_"); - return this.create(); - }, T$0.DirectoryToFutureOfDirectory())); - } else { - return this.create(); - } - }, T$0.boolToFutureOrOfDirectory())); - } else { - 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.ObjectNTo_Directory())); - } - } - createSync(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - this.parent.createSync({recursive: true}); - } - } - let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); - } - } - static get systemTemp() { - return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); - } - createTemp(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - 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.ObjectNToDirectory())); - } - createTempSync(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); - if (io.OSError.is(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[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.ObjectNTo_Directory())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); - } - } - rename(newPath) { - 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.ObjectNToDirectory())); - } - renameSync(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(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[113], 216, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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[113], 228, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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([]); - io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); - return result; - } - toString() { - return "Directory: '" + dart.str(this.path) + "'"; - } - static _checkNotNull(T, t, 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[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[113], 15, 36, "rawPath"); - this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); - this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; - }).prototype = io._Directory.prototype; - dart.addTypeTests(io._Directory); - dart.addTypeCaches(io._Directory); - io._Directory[dart.implements] = () => [io.Directory]; - dart.setMethodSignature(io._Directory, () => ({ - __proto__: dart.getMethods(io._Directory.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), - createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), - [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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}, {}) - })); - 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.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), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) - })); - dart.defineExtensionMethods(io._Directory, ['toString']); - io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { - static new(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.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 t167; - t167 = this[_ops]; - return t167 == null ? null : t167.getPointer(); - } - get stream() { - return this.controller.stream; - } - onListen() { - 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(); - } else if (core.Error.is(response)) { - this.controller.addError(response, response[$stackTrace]); - this.close(); - } else { - this.error(T$.ListOfObjectN().as(response)); - this.close(); - } - }, T$0.ObjectNToNull())); - } - onResume() { - if (!dart.test(this.nextRunning)) { - this.next(); - } - } - onCancel() { - this.canceled = true; - if (!dart.test(this.nextRunning)) { - this.close(); - } - return this.closeCompleter.future; - } - next() { - if (dart.test(this.canceled)) { - this.close(); - return; - } - if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { - return; - } - let pointer = this[_pointer](); - if (pointer == null) { - return; - } - this.nextRunning = true; - 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[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[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; - } - case 1: - { - 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; - } - case 3: - { - this.error(T$.ListOfObjectN().as(result[$_get](i))); - break; - } - case 4: - { - this.canceled = true; - return; - } - } - } - } else { - this.controller.addError(new io.FileSystemException.new("Internal error")); - } - }, T$0.ObjectNToNull())); - } - [_cleanup]() { - this.controller.close(); - this.closeCompleter.complete(); - this[_ops] = null; - } - close() { - if (dart.test(this.closed)) { - return; - } - if (dart.test(this.nextRunning)) { - return; - } - this.closed = true; - let pointer = this[_pointer](); - if (pointer == null) { - this[_cleanup](); - } else { - io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); - } - } - error(message) { - 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 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(errorPath, {allowMalformed: true}); - } - 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 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; - this.closed = false; - this[_ops] = null; - this.closeCompleter = async.Completer.new(); - this.rawPath = rawPath; - this.recursive = recursive; - this.followLinks = followLinks; - t167 = this.controller; - (() => { - 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); - dart.addTypeCaches(io._AsyncDirectoryLister); - dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), - [_pointer]: dart.fnType(dart.nullable(core.int), []), - onListen: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - onCancel: dart.fnType(async.Future, []), - next: dart.fnType(dart.void, []), - [_cleanup]: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - 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[108]); - dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), - rawPath: dart.finalFieldType(typed_data.Uint8List), - recursive: dart.finalFieldType(core.bool), - followLinks: dart.finalFieldType(core.bool), - controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), - canceled: dart.fieldType(core.bool), - nextRunning: dart.fieldType(core.bool), - closed: dart.fieldType(core.bool), - [_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; - }, - /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { - return 1; - }, - /*io._AsyncDirectoryLister.listLink*/get listLink() { - return 2; - }, - /*io._AsyncDirectoryLister.listError*/get listError() { - return 3; - }, - /*io._AsyncDirectoryLister.listDone*/get listDone() { - return 4; - }, - /*io._AsyncDirectoryLister.responseType*/get responseType() { - return 0; - }, - /*io._AsyncDirectoryLister.responsePath*/get responsePath() { - return 1; - }, - /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { - return 1; - }, - /*io._AsyncDirectoryLister.responseError*/get responseError() { - return 2; - } - }, false); - 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[108]); - dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); - dart.defineLazy(io._EmbedderConfig, { - /*io._EmbedderConfig._mayChdir*/get _mayChdir() { - return true; - }, - set _mayChdir(value) { - if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); - }, - /*io._EmbedderConfig._mayExit*/get _mayExit() { - return true; - }, - set _mayExit(value) { - if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); - }, - /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { - return true; - }, - set _maySetEchoMode(value) { - if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); - }, - /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { - return true; - }, - set _maySetEchoNewlineMode(value) { - if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); - }, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { - return true; - }, - set _maySetLineMode(value) { - if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); - }, - /*io._EmbedderConfig._maySleep*/get _maySleep() { - return true; - }, - 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[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.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 { - get [_mode]() { - return this[_mode$]; - } - 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[116], 32, 33, "_mode"); - this[_mode$] = _mode; - ; - }).prototype = io.FileMode.prototype; - dart.addTypeTests(io.FileMode); - dart.addTypeCaches(io.FileMode); - 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[116] || CT.C116; - }, - /*io.FileMode.write*/get write() { - return C[117] || CT.C117; - }, - /*io.FileMode.append*/get append() { - return C[118] || CT.C118; - }, - /*io.FileMode.writeOnly*/get writeOnly() { - return C[119] || CT.C119; - }, - /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[120] || CT.C120; - } - }, false); - var _type$1 = dart.privateName(io, "FileLock._type"); - var _type = dart.privateName(io, "_type"); - io.FileLock = class FileLock extends core.Object { - get [_type]() { - return this[_type$1]; - } - 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[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[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[121] || CT.C121; - }, - /*io.FileLock.exclusive*/get exclusive() { - return C[122] || CT.C122; - }, - /*io.FileLock.blockingShared*/get blockingShared() { - return C[123] || CT.C123; - }, - /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[124] || CT.C124; - } - }, false); - io.File = class File extends core.Object { - static new(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[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[116], 210, 38, "rawPath"); - return new io._File.fromRawPath(rawPath); - } - }; - (io.File[dart.mixinNew] = function() { - }).prototype = io.File.prototype; - dart.addTypeTests(io.File); - dart.addTypeCaches(io.File); - io.File[dart.implements] = () => [io.FileSystemEntity]; - 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[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]; - } - set message(value) { - super.message = value; - } - get path() { - return this[path$]; - } - set path(value) { - super.path = value; - } - get osError() { - return this[osError$]; - } - set osError(value) { - super.osError = value; - } - 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(className); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - } else if (this.path != null) { - sb.write(": " + dart.str(this.path)); - } - return sb.toString(); - } - toString() { - return this[_toStringHelper]("FileSystemException"); - } - }; - (io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[116], 895, 35, "message"); - this[message$3] = message; - this[path$] = path; - this[osError$] = osError; - ; - }).prototype = io.FileSystemException.prototype; - dart.addTypeTests(io.FileSystemException); - dart.addTypeCaches(io.FileSystemException); - io.FileSystemException[dart.implements] = () => [io.IOException]; - 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), - path: dart.finalFieldType(dart.nullable(core.String)), - 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 _closeCompleter = dart.privateName(io, "_closeCompleter"); - var _unsubscribed = dart.privateName(io, "_unsubscribed"); - var _readInProgress = dart.privateName(io, "_readInProgress"); - var _atEnd = dart.privateName(io, "_atEnd"); - 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 _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 t167; - return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); - this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = _controller$35param; - } - static ['_#new#tearOff'](_path, position, _end) { - return new io._FileStream.new(_path, position, _end); - } - static ['_#forStdin#tearOff']() { - return new io._FileStream.forStdin(); - } - 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$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { - this[_unsubscribed] = true; - return this[_closeFile](); - }, T$0.VoidToFuture())}); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - [_closeFile]() { - if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { - return this[_closeCompleter].future; - } - this[_closed] = true; - const done = () => { - this[_closeCompleter].complete(); - this[_controller].close(); - }; - dart.fn(done, T$.VoidTovoid()); - dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); - return this[_closeCompleter].future; - } - [_readBlock]() { - if (dart.test(this[_readInProgress])) return; - if (dart.test(this[_atEnd])) { - this[_closeFile](); - return; - } - this[_readInProgress] = true; - let readBytes = 65536; - let end = this[_end$0]; - if (end != null) { - readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); - if (readBytes < 0) { - this[_readInProgress] = false; - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); - this[_closeFile](); - this[_unsubscribed] = true; - } - return; - } - } - 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 (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](); - } - if (dart.notNull(block[$length]) > 0) { - this[_controller].add(block); - } - if (dart.test(this[_atEnd])) { - this[_closeFile](); - } - }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - this[_closeFile](); - this[_unsubscribed] = true; - } - }, T$.dynamicAnddynamicToNull())); - } - [_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(); - this[_closeCompleter].complete(); - return; - } - const onReady = 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[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)); - this[_readInProgress] = false; - this[_closeFile](); - }, T$.dynamicAnddynamicToNull())}); - } else { - onReady(file); - } - }; - dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); - const openFailed = (error, stackTrace) => { - this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controller].close(); - this[_closeCompleter].complete(); - }; - dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); - let path = this[_path$0]; - 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 { - onOpenFile(io._File._openStdioSync(0)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - openFailed(e, s); - } else - throw e$; - } - } - } - }; - (io._FileStream.new = function(_path, position, _end) { - let t167; - 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[_openedFile] = null; - this[_path$0] = _path; - 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[_closeCompleter] = async.Completer.new(); - this[_unsubscribed] = false; - this[_readInProgress] = true; - this[_closed] = false; - this[_atEnd] = false; - 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; - dart.addTypeTests(io._FileStream); - dart.addTypeCaches(io._FileStream); - dart.setMethodSignature(io._FileStream, () => ({ - __proto__: dart.getMethods(io._FileStream.__proto__), - 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$2]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(io._FileStream, () => ({ - __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) - })); - dart.setSetterSignature(io._FileStream, () => ({ - __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) - })); - 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)), - [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [_position$]: dart.fieldType(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), - [_closed]: dart.fieldType(core.bool), - [_atEnd]: dart.fieldType(core.bool) - })); - 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[117], 186, 45, "stream"); - let completer = T$0.CompleterOfFileN().sync(); - this[_openFuture].then(core.Null, dart.fn(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")); - } - function _subscription$35set(_subscription$35param) { - if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); - _subscription$35isSet = true; - return _subscription = _subscription$35param; - } - function error(e, 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[117], 196, 38, "d"); - _subscription$35get().pause(); - try { - openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); - return _subscription$35get().resume(); - }, T$0.RandomAccessFileTovoid()), {onError: error}); - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - error(e, stackTrace); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { - completer.complete(this[_file]); - }, T$.VoidTovoid()), onError: error, cancelOnError: true})); - }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); - return completer.future; - } - close() { - return this[_openFuture].then(dart.void, dart.fn(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[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[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, () => ({ - __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), - 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[108]); - dart.setFieldSignature(io._FileStreamConsumer, () => ({ - __proto__: dart.getFields(io._FileStreamConsumer.__proto__), - [_file]: dart.fieldType(dart.nullable(io.File)), - [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) - })); - var _path$1 = dart.privateName(io, "_File._path"); - var _rawPath$0 = dart.privateName(io, "_File._rawPath"); - var _tryDecode = dart.privateName(io, "_tryDecode"); - io._File = class _File extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$1]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$0]; - } - 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]; - } - static _namespacePointer() { - return io._Namespace._namespacePointer; - } - static _dispatchWithNamespace(request, 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 => { - 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[110], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._exists")); - } - existsSync() { - let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); - return core.bool.as(result); - } - get absolute() { - return io.File.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(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.ObjectNTo_File())); - } - 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[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[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[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$], 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[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[117], 294, 64, "_"); - return this; - }, T$0.FileSystemEntityTo_File())); - } - return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete file", this.path); - return this; - }, T$0.ObjectNTo_File())); - } - static _deleteNative(namespace, 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[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[117], 307, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _rename(namespace, oldPath, 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[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[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[117], 336, 28, "newPath"); - return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _copy(namespace, oldPath, 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[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[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 => { - io._checkForErrorResponse(response, "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.ObjectNTo_RandomAccessFile())); - } - length() { - return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - 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[110], 161, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); - } - lengthSync() { - let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); - return core.int.as(result); - } - lastAccessed() { - return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastAccessed(namespace, 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() { - let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastAccessed(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 => { - io._checkForErrorResponse(response, "Cannot set access time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastAccessed(namespace, rawPath, 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[117], 414, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); - } - } - lastModified() { - return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastModified(namespace, 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() { - let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastModified(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 => { - io._checkForErrorResponse(response, "Cannot set modification time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastModified(namespace, rawPath, 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[117], 453, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); - } - } - static _open(namespace, rawPath, 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[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")); - } - let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); - io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); - } - static _openStdio(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[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))); - } - return new io._RandomAccessFile.new(id, ""); - } - openRead(start = null, end = null) { - return new io._FileStream.new(this.path, start, end); - } - openWrite(opts) { - 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")); - } - let consumer = new io._FileStreamConsumer.new(this, mode); - return io.IOSink.new(consumer, {encoding: encoding}); - } - readAsBytes() { - function readDataChunked(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[117], 507, 37, "data"); - if (dart.notNull(data[$length]) > 0) { - builder.add(data); - read(); - } else { - completer.complete(builder.takeBytes()); - } - }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); - } - dart.fn(read, T$.VoidTovoid()); - read(); - return completer.future; - } - dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); - return this.open().then(typed_data.Uint8List, dart.fn(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[117], 522, 34, "length"); - if (length === 0) { - return readDataChunked(file); - } - return file.read(length); - }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfUint8List())); - } - readAsBytesSync() { - let opened = this.openSync(); - try { - let data = null; - let length = opened.lengthSync(); - if (length === 0) { - let builder = _internal.BytesBuilder.new({copy: false}); - do { - data = opened.readSync(65536); - if (dart.notNull(data[$length]) > 0) builder.add(data); - } while (dart.notNull(data[$length]) > 0); - data = builder.takeBytes(); - } else { - data = opened.readSync(length); - } - return data; - } finally { - opened.closeSync(); - } - } - [_tryDecode](bytes, 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) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); - } else - throw e; - } - } - readAsString(opts) { - 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[117], 568, 32, "bytes"); - try { - return this[_tryDecode](bytes, encoding); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfString().error(e, stack); - } else - throw e$; - } - }, T$0.Uint8ListToFutureOrOfString())); - } - readAsStringSync(opts) { - 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[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[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[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[117], 587, 45, "flush"); - return this.open({mode: mode}).then(io.File, dart.fn(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[117], 589, 65, "_"); - if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); - return this; - }, T$0.RandomAccessFileTo_File())); - return this; - }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfFile())); - } - writeAsBytesSync(bytes, opts) { - 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[117], 597, 45, "flush"); - let opened = this.openSync({mode: mode}); - try { - opened.writeFromSync(bytes, 0, bytes[$length]); - if (dart.test(flush)) opened.flushSync(); - } finally { - opened.closeSync(); - } - } - writeAsString(contents, opts) { - 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[117], 610, 12, "flush"); - try { - return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfFile().error(e); - } else - throw e$; - } - } - writeAsStringSync(contents, opts) { - 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[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[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(io.FileSystemException._fromOSError(result, msg, path)); - } - } - static _checkNotNull(T, t, 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[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[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); - ; - }).prototype = io._File.prototype; - dart.addTypeTests(io._File); - dart.addTypeCaches(io._File); - io._File[dart.implements] = () => [io.File]; - 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), [], {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]), - renameSync: dart.fnType(io.File, [core.String]), - copy: dart.fnType(async.Future$(io.File), [core.String]), - copySync: dart.fnType(io.File, [core.String]), - open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - lastAccessed: dart.fnType(async.Future$(core.DateTime), []), - lastAccessedSync: dart.fnType(core.DateTime, []), - setLastAccessed: dart.fnType(async.Future, [core.DateTime]), - setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), - lastModified: dart.fnType(async.Future$(core.DateTime), []), - lastModifiedSync: dart.fnType(core.DateTime, []), - setLastModified: dart.fnType(async.Future, [core.DateTime]), - setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), - openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), - openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), - openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), - readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), - readAsBytesSync: dart.fnType(typed_data.Uint8List, []), - [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), - readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), - readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), - readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), - readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), - writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - 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[108]); - dart.setFieldSignature(io._File, () => ({ - __proto__: dart.getFields(io._File.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) - })); - dart.defineExtensionMethods(io._File, ['toString']); - io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { - static new(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.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"); - var _resourceInfo = dart.privateName(io, "_resourceInfo"); - var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); - var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); - 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 t176; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); - } - 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)) { - io._FileResourceInfo.fileClosed(this[_resourceInfo]); - } - } - [_maybeConnectHandler]() { - if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); - developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); - io._RandomAccessFile._connectedResourceHandler = true; - } - } - close() { - return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { - if (dart.equals(result, -1)) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || dart.equals(result, 0); - this[_maybePerformCleanup](); - }, T$0.ObjectNToNull())); - } - closeSync() { - this[_checkAvailable](); - let id = this[_ops].close(); - if (id === -1) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || id === 0; - this[_maybePerformCleanup](); - } - readByte() { - return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "readByte failed", this.path); - this[_resourceInfo].addRead(1); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - readByteSync() { - this[_checkAvailable](); - let result = this[_ops].readByte(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); - } - this[_resourceInfo].addRead(1); - return core.int.as(result); - } - read(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 => { - 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.ObjectNToUint8List())); - } - readSync(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 (!typed_data.Uint8List.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); - } - this[_resourceInfo].addRead(result[$length]); - return result; - } - readInto(buffer, start = 0, end = null) { - 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) { - return T$0.FutureOfint().value(0); - } - let length = dart.notNull(end) - dart.notNull(start); - return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - 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.ObjectNToint())); - } - readIntoSync(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return 0; - } - let result = this[_ops].readInto(buffer, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); - } - this[_resourceInfo].addRead(core.int.as(result)); - return core.int.as(result); - } - writeByte(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 => { - io._checkForErrorResponse(response, "writeByte failed", this.path); - this[_resourceInfo].addWrite(1); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeByteSync(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); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); - } - this[_resourceInfo].addWrite(1); - return core.int.as(result); - } - writeFrom(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return T$0.FutureOfRandomAccessFile().value(this); - } - let result = null; - try { - result = io._ensureFastAndSerializableByteData(buffer, start, end); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfRandomAccessFile().error(e); - } else - throw e$; - } - let request = core.List.filled(4, null); - request[$_set](0, null); - request[$_set](1, result.buffer); - 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 => { - io._checkForErrorResponse(response, "writeFrom failed", this.path); - this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeFromSync(buffer, start = 0, end = null) { - 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"); - end = core.RangeError.checkValidRange(start, end, buffer[$length]); - if (end == start) { - return; - } - let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); - let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); - } - this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - } - writeString(string, opts) { - 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[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 => { - io._checkForErrorResponse(response, "position failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - positionSync() { - this[_checkAvailable](); - let result = this[_ops].position(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("position failed", this.path, result)); - } - return core.int.as(result); - } - setPosition(position) { - if (position == null) dart.nullFailed(I[117], 894, 44, "position"); - return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "setPosition failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - setPositionSync(position) { - if (position == null) dart.nullFailed(I[117], 902, 28, "position"); - this[_checkAvailable](); - let result = this[_ops].setPosition(position); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); - } - } - truncate(length) { - if (length == null) dart.nullFailed(I[117], 910, 41, "length"); - return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "truncate failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - truncateSync(length) { - if (length == null) dart.nullFailed(I[117], 917, 25, "length"); - this[_checkAvailable](); - let result = this[_ops].truncate(length); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); - } - } - length() { - return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "length failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - lengthSync() { - this[_checkAvailable](); - let result = this[_ops].length(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("length failed", this.path, result)); - } - return core.int.as(result); - } - flush() { - return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "flush failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - flushSync() { - this[_checkAvailable](); - let result = this[_ops].flush(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); - } - } - [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); - return fl[_type]; - } - 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"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "lock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - unlock(start = 0, end = -1) { - 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 => { - io._checkForErrorResponse(response, "unlock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - 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"); - core.ArgumentError.checkNotNull(core.int, end, "end"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - let result = this[_ops].lock(lock, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); - } - } - unlockSync(start = 0, end = -1) { - 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"); - if (start == end) { - dart.throw(new core.ArgumentError.new()); - } - let result = this[_ops].lock(0, start, end); - if (io.OSError.is(result)) { - 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[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[117], 1037, 59, "markClosed"); - if (dart.test(this.closed)) { - 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 T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); - } - if (dart.test(markClosed)) { - this.closed = true; - } - this[_asyncDispatched] = true; - data[$_set](0, this[_pointer]()); - return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { - this[_asyncDispatched] = false; - }, T$.VoidToNull())); - } - [_checkAvailable]() { - if (dart.test(this[_asyncDispatched])) { - dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); - } - if (dart.test(this.closed)) { - dart.throw(new io.FileSystemException.new("File closed", this.path)); - } - } - }; - (io._RandomAccessFile.new = function(pointer, 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; - this.closed = false; - this.path = path; - this[_ops] = io._RandomAccessFileOps.new(pointer); - this[_resourceInfo] = new io._FileResourceInfo.new(this); - this[_maybeConnectHandler](); - }).prototype = io._RandomAccessFile.prototype; - dart.addTypeTests(io._RandomAccessFile); - dart.addTypeCaches(io._RandomAccessFile); - io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; - dart.setMethodSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getMethods(io._RandomAccessFile.__proto__), - [_maybePerformCleanup]: dart.fnType(dart.void, []), - [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), - close: dart.fnType(async.Future$(dart.void), []), - closeSync: dart.fnType(dart.void, []), - readByte: dart.fnType(async.Future$(core.int), []), - readByteSync: dart.fnType(core.int, []), - read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), - readSync: dart.fnType(typed_data.Uint8List, [core.int]), - readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - writeByteSync: dart.fnType(core.int, [core.int]), - writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), - writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), - position: dart.fnType(async.Future$(core.int), []), - positionSync: dart.fnType(core.int, []), - setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - setPositionSync: dart.fnType(dart.void, [core.int]), - truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - truncateSync: dart.fnType(dart.void, [core.int]), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - flush: dart.fnType(async.Future$(io.RandomAccessFile), []), - flushSync: dart.fnType(dart.void, []), - [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), - lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), - unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), - 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$(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, - fd: core.int - })); - dart.setSetterSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getSetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo - })); - dart.setLibraryUri(io._RandomAccessFile, I[108]); - dart.setFieldSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getFields(io._RandomAccessFile.__proto__), - path: dart.finalFieldType(core.String), - [_asyncDispatched]: dart.fieldType(core.bool), - [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), - [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), - [_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(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]() { - return this[_type$2]; - } - 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[114], 39, 43, "type"); - return io.FileSystemEntityType._typeList[$_get](type); - } - toString() { - return (C[128] || CT.C128)[$_get](this[_type]); - } - }; - (io.FileSystemEntityType._internal = function(_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.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[129] || CT.C129; - }, - /*io.FileSystemEntityType.directory*/get directory() { - return C[130] || CT.C130; - }, - /*io.FileSystemEntityType.link*/get link() { - return C[131] || CT.C131; - }, - /*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[134] || CT.C134; - }, - /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[134] || CT.C134; - }, - /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[135] || CT.C135; - } - }, false); - var changed$ = dart.privateName(io, "FileStat.changed"); - var modified$ = dart.privateName(io, "FileStat.modified"); - var accessed$ = dart.privateName(io, "FileStat.accessed"); - var type$1 = dart.privateName(io, "FileStat.type"); - var mode$0 = dart.privateName(io, "FileStat.mode"); - var size$ = dart.privateName(io, "FileStat.size"); - io.FileStat = class FileStat extends core.Object { - get changed() { - return this[changed$]; - } - set changed(value) { - super.changed = value; - } - get modified() { - return this[modified$]; - } - set modified(value) { - super.modified = value; - } - get accessed() { - return this[accessed$]; - } - set accessed(value) { - super.accessed = value; - } - get type() { - return this[type$1]; - } - set type(value) { - super.type = value; - } - get mode() { - return this[mode$0]; - } - set mode(value) { - super.mode = value; - } - get size() { - return this[size$]; - } - 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[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[114], 109, 35, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._statSyncInternal(path); - } - return overrides.statSync(path); - } - static _statSyncInternal(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 (!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[114], 140, 39, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._stat(path); - } - return overrides.stat(path); - } - static _stat(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 (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { - return io.FileStat._notFound; - } - 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.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 t177; - let permissions = dart.notNull(this.mode) & 4095; - 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) "); - t177 = result; - (() => { - 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[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; - this[type$1] = type; - this[mode$0] = mode; - this[size$] = size; - ; - }).prototype = io.FileStat.prototype; - dart.addTypeTests(io.FileStat); - dart.addTypeCaches(io.FileStat); - dart.setMethodSignature(io.FileStat, () => ({ - __proto__: dart.getMethods(io.FileStat.__proto__), - modeString: dart.fnType(core.String, []) - })); - 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), - modified: dart.finalFieldType(core.DateTime), - accessed: dart.finalFieldType(core.DateTime), - type: dart.finalFieldType(io.FileSystemEntityType), - 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() { - return 0; - }, - /*io.FileStat._changedTime*/get _changedTime() { - return 1; - }, - /*io.FileStat._modifiedTime*/get _modifiedTime() { - return 2; - }, - /*io.FileStat._accessedTime*/get _accessedTime() { - return 3; - }, - /*io.FileStat._mode*/get _mode() { - return 4; - }, - /*io.FileStat._size*/get _size() { - return 5; - }, - /*io.FileStat._epoch*/get _epoch() { - return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); - }, - /*io.FileStat._notFound*/get _notFound() { - return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); - } - }, false); - var type$2 = dart.privateName(io, "FileSystemEvent.type"); - var path$0 = dart.privateName(io, "FileSystemEvent.path"); - var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); - io.FileSystemEvent = class FileSystemEvent extends core.Object { - get type() { - return this[type$2]; - } - set type(value) { - super.type = value; - } - get path() { - return this[path$0]; - } - set path(value) { - super.path = value; - } - get isDirectory() { - return this[isDirectory$]; - } - 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[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; - ; - }).prototype = io.FileSystemEvent.prototype; - dart.addTypeTests(io.FileSystemEvent); - dart.addTypeCaches(io.FileSystemEvent); - 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.modify*/get modify() { - return 2; - }, - /*io.FileSystemEvent.delete*/get delete() { - return 4; - }, - /*io.FileSystemEvent.move*/get move() { - return 8; - }, - /*io.FileSystemEvent.all*/get all() { - return 15; - }, - /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { - return 16; - }, - /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { - return 32; - }, - /*io.FileSystemEvent._isDir*/get _isDir() { - return 64; - } - }, 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) + "')"; - } - }; - (io.FileSystemCreateEvent.__ = function(path, isDirectory) { - io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); - ; - }).prototype = io.FileSystemCreateEvent.prototype; - dart.addTypeTests(io.FileSystemCreateEvent); - dart.addTypeCaches(io.FileSystemCreateEvent); - 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 { - get contentChanged() { - return this[contentChanged$]; - } - 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[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[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) + "')"; - } - }; - (io.FileSystemDeleteEvent.__ = function(path, isDirectory) { - io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); - ; - }).prototype = io.FileSystemDeleteEvent.prototype; - dart.addTypeTests(io.FileSystemDeleteEvent); - dart.addTypeCaches(io.FileSystemDeleteEvent); - 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 { - get destination() { - return this[destination$]; - } - 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) + "'"); - if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); - buffer.write(")"); - return buffer.toString(); - } - }; - (io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { - this[destination$] = destination; - io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); - ; - }).prototype = io.FileSystemMoveEvent.prototype; - dart.addTypeTests(io.FileSystemMoveEvent); - dart.addTypeCaches(io.FileSystemMoveEvent); - dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); - dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ - __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), - destination: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); - io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { - static _watch(path, events, 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() { - dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); - } - }; - (io._FileSystemWatcher.new = function() { - ; - }).prototype = io._FileSystemWatcher.prototype; - dart.addTypeTests(io._FileSystemWatcher); - dart.addTypeCaches(io._FileSystemWatcher); - 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](); - } - get referenceValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); - } - static getNextID() { - 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[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.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(value) { - if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); - }, - /*io._IOResourceInfo._sw*/get _sw() { - let t177; - return t177 = new core.Stopwatch.new(), (() => { - t177.start(); - return t177; - })(); - }, - /*io._IOResourceInfo._startTime*/get _startTime() { - return new core.DateTime.now().millisecondsSinceEpoch; - } - }, false); - io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { - addRead(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; - } - didRead() { - this.addRead(0); - } - addWrite(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; - } - get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); - } - }; - (io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[119], 66, 33, "type"); - this.readBytes = 0; - this.writeBytes = 0; - this.readCount = 0; - this.writeCount = 0; - this.lastReadTime = 0; - this.lastWriteTime = 0; - io._ReadWriteResourceInfo.__proto__.new.call(this, type); - ; - }).prototype = io._ReadWriteResourceInfo.prototype; - dart.addTypeTests(io._ReadWriteResourceInfo); - dart.addTypeCaches(io._ReadWriteResourceInfo); - dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), - addRead: dart.fnType(dart.void, [core.int]), - didRead: dart.fnType(dart.void, []), - addWrite: dart.fnType(dart.void, [core.int]) - })); - dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), - fullValueMap: core.Map$(core.String, dart.dynamic) - })); - dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); - dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - readCount: dart.fieldType(core.int), - writeCount: dart.fieldType(core.int), - lastReadTime: dart.fieldType(core.int), - 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[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[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[119], 111, 8, "e"); - return e.referenceValueMap; - }, T$0._FileResourceInfoToMapOfString$dynamic()))); - } - static getOpenFiles($function, params) { - 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)); - } - get fileInfoMap() { - return this.fullValueMap; - } - static getOpenFileInfoMapByID($function, params) { - 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 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[108]); - dart.setFieldSignature(io._FileResourceInfo, () => ({ - __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(io.RandomAccessFile) - })); - dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); - dart.defineLazy(io._FileResourceInfo, { - /*io._FileResourceInfo._type*/get _type() { - return "OpenFile"; - }, - /*io._FileResourceInfo.openFiles*/get openFiles() { - return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); - }, - set openFiles(value) { - if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); - } - }, false); - 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 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", 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[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[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[119], 186, 10, "e"); - return e.referenceValueMap; - }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); - } - static getStartedProcesses($function, params) { - 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[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); - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); - } - }; - (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"); - io._SpawnedProcessResourceInfo.processStarted(this); - }).prototype = io._SpawnedProcessResourceInfo.prototype; - dart.addTypeTests(io._SpawnedProcessResourceInfo); - dart.addTypeCaches(io._SpawnedProcessResourceInfo); - 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[108]); - dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ - __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - 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"; - }, - /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { - return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); - }, - 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[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 t177; - return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); - } - set encoding(encoding$35param) { - if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); - this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = encoding$35param; - } - }; - (io.IOSink[dart.mixinNew] = function() { - this[__IOSink_encoding] = null; - this[__IOSink_encoding_isSet] = false; - }).prototype = io.IOSink.prototype; - 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 - })); - dart.setSetterSignature(io.IOSink, () => ({ - __proto__: dart.getSetters(io.IOSink.__proto__), - encoding: convert.Encoding - })); - 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) - })); - io._IOService = class _IOService extends core.Object { - static _dispatch(request, 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.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; - }, - /*io._IOService.fileCreate*/get fileCreate() { - return 1; - }, - /*io._IOService.fileDelete*/get fileDelete() { - return 2; - }, - /*io._IOService.fileRename*/get fileRename() { - return 3; - }, - /*io._IOService.fileCopy*/get fileCopy() { - return 4; - }, - /*io._IOService.fileOpen*/get fileOpen() { - return 5; - }, - /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { - return 6; - }, - /*io._IOService.fileClose*/get fileClose() { - return 7; - }, - /*io._IOService.filePosition*/get filePosition() { - return 8; - }, - /*io._IOService.fileSetPosition*/get fileSetPosition() { - return 9; - }, - /*io._IOService.fileTruncate*/get fileTruncate() { - return 10; - }, - /*io._IOService.fileLength*/get fileLength() { - return 11; - }, - /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { - return 12; - }, - /*io._IOService.fileLastAccessed*/get fileLastAccessed() { - return 13; - }, - /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { - return 14; - }, - /*io._IOService.fileLastModified*/get fileLastModified() { - return 15; - }, - /*io._IOService.fileSetLastModified*/get fileSetLastModified() { - return 16; - }, - /*io._IOService.fileFlush*/get fileFlush() { - return 17; - }, - /*io._IOService.fileReadByte*/get fileReadByte() { - return 18; - }, - /*io._IOService.fileWriteByte*/get fileWriteByte() { - return 19; - }, - /*io._IOService.fileRead*/get fileRead() { - return 20; - }, - /*io._IOService.fileReadInto*/get fileReadInto() { - return 21; - }, - /*io._IOService.fileWriteFrom*/get fileWriteFrom() { - return 22; - }, - /*io._IOService.fileCreateLink*/get fileCreateLink() { - return 23; - }, - /*io._IOService.fileDeleteLink*/get fileDeleteLink() { - return 24; - }, - /*io._IOService.fileRenameLink*/get fileRenameLink() { - return 25; - }, - /*io._IOService.fileLinkTarget*/get fileLinkTarget() { - return 26; - }, - /*io._IOService.fileType*/get fileType() { - return 27; - }, - /*io._IOService.fileIdentical*/get fileIdentical() { - return 28; - }, - /*io._IOService.fileStat*/get fileStat() { - return 29; - }, - /*io._IOService.fileLock*/get fileLock() { - return 30; - }, - /*io._IOService.fileCreatePipe*/get fileCreatePipe() { - return 31; - }, - /*io._IOService.socketLookup*/get socketLookup() { - return 32; - }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { - return 33; - }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { - return 34; - }, - /*io._IOService.directoryCreate*/get directoryCreate() { - return 35; - }, - /*io._IOService.directoryDelete*/get directoryDelete() { - return 36; - }, - /*io._IOService.directoryExists*/get directoryExists() { - return 37; - }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { - return 38; - }, - /*io._IOService.directoryListStart*/get directoryListStart() { - return 39; - }, - /*io._IOService.directoryListNext*/get directoryListNext() { - return 40; - }, - /*io._IOService.directoryListStop*/get directoryListStop() { - return 41; - }, - /*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[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[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[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.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"); - io._Link = class _Link extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$2]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$1]; - } - 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]; - } - toString() { - return "Link: '" + dart.str(this.path) + "'"; - } - exists() { - return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); - } - existsSync() { - return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); - } - get absolute() { - return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); - } - create(target, opts) { - 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[120], 164, 44, "recursive"); - let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - 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.ObjectNTo_Link())); - } - createSync(target, opts) { - 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[120], 177, 40, "recursive"); - if (dart.test(recursive)) { - this.parent.createSync({recursive: true}); - } - let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); - io._Link.throwIfError(result, "Cannot create link", this.path); - } - updateSync(target) { - if (target == null) dart.nullFailed(I[120], 185, 26, "target"); - this.deleteSync(); - this.createSync(target); - } - update(target) { - if (target == null) dart.nullFailed(I[120], 194, 30, "target"); - return this.delete().then(io.Link, dart.fn(_ => { - 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[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[120], 206, 18, "_"); - return this; - }, T$0.FileSystemEntityTo_Link())); - } - return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete link", this.path); - return this; - }, T$0.ObjectNTo_Link())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); - io._Link.throwIfError(result, "Cannot delete link", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); - return io.Link.new(newPath); - }, T$0.ObjectNToLink())); - } - renameSync(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 => { - 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$]); - io._Link.throwIfError(result, "Cannot read link", this.path); - return core.String.as(result); - } - static throwIfError(result, msg, 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(io.FileSystemException._fromOSError(result, msg, path)); - } - } - }; - (io._Link.new = function(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[120], 150, 31, "rawPath"); - this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); - this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; - }).prototype = io._Link.prototype; - dart.addTypeTests(io._Link); - dart.addTypeCaches(io._Link); - io._Link[dart.implements] = () => [io.Link]; - dart.setMethodSignature(io._Link, () => ({ - __proto__: dart.getMethods(io._Link.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), - updateSync: dart.fnType(dart.void, [core.String]), - update: dart.fnType(async.Future$(io.Link), [core.String]), - [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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, []) - })); - 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[108]); - dart.setFieldSignature(io._Link, () => ({ - __proto__: dart.getFields(io._Link.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) - })); - dart.defineExtensionMethods(io._Link, ['toString']); - io._Namespace = class _Namespace extends core.Object { - static get _namespace() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static get _namespacePointer() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static _setupNamespace(namespace) { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - }; - (io._Namespace.new = function() { - ; - }).prototype = io._Namespace.prototype; - dart.addTypeTests(io._Namespace); - dart.addTypeCaches(io._Namespace); - 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[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[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; - } - case "ext.dart.io.setHttpEnableTimelineLogging": - { - 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[121], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); - } - io._setHttpEnableTimelineLogging(parameters); - } - 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; - } - case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } - case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } - case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } - case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } - case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } - case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } - case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } - case "ext.dart.io.getVersion": - { - 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.result(responseJson)); - } catch (e) { - let errorMessage = dart.getThrown(e); - if (core.Object.is(errorMessage)) { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); - } else - throw e; - } - } - static getVersion() { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); - } - }; - (io._NetworkProfiling.new = function() { - ; - }).prototype = io._NetworkProfiling.prototype; - dart.addTypeTests(io._NetworkProfiling); - dart.addTypeCaches(io._NetworkProfiling); - 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"; - }, - /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { - return "ext.dart.io.setHttpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { - return "ext.dart.io.httpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { - return "ext.dart.io.getHttpProfile"; - }, - /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { - return "ext.dart.io.getHttpProfileRequest"; - }, - /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { - return "ext.dart.io.clearHttpProfile"; - }, - /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { - return "ext.dart.io.clearSocketProfile"; - }, - /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { - return "ext.dart.io.getSocketProfile"; - }, - /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { - return "ext.dart.io.socketProfilingEnabled"; - }, - /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { - return "ext.dart.io.pauseSocketProfiling"; - }, - /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { - return "ext.dart.io.startSocketProfiling"; - }, - /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { - return "ext.dart.io.getVersion"; - } - }, false); - 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[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; - } - } - static get enableSocketProfiling() { - return io._SocketProfile._enableSocketProfiling; - } - 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[121], 222, 53, "f"); - return f.toMap(); - }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); - } - static collectNewSocket(id, type, addr, 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 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 = (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[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")); - } - } - } - static start() { - io._SocketProfile.enableSocketProfiling = true; - return io._success(); - } - static pause() { - io._SocketProfile.enableSocketProfiling = false; - return io._success(); - } - static clear() { - io._SocketProfile._idToSocketStatistic[$clear](); - return io._success(); - } - }; - (io._SocketProfile.new = function() { - ; - }).prototype = io._SocketProfile.prototype; - dart.addTypeTests(io._SocketProfile); - dart.addTypeCaches(io._SocketProfile); - 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"; - }, - /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { - return false; - }, - 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(value) { - if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); - } - }, false); - 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[_enumToString](); - } - }; - (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 = 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(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); - this[_setIfNotNull](map, "endTime", this.endTime); - this[_setIfNotNull](map, "address", this.address); - this[_setIfNotNull](map, "port", this.port); - this[_setIfNotNull](map, "socketType", this.socketType); - this[_setIfNotNull](map, "readBytes", this.readBytes); - this[_setIfNotNull](map, "writeBytes", this.writeBytes); - this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); - this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); - return map; - } - [_setIfNotNull](json, key, value) { - 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[121], 318, 25, "id"); - this.startTime = null; - this.endTime = null; - this.address = null; - this.port = null; - this.socketType = null; - this.readBytes = 0; - this.writeBytes = 0; - this.lastWriteTime = null; - this.lastReadTime = null; - this.id = id; - ; - }).prototype = io._SocketStatistic.prototype; - dart.addTypeTests(io._SocketStatistic); - dart.addTypeCaches(io._SocketStatistic); - dart.setMethodSignature(io._SocketStatistic, () => ({ - __proto__: dart.getMethods(io._SocketStatistic.__proto__), - 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[108]); - dart.setFieldSignature(io._SocketStatistic, () => ({ - __proto__: dart.getFields(io._SocketStatistic.__proto__), - id: dart.finalFieldType(core.int), - startTime: dart.fieldType(dart.nullable(core.int)), - endTime: dart.fieldType(dart.nullable(core.int)), - address: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - socketType: dart.fieldType(dart.nullable(core.String)), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - lastWriteTime: dart.fieldType(dart.nullable(core.int)), - lastReadTime: dart.fieldType(dart.nullable(core.int)) - })); - io.IOOverrides = class IOOverrides extends core.Object { - static get current() { - 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[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; - let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; - let createFile = opts && 'createFile' in opts ? opts.createFile : null; - let stat = opts && 'stat' in opts ? opts.stat : null; - let statSync = opts && 'statSync' in opts ? opts.statSync : null; - let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; - let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; - let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; - let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; - let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; - let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; - let createLink = opts && 'createLink' in opts ? opts.createLink : null; - 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 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[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[123], 155, 36, "path"); - return new io._Directory.new(path); - } - getCurrentDirectory() { - return io._Directory.current; - } - setCurrentDirectory(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[123], 183, 26, "path"); - return new io._File.new(path); - } - stat(path) { - if (path == null) dart.nullFailed(I[123], 191, 32, "path"); - return io.FileStat._stat(path); - } - statSync(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[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[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[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[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[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[123], 263, 26, "path"); - return new io._Link.new(path); - } - socketConnect(host, port, opts) { - 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, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[123], 282, 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], 283, 27, "sourcePort"); - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 296, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[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() { - ; - }).prototype = io.IOOverrides.prototype; - dart.addTypeTests(io.IOOverrides); - dart.addTypeCaches(io.IOOverrides); - dart.setMethodSignature(io.IOOverrides, () => ({ - __proto__: dart.getMethods(io.IOOverrides.__proto__), - createDirectory: dart.fnType(io.Directory, [core.String]), - getCurrentDirectory: dart.fnType(io.Directory, []), - setCurrentDirectory: dart.fnType(dart.void, [core.String]), - getSystemTempDirectory: dart.fnType(io.Directory, []), - createFile: dart.fnType(io.File, [core.String]), - stat: dart.fnType(async.Future$(io.FileStat), [core.String]), - statSync: dart.fnType(io.FileStat, [core.String]), - fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), - fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), - fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), - fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), - 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, 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.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(value) {} - }, false); - var _previous$4 = dart.privateName(io, "_previous"); - var _createDirectory$ = dart.privateName(io, "_createDirectory"); - var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); - var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); - var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); - var _createFile$ = dart.privateName(io, "_createFile"); - var _stat$ = dart.privateName(io, "_stat"); - var _statSync$ = dart.privateName(io, "_statSync"); - var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); - var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); - var _fseGetType$ = dart.privateName(io, "_fseGetType"); - var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); - var _fsWatch$ = dart.privateName(io, "_fsWatch"); - var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); - 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[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); - } - getCurrentDirectory() { - if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); - return super.getCurrentDirectory(); - } - setCurrentDirectory(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) - dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); - else - super.setCurrentDirectory(path); - } - getSystemTempDirectory() { - if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); - return super.getSystemTempDirectory(); - } - createFile(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[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[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[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[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[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[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[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); - } - fsWatchIsSupported() { - if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); - return super.fsWatchIsSupported(); - } - createLink(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[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, sourcePort: sourcePort, timeout: timeout}); - } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 558, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[123], 558, 51, "shared"); - if (this[_serverSocketBind$] != null) { - return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - 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, _stdin, _stdout, _stderr) { - this[_previous$4] = io.IOOverrides.current; - this[_createDirectory$] = _createDirectory; - this[_getCurrentDirectory$] = _getCurrentDirectory; - this[_setCurrentDirectory$] = _setCurrentDirectory; - this[_getSystemTempDirectory$] = _getSystemTempDirectory; - this[_createFile$] = _createFile; - this[_stat$] = _stat; - this[_statSync$] = _statSync; - this[_fseIdentical$] = _fseIdentical; - this[_fseIdenticalSync$] = _fseIdenticalSync; - this[_fseGetType$] = _fseGetType; - this[_fseGetTypeSync$] = _fseGetTypeSync; - this[_fsWatch$] = _fsWatch; - this[_fsWatchIsSupported$] = _fsWatchIsSupported; - this[_createLink$] = _createLink; - 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[108]); - dart.setFieldSignature(io._IOOverridesScope, () => ({ - __proto__: dart.getFields(io._IOOverridesScope.__proto__), - [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), - [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), - [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), - [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), - [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), - [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), - [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), - [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), - [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), - [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), - [_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, 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() { - return io.Platform._numberOfProcessors; - } - static get pathSeparator() { - return io.Platform._pathSeparator; - } - static get localeName() { - return io._Platform.localeName(); - } - static get operatingSystem() { - return io.Platform._operatingSystem; - } - static get operatingSystemVersion() { - return io.Platform._operatingSystemVersion; - } - static get localHostname() { - return io.Platform._localHostname; - } - static get environment() { - return io._Platform.environment; - } - static get executable() { - return io._Platform.executable; - } - static get resolvedExecutable() { - return io._Platform.resolvedExecutable; - } - static get script() { - return io._Platform.script; - } - static get executableArguments() { - return io._Platform.executableArguments; - } - 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.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; - }, - /*io.Platform._pathSeparator*/get _pathSeparator() { - return io._Platform.pathSeparator; - }, - /*io.Platform._operatingSystem*/get _operatingSystem() { - return io._Platform.operatingSystem; - }, - /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { - return io._Platform.operatingSystemVersion; - }, - /*io.Platform._localHostname*/get _localHostname() { - return io._Platform.localHostname; - }, - /*io.Platform._version*/get _version() { - return io._Platform.version; - }, - /*io.Platform.isLinux*/get isLinux() { - return io.Platform._operatingSystem === "linux"; - }, - /*io.Platform.isMacOS*/get isMacOS() { - return io.Platform._operatingSystem === "macos"; - }, - /*io.Platform.isWindows*/get isWindows() { - return io.Platform._operatingSystem === "windows"; - }, - /*io.Platform.isAndroid*/get isAndroid() { - return io.Platform._operatingSystem === "android"; - }, - /*io.Platform.isIOS*/get isIOS() { - return io.Platform._operatingSystem === "ios"; - }, - /*io.Platform.isFuchsia*/get isFuchsia() { - return io.Platform._operatingSystem === "fuchsia"; - } - }, false); - io._Platform = class _Platform extends core.Object { - static _packageRoot() { - dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); - } - static _numberOfProcessors() { - dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); - } - static _pathSeparator() { - dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); - } - static _operatingSystem() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); - } - static _operatingSystemVersion() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); - } - static _localHostname() { - dart.throw(new core.UnsupportedError.new("Platform._localHostname")); - } - static _executable() { - dart.throw(new core.UnsupportedError.new("Platform._executable")); - } - static _resolvedExecutable() { - dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); - } - static _environment() { - dart.throw(new core.UnsupportedError.new("Platform._environment")); - } - static _executableArguments() { - dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); - } - static _packageConfig() { - dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); - } - static _version() { - dart.throw(new core.UnsupportedError.new("Platform._version")); - } - static _localeName() { - dart.throw(new core.UnsupportedError.new("Platform._localeName")); - } - static _script() { - dart.throw(new core.UnsupportedError.new("Platform._script")); - } - static localeName() { - let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return result; - } - static get numberOfProcessors() { - return io._Platform._numberOfProcessors(); - } - static get pathSeparator() { - return io._Platform._pathSeparator(); - } - static get operatingSystem() { - return io._Platform._operatingSystem(); - } - static get script() { - return io._Platform._script(); - } - static get operatingSystemVersion() { - if (io._Platform._cachedOSVersion == null) { - let result = io._Platform._operatingSystemVersion(); - if (io.OSError.is(result)) { - dart.throw(result); - } - io._Platform._cachedOSVersion = T$.StringN().as(result); - } - return dart.nullCheck(io._Platform._cachedOSVersion); - } - static get localHostname() { - let result = io._Platform._localHostname(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return core.String.as(result); - } - static get executableArguments() { - return io._Platform._executableArguments(); - } - static get environment() { - if (io._Platform._environmentCache == null) { - let env = io._Platform._environment(); - 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 environmentEntry of env) { - if (environmentEntry == null) { - continue; - } - 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); - } else { - io._Platform._environmentCache = env; - } - } - if (io.OSError.is(io._Platform._environmentCache)) { - dart.throw(io._Platform._environmentCache); - } else { - return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); - } - } - 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.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(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(value) { - if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); - }, - /*io._Platform.packageConfig*/get packageConfig() { - return io._Platform._packageConfig(); - }, - set packageConfig(value) {}, - /*io._Platform._localeClosure*/get _localeClosure() { - return null; - }, - set _localeClosure(value) {}, - /*io._Platform._environmentCache*/get _environmentCache() { - return null; - }, - set _environmentCache(value) {}, - /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { - return null; - }, - 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 __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]())); - } - containsValue(value) { - return this[_map$10][$containsValue](value); - } - _get(key) { - return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; - } - _set(key, value$) { - let value = value$; - core.String.as(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[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) { - __t$MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[124], 142, 30, "other"); - other[$forEach](dart.fn((key, value) => { - 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; - } - clear() { - this[_map$10][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[124], 153, 21, "f"); - this[_map$10][$forEach](f); - } - get keys() { - return this[_map$10][$keys]; - } - get values() { - return this[_map$10][$values]; - } - get length() { - return this[_map$10][$length]; - } - get isEmpty() { - return this[_map$10][$isEmpty]; - } - get isNotEmpty() { - return this[_map$10][$isNotEmpty]; - } - get entries() { - return this[_map$10][$entries]; - } - map(K2, V2, 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[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; - __t$VoidToNV().as(ifAbsent); - return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); - } - updateAll(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[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 (__t$LinkedMapOfString$V()).new(); - ; - }).prototype = _CaseInsensitiveStringMap.prototype; - dart.addTypeTests(_CaseInsensitiveStringMap); - _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; - dart.addTypeCaches(_CaseInsensitiveStringMap); - dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) - })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); - dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), - [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) - })); - dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ - 'containsKey', - 'containsValue', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'map', - 'update', - 'updateAll', - 'removeWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return _CaseInsensitiveStringMap; - }); - 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[110], 306, 26, "status"); - dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); - } - static _setExitCode(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[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[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.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")); - } - 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.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]() { - return this[_mode$0]; - } - set [_mode](value) { - super[_mode] = value; - } - static get values() { - return C[146] || CT.C146; - } - toString() { - 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[125], 154, 41, "_mode"); - this[_mode$0] = _mode; - ; - }).prototype = io.ProcessStartMode.prototype; - dart.addTypeTests(io.ProcessStartMode); - dart.addTypeCaches(io.ProcessStartMode); - 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[147] || CT.C147; - }, - /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[148] || CT.C148; - }, - /*io.ProcessStartMode.detached*/get detached() { - return C[149] || CT.C149; - }, - /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - 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[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[110], 355, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 365, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 376, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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")); - } - }; - (io.Process.new = function() { - ; - }).prototype = io.Process.prototype; - dart.addTypeTests(io.Process); - dart.addTypeCaches(io.Process); - 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"); - var pid$ = dart.privateName(io, "ProcessResult.pid"); - io.ProcessResult = class ProcessResult extends core.Object { - get exitCode() { - return this[exitCode$]; - } - set exitCode(value) { - super.exitCode = value; - } - get stdout() { - return this[stdout$]; - } - set stdout(value) { - super.stdout = value; - } - get stderr() { - return this[stderr$]; - } - set stderr(value) { - super.stderr = value; - } - get pid() { - return this[pid$]; - } - 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[125], 467, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); - this[pid$] = pid; - this[exitCode$] = exitCode; - this[stdout$] = stdout; - this[stderr$] = stderr; - ; - }).prototype = io.ProcessResult.prototype; - dart.addTypeTests(io.ProcessResult); - dart.addTypeCaches(io.ProcessResult); - dart.setLibraryUri(io.ProcessResult, I[108]); - dart.setFieldSignature(io.ProcessResult, () => ({ - __proto__: dart.getFields(io.ProcessResult.__proto__), - exitCode: dart.finalFieldType(core.int), - stdout: dart.finalFieldType(dart.dynamic), - stderr: dart.finalFieldType(dart.dynamic), - pid: dart.finalFieldType(core.int) - })); - var _signalNumber = dart.privateName(io, "_signalNumber"); - var _name$6 = dart.privateName(io, "_name"); - const _signalNumber$ = ProcessSignal__signalNumber; - const _name$7 = ProcessSignal__name; - io.ProcessSignal = class ProcessSignal extends core.Object { - get [_signalNumber]() { - return this[_signalNumber$]; - } - set [_signalNumber](value) { - super[_signalNumber] = value; - } - get [_name$6]() { - return this[_name$7]; - } - 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$6]; - } - watch() { - return io._ProcessUtils._watchSignal(this); - } - }; - (io.ProcessSignal.__ = function(_signalNumber, _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$7] = _name; - ; - }).prototype = io.ProcessSignal.prototype; - dart.addTypeTests(io.ProcessSignal); - dart.addTypeCaches(io.ProcessSignal); - dart.setMethodSignature(io.ProcessSignal, () => ({ - __proto__: dart.getMethods(io.ProcessSignal.__proto__), - watch: dart.fnType(async.Stream$(io.ProcessSignal), []) - })); - dart.setLibraryUri(io.ProcessSignal, I[108]); - dart.setFieldSignature(io.ProcessSignal, () => ({ - __proto__: dart.getFields(io.ProcessSignal.__proto__), - [_signalNumber]: dart.finalFieldType(core.int), - [_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[154] || CT.C154; - }, - /*io.ProcessSignal.sigint*/get sigint() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.sigquit*/get sigquit() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.sigill*/get sigill() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.sigbus*/get sigbus() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.sigkill*/get sigkill() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.sigterm*/get sigterm() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.sigchld*/get sigchld() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.sigcont*/get sigcont() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.sigstop*/get sigstop() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.sigttin*/get sigttin() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.sigttou*/get sigttou() { - return C[173] || CT.C173; - }, - /*io.ProcessSignal.sigurg*/get sigurg() { - return C[174] || CT.C174; - }, - /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[175] || CT.C175; - }, - /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[176] || CT.C176; - }, - /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[177] || CT.C177; - }, - /*io.ProcessSignal.sigprof*/get sigprof() { - return C[178] || CT.C178; - }, - /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[179] || CT.C179; - }, - /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[180] || CT.C180; - }, - /*io.ProcessSignal.sigsys*/get sigsys() { - return C[181] || CT.C181; - } - }, false); - var message$4 = dart.privateName(io, "SignalException.message"); - var osError$0 = dart.privateName(io, "SignalException.osError"); - io.SignalException = class SignalException extends core.Object { - get message() { - return this[message$4]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$0]; - } - 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) { - msg = ", osError: " + dart.str(this.osError); - } - return "SignalException: " + dart.str(this.message) + msg; - } - }; - (io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[125], 536, 30, "message"); - this[message$4] = message; - this[osError$0] = osError; - ; - }).prototype = io.SignalException.prototype; - dart.addTypeTests(io.SignalException); - dart.addTypeCaches(io.SignalException); - io.SignalException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.SignalException, I[108]); - dart.setFieldSignature(io.SignalException, () => ({ - __proto__: dart.getFields(io.SignalException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.dynamic) - })); - dart.defineExtensionMethods(io.SignalException, ['toString']); - var executable$ = dart.privateName(io, "ProcessException.executable"); - var $arguments$ = dart.privateName(io, "ProcessException.arguments"); - var message$5 = dart.privateName(io, "ProcessException.message"); - var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); - io.ProcessException = class ProcessException extends core.Object { - get executable() { - return this[executable$]; - } - set executable(value) { - super.executable = value; - } - get arguments() { - return this[$arguments$]; - } - set arguments(value) { - super.arguments = value; - } - get message() { - return this[message$5]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$1]; - } - 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[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; - this[errorCode$1] = errorCode; - ; - }).prototype = io.ProcessException.prototype; - dart.addTypeTests(io.ProcessException); - dart.addTypeCaches(io.ProcessException); - io.ProcessException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.ProcessException, I[108]); - dart.setFieldSignature(io.ProcessException, () => ({ - __proto__: dart.getFields(io.ProcessException.__proto__), - executable: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(core.List$(core.String)), - message: dart.finalFieldType(core.String), - errorCode: dart.finalFieldType(core.int) - })); - dart.defineExtensionMethods(io.ProcessException, ['toString']); - var _socket$ = dart.privateName(io, "_socket"); - 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[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, 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[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, 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[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[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 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[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[127], 181, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); - let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - 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())); - } - }; - (io.SecureSocket[dart.mixinNew] = function() { - }).prototype = io.SecureSocket.prototype; - dart.addTypeTests(io.SecureSocket); - dart.addTypeCaches(io.SecureSocket); - io.SecureSocket[dart.implements] = () => [io.Socket]; - 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[126], 67, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 69, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 81, 16, "serverSocket"); - return new io.SecureServerSocket.__(serverSocket); - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - 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; - return this[_socket$].map(io.SecureSocket, dart.fn(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}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); - return this; - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - set [_owner](owner) { - this[_socket$][_owner] = owner; - } - }; - (io.SecureServerSocket.__ = function(_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, - address: io.InternetAddress - })); - dart.setSetterSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getSetters(io.SecureServerSocket.__proto__), - [_owner]: dart.dynamic - })); - dart.setLibraryUri(io.SecureServerSocket, I[108]); - dart.setFieldSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getFields(io.SecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) - })); - var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); - var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); - var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); - var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); - var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); - var _subscription$ = dart.privateName(io, "_subscription"); - var _context$ = dart.privateName(io, "_context"); - var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); - 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[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[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[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[127], 298, 42, "rawState"); - let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - 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[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, keyLog: keyLog, supportedProtocols: supportedProtocols}); - } - static secureServer(socket, context, opts) { - 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[127], 406, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); - } - }; - (io.RawSecureSocket.new = function() { - ; - }).prototype = io.RawSecureSocket.prototype; - dart.addTypeTests(io.RawSecureSocket); - dart.addTypeCaches(io.RawSecureSocket); - io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; - 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$]; - } - set requestClientCertificate(value) { - super.requestClientCertificate = value; - } - get requireClientCertificate() { - return this[requireClientCertificate$]; - } - set requireClientCertificate(value) { - super.requireClientCertificate = value; - } - get supportedProtocols() { - return this[supportedProtocols$]; - } - set supportedProtocols(value) { - super.supportedProtocols = value; - } - get [_controller]() { - let t180; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); - this[__RawSecureServerSocket__controller_isSet] = true; - 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[126], 187, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 189, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 196, 16, "serverSocket"); - return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - 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; - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - this[_closed] = true; - return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); - return this; - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); - let remotePort = null; - try { - remotePort = connection.remotePort; - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return; - } else - 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[126], 239, 32, "secureConnection"); - if (dart.test(this[_closed])) { - secureConnection.close(); - } else { - this[_controller].add(secureConnection); - } - }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_closed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - } - }, T$.dynamicAnddynamicToNull())); - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - dart.nullCheck(this[_subscription$]).pause(); - } else { - dart.nullCheck(this[_subscription$]).resume(); - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); - } else { - this.close(); - } - } - set [_owner](owner) { - io._RawSocketBase.as(this[_socket$])[_owner] = owner; - } - }; - (io.RawSecureServerSocket.__ = function(_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"); - this[__RawSecureServerSocket__controller] = null; - this[__RawSecureServerSocket__controller_isSet] = false; - this[_subscription$] = null; - this[_closed] = false; - this[_socket$] = _socket; - this[_context$] = _context; - this[requestClientCertificate$] = requestClientCertificate; - this[requireClientCertificate$] = requireClientCertificate; - this[supportedProtocols$] = supportedProtocols; - io.RawSecureServerSocket.__proto__.new.call(this); - this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); - }).prototype = io.RawSecureServerSocket.prototype; - dart.addTypeTests(io.RawSecureServerSocket); - dart.addTypeCaches(io.RawSecureServerSocket); - dart.setMethodSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), - [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), - [_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), - port: core.int, - address: io.InternetAddress - })); - dart.setSetterSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), - [_controller]: async.StreamController$(io.RawSecureSocket), - [_owner]: dart.dynamic - })); - dart.setLibraryUri(io.RawSecureServerSocket, I[108]); - dart.setFieldSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawServerSocket), - [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), - [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), - [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), - [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - requestClientCertificate: dart.finalFieldType(core.bool), - requireClientCertificate: dart.finalFieldType(core.bool), - supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), - [_closed]: dart.fieldType(core.bool) - })); - 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.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; - this.writeEmpty = true; - this.readPlaintextNoLongerEmpty = false; - this.writePlaintextNoLongerFull = false; - this.readEncryptedNoLongerFull = false; - this.writeEncryptedNoLongerEmpty = false; - ; - }).prototype = io._FilterStatus.prototype; - dart.addTypeTests(io._FilterStatus); - dart.addTypeCaches(io._FilterStatus); - dart.setLibraryUri(io._FilterStatus, I[108]); - dart.setFieldSignature(io._FilterStatus, () => ({ - __proto__: dart.getFields(io._FilterStatus.__proto__), - progress: dart.fieldType(core.bool), - readEmpty: dart.fieldType(core.bool), - writeEmpty: dart.fieldType(core.bool), - readPlaintextNoLongerEmpty: dart.fieldType(core.bool), - writePlaintextNoLongerFull: dart.fieldType(core.bool), - 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"); - var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); - var _status = dart.privateName(io, "_status"); - var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); - var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); - var _pauseCount = dart.privateName(io, "_pauseCount"); - var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); - var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); - var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); - var _closedRead = dart.privateName(io, "_closedRead"); - var _closedWrite = dart.privateName(io, "_closedWrite"); - var _filterStatus = dart.privateName(io, "_filterStatus"); - var _connectPending = dart.privateName(io, "_connectPending"); - var _filterPending = dart.privateName(io, "_filterPending"); - var _filterActive = dart.privateName(io, "_filterActive"); - var _secureFilter = dart.privateName(io, "_secureFilter"); - var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); - var _bufferedData$ = dart.privateName(io, "_bufferedData"); - var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); - var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); - 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"); - var _close$ = dart.privateName(io, "_close"); - var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); - var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); - var _readHandler = dart.privateName(io, "_readHandler"); - var _writeHandler = dart.privateName(io, "_writeHandler"); - var _closeHandler = dart.privateName(io, "_closeHandler"); - var _readSocket = dart.privateName(io, "_readSocket"); - var _writeSocket = dart.privateName(io, "_writeSocket"); - var _tryFilter = dart.privateName(io, "_tryFilter"); - var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); - var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); - var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); - var _value$ = dart.privateName(io, "RawSocketEvent._value"); - var _value$0 = dart.privateName(io, "_value"); - io.RawSocketEvent = class RawSocketEvent extends core.Object { - get [_value$0]() { - return this[_value$]; - } - 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[182] || CT.C182)[$_get](this[_value$0]); - } - }; - (io.RawSocketEvent.__ = function(_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[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[183] || CT.C183; - }, - /*io.RawSocketEvent.write*/get write() { - return C[184] || CT.C184; - }, - /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[185] || CT.C185; - }, - /*io.RawSocketEvent.closed*/get closed() { - return C[186] || CT.C186; - } - }, false); - io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { - static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); - return dart.notNull(identifier) >= 2; - } - get [_socketSubscription]() { - let t183; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); - } - 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] = _socketSubscription$35param; - } - } - static connect(host, requestedPort, isServer, socket, opts) { - 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[127], 550, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - let address = socket.address; - if (host != null) { - address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); - } - 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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_sendWriteEvent](); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - static _verifyFields(host, requestedPort, requestClientCertificate, 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")); - } - core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); - if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { - dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); - } - core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); - core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); - } - get port() { - return this[_socket$].port; - } - get remoteAddress() { - return this[_socket$].remoteAddress; - } - get remotePort() { - return this[_socket$].remotePort; - } - set [_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; - } - close() { - this.shutdown(io.SocketDirection.both); - return this[_closeCompleter].future; - } - [_completeCloseCompleter](dummy = null) { - 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)); - this[_socketClosedWrite] = true; - this[_socketClosedRead] = true; - if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - } - t183 = this.keyLogPort; - t183 == null ? null : t183.close(); - if (this[_socketSubscription] != null) { - this[_socketSubscription].cancel(); - } - this[_controller].close(); - this[_status] = 203; - } - shutdown(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)) { - this[_socket$].shutdown(io.SocketDirection.send); - this[_socketClosedWrite] = true; - if (dart.test(this[_closedRead])) { - this[_close$](); - } - } - } - if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { - this[_closedRead] = true; - this[_socketClosedRead] = true; - this[_socket$].shutdown(io.SocketDirection.receive); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } - } - get writeEventsEnabled() { - return this[_writeEventsEnabled]; - } - set writeEventsEnabled(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())); - } - } - get readEventsEnabled() { - return this[_readEventsEnabled]; - } - set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[127], 763, 35, "value"); - this[_readEventsEnabled] = value; - this[_scheduleReadEvent](); - } - read(length = null) { - if (length != null && dart.notNull(length) < 0) { - dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); - } - if (dart.test(this[_closedRead])) { - dart.throw(new io.SocketException.new("Reading from a closed socket")); - } - if (this[_status] !== 202) { - return null; - } - let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); - this[_scheduleFilter](); - return result; - } - readMessage(count = null) { - dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); - } - static _fixOffset(offset) { - let t183; - t183 = offset; - return t183 == null ? 0 : t183; - } - write(data, offset = 0, bytes = null) { - 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) + ")")); - } - offset = io._RawSecureSocket._fixOffset(offset); - if (dart.notNull(offset) < 0) { - dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); - } - if (dart.test(this[_closedWrite])) { - this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); - return 0; - } - if (this[_status] !== 202) return 0; - bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; - let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); - if (dart.notNull(written) > 0) { - this[_filterStatus].writeEmpty = false; - } - 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; - } - get selectedProtocol() { - return this[_selectedProtocol]; - } - [_onBadCertificateWrapper](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[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[127], 836, 42, "option"); - return this[_socket$].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[127], 840, 37, "option"); - this[_socket$].setRawOption(option); - } - [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[127], 844, 40, "event"); - try { - if (dart.equals(event, io.RawSocketEvent.read)) { - this[_readHandler](); - } else if (dart.equals(event, io.RawSocketEvent.write)) { - this[_writeHandler](); - } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { - this[_closeHandler](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - } - [_readHandler]() { - this[_readSocket](); - this[_scheduleFilter](); - } - [_writeHandler]() { - this[_writeSocket](); - this[_scheduleFilter](); - } - [_doneHandler]() { - if (dart.test(this[_filterStatus].readEmpty)) { - this[_close$](); - } - } - [_reportError](e, stackTrace = null) { - if (this[_status] === 203) { - return; - } else if (dart.test(this[_connectPending])) { - this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); - } else { - this[_controller].addError(core.Object.as(e), stackTrace); - } - this[_close$](); - } - [_closeHandler]() { - return async.async(dart.void, (function* _closeHandler() { - if (this[_status] === 202) { - if (dart.test(this[_closedRead])) return; - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_closedRead] = true; - this[_controller].add(io.RawSocketEvent.readClosed); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } else { - yield this[_scheduleFilter](); - } - } else if (this[_status] === 201) { - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); - } else { - yield this[_secureHandshake](); - } - } - }).bind(this)); - } - [_secureHandshake]() { - return async.async(dart.void, (function* _secureHandshake$() { - try { - let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); - if (dart.test(needRetryHandshake)) { - yield this[_secureHandshake](); - } else { - this[_filterStatus].writeEmpty = false; - this[_readSocket](); - this[_writeSocket](); - yield this[_scheduleFilter](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - }).bind(this)); - } - renegotiate(opts) { - let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - 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[127], 933, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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")); - } - this[_status] = 201; - this[_filterStatus].writeEmpty = false; - this[_scheduleFilter](); - } - [_secureHandshakeCompleteHandler]() { - this[_status] = 202; - if (dart.test(this[_connectPending])) { - this[_connectPending] = false; - try { - this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); - async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_handshakeComplete].completeError(error, stack); - } else - throw e; - } - } - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; - } else { - this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; - if (this[_pauseCount] === 0) { - this[_scheduleReadEvent](); - this[_sendWriteEvent](); - } - } - if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { - if (dart.test(this[_controller].isPaused)) { - this[_socketSubscription].pause(); - } else { - this[_socketSubscription].resume(); - } - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - } - } - [_scheduleFilter]() { - this[_filterPending] = true; - return this[_tryFilter](); - } - [_tryFilter]() { - return async.async(dart.void, (function* _tryFilter() { - try { - while (true) { - if (this[_status] === 203) { - return; - } - if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { - return; - } - this[_filterActive] = true; - this[_filterPending] = false; - this[_filterStatus] = (yield this[_pushAllFilterStages]()); - this[_filterActive] = false; - if (this[_status] === 203) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - return; - } - this[_socket$].readEventsEnabled = true; - if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { - this.shutdown(io.SocketDirection.send); - if (this[_status] === 203) { - return; - } - } - if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { - if (this[_status] === 201) { - dart.nullCheck(this[_secureFilter]).handshake(); - if (this[_status] === 201) { - dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); - } - } - this[_closeHandler](); - } - if (this[_status] === 203) { - return; - } - if (dart.test(this[_filterStatus].progress)) { - this[_filterPending] = true; - if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { - this[_writeSocket](); - } - if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { - this[_sendWriteEvent](); - } - if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { - this[_readSocket](); - } - if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { - this[_scheduleReadEvent](); - } - if (this[_status] === 201) { - yield this[_secureHandshake](); - } - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, st); - } else - throw e$; - } - }).bind(this)); - } - [_readSocketOrBufferedData](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])) { - bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); - } - let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); - this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); - if (bufferedData[$length] == this[_bufferedDataIndex]) { - this[_bufferedData$] = null; - } - return result; - } else if (!dart.test(this[_socketClosedRead])) { - return this[_socket$].read(bytes); - } else { - return null; - } - } - [_readSocket]() { - if (this[_status] === 203) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); - if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { - this[_filterStatus].readEmpty = false; - } else { - this[_socket$].readEventsEnabled = false; - } - } - [_writeSocket]() { - if (dart.test(this[_socketClosedWrite])) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); - if (dart.test(buffer.readToSocket(this[_socket$]))) { - this[_socket$].writeEventsEnabled = true; - } - } - [_scheduleReadEvent]() { - if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_pendingReadEvent] = true; - async.Timer.run(dart.bind(this, _sendReadEvent)); - } - } - [_sendReadEvent]() { - this[_pendingReadEvent] = false; - if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_controller].add(io.RawSocketEvent.read); - this[_scheduleReadEvent](); - } - } - [_sendWriteEvent]() { - if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { - this[_writeEventsEnabled] = false; - this[_controller].add(io.RawSocketEvent.write); - } - } - [_pushAllFilterStages]() { - return async.async(io._FilterStatus, (function* _pushAllFilterStages() { - let wasInHandshake = this[_status] !== 202; - let args = core.List.filled(2 + 4 * 2, null); - args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); - args[$_set](1, wasInHandshake); - let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); - for (let i = 0; i < 4; i = i + 1) { - args[$_set](2 * i + 2, bufs[$_get](i).start); - args[$_set](2 * i + 3, bufs[$_get](i).end); - } - 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(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); - } else { - 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[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[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(); - status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); - if (wasInHandshake) status.writeEmpty = false; - status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); - let buffer = bufs[$_get](1); - let new_start = start(1); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.writePlaintextNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](2); - new_start = start(2); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.readEncryptedNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](3); - let new_end = end(3); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.writeEncryptedNoLongerEmpty = true; - } - buffer.end = new_end; - } - buffer = bufs[$_get](0); - new_end = end(0); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.readPlaintextNoLongerEmpty = true; - } - buffer.end = new_end; - } - return status; - }).bind(this)); - } - }; - (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; - this[_pauseCount] = 0; - this[_pendingReadEvent] = false; - this[_socketClosedRead] = false; - this[_socketClosedWrite] = false; - this[_closedRead] = false; - this[_closedWrite] = false; - this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); - this[_filterStatus] = new io._FilterStatus.new(); - this[_connectPending] = true; - this[_filterPending] = false; - this[_filterActive] = false; - this[_secureFilter] = io._SecureFilter.__(); - this[_selectedProtocol] = null; - this.address = address; - this.isServer = isServer; - this.context = context; - this[_socket$] = _socket; - this[_bufferedData$] = _bufferedData; - this.requestClientCertificate = requestClientCertificate; - this.requireClientCertificate = requireClientCertificate; - this.onBadCertificate = onBadCertificate; - this.keyLog = keyLog; - io._RawSecureSocket.__proto__.new.call(this); - t181 = this[_controller]; - (() => { - 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)); - } - this[_socket$].readEventsEnabled = true; - this[_socket$].writeEventsEnabled = false; - if (subscription == null) { - this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); - } else { - this[_socketSubscription] = subscription; - if (dart.test(this[_socketSubscription].isPaused)) { - this[_socket$].close(); - dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); - } - if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { - this[_eventDispatcher](io.RawSocketEvent.readClosed); - } - t182 = this[_socketSubscription]; - (() => { - t182.onData(dart.bind(this, _eventDispatcher)); - t182.onError(dart.bind(this, _reportError)); - t182.onDone(dart.bind(this, _doneHandler)); - return t182; - })(); - } - try { - let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); - secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); - this[_secureHandshake](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, s); - } else - throw e$; - } - }).prototype = io._RawSecureSocket.prototype; - dart.addTypeTests(io._RawSecureSocket); - dart.addTypeCaches(io._RawSecureSocket); - io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; - dart.setMethodSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getMethods(io._RawSecureSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - available: dart.fnType(core.int, []), - close: dart.fnType(async.Future$(io.RawSecureSocket), []), - [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), - [_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]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), - [_readHandler]: dart.fnType(dart.void, []), - [_writeHandler]: dart.fnType(dart.void, []), - [_doneHandler]: dart.fnType(dart.void, []), - [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), - [_closeHandler]: dart.fnType(dart.void, []), - [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), - renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), - [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), - [_onPauseStateChange]: dart.fnType(dart.void, []), - [_onSubscriptionStateChange]: dart.fnType(dart.void, []), - [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), - [_tryFilter]: dart.fnType(async.Future$(dart.void), []), - [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), - [_readSocket]: dart.fnType(dart.void, []), - [_writeSocket]: dart.fnType(dart.void, []), - [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), - [_sendReadEvent]: dart.fnType(dart.dynamic, []), - [_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), - port: core.int, - remoteAddress: io.InternetAddress, - remotePort: core.int, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool, - peerCertificate: dart.nullable(io.X509Certificate), - selectedProtocol: dart.nullable(core.String) - })); - dart.setSetterSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getSetters(io._RawSecureSocket.__proto__), - [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), - [_owner]: dart.dynamic, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool - })); - dart.setLibraryUri(io._RawSecureSocket, I[108]); - dart.setFieldSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getFields(io._RawSecureSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSocket), - [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), - [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), - [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), - [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), - [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), - [_bufferedDataIndex]: dart.fieldType(core.int), - address: dart.finalFieldType(io.InternetAddress), - isServer: dart.finalFieldType(core.bool), - context: dart.finalFieldType(io.SecurityContext), - 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), - [_pauseCount]: dart.fieldType(core.int), - [_pendingReadEvent]: dart.fieldType(core.bool), - [_socketClosedRead]: dart.fieldType(core.bool), - [_socketClosedWrite]: dart.fieldType(core.bool), - [_closedRead]: dart.fieldType(core.bool), - [_closedWrite]: dart.fieldType(core.bool), - [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), - [_filterStatus]: dart.fieldType(io._FilterStatus), - [_connectPending]: dart.fieldType(core.bool), - [_filterPending]: dart.fieldType(core.bool), - [_filterActive]: dart.fieldType(core.bool), - [_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; - }, - /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { - return 202; - }, - /*io._RawSecureSocket.closedStatus*/get closedStatus() { - return 203; - }, - /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { - return 0; - }, - /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { - return 1; - }, - /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { - return 2; - }, - /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { - return 3; - }, - /*io._RawSecureSocket.bufferCount*/get bufferCount() { - return 4; - } - }, 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[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[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[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[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() { - return this.end == this.start; - } - get length() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get linearLength() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get free() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; - } - get linearFree() { - if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; - if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; - return dart.notNull(this.size) - dart.notNull(this.end); - } - read(bytes) { - if (bytes == null) { - bytes = this.length; - } else { - bytes = math.min(core.int, bytes, this.length); - } - if (bytes === 0) return null; - let result = _native_typed_data.NativeUint8List.new(bytes); - let bytesRead = 0; - while (bytesRead < dart.notNull(bytes)) { - let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); - result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); - this.advanceStart(toRead); - bytesRead = bytesRead + toRead; - } - return result; - } - write(inputData, offset, 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; - } - let written = 0; - let toWrite = math.min(core.int, bytes, this.linearFree); - while (toWrite > 0) { - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); - this.advanceEnd(toWrite); - offset = dart.notNull(offset) + toWrite; - written = written + toWrite; - toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); - } - return written; - } - writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); - let written = 0; - let toWrite = this.linearFree; - while (dart.notNull(toWrite) > 0) { - let inputData = getData(toWrite); - if (inputData == null || inputData[$length] === 0) break; - let len = inputData[$length]; - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); - this.advanceEnd(len); - written = written + dart.notNull(len); - toWrite = this.linearFree; - } - return written; - } - readToSocket(socket) { - if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); - while (true) { - let toWrite = this.linearLength; - if (toWrite === 0) return false; - let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); - this.advanceStart(bytes); - if (dart.notNull(bytes) < dart.notNull(toWrite)) { - return true; - } - } - } - }; - (io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); - this.data = null; - this.size = size; - this.start = (dart.notNull(size) / 2)[$truncate](); - this.end = (dart.notNull(size) / 2)[$truncate](); - ; - }).prototype = io._ExternalBuffer.prototype; - dart.addTypeTests(io._ExternalBuffer); - dart.addTypeCaches(io._ExternalBuffer); - dart.setMethodSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getMethods(io._ExternalBuffer.__proto__), - advanceStart: dart.fnType(dart.void, [core.int]), - advanceEnd: dart.fnType(dart.void, [core.int]), - read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), - write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), - writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), - readToSocket: dart.fnType(core.bool, [io.RawSocket]) - })); - dart.setGetterSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getGetters(io._ExternalBuffer.__proto__), - isEmpty: core.bool, - length: core.int, - linearLength: core.int, - free: core.int, - linearFree: core.int - })); - 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))), - start: dart.fieldType(core.int), - end: dart.fieldType(core.int), - size: dart.finalFieldType(core.int) - })); - 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.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"); - io.TlsException = class TlsException extends core.Object { - get type() { - return this[type$3]; - } - set type(value) { - super.type = value; - } - get message() { - return this[message$6]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$1]; - } - 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); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - return sb.toString(); - } - }; - (io.TlsException.new = function(message = "", osError = null) { - 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[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; - ; - }).prototype = io.TlsException.prototype; - dart.addTypeTests(io.TlsException); - dart.addTypeCaches(io.TlsException); - io.TlsException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.TlsException, I[108]); - dart.setFieldSignature(io.TlsException, () => ({ - __proto__: dart.getFields(io.TlsException.__proto__), - type: dart.finalFieldType(core.String), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) - })); - dart.defineExtensionMethods(io.TlsException, ['toString']); - 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[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[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[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[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[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")); - } - static get alpnSupported() { - dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); - } - static _protocolsToLengthEncoding(protocols) { - let t187, t187$; - if (protocols == null || protocols[$length] === 0) { - return _native_typed_data.NativeUint8List.new(0); - } - let protocolsLength = protocols[$length]; - let expectedLength = protocolsLength; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let length = protocols[$_get](i).length; - if (length > 0 && length <= 255) { - expectedLength = dart.notNull(expectedLength) + length; - } else { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); - } - } - if (dart.notNull(expectedLength) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - let bytes = _native_typed_data.NativeUint8List.new(expectedLength); - let bytesOffset = 0; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let proto = protocols[$_get](i); - 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]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); - } - if (bits > 127) { - return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); - } - } - return bytes; - } - static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); - function addProtocol(outBytes, 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) { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); - } - outBytes[$add](len); - outBytes[$addAll](protocolBytes); - } - dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); - let bytes = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { - addProtocol(bytes, protocols[$_get](i)); - } - if (dart.notNull(bytes[$length]) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - return _native_typed_data.NativeUint8List.fromList(bytes); - } - }; - (io.SecurityContext[dart.mixinNew] = function() { - }).prototype = io.SecurityContext.prototype; - dart.addTypeTests(io.SecurityContext); - dart.addTypeCaches(io.SecurityContext); - 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"); - var _servicePath = dart.privateName(io, "_servicePath"); - var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); - var _serviceType = dart.privateName(io, "_serviceType"); - io._ServiceObject = class _ServiceObject extends core.Object { - get [_serviceId]() { - 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[130], 23, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); - return this[_serviceTypeName]; - } - }; - (io._ServiceObject.new = function() { - this[__serviceId] = 0; - ; - }).prototype = io._ServiceObject.prototype; - dart.addTypeTests(io._ServiceObject); - dart.addTypeCaches(io._ServiceObject); - dart.setMethodSignature(io._ServiceObject, () => ({ - __proto__: dart.getMethods(io._ServiceObject.__proto__), - [_serviceType]: dart.fnType(core.String, [core.bool]) - })); - dart.setGetterSignature(io._ServiceObject, () => ({ - __proto__: dart.getGetters(io._ServiceObject.__proto__), - [_serviceId]: core.int, - [_servicePath]: core.String - })); - dart.setLibraryUri(io._ServiceObject, I[108]); - dart.setFieldSignature(io._ServiceObject, () => ({ - __proto__: dart.getFields(io._ServiceObject.__proto__), - [__serviceId]: dart.fieldType(core.int) - })); - var _value$1 = dart.privateName(io, "InternetAddressType._value"); - io.InternetAddressType = class InternetAddressType extends core.Object { - get [_value$0]() { - return this[_value$1]; - } - 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[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[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[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[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[188] || CT.C188; - }, - /*io.InternetAddressType.IPv6*/get IPv6() { - return C[189] || CT.C189; - }, - /*io.InternetAddressType.unix*/get unix() { - return C[190] || CT.C190; - }, - /*io.InternetAddressType.any*/get any() { - return C[191] || CT.C191; - } - }, false); - io.InternetAddress = class InternetAddress extends core.Object { - static get loopbackIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); - } - static get loopbackIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); - } - static get anyIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); - } - static get anyIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); - } - static new(address, opts) { - 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[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[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[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[110], 435, 43, "address"); - dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); - } - }; - (io.InternetAddress[dart.mixinNew] = function() { - }).prototype = io.InternetAddress.prototype; - dart.addTypeTests(io.InternetAddress); - dart.addTypeCaches(io.InternetAddress); - 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[110], 449, 13, "includeLoopback"); - let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - 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")); - } - }; - (io.NetworkInterface.new = function() { - ; - }).prototype = io.NetworkInterface.prototype; - dart.addTypeTests(io.NetworkInterface); - dart.addTypeCaches(io.NetworkInterface); - 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[110], 459, 52, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[110], 460, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); - dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); - } - }; - (io.RawServerSocket.new = function() { - ; - }).prototype = io.RawServerSocket.prototype; - io.RawServerSocket.prototype[dart.isStream] = true; - dart.addTypeTests(io.RawServerSocket); - dart.addTypeCaches(io.RawServerSocket); - io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; - 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[128], 303, 49, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[128], 304, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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}); - } - return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - static _bind(address, port, opts) { - 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[110], 469, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[110], 469, 51, "shared"); - dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); - } - }; - (io.ServerSocket.new = function() { - ; - }).prototype = io.ServerSocket.prototype; - dart.addTypeTests(io.ServerSocket); - dart.addTypeCaches(io.ServerSocket); - 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]() { - return this[_value$2]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketDirection.__(_value); - } - }; - (io.SocketDirection.__ = function(_value) { - this[_value$2] = _value; - ; - }).prototype = io.SocketDirection.prototype; - dart.addTypeTests(io.SocketDirection); - dart.addTypeCaches(io.SocketDirection); - 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[192] || CT.C192; - }, - /*io.SocketDirection.send*/get send() { - return C[193] || CT.C193; - }, - /*io.SocketDirection.both*/get both() { - return C[194] || CT.C194; - } - }, false); - var _value$3 = dart.privateName(io, "SocketOption._value"); - io.SocketOption = class SocketOption extends core.Object { - get [_value$0]() { - return this[_value$3]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketOption.__(_value); - } - }; - (io.SocketOption.__ = function(_value) { - this[_value$3] = _value; - ; - }).prototype = io.SocketOption.prototype; - dart.addTypeTests(io.SocketOption); - dart.addTypeCaches(io.SocketOption); - 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[195] || CT.C195; - }, - /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[196] || CT.C196; - }, - /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[197] || CT.C197; - }, - /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[198] || CT.C198; - }, - /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[199] || CT.C199; - } - }, false); - 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[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.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"); - io.RawSocketOption = class RawSocketOption extends core.Object { - get level() { - return this[level$2]; - } - set level(value) { - super.level = value; - } - get option() { - return this[option$]; - } - set option(value) { - super.option = value; - } - get value() { - return this[value$3]; - } - 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[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[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); - } - static get levelIPv4() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); - } - static get IPv4MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); - } - static get levelIPv6() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); - } - static get IPv6MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); - } - static get levelTcp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); - } - static get levelUdp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); - } - static _getOptionValue(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[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; - ; - }).prototype = io.RawSocketOption.prototype; - dart.addTypeTests(io.RawSocketOption); - dart.addTypeCaches(io.RawSocketOption); - 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), - option: dart.finalFieldType(core.int), - value: dart.finalFieldType(typed_data.Uint8List) - })); - var socket$ = dart.privateName(io, "ConnectionTask.socket"); - const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); - io.ConnectionTask$ = dart.generic(S => { - class ConnectionTask extends core.Object { - get socket() { - return this[socket$]; - } - 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[128], 509, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); - this[socket$] = socket; - this[_onCancel$] = onCancel; - ; - }).prototype = ConnectionTask.prototype; - dart.addTypeTests(ConnectionTask); - ConnectionTask.prototype[_is_ConnectionTask_default] = true; - dart.addTypeCaches(ConnectionTask); - dart.setMethodSignature(ConnectionTask, () => ({ - __proto__: dart.getMethods(ConnectionTask.__proto__), - cancel: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(ConnectionTask, I[108]); - dart.setFieldSignature(ConnectionTask, () => ({ - __proto__: dart.getFields(ConnectionTask.__proto__), - socket: dart.finalFieldType(async.Future$(S)), - [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) - })); - return ConnectionTask; - }); - 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[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[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")); - } - }; - (io.RawSocket.new = function() { - ; - }).prototype = io.RawSocket.prototype; - io.RawSocket.prototype[dart.isStream] = true; - dart.addTypeTests(io.RawSocket); - dart.addTypeCaches(io.RawSocket); - io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; - 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[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, sourcePort: sourcePort, timeout: timeout}); - } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - static startConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - static _connect(host, port, opts) { - 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[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")); - } - }; - (io.Socket.new = function() { - ; - }).prototype = io.Socket.prototype; - 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.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"); - io.Datagram = class Datagram extends core.Object { - get data() { - 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[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; - ; - }).prototype = io.Datagram.prototype; - dart.addTypeTests(io.Datagram); - dart.addTypeCaches(io.Datagram); - 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() { - return this[multicastInterface]; - } - set multicastInterface(value) { - this[multicastInterface] = value; - } - static bind(host, port, opts) { - 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[110], 610, 13, "reuseAddress"); - let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - 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[110], 610, 62, "ttl"); - dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); - } - }; - (io.RawDatagramSocket.new = function() { - this[multicastInterface] = null; - io.RawDatagramSocket.__proto__.new.call(this); - ; - }).prototype = io.RawDatagramSocket.prototype; - dart.addTypeTests(io.RawDatagramSocket); - dart.addTypeCaches(io.RawDatagramSocket); - 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)) - })); - var message$7 = dart.privateName(io, "SocketException.message"); - var osError$2 = dart.privateName(io, "SocketException.osError"); - var address$0 = dart.privateName(io, "SocketException.address"); - var port$0 = dart.privateName(io, "SocketException.port"); - io.SocketException = class SocketException extends core.Object { - get message() { - return this[message$7]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$2]; - } - set osError(value) { - super.osError = value; - } - get address() { - return this[address$0]; - } - set address(value) { - super.address = value; - } - get port() { - return this[port$0]; - } - 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"); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - if (this.address != null) { - sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); - } - if (this.port != null) { - sb.write(", port = " + dart.str(this.port)); - } - return sb.toString(); - } - }; - (io.SocketException.new = function(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; - this[message$7] = message; - this[osError$2] = osError; - this[address$0] = address; - this[port$0] = port; - ; - }).prototype = io.SocketException.prototype; - (io.SocketException.closed = function() { - this[message$7] = "Socket has been closed"; - this[osError$2] = null; - this[address$0] = null; - this[port$0] = null; - ; - }).prototype = io.SocketException.prototype; - dart.addTypeTests(io.SocketException); - dart.addTypeCaches(io.SocketException); - io.SocketException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.SocketException, I[108]); - dart.setFieldSignature(io.SocketException, () => ({ - __proto__: dart.getFields(io.SocketException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)), - address: dart.finalFieldType(dart.nullable(io.InternetAddress)), - port: dart.finalFieldType(dart.nullable(core.int)) - })); - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - }; - (io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); - this[_stream$0] = _stream; - io._StdStream.__proto__.new.call(this); - ; - }).prototype = io._StdStream.prototype; - dart.addTypeTests(io._StdStream); - dart.addTypeCaches(io._StdStream); - 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[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[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[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)) { - let byte = null; - do { - byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - break; - } - line[$add](byte); - } while (byte !== 10 && !(byte === 13 && crIsNewline)); - if (dart.test(line[$isEmpty])) { - return null; - } - } else if (crIsNewline) { - while (true) { - let byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - if (byte === 10 || byte === 13) break; - line[$add](byte); - } - } else { - L2: - while (true) { - let byte = this.readByteSync(); - if (byte === 10) break; - if (byte === 13) { - do { - byte = this.readByteSync(); - if (byte === 10) break L2; - line[$add](13); - } while (byte === 13); - } - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - line[$add](byte); - } - } - return encoding.decode(line); - } - get echoMode() { - dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); - } - set echoMode(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[110], 716, 26, "enabled"); - dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); - } - get supportsAnsiEscapes() { - dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); - } - readByteSync() { - dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); - } - get hasTerminal() { - try { - return dart.equals(io.stdioType(this), io.StdioType.terminal); - } catch (e) { - let _ = dart.getThrown(e); - if (io.FileSystemException.is(_)) { - return false; - } else - throw e; - } - } - }; - (io.Stdin.__ = function(stream, _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); - ; - }).prototype = io.Stdin.prototype; - io.Stdin.prototype[dart.isStream] = true; - dart.addTypeTests(io.Stdin); - dart.addTypeCaches(io.Stdin); - io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; - dart.setMethodSignature(io.Stdin, () => ({ - __proto__: dart.getMethods(io.Stdin.__proto__), - readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), - readByteSync: dart.fnType(core.int, []) - })); - 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 - })); - dart.setSetterSignature(io.Stdin, () => ({ - __proto__: dart.getSetters(io.Stdin.__proto__), - echoMode: core.bool, - echoNewlineMode: core.bool, - lineMode: core.bool - })); - dart.setLibraryUri(io.Stdin, I[108]); - dart.setFieldSignature(io.Stdin, () => ({ - __proto__: dart.getFields(io.Stdin.__proto__), - [_fd$]: dart.fieldType(core.int) - })); - var _nonBlocking = dart.privateName(io, "_nonBlocking"); - 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[131], 333, 30, "encoding"); - this[_sink$1].encoding = encoding; - } - write(object) { - this[_sink$1].write(object); - } - writeln(object = "") { - this[_sink$1].writeln(object); - } - writeAll(objects, 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[131], 349, 22, "data"); - this[_sink$1].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[131], 353, 17, "error"); - this[_sink$1].addError(error, stackTrace); - } - writeCharCode(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[131], 361, 38, "stream"); - return this[_sink$1].addStream(stream); - } - flush() { - return this[_sink$1].flush(); - } - close() { - return this[_sink$1].close(); - } - get done() { - return this[_sink$1].done; - } - }; - (io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); - this[_sink$1] = _sink; - ; - }).prototype = io._StdSink.prototype; - dart.addTypeTests(io._StdSink); - dart.addTypeCaches(io._StdSink); - io._StdSink[dart.implements] = () => [io.IOSink]; - dart.setMethodSignature(io._StdSink, () => ({ - __proto__: dart.getMethods(io._StdSink.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []) - })); - dart.setGetterSignature(io._StdSink, () => ({ - __proto__: dart.getGetters(io._StdSink.__proto__), - encoding: convert.Encoding, - done: async.Future - })); - dart.setSetterSignature(io._StdSink, () => ({ - __proto__: dart.getSetters(io._StdSink.__proto__), - encoding: convert.Encoding - })); - 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$]); - } - get terminalColumns() { - return this[_terminalColumns](this[_fd$]); - } - get terminalLines() { - return this[_terminalLines](this[_fd$]); - } - get supportsAnsiEscapes() { - return io.Stdout._supportsAnsiEscapes(this[_fd$]); - } - [_hasTerminal](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[110], 734, 28, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); - } - [_terminalLines](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[110], 744, 40, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); - } - get nonBlocking() { - 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[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); - ; - }).prototype = io.Stdout.prototype; - dart.addTypeTests(io.Stdout); - dart.addTypeCaches(io.Stdout); - io.Stdout[dart.implements] = () => [io.IOSink]; - dart.setMethodSignature(io.Stdout, () => ({ - __proto__: dart.getMethods(io.Stdout.__proto__), - [_hasTerminal]: dart.fnType(core.bool, [core.int]), - [_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, - terminalColumns: core.int, - terminalLines: core.int, - supportsAnsiEscapes: core.bool, - nonBlocking: io.IOSink - })); - dart.setLibraryUri(io.Stdout, I[108]); - dart.setFieldSignature(io.Stdout, () => ({ - __proto__: dart.getFields(io.Stdout.__proto__), - [_fd$]: dart.finalFieldType(core.int), - [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) - })); - var message$8 = dart.privateName(io, "StdoutException.message"); - var osError$3 = dart.privateName(io, "StdoutException.osError"); - io.StdoutException = class StdoutException extends core.Object { - get message() { - return this[message$8]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$3]; - } - 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[131], 277, 30, "message"); - this[message$8] = message; - this[osError$3] = osError; - ; - }).prototype = io.StdoutException.prototype; - dart.addTypeTests(io.StdoutException); - dart.addTypeCaches(io.StdoutException); - io.StdoutException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.StdoutException, I[108]); - dart.setFieldSignature(io.StdoutException, () => ({ - __proto__: dart.getFields(io.StdoutException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) - })); - dart.defineExtensionMethods(io.StdoutException, ['toString']); - var message$9 = dart.privateName(io, "StdinException.message"); - var osError$4 = dart.privateName(io, "StdinException.osError"); - io.StdinException = class StdinException extends core.Object { - get message() { - return this[message$9]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$4]; - } - 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[131], 292, 29, "message"); - this[message$9] = message; - this[osError$4] = osError; - ; - }).prototype = io.StdinException.prototype; - dart.addTypeTests(io.StdinException); - dart.addTypeCaches(io.StdinException); - io.StdinException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(io.StdinException, I[108]); - dart.setFieldSignature(io.StdinException, () => ({ - __proto__: dart.getFields(io.StdinException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) - })); - 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[131], 304, 38, "stream"); - let completer = async.Completer.new(); - let sub = null; - 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 { - this[_file].writeFromSync(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - sub$35get().cancel(); - completer.completeError(e, s); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); - return completer.future; - } - close() { - this[_file].closeSync(); - return async.Future.value(); - } - }; - (io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); - this[_file] = io._File._openStdioSync(fd); - ; - }).prototype = io._StdConsumer.prototype; - dart.addTypeTests(io._StdConsumer); - dart.addTypeCaches(io._StdConsumer); - io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; - dart.setMethodSignature(io._StdConsumer, () => ({ - __proto__: dart.getMethods(io._StdConsumer.__proto__), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []) - })); - dart.setLibraryUri(io._StdConsumer, I[108]); - dart.setFieldSignature(io._StdConsumer, () => ({ - __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(io.RandomAccessFile) - })); - var name$11 = dart.privateName(io, "StdioType.name"); - io.StdioType = class StdioType extends core.Object { - get name() { - return this[name$11]; - } - 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[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[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[208] || CT.C208; - }, - /*io.StdioType.pipe*/get pipe() { - return C[209] || CT.C209; - }, - /*io.StdioType.file*/get file() { - return C[210] || CT.C210; - }, - /*io.StdioType.other*/get other() { - return C[211] || CT.C211; - } - }, false); - io._StdIOUtils = class _StdIOUtils extends core.Object { - static _getStdioOutputStream(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[110], 626, 41, "fd"); - dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); - } - static _socketType(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[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.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[132], 26, 27, "input"); - return this.encoder.convert(input); - } - decode(encoded) { - T$0.ListOfint().as(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[212] || CT.C212; - } else { - return C[108] || CT.C108; - } - } - get decoder() { - if (io.Platform.operatingSystem === "windows") { - return C[213] || CT.C213; - } else { - return C[107] || CT.C107; - } - } - }; - (io.SystemEncoding.new = function() { - io.SystemEncoding.__proto__.new.call(this); - ; - }).prototype = io.SystemEncoding.prototype; - dart.addTypeTests(io.SystemEncoding); - dart.addTypeCaches(io.SystemEncoding); - dart.setGetterSignature(io.SystemEncoding, () => ({ - __proto__: dart.getGetters(io.SystemEncoding.__proto__), - name: core.String, - encoder: convert.Converter$(core.String, core.List$(core.int)), - decoder: convert.Converter$(core.List$(core.int), core.String) - })); - 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[132], 49, 28, "input"); - let encoded = io._WindowsCodePageEncoder._encodeString(input); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - return encoded; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[110], 657, 41, "string"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); - } - }; - (io._WindowsCodePageEncoder.new = function() { - io._WindowsCodePageEncoder.__proto__.new.call(this); - ; - }).prototype = io._WindowsCodePageEncoder.prototype; - dart.addTypeTests(io._WindowsCodePageEncoder); - dart.addTypeCaches(io._WindowsCodePageEncoder); - dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), - convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) - })); - 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[132], 77, 19, "string"); - let encoded = io._WindowsCodePageEncoder._encodeString(string); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - this[_sink$1].add(encoded); - } - addSlice(source, start, end, 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); - } - this.add(source); - if (dart.test(isLast)) this.close(); - } - }; - (io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); - this[_sink$1] = _sink; - ; - }).prototype = io._WindowsCodePageEncoderSink.prototype; - dart.addTypeTests(io._WindowsCodePageEncoderSink); - dart.addTypeCaches(io._WindowsCodePageEncoderSink); - dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - 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[132], 97, 28, "input"); - return io._WindowsCodePageDecoder._decodeBytes(input); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[110], 649, 40, "bytes"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); - } - }; - (io._WindowsCodePageDecoder.new = function() { - io._WindowsCodePageDecoder.__proto__.new.call(this); - ; - }).prototype = io._WindowsCodePageDecoder.prototype; - dart.addTypeTests(io._WindowsCodePageDecoder); - dart.addTypeCaches(io._WindowsCodePageDecoder); - dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) - })); - 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[132], 121, 22, "bytes"); - this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); - } - }; - (io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); - this[_sink$1] = _sink; - io._WindowsCodePageDecoderSink.__proto__.new.call(this); - ; - }).prototype = io._WindowsCodePageDecoderSink.prototype; - dart.addTypeTests(io._WindowsCodePageDecoderSink); - dart.addTypeCaches(io._WindowsCodePageDecoderSink); - dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - 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[110], 567, 61, "port"); - dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); - } - }; - (io.RawSynchronousSocket.new = function() { - ; - }).prototype = io.RawSynchronousSocket.prototype; - dart.addTypeTests(io.RawSynchronousSocket); - dart.addTypeCaches(io.RawSynchronousSocket); - 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[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); - let newBuffer = _native_typed_data.NativeUint8List.new(length); - newBuffer[$setRange](0, length, buffer, start); - return new io._BufferAndStart.new(newBuffer, 0); - }; - io._validateZLibWindowBits = function _validateZLibWindowBits(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[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[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[111], 559, 32, "strategy"); - let strategies = C[214] || CT.C214; - if (strategies[$indexOf](strategy) === -1) { - dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); - } - }; - 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[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[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[121], 158, 58, "parameters"); - if (!dart.test(parameters[$containsKey]("enable"))) { - dart.throw(io._missingArgument("enable")); - } - let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); - if (enable !== "true" && enable !== "false") { - dart.throw(io._invalidArgument("enable", enable)); - } - _http.HttpClient.enableTimelineLogging = enable === "true"; - return io._success(); - }; - io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); - if (!dart.test(parameters[$containsKey]("id"))) { - dart.throw(io._missingArgument("id")); - } - let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); - if (id == null) { - dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); - } - let request = _http.HttpProfiler.getHttpProfileRequest(id); - if (request == null) { - dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); - } - return convert.json.encode(request.toJson({ref: false})); - }; - io._socketProfilingEnabled = function _socketProfilingEnabled(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") { - dart.throw(io._invalidArgument("enabled", enable)); - } - enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); - } - 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[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()")); - } - io._ProcessUtils._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[125], 94, 21, "duration"); - let milliseconds = duration.inMilliseconds; - if (dart.notNull(milliseconds) < 0) { - dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); - } - if (!dart.test(io._EmbedderConfig._maySleep)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); - } - io._ProcessUtils._sleep(milliseconds); - }; - io._setStdioFDs = function _setStdioFDs(stdin, stdout, 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; - }; - io.stdioType = function stdioType(object) { - if (io._StdStream.is(object)) { - object = object[_stream$0]; - } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { - let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; - let type = io._StdIOUtils._getStdioHandleType(stdiofd); - if (io.OSError.is(type)) { - dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); - } - switch (type) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._FileStream.is(object)) { - return io.StdioType.file; - } - if (io.Socket.is(object)) { - let socketType = io._StdIOUtils._socketType(object); - if (socketType == null) return io.StdioType.other; - switch (socketType) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._IOSinkImpl.is(object)) { - try { - if (io._FileStreamConsumer.is(object[_target$0])) { - return io.StdioType.file; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - } - return io.StdioType.other; - }; - dart.copyProperties(io, { - set exitCode(code) { - if (code == null) dart.nullFailed(I[125], 69, 23, "code"); - core.ArgumentError.checkNotNull(core.int, code, "code"); - io._ProcessUtils._setExitCode(code); - }, - get exitCode() { - return io._ProcessUtils._getExitCode(); - }, - get pid() { - return io._ProcessUtils._pid(null); - }, - get stdin() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); - return t196$ == null ? io._stdin : t196$; - }, - get stdout() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); - return t196$ == null ? io._stdout : t196$; - }, - get stderr() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); - return t196$ == null ? io._stderr : t196$; - } - }); - dart.defineLazy(io, { - /*io._successResponse*/get _successResponse() { - return 0; - }, - /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { - return 1; - }, - /*io._osErrorResponse*/get _osErrorResponse() { - return 2; - }, - /*io._fileClosedResponse*/get _fileClosedResponse() { - return 3; - }, - /*io._errorResponseErrorType*/get _errorResponseErrorType() { - return 0; - }, - /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { - return 1; - }, - /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { - return 2; - }, - /*io._eNoEnt*/get _eNoEnt() { - return 2; - }, - /*io._errorFileNotFound*/get _errorFileNotFound() { - return 2; - }, - /*io._errorPathNotFound*/get _errorPathNotFound() { - return 3; - }, - /*io._errorInvalidDrive*/get _errorInvalidDrive() { - return 15; - }, - /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { - return 18; - }, - /*io._errorBadNetpath*/get _errorBadNetpath() { - return 53; - }, - /*io._errorBadNetName*/get _errorBadNetName() { - return 67; - }, - /*io._errorBadPathName*/get _errorBadPathName() { - return 161; - }, - /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { - return 206; - }, - /*io.zlib*/get zlib() { - return C[215] || CT.C215; - }, - /*io.gzip*/get gzip() { - return C[216] || CT.C216; - }, - /*io._blockSize*/get _blockSize() { - return 65536; - }, - /*io._versionMajor*/get _versionMajor() { - return 1; - }, - /*io._versionMinor*/get _versionMinor() { - return 6; - }, - /*io._tcpSocket*/get _tcpSocket() { - return "tcp"; - }, - /*io._udpSocket*/get _udpSocket() { - return "udp"; - }, - /*io._ioOverridesToken*/get _ioOverridesToken() { - return new core.Object.new(); - }, - /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*io._nextServiceId*/get _nextServiceId() { - return 1; - }, - set _nextServiceId(value) { - if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); - }, - /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { - return 0; - }, - /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { - return 1; - }, - /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { - return 2; - }, - /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { - return 3; - }, - /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { - return 4; - }, - /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { - return 5; - }, - /*io._stdin*/get _stdin() { - return io._StdIOUtils._getStdioInputStream(io._stdinFD); - }, - /*io._stdout*/get _stdout() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); - }, - /*io._stderr*/get _stderr() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); - }, - /*io._stdinFD*/get _stdinFD() { - return 0; - }, - set _stdinFD(value) { - if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); - }, - /*io._stdoutFD*/get _stdoutFD() { - return 1; - }, - set _stdoutFD(value) { - if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); - }, - /*io._stderrFD*/get _stderrFD() { - return 2; - }, - set _stderrFD(value) { - if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); - }, - /*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() { - return isolate$._unsupported(); - } - 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 : true; - return isolate$._unsupported(); - } - }; - (isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); - isolate$._ReceivePort.__proto__.new.call(this); - ; - }).prototype = isolate$._ReceivePort.prototype; - dart.addTypeTests(isolate$._ReceivePort); - dart.addTypeCaches(isolate$._ReceivePort); - isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; - dart.setMethodSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), - close: dart.fnType(dart.void, []), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) - })); - dart.setGetterSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), - sendPort: isolate$.SendPort - })); - dart.setLibraryUri(isolate$._ReceivePort, I[134]); - var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); - isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { - get message() { - return this[message$10]; - } - 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[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[134]); - dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ - __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), - message: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); - var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); - var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); - var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); - var _pause = dart.privateName(isolate$, "_pause"); - isolate$.Isolate = class Isolate extends core.Object { - get controlPort() { - return this[controlPort$]; - } - set controlPort(value) { - super.controlPort = value; - } - get pauseCapability() { - return this[pauseCapability$]; - } - set pauseCapability(value) { - super.pauseCapability = value; - } - get terminateCapability() { - return this[terminateCapability$]; - } - set terminateCapability(value) { - super.terminateCapability = value; - } - static get packageRoot() { - return isolate$._unsupported(); - } - get debugName() { - return isolate$._unsupported(); - } - 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[133], 29, 45, "packageUri"); - return isolate$._unsupported(); - } - static spawn(T, entryPoint, message, opts) { - 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[133], 33, 17, "paused"); - let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - 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[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[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[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[133], 49, 16, "automaticPackageResolution"); - let debugName = opts && 'debugName' in opts ? opts.debugName : null; - return isolate$._unsupported(); - } - pause(resumeCapability = null) { - resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; - this[_pause](resumeCapability); - return resumeCapability; - } - [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); - return isolate$._unsupported(); - } - resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); - return isolate$._unsupported(); - } - addOnExitListener(responsePort, opts) { - 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[133], 64, 38, "responsePort"); - return isolate$._unsupported(); - } - setErrorsFatal(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[133], 70, 18, "priority"); - return isolate$._unsupported(); - } - ping(responsePort, opts) { - 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[133], 73, 34, "priority"); - return isolate$._unsupported(); - } - addErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 77, 34, "port"); - return isolate$._unsupported(); - } - removeErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 80, 37, "port"); - return isolate$._unsupported(); - } - get errors() { - let controller = async.StreamController.broadcast({sync: true}); - let port = null; - function handleError(message) { - let listMessage = T$.ListOfObjectN().as(message); - let errorDescription = core.String.as(listMessage[$_get](0)); - let stackDescription = core.String.as(listMessage[$_get](1)); - let error = new isolate$.RemoteError.new(errorDescription, stackDescription); - controller.addError(error, error.stackTrace); - } - dart.fn(handleError, T$.ObjectNTovoid()); - controller.onListen = dart.fn(() => { - let receivePort = isolate$.RawReceivePort.new(handleError); - port = receivePort; - this.addErrorListener(receivePort.sendPort); - }, T$.VoidTovoid()); - controller.onCancel = dart.fn(() => { - let listenPort = dart.nullCheck(port); - port = null; - this.removeErrorListener(listenPort.sendPort); - listenPort.close(); - }, 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[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; - this[pauseCapability$] = pauseCapability; - this[terminateCapability$] = terminateCapability; - ; - }).prototype = isolate$.Isolate.prototype; - dart.addTypeTests(isolate$.Isolate); - dart.addTypeCaches(isolate$.Isolate); - dart.setMethodSignature(isolate$.Isolate, () => ({ - __proto__: dart.getMethods(isolate$.Isolate.__proto__), - pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), - [_pause]: dart.fnType(dart.void, [isolate$.Capability]), - resume: dart.fnType(dart.void, [isolate$.Capability]), - addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), - removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), - setErrorsFatal: dart.fnType(dart.void, [core.bool]), - kill: dart.fnType(dart.void, [], {priority: core.int}, {}), - ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), - 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.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; - }, - /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { - return 1; - } - }, false); - isolate$.SendPort = class SendPort extends core.Object {}; - (isolate$.SendPort.new = function() { - ; - }).prototype = isolate$.SendPort.prototype; - dart.addTypeTests(isolate$.SendPort); - dart.addTypeCaches(isolate$.SendPort); - isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; - 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[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; - isolate$.ReceivePort.prototype[dart.isStream] = true; - dart.addTypeTests(isolate$.ReceivePort); - dart.addTypeCaches(isolate$.ReceivePort); - isolate$.ReceivePort[dart.implements] = () => [async.Stream]; - 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[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.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 { - get stackTrace() { - return this[stackTrace$0]; - } - 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[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); - ; - }).prototype = isolate$.RemoteError.prototype; - dart.addTypeTests(isolate$.RemoteError); - dart.addTypeCaches(isolate$.RemoteError); - isolate$.RemoteError[dart.implements] = () => [core.Error]; - dart.setLibraryUri(isolate$.RemoteError, I[134]); - dart.setFieldSignature(isolate$.RemoteError, () => ({ - __proto__: dart.getFields(isolate$.RemoteError.__proto__), - [_description]: dart.finalFieldType(core.String), - stackTrace: dart.finalFieldType(core.StackTrace) - })); - 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[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.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.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 { - 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[136], 329, 20, "_dartObj"); - this[_dartObj$] = _dartObj; - ; - }).prototype = js._DartObject.prototype; - dart.addTypeTests(js._DartObject); - dart.addTypeCaches(js._DartObject); - 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[136], 57, 34, "data"); - let _convertedObjects = new _js_helper.IdentityMap.new(); - function _convert(o) { - if (dart.test(_convertedObjects[$containsKey](o))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return js._convertToJS(o); - } - } - dart.fn(_convert, T$0.ObjectNTodynamic()); - return _convert(data); - } - static new(constructor, $arguments = null) { - 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[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[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[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[136], 85, 30, "property"); - if (!(typeof property == 'string') && !(typeof property == 'number')) { - dart.throw(new core.ArgumentError.new("property is not a String or num")); - } - return js._convertToDart(this[_jsObject$][property]); - } - _set(property, value$) { - let value = value$; - 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")); - } - this[_jsObject$][property] = js._convertToJS(value); - return value$; - } - get hashCode() { - return 0; - } - _equals(other) { - if (other == null) return false; - return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; - } - hasProperty(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[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[136], 121, 30, "type"); - return this[_jsObject$] instanceof js._convertToJS(type); - } - toString() { - try { - return String(this[_jsObject$]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return super[$toString](); - } else - throw e$; - } - } - callMethod(method, args = null) { - 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[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())); - } - return js._convertToDart(fn.apply(this[_jsObject$], args)); - } - }; - (js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); - this[_jsObject$] = _jsObject; - 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); - dart.setMethodSignature(js.JsObject, () => ({ - __proto__: dart.getMethods(js.JsObject.__proto__), - _get: dart.fnType(dart.dynamic, [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - hasProperty: dart.fnType(core.bool, [core.Object]), - deleteProperty: dart.fnType(dart.void, [core.Object]), - instanceof: dart.fnType(core.bool, [js.JsFunction]), - callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) - })); - 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) - })); - 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[136], 151, 40, "f"); - return new js.JsFunction._fromJs(function() { - let args = [js._convertToDart(this)]; - for (let arg of arguments) { - args.push(js._convertToDart(arg)); - } - 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[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[136], 167, 29, "jsObject"); - js.JsFunction.__proto__._fromJs.call(this, jsObject); - ; - }).prototype = js.JsFunction.prototype; - dart.addTypeTests(js.JsFunction); - dart.addTypeCaches(js.JsFunction); - dart.setMethodSignature(js.JsFunction, () => ({ - __proto__: dart.getMethods(js.JsFunction.__proto__), - apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) - })); - 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 __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[138], 175, 7, "property"); - super._set(property, value); - return value$; - } - }; - (JsObject_ListMixin$36._fromJs = function(_jsObject) { - JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); - }).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[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[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[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)); - } - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - dart.throw(new core.RangeError.range(end, start, length)); - } - } - static new() { - return new (js.JsArray$(E))._fromJs([]); - } - static ['_#new#tearOff'](E) { - return js.JsArray$(E).new(); - } - static from(other) { - 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[136], 212, 24, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - return E.as(super._get(index)); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[136], 220, 28, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - super._set(index, value); - return value$; - } - get length() { - let len = this[_jsObject$].length; - if (typeof len === "number" && len >>> 0 === len) { - return len; - } - dart.throw(new core.StateError.new("Bad JsArray length")); - } - set length(length) { - if (length == null) dart.nullFailed(I[136], 240, 23, "length"); - super._set("length", length); - } - add(value) { - E.as(value); - this.callMethod("push", [value]); - } - addAll(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[136], 258, 19, "index"); - E.as(element); - this[_checkInsertIndex](index); - this.callMethod("splice", [index, 0, element]); - } - removeAt(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])); - } - removeLast() { - if (this.length === 0) dart.throw(new core.RangeError.new(-1)); - return E.as(this.callMethod("pop")); - } - removeRange(start, 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 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 = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t200[$addAll](iterable[$skip](skipCount)[$take](length)); - return t200; - })()); - this.callMethod("splice", args); - } - sort(compare = null) { - this.callMethod("sort", compare == null ? [] : [compare]); - } - } - (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); - JsArray.__proto__._fromJs.call(this, jsObject); - ; - }).prototype = JsArray.prototype; - dart.addTypeTests(JsArray); - JsArray.prototype[_is_JsArray_default] = true; - dart.addTypeCaches(JsArray); - dart.setMethodSignature(JsArray, () => ({ - __proto__: dart.getMethods(JsArray.__proto__), - [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), - [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), - _get: dart.fnType(E, [core.Object]), - [$_get]: dart.fnType(E, [core.Object]), - _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, - [$length]: core.int - })); - dart.setSetterSignature(JsArray, () => ({ - __proto__: dart.getSetters(JsArray.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(JsArray, I[137]); - dart.defineExtensionMethods(JsArray, [ - '_get', - '_set', - 'add', - 'addAll', - 'insert', - 'removeAt', - 'removeLast', - 'removeRange', - 'setRange', - 'sort' - ]); - dart.defineExtensionAccessors(JsArray, ['length']); - return JsArray; - }); - js.JsArray = js.JsArray$(); - dart.addTypeTests(js.JsArray, _is_JsArray_default); - js._isBrowserType = function _isBrowserType(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) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (core.DateTime.is(o)) { - return _js_helper.Primitives.lazyAsJsDate(o); - } else if (js.JsObject.is(o)) { - return o[_jsObject$]; - } else if (core.Function.is(o)) { - 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[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[136], 348, 33, "f"); - let wrapper = function() { - let args = Array.prototype.map.call(arguments, js._convertToDart); - return js._convertToJS(f(...args)); - }; - js._dartProxies.set(wrapper, f); - return wrapper; - }; - js._convertToDart = function _convertToDart(o) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (o instanceof Date) { - let ms = o.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } 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[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[136], 383, 35, "o"); - if (typeof o == "function") { - return new js.JsFunction._fromJs(o); - } - if (o instanceof Array) { - return new js.JsArray._fromJs(o); - } - return new js.JsObject._fromJs(o); - }; - js._putIfAbsent = function _putIfAbsent(weakMap, o, 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); - weakMap.set(o, value); - } - return value; - }; - js.allowInterop = function allowInterop(F, 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) { - ret = function(...args) { - return dart.dcall(f, args); - }; - js._interopExpando._set(f, ret); - } - return ret; - }; - js.allowInteropCaptureThis = function allowInteropCaptureThis(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) { - ret = function(...arguments$) { - let args = [this]; - args.push.apply(args, arguments$); - return dart.dcall(f, args); - }; - js._interopCaptureThisExpando._set(f, ret); - } - return ret; - }; - dart.copyProperties(js, { - get context() { - return js._context; - } - }); - dart.defineLazy(js, { - /*js._context*/get _context() { - return js._wrapToDart(dart.global); - }, - /*js._dartProxies*/get _dartProxies() { - return new WeakMap(); - }, - /*js._jsProxies*/get _jsProxies() { - return new WeakMap(); - }, - /*js._interopExpando*/get _interopExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _interopExpando(value) { - if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); - }, - /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - 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 { - get isUndefined() { - return this[isUndefined$]; - } - 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[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[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._convertDataTree = function _convertDataTree(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))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return o; - } - } - dart.fn(_convert, T$.ObjectNToObjectN()); - return dart.nullCheck(_convert(data)); - }; - 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[141], 56, 25, "o"); - if (name == null) dart.nullFailed(I[141], 56, 35, "name"); - return name in o; - }; - 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(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$(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 T.as(o[method].apply(o, args)); - }; - js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[141], 165, 35, "type"); - return o instanceof type; - }; - js_util.callConstructor = function callConstructor(T, constr, $arguments) { - let t200; - if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); - if ($arguments == null) { - return T.as(new constr()); - } else { - _js_helper.assertInteropArgs($arguments); - } - if ($arguments instanceof Array) { - let argumentCount = $arguments.length; - switch (argumentCount) { - case 0: - { - return T.as(new constr()); - } - case 1: - { - let arg0 = $arguments[0]; - return T.as(new constr(arg0)); - } - case 2: - { - 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 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 T.as(new constr(arg0, arg1, arg2, arg3)); - } - } - } - let args = (t200 = [null], (() => { - t200[$addAll]($arguments); - return t200; - })()); - let factoryFunction = constr.bind.apply(constr, args); - String(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[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 => { - if (e == null) { - return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); - } - return completer.completeError(core.Object.as(e)); - }, T$.dynamicTovoid()), 1); - 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[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))); - } - return Math.random() * max >>> 0; - } - nextDouble() { - return Math.random(); - } - nextBool() { - return Math.random() < 0.5; - } - }; - (math._JSRandom.new = function() { - ; - }).prototype = math._JSRandom.prototype; - dart.addTypeTests(math._JSRandom); - dart.addTypeCaches(math._JSRandom); - math._JSRandom[dart.implements] = () => [math.Random]; - dart.setMethodSignature(math._JSRandom, () => ({ - __proto__: dart.getMethods(math._JSRandom.__proto__), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) - })); - 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; - let tmpHiHi = tmpHi - tmpHiLo; - let tmpLo = 55905 * this[_lo]; - let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; - let tmpLoHi = tmpLo - tmpLoLo; - let newLo = tmpLoLo + tmpHiLo + this[_hi]; - 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[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); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - if ((max & max - 1) === 0) { - this[_nextState](); - return (this[_lo] & max - 1) >>> 0; - } - let rnd32 = null; - let result = null; - do { - this[_nextState](); - rnd32 = this[_lo]; - result = rnd32[$remainder](max)[$toInt](); - } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); - return result; - } - nextDouble() { - this[_nextState](); - let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; - this[_nextState](); - let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; - return (bits26 * 134217728 + bits27) / 9007199254740992.0; - } - nextBool() { - this[_nextState](); - return (this[_lo] & 1) === 0; - } - }; - (math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); - this[_lo] = 0; - this[_hi] = 0; - let empty_seed = 0; - if (dart.notNull(seed) < 0) { - empty_seed = -1; - } - do { - let low = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); - let high = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); - let tmplow = low << 21 >>> 0; - let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; - tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; - low = (tmplow & 4294967295.0) >>> 0; - high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](24); - tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 265; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](14); - tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 21; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](28); - tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low << 31 >>> 0; - tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; - tmplow = tmplow + low; - low = (tmplow & 4294967295.0) >>> 0; - high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmplow = this[_lo] * 1037; - this[_lo] = (tmplow & 4294967295.0) >>> 0; - this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - this[_lo] = (this[_lo] ^ low) >>> 0; - this[_hi] = (this[_hi] ^ high) >>> 0; - } while (seed !== empty_seed); - if (this[_hi] === 0 && this[_lo] === 0) { - this[_lo] = 23063; - } - this[_nextState](); - this[_nextState](); - this[_nextState](); - this[_nextState](); - }).prototype = math._Random.prototype; - dart.addTypeTests(math._Random); - dart.addTypeCaches(math._Random); - math._Random[dart.implements] = () => [math.Random]; - dart.setMethodSignature(math._Random, () => ({ - __proto__: dart.getMethods(math._Random.__proto__), - [_nextState]: dart.fnType(dart.void, []), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) - })); - 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; - }, - /*math._Random._POW2_27_D*/get _POW2_27_D() { - return 134217728; - }, - /*math._Random._MASK32*/get _MASK32() { - return 4294967295.0; - } - }, false); - 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[142], 280, 28, "start"); - if (length == null) dart.nullFailed(I[142], 280, 39, "length"); - crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); - } - nextBool() { - this[_getRandomBytes](0, 1); - return this[_buffer$0][$getUint8](0)[$isOdd]; - } - nextDouble() { - this[_getRandomBytes](1, 7); - this[_buffer$0][$setUint8](0, 63); - let highByte = this[_buffer$0][$getUint8](1); - this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); - let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; - if ((dart.notNull(highByte) & 16) !== 0) { - result = result + 1.1102230246251565e-16; - } - return result; - } - nextInt(max) { - if (max == null) dart.argumentError(max); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - let byteCount = 1; - if (max > 255) { - byteCount = byteCount + 1; - if (max > 65535) { - byteCount = byteCount + 1; - if (max > 16777215) { - byteCount = byteCount + 1; - } - } - } - this[_buffer$0][$setUint32](0, 0); - let start = 4 - byteCount; - let randomLimit = math.pow(256, byteCount)[$toInt](); - while (true) { - this[_getRandomBytes](start, byteCount); - let random = this[_buffer$0][$getUint32](0); - if ((max & max - 1) === 0) { - return (dart.notNull(random) & max - 1) >>> 0; - } - let result = random[$remainder](max)[$toInt](); - if (dart.notNull(random) - result + max < randomLimit) { - return result; - } - } - } - }; - (math._JSSecureRandom.new = function() { - this[_buffer$0] = _native_typed_data.NativeByteData.new(8); - let crypto = self.crypto; - if (crypto != null) { - let getRandomValues = crypto.getRandomValues; - if (getRandomValues != null) { - return; - } - } - dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); - }).prototype = math._JSSecureRandom.prototype; - dart.addTypeTests(math._JSSecureRandom); - dart.addTypeCaches(math._JSSecureRandom); - math._JSSecureRandom[dart.implements] = () => [math.Random]; - dart.setMethodSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getMethods(math._JSSecureRandom.__proto__), - [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), - nextBool: dart.fnType(core.bool, []), - nextDouble: dart.fnType(core.double, []), - nextInt: dart.fnType(core.int, [core.int]) - })); - dart.setLibraryUri(math._JSSecureRandom, I[143]); - dart.setFieldSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getFields(math._JSSecureRandom.__proto__), - [_buffer$0]: dart.finalFieldType(typed_data.ByteData) - })); - 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 __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); - class Point extends core.Object { - get x() { - return this[x$2]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$2]; - } - 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) + ")"; - } - _equals(other) { - if (other == null) return false; - return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; - } - get hashCode() { - return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); - } - ['+'](other) { - __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) { - __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[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) { - __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) { - __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[144], 19, 17, "x"); - if (y == null) dart.nullFailed(I[144], 19, 22, "y"); - this[x$2] = x; - this[y$2] = y; - ; - }).prototype = Point.prototype; - dart.addTypeTests(Point); - Point.prototype[_is_Point_default] = true; - dart.addTypeCaches(Point); - dart.setMethodSignature(Point, () => ({ - __proto__: dart.getMethods(Point.__proto__), - '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '*': dart.fnType(math.Point$(T), [core.num]), - distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), - squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Point, () => ({ - __proto__: dart.getGetters(Point.__proto__), - magnitude: core.double - })); - dart.setLibraryUri(Point, I[143]); - dart.setFieldSignature(Point, () => ({ - __proto__: dart.getFields(Point.__proto__), - x: dart.finalFieldType(T), - y: dart.finalFieldType(T) - })); - dart.defineExtensionMethods(Point, ['toString', '_equals']); - dart.defineExtensionAccessors(Point, ['hashCode']); - return Point; - }); - 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[222] || CT.C222 : new math._Random.new(seed); - } - static ['_#new#tearOff'](seed = null) { - return math.Random.new(seed); - } - static secure() { - 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.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 new math._JSSecureRandom.new(); - } - }, false); - const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); - math._RectangleBase$ = dart.generic(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])); - } - get bottom() { - return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - toString() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - _equals(other) { - if (other == null) return false; - 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 _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); - } - intersection(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 (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); - } - } - return null; - } - intersects(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) { - __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 (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); - } - containsRectangle(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[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 (__t$PointOfT()).new(this[$left], this[$top]); - } - get topRight() { - return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); - } - get bottomRight() { - 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 (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); - } - } - (_RectangleBase.new = function() { - ; - }).prototype = _RectangleBase.prototype; - dart.addTypeTests(_RectangleBase); - _RectangleBase.prototype[_is__RectangleBase_default] = true; - dart.addTypeCaches(_RectangleBase); - dart.setMethodSignature(_RectangleBase, () => ({ - __proto__: dart.getMethods(_RectangleBase.__proto__), - intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) - })); - dart.setGetterSignature(_RectangleBase, () => ({ - __proto__: dart.getGetters(_RectangleBase.__proto__), - right: T, - [$right]: T, - bottom: T, - [$bottom]: T, - topLeft: math.Point$(T), - [$topLeft]: math.Point$(T), - topRight: math.Point$(T), - [$topRight]: math.Point$(T), - bottomRight: math.Point$(T), - [$bottomRight]: math.Point$(T), - bottomLeft: math.Point$(T), - [$bottomLeft]: math.Point$(T) - })); - dart.setLibraryUri(_RectangleBase, I[143]); - dart.defineExtensionMethods(_RectangleBase, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' - ]); - dart.defineExtensionAccessors(_RectangleBase, [ - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - 'bottomLeft' - ]); - return _RectangleBase; - }); - math._RectangleBase = math._RectangleBase$(); - dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); - var left$ = dart.privateName(math, "Rectangle.left"); - var top$ = dart.privateName(math, "Rectangle.top"); - var width$ = dart.privateName(math, "Rectangle.width"); - var height$ = dart.privateName(math, "Rectangle.height"); - const _is_Rectangle_default = Symbol('_is_Rectangle_default'); - math.Rectangle$ = dart.generic(T => { - class Rectangle extends math._RectangleBase$(T) { - get left() { - return this[left$]; - } - set left(value) { - super.left = value; - } - get top() { - return this[top$]; - } - set top(value) { - super.top = value; - } - get width() { - return this[width$]; - } - set width(value) { - super.width = value; - } - get height() { - return this[height$]; - } - 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[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[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 ? 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.setStaticMethodSignature(Rectangle, () => ['fromPoints']); - dart.setLibraryUri(Rectangle, I[143]); - dart.setFieldSignature(Rectangle, () => ({ - __proto__: dart.getFields(Rectangle.__proto__), - left: dart.finalFieldType(T), - top: dart.finalFieldType(T), - width: dart.finalFieldType(T), - height: dart.finalFieldType(T) - })); - dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); - return Rectangle; - }); - math.Rectangle = math.Rectangle$(); - dart.addTypeTests(math.Rectangle, _is_Rectangle_default); - var left$0 = dart.privateName(math, "MutableRectangle.left"); - var top$0 = dart.privateName(math, "MutableRectangle.top"); - var _width = dart.privateName(math, "_width"); - var _height = dart.privateName(math, "_height"); - const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); - math.MutableRectangle$ = dart.generic(T => { - class MutableRectangle extends math._RectangleBase$(T) { - get left() { - 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[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[145], 281, 15, "width"); - if (dart.notNull(width) < 0) width = math._clampToZero(T, width); - this[_width] = width; - } - get height() { - return this[_height]; - } - set height(height) { - T.as(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[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] = 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; - dart.addTypeTests(MutableRectangle); - 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, - [$width]: T, - height: T, - [$height]: T - })); - dart.setSetterSignature(MutableRectangle, () => ({ - __proto__: dart.getSetters(MutableRectangle.__proto__), - width: dart.nullable(core.Object), - [$width]: dart.nullable(core.Object), - height: dart.nullable(core.Object), - [$height]: dart.nullable(core.Object) - })); - dart.setLibraryUri(MutableRectangle, I[143]); - dart.setFieldSignature(MutableRectangle, () => ({ - __proto__: dart.getFields(MutableRectangle.__proto__), - left: dart.fieldType(T), - top: dart.fieldType(T), - [_width]: dart.fieldType(T), - [_height]: dart.fieldType(T) - })); - dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); - return MutableRectangle; - }); - math.MutableRectangle = math.MutableRectangle$(); - dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); - math.min = function min(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.min(a, b); - }; - math.max = function max(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.max(a, b); - }; - math.atan2 = function atan2(a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.atan2(a, b); - }; - math.pow = function pow(x, exponent) { - if (x == null) dart.argumentError(x); - if (exponent == null) dart.argumentError(exponent); - return Math.pow(x, exponent); - }; - math.sin = function sin(radians) { - if (radians == null) dart.argumentError(radians); - return Math.sin(radians); - }; - math.cos = function cos(radians) { - if (radians == null) dart.argumentError(radians); - return Math.cos(radians); - }; - math.tan = function tan(radians) { - if (radians == null) dart.argumentError(radians); - return Math.tan(radians); - }; - math.acos = function acos(x) { - if (x == null) dart.argumentError(x); - return Math.acos(x); - }; - math.asin = function asin(x) { - if (x == null) dart.argumentError(x); - return Math.asin(x); - }; - math.atan = function atan(x) { - if (x == null) dart.argumentError(x); - return Math.atan(x); - }; - math.sqrt = function sqrt(x) { - if (x == null) dart.argumentError(x); - return Math.sqrt(x); - }; - math.exp = function exp(x) { - if (x == null) dart.argumentError(x); - return Math.exp(x); - }; - math.log = function log$(x) { - if (x == null) dart.argumentError(x); - return Math.log(x); - }; - math._clampToZero = function _clampToZero(T, value) { - 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, { - /*math._POW2_32*/get _POW2_32() { - return 4294967296.0; - }, - /*math.e*/get e() { - return 2.718281828459045; - }, - /*math.ln10*/get ln10() { - return 2.302585092994046; - }, - /*math.ln2*/get ln2() { - return 0.6931471805599453; - }, - /*math.log2e*/get log2e() { - return 1.4426950408889634; - }, - /*math.log10e*/get log10e() { - return 0.4342944819032518; - }, - /*math.pi*/get pi() { - return 3.141592653589793; - }, - /*math.sqrt1_2*/get sqrt1_2() { - return 0.7071067811865476; - }, - /*math.sqrt2*/get sqrt2() { - return 1.4142135623730951; - } - }, false); - var _data$ = dart.privateName(typed_data, "_data"); - 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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, 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)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - 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__), - lengthInBytes: core.int, - [$lengthInBytes]: core.int - })); - 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, [ - 'asUint8List', - 'asInt8List', - 'asUint8ClampedList', - 'asUint16List', - 'asInt16List', - 'asUint32List', - 'asInt32List', - 'asUint64List', - 'asInt64List', - 'asInt32x4List', - 'asFloat32List', - 'asFloat64List', - 'asFloat32x4List', - 'asFloat64x2List', - 'asByteData' - ]); - dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); - var _unsupported$ = dart.privateName(typed_data, "_unsupported"); - 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[62], 266, 19, "byteOffset"); - return this[_data$][$getInt8](byteOffset); - } - setInt8(byteOffset, 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[62], 270, 20, "byteOffset"); - return this[_data$][$getUint8](byteOffset); - } - setUint8(byteOffset, 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get 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[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, 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]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - getUint8: dart.fnType(core.int, [core.int]), - [$getUint8]: dart.fnType(core.int, [core.int]), - setUint8: dart.fnType(dart.void, [core.int, core.int]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), - getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$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__), - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - buffer: typed_data.ByteBuffer, - [$buffer]: typed_data.ByteBuffer - })); - 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, [ - 'getInt8', - 'setInt8', - 'getUint8', - 'setUint8', - 'getInt16', - 'setInt16', - 'getUint16', - 'setUint16', - 'getInt32', - 'setInt32', - 'getUint32', - 'setUint32', - 'getInt64', - 'setInt64', - 'getUint64', - 'setUint64', - 'getFloat32', - 'setFloat32', - 'getFloat64', - 'setFloat64' - ]); - 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'); - typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { - class _UnmodifiableListMixin extends core.Object { - get [_data$]() { - return TD.as(this[_list$2]); - } - get length() { - return this[_list$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[62], 343, 21, "index"); - return this[_list$2][$_get](index); - } - get elementSizeInBytes() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get buffer() { - return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); - } - sublist(start, end = null) { - 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); - result[$setRange](0, sublistLength, this[_list$2], start); - return result; - } - } - (_UnmodifiableListMixin.new = function() { - ; - }).prototype = _UnmodifiableListMixin.prototype; - dart.addTypeTests(_UnmodifiableListMixin); - _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; - dart.addTypeCaches(_UnmodifiableListMixin); - dart.setMethodSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), - _get: dart.fnType(N, [core.int]), - sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) - })); - dart.setGetterSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), - [_data$]: TD, - length: core.int, - elementSizeInBytes: core.int, - offsetInBytes: core.int, - lengthInBytes: core.int, - buffer: typed_data.ByteBuffer - })); - 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"); - 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 { - 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[62], 375, 29, "length"); - return _native_typed_data.NativeUint8List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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$ { - 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[62], 388, 28, "length"); - return _native_typed_data.NativeInt8List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 401, 36, "length"); - return _native_typed_data.NativeUint8ClampedList.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 414, 30, "length"); - return _native_typed_data.NativeUint16List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 427, 29, "length"); - return _native_typed_data.NativeInt16List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 440, 30, "length"); - return _native_typed_data.NativeUint32List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 453, 29, "length"); - return _native_typed_data.NativeInt32List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 466, 30, "length"); - return typed_data.Uint64List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 479, 29, "length"); - return typed_data.Int64List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 492, 31, "length"); - return new _native_typed_data.NativeInt32x4List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 505, 33, "length"); - return new _native_typed_data.NativeFloat32x4List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 518, 33, "length"); - return new _native_typed_data.NativeFloat64x2List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 531, 31, "length"); - return _native_typed_data.NativeFloat32List.new(length); - } - }; - (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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' - ]); - 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 { - 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[62], 544, 31, "length"); - return _native_typed_data.NativeFloat64List.new(length); - } - }; - (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.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[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, [ - '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[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[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[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() { - if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; - return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); - } - static _uncachedClass() { - return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; - } - static _translateKey(idbkey) { - return idbkey; - } - static _only(cls, value) { - return cls.only(value); - } - static _lowerBound(cls, bound, open) { - return cls.lowerBound(bound, open); - } - static _upperBound(cls, bound, open) { - return cls.upperBound(bound, open); - } - 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.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(value) {} - }, false); - indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { - [S.$delete]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$update](value) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$next](key = null) { - if (key == null) { - this.continue(); - } else { - this.continue(key); - } - } - static ['_#_#tearOff']() { - return indexed_db.Cursor.__(); - } - get [S.$direction]() { - return this.direction; - } - get [S.$key]() { - return this.key; - } - get [S.$primaryKey]() { - return this.primaryKey; - } - get [S.$source]() { - return this.source; - } - [S.$advance](...args) { - return this.advance.apply(this, args); - } - [S.$continuePrimaryKey](...args) { - return this.continuePrimaryKey.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S._update](value) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._update_1](value_1); - } - [S._update_1](...args) { - return this.update.apply(this, args); - } - }; - dart.addTypeTests(indexed_db.Cursor); - dart.addTypeCaches(indexed_db.Cursor); - dart.setMethodSignature(indexed_db.Cursor, () => ({ - __proto__: dart.getMethods(indexed_db.Cursor.__proto__), - [S.$delete]: dart.fnType(async.Future, []), - [$update]: dart.fnType(async.Future, [dart.dynamic]), - [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S.$advance]: dart.fnType(dart.void, [core.int]), - [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), - [S._delete$1]: dart.fnType(indexed_db.Request, []), - [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), - [S.$key]: dart.nullable(core.Object), - [S.$primaryKey]: dart.nullable(core.Object), - [S.$source]: dart.nullable(core.Object) - })); - 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]); - } - get [S._get_value]() { - return this.value; - } - }; - 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[148]); - dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); - 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[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[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); - } - [S.$dispatchEvent](...args) { - return this.dispatchEvent.apply(this, args); - } - [S._removeEventListener](...args) { - return this.removeEventListener.apply(this, args); - } - }; - (html$.EventTarget._created = function() { - html$.EventTarget.__proto__.new.call(this); - ; - }).prototype = html$.EventTarget.prototype; - dart.addTypeTests(html$.EventTarget); - dart.addTypeCaches(html$.EventTarget); - dart.setMethodSignature(html$.EventTarget, () => ({ - __proto__: dart.getMethods(html$.EventTarget.__proto__), - [S.$addEventListener]: 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)]), - [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [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[150]); - dart.registerExtension("EventTarget", html$.EventTarget); - indexed_db.Database = class Database extends html$.EventTarget { - [S.$createObjectStore](name, opts) { - 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(); - if (keyPath != null) { - options[$_set]("keyPath", keyPath); - } - if (autoIncrement != null) { - options[$_set]("autoIncrement", autoIncrement); - } - return this[S._createObjectStore](name, options); - } - [S.$transaction](storeName_OR_storeNames, 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[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[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)); - } - let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); - return this[S._transaction](storeNames_1, mode); - } - [S.$transactionStores](storeNames, 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)); - } - return this[S._transaction](storeNames, mode); - } - [S._transaction](...args) { - return this.transaction.apply(this, args); - } - static ['_#_#tearOff']() { - return indexed_db.Database.__(); - } - get [$name]() { - return this.name; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - get [S.$version]() { - return this.version; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S._createObjectStore](name, options = null) { - 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); - } - return this[S._createObjectStore_2](name); - } - [S._createObjectStore_1](...args) { - return this.createObjectStore.apply(this, args); - } - [S._createObjectStore_2](...args) { - return this.createObjectStore.apply(this, args); - } - [S.$deleteObjectStore](...args) { - return this.deleteObjectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Database.abortEvent.forTarget(this); - } - get [S.$onClose]() { - return indexed_db.Database.closeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Database.errorEvent.forTarget(this); - } - get [S.$onVersionChange]() { - return indexed_db.Database.versionChangeEvent.forTarget(this); - } - }; - dart.addTypeTests(indexed_db.Database); - dart.addTypeCaches(indexed_db.Database); - dart.setMethodSignature(indexed_db.Database, () => ({ - __proto__: dart.getMethods(indexed_db.Database.__proto__), - [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), - [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), - [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), - [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), - [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), - [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), - [S.$close]: dart.fnType(dart.void, []), - [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), - [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), - [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), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$version]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) - })); - 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[224] || CT.C224; - }, - /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[227] || CT.C227; - } - }, false); - dart.registerExtension("IDBDatabase", indexed_db.Database); - 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[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; - if (version == null !== (onUpgradeNeeded == null)) { - return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); - } - try { - let request = null; - if (version != null) { - request = this[S._open](name, version); - } else { - request = this[S._open](name); - } - if (onUpgradeNeeded != null) { - request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); - } - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - return indexed_db._completeRequest(indexed_db.Database, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfDatabase().error(e, stacktrace); - } else - throw e$; - } - } - [S.$deleteDatabase](name, opts) { - 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); - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - let completer = T$0.CompleterOfIdbFactory().sync(); - request[S.$onSuccess].listen(dart.fn(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')); - return completer.future; - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfIdbFactory().error(e, stacktrace); - } else - throw e$; - } - } - get [S.$supportsDatabaseNames]() { - return false; - } - static ['_#_#tearOff']() { - return indexed_db.IdbFactory.__(); - } - [S.$cmp](...args) { - return this.cmp.apply(this, args); - } - [S._deleteDatabase](...args) { - return this.deleteDatabase.apply(this, args); - } - [S._open](...args) { - return this.open.apply(this, args); - } - }; - dart.addTypeTests(indexed_db.IdbFactory); - dart.addTypeCaches(indexed_db.IdbFactory); - dart.setMethodSignature(indexed_db.IdbFactory, () => ({ - __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), - [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), - [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), - [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), - [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.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.JavaScriptObject { - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$get](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getKey](key) { - try { - let request = this[S._getKey](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range, "next"); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); - } - [S.$openKeyCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openKeyCursor](key_OR_range, "next"); - } else { - request = this[S._openKeyCursor](key_OR_range, direction); - } - 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; - } - get [S.$multiEntry]() { - return this.multiEntry; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$objectStore]() { - return this.objectStore; - } - get [S.$unique]() { - return this.unique; - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S._getKey](...args) { - return this.getKey.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S._openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } - }; - dart.addTypeTests(indexed_db.Index); - dart.addTypeCaches(indexed_db.Index); - dart.setMethodSignature(indexed_db.Index, () => ({ - __proto__: dart.getMethods(indexed_db.Index.__proto__), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$get]: dart.fnType(async.Future, [dart.dynamic]), - [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [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), - [S.$multiEntry]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), - [S.$unique]: dart.nullable(core.bool) - })); - dart.setSetterSignature(indexed_db.Index, () => ({ - __proto__: dart.getSetters(indexed_db.Index.__proto__), - [$name]: dart.nullable(core.String) - })); - dart.setLibraryUri(indexed_db.Index, I[148]); - dart.registerExtension("IDBIndex", indexed_db.Index); - 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[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[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[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; - } - get [S.$lowerOpen]() { - return this.lowerOpen; - } - get [S.$upper]() { - return this.upper; - } - get [S.$upperOpen]() { - return this.upperOpen; - } - [S.$includes](...args) { - return this.includes.apply(this, args); - } - }; - dart.addTypeTests(indexed_db.KeyRange); - dart.addTypeCaches(indexed_db.KeyRange); - 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), - [S.$lowerOpen]: dart.nullable(core.bool), - [S.$upper]: dart.nullable(core.Object), - [S.$upperOpen]: dart.nullable(core.bool) - })); - dart.setLibraryUri(indexed_db.KeyRange, I[148]); - dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); - indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { - [$add](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._add$3](value, key); - } else { - request = this[S._add$3](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$clear]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$delete](key_OR_keyRange) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$put](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._put](value, key); - } else { - request = this[S._put](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getObject](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - 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[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(); - if (unique != null) { - options[$_set]("unique", unique); - } - if (multiEntry != null) { - options[$_set]("multiEntry", multiEntry); - } - return this[S._createIndex](name, core.Object.as(keyPath), options); - } - static ['_#_#tearOff']() { - return indexed_db.ObjectStore.__(); - } - get [S.$autoIncrement]() { - return this.autoIncrement; - } - get [S.$indexNames]() { - return this.indexNames; - } - get [S.$keyPath]() { - return this.keyPath; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$transaction]() { - return this.transaction; - } - [S._add$3](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._add_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._add_2](value_1); - } - [S._add_1](...args) { - return this.add.apply(this, args); - } - [S._add_2](...args) { - return this.add.apply(this, args); - } - [S._clear$2](...args) { - return this.clear.apply(this, args); - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._createIndex](name, keyPath, options = null) { - 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); - } - return this[S._createIndex_2](name, keyPath); - } - [S._createIndex_1](...args) { - return this.createIndex.apply(this, args); - } - [S._createIndex_2](...args) { - return this.createIndex.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S.$deleteIndex](...args) { - return this.deleteIndex.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S.$index](...args) { - return this.index.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S.$openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } - [S._put](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._put_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._put_2](value_1); - } - [S._put_1](...args) { - return this.put.apply(this, args); - } - [S._put_2](...args) { - return this.put.apply(this, args); - } - static _cursorStreamFromResult(T, request, autoAdvance) { - 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[147], 992, 31, "e"); - let cursor = dart.nullable(T).as(request[S.$result]); - if (cursor == null) { - controller.close(); - } else { - controller.add(cursor); - if (autoAdvance === true && dart.test(controller.hasListener)) { - cursor[S.$next](); - } - } - }, T$0.EventTovoid())); - return controller.stream; - } - }; - dart.addTypeTests(indexed_db.ObjectStore); - dart.addTypeCaches(indexed_db.ObjectStore); - dart.setMethodSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), - [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), - [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), - [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), - [S._clear$2]: dart.fnType(indexed_db.Request, []), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), - [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), - [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$index]: dart.fnType(indexed_db.Index, [core.String]), - [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)]), - [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [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), - [S.$indexNames]: dart.nullable(core.List$(core.String)), - [S.$keyPath]: dart.nullable(core.Object), - [$name]: dart.nullable(core.String), - [S.$transaction]: dart.nullable(indexed_db.Transaction) - })); - dart.setSetterSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), - [$name]: dart.nullable(core.String) - })); - dart.setLibraryUri(indexed_db.ObjectStore, I[148]); - dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); - indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observation.__(); - } - get [S.$key]() { - return this.key; - } - get [S.$type]() { - return this.type; - } - get [S.$value]() { - return this.value; - } - }; - 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[148]); - dart.registerExtension("IDBObservation", indexed_db.Observation); - indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observer.__(); - } - static new(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[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; - } - [S._observe_1](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } - }; - dart.addTypeTests(indexed_db.Observer); - dart.addTypeCaches(indexed_db.Observer); - dart.setMethodSignature(indexed_db.Observer, () => ({ - __proto__: dart.getMethods(indexed_db.Observer.__proto__), - [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.ObserverChanges.__(); - } - get [S.$database]() { - return this.database; - } - get [S.$records]() { - return this.records; - } - get [S.$transaction]() { - return this.transaction; - } - }; - 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[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; - } - get [S.$readyState]() { - return this.readyState; - } - get [S.$result]() { - return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); - } - get [S._get_result]() { - return this.result; - } - get [S.$source]() { - return this.source; - } - get [S.$transaction]() { - return this.transaction; - } - get [S.$onError]() { - return indexed_db.Request.errorEvent.forTarget(this); - } - get [S.$onSuccess]() { - return indexed_db.Request.successEvent.forTarget(this); - } - }; - 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), - [S.$readyState]: dart.nullable(core.String), - [S.$result]: dart.dynamic, - [S._get_result]: dart.dynamic, - [S.$source]: dart.nullable(core.Object), - [S.$transaction]: dart.nullable(indexed_db.Transaction), - [S.$onError]: async.Stream$(html$.Event), - [S.$onSuccess]: async.Stream$(html$.Event) - })); - 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[226] || CT.C226; - }, - /*indexed_db.Request.successEvent*/get successEvent() { - 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); - } - get [S.$onUpgradeNeeded]() { - return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); - } - }; - 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[148]); - dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); - dart.defineLazy(indexed_db.OpenDBRequest, { - /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[229] || CT.C229; - }, - /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[230] || CT.C230; - } - }, false); - dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); - dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); - 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[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[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[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; - } - get [S.$error]() { - return this.error; - } - get [S.$mode]() { - return this.mode; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S.$objectStore](...args) { - return this.objectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Transaction.abortEvent.forTarget(this); - } - get [S.$onComplete]() { - return indexed_db.Transaction.completeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Transaction.errorEvent.forTarget(this); - } - }; - dart.addTypeTests(indexed_db.Transaction); - dart.addTypeCaches(indexed_db.Transaction); - dart.setMethodSignature(indexed_db.Transaction, () => ({ - __proto__: dart.getMethods(indexed_db.Transaction.__proto__), - [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), - [S.$db]: dart.nullable(indexed_db.Database), - [S.$error]: dart.nullable(html$.DomException), - [S.$mode]: dart.nullable(core.String), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onComplete]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) - })); - 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[224] || CT.C224; - }, - /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[231] || CT.C231; - }, - /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } - }, false); - dart.registerExtension("IDBTransaction", indexed_db.Transaction); - html$.Event = class Event$ extends _interceptors.JavaScriptObject { - static new(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.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[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"); - 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; - } - set [S._selector](value) { - this._selector = value; - } - get [S.$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[S.$currentTarget]); - let target = T$0.ElementN().as(this[S.$target]); - let matchedTarget = null; - 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 [S.$path]() { - return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new Event(type); - } - get [S.$bubbles]() { - return this.bubbles; - } - get [S.$cancelable]() { - return this.cancelable; - } - get [S.$composed]() { - return this.composed; - } - get [S.$currentTarget]() { - return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); - } - get [S._get_currentTarget]() { - return this.currentTarget; - } - get [S.$defaultPrevented]() { - return this.defaultPrevented; - } - get [S.$eventPhase]() { - return this.eventPhase; - } - get [S.$isTrusted]() { - return this.isTrusted; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S.$timeStamp]() { - return this.timeStamp; - } - get [S.$type]() { - return this.type; - } - [S.$composedPath](...args) { - return this.composedPath.apply(this, args); - } - [S._initEvent](...args) { - return this.initEvent.apply(this, args); - } - [S.$preventDefault](...args) { - return this.preventDefault.apply(this, args); - } - [S.$stopImmediatePropagation](...args) { - return this.stopImmediatePropagation.apply(this, args); - } - [S.$stopPropagation](...args) { - return this.stopPropagation.apply(this, args); - } - }; - dart.addTypeTests(html$.Event); - dart.addTypeCaches(html$.Event); - dart.setMethodSignature(html$.Event, () => ({ - __proto__: dart.getMethods(html$.Event.__proto__), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - [S.$preventDefault]: dart.fnType(dart.void, []), - [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), - [S.$matchingTarget]: html$.Element, - [S.$path]: core.List$(html$.EventTarget), - [S.$bubbles]: dart.nullable(core.bool), - [S.$cancelable]: dart.nullable(core.bool), - [S.$composed]: dart.nullable(core.bool), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - [S._get_currentTarget]: dart.dynamic, - [S.$defaultPrevented]: core.bool, - [S.$eventPhase]: core.int, - [S.$isTrusted]: dart.nullable(core.bool), - [S.$target]: dart.nullable(html$.EventTarget), - [S._get_target]: dart.dynamic, - [S.$timeStamp]: dart.nullable(core.num), - [S.$type]: core.String - })); - dart.setSetterSignature(html$.Event, () => ({ - __proto__: dart.getSetters(html$.Event.__proto__), - [S._selector]: dart.nullable(core.String) - })); - 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; - }, - /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { - return 3; - }, - /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { - return 1; - } - }, false); - 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[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); - } - static _create_2(type) { - return new IDBVersionChangeEvent(type); - } - get [S.$dataLoss]() { - return this.dataLoss; - } - get [S.$dataLossMessage]() { - return this.dataLossMessage; - } - get [S.$newVersion]() { - return this.newVersion; - } - get [S.$oldVersion]() { - return this.oldVersion; - } - get [S.$target]() { - return this.target; - } - }; - 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), - [S.$dataLossMessage]: dart.nullable(core.String), - [S.$newVersion]: dart.nullable(core.int), - [S.$oldVersion]: dart.nullable(core.int), - [S.$target]: indexed_db.OpenDBRequest - })); - dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); - dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); - indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { - function containsDate(object) { - if (dart.test(html_common.isJavaScriptDate(object))) return true; - if (core.List.is(object)) { - for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { - if (dart.dtest(containsDate(object[$_get](i)))) return true; - } - } - return false; - } - dart.fn(containsDate, T$0.dynamicTobool()); - if (dart.test(containsDate(nativeKey))) { - dart.throw(new core.UnimplementedError.new("Key containing DateTime")); - } - return nativeKey; - }; - indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { - return dartKey; - }; - indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); - }; - indexed_db._completeRequest = function _completeRequest(T, 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[147], 540, 29, "e"); - let result = T.as(request[S.$result]); - completer.complete(result); - }, T$0.EventTovoid())); - request[S.$onError].listen(dart.bind(completer, 'completeError')); - return completer.future; - }; - dart.defineLazy(indexed_db, { - /*indexed_db._idbKey*/get _idbKey() { - return "JSExtendableArray|=Object|num|String"; - }, - /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[232] || CT.C232; - }, - /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - 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[149], 23302, 28, "value"); - let copy = value[$toList](); - this[S.$text] = ""; - for (let node of copy) { - this[S.$append](node); - } - } - [$remove]() { - if (this.parentNode != null) { - let parent = dart.nullCheck(this.parentNode); - parent[S$._removeChild](this); - } - } - [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); - try { - let parent = dart.nullCheck(this.parentNode); - parent[S$._replaceChild](otherNode, this); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return this; - } - [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), child); - } - } else { - for (let node of newNodes) { - this.insertBefore(node, child); - } - } - } - [S$._clearChildren]() { - while (this.firstChild != null) { - this[S$._removeChild](dart.nullCheck(this.firstChild)); - } - } - [$toString]() { - let value = this.nodeValue; - return value == null ? super[$toString]() : value; - } - get [S$.$childNodes]() { - return this.childNodes; - } - static ['_#_#tearOff']() { - return html$.Node.__(); - } - get [S.$baseUri]() { - return this.baseURI; - } - get [S$.$firstChild]() { - return this.firstChild; - } - get [S$.$isConnected]() { - return this.isConnected; - } - get [S$.$lastChild]() { - return this.lastChild; - } - get [S.$nextNode]() { - return this.nextSibling; - } - get [S$.$nodeName]() { - return this.nodeName; - } - get [S$.$nodeType]() { - return this.nodeType; - } - get [S$.$nodeValue]() { - return this.nodeValue; - } - get [S$.$ownerDocument]() { - return this.ownerDocument; - } - get [S.$parent]() { - return this.parentElement; - } - get [S$.$parentNode]() { - return this.parentNode; - } - get [S$.$previousNode]() { - return this.previousSibling; - } - get [S.$text]() { - return this.textContent; - } - set [S.$text](value) { - this.textContent = value; - } - [S.$append](...args) { - return this.appendChild.apply(this, args); - } - [S$.$clone](...args) { - return this.cloneNode.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$getRootNode](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$._getRootNode_1](options_1); - } - return this[S$._getRootNode_2](); - } - [S$._getRootNode_1](...args) { - return this.getRootNode.apply(this, args); - } - [S$._getRootNode_2](...args) { - return this.getRootNode.apply(this, args); - } - [S$.$hasChildNodes](...args) { - return this.hasChildNodes.apply(this, args); - } - [S$.$insertBefore](...args) { - return this.insertBefore.apply(this, args); - } - [S$._removeChild](...args) { - return this.removeChild.apply(this, args); - } - [S$._replaceChild](...args) { - return this.replaceChild.apply(this, args); - } - }; - (html$.Node._created = function() { - html$.Node.__proto__._created.call(this); - ; - }).prototype = html$.Node.prototype; - dart.addTypeTests(html$.Node); - dart.addTypeCaches(html$.Node); - dart.setMethodSignature(html$.Node, () => ({ - __proto__: dart.getMethods(html$.Node.__proto__), - [$remove]: dart.fnType(dart.void, []), - [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), - [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), - [S$._clearChildren]: dart.fnType(dart.void, []), - [S.$append]: dart.fnType(html$.Node, [html$.Node]), - [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), - [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), - [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), - [S$._getRootNode_2]: dart.fnType(html$.Node, []), - [S$.$hasChildNodes]: dart.fnType(core.bool, []), - [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(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), - [S$.$childNodes]: core.List$(html$.Node), - [S.$baseUri]: dart.nullable(core.String), - [S$.$firstChild]: dart.nullable(html$.Node), - [S$.$isConnected]: dart.nullable(core.bool), - [S$.$lastChild]: dart.nullable(html$.Node), - [S.$nextNode]: dart.nullable(html$.Node), - [S$.$nodeName]: dart.nullable(core.String), - [S$.$nodeType]: core.int, - [S$.$nodeValue]: dart.nullable(core.String), - [S$.$ownerDocument]: dart.nullable(html$.Document), - [S.$parent]: dart.nullable(html$.Element), - [S$.$parentNode]: dart.nullable(html$.Node), - [S$.$previousNode]: dart.nullable(html$.Node), - [S.$text]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.Node, () => ({ - __proto__: dart.getSetters(html$.Node.__proto__), - [S.$nodes]: core.Iterable$(html$.Node), - [S.$text]: dart.nullable(core.String) - })); - 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; - }, - /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { - return 4; - }, - /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { - return 8; - }, - /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { - return 11; - }, - /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { - return 9; - }, - /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { - return 10; - }, - /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { - return 1; - }, - /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { - return 6; - }, - /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { - return 5; - }, - /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { - return 12; - }, - /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { - return 7; - }, - /*html$.Node.TEXT_NODE*/get TEXT_NODE() { - return 3; - } - }, false); - dart.registerExtension("Node", html$.Node); - html$.Element = class Element extends html$.Node { - static html(html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - 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[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[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"); - } - get [S.$attributes]() { - return new html$._ElementAttributeMap.new(this); - } - set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); - let attributes = this[S.$attributes]; - attributes[$clear](); - for (let key of value[$keys]) { - attributes[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getAttribute](name) { - 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[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[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[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[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[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[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[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]() { - return new html$._ChildrenElementList._wrap(this); - } - get [S._children]() { - return this.children; - } - set [S.$children](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[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[149], 13108, 45, "nativeScrollBehavior"); - let completer = T$0.CompleterOfScrollState().new(); - this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - [S._setDistributeScroll](...args) { - return this.setDistributeScroll.apply(this, args); - } - [S.$setDistributeScroll](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[149], 13122, 27, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - get [S.$classes]() { - return new html$._ElementCssClassSet.new(this); - } - set [S.$classes](value) { - if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); - let classSet = this[S.$classes]; - classSet.clear(); - classSet.addAll(value); - } - get [S.$dataset]() { - return new html$._DataAttributeMap.new(this[S.$attributes]); - } - set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); - let data = this[S.$dataset]; - data[$clear](); - for (let key of value[$keys]) { - data[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); - return new html$._NamespacedAttributeMap.new(this, namespace); - } - [S.$getComputedStyle](pseudoElement = null) { - if (pseudoElement == null) { - pseudoElement = ""; - } - return html$.window[S._getComputedStyle](this, pseudoElement); - } - get [S.$client]() { - return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); - } - get [S.$offset]() { - 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[149], 13231, 26, "text"); - this[S.$append](html$.Text.new(text)); - } - [S.$appendHtml](text, opts) { - 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[149], 13250, 37, "tag"); - let e = html$._ElementFactoryProvider.createElement_tag(tag, null); - return html$.Element.is(e) && !html$.UnknownElement.is(e); - } - [S.$attached]() { - this[S.$enteredView](); - } - [S.$detached]() { - this[S.$leftView](); - } - [S.$enteredView]() { - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - [S.$leftView]() { - } - [S.$animate](frames, timing = null) { - 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[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[234] || CT.C234)[$toList](); - } else { - convertedFrames = frames; - } - let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; - return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); - } - [S._animate](...args) { - return this.animate.apply(this, args); - } - [S.$attributeChanged](name, oldValue, 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]; - } - get [S.$namespaceUri]() { - return this[S._namespaceUri]; - } - [$toString]() { - return this[S.$localName]; - } - [S.$scrollIntoView](alignment = null) { - let hasScrollIntoViewIfNeeded = true; - hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; - if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { - this[S._scrollIntoView](true); - } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { - this[S._scrollIntoView](false); - } else if (hasScrollIntoViewIfNeeded) { - if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this.scrollIntoViewIfNeeded(true); - } else { - this.scrollIntoViewIfNeeded(); - } - } else { - this[S._scrollIntoView](); - } - } - static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); - return "wheel"; - } - static _determineTransitionEventType(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)) { - return "oTransitionEnd"; - } - return "transitionend"; - } - [S.$insertAdjacentText](where, 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 { - this[S._insertAdjacentNode](where, html$.Text.new(text)); - } - } - [S._insertAdjacentText](...args) { - return this.insertAdjacentText.apply(this, args); - } - [S.$insertAdjacentHtml](where, html, opts) { - 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)) { - this[S._insertAdjacentHtml](where, html); - } else { - this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - [S._insertAdjacentHtml](...args) { - return this.insertAdjacentHTML.apply(this, args); - } - [S.$insertAdjacentElement](where, 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 { - this[S._insertAdjacentNode](where, element); - } - return element; - } - [S._insertAdjacentElement](...args) { - return this.insertAdjacentElement.apply(this, args); - } - [S._insertAdjacentNode](where, 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; - } - case "afterbegin": - { - 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; - } - case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } - default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } - } - } - [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); - if (!!this.matches) { - return this.matches(selectors); - } else if (!!this.webkitMatchesSelector) { - return this.webkitMatchesSelector(selectors); - } else if (!!this.mozMatchesSelector) { - return this.mozMatchesSelector(selectors); - } else if (!!this.msMatchesSelector) { - return this.msMatchesSelector(selectors); - } else if (!!this.oMatchesSelector) { - return this.oMatchesSelector(selectors); - } else { - dart.throw(new core.UnsupportedError.new("Not supported on this platform")); - } - } - [S.$matchesWithAncestors](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; - elem = elem[S.$parent]; - } while (elem != null); - return false; - } - [S.$createShadowRoot]() { - return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); - } - get [S.$shadowRoot]() { - return this.shadowRoot || this.webkitShadowRoot; - } - get [S.$contentEdge]() { - return new html$._ContentCssRect.new(this); - } - get [S.$paddingEdge]() { - return new html$._PaddingCssRect.new(this); - } - get [S.$borderEdge]() { - return new html$._BorderCssRect.new(this); - } - get [S.$marginEdge]() { - return new html$._MarginCssRect.new(this); - } - get [S.$documentOffset]() { - return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); - } - [S.$offsetTo](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[149], 13706, 58, "parent"); - let sameAsParent = current == parent; - let foundAsParent = sameAsParent || parent.tagName === "HTML"; - if (current == null || sameAsParent) { - if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); - dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); - } - let parentOffset = current.offsetParent; - let p = html$.Element._offsetToHelper(parentOffset, parent); - 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 t213; - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (treeSanitizer == null) { - if (validator == null) { - if (html$.Element._defaultValidator == null) { - html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); - } - validator = html$.Element._defaultValidator; - } - if (html$.Element._defaultSanitizer == null) { - html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); - } else { - dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); - } - treeSanitizer = html$.Element._defaultSanitizer; - } else if (validator != null) { - dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); - } - if (html$.Element._parseDocument == null) { - html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); - html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); - let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); - base.href = dart.nullCheck(html$.document[S.$baseUri]); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); - } - if (dart.nullCheck(html$.Element._parseDocument).body == null) { - dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); - } - let contextElement = null; - if (html$.BodyElement.is(this)) { - 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](contextElement); - } - let fragment = null; - if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); - } else { - contextElement[S._innerHtml] = html; - fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (contextElement.firstChild != null) { - fragment[S.$append](dart.nullCheck(contextElement.firstChild)); - } - } - if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - contextElement[$remove](); - } - dart.nullCheck(treeSanitizer).sanitizeTree(fragment); - html$.document.adoptNode(fragment); - return fragment; - } - get [S._canBeUsedToCreateContextualFragment]() { - return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); - } - get [S._cannotBeUsedToCreateContextualFragment]() { - return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); - } - set [S.$innerHtml](html) { - this[S.$setInnerHtml](html); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { - this[S._innerHtml] = html; - } else { - this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - get [S.$innerHtml]() { - return this[S._innerHtml]; - } - get [S.$innerText]() { - return this.innerText; - } - set [S.$innerText](value) { - this.innerText = value; - } - get [S.$on]() { - return new html$.ElementEvents.new(this); - } - static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); - return (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); - } - static _hasCorruptedAttributesAdditionalCheck(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 element.tagName == 'string') { - result = element.tagName; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return result; - } - get [S.$offsetParent]() { - return this.offsetParent; - } - get [S.$offsetHeight]() { - return this.offsetHeight[$round](); - } - get [S.$offsetLeft]() { - return this.offsetLeft[$round](); - } - get [S.$offsetTop]() { - return this.offsetTop[$round](); - } - get [S.$offsetWidth]() { - return this.offsetWidth[$round](); - } - get [S.$scrollHeight]() { - return this.scrollHeight[$round](); - } - get [S.$scrollLeft]() { - return this.scrollLeft[$round](); - } - set [S.$scrollLeft](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[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; - } - set [S.$contentEditable](value) { - this.contentEditable = value; - } - get [S.$dir]() { - return this.dir; - } - set [S.$dir](value) { - this.dir = value; - } - get [S.$draggable]() { - return this.draggable; - } - set [S.$draggable](value) { - this.draggable = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S.$inert]() { - return this.inert; - } - set [S.$inert](value) { - this.inert = value; - } - get [S.$inputMode]() { - return this.inputMode; - } - set [S.$inputMode](value) { - this.inputMode = value; - } - get [S.$isContentEditable]() { - return this.isContentEditable; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S.$spellcheck]() { - return this.spellcheck; - } - set [S.$spellcheck](value) { - this.spellcheck = value; - } - get [S.$style]() { - return this.style; - } - get [S.$tabIndex]() { - return this.tabIndex; - } - set [S.$tabIndex](value) { - this.tabIndex = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } - get [S.$translate]() { - return this.translate; - } - set [S.$translate](value) { - this.translate = value; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$click](...args) { - return this.click.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$accessibleNode]() { - return this.accessibleNode; - } - get [S.$assignedSlot]() { - return this.assignedSlot; - } - get [S._attributes$1]() { - return this.attributes; - } - get [S.$className]() { - return this.className; - } - set [S.$className](value) { - this.className = value; - } - get [S.$clientHeight]() { - return this.clientHeight; - } - get [S.$clientLeft]() { - return this.clientLeft; - } - get [S.$clientTop]() { - return this.clientTop; - } - get [S.$clientWidth]() { - return this.clientWidth; - } - get [S.$computedName]() { - return this.computedName; - } - get [S.$computedRole]() { - return this.computedRole; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S._innerHtml]() { - return this.innerHTML; - } - set [S._innerHtml](value) { - this.innerHTML = value; - } - get [S._localName]() { - return this.localName; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$outerHtml]() { - return this.outerHTML; - } - get [S._scrollHeight]() { - return this.scrollHeight; - } - get [S._scrollLeft]() { - return this.scrollLeft; - } - set [S._scrollLeft](value) { - this.scrollLeft = value; - } - get [S._scrollTop]() { - return this.scrollTop; - } - set [S._scrollTop](value) { - this.scrollTop = value; - } - get [S._scrollWidth]() { - return this.scrollWidth; - } - get [S.$slot]() { - return this.slot; - } - set [S.$slot](value) { - this.slot = value; - } - get [S.$styleMap]() { - return this.styleMap; - } - get [S.$tagName]() { - return this.tagName; - } - [S.$attachShadow](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); - } - [S._attachShadow_1](...args) { - return this.attachShadow.apply(this, args); - } - [S.$closest](...args) { - return this.closest.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S._getAttribute](...args) { - return this.getAttribute.apply(this, args); - } - [S._getAttributeNS](...args) { - return this.getAttributeNS.apply(this, args); - } - [S.$getAttributeNames](...args) { - return this.getAttributeNames.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S._getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S._hasAttribute](...args) { - return this.hasAttribute.apply(this, args); - } - [S._hasAttributeNS](...args) { - return this.hasAttributeNS.apply(this, args); - } - [S.$hasPointerCapture](...args) { - return this.hasPointerCapture.apply(this, args); - } - [S.$releasePointerCapture](...args) { - return this.releasePointerCapture.apply(this, args); - } - [S._removeAttribute](...args) { - return this.removeAttribute.apply(this, args); - } - [S._removeAttributeNS](...args) { - return this.removeAttributeNS.apply(this, args); - } - [S.$requestPointerLock](...args) { - return this.requestPointerLock.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scroll_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollBy_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollIntoView](...args) { - return this.scrollIntoView.apply(this, args); - } - [S.$scrollIntoViewIfNeeded](...args) { - return this.scrollIntoViewIfNeeded.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollTo_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S._setAttribute](...args) { - return this.setAttribute.apply(this, args); - } - [S._setAttributeNS](...args) { - return this.setAttributeNS.apply(this, args); - } - [S.$setPointerCapture](...args) { - return this.setPointerCapture.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forElement(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forElement(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forElement(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forElement(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forElement(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forElement(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forElement(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forElement(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forElement(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forElement(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forElement(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forElement(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forElement(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forElement(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forElement(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forElement(this); - } - get [S$.$onTouchEnter]() { - return html$.Element.touchEnterEvent.forElement(this); - } - get [S$.$onTouchLeave]() { - return html$.Element.touchLeaveEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forElement(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forElement(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forElement(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forElement(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forElement(this); - } - }; - (html$.Element.created = function() { - html$.Element.__proto__._created.call(this); - ; - }).prototype = html$.Element.prototype; - dart.addTypeTests(html$.Element); - dart.addTypeCaches(html$.Element); - 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]), - [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), - [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.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]), - [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), - [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), - [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), - [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$attached]: dart.fnType(dart.void, []), - [S.$detached]: dart.fnType(dart.void, []), - [S.$enteredView]: dart.fnType(dart.void, []), - [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$leftView]: dart.fnType(dart.void, []), - [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), - [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), - [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), - [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), - [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), - [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), - [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), - [S.$matches]: dart.fnType(core.bool, [core.String]), - [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), - [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), - [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, []), - [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), - [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), - [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), - [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._hasAttribute]: dart.fnType(core.bool, [core.String]), - [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), - [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), - [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), - [S._removeAttribute]: dart.fnType(dart.void, [core.String]), - [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$requestPointerLock]: dart.fnType(dart.void, []), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [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.$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.Object]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), - [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [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), - [S.$children]: core.List$(html$.Element), - [S._children]: core.List$(html$.Node), - [S.$classes]: html$.CssClassSet, - [S.$dataset]: core.Map$(core.String, core.String), - [S.$client]: math.Rectangle$(core.num), - [S.$offset]: math.Rectangle$(core.num), - [S.$localName]: core.String, - [S.$namespaceUri]: dart.nullable(core.String), - [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), - [S.$contentEdge]: html$.CssRect, - [S.$paddingEdge]: html$.CssRect, - [S.$borderEdge]: html$.CssRect, - [S.$marginEdge]: html$.CssRect, - [S.$documentOffset]: math.Point$(core.num), - [S._canBeUsedToCreateContextualFragment]: core.bool, - [S._cannotBeUsedToCreateContextualFragment]: core.bool, - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$on]: html$.ElementEvents, - [S.$offsetParent]: dart.nullable(html$.Element), - [S.$offsetHeight]: core.int, - [S.$offsetLeft]: core.int, - [S.$offsetTop]: core.int, - [S.$offsetWidth]: core.int, - [S.$scrollHeight]: core.int, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$scrollWidth]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$isContentEditable]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$style]: html$.CssStyleDeclaration, - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), - [S.$assignedSlot]: dart.nullable(html$.SlotElement), - [S._attributes$1]: dart.nullable(html$._NamedNodeMap), - [S.$className]: core.String, - [S.$clientHeight]: core.int, - [S.$clientLeft]: dart.nullable(core.int), - [S.$clientTop]: dart.nullable(core.int), - [S.$clientWidth]: core.int, - [S.$computedName]: dart.nullable(core.String), - [S.$computedRole]: dart.nullable(core.String), - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._localName]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$outerHtml]: dart.nullable(core.String), - [S._scrollHeight]: dart.nullable(core.int), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S._scrollWidth]: dart.nullable(core.int), - [S.$slot]: dart.nullable(core.String), - [S.$styleMap]: dart.nullable(html$.StylePropertyMap), - [S.$tagName]: core.String, - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: html$.ElementStream$(html$.Event), - [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), - [S.$onBeforeCut]: html$.ElementStream$(html$.Event), - [S.$onBeforePaste]: html$.ElementStream$(html$.Event), - [S.$onBlur]: html$.ElementStream$(html$.Event), - [S.$onCanPlay]: html$.ElementStream$(html$.Event), - [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), - [S.$onChange]: html$.ElementStream$(html$.Event), - [S.$onClick]: html$.ElementStream$(html$.MouseEvent), - [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), - [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onDoubleClick]: html$.ElementStream$(html$.Event), - [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), - [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), - [S.$onDurationChange]: html$.ElementStream$(html$.Event), - [S.$onEmptied]: html$.ElementStream$(html$.Event), - [S.$onEnded]: html$.ElementStream$(html$.Event), - [S.$onError]: html$.ElementStream$(html$.Event), - [S.$onFocus]: html$.ElementStream$(html$.Event), - [S.$onInput]: html$.ElementStream$(html$.Event), - [S.$onInvalid]: html$.ElementStream$(html$.Event), - [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onLoad]: html$.ElementStream$(html$.Event), - [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$.$onSuspend]: html$.ElementStream$(html$.Event), - [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), - [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), - [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), - [S$.$onWaiting]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), - [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) - })); - dart.setSetterSignature(html$.Element, () => ({ - __proto__: dart.getSetters(html$.Element.__proto__), - [S.$attributes]: core.Map$(core.String, core.String), - [S.$children]: core.List$(html$.Element), - [S.$classes]: core.Iterable$(core.String), - [S.$dataset]: core.Map$(core.String, core.String), - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$className]: core.String, - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S.$slot]: dart.nullable(core.String) - })); - 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[235] || CT.C235; - }, - /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[237] || CT.C237; - }, - /*html$.Element._parseDocument*/get _parseDocument() { - return null; - }, - set _parseDocument(value) {}, - /*html$.Element._parseRange*/get _parseRange() { - return null; - }, - set _parseRange(value) {}, - /*html$.Element._defaultValidator*/get _defaultValidator() { - return null; - }, - set _defaultValidator(value) {}, - /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { - return null; - }, - set _defaultSanitizer(value) {}, - /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[239] || CT.C239; - }, - /*html$.Element.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[240] || CT.C240; - }, - /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[241] || CT.C241; - }, - /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[242] || CT.C242; - }, - /*html$.Element.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.Element.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.Element.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.Element.copyEvent*/get copyEvent() { - return C[249] || CT.C249; - }, - /*html$.Element.cutEvent*/get cutEvent() { - return C[250] || CT.C250; - }, - /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.Element.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.Element.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.Element.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.Element.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Element.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.Element.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.Element.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.Element.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.Element.pasteEvent*/get pasteEvent() { - return C[278] || CT.C278; - }, - /*html$.Element.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.Element.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.Element.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.Element.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.Element.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.Element.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.Element.searchEvent*/get searchEvent() { - return C[286] || CT.C286; - }, - /*html$.Element.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.Element.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.Element.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[290] || CT.C290; - }, - /*html$.Element.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.Element.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.Element.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[297] || CT.C297; - }, - /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[298] || CT.C298; - }, - /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.Element.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[303] || CT.C303; - }, - /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[304] || CT.C304; - }, - /*html$.Element.wheelEvent*/get wheelEvent() { - return C[305] || CT.C305; - } - }, false); - dart.registerExtension("Element", html$.Element); - 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; - } - set [S.$nonce](value) { - this.nonce = value; - } - }; - (html$.HtmlElement.created = function() { - html$.HtmlElement.__proto__.created.call(this); - ; - }).prototype = html$.HtmlElement.prototype; - 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) - })); - dart.setSetterSignature(html$.HtmlElement, () => ({ - __proto__: dart.getSetters(html$.HtmlElement.__proto__), - [S.$nonce]: dart.nullable(core.String) - })); - 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[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); - } - static _create_2(type) { - return new ExtendableEvent(type); - } - [S$.$waitUntil](...args) { - return this.waitUntil.apply(this, args); - } - }; - dart.addTypeTests(html$.ExtendableEvent); - dart.addTypeCaches(html$.ExtendableEvent); - dart.setMethodSignature(html$.ExtendableEvent, () => ({ - __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), - [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) - })); - 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[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); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } - }; - dart.addTypeTests(html$.AbortPaymentEvent); - dart.addTypeCaches(html$.AbortPaymentEvent); - dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ - __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), - [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) - })); - 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; - } - get [S$.$hasReading]() { - return this.hasReading; - } - get [S$.$timestamp]() { - return this.timestamp; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.Sensor.errorEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.Sensor); - dart.addTypeCaches(html$.Sensor); - dart.setMethodSignature(html$.Sensor, () => ({ - __proto__: dart.getMethods(html$.Sensor.__proto__), - [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), - [S$.$hasReading]: dart.nullable(core.bool), - [S$.$timestamp]: dart.nullable(core.num), - [S.$onError]: async.Stream$(html$.Event) - })); - dart.setLibraryUri(html$.Sensor, I[150]); - dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); - dart.defineLazy(html$.Sensor, { - /*html$.Sensor.errorEvent*/get errorEvent() { - 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; - } - [S$.$populateMatrix](...args) { - return this.populateMatrix.apply(this, args); - } - }; - dart.addTypeTests(html$.OrientationSensor); - dart.addTypeCaches(html$.OrientationSensor); - 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[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); - return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); - } - return html$.AbsoluteOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AbsoluteOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AbsoluteOrientationSensor(sensorOptions); - } - static _create_2() { - return new AbsoluteOrientationSensor(); - } - }; - dart.addTypeTests(html$.AbsoluteOrientationSensor); - dart.addTypeCaches(html$.AbsoluteOrientationSensor); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AbstractWorker.__(); - } - get onError() { - return html$.AbstractWorker.errorEvent.forTarget(this); - } - }; - 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[150]); - dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); - dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); - dart.defineLazy(html$.AbstractWorker, { - /*html$.AbstractWorker.errorEvent*/get errorEvent() { - 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); - return html$.Accelerometer._create_1(sensorOptions_1); - } - return html$.Accelerometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Accelerometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Accelerometer(sensorOptions); - } - static _create_2() { - return new Accelerometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - 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[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(); - } - static _create_1() { - return new AccessibleNode(); - } - get [S$.$activeDescendant]() { - return this.activeDescendant; - } - set [S$.$activeDescendant](value) { - this.activeDescendant = value; - } - get [S$.$atomic]() { - return this.atomic; - } - set [S$.$atomic](value) { - this.atomic = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$busy]() { - return this.busy; - } - set [S$.$busy](value) { - this.busy = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$.$colCount]() { - return this.colCount; - } - set [S$.$colCount](value) { - this.colCount = value; - } - get [S$.$colIndex]() { - return this.colIndex; - } - set [S$.$colIndex](value) { - this.colIndex = value; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$current]() { - return this.current; - } - set [S$.$current](value) { - this.current = value; - } - get [S$.$describedBy]() { - return this.describedBy; - } - set [S$.$describedBy](value) { - this.describedBy = value; - } - get [S$.$details]() { - return this.details; - } - set [S$.$details](value) { - this.details = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$errorMessage]() { - return this.errorMessage; - } - set [S$.$errorMessage](value) { - this.errorMessage = value; - } - get [S$.$expanded]() { - return this.expanded; - } - set [S$.$expanded](value) { - this.expanded = value; - } - get [S$.$flowTo]() { - return this.flowTo; - } - set [S$.$flowTo](value) { - this.flowTo = value; - } - get [S$.$hasPopUp]() { - return this.hasPopUp; - } - set [S$.$hasPopUp](value) { - this.hasPopUp = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S$.$invalid]() { - return this.invalid; - } - set [S$.$invalid](value) { - this.invalid = value; - } - get [S$.$keyShortcuts]() { - return this.keyShortcuts; - } - set [S$.$keyShortcuts](value) { - this.keyShortcuts = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$labeledBy]() { - return this.labeledBy; - } - set [S$.$labeledBy](value) { - this.labeledBy = value; - } - get [S$.$level]() { - return this.level; - } - set [S$.$level](value) { - this.level = value; - } - get [S$.$live]() { - return this.live; - } - set [S$.$live](value) { - this.live = value; - } - get [S$.$modal]() { - return this.modal; - } - set [S$.$modal](value) { - this.modal = value; - } - get [S$.$multiline]() { - return this.multiline; - } - set [S$.$multiline](value) { - this.multiline = value; - } - get [S$.$multiselectable]() { - return this.multiselectable; - } - set [S$.$multiselectable](value) { - this.multiselectable = value; - } - get [S$.$orientation]() { - return this.orientation; - } - set [S$.$orientation](value) { - this.orientation = value; - } - get [S$.$owns]() { - return this.owns; - } - set [S$.$owns](value) { - this.owns = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$posInSet]() { - return this.posInSet; - } - set [S$.$posInSet](value) { - this.posInSet = value; - } - get [S$.$pressed]() { - return this.pressed; - } - set [S$.$pressed](value) { - this.pressed = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$relevant]() { - return this.relevant; - } - set [S$.$relevant](value) { - this.relevant = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$.$role]() { - return this.role; - } - set [S$.$role](value) { - this.role = value; - } - get [S$.$roleDescription]() { - return this.roleDescription; - } - set [S$.$roleDescription](value) { - this.roleDescription = value; - } - get [S$.$rowCount]() { - return this.rowCount; - } - set [S$.$rowCount](value) { - this.rowCount = value; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - set [S$.$rowIndex](value) { - this.rowIndex = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$.$setSize]() { - return this.setSize; - } - set [S$.$setSize](value) { - this.setSize = value; - } - get [$sort]() { - return this.sort; - } - set [$sort](value) { - this.sort = value; - } - get [S$.$valueMax]() { - return this.valueMax; - } - set [S$.$valueMax](value) { - this.valueMax = value; - } - get [S$.$valueMin]() { - return this.valueMin; - } - set [S$.$valueMin](value) { - this.valueMin = value; - } - get [S$.$valueNow]() { - return this.valueNow; - } - set [S$.$valueNow](value) { - this.valueNow = value; - } - get [S$.$valueText]() { - return this.valueText; - } - set [S$.$valueText](value) { - this.valueText = value; - } - [S$.$appendChild](...args) { - return this.appendChild.apply(this, args); - } - get [S$.$onAccessibleClick]() { - return html$.AccessibleNode.accessibleClickEvent.forTarget(this); - } - get [S$.$onAccessibleContextMenu]() { - return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); - } - get [S$.$onAccessibleDecrement]() { - return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); - } - get [S$.$onAccessibleFocus]() { - return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); - } - get [S$.$onAccessibleIncrement]() { - return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); - } - get [S$.$onAccessibleScrollIntoView]() { - return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.AccessibleNode); - dart.addTypeCaches(html$.AccessibleNode); - 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), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String), - [S$.$onAccessibleClick]: async.Stream$(html$.Event), - [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), - [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), - [S$.$onAccessibleFocus]: async.Stream$(html$.Event), - [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), - [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.AccessibleNode, () => ({ - __proto__: dart.getSetters(html$.AccessibleNode.__proto__), - [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String) - })); - 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[306] || CT.C306; - }, - /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[307] || CT.C307; - }, - /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[308] || CT.C308; - }, - /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[309] || CT.C309; - }, - /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[310] || CT.C310; - }, - /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[311] || CT.C311; - } - }, false); - dart.registerExtension("AccessibleNode", html$.AccessibleNode); - 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); - } - static _create_2() { - return new AccessibleNodeList(); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - }; - dart.addTypeTests(html$.AccessibleNodeList); - dart.addTypeCaches(html$.AccessibleNodeList); - dart.setMethodSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), - [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), - [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) - })); - dart.setSetterSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), - [$length]: dart.nullable(core.int) - })); - 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); - return html$.AmbientLightSensor._create_1(sensorOptions_1); - } - return html$.AmbientLightSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AmbientLightSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AmbientLightSensor(sensorOptions); - } - static _create_2() { - return new AmbientLightSensor(); - } - get [S$.$illuminance]() { - return this.illuminance; - } - }; - 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[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; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } - }; - (html$.AnchorElement.created = function() { - html$.AnchorElement.__proto__.created.call(this); - ; - }).prototype = html$.AnchorElement.prototype; - 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), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.AnchorElement, () => ({ - __proto__: dart.getSetters(html$.AnchorElement.__proto__), - [S$.$download]: dart.nullable(core.String), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - 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); - } - if (effect != null) { - return html$.Animation._create_2(effect); - } - 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); - } - static _create_2(effect) { - return new Animation(effect); - } - static _create_3() { - return new Animation(); - } - static get supported() { - return !!document.body.animate; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$effect]() { - return this.effect; - } - set [S$.$effect](value) { - this.effect = value; - } - get [S$.$finished]() { - return js_util.promiseToFuture(html$.Animation, this.finished); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$.$playState]() { - return this.playState; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.Animation, this.ready); - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$.$timeline]() { - return this.timeline; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } - [S$.$reverse](...args) { - return this.reverse.apply(this, args); - } - get [S$.$onCancel]() { - return html$.Animation.cancelEvent.forTarget(this); - } - get [S$.$onFinish]() { - return html$.Animation.finishEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.Animation); - dart.addTypeCaches(html$.Animation); - dart.setMethodSignature(html$.Animation, () => ({ - __proto__: dart.getMethods(html$.Animation.__proto__), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$.$finish]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [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), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S$.$finished]: async.Future$(html$.Animation), - [S.$id]: dart.nullable(core.String), - [S$.$playState]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$ready]: async.Future$(html$.Animation), - [S$.$startTime]: dart.nullable(core.num), - [S$.$timeline]: dart.nullable(html$.AnimationTimeline), - [S$.$onCancel]: async.Stream$(html$.Event), - [S$.$onFinish]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.Animation, () => ({ - __proto__: dart.getSetters(html$.Animation.__proto__), - [S$.$currentTime]: dart.nullable(core.num), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S.$id]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$startTime]: dart.nullable(core.num) - })); - 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[312] || CT.C312; - }, - /*html$.Animation.finishEvent*/get finishEvent() { - return C[313] || CT.C313; - } - }, false); - dart.registerExtension("Animation", html$.Animation); - html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectReadOnly.__(); - } - get [S$.$timing]() { - return this.timing; - } - [S$.$getComputedTiming]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); - } - [S$._getComputedTiming_1](...args) { - return this.getComputedTiming.apply(this, args); - } - }; - dart.addTypeTests(html$.AnimationEffectReadOnly); - dart.addTypeCaches(html$.AnimationEffectReadOnly); - dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ - __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), - [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[150]); - dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); - html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectTimingReadOnly.__(); - } - get [S$.$delay]() { - return this.delay; - } - get [S.$direction]() { - return this.direction; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$easing]() { - return this.easing; - } - get [S$.$endDelay]() { - return this.endDelay; - } - get [S$.$fill]() { - return this.fill; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - get [S$.$iterations]() { - return this.iterations; - } - }; - 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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) - })); - 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; - } - set [S$.$delay](value) { - this.delay = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S$.$easing]() { - return this.easing; - } - set [S$.$easing](value) { - this.easing = value; - } - get [S$.$endDelay]() { - return this.endDelay; - } - set [S$.$endDelay](value) { - this.endDelay = value; - } - get [S$.$fill]() { - return this.fill; - } - set [S$.$fill](value) { - this.fill = value; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - set [S$.$iterationStart](value) { - this.iterationStart = value; - } - get [S$.$iterations]() { - return this.iterations; - } - set [S$.$iterations](value) { - this.iterations = value; - } - }; - 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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) - })); - 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[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); - } - static _create_2(type) { - return new AnimationEvent(type); - } - get [S$.$animationName]() { - return this.animationName; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - }; - 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[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[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); - } - static _create_2(type) { - return new AnimationPlaybackEvent(type); - } - get [S$.$currentTime]() { - return this.currentTime; - } - get [S$.$timelineTime]() { - return this.timelineTime; - } - }; - 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[150]); - dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); - 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[150]); - dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); - html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletGlobalScope.__(); - } - }; - dart.addTypeTests(html$.WorkletGlobalScope); - dart.addTypeCaches(html$.WorkletGlobalScope); - 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); - } - }; - dart.addTypeTests(html$.AnimationWorkletGlobalScope); - dart.addTypeCaches(html$.AnimationWorkletGlobalScope); - dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ - __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), - [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) - })); - 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; - } - get [S$.$status]() { - return this.status; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$swapCache](...args) { - return this.swapCache.apply(this, args); - } - [$update](...args) { - return this.update.apply(this, args); - } - get [S$.$onCached]() { - return html$.ApplicationCache.cachedEvent.forTarget(this); - } - get [S$.$onChecking]() { - return html$.ApplicationCache.checkingEvent.forTarget(this); - } - get [S$.$onDownloading]() { - return html$.ApplicationCache.downloadingEvent.forTarget(this); - } - get [S.$onError]() { - return html$.ApplicationCache.errorEvent.forTarget(this); - } - get [S$.$onNoUpdate]() { - return html$.ApplicationCache.noUpdateEvent.forTarget(this); - } - get [S$.$onObsolete]() { - return html$.ApplicationCache.obsoleteEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.ApplicationCache.progressEvent.forTarget(this); - } - get [S$.$onUpdateReady]() { - return html$.ApplicationCache.updateReadyEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.ApplicationCache); - dart.addTypeCaches(html$.ApplicationCache); - dart.setMethodSignature(html$.ApplicationCache, () => ({ - __proto__: dart.getMethods(html$.ApplicationCache.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$.$onCached]: async.Stream$(html$.Event), - [S$.$onChecking]: async.Stream$(html$.Event), - [S$.$onDownloading]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onNoUpdate]: async.Stream$(html$.Event), - [S$.$onObsolete]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$.$onUpdateReady]: async.Stream$(html$.Event) - })); - 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[314] || CT.C314; - }, - /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[315] || CT.C315; - }, - /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[316] || CT.C316; - }, - /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[317] || CT.C317; - }, - /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[318] || CT.C318; - }, - /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[320] || CT.C320; - }, - /*html$.ApplicationCache.CHECKING*/get CHECKING() { - return 2; - }, - /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { - return 3; - }, - /*html$.ApplicationCache.IDLE*/get IDLE() { - return 1; - }, - /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { - return 5; - }, - /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { - return 0; - }, - /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { - return 4; - } - }, false); - 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[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); - } - static _create_2(type) { - return new ApplicationCacheErrorEvent(type); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$status]() { - return this.status; - } - get [S$.$url]() { - return this.url; - } - }; - 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), - [S$.$reason]: dart.nullable(core.String), - [S$.$status]: dart.nullable(core.int), - [S$.$url]: dart.nullable(core.String) - })); - 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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$.$coords]() { - return this.coords; - } - set [S$.$coords](value) { - this.coords = value; - } - get [S$.$download]() { - return this.download; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$.$shape]() { - return this.shape; - } - set [S$.$shape](value) { - this.shape = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } - }; - (html$.AreaElement.created = function() { - html$.AreaElement.__proto__.created.call(this); - ; - }).prototype = html$.AreaElement.prototype; - 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, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.AreaElement, () => ({ - __proto__: dart.getSetters(html$.AreaElement.__proto__), - [S$.$alt]: core.String, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - 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; - } - get [S$.$autoplay]() { - return this.autoplay; - } - set [S$.$autoplay](value) { - this.autoplay = value; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$controlsList]() { - return this.controlsList; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$defaultMuted]() { - return this.defaultMuted; - } - set [S$.$defaultMuted](value) { - this.defaultMuted = value; - } - get [S$.$defaultPlaybackRate]() { - return this.defaultPlaybackRate; - } - set [S$.$defaultPlaybackRate](value) { - this.defaultPlaybackRate = value; - } - get [S$.$disableRemotePlayback]() { - return this.disableRemotePlayback; - } - set [S$.$disableRemotePlayback](value) { - this.disableRemotePlayback = value; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$ended]() { - return this.ended; - } - get [S.$error]() { - return this.error; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$.$mediaKeys]() { - return this.mediaKeys; - } - get [S$.$muted]() { - return this.muted; - } - set [S$.$muted](value) { - this.muted = value; - } - get [S$.$networkState]() { - return this.networkState; - } - get [S$.$paused]() { - return this.paused; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$played]() { - return this.played; - } - get [S$.$preload]() { - return this.preload; - } - set [S$.$preload](value) { - this.preload = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$remote]() { - return this.remote; - } - get [S$.$seekable]() { - return this.seekable; - } - get [S$.$seeking]() { - return this.seeking; - } - get [S$.$sinkId]() { - return this.sinkId; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$.$srcObject]() { - return this.srcObject; - } - set [S$.$srcObject](value) { - this.srcObject = value; - } - get [S$.$textTracks]() { - return this.textTracks; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$.$audioDecodedByteCount]() { - return this.webkitAudioDecodedByteCount; - } - get [S$.$videoDecodedByteCount]() { - return this.webkitVideoDecodedByteCount; - } - [S$.$addTextTrack](...args) { - return this.addTextTrack.apply(this, args); - } - [S$.$canPlayType](...args) { - return this.canPlayType.apply(this, args); - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$load](...args) { - return this.load.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play]() { - return js_util.promiseToFuture(dart.dynamic, this.play()); - } - [S$.$setMediaKeys](mediaKeys) { - return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); - } - [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); - return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); - } - }; - (html$.MediaElement.created = function() { - html$.MediaElement.__proto__.created.call(this); - ; - }).prototype = html$.MediaElement.prototype; - dart.addTypeTests(html$.MediaElement); - dart.addTypeCaches(html$.MediaElement); - dart.setMethodSignature(html$.MediaElement, () => ({ - __proto__: dart.getMethods(html$.MediaElement.__proto__), - [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), - [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$captureStream]: dart.fnType(html$.MediaStream, []), - [S$.$load]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [S$.$play]: dart.fnType(async.Future, []), - [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), - [S$.$autoplay]: core.bool, - [S$.$buffered]: html$.TimeRanges, - [S$.$controls]: core.bool, - [S$.$controlsList]: dart.nullable(html$.DomTokenList), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: core.String, - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$duration]: core.num, - [S$.$ended]: core.bool, - [S.$error]: dart.nullable(html$.MediaError), - [S$.$loop]: core.bool, - [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), - [S$.$muted]: core.bool, - [S$.$networkState]: dart.nullable(core.int), - [S$.$paused]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$played]: html$.TimeRanges, - [S$.$preload]: core.String, - [S.$readyState]: core.int, - [S$.$remote]: dart.nullable(html$.RemotePlayback), - [S$.$seekable]: html$.TimeRanges, - [S$.$seeking]: core.bool, - [S$.$sinkId]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$textTracks]: dart.nullable(html$.TextTrackList), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S$.$volume]: core.num, - [S$.$audioDecodedByteCount]: dart.nullable(core.int), - [S$.$videoDecodedByteCount]: dart.nullable(core.int) - })); - dart.setSetterSignature(html$.MediaElement, () => ({ - __proto__: dart.getSetters(html$.MediaElement.__proto__), - [S$.$autoplay]: core.bool, - [S$.$controls]: core.bool, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$loop]: core.bool, - [S$.$muted]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$preload]: core.String, - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$volume]: core.num - })); - 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; - }, - /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { - return 4; - }, - /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { - return 3; - }, - /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { - return 1; - }, - /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { - return 0; - }, - /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { - return 0; - }, - /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { - return 1; - }, - /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { - return 2; - }, - /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { - return 3; - } - }, false); - dart.registerExtension("HTMLMediaElement", html$.MediaElement); - html$.AudioElement = class AudioElement extends html$.MediaElement { - static __(src = null) { - if (src != null) { - return html$.AudioElement._create_1(src); - } - 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); - ; - }).prototype = html$.AudioElement.prototype; - dart.addTypeTests(html$.AudioElement); - dart.addTypeCaches(html$.AudioElement); - 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.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[150]); - dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); - html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { - static ['_#_#tearOff']() { - return html$.AuthenticatorAssertionResponse.__(); - } - get [S$.$authenticatorData]() { - return this.authenticatorData; - } - get [S$.$signature]() { - return this.signature; - } - }; - 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[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[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); - ; - }).prototype = html$.BRElement.prototype; - dart.addTypeTests(html$.BRElement); - dart.addTypeCaches(html$.BRElement); - 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[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); - } - get [S.$id]() { - return this.id; - } - }; - 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[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[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); - } - get [S$.$state]() { - return this.state; - } - }; - 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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } - }; - 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[150]); - dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); - 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[150]); - dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); - html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BackgroundFetchManager.__(); - } - [S$.$fetch](id, requests, options = null) { - 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); - } - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); - } - [S.$get](id) { - if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); - } - [S$.$getIds]() { - return js_util.promiseToFuture(core.List, this.getIds()); - } - }; - dart.addTypeTests(html$.BackgroundFetchManager); - dart.addTypeCaches(html$.BackgroundFetchManager); - dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ - __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), - [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), - [S$.$getIds]: dart.fnType(async.Future$(core.List), []) - })); - 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; - } - get [S$.$downloaded]() { - return this.downloaded; - } - get [S.$id]() { - return this.id; - } - get [S.$title]() { - return this.title; - } - get [S$.$totalDownloadSize]() { - return this.totalDownloadSize; - } - get [S$.$uploadTotal]() { - return this.uploadTotal; - } - get [S$.$uploaded]() { - return this.uploaded; - } - [S.$abort]() { - return js_util.promiseToFuture(core.bool, this.abort()); - } - }; - dart.addTypeTests(html$.BackgroundFetchRegistration); - dart.addTypeCaches(html$.BackgroundFetchRegistration); - 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), - [S$.$downloaded]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.String), - [S.$title]: dart.nullable(core.String), - [S$.$totalDownloadSize]: dart.nullable(core.int), - [S$.$uploadTotal]: dart.nullable(core.int), - [S$.$uploaded]: dart.nullable(core.int) - })); - 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[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); - } - get [S$.$response]() { - return this.response; - } - }; - 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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } - [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); - return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); - } - }; - dart.addTypeTests(html$.BackgroundFetchedEvent); - dart.addTypeCaches(html$.BackgroundFetchedEvent); - 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[150]); - dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); - 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[150]); - dart.registerExtension("BarProp", html$.BarProp); - 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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } - }; - dart.addTypeTests(html$.BarcodeDetector); - dart.addTypeCaches(html$.BarcodeDetector); - dart.setMethodSignature(html$.BarcodeDetector, () => ({ - __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) - })); - 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; - } - set [S$.$href](value) { - this.href = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - }; - (html$.BaseElement.created = function() { - html$.BaseElement.__proto__.created.call(this); - ; - }).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, - [S.$target]: core.String - })); - dart.setSetterSignature(html$.BaseElement, () => ({ - __proto__: dart.getSetters(html$.BaseElement.__proto__), - [S$.$href]: core.String, - [S.$target]: core.String - })); - 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; - } - get [S$.$chargingTime]() { - return this.chargingTime; - } - get [S$.$dischargingTime]() { - return this.dischargingTime; - } - get [S$.$level]() { - return this.level; - } - }; - 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), - [S$.$chargingTime]: dart.nullable(core.num), - [S$.$dischargingTime]: dart.nullable(core.num), - [S$.$level]: dart.nullable(core.num) - })); - 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[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); - } - static _create_2(type) { - return new BeforeInstallPromptEvent(type); - } - get [S$.$platforms]() { - return this.platforms; - } - get [S$.$userChoice]() { - return html$.promiseToFutureAsMap(this.userChoice); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } - }; - dart.addTypeTests(html$.BeforeInstallPromptEvent); - dart.addTypeCaches(html$.BeforeInstallPromptEvent); - 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[150]); - dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); - html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { - static ['_#_#tearOff']() { - return html$.BeforeUnloadEvent.__(); - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), - [S$.$returnValue]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); - dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); - html$.Blob = class Blob extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Blob.__(); - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } - [S$.$slice](...args) { - return this.slice.apply(this, args); - } - static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); - if (type == null && endings == null) { - return html$.Blob.as(html$.Blob._create_1(blobParts)); - } - let bag = html$.Blob._create_bag(); - if (type != null) html$.Blob._bag_set(bag, "type", type); - 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); - } - static _create_2(parts, bag) { - return new self.Blob(parts, bag); - } - static _create_bag() { - return {}; - } - static _bag_set(bag, key, value) { - bag[key] = value; - } - }; - dart.addTypeTests(html$.Blob); - dart.addTypeCaches(html$.Blob); - 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[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[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); - } - get [S$.$data]() { - return this.data; - } - get [S$.$timecode]() { - return this.timecode; - } - }; - 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[150]); - dart.registerExtension("BlobEvent", html$.BlobEvent); - html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BluetoothRemoteGattDescriptor.__(); - } - get [S$.$characteristic]() { - return this.characteristic; - } - get [S$.$uuid]() { - return this.uuid; - } - get [S.$value]() { - return this.value; - } - [S$.$readValue]() { - return js_util.promiseToFuture(dart.dynamic, this.readValue()); - } - [S$.$writeValue](value) { - return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); - } - }; - dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); - dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); - dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ - __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), - [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[150]); - dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); - html$.Body = class Body extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Body.__(); - } - get [S$.$bodyUsed]() { - return this.bodyUsed; - } - [S$.$arrayBuffer]() { - return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); - } - [S$.$blob]() { - return js_util.promiseToFuture(html$.Blob, this.blob()); - } - [S$.$formData]() { - return js_util.promiseToFuture(html$.FormData, this.formData()); - } - [S$.$json]() { - return js_util.promiseToFuture(dart.dynamic, this.json()); - } - [S.$text]() { - return js_util.promiseToFuture(core.String, this.text()); - } - }; - dart.addTypeTests(html$.Body); - dart.addTypeCaches(html$.Body); - dart.setMethodSignature(html$.Body, () => ({ - __proto__: dart.getMethods(html$.Body.__proto__), - [S$.$arrayBuffer]: dart.fnType(async.Future, []), - [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), - [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), - [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[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); - } - get [S.$onError]() { - return html$.BodyElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.BodyElement.focusEvent.forElement(this); - } - get [S$.$onHashChange]() { - return html$.BodyElement.hashChangeEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.BodyElement.loadEvent.forElement(this); - } - get [S$.$onMessage]() { - return html$.BodyElement.messageEvent.forElement(this); - } - get [S$.$onOffline]() { - return html$.BodyElement.offlineEvent.forElement(this); - } - get [S$.$onOnline]() { - return html$.BodyElement.onlineEvent.forElement(this); - } - get [S$.$onPopState]() { - return html$.BodyElement.popStateEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.BodyElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.BodyElement.scrollEvent.forElement(this); - } - get [S$.$onStorage]() { - return html$.BodyElement.storageEvent.forElement(this); - } - get [S$.$onUnload]() { - return html$.BodyElement.unloadEvent.forElement(this); - } - }; - (html$.BodyElement.created = function() { - html$.BodyElement.__proto__.created.call(this); - ; - }).prototype = html$.BodyElement.prototype; - 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), - [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), - [S$.$onOffline]: html$.ElementStream$(html$.Event), - [S$.$onOnline]: html$.ElementStream$(html$.Event), - [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), - [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), - [S$.$onUnload]: html$.ElementStream$(html$.Event) - })); - 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[243] || CT.C243; - }, - /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.BodyElement.unloadEvent*/get unloadEvent() { - 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[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); - } - get [$name]() { - return this.name; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } - get [S$.$onMessage]() { - return html$.BroadcastChannel.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.BroadcastChannel); - dart.addTypeCaches(html$.BroadcastChannel); - dart.setMethodSignature(html$.BroadcastChannel, () => ({ - __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), - [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[150]); - dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); - dart.defineLazy(html$.BroadcastChannel, { - /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } - }, false); - dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); - html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BudgetState.__(); - } - get [S$.$budgetAt]() { - return this.budgetAt; - } - get [S$.$time]() { - return this.time; - } - }; - 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[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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - }; - (html$.ButtonElement.created = function() { - html$.ButtonElement.__proto__.created.call(this); - ; - }).prototype = html$.ButtonElement.prototype; - dart.addTypeTests(html$.ButtonElement); - dart.addTypeCaches(html$.ButtonElement); - dart.setMethodSignature(html$.ButtonElement, () => ({ - __proto__: dart.getMethods(html$.ButtonElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: core.String, - [S$.$willValidate]: core.bool - })); - dart.setSetterSignature(html$.ButtonElement, () => ({ - __proto__: dart.getSetters(html$.ButtonElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S.$value]: core.String - })); - 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; - } - set [S$.$data](value) { - this.data = value; - } - get [$length]() { - return this.length; - } - [S$.$appendData](...args) { - return this.appendData.apply(this, args); - } - [S$.$deleteData](...args) { - return this.deleteData.apply(this, args); - } - [S$.$insertData](...args) { - return this.insertData.apply(this, args); - } - [S$.$replaceData](...args) { - return this.replaceData.apply(this, args); - } - [S$.$substringData](...args) { - return this.substringData.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } - }; - dart.addTypeTests(html$.CharacterData); - dart.addTypeCaches(html$.CharacterData); - 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]), - [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), - [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), - [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), - [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), - [$length]: dart.nullable(core.int), - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element) - })); - dart.setSetterSignature(html$.CharacterData, () => ({ - __proto__: dart.getSetters(html$.CharacterData.__proto__), - [S$.$data]: dart.nullable(core.String) - })); - 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[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; - } - get [S$.$wholeText]() { - return this.wholeText; - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S$.$splitText](...args) { - return this.splitText.apply(this, args); - } - }; - dart.addTypeTests(html$.Text); - dart.addTypeCaches(html$.Text); - dart.setMethodSignature(html$.Text, () => ({ - __proto__: dart.getMethods(html$.Text.__proto__), - [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[150]); - dart.registerExtension("Text", html$.Text); - html$.CDataSection = class CDataSection extends html$.Text { - static ['_#_#tearOff']() { - return html$.CDataSection.__(); - } - }; - dart.addTypeTests(html$.CDataSection); - dart.addTypeCaches(html$.CDataSection); - dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); - dart.setLibraryUri(html$.CDataSection, I[150]); - dart.registerExtension("CDATASection", html$.CDataSection); - html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CacheStorage.__(); - } - [S.$delete](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[149], 2018, 21, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); - } - [$keys]() { - return js_util.promiseToFuture(dart.dynamic, this.keys()); - } - [S$.$match](request, options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); - } - [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); - } - }; - dart.addTypeTests(html$.CacheStorage); - dart.addTypeCaches(html$.CacheStorage); - dart.setMethodSignature(html$.CacheStorage, () => ({ - __proto__: dart.getMethods(html$.CacheStorage.__proto__), - [S.$delete]: dart.fnType(async.Future, [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future, []), - [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S.$open]: dart.fnType(async.Future, [core.String]) - })); - 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[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); - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } - }; - dart.addTypeTests(html$.CanMakePaymentEvent); - dart.addTypeCaches(html$.CanMakePaymentEvent); - 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), - [S$.$modifiers]: dart.nullable(core.List), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String) - })); - 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; - } - set [S$.$contentHint](value) { - this.contentHint = value; - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$.$muted]() { - return this.muted; - } - get [S.$readyState]() { - return this.readyState; - } - [S$.$applyConstraints](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$.$getCapabilities]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); - } - [S$._getCapabilities_1](...args) { - return this.getCapabilities.apply(this, args); - } - [S$.$getConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); - } - [S$._getConstraints_1](...args) { - return this.getConstraints.apply(this, args); - } - [S$.$getSettings]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); - } - [S$._getSettings_1](...args) { - return this.getSettings.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return html$.MediaStreamTrack.endedEvent.forTarget(this); - } - get [S$.$onMute]() { - return html$.MediaStreamTrack.muteEvent.forTarget(this); - } - get [S$.$onUnmute]() { - return html$.MediaStreamTrack.unmuteEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.MediaStreamTrack); - dart.addTypeCaches(html$.MediaStreamTrack); - dart.setMethodSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), - [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), - [S$.$getCapabilities]: dart.fnType(core.Map, []), - [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), - [S$.$getConstraints]: dart.fnType(core.Map, []), - [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), - [S$.$getSettings]: dart.fnType(core.Map, []), - [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), - [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$.$muted]: dart.nullable(core.bool), - [S.$readyState]: dart.nullable(core.String), - [S.$onEnded]: async.Stream$(html$.Event), - [S$.$onMute]: async.Stream$(html$.Event), - [S$.$onUnmute]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), - [S$.$contentHint]: dart.nullable(core.String), - [S$.$enabled]: dart.nullable(core.bool) - })); - dart.setLibraryUri(html$.MediaStreamTrack, I[150]); - dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); - dart.defineLazy(html$.MediaStreamTrack, { - /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[328] || CT.C328; - }, - /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - 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; - } - [S$.$requestFrame](...args) { - return this.requestFrame.apply(this, args); - } - }; - dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); - dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); - 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[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; - let e = html$.document.createElement("canvas"); - if (width != null) e.width = width; - 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; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$getContext](contextId, attributes = null) { - 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); - } - return this[S$._getContext_2](contextId); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$._toDataUrl](...args) { - return this.toDataURL.apply(this, args); - } - [S$.$transferControlToOffscreen](...args) { - return this.transferControlToOffscreen.apply(this, args); - } - get [S$.$onWebGlContextLost]() { - return html$.CanvasElement.webGlContextLostEvent.forElement(this); - } - get [S$.$onWebGlContextRestored]() { - return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); - } - get [S$.$context2D]() { - return this.getContext("2d"); - } - [S$.$getContext3d](opts) { - let alpha = opts && 'alpha' in opts ? opts.alpha : true; - let depth = opts && 'depth' in opts ? opts.depth : true; - let stencil = opts && 'stencil' in opts ? opts.stencil : false; - let antialias = opts && 'antialias' in opts ? opts.antialias : true; - let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; - let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; - let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); - let context = this[S$.$getContext]("webgl", options); - if (context == null) { - context = this[S$.$getContext]("experimental-webgl", options); - } - return T$0.RenderingContextN().as(context); - } - [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); - return this[S$._toDataUrl](type, quality); - } - [S$._toBlob](...args) { - return this.toBlob.apply(this, args); - } - [S$.$toBlob](type = null, $arguments = null) { - let completer = T$0.CompleterOfBlob().new(); - this[S$._toBlob](dart.fn(value => { - completer.complete(value); - }, T$0.BlobNTovoid()), type, $arguments); - return completer.future; - } - }; - (html$.CanvasElement.created = function() { - html$.CanvasElement.__proto__.created.call(this); - ; - }).prototype = html$.CanvasElement.prototype; - dart.addTypeTests(html$.CanvasElement); - dart.addTypeCaches(html$.CanvasElement); - html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; - dart.setMethodSignature(html$.CanvasElement, () => ({ - __proto__: dart.getMethods(html$.CanvasElement.__proto__), - [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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(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), - [$width]: dart.nullable(core.int), - [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$context2D]: html$.CanvasRenderingContext2D - })); - dart.setSetterSignature(html$.CanvasElement, () => ({ - __proto__: dart.getSetters(html$.CanvasElement.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.CanvasElement, I[150]); - dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); - dart.defineLazy(html$.CanvasElement, { - /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[330] || CT.C330; - }, - /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[331] || CT.C331; - } - }, false); - dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); - html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasGradient.__(); - } - [S$.$addColorStop](...args) { - return this.addColorStop.apply(this, args); - } - }; - dart.addTypeTests(html$.CanvasGradient); - dart.addTypeCaches(html$.CanvasGradient); - dart.setMethodSignature(html$.CanvasGradient, () => ({ - __proto__: dart.getMethods(html$.CanvasGradient.__proto__), - [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) - })); - dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); - dart.setLibraryUri(html$.CanvasGradient, I[150]); - dart.registerExtension("CanvasGradient", html$.CanvasGradient); - html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasPattern.__(); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - }; - dart.addTypeTests(html$.CanvasPattern); - dart.addTypeCaches(html$.CanvasPattern); - dart.setMethodSignature(html$.CanvasPattern, () => ({ - __proto__: dart.getMethods(html$.CanvasPattern.__proto__), - [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) - })); - 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() { - ; - }).prototype = html$.CanvasRenderingContext.prototype; - dart.addTypeTests(html$.CanvasRenderingContext); - dart.addTypeCaches(html$.CanvasRenderingContext); - dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); - html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$addHitRegion](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$._addHitRegion_1](options_1); - return; - } - this[S$._addHitRegion_2](); - return; - } - [S$._addHitRegion_1](...args) { - return this.addHitRegion.apply(this, args); - } - [S$._addHitRegion_2](...args) { - return this.addHitRegion.apply(this, args); - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearHitRegions](...args) { - return this.clearHitRegions.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_5](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawFocusIfNeeded](...args) { - return this.drawFocusIfNeeded.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getContextAttributes]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); - } - [S$._getContextAttributes_1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$._getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$removeHitRegion](...args) { - return this.removeHitRegion.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$scrollPathIntoView](...args) { - return this.scrollPathIntoView.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$._arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - [S$.$createImageDataFromImageData](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[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[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[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[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[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[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[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]); - } else { - this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); - } - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaled](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaledFromSource](...args) { - return this.drawImage.apply(this, args); - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset || this.webkitLineDashOffset; - } - set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); - typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; - } - [S$.$getLineDash]() { - if (!!this.getLineDash) { - return this.getLineDash(); - } else if (!!this.webkitLineDash) { - return this.webkitLineDash; - } - return T$0.JSArrayOfnum().of([]); - } - [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); - if (!!this.setLineDash) { - this.setLineDash(dash); - } else if (!!this.webkitLineDash) { - this.webkitLineDash = dash; - } - } - [S$.$fillText](text, x, y, maxWidth = null) { - 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 { - this.fillText(text, x, y); - } - } - get [S$.$backingStorePixelRatio]() { - return 1.0; - } - }; - dart.addTypeTests(html$.CanvasRenderingContext2D); - dart.addTypeCaches(html$.CanvasRenderingContext2D); - html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; - dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), - [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), - [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), - [S$._addHitRegion_2]: dart.fnType(dart.void, []), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearHitRegions]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), - [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getContextAttributes]: dart.fnType(core.Map, []), - [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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]), - [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), - [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), - [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), - [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), - [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), - [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), - [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [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, - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num, - [S$.$backingStorePixelRatio]: core.double - })); - dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num - })); - dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); - dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); - html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ChildNode.__(); - } - }; - dart.addTypeTests(html$.ChildNode); - dart.addTypeCaches(html$.ChildNode); - 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; - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } - }; - dart.addTypeTests(html$.Client); - dart.addTypeCaches(html$.Client); - 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), - [S.$id]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.Client, I[150]); - dart.registerExtension("Client", html$.Client); - 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[149], 3066, 21, "id"); - return js_util.promiseToFuture(dart.dynamic, this.get(id)); - } - [S$.$matchAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } - }; - dart.addTypeTests(html$.Clients); - dart.addTypeCaches(html$.Clients); - dart.setMethodSignature(html$.Clients, () => ({ - __proto__: dart.getMethods(html$.Clients.__proto__), - [S$.$claim]: dart.fnType(async.Future, []), - [S.$get]: dart.fnType(async.Future, [core.String]), - [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) - })); - 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[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); - } - static _create_2(type) { - return new ClipboardEvent(type); - } - get [S$.$clipboardData]() { - return this.clipboardData; - } - }; - 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[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[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); - } - static _create_2(type) { - return new CloseEvent(type); - } - get [S$.$code]() { - return this.code; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$wasClean]() { - return this.wasClean; - } - }; - 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[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.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[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"); - if (view == null) { - view = html$.window; - } - let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); - 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[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); - } - static _create_2(type) { - return new UIEvent(type); - } - get [S$.$detail]() { - return this.detail; - } - get [S$.$sourceCapabilities]() { - return this.sourceCapabilities; - } - get [S$.$view]() { - return html$._convertNativeToDart_Window(this[S$._get_view]); - } - get [S$._get_view]() { - return this.view; - } - get [S$._which]() { - return this.which; - } - [S$._initUIEvent](...args) { - return this.initUIEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.UIEvent); - dart.addTypeCaches(html$.UIEvent); - 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), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$._get_view]: dart.dynamic, - [S$._which]: dart.nullable(core.int) - })); - 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[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; - if (view == null) { - view = html$.window; - } - let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); - if (dart.test(html_common.Device.isFirefox)) { - e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); - } else { - e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); - } - 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[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); - } - static _create_2(type) { - return new CompositionEvent(type); - } - get [S$.$data]() { - return this.data; - } - [S$._initCompositionEvent](...args) { - return this.initCompositionEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.CompositionEvent); - dart.addTypeCaches(html$.CompositionEvent); - 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[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"); - } - get [S$.$select]() { - return this.select; - } - set [S$.$select](value) { - this.select = value; - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } - }; - (html$.ContentElement.created = function() { - html$.ContentElement.__proto__.created.call(this); - ; - }).prototype = html$.ContentElement.prototype; - dart.addTypeTests(html$.ContentElement); - dart.addTypeCaches(html$.ContentElement); - 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) - })); - dart.setSetterSignature(html$.ContentElement, () => ({ - __proto__: dart.getSetters(html$.ContentElement.__proto__), - [S$.$select]: dart.nullable(core.String) - })); - dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); - dart.setLibraryUri(html$.ContentElement, I[150]); - dart.registerExtension("HTMLContentElement", html$.ContentElement); - html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CookieStore.__(); - } - [S.$getAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); - } - [S$.$set](name, value, options = null) { - 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); - } - return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); - } - }; - dart.addTypeTests(html$.CookieStore); - dart.addTypeCaches(html$.CookieStore); - dart.setMethodSignature(html$.CookieStore, () => ({ - __proto__: dart.getMethods(html$.CookieStore.__proto__), - [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.setStaticMethodSignature(html$.CookieStore, () => ['__']); - dart.setLibraryUri(html$.CookieStore, I[150]); - dart.registerExtension("CookieStore", html$.CookieStore); - html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Coordinates.__(); - } - get [S$.$accuracy]() { - return this.accuracy; - } - get [S$.$altitude]() { - return this.altitude; - } - get [S$.$altitudeAccuracy]() { - return this.altitudeAccuracy; - } - get [S$.$heading]() { - return this.heading; - } - get [S$.$latitude]() { - return this.latitude; - } - get [S$.$longitude]() { - return this.longitude; - } - get [S$.$speed]() { - return this.speed; - } - }; - 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), - [S$.$altitude]: dart.nullable(core.num), - [S$.$altitudeAccuracy]: dart.nullable(core.num), - [S$.$heading]: dart.nullable(core.num), - [S$.$latitude]: dart.nullable(core.num), - [S$.$longitude]: dart.nullable(core.num), - [S$.$speed]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.Coordinates, I[150]); - dart.registerExtension("Coordinates", html$.Coordinates); - html$.Credential = class Credential extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Credential.__(); - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } - }; - 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[150]); - dart.registerExtension("Credential", html$.Credential); - html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialUserData.__(); - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } - }; - 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[150]); - dart.registerExtension("CredentialUserData", html$.CredentialUserData); - html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialsContainer.__(); - } - [S$.$create](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); - } - [S.$get](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); - } - [S$.$preventSilentAccess]() { - return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); - } - [S$.$requireUserMediation]() { - return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); - } - [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); - return js_util.promiseToFuture(dart.dynamic, this.store(credential)); - } - }; - dart.addTypeTests(html$.CredentialsContainer); - dart.addTypeCaches(html$.CredentialsContainer); - dart.setMethodSignature(html$.CredentialsContainer, () => ({ - __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), - [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$preventSilentAccess]: dart.fnType(async.Future, []), - [S$.$requireUserMediation]: dart.fnType(async.Future, []), - [S$.$store]: dart.fnType(async.Future, [html$.Credential]) - })); - dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); - dart.setLibraryUri(html$.CredentialsContainer, I[150]); - dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); - html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { - [S$.$getRandomValues](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); - } - get [S$.$subtle]() { - return this.subtle; - } - [S$._getRandomValues](...args) { - return this.getRandomValues.apply(this, args); - } - }; - dart.addTypeTests(html$.Crypto); - dart.addTypeCaches(html$.Crypto); - dart.setMethodSignature(html$.Crypto, () => ({ - __proto__: dart.getMethods(html$.Crypto.__proto__), - [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.setStaticGetterSignature(html$.Crypto, () => ['supported']); - dart.setLibraryUri(html$.Crypto, I[150]); - dart.registerExtension("Crypto", html$.Crypto); - html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CryptoKey.__(); - } - get [S$.$algorithm]() { - return this.algorithm; - } - get [S$.$extractable]() { - return this.extractable; - } - get [S.$type]() { - return this.type; - } - get [S$.$usages]() { - return this.usages; - } - }; - 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), - [S$.$extractable]: dart.nullable(core.bool), - [S.$type]: dart.nullable(core.String), - [S$.$usages]: dart.nullable(core.Object) - })); - dart.setLibraryUri(html$.CryptoKey, I[150]); - dart.registerExtension("CryptoKey", html$.CryptoKey); - html$.Css = class Css extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Css.__(); - } - static registerProperty(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; - } - }; - dart.addTypeTests(html$.Css); - dart.addTypeCaches(html$.Css); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssRule.__(); - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [S$.$parentRule]() { - return this.parentRule; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$type]() { - return this.type; - } - }; - 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), - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), - [S.$type]: dart.nullable(core.int) - })); - dart.setSetterSignature(html$.CssRule, () => ({ - __proto__: dart.getSetters(html$.CssRule.__proto__), - [S$.$cssText]: dart.nullable(core.String) - })); - 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; - }, - /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { - return 5; - }, - /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { - return 3; - }, - /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { - return 7; - }, - /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { - return 8; - }, - /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { - return 4; - }, - /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { - return 10; - }, - /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { - return 6; - }, - /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { - return 1; - }, - /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { - return 12; - }, - /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { - return 15; - } - }, false); - dart.registerExtension("CSSRule", html$.CssRule); - html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssCharsetRule.__(); - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.CssCharsetRule, () => ({ - __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), - [S$.$encoding]: dart.nullable(core.String) - })); - 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; - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } - }; - dart.addTypeTests(html$.CssGroupingRule); - dart.addTypeCaches(html$.CssGroupingRule); - dart.setMethodSignature(html$.CssGroupingRule, () => ({ - __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), - [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[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[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[150]); - dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); - html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssStyleValue.__(); - } - }; - dart.addTypeTests(html$.CssStyleValue); - dart.addTypeCaches(html$.CssStyleValue); - 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[150]); - dart.registerExtension("CSSResourceValue", html$.CssResourceValue); - html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { - static ['_#_#tearOff']() { - return html$.CssImageValue.__(); - } - get [S$.$intrinsicHeight]() { - return this.intrinsicHeight; - } - get [S$.$intrinsicRatio]() { - return this.intrinsicRatio; - } - get [S$.$intrinsicWidth]() { - return this.intrinsicWidth; - } - }; - 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[150]); - dart.registerExtension("CSSImageValue", html$.CssImageValue); - html$.CssImportRule = class CssImportRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssImportRule.__(); - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$.$styleSheet]() { - return this.styleSheet; - } - }; - 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[150]); - dart.registerExtension("CSSImportRule", html$.CssImportRule); - html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssKeyframeRule.__(); - } - get [S$.$keyText]() { - return this.keyText; - } - set [S$.$keyText](value) { - this.keyText = value; - } - get [S.$style]() { - return this.style; - } - }; - 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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) - })); - dart.setSetterSignature(html$.CssKeyframeRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), - [S$.$keyText]: dart.nullable(core.String) - })); - 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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$appendRule](...args) { - return this.appendRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$findRule](...args) { - return this.findRule.apply(this, args); - } - }; - dart.addTypeTests(html$.CssKeyframesRule); - dart.addTypeCaches(html$.CssKeyframesRule); - dart.setMethodSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), - [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), - [S$.$appendRule]: dart.fnType(dart.void, [core.String]), - [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)), - [$name]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), - [$name]: dart.nullable(core.String) - })); - 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[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); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.CssKeywordValue, () => ({ - __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), - [S.$value]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.CssKeywordValue, I[150]); - dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); - html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssTransformComponent.__(); - } - get [S$.$is2D]() { - return this.is2D; - } - set [S$.$is2D](value) { - this.is2D = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.CssTransformComponent, () => ({ - __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), - [S$.$is2D]: dart.nullable(core.bool) - })); - 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[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); - } - static _create_2(matrix) { - return new CSSMatrixComponent(matrix); - } - get [S$.$matrix]() { - return this.matrix; - } - set [S$.$matrix](value) { - this.matrix = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.CssMatrixComponent, () => ({ - __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), - [S$.$matrix]: dart.nullable(html$.DomMatrix) - })); - 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[150]); - dart.registerExtension("CSSMediaRule", html$.CssMediaRule); - html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssNamespaceRule.__(); - } - get [S.$namespaceUri]() { - return this.namespaceURI; - } - get [S$.$prefix]() { - return this.prefix; - } - }; - 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[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); - } - [S$.$div](...args) { - return this.div.apply(this, args); - } - [S$.$mul](...args) { - return this.mul.apply(this, args); - } - [S$.$sub](...args) { - return this.sub.apply(this, args); - } - [S$.$to](...args) { - return this.to.apply(this, args); - } - }; - dart.addTypeTests(html$.CssNumericValue); - dart.addTypeCaches(html$.CssNumericValue); - dart.setMethodSignature(html$.CssNumericValue, () => ({ - __proto__: dart.getMethods(html$.CssNumericValue.__proto__), - [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) - })); - 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; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } - }; - 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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) - })); - dart.setSetterSignature(html$.CssPageRule, () => ({ - __proto__: dart.getSetters(html$.CssPageRule.__proto__), - [S$.$selectorText]: dart.nullable(core.String) - })); - 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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.CssPerspective, () => ({ - __proto__: dart.getSetters(html$.CssPerspective.__proto__), - [$length]: dart.nullable(html$.CssNumericValue) - })); - 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[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); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - }; - 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), - [S$.$y]: dart.nullable(html$.CssNumericValue) - })); - dart.setSetterSignature(html$.CssPositionValue, () => ({ - __proto__: dart.getSetters(html$.CssPositionValue.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue) - })); - 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); - } - if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { - return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); - } - 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); - } - static _create_2(angleValue_OR_x, y, z, angle) { - return new CSSRotation(angleValue_OR_x, y, z, angle); - } - get [S$.$angle]() { - return this.angle; - } - set [S$.$angle](value) { - this.angle = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - }; - 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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.CssRotation, () => ({ - __proto__: dart.getSetters(html$.CssRotation.__proto__), - [S$.$angle]: dart.nullable(html$.CssNumericValue), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - 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[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); - } - if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { - return html$.CssScale._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSScale(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - }; - 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), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.CssScale, () => ({ - __proto__: dart.getSetters(html$.CssScale.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - 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[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); - } - get [S$.$ax]() { - return this.ax; - } - set [S$.$ax](value) { - this.ax = value; - } - get [S$.$ay]() { - return this.ay; - } - set [S$.$ay](value) { - this.ay = value; - } - }; - 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), - [S$.$ay]: dart.nullable(html$.CssNumericValue) - })); - dart.setSetterSignature(html$.CssSkew, () => ({ - __proto__: dart.getSetters(html$.CssSkew.__proto__), - [S$.$ax]: dart.nullable(html$.CssNumericValue), - [S$.$ay]: dart.nullable(html$.CssNumericValue) - })); - 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[149], 8689, 19, "value"); - this[S$.$setProperty]("zoom", value, ""); - } - }; - (html$.CssStyleDeclarationBase.new = function() { - ; - }).prototype = html$.CssStyleDeclarationBase.prototype; - dart.addTypeTests(html$.CssStyleDeclarationBase); - dart.addTypeCaches(html$.CssStyleDeclarationBase); - dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String - })); - dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String - })); - dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); - dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ - 'alignContent', - 'alignItems', - 'alignSelf', - 'animation', - 'animationDelay', - 'animationDirection', - 'animationDuration', - 'animationFillMode', - 'animationIterationCount', - 'animationName', - 'animationPlayState', - 'animationTimingFunction', - 'appRegion', - 'appearance', - 'aspectRatio', - 'backfaceVisibility', - 'background', - 'backgroundAttachment', - 'backgroundBlendMode', - 'backgroundClip', - 'backgroundColor', - 'backgroundComposite', - 'backgroundImage', - 'backgroundOrigin', - 'backgroundPosition', - 'backgroundPositionX', - 'backgroundPositionY', - 'backgroundRepeat', - 'backgroundRepeatX', - 'backgroundRepeatY', - 'backgroundSize', - 'border', - 'borderAfter', - 'borderAfterColor', - 'borderAfterStyle', - 'borderAfterWidth', - 'borderBefore', - 'borderBeforeColor', - 'borderBeforeStyle', - 'borderBeforeWidth', - 'borderBottom', - 'borderBottomColor', - 'borderBottomLeftRadius', - 'borderBottomRightRadius', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderEnd', - 'borderEndColor', - 'borderEndStyle', - 'borderEndWidth', - 'borderFit', - 'borderHorizontalSpacing', - 'borderImage', - 'borderImageOutset', - 'borderImageRepeat', - 'borderImageSlice', - 'borderImageSource', - 'borderImageWidth', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRadius', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStart', - 'borderStartColor', - 'borderStartStyle', - 'borderStartWidth', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopLeftRadius', - 'borderTopRightRadius', - 'borderTopStyle', - 'borderTopWidth', - 'borderVerticalSpacing', - 'borderWidth', - 'bottom', - 'boxAlign', - 'boxDecorationBreak', - 'boxDirection', - 'boxFlex', - 'boxFlexGroup', - 'boxLines', - 'boxOrdinalGroup', - 'boxOrient', - 'boxPack', - 'boxReflect', - 'boxShadow', - 'boxSizing', - 'captionSide', - 'clear', - 'clip', - 'clipPath', - 'color', - 'columnBreakAfter', - 'columnBreakBefore', - 'columnBreakInside', - 'columnCount', - 'columnFill', - 'columnGap', - 'columnRule', - 'columnRuleColor', - 'columnRuleStyle', - 'columnRuleWidth', - 'columnSpan', - 'columnWidth', - 'columns', - 'content', - 'counterIncrement', - 'counterReset', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'filter', - 'flex', - 'flexBasis', - 'flexDirection', - 'flexFlow', - 'flexGrow', - 'flexShrink', - 'flexWrap', - 'float', - 'font', - 'fontFamily', - 'fontFeatureSettings', - 'fontKerning', - 'fontSize', - 'fontSizeDelta', - 'fontSmoothing', - 'fontStretch', - 'fontStyle', - 'fontVariant', - 'fontVariantLigatures', - 'fontWeight', - 'gap', - 'grid', - 'gridArea', - 'gridAutoColumns', - 'gridAutoFlow', - 'gridAutoRows', - 'gridColumn', - 'gridColumnEnd', - 'gridColumnStart', - 'gridRow', - 'gridRowEnd', - 'gridRowStart', - 'gridTemplate', - 'gridTemplateAreas', - 'gridTemplateColumns', - 'gridTemplateRows', - 'height', - 'highlight', - 'hyphenateCharacter', - 'imageRendering', - 'isolation', - 'justifyContent', - 'justifySelf', - 'left', - 'letterSpacing', - 'lineBoxContain', - 'lineBreak', - 'lineClamp', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'locale', - 'logicalHeight', - 'logicalWidth', - 'margin', - 'marginAfter', - 'marginAfterCollapse', - 'marginBefore', - 'marginBeforeCollapse', - 'marginBottom', - 'marginBottomCollapse', - 'marginCollapse', - 'marginEnd', - 'marginLeft', - 'marginRight', - 'marginStart', - 'marginTop', - 'marginTopCollapse', - 'mask', - 'maskBoxImage', - 'maskBoxImageOutset', - 'maskBoxImageRepeat', - 'maskBoxImageSlice', - 'maskBoxImageSource', - 'maskBoxImageWidth', - 'maskClip', - 'maskComposite', - 'maskImage', - 'maskOrigin', - 'maskPosition', - 'maskPositionX', - 'maskPositionY', - 'maskRepeat', - 'maskRepeatX', - 'maskRepeatY', - 'maskSize', - 'maskSourceType', - 'maxHeight', - 'maxLogicalHeight', - 'maxLogicalWidth', - 'maxWidth', - 'maxZoom', - 'minHeight', - 'minLogicalHeight', - 'minLogicalWidth', - 'minWidth', - 'minZoom', - 'mixBlendMode', - 'objectFit', - 'objectPosition', - 'opacity', - 'order', - 'orientation', - 'orphans', - 'outline', - 'outlineColor', - 'outlineOffset', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'overflowWrap', - 'overflowX', - 'overflowY', - 'padding', - 'paddingAfter', - 'paddingBefore', - 'paddingBottom', - 'paddingEnd', - 'paddingLeft', - 'paddingRight', - 'paddingStart', - 'paddingTop', - 'page', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'perspective', - 'perspectiveOrigin', - 'perspectiveOriginX', - 'perspectiveOriginY', - 'pointerEvents', - 'position', - 'printColorAdjust', - 'quotes', - 'resize', - 'right', - 'rowGap', - 'rtlOrdering', - 'rubyPosition', - 'scrollBehavior', - 'shapeImageThreshold', - 'shapeMargin', - 'shapeOutside', - 'size', - 'speak', - 'src', - 'tabSize', - 'tableLayout', - 'tapHighlightColor', - 'textAlign', - 'textAlignLast', - 'textCombine', - 'textDecoration', - 'textDecorationColor', - 'textDecorationLine', - 'textDecorationStyle', - 'textDecorationsInEffect', - 'textEmphasis', - 'textEmphasisColor', - 'textEmphasisPosition', - 'textEmphasisStyle', - 'textFillColor', - 'textIndent', - 'textJustify', - 'textLineThroughColor', - 'textLineThroughMode', - 'textLineThroughStyle', - 'textLineThroughWidth', - 'textOrientation', - 'textOverflow', - 'textOverlineColor', - 'textOverlineMode', - 'textOverlineStyle', - 'textOverlineWidth', - 'textRendering', - 'textSecurity', - 'textShadow', - 'textStroke', - 'textStrokeColor', - 'textStrokeWidth', - 'textTransform', - 'textUnderlineColor', - 'textUnderlineMode', - 'textUnderlinePosition', - 'textUnderlineStyle', - 'textUnderlineWidth', - 'top', - 'touchAction', - 'touchActionDelay', - 'transform', - 'transformOrigin', - 'transformOriginX', - 'transformOriginY', - 'transformOriginZ', - 'transformStyle', - 'transition', - 'transitionDelay', - 'transitionDuration', - 'transitionProperty', - 'transitionTimingFunction', - 'unicodeBidi', - 'unicodeRange', - 'userDrag', - 'userModify', - 'userSelect', - 'userZoom', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'widows', - 'width', - 'willChange', - 'wordBreak', - 'wordSpacing', - 'wordWrap', - 'wrapFlow', - 'wrapThrough', - 'writingMode', - 'zIndex', - 'zoom' - ]); - 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[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[149], 3978, 34, "propertyName"); - return this[S$._getPropertyValueHelper](propertyName); - } - [S$._getPropertyValueHelper](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[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[149], 3999, 33, "propertyName"); - return propertyName in this; - } - [S$.$setProperty](propertyName, value, priority = null) { - 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[149], 4008, 38, "propertyName"); - let name = html$.CssStyleDeclaration._readCache(propertyName); - if (typeof name == 'string') return name; - name = this[S$._supportedBrowserPropertyName](propertyName); - html$.CssStyleDeclaration._writeCache(propertyName, name); - return name; - } - [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); - if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { - return propertyName; - } - let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); - if (dart.test(this[S$._supportsProperty](prefixed))) { - return prefixed; - } - return propertyName; - } - static _readCache(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[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[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[149], 4044, 34, "propertyName"); - if (value == null) value = ""; - if (priority == null) priority = ""; - this.setProperty(propertyName, value, priority); - } - static get supportsTransitions() { - return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); - } - static ['_#_#tearOff']() { - return html$.CssStyleDeclaration.__(); - } - get [S$.$cssFloat]() { - return this.cssFloat; - } - set [S$.$cssFloat](value) { - this.cssFloat = value; - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [$length]() { - return this.length; - } - get [S$.$parentRule]() { - return this.parentRule; - } - [S$.$getPropertyPriority](...args) { - return this.getPropertyPriority.apply(this, args); - } - [S$._getPropertyValue](...args) { - return this.getPropertyValue.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$removeProperty](...args) { - return this.removeProperty.apply(this, args); - } - get [S$.$background]() { - return this[S$._background]; - } - set [S$.$background](value) { - this[S$._background] = value == null ? "" : value; - } - get [S$._background]() { - return this.background; - } - set [S$._background](value) { - this.background = value; - } - get [S$.$backgroundAttachment]() { - return this[S$._backgroundAttachment]; - } - set [S$.$backgroundAttachment](value) { - this[S$._backgroundAttachment] = value == null ? "" : value; - } - get [S$._backgroundAttachment]() { - return this.backgroundAttachment; - } - set [S$._backgroundAttachment](value) { - this.backgroundAttachment = value; - } - get [S$.$backgroundColor]() { - return this[S$._backgroundColor]; - } - set [S$.$backgroundColor](value) { - this[S$._backgroundColor] = value == null ? "" : value; - } - get [S$._backgroundColor]() { - return this.backgroundColor; - } - set [S$._backgroundColor](value) { - this.backgroundColor = value; - } - get [S$.$backgroundImage]() { - return this[S$._backgroundImage]; - } - set [S$.$backgroundImage](value) { - this[S$._backgroundImage] = value == null ? "" : value; - } - get [S$._backgroundImage]() { - return this.backgroundImage; - } - set [S$._backgroundImage](value) { - this.backgroundImage = value; - } - get [S$.$backgroundPosition]() { - return this[S$._backgroundPosition]; - } - set [S$.$backgroundPosition](value) { - this[S$._backgroundPosition] = value == null ? "" : value; - } - get [S$._backgroundPosition]() { - return this.backgroundPosition; - } - set [S$._backgroundPosition](value) { - this.backgroundPosition = value; - } - get [S$.$backgroundRepeat]() { - return this[S$._backgroundRepeat]; - } - set [S$.$backgroundRepeat](value) { - this[S$._backgroundRepeat] = value == null ? "" : value; - } - get [S$._backgroundRepeat]() { - return this.backgroundRepeat; - } - set [S$._backgroundRepeat](value) { - this.backgroundRepeat = value; - } - get [S$.$border]() { - return this[S$._border]; - } - set [S$.$border](value) { - this[S$._border] = value == null ? "" : value; - } - get [S$._border]() { - return this.border; - } - set [S$._border](value) { - this.border = value; - } - get [S$.$borderBottom]() { - return this[S$._borderBottom]; - } - set [S$.$borderBottom](value) { - this[S$._borderBottom] = value == null ? "" : value; - } - get [S$._borderBottom]() { - return this.borderBottom; - } - set [S$._borderBottom](value) { - this.borderBottom = value; - } - get [S$.$borderBottomColor]() { - return this[S$._borderBottomColor]; - } - set [S$.$borderBottomColor](value) { - this[S$._borderBottomColor] = value == null ? "" : value; - } - get [S$._borderBottomColor]() { - return this.borderBottomColor; - } - set [S$._borderBottomColor](value) { - this.borderBottomColor = value; - } - get [S$0.$borderBottomStyle]() { - return this[S$._borderBottomStyle]; - } - set [S$0.$borderBottomStyle](value) { - this[S$._borderBottomStyle] = value == null ? "" : value; - } - get [S$._borderBottomStyle]() { - return this.borderBottomStyle; - } - set [S$._borderBottomStyle](value) { - this.borderBottomStyle = value; - } - get [S$0.$borderBottomWidth]() { - return this[S$0._borderBottomWidth]; - } - set [S$0.$borderBottomWidth](value) { - this[S$0._borderBottomWidth] = value == null ? "" : value; - } - get [S$0._borderBottomWidth]() { - return this.borderBottomWidth; - } - set [S$0._borderBottomWidth](value) { - this.borderBottomWidth = value; - } - get [S$0.$borderCollapse]() { - return this[S$0._borderCollapse]; - } - set [S$0.$borderCollapse](value) { - this[S$0._borderCollapse] = value == null ? "" : value; - } - get [S$0._borderCollapse]() { - return this.borderCollapse; - } - set [S$0._borderCollapse](value) { - this.borderCollapse = value; - } - get [S$0.$borderColor]() { - return this[S$0._borderColor]; - } - set [S$0.$borderColor](value) { - this[S$0._borderColor] = value == null ? "" : value; - } - get [S$0._borderColor]() { - return this.borderColor; - } - set [S$0._borderColor](value) { - this.borderColor = value; - } - get [S$0.$borderLeft]() { - return this[S$0._borderLeft]; - } - set [S$0.$borderLeft](value) { - this[S$0._borderLeft] = value == null ? "" : value; - } - get [S$0._borderLeft]() { - return this.borderLeft; - } - set [S$0._borderLeft](value) { - this.borderLeft = value; - } - get [S$0.$borderLeftColor]() { - return this[S$0._borderLeftColor]; - } - set [S$0.$borderLeftColor](value) { - this[S$0._borderLeftColor] = value == null ? "" : value; - } - get [S$0._borderLeftColor]() { - return this.borderLeftColor; - } - set [S$0._borderLeftColor](value) { - this.borderLeftColor = value; - } - get [S$0.$borderLeftStyle]() { - return this[S$0._borderLeftStyle]; - } - set [S$0.$borderLeftStyle](value) { - this[S$0._borderLeftStyle] = value == null ? "" : value; - } - get [S$0._borderLeftStyle]() { - return this.borderLeftStyle; - } - set [S$0._borderLeftStyle](value) { - this.borderLeftStyle = value; - } - get [S$0.$borderLeftWidth]() { - return this[S$0._borderLeftWidth]; - } - set [S$0.$borderLeftWidth](value) { - this[S$0._borderLeftWidth] = value == null ? "" : value; - } - get [S$0._borderLeftWidth]() { - return this.borderLeftWidth; - } - set [S$0._borderLeftWidth](value) { - this.borderLeftWidth = value; - } - get [S$0.$borderRight]() { - return this[S$0._borderRight]; - } - set [S$0.$borderRight](value) { - this[S$0._borderRight] = value == null ? "" : value; - } - get [S$0._borderRight]() { - return this.borderRight; - } - set [S$0._borderRight](value) { - this.borderRight = value; - } - get [S$0.$borderRightColor]() { - return this[S$0._borderRightColor]; - } - set [S$0.$borderRightColor](value) { - this[S$0._borderRightColor] = value == null ? "" : value; - } - get [S$0._borderRightColor]() { - return this.borderRightColor; - } - set [S$0._borderRightColor](value) { - this.borderRightColor = value; - } - get [S$0.$borderRightStyle]() { - return this[S$0._borderRightStyle]; - } - set [S$0.$borderRightStyle](value) { - this[S$0._borderRightStyle] = value == null ? "" : value; - } - get [S$0._borderRightStyle]() { - return this.borderRightStyle; - } - set [S$0._borderRightStyle](value) { - this.borderRightStyle = value; - } - get [S$0.$borderRightWidth]() { - return this[S$0._borderRightWidth]; - } - set [S$0.$borderRightWidth](value) { - this[S$0._borderRightWidth] = value == null ? "" : value; - } - get [S$0._borderRightWidth]() { - return this.borderRightWidth; - } - set [S$0._borderRightWidth](value) { - this.borderRightWidth = value; - } - get [S$0.$borderSpacing]() { - return this[S$0._borderSpacing]; - } - set [S$0.$borderSpacing](value) { - this[S$0._borderSpacing] = value == null ? "" : value; - } - get [S$0._borderSpacing]() { - return this.borderSpacing; - } - set [S$0._borderSpacing](value) { - this.borderSpacing = value; - } - get [S$0.$borderStyle]() { - return this[S$0._borderStyle]; - } - set [S$0.$borderStyle](value) { - this[S$0._borderStyle] = value == null ? "" : value; - } - get [S$0._borderStyle]() { - return this.borderStyle; - } - set [S$0._borderStyle](value) { - this.borderStyle = value; - } - get [S$0.$borderTop]() { - return this[S$0._borderTop]; - } - set [S$0.$borderTop](value) { - this[S$0._borderTop] = value == null ? "" : value; - } - get [S$0._borderTop]() { - return this.borderTop; - } - set [S$0._borderTop](value) { - this.borderTop = value; - } - get [S$0.$borderTopColor]() { - return this[S$0._borderTopColor]; - } - set [S$0.$borderTopColor](value) { - this[S$0._borderTopColor] = value == null ? "" : value; - } - get [S$0._borderTopColor]() { - return this.borderTopColor; - } - set [S$0._borderTopColor](value) { - this.borderTopColor = value; - } - get [S$0.$borderTopStyle]() { - return this[S$0._borderTopStyle]; - } - set [S$0.$borderTopStyle](value) { - this[S$0._borderTopStyle] = value == null ? "" : value; - } - get [S$0._borderTopStyle]() { - return this.borderTopStyle; - } - set [S$0._borderTopStyle](value) { - this.borderTopStyle = value; - } - get [S$0.$borderTopWidth]() { - return this[S$0._borderTopWidth]; - } - set [S$0.$borderTopWidth](value) { - this[S$0._borderTopWidth] = value == null ? "" : value; - } - get [S$0._borderTopWidth]() { - return this.borderTopWidth; - } - set [S$0._borderTopWidth](value) { - this.borderTopWidth = value; - } - get [S$0.$borderWidth]() { - return this[S$0._borderWidth]; - } - set [S$0.$borderWidth](value) { - this[S$0._borderWidth] = value == null ? "" : value; - } - get [S$0._borderWidth]() { - return this.borderWidth; - } - set [S$0._borderWidth](value) { - this.borderWidth = value; - } - get [$bottom]() { - return this[S$0._bottom]; - } - set [$bottom](value) { - this[S$0._bottom] = value == null ? "" : value; - } - get [S$0._bottom]() { - return this.bottom; - } - set [S$0._bottom](value) { - this.bottom = value; - } - get [S$0.$captionSide]() { - return this[S$0._captionSide]; - } - set [S$0.$captionSide](value) { - this[S$0._captionSide] = value == null ? "" : value; - } - get [S$0._captionSide]() { - return this.captionSide; - } - set [S$0._captionSide](value) { - this.captionSide = value; - } - get [$clear]() { - return this[S$0._clear$3]; - } - set [$clear](value) { - this[S$0._clear$3] = value == null ? "" : value; - } - get [S$0._clear$3]() { - return this.clear; - } - set [S$0._clear$3](value) { - this.clear = value; - } - get [S$.$clip]() { - return this[S$0._clip]; - } - set [S$.$clip](value) { - this[S$0._clip] = value == null ? "" : value; - } - get [S$0._clip]() { - return this.clip; - } - set [S$0._clip](value) { - this.clip = value; - } - get [S$0.$color]() { - return this[S$0._color]; - } - set [S$0.$color](value) { - this[S$0._color] = value == null ? "" : value; - } - get [S$0._color]() { - return this.color; - } - set [S$0._color](value) { - this.color = value; - } - get [S$0.$content]() { - return this[S$0._content]; - } - set [S$0.$content](value) { - this[S$0._content] = value == null ? "" : value; - } - get [S$0._content]() { - return this.content; - } - set [S$0._content](value) { - this.content = value; - } - get [S$0.$cursor]() { - return this[S$0._cursor]; - } - set [S$0.$cursor](value) { - this[S$0._cursor] = value == null ? "" : value; - } - get [S$0._cursor]() { - return this.cursor; - } - set [S$0._cursor](value) { - this.cursor = value; - } - get [S.$direction]() { - return this[S$0._direction]; - } - set [S.$direction](value) { - this[S$0._direction] = value == null ? "" : value; - } - get [S$0._direction]() { - return this.direction; - } - set [S$0._direction](value) { - this.direction = value; - } - get [S$0.$display]() { - return this[S$0._display]; - } - set [S$0.$display](value) { - this[S$0._display] = value == null ? "" : value; - } - get [S$0._display]() { - return this.display; - } - set [S$0._display](value) { - this.display = value; - } - get [S$0.$emptyCells]() { - return this[S$0._emptyCells]; - } - set [S$0.$emptyCells](value) { - this[S$0._emptyCells] = value == null ? "" : value; - } - get [S$0._emptyCells]() { - return this.emptyCells; - } - set [S$0._emptyCells](value) { - this.emptyCells = value; - } - get [S$.$font]() { - return this[S$0._font]; - } - set [S$.$font](value) { - this[S$0._font] = value == null ? "" : value; - } - get [S$0._font]() { - return this.font; - } - set [S$0._font](value) { - this.font = value; - } - get [S$0.$fontFamily]() { - return this[S$0._fontFamily]; - } - set [S$0.$fontFamily](value) { - this[S$0._fontFamily] = value == null ? "" : value; - } - get [S$0._fontFamily]() { - return this.fontFamily; - } - set [S$0._fontFamily](value) { - this.fontFamily = value; - } - get [S$0.$fontSize]() { - return this[S$0._fontSize]; - } - set [S$0.$fontSize](value) { - this[S$0._fontSize] = value == null ? "" : value; - } - get [S$0._fontSize]() { - return this.fontSize; - } - set [S$0._fontSize](value) { - this.fontSize = value; - } - get [S$0.$fontStyle]() { - return this[S$0._fontStyle]; - } - set [S$0.$fontStyle](value) { - this[S$0._fontStyle] = value == null ? "" : value; - } - get [S$0._fontStyle]() { - return this.fontStyle; - } - set [S$0._fontStyle](value) { - this.fontStyle = value; - } - get [S$0.$fontVariant]() { - return this[S$0._fontVariant]; - } - set [S$0.$fontVariant](value) { - this[S$0._fontVariant] = value == null ? "" : value; - } - get [S$0._fontVariant]() { - return this.fontVariant; - } - set [S$0._fontVariant](value) { - this.fontVariant = value; - } - get [S$0.$fontWeight]() { - return this[S$0._fontWeight]; - } - set [S$0.$fontWeight](value) { - this[S$0._fontWeight] = value == null ? "" : value; - } - get [S$0._fontWeight]() { - return this.fontWeight; - } - set [S$0._fontWeight](value) { - this.fontWeight = value; - } - get [$height]() { - return this[S$0._height$1]; - } - set [$height](value) { - this[S$0._height$1] = value == null ? "" : value; - } - get [S$0._height$1]() { - return this.height; - } - set [S$0._height$1](value) { - this.height = value; - } - get [$left]() { - return this[S$0._left$2]; - } - set [$left](value) { - this[S$0._left$2] = value == null ? "" : value; - } - get [S$0._left$2]() { - return this.left; - } - set [S$0._left$2](value) { - this.left = value; - } - get [S$0.$letterSpacing]() { - return this[S$0._letterSpacing]; - } - set [S$0.$letterSpacing](value) { - this[S$0._letterSpacing] = value == null ? "" : value; - } - get [S$0._letterSpacing]() { - return this.letterSpacing; - } - set [S$0._letterSpacing](value) { - this.letterSpacing = value; - } - get [S$0.$lineHeight]() { - return this[S$0._lineHeight]; - } - set [S$0.$lineHeight](value) { - this[S$0._lineHeight] = value == null ? "" : value; - } - get [S$0._lineHeight]() { - return this.lineHeight; - } - set [S$0._lineHeight](value) { - this.lineHeight = value; - } - get [S$0.$listStyle]() { - return this[S$0._listStyle]; - } - set [S$0.$listStyle](value) { - this[S$0._listStyle] = value == null ? "" : value; - } - get [S$0._listStyle]() { - return this.listStyle; - } - set [S$0._listStyle](value) { - this.listStyle = value; - } - get [S$0.$listStyleImage]() { - return this[S$0._listStyleImage]; - } - set [S$0.$listStyleImage](value) { - this[S$0._listStyleImage] = value == null ? "" : value; - } - get [S$0._listStyleImage]() { - return this.listStyleImage; - } - set [S$0._listStyleImage](value) { - this.listStyleImage = value; - } - get [S$0.$listStylePosition]() { - return this[S$0._listStylePosition]; - } - set [S$0.$listStylePosition](value) { - this[S$0._listStylePosition] = value == null ? "" : value; - } - get [S$0._listStylePosition]() { - return this.listStylePosition; - } - set [S$0._listStylePosition](value) { - this.listStylePosition = value; - } - get [S$0.$listStyleType]() { - return this[S$0._listStyleType]; - } - set [S$0.$listStyleType](value) { - this[S$0._listStyleType] = value == null ? "" : value; - } - get [S$0._listStyleType]() { - return this.listStyleType; - } - set [S$0._listStyleType](value) { - this.listStyleType = value; - } - get [S$0.$margin]() { - return this[S$0._margin]; - } - set [S$0.$margin](value) { - this[S$0._margin] = value == null ? "" : value; - } - get [S$0._margin]() { - return this.margin; - } - set [S$0._margin](value) { - this.margin = value; - } - get [S$0.$marginBottom]() { - return this[S$0._marginBottom]; - } - set [S$0.$marginBottom](value) { - this[S$0._marginBottom] = value == null ? "" : value; - } - get [S$0._marginBottom]() { - return this.marginBottom; - } - set [S$0._marginBottom](value) { - this.marginBottom = value; - } - get [S$0.$marginLeft]() { - return this[S$0._marginLeft]; - } - set [S$0.$marginLeft](value) { - this[S$0._marginLeft] = value == null ? "" : value; - } - get [S$0._marginLeft]() { - return this.marginLeft; - } - set [S$0._marginLeft](value) { - this.marginLeft = value; - } - get [S$0.$marginRight]() { - return this[S$0._marginRight]; - } - set [S$0.$marginRight](value) { - this[S$0._marginRight] = value == null ? "" : value; - } - get [S$0._marginRight]() { - return this.marginRight; - } - set [S$0._marginRight](value) { - this.marginRight = value; - } - get [S$0.$marginTop]() { - return this[S$0._marginTop]; - } - set [S$0.$marginTop](value) { - this[S$0._marginTop] = value == null ? "" : value; - } - get [S$0._marginTop]() { - return this.marginTop; - } - set [S$0._marginTop](value) { - this.marginTop = value; - } - get [S$0.$maxHeight]() { - return this[S$0._maxHeight]; - } - set [S$0.$maxHeight](value) { - this[S$0._maxHeight] = value == null ? "" : value; - } - get [S$0._maxHeight]() { - return this.maxHeight; - } - set [S$0._maxHeight](value) { - this.maxHeight = value; - } - get [S$0.$maxWidth]() { - return this[S$0._maxWidth]; - } - set [S$0.$maxWidth](value) { - this[S$0._maxWidth] = value == null ? "" : value; - } - get [S$0._maxWidth]() { - return this.maxWidth; - } - set [S$0._maxWidth](value) { - this.maxWidth = value; - } - get [S$0.$minHeight]() { - return this[S$0._minHeight]; - } - set [S$0.$minHeight](value) { - this[S$0._minHeight] = value == null ? "" : value; - } - get [S$0._minHeight]() { - return this.minHeight; - } - set [S$0._minHeight](value) { - this.minHeight = value; - } - get [S$0.$minWidth]() { - return this[S$0._minWidth]; - } - set [S$0.$minWidth](value) { - this[S$0._minWidth] = value == null ? "" : value; - } - get [S$0._minWidth]() { - return this.minWidth; - } - set [S$0._minWidth](value) { - this.minWidth = value; - } - get [S$0.$outline]() { - return this[S$0._outline]; - } - set [S$0.$outline](value) { - this[S$0._outline] = value == null ? "" : value; - } - get [S$0._outline]() { - return this.outline; - } - set [S$0._outline](value) { - this.outline = value; - } - get [S$0.$outlineColor]() { - return this[S$0._outlineColor]; - } - set [S$0.$outlineColor](value) { - this[S$0._outlineColor] = value == null ? "" : value; - } - get [S$0._outlineColor]() { - return this.outlineColor; - } - set [S$0._outlineColor](value) { - this.outlineColor = value; - } - get [S$0.$outlineStyle]() { - return this[S$0._outlineStyle]; - } - set [S$0.$outlineStyle](value) { - this[S$0._outlineStyle] = value == null ? "" : value; - } - get [S$0._outlineStyle]() { - return this.outlineStyle; - } - set [S$0._outlineStyle](value) { - this.outlineStyle = value; - } - get [S$0.$outlineWidth]() { - return this[S$0._outlineWidth]; - } - set [S$0.$outlineWidth](value) { - this[S$0._outlineWidth] = value == null ? "" : value; - } - get [S$0._outlineWidth]() { - return this.outlineWidth; - } - set [S$0._outlineWidth](value) { - this.outlineWidth = value; - } - get [S$0.$overflow]() { - return this[S$0._overflow]; - } - set [S$0.$overflow](value) { - this[S$0._overflow] = value == null ? "" : value; - } - get [S$0._overflow]() { - return this.overflow; - } - set [S$0._overflow](value) { - this.overflow = value; - } - get [S$0.$padding]() { - return this[S$0._padding]; - } - set [S$0.$padding](value) { - this[S$0._padding] = value == null ? "" : value; - } - get [S$0._padding]() { - return this.padding; - } - set [S$0._padding](value) { - this.padding = value; - } - get [S$0.$paddingBottom]() { - return this[S$0._paddingBottom]; - } - set [S$0.$paddingBottom](value) { - this[S$0._paddingBottom] = value == null ? "" : value; - } - get [S$0._paddingBottom]() { - return this.paddingBottom; - } - set [S$0._paddingBottom](value) { - this.paddingBottom = value; - } - get [S$0.$paddingLeft]() { - return this[S$0._paddingLeft]; - } - set [S$0.$paddingLeft](value) { - this[S$0._paddingLeft] = value == null ? "" : value; - } - get [S$0._paddingLeft]() { - return this.paddingLeft; - } - set [S$0._paddingLeft](value) { - this.paddingLeft = value; - } - get [S$0.$paddingRight]() { - return this[S$0._paddingRight]; - } - set [S$0.$paddingRight](value) { - this[S$0._paddingRight] = value == null ? "" : value; - } - get [S$0._paddingRight]() { - return this.paddingRight; - } - set [S$0._paddingRight](value) { - this.paddingRight = value; - } - get [S$0.$paddingTop]() { - return this[S$0._paddingTop]; - } - set [S$0.$paddingTop](value) { - this[S$0._paddingTop] = value == null ? "" : value; - } - get [S$0._paddingTop]() { - return this.paddingTop; - } - set [S$0._paddingTop](value) { - this.paddingTop = value; - } - get [S$0.$pageBreakAfter]() { - return this[S$0._pageBreakAfter]; - } - set [S$0.$pageBreakAfter](value) { - this[S$0._pageBreakAfter] = value == null ? "" : value; - } - get [S$0._pageBreakAfter]() { - return this.pageBreakAfter; - } - set [S$0._pageBreakAfter](value) { - this.pageBreakAfter = value; - } - get [S$0.$pageBreakBefore]() { - return this[S$0._pageBreakBefore]; - } - set [S$0.$pageBreakBefore](value) { - this[S$0._pageBreakBefore] = value == null ? "" : value; - } - get [S$0._pageBreakBefore]() { - return this.pageBreakBefore; - } - set [S$0._pageBreakBefore](value) { - this.pageBreakBefore = value; - } - get [S$0.$pageBreakInside]() { - return this[S$0._pageBreakInside]; - } - set [S$0.$pageBreakInside](value) { - this[S$0._pageBreakInside] = value == null ? "" : value; - } - get [S$0._pageBreakInside]() { - return this.pageBreakInside; - } - set [S$0._pageBreakInside](value) { - this.pageBreakInside = value; - } - get [S$0.$position]() { - return this[S$0._position$2]; - } - set [S$0.$position](value) { - this[S$0._position$2] = value == null ? "" : value; - } - get [S$0._position$2]() { - return this.position; - } - set [S$0._position$2](value) { - this.position = value; - } - get [S$0.$quotes]() { - return this[S$0._quotes]; - } - set [S$0.$quotes](value) { - this[S$0._quotes] = value == null ? "" : value; - } - get [S$0._quotes]() { - return this.quotes; - } - set [S$0._quotes](value) { - this.quotes = value; - } - get [$right]() { - return this[S$0._right$2]; - } - set [$right](value) { - this[S$0._right$2] = value == null ? "" : value; - } - get [S$0._right$2]() { - return this.right; - } - set [S$0._right$2](value) { - this.right = value; - } - get [S$0.$tableLayout]() { - return this[S$0._tableLayout]; - } - set [S$0.$tableLayout](value) { - this[S$0._tableLayout] = value == null ? "" : value; - } - get [S$0._tableLayout]() { - return this.tableLayout; - } - set [S$0._tableLayout](value) { - this.tableLayout = value; - } - get [S$.$textAlign]() { - return this[S$0._textAlign]; - } - set [S$.$textAlign](value) { - this[S$0._textAlign] = value == null ? "" : value; - } - get [S$0._textAlign]() { - return this.textAlign; - } - set [S$0._textAlign](value) { - this.textAlign = value; - } - get [S$0.$textDecoration]() { - return this[S$0._textDecoration]; - } - set [S$0.$textDecoration](value) { - this[S$0._textDecoration] = value == null ? "" : value; - } - get [S$0._textDecoration]() { - return this.textDecoration; - } - set [S$0._textDecoration](value) { - this.textDecoration = value; - } - get [S$0.$textIndent]() { - return this[S$0._textIndent]; - } - set [S$0.$textIndent](value) { - this[S$0._textIndent] = value == null ? "" : value; - } - get [S$0._textIndent]() { - return this.textIndent; - } - set [S$0._textIndent](value) { - this.textIndent = value; - } - get [S$0.$textTransform]() { - return this[S$0._textTransform]; - } - set [S$0.$textTransform](value) { - this[S$0._textTransform] = value == null ? "" : value; - } - get [S$0._textTransform]() { - return this.textTransform; - } - set [S$0._textTransform](value) { - this.textTransform = value; - } - get [$top]() { - return this[S$0._top]; - } - set [$top](value) { - this[S$0._top] = value == null ? "" : value; - } - get [S$0._top]() { - return this.top; - } - set [S$0._top](value) { - this.top = value; - } - get [S$0.$unicodeBidi]() { - return this[S$0._unicodeBidi]; - } - set [S$0.$unicodeBidi](value) { - this[S$0._unicodeBidi] = value == null ? "" : value; - } - get [S$0._unicodeBidi]() { - return this.unicodeBidi; - } - set [S$0._unicodeBidi](value) { - this.unicodeBidi = value; - } - get [S$0.$verticalAlign]() { - return this[S$0._verticalAlign]; - } - set [S$0.$verticalAlign](value) { - this[S$0._verticalAlign] = value == null ? "" : value; - } - get [S$0._verticalAlign]() { - return this.verticalAlign; - } - set [S$0._verticalAlign](value) { - this.verticalAlign = value; - } - get [S$0.$visibility]() { - return this[S$0._visibility]; - } - set [S$0.$visibility](value) { - this[S$0._visibility] = value == null ? "" : value; - } - get [S$0._visibility]() { - return this.visibility; - } - set [S$0._visibility](value) { - this.visibility = value; - } - get [S$0.$whiteSpace]() { - return this[S$0._whiteSpace]; - } - set [S$0.$whiteSpace](value) { - this[S$0._whiteSpace] = value == null ? "" : value; - } - get [S$0._whiteSpace]() { - return this.whiteSpace; - } - set [S$0._whiteSpace](value) { - this.whiteSpace = value; - } - get [$width]() { - return this[S$0._width$1]; - } - set [$width](value) { - this[S$0._width$1] = value == null ? "" : value; - } - get [S$0._width$1]() { - return this.width; - } - set [S$0._width$1](value) { - this.width = value; - } - get [S$0.$wordSpacing]() { - return this[S$0._wordSpacing]; - } - set [S$0.$wordSpacing](value) { - this[S$0._wordSpacing] = value == null ? "" : value; - } - get [S$0._wordSpacing]() { - return this.wordSpacing; - } - set [S$0._wordSpacing](value) { - this.wordSpacing = value; - } - get [S$0.$zIndex]() { - return this[S$0._zIndex]; - } - set [S$0.$zIndex](value) { - this[S$0._zIndex] = value == null ? "" : value; - } - get [S$0._zIndex]() { - return this.zIndex; - } - set [S$0._zIndex](value) { - this.zIndex = value; - } - }; - dart.addTypeTests(html$.CssStyleDeclaration); - dart.addTypeCaches(html$.CssStyleDeclaration); - dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), - [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), - [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), - [S$.$cssText]: dart.nullable(core.String), - [$length]: core.int, - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$._background]: core.String, - [S$._backgroundAttachment]: core.String, - [S$._backgroundColor]: core.String, - [S$._backgroundImage]: core.String, - [S$._backgroundPosition]: core.String, - [S$._backgroundRepeat]: core.String, - [S$._border]: core.String, - [S$._borderBottom]: core.String, - [S$._borderBottomColor]: core.String, - [S$._borderBottomStyle]: 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, - [S$0._borderTopColor]: core.String, - [S$0._borderTopStyle]: core.String, - [S$0._borderTopWidth]: core.String, - [S$0._borderWidth]: core.String, - [S$0._bottom]: core.String, - [S$0._captionSide]: core.String, - [S$0._clear$3]: core.String, - [S$0._clip]: core.String, - [S$0._color]: core.String, - [S$0._content]: core.String, - [S$0._cursor]: core.String, - [S$0._direction]: core.String, - [S$0._display]: core.String, - [S$0._emptyCells]: core.String, - [S$0._font]: core.String, - [S$0._fontFamily]: core.String, - [S$0._fontSize]: core.String, - [S$0._fontStyle]: core.String, - [S$0._fontVariant]: core.String, - [S$0._fontWeight]: core.String, - [S$0._height$1]: core.String, - [S$0._left$2]: core.String, - [S$0._letterSpacing]: core.String, - [S$0._lineHeight]: core.String, - [S$0._listStyle]: core.String, - [S$0._listStyleImage]: core.String, - [S$0._listStylePosition]: core.String, - [S$0._listStyleType]: core.String, - [S$0._margin]: core.String, - [S$0._marginBottom]: core.String, - [S$0._marginLeft]: core.String, - [S$0._marginRight]: core.String, - [S$0._marginTop]: core.String, - [S$0._maxHeight]: core.String, - [S$0._maxWidth]: core.String, - [S$0._minHeight]: core.String, - [S$0._minWidth]: core.String, - [S$0._outline]: core.String, - [S$0._outlineColor]: core.String, - [S$0._outlineStyle]: core.String, - [S$0._outlineWidth]: core.String, - [S$0._overflow]: core.String, - [S$0._padding]: core.String, - [S$0._paddingBottom]: core.String, - [S$0._paddingLeft]: core.String, - [S$0._paddingRight]: core.String, - [S$0._paddingTop]: core.String, - [S$0._pageBreakAfter]: core.String, - [S$0._pageBreakBefore]: core.String, - [S$0._pageBreakInside]: core.String, - [S$0._position$2]: core.String, - [S$0._quotes]: core.String, - [S$0._right$2]: core.String, - [S$0._tableLayout]: core.String, - [S$0._textAlign]: core.String, - [S$0._textDecoration]: core.String, - [S$0._textIndent]: core.String, - [S$0._textTransform]: core.String, - [S$0._top]: core.String, - [S$0._unicodeBidi]: core.String, - [S$0._verticalAlign]: core.String, - [S$0._visibility]: core.String, - [S$0._whiteSpace]: core.String, - [S$0._width$1]: core.String, - [S$0._wordSpacing]: core.String, - [S$0._zIndex]: core.String - })); - dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), - [S$.$cssFloat]: dart.nullable(core.String), - [S$.$cssText]: dart.nullable(core.String), - [S$.$background]: dart.nullable(core.String), - [S$._background]: core.String, - [S$.$backgroundAttachment]: dart.nullable(core.String), - [S$._backgroundAttachment]: core.String, - [S$.$backgroundColor]: dart.nullable(core.String), - [S$._backgroundColor]: core.String, - [S$.$backgroundImage]: dart.nullable(core.String), - [S$._backgroundImage]: core.String, - [S$.$backgroundPosition]: dart.nullable(core.String), - [S$._backgroundPosition]: core.String, - [S$.$backgroundRepeat]: dart.nullable(core.String), - [S$._backgroundRepeat]: core.String, - [S$.$border]: dart.nullable(core.String), - [S$._border]: core.String, - [S$.$borderBottom]: dart.nullable(core.String), - [S$._borderBottom]: core.String, - [S$.$borderBottomColor]: dart.nullable(core.String), - [S$._borderBottomColor]: core.String, - [S$0.$borderBottomStyle]: dart.nullable(core.String), - [S$._borderBottomStyle]: 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$0._borderRightWidth]: core.String, - [S$0.$borderSpacing]: dart.nullable(core.String), - [S$0._borderSpacing]: core.String, - [S$0.$borderStyle]: dart.nullable(core.String), - [S$0._borderStyle]: core.String, - [S$0.$borderTop]: dart.nullable(core.String), - [S$0._borderTop]: core.String, - [S$0.$borderTopColor]: dart.nullable(core.String), - [S$0._borderTopColor]: core.String, - [S$0.$borderTopStyle]: dart.nullable(core.String), - [S$0._borderTopStyle]: core.String, - [S$0.$borderTopWidth]: dart.nullable(core.String), - [S$0._borderTopWidth]: core.String, - [S$0.$borderWidth]: dart.nullable(core.String), - [S$0._borderWidth]: core.String, - [$bottom]: dart.nullable(core.String), - [S$0._bottom]: core.String, - [S$0.$captionSide]: dart.nullable(core.String), - [S$0._captionSide]: core.String, - [$clear]: dart.nullable(core.String), - [S$0._clear$3]: core.String, - [S$.$clip]: dart.nullable(core.String), - [S$0._clip]: core.String, - [S$0.$color]: dart.nullable(core.String), - [S$0._color]: core.String, - [S$0.$content]: dart.nullable(core.String), - [S$0._content]: core.String, - [S$0.$cursor]: dart.nullable(core.String), - [S$0._cursor]: core.String, - [S.$direction]: dart.nullable(core.String), - [S$0._direction]: core.String, - [S$0.$display]: dart.nullable(core.String), - [S$0._display]: core.String, - [S$0.$emptyCells]: dart.nullable(core.String), - [S$0._emptyCells]: core.String, - [S$.$font]: dart.nullable(core.String), - [S$0._font]: core.String, - [S$0.$fontFamily]: dart.nullable(core.String), - [S$0._fontFamily]: core.String, - [S$0.$fontSize]: dart.nullable(core.String), - [S$0._fontSize]: core.String, - [S$0.$fontStyle]: dart.nullable(core.String), - [S$0._fontStyle]: core.String, - [S$0.$fontVariant]: dart.nullable(core.String), - [S$0._fontVariant]: core.String, - [S$0.$fontWeight]: dart.nullable(core.String), - [S$0._fontWeight]: core.String, - [$height]: dart.nullable(core.String), - [S$0._height$1]: core.String, - [$left]: dart.nullable(core.String), - [S$0._left$2]: core.String, - [S$0.$letterSpacing]: dart.nullable(core.String), - [S$0._letterSpacing]: core.String, - [S$0.$lineHeight]: dart.nullable(core.String), - [S$0._lineHeight]: core.String, - [S$0.$listStyle]: dart.nullable(core.String), - [S$0._listStyle]: core.String, - [S$0.$listStyleImage]: dart.nullable(core.String), - [S$0._listStyleImage]: core.String, - [S$0.$listStylePosition]: dart.nullable(core.String), - [S$0._listStylePosition]: core.String, - [S$0.$listStyleType]: dart.nullable(core.String), - [S$0._listStyleType]: core.String, - [S$0.$margin]: dart.nullable(core.String), - [S$0._margin]: core.String, - [S$0.$marginBottom]: dart.nullable(core.String), - [S$0._marginBottom]: core.String, - [S$0.$marginLeft]: dart.nullable(core.String), - [S$0._marginLeft]: core.String, - [S$0.$marginRight]: dart.nullable(core.String), - [S$0._marginRight]: core.String, - [S$0.$marginTop]: dart.nullable(core.String), - [S$0._marginTop]: core.String, - [S$0.$maxHeight]: dart.nullable(core.String), - [S$0._maxHeight]: core.String, - [S$0.$maxWidth]: dart.nullable(core.String), - [S$0._maxWidth]: core.String, - [S$0.$minHeight]: dart.nullable(core.String), - [S$0._minHeight]: core.String, - [S$0.$minWidth]: dart.nullable(core.String), - [S$0._minWidth]: core.String, - [S$0.$outline]: dart.nullable(core.String), - [S$0._outline]: core.String, - [S$0.$outlineColor]: dart.nullable(core.String), - [S$0._outlineColor]: core.String, - [S$0.$outlineStyle]: dart.nullable(core.String), - [S$0._outlineStyle]: core.String, - [S$0.$outlineWidth]: dart.nullable(core.String), - [S$0._outlineWidth]: core.String, - [S$0.$overflow]: dart.nullable(core.String), - [S$0._overflow]: core.String, - [S$0.$padding]: dart.nullable(core.String), - [S$0._padding]: core.String, - [S$0.$paddingBottom]: dart.nullable(core.String), - [S$0._paddingBottom]: core.String, - [S$0.$paddingLeft]: dart.nullable(core.String), - [S$0._paddingLeft]: core.String, - [S$0.$paddingRight]: dart.nullable(core.String), - [S$0._paddingRight]: core.String, - [S$0.$paddingTop]: dart.nullable(core.String), - [S$0._paddingTop]: core.String, - [S$0.$pageBreakAfter]: dart.nullable(core.String), - [S$0._pageBreakAfter]: core.String, - [S$0.$pageBreakBefore]: dart.nullable(core.String), - [S$0._pageBreakBefore]: core.String, - [S$0.$pageBreakInside]: dart.nullable(core.String), - [S$0._pageBreakInside]: core.String, - [S$0.$position]: dart.nullable(core.String), - [S$0._position$2]: core.String, - [S$0.$quotes]: dart.nullable(core.String), - [S$0._quotes]: core.String, - [$right]: dart.nullable(core.String), - [S$0._right$2]: core.String, - [S$0.$tableLayout]: dart.nullable(core.String), - [S$0._tableLayout]: core.String, - [S$.$textAlign]: dart.nullable(core.String), - [S$0._textAlign]: core.String, - [S$0.$textDecoration]: dart.nullable(core.String), - [S$0._textDecoration]: core.String, - [S$0.$textIndent]: dart.nullable(core.String), - [S$0._textIndent]: core.String, - [S$0.$textTransform]: dart.nullable(core.String), - [S$0._textTransform]: core.String, - [$top]: dart.nullable(core.String), - [S$0._top]: core.String, - [S$0.$unicodeBidi]: dart.nullable(core.String), - [S$0._unicodeBidi]: core.String, - [S$0.$verticalAlign]: dart.nullable(core.String), - [S$0._verticalAlign]: core.String, - [S$0.$visibility]: dart.nullable(core.String), - [S$0._visibility]: core.String, - [S$0.$whiteSpace]: dart.nullable(core.String), - [S$0._whiteSpace]: core.String, - [$width]: dart.nullable(core.String), - [S$0._width$1]: core.String, - [S$0.$wordSpacing]: dart.nullable(core.String), - [S$0._wordSpacing]: core.String, - [S$0.$zIndex]: dart.nullable(core.String), - [S$0._zIndex]: core.String - })); - 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 {}; - } - }, false); - dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); - dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); - dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); - const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; - (Object_CssStyleDeclarationBase$36.new = function() { - }).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[149], 5443, 34, "propertyName"); - return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); - } - setProperty(propertyName, value, priority = null) { - 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[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[149], 5460, 25, "value"); - this[S$0._setAll]("background", value); - } - get background() { - return super.background; - } - set backgroundAttachment(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[149], 5470, 30, "value"); - this[S$0._setAll]("backgroundColor", value); - } - get backgroundColor() { - return super.backgroundColor; - } - set backgroundImage(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[149], 5480, 33, "value"); - this[S$0._setAll]("backgroundPosition", value); - } - get backgroundPosition() { - return super.backgroundPosition; - } - set backgroundRepeat(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[149], 5490, 21, "value"); - this[S$0._setAll]("border", value); - } - get border() { - return super.border; - } - set borderBottom(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[149], 5500, 32, "value"); - this[S$0._setAll]("borderBottomColor", value); - } - get borderBottomColor() { - return super.borderBottomColor; - } - set borderBottomStyle(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[149], 5510, 32, "value"); - this[S$0._setAll]("borderBottomWidth", value); - } - get borderBottomWidth() { - return super.borderBottomWidth; - } - set borderCollapse(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[149], 5520, 26, "value"); - this[S$0._setAll]("borderColor", value); - } - get borderColor() { - return super.borderColor; - } - set borderLeft(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[149], 5530, 30, "value"); - this[S$0._setAll]("borderLeftColor", value); - } - get borderLeftColor() { - return super.borderLeftColor; - } - set borderLeftStyle(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[149], 5540, 30, "value"); - this[S$0._setAll]("borderLeftWidth", value); - } - get borderLeftWidth() { - return super.borderLeftWidth; - } - set borderRight(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[149], 5550, 31, "value"); - this[S$0._setAll]("borderRightColor", value); - } - get borderRightColor() { - return super.borderRightColor; - } - set borderRightStyle(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[149], 5560, 31, "value"); - this[S$0._setAll]("borderRightWidth", value); - } - get borderRightWidth() { - return super.borderRightWidth; - } - set borderSpacing(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[149], 5570, 26, "value"); - this[S$0._setAll]("borderStyle", value); - } - get borderStyle() { - return super.borderStyle; - } - set borderTop(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[149], 5580, 29, "value"); - this[S$0._setAll]("borderTopColor", value); - } - get borderTopColor() { - return super.borderTopColor; - } - set borderTopStyle(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[149], 5590, 29, "value"); - this[S$0._setAll]("borderTopWidth", value); - } - get borderTopWidth() { - return super.borderTopWidth; - } - set borderWidth(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[149], 5600, 21, "value"); - this[S$0._setAll]("bottom", value); - } - get bottom() { - return super.bottom; - } - set captionSide(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[149], 5610, 20, "value"); - this[S$0._setAll]("clear", value); - } - get clear() { - return super.clear; - } - set clip(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[149], 5620, 20, "value"); - this[S$0._setAll]("color", value); - } - get color() { - return super.color; - } - set content(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[149], 5630, 21, "value"); - this[S$0._setAll]("cursor", value); - } - get cursor() { - return super.cursor; - } - set direction(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[149], 5640, 22, "value"); - this[S$0._setAll]("display", value); - } - get display() { - return super.display; - } - set emptyCells(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[149], 5650, 19, "value"); - this[S$0._setAll]("font", value); - } - get font() { - return super.font; - } - set fontFamily(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[149], 5660, 23, "value"); - this[S$0._setAll]("fontSize", value); - } - get fontSize() { - return super.fontSize; - } - set fontStyle(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[149], 5670, 26, "value"); - this[S$0._setAll]("fontVariant", value); - } - get fontVariant() { - return super.fontVariant; - } - set fontWeight(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[149], 5680, 21, "value"); - this[S$0._setAll]("height", value); - } - get height() { - return super.height; - } - set left(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[149], 5690, 28, "value"); - this[S$0._setAll]("letterSpacing", value); - } - get letterSpacing() { - return super.letterSpacing; - } - set lineHeight(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[149], 5700, 24, "value"); - this[S$0._setAll]("listStyle", value); - } - get listStyle() { - return super.listStyle; - } - set listStyleImage(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[149], 5710, 32, "value"); - this[S$0._setAll]("listStylePosition", value); - } - get listStylePosition() { - return super.listStylePosition; - } - set listStyleType(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[149], 5720, 21, "value"); - this[S$0._setAll]("margin", value); - } - get margin() { - return super.margin; - } - set marginBottom(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[149], 5730, 25, "value"); - this[S$0._setAll]("marginLeft", value); - } - get marginLeft() { - return super.marginLeft; - } - set marginRight(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[149], 5740, 24, "value"); - this[S$0._setAll]("marginTop", value); - } - get marginTop() { - return super.marginTop; - } - set maxHeight(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[149], 5750, 23, "value"); - this[S$0._setAll]("maxWidth", value); - } - get maxWidth() { - return super.maxWidth; - } - set minHeight(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[149], 5760, 23, "value"); - this[S$0._setAll]("minWidth", value); - } - get minWidth() { - return super.minWidth; - } - set outline(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[149], 5770, 27, "value"); - this[S$0._setAll]("outlineColor", value); - } - get outlineColor() { - return super.outlineColor; - } - set outlineStyle(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[149], 5780, 27, "value"); - this[S$0._setAll]("outlineWidth", value); - } - get outlineWidth() { - return super.outlineWidth; - } - set overflow(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[149], 5790, 22, "value"); - this[S$0._setAll]("padding", value); - } - get padding() { - return super.padding; - } - set paddingBottom(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[149], 5800, 26, "value"); - this[S$0._setAll]("paddingLeft", value); - } - get paddingLeft() { - return super.paddingLeft; - } - set paddingRight(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[149], 5810, 25, "value"); - this[S$0._setAll]("paddingTop", value); - } - get paddingTop() { - return super.paddingTop; - } - set pageBreakAfter(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[149], 5820, 30, "value"); - this[S$0._setAll]("pageBreakBefore", value); - } - get pageBreakBefore() { - return super.pageBreakBefore; - } - set pageBreakInside(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[149], 5830, 23, "value"); - this[S$0._setAll]("position", value); - } - get position() { - return super.position; - } - set quotes(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[149], 5840, 20, "value"); - this[S$0._setAll]("right", value); - } - get right() { - return super.right; - } - set tableLayout(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[149], 5850, 24, "value"); - this[S$0._setAll]("textAlign", value); - } - get textAlign() { - return super.textAlign; - } - set textDecoration(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[149], 5860, 25, "value"); - this[S$0._setAll]("textIndent", value); - } - get textIndent() { - return super.textIndent; - } - set textTransform(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[149], 5870, 18, "value"); - this[S$0._setAll]("top", value); - } - get top() { - return super.top; - } - set unicodeBidi(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[149], 5880, 28, "value"); - this[S$0._setAll]("verticalAlign", value); - } - get verticalAlign() { - return super.verticalAlign; - } - set visibility(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[149], 5890, 25, "value"); - this[S$0._setAll]("whiteSpace", value); - } - get whiteSpace() { - return super.whiteSpace; - } - set width(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[149], 5900, 26, "value"); - this[S$0._setAll]("wordSpacing", value); - } - get wordSpacing() { - return super.wordSpacing; - } - set zIndex(value) { - if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); - this[S$0._setAll]("zIndex", value); - } - get zIndex() { - return super.zIndex; - } - }; - (html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); - this[S$0._elementIterable] = _elementIterable; - 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); - dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ - __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), - getPropertyValue: dart.fnType(core.String, [core.String]), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [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[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(core.Iterable$(html$.CssStyleDeclaration)) - })); - dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); - dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ - 'background', - 'backgroundAttachment', - 'backgroundColor', - 'backgroundImage', - 'backgroundPosition', - 'backgroundRepeat', - 'border', - 'borderBottom', - 'borderBottomColor', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopStyle', - 'borderTopWidth', - 'borderWidth', - 'bottom', - 'captionSide', - 'clear', - 'clip', - 'color', - 'content', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'font', - 'fontFamily', - 'fontSize', - 'fontStyle', - 'fontVariant', - 'fontWeight', - 'height', - 'left', - 'letterSpacing', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'margin', - 'marginBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'maxHeight', - 'maxWidth', - 'minHeight', - 'minWidth', - 'outline', - 'outlineColor', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'padding', - 'paddingBottom', - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'position', - 'quotes', - 'right', - 'tableLayout', - 'textAlign', - 'textDecoration', - 'textIndent', - 'textTransform', - 'top', - 'unicodeBidi', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'width', - 'wordSpacing', - 'zIndex' - ]); - html$.CssStyleRule = class CssStyleRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssStyleRule.__(); - } - get [S$.$selectorText]() { - return this.selectorText; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } - }; - 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, - [S.$style]: html$.CssStyleDeclaration - })); - dart.setSetterSignature(html$.CssStyleRule, () => ({ - __proto__: dart.getSetters(html$.CssStyleRule.__proto__), - [S$.$selectorText]: core.String - })); - dart.setLibraryUri(html$.CssStyleRule, I[150]); - dart.registerExtension("CSSStyleRule", html$.CssStyleRule); - html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleSheet.__(); - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$0.$ownerNode]() { - return this.ownerNode; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$title]() { - return this.title; - } - get [S.$type]() { - return this.type; - } - }; - 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), - [S$.$href]: dart.nullable(core.String), - [S$.$media]: dart.nullable(html$.MediaList), - [S$0.$ownerNode]: dart.nullable(html$.Node), - [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), - [S.$title]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.StyleSheet, () => ({ - __proto__: dart.getSetters(html$.StyleSheet.__proto__), - [S$.$disabled]: dart.nullable(core.bool) - })); - 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; - } - get [S$0.$ownerRule]() { - return this.ownerRule; - } - get [S$0.$rules]() { - return this.rules; - } - [S$0.$addRule](...args) { - return this.addRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } - [S$0.$removeRule](...args) { - return this.removeRule.apply(this, args); - } - }; - dart.addTypeTests(html$.CssStyleSheet); - dart.addTypeCaches(html$.CssStyleSheet); - dart.setMethodSignature(html$.CssStyleSheet, () => ({ - __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), - [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), - [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), - [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[150]); - dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); - html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { - static ['_#_#tearOff']() { - return html$.CssSupportsRule.__(); - } - }; - dart.addTypeTests(html$.CssSupportsRule); - dart.addTypeCaches(html$.CssSupportsRule); - 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(); - } - if (T$0.ListOfCssTransformComponent().is(transformComponents)) { - return html$.CssTransformValue._create_2(transformComponents); - } - 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(); - } - static _create_2(transformComponents) { - return new CSSTransformValue(transformComponents); - } - get [S$.$is2D]() { - return this.is2D; - } - get [$length]() { - return this.length; - } - [S$0.$componentAtIndex](...args) { - return this.componentAtIndex.apply(this, args); - } - [S$0.$toMatrix](...args) { - return this.toMatrix.apply(this, args); - } - }; - dart.addTypeTests(html$.CssTransformValue); - dart.addTypeCaches(html$.CssTransformValue); - dart.setMethodSignature(html$.CssTransformValue, () => ({ - __proto__: dart.getMethods(html$.CssTransformValue.__proto__), - [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[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[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); - } - if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { - return html$.CssTranslation._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSTranslation(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - }; - 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), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) - })); - dart.setSetterSignature(html$.CssTranslation, () => ({ - __proto__: dart.getSetters(html$.CssTranslation.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) - })); - 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[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); - } - get [S.$type]() { - return this.type; - } - get [S$0.$unit]() { - return this.unit; - } - set [S$0.$unit](value) { - this.unit = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - 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), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.CssUnitValue, () => ({ - __proto__: dart.getSetters(html$.CssUnitValue.__proto__), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) - })); - 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; - } - [S$0.$fragmentAtIndex](...args) { - return this.fragmentAtIndex.apply(this, args); - } - }; - dart.addTypeTests(html$.CssUnparsedValue); - dart.addTypeCaches(html$.CssUnparsedValue); - 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[150]); - dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); - html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssVariableReferenceValue.__(); - } - get [S$0.$fallback]() { - return this.fallback; - } - get [S$0.$variable]() { - return this.variable; - } - }; - 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[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[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[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); - } - get [S$.$url]() { - return this.url; - } - }; - 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[150]); - dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); - 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[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); - return; - } - this[S$0._define_2](name, constructor); - return; - } - [S$0._define_1](...args) { - return this.define.apply(this, args); - } - [S$0._define_2](...args) { - return this.define.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); - return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); - } - }; - dart.addTypeTests(html$.CustomElementRegistry); - dart.addTypeCaches(html$.CustomElementRegistry); - dart.setMethodSignature(html$.CustomElementRegistry, () => ({ - __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), - [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), - [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) - })); - 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]() { - return this._dartDetail; - } - set [S$0._dartDetail](value) { - this._dartDetail = value; - } - static new(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; - let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); - e[S$0._dartDetail] = detail; - if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { - try { - detail = html_common.convertDartToNative_SerializedScriptValue(detail); - e[S$0._initCustomEvent](type, canBubble, cancelable, detail); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } else - throw e$; - } - } else { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } - 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]; - } - return this[S$0._detail]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new CustomEvent(type); - } - get [S$0._detail]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); - } - get [S$0._get__detail]() { - return this.detail; - } - [S$0._initCustomEvent](...args) { - return this.initCustomEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.CustomEvent); - dart.addTypeCaches(html$.CustomEvent); - 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[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); - ; - }).prototype = html$.DListElement.prototype; - dart.addTypeTests(html$.DListElement); - dart.addTypeCaches(html$.DListElement); - 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; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.DataElement.created = function() { - html$.DataElement.__proto__.created.call(this); - ; - }).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) - })); - dart.setSetterSignature(html$.DataElement, () => ({ - __proto__: dart.getSetters(html$.DataElement.__proto__), - [S.$value]: dart.nullable(core.String) - })); - 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"); - } - get [S$0.$options]() { - return this.options; - } - }; - (html$.DataListElement.created = function() { - html$.DataListElement.__proto__.created.call(this); - ; - }).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.setStaticGetterSignature(html$.DataListElement, () => ['supported']); - dart.setLibraryUri(html$.DataListElement, I[150]); - dart.registerExtension("HTMLDataListElement", html$.DataListElement); - 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(); - } - get [S$0.$dropEffect]() { - return this.dropEffect; - } - set [S$0.$dropEffect](value) { - this.dropEffect = value; - } - get [S$0.$effectAllowed]() { - return this.effectAllowed; - } - set [S$0.$effectAllowed](value) { - this.effectAllowed = value; - } - get [S$0.$files]() { - return this.files; - } - get [S$0.$items]() { - return this.items; - } - get [S$0.$types]() { - return this.types; - } - [S$0.$clearData](...args) { - return this.clearData.apply(this, args); - } - [S$0.$getData](...args) { - return this.getData.apply(this, args); - } - [S$0.$setData](...args) { - return this.setData.apply(this, args); - } - [S$0.$setDragImage](...args) { - return this.setDragImage.apply(this, args); - } - }; - dart.addTypeTests(html$.DataTransfer); - dart.addTypeCaches(html$.DataTransfer); - dart.setMethodSignature(html$.DataTransfer, () => ({ - __proto__: dart.getMethods(html$.DataTransfer.__proto__), - [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$0.$getData]: dart.fnType(core.String, [core.String]), - [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), - [S$0.$effectAllowed]: dart.nullable(core.String), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$0.$items]: dart.nullable(html$.DataTransferItemList), - [S$0.$types]: dart.nullable(core.List$(core.String)) - })); - dart.setSetterSignature(html$.DataTransfer, () => ({ - __proto__: dart.getSetters(html$.DataTransfer.__proto__), - [S$0.$dropEffect]: dart.nullable(core.String), - [S$0.$effectAllowed]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.DataTransfer, I[150]); - dart.registerExtension("DataTransfer", html$.DataTransfer); - 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)) { - _js_helper.applyExtension("FileEntry", 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); - } 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; - } - get [S.$type]() { - return this.type; - } - [S$0.$getAsFile](...args) { - return this.getAsFile.apply(this, args); - } - [S$0._webkitGetAsEntry](...args) { - return this.webkitGetAsEntry.apply(this, args); - } - }; - dart.addTypeTests(html$.DataTransferItem); - dart.addTypeCaches(html$.DataTransferItem); - dart.setMethodSignature(html$.DataTransferItem, () => ({ - __proto__: dart.getMethods(html$.DataTransferItem.__proto__), - [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), - [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[150]); - dart.registerExtension("DataTransferItem", html$.DataTransferItem); - html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DataTransferItemList.__(); - } - get [$length]() { - return this.length; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$0.$addData](...args) { - return this.add.apply(this, args); - } - [S$0.$addFile](...args) { - return this.add.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [$_get](index) { - if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); - return this[index]; - } - }; - dart.addTypeTests(html$.DataTransferItemList); - dart.addTypeCaches(html$.DataTransferItemList); - dart.setMethodSignature(html$.DataTransferItemList, () => ({ - __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), - [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), - [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), - [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), - [$clear]: dart.fnType(dart.void, []), - [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), - [$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[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; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$0.$indexedDB]() { - return this.indexedDB; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$0.$location]() { - return this.location; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$.$origin]() { - return this.origin; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$0.$self]() { - return this.self; - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$0.$importScripts](...args) { - return this.importScripts.apply(this, args); - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S.$onError]() { - return html$.WorkerGlobalScope.errorEvent.forTarget(this); - } - static get instance() { - return html$._workerSelf; - } - }; - dart.addTypeTests(html$.WorkerGlobalScope); - dart.addTypeCaches(html$.WorkerGlobalScope); - 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)]), - [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) - })); - dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); - dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ - __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), - [S$0.$addressSpace]: dart.nullable(core.String), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$0.$location]: html$._WorkerLocation, - [S$0.$navigator]: html$._WorkerNavigator, - [S$.$origin]: dart.nullable(core.String), - [S$0.$performance]: dart.nullable(html$.WorkerPerformance), - [S$0.$self]: html$.WorkerGlobalScope, - [S.$onError]: async.Stream$(html$.Event) - })); - 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[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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$.$onMessage]() { - return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); - } - }; - dart.addTypeTests(html$.DedicatedWorkerGlobalScope); - dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); - dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[322] || CT.C322; - }, - /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } - }, false); - dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); - html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageInfo.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } - }; - dart.addTypeTests(html$.DeprecatedStorageInfo); - dart.addTypeCaches(html$.DeprecatedStorageInfo); - dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), - [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.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; - }, - /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { - return 0; - } - }, false); - dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); - html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageQuota.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } - }; - dart.addTypeTests(html$.DeprecatedStorageQuota); - dart.addTypeCaches(html$.DeprecatedStorageQuota); - dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), - [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.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); - dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); - dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); - html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportBody.__(); - } - }; - dart.addTypeTests(html$.ReportBody); - dart.addTypeCaches(html$.ReportBody); - 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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } - }; - 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[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"); - } - get [S.$open]() { - return this.open; - } - set [S.$open](value) { - this.open = value; - } - }; - (html$.DetailsElement.created = function() { - html$.DetailsElement.__proto__.created.call(this); - ; - }).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) - })); - dart.setSetterSignature(html$.DetailsElement, () => ({ - __proto__: dart.getSetters(html$.DetailsElement.__proto__), - [S.$open]: dart.nullable(core.bool) - })); - dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); - dart.setLibraryUri(html$.DetailsElement, I[150]); - dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); - 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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } - }; - 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[150]); - dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); - 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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$landmarks]() { - return this.landmarks; - } - }; - 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[150]); - dart.registerExtension("DetectedFace", html$.DetectedFace); - 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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } - }; - 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[150]); - dart.registerExtension("DetectedText", html$.DetectedText); - html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceAcceleration.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - 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[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[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); - } - static _create_2(type) { - return new DeviceMotionEvent(type); - } - get [S$0.$acceleration]() { - return this.acceleration; - } - get [S$0.$accelerationIncludingGravity]() { - return this.accelerationIncludingGravity; - } - get [S$0.$interval]() { - return this.interval; - } - get [S$0.$rotationRate]() { - return this.rotationRate; - } - }; - 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), - [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), - [S$0.$interval]: dart.nullable(core.num), - [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) - })); - 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[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); - } - static _create_2(type) { - return new DeviceOrientationEvent(type); - } - get [S$0.$absolute]() { - return this.absolute; - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } - }; - 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), - [S$0.$alpha]: dart.nullable(core.num), - [S$0.$beta]: dart.nullable(core.num), - [S$0.$gamma]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); - dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); - html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceRotationRate.__(); - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } - }; - 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[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; - } - set [S.$open](value) { - this.open = value; - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0.$show](...args) { - return this.show.apply(this, args); - } - [S$0.$showModal](...args) { - return this.showModal.apply(this, args); - } - }; - (html$.DialogElement.created = function() { - html$.DialogElement.__proto__.created.call(this); - ; - }).prototype = html$.DialogElement.prototype; - dart.addTypeTests(html$.DialogElement); - dart.addTypeCaches(html$.DialogElement); - dart.setMethodSignature(html$.DialogElement, () => ({ - __proto__: dart.getMethods(html$.DialogElement.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$returnValue]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.DialogElement, () => ({ - __proto__: dart.getSetters(html$.DialogElement.__proto__), - [S.$open]: dart.nullable(core.bool), - [S$.$returnValue]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.DialogElement, I[150]); - dart.registerExtension("HTMLDialogElement", html$.DialogElement); - html$.Entry = class Entry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Entry.__(); - } - get [S$0.$filesystem]() { - return this.filesystem; - } - get [S$0.$fullPath]() { - return this.fullPath; - } - get [S$0.$isDirectory]() { - return this.isDirectory; - } - get [S$0.$isFile]() { - return this.isFile; - } - get [$name]() { - return this.name; - } - [S$1._copyTo](...args) { - return this.copyTo.apply(this, args); - } - [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$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[149], 15431, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getMetadata](...args) { - return this.getMetadata.apply(this, args); - } - [S$1.$getMetadata]() { - let completer = T$0.CompleterOfMetadata().new(); - 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[149], 15447, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getParent](...args) { - return this.getParent.apply(this, args); - } - [S$1.$getParent]() { - let completer = T$0.CompleterOfEntry().new(); - 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[149], 15465, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$moveTo](parent, opts) { - 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$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[149], 15482, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._remove$1](...args) { - return this.remove.apply(this, args); - } - [$remove]() { - let completer = async.Completer.new(); - this[S$1._remove$1](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1.$toUrl](...args) { - return this.toURL.apply(this, args); - } - }; - dart.addTypeTests(html$.Entry); - dart.addTypeCaches(html$.Entry); - dart.setMethodSignature(html$.Entry, () => ({ - __proto__: dart.getMethods(html$.Entry.__proto__), - [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$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$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), - [S$0.$fullPath]: dart.nullable(core.String), - [S$0.$isDirectory]: dart.nullable(core.bool), - [S$0.$isFile]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String) - })); - 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[149], 9614, 40, "path"); - let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - 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[149], 9633, 37, "path"); - return this[S$0._getDirectory](path); - } - [S$0.$createFile](path, opts) { - 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[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[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); - } - [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_3](path, options_1); - return; - } - this[S$0.__getDirectory_4](path); - return; - } - [S$0.__getDirectory_1](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_2](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_3](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_4](...args) { - return this.getDirectory.apply(this, args); - } - [S$0._getDirectory](path, opts) { - 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[149], 9699, 36, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_3](path, options_1); - return; - } - this[S$0.__getFile_4](path); - return; - } - [S$0.__getFile_1](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_2](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_3](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_4](...args) { - return this.getFile.apply(this, args); - } - [S$0._getFile](path, opts) { - 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[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[149], 9748, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0._removeRecursively](...args) { - return this.removeRecursively.apply(this, args); - } - [S$0.$removeRecursively]() { - let completer = async.Completer.new(); - this[S$0._removeRecursively](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - }; - dart.addTypeTests(html$.DirectoryEntry); - dart.addTypeCaches(html$.DirectoryEntry); - dart.setMethodSignature(html$.DirectoryEntry, () => ({ - __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), - [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [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.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); - dart.setLibraryUri(html$.DirectoryEntry, I[150]); - dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); - 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$1.$readEntries]() { - let completer = T$0.CompleterOfListOfEntry().new(); - 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)) { - _js_helper.applyExtension("FileEntry", 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[149], 9804, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - }; - dart.addTypeTests(html$.DirectoryReader); - dart.addTypeCaches(html$.DirectoryReader); - dart.setMethodSignature(html$.DirectoryReader, () => ({ - __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [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.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); - ; - }).prototype = html$.DivElement.prototype; - dart.addTypeTests(html$.DivElement); - dart.addTypeCaches(html$.DivElement); - 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$1._body]() { - return this.body; - } - set [S$1._body](value) { - this.body = value; - } - get [S$1.$contentType]() { - return this.contentType; - } - get [S$1.$cookie]() { - return this.cookie; - } - set [S$1.$cookie](value) { - this.cookie = value; - } - get [S$1.$currentScript]() { - return this.currentScript; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.defaultView; - } - get [S$1.$documentElement]() { - return this.documentElement; - } - get [S$1.$domain]() { - return this.domain; - } - get [S$1.$fullscreenEnabled]() { - return this.fullscreenEnabled; - } - get [S$1._head$1]() { - return this.head; - } - get [S.$hidden]() { - return this.hidden; - } - get [S$1.$implementation]() { - return this.implementation; - } - get [S$1._lastModified]() { - return this.lastModified; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1._preferredStylesheetSet]() { - return this.preferredStylesheetSet; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1._referrer]() { - return this.referrer; - } - get [S$1.$rootElement]() { - return this.rootElement; - } - get [S$1.$rootScroller]() { - return this.rootScroller; - } - set [S$1.$rootScroller](value) { - this.rootScroller = value; - } - get [S$1.$scrollingElement]() { - return this.scrollingElement; - } - get [S$1._selectedStylesheetSet]() { - return this.selectedStylesheetSet; - } - set [S$1._selectedStylesheetSet](value) { - this.selectedStylesheetSet = value; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - get [S$.$timeline]() { - return this.timeline; - } - get [S$1._title]() { - return this.title; - } - set [S$1._title](value) { - this.title = value; - } - get [S$1._visibilityState]() { - return this.visibilityState; - } - get [S$1._webkitFullscreenElement]() { - return this.webkitFullscreenElement; - } - get [S$1._webkitFullscreenEnabled]() { - return this.webkitFullscreenEnabled; - } - get [S$1._webkitHidden]() { - return this.webkitHidden; - } - get [S$1._webkitVisibilityState]() { - return this.webkitVisibilityState; - } - [S$1.$adoptNode](...args) { - return this.adoptNode.apply(this, args); - } - [S$1._caretRangeFromPoint](...args) { - return this.caretRangeFromPoint.apply(this, args); - } - [S$1.$createDocumentFragment](...args) { - return this.createDocumentFragment.apply(this, args); - } - [S$1._createElement](...args) { - return this.createElement.apply(this, args); - } - [S$1._createElementNS](...args) { - return this.createElementNS.apply(this, args); - } - [S._createEvent](...args) { - return this.createEvent.apply(this, args); - } - [S$1.$createRange](...args) { - return this.createRange.apply(this, args); - } - [S$1._createTextNode](...args) { - 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[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); - } - if (rotationAngle != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); - } - if (radiusY != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); - } - if (radiusX != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); - } - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); - } - [S$1._createTouch_1](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_2](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_3](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_4](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_5](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouchList](...args) { - return this.createTouchList.apply(this, args); - } - [S$1.$execCommand](...args) { - return this.execCommand.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.exitFullscreen.apply(this, args); - } - [S$1.$exitPointerLock](...args) { - return this.exitPointerLock.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S$1.$getElementsByName](...args) { - return this.getElementsByName.apply(this, args); - } - [S$1.$getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S$1.$importNode](...args) { - return this.importNode.apply(this, args); - } - [S$1.$queryCommandEnabled](...args) { - return this.queryCommandEnabled.apply(this, args); - } - [S$1.$queryCommandIndeterm](...args) { - return this.queryCommandIndeterm.apply(this, args); - } - [S$1.$queryCommandState](...args) { - return this.queryCommandState.apply(this, args); - } - [S$1.$queryCommandSupported](...args) { - return this.queryCommandSupported.apply(this, args); - } - [S$1.$queryCommandValue](...args) { - return this.queryCommandValue.apply(this, args); - } - [S$1.$registerElement2](type, options = null) { - 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); - } - return this[S$1._registerElement2_2](type); - } - [S$1._registerElement2_1](...args) { - return this.registerElement.apply(this, args); - } - [S$1._registerElement2_2](...args) { - return this.registerElement.apply(this, args); - } - [S$1._webkitExitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1._styleSheets]() { - return this.styleSheets; - } - [S$1._elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - get [S$1.$fonts]() { - return this.fonts; - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._children]() { - return this.children; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forTarget(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forTarget(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forTarget(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$1.$onPointerLockChange]() { - return html$.Document.pointerLockChangeEvent.forTarget(this); - } - get [S$1.$onPointerLockError]() { - return html$.Document.pointerLockErrorEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$1.$onReadyStateChange]() { - return html$.Document.readyStateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$1.$onSecurityPolicyViolation]() { - return html$.Document.securityPolicyViolationEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$1.$onSelectionChange]() { - return html$.Document.selectionChangeEvent.forTarget(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forTarget(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forTarget(this); - } - [S.$querySelectorAll](T, 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]() { - return "registerElement" in this; - } - get [S$1.$supportsRegister]() { - return this[S$1.$supportsRegisterElement]; - } - [S$1.$registerElement](tag, customElementClass, opts) { - 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[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[149], 10459, 27, "tagName"); - return this.createElement(tagName); - } - [S$1._createElementNS_2](namespaceURI, 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[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[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[149], 10479, 37, "root"); - return this.createTreeWalker(root, whatToShow, filter, false); - } - get [S$1.$visibilityState]() { - return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; - } - }; - dart.addTypeTests(html$.Document); - dart.addTypeCaches(html$.Document); - dart.setMethodSignature(html$.Document, () => ({ - __proto__: dart.getMethods(html$.Document.__proto__), - [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), - [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), - [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), - [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), - [S._createEvent]: dart.fnType(html$.Event, [core.String]), - [S$1.$createRange]: dart.fnType(html$.Range, []), - [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), - [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), - [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), - [S$1.$exitFullscreen]: dart.fnType(dart.void, []), - [S$1.$exitPointerLock]: dart.fnType(dart.void, []), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), - [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), - [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), - [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._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]), - [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), - [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), - [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), - [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), - [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), - [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$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$1.$implementation]: dart.nullable(html$.DomImplementation), - [S$1._lastModified]: dart.nullable(core.String), - [S$.$origin]: 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), - [S$1.$rootScroller]: dart.nullable(html$.Element), - [S$1.$scrollingElement]: dart.nullable(html$.Element), - [S$1._selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$suborigin]: dart.nullable(core.String), - [S$.$timeline]: dart.nullable(html$.DocumentTimeline), - [S$1._title]: core.String, - [S$1._visibilityState]: dart.nullable(core.String), - [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), - [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), - [S$1._webkitHidden]: dart.nullable(core.bool), - [S$1._webkitVisibilityState]: dart.nullable(core.String), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$1.$fonts]: dart.nullable(html$.FontFaceSet), - [S._childElementCount]: core.int, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onBeforeCopy]: async.Stream$(html$.Event), - [S.$onBeforeCut]: async.Stream$(html$.Event), - [S.$onBeforePaste]: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onCopy]: async.Stream$(html$.ClipboardEvent), - [S.$onCut]: async.Stream$(html$.ClipboardEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [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$1.$onPointerLockChange]: async.Stream$(html$.Event), - [S$1.$onPointerLockError]: 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$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$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$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$.$onFullscreenChange]: async.Stream$(html$.Event), - [S$.$onFullscreenError]: async.Stream$(html$.Event), - [S$1.$supportsRegisterElement]: core.bool, - [S$1.$supportsRegister]: core.bool, - [S$1.$visibilityState]: core.String - })); - dart.setSetterSignature(html$.Document, () => ({ - __proto__: dart.getSetters(html$.Document.__proto__), - [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[150]); - dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); - dart.defineLazy(html$.Document, { - /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[332] || CT.C332; - }, - /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[333] || CT.C333; - }, - /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[334] || CT.C334; - }, - /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[335] || CT.C335; - }, - /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[336] || CT.C336; - } - }, false); - dart.registerExtension("Document", html$.Document); - html$.DocumentFragment = class DocumentFragment extends html$.Node { - get [S$1._docChildren]() { - return this._docChildren; - } - set [S$1._docChildren](value) { - this._docChildren = value; - } - 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")); - } - get [S.$children]() { - if (this[S$1._docChildren] == null) { - this[S$1._docChildren] = new html_common.FilteredElementList.new(this); - } - return dart.nullCheck(this[S$1._docChildren]); - } - set [S.$children](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[149], 10551, 61, "selectors"); - return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); - } - get [S.$innerHtml]() { - let e = html$.DivElement.new(); - e[S.$append](this[S$.$clone](true)); - return e[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$nodes][$clear](); - this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - [S.$appendText](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[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); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - }; - dart.addTypeTests(html$.DocumentFragment); - dart.addTypeCaches(html$.DocumentFragment); - 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]), - [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [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]) - })); - dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); - dart.setGetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getGetters(html$.DocumentFragment.__proto__), - [S._children]: html$.HtmlCollection, - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) - })); - dart.setSetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getSetters(html$.DocumentFragment.__proto__), - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DocumentOrShadowRoot.__(); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - }; - dart.addTypeTests(html$.DocumentOrShadowRoot); - dart.addTypeCaches(html$.DocumentOrShadowRoot); - dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ - __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), - [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.$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), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) - })); - 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); - return html$.DocumentTimeline._create_1(options_1); - } - return html$.DocumentTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.DocumentTimeline.new(options); - } - static _create_1(options) { - return new DocumentTimeline(options); - } - static _create_2() { - return new DocumentTimeline(); - } - }; - dart.addTypeTests(html$.DocumentTimeline); - dart.addTypeCaches(html$.DocumentTimeline); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomError.__(); - } - static new(name, message = null) { - 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); - } - static _create_2(name) { - return new DOMError(name); - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } - }; - 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[150]); - dart.registerExtension("DOMError", html$.DomError); - 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; - } - [$toString]() { - return String(this); - } - }; - 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[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"; - }, - /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { - return "HierarchyRequestError"; - }, - /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { - return "WrongDocumentError"; - }, - /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { - return "InvalidCharacterError"; - }, - /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { - return "NoModificationAllowedError"; - }, - /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { - return "NotFoundError"; - }, - /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { - return "NotSupportedError"; - }, - /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { - return "InvalidStateError"; - }, - /*html$.DomException.SYNTAX*/get SYNTAX() { - return "SyntaxError"; - }, - /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { - return "InvalidModificationError"; - }, - /*html$.DomException.NAMESPACE*/get NAMESPACE() { - return "NamespaceError"; - }, - /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { - return "InvalidAccessError"; - }, - /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { - return "TypeMismatchError"; - }, - /*html$.DomException.SECURITY*/get SECURITY() { - return "SecurityError"; - }, - /*html$.DomException.NETWORK*/get NETWORK() { - return "NetworkError"; - }, - /*html$.DomException.ABORT*/get ABORT() { - return "AbortError"; - }, - /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { - return "URLMismatchError"; - }, - /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { - return "QuotaExceededError"; - }, - /*html$.DomException.TIMEOUT*/get TIMEOUT() { - return "TimeoutError"; - }, - /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { - return "InvalidNodeTypeError"; - }, - /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { - return "DataCloneError"; - }, - /*html$.DomException.ENCODING*/get ENCODING() { - return "EncodingError"; - }, - /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { - return "NotReadableError"; - }, - /*html$.DomException.UNKNOWN*/get UNKNOWN() { - return "UnknownError"; - }, - /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { - return "ConstraintError"; - }, - /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { - return "TransactionInactiveError"; - }, - /*html$.DomException.READ_ONLY*/get READ_ONLY() { - return "ReadOnlyError"; - }, - /*html$.DomException.VERSION*/get VERSION() { - return "VersionError"; - }, - /*html$.DomException.OPERATION*/get OPERATION() { - return "OperationError"; - }, - /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { - return "NotAllowedError"; - }, - /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { - return "TypeError"; - } - }, false); - dart.registerExtension("DOMException", html$.DomException); - html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomImplementation.__(); - } - [S$1.$createDocument](...args) { - return this.createDocument.apply(this, args); - } - [S$1.$createDocumentType](...args) { - return this.createDocumentType.apply(this, args); - } - [S.$createHtmlDocument](...args) { - return this.createHTMLDocument.apply(this, args); - } - [S$1.$hasFeature](...args) { - return this.hasFeature.apply(this, args); - } - }; - dart.addTypeTests(html$.DomImplementation); - dart.addTypeCaches(html$.DomImplementation); - dart.setMethodSignature(html$.DomImplementation, () => ({ - __proto__: dart.getMethods(html$.DomImplementation.__proto__), - [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), - [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), - [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), - [S$1.$hasFeature]: dart.fnType(core.bool, []) - })); - dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); - dart.setLibraryUri(html$.DomImplementation, I[150]); - dart.registerExtension("DOMImplementation", html$.DomImplementation); - html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomIterator.__(); - } - [S.$next](...args) { - return this.next.apply(this, args); - } - }; - dart.addTypeTests(html$.DomIterator); - dart.addTypeCaches(html$.DomIterator); - dart.setMethodSignature(html$.DomIterator, () => ({ - __proto__: dart.getMethods(html$.DomIterator.__proto__), - [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) - })); - dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); - dart.setLibraryUri(html$.DomIterator, I[150]); - dart.registerExtension("Iterator", html$.DomIterator); - 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); - } - return html$.DomMatrixReadOnly._create_2(); - } - static _create_1(init) { - return new DOMMatrixReadOnly(init); - } - static _create_2() { - return new DOMMatrixReadOnly(); - } - get [S$1.$a]() { - return this.a; - } - get [S$1.$b]() { - return this.b; - } - get [S$1.$c]() { - return this.c; - } - get [S$1.$d]() { - return this.d; - } - get [S$1.$e]() { - return this.e; - } - get [S$1.$f]() { - return this.f; - } - get [S$.$is2D]() { - return this.is2D; - } - get [S$1.$isIdentity]() { - return this.isIdentity; - } - get [S$1.$m11]() { - return this.m11; - } - get [S$1.$m12]() { - return this.m12; - } - get [S$1.$m13]() { - return this.m13; - } - get [S$1.$m14]() { - return this.m14; - } - get [S$1.$m21]() { - return this.m21; - } - get [S$1.$m22]() { - return this.m22; - } - get [S$1.$m23]() { - return this.m23; - } - get [S$1.$m24]() { - return this.m24; - } - get [S$1.$m31]() { - return this.m31; - } - get [S$1.$m32]() { - return this.m32; - } - get [S$1.$m33]() { - return this.m33; - } - get [S$1.$m34]() { - return this.m34; - } - get [S$1.$m41]() { - return this.m41; - } - get [S$1.$m42]() { - return this.m42; - } - get [S$1.$m43]() { - return this.m43; - } - get [S$1.$m44]() { - return this.m44; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); - } - return dart.global.DOMMatrixReadOnly.fromMatrix(); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiply_1](other_1); - } - return this[S$1._multiply_2](); - } - [S$1._multiply_1](...args) { - return this.multiply.apply(this, args); - } - [S$1._multiply_2](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateAxisAngle](...args) { - return this.rotateAxisAngle.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$1.$scale3d](...args) { - return this.scale3d.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S$1.$toFloat32Array](...args) { - return this.toFloat32Array.apply(this, args); - } - [S$1.$toFloat64Array](...args) { - return this.toFloat64Array.apply(this, args); - } - [S$1.$transformPoint](point = null) { - if (point != null) { - let point_1 = html_common.convertDartToNative_Dictionary(point); - return this[S$1._transformPoint_1](point_1); - } - return this[S$1._transformPoint_2](); - } - [S$1._transformPoint_1](...args) { - return this.transformPoint.apply(this, args); - } - [S$1._transformPoint_2](...args) { - return this.transformPoint.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - }; - dart.addTypeTests(html$.DomMatrixReadOnly); - dart.addTypeCaches(html$.DomMatrixReadOnly); - dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), - [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), - [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), - [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), - [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), - [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), - [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$.$is2D]: dart.nullable(core.bool), - [S$1.$isIdentity]: dart.nullable(core.bool), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) - })); - 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); - } - static _create_2() { - return new DOMMatrix(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - get [S$1.$m11]() { - return this.m11; - } - set [S$1.$m11](value) { - this.m11 = value; - } - get [S$1.$m12]() { - return this.m12; - } - set [S$1.$m12](value) { - this.m12 = value; - } - get [S$1.$m13]() { - return this.m13; - } - set [S$1.$m13](value) { - this.m13 = value; - } - get [S$1.$m14]() { - return this.m14; - } - set [S$1.$m14](value) { - this.m14 = value; - } - get [S$1.$m21]() { - return this.m21; - } - set [S$1.$m21](value) { - this.m21 = value; - } - get [S$1.$m22]() { - return this.m22; - } - set [S$1.$m22](value) { - this.m22 = value; - } - get [S$1.$m23]() { - return this.m23; - } - set [S$1.$m23](value) { - this.m23 = value; - } - get [S$1.$m24]() { - return this.m24; - } - set [S$1.$m24](value) { - this.m24 = value; - } - get [S$1.$m31]() { - return this.m31; - } - set [S$1.$m31](value) { - this.m31 = value; - } - get [S$1.$m32]() { - return this.m32; - } - set [S$1.$m32](value) { - this.m32 = value; - } - get [S$1.$m33]() { - return this.m33; - } - set [S$1.$m33](value) { - this.m33 = value; - } - get [S$1.$m34]() { - return this.m34; - } - set [S$1.$m34](value) { - this.m34 = value; - } - get [S$1.$m41]() { - return this.m41; - } - set [S$1.$m41](value) { - this.m41 = value; - } - get [S$1.$m42]() { - return this.m42; - } - set [S$1.$m42](value) { - this.m42 = value; - } - get [S$1.$m43]() { - return this.m43; - } - set [S$1.$m43](value) { - this.m43 = value; - } - get [S$1.$m44]() { - return this.m44; - } - set [S$1.$m44](value) { - this.m44 = value; - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrix.fromMatrix(other_1); - } - return dart.global.DOMMatrix.fromMatrix(); - } - [S$1.$invertSelf](...args) { - return this.invertSelf.apply(this, args); - } - [S$1.$multiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiplySelf_1](other_1); - } - return this[S$1._multiplySelf_2](); - } - [S$1._multiplySelf_1](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1._multiplySelf_2](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1.$preMultiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._preMultiplySelf_1](other_1); - } - return this[S$1._preMultiplySelf_2](); - } - [S$1._preMultiplySelf_1](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1._preMultiplySelf_2](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1.$rotateAxisAngleSelf](...args) { - return this.rotateAxisAngleSelf.apply(this, args); - } - [S$1.$rotateFromVectorSelf](...args) { - return this.rotateFromVectorSelf.apply(this, args); - } - [S$1.$rotateSelf](...args) { - return this.rotateSelf.apply(this, args); - } - [S$1.$scale3dSelf](...args) { - return this.scale3dSelf.apply(this, args); - } - [S$1.$scaleSelf](...args) { - return this.scaleSelf.apply(this, args); - } - [S$1.$setMatrixValue](...args) { - return this.setMatrixValue.apply(this, args); - } - [S$1.$skewXSelf](...args) { - return this.skewXSelf.apply(this, args); - } - [S$1.$skewYSelf](...args) { - return this.skewYSelf.apply(this, args); - } - [S$1.$translateSelf](...args) { - return this.translateSelf.apply(this, args); - } - }; - dart.addTypeTests(html$.DomMatrix); - dart.addTypeCaches(html$.DomMatrix); - dart.setMethodSignature(html$.DomMatrix, () => ({ - __proto__: dart.getMethods(html$.DomMatrix.__proto__), - [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), - [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.DomMatrix, I[150]); - dart.registerExtension("DOMMatrix", html$.DomMatrix); - 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(); - } - [S$1.$parseFromString](...args) { - return this.parseFromString.apply(this, args); - } - }; - dart.addTypeTests(html$.DomParser); - dart.addTypeCaches(html$.DomParser); - dart.setMethodSignature(html$.DomParser, () => ({ - __proto__: dart.getMethods(html$.DomParser.__proto__), - [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) - })); - dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.DomParser, I[150]); - dart.registerExtension("DOMParser", html$.DomParser); - 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); - } - if (z != null) { - return html$.DomPointReadOnly._create_2(x, y, z); - } - if (y != null) { - return html$.DomPointReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomPointReadOnly._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPointReadOnly(x, y, z); - } - static _create_3(x, y) { - return new DOMPointReadOnly(x, y); - } - static _create_4(x) { - return new DOMPointReadOnly(x); - } - static _create_5() { - return new DOMPointReadOnly(); - } - get [S$1.$w]() { - return this.w; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPointReadOnly.fromPoint(other_1); - } - return dart.global.DOMPointReadOnly.fromPoint(); - } - [S$1.$matrixTransform](matrix = null) { - if (matrix != null) { - let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); - return this[S$1._matrixTransform_1](matrix_1); - } - return this[S$1._matrixTransform_2](); - } - [S$1._matrixTransform_1](...args) { - return this.matrixTransform.apply(this, args); - } - [S$1._matrixTransform_2](...args) { - return this.matrixTransform.apply(this, args); - } - }; - dart.addTypeTests(html$.DomPointReadOnly); - dart.addTypeCaches(html$.DomPointReadOnly); - dart.setMethodSignature(html$.DomPointReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), - [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - 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); - } - if (z != null) { - return html$.DomPoint._create_2(x, y, z); - } - if (y != null) { - return html$.DomPoint._create_3(x, y); - } - if (x != null) { - return html$.DomPoint._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPoint(x, y, z); - } - static _create_3(x, y) { - return new DOMPoint(x, y); - } - static _create_4(x) { - return new DOMPoint(x); - } - static _create_5() { - return new DOMPoint(); - } - static get supported() { - return !!window.DOMPoint || !!window.WebKitPoint; - } - get [S$1.$w]() { - return this.w; - } - set [S$1.$w](value) { - this.w = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPoint.fromPoint(other_1); - } - return dart.global.DOMPoint.fromPoint(); - } - }; - 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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) - })); - dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); - dart.setLibraryUri(html$.DomPoint, I[150]); - dart.registerExtension("DOMPoint", html$.DomPoint); - 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); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - let p4_4 = html_common.convertDartToNative_Dictionary(p4); - return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); - } - if (p3 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - return html$.DomQuad._create_2(p1_1, p2_2, p3_3); - } - if (p2 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - return html$.DomQuad._create_3(p1_1, p2_2); - } - if (p1 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - return html$.DomQuad._create_4(p1_1); - } - 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); - } - static _create_2(p1, p2, p3) { - return new DOMQuad(p1, p2, p3); - } - static _create_3(p1, p2) { - return new DOMQuad(p1, p2); - } - static _create_4(p1) { - return new DOMQuad(p1); - } - static _create_5() { - return new DOMQuad(); - } - get [S$1.$p1]() { - return this.p1; - } - get [S$1.$p2]() { - return this.p2; - } - get [S$1.$p3]() { - return this.p3; - } - get [S$1.$p4]() { - return this.p4; - } - static fromQuad(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromQuad(other_1); - } - return dart.global.DOMQuad.fromQuad(); - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromRect(other_1); - } - return dart.global.DOMQuad.fromRect(); - } - [S$1.$getBounds](...args) { - return this.getBounds.apply(this, args); - } - }; - dart.addTypeTests(html$.DomQuad); - dart.addTypeCaches(html$.DomQuad); - 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), - [S$1.$p2]: dart.nullable(html$.DomPoint), - [S$1.$p3]: dart.nullable(html$.DomPoint), - [S$1.$p4]: dart.nullable(html$.DomPoint) - })); - 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 __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 (__t$FixedSizeListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - add(value) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); - } - addAll(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) { - dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); - } - insert(index, element) { - 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[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[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[149], 38043, 18, "pos"); - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeLast() { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - remove(object) { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeWhere(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[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[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[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[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[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.")); - } - } - (ImmutableListMixin.new = function() { - ; - }).prototype = ImmutableListMixin.prototype; - ImmutableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ImmutableListMixin); - ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; - dart.addTypeCaches(ImmutableListMixin); - ImmutableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ImmutableListMixin, () => ({ - __proto__: dart.getMethods(ImmutableListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ImmutableListMixin, () => ({ - __proto__: dart.getGetters(ImmutableListMixin.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ImmutableListMixin, I[150]); - dart.defineExtensionMethods(ImmutableListMixin, [ - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'removeAt', - 'removeLast', - 'remove', - 'removeWhere', - 'retainWhere', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); - return ImmutableListMixin; - }); - html$.ImmutableListMixin = html$.ImmutableListMixin$(); - dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); - 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[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[149], 11434, 25, "index"); - T$0.RectangleOfnum().as(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[149], 11440, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11468, 27, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.DomRectList.prototype[dart.isList] = true; - dart.addTypeTests(html$.DomRectList); - dart.addTypeCaches(html$.DomRectList); - html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; - dart.setMethodSignature(html$.DomRectList, () => ({ - __proto__: dart.getMethods(html$.DomRectList.__proto__), - [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), - [$_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 - })); - dart.setSetterSignature(html$.DomRectList, () => ({ - __proto__: dart.getSetters(html$.DomRectList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$.DomRectList, I[150]); - dart.registerExtension("ClientRectList", html$.DomRectList); - dart.registerExtension("DOMRectList", html$.DomRectList); - 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]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$.DomRectReadOnly._create_2(x, y, width); - } - if (y != null) { - return html$.DomRectReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomRectReadOnly._create_4(x); - } - return html$.DomRectReadOnly._create_5(); - } - static _create_1(x, y, width, height) { - return new DOMRectReadOnly(x, y, width, height); - } - static _create_2(x, y, width) { - return new DOMRectReadOnly(x, y, width); - } - static _create_3(x, y) { - return new DOMRectReadOnly(x, y); - } - static _create_4(x) { - return new DOMRectReadOnly(x); - } - static _create_5() { - return new DOMRectReadOnly(); - } - get [S$0._bottom]() { - return this.bottom; - } - get [$bottom]() { - return dart.nullCheck(this[S$0._bottom]); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - get [S$0._left$2]() { - return this.left; - } - get [$left]() { - return dart.nullCheck(this[S$0._left$2]); - } - get [S$0._right$2]() { - return this.right; - } - get [$right]() { - return dart.nullCheck(this[S$0._right$2]); - } - get [S$0._top]() { - return this.top; - } - get [$top]() { - return dart.nullCheck(this[S$0._top]); - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMRectReadOnly.fromRect(other_1); - } - return dart.global.DOMRectReadOnly.fromRect(); - } - }; - dart.addTypeTests(html$.DomRectReadOnly); - dart.addTypeCaches(html$.DomRectReadOnly); - html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; - dart.setMethodSignature(html$.DomRectReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$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), - [$topRight]: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num), - [S$0._bottom]: dart.nullable(core.num), - [$bottom]: core.num, - [S$0._height$1]: dart.nullable(core.num), - [$height]: core.num, - [S$0._left$2]: dart.nullable(core.num), - [$left]: core.num, - [S$0._right$2]: dart.nullable(core.num), - [$right]: core.num, - [S$0._top]: dart.nullable(core.num), - [$top]: core.num, - [S$0._width$1]: dart.nullable(core.num), - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.DomRectReadOnly, I[150]); - dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); - 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[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[149], 11684, 25, "index"); - core.String.as(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[149], 11690, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11718, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.DomStringList.prototype[dart.isList] = true; - dart.addTypeTests(html$.DomStringList); - dart.addTypeCaches(html$.DomStringList); - 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 - })); - dart.setSetterSignature(html$.DomStringList, () => ({ - __proto__: dart.getSetters(html$.DomStringList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$.DomStringList, I[150]); - dart.registerExtension("DOMStringList", html$.DomStringList); - html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomStringMap.__(); - } - [S$1.__delete__](...args) { - return this.__delete__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - dart.addTypeTests(html$.DomStringMap); - dart.addTypeCaches(html$.DomStringMap); - dart.setMethodSignature(html$.DomStringMap, () => ({ - __proto__: dart.getMethods(html$.DomStringMap.__proto__), - [S$1.__delete__]: dart.fnType(dart.void, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), - [S$.$item]: dart.fnType(core.String, [core.String]) - })); - dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); - dart.setLibraryUri(html$.DomStringMap, I[150]); - dart.registerExtension("DOMStringMap", html$.DomStringMap); - html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomTokenList.__(); - } - get [$length]() { - return this.length; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [$add](...args) { - return this.add.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - [S$1.$supports](...args) { - return this.supports.apply(this, args); - } - [S$1.$toggle](...args) { - return this.toggle.apply(this, args); - } - }; - dart.addTypeTests(html$.DomTokenList); - dart.addTypeCaches(html$.DomTokenList); - dart.setMethodSignature(html$.DomTokenList, () => ({ - __proto__: dart.getMethods(html$.DomTokenList.__proto__), - [$add]: dart.fnType(dart.void, [core.String]), - [$contains]: dart.fnType(core.bool, [core.String]), - [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), - [$remove]: dart.fnType(dart.void, [core.String]), - [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), - [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, - [S.$value]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.DomTokenList, () => ({ - __proto__: dart.getSetters(html$.DomTokenList.__proto__), - [S.$value]: dart.nullable(core.String) - })); - 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][S._firstElementChild] == null; - } - get length() { - return this[S$1._childElements][$length]; - } - _get(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[149], 11799, 25, "index"); - html$.Element.as(value); - 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[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[149], 11808, 23, "value"); - this[S$1._element][S.$append](value); - return value; - } - get iterator() { - return this.toList()[$iterator]; - } - addAll(iterable) { - T$0.IterableOfElement().as(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[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); - } - for (let element of iterable) { - _element[S.$append](element); - } - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); - } - removeWhere(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[149], 11841, 25, "test"); - this[S$1._filter$2](test, true); - } - [S$1._filter$2](test, 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][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][S.$children][$where](test); - } - for (let e of removed) - e[$remove](); - } - fillRange(start, end, fillValue = null) { - 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[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[149], 11859, 59, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - removeRange(start, 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[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[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], object); - } - static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); - if (html$.Element.is(object)) { - let element = object; - if (element.parentNode == _element) { - _element[S$._removeChild](element); - return true; - } - } - return false; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); - html$.Element.as(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][S.$append](element); - } else { - this[S$1._element].insertBefore(element, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); - T$0.IterableOfElement().as(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[149], 11902, 19, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - clear() { - this[S$1._element][S$._clearChildren](); - } - removeAt(index) { - if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); - let result = this._get(index); - if (result != null) { - this[S$1._element][S$._removeChild](result); - } - return result; - } - removeLast() { - let result = this.last; - this[S$1._element][S$._removeChild](result); - return result; - } - get first() { - return html$._ChildrenElementList._first(this[S$1._element]); - } - set first(value) { - super.first = value; - } - static _first(_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][S._lastElementChild]; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); - return this.first; - } - get rawList() { - return this[S$1._childElements]; - } - }; - (html$._ChildrenElementList._wrap = function(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] = element; - ; - }).prototype = html$._ChildrenElementList.prototype; - dart.addTypeTests(html$._ChildrenElementList); - dart.addTypeCaches(html$._ChildrenElementList); - html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), - [$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, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(html$._ChildrenElementList, I[150]); - dart.setFieldSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element), - [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) - })); - dart.defineExtensionMethods(html$._ChildrenElementList, [ - 'contains', - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'removeWhere', - 'retainWhere', - 'fillRange', - 'replaceRange', - 'removeRange', - 'setRange', - 'remove', - 'insert', - 'insertAll', - 'setAll', - 'clear', - 'removeAt', - 'removeLast' - ]); - dart.defineExtensionAccessors(html$._ChildrenElementList, [ - 'isEmpty', - 'length', - 'iterator', - 'first', - 'last', - 'single' - ]); - const _is_ElementList_default = Symbol('_is_ElementList_default'); - html$.ElementList$ = dart.generic(T => { - class ElementList extends collection.ListBase$(T) {} - (ElementList.new = function() { - ; - }).prototype = ElementList.prototype; - dart.addTypeTests(ElementList); - ElementList.prototype[_is_ElementList_default] = true; - dart.addTypeCaches(ElementList); - 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 __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[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[149], 12345, 25, "index"); - E.as(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[149], 12349, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot modify list")); - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); - } - get first() { - return E.as(this[S$1._nodeList][$first]); - } - set first(value) { - super.first = value; - } - get last() { - return E.as(this[S$1._nodeList][$last]); - } - set last(value) { - super.last = value; - } - get single() { - return E.as(this[S$1._nodeList][$single]); - } - get classes() { - return html$._MultiElementCssClassSet.new(this); - } - get style() { - return new html$._CssStyleDeclarationSet.new(this); - } - set classes(value) { - if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); - this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); - return e[S.$classes] = value; - }, __t$ETovoid())); - } - get contentEdge() { - return new html$._ContentCssListRect.new(this); - } - get paddingEdge() { - return this.first[S.$paddingEdge]; - } - get borderEdge() { - return this.first[S.$borderEdge]; - } - get marginEdge() { - return this.first[S.$marginEdge]; - } - get rawList() { - return this[S$1._nodeList]; - } - get onAbort() { - return html$.Element.abortEvent[S$1._forElementList](this); - } - get onBeforeCopy() { - return html$.Element.beforeCopyEvent[S$1._forElementList](this); - } - get onBeforeCut() { - return html$.Element.beforeCutEvent[S$1._forElementList](this); - } - get onBeforePaste() { - return html$.Element.beforePasteEvent[S$1._forElementList](this); - } - get onBlur() { - return html$.Element.blurEvent[S$1._forElementList](this); - } - get onCanPlay() { - return html$.Element.canPlayEvent[S$1._forElementList](this); - } - get onCanPlayThrough() { - return html$.Element.canPlayThroughEvent[S$1._forElementList](this); - } - get onChange() { - return html$.Element.changeEvent[S$1._forElementList](this); - } - get onClick() { - return html$.Element.clickEvent[S$1._forElementList](this); - } - get onContextMenu() { - return html$.Element.contextMenuEvent[S$1._forElementList](this); - } - get onCopy() { - return html$.Element.copyEvent[S$1._forElementList](this); - } - get onCut() { - return html$.Element.cutEvent[S$1._forElementList](this); - } - get onDoubleClick() { - return html$.Element.doubleClickEvent[S$1._forElementList](this); - } - get onDrag() { - return html$.Element.dragEvent[S$1._forElementList](this); - } - get onDragEnd() { - return html$.Element.dragEndEvent[S$1._forElementList](this); - } - get onDragEnter() { - return html$.Element.dragEnterEvent[S$1._forElementList](this); - } - get onDragLeave() { - return html$.Element.dragLeaveEvent[S$1._forElementList](this); - } - get onDragOver() { - return html$.Element.dragOverEvent[S$1._forElementList](this); - } - get onDragStart() { - return html$.Element.dragStartEvent[S$1._forElementList](this); - } - get onDrop() { - return html$.Element.dropEvent[S$1._forElementList](this); - } - get onDurationChange() { - return html$.Element.durationChangeEvent[S$1._forElementList](this); - } - get onEmptied() { - return html$.Element.emptiedEvent[S$1._forElementList](this); - } - get onEnded() { - return html$.Element.endedEvent[S$1._forElementList](this); - } - get onError() { - return html$.Element.errorEvent[S$1._forElementList](this); - } - get onFocus() { - return html$.Element.focusEvent[S$1._forElementList](this); - } - get onInput() { - return html$.Element.inputEvent[S$1._forElementList](this); - } - get onInvalid() { - return html$.Element.invalidEvent[S$1._forElementList](this); - } - get onKeyDown() { - return html$.Element.keyDownEvent[S$1._forElementList](this); - } - get onKeyPress() { - return html$.Element.keyPressEvent[S$1._forElementList](this); - } - get onKeyUp() { - return html$.Element.keyUpEvent[S$1._forElementList](this); - } - get onLoad() { - return html$.Element.loadEvent[S$1._forElementList](this); - } - get onLoadedData() { - return html$.Element.loadedDataEvent[S$1._forElementList](this); - } - get onLoadedMetadata() { - return html$.Element.loadedMetadataEvent[S$1._forElementList](this); - } - get onMouseDown() { - return html$.Element.mouseDownEvent[S$1._forElementList](this); - } - get onMouseEnter() { - return html$.Element.mouseEnterEvent[S$1._forElementList](this); - } - get onMouseLeave() { - return html$.Element.mouseLeaveEvent[S$1._forElementList](this); - } - get onMouseMove() { - return html$.Element.mouseMoveEvent[S$1._forElementList](this); - } - get onMouseOut() { - return html$.Element.mouseOutEvent[S$1._forElementList](this); - } - get onMouseOver() { - return html$.Element.mouseOverEvent[S$1._forElementList](this); - } - get onMouseUp() { - return html$.Element.mouseUpEvent[S$1._forElementList](this); - } - get onMouseWheel() { - return html$.Element.mouseWheelEvent[S$1._forElementList](this); - } - get onPaste() { - return html$.Element.pasteEvent[S$1._forElementList](this); - } - get onPause() { - return html$.Element.pauseEvent[S$1._forElementList](this); - } - get onPlay() { - return html$.Element.playEvent[S$1._forElementList](this); - } - get onPlaying() { - return html$.Element.playingEvent[S$1._forElementList](this); - } - get onRateChange() { - return html$.Element.rateChangeEvent[S$1._forElementList](this); - } - get onReset() { - return html$.Element.resetEvent[S$1._forElementList](this); - } - get onResize() { - return html$.Element.resizeEvent[S$1._forElementList](this); - } - get onScroll() { - return html$.Element.scrollEvent[S$1._forElementList](this); - } - get onSearch() { - return html$.Element.searchEvent[S$1._forElementList](this); - } - get onSeeked() { - return html$.Element.seekedEvent[S$1._forElementList](this); - } - get onSeeking() { - return html$.Element.seekingEvent[S$1._forElementList](this); - } - get onSelect() { - return html$.Element.selectEvent[S$1._forElementList](this); - } - get onSelectStart() { - return html$.Element.selectStartEvent[S$1._forElementList](this); - } - get onStalled() { - return html$.Element.stalledEvent[S$1._forElementList](this); - } - get onSubmit() { - return html$.Element.submitEvent[S$1._forElementList](this); - } - get onSuspend() { - return html$.Element.suspendEvent[S$1._forElementList](this); - } - get onTimeUpdate() { - return html$.Element.timeUpdateEvent[S$1._forElementList](this); - } - get onTouchCancel() { - return html$.Element.touchCancelEvent[S$1._forElementList](this); - } - get onTouchEnd() { - return html$.Element.touchEndEvent[S$1._forElementList](this); - } - get onTouchEnter() { - return html$.Element.touchEnterEvent[S$1._forElementList](this); - } - get onTouchLeave() { - return html$.Element.touchLeaveEvent[S$1._forElementList](this); - } - get onTouchMove() { - return html$.Element.touchMoveEvent[S$1._forElementList](this); - } - get onTouchStart() { - return html$.Element.touchStartEvent[S$1._forElementList](this); - } - get onTransitionEnd() { - return html$.Element.transitionEndEvent[S$1._forElementList](this); - } - get onVolumeChange() { - return html$.Element.volumeChangeEvent[S$1._forElementList](this); - } - get onWaiting() { - return html$.Element.waitingEvent[S$1._forElementList](this); - } - get onFullscreenChange() { - return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); - } - get onFullscreenError() { - return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); - } - get onWheel() { - return html$.Element.wheelEvent[S$1._forElementList](this); - } - } - (_FrozenElementList._wrap = function(_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[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[149], 12338, 93, "e"); - return !E.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; - dart.addTypeCaches(_FrozenElementList); - _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; - dart.setMethodSignature(_FrozenElementList, () => ({ - __proto__: dart.getMethods(_FrozenElementList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getGetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: html$.CssClassSet, - style: html$.CssStyleDeclarationBase, - contentEdge: html$.CssRect, - paddingEdge: html$.CssRect, - borderEdge: html$.CssRect, - marginEdge: html$.CssRect, - rawList: core.List$(html$.Node), - onAbort: html$.ElementStream$(html$.Event), - onBeforeCopy: html$.ElementStream$(html$.Event), - onBeforeCut: html$.ElementStream$(html$.Event), - onBeforePaste: html$.ElementStream$(html$.Event), - onBlur: html$.ElementStream$(html$.Event), - onCanPlay: html$.ElementStream$(html$.Event), - onCanPlayThrough: html$.ElementStream$(html$.Event), - onChange: html$.ElementStream$(html$.Event), - onClick: html$.ElementStream$(html$.MouseEvent), - onContextMenu: html$.ElementStream$(html$.MouseEvent), - onCopy: html$.ElementStream$(html$.ClipboardEvent), - onCut: html$.ElementStream$(html$.ClipboardEvent), - onDoubleClick: html$.ElementStream$(html$.Event), - onDrag: html$.ElementStream$(html$.MouseEvent), - onDragEnd: html$.ElementStream$(html$.MouseEvent), - onDragEnter: html$.ElementStream$(html$.MouseEvent), - onDragLeave: html$.ElementStream$(html$.MouseEvent), - onDragOver: html$.ElementStream$(html$.MouseEvent), - onDragStart: html$.ElementStream$(html$.MouseEvent), - onDrop: html$.ElementStream$(html$.MouseEvent), - onDurationChange: html$.ElementStream$(html$.Event), - onEmptied: html$.ElementStream$(html$.Event), - onEnded: html$.ElementStream$(html$.Event), - onError: html$.ElementStream$(html$.Event), - onFocus: html$.ElementStream$(html$.Event), - onInput: html$.ElementStream$(html$.Event), - onInvalid: html$.ElementStream$(html$.Event), - onKeyDown: html$.ElementStream$(html$.KeyboardEvent), - onKeyPress: html$.ElementStream$(html$.KeyboardEvent), - onKeyUp: html$.ElementStream$(html$.KeyboardEvent), - onLoad: html$.ElementStream$(html$.Event), - onLoadedData: html$.ElementStream$(html$.Event), - onLoadedMetadata: html$.ElementStream$(html$.Event), - onMouseDown: html$.ElementStream$(html$.MouseEvent), - onMouseEnter: html$.ElementStream$(html$.MouseEvent), - onMouseLeave: html$.ElementStream$(html$.MouseEvent), - onMouseMove: html$.ElementStream$(html$.MouseEvent), - onMouseOut: html$.ElementStream$(html$.MouseEvent), - onMouseOver: html$.ElementStream$(html$.MouseEvent), - onMouseUp: html$.ElementStream$(html$.MouseEvent), - onMouseWheel: html$.ElementStream$(html$.WheelEvent), - onPaste: html$.ElementStream$(html$.ClipboardEvent), - onPause: html$.ElementStream$(html$.Event), - onPlay: html$.ElementStream$(html$.Event), - onPlaying: html$.ElementStream$(html$.Event), - onRateChange: html$.ElementStream$(html$.Event), - onReset: html$.ElementStream$(html$.Event), - onResize: html$.ElementStream$(html$.Event), - onScroll: html$.ElementStream$(html$.Event), - onSearch: html$.ElementStream$(html$.Event), - onSeeked: html$.ElementStream$(html$.Event), - onSeeking: html$.ElementStream$(html$.Event), - onSelect: html$.ElementStream$(html$.Event), - onSelectStart: html$.ElementStream$(html$.Event), - onStalled: html$.ElementStream$(html$.Event), - onSubmit: html$.ElementStream$(html$.Event), - onSuspend: html$.ElementStream$(html$.Event), - onTimeUpdate: html$.ElementStream$(html$.Event), - onTouchCancel: html$.ElementStream$(html$.TouchEvent), - onTouchEnd: html$.ElementStream$(html$.TouchEvent), - onTouchEnter: html$.ElementStream$(html$.TouchEvent), - onTouchLeave: html$.ElementStream$(html$.TouchEvent), - onTouchMove: html$.ElementStream$(html$.TouchEvent), - onTouchStart: html$.ElementStream$(html$.TouchEvent), - onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), - onVolumeChange: html$.ElementStream$(html$.Event), - onWaiting: html$.ElementStream$(html$.Event), - onFullscreenChange: html$.ElementStream$(html$.Event), - onFullscreenError: html$.ElementStream$(html$.Event), - onWheel: html$.ElementStream$(html$.WheelEvent) - })); - dart.setSetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getSetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: core.Iterable$(core.String) - })); - dart.setLibraryUri(_FrozenElementList, I[150]); - dart.setFieldSignature(_FrozenElementList, () => ({ - __proto__: dart.getFields(_FrozenElementList.__proto__), - [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); - dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); - return _FrozenElementList; - }); - 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[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.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]; - } - 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]); - } - }; - (html$.ScrollAlignment._internal = function(_value) { - this[S$1._value$6] = _value; - ; - }).prototype = html$.ScrollAlignment.prototype; - dart.addTypeTests(html$.ScrollAlignment); - dart.addTypeCaches(html$.ScrollAlignment); - 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[337] || CT.C337; - }, - /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[338] || CT.C338; - }, - /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - 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"); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - }; - (html$.EmbedElement.created = function() { - html$.EmbedElement.__proto__.created.call(this); - ; - }).prototype = html$.EmbedElement.prototype; - dart.addTypeTests(html$.EmbedElement); - dart.addTypeCaches(html$.EmbedElement); - dart.setMethodSignature(html$.EmbedElement, () => ({ - __proto__: dart.getMethods(html$.EmbedElement.__proto__), - [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, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String - })); - dart.setSetterSignature(html$.EmbedElement, () => ({ - __proto__: dart.getSetters(html$.EmbedElement.__proto__), - [$height]: core.String, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String - })); - 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[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); - } - static _create_2(type) { - return new ErrorEvent(type); - } - get [S$1.$colno]() { - return this.colno; - } - get [S.$error]() { - return this.error; - } - get [S$1.$filename]() { - return this.filename; - } - get [S$1.$lineno]() { - return this.lineno; - } - get [$message]() { - return this.message; - } - }; - 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), - [S.$error]: dart.nullable(core.Object), - [S$1.$filename]: dart.nullable(core.String), - [S$1.$lineno]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) - })); - 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[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[149], 15742, 49, "url"); - if (eventSourceInitDict != null) { - let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); - return html$.EventSource._create_1(url, eventSourceInitDict_1); - } - return html$.EventSource._create_2(url); - } - static _create_1(url, eventSourceInitDict) { - return new EventSource(url, eventSourceInitDict); - } - static _create_2(url) { - return new EventSource(url); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - get [S.$onError]() { - return html$.EventSource.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.EventSource.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.EventSource.openEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.EventSource); - dart.addTypeCaches(html$.EventSource); - 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), - [S$.$url]: dart.nullable(core.String), - [S$1.$withCredentials]: dart.nullable(core.bool), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) - })); - 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[226] || CT.C226; - }, - /*html$.EventSource.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.EventSource.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.EventSource.CLOSED*/get CLOSED() { - return 2; - }, - /*html$.EventSource.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.EventSource.OPEN*/get OPEN() { - return 1; - } - }, 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[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[149], 15824, 15, "_ptr"); - this[S$1._ptr] = _ptr; - ; - }).prototype = html$.Events.prototype; - dart.addTypeTests(html$.Events); - dart.addTypeCaches(html$.Events); - dart.setMethodSignature(html$.Events, () => ({ - __proto__: dart.getMethods(html$.Events.__proto__), - _get: dart.fnType(async.Stream$(html$.Event), [core.String]) - })); - 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[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); - } - } - return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); - } - }; - (html$.ElementEvents.new = function(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[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; - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return this.source; - } - }; - 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), - [S$1.$lastEventId]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), - [S.$source]: dart.nullable(core.Object) - })); - dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); - dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); - html$.External = class External extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.External.__(); - } - [S$1.$AddSearchProvider](...args) { - return this.AddSearchProvider.apply(this, args); - } - [S$1.$IsSearchProviderInstalled](...args) { - return this.IsSearchProviderInstalled.apply(this, args); - } - }; - dart.addTypeTests(html$.External); - dart.addTypeCaches(html$.External); - dart.setMethodSignature(html$.External, () => ({ - __proto__: dart.getMethods(html$.External.__proto__), - [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), - [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) - })); - dart.setStaticMethodSignature(html$.External, () => ['__']); - dart.setLibraryUri(html$.External, I[150]); - dart.registerExtension("External", html$.External); - 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); - return html$.FaceDetector._create_1(faceDetectorOptions_1); - } - return html$.FaceDetector._create_2(); - } - static ['_#new#tearOff'](faceDetectorOptions = null) { - return html$.FaceDetector.new(faceDetectorOptions); - } - static _create_1(faceDetectorOptions) { - return new FaceDetector(faceDetectorOptions); - } - static _create_2() { - return new FaceDetector(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } - }; - dart.addTypeTests(html$.FaceDetector); - dart.addTypeCaches(html$.FaceDetector); - dart.setMethodSignature(html$.FaceDetector, () => ({ - __proto__: dart.getMethods(html$.FaceDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) - })); - 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[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); - } - get [S$.$protocol]() { - return this.protocol; - } - get [S$1.$provider]() { - return this.provider; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } - }; - 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), - [S$1.$provider]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) - })); - 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[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); - } - get [S$1.$clientId]() { - return this.clientId; - } - get [S$1.$isReload]() { - return this.isReload; - } - get [S$1.$preloadResponse]() { - return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } - }; - dart.addTypeTests(html$.FetchEvent); - dart.addTypeCaches(html$.FetchEvent); - 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), - [S$1.$isReload]: dart.nullable(core.bool), - [S$1.$preloadResponse]: async.Future, - [S$.$request]: dart.nullable(html$._Request) - })); - 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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$1.$elements]() { - return this.elements; - } - get [S$.$form]() { - return this.form; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - }; - (html$.FieldSetElement.created = function() { - html$.FieldSetElement.__proto__.created.call(this); - ; - }).prototype = html$.FieldSetElement.prototype; - dart.addTypeTests(html$.FieldSetElement); - dart.addTypeCaches(html$.FieldSetElement); - dart.setMethodSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getMethods(html$.FieldSetElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1.$elements]: dart.nullable(core.List$(html$.Node)), - [S$.$form]: dart.nullable(html$.FormElement), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S$.$willValidate]: core.bool - })); - dart.setSetterSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getSetters(html$.FieldSetElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [$name]: core.String - })); - 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[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); - } - static _create_2(fileBits, fileName) { - return new File(fileBits, fileName); - } - get [S$1.$lastModified]() { - return this.lastModified; - } - get [S$1.$lastModifiedDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); - } - get [S$1._get_lastModifiedDate]() { - return this.lastModifiedDate; - } - get [$name]() { - return this.name; - } - get [S$1.$relativePath]() { - return this.webkitRelativePath; - } - }; - 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), - [S$1.$lastModifiedDate]: core.DateTime, - [S$1._get_lastModifiedDate]: dart.dynamic, - [$name]: core.String, - [S$1.$relativePath]: dart.nullable(core.String) - })); - 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[149], 16178, 20, "value"); - _js_helper.applyExtension("FileWriter", value); - completer.complete(value); - }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._file$1](...args) { - return this.file.apply(this, args); - } - [S$1.$file]() { - let completer = T$0.CompleterOfFile().new(); - this[S$1._file$1](dart.fn(value => { - _js_helper.applyExtension("File", value); - completer.complete(value); - }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - }; - dart.addTypeTests(html$.FileEntry); - dart.addTypeCaches(html$.FileEntry); - dart.setMethodSignature(html$.FileEntry, () => ({ - __proto__: dart.getMethods(html$.FileEntry.__proto__), - [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), - [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.setStaticMethodSignature(html$.FileEntry, () => ['__']); - dart.setLibraryUri(html$.FileEntry, I[150]); - dart.registerExtension("FileEntry", html$.FileEntry); - 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[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[149], 16224, 25, "index"); - html$.File.as(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[149], 16230, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 16258, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.FileList.prototype[dart.isList] = true; - dart.addTypeTests(html$.FileList); - dart.addTypeCaches(html$.FileList); - html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; - dart.setMethodSignature(html$.FileList, () => ({ - __proto__: dart.getMethods(html$.FileList.__proto__), - [$_get]: dart.fnType(html$.File, [core.int]), - [$_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 - })); - dart.setSetterSignature(html$.FileList, () => ({ - __proto__: dart.getSetters(html$.FileList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$.FileList, I[150]); - dart.registerExtension("FileList", html$.FileList); - html$.FileReader = class FileReader$ extends html$.EventTarget { - get [S.$result]() { - let res = this.result; - if (typed_data.ByteBuffer.is(res)) { - return typed_data.Uint8List.view(res); - } - 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(); - } - get [S.$error]() { - return this.error; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$readAsArrayBuffer](...args) { - return this.readAsArrayBuffer.apply(this, args); - } - [S$1.$readAsDataUrl](...args) { - return this.readAsDataURL.apply(this, args); - } - [S$1.$readAsText](...args) { - return this.readAsText.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileReader.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileReader.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.FileReader.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.FileReader.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.FileReader.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileReader.progressEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.FileReader); - dart.addTypeCaches(html$.FileReader); - dart.setMethodSignature(html$.FileReader, () => ({ - __proto__: dart.getMethods(html$.FileReader.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), - [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), - [S.$error]: dart.nullable(html$.DomException), - [S.$readyState]: core.int, - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent) - })); - 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[341] || CT.C341; - }, - /*html$.FileReader.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.FileReader.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.FileReader.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileReader.DONE*/get DONE() { - return 2; - }, - /*html$.FileReader.EMPTY*/get EMPTY() { - return 0; - }, - /*html$.FileReader.LOADING*/get LOADING() { - return 1; - } - }, false); - dart.registerExtension("FileReader", html$.FileReader); - html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FileSystem.__(); - } - static get supported() { - return !!window.webkitRequestFileSystem; - } - get [$name]() { - return this.name; - } - get [S$1.$root]() { - return this.root; - } - }; - 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.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; - } - get [$length]() { - return this.length; - } - get [S$0.$position]() { - return this.position; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$seek](...args) { - return this.seek.apply(this, args); - } - [$truncate](...args) { - return this.truncate.apply(this, args); - } - [S$1.$write](...args) { - return this.write.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileWriter.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileWriter.errorEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileWriter.progressEvent.forTarget(this); - } - get [S$1.$onWrite]() { - return html$.FileWriter.writeEvent.forTarget(this); - } - get [S$1.$onWriteEnd]() { - return html$.FileWriter.writeEndEvent.forTarget(this); - } - get [S$1.$onWriteStart]() { - return html$.FileWriter.writeStartEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.FileWriter); - dart.addTypeCaches(html$.FileWriter); - dart.setMethodSignature(html$.FileWriter, () => ({ - __proto__: dart.getMethods(html$.FileWriter.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$seek]: dart.fnType(dart.void, [core.int]), - [$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), - [$length]: dart.nullable(core.int), - [S$0.$position]: dart.nullable(core.int), - [S.$readyState]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) - })); - 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[341] || CT.C341; - }, - /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[346] || CT.C346; - }, - /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[347] || CT.C347; - }, - /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[348] || CT.C348; - }, - /*html$.FileWriter.DONE*/get DONE() { - return 2; - }, - /*html$.FileWriter.INIT*/get INIT() { - return 0; - }, - /*html$.FileWriter.WRITING*/get WRITING() { - return 1; - } - }, 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[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); - } - static _create_2(type) { - return new FocusEvent(type); - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } - }; - 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[150]); - dart.registerExtension("FocusEvent", html$.FocusEvent); - html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FontFace.__(); - } - static new(family, source, descriptors = null) { - 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); - } - static _create_2(family, source) { - return new FontFace(family, source); - } - get [S$0.$display]() { - return this.display; - } - set [S$0.$display](value) { - this.display = value; - } - get [S$1.$family]() { - return this.family; - } - set [S$1.$family](value) { - this.family = value; - } - get [S$1.$featureSettings]() { - return this.featureSettings; - } - set [S$1.$featureSettings](value) { - this.featureSettings = value; - } - get [S$1.$loaded]() { - return js_util.promiseToFuture(html$.FontFace, this.loaded); - } - get [S$.$status]() { - return this.status; - } - get [S$1.$stretch]() { - return this.stretch; - } - set [S$1.$stretch](value) { - this.stretch = value; - } - get [S.$style]() { - return this.style; - } - set [S.$style](value) { - this.style = value; - } - get [S$0.$unicodeRange]() { - return this.unicodeRange; - } - set [S$0.$unicodeRange](value) { - this.unicodeRange = value; - } - get [S$1.$variant]() { - return this.variant; - } - set [S$1.$variant](value) { - this.variant = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } - [S$.$load]() { - return js_util.promiseToFuture(html$.FontFace, this.load()); - } - }; - dart.addTypeTests(html$.FontFace); - dart.addTypeCaches(html$.FontFace); - 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), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$loaded]: async.Future$(html$.FontFace), - [S$.$status]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.FontFace, () => ({ - __proto__: dart.getSetters(html$.FontFace.__proto__), - [S$0.$display]: dart.nullable(core.String), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) - })); - 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; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$1.$check](...args) { - return this.check.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [$forEach](...args) { - return this.forEach.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - get [S$1.$onLoading]() { - return html$.FontFaceSet.loadingEvent.forTarget(this); - } - get [S$1.$onLoadingDone]() { - return html$.FontFaceSet.loadingDoneEvent.forTarget(this); - } - get [S$1.$onLoadingError]() { - return html$.FontFaceSet.loadingErrorEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.FontFaceSet); - dart.addTypeCaches(html$.FontFaceSet); - dart.setMethodSignature(html$.FontFaceSet, () => ({ - __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$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), - [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) - })); - dart.setLibraryUri(html$.FontFaceSet, I[150]); - dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); - dart.defineLazy(html$.FontFaceSet, { - /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[349] || CT.C349; - }, - /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[350] || CT.C350; - }, - /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - 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[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); - } - static _create_2(type) { - return new FontFaceSetLoadEvent(type); - } - get [S$1.$fontfaces]() { - return this.fontfaces; - } - }; - 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[150]); - dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); - 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[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[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); - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } - }; - dart.addTypeTests(html$.ForeignFetchEvent); - dart.addTypeCaches(html$.ForeignFetchEvent); - 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[150]); - dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); - 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); - } - static _create_2() { - return new FormData(); - } - static get supported() { - return !!window.FormData; - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S$1.$appendBlob](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } - }; - dart.addTypeTests(html$.FormData); - dart.addTypeCaches(html$.FormData); - dart.setMethodSignature(html$.FormData, () => ({ - __proto__: dart.getMethods(html$.FormData.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) - })); - 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; - } - set [S$1.$acceptCharset](value) { - this.acceptCharset = value; - } - get [S$1.$action]() { - return this.action; - } - set [S$1.$action](value) { - this.action = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } - get [S$1.$enctype]() { - return this.enctype; - } - set [S$1.$enctype](value) { - this.enctype = value; - } - get [$length]() { - return this.length; - } - get [S$1.$method]() { - return this.method; - } - set [S$1.$method](value) { - this.method = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$noValidate]() { - return this.noValidate; - } - set [S$1.$noValidate](value) { - this.noValidate = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$1.$requestAutocomplete](details) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - this[S$1._requestAutocomplete_1](details_1); - return; - } - [S$1._requestAutocomplete_1](...args) { - return this.requestAutocomplete.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$1.$submit](...args) { - return this.submit.apply(this, args); - } - }; - (html$.FormElement.created = function() { - html$.FormElement.__proto__.created.call(this); - ; - }).prototype = html$.FormElement.prototype; - dart.addTypeTests(html$.FormElement); - dart.addTypeCaches(html$.FormElement); - dart.setMethodSignature(html$.FormElement, () => ({ - __proto__: dart.getMethods(html$.FormElement.__proto__), - [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(html$.Element, [core.int]), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), - [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.FormElement, () => ({ - __proto__: dart.getSetters(html$.FormElement.__proto__), - [S$1.$acceptCharset]: dart.nullable(core.String), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.FormElement, I[150]); - dart.registerExtension("HTMLFormElement", html$.FormElement); - html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Gamepad.__(); - } - get [S$1.$axes]() { - return this.axes; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1.$connected]() { - return this.connected; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$1.$hand]() { - return this.hand; - } - get [S.$id]() { - return this.id; - } - get [S.$index]() { - return this.index; - } - get [S$1.$mapping]() { - return this.mapping; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$.$timestamp]() { - return this.timestamp; - } - }; - 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)), - [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), - [S$1.$connected]: dart.nullable(core.bool), - [S$1.$displayId]: dart.nullable(core.int), - [S$1.$hand]: dart.nullable(core.String), - [S.$id]: dart.nullable(core.String), - [S.$index]: dart.nullable(core.int), - [S$1.$mapping]: dart.nullable(core.String), - [S$1.$pose]: dart.nullable(html$.GamepadPose), - [S$.$timestamp]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.Gamepad, I[150]); - dart.registerExtension("Gamepad", html$.Gamepad); - html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadButton.__(); - } - get [S$.$pressed]() { - return this.pressed; - } - get [S$1.$touched]() { - return this.touched; - } - get [S.$value]() { - return this.value; - } - }; - 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[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[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); - } - static _create_2(type) { - return new GamepadEvent(type); - } - get [S$1.$gamepad]() { - return this.gamepad; - } - }; - 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[150]); - dart.registerExtension("GamepadEvent", html$.GamepadEvent); - html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$hasOrientation]() { - return this.hasOrientation; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } - }; - 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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$hasOrientation]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) - })); - dart.setLibraryUri(html$.GamepadPose, I[150]); - dart.registerExtension("GamepadPose", html$.GamepadPose); - 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; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let completer = T$0.CompleterOfGeoposition().new(); - try { - this[S$1._getCurrentPosition](dart.fn(position => { - completer.complete(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); - completer.completeError(error); - }, T$0.PositionErrorTovoid()), options); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - completer.completeError(e, stacktrace); - } else - throw e$; - } - return completer.future; - } - [S$1.$watchPosition](opts) { - let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; - let timeout = opts && 'timeout' in opts ? opts.timeout : null; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let watchId = null; - let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - 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[149], 17009, 14, "watchId == null"); - watchId = this[S$1._watchPosition](dart.fn(position => { - controller.add(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); - controller.addError(error); - }, T$0.PositionErrorTovoid()), options); - }, T$.VoidTovoid()); - return controller.stream; - } - [S$1._ensurePosition](domPosition) { - try { - if (html$.Geoposition.is(domPosition)) { - return domPosition; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[149], 17040, 46, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); - return; - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_3](successCallback_1); - return; - } - [S$1._getCurrentPosition_1](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_2](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_3](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_2](successCallback_1, errorCallback); - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_3](successCallback_1); - } - [S$1._watchPosition_1](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_2](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_3](...args) { - return this.watchPosition.apply(this, args); - } - }; - dart.addTypeTests(html$.Geolocation); - dart.addTypeCaches(html$.Geolocation); - dart.setMethodSignature(html$.Geolocation, () => ({ - __proto__: dart.getMethods(html$.Geolocation.__proto__), - [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), - [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, [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, [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.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; - } - get timestamp() { - return this[S$1._ptr].timestamp; - } - }; - (html$._GeopositionWrapper.new = function(_ptr) { - this[S$1._ptr] = _ptr; - ; - }).prototype = html$._GeopositionWrapper.prototype; - dart.addTypeTests(html$._GeopositionWrapper); - dart.addTypeCaches(html$._GeopositionWrapper); - html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; - dart.setGetterSignature(html$._GeopositionWrapper, () => ({ - __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), - coords: html$.Coordinates, - [S$.$coords]: html$.Coordinates, - timestamp: core.int, - [S$.$timestamp]: core.int - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Geoposition.__(); - } - get [S$.$coords]() { - return this.coords; - } - get [S$.$timestamp]() { - return this.timestamp; - } - }; - 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[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); - } - get onBlur() { - return html$.GlobalEventHandlers.blurEvent.forTarget(this); - } - get onCanPlay() { - return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); - } - get onCanPlayThrough() { - return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); - } - get onChange() { - return html$.GlobalEventHandlers.changeEvent.forTarget(this); - } - get onClick() { - return html$.GlobalEventHandlers.clickEvent.forTarget(this); - } - get onContextMenu() { - return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); - } - get onDoubleClick() { - return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); - } - get onDrag() { - return html$.GlobalEventHandlers.dragEvent.forTarget(this); - } - get onDragEnd() { - return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); - } - get onDragEnter() { - return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); - } - get onDragLeave() { - return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); - } - get onDragOver() { - return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); - } - get onDragStart() { - return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); - } - get onDrop() { - return html$.GlobalEventHandlers.dropEvent.forTarget(this); - } - get onDurationChange() { - return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); - } - get onEmptied() { - return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); - } - get onEnded() { - return html$.GlobalEventHandlers.endedEvent.forTarget(this); - } - get onError() { - return html$.GlobalEventHandlers.errorEvent.forTarget(this); - } - get onFocus() { - return html$.GlobalEventHandlers.focusEvent.forTarget(this); - } - get onInput() { - return html$.GlobalEventHandlers.inputEvent.forTarget(this); - } - get onInvalid() { - return html$.GlobalEventHandlers.invalidEvent.forTarget(this); - } - get onKeyDown() { - return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); - } - get onKeyPress() { - return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); - } - get onKeyUp() { - return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); - } - get onLoad() { - return html$.GlobalEventHandlers.loadEvent.forTarget(this); - } - get onLoadedData() { - return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); - } - get onLoadedMetadata() { - return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); - } - get onMouseDown() { - return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); - } - get onMouseEnter() { - return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); - } - get onMouseLeave() { - return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); - } - get onMouseMove() { - return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); - } - get onMouseOut() { - return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); - } - get onMouseOver() { - return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); - } - get onMouseUp() { - return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); - } - get onMouseWheel() { - return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); - } - get onPause() { - return html$.GlobalEventHandlers.pauseEvent.forTarget(this); - } - get onPlay() { - return html$.GlobalEventHandlers.playEvent.forTarget(this); - } - get onPlaying() { - return html$.GlobalEventHandlers.playingEvent.forTarget(this); - } - get onRateChange() { - return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); - } - get onReset() { - return html$.GlobalEventHandlers.resetEvent.forTarget(this); - } - get onResize() { - return html$.GlobalEventHandlers.resizeEvent.forTarget(this); - } - get onScroll() { - return html$.GlobalEventHandlers.scrollEvent.forTarget(this); - } - get onSeeked() { - return html$.GlobalEventHandlers.seekedEvent.forTarget(this); - } - get onSeeking() { - return html$.GlobalEventHandlers.seekingEvent.forTarget(this); - } - get onSelect() { - return html$.GlobalEventHandlers.selectEvent.forTarget(this); - } - get onStalled() { - return html$.GlobalEventHandlers.stalledEvent.forTarget(this); - } - get onSubmit() { - return html$.GlobalEventHandlers.submitEvent.forTarget(this); - } - get onSuspend() { - return html$.GlobalEventHandlers.suspendEvent.forTarget(this); - } - get onTimeUpdate() { - return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); - } - get onTouchCancel() { - return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); - } - get onTouchEnd() { - return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); - } - get onTouchMove() { - return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); - } - get onTouchStart() { - return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); - } - get onVolumeChange() { - return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); - } - get onWaiting() { - return html$.GlobalEventHandlers.waitingEvent.forTarget(this); - } - get onWheel() { - return html$.GlobalEventHandlers.wheelEvent.forTarget(this); - } - }; - (html$.GlobalEventHandlers[dart.mixinNew] = function() { - }).prototype = html$.GlobalEventHandlers.prototype; - 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), - [S.$onAbort]: async.Stream$(html$.Event), - onBlur: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - onCanPlay: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - onCanPlayThrough: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - onChange: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - onClick: async.Stream$(html$.MouseEvent), - [S.$onClick]: async.Stream$(html$.MouseEvent), - onContextMenu: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - onDoubleClick: async.Stream$(html$.Event), - [S.$onDoubleClick]: async.Stream$(html$.Event), - onDrag: async.Stream$(html$.MouseEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - onDragEnd: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - onDragEnter: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - onDragLeave: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - onDragOver: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - onDragStart: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - onDrop: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - onDurationChange: async.Stream$(html$.Event), - [S.$onDurationChange]: async.Stream$(html$.Event), - onEmptied: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - onEnded: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - onError: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - onFocus: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - onInput: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - onInvalid: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - onKeyDown: async.Stream$(html$.KeyboardEvent), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - onKeyPress: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - onKeyUp: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - onLoad: async.Stream$(html$.Event), - [S.$onLoad]: async.Stream$(html$.Event), - onLoadedData: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - onLoadedMetadata: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - onMouseDown: async.Stream$(html$.MouseEvent), - [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - onMouseEnter: async.Stream$(html$.MouseEvent), - [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), - onMouseLeave: async.Stream$(html$.MouseEvent), - [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), - onMouseMove: async.Stream$(html$.MouseEvent), - [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), - onMouseOut: async.Stream$(html$.MouseEvent), - [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), - onMouseOver: async.Stream$(html$.MouseEvent), - [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), - onMouseUp: async.Stream$(html$.MouseEvent), - [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), - onMouseWheel: async.Stream$(html$.WheelEvent), - [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), - onPause: async.Stream$(html$.Event), - [S$.$onPause]: async.Stream$(html$.Event), - onPlay: async.Stream$(html$.Event), - [S$.$onPlay]: async.Stream$(html$.Event), - onPlaying: async.Stream$(html$.Event), - [S$.$onPlaying]: async.Stream$(html$.Event), - onRateChange: async.Stream$(html$.Event), - [S$.$onRateChange]: async.Stream$(html$.Event), - onReset: async.Stream$(html$.Event), - [S$.$onReset]: async.Stream$(html$.Event), - onResize: async.Stream$(html$.Event), - [S$.$onResize]: async.Stream$(html$.Event), - onScroll: async.Stream$(html$.Event), - [S$.$onScroll]: async.Stream$(html$.Event), - onSeeked: async.Stream$(html$.Event), - [S$.$onSeeked]: async.Stream$(html$.Event), - onSeeking: async.Stream$(html$.Event), - [S$.$onSeeking]: async.Stream$(html$.Event), - onSelect: async.Stream$(html$.Event), - [S$.$onSelect]: async.Stream$(html$.Event), - onStalled: async.Stream$(html$.Event), - [S$.$onStalled]: async.Stream$(html$.Event), - 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), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - onTouchCancel: async.Stream$(html$.TouchEvent), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - onTouchEnd: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - onTouchMove: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - onTouchStart: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - onVolumeChange: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - onWaiting: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - onWheel: async.Stream$(html$.WheelEvent), - [S$.$onWheel]: async.Stream$(html$.WheelEvent) - })); - 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', - 'onCanPlay', - 'onCanPlayThrough', - 'onChange', - 'onClick', - 'onContextMenu', - 'onDoubleClick', - 'onDrag', - 'onDragEnd', - 'onDragEnter', - 'onDragLeave', - 'onDragOver', - 'onDragStart', - 'onDrop', - 'onDurationChange', - 'onEmptied', - 'onEnded', - 'onError', - 'onFocus', - 'onInput', - 'onInvalid', - 'onKeyDown', - 'onKeyPress', - 'onKeyUp', - 'onLoad', - 'onLoadedData', - 'onLoadedMetadata', - 'onMouseDown', - 'onMouseEnter', - 'onMouseLeave', - 'onMouseMove', - 'onMouseOut', - 'onMouseOver', - 'onMouseUp', - 'onMouseWheel', - 'onPause', - 'onPlay', - 'onPlaying', - 'onRateChange', - 'onReset', - 'onResize', - 'onScroll', - 'onSeeked', - 'onSeeking', - 'onSelect', - 'onStalled', - 'onSubmit', - 'onSuspend', - 'onTimeUpdate', - 'onTouchCancel', - 'onTouchEnd', - 'onTouchMove', - 'onTouchStart', - 'onVolumeChange', - 'onWaiting', - 'onWheel' - ]); - dart.defineLazy(html$.GlobalEventHandlers, { - /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - 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); - return html$.Gyroscope._create_1(sensorOptions_1); - } - return html$.Gyroscope._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Gyroscope.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Gyroscope(sensorOptions); - } - static _create_2() { - return new Gyroscope(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - 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[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; - } - set [S$0.$color](value) { - this.color = value; - } - }; - (html$.HRElement.created = function() { - html$.HRElement.__proto__.created.call(this); - ; - }).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 - })); - dart.setSetterSignature(html$.HRElement, () => ({ - __proto__: dart.getSetters(html$.HRElement.__proto__), - [S$0.$color]: core.String - })); - 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[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; - 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[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); - } - static _create_2(type) { - return new HashChangeEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("HashChangeEvent"); - } - get [S$1.$newUrl]() { - return this.newURL; - } - get [S$1.$oldUrl]() { - return this.oldURL; - } - }; - 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.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); - ; - }).prototype = html$.HeadElement.prototype; - dart.addTypeTests(html$.HeadElement); - dart.addTypeCaches(html$.HeadElement); - dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); - dart.setLibraryUri(html$.HeadElement, I[150]); - dart.registerExtension("HTMLHeadElement", html$.HeadElement); - 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); - } - static _create_2() { - return new Headers(); - } - }; - dart.addTypeTests(html$.Headers); - dart.addTypeCaches(html$.Headers); - 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); - ; - }).prototype = html$.HeadingElement.prototype; - dart.addTypeTests(html$.HeadingElement); - dart.addTypeCaches(html$.HeadingElement); - 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.JavaScriptObject { - static get supportsState() { - return !!window.history.pushState; - } - static ['_#_#tearOff']() { - return html$.History.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$scrollRestoration]() { - return this.scrollRestoration; - } - set [S$1.$scrollRestoration](value) { - this.scrollRestoration = value; - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } - [S$1.$back](...args) { - return this.back.apply(this, args); - } - [S$1.$forward](...args) { - return this.forward.apply(this, args); - } - [S$1.$go](...args) { - return this.go.apply(this, args); - } - [S$1.$pushState](data, title, url) { - 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; - } - [S$1._pushState_1](...args) { - return this.pushState.apply(this, args); - } - [S$1.$replaceState](data, title, url) { - 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; - } - [S$1._replaceState_1](...args) { - return this.replaceState.apply(this, args); - } - }; - dart.addTypeTests(html$.History); - dart.addTypeCaches(html$.History); - html$.History[dart.implements] = () => [html$.HistoryBase]; - dart.setMethodSignature(html$.History, () => ({ - __proto__: dart.getMethods(html$.History.__proto__), - [S$1.$back]: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), - [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [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, - [S$1.$scrollRestoration]: dart.nullable(core.String), - [S$.$state]: dart.dynamic, - [S$1._get_state]: dart.dynamic - })); - dart.setSetterSignature(html$.History, () => ({ - __proto__: dart.getSetters(html$.History.__proto__), - [S$1.$scrollRestoration]: dart.nullable(core.String) - })); - dart.setStaticGetterSignature(html$.History, () => ['supportsState']); - dart.setLibraryUri(html$.History, I[150]); - dart.registerExtension("History", html$.History); - 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[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[149], 17737, 25, "index"); - html$.Node.as(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[149], 17743, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 17771, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - }; - html$.HtmlCollection.prototype[dart.isList] = true; - dart.addTypeTests(html$.HtmlCollection); - dart.addTypeCaches(html$.HtmlCollection); - 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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 - })); - dart.setSetterSignature(html$.HtmlCollection, () => ({ - __proto__: dart.getSetters(html$.HtmlCollection.__proto__), - [$length]: core.int - })); - 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; - } - set [S$1.$body](value) { - this.body = value; - } - [S$1.$caretRangeFromPoint](x, y) { - return this[S$1._caretRangeFromPoint](x, y); - } - [S$1.$elementFromPoint](x, 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$1._head$1]; - } - get [S$1.$lastModified]() { - return this[S$1._lastModified]; - } - get [S$1.$preferredStylesheetSet]() { - return this[S$1._preferredStylesheetSet]; - } - get [S$1.$referrer]() { - return this[S$1._referrer]; - } - get [S$1.$selectedStylesheetSet]() { - return this[S$1._selectedStylesheetSet]; - } - set [S$1.$selectedStylesheetSet](value) { - this[S$1._selectedStylesheetSet] = value; - } - get [S$1.$styleSheets]() { - return this[S$1._styleSheets]; - } - get [S.$title]() { - return this[S$1._title]; - } - set [S.$title](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[149], 17894, 36, "tag"); - return html$._registerCustomElement(window, this, tag, options); - } - [S$1.$register](tag, customElementClass, opts) { - 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[149], 17917, 65, "e"); - if (typeof e.hidden !== "undefined") { - return "visibilitychange"; - } else if (typeof e.mozHidden !== "undefined") { - return "mozvisibilitychange"; - } else if (typeof e.msHidden !== "undefined") { - return "msvisibilitychange"; - } else if (typeof e.webkitHidden !== "undefined") { - return "webkitvisibilitychange"; - } - return "visibilitychange"; - } - get [S$1.$onVisibilityChange]() { - return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); - } - [S$1.$createElementUpgrader](type, opts) { - 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); - } - }; - dart.addTypeTests(html$.HtmlDocument); - dart.addTypeCaches(html$.HtmlDocument); - dart.setMethodSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getMethods(html$.HtmlDocument.__proto__), - [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), - [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), - [S.$head]: dart.nullable(html$.HeadElement), - [S$1.$lastModified]: dart.nullable(core.String), - [S$1.$preferredStylesheetSet]: dart.nullable(core.String), - [S$1.$referrer]: core.String, - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S.$title]: core.String, - [S$1.$onVisibilityChange]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getSetters(html$.HtmlDocument.__proto__), - [S$1.$body]: dart.nullable(html$.BodyElement), - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S.$title]: core.String - })); - dart.setLibraryUri(html$.HtmlDocument, I[150]); - dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); - dart.defineLazy(html$.HtmlDocument, { - /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - 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.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); - ; - }).prototype = html$.HtmlHtmlElement.prototype; - dart.addTypeTests(html$.HtmlHtmlElement); - dart.addTypeCaches(html$.HtmlHtmlElement); - dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); - dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); - dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); - html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.HtmlHyperlinkElementUtils.__(); - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - }; - 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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ - __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - 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); - } - }; - dart.addTypeTests(html$.HtmlOptionsCollection); - dart.addTypeCaches(html$.HtmlOptionsCollection); - dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ - __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), - [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) - })); - 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); - } - get [S.$onError]() { - return html$.HttpRequestEventTarget.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.HttpRequestEventTarget.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.HttpRequestEventTarget.progressEvent.forTarget(this); - } - get [S$1.$onTimeout]() { - return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); - } - }; - 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), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) - })); - 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[341] || CT.C341; - }, - /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - 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[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[149], 18120, 28, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - static postFormData(url, data, opts) { - 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[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]("&"); - if (requestHeaders == null) { - requestHeaders = new (T$.IdentityMapOfString$String()).new(); - } - requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); - 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[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; - let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; - let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; - let sendData = opts && 'sendData' in opts ? opts.sendData : null; - let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; - let completer = T$0.CompleterOfHttpRequest().new(); - let xhr = html$.HttpRequest.new(); - if (method == null) { - method = "GET"; - } - xhr.open(method, url, {async: true}); - if (withCredentials != null) { - xhr.withCredentials = withCredentials; - } - if (responseType != null) { - xhr.responseType = responseType; - } - if (mimeType != null) { - xhr.overrideMimeType(mimeType); - } - if (requestHeaders != null) { - requestHeaders[$forEach](dart.fn((header, 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())); - } - if (onProgress != null) { - xhr[S$.$onProgress].listen(onProgress); - } - xhr[S.$onLoad].listen(dart.fn(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; - let notModified = status === 304; - let unknownRedirect = status > 307 && status < 400; - if (accepted || fileUri || notModified || unknownRedirect) { - completer.complete(xhr); - } else { - completer.completeError(e); - } - }, T$0.ProgressEventTovoid())); - xhr[S.$onError].listen(dart.bind(completer, 'completeError')); - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - static get supportsProgressEvent() { - let xhr = html$.HttpRequest.new(); - return "onprogress" in xhr; - } - static get supportsCrossOrigin() { - let xhr = html$.HttpRequest.new(); - return "withCredentials" in xhr; - } - static get supportsLoadEndEvent() { - let xhr = html$.HttpRequest.new(); - return "onloadend" in xhr; - } - static get supportsOverrideMimeType() { - let xhr = html$.HttpRequest.new(); - return "overrideMimeType" in xhr; - } - static requestCrossOrigin(url, opts) { - 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[149], 18343, 69, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - let completer = T$0.CompleterOfString().new(); - if (method == null) { - method = "GET"; - } - let xhr = new XDomainRequest(); - xhr.open(method, url); - xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - let response = xhr.responseText; - completer.complete(T$0.FutureOrNOfString().as(response)); - }, T$.dynamicToNull()), 1); - xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - completer.completeError(core.Object.as(e)); - }, T$.dynamicToNull()), 1); - xhr.onprogress = {}; - xhr.ontimeout = {}; - xhr.timeout = Number.MAX_VALUE; - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - get [S$1.$responseHeaders]() { - let headers = new (T$.IdentityMapOfString$String()).new(); - let headersString = this.getAllResponseHeaders(); - if (headersString == null) { - return headers; - } - let headersList = headersString[$split]("\r\n"); - for (let header of headersList) { - if (header[$isEmpty]) { - continue; - } - let splitIdx = header[$indexOf](": "); - if (splitIdx === -1) { - continue; - } - let key = header[$substring](0, splitIdx)[$toLowerCase](); - let value = header[$substring](splitIdx + 2); - if (dart.test(headers[$containsKey](key))) { - headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); - } else { - headers[$_set](key, value); - } - } - return headers; - } - [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(); - } - static _create_1() { - return new XMLHttpRequest(); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$response]() { - return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); - } - get [S$1._get_response]() { - return this.response; - } - get [S$1.$responseText]() { - return this.responseText; - } - get [S$1.$responseType]() { - return this.responseType; - } - set [S$1.$responseType](value) { - this.responseType = value; - } - get [S$1.$responseUrl]() { - return this.responseURL; - } - get [S$1.$responseXml]() { - return this.responseXML; - } - get [S$.$status]() { - return this.status; - } - get [S$1.$statusText]() { - return this.statusText; - } - get [S$1.$timeout]() { - return this.timeout; - } - set [S$1.$timeout](value) { - this.timeout = value; - } - get [S$1.$upload]() { - return this.upload; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - set [S$1.$withCredentials](value) { - this.withCredentials = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$getAllResponseHeaders](...args) { - return this.getAllResponseHeaders.apply(this, args); - } - [S$1.$getResponseHeader](...args) { - return this.getResponseHeader.apply(this, args); - } - [S$1.$overrideMimeType](...args) { - return this.overrideMimeType.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$1.$setRequestHeader](...args) { - return this.setRequestHeader.apply(this, args); - } - get [S$1.$onReadyStateChange]() { - return html$.HttpRequest.readyStateChangeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.HttpRequest); - dart.addTypeCaches(html$.HttpRequest); - dart.setMethodSignature(html$.HttpRequest, () => ({ - __proto__: dart.getMethods(html$.HttpRequest.__proto__), - [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), - [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), - [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), - [S.$readyState]: core.int, - [S$.$response]: dart.dynamic, - [S$1._get_response]: dart.dynamic, - [S$1.$responseText]: dart.nullable(core.String), - [S$1.$responseType]: core.String, - [S$1.$responseUrl]: dart.nullable(core.String), - [S$1.$responseXml]: dart.nullable(html$.Document), - [S$.$status]: dart.nullable(core.int), - [S$1.$statusText]: dart.nullable(core.String), - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$upload]: html$.HttpRequestUpload, - [S$1.$withCredentials]: dart.nullable(core.bool), - [S$1.$onReadyStateChange]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.HttpRequest, () => ({ - __proto__: dart.getSetters(html$.HttpRequest.__proto__), - [S$1.$responseType]: core.String, - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$withCredentials]: dart.nullable(core.bool) - })); - 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[334] || CT.C334; - }, - /*html$.HttpRequest.DONE*/get DONE() { - return 4; - }, - /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { - return 2; - }, - /*html$.HttpRequest.LOADING*/get LOADING() { - return 3; - }, - /*html$.HttpRequest.OPENED*/get OPENED() { - return 1; - }, - /*html$.HttpRequest.UNSENT*/get UNSENT() { - return 0; - } - }, false); - dart.registerExtension("XMLHttpRequest", html$.HttpRequest); - html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { - static ['_#_#tearOff']() { - return html$.HttpRequestUpload.__(); - } - }; - dart.addTypeTests(html$.HttpRequestUpload); - dart.addTypeCaches(html$.HttpRequestUpload); - 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; - } - set [S$1.$allow](value) { - this.allow = value; - } - get [S$1.$allowFullscreen]() { - return this.allowFullscreen; - } - set [S$1.$allowFullscreen](value) { - this.allowFullscreen = value; - } - get [S$1.$allowPaymentRequest]() { - return this.allowPaymentRequest; - } - set [S$1.$allowPaymentRequest](value) { - this.allowPaymentRequest = value; - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$1.$csp]() { - return this.csp; - } - set [S$1.$csp](value) { - this.csp = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sandbox]() { - return this.sandbox; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcdoc]() { - return this.srcdoc; - } - set [S$1.$srcdoc](value) { - this.srcdoc = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - }; - (html$.IFrameElement.created = function() { - html$.IFrameElement.__proto__.created.call(this); - ; - }).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), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$contentWindow]: dart.nullable(html$.WindowBase), - [S$1._get_contentWindow]: dart.dynamic, - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sandbox]: dart.nullable(html$.DomTokenList), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.IFrameElement, () => ({ - __proto__: dart.getSetters(html$.IFrameElement.__proto__), - [S$1.$allow]: dart.nullable(core.String), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.IFrameElement, I[150]); - dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); - html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IdleDeadline.__(); - } - get [S$1.$didTimeout]() { - return this.didTimeout; - } - [S$1.$timeRemaining](...args) { - return this.timeRemaining.apply(this, args); - } - }; - dart.addTypeTests(html$.IdleDeadline); - dart.addTypeCaches(html$.IdleDeadline); - 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[150]); - dart.registerExtension("IdleDeadline", html$.IdleDeadline); - html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmap.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - }; - dart.addTypeTests(html$.ImageBitmap); - dart.addTypeCaches(html$.ImageBitmap); - 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[150]); - dart.registerExtension("ImageBitmap", html$.ImageBitmap); - html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmapRenderingContext.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$1.$transferFromImageBitmap](...args) { - return this.transferFromImageBitmap.apply(this, args); - } - }; - dart.addTypeTests(html$.ImageBitmapRenderingContext); - dart.addTypeCaches(html$.ImageBitmapRenderingContext); - 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[150]); - dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); - html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageCapture.__(); - } - static new(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); - } - get [S$1.$track]() { - return this.track; - } - [S$1.$getPhotoCapabilities]() { - return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); - } - [S$1.$getPhotoSettings]() { - return html$.promiseToFutureAsMap(this.getPhotoSettings()); - } - [S$1.$grabFrame]() { - return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); - } - [S$1.$setOptions](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)); - } - [S$1.$takePhoto](photoSettings = null) { - let photoSettings_dict = null; - if (photoSettings != null) { - photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); - } - return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); - } - }; - dart.addTypeTests(html$.ImageCapture); - dart.addTypeCaches(html$.ImageCapture); - dart.setMethodSignature(html$.ImageCapture, () => ({ - __proto__: dart.getMethods(html$.ImageCapture.__proto__), - [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), - [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), - [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[150]); - dart.registerExtension("ImageCapture", html$.ImageCapture); - 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[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); - } - if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { - return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); - } - if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { - return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); - } - 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); - } - static _create_2(data_OR_sw, sh_OR_sw) { - return new ImageData(data_OR_sw, sh_OR_sw); - } - static _create_3(data_OR_sw, sh_OR_sw, sh) { - return new ImageData(data_OR_sw, sh_OR_sw, sh); - } - get [S$.$data]() { - return this.data; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - }; - 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[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; - let height = opts && 'height' in opts ? opts.height : null; - let e = html$.document.createElement("img"); - if (src != null) e.src = src; - if (width != null) e.width = width; - 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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$async]() { - return this.async; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$1.$complete]() { - return this.complete; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$isMap]() { - return this.isMap; - } - set [S$1.$isMap](value) { - this.isMap = value; - } - get [S$1.$naturalHeight]() { - return this.naturalHeight; - } - get [S$1.$naturalWidth]() { - return this.naturalWidth; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } - }; - (html$.ImageElement.created = function() { - html$.ImageElement.__proto__.created.call(this); - ; - }).prototype = html$.ImageElement.prototype; - dart.addTypeTests(html$.ImageElement); - dart.addTypeCaches(html$.ImageElement); - html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; - 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), - [S$1.$async]: dart.nullable(core.String), - [S$1.$complete]: dart.nullable(core.bool), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$1.$naturalHeight]: core.int, - [S$1.$naturalWidth]: core.int, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) - })); - dart.setSetterSignature(html$.ImageElement, () => ({ - __proto__: dart.getSetters(html$.ImageElement.__proto__), - [S$.$alt]: dart.nullable(core.String), - [S$1.$async]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.ImageElement, I[150]); - dart.registerExtension("HTMLImageElement", html$.ImageElement); - 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); - return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); - } - return html$.InputDeviceCapabilities._create_2(); - } - static ['_#new#tearOff'](deviceInitDict = null) { - return html$.InputDeviceCapabilities.new(deviceInitDict); - } - static _create_1(deviceInitDict) { - return new InputDeviceCapabilities(deviceInitDict); - } - static _create_2() { - return new InputDeviceCapabilities(); - } - get [S$1.$firesTouchEvents]() { - return this.firesTouchEvents; - } - }; - 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[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")); - if (type != null) { - try { - e.type = type; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - } - return e; - } - static ['_#_#tearOff']() { - return html$.InputElement.__(); - } - static ['_#created#tearOff']() { - return new html$.InputElement.created(); - } - get [S$1.$accept]() { - return this.accept; - } - set [S$1.$accept](value) { - this.accept = value; - } - get [S$.$alt]() { - return this.alt; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$autocapitalize]() { - return this.autocapitalize; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$1.$capture]() { - return this.capture; - } - set [S$1.$capture](value) { - this.capture = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$1.$defaultChecked]() { - return this.defaultChecked; - } - set [S$1.$defaultChecked](value) { - this.defaultChecked = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$0.$files]() { - return this.files; - } - set [S$0.$files](value) { - this.files = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$incremental]() { - return this.incremental; - } - set [S$1.$incremental](value) { - this.incremental = value; - } - get [S$1.$indeterminate]() { - return this.indeterminate; - } - set [S$1.$indeterminate](value) { - this.indeterminate = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$list]() { - return this.list; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$pattern]() { - return this.pattern; - } - set [S$1.$pattern](value) { - this.pattern = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$step]() { - return this.step; - } - set [S$1.$step](value) { - this.step = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$1.$valueAsDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); - } - get [S$1._get_valueAsDate]() { - return this.valueAsDate; - } - set [S$1.$valueAsDate](value) { - this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); - } - set [S$1._set_valueAsDate](value) { - this.valueAsDate = value; - } - get [S$1.$valueAsNumber]() { - return this.valueAsNumber; - } - set [S$1.$valueAsNumber](value) { - this.valueAsNumber = value; - } - get [$entries]() { - return this.webkitEntries; - } - get [S$1.$directory]() { - return this.webkitdirectory; - } - set [S$1.$directory](value) { - this.webkitdirectory = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } - [S$1.$stepDown](...args) { - return this.stepDown.apply(this, args); - } - [S$1.$stepUp](...args) { - return this.stepUp.apply(this, args); - } - }; - (html$.InputElement.created = function() { - html$.InputElement.__proto__.created.call(this); - ; - }).prototype = html$.InputElement.prototype; - dart.addTypeTests(html$.InputElement); - dart.addTypeCaches(html$.InputElement); - html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; - dart.setMethodSignature(html$.InputElement, () => ({ - __proto__: dart.getMethods(html$.InputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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)]), - [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), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$list]: dart.nullable(html$.HtmlElement), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: core.DateTime, - [S$1._get_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [$entries]: dart.nullable(core.List$(html$.Entry)), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int), - [S$.$willValidate]: core.bool - })); - dart.setSetterSignature(html$.InputElement, () => ({ - __proto__: dart.getSetters(html$.InputElement.__proto__), - [S$1.$accept]: dart.nullable(core.String), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: dart.nullable(core.DateTime), - [S$1._set_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.InputElement, I[150]); - dart.registerExtension("HTMLInputElement", html$.InputElement); - html$.InputElementBase = class InputElementBase extends core.Object {}; - (html$.InputElementBase.new = function() { - ; - }).prototype = html$.InputElementBase.prototype; - dart.addTypeTests(html$.InputElementBase); - dart.addTypeCaches(html$.InputElementBase); - html$.InputElementBase[dart.implements] = () => [html$.Element]; - 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.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); - dart.setLibraryUri(html$.HiddenInputElement, I[150]); - html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; - (html$.TextInputElementBase.new = function() { - ; - }).prototype = html$.TextInputElementBase.prototype; - dart.addTypeTests(html$.TextInputElementBase); - dart.addTypeCaches(html$.TextInputElementBase); - html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; - 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"; - } - }; - (html$.SearchInputElement[dart.mixinNew] = function() { - }).prototype = html$.SearchInputElement.prototype; - dart.addTypeTests(html$.SearchInputElement); - dart.addTypeCaches(html$.SearchInputElement); - html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; - 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.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"; - } - }; - (html$.UrlInputElement[dart.mixinNew] = function() { - }).prototype = html$.UrlInputElement.prototype; - dart.addTypeTests(html$.UrlInputElement); - dart.addTypeCaches(html$.UrlInputElement); - html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; - 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"; - } - }; - (html$.TelephoneInputElement[dart.mixinNew] = function() { - }).prototype = html$.TelephoneInputElement.prototype; - dart.addTypeTests(html$.TelephoneInputElement); - dart.addTypeCaches(html$.TelephoneInputElement); - html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; - 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"; - } - }; - (html$.EmailInputElement[dart.mixinNew] = function() { - }).prototype = html$.EmailInputElement.prototype; - dart.addTypeTests(html$.EmailInputElement); - dart.addTypeCaches(html$.EmailInputElement); - html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; - 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.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); - dart.setLibraryUri(html$.PasswordInputElement, I[150]); - html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; - (html$.RangeInputElementBase.new = function() { - ; - }).prototype = html$.RangeInputElementBase.prototype; - dart.addTypeTests(html$.RangeInputElementBase); - dart.addTypeCaches(html$.RangeInputElementBase); - html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; - 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"; - } - }; - (html$.DateInputElement[dart.mixinNew] = function() { - }).prototype = html$.DateInputElement.prototype; - dart.addTypeTests(html$.DateInputElement); - dart.addTypeCaches(html$.DateInputElement); - html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.MonthInputElement[dart.mixinNew] = function() { - }).prototype = html$.MonthInputElement.prototype; - dart.addTypeTests(html$.MonthInputElement); - dart.addTypeCaches(html$.MonthInputElement); - html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.WeekInputElement[dart.mixinNew] = function() { - }).prototype = html$.WeekInputElement.prototype; - dart.addTypeTests(html$.WeekInputElement); - dart.addTypeCaches(html$.WeekInputElement); - html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.TimeInputElement[dart.mixinNew] = function() { - }).prototype = html$.TimeInputElement.prototype; - dart.addTypeTests(html$.TimeInputElement); - dart.addTypeCaches(html$.TimeInputElement); - html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.LocalDateTimeInputElement[dart.mixinNew] = function() { - }).prototype = html$.LocalDateTimeInputElement.prototype; - dart.addTypeTests(html$.LocalDateTimeInputElement); - dart.addTypeCaches(html$.LocalDateTimeInputElement); - html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.NumberInputElement[dart.mixinNew] = function() { - }).prototype = html$.NumberInputElement.prototype; - dart.addTypeTests(html$.NumberInputElement); - dart.addTypeCaches(html$.NumberInputElement); - html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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"; - } - }; - (html$.RangeInputElement[dart.mixinNew] = function() { - }).prototype = html$.RangeInputElement.prototype; - dart.addTypeTests(html$.RangeInputElement); - dart.addTypeCaches(html$.RangeInputElement); - html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; - 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.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.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); - dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); - html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { - get files() { - return this[S$1.files]; - } - set files(value) { - this[S$1.files] = value; - } - 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; - }).prototype = html$.FileUploadInputElement.prototype; - dart.addTypeTests(html$.FileUploadInputElement); - dart.addTypeCaches(html$.FileUploadInputElement); - html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; - 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))) - })); - dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); - html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { - 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.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.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.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.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[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); - } - static _create_2(type) { - return new InstallEvent(type); - } - [S$1.$registerForeignFetch](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; - } - [S$1._registerForeignFetch_1](...args) { - return this.registerForeignFetch.apply(this, args); - } - }; - dart.addTypeTests(html$.InstallEvent); - dart.addTypeCaches(html$.InstallEvent); - dart.setMethodSignature(html$.InstallEvent, () => ({ - __proto__: dart.getMethods(html$.InstallEvent.__proto__), - [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), - [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserver.__(); - } - static new(callback, options = null) { - 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); - return html$.IntersectionObserver._create_1(callback_1, options_2); - } - 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); - } - static _create_2(callback) { - return new IntersectionObserver(callback); - } - get [S$1.$root]() { - return this.root; - } - get [S$1.$rootMargin]() { - return this.rootMargin; - } - get [S$1.$thresholds]() { - return this.thresholds; - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } - }; - dart.addTypeTests(html$.IntersectionObserver); - dart.addTypeCaches(html$.IntersectionObserver); - dart.setMethodSignature(html$.IntersectionObserver, () => ({ - __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [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[150]); - dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); - html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserverEntry.__(); - } - get [S$1.$boundingClientRect]() { - return this.boundingClientRect; - } - get [S$1.$intersectionRatio]() { - return this.intersectionRatio; - } - get [S$1.$intersectionRect]() { - return this.intersectionRect; - } - get [S$1.$isIntersecting]() { - return this.isIntersecting; - } - get [S$1.$rootBounds]() { - return this.rootBounds; - } - get [S.$target]() { - return this.target; - } - get [S$.$time]() { - return this.time; - } - }; - 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), - [S$1.$intersectionRatio]: dart.nullable(core.num), - [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), - [S$1.$isIntersecting]: dart.nullable(core.bool), - [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), - [S.$target]: dart.nullable(html$.Element), - [S$.$time]: dart.nullable(core.num) - })); - 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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } - }; - 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[150]); - dart.registerExtension("InterventionReport", html$.InterventionReport); - html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { - static new(type, opts) { - 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[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"); - if (view == null) { - view = html$.window; - } - 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[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 { - this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); - } - } - get [S$1.$keyCode]() { - return this.keyCode; - } - get [S$1.$charCode]() { - return this.charCode; - } - get [S$1.$which]() { - return this[S$._which]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new KeyboardEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$.$code]() { - return this.code; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$isComposing]() { - return this.isComposing; - } - get [S.$key]() { - return this.key; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$0.$location]() { - return this.location; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$repeat]() { - return this.repeat; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } - }; - dart.addTypeTests(html$.KeyboardEvent); - dart.addTypeCaches(html$.KeyboardEvent); - dart.setMethodSignature(html$.KeyboardEvent, () => ({ - __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), - [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, - [S$1.$charCode]: core.int, - [S$1.$which]: dart.nullable(core.int), - [S$1.$altKey]: core.bool, - [S$1._charCode]: core.int, - [S$.$code]: dart.nullable(core.String), - [S$1.$ctrlKey]: core.bool, - [S$1.$isComposing]: dart.nullable(core.bool), - [S.$key]: dart.nullable(core.String), - [S$1._keyCode]: core.int, - [S$0.$location]: core.int, - [S$1.$metaKey]: core.bool, - [S$1.$repeat]: dart.nullable(core.bool), - [S$1.$shiftKey]: core.bool - })); - 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; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { - return 3; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { - return 2; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { - return 0; - } - }, 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); - } - static _create_2(target, effect) { - return new KeyframeEffectReadOnly(target, effect); - } - }; - dart.addTypeTests(html$.KeyframeEffectReadOnly); - dart.addTypeCaches(html$.KeyframeEffectReadOnly); - 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); - } - static _create_2(target, effect) { - return new KeyframeEffect(target, effect); - } - }; - dart.addTypeTests(html$.KeyframeEffect); - dart.addTypeCaches(html$.KeyframeEffect); - 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; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.LIElement.created = function() { - html$.LIElement.__proto__.created.call(this); - ; - }).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 - })); - dart.setSetterSignature(html$.LIElement, () => ({ - __proto__: dart.getSetters(html$.LIElement.__proto__), - [S.$value]: core.int - })); - 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; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - set [S$1.$htmlFor](value) { - this.htmlFor = value; - } - }; - (html$.LabelElement.created = function() { - html$.LabelElement.__proto__.created.call(this); - ; - }).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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: core.String - })); - dart.setSetterSignature(html$.LabelElement, () => ({ - __proto__: dart.getSetters(html$.LabelElement.__proto__), - [S$1.$htmlFor]: core.String - })); - 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; - } - }; - (html$.LegendElement.created = function() { - html$.LegendElement.__proto__.created.call(this); - ; - }).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[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); - return html$.LinearAccelerationSensor._create_1(sensorOptions_1); - } - return html$.LinearAccelerationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.LinearAccelerationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new LinearAccelerationSensor(sensorOptions); - } - static _create_2() { - return new LinearAccelerationSensor(); - } - }; - dart.addTypeTests(html$.LinearAccelerationSensor); - dart.addTypeCaches(html$.LinearAccelerationSensor); - 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; - } - set [S$1.$as](value) { - this.as = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$1.$import]() { - return this.import; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$1.$relList]() { - return this.relList; - } - get [S$1.$scope]() { - return this.scope; - } - set [S$1.$scope](value) { - this.scope = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S$1.$sizes]() { - return this.sizes; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$supportsImport]() { - return "import" in this; - } - }; - (html$.LinkElement.created = function() { - html$.LinkElement.__proto__.created.call(this); - ; - }).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), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$import]: dart.nullable(html$.Document), - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$relList]: dart.nullable(html$.DomTokenList), - [S$1.$scope]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S$1.$sizes]: dart.nullable(html$.DomTokenList), - [S.$type]: core.String, - [S$1.$supportsImport]: core.bool - })); - dart.setSetterSignature(html$.LinkElement, () => ({ - __proto__: dart.getSetters(html$.LinkElement.__proto__), - [S$1.$as]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$scope]: dart.nullable(core.String), - [S.$type]: core.String - })); - dart.setLibraryUri(html$.LinkElement, I[150]); - dart.registerExtension("HTMLLinkElement", html$.LinkElement); - html$.Location = class Location extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Location.__(); - } - get [S$1.$ancestorOrigins]() { - return this.ancestorOrigins; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$1.$trustedHref]() { - return this.trustedHref; - } - set [S$1.$trustedHref](value) { - this.trustedHref = value; - } - [S$1.$assign](...args) { - return this.assign.apply(this, args); - } - [S$1.$reload](...args) { - return this.reload.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - get [S$.$origin]() { - if ("origin" in this) { - return this.origin; - } - return dart.str(this.protocol) + "//" + dart.str(this.host); - } - [$toString]() { - return String(this); - } - }; - dart.addTypeTests(html$.Location); - dart.addTypeCaches(html$.Location); - html$.Location[dart.implements] = () => [html$.LocationBase]; - dart.setMethodSignature(html$.Location, () => ({ - __proto__: dart.getMethods(html$.Location.__proto__), - [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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)), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), - [S$.$origin]: core.String - })); - dart.setSetterSignature(html$.Location, () => ({ - __proto__: dart.getSetters(html$.Location.__proto__), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) - })); - 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); - return html$.Magnetometer._create_1(sensorOptions_1); - } - return html$.Magnetometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Magnetometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Magnetometer(sensorOptions); - } - static _create_2() { - return new Magnetometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - 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[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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - }; - (html$.MapElement.created = function() { - html$.MapElement.__proto__.created.call(this); - ; - }).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), - [$name]: core.String - })); - dart.setSetterSignature(html$.MapElement, () => ({ - __proto__: dart.getSetters(html$.MapElement.__proto__), - [$name]: core.String - })); - dart.setLibraryUri(html$.MapElement, I[150]); - dart.registerExtension("HTMLMapElement", html$.MapElement); - 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[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[149], 20611, 50, "configuration"); - let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); - return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); - } - }; - dart.addTypeTests(html$.MediaCapabilities); - dart.addTypeCaches(html$.MediaCapabilities); - dart.setMethodSignature(html$.MediaCapabilities, () => ({ - __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), - [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), - [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) - })); - dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); - dart.setLibraryUri(html$.MediaCapabilities, I[150]); - dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); - html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaCapabilitiesInfo.__(); - } - get [S$1.$powerEfficient]() { - return this.powerEfficient; - } - get [S$1.$smooth]() { - return this.smooth; - } - get [S$1.$supported]() { - return this.supported; - } - }; - 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[150]); - dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); - html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaDeviceInfo.__(); - } - get [S$1.$deviceId]() { - return this.deviceId; - } - get [S$1.$groupId]() { - return this.groupId; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - }; - 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), - [S$1.$groupId]: dart.nullable(core.String), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String) - })); - 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()); - } - [S$1.$getSupportedConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); - } - [S$1._getSupportedConstraints_1](...args) { - return this.getSupportedConstraints.apply(this, args); - } - [S$1.$getUserMedia](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); - } - }; - dart.addTypeTests(html$.MediaDevices); - dart.addTypeCaches(html$.MediaDevices); - dart.setMethodSignature(html$.MediaDevices, () => ({ - __proto__: dart.getMethods(html$.MediaDevices.__proto__), - [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), - [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), - [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), - [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) - })); - 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[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); - } - static _create_2(type) { - return new MediaEncryptedEvent(type); - } - get [S$1.$initData]() { - return this.initData; - } - get [S$1.$initDataType]() { - return this.initDataType; - } - }; - 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[150]); - dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); - html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } - }; - 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[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; - }, - /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { - return 3; - }, - /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { - return 2; - }, - /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { - return 4; - } - }, 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[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); - } - get [$message]() { - return this.message; - } - get [S$1.$messageType]() { - return this.messageType; - } - }; - 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[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); - } - get [S$1.$expiration]() { - return this.expiration; - } - get [S$1.$keyStatuses]() { - return this.keyStatuses; - } - get [S$1.$sessionId]() { - return this.sessionId; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$1.$generateRequest](initDataType, initData) { - 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[149], 20950, 22, "sessionId"); - return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); - } - [$remove]() { - return js_util.promiseToFuture(dart.dynamic, this.remove()); - } - [S$1._update$1](...args) { - return this.update.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MediaKeySession.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.MediaKeySession); - dart.addTypeCaches(html$.MediaKeySession); - dart.setMethodSignature(html$.MediaKeySession, () => ({ - __proto__: dart.getMethods(html$.MediaKeySession.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), - [S$.$load]: dart.fnType(async.Future, [core.String]), - [$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), - [S$1.$expiration]: dart.nullable(core.num), - [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), - [S$1.$sessionId]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) - })); - dart.setLibraryUri(html$.MediaKeySession, I[150]); - dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); - dart.defineLazy(html$.MediaKeySession, { - /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } - }, false); - dart.registerExtension("MediaKeySession", html$.MediaKeySession); - html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeyStatusMap.__(); - } - get [S$.$size]() { - return this.size; - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - }; - dart.addTypeTests(html$.MediaKeyStatusMap); - dart.addTypeCaches(html$.MediaKeyStatusMap); - dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ - __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), - [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[150]); - dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); - html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeySystemAccess.__(); - } - get [S$1.$keySystem]() { - return this.keySystem; - } - [S$1.$createMediaKeys]() { - return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); - } - [S$1.$getConfiguration]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); - } - [S$1._getConfiguration_1](...args) { - return this.getConfiguration.apply(this, args); - } - }; - dart.addTypeTests(html$.MediaKeySystemAccess); - dart.addTypeCaches(html$.MediaKeySystemAccess); - dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ - __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), - [S$1.$createMediaKeys]: dart.fnType(async.Future, []), - [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[150]); - dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); - 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[149], 21014, 45, "policy"); - return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); - } - [S$1.$setServerCertificate](serverCertificate) { - return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); - } - }; - dart.addTypeTests(html$.MediaKeys); - dart.addTypeCaches(html$.MediaKeys); - dart.setMethodSignature(html$.MediaKeys, () => ({ - __proto__: dart.getMethods(html$.MediaKeys.__proto__), - [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), - [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), - [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) - })); - dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); - dart.setLibraryUri(html$.MediaKeys, I[150]); - dart.registerExtension("MediaKeys", html$.MediaKeys); - html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeysPolicy.__(); - } - static new(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); - } - get [S$1.$minHdcpVersion]() { - return this.minHdcpVersion; - } - }; - 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[150]); - dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); - html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaList.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$mediaText]() { - return this.mediaText; - } - set [S$1.$mediaText](value) { - this.mediaText = value; - } - [S$1.$appendMedium](...args) { - return this.appendMedium.apply(this, args); - } - [S$1.$deleteMedium](...args) { - return this.deleteMedium.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - dart.addTypeTests(html$.MediaList); - dart.addTypeCaches(html$.MediaList); - dart.setMethodSignature(html$.MediaList, () => ({ - __proto__: dart.getMethods(html$.MediaList.__proto__), - [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), - [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), - [S$1.$mediaText]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.MediaList, () => ({ - __proto__: dart.getSetters(html$.MediaList.__proto__), - [S$1.$mediaText]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.MediaList, I[150]); - dart.registerExtension("MediaList", html$.MediaList); - 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); - return html$.MediaMetadata._create_1(metadata_1); - } - return html$.MediaMetadata._create_2(); - } - static ['_#new#tearOff'](metadata = null) { - return html$.MediaMetadata.new(metadata); - } - static _create_1(metadata) { - return new MediaMetadata(metadata); - } - static _create_2() { - return new MediaMetadata(); - } - get [S$1.$album]() { - return this.album; - } - set [S$1.$album](value) { - this.album = value; - } - get [S$1.$artist]() { - return this.artist; - } - set [S$1.$artist](value) { - this.artist = value; - } - get [S$1.$artwork]() { - return this.artwork; - } - set [S$1.$artwork](value) { - this.artwork = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } - }; - 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), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.MediaMetadata, () => ({ - __proto__: dart.getSetters(html$.MediaMetadata.__proto__), - [S$1.$album]: dart.nullable(core.String), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) - })); - 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; - } - get [S$.$media]() { - return this.media; - } - [S$1.$addListener](...args) { - return this.addListener.apply(this, args); - } - [S$1.$removeListener](...args) { - return this.removeListener.apply(this, args); - } - get [S.$onChange]() { - return html$.MediaQueryList.changeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.MediaQueryList); - dart.addTypeCaches(html$.MediaQueryList); - dart.setMethodSignature(html$.MediaQueryList, () => ({ - __proto__: dart.getMethods(html$.MediaQueryList.__proto__), - [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[150]); - dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); - dart.defineLazy(html$.MediaQueryList, { - /*html$.MediaQueryList.changeEvent*/get changeEvent() { - 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[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); - } - static _create_2(type) { - return new MediaQueryListEvent(type); - } - get [S.$matches]() { - return this.matches; - } - get [S$.$media]() { - return this.media; - } - }; - 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[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[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); - } - static _create_2(stream) { - return new MediaRecorder(stream); - } - get [S$1.$audioBitsPerSecond]() { - return this.audioBitsPerSecond; - } - get [S$1.$mimeType]() { - return this.mimeType; - } - get [S$.$state]() { - return this.state; - } - get [S$1.$stream]() { - return this.stream; - } - get [S$1.$videoBitsPerSecond]() { - return this.videoBitsPerSecond; - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$requestData](...args) { - return this.requestData.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.MediaRecorder.errorEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.MediaRecorder.pauseEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.MediaRecorder); - dart.addTypeCaches(html$.MediaRecorder); - dart.setMethodSignature(html$.MediaRecorder, () => ({ - __proto__: dart.getMethods(html$.MediaRecorder.__proto__), - [S$.$pause]: dart.fnType(dart.void, []), - [S$1.$requestData]: dart.fnType(dart.void, []), - [S$1.$resume]: dart.fnType(dart.void, []), - [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), - [S$1.$mimeType]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [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) - })); - dart.setLibraryUri(html$.MediaRecorder, I[150]); - dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); - dart.defineLazy(html$.MediaRecorder, { - /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - } - }, false); - dart.registerExtension("MediaRecorder", html$.MediaRecorder); - html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSession.__(); - } - get [S$1.$metadata]() { - return this.metadata; - } - set [S$1.$metadata](value) { - this.metadata = value; - } - get [S$1.$playbackState]() { - return this.playbackState; - } - set [S$1.$playbackState](value) { - this.playbackState = value; - } - [S$1.$setActionHandler](...args) { - return this.setActionHandler.apply(this, args); - } - }; - dart.addTypeTests(html$.MediaSession); - dart.addTypeCaches(html$.MediaSession); - 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), - [S$1.$playbackState]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.MediaSession, () => ({ - __proto__: dart.getSetters(html$.MediaSession.__proto__), - [S$1.$metadata]: dart.nullable(html$.MediaMetadata), - [S$1.$playbackState]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.MediaSession, I[150]); - dart.registerExtension("MediaSession", html$.MediaSession); - html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSettingsRange.__(); - } - get [S$1.$max]() { - return this.max; - } - get [S$1.$min]() { - return this.min; - } - get [S$1.$step]() { - return this.step; - } - }; - 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[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(); - } - static get supported() { - return !!window.MediaSource; - } - get [S$1.$activeSourceBuffers]() { - return this.activeSourceBuffers; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1.$sourceBuffers]() { - return this.sourceBuffers; - } - [S$1.$addSourceBuffer](...args) { - return this.addSourceBuffer.apply(this, args); - } - [S$1.$clearLiveSeekableRange](...args) { - return this.clearLiveSeekableRange.apply(this, args); - } - [S$1.$endOfStream](...args) { - return this.endOfStream.apply(this, args); - } - [S$1.$removeSourceBuffer](...args) { - return this.removeSourceBuffer.apply(this, args); - } - [S$1.$setLiveSeekableRange](...args) { - return this.setLiveSeekableRange.apply(this, args); - } - }; - dart.addTypeTests(html$.MediaSource); - dart.addTypeCaches(html$.MediaSource); - dart.setMethodSignature(html$.MediaSource, () => ({ - __proto__: dart.getMethods(html$.MediaSource.__proto__), - [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), - [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), - [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$duration]: dart.nullable(core.num), - [S.$readyState]: dart.nullable(core.String), - [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) - })); - dart.setSetterSignature(html$.MediaSource, () => ({ - __proto__: dart.getSetters(html$.MediaSource.__proto__), - [S$.$duration]: dart.nullable(core.num) - })); - 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(); - } - if (html$.MediaStream.is(stream_OR_tracks)) { - return html$.MediaStream._create_2(stream_OR_tracks); - } - if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { - return html$.MediaStream._create_3(stream_OR_tracks); - } - 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(); - } - static _create_2(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - static _create_3(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - get [S$1.$active]() { - return this.active; - } - get [S.$id]() { - return this.id; - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$1.$getAudioTracks](...args) { - return this.getAudioTracks.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - [S$1.$getTracks](...args) { - return this.getTracks.apply(this, args); - } - [S$1.$getVideoTracks](...args) { - return this.getVideoTracks.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.MediaStream.addTrackEvent.forTarget(this); - } - get [S$1.$onRemoveTrack]() { - return html$.MediaStream.removeTrackEvent.forTarget(this); - } - static get supported() { - return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); - } - }; - dart.addTypeTests(html$.MediaStream); - dart.addTypeCaches(html$.MediaStream); - dart.setMethodSignature(html$.MediaStream, () => ({ - __proto__: dart.getMethods(html$.MediaStream.__proto__), - [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), - [S$.$clone]: dart.fnType(html$.MediaStream, []), - [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), - [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$onAddTrack]: async.Stream$(html$.Event), - [S$1.$onRemoveTrack]: async.Stream$(html$.Event) - })); - 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[356] || CT.C356; - }, - /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - 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[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); - } - static _create_2(type) { - return new MediaStreamEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamEvent"); - } - get [S$1.$stream]() { - return this.stream; - } - }; - 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.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[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); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); - } - get [S$1.$track]() { - return this.track; - } - }; - 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.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); - dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); - dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); - html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MemoryInfo.__(); - } - get [S$1.$jsHeapSizeLimit]() { - return this.jsHeapSizeLimit; - } - get [S$1.$totalJSHeapSize]() { - return this.totalJSHeapSize; - } - get [S$1.$usedJSHeapSize]() { - return this.usedJSHeapSize; - } - }; - 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[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); - ; - }).prototype = html$.MenuElement.prototype; - dart.addTypeTests(html$.MenuElement); - dart.addTypeCaches(html$.MenuElement); - dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); - dart.setLibraryUri(html$.MenuElement, I[150]); - dart.registerExtension("HTMLMenuElement", html$.MenuElement); - 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(); - } - get [S$1.$port1]() { - return this.port1; - } - get [S$1.$port2]() { - return this.port2; - } - }; - 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[150]); - dart.registerExtension("MessageChannel", html$.MessageChannel); - html$.MessageEvent = class MessageEvent$ extends html$.Event { - static new(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"); - if (source == null) { - source = html$.window; - } - if (!dart.test(html_common.Device.isIE)) { - return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); - } - let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); - 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]); - } - get [S$1._get_data]() { - return this.data; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new MessageEvent(type); - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); - } - get [S$1._get_source]() { - return this.source; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { - let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); - this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); - return; - } - [S$1._initMessageEvent_1](...args) { - return this.initMessageEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.MessageEvent); - dart.addTypeCaches(html$.MessageEvent); - dart.setMethodSignature(html$.MessageEvent, () => ({ - __proto__: dart.getMethods(html$.MessageEvent.__proto__), - [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, - [S$1._get_data]: dart.dynamic, - [S$1.$lastEventId]: core.String, - [S$.$origin]: core.String, - [S$1.$ports]: core.List$(html$.MessagePort), - [S.$source]: dart.nullable(html$.EventTarget), - [S$1._get_source]: dart.dynamic, - [S$1.$suborigin]: dart.nullable(core.String) - })); - 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[149], 21738, 32, "type"); - if (type === "message") { - 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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$1._start$5](...args) { - return this.start.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MessagePort.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.MessagePort); - dart.addTypeCaches(html$.MessagePort); - dart.setMethodSignature(html$.MessagePort, () => ({ - __proto__: dart.getMethods(html$.MessagePort.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$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[150]); - dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); - dart.defineLazy(html$.MessagePort, { - /*html$.MessagePort.messageEvent*/get messageEvent() { - 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; - } - set [S$0.$content](value) { - this.content = value; - } - get [S$1.$httpEquiv]() { - return this.httpEquiv; - } - set [S$1.$httpEquiv](value) { - this.httpEquiv = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - }; - (html$.MetaElement.created = function() { - html$.MetaElement.__proto__.created.call(this); - ; - }).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, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String - })); - dart.setSetterSignature(html$.MetaElement, () => ({ - __proto__: dart.getSetters(html$.MetaElement.__proto__), - [S$0.$content]: core.String, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String - })); - dart.setLibraryUri(html$.MetaElement, I[150]); - dart.registerExtension("HTMLMetaElement", html$.MetaElement); - 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]); - } - get [S$1._get_modificationTime]() { - return this.modificationTime; - } - get [S$.$size]() { - return this.size; - } - }; - 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[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"); - } - get [S$1.$high]() { - return this.high; - } - set [S$1.$high](value) { - this.high = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$low]() { - return this.low; - } - set [S$1.$low](value) { - this.low = value; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$optimum]() { - return this.optimum; - } - set [S$1.$optimum](value) { - this.optimum = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.MeterElement.created = function() { - html$.MeterElement.__proto__.created.call(this); - ; - }).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), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.MeterElement, () => ({ - __proto__: dart.getSetters(html$.MeterElement.__proto__), - [S$1.$high]: dart.nullable(core.num), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) - })); - 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; - } - get [S$1.$outputs]() { - return this.outputs; - } - get [S$1.$sysexEnabled]() { - return this.sysexEnabled; - } - }; - 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[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[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); - } - static _create_2(type) { - return new MIDIConnectionEvent(type); - } - get [S$.$port]() { - return this.port; - } - }; - 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[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; - } - get [S.$id]() { - return this.id; - } - get [S$1.$manufacturer]() { - return this.manufacturer; - } - get [$name]() { - return this.name; - } - get [S$.$state]() { - return this.state; - } - get [S.$type]() { - return this.type; - } - get [S.$version]() { - return this.version; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S.$open]() { - return js_util.promiseToFuture(dart.dynamic, this.open()); - } - }; - dart.addTypeTests(html$.MidiPort); - dart.addTypeCaches(html$.MidiPort); - dart.setMethodSignature(html$.MidiPort, () => ({ - __proto__: dart.getMethods(html$.MidiPort.__proto__), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$manufacturer]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$version]: dart.nullable(core.String) - })); - 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[150]); - dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); - dart.defineLazy(html$.MidiInput, { - /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[359] || CT.C359; - } - }, false); - dart.registerExtension("MIDIInput", html$.MidiInput); - 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[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[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[149], 21991, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - }; - dart.addTypeTests(html$.MidiInputMap); - dart.addTypeCaches(html$.MidiInputMap); - dart.setMethodSignature(html$.MidiInputMap, () => ({ - __proto__: dart.getMethods(html$.MidiInputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - static _create_2(type) { - return new MIDIMessageEvent(type); - } - get [S$.$data]() { - return this.data; - } - }; - 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[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); - } - }; - dart.addTypeTests(html$.MidiOutput); - dart.addTypeCaches(html$.MidiOutput); - 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.setStaticMethodSignature(html$.MidiOutput, () => ['__']); - dart.setLibraryUri(html$.MidiOutput, I[150]); - dart.registerExtension("MIDIOutput", html$.MidiOutput); - 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[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[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[149], 22097, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - }; - dart.addTypeTests(html$.MidiOutputMap); - dart.addTypeCaches(html$.MidiOutputMap); - dart.setMethodSignature(html$.MidiOutputMap, () => ({ - __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); - dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); - html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MimeType.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$enabledPlugin]() { - return this.enabledPlugin; - } - get [S$1.$suffixes]() { - return this.suffixes; - } - get [S.$type]() { - return this.type; - } - }; - 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), - [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), - [S$1.$suffixes]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.MimeType, I[150]); - dart.registerExtension("MimeType", html$.MimeType); - 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[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[149], 22216, 25, "index"); - html$.MimeType.as(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[149], 22222, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 22250, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - }; - html$.MimeTypeArray.prototype[dart.isList] = true; - dart.addTypeTests(html$.MimeTypeArray); - dart.addTypeCaches(html$.MimeTypeArray); - html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; - dart.setMethodSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), - [$_get]: dart.fnType(html$.MimeType, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 - })); - dart.setSetterSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), - [$length]: core.int - })); - 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; - } - set [S$1.$cite](value) { - this.cite = value; - } - get [S$1.$dateTime]() { - return this.dateTime; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } - }; - (html$.ModElement.created = function() { - html$.ModElement.__proto__.created.call(this); - ; - }).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, - [S$1.$dateTime]: core.String - })); - dart.setSetterSignature(html$.ModElement, () => ({ - __proto__: dart.getSetters(html$.ModElement.__proto__), - [S$1.$cite]: core.String, - [S$1.$dateTime]: core.String - })); - 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[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; - if (view == null) { - view = html$.window; - } - let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); - 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[149], 22334, 31, "type"); - if (eventInitDict != null) { - let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); - return html$.MouseEvent._create_1(type, eventInitDict_1); - } - return html$.MouseEvent._create_2(type); - } - static _create_1(type, eventInitDict) { - return new MouseEvent(type, eventInitDict); - } - static _create_2(type) { - return new MouseEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1.$button]() { - return this.button; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$fromElement]() { - return this.fromElement; - } - get [S$1._layerX]() { - return this.layerX; - } - get [S$1._layerY]() { - return this.layerY; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1._movementX]() { - return this.movementX; - } - get [S$1._movementY]() { - return this.movementY; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$1.$region]() { - return this.region; - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$1.$toElement]() { - return this.toElement; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } - [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { - let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); - this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); - return; - } - [S$1._initMouseEvent_1](...args) { - return this.initMouseEvent.apply(this, args); - } - get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); - } - get [S$1.$movement]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); - } - get [S.$offset]() { - if (!!this.offsetX) { - let x = this.offsetX; - let y = this.offsetY; - return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); - } else { - if (!html$.Element.is(this[S.$target])) { - dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); - } - let target = html$.Element.as(this[S.$target]); - let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); - return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); - } - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); - } - get [S$1.$layer]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); - } - get [S$0.$page]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); - } - get [S$1.$dataTransfer]() { - return this.dataTransfer; - } - }; - dart.addTypeTests(html$.MouseEvent); - dart.addTypeCaches(html$.MouseEvent); - dart.setMethodSignature(html$.MouseEvent, () => ({ - __proto__: dart.getMethods(html$.MouseEvent.__proto__), - [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), - [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, - [S$1.$button]: core.int, - [S$1.$buttons]: dart.nullable(core.int), - [S$1._clientX]: core.num, - [S$1._clientY]: core.num, - [S$1.$ctrlKey]: core.bool, - [S$1.$fromElement]: dart.nullable(html$.Node), - [S$1._layerX]: dart.nullable(core.int), - [S$1._layerY]: dart.nullable(core.int), - [S$1.$metaKey]: core.bool, - [S$1._movementX]: dart.nullable(core.int), - [S$1._movementY]: dart.nullable(core.int), - [S$1._pageX]: dart.nullable(core.num), - [S$1._pageY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), - [S$1._get_relatedTarget]: dart.dynamic, - [S$1._screenX]: core.num, - [S$1._screenY]: core.num, - [S$1.$shiftKey]: core.bool, - [S$1.$toElement]: dart.nullable(html$.Node), - [S.$client]: math.Point$(core.num), - [S$1.$movement]: math.Point$(core.num), - [S.$offset]: math.Point$(core.num), - [S$1.$screen]: math.Point$(core.num), - [S$1.$layer]: math.Point$(core.num), - [S$0.$page]: math.Point$(core.num), - [S$1.$dataTransfer]: html$.DataTransfer - })); - 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; - } - get [S$1.$attrName]() { - return this.attrName; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$1.$prevValue]() { - return this.prevValue; - } - get [S$1.$relatedNode]() { - return this.relatedNode; - } - [S$1.$initMutationEvent](...args) { - return this.initMutationEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.MutationEvent); - dart.addTypeCaches(html$.MutationEvent); - 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), - [S$1.$attrName]: dart.nullable(core.String), - [S$1.$newValue]: dart.nullable(core.String), - [S$1.$prevValue]: dart.nullable(core.String), - [S$1.$relatedNode]: dart.nullable(html$.Node) - })); - dart.setLibraryUri(html$.MutationEvent, I[150]); - dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); - dart.defineLazy(html$.MutationEvent, { - /*html$.MutationEvent.ADDITION*/get ADDITION() { - return 2; - }, - /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { - return 1; - }, - /*html$.MutationEvent.REMOVAL*/get REMOVAL() { - return 3; - } - }, false); - dart.registerExtension("MutationEvent", html$.MutationEvent); - html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$2._observe_2](target); - return; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } - [S$2._observe_2](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - static get supported() { - return !!(window.MutationObserver || window.WebKitMutationObserver); - } - [S.$observe](target, opts) { - 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; - let subtree = opts && 'subtree' in opts ? opts.subtree : null; - let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; - let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; - let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; - let parsedOptions = html$.MutationObserver._createDict(); - function override(key, value) { - if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); - } - dart.fn(override, T$.dynamicAnddynamicToNull()); - override("childList", childList); - override("attributes", attributes); - override("characterData", characterData); - override("subtree", subtree); - override("attributeOldValue", attributeOldValue); - override("characterDataOldValue", characterDataOldValue); - if (attributeFilter != null) { - override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); - } - this[S$2._call](target, parsedOptions); - } - static _createDict() { - return {}; - } - static _add(m, key, value) { - if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); - m[key] = value; - } - static _fixupList(list) { - return list; - } - [S$2._call](...args) { - return this.observe.apply(this, args); - } - static new(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$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$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$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) - })); - 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[360] || CT.C360; - } - }, false); - dart.registerExtension("MutationObserver", html$.MutationObserver); - dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); - html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MutationRecord.__(); - } - get [S$2.$addedNodes]() { - return this.addedNodes; - } - get [S$2.$attributeName]() { - return this.attributeName; - } - get [S$2.$attributeNamespace]() { - return this.attributeNamespace; - } - get [S$2.$nextSibling]() { - return this.nextSibling; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$previousSibling]() { - return this.previousSibling; - } - get [S$2.$removedNodes]() { - return this.removedNodes; - } - get [S.$target]() { - return this.target; - } - get [S.$type]() { - return this.type; - } - }; - dart.addTypeTests(html$.MutationRecord); - dart.addTypeCaches(html$.MutationRecord); - dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); - dart.setGetterSignature(html$.MutationRecord, () => ({ - __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [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[150]); - dart.registerExtension("MutationRecord", html$.MutationRecord); - html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigationPreloadManager.__(); - } - [S$2.$disable]() { - return js_util.promiseToFuture(dart.dynamic, this.disable()); - } - [S$2.$enable]() { - return js_util.promiseToFuture(dart.dynamic, this.enable()); - } - [S$2.$getState]() { - return html$.promiseToFutureAsMap(this.getState()); - } - }; - dart.addTypeTests(html$.NavigationPreloadManager); - dart.addTypeCaches(html$.NavigationPreloadManager); - dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ - __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [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.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); - dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); - dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); - 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[150]); - dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); - html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$2.$getGamepads]() { - let gamepadList = this[S$2._getGamepads](); - let jsProto = gamepadList.prototype; - if (jsProto == null) { - gamepadList.prototype = Object.create(null); - } - _js_helper.applyExtension("GamepadList", gamepadList); - return gamepadList; - } - get [S$2.$language]() { - return this.language || this.userLanguage; - } - [S$1.$getUserMedia](opts) { - let audio = opts && 'audio' in opts ? opts.audio : false; - 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$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[149], 22787, 9, "error"); - completer.completeError(error); - }, T$0.NavigatorUserMediaErrorTovoid())); - return completer.future; - } - [S$2._ensureGetUserMedia]() { - if (!this.getUserMedia) { - this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; - } - } - [S$2._getUserMedia](...args) { - return this.getUserMedia.apply(this, args); - } - static ['_#_#tearOff']() { - return html$.Navigator.__(); - } - get [S$2.$budget]() { - return this.budget; - } - get [S$2.$clipboard]() { - return this.clipboard; - } - get [S$1.$connection]() { - return this.connection; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$deviceMemory]() { - return this.deviceMemory; - } - get [S$2.$doNotTrack]() { - return this.doNotTrack; - } - get [S$2.$geolocation]() { - return this.geolocation; - } - get [S$2.$maxTouchPoints]() { - return this.maxTouchPoints; - } - get [S$2.$mediaCapabilities]() { - return this.mediaCapabilities; - } - get [S$2.$mediaDevices]() { - return this.mediaDevices; - } - get [S$2.$mediaSession]() { - return this.mediaSession; - } - get [S$2.$mimeTypes]() { - return this.mimeTypes; - } - get [S$2.$nfc]() { - return this.nfc; - } - get [S$2.$permissions]() { - return this.permissions; - } - get [S$2.$presentation]() { - return this.presentation; - } - get [S$2.$productSub]() { - return this.productSub; - } - get [S$2.$serviceWorker]() { - return this.serviceWorker; - } - get [S$2.$storage]() { - return this.storage; - } - get [S$2.$vendor]() { - return this.vendor; - } - get [S$2.$vendorSub]() { - return this.vendorSub; - } - get [S$2.$vr]() { - return this.vr; - } - get [S$2.$persistentStorage]() { - return this.webkitPersistentStorage; - } - get [S$2.$temporaryStorage]() { - return this.webkitTemporaryStorage; - } - [S$2.$cancelKeyboardLock](...args) { - return this.cancelKeyboardLock.apply(this, args); - } - [S$2.$getBattery]() { - return js_util.promiseToFuture(dart.dynamic, this.getBattery()); - } - [S$2._getGamepads](...args) { - return this.getGamepads.apply(this, args); - } - [S$2.$getInstalledRelatedApps]() { - return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); - } - [S$2.$getVRDisplays]() { - return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); - } - [S$2.$registerProtocolHandler](...args) { - return this.registerProtocolHandler.apply(this, args); - } - [S$2.$requestKeyboardLock](keyCodes = null) { - if (keyCodes != null) { - let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); - return this[S$2._requestKeyboardLock_1](keyCodes_1); - } - return this[S$2._requestKeyboardLock_2](); - } - [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); - } - [S$2._requestKeyboardLock_2]() { - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); - } - [S$2.$requestMidiAccess](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); - } - [S$2.$requestMediaKeySystemAccess](keySystem, 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) { - return this.sendBeacon.apply(this, args); - } - [S$2.$share](data = null) { - let data_dict = null; - if (data != null) { - data_dict = html_common.convertDartToNative_Dictionary(data); - } - return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); - } - get [S$2.$webdriver]() { - return this.webdriver; - } - get [S$2.$cookieEnabled]() { - return this.cookieEnabled; - } - get [S$2.$appCodeName]() { - return this.appCodeName; - } - get [S$2.$appName]() { - return this.appName; - } - get [S$2.$appVersion]() { - return this.appVersion; - } - get [S$2.$dartEnabled]() { - return this.dartEnabled; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$2.$product]() { - return this.product; - } - get [S$2.$userAgent]() { - return this.userAgent; - } - get [S$2.$languages]() { - return this.languages; - } - get [S$2.$onLine]() { - return this.onLine; - } - }; - dart.addTypeTests(html$.Navigator); - dart.addTypeCaches(html$.Navigator); - 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$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$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$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]), - [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), - [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), - [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), - [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), - [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$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$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), - [S$2.$mediaSession]: dart.nullable(html$.MediaSession), - [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), - [S$2.$nfc]: dart.nullable(html$._NFC), - [S$2.$permissions]: dart.nullable(html$.Permissions), - [S$2.$presentation]: dart.nullable(html$.Presentation), - [S$2.$productSub]: dart.nullable(core.String), - [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), - [S$2.$storage]: dart.nullable(html$.StorageManager), - [S$2.$vendor]: core.String, - [S$2.$vendorSub]: core.String, - [S$2.$vr]: dart.nullable(html$.VR), - [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$webdriver]: dart.nullable(core.bool), - [S$2.$cookieEnabled]: dart.nullable(core.bool), - [S$2.$appCodeName]: core.String, - [S$2.$appName]: core.String, - [S$2.$appVersion]: core.String, - [S$2.$dartEnabled]: dart.nullable(core.bool), - [S$2.$platform]: dart.nullable(core.String), - [S$2.$product]: core.String, - [S$2.$userAgent]: core.String, - [S$2.$languages]: dart.nullable(core.List$(core.String)), - [S$2.$onLine]: dart.nullable(core.bool) - })); - dart.setLibraryUri(html$.Navigator, I[150]); - dart.registerExtension("Navigator", html$.Navigator); - 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[150]); - dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); - 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[150]); - dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); - html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorID.__(); - } - get appCodeName() { - return this.appCodeName; - } - get appName() { - return this.appName; - } - get appVersion() { - return this.appVersion; - } - get dartEnabled() { - return this.dartEnabled; - } - get platform() { - return this.platform; - } - get product() { - return this.product; - } - get userAgent() { - return this.userAgent; - } - }; - 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, - [S$2.$appCodeName]: core.String, - appName: core.String, - [S$2.$appName]: core.String, - appVersion: core.String, - [S$2.$appVersion]: core.String, - dartEnabled: dart.nullable(core.bool), - [S$2.$dartEnabled]: dart.nullable(core.bool), - platform: dart.nullable(core.String), - [S$2.$platform]: dart.nullable(core.String), - product: core.String, - [S$2.$product]: core.String, - userAgent: core.String, - [S$2.$userAgent]: core.String - })); - dart.setLibraryUri(html$.NavigatorID, I[150]); - dart.defineExtensionAccessors(html$.NavigatorID, [ - 'appCodeName', - 'appName', - 'appVersion', - 'dartEnabled', - 'platform', - 'product', - 'userAgent' - ]); - html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorLanguage.__(); - } - get language() { - return this.language; - } - get languages() { - return this.languages; - } - }; - 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$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[150]); - dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); - 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[150]); - dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); - html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorUserMediaError.__(); - } - get [S$2.$constraintName]() { - return this.constraintName; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } - }; - 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[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; - } - get [S$2.$downlinkMax]() { - return this.downlinkMax; - } - get [S$2.$effectiveType]() { - return this.effectiveType; - } - get [S$2.$rtt]() { - return this.rtt; - } - get [S.$type]() { - return this.type; - } - get [S.$onChange]() { - return html$.NetworkInformation.changeEvent.forTarget(this); - } - }; - 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), - [S$2.$downlinkMax]: dart.nullable(core.num), - [S$2.$effectiveType]: dart.nullable(core.String), - [S$2.$rtt]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S.$onChange]: async.Stream$(html$.Event) - })); - dart.setLibraryUri(html$.NetworkInformation, I[150]); - dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); - dart.defineLazy(html$.NetworkInformation, { - /*html$.NetworkInformation.changeEvent*/get changeEvent() { - 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")); - return result; - } - set first(value) { - super.first = value; - } - get last() { - let result = this[S$._this].lastChild; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - let l = this.length; - if (l === 0) dart.throw(new core.StateError.new("No elements")); - if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); - return dart.nullCheck(this[S$._this].firstChild); - } - add(value) { - html$.Node.as(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[149], 23154, 30, "iterable"); - if (html$._ChildNodeListLazy.is(iterable)) { - let otherList = iterable; - if (otherList[S$._this] != this[S$._this]) { - for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); - } - } - return; - } - for (let node of iterable) { - this[S$._this][S.$append](node); - } - } - insert(index, node) { - if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); - html$.Node.as(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)); - } - if (index == this.length) { - this[S$._this][S.$append](node); - } else { - this[S$._this].insertBefore(node, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let item = this._get(index); - this[S$._this][S$.$insertAllBefore](iterable, item); - } - } - setAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); - } - removeLast() { - let result = this.last; - if (result != null) { - this[S$._this][S$._removeChild](result); - } - return result; - } - removeAt(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); - } - return result; - } - remove(object) { - if (!html$.Node.is(object)) return false; - let node = object; - if (this[S$._this] != node.parentNode) return false; - this[S$._this][S$._removeChild](node); - return true; - } - [S$1._filter$2](test, 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]; - if (test(child) == removeMatching) { - this[S$._this][S$._removeChild](child); - } - child = nextChild; - } - } - removeWhere(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[149], 23236, 25, "test"); - this[S$1._filter$2](test, false); - } - clear() { - this[S$._this][S$._clearChildren](); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); - html$.Node.as(value); - if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); - this[S$._this][S$._replaceChild](value, this._get(index)); - return value$; - } - get iterator() { - return this[S$._this].childNodes[$iterator]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[149], 23281, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); - } - _get(index) { - if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); - return this[S$._this].childNodes[$_get](index); - } - get rawList() { - return this[S$._this].childNodes; - } - }; - (html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); - this[S$._this] = _this; - ; - }).prototype = html$._ChildNodeListLazy.prototype; - dart.addTypeTests(html$._ChildNodeListLazy); - dart.addTypeCaches(html$._ChildNodeListLazy); - html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), - [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Node, [core.int]), - [$_get]: dart.fnType(html$.Node, [core.int]) - })); - dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); - dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), - [S$._this]: dart.finalFieldType(html$.Node) - })); - dart.defineExtensionMethods(html$._ChildNodeListLazy, [ - 'add', - 'addAll', - 'insert', - 'insertAll', - 'setAll', - 'removeLast', - 'removeAt', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - '_set', - 'sort', - 'shuffle', - 'setRange', - 'fillRange', - 'removeRange', - '_get' - ]); - dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ - 'first', - 'last', - 'single', - 'iterator', - 'length' - ]); - html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NodeFilter.__(); - } - }; - dart.addTypeTests(html$.NodeFilter); - dart.addTypeCaches(html$.NodeFilter); - 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; - }, - /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { - return 2; - }, - /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { - return 3; - }, - /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { - return 4294967295.0; - }, - /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { - return 128; - }, - /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { - return 256; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { - return 1024; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { - return 512; - }, - /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { - return 1; - }, - /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { - return 64; - }, - /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { - return 4; - } - }, false); - dart.registerExtension("NodeFilter", html$.NodeFilter); - html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { - static new(root, 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; - } - get [S$2.$referenceNode]() { - return this.referenceNode; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } - }; - dart.addTypeTests(html$.NodeIterator); - dart.addTypeCaches(html$.NodeIterator); - dart.setMethodSignature(html$.NodeIterator, () => ({ - __proto__: dart.getMethods(html$.NodeIterator.__proto__), - [S$2.$detach]: dart.fnType(dart.void, []), - [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), - [S$2.$referenceNode]: dart.nullable(html$.Node), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int - })); - dart.setLibraryUri(html$.NodeIterator, I[150]); - dart.registerExtension("NodeIterator", html$.NodeIterator); - 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[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[149], 23739, 25, "index"); - html$.Node.as(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[149], 23745, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 23773, 22, "index"); - return this[$_get](index); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } - }; - html$.NodeList.prototype[dart.isList] = true; - dart.addTypeTests(html$.NodeList); - dart.addTypeCaches(html$.NodeList); - 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 - })); - dart.setSetterSignature(html$.NodeList, () => ({ - __proto__: dart.getSetters(html$.NodeList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$.NodeList, I[150]); - dart.registerExtension("NodeList", html$.NodeList); - dart.registerExtension("RadioNodeList", html$.NodeList); - html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonDocumentTypeChildNode.__(); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } - }; - 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[150]); - dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); - html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonElementParentNode.__(); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - }; - dart.addTypeTests(html$.NonElementParentNode); - dart.addTypeCaches(html$.NonElementParentNode); - dart.setMethodSignature(html$.NonElementParentNode, () => ({ - __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) - })); - dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); - dart.setLibraryUri(html$.NonElementParentNode, I[150]); - dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); - html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NoncedElement.__(); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } - }; - 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) - })); - dart.setSetterSignature(html$.NoncedElement, () => ({ - __proto__: dart.getSetters(html$.NoncedElement.__proto__), - [S.$nonce]: dart.nullable(core.String) - })); - 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[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; - let parsedOptions = new _js_helper.LinkedMap.new(); - if (dir != null) parsedOptions[$_set]("dir", dir); - if (body != null) parsedOptions[$_set]("body", body); - if (lang != null) parsedOptions[$_set]("lang", lang); - if (tag != null) parsedOptions[$_set]("tag", tag); - 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[149], 23879, 51, "title"); - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return html$.Notification._create_1(title, options_1); - } - return html$.Notification._create_2(title); - } - static _create_1(title, options) { - return new Notification(title, options); - } - static _create_2(title) { - return new Notification(title); - } - static get supported() { - return !!window.Notification; - } - get [S$2.$actions]() { - return this.actions; - } - get [S$2.$badge]() { - return this.badge; - } - get [S$1.$body]() { - return this.body; - } - get [S$.$data]() { - return this.data; - } - get [S.$dir]() { - return this.dir; - } - get [S$2.$icon]() { - return this.icon; - } - get [S$2.$image]() { - return this.image; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$renotify]() { - return this.renotify; - } - get [S$2.$requireInteraction]() { - return this.requireInteraction; - } - get [S$2.$silent]() { - return this.silent; - } - get [S$2.$tag]() { - return this.tag; - } - get [S$.$timestamp]() { - return this.timestamp; - } - get [S.$title]() { - return this.title; - } - get [S$2.$vibrate]() { - return this.vibrate; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - static requestPermission() { - let completer = T$0.CompleterOfString().new(); - dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); - completer.complete(value); - }, T$0.StringTovoid())); - return completer.future; - } - get [S.$onClick]() { - return html$.Notification.clickEvent.forTarget(this); - } - get [S.$onClose]() { - return html$.Notification.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Notification.errorEvent.forTarget(this); - } - get [S$2.$onShow]() { - return html$.Notification.showEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.Notification); - dart.addTypeCaches(html$.Notification); - 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), - [S$2.$badge]: dart.nullable(core.String), - [S$1.$body]: dart.nullable(core.String), - [S$.$data]: dart.nullable(core.Object), - [S.$dir]: dart.nullable(core.String), - [S$2.$icon]: dart.nullable(core.String), - [S$2.$image]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S$2.$renotify]: dart.nullable(core.bool), - [S$2.$requireInteraction]: dart.nullable(core.bool), - [S$2.$silent]: dart.nullable(core.bool), - [S$2.$tag]: dart.nullable(core.String), - [S$.$timestamp]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S$2.$vibrate]: dart.nullable(core.List$(core.int)), - [S.$onClick]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$2.$onShow]: async.Stream$(html$.Event) - })); - 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[361] || CT.C361; - }, - /*html$.Notification.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*html$.Notification.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Notification.showEvent*/get showEvent() { - 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[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); - } - get [S$1.$action]() { - return this.action; - } - get [S$2.$notification]() { - return this.notification; - } - get [S$2.$reply]() { - return this.reply; - } - }; - 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[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; - } - set [$reversed](value) { - this.reversed = value; - } - get [S$.$start]() { - return this.start; - } - set [S$.$start](value) { - this.start = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - (html$.OListElement.created = function() { - html$.OListElement.__proto__.created.call(this); - ; - }).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), - [S$.$start]: core.int, - [S.$type]: core.String - })); - dart.setSetterSignature(html$.OListElement, () => ({ - __proto__: dart.getSetters(html$.OListElement.__proto__), - [$reversed]: dart.nullable(core.bool), - [S$.$start]: core.int, - [S.$type]: core.String - })); - 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"); - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$.$data]() { - return this.data; - } - set [S$.$data](value) { - this.data = value; - } - get [S$.$form]() { - return this.form; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - }; - (html$.ObjectElement.created = function() { - html$.ObjectElement.__proto__.created.call(this); - ; - }).prototype = html$.ObjectElement.prototype; - dart.addTypeTests(html$.ObjectElement); - dart.addTypeCaches(html$.ObjectElement); - dart.setMethodSignature(html$.ObjectElement, () => ({ - __proto__: dart.getMethods(html$.ObjectElement.__proto__), - [S$.__getter__]: dart.fnType(html$.Node, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1._get_contentWindow]: dart.dynamic, - [S$.$data]: core.String, - [S$.$form]: dart.nullable(html$.FormElement), - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [$width]: core.String, - [S$.$willValidate]: core.bool - })); - dart.setSetterSignature(html$.ObjectElement, () => ({ - __proto__: dart.getSetters(html$.ObjectElement.__proto__), - [S$.$data]: core.String, - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [$width]: core.String - })); - 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[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); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$2.$convertToBlob](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); - } - [S$.$getContext](contextType, attributes = null) { - 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); - } - return this[S$._getContext_2](contextType); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$2.$transferToImageBitmap](...args) { - return this.transferToImageBitmap.apply(this, args); - } - }; - dart.addTypeTests(html$.OffscreenCanvas); - dart.addTypeCaches(html$.OffscreenCanvas); - dart.setMethodSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), - [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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), - [$width]: dart.nullable(core.int) - })); - dart.setSetterSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.OffscreenCanvas, I[150]); - dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); - html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OffscreenCanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$fillText](...args) { - return this.fillText.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - }; - dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); - dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); - html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; - dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) - })); - 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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - }; - (html$.OptGroupElement.created = function() { - html$.OptGroupElement.__proto__.created.call(this); - ; - }).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, - [S$.$label]: core.String - })); - dart.setSetterSignature(html$.OptGroupElement, () => ({ - __proto__: dart.getSetters(html$.OptGroupElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$label]: core.String - })); - 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[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.__(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); - } - if (defaultSelected != null) { - return html$.OptionElement._create_2(data, value, defaultSelected); - } - if (value != null) { - return html$.OptionElement._create_3(data, value); - } - if (data != null) { - return html$.OptionElement._create_4(data); - } - 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); - } - static _create_2(data, value, defaultSelected) { - return new Option(data, value, defaultSelected); - } - static _create_3(data, value) { - return new Option(data, value); - } - static _create_4(data) { - return new Option(data); - } - static _create_5() { - return new Option(); - } - static ['_#created#tearOff']() { - return new html$.OptionElement.created(); - } - get [S$2.$defaultSelected]() { - return this.defaultSelected; - } - set [S$2.$defaultSelected](value) { - this.defaultSelected = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S.$index]() { - return this.index; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.OptionElement.created = function() { - html$.OptionElement.__proto__.created.call(this); - ; - }).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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S.$index]: core.int, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String - })); - dart.setSetterSignature(html$.OptionElement, () => ({ - __proto__: dart.getSetters(html$.OptionElement.__proto__), - [S$2.$defaultSelected]: core.bool, - [S$.$disabled]: core.bool, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String - })); - 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"); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - }; - (html$.OutputElement.created = function() { - html$.OutputElement.__proto__.created.call(this); - ; - }).prototype = html$.OutputElement.prototype; - dart.addTypeTests(html$.OutputElement); - dart.addTypeCaches(html$.OutputElement); - dart.setMethodSignature(html$.OutputElement, () => ({ - __proto__: dart.getMethods(html$.OutputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool) - })); - dart.setSetterSignature(html$.OutputElement, () => ({ - __proto__: dart.getSetters(html$.OutputElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) - })); - dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); - dart.setLibraryUri(html$.OutputElement, I[150]); - dart.registerExtension("HTMLOutputElement", html$.OutputElement); - html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OverconstrainedError.__(); - } - static new(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._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); - } - get [S$2.$constraint]() { - return this.constraint; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } - }; - 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[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[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); - } - static _create_2(type) { - return new PageTransitionEvent(type); - } - get [S$2.$persisted]() { - return this.persisted; - } - }; - 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[150]); - dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); - html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintRenderingContext2D.__(); - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - }; - dart.addTypeTests(html$.PaintRenderingContext2D); - dart.addTypeCaches(html$.PaintRenderingContext2D); - html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; - dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) - })); - dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) - })); - dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); - dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); - html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintSize.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - }; - 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[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; - } - [S$2.$registerPaint](...args) { - return this.registerPaint.apply(this, args); - } - }; - dart.addTypeTests(html$.PaintWorkletGlobalScope); - dart.addTypeCaches(html$.PaintWorkletGlobalScope); - 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[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); - ; - }).prototype = html$.ParagraphElement.prototype; - dart.addTypeTests(html$.ParagraphElement); - dart.addTypeCaches(html$.ParagraphElement); - 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; - } - set [$name](value) { - this.name = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.ParamElement.created = function() { - html$.ParamElement.__proto__.created.call(this); - ; - }).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, - [S.$value]: core.String - })); - dart.setSetterSignature(html$.ParamElement, () => ({ - __proto__: dart.getSetters(html$.ParamElement.__proto__), - [$name]: core.String, - [S.$value]: core.String - })); - dart.setLibraryUri(html$.ParamElement, I[150]); - dart.registerExtension("HTMLParamElement", html$.ParamElement); - html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ParentNode.__(); - } - get [S._childElementCount]() { - return this._childElementCount; - } - get [S._children]() { - return this._children; - } - get [S._firstElementChild]() { - return this._firstElementChild; - } - get [S._lastElementChild]() { - return this._lastElementChild; - } - }; - 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, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) - })); - 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); - return html$.PasswordCredential._create_1(data_1); - } - if (html$.FormElement.is(data_OR_form)) { - return html$.PasswordCredential._create_2(data_OR_form); - } - 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); - } - static _create_2(data_OR_form) { - return new PasswordCredential(data_OR_form); - } - get [S$2.$additionalData]() { - return this.additionalData; - } - set [S$2.$additionalData](value) { - this.additionalData = value; - } - get [S$2.$idName]() { - return this.idName; - } - set [S$2.$idName](value) { - this.idName = value; - } - get [S$.$password]() { - return this.password; - } - get [S$2.$passwordName]() { - return this.passwordName; - } - set [S$2.$passwordName](value) { - this.passwordName = value; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } - }; - 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), - [S$2.$idName]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.PasswordCredential, () => ({ - __proto__: dart.getSetters(html$.PasswordCredential.__proto__), - [S$2.$additionalData]: dart.nullable(core.Object), - [S$2.$idName]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.PasswordCredential, I[150]); - dart.registerExtension("PasswordCredential", html$.PasswordCredential); - 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(); - } - if (html$.Path2D.is(path_OR_text)) { - return html$.Path2D._create_2(path_OR_text); - } - if (typeof path_OR_text == 'string') { - return html$.Path2D._create_3(path_OR_text); - } - 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(); - } - static _create_2(path_OR_text) { - return new Path2D(path_OR_text); - } - static _create_3(path_OR_text) { - return new Path2D(path_OR_text); - } - [S$2.$addPath](...args) { - return this.addPath.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - }; - dart.addTypeTests(html$.Path2D); - dart.addTypeCaches(html$.Path2D); - html$.Path2D[dart.implements] = () => [html$._CanvasPath]; - dart.setMethodSignature(html$.Path2D, () => ({ - __proto__: dart.getMethods(html$.Path2D.__proto__), - [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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$.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentAddress.__(); - } - get [S$2.$addressLine]() { - return this.addressLine; - } - get [S$2.$city]() { - return this.city; - } - get [S$2.$country]() { - return this.country; - } - get [S$2.$dependentLocality]() { - return this.dependentLocality; - } - get [S$2.$languageCode]() { - return this.languageCode; - } - get [S$2.$organization]() { - return this.organization; - } - get [S$2.$phone]() { - return this.phone; - } - get [S$2.$postalCode]() { - return this.postalCode; - } - get [S$2.$recipient]() { - return this.recipient; - } - get [S$1.$region]() { - return this.region; - } - get [S$2.$sortingCode]() { - return this.sortingCode; - } - }; - 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)), - [S$2.$city]: dart.nullable(core.String), - [S$2.$country]: dart.nullable(core.String), - [S$2.$dependentLocality]: dart.nullable(core.String), - [S$2.$languageCode]: dart.nullable(core.String), - [S$2.$organization]: dart.nullable(core.String), - [S$2.$phone]: dart.nullable(core.String), - [S$2.$postalCode]: dart.nullable(core.String), - [S$2.$recipient]: dart.nullable(core.String), - [S$1.$region]: dart.nullable(core.String), - [S$2.$sortingCode]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.PaymentAddress, I[150]); - dart.registerExtension("PaymentAddress", html$.PaymentAddress); - 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[149], 25057, 30, "instrumentKey"); - return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); - } - [S.$get](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[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[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)); - } - }; - dart.addTypeTests(html$.PaymentInstruments); - dart.addTypeCaches(html$.PaymentInstruments); - dart.setMethodSignature(html$.PaymentInstruments, () => ({ - __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), - [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future$(core.List), []), - [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) - })); - dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); - dart.setLibraryUri(html$.PaymentInstruments, I[150]); - dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); - html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentManager.__(); - } - get [S$2.$instruments]() { - return this.instruments; - } - get [S$2.$userHint]() { - return this.userHint; - } - set [S$2.$userHint](value) { - this.userHint = value; - } - }; - 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), - [S$2.$userHint]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.PaymentManager, () => ({ - __proto__: dart.getSetters(html$.PaymentManager.__proto__), - [S$2.$userHint]: dart.nullable(core.String) - })); - 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[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)); - } - if (options != null) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - let options_2 = html_common.convertDartToNative_Dictionary(options); - return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); - } - 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; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - get [S$2.$shippingType]() { - return this.shippingType; - } - [S.$abort]() { - return js_util.promiseToFuture(dart.dynamic, this.abort()); - } - [S$2.$canMakePayment]() { - return js_util.promiseToFuture(core.bool, this.canMakePayment()); - } - [S$0.$show]() { - return js_util.promiseToFuture(html$.PaymentResponse, this.show()); - } - }; - dart.addTypeTests(html$.PaymentRequest); - dart.addTypeCaches(html$.PaymentRequest); - dart.setMethodSignature(html$.PaymentRequest, () => ({ - __proto__: dart.getMethods(html$.PaymentRequest.__proto__), - [S.$abort]: dart.fnType(async.Future, []), - [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), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String), - [S$2.$shippingType]: dart.nullable(core.String) - })); - 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[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); - } - get [S$2.$instrumentKey]() { - return this.instrumentKey; - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$2.$paymentRequestId]() { - return this.paymentRequestId; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - get [S$2.$total]() { - return this.total; - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } - }; - dart.addTypeTests(html$.PaymentRequestEvent); - dart.addTypeCaches(html$.PaymentRequestEvent); - dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), - [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), - [S$.$methodData]: dart.nullable(core.List), - [S$.$modifiers]: dart.nullable(core.List), - [S$2.$paymentRequestId]: dart.nullable(core.String), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String), - [S$2.$total]: dart.nullable(core.Object) - })); - 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[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); - } - static _create_2(type) { - return new PaymentRequestUpdateEvent(type); - } - [S$2.$updateWith](...args) { - return this.updateWith.apply(this, args); - } - }; - dart.addTypeTests(html$.PaymentRequestUpdateEvent); - dart.addTypeCaches(html$.PaymentRequestUpdateEvent); - dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), - [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentResponse.__(); - } - get [S$.$details]() { - return this.details; - } - get [S$2.$methodName]() { - return this.methodName; - } - get [S$2.$payerEmail]() { - return this.payerEmail; - } - get [S$2.$payerName]() { - return this.payerName; - } - get [S$2.$payerPhone]() { - return this.payerPhone; - } - get [S$2.$requestId]() { - return this.requestId; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - [S$1.$complete](paymentResult = null) { - return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); - } - }; - dart.addTypeTests(html$.PaymentResponse); - dart.addTypeCaches(html$.PaymentResponse); - 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), - [S$2.$methodName]: dart.nullable(core.String), - [S$2.$payerEmail]: dart.nullable(core.String), - [S$2.$payerName]: dart.nullable(core.String), - [S$2.$payerPhone]: dart.nullable(core.String), - [S$2.$requestId]: dart.nullable(core.String), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String) - })); - 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; - } - get [S$2.$memory]() { - return this.memory; - } - get [S$2.$navigation]() { - return this.navigation; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - get [S$.$timing]() { - return this.timing; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, 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._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) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } - }; - dart.addTypeTests(html$.Performance); - dart.addTypeCaches(html$.Performance); - dart.setMethodSignature(html$.Performance, () => ({ - __proto__: dart.getMethods(html$.Performance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.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), - [S$2.$navigation]: html$.PerformanceNavigation, - [S$2.$timeOrigin]: dart.nullable(core.num), - [S$.$timing]: html$.PerformanceTiming - })); - dart.setStaticGetterSignature(html$.Performance, () => ['supported']); - dart.setLibraryUri(html$.Performance, I[150]); - dart.registerExtension("Performance", html$.Performance); - html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceEntry.__(); - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$entryType]() { - return this.entryType; - } - get [$name]() { - return this.name; - } - get [S$.$startTime]() { - return this.startTime; - } - }; - 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, - [S$2.$entryType]: core.String, - [$name]: core.String, - [S$.$startTime]: core.num - })); - 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[150]); - dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); - html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMark.__(); - } - }; - dart.addTypeTests(html$.PerformanceMark); - dart.addTypeCaches(html$.PerformanceMark); - dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); - dart.setLibraryUri(html$.PerformanceMark, I[150]); - dart.registerExtension("PerformanceMark", html$.PerformanceMark); - html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMeasure.__(); - } - }; - dart.addTypeTests(html$.PerformanceMeasure); - dart.addTypeCaches(html$.PerformanceMeasure); - dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); - dart.setLibraryUri(html$.PerformanceMeasure, I[150]); - dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); - html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceNavigation.__(); - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } - }; - 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[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; - }, - /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { - return 0; - }, - /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { - return 1; - }, - /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { - return 255; - } - }, 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; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$decodedBodySize]() { - return this.decodedBodySize; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$encodedBodySize]() { - return this.encodedBodySize; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$initiatorType]() { - return this.initiatorType; - } - get [S$2.$nextHopProtocol]() { - return this.nextHopProtocol; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$serverTiming]() { - return this.serverTiming; - } - get [S$2.$transferSize]() { - return this.transferSize; - } - get [S$2.$workerStart]() { - return this.workerStart; - } - }; - 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, - [S$2.$connectStart]: core.num, - [S$2.$decodedBodySize]: dart.nullable(core.int), - [S$2.$domainLookupEnd]: dart.nullable(core.num), - [S$2.$domainLookupStart]: dart.nullable(core.num), - [S$2.$encodedBodySize]: dart.nullable(core.int), - [S$2.$fetchStart]: dart.nullable(core.num), - [S$2.$initiatorType]: dart.nullable(core.String), - [S$2.$nextHopProtocol]: dart.nullable(core.String), - [S$2.$redirectEnd]: dart.nullable(core.num), - [S$2.$redirectStart]: dart.nullable(core.num), - [S$2.$requestStart]: dart.nullable(core.num), - [S$2.$responseEnd]: dart.nullable(core.num), - [S$2.$responseStart]: dart.nullable(core.num), - [S$2.$secureConnectionStart]: dart.nullable(core.num), - [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), - [S$2.$transferSize]: dart.nullable(core.int), - [S$2.$workerStart]: dart.nullable(core.num) - })); - 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; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } - }; - 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), - [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), - [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), - [S$2.$domInteractive]: dart.nullable(core.num), - [S$2.$loadEventEnd]: dart.nullable(core.num), - [S$2.$loadEventStart]: dart.nullable(core.num), - [S$2.$redirectCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$2.$unloadEventEnd]: dart.nullable(core.num), - [S$2.$unloadEventStart]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); - dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); - html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](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; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } - }; - dart.addTypeTests(html$.PerformanceObserver); - dart.addTypeCaches(html$.PerformanceObserver); - dart.setMethodSignature(html$.PerformanceObserver, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [core.Map]), - [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) - })); - dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.PerformanceObserver, I[150]); - dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); - html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserverEntryList.__(); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } - }; - dart.addTypeTests(html$.PerformanceObserverEntryList); - dart.addTypeCaches(html$.PerformanceObserverEntryList); - dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), - [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]) - })); - dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); - dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); - dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); - html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformancePaintTiming.__(); - } - }; - dart.addTypeTests(html$.PerformancePaintTiming); - dart.addTypeCaches(html$.PerformancePaintTiming); - dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); - dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); - dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); - html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceServerTiming.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$.$duration]() { - return this.duration; - } - get [$name]() { - return this.name; - } - }; - 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[150]); - dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); - html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceTiming.__(); - } - get [S$2.$connectEnd]() { - return this.connectEnd; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$domComplete]() { - return this.domComplete; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$domLoading]() { - return this.domLoading; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$navigationStart]() { - return this.navigationStart; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } - }; - 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, - [S$2.$connectStart]: core.int, - [S$2.$domComplete]: core.int, - [S$2.$domContentLoadedEventEnd]: core.int, - [S$2.$domContentLoadedEventStart]: core.int, - [S$2.$domInteractive]: core.int, - [S$2.$domLoading]: core.int, - [S$2.$domainLookupEnd]: core.int, - [S$2.$domainLookupStart]: core.int, - [S$2.$fetchStart]: core.int, - [S$2.$loadEventEnd]: core.int, - [S$2.$loadEventStart]: core.int, - [S$2.$navigationStart]: core.int, - [S$2.$redirectEnd]: core.int, - [S$2.$redirectStart]: core.int, - [S$2.$requestStart]: core.int, - [S$2.$responseEnd]: core.int, - [S$2.$responseStart]: core.int, - [S$2.$secureConnectionStart]: core.int, - [S$2.$unloadEventEnd]: core.int, - [S$2.$unloadEventStart]: core.int - })); - 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; - } - get [S.$onChange]() { - return html$.PermissionStatus.changeEvent.forTarget(this); - } - }; - 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[150]); - dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); - dart.defineLazy(html$.PermissionStatus, { - /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - } - }, false); - dart.registerExtension("PermissionStatus", html$.PermissionStatus); - html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Permissions.__(); - } - [S$2.$query](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[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[149], 25662, 49, "permissions"); - return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); - } - [S$2.$revoke](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)); - } - }; - dart.addTypeTests(html$.Permissions); - dart.addTypeCaches(html$.Permissions); - dart.setMethodSignature(html$.Permissions, () => ({ - __proto__: dart.getMethods(html$.Permissions.__proto__), - [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [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.setStaticMethodSignature(html$.Permissions, () => ['__']); - dart.setLibraryUri(html$.Permissions, I[150]); - dart.registerExtension("Permissions", html$.Permissions); - html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PhotoCapabilities.__(); - } - get [S$2.$fillLightMode]() { - return this.fillLightMode; - } - get [S$2.$imageHeight]() { - return this.imageHeight; - } - get [S$2.$imageWidth]() { - return this.imageWidth; - } - get [S$2.$redEyeReduction]() { - return this.redEyeReduction; - } - }; - 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), - [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), - [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), - [S$2.$redEyeReduction]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.PhotoCapabilities, I[150]); - dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); - 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.setStaticMethodSignature(html$.PictureElement, () => ['__']); - dart.setLibraryUri(html$.PictureElement, I[150]); - dart.registerExtension("HTMLPictureElement", html$.PictureElement); - html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Plugin.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$filename]() { - return this.filename; - } - get [$length]() { - return this.length; - } - get [$name]() { - return this.name; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - }; - dart.addTypeTests(html$.Plugin); - dart.addTypeCaches(html$.Plugin); - dart.setMethodSignature(html$.Plugin, () => ({ - __proto__: dart.getMethods(html$.Plugin.__proto__), - [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), - [S$1.$filename]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [$name]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.Plugin, I[150]); - dart.registerExtension("Plugin", html$.Plugin); - 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[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[149], 25752, 25, "index"); - html$.Plugin.as(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[149], 25758, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 25786, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$2.$refresh](...args) { - return this.refresh.apply(this, args); - } - }; - html$.PluginArray.prototype[dart.isList] = true; - dart.addTypeTests(html$.PluginArray); - dart.addTypeCaches(html$.PluginArray); - 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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), - [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 - })); - dart.setSetterSignature(html$.PluginArray, () => ({ - __proto__: dart.getSetters(html$.PluginArray.__proto__), - [$length]: core.int - })); - 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[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); - } - static _create_2(type) { - return new PointerEvent(type); - } - get [$height]() { - return this.height; - } - get [S$2.$isPrimary]() { - return this.isPrimary; - } - get [S$2.$pointerId]() { - return this.pointerId; - } - get [S$2.$pointerType]() { - return this.pointerType; - } - get [S$2.$pressure]() { - return this.pressure; - } - get [S$2.$tangentialPressure]() { - return this.tangentialPressure; - } - get [S$2.$tiltX]() { - return this.tiltX; - } - get [S$2.$tiltY]() { - return this.tiltY; - } - get [S$2.$twist]() { - return this.twist; - } - get [$width]() { - return this.width; - } - [S$2.$getCoalescedEvents](...args) { - return this.getCoalescedEvents.apply(this, args); - } - static get supported() { - try { - return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } - }; - dart.addTypeTests(html$.PointerEvent); - dart.addTypeCaches(html$.PointerEvent); - 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), - [S$2.$isPrimary]: dart.nullable(core.bool), - [S$2.$pointerId]: dart.nullable(core.int), - [S$2.$pointerType]: dart.nullable(core.String), - [S$2.$pressure]: dart.nullable(core.num), - [S$2.$tangentialPressure]: dart.nullable(core.num), - [S$2.$tiltX]: dart.nullable(core.int), - [S$2.$tiltY]: dart.nullable(core.int), - [S$2.$twist]: dart.nullable(core.int), - [$width]: dart.nullable(core.num) - })); - 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[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); - } - static _create_2(type) { - return new PopStateEvent(type); - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } - }; - 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[150]); - dart.registerExtension("PopStateEvent", html$.PopStateEvent); - html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PositionError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } - }; - 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[150]); - dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); - dart.defineLazy(html$.PositionError, { - /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { - return 1; - }, - /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { - return 2; - }, - /*html$.PositionError.TIMEOUT*/get TIMEOUT() { - return 3; - } - }, 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); - ; - }).prototype = html$.PreElement.prototype; - dart.addTypeTests(html$.PreElement); - dart.addTypeCaches(html$.PreElement); - dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); - dart.setLibraryUri(html$.PreElement, I[150]); - dart.registerExtension("HTMLPreElement", html$.PreElement); - html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Presentation.__(); - } - get [S$2.$defaultRequest]() { - return this.defaultRequest; - } - set [S$2.$defaultRequest](value) { - this.defaultRequest = value; - } - get [S$2.$receiver]() { - return this.receiver; - } - }; - 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), - [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) - })); - dart.setSetterSignature(html$.Presentation, () => ({ - __proto__: dart.getSetters(html$.Presentation.__proto__), - [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) - })); - 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; - } - get [S.$onChange]() { - return html$.PresentationAvailability.changeEvent.forTarget(this); - } - }; - 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[150]); - dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); - dart.defineLazy(html$.PresentationAvailability, { - /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - 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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$state]() { - return this.state; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S$.$onMessage]() { - return html$.PresentationConnection.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.PresentationConnection); - dart.addTypeCaches(html$.PresentationConnection); - dart.setMethodSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getMethods(html$.PresentationConnection.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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), - [S.$id]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) - })); - dart.setSetterSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getSetters(html$.PresentationConnection.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.PresentationConnection, I[150]); - dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); - dart.defineLazy(html$.PresentationConnection, { - /*html$.PresentationConnection.messageEvent*/get messageEvent() { - 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[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); - } - get [S$1.$connection]() { - return this.connection; - } - }; - 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[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[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); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } - }; - 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[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[150]); - dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); - 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[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); - } - if (T$.ListOfString().is(url_OR_urls)) { - let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); - return html$.PresentationRequest._create_2(urls_1); - } - 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); - } - static _create_2(url_OR_urls) { - return new PresentationRequest(url_OR_urls); - } - [S$2.$getAvailability]() { - return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); - } - [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); - return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); - } - [S$.$start]() { - return js_util.promiseToFuture(html$.PresentationConnection, this.start()); - } - }; - dart.addTypeTests(html$.PresentationRequest); - dart.addTypeCaches(html$.PresentationRequest); - dart.setMethodSignature(html$.PresentationRequest, () => ({ - __proto__: dart.getMethods(html$.PresentationRequest.__proto__), - [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), - [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), - [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) - })); - 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; - } - get [S.$target]() { - return this.target; - } - }; - 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[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"); - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$0.$position]() { - return this.position; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - (html$.ProgressElement.created = function() { - html$.ProgressElement.__proto__.created.call(this); - ; - }).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)), - [S$1.$max]: core.num, - [S$0.$position]: core.num, - [S.$value]: core.num - })); - dart.setSetterSignature(html$.ProgressElement, () => ({ - __proto__: dart.getSetters(html$.ProgressElement.__proto__), - [S$1.$max]: core.num, - [S.$value]: core.num - })); - 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[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); - } - static _create_2(type) { - return new ProgressEvent(type); - } - get [S$2.$lengthComputable]() { - return this.lengthComputable; - } - get [S$1.$loaded]() { - return this.loaded; - } - get [S$2.$total]() { - return this.total; - } - }; - 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[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[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); - } - get [S$2.$promise]() { - return js_util.promiseToFuture(dart.dynamic, this.promise); - } - get [S$.$reason]() { - return this.reason; - } - }; - 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[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; - } - get [S$.$response]() { - return this.response; - } - }; - 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[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[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); - } - static _create_2(type) { - return new PushEvent(type); - } - get [S$.$data]() { - return this.data; - } - }; - 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[150]); - dart.registerExtension("PushEvent", html$.PushEvent); - html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushManager.__(); - } - [S$2.$getSubscription]() { - return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); - } - [S$2.$permissionState](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); - } - [S$2.$subscribe](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); - } - }; - dart.addTypeTests(html$.PushManager); - dart.addTypeCaches(html$.PushManager); - dart.setMethodSignature(html$.PushManager, () => ({ - __proto__: dart.getMethods(html$.PushManager.__proto__), - [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushMessageData.__(); - } - [S$.$arrayBuffer](...args) { - return this.arrayBuffer.apply(this, args); - } - [S$.$blob](...args) { - return this.blob.apply(this, args); - } - [S$.$json](...args) { - return this.json.apply(this, args); - } - [S.$text](...args) { - return this.text.apply(this, args); - } - }; - dart.addTypeTests(html$.PushMessageData); - dart.addTypeCaches(html$.PushMessageData); - dart.setMethodSignature(html$.PushMessageData, () => ({ - __proto__: dart.getMethods(html$.PushMessageData.__proto__), - [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), - [S$.$blob]: dart.fnType(html$.Blob, []), - [S$.$json]: dart.fnType(core.Object, []), - [S.$text]: dart.fnType(core.String, []) - })); - dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); - dart.setLibraryUri(html$.PushMessageData, I[150]); - dart.registerExtension("PushMessageData", html$.PushMessageData); - html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscription.__(); - } - get [S$2.$endpoint]() { - return this.endpoint; - } - get [S$2.$expirationTime]() { - return this.expirationTime; - } - get [S$0.$options]() { - return this.options; - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S$2.$unsubscribe]() { - return js_util.promiseToFuture(core.bool, this.unsubscribe()); - } - }; - dart.addTypeTests(html$.PushSubscription); - dart.addTypeCaches(html$.PushSubscription); - dart.setMethodSignature(html$.PushSubscription, () => ({ - __proto__: dart.getMethods(html$.PushSubscription.__proto__), - [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[150]); - dart.registerExtension("PushSubscription", html$.PushSubscription); - html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscriptionOptions.__(); - } - get [S$2.$applicationServerKey]() { - return this.applicationServerKey; - } - get [S$2.$userVisibleOnly]() { - return this.userVisibleOnly; - } - }; - 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[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; - } - set [S$1.$cite](value) { - this.cite = value; - } - }; - (html$.QuoteElement.created = function() { - html$.QuoteElement.__proto__.created.call(this); - ; - }).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 - })); - dart.setSetterSignature(html$.QuoteElement, () => ({ - __proto__: dart.getSetters(html$.QuoteElement.__proto__), - [S$1.$cite]: core.String - })); - dart.setLibraryUri(html$.QuoteElement, I[150]); - dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); - 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[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; - } - get [S$2.$commonAncestorContainer]() { - return this.commonAncestorContainer; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - [S$2.$cloneContents](...args) { - return this.cloneContents.apply(this, args); - } - [S$2.$cloneRange](...args) { - return this.cloneRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$compareBoundaryPoints](...args) { - return this.compareBoundaryPoints.apply(this, args); - } - [S$2.$comparePoint](...args) { - return this.comparePoint.apply(this, args); - } - [S$2.$createContextualFragment](...args) { - return this.createContextualFragment.apply(this, args); - } - [S$2.$deleteContents](...args) { - return this.deleteContents.apply(this, args); - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [$expand](...args) { - return this.expand.apply(this, args); - } - [S$2.$extractContents](...args) { - return this.extractContents.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S$2.$insertNode](...args) { - return this.insertNode.apply(this, args); - } - [S$2.$isPointInRange](...args) { - return this.isPointInRange.apply(this, args); - } - [S$2.$selectNode](...args) { - return this.selectNode.apply(this, args); - } - [S$2.$selectNodeContents](...args) { - return this.selectNodeContents.apply(this, args); - } - [S$2.$setEnd](...args) { - return this.setEnd.apply(this, args); - } - [S$2.$setEndAfter](...args) { - return this.setEndAfter.apply(this, args); - } - [S$2.$setEndBefore](...args) { - return this.setEndBefore.apply(this, args); - } - [S$2.$setStart](...args) { - return this.setStart.apply(this, args); - } - [S$2.$setStartAfter](...args) { - return this.setStartAfter.apply(this, args); - } - [S$2.$setStartBefore](...args) { - return this.setStartBefore.apply(this, args); - } - [S$2.$surroundContents](...args) { - return this.surroundContents.apply(this, args); - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - static get supportsCreateContextualFragment() { - return "createContextualFragment" in window.Range.prototype; - } - }; - dart.addTypeTests(html$.Range); - dart.addTypeCaches(html$.Range); - dart.setMethodSignature(html$.Range, () => ({ - __proto__: dart.getMethods(html$.Range.__proto__), - [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), - [S$2.$cloneRange]: dart.fnType(html$.Range, []), - [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), - [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), - [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), - [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), - [S$2.$deleteContents]: dart.fnType(dart.void, []), - [S$2.$detach]: dart.fnType(dart.void, []), - [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), - [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), - [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, - [S$2.$commonAncestorContainer]: html$.Node, - [S$2.$endContainer]: html$.Node, - [S$2.$endOffset]: core.int, - [S$2.$startContainer]: html$.Node, - [S$2.$startOffset]: core.int - })); - 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; - }, - /*html$.Range.END_TO_START*/get END_TO_START() { - return 3; - }, - /*html$.Range.START_TO_END*/get START_TO_END() { - return 1; - }, - /*html$.Range.START_TO_START*/get START_TO_START() { - return 0; - } - }, false); - dart.registerExtension("Range", html$.Range); - html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RelatedApplication.__(); - } - get [S.$id]() { - return this.id; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$.$url]() { - return this.url; - } - }; - 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[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); - return html$.RelativeOrientationSensor._create_1(sensorOptions_1); - } - return html$.RelativeOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.RelativeOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new RelativeOrientationSensor(sensorOptions); - } - static _create_2() { - return new RelativeOrientationSensor(); - } - }; - dart.addTypeTests(html$.RelativeOrientationSensor); - dart.addTypeCaches(html$.RelativeOrientationSensor); - 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; - } - [S$2.$cancelWatchAvailability](id = null) { - return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } - [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); - return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); - } - }; - dart.addTypeTests(html$.RemotePlayback); - dart.addTypeCaches(html$.RemotePlayback); - dart.setMethodSignature(html$.RemotePlayback, () => ({ - __proto__: dart.getMethods(html$.RemotePlayback.__proto__), - [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), - [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[150]); - dart.registerExtension("RemotePlayback", html$.RemotePlayback); - html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportingObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - }; - dart.addTypeTests(html$.ReportingObserver); - dart.addTypeCaches(html$.ReportingObserver); - dart.setMethodSignature(html$.ReportingObserver, () => ({ - __proto__: dart.getMethods(html$.ReportingObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, []) - })); - dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.ReportingObserver, I[150]); - dart.registerExtension("ReportingObserver", html$.ReportingObserver); - html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } - }; - dart.addTypeTests(html$.ResizeObserver); - dart.addTypeCaches(html$.ResizeObserver); - dart.setMethodSignature(html$.ResizeObserver, () => ({ - __proto__: dart.getMethods(html$.ResizeObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) - })); - dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.ResizeObserver, I[150]); - dart.registerExtension("ResizeObserver", html$.ResizeObserver); - html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserverEntry.__(); - } - get [S$2.$contentRect]() { - return this.contentRect; - } - get [S.$target]() { - return this.target; - } - }; - 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[150]); - dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); - html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcCertificate.__(); - } - get [S$2.$expires]() { - return this.expires; - } - [S$2.$getFingerprints](...args) { - return this.getFingerprints.apply(this, args); - } - }; - dart.addTypeTests(html$.RtcCertificate); - dart.addTypeCaches(html$.RtcCertificate); - 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[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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$2.$bufferedAmountLowThreshold]() { - return this.bufferedAmountLowThreshold; - } - set [S$2.$bufferedAmountLowThreshold](value) { - this.bufferedAmountLowThreshold = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$maxRetransmitTime]() { - return this.maxRetransmitTime; - } - get [S$2.$maxRetransmits]() { - return this.maxRetransmits; - } - get [S$2.$negotiated]() { - return this.negotiated; - } - get [S$2.$ordered]() { - return this.ordered; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$2.$reliable]() { - return this.reliable; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.RtcDataChannel.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.RtcDataChannel.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.RtcDataChannel.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.RtcDataChannel.openEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.RtcDataChannel); - dart.addTypeCaches(html$.RtcDataChannel); - dart.setMethodSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.int), - [S$.$label]: dart.nullable(core.String), - [S$2.$maxRetransmitTime]: dart.nullable(core.int), - [S$2.$maxRetransmits]: dart.nullable(core.int), - [S$2.$negotiated]: dart.nullable(core.bool), - [S$2.$ordered]: dart.nullable(core.bool), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.String), - [S$2.$reliable]: dart.nullable(core.bool), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), - [S$2.$binaryType]: dart.nullable(core.String), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) - })); - 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[225] || CT.C225; - }, - /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.RtcDataChannel.openEvent*/get openEvent() { - 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[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); - } - get [S$2.$channel]() { - return this.channel; - } - }; - 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[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; - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$interToneGap]() { - return this.interToneGap; - } - get [S$2.$toneBuffer]() { - return this.toneBuffer; - } - get [S$1.$track]() { - return this.track; - } - [S$2.$insertDtmf](...args) { - return this.insertDTMF.apply(this, args); - } - get [S$2.$onToneChange]() { - return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.RtcDtmfSender); - dart.addTypeCaches(html$.RtcDtmfSender); - 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), - [S$.$duration]: dart.nullable(core.int), - [S$2.$interToneGap]: dart.nullable(core.int), - [S$2.$toneBuffer]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.MediaStreamTrack), - [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) - })); - dart.setLibraryUri(html$.RtcDtmfSender, I[150]); - dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); - dart.defineLazy(html$.RtcDtmfSender, { - /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - 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[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); - } - get [S$2.$tone]() { - return this.tone; - } - }; - 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[150]); - dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); - html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$candidate](value) { - this.candidate = value; - } - get [S$2.$sdpMLineIndex]() { - return this.sdpMLineIndex; - } - set [S$2.$sdpMLineIndex](value) { - this.sdpMLineIndex = value; - } - get [S$2.$sdpMid]() { - return this.sdpMid; - } - set [S$2.$sdpMid](value) { - this.sdpMid = value; - } - }; - 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), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.RtcIceCandidate, () => ({ - __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), - [S$2.$candidate]: dart.nullable(core.String), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.RtcIceCandidate, I[150]); - dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); - dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); - html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcLegacyStatsReport.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$timestamp]() { - return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); - } - get [S$2._get_timestamp]() { - return this.timestamp; - } - get [S.$type]() { - return this.type; - } - [S$2.$names](...args) { - return this.names.apply(this, args); - } - [S$2.$stat](...args) { - return this.stat.apply(this, args); - } - }; - dart.addTypeTests(html$.RtcLegacyStatsReport); - dart.addTypeCaches(html$.RtcLegacyStatsReport); - dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), - [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), - [S$.$timestamp]: core.DateTime, - [S$2._get_timestamp]: dart.dynamic, - [S.$type]: dart.nullable(core.String) - })); - 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[149], 26953, 33, "rtcIceServers"); - let constructorName = window.RTCPeerConnection; - if (mediaConstraints != null) { - return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); - } else { - 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"])])])); - return true; - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return false; - } else - throw e; - } - return false; - } - [S$2.$getLegacyStats](selector = null) { - let completer = T$0.CompleterOfRtcStatsResponse().new(); - this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); - completer.complete(value); - }, T$0.RtcStatsResponseTovoid()), selector); - return completer.future; - } - [S$2._getStats](...args) { - return this.getStats.apply(this, args); - } - 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; - } - get [S$2.$iceGatheringState]() { - return this.iceGatheringState; - } - get [S$2.$localDescription]() { - return this.localDescription; - } - get [S$2.$remoteDescription]() { - return this.remoteDescription; - } - get [S$2.$signalingState]() { - return this.signalingState; - } - [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - 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) { - if (mediaConstraints != null) { - let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); - this[S$2._addStream_1](stream, mediaConstraints_1); - return; - } - this[S$2._addStream_2](stream); - return; - } - [S$2._addStream_1](...args) { - return this.addStream.apply(this, args); - } - [S$2._addStream_2](...args) { - return this.addStream.apply(this, args); - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$2.$createAnswer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); - } - [S$2.$createDtmfSender](...args) { - return this.createDTMFSender.apply(this, args); - } - [S$2.$createDataChannel](label, dataChannelDict = null) { - 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); - } - return this[S$2._createDataChannel_2](label); - } - [S$2._createDataChannel_1](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2._createDataChannel_2](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2.$createOffer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); - } - [S$2.$getLocalStreams](...args) { - return this.getLocalStreams.apply(this, args); - } - [S$2.$getReceivers](...args) { - return this.getReceivers.apply(this, args); - } - [S$2.$getRemoteStreams](...args) { - return this.getRemoteStreams.apply(this, args); - } - [S$2.$getSenders](...args) { - return this.getSenders.apply(this, args); - } - [S$2.$getStats]() { - return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); - } - [S$2.$removeStream](...args) { - return this.removeStream.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - [S$2.$setConfiguration](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; - } - [S$2._setConfiguration_1](...args) { - return this.setConfiguration.apply(this, args); - } - [S$2.$setLocalDescription](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[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); - } - get [S$2.$onIceCandidate]() { - return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); - } - get [S$2.$onIceConnectionStateChange]() { - return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); - } - get [S$2.$onNegotiationNeeded]() { - return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); - } - get [S$2.$onRemoveStream]() { - return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); - } - get [S$2.$onSignalingStateChange]() { - return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); - } - get [S$2.$onTrack]() { - return html$.RtcPeerConnection.trackEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.RtcPeerConnection); - dart.addTypeCaches(html$.RtcPeerConnection); - dart.setMethodSignature(html$.RtcPeerConnection, () => ({ - __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), - [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), - [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), - [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), - [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), - [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), - [S.$close]: dart.fnType(dart.void, []), - [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), - [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), - [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), - [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), - [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), - [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), - [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), - [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), - [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), - [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), - [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), - [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), - [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) - })); - 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[364] || CT.C364; - }, - /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { - return C[365] || CT.C365; - }, - /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[366] || CT.C366; - }, - /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[367] || CT.C367; - }, - /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[368] || CT.C368; - }, - /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[369] || CT.C369; - }, - /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[370] || CT.C370; - }, - /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[371] || CT.C371; - }, - /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - 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[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); - } - static _create_2(type) { - return new RTCPeerConnectionIceEvent(type); - } - get [S$2.$candidate]() { - return this.candidate; - } - }; - 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[150]); - dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); - html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpContributingSource.__(); - } - get [S.$source]() { - return this.source; - } - get [S$.$timestamp]() { - return this.timestamp; - } - }; - 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[150]); - dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); - html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpReceiver.__(); - } - get [S$1.$track]() { - return this.track; - } - [S$2.$getContributingSources](...args) { - return this.getContributingSources.apply(this, args); - } - }; - dart.addTypeTests(html$.RtcRtpReceiver); - dart.addTypeCaches(html$.RtcRtpReceiver); - 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[150]); - dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); - 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[150]); - dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); - html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$sdp](value) { - this.sdp = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - 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), - [S.$type]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.RtcSessionDescription, () => ({ - __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), - [S$2.$sdp]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.RtcSessionDescription, I[150]); - dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); - dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); - 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[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[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[149], 27358, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - }; - dart.addTypeTests(html$.RtcStatsReport); - dart.addTypeCaches(html$.RtcStatsReport); - dart.setMethodSignature(html$.RtcStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); - dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); - html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcStatsResponse.__(); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S.$result](...args) { - return this.result.apply(this, args); - } - }; - dart.addTypeTests(html$.RtcStatsResponse); - dart.addTypeCaches(html$.RtcStatsResponse); - dart.setMethodSignature(html$.RtcStatsResponse, () => ({ - __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), - [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), - [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) - })); - 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[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); - } - get [S$2.$receiver]() { - return this.receiver; - } - get [S$2.$streams]() { - return this.streams; - } - get [S$1.$track]() { - return this.track; - } - }; - 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[150]); - dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); - 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; - } - get [S$2._availLeft]() { - return this.availLeft; - } - get [S$2._availTop]() { - return this.availTop; - } - get [S$2._availWidth]() { - return this.availWidth; - } - get [S$2.$colorDepth]() { - return this.colorDepth; - } - get [$height]() { - return this.height; - } - get [S$2.$keepAwake]() { - return this.keepAwake; - } - set [S$2.$keepAwake](value) { - this.keepAwake = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$pixelDepth]() { - return this.pixelDepth; - } - get [$width]() { - return this.width; - } - }; - 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), - [S$2._availHeight]: dart.nullable(core.int), - [S$2._availLeft]: dart.nullable(core.int), - [S$2._availTop]: dart.nullable(core.int), - [S$2._availWidth]: dart.nullable(core.int), - [S$2.$colorDepth]: dart.nullable(core.int), - [$height]: dart.nullable(core.int), - [S$2.$keepAwake]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(html$.ScreenOrientation), - [S$2.$pixelDepth]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) - })); - dart.setSetterSignature(html$.Screen, () => ({ - __proto__: dart.getSetters(html$.Screen.__proto__), - [S$2.$keepAwake]: dart.nullable(core.bool) - })); - 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; - } - get [S.$type]() { - return this.type; - } - [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); - return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); - } - [S$2.$unlock](...args) { - return this.unlock.apply(this, args); - } - get [S.$onChange]() { - return html$.ScreenOrientation.changeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.ScreenOrientation); - dart.addTypeCaches(html$.ScreenOrientation); - dart.setMethodSignature(html$.ScreenOrientation, () => ({ - __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), - [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[150]); - dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); - dart.defineLazy(html$.ScreenOrientation, { - /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$2.$charset]() { - return this.charset; - } - set [S$2.$charset](value) { - this.charset = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$2.$defer]() { - return this.defer; - } - set [S$2.$defer](value) { - this.defer = value; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$2.$noModule]() { - return this.noModule; - } - set [S$2.$noModule](value) { - this.noModule = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - (html$.ScriptElement.created = function() { - html$.ScriptElement.__proto__.created.call(this); - ; - }).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), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String - })); - dart.setSetterSignature(html$.ScriptElement, () => ({ - __proto__: dart.getSetters(html$.ScriptElement.__proto__), - [S$1.$async]: dart.nullable(core.bool), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String - })); - dart.setLibraryUri(html$.ScriptElement, I[150]); - dart.registerExtension("HTMLScriptElement", html$.ScriptElement); - 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); - return html$.ScrollState._create_1(scrollStateInit_1); - } - return html$.ScrollState._create_2(); - } - static ['_#new#tearOff'](scrollStateInit = null) { - return html$.ScrollState.new(scrollStateInit); - } - static _create_1(scrollStateInit) { - return new ScrollState(scrollStateInit); - } - static _create_2() { - return new ScrollState(); - } - get [S$2.$deltaGranularity]() { - return this.deltaGranularity; - } - get [S$2.$deltaX]() { - return this.deltaX; - } - get [S$2.$deltaY]() { - return this.deltaY; - } - get [S$2.$fromUserInput]() { - return this.fromUserInput; - } - get [S$2.$inInertialPhase]() { - return this.inInertialPhase; - } - get [S$2.$isBeginning]() { - return this.isBeginning; - } - get [S$2.$isDirectManipulation]() { - return this.isDirectManipulation; - } - get [S$2.$isEnding]() { - return this.isEnding; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$2.$velocityX]() { - return this.velocityX; - } - get [S$2.$velocityY]() { - return this.velocityY; - } - [S$2.$consumeDelta](...args) { - return this.consumeDelta.apply(this, args); - } - [S$2.$distributeToScrollChainDescendant](...args) { - return this.distributeToScrollChainDescendant.apply(this, args); - } - }; - dart.addTypeTests(html$.ScrollState); - dart.addTypeCaches(html$.ScrollState); - dart.setMethodSignature(html$.ScrollState, () => ({ - __proto__: dart.getMethods(html$.ScrollState.__proto__), - [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), - [S$2.$deltaX]: dart.nullable(core.num), - [S$2.$deltaY]: dart.nullable(core.num), - [S$2.$fromUserInput]: dart.nullable(core.bool), - [S$2.$inInertialPhase]: dart.nullable(core.bool), - [S$2.$isBeginning]: dart.nullable(core.bool), - [S$2.$isDirectManipulation]: dart.nullable(core.bool), - [S$2.$isEnding]: dart.nullable(core.bool), - [S$2.$positionX]: dart.nullable(core.int), - [S$2.$positionY]: dart.nullable(core.int), - [S$2.$velocityX]: dart.nullable(core.num), - [S$2.$velocityY]: dart.nullable(core.num) - })); - 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); - return html$.ScrollTimeline._create_1(options_1); - } - return html$.ScrollTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.ScrollTimeline.new(options); - } - static _create_1(options) { - return new ScrollTimeline(options); - } - static _create_2() { - return new ScrollTimeline(); - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$scrollSource]() { - return this.scrollSource; - } - get [S$2.$timeRange]() { - return this.timeRange; - } - }; - 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[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[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); - } - static _create_2(type) { - return new SecurityPolicyViolationEvent(type); - } - get [S$2.$blockedUri]() { - return this.blockedURI; - } - get [S$2.$columnNumber]() { - return this.columnNumber; - } - get [S$2.$disposition]() { - return this.disposition; - } - get [S$2.$documentUri]() { - return this.documentURI; - } - get [S$2.$effectiveDirective]() { - return this.effectiveDirective; - } - get [S$0.$lineNumber]() { - return this.lineNumber; - } - get [S$2.$originalPolicy]() { - return this.originalPolicy; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$2.$sample]() { - return this.sample; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } - get [S$2.$statusCode]() { - return this.statusCode; - } - get [S$2.$violatedDirective]() { - return this.violatedDirective; - } - }; - 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), - [S$2.$columnNumber]: dart.nullable(core.int), - [S$2.$disposition]: dart.nullable(core.String), - [S$2.$documentUri]: dart.nullable(core.String), - [S$2.$effectiveDirective]: dart.nullable(core.String), - [S$0.$lineNumber]: dart.nullable(core.int), - [S$2.$originalPolicy]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$2.$sample]: dart.nullable(core.String), - [S$0.$sourceFile]: dart.nullable(core.String), - [S$2.$statusCode]: dart.nullable(core.int), - [S$2.$violatedDirective]: dart.nullable(core.String) - })); - 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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - set [S$2.$selectedIndex](value) { - this.selectedIndex = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - get [S$0.$options]() { - let options = this[S.$querySelectorAll](html$.OptionElement, "option"); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); - } - 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[149], 27804, 41, "o"); - return o.selected; - }, T$0.OptionElementTobool()))[$toList](); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); - } else { - return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); - } - } - }; - (html$.SelectElement.created = function() { - html$.SelectElement.__proto__.created.call(this); - ; - }).prototype = html$.SelectElement.prototype; - dart.addTypeTests(html$.SelectElement); - dart.addTypeCaches(html$.SelectElement); - dart.setMethodSignature(html$.SelectElement, () => ({ - __proto__: dart.getMethods(html$.SelectElement.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), - [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), - [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: core.bool, - [S$0.$options]: core.List$(html$.OptionElement), - [S$2.$selectedOptions]: core.List$(html$.OptionElement) - })); - dart.setSetterSignature(html$.SelectElement, () => ({ - __proto__: dart.getSetters(html$.SelectElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.SelectElement, I[150]); - dart.registerExtension("HTMLSelectElement", html$.SelectElement); - html$.Selection = class Selection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Selection.__(); - } - get [S$2.$anchorNode]() { - return this.anchorNode; - } - get [S$2.$anchorOffset]() { - return this.anchorOffset; - } - get [S$2.$baseNode]() { - return this.baseNode; - } - get [S$2.$baseOffset]() { - return this.baseOffset; - } - get [S$2.$extentNode]() { - return this.extentNode; - } - get [S$2.$extentOffset]() { - return this.extentOffset; - } - get [S$2.$focusNode]() { - return this.focusNode; - } - get [S$2.$focusOffset]() { - return this.focusOffset; - } - get [S$2.$isCollapsed]() { - return this.isCollapsed; - } - get [S$2.$rangeCount]() { - return this.rangeCount; - } - get [S.$type]() { - return this.type; - } - [S$2.$addRange](...args) { - return this.addRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$collapseToEnd](...args) { - return this.collapseToEnd.apply(this, args); - } - [S$2.$collapseToStart](...args) { - return this.collapseToStart.apply(this, args); - } - [S$2.$containsNode](...args) { - return this.containsNode.apply(this, args); - } - [S$2.$deleteFromDocument](...args) { - return this.deleteFromDocument.apply(this, args); - } - [S$2.$empty](...args) { - return this.empty.apply(this, args); - } - [S$2.$extend](...args) { - return this.extend.apply(this, args); - } - [S$2.$getRangeAt](...args) { - return this.getRangeAt.apply(this, args); - } - [S$2.$modify](...args) { - return this.modify.apply(this, args); - } - [S$2.$removeAllRanges](...args) { - return this.removeAllRanges.apply(this, args); - } - [$removeRange](...args) { - return this.removeRange.apply(this, args); - } - [S$2.$selectAllChildren](...args) { - return this.selectAllChildren.apply(this, args); - } - [S$2.$setBaseAndExtent](...args) { - return this.setBaseAndExtent.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } - }; - dart.addTypeTests(html$.Selection); - dart.addTypeCaches(html$.Selection); - dart.setMethodSignature(html$.Selection, () => ({ - __proto__: dart.getMethods(html$.Selection.__proto__), - [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), - [S$2.$collapseToEnd]: dart.fnType(dart.void, []), - [S$2.$collapseToStart]: dart.fnType(dart.void, []), - [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), - [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), - [S$2.$empty]: dart.fnType(dart.void, []), - [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), - [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), - [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), - [S$2.$removeAllRanges]: dart.fnType(dart.void, []), - [$removeRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), - [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), - [S$2.$anchorOffset]: dart.nullable(core.int), - [S$2.$baseNode]: dart.nullable(html$.Node), - [S$2.$baseOffset]: dart.nullable(core.int), - [S$2.$extentNode]: dart.nullable(html$.Node), - [S$2.$extentOffset]: dart.nullable(core.int), - [S$2.$focusNode]: dart.nullable(html$.Node), - [S$2.$focusOffset]: dart.nullable(core.int), - [S$2.$isCollapsed]: dart.nullable(core.bool), - [S$2.$rangeCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String) - })); - 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[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); - } - get [S.$error]() { - return this.error; - } - }; - 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[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; - } - get [S$.$state]() { - return this.state; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - get [S.$onError]() { - return html$.ServiceWorker.errorEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.ServiceWorker); - dart.addTypeCaches(html$.ServiceWorker); - html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; - dart.setMethodSignature(html$.ServiceWorker, () => ({ - __proto__: dart.getMethods(html$.ServiceWorker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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[150]); - dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); - dart.defineLazy(html$.ServiceWorker, { - /*html$.ServiceWorker.errorEvent*/get errorEvent() { - 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; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); - } - [S$2.$getRegistration](documentURL = null) { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); - } - [S$2.$getRegistrations]() { - return js_util.promiseToFuture(core.List, this.getRegistrations()); - } - [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerContainer.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.ServiceWorkerContainer); - dart.addTypeCaches(html$.ServiceWorkerContainer); - dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), - [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), - [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[150]); - dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); - dart.defineLazy(html$.ServiceWorkerContainer, { - /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$registration]() { - return this.registration; - } - [S$2.$skipWaiting]() { - return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); - } - get [S$2.$onActivate]() { - return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); - } - get [S$2.$onFetch]() { - return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); - } - get [S$2.$onForeignfetch]() { - return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); - } - get [S$2.$onInstall]() { - return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); - } - }; - dart.addTypeTests(html$.ServiceWorkerGlobalScope); - dart.addTypeCaches(html$.ServiceWorkerGlobalScope); - 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), - [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), - [S$2.$onActivate]: async.Stream$(html$.Event), - [S$2.$onFetch]: async.Stream$(html$.Event), - [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), - [S$2.$onInstall]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) - })); - 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[373] || CT.C373; - }, - /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[374] || CT.C374; - }, - /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[375] || CT.C375; - }, - /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[376] || CT.C376; - }, - /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$backgroundFetch]() { - return this.backgroundFetch; - } - get [S$2.$installing]() { - return this.installing; - } - get [S$2.$navigationPreload]() { - return this.navigationPreload; - } - get [S$2.$paymentManager]() { - return this.paymentManager; - } - get [S$2.$pushManager]() { - return this.pushManager; - } - get [S$1.$scope]() { - return this.scope; - } - get [S$2.$sync]() { - return this.sync; - } - get [S$2.$waiting]() { - return this.waiting; - } - [S$2.$getNotifications](filter = null) { - let filter_dict = null; - if (filter != null) { - filter_dict = html_common.convertDartToNative_Dictionary(filter); - } - return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); - } - [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); - } - [S$2.$unregister]() { - return js_util.promiseToFuture(core.bool, this.unregister()); - } - [$update]() { - return js_util.promiseToFuture(dart.dynamic, this.update()); - } - }; - dart.addTypeTests(html$.ServiceWorkerRegistration); - dart.addTypeCaches(html$.ServiceWorkerRegistration); - dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), - [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), - [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), - [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), - [S$2.$installing]: dart.nullable(html$.ServiceWorker), - [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), - [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), - [S$2.$pushManager]: dart.nullable(html$.PushManager), - [S$1.$scope]: dart.nullable(core.String), - [S$2.$sync]: dart.nullable(html$.SyncManager), - [S$2.$waiting]: dart.nullable(html$.ServiceWorker) - })); - 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"); - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } - }; - (html$.ShadowElement.created = function() { - html$.ShadowElement.__proto__.created.call(this); - ; - }).prototype = html$.ShadowElement.prototype; - dart.addTypeTests(html$.ShadowElement); - dart.addTypeCaches(html$.ShadowElement); - dart.setMethodSignature(html$.ShadowElement, () => ({ - __proto__: dart.getMethods(html$.ShadowElement.__proto__), - [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) - })); - 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; - } - get [S$.$host]() { - return this.host; - } - get [S.$innerHtml]() { - return this.innerHTML; - } - set [S.$innerHtml](value) { - this.innerHTML = value; - } - get [S.$mode]() { - return this.mode; - } - get [S$2.$olderShadowRoot]() { - return this.olderShadowRoot; - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - static get supported() { - return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); - } - static _shadowRootDeprecationReport() { - if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { - html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); - html$.ShadowRoot._shadowRootDeprecationReported = true; - } - } - get [S$2.$resetStyleInheritance]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } - get [S$2.$applyAuthorStyles]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } - }; - dart.addTypeTests(html$.ShadowRoot); - dart.addTypeCaches(html$.ShadowRoot); - html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; - dart.setMethodSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getMethods(html$.ShadowRoot.__proto__), - [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.$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), - [S$.$host]: dart.nullable(html$.Element), - [S.$mode]: dart.nullable(core.String), - [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool - })); - dart.setSetterSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getSetters(html$.ShadowRoot.__proto__), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool - })); - 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(value) { - if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); - } - }, false); - dart.registerExtension("ShadowRoot", html$.ShadowRoot); - 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[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[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); - } - static _create_2(scriptURL) { - return new SharedWorker(scriptURL); - } - get [S$.$port]() { - return this.port; - } - get [S.$onError]() { - return html$.SharedWorker.errorEvent.forTarget(this); - } - }; - 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[150]); - dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); - dart.defineLazy(html$.SharedWorker, { - /*html$.SharedWorker.errorEvent*/get errorEvent() { - 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; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$2.$onConnect]() { - return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); - } - static get instance() { - return html$.SharedWorkerGlobalScope.as(html$._workerSelf); - } - }; - dart.addTypeTests(html$.SharedWorkerGlobalScope); - dart.addTypeCaches(html$.SharedWorkerGlobalScope); - dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[377] || CT.C377; - }, - /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } - }, 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; - } - set [$name](value) { - this.name = value; - } - [S$2.$assignedNodes](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$2._assignedNodes_1](options_1); - } - return this[S$2._assignedNodes_2](); - } - [S$2._assignedNodes_1](...args) { - return this.assignedNodes.apply(this, args); - } - [S$2._assignedNodes_2](...args) { - return this.assignedNodes.apply(this, args); - } - }; - (html$.SlotElement.created = function() { - html$.SlotElement.__proto__.created.call(this); - ; - }).prototype = html$.SlotElement.prototype; - dart.addTypeTests(html$.SlotElement); - dart.addTypeCaches(html$.SlotElement); - dart.setMethodSignature(html$.SlotElement, () => ({ - __proto__: dart.getMethods(html$.SlotElement.__proto__), - [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), - [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) - })); - dart.setSetterSignature(html$.SlotElement, () => ({ - __proto__: dart.getSetters(html$.SlotElement.__proto__), - [$name]: dart.nullable(core.String) - })); - 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; - } - set [S$2.$appendWindowEnd](value) { - this.appendWindowEnd = value; - } - get [S$2.$appendWindowStart]() { - return this.appendWindowStart; - } - set [S$2.$appendWindowStart](value) { - this.appendWindowStart = value; - } - get [S$.$audioTracks]() { - return this.audioTracks; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - get [S$2.$timestampOffset]() { - return this.timestampOffset; - } - set [S$2.$timestampOffset](value) { - this.timestampOffset = value; - } - get [S$2.$trackDefaults]() { - return this.trackDefaults; - } - set [S$2.$trackDefaults](value) { - this.trackDefaults = value; - } - get [S$2.$updating]() { - return this.updating; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$2.$appendBuffer](...args) { - return this.appendBuffer.apply(this, args); - } - [S$2.$appendTypedData](...args) { - return this.appendBuffer.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - get [S.$onAbort]() { - return html$.SourceBuffer.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SourceBuffer.errorEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.SourceBuffer); - dart.addTypeCaches(html$.SourceBuffer); - dart.setMethodSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getMethods(html$.SourceBuffer.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), - [S$.$buffered]: dart.nullable(html$.TimeRanges), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), - [S$2.$updating]: dart.nullable(core.bool), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getSetters(html$.SourceBuffer.__proto__), - [S$2.$appendWindowEnd]: dart.nullable(core.num), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) - })); - dart.setLibraryUri(html$.SourceBuffer, I[150]); - dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); - dart.defineLazy(html$.SourceBuffer, { - /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } - }, false); - dart.registerExtension("SourceBuffer", html$.SourceBuffer); - const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; - (EventTarget_ListMixin$36._created = function() { - EventTarget_ListMixin$36.__proto__._created.call(this); - }).prototype = EventTarget_ListMixin$36.prototype; - dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); - const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; - (EventTarget_ImmutableListMixin$36._created = function() { - EventTarget_ImmutableListMixin$36.__proto__._created.call(this); - }).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[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[149], 28444, 25, "index"); - html$.SourceBuffer.as(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[149], 28450, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28478, 30, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.SourceBufferList.prototype[dart.isList] = true; - dart.addTypeTests(html$.SourceBufferList); - dart.addTypeCaches(html$.SourceBufferList); - 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 - })); - dart.setSetterSignature(html$.SourceBufferList, () => ({ - __proto__: dart.getSetters(html$.SourceBufferList.__proto__), - [$length]: core.int - })); - 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; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - (html$.SourceElement.created = function() { - html$.SourceElement.__proto__.created.call(this); - ; - }).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, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String - })); - dart.setSetterSignature(html$.SourceElement, () => ({ - __proto__: dart.getSetters(html$.SourceElement.__proto__), - [S$.$media]: core.String, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String - })); - 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); - ; - }).prototype = html$.SpanElement.prototype; - dart.addTypeTests(html$.SpanElement); - dart.addTypeCaches(html$.SpanElement); - dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); - dart.setLibraryUri(html$.SpanElement, I[150]); - dart.registerExtension("HTMLSpanElement", html$.SpanElement); - 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(); - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } - }; - 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), - [S$1.$weight]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.SpeechGrammar, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), - [S$.$src]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.SpeechGrammar, I[150]); - dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); - 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(); - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 28601, 25, "index"); - html$.SpeechGrammar.as(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[149], 28607, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28635, 31, "index"); - return this[$_get](index); - } - [S$2.$addFromString](...args) { - return this.addFromString.apply(this, args); - } - [S$2.$addFromUri](...args) { - return this.addFromUri.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.SpeechGrammarList.prototype[dart.isList] = true; - dart.addTypeTests(html$.SpeechGrammarList); - dart.addTypeCaches(html$.SpeechGrammarList); - 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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), - [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 - })); - dart.setSetterSignature(html$.SpeechGrammarList, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), - [$length]: core.int - })); - 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); - } - get [S$2.$audioTrack]() { - return this.audioTrack; - } - set [S$2.$audioTrack](value) { - this.audioTrack = value; - } - get [S$2.$continuous]() { - return this.continuous; - } - set [S$2.$continuous](value) { - this.continuous = value; - } - get [S$2.$grammars]() { - return this.grammars; - } - set [S$2.$grammars](value) { - this.grammars = value; - } - get [S$2.$interimResults]() { - return this.interimResults; - } - set [S$2.$interimResults](value) { - this.interimResults = value; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$maxAlternatives]() { - return this.maxAlternatives; - } - set [S$2.$maxAlternatives](value) { - this.maxAlternatives = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S$2.$onAudioEnd]() { - return html$.SpeechRecognition.audioEndEvent.forTarget(this); - } - get [S$2.$onAudioStart]() { - return html$.SpeechRecognition.audioStartEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechRecognition.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechRecognition.errorEvent.forTarget(this); - } - get [S$2.$onNoMatch]() { - return html$.SpeechRecognition.noMatchEvent.forTarget(this); - } - get [S$2.$onResult]() { - return html$.SpeechRecognition.resultEvent.forTarget(this); - } - get [S$2.$onSoundEnd]() { - return html$.SpeechRecognition.soundEndEvent.forTarget(this); - } - get [S$2.$onSoundStart]() { - return html$.SpeechRecognition.soundStartEvent.forTarget(this); - } - get [S$2.$onSpeechEnd]() { - return html$.SpeechRecognition.speechEndEvent.forTarget(this); - } - get [S$2.$onSpeechStart]() { - return html$.SpeechRecognition.speechStartEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechRecognition.startEvent.forTarget(this); - } - static new() { - return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); - } - static ['_#new#tearOff']() { - return html$.SpeechRecognition.new(); - } - }; - dart.addTypeTests(html$.SpeechRecognition); - dart.addTypeCaches(html$.SpeechRecognition); - dart.setMethodSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int), - [S$2.$onAudioEnd]: async.Stream$(html$.Event), - [S$2.$onAudioStart]: async.Stream$(html$.Event), - [S$2.$onEnd]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.SpeechRecognitionError), - [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onSoundEnd]: async.Stream$(html$.Event), - [S$2.$onSoundStart]: async.Stream$(html$.Event), - [S$2.$onSpeechEnd]: async.Stream$(html$.Event), - [S$2.$onSpeechStart]: async.Stream$(html$.Event), - [S$2.$onStart]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), - [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int) - })); - 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[378] || CT.C378; - }, - /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[379] || CT.C379; - }, - /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[380] || CT.C380; - }, - /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[381] || CT.C381; - }, - /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[382] || CT.C382; - }, - /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[383] || CT.C383; - }, - /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[384] || CT.C384; - }, - /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[385] || CT.C385; - }, - /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[386] || CT.C386; - }, - /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[387] || CT.C387; - }, - /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[388] || CT.C388; - } - }, false); - dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); - html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionAlternative.__(); - } - get [S$2.$confidence]() { - return this.confidence; - } - get [S$2.$transcript]() { - return this.transcript; - } - }; - 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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionError(type); - } - get [S.$error]() { - return this.error; - } - get [$message]() { - return this.message; - } - }; - 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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionEvent(type); - } - get [S$2.$emma]() { - return this.emma; - } - get [S$2.$interpretation]() { - return this.interpretation; - } - get [S$2.$resultIndex]() { - return this.resultIndex; - } - get [S$2.$results]() { - return this.results; - } - }; - 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), - [S$2.$interpretation]: dart.nullable(html$.Document), - [S$2.$resultIndex]: dart.nullable(core.int), - [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) - })); - dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); - dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); - html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionResult.__(); - } - get [S$2.$isFinal]() { - return this.isFinal; - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - dart.addTypeTests(html$.SpeechRecognitionResult); - dart.addTypeCaches(html$.SpeechRecognitionResult); - 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[150]); - dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); - html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { - [S$2.$getVoices]() { - let voices = this[S$2._getVoices](); - 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; - } - get [S$2.$pending]() { - return this.pending; - } - get [S$2.$speaking]() { - return this.speaking; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$2._getVoices](...args) { - return this.getVoices.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$0.$speak](...args) { - return this.speak.apply(this, args); - } - }; - dart.addTypeTests(html$.SpeechSynthesis); - dart.addTypeCaches(html$.SpeechSynthesis); - dart.setMethodSignature(html$.SpeechSynthesis, () => ({ - __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), - [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$pause]: dart.fnType(dart.void, []), - [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[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; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [$name]() { - return this.name; - } - get [S$2.$utterance]() { - return this.utterance; - } - }; - 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), - [S$.$elapsedTime]: dart.nullable(core.num), - [$name]: dart.nullable(core.String), - [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) - })); - 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); - } - static _create_2() { - return new SpeechSynthesisUtterance(); - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$pitch]() { - return this.pitch; - } - set [S$2.$pitch](value) { - this.pitch = value; - } - get [S$2.$rate]() { - return this.rate; - } - set [S$2.$rate](value) { - this.rate = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$2.$voice]() { - return this.voice; - } - set [S$2.$voice](value) { - this.voice = value; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$2.$onBoundary]() { - return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); - } - get [S$2.$onMark]() { - return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); - } - get [S$2.$onResume]() { - return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); - } - }; - 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), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num), - [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), - [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$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), - [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) - })); - dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ - __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), - [S.$lang]: dart.nullable(core.String), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num) - })); - 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[389] || CT.C389; - }, - /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[390] || CT.C390; - }, - /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[391] || CT.C391; - }, - /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[392] || CT.C392; - }, - /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[393] || CT.C393; - } - }, false); - dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); - html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechSynthesisVoice.__(); - } - get [S$1.$defaultValue]() { - return this.default; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$localService]() { - return this.localService; - } - get [$name]() { - return this.name; - } - get [S$2.$voiceUri]() { - return this.voiceURI; - } - }; - 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), - [S.$lang]: dart.nullable(core.String), - [S$2.$localService]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$2.$voiceUri]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); - dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); - html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StaticRange.__(); - } - get [S$2.$collapsed]() { - return this.collapsed; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - }; - 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), - [S$2.$endContainer]: dart.nullable(html$.Node), - [S$2.$endOffset]: dart.nullable(core.int), - [S$2.$startContainer]: dart.nullable(html$.Node), - [S$2.$startOffset]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.StaticRange, I[150]); - dart.registerExtension("StaticRange", html$.StaticRange); - 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[149], 29183, 35, "other"); - other[$forEach](dart.fn((k, 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[149], 29190, 52, "e"); - return core.identical(e, value); - }, T$.StringTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$_set](key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); - core.String.as(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[149], 29200, 29, "key"); - T$.VoidToString().as(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); - } - [$remove](key) { - let value = this[$_get](key); - this[S$2._removeItem](core.String.as(key)); - return value; - } - [$clear]() { - return this[S$0._clear$3](); - } - [$forEach](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; - f(key, dart.nullCheck(this[$_get](key))); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$values]() { - let values = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$length]() { - return this[S$2._length$3]; - } - get [$isEmpty]() { - return this[S$2._key](0) == null; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - static ['_#_#tearOff']() { - return html$.Storage.__(); - } - get [S$2._length$3]() { - return this.length; - } - [S$0._clear$3](...args) { - return this.clear.apply(this, args); - } - [S$1._getItem](...args) { - return this.getItem.apply(this, args); - } - [S$2._key](...args) { - return this.key.apply(this, args); - } - [S$2._removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$2._setItem](...args) { - return this.setItem.apply(this, args); - } - }; - dart.addTypeTests(html$.Storage); - dart.addTypeCaches(html$.Storage); - dart.setMethodSignature(html$.Storage, () => ({ - __proto__: dart.getMethods(html$.Storage.__proto__), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [S$0._clear$3]: dart.fnType(dart.void, []), - [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), - [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[150]); - dart.registerExtension("Storage", html$.Storage); - html$.StorageEvent = class StorageEvent$ extends html$.Event { - static new(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; - let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); - 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[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); - } - static _create_2(type) { - return new StorageEvent(type); - } - get [S.$key]() { - return this.key; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$storageArea]() { - return this.storageArea; - } - get [S$.$url]() { - return this.url; - } - [S$2._initStorageEvent](...args) { - return this.initStorageEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.StorageEvent); - dart.addTypeCaches(html$.StorageEvent); - 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$2.$oldValue]: dart.nullable(core.String), - [S$2.$storageArea]: dart.nullable(html$.Storage), - [S$.$url]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.StorageEvent, I[150]); - dart.registerExtension("StorageEvent", html$.StorageEvent); - html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StorageManager.__(); - } - [S$2.$estimate]() { - return html$.promiseToFutureAsMap(this.estimate()); - } - [S$2.$persist]() { - return js_util.promiseToFuture(core.bool, this.persist()); - } - [S$2.$persisted]() { - return js_util.promiseToFuture(core.bool, this.persisted()); - } - }; - dart.addTypeTests(html$.StorageManager); - dart.addTypeCaches(html$.StorageManager); - dart.setMethodSignature(html$.StorageManager, () => ({ - __proto__: dart.getMethods(html$.StorageManager.__proto__), - [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), - [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) - })); - 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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - (html$.StyleElement.created = function() { - html$.StyleElement.__proto__.created.call(this); - ; - }).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, - [S$.$media]: core.String, - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.StyleElement, () => ({ - __proto__: dart.getSetters(html$.StyleElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$media]: core.String, - [S.$type]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.StyleElement, I[150]); - dart.registerExtension("HTMLStyleElement", html$.StyleElement); - html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleMedia.__(); - } - get [S.$type]() { - return this.type; - } - [S$2.$matchMedium](...args) { - return this.matchMedium.apply(this, args); - } - }; - dart.addTypeTests(html$.StyleMedia); - dart.addTypeCaches(html$.StyleMedia); - 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[150]); - dart.registerExtension("StyleMedia", html$.StyleMedia); - html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StylePropertyMapReadonly.__(); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$2.$getProperties](...args) { - return this.getProperties.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - }; - dart.addTypeTests(html$.StylePropertyMapReadonly); - dart.addTypeCaches(html$.StylePropertyMapReadonly); - dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), - [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), - [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), - [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), - [S$.$has]: dart.fnType(core.bool, [core.String]) - })); - 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); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } - }; - dart.addTypeTests(html$.StylePropertyMap); - dart.addTypeCaches(html$.StylePropertyMap); - dart.setMethodSignature(html$.StylePropertyMap, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) - })); - 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[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); - } - get [S$2.$lastChance]() { - return this.lastChance; - } - get [S$2.$tag]() { - return this.tag; - } - }; - 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[150]); - dart.registerExtension("SyncEvent", html$.SyncEvent); - 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[149], 29510, 26, "tag"); - return js_util.promiseToFuture(dart.dynamic, this.register(tag)); - } - }; - dart.addTypeTests(html$.SyncManager); - dart.addTypeCaches(html$.SyncManager); - dart.setMethodSignature(html$.SyncManager, () => ({ - __proto__: dart.getMethods(html$.SyncManager.__proto__), - [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), - [S$1.$register]: dart.fnType(async.Future, [core.String]) - })); - 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); - ; - }).prototype = html$.TableCaptionElement.prototype; - dart.addTypeTests(html$.TableCaptionElement); - dart.addTypeCaches(html$.TableCaptionElement); - 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; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$2.$headers]() { - return this.headers; - } - set [S$2.$headers](value) { - this.headers = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } - }; - (html$.TableCellElement.created = function() { - html$.TableCellElement.__proto__.created.call(this); - ; - }).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, - [S$.$colSpan]: core.int, - [S$2.$headers]: core.String, - [S$.$rowSpan]: core.int - })); - dart.setSetterSignature(html$.TableCellElement, () => ({ - __proto__: dart.getSetters(html$.TableCellElement.__proto__), - [S$.$colSpan]: core.int, - [S$2.$headers]: dart.nullable(core.String), - [S$.$rowSpan]: core.int - })); - 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; - } - set [S$2.$span](value) { - this.span = value; - } - }; - (html$.TableColElement.created = function() { - html$.TableColElement.__proto__.created.call(this); - ; - }).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 - })); - dart.setSetterSignature(html$.TableColElement, () => ({ - __proto__: dart.getSetters(html$.TableColElement.__proto__), - [S$2.$span]: core.int - })); - dart.setLibraryUri(html$.TableColElement, I[150]); - dart.registerExtension("HTMLTableColElement", html$.TableColElement); - html$.TableElement = class TableElement extends html$.HtmlElement { - get [S$2.$tBodies]() { - return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); - } - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$createCaption]() { - return this[S$2._createCaption](); - } - [S$2.$createTBody]() { - return this[S$2._createTBody](); - } - [S$2.$createTFoot]() { - return this[S$2._createTFoot](); - } - [S$2.$createTHead]() { - return this[S$2._createTHead](); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); - return this[S$2._insertRow](index); - } - [S$2._createTBody]() { - if (!!this.createTBody) { - return this[S$2._nativeCreateTBody](); - } - let tbody = html$.Element.tag("tbody"); - this[S.$children][$add](tbody); - return html$.TableSectionElement.as(tbody); - } - [S$2._nativeCreateTBody](...args) { - return this.createTBody.apply(this, args); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let contextualHtml = "" + dart.str(html) + "
"; - let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); - let fragment = html$.DocumentFragment.new(); - 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; - } - set [S$2.$caption](value) { - this.caption = value; - } - get [S$2._rows]() { - return this.rows; - } - get [S$2._tBodies]() { - return this.tBodies; - } - get [S$2.$tFoot]() { - return this.tFoot; - } - set [S$2.$tFoot](value) { - this.tFoot = value; - } - get [S$2.$tHead]() { - return this.tHead; - } - set [S$2.$tHead](value) { - this.tHead = value; - } - [S$2._createCaption](...args) { - return this.createCaption.apply(this, args); - } - [S$2._createTFoot](...args) { - return this.createTFoot.apply(this, args); - } - [S$2._createTHead](...args) { - return this.createTHead.apply(this, args); - } - [S$2.$deleteCaption](...args) { - return this.deleteCaption.apply(this, args); - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2.$deleteTFoot](...args) { - return this.deleteTFoot.apply(this, args); - } - [S$2.$deleteTHead](...args) { - return this.deleteTHead.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } - }; - (html$.TableElement.created = function() { - html$.TableElement.__proto__.created.call(this); - ; - }).prototype = html$.TableElement.prototype; - dart.addTypeTests(html$.TableElement); - dart.addTypeCaches(html$.TableElement); - dart.setMethodSignature(html$.TableElement, () => ({ - __proto__: dart.getMethods(html$.TableElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$deleteCaption]: dart.fnType(dart.void, []), - [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), - [S$2.$deleteTFoot]: dart.fnType(dart.void, []), - [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), - [S$2.$rows]: core.List$(html$.TableRowElement), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2._rows]: core.List$(html$.Node), - [S$2._tBodies]: core.List$(html$.Node), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) - })); - dart.setSetterSignature(html$.TableElement, () => ({ - __proto__: dart.getSetters(html$.TableElement.__proto__), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) - })); - dart.setLibraryUri(html$.TableElement, I[150]); - dart.registerExtension("HTMLTableElement", html$.TableElement); - html$.TableRowElement = class TableRowElement extends html$.HtmlElement { - get [S$2.$cells]() { - return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); - } - [S$2.$addCell]() { - return this[S$2.$insertCell](-1); - } - [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); - return html$.TableCellElement.as(this[S$2._insertCell](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - let row = section[S.$nodes][$single]; - 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; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - get [S$2.$sectionRowIndex]() { - return this.sectionRowIndex; - } - [S$2.$deleteCell](...args) { - return this.deleteCell.apply(this, args); - } - [S$2._insertCell](...args) { - return this.insertCell.apply(this, args); - } - }; - (html$.TableRowElement.created = function() { - html$.TableRowElement.__proto__.created.call(this); - ; - }).prototype = html$.TableRowElement.prototype; - dart.addTypeTests(html$.TableRowElement); - dart.addTypeCaches(html$.TableRowElement); - dart.setMethodSignature(html$.TableRowElement, () => ({ - __proto__: dart.getMethods(html$.TableRowElement.__proto__), - [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), - [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), - [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), - [S$2._cells]: core.List$(html$.Node), - [S$.$rowIndex]: core.int, - [S$2.$sectionRowIndex]: core.int - })); - dart.setLibraryUri(html$.TableRowElement, I[150]); - dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); - html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); - return html$.TableRowElement.as(this[S$2._insertRow](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - 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; - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } - }; - (html$.TableSectionElement.created = function() { - html$.TableSectionElement.__proto__.created.call(this); - ; - }).prototype = html$.TableSectionElement.prototype; - dart.addTypeTests(html$.TableSectionElement); - dart.addTypeCaches(html$.TableSectionElement); - dart.setMethodSignature(html$.TableSectionElement, () => ({ - __proto__: dart.getMethods(html$.TableSectionElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [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[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; - } - get [S$2.$containerName]() { - return this.containerName; - } - get [S$2.$containerSrc]() { - return this.containerSrc; - } - get [S$2.$containerType]() { - return this.containerType; - } - get [S$2.$scriptUrl]() { - return this.scriptURL; - } - }; - 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), - [S$2.$containerName]: dart.nullable(core.String), - [S$2.$containerSrc]: dart.nullable(core.String), - [S$2.$containerType]: dart.nullable(core.String), - [S$2.$scriptUrl]: dart.nullable(core.String) - })); - 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"); - } - get [S$0.$content]() { - return this.content; - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - dart.nullCheck(this.content)[S.$nodes][$clear](); - let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - dart.nullCheck(this.content)[S.$append](fragment); - } - }; - (html$.TemplateElement.created = function() { - html$.TemplateElement.__proto__.created.call(this); - ; - }).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.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; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$2.$cols]() { - return this.cols; - } - set [S$2.$cols](value) { - this.cols = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$rows]() { - return this.rows; - } - set [S$2.$rows](value) { - this.rows = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$2.$textLength]() { - return this.textLength; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - get [S$2.$wrap]() { - return this.wrap; - } - set [S$2.$wrap](value) { - this.wrap = value; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } - }; - (html$.TextAreaElement.created = function() { - html$.TextAreaElement.__proto__.created.call(this); - ; - }).prototype = html$.TextAreaElement.prototype; - dart.addTypeTests(html$.TextAreaElement); - dart.addTypeCaches(html$.TextAreaElement); - dart.setMethodSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getMethods(html$.TextAreaElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$2.$textLength]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool), - [S$2.$wrap]: core.String - })); - dart.setSetterSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getSetters(html$.TextAreaElement.__proto__), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String), - [S$2.$wrap]: core.String - })); - dart.setLibraryUri(html$.TextAreaElement, I[150]); - dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); - 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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } - }; - dart.addTypeTests(html$.TextDetector); - dart.addTypeCaches(html$.TextDetector); - dart.setMethodSignature(html$.TextDetector, () => ({ - __proto__: dart.getMethods(html$.TextDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) - })); - 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[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; - if (view == null) { - view = html$.window; - } - let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); - 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; - } - [S$2._initTextEvent](...args) { - return this.initTextEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.TextEvent); - dart.addTypeCaches(html$.TextEvent); - 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[150]); - dart.registerExtension("TextEvent", html$.TextEvent); - html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TextMetrics.__(); - } - get [S$2.$actualBoundingBoxAscent]() { - return this.actualBoundingBoxAscent; - } - get [S$2.$actualBoundingBoxDescent]() { - return this.actualBoundingBoxDescent; - } - get [S$2.$actualBoundingBoxLeft]() { - return this.actualBoundingBoxLeft; - } - get [S$2.$actualBoundingBoxRight]() { - return this.actualBoundingBoxRight; - } - get [S$2.$alphabeticBaseline]() { - return this.alphabeticBaseline; - } - get [S$2.$emHeightAscent]() { - return this.emHeightAscent; - } - get [S$3.$emHeightDescent]() { - return this.emHeightDescent; - } - get [S$3.$fontBoundingBoxAscent]() { - return this.fontBoundingBoxAscent; - } - get [S$3.$fontBoundingBoxDescent]() { - return this.fontBoundingBoxDescent; - } - get [S$3.$hangingBaseline]() { - return this.hangingBaseline; - } - get [S$3.$ideographicBaseline]() { - return this.ideographicBaseline; - } - get [$width]() { - return this.width; - } - }; - 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), - [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), - [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), - [S$2.$alphabeticBaseline]: dart.nullable(core.num), - [S$2.$emHeightAscent]: 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[150]); - dart.registerExtension("TextMetrics", html$.TextMetrics); - html$.TextTrack = class TextTrack extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrack.__(); - } - get [S$3.$activeCues]() { - return this.activeCues; - } - get [S$3.$cues]() { - return this.cues; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - [S$3.$addCue](...args) { - return this.addCue.apply(this, args); - } - [S$3.$removeCue](...args) { - return this.removeCue.apply(this, args); - } - get [S$3.$onCueChange]() { - return html$.TextTrack.cueChangeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.TextTrack); - dart.addTypeCaches(html$.TextTrack); - dart.setMethodSignature(html$.TextTrack, () => ({ - __proto__: dart.getMethods(html$.TextTrack.__proto__), - [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$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$2.$language]: core.String, - [S.$mode]: dart.nullable(core.String), - [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[150]); - dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); - dart.defineLazy(html$.TextTrack, { - /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[394] || CT.C394; - } - }, false); - dart.registerExtension("TextTrack", html$.TextTrack); - html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrackCue.__(); - } - get [S$3.$endTime]() { - return this.endTime; - } - set [S$3.$endTime](value) { - this.endTime = value; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$pauseOnExit]() { - return this.pauseOnExit; - } - set [S$3.$pauseOnExit](value) { - this.pauseOnExit = value; - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$1.$track]() { - return this.track; - } - get [S$3.$onEnter]() { - return html$.TextTrackCue.enterEvent.forTarget(this); - } - 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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num), - [S$1.$track]: dart.nullable(html$.TextTrack), - [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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.TextTrackCue, I[150]); - dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); - dart.defineLazy(html$.TextTrackCue, { - /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[395] || CT.C395; - }, - /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[396] || CT.C396; - } - }, false); - dart.registerExtension("TextTrackCue", html$.TextTrackCue); - 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[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[149], 30249, 25, "index"); - html$.TextTrackCue.as(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[149], 30255, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30283, 30, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$getCueById](...args) { - return this.getCueById.apply(this, args); - } - }; - html$.TextTrackCueList.prototype[dart.isList] = true; - dart.addTypeTests(html$.TextTrackCueList); - dart.addTypeCaches(html$.TextTrackCueList); - html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; - dart.setMethodSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), - [$_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$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 - })); - dart.setSetterSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), - [$length]: core.int - })); - 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() { - EventTarget_ListMixin$36$.__proto__._created.call(this); - }).prototype = EventTarget_ListMixin$36$.prototype; - dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); - const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; - (EventTarget_ImmutableListMixin$36$._created = function() { - EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); - }).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[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[149], 30323, 25, "index"); - html$.TextTrack.as(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[149], 30329, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30357, 27, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.TextTrackList.addTrackEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.TextTrackList.changeEvent.forTarget(this); - } - }; - html$.TextTrackList.prototype[dart.isList] = true; - dart.addTypeTests(html$.TextTrackList); - dart.addTypeCaches(html$.TextTrackList); - html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; - dart.setMethodSignature(html$.TextTrackList, () => ({ - __proto__: dart.getMethods(html$.TextTrackList.__proto__), - [$_get]: dart.fnType(html$.TextTrack, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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, - [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), - [S.$onChange]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.TextTrackList, () => ({ - __proto__: dart.getSetters(html$.TextTrackList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$.TextTrackList, I[150]); - dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); - dart.defineLazy(html$.TextTrackList, { - /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[397] || CT.C397; - }, - /*html$.TextTrackList.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } - }; - (html$.TimeElement.created = function() { - html$.TimeElement.__proto__.created.call(this); - ; - }).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) - })); - dart.setSetterSignature(html$.TimeElement, () => ({ - __proto__: dart.getSetters(html$.TimeElement.__proto__), - [S$1.$dateTime]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.TimeElement, I[150]); - dart.registerExtension("HTMLTimeElement", html$.TimeElement); - html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TimeRanges.__(); - } - get [$length]() { - return this.length; - } - [S$3.$end](...args) { - return this.end.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - }; - dart.addTypeTests(html$.TimeRanges); - dart.addTypeCaches(html$.TimeRanges); - dart.setMethodSignature(html$.TimeRanges, () => ({ - __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [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[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); - ; - }).prototype = html$.TitleElement.prototype; - dart.addTypeTests(html$.TitleElement); - dart.addTypeCaches(html$.TitleElement); - dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); - dart.setLibraryUri(html$.TitleElement, I[150]); - dart.registerExtension("HTMLTitleElement", html$.TitleElement); - html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Touch.__(); - } - static new(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); - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$3.$force]() { - return this.force; - } - get [S$3.$identifier]() { - return this.identifier; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$3._radiusX]() { - return this.radiusX; - } - get [S$3._radiusY]() { - return this.radiusY; - } - get [S$1.$region]() { - return this.region; - } - get [S$3.$rotationAngle]() { - return this.rotationAngle; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S$3.__clientX]() { - return this.clientX[$round](); - } - get [S$3.__clientY]() { - return this.clientY[$round](); - } - get [S$3.__screenX]() { - return this.screenX[$round](); - } - get [S$3.__screenY]() { - return this.screenY[$round](); - } - get [S$3.__pageX]() { - return this.pageX[$round](); - } - get [S$3.__pageY]() { - return this.pageY[$round](); - } - get [S$3.__radiusX]() { - return this.radiusX[$round](); - } - get [S$3.__radiusY]() { - return this.radiusY[$round](); - } - get [S.$client]() { - 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$3.__pageX], this[S$3.__pageY]); - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); - } - get [S$3.$radiusX]() { - return this[S$3.__radiusX]; - } - 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$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$3._radiusX]: dart.nullable(core.num), - [S$3._radiusY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [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$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$3.$radiusX]: core.int, - [S$3.$radiusY]: core.int - })); - 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[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); - } - static _create_2(type) { - return new TouchEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$3.$changedTouches]() { - return this.changedTouches; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$3.$targetTouches]() { - return this.targetTouches; - } - get [S$3.$touches]() { - return this.touches; - } - static get supported() { - try { - return html$.TouchEvent.is(html$.TouchEvent.new("touches")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } - }; - 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$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.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); - dart.setLibraryUri(html$.TouchEvent, I[150]); - dart.registerExtension("TouchEvent", html$.TouchEvent); - 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; - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 30592, 25, "index"); - html$.Touch.as(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[149], 30598, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30626, 23, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$.TouchList.prototype[dart.isList] = true; - dart.addTypeTests(html$.TouchList); - dart.addTypeCaches(html$.TouchList); - 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 - })); - dart.setSetterSignature(html$.TouchList, () => ({ - __proto__: dart.getSetters(html$.TouchList.__proto__), - [$length]: core.int - })); - dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); - dart.setLibraryUri(html$.TouchList, I[150]); - dart.registerExtension("TouchList", html$.TouchList); - 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[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); - } - 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); - } - static _create_2(type, language, label, kinds) { - return new TrackDefault(type, language, label, kinds); - } - get [S$3.$byteStreamTrackID]() { - return this.byteStreamTrackID; - } - get [S$3.$kinds]() { - return this.kinds; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$type]() { - return this.type; - } - }; - 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$2.$language]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.TrackDefault, I[150]); - dart.registerExtension("TrackDefault", html$.TrackDefault); - 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); - } - static _create_2() { - return new TrackDefaultList(); - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - dart.addTypeTests(html$.TrackDefaultList); - dart.addTypeCaches(html$.TrackDefaultList); - 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[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"); - } - get [S$1.$defaultValue]() { - return this.default; - } - set [S$1.$defaultValue](value) { - this.default = value; - } - get [S$.$kind]() { - return this.kind; - } - set [S$.$kind](value) { - this.kind = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$3.$srclang]() { - return this.srclang; - } - set [S$3.$srclang](value) { - this.srclang = value; - } - get [S$1.$track]() { - return this.track; - } - }; - (html$.TrackElement.created = function() { - html$.TrackElement.__proto__.created.call(this); - ; - }).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), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.TextTrack) - })); - dart.setSetterSignature(html$.TrackElement, () => ({ - __proto__: dart.getSetters(html$.TrackElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.bool), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String) - })); - 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; - }, - /*html$.TrackElement.LOADED*/get LOADED() { - return 2; - }, - /*html$.TrackElement.LOADING*/get LOADING() { - return 1; - }, - /*html$.TrackElement.NONE*/get NONE() { - return 0; - } - }, 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[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); - } - static _create_2(type) { - return new TrackEvent(type); - } - get [S$1.$track]() { - return this.track; - } - }; - 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[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[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); - } - static _create_2(type) { - return new TransitionEvent(type); - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [S$3.$propertyName]() { - return this.propertyName; - } - get [S$3.$pseudoElement]() { - return this.pseudoElement; - } - }; - 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[150]); - dart.registerExtension("TransitionEvent", html$.TransitionEvent); - dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); - html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { - static new(root, 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; - } - set [S$3.$currentNode](value) { - this.currentNode = value; - } - get [S$.$filter]() { - return this.filter; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$.$firstChild](...args) { - return this.firstChild.apply(this, args); - } - [S$.$lastChild](...args) { - return this.lastChild.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$2.$nextSibling](...args) { - return this.nextSibling.apply(this, args); - } - [S$.$parentNode](...args) { - return this.parentNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } - [S$2.$previousSibling](...args) { - return this.previousSibling.apply(this, args); - } - }; - dart.addTypeTests(html$.TreeWalker); - dart.addTypeCaches(html$.TreeWalker); - dart.setMethodSignature(html$.TreeWalker, () => ({ - __proto__: dart.getMethods(html$.TreeWalker.__proto__), - [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$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$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, - [S$.$filter]: dart.nullable(html$.NodeFilter), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int - })); - dart.setSetterSignature(html$.TreeWalker, () => ({ - __proto__: dart.getSetters(html$.TreeWalker.__proto__), - [S$3.$currentNode]: html$.Node - })); - dart.setLibraryUri(html$.TreeWalker, I[150]); - dart.registerExtension("TreeWalker", html$.TreeWalker); - html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedHtml.__(); - } - }; - dart.addTypeTests(html$.TrustedHtml); - dart.addTypeCaches(html$.TrustedHtml); - dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); - dart.setLibraryUri(html$.TrustedHtml, I[150]); - dart.registerExtension("TrustedHTML", html$.TrustedHtml); - html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedScriptUrl.__(); - } - }; - dart.addTypeTests(html$.TrustedScriptUrl); - dart.addTypeCaches(html$.TrustedScriptUrl); - dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); - dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); - dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); - html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedUrl.__(); - } - }; - dart.addTypeTests(html$.TrustedUrl); - dart.addTypeCaches(html$.TrustedUrl); - 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); - ; - }).prototype = html$.UListElement.prototype; - dart.addTypeTests(html$.UListElement); - dart.addTypeCaches(html$.UListElement); - dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); - dart.setLibraryUri(html$.UListElement, I[150]); - dart.registerExtension("HTMLUListElement", html$.UListElement); - html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UnderlyingSourceBase.__(); - } - [S$.$cancel](reason) { - return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); - } - [S$3.$notifyLockAcquired](...args) { - return this.notifyLockAcquired.apply(this, args); - } - [S$3.$notifyLockReleased](...args) { - return this.notifyLockReleased.apply(this, args); - } - [S$3.$pull]() { - return js_util.promiseToFuture(dart.dynamic, this.pull()); - } - [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); - return js_util.promiseToFuture(dart.dynamic, this.start(stream)); - } - }; - dart.addTypeTests(html$.UnderlyingSourceBase); - dart.addTypeCaches(html$.UnderlyingSourceBase); - dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ - __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), - [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), - [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), - [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), - [S$3.$pull]: dart.fnType(async.Future, []), - [S$.$start]: dart.fnType(async.Future, [core.Object]) - })); - dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); - dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); - dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); - 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.setStaticMethodSignature(html$.UnknownElement, () => ['__']); - dart.setLibraryUri(html$.UnknownElement, I[150]); - dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); - 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[149], 31028, 55, "source"); - return (self.URL || self.webkitURL).createObjectURL(source); - } - static createObjectUrlFromStream(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[149], 31034, 46, "blob"); - return (self.URL || self.webkitURL).createObjectURL(blob); - } - static revokeObjectUrl(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; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$3.$searchParams]() { - return this.searchParams; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - }; - 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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), - [S$.$username]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.Url, () => ({ - __proto__: dart.getSetters(html$.Url.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.Url, I[150]); - dart.registerExtension("URL", html$.Url); - 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); - } - static _create_2() { - return new URLSearchParams(); - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } - [$sort](...args) { - return this.sort.apply(this, args); - } - }; - dart.addTypeTests(html$.UrlSearchParams); - dart.addTypeCaches(html$.UrlSearchParams); - dart.setMethodSignature(html$.UrlSearchParams, () => ({ - __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), - [$sort]: dart.fnType(dart.void, []) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UrlUtilsReadOnly.__(); - } - get hash() { - return this.hash; - } - get host() { - return this.host; - } - get hostname() { - return this.hostname; - } - get href() { - return this.href; - } - get origin() { - return this.origin; - } - get pathname() { - return this.pathname; - } - get port() { - return this.port; - } - get protocol() { - return this.protocol; - } - get search() { - return this.search; - } - }; - 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), - [S$.$hash]: dart.nullable(core.String), - host: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - hostname: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - href: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - origin: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - pathname: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - port: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - protocol: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - search: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); - dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ - 'hash', - 'host', - 'hostname', - 'href', - 'origin', - 'pathname', - 'port', - 'protocol', - 'search' - ]); - html$.VR = class VR extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.VR.__(); - } - [S$3.$getDevices]() { - return js_util.promiseToFuture(dart.dynamic, this.getDevices()); - } - }; - dart.addTypeTests(html$.VR); - dart.addTypeCaches(html$.VR); - dart.setMethodSignature(html$.VR, () => ({ - __proto__: dart.getMethods(html$.VR.__proto__), - [S$3.$getDevices]: dart.fnType(async.Future, []) - })); - dart.setStaticMethodSignature(html$.VR, () => ['__']); - dart.setLibraryUri(html$.VR, I[150]); - dart.registerExtension("VR", html$.VR); - html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRCoordinateSystem.__(); - } - [S$3.$getTransformTo](...args) { - return this.getTransformTo.apply(this, args); - } - }; - dart.addTypeTests(html$.VRCoordinateSystem); - dart.addTypeCaches(html$.VRCoordinateSystem); - dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ - __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), - [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) - })); - 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; - } - get [S$3.$isExternal]() { - return this.isExternal; - } - [S$3.$requestSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); - } - [S$3.$supportsSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); - } - }; - dart.addTypeTests(html$.VRDevice); - dart.addTypeCaches(html$.VRDevice); - dart.setMethodSignature(html$.VRDevice, () => ({ - __proto__: dart.getMethods(html$.VRDevice.__proto__), - [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[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[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); - } - get [S$3.$device]() { - return this.device; - } - }; - 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[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; - } - get [S$3.$depthFar]() { - return this.depthFar; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$3.$displayName]() { - return this.displayName; - } - get [S$3.$isPresenting]() { - return this.isPresenting; - } - get [S$3.$stageParameters]() { - return this.stageParameters; - } - [S$3.$cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3.$exitPresent]() { - return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); - } - [S$3.$getEyeParameters](...args) { - return this.getEyeParameters.apply(this, args); - } - [S$3.$getFrameData](...args) { - return this.getFrameData.apply(this, args); - } - [S$3.$getLayers](...args) { - return this.getLayers.apply(this, args); - } - [S$3.$requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); - return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); - } - [S$3.$submitFrame](...args) { - return this.submitFrame.apply(this, args); - } - }; - dart.addTypeTests(html$.VRDisplay); - dart.addTypeCaches(html$.VRDisplay); - dart.setMethodSignature(html$.VRDisplay, () => ({ - __proto__: dart.getMethods(html$.VRDisplay.__proto__), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3.$exitPresent]: dart.fnType(async.Future, []), - [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), - [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), - [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [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), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num), - [S$1.$displayId]: dart.nullable(core.int), - [S$3.$displayName]: dart.nullable(core.String), - [S$3.$isPresenting]: dart.nullable(core.bool), - [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) - })); - dart.setSetterSignature(html$.VRDisplay, () => ({ - __proto__: dart.getSetters(html$.VRDisplay.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.VRDisplay, I[150]); - dart.registerExtension("VRDisplay", html$.VRDisplay); - html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRDisplayCapabilities.__(); - } - get [S$3.$canPresent]() { - return this.canPresent; - } - get [S$3.$hasExternalDisplay]() { - return this.hasExternalDisplay; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$3.$maxLayers]() { - return this.maxLayers; - } - }; - 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), - [S$3.$hasExternalDisplay]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$3.$maxLayers]: dart.nullable(core.int) - })); - 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[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); - } - static _create_2(type) { - return new VRDisplayEvent(type); - } - get [S$0.$display]() { - return this.display; - } - get [S$.$reason]() { - return this.reason; - } - }; - 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[150]); - dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); - html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VREyeParameters.__(); - } - get [S.$offset]() { - return this.offset; - } - get [S$3.$renderHeight]() { - return this.renderHeight; - } - get [S$3.$renderWidth]() { - return this.renderWidth; - } - }; - 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[150]); - dart.registerExtension("VREyeParameters", html$.VREyeParameters); - 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(); - } - get [S$3.$leftProjectionMatrix]() { - return this.leftProjectionMatrix; - } - get [S$3.$leftViewMatrix]() { - return this.leftViewMatrix; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$3.$rightProjectionMatrix]() { - return this.rightProjectionMatrix; - } - get [S$3.$rightViewMatrix]() { - return this.rightViewMatrix; - } - }; - 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), - [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), - [S$1.$pose]: dart.nullable(html$.VRPose), - [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), - [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) - })); - 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; - } - get [S$3.$emulatedHeight]() { - return this.emulatedHeight; - } - }; - 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[150]); - dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); - html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } - }; - 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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) - })); - 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; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$3.$device]() { - return this.device; - } - get [S$3.$exclusive]() { - return this.exclusive; - } - [S$3.$end]() { - return js_util.promiseToFuture(dart.dynamic, this.end()); - } - [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); - } - get [S.$onBlur]() { - return html$.VRSession.blurEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.VRSession.focusEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.VRSession); - dart.addTypeCaches(html$.VRSession); - dart.setMethodSignature(html$.VRSession, () => ({ - __proto__: dart.getMethods(html$.VRSession.__proto__), - [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), - [S$3.$depthNear]: dart.nullable(core.num), - [S$3.$device]: dart.nullable(html$.VRDevice), - [S$3.$exclusive]: dart.nullable(core.bool), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.VRSession, () => ({ - __proto__: dart.getSetters(html$.VRSession.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$.VRSession, I[150]); - dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); - dart.defineLazy(html$.VRSession, { - /*html$.VRSession.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.VRSession.focusEvent*/get focusEvent() { - 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[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); - } - get [S$3.$session]() { - return this.session; - } - }; - 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[150]); - dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); - 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[150]); - dart.registerExtension("VRStageBounds", html$.VRStageBounds); - html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageBoundsPoint.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$z]() { - return this.z; - } - }; - 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[150]); - dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); - html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageParameters.__(); - } - get [S$3.$sittingToStandingTransform]() { - return this.sittingToStandingTransform; - } - get [S$3.$sizeX]() { - return this.sizeX; - } - get [S$3.$sizeZ]() { - return this.sizeZ; - } - }; - 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[150]); - dart.registerExtension("VRStageParameters", html$.VRStageParameters); - html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ValidityState.__(); - } - get [S$3.$badInput]() { - return this.badInput; - } - get [S$3.$customError]() { - return this.customError; - } - get [S$3.$patternMismatch]() { - return this.patternMismatch; - } - get [S$3.$rangeOverflow]() { - return this.rangeOverflow; - } - get [S$3.$rangeUnderflow]() { - return this.rangeUnderflow; - } - get [S$3.$stepMismatch]() { - return this.stepMismatch; - } - get [S$3.$tooLong]() { - return this.tooLong; - } - get [S$3.$tooShort]() { - return this.tooShort; - } - get [S$3.$typeMismatch]() { - return this.typeMismatch; - } - get [S$3.$valid]() { - return this.valid; - } - get [S$3.$valueMissing]() { - return this.valueMissing; - } - }; - 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), - [S$3.$customError]: dart.nullable(core.bool), - [S$3.$patternMismatch]: dart.nullable(core.bool), - [S$3.$rangeOverflow]: dart.nullable(core.bool), - [S$3.$rangeUnderflow]: dart.nullable(core.bool), - [S$3.$stepMismatch]: dart.nullable(core.bool), - [S$3.$tooLong]: dart.nullable(core.bool), - [S$3.$tooShort]: dart.nullable(core.bool), - [S$3.$typeMismatch]: dart.nullable(core.bool), - [S$3.$valid]: dart.nullable(core.bool), - [S$3.$valueMissing]: dart.nullable(core.bool) - })); - 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; - } - set [$height](value) { - this.height = value; - } - get [S$3.$poster]() { - return this.poster; - } - set [S$3.$poster](value) { - this.poster = value; - } - get [S$3.$videoHeight]() { - return this.videoHeight; - } - get [S$3.$videoWidth]() { - return this.videoWidth; - } - get [S$3.$decodedFrameCount]() { - return this.webkitDecodedFrameCount; - } - get [S$3.$droppedFrameCount]() { - return this.webkitDroppedFrameCount; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$3.$getVideoPlaybackQuality](...args) { - return this.getVideoPlaybackQuality.apply(this, args); - } - [S$3.$enterFullscreen](...args) { - return this.webkitEnterFullscreen.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } - }; - (html$.VideoElement.created = function() { - html$.VideoElement.__proto__.created.call(this); - ; - }).prototype = html$.VideoElement.prototype; - dart.addTypeTests(html$.VideoElement); - dart.addTypeCaches(html$.VideoElement); - html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; - dart.setMethodSignature(html$.VideoElement, () => ({ - __proto__: dart.getMethods(html$.VideoElement.__proto__), - [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), - [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, - [S$3.$poster]: core.String, - [S$3.$videoHeight]: core.int, - [S$3.$videoWidth]: core.int, - [S$3.$decodedFrameCount]: dart.nullable(core.int), - [S$3.$droppedFrameCount]: dart.nullable(core.int), - [$width]: core.int - })); - dart.setSetterSignature(html$.VideoElement, () => ({ - __proto__: dart.getSetters(html$.VideoElement.__proto__), - [$height]: core.int, - [S$3.$poster]: core.String, - [$width]: core.int - })); - dart.setLibraryUri(html$.VideoElement, I[150]); - dart.registerExtension("HTMLVideoElement", html$.VideoElement); - html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoPlaybackQuality.__(); - } - get [S$3.$corruptedVideoFrames]() { - return this.corruptedVideoFrames; - } - get [S$3.$creationTime]() { - return this.creationTime; - } - get [S$3.$droppedVideoFrames]() { - return this.droppedVideoFrames; - } - get [S$3.$totalVideoFrames]() { - return this.totalVideoFrames; - } - }; - 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), - [S$3.$creationTime]: dart.nullable(core.num), - [S$3.$droppedVideoFrames]: dart.nullable(core.int), - [S$3.$totalVideoFrames]: dart.nullable(core.int) - })); - dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); - dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); - html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoTrack.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } - }; - 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$2.$language]: dart.nullable(core.String), - [S$.$selected]: dart.nullable(core.bool), - [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) - })); - dart.setSetterSignature(html$.VideoTrack, () => ({ - __proto__: dart.getSetters(html$.VideoTrack.__proto__), - [S$.$selected]: dart.nullable(core.bool) - })); - 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; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return html$.VideoTrackList.changeEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.VideoTrackList); - dart.addTypeCaches(html$.VideoTrackList); - dart.setMethodSignature(html$.VideoTrackList, () => ({ - __proto__: dart.getMethods(html$.VideoTrackList.__proto__), - [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[150]); - dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); - dart.defineLazy(html$.VideoTrackList, { - /*html$.VideoTrackList.changeEvent*/get changeEvent() { - 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; - } - get [S.$offsetLeft]() { - return this.offsetLeft; - } - get [S.$offsetTop]() { - return this.offsetTop; - } - get [S$3.$pageLeft]() { - return this.pageLeft; - } - get [S$3.$pageTop]() { - return this.pageTop; - } - get [S$.$scale]() { - return this.scale; - } - get [$width]() { - return this.width; - } - get [S$.$onResize]() { - return html$.VisualViewport.resizeEvent.forTarget(this); - } - 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), - [S.$offsetLeft]: dart.nullable(core.num), - [S.$offsetTop]: dart.nullable(core.num), - [S$3.$pageLeft]: dart.nullable(core.num), - [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) - })); - dart.setLibraryUri(html$.VisualViewport, I[150]); - dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); - dart.defineLazy(html$.VisualViewport, { - /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - 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[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); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$line]() { - return this.line; - } - set [S$3.$line](value) { - this.line = value; - } - get [S$0.$position]() { - return this.position; - } - set [S$0.$position](value) { - this.position = value; - } - get [S$1.$region]() { - return this.region; - } - set [S$1.$region](value) { - this.region = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$3.$snapToLines]() { - return this.snapToLines; - } - set [S$3.$snapToLines](value) { - this.snapToLines = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$3.$vertical]() { - return this.vertical; - } - set [S$3.$vertical](value) { - this.vertical = value; - } - [S$3.$getCueAsHtml](...args) { - return this.getCueAsHTML.apply(this, args); - } - }; - dart.addTypeTests(html$.VttCue); - dart.addTypeCaches(html$.VttCue); - 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), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$.VttCue, () => ({ - __proto__: dart.getSetters(html$.VttCue.__proto__), - [S$3.$align]: dart.nullable(core.String), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$.VttCue, I[150]); - dart.registerExtension("VTTCue", html$.VttCue); - 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(); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$lines]() { - return this.lines; - } - set [S$3.$lines](value) { - this.lines = value; - } - get [S$3.$regionAnchorX]() { - return this.regionAnchorX; - } - set [S$3.$regionAnchorX](value) { - this.regionAnchorX = value; - } - get [S$3.$regionAnchorY]() { - return this.regionAnchorY; - } - set [S$3.$regionAnchorY](value) { - this.regionAnchorY = value; - } - get [S.$scroll]() { - return this.scroll; - } - set [S.$scroll](value) { - this.scroll = value; - } - get [S$3.$viewportAnchorX]() { - return this.viewportAnchorX; - } - set [S$3.$viewportAnchorX](value) { - this.viewportAnchorX = value; - } - get [S$3.$viewportAnchorY]() { - return this.viewportAnchorY; - } - set [S$3.$viewportAnchorY](value) { - this.viewportAnchorY = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - }; - 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), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) - })); - dart.setSetterSignature(html$.VttRegion, () => ({ - __proto__: dart.getSetters(html$.VttRegion.__proto__), - [S.$id]: dart.nullable(core.String), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) - })); - 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[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); - } - static _create_2(url) { - return new WebSocket(url); - } - static get supported() { - return typeof window.WebSocket != "undefined"; - } - get [S$2.$binaryType]() { - return this.binaryType; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$3.$extensions]() { - return this.extensions; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.WebSocket.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.WebSocket.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.WebSocket.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.WebSocket.openEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.WebSocket); - dart.addTypeCaches(html$.WebSocket); - dart.setMethodSignature(html$.WebSocket, () => ({ - __proto__: dart.getMethods(html$.WebSocket.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$3.$extensions]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: core.int, - [S$.$url]: dart.nullable(core.String), - [S.$onClose]: async.Stream$(html$.CloseEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) - })); - dart.setSetterSignature(html$.WebSocket, () => ({ - __proto__: dart.getSetters(html$.WebSocket.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) - })); - 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[398] || CT.C398; - }, - /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WebSocket.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.WebSocket.CLOSED*/get CLOSED() { - return 3; - }, - /*html$.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*html$.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.WebSocket.OPEN*/get OPEN() { - return 1; - } - }, false); - dart.registerExtension("WebSocket", html$.WebSocket); - html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { - static new(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; - 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) { - view = html$.window; - } - 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[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); - } - static _create_2(type) { - return new WheelEvent(type); - } - get [S$3._deltaX]() { - return this.deltaX; - } - get [S$3._deltaY]() { - return this.deltaY; - } - get [S$3.$deltaZ]() { - return this.deltaZ; - } - get [S$2.$deltaY]() { - let value = this.deltaY; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaY is not supported")); - } - get [S$2.$deltaX]() { - let value = this.deltaX; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaX is not supported")); - } - get [S$3.$deltaMode]() { - if (!!this.deltaMode) { - return this.deltaMode; - } - return 0; - } - get [S$3._wheelDelta]() { - return this.wheelDelta; - } - get [S$3._wheelDeltaX]() { - return this.wheelDeltaX; - } - get [S$0._detail]() { - return this.detail; - } - get [S$3._hasInitMouseScrollEvent]() { - return !!this.initMouseScrollEvent; - } - [S$3._initMouseScrollEvent](...args) { - return this.initMouseScrollEvent.apply(this, args); - } - get [S$3._hasInitWheelEvent]() { - return !!this.initWheelEvent; - } - [S$3._initWheelEvent](...args) { - return this.initWheelEvent.apply(this, args); - } - }; - dart.addTypeTests(html$.WheelEvent); - dart.addTypeCaches(html$.WheelEvent); - dart.setMethodSignature(html$.WheelEvent, () => ({ - __proto__: dart.getMethods(html$.WheelEvent.__proto__), - [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), - [S$3._deltaY]: dart.nullable(core.num), - [S$3.$deltaZ]: dart.nullable(core.num), - [S$2.$deltaY]: core.num, - [S$2.$deltaX]: core.num, - [S$3.$deltaMode]: core.int, - [S$3._wheelDelta]: core.num, - [S$3._wheelDeltaX]: core.num, - [S$0._detail]: core.num, - [S$3._hasInitMouseScrollEvent]: core.bool, - [S$3._hasInitWheelEvent]: core.bool - })); - 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; - }, - /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { - return 2; - }, - /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { - return 0; - } - }, false); - dart.registerExtension("WheelEvent", html$.WheelEvent); - 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[149], 32233, 28, "time"); - completer.complete(time); - }, T$0.numTovoid())); - return completer.future; - } - get [S$3.$document]() { - return this.document; - } - [S$3._open2](url, name) { - return this.open(url, name); - } - [S$3._open3](url, name, options) { - return this.open(url, name, options); - } - [S.$open](url, name, options = null) { - 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 { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); - } - } - get [S$0.$location]() { - return html$.Location.as(this[S$3._location]); - } - set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); - this[S$3._location] = value; - } - get [S$3._location]() { - return this.location; - } - set [S$3._location](value) { - this.location = value; - } - [S$3.$requestAnimationFrame](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[149], 32326, 33, "id"); - this[S$3._ensureRequestAnimationFrame](); - this[S$3._cancelAnimationFrame](id); - } - [S$3._requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3._cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3._ensureRequestAnimationFrame]() { - if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; - (function($this) { - var vendors = ['ms', 'moz', 'webkit', 'o']; - for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { - $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; - $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; - } - if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; - $this.requestAnimationFrame = function(callback) { - return window.setTimeout(function() { - callback(Date.now()); - }, 16); - }; - $this.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - })(this); - } - get [S$0.$indexedDB]() { - return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; - } - get [S$2.$console]() { - return html$.Console._safeConsole; - } - [S$3.$requestFileSystem](size, opts) { - 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[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; - } - get [S$3.$applicationCache]() { - return this.applicationCache; - } - get [S$3.$audioWorklet]() { - return this.audioWorklet; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$1.$closed]() { - return this.closed; - } - get [S$3.$cookieStore]() { - return this.cookieStore; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$3.$customElements]() { - return this.customElements; - } - get [S$3.$defaultStatus]() { - return this.defaultStatus; - } - set [S$3.$defaultStatus](value) { - this.defaultStatus = value; - } - get [S$3.$defaultstatus]() { - return this.defaultstatus; - } - set [S$3.$defaultstatus](value) { - this.defaultstatus = value; - } - get [S$2.$devicePixelRatio]() { - return this.devicePixelRatio; - } - get [S$3.$external]() { - return this.external; - } - get [S$3.$history]() { - return this.history; - } - get [S$3.$innerHeight]() { - return this.innerHeight; - } - get [S$3.$innerWidth]() { - return this.innerWidth; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$3.$localStorage]() { - return this.localStorage; - } - get [S$3.$locationbar]() { - return this.locationbar; - } - get [S$3.$menubar]() { - return this.menubar; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$3.$offscreenBuffering]() { - return this.offscreenBuffering; - } - get [S$3.$opener]() { - return html$._convertNativeToDart_Window(this[S$3._get_opener]); - } - get [S$3._get_opener]() { - return this.opener; - } - set [S$3.$opener](value) { - this.opener = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$.$origin]() { - return this.origin; - } - get [S$3.$outerHeight]() { - return this.outerHeight; - } - get [S$3.$outerWidth]() { - return this.outerWidth; - } - get [S$3._pageXOffset]() { - return this.pageXOffset; - } - get [S$3._pageYOffset]() { - return this.pageYOffset; - } - get [S.$parent]() { - return html$._convertNativeToDart_Window(this[S$3._get_parent]); - } - get [S$3._get_parent]() { - return this.parent; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$1.$screen]() { - return this.screen; - } - get [S$3.$screenLeft]() { - return this.screenLeft; - } - get [S$3.$screenTop]() { - return this.screenTop; - } - get [S$3.$screenX]() { - return this.screenX; - } - get [S$3.$screenY]() { - return this.screenY; - } - get [S$3.$scrollbars]() { - return this.scrollbars; - } - get [S$0.$self]() { - return html$._convertNativeToDart_Window(this[S$3._get_self]); - } - get [S$3._get_self]() { - return this.self; - } - get [S$3.$sessionStorage]() { - return this.sessionStorage; - } - get [S$3.$speechSynthesis]() { - return this.speechSynthesis; - } - get [S$.$status]() { - return this.status; - } - set [S$.$status](value) { - this.status = value; - } - get [S$3.$statusbar]() { - return this.statusbar; - } - get [S$3.$styleMedia]() { - return this.styleMedia; - } - get [S$3.$toolbar]() { - return this.toolbar; - } - get [$top]() { - return html$._convertNativeToDart_Window(this[S$3._get_top]); - } - get [S$3._get_top]() { - return this.top; - } - get [S$3.$visualViewport]() { - return this.visualViewport; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.window; - } - [S$.__getter__](index_OR_name) { - if (core.int.is(index_OR_name)) { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); - } - if (typeof index_OR_name == 'string') { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$3.__getter___1](...args) { - return this.__getter__.apply(this, args); - } - [S$3.__getter___2](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$alert](...args) { - return this.alert.apply(this, args); - } - [S$3.$cancelIdleCallback](...args) { - return this.cancelIdleCallback.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$3.$confirm](...args) { - return this.confirm.apply(this, args); - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$3.$find](...args) { - return this.find.apply(this, args); - } - [S._getComputedStyle](...args) { - return this.getComputedStyle.apply(this, args); - } - [S$3.$getComputedStyleMap](...args) { - return this.getComputedStyleMap.apply(this, args); - } - [S$3.$getMatchedCssRules](...args) { - return this.getMatchedCSSRules.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - [S$3.$matchMedia](...args) { - return this.matchMedia.apply(this, args); - } - [S$3.$moveBy](...args) { - return this.moveBy.apply(this, args); - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$postMessage](message, targetOrigin, transfer = null) { - 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); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1, targetOrigin); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$3.$print](...args) { - return this.print.apply(this, args); - } - [S$3.$requestIdleCallback](callback, options = null) { - 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); - return this[S$3._requestIdleCallback_1](callback_1, options_2); - } - let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); - return this[S$3._requestIdleCallback_2](callback_1); - } - [S$3._requestIdleCallback_1](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3._requestIdleCallback_2](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3.$resizeBy](...args) { - return this.resizeBy.apply(this, args); - } - [S$3.$resizeTo](...args) { - return this.resizeTo.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scroll_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scroll_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_4](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_5](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollBy_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollBy_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_4](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_5](...args) { - return this.scrollBy.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollTo_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollTo_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_4](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_5](...args) { - return this.scrollTo.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - [S$3.__requestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$3._requestFileSystem](type, 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[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[149], 33529, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$3._resolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - [S$3.$resolveLocalFileSystemUrl](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[149], 33562, 38, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S$3.$onContentLoaded]() { - return html$.Window.contentLoadedEvent.forTarget(this); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S$3.$onDeviceMotion]() { - return html$.Window.deviceMotionEvent.forTarget(this); - } - get [S$3.$onDeviceOrientation]() { - return html$.Window.deviceOrientationEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S$.$onHashChange]() { - return html$.Window.hashChangeEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.Window.loadStartEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Window.messageEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onOffline]() { - return html$.Window.offlineEvent.forTarget(this); - } - get [S$.$onOnline]() { - return html$.Window.onlineEvent.forTarget(this); - } - get [S$3.$onPageHide]() { - return html$.Window.pageHideEvent.forTarget(this); - } - get [S$3.$onPageShow]() { - return html$.Window.pageShowEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$.$onPopState]() { - return html$.Window.popStateEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.Window.progressEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onStorage]() { - return html$.Window.storageEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forTarget(this); - } - get [S$.$onUnload]() { - return html$.Window.unloadEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$3.$onAnimationEnd]() { - return html$.Window.animationEndEvent.forTarget(this); - } - get [S$3.$onAnimationIteration]() { - return html$.Window.animationIterationEvent.forTarget(this); - } - get [S$3.$onAnimationStart]() { - return html$.Window.animationStartEvent.forTarget(this); - } - get [S$3.$onBeforeUnload]() { - return html$.Window.beforeUnloadEvent.forTarget(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forTarget(this); - } - [S$.$moveTo](p) { - 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](); - } - get [S$3.$pageYOffset]() { - return this.pageYOffset[$round](); - } - get [S$3.$scrollX]() { - return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; - } - get [S$3.$scrollY]() { - return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; - } - }; - dart.addTypeTests(html$.Window); - dart.addTypeCaches(html$.Window); - 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]), - [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), - [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), - [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), - [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), - [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), - [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), - [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), - [S.$close]: dart.fnType(dart.void, []), - [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), - [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), - [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), - [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), - [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), - [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$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]), - [S$3.$print]: dart.fnType(dart.void, []), - [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), - [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), - [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), - [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [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.nullable(core.num)]), - [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S$.$stop]: dart.fnType(dart.void, []), - [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), - [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) - })); - dart.setStaticMethodSignature(html$.Window, () => ['__']); - dart.setGetterSignature(html$.Window, () => ({ - __proto__: dart.getGetters(html$.Window.__proto__), - [S$3.$animationFrame]: async.Future$(core.num), - [S$3.$document]: html$.Document, - [S$0.$location]: html$.Location, - [S$3._location]: dart.dynamic, - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$2.$console]: html$.Console, - [S$3.$animationWorklet]: dart.nullable(html$._Worklet), - [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), - [S$3.$audioWorklet]: dart.nullable(html$._Worklet), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$1.$closed]: dart.nullable(core.bool), - [S$3.$cookieStore]: dart.nullable(html$.CookieStore), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [S$2.$devicePixelRatio]: core.num, - [S$3.$external]: dart.nullable(html$.External), - [S$3.$history]: html$.History, - [S$3.$innerHeight]: dart.nullable(core.int), - [S$3.$innerWidth]: dart.nullable(core.int), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$3.$localStorage]: html$.Storage, - [S$3.$locationbar]: dart.nullable(html$.BarProp), - [S$3.$menubar]: dart.nullable(html$.BarProp), - [$name]: dart.nullable(core.String), - [S$0.$navigator]: html$.Navigator, - [S$3.$offscreenBuffering]: dart.nullable(core.bool), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$3._get_opener]: dart.dynamic, - [S$.$orientation]: dart.nullable(core.int), - [S$.$origin]: dart.nullable(core.String), - [S$3.$outerHeight]: core.int, - [S$3.$outerWidth]: core.int, - [S$3._pageXOffset]: core.num, - [S$3._pageYOffset]: core.num, - [S.$parent]: dart.nullable(html$.WindowBase), - [S$3._get_parent]: dart.dynamic, - [S$0.$performance]: html$.Performance, - [S$1.$screen]: dart.nullable(html$.Screen), - [S$3.$screenLeft]: dart.nullable(core.int), - [S$3.$screenTop]: dart.nullable(core.int), - [S$3.$screenX]: dart.nullable(core.int), - [S$3.$screenY]: dart.nullable(core.int), - [S$3.$scrollbars]: dart.nullable(html$.BarProp), - [S$0.$self]: dart.nullable(html$.WindowBase), - [S$3._get_self]: dart.dynamic, - [S$3.$sessionStorage]: html$.Storage, - [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), - [S$.$status]: dart.nullable(core.String), - [S$3.$statusbar]: dart.nullable(html$.BarProp), - [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), - [S$3.$toolbar]: dart.nullable(html$.BarProp), - [$top]: dart.nullable(html$.WindowBase), - [S$3._get_top]: dart.dynamic, - [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [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), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), - [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S$.$onHashChange]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - [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$.$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$.$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$.$onStorage]: async.Stream$(html$.StorageEvent), - [S$.$onSubmit]: async.Stream$(html$.Event), - [S$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), - [S$.$onUnload]: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), - [S$3.$onBeforeUnload]: async.Stream$(html$.Event), - [S$.$onWheel]: async.Stream$(html$.WheelEvent), - [S$3.$pageXOffset]: core.int, - [S$3.$pageYOffset]: core.int, - [S$3.$scrollX]: core.int, - [S$3.$scrollY]: core.int - })); - dart.setSetterSignature(html$.Window, () => ({ - __proto__: dart.getSetters(html$.Window.__proto__), - [S$0.$location]: html$.LocationBase, - [S$3._location]: dart.dynamic, - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$.$status]: dart.nullable(core.String) - })); - 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[399] || CT.C399; - }, - /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[400] || CT.C400; - }, - /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[401] || CT.C401; - }, - /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[402] || CT.C402; - }, - /*html$.Window.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.Window.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.Window.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[403] || CT.C403; - }, - /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[404] || CT.C404; - }, - /*html$.Window.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.Window.progressEvent*/get progressEvent() { - return C[405] || CT.C405; - }, - /*html$.Window.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.Window.unloadEvent*/get unloadEvent() { - return C[327] || CT.C327; - }, - /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[406] || CT.C406; - }, - /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[407] || CT.C407; - }, - /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[408] || CT.C408; - }, - /*html$.Window.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.Window.TEMPORARY*/get TEMPORARY() { - return 0; - }, - /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[409] || CT.C409; - } - }, false); - dart.registerExtension("Window", html$.Window); - dart.registerExtension("DOMWindow", html$.Window); - html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WindowBase64.__(); - } - }; - dart.addTypeTests(html$.WindowBase64); - dart.addTypeCaches(html$.WindowBase64); - 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; - } - get [S$1.$visibilityState]() { - return this.visibilityState; - } - [S.$focus]() { - return js_util.promiseToFuture(html$.WindowClient, this.focus()); - } - [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); - } - }; - dart.addTypeTests(html$.WindowClient); - dart.addTypeCaches(html$.WindowClient); - dart.setMethodSignature(html$.WindowClient, () => ({ - __proto__: dart.getMethods(html$.WindowClient.__proto__), - [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[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); - } - get onMessage() { - return html$.WindowEventHandlers.messageEvent.forTarget(this); - } - get onOffline() { - return html$.WindowEventHandlers.offlineEvent.forTarget(this); - } - get onOnline() { - return html$.WindowEventHandlers.onlineEvent.forTarget(this); - } - get onPopState() { - return html$.WindowEventHandlers.popStateEvent.forTarget(this); - } - get onStorage() { - return html$.WindowEventHandlers.storageEvent.forTarget(this); - } - get onUnload() { - return html$.WindowEventHandlers.unloadEvent.forTarget(this); - } - }; - 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), - [S$.$onHashChange]: async.Stream$(html$.Event), - onMessage: async.Stream$(html$.MessageEvent), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - onOffline: async.Stream$(html$.Event), - [S$.$onOffline]: async.Stream$(html$.Event), - onOnline: async.Stream$(html$.Event), - [S$.$onOnline]: async.Stream$(html$.Event), - onPopState: async.Stream$(html$.PopStateEvent), - [S$.$onPopState]: async.Stream$(html$.PopStateEvent), - onStorage: async.Stream$(html$.StorageEvent), - [S$.$onStorage]: async.Stream$(html$.StorageEvent), - onUnload: async.Stream$(html$.Event), - [S$.$onUnload]: async.Stream$(html$.Event) - })); - dart.setLibraryUri(html$.WindowEventHandlers, I[150]); - dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); - dart.defineExtensionAccessors(html$.WindowEventHandlers, [ - 'onHashChange', - 'onMessage', - 'onOffline', - 'onOnline', - 'onPopState', - 'onStorage', - 'onUnload' - ]); - dart.defineLazy(html$.WindowEventHandlers, { - /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - 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[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); - } - static get supported() { - return typeof window.Worker != "undefined"; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S.$onError]() { - return html$.Worker.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Worker.messageEvent.forTarget(this); - } - }; - dart.addTypeTests(html$.Worker); - dart.addTypeCaches(html$.Worker); - html$.Worker[dart.implements] = () => [html$.AbstractWorker]; - dart.setMethodSignature(html$.Worker, () => ({ - __proto__: dart.getMethods(html$.Worker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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]), - [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.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[226] || CT.C226; - }, - /*html$.Worker.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } - [S$2.$mark](...args) { - return this.mark.apply(this, args); - } - [S$2.$measure](...args) { - return this.measure.apply(this, args); - } - [S$2.$now](...args) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } - }; - dart.addTypeTests(html$.WorkerPerformance); - dart.addTypeCaches(html$.WorkerPerformance); - dart.setMethodSignature(html$.WorkerPerformance, () => ({ - __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.$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[150]); - dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); - html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletAnimation.__(); - } - static new(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"); - 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); - } - get [S$.$playState]() { - return this.playState; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } - }; - dart.addTypeTests(html$.WorkletAnimation); - dart.addTypeCaches(html$.WorkletAnimation); - dart.setMethodSignature(html$.WorkletAnimation, () => ({ - __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), - [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[150]); - dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); - 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(); - } - [S$3.$createExpression](...args) { - return this.createExpression.apply(this, args); - } - [S$3.$createNSResolver](...args) { - return this.createNSResolver.apply(this, args); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } - }; - dart.addTypeTests(html$.XPathEvaluator); - dart.addTypeCaches(html$.XPathEvaluator); - dart.setMethodSignature(html$.XPathEvaluator, () => ({ - __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), - [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), - [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.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.XPathEvaluator, I[150]); - dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); - html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathExpression.__(); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } - }; - dart.addTypeTests(html$.XPathExpression); - dart.addTypeCaches(html$.XPathExpression); - 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.setStaticMethodSignature(html$.XPathExpression, () => ['__']); - dart.setLibraryUri(html$.XPathExpression, I[150]); - dart.registerExtension("XPathExpression", html$.XPathExpression); - html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathNSResolver.__(); - } - [S$3.$lookupNamespaceUri](...args) { - return this.lookupNamespaceURI.apply(this, args); - } - }; - dart.addTypeTests(html$.XPathNSResolver); - dart.addTypeCaches(html$.XPathNSResolver); - dart.setMethodSignature(html$.XPathNSResolver, () => ({ - __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), - [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) - })); - dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); - dart.setLibraryUri(html$.XPathNSResolver, I[150]); - dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); - html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathResult.__(); - } - get [S$3.$booleanValue]() { - return this.booleanValue; - } - get [S$3.$invalidIteratorState]() { - return this.invalidIteratorState; - } - get [S$3.$numberValue]() { - return this.numberValue; - } - get [S$3.$resultType]() { - return this.resultType; - } - get [S$3.$singleNodeValue]() { - return this.singleNodeValue; - } - get [S$3.$snapshotLength]() { - return this.snapshotLength; - } - get [S$3.$stringValue]() { - return this.stringValue; - } - [S$3.$iterateNext](...args) { - return this.iterateNext.apply(this, args); - } - [S$3.$snapshotItem](...args) { - return this.snapshotItem.apply(this, args); - } - }; - dart.addTypeTests(html$.XPathResult); - dart.addTypeCaches(html$.XPathResult); - dart.setMethodSignature(html$.XPathResult, () => ({ - __proto__: dart.getMethods(html$.XPathResult.__proto__), - [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), - [S$3.$invalidIteratorState]: dart.nullable(core.bool), - [S$3.$numberValue]: dart.nullable(core.num), - [S$3.$resultType]: dart.nullable(core.int), - [S$3.$singleNodeValue]: dart.nullable(html$.Node), - [S$3.$snapshotLength]: dart.nullable(core.int), - [S$3.$stringValue]: dart.nullable(core.String) - })); - 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; - }, - /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { - return 8; - }, - /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { - return 3; - }, - /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { - return 9; - }, - /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { - return 1; - }, - /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { - return 5; - }, - /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { - return 7; - }, - /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { - return 2; - }, - /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { - return 4; - }, - /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { - return 6; - } - }, false); - dart.registerExtension("XPathResult", html$.XPathResult); - html$.XmlDocument = class XmlDocument extends html$.Document { - static ['_#_#tearOff']() { - return html$.XmlDocument.__(); - } - }; - dart.addTypeTests(html$.XmlDocument); - dart.addTypeCaches(html$.XmlDocument); - dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); - dart.setLibraryUri(html$.XmlDocument, I[150]); - dart.registerExtension("XMLDocument", html$.XmlDocument); - 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(); - } - [S$3.$serializeToString](...args) { - return this.serializeToString.apply(this, args); - } - }; - dart.addTypeTests(html$.XmlSerializer); - dart.addTypeCaches(html$.XmlSerializer); - dart.setMethodSignature(html$.XmlSerializer, () => ({ - __proto__: dart.getMethods(html$.XmlSerializer.__proto__), - [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) - })); - dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$.XmlSerializer, I[150]); - dart.registerExtension("XMLSerializer", html$.XmlSerializer); - 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(); - } - static get supported() { - return !!window.XSLTProcessor; - } - [S$3.$clearParameters](...args) { - return this.clearParameters.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$3.$importStylesheet](...args) { - return this.importStylesheet.apply(this, args); - } - [S$3.$removeParameter](...args) { - return this.removeParameter.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$3.$setParameter](...args) { - return this.setParameter.apply(this, args); - } - [S$3.$transformToDocument](...args) { - return this.transformToDocument.apply(this, args); - } - [S$3.$transformToFragment](...args) { - return this.transformToFragment.apply(this, args); - } - }; - dart.addTypeTests(html$.XsltProcessor); - dart.addTypeCaches(html$.XsltProcessor); - dart.setMethodSignature(html$.XsltProcessor, () => ({ - __proto__: dart.getMethods(html$.XsltProcessor.__proto__), - [S$3.$clearParameters]: dart.fnType(dart.void, []), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), - [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S$1.$reset]: dart.fnType(dart.void, []), - [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), - [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.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; - } - get [$name]() { - return this.name; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - 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), - [$name]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) - })); - dart.setSetterSignature(html$._Attr, () => ({ - __proto__: dart.getSetters(html$._Attr.__proto__), - [S.$value]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$._Attr, I[150]); - dart.registerExtension("Attr", html$._Attr); - html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Bluetooth.__(); - } - }; - dart.addTypeTests(html$._Bluetooth); - dart.addTypeCaches(html$._Bluetooth); - dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); - dart.setLibraryUri(html$._Bluetooth, I[150]); - dart.registerExtension("Bluetooth", html$._Bluetooth); - html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothCharacteristicProperties.__(); - } - }; - dart.addTypeTests(html$._BluetoothCharacteristicProperties); - dart.addTypeCaches(html$._BluetoothCharacteristicProperties); - dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); - dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); - dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); - html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothDevice.__(); - } - }; - dart.addTypeTests(html$._BluetoothDevice); - dart.addTypeCaches(html$._BluetoothDevice); - dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); - dart.setLibraryUri(html$._BluetoothDevice, I[150]); - dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); - html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTCharacteristic.__(); - } - }; - dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); - dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); - dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); - dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); - dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); - html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTServer.__(); - } - }; - dart.addTypeTests(html$._BluetoothRemoteGATTServer); - dart.addTypeCaches(html$._BluetoothRemoteGATTServer); - dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); - dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); - dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); - html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTService.__(); - } - }; - dart.addTypeTests(html$._BluetoothRemoteGATTService); - dart.addTypeCaches(html$._BluetoothRemoteGATTService); - dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); - dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); - dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); - html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothUUID.__(); - } - }; - dart.addTypeTests(html$._BluetoothUUID); - dart.addTypeCaches(html$._BluetoothUUID); - dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); - dart.setLibraryUri(html$._BluetoothUUID, I[150]); - dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); - 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[149], 34482, 33, "operation"); - return js_util.promiseToFuture(core.double, this.getCost(operation)); - } - [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); - return js_util.promiseToFuture(core.bool, this.reserve(operation)); - } - }; - dart.addTypeTests(html$._BudgetService); - dart.addTypeCaches(html$._BudgetService); - dart.setMethodSignature(html$._BudgetService, () => ({ - __proto__: dart.getMethods(html$._BudgetService.__proto__), - [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), - [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), - [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) - })); - dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); - dart.setLibraryUri(html$._BudgetService, I[150]); - dart.registerExtension("BudgetService", html$._BudgetService); - html$._Cache = class _Cache extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Cache.__(); - } - }; - dart.addTypeTests(html$._Cache); - dart.addTypeCaches(html$._Cache); - dart.setStaticMethodSignature(html$._Cache, () => ['__']); - dart.setLibraryUri(html$._Cache, I[150]); - dart.registerExtension("Cache", html$._Cache); - html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._CanvasPath.__(); - } - }; - dart.addTypeTests(html$._CanvasPath); - dart.addTypeCaches(html$._CanvasPath); - 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()); - } - [S$3.$readText]() { - return js_util.promiseToFuture(core.String, this.readText()); - } - [S$1.$write](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[149], 34529, 27, "data"); - return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); - } - }; - dart.addTypeTests(html$._Clipboard); - dart.addTypeCaches(html$._Clipboard); - dart.setMethodSignature(html$._Clipboard, () => ({ - __proto__: dart.getMethods(html$._Clipboard.__proto__), - [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), - [S$3.$readText]: dart.fnType(async.Future$(core.String), []), - [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), - [S$3.$writeText]: dart.fnType(async.Future, [core.String]) - })); - dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); - dart.setLibraryUri(html$._Clipboard, I[150]); - dart.registerExtension("Clipboard", html$._Clipboard); - 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[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[149], 34553, 25, "index"); - html$.CssRule.as(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[149], 34559, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34587, 25, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$._CssRuleList.prototype[dart.isList] = true; - dart.addTypeTests(html$._CssRuleList); - dart.addTypeCaches(html$._CssRuleList); - 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 - })); - dart.setSetterSignature(html$._CssRuleList, () => ({ - __proto__: dart.getSetters(html$._CssRuleList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$._CssRuleList, I[150]); - dart.registerExtension("CSSRuleList", html$._CssRuleList); - html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DOMFileSystemSync.__(); - } - }; - dart.addTypeTests(html$._DOMFileSystemSync); - dart.addTypeCaches(html$._DOMFileSystemSync); - dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); - dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); - dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); - html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._EntrySync.__(); - } - }; - dart.addTypeTests(html$._EntrySync); - dart.addTypeCaches(html$._EntrySync); - dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); - dart.setLibraryUri(html$._EntrySync, I[150]); - dart.registerExtension("EntrySync", html$._EntrySync); - html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._DirectoryEntrySync.__(); - } - }; - dart.addTypeTests(html$._DirectoryEntrySync); - dart.addTypeCaches(html$._DirectoryEntrySync); - dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); - dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); - dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); - html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DirectoryReaderSync.__(); - } - }; - dart.addTypeTests(html$._DirectoryReaderSync); - dart.addTypeCaches(html$._DirectoryReaderSync); - dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); - dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); - dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); - 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.setStaticMethodSignature(html$._DocumentType, () => ['__']); - dart.setLibraryUri(html$._DocumentType, I[150]); - dart.registerExtension("DocumentType", html$._DocumentType); - html$._DomRect = class _DomRect extends html$.DomRectReadOnly { - [$toString]() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$._DomRect._create_2(x, y, width); - } - if (y != null) { - return html$._DomRect._create_3(x, y); - } - if (x != null) { - return html$._DomRect._create_4(x); - } - 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); - } - static _create_2(x, y, width) { - return new DOMRect(x, y, width); - } - static _create_3(x, y) { - return new DOMRect(x, y); - } - static _create_4(x) { - return new DOMRect(x); - } - static _create_5() { - return new DOMRect(); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - set [$height](value) { - this.height = value; - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - }; - 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, - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) - })); - dart.setLibraryUri(html$._DomRect, I[150]); - dart.registerExtension("ClientRect", html$._DomRect); - dart.registerExtension("DOMRect", html$._DomRect); - html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._FileEntrySync.__(); - } - }; - dart.addTypeTests(html$._FileEntrySync); - dart.addTypeCaches(html$._FileEntrySync); - dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); - dart.setLibraryUri(html$._FileEntrySync, I[150]); - dart.registerExtension("FileEntrySync", html$._FileEntrySync); - 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.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._FileReaderSync, I[150]); - dart.registerExtension("FileReaderSync", html$._FileReaderSync); - html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._FileWriterSync.__(); - } - }; - dart.addTypeTests(html$._FileWriterSync); - dart.addTypeCaches(html$._FileWriterSync); - dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); - dart.setLibraryUri(html$._FileWriterSync, I[150]); - dart.registerExtension("FileWriterSync", html$._FileWriterSync); - 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[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[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[149], 34877, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34905, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$._GamepadList.prototype[dart.isList] = true; - dart.addTypeTests(html$._GamepadList); - dart.addTypeCaches(html$._GamepadList); - html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; - dart.setMethodSignature(html$._GamepadList, () => ({ - __proto__: dart.getMethods(html$._GamepadList.__proto__), - [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), - [$_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 - })); - dart.setSetterSignature(html$._GamepadList, () => ({ - __proto__: dart.getSetters(html$._GamepadList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$._GamepadList, I[150]); - dart.registerExtension("GamepadList", html$._GamepadList); - html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._HTMLAllCollection.__(); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } - }; - dart.addTypeTests(html$._HTMLAllCollection); - dart.addTypeCaches(html$._HTMLAllCollection); - dart.setMethodSignature(html$._HTMLAllCollection, () => ({ - __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), - [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) - })); - dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); - dart.setLibraryUri(html$._HTMLAllCollection, I[150]); - dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); - 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.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); - dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); - dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); - 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.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); - dart.setLibraryUri(html$._HTMLFontElement, I[150]); - dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); - 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.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); - dart.setLibraryUri(html$._HTMLFrameElement, I[150]); - dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); - html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { - static ['_#_#tearOff']() { - return html$._HTMLFrameSetElement.__(); - } - }; - (html$._HTMLFrameSetElement.created = function() { - html$._HTMLFrameSetElement.__proto__.created.call(this); - ; - }).prototype = html$._HTMLFrameSetElement.prototype; - dart.addTypeTests(html$._HTMLFrameSetElement); - dart.addTypeCaches(html$._HTMLFrameSetElement); - html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; - dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); - dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); - dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); - 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.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); - dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); - dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); - html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Mojo.__(); - } - }; - dart.addTypeTests(html$._Mojo); - dart.addTypeCaches(html$._Mojo); - dart.setStaticMethodSignature(html$._Mojo, () => ['__']); - dart.setLibraryUri(html$._Mojo, I[150]); - dart.registerExtension("Mojo", html$._Mojo); - html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoHandle.__(); - } - }; - dart.addTypeTests(html$._MojoHandle); - dart.addTypeCaches(html$._MojoHandle); - 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[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); - } - static _create_2(interfaceName) { - return new MojoInterfaceInterceptor(interfaceName); - } - }; - dart.addTypeTests(html$._MojoInterfaceInterceptor); - dart.addTypeCaches(html$._MojoInterfaceInterceptor); - 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[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); - } - static _create_2(type) { - return new MojoInterfaceRequestEvent(type); - } - }; - dart.addTypeTests(html$._MojoInterfaceRequestEvent); - dart.addTypeCaches(html$._MojoInterfaceRequestEvent); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoWatcher.__(); - } - }; - dart.addTypeTests(html$._MojoWatcher); - dart.addTypeCaches(html$._MojoWatcher); - dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); - dart.setLibraryUri(html$._MojoWatcher, I[150]); - dart.registerExtension("MojoWatcher", html$._MojoWatcher); - html$._NFC = class _NFC extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._NFC.__(); - } - }; - dart.addTypeTests(html$._NFC); - dart.addTypeCaches(html$._NFC); - dart.setStaticMethodSignature(html$._NFC, () => ['__']); - dart.setLibraryUri(html$._NFC, I[150]); - dart.registerExtension("NFC", html$._NFC); - 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[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[149], 35143, 25, "index"); - html$.Node.as(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[149], 35149, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35177, 22, "index"); - return this[$_get](index); - } - [S$3.$getNamedItem](...args) { - return this.getNamedItem.apply(this, args); - } - [S$3.$getNamedItemNS](...args) { - return this.getNamedItemNS.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$3.$removeNamedItem](...args) { - return this.removeNamedItem.apply(this, args); - } - [S$3.$removeNamedItemNS](...args) { - return this.removeNamedItemNS.apply(this, args); - } - [S$3.$setNamedItem](...args) { - return this.setNamedItem.apply(this, args); - } - [S$3.$setNamedItemNS](...args) { - return this.setNamedItemNS.apply(this, args); - } - }; - html$._NamedNodeMap.prototype[dart.isList] = true; - dart.addTypeTests(html$._NamedNodeMap); - dart.addTypeCaches(html$._NamedNodeMap); - 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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), - [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), - [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), - [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), - [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), - [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 - })); - dart.setSetterSignature(html$._NamedNodeMap, () => ({ - __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$._NamedNodeMap, I[150]); - dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); - dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); - html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._PagePopupController.__(); - } - }; - dart.addTypeTests(html$._PagePopupController); - dart.addTypeCaches(html$._PagePopupController); - dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); - dart.setLibraryUri(html$._PagePopupController, I[150]); - dart.registerExtension("PagePopupController", html$._PagePopupController); - html$._Report = class _Report extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Report.__(); - } - get [S$1.$body]() { - return this.body; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } - }; - 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[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[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); - } - static _create_2(input) { - return new Request(input); - } - get [S$3.$cache]() { - return this.cache; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$headers]() { - return this.headers; - } - get [S$1.$integrity]() { - return this.integrity; - } - get [S.$mode]() { - return this.mode; - } - get [S$3.$redirect]() { - return this.redirect; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - get [S$.$url]() { - return this.url; - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - }; - dart.addTypeTests(html$._Request); - dart.addTypeCaches(html$._Request); - 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$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), - [S$3.$redirect]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) - })); - dart.setLibraryUri(html$._Request, I[150]); - dart.registerExtension("Request", html$._Request); - html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { - static ['_#_#tearOff']() { - return html$._ResourceProgressEvent.__(); - } - }; - dart.addTypeTests(html$._ResourceProgressEvent); - dart.addTypeCaches(html$._ResourceProgressEvent); - 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); - return html$._Response._create_1(body, init_1); - } - if (body != null) { - return html$._Response._create_2(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); - } - static _create_2(body) { - return new Response(body); - } - static _create_3() { - return new Response(); - } - }; - dart.addTypeTests(html$._Response); - dart.addTypeCaches(html$._Response); - dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); - dart.setLibraryUri(html$._Response, I[150]); - dart.registerExtension("Response", html$._Response); - 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[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[149], 35337, 25, "index"); - html$.SpeechRecognitionResult.as(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[149], 35343, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35371, 41, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$._SpeechRecognitionResultList.prototype[dart.isList] = true; - dart.addTypeTests(html$._SpeechRecognitionResultList); - dart.addTypeCaches(html$._SpeechRecognitionResultList); - 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 - })); - dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ - __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); - dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); - 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[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[149], 35397, 25, "index"); - html$.StyleSheet.as(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[149], 35403, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35431, 28, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - }; - html$._StyleSheetList.prototype[dart.isList] = true; - dart.addTypeTests(html$._StyleSheetList); - dart.addTypeCaches(html$._StyleSheetList); - html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; - dart.setMethodSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getMethods(html$._StyleSheetList.__proto__), - [$_get]: dart.fnType(html$.StyleSheet, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 - })); - dart.setSetterSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getSetters(html$._StyleSheetList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(html$._StyleSheetList, I[150]); - dart.registerExtension("StyleSheetList", html$._StyleSheetList); - html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._SubtleCrypto.__(); - } - }; - dart.addTypeTests(html$._SubtleCrypto); - dart.addTypeCaches(html$._SubtleCrypto); - dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); - dart.setLibraryUri(html$._SubtleCrypto, I[150]); - dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); - html$._USB = class _USB extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._USB.__(); - } - }; - dart.addTypeTests(html$._USB); - dart.addTypeCaches(html$._USB); - dart.setStaticMethodSignature(html$._USB, () => ['__']); - dart.setLibraryUri(html$._USB, I[150]); - dart.registerExtension("USB", html$._USB); - html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBAlternateInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._USBAlternateInterface, I[150]); - dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); - html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBConfiguration.__(); - } - static new(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._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.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[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.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._USBConnectionEvent, I[150]); - dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); - html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBDevice.__(); - } - }; - dart.addTypeTests(html$._USBDevice); - dart.addTypeCaches(html$._USBDevice); - dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); - dart.setLibraryUri(html$._USBDevice, I[150]); - dart.registerExtension("USBDevice", html$._USBDevice); - html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBEndpoint.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._USBEndpoint, I[150]); - dart.registerExtension("USBEndpoint", html$._USBEndpoint); - html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInTransferResult.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBInTransferResult(status); - } - }; - dart.addTypeTests(html$._USBInTransferResult); - dart.addTypeCaches(html$._USBInTransferResult); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._USBInterface, I[150]); - dart.registerExtension("USBInterface", html$._USBInterface); - html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferPacket.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousInTransferPacket(status); - } - }; - dart.addTypeTests(html$._USBIsochronousInTransferPacket); - dart.addTypeCaches(html$._USBIsochronousInTransferPacket); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferResult.__(); - } - static new(packets, data = null) { - 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); - } - static _create_2(packets) { - return new USBIsochronousInTransferResult(packets); - } - }; - dart.addTypeTests(html$._USBIsochronousInTransferResult); - dart.addTypeCaches(html$._USBIsochronousInTransferResult); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferPacket.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousOutTransferPacket(status); - } - }; - dart.addTypeTests(html$._USBIsochronousOutTransferPacket); - dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferResult.__(); - } - static new(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.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); - dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); - dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); - html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBOutTransferResult.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBOutTransferResult(status); - } - }; - dart.addTypeTests(html$._USBOutTransferResult); - dart.addTypeCaches(html$._USBOutTransferResult); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._WindowTimers.__(); - } - }; - dart.addTypeTests(html$._WindowTimers); - dart.addTypeCaches(html$._WindowTimers); - 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.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); - dart.setLibraryUri(html$._WorkerLocation, I[150]); - dart.registerExtension("WorkerLocation", html$._WorkerLocation); - 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$.NavigatorID, html$.NavigatorOnLine]; - dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); - dart.setLibraryUri(html$._WorkerNavigator, I[150]); - dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); - html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Worklet.__(); - } - }; - dart.addTypeTests(html$._Worklet); - dart.addTypeCaches(html$._Worklet); - 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[149], 35796, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - for (let v of this.values) { - if (dart.equals(value, v)) { - return true; - } - } - return false; - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); - T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); - if (!dart.test(this[$containsKey](key))) { - this[$_set](key, ifAbsent()); - } - return dart.nullCast(this[$_get](key), core.String); - } - clear() { - for (let key of this.keys) { - this[$remove](key); - } - } - forEach(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][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)); - if (dart.test(this[S$3._matches](attr))) { - keys[$add](dart.nullCheck(attr.name)); - } - } - return keys; - } - get values() { - 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)); - if (dart.test(this[S$3._matches](attr))) { - values[$add](dart.nullCheck(attr.value)); - } - } - return values; - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - }; - (html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); - this[S$1._element] = _element; - ; - }).prototype = html$._AttributeMap.prototype; - dart.addTypeTests(html$._AttributeMap); - dart.addTypeCaches(html$._AttributeMap); - dart.setMethodSignature(html$._AttributeMap, () => ({ - __proto__: dart.getMethods(html$._AttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(html$._AttributeMap, () => ({ - __proto__: dart.getGetters(html$._AttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) - })); - dart.setLibraryUri(html$._AttributeMap, I[150]); - dart.setFieldSignature(html$._AttributeMap, () => ({ - __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element) - })); - dart.defineExtensionMethods(html$._AttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'putIfAbsent', - 'clear', - 'forEach' - ]); - 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][S._hasAttribute](key)); - } - _get(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[149], 35890, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35880, 32, "element"); - html$._ElementAttributeMap.__proto__.new.call(this, element); - ; - }).prototype = html$._ElementAttributeMap.prototype; - dart.addTypeTests(html$._ElementAttributeMap); - dart.addTypeCaches(html$._ElementAttributeMap); - dart.setMethodSignature(html$._ElementAttributeMap, () => ({ - __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) - })); - 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][S._hasAttributeNS](this[S$3._namespace], key)); - } - _get(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[149], 35938, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35928, 35, "element"); - this[S$3._namespace] = _namespace; - html$._NamespacedAttributeMap.__proto__.new.call(this, element); - ; - }).prototype = html$._NamespacedAttributeMap.prototype; - dart.addTypeTests(html$._NamespacedAttributeMap); - dart.addTypeCaches(html$._NamespacedAttributeMap); - dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ - __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) - })); - 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)) - })); - 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[149], 35984, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); - return core.identical(v, value); - }, T$.StringTobool())); - } - containsKey(key) { - return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); - } - _get(key) { - return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); - } - _set(key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); - core.String.as(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[149], 36003, 29, "key"); - T$.VoidToString().as(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) { - return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); - } - clear() { - for (let key of this.keys) { - this.remove(key); - } - } - forEach(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[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); - } - }, T$0.StringAndStringTovoid())); - } - get keys() { - let keys = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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)); - } - }, T$0.StringAndStringTovoid())); - return keys; - } - get values() { - let values = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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); - } - }, T$0.StringAndStringTovoid())); - return values; - } - get length() { - return this.keys[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - [S$3._attr](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[149], 36052, 24, "key"); - return key[$startsWith]("data-"); - } - [S$3._strip](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[149], 36060, 30, "hyphenedName"); - let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - 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) { - let segment = segments[$_get](i); - if (segment.length > 0) { - segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); - } - } - return segments[$join](""); - } - [S$3._toHyphenedName](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](); - if (word[$_get](i) !== lower && i > 0) sb.write("-"); - sb.write(lower); - } - return sb.toString(); - } - }; - (html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); - this[S._attributes$1] = _attributes; - ; - }).prototype = html$._DataAttributeMap.prototype; - dart.addTypeTests(html$._DataAttributeMap); - dart.addTypeCaches(html$._DataAttributeMap); - dart.setMethodSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [S$3._attr]: dart.fnType(core.String, [core.String]), - [S$3._matches]: dart.fnType(core.bool, [core.String]), - [S$3._strip]: dart.fnType(core.String, [core.String]), - [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), - [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) - })); - dart.setGetterSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) - })); - 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)) - })); - dart.defineExtensionMethods(html$._DataAttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' - ]); - dart.defineExtensionAccessors(html$._DataAttributeMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' - ]); - html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; - (html$.CanvasImageSource.new = function() { - ; - }).prototype = html$.CanvasImageSource.prototype; - dart.addTypeTests(html$.CanvasImageSource); - dart.addTypeCaches(html$.CanvasImageSource); - dart.setLibraryUri(html$.CanvasImageSource, I[150]); - html$.WindowBase = class WindowBase extends core.Object {}; - (html$.WindowBase.new = function() { - ; - }).prototype = html$.WindowBase.prototype; - dart.addTypeTests(html$.WindowBase); - dart.addTypeCaches(html$.WindowBase); - html$.WindowBase[dart.implements] = () => [html$.EventTarget]; - 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[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[150]); - html$.CssClassSet = class CssClassSet extends core.Object { - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - }; - (html$.CssClassSet.new = function() { - ; - }).prototype = html$.CssClassSet.prototype; - dart.addTypeTests(html$.CssClassSet); - dart.addTypeCaches(html$.CssClassSet); - html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; - 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.")); - } - set width(newWidth) { - dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); - } - [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - 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) { - val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement == html$._CONTENT) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement != html$._MARGIN) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); - } - } - return val; - } - get right() { - return dart.notNull(this.left) + dart.notNull(this.width); - } - get bottom() { - return dart.notNull(this.top) + dart.notNull(this.height); - } - toString() { - return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); - } - _equals(other) { - if (other == null) return false; - 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 core.Object.hash(this.left, this.top, this.right, this.bottom); - } - intersection(other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - intersects(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[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]); - let top = math.min(core.num, this.top, other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - containsRectangle(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[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() { - return new (T$0.PointOfnum()).new(this.left, this.top); - } - get topRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); - } - get bottomRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); - } - get bottomLeft() { - return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); - } - }; - (html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); - this[S$1._element] = _element; - ; - }).prototype = html$.CssRect.prototype; - dart.addTypeTests(html$.CssRect); - dart.addTypeCaches(html$.CssRect); - html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; - dart.setMethodSignature(html$.CssRect, () => ({ - __proto__: dart.getMethods(html$.CssRect.__proto__), - [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), - intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) - })); - dart.setGetterSignature(html$.CssRect, () => ({ - __proto__: dart.getGetters(html$.CssRect.__proto__), - right: core.num, - [$right]: core.num, - bottom: core.num, - [$bottom]: core.num, - topLeft: math.Point$(core.num), - [$topLeft]: math.Point$(core.num), - topRight: math.Point$(core.num), - [$topRight]: math.Point$(core.num), - bottomRight: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - bottomLeft: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num) - })); - dart.setSetterSignature(html$.CssRect, () => ({ - __proto__: dart.getSetters(html$.CssRect.__proto__), - height: dart.dynamic, - [$height]: dart.dynamic, - width: dart.dynamic, - [$width]: dart.dynamic - })); - dart.setLibraryUri(html$.CssRect, I[150]); - dart.setFieldSignature(html$.CssRect, () => ({ - __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element]: dart.fieldType(html$.Element) - })); - dart.defineExtensionMethods(html$.CssRect, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' - ]); - dart.defineExtensionAccessors(html$.CssRect, [ - 'height', - 'width', - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - '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][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); - } - get width() { - 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].style[$height] = dart.toString(newHeight); - } else if (typeof newHeight == 'number') { - if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element].style[$height] = dart.str(newHeight) + "px"; - } else { - dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); - } - } - set width(newWidth) { - if (html$.Dimension.is(newWidth)) { - let newWidthAsDimension = newWidth; - if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - 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].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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); - } - get top() { - 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[149], 36401, 27, "element"); - html$._ContentCssRect.__proto__.new.call(this, element); - ; - }).prototype = html$._ContentCssRect.prototype; - dart.addTypeTests(html$._ContentCssRect); - dart.addTypeCaches(html$._ContentCssRect); - dart.setGetterSignature(html$._ContentCssRect, () => ({ - __proto__: dart.getGetters(html$._ContentCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num - })); - 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[149], 36480, 27, "e"); - return e[S.$contentEdge].height = newHeight; - }, T$0.ElementTovoid())); - } - get height() { - return super.height; - } - set width(newWidth) { - this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); - return e[S.$contentEdge].width = newWidth; - }, T$0.ElementTovoid())); - } - get width() { - return super.width; - } - }; - (html$._ContentCssListRect.new = function(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[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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); - } - get top() { - 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) { - html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; - }).prototype = html$._PaddingCssRect.prototype; - dart.addTypeTests(html$._PaddingCssRect); - dart.addTypeCaches(html$._PaddingCssRect); - dart.setGetterSignature(html$._PaddingCssRect, () => ({ - __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num - })); - 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][S.$offsetHeight]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$1._element][S.$offsetWidth]; - } - set width(value) { - super.width = value; - } - get left() { - return this[S$1._element].getBoundingClientRect()[$left]; - } - get top() { - return this[S$1._element].getBoundingClientRect()[$top]; - } - }; - (html$._BorderCssRect.new = function(element) { - html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; - }).prototype = html$._BorderCssRect.prototype; - dart.addTypeTests(html$._BorderCssRect); - dart.addTypeCaches(html$._BorderCssRect); - dart.setGetterSignature(html$._BorderCssRect, () => ({ - __proto__: dart.getGetters(html$._BorderCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num - })); - 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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); - } - get top() { - 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) { - html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; - }).prototype = html$._MarginCssRect.prototype; - dart.addTypeTests(html$._MarginCssRect); - dart.addTypeCaches(html$._MarginCssRect); - dart.setGetterSignature(html$._MarginCssRect, () => ({ - __proto__: dart.getGetters(html$._MarginCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num - })); - 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[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")); - } - toString() { - return this.readClasses()[$join](" "); - } - toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[151], 26, 22, "value"); - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = false; - if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); - if (dart.test(shouldAdd)) { - s.add(value); - result = true; - } else { - s.remove(value); - } - this.writeClasses(s); - return result; - } - get frozen() { - return false; - } - get iterator() { - return this.readClasses().iterator; - } - forEach(f) { - if (f == null) dart.nullFailed(I[151], 52, 21, "f"); - this.readClasses()[$forEach](f); - } - join(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[151], 58, 24, "f"); - return this.readClasses()[$map](T, f); - } - where(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[151], 62, 37, "f"); - return this.readClasses()[$expand](T, f); - } - every(f) { - if (f == null) dart.nullFailed(I[151], 65, 19, "f"); - return this.readClasses()[$every](f); - } - any(f) { - if (f == null) dart.nullFailed(I[151], 67, 17, "f"); - return this.readClasses()[$any](f); - } - get isEmpty() { - return this.readClasses()[$isEmpty]; - } - get isNotEmpty() { - return this.readClasses()[$isNotEmpty]; - } - get length() { - return this.readClasses()[$length]; - } - reduce(combine) { - T$0.StringAndStringToString().as(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[151], 79, 31, "combine"); - return this.readClasses()[$fold](T, initialValue, combine); - } - contains(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - return this.readClasses().contains(value); - } - lookup(value) { - return dart.test(this.contains(value)) ? core.String.as(value) : null; - } - add(value) { - let t222; - core.String.as(value); - if (value == null) dart.nullFailed(I[151], 107, 19, "value"); - this[S$3._validateToken](value); - 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())), t222 == null ? false : t222)); - } - remove(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = s.remove(value); - this.writeClasses(s); - return result; - } - addAll(iterable) { - T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); - this.modify(dart.fn(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[151], 147, 36, "iterable"); - this.modify(dart.fn(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[151], 161, 35, "iterable"); - iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[151], 162, 23, "e"); - return this.toggle(e, shouldAdd); - }, T$0.StringTovoid())); - } - retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); - this.modify(dart.fn(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[151], 169, 25, "test"); - this.modify(dart.fn(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[151], 173, 25, "test"); - this.modify(dart.fn(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[151], 177, 38, "collection"); - return this.readClasses().containsAll(collection); - } - intersection(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[151], 183, 33, "other"); - return this.readClasses().union(other); - } - difference(other) { - if (other == null) dart.nullFailed(I[151], 185, 39, "other"); - return this.readClasses().difference(other); - } - get first() { - return this.readClasses()[$first]; - } - get last() { - return this.readClasses()[$last]; - } - get single() { - return this.readClasses()[$single]; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[151], 193, 29, "n"); - return this.readClasses()[$take](n); - } - takeWhile(test) { - if (test == null) dart.nullFailed(I[151], 194, 35, "test"); - return this.readClasses()[$takeWhile](test); - } - skip(n) { - if (n == null) dart.nullFailed(I[151], 196, 29, "n"); - return this.readClasses()[$skip](n); - } - skipWhile(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[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[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[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[151], 205, 24, "index"); - return this.readClasses()[$elementAt](index); - } - clear() { - this.modify(dart.fn(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[151], 222, 10, "f"); - let s = this.readClasses(); - let ret = f(s); - this.writeClasses(s); - return ret; - } - }; - (html_common.CssClassSetImpl.new = function() { - ; - }).prototype = html_common.CssClassSetImpl.prototype; - dart.addTypeTests(html_common.CssClassSetImpl); - dart.addTypeCaches(html_common.CssClassSetImpl); - html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; - dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), - [S$3._validateToken]: dart.fnType(core.String, [core.String]), - toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), - toSet: dart.fnType(core.Set$(core.String), []), - [$toSet]: dart.fnType(core.Set$(core.String), []), - modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) - })); - dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), - frozen: core.bool, - iterator: core.Iterator$(core.String), - [$iterator]: core.Iterator$(core.String), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); - dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); - dart.defineExtensionMethods(html_common.CssClassSetImpl, [ - 'toString', - 'forEach', - 'join', - 'map', - 'where', - 'expand', - 'every', - 'any', - 'reduce', - 'fold', - 'contains', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' - ]); - dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - dart.defineLazy(html_common.CssClassSetImpl, { - /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { - return core.RegExp.new("^\\S+$"); - } - }, false); - html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { - static new(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[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[149], 36784, 36, "e"); - return s.addAll(e.readClasses()); - }, T$0.CssClassSetImplTovoid())); - return s; - } - writeClasses(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[149], 36804, 10, "f"); - this[S$3._sets][$forEach](dart.fn(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[149], 36815, 22, "value"); - return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, 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[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[149], 36780, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); - this[S$0._elementIterable] = _elementIterable; - this[S$3._sets] = _sets; - ; - }).prototype = html$._MultiElementCssClassSet.prototype; - dart.addTypeTests(html$._MultiElementCssClassSet); - dart.addTypeCaches(html$._MultiElementCssClassSet); - dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) - })); - 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].className; - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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])); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - clear() { - this[S$1._element].className = ""; - } - contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element], value); - } - add(value) { - core.String.as(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], value)); - } - toggle(value, shouldAdd = null) { - 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[149], 36877, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element], iterable); - } - removeAll(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[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[149], 36889, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); - } - retainWhere(test) { - 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[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[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[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[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[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 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((t222 = shouldAdd, t222 == null ? false : t222))) { - html$._ElementCssClassSet._classListAdd(list, value); - return true; - } else { - html$._ElementCssClassSet._classListRemove(list, value); - return false; - } - } - static _addAll(_element, 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[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[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))) { - let item = dart.nullCheck(list.item(i)); - if (doRemove == test(item)) { - html$._ElementCssClassSet._classListRemove(list, item); - } else { - i = i + 1; - } - } - } - static _classListOf(e) { - if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); - return e.classList; - } - static _classListLength(list) { - if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); - return list.length; - } - static _classListContains(list, 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[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[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[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[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[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[149], 36834, 28, "_element"); - this[S$1._element] = _element; - ; - }).prototype = html$._ElementCssClassSet.prototype; - dart.addTypeTests(html$._ElementCssClassSet); - dart.addTypeCaches(html$._ElementCssClassSet); - dart.setMethodSignature(html$._ElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) - })); - 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]: 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]); - } - get value() { - return this[S$1._value$7]; - } - }; - (html$.Dimension.percent = function(_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[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[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[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[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[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[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[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[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[149], 37077, 24, "cssValue"); - this[S$3._unit] = ""; - this[S$1._value$7] = 0; - if (cssValue === "") cssValue = "0px"; - if (cssValue[$endsWith]("%")) { - this[S$3._unit] = "%"; - } else { - this[S$3._unit] = cssValue[$substring](cssValue.length - 2); - } - if (cssValue[$contains](".")) { - this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } else { - this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } - }).prototype = html$.Dimension.prototype; - dart.addTypeTests(html$.Dimension); - dart.addTypeCaches(html$.Dimension); - dart.setGetterSignature(html$.Dimension, () => ({ - __proto__: dart.getGetters(html$.Dimension.__proto__), - value: core.num - })); - dart.setLibraryUri(html$.Dimension, I[150]); - dart.setFieldSignature(html$.Dimension, () => ({ - __proto__: dart.getFields(html$.Dimension.__proto__), - [S$1._value$7]: dart.fieldType(core.num), - [S$3._unit]: dart.fieldType(core.String) - })); - dart.defineExtensionMethods(html$.Dimension, ['toString']); - const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); - html$.EventStreamProvider$ = dart.generic(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]; - } - 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[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[149], 37166, 39, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37185, 57, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37197, 35, "target"); - return this[S$3._eventType$1]; - } - } - (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); - this[S$3._eventType] = _eventType; - ; - }).prototype = EventStreamProvider.prototype; - dart.addTypeTests(EventStreamProvider); - EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; - dart.addTypeCaches(EventStreamProvider); - dart.setMethodSignature(EventStreamProvider, () => ({ - __proto__: dart.getMethods(EventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [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[150]); - dart.setFieldSignature(EventStreamProvider, () => ({ - __proto__: dart.getFields(EventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return EventStreamProvider; - }); - html$.EventStreamProvider = html$.EventStreamProvider$(); - dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); - const _is_ElementStream_default = Symbol('_is_ElementStream_default'); - html$.ElementStream$ = dart.generic(T => { - class ElementStream extends core.Object {} - (ElementStream.new = function() { - ; - }).prototype = ElementStream.prototype; - ElementStream.prototype[dart.isStream] = true; - dart.addTypeTests(ElementStream); - ElementStream.prototype[_is_ElementStream_default] = true; - dart.addTypeCaches(ElementStream); - ElementStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - return this; - } - get isBroadcast() { - return true; - } - 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; - 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[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; - _EventStream.__proto__.new.call(this); - ; - }).prototype = _EventStream.prototype; - dart.addTypeTests(_EventStream); - _EventStream.prototype[_is__EventStream_default] = true; - dart.addTypeCaches(_EventStream); - dart.setMethodSignature(_EventStream, () => ({ - __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[150]); - dart.setFieldSignature(_EventStream, () => ({ - __proto__: dart.getFields(_EventStream.__proto__), - [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStream; - }); - 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 __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[149], 37270, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); - e[S._selector] = selector; - return e; - }, __t$TToT())); - } - capture(onData) { - 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) { - _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); - ; - }).prototype = _ElementEventStreamImpl.prototype; - dart.addTypeTests(_ElementEventStreamImpl); - _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementEventStreamImpl); - _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) - })); - 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 __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[149], 37294, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); - e[S._selector] = selector; - return e; - }, __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 (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - 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[149], 37311, 38, "onData"); - let pool = new (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); - } - return pool.stream.listen(onData); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this; - } - get isBroadcast() { - return true; - } - } - (_ElementListEventStreamImpl.new = function(_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"); - this[S$3._targetList] = _targetList; - this[S$3._eventType$1] = _eventType; - this[S$3._useCapture] = _useCapture; - _ElementListEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _ElementListEventStreamImpl.prototype; - dart.addTypeTests(_ElementListEventStreamImpl); - _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementListEventStreamImpl); - _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - 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[150]); - dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), - [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$3._useCapture]: dart.finalFieldType(core.bool), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return _ElementListEventStreamImpl; - }); - html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); - dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); - 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](); - this[S$3._target$2] = null; - this[S$3._onData$3] = null; - return _internal.nullFuture; - } - get [S$3._canceled]() { - return this[S$3._target$2] == null; - } - onData(handleData) { - if (dart.test(this[S$3._canceled])) { - dart.throw(new core.StateError.new("Subscription has been canceled.")); - } - 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[149], 37367, 29, "e"); - return dart.dcall(handleData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - } - onError(handleError) { - } - onDone(handleDone) { - } - pause(resumeSignal = null) { - if (dart.test(this[S$3._canceled])) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; - this[S$3._unlisten](); - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - get isPaused() { - return dart.notNull(this[S$3._pauseCount$1]) > 0; - } - resume() { - if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; - this[S$3._tryResume](); - } - [S$3._tryResume]() { - if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { - dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - [S$3._unlisten]() { - if (this[S$3._onData$3] != null) { - dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - asFuture(E, futureValue = null) { - let completer = async.Completer$(E).new(); - return completer.future; - } - } - (_EventStreamSubscription.new = function(_target, _eventType, onData, _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[149], 37340, 33, "e"); - return dart.dcall(onData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - }).prototype = _EventStreamSubscription.prototype; - dart.addTypeTests(_EventStreamSubscription); - _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; - dart.addTypeCaches(_EventStreamSubscription); - dart.setMethodSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getMethods(_EventStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [S$3._tryResume]: dart.fnType(dart.void, []), - [S$3._unlisten]: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getGetters(_EventStreamSubscription.__proto__), - [S$3._canceled]: core.bool, - isPaused: core.bool - })); - dart.setLibraryUri(_EventStreamSubscription, I[150]); - dart.setFieldSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getFields(_EventStreamSubscription.__proto__), - [S$3._pauseCount$1]: dart.fieldType(core.int), - [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStreamSubscription; - }); - html$._EventStreamSubscription = html$._EventStreamSubscription$(); - dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); - const _is_CustomStream_default = Symbol('_is_CustomStream_default'); - html$.CustomStream$ = dart.generic(T => { - class CustomStream extends core.Object {} - (CustomStream.new = function() { - ; - }).prototype = CustomStream.prototype; - CustomStream.prototype[dart.isStream] = true; - dart.addTypeTests(CustomStream); - CustomStream.prototype[_is_CustomStream_default] = true; - dart.addTypeCaches(CustomStream); - CustomStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[S$3._streamController].stream; - } - get isBroadcast() { - return true; - } - add(event) { - T.as(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[149], 37432, 33, "type"); - this[S$3._type$5] = type; - this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); - _CustomEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _CustomEventStreamImpl.prototype; - dart.addTypeTests(_CustomEventStreamImpl); - _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; - dart.addTypeCaches(_CustomEventStreamImpl); - _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; - dart.setMethodSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getMethods(_CustomEventStreamImpl.__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)}, {}), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomEventStreamImpl, I[150]); - dart.setFieldSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), - [S$3._streamController]: dart.fieldType(async.StreamController$(T)), - [S$3._type$5]: dart.fieldType(core.String) - })); - return _CustomEventStreamImpl; - }); - 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]; - } - get charCode() { - return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; - } - get altKey() { - return this[S$3._shadowAltKey]; - } - get which() { - return this.keyCode; - } - get [S$3._realKeyCode]() { - return this[S$3._parent$2].keyCode; - } - get [S$3._realCharCode]() { - return this[S$3._parent$2].charCode; - } - get [S$3._realAltKey]() { - return this[S$3._parent$2].altKey; - } - get sourceCapabilities() { - return this.sourceCapabilities; - } - static _makeRecord() { - 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[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; - if (view == null) { - view = html$.window; - } - let eventObj = null; - eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); - Object.defineProperty(eventObj, 'keyCode', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'which', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'charCode', { - get: function() { - return this.charCodeVal; - } - }); - let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - 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(eventObj); - if (keyEvent[S$3._currentTarget] == null) { - keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; - } - return keyEvent; - } - static get canUseDispatchEvent() { - return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; - } - get currentTarget() { - return this[S$3._currentTarget]; - } - static _convertToHexString(charCode, 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+"); - for (let i = 0; i < 4 - hex.length; i = i + 1) - sb.write("0"); - sb.write(hex); - return sb.toString(); - } else { - return html$.KeyCode._convertKeyCodeToKeyName(keyCode); - } - } - get code() { - return dart.nullCheck(this[S$3._parent$2].code); - } - get ctrlKey() { - return this[S$3._parent$2].ctrlKey; - } - get detail() { - return dart.nullCheck(this[S$3._parent$2].detail); - } - get isComposing() { - return dart.nullCheck(this[S$3._parent$2].isComposing); - } - get key() { - return dart.nullCheck(this[S$3._parent$2].key); - } - get location() { - return this[S$3._parent$2].location; - } - get metaKey() { - return this[S$3._parent$2].metaKey; - } - get shiftKey() { - return this[S$3._parent$2].shiftKey; - } - get view() { - return this[S$3._parent$2][S$.$view]; - } - [S$._initUIEvent](type, canBubble, cancelable, view, 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]() { - return this[S$3._parent$2].keyIdentifier; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$._which]() { - return this.which; - } - get [S$3._keyIdentifier]() { - 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[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[149], 40723, 32, "keyArgument"); - return dart.throw(new core.UnimplementedError.new()); - } - get repeat() { - return dart.throw(new core.UnimplementedError.new()); - } - get isComposed() { - return dart.throw(new core.UnimplementedError.new()); - } - get [S$._get_view]() { - return dart.throw(new core.UnimplementedError.new()); - } - }; - (html$.KeyEvent.wrap = function(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; - this[S$3._shadowCharCode] = 0; - this[S$3._shadowKeyCode] = 0; - html$.KeyEvent.__proto__.new.call(this, parent); - this[S$3._parent$2] = parent; - this[S$3._shadowAltKey] = this[S$3._realAltKey]; - this[S$3._shadowCharCode] = this[S$3._realCharCode]; - this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; - this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; - }).prototype = html$.KeyEvent.prototype; - dart.addTypeTests(html$.KeyEvent); - dart.addTypeCaches(html$.KeyEvent); - html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; - dart.setMethodSignature(html$.KeyEvent, () => ({ - __proto__: dart.getMethods(html$.KeyEvent.__proto__), - [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), - [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]), - 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, - [S$1.$keyCode]: core.int, - charCode: core.int, - [S$1.$charCode]: core.int, - altKey: core.bool, - [S$1.$altKey]: core.bool, - which: core.int, - [S$1.$which]: core.int, - [S$3._realKeyCode]: core.int, - [S$3._realCharCode]: core.int, - [S$3._realAltKey]: core.bool, - sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - code: core.String, - [S$.$code]: core.String, - ctrlKey: core.bool, - [S$1.$ctrlKey]: core.bool, - detail: core.int, - [S$.$detail]: core.int, - isComposing: core.bool, - [S$1.$isComposing]: core.bool, - key: core.String, - [S.$key]: core.String, - location: core.int, - [S$0.$location]: core.int, - metaKey: core.bool, - [S$1.$metaKey]: core.bool, - shiftKey: core.bool, - [S$1.$shiftKey]: core.bool, - view: dart.nullable(html$.WindowBase), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$3._shadowKeyIdentifier]: core.String, - [S$1._charCode]: core.int, - [S$1._keyCode]: core.int, - [S$._which]: core.int, - [S$3._keyIdentifier]: core.String, - repeat: core.bool, - [S$1.$repeat]: core.bool, - isComposed: core.bool, - [S$._get_view]: dart.dynamic - })); - 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), - [S$3._shadowAltKey]: dart.fieldType(core.bool), - [S$3._shadowCharCode]: dart.fieldType(core.int), - [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', - 'charCode', - 'altKey', - 'which', - 'sourceCapabilities', - 'currentTarget', - 'code', - 'ctrlKey', - 'detail', - 'isComposing', - 'key', - 'location', - 'metaKey', - 'shiftKey', - 'view', - 'repeat' - ]); - dart.defineLazy(html$.KeyEvent, { - /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { - return html$.KeyEvent._makeRecord(); - }, - /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { - return new html$._KeyboardEventHandler.new("keydown"); - }, - 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(value) { - if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); - }, - /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { - return new html$._KeyboardEventHandler.new("keypress"); - }, - 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[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); - } - } - }; - (html$._CustomKeyEventStreamImpl.new = function(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[150]); - const _is__StreamPool_default = Symbol('_is__StreamPool_default'); - html$._StreamPool$ = dart.generic(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) { - __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(__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) { - __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(); - } - close() { - for (let subscription of this[S$3._subscriptions][$values]) { - subscription.cancel(); - } - this[S$3._subscriptions][$clear](); - dart.nullCheck(this[S$3._controller$2]).close(); - } - } - (_StreamPool.broadcast = function() { - this[S$3._controller$2] = null; - 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; - dart.addTypeCaches(_StreamPool); - dart.setMethodSignature(_StreamPool, () => ({ - __proto__: dart.getMethods(_StreamPool.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamPool, () => ({ - __proto__: dart.getGetters(_StreamPool.__proto__), - stream: async.Stream$(T) - })); - dart.setLibraryUri(_StreamPool, I[150]); - dart.setFieldSignature(_StreamPool, () => ({ - __proto__: dart.getFields(_StreamPool.__proto__), - [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) - })); - return _StreamPool; - }); - 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 __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]; - } - 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 t222; - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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 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[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 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[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 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.")); - } - } - (_CustomEventStreamProvider.new = function(_eventTypeGetter) { - this[S$3._eventTypeGetter] = _eventTypeGetter; - ; - }).prototype = _CustomEventStreamProvider.prototype; - dart.addTypeTests(_CustomEventStreamProvider); - _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; - dart.addTypeCaches(_CustomEventStreamProvider); - _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; - dart.setMethodSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]) - })); - dart.setGetterSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), - [S$3._eventType$1]: core.String - })); - dart.setLibraryUri(_CustomEventStreamProvider, I[150]); - dart.setFieldSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), - [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) - })); - return _CustomEventStreamProvider; - }); - 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[149], 37975, 30, "element"); - return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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) { - validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); - } - if (validator == null) { - return false; - } - return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); - } - static _standardAttributeValidator(element, attributeName, value, 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[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 t222; - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - 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[410] || CT.C410); - } - for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); - } - } - }).prototype = html$._Html5NodeValidator.prototype; - dart.addTypeTests(html$._Html5NodeValidator); - dart.addTypeCaches(html$._Html5NodeValidator); - html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; - dart.setMethodSignature(html$._Html5NodeValidator, () => ({ - __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) - })); - 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[412] || CT.C412; - }, - /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[413] || CT.C413; - }, - /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { - return new (T$0.IdentityMapOfString$Function()).new(); - } - }, false); - html$.KeyCode = class KeyCode extends core.Object { - static isCharacterKey(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; - } - if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { - return true; - } - 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[149], 38323, 46, "keyCode"); - switch (keyCode) { - case 18: - { - return "Alt"; - } - case 8: - { - return "Backspace"; - } - case 20: - { - return "CapsLock"; - } - case 17: - { - return "Control"; - } - case 46: - { - return "Del"; - } - case 40: - { - return "Down"; - } - case 35: - { - return "End"; - } - case 13: - { - return "Enter"; - } - case 27: - { - return "Esc"; - } - case 112: - { - return "F1"; - } - case 113: - { - return "F2"; - } - case 114: - { - return "F3"; - } - case 115: - { - return "F4"; - } - case 116: - { - return "F5"; - } - case 117: - { - return "F6"; - } - case 118: - { - return "F7"; - } - case 119: - { - return "F8"; - } - case 120: - { - return "F9"; - } - case 121: - { - return "F10"; - } - case 122: - { - return "F11"; - } - case 123: - { - return "F12"; - } - case 36: - { - return "Home"; - } - case 45: - { - return "Insert"; - } - case 37: - { - return "Left"; - } - case 91: - { - return "Meta"; - } - case 144: - { - return "NumLock"; - } - case 34: - { - return "PageDown"; - } - case 33: - { - return "PageUp"; - } - case 19: - { - return "Pause"; - } - case 44: - { - return "PrintScreen"; - } - case 39: - { - return "Right"; - } - case 145: - { - return "Scroll"; - } - case 16: - { - return "Shift"; - } - case 32: - { - return "Spacebar"; - } - case 9: - { - return "Tab"; - } - case 38: - { - return "Up"; - } - case 229: - case 224: - case 91: - case 92: - { - return "Win"; - } - default: - { - return "Unidentified"; - } - } - return "Unidentified"; - } - }; - (html$.KeyCode.new = function() { - ; - }).prototype = html$.KeyCode.prototype; - dart.addTypeTests(html$.KeyCode); - dart.addTypeCaches(html$.KeyCode); - 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; - }, - /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { - return 3; - }, - /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { - return 8; - }, - /*html$.KeyCode.TAB*/get TAB() { - return 9; - }, - /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { - return 12; - }, - /*html$.KeyCode.ENTER*/get ENTER() { - return 13; - }, - /*html$.KeyCode.SHIFT*/get SHIFT() { - return 16; - }, - /*html$.KeyCode.CTRL*/get CTRL() { - return 17; - }, - /*html$.KeyCode.ALT*/get ALT() { - return 18; - }, - /*html$.KeyCode.PAUSE*/get PAUSE() { - return 19; - }, - /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { - return 20; - }, - /*html$.KeyCode.ESC*/get ESC() { - return 27; - }, - /*html$.KeyCode.SPACE*/get SPACE() { - return 32; - }, - /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { - return 33; - }, - /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { - return 34; - }, - /*html$.KeyCode.END*/get END() { - return 35; - }, - /*html$.KeyCode.HOME*/get HOME() { - return 36; - }, - /*html$.KeyCode.LEFT*/get LEFT() { - return 37; - }, - /*html$.KeyCode.UP*/get UP() { - return 38; - }, - /*html$.KeyCode.RIGHT*/get RIGHT() { - return 39; - }, - /*html$.KeyCode.DOWN*/get DOWN() { - return 40; - }, - /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { - return 33; - }, - /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { - return 34; - }, - /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { - return 35; - }, - /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { - return 36; - }, - /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { - return 37; - }, - /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { - return 38; - }, - /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { - return 39; - }, - /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { - return 40; - }, - /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { - return 44; - }, - /*html$.KeyCode.INSERT*/get INSERT() { - return 45; - }, - /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { - return 45; - }, - /*html$.KeyCode.DELETE*/get DELETE() { - return 46; - }, - /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { - return 46; - }, - /*html$.KeyCode.ZERO*/get ZERO() { - return 48; - }, - /*html$.KeyCode.ONE*/get ONE() { - return 49; - }, - /*html$.KeyCode.TWO*/get TWO() { - return 50; - }, - /*html$.KeyCode.THREE*/get THREE() { - return 51; - }, - /*html$.KeyCode.FOUR*/get FOUR() { - return 52; - }, - /*html$.KeyCode.FIVE*/get FIVE() { - return 53; - }, - /*html$.KeyCode.SIX*/get SIX() { - return 54; - }, - /*html$.KeyCode.SEVEN*/get SEVEN() { - return 55; - }, - /*html$.KeyCode.EIGHT*/get EIGHT() { - return 56; - }, - /*html$.KeyCode.NINE*/get NINE() { - return 57; - }, - /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { - return 59; - }, - /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { - return 61; - }, - /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { - return 63; - }, - /*html$.KeyCode.A*/get A() { - return 65; - }, - /*html$.KeyCode.B*/get B() { - return 66; - }, - /*html$.KeyCode.C*/get C() { - return 67; - }, - /*html$.KeyCode.D*/get D() { - return 68; - }, - /*html$.KeyCode.E*/get E() { - return 69; - }, - /*html$.KeyCode.F*/get F() { - return 70; - }, - /*html$.KeyCode.G*/get G() { - return 71; - }, - /*html$.KeyCode.H*/get H() { - return 72; - }, - /*html$.KeyCode.I*/get I() { - return 73; - }, - /*html$.KeyCode.J*/get J() { - return 74; - }, - /*html$.KeyCode.K*/get K() { - return 75; - }, - /*html$.KeyCode.L*/get L() { - return 76; - }, - /*html$.KeyCode.M*/get M() { - return 77; - }, - /*html$.KeyCode.N*/get N() { - return 78; - }, - /*html$.KeyCode.O*/get O() { - return 79; - }, - /*html$.KeyCode.P*/get P() { - return 80; - }, - /*html$.KeyCode.Q*/get Q() { - return 81; - }, - /*html$.KeyCode.R*/get R() { - return 82; - }, - /*html$.KeyCode.S*/get S() { - return 83; - }, - /*html$.KeyCode.T*/get T() { - return 84; - }, - /*html$.KeyCode.U*/get U() { - return 85; - }, - /*html$.KeyCode.V*/get V() { - return 86; - }, - /*html$.KeyCode.W*/get W() { - return 87; - }, - /*html$.KeyCode.X*/get X() { - return 88; - }, - /*html$.KeyCode.Y*/get Y() { - return 89; - }, - /*html$.KeyCode.Z*/get Z() { - return 90; - }, - /*html$.KeyCode.META*/get META() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { - return 92; - }, - /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { - return 93; - }, - /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { - return 96; - }, - /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { - return 97; - }, - /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { - return 98; - }, - /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { - return 99; - }, - /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { - return 100; - }, - /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { - return 101; - }, - /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { - return 102; - }, - /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { - return 103; - }, - /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { - return 104; - }, - /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { - return 105; - }, - /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { - return 106; - }, - /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { - return 107; - }, - /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { - return 109; - }, - /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { - return 110; - }, - /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { - return 111; - }, - /*html$.KeyCode.F1*/get F1() { - return 112; - }, - /*html$.KeyCode.F2*/get F2() { - return 113; - }, - /*html$.KeyCode.F3*/get F3() { - return 114; - }, - /*html$.KeyCode.F4*/get F4() { - return 115; - }, - /*html$.KeyCode.F5*/get F5() { - return 116; - }, - /*html$.KeyCode.F6*/get F6() { - return 117; - }, - /*html$.KeyCode.F7*/get F7() { - return 118; - }, - /*html$.KeyCode.F8*/get F8() { - return 119; - }, - /*html$.KeyCode.F9*/get F9() { - return 120; - }, - /*html$.KeyCode.F10*/get F10() { - return 121; - }, - /*html$.KeyCode.F11*/get F11() { - return 122; - }, - /*html$.KeyCode.F12*/get F12() { - return 123; - }, - /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { - return 144; - }, - /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { - return 145; - }, - /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { - return 166; - }, - /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { - return 183; - }, - /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { - return 186; - }, - /*html$.KeyCode.DASH*/get DASH() { - return 189; - }, - /*html$.KeyCode.EQUALS*/get EQUALS() { - return 187; - }, - /*html$.KeyCode.COMMA*/get COMMA() { - return 188; - }, - /*html$.KeyCode.PERIOD*/get PERIOD() { - return 190; - }, - /*html$.KeyCode.SLASH*/get SLASH() { - return 191; - }, - /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { - return 192; - }, - /*html$.KeyCode.TILDE*/get TILDE() { - return 192; - }, - /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { - return 222; - }, - /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { - return 219; - }, - /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { - return 220; - }, - /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { - return 221; - }, - /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { - return 224; - }, - /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { - return 224; - }, - /*html$.KeyCode.WIN_IME*/get WIN_IME() { - return 229; - }, - /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { - return -1; - } - }, false); - html$.KeyLocation = class KeyLocation extends core.Object {}; - (html$.KeyLocation.new = function() { - ; - }).prototype = html$.KeyLocation.prototype; - dart.addTypeTests(html$.KeyLocation); - dart.addTypeCaches(html$.KeyLocation); - 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; - }, - /*html$.KeyLocation.LEFT*/get LEFT() { - return 1; - }, - /*html$.KeyLocation.RIGHT*/get RIGHT() { - return 2; - }, - /*html$.KeyLocation.NUMPAD*/get NUMPAD() { - return 3; - }, - /*html$.KeyLocation.MOBILE*/get MOBILE() { - return 4; - }, - /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { - return 5; - } - }, false); - html$._KeyName = class _KeyName extends core.Object {}; - (html$._KeyName.new = function() { - ; - }).prototype = html$._KeyName.prototype; - dart.addTypeTests(html$._KeyName); - dart.addTypeCaches(html$._KeyName); - 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"; - }, - /*html$._KeyName.ADD*/get ADD() { - return "Add"; - }, - /*html$._KeyName.AGAIN*/get AGAIN() { - return "Again"; - }, - /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { - return "AllCandidates"; - }, - /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { - return "Alphanumeric"; - }, - /*html$._KeyName.ALT*/get ALT() { - return "Alt"; - }, - /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { - return "AltGraph"; - }, - /*html$._KeyName.APPS*/get APPS() { - return "Apps"; - }, - /*html$._KeyName.ATTN*/get ATTN() { - return "Attn"; - }, - /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { - return "BrowserBack"; - }, - /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { - return "BrowserFavorites"; - }, - /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { - return "BrowserForward"; - }, - /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { - return "BrowserHome"; - }, - /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { - return "BrowserRefresh"; - }, - /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { - return "BrowserSearch"; - }, - /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { - return "BrowserStop"; - }, - /*html$._KeyName.CAMERA*/get CAMERA() { - return "Camera"; - }, - /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { - return "CapsLock"; - }, - /*html$._KeyName.CLEAR*/get CLEAR() { - return "Clear"; - }, - /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { - return "CodeInput"; - }, - /*html$._KeyName.COMPOSE*/get COMPOSE() { - return "Compose"; - }, - /*html$._KeyName.CONTROL*/get CONTROL() { - return "Control"; - }, - /*html$._KeyName.CRSEL*/get CRSEL() { - return "Crsel"; - }, - /*html$._KeyName.CONVERT*/get CONVERT() { - return "Convert"; - }, - /*html$._KeyName.COPY*/get COPY() { - return "Copy"; - }, - /*html$._KeyName.CUT*/get CUT() { - return "Cut"; - }, - /*html$._KeyName.DECIMAL*/get DECIMAL() { - return "Decimal"; - }, - /*html$._KeyName.DIVIDE*/get DIVIDE() { - return "Divide"; - }, - /*html$._KeyName.DOWN*/get DOWN() { - return "Down"; - }, - /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { - return "DownLeft"; - }, - /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { - return "DownRight"; - }, - /*html$._KeyName.EJECT*/get EJECT() { - return "Eject"; - }, - /*html$._KeyName.END*/get END() { - return "End"; - }, - /*html$._KeyName.ENTER*/get ENTER() { - return "Enter"; - }, - /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { - return "EraseEof"; - }, - /*html$._KeyName.EXECUTE*/get EXECUTE() { - return "Execute"; - }, - /*html$._KeyName.EXSEL*/get EXSEL() { - return "Exsel"; - }, - /*html$._KeyName.FN*/get FN() { - return "Fn"; - }, - /*html$._KeyName.F1*/get F1() { - return "F1"; - }, - /*html$._KeyName.F2*/get F2() { - return "F2"; - }, - /*html$._KeyName.F3*/get F3() { - return "F3"; - }, - /*html$._KeyName.F4*/get F4() { - return "F4"; - }, - /*html$._KeyName.F5*/get F5() { - return "F5"; - }, - /*html$._KeyName.F6*/get F6() { - return "F6"; - }, - /*html$._KeyName.F7*/get F7() { - return "F7"; - }, - /*html$._KeyName.F8*/get F8() { - return "F8"; - }, - /*html$._KeyName.F9*/get F9() { - return "F9"; - }, - /*html$._KeyName.F10*/get F10() { - return "F10"; - }, - /*html$._KeyName.F11*/get F11() { - return "F11"; - }, - /*html$._KeyName.F12*/get F12() { - return "F12"; - }, - /*html$._KeyName.F13*/get F13() { - return "F13"; - }, - /*html$._KeyName.F14*/get F14() { - return "F14"; - }, - /*html$._KeyName.F15*/get F15() { - return "F15"; - }, - /*html$._KeyName.F16*/get F16() { - return "F16"; - }, - /*html$._KeyName.F17*/get F17() { - return "F17"; - }, - /*html$._KeyName.F18*/get F18() { - return "F18"; - }, - /*html$._KeyName.F19*/get F19() { - return "F19"; - }, - /*html$._KeyName.F20*/get F20() { - return "F20"; - }, - /*html$._KeyName.F21*/get F21() { - return "F21"; - }, - /*html$._KeyName.F22*/get F22() { - return "F22"; - }, - /*html$._KeyName.F23*/get F23() { - return "F23"; - }, - /*html$._KeyName.F24*/get F24() { - return "F24"; - }, - /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { - return "FinalMode"; - }, - /*html$._KeyName.FIND*/get FIND() { - return "Find"; - }, - /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { - return "FullWidth"; - }, - /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { - return "HalfWidth"; - }, - /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { - return "HangulMode"; - }, - /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { - return "HanjaMode"; - }, - /*html$._KeyName.HELP*/get HELP() { - return "Help"; - }, - /*html$._KeyName.HIRAGANA*/get HIRAGANA() { - return "Hiragana"; - }, - /*html$._KeyName.HOME*/get HOME() { - return "Home"; - }, - /*html$._KeyName.INSERT*/get INSERT() { - return "Insert"; - }, - /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { - return "JapaneseHiragana"; - }, - /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { - return "JapaneseKatakana"; - }, - /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { - return "JapaneseRomaji"; - }, - /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { - return "JunjaMode"; - }, - /*html$._KeyName.KANA_MODE*/get KANA_MODE() { - return "KanaMode"; - }, - /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { - return "KanjiMode"; - }, - /*html$._KeyName.KATAKANA*/get KATAKANA() { - return "Katakana"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { - return "LaunchApplication1"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { - return "LaunchApplication2"; - }, - /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { - return "LaunchMail"; - }, - /*html$._KeyName.LEFT*/get LEFT() { - return "Left"; - }, - /*html$._KeyName.MENU*/get MENU() { - return "Menu"; - }, - /*html$._KeyName.META*/get META() { - return "Meta"; - }, - /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { - return "MediaNextTrack"; - }, - /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { - return "MediaPlayPause"; - }, - /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { - return "MediaPreviousTrack"; - }, - /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { - return "MediaStop"; - }, - /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { - return "ModeChange"; - }, - /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { - return "NextCandidate"; - }, - /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { - return "Nonconvert"; - }, - /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { - return "NumLock"; - }, - /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { - return "PageDown"; - }, - /*html$._KeyName.PAGE_UP*/get PAGE_UP() { - return "PageUp"; - }, - /*html$._KeyName.PASTE*/get PASTE() { - return "Paste"; - }, - /*html$._KeyName.PAUSE*/get PAUSE() { - return "Pause"; - }, - /*html$._KeyName.PLAY*/get PLAY() { - return "Play"; - }, - /*html$._KeyName.POWER*/get POWER() { - return "Power"; - }, - /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { - return "PreviousCandidate"; - }, - /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { - return "PrintScreen"; - }, - /*html$._KeyName.PROCESS*/get PROCESS() { - return "Process"; - }, - /*html$._KeyName.PROPS*/get PROPS() { - return "Props"; - }, - /*html$._KeyName.RIGHT*/get RIGHT() { - return "Right"; - }, - /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { - return "RomanCharacters"; - }, - /*html$._KeyName.SCROLL*/get SCROLL() { - return "Scroll"; - }, - /*html$._KeyName.SELECT*/get SELECT() { - return "Select"; - }, - /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { - return "SelectMedia"; - }, - /*html$._KeyName.SEPARATOR*/get SEPARATOR() { - return "Separator"; - }, - /*html$._KeyName.SHIFT*/get SHIFT() { - return "Shift"; - }, - /*html$._KeyName.SOFT_1*/get SOFT_1() { - return "Soft1"; - }, - /*html$._KeyName.SOFT_2*/get SOFT_2() { - return "Soft2"; - }, - /*html$._KeyName.SOFT_3*/get SOFT_3() { - return "Soft3"; - }, - /*html$._KeyName.SOFT_4*/get SOFT_4() { - return "Soft4"; - }, - /*html$._KeyName.STOP*/get STOP() { - return "Stop"; - }, - /*html$._KeyName.SUBTRACT*/get SUBTRACT() { - return "Subtract"; - }, - /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { - return "SymbolLock"; - }, - /*html$._KeyName.UP*/get UP() { - return "Up"; - }, - /*html$._KeyName.UP_LEFT*/get UP_LEFT() { - return "UpLeft"; - }, - /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { - return "UpRight"; - }, - /*html$._KeyName.UNDO*/get UNDO() { - return "Undo"; - }, - /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { - return "VolumeDown"; - }, - /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { - return "VolumeMute"; - }, - /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { - return "VolumeUp"; - }, - /*html$._KeyName.WIN*/get WIN() { - return "Win"; - }, - /*html$._KeyName.ZOOM*/get ZOOM() { - return "Zoom"; - }, - /*html$._KeyName.BACKSPACE*/get BACKSPACE() { - return "Backspace"; - }, - /*html$._KeyName.TAB*/get TAB() { - return "Tab"; - }, - /*html$._KeyName.CANCEL*/get CANCEL() { - return "Cancel"; - }, - /*html$._KeyName.ESC*/get ESC() { - return "Esc"; - }, - /*html$._KeyName.SPACEBAR*/get SPACEBAR() { - return "Spacebar"; - }, - /*html$._KeyName.DEL*/get DEL() { - return "Del"; - }, - /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { - return "DeadGrave"; - }, - /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { - return "DeadEacute"; - }, - /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { - return "DeadCircumflex"; - }, - /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { - return "DeadTilde"; - }, - /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { - return "DeadMacron"; - }, - /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { - return "DeadBreve"; - }, - /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { - return "DeadAboveDot"; - }, - /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { - return "DeadUmlaut"; - }, - /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { - return "DeadAboveRing"; - }, - /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { - return "DeadDoubleacute"; - }, - /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { - return "DeadCaron"; - }, - /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { - return "DeadCedilla"; - }, - /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { - return "DeadOgonek"; - }, - /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { - return "DeadIota"; - }, - /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { - return "DeadVoicedSound"; - }, - /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { - return "DeadSemivoicedSound"; - }, - /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { - return "Unidentified"; - } - }, false); - 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[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[149], 39044, 29, "element"); - return element.keyCode === 20; - }, T$0.KeyEventTobool())); - } - [S$3._determineKeyCodeForKeypress](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; - } - if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { - return prevEvent.keyCode; - } - } - return -1; - } - [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); - if (event.location === 3) { - switch (event.keyCode) { - case 96: - { - return 48; - } - case 97: - { - return 49; - } - case 98: - { - return 50; - } - case 99: - { - return 51; - } - case 100: - { - return 52; - } - case 101: - { - return 53; - } - case 102: - { - return 54; - } - case 103: - { - return 55; - } - case 104: - { - return 56; - } - case 105: - { - return 57; - } - case 106: - { - return 42; - } - case 107: - { - return 43; - } - case 109: - { - return 45; - } - case 110: - { - return 46; - } - case 111: - { - 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; - } - case 187: - { - return 61; - } - case 188: - { - return 44; - } - case 189: - { - return 45; - } - case 190: - { - return 46; - } - case 191: - { - return 47; - } - case 192: - { - return 96; - } - case 219: - { - return 91; - } - case 220: - { - return 92; - } - case 221: - { - return 93; - } - case 222: - { - return 39; - } - } - return event.keyCode; - } - [S$3._firesKeyPressEvent](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; - } - if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { - return html$.KeyCode.isCharacterKey(event.keyCode); - } - if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { - return false; - } - if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { - return false; - } - if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { - return false; - } - switch (event.keyCode) { - case 13: - { - return !dart.test(html_common.Device.isIE); - } - case 27: - { - return !dart.test(html_common.Device.isWebKit); - } - } - return html$.KeyCode.isCharacterKey(event.keyCode); - } - [S$3._normalizeKeyCodes](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; - } - case 59: - { - return 186; - } - case 224: - { - return 91; - } - case 0: - { - return 224; - } - } - } - return event.keyCode; - } - processKeyDown(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](); - } - let event = new html$.KeyEvent.wrap(e); - event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); - event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); - if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { - this.processKeyPress(e); - } - this[S$3._keyDownList][$add](event); - this[S$3._stream$3].add(event); - } - processKeyPress(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) { - e[S$3._shadowCharCode] = 0; - } else { - e[S$3._shadowCharCode] = e.keyCode; - } - } else if (dart.test(html_common.Device.isOpera)) { - e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; - } - e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); - if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { - 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[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[149], 39288, 35, "event"); - let e = new html$.KeyEvent.wrap(event); - let toRemove = null; - for (let key of this[S$3._keyDownList]) { - if (key.keyCode == e.keyCode) { - toRemove = key; - } - } - if (toRemove != null) { - this[S$3._keyDownList][$removeWhere](dart.fn(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) { - this[S$3._keyDownList][$removeLast](); - } - this[S$3._stream$3].add(e); - } - }; - (html$._KeyboardEventHandler.new = function(_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"); - this[S$3._target$2] = null; - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - ; - }).prototype = html$._KeyboardEventHandler.prototype; - (html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - 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; - this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); - html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); - html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); - }).prototype = html$._KeyboardEventHandler.prototype; - dart.addTypeTests(html$._KeyboardEventHandler); - dart.addTypeCaches(html$._KeyboardEventHandler); - dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), - forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), - [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), - processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) - })); - dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), - [S$3._capsLockOn]: core.bool - })); - 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)), - [S$3._type$5]: dart.finalFieldType(core.String), - [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)); - }, - /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { - return "KeyEvent"; - }, - /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[414] || CT.C414; - } - }, false); - html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { - static onKeyPress(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[149], 39329, 53, "target"); - return new html$._KeyboardEventHandler.new("keyup").forTarget(target); - } - static onKeyDown(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.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(); - } - this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); - } - allowImages(uriPolicy = null) { - if (uriPolicy == null) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); - } - allowTextElements() { - this.add(html$._SimpleNodeValidator.allowTextElements()); - } - allowInlineStyles(opts) { - let tagName = opts && 'tagName' in opts ? opts.tagName : null; - if (tagName == null) { - tagName = "*"; - } else { - tagName = tagName[$toUpperCase](); - } - this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); - } - allowHtml5(opts) { - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); - } - allowSvg() { - this.add(new html$._SvgNodeValidator.new()); - } - allowCustomElement(tagName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); - } - allowTagExtension(tagName, baseName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - 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[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; - this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); - } - allowTemplating() { - this.add(new html$._TemplatingNodeValidator.new()); - } - add(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[149], 39558, 30, "element"); - return this[S$3._validators][$any](dart.fn(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[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[149], 39564, 15, "v"); - return v.allowsAttribute(element, attributeName, value); - }, T$0.NodeValidatorTobool())); - } - }; - (html$.NodeValidatorBuilder.new = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); - }).prototype = html$.NodeValidatorBuilder.prototype; - (html$.NodeValidatorBuilder.common = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); - this.allowHtml5(); - this.allowTemplating(); - }).prototype = html$.NodeValidatorBuilder.prototype; - dart.addTypeTests(html$.NodeValidatorBuilder); - dart.addTypeCaches(html$.NodeValidatorBuilder); - html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; - dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ - __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), - allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowTextElements: dart.fnType(dart.void, []), - allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), - allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowSvg: dart.fnType(dart.void, []), - allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTemplating: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [html$.NodeValidator]), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) - })); - 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[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[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[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[149], 39662, 30, "element"); - return this.allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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); - } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { - return dart.nullCheck(this.uriPolicy).allowsUri(value); - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::*"))) { - return true; - } - return false; - } - }; - (html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - 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; - this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); - this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.uriPolicy = uriPolicy; - 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[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[149], 39656, 17, "x"); - return html$._Html5NodeValidator._uriAttributes[$contains](x); - }, T$.StringTobool())); - this.allowedAttributes.addAll(legalAttributes); - this.allowedUriAttributes.addAll(allowedUriAttributes); - this.allowedUriAttributes.addAll(extraUriAttributes); - }).prototype = html$._SimpleNodeValidator.prototype; - dart.addTypeTests(html$._SimpleNodeValidator); - dart.addTypeCaches(html$._SimpleNodeValidator); - html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; - dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) - })); - 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)), - allowedAttributes: dart.finalFieldType(core.Set$(core.String)), - allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), - 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[149], 39703, 30, "element"); - if (dart.test(this.allowTypeExtension)) { - let isAttr = element[S.$attributes][$_get]("is"); - if (isAttr != null) { - return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - } - return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - allowsAttribute(element, attributeName, 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; - } - return super.allowsAttribute(element, attributeName, value); - } - return false; - } - }; - (html$._CustomElementNodeValidator.new = function(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"); - this.allowTypeExtension = allowTypeExtension === true; - this.allowCustomTag = allowCustomTag === true; - html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); - ; - }).prototype = html$._CustomElementNodeValidator.prototype; - dart.addTypeTests(html$._CustomElementNodeValidator); - dart.addTypeCaches(html$._CustomElementNodeValidator); - 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[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; - } - if (attributeName === "template" && value === "") { - return true; - } - if (element[S.$attributes][$_get]("template") === "") { - return this[S$3._templateAttrs].contains(attributeName); - } - return false; - } - }; - (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[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[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[423] || CT.C423; - } - }, false); - html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { - allowsElement(element) { - if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); - if (svg$.ScriptElement.is(element)) { - return false; - } - if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { - return false; - } - if (svg$.SvgElement.is(element)) { - return true; - } - return false; - } - allowsAttribute(element, attributeName, 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() { - ; - }).prototype = html$._SvgNodeValidator.prototype; - dart.addTypeTests(html$._SvgNodeValidator); - dart.addTypeCaches(html$._SvgNodeValidator); - html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; - dart.setMethodSignature(html$._SvgNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) - })); - 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[150]); - dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); - dart.defineLazy(html$.ReadyState, { - /*html$.ReadyState.LOADING*/get LOADING() { - return "loading"; - }, - /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { - return "interactive"; - }, - /*html$.ReadyState.COMPLETE*/get COMPLETE() { - return "complete"; - } - }, false); - const _is__WrappedList_default = Symbol('_is__WrappedList_default'); - html$._WrappedList$ = dart.generic(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 (__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[149], 39834, 14, "element"); - this[S$3._list$19][$add](element); - } - remove(element) { - return this[S$3._list$19][$remove](element); - } - clear() { - this[S$3._list$19][$clear](); - } - _get(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[149], 39848, 25, "index"); - E.as(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[149], 39852, 18, "newLength"); - this[S$3._list$19][$length] = newLength; - } - sort(compare = null) { - if (compare == null) { - this[S$3._list$19][$sort](); - } else { - this[S$3._list$19][$sort](dart.fn((a, 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[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[149], 39870, 19, "index"); - E.as(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[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[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[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[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[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() { - return this[S$3._list$19]; - } - } - (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); - this[S$3._list$19] = _list; - ; - }).prototype = _WrappedList.prototype; - dart.addTypeTests(_WrappedList); - _WrappedList.prototype[_is__WrappedList_default] = true; - dart.addTypeCaches(_WrappedList); - _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(_WrappedList, () => ({ - __proto__: dart.getMethods(_WrappedList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_WrappedList, () => ({ - __proto__: dart.getGetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(_WrappedList, () => ({ - __proto__: dart.getSetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_WrappedList, I[150]); - dart.setFieldSignature(_WrappedList, () => ({ - __proto__: dart.getFields(_WrappedList.__proto__), - [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_WrappedList, [ - 'add', - 'remove', - 'clear', - '_get', - '_set', - 'sort', - 'indexOf', - 'lastIndexOf', - 'insert', - 'removeAt', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); - return _WrappedList; - }); - html$._WrappedList = html$._WrappedList$(); - 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$2].moveNext(); - } - get current() { - return E.as(this[S$3._iterator$2].current); - } - } - (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); - this[S$3._iterator$2] = _iterator; - ; - }).prototype = _WrappedIterator.prototype; - dart.addTypeTests(_WrappedIterator); - _WrappedIterator.prototype[_is__WrappedIterator_default] = true; - dart.addTypeCaches(_WrappedIterator); - _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_WrappedIterator, () => ({ - __proto__: dart.getMethods(_WrappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_WrappedIterator, () => ({ - __proto__: dart.getGetters(_WrappedIterator.__proto__), - current: E - })); - dart.setLibraryUri(_WrappedIterator, I[150]); - dart.setFieldSignature(_WrappedIterator, () => ({ - __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) - })); - return _WrappedIterator; - }); - 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[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[149], 39920, 40, "e"); - if (request.readyState === 4) { - onComplete(request); - } - }, T$0.EventTovoid())); - 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.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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (FixedSizeListIterator.new = function(array) { - 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]; - ; - }).prototype = FixedSizeListIterator.prototype; - dart.addTypeTests(FixedSizeListIterator); - FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; - dart.addTypeCaches(FixedSizeListIterator); - FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getMethods(FixedSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getGetters(FixedSizeListIterator.__proto__), - current: T - })); - 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$5]: dart.fieldType(dart.nullable(T)) - })); - return FixedSizeListIterator; - }); - html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); - 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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (_VariableSizeListIterator.new = function(array) { - 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; - ; - }).prototype = _VariableSizeListIterator.prototype; - dart.addTypeTests(_VariableSizeListIterator); - _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; - dart.addTypeCaches(_VariableSizeListIterator); - _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), - current: T - })); - 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$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"; - } - get memory() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; - } - assertCondition(condition = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; - } - clear(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; - } - count(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; - } - countReset(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; - } - debug(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; - } - dir(item = null, options = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; - } - dirxml(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; - } - error(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; - } - group(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; - } - groupCollapsed(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; - } - groupEnd() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; - } - info(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; - } - log(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; - } - table(tabularData = null, properties = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; - } - time(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; - } - timeEnd(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; - } - timeLog(label = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; - } - trace(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; - } - warn(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; - } - profile(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; - } - profileEnd(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; - } - timeStamp(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; - } - markTimeline(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; - } - }; - (html$.Console._safe = function() { - ; - }).prototype = html$.Console.prototype; - dart.addTypeTests(html$.Console); - dart.addTypeCaches(html$.Console); - dart.setMethodSignature(html$.Console, () => ({ - __proto__: dart.getMethods(html$.Console.__proto__), - assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), - dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), - dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), - error: dart.fnType(dart.void, [dart.nullable(core.Object)]), - group: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupEnd: dart.fnType(dart.void, []), - info: dart.fnType(dart.void, [dart.nullable(core.Object)]), - log: dart.fnType(dart.void, [dart.nullable(core.Object)]), - table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), - time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), - trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), - warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), - profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(html$.Console, () => ({ - __proto__: dart.getGetters(html$.Console.__proto__), - [S$3._isConsoleDefined]: core.bool, - memory: dart.nullable(html$.MemoryInfo) - })); - dart.setLibraryUri(html$.Console, I[150]); - dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); - dart.defineLazy(html$.Console, { - /*html$.Console._safeConsole*/get _safeConsole() { - 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[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]))); - } - } - _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); - this[S$3._constructor](element); - return element; - } - }; - (html$._JSElementUpgrader.new = function(document, type, extendsTag) { - 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; - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (this[S$3._constructor] == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTag == null) { - if (!dart.equals(baseClassName, "HTMLElement")) { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); - } else { - let element = document[S.$createElement](extendsTag); - html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); - this[S$3._nativeType] = dart.runtimeType(element); - } - this[S$3._interceptor] = interceptorClass.prototype; - }).prototype = html$._JSElementUpgrader.prototype; - dart.addTypeTests(html$._JSElementUpgrader); - dart.addTypeCaches(html$._JSElementUpgrader); - html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; - dart.setMethodSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), - upgrade: dart.fnType(html$.Element, [html$.Element]) - })); - dart.setLibraryUri(html$._JSElementUpgrader, I[150]); - dart.setFieldSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), - [S$3._interceptor]: dart.fieldType(dart.dynamic), - [S$3._constructor]: dart.fieldType(dart.dynamic), - [S$3._nativeType]: dart.fieldType(dart.dynamic) - })); - html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { - get history() { - return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); - } - get location() { - return html$._LocationCrossFrame._createSafe(this[S$3._window].location); - } - get closed() { - return this[S$3._window].closed; - } - get opener() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); - } - get parent() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); - } - get top() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); - } - close() { - return this[S$3._window].close(); - } - postMessage(message, targetOrigin, messagePorts = null) { - 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); - } else { - _js_helper.registerGlobalObject(w); - return new html$._DOMWindowCrossFrame.new(w); - } - } - get on() { - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } - [S._addEventListener](type, listener, useCapture = null) { - 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[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[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[149], 40431, 35, "type"); - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } - }; - (html$._DOMWindowCrossFrame.new = function(_window) { - this[S$3._window] = _window; - ; - }).prototype = html$._DOMWindowCrossFrame.prototype; - dart.addTypeTests(html$._DOMWindowCrossFrame); - dart.addTypeCaches(html$._DOMWindowCrossFrame); - html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; - dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), - close: dart.fnType(dart.void, []), - [S.$close]: dart.fnType(dart.void, []), - postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - dispatchEvent: dart.fnType(core.bool, [html$.Event]), - [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), - [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - 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, - [S$3.$history]: html$.HistoryBase, - location: html$.LocationBase, - [S$0.$location]: html$.LocationBase, - closed: core.bool, - [S$1.$closed]: core.bool, - opener: html$.WindowBase, - [S$3.$opener]: html$.WindowBase, - parent: html$.WindowBase, - [S.$parent]: html$.WindowBase, - top: html$.WindowBase, - [$top]: html$.WindowBase, - on: html$.Events, - [S.$on]: html$.Events - })); - dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); - dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), - [S$3._window]: dart.finalFieldType(dart.dynamic) - })); - dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ - 'close', - 'postMessage', - 'addEventListener', - 'dispatchEvent', - 'removeEventListener' - ]); - dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ - 'history', - 'location', - 'closed', - 'opener', - 'parent', - 'top', - 'on' - ]); - html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { - set href(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); - } else { - return new html$._LocationCrossFrame.new(location); - } - } - }; - (html$._LocationCrossFrame.new = function(_location) { - this[S$3._location] = _location; - ; - }).prototype = html$._LocationCrossFrame.prototype; - 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[150]); - dart.setFieldSignature(html$._LocationCrossFrame, () => ({ - __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), - [S$3._location]: dart.fieldType(dart.dynamic) - })); - dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); - html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { - back() { - return this[S$3._history].back(); - } - forward() { - return this[S$3._history].forward(); - } - go(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); - } else { - return new html$._HistoryCrossFrame.new(h); - } - } - }; - (html$._HistoryCrossFrame.new = function(_history) { - this[S$3._history] = _history; - ; - }).prototype = html$._HistoryCrossFrame.prototype; - dart.addTypeTests(html$._HistoryCrossFrame); - dart.addTypeCaches(html$._HistoryCrossFrame); - html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; - dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ - __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), - back: dart.fnType(dart.void, []), - [S$1.$back]: dart.fnType(dart.void, []), - forward: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - go: dart.fnType(dart.void, [core.int]), - [S$1.$go]: dart.fnType(dart.void, [core.int]) - })); - 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 { - 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[150]); - dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); - dart.defineLazy(html$.Platform, { - /*html$.Platform.supportsTypedData*/get supportsTypedData() { - return !!window.ArrayBuffer; - }, - /*html$.Platform.supportsSimd*/get supportsSimd() { - return false; - } - }, false); - html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; - (html$.ElementUpgrader.new = function() { - ; - }).prototype = html$.ElementUpgrader.prototype; - dart.addTypeTests(html$.ElementUpgrader); - dart.addTypeCaches(html$.ElementUpgrader); - 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[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.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[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.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[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[149], 40983, 21, "node"); - } - }; - (html$._TrustedHtmlTreeSanitizer.new = function() { - ; - }).prototype = html$._TrustedHtmlTreeSanitizer.prototype; - dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); - dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); - html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; - dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]) - })); - 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.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[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(); - this[S$3._loc] = html$.window[S$0.$location]; - ; - }).prototype = html$._SameOriginUriPolicy.prototype; - dart.addTypeTests(html$._SameOriginUriPolicy); - dart.addTypeCaches(html$._SameOriginUriPolicy); - html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; - dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ - __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), - allowsUri: dart.fnType(core.bool, [core.String]) - })); - 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[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[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) + "\"]")); - } - return true; - } - }; - (html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); - this.validator = validator; - }).prototype = html$._ThrowsNodeValidator.prototype; - dart.addTypeTests(html$._ThrowsNodeValidator); - dart.addTypeCaches(html$._ThrowsNodeValidator); - html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; - dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ - __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) - })); - 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[149], 41063, 26, "node"); - const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); - this.sanitizeNode(node, parent); - let child = node.lastChild; - while (child != null) { - let nextChild = null; - try { - nextChild = child[S$.$previousNode]; - if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { - dart.throw(new core.StateError.new("Corrupt HTML")); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[S$3._removeNode](child, node); - child = null; - nextChild = node.lastChild; - } else - throw e$; - } - if (child != null) walk(child, node); - child = nextChild; - } - }; - dart.fn(walk, T$0.NodeAndNodeNTovoid()); - let previousTreeModifications = null; - do { - previousTreeModifications = this.numTreeModifications; - walk(node, null); - } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); - } - [S$3._removeNode](node, parent) { - 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](); - } else { - parent[S$._removeChild](node); - } - } - [S$3._sanitizeUntrustedElement](element, parent) { - let corrupted = true; - let attrs = null; - let isAttr = null; - try { - attrs = dart.dload(element, 'attributes'); - isAttr = dart.dsend(attrs, '_get', ["is"]); - let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); - corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - let elementText = "element unprintable"; - try { - elementText = dart.toString(element); - } catch (e$0) { - let e = dart.getThrown(e$0); - if (core.Object.is(e)) { - } else - throw e$0; - } - try { - 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); - if (core.ArgumentError.is(ex)) { - dart.rethrow(e$1); - } else if (core.Object.is(ex)) { - let e = ex; - this[S$3._removeNode](html$.Node.as(element), parent); - html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); - } else - throw e$1; - } - } - [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - 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) + ">"); - return; - } - if (!dart.test(this.validator.allowsElement(element))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); - return; - } - if (isAttr != null) { - if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); - return; - } - } - let keys = attrs[$keys][$toList](); - for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { - let name = keys[$_get](i); - if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { - html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); - attrs[$remove](name); - } - } - if (html$.TemplateElement.is(element)) { - let template = element; - this.sanitizeTree(dart.nullCheck(template.content)); - } - } - sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); - switch (node.nodeType) { - case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } - case 8: - case 11: - case 3: - case 4: - { - break; - } - default: - { - this[S$3._removeNode](node, parent); - } - } - } - }; - (html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); - this.numTreeModifications = 0; - this.validator = validator; - }).prototype = html$._ValidatingTreeSanitizer.prototype; - dart.addTypeTests(html$._ValidatingTreeSanitizer); - dart.addTypeCaches(html$._ValidatingTreeSanitizer); - html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; - dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]), - [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), - [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), - [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[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[426] || CT.C426); - }; - html$._matchesWithAncestors = function _matchesWithAncestors(event, 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; - }; - html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { - if (win == null) return null; - return html$._DOMWindowCrossFrame._createSafe(win); - }; - html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { - if (e == null) { - return null; - } - if ("postMessage" in e) { - let window = html$._DOMWindowCrossFrame._createSafe(e); - if (html$.EventTarget.is(window)) { - return window; - } - return null; - } else - return T$0.EventTargetN().as(e); - }; - html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { - if (html$._DOMWindowCrossFrame.is(e)) { - return T$0.EventTargetN().as(e[S$3._window]); - } else { - return T$0.EventTargetN().as(e); - } - }; - html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { - if (html$.Document.is(o)) { - return o; - } - return html_common.convertNativeToDart_SerializedScriptValue(o); - }; - html$._callConstructor = function _callConstructor(constructor, interceptor) { - return dart.fn(receiver => { - _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); - receiver.constructor = receiver.__proto__.constructor; - return constructor(receiver); - }, T$.dynamicToObjectN()); - }; - html$._callAttached = function _callAttached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); - return receiver[S.$attached](); - }; - html$._callDetached = function _callDetached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); - return receiver[S.$detached](); - }; - html$._callAttributeChanged = function _callAttributeChanged(receiver, 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) { - return function() { - return invokeCallback(this); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); - }; - html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { - return (function(invokeCallback) { - return function(arg1, arg2, arg3) { - return invokeCallback(this, arg1, arg2, arg3); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); - }; - html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, 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 (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) { - extendsTagName = T$.StringN().as(options[$_get]("extends")); - type = T$0.TypeN().as(options[$_get]("prototype")); - } - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - let interceptor = interceptorClass.prototype; - let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (constructor == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTagName == null) { - if (baseClassName !== "HTMLElement") { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - } else { - let element = document[S.$createElement](extendsTagName); - html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); - } - let baseConstructor = context[baseClassName]; - let properties = {}; - properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; - properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; - properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; - properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; - let baseProto = baseConstructor.prototype; - let proto = Object.create(baseProto, properties); - _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); - let opts = {prototype: proto}; - if (extendsTagName != null) { - opts.extends = extendsTagName; - } - return document.registerElement(tag, opts); - }; - html$._initializeCustomElement = function _initializeCustomElement(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; - if (callback == null) return null; - return async.Zone.current.bindUnaryCallbackGuarded(T, callback); - }; - html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { - if (dart.equals(async.Zone.current, async.Zone.root)) return callback; - if (callback == null) return null; - return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); - }; - html$.querySelector = function querySelector(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[149], 40890, 59, "selectors"); - return html$.document[S.$querySelectorAll](T, selectors); - }; - dart.copyProperties(html$, { - get window() { - return window; - }, - get document() { - return document; - }, - get _workerSelf() { - return self; - } - }); - dart.defineLazy(html$, { - /*html$._HEIGHT*/get _HEIGHT() { - return T$.JSArrayOfString().of(["top", "bottom"]); - }, - /*html$._WIDTH*/get _WIDTH() { - return T$.JSArrayOfString().of(["right", "left"]); - }, - /*html$._CONTENT*/get _CONTENT() { - return "content"; - }, - /*html$._PADDING*/get _PADDING() { - return "padding"; - }, - /*html$._MARGIN*/get _MARGIN() { - return "margin"; - } - }, false); - html_common._StructuredClone = class _StructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (core.identical(this.values[$_get](i), value)) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 73, 17, "i"); - this.copies[$_set](i, x); - } - cleanupSlots() { - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (core.DateTime.is(e)) { - return html_common.convertDartToNative_DateTime(e); - } - if (core.RegExp.is(e)) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (html$.File.is(e)) return e; - if (html$.Blob.is(e)) return e; - if (html$.FileList.is(e)) return e; - if (html$.ImageData.is(e)) return e; - if (dart.test(this.cloneNotRequired(e))) return e; - if (core.Map.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsMap(); - this.writeSlot(slot, copy); - e[$forEach](dart.fn((key, value) => { - this.putIntoMap(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicTovoid())); - return copy; - } - if (core.List.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.copyList(e, slot); - return copy; - } - if (_interceptors.JSObject.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsObject(); - this.writeSlot(slot, copy); - this.forEachObjectKey(e, dart.fn((key, value) => { - this.putIntoObject(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicToNull())); - return copy; - } - dart.throw(new core.UnimplementedError.new("structured clone of other type")); - } - copyList(e, 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); - this.writeSlot(slot, copy); - for (; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(e[$_get](i))); - } - return copy; - } - convertDartToNative_PrepareForStructuredClone(value) { - let copy = this.walk(value); - this.cleanupSlots(); - return copy; - } - }; - (html_common._StructuredClone.new = function() { - this.values = []; - this.copies = []; - ; - }).prototype = html_common._StructuredClone.prototype; - dart.addTypeTests(html_common._StructuredClone); - dart.addTypeCaches(html_common._StructuredClone); - dart.setMethodSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getMethods(html_common._StructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - cleanupSlots: dart.fnType(dart.dynamic, []), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - copyList: dart.fnType(core.List, [core.List, core.int]), - convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) - })); - dart.setLibraryUri(html_common._StructuredClone, I[152]); - dart.setFieldSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getFields(html_common._StructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List) - })); - html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 212, 17, "i"); - this.copies[$_set](i, x); - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (dart.test(html_common.isJavaScriptDate(e))) { - return html_common.convertNativeToDart_DateTime(e); - } - if (dart.test(html_common.isJavaScriptRegExp(e))) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (dart.test(html_common.isJavaScriptPromise(e))) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); - } - if (dart.test(html_common.isJavaScriptSimpleObject(e))) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let map = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, map); - this.forEachJsField(e, dart.fn((key, value) => { - let t229, t228, t227; - t227 = map; - t228 = key; - t229 = this.walk(value); - t227[$_set](t228, t229); - return t229; - }, T$0.dynamicAnddynamicTodynamic())); - return map; - } - if (dart.test(html_common.isJavaScriptArray(e))) { - let l = e; - let slot = this.findSlot(l); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let length = l[$length]; - copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; - this.writeSlot(slot, copy); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(l[$_get](i))); - } - return copy; - } - return e; - } - convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - this.mustCopy = core.bool.as(mustCopy); - let copy = this.walk(object); - return copy; - } - }; - (html_common._AcceptStructuredClone.new = function() { - this.values = []; - this.copies = []; - this.mustCopy = false; - ; - }).prototype = html_common._AcceptStructuredClone.prototype; - dart.addTypeTests(html_common._AcceptStructuredClone); - dart.addTypeCaches(html_common._AcceptStructuredClone); - dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) - })); - dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); - dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List), - mustCopy: dart.fieldType(core.bool) - })); - html_common.ContextAttributes = class ContextAttributes extends core.Object { - get alpha() { - 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[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; - this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; - this[S$3.premultipliedAlpha] = premultipliedAlpha; - this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; - this[S$3.stencil] = stencil; - ; - }).prototype = html_common.ContextAttributes.prototype; - dart.addTypeTests(html_common.ContextAttributes); - dart.addTypeCaches(html_common.ContextAttributes); - dart.setLibraryUri(html_common.ContextAttributes, I[152]); - dart.setFieldSignature(html_common.ContextAttributes, () => ({ - __proto__: dart.getFields(html_common.ContextAttributes.__proto__), - alpha: dart.fieldType(core.bool), - antialias: dart.fieldType(core.bool), - depth: dart.fieldType(core.bool), - premultipliedAlpha: dart.fieldType(core.bool), - preserveDrawingBuffer: dart.fieldType(core.bool), - stencil: dart.fieldType(core.bool), - failIfMajorPerformanceCaveat: dart.fieldType(core.bool) - })); - html_common._TypedImageData = class _TypedImageData extends core.Object { - get data() { - return this[S$3.data$2]; - } - set data(value) { - super.data = value; - } - get height() { - return this[S$3.height$1]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$3.width$1]; - } - 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[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; - ; - }).prototype = html_common._TypedImageData.prototype; - dart.addTypeTests(html_common._TypedImageData); - dart.addTypeCaches(html_common._TypedImageData); - html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; - 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), - height: dart.finalFieldType(core.int), - width: dart.finalFieldType(core.int) - })); - dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); - html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { - newJsObject() { - return {}; - } - forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[154], 103, 33, "action"); - for (let key of Object.keys(object)) { - action(key, object[key]); - } - } - putIntoObject(object, key, value) { - return object[key] = value; - } - newJsMap() { - return {}; - } - putIntoMap(map, key, value) { - return map[key] = value; - } - newJsList(length) { - return new Array(length); - } - cloneNotRequired(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() { - html_common._StructuredCloneDart2Js.__proto__.new.call(this); - ; - }).prototype = html_common._StructuredCloneDart2Js.prototype; - dart.addTypeTests(html_common._StructuredCloneDart2Js); - dart.addTypeCaches(html_common._StructuredCloneDart2Js); - dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), - newJsObject: dart.fnType(_interceptors.JSObject, []), - forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), - putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsMap: dart.fnType(dart.dynamic, []), - putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsList: dart.fnType(core.List, [dart.dynamic]), - cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) - })); - dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); - html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { - newJsList(length) { - return new Array(length); - } - newDartList(length) { - return this.newJsList(length); - } - identicalInJs(a, b) { - return core.identical(a, b); - } - forEachJsField(object, 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); - ; - }).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; - dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); - dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); - dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), - newJsList: dart.fnType(core.List, [dart.dynamic]), - newDartList: dart.fnType(core.List, [dart.dynamic]), - 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[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[155], 52, 43, "eventType"); - try { - let e = html$.Event.eventType(eventType, ""); - return html$.Event.is(e); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - 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.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); - }, - /*html_common.Device.isIE*/get isIE() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); - }, - /*html_common.Device.isFirefox*/get isFirefox() { - return html_common.Device.userAgent[$contains]("Firefox", 0); - }, - /*html_common.Device.isWebKit*/get isWebKit() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); - }, - /*html_common.Device.cssPrefix*/get cssPrefix() { - return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; - }, - /*html_common.Device.propertyPrefix*/get propertyPrefix() { - return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; - } - }, 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[156], 30, 26, "n"); - return html$.Element.is(n); - }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[156], 30, 60, "n"); - return html$.Element.as(n); - }, T$0.NodeToElement())); - } - get [S$3._filtered]() { - return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); - } - forEach(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[156], 40, 25, "index"); - html$.Element.as(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[156], 44, 18, "newLength"); - let len = this.length; - if (dart.notNull(newLength) >= dart.notNull(len)) { - return; - } else if (dart.notNull(newLength) < 0) { - dart.throw(new core.ArgumentError.new("Invalid list length")); - } - this.removeRange(newLength, len); - } - add(value) { - html$.Element.as(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[156], 59, 33, "iterable"); - for (let element of iterable) { - this.add(element); - } - } - contains(needle) { - if (!html$.Element.is(needle)) return false; - let element = needle; - return dart.equals(element.parentNode, this[S$3._node]); - } - get reversed() { - return this[S$3._filtered][$reversed]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[156], 86, 59, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); - } - removeRange(start, end) { - 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](); - } - removeLast() { - let result = this[S$3._iterable$2][$last]; - if (result != null) { - result[$remove](); - } - return result; - } - insert(index, value) { - if (index == null) dart.nullFailed(I[156], 109, 19, "index"); - html$.Element.as(value); - if (value == null) dart.nullFailed(I[156], 109, 34, "value"); - if (index == this.length) { - this.add(value); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode).insertBefore(value, element); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[156], 118, 22, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); - } - } - removeAt(index) { - if (index == null) dart.nullFailed(I[156], 127, 24, "index"); - let result = this._get(index); - result[$remove](); - return result; - } - remove(element) { - if (!html$.Element.is(element)) return false; - if (dart.test(this.contains(element))) { - element[$remove](); - return true; - } else { - return false; - } - } - get length() { - return this[S$3._iterable$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[156], 144, 27, "index"); - return this[S$3._iterable$2][$elementAt](index); - } - get iterator() { - return this[S$3._filtered][$iterator]; - } - get rawList() { - return this[S$3._node].childNodes; - } - }; - (html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[156], 23, 28, "node"); - this[S$3._childNodes] = node[S.$nodes]; - this[S$3._node] = node; - ; - }).prototype = html_common.FilteredElementList.prototype; - dart.addTypeTests(html_common.FilteredElementList); - dart.addTypeCaches(html_common.FilteredElementList); - html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]) - })); - dart.setGetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), - [S$3._iterable$2]: core.Iterable$(html$.Element), - [S$3._filtered]: core.List$(html$.Element), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), - length: core.int, - [$length]: core.int - })); - 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), - [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(html_common.FilteredElementList, [ - 'forEach', - '_set', - 'add', - 'addAll', - 'contains', - 'sort', - 'setRange', - 'fillRange', - 'replaceRange', - 'removeRange', - 'clear', - 'removeLast', - 'insert', - 'insertAll', - 'removeAt', - 'remove', - '_get' - ]); - 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[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; - } - if (dart.notNull(startIndex) < 0) { - startIndex = 0; - } - for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static lastIndexOf(a, element, 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; - } - if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { - startIndex = dart.notNull(a[$length]) - 1; - } - for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static getRange(a, start, end, 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)); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - accumulator[$add](a[$_get](i)); - } - 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.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[152]); - html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { - return html_common.convertDartToNative_PrepareForStructuredClone(value); - }; - html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); - }; - html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { - return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); - }; - html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { - 0; - if (html$.ImageData.is(nativeImageData)) { - let data = nativeImageData.data; - if (data.constructor === Array) { - if (typeof CanvasPixelArray !== "undefined") { - data.constructor = CanvasPixelArray; - data.BYTES_PER_ELEMENT = 1; - } - } - return nativeImageData; - } - 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[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](key, html_common._convertNativeToDart_Value(object[key])); - } - return dict; - }; - html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { - if (value == null) return value; - if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; - if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); - if (core.List.is(value)) { - let array = []; - value[$forEach](dart.fn(element => { - array.push(html_common._convertDartToNative_Value(element)); - }, T$.dynamicTovoid())); - value = array; - } - return value; - }; - html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { - if (dict == null) return null; - let object = {}; - if (postCreate != null) { - postCreate(object); - } - dict[$forEach](dart.fn((key, value) => { - object[key] = html_common._convertDartToNative_Value(value); - }, T$.dynamicAnddynamicTovoid())); - return object; - }; - html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[154], 78, 51, "input"); - return input; - }; - html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { - let millisSinceEpoch = date.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); - }; - html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[154], 88, 39, "date"); - return new Date(date.millisecondsSinceEpoch); - }; - html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { - return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); - }; - html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); - }; - html_common.isJavaScriptDate = function isJavaScriptDate(value) { - return value instanceof Date; - }; - html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { - return value instanceof RegExp; - }; - html_common.isJavaScriptArray = function isJavaScriptArray$(value) { - return value instanceof Array; - }; - html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { - let proto = Object.getPrototypeOf(value); - return proto === Object.prototype || proto === null; - }; - html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { - return !!value.immutable$list; - }; - html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { - return typeof Promise != "undefined" && value instanceof Promise; - }; - dart.defineLazy(html_common, { - /*html_common._serializedScriptValue*/get _serializedScriptValue() { - return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; - }, - /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[427] || CT.C427; - }, - /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[428] || CT.C428; - } - }, false); - svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { - static createSvgElement_tag(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.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[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 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 = (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 = dart.nullCheck(html$.document.body); - } else { - parentElement = svg$.SvgSvgElement.new(); - } - 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); - } - set [S.$classes](value) { - super[S.$classes] = value; - } - get [S.$children]() { - return new html_common.FilteredElementList.new(this); - } - set [S.$children](value) { - if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); - let children = this[S.$children]; - children[$clear](); - children[$addAll](value); - } - get [S.$outerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$add](cloned); - return container[S.$innerHtml]; - } - get [S.$innerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$addAll](cloned[S.$children]); - return container[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$createFragment](svg, opts) { - 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 = (t228 = new html$.NodeValidatorBuilder.common(), (() => { - t228.allowSvg(); - return t228; - })()); - } - treeSanitizer = html$.NodeTreeSanitizer.new(validator); - } - let html = "" + dart.str(svg) + ""; - let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); - let svgFragment = html$.DocumentFragment.new(); - let root = fragment[S.$nodes][$single]; - while (root.firstChild != null) { - svgFragment[S.$append](dart.nullCheck(root.firstChild)); - } - return svgFragment; - } - [S.$insertAdjacentText](where, 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[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[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]() { - dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); - } - get [S.$isContentEditable]() { - return false; - } - [S.$click]() { - dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); - } - static isTagSupported(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; - } - get [S$3.$ownerSvgElement]() { - return this.ownerSVGElement; - } - get [S$3.$viewportElement]() { - return this.viewportElement; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } - get [S.$onAbort]() { - return svg$.SvgElement.abortEvent.forElement(this); - } - get [S.$onBlur]() { - return svg$.SvgElement.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return svg$.SvgElement.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return svg$.SvgElement.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return svg$.SvgElement.changeEvent.forElement(this); - } - get [S.$onClick]() { - return svg$.SvgElement.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return svg$.SvgElement.contextMenuEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return svg$.SvgElement.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return svg$.SvgElement.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return svg$.SvgElement.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return svg$.SvgElement.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return svg$.SvgElement.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return svg$.SvgElement.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return svg$.SvgElement.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return svg$.SvgElement.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return svg$.SvgElement.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return svg$.SvgElement.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return svg$.SvgElement.endedEvent.forElement(this); - } - get [S.$onError]() { - return svg$.SvgElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return svg$.SvgElement.focusEvent.forElement(this); - } - get [S.$onInput]() { - return svg$.SvgElement.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return svg$.SvgElement.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return svg$.SvgElement.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return svg$.SvgElement.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return svg$.SvgElement.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return svg$.SvgElement.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return svg$.SvgElement.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return svg$.SvgElement.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return svg$.SvgElement.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return svg$.SvgElement.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return svg$.SvgElement.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return svg$.SvgElement.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return svg$.SvgElement.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return svg$.SvgElement.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return svg$.SvgElement.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return svg$.SvgElement.mouseWheelEvent.forElement(this); - } - get [S$.$onPause]() { - return svg$.SvgElement.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return svg$.SvgElement.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return svg$.SvgElement.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return svg$.SvgElement.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return svg$.SvgElement.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return svg$.SvgElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return svg$.SvgElement.scrollEvent.forElement(this); - } - get [S$.$onSeeked]() { - return svg$.SvgElement.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return svg$.SvgElement.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return svg$.SvgElement.selectEvent.forElement(this); - } - get [S$.$onStalled]() { - return svg$.SvgElement.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return svg$.SvgElement.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return svg$.SvgElement.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return svg$.SvgElement.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return svg$.SvgElement.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return svg$.SvgElement.touchEndEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return svg$.SvgElement.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return svg$.SvgElement.touchStartEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return svg$.SvgElement.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return svg$.SvgElement.waitingEvent.forElement(this); - } - get [S$.$onWheel]() { - return svg$.SvgElement.wheelEvent.forElement(this); - } - }; - (svg$.SvgElement.created = function() { - svg$.SvgElement.__proto__.created.call(this); - ; - }).prototype = svg$.SvgElement.prototype; - 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, - [S.$isContentEditable]: core.bool, - [S$3._svgClassName]: svg$.AnimatedString, - [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), - [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), - [S.$nonce]: dart.nullable(core.String) - })); - dart.setSetterSignature(svg$.SvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgElement.__proto__), - [S.$nonce]: dart.nullable(core.String) - })); - 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[224] || CT.C224; - }, - /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*svg$.SvgElement.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - 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; - } - get [S$3.$nearestViewportElement]() { - return this.nearestViewportElement; - } - get [S$.$transform]() { - return this.transform; - } - [S$3.$getBBox](...args) { - return this.getBBox.apply(this, args); - } - [S$3.$getCtm](...args) { - return this.getCTM.apply(this, args); - } - [S$3.$getScreenCtm](...args) { - return this.getScreenCTM.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - }; - (svg$.GraphicsElement.created = function() { - svg$.GraphicsElement.__proto__.created.call(this); - ; - }).prototype = svg$.GraphicsElement.prototype; - dart.addTypeTests(svg$.GraphicsElement); - dart.addTypeCaches(svg$.GraphicsElement); - svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; - dart.setMethodSignature(svg$.GraphicsElement, () => ({ - __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), - [S$3.$getBBox]: dart.fnType(svg$.Rect, []), - [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), - [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), - [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) - })); - 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; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.AElement.created = function() { - svg$.AElement.__proto__.created.call(this); - ; - }).prototype = svg$.AElement.prototype; - 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[159]); - dart.registerExtension("SVGAElement", svg$.AElement); - svg$.Angle = class Angle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Angle.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } - }; - dart.addTypeTests(svg$.Angle); - dart.addTypeCaches(svg$.Angle); - dart.setMethodSignature(svg$.Angle, () => ({ - __proto__: dart.getMethods(svg$.Angle.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.Angle, () => ({ - __proto__: dart.getSetters(svg$.Angle.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) - })); - 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; - }, - /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { - return 4; - }, - /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { - return 3; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { - return 0; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { - return 1; - } - }, 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; - } - [S$3.$beginElement](...args) { - return this.beginElement.apply(this, args); - } - [S$3.$beginElementAt](...args) { - return this.beginElementAt.apply(this, args); - } - [S$3.$endElement](...args) { - return this.endElement.apply(this, args); - } - [S$3.$endElementAt](...args) { - return this.endElementAt.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$3.$getSimpleDuration](...args) { - return this.getSimpleDuration.apply(this, args); - } - [S$3.$getStartTime](...args) { - return this.getStartTime.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - }; - (svg$.AnimationElement.created = function() { - svg$.AnimationElement.__proto__.created.call(this); - ; - }).prototype = svg$.AnimationElement.prototype; - dart.addTypeTests(svg$.AnimationElement); - dart.addTypeCaches(svg$.AnimationElement); - svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; - dart.setMethodSignature(svg$.AnimationElement, () => ({ - __proto__: dart.getMethods(svg$.AnimationElement.__proto__), - [S$3.$beginElement]: dart.fnType(dart.void, []), - [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$endElement]: dart.fnType(dart.void, []), - [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [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[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")); - } - }; - (svg$.AnimateElement.created = function() { - svg$.AnimateElement.__proto__.created.call(this); - ; - }).prototype = svg$.AnimateElement.prototype; - dart.addTypeTests(svg$.AnimateElement); - dart.addTypeCaches(svg$.AnimateElement); - 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")); - } - }; - (svg$.AnimateMotionElement.created = function() { - svg$.AnimateMotionElement.__proto__.created.call(this); - ; - }).prototype = svg$.AnimateMotionElement.prototype; - dart.addTypeTests(svg$.AnimateMotionElement); - dart.addTypeCaches(svg$.AnimateMotionElement); - 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")); - } - }; - (svg$.AnimateTransformElement.created = function() { - svg$.AnimateTransformElement.__proto__.created.call(this); - ; - }).prototype = svg$.AnimateTransformElement.prototype; - dart.addTypeTests(svg$.AnimateTransformElement); - dart.addTypeCaches(svg$.AnimateTransformElement); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedAngle.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); - svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedBoolean.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } - }; - 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), - [S$3.$baseVal]: dart.nullable(core.bool) - })); - dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ - __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), - [S$3.$baseVal]: dart.nullable(core.bool) - })); - dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); - dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); - svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedEnumeration.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } - }; - 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), - [S$3.$baseVal]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ - __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) - })); - dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); - dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); - svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedInteger.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } - }; - 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), - [S$3.$baseVal]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.AnimatedInteger, () => ({ - __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) - })); - dart.setLibraryUri(svg$.AnimatedInteger, I[159]); - dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); - svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLength.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); - svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLengthList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); - svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumber.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } - }; - 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), - [S$3.$baseVal]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.AnimatedNumber, () => ({ - __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), - [S$3.$baseVal]: dart.nullable(core.num) - })); - dart.setLibraryUri(svg$.AnimatedNumber, I[159]); - dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); - svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumberList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); - svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedPreserveAspectRatio.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); - svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedRect.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[159]); - dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); - svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedString.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } - }; - 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), - [S$3.$baseVal]: dart.nullable(core.String) - })); - dart.setSetterSignature(svg$.AnimatedString, () => ({ - __proto__: dart.getSetters(svg$.AnimatedString.__proto__), - [S$3.$baseVal]: dart.nullable(core.String) - })); - dart.setLibraryUri(svg$.AnimatedString, I[159]); - dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); - svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedTransformList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - }; - 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[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; - } - [S$3.$getPointAtLength](...args) { - return this.getPointAtLength.apply(this, args); - } - [S$3.$getTotalLength](...args) { - return this.getTotalLength.apply(this, args); - } - [S$3.$isPointInFill](...args) { - return this.isPointInFill.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - }; - (svg$.GeometryElement.created = function() { - svg$.GeometryElement.__proto__.created.call(this); - ; - }).prototype = svg$.GeometryElement.prototype; - dart.addTypeTests(svg$.GeometryElement); - dart.addTypeCaches(svg$.GeometryElement); - dart.setMethodSignature(svg$.GeometryElement, () => ({ - __proto__: dart.getMethods(svg$.GeometryElement.__proto__), - [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), - [S$3.$getTotalLength]: dart.fnType(core.double, []), - [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[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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$r]() { - return this.r; - } - }; - (svg$.CircleElement.created = function() { - svg$.CircleElement.__proto__.created.call(this); - ; - }).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[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; - } - }; - (svg$.ClipPathElement.created = function() { - svg$.ClipPathElement.__proto__.created.call(this); - ; - }).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[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); - ; - }).prototype = svg$.DefsElement.prototype; - dart.addTypeTests(svg$.DefsElement); - dart.addTypeCaches(svg$.DefsElement); - 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); - ; - }).prototype = svg$.DescElement.prototype; - dart.addTypeTests(svg$.DescElement); - dart.addTypeCaches(svg$.DescElement); - dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); - dart.setLibraryUri(svg$.DescElement, I[159]); - dart.registerExtension("SVGDescElement", svg$.DescElement); - 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.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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } - }; - (svg$.EllipseElement.created = function() { - svg$.EllipseElement.__proto__.created.call(this); - ; - }).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength) - })); - 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S.$mode]() { - return this.mode; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEBlendElement.created = function() { - svg$.FEBlendElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEBlendElement.prototype; - 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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { - return 5; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { - return 2; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { - return 1; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { - return 3; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { - return 0; - } - }, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S.$type]() { - return this.type; - } - get [$values]() { - return this.values; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEColorMatrixElement.created = function() { - svg$.FEColorMatrixElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEColorMatrixElement.prototype; - 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, - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$values]: dart.nullable(svg$.AnimatedNumberList), - [$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.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; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { - return 4; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { - return 1; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { - return 2; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { - return 0; - } - }, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEComponentTransferElement.created = function() { - svg$.FEComponentTransferElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEComponentTransferElement.prototype; - 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), - [$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.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; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$3.$k1]() { - return this.k1; - } - get [S$3.$k2]() { - return this.k2; - } - get [S$3.$k3]() { - return this.k3; - } - get [S$3.$k4]() { - return this.k4; - } - get [S$3.$operator]() { - return this.operator; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FECompositeElement.created = function() { - svg$.FECompositeElement.__proto__.created.call(this); - ; - }).prototype = svg$.FECompositeElement.prototype; - 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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), - [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [$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$.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; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { - return 4; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { - return 2; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { - return 3; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { - return 1; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { - return 0; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { - return 5; - } - }, 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")); - } - get [S$3.$bias]() { - return this.bias; - } - get [S$3.$divisor]() { - return this.divisor; - } - get [S$3.$edgeMode]() { - return this.edgeMode; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelMatrix]() { - return this.kernelMatrix; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$orderX]() { - return this.orderX; - } - get [S$3.$orderY]() { - return this.orderY; - } - get [S$3.$preserveAlpha]() { - return this.preserveAlpha; - } - get [S$3.$targetX]() { - return this.targetX; - } - get [S$3.$targetY]() { - return this.targetY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEConvolveMatrixElement.created = function() { - svg$.FEConvolveMatrixElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEConvolveMatrixElement.prototype; - 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), - [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), - [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), - [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), - [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), - [$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.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; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { - return 3; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { - return 0; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { - return 2; - } - }, 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")); - } - get [S$3.$diffuseConstant]() { - return this.diffuseConstant; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEDiffuseLightingElement.created = function() { - svg$.FEDiffuseLightingElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEDiffuseLightingElement.prototype; - 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), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$.$scale]() { - return this.scale; - } - get [S$3.$xChannelSelector]() { - return this.xChannelSelector; - } - get [S$3.$yChannelSelector]() { - return this.yChannelSelector; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEDisplacementMapElement.created = function() { - svg$.FEDisplacementMapElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEDisplacementMapElement.prototype; - 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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$.$scale]: dart.nullable(svg$.AnimatedNumber), - [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { - return 3; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { - return 2; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { - return 1; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { - return 0; - } - }, 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")); - } - get [S$3.$azimuth]() { - return this.azimuth; - } - get [S$3.$elevation]() { - return this.elevation; - } - }; - (svg$.FEDistantLightElement.created = function() { - svg$.FEDistantLightElement.__proto__.created.call(this); - ; - }).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.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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEFloodElement.created = function() { - svg$.FEFloodElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEFloodElement.prototype; - 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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) - })); - dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); - dart.setLibraryUri(svg$.FEFloodElement, I[159]); - dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); - 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.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")); - } - }; - (svg$.FEFuncAElement.created = function() { - svg$.FEFuncAElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEFuncAElement.prototype; - dart.addTypeTests(svg$.FEFuncAElement); - dart.addTypeCaches(svg$.FEFuncAElement); - 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")); - } - }; - (svg$.FEFuncBElement.created = function() { - svg$.FEFuncBElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEFuncBElement.prototype; - dart.addTypeTests(svg$.FEFuncBElement); - dart.addTypeCaches(svg$.FEFuncBElement); - 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")); - } - }; - (svg$.FEFuncGElement.created = function() { - svg$.FEFuncGElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEFuncGElement.prototype; - dart.addTypeTests(svg$.FEFuncGElement); - dart.addTypeCaches(svg$.FEFuncGElement); - 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")); - } - }; - (svg$.FEFuncRElement.created = function() { - svg$.FEFuncRElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEFuncRElement.prototype; - dart.addTypeTests(svg$.FEFuncRElement); - dart.addTypeCaches(svg$.FEFuncRElement); - 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$stdDeviationX]() { - return this.stdDeviationX; - } - get [S$3.$stdDeviationY]() { - return this.stdDeviationY; - } - [S$3.$setStdDeviation](...args) { - return this.setStdDeviation.apply(this, args); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEGaussianBlurElement.created = function() { - svg$.FEGaussianBlurElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEGaussianBlurElement.prototype; - dart.addTypeTests(svg$.FEGaussianBlurElement); - dart.addTypeCaches(svg$.FEGaussianBlurElement); - svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; - 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), - [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stdDeviationY]: 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.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")); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.FEImageElement.created = function() { - svg$.FEImageElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEImageElement.prototype; - 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), - [$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), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - 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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEMergeElement.created = function() { - svg$.FEMergeElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEMergeElement.prototype; - 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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) - })); - 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")); - } - get [S$3.$in1]() { - return this.in1; - } - }; - (svg$.FEMergeNodeElement.created = function() { - svg$.FEMergeNodeElement.__proto__.created.call(this); - ; - }).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.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$3.$radiusX]() { - return this.radiusX; - } - get [S$3.$radiusY]() { - return this.radiusY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEMorphologyElement.created = function() { - svg$.FEMorphologyElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEMorphologyElement.prototype; - 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$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[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; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { - return 1; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { - return 0; - } - }, 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")); - } - get [S$3.$dx]() { - return this.dx; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FEOffsetElement.created = function() { - svg$.FEOffsetElement.__proto__.created.call(this); - ; - }).prototype = svg$.FEOffsetElement.prototype; - 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), - [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [$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.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")); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - (svg$.FEPointLightElement.created = function() { - svg$.FEPointLightElement.__proto__.created.call(this); - ; - }).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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$specularConstant]() { - return this.specularConstant; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FESpecularLightingElement.created = function() { - svg$.FESpecularLightingElement.__proto__.created.call(this); - ; - }).prototype = svg$.FESpecularLightingElement.prototype; - 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), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$limitingConeAngle]() { - return this.limitingConeAngle; - } - get [S$3.$pointsAtX]() { - return this.pointsAtX; - } - get [S$3.$pointsAtY]() { - return this.pointsAtY; - } - get [S$3.$pointsAtZ]() { - return this.pointsAtZ; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - }; - (svg$.FESpotLightElement.created = function() { - svg$.FESpotLightElement.__proto__.created.call(this); - ; - }).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), - [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$.$x]: dart.nullable(svg$.AnimatedNumber), - [S$.$y]: dart.nullable(svg$.AnimatedNumber), - [S$.$z]: dart.nullable(svg$.AnimatedNumber) - })); - 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FETileElement.created = function() { - svg$.FETileElement.__proto__.created.call(this); - ; - }).prototype = svg$.FETileElement.prototype; - 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), - [$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.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")); - } - get [S$3.$baseFrequencyX]() { - return this.baseFrequencyX; - } - get [S$3.$baseFrequencyY]() { - return this.baseFrequencyY; - } - get [S$3.$numOctaves]() { - return this.numOctaves; - } - get [S$3.$seed]() { - return this.seed; - } - get [S$3.$stitchTiles]() { - return this.stitchTiles; - } - get [S.$type]() { - return this.type; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.FETurbulenceElement.created = function() { - svg$.FETurbulenceElement.__proto__.created.call(this); - ; - }).prototype = svg$.FETurbulenceElement.prototype; - 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), - [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), - [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { - return 0; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { - return 2; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { - return 0; - } - }, 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")); - } - get [S$3.$filterUnits]() { - return this.filterUnits; - } - get [$height]() { - return this.height; - } - get [S$3.$primitiveUnits]() { - return this.primitiveUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.FilterElement.created = function() { - svg$.FilterElement.__proto__.created.call(this); - ; - }).prototype = svg$.FilterElement.prototype; - 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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); - dart.setLibraryUri(svg$.FilterElement, I[159]); - dart.registerExtension("SVGFilterElement", svg$.FilterElement); - svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FilterPrimitiveStandardAttributes.__(); - } - get height() { - return this.height; - } - get result() { - return this.result; - } - get width() { - return this.width; - } - get x() { - return this.x; - } - get y() { - return this.y; - } - }; - 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), - [$height]: dart.nullable(svg$.AnimatedLength), - result: dart.nullable(svg$.AnimatedString), - [S.$result]: dart.nullable(svg$.AnimatedString), - width: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - x: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - y: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) - })); - dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); - dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ - 'height', - 'result', - 'width', - 'x', - 'y' - ]); - svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FitToViewBox.__(); - } - get preserveAspectRatio() { - return this.preserveAspectRatio; - } - get viewBox() { - return this.viewBox; - } - }; - 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), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - viewBox: dart.nullable(svg$.AnimatedRect), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) - })); - 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")); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.ForeignObjectElement.created = function() { - svg$.ForeignObjectElement.__proto__.created.call(this); - ; - }).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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) - })); - 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); - ; - }).prototype = svg$.GElement.prototype; - dart.addTypeTests(svg$.GElement); - dart.addTypeCaches(svg$.GElement); - 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; - } - set [S$1.$async](value) { - this.async = value; - } - get [$height]() { - return this.height; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.ImageElement.created = function() { - svg$.ImageElement.__proto__.created.call(this); - ; - }).prototype = svg$.ImageElement.prototype; - dart.addTypeTests(svg$.ImageElement); - dart.addTypeCaches(svg$.ImageElement); - svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; - 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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - dart.setSetterSignature(svg$.ImageElement, () => ({ - __proto__: dart.getSetters(svg$.ImageElement.__proto__), - [S$1.$async]: dart.nullable(core.String) - })); - dart.setLibraryUri(svg$.ImageElement, I[159]); - dart.registerExtension("SVGImageElement", svg$.ImageElement); - svg$.Length = class Length extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Length.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } - }; - dart.addTypeTests(svg$.Length); - dart.addTypeCaches(svg$.Length); - dart.setMethodSignature(svg$.Length, () => ({ - __proto__: dart.getMethods(svg$.Length.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.Length, () => ({ - __proto__: dart.getSetters(svg$.Length.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) - })); - 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; - }, - /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { - return 3; - }, - /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { - return 4; - }, - /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { - return 8; - }, - /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { - return 7; - }, - /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { - return 1; - }, - /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { - return 10; - }, - /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { - return 2; - }, - /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { - return 9; - }, - /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { - return 5; - }, - /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { - return 0; - } - }, false); - dart.registerExtension("SVGLength", svg$.Length); - 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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2059, 25, "index"); - svg$.Length.as(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[158], 2065, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2093, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } - }; - svg$.LengthList.prototype[dart.isList] = true; - dart.addTypeTests(svg$.LengthList); - dart.addTypeCaches(svg$.LengthList); - svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; - dart.setMethodSignature(svg$.LengthList, () => ({ - __proto__: dart.getMethods(svg$.LengthList.__proto__), - [$_get]: dart.fnType(svg$.Length, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), - [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.LengthList, () => ({ - __proto__: dart.getSetters(svg$.LengthList.__proto__), - [$length]: core.int - })); - 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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } - }; - (svg$.LineElement.created = function() { - svg$.LineElement.__proto__.created.call(this); - ; - }).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) - })); - 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; - } - get [S$3.$gradientUnits]() { - return this.gradientUnits; - } - get [S$3.$spreadMethod]() { - return this.spreadMethod; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$._GradientElement.created = function() { - svg$._GradientElement.__proto__.created.call(this); - ; - }).prototype = svg$._GradientElement.prototype; - 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), - [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - 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; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { - return 2; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { - return 3; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { - return 0; - } - }, 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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } - }; - (svg$.LinearGradientElement.created = function() { - svg$.LinearGradientElement.__proto__.created.call(this); - ; - }).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) - })); - 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; - } - get [S$3.$markerUnits]() { - return this.markerUnits; - } - get [S$3.$markerWidth]() { - return this.markerWidth; - } - get [S$3.$orientAngle]() { - return this.orientAngle; - } - get [S$3.$orientType]() { - return this.orientType; - } - get [S$3.$refX]() { - return this.refX; - } - get [S$3.$refY]() { - return this.refY; - } - [S$3.$setOrientToAngle](...args) { - return this.setOrientToAngle.apply(this, args); - } - [S$3.$setOrientToAuto](...args) { - return this.setOrientToAuto.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - }; - (svg$.MarkerElement.created = function() { - svg$.MarkerElement.__proto__.created.call(this); - ; - }).prototype = svg$.MarkerElement.prototype; - dart.addTypeTests(svg$.MarkerElement); - dart.addTypeCaches(svg$.MarkerElement); - svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; - dart.setMethodSignature(svg$.MarkerElement, () => ({ - __proto__: dart.getMethods(svg$.MarkerElement.__proto__), - [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, - [S$3.$markerUnits]: svg$.AnimatedEnumeration, - [S$3.$markerWidth]: svg$.AnimatedLength, - [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), - [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$refX]: svg$.AnimatedLength, - [S$3.$refY]: svg$.AnimatedLength, - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) - })); - 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; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { - return 0; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { - return 2; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { - return 0; - } - }, 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; - } - get [S$3.$maskContentUnits]() { - return this.maskContentUnits; - } - get [S$3.$maskUnits]() { - return this.maskUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - }; - (svg$.MaskElement.created = function() { - svg$.MaskElement.__proto__.created.call(this); - ; - }).prototype = svg$.MaskElement.prototype; - 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), - [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) - })); - dart.setLibraryUri(svg$.MaskElement, I[159]); - dart.registerExtension("SVGMaskElement", svg$.MaskElement); - svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Matrix.__(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$3.$scaleNonUniform](...args) { - return this.scaleNonUniform.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - }; - dart.addTypeTests(svg$.Matrix); - dart.addTypeCaches(svg$.Matrix); - dart.setMethodSignature(svg$.Matrix, () => ({ - __proto__: dart.getMethods(svg$.Matrix.__proto__), - [S$1.$flipX]: dart.fnType(svg$.Matrix, []), - [S$1.$flipY]: dart.fnType(svg$.Matrix, []), - [S$1.$inverse]: dart.fnType(svg$.Matrix, []), - [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), - [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), - [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), - [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.Matrix, () => ({ - __proto__: dart.getSetters(svg$.Matrix.__proto__), - [S$1.$a]: dart.nullable(core.num), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) - })); - dart.setLibraryUri(svg$.Matrix, I[159]); - dart.registerExtension("SVGMatrix", svg$.Matrix); - 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.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); - dart.setLibraryUri(svg$.MetadataElement, I[159]); - dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); - svg$.Number = class Number extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Number.__(); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - }; - 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) - })); - dart.setSetterSignature(svg$.Number, () => ({ - __proto__: dart.getSetters(svg$.Number.__proto__), - [S.$value]: dart.nullable(core.num) - })); - dart.setLibraryUri(svg$.Number, I[159]); - dart.registerExtension("SVGNumber", svg$.Number); - 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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2384, 25, "index"); - svg$.Number.as(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[158], 2390, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2418, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } - }; - svg$.NumberList.prototype[dart.isList] = true; - dart.addTypeTests(svg$.NumberList); - dart.addTypeCaches(svg$.NumberList); - svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; - dart.setMethodSignature(svg$.NumberList, () => ({ - __proto__: dart.getMethods(svg$.NumberList.__proto__), - [$_get]: dart.fnType(svg$.Number, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), - [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.NumberList, () => ({ - __proto__: dart.getSetters(svg$.NumberList.__proto__), - [$length]: core.int - })); - 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); - ; - }).prototype = svg$.PathElement.prototype; - dart.addTypeTests(svg$.PathElement); - dart.addTypeCaches(svg$.PathElement); - 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; - } - get [S$3.$patternContentUnits]() { - return this.patternContentUnits; - } - get [S$3.$patternTransform]() { - return this.patternTransform; - } - get [S$3.$patternUnits]() { - return this.patternUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.PatternElement.created = function() { - svg$.PatternElement.__proto__.created.call(this); - ; - }).prototype = svg$.PatternElement.prototype; - 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), - [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - dart.setLibraryUri(svg$.PatternElement, I[159]); - dart.registerExtension("SVGPatternElement", svg$.PatternElement); - svg$.Point = class Point extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Point.__(); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - [S$1.$matrixTransform](...args) { - return this.matrixTransform.apply(this, args); - } - }; - dart.addTypeTests(svg$.Point); - dart.addTypeCaches(svg$.Point); - 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), - [S$.$y]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.Point, () => ({ - __proto__: dart.getSetters(svg$.Point.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) - })); - dart.setLibraryUri(svg$.Point, I[159]); - dart.registerExtension("SVGPoint", svg$.Point); - svg$.PointList = class PointList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PointList.__(); - } - get [$length]() { - return this.length; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } - }; - dart.addTypeTests(svg$.PointList); - dart.addTypeCaches(svg$.PointList); - dart.setMethodSignature(svg$.PointList, () => ({ - __proto__: dart.getMethods(svg$.PointList.__proto__), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), - [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), - [$clear]: dart.fnType(dart.void, []), - [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), - [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[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; - } - get [S$3.$points]() { - return this.points; - } - }; - (svg$.PolygonElement.created = function() { - svg$.PolygonElement.__proto__.created.call(this); - ; - }).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[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; - } - get [S$3.$points]() { - return this.points; - } - }; - (svg$.PolylineElement.created = function() { - svg$.PolylineElement.__proto__.created.call(this); - ; - }).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[159]); - dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); - svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PreserveAspectRatio.__(); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$meetOrSlice]() { - return this.meetOrSlice; - } - set [S$3.$meetOrSlice](value) { - this.meetOrSlice = value; - } - }; - 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), - [S$3.$meetOrSlice]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ - __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), - [S$3.$align]: dart.nullable(core.int), - [S$3.$meetOrSlice]: dart.nullable(core.int) - })); - 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; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { - return 2; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { - return 1; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { - return 10; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { - return 7; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { - return 4; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { - return 9; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { - return 6; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { - return 3; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { - return 8; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { - return 5; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { - return 2; - } - }, 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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$fr]() { - return this.fr; - } - get [S$3.$fx]() { - return this.fx; - } - get [S$3.$fy]() { - return this.fy; - } - get [S$3.$r]() { - return this.r; - } - }; - (svg$.RadialGradientElement.created = function() { - svg$.RadialGradientElement.__proto__.created.call(this); - ; - }).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$fr]: dart.nullable(svg$.AnimatedLength), - [S$3.$fx]: dart.nullable(svg$.AnimatedLength), - [S$3.$fy]: dart.nullable(svg$.AnimatedLength), - [S$3.$r]: dart.nullable(svg$.AnimatedLength) - })); - dart.setLibraryUri(svg$.RadialGradientElement, I[159]); - dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); - svg$.Rect = class Rect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Rect.__(); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - }; - 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), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) - })); - dart.setSetterSignature(svg$.Rect, () => ({ - __proto__: dart.getSetters(svg$.Rect.__proto__), - [$height]: dart.nullable(core.num), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) - })); - 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; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.RectElement.created = function() { - svg$.RectElement.__proto__.created.call(this); - ; - }).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), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) - })); - 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; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.ScriptElement.created = function() { - svg$.ScriptElement.__proto__.created.call(this); - ; - }).prototype = svg$.ScriptElement.prototype; - 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), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - dart.setSetterSignature(svg$.ScriptElement, () => ({ - __proto__: dart.getSetters(svg$.ScriptElement.__proto__), - [S.$type]: dart.nullable(core.String) - })); - 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")); - } - }; - (svg$.SetElement.created = function() { - svg$.SetElement.__proto__.created.call(this); - ; - }).prototype = svg$.SetElement.prototype; - dart.addTypeTests(svg$.SetElement); - dart.addTypeCaches(svg$.SetElement); - 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; - } - }; - (svg$.StopElement.created = function() { - svg$.StopElement.__proto__.created.call(this); - ; - }).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[159]); - dart.registerExtension("SVGStopElement", svg$.StopElement); - 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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2867, 25, "index"); - core.String.as(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[158], 2873, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2901, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } - }; - svg$.StringList.prototype[dart.isList] = true; - dart.addTypeTests(svg$.StringList); - dart.addTypeCaches(svg$.StringList); - svg$.StringList[dart.implements] = () => [core.List$(core.String)]; - dart.setMethodSignature(svg$.StringList, () => ({ - __proto__: dart.getMethods(svg$.StringList.__proto__), - [$_get]: dart.fnType(core.String, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), - [S$3.$appendItem]: dart.fnType(core.String, [core.String]), - [S$3.$getItem]: dart.fnType(core.String, [core.int]), - [S$3.$initialize]: dart.fnType(core.String, [core.String]), - [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.StringList, () => ({ - __proto__: dart.getSetters(svg$.StringList.__proto__), - [$length]: core.int - })); - 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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - }; - (svg$.StyleElement.created = function() { - svg$.StyleElement.__proto__.created.call(this); - ; - }).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), - [S$.$media]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) - })); - dart.setSetterSignature(svg$.StyleElement, () => ({ - __proto__: dart.getSetters(svg$.StyleElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$media]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) - })); - 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$1][S.$attributes][$_get]("class"); - if (svg$.AnimatedString.is(classname)) { - classname = svg$.AnimatedString.as(classname).baseVal; - } - let s = new (T$0._IdentityHashSetOfString()).new(); - if (classname == null) { - return s; - } - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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[158], 2965, 26, "_element"); - this[S$3._element$1] = _element; - ; - }).prototype = svg$.AttributeClassSet.prototype; - dart.addTypeTests(svg$.AttributeClassSet); - dart.addTypeCaches(svg$.AttributeClassSet); - dart.setMethodSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set]) - })); - dart.setLibraryUri(svg$.AttributeClassSet, I[159]); - dart.setFieldSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [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; - } - set [S$3.$currentScale](value) { - this.currentScale = value; - } - get [S$3.$currentTranslate]() { - return this.currentTranslate; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$3.$animationsPaused](...args) { - return this.animationsPaused.apply(this, args); - } - [S$3.$checkEnclosure](...args) { - return this.checkEnclosure.apply(this, args); - } - [S$3.$checkIntersection](...args) { - return this.checkIntersection.apply(this, args); - } - [S$3.$createSvgAngle](...args) { - return this.createSVGAngle.apply(this, args); - } - [S$3.$createSvgLength](...args) { - return this.createSVGLength.apply(this, args); - } - [S$3.$createSvgMatrix](...args) { - return this.createSVGMatrix.apply(this, args); - } - [S$3.$createSvgNumber](...args) { - return this.createSVGNumber.apply(this, args); - } - [S$3.$createSvgPoint](...args) { - return this.createSVGPoint.apply(this, args); - } - [S$3.$createSvgRect](...args) { - return this.createSVGRect.apply(this, args); - } - [S$3.$createSvgTransform](...args) { - return this.createSVGTransform.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$deselectAll](...args) { - return this.deselectAll.apply(this, args); - } - [S$3.$forceRedraw](...args) { - return this.forceRedraw.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - [S$3.$getEnclosureList](...args) { - return this.getEnclosureList.apply(this, args); - } - [S$3.$getIntersectionList](...args) { - return this.getIntersectionList.apply(this, args); - } - [S$3.$pauseAnimations](...args) { - return this.pauseAnimations.apply(this, args); - } - [S$3.$setCurrentTime](...args) { - return this.setCurrentTime.apply(this, args); - } - [S$3.$suspendRedraw](...args) { - return this.suspendRedraw.apply(this, args); - } - [S$3.$unpauseAnimations](...args) { - return this.unpauseAnimations.apply(this, args); - } - [S$3.$unsuspendRedraw](...args) { - return this.unsuspendRedraw.apply(this, args); - } - [S$3.$unsuspendRedrawAll](...args) { - return this.unsuspendRedrawAll.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } - }; - (svg$.SvgSvgElement.created = function() { - svg$.SvgSvgElement.__proto__.created.call(this); - ; - }).prototype = svg$.SvgSvgElement.prototype; - dart.addTypeTests(svg$.SvgSvgElement); - dart.addTypeCaches(svg$.SvgSvgElement); - svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; - dart.setMethodSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), - [S$3.$animationsPaused]: dart.fnType(core.bool, []), - [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), - [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), - [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), - [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), - [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), - [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), - [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$deselectAll]: dart.fnType(dart.void, []), - [S$3.$forceRedraw]: dart.fnType(dart.void, []), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), - [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$pauseAnimations]: dart.fnType(dart.void, []), - [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), - [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), - [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), - [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), - [S$3.$currentTranslate]: dart.nullable(svg$.Point), - [$height]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), - [S$3.$currentScale]: dart.nullable(core.num), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - 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); - ; - }).prototype = svg$.SwitchElement.prototype; - dart.addTypeTests(svg$.SwitchElement); - dart.addTypeCaches(svg$.SwitchElement); - 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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - }; - (svg$.SymbolElement.created = function() { - svg$.SymbolElement.__proto__.created.call(this); - ; - }).prototype = svg$.SymbolElement.prototype; - 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[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; - } - get [S$2.$textLength]() { - return this.textLength; - } - [S$3.$getCharNumAtPosition](...args) { - return this.getCharNumAtPosition.apply(this, args); - } - [S$3.$getComputedTextLength](...args) { - return this.getComputedTextLength.apply(this, args); - } - [S$3.$getEndPositionOfChar](...args) { - return this.getEndPositionOfChar.apply(this, args); - } - [S$3.$getExtentOfChar](...args) { - return this.getExtentOfChar.apply(this, args); - } - [S$3.$getNumberOfChars](...args) { - return this.getNumberOfChars.apply(this, args); - } - [S$3.$getRotationOfChar](...args) { - return this.getRotationOfChar.apply(this, args); - } - [S$3.$getStartPositionOfChar](...args) { - return this.getStartPositionOfChar.apply(this, args); - } - [S$3.$getSubStringLength](...args) { - return this.getSubStringLength.apply(this, args); - } - [S$3.$selectSubString](...args) { - return this.selectSubString.apply(this, args); - } - }; - (svg$.TextContentElement.created = function() { - svg$.TextContentElement.__proto__.created.call(this); - ; - }).prototype = svg$.TextContentElement.prototype; - dart.addTypeTests(svg$.TextContentElement); - dart.addTypeCaches(svg$.TextContentElement); - dart.setMethodSignature(svg$.TextContentElement, () => ({ - __proto__: dart.getMethods(svg$.TextContentElement.__proto__), - [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), - [S$3.$getComputedTextLength]: dart.fnType(core.double, []), - [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), - [S$3.$getNumberOfChars]: dart.fnType(core.int, []), - [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), - [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [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[159]); - dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); - dart.defineLazy(svg$.TextContentElement, { - /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { - return 1; - }, - /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { - return 2; - }, - /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { - return 0; - } - }, 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; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$.$rotate]() { - return this.rotate; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - }; - (svg$.TextPositioningElement.created = function() { - svg$.TextPositioningElement.__proto__.created.call(this); - ; - }).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), - [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), - [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), - [S$.$x]: dart.nullable(svg$.AnimatedLengthList), - [S$.$y]: dart.nullable(svg$.AnimatedLengthList) - })); - 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); - ; - }).prototype = svg$.TSpanElement.prototype; - dart.addTypeTests(svg$.TSpanElement); - dart.addTypeCaches(svg$.TSpanElement); - dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); - dart.setLibraryUri(svg$.TSpanElement, I[159]); - dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); - svg$.Tests = class Tests extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Tests.__(); - } - get requiredExtensions() { - return this.requiredExtensions; - } - get systemLanguage() { - return this.systemLanguage; - } - }; - 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), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - systemLanguage: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) - })); - 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); - ; - }).prototype = svg$.TextElement.prototype; - dart.addTypeTests(svg$.TextElement); - dart.addTypeCaches(svg$.TextElement); - 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; - } - get [S$3.$spacing]() { - return this.spacing; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.TextPathElement.created = function() { - svg$.TextPathElement.__proto__.created.call(this); - ; - }).prototype = svg$.TextPathElement.prototype; - 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), - [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - 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; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { - return 0; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { - return 1; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { - return 0; - } - }, 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); - ; - }).prototype = svg$.TitleElement.prototype; - dart.addTypeTests(svg$.TitleElement); - dart.addTypeCaches(svg$.TitleElement); - dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); - dart.setLibraryUri(svg$.TitleElement, I[159]); - dart.registerExtension("SVGTitleElement", svg$.TitleElement); - svg$.Transform = class Transform extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Transform.__(); - } - get [S$.$angle]() { - return this.angle; - } - get [S$.$matrix]() { - return this.matrix; - } - get [S.$type]() { - return this.type; - } - [S$3.$setMatrix](...args) { - return this.setMatrix.apply(this, args); - } - [S$3.$setRotate](...args) { - return this.setRotate.apply(this, args); - } - [S$3.$setScale](...args) { - return this.setScale.apply(this, args); - } - [S$3.$setSkewX](...args) { - return this.setSkewX.apply(this, args); - } - [S$3.$setSkewY](...args) { - return this.setSkewY.apply(this, args); - } - [S$3.$setTranslate](...args) { - return this.setTranslate.apply(this, args); - } - }; - dart.addTypeTests(svg$.Transform); - dart.addTypeCaches(svg$.Transform); - dart.setMethodSignature(svg$.Transform, () => ({ - __proto__: dart.getMethods(svg$.Transform.__proto__), - [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), - [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), - [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), - [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), - [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[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; - }, - /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { - return 4; - }, - /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { - return 3; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { - return 5; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { - return 6; - }, - /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { - return 2; - }, - /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { - return 0; - } - }, false); - dart.registerExtension("SVGTransform", svg$.Transform); - 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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 3856, 25, "index"); - svg$.Transform.as(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[158], 3862, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 3890, 27, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$consolidate](...args) { - return this.consolidate.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } - }; - svg$.TransformList.prototype[dart.isList] = true; - dart.addTypeTests(svg$.TransformList); - dart.addTypeCaches(svg$.TransformList); - svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; - dart.setMethodSignature(svg$.TransformList, () => ({ - __proto__: dart.getMethods(svg$.TransformList.__proto__), - [$_get]: dart.fnType(svg$.Transform, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), - [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.TransformList, () => ({ - __proto__: dart.getSetters(svg$.TransformList.__proto__), - [$length]: core.int - })); - dart.setLibraryUri(svg$.TransformList, I[159]); - dart.registerExtension("SVGTransformList", svg$.TransformList); - svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.UnitTypes.__(); - } - }; - dart.addTypeTests(svg$.UnitTypes); - dart.addTypeCaches(svg$.UnitTypes); - 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; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { - return 0; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { - return 1; - } - }, false); - dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); - 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[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; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } - }; - (svg$.UseElement.created = function() { - svg$.UseElement.__proto__.created.call(this); - ; - }).prototype = svg$.UseElement.prototype; - 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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) - })); - 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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } - }; - (svg$.ViewElement.created = function() { - svg$.ViewElement.__proto__.created.call(this); - ; - }).prototype = svg$.ViewElement.prototype; - 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), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.ViewElement, () => ({ - __proto__: dart.getSetters(svg$.ViewElement.__proto__), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - dart.setLibraryUri(svg$.ViewElement, I[159]); - dart.registerExtension("SVGViewElement", svg$.ViewElement); - svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.ZoomAndPan.__(); - } - get zoomAndPan() { - return this.zoomAndPan; - } - set zoomAndPan(value) { - this.zoomAndPan = value; - } - }; - 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), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - dart.setSetterSignature(svg$.ZoomAndPan, () => ({ - __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), - zoomAndPan: dart.nullable(core.int), - [S$3.$zoomAndPan]: dart.nullable(core.int) - })); - 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() { - return 1; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { - return 2; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { - return 0; - } - }, false); - svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { - static ['_#_#tearOff']() { - return svg$._SVGFEDropShadowElement.__(); - } - }; - (svg$._SVGFEDropShadowElement.created = function() { - svg$._SVGFEDropShadowElement.__proto__.created.call(this); - ; - }).prototype = svg$._SVGFEDropShadowElement.prototype; - dart.addTypeTests(svg$._SVGFEDropShadowElement); - dart.addTypeCaches(svg$._SVGFEDropShadowElement); - svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; - 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); - ; - }).prototype = svg$._SVGMPathElement.prototype; - dart.addTypeTests(svg$._SVGMPathElement); - dart.addTypeCaches(svg$._SVGMPathElement); - svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; - 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; - } - set [S$3.$channelCount](value) { - this.channelCount = value; - } - get [S$3.$channelCountMode]() { - return this.channelCountMode; - } - set [S$3.$channelCountMode](value) { - this.channelCountMode = value; - } - get [S$3.$channelInterpretation]() { - return this.channelInterpretation; - } - set [S$3.$channelInterpretation](value) { - this.channelInterpretation = value; - } - get [S$3.$context]() { - return this.context; - } - get [S$3.$numberOfInputs]() { - return this.numberOfInputs; - } - get [S$3.$numberOfOutputs]() { - return this.numberOfOutputs; - } - [S$4._connect](...args) { - return this.connect.apply(this, args); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$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$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$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), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String), - [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), - [S$3.$numberOfInputs]: dart.nullable(core.int), - [S$3.$numberOfOutputs]: dart.nullable(core.int) - })); - dart.setSetterSignature(web_audio.AudioNode, () => ({ - __proto__: dart.getSetters(web_audio.AudioNode.__proto__), - [S$3.$channelCount]: dart.nullable(core.int), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String) - })); - 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[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); - } - static _create_2(context) { - return new AnalyserNode(context); - } - get [S$3.$fftSize]() { - return this.fftSize; - } - set [S$3.$fftSize](value) { - this.fftSize = value; - } - get [S$3.$frequencyBinCount]() { - return this.frequencyBinCount; - } - get [S$3.$maxDecibels]() { - return this.maxDecibels; - } - set [S$3.$maxDecibels](value) { - this.maxDecibels = value; - } - get [S$3.$minDecibels]() { - return this.minDecibels; - } - set [S$3.$minDecibels](value) { - this.minDecibels = value; - } - get [S$3.$smoothingTimeConstant]() { - return this.smoothingTimeConstant; - } - set [S$3.$smoothingTimeConstant](value) { - this.smoothingTimeConstant = value; - } - [S$3.$getByteFrequencyData](...args) { - return this.getByteFrequencyData.apply(this, args); - } - [S$3.$getByteTimeDomainData](...args) { - return this.getByteTimeDomainData.apply(this, args); - } - [S$3.$getFloatFrequencyData](...args) { - return this.getFloatFrequencyData.apply(this, args); - } - [S$3.$getFloatTimeDomainData](...args) { - return this.getFloatTimeDomainData.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AnalyserNode); - dart.addTypeCaches(web_audio.AnalyserNode); - dart.setMethodSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), - [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [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), - [S$3.$frequencyBinCount]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) - })); - dart.setSetterSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), - [S$3.$fftSize]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioBuffer.__(); - } - static new(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); - } - get [S$.$duration]() { - return this.duration; - } - get [$length]() { - return this.length; - } - get [S$4.$numberOfChannels]() { - return this.numberOfChannels; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$copyFromChannel](...args) { - return this.copyFromChannel.apply(this, args); - } - [S$4.$copyToChannel](...args) { - return this.copyToChannel.apply(this, args); - } - [S$4.$getChannelData](...args) { - return this.getChannelData.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AudioBuffer); - dart.addTypeCaches(web_audio.AudioBuffer); - dart.setMethodSignature(web_audio.AudioBuffer, () => ({ - __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [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$4.$numberOfChannels]: dart.nullable(core.int), - [S$4.$sampleRate]: dart.nullable(core.num) - })); - dart.setLibraryUri(web_audio.AudioBuffer, I[161]); - dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); - web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - static ['_#_#tearOff']() { - return web_audio.AudioScheduledSourceNode.__(); - } - [S$4.$start2](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); - } - }; - dart.addTypeTests(web_audio.AudioScheduledSourceNode); - dart.addTypeCaches(web_audio.AudioScheduledSourceNode); - dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ - __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [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[161]); - dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); - dart.defineLazy(web_audio.AudioScheduledSourceNode, { - /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - 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[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); - } - static _create_2(context) { - return new AudioBufferSourceNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$4.$loopEnd]() { - return this.loopEnd; - } - set [S$4.$loopEnd](value) { - this.loopEnd = value; - } - get [S$4.$loopStart]() { - return this.loopStart; - } - set [S$4.$loopStart](value) { - this.loopStart = value; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AudioBufferSourceNode); - dart.addTypeCaches(web_audio.AudioBufferSourceNode); - 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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$.$loop]: dart.nullable(core.bool), - [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$4.$loopEnd]: dart.nullable(core.num), - [S$4.$loopStart]: dart.nullable(core.num) - })); - 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$4.$destination]() { - return this.destination; - } - get [S$4.$listener]() { - return this.listener; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - get [S$.$state]() { - return this.state; - } - [S$4.$createAnalyser](...args) { - return this.createAnalyser.apply(this, args); - } - [S$4.$createBiquadFilter](...args) { - return this.createBiquadFilter.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createBufferSource](...args) { - return this.createBufferSource.apply(this, args); - } - [S$4.$createChannelMerger](...args) { - return this.createChannelMerger.apply(this, args); - } - [S$4.$createChannelSplitter](...args) { - return this.createChannelSplitter.apply(this, args); - } - [S$4.$createConstantSource](...args) { - return this.createConstantSource.apply(this, args); - } - [S$4.$createConvolver](...args) { - return this.createConvolver.apply(this, args); - } - [S$4.$createDelay](...args) { - return this.createDelay.apply(this, args); - } - [S$4.$createDynamicsCompressor](...args) { - return this.createDynamicsCompressor.apply(this, args); - } - [S$4.$createGain](...args) { - return this.createGain.apply(this, args); - } - [S$4.$createIirFilter](...args) { - return this.createIIRFilter.apply(this, args); - } - [S$4.$createMediaElementSource](...args) { - return this.createMediaElementSource.apply(this, args); - } - [S$4.$createMediaStreamDestination](...args) { - return this.createMediaStreamDestination.apply(this, args); - } - [S$4.$createMediaStreamSource](...args) { - return this.createMediaStreamSource.apply(this, args); - } - [S$4.$createOscillator](...args) { - return this.createOscillator.apply(this, args); - } - [S$4.$createPanner](...args) { - return this.createPanner.apply(this, args); - } - [S$4.$createPeriodicWave](real, imag, options = null) { - 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); - } - return this[S$4._createPeriodicWave_2](real, imag); - } - [S$4._createPeriodicWave_1](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4._createPeriodicWave_2](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4.$createScriptProcessor](...args) { - return this.createScriptProcessor.apply(this, args); - } - [S$4.$createStereoPanner](...args) { - return this.createStereoPanner.apply(this, args); - } - [S$4.$createWaveShaper](...args) { - return this.createWaveShaper.apply(this, args); - } - [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]() { - return js_util.promiseToFuture(dart.dynamic, this.resume()); - } - }; - dart.addTypeTests(web_audio.BaseAudioContext); - dart.addTypeCaches(web_audio.BaseAudioContext); - dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [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$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, []), - [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), - [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), - [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), - [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$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$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$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[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$4.$baseLatency]() { - return this.baseLatency; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$4.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); - } - [S$4._getOutputTimestamp_1](...args) { - return this.getOutputTimestamp.apply(this, args); - } - [S$4.$suspend]() { - return js_util.promiseToFuture(dart.dynamic, this.suspend()); - } - static new() { - return new (window.AudioContext || window.webkitAudioContext)(); - } - static ['_#new#tearOff']() { - return web_audio.AudioContext.new(); - } - [S$4.$createGain]() { - if (this.createGain !== undefined) { - return this.createGain(); - } else { - return this.createGainNode(); - } - } - [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); - } else if (numberOfInputChannels != null) { - return $function.call(this, bufferSize, numberOfInputChannels); - } else if (bufferSize != null) { - return $function.call(this, bufferSize); - } else { - return $function.call(this); - } - } - [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.complete(nullErrorString); - errorInCallbackIsNull = true; - } - } - 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); - dart.addTypeCaches(web_audio.AudioContext); - dart.setMethodSignature(web_audio.AudioContext, () => ({ - __proto__: dart.getMethods(web_audio.AudioContext.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [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$4.$baseLatency]: dart.nullable(core.num) - })); - 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[161]); - dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); - web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioListener.__(); - } - get [S$4.$forwardX]() { - return this.forwardX; - } - get [S$4.$forwardY]() { - return this.forwardY; - } - get [S$4.$forwardZ]() { - return this.forwardZ; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$upX]() { - return this.upX; - } - get [S$4.$upY]() { - return this.upY; - } - get [S$4.$upZ]() { - return this.upZ; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AudioListener); - dart.addTypeCaches(web_audio.AudioListener); - dart.setMethodSignature(web_audio.AudioListener, () => ({ - __proto__: dart.getMethods(web_audio.AudioListener.__proto__), - [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), - [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), - [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$upX]: dart.nullable(web_audio.AudioParam), - [S$4.$upY]: dart.nullable(web_audio.AudioParam), - [S$4.$upZ]: dart.nullable(web_audio.AudioParam) - })); - dart.setLibraryUri(web_audio.AudioListener, I[161]); - dart.registerExtension("AudioListener", web_audio.AudioListener); - web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioParam.__(); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - get [S$4.$maxValue]() { - return this.maxValue; - } - get [S$4.$minValue]() { - return this.minValue; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [S$4.$cancelAndHoldAtTime](...args) { - return this.cancelAndHoldAtTime.apply(this, args); - } - [S$4.$cancelScheduledValues](...args) { - return this.cancelScheduledValues.apply(this, args); - } - [S$4.$exponentialRampToValueAtTime](...args) { - return this.exponentialRampToValueAtTime.apply(this, args); - } - [S$4.$linearRampToValueAtTime](...args) { - return this.linearRampToValueAtTime.apply(this, args); - } - [S$4.$setTargetAtTime](...args) { - return this.setTargetAtTime.apply(this, args); - } - [S$4.$setValueAtTime](...args) { - return this.setValueAtTime.apply(this, args); - } - [S$4.$setValueCurveAtTime](...args) { - return this.setValueCurveAtTime.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AudioParam); - dart.addTypeCaches(web_audio.AudioParam); - dart.setMethodSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getMethods(web_audio.AudioParam.__proto__), - [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), - [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), - [S$4.$maxValue]: dart.nullable(core.num), - [S$4.$minValue]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) - })); - dart.setSetterSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getSetters(web_audio.AudioParam.__proto__), - [S.$value]: dart.nullable(core.num) - })); - dart.setLibraryUri(web_audio.AudioParam, I[161]); - dart.registerExtension("AudioParam", web_audio.AudioParam); - 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[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[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[160], 455, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$4._getItem$1](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$4._getItem$1](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[160], 461, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 473, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 479, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - }; - dart.addTypeTests(web_audio.AudioParamMap); - dart.addTypeCaches(web_audio.AudioParamMap); - dart.setMethodSignature(web_audio.AudioParamMap, () => ({ - __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), - [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - get [S$4.$inputBuffer]() { - return this.inputBuffer; - } - get [S$4.$outputBuffer]() { - return this.outputBuffer; - } - get [S$4.$playbackTime]() { - return this.playbackTime; - } - }; - 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[161]); - dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); - web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioTrack.__(); - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } - }; - 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$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[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; - } - [S$4.__getter__$1](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return web_audio.AudioTrackList.changeEvent.forTarget(this); - } - }; - dart.addTypeTests(web_audio.AudioTrackList); - dart.addTypeCaches(web_audio.AudioTrackList); - dart.setMethodSignature(web_audio.AudioTrackList, () => ({ - __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), - [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[161]); - dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); - dart.defineLazy(web_audio.AudioTrackList, { - /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - 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$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$registerProcessor](...args) { - return this.registerProcessor.apply(this, args); - } - }; - dart.addTypeTests(web_audio.AudioWorkletGlobalScope); - dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); - 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$4.$sampleRate]: dart.nullable(core.num) - })); - 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[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); - } - static _create_2(context, name) { - return new AudioWorkletNode(context, name); - } - get [S$4.$parameters]() { - return this.parameters; - } - }; - 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[161]); - dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); - 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.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[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); - } - static _create_2(context) { - return new BiquadFilterNode(context); - } - get [S$4.$Q]() { - return this.Q; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S$4.$gain]() { - return this.gain; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } - }; - dart.addTypeTests(web_audio.BiquadFilterNode); - dart.addTypeCaches(web_audio.BiquadFilterNode); - 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$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) - })); - dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ - __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), - [S.$type]: dart.nullable(core.String) - })); - 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[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); - } - static _create_2(context) { - return new ChannelMergerNode(context); - } - }; - dart.addTypeTests(web_audio.ChannelMergerNode); - dart.addTypeCaches(web_audio.ChannelMergerNode); - 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[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); - } - static _create_2(context) { - return new ChannelSplitterNode(context); - } - }; - dart.addTypeTests(web_audio.ChannelSplitterNode); - dart.addTypeCaches(web_audio.ChannelSplitterNode); - 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[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); - } - static _create_2(context) { - return new ConstantSourceNode(context); - } - get [S.$offset]() { - return this.offset; - } - }; - 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[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[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); - } - static _create_2(context) { - return new ConvolverNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$normalize]() { - return this.normalize; - } - set [S$4.$normalize](value) { - this.normalize = value; - } - }; - 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), - [S$4.$normalize]: dart.nullable(core.bool) - })); - dart.setSetterSignature(web_audio.ConvolverNode, () => ({ - __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), - [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$4.$normalize]: dart.nullable(core.bool) - })); - 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[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); - } - static _create_2(context) { - return new DelayNode(context); - } - get [S$4.$delayTime]() { - return this.delayTime; - } - }; - 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[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[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); - } - static _create_2(context) { - return new DynamicsCompressorNode(context); - } - get [S$4.$attack]() { - return this.attack; - } - get [S$4.$knee]() { - return this.knee; - } - get [S$4.$ratio]() { - return this.ratio; - } - get [S$4.$reduction]() { - return this.reduction; - } - get [S$4.$release]() { - return this.release; - } - get [S$4.$threshold]() { - return this.threshold; - } - }; - 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), - [S$4.$knee]: dart.nullable(web_audio.AudioParam), - [S$4.$ratio]: dart.nullable(web_audio.AudioParam), - [S$4.$reduction]: dart.nullable(core.num), - [S$4.$release]: dart.nullable(web_audio.AudioParam), - [S$4.$threshold]: dart.nullable(web_audio.AudioParam) - })); - 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[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); - } - static _create_2(context) { - return new GainNode(context); - } - get [S$4.$gain]() { - return this.gain; - } - }; - 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[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[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); - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } - }; - dart.addTypeTests(web_audio.IirFilterNode); - dart.addTypeCaches(web_audio.IirFilterNode); - 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.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[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); - } - get [S$4.$mediaElement]() { - return this.mediaElement; - } - }; - 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[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[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); - } - static _create_2(context) { - return new MediaStreamAudioDestinationNode(context); - } - get [S$1.$stream]() { - return this.stream; - } - }; - 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[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[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); - } - get [S$4.$mediaStream]() { - return this.mediaStream; - } - }; - 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[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[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); - } - get [S$4.$renderedBuffer]() { - return this.renderedBuffer; - } - }; - 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[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); - } - if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { - let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); - return web_audio.OfflineAudioContext._create_2(options_1); - } - 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); - } - static _create_2(numberOfChannels_OR_options) { - return new OfflineAudioContext(numberOfChannels_OR_options); - } - get [$length]() { - return this.length; - } - [S$4.$startRendering]() { - return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); - } - [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); - return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); - } - }; - dart.addTypeTests(web_audio.OfflineAudioContext); - dart.addTypeCaches(web_audio.OfflineAudioContext); - dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), - [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[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[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$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$setPeriodicWave](...args) { - return this.setPeriodicWave.apply(this, args); - } - }; - dart.addTypeTests(web_audio.OscillatorNode); - dart.addTypeCaches(web_audio.OscillatorNode); - 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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$4.$frequency]: dart.nullable(web_audio.AudioParam), - [S.$type]: dart.nullable(core.String) - })); - dart.setSetterSignature(web_audio.OscillatorNode, () => ({ - __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), - [S.$type]: dart.nullable(core.String) - })); - 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[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); - } - static _create_2(context) { - return new PannerNode(context); - } - get [S$4.$coneInnerAngle]() { - return this.coneInnerAngle; - } - set [S$4.$coneInnerAngle](value) { - this.coneInnerAngle = value; - } - get [S$4.$coneOuterAngle]() { - return this.coneOuterAngle; - } - set [S$4.$coneOuterAngle](value) { - this.coneOuterAngle = value; - } - get [S$4.$coneOuterGain]() { - return this.coneOuterGain; - } - set [S$4.$coneOuterGain](value) { - this.coneOuterGain = value; - } - get [S$4.$distanceModel]() { - return this.distanceModel; - } - set [S$4.$distanceModel](value) { - this.distanceModel = value; - } - get [S$4.$maxDistance]() { - return this.maxDistance; - } - set [S$4.$maxDistance](value) { - this.maxDistance = value; - } - get [S$4.$orientationX]() { - return this.orientationX; - } - get [S$4.$orientationY]() { - return this.orientationY; - } - get [S$4.$orientationZ]() { - return this.orientationZ; - } - get [S$4.$panningModel]() { - return this.panningModel; - } - set [S$4.$panningModel](value) { - this.panningModel = value; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$refDistance]() { - return this.refDistance; - } - set [S$4.$refDistance](value) { - this.refDistance = value; - } - get [S$4.$rolloffFactor]() { - return this.rolloffFactor; - } - set [S$4.$rolloffFactor](value) { - this.rolloffFactor = value; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } - }; - dart.addTypeTests(web_audio.PannerNode); - dart.addTypeCaches(web_audio.PannerNode); - dart.setMethodSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getMethods(web_audio.PannerNode.__proto__), - [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), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), - [S$4.$panningModel]: dart.nullable(core.String), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) - })); - dart.setSetterSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getSetters(web_audio.PannerNode.__proto__), - [S$4.$coneInnerAngle]: dart.nullable(core.num), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$panningModel]: dart.nullable(core.String), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.PeriodicWave.__(); - } - static new(context, options = null) { - 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); - } - static _create_2(context) { - return new PeriodicWave(context); - } - }; - dart.addTypeTests(web_audio.PeriodicWave); - dart.addTypeCaches(web_audio.PeriodicWave); - 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; - } - [S$4.$setEventListener](...args) { - return this.setEventListener.apply(this, args); - } - get [S$4.$onAudioProcess]() { - return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); - } - }; - dart.addTypeTests(web_audio.ScriptProcessorNode); - dart.addTypeCaches(web_audio.ScriptProcessorNode); - 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[161]); - dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); - dart.defineLazy(web_audio.ScriptProcessorNode, { - /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - 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[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); - } - static _create_2(context) { - return new StereoPannerNode(context); - } - get [S$4.$pan]() { - return this.pan; - } - }; - 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[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[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); - } - static _create_2(context) { - return new WaveShaperNode(context); - } - get [S$4.$curve]() { - return this.curve; - } - set [S$4.$curve](value) { - this.curve = value; - } - get [S$4.$oversample]() { - return this.oversample; - } - set [S$4.$oversample](value) { - this.oversample = value; - } - }; - 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), - [S$4.$oversample]: dart.nullable(core.String) - })); - dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ - __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), - [S$4.$curve]: dart.nullable(typed_data.Float32List), - [S$4.$oversample]: dart.nullable(core.String) - })); - dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); - dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); - web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ActiveInfo.__(); - } - get [$name]() { - return this.name; - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } - }; - 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[162]); - dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); - web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.AngleInstancedArrays.__(); - } - [S$4.$drawArraysInstancedAngle](...args) { - return this.drawArraysInstancedANGLE.apply(this, args); - } - [S$4.$drawElementsInstancedAngle](...args) { - return this.drawElementsInstancedANGLE.apply(this, args); - } - [S$4.$vertexAttribDivisorAngle](...args) { - return this.vertexAttribDivisorANGLE.apply(this, args); - } - }; - dart.addTypeTests(web_gl.AngleInstancedArrays); - dart.addTypeCaches(web_gl.AngleInstancedArrays); - dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ - __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), - [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [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.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; - } - }, false); - dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); - dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); - 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.setStaticMethodSignature(web_gl.Buffer, () => ['__']); - dart.setLibraryUri(web_gl.Buffer, I[162]); - dart.registerExtension("WebGLBuffer", web_gl.Buffer); - web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Canvas.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$offscreenCanvas]() { - return this.canvas; - } - }; - 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[162]); - dart.registerExtension("WebGLCanvas", web_gl.Canvas); - 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.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); - dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); - dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); - 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.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; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { - return 37816; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { - return 37817; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { - return 37818; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { - return 37820; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { - return 37821; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { - return 37808; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { - return 37809; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { - return 37810; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { - return 37811; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { - return 37812; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { - return 37813; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { - return 37814; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { - return 37815; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { - return 37851; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { - return 37848; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { - return 37849; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { - return 37850; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { - return 37852; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { - return 37853; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { - return 37840; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { - return 37841; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { - return 37842; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { - return 37843; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { - return 37844; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { - return 37845; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { - return 37846; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { - return 37847; - } - }, false); - dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); - 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.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; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { - return 34798; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { - return 35986; - } - }, false); - dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); - dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); - 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.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; - } - }, false); - dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); - dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); - 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.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; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { - return 37490; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { - return 37492; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37494; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { - return 37496; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { - return 37489; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { - return 37491; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { - return 37497; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { - return 37493; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37495; - } - }, false); - dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); - 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.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; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { - return 35842; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { - return 35841; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { - return 35840; - } - }, false); - dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); - dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); - 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.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; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { - return 33778; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { - return 33779; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { - return 33776; - } - }, false); - dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); - dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); - 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.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; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { - return 35918; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { - return 35919; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { - return 35916; - } - }, 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[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); - } - static _create_2(type) { - return new WebGLContextEvent(type); - } - get [S$4.$statusMessage]() { - return this.statusMessage; - } - }; - 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[162]); - dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); - 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.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; - }, - /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { - return 37445; - } - }, false); - dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); - dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); - web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DebugShaders.__(); - } - [S$4.$getTranslatedShaderSource](...args) { - return this.getTranslatedShaderSource.apply(this, args); - } - }; - dart.addTypeTests(web_gl.DebugShaders); - dart.addTypeCaches(web_gl.DebugShaders); - 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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DepthTexture.__(); - } - }; - dart.addTypeTests(web_gl.DepthTexture); - dart.addTypeCaches(web_gl.DepthTexture); - 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; - } - }, false); - dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); - dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); - web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DrawBuffers.__(); - } - [S$4.$drawBuffersWebgl](...args) { - return this.drawBuffersWEBGL.apply(this, args); - } - }; - dart.addTypeTests(web_gl.DrawBuffers); - dart.addTypeCaches(web_gl.DrawBuffers); - dart.setMethodSignature(web_gl.DrawBuffers, () => ({ - __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), - [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.EXTsRgb.__(); - } - }; - dart.addTypeTests(web_gl.EXTsRgb); - dart.addTypeCaches(web_gl.EXTsRgb); - 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; - }, - /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { - return 35907; - }, - /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { - return 35906; - }, - /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { - return 35904; - } - }, false); - dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); - dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); - 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.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; - }, - /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { - return 32775; - } - }, false); - dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); - dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); - 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.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); - dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); - dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); - 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.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); - dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); - dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); - web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQuery.__(); - } - [S$4.$beginQueryExt](...args) { - return this.beginQueryEXT.apply(this, args); - } - [S$4.$createQueryExt](...args) { - return this.createQueryEXT.apply(this, args); - } - [S$4.$deleteQueryExt](...args) { - return this.deleteQueryEXT.apply(this, args); - } - [S$4.$endQueryExt](...args) { - return this.endQueryEXT.apply(this, args); - } - [S$4.$getQueryExt](...args) { - return this.getQueryEXT.apply(this, args); - } - [S$4.$getQueryObjectExt](...args) { - return this.getQueryObjectEXT.apply(this, args); - } - [S$4.$isQueryExt](...args) { - return this.isQueryEXT.apply(this, args); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } - }; - dart.addTypeTests(web_gl.ExtDisjointTimerQuery); - dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); - dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ - __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), - [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), - [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), - [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), - [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), - [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), - [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.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; - }, - /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { - return 36795; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { - return 34919; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { - return 34918; - }, - /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } - }, false); - dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); - web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQueryWebGL2.__(); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } - }; - dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); - dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); - 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.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; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } - }, false); - dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); - 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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtShaderTextureLod.__(); - } - }; - dart.addTypeTests(web_gl.ExtShaderTextureLod); - dart.addTypeCaches(web_gl.ExtShaderTextureLod); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtTextureFilterAnisotropic.__(); - } - }; - dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); - dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); - 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; - }, - /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { - return 34046; - } - }, false); - dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); - dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); - 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.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); - dart.setLibraryUri(web_gl.Framebuffer, I[162]); - dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); - 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[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)); - } - }; - dart.addTypeTests(web_gl.GetBufferSubDataAsync); - dart.addTypeCaches(web_gl.GetBufferSubDataAsync); - 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.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); - dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); - dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); - web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.LoseContext.__(); - } - [S$4.$loseContext](...args) { - return this.loseContext.apply(this, args); - } - [S$4.$restoreContext](...args) { - return this.restoreContext.apply(this, args); - } - }; - dart.addTypeTests(web_gl.LoseContext); - dart.addTypeCaches(web_gl.LoseContext); - dart.setMethodSignature(web_gl.LoseContext, () => ({ - __proto__: dart.getMethods(web_gl.LoseContext.__proto__), - [S$4.$loseContext]: dart.fnType(dart.void, []), - [S$4.$restoreContext]: dart.fnType(dart.void, []) - })); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesElementIndexUint.__(); - } - }; - dart.addTypeTests(web_gl.OesElementIndexUint); - dart.addTypeCaches(web_gl.OesElementIndexUint); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesStandardDerivatives.__(); - } - }; - dart.addTypeTests(web_gl.OesStandardDerivatives); - dart.addTypeCaches(web_gl.OesStandardDerivatives); - 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; - } - }, false); - dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); - dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); - 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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureFloatLinear.__(); - } - }; - dart.addTypeTests(web_gl.OesTextureFloatLinear); - dart.addTypeCaches(web_gl.OesTextureFloatLinear); - 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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureHalfFloat.__(); - } - }; - dart.addTypeTests(web_gl.OesTextureHalfFloat); - dart.addTypeCaches(web_gl.OesTextureHalfFloat); - 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; - } - }, false); - dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); - dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); - 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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesVertexArrayObject.__(); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArrayOES.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArrayOES.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArrayOES.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArrayOES.apply(this, args); - } - }; - dart.addTypeTests(web_gl.OesVertexArrayObject); - dart.addTypeCaches(web_gl.OesVertexArrayObject); - dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ - __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), - [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), - [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.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; - } - }, false); - dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); - dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); - 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.setStaticMethodSignature(web_gl.Program, () => ['__']); - dart.setLibraryUri(web_gl.Program, I[162]); - dart.registerExtension("WebGLProgram", web_gl.Program); - 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.setStaticMethodSignature(web_gl.Query, () => ['__']); - dart.setLibraryUri(web_gl.Query, I[162]); - dart.registerExtension("WebGLQuery", web_gl.Query); - 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.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); - dart.setLibraryUri(web_gl.Renderbuffer, I[162]); - dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); - web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext.__(); - } - static get supported() { - return !!window.WebGLRenderingContext; - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, pixels) { - 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[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[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[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[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[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[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); - } - }; - dart.addTypeTests(web_gl.RenderingContext); - dart.addTypeCaches(web_gl.RenderingContext); - web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; - dart.setMethodSignature(web_gl.RenderingContext, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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, dart.nullable(typed_data.TypedData)]), - [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext2.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$4.$beginQuery](...args) { - return this.beginQuery.apply(this, args); - } - [S$4.$beginTransformFeedback](...args) { - return this.beginTransformFeedback.apply(this, args); - } - [S$4.$bindBufferBase](...args) { - return this.bindBufferBase.apply(this, args); - } - [S$4.$bindBufferRange](...args) { - return this.bindBufferRange.apply(this, args); - } - [S$4.$bindSampler](...args) { - return this.bindSampler.apply(this, args); - } - [S$4.$bindTransformFeedback](...args) { - return this.bindTransformFeedback.apply(this, args); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArray.apply(this, args); - } - [S$4.$blitFramebuffer](...args) { - return this.blitFramebuffer.apply(this, args); - } - [S$4.$bufferData2](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData2](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$clearBufferfi](...args) { - return this.clearBufferfi.apply(this, args); - } - [S$4.$clearBufferfv](...args) { - return this.clearBufferfv.apply(this, args); - } - [S$4.$clearBufferiv](...args) { - return this.clearBufferiv.apply(this, args); - } - [S$4.$clearBufferuiv](...args) { - return this.clearBufferuiv.apply(this, args); - } - [S$4.$clientWaitSync](...args) { - return this.clientWaitSync.apply(this, args); - } - [S$4.$compressedTexImage2D2](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage2D3](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage3D](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexImage3D2](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage2D2](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D3](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage3D](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage3D2](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$copyBufferSubData](...args) { - return this.copyBufferSubData.apply(this, args); - } - [S$4.$copyTexSubImage3D](...args) { - return this.copyTexSubImage3D.apply(this, args); - } - [S$4.$createQuery](...args) { - return this.createQuery.apply(this, args); - } - [S$4.$createSampler](...args) { - return this.createSampler.apply(this, args); - } - [S$4.$createTransformFeedback](...args) { - return this.createTransformFeedback.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArray.apply(this, args); - } - [S$4.$deleteQuery](...args) { - return this.deleteQuery.apply(this, args); - } - [S$4.$deleteSampler](...args) { - return this.deleteSampler.apply(this, args); - } - [S$4.$deleteSync](...args) { - return this.deleteSync.apply(this, args); - } - [S$4.$deleteTransformFeedback](...args) { - return this.deleteTransformFeedback.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArray.apply(this, args); - } - [S$4.$drawArraysInstanced](...args) { - return this.drawArraysInstanced.apply(this, args); - } - [S$4.$drawBuffers](...args) { - return this.drawBuffers.apply(this, args); - } - [S$4.$drawElementsInstanced](...args) { - return this.drawElementsInstanced.apply(this, args); - } - [S$4.$drawRangeElements](...args) { - return this.drawRangeElements.apply(this, args); - } - [S$4.$endQuery](...args) { - return this.endQuery.apply(this, args); - } - [S$4.$endTransformFeedback](...args) { - return this.endTransformFeedback.apply(this, args); - } - [S$4.$fenceSync](...args) { - return this.fenceSync.apply(this, args); - } - [S$4.$framebufferTextureLayer](...args) { - return this.framebufferTextureLayer.apply(this, args); - } - [S$4.$getActiveUniformBlockName](...args) { - return this.getActiveUniformBlockName.apply(this, args); - } - [S$4.$getActiveUniformBlockParameter](...args) { - return this.getActiveUniformBlockParameter.apply(this, args); - } - [S$4.$getActiveUniforms](...args) { - return this.getActiveUniforms.apply(this, args); - } - [S$4.$getBufferSubData](...args) { - return this.getBufferSubData.apply(this, args); - } - [S$4.$getFragDataLocation](...args) { - return this.getFragDataLocation.apply(this, args); - } - [S$4.$getIndexedParameter](...args) { - return this.getIndexedParameter.apply(this, args); - } - [S$4.$getInternalformatParameter](...args) { - return this.getInternalformatParameter.apply(this, args); - } - [S$4.$getQuery](...args) { - return this.getQuery.apply(this, args); - } - [S$4.$getQueryParameter](...args) { - return this.getQueryParameter.apply(this, args); - } - [S$4.$getSamplerParameter](...args) { - return this.getSamplerParameter.apply(this, args); - } - [S$4.$getSyncParameter](...args) { - return this.getSyncParameter.apply(this, args); - } - [S$4.$getTransformFeedbackVarying](...args) { - return this.getTransformFeedbackVarying.apply(this, args); - } - [S$4.$getUniformBlockIndex](...args) { - return this.getUniformBlockIndex.apply(this, args); - } - [S$4.$getUniformIndices](program, 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); - } - [S$4._getUniformIndices_1](...args) { - return this.getUniformIndices.apply(this, args); - } - [S$4.$invalidateFramebuffer](...args) { - return this.invalidateFramebuffer.apply(this, args); - } - [S$4.$invalidateSubFramebuffer](...args) { - return this.invalidateSubFramebuffer.apply(this, args); - } - [S$4.$isQuery](...args) { - return this.isQuery.apply(this, args); - } - [S$4.$isSampler](...args) { - return this.isSampler.apply(this, args); - } - [S$4.$isSync](...args) { - return this.isSync.apply(this, args); - } - [S$4.$isTransformFeedback](...args) { - return this.isTransformFeedback.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArray.apply(this, args); - } - [S$4.$pauseTransformFeedback](...args) { - return this.pauseTransformFeedback.apply(this, args); - } - [S$4.$readBuffer](...args) { - return this.readBuffer.apply(this, args); - } - [S$4.$readPixels2](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorageMultisample](...args) { - return this.renderbufferStorageMultisample.apply(this, args); - } - [S$4.$resumeTransformFeedback](...args) { - return this.resumeTransformFeedback.apply(this, args); - } - [S$4.$samplerParameterf](...args) { - return this.samplerParameterf.apply(this, args); - } - [S$4.$samplerParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D2_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { - this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage3D_1](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_2](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_3](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_4](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_5](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_6](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_7](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_8](...args) { - return this.texImage3D.apply(this, args); - } - [S$4.$texStorage2D](...args) { - return this.texStorage2D.apply(this, args); - } - [S$4.$texStorage3D](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D2_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage3D_1](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_2](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_3](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_4](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_5](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_6](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_7](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_8](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4.$transformFeedbackVaryings](program, varyings, 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; - } - [S$4._transformFeedbackVaryings_1](...args) { - return this.transformFeedbackVaryings.apply(this, args); - } - [S$4.$uniform1fv2](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1iv2](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform1ui](...args) { - return this.uniform1ui.apply(this, args); - } - [S$4.$uniform1uiv](...args) { - return this.uniform1uiv.apply(this, args); - } - [S$4.$uniform2fv2](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2iv2](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform2ui](...args) { - return this.uniform2ui.apply(this, args); - } - [S$4.$uniform2uiv](...args) { - return this.uniform2uiv.apply(this, args); - } - [S$4.$uniform3fv2](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3iv2](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform3ui](...args) { - return this.uniform3ui.apply(this, args); - } - [S$4.$uniform3uiv](...args) { - return this.uniform3uiv.apply(this, args); - } - [S$4.$uniform4fv2](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4iv2](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniform4ui](...args) { - return this.uniform4ui.apply(this, args); - } - [S$4.$uniform4uiv](...args) { - return this.uniform4uiv.apply(this, args); - } - [S$4.$uniformBlockBinding](...args) { - return this.uniformBlockBinding.apply(this, args); - } - [S$4.$uniformMatrix2fv2](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix2x3fv](...args) { - return this.uniformMatrix2x3fv.apply(this, args); - } - [S$4.$uniformMatrix2x4fv](...args) { - return this.uniformMatrix2x4fv.apply(this, args); - } - [S$4.$uniformMatrix3fv2](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix3x2fv](...args) { - return this.uniformMatrix3x2fv.apply(this, args); - } - [S$4.$uniformMatrix3x4fv](...args) { - return this.uniformMatrix3x4fv.apply(this, args); - } - [S$4.$uniformMatrix4fv2](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$uniformMatrix4x2fv](...args) { - return this.uniformMatrix4x2fv.apply(this, args); - } - [S$4.$uniformMatrix4x3fv](...args) { - return this.uniformMatrix4x3fv.apply(this, args); - } - [S$4.$vertexAttribDivisor](...args) { - return this.vertexAttribDivisor.apply(this, args); - } - [S$4.$vertexAttribI4i](...args) { - return this.vertexAttribI4i.apply(this, args); - } - [S$4.$vertexAttribI4iv](...args) { - return this.vertexAttribI4iv.apply(this, args); - } - [S$4.$vertexAttribI4ui](...args) { - return this.vertexAttribI4ui.apply(this, args); - } - [S$4.$vertexAttribI4uiv](...args) { - return this.vertexAttribI4uiv.apply(this, args); - } - [S$4.$vertexAttribIPointer](...args) { - return this.vertexAttribIPointer.apply(this, args); - } - [S$4.$waitSync](...args) { - return this.waitSync.apply(this, args); - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, 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); - } - }; - dart.addTypeTests(web_gl.RenderingContext2); - dart.addTypeCaches(web_gl.RenderingContext2); - web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; - dart.setMethodSignature(web_gl.RenderingContext2, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), - [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), - [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), - [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), - [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), - [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), - [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), - [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), - [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), - [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), - [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), - [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), - [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), - [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), - [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), - [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), - [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), - [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), - [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), - [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), - [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), - [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), - [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), - [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), - [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), - [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), - [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), - [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), - [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), - [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), - [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), - [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), - [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), - [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), - [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), - [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), - [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), - [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), - [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), - [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), - [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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[162]); - dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); - 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.setStaticMethodSignature(web_gl.Sampler, () => ['__']); - dart.setLibraryUri(web_gl.Sampler, I[162]); - dart.registerExtension("WebGLSampler", web_gl.Sampler); - 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.setStaticMethodSignature(web_gl.Shader, () => ['__']); - dart.setLibraryUri(web_gl.Shader, I[162]); - dart.registerExtension("WebGLShader", web_gl.Shader); - web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ShaderPrecisionFormat.__(); - } - get [S$4.$precision]() { - return this.precision; - } - get [S$4.$rangeMax]() { - return this.rangeMax; - } - get [S$4.$rangeMin]() { - return this.rangeMin; - } - }; - 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[162]); - dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); - 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.setStaticMethodSignature(web_gl.Sync, () => ['__']); - dart.setLibraryUri(web_gl.Sync, I[162]); - dart.registerExtension("WebGLSync", web_gl.Sync); - web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Texture.__(); - } - get [S$4.$lastUploadedVideoFrameWasSkipped]() { - return this.lastUploadedVideoFrameWasSkipped; - } - get [S$4.$lastUploadedVideoHeight]() { - return this.lastUploadedVideoHeight; - } - get [S$4.$lastUploadedVideoTimestamp]() { - return this.lastUploadedVideoTimestamp; - } - get [S$4.$lastUploadedVideoWidth]() { - return this.lastUploadedVideoWidth; - } - }; - 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), - [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), - [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), - [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) - })); - dart.setLibraryUri(web_gl.Texture, I[162]); - dart.registerExtension("WebGLTexture", web_gl.Texture); - 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.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); - dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); - dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); - 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.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); - dart.setLibraryUri(web_gl.TransformFeedback, I[162]); - dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); - 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.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); - dart.setLibraryUri(web_gl.UniformLocation, I[162]); - dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); - 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.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); - dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); - dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); - 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.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 { - 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.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; - }, - /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { - return 34016; - }, - /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { - return 35718; - }, - /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { - return 35382; - }, - /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { - return 33902; - }, - /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { - return 33901; - }, - /*web_gl.WebGL.ALPHA*/get ALPHA() { - return 6406; - }, - /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { - return 3413; - }, - /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { - return 37146; - }, - /*web_gl.WebGL.ALWAYS*/get ALWAYS() { - return 519; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { - return 35887; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { - return 36202; - }, - /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { - return 34962; - }, - /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { - return 34964; - }, - /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { - return 35717; - }, - /*web_gl.WebGL.BACK*/get BACK() { - return 1029; - }, - /*web_gl.WebGL.BLEND*/get BLEND() { - return 3042; - }, - /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { - return 32773; - }, - /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { - return 32970; - }, - /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { - return 32968; - }, - /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { - return 32777; - }, - /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { - return 34877; - }, - /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { - return 32777; - }, - /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { - return 32971; - }, - /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { - return 32969; - }, - /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { - return 3412; - }, - /*web_gl.WebGL.BOOL*/get BOOL() { - return 35670; - }, - /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { - return 35671; - }, - /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { - return 35672; - }, - /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { - return 35673; - }, - /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { - return 37444; - }, - /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { - return 34660; - }, - /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { - return 34661; - }, - /*web_gl.WebGL.BYTE*/get BYTE() { - return 5120; - }, - /*web_gl.WebGL.CCW*/get CCW() { - return 2305; - }, - /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { - return 33071; - }, - /*web_gl.WebGL.COLOR*/get COLOR() { - return 6144; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { - return 36073; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { - return 36073; - }, - /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { - return 16384; - }, - /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { - return 3106; - }, - /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { - return 3107; - }, - /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { - return 34894; - }, - /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { - return 35713; - }, - /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { - return 34467; - }, - /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { - return 37148; - }, - /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { - return 32771; - }, - /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { - return 32769; - }, - /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { - return 37442; - }, - /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { - return 36662; - }, - /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { - return 36662; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { - return 36663; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { - return 36663; - }, - /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { - return 2884; - }, - /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { - return 2885; - }, - /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { - return 35725; - }, - /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { - return 34917; - }, - /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { - return 34342; - }, - /*web_gl.WebGL.CW*/get CW() { - return 2304; - }, - /*web_gl.WebGL.DECR*/get DECR() { - return 7683; - }, - /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { - return 34056; - }, - /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { - return 35712; - }, - /*web_gl.WebGL.DEPTH*/get DEPTH() { - return 6145; - }, - /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { - return 35056; - }, - /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { - return 36013; - }, - /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { - return 36096; - }, - /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { - return 3414; - }, - /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { - return 256; - }, - /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { - return 2931; - }, - /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { - return 6402; - }, - /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { - return 33189; - }, - /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { - return 33190; - }, - /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { - return 36012; - }, - /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { - return 2932; - }, - /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { - return 2928; - }, - /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { - return 34041; - }, - /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { - return 33306; - }, - /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { - return 2929; - }, - /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { - return 2930; - }, - /*web_gl.WebGL.DITHER*/get DITHER() { - return 3024; - }, - /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { - return 4352; - }, - /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { - return 34862; - }, - /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { - return 34862; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { - return 36009; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { - return 772; - }, - /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { - return 774; - }, - /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { - return 35050; - }, - /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { - return 35048; - }, - /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { - return 35049; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { - return 34963; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { - return 34965; - }, - /*web_gl.WebGL.EQUAL*/get EQUAL() { - return 514; - }, - /*web_gl.WebGL.FASTEST*/get FASTEST() { - return 4353; - }, - /*web_gl.WebGL.FLOAT*/get FLOAT() { - return 5126; - }, - /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { - return 36269; - }, - /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { - return 35674; - }, - /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { - return 35685; - }, - /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { - return 35686; - }, - /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { - return 35675; - }, - /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { - return 35687; - }, - /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { - return 35688; - }, - /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { - return 35676; - }, - /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { - return 35689; - }, - /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { - return 35690; - }, - /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { - return 35664; - }, - /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { - return 35665; - }, - /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { - return 35666; - }, - /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { - return 35632; - }, - /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { - return 35723; - }, - /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { - return 36160; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { - return 33301; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { - return 33300; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { - return 33296; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { - return 33297; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { - return 33302; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { - return 33299; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { - return 36049; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { - return 36048; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { - return 33298; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { - return 33303; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { - return 36051; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { - return 36052; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { - return 36050; - }, - /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { - return 36053; - }, - /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { - return 33304; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { - return 36054; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { - return 36057; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { - return 36055; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { - return 36182; - }, - /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { - return 36061; - }, - /*web_gl.WebGL.FRONT*/get FRONT() { - return 1028; - }, - /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { - return 1032; - }, - /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { - return 2886; - }, - /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { - return 32774; - }, - /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { - return 32779; - }, - /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { - return 32778; - }, - /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { - return 33170; - }, - /*web_gl.WebGL.GEQUAL*/get GEQUAL() { - return 518; - }, - /*web_gl.WebGL.GREATER*/get GREATER() { - return 516; - }, - /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { - return 3411; - }, - /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { - return 5131; - }, - /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { - return 36338; - }, - /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { - return 36341; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { - return 35739; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { - return 35738; - }, - /*web_gl.WebGL.INCR*/get INCR() { - return 7682; - }, - /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { - return 34055; - }, - /*web_gl.WebGL.INT*/get INT() { - return 5124; - }, - /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { - return 35980; - }, - /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { - return 36255; - }, - /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { - return 36298; - }, - /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { - return 36303; - }, - /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { - return 36299; - }, - /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { - return 36300; - }, - /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { - return 35667; - }, - /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { - return 35668; - }, - /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { - return 35669; - }, - /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { - return 1280; - }, - /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { - return 1286; - }, - /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { - return 4294967295.0; - }, - /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { - return 1282; - }, - /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { - return 1281; - }, - /*web_gl.WebGL.INVERT*/get INVERT() { - return 5386; - }, - /*web_gl.WebGL.KEEP*/get KEEP() { - return 7680; - }, - /*web_gl.WebGL.LEQUAL*/get LEQUAL() { - return 515; - }, - /*web_gl.WebGL.LESS*/get LESS() { - return 513; - }, - /*web_gl.WebGL.LINEAR*/get LINEAR() { - return 9729; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { - return 9987; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { - return 9985; - }, - /*web_gl.WebGL.LINES*/get LINES() { - return 1; - }, - /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { - return 2; - }, - /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { - return 3; - }, - /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { - return 2849; - }, - /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { - return 35714; - }, - /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { - return 36336; - }, - /*web_gl.WebGL.LOW_INT*/get LOW_INT() { - return 36339; - }, - /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { - return 6409; - }, - /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { - return 6410; - }, - /*web_gl.WebGL.MAX*/get MAX() { - return 32776; - }, - /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { - return 32883; - }, - /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { - return 35071; - }, - /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { - return 37447; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { - return 36063; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { - return 36063; - }, - /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { - return 35379; - }, - /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { - return 35661; - }, - /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { - return 35374; - }, - /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { - return 35377; - }, - /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { - return 34076; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { - return 34852; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { - return 34852; - }, - /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { - return 33001; - }, - /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { - return 33000; - }, - /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { - return 36203; - }, - /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { - return 37157; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { - return 35373; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { - return 35657; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { - return 36349; - }, - /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { - return 35077; - }, - /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { - return 34024; - }, - /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { - return 36183; - }, - /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { - return 37137; - }, - /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { - return 34930; - }, - /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { - return 34045; - }, - /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { - return 3379; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { - return 35978; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { - return 35979; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { - return 35968; - }, - /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { - return 35376; - }, - /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { - return 35375; - }, - /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { - return 35659; - }, - /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { - return 36348; - }, - /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { - return 34921; - }, - /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { - return 37154; - }, - /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { - return 35660; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { - return 35371; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { - return 35658; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { - return 36347; - }, - /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { - return 3386; - }, - /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { - return 36337; - }, - /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { - return 36340; - }, - /*web_gl.WebGL.MIN*/get MIN() { - return 32775; - }, - /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { - return 35076; - }, - /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { - return 33648; - }, - /*web_gl.WebGL.NEAREST*/get NEAREST() { - return 9728; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { - return 9986; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { - return 9984; - }, - /*web_gl.WebGL.NEVER*/get NEVER() { - return 512; - }, - /*web_gl.WebGL.NICEST*/get NICEST() { - return 4354; - }, - /*web_gl.WebGL.NONE*/get NONE() { - return 0; - }, - /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { - return 517; - }, - /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { - return 0; - }, - /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { - return 37138; - }, - /*web_gl.WebGL.ONE*/get ONE() { - return 1; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { - return 32772; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { - return 32770; - }, - /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { - return 773; - }, - /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { - return 775; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { - return 771; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { - return 769; - }, - /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { - return 1285; - }, - /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { - return 3333; - }, - /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { - return 3330; - }, - /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { - return 3332; - }, - /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { - return 3331; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { - return 35051; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { - return 35053; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { - return 35052; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { - return 35055; - }, - /*web_gl.WebGL.POINTS*/get POINTS() { - return 0; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { - return 32824; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { - return 32823; - }, - /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { - return 10752; - }, - /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { - return 34918; - }, - /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { - return 34919; - }, - /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { - return 35898; - }, - /*web_gl.WebGL.R16F*/get R16F() { - return 33325; - }, - /*web_gl.WebGL.R16I*/get R16I() { - return 33331; - }, - /*web_gl.WebGL.R16UI*/get R16UI() { - return 33332; - }, - /*web_gl.WebGL.R32F*/get R32F() { - return 33326; - }, - /*web_gl.WebGL.R32I*/get R32I() { - return 33333; - }, - /*web_gl.WebGL.R32UI*/get R32UI() { - return 33334; - }, - /*web_gl.WebGL.R8*/get R8() { - return 33321; - }, - /*web_gl.WebGL.R8I*/get R8I() { - return 33329; - }, - /*web_gl.WebGL.R8UI*/get R8UI() { - return 33330; - }, - /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { - return 36756; - }, - /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { - return 35977; - }, - /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { - return 3074; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { - return 36008; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { - return 36010; - }, - /*web_gl.WebGL.RED*/get RED() { - return 6403; - }, - /*web_gl.WebGL.RED_BITS*/get RED_BITS() { - return 3410; - }, - /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { - return 36244; - }, - /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { - return 36161; - }, - /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { - return 36179; - }, - /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { - return 36007; - }, - /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { - return 36178; - }, - /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { - return 36180; - }, - /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { - return 36177; - }, - /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { - return 36163; - }, - /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { - return 36164; - }, - /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { - return 36176; - }, - /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { - return 36011; - }, - /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { - return 36181; - }, - /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { - return 36162; - }, - /*web_gl.WebGL.RENDERER*/get RENDERER() { - return 7937; - }, - /*web_gl.WebGL.REPEAT*/get REPEAT() { - return 10497; - }, - /*web_gl.WebGL.REPLACE*/get REPLACE() { - return 7681; - }, - /*web_gl.WebGL.RG*/get RG() { - return 33319; - }, - /*web_gl.WebGL.RG16F*/get RG16F() { - return 33327; - }, - /*web_gl.WebGL.RG16I*/get RG16I() { - return 33337; - }, - /*web_gl.WebGL.RG16UI*/get RG16UI() { - return 33338; - }, - /*web_gl.WebGL.RG32F*/get RG32F() { - return 33328; - }, - /*web_gl.WebGL.RG32I*/get RG32I() { - return 33339; - }, - /*web_gl.WebGL.RG32UI*/get RG32UI() { - return 33340; - }, - /*web_gl.WebGL.RG8*/get RG8() { - return 33323; - }, - /*web_gl.WebGL.RG8I*/get RG8I() { - return 33335; - }, - /*web_gl.WebGL.RG8UI*/get RG8UI() { - return 33336; - }, - /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { - return 36757; - }, - /*web_gl.WebGL.RGB*/get RGB() { - return 6407; - }, - /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { - return 32857; - }, - /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { - return 36975; - }, - /*web_gl.WebGL.RGB16F*/get RGB16F() { - return 34843; - }, - /*web_gl.WebGL.RGB16I*/get RGB16I() { - return 36233; - }, - /*web_gl.WebGL.RGB16UI*/get RGB16UI() { - return 36215; - }, - /*web_gl.WebGL.RGB32F*/get RGB32F() { - return 34837; - }, - /*web_gl.WebGL.RGB32I*/get RGB32I() { - return 36227; - }, - /*web_gl.WebGL.RGB32UI*/get RGB32UI() { - return 36209; - }, - /*web_gl.WebGL.RGB565*/get RGB565() { - return 36194; - }, - /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { - return 32855; - }, - /*web_gl.WebGL.RGB8*/get RGB8() { - return 32849; - }, - /*web_gl.WebGL.RGB8I*/get RGB8I() { - return 36239; - }, - /*web_gl.WebGL.RGB8UI*/get RGB8UI() { - return 36221; - }, - /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { - return 36758; - }, - /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { - return 35901; - }, - /*web_gl.WebGL.RGBA*/get RGBA() { - return 6408; - }, - /*web_gl.WebGL.RGBA16F*/get RGBA16F() { - return 34842; - }, - /*web_gl.WebGL.RGBA16I*/get RGBA16I() { - return 36232; - }, - /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { - return 36214; - }, - /*web_gl.WebGL.RGBA32F*/get RGBA32F() { - return 34836; - }, - /*web_gl.WebGL.RGBA32I*/get RGBA32I() { - return 36226; - }, - /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { - return 36208; - }, - /*web_gl.WebGL.RGBA4*/get RGBA4() { - return 32854; - }, - /*web_gl.WebGL.RGBA8*/get RGBA8() { - return 32856; - }, - /*web_gl.WebGL.RGBA8I*/get RGBA8I() { - return 36238; - }, - /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { - return 36220; - }, - /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { - return 36759; - }, - /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { - return 36249; - }, - /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { - return 36248; - }, - /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { - return 33320; - }, - /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { - return 35678; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { - return 36289; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { - return 36292; - }, - /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { - return 35682; - }, - /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { - return 35679; - }, - /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { - return 35097; - }, - /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { - return 35680; - }, - /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { - return 36293; - }, - /*web_gl.WebGL.SAMPLES*/get SAMPLES() { - return 32937; - }, - /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { - return 32926; - }, - /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { - return 32936; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { - return 32928; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { - return 32939; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { - return 32938; - }, - /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { - return 3088; - }, - /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { - return 3089; - }, - /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { - return 35981; - }, - /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { - return 35663; - }, - /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { - return 35724; - }, - /*web_gl.WebGL.SHORT*/get SHORT() { - return 5122; - }, - /*web_gl.WebGL.SIGNALED*/get SIGNALED() { - return 37145; - }, - /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { - return 36764; - }, - /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { - return 770; - }, - /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { - return 776; - }, - /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { - return 768; - }, - /*web_gl.WebGL.SRGB*/get SRGB() { - return 35904; - }, - /*web_gl.WebGL.SRGB8*/get SRGB8() { - return 35905; - }, - /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { - return 35907; - }, - /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { - return 35046; - }, - /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { - return 35044; - }, - /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { - return 35045; - }, - /*web_gl.WebGL.STENCIL*/get STENCIL() { - return 6146; - }, - /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { - return 36128; - }, - /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { - return 34817; - }, - /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { - return 34816; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { - return 34818; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { - return 34819; - }, - /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { - return 36003; - }, - /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { - return 36004; - }, - /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { - return 36005; - }, - /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { - return 3415; - }, - /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { - return 1024; - }, - /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { - return 2961; - }, - /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { - return 2964; - }, - /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { - return 2962; - }, - /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { - return 36168; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { - return 2965; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { - return 2966; - }, - /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { - return 2967; - }, - /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { - return 2960; - }, - /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { - return 2963; - }, - /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { - return 2968; - }, - /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { - return 35042; - }, - /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { - return 35040; - }, - /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { - return 35041; - }, - /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { - return 3408; - }, - /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { - return 37139; - }, - /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { - return 37142; - }, - /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { - return 37141; - }, - /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { - return 1; - }, - /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { - return 37143; - }, - /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { - return 37140; - }, - /*web_gl.WebGL.TEXTURE*/get TEXTURE() { - return 5890; - }, - /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { - return 33984; - }, - /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { - return 33985; - }, - /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { - return 33994; - }, - /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { - return 33995; - }, - /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { - return 33996; - }, - /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { - return 33997; - }, - /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { - return 33998; - }, - /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { - return 33999; - }, - /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { - return 34000; - }, - /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { - return 34001; - }, - /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { - return 34002; - }, - /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { - return 34003; - }, - /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { - return 33986; - }, - /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { - return 34004; - }, - /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { - return 34005; - }, - /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { - return 34006; - }, - /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { - return 34007; - }, - /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { - return 34008; - }, - /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { - return 34009; - }, - /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { - return 34010; - }, - /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { - return 34011; - }, - /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { - return 34012; - }, - /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { - return 34013; - }, - /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { - return 33987; - }, - /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { - return 34014; - }, - /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { - return 34015; - }, - /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { - return 33988; - }, - /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { - return 33989; - }, - /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { - return 33990; - }, - /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { - return 33991; - }, - /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { - return 33992; - }, - /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { - return 33993; - }, - /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { - return 3553; - }, - /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { - return 35866; - }, - /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { - return 32879; - }, - /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { - return 33084; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { - return 32873; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { - return 35869; - }, - /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { - return 32874; - }, - /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { - return 34068; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { - return 34893; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { - return 34892; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { - return 34067; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { - return 34070; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { - return 34072; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { - return 34074; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { - return 34069; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { - return 34071; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { - return 34073; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { - return 37167; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { - return 33503; - }, - /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { - return 10240; - }, - /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { - return 33085; - }, - /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { - return 33083; - }, - /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { - return 10241; - }, - /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { - return 33082; - }, - /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { - return 32882; - }, - /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { - return 10242; - }, - /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { - return 10243; - }, - /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { - return 37147; - }, - /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { - return -1; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { - return 36386; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { - return 36388; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { - return 36389; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { - return 35982; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { - return 35983; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { - return 35967; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { - return 35973; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { - return 35972; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { - return 36387; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { - return 35976; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { - return 35971; - }, - /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { - return 4; - }, - /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { - return 6; - }, - /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { - return 5; - }, - /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { - return 35388; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { - return 35394; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { - return 35395; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { - return 35391; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { - return 35392; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { - return 35386; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { - return 35398; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { - return 35396; - }, - /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { - return 35345; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { - return 35368; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { - return 35380; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { - return 35370; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { - return 35369; - }, - /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { - return 35390; - }, - /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { - return 35389; - }, - /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { - return 35387; - }, - /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { - return 35384; - }, - /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { - return 35383; - }, - /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { - return 3317; - }, - /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { - return 37443; - }, - /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { - return 37440; - }, - /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { - return 32878; - }, - /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { - return 37441; - }, - /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { - return 3314; - }, - /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { - return 32877; - }, - /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { - return 3316; - }, - /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { - return 3315; - }, - /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { - return 37144; - }, - /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { - return 5121; - }, - /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { - return 5125; - }, - /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { - return 35899; - }, - /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { - return 34042; - }, - /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { - return 33640; - }, - /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { - return 35902; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { - return 36306; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { - return 36311; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { - return 36307; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { - return 36308; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { - return 36294; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { - return 36295; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { - return 36296; - }, - /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { - return 35863; - }, - /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { - return 5123; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { - return 32819; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { - return 32820; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { - return 33635; - }, - /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { - return 35715; - }, - /*web_gl.WebGL.VENDOR*/get VENDOR() { - return 7936; - }, - /*web_gl.WebGL.VERSION*/get VERSION() { - return 7938; - }, - /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { - return 34229; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { - return 34975; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { - return 35070; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { - return 34338; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { - return 35069; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { - return 34922; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { - return 34373; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { - return 34339; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { - return 34340; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { - return 34341; - }, - /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { - return 35633; - }, - /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { - return 2978; - }, - /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { - return 37149; - }, - /*web_gl.WebGL.ZERO*/get ZERO() { - return 0; - } - }, false); - dart.registerExtension("WebGL", web_gl.WebGL); - 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.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); - dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); - dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); - web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl._WebGLRenderingContextBase.__(); - } - }; - 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._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); - } - } - detach(detachToken) { - if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); - this[_registry].unregister(detachToken); - } - } - (_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], 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[9]); - dart.setFieldSignature(core._CompileTimeError, () => ({ - __proto__: dart.getFields(core._CompileTimeError.__proto__), - [_errorMsg$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(core._CompileTimeError, ['toString']); - 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$4]) + "' is already initialized."; - } - }; - (core._DuplicatedFieldInitializerError.new = function(_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[9]); - dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ - __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$4]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); - var _used$ = dart.privateName(core, "_used"); - var _digits$ = dart.privateName(core, "_digits"); - var _isNegative = dart.privateName(core, "_isNegative"); - var _isZero = dart.privateName(core, "_isZero"); - var _dlShift = dart.privateName(core, "_dlShift"); - var _drShift = dart.privateName(core, "_drShift"); - var _absCompare = dart.privateName(core, "_absCompare"); - var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); - var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); - var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); - var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); - var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); - var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); - var _divRem = dart.privateName(core, "_divRem"); - var _div = dart.privateName(core, "_div"); - var _rem = dart.privateName(core, "_rem"); - 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], 1112, 35, "source"); - let radix = opts && 'radix' in opts ? opts.radix : null; - let result = core._BigIntImpl._tryParse(source, {radix: radix}); - if (result == null) { - dart.throw(new core.FormatException.new("Could not parse BigInt", source)); - } - return result; - } - static _parseDecimal(source, 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); - if (digitInPartCount === 4) digitInPartCount = 0; - for (let i = 0; i < source.length; i = i + 1) { - part = part * 10 + source[$codeUnitAt](i) - 48; - if ((digitInPartCount = digitInPartCount + 1) === 4) { - result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); - part = 0; - digitInPartCount = 0; - } - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _codeUnitToRadixValue(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 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](); - let digits = _native_typed_data.NativeUint16List.new(chunkCount); - let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; - let digitIndex = dart.notNull(digits[$length]) - 1; - let i = startPos; - let chunk = 0; - for (let j = 0; j < lastDigitLength; j = j + 1) { - 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]((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]((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]((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], 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) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); - if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; - result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _tryParse(source, opts) { - 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); - let signIndex = 1; - let hexIndex = 3; - let decimalIndex = 4; - let nonDecimalHexIndex = 5; - if (match == null) return null; - let isNegative = match._get(signIndex) === "-"; - let decimalMatch = match._get(decimalIndex); - let hexMatch = match._get(hexIndex); - let nonDecimalMatch = match._get(nonDecimalHexIndex); - if (radix == null) { - if (decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (hexMatch != null) { - return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); - } - return null; - } - if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, 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], 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], 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) { - resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); - } - return resultDigits; - } - static from(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; - if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); - 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 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], 1316, 12, "_digitBits == 16"); - if (isNegative) { - if (value === -9223372036854776000.0) { - let digits = _native_typed_data.NativeUint16List.new(4); - digits[$_set](3, 32768); - return new core._BigIntImpl.__(true, 4, digits); - } - value = -dart.notNull(value); - } - if (dart.notNull(value) < 65536) { - let digits = _native_typed_data.NativeUint16List.new(1); - digits[$_set](0, value); - return new core._BigIntImpl.__(isNegative, 1, digits); - } - if (dart.notNull(value) <= 4294967295) { - let digits = _native_typed_data.NativeUint16List.new(2); - digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); - digits[$_set](1, value[$rightShift](16)); - return new core._BigIntImpl.__(isNegative, 2, digits); - } - let bits = value[$bitLength]; - let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); - let i = 0; - while (value !== 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], 1354, 42, "value"); - if (value[$isNaN] || value[$isInfinite]) { - dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); - } - let isNegative = dart.notNull(value) < 0; - if (isNegative) value = -dart.notNull(value); - value = value[$floorToDouble](); - if (value === 0) return core._BigIntImpl.zero; - let bits = core._BigIntImpl._bitsForFromDouble; - for (let i = 0; i < 8; i = i + 1) { - bits[$_set](i, 0); - } - 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], 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))); - unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); - unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); - let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); - let absResult = unshiftedBig; - if (exponent < 0) { - absResult = unshiftedBig['>>'](-exponent); - } else if (exponent > 0) { - absResult = unshiftedBig['<<'](exponent); - } - 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$]); - } - abs() { - return dart.test(this[_isNegative]) ? this._negate() : this; - } - [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(n); - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); - } - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _dlShiftDigits(xDigits, xUsed, n, 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; - } - if (n === 0 && resultDigits == xDigits) { - return xUsed; - } - let resultUsed = dart.notNull(xUsed) + dart.notNull(n); - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); - } - for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i, 0); - } - return resultUsed; - } - [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) - dart.notNull(n); - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); - } - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - for (let i = 0; i < dart.notNull(n); i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - static _lsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](carryBitShift) - 1; - let carry = 0; - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - let digit = xDigits[$_get](i); - resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); - carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); - } - resultDigits[$_set](digitShift, carry); - } - ['<<'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_dlShift](digitShift); - } - let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _lShiftDigits(xDigits, xUsed, n, 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) { - return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); - } - let resultUsed = dart.notNull(xUsed) + digitsShift + 1; - core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); - let i = digitsShift; - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - if (resultDigits[$_get](resultUsed - 1) === 0) { - resultUsed = resultUsed - 1; - } - return resultUsed; - } - static _rsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](bitShift) - 1; - let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); - let last = dart.notNull(xUsed) - digitsShift - 1; - for (let i = 0; i < last; i = i + 1) { - let digit = xDigits[$_get](i + digitsShift + 1); - resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); - carry = digit[$rightShift](bitShift); - } - resultDigits[$_set](last, carry); - } - ['>>'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_drShift](digitShift); - } - let used = this[_used$]; - let resultUsed = dart.notNull(used) - digitShift; - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { - return result['-'](core._BigIntImpl.one); - } - for (let i = 0; i < digitShift; i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - [_absCompare](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], 1623, 39, "other"); - if (this[_isNegative] == other[_isNegative]) { - let result = this[_absCompare](other); - return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; - } - return dart.test(this[_isNegative]) ? -1 : 1; - } - static _compareDigits(digits, used, otherDigits, 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) { - result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); - if (result !== 0) return result; - } - } - return result; - } - static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - resultDigits[$_set](used, carry); - } - static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - } - [_absAddSetSign](other, 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], 1698, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultUsed = dart.notNull(used) + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absSubSetSign](other, isNegative) { - 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], 1717, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - let otherUsed = other[_used$]; - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultDigits = _native_typed_data.NativeUint16List.new(used); - core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, used, resultDigits); - } - [_absAndSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absAndNotSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let m = core._min(resultUsed, other[_used$]); - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); - } - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, digits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absOrSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absXorSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - ['&'](other) { - core._BigIntImpl.as(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])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absAndSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); - return p[_absAndNotSetSign](n1, false); - } - ['|'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absOrSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['^'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absXorSetSign](other1, false); - } - return this[_absXorSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['~']() { - if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; - if (dart.test(this[_isNegative])) { - return this[_absSubSetSign](core._BigIntImpl.one, false); - } - return this[_absAddSetSign](core._BigIntImpl.one, true); - } - ['+'](other) { - core._BigIntImpl.as(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]; - if (isNegative == other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - ['-'](other) { - core._BigIntImpl.as(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]; - if (isNegative != other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, 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]((t228 = i, i = dart.notNull(t228) + 1, t228))); - let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - 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]((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], 2019, 48, "other"); - let used = this[_used$]; - let otherUsed = other[_used$]; - if (used === 0 || otherUsed === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); - i = i + 1; - } - return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); - } - static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, 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], 2044, 12, "resultDigits.length >= i"); - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); - i = i + 1; - } - return resultUsed; - } - static _estimateQuotientDigit(topDigitDivisor, digits, 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], 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; - } - this[_divRem](other); - let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); - let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); - let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); - if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { - quo = quo._negate(); - } - return quo; - } - [_rem](other) { - 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; - } - this[_divRem](other); - let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); - let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); - if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { - rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); - } - if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { - rem = rem._negate(); - } - return rem; - } - [_divRem](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], 2122, 12, "_used >= other._used"); - let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; - let resultDigits = null; - let resultUsed = null; - let yDigits = null; - let yUsed = null; - if (nsh > 0) { - yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); - yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); - resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); - resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); - } else { - yDigits = other[_digits$]; - yUsed = other[_used$]; - resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); - resultUsed = this[_used$]; - } - let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); - let i = resultUsed; - let j = dart.notNull(i) - dart.notNull(yUsed); - 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], 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]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); - } - let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); - nyDigits[$_set](yUsed, 1); - core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); - i = dart.notNull(i) - 1; - while (j > 0) { - let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); - j = j - 1; - core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); - if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { - let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - } - } - i = dart.notNull(i) - 1; - } - core._BigIntImpl._lastDividendDigits = this[_digits$]; - core._BigIntImpl._lastDividendUsed = this[_used$]; - core._BigIntImpl._lastDivisorDigits = other[_digits$]; - core._BigIntImpl._lastDivisorUsed = other[_used$]; - core._BigIntImpl._lastQuoRemDigits = resultDigits; - core._BigIntImpl._lastQuoRemUsed = resultUsed; - core._BigIntImpl._lastRemUsed = yUsed; - core._BigIntImpl._lastRem_nsh = nsh; - } - get hashCode() { - function combine(hash, 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], 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); - } - dart.fn(finish, T$0.intToint()); - if (dart.test(this[_isZero])) return 6707; - let hash = dart.test(this[_isNegative]) ? 83585 : 429689; - for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { - hash = combine(hash, this[_digits$][$_get](i)); - } - return finish(hash); - } - _equals(other) { - if (other == null) return false; - return core._BigIntImpl.is(other) && this.compareTo(other) === 0; - } - get bitLength() { - if (this[_used$] === 0) return 0; - if (dart.test(this[_isNegative])) return this['~']().bitLength; - return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; - } - ['~/'](other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_div](other); - } - remainder(other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_rem](other); - } - ['/'](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], 2311, 41, "other"); - return dart.notNull(this.compareTo(other)) < 0; - } - ['<='](other) { - core._BigIntImpl.as(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], 2317, 41, "other"); - return dart.notNull(this.compareTo(other)) > 0; - } - ['>='](other) { - core._BigIntImpl.as(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], 2333, 48, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - let result = this[_rem](other); - if (dart.test(result[_isNegative])) { - if (dart.test(other[_isNegative])) { - result = result['-'](other); - } else { - result = result['+'](other); - } - } - return result; - } - get sign() { - if (this[_used$] === 0) return 0; - return dart.test(this[_isNegative]) ? -1 : 1; - } - get isEven() { - return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; - } - get isOdd() { - return !dart.test(this.isEven); - } - get isNegative() { - return this[_isNegative]; - } - pow(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))); - } - if (exponent === 0) return core._BigIntImpl.one; - let result = core._BigIntImpl.one; - let base = this; - while (exponent !== 0) { - if ((dart.notNull(exponent) & 1) === 1) { - result = result['*'](base); - } - exponent = exponent[$rightShift](1); - if (exponent !== 0) { - base = base['*'](base); - } - } - return result; - } - modPow(exponent, modulus) { - core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); - core._BigIntImpl.as(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))); - } - if (dart.test(modulus['<='](core._BigIntImpl.zero))) { - dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); - } - if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; - let modulusUsed = modulus[_used$]; - let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; - let exponentBitlen = exponent.bitLength; - if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; - let z = new core._BigIntClassic.new(modulus); - let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); - let gUsed = z.convert(this, gDigits); - for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { - resultDigits[$_set](j, gDigits[$_get](j)); - } - let resultUsed = gUsed; - let result2Used = null; - for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { - result2Used = z.sqr(resultDigits, resultUsed, result2Digits); - if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { - resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); - } else { - let tmpDigits = resultDigits; - let tmpUsed = resultUsed; - resultDigits = result2Digits; - resultUsed = result2Used; - result2Digits = tmpDigits; - result2Used = tmpUsed; - } - } - return z.revert(resultDigits, resultUsed); - } - static _binaryGcd(x, y, 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$]; - let yUsed = y[_used$]; - let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; - let unshiftedMaxUsed = maxUsed; - xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); - yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); - let shiftAmount = 0; - if (dart.test(inv)) { - if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - } else { - if (dart.test(x[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); - } - if (dart.test(y[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); - } - if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); - core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); - shiftAmount = shiftAmount + 1; - } - if (shiftAmount >= 16) { - let digitShiftAmount = (shiftAmount / 16)[$truncate](); - xUsed = dart.notNull(xUsed) - digitShiftAmount; - yUsed = dart.notNull(yUsed) - digitShiftAmount; - maxUsed = dart.notNull(maxUsed) - digitShiftAmount; - } - if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { - let tmpDigits = xDigits; - let tmpUsed = xUsed; - xDigits = yDigits; - xUsed = yUsed; - yDigits = tmpDigits; - yUsed = tmpUsed; - } - } - let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); - let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); - let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; - let abcdUsed = dart.notNull(maxUsed) + 1; - let abcdLen = abcdUsed + 2; - let aDigits = core._dummyList; - let aIsNegative = false; - let cDigits = core._dummyList; - let cIsNegative = false; - if (ac) { - aDigits = _native_typed_data.NativeUint16List.new(abcdLen); - aDigits[$_set](0, 1); - cDigits = _native_typed_data.NativeUint16List.new(abcdLen); - } - let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let bIsNegative = false; - let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let dIsNegative = false; - dDigits[$_set](0, 1); - while (true) { - while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); - if (ac) { - if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (aIsNegative) { - if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); - aIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); - } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); - } - while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); - if (ac) { - if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (cIsNegative) { - if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); - cIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); - } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); - } - if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); - if (ac) { - if (aIsNegative === cIsNegative) { - let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); - if (dart.notNull(a_cmp_c) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } else { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); - aIsNegative = !aIsNegative && a_cmp_c !== 0; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } - } - if (bIsNegative === dIsNegative) { - let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); - if (dart.notNull(b_cmp_d) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } else { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); - bIsNegative = !bIsNegative && b_cmp_d !== 0; - } - } else { - core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } - } else { - core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); - if (ac) { - if (cIsNegative === aIsNegative) { - let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); - if (dart.notNull(c_cmp_a) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } else { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); - cIsNegative = !cIsNegative && c_cmp_a !== 0; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } - } - if (dIsNegative === bIsNegative) { - let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); - if (dart.notNull(d_cmp_b) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } else { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); - dIsNegative = !dIsNegative && d_cmp_b !== 0; - } - } else { - core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } - } - let i = maxUsed; - while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) - i = dart.notNull(i) - 1; - if (i === 0) break; - } - if (!dart.test(inv)) { - if (shiftAmount > 0) { - maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); - } - return new core._BigIntImpl.__(false, maxUsed, vDigits); - } - let i = dart.notNull(maxUsed) - 1; - while (i > 0 && vDigits[$_get](i) === 0) - i = i - 1; - if (i !== 0 || vDigits[$_get](0) !== 1) { - dart.throw(core.Exception.new("Not coprime")); - } - if (dIsNegative) { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = false; - } else { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - } - return new core._BigIntImpl.__(false, maxUsed, dDigits); - } - modInverse(modulus) { - core._BigIntImpl.as(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))); - } - if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; - let tmp = this; - if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { - tmp = tmp['%'](modulus); - } - return core._BigIntImpl._binaryGcd(modulus, tmp, true); - } - gcd(other) { - core._BigIntImpl.as(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], 2758, 30, "width"); - return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); - } - toSigned(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)); - } - get isValidInt() { - if (dart.notNull(this[_used$]) <= 3) return true; - let asInt = this.toInt(); - if (!asInt[$toDouble]()[$isFinite]) return false; - return this._equals(core._BigIntImpl._fromInt(asInt)); - } - toInt() { - let result = 0; - for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { - result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); - } - return dart.test(this[_isNegative]) ? -result : result; - } - toDouble() { - 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]; - if (length > 971 + 53) { - return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; - } - if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); - let biasedExponent = length - 53 + 1075; - resultBits[$_set](6, (biasedExponent & 15) << 4); - 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], 2859, 22, "n"); - while (cachedBitsLength < dart.notNull(n)) { - let nextDigit = null; - let nextDigitLength = 16; - if (digitIndex < 0) { - nextDigit = 0; - digitIndex = digitIndex - 1; - } else { - nextDigit = this[_digits$][$_get](digitIndex); - if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; - digitIndex = digitIndex - 1; - } - cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); - cachedBitsLength = cachedBitsLength + nextDigitLength; - } - let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); - cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); - cachedBitsLength = cachedBitsLength - dart.notNull(n); - return result; - }; - dart.fn(readBits, T$0.intToint()); - let leadingBits = dart.notNull(readBits(5)) & 15; - 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)); - } - function roundUp() { - let carry = 1; - for (let i = 0; i < 8; i = i + 1) { - if (carry === 0) break; - let sum = dart.notNull(resultBits[$_get](i)) + carry; - resultBits[$_set](i, sum & 255); - carry = sum[$rightShift](8); - } - } - dart.fn(roundUp, T$.VoidTovoid()); - if (readBits(1) === 1) { - if (resultBits[$_get](0)[$isOdd]) { - roundUp(); - } else { - if (cachedBits !== 0) { - roundUp(); - } else { - for (let i = digitIndex; i >= 0; i = i - 1) { - if (this[_digits$][$_get](i) !== 0) { - roundUp(); - break; - } - } - } - } - } - return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); - } - toString() { - if (this[_used$] === 0) return "0"; - if (this[_used$] === 1) { - if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); - return dart.toString(this[_digits$][$_get](0)); - } - let decimalDigitChunks = T$.JSArrayOfString().of([]); - let rest = dart.test(this.isNegative) ? this._negate() : this; - while (dart.notNull(rest[_used$]) > 1) { - let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); - decimalDigitChunks[$add](digits4); - if (digits4.length === 1) decimalDigitChunks[$add]("000"); - if (digits4.length === 2) decimalDigitChunks[$add]("00"); - if (digits4.length === 3) decimalDigitChunks[$add]("0"); - rest = rest['~/'](core._BigIntImpl._bigInt10000); - } - decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); - if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); - return decimalDigitChunks[$reversed][$join](); - } - [_toRadixCodeUnit](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], 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); - if (dart.test(this[_isNegative])) return "-" + digitString; - return digitString; - } - if (radix === 16) return this[_toHexString](); - let base = core._BigIntImpl._fromInt(radix); - let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); - let rest = this.abs(); - while (!dart.test(rest[_isZero])) { - let digit = rest.remainder(base).toInt(); - rest = rest['~/'](base); - reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); - } - let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); - if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); - return digitString; - } - [_toHexString]() { - let chars = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { - let chunk = this[_digits$][$_get](i); - for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); - chunk = chunk[$rightShift](4); - } - } - let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); - while (msbChunk !== 0) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); - msbChunk = msbChunk[$rightShift](4); - } - if (dart.test(this[_isNegative])) { - chars[$add](45); - } - return core.String.fromCharCodes(chars[$reversed]); - } - }; - (core._BigIntImpl.__ = function(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"); - 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], 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; - ; - }).prototype = core._BigIntImpl.prototype; - dart.addTypeTests(core._BigIntImpl); - dart.addTypeCaches(core._BigIntImpl); - core._BigIntImpl[dart.implements] = () => [core.BigInt]; - dart.setMethodSignature(core._BigIntImpl, () => ({ - __proto__: dart.getMethods(core._BigIntImpl.__proto__), - _negate: dart.fnType(core._BigIntImpl, []), - abs: dart.fnType(core._BigIntImpl, []), - [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), - [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), - '<<': dart.fnType(core._BigIntImpl, [core.int]), - '>>': dart.fnType(core._BigIntImpl, [core.int]), - [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '~': dart.fnType(core._BigIntImpl, []), - '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), - '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '/': dart.fnType(core.double, [core.BigInt]), - '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - pow: dart.fnType(core._BigIntImpl, [core.int]), - modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), - modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), - toSigned: dart.fnType(core._BigIntImpl, [core.int]), - toInt: dart.fnType(core.int, []), - toDouble: dart.fnType(core.double, []), - [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), - 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, - bitLength: core.int, - sign: core.int, - isEven: core.bool, - isOdd: core.bool, - isNegative: core.bool, - isValidInt: core.bool - })); - 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, { - /*core._BigIntImpl._digitBits*/get _digitBits() { - return 16; - }, - /*core._BigIntImpl._digitBase*/get _digitBase() { - return 65536; - }, - /*core._BigIntImpl._digitMask*/get _digitMask() { - return 65535; - }, - /*core._BigIntImpl.zero*/get zero() { - return core._BigIntImpl._fromInt(0); - }, - /*core._BigIntImpl.one*/get one() { - return core._BigIntImpl._fromInt(1); - }, - /*core._BigIntImpl.two*/get two() { - return core._BigIntImpl._fromInt(2); - }, - /*core._BigIntImpl._minusOne*/get _minusOne() { - return core._BigIntImpl.one._negate(); - }, - /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { - return core._BigIntImpl._fromInt(10000); - }, - /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { - return null; - }, - set _lastDividendDigits(value) {}, - /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { - return null; - }, - set _lastDividendUsed(value) {}, - /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { - return null; - }, - set _lastDivisorDigits(value) {}, - /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { - return null; - }, - set _lastDivisorUsed(value) {}, - /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { - return null; - }, - set _lastQuoRemDigits(value) {}, - /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { - return null; - }, - set _lastQuoRemUsed(value) {}, - /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { - return null; - }, - set _lastRemUsed(value) {}, - /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { - return null; - }, - 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(value) { - if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); - }, - /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { - return _native_typed_data.NativeUint8List.new(8); - }, - /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { - return 3; - } - }, false); - core._BigIntReduction = class _BigIntReduction extends core.Object {}; - (core._BigIntReduction.new = function() { - ; - }).prototype = core._BigIntReduction.prototype; - dart.addTypeTests(core._BigIntReduction); - dart.addTypeCaches(core._BigIntReduction); - 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], 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], 3050, 16, "remainder._isNegative"); - remainder = remainder['+'](this[_modulus$]); - } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); - used = remainder[_used$]; - digits = remainder[_digits$]; - } else { - used = x[_used$]; - digits = x[_digits$]; - } - let i = used; - while ((i = dart.notNull(i) - 1) >= 0) { - resultDigits[$_set](i, digits[$_get](i)); - } - return used; - } - revert(xDigits, 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], 3071, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); - if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { - return xUsed; - } - let reverted = this.revert(xDigits, xUsed); - let rem = reverted[_rem](this[_normalizedModulus]); - return this.convert(rem, xDigits); - } - sqr(xDigits, xUsed, 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) { - resultDigits[$_set](i, b2[_digits$][$_get](i)); - } - for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, 0); - } - return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); - } - mul(xDigits, xUsed, yDigits, yUsed, 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], 3039, 23, "_modulus"); - this[_modulus$] = _modulus; - this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); - ; - }).prototype = core._BigIntClassic.prototype; - dart.addTypeTests(core._BigIntClassic); - dart.addTypeCaches(core._BigIntClassic); - core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; - dart.setMethodSignature(core._BigIntClassic, () => ({ - __proto__: dart.getMethods(core._BigIntClassic.__proto__), - convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), - revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), - [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), - 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[9]); - dart.setFieldSignature(core._BigIntClassic, () => ({ - __proto__: dart.getFields(core._BigIntClassic.__proto__), - [_modulus$]: dart.finalFieldType(core._BigIntImpl), - [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) - })); - var message$11 = dart.privateName(core, "Deprecated.message"); - core.Deprecated = class Deprecated extends core.Object { - get message() { - return this[message$11]; - } - 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; - } - toString() { - return "Deprecated feature: " + dart.str(this.message); - } - }; - (core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[164], 77, 25, "message"); - this[message$11] = message; - ; - }).prototype = core.Deprecated.prototype; - dart.addTypeTests(core.Deprecated); - dart.addTypeCaches(core.Deprecated); - dart.setGetterSignature(core.Deprecated, () => ({ - __proto__: dart.getGetters(core.Deprecated.__proto__), - expires: core.String - })); - 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 { - 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[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; - ; - }).prototype = core.Provisional.prototype; - dart.addTypeTests(core.Provisional); - dart.addTypeCaches(core.Provisional); - dart.setGetterSignature(core.Provisional, () => ({ - __proto__: dart.getGetters(core.Provisional.__proto__), - message: dart.nullable(core.String) - })); - 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 { - get name() { - return this[name$12]; - } - set name(value) { - super.name = value; - } - get options() { - return this[options$]; - } - 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[164], 188, 23, "name"); - this[name$12] = name; - this[options$] = options; - ; - }).prototype = core.pragma.prototype; - dart.addTypeTests(core.pragma); - dart.addTypeCaches(core.pragma); - 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; - } - static get one() { - return core._BigIntImpl.one; - } - static get two() { - return core._BigIntImpl.two; - } - static parse(source, opts) { - 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], 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.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; - } - static as(o) { - if (o === true || o === false) return o; - return dart.as(o, core.bool); - } - static fromEnvironment(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"); - 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], 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[165], 103, 24, "other"); - return dart.test(other) && this; - } - [$bitOr](other) { - if (other == null) dart.nullFailed(I[165], 109, 24, "other"); - return dart.test(other) || this; - } - [$bitXor](other) { - if (other == null) dart.nullFailed(I[165], 115, 24, "other"); - return !dart.test(other) === this; - } - [$toString]() { - return this ? "true" : "false"; - } - }; - (core.bool[dart.mixinNew] = function() { - }).prototype = core.bool.prototype; - dart.addTypeCaches(core.bool); - dart.setMethodSignature(core.bool, () => ({ - __proto__: dart.getMethods(core.bool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) - })); - 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[166], 88, 33, "a"); - if (b == null) dart.nullFailed(I[166], 88, 47, "b"); - return a[$compareTo](b); - } - } - (Comparable.new = function() { - ; - }).prototype = Comparable.prototype; - dart.addTypeTests(Comparable); - Comparable.prototype[_is_Comparable_default] = true; - dart.addTypeCaches(Comparable); - dart.setStaticMethodSignature(Comparable, () => ['compare']); - dart.setLibraryUri(Comparable, I[9]); - return Comparable; - }); - core.Comparable = core.Comparable$(); - dart.addTypeTests(core.Comparable, _is_Comparable_default); - var isUtc$ = dart.privateName(core, "DateTime.isUtc"); - var _value$4 = dart.privateName(core, "_value"); - core.DateTime = class DateTime extends core.Object { - get isUtc() { - return this[isUtc$]; - } - set isUtc(value) { - super.isUtc = value; - } - static _microsecondInRoundedMilliseconds(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[167], 289, 32, "formattedString"); - let re = core.DateTime._parseFormat; - let match = re.firstMatch(formattedString); - if (match != null) { - function parseIntOrZero(matched) { - if (matched == null) return 0; - return core.int.parse(matched); - } - dart.fn(parseIntOrZero, T$0.StringNToint()); - function parseMilliAndMicroseconds(matched) { - if (matched == null) return 0; - let length = matched.length; - 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; - if (i < matched.length) { - result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); - } - } - return result; - } - dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); - let years = core.int.parse(dart.nullCheck(match._get(1))); - let month = core.int.parse(dart.nullCheck(match._get(2))); - let day = core.int.parse(dart.nullCheck(match._get(3))); - let hour = parseIntOrZero(match._get(4)); - let minute = parseIntOrZero(match._get(5)); - let second = parseIntOrZero(match._get(6)); - let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); - let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); - let microsecond = milliAndMicroseconds[$remainder](1000); - let isUtc = false; - if (match._get(8) != null) { - isUtc = true; - let tzSign = match._get(9); - if (tzSign != null) { - let sign = tzSign === "-" ? -1 : 1; - let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); - let minuteDifference = parseIntOrZero(match._get(11)); - minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); - minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); - } - } - let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); - if (value == null) { - dart.throw(new core.FormatException.new("Time out of range", formattedString)); - } - return new core.DateTime._withValue(value, {isUtc: isUtc}); - } else { - dart.throw(new core.FormatException.new("Invalid date format", formattedString)); - } - } - static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); - try { - return core.DateTime.parse(formattedString); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - 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], 497, 26, "other"); - return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); - } - isAfter(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], 503, 34, "other"); - return this[_value$4] == other.millisecondsSinceEpoch; - } - compareTo(other) { - if (other == null) dart.nullFailed(I[7], 507, 26, "other"); - return this[_value$4][$compareTo](other.millisecondsSinceEpoch); - } - get hashCode() { - return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; - } - toLocal() { - if (dart.test(this.isUtc)) { - return new core.DateTime._withValue(this[_value$4], {isUtc: false}); - } - return this; - } - toUtc() { - if (dart.test(this.isUtc)) return this; - return new core.DateTime._withValue(this[_value$4], {isUtc: true}); - } - static _fourDigits(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); - if (absN >= 100) return sign + "0" + dart.str(absN); - if (absN >= 10) return sign + "00" + dart.str(absN); - return sign + "000" + dart.str(absN); - } - static _sixDigits(n) { - 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[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[167], 563, 32, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - toString() { - let y = core.DateTime._fourDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - toIso8601String() { - let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - add(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], 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], 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], 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() { - return this[_value$4]; - } - get microsecondsSinceEpoch() { - return dart.notNull(this[_value$4]) * 1000; - } - get timeZoneName() { - if (dart.test(this.isUtc)) return "UTC"; - return _js_helper.Primitives.getTimeZoneName(this); - } - get timeZoneOffset() { - if (dart.test(this.isUtc)) return core.Duration.zero; - return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); - } - get year() { - return _js_helper.Primitives.getYear(this); - } - get month() { - return _js_helper.Primitives.getMonth(this); - } - get day() { - return _js_helper.Primitives.getDay(this); - } - get hour() { - return _js_helper.Primitives.getHours(this); - } - get minute() { - return _js_helper.Primitives.getMinutes(this); - } - get second() { - return _js_helper.Primitives.getSeconds(this); - } - get millisecond() { - return _js_helper.Primitives.getMilliseconds(this); - } - get microsecond() { - return 0; - } - get weekday() { - return _js_helper.Primitives.getWeekday(this); - } - }; - (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[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[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], 379, 43, "millisecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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], 384, 43, "microsecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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[167], 401, 28, "_value"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - 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) { - dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); - } - _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], 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))); - ; - }).prototype = core.DateTime.prototype; - (core.DateTime._now = function() { - this[isUtc$] = false; - this[_value$4] = _js_helper.Primitives.dateNow(); - ; - }).prototype = core.DateTime.prototype; - dart.addTypeTests(core.DateTime); - dart.addTypeCaches(core.DateTime); - core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; - dart.setMethodSignature(core.DateTime, () => ({ - __proto__: dart.getMethods(core.DateTime.__proto__), - isBefore: dart.fnType(core.bool, [core.DateTime]), - isAfter: dart.fnType(core.bool, [core.DateTime]), - isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), - compareTo: dart.fnType(core.int, [core.DateTime]), - [$compareTo]: dart.fnType(core.int, [core.DateTime]), - toLocal: dart.fnType(core.DateTime, []), - toUtc: dart.fnType(core.DateTime, []), - toIso8601String: dart.fnType(core.String, []), - add: dart.fnType(core.DateTime, [core.Duration]), - 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, - microsecondsSinceEpoch: core.int, - timeZoneName: core.String, - timeZoneOffset: core.Duration, - year: core.int, - month: core.int, - day: core.int, - hour: core.int, - minute: core.int, - second: core.int, - millisecond: core.int, - microsecond: core.int, - weekday: core.int - })); - 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, { - /*core.DateTime.monday*/get monday() { - return 1; - }, - /*core.DateTime.tuesday*/get tuesday() { - return 2; - }, - /*core.DateTime.wednesday*/get wednesday() { - return 3; - }, - /*core.DateTime.thursday*/get thursday() { - return 4; - }, - /*core.DateTime.friday*/get friday() { - return 5; - }, - /*core.DateTime.saturday*/get saturday() { - return 6; - }, - /*core.DateTime.sunday*/get sunday() { - return 7; - }, - /*core.DateTime.daysPerWeek*/get daysPerWeek() { - return 7; - }, - /*core.DateTime.january*/get january() { - return 1; - }, - /*core.DateTime.february*/get february() { - return 2; - }, - /*core.DateTime.march*/get march() { - return 3; - }, - /*core.DateTime.april*/get april() { - return 4; - }, - /*core.DateTime.may*/get may() { - return 5; - }, - /*core.DateTime.june*/get june() { - return 6; - }, - /*core.DateTime.july*/get july() { - return 7; - }, - /*core.DateTime.august*/get august() { - return 8; - }, - /*core.DateTime.september*/get september() { - return 9; - }, - /*core.DateTime.october*/get october() { - return 10; - }, - /*core.DateTime.november*/get november() { - return 11; - }, - /*core.DateTime.december*/get december() { - return 12; - }, - /*core.DateTime.monthsPerYear*/get monthsPerYear() { - return 12; - }, - /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { - return 8640000000000000.0; - }, - /*core.DateTime._parseFormat*/get _parseFormat() { - return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); - } - }, false); - var _duration$ = dart.privateName(core, "Duration._duration"); - var _duration = dart.privateName(core, "_duration"); - core.Duration = class Duration extends core.Object { - get [_duration]() { - return this[_duration$]; - } - 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[168], 193, 32, "other"); - return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); - } - ['-'](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[168], 208, 27, "factor"); - return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); - } - ['~/'](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[168], 224, 28, "other"); - return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); - } - ['>'](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[168], 230, 29, "other"); - return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); - } - ['>='](other) { - if (other == null) dart.nullFailed(I[168], 233, 29, "other"); - return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); - } - get inDays() { - return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); - } - get inHours() { - return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); - } - get inMinutes() { - return (dart.notNull(this[_duration]) / 60000000)[$truncate](); - } - get inSeconds() { - return (dart.notNull(this[_duration]) / 1000000)[$truncate](); - } - get inMilliseconds() { - return (dart.notNull(this[_duration]) / 1000)[$truncate](); - } - get inMicroseconds() { - return this[_duration]; - } - _equals(other) { - if (other == null) return false; - return core.Duration.is(other) && this[_duration] == other.inMicroseconds; - } - get hashCode() { - return dart.hashCode(this[_duration]); - } - compareTo(other) { - core.Duration.as(other); - if (other == null) dart.nullFailed(I[168], 319, 26, "other"); - return this[_duration][$compareTo](other[_duration]); - } - toString() { - 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; - } - abs() { - return new core.Duration._microseconds(this[_duration][$abs]()); - } - _negate() { - return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); - } - }; - (core.Duration.new = function(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"); - 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[168], 189, 37, "_duration"); - this[_duration$] = _duration; - ; - }).prototype = core.Duration.prototype; - dart.addTypeTests(core.Duration); - dart.addTypeCaches(core.Duration); - core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; - dart.setMethodSignature(core.Duration, () => ({ - __proto__: dart.getMethods(core.Duration.__proto__), - '+': dart.fnType(core.Duration, [core.Duration]), - '-': dart.fnType(core.Duration, [core.Duration]), - '*': dart.fnType(core.Duration, [core.num]), - '~/': dart.fnType(core.Duration, [core.int]), - '<': dart.fnType(core.bool, [core.Duration]), - '>': dart.fnType(core.bool, [core.Duration]), - '<=': dart.fnType(core.bool, [core.Duration]), - '>=': dart.fnType(core.bool, [core.Duration]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - abs: dart.fnType(core.Duration, []), - _negate: dart.fnType(core.Duration, []) - })); - dart.setGetterSignature(core.Duration, () => ({ - __proto__: dart.getGetters(core.Duration.__proto__), - inDays: core.int, - inHours: core.int, - inMinutes: core.int, - inSeconds: core.int, - inMilliseconds: core.int, - inMicroseconds: core.int, - isNegative: core.bool - })); - 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, { - /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { - return 1000; - }, - /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { - return 1000; - }, - /*core.Duration.secondsPerMinute*/get secondsPerMinute() { - return 60; - }, - /*core.Duration.minutesPerHour*/get minutesPerHour() { - return 60; - }, - /*core.Duration.hoursPerDay*/get hoursPerDay() { - return 24; - }, - /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { - return 1000000; - }, - /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { - return 60000000; - }, - /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { - return 3600000000.0; - }, - /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { - return 86400000000.0; - }, - /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { - return 60000; - }, - /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { - return 3600000; - }, - /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { - return 86400000; - }, - /*core.Duration.secondsPerHour*/get secondsPerHour() { - return 3600; - }, - /*core.Duration.secondsPerDay*/get secondsPerDay() { - return 86400; - }, - /*core.Duration.minutesPerDay*/get minutesPerDay() { - return 1440; - }, - /*core.Duration.zero*/get zero() { - return C[431] || CT.C431; - } - }, false); - 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[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[9]); - core.NullThrownError = class NullThrownError extends core.Error { - static ['_#new#tearOff']() { - return new core.NullThrownError.new(); - } - toString() { - return "Throw of null."; - } - }; - (core.NullThrownError.new = function() { - core.NullThrownError.__proto__.new.call(this); - ; - }).prototype = core.NullThrownError.prototype; - dart.addTypeTests(core.NullThrownError); - dart.addTypeCaches(core.NullThrownError); - 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"); - var message$12 = dart.privateName(core, "ArgumentError.message"); - core.ArgumentError = class ArgumentError extends core.Error { - get invalidValue() { - return this[invalidValue]; - } - set invalidValue(value) { - super.invalidValue = value; - } - get name() { - return this[name$13]; - } - set name(value) { - super.name = value; - } - get message() { - return this[message$12]; - } - 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) { - 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)" : ""); - } - get [_errorExplanation$]() { - return ""; - } - toString() { - let name = this[$name]; - let nameString = name == null ? "" : " (" + dart.str(name) + ")"; - let message = this[$message]; - let messageString = message == null ? "" : ": " + dart.str(message); - let prefix = dart.str(this[_errorName$]) + nameString + messageString; - if (!dart.test(this[_hasValue$])) return prefix; - let explanation = this[_errorExplanation$]; - let errorValue = core.Error.safeToString(this[$invalidValue]); - return prefix + dart.str(explanation) + ": " + dart.str(errorValue); - } - }; - (core.ArgumentError.new = function(message = null, name = null) { - this[message$12] = message; - this[name$13] = name; - this[invalidValue] = null; - this[_hasValue$] = false; - core.ArgumentError.__proto__.new.call(this); - ; - }).prototype = core.ArgumentError.prototype; - (core.ArgumentError.value = function(value, name = null, message = null) { - this[name$13] = name; - this[message$12] = message; - this[invalidValue] = value; - this[_hasValue$] = true; - core.ArgumentError.__proto__.new.call(this); - ; - }).prototype = core.ArgumentError.prototype; - (core.ArgumentError.notNull = function(name = null) { - this[name$13] = name; - this[_hasValue$] = false; - this[message$12] = "Must not be null"; - this[invalidValue] = null; - core.ArgumentError.__proto__.new.call(this); - ; - }).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[9]); - dart.setFieldSignature(core.ArgumentError, () => ({ - __proto__: dart.getFields(core.ArgumentError.__proto__), - [_hasValue$]: dart.finalFieldType(core.bool), - invalidValue: dart.finalFieldType(dart.dynamic), - name: dart.finalFieldType(dart.nullable(core.String)), - message: dart.finalFieldType(dart.dynamic) - })); - dart.defineExtensionMethods(core.ArgumentError, ['toString']); - dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); - var start = dart.privateName(core, "RangeError.start"); - var end = dart.privateName(core, "RangeError.end"); - core.RangeError = class RangeError extends core.ArgumentError { - get start() { - return this[start]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end]; - } - 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[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[28], 347, 34, "index"); - length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - 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[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)); - } - if (end != null) { - if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { - endName == null ? endName = "end" : null; - dart.throw(new core.RangeError.range(end, start, length, endName, message)); - } - return end; - } - return length; - } - static checkNotNegative(value, name = null, message = null) { - 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, (t230 = name, t230 == null ? "index" : t230), message)); - } - return value; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); - let explanation = ""; - let start = this.start; - let end = this.end; - if (start == null) { - if (end != null) { - explanation = ": Not less than or equal to " + dart.str(end); - } - } else if (end == null) { - explanation = ": Not greater than or equal to " + dart.str(start); - } else if (dart.notNull(end) > dart.notNull(start)) { - explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); - } else if (dart.notNull(end) < dart.notNull(start)) { - explanation = ": Valid value range is empty"; - } else { - explanation = ": Only valid value is " + dart.str(start); - } - return explanation; - } - }; - (core.RangeError.new = function(message) { - this[start] = null; - this[end] = null; - core.RangeError.__proto__.new.call(this, message); - ; - }).prototype = core.RangeError.prototype; - (core.RangeError.value = function(value, name = null, message = null) { - 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, (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 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, (t230 = message, t230 == null ? "Invalid value" : t230)); - ; - }).prototype = core.RangeError.prototype; - dart.addTypeTests(core.RangeError); - dart.addTypeCaches(core.RangeError); - 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 { - get indexable() { - return this[indexable$]; - } - set indexable(value) { - super.indexable = value; - } - get length() { - return this[length$]; - } - 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; - } - get end() { - return dart.notNull(this.length) - 1; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - 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"; - } - if (this.length === 0) { - return ": no indices are valid"; - } - return ": index should be less than " + dart.str(this.length); - } - }; - (core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - 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; - 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[9]); - dart.setFieldSignature(core.IndexError, () => ({ - __proto__: dart.getFields(core.IndexError.__proto__), - 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[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[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 = ""; - let $arguments = this[_arguments$]; - if ($arguments != null) { - for (let argument of $arguments) { - sb.write(comma); - sb.write(core.Error.safeToString(argument)); - comma = ", "; - } - } - let namedArguments = this[_namedArguments$]; - if (namedArguments != null) { - namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 891, 38, "key"); - sb.write(comma); - sb.write(core._symbolToString(key)); - sb.write(": "); - sb.write(core.Error.safeToString(value)); - comma = ", "; - }, T$0.SymbolAnddynamicTovoid())); - } - let memberName = core._symbolToString(this[_memberName$]); - let receiverText = core.Error.safeToString(this[_receiver$]); - let actualParameters = dart.str(sb); - let invocation = this[_invocation$]; - let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; - return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; - } - }; - (core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); - this[_receiver$] = _receiver; - this[_memberName$] = invocation.memberName; - this[_arguments$] = invocation.positionalArguments; - this[_namedArguments$] = invocation.namedArguments; - this[_invocation$] = invocation; - core.NoSuchMethodError.__proto__.new.call(this); - ; - }).prototype = core.NoSuchMethodError.prototype; - (core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); - this[_receiver$] = receiver; - this[_memberName$] = memberName; - this[_arguments$] = positionalArguments; - this[_namedArguments$] = namedArguments; - this[_invocation$] = null; - core.NoSuchMethodError.__proto__.new.call(this); - ; - }).prototype = core.NoSuchMethodError.prototype; - dart.addTypeTests(core.NoSuchMethodError); - dart.addTypeCaches(core.NoSuchMethodError); - 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)), - [_memberName$]: dart.finalFieldType(core.Symbol), - [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), - [_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 { - get message() { - return this[message$13]; - } - 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[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[9]); - dart.setFieldSignature(core.UnsupportedError, () => ({ - __proto__: dart.getFields(core.UnsupportedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(core.UnsupportedError, ['toString']); - var message$14 = dart.privateName(core, "UnimplementedError.message"); - core.UnimplementedError = class UnimplementedError extends core.Error { - get message() { - return this[message$14]; - } - 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"; - } - }; - (core.UnimplementedError.new = function(message = null) { - this[message$14] = message; - core.UnimplementedError.__proto__.new.call(this); - ; - }).prototype = core.UnimplementedError.prototype; - dart.addTypeTests(core.UnimplementedError); - dart.addTypeCaches(core.UnimplementedError); - core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; - dart.setLibraryUri(core.UnimplementedError, I[9]); - dart.setFieldSignature(core.UnimplementedError, () => ({ - __proto__: dart.getFields(core.UnimplementedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(core.UnimplementedError, ['toString']); - var message$15 = dart.privateName(core, "StateError.message"); - core.StateError = class StateError extends core.Error { - get message() { - return this[message$15]; - } - 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[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[9]); - dart.setFieldSignature(core.StateError, () => ({ - __proto__: dart.getFields(core.StateError.__proto__), - message: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(core.StateError, ['toString']); - var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); - core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { - get modifiedObject() { - return this[modifiedObject$]; - } - 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."; - } - return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; - } - }; - (core.ConcurrentModificationError.new = function(modifiedObject = null) { - this[modifiedObject$] = modifiedObject; - core.ConcurrentModificationError.__proto__.new.call(this); - ; - }).prototype = core.ConcurrentModificationError.prototype; - dart.addTypeTests(core.ConcurrentModificationError); - dart.addTypeCaches(core.ConcurrentModificationError); - 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"; - } - get stackTrace() { - return null; - } - }; - (core.OutOfMemoryError.new = function() { - ; - }).prototype = core.OutOfMemoryError.prototype; - dart.addTypeTests(core.OutOfMemoryError); - dart.addTypeCaches(core.OutOfMemoryError); - core.OutOfMemoryError[dart.implements] = () => [core.Error]; - dart.setGetterSignature(core.OutOfMemoryError, () => ({ - __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) - })); - 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"; - } - get stackTrace() { - return null; - } - }; - (core.StackOverflowError.new = function() { - ; - }).prototype = core.StackOverflowError.prototype; - dart.addTypeTests(core.StackOverflowError); - dart.addTypeCaches(core.StackOverflowError); - core.StackOverflowError[dart.implements] = () => [core.Error]; - dart.setGetterSignature(core.StackOverflowError, () => ({ - __proto__: dart.getGetters(core.StackOverflowError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) - })); - dart.setLibraryUri(core.StackOverflowError, I[9]); - dart.defineExtensionMethods(core.StackOverflowError, ['toString']); - dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); - var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); - core.CyclicInitializationError = class CyclicInitializationError extends core.Error { - get variableName() { - return this[variableName$]; - } - 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"; - } - }; - (core.CyclicInitializationError.new = function(variableName = null) { - this[variableName$] = variableName; - core.CyclicInitializationError.__proto__.new.call(this); - ; - }).prototype = core.CyclicInitializationError.prototype; - dart.addTypeTests(core.CyclicInitializationError); - dart.addTypeCaches(core.CyclicInitializationError); - dart.setLibraryUri(core.CyclicInitializationError, I[9]); - dart.setFieldSignature(core.CyclicInitializationError, () => ({ - __proto__: dart.getFields(core.CyclicInitializationError.__proto__), - variableName: dart.finalFieldType(dart.nullable(core.String)) - })); - dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); - 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.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"; - return "Exception: " + dart.str(message); - } - }; - (core._Exception.new = function(message = null) { - this.message = message; - ; - }).prototype = core._Exception.prototype; - dart.addTypeTests(core._Exception); - dart.addTypeCaches(core._Exception); - core._Exception[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(core._Exception, I[9]); - dart.setFieldSignature(core._Exception, () => ({ - __proto__: dart.getFields(core._Exception.__proto__), - message: dart.finalFieldType(dart.dynamic) - })); - dart.defineExtensionMethods(core._Exception, ['toString']); - var message$16 = dart.privateName(core, "FormatException.message"); - var source$ = dart.privateName(core, "FormatException.source"); - var offset$ = dart.privateName(core, "FormatException.offset"); - core.FormatException = class FormatException extends core.Object { - get message() { - return this[message$16]; - } - set message(value) { - super.message = value; - } - get source() { - return this[source$]; - } - set source(value) { - super.source = value; - } - get offset() { - return this[offset$]; - } - 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; - if (message != null && "" !== message) { - report = report + ": " + dart.str(message); - } - let offset = this.offset; - let source = this.source; - if (typeof source == 'string') { - if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { - offset = null; - } - if (offset == null) { - if (source.length > 78) { - source = source[$substring](0, 75) + "..."; - } - return report + "\n" + dart.str(source); - } - let lineNum = 1; - let lineStart = 0; - let previousCharWasCR = false; - for (let i = 0; i < dart.notNull(offset); i = i + 1) { - let char = source[$codeUnitAt](i); - if (char === 10) { - if (lineStart !== i || !previousCharWasCR) { - lineNum = lineNum + 1; - } - lineStart = i + 1; - previousCharWasCR = false; - } else if (char === 13) { - lineNum = lineNum + 1; - lineStart = i + 1; - previousCharWasCR = true; - } - } - if (lineNum > 1) { - report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); - } else { - report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); - } - let lineEnd = source.length; - for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { - let char = source[$codeUnitAt](i); - if (char === 10 || char === 13) { - lineEnd = i; - break; - } - } - let length = dart.notNull(lineEnd) - lineStart; - let start = lineStart; - let end = lineEnd; - let prefix = ""; - let postfix = ""; - if (length > 78) { - let index = dart.notNull(offset) - lineStart; - if (index < 75) { - end = start + 75; - postfix = "..."; - } else if (dart.notNull(end) - dart.notNull(offset) < 75) { - start = dart.notNull(end) - 75; - prefix = "..."; - } else { - start = dart.notNull(offset) - 36; - end = dart.notNull(offset) + 36; - prefix = postfix = "..."; - } - } - let slice = source[$substring](start, end); - let markOffset = dart.notNull(offset) - start + prefix.length; - return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; - } else { - if (offset != null) { - report = report + (" (at offset " + dart.str(offset) + ")"); - } - return report; - } - } - }; - (core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[169], 69, 31, "message"); - this[message$16] = message; - this[source$] = source; - this[offset$] = offset; - ; - }).prototype = core.FormatException.prototype; - dart.addTypeTests(core.FormatException); - dart.addTypeCaches(core.FormatException); - core.FormatException[dart.implements] = () => [core.Exception]; - dart.setLibraryUri(core.FormatException, I[9]); - dart.setFieldSignature(core.FormatException, () => ({ - __proto__: dart.getFields(core.FormatException.__proto__), - message: dart.finalFieldType(core.String), - source: dart.finalFieldType(dart.dynamic), - offset: dart.finalFieldType(dart.nullable(core.int)) - })); - 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"; - } - }; - (core.IntegerDivisionByZeroException.new = function() { - ; - }).prototype = core.IntegerDivisionByZeroException.prototype; - dart.addTypeTests(core.IntegerDivisionByZeroException); - dart.addTypeCaches(core.IntegerDivisionByZeroException); - 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']); - dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); - core.Function = class Function extends core.Object { - static _toMangledNames(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], 126, 29, "symbol"); - result[$_set](core._symbolToString(symbol), value); - }, T$0.SymbolAnddynamicTovoid())); - return result; - } - static is(o) { - return typeof o == "function"; - } - static as(o) { - if (typeof o == "function") return o; - return dart.as(o, core.Function); - } - static apply($function, positionalArguments, namedArguments = 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], 115, 31, "symbol"); - map[core._symbolToString(symbol)] = arg; - }, T$0.SymbolAnddynamicTovoid())); - return dart.dcall($function, positionalArguments, map); - } - return dart.dcall($function, positionalArguments); - } - }; - (core.Function.new = function() { - ; - }).prototype = core.Function.prototype; - dart.addTypeCaches(core.Function); - 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 t230; - t230 = this[_positional]; - return t230 == null ? C[434] || CT.C434 : t230; - } - get namedArguments() { - let t230; - t230 = this[_named]; - return t230 == null ? C[435] || CT.C435 : t230; - } - get isMethod() { - return this[_named] != null; - } - get isGetter() { - return this[_positional] == null; - } - get isSetter() { - return this[_positional] != null && this[_named] == null; - } - get isAccessor() { - return this[_named] == null; - } - static _ensureNonNullTypes(types) { - 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) { - dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); - } - } - return typeArguments; - } - }; - (core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = core._Invocation._ensureNonNullTypes(types); - 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[11], 113, 27, "memberName"); - this.memberName = memberName; - 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[11], 118, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = C[1] || CT.C1; - this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); - this[_named] = null; - ; - }).prototype = core._Invocation.prototype; - 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, - namedArguments: core.Map$(core.Symbol, dart.dynamic), - isMethod: core.bool, - isGetter: core.bool, - isSetter: core.bool, - isAccessor: core.bool - })); - dart.setLibraryUri(core._Invocation, I[9]); - dart.setFieldSignature(core._Invocation, () => ({ - __proto__: dart.getFields(core._Invocation.__proto__), - memberName: dart.finalFieldType(core.Symbol), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), - [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) - })); - 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 __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); - class _GeneratorIterable extends _internal.ListIterable$(E) { - get length() { - return this[length$0]; - } - 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 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[36], 823, 22, "n"); - return n; - } - } - (_GeneratorIterable.new = function(length, generator) { - let t230; - if (length == null) dart.nullFailed(I[36], 812, 27, "length"); - this[length$0] = length; - 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.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); - dart.setLibraryUri(_GeneratorIterable, I[9]); - dart.setFieldSignature(_GeneratorIterable, () => ({ - __proto__: dart.getFields(_GeneratorIterable.__proto__), - length: dart.finalFieldType(core.int), - [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) - })); - dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); - dart.defineExtensionAccessors(_GeneratorIterable, ['length']); - return _GeneratorIterable; - }); - core._GeneratorIterable = core._GeneratorIterable$(); - dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); - const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); - core.BidirectionalIterator$ = dart.generic(E => { - class BidirectionalIterator extends core.Object {} - (BidirectionalIterator.new = function() { - ; - }).prototype = BidirectionalIterator.prototype; - dart.addTypeTests(BidirectionalIterator); - BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; - dart.addTypeCaches(BidirectionalIterator); - BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - 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; - } - static as(o) { - if (o == null) return o; - return dart.as(o, core.Null); - } - static ['_#_uninstantiable#tearOff']() { - return core.Null._uninstantiable(); - } - get hashCode() { - return super[$hashCode]; - } - toString() { - return "null"; - } - }; - (core.Null[dart.mixinNew] = function() { - }).prototype = core.Null.prototype; - dart.addTypeCaches(core.Null); - 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 {}; - (core.Pattern.new = function() { - ; - }).prototype = core.Pattern.prototype; - dart.addTypeTests(core.Pattern); - dart.addTypeCaches(core.Pattern); - 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], 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 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], 769, 31, "text"); - return _js_helper.quoteStringForRegExp(text); - } - }; - (core.RegExp[dart.mixinNew] = function() { - }).prototype = core.RegExp.prototype; - dart.addTypeTests(core.RegExp); - dart.addTypeCaches(core.RegExp); - core.RegExp[dart.implements] = () => [core.Pattern]; - 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[171], 102, 40, "elements"); - return new (collection.UnmodifiableSetView$(E)).new((() => { - 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[171], 128, 39, "source"); - let newSet = opts && 'newSet' in opts ? opts.newSet : null; - return new (_internal.CastSet$(S, T)).new(source, newSet); - } - } - dart.addTypeTests(Set); - Set.prototype[_is_Set_default] = true; - dart.addTypeCaches(Set); - dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); - dart.setLibraryUri(Set, I[9]); - dart.setStaticFieldSignature(Set, () => ['_redirecting#']); - return Set; - }); - core.Set = core.Set$(); - dart.addTypeTests(core.Set, _is_Set_default); - const _is_Sink_default = Symbol('_is_Sink_default'); - core.Sink$ = dart.generic(T => { - class Sink extends core.Object {} - (Sink.new = function() { - ; - }).prototype = Sink.prototype; - dart.addTypeTests(Sink); - Sink.prototype[_is_Sink_default] = true; - dart.addTypeCaches(Sink); - 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()); - } - }; - (core.StackTrace.new = function() { - ; - }).prototype = core.StackTrace.prototype; - dart.addTypeTests(core.StackTrace); - dart.addTypeCaches(core.StackTrace); - 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[437] || CT.C437; - } - }, false); - var _stackTrace = dart.privateName(core, "_stackTrace"); - const _stackTrace$ = _StringStackTrace__stackTrace; - core._StringStackTrace = class _StringStackTrace extends core.Object { - get [_stackTrace]() { - return this[_stackTrace$]; - } - 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[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[9]); - dart.setFieldSignature(core._StringStackTrace, () => ({ - __proto__: dart.getFields(core._StringStackTrace.__proto__), - [_stackTrace]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(core._StringStackTrace, ['toString']); - 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$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); - this[_stop] = null; - } - } - stop() { - this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; - } - reset() { - let t231; - this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); - } - get elapsedTicks() { - 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}); - } - get elapsedMicroseconds() { - let ticks = this.elapsedTicks; - if (core.Stopwatch._frequency === 1000000) return ticks; - 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], 535, 12, "_frequency == 1000000"); - return (dart.notNull(ticks) / 1000)[$truncate](); - } - get isRunning() { - return this[_stop] == null; - } - static _initTicker() { - _js_helper.Primitives.initTicker(); - return _js_helper.Primitives.timerFrequency; - } - static _now() { - return _js_helper.Primitives.timerTicks(); - } - }; - (core.Stopwatch.new = function() { - this[_start$3] = 0; - this[_stop] = 0; - core.Stopwatch._frequency; - }).prototype = core.Stopwatch.prototype; - dart.addTypeTests(core.Stopwatch); - dart.addTypeCaches(core.Stopwatch); - dart.setMethodSignature(core.Stopwatch, () => ({ - __proto__: dart.getMethods(core.Stopwatch.__proto__), - start: dart.fnType(dart.void, []), - 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, - elapsedTicks: core.int, - elapsed: core.Duration, - elapsedMicroseconds: core.int, - elapsedMilliseconds: core.int, - isRunning: core.bool - })); - dart.setLibraryUri(core.Stopwatch, I[9]); - dart.setFieldSignature(core.Stopwatch, () => ({ - __proto__: dart.getFields(core.Stopwatch.__proto__), - [_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(); - } - }, false); - var string$ = dart.privateName(core, "Runes.string"); - core.Runes = class Runes extends core.Iterable$(core.int) { - get string() { - return this[string$]; - } - 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); - } - get last() { - if (this.string.length === 0) { - dart.throw(new core.StateError.new("No elements.")); - } - let length = this.string.length; - let code = this.string[$codeUnitAt](length - 1); - if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { - let previousCode = this.string[$codeUnitAt](length - 2); - if (dart.test(core._isLeadSurrogate(previousCode))) { - return core._combineSurrogatePair(previousCode, code); - } - } - return code; - } - }; - (core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[173], 770, 14, "string"); - this[string$] = string; - core.Runes.__proto__.new.call(this); - ; - }).prototype = core.Runes.prototype; - dart.addTypeTests(core.Runes); - dart.addTypeCaches(core.Runes); - dart.setGetterSignature(core.Runes, () => ({ - __proto__: dart.getGetters(core.Runes.__proto__), - iterator: core.RuneIterator, - [$iterator]: core.RuneIterator - })); - dart.setLibraryUri(core.Runes, I[9]); - dart.setFieldSignature(core.Runes, () => ({ - __proto__: dart.getFields(core.Runes.__proto__), - string: dart.finalFieldType(core.String) - })); - dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); - var string$0 = dart.privateName(core, "RuneIterator.string"); - var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); - var _position$0 = dart.privateName(core, "_position"); - var _nextPosition = dart.privateName(core, "_nextPosition"); - var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); - core.RuneIterator = class RuneIterator extends core.Object { - get string() { - return this[string$0]; - } - 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[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))); - } - } - get rawIndex() { - return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; - } - set rawIndex(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[173], 879, 19, "rawIndex"); - core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); - this[_checkSplitSurrogate](rawIndex); - this[_position$0] = this[_nextPosition] = rawIndex; - this[_currentCodePoint] = -1; - } - get current() { - return this[_currentCodePoint]; - } - get currentSize() { - return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); - } - get currentAsString() { - if (this[_position$0] == this[_nextPosition]) return ""; - if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); - return this.string[$substring](this[_position$0], this[_nextPosition]); - } - moveNext() { - this[_position$0] = this[_nextPosition]; - if (this[_position$0] === this.string.length) { - this[_currentCodePoint] = -1; - return false; - } - let codeUnit = this.string[$codeUnitAt](this[_position$0]); - let nextPosition = dart.notNull(this[_position$0]) + 1; - if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { - let nextCodeUnit = this.string[$codeUnitAt](nextPosition); - if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { - this[_nextPosition] = nextPosition + 1; - this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); - return true; - } - } - this[_nextPosition] = nextPosition; - this[_currentCodePoint] = codeUnit; - return true; - } - movePrevious() { - this[_nextPosition] = this[_position$0]; - if (this[_position$0] === 0) { - this[_currentCodePoint] = -1; - return false; - } - let position = dart.notNull(this[_position$0]) - 1; - let codeUnit = this.string[$codeUnitAt](position); - if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { - let prevCodeUnit = this.string[$codeUnitAt](position - 1); - if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { - this[_position$0] = position - 1; - this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); - return true; - } - } - this[_position$0] = position; - this[_currentCodePoint] = codeUnit; - return true; - } - }; - (core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[173], 819, 23, "string"); - this[_currentCodePoint] = -1; - this[string$0] = string; - this[_position$0] = 0; - this[_nextPosition] = 0; - ; - }).prototype = core.RuneIterator.prototype; - (core.RuneIterator.at = function(string, 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; - this[_nextPosition] = index; - core.RangeError.checkValueInInterval(index, 0, string.length); - this[_checkSplitSurrogate](index); - }).prototype = core.RuneIterator.prototype; - dart.addTypeTests(core.RuneIterator); - dart.addTypeCaches(core.RuneIterator); - core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; - dart.setMethodSignature(core.RuneIterator, () => ({ - __proto__: dart.getMethods(core.RuneIterator.__proto__), - [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), - reset: dart.fnType(dart.void, [], [core.int]), - moveNext: dart.fnType(core.bool, []), - movePrevious: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getGetters(core.RuneIterator.__proto__), - rawIndex: core.int, - current: core.int, - currentSize: core.int, - currentAsString: core.String - })); - dart.setSetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getSetters(core.RuneIterator.__proto__), - rawIndex: core.int - })); - dart.setLibraryUri(core.RuneIterator, I[9]); - dart.setFieldSignature(core.RuneIterator, () => ({ - __proto__: dart.getFields(core.RuneIterator.__proto__), - string: dart.finalFieldType(core.String), - [_position$0]: dart.fieldType(core.int), - [_nextPosition]: dart.fieldType(core.int), - [_currentCodePoint]: dart.fieldType(core.int) - })); - 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.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[438] || CT.C438; - }, - /*core.Symbol.empty*/get empty() { - return C[439] || CT.C439; - } - }, false); - core.Uri = class Uri extends core.Object { - static get base() { - let uri = _js_helper.Primitives.currentUri(); - 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], 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"); - 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], 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"); - 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 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); - if (dataDelta === 0) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); - return core.UriData._parse(uri, 5, null).uri; - } else if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; - } - } - let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t231 = indices; - (() => { - 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) { - indices[$_set](7, end); - } - let schemeEnd = indices[$_get](1); - if (dart.notNull(schemeEnd) >= dart.notNull(start)) { - state = core._scan(uri, start, schemeEnd, 20, indices); - if (state === 20) { - indices[$_set](7, schemeEnd); - } - } - let hostStart = dart.notNull(indices[$_get](2)) + 1; - let portStart = indices[$_get](3); - let pathStart = indices[$_get](4); - let queryStart = indices[$_get](5); - let fragmentStart = indices[$_get](6); - let scheme = null; - if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; - if (dart.notNull(pathStart) < hostStart) { - pathStart = queryStart; - } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { - pathStart = dart.notNull(schemeEnd) + 1; - } - if (dart.notNull(portStart) < hostStart) portStart = pathStart; - 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 { - if (schemeEnd === dart.notNull(start) + 4) { - if (uri[$startsWith]("file", start)) { - scheme = "file"; - if (hostStart <= dart.notNull(start)) { - let schemeAuth = "file://"; - let delta = 2; - if (!uri[$startsWith]("/", pathStart)) { - schemeAuth = "file:///"; - delta = 3; - } - uri = schemeAuth + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = 7; - portStart = 7; - pathStart = 7; - queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); - start = 0; - end = uri.length; - } else if (pathStart == queryStart) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](pathStart, queryStart, "/"); - queryStart = dart.notNull(queryStart) + 1; - fragmentStart = dart.notNull(fragmentStart) + 1; - end = dart.notNull(end) + 1; - } else { - uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } else if (uri[$startsWith]("http", start)) { - scheme = "http"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 3; - queryStart = dart.notNull(queryStart) - 3; - fragmentStart = dart.notNull(fragmentStart) - 3; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { - scheme = "https"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 4; - queryStart = dart.notNull(queryStart) - 4; - fragmentStart = dart.notNull(fragmentStart) - 4; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } - } - if (isSimple) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { - uri = uri[$substring](start, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) - dart.notNull(start); - fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); - } - return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); - } - 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], 1159, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); - try { - return core.Uri.parse(uri, start, end); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - throw e; - } - } - static encodeComponent(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], 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], 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], 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], 1284, 35, "uri"); - return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); - } - static decodeFull(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], 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], 1329, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); - let index = element[$indexOf]("="); - if (index === -1) { - if (element !== "") { - map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); - } - } else if (index !== 0) { - let key = element[$substring](0, index); - let value = element[$substring](index + 1); - map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); - } - return map; - }, T$0.MapOfString$StringAndStringToMapOfString$String())); - } - static parseIPv4Address(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 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], 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()); - let result = _native_typed_data.NativeUint8List.new(4); - let partIndex = 0; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char !== 46) { - if ((char ^ 48) >>> 0 > 9) { - error("invalid character", i); - } - } else { - if (partIndex === 3) { - error("IPv4 address should contain exactly 4 parts", i); - } - let part = core.int.parse(host[$substring](partStart, i)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); - partStart = dart.notNull(i) + 1; - } - } - if (partIndex !== 3) { - error("IPv4 address should contain exactly 4 parts", end); - } - let part = core.int.parse(host[$substring](partStart, end)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set](partIndex, part); - return result; - } - static parseIPv6Address(host, start = 0, end = null) { - 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) { - 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.StringAndintNTovoid()); - function parseHex(start, 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); - } - let value = core.int.parse(host[$substring](start, end), {radix: 16}); - if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { - error("each part must be in the range of `0x0..0xFFFF`", start); - } - return value; - } - dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short", null); - let parts = T$.JSArrayOfint().of([]); - let wildcardSeen = false; - let seenDot = false; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char === 58) { - if (i == start) { - i = dart.notNull(i) + 1; - if (host[$codeUnitAt](i) !== 58) { - error("invalid start colon.", i); - } - partStart = i; - } - if (i == partStart) { - if (wildcardSeen) { - error("only one wildcard `::` is allowed", i); - } - wildcardSeen = true; - parts[$add](-1); - } else { - parts[$add](parseHex(partStart, i)); - } - partStart = dart.notNull(i) + 1; - } else if (char === 46) { - seenDot = true; - } - } - if (parts[$length] === 0) error("too few parts", null); - let atEnd = partStart == end; - let isLastWildcard = parts[$last] === -1; - if (atEnd && !isLastWildcard) { - error("expected a part after last `:`", end); - } - if (!atEnd) { - if (!seenDot) { - parts[$add](parseHex(partStart, end)); - } else { - let last = core.Uri._parseIPv4Address(host, partStart, end); - parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); - parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); - } - } - if (wildcardSeen) { - if (dart.notNull(parts[$length]) > 7) { - 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", null); - } - let bytes = _native_typed_data.NativeUint8List.new(16); - for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { - let value = parts[$_get](i); - if (value === -1) { - let wildCardLength = 9 - dart.notNull(parts[$length]); - for (let j = 0; j < wildCardLength; j = j + 1) { - bytes[$_set](index, 0); - bytes[$_set](index + 1, 0); - index = index + 2; - } - } else { - bytes[$_set](index, value[$rightShift](8)); - bytes[$_set](index + 1, dart.notNull(value) & 255); - index = index + 2; - } - } - return bytes; - } - }; - (core.Uri[dart.mixinNew] = function() { - }).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.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"); - var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); - var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); - var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); - var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); - var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); - var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); - var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); - var _userInfo$ = dart.privateName(core, "_userInfo"); - var _host$ = dart.privateName(core, "_host"); - var _port$ = dart.privateName(core, "_port"); - var _query$ = dart.privateName(core, "_query"); - var _fragment$ = dart.privateName(core, "_fragment"); - var _initializeText = dart.privateName(core, "_initializeText"); - var _text$ = dart.privateName(core, "_text"); - var _writeAuthority = dart.privateName(core, "_writeAuthority"); - var _mergePaths = dart.privateName(core, "_mergePaths"); - var _toFilePath = dart.privateName(core, "_toFilePath"); - core._Uri = class _Uri extends core.Object { - get [_text$]() { - let t234; - if (!dart.test(this[___Uri__text_isSet])) { - let t233 = this[_initializeText](); - if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t233; - this[___Uri__text_isSet] = true; - } - t234 = this[___Uri__text]; - return t234; - } - get pathSegments() { - let t235; - if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t234 = core._Uri._computePathSegments(this.path); - if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t234; - this[___Uri_pathSegments_isSet] = true; - } - t235 = this[___Uri_pathSegments]; - return t235; - } - get hashCode() { - let t236; - if (!dart.test(this[___Uri_hashCode_isSet])) { - let t235 = dart.hashCode(this[_text$]); - if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t235; - this[___Uri_hashCode_isSet] = true; - } - t236 = this[___Uri_hashCode]; - return t236; - } - get queryParameters() { - let t237; - if (!dart.test(this[___Uri_queryParameters_isSet])) { - 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] = t236; - this[___Uri_queryParameters_isSet] = true; - } - t237 = this[___Uri_queryParameters]; - return t237; - } - get queryParametersAll() { - let t238; - if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t237 = core._Uri._computeQueryParametersAll(this.query); - if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t237; - this[___Uri_queryParametersAll_isSet] = true; - } - 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 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)) { - scheme = core._Uri._makeScheme(uri, start, schemeEnd); - } else if (schemeEnd == start) { - core._Uri._fail(uri, start, "Invalid empty scheme"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - } - let userInfo = ""; - let host = null; - let port = null; - if (dart.notNull(hostStart) > dart.notNull(start)) { - let userInfoStart = dart.notNull(schemeEnd) + 3; - if (userInfoStart < dart.notNull(hostStart)) { - userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); - } - host = core._Uri._makeHost(uri, hostStart, portStart, false); - if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - 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); - } - } - let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); - let query = null; - if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { - query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); - } - let fragment = null; - if (dart.notNull(fragmentStart) < dart.notNull(end)) { - fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - static new(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; - if (scheme == null) { - scheme = ""; - } else { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - } - userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); - if (userInfo == null) { - dart.throw("unreachable"); - } - host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); - if (query === "") query = null; - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); - port = core._Uri._makePort(port, scheme); - let isFile = scheme === "file"; - if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { - host = ""; - } - let hasAuthority = host != null; - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - if (path == null) { - dart.throw("unreachable"); - } - if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { - let allowScheme = scheme[$isNotEmpty] || host != null; - path = core._Uri._normalizeRelativePath(path, allowScheme); - } else { - path = core._Uri._removeDotSegments(path); - } - if (host == null && path[$startsWith]("//")) { - host = ""; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - 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 ['_#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() { - if (!dart.test(this.hasAuthority)) return ""; - let sb = new core.StringBuffer.new(); - this[_writeAuthority](sb); - return sb.toString(); - } - get userInfo() { - return this[_userInfo$]; - } - get host() { - let host = this[_host$]; - if (host == null) return ""; - if (host[$startsWith]("[")) { - return host[$substring](1, host.length - 1); - } - return host; - } - get port() { - let t238; - t238 = this[_port$]; - return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; - } - static _defaultPort(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 t238; - t238 = this[_query$]; - return t238 == null ? "" : t238; - } - get fragment() { - let t238; - t238 = this[_fragment$]; - return t238 == null ? "" : t238; - } - isScheme(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._caseInsensitiveStartsWith(scheme, thisScheme, 0); - } - static _fail(uri, index, 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], 1741, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); - let userInfo = ""; - let host = null; - let port = null; - if (authority != null && authority[$isNotEmpty]) { - let hostStart = 0; - for (let i = 0; i < authority.length; i = i + 1) { - if (authority[$codeUnitAt](i) === 64) { - userInfo = authority[$substring](0, i); - hostStart = i + 1; - break; - } - } - let hostEnd = hostStart; - if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { - let escapeForZoneID = -1; - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - let char = authority[$codeUnitAt](hostEnd); - if (char === 37 && escapeForZoneID < 0) { - escapeForZoneID = hostEnd; - if (authority[$startsWith]("25", hostEnd + 1)) { - hostEnd = hostEnd + 2; - } - } else if (char === 93) { - break; - } - } - if (hostEnd === authority.length) { - dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); - } - core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); - hostEnd = hostEnd + 1; - if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { - dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); - } - } - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - if (authority[$codeUnitAt](hostEnd) === 58) { - let portString = authority[$substring](hostEnd + 1); - if (portString[$isNotEmpty]) port = core.int.parse(portString); - break; - } - } - host = authority[$substring](hostStart, hostEnd); - } - return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); - } - static file(path, opts) { - 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((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 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((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], 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)) { - dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); - } - } - } - } - static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - 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)) { - dart.throw(new core.ArgumentError.new("Illegal character in path")); - } else { - dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); - } - } - } - } - static _checkWindowsDriveLetter(charCode, 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; - } - if (dart.test(argumentError)) { - dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } - } - static _makeFileUri(path, 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](""); - } - if (path[$startsWith]("/")) { - return core._Uri.new({scheme: "file", pathSegments: segments}); - } else { - return core._Uri.new({pathSegments: segments}); - } - } - static _makeWindowsFileUrl(path, 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, "\\"); - } else { - path = path[$substring](4); - if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); - } - } - } else { - path = path[$replaceAll]("/", "\\"); - } - if (path.length > 1 && path[$codeUnitAt](1) === 58) { - core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); - if (path.length === 2 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); - } - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - if (path[$startsWith]("\\")) { - if (path[$startsWith]("\\", 1)) { - let pathStart = path[$indexOf]("\\", 2); - let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); - let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); - let pathSegments = pathPart[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); - } else { - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - } else { - let pathSegments = path[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({pathSegments: pathSegments}); - } - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = scheme != this.scheme; - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else { - userInfo = this[_userInfo$]; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = this[_port$]; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.test(this.hasAuthority)) { - host = this[_host$]; - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - let currentPath = this.path; - if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { - currentPath = "/" + dart.notNull(currentPath); - } - path = currentPath; - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else { - query = this[_query$]; - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else { - fragment = this[_fragment$]; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - 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], 2023, 51, "pathToSplit"); - if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { - pathToSplit = pathToSplit[$substring](1); - } - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - normalizePath() { - let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); - if (path == this.path) return this; - return this.replace({path: path}); - } - static _makePort(port, 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], 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) { - if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { - core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let zoneID = ""; - let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); - if (dart.notNull(index) < dart.notNull(end) - 1) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); - } - core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); - return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; - } - if (!dart.test(strictIPv6)) { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (host[$codeUnitAt](i) === 58) { - let zoneID = ""; - let index = core._Uri._checkZoneID(host, start, end); - if (dart.notNull(index) < dart.notNull(end)) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); - } - core.Uri.parseIPv6Address(host, start, index); - return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; - } - } - } - return core._Uri._normalizeRegName(host, start, end); - } - static _checkZoneID(host, start, 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], 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 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); - } - let sectionStart = start; - let index = start; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - core._Uri._fail(host, index, "ZoneID should not contain % anymore"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isZoneIDChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _isRegNameChar(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 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; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - replacement = "%25"; - sourceLength = 1; - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isRegNameChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { - core._Uri._fail(host, index, "Invalid character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _makeScheme(scheme, start, 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))) { - core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let containsUpperCase = false; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = scheme[$codeUnitAt](i); - if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { - core._Uri._fail(scheme, i, "Illegal scheme character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (65 <= codeUnit && codeUnit <= 90) { - containsUpperCase = true; - } - } - scheme = scheme[$substring](start, end); - if (containsUpperCase) scheme = scheme[$toLowerCase](); - return core._Uri._canonicalizeScheme(scheme); - } - static _canonicalizeScheme(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"; - if (scheme === "package") return "package"; - return scheme; - } - static _makeUserInfo(userInfo, start, 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], 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], 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, replaceBackslash: true}); - } - if (result[$isEmpty]) { - if (isFile) return "/"; - } else if (ensureLeadingSlash && !result[$startsWith]("/")) { - result = "/" + dart.notNull(result); - } - result = core._Uri._normalizePath(result, scheme, hasAuthority); - return result; - } - static _normalizePath(path, scheme, hasAuthority) { - 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], 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")); - } - return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); - } - if (queryParameters == null) return null; - let result = new core.StringBuffer.new(); - let separator = ""; - function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); - result.write(separator); - separator = "&"; - result.write(core.Uri.encodeQueryComponent(key)); - if (value != null && value[$isNotEmpty]) { - result.write("="); - result.write(core.Uri.encodeQueryComponent(value)); - } - } - dart.fn(writeParameter, T$0.StringAndStringNTovoid()); - queryParameters[$forEach](dart.fn((key, value) => { - 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 t238 of values) { - let value = core.String.as(t238); - writeParameter(key, value); - } - } - }, T$0.StringAnddynamicTovoid())); - return result.toString(); - } - static _makeFragment(fragment, start, 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], 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 "%"; - } - let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); - let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); - let firstDigitValue = _internal.hexDigitValue(firstDigit); - let secondDigitValue = _internal.hexDigitValue(secondDigit); - if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { - return "%"; - } - let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); - if (dart.test(core._Uri._isUnreservedChar(value))) { - if (dart.test(lowerCase) && 65 <= value && 90 >= value) { - value = (value | 32) >>> 0; - } - return core.String.fromCharCode(value); - } - if (firstDigit >= 97 || secondDigit >= 97) { - return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); - } - return null; - } - static _escapeChar(char) { - 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); - codeUnits[$_set](0, 37); - codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); - codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); - } else { - let flag = 192; - let encodedBytes = 2; - if (dart.notNull(char) > 2047) { - flag = 224; - encodedBytes = 3; - if (dart.notNull(char) > 65535) { - encodedBytes = 4; - flag = 240; - } - } - codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); - let index = 0; - while ((encodedBytes = encodedBytes - 1) >= 0) { - let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; - codeUnits[$_set](index, 37); - codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); - index = index + 3; - flag = 128; - } - } - return core.String.fromCharCodes(codeUnits); - } - static _normalizeOrSubstring(component, start, end, charTable, opts) { - 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], 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 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], 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; - while (dart.notNull(index) < dart.notNull(end)) { - let char = component[$codeUnitAt](index); - if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { - index = dart.notNull(index) + 1; - } else { - let replacement = null; - let sourceLength = null; - if (char === 37) { - replacement = core._Uri._normalizeEscape(component, index, false); - if (replacement == null) { - index = dart.notNull(index) + 3; - continue; - } - if ("%" === replacement) { - replacement = "%25"; - sourceLength = 1; - } 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`.")); - dart.throw("unreachable"); - } else { - sourceLength = 1; - if ((char & 64512) === 55296) { - if (dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = component[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - sourceLength = 2; - char = 65536 | (char & 1023) << 10 | tail & 1023; - } - } - } - replacement = core._Uri._escapeChar(char); - } - t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); - (() => { - t239$.write(component[$substring](sectionStart, index)); - t239$.write(replacement); - return t239$; - })(); - index = dart.notNull(index) + dart.notNull(sourceLength); - sectionStart = index; - } - } - if (buffer == null) { - return null; - } - if (dart.notNull(sectionStart) < dart.notNull(end)) { - buffer.write(component[$substring](sectionStart, end)); - } - return dart.toString(buffer); - } - static _isSchemeCharacter(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], 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], 2562, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); - let backCount = 0; - let refStart = 0; - while (reference[$startsWith]("../", refStart)) { - refStart = refStart + 3; - backCount = backCount + 1; - } - let baseEnd = base[$lastIndexOf]("/"); - while (baseEnd > 0 && backCount > 0) { - let newEnd = base[$lastIndexOf]("/", baseEnd - 1); - if (newEnd < 0) { - break; - } - let delta = baseEnd - newEnd; - if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { - break; - } - baseEnd = newEnd; - backCount = backCount - 1; - } - return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); - } - static _mayContainDotSegments(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], 2611, 43, "path"); - if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - 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]("/")) { - appendSlash = false; - if (segment === "..") { - if (dart.test(output[$isNotEmpty])) { - output[$removeLast](); - if (dart.test(output[$isEmpty])) { - output[$add](""); - } - } - appendSlash = true; - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (appendSlash) output[$add](""); - return output[$join]("/"); - } - static _normalizeRelativePath(path, allowScheme) { - 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], 2653, 12, "path.isNotEmpty"); - let output = T$.JSArrayOfString().of([]); - let appendSlash = false; - for (let segment of path[$split]("/")) { - appendSlash = false; - if (".." === segment) { - if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { - output[$removeLast](); - appendSlash = true; - } else { - output[$add](".."); - } - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { - return "./"; - } - if (appendSlash || output[$last] === "..") output[$add](""); - if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); - return output[$join]("/"); - } - static _escapeScheme(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); - if (char === 58) { - return path[$substring](0, i) + "%3A" + path[$substring](i + 1); - } - if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { - break; - } - } - } - return path; - } - resolve(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], 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], 2717, 22, "reference"); - let targetScheme = null; - let targetUserInfo = ""; - let targetHost = null; - let targetPort = null; - let targetPath = null; - let targetQuery = null; - if (reference.scheme[$isNotEmpty]) { - targetScheme = reference.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = dart.test(reference.hasPort) ? reference.port : null; - } - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } - } else { - targetScheme = this.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } else { - targetUserInfo = this[_userInfo$]; - targetHost = this[_host$]; - targetPort = this[_port$]; - if (reference.path === "") { - targetPath = this.path; - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } else { - targetQuery = this[_query$]; - } - } else { - let basePath = this.path; - let packageNameEnd = core._Uri._packageNameEnd(this, basePath); - if (dart.notNull(packageNameEnd) > 0) { - 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)); - } else { - targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); - } - } else if (dart.test(reference.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(reference.path); - } else { - if (dart.test(this.hasEmptyPath)) { - if (!dart.test(this.hasAuthority)) { - if (!dart.test(this.hasScheme)) { - targetPath = reference.path; - } else { - targetPath = core._Uri._removeDotSegments(reference.path); - } - } else { - targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); - } - } else { - let mergedPath = this[_mergePaths](this.path, reference.path); - if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(mergedPath); - } else { - targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); - } - } - } - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } - } - } - let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; - return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); - } - get hasScheme() { - return this.scheme[$isNotEmpty]; - } - 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 hasEmptyPath() { - return this.path[$isEmpty]; - } - get hasAbsolutePath() { - return this.path[$startsWith]("/"); - } - get origin() { - if (this.scheme === "") { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (this.scheme !== "http" && this.scheme !== "https") { - dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); - } - let host = this[_host$]; - if (host == null || host === "") { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - let port = this[_port$]; - if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); - return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); - } - toFilePath(opts) { - 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")); - } - if (this.query !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - if (this.fragment !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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 !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - let pathSegments = this.pathSegments; - core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); - let result = new core.StringBuffer.new(); - if (dart.test(this.hasAbsolutePath)) result.write("/"); - result.writeAll(pathSegments, "/"); - return result.toString(); - } - static _toWindowsFilePath(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) { - core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); - core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); - hasDriveLetter = true; - } else { - core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); - } - let result = new core.StringBuffer.new(); - if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); - if (dart.test(uri.hasAuthority)) { - let host = uri.host; - if (host[$isNotEmpty]) { - result.write("\\"); - result.write(host); - result.write("\\"); - } - } - result.writeAll(segments, "\\"); - if (hasDriveLetter && segments[$length] === 1) result.write("\\"); - return result.toString(); - } - [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); - if (this[_userInfo$][$isNotEmpty]) { - ss.write(this[_userInfo$]); - ss.write("@"); - } - if (this[_host$] != null) ss.write(this[_host$]); - if (this[_port$] != null) { - ss.write(":"); - ss.write(this[_port$]); - } - } - get data() { - return this.scheme === "data" ? core.UriData.fromUri(this) : null; - } - toString() { - return this[_text$]; - } - [_initializeText]() { - let t239, t239$, t239$0; - let sb = new core.StringBuffer.new(); - if (this.scheme[$isNotEmpty]) { - t239 = sb; - (() => { - t239.write(this.scheme); - t239.write(":"); - return t239; - })(); - } - if (dart.test(this.hasAuthority) || this.scheme === "file") { - sb.write("//"); - this[_writeAuthority](sb); - } - sb.write(this.path); - if (this[_query$] != null) { - t239$ = sb; - (() => { - t239$.write("?"); - t239$.write(this[_query$]); - return t239$; - })(); - } - if (this[_fragment$] != null) { - t239$0 = sb; - (() => { - t239$0.write("#"); - t239$0.write(this[_fragment$]); - return t239$0; - })(); - } - return sb.toString(); - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; - } - static _createList() { - return T$.JSArrayOfString().of([]); - } - static _splitQueryStringAll(query, opts) { - 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], 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; - if (dart.notNull(equalsIndex) < 0) { - key = core._Uri._uriDecode(query, start, end, encoding, true); - value = ""; - } else { - 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[443] || CT.C443)[$add](value); - } - dart.fn(parsePair, T$0.intAndintAndintTovoid()); - while (i < query.length) { - let char = query[$codeUnitAt](i); - if (char === 61) { - if (equalsIndex < 0) equalsIndex = i; - } else if (char === 38) { - parsePair(start, equalsIndex, i); - start = i + 1; - equalsIndex = -1; - } - i = i + 1; - } - parsePair(start, equalsIndex, i); - return result; - } - static _uriEncode(canonicalTable, text, encoding, 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; - } - let result = new core.StringBuffer.new(""); - let bytes = encoding.encode(text); - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - result.writeCharCode(byte); - } else if (dart.test(spaceToPlus) && byte === 32) { - result.write("+"); - } else { - result.write("%"); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); - } - } - return result.toString(); - } - static _hexCharPairToByte(s, 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); - if (48 <= charCode && charCode <= 57) { - byte = byte * 16 + charCode - 48; - } else { - charCode = (charCode | 32) >>> 0; - if (97 <= charCode && charCode <= 102) { - byte = byte * 16 + charCode - 87; - } else { - dart.throw(new core.ArgumentError.new("Invalid URL encoding")); - } - } - } - return byte; - } - static _uriDecode(text, start, end, encoding, plusToSpace) { - 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); - if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { - simple = false; - break; - } - } - let bytes = null; - if (simple) { - if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { - return text[$substring](start, end); - } else { - bytes = text[$substring](start, end)[$codeUnits]; - } - } else { - bytes = T$.JSArrayOfint().of([]); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit > 127) { - dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); - } - if (codeUnit === 37) { - if (dart.notNull(i) + 3 > text.length) { - dart.throw(new core.ArgumentError.new("Truncated URI")); - } - bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); - i = dart.notNull(i) + 2; - } else if (dart.test(plusToSpace) && codeUnit === 43) { - bytes[$add](32); - } else { - bytes[$add](codeUnit); - } - } - } - return encoding.decode(bytes); - } - static _isAlphabeticCharacter(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], 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], 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; - this[___Uri_pathSegments_isSet] = false; - this[___Uri_hashCode] = null; - this[___Uri_hashCode_isSet] = false; - this[___Uri_queryParameters] = null; - this[___Uri_queryParameters_isSet] = false; - this[___Uri_queryParametersAll] = null; - this[___Uri_queryParametersAll_isSet] = false; - this.scheme = scheme; - this[_userInfo$] = _userInfo; - this[_host$] = _host; - this[_port$] = _port; - this.path = path; - this[_query$] = _query; - this[_fragment$] = _fragment; - ; - }).prototype = core._Uri.prototype; - dart.addTypeTests(core._Uri); - dart.addTypeCaches(core._Uri); - core._Uri[dart.implements] = () => [core.Uri]; - dart.setMethodSignature(core._Uri, () => ({ - __proto__: dart.getMethods(core._Uri.__proto__), - isScheme: dart.fnType(core.bool, [core.String]), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - removeFragment: dart.fnType(core.Uri, []), - normalizePath: dart.fnType(core.Uri, []), - [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_toFilePath]: dart.fnType(core.String, []), - [_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, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - query: core.String, - fragment: core.String, - isAbsolute: core.bool, - hasScheme: core.bool, - hasAuthority: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - hasEmptyPath: core.bool, - hasAbsolutePath: core.bool, - origin: core.String, - data: dart.nullable(core.UriData) - })); - 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), - [_userInfo$]: dart.finalFieldType(core.String), - [_host$]: dart.finalFieldType(dart.nullable(core.String)), - [_port$]: dart.fieldType(dart.nullable(core.int)), - path: dart.finalFieldType(core.String), - [_query$]: dart.finalFieldType(dart.nullable(core.String)), - [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), - [___Uri__text]: dart.fieldType(dart.nullable(core.String)), - [___Uri__text_isSet]: dart.fieldType(core.bool), - [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), - [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), - [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), - [___Uri_hashCode_isSet]: dart.fieldType(core.bool), - [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), - [___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, { - /*core._Uri._isWindowsCached*/get _isWindowsCached() { - return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; - }, - /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { - return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); - }, - /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[444] || CT.C444; - }, - /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[445] || CT.C445; - }, - /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[446] || CT.C446; - }, - /*core._Uri._schemeTable*/get _schemeTable() { - return C[447] || CT.C447; - }, - /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[448] || CT.C448; - }, - /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[449] || CT.C449; - }, - /*core._Uri._regNameTable*/get _regNameTable() { - return C[450] || CT.C450; - }, - /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[451] || CT.C451; - }, - /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[452] || CT.C452; - }, - /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[453] || CT.C453; - }, - /*core._Uri._zoneIDTable*/get _zoneIDTable() { - 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 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], 3387, 12, "base64"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); - let encodingName = null; - if (encoding == null) { - if (charsetName != null) { - encoding = convert.Encoding.getByName(charsetName); - } - } else if (charsetName == null) { - encodingName = encoding.name; - } - encoding == null ? encoding = convert.ascii : null; - core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(base64)) { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); - } else { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); - } - 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], 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"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - core.UriData._writeUri(mimeType, null, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(percentEncoded)) { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); - } else { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); - } - 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], 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)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); - } - if (dart.test(uri.hasFragment)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); - } - if (!dart.test(uri.hasQuery)) { - return core.UriData._parse(uri.path, 0, uri); - } - 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 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") { - buffer.write(mimeType); - } else { - let slashIndex = core.UriData._validateMimeType(mimeType); - if (dart.notNull(slashIndex) < 0) { - dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); - } - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); - buffer.write("/"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); - } - if (charsetName != null) { - 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)); - } - 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) + "\"]")); - } - t240 = indices; - t240 == null ? null : t240[$add](buffer.length); - buffer.write(";"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - 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], 3524, 39, "mimeType"); - let slashIndex = -1; - for (let i = 0; i < mimeType.length; i = i + 1) { - let char = mimeType[$codeUnitAt](i); - if (char !== 47) continue; - if (slashIndex < 0) { - slashIndex = i; - continue; - } - return -1; - } - return slashIndex; - } - static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); - if (uri.length >= 5) { - let dataDelta = core._startsWithData(uri, 0); - if (dataDelta === 0) { - return core.UriData._parse(uri, 5, null); - } - if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](5), 0, null); - } - } - dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); - } - get uri() { - let t239; - t239 = this[_uriCache$]; - return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; - } - [_computeUri]() { - let path = this[_text$]; - let query = null; - let colonIndex = this[_separatorIndices$][$_get](0); - let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); - let end = this[_text$].length; - if (queryIndex >= 0) { - query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); - end = queryIndex; - } - path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); - return new core._DataUri.new(this, path, query); - } - get mimeType() { - let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; - let end = this[_separatorIndices$][$_get](1); - 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 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); - } - 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 -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]; - } - get contentText() { - return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); - } - contentAsBytes() { - let t239, t239$; - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - return convert.base64.decoder.convert(text, start); - } - let length = text.length - start; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit === 37) { - i = i + 2; - length = length - 2; - } - } - let result = _native_typed_data.NativeUint8List.new(length); - if (length === text.length) { - result[$setRange](0, length, text[$codeUnits], start); - return result; - } - let index = 0; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit !== 37) { - 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]((t239$ = index, index = t239$ + 1, t239$), byte); - i = i + 2; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); - } - } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); - return result; - } - contentAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : null; - if (encoding == null) { - let charset = this.charset; - encoding = convert.Encoding.getByName(charset); - if (encoding == null) { - dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); - } - } - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); - return converter.convert(text[$substring](start)); - } - return core._Uri._uriDecode(text, start, text.length, encoding, false); - } - get parameters() { - let result = new (T$.IdentityMapOfString$String()).new(); - for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { - let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; - let equals = this[_separatorIndices$][$_get](i - 1); - let end = this[_separatorIndices$][$_get](i); - let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); - let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); - result[$_set](key, value); - } - return result; - } - static _parse(text, start, sourceUri) { - 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; - let i = start; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 44) || dart.equals(char, 59)) break; - if (dart.equals(char, 47)) { - if (dart.notNull(slashIndex) < 0) { - slashIndex = i; - continue; - } - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - } - if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - while (!dart.equals(char, 44)) { - indices[$add](i); - i = dart.notNull(i) + 1; - let equalsIndex = -1; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 61)) { - if (dart.notNull(equalsIndex) < 0) equalsIndex = i; - } else if (dart.equals(char, 59) || dart.equals(char, 44)) { - break; - } - } - if (dart.notNull(equalsIndex) >= 0) { - indices[$add](equalsIndex); - } else { - let lastSeparator = indices[$last]; - if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { - dart.throw(new core.FormatException.new("Expecting '='", text, i)); - } - break; - } - } - indices[$add](i); - let isBase64 = indices[$length][$isOdd]; - if (isBase64) { - text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); - } else { - let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); - if (data != null) { - text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); - } - } - return new core.UriData.__(text, indices, sourceUri); - } - static _uriEncodeBytes(canonicalTable, bytes, 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); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - buffer.writeCharCode(byte); - } else { - buffer.writeCharCode(37); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); - } - } - if ((byteOr & ~255 >>> 0) !== 0) { - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { - dart.throw(new core.ArgumentError.value(byte, "non-byte value")); - } - } - } - } - toString() { - return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; - } - }; - (core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - 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; - ; - }).prototype = core.UriData.prototype; - dart.addTypeTests(core.UriData); - 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, - mimeType: core.String, - charset: core.String, - isBase64: core.bool, - contentText: core.String, - parameters: core.Map$(core.String, core.String) - })); - 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[110] || CT.C110; - }, - /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[454] || CT.C454; - }, - /*core.UriData._uricTable*/get _uricTable() { - return C[453] || CT.C453; - } - }, false); - var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); - var _uri$ = dart.privateName(core, "_uri"); - var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); - var _hostStart$ = dart.privateName(core, "_hostStart"); - var _portStart$ = dart.privateName(core, "_portStart"); - var _pathStart$ = dart.privateName(core, "_pathStart"); - var _queryStart$ = dart.privateName(core, "_queryStart"); - var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); - var _schemeCache$ = dart.privateName(core, "_schemeCache"); - var _isFile = dart.privateName(core, "_isFile"); - var _isHttp = dart.privateName(core, "_isHttp"); - var _isHttps = dart.privateName(core, "_isHttps"); - var _isPackage = dart.privateName(core, "_isPackage"); - var _isScheme = dart.privateName(core, "_isScheme"); - var _computeScheme = dart.privateName(core, "_computeScheme"); - 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; - } - get hasAuthority() { - return dart.notNull(this[_hostStart$]) > 0; - } - get hasUserInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; - } - get hasPort() { - return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); - } - get hasQuery() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); - } - get hasFragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; - } - get [_isFile]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); - } - get [_isHttp]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); - } - get [_isHttps]() { - return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); - } - get [_isPackage]() { - return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); - } - [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); - return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); - } - get hasAbsolutePath() { - return this[_uri$][$startsWith]("/", this[_pathStart$]); - } - get hasEmptyPath() { - return this[_pathStart$] == this[_queryStart$]; - } - get isAbsolute() { - return dart.test(this.hasScheme) && !dart.test(this.hasFragment); - } - isScheme(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._caseInsensitiveStartsWith(scheme, this[_uri$], 0); - } - get scheme() { - let t239; - t239 = this[_schemeCache$]; - return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; - } - [_computeScheme]() { - if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; - if (dart.test(this[_isHttp])) return "http"; - if (dart.test(this[_isHttps])) return "https"; - if (dart.test(this[_isFile])) return "file"; - if (dart.test(this[_isPackage])) return "package"; - return this[_uri$][$substring](0, this[_schemeEnd$]); - } - get authority() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; - } - get userInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; - } - get host() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; - } - get port() { - if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); - if (dart.test(this[_isHttp])) return 80; - if (dart.test(this[_isHttps])) return 443; - return 0; - } - get path() { - return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - } - get query() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; - } - get fragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; - } - get origin() { - let isHttp = this[_isHttp]; - if (dart.notNull(this[_schemeEnd$]) < 0) { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { - dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); - } - if (this[_hostStart$] == this[_portStart$]) { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { - return this[_uri$][$substring](0, this[_pathStart$]); - } - return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); - } - get pathSegments() { - let start = this[_pathStart$]; - let end = this[_queryStart$]; - if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - 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); - if (char === 47) { - parts[$add](this[_uri$][$substring](start, i)); - start = dart.notNull(i) + 1; - } - } - parts[$add](this[_uri$][$substring](start, end)); - return T$.ListOfString().unmodifiable(parts); - } - get queryParameters() { - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - [_isPort](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); - } - normalizePath() { - return this; - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = !dart.test(this[_isScheme](scheme)); - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else if (dart.notNull(this[_hostStart$]) > 0) { - userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); - } else { - userInfo = ""; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = dart.test(this.hasPort) ? this.port : null; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.notNull(this[_hostStart$]) > 0) { - host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { - path = "/" + dart.notNull(path); - } - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { - fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - resolve(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], 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], 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], 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; - let isSimple = true; - if (dart.test(base[_isFile])) { - isSimple = !dart.test(ref.hasEmptyPath); - } else if (dart.test(base[_isHttp])) { - isSimple = !dart.test(ref[_isPort]("80")); - } else if (dart.test(base[_isHttps])) { - isSimple = !dart.test(ref[_isPort]("443")); - } - if (isSimple) { - let delta = dart.notNull(base[_schemeEnd$]) + 1; - let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } else { - return this[_toNonSimple]().resolveUri(ref); - } - } - if (dart.test(ref.hasEmptyPath)) { - if (dart.test(ref.hasQuery)) { - let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); - let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); - 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$]); - } - if (dart.test(ref.hasFragment)) { - let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); - let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } - return base.removeFragment(); - } - if (dart.test(ref.hasAbsolutePath)) { - let basePathStart = base[_pathStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; - let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); - let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); - 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$]); - } - if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { - let refStart = ref[_pathStart$]; - while (ref[_uri$][$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - } - let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; - let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); - 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$]); - } - let baseUri = base[_uri$]; - let refUri = ref[_uri$]; - let baseStart = base[_pathStart$]; - let baseEnd = base[_queryStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) >= 0) { - baseStart = packageNameEnd; - } else { - while (baseUri[$startsWith]("../", baseStart)) - baseStart = dart.notNull(baseStart) + 3; - } - let refStart = ref[_pathStart$]; - let refEnd = ref[_queryStart$]; - let backCount = 0; - while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - backCount = backCount + 1; - } - let insert = ""; - while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { - baseEnd = dart.notNull(baseEnd) - 1; - let char = baseUri[$codeUnitAt](baseEnd); - if (char === 47) { - insert = "/"; - if (backCount === 0) break; - backCount = backCount - 1; - } - } - if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { - insert = ""; - refStart = dart.notNull(refStart) - backCount * 3; - } - let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; - let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); - 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 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")); - } - if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { - if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - return this.path; - } - get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); - return null; - } - get hashCode() { - let t239; - t239 = this[_hashCodeCache]; - return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this[_uri$] == dart.toString(other); - } - [_toNonSimple]() { - return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); - } - toString() { - return this[_uri$]; - } - }; - (core._SimpleUri.new = function(_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"); - this[_hashCodeCache] = null; - this[_uri$] = _uri; - this[_schemeEnd$] = _schemeEnd; - this[_hostStart$] = _hostStart; - this[_portStart$] = _portStart; - this[_pathStart$] = _pathStart; - this[_queryStart$] = _queryStart; - this[_fragmentStart$] = _fragmentStart; - this[_schemeCache$] = _schemeCache; - ; - }).prototype = core._SimpleUri.prototype; - dart.addTypeTests(core._SimpleUri); - dart.addTypeCaches(core._SimpleUri); - core._SimpleUri[dart.implements] = () => [core.Uri]; - dart.setMethodSignature(core._SimpleUri, () => ({ - __proto__: dart.getMethods(core._SimpleUri.__proto__), - [_isScheme]: dart.fnType(core.bool, [core.String]), - isScheme: dart.fnType(core.bool, [core.String]), - [_computeScheme]: dart.fnType(core.String, []), - [_isPort]: dart.fnType(core.bool, [core.String]), - normalizePath: dart.fnType(core.Uri, []), - removeFragment: dart.fnType(core.Uri, []), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_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, - hasAuthority: core.bool, - hasUserInfo: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - [_isFile]: core.bool, - [_isHttp]: core.bool, - [_isHttps]: core.bool, - [_isPackage]: core.bool, - hasAbsolutePath: core.bool, - hasEmptyPath: core.bool, - isAbsolute: core.bool, - scheme: core.String, - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - path: core.String, - query: core.String, - fragment: core.String, - origin: core.String, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - data: dart.nullable(core.UriData) - })); - dart.setLibraryUri(core._SimpleUri, I[9]); - dart.setFieldSignature(core._SimpleUri, () => ({ - __proto__: dart.getFields(core._SimpleUri.__proto__), - [_uri$]: dart.finalFieldType(core.String), - [_schemeEnd$]: dart.finalFieldType(core.int), - [_hostStart$]: dart.finalFieldType(core.int), - [_portStart$]: dart.finalFieldType(core.int), - [_pathStart$]: dart.finalFieldType(core.int), - [_queryStart$]: dart.finalFieldType(core.int), - [_fragmentStart$]: dart.finalFieldType(core.int), - [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), - [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) - })); - 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], 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[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], 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], 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; - }; - core.identityHashCode = function identityHashCode(object) { - if (object == null) return 0; - let hash = object[dart.identityHashCode_]; - if (hash == null) { - hash = Math.random() * 0x3fffffff | 0; - object[dart.identityHashCode_] = hash; - } - return hash; - }; - core.print = function print$0(object) { - let line = dart.str(object); - let toZone = _internal.printToZone; - if (toZone == null) { - _internal.printToConsole(line); - } else { - toZone(line); - } - }; - core._isLeadSurrogate = function _isLeadSurrogate$(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[173], 794, 28, "code"); - return (dart.notNull(code) & 64512) === 56320; - }; - core._combineSurrogatePair = function _combineSurrogatePair$(start, 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], 4180, 54, "_"); - return _native_typed_data.NativeUint8List.new(96); - }, T$0.intToUint8List())); - function build(state, defaultTransition) { - let t247; - t247 = tables[$_get](core.int.as(state)); - return (() => { - 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], 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); - } - } - dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); - function setRange(target, range, 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); - } - } - dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); - let b = null; - b = build(0, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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), "?", (12 | 160) >>> 0); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(15, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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); - b = build(4, (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), "]", 5); - 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), "?", (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), "?", (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); - 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), "?", (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), "?", (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); - setChars(typed_data.Uint8List.as(b), pchar, 12); - setChars(typed_data.Uint8List.as(b), "?", 12); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(13, (13 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 13); - setChars(typed_data.Uint8List.as(b), "?", 13); - b = build(20, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - b = build(21, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - setRange(typed_data.Uint8List.as(b), "09", 21); - setChars(typed_data.Uint8List.as(b), "+-.", 21); - return tables; - }; - core._scan = function _scan(uri, start, end, state, 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], 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; - if (char > 95) char = 31; - let transition = table[$_get](char); - state = dart.notNull(transition) & 31; - indices[$_set](transition[$rightShift](5), i); - } - return state; - }; - core._startsWithData = function _startsWithData(text, 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; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; - return delta; - }; - core._stringOrNullLength = function _stringOrNullLength(s) { - return s == null ? 0 : s.length; - }; - core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, 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], 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); - if (char === 47) return dots !== 0 ? i : -1; - if (char === 37 || char === 58) return -1; - dots = (dots | (char ^ 46) >>> 0) >>> 0; - } - 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[458] || CT.C458; - }, - /*core.override*/get override() { - return C[459] || CT.C459; - }, - /*core.provisional*/get provisional() { - return null; - }, - /*core.proxy*/get proxy() { - return null; - }, - /*core._hashSeed*/get _hashSeed() { - return core.identityHashCode(dart.wrapType(core.Object)); - }, - /*core._SPACE*/get _SPACE() { - return 32; - }, - /*core._PERCENT*/get _PERCENT() { - return 37; - }, - /*core._AMPERSAND*/get _AMPERSAND() { - return 38; - }, - /*core._PLUS*/get _PLUS() { - return 43; - }, - /*core._DOT*/get _DOT() { - return 46; - }, - /*core._SLASH*/get _SLASH() { - return 47; - }, - /*core._COLON*/get _COLON() { - return 58; - }, - /*core._EQUALS*/get _EQUALS() { - return 61; - }, - /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { - return 65; - }, - /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { - return 90; - }, - /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { - return 91; - }, - /*core._BACKSLASH*/get _BACKSLASH() { - return 92; - }, - /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { - return 93; - }, - /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { - return 97; - }, - /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { - return 102; - }, - /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { - return 122; - }, - /*core._hexDigits*/get _hexDigits() { - return "0123456789ABCDEF"; - }, - /*core._schemeEndIndex*/get _schemeEndIndex() { - return 1; - }, - /*core._hostStartIndex*/get _hostStartIndex() { - return 2; - }, - /*core._portStartIndex*/get _portStartIndex() { - return 3; - }, - /*core._pathStartIndex*/get _pathStartIndex() { - return 4; - }, - /*core._queryStartIndex*/get _queryStartIndex() { - return 5; - }, - /*core._fragmentStartIndex*/get _fragmentStartIndex() { - return 6; - }, - /*core._notSimpleIndex*/get _notSimpleIndex() { - return 7; - }, - /*core._uriStart*/get _uriStart() { - return 0; - }, - /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { - return 14; - }, - /*core._schemeStart*/get _schemeStart() { - return 20; - }, - /*core._scannerTables*/get _scannerTables() { - return core._createTables(); - } - }, false); - var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); - var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); - var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); - _http.HttpServer = class HttpServer extends core.Object { - get serverHeader() { - return this[serverHeader]; - } - set serverHeader(value) { - this[serverHeader] = value; - } - get autoCompress() { - return this[autoCompress]; - } - set autoCompress(value) { - if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); - this[autoCompress] = value; - } - get idleTimeout() { - return this[idleTimeout]; - } - set idleTimeout(value) { - this[idleTimeout] = value; - } - static bind(address, port, opts) { - 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], 190, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 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], 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], 233, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 235, 16, "requestClientCertificate"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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], 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[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__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - autoCompress: dart.fieldType(core.bool), - idleTimeout: dart.fieldType(dart.nullable(core.Duration)) - })); - var total = dart.privateName(_http, "HttpConnectionsInfo.total"); - var active = dart.privateName(_http, "HttpConnectionsInfo.active"); - var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); - var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); - _http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { - get total() { - 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; - this[active] = 0; - this[idle] = 0; - this[closing] = 0; - ; - }).prototype = _http.HttpConnectionsInfo.prototype; - dart.addTypeTests(_http.HttpConnectionsInfo); - dart.addTypeCaches(_http.HttpConnectionsInfo); - dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); - dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ - __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), - total: dart.fieldType(core.int), - active: dart.fieldType(core.int), - idle: dart.fieldType(core.int), - closing: dart.fieldType(core.int) - })); - var date = dart.privateName(_http, "HttpHeaders.date"); - var expires = dart.privateName(_http, "HttpHeaders.expires"); - var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); - var host = dart.privateName(_http, "HttpHeaders.host"); - var port = dart.privateName(_http, "HttpHeaders.port"); - var contentType = dart.privateName(_http, "HttpHeaders.contentType"); - var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); - var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); - var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); - var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); - var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); - _http.HttpHeaders = class HttpHeaders extends core.Object { - get date() { - return this[date]; - } - set date(value) { - this[date] = value; - } - get expires() { - return this[expires]; - } - set expires(value) { - this[expires] = value; - } - get ifModifiedSince() { - return this[ifModifiedSince]; - } - set ifModifiedSince(value) { - this[ifModifiedSince] = value; - } - get host() { - return this[host]; - } - set host(value) { - this[host] = value; - } - get port() { - return this[port]; - } - set port(value) { - this[port] = value; - } - get contentType() { - return this[contentType]; - } - set contentType(value) { - this[contentType] = value; - } - get contentLength() { - return this[contentLength]; - } - set contentLength(value) { - if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); - this[contentLength] = value; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); - this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = persistentConnection$35param; - } - get chunkedTransferEncoding() { - let t247; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); - } - set chunkedTransferEncoding(chunkedTransferEncoding$35param) { - if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); - this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; - } - }; - (_http.HttpHeaders.new = function() { - this[date] = null; - this[expires] = null; - this[ifModifiedSince] = null; - this[host] = null; - this[port] = null; - this[contentType] = null; - this[contentLength] = -1; - this[__HttpHeaders_persistentConnection] = null; - this[__HttpHeaders_persistentConnection_isSet] = false; - this[__HttpHeaders_chunkedTransferEncoding] = null; - this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; - ; - }).prototype = _http.HttpHeaders.prototype; - dart.addTypeTests(_http.HttpHeaders); - dart.addTypeCaches(_http.HttpHeaders); - dart.setGetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getGetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool - })); - dart.setSetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getSetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool - })); - dart.setLibraryUri(_http.HttpHeaders, I[177]); - dart.setFieldSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getFields(_http.HttpHeaders.__proto__), - date: dart.fieldType(dart.nullable(core.DateTime)), - expires: dart.fieldType(dart.nullable(core.DateTime)), - ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), - host: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - contentType: dart.fieldType(dart.nullable(_http.ContentType)), - contentLength: dart.fieldType(core.int), - [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), - [__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"; - }, - /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { - return "accept-charset"; - }, - /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { - return "accept-language"; - }, - /*_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"; - }, - /*_http.HttpHeaders.allowHeader*/get allowHeader() { - return "allow"; - }, - /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { - return "authorization"; - }, - /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { - return "cache-control"; - }, - /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { - return "connection"; - }, - /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { - return "content-encoding"; - }, - /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { - return "content-language"; - }, - /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { - return "content-length"; - }, - /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { - return "content-location"; - }, - /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { - return "content-md5"; - }, - /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { - return "content-range"; - }, - /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { - return "content-type"; - }, - /*_http.HttpHeaders.dateHeader*/get dateHeader() { - return "date"; - }, - /*_http.HttpHeaders.etagHeader*/get etagHeader() { - return "etag"; - }, - /*_http.HttpHeaders.expectHeader*/get expectHeader() { - return "expect"; - }, - /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { - return "expires"; - }, - /*_http.HttpHeaders.fromHeader*/get fromHeader() { - return "from"; - }, - /*_http.HttpHeaders.hostHeader*/get hostHeader() { - return "host"; - }, - /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { - return "if-match"; - }, - /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { - return "if-none-match"; - }, - /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { - return "if-range"; - }, - /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { - return "last-modified"; - }, - /*_http.HttpHeaders.locationHeader*/get locationHeader() { - return "location"; - }, - /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { - return "max-forwards"; - }, - /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { - return "pragma"; - }, - /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { - return "range"; - }, - /*_http.HttpHeaders.refererHeader*/get refererHeader() { - return "referer"; - }, - /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { - return "retry-after"; - }, - /*_http.HttpHeaders.serverHeader*/get serverHeader() { - return "server"; - }, - /*_http.HttpHeaders.teHeader*/get teHeader() { - return "te"; - }, - /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { - return "trailer"; - }, - /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { - return "upgrade"; - }, - /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { - return "user-agent"; - }, - /*_http.HttpHeaders.varyHeader*/get varyHeader() { - return "vary"; - }, - /*_http.HttpHeaders.viaHeader*/get viaHeader() { - return "via"; - }, - /*_http.HttpHeaders.warningHeader*/get warningHeader() { - return "warning"; - }, - /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { - return "www-authenticate"; - }, - /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { - return "cookie"; - }, - /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { - return "set-cookie"; - }, - /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[461] || CT.C461; - }, - /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[462] || CT.C462; - }, - /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[463] || CT.C463; - }, - /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[464] || CT.C464; - } - }, false); - _http.HeaderValue = class HeaderValue extends core.Object { - 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], 615, 35, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 618, 12, "preserveBackslash"); - return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); - } - }; - (_http.HeaderValue[dart.mixinNew] = function() { - }).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() { - ; - }).prototype = _http.HttpSession.prototype; - _http.HttpSession.prototype[dart.isMap] = true; - dart.addTypeTests(_http.HttpSession); - dart.addTypeCaches(_http.HttpSession); - _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], 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 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], 708, 35, "value"); - return _http._ContentType.parse(value); - } - }; - (_http.ContentType[dart.mixinNew] = function() { - }).prototype = _http.ContentType.prototype; - 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.html*/get html() { - return _http.ContentType.new("text", "html", {charset: "utf-8"}); - }, - /*_http.ContentType.json*/get json() { - return _http.ContentType.new("application", "json", {charset: "utf-8"}); - }, - /*_http.ContentType.binary*/get binary() { - return _http.ContentType.new("application", "octet-stream"); - } - }, false); - var expires$ = dart.privateName(_http, "Cookie.expires"); - var maxAge = dart.privateName(_http, "Cookie.maxAge"); - var domain = dart.privateName(_http, "Cookie.domain"); - var path = dart.privateName(_http, "Cookie.path"); - var secure = dart.privateName(_http, "Cookie.secure"); - var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); - var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); - var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); - var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); - var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); - _http.Cookie = class Cookie extends core.Object { - get expires() { - return this[expires$]; - } - set expires(value) { - this[expires$] = value; - } - get maxAge() { - return this[maxAge]; - } - set maxAge(value) { - this[maxAge] = value; - } - get domain() { - return this[domain]; - } - set domain(value) { - this[domain] = value; - } - get path() { - return this[path]; - } - set path(value) { - this[path] = value; - } - get secure() { - 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 t247; - return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); - } - set name(name$35param) { - if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); - this[__Cookie_name_isSet] = true; - this[__Cookie_name] = name$35param; - } - get value() { - let t247; - return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); - } - set value(value$35param) { - if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); - this[__Cookie_value_isSet] = true; - this[__Cookie_value] = value$35param; - } - static new(name, 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], 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; - this[__Cookie_name_isSet] = false; - this[__Cookie_value] = null; - this[__Cookie_value_isSet] = false; - this[expires$] = null; - this[maxAge] = null; - this[domain] = null; - this[path] = null; - this[secure] = false; - this[httpOnly] = false; - }).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, - value: core.String - })); - dart.setSetterSignature(_http.Cookie, () => ({ - __proto__: dart.getSetters(_http.Cookie.__proto__), - name: core.String, - value: core.String - })); - dart.setLibraryUri(_http.Cookie, I[177]); - dart.setFieldSignature(_http.Cookie, () => ({ - __proto__: dart.getFields(_http.Cookie.__proto__), - [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_name_isSet]: dart.fieldType(core.bool), - [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_value_isSet]: dart.fieldType(core.bool), - expires: dart.fieldType(dart.nullable(core.DateTime)), - maxAge: dart.fieldType(dart.nullable(core.int)), - domain: dart.fieldType(dart.nullable(core.String)), - path: dart.fieldType(dart.nullable(core.String)), - secure: dart.fieldType(core.bool), - httpOnly: dart.fieldType(core.bool) - })); - _http.HttpRequest = class HttpRequest extends core.Object {}; - (_http.HttpRequest.new = function() { - ; - }).prototype = _http.HttpRequest.prototype; - _http.HttpRequest.prototype[dart.isStream] = true; - dart.addTypeTests(_http.HttpRequest); - dart.addTypeCaches(_http.HttpRequest); - _http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; - dart.setLibraryUri(_http.HttpRequest, I[177]); - var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); - var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); - var deadline = dart.privateName(_http, "HttpResponse.deadline"); - var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); - var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); - var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); - var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); - var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); - _http.HttpResponse = class HttpResponse extends core.Object { - get contentLength() { - 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() { - return this[deadline]; - } - set deadline(value) { - this[deadline] = value; - } - get bufferOutput() { - return this[bufferOutput]; - } - set bufferOutput(value) { - if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); - this[bufferOutput] = value; - } - get reasonPhrase() { - let t247; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); - } - set reasonPhrase(reasonPhrase$35param) { - if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); - this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); - this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = persistentConnection$35param; - } - }; - (_http.HttpResponse.new = function() { - this[contentLength$] = -1; - this[statusCode] = 200; - this[__HttpResponse_reasonPhrase] = null; - this[__HttpResponse_reasonPhrase_isSet] = false; - this[__HttpResponse_persistentConnection] = null; - this[__HttpResponse_persistentConnection_isSet] = false; - this[deadline] = null; - this[bufferOutput] = true; - ; - }).prototype = _http.HttpResponse.prototype; - dart.addTypeTests(_http.HttpResponse); - dart.addTypeCaches(_http.HttpResponse); - _http.HttpResponse[dart.implements] = () => [io.IOSink]; - dart.setGetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getGetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool - })); - dart.setSetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getSetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool - })); - dart.setLibraryUri(_http.HttpResponse, I[177]); - dart.setFieldSignature(_http.HttpResponse, () => ({ - __proto__: dart.getFields(_http.HttpResponse.__proto__), - contentLength: dart.fieldType(core.int), - statusCode: dart.fieldType(core.int), - [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), - [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), - deadline: dart.fieldType(dart.nullable(core.Duration)), - bufferOutput: dart.fieldType(core.bool) - })); - var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); - var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); - var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); - var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); - var userAgent = dart.privateName(_http, "HttpClient.userAgent"); - _http.HttpClient = class HttpClient extends core.Object { - get idleTimeout() { - return this[idleTimeout$]; - } - set idleTimeout(value) { - if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); - this[idleTimeout$] = value; - } - get connectionTimeout() { - return this[connectionTimeout]; - } - set connectionTimeout(value) { - this[connectionTimeout] = value; - } - get maxConnectionsPerHost() { - return this[maxConnectionsPerHost]; - } - set maxConnectionsPerHost(value) { - this[maxConnectionsPerHost] = value; - } - get autoUncompress() { - return this[autoUncompress]; - } - set autoUncompress(value) { - if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); - this[autoUncompress] = value; - } - get userAgent() { - return this[userAgent]; - } - set userAgent(value) { - this[userAgent] = value; - } - static set enableTimelineLogging(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])); - } - _http.HttpClient._enableTimelineLogging = enabled; - } - static get enableTimelineLogging() { - return _http.HttpClient._enableTimelineLogging; - } - static new(opts) { - let context = opts && 'context' in opts ? opts.context : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return new _http._HttpClient.new(context); - } - 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], 1514, 46, "url"); - let environment = opts && 'environment' in opts ? opts.environment : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } - return overrides.findProxyFromEnvironment(url, environment); - } - }; - (_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[466] || CT.C466; - this[connectionTimeout] = null; - this[maxConnectionsPerHost] = null; - this[autoUncompress] = true; - this[userAgent] = null; - }).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__), - idleTimeout: dart.fieldType(core.Duration), - 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, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); - dart.defineLazy(_http.HttpClient, { - /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { - return 80; - }, - /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { - return 443; - }, - /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { - return false; - }, - 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"); - var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); - var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); - var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); - _http.HttpClientRequest = class HttpClientRequest extends core.Object { - get persistentConnection() { - 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; - } - }; - (_http.HttpClientRequest.new = function() { - this[persistentConnection] = true; - this[followRedirects] = true; - this[maxRedirects] = 5; - this[contentLength$0] = -1; - this[bufferOutput$] = true; - ; - }).prototype = _http.HttpClientRequest.prototype; - dart.addTypeTests(_http.HttpClientRequest); - dart.addTypeCaches(_http.HttpClientRequest); - _http.HttpClientRequest[dart.implements] = () => [io.IOSink]; - dart.setLibraryUri(_http.HttpClientRequest, I[177]); - dart.setFieldSignature(_http.HttpClientRequest, () => ({ - __proto__: dart.getFields(_http.HttpClientRequest.__proto__), - persistentConnection: dart.fieldType(core.bool), - followRedirects: dart.fieldType(core.bool), - maxRedirects: dart.fieldType(core.int), - contentLength: dart.fieldType(core.int), - bufferOutput: dart.fieldType(core.bool) - })); - _http.HttpClientResponse = class HttpClientResponse extends core.Object {}; - (_http.HttpClientResponse.new = function() { - ; - }).prototype = _http.HttpClientResponse.prototype; - _http.HttpClientResponse.prototype[dart.isStream] = true; - dart.addTypeTests(_http.HttpClientResponse); - dart.addTypeCaches(_http.HttpClientResponse); - _http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; - dart.setLibraryUri(_http.HttpClientResponse, I[177]); - _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], 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.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), - [_enumToString]: dart.fnType(core.String, []) - })); - 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() { - ; - }).prototype = _http.HttpClientCredentials.prototype; - dart.addTypeTests(_http.HttpClientCredentials); - 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], 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], 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() { - ; - }).prototype = _http.HttpConnectionInfo.prototype; - dart.addTypeTests(_http.HttpConnectionInfo); - dart.addTypeCaches(_http.HttpConnectionInfo); - dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); - _http.RedirectInfo = class RedirectInfo extends core.Object {}; - (_http.RedirectInfo.new = function() { - ; - }).prototype = _http.RedirectInfo.prototype; - dart.addTypeTests(_http.RedirectInfo); - dart.addTypeCaches(_http.RedirectInfo); - dart.setLibraryUri(_http.RedirectInfo, 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 { - get message() { - return this[message$17]; - } - set message(value) { - super.message = value; - } - get uri() { - return this[uri$0]; - } - 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 t249; - let b = (t249 = new core.StringBuffer.new(), (() => { - t249.write("HttpException: "); - t249.write(this.message); - return t249; - })()); - let uri = this.uri; - if (uri != null) { - b.write(", uri = " + dart.str(uri)); - } - return dart.toString(b); - } - }; - (_http.HttpException.new = function(message, opts) { - 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; - ; - }).prototype = _http.HttpException.prototype; - dart.addTypeTests(_http.HttpException); - dart.addTypeCaches(_http.HttpException); - _http.HttpException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(_http.HttpException, I[177]); - dart.setFieldSignature(_http.HttpException, () => ({ - __proto__: dart.getFields(_http.HttpException.__proto__), - message: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.Uri)) - })); - dart.defineExtensionMethods(_http.HttpException, ['toString']); - var message$18 = dart.privateName(_http, "RedirectException.message"); - var redirects$ = dart.privateName(_http, "RedirectException.redirects"); - _http.RedirectException = class RedirectException extends core.Object { - get message() { - return this[message$18]; - } - set message(value) { - super.message = value; - } - get redirects() { - return this[redirects$]; - } - 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 dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; - } - }; - (_http.RedirectException.new = function(message, 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; - ; - }).prototype = _http.RedirectException.prototype; - dart.addTypeTests(_http.RedirectException); - dart.addTypeCaches(_http.RedirectException); - _http.RedirectException[dart.implements] = () => [_http.HttpException]; - dart.setGetterSignature(_http.RedirectException, () => ({ - __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: dart.nullable(core.Uri) - })); - dart.setLibraryUri(_http.RedirectException, I[177]); - dart.setFieldSignature(_http.RedirectException, () => ({ - __proto__: dart.getFields(_http.RedirectException.__proto__), - message: dart.finalFieldType(core.String), - redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) - })); - dart.defineExtensionMethods(_http.RedirectException, ['toString']); - _http._CryptoUtils = class _CryptoUtils extends core.Object { - static getRandomBytes(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, math.Random.secure().nextInt(255)); - } - return result; - } - static bytesToHex(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 ['_#new#tearOff']() { - return new _http._CryptoUtils.new(); - } - }; - (_http._CryptoUtils.new = function() { - ; - }).prototype = _http._CryptoUtils.prototype; - dart.addTypeTests(_http._CryptoUtils); - dart.addTypeCaches(_http._CryptoUtils); - dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); - dart.setLibraryUri(_http._CryptoUtils, I[177]); - var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); - var _digestCalled = dart.privateName(_http, "_digestCalled"); - var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); - var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); - var _pendingData = dart.privateName(_http, "_pendingData"); - var _currentChunk = dart.privateName(_http, "_currentChunk"); - var _h = dart.privateName(_http, "_h"); - var _iterate = dart.privateName(_http, "_iterate"); - var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); - var _finalizeData = dart.privateName(_http, "_finalizeData"); - var _add32 = dart.privateName(_http, "_add32"); - var _roundUp = dart.privateName(_http, "_roundUp"); - var _rotl32 = dart.privateName(_http, "_rotl32"); - var _wordToBytes = dart.privateName(_http, "_wordToBytes"); - 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], 49, 22, "data"); - if (dart.test(this[_digestCalled])) { - dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); - } - this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); - this[_pendingData][$addAll](data); - this[_iterate](); - } - close() { - if (dart.test(this[_digestCalled])) { - return this[_resultAsBytes](); - } - this[_digestCalled] = true; - this[_finalizeData](); - this[_iterate](); - 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) { - 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) { - 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], 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; - } - [_resultAsBytes]() { - let result = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { - result[$addAll](this[_wordToBytes](this[_h][$_get](i))); - } - return result; - } - [_bytesToChunk](data, dataIndex) { - 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); - let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); - let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); - dataIndex = dart.notNull(dataIndex) + 4; - let word = (dart.notNull(w3) & 255) << 24 >>> 0; - word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; - word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; - word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; - this[_currentChunk][$_set](wordIndex, word); - } - } - [_wordToBytes](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); - bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); - bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); - return bytes; - } - [_iterate]() { - let len = this[_pendingData][$length]; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - if (dart.notNull(len) >= chunkSizeInBytes) { - let index = 0; - for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { - this[_bytesToChunk](this[_pendingData], index); - this[_updateHash](this[_currentChunk]); - } - this[_pendingData] = this[_pendingData][$sublist](index, len); - } - } - [_finalizeData]() { - this[_pendingData][$add](128); - let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - 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], 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)); - } else { - this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); - this[_pendingData][$addAll](this[_wordToBytes](0)); - } - } - }; - (_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _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] = _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.void, [core.List$(core.int)]), - close: dart.fnType(core.List$(core.int), []), - [_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.void, [core.List$(core.int), core.int]), - [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.void, []), - [_finalizeData]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_http._HashBase, () => ({ - __proto__: dart.getGetters(_http._HashBase.__proto__), - blockSize: core.int - })); - dart.setLibraryUri(_http._HashBase, I[177]); - dart.setFieldSignature(_http._HashBase, () => ({ - __proto__: dart.getFields(_http._HashBase.__proto__), - [_chunkSizeInWords$]: dart.finalFieldType(core.int), - [_bigEndianWords$]: dart.finalFieldType(core.bool), - [_lengthInBytes]: dart.fieldType(core.int), - [_pendingData]: 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 { - static ['_#new#tearOff']() { - return new _http._MD5.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let t0 = null; - let t1 = null; - for (let i = 0; i < 64; i = i + 1) { - if (i < 16) { - t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; - t1 = i; - } else if (i < 32) { - t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; - t1 = (5 * i + 1)[$modulo](16); - } else if (i < 48) { - t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; - t1 = (3 * i + 5)[$modulo](16); - } else { - t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; - t1 = (7 * i)[$modulo](16); - } - let temp = d; - d = c; - c = b; - 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, 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() { - _http._MD5.__proto__.new.call(this, 16, 4, false); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); - }).prototype = _http._MD5.prototype; - dart.addTypeTests(_http._MD5); - dart.addTypeCaches(_http._MD5); - dart.setMethodSignature(_http._MD5, () => ({ - __proto__: dart.getMethods(_http._MD5.__proto__), - [_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[471] || CT.C471; - }, - /*_http._MD5._r*/get _r() { - return C[472] || CT.C472; - } - }, false); - var _w = dart.privateName(_http, "_w"); - _http._SHA1 = class _SHA1 extends _http._HashBase { - static ['_#new#tearOff']() { - return new _http._SHA1.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let e = this[_h][$_get](4); - for (let i = 0; i < 80; i = i + 1) { - if (i < 16) { - this[_w][$_set](i, m[$_get](i)); - } else { - let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; - this[_w][$_set](i, this[_rotl32](n, 1)); - } - let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); - if (i < 20) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); - } else if (i < 40) { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); - } else if (i < 60) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); - } else { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); - } - e = d; - d = c; - c = this[_rotl32](b, 30); - b = a; - a = (dart.notNull(t) & 4294967295.0) >>> 0; - } - 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() { - this[_w] = T$0.ListOfint().filled(80, 0); - _http._SHA1.__proto__.new.call(this, 16, 5, true); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); - this[_h][$_set](4, 3285377520); - }).prototype = _http._SHA1.prototype; - dart.addTypeTests(_http._SHA1); - dart.addTypeCaches(_http._SHA1); - dart.setMethodSignature(_http._SHA1, () => ({ - __proto__: dart.getMethods(_http._SHA1.__proto__), - [_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.finalFieldType(core.List$(core.int)) - })); - _http.HttpDate = class HttpDate extends core.Object { - static format(date) { - 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 = (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], 85, 32, "date"); - let SP = 32; - 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], 119, 24, "s"); - if (date.length - index < s.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - let tmp = date[$substring](index, index + s.length); - if (tmp !== s) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - index = index + s.length; - } - dart.fn(expect, T$0.StringTovoid()); - function expectWeekday() { - let weekday = null; - let pos = date[$indexOf](",", index); - if (pos === -1) { - let pos = date[$indexOf](" ", index); - if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatAsctime; - } - } else { - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc1123; - } - weekday = weekdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc850; - } - } - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectWeekday, T$.VoidToint()); - function expectMonth(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); - index = pos + 1; - let month = months[$indexOf](tmp); - if (month !== -1) return month; - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectMonth, T$0.StringToint()); - function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); - let pos = null; - if (separator[$isNotEmpty]) { - pos = date[$indexOf](separator, index); - } else { - pos = date.length; - } - let tmp = date[$substring](index, pos); - index = dart.notNull(pos) + separator.length; - try { - let value = core.int.parse(tmp); - return value; - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } else - throw e; - } - } - dart.fn(expectNum, T$0.StringToint()); - function expectEnd() { - if (index !== date.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - } - dart.fn(expectEnd, T$.VoidTovoid()); - let format = expectWeekday(); - let year = null; - let month = null; - let day = null; - let hours = null; - let minutes = null; - let seconds = null; - if (format === formatAsctime) { - month = expectMonth(" "); - if (date[$codeUnitAt](index) === SP) index = index + 1; - day = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - year = expectNum(""); - } else { - expect(" "); - day = expectNum(format === formatRfc1123 ? " " : "-"); - month = expectMonth(format === formatRfc1123 ? " " : "-"); - year = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - expect("GMT"); - } - expectEnd(); - 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], 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))); - } - dart.fn(error, T$0.VoidToNever()); - function isEnd() { - return position === date.length; - } - dart.fn(isEnd, T$.VoidTobool()); - function isDelimiter(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; - if (char >= 59 && char <= 64) return true; - if (char >= 91 && char <= 96) return true; - if (char >= 123 && char <= 126) return true; - return false; - } - dart.fn(isDelimiter, T$.StringTobool()); - function isNonDelimiter(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; - if (char >= 48 && char <= 57) return true; - if (char === 58) return true; - if (char >= 65 && char <= 90) return true; - if (char >= 97 && char <= 122) return true; - if (char >= 127 && char <= 255) return true; - return false; - } - dart.fn(isNonDelimiter, T$.StringTobool()); - function isDigit(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], 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], 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 = T$.JSArrayOfString().of([]); - while (!dart.test(isEnd())) { - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - let start = position; - while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) - position = position + 1; - tokens[$add](date[$substring](start, position)[$toLowerCase]()); - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - } - let timeStr = null; - let dayOfMonthStr = null; - let monthStr = null; - let yearStr = null; - for (let token of tokens) { - 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) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let year = toInt(yearStr); - if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) - year = dart.notNull(year) + 1900; - else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; - if (dart.notNull(year) < 1601) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let dayOfMonth = toInt(dayOfMonthStr); - if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let month = dart.notNull(getMonth(monthStr)) + 1; - let timeList = timeStr[$split](":"); - if (timeList[$length] !== 3) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let hour = toInt(timeList[$_get](0)); - let minute = toInt(timeList[$_get](1)); - let second = toInt(timeList[$_get](2)); - if (dart.notNull(hour) > 23) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(minute) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(second) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - 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"); - var _contentLength = dart.privateName(_http, "_contentLength"); - var _persistentConnection = dart.privateName(_http, "_persistentConnection"); - var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); - var _host = dart.privateName(_http, "_host"); - var _port = dart.privateName(_http, "_port"); - var _headers = dart.privateName(_http, "_headers"); - var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); - var _checkMutable = dart.privateName(_http, "_checkMutable"); - var _addAll = dart.privateName(_http, "_addAll"); - var _add$1 = dart.privateName(_http, "_add"); - var _valueToString = dart.privateName(_http, "_valueToString"); - var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); - var _set = dart.privateName(_http, "_set"); - var _addValue = dart.privateName(_http, "_addValue"); - var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); - var _addDate = dart.privateName(_http, "_addDate"); - var _addHost = dart.privateName(_http, "_addHost"); - var _addExpires = dart.privateName(_http, "_addExpires"); - var _addConnection = dart.privateName(_http, "_addConnection"); - var _addContentType = dart.privateName(_http, "_addContentType"); - var _addContentLength = dart.privateName(_http, "_addContentLength"); - var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); - var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); - var _foldHeader = dart.privateName(_http, "_foldHeader"); - 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], 45, 36, "name"); - return this[_headers][$_get](_http._HttpHeaders._validateField(name)); - } - value(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], 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 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], 58, 38, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); - } else { - t251$ = this[_originalHeaderNames]; - t251$ == null ? null : t251$[$remove](lowercaseName); - } - this[_addAll](lowercaseName, value); - } - [_addAll](name, value) { - 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))); - } - } else { - this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); - } - } - set(name, value, opts) { - 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], 80, 45, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - this[_headers][$remove](lowercaseName); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](lowercaseName); - if (lowercaseName === "content-length") { - this[_contentLength] = -1; - } - if (lowercaseName === "transfer-encoding") { - this[_chunkedTransferEncoding] = false; - } - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); - } - this[_addAll](lowercaseName, value); - } - remove(name, 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 (dart.test(values[$isEmpty])) { - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - } - if (name === "transfer-encoding" && dart.equals(value, "chunked")) { - this[_chunkedTransferEncoding] = false; - } - } - removeAll(name) { - let t251; - if (name == null) dart.nullFailed(I[180], 114, 25, "name"); - this[_checkMutable](); - name = _http._HttpHeaders._validateField(name); - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - forEach(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], 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 t251; - if (name == null) dart.nullFailed(I[180], 128, 25, "name"); - name = _http._HttpHeaders._validateField(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], 135, 38, "persistentConnection"); - this[_checkMutable](); - if (persistentConnection == this[_persistentConnection]) return; - let originalName = this[_originalHeaderName]("connection"); - if (dart.test(persistentConnection)) { - if (this.protocolVersion === "1.1") { - this.remove("connection", "close"); - } else { - if (dart.notNull(this[_contentLength]) < 0) { - dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); - } - this.add(originalName, "keep-alive", {preserveHeaderCase: true}); - } - } else { - if (this.protocolVersion === "1.1") { - this.add(originalName, "close", {preserveHeaderCase: true}); - } else { - this.remove("connection", "keep-alive"); - } - } - this[_persistentConnection] = persistentConnection; - } - get contentLength() { - return this[_contentLength]; - } - set contentLength(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")); - } - if (this[_contentLength] == contentLength) return; - this[_contentLength] = contentLength; - if (dart.notNull(this[_contentLength]) >= 0) { - if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; - this[_set]("content-length", dart.toString(contentLength)); - } else { - this[_headers][$remove]("content-length"); - if (this.protocolVersion === "1.1") { - this.chunkedTransferEncoding = true; - } - } - } - get chunkedTransferEncoding() { - return this[_chunkedTransferEncoding]; - } - set chunkedTransferEncoding(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")); - } - if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; - if (dart.test(chunkedTransferEncoding)) { - let values = this[_headers][$_get]("transfer-encoding"); - if (values == null || !dart.test(values[$contains]("chunked"))) { - this[_addValue]("transfer-encoding", "chunked"); - } - this.contentLength = -1; - } else { - this.remove("transfer-encoding", "chunked"); - } - this[_chunkedTransferEncoding] = chunkedTransferEncoding; - } - get host() { - return this[_host]; - } - set host(host) { - this[_checkMutable](); - this[_host] = host; - this[_updateHostHeader](); - } - get port() { - return this[_port]; - } - set port(port) { - this[_checkMutable](); - this[_port] = port; - this[_updateHostHeader](); - } - get ifModifiedSince() { - let values = this[_headers][$_get]("if-modified-since"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set ifModifiedSince(ifModifiedSince) { - this[_checkMutable](); - if (ifModifiedSince == null) { - this[_headers][$remove]("if-modified-since"); - } else { - let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); - this[_set]("if-modified-since", formatted); - } - } - get date() { - let values = this[_headers][$_get]("date"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set date(date) { - this[_checkMutable](); - if (date == null) { - this[_headers][$remove]("date"); - } else { - let formatted = _http.HttpDate.format(date.toUtc()); - this[_set]("date", formatted); - } - } - get expires() { - let values = this[_headers][$_get]("expires"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set expires(expires) { - this[_checkMutable](); - if (expires == null) { - this[_headers][$remove]("expires"); - } else { - let formatted = _http.HttpDate.format(expires.toUtc()); - this[_set]("expires", formatted); - } - } - get contentType() { - let values = this[_headers][$_get]("content-type"); - if (values != null) { - return _http.ContentType.parse(values[$_get](0)); - } else { - return null; - } - } - set contentType(contentType) { - this[_checkMutable](); - if (contentType == null) { - this[_headers][$remove]("content-type"); - } else { - this[_set]("content-type", dart.toString(contentType)); - } - } - clear() { - this[_checkMutable](); - this[_headers][$clear](); - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - } - [_add$1](name, value) { - 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; - } - break; - } - case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; - } - break; - } - case 10: - { - if ("connection" === name) { - this[_addConnection](name, core.String.as(value)); - return; - } - break; - } - case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; - } - break; - } - case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; - } - break; - } - case 17: - { - 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], 376, 33, "name"); - if (core.int.is(value)) { - if (dart.notNull(value) < 0) { - dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); - } - } else if (typeof value == 'string') { - 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], 392, 36, "name"); - if (dart.equals(value, "chunked")) { - this.chunkedTransferEncoding = true; - } else { - this[_addValue]("transfer-encoding", core.Object.as(value)); - } - } - [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 400, 24, "name"); - if (core.DateTime.is(value)) { - this.date = value; - } else if (typeof value == 'string') { - this[_set]("date", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 410, 27, "name"); - if (core.DateTime.is(value)) { - this.expires = value; - } else if (typeof value == 'string') { - this[_set]("expires", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 420, 35, "name"); - if (core.DateTime.is(value)) { - this.ifModifiedSince = value; - } else if (typeof value == 'string') { - this[_set]("if-modified-since", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 430, 24, "name"); - if (typeof value == 'string') { - let pos = value[$lastIndexOf](":"); - if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { - this[_host] = value; - this[_port] = 80; - } else { - if (pos > 0) { - this[_host] = value[$substring](0, pos); - } else { - this[_host] = null; - } - if (pos + 1 === value.length) { - this[_port] = 80; - } else { - try { - this[_port] = core.int.parse(value[$substring](pos + 1)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - this[_port] = null; - } else - throw e; - } - } - } - this[_set]("host", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addConnection](name, value) { - 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 (lowerCaseValue === "keep-alive") { - this[_persistentConnection] = true; - } - this[_addValue](name, value); - } - [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 473, 31, "name"); - this[_set]("content-type", core.String.as(value)); - } - [_addValue](name, value) { - 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], 482, 32, "value"); - if (core.DateTime.is(value)) { - return _http.HttpDate.format(value); - } else if (typeof value == 'string') { - return value; - } else { - return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); - } - } - [_set](name, value) { - 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]() { - if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); - } - [_updateHostHeader]() { - let host = this[_host]; - if (host != null) { - let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; - this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); - } - } - [_foldHeader](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)); - } - [_finalize]() { - this[_mutable] = false; - } - [_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], 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]; - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - builder.addByte(44); - builder.addByte(32); - } else { - builder.addByte(13); - builder.addByte(10); - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - } - } - builder.add(values[$_get](i)[$codeUnits]); - } - builder.addByte(13); - builder.addByte(10); - }, T$0.StringAndListOfStringTovoid())); - } - toString() { - let sb = new core.StringBuffer.new(); - this[_headers][$forEach](dart.fn((name, 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); - t259 = sb; - (() => { - t259.write(originalName); - t259.write(": "); - return t259; - })(); - let fold = this[_foldHeader](name); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - sb.write(", "); - } else { - t259$ = sb; - (() => { - t259$.write("\n"); - t259$.write(originalName); - t259$.write(": "); - return t259$; - })(); - } - } - sb.write(values[$_get](i)); - } - sb.write("\n"); - }, T$0.StringAndListOfStringTovoid())); - return sb.toString(); - } - [_parseCookies]() { - let cookies = T$0.JSArrayOfCookie().of([]); - function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 587, 35, "s"); - let index = 0; - function done() { - return index === -1 || index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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; - return true; - } - dart.fn(expect, T$.StringTobool()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseName(); - skipWS(); - if (!dart.test(expect("="))) { - index = s[$indexOf](";", index); - continue; - } - skipWS(); - let value = parseValue(); - try { - cookies[$add](new _http._Cookie.new(name, value)); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - skipWS(); - if (dart.test(done())) return; - if (!dart.test(expect(";"))) { - index = s[$indexOf](";", index); - continue; - } - } - } - dart.fn(parseCookieString, T$0.StringTovoid()); - let values = this[_headers][$_get]("cookie"); - if (values != null) { - for (let headerValue of values) { - parseCookieString(headerValue); - } - } - return cookies; - } - static _validateField(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)); - } - } - return field[$toLowerCase](); - } - static _validateValue(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)))) { - dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); - } - } - return value; - } - [_originalHeaderName](name) { - 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], 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; - this[_originalHeaderNames] = null; - this[_mutable] = true; - this[_noFoldingHeaders] = null; - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - 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 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]; - this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; - this[_host] = initialHeaders[_host]; - this[_port] = initialHeaders[_port]; - } - if (this.protocolVersion === "1.0") { - this[_persistentConnection] = false; - this[_chunkedTransferEncoding] = false; - } - }).prototype = _http._HttpHeaders.prototype; - dart.addTypeTests(_http._HttpHeaders); - dart.addTypeCaches(_http._HttpHeaders); - _http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; - dart.setMethodSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getMethods(_http._HttpHeaders.__proto__), - _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), - value: dart.fnType(dart.nullable(core.String), [core.String]), - add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), - set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - remove: dart.fnType(dart.void, [core.String, core.Object]), - removeAll: dart.fnType(dart.void, [core.String]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), - noFolding: dart.fnType(dart.void, [core.String]), - clear: dart.fnType(dart.void, []), - [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_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, 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]), - [_set]: dart.fnType(dart.void, [core.String, core.String]), - [_checkMutable]: dart.fnType(dart.void, []), - [_updateHostHeader]: dart.fnType(dart.void, []), - [_foldHeader]: dart.fnType(core.bool, [core.String]), - [_finalize]: dart.fnType(dart.void, []), - [_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, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) - })); - dart.setSetterSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getSetters(_http._HttpHeaders.__proto__), - persistentConnection: core.bool, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) - })); - dart.setLibraryUri(_http._HttpHeaders, I[177]); - dart.setFieldSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getFields(_http._HttpHeaders.__proto__), - [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), - [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - protocolVersion: dart.finalFieldType(core.String), - [_mutable]: dart.fieldType(core.bool), - [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), - [_contentLength]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_chunkedTransferEncoding]: dart.fieldType(core.bool), - [_host]: dart.fieldType(dart.nullable(core.String)), - [_port]: dart.fieldType(dart.nullable(core.int)), - [_defaultPortForScheme]: dart.finalFieldType(core.int) - })); - dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); - var _parameters = dart.privateName(_http, "_parameters"); - var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); - 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], 697, 36, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 700, 12, "preserveBackslash"); - let result = new _http._HeaderValue.new(); - result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); - return result; - } - get value() { - return this[_value$5]; - } - [_ensureParameters]() { - let t260; - t260 = this[_parameters]; - return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; - } - get parameters() { - 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], 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[$contains](token[$_get](i))) { - return false; - } - } - return true; - } - toString() { - let sb = new core.StringBuffer.new(); - sb.write(this[_value$5]); - let parameters = this[_parameters]; - if (parameters != null && dart.test(parameters[$isNotEmpty])) { - parameters[$forEach](dart.fn((name, value) => { - let t260, t260$; - if (name == null) dart.nullFailed(I[180], 734, 34, "name"); - t260 = sb; - (() => { - t260.write("; "); - t260.write(name); - return t260; - })(); - if (value != null) { - sb.write("="); - if (dart.test(_http._HeaderValue._isToken(value))) { - sb.write(value); - } else { - sb.write("\""); - let start = 0; - for (let i = 0; i < value.length; i = i + 1) { - let codeUnit = value[$codeUnitAt](i); - if (codeUnit === 92 || codeUnit === 34) { - sb.write(value[$substring](start, i)); - sb.write("\\"); - start = i; - } - } - t260$ = sb; - (() => { - t260$.write(value[$substring](start)); - t260$.write("\""); - return t260$; - })(); - } - } - }, T$0.StringAndStringNTovoid())); - } - return sb.toString(); - } - [_parse](s, parameterSeparator, valueSeparator, 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; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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$0.StringTovoid()); - function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); - if (dart.test(done()) || !s[$startsWith](expected, index)) { - return false; - } - index = index + 1; - return true; - } - dart.fn(maybeExpect, T$.StringTobool()); - const parseParameters = () => { - let parameters = this[_ensureParameters](); - function parseParameterName() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; - index = index + 1; - } - return s[$substring](start, index)[$toLowerCase](); - } - dart.fn(parseParameterName, T$.VoidToString()); - function parseParameterValue() { - if (!dart.test(done()) && s[$_get](index) === "\"") { - let sb = new core.StringBuffer.new(); - index = index + 1; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === "\\") { - if (index + 1 === s.length) { - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } - if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { - sb.write(char); - } - index = index + 1; - } else if (char === "\"") { - index = index + 1; - return sb.toString(); - } - char = s[$_get](index); - sb.write(char); - index = index + 1; - } - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } else { - return parseValue(); - } - } - dart.fn(parseParameterValue, T$.VoidToString()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseParameterName(); - skipWS(); - if (dart.test(maybeExpect("="))) { - skipWS(); - let value = parseParameterValue(); - if (name === "charset" && _http._ContentType.is(this)) { - value = value[$toLowerCase](); - } - parameters[$_set](name, value); - skipWS(); - } else if (name[$isNotEmpty]) { - parameters[$_set](name, null); - } - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - expect(parameterSeparator); - } - }; - dart.fn(parseParameters, T$.VoidTovoid()); - skipWS(); - this[_value$5] = parseValue(); - skipWS(); - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - maybeExpect(parameterSeparator); - parseParameters(); - } - }; - (_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; - let nullableParameters = parameters; - if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { - this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); - } - }).prototype = _http._HeaderValue.prototype; - dart.addTypeTests(_http._HeaderValue); - dart.addTypeCaches(_http._HeaderValue); - _http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; - dart.setMethodSignature(_http._HeaderValue, () => ({ - __proto__: dart.getMethods(_http._HeaderValue.__proto__), - [_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, - parameters: core.Map$(core.String, dart.nullable(core.String)) - })); - dart.setLibraryUri(_http._HeaderValue, I[177]); - dart.setFieldSignature(_http._HeaderValue, () => ({ - __proto__: dart.getFields(_http._HeaderValue.__proto__), - [_value$5]: dart.fieldType(core.String), - [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), - [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) - })); - 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], 920, 36, "value"); - let result = new _http._ContentType.__(); - result[_parse](value, ";", null, false); - let index = result[_value$5][$indexOf]("/"); - if (index === -1 || index === result[_value$5].length - 1) { - result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); - } else { - result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); - result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); - } - return result; - } - get mimeType() { - return dart.str(this.primaryType) + "/" + dart.str(this.subType); - } - get primaryType() { - return this[_primaryType]; - } - get subType() { - return this[_subType]; - } - get charset() { - return this.parameters[$_get]("charset"); - } - }; - (_http._ContentType.new = function(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"); - this[_primaryType] = ""; - this[_subType] = ""; - this[_primaryType] = primaryType; - this[_subType] = subType; - _http._ContentType.__proto__.new.call(this, ""); - function emptyIfNull(string) { - let t260; - t260 = string; - return t260 == null ? "" : t260; - } - 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]); - let nullableParameters = parameters; - if (nullableParameters != null) { - let parameterMap = this[_ensureParameters](); - nullableParameters[$forEach](dart.fn((key, value) => { - let t260; - if (key == null) dart.nullFailed(I[180], 905, 42, "key"); - let lowerCaseKey = key[$toLowerCase](); - if (lowerCaseKey === "charset") { - value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); - } - parameterMap[$_set](lowerCaseKey, value); - }, T$0.StringAndStringNTovoid())); - } - if (charset != null) { - this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); - } - }).prototype = _http._ContentType.prototype; - (_http._ContentType.__ = function() { - this[_primaryType] = ""; - this[_subType] = ""; - _http._ContentType.__proto__.new.call(this); - ; - }).prototype = _http._ContentType.prototype; - 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, - primaryType: core.String, - subType: core.String, - charset: dart.nullable(core.String) - })); - dart.setLibraryUri(_http._ContentType, I[177]); - dart.setFieldSignature(_http._ContentType, () => ({ - __proto__: dart.getFields(_http._ContentType.__proto__), - [_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$8]; - } - get value() { - return this[_value$5]; - } - get path() { - return this[_path$3]; - } - set path(newPath) { - _http._Cookie._validatePath(newPath); - this[_path$3] = newPath; - } - set name(newName) { - if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); - _http._Cookie._validateName(newName); - this[_name$8] = newName; - } - set value(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], 986, 36, "s"); - let index = 0; - function done() { - return index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseValue, T$.VoidToString()); - const parseAttributes = () => { - function parseAttributeName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeName, T$.VoidToString()); - function parseAttributeValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeValue, T$.VoidToString()); - while (!dart.test(done())) { - let name = parseAttributeName(); - let value = ""; - if (!dart.test(done()) && s[$_get](index) === "=") { - index = index + 1; - value = parseAttributeValue(); - } - if (name === "expires") { - this.expires = _http.HttpDate._parseCookieDate(value); - } else if (name === "max-age") { - this.maxAge = core.int.parse(value); - } else if (name === "domain") { - this.domain = value; - } else if (name === "path") { - this.path = value; - } else if (name === "httponly") { - this.httpOnly = true; - } else if (name === "secure") { - this.secure = true; - } - if (!dart.test(done())) index = index + 1; - } - }; - dart.fn(parseAttributes, T$.VoidTovoid()); - 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; - this[_value$5] = _http._Cookie._validateValue(parseValue()); - if (dart.test(done())) return; - index = index + 1; - parseAttributes(); - } - toString() { - let t260, t260$, t260$0, t260$1, t260$2; - let sb = new core.StringBuffer.new(); - t260 = sb; - (() => { - t260.write(this[_name$8]); - t260.write("="); - t260.write(this[_value$5]); - return t260; - })(); - let expires = this.expires; - if (expires != null) { - t260$ = sb; - (() => { - t260$.write("; Expires="); - t260$.write(_http.HttpDate.format(expires)); - return t260$; - })(); - } - if (this.maxAge != null) { - t260$0 = sb; - (() => { - t260$0.write("; Max-Age="); - t260$0.write(this.maxAge); - return t260$0; - })(); - } - if (this.domain != null) { - t260$1 = sb; - (() => { - t260$1.write("; Domain="); - t260$1.write(this.domain); - return t260$1; - })(); - } - if (this.path != null) { - t260$2 = sb; - (() => { - t260$2.write("; Path="); - t260$2.write(this.path); - return t260$2; - })(); - } - if (dart.test(this.secure)) sb.write("; Secure"); - if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); - return sb.toString(); - } - static _validateName(newName) { - 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.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], 1130, 39, "newValue"); - if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); - let start = 0; - let end = newValue.length; - if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { - start = start + 1; - end = end - 1; - } - for (let i = start; i < end; i = i + 1) { - let codeUnit = newValue[$codeUnits][$_get](i); - if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { - dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); - } - } - return newValue; - } - static _validatePath(path) { - if (path == null) return; - for (let i = 0; i < path.length; i = i + 1) { - let codeUnit = path[$codeUnitAt](i); - if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { - dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); - } - } - } - }; - (_http._Cookie.new = function(name, value) { - 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$8] = _http._Cookie._validateName(name); - this[_value$5] = _http._Cookie._validateValue(value); - this[httpOnly$] = true; - ; - }).prototype = _http._Cookie.prototype; - (_http._Cookie.fromSetCookieValue = function(value) { - 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$8] = ""; - this[_value$5] = ""; - this[_parseSetCookieValue](value); - }).prototype = _http._Cookie.prototype; - dart.addTypeTests(_http._Cookie); - dart.addTypeCaches(_http._Cookie); - _http._Cookie[dart.implements] = () => [_http.Cookie]; - 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, - value: core.String, - path: dart.nullable(core.String) - })); - dart.setSetterSignature(_http._Cookie, () => ({ - __proto__: dart.getSetters(_http._Cookie.__proto__), - path: dart.nullable(core.String), - name: core.String, - value: core.String - })); - dart.setLibraryUri(_http._Cookie, I[177]); - dart.setFieldSignature(_http._Cookie, () => ({ - __proto__: dart.getFields(_http._Cookie.__proto__), - [_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)), - domain: dart.fieldType(dart.nullable(core.String)), - [_path$3]: dart.fieldType(dart.nullable(core.String)), - httpOnly: dart.fieldType(core.bool), - secure: dart.fieldType(core.bool) - })); - dart.defineExtensionMethods(_http._Cookie, ['toString']); - var _timeline = dart.privateName(_http, "_timeline"); - _http.HttpProfiler = class HttpProfiler extends core.Object { - static startRequest(method, uri, opts) { - 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, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); - _http.HttpProfiler._profile[$_set](data.id, data); - return data; - } - static getHttpProfileRequest(id) { - if (id == null) dart.nullFailed(I[181], 22, 54, "id"); - return _http.HttpProfiler._profile[$_get](id); - } - static clear() { - return _http.HttpProfiler._profile[$clear](); - } - static toJson(updatedSince) { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - 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$1._HttpProfileDataTobool()))) - t260.push(request.toJson()); - return t260; - })()])); - } - }; - (_http.HttpProfiler.new = function() { - ; - }).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$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 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; - })(); - } - }; - (_http._HttpProfileEvent.new = function(name, $arguments) { - if (name == null) dart.nullFailed(I[181], 43, 26, "name"); - this.timestamp = developer.Timeline.now; - this.name = name; - this.arguments = $arguments; - ; - }).prototype = _http._HttpProfileEvent.prototype; - dart.addTypeTests(_http._HttpProfileEvent); - dart.addTypeCaches(_http._HttpProfileEvent); - dart.setMethodSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) - })); - dart.setLibraryUri(_http._HttpProfileEvent, I[177]); - dart.setFieldSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), - timestamp: dart.finalFieldType(core.int), - name: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(dart.nullable(core.Map)) - })); - var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); - var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); - var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); - var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); - var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); - var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); - var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); - var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); - var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); - var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); - var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); - var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); - var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); - 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; - this[_timeline].instant(name, {arguments: $arguments}); - this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); - this[_updated](); - } - proxyEvent(proxy) { - if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); - this.proxyDetails = (() => { - 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](); - } - appendRequestData(data) { - if (data == null) dart.nullFailed(I[181], 94, 36, "data"); - this.requestBody[$addAll](data); - this[_updated](); - } - 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(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], 117, 32, "request"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - 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) - 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], 143, 51, "response"); - function formatRedirectInfo() { - 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$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) - 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], 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 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], 189, 38, "error"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - this.requestError = error; - this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - finishResponse() { - this.responseInProgress = false; - this.responseEndTimestamp = developer.Timeline.now; - this.requestEvent("Content Download"); - this[_responseTimeline].finish(); - this[_updated](); - } - finishResponseWithError(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; - this.responseError = error; - this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - appendResponseData(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], 225, 37, "ref"); - return (() => { - 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) - t268.push(event.toJson()); - return t268; - })()); - 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 (!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; - })()); - return t266; - })(); - } - [_updated]() { - return this[_lastUpdateTime] = developer.Timeline.now; - } - get id() { - let t271; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); - } - 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] = id$35param; - } - } - get requestStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); - } - 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] = requestStartTimestamp$35param; - } - } - get requestEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); - } - 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] = requestEndTimestamp$35param; - } - } - get responseStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); - } - 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] = responseStartTimestamp$35param; - } - } - get responseEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); - } - 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] = responseEndTimestamp$35param; - } - } - get lastUpdateTime() { - return this[_lastUpdateTime]; - } - get [_responseTimeline]() { - let t271; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); - } - set [_responseTimeline](_responseTimeline$35param) { - if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); - this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; - } - }; - (_http._HttpProfileData.new = function(method, uri, parent) { - if (method == null) dart.nullFailed(I[181], 58, 27, "method"); - if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); - this.requestInProgress = true; - this.responseInProgress = null; - this[___HttpProfileData_id] = null; - this[___HttpProfileData_id_isSet] = false; - this[___HttpProfileData_requestStartTimestamp] = null; - this[___HttpProfileData_requestStartTimestamp_isSet] = false; - this[___HttpProfileData_requestEndTimestamp] = null; - this[___HttpProfileData_requestEndTimestamp_isSet] = false; - this.requestDetails = null; - this.proxyDetails = null; - this.requestBody = T$.JSArrayOfint().of([]); - this.requestError = null; - this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); - this[___HttpProfileData_responseStartTimestamp] = null; - this[___HttpProfileData_responseStartTimestamp_isSet] = false; - this[___HttpProfileData_responseEndTimestamp] = null; - this[___HttpProfileData_responseEndTimestamp_isSet] = false; - this.responseDetails = null; - this.responseBody = T$.JSArrayOfint().of([]); - this.responseError = null; - this[_lastUpdateTime] = 0; - this[___HttpProfileData__responseTimeline] = null; - this[___HttpProfileData__responseTimeline_isSet] = false; - this.uri = uri; - this.method = method[$toUpperCase](); - this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); - this.id = this[_timeline].pass(); - this.requestInProgress = true; - this.requestStartTimestamp = developer.Timeline.now; - this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); - this[_updated](); - }).prototype = _http._HttpProfileData.prototype; - dart.addTypeTests(_http._HttpProfileData); - dart.addTypeCaches(_http._HttpProfileData); - dart.setMethodSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getMethods(_http._HttpProfileData.__proto__), - 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, [_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]), - finishResponse: dart.fnType(dart.void, []), - finishResponseWithError: dart.fnType(dart.void, [core.String]), - appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), - [_updated]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getGetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - lastUpdateTime: core.int, - [_responseTimeline]: developer.TimelineTask - })); - dart.setSetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getSetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - [_responseTimeline]: developer.TimelineTask - })); - dart.setLibraryUri(_http._HttpProfileData, I[177]); - dart.setFieldSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getFields(_http._HttpProfileData.__proto__), - requestInProgress: dart.fieldType(core.bool), - responseInProgress: dart.fieldType(dart.nullable(core.bool)), - [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), - requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - requestBody: dart.finalFieldType(core.List$(core.int)), - requestError: dart.fieldType(dart.nullable(core.String)), - requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), - [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), - responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - responseBody: dart.finalFieldType(core.List$(core.int)), - responseError: dart.fieldType(dart.nullable(core.String)), - [_lastUpdateTime]: dart.fieldType(core.int), - [_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)); - } - }, false); - var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); - var __serviceId$0 = dart.privateName(_http, "__serviceId"); - var _serviceId$ = dart.privateName(_http, "_serviceId"); - var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); - var _servicePath$ = dart.privateName(_http, "_servicePath"); - var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); - var _serviceType$ = dart.privateName(_http, "_serviceType"); - _http._ServiceObject = class _ServiceObject extends core.Object { - get [__serviceId$0]() { - return this[__serviceId$]; - } - set [__serviceId$0](value) { - if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); - this[__serviceId$] = value; - } - get [_serviceId$]() { - 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], 305, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); - return this[_serviceTypeName$]; - } - }; - (_http._ServiceObject.new = function() { - this[__serviceId$] = 0; - ; - }).prototype = _http._ServiceObject.prototype; - dart.addTypeTests(_http._ServiceObject); - dart.addTypeCaches(_http._ServiceObject); - dart.setMethodSignature(_http._ServiceObject, () => ({ - __proto__: dart.getMethods(_http._ServiceObject.__proto__), - [_serviceType$]: dart.fnType(core.String, [core.bool]) - })); - dart.setGetterSignature(_http._ServiceObject, () => ({ - __proto__: dart.getGetters(_http._ServiceObject.__proto__), - [_serviceId$]: core.int, - [_servicePath$]: core.String - })); - dart.setLibraryUri(_http._ServiceObject, I[177]); - dart.setFieldSignature(_http._ServiceObject, () => ({ - __proto__: dart.getFields(_http._ServiceObject.__proto__), - [__serviceId$0]: dart.fieldType(core.int) - })); - 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], 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], 332, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer$1][$setRange](this[_length$1], required, bytes); - } else { - for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { - this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); - } - } - this[_length$1] = required; - } - addByte(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], 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], 354, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); - this[_buffer$1] = newBuffer; - } - takeBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); - this.clear(); - return buffer; - } - toBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); - } - get length() { - return this[_length$1]; - } - get isEmpty() { - return this[_length$1] === 0; - } - get isNotEmpty() { - return this[_length$1] !== 0; - } - clear() { - this[_length$1] = 0; - this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } - }; - (_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - 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)); - ; - }).prototype = _http._CopyingBytesBuilder.prototype; - dart.addTypeTests(_http._CopyingBytesBuilder); - dart.addTypeCaches(_http._CopyingBytesBuilder); - _http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; - dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow$0]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - 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, - isEmpty: core.bool, - isNotEmpty: core.bool - })); - dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); - dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), - [_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; - }, - /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } - }, false); - var _dataCompleter = dart.privateName(_http, "_dataCompleter"); - var _transferLength$ = dart.privateName(_http, "_transferLength"); - var _stream$1 = dart.privateName(_http, "_stream"); - _http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { - 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(_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], 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], 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; - this.reasonPhrase = null; - this.method = null; - this.uri = null; - this.hasSubscriber = false; - this.headers = headers; - this[_transferLength$] = _transferLength; - this[_stream$1] = _stream; - _http._HttpIncoming.__proto__.new.call(this); - ; - }).prototype = _http._HttpIncoming.prototype; - dart.addTypeTests(_http._HttpIncoming); - dart.addTypeCaches(_http._HttpIncoming); - dart.setMethodSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpIncoming.__proto__), - 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)}, {}), - close: dart.fnType(dart.void, [core.bool]) - })); - dart.setGetterSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getGetters(_http._HttpIncoming.__proto__), - transferLength: core.int, - 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$(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), - statusCode: dart.fieldType(dart.nullable(core.int)), - reasonPhrase: dart.fieldType(dart.nullable(core.String)), - method: dart.fieldType(dart.nullable(core.String)), - uri: dart.fieldType(dart.nullable(core.Uri)), - hasSubscriber: dart.fieldType(core.bool) - })); - 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 t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } - }; - (_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessageListInt.__proto__.new.call(this); - ; - }).prototype = _http._HttpInboundMessageListInt.prototype; - dart.addTypeTests(_http._HttpInboundMessageListInt); - dart.addTypeCaches(_http._HttpInboundMessageListInt); - dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool - })); - dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); - dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) - })); - _http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { - get cookies() { - let t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } - }; - (_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessage.__proto__.new.call(this); - ; - }).prototype = _http._HttpInboundMessage.prototype; - dart.addTypeTests(_http._HttpInboundMessage); - dart.addTypeCaches(_http._HttpInboundMessage); - dart.setGetterSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool - })); - dart.setLibraryUri(_http._HttpInboundMessage, I[177]); - dart.setFieldSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) - })); - var _session = dart.privateName(_http, "_session"); - var _requestedUri = dart.privateName(_http, "_requestedUri"); - var _httpServer$ = dart.privateName(_http, "_httpServer"); - var _httpConnection$ = dart.privateName(_http, "_httpConnection"); - var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); - var _sessionManager$ = dart.privateName(_http, "_sessionManager"); - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get uri() { - return dart.nullCheck(this[_incoming$].uri); - } - get requestedUri() { - let requestedUri = this[_requestedUri]; - if (requestedUri != null) return requestedUri; - let proto = this.headers._get("x-forwarded-proto"); - let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; - let hostList = this.headers._get("x-forwarded-host"); - let host = null; - if (hostList != null) { - host = hostList[$first]; - } else { - hostList = this.headers._get("host"); - if (hostList != null) { - host = hostList[$first]; - } else { - host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); - } - } - return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); - } - get method() { - return dart.nullCheck(this[_incoming$].method); - } - get session() { - let session = this[_session]; - if (session != null && !dart.test(session[_destroyed])) { - return session; - } - return this[_session] = this[_httpServer$][_sessionManager$].createSession(); - } - get connectionInfo() { - return this[_httpConnection$].connectionInfo; - } - get certificate() { - let socket = this[_httpConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } - }; - (_http._HttpRequest.new = function(response, _incoming, _httpServer, _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; - this[_httpServer$] = _httpServer; - this[_httpConnection$] = _httpConnection; - _http._HttpRequest.__proto__.new.call(this, _incoming); - if (this.headers.protocolVersion === "1.1") { - t271 = this.response.headers; - (() => { - 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], 507, 19, "cookie"); - return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); - return cookie.value; - }, T$1.CookieToString())); - for (let sessionId of sessionIds) { - let session = this[_httpServer$][_sessionManager$].getSession(sessionId); - this[_session] = session; - if (session != null) { - session[_markSeen](); - break; - } - } - } - }).prototype = _http._HttpRequest.prototype; - dart.addTypeTests(_http._HttpRequest); - dart.addTypeCaches(_http._HttpRequest); - _http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; - dart.setMethodSignature(_http._HttpRequest, () => ({ - __proto__: dart.getMethods(_http._HttpRequest.__proto__), - 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)}, {}) - })); - dart.setGetterSignature(_http._HttpRequest, () => ({ - __proto__: dart.getGetters(_http._HttpRequest.__proto__), - uri: core.Uri, - requestedUri: core.Uri, - method: core.String, - session: _http.HttpSession, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - certificate: dart.nullable(io.X509Certificate) - })); - dart.setLibraryUri(_http._HttpRequest, I[177]); - dart.setFieldSignature(_http._HttpRequest, () => ({ - __proto__: dart.getFields(_http._HttpRequest.__proto__), - response: dart.finalFieldType(_http.HttpResponse), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), - [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), - [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) - })); - var _httpRequest$ = dart.privateName(_http, "_httpRequest"); - var _httpClient$ = dart.privateName(_http, "_httpClient"); - var _profileData$ = dart.privateName(_http, "_profileData"); - var _responseRedirects = dart.privateName(_http, "_responseRedirects"); - var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); - var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); - var _connectionClosed = dart.privateName(_http, "_connectionClosed"); - var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); - var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); - var _proxy$ = dart.privateName(_http, "_proxy"); - var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); - var _findCredentials = dart.privateName(_http, "_findCredentials"); - var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); - var _removeCredentials = dart.privateName(_http, "_removeCredentials"); - var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); - var _authenticate = dart.privateName(_http, "_authenticate"); - _http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { - 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], 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 { - return _http.HttpClientResponseCompressionState.notCompressed; - } - } - get statusCode() { - return dart.nullCheck(this[_incoming$].statusCode); - } - get reasonPhrase() { - return dart.nullCheck(this[_incoming$].reasonPhrase); - } - get certificate() { - let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } - get cookies() { - let cookies = this[_cookies]; - if (cookies != null) return cookies; - cookies = T$0.JSArrayOfCookie().of([]); - let values = this.headers._get("set-cookie"); - if (values != null) { - for (let value of values) { - cookies[$add](_http.Cookie.fromSetCookieValue(value)); - } - } - this[_cookies] = cookies; - return cookies; - } - get isRedirect() { - if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { - return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; - } else if (this[_httpRequest$].method === "POST") { - return this.statusCode === 303; - } - return false; - } - redirect(method = null, url = null, followLoops = null) { - if (method == null) { - if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { - method = "GET"; - } else { - method = this[_httpRequest$].method; - } - } - if (url == null) { - let location = this.headers.value("location"); - if (location == null) { - dart.throw(new core.StateError.new("Response has no Location header for redirect")); - } - url = core.Uri.parse(location); - } - if (followLoops !== true) { - for (let redirect of this.redirects) { - if (dart.equals(redirect.location, url)) { - return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); - } - } - } - 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]; - (() => { - t271[$addAll](this.redirects); - t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t271; - })(); - return request.close(); - }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); - } - listen(onData, opts) { - 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)) { - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); - this[_httpRequest$][_httpClientConnection$].destroy(); - 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[478] || CT.C478); - } - if (this[_profileData$] != null) { - stream = stream.map(typed_data.Uint8List, dart.fn(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$1.Uint8ListToUint8List())); - } - return stream.listen(onData, {onError: dart.fn((e, st) => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); - if (onError == null) { - return; - } - if (T$.ObjectAndStackTraceTovoid().is(onError)) { - onError(core.Object.as(e), core.StackTrace.as(st)); - } else { - T$.ObjectTovoid().as(onError)(core.Object.as(e)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponse(); - if (onDone != null) { - onDone(); - } - }, T$.VoidTovoid()), cancelOnError: cancelOnError}); - } - detachSocket() { - 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(); - } - get connectionInfo() { - return this[_httpRequest$].connectionInfo; - } - get [_shouldAuthenticateProxy]() { - let challenge = this.headers._get("proxy-authenticate"); - return this.statusCode === 407 && challenge != null && challenge[$length] === 1; - } - get [_shouldAuthenticate]() { - let challenge = this.headers._get("www-authenticate"); - return this.statusCode === 401 && challenge != null && challenge[$length] === 1; - } - [_authenticate](proxyAuth) { - 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 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$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); - }; - 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$1.VoidToListNOfString()); - const findCredentials = 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$1._AuthenticationSchemeTo_CredentialsN()); - const removeCredentials = 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$1._CredentialsTovoid()); - const requestAuthentication = (scheme, realm) => { - 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$]; - if (!dart.test(proxy.isDirect)) { - return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), 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$1._AuthenticationSchemeAndStringNToFutureOfbool()); - let challenge = dart.nullCheck(authChallenge()); - 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"); - let cr = findCredentials(scheme); - if (cr != null) { - if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { - return retry(); - } - if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { - let algorithm = header.parameters[$_get]("algorithm"); - if (algorithm == null || algorithm[$toLowerCase]() === "md5") { - let nonce = cr.nonce; - if (nonce == null || nonce == header.parameters[$_get]("nonce")) { - if (nonce == null) { - t271$ = cr; - (() => { - t271$.nonce = header.parameters[$_get]("nonce"); - t271$.algorithm = "MD5"; - t271$.qop = header.parameters[$_get]("qop"); - t271$.nonceCount = 0; - return t271$; - })(); - } - return retry(); - } else { - let staleHeader = header.parameters[$_get]("stale"); - if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { - cr.nonce = header.parameters[$_get]("nonce"); - return retry(); - } - } - } - } - } - if (cr != null) { - removeCredentials(cr); - cr = null; - } - return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(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$1.boolToFutureOrOfHttpClientResponse())); - } - }; - (_http._HttpClientResponse.new = function(_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"); - this[_httpRequest$] = _httpRequest; - this[_httpClient$] = _httpClient; - this[_profileData$] = _profileData; - this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); - _http._HttpClientResponse.__proto__.new.call(this, _incoming); - _incoming.uri = this[_httpRequest$].uri; - }).prototype = _http._HttpClientResponse.prototype; - dart.addTypeTests(_http._HttpClientResponse); - dart.addTypeCaches(_http._HttpClientResponse); - _http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; - dart.setMethodSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), - redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), - 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)}, {}), - 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), - statusCode: core.int, - reasonPhrase: core.String, - certificate: dart.nullable(io.X509Certificate), - isRedirect: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_shouldAuthenticateProxy]: core.bool, - [_shouldAuthenticate]: core.bool - })); - dart.setLibraryUri(_http._HttpClientResponse, I[177]); - dart.setFieldSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getFields(_http._HttpClientResponse.__proto__), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), - compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), - [_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], 868, 31, "input"); - return _native_typed_data.NativeUint8List.fromList(input); - } - startChunkedConversion(sink) { - T$1.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); - return new _http._Uint8ListConversionSink.new(sink); - } - }; - (_http._ToUint8List.new = function() { - _http._ToUint8List.__proto__.new.call(this); - ; - }).prototype = _http._ToUint8List.prototype; - dart.addTypeTests(_http._ToUint8List); - dart.addTypeCaches(_http._ToUint8List); - dart.setMethodSignature(_http._ToUint8List, () => ({ - __proto__: dart.getMethods(_http._ToUint8List.__proto__), - convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_http._ToUint8List, I[177]); - var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); - var _target$2 = dart.privateName(_http, "_target"); - _http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { - get [_target$2]() { - return this[_target$1]; - } - 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], 880, 22, "data"); - this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); - } - close() { - this[_target$2].close(); - } - }; - (_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); - this[_target$1] = _target; - ; - }).prototype = _http._Uint8ListConversionSink.prototype; - dart.addTypeTests(_http._Uint8ListConversionSink); - dart.addTypeCaches(_http._Uint8ListConversionSink); - _http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; - dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); - dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), - [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) - })); - var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); - var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); - var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); - var _isClosed$0 = dart.privateName(_http, "_isClosed"); - var _isBound$ = dart.privateName(_http, "_isBound"); - var _hasError$0 = dart.privateName(_http, "_hasError"); - var _controller$0 = dart.privateName(_http, "_controller"); - var _closeTarget$ = dart.privateName(_http, "_closeTarget"); - 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 __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])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller$0].add(data); - } - addError(error, stackTrace = null) { - 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) { - __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")); - } - this[_isBound$] = true; - if (dart.test(this[_hasError$0])) return this.done; - const targetAddStream = () => { - return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { - this[_isBound$] = false; - }, T$.VoidToNull())); - }; - dart.fn(targetAddStream, T$0.VoidToFuture()); - let controller = this[_controllerInstance$]; - if (controller == null) return targetAddStream(); - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.close(); - return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); - } - flush() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - let controller = this[_controllerInstance$]; - if (controller == null) return async.Future.value(this); - this[_isBound$] = true; - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.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$0])) { - this[_isClosed$0] = true; - let controller = this[_controllerInstance$]; - if (controller != null) { - controller.close(); - } else { - this[_closeTarget$](); - } - } - return this.done; - } - [_closeTarget$]() { - this[_target$2].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 (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); - } - } - get [_controller$0]() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$0])) { - 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$2].addStream(this[_controller$0].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 (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; - this[_controllerInstance$] = null; - } else { - this[_completeDoneError$](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull())}); - } - return dart.nullCheck(this[_controllerInstance$]); - } - } - (_StreamSinkImpl.new = function(_target) { - 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; - this[_isBound$] = false; - this[_hasError$0] = false; - this[_target$2] = _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, [core.Object, core.StackTrace]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller$0]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[177]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), - [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$0]: dart.fieldType(core.bool), - [_isBound$]: dart.fieldType(core.bool), - [_hasError$0]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; - }); - _http._StreamSinkImpl = _http._StreamSinkImpl$(); - dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); - var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); - var _encoding$0 = dart.privateName(_http, "_encoding"); - var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); - 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)) { - 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], 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 t271; - let string = dart.str(obj); - if (string[$isEmpty]) return; - 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], 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]) { - 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[181], 1072, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } - get [__IOSink_encoding_isSet]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); - } - get [__IOSink_encoding]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 1028, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); - this[_encodingMutable$] = true; - this[_encoding$0] = _encoding; - this[_profileData$] = _profileData; - _http._IOSinkImpl.__proto__.new.call(this, target); - ; - }).prototype = _http._IOSinkImpl.prototype; - dart.addTypeTests(_http._IOSinkImpl); - dart.addTypeCaches(_http._IOSinkImpl); - _http._IOSinkImpl[dart.implements] = () => [io.IOSink]; - dart.setMethodSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getMethods(_http._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(_http._IOSinkImpl, () => ({ - __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), - encoding: convert.Encoding, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) - })); - dart.setLibraryUri(_http._IOSinkImpl, I[177]); - dart.setFieldSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getFields(_http._IOSinkImpl.__proto__), - [_encoding$0]: dart.fieldType(convert.Encoding), - [_encodingMutable$]: dart.fieldType(core.bool), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) - })); - var _encodingSet = dart.privateName(_http, "_encodingSet"); - var _bufferOutput = dart.privateName(_http, "_bufferOutput"); - var _uri = dart.privateName(_http, "_uri"); - var _outgoing = dart.privateName(_http, "_outgoing"); - var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); - const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); - _http._HttpOutboundMessage$ = dart.generic(T => { - class _HttpOutboundMessage extends _http._IOSinkImpl { - get contentLength() { - return this.headers.contentLength; - } - set contentLength(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], 1110, 38, "p"); - this.headers.persistentConnection = p; - } - get bufferOutput() { - return this[_bufferOutput]; - } - set bufferOutput(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 t271; - if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { - return this[_encoding$0]; - } - let charset = null; - let contentType = this.headers.contentType; - if (contentType != null && contentType.charset != null) { - charset = dart.nullCheck(contentType.charset); - } else { - charset = "iso-8859-1"; - } - t271 = convert.Encoding.getByName(charset); - return t271 == null ? convert.latin1 : t271; - } - set encoding(value) { - super.encoding = value; - } - add(data) { - let t271; - T$0.ListOfint().as(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], 1140, 38, "s"); - if (this[_profileData$] == null) { - return super.addStream(s); - } - return super.addStream(s.map(T$0.ListOfint(), dart.fn(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$1.ListOfintToListOfint()))); - } - write(obj) { - if (!dart.test(this[_encodingSet])) { - this[_encoding$0] = this.encoding; - this[_encodingSet] = true; - } - super.write(obj); - } - get [_isConnectionClosed]() { - return false; - } - } - (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - 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: 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; - this[_encodingMutable$] = false; - }).prototype = _HttpOutboundMessage.prototype; - dart.addTypeTests(_HttpOutboundMessage); - _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; - dart.addTypeCaches(_HttpOutboundMessage); - dart.setGetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool, - [_isConnectionClosed]: core.bool - })); - dart.setSetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool - })); - dart.setLibraryUri(_HttpOutboundMessage, I[177]); - dart.setFieldSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getFields(_HttpOutboundMessage.__proto__), - [_encodingSet]: dart.fieldType(core.bool), - [_bufferOutput]: dart.fieldType(core.bool), - [_uri]: dart.finalFieldType(core.Uri), - [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), - headers: dart.finalFieldType(_http._HttpHeaders) - })); - return _HttpOutboundMessage; - }); - _http._HttpOutboundMessage = _http._HttpOutboundMessage$(); - dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); - var _statusCode = dart.privateName(_http, "_statusCode"); - var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); - var _deadline = dart.privateName(_http, "_deadline"); - var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); - var _isClosing = dart.privateName(_http, "_isClosing"); - 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 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], 1186, 27, "statusCode"); - if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); - this[_statusCode] = statusCode; - } - get reasonPhrase() { - return this[_findReasonPhrase](this.statusCode); - } - set reasonPhrase(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], 1197, 23, "location"); - let status = opts && 'status' in opts ? opts.status : 302; - 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)); - return this.close(); - } - detachSocket(opts) { - let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - 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], 1211, 14, "headersFuture == null"); - } else { - this[_outgoing].headersWritten = true; - } - this.close(); - this.done.catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - return future; - } - get connectionInfo() { - return dart.nullCheck(this[_httpRequest$]).connectionInfo; - } - get deadline() { - return this[_deadline]; - } - set deadline(d) { - 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(() => { - dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); - }, T$.VoidTovoid())); - } - [_writeHeader]() { - let t271, t271$, t271$0; - let buffer = new _http._CopyingBytesBuilder.new(8192); - if (this.headers.protocolVersion === "1.1") { - buffer.add(_http._Const.HTTP11); - } else { - buffer.add(_http._Const.HTTP10); - } - buffer.addByte(32); - buffer.add(dart.toString(this.statusCode)[$codeUnits]); - buffer.addByte(32); - buffer.add(this.reasonPhrase[$codeUnits]); - buffer.addByte(13); - buffer.addByte(10); - let session = dart.nullCheck(this[_httpRequest$])[_session]; - if (session != null && !dart.test(session[_destroyed])) { - session[_isNew] = false; - let found = false; - for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { - if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t271 = this.cookies[$_get](i); - (() => { - 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]((t271$ = cookie, (() => { - t271$.httpOnly = true; - t271$.path = "/"; - return t271$; - })())); - } - } - 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$1.CookieTovoid())); - this.headers[_finalize](); - this.headers[_build](buffer); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - [_findReasonPhrase](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"; - } - case 101: - { - return "Switching Protocols"; - } - case 200: - { - return "OK"; - } - case 201: - { - return "Created"; - } - case 202: - { - return "Accepted"; - } - case 203: - { - return "Non-Authoritative Information"; - } - case 204: - { - return "No Content"; - } - case 205: - { - return "Reset Content"; - } - case 206: - { - return "Partial Content"; - } - case 300: - { - return "Multiple Choices"; - } - case 301: - { - return "Moved Permanently"; - } - case 302: - { - return "Found"; - } - case 303: - { - return "See Other"; - } - case 304: - { - return "Not Modified"; - } - case 305: - { - return "Use Proxy"; - } - case 307: - { - return "Temporary Redirect"; - } - case 400: - { - return "Bad Request"; - } - case 401: - { - return "Unauthorized"; - } - case 402: - { - return "Payment Required"; - } - case 403: - { - return "Forbidden"; - } - case 404: - { - return "Not Found"; - } - case 405: - { - return "Method Not Allowed"; - } - case 406: - { - return "Not Acceptable"; - } - case 407: - { - return "Proxy Authentication Required"; - } - case 408: - { - return "Request Time-out"; - } - case 409: - { - return "Conflict"; - } - case 410: - { - return "Gone"; - } - case 411: - { - return "Length Required"; - } - case 412: - { - return "Precondition Failed"; - } - case 413: - { - return "Request Entity Too Large"; - } - case 414: - { - return "Request-URI Too Long"; - } - case 415: - { - return "Unsupported Media Type"; - } - case 416: - { - return "Requested range not satisfiable"; - } - case 417: - { - return "Expectation Failed"; - } - case 500: - { - return "Internal Server Error"; - } - case 501: - { - return "Not Implemented"; - } - case 502: - { - return "Bad Gateway"; - } - case 503: - { - return "Service Unavailable"; - } - case 504: - { - return "Gateway Time-out"; - } - case 505: - { - return "Http Version not supported"; - } - default: - { - return "Status " + dart.str(statusCode); - } - } - } - }; - (_http._HttpResponse.new = function(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"); - this[_statusCode] = 200; - this[_reasonPhrase] = null; - this[_cookies] = null; - this[_httpRequest$] = null; - this[_deadline] = null; - this[_deadlineTimer] = null; - _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); - if (serverHeader != null) { - this.headers.set("server", serverHeader); - } - }).prototype = _http._HttpResponse.prototype; - dart.addTypeTests(_http._HttpResponse); - dart.addTypeCaches(_http._HttpResponse); - _http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; - dart.setMethodSignature(_http._HttpResponse, () => ({ - __proto__: dart.getMethods(_http._HttpResponse.__proto__), - redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), - detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), - [_writeHeader]: dart.fnType(dart.void, []), - [_findReasonPhrase]: dart.fnType(core.String, [core.int]) - })); - dart.setGetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getGetters(_http._HttpResponse.__proto__), - cookies: core.List$(_http.Cookie), - statusCode: core.int, - reasonPhrase: core.String, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - deadline: dart.nullable(core.Duration) - })); - dart.setSetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getSetters(_http._HttpResponse.__proto__), - statusCode: core.int, - reasonPhrase: core.String, - deadline: dart.nullable(core.Duration) - })); - dart.setLibraryUri(_http._HttpResponse, I[177]); - dart.setFieldSignature(_http._HttpResponse, () => ({ - __proto__: dart.getFields(_http._HttpResponse.__proto__), - [_statusCode]: dart.fieldType(core.int), - [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), - [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), - [_deadline]: dart.fieldType(dart.nullable(core.Duration)), - [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) - })); - 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 _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); - var _requestUri = dart.privateName(_http, "_requestUri"); - _http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - 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 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])) { - super.close(); - } - return this.done; - } - get maxRedirects() { - return this[_maxRedirects]; - } - set maxRedirects(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; - } - get followRedirects() { - return this[_followRedirects]; - } - set followRedirects(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; - } - get connectionInfo() { - return this[_httpClientConnection$].connectionInfo; - } - [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); - if (dart.test(this[_aborted])) { - return; - } - let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); - 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$1.dynamicToFutureOfHttpClientResponse())); - } else { - 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$1.FutureOfHttpClientResponse().value(response); - } - future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].complete(v); - } - }, 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], 1503, 35, "stackTrace"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].completeError(core.Object.as(error), stackTrace); - } - } - [_requestUri]() { - const uriStartingFromPath = () => { - let result = this.uri.path; - if (result[$isEmpty]) result = "/"; - if (dart.test(this.uri.hasQuery)) { - result = dart.str(result) + "?" + dart.str(this.uri.query); - } - return result; - }; - dart.fn(uriStartingFromPath, T$.VoidToString()); - if (dart.test(this[_proxy$].isDirect)) { - return uriStartingFromPath(); - } else { - if (this.method === "CONNECT") { - return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); - } else { - if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { - return uriStartingFromPath(); - } else { - return dart.toString(this.uri.removeFragment()); - } - } - } - } - add(data) { - T$0.ListOfint().as(data); - 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) { - if (dart.test(this[_aborted])) return; - super.write(obj); - } - [_writeHeader]() { - let t271; - if (dart.test(this[_aborted])) { - this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); - return; - } - let buffer = new _http._CopyingBytesBuilder.new(8192); - buffer.add(this.method[$codeUnits]); - buffer.addByte(32); - buffer.add(this[_requestUri]()[$codeUnits]); - buffer.addByte(32); - buffer.add(_http._Const.HTTP11); - buffer.addByte(13); - buffer.addByte(10); - 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("; "); - t271 = sb; - (() => { - 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, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - abort(exception = null, stackTrace = null) { - this[_aborted] = true; - if (!dart.test(this[_responseCompleter].isCompleted)) { - exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; - this[_responseCompleter].completeError(exception, stackTrace); - this[_httpClientConnection$].destroy(); - } - } - }; - (_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - 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$1.CompleterOfHttpClientResponse().new(); - this[_response] = null; - this[_followRedirects] = true; - this[_maxRedirects] = 5; - this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); - this[_aborted] = false; - this.uri = uri; - this.method = method; - this[_proxy$] = _proxy; - this[_httpClient$] = _httpClient; - this[_httpClientConnection$] = _httpClientConnection; - _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t271 = _profileData; - t271 == null ? null : t271.requestEvent("Request sent"); - if (this.method === "GET" || this.method === "HEAD") { - this.contentLength = 0; - } else { - this.headers.chunkedTransferEncoding = true; - } - this[_responseCompleter].future.then(core.Null, dart.fn(response => { - 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); - dart.addTypeCaches(_http._HttpClientRequest); - _http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; - 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]), - [_requestUri]: dart.fnType(core.String, []), - [_writeHeader]: dart.fnType(dart.void, []), - abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), - done: async.Future$(_http.HttpClientResponse), - maxRedirects: core.int, - followRedirects: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo) - })); - dart.setSetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), - maxRedirects: core.int, - followRedirects: core.bool - })); - dart.setLibraryUri(_http._HttpClientRequest, I[177]); - dart.setFieldSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getFields(_http._HttpClientRequest.__proto__), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - cookies: dart.finalFieldType(core.List$(_http.Cookie)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_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.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 t271; - T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); - t271 = chunk; - this[_consume$](t271); - } - addSlice(chunk, start, end, 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)) { - t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t271); - } else { - 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], 1608, 22, "_consume"); - this[_consume$] = _consume; - _http._HttpGZipSink.__proto__.new.call(this); - ; - }).prototype = _http._HttpGZipSink.prototype; - dart.addTypeTests(_http._HttpGZipSink); - dart.addTypeCaches(_http._HttpGZipSink); - dart.setMethodSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_http._HttpGZipSink, I[177]); - dart.setFieldSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getFields(_http._HttpGZipSink.__proto__), - [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) - })); - var _closeFuture = dart.privateName(_http, "_closeFuture"); - var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); - var _bytesWritten = dart.privateName(_http, "_bytesWritten"); - var _gzip = dart.privateName(_http, "_gzip"); - var _gzipSink = dart.privateName(_http, "_gzipSink"); - var _gzipAdd = dart.privateName(_http, "_gzipAdd"); - var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); - var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); - 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"); - _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], 1687, 13, "drainRequest"); - let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); - if (dart.test(this.headersWritten)) return null; - this.headersWritten = true; - let drainFuture = null; - let gzip = false; - let response = dart.nullCheck(this.outbound); - if (_http._HttpResponse.is(response)) { - if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { - 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], 1705, 26, "list"); - return list[$split](","); - }, 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"); - gzip = true; - } - } - if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { - drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - } - } else { - drainRequest = false; - } - if (!dart.test(this.ignoreBody)) { - if (dart.test(setOutgoing)) { - let contentLength = response.headers.contentLength; - if (dart.test(response.headers.chunkedTransferEncoding)) { - this.chunked = true; - if (gzip) this.gzip = true; - } else if (dart.notNull(contentLength) >= 0) { - this.contentLength = contentLength; - } - } - if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); - } - } - response[_writeHeader](); - return null; - } - addStream(stream) { - T$0.StreamOfListOfint().as(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); - } - if (dart.test(this.ignoreBody)) { - stream.drain(dart.dynamic).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - let future = this.writeHeaders(); - if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); - } - return this.close(); - } - let controller = T$1.StreamControllerOfListOfint().new({sync: true}); - const onData = data => { - if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); - if (dart.test(this[_socketError])) return; - if (dart.test(data[$isEmpty])) return; - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - 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]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); - this[_pendingChunkedFooter] = 2; - } else { - let contentLength = this.contentLength; - if (contentLength != null) { - this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); - if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { - controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); - return; - } - } - } - 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}); - controller.onPause = dart.bind(sub, 'pause'); - controller.onResume = dart.bind(sub, 'resume'); - if (!dart.test(this.headersWritten)) { - let future = this.writeHeaders(); - if (future != null) { - sub.pause(future); - } - } - 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))) { - return this.outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); - } - close() { - let closeFuture = this[_closeFuture]; - if (closeFuture != null) return closeFuture; - let outbound = dart.nullCheck(this.outbound); - if (dart.test(this[_socketError])) return async.Future.value(outbound); - if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); - if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { - if (outbound.headers.contentLength === -1) { - outbound.headers.chunkedTransferEncoding = false; - outbound.headers.contentLength = 0; - } else if (dart.notNull(outbound.headers.contentLength) > 0) { - let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - let contentLength = this.contentLength; - if (contentLength != null) { - if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { - let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - const finalize = () => { - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(this.socket, 'add'); - if (dart.notNull(this[_gzipBufferLength]) > 0) { - dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); - } - this[_gzipBuffer] = null; - dart.nullCheck(this[_gzipSink]).close(); - this[_gzipAdd] = null; - } - this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); - } - if (dart.notNull(this[_length$1]) > 0) { - this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - } - this[_buffer$1] = null; - return this.socket.flush().then(dart.dynamic, dart.fn(_ => { - this[_doneCompleter$].complete(this.socket); - return outbound; - }, 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))) { - return outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); - }; - dart.fn(finalize, T$0.VoidToFuture()); - let future = this.writeHeaders(); - if (future != null) { - return this[_closeFuture] = future.whenComplete(finalize); - } - return this[_closeFuture] = finalize(); - } - get done() { - return this[_doneCompleter$].future; - } - setHeader(data, length) { - 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], 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], 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], 1912, 73, "data"); - if (this[_gzipAdd] == null) return; - this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); - this[_pendingChunkedFooter] = 2; - this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); - }, T$0.ListOfintTovoid()))); - } - } - [_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], 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); - return; - } - let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); - if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { - add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); - this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - this[_gzipBufferLength] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - let currentLength = this[_gzipBufferLength]; - let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); - dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); - this[_gzipBufferLength] = newLength; - } - } - [_addChunk$](chunk, 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) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = null; - this[_length$1] = 0; - } - add(chunk); - return; - } - if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); - this[_length$1] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); - this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); - } - } - [_chunkHeader](length) { - 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; - } - let size = this[_pendingChunkedFooter]; - let len = length; - while (dart.notNull(len) > 0) { - size = dart.notNull(size) + 1; - len = len[$rightShift](4); - } - let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); - if (this[_pendingChunkedFooter] === 2) { - footerAndHeader[$_set](0, 13); - footerAndHeader[$_set](1, 10); - } - let index = size; - while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { - footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); - length = length[$rightShift](4); - } - footerAndHeader[$_set](dart.notNull(size) + 0, 13); - footerAndHeader[$_set](dart.notNull(size) + 1, 10); - return footerAndHeader; - } - }; - (_http._HttpOutgoing.new = function(socket) { - 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; - this[_length$1] = 0; - this[_closeFuture] = null; - this.chunked = false; - this[_pendingChunkedFooter] = 0; - this.contentLength = null; - this[_bytesWritten] = 0; - this[_gzip] = false; - this[_gzipSink] = null; - this[_gzipAdd] = null; - this[_gzipBuffer] = null; - this[_gzipBufferLength] = 0; - this[_socketError] = false; - this.outbound = null; - this.socket = socket; - ; - }).prototype = _http._HttpOutgoing.prototype; - dart.addTypeTests(_http._HttpOutgoing); - dart.addTypeCaches(_http._HttpOutgoing); - _http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; - dart.setMethodSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), - writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), - 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]), - [_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]) - })); - dart.setGetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), - done: async.Future$(io.Socket) - })); - dart.setSetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), - gzip: core.bool - })); - dart.setLibraryUri(_http._HttpOutgoing, I[177]); - dart.setFieldSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getFields(_http._HttpOutgoing.__proto__), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), - socket: dart.finalFieldType(io.Socket), - ignoreBody: dart.fieldType(core.bool), - headersWritten: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_length$1]: dart.fieldType(core.int), - [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), - chunked: dart.fieldType(core.bool), - [_pendingChunkedFooter]: dart.fieldType(core.int), - contentLength: dart.fieldType(dart.nullable(core.int)), - [_bytesWritten]: dart.fieldType(core.int), - [_gzip]: dart.fieldType(core.bool), - [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), - [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), - [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_gzipBufferLength]: dart.fieldType(core.int), - [_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[484] || CT.C484; - }, - /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[485] || CT.C485; - } - }, false); - var _subscription$0 = dart.privateName(_http, "_subscription"); - var _dispose = dart.privateName(_http, "_dispose"); - var _idleTimer = dart.privateName(_http, "_idleTimer"); - var _currentUri = dart.privateName(_http, "_currentUri"); - var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); - var _streamFuture = dart.privateName(_http, "_streamFuture"); - var _context$0 = dart.privateName(_http, "_context"); - var _httpParser = dart.privateName(_http, "_httpParser"); - 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 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})); - } - this[_currentUri] = uri; - dart.nullCheck(this[_subscription$0]).pause(); - if (method === "CONNECT") { - this[_httpParser].connectMethod = true; - } - let proxyCreds = null; - let creds = null; - let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); - 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) + "]"; - t271 = request.headers; - (() => { - 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 = 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.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { - proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); - if (proxyCreds != null) { - proxyCreds.authorize(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)); - } else { - creds = this[_httpClient$][_findCredentials](uri); - if (creds != null) { - creds.authorize(request); - } - } - this[_httpParser].isHead = method === "HEAD"; - this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - 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], 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(); - return; - } - if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { - return; - } - 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$.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) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) proxyCreds.nonce = nextnonce; - } - } - if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { - let authInfo = incoming.headers._get("authentication-info"); - if (authInfo != null && authInfo[$length] === 1) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) creds.nonce = nextnonce; - } - } - request[_onIncoming](incoming); - }, 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], 2221, 17, "error"); - return core.StateError.is(error); - }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { - this.destroy(); - request[_onError](error, core.StackTrace.as(stackTrace)); - }, T$.dynamicAnddynamicToNull())); - dart.nullCheck(this[_subscription$0]).resume(); - return s; - }, 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], 2239, 16, "_"); - return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T$1.SocketTo_DetachedSocket())); - } - destroy() { - this.closed = true; - this[_httpClient$][_connectionClosed](this); - this[_socket$0].destroy(); - } - destroyFromExternal() { - this.closed = true; - this[_httpClient$][_connectionClosedNoFurtherClosing](this); - this[_socket$0].destroy(); - } - close() { - 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], 2259, 16, "_"); - return this[_socket$0].destroy(); - }, 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], 2267, 16, "_"); - return this[_socket$0].destroy(); - }, T$1.SocketTovoid())); - } - createProxyTunnel(host, port, proxy, callback, profileData) { - 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}); - 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 = 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 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) + ")"; - 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$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)); - t271 = profileData; - t271 == null ? null : t271.requestEvent("Proxy tunnel established"); - return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, 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], 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 t271; - t271 = this[_idleTimer]; - t271 == null ? null : t271.cancel(); - this[_idleTimer] = null; - } - startTimer() { - 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(); - }, T$.VoidTovoid())); - } - }; - (_http._HttpClientConnection.new = function(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"); - this[_subscription$0] = null; - this[_dispose] = false; - this[_idleTimer] = null; - this.closed = false; - this[_currentUri] = null; - this[_nextResponseCompleter] = null; - this[_streamFuture] = null; - this.key = key; - this[_socket$0] = _socket; - this[_httpClient$] = _httpClient; - this[_proxyTunnel$] = _proxyTunnel; - this[_context$0] = _context; - 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], 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]})); - } - if (incoming.statusCode === 100) { - 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], 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$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$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$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())}); - }).prototype = _http._HttpClientConnection.prototype; - dart.addTypeTests(_http._HttpClientConnection); - dart.addTypeCaches(_http._HttpClientConnection); - dart.setMethodSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), - send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - destroy: dart.fnType(dart.void, []), - destroyFromExternal: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - closeFromExternal: dart.fnType(dart.void, []), - createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), - 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) - })); - dart.setLibraryUri(_http._HttpClientConnection, I[177]); - dart.setFieldSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getFields(_http._HttpClientConnection.__proto__), - key: dart.finalFieldType(core.String), - [_socket$0]: dart.finalFieldType(io.Socket), - [_proxyTunnel$]: dart.finalFieldType(core.bool), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_dispose]: dart.fieldType(core.bool), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - closed: dart.fieldType(core.bool), - [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), - [_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 { - 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], 2344, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); - this.connection = connection; - this.proxy = proxy; - ; - }).prototype = _http._ConnectionInfo.prototype; - dart.addTypeTests(_http._ConnectionInfo); - dart.addTypeCaches(_http._ConnectionInfo); - dart.setLibraryUri(_http._ConnectionInfo, I[177]); - dart.setFieldSignature(_http._ConnectionInfo, () => ({ - __proto__: dart.getFields(_http._ConnectionInfo.__proto__), - connection: dart.finalFieldType(_http._HttpClientConnection), - proxy: dart.finalFieldType(_http._Proxy) - })); - 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 _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; - } - get hasIdle() { - return this[_idle][$isNotEmpty]; - } - get hasActive() { - return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; - } - takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); - let connection = this[_idle][$first]; - this[_idle].remove(connection); - connection.stopTimer(); - this[_active].add(connection); - return connection; - } - [_checkPending]() { - if (dart.test(this[_pending$][$isNotEmpty])) { - this[_pending$].removeFirst()(); - } - } - addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); - this[_active].add(connection); - } - returnConnection(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], 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], 2405, 19, "force"); - for (let t of this[_socketTasks][$toList]()) { - t.socket.then(core.Null, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); - s.destroy(); - }, T$1.SocketToNull()), {onError: dart.fn(e => { - }, T$.dynamicToNull())}); - t.cancel(); - } - if (dart.test(force)) { - for (let c of this[_idle][$toList]()) { - c.destroyFromExternal(); - } - for (let c of this[_active][$toList]()) { - c.destroyFromExternal(); - } - } else { - for (let c of this[_idle][$toList]()) { - c.closeFromExternal(); - } - } - } - 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$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$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], 2447, 35, "certificate"); - if (currentBadCertificateCallback == null) return false; - return currentBadCertificateCallback(certificate, uriHost, uriPort); - } - 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], 2469, 56, "task"); - this[_socketTasks].add(task); - let socketFuture = task.socket; - let connectionTimeout = client.connectionTimeout; - if (connectionTimeout != null) { - 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; - 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], 2487, 22, "tunnel"); - client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(tunnel, proxy); - }, T$1._HttpClientConnectionTo_ConnectionInfo())); - } else { - this.addNewActive(connection); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(connection, proxy); - } - }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { - if (async.TimeoutException.is(error)) { - 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(); - dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); - } - this[_socketTasks].remove(task); - this[_checkPending](); - dart.throw(error); - }, T$0.dynamicToNever())}); - }, 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, 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); - dart.addTypeCaches(_http._ConnectionTarget); - dart.setMethodSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), - takeIdle: dart.fnType(_http._HttpClientConnection, []), - [_checkPending]: dart.fnType(dart.dynamic, []), - addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), - 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.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) - })); - dart.setGetterSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), - isEmpty: core.bool, - hasIdle: core.bool, - hasActive: core.bool - })); - dart.setLibraryUri(_http._ConnectionTarget, I[177]); - dart.setFieldSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getFields(_http._ConnectionTarget.__proto__), - key: dart.finalFieldType(core.String), - host: dart.finalFieldType(core.String), - 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$(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"); - var _Proxy_port = dart.privateName(_http, "_Proxy.port"); - var _Proxy_host = dart.privateName(_http, "_Proxy.host"); - var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); - var _getConnection = dart.privateName(_http, "_getConnection"); - _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], 2558, 33, "timeout"); - this[_idleTimeout] = timeout; - for (let c of this[_connectionTargets][$values]) { - for (let idle of c[_idle]) { - idle.stopTimer(); - idle.startTimer(); - } - } - } - set badCertificateCallback(callback) { - this[_badCertificateCallback] = callback; - } - set keyLog(callback) { - this[_keyLog] = callback; - } - open(method, host, port, 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) { - let char = path[$codeUnitAt](i); - if (char === 35) { - fragmentStart = i; - queryStart = i; - } else if (char === 63) { - queryStart = i; - } - } - let query = null; - if (queryStart < fragmentStart) { - query = path[$substring](queryStart + 1, fragmentStart); - path = path[$substring](0, queryStart); - } - let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); - return this[_openUrl](method, uri); - } - openUrl(method, 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], 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], 2609, 40, "url"); - return this[_openUrl]("get", url); - } - post(host, port, 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], 2614, 41, "url"); - return this[_openUrl]("post", url); - } - put(host, port, 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], 2619, 40, "url"); - return this[_openUrl]("put", url); - } - delete(host, port, 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], 2624, 43, "url"); - return this[_openUrl]("delete", url); - } - head(host, port, 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], 2629, 41, "url"); - return this[_openUrl]("head", url); - } - patch(host, port, 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], 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], 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], 2640, 44, "s"); - return 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], 2642, 51, "s"); - return 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], 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], 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], 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 (!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 (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"); - let port = uri.port; - if (port === 0) { - port = dart.test(isSecure) ? 443 : 80; - } - let proxyConf = C[487] || CT.C487; - let findProxy = this[_findProxy]; - if (findProxy != null) { - try { - 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$1.FutureOf_HttpClientRequest().error(error, stackTrace); - } else - throw e; - } - } - let profileData = null; - if (dart.test(_http.HttpClient.enableTimelineLogging)) { - profileData = _http.HttpProfiler.startRequest(method, uri); - } - 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 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$1._ConnectionInfoTo_HttpClientRequest()); - if (dart.test(info.connection.closed)) { - return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); - } - return send(info); - }, 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())}); - } - 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 t274, t274$; - if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); - t274 = request; - (() => { - t274.followRedirects = previous.followRedirects; - t274.maxRedirects = previous.maxRedirects; - return t274; - })(); - for (let header of previous.headers[_headers][$keys]) { - 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))); - } - } - t274$ = request; - return (() => { - t274$.headers.chunkedTransferEncoding = false; - t274$.contentLength = 0; - return t274$; - })(); - }, T$1._HttpClientRequestTo_HttpClientRequest())); - } - [_returnConnection](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], 2844, 48, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - this[_connectionsChanged](); - } - } - [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - } - } - [_connectionsChanged]() { - if (dart.test(this[_closing])) { - this[_closeConnections](this[_closingForcefully]); - } - } - [_closeConnections](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], 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], 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, 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(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); - }; - 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], 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; - return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; - } else { - return prev; - } - }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); - return cr; - } - [_findProxyCredentials](proxy, scheme = null) { - 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; - } - } - return null; - } - [_removeCredentials](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], 2949, 45, "cr"); - this[_proxyCredentials][$remove](cr); - } - static _findProxyFromEnvironment(url, environment) { - 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], 2957, 55, "s"); - return s[$trim](); - }, T$.StringToString()))[$iterator]; - while (dart.test(names.moveNext())) { - let name = names.current; - if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { - return "DIRECT"; - } - } - return null; - } - dart.fn(checkNoProxy, T$1.StringNToStringN()); - function checkProxy(option) { - if (option == null) return null; - option = option[$trim](); - if (option[$isEmpty]) return null; - let pos = option[$indexOf]("://"); - if (pos >= 0) { - option = option[$substring](pos + 3); - } - pos = option[$indexOf]("/"); - if (pos >= 0) { - option = option[$substring](0, pos); - } - if (option[$indexOf]("[") === 0) { - let pos = option[$lastIndexOf](":"); - if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; - } else { - if (!option[$contains](":")) option = dart.str(option) + ":1080"; - } - return "PROXY " + dart.str(option); - } - dart.fn(checkProxy, T$1.StringNToStringN()); - environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; - let proxyCfg = null; - let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); - proxyCfg = checkNoProxy(noProxy); - if (proxyCfg != null) { - return proxyCfg; - } - 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 (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; - } - } - return "DIRECT"; - } - }; - (_http._HttpClient.new = function(_context) { - this[_closing] = false; - this[_closingForcefully] = false; - 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[486] || CT.C486; - this[_idleTimeout] = C[466] || CT.C466; - this[_badCertificateCallback] = null; - this[_keyLog] = null; - this.connectionTimeout = null; - this.maxConnectionsPerHost = null; - this.autoUncompress = true; - this.userAgent = _http._getHttpVersion(); - this[_context$0] = _context; - ; - }).prototype = _http._HttpClient.prototype; - dart.addTypeTests(_http._HttpClient); - dart.addTypeCaches(_http._HttpClient); - _http._HttpClient[dart.implements] = () => [_http.HttpClient]; - dart.setMethodSignature(_http._HttpClient, () => ({ - __proto__: dart.getMethods(_http._HttpClient.__proto__), - open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), - openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), - get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - 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], {}, {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.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 - })); - 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])), - 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]); - dart.setFieldSignature(_http._HttpClient, () => ({ - __proto__: dart.getFields(_http._HttpClient.__proto__), - [_closing]: dart.fieldType(core.bool), - [_closingForcefully]: dart.fieldType(core.bool), - [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), - [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), - [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_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; - } - }, false); - var _state$1 = dart.privateName(_http, "_state"); - var _idleMark = dart.privateName(_http, "_idleMark"); - var _markActive = dart.privateName(_http, "_markActive"); - var _markIdle = dart.privateName(_http, "_markIdle"); - var _handleRequest = dart.privateName(_http, "_handleRequest"); - var _isActive = dart.privateName(_http, "_isActive"); - var _isIdle = dart.privateName(_http, "_isIdle"); - var _isDetached = dart.privateName(_http, "_isDetached"); - const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; - (LinkedListEntry__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - LinkedListEntry__ServiceObject$36.__proto__.new.call(this); - }).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; - } - get isMarkedIdle() { - return this[_idleMark]; - } - destroy() { - if (this[_state$1] === 2 || this[_state$1] === 3) return; - this[_state$1] = 2; - this[_socket$0].destroy(); - this[_httpServer$][_connectionClosed](this); - _http._HttpConnection._connections[$remove](this[_serviceId$]); - } - detachSocket() { - this[_state$1] = 3; - this[_httpServer$][_connectionClosed](this); - 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(this[_socket$0], detachedIncoming); - }, T$1.dynamicTo_DetachedSocket())); - } - get connectionInfo() { - return _http._HttpConnectionInfo.create(this[_socket$0]); - } - get [_isActive]() { - return this[_state$1] === 0; - } - get [_isIdle]() { - return this[_state$1] === 1; - } - get [_isClosing]() { - return this[_state$1] === 2; - } - get [_isDetached]() { - return this[_state$1] === 3; - } - get [_serviceTypePath$]() { - return "io/http/serverconnections"; - } - get [_serviceTypeName$]() { - return "HttpServerConnection"; - } - }; - (_http._HttpConnection.new = function(_socket, _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; - this[_streamFuture] = null; - this[_socket$0] = _socket; - this[_httpServer$] = _httpServer; - this[_httpParser] = _http._HttpParser.requestParser(); - _http._HttpConnection.__proto__.new.call(this); - _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(this[_socket$0]); - this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); - this[_httpServer$][_markActive](this); - incoming.dataDone.then(core.Null, dart.fn(closing => { - 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(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], 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)) { - this[_state$1] = 1; - this[_idleMark] = false; - this[_httpServer$][_markIdle](this); - dart.nullCheck(this[_subscription$0]).resume(); - } else { - this.destroy(); - } - }, T$1.SocketToNull()), {onError: dart.fn(_ => { - this.destroy(); - }, T$.dynamicToNull())}); - outgoing.ignoreBody = request.method === "HEAD"; - response[_httpRequest$] = request; - this[_httpServer$][_handleRequest](request); - }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { - this.destroy(); - }, T$.VoidTovoid()), onError: dart.fn(error => { - this.destroy(); - }, T$.dynamicToNull())}); - }).prototype = _http._HttpConnection.prototype; - dart.addTypeTests(_http._HttpConnection); - dart.addTypeCaches(_http._HttpConnection); - 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), []) - })); - dart.setGetterSignature(_http._HttpConnection, () => ({ - __proto__: dart.getGetters(_http._HttpConnection.__proto__), - isMarkedIdle: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_isActive]: core.bool, - [_isIdle]: core.bool, - [_isClosing]: core.bool, - [_isDetached]: core.bool, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String - })); - dart.setLibraryUri(_http._HttpConnection, I[177]); - dart.setFieldSignature(_http._HttpConnection, () => ({ - __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(io.Socket), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_state$1]: dart.fieldType(core.int), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_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; - }, - /*_http._HttpConnection._IDLE*/get _IDLE() { - return 1; - }, - /*_http._HttpConnection._CLOSING*/get _CLOSING() { - return 2; - }, - /*_http._HttpConnection._DETACHED*/get _DETACHED() { - return 3; - }, - /*_http._HttpConnection._connections*/get _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"); - var _closeServer$ = dart.privateName(_http, "_closeServer"); - var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); - const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; - (Stream__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__.new.call(this); - }).prototype = Stream__ServiceObject$36.prototype; - (Stream__ServiceObject$36._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__._internal.call(this); - }).prototype = Stream__ServiceObject$36.prototype; - 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], 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], 3165, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, T$1.ServerSocketTo_HttpServer())); - } - static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, 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], 3183, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, 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"); - defaultResponseHeaders.contentType = _http.ContentType.text; - defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); - defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); - defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); - return defaultResponseHeaders; - } - get idleTimeout() { - return this[_idleTimeout]; - } - set idleTimeout(duration) { - let idleTimer = this[_idleTimer]; - if (idleTimer != null) { - idleTimer.cancel(); - this[_idleTimer] = null; - } - this[_idleTimeout] = duration; - if (duration != null) { - this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); - for (let idle of this[_idleConnections][$toList]()) { - if (dart.test(idle.isMarkedIdle)) { - idle.destroy(); - } else { - idle.markIdle(); - } - } - }, T$.TimerTovoid())); - } - } - 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[_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$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { - if (!io.HandshakeException.is(error)) { - this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - close(opts) { - let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); - this.closed = true; - let result = null; - if (dart.test(this[_closeServer$])) { - result = this[_serverSocket$].close(); - } else { - result = async.Future.value(); - } - this.idleTimeout = null; - if (dart.test(force)) { - for (let c of this[_activeConnections][$toList]()) { - c.destroy(); - } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); - } - for (let c of this[_idleConnections][$toList]()) { - c.destroy(); - } - this[_maybePerformCleanup$](); - return result; - } - [_maybePerformCleanup$]() { - let sessionManager = this[_sessionManagerInstance]; - if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { - sessionManager.close(); - this[_sessionManagerInstance] = null; - _http._HttpServer._servers[$remove](this[_serviceId$]); - } - } - get port() { - if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - 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 this[_serverSocket$].address; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); - this[_sessionManager$].sessionTimeout = timeout; - } - [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); - if (!dart.test(this.closed)) { - this[_controller$0].add(request); - } else { - request[_httpConnection$].destroy(); - } - } - [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); - connection.unlink(); - this[_maybePerformCleanup$](); - } - [_markIdle](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], 3324, 36, "connection"); - this[_idleConnections].remove(connection); - this[_activeConnections].add(connection); - } - get [_sessionManager$]() { - 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); - for (let conn of this[_activeConnections]) { - if (dart.test(conn[_isActive])) { - t274 = result; - t274.active = dart.notNull(t274.active) + 1; - } else { - 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$]() { - return "io/http/servers"; - } - get [_serviceTypeName$]() { - return "HttpServer"; - } - }; - (_http._HttpServer.__ = function(_serverSocket, _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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - 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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[460] || CT.C460; - _http._HttpServer._servers[$_set](this[_serviceId$], this); - }).prototype = _http._HttpServer.prototype; - dart.addTypeTests(_http._HttpServer); - dart.addTypeCaches(_http._HttpServer); - _http._HttpServer[dart.implements] = () => [_http.HttpServer]; - dart.setMethodSignature(_http._HttpServer, () => ({ - __proto__: dart.getMethods(_http._HttpServer.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future, [], {force: core.bool}, {}), - [_maybePerformCleanup$]: dart.fnType(dart.void, []), - [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), - [_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, []) - })); - dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); - dart.setGetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getGetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - port: core.int, - address: io.InternetAddress, - [_sessionManager$]: _http._HttpSessionManager, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String - })); - dart.setSetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getSetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - sessionTimeout: core.int - })); - dart.setLibraryUri(_http._HttpServer, I[177]); - dart.setFieldSignature(_http._HttpServer, () => ({ - __proto__: dart.getFields(_http._HttpServer.__proto__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), - autoCompress: dart.fieldType(core.bool), - [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), - closed: dart.fieldType(core.bool), - [_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.finalFieldType(async.StreamController$(_http.HttpRequest)) - })); - dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); - dart.defineLazy(_http._HttpServer, { - /*_http._HttpServer._servers*/get _servers() { - return new (T$1.IdentityMapOfint$_HttpServer()).new(); - } - }, false); - const proxies = _ProxyConfiguration_proxies; - _http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { - get proxies() { - return this[proxies]; - } - 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], 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](";"); - for (let proxy of list) { - proxy = proxy[$trim](); - if (proxy[$isNotEmpty]) { - if (proxy[$startsWith]("PROXY ")) { - let username = null; - let password = null; - proxy = proxy[$substring]("PROXY ".length)[$trim](); - let at = proxy[$indexOf]("@"); - if (at !== -1) { - let userinfo = proxy[$substring](0, at)[$trim](); - proxy = proxy[$substring](at + 1)[$trim](); - let colon = userinfo[$indexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - username = userinfo[$substring](0, colon)[$trim](); - password = userinfo[$substring](colon + 1)[$trim](); - } - let colon = proxy[$lastIndexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - let host = proxy[$substring](0, colon)[$trim](); - if (host[$startsWith]("[") && host[$endsWith]("]")) { - host = host[$substring](1, host.length - 1); - } - let portString = proxy[$substring](colon + 1)[$trim](); - let port = null; - try { - port = core.int.parse(portString); - } 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; - } - this.proxies[$add](new _http._Proxy.new(host, port, username, password)); - } else if (proxy[$trim]() === "DIRECT") { - this.proxies[$add](new _http._Proxy.direct()); - } else { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - } - } - }).prototype = _http._ProxyConfiguration.prototype; - (_http._ProxyConfiguration.direct = function() { - this[proxies] = C[488] || CT.C488; - ; - }).prototype = _http._ProxyConfiguration.prototype; - dart.addTypeTests(_http._ProxyConfiguration); - dart.addTypeCaches(_http._ProxyConfiguration); - dart.setLibraryUri(_http._ProxyConfiguration, I[177]); - 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 "; - }, - /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { - return "DIRECT"; - } - }, false); - const host$ = _Proxy_host; - const port$1 = _Proxy_port; - const username$ = _Proxy_username; - const password$ = _Proxy_password; - const isDirect = _Proxy_isDirect; - _http._Proxy = class _Proxy extends core.Object { - get host() { - return this[host$]; - } - set host(value) { - super.host = value; - } - get port() { - return this[port$1]; - } - set port(value) { - super.port = value; - } - get username() { - return this[username$]; - } - set username(value) { - super.username = value; - } - get password() { - return this[password$]; - } - set password(value) { - super.password = value; - } - get isDirect() { - return this[isDirect]; - } - 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], 3438, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); - this[host$] = host; - this[port$1] = port; - this[username$] = username; - this[password$] = password; - this[isDirect] = false; - ; - }).prototype = _http._Proxy.prototype; - (_http._Proxy.direct = function() { - this[host$] = null; - this[port$1] = null; - this[username$] = null; - this[password$] = null; - this[isDirect] = true; - ; - }).prototype = _http._Proxy.prototype; - dart.addTypeTests(_http._Proxy); - dart.addTypeCaches(_http._Proxy); - dart.setGetterSignature(_http._Proxy, () => ({ - __proto__: dart.getGetters(_http._Proxy.__proto__), - isAuthenticated: core.bool - })); - dart.setLibraryUri(_http._Proxy, I[177]); - dart.setFieldSignature(_http._Proxy, () => ({ - __proto__: dart.getFields(_http._Proxy.__proto__), - host: dart.finalFieldType(dart.nullable(core.String)), - port: dart.finalFieldType(dart.nullable(core.int)), - username: dart.finalFieldType(dart.nullable(core.String)), - password: dart.finalFieldType(dart.nullable(core.String)), - 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], 3457, 45, "socket"); - if (socket == null) return null; - try { - return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - } - }; - (_http._HttpConnectionInfo.new = function(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"); - this.remoteAddress = remoteAddress; - this.remotePort = remotePort; - this.localPort = localPort; - ; - }).prototype = _http._HttpConnectionInfo.prototype; - 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__), - remoteAddress: dart.fieldType(io.InternetAddress), - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get encoding() { - return this[_socket$0].encoding; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); - this[_socket$0].encoding = value; - } - write(obj) { - this[_socket$0].write(obj); - } - writeln(obj = "") { - this[_socket$0].writeln(obj); - } - writeCharCode(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], 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], 3501, 22, "bytes"); - this[_socket$0].add(bytes); - } - addError(error, stackTrace = null) { - 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], 3508, 38, "stream"); - return this[_socket$0].addStream(stream); - } - destroy() { - this[_socket$0].destroy(); - } - flush() { - return this[_socket$0].flush(); - } - close() { - return this[_socket$0].close(); - } - get done() { - return this[_socket$0].done; - } - get port() { - return this[_socket$0].port; - } - get address() { - return this[_socket$0].address; - } - get remoteAddress() { - return this[_socket$0].remoteAddress; - } - get remotePort() { - return this[_socket$0].remotePort; - } - setOption(option, 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], 3534, 42, "option"); - return this[_socket$0].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); - this[_socket$0].setRawOption(option); - } - get [__IOSink_encoding_isSet]() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 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); - ; - }).prototype = _http._DetachedSocket.prototype; - dart.addTypeTests(_http._DetachedSocket); - dart.addTypeCaches(_http._DetachedSocket); - _http._DetachedSocket[dart.implements] = () => [io.Socket]; - dart.setMethodSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getMethods(_http._DetachedSocket.__proto__), - 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)}, {}), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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)]), - destroy: dart.fnType(dart.void, []), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), - getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) - })); - dart.setGetterSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getGetters(_http._DetachedSocket.__proto__), - encoding: convert.Encoding, - done: async.Future, - port: core.int, - address: io.InternetAddress, - remoteAddress: io.InternetAddress, - remotePort: core.int, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) - })); - dart.setLibraryUri(_http._DetachedSocket, I[177]); - dart.setFieldSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getFields(_http._DetachedSocket.__proto__), - [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), - [_socket$0]: dart.finalFieldType(io.Socket) - })); - var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); - var _scheme = dart.privateName(_http, "_scheme"); - _http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { - get [_scheme]() { - return this[_scheme$]; - } - 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], 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"; - return "Unknown"; - } - }; - (_http._AuthenticationScheme.new = function(_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[492] || CT.C492; - }, - /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[493] || CT.C493; - }, - /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[494] || CT.C494; - } - }, false); - _http._Credentials = class _Credentials extends core.Object { - get scheme() { - return this.credentials.scheme; - } - }; - (_http._Credentials.new = function(credentials, 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; - this.algorithm = null; - this.qop = null; - this.nonceCount = null; - this.credentials = credentials; - this.realm = realm; - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { - let creds = _http._HttpClientDigestCredentials.as(this.credentials); - 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()); - } - }).prototype = _http._Credentials.prototype; - dart.addTypeTests(_http._Credentials); - dart.addTypeCaches(_http._Credentials); - dart.setGetterSignature(_http._Credentials, () => ({ - __proto__: dart.getGetters(_http._Credentials.__proto__), - scheme: _http._AuthenticationScheme - })); - dart.setLibraryUri(_http._Credentials, I[177]); - dart.setFieldSignature(_http._Credentials, () => ({ - __proto__: dart.getFields(_http._Credentials.__proto__), - credentials: dart.fieldType(_http._HttpClientCredentials), - realm: dart.fieldType(core.String), - used: dart.fieldType(core.bool), - ha1: dart.fieldType(dart.nullable(core.String)), - nonce: dart.fieldType(dart.nullable(core.String)), - algorithm: dart.fieldType(dart.nullable(core.String)), - qop: dart.fieldType(dart.nullable(core.String)), - 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], 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; - let otherPort = uri.port === 0 ? 80 : uri.port; - if (otherPort != thisPort) return false; - return uri.path[$startsWith](this.uri.path); - } - authorize(request) { - if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorize(this, _http._HttpClientRequest.as(request)); - this.used = true; - } - }; - (_http._SiteCredentials.new = function(uri, realm, 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)); - ; - }).prototype = _http._SiteCredentials.prototype; - dart.addTypeTests(_http._SiteCredentials); - dart.addTypeCaches(_http._SiteCredentials); - dart.setMethodSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getMethods(_http._SiteCredentials.__proto__), - applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) - })); - dart.setLibraryUri(_http._SiteCredentials, I[177]); - dart.setFieldSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getFields(_http._SiteCredentials.__proto__), - 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], 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], 3640, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); - } - }; - (_http._ProxyCredentials.new = function(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"); - this.host = host; - this.port = port; - _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); - ; - }).prototype = _http._ProxyCredentials.prototype; - dart.addTypeTests(_http._ProxyCredentials); - dart.addTypeCaches(_http._ProxyCredentials); - dart.setMethodSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), - applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) - })); - dart.setLibraryUri(_http._ProxyCredentials, I[177]); - dart.setFieldSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getFields(_http._ProxyCredentials.__proto__), - host: dart.fieldType(core.String), - port: dart.fieldType(core.int) - })); - _http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; - (_http._HttpClientCredentials.new = function() { - ; - }).prototype = _http._HttpClientCredentials.prototype; - dart.addTypeTests(_http._HttpClientCredentials); - 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 = 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], 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], 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], 3661, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); - this.username = username; - this.password = password; - ; - }).prototype = _http._HttpClientBasicCredentials.prototype; - dart.addTypeTests(_http._HttpClientBasicCredentials); - dart.addTypeCaches(_http._HttpClientBasicCredentials); - _http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; - dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), - authorization: dart.fnType(core.String, []), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) - })); - dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), - scheme: _http._AuthenticationScheme - })); - dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); - dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), - username: dart.fieldType(core.String), - 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 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 = (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 = (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; - cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); - let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; - credentials.nonceCount = nonceCount; - nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t277$0 = hasher; - (() => { - 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 { - t277$1 = hasher; - (() => { - 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 = (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) { - t277$3 = buffer; - (() => { - 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], 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], 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], 3690, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); - this.username = username; - this.password = password; - ; - }).prototype = _http._HttpClientDigestCredentials.prototype; - dart.addTypeTests(_http._HttpClientDigestCredentials); - dart.addTypeCaches(_http._HttpClientDigestCredentials); - _http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; - dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), - authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) - })); - dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), - scheme: _http._AuthenticationScheme - })); - dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); - dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), - username: dart.fieldType(core.String), - password: dart.fieldType(core.String) - })); - var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); - var method$ = dart.privateName(_http, "_RedirectInfo.method"); - var location$ = dart.privateName(_http, "_RedirectInfo.location"); - _http._RedirectInfo = class _RedirectInfo extends core.Object { - get statusCode() { - return this[statusCode$]; - } - set statusCode(value) { - super.statusCode = value; - } - get method() { - return this[method$]; - } - set method(value) { - super.method = value; - } - get location() { - return this[location$]; - } - 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], 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; - ; - }).prototype = _http._RedirectInfo.prototype; - dart.addTypeTests(_http._RedirectInfo); - dart.addTypeCaches(_http._RedirectInfo); - _http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; - dart.setLibraryUri(_http._RedirectInfo, I[177]); - dart.setFieldSignature(_http._RedirectInfo, () => ({ - __proto__: dart.getFields(_http._RedirectInfo.__proto__), - statusCode: dart.finalFieldType(core.int), - method: dart.finalFieldType(core.String), - location: dart.finalFieldType(core.Uri) - })); - _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[495] || CT.C495; - }, - /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[496] || CT.C496; - }, - /*_http._Const.HTTP10*/get HTTP10() { - return C[497] || CT.C497; - }, - /*_http._Const.HTTP11*/get HTTP11() { - return C[498] || CT.C498; - }, - /*_http._Const.T*/get T() { - return true; - }, - /*_http._Const.F*/get F() { - return false; - }, - /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[499] || CT.C499; - } - }, false); - _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; - }, - /*_http._CharCode.LF*/get LF() { - return 10; - }, - /*_http._CharCode.CR*/get CR() { - return 13; - }, - /*_http._CharCode.SP*/get SP() { - return 32; - }, - /*_http._CharCode.COMMA*/get COMMA() { - return 44; - }, - /*_http._CharCode.SLASH*/get SLASH() { - return 47; - }, - /*_http._CharCode.ZERO*/get ZERO() { - return 48; - }, - /*_http._CharCode.ONE*/get ONE() { - return 49; - }, - /*_http._CharCode.COLON*/get COLON() { - return 58; - }, - /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { - return 59; - } - }, false); - _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; - }, - /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { - return 1; - }, - /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { - return 2; - }, - /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { - return 3; - }, - /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { - return 4; - }, - /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { - return 5; - }, - /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { - return 6; - }, - /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { - return 7; - }, - /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { - return 8; - }, - /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { - return 9; - }, - /*_http._State.HEADER_START*/get HEADER_START() { - return 10; - }, - /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { - return 11; - }, - /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { - return 12; - }, - /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { - return 13; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { - return 14; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { - return 15; - }, - /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { - return 16; - }, - /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { - return 17; - }, - /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { - return 18; - }, - /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { - return 19; - }, - /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { - return 20; - }, - /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { - return 21; - }, - /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { - return 22; - }, - /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { - return 23; - }, - /*_http._State.BODY*/get BODY() { - return 24; - }, - /*_http._State.CLOSED*/get CLOSED() { - return 25; - }, - /*_http._State.UPGRADED*/get UPGRADED() { - return 26; - }, - /*_http._State.FAILURE*/get FAILURE() { - return 27; - }, - /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { - return 17; - } - }, false); - _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; - }, - /*_http._HttpVersion.HTTP10*/get HTTP10() { - return 1; - }, - /*_http._HttpVersion.HTTP11*/get HTTP11() { - return 2; - } - }, false); - _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; - }, - /*_http._MessageType.REQUEST*/get REQUEST() { - return 1; - }, - /*_http._MessageType.RESPONSE*/get RESPONSE() { - return 0; - } - }, false); - var _isCanceled$ = dart.privateName(_http, "_isCanceled"); - var _scheduled = dart.privateName(_http, "_scheduled"); - var _pauseCount$ = dart.privateName(_http, "_pauseCount"); - 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; - } - asFuture(T, futureValue = null) { - return this[_subscription$0].asFuture(T, T.as(futureValue)); - } - cancel() { - this[_isCanceled$] = true; - this[_injectData$] = null; - return this[_subscription$0].cancel(); - } - onData(handleData) { - this[_userOnData$] = handleData; - this[_subscription$0].onData(handleData); - } - onDone(handleDone) { - this[_subscription$0].onDone(handleDone); - } - onError(handleError) { - this[_subscription$0].onError(handleError); - } - pause(resumeSignal = null) { - if (this[_injectData$] == null) { - this[_subscription$0].pause(resumeSignal); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - } - resume() { - if (this[_injectData$] == null) { - this[_subscription$0].resume(); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; - this[_maybeScheduleData](); - } - } - [_maybeScheduleData]() { - if (dart.test(this[_scheduled])) return; - if (this[_pauseCount$] !== 0) return; - this[_scheduled] = true; - async.scheduleMicrotask(dart.fn(() => { - let t277; - this[_scheduled] = false; - if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = dart.nullCheck(this[_injectData$]); - this[_injectData$] = null; - this[_subscription$0].resume(); - t277 = this[_userOnData$]; - t277 == null ? null : t277(data); - }, T$.VoidTovoid())); - } - }; - (_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); - this[_isCanceled$] = false; - this[_scheduled] = false; - this[_pauseCount$] = 1; - this[_subscription$0] = _subscription; - this[_injectData$] = _injectData; - this[_userOnData$] = _userOnData; - ; - }).prototype = _http._HttpDetachedStreamSubscription.prototype; - _http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_http._HttpDetachedStreamSubscription); - dart.addTypeCaches(_http._HttpDetachedStreamSubscription); - _http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; - dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), - asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [_maybeScheduleData]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); - dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), - [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_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 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) { - t277 = subscription; - (() => { - t277.onData(onData); - t277.onError(onError); - t277.onDone(onDone); - return t277; - })(); - if (this.bufferedData == null) { - t277$ = subscription; - return (() => { - t277$.resume(); - return t277$; - })(); - } - t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); - return (() => { - t277$0.resume(); - return t277$0; - })(); - } else { - return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } - }; - (_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { - this.subscription = subscription; - this.bufferedData = bufferedData; - _http._HttpDetachedIncoming.__proto__.new.call(this); - ; - }).prototype = _http._HttpDetachedIncoming.prototype; - dart.addTypeTests(_http._HttpDetachedIncoming); - dart.addTypeCaches(_http._HttpDetachedIncoming); - dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), - 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)}, {}) - })); - dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); - dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), - 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"); - var _messageType = dart.privateName(_http, "_messageType"); - var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); - var _method$ = dart.privateName(_http, "_method"); - var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); - var _headerField = dart.privateName(_http, "_headerField"); - var _headerValue = dart.privateName(_http, "_headerValue"); - var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); - var _httpVersion = dart.privateName(_http, "_httpVersion"); - var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); - 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 _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); - var _paused = dart.privateName(_http, "_paused"); - var _bodyPaused = dart.privateName(_http, "_bodyPaused"); - var _bodyController = dart.privateName(_http, "_bodyController"); - var _requestParser$ = dart.privateName(_http, "_requestParser"); - var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); - var _reset = dart.privateName(_http, "_reset"); - var _onData$1 = dart.privateName(_http, "_onData"); - var _onDone = dart.privateName(_http, "_onDone"); - var _doParse = dart.privateName(_http, "_doParse"); - var _reportBodyError = dart.privateName(_http, "_reportBodyError"); - var _reportHttpError = dart.privateName(_http, "_reportHttpError"); - var _createIncoming = dart.privateName(_http, "_createIncoming"); - var _closeIncoming = dart.privateName(_http, "_closeIncoming"); - var _headersEnd = dart.privateName(_http, "_headersEnd"); - var _addWithValidation = dart.privateName(_http, "_addWithValidation"); - var _expect = dart.privateName(_http, "_expect"); - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - listenToStream(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]() { - try { - this[_doParse](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { - this[_state$1] = 27; - this[_reportBodyError](e, s); - } else { - this[_state$1] = 27; - this[_reportHttpError](e, s); - } - } else - throw e$; - } - } - [_headersEnd]() { - let headers = dart.nullCheck(this[_headers]); - if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { - this[_transferLength$] = -1; - headers.chunkedTransferEncoding = false; - this[_chunked] = false; - headers.removeAll("content-length"); - headers.removeAll("transfer-encoding"); - } - headers[_mutable] = false; - this[_transferLength$] = headers.contentLength; - if (dart.test(this[_chunked])) this[_transferLength$] = -1; - if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { - this[_transferLength$] = 0; - } - if (dart.test(this[_connectionUpgrade])) { - this[_state$1] = 26; - this[_transferLength$] = 0; - } - let incoming = this[_createIncoming](this[_transferLength$]); - if (dart.test(this[_requestParser$])) { - incoming.method = core.String.fromCharCodes(this[_method$]); - incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); - } else { - incoming.statusCode = this[_statusCode]; - incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); - } - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - if (dart.test(this[_connectionUpgrade])) { - incoming.upgraded = true; - this[_parserCalled] = false; - this[_closeIncoming](); - this[_controller$0].add(incoming); - return true; - } - if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { - this[_reset](); - this[_closeIncoming](); - this[_controller$0].add(incoming); - return false; - } else if (dart.test(this[_chunked])) { - this[_state$1] = 19; - this[_remainingContent] = 0; - } else if (dart.notNull(this[_transferLength$]) > 0) { - this[_remainingContent] = this[_transferLength$]; - this[_state$1] = 24; - } else { - this[_state$1] = 24; - } - this[_parserCalled] = false; - this[_controller$0].add(incoming); - return true; - } - [_doParse]() { - 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")); - } - if (this[_state$1] === 27) { - dart.throw(new _http.HttpException.new("Data on failed connection")); - } - while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { - if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { - this[_parserCalled] = false; - return; - } - let index = this[_index$1]; - let byte = dart.nullCheck(this[_buffer$1])[$_get](index); - 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; - } 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; - } - 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")); - } - 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")); - } - this[_addWithValidation](this[_method$], byte); - } - break; - } - case 4: - { - 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); - } - 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; - this[_httpVersionIndex] = httpVersionIndex + 1; - } 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; - } - } - break; - } - case 6: - { - 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")); - } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; - } - } - 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); - } - 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[_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; - } - 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))); - } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - } - 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; - } - break; - } - case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); - } - break; - } - case 14: - { - 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)); - } - } - 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)); - } - } 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; - } - case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; - } - break; - } - case 17: - { - 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; - break; - } - case 18: - { - 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]) > (2147483647)[$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); - } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); - } - 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; - } - break; - } - case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; - } - break; - } - case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - 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[_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; - } - case 27: - { - if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); - break; - } - default: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } - } - } - this[_parserCalled] = false; - let buffer = this[_buffer$1]; - if (buffer != null && this[_index$1] == buffer[$length]) { - this[_releaseBuffer](); - if (this[_state$1] !== 26 && this[_state$1] !== 27) { - dart.nullCheck(this[_socketSubscription$]).resume(); - } - } - } - [_onData$1](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], 870, 12, "_buffer == null"); - this[_buffer$1] = buffer; - this[_index$1] = 0; - this[_parse](); - } - [_onDone]() { - this[_socketSubscription$] = null; - if (this[_state$1] === 25 || this[_state$1] === 27) return; - if (this[_incoming$] != null) { - if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { - this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); - } - this[_closeIncoming](true); - this[_controller$0].close(); - return; - } - if (this[_state$1] === 0) { - if (!dart.test(this[_requestParser$])) { - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - } - this[_controller$0].close(); - return; - } - if (this[_state$1] === 26) { - this[_controller$0].close(); - return; - } - if (dart.notNull(this[_state$1]) < 17) { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - this[_controller$0].close(); - return; - } - if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { - this[_state$1] = 25; - } else { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); - } - this[_controller$0].close(); - } - get version() { - switch (this[_httpVersion]) { - case 1: - { - return "1.0"; - } - case 2: - { - return "1.1"; - } - } - return null; - } - get messageType() { - return this[_messageType]; - } - get transferLength() { - return this[_transferLength$]; - } - get upgrade() { - return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; - } - get persistentConnection() { - return this[_persistentConnection]; - } - set isHead(value) { - if (value == null) dart.nullFailed(I[182], 944, 24, "value"); - this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); - } - detachIncoming() { - this[_state$1] = 26; - return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); - } - readUnparsedData() { - let buffer = this[_buffer$1]; - if (buffer == null) return null; - let index = this[_index$1]; - if (index == buffer[$length]) return null; - let result = buffer[$sublist](index); - this[_releaseBuffer](); - return result; - } - [_reset]() { - if (this[_state$1] === 26) return; - this[_state$1] = 0; - this[_messageType] = 0; - this[_headerField][$clear](); - this[_headerValue][$clear](); - this[_headersReceivedSize] = 0; - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[_headers] = null; - } - [_releaseBuffer]() { - this[_buffer$1] = null; - this[_index$1] = -1; - } - static _isTokenChar(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], 1001, 32, "byte"); - return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; - } - static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _toLowerCaseByte(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], 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; - } - return true; - } - [_expect](val1, 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], 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) { - return dart.notNull(byte) - 65 + 10; - } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { - return dart.notNull(byte) - 97 + 10; - } else { - dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); - } - } - [_addWithValidation](list, 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); - } else { - this[_reportSizeLimitError](); - } - } - [_reportSizeLimitError]() { - let method = ""; - switch (this[_state$1]) { - case 0: - case 1: - case 3: - { - method = "Method"; - break; - } - case 4: - { - method = "URI"; - break; - } - case 8: - { - method = "Reason phrase"; - break; - } - case 10: - case 11: - { - method = "Header field"; - break; - } - case 12: - case 13: - { - method = "Header value"; - break; - } - default: - { - 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 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); - t278 = controller; - (() => { - t278.onListen = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onPause = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onResume = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onCancel = dart.fn(() => { - let t279; - if (!incoming[$_equals](this[_incoming$])) return; - t279 = this[_socketSubscription$]; - t279 == null ? null : t279.cancel(); - this[_closeIncoming](true); - this[_controller$0].close(); - }, T$.VoidToNull()); - return t278; - })(); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - return incoming; - } - [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); - let tmp = this[_incoming$]; - if (tmp == null) return; - tmp.close(closing); - this[_incoming$] = null; - let controller = this[_bodyController]; - if (controller != null) { - controller.close(); - this[_bodyController] = null; - } - this[_bodyPaused] = false; - this[_pauseStateChanged](); - } - [_pauseStateChanged]() { - if (this[_incoming$] != null) { - if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } else { - if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } - } - [_reportHttpError](error, stackTrace = null) { - 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 t278, t278$, t278$0; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - this[_state$1] = 27; - 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 t277; - if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); - this[_parserCalled] = false; - this[_buffer$1] = null; - this[_index$1] = -1; - this[_state$1] = 0; - this[_httpVersionIndex] = null; - this[_messageType] = 0; - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_method$] = T$.JSArrayOfint().of([]); - this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); - this[_headerField] = T$.JSArrayOfint().of([]); - this[_headerValue] = T$.JSArrayOfint().of([]); - this[_headersReceivedSize] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[connectMethod] = false; - this[_headers] = null; - this[_incoming$] = null; - this[_socketSubscription$] = null; - this[_paused] = true; - this[_bodyPaused] = false; - this[_bodyController] = null; - this[_requestParser$] = _requestParser; - this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); - _http._HttpParser.__proto__.new.call(this); - t277 = this[_controller$0]; - (() => { - t277.onListen = dart.fn(() => { - this[_paused] = false; - }, T$.VoidTovoid()); - t277.onPause = dart.fn(() => { - this[_paused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onResume = dart.fn(() => { - this[_paused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onCancel = dart.fn(() => { - let t278; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - }, T$.VoidToNull()); - return t277; - })(); - this[_reset](); - }).prototype = _http._HttpParser.prototype; - dart.addTypeTests(_http._HttpParser); - dart.addTypeCaches(_http._HttpParser); - dart.setMethodSignature(_http._HttpParser, () => ({ - __proto__: dart.getMethods(_http._HttpParser.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), - [_parse]: dart.fnType(dart.void, []), - [_headersEnd]: dart.fnType(core.bool, []), - [_doParse]: dart.fnType(dart.void, []), - [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), - [_onDone]: dart.fnType(dart.void, []), - detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), - readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), - [_reset]: dart.fnType(dart.void, []), - [_releaseBuffer]: dart.fnType(dart.void, []), - [_expect]: dart.fnType(dart.void, [core.int, core.int]), - [_expectHexDigit]: dart.fnType(core.int, [core.int]), - [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_reportSizeLimitError]: dart.fnType(dart.void, []), - [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), - [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), - [_pauseStateChanged]: dart.fnType(dart.void, []), - [_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), - messageType: core.int, - transferLength: core.int, - upgrade: core.bool, - persistentConnection: core.bool - })); - dart.setSetterSignature(_http._HttpParser, () => ({ - __proto__: dart.getSetters(_http._HttpParser.__proto__), - isHead: core.bool - })); - dart.setLibraryUri(_http._HttpParser, I[177]); - dart.setFieldSignature(_http._HttpParser, () => ({ - __proto__: dart.getFields(_http._HttpParser.__proto__), - [_parserCalled]: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_index$1]: dart.fieldType(core.int), - [_requestParser$]: dart.finalFieldType(core.bool), - [_state$1]: dart.fieldType(core.int), - [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), - [_messageType]: dart.fieldType(core.int), - [_statusCode]: dart.fieldType(core.int), - [_statusCodeLength]: dart.fieldType(core.int), - [_method$]: dart.finalFieldType(core.List$(core.int)), - [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), - [_headerField]: dart.finalFieldType(core.List$(core.int)), - [_headerValue]: dart.finalFieldType(core.List$(core.int)), - [_headersReceivedSize]: dart.fieldType(core.int), - [_httpVersion]: dart.fieldType(core.int), - [_transferLength$]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_connectionUpgrade]: dart.fieldType(core.bool), - [_chunked]: dart.fieldType(core.bool), - [_noMessageBody]: dart.fieldType(core.bool), - [_remainingContent]: dart.fieldType(core.int), - [_contentLength]: dart.fieldType(core.bool), - [_transferEncoding]: dart.fieldType(core.bool), - connectMethod: dart.fieldType(core.bool), - [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), - [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), - [_paused]: dart.fieldType(core.bool), - [_bodyPaused]: dart.fieldType(core.bool), - [_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"); - var _prev = dart.privateName(_http, "_prev"); - var _next$4 = dart.privateName(_http, "_next"); - var _data$1 = dart.privateName(_http, "_data"); - var _lastSeen = dart.privateName(_http, "_lastSeen"); - 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; - this[_sessionManager$][_removeFromTimeoutQueue](this); - this[_sessionManager$][_sessions][$remove](this.id); - } - [_markSeen]() { - this[_lastSeen] = new core.DateTime.now(); - this[_sessionManager$][_bumpToEnd](this); - } - get lastSeen() { - return this[_lastSeen]; - } - get isNew() { - return this[_isNew]; - } - set onTimeout(callback) { - this[_timeoutCallback] = callback; - } - containsValue(value) { - return this[_data$1][$containsValue](value); - } - containsKey(key) { - return this[_data$1][$containsKey](key); - } - _get(key) { - return this[_data$1][$_get](key); - } - _set(key, value$) { - let value = value$; - this[_data$1][$_set](key, value); - return value$; - } - putIfAbsent(key, ifAbsent) { - T$0.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); - return this[_data$1][$putIfAbsent](key, ifAbsent); - } - addAll(other) { - core.Map.as(other); - if (other == null) dart.nullFailed(I[183], 58, 14, "other"); - return this[_data$1][$addAll](other); - } - remove(key) { - return this[_data$1][$remove](key); - } - clear() { - this[_data$1][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[183], 64, 21, "f"); - this[_data$1][$forEach](f); - } - get entries() { - return this[_data$1][$entries]; - } - addEntries(entries) { - T$1.IterableOfMapEntry().as(entries); - if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); - this[_data$1][$addEntries](entries); - } - map(K, V, transform) { - if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); - return this[_data$1][$map](K, V, transform); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[183], 77, 25, "test"); - this[_data$1][$removeWhere](test); - } - cast(K, V) { - return this[_data$1][$cast](K, V); - } - update(key, update, opts) { - T$.dynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 82, 15, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T$1.VoidToNdynamic().as(ifAbsent); - return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - T$0.dynamicAnddynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 85, 18, "update"); - this[_data$1][$updateAll](update); - } - get keys() { - return this[_data$1][$keys]; - } - get values() { - return this[_data$1][$values]; - } - get length() { - return this[_data$1][$length]; - } - get isEmpty() { - return this[_data$1][$isEmpty]; - } - get isNotEmpty() { - return this[_data$1][$isNotEmpty]; - } - toString() { - return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); - } - }; - (_http._HttpSession.new = function(_sessionManager, id) { - if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); - if (id == null) dart.nullFailed(I[183], 25, 43, "id"); - this[_destroyed] = false; - this[_isNew] = true; - this[_timeoutCallback] = null; - this[_prev] = null; - this[_next$4] = null; - this[_data$1] = new _js_helper.LinkedMap.new(); - this[_sessionManager$] = _sessionManager; - this.id = id; - this[_lastSeen] = new core.DateTime.now(); - ; - }).prototype = _http._HttpSession.prototype; - dart.addTypeTests(_http._HttpSession); - dart.addTypeCaches(_http._HttpSession); - _http._HttpSession[dart.implements] = () => [_http.HttpSession]; - dart.setMethodSignature(_http._HttpSession, () => ({ - __proto__: dart.getMethods(_http._HttpSession.__proto__), - destroy: dart.fnType(dart.void, []), - [_markSeen]: dart.fnType(dart.void, []), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getGetters(_http._HttpSession.__proto__), - lastSeen: core.DateTime, - isNew: core.bool, - entries: core.Iterable$(core.MapEntry), - [$entries]: core.Iterable$(core.MapEntry), - keys: core.Iterable, - [$keys]: core.Iterable, - values: core.Iterable, - [$values]: core.Iterable, - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool - })); - dart.setSetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getSetters(_http._HttpSession.__proto__), - onTimeout: dart.nullable(dart.fnType(dart.void, [])) - })); - dart.setLibraryUri(_http._HttpSession, I[177]); - dart.setFieldSignature(_http._HttpSession, () => ({ - __proto__: dart.getFields(_http._HttpSession.__proto__), - [_destroyed]: dart.fieldType(core.bool), - [_isNew]: dart.fieldType(core.bool), - [_lastSeen]: dart.fieldType(core.DateTime), - [_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), - [_data$1]: dart.finalFieldType(core.Map) - })); - dart.defineExtensionMethods(_http._HttpSession, [ - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'addEntries', - 'map', - 'removeWhere', - 'cast', - 'update', - 'updateAll', - 'toString' - ]); - dart.defineExtensionAccessors(_http._HttpSession, [ - 'entries', - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' - ]); - var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); - var _head$ = dart.privateName(_http, "_head"); - var _tail$ = dart.privateName(_http, "_tail"); - var _timer = dart.privateName(_http, "_timer"); - var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); - 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); - } - getSession(id) { - if (id == null) dart.nullFailed(I[183], 118, 35, "id"); - return this[_sessions][$_get](id); - } - createSession() { - let t280, t279, t278; - let id = this.createSessionId(); - while (dart.test(this[_sessions][$containsKey](id))) { - id = this.createSessionId(); - } - let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); - this[_addToTimeoutQueue](session); - return session; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); - this[_sessionTimeout] = timeout; - this[_stopTimer](); - this[_startTimer](); - } - close() { - this[_stopTimer](); - } - [_bumpToEnd](session) { - if (session == null) dart.nullFailed(I[183], 142, 32, "session"); - this[_removeFromTimeoutQueue](session); - this[_addToTimeoutQueue](session); - } - [_addToTimeoutQueue](session) { - if (session == null) dart.nullFailed(I[183], 147, 40, "session"); - if (this[_head$] == null) { - if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); - this[_tail$] = this[_head$] = session; - this[_startTimer](); - } else { - if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); - let tail = dart.nullCheck(this[_tail$]); - tail[_next$4] = session; - session[_prev] = tail; - this[_tail$] = session; - } - } - [_removeFromTimeoutQueue](session) { - 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; - 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; - } - if (dart.equals(this[_head$], session)) { - this[_head$] = next; - this[_stopTimer](); - this[_startTimer](); - } - } - [_timerTimeout]() { - let t278; - this[_stopTimer](); - let session = dart.nullCheck(this[_head$]); - session.destroy(); - t278 = session[_timeoutCallback]; - t278 == null ? null : t278(); - } - [_startTimer]() { - if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); - let head = this[_head$]; - if (head != null) { - let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; - this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); - } - } - [_stopTimer]() { - let timer = this[_timer]; - if (timer != null) { - timer.cancel(); - this[_timer] = null; - } - } - }; - (_http._HttpSessionManager.new = function() { - this[_sessionTimeout] = 20 * 60; - this[_head$] = null; - this[_tail$] = null; - this[_timer] = null; - this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); - ; - }).prototype = _http._HttpSessionManager.prototype; - dart.addTypeTests(_http._HttpSessionManager); - dart.addTypeCaches(_http._HttpSessionManager); - dart.setMethodSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), - createSessionId: dart.fnType(core.String, []), - getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), - createSession: dart.fnType(_http._HttpSession, []), - close: dart.fnType(dart.void, []), - [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), - [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_timerTimeout]: dart.fnType(dart.void, []), - [_startTimer]: dart.fnType(dart.void, []), - [_stopTimer]: dart.fnType(dart.void, []) - })); - dart.setSetterSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), - sessionTimeout: core.int - })); - dart.setLibraryUri(_http._HttpSessionManager, I[177]); - dart.setFieldSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_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)), - [_timer]: dart.fieldType(dart.nullable(async.Timer)) - })); - _http.HttpOverrides = class HttpOverrides extends core.Object { - static get current() { - 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], 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], 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], 82, 39, "url"); - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } - }; - (_http.HttpOverrides.new = function() { - ; - }).prototype = _http.HttpOverrides.prototype; - dart.addTypeTests(_http.HttpOverrides); - dart.addTypeCaches(_http.HttpOverrides); - dart.setMethodSignature(_http.HttpOverrides, () => ({ - __proto__: dart.getMethods(_http.HttpOverrides.__proto__), - 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(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); - let previous = this[_previous$5]; - if (previous != null) return previous.createHttpClient(context); - return super.createHttpClient(context); - } - findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 105, 39, "url"); - let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; - if (findProxyFromEnvironment != null) { - return findProxyFromEnvironment(url, environment); - } - let previous = this[_previous$5]; - if (previous != null) { - return previous.findProxyFromEnvironment(url, environment); - } - return super.findProxyFromEnvironment(url, environment); - } - }; - (_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { - this[_previous$5] = _http.HttpOverrides.current; - this[_createHttpClient$] = _createHttpClient; - this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; - ; - }).prototype = _http._HttpOverridesScope.prototype; - dart.addTypeTests(_http._HttpOverridesScope); - dart.addTypeCaches(_http._HttpOverridesScope); - dart.setLibraryUri(_http._HttpOverridesScope, I[177]); - dart.setFieldSignature(_http._HttpOverridesScope, () => ({ - __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), - [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), - [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), - [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) - })); - _http.WebSocketStatus = class WebSocketStatus extends core.Object {}; - (_http.WebSocketStatus.new = function() { - ; - }).prototype = _http.WebSocketStatus.prototype; - 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; - }, - /*_http.WebSocketStatus.goingAway*/get goingAway() { - return 1001; - }, - /*_http.WebSocketStatus.protocolError*/get protocolError() { - return 1002; - }, - /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { - return 1003; - }, - /*_http.WebSocketStatus.reserved1004*/get reserved1004() { - return 1004; - }, - /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { - return 1005; - }, - /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { - return 1006; - }, - /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { - return 1007; - }, - /*_http.WebSocketStatus.policyViolation*/get policyViolation() { - return 1008; - }, - /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { - return 1009; - }, - /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { - return 1010; - }, - /*_http.WebSocketStatus.internalServerError*/get internalServerError() { - return 1011; - }, - /*_http.WebSocketStatus.reserved1015*/get reserved1015() { - return 1015; - } - }, false); - var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); - var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); - var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); - var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); - var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); - var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); - var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); - var _createHeader = dart.privateName(_http, "_createHeader"); - _http.CompressionOptions = class CompressionOptions extends core.Object { - get clientNoContextTakeover() { - return this[clientNoContextTakeover$]; - } - set clientNoContextTakeover(value) { - super.clientNoContextTakeover = value; - } - get serverNoContextTakeover() { - return this[serverNoContextTakeover$]; - } - set serverNoContextTakeover(value) { - super.serverNoContextTakeover = value; - } - get clientMaxWindowBits() { - return this[clientMaxWindowBits$]; - } - set clientMaxWindowBits(value) { - super.clientMaxWindowBits = value; - } - get serverMaxWindowBits() { - return this[serverMaxWindowBits$]; - } - set serverMaxWindowBits(value) { - super.serverMaxWindowBits = value; - } - get enabled() { - return this[enabled$]; - } - 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 t278, t278$, t278$0; - let info = new _http._CompressionMaxWindowBits.new("", 0); - 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 = (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; - } - } else { - info.headerValue = ""; - info.maxWindowBits = 15; - } - return info; - } - [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 122, 65, "size"); - let info = ""; - if (requested != null) { - info = "; client_max_window_bits=" + dart.str(size); - } else { - if (this.clientMaxWindowBits == null) { - info = "; client_max_window_bits"; - } else { - info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); - } - if (this.serverMaxWindowBits != null) { - info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); - } - } - return info; - } - [_createHeader](requested = null) { - 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 || 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 || 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); - t278$0 = info; - t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); - info.maxWindowBits = headerList.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], 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"); - this[clientNoContextTakeover$] = clientNoContextTakeover; - this[serverNoContextTakeover$] = serverNoContextTakeover; - this[clientMaxWindowBits$] = clientMaxWindowBits; - this[serverMaxWindowBits$] = serverMaxWindowBits; - this[enabled$] = enabled; - ; - }).prototype = _http.CompressionOptions.prototype; - dart.addTypeTests(_http.CompressionOptions); - dart.addTypeCaches(_http.CompressionOptions); - dart.setMethodSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getMethods(_http.CompressionOptions.__proto__), - [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), - [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), - [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) - })); - dart.setLibraryUri(_http.CompressionOptions, I[177]); - dart.setFieldSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getFields(_http.CompressionOptions.__proto__), - clientNoContextTakeover: dart.finalFieldType(core.bool), - serverNoContextTakeover: dart.finalFieldType(core.bool), - clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), - 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[500] || CT.C500; - }, - /*_http.CompressionOptions.compressionOff*/get compressionOff() { - 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[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], 245, 48, "request"); - 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], 247, 26, "compression"); - return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); - } - static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 253, 44, "request"); - return _http._WebSocketTransformerImpl._isUpgradeRequest(request); - } - }; - (_http.WebSocketTransformer[dart.mixinNew] = function() { - }).prototype = _http.WebSocketTransformer.prototype; - 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 { - get pingInterval() { - return this[pingInterval]; - } - set pingInterval(value) { - this[pingInterval] = value; - } - static connect(url, opts) { - 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[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], 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"); - 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; - } - static set userAgent(userAgent) { - _http._WebSocketImpl.userAgent = userAgent; - } - }; - (_http.WebSocket.new = function() { - this[pingInterval] = null; - ; - }).prototype = _http.WebSocket.prototype; - _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; - }, - /*_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"); - _http.WebSocketException = class WebSocketException extends core.Object { - get message() { - return this[message$19]; - } - 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], 411, 34, "message"); - this[message$19] = message; - ; - }).prototype = _http.WebSocketException.prototype; - dart.addTypeTests(_http.WebSocketException); - dart.addTypeCaches(_http.WebSocketException); - _http.WebSocketException[dart.implements] = () => [io.IOException]; - dart.setLibraryUri(_http.WebSocketException, I[177]); - dart.setFieldSignature(_http.WebSocketException, () => ({ - __proto__: dart.getFields(_http.WebSocketException.__proto__), - message: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(_http.WebSocketException, ['toString']); - _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; - }, - /*_http._WebSocketMessageType.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketMessageType.BINARY*/get BINARY() { - return 2; - } - }, false); - _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; - }, - /*_http._WebSocketOpcode.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketOpcode.BINARY*/get BINARY() { - return 2; - }, - /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { - return 3; - }, - /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { - return 4; - }, - /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { - return 5; - }, - /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { - return 6; - }, - /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { - return 7; - }, - /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { - return 8; - }, - /*_http._WebSocketOpcode.PING*/get PING() { - return 9; - }, - /*_http._WebSocketOpcode.PONG*/get PONG() { - return 10; - }, - /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { - return 11; - }, - /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { - return 12; - }, - /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { - return 13; - }, - /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { - return 14; - }, - /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { - return 15; - } - }, false); - _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; - ; - }).prototype = _http._EncodedString.prototype; - dart.addTypeTests(_http._EncodedString); - dart.addTypeCaches(_http._EncodedString); - dart.setLibraryUri(_http._EncodedString, I[177]); - dart.setFieldSignature(_http._EncodedString, () => ({ - __proto__: dart.getFields(_http._EncodedString.__proto__), - 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], 50, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); - this.headerValue = headerValue; - this.maxWindowBits = maxWindowBits; - ; - }).prototype = _http._CompressionMaxWindowBits.prototype; - dart.addTypeTests(_http._CompressionMaxWindowBits); - dart.addTypeCaches(_http._CompressionMaxWindowBits); - dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); - dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ - __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), - headerValue: dart.fieldType(core.String), - 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"); - var _len = dart.privateName(_http, "_len"); - var _masked = dart.privateName(_http, "_masked"); - var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); - var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); - var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); - var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); - var _currentMessageType = dart.privateName(_http, "_currentMessageType"); - var _eventSink$ = dart.privateName(_http, "_eventSink"); - var _maskingBytes = dart.privateName(_http, "_maskingBytes"); - var _payload = dart.privateName(_http, "_payload"); - var _serverSide$ = dart.privateName(_http, "_serverSide"); - var _deflate$ = dart.privateName(_http, "_deflate"); - var _isControlFrame = dart.privateName(_http, "_isControlFrame"); - var _lengthDone = dart.privateName(_http, "_lengthDone"); - var _maskDone = dart.privateName(_http, "_maskDone"); - var _unmask = dart.privateName(_http, "_unmask"); - var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); - 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], 101, 25, "stream"); - return async.Stream.eventTransformed(stream, dart.fn(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$1.EventSinkTo_WebSocketProtocolTransformer())); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 111, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - dart.nullCheck(this[_eventSink$]).close(); - } - add(bytes) { - let t278; - T$0.ListOfint().as(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]; - if (this[_state$1] === 5) { - dart.throw(new _http.WebSocketException.new("Data on closed connection")); - } - if (this[_state$1] === 6) { - dart.throw(new _http.WebSocketException.new("Data on failed connection")); - } - while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { - let byte = buffer[$_get](index); - if (dart.notNull(this[_state$1]) <= 2) { - if (this[_state$1] === 0) { - this[_fin] = (dart.notNull(byte) & 128) !== 0; - if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_opcode] = (dart.notNull(byte) & 15) >>> 0; - if (this[_opcode] !== 0) { - if ((dart.notNull(byte) & 64) !== 0) { - this[_compressed] = true; - } else { - this[_compressed] = false; - } - } - if (dart.notNull(this[_opcode]) <= 2) { - if (this[_opcode] === 0) { - if (this[_currentMessageType] === 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - } else { - 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")); - } - this[_currentMessageType] = this[_opcode]; - } - } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { - if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); - } else { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_state$1] = 1; - } else if (this[_state$1] === 1) { - this[_masked] = (dart.notNull(byte) & 128) !== 0; - this[_len] = dart.notNull(byte) & 127; - if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_len] === 126) { - this[_len] = 0; - this[_remainingLenBytes] = 2; - this[_state$1] = 2; - } else if (this[_len] === 127) { - this[_len] = 0; - this[_remainingLenBytes] = 8; - this[_state$1] = 2; - } else { - 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], 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) { - this[_lengthDone](); - } - } - } else { - if (this[_state$1] === 3) { - 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], 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])) { - this[_unmask](index, payloadLength, buffer); - } - this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); - index = index + payloadLength; - if (dart.test(this[_isControlFrame]())) { - if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); - } else { - if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); - } - index = index - 1; - } - } - index = index + 1; - } - } - [_unmask](index, length, 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) { - 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; - let blockCount = (dart.notNull(length) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; - } - 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) { - t278$ = blockBuffer; - t279$ = i; - t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); - } - let bytes = blockCount * 16; - index = dart.notNull(index) + bytes; - length = dart.notNull(length) - bytes; - } - } - let end = dart.notNull(index) + dart.notNull(length); - for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - 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]() { - if (dart.test(this[_masked])) { - if (!dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received masked frame from server")); - } - this[_state$1] = 3; - } else { - if (dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); - } - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - } - [_maskDone]() { - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - [_startPayload]() { - if (this[_remainingPayloadBytes] === 0) { - if (dart.test(this[_isControlFrame]())) { - switch (this[_opcode]) { - case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } - case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } - case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } - } - this[_prepareForNextFrame](); - } else { - this[_messageFrameEnd](); - } - } else { - this[_state$1] = 4; - } - } - [_messageFrameEnd]() { - if (dart.test(this[_fin])) { - let bytes = this[_payload].takeBytes(); - let deflate = this[_deflate$]; - if (deflate != null && dart.test(this[_compressed])) { - bytes = deflate.processIncomingMessage(bytes); - } - switch (this[_currentMessageType]) { - case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } - case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } - } - this[_currentMessageType] = 0; - } - this[_prepareForNextFrame](); - } - [_controlFrameEnd]() { - switch (this[_opcode]) { - case 8: - { - 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; - } - case 9: - { - 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; - } - } - this[_prepareForNextFrame](); - } - [_isControlFrame]() { - return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; - } - [_prepareForNextFrame]() { - if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; - this[_fin] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - } - }; - (_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); - this[_state$1] = 0; - this[_fin] = false; - this[_compressed] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_masked] = false; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - this[_currentMessageType] = 0; - this[closeCode] = 1005; - this[closeReason] = ""; - this[_eventSink$] = null; - this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); - this[_payload] = _internal.BytesBuilder.new({copy: false}); - this[_serverSide$] = _serverSide; - this[_deflate$] = _deflate; - _http._WebSocketProtocolTransformer.__proto__.new.call(this); - ; - }).prototype = _http._WebSocketProtocolTransformer.prototype; - dart.addTypeTests(_http._WebSocketProtocolTransformer); - dart.addTypeCaches(_http._WebSocketProtocolTransformer); - _http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; - dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), - bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), - [_lengthDone]: dart.fnType(dart.void, []), - [_maskDone]: dart.fnType(dart.void, []), - [_startPayload]: dart.fnType(dart.void, []), - [_messageFrameEnd]: dart.fnType(dart.void, []), - [_controlFrameEnd]: dart.fnType(dart.void, []), - [_isControlFrame]: dart.fnType(core.bool, []), - [_prepareForNextFrame]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); - dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), - [_state$1]: dart.fieldType(core.int), - [_fin]: dart.fieldType(core.bool), - [_compressed]: dart.fieldType(core.bool), - [_opcode]: dart.fieldType(core.int), - [_len]: dart.fieldType(core.int), - [_masked]: dart.fieldType(core.bool), - [_remainingLenBytes]: dart.fieldType(core.int), - [_remainingMaskingKeyBytes]: dart.fieldType(core.int), - [_remainingPayloadBytes]: dart.fieldType(core.int), - [_unmaskingIndex]: dart.fieldType(core.int), - [_currentMessageType]: dart.fieldType(core.int), - closeCode: dart.fieldType(core.int), - closeReason: dart.fieldType(core.String), - [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), - [_serverSide$]: dart.finalFieldType(core.bool), - [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), - [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_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; - }, - /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { - return 1; - }, - /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { - return 2; - }, - /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { - return 3; - }, - /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { - return 4; - }, - /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { - return 5; - }, - /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { - return 6; - }, - /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { - return 128; - }, - /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { - return 64; - }, - /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { - return 32; - }, - /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { - return 16; - }, - /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { - return 15; - } - }, false); - _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; - ; - }).prototype = _http._WebSocketPing.prototype; - dart.addTypeTests(_http._WebSocketPing); - dart.addTypeCaches(_http._WebSocketPing); - dart.setLibraryUri(_http._WebSocketPing, I[177]); - 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 { - static ['_#new#tearOff'](payload = null) { - return new _http._WebSocketPong.new(payload); - } - }; - (_http._WebSocketPong.new = function(payload = null) { - this.payload = payload; - ; - }).prototype = _http._WebSocketPong.prototype; - dart.addTypeTests(_http._WebSocketPong); - dart.addTypeCaches(_http._WebSocketPong); - dart.setLibraryUri(_http._WebSocketPong, I[177]); - dart.setFieldSignature(_http._WebSocketPong, () => ({ - __proto__: dart.getFields(_http._WebSocketPong.__proto__), - payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) - })); - 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$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], 417, 20, "request"); - _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); - return this[_controller$0].add(webSocket); - }, 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], 428, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _upgrade(request, protocolSelector, 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))) { - t278 = response; - (() => { - t278.statusCode = 400; - t278.close(); - return t278; - })(); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); - } - function upgrade(protocol) { - let t278; - t278 = response; - (() => { - 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 = convert.base64Encode(sha1.close()); - response.headers.add("Sec-WebSocket-Accept", accept); - if (protocol != null) { - response.headers.add("Sec-WebSocket-Protocol", protocol); - } - 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], 475, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T$1.SocketTo_WebSocketImpl())); - } - 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$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 t278; - t278 = response; - (() => { - t278.statusCode = 500; - t278.close(); - return t278; - })(); - dart.throw(error); - }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); - } else { - return upgrade(null); - } - } - static _negotiateCompression(request, response, 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: ","}); - if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { - let info = compression[_createHeader](hv); - response.headers.add("Sec-WebSocket-Extensions", info.headerValue); - let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); - let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); - let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); - return deflate; - } - return null; - } - static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 534, 45, "request"); - if (request.method !== "GET") { - return false; - } - let connectionHeader = request.headers._get("connection"); - if (connectionHeader == null) { - return false; - } - let isUpgrade = false; - for (let value of connectionHeader) { - if (value[$toLowerCase]() === "upgrade") { - isUpgrade = true; - break; - } - } - if (!isUpgrade) return false; - let upgrade = request.headers.value("upgrade"); - if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { - return false; - } - let version = request.headers.value("Sec-WebSocket-Version"); - if (version == null || version !== "13") { - return false; - } - let key = request.headers.value("Sec-WebSocket-Key"); - if (key == null) { - return false; - } - return true; - } - }; - (_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - 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); - ; - }).prototype = _http._WebSocketTransformerImpl.prototype; - dart.addTypeTests(_http._WebSocketTransformerImpl); - dart.addTypeCaches(_http._WebSocketTransformerImpl); - _http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; - 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__), - [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), - [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), - [_compression$]: dart.finalFieldType(_http.CompressionOptions) - })); - 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 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 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], 591, 46, "msg"); - let decoder = this[_ensureDecoder](); - let data = T$.JSArrayOfint().of([]); - data[$addAll](msg); - data[$addAll](C[502] || CT.C502); - decoder.process(data, 0, data[$length]); - let result = _internal.BytesBuilder.new(); - while (true) { - let out = decoder.processed(); - if (out == null) break; - result.add(out); - } - if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.decoder = null; - } - return result.takeBytes(); - } - processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); - let encoder = this[_ensureEncoder](); - let result = T$.JSArrayOfint().of([]); - let buffer = null; - if (!typed_data.Uint8List.is(msg)) { - for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { - if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); - } - } - buffer = _native_typed_data.NativeUint8List.fromList(msg); - } else { - buffer = msg; - } - encoder.process(buffer, 0, buffer[$length]); - while (true) { - let out = encoder.processed(); - if (out == null) break; - result[$addAll](out); - } - if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.encoder = null; - } - if (dart.notNull(result[$length]) > 4) { - result = result[$sublist](0, dart.notNull(result[$length]) - 4); - } - if (dart.test(result[$isEmpty])) { - return T$.JSArrayOfint().of([0]); - } - return result; - } - }; - (_http._WebSocketPerMessageDeflate.new = function(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"); - this.decoder = null; - this.encoder = null; - this.clientMaxWindowBits = clientMaxWindowBits; - this.serverMaxWindowBits = serverMaxWindowBits; - this.serverNoContextTakeover = serverNoContextTakeover; - this.clientNoContextTakeover = clientNoContextTakeover; - this.serverSide = serverSide; - ; - }).prototype = _http._WebSocketPerMessageDeflate.prototype; - dart.addTypeTests(_http._WebSocketPerMessageDeflate); - dart.addTypeCaches(_http._WebSocketPerMessageDeflate); - dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), - [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), - [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), - processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), - processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) - })); - dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); - dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), - serverNoContextTakeover: dart.fieldType(core.bool), - clientNoContextTakeover: dart.fieldType(core.bool), - clientMaxWindowBits: dart.fieldType(core.int), - serverMaxWindowBits: dart.fieldType(core.int), - serverSide: dart.fieldType(core.bool), - decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), - encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) - })); - 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], 673, 33, "stream"); - return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(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$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); - } - add(message) { - if (_http._WebSocketPong.is(message)) { - this.addFrame(10, message.payload); - return; - } - if (_http._WebSocketPing.is(message)) { - this.addFrame(9, message.payload); - return; - } - let data = null; - let opcode = null; - if (message != null) { - let messageData = null; - if (typeof message == 'string') { - opcode = 1; - messageData = convert.utf8.encode(message); - } else if (T$0.ListOfint().is(message)) { - opcode = 2; - messageData = message; - } else if (_http._EncodedString.is(message)) { - opcode = 1; - messageData = message.bytes; - } else { - dart.throw(new core.ArgumentError.new(message)); - } - let deflateHelper = this[_deflateHelper]; - if (deflateHelper != null) { - messageData = deflateHelper.processOutgoingMessage(messageData); - } - data = messageData; - } else { - opcode = 1; - } - this.addFrame(opcode, data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 720, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - let code = this.webSocket[_outCloseCode]; - let reason = this.webSocket[_outCloseReason]; - let data = null; - if (code != null) { - data = (() => { - 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], 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], 749, 19, "e"); - dart.nullCheck(this[_eventSink$]).add(e); - }, T$0.ListOfintTovoid())); - } - static createFrame(opcode, data, serverSide, 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; - if (dart.notNull(dataLength) > 65535) { - headerSize = headerSize + 8; - } else if (dart.notNull(dataLength) > 125) { - headerSize = headerSize + 2; - } - 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]((t279 = index, index = t279 + 1, t279), hoc); - let lengthBytes = 1; - if (dart.notNull(dataLength) > 65535) { - header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); - lengthBytes = 8; - } else if (dart.notNull(dataLength) > 125) { - 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]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); - } - if (mask) { - 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; - if (data != null) { - let list = null; - if (opcode === 1 && typed_data.Uint8List.is(data)) { - list = data; - } else { - if (typed_data.Uint8List.is(data)) { - list = _native_typed_data.NativeUint8List.fromList(data); - } else { - list = _native_typed_data.NativeUint8List.new(data[$length]); - for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { - if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); - } - list[$_set](i, data[$_get](i)); - } - } - } - let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; - } - 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) { - 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) { - 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], 834, 12, "index == headerSize"); - if (data == null) { - return T$0.JSArrayOfListOfint().of([header]); - } else { - return T$0.JSArrayOfListOfint().of([header, data]); - } - } - }; - (_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); - this[_eventSink$] = null; - this.webSocket = webSocket; - this[_deflateHelper] = webSocket[_deflate$]; - _http._WebSocketOutgoingTransformer.__proto__.new.call(this); - ; - }).prototype = _http._WebSocketOutgoingTransformer.prototype; - dart.addTypeTests(_http._WebSocketOutgoingTransformer); - dart.addTypeCaches(_http._WebSocketOutgoingTransformer); - _http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; - dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), - bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - 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.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) - })); - var _issuedPause = dart.privateName(_http, "_issuedPause"); - var _closed$ = dart.privateName(_http, "_closed"); - var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); - var _completer = dart.privateName(_http, "_completer"); - var _onListen = dart.privateName(_http, "_onListen"); - var _onPause$ = dart.privateName(_http, "_onPause"); - var _onResume$ = dart.privateName(_http, "_onResume"); - 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 t279; - t279 = this[_subscription$0]; - t279 == null ? null : t279.cancel(); - } - [_onPause$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.pause(); - } else { - this[_issuedPause] = true; - } - } - [_onResume$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.resume(); - } else { - this[_issuedPause] = false; - } - } - [_cancel$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - this[_subscription$0] = null; - subscription.cancel(); - } - } - [_ensureController]() { - let controller = this[_controller$0]; - if (controller != null) return controller; - controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); - let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); - this.socket.addStream(stream).then(core.Null, dart.fn(_ => { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - }, T$.dynamicToNull()), {onError: dart.fn((error, 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)) { - if (!dart.test(this[_done](error, stackTrace))) { - this[_closeCompleter$].completeError(error, stackTrace); - } - } else { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - } - }, T$.ObjectAndStackTraceToNull())}); - return controller; - } - [_done](error = null, stackTrace = null) { - let completer = this[_completer]; - if (completer == null) return false; - if (error != null) { - completer.completeError(error, stackTrace); - } else { - completer.complete(this.webSocket); - } - this[_completer] = null; - return true; - } - addStream(stream) { - async.Stream.as(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); - } - this[_ensureController](); - let completer = this[_completer] = async.Completer.new(); - let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { - dart.nullCheck(this[_controller$0]).add(data); - }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); - if (dart.test(this[_issuedPause])) { - subscription.pause(); - this[_issuedPause] = false; - } - return completer.future; - } - 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$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); - } - add(data) { - if (dart.test(this[_closed$])) return; - let controller = this[_ensureController](); - if (dart.test(controller.isClosed)) return; - controller.add(data); - } - closeSocket() { - this[_closed$] = true; - this[_cancel$](); - this.close(); - } - }; - (_http._WebSocketConsumer.new = function(webSocket, 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$1.CompleterOfWebSocket().new(); - this[_completer] = null; - this.webSocket = webSocket; - this.socket = socket; - ; - }).prototype = _http._WebSocketConsumer.prototype; - dart.addTypeTests(_http._WebSocketConsumer); - dart.addTypeCaches(_http._WebSocketConsumer); - _http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; - dart.setMethodSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), - [_onListen]: dart.fnType(dart.void, []), - [_onPause$]: dart.fnType(dart.void, []), - [_onResume$]: dart.fnType(dart.void, []), - [_cancel$]: dart.fnType(dart.void, []), - [_ensureController]: dart.fnType(async.StreamController, []), - [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []), - add: dart.fnType(dart.void, [dart.dynamic]), - closeSocket: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_http._WebSocketConsumer, I[177]); - dart.setFieldSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), - webSocket: dart.finalFieldType(_http._WebSocketImpl), - socket: dart.finalFieldType(io.Socket), - [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_issuedPause]: dart.fieldType(core.bool), - [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.finalFieldType(async.Completer), - [_completer]: dart.fieldType(dart.nullable(async.Completer)) - })); - var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); - var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); - var _readyState = dart.privateName(_http, "_readyState"); - var _writeClosed = dart.privateName(_http, "_writeClosed"); - var _closeCode = dart.privateName(_http, "_closeCode"); - var _closeReason = dart.privateName(_http, "_closeReason"); - var _pingInterval = dart.privateName(_http, "_pingInterval"); - var _pingTimer = dart.privateName(_http, "_pingTimer"); - var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); - var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); - var _closeTimer = dart.privateName(_http, "_closeTimer"); - var _consumer = dart.privateName(_http, "_consumer"); - var _sink = dart.privateName(_http, "_sink"); - var _close$0 = dart.privateName(_http, "_close"); - const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; - (Stream__ServiceObject$36$.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__.new.call(this); - }).prototype = Stream__ServiceObject$36$.prototype; - (Stream__ServiceObject$36$._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__._internal.call(this); - }).prototype = Stream__ServiceObject$36$.prototype; - dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); - _http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { - get [_sink]() { - let t279; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); - } - set [_sink](_sink$35param) { - if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); - this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = _sink$35param; - } - get [_consumer]() { - let t279; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); - } - set [_consumer](_consumer$35param) { - if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); - this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = _consumer$35param; - } - static connect(url, protocols, headers, opts) { - 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 (!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(); - let nonceData = _native_typed_data.NativeUint8List.new(16); - for (let i = 0; i < 16; i = i + 1) { - nonceData[$_set](i, random.nextInt(256)); - } - 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], 1029, 26, "field"); - return request.headers.add(field, core.Object.as(value)); - }, T$0.StringAnddynamicTovoid())); - } - t279 = request.headers; - (() => { - 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]()); - } - if (dart.test(compression.enabled)) { - request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); - } - return request.close(); - }, 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], 1049, 38, "message"); - response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); - socket.destroy(); - }, T$1.SocketToNull())); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); - } - 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], 1061, 34, "value"); - return value[$toLowerCase]() === "upgrade"; - }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - } - let accept = response.headers.value("Sec-WebSocket-Accept"); - if (accept == null) { - 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 = convert.base64Decode(accept); - if (expectedAccept[$length] != receivedAccept[$length]) { - 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)) { - 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], 1089, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T$1.SocketTo_WebSocketImpl())); - }, T$1.HttpClientResponseToFutureOfWebSocket())); - } - static negotiateClientCompression(response, compression) { - 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 t279; - if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); - let o = hv.parameters[$_get](type); - if (o == null) { - return 15; - } - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get pingInterval() { - return this[_pingInterval]; - } - set pingInterval(interval) { - let t279; - if (dart.test(this[_writeClosed])) return; - 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 t279; - t279 = this[_closeTimer]; - t279 == null ? null : t279.cancel(); - this[_close$0](1001); - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.VoidTovoid())); - }, T$.VoidTovoid())); - } - get readyState() { - return this[_readyState]; - } - get extensions() { - return ""; - } - get closeCode() { - return this[_closeCode]; - } - get closeReason() { - return this[_closeReason]; - } - add(data) { - this[_sink].add(data); - } - addUtf8Text(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], 1231, 24, "error"); - this[_sink].addError(error, stackTrace); - } - addStream(stream) { - async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); - return this[_sink].addStream(stream); - } - get done() { - return this[_sink].done; - } - close(code = null, reason = null) { - if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { - dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); - } - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - 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$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(); - } - static get userAgent() { - return _http._WebSocketImpl._httpClient.userAgent; - } - static set userAgent(userAgent) { - _http._WebSocketImpl._httpClient.userAgent = userAgent; - } - [_close$0](code = null, reason = null) { - if (dart.test(this[_writeClosed])) return; - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - this[_writeClosed] = true; - this[_consumer].closeSocket(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - } - get [_serviceTypePath$]() { - return "io/websockets"; - } - get [_serviceTypeName$]() { - return "WebSocket"; - } - 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 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; - this[_readyState] = 0; - this[_writeClosed] = false; - this[_closeCode] = null; - this[_closeReason] = null; - this[_pingInterval] = null; - this[_pingTimer] = null; - this[___WebSocketImpl__consumer] = null; - this[___WebSocketImpl__consumer_isSet] = false; - this[_outCloseCode] = null; - this[_outCloseReason] = null; - this[_closeTimer] = null; - this[_deflate$] = null; - this[_socket$0] = _socket; - this.protocol = protocol; - this[_serverSide$] = _serverSide; - this[_controller$0] = async.StreamController.new({sync: true}); - _http._WebSocketImpl.__proto__.new.call(this); - this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); - this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); - this[_readyState] = 1; - this[_deflate$] = deflate; - let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); - let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { - if (_http._WebSocketPing.is(data)) { - if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); - } else if (_http._WebSocketPong.is(data)) { - this.pingInterval = this[_pingInterval]; - } else { - this[_controller$0].add(data); - } - }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - 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 { - this[_close$0](1002); - } - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - 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))) { - this[_close$0](transformer.closeCode, transformer.closeReason); - } else { - this[_close$0](); - } - this[_readyState] = 3; - } - this[_closeCode] = transformer.closeCode; - this[_closeReason] = transformer.closeReason; - this[_controller$0].close(); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.pause(); - t279 = this[_controller$0]; - (() => { - t279.onListen = dart.bind(subscription, 'resume'); - t279.onCancel = dart.fn(() => { - dart.nullCheck(this[_subscription$0]).cancel(); - this[_subscription$0] = null; - }, T$.VoidToNull()); - 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; - dart.addTypeTests(_http._WebSocketImpl); - dart.addTypeCaches(_http._WebSocketImpl); - _http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; - dart.setMethodSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {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)]), - addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), - 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)]) - })); - dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); - dart.setGetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_consumer]: _http._WebSocketConsumer, - pingInterval: dart.nullable(core.Duration), - readyState: core.int, - extensions: core.String, - closeCode: dart.nullable(core.int), - closeReason: dart.nullable(core.String), - done: async.Future, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String - })); - dart.setSetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_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__), - protocol: dart.finalFieldType(dart.nullable(core.String)), - [_controller$0]: dart.finalFieldType(async.StreamController), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), - [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), - [_socket$0]: dart.finalFieldType(io.Socket), - [_serverSide$]: dart.finalFieldType(core.bool), - [_readyState]: dart.fieldType(core.int), - [_writeClosed]: dart.fieldType(core.bool), - [_closeCode]: dart.fieldType(dart.nullable(core.int)), - [_closeReason]: dart.fieldType(dart.nullable(core.String)), - [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), - [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), - [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), - [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), - [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), - [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), - [_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$1.IdentityMapOfint$_WebSocketImpl()).new(); - }, - /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, - /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { - return "permessage-deflate"; - }, - /*_http._WebSocketImpl._httpClient*/get _httpClient() { - return _http.HttpClient.new(); - } - }, false); - _http._getHttpVersion = function _getHttpVersion() { - let version = io.Platform.version; - let index = version[$indexOf](".", version[$indexOf](".") + 1); - 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; - }, - /*_http._MASK_32*/get _MASK_32() { - return 4294967295.0; - }, - /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { - return 8; - }, - /*_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(value) { - if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); - }, - /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { - return 8192; - }, - /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { - return "DARTSESSID"; - }, - /*_http._httpOverridesToken*/get _httpOverridesToken() { - return new core.Object.new(); - }, - /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*_http._webSocketGUID*/get _webSocketGUID() { - return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; - }, - /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { - return "client_no_context_takeover"; - }, - /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { - return "server_no_context_takeover"; - }, - /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { - return "client_max_window_bits"; - }, - /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { - return "server_max_window_bits"; - } - }, false); - 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, - "dart:_internal": _internal, - "dart:_isolate_helper": _isolate_helper, - "dart:_js_helper": _js_helper, - "dart:_js_primitives": _js_primitives, - "dart:_metadata": _metadata, - "dart:_native_typed_data": _native_typed_data, - "dart:async": async, - "dart:collection": collection, - "dart:convert": convert, - "dart:developer": developer, - "dart:io": io, - "dart:isolate": isolate$, - "dart:js": js, - "dart:js_util": js_util, - "dart:math": math, - "dart:typed_data": typed_data, - "dart:indexed_db": indexed_db, - "dart:html": html$, - "dart:html_common": html_common, - "dart:svg": svg$, - "dart:web_audio": web_audio, - "dart:web_gl": web_gl, - "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", "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_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", "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, - _internal: _internal, - _isolate_helper: _isolate_helper, - _js_helper: _js_helper, - _js_primitives: _js_primitives, - _metadata: _metadata, - _native_typed_data: _native_typed_data, - async: async, - collection: collection, - convert: convert, - developer: developer, - io: io, - isolate: isolate$, - js: js, - js_util: js_util, - math: math, - typed_data: typed_data, - indexed_db: indexed_db, - html: html$, - html_common: html_common, - svg: svg$, - web_audio: web_audio, - web_gl: web_gl, - core: core, - _http: _http, - dartx: dartx - }; -})); - -//# sourceMappingURL=dart_sdk.js.map diff --git a/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js deleted file mode 100644 index 715c93b28..000000000 --- a/dev/packages/$sdk/dev_compiler/kernel/common/dart_sdk.js +++ /dev/null @@ -1,149314 +0,0 @@ -// 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); -var _internal = Object.create(dart.library); -var _isolate_helper = Object.create(dart.library); -var _js_helper = Object.create(dart.library); -var _js_primitives = Object.create(dart.library); -var _metadata = Object.create(dart.library); -var _native_typed_data = Object.create(dart.library); -var async = Object.create(dart.library); -var collection = Object.create(dart.library); -var convert = Object.create(dart.library); -var developer = Object.create(dart.library); -var io = Object.create(dart.library); -var isolate$ = Object.create(dart.library); -var js = Object.create(dart.library); -var js_util = Object.create(dart.library); -var math = Object.create(dart.library); -var typed_data = Object.create(dart.library); -var indexed_db = Object.create(dart.library); -var html$ = Object.create(dart.library); -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 core = Object.create(dart.library); -var _http = Object.create(dart.library); -var dartx = Object.create(dart.library); -const _privateNames = Symbol("_privateNames"); -dart.privateName = function(library, name) { - let names = library[_privateNames]; - if (names == null) names = library[_privateNames] = new Map(); - let symbol = names.get(name); - if (symbol == null) names.set(name, symbol = Symbol(name)); - return symbol; -}; -var $hashCode = dartx.hashCode = Symbol("dartx.hashCode"); -var $isNotEmpty = dartx.isNotEmpty = Symbol("dartx.isNotEmpty"); -var $where = dartx.where = Symbol("dartx.where"); -var $join = dartx.join = Symbol("dartx.join"); -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"); -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 $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); -var $map = dartx.map = Symbol("dartx.map"); -var $toList = dartx.toList = Symbol("dartx.toList"); -var $sublist = dartx.sublist = Symbol("dartx.sublist"); -var $substring = dartx.substring = Symbol("dartx.substring"); -var $split = dartx.split = Symbol("dartx.split"); -var $trim = dartx.trim = Symbol("dartx.trim"); -var $runtimeType = dartx.runtimeType = Symbol("dartx.runtimeType"); -var $containsKey = dartx.containsKey = Symbol("dartx.containsKey"); -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 $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); -var $truncate = dartx.truncate = Symbol("dartx.truncate"); -var $toInt = dartx.toInt = Symbol("dartx.toInt"); -var $skip = dartx.skip = Symbol("dartx.skip"); -var $take = dartx.take = Symbol("dartx.take"); -var $asMap = dartx.asMap = Symbol("dartx.asMap"); -var $forEach = dartx.forEach = Symbol("dartx.forEach"); -var $elementAt = dartx.elementAt = Symbol("dartx.elementAt"); -var $last = dartx.last = Symbol("dartx.last"); -var $firstWhere = dartx.firstWhere = Symbol("dartx.firstWhere"); -var $replaceFirst = dartx.replaceFirst = Symbol("dartx.replaceFirst"); -var $startsWith = dartx.startsWith = Symbol("dartx.startsWith"); -var $compareTo = dartx.compareTo = Symbol("dartx.compareTo"); -var $sort = dartx.sort = Symbol("dartx.sort"); -var $putIfAbsent = dartx.putIfAbsent = Symbol("dartx.putIfAbsent"); -var $round = dartx.round = Symbol("dartx.round"); -var $bitAnd = dartx['&'] = Symbol("dartx.&"); -var $bitOr = dartx['|'] = Symbol("dartx.|"); -var $bitXor = dartx['^'] = Symbol("dartx.^"); -var $stackTrace = dartx.stackTrace = Symbol("dartx.stackTrace"); -var $invalidValue = dartx.invalidValue = Symbol("dartx.invalidValue"); -var $name = dartx.name = Symbol("dartx.name"); -var $message = dartx.message = Symbol("dartx.message"); -var $checkMutable = dartx.checkMutable = Symbol("dartx.checkMutable"); -var $checkGrowable = dartx.checkGrowable = Symbol("dartx.checkGrowable"); -var $removeAt = dartx.removeAt = Symbol("dartx.removeAt"); -var $insert = dartx.insert = Symbol("dartx.insert"); -var $setRange = dartx.setRange = Symbol("dartx.setRange"); -var $insertAll = dartx.insertAll = Symbol("dartx.insertAll"); -var $setAll = dartx.setAll = Symbol("dartx.setAll"); -var $removeLast = dartx.removeLast = Symbol("dartx.removeLast"); -var $removeWhere = dartx.removeWhere = Symbol("dartx.removeWhere"); -var $retainWhere = dartx.retainWhere = Symbol("dartx.retainWhere"); -var $expand = dartx.expand = Symbol("dartx.expand"); -var $takeWhile = dartx.takeWhile = Symbol("dartx.takeWhile"); -var $skipWhile = dartx.skipWhile = Symbol("dartx.skipWhile"); -var $reduce = dartx.reduce = Symbol("dartx.reduce"); -var $fold = dartx.fold = Symbol("dartx.fold"); -var $lastWhere = dartx.lastWhere = Symbol("dartx.lastWhere"); -var $singleWhere = dartx.singleWhere = Symbol("dartx.singleWhere"); -var $getRange = dartx.getRange = Symbol("dartx.getRange"); -var $first = dartx.first = Symbol("dartx.first"); -var $single = dartx.single = Symbol("dartx.single"); -var $removeRange = dartx.removeRange = Symbol("dartx.removeRange"); -var $fillRange = dartx.fillRange = Symbol("dartx.fillRange"); -var $replaceRange = dartx.replaceRange = Symbol("dartx.replaceRange"); -var $every = dartx.every = Symbol("dartx.every"); -var $reversed = dartx.reversed = Symbol("dartx.reversed"); -var $shuffle = dartx.shuffle = Symbol("dartx.shuffle"); -var $lastIndexOf = dartx.lastIndexOf = Symbol("dartx.lastIndexOf"); -var $toSet = dartx.toSet = Symbol("dartx.toSet"); -var $iterator = dartx.iterator = Symbol("dartx.iterator"); -var $followedBy = dartx.followedBy = Symbol("dartx.followedBy"); -var $whereType = dartx.whereType = Symbol("dartx.whereType"); -var $plus = dartx['+'] = Symbol("dartx.+"); -var $indexWhere = dartx.indexWhere = Symbol("dartx.indexWhere"); -var $lastIndexWhere = dartx.lastIndexWhere = Symbol("dartx.lastIndexWhere"); -var $isNegative = dartx.isNegative = Symbol("dartx.isNegative"); -var $isNaN = dartx.isNaN = Symbol("dartx.isNaN"); -var $isInfinite = dartx.isInfinite = Symbol("dartx.isInfinite"); -var $isFinite = dartx.isFinite = Symbol("dartx.isFinite"); -var $remainder = dartx.remainder = Symbol("dartx.remainder"); -var $abs = dartx.abs = Symbol("dartx.abs"); -var $sign = dartx.sign = Symbol("dartx.sign"); -var $truncateToDouble = dartx.truncateToDouble = Symbol("dartx.truncateToDouble"); -var $ceilToDouble = dartx.ceilToDouble = Symbol("dartx.ceilToDouble"); -var $ceil = dartx.ceil = Symbol("dartx.ceil"); -var $floorToDouble = dartx.floorToDouble = Symbol("dartx.floorToDouble"); -var $floor = dartx.floor = Symbol("dartx.floor"); -var $roundToDouble = dartx.roundToDouble = Symbol("dartx.roundToDouble"); -var $clamp = dartx.clamp = Symbol("dartx.clamp"); -var $toDouble = dartx.toDouble = Symbol("dartx.toDouble"); -var $toStringAsFixed = dartx.toStringAsFixed = Symbol("dartx.toStringAsFixed"); -var $toStringAsExponential = dartx.toStringAsExponential = Symbol("dartx.toStringAsExponential"); -var $toStringAsPrecision = dartx.toStringAsPrecision = Symbol("dartx.toStringAsPrecision"); -var $codeUnitAt = dartx.codeUnitAt = Symbol("dartx.codeUnitAt"); -var $toRadixString = dartx.toRadixString = Symbol("dartx.toRadixString"); -var $times = dartx['*'] = Symbol("dartx.*"); -var $_negate = dartx._negate = Symbol("dartx._negate"); -var $minus = dartx['-'] = Symbol("dartx.-"); -var $divide = dartx['/'] = Symbol("dartx./"); -var $modulo = dartx['%'] = Symbol("dartx.%"); -var $floorDivide = dartx['~/'] = Symbol("dartx.~/"); -var $leftShift = dartx['<<'] = Symbol("dartx.<<"); -var $rightShift = dartx['>>'] = Symbol("dartx.>>"); -var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); -var $lessThan = dartx['<'] = Symbol("dartx.<"); -var $greaterThan = dartx['>'] = Symbol("dartx.>"); -var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); -var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); -var $isEven = dartx.isEven = Symbol("dartx.isEven"); -var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); -var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); -var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); -var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); -var $modPow = dartx.modPow = Symbol("dartx.modPow"); -var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); -var $gcd = dartx.gcd = Symbol("dartx.gcd"); -var $bitNot = dartx['~'] = Symbol("dartx.~"); -var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); -var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); -var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); -var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); -var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); -var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); -var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); -var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); -var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); -var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); -var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); -var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); -var $padRight = dartx.padRight = Symbol("dartx.padRight"); -var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); -var $runes = dartx.runes = Symbol("dartx.runes"); -var $buffer = dartx.buffer = Symbol("dartx.buffer"); -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"); -var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); -var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); -var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); -var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); -var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); -var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); -var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); -var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); -var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); -var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); -var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); -var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); -var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); -var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); -var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); -var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); -var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); -var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); -var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); -var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); -var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); -var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); -var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); -var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); -var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); -var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); -var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); -var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); -var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); -var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); -var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); -var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); -var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); -var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); -var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); -var $left = dartx.left = Symbol("dartx.left"); -var $width = dartx.width = Symbol("dartx.width"); -var $top = dartx.top = Symbol("dartx.top"); -var $height = dartx.height = Symbol("dartx.height"); -var $right = dartx.right = Symbol("dartx.right"); -var $bottom = dartx.bottom = Symbol("dartx.bottom"); -var $intersection = dartx.intersection = Symbol("dartx.intersection"); -var $intersects = dartx.intersects = Symbol("dartx.intersects"); -var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); -var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); -var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); -var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); -var $topRight = dartx.topRight = Symbol("dartx.topRight"); -var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); -var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); -var T$ = { - ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), - ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), - boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), - JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), - IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), - ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), - ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), - IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), - JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), - ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), - IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), - ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), - IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), - 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)))(), - TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), - JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), - intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), - JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), - _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), - IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), - dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), - dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), - dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), - ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), - StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), - VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), - StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), - NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), - LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), - dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), - dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), - IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), - StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), - VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), - 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)))(), - 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(), [])))(), - 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)))(), - VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), - boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), - voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), - _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), - 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(), [])))(), - 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()])))(), - ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), - EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), - doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), - VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), - VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), - VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), - JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), - StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), - JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), - SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), - EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), - ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), - MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), - IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), - IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), - intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), - ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), - _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)))(), - 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(), [])))(), - FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - 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()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), - ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), - ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), - TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), - ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), - ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), - ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), - MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), - MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), - ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - _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()])))(), - 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())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), - VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), - ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), - TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), - DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), - TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), - TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), - StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), - ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), - ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), - 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])))(), - 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)))(), - 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])))(), - StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), - IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), - SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), - StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), - StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), - SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), - intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), - 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])))(), - 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)))(), - 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())))(), - _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())))(), - 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])))(), - 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)))(), - ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), - FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - 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])))(), - RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), - 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())))(), - 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)))(), - 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])))(), - 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])))(), - ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), - FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), - FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - 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)))(), - 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])))(), - 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)))(), - ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), - RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), - RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), - ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), - ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), - ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), - 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)))(), - 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])))(), - RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), - ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), - ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), - CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), - StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), - CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), - 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)))(), - 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])))(), - ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), - PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), - RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), - EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), - EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), - VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), - EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), - FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), - CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), - EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), - FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), - ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), - CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), - EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), - ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), - JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), - NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), - CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), - ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), - MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), - MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), - ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), - MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), - WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), - _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), - EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), - TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), - _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), - MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), - EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), - ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), - EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), - KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), - EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), - TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), - EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), - EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), - ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), - EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), - MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), - EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), - PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), - 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)))(), - 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)))(), - EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), - DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), - CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), - MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), - ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), - CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), - ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), - 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)))(), - 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)))(), - CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), - FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), - CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), - FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), - FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), - 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)))(), - 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())))(), - HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), - StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), - CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), - ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), - CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), - FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), - ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), - ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), - MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), - MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), - EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), - MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), - JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), - ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), - ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), - boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), - CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), - MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), - NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), - IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), - NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), - PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), - ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), - ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), - RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), - EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), - JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), - CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), - RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), - MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), - EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), - RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), - EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), - RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), - EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), - RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), - EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), - UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), - IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), - OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), - JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), - ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), - EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), - SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), - EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), - SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), - EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), - SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), - EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), - _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), - _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), - _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), - TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), - EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), - CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), - EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), - CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), - numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), - IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), - CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), - FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), - DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), - EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), - DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), - 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())))(), - 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)))(), - ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), - _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), - CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), - boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), - StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), - SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), - SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), - IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), - 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)))(), - JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), - KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), - JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), - NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), - NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), - NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), - MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), - dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), - 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])))(), - 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)))(), - 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()])))(), - 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])))(), - 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()])))(), - MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), - StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), - 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])))(), - 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])))(), - Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), - HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), - StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), - VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), - StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), - 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())))() -}; -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"), - $delete: dartx.delete = Symbol("dartx.delete"), - _update: dart.privateName(indexed_db, "_update"), - $next: dartx.next = Symbol("dartx.next"), - $direction: dartx.direction = Symbol("dartx.direction"), - $key: dartx.key = Symbol("dartx.key"), - $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), - $source: dartx.source = Symbol("dartx.source"), - $advance: dartx.advance = Symbol("dartx.advance"), - $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), - _update_1: dart.privateName(indexed_db, "_update_1"), - _get_value: dart.privateName(indexed_db, "_get_value"), - $value: dartx.value = Symbol("dartx.value"), - _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), - $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), - _transaction: dart.privateName(indexed_db, "_transaction"), - $transaction: dartx.transaction = Symbol("dartx.transaction"), - $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), - $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), - $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), - $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), - $version: dartx.version = Symbol("dartx.version"), - $close: dartx.close = Symbol("dartx.close"), - _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), - _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), - $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), - $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), - $onClose: dartx.onClose = Symbol("dartx.onClose"), - $onError: dartx.onError = Symbol("dartx.onError"), - $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), - $on: dartx.on = Symbol("dartx.on"), - _addEventListener: dart.privateName(html$, "_addEventListener"), - $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), - _removeEventListener: dart.privateName(html$, "_removeEventListener"), - $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), - $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), - EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), - _open: dart.privateName(indexed_db, "_open"), - $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), - $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), - $open: dartx.open = Symbol("dartx.open"), - _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), - $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), - $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), - $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), - $cmp: dartx.cmp = Symbol("dartx.cmp"), - _count$2: dart.privateName(indexed_db, "_count"), - $count: dartx.count = Symbol("dartx.count"), - _get: dart.privateName(indexed_db, "_get"), - $get: dartx.get = Symbol("dartx.get"), - _getKey: dart.privateName(indexed_db, "_getKey"), - $getKey: dartx.getKey = Symbol("dartx.getKey"), - _openCursor: dart.privateName(indexed_db, "_openCursor"), - $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), - _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), - $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), - $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), - $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), - $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), - $unique: dartx.unique = Symbol("dartx.unique"), - $getAll: dartx.getAll = Symbol("dartx.getAll"), - $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), - $lower: dartx.lower = Symbol("dartx.lower"), - $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), - $upper: dartx.upper = Symbol("dartx.upper"), - $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), - $includes: dartx.includes = Symbol("dartx.includes"), - _add$3: dart.privateName(indexed_db, "_add"), - _clear$2: dart.privateName(indexed_db, "_clear"), - _put: dart.privateName(indexed_db, "_put"), - $put: dartx.put = Symbol("dartx.put"), - $getObject: dartx.getObject = Symbol("dartx.getObject"), - _createIndex: dart.privateName(indexed_db, "_createIndex"), - $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), - $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), - $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), - _add_1: dart.privateName(indexed_db, "_add_1"), - _add_2: dart.privateName(indexed_db, "_add_2"), - _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), - _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), - $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), - $index: dartx.index = Symbol("dartx.index"), - _put_1: dart.privateName(indexed_db, "_put_1"), - _put_2: dart.privateName(indexed_db, "_put_2"), - $result: dartx.result = Symbol("dartx.result"), - $type: dartx.type = Symbol("dartx.type"), - _observe_1: dart.privateName(indexed_db, "_observe_1"), - $observe: dartx.observe = Symbol("dartx.observe"), - $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), - $database: dartx.database = Symbol("dartx.database"), - $records: dartx.records = Symbol("dartx.records"), - $error: dartx.error = Symbol("dartx.error"), - $readyState: dartx.readyState = Symbol("dartx.readyState"), - _get_result: dart.privateName(indexed_db, "_get_result"), - $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), - $completed: dartx.completed = Symbol("dartx.completed"), - $db: dartx.db = Symbol("dartx.db"), - $mode: dartx.mode = Symbol("dartx.mode"), - $abort: dartx.abort = Symbol("dartx.abort"), - $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), - $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), - $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), - $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), - $target: dartx.target = Symbol("dartx.target"), - _createEvent: dart.privateName(html$, "_createEvent"), - _initEvent: dart.privateName(html$, "_initEvent"), - _selector: dart.privateName(html$, "_selector"), - $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), - $matches: dartx.matches = Symbol("dartx.matches"), - $parent: dartx.parent = Symbol("dartx.parent"), - $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), - $path: dartx.path = Symbol("dartx.path"), - $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), - $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), - $composed: dartx.composed = Symbol("dartx.composed"), - _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), - $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), - $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), - $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), - _get_target: dart.privateName(html$, "_get_target"), - $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), - $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), - $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), - $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), - $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), - $nonce: dartx.nonce = Symbol("dartx.nonce"), - $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), - $nodes: dartx.nodes = Symbol("dartx.nodes"), - $attributes: dartx.attributes = Symbol("dartx.attributes"), - _getAttribute: dart.privateName(html$, "_getAttribute"), - $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), - _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), - $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), - _hasAttribute: dart.privateName(html$, "_hasAttribute"), - $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), - _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), - $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), - _removeAttribute: dart.privateName(html$, "_removeAttribute"), - $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), - _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), - $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), - _setAttribute: dart.privateName(html$, "_setAttribute"), - $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), - _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), - $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), - $children: dartx.children = Symbol("dartx.children"), - _children: dart.privateName(html$, "_children"), - _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), - $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), - _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), - $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), - _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), - $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), - $classes: dartx.classes = Symbol("dartx.classes"), - $dataset: dartx.dataset = Symbol("dartx.dataset"), - $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), - _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), - $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), - $client: dartx.client = Symbol("dartx.client"), - $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), - $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), - $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), - $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), - $offset: dartx.offset = Symbol("dartx.offset"), - $append: dartx.append = Symbol("dartx.append"), - $appendText: dartx.appendText = Symbol("dartx.appendText"), - $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), - $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), - $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), - $attached: dartx.attached = Symbol("dartx.attached"), - $leftView: dartx.leftView = Symbol("dartx.leftView"), - $detached: dartx.detached = Symbol("dartx.detached"), - _getClientRects: dart.privateName(html$, "_getClientRects"), - $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), - _animate: dart.privateName(html$, "_animate"), - $animate: dartx.animate = Symbol("dartx.animate"), - $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), - _localName: dart.privateName(html$, "_localName"), - $localName: dartx.localName = Symbol("dartx.localName"), - _namespaceUri: dart.privateName(html$, "_namespaceUri"), - $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), - _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), - _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), - _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), - $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), - _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), - _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), - $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), - $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), - $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), - $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), - $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), - $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), - $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), - $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), - $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), - $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), - $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), - $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), - $createElement: dartx.createElement = Symbol("dartx.createElement"), - $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), - $head: dartx.head = Symbol("dartx.head"), - _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), - _innerHtml: dart.privateName(html$, "_innerHtml"), - _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), - $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), - $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), - $text: dartx.text = Symbol("dartx.text"), - $innerText: dartx.innerText = Symbol("dartx.innerText"), - $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), - $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), - $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"), - $hidden: dartx.hidden = Symbol("dartx.hidden"), - $inert: dartx.inert = Symbol("dartx.inert"), - $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), - $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), - $lang: dartx.lang = Symbol("dartx.lang"), - $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), - $style: dartx.style = Symbol("dartx.style"), - $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), - $title: dartx.title = Symbol("dartx.title"), - $translate: dartx.translate = Symbol("dartx.translate"), - $blur: dartx.blur = Symbol("dartx.blur"), - $click: dartx.click = Symbol("dartx.click"), - $focus: dartx.focus = Symbol("dartx.focus"), - $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), - $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), - _attributes$1: dart.privateName(html$, "_attributes"), - $className: dartx.className = Symbol("dartx.className"), - $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), - $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), - $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), - $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), - $computedName: dartx.computedName = Symbol("dartx.computedName"), - $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), - $id: dartx.id = Symbol("dartx.id"), - $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), - _scrollHeight: dart.privateName(html$, "_scrollHeight"), - _scrollLeft: dart.privateName(html$, "_scrollLeft"), - _scrollTop: dart.privateName(html$, "_scrollTop"), - _scrollWidth: dart.privateName(html$, "_scrollWidth"), - $slot: dartx.slot = Symbol("dartx.slot"), - $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), - $tagName: dartx.tagName = Symbol("dartx.tagName"), - _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), - $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), - $closest: dartx.closest = Symbol("dartx.closest"), - $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), - $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), - $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), - $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), - $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), - _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), - $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), - $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), - $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), - _scroll_1: dart.privateName(html$, "_scroll_1"), - _scroll_2: dart.privateName(html$, "_scroll_2"), - _scroll_3: dart.privateName(html$, "_scroll_3"), - $scroll: dartx.scroll = Symbol("dartx.scroll"), - _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), - _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"), - $after: dartx.after = Symbol("dartx.after"), - $before: dartx.before = Symbol("dartx.before"), - $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), - $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), - _childElementCount: dart.privateName(html$, "_childElementCount"), - _firstElementChild: dart.privateName(html$, "_firstElementChild"), - _lastElementChild: dart.privateName(html$, "_lastElementChild"), - $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), - $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), - $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), - $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), - $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), - $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), - $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), - $onChange: dartx.onChange = Symbol("dartx.onChange"), - $onClick: dartx.onClick = Symbol("dartx.onClick"), - $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), - $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), - $onCut: dartx.onCut = Symbol("dartx.onCut"), - $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), - $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), - $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), - $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), - $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), - $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), - $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), - $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), - $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), - $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), - $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), - $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), - $onInput: dartx.onInput = Symbol("dartx.onInput"), - $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), - $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), - $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), - $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), - $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), - $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), - $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $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"), - $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), - $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), - $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), - $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), - $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), - $onPause: dartx.onPause = Symbol("dartx.onPause"), - $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), - $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), - $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), - $onReset: dartx.onReset = Symbol("dartx.onReset"), - $onResize: dartx.onResize = Symbol("dartx.onResize"), - $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), - $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), - $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), - $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), - $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), - $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), - $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), - $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), - $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), - $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), - $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), - $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), - $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), - $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), - $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), - $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), - $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), - $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), - $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), - $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), - $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), - _removeChild: dart.privateName(html$, "_removeChild"), - _replaceChild: dart.privateName(html$, "_replaceChild"), - $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), - _this: dart.privateName(html$, "_this"), - $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), - _clearChildren: dart.privateName(html$, "_clearChildren"), - $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), - $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), - $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), - $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), - $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), - $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), - $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), - $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), - $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), - $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), - $clone: dartx.clone = Symbol("dartx.clone"), - _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), - _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), - $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), - $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), - $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), - _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), - $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), - $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), - $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), - $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), - $activated: dartx.activated = Symbol("dartx.activated"), - $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), - $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), - $start: dartx.start = Symbol("dartx.start"), - $stop: dartx.stop = Symbol("dartx.stop"), - $x: dartx.x = Symbol("dartx.x"), - $y: dartx.y = Symbol("dartx.y"), - $z: dartx.z = Symbol("dartx.z"), - $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), - $atomic: dartx.atomic = Symbol("dartx.atomic"), - $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), - $busy: dartx.busy = Symbol("dartx.busy"), - $checked: dartx.checked = Symbol("dartx.checked"), - $colCount: dartx.colCount = Symbol("dartx.colCount"), - $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), - $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), - $controls: dartx.controls = Symbol("dartx.controls"), - $current: dartx.current = Symbol("dartx.current"), - $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), - $details: dartx.details = Symbol("dartx.details"), - $disabled: dartx.disabled = Symbol("dartx.disabled"), - $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), - $expanded: dartx.expanded = Symbol("dartx.expanded"), - $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), - $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), - $invalid: dartx.invalid = Symbol("dartx.invalid"), - $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), - $label: dartx.label = Symbol("dartx.label"), - $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), - $level: dartx.level = Symbol("dartx.level"), - $live: dartx.live = Symbol("dartx.live"), - $modal: dartx.modal = Symbol("dartx.modal"), - $multiline: dartx.multiline = Symbol("dartx.multiline"), - $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), - $orientation: dartx.orientation = Symbol("dartx.orientation"), - $owns: dartx.owns = Symbol("dartx.owns"), - $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), - $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), - $pressed: dartx.pressed = Symbol("dartx.pressed"), - $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), - $relevant: dartx.relevant = Symbol("dartx.relevant"), - $required: dartx.required = Symbol("dartx.required"), - $role: dartx.role = Symbol("dartx.role"), - $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), - $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), - $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), - $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), - $selected: dartx.selected = Symbol("dartx.selected"), - $setSize: dartx.setSize = Symbol("dartx.setSize"), - $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), - $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), - $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), - $valueText: dartx.valueText = Symbol("dartx.valueText"), - $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), - $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), - $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), - $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), - $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), - $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), - $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), - __setter__: dart.privateName(html$, "__setter__"), - $item: dartx.item = Symbol("dartx.item"), - $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), - $download: dartx.download = Symbol("dartx.download"), - $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), - $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), - $rel: dartx.rel = Symbol("dartx.rel"), - $hash: dartx.hash = Symbol("dartx.hash"), - $host: dartx.host = Symbol("dartx.host"), - $hostname: dartx.hostname = Symbol("dartx.hostname"), - $href: dartx.href = Symbol("dartx.href"), - $origin: dartx.origin = Symbol("dartx.origin"), - $password: dartx.password = Symbol("dartx.password"), - $pathname: dartx.pathname = Symbol("dartx.pathname"), - $port: dartx.port = Symbol("dartx.port"), - $protocol: dartx.protocol = Symbol("dartx.protocol"), - $search: dartx.search = Symbol("dartx.search"), - $username: dartx.username = Symbol("dartx.username"), - $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), - $effect: dartx.effect = Symbol("dartx.effect"), - $finished: dartx.finished = Symbol("dartx.finished"), - $playState: dartx.playState = Symbol("dartx.playState"), - $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), - $ready: dartx.ready = Symbol("dartx.ready"), - $startTime: dartx.startTime = Symbol("dartx.startTime"), - $timeline: dartx.timeline = Symbol("dartx.timeline"), - $cancel: dartx.cancel = Symbol("dartx.cancel"), - $finish: dartx.finish = Symbol("dartx.finish"), - $pause: dartx.pause = Symbol("dartx.pause"), - $play: dartx.play = Symbol("dartx.play"), - $reverse: dartx.reverse = Symbol("dartx.reverse"), - $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), - $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), - $timing: dartx.timing = Symbol("dartx.timing"), - _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), - $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), - $delay: dartx.delay = Symbol("dartx.delay"), - $duration: dartx.duration = Symbol("dartx.duration"), - $easing: dartx.easing = Symbol("dartx.easing"), - $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), - $fill: dartx.fill = Symbol("dartx.fill"), - $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), - $iterations: dartx.iterations = Symbol("dartx.iterations"), - $animationName: dartx.animationName = Symbol("dartx.animationName"), - $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), - $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), - $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), - $status: dartx.status = Symbol("dartx.status"), - $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), - $onCached: dartx.onCached = Symbol("dartx.onCached"), - $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), - $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), - $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), - $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), - $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), - $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), - $reason: dartx.reason = Symbol("dartx.reason"), - $url: dartx.url = Symbol("dartx.url"), - $alt: dartx.alt = Symbol("dartx.alt"), - $coords: dartx.coords = Symbol("dartx.coords"), - $shape: dartx.shape = Symbol("dartx.shape"), - $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), - $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), - $buffered: dartx.buffered = Symbol("dartx.buffered"), - $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), - $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), - $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), - $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), - $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), - $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), - $ended: dartx.ended = Symbol("dartx.ended"), - $loop: dartx.loop = Symbol("dartx.loop"), - $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), - $muted: dartx.muted = Symbol("dartx.muted"), - $networkState: dartx.networkState = Symbol("dartx.networkState"), - $paused: dartx.paused = Symbol("dartx.paused"), - $played: dartx.played = Symbol("dartx.played"), - $preload: dartx.preload = Symbol("dartx.preload"), - $remote: dartx.remote = Symbol("dartx.remote"), - $seekable: dartx.seekable = Symbol("dartx.seekable"), - $seeking: dartx.seeking = Symbol("dartx.seeking"), - $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), - $src: dartx.src = Symbol("dartx.src"), - $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), - $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), - $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), - $volume: dartx.volume = Symbol("dartx.volume"), - $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), - $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), - $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), - $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), - $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), - $load: dartx.load = Symbol("dartx.load"), - $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), - $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), - $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), - $signature: dartx.signature = Symbol("dartx.signature"), - $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), - $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), - $state: dartx.state = Symbol("dartx.state"), - $fetches: dartx.fetches = Symbol("dartx.fetches"), - $request: dartx.request = Symbol("dartx.request"), - $fetch: dartx.fetch = Symbol("dartx.fetch"), - $getIds: dartx.getIds = Symbol("dartx.getIds"), - $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), - $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), - $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), - $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), - $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), - $response: dartx.response = Symbol("dartx.response"), - $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), - $visible: dartx.visible = Symbol("dartx.visible"), - $detect: dartx.detect = Symbol("dartx.detect"), - $charging: dartx.charging = Symbol("dartx.charging"), - $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), - $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), - $platforms: dartx.platforms = Symbol("dartx.platforms"), - $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), - $prompt: dartx.prompt = Symbol("dartx.prompt"), - $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), - $size: dartx.size = Symbol("dartx.size"), - $slice: dartx.slice = Symbol("dartx.slice"), - $data: dartx.data = Symbol("dartx.data"), - $timecode: dartx.timecode = Symbol("dartx.timecode"), - $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), - $uuid: dartx.uuid = Symbol("dartx.uuid"), - $readValue: dartx.readValue = Symbol("dartx.readValue"), - $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), - $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), - $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), - $blob: dartx.blob = Symbol("dartx.blob"), - $formData: dartx.formData = Symbol("dartx.formData"), - $json: dartx.json = Symbol("dartx.json"), - $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), - $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), - $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), - $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), - $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), - $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), - $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), - $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), - $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), - $time: dartx.time = Symbol("dartx.time"), - $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), - $form: dartx.form = Symbol("dartx.form"), - $formAction: dartx.formAction = Symbol("dartx.formAction"), - $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), - $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), - $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), - $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), - $labels: dartx.labels = Symbol("dartx.labels"), - $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), - $validity: dartx.validity = Symbol("dartx.validity"), - $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), - $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), - $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), - $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), - $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), - $splitText: dartx.splitText = Symbol("dartx.splitText"), - $appendData: dartx.appendData = Symbol("dartx.appendData"), - $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), - $insertData: dartx.insertData = Symbol("dartx.insertData"), - $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), - $substringData: dartx.substringData = Symbol("dartx.substringData"), - $has: dartx.has = Symbol("dartx.has"), - $match: dartx.match = Symbol("dartx.match"), - $methodData: dartx.methodData = Symbol("dartx.methodData"), - $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), - $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), - $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), - $canvas: dartx.canvas = Symbol("dartx.canvas"), - $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), - $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), - $enabled: dartx.enabled = Symbol("dartx.enabled"), - $kind: dartx.kind = Symbol("dartx.kind"), - $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), - _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), - $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), - _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), - $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), - _getSettings_1: dart.privateName(html$, "_getSettings_1"), - $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), - $onMute: dartx.onMute = Symbol("dartx.onMute"), - $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), - _getContext_1: dart.privateName(html$, "_getContext_1"), - _getContext_2: dart.privateName(html$, "_getContext_2"), - $getContext: dartx.getContext = Symbol("dartx.getContext"), - _toDataUrl: dart.privateName(html$, "_toDataUrl"), - $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), - $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), - $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), - $context2D: dartx.context2D = Symbol("dartx.context2D"), - $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), - $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), - _toBlob: dart.privateName(html$, "_toBlob"), - $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), - $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), - $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), - $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), - $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), - $filter: dartx.filter = Symbol("dartx.filter"), - $font: dartx.font = Symbol("dartx.font"), - $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), - $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), - $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), - $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), - $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), - $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), - $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), - $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), - $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), - $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), - $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), - $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), - $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), - $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), - $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), - _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), - _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), - $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), - $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), - $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), - $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), - $clip: dartx.clip = Symbol("dartx.clip"), - _createImageData_1: dart.privateName(html$, "_createImageData_1"), - _createImageData_2: dart.privateName(html$, "_createImageData_2"), - _createImageData_3: dart.privateName(html$, "_createImageData_3"), - _createImageData_4: dart.privateName(html$, "_createImageData_4"), - _createImageData_5: dart.privateName(html$, "_createImageData_5"), - $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), - $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), - $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), - $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), - $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), - $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), - _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), - $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), - _getImageData_1: dart.privateName(html$, "_getImageData_1"), - $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), - _getLineDash: dart.privateName(html$, "_getLineDash"), - $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), - $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), - $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), - $measureText: dartx.measureText = Symbol("dartx.measureText"), - _putImageData_1: dart.privateName(html$, "_putImageData_1"), - _putImageData_2: dart.privateName(html$, "_putImageData_2"), - $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), - $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), - $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), - $restore: dartx.restore = Symbol("dartx.restore"), - $rotate: dartx.rotate = Symbol("dartx.rotate"), - $save: dartx.save = Symbol("dartx.save"), - $scale: dartx.scale = Symbol("dartx.scale"), - $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), - $stroke: dartx.stroke = Symbol("dartx.stroke"), - $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), - $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), - $transform: dartx.transform = Symbol("dartx.transform"), - _arc: dart.privateName(html$, "_arc"), - $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), - $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), - $closePath: dartx.closePath = Symbol("dartx.closePath"), - $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), - $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), - $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), - $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), - $rect: dartx.rect = Symbol("dartx.rect"), - $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), - $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), - $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), - $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), - $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), - $arc: dartx.arc = Symbol("dartx.arc"), - $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), - $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), - $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), - $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), - $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), - $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), - $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), - $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), - $fillText: dartx.fillText = Symbol("dartx.fillText"), - $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), - $frameType: dartx.frameType = Symbol("dartx.frameType"), - $claim: dartx.claim = Symbol("dartx.claim"), - $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), - $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), - $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), - $code: dartx.code = Symbol("dartx.code"), - $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), - _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), - _initUIEvent: dart.privateName(html$, "_initUIEvent"), - $detail: dartx.detail = Symbol("dartx.detail"), - $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), - _get_view: dart.privateName(html$, "_get_view"), - $view: dartx.view = Symbol("dartx.view"), - _which: dart.privateName(html$, "_which"), - $select: dartx.select = Symbol("dartx.select"), - $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), - $set: dartx.set = Symbol("dartx.set"), - $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), - $altitude: dartx.altitude = Symbol("dartx.altitude"), - $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), - $heading: dartx.heading = Symbol("dartx.heading"), - $latitude: dartx.latitude = Symbol("dartx.latitude"), - $longitude: dartx.longitude = Symbol("dartx.longitude"), - $speed: dartx.speed = Symbol("dartx.speed"), - $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), - $create: dartx.create = Symbol("dartx.create"), - $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), - $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), - $store: dartx.store = Symbol("dartx.store"), - _getRandomValues: dart.privateName(html$, "_getRandomValues"), - $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), - $subtle: dartx.subtle = Symbol("dartx.subtle"), - $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), - $extractable: dartx.extractable = Symbol("dartx.extractable"), - $usages: dartx.usages = Symbol("dartx.usages"), - $encoding: dartx.encoding = Symbol("dartx.encoding"), - $cssText: dartx.cssText = Symbol("dartx.cssText"), - $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), - $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), - $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), - $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), - $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), - $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), - $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), - $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), - $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), - $media: dartx.media = Symbol("dartx.media"), - $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), - $keyText: dartx.keyText = Symbol("dartx.keyText"), - __getter__: dart.privateName(html$, "__getter__"), - $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), - $findRule: dartx.findRule = Symbol("dartx.findRule"), - $matrix: dartx.matrix = Symbol("dartx.matrix"), - $is2D: dartx.is2D = Symbol("dartx.is2D"), - $prefix: dartx.prefix = Symbol("dartx.prefix"), - $div: dartx.div = Symbol("dartx.div"), - $mul: dartx.mul = Symbol("dartx.mul"), - $sub: dartx.sub = Symbol("dartx.sub"), - $to: dartx.to = Symbol("dartx.to"), - $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), - $angle: dartx.angle = Symbol("dartx.angle"), - $ax: dartx.ax = Symbol("dartx.ax"), - $ay: dartx.ay = Symbol("dartx.ay"), - _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), - $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), - _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), - _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), - _supportsProperty: dart.privateName(html$, "_supportsProperty"), - $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), - _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), - $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), - _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), - $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), - $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), - $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), - _background: dart.privateName(html$, "_background"), - $background: dartx.background = Symbol("dartx.background"), - _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), - $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), - _backgroundColor: dart.privateName(html$, "_backgroundColor"), - $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), - _backgroundImage: dart.privateName(html$, "_backgroundImage"), - $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), - _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), - $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), - _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), - $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), - _border: dart.privateName(html$, "_border"), - $border: dartx.border = Symbol("dartx.border"), - _borderBottom: dart.privateName(html$, "_borderBottom"), - $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), - _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), - $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _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"), - _borderCollapse: dart.privateName(html$, "_borderCollapse"), - $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), - _borderColor: dart.privateName(html$, "_borderColor"), - $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), - _borderLeft: dart.privateName(html$, "_borderLeft"), - $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), - _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), - $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), - _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), - $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), - _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), - $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), - _borderRight: dart.privateName(html$, "_borderRight"), - $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), - _borderRightColor: dart.privateName(html$, "_borderRightColor"), - $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), - _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), - $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), - $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), - _borderSpacing: dart.privateName(html$, "_borderSpacing"), - $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), - _borderStyle: dart.privateName(html$, "_borderStyle"), - $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), - _borderTop: dart.privateName(html$, "_borderTop"), - $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), - _borderTopColor: dart.privateName(html$, "_borderTopColor"), - $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), - _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), - $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), - _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), - $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), - _borderWidth: dart.privateName(html$, "_borderWidth"), - $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), - _bottom: dart.privateName(html$, "_bottom"), - _captionSide: dart.privateName(html$, "_captionSide"), - $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), - _clear$3: dart.privateName(html$, "_clear"), - _clip: dart.privateName(html$, "_clip"), - _color: dart.privateName(html$, "_color"), - $color: dartx.color = Symbol("dartx.color"), - _content: dart.privateName(html$, "_content"), - $content: dartx.content = Symbol("dartx.content"), - _cursor: dart.privateName(html$, "_cursor"), - $cursor: dartx.cursor = Symbol("dartx.cursor"), - _direction: dart.privateName(html$, "_direction"), - _display: dart.privateName(html$, "_display"), - $display: dartx.display = Symbol("dartx.display"), - _emptyCells: dart.privateName(html$, "_emptyCells"), - $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), - _font: dart.privateName(html$, "_font"), - _fontFamily: dart.privateName(html$, "_fontFamily"), - $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), - _fontSize: dart.privateName(html$, "_fontSize"), - $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), - _fontStyle: dart.privateName(html$, "_fontStyle"), - $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), - _fontVariant: dart.privateName(html$, "_fontVariant"), - $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), - _fontWeight: dart.privateName(html$, "_fontWeight"), - $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), - _height$1: dart.privateName(html$, "_height"), - _left$2: dart.privateName(html$, "_left"), - _letterSpacing: dart.privateName(html$, "_letterSpacing"), - $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), - _lineHeight: dart.privateName(html$, "_lineHeight"), - $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), - _listStyle: dart.privateName(html$, "_listStyle"), - $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), - _listStyleImage: dart.privateName(html$, "_listStyleImage"), - $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), - _listStylePosition: dart.privateName(html$, "_listStylePosition"), - $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), - _listStyleType: dart.privateName(html$, "_listStyleType"), - $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), - _margin: dart.privateName(html$, "_margin"), - $margin: dartx.margin = Symbol("dartx.margin"), - _marginBottom: dart.privateName(html$, "_marginBottom"), - $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), - _marginLeft: dart.privateName(html$, "_marginLeft"), - $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), - _marginRight: dart.privateName(html$, "_marginRight"), - $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), - _marginTop: dart.privateName(html$, "_marginTop"), - $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), - _maxHeight: dart.privateName(html$, "_maxHeight"), - $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), - _maxWidth: dart.privateName(html$, "_maxWidth"), - $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), - _minHeight: dart.privateName(html$, "_minHeight"), - $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), - _minWidth: dart.privateName(html$, "_minWidth"), - $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), - _outline: dart.privateName(html$, "_outline"), - $outline: dartx.outline = Symbol("dartx.outline"), - _outlineColor: dart.privateName(html$, "_outlineColor"), - $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), - _outlineStyle: dart.privateName(html$, "_outlineStyle"), - $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), - _outlineWidth: dart.privateName(html$, "_outlineWidth"), - $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), - _overflow: dart.privateName(html$, "_overflow"), - $overflow: dartx.overflow = Symbol("dartx.overflow"), - _padding: dart.privateName(html$, "_padding"), - $padding: dartx.padding = Symbol("dartx.padding"), - _paddingBottom: dart.privateName(html$, "_paddingBottom"), - $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), - _paddingLeft: dart.privateName(html$, "_paddingLeft"), - $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), - _paddingRight: dart.privateName(html$, "_paddingRight"), - $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), - _paddingTop: dart.privateName(html$, "_paddingTop"), - $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), - _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), - $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), - _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), - $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), - _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), - $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), - _position$2: dart.privateName(html$, "_position"), - $position: dartx.position = Symbol("dartx.position"), - _quotes: dart.privateName(html$, "_quotes"), - $quotes: dartx.quotes = Symbol("dartx.quotes"), - _right$2: dart.privateName(html$, "_right"), - _tableLayout: dart.privateName(html$, "_tableLayout"), - $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), - _textAlign: dart.privateName(html$, "_textAlign"), - _textDecoration: dart.privateName(html$, "_textDecoration"), - $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), - _textIndent: dart.privateName(html$, "_textIndent"), - $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), - _textTransform: dart.privateName(html$, "_textTransform"), - $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), - _top: dart.privateName(html$, "_top"), - _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), - $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), - _verticalAlign: dart.privateName(html$, "_verticalAlign"), - $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), - _visibility: dart.privateName(html$, "_visibility"), - $visibility: dartx.visibility = Symbol("dartx.visibility"), - _whiteSpace: dart.privateName(html$, "_whiteSpace"), - $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), - _width$1: dart.privateName(html$, "_width"), - _wordSpacing: dart.privateName(html$, "_wordSpacing"), - $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), - _zIndex: dart.privateName(html$, "_zIndex"), - $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), - $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), - $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), - $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), - $animation: dartx.animation = Symbol("dartx.animation"), - $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), - $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), - $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), - $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), - $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), - $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), - $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), - $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), - $appearance: dartx.appearance = Symbol("dartx.appearance"), - $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), - $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), - $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), - $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), - $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), - $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), - $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), - $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), - $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), - $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), - $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), - $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), - $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), - $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), - $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), - $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), - $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), - $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), - $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), - $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), - $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), - $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), - $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), - $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), - $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), - $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), - $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), - $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), - $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), - $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), - $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), - $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), - $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), - $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), - $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), - $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), - $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), - $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), - $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), - $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), - $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), - $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), - $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), - $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), - $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), - $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), - $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), - $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), - $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), - $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), - $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), - $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), - $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), - $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), - $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), - $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), - $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), - $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), - $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), - $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), - $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), - $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), - $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), - $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), - $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), - $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), - $columns: dartx.columns = Symbol("dartx.columns"), - $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), - $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), - $flex: dartx.flex = Symbol("dartx.flex"), - $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), - $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), - $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), - $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), - $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), - $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), - $float: dartx.float = Symbol("dartx.float"), - $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), - $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), - $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), - $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"), - $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), - $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), - $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), - $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), - $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), - $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), - $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), - $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), - $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), - $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), - $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), - $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), - $highlight: dartx.highlight = Symbol("dartx.highlight"), - $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), - $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), - $isolation: dartx.isolation = Symbol("dartx.isolation"), - $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), - $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), - $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), - $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), - $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), - $locale: dartx.locale = Symbol("dartx.locale"), - $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), - $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), - $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), - $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), - $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), - $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), - $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), - $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), - $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), - $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), - $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), - $mask: dartx.mask = Symbol("dartx.mask"), - $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), - $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), - $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), - $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), - $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), - $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), - $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), - $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), - $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), - $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), - $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), - $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), - $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), - $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), - $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), - $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), - $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), - $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), - $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), - $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), - $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), - $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), - $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), - $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), - $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), - $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), - $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), - $opacity: dartx.opacity = Symbol("dartx.opacity"), - $order: dartx.order = Symbol("dartx.order"), - $orphans: dartx.orphans = Symbol("dartx.orphans"), - $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), - $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), - $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), - $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), - $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), - $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), - $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), - $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), - $page: dartx.page = Symbol("dartx.page"), - $perspective: dartx.perspective = Symbol("dartx.perspective"), - $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), - $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), - $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), - $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"), - $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), - $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), - $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), - $speak: dartx.speak = Symbol("dartx.speak"), - $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), - $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), - $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), - $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), - $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), - $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), - $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), - $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), - $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), - $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), - $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), - $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), - $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), - $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), - $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), - $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), - $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), - $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), - $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), - $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), - $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), - $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), - $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), - $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), - $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), - $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), - $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), - $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), - $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), - $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), - $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), - $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), - $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), - $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), - $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), - $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), - $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), - $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), - $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), - $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), - $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), - $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), - $transition: dartx.transition = Symbol("dartx.transition"), - $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), - $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), - $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), - $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), - $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), - $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), - $userModify: dartx.userModify = Symbol("dartx.userModify"), - $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), - $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), - $widows: dartx.widows = Symbol("dartx.widows"), - $willChange: dartx.willChange = Symbol("dartx.willChange"), - $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), - $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), - $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), - $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), - $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), - $zoom: dartx.zoom = Symbol("dartx.zoom"), - _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"), - $addRule: dartx.addRule = Symbol("dartx.addRule"), - $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), - $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), - $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), - $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), - $unit: dartx.unit = Symbol("dartx.unit"), - $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), - $fallback: dartx.fallback = Symbol("dartx.fallback"), - $variable: dartx.variable = Symbol("dartx.variable"), - _define_1: dart.privateName(html$, "_define_1"), - _define_2: dart.privateName(html$, "_define_2"), - $define: dartx.define = Symbol("dartx.define"), - $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), - _dartDetail: dart.privateName(html$, "_dartDetail"), - _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), - _detail: dart.privateName(html$, "_detail"), - _get__detail: dart.privateName(html$, "_get__detail"), - $options: dartx.options = Symbol("dartx.options"), - $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), - $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), - $files: dartx.files = Symbol("dartx.files"), - $items: dartx.items = Symbol("dartx.items"), - $types: dartx.types = Symbol("dartx.types"), - $clearData: dartx.clearData = Symbol("dartx.clearData"), - $getData: dartx.getData = Symbol("dartx.getData"), - $setData: dartx.setData = Symbol("dartx.setData"), - $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), - _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), - $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), - $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), - $addData: dartx.addData = Symbol("dartx.addData"), - $addFile: dartx.addFile = Symbol("dartx.addFile"), - _postMessage_1: dart.privateName(html$, "_postMessage_1"), - _postMessage_2: dart.privateName(html$, "_postMessage_2"), - _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), - $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), - $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), - _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), - $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), - $caches: dartx.caches = Symbol("dartx.caches"), - $crypto: dartx.crypto = Symbol("dartx.crypto"), - $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), - $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), - $location: dartx.location = Symbol("dartx.location"), - $navigator: dartx.navigator = Symbol("dartx.navigator"), - $performance: dartx.performance = Symbol("dartx.performance"), - $self: dartx.self = Symbol("dartx.self"), - $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), - $atob: dartx.atob = Symbol("dartx.atob"), - $btoa: dartx.btoa = Symbol("dartx.btoa"), - _setInterval_String: dart.privateName(html$, "_setInterval_String"), - _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), - _clearInterval: dart.privateName(html$, "_clearInterval"), - _clearTimeout: dart.privateName(html$, "_clearTimeout"), - _setInterval: dart.privateName(html$, "_setInterval"), - _setTimeout: dart.privateName(html$, "_setTimeout"), - $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), - $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), - $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), - $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), - $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), - $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), - $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), - $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), - $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), - $interval: dartx.interval = Symbol("dartx.interval"), - $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), - $absolute: dartx.absolute = Symbol("dartx.absolute"), - $alpha: dartx.alpha = Symbol("dartx.alpha"), - $beta: dartx.beta = Symbol("dartx.beta"), - $gamma: dartx.gamma = Symbol("dartx.gamma"), - $show: dartx.show = Symbol("dartx.show"), - $showModal: dartx.showModal = Symbol("dartx.showModal"), - _getDirectory: dart.privateName(html$, "_getDirectory"), - $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), - _createReader: dart.privateName(html$, "_createReader"), - $createReader: dartx.createReader = Symbol("dartx.createReader"), - $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), - _getFile: dart.privateName(html$, "_getFile"), - $createFile: dartx.createFile = Symbol("dartx.createFile"), - $getFile: dartx.getFile = Symbol("dartx.getFile"), - __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), - __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), - __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), - __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), - __getDirectory: dart.privateName(html$, "__getDirectory"), - __getFile_1: dart.privateName(html$, "__getFile_1"), - __getFile_2: dart.privateName(html$, "__getFile_2"), - __getFile_3: dart.privateName(html$, "__getFile_3"), - __getFile_4: dart.privateName(html$, "__getFile_4"), - __getFile: dart.privateName(html$, "__getFile"), - _removeRecursively: dart.privateName(html$, "_removeRecursively"), - $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), - $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), - $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), - $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $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"), - $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), - _getParent: dart.privateName(html$, "_getParent"), - $getParent: dartx.getParent = Symbol("dartx.getParent"), - _moveTo: dart.privateName(html$, "_moveTo"), - _remove$1: dart.privateName(html$, "_remove"), - $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), - _readEntries: dart.privateName(html$, "_readEntries"), - $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), - _body: dart.privateName(html$, "_body"), - $contentType: dartx.contentType = Symbol("dartx.contentType"), - $cookie: dartx.cookie = Symbol("dartx.cookie"), - $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), - _get_window: dart.privateName(html$, "_get_window"), - $window: dartx.window = Symbol("dartx.window"), - $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), - $domain: dartx.domain = Symbol("dartx.domain"), - $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), - _head$1: dart.privateName(html$, "_head"), - $implementation: dartx.implementation = Symbol("dartx.implementation"), - _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), - _referrer: dart.privateName(html$, "_referrer"), - $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), - $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), - $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), - _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), - $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), - _title: dart.privateName(html$, "_title"), - _visibilityState: dart.privateName(html$, "_visibilityState"), - _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), - _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), - _webkitHidden: dart.privateName(html$, "_webkitHidden"), - _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), - $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), - _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), - $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), - _createElement: dart.privateName(html$, "_createElement"), - _createElementNS: dart.privateName(html$, "_createElementNS"), - $createRange: dartx.createRange = Symbol("dartx.createRange"), - _createTextNode: dart.privateName(html$, "_createTextNode"), - _createTouch_1: dart.privateName(html$, "_createTouch_1"), - _createTouch_2: dart.privateName(html$, "_createTouch_2"), - _createTouch_3: dart.privateName(html$, "_createTouch_3"), - _createTouch_4: dart.privateName(html$, "_createTouch_4"), - _createTouch_5: dart.privateName(html$, "_createTouch_5"), - _createTouch: dart.privateName(html$, "_createTouch"), - _createTouchList: dart.privateName(html$, "_createTouchList"), - $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), - $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), - $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), - $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), - $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), - $importNode: dartx.importNode = Symbol("dartx.importNode"), - $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), - $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), - $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), - $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), - $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), - _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), - _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), - $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), - _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), - $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), - $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), - _styleSheets: dart.privateName(html$, "_styleSheets"), - _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"), - $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), - $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), - $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), - $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), - $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), - _createElement_2: dart.privateName(html$, "_createElement_2"), - _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), - $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), - _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), - _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), - $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), - _docChildren: dart.privateName(html$, "_docChildren"), - $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), - $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), - $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), - $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), - $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), - $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), - $a: dartx.a = Symbol("dartx.a"), - $b: dartx.b = Symbol("dartx.b"), - $c: dartx.c = Symbol("dartx.c"), - $d: dartx.d = Symbol("dartx.d"), - $e: dartx.e = Symbol("dartx.e"), - $f: dartx.f = Symbol("dartx.f"), - $m11: dartx.m11 = Symbol("dartx.m11"), - $m12: dartx.m12 = Symbol("dartx.m12"), - $m13: dartx.m13 = Symbol("dartx.m13"), - $m14: dartx.m14 = Symbol("dartx.m14"), - $m21: dartx.m21 = Symbol("dartx.m21"), - $m22: dartx.m22 = Symbol("dartx.m22"), - $m23: dartx.m23 = Symbol("dartx.m23"), - $m24: dartx.m24 = Symbol("dartx.m24"), - $m31: dartx.m31 = Symbol("dartx.m31"), - $m32: dartx.m32 = Symbol("dartx.m32"), - $m33: dartx.m33 = Symbol("dartx.m33"), - $m34: dartx.m34 = Symbol("dartx.m34"), - $m41: dartx.m41 = Symbol("dartx.m41"), - $m42: dartx.m42 = Symbol("dartx.m42"), - $m43: dartx.m43 = Symbol("dartx.m43"), - $m44: dartx.m44 = Symbol("dartx.m44"), - $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), - _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), - _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), - $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), - _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), - _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), - $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), - $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), - $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), - $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), - $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), - $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), - $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), - $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), - $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), - $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), - $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), - $flipX: dartx.flipX = Symbol("dartx.flipX"), - $flipY: dartx.flipY = Symbol("dartx.flipY"), - $inverse: dartx.inverse = Symbol("dartx.inverse"), - _multiply_1: dart.privateName(html$, "_multiply_1"), - _multiply_2: dart.privateName(html$, "_multiply_2"), - $multiply: dartx.multiply = Symbol("dartx.multiply"), - $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), - $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), - $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), - $skewX: dartx.skewX = Symbol("dartx.skewX"), - $skewY: dartx.skewY = Symbol("dartx.skewY"), - $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), - $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), - _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), - _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), - $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), - $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), - $w: dartx.w = Symbol("dartx.w"), - _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), - _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), - $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), - $p1: dartx.p1 = Symbol("dartx.p1"), - $p2: dartx.p2 = Symbol("dartx.p2"), - $p3: dartx.p3 = Symbol("dartx.p3"), - $p4: dartx.p4 = Symbol("dartx.p4"), - $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), - __delete__: dart.privateName(html$, "__delete__"), - $replace: dartx.replace = Symbol("dartx.replace"), - $supports: dartx.supports = Symbol("dartx.supports"), - $toggle: dartx.toggle = Symbol("dartx.toggle"), - _childElements: dart.privateName(html$, "_childElements"), - _element: dart.privateName(html$, "_element"), - _filter$2: dart.privateName(html$, "_filter"), - _nodeList: dart.privateName(html$, "_nodeList"), - _forElementList: dart.privateName(html$, "_forElementList"), - _value$6: dart.privateName(html$, "ScrollAlignment._value"), - _value$7: dart.privateName(html$, "_value"), - $colno: dartx.colno = Symbol("dartx.colno"), - $filename: dartx.filename = Symbol("dartx.filename"), - $lineno: dartx.lineno = Symbol("dartx.lineno"), - $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), - $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), - _ptr: dart.privateName(html$, "_ptr"), - $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), - $ports: dartx.ports = Symbol("dartx.ports"), - $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), - $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), - $provider: dartx.provider = Symbol("dartx.provider"), - $clientId: dartx.clientId = Symbol("dartx.clientId"), - $isReload: dartx.isReload = Symbol("dartx.isReload"), - $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), - $elements: dartx.elements = Symbol("dartx.elements"), - $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), - _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), - $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), - $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), - _createWriter: dart.privateName(html$, "_createWriter"), - $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), - _file$1: dart.privateName(html$, "_file"), - $file: dartx.file = Symbol("dartx.file"), - $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), - $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), - $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), - $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), - $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), - $root: dartx.root = Symbol("dartx.root"), - $seek: dartx.seek = Symbol("dartx.seek"), - $write: dartx.write = Symbol("dartx.write"), - $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), - $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), - $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), - _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), - $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), - $family: dartx.family = Symbol("dartx.family"), - $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), - $loaded: dartx.loaded = Symbol("dartx.loaded"), - $stretch: dartx.stretch = Symbol("dartx.stretch"), - $variant: dartx.variant = Symbol("dartx.variant"), - $weight: dartx.weight = Symbol("dartx.weight"), - $check: dartx.check = Symbol("dartx.check"), - $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), - $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), - $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), - $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), - $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), - $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), - $action: dartx.action = Symbol("dartx.action"), - $enctype: dartx.enctype = Symbol("dartx.enctype"), - $method: dartx.method = Symbol("dartx.method"), - $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), - _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), - $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), - $reset: dartx.reset = Symbol("dartx.reset"), - $submit: dartx.submit = Symbol("dartx.submit"), - $axes: dartx.axes = Symbol("dartx.axes"), - $buttons: dartx.buttons = Symbol("dartx.buttons"), - $connected: dartx.connected = Symbol("dartx.connected"), - $displayId: dartx.displayId = Symbol("dartx.displayId"), - $hand: dartx.hand = Symbol("dartx.hand"), - $mapping: dartx.mapping = Symbol("dartx.mapping"), - $pose: dartx.pose = Symbol("dartx.pose"), - $touched: dartx.touched = Symbol("dartx.touched"), - $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), - $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), - $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), - $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), - $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), - $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), - $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), - _ensurePosition: dart.privateName(html$, "_ensurePosition"), - _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), - $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), - _clearWatch: dart.privateName(html$, "_clearWatch"), - _watchPosition: dart.privateName(html$, "_watchPosition"), - $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), - _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), - _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), - _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), - _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), - _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), - _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), - $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), - $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), - $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), - _get_state: dart.privateName(html$, "_get_state"), - $back: dartx.back = Symbol("dartx.back"), - $forward: dartx.forward = Symbol("dartx.forward"), - $go: dartx.go = Symbol("dartx.go"), - _pushState_1: dart.privateName(html$, "_pushState_1"), - $pushState: dartx.pushState = Symbol("dartx.pushState"), - _replaceState_1: dart.privateName(html$, "_replaceState_1"), - $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), - $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), - $body: dartx.body = Symbol("dartx.body"), - $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), - $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), - $referrer: dartx.referrer = Symbol("dartx.referrer"), - $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), - $register: dartx.register = Symbol("dartx.register"), - $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), - $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), - _item: dart.privateName(html$, "_item"), - $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), - _get_response: dart.privateName(html$, "_get_response"), - $responseText: dartx.responseText = Symbol("dartx.responseText"), - $responseType: dartx.responseType = Symbol("dartx.responseType"), - $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), - $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), - $statusText: dartx.statusText = Symbol("dartx.statusText"), - $timeout: dartx.timeout = Symbol("dartx.timeout"), - $upload: dartx.upload = Symbol("dartx.upload"), - $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), - $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), - $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), - $send: dartx.send = Symbol("dartx.send"), - $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), - $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), - $allow: dartx.allow = Symbol("dartx.allow"), - $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), - $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), - _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), - $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), - $csp: dartx.csp = Symbol("dartx.csp"), - $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), - $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), - $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), - $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), - $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), - $track: dartx.track = Symbol("dartx.track"), - $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), - $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), - $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), - $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), - $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), - $async: dartx.async = Symbol("dartx.async"), - $complete: dartx.complete = Symbol("dartx.complete"), - $isMap: dartx.isMap = Symbol("dartx.isMap"), - $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), - $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), - $sizes: dartx.sizes = Symbol("dartx.sizes"), - $srcset: dartx.srcset = Symbol("dartx.srcset"), - $useMap: dartx.useMap = Symbol("dartx.useMap"), - $decode: dartx.decode = Symbol("dartx.decode"), - $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), - $accept: dartx.accept = Symbol("dartx.accept"), - $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), - $capture: dartx.capture = Symbol("dartx.capture"), - $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), - $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), - $dirName: dartx.dirName = Symbol("dartx.dirName"), - $incremental: dartx.incremental = Symbol("dartx.incremental"), - $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), - $list: dartx.list = Symbol("dartx.list"), - $max: dartx.max = Symbol("dartx.max"), - $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), - $min: dartx.min = Symbol("dartx.min"), - $minLength: dartx.minLength = Symbol("dartx.minLength"), - $multiple: dartx.multiple = Symbol("dartx.multiple"), - $pattern: dartx.pattern = Symbol("dartx.pattern"), - $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), - $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), - $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), - $step: dartx.step = Symbol("dartx.step"), - _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), - $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), - _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), - $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), - $directory: dartx.directory = Symbol("dartx.directory"), - $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), - $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), - $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), - $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), - files: dart.privateName(html$, "FileUploadInputElement.files"), - _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), - $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), - $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), - $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), - $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), - $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), - $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), - $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), - $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), - $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), - $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), - _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), - $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), - $charCode: dartx.charCode = Symbol("dartx.charCode"), - $which: dartx.which = Symbol("dartx.which"), - $altKey: dartx.altKey = Symbol("dartx.altKey"), - _charCode: dart.privateName(html$, "_charCode"), - $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), - $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), - _keyCode: dart.privateName(html$, "_keyCode"), - $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), - $repeat: dartx.repeat = Symbol("dartx.repeat"), - $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), - $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), - $control: dartx.control = Symbol("dartx.control"), - $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), - $as: dartx.as = Symbol("dartx.as"), - $import: dartx.import = Symbol("dartx.import"), - $integrity: dartx.integrity = Symbol("dartx.integrity"), - $relList: dartx.relList = Symbol("dartx.relList"), - $scope: dartx.scope = Symbol("dartx.scope"), - $sheet: dartx.sheet = Symbol("dartx.sheet"), - $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), - $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), - $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), - $assign: dartx.assign = Symbol("dartx.assign"), - $reload: dartx.reload = Symbol("dartx.reload"), - $areas: dartx.areas = Symbol("dartx.areas"), - $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), - $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), - $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), - $smooth: dartx.smooth = Symbol("dartx.smooth"), - $supported: dartx.supported = Symbol("dartx.supported"), - $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), - $groupId: dartx.groupId = Symbol("dartx.groupId"), - $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), - _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), - $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), - $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), - $initData: dartx.initData = Symbol("dartx.initData"), - $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), - $messageType: dartx.messageType = Symbol("dartx.messageType"), - $closed: dartx.closed = Symbol("dartx.closed"), - $expiration: dartx.expiration = Symbol("dartx.expiration"), - $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), - $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), - $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), - _update$1: dart.privateName(html$, "_update"), - $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), - $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), - _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), - $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), - _createSession: dart.privateName(html$, "_createSession"), - $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), - $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), - $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), - $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), - $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), - $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), - $album: dartx.album = Symbol("dartx.album"), - $artist: dartx.artist = Symbol("dartx.artist"), - $artwork: dartx.artwork = Symbol("dartx.artwork"), - $addListener: dartx.addListener = Symbol("dartx.addListener"), - $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), - $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), - $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), - $stream: dartx.stream = Symbol("dartx.stream"), - $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), - $requestData: dartx.requestData = Symbol("dartx.requestData"), - $resume: dartx.resume = Symbol("dartx.resume"), - $metadata: dartx.metadata = Symbol("dartx.metadata"), - $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), - $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), - $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), - $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), - $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), - $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), - $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), - $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), - $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), - $active: dartx.active = Symbol("dartx.active"), - $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), - $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), - $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), - $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), - $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), - $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), - $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), - $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), - $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), - $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), - $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), - $port1: dartx.port1 = Symbol("dartx.port1"), - $port2: dartx.port2 = Symbol("dartx.port2"), - _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), - _get_data: dart.privateName(html$, "_get_data"), - _get_source: dart.privateName(html$, "_get_source"), - _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _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"), - $high: dartx.high = Symbol("dartx.high"), - $low: dartx.low = Symbol("dartx.low"), - $optimum: dartx.optimum = Symbol("dartx.optimum"), - $inputs: dartx.inputs = Symbol("dartx.inputs"), - $outputs: dartx.outputs = Symbol("dartx.outputs"), - $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), - $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), - $connection: dartx.connection = Symbol("dartx.connection"), - $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), - _getItem: dart.privateName(html$, "_getItem"), - $description: dartx.description = Symbol("dartx.description"), - $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), - $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), - $cite: dartx.cite = Symbol("dartx.cite"), - $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), - _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), - $button: dartx.button = Symbol("dartx.button"), - _clientX: dart.privateName(html$, "_clientX"), - _clientY: dart.privateName(html$, "_clientY"), - $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), - _layerX: dart.privateName(html$, "_layerX"), - _layerY: dart.privateName(html$, "_layerY"), - _movementX: dart.privateName(html$, "_movementX"), - _movementY: dart.privateName(html$, "_movementY"), - _pageX: dart.privateName(html$, "_pageX"), - _pageY: dart.privateName(html$, "_pageY"), - $region: dartx.region = Symbol("dartx.region"), - _screenX: dart.privateName(html$, "_screenX"), - _screenY: dart.privateName(html$, "_screenY"), - $toElement: dartx.toElement = Symbol("dartx.toElement"), - _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), - $movement: dartx.movement = Symbol("dartx.movement"), - $screen: dartx.screen = Symbol("dartx.screen"), - $layer: dartx.layer = Symbol("dartx.layer"), - $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), - $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), - $attrName: dartx.attrName = Symbol("dartx.attrName"), - $newValue: dartx.newValue = Symbol("dartx.newValue"), - $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") -}; -var S$2 = { - _observe_2: dart.privateName(html$, "_observe_2"), - _observe: dart.privateName(html$, "_observe"), - _call: dart.privateName(html$, "_call"), - $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), - $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), - $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), - $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), - $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), - $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), - $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), - $disable: dartx.disable = Symbol("dartx.disable"), - $enable: dartx.enable = Symbol("dartx.enable"), - $getState: dartx.getState = Symbol("dartx.getState"), - _getGamepads: dart.privateName(html$, "_getGamepads"), - $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), - $language: dartx.language = Symbol("dartx.language"), - _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), - _getUserMedia: dart.privateName(html$, "_getUserMedia"), - $budget: dartx.budget = Symbol("dartx.budget"), - $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), - $credentials: dartx.credentials = Symbol("dartx.credentials"), - $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), - $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), - $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), - $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), - $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), - $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), - $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), - $nfc: dartx.nfc = Symbol("dartx.nfc"), - $permissions: dartx.permissions = Symbol("dartx.permissions"), - $presentation: dartx.presentation = Symbol("dartx.presentation"), - $productSub: dartx.productSub = Symbol("dartx.productSub"), - $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), - $storage: dartx.storage = Symbol("dartx.storage"), - $vendor: dartx.vendor = Symbol("dartx.vendor"), - $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), - $vr: dartx.vr = Symbol("dartx.vr"), - $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), - $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), - $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), - $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), - $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), - $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), - $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), - _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), - _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), - $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), - $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), - $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), - $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), - $share: dartx.share = Symbol("dartx.share"), - $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), - $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), - $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), - $appName: dartx.appName = Symbol("dartx.appName"), - $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), - $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), - $platform: dartx.platform = Symbol("dartx.platform"), - $product: dartx.product = Symbol("dartx.product"), - $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), - $languages: dartx.languages = Symbol("dartx.languages"), - $onLine: dartx.onLine = Symbol("dartx.onLine"), - $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), - $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), - $downlink: dartx.downlink = Symbol("dartx.downlink"), - $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), - $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), - $rtt: dartx.rtt = Symbol("dartx.rtt"), - $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), - $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), - $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), - $detach: dartx.detach = Symbol("dartx.detach"), - $actions: dartx.actions = Symbol("dartx.actions"), - $badge: dartx.badge = Symbol("dartx.badge"), - $icon: dartx.icon = Symbol("dartx.icon"), - $image: dartx.image = Symbol("dartx.image"), - $renotify: dartx.renotify = Symbol("dartx.renotify"), - $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), - $silent: dartx.silent = Symbol("dartx.silent"), - $tag: dartx.tag = Symbol("dartx.tag"), - $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), - $onShow: dartx.onShow = Symbol("dartx.onShow"), - $notification: dartx.notification = Symbol("dartx.notification"), - $reply: dartx.reply = Symbol("dartx.reply"), - $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), - $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), - $commit: dartx.commit = Symbol("dartx.commit"), - $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), - $constraint: dartx.constraint = Symbol("dartx.constraint"), - $persisted: dartx.persisted = Symbol("dartx.persisted"), - $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), - $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), - $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), - $idName: dartx.idName = Symbol("dartx.idName"), - $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), - $addPath: dartx.addPath = Symbol("dartx.addPath"), - $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), - $city: dartx.city = Symbol("dartx.city"), - $country: dartx.country = Symbol("dartx.country"), - $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), - $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), - $organization: dartx.organization = Symbol("dartx.organization"), - $phone: dartx.phone = Symbol("dartx.phone"), - $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), - $recipient: dartx.recipient = Symbol("dartx.recipient"), - $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), - $instruments: dartx.instruments = Symbol("dartx.instruments"), - $userHint: dartx.userHint = Symbol("dartx.userHint"), - $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), - $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), - $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), - $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), - $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), - $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), - $total: dartx.total = Symbol("dartx.total"), - $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), - $methodName: dartx.methodName = Symbol("dartx.methodName"), - $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), - $payerName: dartx.payerName = Symbol("dartx.payerName"), - $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), - $requestId: dartx.requestId = Symbol("dartx.requestId"), - $memory: dartx.memory = Symbol("dartx.memory"), - $navigation: dartx.navigation = Symbol("dartx.navigation"), - $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), - $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), - $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), - $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), - $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"), - $entryType: dartx.entryType = Symbol("dartx.entryType"), - $attribution: dartx.attribution = Symbol("dartx.attribution"), - $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), - $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), - $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), - $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), - $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), - $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), - $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), - $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), - $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), - $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), - $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), - $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), - $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), - $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), - $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), - $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), - $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), - $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), - $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), - $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), - $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), - $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), - $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), - $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), - $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), - $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), - $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), - $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), - $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), - $query: dartx.query = Symbol("dartx.query"), - $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), - $revoke: dartx.revoke = Symbol("dartx.revoke"), - $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), - $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), - $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), - $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), - $refresh: dartx.refresh = Symbol("dartx.refresh"), - $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), - $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), - $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), - $pressure: dartx.pressure = Symbol("dartx.pressure"), - $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), - $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), - $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), - $twist: dartx.twist = Symbol("dartx.twist"), - $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), - $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), - $receiver: dartx.receiver = Symbol("dartx.receiver"), - $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), - $terminate: dartx.terminate = Symbol("dartx.terminate"), - $connections: dartx.connections = Symbol("dartx.connections"), - $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), - $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), - $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), - $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), - $promise: dartx.promise = Symbol("dartx.promise"), - $rawId: dartx.rawId = Symbol("dartx.rawId"), - $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), - $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), - $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), - $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), - $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), - $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), - $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), - $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), - $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), - $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), - $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), - $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), - $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), - $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), - $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), - $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), - $collapse: dartx.collapse = Symbol("dartx.collapse"), - $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), - $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), - $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), - $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), - $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), - $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), - $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), - $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), - $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), - $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), - $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), - $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), - $setStart: dartx.setStart = Symbol("dartx.setStart"), - $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), - $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), - $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), - $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), - $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), - $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), - $expires: dartx.expires = Symbol("dartx.expires"), - $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), - $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), - $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), - $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), - $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), - $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), - $ordered: dartx.ordered = Symbol("dartx.ordered"), - $reliable: dartx.reliable = Symbol("dartx.reliable"), - $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), - $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), - $sendString: dartx.sendString = Symbol("dartx.sendString"), - $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), - $channel: dartx.channel = Symbol("dartx.channel"), - $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), - $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), - $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), - $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), - $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), - $tone: dartx.tone = Symbol("dartx.tone"), - $candidate: dartx.candidate = Symbol("dartx.candidate"), - $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), - $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), - _get_timestamp: dart.privateName(html$, "_get_timestamp"), - $names: dartx.names = Symbol("dartx.names"), - $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"), - $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), - $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), - $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), - _addStream_1: dart.privateName(html$, "_addStream_1"), - _addStream_2: dart.privateName(html$, "_addStream_2"), - $addStream: dartx.addStream = Symbol("dartx.addStream"), - $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), - $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), - _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), - _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), - $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), - $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), - $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), - $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), - $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), - $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), - $getStats: dartx.getStats = Symbol("dartx.getStats"), - $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), - _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), - $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), - $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"), - $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), - $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), - $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), - $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), - $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), - $sdp: dartx.sdp = Symbol("dartx.sdp"), - $streams: dartx.streams = Symbol("dartx.streams"), - _availLeft: dart.privateName(html$, "_availLeft"), - _availTop: dart.privateName(html$, "_availTop"), - _availWidth: dart.privateName(html$, "_availWidth"), - _availHeight: dart.privateName(html$, "_availHeight"), - $available: dartx.available = Symbol("dartx.available"), - $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), - $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), - $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), - $lock: dartx.lock = Symbol("dartx.lock"), - $unlock: dartx.unlock = Symbol("dartx.unlock"), - $charset: dartx.charset = Symbol("dartx.charset"), - $defer: dartx.defer = Symbol("dartx.defer"), - $noModule: dartx.noModule = Symbol("dartx.noModule"), - $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), - $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), - $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), - $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), - $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), - $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), - $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), - $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), - $positionX: dartx.positionX = Symbol("dartx.positionX"), - $positionY: dartx.positionY = Symbol("dartx.positionY"), - $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), - $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), - $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), - $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), - $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), - $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), - $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), - $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), - $disposition: dartx.disposition = Symbol("dartx.disposition"), - $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), - $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), - $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), - $sample: dartx.sample = Symbol("dartx.sample"), - $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), - $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), - $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), - $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), - $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), - $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), - $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), - $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), - $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), - $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), - $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), - $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), - $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), - $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), - $addRange: dartx.addRange = Symbol("dartx.addRange"), - $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), - $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), - $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), - $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), - $empty: dartx.empty = Symbol("dartx.empty"), - $extend: dartx.extend = Symbol("dartx.extend"), - $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), - $modify: dartx.modify = Symbol("dartx.modify"), - $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), - $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), - $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), - $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), - $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), - $controller: dartx.controller = Symbol("dartx.controller"), - $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), - $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), - $clients: dartx.clients = Symbol("dartx.clients"), - $registration: dartx.registration = Symbol("dartx.registration"), - $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), - $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), - $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), - $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), - $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), - $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), - $installing: dartx.installing = Symbol("dartx.installing"), - $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), - $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), - $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), - $sync: dartx.sync = Symbol("dartx.sync"), - $waiting: dartx.waiting = Symbol("dartx.waiting"), - $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), - $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), - $unregister: dartx.unregister = Symbol("dartx.unregister"), - $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), - $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), - $console: dartx.console = Symbol("dartx.console"), - $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), - $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), - $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), - $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), - _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), - _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), - $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), - $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), - $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), - $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), - $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), - $updating: dartx.updating = Symbol("dartx.updating"), - $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), - $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), - $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), - $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), - $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), - $continuous: dartx.continuous = Symbol("dartx.continuous"), - $grammars: dartx.grammars = Symbol("dartx.grammars"), - $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), - $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), - $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), - $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), - $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), - $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), - $onResult: dartx.onResult = Symbol("dartx.onResult"), - $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), - $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), - $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), - $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), - $onStart: dartx.onStart = Symbol("dartx.onStart"), - $confidence: dartx.confidence = Symbol("dartx.confidence"), - $transcript: dartx.transcript = Symbol("dartx.transcript"), - $emma: dartx.emma = Symbol("dartx.emma"), - $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), - $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), - $results: dartx.results = Symbol("dartx.results"), - $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), - _getVoices: dart.privateName(html$, "_getVoices"), - $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), - $pending: dartx.pending = Symbol("dartx.pending"), - $speaking: dartx.speaking = Symbol("dartx.speaking"), - $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), - $utterance: dartx.utterance = Symbol("dartx.utterance"), - $pitch: dartx.pitch = Symbol("dartx.pitch"), - $rate: dartx.rate = Symbol("dartx.rate"), - $voice: dartx.voice = Symbol("dartx.voice"), - $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), - $onMark: dartx.onMark = Symbol("dartx.onMark"), - $onResume: dartx.onResume = Symbol("dartx.onResume"), - $localService: dartx.localService = Symbol("dartx.localService"), - $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), - _setItem: dart.privateName(html$, "_setItem"), - _removeItem: dart.privateName(html$, "_removeItem"), - _key: dart.privateName(html$, "_key"), - _length$3: dart.privateName(html$, "_length"), - _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), - $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), - $estimate: dartx.estimate = Symbol("dartx.estimate"), - $persist: dartx.persist = Symbol("dartx.persist"), - $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), - $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), - $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), - $getTags: dartx.getTags = Symbol("dartx.getTags"), - $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), - $headers: dartx.headers = Symbol("dartx.headers"), - $span: dartx.span = Symbol("dartx.span"), - _tBodies: dart.privateName(html$, "_tBodies"), - $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), - _rows: dart.privateName(html$, "_rows"), - $rows: dartx.rows = Symbol("dartx.rows"), - $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), - $addRow: dartx.addRow = Symbol("dartx.addRow"), - _createCaption: dart.privateName(html$, "_createCaption"), - $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), - _createTBody: dart.privateName(html$, "_createTBody"), - $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), - _createTFoot: dart.privateName(html$, "_createTFoot"), - $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), - _createTHead: dart.privateName(html$, "_createTHead"), - $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), - _insertRow: dart.privateName(html$, "_insertRow"), - _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), - $caption: dartx.caption = Symbol("dartx.caption"), - $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), - $tHead: dartx.tHead = Symbol("dartx.tHead"), - $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), - $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), - $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), - $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), - _cells: dart.privateName(html$, "_cells"), - $cells: dartx.cells = Symbol("dartx.cells"), - $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), - $addCell: dartx.addCell = Symbol("dartx.addCell"), - _insertCell: dart.privateName(html$, "_insertCell"), - $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), - $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), - $containerId: dartx.containerId = Symbol("dartx.containerId"), - $containerName: dartx.containerName = Symbol("dartx.containerName"), - $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), - $containerType: dartx.containerType = Symbol("dartx.containerType"), - $cols: dartx.cols = Symbol("dartx.cols"), - $textLength: dartx.textLength = Symbol("dartx.textLength"), - $wrap: dartx.wrap = Symbol("dartx.wrap"), - _initTextEvent: dart.privateName(html$, "_initTextEvent"), - $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), - $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), - $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), - $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), - $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $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"), - $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), - $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), - $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), - $cues: dartx.cues = Symbol("dartx.cues"), - $addCue: dartx.addCue = Symbol("dartx.addCue"), - $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), - $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), - $endTime: dartx.endTime = Symbol("dartx.endTime"), - $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), - $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), - $onExit: dartx.onExit = Symbol("dartx.onExit"), - $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), - $end: dartx.end = Symbol("dartx.end"), - $force: dartx.force = Symbol("dartx.force"), - $identifier: dartx.identifier = Symbol("dartx.identifier"), - _radiusX: dart.privateName(html$, "_radiusX"), - _radiusY: dart.privateName(html$, "_radiusY"), - $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), - __clientX: dart.privateName(html$, "__clientX"), - __clientY: dart.privateName(html$, "__clientY"), - __screenX: dart.privateName(html$, "__screenX"), - __screenY: dart.privateName(html$, "__screenY"), - __pageX: dart.privateName(html$, "__pageX"), - __pageY: dart.privateName(html$, "__pageY"), - __radiusX: dart.privateName(html$, "__radiusX"), - __radiusY: dart.privateName(html$, "__radiusY"), - $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), - $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), - $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), - $touches: dartx.touches = Symbol("dartx.touches"), - $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), - $kinds: dartx.kinds = Symbol("dartx.kinds"), - $srclang: dartx.srclang = Symbol("dartx.srclang"), - $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), - $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), - $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), - $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), - $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), - $pull: dartx.pull = Symbol("dartx.pull"), - $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), - $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), - $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), - $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), - $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), - $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), - $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), - $device: dartx.device = Symbol("dartx.device"), - $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), - $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), - $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), - $displayName: dartx.displayName = Symbol("dartx.displayName"), - $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), - $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), - $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), - $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), - $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), - $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), - $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), - $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), - $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), - $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), - $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), - $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), - $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), - $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), - $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), - $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), - $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), - $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), - $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), - $bounds: dartx.bounds = Symbol("dartx.bounds"), - $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), - $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), - $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), - $session: dartx.session = Symbol("dartx.session"), - $geometry: dartx.geometry = Symbol("dartx.geometry"), - $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), - $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), - $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), - $badInput: dartx.badInput = Symbol("dartx.badInput"), - $customError: dartx.customError = Symbol("dartx.customError"), - $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), - $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), - $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), - $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), - $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), - $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), - $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), - $valid: dartx.valid = Symbol("dartx.valid"), - $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), - $poster: dartx.poster = Symbol("dartx.poster"), - $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), - $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), - $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), - $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), - $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), - $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), - $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), - $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), - $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), - $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), - $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), - $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), - $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), - $align: dartx.align = Symbol("dartx.align"), - $line: dartx.line = Symbol("dartx.line"), - $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), - $vertical: dartx.vertical = Symbol("dartx.vertical"), - $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), - $lines: dartx.lines = Symbol("dartx.lines"), - $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), - $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), - $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), - $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), - $extensions: dartx.extensions = Symbol("dartx.extensions"), - _deltaX: dart.privateName(html$, "_deltaX"), - _deltaY: dart.privateName(html$, "_deltaY"), - $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), - $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), - _wheelDelta: dart.privateName(html$, "_wheelDelta"), - _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), - _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), - _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), - _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), - _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), - $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), - $document: dartx.document = Symbol("dartx.document"), - _open2: dart.privateName(html$, "_open2"), - _open3: dart.privateName(html$, "_open3"), - _location: dart.privateName(html$, "_location"), - _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), - _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), - _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), - _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), - $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), - $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), - $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), - $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), - $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), - $customElements: dartx.customElements = Symbol("dartx.customElements"), - $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), - $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), - $external: dartx.external = Symbol("dartx.external"), - $history: dartx.history = Symbol("dartx.history"), - $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), - $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), - $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), - $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), - $menubar: dartx.menubar = Symbol("dartx.menubar"), - $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), - _get_opener: dart.privateName(html$, "_get_opener"), - $opener: dartx.opener = Symbol("dartx.opener"), - $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), - $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), - _pageXOffset: dart.privateName(html$, "_pageXOffset"), - _pageYOffset: dart.privateName(html$, "_pageYOffset"), - _get_parent: dart.privateName(html$, "_get_parent"), - $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), - $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), - $screenX: dartx.screenX = Symbol("dartx.screenX"), - $screenY: dartx.screenY = Symbol("dartx.screenY"), - $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), - _get_self: dart.privateName(html$, "_get_self"), - $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), - $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), - $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), - $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), - $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), - _get_top: dart.privateName(html$, "_get_top"), - $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), - __getter___1: dart.privateName(html$, "__getter___1"), - __getter___2: dart.privateName(html$, "__getter___2"), - $alert: dartx.alert = Symbol("dartx.alert"), - $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), - $confirm: dartx.confirm = Symbol("dartx.confirm"), - $find: dartx.find = Symbol("dartx.find"), - $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), - $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), - $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), - $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - $print: dartx.print = Symbol("dartx.print"), - _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), - _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), - $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), - $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), - $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), - _scroll_4: dart.privateName(html$, "_scroll_4"), - _scroll_5: dart.privateName(html$, "_scroll_5"), - _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), - _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), - _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), - _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), - __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), - _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), - $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), - $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), - $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), - $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), - $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), - $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), - $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), - $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), - $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), - $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), - $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), - $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), - $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - $focused: dartx.focused = Symbol("dartx.focused"), - $navigate: dartx.navigate = Symbol("dartx.navigate"), - $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), - $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), - $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), - $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), - $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), - $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), - $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), - $resultType: dartx.resultType = Symbol("dartx.resultType"), - $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), - $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), - $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), - $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), - $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), - $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), - $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), - $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), - $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), - $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), - $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), - $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), - $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), - $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), - $getCost: dartx.getCost = Symbol("dartx.getCost"), - $reserve: dartx.reserve = Symbol("dartx.reserve"), - $read: dartx.read = Symbol("dartx.read"), - $readText: dartx.readText = Symbol("dartx.readText"), - $writeText: dartx.writeText = Symbol("dartx.writeText"), - $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), - $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), - $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), - $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), - $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), - $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), - $cache: dartx.cache = Symbol("dartx.cache"), - $redirect: dartx.redirect = Symbol("dartx.redirect"), - _matches: dart.privateName(html$, "_matches"), - _namespace: dart.privateName(html$, "_namespace"), - _attr: dart.privateName(html$, "_attr"), - _strip: dart.privateName(html$, "_strip"), - _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), - _toCamelCase: dart.privateName(html$, "_toCamelCase"), - _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), - _elementList: dart.privateName(html$, "_elementList"), - _sets: dart.privateName(html$, "_sets"), - _validateToken: dart.privateName(html_common, "_validateToken"), - _unit: dart.privateName(html$, "_unit"), - _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"), - _pauseCount$1: dart.privateName(html$, "_pauseCount"), - _onData$3: dart.privateName(html$, "_onData"), - _tryResume: dart.privateName(html$, "_tryResume"), - _canceled: dart.privateName(html$, "_canceled"), - _unlisten: dart.privateName(html$, "_unlisten"), - _type$5: dart.privateName(html$, "_type"), - _streamController: dart.privateName(html$, "_streamController"), - _parent$2: dart.privateName(html$, "_parent"), - _currentTarget: dart.privateName(html$, "_currentTarget"), - _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), - _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), - _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), - _realAltKey: dart.privateName(html$, "_realAltKey"), - _realCharCode: dart.privateName(html$, "_realCharCode"), - _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"), - _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), - _keyDownList: dart.privateName(html$, "_keyDownList"), - _stream$3: dart.privateName(html$, "_stream"), - _capsLockOn: dart.privateName(html$, "_capsLockOn"), - _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), - _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), - _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), - _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), - _validators: dart.privateName(html$, "_validators"), - _templateAttrs: dart.privateName(html$, "_templateAttrs"), - _list$19: dart.privateName(html$, "_list"), - _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"), - _constructor: dart.privateName(html$, "_constructor"), - _nativeType: dart.privateName(html$, "_nativeType"), - _window: dart.privateName(html$, "_window"), - _history: dart.privateName(html$, "_history"), - _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), - _loc: dart.privateName(html$, "_loc"), - _removeNode: dart.privateName(html$, "_removeNode"), - _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), - _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), - alpha: dart.privateName(html_common, "ContextAttributes.alpha"), - antialias: dart.privateName(html_common, "ContextAttributes.antialias"), - depth: dart.privateName(html_common, "ContextAttributes.depth"), - premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), - preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), - stencil: dart.privateName(html_common, "ContextAttributes.stencil"), - failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - 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"), - _node: dart.privateName(html_common, "_node"), - _iterable$2: dart.privateName(html_common, "_iterable"), - _filtered: dart.privateName(html_common, "_filtered"), - $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), - $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), - $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), - $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), - $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), - $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), - $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), - _children$1: dart.privateName(svg$, "_children"), - _svgClassName: dart.privateName(svg$, "_svgClassName"), - $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), - $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), - $unitType: dartx.unitType = Symbol("dartx.unitType"), - $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), - $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), - $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), - $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), - $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), - $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), - $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), - $endElement: dartx.endElement = Symbol("dartx.endElement"), - $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), - $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), - $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), - $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), - $animVal: dartx.animVal = Symbol("dartx.animVal"), - $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), - $cx: dartx.cx = Symbol("dartx.cx"), - $cy: dartx.cy = Symbol("dartx.cy"), - $r: dartx.r = Symbol("dartx.r"), - $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), - $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), - $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), - $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), - $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), - $rx: dartx.rx = Symbol("dartx.rx"), - $ry: dartx.ry = Symbol("dartx.ry"), - $in1: dartx.in1 = Symbol("dartx.in1"), - $in2: dartx.in2 = Symbol("dartx.in2"), - $k1: dartx.k1 = Symbol("dartx.k1"), - $k2: dartx.k2 = Symbol("dartx.k2"), - $k3: dartx.k3 = Symbol("dartx.k3"), - $k4: dartx.k4 = Symbol("dartx.k4"), - $operator: dartx.operator = Symbol("dartx.operator"), - $bias: dartx.bias = Symbol("dartx.bias"), - $divisor: dartx.divisor = Symbol("dartx.divisor"), - $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), - $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), - $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), - $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), - $orderX: dartx.orderX = Symbol("dartx.orderX"), - $orderY: dartx.orderY = Symbol("dartx.orderY"), - $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), - $targetX: dartx.targetX = Symbol("dartx.targetX"), - $targetY: dartx.targetY = Symbol("dartx.targetY"), - $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), - $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), - $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), - $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), - $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), - $elevation: dartx.elevation = Symbol("dartx.elevation"), - $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), - $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), - $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), - $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), - $dx: dartx.dx = Symbol("dartx.dx"), - $dy: dartx.dy = Symbol("dartx.dy"), - $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), - $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), - $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), - $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), - $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), - $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), - $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), - $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), - $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), - $seed: dartx.seed = Symbol("dartx.seed"), - $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), - $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), - $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), - $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), - $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), - __setter__$1: dart.privateName(svg$, "__setter__"), - $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), - $getItem: dartx.getItem = Symbol("dartx.getItem"), - $initialize: dartx.initialize = Symbol("dartx.initialize"), - $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), - $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), - $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), - $x1: dartx.x1 = Symbol("dartx.x1"), - $x2: dartx.x2 = Symbol("dartx.x2"), - $y1: dartx.y1 = Symbol("dartx.y1"), - $y2: dartx.y2 = Symbol("dartx.y2"), - $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), - $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), - $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), - $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), - $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), - $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), - $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), - $orientType: dartx.orientType = Symbol("dartx.orientType"), - $refX: dartx.refX = Symbol("dartx.refX"), - $refY: dartx.refY = Symbol("dartx.refY"), - $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), - $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), - $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), - $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), - $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), - $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), - $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), - $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), - $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), - $points: dartx.points = Symbol("dartx.points"), - $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), - $fr: dartx.fr = Symbol("dartx.fr"), - $fx: dartx.fx = Symbol("dartx.fx"), - $fy: dartx.fy = Symbol("dartx.fy"), - $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$1: dart.privateName(svg$, "_element"), - $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), - $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), - $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), - $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), - $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), - $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), - $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), - $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), - $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), - $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), - $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), - $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), - $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), - $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), - $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), - $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), - $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), - $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), - $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), - $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), - $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), - $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), - $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), - $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), - $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), - $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), - $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), - $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), - $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), - $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), - $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), - $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), - $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), - $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), - $spacing: dartx.spacing = Symbol("dartx.spacing"), - $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), - $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), - $setScale: dartx.setScale = Symbol("dartx.setScale"), - $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), - $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), - $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), - $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), - $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), - $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), - $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), - $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), - $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), - $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), - $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), - $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), - $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), - $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), - $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), - $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), - $context: dartx.context = Symbol("dartx.context"), - $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $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"), - $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), - $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), - $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), - $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), - $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), - $detune: dartx.detune = Symbol("dartx.detune"), - $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), - $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), - $start2: dartx.start2 = Symbol("dartx.start2"), - $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), - _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), - $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), - $suspend: dartx.suspend = Symbol("dartx.suspend"), - $createGain: dartx.createGain = Symbol("dartx.createGain"), - $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), - $destination: dartx.destination = Symbol("dartx.destination"), - $listener: dartx.listener = Symbol("dartx.listener"), - $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), - $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), - $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), - $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), - $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), - $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), - $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), - $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), - $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), - $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), - $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), - $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), - $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), - $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), - $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), - _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), - _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), - $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), - $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), - $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), - $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), - $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), - $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), - $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), - $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), - $upX: dartx.upX = Symbol("dartx.upX"), - $upY: dartx.upY = Symbol("dartx.upY"), - $upZ: dartx.upZ = Symbol("dartx.upZ"), - $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), - $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), - $minValue: dartx.minValue = Symbol("dartx.minValue"), - $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), - $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), - $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), - $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), - $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), - $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), - $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), - _getItem$1: dart.privateName(web_audio, "_getItem"), - $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), - $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), - $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), - __getter__$1: dart.privateName(web_audio, "__getter__"), - $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), - $parameters: dartx.parameters = Symbol("dartx.parameters"), - $Q: dartx.Q = Symbol("dartx.Q"), - $frequency: dartx.frequency = Symbol("dartx.frequency"), - $gain: dartx.gain = Symbol("dartx.gain"), - $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), - $normalize: dartx.normalize = Symbol("dartx.normalize"), - $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), - $attack: dartx.attack = Symbol("dartx.attack"), - $knee: dartx.knee = Symbol("dartx.knee"), - $ratio: dartx.ratio = Symbol("dartx.ratio"), - $reduction: dartx.reduction = Symbol("dartx.reduction"), - $release: dartx.release = Symbol("dartx.release"), - $threshold: dartx.threshold = Symbol("dartx.threshold"), - $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), - $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), - $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), - $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), - $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), - $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), - $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), - $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), - $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), - $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), - $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), - $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), - $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), - $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), - $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), - $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), - $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), - $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), - $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), - $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), - $pan: dartx.pan = Symbol("dartx.pan"), - $curve: dartx.curve = Symbol("dartx.curve"), - $oversample: dartx.oversample = Symbol("dartx.oversample"), - $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), - $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), - $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), - $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), - $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), - $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), - $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), - $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), - $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), - $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), - $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), - $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), - $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), - $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), - $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), - $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), - $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), - $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), - $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), - $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), - $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), - $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), - $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), - $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), - $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), - $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), - $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), - $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), - $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), - $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), - $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), - $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), - $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), - $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), - $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), - $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), - $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), - $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), - $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), - $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), - $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), - $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), - $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), - $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), - $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), - $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), - $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), - $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), - $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), - $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), - $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), - $createShader: dartx.createShader = Symbol("dartx.createShader"), - $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), - $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), - $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), - $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), - $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), - $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), - $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), - $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), - $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), - $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), - $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), - $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), - $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), - $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), - $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), - $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), - $flush: dartx.flush = Symbol("dartx.flush"), - $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), - $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), - $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), - $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), - $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), - $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), - $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), - $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), - $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), - _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), - $getError: dartx.getError = Symbol("dartx.getError"), - $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), - $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), - $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), - $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), - $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), - $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), - $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), - $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), - $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), - $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), - $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), - $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), - $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), - $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), - $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), - $hint: dartx.hint = Symbol("dartx.hint"), - $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), - $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), - $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), - $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), - $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), - $isShader: dartx.isShader = Symbol("dartx.isShader"), - $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), - $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), - $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), - $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), - _readPixels: dart.privateName(web_gl, "_readPixels"), - $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), - $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), - $scissor: dartx.scissor = Symbol("dartx.scissor"), - $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), - $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), - $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), - $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), - $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), - $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), - $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), - _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), - _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), - _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), - _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), - _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), - _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), - $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), - $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), - $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), - _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), - _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), - _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), - _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), - _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), - _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), - $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), - $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), - $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), - $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), - $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), - $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), - $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), - $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), - $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), - $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), - $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), - $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), - $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), - $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), - $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), - $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), - $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), - $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), - $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), - $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), - $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), - $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), - $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), - $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), - $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), - $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), - $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), - $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), - $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), - $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), - $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), - $viewport: dartx.viewport = Symbol("dartx.viewport"), - $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), - $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), - $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), - $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), - $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), - $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), - $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), - $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), - $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), - $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), - $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), - $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), - $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), - $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), - $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), - $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), - $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), - $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), - $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), - $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), - $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), - $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), - $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), - $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), - $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), - $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), - $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), - $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), - $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), - $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), - $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), - $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), - $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), - $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), - $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), - $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), - $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), - $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), - $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), - $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), - $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), - $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), - $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), - $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), - $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), - $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), - $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), - $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), - $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), - $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), - $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), - $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), - $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), - $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), - $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), - $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), - $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), - $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), - $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), - _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), - $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), - $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), - $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), - $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), - $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), - $isSync: dartx.isSync = Symbol("dartx.isSync"), - $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), - $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), - $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), - $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), - $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), - $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), - $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), - $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), - _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), - _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), - _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), - _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), - _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), - _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), - _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), - $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), - _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), - _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), - _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), - _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), - _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), - _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), - _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), - _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), - $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), - $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), - $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), - _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), - _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), - _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), - _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), - _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), - _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), - _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), - $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), - _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), - _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), - _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), - _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), - _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), - _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), - _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), - _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), - $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), - _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), - $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), - $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), - $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), - $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), - $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), - $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), - $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), - $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), - $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), - $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), - $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), - $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), - $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), - $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), - $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), - $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), - $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), - $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), - $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), - $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), - $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), - $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), - $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), - $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), - $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), - $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), - $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), - $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), - $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), - $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), - $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), - $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), - $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), - $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), - $precision: dartx.precision = Symbol("dartx.precision"), - $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), - $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), - $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), - $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), - $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") -}; -const CT = Object.create({ - _: () => (C, CT) -}); -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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", - "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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", - "dart:_debugger", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", - "dart:_foreign_helper", - "dart:_interceptors", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", - "org-dartlang-sdk:///lib/internal/internal.dart", - "org-dartlang-sdk:///lib/internal/list.dart", - "org-dartlang-sdk:///lib/collection/list.dart", - "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", - "org-dartlang-sdk:///lib/convert/converter.dart", - "dart:convert", - "org-dartlang-sdk:///lib/internal/bytes_builder.dart", - "org-dartlang-sdk:///lib/internal/cast.dart", - "org-dartlang-sdk:///lib/core/iterable.dart", - "org-dartlang-sdk:///lib/collection/maps.dart", - "org-dartlang-sdk:///lib/internal/errors.dart", - "org-dartlang-sdk:///lib/internal/iterable.dart", - "org-dartlang-sdk:///lib/internal/linked_list.dart", - "org-dartlang-sdk:///lib/collection/iterable.dart", - "org-dartlang-sdk:///lib/internal/sort.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", - "org-dartlang-sdk:///lib/internal/symbol.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", - "dart:_isolate_helper", - "dart:_js_helper", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", - "org-dartlang-sdk:///lib/html/html_common/metadata.dart", - "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", - "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_impl.dart", - "org-dartlang-sdk:///lib/async/deferred_load.dart", - "org-dartlang-sdk:///lib/async/future.dart", - "org-dartlang-sdk:///lib/async/future_impl.dart", - "org-dartlang-sdk:///lib/async/schedule_microtask.dart", - "org-dartlang-sdk:///lib/async/stream_pipe.dart", - "org-dartlang-sdk:///lib/async/stream_transformers.dart", - "org-dartlang-sdk:///lib/async/timer.dart", - "org-dartlang-sdk:///lib/async/zone.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", - "org-dartlang-sdk:///lib/collection/set.dart", - "org-dartlang-sdk:///lib/collection/collections.dart", - "org-dartlang-sdk:///lib/collection/hash_map.dart", - "org-dartlang-sdk:///lib/collection/hash_set.dart", - "org-dartlang-sdk:///lib/collection/iterator.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", - "org-dartlang-sdk:///lib/collection/linked_list.dart", - "org-dartlang-sdk:///lib/collection/queue.dart", - "org-dartlang-sdk:///lib/collection/splay_tree.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", - "org-dartlang-sdk:///lib/convert/string_conversion.dart", - "org-dartlang-sdk:///lib/convert/ascii.dart", - "org-dartlang-sdk:///lib/convert/encoding.dart", - "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/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", - "org-dartlang-sdk:///lib/convert/line_splitter.dart", - "org-dartlang-sdk:///lib/convert/utf.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", - "dart:developer", - "org-dartlang-sdk:///lib/developer/extension.dart", - "org-dartlang-sdk:///lib/developer/profiler.dart", - "org-dartlang-sdk:///lib/developer/service.dart", - "org-dartlang-sdk:///lib/developer/timeline.dart", - "dart:io", - "org-dartlang-sdk:///lib/io/common.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", - "org-dartlang-sdk:///lib/io/data_transformer.dart", - "org-dartlang-sdk:///lib/io/directory.dart", - "org-dartlang-sdk:///lib/io/directory_impl.dart", - "org-dartlang-sdk:///lib/io/file_system_entity.dart", - "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_sink.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", - "org-dartlang-sdk:///lib/io/link.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", - "org-dartlang-sdk:///lib/io/secure_server_socket.dart", - "org-dartlang-sdk:///lib/io/secure_socket.dart", - "org-dartlang-sdk:///lib/io/socket.dart", - "org-dartlang-sdk:///lib/io/security_context.dart", - "org-dartlang-sdk:///lib/io/service_object.dart", - "org-dartlang-sdk:///lib/io/stdio.dart", - "org-dartlang-sdk:///lib/io/string_transformer.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", - "dart:isolate", - "org-dartlang-sdk:///lib/isolate/isolate.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", - "dart:js", - "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/indexed_db/dart2js/indexed_db_dart2js.dart", - "dart:indexed_db", - "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", - "dart:html", - "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", - "dart:html_common", - "org-dartlang-sdk:///lib/html/html_common/conversions.dart", - "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", - "org-dartlang-sdk:///lib/html/html_common/device.dart", - "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", - "org-dartlang-sdk:///lib/html/html_common/lists.dart", - "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", - "dart:svg", - "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", - "dart:web_audio", - "dart:web_gl", - "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.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/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", - "org-dartlang-sdk:///lib/_http/crypto.dart", - "org-dartlang-sdk:///lib/_http/http_date.dart", - "org-dartlang-sdk:///lib/_http/http_headers.dart", - "org-dartlang-sdk:///lib/_http/http_impl.dart", - "org-dartlang-sdk:///lib/_http/http_parser.dart", - "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/http_testing.dart", - "org-dartlang-sdk:///lib/_http/embedder_config.dart" -]; -var _jsError$ = dart.privateName(dart, "_jsError"); -var _type$ = dart.privateName(dart, "_type"); -dart.applyMixin = function applyMixin(to, from) { - to[dart._mixin] = from; - let toProto = to.prototype; - let fromProto = from.prototype; - dart._copyMembers(toProto, fromProto); - dart._mixinSignature(to, from, dart._methodSig); - dart._mixinSignature(to, from, dart._fieldSig); - dart._mixinSignature(to, from, dart._getterSig); - dart._mixinSignature(to, from, dart._setterSig); - let mixinOnFn = from[dart.mixinOn]; - if (mixinOnFn != null) { - let proto = mixinOnFn(to.__proto__).prototype; - dart._copyMembers(toProto, proto); - } -}; -dart._copyMembers = function _copyMembers(to, from) { - let names = dart.getOwnNamesAndSymbols(from); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - dart._copyMember(to, from, name); - } - return to; -}; -dart._copyMember = function _copyMember(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - let getter = desc.get; - let setter = desc.set; - if (getter != null) { - if (setter == null) { - let obj = desc.set = { - __proto__: to.__proto__, - set [name](x) { - return super[name] = x; - } - }; - desc.set = dart.getOwnPropertyDescriptor(obj, name).set; - } - } else if (setter != null) { - if (getter == null) { - let obj = desc.get = { - __proto__: to.__proto__, - get [name]() { - return super[name]; - } - }; - desc.get = dart.getOwnPropertyDescriptor(obj, name).get; - } - } - dart.defineProperty(to, name, desc); -}; -dart._mixinSignature = function _mixinSignature(to, from, kind) { - to[kind] = () => { - let baseMembers = dart._getMembers(to.__proto__, kind); - let fromMembers = dart._getMembers(from, kind); - if (fromMembers == null) return baseMembers; - let toSignature = {__proto__: baseMembers}; - dart.copyProperties(toSignature, fromMembers); - return toSignature; - }; -}; -dart.getMixin = function getMixin(clazz) { - return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; -}; -dart.getImplements = function getImplements(clazz) { - return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; -}; -dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { - let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); - function normalize(typeArg) { - if (typeArg == void 0) return dart.dynamic; - if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { - return typeArg; - } - if (typeArg === dart.Never) { - return async.Future$(typeArg); - } - if (typeArg === core.Null) { - return dart.nullable(async.Future$(typeArg)); - } - let genericType = genericFutureOrType(typeArg); - genericType[dart._originalDeclaration] = normalize; - function is_FutureOr(obj) { - return typeArg.is(obj) || async.Future$(typeArg).is(obj); - } - genericType.is = is_FutureOr; - function as_FutureOr(obj) { - if (obj == null && typeArg instanceof dart.LegacyType) { - return obj; - } - if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { - return obj; - } - return dart.as(obj, async.FutureOr$(typeArg)); - } - genericType.as = as_FutureOr; - return genericType; - } - return normalize; -}; -dart.generic = function generic(typeConstructor, setBaseClass) { - let length = typeConstructor.length; - if (length < 1) { - dart.throwInternalError('must have at least one generic type argument'); - } - let resultMap = new Map(); - function makeGenericType(...args) { - if (args.length != length && args.length != 0) { - dart.throwInternalError('requires ' + length + ' or 0 type arguments'); - } - while (args.length < length) - args.push(dart.dynamic); - let value = resultMap; - for (let i = 0; i < length; i++) { - let arg = args[i]; - if (arg == null) { - dart.throwInternalError('type arguments should not be null: ' + typeConstructor); - } - let map = value; - value = map.get(arg); - if (value === void 0) { - if (i + 1 == length) { - value = typeConstructor.apply(null, args); - if (value) { - value[dart._typeArguments] = args; - value[dart._originalDeclaration] = makeGenericType; - } - map.set(arg, value); - if (setBaseClass != null) setBaseClass.apply(null, args); - } else { - value = new Map(); - map.set(arg, value); - } - } - } - return value; - } - makeGenericType[dart._genericTypeCtor] = typeConstructor; - return makeGenericType; -}; -dart.getGenericClass = function getGenericClass(type) { - return dart.safeGetOwnProperty(type, dart._originalDeclaration); -}; -dart.getGenericArgs = function getGenericArgs(type) { - return dart.safeGetOwnProperty(type, dart._typeArguments); -}; -dart.getGenericArgVariances = function getGenericArgVariances(type) { - return dart.safeGetOwnProperty(type, dart._variances); -}; -dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { - return f[dart._variances] = variances; -}; -dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { - return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); -}; -dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { - if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); - if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); - return genericClass.apply(null, typeArgs); -}; -dart.getConstructors = function getConstructors(value) { - return dart._getMembers(value, dart._constructorSig); -}; -dart.getMethods = function getMethods(value) { - return dart._getMembers(value, dart._methodSig); -}; -dart.getFields = function getFields(value) { - return dart._getMembers(value, dart._fieldSig); -}; -dart.getGetters = function getGetters(value) { - return dart._getMembers(value, dart._getterSig); -}; -dart.getSetters = function getSetters(value) { - return dart._getMembers(value, dart._setterSig); -}; -dart.getStaticMethods = function getStaticMethods(value) { - return dart._getMembers(value, dart._staticMethodSig); -}; -dart.getStaticFields = function getStaticFields(value) { - return dart._getMembers(value, dart._staticFieldSig); -}; -dart.getStaticGetters = function getStaticGetters(value) { - return dart._getMembers(value, dart._staticGetterSig); -}; -dart.getStaticSetters = function getStaticSetters(value) { - return dart._getMembers(value, dart._staticSetterSig); -}; -dart.getGenericTypeCtor = function getGenericTypeCtor(value) { - return value[dart._genericTypeCtor]; -}; -dart.getType = function getType(obj) { - if (obj == null) return core.Object; - let constructor = obj.constructor; - return constructor ? constructor : dart.global.Object.prototype.constructor; -}; -dart.getLibraryUri = function getLibraryUri(value) { - return value[dart._libraryUri]; -}; -dart.setLibraryUri = function setLibraryUri(f, uri) { - return f[dart._libraryUri] = uri; -}; -dart.isJsInterop = function isJsInterop(obj) { - if (obj == null) return false; - if (typeof obj === "function") { - return obj[dart._runtimeType] == null; - } - 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) { - let m = dart.getMethods(type); - return m != null ? m[name] : null; -}; -dart.getSetterType = function getSetterType(type, name) { - let setters = dart.getSetters(type); - if (setters != null) { - let type = setters[name]; - if (type != null) { - return type; - } - } - let fields = dart.getFields(type); - if (fields != null) { - let fieldInfo = fields[name]; - if (fieldInfo != null && !fieldInfo.isFinal) { - return fieldInfo.type; - } - } - return null; -}; -dart.finalFieldType = function finalFieldType(type, metadata) { - return {type: type, isFinal: true, metadata: metadata}; -}; -dart.fieldType = function fieldType(type, metadata) { - return {type: type, isFinal: false, metadata: metadata}; -}; -dart.classGetConstructorType = function classGetConstructorType(cls, name) { - if (cls == null) return null; - if (name == null) name = "new"; - let ctors = dart.getConstructors(cls); - return ctors != null ? ctors[name] : null; -}; -dart.setMethodSignature = function setMethodSignature(f, sigF) { - return f[dart._methodSig] = sigF; -}; -dart.setFieldSignature = function setFieldSignature(f, sigF) { - return f[dart._fieldSig] = sigF; -}; -dart.setGetterSignature = function setGetterSignature(f, sigF) { - return f[dart._getterSig] = sigF; -}; -dart.setSetterSignature = function setSetterSignature(f, sigF) { - return f[dart._setterSig] = sigF; -}; -dart.setConstructorSignature = function setConstructorSignature(f, sigF) { - return f[dart._constructorSig] = sigF; -}; -dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { - return f[dart._staticMethodSig] = sigF; -}; -dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { - return f[dart._staticFieldSig] = sigF; -}; -dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { - return f[dart._staticGetterSig] = sigF; -}; -dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { - return f[dart._staticSetterSig] = sigF; -}; -dart._getMembers = function _getMembers(type, kind) { - let sig = type[kind]; - return typeof sig == "function" ? type[kind] = sig() : sig; -}; -dart._hasMember = function _hasMember(type, kind, name) { - let sig = dart._getMembers(type, kind); - return sig != null && name in sig; -}; -dart.hasMethod = function hasMethod(type, name) { - return dart._hasMember(type, dart._methodSig, name); -}; -dart.hasGetter = function hasGetter(type, name) { - return dart._hasMember(type, dart._getterSig, name); -}; -dart.hasSetter = function hasSetter(type, name) { - return dart._hasMember(type, dart._setterSig, name); -}; -dart.hasField = function hasField(type, name) { - return dart._hasMember(type, dart._fieldSig, name); -}; -dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { - if (dartType === core.Object) { - dart._installPropertiesForObject(jsProto); - return; - } - let dartSupertype = dartType.__proto__; - if (dartSupertype !== installedParent) { - dart._installProperties(jsProto, dartSupertype, installedParent); - } - let dartProto = dartType.prototype; - dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); -}; -dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { - let coreObjProto = core.Object.prototype; - let names = dart.getOwnPropertyNames(coreObjProto); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); - dart.defineProperty(jsProto, dart.dartx[name], desc); - } -}; -dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { - dart._installPropertiesForObject(jsProto); - jsProto[dartx.toString] = function() { - return this.toString(); - }; - dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; -}; -dart._applyExtension = function _applyExtension(jsType, dartExtType) { - if (jsType == null) return; - let jsProto = jsType.prototype; - if (jsProto == null) return; - if (dartExtType === core.Object) { - dart._installPropertiesForGlobalObject(jsProto); - return; - } - if (jsType === dart.global.Object) { - let extName = dartExtType.name; - dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); - return; - } - dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); - if (dartExtType !== _interceptors.JSFunction) { - jsProto[dart._extensionType] = dartExtType; - } - jsType[dart._methodSig] = dartExtType[dart._methodSig]; - jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; - jsType[dart._getterSig] = dartExtType[dart._getterSig]; - jsType[dart._setterSig] = dartExtType[dart._setterSig]; -}; -dart.applyExtension = function applyExtension(name, nativeObject) { - let dartExtType = dart._extensionMap.get(name); - let jsType = nativeObject.constructor; - dart._applyExtension(jsType, dartExtType); -}; -dart.applyAllExtensions = function applyAllExtensions(global) { - dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); -}; -dart.registerExtension = function registerExtension(name, dartExtType) { - dart._extensionMap.set(name, dartExtType); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); -}; -dart.applyExtensionForTesting = function applyExtensionForTesting(name) { - let dartExtType = dart._extensionMap.get(name); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); -}; -dart.defineExtensionMethods = function defineExtensionMethods(type, 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], 574, 46, "memberNames"); - let proto = type.prototype; - for (let name of memberNames) { - let member = null; - let p = proto; - for (;; p = p.__proto__) { - member = dart.getOwnPropertyDescriptor(p, name); - if (member != null) break; - } - dart.defineProperty(proto, dartx[name], member); - } -}; -dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { - dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); -}; -dart.setBaseClass = function setBaseClass(derived, base) { - derived.prototype.__proto__ = base.prototype; - derived.__proto__ = base; -}; -dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { - let dartProto = dartType.prototype; - dartProto[dart._extensionType] = dartType; - dartProto.__proto__ = jsType.prototype; -}; -dart.addTypeTests = function addTypeTests(ctor, isClass) { - if (isClass == null) isClass = Symbol("_is_" + ctor.name); - ctor.prototype[isClass] = true; - ctor.is = function is_C(obj) { - return obj != null && (obj[isClass] || dart.is(obj, this)); - }; - ctor.as = function as_C(obj) { - if (obj != null && obj[isClass]) return obj; - 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); - } -}; -dart.argumentError = function argumentError(value) { - dart.throw(new core.ArgumentError.value(value)); -}; -dart.throwUnimplementedError = function throwUnimplementedError(message) { - if (message == null) dart.nullFailed(I[1], 16, 32, "message"); - dart.throw(new core.UnimplementedError.new(message)); -}; -dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { - dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); -}; -dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { - dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); -}; -dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { - if (isModuleSound !== false) { - 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) + "."; -}; -dart.nullFailed = function nullFailed(fileUri, line, column, variable) { - if (dart._nonNullAsserts) { - dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); - } - let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); - if (!dart._nullFailedSet.has(key)) { - dart._nullFailedSet.add(key); - dart._nullWarn(dart._nullFailedMessage(variable)); - } -}; -dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 81, 37, "name"); - dart.throw(new _internal.LateError.new(name)); -}; -dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { - dart.throw(new core.CyclicInitializationError.new(field)); -}; -dart.throwNullValueError = function throwNullValueError() { - dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); -}; -dart.castError = function castError(obj, expectedType) { - let actualType = dart.getReifiedType(obj); - let message = dart._castErrorMessage(actualType, expectedType); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); -}; -dart._castErrorMessage = function _castErrorMessage(from, to) { - 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) { - let value = error[dart._thrownValue]; - if (value != null) return value; - } - return error; -}; -dart.stackTrace = function stackTrace(error) { - if (!(error instanceof Error)) { - return new dart._StackTrace.missing(error); - } - let trace = error[dart._stackTrace]; - if (trace != null) return trace; - return error[dart._stackTrace] = new dart._StackTrace.new(error); -}; -dart.stackTraceForError = function stackTraceForError(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], 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], 286, 37, "exception"); - if (trace == null) { - let error = exception[dart._jsError]; - return error != null ? error : new dart.DartError(exception); - } - if (dart._StackTrace.is(trace)) { - let originalError = trace[_jsError$]; - if (core.identical(exception, dart.getThrown(originalError))) { - return originalError; - } - } - return new dart.RethrownDartError(exception, trace); -}; -dart.stackPrint = function stackPrint(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) { - if (obj == null) obj = _interceptors.jsNull; - if (method == null) method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); - return f; -}; -dart.bindCall = function bindCall(obj, name) { - if (obj == null) return null; - let ftype = dart.getMethodType(dart.getType(obj), name); - if (ftype == null) return null; - let method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = ftype; - return f; -}; -dart.gbind = function gbind(f, ...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) { - return dart.dload(obj, dart.replNameLookup(obj, field)); -}; -dart.dload = function dload(obj, field) { - if (typeof obj == "function" && field == "call") { - return obj; - } - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - 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})); -}; -dart._stripGenericArguments = function _stripGenericArguments(type) { - let genericClass = dart.getGenericClass(type); - if (genericClass != null) return genericClass(); - return type; -}; -dart.dputRepl = function dputRepl(obj, field, value) { - return dart.dput(obj, dart.replNameLookup(obj, field), value); -}; -dart.dput = function dput(obj, field, value) { - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - let setterType = dart.getSetterType(dart.getType(obj), f); - if (setterType != null) { - return obj[f] = setterType.as(value); - } - if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; - } - dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); - return value; -}; -dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - 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; - if (actualsCount < requiredCount) { - return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let extras = actualsCount - requiredCount; - let optionals = type.optionals; - if (extras > optionals.length) { - return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let names = null; - let named = type.named; - let requiredNamed = type.requiredNamed; - if (namedActuals != null) { - names = dart.getOwnPropertyNames(namedActuals); - for (let name of names) { - if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { - return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; - } - } - } - let requiredNames = dart.getOwnPropertyNames(requiredNamed); - if (dart.test(requiredNames[$isNotEmpty])) { - 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](", ")) + "."; - { - dart._nullWarn(error); - } - } - } - for (let i = 0; i < requiredCount; i = i + 1) { - required[i].as(actuals[i]); - } - for (let i = 0; i < extras; i = i + 1) { - optionals[i].as(actuals[i + requiredCount]); - } - if (names != null) { - for (let name of names) { - (named[name] || requiredNamed[name]).as(namedActuals[name]); - } - } - return null; -}; -dart._toSymbolName = function _toSymbolName(symbol) { - let str = symbol.toString(); - return str.substring(7, str.length - 1); -}; -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; -}; -dart._dartSymbol = function _dartSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); -}; -dart._setterSymbol = function _setterSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); -}; -dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { - _debugger.trackCall(obj); - let originalTarget = obj === void 0 ? f : obj; - 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 instanceof Function)) { - if (f != null) { - originalTarget = f; - f = dart.bindCall(f, dart._canonicalMember(f, "call")); - ftype = null; - displayName = "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."); - } - if (named != null) args.push(named); - return f.apply(obj, args); - } - if (ftype instanceof dart.GenericFunctionType) { - let formalCount = ftype.formalCount; - 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); - } 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); - } - let errorMessage = dart._argumentErrors(ftype, args, named); - if (errorMessage == null) { - if (typeArgs != null) args = typeArgs.concat(args); - if (named != null) args.push(named); - return f.apply(obj, args); - } - return callNSM(errorMessage); -}; -dart.dcall = function dcall(f, args, named = null) { - return dart._checkAndCall(f, null, void 0, null, args, named, f.name); -}; -dart.dgcall = function dgcall(f, typeArgs, args, named = null) { - return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); -}; -dart.replNameLookup = function replNameLookup(object, field) { - let rawField = field; - if (typeof field == 'symbol') { - if (field in object) return field; - field = field.toString(); - field = field.substring('Symbol('.length, field.length - 1); - } else if (field.charAt(0) != '_') { - return field; - } - if (field in object) return field; - let proto = object; - while (proto !== null) { - let symbols = Object.getOwnPropertySymbols(proto); - let target = 'Symbol(' + field + ')'; - for (let s = 0; s < symbols.length; s++) { - let sym = symbols[s]; - if (target == sym.toString()) return sym; - } - proto = proto.__proto__; - } - return rawField; -}; -dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { - if (typeof obj == "function" && name == "call") { - return dart.dgcall(obj, typeArgs, args, named); - } - let symbol = dart._canonicalMember(obj, name); - if (symbol == null) { - return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); - } - let f = obj != null ? obj[symbol] : null; - let type = dart.getType(obj); - let ftype = dart.getMethodType(type, symbol); - return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); -}; -dart.dsend = function dsend(obj, method, args, named = null) { - return dart.callMethod(obj, method, null, args, named, method); -}; -dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, method, typeArgs, args, named, method); -}; -dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); -}; -dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); -}; -dart.dindex = function dindex(obj, index) { - return dart.callMethod(obj, "_get", null, [index], null, "[]"); -}; -dart.dsetindex = function dsetindex(obj, index, value) { - return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); -}; -dart.is = function instanceOf(obj, type) { - if (obj == null) { - return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; - } - return dart.isSubtypeOf(dart.getReifiedType(obj), type); -}; -dart.as = function cast(obj, type) { - if (obj == null && true) { - dart._nullWarnOnType(type); - return obj; - } else { - let actual = dart.getReifiedType(obj); - if (dart.isSubtypeOf(actual, type)) return obj; - } - return dart.castError(obj, type); -}; -dart.test = function test(obj) { - if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); - return obj; -}; -dart.dtest = function dtest(obj) { - if (!(typeof obj == 'boolean')) { - 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; -}; -dart.booleanConversionFailed = function booleanConversionFailed(obj) { - let actual = dart.typeName(dart.getReifiedType(obj)); - dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); -}; -dart.asInt = function asInt(obj) { - if (Math.floor(obj) != obj) { - if (obj == null && true) { - dart._nullWarnOnType(core.int); - return null; - } else { - dart.castError(obj, core.int); - } - } - return obj; -}; -dart.asNullableInt = function asNullableInt(obj) { - return obj == null ? null : dart.asInt(obj); -}; -dart.notNull = function _notNull(x) { - if (x == null) dart.throwNullValueError(); - return x; -}; -dart.nullCast = function nullCast(x, type) { - if (x == null) { - { - dart._nullWarnOnType(type); - } - } - return x; -}; -dart.nullCheck = function nullCheck(x) { - if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); - return x; -}; -dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - 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], 579, 34, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantMaps, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - map = dart._lookupNonTerminal(map, dart.wrapType(K)); - let result = map.get(V); - if (result != null) return result; - result = new (_js_helper.ImmutableMap$(K, V)).from(elements); - map.set(V, result); - return result; -}; -dart._createImmutableSet = function _createImmutableSet(E, 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], 603, 31, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantSets, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let result = map.get(E); - if (result != null) return result; - result = dart._createImmutableSet(E, elements); - map.set(E, result); - return result; -}; -dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { - for (let k of keys) { - let value = map.get(k); - if (!value) { - map.set(k, value = new Map()); - } - map = value; - } - if (map.has(dart._value)) return map.get(dart._value); - let value = valueFn(); - map.set(dart._value, value); - return value; -}; -dart.const = function const_(obj) { - let names = dart.getOwnNamesAndSymbols(obj); - let count = names.length; - let map = dart._lookupNonTerminal(dart.constants, count); - for (let i = 0; i < count; i++) { - let name = names[i]; - map = dart._lookupNonTerminal(map, name); - map = dart._lookupNonTerminal(map, obj[name]); - } - let type = dart.getReifiedType(obj); - let value = map.get(type); - if (value) return value; - map.set(type, obj); - return obj; -}; -dart.constList = function constList(elements, elementType) { - let count = elements.length; - let map = dart._lookupNonTerminal(dart.constantLists, count); - for (let i = 0; i < count; i++) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let value = map.get(elementType); - if (value) return value; - _interceptors.JSArray$(elementType).unmodifiable(elements); - map.set(elementType, elements); - return elements; -}; -dart.constFn = function constFn(x) { - return () => x; -}; -dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 721, 24, "name"); - return dartx[name]; -}; -dart.equals = function equals(x, y) { - return x == null ? y == null : x[$_equals](y); -}; -dart.hashCode = function hashCode(obj) { - return obj == null ? 0 : obj[$hashCode]; -}; -dart.toString = function _toString(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - return obj[$toString](); -}; -dart.str = function str(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - 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], 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], 767, 37, "i"); - dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); -}; -dart.runtimeType = function runtimeType(obj) { - return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; -}; -dart._canonicalMember = function _canonicalMember(obj, name) { - if (typeof name === "symbol") return name; - if (obj != null && obj[dart._extensionType] != null) { - return dartx[name]; - } - if (name == "constructor" || name == "prototype") { - name = "+" + name; - } - return name; -}; -dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { - let result = dart.deferredImports.get(enclosingLibrary); - if (dart.test(result === void 0)) { - dart.deferredImports.set(enclosingLibrary, result = new Set()); - } - result.add(importPrefix); - return async.Future.value(); -}; -dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { - let loaded = dart.deferredImports.get(enclosingLibrary); - if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { - dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); - } -}; -dart.defineLazy = function defineLazy(to, from, 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)); - } else { - dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); - } - } -}; -dart.defineLazyField = function defineLazyField(to, name, desc) { - const initializer = desc.get; - const final = desc.set == null; - let initialized = false; - let init = initializer; - let value = null; - let savedLocals = false; - desc.get = function() { - if (init == null) return value; - if (final && initialized) dart.throwLateInitializationError(name); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - initialized = false; - }); - savedLocals = true; - } - initialized = true; - try { - value = init(); - } catch (e) { - initialized = false; - throw e; - } - init = null; - return value; - }; - desc.configurable = true; - 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); -}; -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); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - }); - savedLocals = true; - } - try { - value = f(); - init = null; - return value; - } catch (e) { - init = null; - value = null; - throw e; - } - }; - desc.configurable = true; - 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); -}; -dart.checkNativeNonNull = function checkNativeNonNull(variable) { - if (dart._nativeNonNullAsserts && variable == null) { - dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); - } - return variable; -}; -dart.fn = function fn(closure, type) { - { - closure[dart._runtimeType] = type; - } - return closure; -}; -dart.lazyFn = function lazyFn(closure, 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), - configurable: true - }); - return closure; -}; -dart.getFunctionType = function getFunctionType(obj) { - let args = Array(obj.length).fill(dart.dynamic); - return dart.fnType(dart.bottom, args, void 0); -}; -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; - } - if (named != null) { - for (let name of named) { - let field = obj[name]; - types[$add](dart.getReifiedType(field)); - } - } - 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], 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], 194, 29, "moduleName"); - return dart._loadedSourceMaps.get(moduleName); -}; -dart.getModuleLibraries = function getModuleLibraries(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], 207, 25, "name"); - return dart._loadedPartMaps.get(name); -}; -dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - 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 = {}; - } - dart._loadedSourceMaps.set(moduleName, sourceMap); - dart._loadedModules.set(moduleName, libraries); - dart._loadedPartMaps.set(moduleName, parts); - dart._libraries = null; - dart._libraryObjects = null; - dart._parts = null; -}; -dart._computeLibraryMetadata = function _computeLibraryMetadata() { - dart._libraries = T$.JSArrayOfString().of([]); - dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); - dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); - let modules = dart.getModuleNames(); - for (let name of modules) { - let module = dart.getModuleLibraries(name); - let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); - dart.nullCheck(dart._libraries)[$addAll](libraries); - for (let library of libraries) { - dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); - } - let partMap = dart.getModulePartMap(name); - libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); - for (let library of libraries) { - dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); - } - } -}; -dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); - if (dart._libraryObjects == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraryObjects)[$_get](uri); -}; -dart.getLibraries = function getLibraries() { - if (dart._libraries == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraries); -}; -dart.getParts = function getParts(libraryUri) { - let t0; - if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); - if (dart._parts == null) { - dart._computeLibraryMetadata(); - } - t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); - return t0 == null ? T$.JSArrayOfString().of([]) : t0; -}; -dart.polyfill = function polyfill(window) { - if (window[dart._polyfilled]) return false; - window[dart._polyfilled] = true; - if (typeof window.NodeList !== "undefined") { - window.NodeList.prototype.get = function(i) { - return this[i]; - }; - window.NamedNodeMap.prototype.get = function(i) { - return this[i]; - }; - window.DOMTokenList.prototype.get = function(i) { - return this[i]; - }; - window.HTMLCollection.prototype.get = function(i) { - return this[i]; - }; - if (typeof window.PannerNode == "undefined") { - let audioContext; - if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { - audioContext = new window.webkitAudioContext(); - } else { - audioContext = new window.AudioContext(); - window.StereoPannerNode = audioContext.createStereoPanner().constructor; - } - window.PannerNode = audioContext.createPanner().constructor; - } - if (typeof window.AudioSourceNode == "undefined") { - window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; - } - if (typeof window.FontFaceSet == "undefined") { - if (typeof window.document.fonts != "undefined") { - window.FontFaceSet = window.document.fonts.__proto__.constructor; - } - } - if (typeof window.MemoryInfo == "undefined") { - if (typeof window.performance.memory != "undefined") { - window.MemoryInfo = function() { - }; - window.MemoryInfo.prototype = window.performance.memory.__proto__; - } - } - if (typeof window.Geolocation == "undefined") { - window.Geolocation == window.navigator.geolocation.constructor; - } - if (typeof window.Animation == "undefined") { - let d = window.document.createElement('div'); - if (typeof d.animate != "undefined") { - window.Animation = d.animate(d).constructor; - } - } - if (typeof window.SourceBufferList == "undefined") { - if ('MediaSource' in window) { - window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; - } - } - if (typeof window.SpeechRecognition == "undefined") { - window.SpeechRecognition = window.webkitSpeechRecognition; - window.SpeechRecognitionError = window.webkitSpeechRecognitionError; - window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; - } - } - return true; -}; -dart.trackProfile = function trackProfile(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], 179, 39, "value"); - dart.startAsyncSynchronously = value; -}; -dart.hotRestart = function hotRestart() { - dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart.resetFields) - f(); - dart.resetFields[$clear](); - for (let m of dart._cacheMaps) - m.clear(); - dart._cacheMaps[$clear](); - dart._nullComparisonSet.clear(); - dart.constantMaps.clear(); - dart.deferredImports.clear(); -}; -dart._throwInvalidFlagError = function _throwInvalidFlagError(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], 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], 43, 32, "showErrors"); - if (dart.test(showErrors) && false) { - dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); - } - if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { - dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); - } - dart._weakNullSafetyErrors = showErrors; -}; -dart.nonNullAsserts = function nonNullAsserts(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], 79, 32, "enable"); - dart._nativeNonNullAsserts = enable; -}; -dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; -}; -dart.assertInterop = function assertInterop(f) { - 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) { - return obj instanceof Function && obj[dart._runtimeType] != null; -}; -dart.tearoffInterop = function tearoffInterop(f) { - if (!dart._isJsObject(f) || f == null) return f; - let ret = dart._assertInteropExpando._get(f); - if (ret == null) { - ret = function(...arguments$) { - var args = arguments$.map(dart.assertInterop); - return f.apply(this, args); - }; - dart._assertInteropExpando._set(f, ret); - } - return ret; -}; -dart._warn = function _warn(arg) { - console.warn(arg); -}; -dart._nullWarn = function _nullWarn(message) { - if (dart._weakNullSafetyWarnings) { - dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); - } else if (dart._weakNullSafetyErrors) { - dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); - } -}; -dart._nullWarnOnType = function _nullWarnOnType(type) { - let result = dart._nullComparisonSet.has(type); - if (!dart.test(result)) { - dart._nullComparisonSet.add(type); - dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); - } -}; -dart.packageJSType = function packageJSType(name, staticInterop) { - let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; - let ret = map.get(name); - if (ret == null) { - ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); - map.set(name, ret); - } - return ret; -}; -dart.nullable = function nullable(type) { - let cached = type[dart._cachedNullable]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeNullable(type); - type[dart._cachedNullable] = cachedType; - return cachedType; -}; -dart._computeNullable = function _computeNullable(type) { - if (type instanceof dart.LegacyType) { - return dart.nullable(type.type); - } - if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { - return type; - } - if (type === dart.Never) return core.Null; - return new dart.NullableType.new(type); -}; -dart.legacy = function legacy(type) { - let cached = type[dart._cachedLegacy]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeLegacy(type); - type[dart._cachedLegacy] = cachedType; - return cachedType; -}; -dart._computeLegacy = function _computeLegacy(type) { - if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { - return type; - } - return new dart.LegacyType.new(type); -}; -dart.wrapType = function wrapType(type, isNormalized = false) { - if (type.hasOwnProperty(dart._typeObject)) { - return type[dart._typeObject]; - } - let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); - type[dart._typeObject] = result; - return result; -}; -dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - 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', []); - if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { - if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { - let normType = dart.fnType(normReturnType, core.List.as(normArgs)); - return dart.wrapType(normType, true); - } - let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); - return dart.wrapType(normType, true); - } - let normNamed = {}; - dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); - let normRequiredNamed = {}; - dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); - return dart.wrapType(normType, true); - } - if (type instanceof dart.GenericFunctionType) { - let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); - let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); - let substitutedTypes = []; - if (dart.test(normBounds[$contains](dart.Never))) { - for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { - let substitutedType = normBounds[$_get](i); - while (dart.test(formals[$contains](substitutedType))) { - substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); - } - if (dart.equals(substitutedType, dart.Never)) { - substitutedTypes[$add](dart.Never); - } else { - substitutedTypes[$add](formals[$_get](i)); - } - } - } else { - substitutedTypes = formals; - } - let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); - let typeObjectIdKey = []; - typeObjectIdKey.push(...normBounds); - typeObjectIdKey.push(normFunc); - let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); - return dart.wrapType(memoizedId, true); - } - let args = dart.getGenericArgs(type); - let normType = null; - if (args == null || dart.test(args[$isEmpty])) { - normType = type; - } else { - let genericClass = dart.getGenericClass(type); - let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); - normType = genericClass(...normArgs); - } - return dart.wrapType(normType, true); -}; -dart._transformJSObject = function _transformJSObject(srcObject, dstObject, 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], 605, 24, "obj"); - return obj[_type$]; -}; -dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 650, 49, "count"); - while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { - dart._fillTypeVariable(); - } - return dart._typeVariablePool[$sublist](0, count); -}; -dart._fillTypeVariable = function _fillTypeVariable() { - if (dart.notNull(dart._typeVariablePool[$length]) < 26) { - dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); - } else { - dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); - } -}; -dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 672, 32, "create"); - return (() => { - let len = arr.length; - map = dart._lookupNonTerminal(map, len); - for (var i = 0; i < len - 1; ++i) { - map = dart._lookupNonTerminal(map, arr[i]); - } - let result = map.get(arr[len - 1]); - if (result !== void 0) return result; - map.set(arr[len - 1], result = create()); - return result; - })(); -}; -dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 684, 30, "array"); - return dart._memoizeArray(map, array, () => array); -}; -dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { - let key = []; - let names = dart.getOwnPropertyNames(named); - for (var i = 0; i < names.length; ++i) { - let name = names[i]; - let type = named[name]; - key.push(name); - key.push(type); - } - return dart._memoizeArray(map, key, () => named); -}; -dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 704, 44, "required"); - return (() => { - let count = required.length; - let map = dart._fnTypeSmallMap[count]; - for (var i = 0; i < count; ++i) { - map = dart._lookupNonTerminal(map, required[i]); - } - let result = map.get(returnType); - if (result !== void 0) return result; - result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); - map.set(returnType, result); - return result; - })(); -}; -dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { - let str = typeConstructor.toString(); - let hasParens = str[$_get](0) === "("; - let end = str[$indexOf](hasParens ? ")" : "=>"); - if (hasParens) { - return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); - return new dart.TypeVariable.new(n[$trim]()); - })[$toList](); - } else { - return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); - } -}; -dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); - return dart.FunctionType.create(returnType, args, optional, requiredNamed); -}; -dart.gFnType = function gFnType(instantiateFn, typeBounds) { - return new dart.GenericFunctionType.new(instantiateFn, typeBounds); -}; -dart.isType = function isType(obj) { - return obj[dart._runtimeType] === core.Type; -}; -dart.checkTypeBound = function checkTypeBound(type, bound, name) { - if (!dart.isSubtypeOf(type, bound)) { - dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); - } -}; -dart.typeName = function typeName(type) { - if (type === void 0) return "undefined type"; - if (type === null) return "null type"; - if (type instanceof dart.DartType) { - return type.toString(); - } - let tag = type[dart._runtimeType]; - if (tag === core.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 + "<"; - 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; - } - 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; - let args2Length = args2.length; - if (args1Length > args2Length) { - return false; - } - 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; - let optionals2Length = optionals2.length; - if (args1Length + optionals1Length < args2Length + optionals2Length) { - return false; - } - let j = 0; - 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 < optionals2Length; i = i + 1, j = j + 1) { - if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { - return false; - } - } - let named1 = ft1.named; - let requiredNamed1 = ft1.requiredNamed; - let named2 = ft2.named; - let requiredNamed2 = ft2.requiredNamed; - if (!strictMode) { - named1 = Object.assign({}, named1, requiredNamed1); - named2 = Object.assign({}, named2, requiredNamed2); - requiredNamed1 = {}; - requiredNamed2 = {}; - } - let names = dart.getOwnPropertyNames(requiredNamed1); - 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) { - return false; - } - } - names = dart.getOwnPropertyNames(named2); - namesLength = names.length; - for (let i = 0; i < namesLength; i = i + 1) { - let name = names[i]; - let n1 = named1[name]; - let n2 = named2[name]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - names = dart.getOwnPropertyNames(requiredNamed2); - 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]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - return dart._isSubtype(ret1, ret2, strictMode); -}; -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 && 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) + "."); - } - } - map.set(t2, validSubtype); - return validSubtype; -}; -dart._isBottom = function _isBottom(type, strictMode) { - return type === dart.Never || !strictMode && type === core.Null; -}; -dart._isTop = function _isTop(type) { - if (type instanceof dart.NullableType) return type.type === core.Object; - return type === dart.dynamic || type === dart.void; -}; -dart._isFutureOr = function _isFutureOr(type) { - let genericClass = dart.getGenericClass(type); - return !!genericClass && genericClass === async.FutureOr$; -}; -dart._isSubtype = function _isSubtype(t1, t2, strictMode) { - if (!strictMode) { - if (t1 instanceof dart.NullableType) { - t1 = t1.type; - } - if (t2 instanceof dart.NullableType) { - t2 = t2.type; - } - } - if (t1 === t2) { - return true; - } - if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { - return true; - } - if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(T$.ObjectN(), t2, strictMode); - } - if (t2 === core.Object) { - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - return dart._isSubtype(t1TypeArg, core.Object, strictMode); - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t1 === core.Null || t1 instanceof dart.NullableType) { - return false; - } - return true; - } - if (t1 === core.Null) { - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - return dart._isSubtype(core.Null, t2TypeArg, strictMode); - } - return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t2 instanceof dart.LegacyType) { - return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); - } - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { - return true; - } - } - let t1Future = async.Future$(t1TypeArg); - return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); - } - if (t1 instanceof dart.NullableType) { - return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); - } - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - let t2Future = async.Future$(t2TypeArg); - return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, 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 (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); - } - if (!(t1 instanceof dart.AbstractFunctionType)) { - return false; - } - if (t1 instanceof dart.GenericFunctionType) { - if (!(t2 instanceof dart.GenericFunctionType)) { - return false; - } - let formalCount = t1.formalCount; - if (formalCount !== t2.formalCount) { - return false; - } - let fresh1 = null; - let fresh2 = null; - if (t1.hasTypeBounds || t2.hasTypeBounds) { - 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(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 === t2) { - return true; - } - if (t1 === core.Object) { - return false; - } - if (t1 === core.Function || t2 === core.Function) { - return false; - } - 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("Internal type check failure."); - } - let variances = dart.getGenericArgVariances(t1); - 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 (varianceType == 2) { - if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } else if (varianceType == 3) { - if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } - } - return true; - } - if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { - return true; - } - let m1 = dart.getMixin(t1); - if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { - return true; - } - let getInterfaces = dart.getImplements(t1); - if (getInterfaces != null) { - for (let i1 of getInterfaces()) { - if (dart._isInterfaceSubtype(i1, t2, strictMode)) { - return true; - } - } - } - return false; -}; -dart.extractTypeArguments = function extractTypeArguments(T, instance, 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.")); - } - let type = T; - type = type.type || type; - if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { - dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); - } - let typeArguments = dart.getGenericArgs(type); - if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { - 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], 1860, 10, "supertype != null"); - let typeArgs = dart.getGenericArgs(supertype); - 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], 2223, 55, "supertype"); - if (core.identical(subtype, supertype)) return supertype; - if (subtype == null || subtype === core.Object) return null; - let subclass = dart.getGenericClass(subtype); - let superclass = dart.getGenericClass(supertype); - if (subclass != null && core.identical(subclass, superclass)) { - return subtype; - } - let result = dart._getMatchingSupertype(subtype.__proto__, supertype); - if (result != null) return result; - let mixin = dart.getMixin(subtype); - if (mixin != null) { - result = dart._getMatchingSupertype(mixin, supertype); - if (result != null) return result; - } - let getInterfaces = dart.getImplements(subtype); - if (getInterfaces != null) { - for (let iface of getInterfaces()) { - result = dart._getMatchingSupertype(iface, supertype); - if (result != null) return result; - } - } - 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], 40, 28, "message"); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); -}; -dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 45, 32, "message"); - throw Error(message); -}; -dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { - let names = dart.getOwnPropertyNames(obj); - let symbols = dart.getOwnPropertySymbols(obj); - return names.concat(symbols); -}; -dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { - if (obj.hasOwnProperty(name)) return obj[name]; -}; -dart.copyTheseProperties = function copyTheseProperties(to, from, names) { - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (dart.equals(name, "constructor")) continue; - dart.copyProperty(to, from, name); - } - return to; -}; -dart.copyProperty = function copyProperty(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - dart.defineProperty(to, name, desc); -}; -dart.export = function exportProperty(to, from, name) { - return dart.copyProperty(to, from, name); -}; -dart.copyProperties = function copyProperties(to, from) { - return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); -}; -dart._polyfilled = Symbol("_polyfilled"); -dart.global = (function() { - var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; - if (!globalState) { - globalState = new Function('return this;')(); - } - dart.polyfill(globalState); - if (globalState.Error) { - globalState.Error.stackTraceLimit = Infinity; - } - let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; - dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); - return globalState; -})(); -dart.JsSymbol = Symbol; -dart.libraryPrototype = dart.library; -dart.startAsyncSynchronously = true; -dart._cacheMaps = []; -dart.resetFields = []; -dart.hotRestartIteration = 0; -dart.addAsyncCallback = function() { -}; -dart.removeAsyncCallback = function() { -}; -dart.defineProperty = Object.defineProperty; -dart.defineAccessor = Object.defineProperty; -dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -dart.getOwnPropertyNames = Object.getOwnPropertyNames; -dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; -dart.getPrototypeOf = Object.getPrototypeOf; -dart._mixin = Symbol("mixin"); -dart.mixinOn = Symbol("mixinOn"); -dart.implements = Symbol("implements"); -dart._typeArguments = Symbol("typeArguments"); -dart._variances = Symbol("variances"); -dart._originalDeclaration = Symbol("originalDeclaration"); -dart.mixinNew = Symbol("dart.mixinNew"); -dart._constructorSig = Symbol("sigCtor"); -dart._methodSig = Symbol("sigMethod"); -dart._fieldSig = Symbol("sigField"); -dart._getterSig = Symbol("sigGetter"); -dart._setterSig = Symbol("sigSetter"); -dart._staticMethodSig = Symbol("sigStaticMethod"); -dart._staticFieldSig = Symbol("sigStaticField"); -dart._staticGetterSig = Symbol("sigStaticGetter"); -dart._staticSetterSig = Symbol("sigStaticSetter"); -dart._genericTypeCtor = Symbol("genericType"); -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"); -dart.isMap = Symbol("_is_Map"); -dart.isStream = Symbol("_is_Stream"); -dart.isStreamSubscription = Symbol("_is_StreamSubscription"); -dart.identityEquals = null; -dart._runtimeType = Symbol("_runtimeType"); -dart._moduleName = Symbol("_moduleName"); -dart._loadedModules = new Map(); -dart._loadedPartMaps = new Map(); -dart._loadedSourceMaps = new Map(); -dart._libraries = null; -dart._libraryObjects = null; -dart._parts = null; -dart._weakNullSafetyWarnings = false; -dart._weakNullSafetyErrors = false; -dart._nonNullAsserts = false; -dart._nativeNonNullAsserts = false; -dart.metadata = Symbol("metadata"); -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"); - } - static is(o) { - return o != null; - } - 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; - } - get hashCode() { - return core.identityHashCode(this); - } - toString() { - return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; - } - noSuchMethod(invocation) { - if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); - return dart.defaultNoSuchMethod(this, invocation); - } - 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() { - ; -}).prototype = core.Object.prototype; -dart.addTypeCaches(core.Object); -dart.setMethodSignature(core.Object, () => ({ - __proto__: Object.create(null), - _equals: dart.fnType(core.bool, [core.Object]), - [$_equals]: dart.fnType(core.bool, [core.Object]), - toString: dart.fnType(core.String, []), - [$toString]: dart.fnType(core.String, []), - 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, - [$hashCode]: core.int, - runtimeType: core.Type, - [$runtimeType]: core.Type -})); -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']); -dart.registerExtension("Object", core.Object); -dart.DartType = class DartType extends core.Object { - get name() { - return this[$toString](); - } - is(object) { - return dart.is(object, this); - } - as(object) { - return dart.as(object, this); - } - static ['_#new#tearOff']() { - return new dart.DartType.new(); - } -}; -(dart.DartType.new = function() { - { - dart.addTypeCaches(this); - } -}).prototype = dart.DartType.prototype; -dart.addTypeTests(dart.DartType); -dart.addTypeCaches(dart.DartType); -dart.DartType[dart.implements] = () => [core.Type]; -dart.setMethodSignature(dart.DartType, () => ({ - __proto__: dart.getMethods(dart.DartType.__proto__), - is: dart.fnType(core.bool, [dart.dynamic]), - as: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setGetterSignature(dart.DartType, () => ({ - __proto__: dart.getGetters(dart.DartType.__proto__), - name: core.String -})); -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); - ; -}).prototype = dart.NeverType.prototype; -dart.addTypeTests(dart.NeverType); -dart.addTypeCaches(dart.NeverType); -dart.setLibraryUri(dart.NeverType, I[10]); -dart.defineExtensionMethods(dart.NeverType, ['toString']); -dart.Never = new dart.NeverType.new(); -dart.DynamicType = class DynamicType extends dart.DartType { - toString() { - return "dynamic"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.DynamicType.new(); - } -}; -(dart.DynamicType.new = function() { - dart.DynamicType.__proto__.new.call(this); - ; -}).prototype = dart.DynamicType.prototype; -dart.addTypeTests(dart.DynamicType); -dart.addTypeCaches(dart.DynamicType); -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[10]); -dart.defineExtensionMethods(dart.DynamicType, ['toString']); -dart.dynamic = new dart.DynamicType.new(); -dart.VoidType = class VoidType extends dart.DartType { - toString() { - return "void"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.VoidType.new(); - } -}; -(dart.VoidType.new = function() { - dart.VoidType.__proto__.new.call(this); - ; -}).prototype = dart.VoidType.prototype; -dart.addTypeTests(dart.VoidType); -dart.addTypeCaches(dart.VoidType); -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[10]); -dart.defineExtensionMethods(dart.VoidType, ['toString']); -dart.void = new dart.VoidType.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"); -dart._stackTrace = Symbol("_stackTrace"); -dart.DartError = class DartError extends Error { - constructor(error) { - super(); - if (error == null) error = new core.NullThrownError.new(); - this[dart._thrownValue] = error; - if (error != null && typeof error == "object" && error[dart._jsError] == null) { - error[dart._jsError] = this; - } - } - get message() { - return dart.toString(this[dart._thrownValue]); - } -}; -dart.RethrownDartError = class RethrownDartError extends dart.DartError { - constructor(error, stackTrace) { - super(error); - this[dart._stackTrace] = stackTrace; - } - get message() { - return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; - } -}; -dart.constantMaps = new Map(); -dart.constantSets = new Map(); -dart._immutableSetConstructor = null; -dart._value = Symbol("_value"); -dart.constants = new Map(); -dart.constantLists = new Map(); -dart.identityHashCode_ = Symbol("_identityHashCode"); -dart.JsIterator = class JsIterator { - constructor(dartIterator) { - this.dartIterator = dartIterator; - } - next() { - let i = this.dartIterator; - let done = !i.moveNext(); - return {done: done, value: done ? void 0 : i.current}; - } -}; -dart.deferredImports = new Map(); -dart.defineLazy(dart, { - /*dart._assertInteropExpando*/get _assertInteropExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _assertInteropExpando(value) { - if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); - }, - /*dart.bottom*/get bottom() { - return core.Null; - }, - /*dart._typeVariablePool*/get _typeVariablePool() { - return T$.JSArrayOfTypeVariable().of([]); - } -}, false); -var type$ = dart.privateName(dart, "NullableType.type"); -dart.NullableType = class NullableType extends dart.DartType { - get type() { - return this[type$]; - } - 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) + "?"; - } - toString() { - return this.name; - } - is(obj) { - return obj == null || this.type.is(obj); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } -}; -(dart.NullableType.new = function(type) { - this[type$] = type; - dart.NullableType.__proto__.new.call(this); - ; -}).prototype = dart.NullableType.prototype; -dart.addTypeTests(dart.NullableType); -dart.addTypeCaches(dart.NullableType); -dart.setLibraryUri(dart.NullableType, I[10]); -dart.setFieldSignature(dart.NullableType, () => ({ - __proto__: dart.getFields(dart.NullableType.__proto__), - type: dart.finalFieldType(core.Type) -})); -dart.defineExtensionMethods(dart.NullableType, ['toString']); -var type$0 = dart.privateName(dart, "LegacyType.type"); -dart.LegacyType = class LegacyType extends dart.DartType { - get type() { - return this[type$0]; - } - 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); - } - toString() { - return this.name; - } - is(obj) { - if (obj == null) { - 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); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } -}; -(dart.LegacyType.new = function(type) { - this[type$0] = type; - dart.LegacyType.__proto__.new.call(this); - ; -}).prototype = dart.LegacyType.prototype; -dart.addTypeTests(dart.LegacyType); -dart.addTypeCaches(dart.LegacyType); -dart.setLibraryUri(dart.LegacyType, I[10]); -dart.setFieldSignature(dart.LegacyType, () => ({ - __proto__: dart.getFields(dart.LegacyType.__proto__), - type: dart.finalFieldType(core.Type) -})); -dart.defineExtensionMethods(dart.LegacyType, ['toString']); -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); - ; -}).prototype = dart.BottomType.prototype; -dart.addTypeTests(dart.BottomType); -dart.addTypeCaches(dart.BottomType); -dart.setLibraryUri(dart.BottomType, I[10]); -dart.defineExtensionMethods(dart.BottomType, ['toString']); -core.Type = class Type extends core.Object {}; -(core.Type.new = function() { - ; -}).prototype = core.Type.prototype; -dart.addTypeTests(core.Type); -dart.addTypeCaches(core.Type); -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$]); - } - get runtimeType() { - return dart.wrapType(core.Type); - } -}; -(dart._Type.new = function(_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[10]); -dart.setFieldSignature(dart._Type, () => ({ - __proto__: dart.getFields(dart._Type.__proto__), - [_type$]: dart.finalFieldType(core.Object) -})); -dart.defineExtensionMethods(dart._Type, ['toString']); -dart.defineExtensionAccessors(dart._Type, ['runtimeType']); -dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; -(dart.AbstractFunctionType.new = function() { - dart.AbstractFunctionType.__proto__.new.call(this); - ; -}).prototype = dart.AbstractFunctionType.prototype; -dart.addTypeTests(dart.AbstractFunctionType); -dart.addTypeCaches(dart.AbstractFunctionType); -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"); -var named$ = dart.privateName(dart, "FunctionType.named"); -var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); -var _stringValue = dart.privateName(dart, "_stringValue"); -var _createNameMap = dart.privateName(dart, "_createNameMap"); -dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { - get returnType() { - return this[returnType$]; - } - set returnType(value) { - super.returnType = value; - } - get args() { - return this[args$]; - } - set args(value) { - super.args = value; - } - get optionals() { - return this[optionals$]; - } - set optionals(value) { - super.optionals = value; - } - get named() { - return this[named$]; - } - set named(value) { - super.named = value; - } - get requiredNamed() { - return this[requiredNamed$]; - } - set requiredNamed(value) { - super.requiredNamed = value; - } - static create(returnType, args, optionalArgs, requiredNamedArgs) { - 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); - } - args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); - let keys = []; - let create = null; - if (noOptionalArgs) { - keys = [returnType, args]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); - } else if (optionalArgs instanceof Array) { - let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); - keys = [returnType, args, optionals]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); - } else { - let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); - let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); - keys = [returnType, args, named, requiredNamed]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); - } - 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; - } - get requiredParameterCount() { - return this.args[$length]; - } - get positionalParameterCount() { - return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); - } - getPositionalParameter(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], 782, 52, "names"); - let result = new (T$.IdentityMapOfString$Object()).new(); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - let name = names[i]; - result[$_set](name, this.named[name]); - } - return result; - } - getNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); - } - getRequiredNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); - } - get name() { - if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); - let buffer = "("; - for (let i = 0; i < this.args.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.args[i]); - } - if (this.optionals.length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "["; - for (let i = 0; i < this.optionals.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.optionals[i]); - } - buffer = buffer + "]"; - } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "{"; - let names = dart.getOwnPropertyNames(this.named); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.named[names[i]]); - buffer = buffer + (typeNameString + " " + dart.str(names[i])); - } - if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; - names = dart.getOwnPropertyNames(this.requiredNamed); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.requiredNamed[names[i]]); - buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); - } - buffer = buffer + "}"; - } - let returnTypeName = dart.typeName(this.returnType); - buffer = buffer + (") => " + returnTypeName); - this[_stringValue] = buffer; - return buffer; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - 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.FunctionType.new = function(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"); - this[_stringValue] = null; - this[returnType$] = returnType; - this[args$] = args; - this[optionals$] = optionals; - this[named$] = named; - this[requiredNamed$] = requiredNamed; - dart.FunctionType.__proto__.new.call(this); - ; -}).prototype = dart.FunctionType.prototype; -dart.addTypeTests(dart.FunctionType); -dart.addTypeCaches(dart.FunctionType); -dart.setMethodSignature(dart.FunctionType, () => ({ - __proto__: dart.getMethods(dart.FunctionType.__proto__), - getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), - [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), - 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[10]); -dart.setFieldSignature(dart.FunctionType, () => ({ - __proto__: dart.getFields(dart.FunctionType.__proto__), - returnType: dart.finalFieldType(core.Type), - args: dart.finalFieldType(core.List), - optionals: dart.finalFieldType(core.List), - named: dart.finalFieldType(dart.dynamic), - requiredNamed: dart.finalFieldType(dart.dynamic), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart.FunctionType, ['toString']); -var name$ = dart.privateName(dart, "TypeVariable.name"); -dart.TypeVariable = class TypeVariable extends dart.DartType { - get name() { - return this[name$]; - } - 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], 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[10]); -dart.setFieldSignature(dart.TypeVariable, () => ({ - __proto__: dart.getFields(dart.TypeVariable.__proto__), - name: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(dart.TypeVariable, ['toString']); -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[10]); -dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); -dart.defineLazy(dart.Variance, { - /*dart.Variance.unrelated*/get unrelated() { - return 0; - }, - /*dart.Variance.covariant*/get covariant() { - return 1; - }, - /*dart.Variance.contravariant*/get contravariant() { - return 2; - }, - /*dart.Variance.invariant*/get invariant() { - return 3; - } -}, false); -var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); -var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); -var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); -dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { - get typeFormals() { - return this[typeFormals$]; - } - set typeFormals(value) { - super.typeFormals = value; - } - get typeBounds() { - return this[typeBounds$]; - } - set typeBounds(value) { - super.typeBounds = value; - } - get function() { - return this[$function$]; - } - 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 = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.typeBounds; - for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { - 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) || true && bound === core.Object) { - continue; - } - s = s + (" extends " + dart.str(bound)); - } - s = s + (">" + dart.notNull(dart.toString(this.function))); - return this[_stringValue] = s; - } -}; -(dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); - this[_stringValue] = null; - this[typeFormals$] = typeFormals; - this[typeBounds$] = typeBounds; - this[$function$] = $function; - dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); - ; -}).prototype = dart.GenericFunctionTypeIdentifier.prototype; -dart.addTypeTests(dart.GenericFunctionTypeIdentifier); -dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); -dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); -dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ - __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), - typeFormals: dart.finalFieldType(dart.dynamic), - typeBounds: dart.finalFieldType(dart.dynamic), - function: dart.finalFieldType(dart.FunctionType), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); -var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); -var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); -var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); -var _typeFormals = dart.privateName(dart, "_typeFormals"); -dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { - get formalCount() { - return this[formalCount]; - } - set formalCount(value) { - super.formalCount = value; - } - static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { - return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); - } - get typeFormals() { - return this[_typeFormals]; - } - get hasTypeBounds() { - return this[_instantiateTypeBounds$] != null; - } - checkBounds(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; - for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { - dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); - } - } - instantiate(typeArgs) { - let parts = this[_instantiateTypeParts].apply(null, typeArgs); - return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); - } - instantiateTypeBounds(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)); - } - return this[_instantiateTypeBounds$].apply(null, typeArgs); - } - toString() { - let s = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { - if (i !== 0) s = s + ", "; - s = s + typeFormals[i].name; - let bound = typeBounds[$_get](i); - if (bound !== dart.dynamic && bound !== core.Object) { - s = s + (" extends " + dart.str(bound)); - } - } - s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); - return s; - } - instantiateDefaultBounds() { - function defaultsToDynamic(type) { - if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { - return type.type === core.Object; - } - return false; - } - let typeFormals = this.typeFormals; - let all = new (T$.IdentityMapOfTypeVariable$int()).new(); - let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); - let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { - let typeFormal = typeFormals[$_get](i); - let bound = typeBounds[$_get](i); - all[$_set](typeFormal, i); - if (dart.test(defaultsToDynamic(bound))) { - defaults[$_set](i, dart.dynamic); - } else { - defaults[$_set](i, typeFormal); - partials[$_set](typeFormal, bound); - } - } - function hasFreeFormal(t) { - if (dart.test(partials[$containsKey](t))) return true; - if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { - return hasFreeFormal(t.type); - } - let typeArgs = dart.getGenericArgs(t); - if (typeArgs != null) return typeArgs[$any](hasFreeFormal); - if (dart.GenericFunctionType.is(t)) { - return hasFreeFormal(t.instantiate(t.typeFormals)); - } - if (dart.FunctionType.is(t)) { - return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); - } - return false; - } - let hasProgress = true; - while (hasProgress) { - hasProgress = false; - for (let typeFormal of partials[$keys]) { - let partialBound = dart.nullCheck(partials[$_get](typeFormal)); - if (!dart.test(hasFreeFormal(partialBound))) { - let index = dart.nullCheck(all[$_get](typeFormal)); - defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); - partials[$remove](typeFormal); - hasProgress = true; - break; - } - } - } - if (dart.test(partials[$isNotEmpty])) { - dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); - } - return defaults; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - return actual != null && dart.isSubtypeOf(actual, this); - } - return false; - } - as(obj) { - if (this.is(obj)) return obj; - return dart.as(obj, this); - } -}; -(dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { - this[_instantiateTypeBounds$] = _instantiateTypeBounds; - this[_instantiateTypeParts] = instantiateTypeParts; - this[formalCount] = instantiateTypeParts.length; - this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); - dart.GenericFunctionType.__proto__.new.call(this); - ; -}).prototype = dart.GenericFunctionType.prototype; -dart.addTypeTests(dart.GenericFunctionType); -dart.addTypeCaches(dart.GenericFunctionType); -dart.setMethodSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), - checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), - instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), - instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), - instantiateDefaultBounds: dart.fnType(core.List, []) -})); -dart.setGetterSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), - typeFormals: core.List$(dart.TypeVariable), - hasTypeBounds: core.bool -})); -dart.setLibraryUri(dart.GenericFunctionType, I[10]); -dart.setFieldSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getFields(dart.GenericFunctionType.__proto__), - [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), - formalCount: dart.finalFieldType(core.int), - [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), - [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) -})); -dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); -var _typeVariables = dart.privateName(dart, "_typeVariables"); -var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); -var _constrainLower = dart.privateName(dart, "_constrainLower"); -var _constrainUpper = dart.privateName(dart, "_constrainUpper"); -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]) { - if (constraint.lower != null) { - result[$add](dart.nullCheck(constraint.lower)); - } else if (constraint.upper != null) { - result[$add](dart.nullCheck(constraint.upper)); - } else { - return null; - } - } - return result; - } - trySubtypeMatch(subtype, 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], 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], 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 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; - } - if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { - return false; - } - if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { - return false; - } - for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { - return false; - } - } - let supertypeNamed = supertype.getNamedParameters(); - let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); - let subtypeNamed = supertype.getNamedParameters(); - let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - { - supertypeNamed = (() => { - let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); - t0[$addAll](supertypeRequiredNamed); - return t0; - })(); - subtypeNamed = (() => { - let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); - t1[$addAll](subtypeRequiredNamed); - return t1; - })(); - supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - } - for (let name of subtypeRequiredNamed[$keys]) { - let supertypeParamType = supertypeRequiredNamed[$_get](name); - if (supertypeParamType == null) return false; - } - for (let name of supertypeNamed[$keys]) { - let subtypeParamType = subtypeNamed[$_get](name); - if (subtypeParamType == null) return false; - if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { - return false; - } - } - for (let name of supertypeRequiredNamed[$keys]) { - 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; - } - } - return true; - } - [_isInterfaceSubtypeMatch](subtype, 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)); - let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); - for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { - return false; - } - } - return true; - } - [_isSubtypeMatch](subtype, 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; - } - if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { - this[_constrainLower](supertype, subtype); - return true; - } - if (core.identical(subtype, supertype)) return true; - if (dart.test(this[_isTop$](supertype))) return true; - if (subtype === core.Null) return true; - if (dart._isFutureOr(subtype)) { - let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); - } - let subtypeFuture = async.Future$(subtypeArg); - return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); - } - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - let supertypeFuture = async.Future$(supertypeArg); - return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); - } - if (dart.TypeVariable.is(subtype)) { - return dart.TypeVariable.is(supertype) && subtype == supertype; - } - if (dart.GenericFunctionType.is(subtype)) { - if (dart.GenericFunctionType.is(supertype)) { - let formalCount = subtype.formalCount; - 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 < formalCount; i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { - return false; - } - } - return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); - } else { - return false; - } - } else if (dart.GenericFunctionType.is(supertype)) { - return false; - } - if (dart.FunctionType.is(subtype)) { - if (!dart.FunctionType.is(supertype)) { - if (supertype === core.Function || supertype === core.Object) { - return true; - } else { - return false; - } - } - if (dart.FunctionType.is(supertype)) { - return this[_isFunctionSubtypeMatch](subtype, supertype); - } - } - return this[_isInterfaceSubtypeMatch](subtype, supertype); - } - [_isTop$](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], 1873, 40, "typeVariables"); - this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); - return new dart.TypeConstraint.new(); - })); - ; -}).prototype = dart._TypeInferrer.prototype; -dart.addTypeTests(dart._TypeInferrer); -dart.addTypeCaches(dart._TypeInferrer); -dart.setMethodSignature(dart._TypeInferrer, () => ({ - __proto__: dart.getMethods(dart._TypeInferrer.__proto__), - getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), - trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), - [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), - [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isTop$]: dart.fnType(core.bool, [core.Object]) -})); -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)) -})); -var lower = dart.privateName(dart, "TypeConstraint.lower"); -var upper = dart.privateName(dart, "TypeConstraint.upper"); -dart.TypeConstraint = class TypeConstraint extends core.Object { - get lower() { - return this[lower]; - } - set lower(value) { - this[lower] = value; - } - get upper() { - return this[upper]; - } - set upper(value) { - this[upper] = value; - } - [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); - let _lower = this.lower; - if (_lower != null) { - if (dart.isSubtypeOf(_lower, type)) { - return; - } - if (!dart.isSubtypeOf(type, _lower)) { - type = core.Null; - } - } - this.lower = type; - } - [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); - let _upper = this.upper; - if (_upper != null) { - if (dart.isSubtypeOf(type, _upper)) { - return; - } - if (!dart.isSubtypeOf(_upper, type)) { - type = core.Object; - } - } - this.upper = type; - } - 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; - this[upper] = null; - ; -}).prototype = dart.TypeConstraint.prototype; -dart.addTypeTests(dart.TypeConstraint); -dart.addTypeCaches(dart.TypeConstraint); -dart.setMethodSignature(dart.TypeConstraint, () => ({ - __proto__: dart.getMethods(dart.TypeConstraint.__proto__), - [_constrainLower]: dart.fnType(dart.void, [core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [core.Object]) -})); -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$]; - let trace = ""; - if (e != null && typeof e === "object") { - trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; - let mapper = _debugger.stackTraceMapper; - if (trace != null && mapper != null) { - trace = mapper(trace); - } - } - if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { - let jsToString = null; - try { - jsToString = "" + this[_jsObjectMissingTrace]; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - jsToString = ""; - } else - throw e$; - } - trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); - } - return this[_trace] = trace; - } -}; -(dart._StackTrace.new = function(_jsError) { - this[_trace] = null; - this[_jsError$] = _jsError; - this[_jsObjectMissingTrace] = null; - ; -}).prototype = dart._StackTrace.prototype; -(dart._StackTrace.missing = function(caughtObj) { - this[_trace] = null; - this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; - this[_jsError$] = Error(); - ; -}).prototype = dart._StackTrace.prototype; -dart.addTypeTests(dart._StackTrace); -dart.addTypeCaches(dart._StackTrace); -dart._StackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(dart._StackTrace, I[10]); -dart.setFieldSignature(dart._StackTrace, () => ({ - __proto__: dart.getFields(dart._StackTrace.__proto__), - [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), - [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), - [_trace]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart._StackTrace, ['toString']); -var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); -var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); -var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); -var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); -var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); -var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); -var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); -var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); -let const$; -let const$0; -dart.defineLazy(CT, { - get C0() { - return C[0] = dart.const({ - __proto__: _internal.SentinelValue.prototype, - [SentinelValue_id]: 0 - }); - }, - get C1() { - return C[1] = dart.constList([], T$.TypeL()); - }, - get C2() { - return C[2] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); - }, - get C3() { - return C[3] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" - }); - }, - get C4() { - return C[4] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" - }); - }, - get C5() { - return C[5] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" - }); - }, - get C6() { - return C[6] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" - }); - }, - get C7() { - return C[7] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" - }); - }, - get C8() { - return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); - }, - get C9() { - return C[9] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); - }, - get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); - }, - get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); - }, - get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); - }, - get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); - }, - get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); - }, - get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); - }, - get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); - }, - get C17() { - return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); - }, - get C18() { - return C[18] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); - }, - get C19() { - return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); - }, - get C20() { - return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); - }, - get C21() { - return C[21] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); - }, - get C22() { - 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({ - __proto__: _internal._Patch.prototype - }); - }, - get C24() { - return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); - }, - get C25() { - 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('_arguments', _arguments$0)); - }, - get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); - }, - get C28() { - return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); - }, - get C29() { - return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); - }, - get C30() { - return C[30] = dart.applyExtensionForTesting; - }, - get C31() { - return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); - }, - get C32() { - return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); - }, - get C33() { - return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); - }, - get C34() { - return C[34] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); - }, - get C35() { - return C[35] = dart.const({ - __proto__: _js_helper._Undefined.prototype - }); - }, - get C36() { - return C[36] = dart.const({ - __proto__: _js_helper._NullCheck.prototype - }); - }, - get C37() { - return C[37] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false - }); - }, - get C38() { - return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); - }, - get C39() { - return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); - }, - get C40() { - return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); - }, - get C41() { - return C[41] = dart.const({ - __proto__: async._DelayedDone.prototype - }); - }, - get C42() { - return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); - }, - get C43() { - return C[43] = async._AsyncRun._scheduleImmediateJSOverride; - }, - get C44() { - return C[44] = async._AsyncRun._scheduleImmediateWithPromise; - }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RootZone.prototype - }); - }, - get C47() { - return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); - }, - get C46() { - return C[46] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, - [$function$0]: C[47] || CT.C47, - [zone$]: C[45] || CT.C45 - }); - }, - get C49() { - return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); - }, - 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 C51() { - return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); - }, - 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 C53() { - return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); - }, - get C52() { - return C[52] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, - [$function$0]: C[53] || CT.C53, - [zone$]: C[45] || CT.C45 - }); - }, - get C55() { - return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); - }, - 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 C57() { - return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); - }, - 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 C59() { - return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); - }, - get C58() { - return C[58] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[59] || CT.C59, - [zone$]: C[45] || CT.C45 - }); - }, - get C61() { - return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); - }, - get C60() { - return C[60] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[61] || CT.C61, - [zone$]: C[45] || CT.C45 - }); - }, - get C63() { - return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); - }, - get C62() { - return C[62] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[63] || CT.C63, - [zone$]: C[45] || CT.C45 - }); - }, - get C65() { - return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); - }, - get C64() { - return C[64] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[65] || CT.C65, - [zone$]: C[45] || CT.C45 - }); - }, - get C67() { - return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); - }, - get C66() { - return C[66] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[67] || CT.C67, - [zone$]: C[45] || CT.C45 - }); - }, - get C69() { - return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); - }, - get C68() { - return C[68] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[69] || CT.C69, - [zone$]: C[45] || CT.C45 - }); - }, - get C71() { - return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); - }, - get C70() { - return C[70] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[71] || CT.C71, - [zone$]: C[45] || CT.C45 - }); - }, - get C72() { - return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); - }, - get C73() { - 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, - [createPeriodicTimer$]: null, - [createTimer$]: null, - [scheduleMicrotask$]: null, - [errorCallback$]: null, - [registerBinaryCallback$]: null, - [registerUnaryCallback$]: null, - [registerCallback$]: null, - [runBinary$]: null, - [runUnary$]: null, - [run$]: null, - [handleUncaughtError$]: null - }); - }, - get C76() { - return C[76] = dart.hashCode; - }, - get C77() { - return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); - }, - get C78() { - return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); - }, - get C79() { - return C[79] = dart.equals; - }, - get C80() { - 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 C88() { - return C[88] = dart.const({ - __proto__: convert.AsciiDecoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 127, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C89() { - return C[89] = dart.const({ - __proto__: convert.AsciiEncoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 127 - }); - }, - get C90() { - return C[90] = dart.constList([239, 191, 189], T$0.intL()); - }, - get C91() { - return C[91] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: false - }); - }, - get C92() { - return C[92] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: true - }); - }, - get C93() { - return C[93] = dart.const({ - __proto__: convert.Base64Decoder.prototype - }); - }, - get C94() { - return C[94] = dart.constList([], T$0.intL()); - }, - get C95() { - return C[95] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: true, - [escapeApos$]: true, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "unknown" - }); - }, - get C96() { - return C[96] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C97() { - return C[97] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: true, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C98() { - return C[98] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "element" - }); - }, - get C99() { - return C[99] = dart.const({ - __proto__: convert.JsonEncoder.prototype, - [JsonEncoder__toEncodable]: null, - [JsonEncoder_indent]: null - }); - }, - get C100() { - return C[100] = dart.const({ - __proto__: convert.JsonDecoder.prototype, - [JsonDecoder__reviver]: null - }); - }, - get C101() { - return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); - }, - get C102() { - return C[102] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: true - }); - }, - get C103() { - return C[103] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C104() { - return C[104] = dart.const({ - __proto__: convert.Latin1Encoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 255 - }); - }, - get C105() { - return C[105] = dart.constList([65533], T$0.intL()); - }, - get C106() { - return C[106] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: true - }); - }, - get C107() { - return C[107] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: false - }); - }, - get C108() { - return C[108] = dart.const({ - __proto__: convert.Utf8Encoder.prototype - }); - }, - get C109() { - return C[109] = dart.const({ - __proto__: convert.AsciiCodec.prototype, - [_allowInvalid]: false - }); - }, - get C110() { - return C[110] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[91] || CT.C91 - }); - }, - get C111() { - return C[111] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[92] || CT.C92 - }); - }, - get C112() { - return C[112] = dart.const({ - __proto__: convert.HtmlEscape.prototype, - [mode$]: C[95] || CT.C95 - }); - }, - get C113() { - return C[113] = dart.const({ - __proto__: convert.JsonCodec.prototype, - [_toEncodable]: null, - [_reviver]: null - }); - }, - get C114() { - return C[114] = dart.const({ - __proto__: convert.Latin1Codec.prototype, - [_allowInvalid$1]: false - }); - }, - get C115() { - return C[115] = dart.const({ - __proto__: convert.Utf8Codec.prototype, - [_allowMalformed]: false - }); - }, - get C116() { - return C[116] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 0 - }); - }, - get C117() { - return C[117] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 1 - }); - }, - get C118() { - return C[118] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 2 - }); - }, - get C119() { - return C[119] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 3 - }); - }, - get C120() { - return C[120] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 4 - }); - }, - get C121() { - return C[121] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 1 - }); - }, - get C122() { - return C[122] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 2 - }); - }, - get C123() { - return C[123] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 3 - }); - }, - get C124() { - return C[124] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 4 - }); - }, - get C125() { - return C[125] = dart.const({ - __proto__: convert.LineSplitter.prototype - }); - }, - get C126() { - return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C127() { - return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C128() { - return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); - }, - get C129() { - return C[129] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 0 - }); - }, - get C130() { - return C[130] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 1 - }); - }, - get C131() { - return C[131] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 2 - }); - }, - get C132() { - return C[132] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 3 - }); - }, - get C133() { - return C[133] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 4 - }); - }, - get C134() { - return C[134] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 5 - }); - }, - 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 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, - [_Enum__name]: "startTime", - [_Enum_index]: 0 - }); - }, - get C139() { - return C[139] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "endTime", - [_Enum_index]: 1 - }); - }, - get C140() { - return C[140] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "address", - [_Enum_index]: 2 - }); - }, - get C141() { - return C[141] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "port", - [_Enum_index]: 3 - }); - }, - get C142() { - return C[142] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "socketType", - [_Enum_index]: 4 - }); - }, - get C143() { - return C[143] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "readBytes", - [_Enum_index]: 5 - }); - }, - get C144() { - return C[144] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "writeBytes", - [_Enum_index]: 6 - }); - }, - 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 C147() { - return C[147] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 0 - }); - }, - get C148() { - return C[148] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 1 - }); - }, - get C149() { - return C[149] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 2 - }); - }, - get C150() { - return C[150] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 3 - }); - }, - 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 C151() { - return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); - }, - get C152() { - return C[152] = dart.const({ - __proto__: io.SystemEncoding.prototype - }); - }, - get C153() { - return C[153] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTERM", - [ProcessSignal__signalNumber]: 15 - }); - }, - get C154() { - return C[154] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGHUP", - [ProcessSignal__signalNumber]: 1 - }); - }, - get C155() { - return C[155] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGINT", - [ProcessSignal__signalNumber]: 2 - }); - }, - get C156() { - return C[156] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGQUIT", - [ProcessSignal__signalNumber]: 3 - }); - }, - get C157() { - return C[157] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGILL", - [ProcessSignal__signalNumber]: 4 - }); - }, - get C158() { - return C[158] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTRAP", - [ProcessSignal__signalNumber]: 5 - }); - }, - get C159() { - return C[159] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGABRT", - [ProcessSignal__signalNumber]: 6 - }); - }, - get C160() { - return C[160] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGBUS", - [ProcessSignal__signalNumber]: 7 - }); - }, - get C161() { - return C[161] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGFPE", - [ProcessSignal__signalNumber]: 8 - }); - }, - get C162() { - return C[162] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGKILL", - [ProcessSignal__signalNumber]: 9 - }); - }, - get C163() { - return C[163] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR1", - [ProcessSignal__signalNumber]: 10 - }); - }, - get C164() { - return C[164] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSEGV", - [ProcessSignal__signalNumber]: 11 - }); - }, - get C165() { - return C[165] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR2", - [ProcessSignal__signalNumber]: 12 - }); - }, - get C166() { - return C[166] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPIPE", - [ProcessSignal__signalNumber]: 13 - }); - }, - get C167() { - return C[167] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGALRM", - [ProcessSignal__signalNumber]: 14 - }); - }, - get C168() { - return C[168] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCHLD", - [ProcessSignal__signalNumber]: 17 - }); - }, - get C169() { - return C[169] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCONT", - [ProcessSignal__signalNumber]: 18 - }); - }, - get C170() { - return C[170] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSTOP", - [ProcessSignal__signalNumber]: 19 - }); - }, - get C171() { - return C[171] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTSTP", - [ProcessSignal__signalNumber]: 20 - }); - }, - get C172() { - return C[172] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTIN", - [ProcessSignal__signalNumber]: 21 - }); - }, - get C173() { - return C[173] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTOU", - [ProcessSignal__signalNumber]: 22 - }); - }, - get C174() { - return C[174] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGURG", - [ProcessSignal__signalNumber]: 23 - }); - }, - get C175() { - return C[175] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXCPU", - [ProcessSignal__signalNumber]: 24 - }); - }, - get C176() { - return C[176] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXFSZ", - [ProcessSignal__signalNumber]: 25 - }); - }, - get C177() { - return C[177] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGVTALRM", - [ProcessSignal__signalNumber]: 26 - }); - }, - get C178() { - return C[178] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPROF", - [ProcessSignal__signalNumber]: 27 - }); - }, - get C179() { - return C[179] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGWINCH", - [ProcessSignal__signalNumber]: 28 - }); - }, - get C180() { - return C[180] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPOLL", - [ProcessSignal__signalNumber]: 29 - }); - }, - get C181() { - return C[181] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSYS", - [ProcessSignal__signalNumber]: 31 - }); - }, - get C182() { - return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); - }, - get C183() { - return C[183] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 0 - }); - }, - get C184() { - return C[184] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 1 - }); - }, - get C185() { - return C[185] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 2 - }); - }, - get C186() { - return C[186] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 3 - }); - }, - get C187() { - return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); - }, - get C188() { - return C[188] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 0 - }); - }, - get C189() { - return C[189] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 1 - }); - }, - get C190() { - return C[190] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 2 - }); - }, - get C191() { - return C[191] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: -1 - }); - }, - get C192() { - return C[192] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 0 - }); - }, - get C193() { - return C[193] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 1 - }); - }, - get C194() { - return C[194] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 2 - }); - }, - get C195() { - return C[195] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 0 - }); - }, - get C196() { - return C[196] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 1 - }); - }, - get C197() { - return C[197] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 2 - }); - }, - get C198() { - return C[198] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 3 - }); - }, - get C199() { - return C[199] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 4 - }); - }, - get C201() { - return C[201] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "SOL_SOCKET", - [_Enum_index]: 0 - }); - }, - get C202() { - return C[202] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IP", - [_Enum_index]: 1 - }); - }, - get C203() { - return C[203] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IP_MULTICAST_IF", - [_Enum_index]: 2 - }); - }, - get C204() { - return C[204] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IPV6", - [_Enum_index]: 3 - }); - }, - get C205() { - return C[205] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPV6_MULTICAST_IF", - [_Enum_index]: 4 - }); - }, - get C206() { - return C[206] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_TCP", - [_Enum_index]: 5 - }); - }, - get C207() { - return C[207] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_UDP", - [_Enum_index]: 6 - }); - }, - 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 C208() { - return C[208] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "terminal" - }); - }, - get C209() { - return C[209] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "pipe" - }); - }, - get C210() { - return C[210] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "file" - }); - }, - get C211() { - return C[211] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "other" - }); - }, - get C212() { - return C[212] = dart.const({ - __proto__: io._WindowsCodePageEncoder.prototype - }); - }, - get C213() { - return C[213] = dart.const({ - __proto__: io._WindowsCodePageDecoder.prototype - }); - }, - get C214() { - return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); - }, - get C215() { - return C[215] = dart.const({ - __proto__: io.ZLibCodec.prototype, - [dictionary$]: null, - [raw$]: false, - [windowBits$]: 15, - [strategy$]: 0, - [memLevel$]: 8, - [level$]: 6, - [gzip$]: false - }); - }, - get C216() { - return C[216] = dart.const({ - __proto__: io.GZipCodec.prototype, - [raw$0]: false, - [dictionary$0]: null, - [windowBits$0]: 15, - [strategy$0]: 0, - [memLevel$0]: 8, - [level$0]: 6, - [gzip$0]: true - }); - }, - get C217() { - return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); - }, - get C218() { - return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); - }, - get C219() { - return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); - }, - get C220() { - return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); - }, - get C221() { - return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); - }, - get C222() { - return C[222] = dart.const({ - __proto__: math._JSRandom.prototype - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: true - }); - }, - get C224() { - return C[224] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C226() { - return C[226] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "versionchange" - }); - }, - get C228() { - return C[228] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "success" - }); - }, - get C229() { - return C[229] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blocked" - }); - }, - get C230() { - return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C231() { - return C[231] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C232() { - return C[232] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C233() { - return C[233] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "JSExtendableArray|=Object|num|String" - }); - }, - get C234() { - 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._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 - }); - }, - get C238() { - return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C237() { - return C[237] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 - }); - }, - get C239() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" - }); - }, - get C241() { - return C[241] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" - }); - }, - get C242() { - return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" - }); - }, - get C243() { - return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" - }); - }, - get C244() { - return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); - }, - get C245() { - return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" - }); - }, - get C246() { - return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); - }, - get C247() { - return C[247] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C248() { - return C[248] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" - }); - }, - get C249() { - return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); - }, - get C250() { - return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" - }); - }, - get C251() { - return C[251] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" - }); - }, - get C252() { - return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" - }); - }, - get C253() { - return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" - }); - }, - get C254() { - return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" - }); - }, - get C255() { - return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" - }); - }, - get C256() { - return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" - }); - }, - get C257() { - return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" - }); - }, - get C258() { - return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" - }); - }, - get C259() { - return C[259] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" - }); - }, - get C260() { - return C[260] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" - }); - }, - get C261() { - return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" - }); - }, - get C262() { - return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" - }); - }, - get C263() { - return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" - }); - }, - get C264() { - return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" - }); - }, - get C265() { - return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" - }); - }, - get C266() { - return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" - }); - }, - get C267() { - return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" - }); - }, - get C268() { - return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" - }); - }, - get C269() { - return C[269] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" - }); - }, - get C270() { - return C[270] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" - }); - }, - get C271() { - return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" - }); - }, - get C272() { - return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" - }); - }, - get C273() { - return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" - }); - }, - get C274() { - return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" - }); - }, - get C275() { - return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" - }); - }, - get C276() { - return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" - }); - }, - get C277() { - return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" - }); - }, - get C278() { - return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" - }); - }, - get C279() { - return C[279] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" - }); - }, - get C280() { - return C[280] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" - }); - }, - get C281() { - return C[281] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" - }); - }, - get C282() { - return C[282] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" - }); - }, - get C283() { - return C[283] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" - }); - }, - get C284() { - return C[284] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" - }); - }, - get C285() { - return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" - }); - }, - get C286() { - return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" - }); - }, - get C287() { - return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" - }); - }, - get C288() { - return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" - }); - }, - get C289() { - return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" - }); - }, - get C290() { - return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" - }); - }, - get C291() { - return C[291] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" - }); - }, - get C292() { - return C[292] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" - }); - }, - get C293() { - return C[293] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" - }); - }, - get C294() { - return C[294] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" - }); - }, - get C295() { - return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" - }); - }, - get C296() { - return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" - }); - }, - get C297() { - return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" - }); - }, - get C298() { - return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" - }); - }, - get C299() { - return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" - }); - }, - get C300() { - return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" - }); - }, - get C301() { - return C[301] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" - }); - }, - get C302() { - return C[302] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" - }); - }, - get C303() { - return C[303] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" - }); - }, - get C304() { - return C[304] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" - }); - }, - get C305() { - return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" - }); - }, - get C306() { - return C[306] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" - }); - }, - get C307() { - return C[307] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" - }); - }, - get C308() { - return C[308] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" - }); - }, - get C309() { - return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" - }); - }, - get C310() { - return C[310] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" - }); - }, - get C311() { - return C[311] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" - }); - }, - get C312() { - return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" - }); - }, - get C313() { - return C[313] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" - }); - }, - get C314() { - return C[314] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" - }); - }, - get C315() { - return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" - }); - }, - get C316() { - return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" - }); - }, - get C317() { - return C[317] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" - }); - }, - get C318() { - return C[318] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" - }); - }, - get C319() { - return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C320() { - return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" - }); - }, - get C321() { - return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" - }); - }, - get C322() { - return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" - }); - }, - get C323() { - return C[323] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" - }); - }, - get C324() { - return C[324] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" - }); - }, - get C325() { - return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" - }); - }, - get C326() { - return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" - }); - }, - get C327() { - return C[327] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" - }); - }, - get C328() { - return C[328] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" - }); - }, - get C329() { - return C[329] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" - }); - }, - get C330() { - return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" - }); - }, - get C331() { - return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" - }); - }, - get C332() { - return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" - }); - }, - get C333() { - return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" - }); - }, - get C334() { - return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" - }); - }, - get C335() { - return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" - }); - }, - get C336() { - return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" - }); - }, - get C337() { - return C[337] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" - }); - }, - get C338() { - return C[338] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" - }); - }, - get C339() { - return C[339] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" - }); - }, - get C340() { - return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" - }); - }, - get C341() { - return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C342() { - return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C343() { - return C[343] = dart.const({ - __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]: "loadstart" - }); - }, - get C346() { - return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" - }); - }, - get C347() { - return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" - }); - }, - get C348() { - return C[348] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" - }); - }, - get C349() { - return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" - }); - }, - get C350() { - return C[350] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" - }); - }, - get C351() { - return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" - }); - }, - get C352() { - return C[352] = dart.const({ - __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._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 - }); - }, - get C355() { - return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" - }); - }, - get C356() { - return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C357() { - return C[357] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" - }); - }, - get C358() { - return C[358] = dart.constList([], T$0.MessagePortL()); - }, - get C359() { - return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" - }); - }, - get C360() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C362() { - return C[362] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" - }); - }, - get C363() { - return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C364() { - return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" - }); - }, - get C365() { - return C[365] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connectionstatechange" - }); - }, - get C366() { - return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" - }); - }, - get C367() { - return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" - }); - }, - get C368() { - return C[368] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" - }); - }, - get C369() { - return C[369] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); - }, - get C370() { - return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" - }); - }, - get C371() { - return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); - }, - get C372() { - return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" - }); - }, - get C373() { - return C[373] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" - }); - }, - get C374() { - return C[374] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" - }); - }, - get C375() { - return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" - }); - }, - get C376() { - return C[376] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" - }); - }, - get C377() { - return C[377] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" - }); - }, - get C378() { - return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" - }); - }, - get C379() { - return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" - }); - }, - get C380() { - return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C381() { - return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C382() { - return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" - }); - }, - get C383() { - return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" - }); - }, - get C384() { - return C[384] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" - }); - }, - get C385() { - return C[385] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" - }); - }, - get C386() { - return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" - }); - }, - get C387() { - return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" - }); - }, - get C388() { - return C[388] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C389() { - return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" - }); - }, - get C390() { - return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C391() { - return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" - }); - }, - get C392() { - return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" - }); - }, - get C393() { - return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C394() { - return C[394] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" - }); - }, - get C395() { - return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" - }); - }, - get C396() { - return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" - }); - }, - get C397() { - return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C398() { - return C[398] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C399() { - return C[399] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" - }); - }, - get C400() { - return C[400] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" - }); - }, - get C401() { - return C[401] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" - }); - }, - get C402() { - return C[402] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" - }); - }, - get C403() { - return C[403] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" - }); - }, - get C404() { - return C[404] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" - }); - }, - get C405() { - return C[405] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C406() { - return C[406] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" - }); - }, - get C407() { - return C[407] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" - }); - }, - get C408() { - return C[408] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" - }); - }, - get C409() { - return C[409] = dart.const({ - __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, - [S.EventStreamProvider__eventType]: "beforeunload" - }); - }, - get C410() { - return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C411() { - return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C412() { - 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.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.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.constList([], T$.StringL()); - }, - get C416() { - return C[416] = dart.constList(["A", "FORM"], T$.StringL()); - }, - get C417() { - 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.constList(["A::href", "FORM::action"], T$.StringL()); - }, - get C419() { - return C[419] = dart.constList(["IMG"], T$.StringL()); - }, - get C420() { - 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(["IMG::src"], T$.StringL()); - }, - get C422() { - 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(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); - }, - get C424() { - return C[424] = dart.const({ - __proto__: html$.Console.prototype - }); - }, - get C425() { - return C[425] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); - }, - get C426() { - return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); - }, - get C427() { - 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({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); - }, - get C429() { - return C[429] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); - }, - get C430() { - return C[430] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); - }, - get C431() { - return C[431] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); - }, - get C432() { - return C[432] = dart.constList([], T$.ObjectN()); - }, - get C433() { - return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); - }, - get C434() { - return C[434] = dart.constList([], T$.ObjectL()); - }, - get C435() { - return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); - }, - get C436() { - return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); - }, - get C437() { - return C[437] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); - }, - get C438() { - return C[438] = dart.const(new _internal.Symbol.new('unary-')); - }, - get C439() { - return C[439] = dart.const(new _internal.Symbol.new('')); - }, - get C440() { - return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); - }, - get C441() { - return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); - }, - get C442() { - return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); - }, - get C443() { - return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); - }, - get C444() { - return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C445() { - return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C446() { - return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C447() { - return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); - }, - get C448() { - return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); - }, - get C449() { - return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C450() { - return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C451() { - return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C452() { - return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C453() { - return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C454() { - return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); - }, - get C455() { - return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); - }, - get C456() { - return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C457() { - return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C458() { - return C[458] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); - }, - get C459() { - return C[459] = dart.const({ - __proto__: core._Override.prototype - }); - }, - get C460() { - return C[460] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); - }, - get C461() { - 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(["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(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); - }, - get C464() { - 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.constMap(T$.StringL(), T$.StringN(), []); - }, - get C466() { - return C[466] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); - }, - get C468() { - return C[468] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "notCompressed", - [_Enum_index]: 0 - }); - }, - get C469() { - return C[469] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "decompressed", - [_Enum_index]: 1 - }); - }, - get C470() { - 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([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([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(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); - }, - get C474() { - 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.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, - [_Proxy_username]: null, - [_Proxy_port]: null, - [_Proxy_host]: null - }); - }, - get C488() { - return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); - }, - get C487() { - return C[487] = dart.const({ - __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[488] || CT.C488 - }); - }, - 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 C493() { - return C[493] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 0 - }); - }, - get C494() { - return C[494] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 1 - }); - }, - get C495() { - return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); - }, - get C496() { - return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); - }, - get C497() { - return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); - }, - get C498() { - return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); - }, - 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 C500() { - return C[500] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: true, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C501() { - return C[501] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: false, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C502() { - return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); - }, - get C503() { - return C[503] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 5000000 - }); - } -}, false); -core.Invocation = class Invocation extends core.Object { - static method(memberName, positionalArguments, namedArguments = null) { - 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[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[1] || CT.C1; - } - get isAccessor() { - return dart.test(this.isGetter) || dart.test(this.isSetter); - } -}; -(core.Invocation.new = function() { - ; -}).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[9]); -dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); -dart.InvocationImpl = class InvocationImpl extends core.Invocation { - get memberName() { - return this[memberName$]; - } - set memberName(value) { - super.memberName = value; - } - get positionalArguments() { - return this[positionalArguments$]; - } - set positionalArguments(value) { - super.positionalArguments = value; - } - get namedArguments() { - return this[namedArguments$]; - } - set namedArguments(value) { - super.namedArguments = value; - } - get typeArguments() { - return this[typeArguments$]; - } - set typeArguments(value) { - super.typeArguments = value; - } - get isMethod() { - return this[isMethod$]; - } - set isMethod(value) { - super.isMethod = value; - } - get isGetter() { - return this[isGetter$]; - } - set isGetter(value) { - super.isGetter = value; - } - get isSetter() { - return this[isSetter$]; - } - set isSetter(value) { - super.isSetter = value; - } - get failureMessage() { - return this[failureMessage$]; - } - 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), { - key: dart._dartSymbol, - value: k => namedArgs[k] - })); - } -}; -(dart.InvocationImpl.new = function(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"); - this[isMethod$] = isMethod; - this[isGetter$] = isGetter; - this[isSetter$] = isSetter; - this[failureMessage$] = failureMessage; - this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); - this[positionalArguments$] = core.List.unmodifiable(positionalArguments); - this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); - this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); - dart.InvocationImpl.__proto__.new.call(this); - ; -}).prototype = dart.InvocationImpl.prototype; -dart.addTypeTests(dart.InvocationImpl); -dart.addTypeCaches(dart.InvocationImpl); -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), - positionalArguments: dart.finalFieldType(core.List), - namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - isMethod: dart.finalFieldType(core.bool), - isGetter: dart.finalFieldType(core.bool), - 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() { - return this[name$0]; - } - 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[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[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[2] || CT.C2; - }, - /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[3] || CT.C3; - }, - /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[4] || CT.C4; - }, - /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[5] || CT.C5; - }, - /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[6] || CT.C6; - }, - /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[7] || CT.C7; - } -}, false); -_debugger.JSNative = class JSNative extends core.Object { - static getProperty(object, name) { - return object[name]; - } - 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.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"); -var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); -_debugger.NameValuePair = class NameValuePair extends core.Object { - get name() { - return this[name$1]; - } - set name(value) { - super.name = value; - } - get value() { - return this[value$]; - } - set value(value) { - super.value = value; - } - get config() { - return this[config$]; - } - set config(value) { - super.config = value; - } - get hideName() { - return this[hideName$]; - } - 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; - if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; - return other.name == this.name; - } - get hashCode() { - return dart.hashCode(this.name); - } - get displayName() { - return dart.test(this.hideName) ? "" : this.name; - } -}; -(_debugger.NameValuePair.new = function(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"); - this[name$1] = name; - this[value$] = value; - this[config$] = config; - this[hideName$] = hideName; - ; -}).prototype = _debugger.NameValuePair.prototype; -dart.addTypeTests(_debugger.NameValuePair); -dart.addTypeCaches(_debugger.NameValuePair); -dart.setGetterSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), - displayName: core.String -})); -dart.setLibraryUri(_debugger.NameValuePair, I[13]); -dart.setFieldSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getFields(_debugger.NameValuePair.__proto__), - name: dart.finalFieldType(core.String), - value: dart.finalFieldType(dart.nullable(core.Object)), - config: dart.finalFieldType(_debugger.JsonMLConfig), - hideName: dart.finalFieldType(core.bool) -})); -dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); -dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); -var key$ = dart.privateName(_debugger, "MapEntry.key"); -var value$0 = dart.privateName(_debugger, "MapEntry.value"); -_debugger.MapEntry = class MapEntry extends core.Object { - get key() { - return this[key$]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$0]; - } - 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; - let value = opts && 'value' in opts ? opts.value : null; - this[key$] = key; - this[value$0] = value; - ; -}).prototype = _debugger.MapEntry.prototype; -dart.addTypeTests(_debugger.MapEntry); -dart.addTypeCaches(_debugger.MapEntry); -dart.setLibraryUri(_debugger.MapEntry, I[13]); -dart.setFieldSignature(_debugger.MapEntry, () => ({ - __proto__: dart.getFields(_debugger.MapEntry.__proto__), - key: dart.finalFieldType(dart.nullable(core.Object)), - value: dart.finalFieldType(dart.nullable(core.Object)) -})); -var start$ = dart.privateName(_debugger, "IterableSpan.start"); -var end$ = dart.privateName(_debugger, "IterableSpan.end"); -var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); -_debugger.IterableSpan = class IterableSpan extends core.Object { - get start() { - return this[start$]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end$]; - } - set end(value) { - super.end = value; - } - get iterable() { - return this[iterable$]; - } - 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); - } - get maxPowerOfSubsetSize() { - return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); - } - get subsetSize() { - return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); - } - asMap() { - return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); - } - children() { - 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[12], 225, 24, "i"); - children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); - }, T$.intAnddynamicTovoid())); - } else { - for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { - let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); - if (subSpan.length === 1) { - children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); - } else { - children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); - } - } - } - return children; - } -}; -(_debugger.IterableSpan.new = function(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"); - this[start$] = start; - this[end$] = end; - this[iterable$] = iterable; - ; -}).prototype = _debugger.IterableSpan.prototype; -dart.addTypeTests(_debugger.IterableSpan); -dart.addTypeCaches(_debugger.IterableSpan); -dart.setMethodSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), - asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), - children: dart.fnType(core.List$(_debugger.NameValuePair), []) -})); -dart.setGetterSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), - length: core.int, - maxPowerOfSubsetSize: core.int, - subsetSize: core.int -})); -dart.setLibraryUri(_debugger.IterableSpan, I[13]); -dart.setFieldSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getFields(_debugger.IterableSpan.__proto__), - start: dart.finalFieldType(core.int), - end: dart.finalFieldType(core.int), - iterable: dart.finalFieldType(core.Iterable) -})); -var name$2 = dart.privateName(_debugger, "Library.name"); -var object$ = dart.privateName(_debugger, "Library.object"); -_debugger.Library = class Library extends core.Object { - get name() { - return this[name$2]; - } - set name(value) { - super.name = value; - } - get object() { - return this[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[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[13]); -dart.setFieldSignature(_debugger.Library, () => ({ - __proto__: dart.getFields(_debugger.Library.__proto__), - name: dart.finalFieldType(core.String), - object: dart.finalFieldType(core.Object) -})); -var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); -_debugger.NamedConstructor = class NamedConstructor extends core.Object { - get object() { - return this[object$0]; - } - 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[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[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$0 = dart.privateName(_debugger, "HeritageClause.types"); -_debugger.HeritageClause = class HeritageClause extends core.Object { - get name() { - return this[name$3]; - } - set name(value) { - super.name = value; - } - get 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[12], 261, 23, "name"); - if (types == null) dart.nullFailed(I[12], 261, 34, "types"); - this[name$3] = name; - this[types$0] = types; - ; -}).prototype = _debugger.HeritageClause.prototype; -dart.addTypeTests(_debugger.HeritageClause); -dart.addTypeCaches(_debugger.HeritageClause); -dart.setLibraryUri(_debugger.HeritageClause, I[13]); -dart.setFieldSignature(_debugger.HeritageClause, () => ({ - __proto__: dart.getFields(_debugger.HeritageClause.__proto__), - name: dart.finalFieldType(core.String), - types: dart.finalFieldType(core.List) -})); -var _attributes = dart.privateName(_debugger, "_attributes"); -var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); -var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); -var _jsonML = dart.privateName(_debugger, "_jsonML"); -_debugger.JsonMLElement = class JsonMLElement extends core.Object { - get [_jsonML]() { - let t4; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); - } - set [_jsonML](_jsonML$35param) { - if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); - this[__JsonMLElement__jsonML_isSet] = true; - 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[12], 296, 36, "tagName"); - let c = new _debugger.JsonMLElement.new(tagName); - this[_jsonML][$add](c.toJsonML()); - return c; - } - createObjectTag(object) { - let t4; - t4 = this.createChild("object"); - return (() => { - t4.addAttribute("object", object); - return t4; - })(); - } - setStyle(style) { - if (style == null) dart.nullFailed(I[12], 305, 24, "style"); - dart.dput(this[_attributes], 'style', style); - } - addStyle(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 { - 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[12], 321, 26, "text"); - this[_jsonML][$add](text); - } - toJsonML() { - return this[_jsonML]; - } -}; -(_debugger.JsonMLElement.new = function(tagName) { - this[_attributes] = null; - this[__JsonMLElement__jsonML] = null; - this[__JsonMLElement__jsonML_isSet] = false; - this[_attributes] = {}; - this[_jsonML] = [tagName, this[_attributes]]; -}).prototype = _debugger.JsonMLElement.prototype; -dart.addTypeTests(_debugger.JsonMLElement); -dart.addTypeCaches(_debugger.JsonMLElement); -dart.setMethodSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), - appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), - createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), - createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), - setStyle: dart.fnType(dart.void, [core.String]), - addStyle: dart.fnType(dart.dynamic, [core.String]), - addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - createTextChild: dart.fnType(dart.dynamic, [core.String]), - toJsonML: dart.fnType(dart.dynamic, []) -})); -dart.setGetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List -})); -dart.setSetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List -})); -dart.setLibraryUri(_debugger.JsonMLElement, I[13]); -dart.setFieldSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), - [_attributes]: dart.fieldType(dart.dynamic), - [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), - [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) -})); -var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); -var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); -_debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { - get customFormattersOn() { - 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[12], 363, 43, "spanLength"); - _debugger._maxSpanLength = spanLength; - } - header(object, config) { - let t4; - this.customFormattersOn = true; - if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { - return null; - } - let c = this[_simpleFormatter$].preview(object, config); - if (c == null) return null; - if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { - c = dart.toString(object); - } - let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { - t4.setStyle("background-color: #d9edf7;color: black"); - t4.createTextChild(c); - return t4; - })()); - return element.toJsonML(); - } - hasBody(object, config) { - return this[_simpleFormatter$].hasChildren(object, config); - } - body(object, config) { - 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);"); - } - let children = this[_simpleFormatter$].children(object, config); - if (children == null) return body.toJsonML(); - for (let child of children) { - let li = body.createChild("li"); - li.setStyle("padding-left: 13px;"); - let nameSpan = null; - let valueStyle = ""; - if (!dart.test(child.hideName)) { - 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 = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { - t4$0.setStyle(valueStyle); - return t4$0; - })()); - t4$1 = valueSpan.createObjectTag(child.value); - (() => { - t4$1.addAttribute("config", child.config); - return t4$1; - })(); - if (nameSpan != null) { - li.appendChild(nameSpan); - } - li.appendChild(valueSpan); - } else { - let line = li.createChild("span"); - if (nameSpan != null) { - line.appendChild(nameSpan); - } - 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; - })())); - } - } - return body.toJsonML(); - } -}; -(_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); - this[customFormattersOn] = false; - this[_simpleFormatter$] = _simpleFormatter; - ; -}).prototype = _debugger.JsonMLFormatter.prototype; -dart.addTypeTests(_debugger.JsonMLFormatter); -dart.addTypeCaches(_debugger.JsonMLFormatter); -dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), - setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), - header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) -})); -dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); -dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), - [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), - customFormattersOn: dart.fieldType(core.bool) -})); -_debugger.Formatter = class Formatter extends core.Object {}; -(_debugger.Formatter.new = function() { - ; -}).prototype = _debugger.Formatter.prototype; -dart.addTypeTests(_debugger.Formatter); -dart.addTypeCaches(_debugger.Formatter); -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))) { - return dart.toString(object); - } - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.preview(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return null; - } - hasChildren(object, config) { - if (object == null) return false; - try { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return false; - } - children(object, config) { - try { - if (object != null) { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.children(object); - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return T$.JSArrayOfNameValuePair().of([]); - } - [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[12], 523, 34, "message"); - return window.console.error(message); - } -}; -(_debugger.DartFormatter.new = function() { - this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); - ; -}).prototype = _debugger.DartFormatter.prototype; -dart.addTypeTests(_debugger.DartFormatter); -dart.addTypeCaches(_debugger.DartFormatter); -dart.setMethodSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), - preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - 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[13]); -dart.setFieldSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getFields(_debugger.DartFormatter.__proto__), - [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) -})); -_debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { - accept(object, config) { - return !dart.test(_debugger.isNativeJavaScriptObject(object)); - } - preview(object) { - let typeName = _debugger.getObjectTypeName(object); - try { - let toString = dart.str(object); - if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { - toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; - } - if (toString[$contains](typeName)) { - return toString; - } else { - return toString + " (" + dart.str(typeName) + ")"; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return typeName; - } - hasChildren(object) { - return true; - } - children(object) { - let type = dart.getType(object); - let ret = new (T$._HashSetOfNameValuePair()).new(); - let fields = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); - let getters = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); - ret.addAll(_debugger.sortProperties(fields)); - ret.addAll(_debugger.sortProperties(getters)); - _debugger.addMetadataChildren(object, ret); - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ObjectFormatter.new(); - } -}; -(_debugger.ObjectFormatter.new = function() { - ; -}).prototype = _debugger.ObjectFormatter.prototype; -dart.addTypeTests(_debugger.ObjectFormatter); -dart.addTypeCaches(_debugger.ObjectFormatter); -dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) -})); -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); - } - 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[13]); -_debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { - accept(object, config) { - return dart.getModuleName(core.Object.as(object)) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); - if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { - libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); - } - return "Library Module: " + dart.str(libraryNames[$join]("/")); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - for (let name of _debugger.getOwnPropertyNames(object)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); - } - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.LibraryModuleFormatter.new(); - } -}; -(_debugger.LibraryModuleFormatter.new = function() { - ; -}).prototype = _debugger.LibraryModuleFormatter.prototype; -dart.addTypeTests(_debugger.LibraryModuleFormatter); -dart.addTypeCaches(_debugger.LibraryModuleFormatter); -_debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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) { - return _debugger.Library.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - return core.String.as(dart.dload(object, 'name')); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); - dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { - if (dart.getGenericTypeCtor(value) != null) return; - children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); - }, T$.dynamicAnddynamicToNull())]); - return children[$toList](); - } - classChild(name, 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(); - ; -}).prototype = _debugger.LibraryFormatter.prototype; -dart.addTypeTests(_debugger.LibraryFormatter); -dart.addTypeCaches(_debugger.LibraryFormatter); -_debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), - classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) -})); -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)) -})); -_debugger.FunctionFormatter = class FunctionFormatter extends core.Object { - accept(object, config) { - if (_debugger._typeof(object) !== "function") return false; - return dart.getReifiedType(object) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - try { - return dart.typeName(dart.getReifiedType(object)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; -}).prototype = _debugger.FunctionFormatter.prototype; -dart.addTypeTests(_debugger.FunctionFormatter); -dart.addTypeCaches(_debugger.FunctionFormatter); -_debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); -_debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { - accept(object, config) { - return core.Map.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; -}).prototype = _debugger.MapOverviewFormatter.prototype; -dart.addTypeTests(_debugger.MapOverviewFormatter); -dart.addTypeCaches(_debugger.MapOverviewFormatter); -_debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - children(object) { - let map = core.Map.as(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - map[$forEach](dart.fn((key, value) => { - let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); - entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); - }, T$.dynamicAnddynamicTovoid())); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.MapFormatter.new(); - } -}; -(_debugger.MapFormatter.new = function() { - ; -}).prototype = _debugger.MapFormatter.prototype; -dart.addTypeTests(_debugger.MapFormatter); -dart.addTypeCaches(_debugger.MapFormatter); -_debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.MapFormatter, I[13]); -_debugger.IterableFormatter = class IterableFormatter extends core.Object { - accept(object, config) { - return core.Iterable.is(object); - } - preview(object) { - let iterable = core.Iterable.as(object); - try { - let length = iterable[$length]; - return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return dart.str(_debugger.getObjectTypeName(iterable)); - } else - throw e; - } - } - hasChildren(object) { - return true; - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); - _debugger.addMetadataChildren(object, children); - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.IterableFormatter.new(); - } -}; -(_debugger.IterableFormatter.new = function() { - ; -}).prototype = _debugger.IterableFormatter.prototype; -dart.addTypeTests(_debugger.IterableFormatter); -dart.addTypeCaches(_debugger.IterableFormatter); -_debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.IterableFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.IterableFormatter, I[13]); -_debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { - accept(object, config) { - return _debugger.NamedConstructor.is(object); - } - preview(object) { - return "Named Constructor"; - } - hasChildren(object) { - return true; - } - 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() { - ; -}).prototype = _debugger.NamedConstructorFormatter.prototype; -dart.addTypeTests(_debugger.NamedConstructorFormatter); -dart.addTypeCaches(_debugger.NamedConstructorFormatter); -_debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ - __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); -_debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { - accept(object, config) { - return _debugger.MapEntry.is(object); - } - preview(object) { - let entry = _debugger.MapEntry.as(object); - return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); - } - hasChildren(object) { - return true; - } - 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() { - ; -}).prototype = _debugger.MapEntryFormatter.prototype; -dart.addTypeTests(_debugger.MapEntryFormatter); -dart.addTypeCaches(_debugger.MapEntryFormatter); -_debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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[8] || CT.C8); - return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); - } - hasChildren(object) { - return true; - } - children(object) { - let clause = _debugger.HeritageClause.as(object); - let children = T$.JSArrayOfNameValuePair().of([]); - for (let type of clause.types) { - children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); - } - return children; - } - static ['_#new#tearOff']() { - return new _debugger.HeritageClauseFormatter.new(); - } -}; -(_debugger.HeritageClauseFormatter.new = function() { - ; -}).prototype = _debugger.HeritageClauseFormatter.prototype; -dart.addTypeTests(_debugger.HeritageClauseFormatter); -dart.addTypeCaches(_debugger.HeritageClauseFormatter); -_debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ - __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); -_debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { - accept(object, config) { - return _debugger.IterableSpan.is(object); - } - preview(object) { - return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; - } - hasChildren(object) { - return true; - } - children(object) { - return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); - } - static ['_#new#tearOff']() { - return new _debugger.IterableSpanFormatter.new(); - } -}; -(_debugger.IterableSpanFormatter.new = function() { - ; -}).prototype = _debugger.IterableSpanFormatter.prototype; -dart.addTypeTests(_debugger.IterableSpanFormatter); -dart.addTypeCaches(_debugger.IterableSpanFormatter); -_debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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); - } - hasChildren(object) { - return true; - } - preview(object) { - let trace = dart.stackTrace(object); - let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(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); - } - children(object) { - let trace = dart.stackTrace(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); - this.addInstanceMembers(object, entries); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - addInstanceMembers(object, 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() { - ; -}).prototype = _debugger.ErrorAndExceptionFormatter.prototype; -dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); -dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); -dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), - 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[13]); -dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); -dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { - /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { - return core.RegExp.new("\\d+\\:\\d+"); - } -}, false); -_debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { - accept(object, config) { - return core.StackTrace.is(object); - } - preview(object) { - return "StackTrace"; - } - hasChildren(object) { - return true; - } - children(object) { - return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(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() { - ; -}).prototype = _debugger.StackTraceFormatter.prototype; -dart.addTypeTests(_debugger.StackTraceFormatter); -dart.addTypeCaches(_debugger.StackTraceFormatter); -_debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ - __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); -_debugger.ClassFormatter = class ClassFormatter extends core.Object { - accept(object, config) { - return dart.equals(config, _debugger.JsonMLConfig.asClass); - } - preview(type) { - let $implements = dart.getImplements(type); - let typeName = _debugger.getTypeName(type); - if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[8] || CT.C8); - return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); - } else { - return typeName; - } - } - hasChildren(object) { - return true; - } - children(type) { - let t12; - let ret = new (T$._HashSetOfNameValuePair()).new(); - let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); - if (dart.test(instanceMethods[$isNotEmpty])) { - t12 = ret; - (() => { - t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t12.addAll(_debugger.sortProperties(instanceMethods)); - return t12; - })(); - } - let mixin = dart.getMixin(type); - if (mixin != null) { - ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); - } - let baseProto = type.__proto__; - if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { - ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); - } - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ClassFormatter.new(); - } -}; -(_debugger.ClassFormatter.new = function() { - ; -}).prototype = _debugger.ClassFormatter.prototype; -dart.addTypeTests(_debugger.ClassFormatter); -dart.addTypeCaches(_debugger.ClassFormatter); -_debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.ClassFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.ClassFormatter, I[13]); -_debugger.TypeFormatter = class TypeFormatter extends core.Object { - accept(object, config) { - return core.Type.is(object); - } - preview(object) { - return dart.toString(object); - } - hasChildren(object) { - return false; - } - children(object) { - return T$.JSArrayOfNameValuePair().of([]); - } - static ['_#new#tearOff']() { - return new _debugger.TypeFormatter.new(); - } -}; -(_debugger.TypeFormatter.new = function() { - ; -}).prototype = _debugger.TypeFormatter.prototype; -dart.addTypeTests(_debugger.TypeFormatter); -dart.addTypeCaches(_debugger.TypeFormatter); -_debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.TypeFormatter, () => ({ - __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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[14], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); - this.count = 0.0; - this.typeName = typeName; - this.frame = frame; - ; -}).prototype = _debugger._MethodStats.prototype; -dart.addTypeTests(_debugger._MethodStats); -dart.addTypeCaches(_debugger._MethodStats); -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 { - static ['_#new#tearOff'](jsError, type) { - return new _debugger._CallMethodRecord.new(jsError, type); - } -}; -(_debugger._CallMethodRecord.new = function(jsError, type) { - this.jsError = jsError; - this.type = type; - ; -}).prototype = _debugger._CallMethodRecord.prototype; -dart.addTypeTests(_debugger._CallMethodRecord); -dart.addTypeCaches(_debugger._CallMethodRecord); -dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); -dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ - __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), - jsError: dart.fieldType(dart.dynamic), - type: dart.fieldType(dart.dynamic) -})); -_debugger._typeof = function _typeof(object) { - return typeof object; -}; -_debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { - return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); -}; -_debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { - return Object.getOwnPropertySymbols(object); -}; -_debugger.addMetadataChildren = function addMetadataChildren(object, 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 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 = (t12 = new collection._HashSet.new(), (() => { - t12.add("hashCode"); - return t12; - })()); - let objectPrototype = Object.prototype; - while (sig != null && !core.identical(sig, objectPrototype)) { - for (let symbol of _debugger.getOwnPropertySymbols(sig)) { - let dartName = _debugger.symbolName(symbol); - let dartXPrefix = "dartx."; - if (dartName[$startsWith](dartXPrefix)) { - dartName = dartName[$substring](dartXPrefix.length); - } - if (dart.test(skippedNames.contains(dartName))) continue; - let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[symbol]); - } - properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); - } - for (let name of _debugger.getOwnPropertyNames(sig)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - if (dart.test(skippedNames.contains(name))) continue; - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[name]); - } - properties.add(new _debugger.NameValuePair.new({name: name, value: value})); - } - if (!dart.test(walkPrototypeChain)) break; - sig = dart.getPrototypeOf(sig); - } -}; -_debugger.sortProperties = function sortProperties(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[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; - return a.name[$compareTo](b.name); - }, T$.NameValuePairAndNameValuePairToint())); - return sortedProperties; -}; -_debugger.getObjectTypeName = function getObjectTypeName(object) { - let reifiedType = dart.getReifiedType(object); - if (reifiedType == null) { - if (_debugger._typeof(object) === "function") { - return "[[Raw JavaScript Function]]"; - } - return ""; - } - return _debugger.getTypeName(reifiedType); -}; -_debugger.getTypeName = function getTypeName(type) { - return dart.typeName(type); -}; -_debugger.safePreview = function safePreview(object, config) { - try { - let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); - if (preview != null) return preview; - return dart.toString(object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } -}; -_debugger.symbolName = function symbolName(symbol) { - let name = dart.toString(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[12], 161, 31, "name"); - try { - return dart.hasMethod(object, name); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return false; - } else - throw e$; - } -}; -_debugger.safeGetProperty = function safeGetProperty(protoChain, 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$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } -}; -_debugger.safeProperties = function safeProperties(object) { - return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(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())}); -}; -_debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { - let type = _debugger._typeof(object); - if (type !== "object" && type !== "function") return true; - if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { - return true; - } - return object instanceof Node; -}; -_debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { - dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; -}; -_debugger.getModuleNames = function getModuleNames$() { - return dart.getModuleNames(); -}; -_debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); - return dart.getModuleLibraries(name); -}; -_debugger.getDynamicStats = function getDynamicStats() { - 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]); - for (let record of _debugger._callMethodRecords) { - 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[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[14], 68, 24, "f"); - return !f[$startsWith]("dart:"); - }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); - let actualTypeName = dart.typeName(record.type); - 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]()) { - let stats = dart.nullCheck(callMethodStats[$_get](k)); - let threshold = dart.notNull(_debugger._minCount) * recordRatio; - if (dart.notNull(stats.count) + 0.001 < threshold) { - callMethodStats[$remove](k); - } - } - } - } - _debugger._callMethodRecords[$clear](); - _debugger._totalCallRecords = 0; - let keys = callMethodStats[$keys][$toList](); - keys[$sort](dart.fn((a, 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([]); - for (let key of keys) { - let stats = dart.nullCheck(callMethodStats[$_get](key)); - ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); - } - return ret; -}; -_debugger.clearDynamicStats = function clearDynamicStats() { - _debugger._callMethodRecords[$clear](); -}; -_debugger.trackCall = function trackCall(obj) { - if (!_debugger._trackProfile) return; - let index = -1; - _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; - if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { - index = Math.floor(Math.random() * _debugger._totalCallRecords); - if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; - } - let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); - if (index === -1) { - _debugger._callMethodRecords[$add](record); - } else { - _debugger._callMethodRecords[$_set](index, record); - } -}; -dart.copyProperties(_debugger, { - get stackTraceMapper() { - let _util = dart.global.$dartStackTraceUtility; - return _util != null ? _util.mapper : null; - }, - get _trackProfile() { - return dart.__trackProfile; - } -}); -dart.defineLazy(_debugger, { - /*_debugger._maxSpanLength*/get _maxSpanLength() { - return 100; - }, - 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(value) { - if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); - }, - /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { - return 100; - }, - set maxFormatterStringLength(value) { - if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); - }, - /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { - return 5000; - }, - set _callRecordSampleSize(value) { - if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); - }, - /*_debugger._callMethodRecords*/get _callMethodRecords() { - return T$.JSArrayOf_CallMethodRecord().of([]); - }, - set _callMethodRecords(value) { - if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); - }, - /*_debugger._totalCallRecords*/get _totalCallRecords() { - return 0; - }, - set _totalCallRecords(value) { - if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); - }, - /*_debugger._minCount*/get _minCount() { - return 2; - }, - 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(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 { - get name() { - return this[name$4]; - } - 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[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[16]); -dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ - __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), - name: dart.finalFieldType(core.String) -})); -var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); -_foreign_helper.JS_CONST = class JS_CONST extends core.Object { - get code() { - return this[code$]; - } - 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[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[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 { - 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[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[15], 162, 30, "type"); -}; -_foreign_helper.JS_EFFECT = function JS_EFFECT(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[9] || CT.C9; - } -}, false); -_interceptors.Interceptor = class Interceptor extends core.Object { - toString() { - return this.toString(); - } -}; -(_interceptors.Interceptor.new = function() { - ; -}).prototype = _interceptors.Interceptor.prototype; -dart.addTypeTests(_interceptors.Interceptor); -dart.addTypeCaches(_interceptors.Interceptor); -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); - } - get [$hashCode]() { - return this ? 2 * 3 * 23 * 3761 : 269 * 811; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return other && this; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return other || this; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return this !== other; - } - get [$runtimeType]() { - return dart.wrapType(core.bool); - } -}; -(_interceptors.JSBool.new = function() { - _interceptors.JSBool.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSBool.prototype; -dart.addTypeTests(_interceptors.JSBool); -dart.addTypeCaches(_interceptors.JSBool); -_interceptors.JSBool[dart.implements] = () => [core.bool]; -dart.setMethodSignature(_interceptors.JSBool, () => ({ - __proto__: dart.getMethods(_interceptors.JSBool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) -})); -dart.setLibraryUri(_interceptors.JSBool, I[17]); -dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); -dart.registerExtension("Boolean", _interceptors.JSBool); -const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); -_interceptors.JSIndexable$ = dart.generic(E => { - class JSIndexable extends core.Object {} - (JSIndexable.new = function() { - ; - }).prototype = JSIndexable.prototype; - dart.addTypeTests(JSIndexable); - JSIndexable.prototype[_is_JSIndexable_default] = true; - dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[17]); - return JSIndexable; -}); -_interceptors.JSIndexable = _interceptors.JSIndexable$(); -dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); -const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); -_interceptors.JSMutableIndexable$ = dart.generic(E => { - class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} - (JSMutableIndexable.new = function() { - ; - }).prototype = JSMutableIndexable.prototype; - dart.addTypeTests(JSMutableIndexable); - JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; - dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[17]); - return JSMutableIndexable; -}); -_interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); -dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); -_interceptors.JSObject = class JSObject extends core.Object {}; -(_interceptors.JSObject.new = function() { - ; -}).prototype = _interceptors.JSObject.prototype; -dart.addTypeTests(_interceptors.JSObject); -dart.addTypeCaches(_interceptors.JSObject); -dart.setLibraryUri(_interceptors.JSObject, I[17]); -_interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - static ['_#new#tearOff']() { - return new _interceptors.JavaScriptObject.new(); - } -}; -(_interceptors.JavaScriptObject.new = function() { - _interceptors.JavaScriptObject.__proto__.new.call(this); - ; -}).prototype = _interceptors.JavaScriptObject.prototype; -dart.addTypeTests(_interceptors.JavaScriptObject); -dart.addTypeCaches(_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[17]); -_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { - static ['_#new#tearOff']() { - return new _interceptors.UnknownJavaScriptObject.new(); - } -}; -(_interceptors.UnknownJavaScriptObject.new = function() { - _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); - ; -}).prototype = _interceptors.UnknownJavaScriptObject.prototype; -dart.addTypeTests(_interceptors.UnknownJavaScriptObject); -dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); -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); - ; -}).prototype = _interceptors.NativeError.prototype; -dart.addTypeTests(_interceptors.NativeError); -dart.addTypeCaches(_interceptors.NativeError); -dart.setMethodSignature(_interceptors.NativeError, () => ({ - __proto__: dart.getMethods(_interceptors.NativeError.__proto__), - dartStack: dart.fnType(core.String, []), - [$dartStack]: dart.fnType(core.String, []) -})); -dart.setLibraryUri(_interceptors.NativeError, I[17]); -dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); -var _fieldName = dart.privateName(_interceptors, "_fieldName"); -var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); -var _receiver = dart.privateName(_interceptors, "_receiver"); -var _receiver$ = dart.privateName(core, "_receiver"); -var _arguments = dart.privateName(_interceptors, "_arguments"); -var _arguments$ = dart.privateName(core, "_arguments"); -var _memberName = dart.privateName(_interceptors, "_memberName"); -var _memberName$ = dart.privateName(core, "_memberName"); -var _invocation = dart.privateName(_interceptors, "_invocation"); -var _invocation$ = dart.privateName(core, "_invocation"); -var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); -var _namedArguments$ = dart.privateName(core, "_namedArguments"); -_interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { - [_fieldName](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 = (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[18], 139, 38, "message"); - let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); - return match != null ? match._get(1) : null; - } - [$dartStack]() { - let stack = super[$dartStack](); - stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); - return stack; - } - get [$stackTrace]() { - return dart.stackTrace(this); - } - [$toString]() { - let message = this.message; - let callTarget = this[_functionCallTarget](message); - if (callTarget != null) { - return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; - } - let name = this[_fieldName](message); - if (name == null) { - return this.toString(); - } - return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; - } - static ['_#new#tearOff']() { - return new _interceptors.JSNoSuchMethodError.new(); - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); - } -}; -(_interceptors.JSNoSuchMethodError.new = function() { - _interceptors.JSNoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSNoSuchMethodError.prototype; -dart.addTypeTests(_interceptors.JSNoSuchMethodError); -dart.addTypeCaches(_interceptors.JSNoSuchMethodError); -_interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), - [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), - [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) -})); -dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), - [$stackTrace]: core.StackTrace, - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -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$"); - }, - /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { - return core.RegExp.new("^(.+) is not a function$"); - }, - /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { - return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); - }, - /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { - return core.RegExp.new("^Symbol\\((_.+)\\)$"); - } -}, false); -dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); -_interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { - [$toString]() { - if (dart.isType(this)) return dart.typeName(this); - return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; - } - [$_equals](other) { - if (other == null) return false; - 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; - if (boundObj == null) return core.identityHashCode(this); - let boundMethod = this._boundMethod; - let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; - return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; - } - 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); - ; -}).prototype = _interceptors.JSFunction.prototype; -dart.addTypeTests(_interceptors.JSFunction); -dart.addTypeCaches(_interceptors.JSFunction); -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[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[17]); -dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); -var _hasValue = dart.privateName(_interceptors, "_hasValue"); -var _hasValue$ = dart.privateName(core, "_hasValue"); -var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); -var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); -var _errorName = dart.privateName(_interceptors, "_errorName"); -var _errorName$ = dart.privateName(core, "_errorName"); -_interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { - get [$stackTrace]() { - return dart.stackTrace(this); - } - get [$invalidValue]() { - return null; - } - get [$name]() { - return null; - } - get [$message]() { - return this.message; - } - [$toString]() { - return "Invalid argument: " + dart.str(this[$message]); - } - static ['_#new#tearOff']() { - return new _interceptors.JSRangeError.new(); - } - get [_hasValue$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); - } - get [_errorExplanation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); - } - get [_errorName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); - } -}; -(_interceptors.JSRangeError.new = function() { - _interceptors.JSRangeError.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSRangeError.prototype; -dart.addTypeTests(_interceptors.JSRangeError); -dart.addTypeCaches(_interceptors.JSRangeError); -_interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; -dart.setGetterSignature(_interceptors.JSRangeError, () => ({ - __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), - [$stackTrace]: core.StackTrace, - [$invalidValue]: dart.dynamic, - [$name]: dart.nullable(core.String), - [$message]: dart.dynamic, - [_hasValue$]: core.bool, - [_errorExplanation$]: core.String, - [_errorName$]: core.String -})); -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 __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; - list.immutable$list = Array; - return list; - } - static markFixedList(list) { - list.fixed$length = Array; - } - static markUnmodifiableList(list) { - list.fixed$length = Array; - list.immutable$list = Array; - } - [$checkMutable](reason) { - if (this.immutable$list) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$checkGrowable](reason) { - if (this.fixed$length) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$cast](R) { - return core.List.castFrom(E, R, this); - } - [$add](value) { - E.as(value); - this[$checkGrowable]("add"); - this.push(value); - } - [$removeAt](index) { - if (index == null) dart.argumentError(index); - this[$checkGrowable]("removeAt"); - if (index < 0 || index >= this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - return this.splice(index, 1)[0]; - } - [$insert](index, value) { - if (index == null) dart.argumentError(index); - E.as(value); - this[$checkGrowable]("insert"); - if (index < 0 || index > this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - this.splice(index, 0, value); - } - [$insertAll](index, iterable) { - if (index == null) dart.argumentError(index); - __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)) { - iterable = iterable[$toList](); - } - let insertionLength = dart.notNull(iterable[$length]); - this[_setLengthUnsafe](this[$length] + insertionLength); - let end = index + insertionLength; - this[$setRange](end, this[$length], this, index); - this[$setRange](index, end, iterable); - } - [$setAll](index, iterable) { - let t15; - if (index == null) dart.argumentError(index); - __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]((t15 = index, index = t15 + 1, t15), element); - } - } - [$removeLast]() { - this[$checkGrowable]("removeLast"); - if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); - return this.pop(); - } - [$remove](element) { - this[$checkGrowable]("remove"); - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this.splice(i, 1); - return true; - } - } - return false; - } - [$removeWhere](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[19], 141, 37, "test"); - this[$checkGrowable]("retainWhere"); - this[_removeWhere](test, false); - } - [_removeWhere](test, 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) { - let element = this[i]; - if (!dart.test(test(element)) === removeMatching) { - retained.push(element); - } - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (retained[$length] === end) return; - this[$length] = retained[$length]; - let length = dart.notNull(retained[$length]); - for (let i = 0; i < length; i = i + 1) { - this[i] = retained[i]; - } - } - [$where](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[19], 179, 49, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - [$addAll](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[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); - i = i + 1; - this.push(e); - } - } - [$clear]() { - this[$length] = 0; - } - [$forEach](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]; - f(element); - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [$map](T, 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[19], 210, 23, "separator"); - let length = this[$length]; - let list = T$.ListOfString().filled(length, ""); - for (let i = 0; i < length; i = i + 1) { - list[$_set](i, dart.str(this[$_get](i))); - } - return list.join(separator); - } - [$take](n) { - 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[19], 223, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - [$skip](n) { - 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[19], 231, 42, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - [$reduce](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); - for (let i = 1; i < length; i = i + 1) { - let element = this[i]; - value = combine(value, element); - if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$fold](T, initialValue, 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) { - let element = this[i]; - value = combine(value, element); - if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 258, 33, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let end = this[$length]; - for (let i = 0; i < end; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 269, 32, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = length - 1; i >= 0; i = i - 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 282, 34, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - let match = null; - let matchFound = false; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match = element; - } - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return E.as(match); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[19], 304, 19, "index"); - return this[$_get](index); - } - [$sublist](start, end = null) { - if (start == null) dart.argumentError(start); - if (start < 0 || start > this[$length]) { - dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); - } - if (end == null) { - end = this[$length]; - } else { - let _end = end; - if (_end < start || _end > this[$length]) { - dart.throw(new core.RangeError.range(end, start, this[$length], "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[19], 325, 28, "start"); - if (end == null) dart.nullFailed(I[19], 325, 39, "end"); - core.RangeError.checkValidRange(start, end, this[$length]); - return new (__t$SubListIterableOfE()).new(this, start, end); - } - get [$first]() { - if (this[$length] > 0) return this[$_get](0); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$last]() { - if (this[$length] > 0) return this[$_get](this[$length] - 1); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$single]() { - if (this[$length] === 1) return this[$_get](0); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - dart.throw(_internal.IterableElementError.tooMany()); - } - [$removeRange](start, end) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - this[$checkGrowable]("removeRange"); - core.RangeError.checkValidRange(start, end, this[$length]); - let deleteCount = end - start; - this.splice(start, deleteCount); - } - [$setRange](start, end, iterable, skipCount = 0) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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 = __t$JSArrayOfE().of([]); - let otherStart = 0; - if (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (otherStart + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (otherStart < start) { - for (let i = length - 1; i >= 0; i = i - 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } else { - for (let i = 0; i < length; i = i + 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } - } - [$fillRange](start, end, fillValue = null) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __t$EN().as(fillValue); - this[$checkMutable]("fill range"); - core.RangeError.checkValidRange(start, end, this[$length]); - let checkedFillValue = E.as(fillValue); - for (let i = start; i < end; i = i + 1) { - this[i] = checkedFillValue; - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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)) { - replacement = replacement[$toList](); - } - let removeLength = end - start; - let insertLength = dart.notNull(replacement[$length]); - if (removeLength >= insertLength) { - let delta = removeLength - insertLength; - let insertEnd = start + insertLength; - let newLength = this[$length] - delta; - this[$setRange](start, insertEnd, replacement); - if (delta !== 0) { - this[$setRange](insertEnd, newLength, this, end); - this[$length] = newLength; - } - } else { - let delta = insertLength - removeLength; - let newLength = this[$length] + delta; - let insertEnd = start + insertLength; - this[_setLengthUnsafe](newLength); - this[$setRange](insertEnd, newLength, this, end); - this[$setRange](start, insertEnd, replacement); - } - } - [$any](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]; - if (dart.test(test(element))) return true; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return false; - } - [$every](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]; - if (!dart.test(test(element))) return false; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return true; - } - get [$reversed]() { - 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$EAndEToint())); - } else { - _internal.Sort.sort(E, this, compare); - } - } - [$shuffle](random = null) { - this[$checkMutable]("shuffle"); - if (random == null) random = math.Random.new(); - let length = this[$length]; - while (length > 1) { - let pos = random.nextInt(length); - length = length - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - [$indexOf](element, start = 0) { - if (start == null) dart.argumentError(start); - let length = this[$length]; - if (start >= length) { - return -1; - } - if (start < 0) { - start = 0; - } - for (let i = start; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$lastIndexOf](element, startIndex = null) { - let t15; - let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); - if (start >= this[$length]) { - start = this[$length] - 1; - } else if (start < 0) { - return -1; - } - for (let i = start; i >= 0; i = i - 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$contains](other) { - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.equals(element, other)) return true; - } - return false; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$toString]() { - return collection.ListBase.listToString(this); - } - [$toList](opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.argumentError(growable); - let list = this.slice(); - if (!growable) _interceptors.JSArray.markFixedList(list); - return __t$JSArrayOfE().of(list); - } - [$toSet]() { - return __t$LinkedHashSetOfE().from(this); - } - get [$iterator]() { - return new (__t$ArrayIteratorOfE()).new(this); - } - get [$hashCode]() { - return core.identityHashCode(this); - } - [$_equals](other) { - if (other == null) return false; - return this === other; - } - get [$length]() { - return this.length; - } - set [$length](newLength) { - if (newLength == null) dart.argumentError(newLength); - this[$checkGrowable]("set length"); - if (newLength < 0) { - dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); - } - if (newLength > this[$length]) E.as(null); - this.length = newLength; - } - [_setLengthUnsafe](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[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[19], 586, 25, "index"); - E.as(value); - this[$checkMutable]("indexed set"); - if (index == null || !(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - this[index] = value; - return value$; - } - [$asMap]() { - return new (__t$ListMapViewOfE()).new(this); - } - get [$runtimeType]() { - return dart.wrapType(core.List$(E)); - } - [$followedBy](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) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[19], 608, 30, "other"); - return (() => { - let t15 = __t$ListOfE().of(this); - t15[$addAll](other); - return t15; - })(); - } - [$indexWhere](test, start = 0) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - [$lastIndexWhere](test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - set [$first](element) { - E.as(element); - 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.withLength(0, this[$length], {indexable: this})); - this[$_set](this[$length] - 1, element); - } - } - (JSArray.new = function() { - ; - }).prototype = JSArray.prototype; - dart.setExtensionBaseClass(JSArray, dart.global.Array); - JSArray.prototype[dart.isList] = true; - dart.addTypeTests(JSArray); - JSArray.prototype[_is_JSArray_default] = true; - dart.addTypeCaches(JSArray); - JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; - dart.setMethodSignature(JSArray, () => ({ - __proto__: dart.getMethods(JSArray.__proto__), - [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$removeAt]: dart.fnType(E, [core.int]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$removeLast]: dart.fnType(E, []), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$join]: dart.fnType(core.String, [], [core.String]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$elementAt]: dart.fnType(E, [core.int]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toSet]: dart.fnType(core.Set$(E), []), - [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$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, - [$last]: E, - [$single]: E, - [$reversed]: core.Iterable$(E), - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$iterator]: core.Iterator$(E), - [$length]: core.int - })); - dart.setSetterSignature(JSArray, () => ({ - __proto__: dart.getSetters(JSArray.__proto__), - [$length]: core.int, - [$first]: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(JSArray, I[17]); - return JSArray; -}); -_interceptors.JSArray = _interceptors.JSArray$(); -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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSMutableArray$(E)).new(); - } - } - (JSMutableArray.new = function() { - JSMutableArray.__proto__.new.call(this); - ; - }).prototype = JSMutableArray.prototype; - dart.addTypeTests(JSMutableArray); - JSMutableArray.prototype[_is_JSMutableArray_default] = true; - dart.addTypeCaches(JSMutableArray); - JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSFixedArray$(E)).new(); - } - } - (JSFixedArray.new = function() { - JSFixedArray.__proto__.new.call(this); - ; - }).prototype = JSFixedArray.prototype; - dart.addTypeTests(JSFixedArray); - JSFixedArray.prototype[_is_JSFixedArray_default] = true; - dart.addTypeCaches(JSFixedArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSExtendableArray$(E)).new(); - } - } - (JSExtendableArray.new = function() { - JSExtendableArray.__proto__.new.call(this); - ; - }).prototype = JSExtendableArray.prototype; - dart.addTypeTests(JSExtendableArray); - JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; - dart.addTypeCaches(JSExtendableArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSUnmodifiableArray$(E)).new(); - } - } - (JSUnmodifiableArray.new = function() { - JSUnmodifiableArray.__proto__.new.call(this); - ; - }).prototype = JSUnmodifiableArray.prototype; - dart.addTypeTests(JSUnmodifiableArray); - JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; - dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[17]); - return JSUnmodifiableArray; -}); -_interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); -dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); -var _current = dart.privateName(_interceptors, "_current"); -var _iterable = dart.privateName(_interceptors, "_iterable"); -var _length = dart.privateName(_interceptors, "_length"); -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]); - } - moveNext() { - let length = this[_iterable][$length]; - if (this[_length] !== length) { - dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); - } - if (this[_index] >= length) { - this[_current] = null; - return false; - } - this[_current] = this[_iterable][$_get](this[_index]); - this[_index] = this[_index] + 1; - return true; - } - } - (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); - this[_current] = null; - this[_iterable] = iterable; - this[_length] = iterable[$length]; - this[_index] = 0; - ; - }).prototype = ArrayIterator.prototype; - dart.addTypeTests(ArrayIterator); - ArrayIterator.prototype[_is_ArrayIterator_default] = true; - dart.addTypeCaches(ArrayIterator); - ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ArrayIterator, () => ({ - __proto__: dart.getMethods(ArrayIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ArrayIterator, () => ({ - __proto__: dart.getGetters(ArrayIterator.__proto__), - current: E - })); - dart.setLibraryUri(ArrayIterator, I[17]); - dart.setFieldSignature(ArrayIterator, () => ({ - __proto__: dart.getFields(ArrayIterator.__proto__), - [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), - [_length]: dart.finalFieldType(core.int), - [_index]: dart.fieldType(core.int), - [_current]: dart.fieldType(dart.nullable(E)) - })); - return ArrayIterator; -}); -_interceptors.ArrayIterator = _interceptors.ArrayIterator$(); -dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); -var _isInt32 = dart.privateName(_interceptors, "_isInt32"); -var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); -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); - if (this < b) { - return -1; - } else if (this > b) { - return 1; - } else if (this === b) { - if (this === 0) { - let bIsNegative = b[$isNegative]; - if (this[$isNegative] === bIsNegative) return 0; - if (this[$isNegative]) return -1; - return 1; - } - return 0; - } else if (this[$isNaN]) { - if (b[$isNaN]) { - return 0; - } - return 1; - } else { - return -1; - } - } - get [$isNegative]() { - return this === 0 ? 1 / this < 0 : this < 0; - } - get [$isNaN]() { - return isNaN(this); - } - get [$isInfinite]() { - return this == 1 / 0 || this == -1 / 0; - } - get [$isFinite]() { - return isFinite(this); - } - [$remainder](b) { - if (b == null) dart.argumentError(b); - return this % b; - } - [$abs]() { - return Math.abs(this); - } - get [$sign]() { - return this > 0 ? 1 : this < 0 ? -1 : this; - } - [$toInt]() { - if (this >= -2147483648 && this <= 2147483647) { - return this | 0; - } - if (isFinite(this)) { - return this[$truncateToDouble]() + 0; - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$truncate]() { - return this[$toInt](); - } - [$ceil]() { - return this[$ceilToDouble]()[$toInt](); - } - [$floor]() { - return this[$floorToDouble]()[$toInt](); - } - [$round]() { - if (this > 0) { - if (this !== 1 / 0) { - return Math.round(this); - } - } else if (this > -1 / 0) { - return 0 - Math.round(0 - this); - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$ceilToDouble]() { - return Math.ceil(this); - } - [$floorToDouble]() { - return Math.floor(this); - } - [$roundToDouble]() { - if (this < 0) { - return -Math.round(-this); - } else { - return Math.round(this); - } - } - [$truncateToDouble]() { - return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); - } - [$clamp](lowerLimit, upperLimit) { - if (lowerLimit == null) dart.argumentError(lowerLimit); - if (upperLimit == null) dart.argumentError(upperLimit); - if (lowerLimit[$compareTo](upperLimit) > 0) { - dart.throw(_js_helper.argumentErrorValue(lowerLimit)); - } - if (this[$compareTo](lowerLimit) < 0) return lowerLimit; - if (this[$compareTo](upperLimit) > 0) return upperLimit; - return this; - } - [$toDouble]() { - return this; - } - [$toStringAsFixed](fractionDigits) { - if (fractionDigits == null) dart.argumentError(fractionDigits); - if (fractionDigits < 0 || fractionDigits > 20) { - dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); - } - let result = this.toFixed(fractionDigits); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toStringAsExponential](fractionDigits = null) { - let result = null; - if (fractionDigits != null) { - let _fractionDigits = fractionDigits; - if (_fractionDigits < 0 || _fractionDigits > 20) { - dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); - } - result = this.toExponential(_fractionDigits); - } else { - result = this.toExponential(); - } - if (this === 0 && this[$isNegative]) return "-" + dart.str(result); - return result; - } - [$toStringAsPrecision](precision) { - if (precision == null) dart.argumentError(precision); - if (precision < 1 || precision > 21) { - dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); - } - let result = this.toPrecision(precision); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toRadixString](radix) { - if (radix == null) dart.argumentError(radix); - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - let result = this.toString(radix); - if (result[$codeUnitAt](result.length - 1) !== 41) { - return result; - } - return _interceptors.JSNumber._handleIEtoString(result); - } - static _handleIEtoString(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))); - } - result = match[$_get](1); - let exponent = +match[$_get](3); - if (match[$_get](2) != null) { - result = result + match[$_get](2); - exponent = exponent - match[$_get](2).length; - } - return dart.notNull(result) + "0"[$times](exponent); - } - [$toString]() { - if (this === 0 && 1 / this < 0) { - return "-0.0"; - } else { - return "" + this; - } - } - get [$hashCode]() { - let intValue = this | 0; - if (this === intValue) return 536870911 & intValue; - let absolute = Math.abs(this); - let lnAbsolute = Math.log(absolute); - let log2 = lnAbsolute / 0.6931471805599453; - let floorLog2 = log2 | 0; - let factor = Math.pow(2, floorLog2); - let scaled = absolute < 1 ? absolute / factor : factor / absolute; - let rescaled1 = scaled * 9007199254740992; - let rescaled2 = scaled * 3542243181176521; - let d1 = rescaled1 | 0; - let d2 = rescaled2 | 0; - let d3 = floorLog2; - let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; - return h; - } - [$_negate]() { - return -this; - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$minus](other) { - if (other == null) dart.argumentError(other); - return this - other; - } - [$divide](other) { - if (other == null) dart.argumentError(other); - return this / other; - } - [$times](other) { - if (other == null) dart.argumentError(other); - return this * other; - } - [$modulo](other) { - if (other == null) dart.argumentError(other); - let result = this % other; - if (result === 0) { - return 0; - } - if (result > 0) return result; - if (other < 0) { - return result - other; - } else { - return result + other; - } - } - [_isInt32](value) { - return (value | 0) === value; - } - [$floorDivide](other) { - if (other == null) dart.argumentError(other); - if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { - return this / other | 0; - } else { - return this[_tdivSlow](other); - } - } - [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[20], 321, 21, "other"); - return (this / other)[$toInt](); - } - [$leftShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shlPositive](other); - } - [_shlPositive](other) { - return other > 31 ? 0 : this << other >>> 0; - } - [$rightShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrOtherPositive](other); - } - [$tripleShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrUnsigned](other); - } - [_shrOtherPositive](other) { - return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; - } - [_shrUnsigned](other) { - return other > 31 ? 0 : this >>> other; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return (this & other) >>> 0; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return (this | other) >>> 0; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return (this ^ other) >>> 0; - } - [$lessThan](other) { - if (other == null) dart.argumentError(other); - return this < other; - } - [$greaterThan](other) { - if (other == null) dart.argumentError(other); - return this > other; - } - [$lessOrEquals](other) { - if (other == null) dart.argumentError(other); - return this <= other; - } - [$greaterOrEquals](other) { - if (other == null) dart.argumentError(other); - return this >= other; - } - get [$isEven]() { - return (this & 1) === 0; - } - get [$isOdd]() { - return (this & 1) === 1; - } - [$toUnsigned](width) { - if (width == null) dart.argumentError(width); - return (this & (1)[$leftShift](width) - 1) >>> 0; - } - [$toSigned](width) { - if (width == null) dart.argumentError(width); - let signMask = (1)[$leftShift](width - 1); - return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); - } - get [$bitLength]() { - let nonneg = this < 0 ? -this - 1 : this; - let wordBits = 32; - while (nonneg >= 4294967296) { - nonneg = (nonneg / 4294967296)[$truncate](); - wordBits = wordBits + 32; - } - return wordBits - _interceptors.JSNumber._clz32(nonneg); - } - static _clz32(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; - if (this < -9007199254740991.0 || this > 9007199254740991.0) { - dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); - } - if (e > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); - } - if (m > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); - } - if (m > 94906265) { - return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); - } - let b = this; - if (b < 0 || b > m) { - b = b[$modulo](m); - } - let r = 1; - while (e > 0) { - if (e[$isOdd]) { - r = (r * b)[$modulo](m); - } - e = (e / 2)[$truncate](); - b = (b * b)[$modulo](m); - } - return r; - } - static _binaryGcd(x, y, inv) { - let s = 1; - if (!inv) { - while (x[$isEven] && y[$isEven]) { - x = (x / 2)[$truncate](); - y = (y / 2)[$truncate](); - s = s * 2; - } - if (y[$isOdd]) { - let t = x; - x = y; - y = t; - } - } - let ac = x[$isEven]; - let u = x; - let v = y; - let a = 1; - let b = 0; - let c = 0; - let d = 1; - do { - while (u[$isEven]) { - u = (u / 2)[$truncate](); - if (ac) { - if (!a[$isEven] || !b[$isEven]) { - a = a + y; - b = b - x; - } - a = (a / 2)[$truncate](); - } else if (!b[$isEven]) { - b = b - x; - } - b = (b / 2)[$truncate](); - } - while (v[$isEven]) { - v = (v / 2)[$truncate](); - if (ac) { - if (!c[$isEven] || !d[$isEven]) { - c = c + y; - d = d - x; - } - c = (c / 2)[$truncate](); - } else if (!d[$isEven]) { - d = d - x; - } - d = (d / 2)[$truncate](); - } - if (u >= v) { - u = u - v; - if (ac) a = a - c; - b = b - d; - } else { - v = v - u; - if (ac) c = c - a; - d = d - b; - } - } while (u !== 0); - if (!inv) return s * v; - if (v !== 1) dart.throw(core.Exception.new("Not coprime")); - if (d < 0) { - d = d + x; - if (d < 0) d = d + x; - } else if (d > x) { - d = d - x; - if (d > x) d = d - x; - } - return d; - } - [$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; - if (t < 0 || t >= m) t = t[$modulo](m); - if (t === 1) return 1; - if (t === 0 || t[$isEven] && m[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - return _interceptors.JSNumber._binaryGcd(m, t, true); - } - [$gcd](other) { - if (other == null) dart.argumentError(other); - if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); - let x = this[$abs](); - let y = other[$abs](); - if (x === 0) return y; - if (y === 0) return x; - if (x === 1 || y === 1) return 1; - return _interceptors.JSNumber._binaryGcd(x, y, false); - } - [$bitNot]() { - return ~this >>> 0; - } -}; -(_interceptors.JSNumber.new = function() { - _interceptors.JSNumber.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSNumber.prototype; -dart.addTypeTests(_interceptors.JSNumber); -dart.addTypeCaches(_interceptors.JSNumber); -_interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; -dart.setMethodSignature(_interceptors.JSNumber, () => ({ - __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$abs]: dart.fnType(_interceptors.JSNumber, []), - [$toInt]: dart.fnType(core.int, []), - [$truncate]: dart.fnType(core.int, []), - [$ceil]: dart.fnType(core.int, []), - [$floor]: dart.fnType(core.int, []), - [$round]: dart.fnType(core.int, []), - [$ceilToDouble]: dart.fnType(core.double, []), - [$floorToDouble]: dart.fnType(core.double, []), - [$roundToDouble]: dart.fnType(core.double, []), - [$truncateToDouble]: dart.fnType(core.double, []), - [$clamp]: dart.fnType(core.num, [core.num, core.num]), - [$toDouble]: dart.fnType(core.double, []), - [$toStringAsFixed]: dart.fnType(core.String, [core.int]), - [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), - [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), - [$toRadixString]: dart.fnType(core.String, [core.int]), - [$_negate]: dart.fnType(_interceptors.JSNumber, []), - [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$divide]: dart.fnType(core.double, [core.num]), - [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), - [_isInt32]: dart.fnType(core.bool, [core.num]), - [$floorDivide]: dart.fnType(core.int, [core.num]), - [_tdivSlow]: dart.fnType(core.int, [core.num]), - [$leftShift]: dart.fnType(core.int, [core.num]), - [_shlPositive]: dart.fnType(core.int, [core.num]), - [$rightShift]: dart.fnType(core.int, [core.num]), - [$tripleShift]: dart.fnType(core.int, [core.num]), - [_shrOtherPositive]: dart.fnType(core.int, [core.num]), - [_shrUnsigned]: dart.fnType(core.int, [core.num]), - [$bitAnd]: dart.fnType(core.int, [core.num]), - [$bitOr]: dart.fnType(core.int, [core.num]), - [$bitXor]: dart.fnType(core.int, [core.num]), - [$lessThan]: dart.fnType(core.bool, [core.num]), - [$greaterThan]: dart.fnType(core.bool, [core.num]), - [$lessOrEquals]: dart.fnType(core.bool, [core.num]), - [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), - [$toUnsigned]: dart.fnType(core.int, [core.int]), - [$toSigned]: dart.fnType(core.int, [core.int]), - [$modPow]: dart.fnType(core.int, [core.int, core.int]), - [$modInverse]: dart.fnType(core.int, [core.int]), - [$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, - [$isNaN]: core.bool, - [$isInfinite]: core.bool, - [$isFinite]: core.bool, - [$sign]: _interceptors.JSNumber, - [$isEven]: core.bool, - [$isOdd]: core.bool, - [$bitLength]: core.int -})); -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; - }, - /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { - return 2147483647; - } -}, 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.withLength(index, len, {indexable: this, name: "index"})); - } - return this.charCodeAt(index); - } - [$allMatches](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let len = string.length; - if (0 > start || start > len) { - dart.throw(new core.RangeError.range(start, 0, len)); - } - return _js_helper.allMatchesInStringUnchecked(this, string, start); - } - [$matchAsPrefix](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let stringLength = string.length; - if (start < 0 || start > stringLength) { - dart.throw(new core.RangeError.range(start, 0, stringLength)); - } - let thisLength = this.length; - if (start + thisLength > stringLength) return null; - for (let i = 0; i < thisLength; i = i + 1) { - if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { - return null; - } - } - return new _js_helper.StringMatch.new(start, string, this); - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$endsWith](other) { - if (other == null) dart.argumentError(other); - let otherLength = other.length; - let thisLength = this.length; - if (otherLength > thisLength) return false; - return other === this[$substring](thisLength - otherLength); - } - [$replaceAll](from, to) { - 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[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[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[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[21], 91, 15, "from"); - if (replace == null) dart.argumentError(replace); - if (startIndex == null) dart.argumentError(startIndex); - core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); - return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); - } - [$split](pattern) { - if (pattern == null) dart.argumentError(pattern); - if (typeof pattern == 'string') { - return T$.JSArrayOfString().of(this.split(pattern)); - } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { - let re = _js_helper.regExpGetNative(pattern); - return T$.JSArrayOfString().of(this.split(re)); - } else { - return this[_defaultSplit](pattern); - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (replacement == null) dart.argumentError(replacement); - let e = core.RangeError.checkValidRange(start, end, this.length); - return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); - } - [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); - let result = T$.JSArrayOfString().of([]); - let start = 0; - let length = 1; - for (let match of pattern[$allMatches](this)) { - let matchStart = match.start; - let matchEnd = match.end; - length = matchEnd - matchStart; - if (length === 0 && start === matchStart) { - continue; - } - let end = matchStart; - result[$add](this[$substring](start, end)); - start = matchEnd; - } - if (start < this.length || length > 0) { - result[$add](this[$substring](start)); - } - return result; - } - [$startsWith](pattern, index = 0) { - 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) { - dart.throw(new core.RangeError.range(index, 0, this.length)); - } - if (typeof pattern == 'string') { - let other = pattern; - let otherLength = other.length; - let endIndex = index + otherLength; - if (endIndex > length) return false; - return other === this.substring(index, endIndex); - } - return pattern[$matchAsPrefix](this, index) != null; - } - [$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(); - } - [$toUpperCase]() { - return this.toUpperCase(); - } - static _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; - } - } - } - static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[21], 243, 44, "string"); - if (index == null) dart.argumentError(index); - let stringLength = string.length; - while (index < stringLength) { - let codeUnit = string[$codeUnitAt](index); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index + 1; - } - return index; - } - static _skipTrailingWhitespace(string, index) { - 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); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index - 1; - } - return index; - } - [$trim]() { - let result = this.trim(); - let length = result.length; - if (length === 0) return result; - let firstCode = result[$codeUnitAt](0); - let startIndex = 0; - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - if (startIndex === length) return ""; - } - let endIndex = length; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - if (startIndex === 0 && endIndex === length) return result; - return result.substring(startIndex, endIndex); - } - [$trimLeft]() { - let result = null; - let startIndex = 0; - if (typeof this.trimLeft != "undefined") { - result = this.trimLeft(); - if (result.length === 0) return result; - let firstCode = result[$codeUnitAt](0); - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - } - } else { - result = this; - startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); - } - if (startIndex === 0) return result; - if (startIndex === result.length) return ""; - return result.substring(startIndex); - } - [$trimRight]() { - let result = null; - let endIndex = 0; - if (typeof this.trimRight != "undefined") { - result = this.trimRight(); - endIndex = result.length; - if (endIndex === 0) return result; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - } else { - result = this; - endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); - } - if (endIndex === result.length) return result; - if (endIndex === 0) return ""; - return result.substring(0, endIndex); - } - [$times](times) { - if (times == null) dart.argumentError(times); - if (0 >= times) return ""; - if (times === 1 || this.length === 0) return this; - if (times !== times >>> 0) { - dart.throw(C[18] || CT.C18); - } - let result = ""; - let s = this; - while (true) { - if ((times & 1) === 1) result = s + result; - times = times >>> 1; - if (times === 0) break; - s = s + s; - } - return result; - } - [$padLeft](width, padding = " ") { - if (width == null) dart.argumentError(width); - 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[21], 393, 49, "padding"); - let delta = width - this.length; - if (delta <= 0) return this; - return this[$plus](padding[$times](delta)); - } - get [$codeUnits]() { - return new _internal.CodeUnits.new(this); - } - get [$runes]() { - return new core.Runes.new(this); - } - [$indexOf](pattern, start = 0) { - if (pattern == null) dart.argumentError(pattern); - if (start == null) dart.argumentError(start); - if (start < 0 || start > this.length) { - dart.throw(new core.RangeError.range(start, 0, this.length)); - } - if (typeof pattern == 'string') { - return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = pattern; - let match = _js_helper.firstMatchAfter(re, this, start); - return match == null ? -1 : match.start; - } - let length = this.length; - for (let i = start; i <= length; i = i + 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$lastIndexOf](pattern, _start = null) { - let t16; - if (pattern == null) dart.argumentError(pattern); - let length = this.length; - 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)); - } - if (typeof pattern == 'string') { - let other = pattern; - if (dart.notNull(start) + other.length > length) { - start = length - other.length; - } - return _js_helper.stringLastIndexOfUnchecked(this, other, start); - } - for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$contains](other, startIndex = 0) { - if (other == null) dart.argumentError(other); - if (startIndex == null) dart.argumentError(startIndex); - if (startIndex < 0 || startIndex > this.length) { - dart.throw(new core.RangeError.range(startIndex, 0, this.length)); - } - return _js_helper.stringContainsUnchecked(this, other, startIndex); - } - get [$isEmpty]() { - return this.length === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$compareTo](other) { - core.String.as(other); - if (other == null) dart.argumentError(other); - return this === other ? 0 : this < other ? -1 : 1; - } - [$toString]() { - return this; - } - get [$hashCode]() { - let hash = 0; - let length = this.length; - for (let i = 0; i < length; i = i + 1) { - hash = 536870911 & hash + this.charCodeAt(i); - hash = 536870911 & hash + ((524287 & hash) << 10); - hash = hash ^ hash >> 6; - } - hash = 536870911 & hash + ((67108863 & hash) << 3); - hash = hash ^ hash >> 11; - return 536870911 & hash + ((16383 & hash) << 15); - } - get [$runtimeType]() { - return dart.wrapType(core.String); - } - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.argumentError(index); - if (!(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - return this[index]; - } -}; -(_interceptors.JSString.new = function() { - _interceptors.JSString.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSString.prototype; -dart.addTypeTests(_interceptors.JSString); -dart.addTypeCaches(_interceptors.JSString); -_interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; -dart.setMethodSignature(_interceptors.JSString, () => ({ - __proto__: dart.getMethods(_interceptors.JSString.__proto__), - [$codeUnitAt]: dart.fnType(core.int, [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), - [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), - [$plus]: dart.fnType(core.String, [core.String]), - [$endsWith]: dart.fnType(core.bool, [core.String]), - [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), - [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), - [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), - [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), - [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), - [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), - [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), - [$toLowerCase]: dart.fnType(core.String, []), - [$toUpperCase]: dart.fnType(core.String, []), - [$trim]: dart.fnType(core.String, []), - [$trimLeft]: dart.fnType(core.String, []), - [$trimRight]: dart.fnType(core.String, []), - [$times]: dart.fnType(core.String, [core.int]), - [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), - [$padRight]: dart.fnType(core.String, [core.int], [core.String]), - [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$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), - [$runes]: core.Runes, - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$length]: core.int -})); -dart.setLibraryUri(_interceptors.JSString, I[17]); -dart.definePrimitiveHashCode(_interceptors.JSString.prototype); -dart.registerExtension("String", _interceptors.JSString); -_interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { -}; -_interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[18], 304, 57, "name"); -}; -_interceptors.getNativeInterceptor = function getNativeInterceptor(object) { -}; -_interceptors.setDispatchProperty = function setDispatchProperty(object, value) { -}; -_interceptors.findInterceptorForType = function findInterceptorForType(type) { -}; -dart.defineLazy(_interceptors, { - /*_interceptors.jsNull*/get jsNull() { - return new _interceptors.JSNull.new(); - } -}, false); -var _string$ = dart.privateName(_internal, "_string"); -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 __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 (__t$ListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[24], 78, 19, "index"); - return this[$_get](index); - } - followedBy(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[24], 83, 21, "action"); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - action(this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - get first() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](0); - } - set first(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](0, value); - } - get last() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](dart.notNull(this[$length]) - 1); - } - set last(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](dart.notNull(this[$length]) - 1, value); - } - get single() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this[$_get](0); - } - contains(element) { - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this[$_get](i), element)) return true; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 157, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 170, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - let t20; - if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); - if (this[$length] === 0) return ""; - 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[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[24], 215, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); - } - expand(T, f) { - if (f == null) dart.nullFailed(I[24], 217, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[24], 247, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - take(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[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[24], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); - let first = this[$_get](0); - 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 (__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 t20; - E.as(element); - this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); - } - addAll(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[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); - this[$add](element); - i = dart.notNull(i) + 1; - } - } - remove(element) { - for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this[_closeGap](i, i + 1); - return true; - } - } - return false; - } - [_closeGap](start, 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[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)); - } - this[$length] = dart.notNull(length) - size; - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[24], 315, 25, "test"); - this[_filter](test, false); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[24], 319, 25, "test"); - this[_filter](test, true); - } - [_filter](test, retainMatching) { - 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); - if (test(element) == retainMatching) { - retained[$add](element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (retained[$length] != this[$length]) { - this[$setRange](0, retained[$length], retained); - this[$length] = retained[$length]; - } - } - clear() { - this[$length] = 0; - } - cast(R) { - return core.List.castFrom(E, R, this); - } - removeLast() { - if (this[$length] === 0) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = this[$_get](dart.notNull(this[$length]) - 1); - this[$length] = dart.notNull(this[$length]) - 1; - return result; - } - sort(compare = null) { - 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)); - } - shuffle(random = null) { - random == null ? random = math.Random.new() : null; - if (random == null) dart.throw("!"); - let length = this[$length]; - while (dart.notNull(length) > 1) { - let pos = random.nextInt(length); - length = dart.notNull(length) - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - asMap() { - return new (__t$ListMapViewOfE()).new(this); - } - ['+'](other) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[24], 381, 30, "other"); - return (() => { - let t20 = __t$ListOfE().of(this); - t20[$addAll](other); - return t20; - })(); - } - sublist(start, end = null) { - 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 __t$ListOfE().from(this[$getRange](start, end)); - } - getRange(start, 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 (__t$SubListIterableOfE()).new(this, start, end); - } - removeRange(start, 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[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) { - this[$_set](i, value); - } - } - setRange(start, end, iterable, skipCount = 0) { - 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 (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (dart.notNull(otherStart) < dart.notNull(start)) { - for (let i = length - 1; i >= 0; i = i - 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } else { - for (let i = 0; i < length; i = i + 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } - } - replaceRange(start, end, 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); - return; - } - if (!_internal.EfficientLengthIterable.is(newContents)) { - newContents = newContents[$toList](); - } - let removeLength = dart.notNull(end) - dart.notNull(start); - let insertLength = newContents[$length]; - if (removeLength >= dart.notNull(insertLength)) { - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - this[$setRange](start, insertEnd, newContents); - if (removeLength > dart.notNull(insertLength)) { - this[_closeGap](insertEnd, end); - } - } else if (end == this[$length]) { - let i = start; - for (let element of newContents) { - if (dart.notNull(i) < dart.notNull(end)) { - this[$_set](i, element); - } else { - this[$add](element); - } - i = dart.notNull(i) + 1; - } - } else { - let delta = dart.notNull(insertLength) - removeLength; - let oldLength = this[$length]; - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (insertEnd < dart.notNull(oldLength)) { - this[$setRange](insertEnd, oldLength, this, end); - } - this[$setRange](start, insertEnd, newContents); - } - } - indexOf(element, start = 0) { - 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; - } - return -1; - } - indexWhere(test, start = 0) { - 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; - } - return -1; - } - lastIndexOf(element, start = null) { - 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) { - if (dart.equals(this[$_get](i), element)) return i; - } - return -1; - } - lastIndexWhere(test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[24], 526, 19, "index"); - E.as(element); - _internal.checkNotNullable(core.int, index, "index"); - let length = this[$length]; - core.RangeError.checkValueInInterval(index, 0, length, "index"); - this[$add](element); - if (index != length) { - this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); - this[$_set](index, element); - } - } - removeAt(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[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); - return; - } - if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { - iterable = iterable[$toList](); - } - let insertionLength = iterable[$length]; - if (insertionLength === 0) { - return; - } - let oldLength = this[$length]; - for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (iterable[$length] != insertionLength) { - this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); - dart.throw(new core.ConcurrentModificationError.new(iterable)); - } - let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); - if (oldCopyStart < dart.notNull(oldLength)) { - this[$setRange](oldCopyStart, oldLength, this, index); - } - this[$setAll](index, iterable); - } - setAll(index, 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]((t21 = index, index = dart.notNull(t21) + 1, t21), element); - } - } - } - get reversed() { - return new (__t$ReversedListIterableOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "[", "]"); - } - } - (ListMixin.new = function() { - ; - }).prototype = ListMixin.prototype; - ListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ListMixin); - ListMixin.prototype[_is_ListMixin_default] = true; - dart.addTypeCaches(ListMixin); - ListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ListMixin, () => ({ - __proto__: dart.getMethods(ListMixin.__proto__), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - asMap: dart.fnType(core.Map$(core.int, E), []), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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), - [$iterator]: core.Iterator$(E), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E, - reversed: core.Iterable$(E), - [$reversed]: core.Iterable$(E) - })); - dart.setSetterSignature(ListMixin, () => ({ - __proto__: dart.getSetters(ListMixin.__proto__), - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(ListMixin, I[25]); - dart.defineExtensionMethods(ListMixin, [ - 'elementAt', - 'followedBy', - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'whereType', - 'map', - 'expand', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet', - 'add', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'cast', - 'removeLast', - 'sort', - 'shuffle', - 'asMap', - '+', - 'sublist', - 'getRange', - 'removeRange', - 'fillRange', - 'setRange', - 'replaceRange', - 'indexOf', - 'indexWhere', - 'lastIndexOf', - 'lastIndexWhere', - 'insert', - 'removeAt', - 'insertAll', - 'setAll', - 'toString' - ]); - dart.defineExtensionAccessors(ListMixin, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single', - 'reversed' - ]); - return ListMixin; -}); -collection.ListMixin = collection.ListMixin$(); -dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); -const _is_ListBase_default = Symbol('_is_ListBase_default'); -collection.ListBase$ = dart.generic(E => { - const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; - (Object_ListMixin$36.new = function() { - }).prototype = Object_ListMixin$36.prototype; - dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); - class ListBase extends Object_ListMixin$36 { - static listToString(list) { - if (list == null) dart.nullFailed(I[24], 42, 35, "list"); - return collection.IterableBase.iterableToFullString(list, "[", "]"); - } - } - (ListBase.new = function() { - ; - }).prototype = ListBase.prototype; - dart.addTypeTests(ListBase); - ListBase.prototype[_is_ListBase_default] = true; - dart.addTypeCaches(ListBase); - 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 __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[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[23], 94, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); - } - set first(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - set last(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - setAll(at, 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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); - } - insert(index, element) { - 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[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) { - __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[23], 138, 25, "test"); - dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); - } - retainWhere(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) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - clear() { - dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); - } - removeAt(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[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[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[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[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]() { - return new dart.JsIterator(this[$iterator]); - } - } - (UnmodifiableListMixin.new = function() { - ; - }).prototype = UnmodifiableListMixin.prototype; - UnmodifiableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(UnmodifiableListMixin); - UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; - dart.addTypeCaches(UnmodifiableListMixin); - UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), - length: core.int, - [$length]: core.int, - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(UnmodifiableListMixin, I[26]); - dart.defineExtensionMethods(UnmodifiableListMixin, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); - return UnmodifiableListMixin; -}); -_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 __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[23], 208, 16, "newLength"); - return super.length = newLength; - } - set first(element) { - E.as(element); - return super.first = element; - } - get first() { - return super.first; - } - set last(element) { - E.as(element); - return super.last = element; - } - get last() { - return super.last; - } - _set(index, value$) { - let value = value$; - 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[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) { - E.as(value); - return super.add(value); - } - insert(index, element) { - 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[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) { - __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[23], 208, 16, "test"); - return super.removeWhere(test); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 208, 16, "test"); - return super.retainWhere(test); - } - sort(compare = null) { - return super.sort(compare); - } - shuffle(random = null) { - return super.shuffle(random); - } - clear() { - return super.clear(); - } - removeAt(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[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[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[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[23], 208, 16, "start"); - if (end == null) dart.nullFailed(I[23], 208, 16, "end"); - __t$EN().as(fillValue); - return super.fillRange(start, end, fillValue); - } - } - (UnmodifiableListBase.new = function() { - ; - }).prototype = UnmodifiableListBase.prototype; - dart.addTypeTests(UnmodifiableListBase); - UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; - dart.addTypeCaches(UnmodifiableListBase); - dart.setMethodSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getMethods(UnmodifiableListBase.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getSetters(UnmodifiableListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListBase, I[26]); - dart.defineExtensionMethods(UnmodifiableListBase, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); - return UnmodifiableListBase; -}); -_internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); -dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); -core.num = class num extends core.Object { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.num); - } - static parse(input, onError = null) { - 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 t21; - if (input == null) dart.nullFailed(I[27], 600, 31, "input"); - let source = input[$trim](); - t21 = core.int.tryParse(source); - return t21 == null ? core.double.tryParse(source) : t21; - } -}; -(core.num.new = function() { - ; -}).prototype = core.num.prototype; -dart.addTypeCaches(core.num); -core.num[dart.implements] = () => [core.Comparable$(core.num)]; -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; - } - static as(o) { - if (typeof o == "number" && Math.floor(o) == o) { - return o; - } - return dart.as(o, core.int); - } - static fromEnvironment(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"); - 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], 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}); - if (value != null) return value; - if (onError != null) return onError(source); - dart.throw(new core.FormatException.new(source)); - } - static tryParse(source, opts) { - 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.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; - } - set length(value) { - super.length = value; - } - _get(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[22], 97, 36, "u"); - return u[_string$]; - } -}; -(_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); - this[_string$] = _string; - ; -}).prototype = _internal.CodeUnits.prototype; -dart.addTypeTests(_internal.CodeUnits); -dart.addTypeCaches(_internal.CodeUnits); -dart.setMethodSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getMethods(_internal.CodeUnits.__proto__), - _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[26]); -dart.setFieldSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getFields(_internal.CodeUnits.__proto__), - [_string$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); -dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); -var name$5 = dart.privateName(_internal, "ExternalName.name"); -_internal.ExternalName = class ExternalName extends core.Object { - get name() { - return this[name$5]; - } - 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[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[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[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[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, 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, 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, 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, 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - hash = _internal.SystemHash.combine(hash, v7); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - 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[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; - x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; - 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.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() { - return this[version$]; - } - 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[22], 745, 20, "version"); - this[version$] = version; - ; -}).prototype = _internal.Since.prototype; -dart.addTypeTests(_internal.Since); -dart.addTypeCaches(_internal.Since); -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); - } - if (typeof object == 'string') { - return core.Error._stringToSafeString(object); - } - return core.Error._objectToString(object); - } - static _stringToSafeString(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], 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[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 '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; - } - } - (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); - this[_name$] = _name; - NotNullableError.__proto__.new.call(this); - ; - }).prototype = NotNullableError.prototype; - dart.addTypeTests(NotNullableError); - NotNullableError.prototype[_is_NotNullableError_default] = true; - dart.addTypeCaches(NotNullableError); - NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[26]); - dart.setFieldSignature(NotNullableError, () => ({ - __proto__: dart.getFields(NotNullableError.__proto__), - [_name$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(NotNullableError, ['toString']); - return NotNullableError; -}); -_internal.NotNullableError = _internal.NotNullableError$(); -dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); -_internal.HttpStatus = class HttpStatus extends core.Object {}; -(_internal.HttpStatus.new = function() { - ; -}).prototype = _internal.HttpStatus.prototype; -dart.addTypeTests(_internal.HttpStatus); -dart.addTypeCaches(_internal.HttpStatus); -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; - }, - /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { - return 101; - }, - /*_internal.HttpStatus.processing*/get processing() { - return 102; - }, - /*_internal.HttpStatus.ok*/get ok() { - return 200; - }, - /*_internal.HttpStatus.created*/get created() { - return 201; - }, - /*_internal.HttpStatus.accepted*/get accepted() { - return 202; - }, - /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { - return 203; - }, - /*_internal.HttpStatus.noContent*/get noContent() { - return 204; - }, - /*_internal.HttpStatus.resetContent*/get resetContent() { - return 205; - }, - /*_internal.HttpStatus.partialContent*/get partialContent() { - return 206; - }, - /*_internal.HttpStatus.multiStatus*/get multiStatus() { - return 207; - }, - /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { - return 208; - }, - /*_internal.HttpStatus.imUsed*/get imUsed() { - return 226; - }, - /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { - return 300; - }, - /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { - return 301; - }, - /*_internal.HttpStatus.found*/get found() { - return 302; - }, - /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { - return 302; - }, - /*_internal.HttpStatus.seeOther*/get seeOther() { - return 303; - }, - /*_internal.HttpStatus.notModified*/get notModified() { - return 304; - }, - /*_internal.HttpStatus.useProxy*/get useProxy() { - return 305; - }, - /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { - return 307; - }, - /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { - return 308; - }, - /*_internal.HttpStatus.badRequest*/get badRequest() { - return 400; - }, - /*_internal.HttpStatus.unauthorized*/get unauthorized() { - return 401; - }, - /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { - return 402; - }, - /*_internal.HttpStatus.forbidden*/get forbidden() { - return 403; - }, - /*_internal.HttpStatus.notFound*/get notFound() { - return 404; - }, - /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { - return 405; - }, - /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { - return 406; - }, - /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { - return 407; - }, - /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { - return 408; - }, - /*_internal.HttpStatus.conflict*/get conflict() { - return 409; - }, - /*_internal.HttpStatus.gone*/get gone() { - return 410; - }, - /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { - return 411; - }, - /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { - return 412; - }, - /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { - return 413; - }, - /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { - return 414; - }, - /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { - return 415; - }, - /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { - return 416; - }, - /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { - return 417; - }, - /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { - return 421; - }, - /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { - return 422; - }, - /*_internal.HttpStatus.locked*/get locked() { - return 423; - }, - /*_internal.HttpStatus.failedDependency*/get failedDependency() { - return 424; - }, - /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { - return 426; - }, - /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { - return 428; - }, - /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { - return 429; - }, - /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { - return 431; - }, - /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { - return 444; - }, - /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { - return 451; - }, - /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { - return 499; - }, - /*_internal.HttpStatus.internalServerError*/get internalServerError() { - return 500; - }, - /*_internal.HttpStatus.notImplemented*/get notImplemented() { - return 501; - }, - /*_internal.HttpStatus.badGateway*/get badGateway() { - return 502; - }, - /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { - return 503; - }, - /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { - return 504; - }, - /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { - return 505; - }, - /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { - return 506; - }, - /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { - return 507; - }, - /*_internal.HttpStatus.loopDetected*/get loopDetected() { - return 508; - }, - /*_internal.HttpStatus.notExtended*/get notExtended() { - return 510; - }, - /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { - return 511; - }, - /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { - return 599; - }, - /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { - return 100; - }, - /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { - return 101; - }, - /*_internal.HttpStatus.OK*/get OK() { - return 200; - }, - /*_internal.HttpStatus.CREATED*/get CREATED() { - return 201; - }, - /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { - return 202; - }, - /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { - return 203; - }, - /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { - return 204; - }, - /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { - return 205; - }, - /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { - return 206; - }, - /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { - return 300; - }, - /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { - return 301; - }, - /*_internal.HttpStatus.FOUND*/get FOUND() { - return 302; - }, - /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { - return 302; - }, - /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { - return 303; - }, - /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { - return 304; - }, - /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { - return 305; - }, - /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { - return 307; - }, - /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { - return 400; - }, - /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { - return 401; - }, - /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { - return 402; - }, - /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { - return 403; - }, - /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { - return 404; - }, - /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { - return 405; - }, - /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { - return 406; - }, - /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { - return 407; - }, - /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { - return 408; - }, - /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { - return 409; - }, - /*_internal.HttpStatus.GONE*/get GONE() { - return 410; - }, - /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { - return 411; - }, - /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { - return 412; - }, - /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { - return 413; - }, - /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { - return 414; - }, - /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { - return 415; - }, - /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { - return 416; - }, - /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { - return 417; - }, - /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { - return 426; - }, - /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 500; - }, - /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { - return 501; - }, - /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { - return 502; - }, - /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { - return 503; - }, - /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { - return 504; - }, - /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { - return 505; - }, - /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { - 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"); -var _addError = dart.privateName(async, "_addError"); -var _completeError = dart.privateName(async, "_completeError"); -var _complete = dart.privateName(async, "_complete"); -var _sink$ = dart.privateName(async, "_sink"); -async.Stream$ = dart.generic(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 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 t22, t21; - if (error == null) dart.nullFailed(I[30], 212, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - 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[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); - controller[_closeUnchecked](); - }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { - controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); - controller[_closeUnchecked](); - }, 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[30], 291, 50, "futures"); - let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); - let count = 0; - function onValue(value) { - if (!dart.test(controller.isClosed)) { - controller[_add](value); - if ((count = count - 1) === 0) controller[_closeUnchecked](); - } - } - dart.fn(onValue, dart.fnType(dart.void, [T])); - function onError(error, 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](); - } - } - dart.fn(onError, T$.ObjectAndStackTraceTovoid()); - for (let future of futures) { - count = count + 1; - future.then(dart.void, onValue, {onError: onError}); - } - 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[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[30], 461, 64, "onListen"); - let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - 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[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 t25; - let computationCount = 0; - function sendEvent(_) { - let t24; - watch.reset(); - if (computation != null) { - let event = null; - try { - event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - controller.add(event); - } else { - controller.add(T.as(null)); - } - } - dart.fn(sendEvent, T$.dynamicTovoid()); - let timer = async.Timer.periodic(period, sendEvent); - t25 = controller; - (() => { - t25.onCancel = dart.fn(() => { - timer.cancel(); - return async.Future._nullFuture; - }, T$.VoidTo_FutureOfNull()); - t25.onPause = dart.fn(() => { - watch.stop(); - timer.cancel(); - }, T$.VoidTovoid()); - t25.onResume = dart.fn(() => { - let elapsed = watch.elapsed; - watch.start(); - timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { - timer = async.Timer.periodic(period, sendEvent); - sendEvent(null); - }, T$.VoidTovoid())); - }, T$.VoidTovoid()); - return t25; - })(); - }, T$.VoidTovoid()); - return controller.stream; - } - static eventTransformed(source, 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[30], 585, 45, "source"); - return new (_internal.CastStream$(S, T)).new(source); - } - get isBroadcast() { - return false; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); - } - where(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[30], 769, 22, "convert"); - return new (async._MapStream$(T, S)).new(this, convert); - } - asyncMap(E, 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); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - let t26; - let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); - function add(value) { - controller.add(value); - } - dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); - let addError = dart.bind(controller, _addError); - let resume = dart.bind(subscription, 'resume'); - subscription.onData(dart.fn(event => { - let newValue = null; - try { - newValue = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (async.Future$(E).is(newValue)) { - subscription.pause(); - newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); - } else { - controller.add(E.as(newValue)); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t26 = controller; - (() => { - 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[30], 841, 39, "convert"); - let controller = null; - if (dart.test(this.isBroadcast)) { - controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - 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; - try { - newStream = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (newStream != null) { - subscription.pause(); - controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t27 = controller; - (() => { - 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[30], 923, 34, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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[30], 958, 35, "convert"); - return new (async._ExpandStream$(T, S)).new(this, convert); - } - pipe(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[30], 1005, 50, "streamTransformer"); - return streamTransformer.bind(this); - } - reduce(combine) { - __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")); - } - function value$35set(value$35param) { - value$35isSet = true; - return value = value$35param; - } - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - if (!seenFirst) { - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } else { - result[_complete](value$35get()); - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { - value$35set(newValue); - }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); - } else { - value$35set(element); - seenFirst = true; - } - }, __t$TTovoid())); - return result; - } - fold(S, initialValue, 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(() => { - result[_complete](value); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - 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)); - }, __t$TTovoid())); - return result; - } - join(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; - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_complete](buffer.toString()); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(separator[$isEmpty] ? dart.fn(element => { - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid()) : dart.fn(element => { - if (!first) { - buffer.write(separator); - } - first = false; - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid())); - return result; - } - contains(needle) { - 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(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(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)); - }, __t$TTovoid())); - return future; - } - forEach(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); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { - }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - every(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[30], 1233, 47, "isMatch"); - if (!dart.test(isMatch)) { - async._cancelAndValue(subscription, future, false); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - any(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[30], 1271, 47, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, true); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - get length() { - let future = new (T$._FutureOfint()).new(); - let count = 0; - this.listen(dart.fn(_ => { - count = count + 1; - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](count); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get isEmpty() { - 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(_ => { - async._cancelAndValue(subscription, future, false); - }, __t$TTovoid())); - return future; - } - cast(R) { - return async.Stream.castFrom(T, R, this); - } - toList() { - let result = __t$JSArrayOfT().of([]); - let future = new (__t$_FutureOfListOfT()).new(); - this.listen(dart.fn(data => { - result[$add](data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - toSet() { - let result = new (__t$_HashSetOfT()).new(); - let future = new (__t$_FutureOfSetOfT()).new(); - this.listen(dart.fn(data => { - result.add(data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - drain(E, futureValue = null) { - if (futureValue == null) { - futureValue = E.as(futureValue); - } - return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); - } - take(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[30], 1475, 28, "test"); - return new (__t$_TakeWhileStreamOfT()).new(this, test); - } - skip(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[30], 1527, 28, "test"); - return new (__t$_SkipWhileStreamOfT()).new(this, test); - } - distinct(equals = null) { - return new (__t$_DistinctStreamOfT()).new(this, equals); - } - get first() { - 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()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - async._cancelAndValue(subscription, future, value); - }, __t$TTovoid())); - return future; - } - get last() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - this.listen(dart.fn(value => { - foundResult = true; - result$35set(value); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get single() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - }, __t$TTovoid())); - return future; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1716, 45, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1767, 45, "isMatch"); - if (dart.test(isMatch)) { - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1818, 45, "isMatch"); - if (dart.test(isMatch)) { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - elementAt(index) { - if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); - core.RangeError.checkNotNegative(index, "index"); - 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.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (index === elementIndex) { - async._cancelAndValue(subscription, result, value); - return; - } - elementIndex = elementIndex + 1; - }, __t$TTovoid())); - return result; - } - timeout(timeLimit, opts) { - 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 (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); - } else { - controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); - } - let zone = async.Zone.current; - let timeoutCallback = null; - if (onTimeout == null) { - timeoutCallback = dart.fn(() => { - controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); - }, T$.VoidTovoid()); - } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); - let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); - timeoutCallback = dart.fn(() => { - wrapper[_sink$] = controller; - zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); - wrapper[_sink$] = null; - }, T$.VoidTovoid()); - } - controller.onListen = dart.fn(() => { - let t58, t58$; - let timer = zone.createTimer(timeLimit, timeoutCallback); - let subscription = this.listen(null); - t58 = subscription; - (() => { - t58.onData(dart.fn(event => { - timer.cancel(); - timer = zone.createTimer(timeLimit, timeoutCallback); - controller.add(event); - }, __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())); - t58.onDone(dart.fn(() => { - timer.cancel(); - controller.close(); - }, T$.VoidTovoid())); - return t58; - })(); - controller.onCancel = dart.fn(() => { - timer.cancel(); - return subscription.cancel(); - }, T$.VoidToFutureOfvoid()); - if (!dart.test(this.isBroadcast)) { - t58$ = controller; - (() => { - t58$.onPause = dart.fn(() => { - timer.cancel(); - subscription.pause(); - }, T$.VoidTovoid()); - t58$.onResume = dart.fn(() => { - subscription.resume(); - timer = zone.createTimer(timeLimit, timeoutCallback); - }, T$.VoidTovoid()); - return t58$; - })(); - } - }, T$.VoidTovoid()); - return controller.stream; - } - } - (Stream.new = function() { - ; - }).prototype = Stream.prototype; - (Stream._internal = function() { - ; - }).prototype = Stream.prototype; - dart.addTypeTests(Stream); - Stream.prototype[dart.isStream] = true; - dart.addTypeCaches(Stream); - dart.setMethodSignature(Stream, () => ({ - __proto__: dart.getMethods(Stream.__proto__), - asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), - where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), - asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), - asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), - handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), - expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), - pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), - transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), - reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), - fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), - join: dart.fnType(async.Future$(core.String), [], [core.String]), - contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), - forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), - every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), - toList: dart.fnType(async.Future$(core.List$(T)), []), - toSet: dart.fnType(async.Future$(core.Set$(T)), []), - drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - take: dart.fnType(async.Stream$(T), [core.int]), - takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - skip: dart.fnType(async.Stream$(T), [core.int]), - skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), - firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - 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, - length: async.Future$(core.int), - isEmpty: async.Future$(core.bool), - first: async.Future$(T), - last: async.Future$(T), - single: async.Future$(T) - })); - 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 __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 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; - t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); - return (() => { - t21.onData(onData); - t21.onError(onError); - return t21; - })(); - } - cast(R) { - return new (_internal.CastStream$(S, R)).new(this[_source$]); - } - } - (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); - this[_source$] = _source; - CastStream.__proto__.new.call(this); - ; - }).prototype = CastStream.prototype; - dart.addTypeTests(CastStream); - CastStream.prototype[_is_CastStream_default] = true; - dart.addTypeCaches(CastStream); - dart.setMethodSignature(CastStream, () => ({ - __proto__: dart.getMethods(CastStream.__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)}, {}), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastStream, I[26]); - dart.setFieldSignature(CastStream, () => ({ - __proto__: dart.getFields(CastStream.__proto__), - [_source$]: dart.finalFieldType(async.Stream$(S)) - })); - return CastStream; -}); -_internal.CastStream = _internal.CastStream$(); -dart.addTypeTests(_internal.CastStream, _is_CastStream_default); -var _zone = dart.privateName(_internal, "_zone"); -var _handleData = dart.privateName(_internal, "_handleData"); -var _handleError = dart.privateName(_internal, "_handleError"); -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(); - } - onData(handleData) { - this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); - } - onError(handleError) { - this[_source$].onError(handleError); - if (handleError == null) { - this[_handleError] = null; - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); - } else if (T$.ObjectTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); - } else { - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - } - onDone(handleDone) { - this[_source$].onDone(handleDone); - } - [_onData](data) { - S.as(data); - if (this[_handleData] == null) return; - let targetData = null; - try { - targetData = T.as(data); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - let handleError = this[_handleError]; - if (handleError == null) { - this[_zone].handleUncaughtError(error, stack); - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); - } else { - this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); - } - return; - } else - throw e; - } - this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); - } - pause(resumeSignal = null) { - this[_source$].pause(resumeSignal); - } - resume() { - this[_source$].resume(); - } - get isPaused() { - return this[_source$].isPaused; - } - asFuture(E, futureValue = null) { - return this[_source$].asFuture(E, futureValue); - } - } - (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); - this[_zone] = async.Zone.current; - this[_handleData] = null; - this[_handleError] = null; - this[_source$] = _source; - this[_source$].onData(dart.bind(this, _onData)); - }).prototype = CastStreamSubscription.prototype; - CastStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(CastStreamSubscription); - CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; - dart.addTypeCaches(CastStreamSubscription); - CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(CastStreamSubscription, () => ({ - __proto__: dart.getMethods(CastStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(CastStreamSubscription, () => ({ - __proto__: dart.getGetters(CastStreamSubscription.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(CastStreamSubscription, I[26]); - dart.setFieldSignature(CastStreamSubscription, () => ({ - __proto__: dart.getFields(CastStreamSubscription.__proto__), - [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), - [_zone]: dart.finalFieldType(async.Zone), - [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), - [_handleError]: dart.fieldType(dart.nullable(core.Function)) - })); - return CastStreamSubscription; -}); -_internal.CastStreamSubscription = _internal.CastStreamSubscription$(); -dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); -const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); -async.StreamTransformerBase$ = dart.generic((S, T) => { - class StreamTransformerBase extends core.Object { - cast(RS, RT) { - return async.StreamTransformer.castFrom(S, T, RS, RT, this); - } - } - (StreamTransformerBase.new = function() { - ; - }).prototype = StreamTransformerBase.prototype; - dart.addTypeTests(StreamTransformerBase); - StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; - dart.addTypeCaches(StreamTransformerBase); - StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; - dart.setMethodSignature(StreamTransformerBase, () => ({ - __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[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 __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) { - __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[29], 104, 30, "_source"); - this[_source$] = _source; - CastStreamTransformer.__proto__.new.call(this); - ; - }).prototype = CastStreamTransformer.prototype; - dart.addTypeTests(CastStreamTransformer); - CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; - dart.addTypeCaches(CastStreamTransformer); - dart.setMethodSignature(CastStreamTransformer, () => ({ - __proto__: dart.getMethods(CastStreamTransformer.__proto__), - 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[26]); - dart.setFieldSignature(CastStreamTransformer, () => ({ - __proto__: dart.getFields(CastStreamTransformer.__proto__), - [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) - })); - return CastStreamTransformer; -}); -_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 __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[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[32], 31, 46, "other"); - return new (convert._FusedConverter$(S, T, TT)).new(this, other); - } - startChunkedConversion(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) { - __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())); - } - cast(RS, RT) { - return convert.Converter.castFrom(S, T, RS, RT, this); - } - } - (Converter.new = function() { - Converter.__proto__.new.call(this); - ; - }).prototype = Converter.prototype; - dart.addTypeTests(Converter); - Converter.prototype[_is_Converter_default] = true; - dart.addTypeCaches(Converter); - dart.setMethodSignature(Converter, () => ({ - __proto__: dart.getMethods(Converter.__proto__), - fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), - 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.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 __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) { - __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) { - return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); - } - } - (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); - this[_source$] = _source; - CastConverter.__proto__.new.call(this); - ; - }).prototype = CastConverter.prototype; - dart.addTypeTests(CastConverter); - CastConverter.prototype[_is_CastConverter_default] = true; - dart.addTypeCaches(CastConverter); - dart.setMethodSignature(CastConverter, () => ({ - __proto__: dart.getMethods(CastConverter.__proto__), - 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[26]); - dart.setFieldSignature(CastConverter, () => ({ - __proto__: dart.getFields(CastConverter.__proto__), - [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) - })); - return CastConverter; -}); -_internal.CastConverter = _internal.CastConverter$(); -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[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.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[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[34], 96, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer][$setRange](this[_length$], required, bytes); - } else { - for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { - this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); - } - } - this[_length$] = required; - } - addByte(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[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[34], 118, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); - this[_buffer] = newBuffer; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } -}; -(_internal._CopyingBytesBuilder.new = function() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - ; -}).prototype = _internal._CopyingBytesBuilder.prototype; -dart.addTypeTests(_internal._CopyingBytesBuilder); -dart.addTypeCaches(_internal._CopyingBytesBuilder); -_internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - 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[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; - }, - /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } -}, false); -var _chunks = dart.privateName(_internal, "_chunks"); -_internal._BytesBuilder = class _BytesBuilder extends core.Object { - add(bytes) { - if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); - let typedBytes = null; - if (typed_data.Uint8List.is(bytes)) { - typedBytes = bytes; - } else { - typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); - } - this[_chunks][$add](typedBytes); - this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); - } - addByte(byte) { - 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; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - if (this[_chunks][$length] === 1) { - let buffer = this[_chunks][$_get](0); - this[_clear](); - return buffer; - } - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - return buffer; - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_chunks][$clear](); - } - static ['_#new#tearOff']() { - return new _internal._BytesBuilder.new(); - } -}; -(_internal._BytesBuilder.new = function() { - this[_length$] = 0; - this[_chunks] = T$.JSArrayOfUint8List().of([]); - ; -}).prototype = _internal._BytesBuilder.prototype; -dart.addTypeTests(_internal._BytesBuilder); -dart.addTypeCaches(_internal._BytesBuilder); -_internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - clear: dart.fnType(dart.void, []), - [_clear]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), - length: core.int, - isEmpty: core.bool, - isNotEmpty: core.bool -})); -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 __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[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[36], 119, 49, "source"); - return _internal.CastIterable$(S, T).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - cast(R) { - return core.Iterable.castFrom(E, R, this); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[36], 172, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - 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[36], 239, 26, "test"); - return new (__t$WhereIterableOfE()).new(this, test); - } - whereType(T) { - return new (_internal.WhereTypeIterable$(T)).new(this); - } - 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) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[36], 324, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[36], 421, 23, "separator"); - let iterator = this[$iterator]; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.toString(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[36], 450, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().of(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - take(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[36], 564, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[36], 612, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 676, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 705, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 742, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - } - (Iterable.new = function() { - ; - }).prototype = Iterable.prototype; - dart.addTypeTests(Iterable); - Iterable.prototype[dart.isIterable] = true; - dart.addTypeCaches(Iterable); - dart.setMethodSignature(Iterable, () => ({ - __proto__: dart.getMethods(Iterable.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - 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, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(Iterable, I[9]); - dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); - dart.defineExtensionMethods(Iterable, [ - 'cast', - 'followedBy', - 'map', - 'where', - 'whereType', - 'expand', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(Iterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return Iterable; -}); -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 __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 (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - 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[35], 40, 24, "count"); - return __t$CastIterableOfS$T().new(this[_source$][$take](count)); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[35], 42, 19, "index"); - return T.as(this[_source$][$elementAt](index)); - } - get first() { - return T.as(this[_source$][$first]); - } - get last() { - return T.as(this[_source$][$last]); - } - get single() { - return T.as(this[_source$][$single]); - } - contains(other) { - return this[_source$][$contains](other); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[35], 51, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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$]); - } - } - (_CastIterableBase.new = function() { - _CastIterableBase.__proto__.new.call(this); - ; - }).prototype = _CastIterableBase.prototype; - dart.addTypeTests(_CastIterableBase); - _CastIterableBase.prototype[_is__CastIterableBase_default] = true; - dart.addTypeCaches(_CastIterableBase); - dart.setGetterSignature(_CastIterableBase, () => ({ - __proto__: dart.getGetters(_CastIterableBase.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(_CastIterableBase, I[26]); - dart.defineExtensionMethods(_CastIterableBase, [ - 'skip', - 'take', - 'elementAt', - 'contains', - 'lastWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CastIterableBase, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return _CastIterableBase; -}); -_internal._CastIterableBase = _internal._CastIterableBase$(); -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(); - } - get current() { - return T.as(this[_source$].current); - } - } - (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); - this[_source$] = _source; - ; - }).prototype = CastIterator.prototype; - dart.addTypeTests(CastIterator); - CastIterator.prototype[_is_CastIterator_default] = true; - dart.addTypeCaches(CastIterator); - CastIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(CastIterator, () => ({ - __proto__: dart.getMethods(CastIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(CastIterator, () => ({ - __proto__: dart.getGetters(CastIterator.__proto__), - current: T - })); - dart.setLibraryUri(CastIterator, I[26]); - dart.setFieldSignature(CastIterator, () => ({ - __proto__: dart.getFields(CastIterator.__proto__), - [_source$]: dart.fieldType(core.Iterator$(S)) - })); - return CastIterator; -}); -_internal.CastIterator = _internal.CastIterator$(); -dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); -var _source$0 = dart.privateName(_internal, "CastIterable._source"); -const _is_CastIterable_default = Symbol('_is_CastIterable_default'); -_internal.CastIterable$ = dart.generic((S, T) => { - class CastIterable extends _internal._CastIterableBase$(S, T) { - get [_source$]() { - return this[_source$0]; - } - 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[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[35], 68, 23, "_source"); - this[_source$0] = _source; - CastIterable.__proto__.new.call(this); - ; - }).prototype = CastIterable.prototype; - dart.addTypeTests(CastIterable); - CastIterable.prototype[_is_CastIterable_default] = true; - dart.addTypeCaches(CastIterable); - dart.setMethodSignature(CastIterable, () => ({ - __proto__: dart.getMethods(CastIterable.__proto__), - 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.setStaticMethodSignature(CastIterable, () => ['new']); - dart.setLibraryUri(CastIterable, I[26]); - dart.setFieldSignature(CastIterable, () => ({ - __proto__: dart.getFields(CastIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)) - })); - dart.defineExtensionMethods(CastIterable, ['cast']); - return CastIterable; -}); -_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) { - 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[35], 82, 59, "source"); - _EfficientLengthCastIterable.__proto__.__.call(this, source); - ; - }).prototype = _EfficientLengthCastIterable.prototype; - dart.addTypeTests(_EfficientLengthCastIterable); - _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; - dart.addTypeCaches(_EfficientLengthCastIterable); - _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - 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 __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); - }).prototype = _CastIterableBase_ListMixin$36.prototype; - dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); - class _CastListBase extends _CastIterableBase_ListMixin$36 { - _get(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[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[35], 105, 23, "length"); - this[_source$][$length] = length; - } - get length() { - return super.length; - } - add(value) { - T.as(value); - this[_source$][$add](S.as(value)); - } - addAll(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)), __t$SAndSToint())); - } - shuffle(random = null) { - this[_source$][$shuffle](random); - } - insert(index, element) { - 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[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[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[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[35], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[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[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[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[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[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() { - _CastListBase.__proto__.new.call(this); - ; - }).prototype = _CastListBase.prototype; - dart.addTypeTests(_CastListBase); - _CastListBase.prototype[_is__CastListBase_default] = true; - dart.addTypeCaches(_CastListBase); - dart.setMethodSignature(_CastListBase, () => ({ - __proto__: dart.getMethods(_CastListBase.__proto__), - _get: dart.fnType(T, [core.int]), - [$_get]: dart.fnType(T, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(_CastListBase, () => ({ - __proto__: dart.getSetters(_CastListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_CastListBase, I[26]); - dart.defineExtensionMethods(_CastListBase, [ - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'remove', - 'removeAt', - 'removeLast', - 'removeWhere', - 'retainWhere', - 'getRange', - 'setRange', - 'removeRange', - 'fillRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(_CastListBase, ['length']); - return _CastListBase; -}); -_internal._CastListBase = _internal._CastListBase$(); -dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); -var _source$1 = dart.privateName(_internal, "CastList._source"); -const _is_CastList_default = Symbol('_is_CastList_default'); -_internal.CastList$ = dart.generic((S, T) => { - class CastList extends _internal._CastListBase$(S, T) { - get [_source$]() { - return this[_source$1]; - } - 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[35], 174, 17, "_source"); - this[_source$1] = _source; - CastList.__proto__.new.call(this); - ; - }).prototype = CastList.prototype; - dart.addTypeTests(CastList); - CastList.prototype[_is_CastList_default] = true; - dart.addTypeCaches(CastList); - dart.setMethodSignature(CastList, () => ({ - __proto__: dart.getMethods(CastList.__proto__), - 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[26]); - dart.setFieldSignature(CastList, () => ({ - __proto__: dart.getFields(CastList.__proto__), - [_source$]: dart.finalFieldType(core.List$(S)) - })); - dart.defineExtensionMethods(CastList, ['cast']); - return CastList; -}); -_internal.CastList = _internal.CastList$(); -dart.addTypeTests(_internal.CastList, _is_CastList_default); -var _source$2 = dart.privateName(_internal, "CastSet._source"); -var _emptySet$ = dart.privateName(_internal, "_emptySet"); -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 __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]; - } - set [_source$](value) { - super[_source$] = value; - } - 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$]); - } - add(value) { - T.as(value); - return this[_source$].add(S.as(value)); - } - addAll(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[35], 198, 36, "objects"); - this[_source$].removeAll(objects); - } - retainAll(objects) { - if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); - this[_source$].retainAll(objects); - } - removeWhere(test) { - 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[35], 210, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - containsAll(objects) { - if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); - return this[_source$].containsAll(objects); - } - intersection(other) { - if (other == null) dart.nullFailed(I[35], 216, 36, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); - } - difference(other) { - if (other == null) dart.nullFailed(I[35], 221, 34, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); - } - [_conditionalAdd](other, 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 (__t$_HashSetOfT()).new() : emptySet(T); - for (let element of this[_source$]) { - let castElement = T.as(element); - if (otherContains == other.contains(castElement)) result.add(castElement); - } - return result; - } - union(other) { - let t67; - __t$SetOfT().as(other); - if (other == null) dart.nullFailed(I[35], 236, 23, "other"); - t67 = this[_clone](); - return (() => { - t67.addAll(other); - return t67; - })(); - } - clear() { - this[_source$].clear(); - } - [_clone]() { - let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); - result.addAll(this); - return result; - } - toSet() { - return this[_clone](); - } - lookup(key) { - return T.as(this[_source$].lookup(key)); - } - } - (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); - this[_source$2] = _source; - this[_emptySet$] = _emptySet; - CastSet.__proto__.new.call(this); - ; - }).prototype = CastSet.prototype; - dart.addTypeTests(CastSet); - CastSet.prototype[_is_CastSet_default] = true; - dart.addTypeCaches(CastSet); - CastSet[dart.implements] = () => [core.Set$(T)]; - dart.setMethodSignature(CastSet, () => ({ - __proto__: dart.getMethods(CastSet.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), - union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_clone]: dart.fnType(core.Set$(T), []), - lookup: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastSet, I[26]); - dart.setFieldSignature(CastSet, () => ({ - __proto__: dart.getFields(CastSet.__proto__), - [_source$]: dart.finalFieldType(core.Set$(S)), - [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) - })); - dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); - return CastSet; -}); -_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 __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[37], 121, 21, "action"); - for (let key of this[$keys]) { - action(key, V.as(this[$_get](key))); - } - } - addAll(other) { - __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]) { - if (dart.equals(this[$_get](key), value)) return true; - } - return false; - } - putIfAbsent(key, ifAbsent) { - let t68, t67; - K.as(key); - __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)); - } - t67 = key; - t68 = ifAbsent(); - this[$_set](t67, t68); - return t68; - } - update(key, update, opts) { - let t68, t67, t68$, t67$; - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 147, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - if (dart.test(this[$containsKey](key))) { - t67 = key; - t68 = update(V.as(this[$_get](key))); - this[$_set](t67, t68); - return t68; - } - if (ifAbsent != null) { - t67$ = key; - t68$ = ifAbsent(); - this[$_set](t67$, t68$); - return t68$; - } - dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); - } - updateAll(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](__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[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))); - result[$_set](entry.key, entry.value); - } - return result; - } - addEntries(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[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); - } - for (let key of keysToRemove) { - this[$remove](key); - } - } - containsKey(key) { - return this[$keys][$contains](key); - } - get length() { - return this[$keys][$length]; - } - get isEmpty() { - return this[$keys][$isEmpty]; - } - get isNotEmpty() { - return this[$keys][$isNotEmpty]; - } - get values() { - return new (__t$_MapBaseValueIterableOfK$V()).new(this); - } - toString() { - return collection.MapBase.mapToString(this); - } - } - (MapMixin.new = function() { - ; - }).prototype = MapMixin.prototype; - MapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(MapMixin); - MapMixin.prototype[_is_MapMixin_default] = true; - dart.addTypeCaches(MapMixin); - MapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapMixin, () => ({ - __proto__: dart.getMethods(MapMixin.__proto__), - 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)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(MapMixin, () => ({ - __proto__: dart.getGetters(MapMixin.__proto__), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - values: core.Iterable$(V), - [$values]: core.Iterable$(V) - })); - dart.setLibraryUri(MapMixin, I[25]); - dart.defineExtensionMethods(MapMixin, [ - 'cast', - 'forEach', - 'addAll', - 'containsValue', - 'putIfAbsent', - 'update', - 'updateAll', - 'map', - 'addEntries', - 'removeWhere', - 'containsKey', - 'toString' - ]); - dart.defineExtensionAccessors(MapMixin, [ - 'entries', - 'length', - 'isEmpty', - 'isNotEmpty', - 'values' - ]); - return MapMixin; -}); -collection.MapMixin = collection.MapMixin$(); -dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); -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[37], 22, 51, "m"); - if (dart.test(collection._isToStringVisiting(m))) { - return "{...}"; - } - let result = new core.StringBuffer.new(); - try { - collection._toStringVisiting[$add](m); - result.write("{"); - let first = true; - m[$forEach](dart.fn((k, v) => { - if (!first) { - result.write(", "); - } - first = false; - result.write(k); - result.write(": "); - result.write(v); - }, T$.ObjectNAndObjectNTovoid())); - result.write("}"); - } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); - collection._toStringVisiting[$removeLast](); - } - return result.toString(); - } - static _id(x) { - return x; - } - static _fillMapWithMappedIterable(map, iterable, key, value) { - 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) { - map[$_set](key(element), value(element)); - } - } - static _fillMapWithIterables(map, keys, 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(); - let hasNextValue = valueIterator.moveNext(); - while (dart.test(hasNextKey) && dart.test(hasNextValue)) { - map[$_set](keyIterator.current, valueIterator.current); - hasNextKey = keyIterator.moveNext(); - hasNextValue = valueIterator.moveNext(); - } - if (dart.test(hasNextKey) || dart.test(hasNextValue)) { - dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); - } - } - } - (MapBase.new = function() { - ; - }).prototype = MapBase.prototype; - dart.addTypeTests(MapBase); - MapBase.prototype[_is_MapBase_default] = true; - dart.addTypeCaches(MapBase); - 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 __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$]); - } - containsValue(value) { - return this[_source$][$containsValue](value); - } - containsKey(key) { - return this[_source$][$containsKey](key); - } - _get(key) { - return __t$VN().as(this[_source$][$_get](key)); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_source$][$_set](SK.as(key), SV.as(value)); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) { - __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 __t$VN().as(this[_source$][$remove](key)); - } - clear() { - this[_source$][$clear](); - } - forEach(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)); - }, __t$SKAndSVTovoid())); - } - get keys() { - return __t$CastIterableOfSK$K().new(this[_source$][$keys]); - } - get values() { - return __t$CastIterableOfSV$V().new(this[_source$][$values]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[35], 300, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __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) { - __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](__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) { - __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[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[35], 257, 16, "_source"); - this[_source$] = _source; - ; - }).prototype = CastMap.prototype; - dart.addTypeTests(CastMap); - CastMap.prototype[_is_CastMap_default] = true; - dart.addTypeCaches(CastMap); - dart.setMethodSignature(CastMap, () => ({ - __proto__: dart.getMethods(CastMap.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CastMap, () => ({ - __proto__: dart.getGetters(CastMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CastMap, I[26]); - dart.setFieldSignature(CastMap, () => ({ - __proto__: dart.getFields(CastMap.__proto__), - [_source$]: dart.finalFieldType(core.Map$(SK, SV)) - })); - dart.defineExtensionMethods(CastMap, [ - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'update', - 'updateAll', - 'addEntries', - 'removeWhere' - ]); - dart.defineExtensionAccessors(CastMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return CastMap; -}); -_internal.CastMap = _internal.CastMap$(); -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 __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]; - } - 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$]); - } - removeFirst() { - return T.as(this[_source$].removeFirst()); - } - removeLast() { - return T.as(this[_source$].removeLast()); - } - add(value) { - T.as(value); - this[_source$].add(S.as(value)); - } - addFirst(value) { - T.as(value); - this[_source$].addFirst(S.as(value)); - } - addLast(value) { - T.as(value); - this[_source$].addLast(S.as(value)); - } - remove(other) { - return this[_source$].remove(other); - } - addAll(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[35], 350, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[35], 327, 18, "_source"); - this[_source$3] = _source; - CastQueue.__proto__.new.call(this); - ; - }).prototype = CastQueue.prototype; - dart.addTypeTests(CastQueue); - CastQueue.prototype[_is_CastQueue_default] = true; - dart.addTypeCaches(CastQueue); - CastQueue[dart.implements] = () => [collection.Queue$(T)]; - dart.setMethodSignature(CastQueue, () => ({ - __proto__: dart.getMethods(CastQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - removeFirst: dart.fnType(T, []), - removeLast: dart.fnType(T, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - clear: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(CastQueue, I[26]); - dart.setFieldSignature(CastQueue, () => ({ - __proto__: dart.getFields(CastQueue.__proto__), - [_source$]: dart.finalFieldType(collection.Queue$(S)) - })); - dart.defineExtensionMethods(CastQueue, ['cast']); - return CastQueue; -}); -_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"; - } -}; -(_internal.LateError.new = function(_message = null) { - this[_message$] = _message; - _internal.LateError.__proto__.new.call(this); - ; -}).prototype = _internal.LateError.prototype; -(_internal.LateError.fieldADI = function(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[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[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[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[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[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[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"; - } -}; -(_internal.ReachabilityError.new = function(_message = null) { - this[_message$] = _message; - _internal.ReachabilityError.__proto__.new.call(this); - ; -}).prototype = _internal.ReachabilityError.prototype; -dart.addTypeTests(_internal.ReachabilityError); -dart.addTypeCaches(_internal.ReachabilityError); -dart.setLibraryUri(_internal.ReachabilityError, I[26]); -dart.setFieldSignature(_internal.ReachabilityError, () => ({ - __proto__: dart.getFields(_internal.ReachabilityError.__proto__), - [_message$]: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); -const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); -_internal.EfficientLengthIterable$ = dart.generic(T => { - class EfficientLengthIterable extends core.Iterable$(T) {} - (EfficientLengthIterable.new = function() { - EfficientLengthIterable.__proto__.new.call(this); - ; - }).prototype = EfficientLengthIterable.prototype; - dart.addTypeTests(EfficientLengthIterable); - EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; - dart.addTypeCaches(EfficientLengthIterable); - 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 __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 (__t$ListIteratorOfE()).new(this); - } - forEach(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)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this.length === 0; - } - get first() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(0); - } - get last() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(dart.notNull(this.length) - 1); - } - get single() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this.elementAt(0); - } - contains(element) { - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this.elementAt(i), element)) return true; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 97, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 110, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 123, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); - let length = this.length; - if (!separator[$isEmpty]) { - if (length === 0) return ""; - let first = dart.str(this.elementAt(0)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - let buffer = new core.StringBuffer.new(first); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - buffer.write(separator); - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } else { - let buffer = new core.StringBuffer.new(); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } - } - where(test) { - if (test == null) dart.nullFailed(I[39], 174, 26, "test"); - return super[$where](test); - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); - return new (_internal.MappedListIterable$(E, T)).new(this, toElement); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[39], 206, 30, "test"); - return super[$skipWhile](test); - } - take(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[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[39], 213, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - let result = new (__t$_HashSetOfE()).new(); - for (let i = 0; i < dart.notNull(this.length); i = i + 1) { - result.add(this.elementAt(i)); - } - return result; - } - } - (ListIterable.new = function() { - ListIterable.__proto__.new.call(this); - ; - }).prototype = ListIterable.prototype; - dart.addTypeTests(ListIterable); - ListIterable.prototype[_is_ListIterable_default] = true; - dart.addTypeCaches(ListIterable); - dart.setMethodSignature(ListIterable, () => ({ - __proto__: dart.getMethods(ListIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListIterable, () => ({ - __proto__: dart.getGetters(ListIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ListIterable, I[26]); - dart.defineExtensionMethods(ListIterable, [ - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(ListIterable, [ - 'iterator', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return ListIterable; -}); -_internal.ListIterable = _internal.ListIterable$(); -dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); -var _iterable$ = dart.privateName(_internal, "_iterable"); -var _start$ = dart.privateName(_internal, "_start"); -var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); -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 __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$]; - if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; - return endOrLength; - } - get [_startIndex]() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; - return this[_start$]; - } - get length() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; - let endOrLength = this[_endOrLength$]; - if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { - return dart.notNull(length) - dart.notNull(this[_start$]); - } - return dart.notNull(endOrLength) - dart.notNull(this[_start$]); - } - elementAt(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.withLength(index, this.length, {indexable: this, name: "index"})); - } - return this[_iterable$][$elementAt](realIndex); - } - skip(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 (__t$EmptyIterableOfE()).new(); - } - return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); - } - take(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 (__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 (__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[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 __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)); - } - return result; - } - } - (SubListIterable.new = function(_iterable, _start, _endOrLength) { - 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; - SubListIterable.__proto__.new.call(this); - core.RangeError.checkNotNegative(this[_start$], "start"); - let endOrLength = this[_endOrLength$]; - if (endOrLength != null) { - core.RangeError.checkNotNegative(endOrLength, "end"); - if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { - dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); - } - } - }).prototype = SubListIterable.prototype; - dart.addTypeTests(SubListIterable); - SubListIterable.prototype[_is_SubListIterable_default] = true; - dart.addTypeCaches(SubListIterable); - dart.setGetterSignature(SubListIterable, () => ({ - __proto__: dart.getGetters(SubListIterable.__proto__), - [_endIndex]: core.int, - [_startIndex]: core.int - })); - dart.setLibraryUri(SubListIterable, I[26]); - dart.setFieldSignature(SubListIterable, () => ({ - __proto__: dart.getFields(SubListIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_start$]: dart.finalFieldType(core.int), - [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) - })); - dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); - dart.defineExtensionAccessors(SubListIterable, ['length']); - return SubListIterable; -}); -_internal.SubListIterable = _internal.SubListIterable$(); -dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); -var _current$ = dart.privateName(_internal, "_current"); -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$]); - } - moveNext() { - let length = this[_iterable$][$length]; - if (this[_length$] != length) { - dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); - } - if (dart.notNull(this[_index$]) >= dart.notNull(length)) { - this[_current$] = null; - return false; - } - this[_current$] = this[_iterable$][$elementAt](this[_index$]); - this[_index$] = dart.notNull(this[_index$]) + 1; - return true; - } - } - (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); - this[_current$] = null; - this[_iterable$] = iterable; - this[_length$] = iterable[$length]; - this[_index$] = 0; - ; - }).prototype = ListIterator.prototype; - dart.addTypeTests(ListIterator); - ListIterator.prototype[_is_ListIterator_default] = true; - dart.addTypeCaches(ListIterator); - ListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ListIterator, () => ({ - __proto__: dart.getMethods(ListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ListIterator, () => ({ - __proto__: dart.getGetters(ListIterator.__proto__), - current: E - })); - dart.setLibraryUri(ListIterator, I[26]); - dart.setFieldSignature(ListIterator, () => ({ - __proto__: dart.getFields(ListIterator.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_length$]: dart.finalFieldType(core.int), - [_index$]: dart.fieldType(core.int), - [_current$]: dart.fieldType(dart.nullable(E)) - })); - return ListIterator; -}); -_internal.ListIterator = _internal.ListIterator$(); -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 __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[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 (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - get length() { - return this[_iterable$][$length]; - } - get isEmpty() { - return this[_iterable$][$isEmpty]; - } - get first() { - let t71; - t71 = this[_iterable$][$first]; - return this[_f$](t71); - } - get last() { - let t71; - t71 = this[_iterable$][$last]; - return this[_f$](t71); - } - get single() { - let t71; - t71 = this[_iterable$][$single]; - return this[_f$](t71); - } - elementAt(index) { - 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[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); - ; - }).prototype = MappedIterable.prototype; - 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[26]); - dart.setFieldSignature(MappedIterable, () => ({ - __proto__: dart.getFields(MappedIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return MappedIterable; -}); -_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) { - 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[39], 380, 45, "iterable"); - if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); - EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); - ; - }).prototype = EfficientLengthMappedIterable.prototype; - dart.addTypeTests(EfficientLengthMappedIterable); - EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; - dart.addTypeCaches(EfficientLengthMappedIterable); - EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); - return EfficientLengthMappedIterable; -}); -_internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); -dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); -var _iterator$ = dart.privateName(_internal, "_iterator"); -const _is_Iterator_default = Symbol('_is_Iterator_default'); -core.Iterator$ = dart.generic(E => { - class Iterator extends core.Object {} - (Iterator.new = function() { - ; - }).prototype = Iterator.prototype; - dart.addTypeTests(Iterator); - Iterator.prototype[_is_Iterator_default] = true; - dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[9]); - return Iterator; -}); -core.Iterator = core.Iterator$(); -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 t71; - if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); - return true; - } - this[_current$] = null; - return false; - } - get current() { - return T.as(this[_current$]); - } - } - (MappedIterator.new = function(_iterator, _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; - ; - }).prototype = MappedIterator.prototype; - dart.addTypeTests(MappedIterator); - MappedIterator.prototype[_is_MappedIterator_default] = true; - dart.addTypeCaches(MappedIterator); - dart.setMethodSignature(MappedIterator, () => ({ - __proto__: dart.getMethods(MappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(MappedIterator, () => ({ - __proto__: dart.getGetters(MappedIterator.__proto__), - current: T - })); - dart.setLibraryUri(MappedIterator, I[26]); - dart.setFieldSignature(MappedIterator, () => ({ - __proto__: dart.getFields(MappedIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return MappedIterator; -}); -_internal.MappedIterator = _internal.MappedIterator$(); -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 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[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); - ; - }).prototype = MappedListIterable.prototype; - dart.addTypeTests(MappedListIterable); - MappedListIterable.prototype[_is_MappedListIterable_default] = true; - dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[26]); - dart.setFieldSignature(MappedListIterable, () => ({ - __proto__: dart.getFields(MappedListIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedListIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedListIterable, ['length']); - return MappedListIterable; -}); -_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 __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 (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], 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[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); - ; - }).prototype = WhereIterable.prototype; - dart.addTypeTests(WhereIterable); - WhereIterable.prototype[_is_WhereIterable_default] = true; - dart.addTypeCaches(WhereIterable); - dart.setMethodSignature(WhereIterable, () => ({ - __proto__: dart.getMethods(WhereIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(WhereIterable, () => ({ - __proto__: dart.getGetters(WhereIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(WhereIterable, I[26]); - dart.setFieldSignature(WhereIterable, () => ({ - __proto__: dart.getFields(WhereIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionMethods(WhereIterable, ['map']); - dart.defineExtensionAccessors(WhereIterable, ['iterator']); - return WhereIterable; -}); -_internal.WhereIterable = _internal.WhereIterable$(); -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 t71; - while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - return true; - } - } - return false; - } - get current() { - return this[_iterator$].current; - } - } - (WhereIterator.new = function(_iterator, _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; - ; - }).prototype = WhereIterator.prototype; - dart.addTypeTests(WhereIterator); - WhereIterator.prototype[_is_WhereIterator_default] = true; - dart.addTypeCaches(WhereIterator); - dart.setMethodSignature(WhereIterator, () => ({ - __proto__: dart.getMethods(WhereIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereIterator, () => ({ - __proto__: dart.getGetters(WhereIterator.__proto__), - current: E - })); - dart.setLibraryUri(WhereIterator, I[26]); - dart.setFieldSignature(WhereIterator, () => ({ - __proto__: dart.getFields(WhereIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - return WhereIterator; -}); -_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 __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 (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (ExpandIterable.new = function(_iterable, _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); - ; - }).prototype = ExpandIterable.prototype; - dart.addTypeTests(ExpandIterable); - ExpandIterable.prototype[_is_ExpandIterable_default] = true; - dart.addTypeCaches(ExpandIterable); - dart.setGetterSignature(ExpandIterable, () => ({ - __proto__: dart.getGetters(ExpandIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(ExpandIterable, I[26]); - dart.setFieldSignature(ExpandIterable, () => ({ - __proto__: dart.getFields(ExpandIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - dart.defineExtensionAccessors(ExpandIterable, ['iterator']); - return ExpandIterable; -}); -_internal.ExpandIterable = _internal.ExpandIterable$(); -dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); -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 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] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; - } else { - return false; - } - } - this[_current$] = dart.nullCheck(this[_currentExpansion]).current; - return true; - } - } - (ExpandIterator.new = function(_iterator, _f) { - 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; - ; - }).prototype = ExpandIterator.prototype; - dart.addTypeTests(ExpandIterator); - ExpandIterator.prototype[_is_ExpandIterator_default] = true; - dart.addTypeCaches(ExpandIterator); - ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(ExpandIterator, () => ({ - __proto__: dart.getMethods(ExpandIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ExpandIterator, () => ({ - __proto__: dart.getGetters(ExpandIterator.__proto__), - current: T - })); - dart.setLibraryUri(ExpandIterator, I[26]); - dart.setFieldSignature(ExpandIterator, () => ({ - __proto__: dart.getFields(ExpandIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), - [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), - [_current$]: dart.fieldType(dart.nullable(T)) - })); - return ExpandIterator; -}); -_internal.ExpandIterator = _internal.ExpandIterator$(); -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 __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[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)) { - return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); - } - 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 (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); - } - } - (TakeIterable.__ = function(_iterable, _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); - ; - }).prototype = TakeIterable.prototype; - 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[26]); - dart.setFieldSignature(TakeIterable, () => ({ - __proto__: dart.getFields(TakeIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_takeCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionAccessors(TakeIterable, ['iterator']); - return TakeIterable; -}); -_internal.TakeIterable = _internal.TakeIterable$(); -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$]; - return iterableLength; - } - } - (EfficientLengthTakeIterable.new = function(iterable, 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; - dart.addTypeTests(EfficientLengthTakeIterable); - EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; - dart.addTypeCaches(EfficientLengthTakeIterable); - EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); - dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); - return EfficientLengthTakeIterable; -}); -_internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); -dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); -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) { - return this[_iterator$].moveNext(); - } - this[_remaining$] = -1; - return false; - } - get current() { - if (dart.notNull(this[_remaining$]) < 0) return E.as(null); - return this[_iterator$].current; - } - } - (TakeIterator.new = function(_iterator, _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[39], 530, 12, "_remaining >= 0"); - }).prototype = TakeIterator.prototype; - dart.addTypeTests(TakeIterator); - TakeIterator.prototype[_is_TakeIterator_default] = true; - dart.addTypeCaches(TakeIterator); - dart.setMethodSignature(TakeIterator, () => ({ - __proto__: dart.getMethods(TakeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeIterator, () => ({ - __proto__: dart.getGetters(TakeIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeIterator, I[26]); - dart.setFieldSignature(TakeIterator, () => ({ - __proto__: dart.getFields(TakeIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_remaining$]: dart.fieldType(core.int) - })); - return TakeIterator; -}); -_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 __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 (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (TakeWhileIterable.new = function(_iterable, _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); - ; - }).prototype = TakeWhileIterable.prototype; - dart.addTypeTests(TakeWhileIterable); - TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; - dart.addTypeCaches(TakeWhileIterable); - dart.setGetterSignature(TakeWhileIterable, () => ({ - __proto__: dart.getGetters(TakeWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(TakeWhileIterable, I[26]); - dart.setFieldSignature(TakeWhileIterable, () => ({ - __proto__: dart.getFields(TakeWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); - return TakeWhileIterable; -}); -_internal.TakeWhileIterable = _internal.TakeWhileIterable$(); -dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); -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 t71; - if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - this[_isFinished] = true; - return false; - } - return true; - } - get current() { - if (dart.test(this[_isFinished])) return E.as(null); - return this[_iterator$].current; - } - } - (TakeWhileIterator.new = function(_iterator, _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; - ; - }).prototype = TakeWhileIterator.prototype; - dart.addTypeTests(TakeWhileIterator); - TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; - dart.addTypeCaches(TakeWhileIterator); - dart.setMethodSignature(TakeWhileIterator, () => ({ - __proto__: dart.getMethods(TakeWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeWhileIterator, () => ({ - __proto__: dart.getGetters(TakeWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeWhileIterator, I[26]); - dart.setFieldSignature(TakeWhileIterator, () => ({ - __proto__: dart.getFields(TakeWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_isFinished]: dart.fieldType(core.bool) - })); - return TakeWhileIterator; -}); -_internal.TakeWhileIterator = _internal.TakeWhileIterator$(); -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 __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[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[39], 598, 24, "count"); - return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); - } - get iterator() { - return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); - } - } - (SkipIterable.__ = function(_iterable, _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); - ; - }).prototype = SkipIterable.prototype; - 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[26]); - dart.setFieldSignature(SkipIterable, () => ({ - __proto__: dart.getFields(SkipIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_skipCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionMethods(SkipIterable, ['skip']); - dart.defineExtensionAccessors(SkipIterable, ['iterator']); - return SkipIterable; -}); -_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 __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[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[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[39], 613, 45, "iterable"); - if (count == null) dart.nullFailed(I[39], 613, 59, "count"); - EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); - ; - }).prototype = EfficientLengthSkipIterable.prototype; - dart.addTypeTests(EfficientLengthSkipIterable); - EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; - dart.addTypeCaches(EfficientLengthSkipIterable); - EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); - dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); - dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); - return EfficientLengthSkipIterable; -}); -_internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); -dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); -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(); - this[_skipCount$] = 0; - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipIterator.new = function(_iterator, _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[39], 639, 12, "_skipCount >= 0"); - }).prototype = SkipIterator.prototype; - dart.addTypeTests(SkipIterator); - SkipIterator.prototype[_is_SkipIterator_default] = true; - dart.addTypeCaches(SkipIterator); - dart.setMethodSignature(SkipIterator, () => ({ - __proto__: dart.getMethods(SkipIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipIterator, () => ({ - __proto__: dart.getGetters(SkipIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipIterator, I[26]); - dart.setFieldSignature(SkipIterator, () => ({ - __proto__: dart.getFields(SkipIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_skipCount$]: dart.fieldType(core.int) - })); - return SkipIterator; -}); -_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 __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 (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (SkipWhileIterable.new = function(_iterable, _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); - ; - }).prototype = SkipWhileIterable.prototype; - dart.addTypeTests(SkipWhileIterable); - SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; - dart.addTypeCaches(SkipWhileIterable); - dart.setGetterSignature(SkipWhileIterable, () => ({ - __proto__: dart.getGetters(SkipWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SkipWhileIterable, I[26]); - dart.setFieldSignature(SkipWhileIterable, () => ({ - __proto__: dart.getFields(SkipWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); - return SkipWhileIterable; -}); -_internal.SkipWhileIterable = _internal.SkipWhileIterable$(); -dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); -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 t71; - if (!dart.test(this[_hasSkipped])) { - this[_hasSkipped] = true; - while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; - } - } - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipWhileIterator.new = function(_iterator, _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; - ; - }).prototype = SkipWhileIterator.prototype; - dart.addTypeTests(SkipWhileIterator); - SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; - dart.addTypeCaches(SkipWhileIterator); - dart.setMethodSignature(SkipWhileIterator, () => ({ - __proto__: dart.getMethods(SkipWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipWhileIterator, () => ({ - __proto__: dart.getGetters(SkipWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipWhileIterator, I[26]); - dart.setFieldSignature(SkipWhileIterator, () => ({ - __proto__: dart.getFields(SkipWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_hasSkipped]: dart.fieldType(core.bool) - })); - return SkipWhileIterator; -}); -_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 __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[21] || CT.C21; - } - forEach(action) { - if (action == null) dart.nullFailed(I[39], 690, 21, "action"); - } - get isEmpty() { - return true; - } - get length() { - return 0; - } - get first() { - dart.throw(_internal.IterableElementError.noElement()); - } - get last() { - dart.throw(_internal.IterableElementError.noElement()); - } - get single() { - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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[39], 714, 19, "test"); - return true; - } - any(test) { - if (test == null) dart.nullFailed(I[39], 716, 17, "test"); - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 718, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 723, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 728, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); - return ""; - } - where(test) { - if (test == null) dart.nullFailed(I[39], 735, 26, "test"); - return this; - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); - return new (_internal.EmptyIterable$(T)).new(); - } - reduce(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[39], 743, 31, "combine"); - return initialValue; - } - skip(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[39], 752, 30, "test"); - return this; - } - take(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[39], 759, 30, "test"); - return this; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); - return __t$ListOfE().empty({growable: growable}); - } - toSet() { - return new (__t$_HashSetOfE()).new(); - } - } - (EmptyIterable.new = function() { - EmptyIterable.__proto__.new.call(this); - ; - }).prototype = EmptyIterable.prototype; - dart.addTypeTests(EmptyIterable); - EmptyIterable.prototype[_is_EmptyIterable_default] = true; - dart.addTypeCaches(EmptyIterable); - dart.setMethodSignature(EmptyIterable, () => ({ - __proto__: dart.getMethods(EmptyIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(EmptyIterable, () => ({ - __proto__: dart.getGetters(EmptyIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(EmptyIterable, I[26]); - dart.defineExtensionMethods(EmptyIterable, [ - 'forEach', - 'elementAt', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(EmptyIterable, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return EmptyIterable; -}); -_internal.EmptyIterable = _internal.EmptyIterable$(); -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; - } - get current() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (EmptyIterator.new = function() { - ; - }).prototype = EmptyIterator.prototype; - dart.addTypeTests(EmptyIterator); - EmptyIterator.prototype[_is_EmptyIterator_default] = true; - dart.addTypeCaches(EmptyIterator); - EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(EmptyIterator, () => ({ - __proto__: dart.getMethods(EmptyIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(EmptyIterator, () => ({ - __proto__: dart.getGetters(EmptyIterator.__proto__), - current: E - })); - dart.setLibraryUri(EmptyIterator, I[26]); - return EmptyIterator; -}); -_internal.EmptyIterator = _internal.EmptyIterator$(); -dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); -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 __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[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 (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); - } - get length() { - return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); - } - get isEmpty() { - return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); - } - get isNotEmpty() { - return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); - } - contains(value) { - return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); - } - get first() { - let iterator = this[_first$][$iterator]; - if (dart.test(iterator.moveNext())) return iterator.current; - return this[_second$][$first]; - } - get last() { - let iterator = this[_second$][$iterator]; - if (dart.test(iterator.moveNext())) { - let last = iterator.current; - while (dart.test(iterator.moveNext())) - last = iterator.current; - return last; - } - return this[_first$][$last]; - } - } - (FollowedByIterable.new = function(_first, _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); - ; - }).prototype = FollowedByIterable.prototype; - 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[26]); - dart.setFieldSignature(FollowedByIterable, () => ({ - __proto__: dart.getFields(FollowedByIterable.__proto__), - [_first$]: dart.finalFieldType(core.Iterable$(E)), - [_second$]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(FollowedByIterable, ['contains']); - dart.defineExtensionAccessors(FollowedByIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last' - ]); - return FollowedByIterable; -}); -_internal.FollowedByIterable = _internal.FollowedByIterable$(); -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[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)); - } - get first() { - if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; - return this[_second$][$first]; - } - get last() { - if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; - return this[_first$][$last]; - } - } - (EfficientLengthFollowedByIterable.new = function(first, 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; - dart.addTypeTests(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; - dart.addTypeCaches(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); - dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); - return EfficientLengthFollowedByIterable; -}); -_internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); -dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); -var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); -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) { - this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; - this[_nextIterable$] = null; - return this[_currentIterator].moveNext(); - } - return false; - } - get current() { - return this[_currentIterator].current; - } - } - (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[39], 845, 34, "first"); - this[_nextIterable$] = _nextIterable; - this[_currentIterator] = first[$iterator]; - ; - }).prototype = FollowedByIterator.prototype; - dart.addTypeTests(FollowedByIterator); - FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; - dart.addTypeCaches(FollowedByIterator); - FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(FollowedByIterator, () => ({ - __proto__: dart.getMethods(FollowedByIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FollowedByIterator, () => ({ - __proto__: dart.getGetters(FollowedByIterator.__proto__), - current: E - })); - dart.setLibraryUri(FollowedByIterator, I[26]); - dart.setFieldSignature(FollowedByIterator, () => ({ - __proto__: dart.getFields(FollowedByIterator.__proto__), - [_currentIterator]: dart.fieldType(core.Iterator$(E)), - [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) - })); - return FollowedByIterator; -}); -_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 __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 (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); - } - } - (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); - this[_source$] = _source; - WhereTypeIterable.__proto__.new.call(this); - ; - }).prototype = WhereTypeIterable.prototype; - dart.addTypeTests(WhereTypeIterable); - WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; - dart.addTypeCaches(WhereTypeIterable); - dart.setGetterSignature(WhereTypeIterable, () => ({ - __proto__: dart.getGetters(WhereTypeIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(WhereTypeIterable, I[26]); - dart.setFieldSignature(WhereTypeIterable, () => ({ - __proto__: dart.getFields(WhereTypeIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) - })); - dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); - return WhereTypeIterable; -}); -_internal.WhereTypeIterable = _internal.WhereTypeIterable$(); -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; - } - return false; - } - get current() { - return T.as(this[_source$].current); - } - } - (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); - this[_source$] = _source; - ; - }).prototype = WhereTypeIterator.prototype; - dart.addTypeTests(WhereTypeIterator); - WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; - dart.addTypeCaches(WhereTypeIterator); - WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(WhereTypeIterator, () => ({ - __proto__: dart.getMethods(WhereTypeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereTypeIterator, () => ({ - __proto__: dart.getGetters(WhereTypeIterator.__proto__), - current: T - })); - dart.setLibraryUri(WhereTypeIterator, I[26]); - dart.setFieldSignature(WhereTypeIterator, () => ({ - __proto__: dart.getFields(WhereTypeIterator.__proto__), - [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) - })); - return WhereTypeIterator; -}); -_internal.WhereTypeIterator = _internal.WhereTypeIterator$(); -dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); -_internal.IterableElementError = class IterableElementError extends core.Object { - static noElement() { - return new core.StateError.new("No element"); - } - static tooMany() { - return new core.StateError.new("Too many elements"); - } - static tooFew() { - return new core.StateError.new("Too few elements"); - } -}; -(_internal.IterableElementError.new = function() { - ; -}).prototype = _internal.IterableElementError.prototype; -dart.addTypeTests(_internal.IterableElementError); -dart.addTypeCaches(_internal.IterableElementError); -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 __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); - class FixedLengthListMixin extends core.Object { - set length(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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); - } - insert(index, value) { - 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[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) { - __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[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[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[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[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[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")); - } - } - (FixedLengthListMixin.new = function() { - ; - }).prototype = FixedLengthListMixin.prototype; - dart.addTypeTests(FixedLengthListMixin); - FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; - dart.addTypeCaches(FixedLengthListMixin); - dart.setMethodSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getMethods(FixedLengthListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getSetters(FixedLengthListMixin.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListMixin, I[26]); - dart.defineExtensionMethods(FixedLengthListMixin, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); - return FixedLengthListMixin; -}); -_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 __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[23], 199, 16, "newLength"); - return super[$length] = newLength; - } - add(value) { - E.as(value); - return super[$add](value); - } - insert(index, value) { - 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[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) { - __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[23], 199, 16, "test"); - return super[$removeWhere](test); - } - retainWhere(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[23], 199, 16, "index"); - return super[$removeAt](index); - } - removeLast() { - return super[$removeLast](); - } - removeRange(start, 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[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); - } - } - (FixedLengthListBase.new = function() { - ; - }).prototype = FixedLengthListBase.prototype; - dart.addTypeTests(FixedLengthListBase); - FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; - dart.addTypeCaches(FixedLengthListBase); - dart.setSetterSignature(FixedLengthListBase, () => ({ - __proto__: dart.getSetters(FixedLengthListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListBase, I[26]); - dart.defineExtensionMethods(FixedLengthListBase, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListBase, ['length']); - return FixedLengthListBase; -}); -_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[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[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[26]); -dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ - __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), - [_backedList$]: dart.fieldType(core.List) -})); -dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); -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 __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$; - K.as(key); - V.as(value); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - return value$; - } - addAll(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) { - __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() { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - remove(key) { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - removeWhere(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); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 303, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - updateAll(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")); - } - } - (_UnmodifiableMapMixin.new = function() { - ; - }).prototype = _UnmodifiableMapMixin.prototype; - _UnmodifiableMapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(_UnmodifiableMapMixin); - _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; - dart.addTypeCaches(_UnmodifiableMapMixin); - _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); - dart.defineExtensionMethods(_UnmodifiableMapMixin, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return _UnmodifiableMapMixin; -}); -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 __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; - dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); - class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - super._set(key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 217, 16, "other"); - return super.addAll(other); - } - addEntries(entries) { - __t$IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); - return super.addEntries(entries); - } - clear() { - return super.clear(); - } - remove(key) { - return super.remove(key); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[37], 217, 16, "test"); - return super.removeWhere(test); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return super.update(key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - __t$KAndVToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - return super.updateAll(update); - } - } - (UnmodifiableMapBase.new = function() { - ; - }).prototype = UnmodifiableMapBase.prototype; - dart.addTypeTests(UnmodifiableMapBase); - UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; - dart.addTypeCaches(UnmodifiableMapBase); - dart.setMethodSignature(UnmodifiableMapBase, () => ({ - __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(UnmodifiableMapBase, I[25]); - dart.defineExtensionMethods(UnmodifiableMapBase, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return UnmodifiableMapBase; -}); -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 __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; - } - get length() { - return this[_values$][$length]; - } - get values() { - return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); - } - get keys() { - return new _internal._ListIndicesIterable.new(this[_values$]); - } - get isEmpty() { - return this[_values$][$isEmpty]; - } - get isNotEmpty() { - return this[_values$][$isNotEmpty]; - } - containsValue(value) { - return this[_values$][$contains](value); - } - containsKey(key) { - return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); - } - forEach(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)); - if (length != this[_values$][$length]) { - dart.throw(new core.ConcurrentModificationError.new(this[_values$])); - } - } - } - } - (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); - this[_values$] = _values; - ; - }).prototype = ListMapView.prototype; - dart.addTypeTests(ListMapView); - ListMapView.prototype[_is_ListMapView_default] = true; - dart.addTypeCaches(ListMapView); - dart.setMethodSignature(ListMapView, () => ({ - __proto__: dart.getMethods(ListMapView.__proto__), - _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListMapView, () => ({ - __proto__: dart.getGetters(ListMapView.__proto__), - keys: core.Iterable$(core.int), - [$keys]: core.Iterable$(core.int) - })); - dart.setLibraryUri(ListMapView, I[26]); - dart.setFieldSignature(ListMapView, () => ({ - __proto__: dart.getFields(ListMapView.__proto__), - [_values$]: dart.fieldType(core.List$(E)) - })); - dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); - dart.defineExtensionAccessors(ListMapView, [ - 'length', - 'values', - 'keys', - 'isEmpty', - 'isNotEmpty' - ]); - return ListMapView; -}); -_internal.ListMapView = _internal.ListMapView$(); -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[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[23], 252, 29, "_source"); - this[_source$] = _source; - ReversedListIterable.__proto__.new.call(this); - ; - }).prototype = ReversedListIterable.prototype; - dart.addTypeTests(ReversedListIterable); - ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; - dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[26]); - dart.setFieldSignature(ReversedListIterable, () => ({ - __proto__: dart.getFields(ReversedListIterable.__proto__), - [_source$]: dart.fieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); - dart.defineExtensionAccessors(ReversedListIterable, ['length']); - return ReversedListIterable; -}); -_internal.ReversedListIterable = _internal.ReversedListIterable$(); -dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); -_internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { - static add() { - return new core.UnsupportedError.new("Cannot add to unmodifiable List"); - } - static change() { - return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); - } -}; -(_internal.UnmodifiableListError.new = function() { - ; -}).prototype = _internal.UnmodifiableListError.prototype; -dart.addTypeTests(_internal.UnmodifiableListError); -dart.addTypeCaches(_internal.UnmodifiableListError); -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"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of non-growable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from non-growable List"); - } -}; -(_internal.NonGrowableListError.new = function() { - ; -}).prototype = _internal.NonGrowableListError.prototype; -dart.addTypeTests(_internal.NonGrowableListError); -dart.addTypeCaches(_internal.NonGrowableListError); -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"); -var _previous = dart.privateName(_internal, "_previous"); -var _list = dart.privateName(_internal, "_list"); -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 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 "(...)"; - } - return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); - } - let parts = T$.JSArrayOfString().of([]); - collection._toStringVisiting[$add](iterable); - try { - collection._iterablePartsToStrings(iterable, parts); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - 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[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); - } - let buffer = new core.StringBuffer.new(leftDelimiter); - collection._toStringVisiting[$add](iterable); - try { - buffer.writeAll(iterable, ", "); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - buffer.write(rightDelimiter); - return buffer.toString(); - } - } - (IterableBase.new = function() { - IterableBase.__proto__.new.call(this); - ; - }).prototype = IterableBase.prototype; - dart.addTypeTests(IterableBase); - IterableBase.prototype[_is_IterableBase_default] = true; - dart.addTypeCaches(IterableBase); - 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 __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() { - return dart.nullCast(this[_first$], T); - } - get last() { - return dart.nullCast(this[_last], T); - } - get isEmpty() { - return this.length === 0; - } - add(newLast) { - T.as(newLast); - 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[40], 25, 14, "_last!._next == null"); - dart.nullCheck(this[_last])[_next] = newLast; - } else { - this[_first$] = newLast; - } - newLast[_previous] = this[_last]; - this[_last] = newLast; - dart.nullCheck(this[_last])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - addFirst(newFirst) { - T.as(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[40], 41, 14, "_first!._previous == null"); - dart.nullCheck(this[_first$])[_previous] = newFirst; - } else { - this[_last] = newFirst; - } - newFirst[_next] = this[_first$]; - this[_first$] = newFirst; - dart.nullCheck(this[_first$])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - remove(node) { - T.as(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[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[40], 69, 14, "identical(node, _last)"); - this[_last] = node[_previous]; - } else { - dart.nullCheck(node[_next])[_previous] = node[_previous]; - } - node[_next] = node[_previous] = null; - node[_list] = null; - } - get iterator() { - return new (__t$_LinkedListIteratorOfT()).new(this); - } - static ['_#new#tearOff'](T) { - return new (_internal.LinkedList$(T)).new(); - } - } - (LinkedList.new = function() { - this[_first$] = null; - this[_last] = null; - this[length] = 0; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(LinkedList, I[26]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_first$]: dart.fieldType(dart.nullable(T)), - [_last]: dart.fieldType(dart.nullable(T)), - length: dart.fieldType(core.int) - })); - dart.defineExtensionAccessors(LinkedList, [ - 'length', - 'first', - 'last', - 'isEmpty', - 'iterator' - ]); - return LinkedList; -}); -_internal.LinkedList = _internal.LinkedList$(); -dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); -var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); -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 __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$] = __t$TN().as(value); - } - get [_previous]() { - return this[_previous$]; - } - set [_previous](value) { - this[_previous$] = __t$TN().as(value); - } - get [_list]() { - return this[_list$]; - } - set [_list](value) { - this[_list$] = __t$LinkedListNOfT().as(value); - } - unlink() { - 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() { - this[_next$] = null; - this[_previous$] = null; - this[_list$] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(LinkedListEntry, I[26]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_next]: dart.fieldType(dart.nullable(T)), - [_previous]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return LinkedListEntry; -}); -_internal.LinkedListEntry = _internal.LinkedListEntry$(); -dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); -const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); -_internal._LinkedListIterator$ = dart.generic(T => { - class _LinkedListIterator extends core.Object { - 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[40], 123, 14, "list.length > 0"); - this[_current$] = list.first; - this[_list] = null; - return true; - } - this[_current$] = dart.nullCheck(this[_current$])[_next]; - return this[_current$] != null; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[40], 113, 37, "list"); - this[_current$] = null; - this[_list] = list; - if (list.length === 0) this[_list] = null; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: T - })); - dart.setLibraryUri(_LinkedListIterator, I[26]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return _LinkedListIterator; -}); -_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[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[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[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 { - _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); - } - } - static _insertionSort(E, a, left, right, 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; - while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { - a[$_set](j, a[$_get](j - 1)); - j = j - 1; - } - a[$_set](j, el); - } - } - static _dualPivotQuicksort(E, a, left, right, compare) { - 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; - let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); - let index2 = index3 - sixth; - let index4 = index3 + sixth; - let el1 = a[$_get](index1); - let el2 = a[$_get](index2); - let el3 = a[$_get](index3); - let el4 = a[$_get](index4); - let el5 = a[$_get](index5); - if (dart.notNull(compare(el1, el2)) > 0) { - let t = el1; - el1 = el2; - el2 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - if (dart.notNull(compare(el1, el3)) > 0) { - let t = el1; - el1 = el3; - el3 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el1, el4)) > 0) { - let t = el1; - el1 = el4; - el4 = t; - } - if (dart.notNull(compare(el3, el4)) > 0) { - let t = el3; - el3 = el4; - el4 = t; - } - if (dart.notNull(compare(el2, el5)) > 0) { - let t = el2; - el2 = el5; - el5 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - let pivot1 = el2; - let pivot2 = el4; - a[$_set](index1, el1); - a[$_set](index3, el3); - a[$_set](index5, el5); - a[$_set](index2, a[$_get](left)); - a[$_set](index4, a[$_get](right)); - let less = dart.notNull(left) + 1; - let great = dart.notNull(right) - 1; - let pivots_are_equal = compare(pivot1, pivot2) === 0; - if (pivots_are_equal) { - let pivot = pivot1; - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp = compare(ak, pivot); - if (comp === 0) continue; - if (dart.notNull(comp) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - while (true) { - comp = compare(a[$_get](great), pivot); - if (dart.notNull(comp) > 0) { - great = great - 1; - continue; - } else if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$0 = great, great = t71$0 - 1, t71$0), ak); - break; - } - } - } - } - } else { - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (dart.notNull(comp_pivot1) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (dart.notNull(comp_pivot2) > 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (dart.notNull(comp) > 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$3 = great, great = t71$3 - 1, t71$3), ak); - } - break; - } - } - } - } - } - } - a[$_set](left, a[$_get](less - 1)); - a[$_set](less - 1, pivot1); - a[$_set](right, a[$_get](great + 1)); - a[$_set](great + 1, pivot2); - _internal.Sort._doSort(E, a, left, less - 2, compare); - _internal.Sort._doSort(E, a, great + 2, right, compare); - if (pivots_are_equal) { - return; - } - if (less < index1 && great > index5) { - while (compare(a[$_get](less), pivot1) === 0) { - less = less + 1; - } - while (compare(a[$_get](great), pivot2) === 0) { - great = great - 1; - } - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (comp_pivot1 === 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (comp_pivot2 === 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (comp === 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$6 = great, great = t71$6 - 1, t71$6), ak); - } - break; - } - } - } - } - } - _internal.Sort._doSort(E, a, less, great, compare); - } else { - _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.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; - } -}, false); -var _name$0 = dart.privateName(_internal, "Symbol._name"); -_internal.Symbol = class Symbol extends core.Object { - get [_name$]() { - return this[_name$0]; - } - 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$]; - } - get hashCode() { - let hash = this._hashCode; - if (hash != null) return hash; - hash = 536870911 & 664597 * dart.hashCode(this[_name$]); - this._hashCode = hash; - return hash; - } - toString() { - return "Symbol(\"" + dart.str(this[_name$]) + "\")"; - } - static getName(symbol) { - if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); - return symbol[_name$]; - } - static computeUnmangledName(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[43], 20, 23, "name"); - this[_name$0] = name; - ; -}).prototype = _internal.Symbol.prototype; -(_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); - this[_name$0] = _name; - ; -}).prototype = _internal.Symbol.prototype; -dart.addTypeTests(_internal.Symbol); -dart.addTypeCaches(_internal.Symbol); -_internal.Symbol[dart.implements] = () => [core.Symbol]; -dart.setMethodSignature(_internal.Symbol, () => ({ - __proto__: dart.getMethods(_internal.Symbol.__proto__), - toString: dart.fnType(dart.dynamic, []), - [$toString]: dart.fnType(dart.dynamic, []) -})); -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']); -_internal.createSentinel = function createSentinel(T) { - return dart.throw(new core.UnsupportedError.new("createSentinel")); -}; -_internal.isSentinel = function isSentinel(value) { - return dart.throw(new core.UnsupportedError.new("isSentinel")); -}; -_internal.typeAcceptsNull = function typeAcceptsNull(T) { - 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[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; - if (97 <= letter && letter <= 102) return letter - (97 - 10); - return -1; -}; -_internal.parseHexByte = function parseHexByte(source, index) { - 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[43], 57, 54, "extract"); - return dart.extractTypeArguments(T, instance, extract); -}; -_internal.checkNotNullable = function checkNotNullable(T, value, 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[22], 782, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); - if (value == null) { - return defaultVal; - } else { - return value; - } -}; -_internal._checkCount = function _checkCount(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[43], 45, 40, "growableList"); - _interceptors.JSArray.markFixedList(growableList); - return growableList; -}; -_internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, 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[43], 40, 28, "line"); - _js_primitives.printString(dart.str(line)); -}; -dart.defineLazy(_internal, { - /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - 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(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]; - } - cancel() { - if (dart.test(_isolate_helper.hasTimer())) { - if (this[_handle] == null) return; - dart.removeAsyncCallback(); - if (dart.test(this[_once])) { - _isolate_helper.global.clearTimeout(this[_handle]); - } else { - _isolate_helper.global.clearInterval(this[_handle]); - } - this[_handle] = null; - } else { - dart.throw(new core.UnsupportedError.new("Canceling a timer.")); - } - } - get isActive() { - return this[_handle] != null; - } -}; -(_isolate_helper.TimerImpl.new = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - let currentHotRestartIteration = dart.hotRestartIteration; - const internalCallback = () => { - this[_handle] = null; - dart.removeAsyncCallback(); - this[_tick] = 1; - if (currentHotRestartIteration == dart.hotRestartIteration) { - callback(); - } - }; - dart.fn(internalCallback, T$.VoidTovoid()); - dart.addAsyncCallback(); - this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); - } -}).prototype = _isolate_helper.TimerImpl.prototype; -(_isolate_helper.TimerImpl.periodic = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - dart.addAsyncCallback(); - let start = Date.now(); - let currentHotRestartIteration = dart.hotRestartIteration; - this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { - if (currentHotRestartIteration != dart.hotRestartIteration) { - this.cancel(); - return; - } - let tick = dart.notNull(this[_tick]) + 1; - if (dart.notNull(milliseconds) > 0) { - let duration = Date.now() - start; - if (duration > (tick + 1) * dart.notNull(milliseconds)) { - tick = (duration / dart.notNull(milliseconds))[$truncate](); - } - } - this[_tick] = tick; - callback(this); - }, T$.VoidToNull()), milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("Periodic timer.")); - } -}).prototype = _isolate_helper.TimerImpl.prototype; -dart.addTypeTests(_isolate_helper.TimerImpl); -dart.addTypeCaches(_isolate_helper.TimerImpl); -_isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; -dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), - cancel: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), - tick: core.int, - isActive: core.bool -})); -dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); -dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), - [_once]: dart.finalFieldType(core.bool), - [_handle]: dart.fieldType(dart.nullable(core.int)), - [_tick]: dart.fieldType(core.int) -})); -_isolate_helper.startRootIsolate = function startRootIsolate(main, args) { - if (args == null) args = T$.JSArrayOfString().of([]); - if (core.List.is(args)) { - if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); - if (typeof main == "function") { - main(args, null); - } else { - dart.dcall(main, [args]); - } - } else { - dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); - } -}; -_isolate_helper.hasTimer = function hasTimer() { - return _isolate_helper.global.setTimeout != null; -}; -dart.defineLazy(_isolate_helper, { - /*_isolate_helper.global*/get global() { - return dart.global; - } -}, false); -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]); - } - moveNext() { - let ret = this[_jsIterator$].next(); - this[_current$0] = ret.value; - return !ret.done; - } - } - (DartIterator.new = function(_jsIterator) { - this[_current$0] = null; - this[_jsIterator$] = _jsIterator; - ; - }).prototype = DartIterator.prototype; - dart.addTypeTests(DartIterator); - DartIterator.prototype[_is_DartIterator_default] = true; - dart.addTypeCaches(DartIterator); - DartIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(DartIterator, () => ({ - __proto__: dart.getMethods(DartIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(DartIterator, () => ({ - __proto__: dart.getGetters(DartIterator.__proto__), - current: E - })); - dart.setLibraryUri(DartIterator, I[47]); - dart.setFieldSignature(DartIterator, () => ({ - __proto__: dart.getFields(DartIterator.__proto__), - [_jsIterator$]: dart.finalFieldType(dart.dynamic), - [_current$0]: dart.fieldType(dart.nullable(E)) - })); - return DartIterator; -}); -_js_helper.DartIterator = _js_helper.DartIterator$(); -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 __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 (__t$DartIteratorOfE()).new(this[_initGenerator$]()); - } - } - (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); - this[_initGenerator$] = _initGenerator; - SyncIterable.__proto__.new.call(this); - ; - }).prototype = SyncIterable.prototype; - dart.addTypeTests(SyncIterable); - SyncIterable.prototype[_is_SyncIterable_default] = true; - dart.addTypeCaches(SyncIterable); - dart.setMethodSignature(SyncIterable, () => ({ - __proto__: dart.getMethods(SyncIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(SyncIterable, () => ({ - __proto__: dart.getGetters(SyncIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SyncIterable, I[47]); - dart.setFieldSignature(SyncIterable, () => ({ - __proto__: dart.getFields(SyncIterable.__proto__), - [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) - })); - dart.defineExtensionAccessors(SyncIterable, ['iterator']); - return SyncIterable; -}); -_js_helper.SyncIterable = _js_helper.SyncIterable$(); -dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); -_js_helper.Primitives = class Primitives extends core.Object { - static parseInt(source, _radix) { - if (source == null) dart.argumentError(source); - let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; - let match = re.exec(source); - let digitsIndex = 1; - let hexIndex = 2; - let decimalIndex = 3; - if (match == null) { - return null; - } - let decimalMatch = match[$_get](decimalIndex); - if (_radix == null) { - if (decimalMatch != null) { - return parseInt(source, 10); - } - if (match[$_get](hexIndex) != null) { - return parseInt(source, 16); - } - return null; - } - let radix = _radix; - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return parseInt(source, 10); - } - if (radix < 10 || decimalMatch == null) { - let maxCharCode = null; - if (radix <= 10) { - maxCharCode = 48 - 1 + radix; - } else { - maxCharCode = 97 - 10 - 1 + radix; - } - 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; - if (characterCode > dart.notNull(maxCharCode)) { - return null; - } - } - } - return parseInt(source, radix); - } - static parseDouble(source) { - if (source == null) dart.argumentError(source); - if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { - return null; - } - let result = parseFloat(source); - if (result[$isNaN]) { - let trimmed = source[$trim](); - if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { - return result; - } - return null; - } - return result; - } - static dateNow() { - return Date.now(); - } - static initTicker() { - if (_js_helper.Primitives.timerFrequency !== 0) return; - _js_helper.Primitives.timerFrequency = 1000; - if (typeof window == "undefined") return; - let jsWindow = window; - if (jsWindow == null) return; - let performance = jsWindow.performance; - if (performance == null) return; - if (typeof performance.now != "function") return; - _js_helper.Primitives.timerFrequency = 1000000; - _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); - } - static get isD8() { - return typeof version == "function" && typeof os == "object" && "system" in os; - } - static get isJsshell() { - return typeof version == "function" && typeof system == "function"; - } - static currentUri() { - if (!!dart.global.location) { - return dart.global.location.href; - } - return ""; - } - static _fromCharCodeApply(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); - } - let result = ""; - for (let i = 0; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); - } - return result; - } - static stringFromCodePoints(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); - { - if (i <= 65535) { - a[$add](i); - } else if (i <= 1114111) { - a[$add](55296 + (i - 65536 >> 10 & 1023)); - a[$add](56320 + (i & 1023)); - } else { - dart.throw(_js_helper.argumentErrorValue(i)); - } - } - } - return _js_helper.Primitives._fromCharCodeApply(a); - } - static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); - for (let i of charCodes) { - if (i == null) dart.argumentError(i); - { - if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); - if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); - } - } - return _js_helper.Primitives._fromCharCodeApply(charCodes); - } - static stringFromNativeUint8List(charCodes, start, end) { - 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]) { - return String.fromCharCode.apply(null, charCodes); - } - let result = ""; - for (let i = start; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); - } - return result; - } - static stringFromCharCode(charCode) { - if (charCode == null) dart.argumentError(charCode); - if (0 <= charCode) { - if (charCode <= 65535) { - return String.fromCharCode(charCode); - } - if (charCode <= 1114111) { - let bits = charCode - 65536; - let low = 56320 | bits & 1023; - let high = (55296 | bits[$rightShift](10)) >>> 0; - return String.fromCharCode(high, low); - } - } - dart.throw(new core.RangeError.range(charCode, 0, 1114111)); - } - static flattenString(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[48], 298, 42, "receiver"); - let d = _js_helper.Primitives.lazyAsJsDate(receiver); - let match = /\((.*)\)/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); - if (match != null) return match[$_get](0); - return ""; - } - static getTimeZoneOffsetInMinutes(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) { - if (years == null) dart.argumentError(years); - if (month == null) dart.argumentError(month); - if (day == null) dart.argumentError(day); - if (hours == null) dart.argumentError(hours); - if (minutes == null) dart.argumentError(minutes); - if (seconds == null) dart.argumentError(seconds); - if (milliseconds == null) dart.argumentError(milliseconds); - if (isUtc == null) dart.argumentError(isUtc); - let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; - let jsMonth = month - 1; - if (0 <= years && years < 100) { - years = years + 400; - jsMonth = jsMonth - 400 * 12; - } - let value = null; - if (isUtc) { - value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); - } else { - value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); - } - if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { - return null; - } - if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); - return value; - } - static patchUpY2K(value, years, isUtc) { - let date = new Date(value); - if (dart.dtest(isUtc)) { - date.setUTCFullYear(years); - } else { - date.setFullYear(years); - } - return date.valueOf(); - } - static lazyAsJsDate(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[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[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[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[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[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[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[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[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; - } - static valueFromDateString(str) { - if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); - let value = Date.parse(str); - if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); - return value; - } - static getProperty(object, 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)); - } - return object[key]; - } - static setProperty(object, key, value) { - if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { - dart.throw(_js_helper.argumentErrorValue(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.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; - }, - /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { - return 0; - }, - set timerFrequency(value) { - if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); - }, - /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[24] || CT.C24; - }, - 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"); -var _method = dart.privateName(_js_helper, "_method"); -var _receiver$1 = dart.privateName(_js_helper, "_receiver"); -var _arguments$0 = dart.privateName(_js_helper, "_arguments"); -var _memberName$0 = dart.privateName(_js_helper, "_memberName"); -var _invocation$0 = dart.privateName(_js_helper, "_invocation"); -var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); -_js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { - get [_receiver$1]() { - return this[_receiver$0]; - } - 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) { - return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; - } - return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); - } -}; -(_js_helper.JsNoSuchMethodError.new = function(_message, match) { - this[_message$0] = _message; - this[_method] = match == null ? null : match.method; - this[_receiver$0] = match == null ? null : match.receiver; - _js_helper.JsNoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = _js_helper.JsNoSuchMethodError.prototype; -dart.addTypeTests(_js_helper.JsNoSuchMethodError); -dart.addTypeCaches(_js_helper.JsNoSuchMethodError); -_js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -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)), - [_method]: dart.finalFieldType(dart.nullable(core.String)), - [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) -})); -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[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[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$1 = dart.privateName(_js_helper, "Creates.types"); -_js_helper.Creates = class Creates extends core.Object { - get types() { - 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[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[47]); -dart.setFieldSignature(_js_helper.Creates, () => ({ - __proto__: dart.getFields(_js_helper.Creates.__proto__), - types: dart.finalFieldType(core.String) -})); -var types$2 = dart.privateName(_js_helper, "Returns.types"); -_js_helper.Returns = class Returns extends core.Object { - get types() { - 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[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[47]); -dart.setFieldSignature(_js_helper.Returns, () => ({ - __proto__: dart.getFields(_js_helper.Returns.__proto__), - types: dart.finalFieldType(core.String) -})); -var name$6 = dart.privateName(_js_helper, "JSName.name"); -_js_helper.JSName = class JSName extends core.Object { - get name() { - return this[name$6]; - } - 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[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[47]); -dart.setFieldSignature(_js_helper.JSName, () => ({ - __proto__: dart.getFields(_js_helper.JSName.__proto__), - name: dart.finalFieldType(core.String) -})); -const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); -_js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { - class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} - (JavaScriptIndexingBehavior.new = function() { - ; - }).prototype = JavaScriptIndexingBehavior.prototype; - dart.addTypeTests(JavaScriptIndexingBehavior); - JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; - dart.addTypeCaches(JavaScriptIndexingBehavior); - 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[48], 695, 22, "_message"); - this[_message$0] = _message; - _js_helper.TypeErrorImpl.__proto__.new.call(this); - ; -}).prototype = _js_helper.TypeErrorImpl.prototype; -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[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']); -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](); - } -}; -(core.FallThroughError.new = function() { - core.FallThroughError.__proto__.new.call(this); - ; -}).prototype = core.FallThroughError.prototype; -(core.FallThroughError._create = function(url, 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[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); - ; -}).prototype = _js_helper.FallThroughErrorImplementation.prototype; -dart.addTypeTests(_js_helper.FallThroughErrorImplementation); -dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); -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 { - get message() { - return this[message$]; - } - set message(value) { - super.message = value; - } - static ['_#new#tearOff'](message) { - return new _js_helper.RuntimeError.new(message); - } - toString() { - return "RuntimeError: " + dart.str(this.message); - } -}; -(_js_helper.RuntimeError.new = function(message) { - this[message$] = message; - _js_helper.RuntimeError.__proto__.new.call(this); - ; -}).prototype = _js_helper.RuntimeError.prototype; -dart.addTypeTests(_js_helper.RuntimeError); -dart.addTypeCaches(_js_helper.RuntimeError); -dart.setLibraryUri(_js_helper.RuntimeError, I[47]); -dart.setFieldSignature(_js_helper.RuntimeError, () => ({ - __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); -var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); -var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); -_js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { - get enclosingLibrary() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - 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[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); - ; -}).prototype = _js_helper.DeferredNotLoadedError.prototype; -dart.addTypeTests(_js_helper.DeferredNotLoadedError); -dart.addTypeCaches(_js_helper.DeferredNotLoadedError); -_js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); -dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), - enclosingLibrary: dart.fieldType(core.String), - importPrefix: dart.fieldType(core.String) -})); -dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); -var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); -var _line$ = dart.privateName(_js_helper, "_line"); -var _column$ = dart.privateName(_js_helper, "_column"); -var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); -var message$0 = dart.privateName(core, "AssertionError.message"); -core.AssertionError = class AssertionError extends core.Error { - get message() { - return this[message$0]; - } - 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)); - } - return "Assertion failed"; - } -}; -(core.AssertionError.new = function(message = null) { - this[message$0] = message; - core.AssertionError.__proto__.new.call(this); - ; -}).prototype = core.AssertionError.prototype; -dart.addTypeTests(core.AssertionError); -dart.addTypeCaches(core.AssertionError); -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) { - failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); - } - failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); - return "Assertion failed: " + failureMessage; - } -}; -(_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { - this[_fileUri$] = _fileUri; - this[_line$] = _line; - this[_column$] = _column; - this[_conditionSource$] = _conditionSource; - _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); - ; -}).prototype = _js_helper.AssertionErrorImpl.prototype; -dart.addTypeTests(_js_helper.AssertionErrorImpl); -dart.addTypeCaches(_js_helper.AssertionErrorImpl); -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)), - [_line$]: dart.finalFieldType(dart.nullable(core.int)), - [_column$]: dart.finalFieldType(dart.nullable(core.int)), - [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); -_js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { - 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); - ; -}).prototype = _js_helper.BooleanConversionAssertionError.prototype; -dart.addTypeTests(_js_helper.BooleanConversionAssertionError); -dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); -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"); -var _name = dart.privateName(_js_helper, "_name"); -var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); -_js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { - get [_name]() { - return this[_name$1]; - } - set [_name](value) { - super[_name] = value; - } - get [_nativeSymbol]() { - return this[_nativeSymbol$]; - } - 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[48], 800, 32, "symbol"); - return _js_helper.PrivateSymbol.as(symbol)[_name]; - } - static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); - if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; - return null; - } - _equals(other) { - if (other == null) return false; - return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); - } - get hashCode() { - return dart.hashCode(this[_name]); - } - toString() { - return "Symbol(\"" + dart.str(this[_name]) + "\")"; - } -}; -(_js_helper.PrivateSymbol.new = function(_name, _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; - ; -}).prototype = _js_helper.PrivateSymbol.prototype; -dart.addTypeTests(_js_helper.PrivateSymbol); -dart.addTypeCaches(_js_helper.PrivateSymbol); -_js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; -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), - [_nativeSymbol]: dart.finalFieldType(core.Object) -})); -dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); -dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); -_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[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[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[47]); -var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); -_js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { - get value() { - return this[value$1]; - } - 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[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[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 { - 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[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[47]); -var name$7 = dart.privateName(_js_helper, "Native.name"); -_js_helper.Native = class Native extends core.Object { - get name() { - return this[name$7]; - } - 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[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[47]); -dart.setFieldSignature(_js_helper.Native, () => ({ - __proto__: dart.getFields(_js_helper.Native.__proto__), - name: dart.finalFieldType(core.String) -})); -var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); -_js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { - get name() { - return this[name$8]; - } - 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[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[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 { - 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[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[50], 18, 21, "action"); - let modifications = this[_modifications]; - for (let entry of this[_map$].entries()) { - action(entry[0], entry[1]); - if (modifications !== this[_modifications]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - } - (InternalMap.new = function() { - ; - }).prototype = InternalMap.prototype; - dart.addTypeTests(InternalMap); - InternalMap.prototype[_is_InternalMap_default] = true; - dart.addTypeCaches(InternalMap); - InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[47]); - dart.defineExtensionMethods(InternalMap, ['forEach']); - return InternalMap; -}); -_js_helper.InternalMap = _js_helper.InternalMap$(); -dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); -var _map = dart.privateName(_js_helper, "LinkedMap._map"); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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) => { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - this[_map$].set(key, value); - }, __t$KAndVTovoid())); - if (length !== map.size) { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return this[_map$].get(k); - } - } - return null; - } - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) { - this[_keyMap].set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return map.get(k); - } - buckets.push(key); - } - } else if (map.has(key)) { - return map.get(key); - } - let value = ifAbsent(); - if (value == null) { - value = null; - } - map.set(key, value); - 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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) return null; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return null; - } - } - let map = this[_map$]; - let value = map.get(key); - if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value == null ? null : value; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (LinkedMap.new = function() { - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - ; - }).prototype = LinkedMap.prototype; - (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - let map = this[_map$]; - let keyMap = this[_keyMap]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - let key = entries[i]; - let value = entries[i + 1]; - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, keyMap); - } - map.set(key, value); - } - }).prototype = LinkedMap.prototype; - dart.addTypeTests(LinkedMap); - LinkedMap.prototype[_is_LinkedMap_default] = true; - dart.addTypeCaches(LinkedMap); - dart.setMethodSignature(LinkedMap, () => ({ - __proto__: dart.getMethods(LinkedMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(LinkedMap, () => ({ - __proto__: dart.getGetters(LinkedMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(LinkedMap, I[47]); - dart.setFieldSignature(LinkedMap, () => ({ - __proto__: dart.getFields(LinkedMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(LinkedMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(LinkedMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return LinkedMap; -}); -_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 __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); - V.as(value); - dart.throw(_js_helper.ImmutableMap._unsupported()); - return value$; - } - addAll(other) { - core.Object.as(other); - if (other == null) dart.nullFailed(I[50], 268, 22, "other"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - clear() { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - remove(key) { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable map"); - } - } - (ImmutableMap.from = function(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.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); - dart.setLibraryUri(ImmutableMap, I[47]); - dart.defineExtensionMethods(ImmutableMap, [ - '_set', - 'addAll', - 'clear', - 'remove', - 'putIfAbsent' - ]); - return ImmutableMap; -}); -_js_helper.ImmutableMap = _js_helper.ImmutableMap$(); -dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$0]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - _get(key) { - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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 & 1073741823; - return value; - } - remove(key) { - let value = this[_map$].get(key); - if (this[_map$].delete(key)) { - 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 & 1073741823; - } - } - } - (IdentityMap.new = function() { - this[_map$0] = new Map(); - this[_modifications$0] = 0; - ; - }).prototype = IdentityMap.prototype; - (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); - this[_map$0] = new Map(); - this[_modifications$0] = 0; - let map = this[_map$]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - map.set(entries[i], entries[i + 1]); - } - }).prototype = IdentityMap.prototype; - dart.addTypeTests(IdentityMap); - IdentityMap.prototype[_is_IdentityMap_default] = true; - dart.addTypeCaches(IdentityMap); - dart.setMethodSignature(IdentityMap, () => ({ - __proto__: dart.getMethods(IdentityMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(IdentityMap, () => ({ - __proto__: dart.getGetters(IdentityMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(IdentityMap, I[47]); - dart.setFieldSignature(IdentityMap, () => ({ - __proto__: dart.getFields(IdentityMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(IdentityMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(IdentityMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return IdentityMap; -}); -_js_helper.IdentityMap = _js_helper.IdentityMap$(); -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 __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]; - } - get isEmpty() { - return this[_map$][$isEmpty]; - } - [Symbol.iterator]() { - let map = this[_map$]; - let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); - let modifications = map[_modifications]; - return { - next() { - if (modifications != map[_modifications]) { - throw new core.ConcurrentModificationError.new(map); - } - return iterator.next(); - } - }; - } - get 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[51], 134, 33, "f"); - for (let entry of this) - f(entry); - } - } - (_JSMapIterable.new = function(_map, _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); - ; - }).prototype = _JSMapIterable.prototype; - dart.addTypeTests(_JSMapIterable); - _JSMapIterable.prototype[_is__JSMapIterable_default] = true; - dart.addTypeCaches(_JSMapIterable); - dart.setMethodSignature(_JSMapIterable, () => ({ - __proto__: dart.getMethods(_JSMapIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_JSMapIterable, () => ({ - __proto__: dart.getGetters(_JSMapIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_JSMapIterable, I[47]); - dart.setFieldSignature(_JSMapIterable, () => ({ - __proto__: dart.getFields(_JSMapIterable.__proto__), - [_map$]: dart.finalFieldType(_js_helper.InternalMap), - [_isKeys$]: dart.finalFieldType(core.bool) - })); - dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); - dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); - return _JSMapIterable; -}); -_js_helper._JSMapIterable = _js_helper._JSMapIterable$(); -dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); -var _validKey$ = dart.privateName(_js_helper, "_validKey"); -var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); -var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$1]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(value, v)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - } - _get(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - let value = this[_map$].get(k); - return value == null ? null : value; - } - } - } - } - return null; - } - _set(key, value$) { - let value = value$; - let t71; - K.as(key); - V.as(value); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - key = k; - break; - } - if ((i = i + 1) >= n) { - buckets.push(key); - break; - } - } - } - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value$; - } - putIfAbsent(key, ifAbsent) { - let t71; - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return this[_map$].get(k); - } - buckets.push(key); - } - let value = ifAbsent(); - if (value == null) value = null; - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value; - } - remove(key) { - let t71; - if (K.is(key)) { - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let keyMap = this[_keyMap]; - let buckets = keyMap.get(hash); - if (buckets == null) return null; - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - let map = this[_map$]; - let value = map.get(k); - map.delete(k); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value == null ? null : value; - } - } - } - return null; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (CustomHashMap.new = function(_equals, _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; - this[_equals$] = _equals; - this[_hashCode$] = _hashCode; - ; - }).prototype = CustomHashMap.prototype; - dart.addTypeTests(CustomHashMap); - CustomHashMap.prototype[_is_CustomHashMap_default] = true; - dart.addTypeCaches(CustomHashMap); - dart.setMethodSignature(CustomHashMap, () => ({ - __proto__: dart.getMethods(CustomHashMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CustomHashMap, () => ({ - __proto__: dart.getGetters(CustomHashMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CustomHashMap, I[47]); - dart.setFieldSignature(CustomHashMap, () => ({ - __proto__: dart.getFields(CustomHashMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int), - [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), - [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) - })); - dart.defineExtensionMethods(CustomHashMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(CustomHashMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return CustomHashMap; -}); -_js_helper.CustomHashMap = _js_helper.CustomHashMap$(); -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 t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; - return super.containsKey(key); - } - _get(key) { - let t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; - return super._get(key); - } - remove(key) { - 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[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); - ; - }).prototype = CustomKeyHashMap.prototype; - dart.addTypeTests(CustomKeyHashMap); - CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; - dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[47]); - dart.setFieldSignature(CustomKeyHashMap, () => ({ - __proto__: dart.getFields(CustomKeyHashMap.__proto__), - [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) - })); - dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); - return CustomKeyHashMap; -}); -_js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); -dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); -var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); -var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); -var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); -var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); -var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); -var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); -var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); -var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); -var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); -var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); -var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); -var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); -_js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { - get pattern() { - return this[pattern]; - } - set pattern(value) { - super.pattern = value; - } - 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); - } - get [_nativeAnchoredVersion]() { - if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; - return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); - } - get [_isMultiLine]() { - return this[_nativeRegExp].multiline; - } - get [_isCaseSensitive]() { - return !this[_nativeRegExp].ignoreCase; - } - get [_isUnicode]() { - return this[_nativeRegExp].unicode; - } - get [_isDotAll]() { - return this[_nativeRegExp].dotAll == true; - } - static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { - if (source == null) dart.argumentError(source); - 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" : ""; - let s = dart.test(dotAll) ? "s" : ""; - let g = dart.test(global) ? "g" : ""; - let regexp = (function() { - try { - return new RegExp(source, m + i + u + s + g); - } catch (e) { - return e; - } - })(); - if (regexp instanceof RegExp) return regexp; - let errorMessage = String(regexp); - dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); - } - firstMatch(string) { - if (string == null) dart.argumentError(string); - let m = this[_nativeRegExp].exec(string); - if (m == null) return null; - return new _js_helper._MatchImplementation.new(this, m); - } - hasMatch(string) { - if (string == null) dart.argumentError(string); - return this[_nativeRegExp].test(string); - } - stringMatch(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; - } - allMatches(string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - if (start < 0 || start > string.length) { - dart.throw(new core.RangeError.range(start, 0, string.length)); - } - return new _js_helper._AllMatchesIterable.new(this, string, start); - } - [_execGlobal](string, 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); - if (match == null) return null; - return new _js_helper._MatchImplementation.new(this, match); - } - [_execAnchored](string, 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; - 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[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)); - } - return this[_execAnchored](string, start); - } - get isMultiLine() { - return this[_isMultiLine]; - } - get isCaseSensitive() { - return this[_isCaseSensitive]; - } - get isUnicode() { - return this[_isUnicode]; - } - get isDotAll() { - return this[_isDotAll]; - } -}; -(_js_helper.JSSyntaxRegExp.new = function(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"); - this[_nativeGlobalRegExp] = null; - this[_nativeAnchoredRegExp] = null; - this[pattern] = source; - this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); - ; -}).prototype = _js_helper.JSSyntaxRegExp.prototype; -dart.addTypeTests(_js_helper.JSSyntaxRegExp); -dart.addTypeCaches(_js_helper.JSSyntaxRegExp); -_js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; -dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), - firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), - hasMatch: dart.fnType(core.bool, [core.String]), - stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), - allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - 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, - [_nativeAnchoredVersion]: dart.dynamic, - [_isMultiLine]: core.bool, - [_isCaseSensitive]: core.bool, - [_isUnicode]: core.bool, - [_isDotAll]: core.bool, - isMultiLine: core.bool, - isCaseSensitive: core.bool, - isUnicode: core.bool, - isDotAll: core.bool -})); -dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); -dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), - pattern: dart.finalFieldType(core.String), - [_nativeRegExp]: dart.finalFieldType(dart.dynamic), - [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), - [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) -})); -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; - } - get start() { - return this[_match$].index; - } - get end() { - return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; - } - group(index) { - if (index == null) dart.nullFailed(I[53], 200, 21, "index"); - return this[_match$][$_get](index); - } - _get(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[53], 204, 34, "groups"); - let out = T$.JSArrayOfStringN().of([]); - for (let i of groups) { - out[$add](this.group(i)); - } - return out; - } - namedGroup(name) { - if (name == null) dart.nullFailed(I[53], 212, 29, "name"); - let groups = this[_match$].groups; - if (groups != null) { - let result = groups[name]; - if (result != null || name in groups) { - return result; - } - } - dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); - } - get groupNames() { - let groups = this[_match$].groups; - if (groups != null) { - let keys = T$.JSArrayOfString().of(Object.keys(groups)); - return new (T$.SubListIterableOfString()).new(keys, 0, null); - } - return new (T$.EmptyIterableOfString()).new(); - } -}; -(_js_helper._MatchImplementation.new = function(pattern, _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[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); -_js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; -dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), - group: dart.fnType(dart.nullable(core.String), [core.int]), - _get: dart.fnType(dart.nullable(core.String), [core.int]), - groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), - namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) -})); -dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), - input: core.String, - start: core.int, - end: core.int, - groupCount: core.int, - groupNames: core.Iterable$(core.String) -})); -dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); -dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), - pattern: dart.finalFieldType(core.Pattern), - [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) -})); -var _re$ = dart.privateName(_js_helper, "_re"); -var _string$0 = dart.privateName(_js_helper, "_string"); -var _start$0 = dart.privateName(_js_helper, "_start"); -core.RegExpMatch = class RegExpMatch extends core.Object {}; -(core.RegExpMatch.new = function() { - ; -}).prototype = core.RegExpMatch.prototype; -dart.addTypeTests(core.RegExpMatch); -dart.addTypeCaches(core.RegExpMatch); -core.RegExpMatch[dart.implements] = () => [core.Match]; -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[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; - _js_helper._AllMatchesIterable.__proto__.new.call(this); - ; -}).prototype = _js_helper._AllMatchesIterable.prototype; -dart.addTypeTests(_js_helper._AllMatchesIterable); -dart.addTypeCaches(_js_helper._AllMatchesIterable); -dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), - iterator: core.Iterator$(core.RegExpMatch), - [$iterator]: core.Iterator$(core.RegExpMatch) -})); -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), - [_string$0]: dart.finalFieldType(core.String), - [_start$0]: dart.finalFieldType(core.int) -})); -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[53], 254, 36, "c"); - return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; - } - static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[53], 258, 37, "c"); - return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; - } - moveNext() { - let string = this[_string$0]; - if (string == null) return false; - if (dart.notNull(this[_nextIndex$]) <= string.length) { - let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); - if (match != null) { - this[_current$0] = match; - let nextIndex = match.end; - if (match.start == nextIndex) { - if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { - nextIndex = dart.notNull(nextIndex) + 1; - } - nextIndex = dart.notNull(nextIndex) + 1; - } - this[_nextIndex$] = nextIndex; - return true; - } - } - this[_current$0] = null; - this[_string$0] = null; - return false; - } -}; -(_js_helper._AllMatchesIterator.new = function(_regExp, _string, _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; - this[_nextIndex$] = _nextIndex; - ; -}).prototype = _js_helper._AllMatchesIterator.prototype; -dart.addTypeTests(_js_helper._AllMatchesIterator); -dart.addTypeCaches(_js_helper._AllMatchesIterator); -_js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; -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[47]); -dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), - [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), - [_string$0]: dart.fieldType(dart.nullable(core.String)), - [_nextIndex$]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) -})); -var start$0 = dart.privateName(_js_helper, "StringMatch.start"); -var input$ = dart.privateName(_js_helper, "StringMatch.input"); -var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); -_js_helper.StringMatch = class StringMatch extends core.Object { - get start() { - return this[start$0]; - } - set start(value) { - super.start = value; - } - get input() { - return this[input$]; - } - set input(value) { - super.input = value; - } - get pattern() { - return this[pattern$]; - } - 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[54], 31, 26, "g"); - return this.group(g); - } - get groupCount() { - return 0; - } - group(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[54], 41, 33, "groups_"); - let result = T$.JSArrayOfString().of([]); - for (let g of groups_) { - result[$add](this.group(g)); - } - return result; - } -}; -(_js_helper.StringMatch.new = function(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"); - this[start$0] = start; - this[input$] = input; - this[pattern$] = pattern; - ; -}).prototype = _js_helper.StringMatch.prototype; -dart.addTypeTests(_js_helper.StringMatch); -dart.addTypeCaches(_js_helper.StringMatch); -_js_helper.StringMatch[dart.implements] = () => [core.Match]; -dart.setMethodSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), - _get: dart.fnType(core.String, [core.int]), - group: dart.fnType(core.String, [core.int]), - groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) -})); -dart.setGetterSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), - end: core.int, - groupCount: core.int -})); -dart.setLibraryUri(_js_helper.StringMatch, I[47]); -dart.setFieldSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getFields(_js_helper.StringMatch.__proto__), - start: dart.finalFieldType(core.int), - input: dart.finalFieldType(core.String), - pattern: dart.finalFieldType(core.String) -})); -var _input$ = dart.privateName(_js_helper, "_input"); -var _pattern$ = dart.privateName(_js_helper, "_pattern"); -var _index$0 = dart.privateName(_js_helper, "_index"); -core.Match = class Match extends core.Object {}; -(core.Match.new = function() { - ; -}).prototype = core.Match.prototype; -dart.addTypeTests(core.Match); -dart.addTypeCaches(core.Match); -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]); - } - get first() { - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index >= 0) { - return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - } - dart.throw(_internal.IterableElementError.noElement()); - } -}; -(_js_helper._StringAllMatchesIterable.new = function(_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"); - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - _js_helper._StringAllMatchesIterable.__proto__.new.call(this); - ; -}).prototype = _js_helper._StringAllMatchesIterable.prototype; -dart.addTypeTests(_js_helper._StringAllMatchesIterable); -dart.addTypeCaches(_js_helper._StringAllMatchesIterable); -dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), - iterator: core.Iterator$(core.Match), - [$iterator]: core.Iterator$(core.Match) -})); -dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); -dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.finalFieldType(core.int) -})); -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; - return false; - } - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index < 0) { - this[_index$0] = this[_input$].length + 1; - this[_current$0] = null; - return false; - } - let end = index + this[_pattern$].length; - this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - if (end === this[_index$0]) end = end + 1; - this[_index$0] = end; - return true; - } - get current() { - return dart.nullCheck(this[_current$0]); - } -}; -(_js_helper._StringAllMatchesIterator.new = function(_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"); - this[_current$0] = null; - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - ; -}).prototype = _js_helper._StringAllMatchesIterator.prototype; -dart.addTypeTests(_js_helper._StringAllMatchesIterator); -dart.addTypeCaches(_js_helper._StringAllMatchesIterator); -_js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; -dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), - moveNext: dart.fnType(core.bool, []) -})); -dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), - current: core.Match -})); -dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); -dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.Match)) -})); -_js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, 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.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[48], 495, 52, "length"); - if (start == null) { - return new core.ArgumentError.value(start, "start"); - } - if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { - return new core.RangeError.range(start, 0, length, "start"); - } - if (end != null) { - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - return new core.RangeError.range(end, start, length, "end"); - } - } - return new core.ArgumentError.value(end, "end"); -}; -_js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { - return receiver.lastIndexOf(element, start); -}; -_js_helper.argumentErrorValue = function argumentErrorValue(object) { - return new core.ArgumentError.value(object); -}; -_js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { - dart.throw(_js_helper.argumentErrorValue(value)); -}; -_js_helper.checkInt = function checkInt(value) { - if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); - return value; -}; -_js_helper.throwRuntimeError = function throwRuntimeError(message) { - dart.throw(new _js_helper.RuntimeError.new(message)); -}; -_js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { - dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); -}; -_js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { - dart.throw(new core.ConcurrentModificationError.new(collection)); -}; -_js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, 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, (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[48], 586, 40, "property"); - return jsObject.hasOwnProperty(property); -}; -_js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[48], 590, 35, "property"); - return jsObject[property]; -}; -_js_helper.getFallThroughError = function getFallThroughError() { - return new _js_helper.FallThroughErrorImplementation.new(); -}; -_js_helper.random64 = function random64() { - let int32a = Math.random() * 0x100000000 >>> 0; - let int32b = Math.random() * 0x100000000 >>> 0; - return int32a + int32b * 4294967296; -}; -_js_helper.registerGlobalObject = function registerGlobalObject(object) { - try { - if (dart.test(dart.polyfill(object))) { - dart.applyAllExtensions(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } -}; -_js_helper.applyExtension = function applyExtension$(name, nativeObject) { - dart.applyExtension(name, nativeObject); -}; -_js_helper.applyTestExtensions = function applyTestExtensions(names) { - 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[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[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[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] & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - return key; - } - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (k[$_equals](key)) return k; - } - buckets.push(key); - return key; -}; -_js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); - return closure; -}; -_js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { -}; -_js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { -}; -_js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { -}; -_js_helper.regExpGetNative = function regExpGetNative(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[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[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[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) { - return receiver.indexOf(other, startIndex); -}; -_js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { - return receiver.substring(startIndex); -}; -_js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { - return receiver.substring(startIndex, endIndex); -}; -_js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { - return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; -}; -_js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, 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[54], 110, 51, "startIndex"); - if (typeof other == 'string') { - return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); - } else if (_js_helper.JSSyntaxRegExp.is(other)) { - return other.hasMatch(receiver[$substring](startIndex)); - } else { - let substr = receiver[$substring](startIndex); - return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); - } -}; -_js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, 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[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; - let end = match.end; - return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); -}; -_js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { - return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); -}; -_js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { - if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.argumentError(replacement); - if (typeof pattern == 'string') { - if (pattern === "") { - if (receiver === "") { - return replacement; - } else { - let result = new core.StringBuffer.new(); - let length = receiver.length; - result.write(replacement); - for (let i = 0; i < length; i = i + 1) { - result.write(receiver[$_get](i)); - result.write(replacement); - } - return result.toString(); - } - } else { - return receiver.split(pattern).join(replacement); - } - } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = _js_helper.regExpGetGlobalNative(pattern); - return _js_helper.stringReplaceJS(receiver, re, replacement); - } else { - 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[54], 184, 27, "match"); - return dart.nullCheck(match._get(0)); -}; -_js_helper._stringIdentity = function _stringIdentity(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[54], 189, 12, "receiver"); - if (pattern == null) dart.argumentError(pattern); - 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); - } - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - for (let match of pattern[$allMatches](receiver)) { - buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); - buffer.write(onMatch(match)); - startIndex = match.end; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); -}; -_js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, 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; - buffer.write(onNonMatch("")); - while (i < length) { - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - let code = receiver[$codeUnitAt](i); - if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { - code = receiver[$codeUnitAt](i + 1); - if ((code & ~1023 >>> 0) === 56320) { - buffer.write(onNonMatch(receiver[$substring](i, i + 2))); - i = i + 2; - continue; - } - } - buffer.write(onNonMatch(receiver[$_get](i))); - i = i + 1; - } - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - buffer.write(onNonMatch("")); - return buffer.toString(); -}; -_js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, 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); - } - let length = receiver.length; - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - while (startIndex < length) { - let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); - if (position === -1) { - break; - } - buffer.write(onNonMatch(receiver[$substring](startIndex, position))); - buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); - startIndex = position + patternLength; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); -}; -_js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { - if (pattern == null) dart.argumentError(pattern); - 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; - let end = index + pattern.length; - return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); - } - let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; - if (!dart.test(matches.moveNext())) return receiver; - let match = matches.current; - return receiver[$replaceRange](match.start, match.end, replacement); -}; -_js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, 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; - let replacement = dart.str(replace(match)); - return receiver[$replaceRange](match.start, match.end, replacement); -}; -_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[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.notNull*/get notNull() { - return C[34] || CT.C34; - }, - /*_js_helper.undefined*/get undefined() { - return C[35] || CT.C35; - }, - /*_js_helper.nullCheck*/get nullCheck() { - return C[36] || CT.C36; - } -}, false); -_js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[57], 20, 25, "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); -}; -var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); -var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); -_metadata.SupportedBrowser = class SupportedBrowser extends core.Object { - get browserName() { - return this[browserName$]; - } - set browserName(value) { - super.browserName = value; - } - get minimumVersion() { - return this[minimumVersion$]; - } - 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[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[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"; - }, - /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { - return "Firefox"; - }, - /*_metadata.SupportedBrowser.IE*/get IE() { - return "Internet Explorer"; - }, - /*_metadata.SupportedBrowser.OPERA*/get OPERA() { - return "Opera"; - }, - /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { - return "Safari"; - } -}, false); -_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[59]); -var name$9 = dart.privateName(_metadata, "DomName.name"); -_metadata.DomName = class DomName extends core.Object { - get name() { - return this[name$9]; - } - 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[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[59]); -dart.setFieldSignature(_metadata.DomName, () => ({ - __proto__: dart.getFields(_metadata.DomName.__proto__), - name: dart.finalFieldType(core.String) -})); -_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[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[59]); -_native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { - get [$lengthInBytes]() { - return this.byteLength; - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteBuffer); - } - [$asUint8List](offsetInBytes = 0, length = null) { - 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[60], 37, 28, "offsetInBytes"); - return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); - } - [$asUint8ClampedList](offsetInBytes = 0, length = null) { - 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[60], 45, 32, "offsetInBytes"); - return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); - } - [$asInt16List](offsetInBytes = 0, length = null) { - 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[60], 53, 32, "offsetInBytes"); - return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); - } - [$asInt32List](offsetInBytes = 0, length = null) { - 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[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[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[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[60], 75, 34, "offsetInBytes"); - return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); - } - [$asFloat64List](offsetInBytes = 0, length = null) { - 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[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[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[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() { - ; -}).prototype = _native_typed_data.NativeByteBuffer.prototype; -dart.addTypeTests(_native_typed_data.NativeByteBuffer); -dart.addTypeCaches(_native_typed_data.NativeByteBuffer); -_native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; -dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), - [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) -})); -dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), - [$lengthInBytes]: core.int -})); -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 { - 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.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; - }, - /*typed_data.Float32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Float32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Float32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Float32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Float32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Float32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Float32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Float32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Float32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Float32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Float32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Float32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Float32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Float32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Float32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Float32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Float32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Float32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Float32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Float32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Float32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Float32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Float32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Float32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Float32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Float32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Float32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Float32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Float32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Float32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Float32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Float32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Float32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Float32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Float32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Float32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Float32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Float32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Float32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Float32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Float32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Float32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Float32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Float32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Float32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Float32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Float32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Float32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Float32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Float32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Float32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Float32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Float32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Float32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Float32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Float32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Float32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Float32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Float32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Float32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Float32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Float32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Float32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Float32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Float32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Float32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Float32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Float32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Float32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Float32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Float32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Float32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Float32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Float32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Float32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Float32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Float32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Float32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Float32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Float32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Float32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Float32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Float32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Float32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Float32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Float32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Float32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Float32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Float32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Float32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Float32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Float32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Float32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Float32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Float32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Float32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Float32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Float32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Float32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Float32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Float32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Float32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Float32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Float32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Float32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Float32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Float32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Float32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Float32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Float32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Float32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Float32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Float32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Float32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Float32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Float32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Float32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Float32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Float32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Float32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Float32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Float32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Float32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Float32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Float32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Float32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Float32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Float32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Float32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Float32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Float32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Float32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Float32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Float32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Float32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Float32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Float32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Float32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Float32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Float32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Float32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Float32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Float32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Float32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Float32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Float32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Float32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Float32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Float32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Float32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Float32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Float32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Float32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Float32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Float32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Float32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Float32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Float32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Float32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Float32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Float32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Float32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Float32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Float32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Float32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Float32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Float32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Float32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Float32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Float32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Float32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Float32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Float32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Float32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Float32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Float32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Float32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Float32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Float32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Float32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Float32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Float32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Float32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Float32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Float32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Float32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Float32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Float32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Float32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Float32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Float32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Float32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Float32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Float32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Float32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Float32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Float32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Float32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Float32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Float32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Float32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Float32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Float32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Float32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Float32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Float32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Float32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Float32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Float32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Float32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Float32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Float32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Float32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Float32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Float32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Float32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Float32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Float32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Float32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Float32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Float32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Float32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Float32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Float32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Float32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Float32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Float32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Float32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Float32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Float32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Float32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Float32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Float32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Float32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Float32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Float32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Float32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Float32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Float32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Float32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Float32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Float32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Float32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Float32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Float32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Float32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Float32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Float32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Float32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Float32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Float32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Float32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Float32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Float32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Float32x4.wwww*/get wwww() { - return 255; - } -}, false); -const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; -(Object_ListMixin$36.new = function() { -}).prototype = Object_ListMixin$36.prototype; -dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); -const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; -(Object_FixedLengthListMixin$36.new = function() { -}).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 157, 25, "index"); - typed_data.Float32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } -}).prototype = _native_typed_data.NativeFloat32x4List.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat32x4List); -dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); -_native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; -dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), - _get: dart.fnType(typed_data.Float32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -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.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; - }, - /*typed_data.Int32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Int32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Int32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Int32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Int32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Int32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Int32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Int32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Int32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Int32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Int32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Int32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Int32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Int32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Int32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Int32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Int32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Int32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Int32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Int32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Int32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Int32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Int32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Int32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Int32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Int32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Int32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Int32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Int32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Int32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Int32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Int32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Int32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Int32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Int32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Int32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Int32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Int32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Int32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Int32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Int32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Int32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Int32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Int32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Int32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Int32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Int32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Int32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Int32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Int32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Int32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Int32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Int32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Int32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Int32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Int32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Int32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Int32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Int32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Int32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Int32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Int32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Int32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Int32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Int32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Int32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Int32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Int32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Int32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Int32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Int32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Int32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Int32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Int32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Int32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Int32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Int32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Int32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Int32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Int32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Int32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Int32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Int32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Int32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Int32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Int32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Int32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Int32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Int32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Int32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Int32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Int32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Int32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Int32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Int32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Int32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Int32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Int32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Int32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Int32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Int32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Int32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Int32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Int32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Int32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Int32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Int32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Int32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Int32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Int32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Int32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Int32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Int32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Int32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Int32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Int32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Int32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Int32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Int32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Int32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Int32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Int32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Int32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Int32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Int32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Int32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Int32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Int32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Int32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Int32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Int32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Int32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Int32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Int32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Int32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Int32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Int32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Int32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Int32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Int32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Int32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Int32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Int32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Int32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Int32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Int32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Int32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Int32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Int32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Int32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Int32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Int32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Int32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Int32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Int32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Int32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Int32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Int32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Int32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Int32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Int32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Int32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Int32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Int32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Int32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Int32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Int32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Int32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Int32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Int32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Int32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Int32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Int32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Int32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Int32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Int32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Int32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Int32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Int32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Int32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Int32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Int32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Int32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Int32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Int32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Int32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Int32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Int32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Int32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Int32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Int32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Int32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Int32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Int32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Int32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Int32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Int32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Int32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Int32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Int32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Int32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Int32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Int32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Int32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Int32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Int32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Int32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Int32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Int32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Int32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Int32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Int32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Int32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Int32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Int32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Int32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Int32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Int32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Int32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Int32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Int32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Int32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Int32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Int32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Int32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Int32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Int32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Int32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Int32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Int32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Int32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Int32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Int32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Int32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Int32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Int32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Int32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Int32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Int32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Int32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Int32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Int32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Int32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Int32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Int32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Int32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Int32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Int32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Int32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Int32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Int32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Int32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Int32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Int32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Int32x4.wwww*/get wwww() { - return 255; - } -}, false); -const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; -(Object_ListMixin$36$.new = function() { -}).prototype = Object_ListMixin$36$.prototype; -dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); -const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; -(Object_FixedLengthListMixin$36$.new = function() { -}).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 229, 25, "index"); - typed_data.Int32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } -}).prototype = _native_typed_data.NativeInt32x4List.prototype; -dart.addTypeTests(_native_typed_data.NativeInt32x4List); -dart.addTypeCaches(_native_typed_data.NativeInt32x4List); -_native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; -dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), - _get: dart.fnType(typed_data.Int32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -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.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; -dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); -const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; -(Object_FixedLengthListMixin$36$0.new = function() { -}).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[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); - } - get buffer() { - return this[_storage$][$buffer]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - return new _native_typed_data.NativeFloat64x2.new(_x, _y); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 297, 25, "index"); - typed_data.Float64x2.as(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[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[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[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[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); - this[_storage$][$_set](i * 2 + 0, e.x); - this[_storage$][$_set](i * 2 + 1, e.y); - } -}).prototype = _native_typed_data.NativeFloat64x2List.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat64x2List); -dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); -_native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; -dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), - _get: dart.fnType(typed_data.Float64x2, [core.int]), - [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); -var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); -_native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { - get [$buffer]() { - return this.buffer; - } - get [$lengthInBytes]() { - return this.byteLength; - } - get [$offsetInBytes]() { - return this.byteOffset; - } - get [$elementSizeInBytes]() { - return this.BYTES_PER_ELEMENT; - } - [_invalidPosition](position, length, 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 { - dart.throw(new core.RangeError.range(position, 0, length, name)); - } - } - [_checkPosition](position, length, 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() { - ; -}).prototype = _native_typed_data.NativeTypedData.prototype; -dart.addTypeTests(_native_typed_data.NativeTypedData); -dart.addTypeCaches(_native_typed_data.NativeTypedData); -_native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; -dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), - [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), - [$buffer]: typed_data.ByteBuffer, - [$lengthInBytes]: core.int, - [$offsetInBytes]: core.int, - [$elementSizeInBytes]: core.int -})); -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"); -var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); -var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); -var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); -var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); -var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); -var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); -var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); -var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); -var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); -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[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[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); - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteData); - } - get [$elementSizeInBytes]() { - return 1; - } - [$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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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) { - return this.setUint8.apply(this, args); - } - static _create1(arg) { - return new DataView(new ArrayBuffer(arg)); - } - static _create2(arg1, arg2) { - return new DataView(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new DataView(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeByteData); -dart.addTypeCaches(_native_typed_data.NativeByteData); -_native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; -dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt8]: dart.fnType(core.int, [core.int]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint8]: dart.fnType(core.int, [core.int]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) -})); -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[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"); - if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); - let count = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let sourceLength = source[$length]; - if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { - dart.throw(new core.StateError.new("Not enough elements")); - } - if (skipCount !== 0 || sourceLength !== count) { - source = source.subarray(skipCount, dart.notNull(skipCount) + count); - } - this.set(source, start); - } - } - (NativeTypedArray.new = function() { - ; - }).prototype = NativeTypedArray.prototype; - dart.addTypeTests(NativeTypedArray); - NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; - dart.addTypeCaches(NativeTypedArray); - NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; - dart.setMethodSignature(NativeTypedArray, () => ({ - __proto__: dart.getMethods(NativeTypedArray.__proto__), - [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) - })); - dart.setLibraryUri(NativeTypedArray, I[61]); - return NativeTypedArray; -}); -_native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); -dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); -core.double = class double extends core.num { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.double); - } - static parse(source, onError = null) { - 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], 285, 34, "source"); - return _js_helper.Primitives.parseDouble(source); - } -}; -(core.double.new = function() { - ; -}).prototype = core.double.prototype; -dart.addTypeCaches(core.double); -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; - }, - /*core.double.infinity*/get infinity() { - return 1 / 0; - }, - /*core.double.negativeInfinity*/get negativeInfinity() { - return -1 / 0; - }, - /*core.double.minPositive*/get minPositive() { - return 5e-324; - }, - /*core.double.maxFinite*/get maxFinite() { - return 1.7976931348623157e+308; - } -}, false); -const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; -(NativeTypedArray_ListMixin$36.new = function() { -}).prototype = NativeTypedArray_ListMixin$36.prototype; -dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); -const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; -(NativeTypedArray_FixedLengthListMixin$36.new = function() { -}).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; -dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); -_native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _get(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[60], 704, 25, "index"); - core.num.as(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[60], 709, 21, "start"); - if (end == null) dart.nullFailed(I[60], 709, 32, "end"); - T$.IterableOfdouble().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } -}; -(_native_typed_data.NativeTypedArrayOfDouble.new = function() { - ; -}).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; -dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); -dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); -dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - _get: dart.fnType(core.double, [core.int]), - [$_get]: dart.fnType(core.double, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - length: core.int, - [$length]: core.int -})); -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) {}; -(NativeTypedArray_ListMixin$36$.new = function() { -}).prototype = NativeTypedArray_ListMixin$36$.prototype; -dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); -const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; -(NativeTypedArray_FixedLengthListMixin$36$.new = function() { -}).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; -dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); -_native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 727, 25, "index"); - core.int.as(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[60], 732, 21, "start"); - if (end == null) dart.nullFailed(I[60], 732, 32, "end"); - T$.IterableOfint().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } -}; -(_native_typed_data.NativeTypedArrayOfInt.new = function() { - ; -}).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; -_native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; -dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); -dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); -_native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; -dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), - length: core.int, - [$length]: core.int -})); -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[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[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[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[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); - } - static _create1(arg) { - return new Float32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeFloat32List); -dart.addTypeCaches(_native_typed_data.NativeFloat32List); -_native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; -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.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[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[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[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[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); - } - static _create1(arg) { - return new Float64Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float64Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeFloat64List); -dart.addTypeCaches(_native_typed_data.NativeFloat64List); -_native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; -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.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[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[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[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[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[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); - } - static _create1(arg) { - return new Int16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int16Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt16List); -dart.addTypeCaches(_native_typed_data.NativeInt16List); -_native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; -dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Int32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt32List); -dart.addTypeCaches(_native_typed_data.NativeInt32List); -_native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; -dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Int8Array(arg); - } - static _create2(arg1, arg2) { - return new Int8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Int8Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt8List); -dart.addTypeCaches(_native_typed_data.NativeInt8List); -_native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; -dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint16Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint16List); -dart.addTypeCaches(_native_typed_data.NativeUint16List); -_native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; -dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint32List); -dart.addTypeCaches(_native_typed_data.NativeUint32List); -_native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; -dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8ClampedArray(arg); - } - static _create2(arg1, arg2) { - return new Uint8ClampedArray(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8ClampedArray(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); -dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); -_native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; -dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8Array(arg); - } - static _create2(arg1, arg2) { - return new Uint8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint8List); -dart.addTypeCaches(_native_typed_data.NativeUint8List); -_native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; -dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) -})); -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"); -var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); -var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); -_native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { - get x() { - return this[x$]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[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[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); - let _w = dart.notNull(this.w) + dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - _negate() { - 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[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); - let _w = dart.notNull(this.w) - dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['*'](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); - let _w = dart.notNull(this.w) * dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['/'](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); - let _w = dart.notNull(this.w) / dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - lessThan(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); - let _cw = dart.notNull(this.w) < dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) <= dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) > dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) >= dart.notNull(other.w); - 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[60], 1227, 27, "other"); - let _cx = this.x == other.x; - let _cy = this.y == other.y; - let _cz = this.z == other.z; - let _cw = this.w == other.w; - 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[60], 1237, 30, "other"); - let _cx = this.x != other.x; - let _cy = this.y != other.y; - let _cz = this.z != other.z; - let _cw = this.w != other.w; - 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[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); - let _w = dart.notNull(s) * dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - abs() { - let _x = this.x[$abs](); - let _y = this.y[$abs](); - let _z = this.z[$abs](); - let _w = this.w[$abs](); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - clamp(lowerLimit, 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; - let _lw = lowerLimit.w; - let _ux = upperLimit.x; - let _uy = upperLimit.y; - let _uz = upperLimit.z; - let _uw = upperLimit.w; - let _x = this.x; - let _y = this.y; - let _z = this.z; - let _w = this.w; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; - _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; - _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - get signMask() { - let view = _native_typed_data.NativeFloat32x4._uint32view; - let mx = null; - let my = null; - let mz = null; - let mw = null; - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; - my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; - mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; - mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; - return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); - } - shuffle(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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - withX(newX) { - if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); - core.ArgumentError.checkNotNull(core.double, newX); - 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[60], 1353, 26, "newY"); - core.ArgumentError.checkNotNull(core.double, newY); - 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[60], 1359, 26, "newZ"); - core.ArgumentError.checkNotNull(core.double, newZ); - 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[60], 1365, 26, "newW"); - core.ArgumentError.checkNotNull(core.double, 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[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; - let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - max(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; - let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - sqrt() { - let _x = math.sqrt(this.x); - let _y = math.sqrt(this.y); - let _z = math.sqrt(this.z); - let _w = math.sqrt(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocal() { - let _x = 1.0 / dart.notNull(this.x); - let _y = 1.0 / dart.notNull(this.y); - let _z = 1.0 / dart.notNull(this.z); - let _w = 1.0 / dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocalSqrt() { - let _x = math.sqrt(1.0 / dart.notNull(this.x)); - let _y = math.sqrt(1.0 / dart.notNull(this.y)); - let _z = math.sqrt(1.0 / dart.notNull(this.z)); - let _w = math.sqrt(1.0 / dart.notNull(this.w)); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } -}; -(_native_typed_data.NativeFloat32x4.new = function(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"); - 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[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[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[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[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; - this[w$] = w; - ; -}).prototype = _native_typed_data.NativeFloat32x4.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat32x4); -dart.addTypeCaches(_native_typed_data.NativeFloat32x4); -_native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; -dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), - '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - _negate: dart.fnType(typed_data.Float32x4, []), - '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - scale: dart.fnType(typed_data.Float32x4, [core.double]), - abs: dart.fnType(typed_data.Float32x4, []), - clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), - shuffle: dart.fnType(typed_data.Float32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), - withX: dart.fnType(typed_data.Float32x4, [core.double]), - withY: dart.fnType(typed_data.Float32x4, [core.double]), - withZ: dart.fnType(typed_data.Float32x4, [core.double]), - withW: dart.fnType(typed_data.Float32x4, [core.double]), - min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - sqrt: dart.fnType(typed_data.Float32x4, []), - 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[61]); -dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), - x: dart.finalFieldType(core.double), - y: dart.finalFieldType(core.double), - 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() { - return _native_typed_data.NativeFloat32List.new(4); - }, - /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { - return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); - } -}, false); -var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); -var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); -var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); -var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); -_native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { - get x() { - return this[x$0]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$0]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$0]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$0]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[60], 1452, 53, "f"); - let floatList = _native_typed_data.NativeFloat32x4._list; - floatList[$_set](0, f.x); - floatList[$_set](1, f.y); - floatList[$_set](2, f.z); - floatList[$_set](3, f.w); - 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[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[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[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[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[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() { - return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); - } - get signMask() { - let mx = (dart.notNull(this.x) & 2147483648) >>> 31; - let my = (dart.notNull(this.y) & 2147483648) >>> 31; - let mz = (dart.notNull(this.z) & 2147483648) >>> 31; - let mw = (dart.notNull(this.w) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; - } - shuffle(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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeInt32x4._list[$_set](0, other.x); - _native_typed_data.NativeInt32x4._list[$_set](1, other.y); - _native_typed_data.NativeInt32x4._list[$_set](2, other.z); - _native_typed_data.NativeInt32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - withX(x) { - if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1582, 21, "y"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1589, 21, "z"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1596, 21, "w"); - core.ArgumentError.checkNotNull(core.int, 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() { - return this.x !== 0; - } - get flagY() { - return this.y !== 0; - } - get flagZ() { - return this.z !== 0; - } - get flagW() { - return this.w !== 0; - } - withFlagX(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[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[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[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[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); - floatList[$_set](1, trueValue.y); - floatList[$_set](2, trueValue.z); - floatList[$_set](3, trueValue.w); - let stx = intView[$_get](0); - let sty = intView[$_get](1); - let stz = intView[$_get](2); - let stw = intView[$_get](3); - floatList[$_set](0, falseValue.x); - floatList[$_set](1, falseValue.y); - floatList[$_set](2, falseValue.z); - floatList[$_set](3, falseValue.w); - let sfx = intView[$_get](0); - let sfy = intView[$_get](1); - let sfz = intView[$_get](2); - let sfw = intView[$_get](3); - let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; - let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; - let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; - let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; - intView[$_set](0, _x); - intView[$_set](1, _y); - intView[$_set](2, _z); - intView[$_set](3, _w); - return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); - } -}; -(_native_typed_data.NativeInt32x4.new = function(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"); - 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[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; - this[w$0] = dart.test(w) ? -1 : 0; - ; -}).prototype = _native_typed_data.NativeInt32x4.prototype; -(_native_typed_data.NativeInt32x4._truncated = function(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"); - this[x$0] = x; - this[y$0] = y; - this[z$0] = z; - this[w$0] = w; - ; -}).prototype = _native_typed_data.NativeInt32x4.prototype; -dart.addTypeTests(_native_typed_data.NativeInt32x4); -dart.addTypeCaches(_native_typed_data.NativeInt32x4); -_native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; -dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), - '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - _negate: dart.fnType(typed_data.Int32x4, []), - shuffle: dart.fnType(typed_data.Int32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), - withX: dart.fnType(typed_data.Int32x4, [core.int]), - withY: dart.fnType(typed_data.Int32x4, [core.int]), - withZ: dart.fnType(typed_data.Int32x4, [core.int]), - withW: dart.fnType(typed_data.Int32x4, [core.int]), - withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), - 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, - flagX: core.bool, - flagY: core.bool, - flagZ: core.bool, - flagW: core.bool -})); -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), - y: dart.finalFieldType(core.int), - 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() { - return _native_typed_data.NativeInt32List.new(4); - } -}, false); -var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); -var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); -_native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { - get x() { - return this[x$1]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$1]; - } - 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[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[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[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[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[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[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; - let _uy = upperLimit.y; - let _x = this.x; - let _y = this.y; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); - } - get signMask() { - let view = _native_typed_data.NativeFloat64x2._uint32View; - _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); - _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); - let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; - let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0) >>> 0; - } - withX(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[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[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[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() { - return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); - } -}; -(_native_typed_data.NativeFloat64x2.new = function(x, 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[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[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[60], 1694, 33, "x"); - if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); - this[x$1] = x; - this[y$1] = y; - ; -}).prototype = _native_typed_data.NativeFloat64x2.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat64x2); -dart.addTypeCaches(_native_typed_data.NativeFloat64x2); -_native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; -dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), - '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - _negate: dart.fnType(typed_data.Float64x2, []), - '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - scale: dart.fnType(typed_data.Float64x2, [core.double]), - abs: dart.fnType(typed_data.Float64x2, []), - clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), - withX: dart.fnType(typed_data.Float64x2, [core.double]), - withY: dart.fnType(typed_data.Float64x2, [core.double]), - min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - sqrt: dart.fnType(typed_data.Float64x2, []) -})); -dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), - signMask: core.int -})); -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(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(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))); - return length; -}; -_native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { - if (!_native_typed_data.NativeByteBuffer.is(buffer)) { - dart.throw(new core.ArgumentError.new("Invalid view buffer")); - } - if (!core.int.is(offsetInBytes)) { - dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); - } - if (!T$.intN().is(length)) { - dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); - } -}; -_native_typed_data._ensureNativeList = function _ensureNativeList(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) { - result[$_set](i, list[$_get](i)); - } - return result; -}; -_native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(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[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[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)); - } - if (end == null) return length; - return end; -}; -var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); -var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); -var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); -var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); -var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); -var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); -var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); -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 __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 t72; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); - } - 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] = controller$35param; - } - get jsIterator() { - let t72; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); - } - set jsIterator(jsIterator$35param) { - if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); - this[___AsyncStarImpl_jsIterator_isSet] = true; - 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; - } - get handleError() { - if (this[_handleErrorCallback] == null) { - this[_handleErrorCallback] = dart.fn((error, 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$) { - let e = dart.getThrown(e$); - let newStack = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, newStack); - } else - throw e$; - } - }, T$.ObjectAndStackTraceToNull()); - let zone = async.Zone.current; - if (zone != async.Zone.root) { - this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); - } - } - return dart.nullCheck(this[_handleErrorCallback]); - } - scheduleGenerator() { - if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { - return; - } - this.isScheduled = true; - let zone = async.Zone.current; - if (this[_runBodyCallback] == null) { - this[_runBodyCallback] = this.runBody.bind(this); - if (zone != async.Zone.root) { - let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); - this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); - } - } - zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); - } - runBody(awaitValue) { - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - let iterResult = null; - try { - iterResult = this.jsIterator.next(awaitValue); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, s); - return; - } else - throw e$; - } - if (iterResult.done) { - this.close(); - return; - } - if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; - this.isSuspendedAtAwait = true; - let value = iterResult.value; - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); - } - add(event) { - T.as(event); - if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); - if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); - if (!dart.test(this.controller.hasListener)) { - return true; - } - this.controller.add(event); - this.scheduleGenerator(); - this.isSuspendedAtYield = true; - return false; - } - addStream(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; - let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); - whenDoneAdding.then(core.Null, dart.fn(_ => { - this.isSuspendedAtYieldStar = false; - this.scheduleGenerator(); - if (!this.isScheduled) this.isSuspendedAtYield = true; - }, T$.dynamicToNull()), {onError: this.handleError}); - return false; - } - addError(error, 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)) { - completer.completeError(error, stackTrace); - } else if (dart.test(this.controller.hasListener)) { - this.controller.addError(error, stackTrace); - } - this.close(); - } - close() { - let completer = this.cancellationCompleter; - if (completer != null && !dart.test(completer.isCompleted)) { - completer.complete(); - } - this.controller.close(); - } - onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); - this.onListenReceived = true; - this.scheduleGenerator(); - } - onResume() { - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - onCancel() { - if (dart.test(this.controller.isClosed)) { - return null; - } - if (this.cancellationCompleter == null) { - this.cancellationCompleter = async.Completer.new(); - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - return dart.nullCheck(this.cancellationCompleter).future; - } - [_fatal](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[64], 245, 23, "initGenerator"); - this[___AsyncStarImpl_controller] = null; - this[___AsyncStarImpl_controller_isSet] = false; - this.isSuspendedAtYieldStar = false; - this.onListenReceived = false; - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - this.cancellationCompleter = null; - this[___AsyncStarImpl_jsIterator] = null; - this[___AsyncStarImpl_jsIterator_isSet] = false; - this[_handleErrorCallback] = null; - this[_runBodyCallback] = null; - this.initGenerator = initGenerator; - 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); - _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; - dart.addTypeCaches(_AsyncStarImpl); - dart.setMethodSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getMethods(_AsyncStarImpl.__proto__), - scheduleGenerator: dart.fnType(dart.void, []), - runBody: dart.fnType(dart.void, [dart.dynamic]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - close: dart.fnType(dart.void, []), - onListen: dart.fnType(dart.dynamic, []), - onResume: dart.fnType(dart.dynamic, []), - onCancel: dart.fnType(dart.dynamic, []), - [_fatal]: dart.fnType(dart.dynamic, [core.String]) - })); - dart.setGetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getGetters(_AsyncStarImpl.__proto__), - controller: async.StreamController$(T), - jsIterator: core.Object, - stream: async.Stream$(T), - handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) - })); - dart.setSetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getSetters(_AsyncStarImpl.__proto__), - controller: dart.nullable(core.Object), - jsIterator: core.Object - })); - dart.setLibraryUri(_AsyncStarImpl, I[31]); - dart.setFieldSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getFields(_AsyncStarImpl.__proto__), - [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), - initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), - isSuspendedAtYieldStar: dart.fieldType(core.bool), - onListenReceived: dart.fieldType(core.bool), - isScheduled: dart.fieldType(core.bool), - isSuspendedAtYield: dart.fieldType(core.bool), - isSuspendedAtAwait: dart.fieldType(core.bool), - cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), - [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), - [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), - [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), - [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) - })); - return _AsyncStarImpl; -}); -async._AsyncStarImpl = async._AsyncStarImpl$(); -dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); -var error$ = dart.privateName(async, "AsyncError.error"); -var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); -async.AsyncError = class AsyncError extends core.Object { - get error() { - return this[error$]; - } - set error(value) { - super.error = value; - } - get stackTrace() { - return this[stackTrace$]; - } - 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[65], 24, 46, "error"); - if (core.Error.is(error)) { - let stackTrace = error[$stackTrace]; - if (stackTrace != null) return stackTrace; - } - return core.StackTrace.empty; - } - toString() { - return dart.str(this.error); - } -}; -(async.AsyncError.new = function(error, stackTrace) { - let t74; - if (error == null) dart.nullFailed(I[65], 15, 21, "error"); - this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - 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.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), - stackTrace: dart.finalFieldType(core.StackTrace) -})); -dart.defineExtensionMethods(async.AsyncError, ['toString']); -dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); -var _controller$ = dart.privateName(async, "_controller"); -var _subscribe = dart.privateName(async, "_subscribe"); -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 __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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - cancelOnError == null ? cancelOnError = false : null; - let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); - this[_onListen$](subscription); - return subscription; - } - [_createSubscription](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[68], 485, 37, "subscription"); - } - } - (_StreamImpl.new = function() { - _StreamImpl.__proto__.new.call(this); - ; - }).prototype = _StreamImpl.prototype; - dart.addTypeTests(_StreamImpl); - _StreamImpl.prototype[_is__StreamImpl_default] = true; - dart.addTypeCaches(_StreamImpl); - dart.setMethodSignature(_StreamImpl, () => ({ - __proto__: dart.getMethods(_StreamImpl.__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)}, {}), - [_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[31]); - return _StreamImpl; -}); -async._StreamImpl = async._StreamImpl$(); -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[67], 826, 51, "cancelOnError"); - return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); - } - get hashCode() { - return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; - } - } - (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); - this[_controller$] = _controller; - _ControllerStream.__proto__.new.call(this); - ; - }).prototype = _ControllerStream.prototype; - dart.addTypeTests(_ControllerStream); - _ControllerStream.prototype[_is__ControllerStream_default] = true; - dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[31]); - dart.setFieldSignature(_ControllerStream, () => ({ - __proto__: dart.getFields(_ControllerStream.__proto__), - [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) - })); - dart.defineExtensionMethods(_ControllerStream, ['_equals']); - dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); - return _ControllerStream; -}); -async._ControllerStream = async._ControllerStream$(); -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[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[31]); - return _BroadcastStream; -}); -async._BroadcastStream = async._BroadcastStream$(); -dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); -var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); -var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); -var _eventState = dart.privateName(async, "_eventState"); -var _next$1 = dart.privateName(async, "_next"); -var _previous$1 = dart.privateName(async, "_previous"); -var _expectsEvent = dart.privateName(async, "_expectsEvent"); -var _toggleEventId = dart.privateName(async, "_toggleEventId"); -var _isFiring = dart.privateName(async, "_isFiring"); -var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); -var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); -var _onPause = dart.privateName(async, "_onPause"); -var _onResume = dart.privateName(async, "_onResume"); -var _recordCancel = dart.privateName(async, "_recordCancel"); -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 _zone$ = dart.privateName(async, "_zone"); -var _state = dart.privateName(async, "_state"); -var _onData$ = dart.privateName(async, "_onData"); -var _onError$ = dart.privateName(async, "_onError"); -var _onDone$ = dart.privateName(async, "_onDone"); -var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); -var _isCanceled = dart.privateName(async, "_isCanceled"); -var _isPaused = dart.privateName(async, "_isPaused"); -var _isInputPaused = dart.privateName(async, "_isInputPaused"); -var _inCallback = dart.privateName(async, "_inCallback"); -var _guardCallback = dart.privateName(async, "_guardCallback"); -var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); -var _hasPending = dart.privateName(async, "_hasPending"); -var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); -var _cancel = dart.privateName(async, "_cancel"); -var _isClosed = dart.privateName(async, "_isClosed"); -var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); -var _canFire = dart.privateName(async, "_canFire"); -var _cancelOnError = dart.privateName(async, "_cancelOnError"); -var _sendData = dart.privateName(async, "_sendData"); -var _addPending = dart.privateName(async, "_addPending"); -var _sendError = dart.privateName(async, "_sendError"); -var _sendDone = dart.privateName(async, "_sendDone"); -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 __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) { - __t$_PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); - if (pendingEvents == null) return; - this[_pending] = pendingEvents; - if (!dart.test(pendingEvents.isEmpty)) { - this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; - pendingEvents.schedule(this); - } - } - onData(handleData) { - this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); - } - static _registerDataHandler(T, zone, handleData) { - 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); - } - static _registerErrorHandler(zone, handleError) { - 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); - } - if (T$.ObjectTovoid().is(handleError)) { - return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); - } - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - onDone(handleDone) { - this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); - } - static _registerDoneHandler(zone, handleDone) { - 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 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; - t74 = resumeSignal; - t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); - if (!dart.test(wasPaused)) { - t74$ = this[_pending]; - t74$ == null ? null : t74$.cancelSchedule(); - } - if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); - } - resume() { - if (dart.test(this[_isCanceled])) return; - 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); - } else { - 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)); - } - } - } - } - cancel() { - let t74; - this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; - if (!dart.test(this[_isCanceled])) { - this[_cancel](); - } - t74 = this[_cancelFuture]; - return t74 == null ? async.Future._nullFuture : t74; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_complete](resultValue); - }, T$.VoidTovoid()); - 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(() => { - result[_completeError](error, stackTrace); - }, T$.VoidToNull())); - } else { - result[_completeError](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull()); - return result; - } - get [_isInputPaused]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isClosed]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_waitsForCancel]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_inCallback]() { - return (dart.notNull(this[_state]) & 32) !== 0; - } - get [_hasPending]() { - return (dart.notNull(this[_state]) & 64) !== 0; - } - get [_isPaused]() { - return dart.notNull(this[_state]) >= 128; - } - get [_canFire]() { - return dart.notNull(this[_state]) < 32; - } - get [_mayResumeInput]() { - 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; - } - get isPaused() { - return this[_isPaused]; - } - [_cancel]() { - this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending]).cancelSchedule(); - } - if (!dart.test(this[_inCallback])) this[_pending] = null; - this[_cancelFuture] = this[_onCancel](); - } - [_decrementPauseCount]() { - 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[68], 268, 12, "!_isClosed"); - if (dart.test(this[_isCanceled])) return; - if (dart.test(this[_canFire])) { - this[_sendData](data); - } else { - this[_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - } - [_addError](error, 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); - } else { - this[_addPending](new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[41] || CT.C41); - } - } - [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); - } - [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); - } - [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); - return null; - } - [_addPending](event) { - 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; - if (!dart.test(this[_isPaused])) { - pending.schedule(this); - } - } - } - [_sendData](data) { - 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); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_sendError](error, stackTrace) { - 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$]; - 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[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendError, T$.VoidTovoid()); - if (dart.test(this[_cancelOnError])) { - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - this[_cancel](); - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendError); - } else { - sendError(); - } - } else { - sendError(); - this[_checkState](wasInputPaused); - } - } - [_sendDone]() { - 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; - this[_zone$].runGuarded(this[_onDone$]); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendDone, T$.VoidTovoid()); - this[_cancel](); - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendDone); - } else { - sendDone(); - } - } - [_guardCallback](callback) { - 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(); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_checkState](wasInputPaused) { - 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; - } - } - while (true) { - if (dart.test(this[_isCanceled])) { - this[_pending] = null; - return; - } - let isInputPaused = this[_isInputPaused]; - if (wasInputPaused == isInputPaused) break; - this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; - if (dart.test(isInputPaused)) { - this[_onPause](); - } else { - this[_onResume](); - } - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - wasInputPaused = isInputPaused; - } - if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending]).schedule(this); - } - } - } - (_BufferingStreamSubscription.new = function(onData, onError, onDone, 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[68], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); - this[_cancelFuture] = 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[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); - ; - }).prototype = _BufferingStreamSubscription.prototype; - _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BufferingStreamSubscription); - _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; - dart.addTypeCaches(_BufferingStreamSubscription); - _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setMethodSignature(_BufferingStreamSubscription, () => ({ - __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), - [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_cancel]: dart.fnType(dart.void, []), - [_decrementPauseCount]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_onPause]: dart.fnType(dart.void, []), - [_onResume]: dart.fnType(dart.void, []), - [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), - [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []), - [_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, - [_isClosed]: core.bool, - [_isCanceled]: core.bool, - [_waitsForCancel]: core.bool, - [_inCallback]: core.bool, - [_hasPending]: core.bool, - [_isPaused]: core.bool, - [_canFire]: core.bool, - [_mayResumeInput]: core.bool, - [_cancelOnError]: core.bool, - isPaused: core.bool - })); - 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), - [_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))) - })); - 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$(); -dart.defineLazy(async._BufferingStreamSubscription, { - /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { - return 1; - }, - /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { - return 2; - }, - /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { - return 4; - }, - /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { - return 8; - }, - /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { - return 16; - }, - /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { - return 32; - }, - /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { - return 64; - }, - /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { - return 128; - } -}, false); -dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); -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); - } - [_onPause]() { - this[_controller$][_recordPause](this); - } - [_onResume]() { - this[_controller$][_recordResume](this); - } - } - (_ControllerSubscription.new = function(_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"); - this[_controller$] = _controller; - _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - ; - }).prototype = _ControllerSubscription.prototype; - dart.addTypeTests(_ControllerSubscription); - _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; - dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[31]); - dart.setFieldSignature(_ControllerSubscription, () => ({ - __proto__: dart.getFields(_ControllerSubscription.__proto__), - [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) - })); - return _ControllerSubscription; -}); -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 __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] = __t$_BroadcastSubscriptionNOfT().as(value); - } - get [_previous$1]() { - return this[_previous$0]; - } - set [_previous$1](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[66], 36, 26, "eventId"); - return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; - } - [_toggleEventId]() { - this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; - } - get [_isFiring]() { - return (dart.notNull(this[_eventState]) & 2) !== 0; - } - [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); - this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; - } - get [_removeAfterFiring]() { - return (dart.notNull(this[_eventState]) & 4) !== 0; - } - [_onPause]() { - } - [_onResume]() { - } - } - (_BroadcastSubscription.new = function(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"); - this[_eventState] = 0; - this[_next$0] = null; - this[_previous$0] = null; - _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); - this[_next$1] = this[_previous$1] = this; - }).prototype = _BroadcastSubscription.prototype; - dart.addTypeTests(_BroadcastSubscription); - _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; - dart.addTypeCaches(_BroadcastSubscription); - dart.setMethodSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getMethods(_BroadcastSubscription.__proto__), - [_expectsEvent]: dart.fnType(core.bool, [core.int]), - [_toggleEventId]: dart.fnType(dart.void, []), - [_setRemoveAfterFiring]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getGetters(_BroadcastSubscription.__proto__), - [_isFiring]: core.bool, - [_removeAfterFiring]: core.bool - })); - 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$(); -dart.defineLazy(async._BroadcastSubscription, { - /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { - return 4; - } -}, false); -dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); -var _firstSubscription = dart.privateName(async, "_firstSubscription"); -var _lastSubscription = dart.privateName(async, "_lastSubscription"); -var _addStreamState = dart.privateName(async, "_addStreamState"); -var _doneFuture = dart.privateName(async, "_doneFuture"); -var _isEmpty = dart.privateName(async, "_isEmpty"); -var _hasOneListener = dart.privateName(async, "_hasOneListener"); -var _isAddingStream = dart.privateName(async, "_isAddingStream"); -var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); -var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); -var _addListener = dart.privateName(async, "_addListener"); -var _removeListener = dart.privateName(async, "_removeListener"); -var _callOnCancel = dart.privateName(async, "_callOnCancel"); -var _addEventError = dart.privateName(async, "_addEventError"); -var _forEachListener = dart.privateName(async, "_forEachListener"); -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 __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")); - } - set onPause(onPauseHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get onResume() { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - set onResume(onResumeHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get stream() { - return new (__t$_BroadcastStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return false; - } - get hasListener() { - return !dart.test(this[_isEmpty]); - } - get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); - return this[_firstSubscription] == this[_lastSubscription]; - } - get [_isFiring]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - [_ensureDoneFuture]() { - 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[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; - subscription[_next$1] = null; - subscription[_previous$1] = oldLast; - if (oldLast == null) { - this[_firstSubscription] = subscription; - } else { - oldLast[_next$1] = subscription; - } - } - [_removeListener](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) { - this[_firstSubscription] = next; - } else { - previous[_next$1] = next; - } - if (next == null) { - this[_lastSubscription] = previous; - } else { - next[_previous$1] = previous; - } - subscription[_next$1] = subscription[_previous$1] = subscription; - } - [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); - if (dart.test(this.isClosed)) { - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); - this[_addListener](subscription); - if (this[_firstSubscription] == this[_lastSubscription]) { - async._runGuarded(this.onListen); - } - return subscription; - } - [_recordCancel](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](); - } else { - this[_removeListener](subscription); - if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - return null; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); - } - [_recordResume](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[66], 238, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add new events while doing an addStream"); - } - add(data) { - T.as(data); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendData](data); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_sendError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - 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]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - let doneFuture = this[_ensureDoneFuture](); - this[_sendDone](); - return doneFuture; - } - get done() { - return this[_ensureDoneFuture](); - } - addStream(stream, opts) { - 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 (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); - this[_addStreamState] = addStreamState; - return addStreamState.addStreamFuture; - } - [_add](data) { - this[_sendData](data); - } - [_addError](error, 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[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 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")); - } - if (dart.test(this[_isEmpty])) return; - let id = (dart.notNull(this[_state]) & 1) >>> 0; - this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; - let subscription = this[_firstSubscription]; - while (subscription != null) { - if (dart.test(subscription[_expectsEvent](id))) { - 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); - } - t74$ = subscription; - t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; - subscription = next; - } else { - subscription = subscription[_next$1]; - } - } - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - [_callOnCancel]() { - 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])) { - doneFuture[_asyncComplete](null); - } - } - async._runGuarded(this.onCancel); - } - } - (_BroadcastStreamController.new = function(onListen, onCancel) { - this[_firstSubscription] = null; - this[_lastSubscription] = null; - this[_addStreamState] = null; - this[_doneFuture] = null; - this.onListen = onListen; - this.onCancel = onCancel; - this[_state] = 0; - ; - }).prototype = _BroadcastStreamController.prototype; - dart.addTypeTests(_BroadcastStreamController); - _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; - dart.addTypeCaches(_BroadcastStreamController); - _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getMethods(_BroadcastStreamController.__proto__), - [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), - [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_addEventError]: dart.fnType(core.Error, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), - [_add]: dart.fnType(dart.void, [T]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), - [_callOnCancel]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getGetters(_BroadcastStreamController.__proto__), - onPause: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - isClosed: core.bool, - isPaused: core.bool, - hasListener: core.bool, - [_hasOneListener]: core.bool, - [_isFiring]: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_isEmpty]: core.bool, - done: async.Future$(dart.void) - })); - dart.setSetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getSetters(_BroadcastStreamController.__proto__), - onPause: dart.nullable(dart.fnType(dart.void, [])), - onResume: dart.nullable(dart.fnType(dart.void, [])) - })); - dart.setLibraryUri(_BroadcastStreamController, I[31]); - dart.setFieldSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getFields(_BroadcastStreamController.__proto__), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - [_state]: dart.fieldType(core.int), - [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), - [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(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$(); -dart.defineLazy(async._BroadcastStreamController, { - /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } -}, false); -dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); -const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); -async._SyncBroadcastStreamController$ = dart.generic(T => { - 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]); - } - [_addEventError]() { - if (dart.test(this[_isFiring])) { - return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); - } - return super[_addEventError](); - } - [_sendData](data) { - if (dart.test(this[_isEmpty])) return; - if (dart.test(this[_hasOneListener])) { - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); - firstSubscription[_add](data); - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - return; - } - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); - subscription[_add](data); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendError](error, 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[66], 391, 55, "subscription"); - subscription[_addError](error, stackTrace); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); - subscription[_close](); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } else { - 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); - } - } - } - (_SyncBroadcastStreamController.new = function(onListen, onCancel) { - _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _SyncBroadcastStreamController.prototype; - dart.addTypeTests(_SyncBroadcastStreamController); - _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_SyncBroadcastStreamController); - _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __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 (__t$_DelayedDataOfT()).new(data)); - } - } - [_sendError](error, 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)); - } - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[41] || CT.C41); - } - } else { - 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); - } - } - } - (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { - _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsyncBroadcastStreamController.prototype; - dart.addTypeTests(_AsyncBroadcastStreamController); - _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsyncBroadcastStreamController); - dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); - return _AsyncBroadcastStreamController; -}); -async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); -dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); -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 __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]; - return pending != null && !dart.test(pending.isEmpty); - } - [_addPendingEvent](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 (__t$_DelayedDataOfT()).new(data)); - return; - } - super.add(data); - this[_flushPending](); - } - addError(error, stackTrace = null) { - 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])) { - this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); - return; - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendError](error, stackTrace); - this[_flushPending](); - } - [_flushPending]() { - 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[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[66], 506, 12, "!_hasPending"); - return result; - } - [_callOnCancel]() { - let pending = this[_pending]; - if (pending != null) { - pending.clear(); - this[_pending] = null; - } - super[_callOnCancel](); - } - } - (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending] = null; - _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsBroadcastStreamController.prototype; - dart.addTypeTests(_AsBroadcastStreamController); - _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsBroadcastStreamController); - _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; - dart.setMethodSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), - [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), - [_flushPending]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), - [_hasPending]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStreamController, I[31]); - dart.setFieldSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) - })); - return _AsBroadcastStreamController; -}); -async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); -dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); -var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); -var uri$ = dart.privateName(async, "DeferredLibrary.uri"); -async.DeferredLibrary = class DeferredLibrary extends core.Object { - get libraryName() { - return this[libraryName$]; - } - set libraryName(value) { - super.libraryName = value; - } - get uri() { - return this[uri$]; - } - 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[69], 17, 30, "libraryName"); - let uri = opts && 'uri' in opts ? opts.uri : null; - this[libraryName$] = libraryName; - this[uri$] = uri; - ; -}).prototype = async.DeferredLibrary.prototype; -dart.addTypeTests(async.DeferredLibrary); -dart.addTypeCaches(async.DeferredLibrary); -dart.setMethodSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getMethods(async.DeferredLibrary.__proto__), - load: dart.fnType(async.Future$(core.Null), []) -})); -dart.setLibraryUri(async.DeferredLibrary, I[31]); -dart.setFieldSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getFields(async.DeferredLibrary.__proto__), - libraryName: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.String)) -})); -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[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[31]); -dart.setFieldSignature(async.DeferredLoadException, () => ({ - __proto__: dart.getFields(async.DeferredLoadException.__proto__), - [_s]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); -async.FutureOr$ = dart.normalizeFutureOr(T => { - class FutureOr extends core.Object {} - (FutureOr.__ = function() { - dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); - }).prototype = FutureOr.prototype; - dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[31]); - return FutureOr; -}); -async.FutureOr = async.FutureOr$(); -var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); -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[70], 249, 30, "computation"); - let result = new (async._Future$(T)).new(); - async.Timer.run(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 273, 40, "computation"); - let result = new (async._Future$(T)).new(); - async.scheduleMicrotask(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 300, 35, "computation"); - try { - let result = computation(); - if (async.Future$(T).is(result)) { - return result; - } else { - return new (async._Future$(T)).value(T.as(result)); - } - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - let future = new (async._Future$(T)).new(); - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - future[_asyncCompleteError](replacement.error, replacement.stackTrace); - } else { - future[_asyncCompleteError](error, stackTrace); - } - return future; - } else - 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[70], 369, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - if (async.Zone.current != async._rootZone) { - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } - } - 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[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")); - } - let result = new (async._Future$(T)).new(); - async.Timer.new(duration, dart.fn(() => { - if (computation == null) { - result[_complete](T.as(null)); - } else { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } - }, 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 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[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; - let remaining = 0; - let error = null; - let error$35isSet = false; - function error$35get() { - return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); - } - function error$35set(error$35param) { - if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); - error$35isSet = true; - return error = error$35param; - } - let stackTrace = null; - let stackTrace$35isSet = false; - function stackTrace$35get() { - return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); - } - function stackTrace$35set(stackTrace$35param) { - if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); - stackTrace$35isSet = true; - return stackTrace = stackTrace$35param; - } - function handleError(theError, 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) { - if (cleanUp != null) { - for (let value of valueList) { - if (value != null) { - let cleanUpValue = value; - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(cleanUpValue); - }, T$.VoidToNull())); - } - } - } - values = null; - if (remaining === 0 || dart.test(eagerError)) { - _future[_completeError](theError, theStackTrace); - } else { - error$35set(theError); - stackTrace$35set(theStackTrace); - } - } else if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); - try { - for (let future of futures) { - let pos = remaining; - future.then(core.Null, dart.fn(value => { - remaining = remaining - 1; - let valueList = values; - if (valueList != null) { - valueList[$_set](pos, value); - if (remaining === 0) { - _future[_completeWithValue](core.List$(T).from(valueList)); - } - } else { - if (cleanUp != null && value != null) { - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(value); - }, T$.VoidToNull())); - } - if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - }, dart.fnType(core.Null, [T])), {onError: handleError}); - remaining = remaining + 1; - } - if (remaining === 0) { - t86 = _future; - return (() => { - t86[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t86; - })(); - } - values = core.List$(dart.nullable(T)).filled(remaining, null); - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (remaining === 0 || dart.test(eagerError)) { - return async.Future$(core.List$(T)).error(e, st); - } else { - error$35set(e); - stackTrace$35set(st); - } - } else - throw e$; - } - return _future; - } - static any(T, 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[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()); - for (let future of futures) { - future.then(dart.void, onValue, {onError: onError}); - } - return completer.future; - } - static forEach(T, elements, 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[42] || CT.C42); - return true; - }, T$.VoidToFutureOrOfbool())); - } - static _kTrue(_) { - return true; - } - static doWhile(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")); - } - function nextIteration$35set(nextIteration$35param) { - if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); - nextIteration$35isSet = true; - return nextIteration = nextIteration$35param; - } - nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); - while (dart.test(keepGoing)) { - let result = null; - try { - result = action(); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); - return; - } else - throw e; - } - if (T$.FutureOfbool().is(result)) { - result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); - return; - } - keepGoing = result; - } - doneSignal[_complete](null); - }, T$.boolTovoid()))); - nextIteration$35get()(true); - return doneSignal; - } - } - (Future[dart.mixinNew] = function() { - }).prototype = Future.prototype; - dart.addTypeTests(Future); - Future.prototype[dart.isFuture] = true; - dart.addTypeCaches(Future); - 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$(); -dart.defineLazy(async.Future, { - /*async.Future._nullFuture*/get _nullFuture() { - return T$._FutureOfNull().as(_internal.nullFuture); - }, - /*async.Future._falseFuture*/get _falseFuture() { - return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); - } -}, false); -dart.addTypeTests(async.Future, dart.isFuture); -var message$1 = dart.privateName(async, "TimeoutException.message"); -var duration$ = dart.privateName(async, "TimeoutException.duration"); -async.TimeoutException = class TimeoutException extends core.Object { - get message() { - return this[message$1]; - } - set message(value) { - super.message = value; - } - get duration() { - return this[duration$]; - } - 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); - if (this.message != null) result = result + ": " + dart.str(this.message); - return result; - } -}; -(async.TimeoutException.new = function(message, duration = null) { - this[message$1] = message; - this[duration$] = duration; - ; -}).prototype = async.TimeoutException.prototype; -dart.addTypeTests(async.TimeoutException); -dart.addTypeCaches(async.TimeoutException); -async.TimeoutException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.TimeoutException, I[31]); -dart.setFieldSignature(async.TimeoutException, () => ({ - __proto__: dart.getFields(async.TimeoutException.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)), - duration: dart.finalFieldType(dart.nullable(core.Duration)) -})); -dart.defineExtensionMethods(async.TimeoutException, ['toString']); -const _is_Completer_default = Symbol('_is_Completer_default'); -async.Completer$ = dart.generic(T => { - class Completer extends core.Object { - 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.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 __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); - class _Completer extends core.Object { - completeError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_completeError](error, stackTrace); - } - get isCompleted() { - return !dart.test(this.future[_mayComplete]); - } - } - (_Completer.new = function() { - this.future = new (__t$_FutureOfT()).new(); - ; - }).prototype = _Completer.prototype; - dart.addTypeTests(_Completer); - _Completer.prototype[_is__Completer_default] = true; - dart.addTypeCaches(_Completer); - _Completer[dart.implements] = () => [async.Completer$(T)]; - dart.setMethodSignature(_Completer, () => ({ - __proto__: dart.getMethods(_Completer.__proto__), - completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_Completer, () => ({ - __proto__: dart.getGetters(_Completer.__proto__), - isCompleted: core.bool - })); - dart.setLibraryUri(_Completer, I[31]); - dart.setFieldSignature(_Completer, () => ({ - __proto__: dart.getFields(_Completer.__proto__), - future: dart.finalFieldType(async._Future$(T)) - })); - return _Completer; -}); -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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _AsyncCompleter.prototype; - dart.addTypeTests(_AsyncCompleter); - _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; - dart.addTypeCaches(_AsyncCompleter); - dart.setMethodSignature(_AsyncCompleter, () => ({ - __proto__: dart.getMethods(_AsyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - 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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _SyncCompleter.prototype; - dart.addTypeTests(_SyncCompleter); - _SyncCompleter.prototype[_is__SyncCompleter_default] = true; - dart.addTypeCaches(_SyncCompleter); - dart.setMethodSignature(_SyncCompleter, () => ({ - __proto__: dart.getMethods(_SyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - dart.setLibraryUri(_SyncCompleter, I[31]); - return _SyncCompleter; -}); -async._SyncCompleter = async._SyncCompleter$(); -dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); -var _nextListener = dart.privateName(async, "_nextListener"); -var _onValue = dart.privateName(async, "_onValue"); -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 __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$]; - } - get handlesValue() { - return (dart.notNull(this.state) & 1) !== 0; - } - get handlesError() { - return (dart.notNull(this.state) & 2) !== 0; - } - get hasErrorTest() { - return (dart.notNull(this.state) & 15) >>> 0 === 6; - } - get handlesComplete() { - return (dart.notNull(this.state) & 15) >>> 0 === 8; - } - get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); - return this.callback; - } - get [_onError$]() { - return this.errorCallback; - } - get [_errorTest]() { - 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[71], 132, 12, "handlesComplete"); - return this.callback; - } - get hasErrorCallback() { - 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(__t$FutureOrOfT(), S, this[_onValue], sourceResult); - } - matchesErrorTest(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[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)) { - result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); - } else { - 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[71], 189, 12, "!handlesError"); - return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); - } - shouldChain(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[71], 94, 12, "result"); - if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = errorCallback == null ? 1 : 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.thenAwait = function(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"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[71], 105, 35, "result"); - this[_nextListener] = null; - this.result = result; - this.errorCallback = errorCallback; - this.callback = callback; - this.state = callback == null ? 2 : 6; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[71], 108, 37, "result"); - this[_nextListener] = null; - this.result = result; - this.callback = callback; - this.errorCallback = null; - this.state = 8; - ; - }).prototype = _FutureListener.prototype; - dart.addTypeTests(_FutureListener); - _FutureListener.prototype[_is__FutureListener_default] = true; - dart.addTypeCaches(_FutureListener); - dart.setMethodSignature(_FutureListener, () => ({ - __proto__: dart.getMethods(_FutureListener.__proto__), - handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), - matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), - handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), - handleWhenComplete: dart.fnType(dart.dynamic, []), - shouldChain: dart.fnType(core.bool, [async.Future]) - })); - dart.setGetterSignature(_FutureListener, () => ({ - __proto__: dart.getGetters(_FutureListener.__proto__), - [_zone$]: async._Zone, - handlesValue: core.bool, - handlesError: core.bool, - hasErrorTest: core.bool, - handlesComplete: core.bool, - [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError$]: dart.nullable(core.Function), - [_errorTest]: dart.fnType(core.bool, [core.Object]), - [_whenCompleteAction]: dart.fnType(dart.dynamic, []), - hasErrorCallback: core.bool - })); - dart.setLibraryUri(_FutureListener, I[31]); - dart.setFieldSignature(_FutureListener, () => ({ - __proto__: dart.getFields(_FutureListener.__proto__), - [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), - result: dart.finalFieldType(async._Future$(T)), - state: dart.finalFieldType(core.int), - 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$(); -dart.defineLazy(async._FutureListener, { - /*async._FutureListener.maskValue*/get maskValue() { - return 1; - }, - /*async._FutureListener.maskError*/get maskError() { - return 2; - }, - /*async._FutureListener.maskTestError*/get maskTestError() { - return 4; - }, - /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { - return 8; - }, - /*async._FutureListener.stateChain*/get stateChain() { - return 0; - }, - /*async._FutureListener.stateThen*/get stateThen() { - return 1; - }, - /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { - return 3; - }, - /*async._FutureListener.stateCatchError*/get stateCatchError() { - return 2; - }, - /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { - return 6; - }, - /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { - return 8; - }, - /*async._FutureListener.maskType*/get maskType() { - return 15; - } -}, false); -dart.addTypeTests(async._FutureListener, _is__FutureListener_default); -var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); -var _setValue = dart.privateName(async, "_setValue"); -var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); -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"); -var _chainSource = dart.privateName(async, "_chainSource"); -var _setErrorObject = dart.privateName(async, "_setErrorObject"); -var _setError = dart.privateName(async, "_setError"); -var _cloneResult = dart.privateName(async, "_cloneResult"); -var _prependListeners = dart.privateName(async, "_prependListeners"); -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 __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 (dart.notNull(this[_state]) & 30) >>> 0 === 0; - } - get [_isPendingComplete]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_mayAddListener]() { - return dart.notNull(this[_state]) <= (2 | 1) >>> 0; - } - get [_isChained]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isComplete]() { - return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; - } - get [_hasError]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_ignoreError]() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - [_setChained](source) { - 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[71], 302, 33, "f"); - let onError = opts && 'onError' in opts ? opts.onError : null; - let currentZone = async.Zone.current; - 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); - } - } - let result = new (async._Future$(R)).new(); - this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); - return result; - } - [_thenAwait](E, f, 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[71], 342, 33, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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 (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); - return result; - } - whenComplete(action) { - 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 (__t$_FutureListenerOfT$T()).whenComplete(result, action)); - return result; - } - asStream() { - return __t$StreamOfT().fromFuture(this); - } - [_setPendingComplete]() { - 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[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[71], 374, 12, "_hasError"); - return async.AsyncError.as(this[_resultOrListeners]); - } - get [_chainSource]() { - 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[71], 385, 12, "!_isComplete"); - this[_state] = 8; - this[_resultOrListeners] = value; - } - [_setErrorObject](error) { - 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[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[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[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; - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_addListener](listener); - return; - } - this[_cloneResult](source); - } - 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())); - } - } - [_prependListeners](listeners) { - if (listeners == null) return; - if (dart.test(this[_mayAddListener])) { - let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); - this[_resultOrListeners] = listeners; - if (existingListeners != null) { - let cursor = listeners; - let next = cursor[_nextListener]; - while (next != null) { - cursor = next; - next = cursor[_nextListener]; - } - cursor[_nextListener] = existingListeners; - } - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_prependListeners](listeners); - return; - } - this[_cloneResult](source); - } - 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); - }, T$.VoidTovoid())); - } - } - [_removeListeners]() { - 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); - } - [_reverseListeners](listeners) { - let prev = null; - let current = listeners; - while (current != null) { - let next = current[_nextListener]; - current[_nextListener] = prev; - prev = current; - current = next; - } - return prev; - } - [_chainForeignFuture](source) { - 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[71], 503, 16, "_isPendingComplete"); - this[_clearPendingComplete](); - try { - this[_completeWithValue](T.as(value)); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_completeError](error, stackTrace); - } else - throw e; - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.scheduleMicrotask(dart.fn(() => { - this[_completeError](e, s); - }, T$.VoidTovoid())); - } else - throw e$; - } - } - static _chainCoreFuture(source, target) { - 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]; - } - if (dart.test(source[_isComplete])) { - let listeners = target[_removeListeners](); - target[_cloneResult](source); - async._Future._propagateToListeners(target, listeners); - } else { - let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); - target[_setChained](source); - source[_prependListeners](listeners); - } - } - [_complete](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); - } - } else { - let listeners = this[_removeListeners](); - this[_setValue](T.as(value)); - async._Future._propagateToListeners(this, listeners); - } - } - [_completeWithValue](value) { - T.as(value); - 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[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) { - __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](); - this[_zone$].scheduleMicrotask(dart.fn(() => { - this[_completeWithValue](value); - }, T$.VoidTovoid())); - } - [_chainFuture](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(() => { - async._Future._chainCoreFuture(value, this); - }, T$.VoidTovoid())); - } else { - async._Future._chainCoreFuture(value, this); - } - return; - } - this[_chainForeignFuture](value); - } - [_asyncCompleteError](error, stackTrace) { - 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[71], 673, 15, "source"); - while (true) { - 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) && !dart.test(source[_ignoreError])) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - } - return; - } - let listener = listeners; - let nextListener = listener[_nextListener]; - while (nextListener != null) { - listener[_nextListener] = null; - async._Future._propagateToListeners(source, listener); - listener = nextListener; - nextListener = listener[_nextListener]; - } - let sourceResult = source[_resultOrListeners]; - let listenerHasError = hasError; - let listenerValueOrError = sourceResult; - if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { - let zone = listener[_zone$]; - if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - return; - } - let oldZone = null; - if (async.Zone._current != zone) { - oldZone = async.Zone._enter(zone); - } - function handleWhenCompleteCallback() { - 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(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.test(hasError) && core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - return; - } else - throw e$; - } - if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { - if (dart.test(completeResult[_hasError])) { - listenerValueOrError = completeResult[_error]; - listenerHasError = true; - } - return; - } - if (async.Future.is(completeResult)) { - let originalSource = source; - listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); - listenerHasError = false; - } - } - dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); - function handleValueCallback() { - try { - listenerValueOrError = listener.handleValue(sourceResult); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - listenerValueOrError = new async.AsyncError.new(e, s); - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleValueCallback, T$.VoidTovoid()); - function handleError() { - try { - let asyncError = source[_error]; - if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { - listenerValueOrError = listener.handleError(asyncError); - listenerHasError = false; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleError, T$.VoidTovoid()); - if (dart.test(listener.handlesComplete)) { - handleWhenCompleteCallback(); - } else if (!dart.test(hasError)) { - if (dart.test(listener.handlesValue)) { - handleValueCallback(); - } - } else { - if (dart.test(listener.handlesError)) { - handleError(); - } - } - if (oldZone != null) async.Zone._leave(oldZone); - if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { - let chainSource = async.Future.as(listenerValueOrError); - let result = listener.result; - if (async._Future.is(chainSource)) { - if (dart.test(chainSource[_isComplete])) { - listeners = result[_removeListeners](); - result[_cloneResult](chainSource); - source = chainSource; - continue; - } else { - async._Future._chainCoreFuture(chainSource, result); - } - } else { - result[_chainForeignFuture](chainSource); - } - return; - } - } - let result = listener.result; - listeners = result[_removeListeners](); - if (!dart.test(listenerHasError)) { - result[_setValue](listenerValueOrError); - } else { - let asyncError = async.AsyncError.as(listenerValueOrError); - result[_setErrorObject](asyncError); - } - source = result; - } - } - timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); - let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - __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(() => { - _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); - }, T$.VoidTovoid())); - } else { - let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); - timer = async.Timer.new(timeLimit, dart.fn(() => { - try { - _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - _future[_completeError](e, s); - } else - throw e$; - } - }, T$.VoidTovoid())); - } - this.then(core.Null, dart.fn(v => { - if (dart.test(timer.isActive)) { - timer.cancel(); - _future[_completeWithValue](v); - } - }, __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); - } - }, T$.ObjectAndStackTraceToNull())}); - return _future; - } - } - (_Future.new = function() { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - ; - }).prototype = _Future.prototype; - (_Future.immediate = function(result) { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncComplete](result); - }).prototype = _Future.prototype; - (_Future.zoneValue = function(value, _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[71], 279, 48, "stackTrace"); - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncCompleteError](core.Object.as(error), stackTrace); - }).prototype = _Future.prototype; - (_Future.value = function(value) { - _Future.zoneValue.call(this, value, async.Zone._current); - }).prototype = _Future.prototype; - _Future.prototype[dart.isFuture] = true; - dart.addTypeTests(_Future); - _Future.prototype[_is__Future_default] = true; - dart.addTypeCaches(_Future); - _Future[dart.implements] = () => [async.Future$(T)]; - dart.setMethodSignature(_Future, () => ({ - __proto__: dart.getMethods(_Future.__proto__), - [_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), []), - [_setPendingComplete]: dart.fnType(dart.void, []), - [_clearPendingComplete]: dart.fnType(dart.void, []), - [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), - [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_cloneResult]: dart.fnType(dart.void, [async._Future]), - [_addListener]: dart.fnType(dart.void, [async._FutureListener]), - [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), - [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), - [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), - [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), - [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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, - [_isPendingComplete]: core.bool, - [_mayAddListener]: core.bool, - [_isChained]: core.bool, - [_isComplete]: core.bool, - [_hasError]: core.bool, - [_ignoreError]: core.bool, - [_error]: async.AsyncError, - [_chainSource]: async._Future - })); - 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$(); -dart.defineLazy(async._Future, { - /*async._Future._stateIncomplete*/get _stateIncomplete() { - return 0; - }, - /*async._Future._stateIgnoreError*/get _stateIgnoreError() { - return 1; - }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { - return 2; - }, - /*async._Future._stateChained*/get _stateChained() { - return 4; - }, - /*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 { - 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[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[31]); -dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ - __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), - callback: dart.finalFieldType(dart.fnType(dart.void, [])), - next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) -})); -async._AsyncRun = class _AsyncRun extends core.Object { - static _initializeScheduleImmediate() { - if (dart.global.scheduleImmediate != null) { - return C[43] || CT.C43; - } - return C[44] || CT.C44; - } - static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); - dart.addAsyncCallback(); - dart.global.scheduleImmediate(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); - dart.addAsyncCallback(); - dart.global.Promise.resolve(null).then(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediate(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.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(); - } -}, false); -async.StreamSubscription$ = dart.generic(T => { - class StreamSubscription extends core.Object {} - (StreamSubscription.new = function() { - ; - }).prototype = StreamSubscription.prototype; - dart.addTypeTests(StreamSubscription); - StreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[31]); - return StreamSubscription; -}); -async.StreamSubscription = async.StreamSubscription$(); -dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); -const _is_EventSink_default = Symbol('_is_EventSink_default'); -async.EventSink$ = dart.generic(T => { - class EventSink extends core.Object {} - (EventSink.new = function() { - ; - }).prototype = EventSink.prototype; - dart.addTypeTests(EventSink); - EventSink.prototype[_is_EventSink_default] = true; - dart.addTypeCaches(EventSink); - EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[31]); - return EventSink; -}); -async.EventSink = async.EventSink$(); -dart.addTypeTests(async.EventSink, _is_EventSink_default); -var _stream = dart.privateName(async, "StreamView._stream"); -var _stream$ = dart.privateName(async, "_stream"); -const _is_StreamView_default = Symbol('_is_StreamView_default'); -async.StreamView$ = dart.generic(T => { - class StreamView extends async.Stream$(T) { - get [_stream$]() { - return this[_stream]; - } - 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; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); - } - 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; - return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } - (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); - this[_stream] = stream; - StreamView.__proto__._internal.call(this); - ; - }).prototype = StreamView.prototype; - dart.addTypeTests(StreamView); - StreamView.prototype[_is_StreamView_default] = true; - dart.addTypeCaches(StreamView); - dart.setMethodSignature(StreamView, () => ({ - __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[31]); - dart.setFieldSignature(StreamView, () => ({ - __proto__: dart.getFields(StreamView.__proto__), - [_stream$]: dart.finalFieldType(async.Stream$(T)) - })); - return StreamView; -}); -async.StreamView = async.StreamView$(); -dart.addTypeTests(async.StreamView, _is_StreamView_default); -const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); -async.StreamConsumer$ = dart.generic(S => { - class StreamConsumer extends core.Object {} - (StreamConsumer.new = function() { - ; - }).prototype = StreamConsumer.prototype; - dart.addTypeTests(StreamConsumer); - StreamConsumer.prototype[_is_StreamConsumer_default] = true; - dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[31]); - return StreamConsumer; -}); -async.StreamConsumer = async.StreamConsumer$(); -dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); -const _is_StreamSink_default = Symbol('_is_StreamSink_default'); -async.StreamSink$ = dart.generic(S => { - class StreamSink extends core.Object {} - (StreamSink.new = function() { - ; - }).prototype = StreamSink.prototype; - dart.addTypeTests(StreamSink); - StreamSink.prototype[_is_StreamSink_default] = true; - dart.addTypeCaches(StreamSink); - StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[31]); - return StreamSink; -}); -async.StreamSink = async.StreamSink$(); -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[30], 2460, 33, "source"); - return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); - } - } - (StreamTransformer[dart.mixinNew] = function() { - }).prototype = StreamTransformer.prototype; - dart.addTypeTests(StreamTransformer); - StreamTransformer.prototype[_is_StreamTransformer_default] = true; - dart.addTypeCaches(StreamTransformer); - dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); - dart.setLibraryUri(StreamTransformer, I[31]); - dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); - return StreamTransformer; -}); -async.StreamTransformer = async.StreamTransformer$(); -dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); -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[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.setStaticMethodSignature(StreamIterator, () => ['new']); - dart.setLibraryUri(StreamIterator, I[31]); - return StreamIterator; -}); -async.StreamIterator = async.StreamIterator$(); -dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); -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")); - return sink; - } - add(data) { - T.as(data); - this[_ensureSink]().add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); - this[_ensureSink]().addError(error, stackTrace); - } - close() { - this[_ensureSink]().close(); - } - } - (_ControllerEventSinkWrapper.new = function(_sink) { - this[_sink$] = _sink; - ; - }).prototype = _ControllerEventSinkWrapper.prototype; - dart.addTypeTests(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; - dart.addTypeCaches(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), - [_ensureSink]: dart.fnType(async.EventSink, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); - dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) - })); - return _ControllerEventSinkWrapper; -}); -async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); -dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); -const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); -async.MultiStreamController$ = dart.generic(T => { - class MultiStreamController extends core.Object {} - (MultiStreamController.new = function() { - ; - }).prototype = MultiStreamController.prototype; - dart.addTypeTests(MultiStreamController); - MultiStreamController.prototype[_is_MultiStreamController_default] = true; - dart.addTypeCaches(MultiStreamController); - MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[31]); - return MultiStreamController; -}); -async.MultiStreamController = async.MultiStreamController$(); -dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); -const _is_StreamController_default = Symbol('_is_StreamController_default'); -async.StreamController$ = dart.generic(T => { - class StreamController extends core.Object { - static new(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 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[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; - dart.addTypeTests(StreamController); - StreamController.prototype[_is_StreamController_default] = true; - dart.addTypeCaches(StreamController); - StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); - dart.setLibraryUri(StreamController, I[31]); - return StreamController; -}); -async.StreamController = async.StreamController$(); -dart.addTypeTests(async.StreamController, _is_StreamController_default); -const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); -async.SynchronousStreamController$ = dart.generic(T => { - class SynchronousStreamController extends core.Object {} - (SynchronousStreamController.new = function() { - ; - }).prototype = SynchronousStreamController.prototype; - dart.addTypeTests(SynchronousStreamController); - SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; - dart.addTypeCaches(SynchronousStreamController); - SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - 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 __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - class _StreamControllerLifecycle extends core.Object { - [_recordPause](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); - } - [_recordResume](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); - } - [_recordCancel](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); - return null; - } - } - (_StreamControllerLifecycle.new = function() { - ; - }).prototype = _StreamControllerLifecycle.prototype; - dart.addTypeTests(_StreamControllerLifecycle); - _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; - dart.addTypeCaches(_StreamControllerLifecycle); - dart.setMethodSignature(_StreamControllerLifecycle, () => ({ - __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), - [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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[31]); - return _StreamControllerLifecycle; -}); -async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); -dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); -const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); -async._StreamControllerBase$ = dart.generic(T => { - class _StreamControllerBase extends core.Object {} - (_StreamControllerBase.new = function() { - ; - }).prototype = _StreamControllerBase.prototype; - dart.addTypeTests(_StreamControllerBase); - _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[31]); - return _StreamControllerBase; -}); -async._StreamControllerBase = async._StreamControllerBase$(); -dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); -var _varData = dart.privateName(async, "_varData"); -var _isInitialState = dart.privateName(async, "_isInitialState"); -var _subscription = dart.privateName(async, "_subscription"); -var _pendingEvents = dart.privateName(async, "_pendingEvents"); -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 __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 (__t$_ControllerStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get hasListener() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - get [_isInitialState]() { - return (dart.notNull(this[_state]) & 3) >>> 0 === 0; - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); - if (!dart.test(this[_isAddingStream])) { - return __t$_PendingEventsNOfT().as(this[_varData]); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - return __t$_PendingEventsNOfT().as(state.varData); - } - [_ensurePendingEvents]() { - 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 (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - let events = state.varData; - if (events == null) { - state.varData = events = new (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - get [_subscription]() { - 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 __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[67], 567, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add event while adding a stream"); - } - addStream(source, opts) { - 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 (__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; - } - get done() { - return this[_ensureDoneFuture](); - } - [_ensureDoneFuture]() { - 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); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_add](value); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_addError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - return this[_ensureDoneFuture](); - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_closeUnchecked](); - return this[_ensureDoneFuture](); - } - [_closeUnchecked]() { - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) { - this[_sendDone](); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[41] || CT.C41); - } - } - [_add](value) { - T.as(value); - if (dart.test(this.hasListener)) { - this[_sendData](value); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); - } - } - [_addError](error, 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])) { - this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[67], 674, 28, "cancelOnError"); - if (!dart.test(this[_isInitialState])) { - dart.throw(new core.StateError.new("Stream has already been listened to.")); - } - 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 = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.varData = subscription; - addState.resume(); - } else { - this[_varData] = subscription; - } - subscription[_setPendingEvents](pendingEvents); - subscription[_guardCallback](dart.fn(() => { - async._runGuarded(this.onListen); - }, T$.VoidTovoid())); - return subscription; - } - [_recordCancel](subscription) { - let t101; - if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); - let result = null; - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - result = addState.cancel(); - } - this[_varData] = null; - this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; - let onCancel = this.onCancel; - if (onCancel != null) { - if (result == null) { - try { - let cancelResult = onCancel(); - if (T$.FutureOfvoid().is(cancelResult)) { - result = cancelResult; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - result = (t101 = new (T$._FutureOfvoid()).new(), (() => { - t101[_asyncCompleteError](e, s); - return t101; - })()); - } else - throw e$; - } - } else { - result = result.whenComplete(onCancel); - } - } - const complete = () => { - let doneFuture = this[_doneFuture]; - if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { - doneFuture[_asyncComplete](null); - } - }; - dart.fn(complete, T$.VoidTovoid()); - if (result != null) { - result = result.whenComplete(complete); - } else { - complete(); - } - return result; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.pause(); - } - async._runGuarded(this.onPause); - } - [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.resume(); - } - async._runGuarded(this.onResume); - } - } - (_StreamController.new = function(onListen, onPause, onResume, onCancel) { - this[_varData] = null; - this[_state] = 0; - this[_doneFuture] = null; - this.onListen = onListen; - this.onPause = onPause; - this.onResume = onResume; - this.onCancel = onCancel; - ; - }).prototype = _StreamController.prototype; - dart.addTypeTests(_StreamController); - _StreamController.prototype[_is__StreamController_default] = true; - dart.addTypeCaches(_StreamController); - _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_StreamController, () => ({ - __proto__: dart.getMethods(_StreamController.__proto__), - [_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), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - [_closeUnchecked]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) - })); - dart.setGetterSignature(_StreamController, () => ({ - __proto__: dart.getGetters(_StreamController.__proto__), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - [_isCanceled]: core.bool, - hasListener: core.bool, - [_isInitialState]: core.bool, - isClosed: core.bool, - isPaused: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), - [_subscription]: async._ControllerSubscription$(T), - done: async.Future$(dart.void) - })); - dart.setLibraryUri(_StreamController, I[31]); - dart.setFieldSignature(_StreamController, () => ({ - __proto__: dart.getFields(_StreamController.__proto__), - [_varData]: dart.fieldType(dart.nullable(core.Object)), - [_state]: dart.fieldType(core.int), - [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - 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$(); -dart.defineLazy(async._StreamController, { - /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { - return 1; - }, - /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { - return 2; - }, - /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { - return 3; - }, - /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } -}, false); -dart.addTypeTests(async._StreamController, _is__StreamController_default); -const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); -async._SyncStreamControllerDispatch$ = dart.generic(T => { - class _SyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_add](data); - } - [_sendError](error, 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]() { - this[_subscription][_close](); - } - } - (_SyncStreamControllerDispatch.new = function() { - ; - }).prototype = _SyncStreamControllerDispatch.prototype; - dart.addTypeTests(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - class _AsyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - [_sendError](error, 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[41] || CT.C41); - } - } - (_AsyncStreamControllerDispatch.new = function() { - ; - }).prototype = _AsyncStreamControllerDispatch.prototype; - dart.addTypeTests(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; - dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); - return _AsyncStreamControllerDispatch; -}); -async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); -dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); -const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); -async._AsyncStreamController$ = dart.generic(T => { - const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 805, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _AsyncStreamController.prototype; - dart.addTypeTests(_AsyncStreamController); - _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; - dart.addTypeCaches(_AsyncStreamController); - dart.setMethodSignature(_AsyncStreamController, () => ({ - __proto__: dart.getMethods(_AsyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamController, I[31]); - return _AsyncStreamController; -}); -async._AsyncStreamController = async._AsyncStreamController$(); -dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); -const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); -async._SyncStreamController$ = dart.generic(T => { - const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 808, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _SyncStreamController.prototype; - dart.addTypeTests(_SyncStreamController); - _SyncStreamController.prototype[_is__SyncStreamController_default] = true; - dart.addTypeCaches(_SyncStreamController); - dart.setMethodSignature(_SyncStreamController, () => ({ - __proto__: dart.getMethods(_SyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SyncStreamController, I[31]); - return _SyncStreamController; -}); -async._SyncStreamController = async._SyncStreamController$(); -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 __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[67], 870, 24, "error"); - this[_target$].addError(error, stackTrace); - } - close() { - return this[_target$].close(); - } - addStream(source) { - __t$StreamOfT().as(source); - if (source == null) dart.nullFailed(I[67], 876, 30, "source"); - return this[_target$].addStream(source); - } - get done() { - return this[_target$].done; - } - } - (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); - this[_target$] = _target; - ; - }).prototype = _StreamSinkWrapper.prototype; - dart.addTypeTests(_StreamSinkWrapper); - _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; - dart.addTypeCaches(_StreamSinkWrapper); - _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), - done: async.Future - })); - dart.setLibraryUri(_StreamSinkWrapper, I[31]); - dart.setFieldSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getFields(_StreamSinkWrapper.__proto__), - [_target$]: dart.finalFieldType(async.StreamController) - })); - return _StreamSinkWrapper; -}); -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[67], 899, 38, "controller"); - return dart.fn((e, 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()); - } - pause() { - this.addSubscription.pause(); - } - resume() { - this.addSubscription.resume(); - } - cancel() { - let cancel = this.addSubscription.cancel(); - if (cancel == null) { - this.addStreamFuture[_asyncComplete](null); - return async.Future._nullFuture; - } - return cancel.whenComplete(dart.fn(() => { - this.addStreamFuture[_asyncComplete](null); - }, T$.VoidToNull())); - } - complete() { - this.addStreamFuture[_asyncComplete](null); - } - } - (_AddStreamState.new = function(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"); - this.addStreamFuture = new async._Future.new(); - 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); - _AddStreamState.prototype[_is__AddStreamState_default] = true; - dart.addTypeCaches(_AddStreamState); - dart.setMethodSignature(_AddStreamState, () => ({ - __proto__: dart.getMethods(_AddStreamState.__proto__), - pause: dart.fnType(dart.void, []), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future$(dart.void), []), - complete: dart.fnType(dart.void, []) - })); - dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); - dart.setLibraryUri(_AddStreamState, I[31]); - dart.setFieldSignature(_AddStreamState, () => ({ - __proto__: dart.getFields(_AddStreamState.__proto__), - addStreamFuture: dart.finalFieldType(async._Future), - addSubscription: dart.finalFieldType(async.StreamSubscription) - })); - return _AddStreamState; -}); -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) { - 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[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)) { - this.addSubscription.pause(); - } - }).prototype = _StreamControllerAddStreamState.prototype; - dart.addTypeTests(_StreamControllerAddStreamState); - _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; - dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); - dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ - __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), - varData: dart.fieldType(dart.dynamic) - })); - return _StreamControllerAddStreamState; -}); -async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); -dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); -const _is__EventSink_default = Symbol('_is__EventSink_default'); -async._EventSink$ = dart.generic(T => { - class _EventSink extends core.Object {} - (_EventSink.new = function() { - ; - }).prototype = _EventSink.prototype; - dart.addTypeTests(_EventSink); - _EventSink.prototype[_is__EventSink_default] = true; - dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[31]); - return _EventSink; -}); -async._EventSink = async._EventSink$(); -dart.addTypeTests(async._EventSink, _is__EventSink_default); -const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); -async._EventDispatch$ = dart.generic(T => { - class _EventDispatch extends core.Object {} - (_EventDispatch.new = function() { - ; - }).prototype = _EventDispatch.prototype; - dart.addTypeTests(_EventDispatch); - _EventDispatch.prototype[_is__EventDispatch_default] = true; - dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[31]); - return _EventDispatch; -}); -async._EventDispatch = async._EventDispatch$(); -dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); -const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); -async._DelayedEvent$ = dart.generic(T => { - class _DelayedEvent extends core.Object {} - (_DelayedEvent.new = function() { - this.next = null; - ; - }).prototype = _DelayedEvent.prototype; - dart.addTypeTests(_DelayedEvent); - _DelayedEvent.prototype[_is__DelayedEvent_default] = true; - dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[31]); - dart.setFieldSignature(_DelayedEvent, () => ({ - __proto__: dart.getFields(_DelayedEvent.__proto__), - next: dart.fieldType(dart.nullable(async._DelayedEvent)) - })); - return _DelayedEvent; -}); -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 __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) { - __t$_EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); - dispatch[_sendData](this.value); - } - } - (_DelayedData.new = function(value) { - this.value = value; - _DelayedData.__proto__.new.call(this); - ; - }).prototype = _DelayedData.prototype; - dart.addTypeTests(_DelayedData); - _DelayedData.prototype[_is__DelayedData_default] = true; - dart.addTypeCaches(_DelayedData); - dart.setMethodSignature(_DelayedData, () => ({ - __proto__: dart.getMethods(_DelayedData.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_DelayedData, I[31]); - dart.setFieldSignature(_DelayedData, () => ({ - __proto__: dart.getFields(_DelayedData.__proto__), - value: dart.finalFieldType(T) - })); - return _DelayedData; -}); -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[68], 525, 31, "dispatch"); - dispatch[_sendError](this.error, this.stackTrace); - } -}; -(async._DelayedError.new = function(error, 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); - ; -}).prototype = async._DelayedError.prototype; -dart.addTypeTests(async._DelayedError); -dart.addTypeCaches(async._DelayedError); -dart.setMethodSignature(async._DelayedError, () => ({ - __proto__: dart.getMethods(async._DelayedError.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[68], 533, 31, "dispatch"); - dispatch[_sendDone](); - } - get next() { - return null; - } - set next(_) { - dart.throw(new core.StateError.new("No events after a done.")); - } -}; -(async._DelayedDone.new = function() { - ; -}).prototype = async._DelayedDone.prototype; -dart.addTypeTests(async._DelayedDone); -dart.addTypeCaches(async._DelayedDone); -async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; -dart.setMethodSignature(async._DelayedDone, () => ({ - __proto__: dart.getMethods(async._DelayedDone.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getGetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) -})); -dart.setSetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getSetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) -})); -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[68], 602, 26, "event"); - let lastEvent = this.lastPendingEvent; - if (lastEvent == null) { - this.firstPendingEvent = this.lastPendingEvent = event; - } else { - this.lastPendingEvent = lastEvent.next = event; - } - } - handleNext(dispatch) { - __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; - if (nextEvent == null) { - this.lastPendingEvent = null; - } - event.perform(dispatch); - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this.firstPendingEvent = this.lastPendingEvent = null; - } - static ['_#new#tearOff'](T) { - return new (async._PendingEvents$(T)).new(); - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - this.firstPendingEvent = null; - this.lastPendingEvent = null; - ; - }).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(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool, - isEmpty: core.bool - })); - 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)) - })); - dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); - return _PendingEvents; -}); -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; - } - get [_isScheduled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get isPaused() { - return dart.notNull(this[_state]) >= 4; - } - [_schedule]() { - if (dart.test(this[_isScheduled])) return; - this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - } - onData(handleData) { - } - onError(handleError) { - } - onDone(handleDone) { - this[_onDone$] = handleDone; - } - pause(resumeSignal = null) { - this[_state] = dart.notNull(this[_state]) + 4; - if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - resume() { - if (dart.test(this.isPaused)) { - this[_state] = dart.notNull(this[_state]) - 4; - if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { - this[_schedule](); - } - } - } - cancel() { - return async.Future._nullFuture; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_completeWithValue](resultValue); - }, T$.VoidTovoid()); - return result; - } - [_sendDone]() { - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this.isPaused)) return; - this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; - let doneHandler = this[_onDone$]; - if (doneHandler != null) this[_zone$].runGuarded(doneHandler); - } - } - (_DoneStreamSubscription.new = function(_onDone) { - this[_state] = 0; - this[_onDone$] = _onDone; - this[_zone$] = async.Zone.current; - this[_schedule](); - }).prototype = _DoneStreamSubscription.prototype; - _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_DoneStreamSubscription); - _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; - dart.addTypeCaches(_DoneStreamSubscription); - _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), - [_schedule]: dart.fnType(dart.void, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), - [_isSent]: core.bool, - [_isScheduled]: core.bool, - isPaused: core.bool - })); - 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$(); -dart.defineLazy(async._DoneStreamSubscription, { - /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { - return 1; - }, - /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { - return 2; - }, - /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { - return 4; - } -}, false); -dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); -var _source$4 = dart.privateName(async, "_source"); -var _onListenHandler = dart.privateName(async, "_onListenHandler"); -var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); -var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); -var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); -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 __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 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 (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - 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, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - if (shutdown) { - let subscription = this[_subscription]; - if (subscription != null) { - subscription.cancel(); - this[_subscription] = null; - } - } - } - [_onListen$]() { - let listenHandler = this[_onListenHandler]; - if (listenHandler != null) { - this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - } - [_cancelSubscription]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - this[_controller$] = null; - subscription.cancel(); - } - } - [_pauseSubscription](resumeSignal) { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(resumeSignal); - } - [_resumeSubscription]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - get [_isSubscriptionPaused]() { - 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[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, __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 (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); - }).prototype = _AsBroadcastStream.prototype; - dart.addTypeTests(_AsBroadcastStream); - _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; - dart.addTypeCaches(_AsBroadcastStream); - dart.setMethodSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getMethods(_AsBroadcastStream.__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)}, {}), - [_onCancel]: dart.fnType(dart.void, []), - [_onListen$]: dart.fnType(dart.void, []), - [_cancelSubscription]: dart.fnType(dart.void, []), - [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), - [_resumeSubscription]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getGetters(_AsBroadcastStream.__proto__), - [_isSubscriptionPaused]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStream, I[31]); - dart.setFieldSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getFields(_AsBroadcastStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(T)), - [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_zone$]: dart.finalFieldType(async.Zone), - [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) - })); - return _AsBroadcastStream; -}); -async._AsBroadcastStream = async._AsBroadcastStream$(); -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.")); - } - onError(handleError) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - onDone(handleDone) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - pause(resumeSignal = null) { - this[_stream$][_pauseSubscription](resumeSignal); - } - resume() { - this[_stream$][_resumeSubscription](); - } - cancel() { - this[_stream$][_cancelSubscription](); - return async.Future._nullFuture; - } - get isPaused() { - return this[_stream$][_isSubscriptionPaused]; - } - asFuture(E, futureValue = null) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - } - (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); - this[_stream$] = _stream; - ; - }).prototype = _BroadcastSubscriptionWrapper.prototype; - _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; - dart.addTypeCaches(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); - dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), - [_stream$]: dart.finalFieldType(async._AsBroadcastStream) - })); - return _BroadcastSubscriptionWrapper; -}); -async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); -dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); -var _hasValue$0 = dart.privateName(async, "_hasValue"); -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 __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); - } - moveNext() { - let subscription = this[_subscription]; - if (subscription != null) { - if (dart.test(this[_hasValue$0])) { - let future = new (T$._FutureOfbool()).new(); - this[_stateData] = future; - this[_hasValue$0] = false; - subscription.resume(); - return future; - } - dart.throw(new core.StateError.new("Already waiting for next.")); - } - return this[_initializeOrDone](); - } - [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); - let stateData = this[_stateData]; - if (stateData != null) { - 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}); - if (this[_stateData] != null) { - this[_subscription] = subscription; - } - return future; - } - return async.Future._falseFuture; - } - cancel() { - let subscription = this[_subscription]; - let stateData = this[_stateData]; - this[_stateData] = null; - if (subscription != null) { - this[_subscription] = null; - if (!dart.test(this[_hasValue$0])) { - let future = T$._FutureOfbool().as(stateData); - future[_asyncComplete](false); - } else { - this[_hasValue$0] = false; - } - return subscription.cancel(); - } - return async.Future._nullFuture; - } - [_onData$](data) { - let t101; - T.as(data); - if (this[_subscription] == null) return; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_stateData] = data; - this[_hasValue$0] = true; - moveNextFuture[_complete](true); - if (dart.test(this[_hasValue$0])) { - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - } - [_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; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeError](error, stackTrace); - } else { - moveNextFuture[_asyncCompleteError](error, stackTrace); - } - } - [_onDone$]() { - let subscription = this[_subscription]; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_subscription] = null; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeWithValue](false); - } else { - moveNextFuture[_asyncCompleteWithValue](false); - } - } - } - (_StreamIterator.new = function(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"); - ; - }).prototype = _StreamIterator.prototype; - dart.addTypeTests(_StreamIterator); - _StreamIterator.prototype[_is__StreamIterator_default] = true; - dart.addTypeCaches(_StreamIterator); - _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; - dart.setMethodSignature(_StreamIterator, () => ({ - __proto__: dart.getMethods(_StreamIterator.__proto__), - moveNext: dart.fnType(async.Future$(core.bool), []), - [_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]), - [_onDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamIterator, () => ({ - __proto__: dart.getGetters(_StreamIterator.__proto__), - current: T - })); - dart.setLibraryUri(_StreamIterator, I[31]); - dart.setFieldSignature(_StreamIterator, () => ({ - __proto__: dart.getFields(_StreamIterator.__proto__), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), - [_stateData]: dart.fieldType(dart.nullable(core.Object)), - [_hasValue$0]: dart.fieldType(core.bool) - })); - return _StreamIterator; -}); -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 __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; - } - 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; - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - } - (_EmptyStream.new = function() { - _EmptyStream.__proto__._internal.call(this); - ; - }).prototype = _EmptyStream.prototype; - dart.addTypeTests(_EmptyStream); - _EmptyStream.prototype[_is__EmptyStream_default] = true; - dart.addTypeCaches(_EmptyStream); - dart.setMethodSignature(_EmptyStream, () => ({ - __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[31]); - return _EmptyStream; -}); -async._EmptyStream = async._EmptyStream$(); -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 __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); - class _MultiStream extends async.Stream$(T) { - get isBroadcast() { - return this[isBroadcast$]; - } - 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 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 (__t$_MultiStreamControllerOfT()).new(); - controller.onListen = dart.fn(() => { - let t101; - t101 = controller; - this[_onListen$](t101); - }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); - } - } - (_MultiStream.new = function(_onListen, 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); - ; - }).prototype = _MultiStream.prototype; - dart.addTypeTests(_MultiStream); - _MultiStream.prototype[_is__MultiStream_default] = true; - dart.addTypeCaches(_MultiStream); - dart.setMethodSignature(_MultiStream, () => ({ - __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[31]); - dart.setFieldSignature(_MultiStream, () => ({ - __proto__: dart.getFields(_MultiStream.__proto__), - isBroadcast: dart.finalFieldType(core.bool), - [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) - })); - return _MultiStream; -}); -async._MultiStream = async._MultiStream$(); -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 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, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); - } - } - closeSync() { - if (dart.test(this.isClosed)) return; - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) this[_subscription][_close](); - } - get stream() { - dart.throw(new core.UnsupportedError.new("Not available")); - } - } - (_MultiStreamController.new = function() { - _MultiStreamController.__proto__.new.call(this, null, null, null, null); - ; - }).prototype = _MultiStreamController.prototype; - dart.addTypeTests(_MultiStreamController); - _MultiStreamController.prototype[_is__MultiStreamController_default] = true; - dart.addTypeCaches(_MultiStreamController); - _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; - dart.setMethodSignature(_MultiStreamController, () => ({ - __proto__: dart.getMethods(_MultiStreamController.__proto__), - addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - closeSync: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_MultiStreamController, I[31]); - return _MultiStreamController; -}); -async._MultiStreamController = async._MultiStreamController$(); -dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); -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 __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 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, (t101 = cancelOnError, t101 == null ? false : t101)); - } - [_createSubscription](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[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) { - __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[73], 75, 26, "_source"); - this[_source$4] = _source; - _ForwardingStream.__proto__.new.call(this); - ; - }).prototype = _ForwardingStream.prototype; - dart.addTypeTests(_ForwardingStream); - _ForwardingStream.prototype[_is__ForwardingStream_default] = true; - dart.addTypeCaches(_ForwardingStream); - dart.setMethodSignature(_ForwardingStream, () => ({ - __proto__: dart.getMethods(_ForwardingStream.__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)}, {}), - [_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]), - [_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[31]); - dart.setFieldSignature(_ForwardingStream, () => ({ - __proto__: dart.getFields(_ForwardingStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(S)) - })); - return _ForwardingStream; -}); -async._ForwardingStream = async._ForwardingStream$(); -dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); -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[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 t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - [_onResume]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - this[_stream$][_handleData$](data, this); - } - [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); - this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); - } - [_handleDone$]() { - this[_stream$][_handleDone$](this); - } - } - (_ForwardingStreamSubscription.new = function(_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"); - this[_subscription] = null; - this[_stream$] = _stream; - _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); - }).prototype = _ForwardingStreamSubscription.prototype; - dart.addTypeTests(_ForwardingStreamSubscription); - _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; - dart.addTypeCaches(_ForwardingStreamSubscription); - dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); - dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), - [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _ForwardingStreamSubscription; -}); -async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); -dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); -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 t101; - if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); - let satisfies = null; - try { - satisfies = (t101 = inputEvent, this[_test$](t101)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } - } - } - (_WhereStream.new = function(source, 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; - dart.addTypeTests(_WhereStream); - _WhereStream.prototype[_is__WhereStream_default] = true; - dart.addTypeCaches(_WhereStream); - dart.setMethodSignature(_WhereStream, () => ({ - __proto__: dart.getMethods(_WhereStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_WhereStream, I[31]); - dart.setFieldSignature(_WhereStream, () => ({ - __proto__: dart.getFields(_WhereStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _WhereStream; -}); -async._WhereStream = async._WhereStream$(); -dart.addTypeTests(async._WhereStream, _is__WhereStream_default); -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 t102; - if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); - let outputEvent = null; - try { - outputEvent = (t102 = inputEvent, this[_transform](t102)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - sink[_add](outputEvent); - } - } - (_MapStream.new = function(source, 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); - ; - }).prototype = _MapStream.prototype; - dart.addTypeTests(_MapStream); - _MapStream.prototype[_is__MapStream_default] = true; - dart.addTypeCaches(_MapStream); - dart.setMethodSignature(_MapStream, () => ({ - __proto__: dart.getMethods(_MapStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_MapStream, I[31]); - dart.setFieldSignature(_MapStream, () => ({ - __proto__: dart.getFields(_MapStream.__proto__), - [_transform]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return _MapStream; -}); -async._MapStream = async._MapStream$(); -dart.addTypeTests(async._MapStream, _is__MapStream_default); -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 t103; - if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); - try { - for (let value of (t103 = inputEvent, this[_expand](t103))) { - sink[_add](value); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - } else - throw e$; - } - } - } - (_ExpandStream.new = function(source, 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); - ; - }).prototype = _ExpandStream.prototype; - dart.addTypeTests(_ExpandStream); - _ExpandStream.prototype[_is__ExpandStream_default] = true; - dart.addTypeCaches(_ExpandStream); - dart.setMethodSignature(_ExpandStream, () => ({ - __proto__: dart.getMethods(_ExpandStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_ExpandStream, I[31]); - dart.setFieldSignature(_ExpandStream, () => ({ - __proto__: dart.getFields(_ExpandStream.__proto__), - [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - return _ExpandStream; -}); -async._ExpandStream = async._ExpandStream$(); -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[73], 252, 42, "sink"); - sink[_add](data); - } - [_handleError$](error, stackTrace, 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$]; - if (test != null) { - try { - matches = test(error); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - } - if (dart.test(matches)) { - try { - t105 = error; - t106 = stackTrace; - this[_onError$](t105, t106); - } catch (e$0) { - let e = dart.getThrown(e$0); - let s = dart.stackTrace(e$0); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - sink[_addError](error, stackTrace); - } else { - async._addErrorWithReplacement(sink, e, s); - } - return; - } else - throw e$0; - } - } else { - sink[_addError](error, stackTrace); - } - } - } - (_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; - dart.addTypeTests(_HandleErrorStream); - _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; - dart.addTypeCaches(_HandleErrorStream); - dart.setMethodSignature(_HandleErrorStream, () => ({ - __proto__: dart.getMethods(_HandleErrorStream.__proto__), - [_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[31]); - dart.setFieldSignature(_HandleErrorStream, () => ({ - __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), - [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) - })); - return _HandleErrorStream; -}); -async._HandleErrorStream = async._HandleErrorStream$(); -dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); -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 __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[73], 292, 47, "cancelOnError"); - if (this[_count] === 0) { - this[_source$4].listen(null).cancel(); - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); - } - [_handleData$](inputEvent, 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); - count = dart.notNull(count) - 1; - subscription[_subState] = count; - if (count === 0) { - sink[_close](); - } - } - } - } - (_TakeStream.new = function(source, 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); - ; - }).prototype = _TakeStream.prototype; - dart.addTypeTests(_TakeStream); - _TakeStream.prototype[_is__TakeStream_default] = true; - dart.addTypeCaches(_TakeStream); - dart.setMethodSignature(_TakeStream, () => ({ - __proto__: dart.getMethods(_TakeStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeStream, I[31]); - dart.setFieldSignature(_TakeStream, () => ({ - __proto__: dart.getFields(_TakeStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _TakeStream; -}); -async._TakeStream = async._TakeStream$(); -dart.addTypeTests(async._TakeStream, _is__TakeStream_default); -var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); -const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); -async._StateStreamSubscription$ = dart.generic((S, T) => { - class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { - get [_subState]() { - return this[_subState$]; - } - 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[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); - ; - }).prototype = _StateStreamSubscription.prototype; - dart.addTypeTests(_StateStreamSubscription); - _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; - dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[31]); - dart.setFieldSignature(_StateStreamSubscription, () => ({ - __proto__: dart.getFields(_StateStreamSubscription.__proto__), - [_subState]: dart.fieldType(S) - })); - return _StateStreamSubscription; -}); -async._StateStreamSubscription = async._StateStreamSubscription$(); -dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); -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 t106; - if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); - let satisfies = null; - try { - satisfies = (t106 = inputEvent, this[_test$](t106)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - sink[_close](); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } else { - sink[_close](); - } - } - } - (_TakeWhileStream.new = function(source, 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; - dart.addTypeTests(_TakeWhileStream); - _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; - dart.addTypeCaches(_TakeWhileStream); - dart.setMethodSignature(_TakeWhileStream, () => ({ - __proto__: dart.getMethods(_TakeWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeWhileStream, I[31]); - dart.setFieldSignature(_TakeWhileStream, () => ({ - __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _TakeWhileStream; -}); -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 __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[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[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; - return; - } - sink[_add](inputEvent); - } - } - (_SkipStream.new = function(source, 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"); - }).prototype = _SkipStream.prototype; - dart.addTypeTests(_SkipStream); - _SkipStream.prototype[_is__SkipStream_default] = true; - dart.addTypeCaches(_SkipStream); - dart.setMethodSignature(_SkipStream, () => ({ - __proto__: dart.getMethods(_SkipStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipStream, I[31]); - dart.setFieldSignature(_SkipStream, () => ({ - __proto__: dart.getFields(_SkipStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _SkipStream; -}); -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 __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[73], 390, 47, "cancelOnError"); - return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); - } - [_handleData$](inputEvent, 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); - return; - } - let satisfies = null; - try { - satisfies = (t107 = inputEvent, this[_test$](t107)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - subscription[_subState] = true; - return; - } else - throw e$; - } - if (!dart.test(satisfies)) { - subscription[_subState] = true; - sink[_add](inputEvent); - } - } - } - (_SkipWhileStream.new = function(source, 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; - dart.addTypeTests(_SkipWhileStream); - _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; - dart.addTypeCaches(_SkipWhileStream); - dart.setMethodSignature(_SkipWhileStream, () => ({ - __proto__: dart.getMethods(_SkipWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipWhileStream, I[31]); - dart.setFieldSignature(_SkipWhileStream, () => ({ - __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _SkipWhileStream; -}); -async._SkipWhileStream = async._SkipWhileStream$(); -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 __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[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[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; - sink[_add](inputEvent); - } else { - let previousEvent = T.as(previous); - let equals = this[_equals]; - let isEqual = null; - try { - if (equals == null) { - isEqual = dart.equals(previousEvent, inputEvent); - } else { - isEqual = equals(previousEvent, inputEvent); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (!dart.test(isEqual)) { - sink[_add](inputEvent); - subscription[_subState] = inputEvent; - } - } - } - } - (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[73], 423, 29, "source"); - this[_equals] = equals; - _DistinctStream.__proto__.new.call(this, source); - ; - }).prototype = _DistinctStream.prototype; - dart.addTypeTests(_DistinctStream); - _DistinctStream.prototype[_is__DistinctStream_default] = true; - dart.addTypeCaches(_DistinctStream); - dart.setMethodSignature(_DistinctStream, () => ({ - __proto__: dart.getMethods(_DistinctStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - 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$(); -dart.defineLazy(async._DistinctStream, { - /*async._DistinctStream._SENTINEL*/get _SENTINEL() { - return new core.Object.new(); - } -}, false); -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 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[74], 10, 26, "_sink"); - this[_sink$] = _sink; - ; - }).prototype = _EventSinkWrapper.prototype; - dart.addTypeTests(_EventSinkWrapper); - _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; - dart.addTypeCaches(_EventSinkWrapper); - _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getMethods(_EventSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_EventSinkWrapper, I[31]); - dart.setFieldSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getFields(_EventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(async._EventSink$(T)) - })); - return _EventSinkWrapper; -}); -async._EventSinkWrapper = async._EventSinkWrapper$(); -dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); -var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); -var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); -var _transformerSink = dart.privateName(async, "_transformerSink"); -const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); -async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); - class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { - get [_transformerSink]() { - let t109; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); - } - set [_transformerSink](_transformerSink$35param) { - if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); - this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - 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])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_add](data); - } - [_addError](error, 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")); - } - super[_addError](error, stackTrace); - } - [_close]() { - if (dart.test(this[_isClosed])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_close](); - } - [_onPause]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.pause(); - } - [_onResume]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - try { - this[_transformerSink].add(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - [_handleError$](error, 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - this[_addError](error, stackTrace); - } else { - this[_addError](e, s); - } - } else - throw e$; - } - } - [_handleDone$]() { - try { - this[_subscription] = null; - this[_transformerSink].close(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - } - (_SinkTransformerStreamSubscription.new = function(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"); - 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 (__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); - _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; - dart.addTypeCaches(_SinkTransformerStreamSubscription); - dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), - [_add]: dart.fnType(dart.void, [T]), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); - dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), - [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), - [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _SinkTransformerStreamSubscription; -}); -async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); -dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); -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 __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$]; - } - 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) { - __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[74], 149, 37, "_sinkMapper"); - this[_sinkMapper$] = _sinkMapper; - _StreamSinkTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSinkTransformer.prototype; - dart.addTypeTests(_StreamSinkTransformer); - _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; - dart.addTypeCaches(_StreamSinkTransformer); - dart.setMethodSignature(_StreamSinkTransformer, () => ({ - __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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)])) - })); - return _StreamSinkTransformer; -}); -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 __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 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 (__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[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); - ; - }).prototype = _BoundSinkStream.prototype; - dart.addTypeTests(_BoundSinkStream); - _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; - dart.addTypeCaches(_BoundSinkStream); - dart.setMethodSignature(_BoundSinkStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSinkStream, () => ({ - __proto__: dart.getFields(_BoundSinkStream.__proto__), - [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSinkStream; -}); -async._BoundSinkStream = async._BoundSinkStream$(); -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$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleData = this[_handleData$]; - if (handleData != null) { - handleData(data, sink); - } else { - sink.add(T.as(data)); - } - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[74], 215, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let sink = this[_sink$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleError = this[_handleError$]; - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - if (handleError != null) { - handleError(error, stackTrace, sink); - } else { - sink.addError(error, stackTrace); - } - } - close() { - let sink = this[_sink$]; - if (sink == null) return; - this[_sink$] = null; - let handleDone = this[_handleDone$]; - if (handleDone != null) { - handleDone(sink); - } else { - sink.close(); - } - } - } - (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); - this[_handleData$] = _handleData; - this[_handleError$] = _handleError; - this[_handleDone$] = _handleDone; - this[_sink$] = _sink; - ; - }).prototype = _HandlerEventSink.prototype; - dart.addTypeTests(_HandlerEventSink); - _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; - dart.addTypeCaches(_HandlerEventSink); - _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_HandlerEventSink, () => ({ - __proto__: dart.getMethods(_HandlerEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - 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)]))), - [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), - [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) - })); - return _HandlerEventSink; -}); -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 __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) { - __t$StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); - return super.bind(stream); - } - } - (_StreamHandlerTransformer.new = function(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; - _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - 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[31]); - return _StreamHandlerTransformer; -}); -async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); -dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); -var _bind$ = dart.privateName(async, "_bind"); -const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); -async._StreamBindTransformer$ = dart.generic((S, T) => { - 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 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[74], 264, 31, "_bind"); - this[_bind$] = _bind; - _StreamBindTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamBindTransformer.prototype; - dart.addTypeTests(_StreamBindTransformer); - _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; - dart.addTypeCaches(_StreamBindTransformer); - dart.setMethodSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getMethods(_StreamBindTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_StreamBindTransformer, I[31]); - dart.setFieldSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getFields(_StreamBindTransformer.__proto__), - [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) - })); - return _StreamBindTransformer; -}); -async._StreamBindTransformer = async._StreamBindTransformer$(); -dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); -var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); -const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); -async._StreamSubscriptionTransformer$ = dart.generic((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]; - } - 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) { - __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[74], 286, 45, "_onListen"); - this[_onListen$0] = _onListen; - _StreamSubscriptionTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSubscriptionTransformer.prototype; - dart.addTypeTests(_StreamSubscriptionTransformer); - _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; - dart.addTypeCaches(_StreamSubscriptionTransformer); - dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ - __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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])) - })); - return _StreamSubscriptionTransformer; -}); -async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); -dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); -const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); -async._BoundSubscriptionStream$ = dart.generic((S, T) => { - class _BoundSubscriptionStream extends async.Stream$(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 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 = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); - result.onData(onData); - result.onError(onError); - result.onDone(onDone); - return result; - } - } - (_BoundSubscriptionStream.new = function(_stream, _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); - ; - }).prototype = _BoundSubscriptionStream.prototype; - dart.addTypeTests(_BoundSubscriptionStream); - _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; - dart.addTypeCaches(_BoundSubscriptionStream); - dart.setMethodSignature(_BoundSubscriptionStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSubscriptionStream, () => ({ - __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), - [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSubscriptionStream; -}); -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[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[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[75], 109, 35, "callback"); - async.Timer.new(core.Duration.zero, callback); - } - static _createTimer(duration, 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[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); - } -}; -(async.Timer[dart.mixinNew] = function() { -}).prototype = async.Timer.prototype; -dart.addTypeTests(async.Timer); -dart.addTypeCaches(async.Timer); -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'); -async._ZoneFunction$ = dart.generic(T => { - class _ZoneFunction extends core.Object { - get zone() { - return this[zone$]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$0]; - } - 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[76], 303, 28, "zone"); - if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); - this[zone$] = zone; - this[$function$0] = $function; - ; - }).prototype = _ZoneFunction.prototype; - dart.addTypeTests(_ZoneFunction); - _ZoneFunction.prototype[_is__ZoneFunction_default] = true; - dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[31]); - dart.setFieldSignature(_ZoneFunction, () => ({ - __proto__: dart.getFields(_ZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(T) - })); - return _ZoneFunction; -}); -async._ZoneFunction = async._ZoneFunction$(); -dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); -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 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; - 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: (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.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"); -var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); -var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); -var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); -var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); -var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); -var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); -var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); -var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); -var print$ = dart.privateName(async, "_ZoneSpecification.print"); -var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); -async._ZoneSpecification = class _ZoneSpecification extends core.Object { - get handleUncaughtError() { - return this[handleUncaughtError$]; - } - set handleUncaughtError(value) { - super.handleUncaughtError = value; - } - get run() { - return this[run$]; - } - set run(value) { - super.run = value; - } - get runUnary() { - return this[runUnary$]; - } - set runUnary(value) { - super.runUnary = value; - } - get runBinary() { - return this[runBinary$]; - } - set runBinary(value) { - super.runBinary = value; - } - get registerCallback() { - return this[registerCallback$]; - } - set registerCallback(value) { - super.registerCallback = value; - } - get registerUnaryCallback() { - return this[registerUnaryCallback$]; - } - set registerUnaryCallback(value) { - super.registerUnaryCallback = value; - } - get registerBinaryCallback() { - return this[registerBinaryCallback$]; - } - set registerBinaryCallback(value) { - super.registerBinaryCallback = value; - } - get errorCallback() { - return this[errorCallback$]; - } - set errorCallback(value) { - super.errorCallback = value; - } - get scheduleMicrotask() { - return this[scheduleMicrotask$]; - } - set scheduleMicrotask(value) { - super.scheduleMicrotask = value; - } - get createTimer() { - return this[createTimer$]; - } - set createTimer(value) { - super.createTimer = value; - } - get createPeriodicTimer() { - return this[createPeriodicTimer$]; - } - set createPeriodicTimer(value) { - super.createPeriodicTimer = value; - } - get print() { - return this[print$]; - } - set print(value) { - super.print = value; - } - get fork() { - return this[fork$]; - } - 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; - 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; - this[handleUncaughtError$] = handleUncaughtError; - this[run$] = run; - this[runUnary$] = runUnary; - this[runBinary$] = runBinary; - this[registerCallback$] = registerCallback; - this[registerUnaryCallback$] = registerUnaryCallback; - this[registerBinaryCallback$] = registerBinaryCallback; - this[errorCallback$] = errorCallback; - this[scheduleMicrotask$] = scheduleMicrotask; - this[createTimer$] = createTimer; - this[createPeriodicTimer$] = createPeriodicTimer; - this[print$] = print; - this[fork$] = fork; - ; -}).prototype = async._ZoneSpecification.prototype; -dart.addTypeTests(async._ZoneSpecification); -dart.addTypeCaches(async._ZoneSpecification); -async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; -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]))), - run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - runUnary: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - registerUnaryCallback: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), - scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), - createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), - createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) -})); -async.ZoneDelegate = class ZoneDelegate extends core.Object {}; -(async.ZoneDelegate.new = function() { - ; -}).prototype = async.ZoneDelegate.prototype; -dart.addTypeTests(async.ZoneDelegate); -dart.addTypeCaches(async.ZoneDelegate); -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[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[76], 921, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); - async.Zone._current = previous; - } -}; -(async.Zone.__ = function() { - ; -}).prototype = async.Zone.prototype; -dart.addTypeTests(async.Zone); -dart.addTypeCaches(async.Zone); -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[45] || CT.C45; - }, - /*async.Zone._current*/get _current() { - return async._rootZone; - }, - set _current(value) { - if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); - } -}, false); -var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); -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"); -var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); -var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); -var _errorCallback = dart.privateName(async, "_errorCallback"); -var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); -var _createTimer = dart.privateName(async, "_createTimer"); -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[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[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[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[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[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[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[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[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; - if (implZone == async._rootZone) return null; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); - } - scheduleMicrotask(zone, 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[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[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[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[76], 1027, 18, "zone"); - let implementation = this[_delegationTarget$][_fork]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); - } -}; -(async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); - this[_delegationTarget$] = _delegationTarget; - ; -}).prototype = async._ZoneDelegate.prototype; -dart.addTypeTests(async._ZoneDelegate); -dart.addTypeCaches(async._ZoneDelegate); -async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; -dart.setMethodSignature(async._ZoneDelegate, () => ({ - __proto__: dart.getMethods(async._ZoneDelegate.__proto__), - handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), - run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [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.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), - createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), - 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[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[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() { - ; -}).prototype = async._Zone.prototype; -dart.addTypeTests(async._Zone); -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]), - [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) -})); -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"); -var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); -var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); -var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); -var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); -var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); -var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); -var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); -var _print$ = dart.privateName(async, "_CustomZone._print"); -var _fork$ = dart.privateName(async, "_CustomZone._fork"); -var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); -var parent$ = dart.privateName(async, "_CustomZone.parent"); -var _map$2 = dart.privateName(async, "_CustomZone._map"); -var _delegateCache = dart.privateName(async, "_delegateCache"); -var _map$3 = dart.privateName(async, "_map"); -var _delegate = dart.privateName(async, "_delegate"); -async._CustomZone = class _CustomZone extends async._Zone { - get [_run]() { - 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() { - return this[parent$]; - } - set parent(value) { - super.parent = value; - } - get [_map$3]() { - return this[_map$2]; - } - set [_map$3](value) { - super[_map$3] = value; - } - get [_delegate]() { - 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[76], 1206, 24, "f"); - try { - this.run(dart.void, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); - try { - this.runUnary(dart.void, T, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); - try { - this.runBinary(dart.void, T1, T2, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[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[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[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])); - } - _get(key) { - let result = this[_map$3][$_get](key); - if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; - if (this.parent != null) { - let value = this.parent._get(key); - if (value != null) { - this[_map$3][$_set](key, value); - } - return value; - } - 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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - let implementation = this[_fork]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, specification, zoneValues); - } - run(R, 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[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[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[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[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[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[76], 1339, 36, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let implementation = this[_errorCallback]; - let implementationZone = implementation.zone; - if (implementationZone == async._rootZone) return null; - let parentDelegate = implementationZone[_parentDelegate]; - let handler = implementation.function; - return handler(implementationZone, parentDelegate, this, error, stackTrace); - } - scheduleMicrotask(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[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[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[76], 1370, 21, "line"); - let implementation = this[_print]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, line); - } -}; -(async._CustomZone.new = function(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"); - this[_delegateCache] = null; - this[parent$] = parent; - this[_map$2] = _map; - this[_run$] = parent[_run]; - this[_runUnary$] = parent[_runUnary]; - this[_runBinary$] = parent[_runBinary]; - this[_registerCallback$] = parent[_registerCallback]; - this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; - this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; - this[_errorCallback$] = parent[_errorCallback]; - this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; - this[_createTimer$] = parent[_createTimer]; - this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; - this[_print$] = parent[_print]; - this[_fork$] = parent[_fork]; - this[_handleUncaughtError$] = parent[_handleUncaughtError]; - async._CustomZone.__proto__.new.call(this); - let run = specification.run; - if (run != null) { - this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); - } - let runUnary = specification.runUnary; - if (runUnary != null) { - this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); - } - let runBinary = specification.runBinary; - if (runBinary != null) { - this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); - } - let registerCallback = specification.registerCallback; - if (registerCallback != null) { - this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); - } - let registerUnaryCallback = specification.registerUnaryCallback; - if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); - } - let registerBinaryCallback = specification.registerBinaryCallback; - if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); - } - let errorCallback = specification.errorCallback; - if (errorCallback != null) { - this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); - } - let scheduleMicrotask = specification.scheduleMicrotask; - if (scheduleMicrotask != null) { - this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); - } - let createTimer = specification.createTimer; - if (createTimer != null) { - this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); - } - let createPeriodicTimer = specification.createPeriodicTimer; - if (createPeriodicTimer != null) { - this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); - } - let print = specification.print; - if (print != null) { - this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); - } - let fork = specification.fork; - if (fork != null) { - this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); - } - let handleUncaughtError = specification.handleUncaughtError; - if (handleUncaughtError != null) { - this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); - } -}).prototype = async._CustomZone.prototype; -dart.addTypeTests(async._CustomZone); -dart.addTypeCaches(async._CustomZone); -dart.setMethodSignature(async._CustomZone, () => ({ - __proto__: dart.getMethods(async._CustomZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) -})); -dart.setGetterSignature(async._CustomZone, () => ({ - __proto__: dart.getGetters(async._CustomZone.__proto__), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone -})); -dart.setLibraryUri(async._CustomZone, I[31]); -dart.setFieldSignature(async._CustomZone, () => ({ - __proto__: dart.getFields(async._CustomZone.__proto__), - [_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, [])]))), - [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), - [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), - [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), - parent: dart.finalFieldType(async._Zone), - [_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[46] || CT.C46; - } - get [_runUnary]() { - return C[48] || CT.C48; - } - get [_runBinary]() { - return C[50] || CT.C50; - } - get [_registerCallback]() { - return C[52] || CT.C52; - } - get [_registerUnaryCallback]() { - return C[54] || CT.C54; - } - get [_registerBinaryCallback]() { - return C[56] || CT.C56; - } - get [_errorCallback]() { - return C[58] || CT.C58; - } - get [_scheduleMicrotask]() { - return C[60] || CT.C60; - } - get [_createTimer]() { - return C[62] || CT.C62; - } - get [_createPeriodicTimer]() { - return C[64] || CT.C64; - } - get [_print]() { - return C[66] || CT.C66; - } - get [_fork]() { - return C[68] || CT.C68; - } - get [_handleUncaughtError]() { - return C[70] || CT.C70; - } - get parent() { - return null; - } - get [_map$3]() { - return async._RootZone._rootMap; - } - get [_delegate]() { - let t116; - t116 = async._RootZone._rootDelegate; - return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; - } - get [_parentDelegate]() { - return this[_delegate]; - } - get errorZone() { - return this; - } - runGuarded(f) { - if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(); - return; - } - async._rootRun(dart.void, null, null, this, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg); - return; - } - async._rootRunUnary(dart.void, T, null, null, this, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg1, arg2); - return; - } - async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[76], 1627, 44, "f"); - return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); - } - bindUnaryCallbackGuarded(T, 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[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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - return async._rootFork(null, null, this, specification, zoneValues); - } - run(R, 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[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[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[76], 1669, 41, "f"); - return f; - } - registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); - return f; - } - registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); - return f; - } - errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); - return null; - } - scheduleMicrotask(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[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[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[76], 1691, 21, "line"); - _internal.printToConsole(line); - } -}; -(async._RootZone.new = function() { - async._RootZone.__proto__.new.call(this); - ; -}).prototype = async._RootZone.prototype; -dart.addTypeTests(async._RootZone); -dart.addTypeCaches(async._RootZone); -dart.setMethodSignature(async._RootZone, () => ({ - __proto__: dart.getMethods(async._RootZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) -})); -dart.setGetterSignature(async._RootZone, () => ({ - __proto__: dart.getGetters(async._RootZone.__proto__), - [_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, [])])), - [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), - [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), - [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), - [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), - parent: dart.nullable(async._Zone), - [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone -})); -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(); - }, - /*async._RootZone._rootDelegate*/get _rootDelegate() { - return null; - }, - set _rootDelegate(value) {} -}, false); -async.async = function _async(T, 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(onValue$35param) { - if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); - onValue$35isSet = true; - 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(onError$35param) { - if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); - onError$35isSet = true; - return onError = onError$35param; - } - function onAwait(value) { - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); - return f; - } - 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); - }, 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())); - onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); - } - let asyncFuture = new (async._Future$(T)).new(); - let isRunningAsEvent = false; - function runBody() { - try { - iter = initGenerator()[Symbol.iterator](); - let iteratorValue = iter.next(null); - let value = iteratorValue.value; - if (iteratorValue.done) { - if (async.Future.is(value)) { - if (async._Future.is(value)) { - async._Future._chainCoreFuture(value, asyncFuture); - } else { - asyncFuture[_chainForeignFuture](value); - } - } else if (isRunningAsEvent) { - asyncFuture[_completeWithValue](value); - } else { - asyncFuture[_asyncComplete](value); - } - } else { - async._Future._chainCoreFuture(onAwait(value), asyncFuture); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (isRunningAsEvent) { - async._completeWithErrorCallback(asyncFuture, e, s); - } else { - async._asyncCompleteWithErrorCallback(asyncFuture, e, s); - } - } else - throw e$; - } - } - dart.fn(runBody, T$.VoidToNull()); - if (dart.test(dart.startAsyncSynchronously)) { - runBody(); - isRunningAsEvent = true; - } else { - isRunningAsEvent = true; - async.scheduleMicrotask(runBody); - } - return asyncFuture; -}; -async.unawaited = function unawaited(future) { -}; -async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - 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[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[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[70], 1041, 13, "#this"); - return dart.fn((E, handleError, opts) => { - 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 __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 __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[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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - result[_completeError](error, stackTrace); -}; -async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - 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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - if (stackTrace == null) { - dart.throw("unreachable"); - } - result[_asyncCompleteError](error, stackTrace); -}; -async._registerErrorHandler = function _registerErrorHandler(errorHandler, 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 value of the returned future's type")); -}; -async._microtaskLoop = function _microtaskLoop() { - for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { - async._lastPriorityCallback = null; - let next = entry.next; - async._nextCallback = next; - if (next == null) async._lastCallback = null; - entry.callback(); - } -}; -async._startMicrotaskLoop = function _startMicrotaskLoop() { - async._isInCallbackLoop = true; - try { - async._microtaskLoop(); - } finally { - async._lastPriorityCallback = null; - async._isInCallbackLoop = false; - if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[73] || CT.C73); - } - } -}; -async._scheduleAsyncCallback = function _scheduleAsyncCallback(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[73] || CT.C73); - } - } else { - lastCallback.next = newEntry; - async._lastCallback = newEntry; - } -}; -async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); - if (async._nextCallback == null) { - async._scheduleAsyncCallback(callback); - async._lastPriorityCallback = async._lastCallback; - return; - } - let entry = new async._AsyncCallbackEntry.new(callback); - let lastPriorityCallback = async._lastPriorityCallback; - if (lastPriorityCallback == null) { - entry.next = async._nextCallback; - async._nextCallback = async._lastPriorityCallback = entry; - } else { - let next = lastPriorityCallback.next; - entry.next = next; - lastPriorityCallback.next = entry; - async._lastPriorityCallback = entry; - if (next == null) { - async._lastCallback = entry; - } - } -}; -async.scheduleMicrotask = function scheduleMicrotask(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); - return; - } - let implementation = currentZone[_scheduleMicrotask]; - if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { - async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); - return; - } - async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); -}; -async._runGuarded = function _runGuarded(notificationHandler) { - if (notificationHandler == null) return; - try { - notificationHandler(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.Zone.current.handleUncaughtError(e, s); - } else - throw e$; - } -}; -async._nullDataHandler = function _nullDataHandler(value) { -}; -async._nullErrorHandler = function _nullErrorHandler(error, 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - let replacement = async.Zone.current.errorCallback(e, s); - if (replacement == null) { - onError(e, s); - } else { - let error = replacement.error; - let stackTrace = replacement.stackTrace; - onError(error, stackTrace); - } - } else - throw e$; - } -}; -async._cancelAndError = function _cancelAndError(subscription, future, error, 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())); - } else { - future[_completeError](error, stackTrace); - } -}; -async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, 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; - stackTrace = replacement.stackTrace; - } - async._cancelAndError(subscription, future, error, stackTrace); -}; -async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, 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[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[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())); - } else { - future[_complete](value); - } -}; -async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, 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; - stackTrace = replacement.stackTrace; - } - sink[_addError](error, stackTrace); -}; -async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, 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(() => { - core.Error.throwWithStackTrace(error, stackTrace); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - }, T$.VoidTovoid())); -}; -async._rootRun = function _rootRun(R, self, parent, zone, 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")); - } - let old = async.Zone._enter(zone); - try { - return f(); - } finally { - async.Zone._leave(old); - } -}; -async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg); - } finally { - async.Zone._leave(old); - } -}; -async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg1, arg2); - } finally { - async.Zone._leave(old); - } -}; -async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, 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[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[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[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[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) { - f = zone.bindCallbackGuarded(f); - } else { - f = zone.bindCallback(dart.void, f); - } - } - async._scheduleAsyncCallback(f); -}; -async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, 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[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[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[76], 1488, 26, "line"); - async.Zone.current.print(line); -}; -async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - 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[74] || CT.C74; - if (specification == null) { - specification = C[75] || CT.C75; - } else if (!async._ZoneSpecification.is(specification)) { - specification = async.ZoneSpecification.from(specification); - } - let valueMap = null; - if (zoneValues == null) { - valueMap = zone[_map$3]; - } else { - 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[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; - _internal.checkNotNullable(dart.fnType(R, []), body, "body"); - if (onError != null) { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) { - if (T$.ObjectTovoid().is(onError)) { - let originalOnError = onError; - onError = dart.fn((error, 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 { - dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); - } - } - return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); - } - return async._runZoned(R, body, zoneValues, zoneSpecification); -}; -async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - parent.handleUncaughtError(zone, error, stackTrace); - } else { - parent.handleUncaughtError(zone, e, s); - } - } else - throw e$; - } - }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); - if (zoneSpecification == null) { - zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); - } else { - zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); - } - try { - return async._runZoned(R, body, zoneValues, zoneSpecification); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - onError(error, stackTrace); - } else - throw e; - } - return null; -}; -async._runZoned = function _runZoned(R, body, zoneValues, specification) { - 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(value) {}, - /*async._lastCallback*/get _lastCallback() { - return null; - }, - set _lastCallback(value) {}, - /*async._lastPriorityCallback*/get _lastPriorityCallback() { - return null; - }, - set _lastPriorityCallback(value) {}, - /*async._isInCallbackLoop*/get _isInCallbackLoop() { - return false; - }, - set _isInCallbackLoop(value) { - if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); - }, - /*async._rootZone*/get _rootZone() { - return C[45] || CT.C45; - } -}, false); -var _map$4 = dart.privateName(collection, "_HashSet._map"); -var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); -var _keyMap$ = dart.privateName(collection, "_keyMap"); -var _map$5 = dart.privateName(collection, "_map"); -var _modifications$3 = dart.privateName(collection, "_modifications"); -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 __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]); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - cast(R) { - return core.Set.castFrom(E, R, this); - } - followedBy(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); - } - clear() { - this.removeAll(this.toList()); - } - addAll(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[78], 60, 36, "elements"); - for (let element of elements) - this.remove(element); - } - retainAll(elements) { - if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); - let toRemove = this.toSet(); - for (let o of elements) { - toRemove.remove(o); - } - this.removeAll(toRemove); - } - removeWhere(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); - } - this.removeAll(toRemove); - } - retainWhere(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); - } - this.removeAll(toRemove); - } - containsAll(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 t136; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[78], 97, 23, "other"); - t136 = this.toSet(); - return (() => { - t136.addAll(other); - return t136; - })(); - } - intersection(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); - } - return result; - } - difference(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); - } - return result; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[78], 120, 24, "f"); - return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - let it = this.iterator; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - return result; - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - where(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[78], 138, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - forEach(f) { - if (f == null) dart.nullFailed(I[78], 141, 21, "f"); - for (let element of this) - f(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[78], 170, 23, "separator"); - let iterator = this.iterator; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(iterator.current); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(iterator.current); - } - } - return buffer.toString(); - } - any(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[78], 195, 24, "n"); - return __t$TakeIterableOfE().new(this, n); - } - takeWhile(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[78], 203, 24, "n"); - return __t$SkipIterableOfE().new(this, n); - } - skipWhile(test) { - if (test == null) dart.nullFailed(I[78], 207, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 231, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 239, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 253, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - } - (SetMixin.new = function() { - ; - }).prototype = SetMixin.prototype; - dart.addTypeTests(SetMixin); - SetMixin.prototype[_is_SetMixin_default] = true; - dart.addTypeCaches(SetMixin); - SetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(SetMixin, () => ({ - __proto__: dart.getMethods(SetMixin.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), - intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(SetMixin, () => ({ - __proto__: dart.getGetters(SetMixin.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - single: E, - [$single]: E, - first: E, - [$first]: E, - last: E, - [$last]: E - })); - dart.setLibraryUri(SetMixin, I[25]); - dart.defineExtensionMethods(SetMixin, [ - 'cast', - 'followedBy', - 'whereType', - 'toList', - 'map', - 'toString', - 'where', - 'expand', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' - ]); - dart.defineExtensionAccessors(SetMixin, [ - 'isEmpty', - 'isNotEmpty', - 'single', - 'first', - 'last' - ]); - return SetMixin; -}); -collection.SetMixin = collection.SetMixin$(); -dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); -const _is__SetBase_default = Symbol('_is__SetBase_default'); -collection._SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class _SetBase extends Object_SetMixin$36 { - cast(R) { - return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); - } - difference(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); - } - return result; - } - intersection(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); - } - return result; - } - toSet() { - let t136; - t136 = this[_newSet](); - return (() => { - t136.addAll(this); - return t136; - })(); - } - } - (_SetBase.new = function() { - ; - }).prototype = _SetBase.prototype; - dart.addTypeTests(_SetBase); - _SetBase.prototype[_is__SetBase_default] = true; - dart.addTypeCaches(_SetBase); - dart.setMethodSignature(_SetBase, () => ({ - __proto__: dart.getMethods(_SetBase.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setLibraryUri(_SetBase, I[25]); - dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); - return _SetBase; -}); -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 __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); - class _InternalSet extends collection._SetBase$(E) { - get length() { - return this[_map$5].size; - } - get isEmpty() { - return this[_map$5].size == 0; - } - get isNotEmpty() { - return this[_map$5].size != 0; - } - get iterator() { - return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); - } - [Symbol.iterator]() { - let self = this; - let iterator = self[_map$5].values(); - let modifications = self[_modifications$3]; - return { - next() { - if (modifications != self[_modifications$3]) { - throw new core.ConcurrentModificationError.new(self); - } - return iterator.next(); - } - }; - } - } - (_InternalSet.new = function() { - _InternalSet.__proto__.new.call(this); - ; - }).prototype = _InternalSet.prototype; - dart.addTypeTests(_InternalSet); - _InternalSet.prototype[_is__InternalSet_default] = true; - dart.addTypeCaches(_InternalSet); - dart.setMethodSignature(_InternalSet, () => ({ - __proto__: dart.getMethods(_InternalSet.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_InternalSet, () => ({ - __proto__: dart.getGetters(_InternalSet.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_InternalSet, I[25]); - dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); - return _InternalSet; -}); -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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$2]; - } - set [_modifications$3](value) { - this[_modifications$2] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._HashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$5].has(key); - } - lookup(key) { - if (key == null) return null; - if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return k; - } - } - return null; - } - return this[_map$5].has(key) ? key : null; - } - add(key) { - E.as(key); - let map = this[_map$5]; - if (key == null) { - if (dart.test(map.has(null))) return false; - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let keyMap = this[_keyMap$]; - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return false; - } - buckets.push(key); - } - } else if (dart.test(map.has(key))) { - return false; - } - map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - remove(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = this[_keyMap$].get(hash); - if (buckets == null) return false; - for (let i = 0, n = buckets.length;;) { - k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap$].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return false; - } - } - let map = this[_map$5]; - if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_HashSet.new = function() { - this[_map$4] = new Set(); - this[_keyMap$] = new Map(); - this[_modifications$2] = 0; - _HashSet.__proto__.new.call(this); - ; - }).prototype = _HashSet.prototype; - dart.addTypeTests(_HashSet); - _HashSet.prototype[_is__HashSet_default] = true; - dart.addTypeCaches(_HashSet); - _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_HashSet, () => ({ - __proto__: dart.getMethods(_HashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_HashSet, I[25]); - dart.setFieldSignature(_HashSet, () => ({ - __proto__: dart.getFields(_HashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_HashSet, ['contains']); - return _HashSet; -}); -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 __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) { - __t$IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); - return dart.throw(collection._ImmutableSet._unsupported()); - } - clear() { - return dart.throw(collection._ImmutableSet._unsupported()); - } - remove(value) { - return dart.throw(collection._ImmutableSet._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable set"); - } - } - (_ImmutableSet.from = function(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - }).prototype = _ImmutableSet.prototype; - dart.addTypeTests(_ImmutableSet); - _ImmutableSet.prototype[_is__ImmutableSet_default] = true; - dart.addTypeCaches(_ImmutableSet); - dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); - dart.setLibraryUri(_ImmutableSet, I[25]); - return _ImmutableSet; -}); -collection._ImmutableSet = collection._ImmutableSet$(); -dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); -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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$4]; - } - set [_modifications$3](value) { - this[_modifications$4] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._IdentityHashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_IdentityHashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._IdentityHashSet$(R)).new(); - } - contains(element) { - return this[_map$5].has(element); - } - lookup(element) { - return E.is(element) && this[_map$5].has(element) ? element : null; - } - add(element) { - E.as(element); - let map = this[_map$5]; - if (map.has(element)) return false; - map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 & 1073741823; - } - } - remove(element) { - if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_IdentityHashSet.new = function() { - this[_map$6] = new Set(); - this[_modifications$4] = 0; - _IdentityHashSet.__proto__.new.call(this); - ; - }).prototype = _IdentityHashSet.prototype; - dart.addTypeTests(_IdentityHashSet); - _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; - dart.addTypeCaches(_IdentityHashSet); - _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_IdentityHashSet, () => ({ - __proto__: dart.getMethods(_IdentityHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_IdentityHashSet, I[25]); - dart.setFieldSignature(_IdentityHashSet, () => ({ - __proto__: dart.getFields(_IdentityHashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_IdentityHashSet, ['contains']); - return _IdentityHashSet; -}); -collection._IdentityHashSet = collection._IdentityHashSet$(); -dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); -var _validKey$0 = dart.privateName(collection, "_validKey"); -var _equals$0 = dart.privateName(collection, "_equals"); -var _hashCode$0 = dart.privateName(collection, "_hashCode"); -var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); -var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); -const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); -collection._CustomHashSet$ = dart.generic(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]; - } - set [_modifications$3](value) { - this[_modifications$5] = value; - } - get [_map$5]() { - return this[_map$7]; - } - 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 (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - lookup(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return k; - } - } - } - return null; - } - add(key) { - let t144; - E.as(key); - let keyMap = this[_keyMap$]; - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return false; - } - buckets.push(key); - } - this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 t144; - if (E.is(key)) { - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let keyMap = this[_keyMap$]; - let buckets = keyMap.get(hash); - if (buckets == null) return false; - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - } - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_CustomHashSet.new = function(_equals, _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(); - this[_equals$0] = _equals; - this[_hashCode$0] = _hashCode; - _CustomHashSet.__proto__.new.call(this); - ; - }).prototype = _CustomHashSet.prototype; - dart.addTypeTests(_CustomHashSet); - _CustomHashSet.prototype[_is__CustomHashSet_default] = true; - dart.addTypeCaches(_CustomHashSet); - _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_CustomHashSet, () => ({ - __proto__: dart.getMethods(_CustomHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomHashSet, I[25]); - dart.setFieldSignature(_CustomHashSet, () => ({ - __proto__: dart.getFields(_CustomHashSet.__proto__), - [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), - [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), - [_modifications$3]: dart.fieldType(core.int), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) - })); - dart.defineExtensionMethods(_CustomHashSet, ['contains']); - return _CustomHashSet; -}); -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 __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 (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; - return super.contains(element); - } - lookup(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; - return super.lookup(element); - } - remove(element) { - 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[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); - ; - }).prototype = _CustomKeyHashSet.prototype; - dart.addTypeTests(_CustomKeyHashSet); - _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; - dart.addTypeCaches(_CustomKeyHashSet); - dart.setMethodSignature(_CustomKeyHashSet, () => ({ - __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) - })); - 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)])) - })); - dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); - return _CustomKeyHashSet; -}); -collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); -dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); -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)); - } - get length() { - return this[_source][$length]; - } - set length(value) { - super.length = value; - } - _get(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[79], 29, 36, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableListView.prototype; - dart.addTypeTests(UnmodifiableListView); - UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; - dart.addTypeCaches(UnmodifiableListView); - dart.setMethodSignature(UnmodifiableListView, () => ({ - __proto__: dart.getMethods(UnmodifiableListView.__proto__), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(UnmodifiableListView, () => ({ - __proto__: dart.getGetters(UnmodifiableListView.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListView, I[25]); - dart.setFieldSignature(UnmodifiableListView, () => ({ - __proto__: dart.getFields(UnmodifiableListView.__proto__), - [_source]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); - dart.defineExtensionAccessors(UnmodifiableListView, ['length']); - return UnmodifiableListView; -}); -collection.UnmodifiableListView = collection.UnmodifiableListView$(); -dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); -const _is_HashMap_default = Symbol('_is_HashMap_default'); -collection.HashMap$ = dart.generic((K, V) => { - class HashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); - } - 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[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 t144; - if (other == null) dart.nullFailed(I[80], 210, 32, "other"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t144; - if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - HashMap.prototype[dart.isMap] = true; - dart.addTypeTests(HashMap); - HashMap.prototype[_is_HashMap_default] = true; - dart.addTypeCaches(HashMap); - HashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); -dart.addTypeTests(collection.HashMap, _is_HashMap_default); -const _is_HashSet_default = Symbol('_is_HashSet_default'); -collection.HashSet$ = dart.generic(E => { - class HashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { - return new (collection._IdentityHashSet$(E)).new(); - } - 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((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[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 t144; - if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); - t144 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (HashSet[dart.mixinNew] = function() { - }).prototype = HashSet.prototype; - dart.addTypeTests(HashSet); - HashSet.prototype[_is_HashSet_default] = true; - dart.addTypeCaches(HashSet); - HashSet[dart.implements] = () => [core.Set$(E)]; - 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 __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, toElement) { - if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); - return _internal.MappedIterable$(E, T).new(this, toElement); - } - 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, toElements) { - if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); - return new (_internal.ExpandIterable$(E, T)).new(this, toElements); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[41], 27, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - contains(element) { - for (let e of this) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[41], 44, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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(test) { - if (test == null) dart.nullFailed(I[41], 66, 19, "test"); - for (let element of this) { - if (!dart.test(test(element))) return false; - } - return true; - } - join(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(); - if (separator == null || separator === "") { - do { - buffer.write(dart.str(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.str(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.str(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[41], 91, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); - return __t$ListOfE().from(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().from(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - take(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[41], 121, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[41], 129, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 161, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 169, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (IterableMixin.new = function() { - ; - }).prototype = IterableMixin.prototype; - IterableMixin.prototype[dart.isIterable] = true; - dart.addTypeTests(IterableMixin); - IterableMixin.prototype[_is_IterableMixin_default] = true; - dart.addTypeCaches(IterableMixin); - IterableMixin[dart.implements] = () => [core.Iterable$(E)]; - dart.setMethodSignature(IterableMixin, () => ({ - __proto__: dart.getMethods(IterableMixin.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(IterableMixin, () => ({ - __proto__: dart.getGetters(IterableMixin.__proto__), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(IterableMixin, I[25]); - dart.defineExtensionMethods(IterableMixin, [ - 'cast', - 'map', - 'where', - 'whereType', - 'expand', - 'followedBy', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(IterableMixin, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return IterableMixin; -}); -collection.IterableMixin = collection.IterableMixin$(); -dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); -var _state$ = dart.privateName(collection, "_state"); -var _iterator$0 = dart.privateName(collection, "_iterator"); -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[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); - let result = this[_iterator$0].current; - this[_move](); - return result; - } - [_move]() { - if (dart.test(this[_iterator$0].moveNext())) { - this[_state$] = 0; - } else { - this[_state$] = 1; - } - } - } - (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); - this[_state$] = 2; - this[_iterator$0] = _iterator; - ; - }).prototype = HasNextIterator.prototype; - dart.addTypeTests(HasNextIterator); - HasNextIterator.prototype[_is_HasNextIterator_default] = true; - dart.addTypeCaches(HasNextIterator); - dart.setMethodSignature(HasNextIterator, () => ({ - __proto__: dart.getMethods(HasNextIterator.__proto__), - next: dart.fnType(E, []), - [_move]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(HasNextIterator, () => ({ - __proto__: dart.getGetters(HasNextIterator.__proto__), - hasNext: core.bool - })); - 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$(); -dart.defineLazy(collection.HasNextIterator, { - /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { - return 0; - }, - /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { - return 1; - }, - /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { - return 2; - } -}, false); -dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); -const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); -collection.LinkedHashMap$ = dart.generic((K, V) => { - class LinkedHashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (other == null) dart.nullFailed(I[83], 199, 38, "other"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t152; - if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - LinkedHashMap.prototype[dart.isMap] = true; - dart.addTypeTests(LinkedHashMap); - LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; - dart.addTypeCaches(LinkedHashMap); - LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); -dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); -const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); -collection.LinkedHashSet$ = dart.generic(E => { - class LinkedHashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); - t152 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (LinkedHashSet[dart.mixinNew] = function() { - }).prototype = LinkedHashSet.prototype; - dart.addTypeTests(LinkedHashSet); - LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; - dart.addTypeCaches(LinkedHashSet); - LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); - dart.setLibraryUri(LinkedHashSet, I[25]); - dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); - return LinkedHashSet; -}); -collection.LinkedHashSet = collection.LinkedHashSet$(); -dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); -var _modificationCount = dart.privateName(collection, "_modificationCount"); -var _length$0 = dart.privateName(collection, "_length"); -var _first = dart.privateName(collection, "_first"); -var _insertBefore = dart.privateName(collection, "_insertBefore"); -var _list$0 = dart.privateName(collection, "_list"); -var _unlink = dart.privateName(collection, "_unlink"); -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 __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[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[85], 96, 14, "entry"); - this[_insertBefore](this[_first], entry, {updateFirst: false}); - } - addAll(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[85], 111, 17, "entry"); - if (!dart.equals(entry[_list$0], this)) return false; - this[_unlink](entry); - return true; - } - contains(entry) { - return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; - } - get iterator() { - return new (__t$_LinkedListIteratorOfE()).new(this); - } - get length() { - return this[_length$0]; - } - clear() { - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - if (dart.test(this.isEmpty)) return; - let next = dart.nullCheck(this[_first]); - do { - let entry = next; - next = dart.nullCheck(entry[_next$2]); - entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; - } while (next !== this[_first]); - this[_first] = null; - this[_length$0] = 0; - } - get first() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(this[_first]); - } - get last() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); - } - get single() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - if (dart.notNull(this[_length$0]) > 1) { - dart.throw(new core.StateError.new("Too many elements")); - } - return dart.nullCheck(this[_first]); - } - forEach(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]); - do { - action(current); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - current = dart.nullCheck(current[_next$2]); - } while (current !== this[_first]); - } - get isEmpty() { - return this[_length$0] === 0; - } - [_insertBefore](entry, newEntry, opts) { - __t$EN().as(entry); - E.as(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[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[85], 199, 14, "entry == null"); - newEntry[_previous$2] = newEntry[_next$2] = newEntry; - this[_first] = newEntry; - this[_length$0] = dart.notNull(this[_length$0]) + 1; - return; - } - let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); - let successor = entry; - newEntry[_previous$2] = predecessor; - newEntry[_next$2] = successor; - predecessor[_next$2] = newEntry; - successor[_previous$2] = newEntry; - if (dart.test(updateFirst) && entry == this[_first]) { - this[_first] = newEntry; - } - this[_length$0] = dart.notNull(this[_length$0]) + 1; - } - [_unlink](entry) { - E.as(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]; - this[_length$0] = dart.notNull(this[_length$0]) - 1; - entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; - if (dart.test(this.isEmpty)) { - this[_first] = null; - } else if (entry == this[_first]) { - this[_first] = next; - } - } - } - (LinkedList.new = function() { - this[_modificationCount] = 0; - this[_length$0] = 0; - this[_first] = null; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default$] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), - [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(LinkedList, I[25]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_modificationCount]: dart.fieldType(core.int), - [_length$0]: dart.fieldType(core.int), - [_first]: dart.fieldType(dart.nullable(E)) - })); - dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); - dart.defineExtensionAccessors(LinkedList, [ - 'iterator', - 'length', - 'first', - 'last', - 'single', - 'isEmpty' - ]); - return LinkedList; -}); -collection.LinkedList = collection.LinkedList$(); -dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); -var _current$1 = dart.privateName(collection, "_current"); -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); - } - moveNext() { - if (this[_modificationCount] != this[_list$0][_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { - this[_current$1] = null; - return false; - } - this[_visitedFirst] = true; - this[_current$1] = this[_next$2]; - this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; - return true; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[85], 238, 37, "list"); - this[_current$1] = null; - this[_list$0] = list; - this[_modificationCount] = list[_modificationCount]; - this[_next$2] = list[_first]; - this[_visitedFirst] = false; - ; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: E - })); - dart.setLibraryUri(_LinkedListIterator, I[25]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), - [_modificationCount]: dart.finalFieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_visitedFirst]: dart.fieldType(core.bool) - })); - return _LinkedListIterator; -}); -collection._LinkedListIterator = collection._LinkedListIterator$(); -dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); -var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); -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 __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] = __t$LinkedListNOfE().as(value); - } - get [_next$2]() { - return this[_next$3]; - } - set [_next$2](value) { - this[_next$3] = __t$EN().as(value); - } - get [_previous$2]() { - return this[_previous$3]; - } - set [_previous$2](value) { - this[_previous$3] = __t$EN().as(value); - } - get list() { - return this[_list$0]; - } - unlink() { - dart.nullCheck(this[_list$0])[_unlink](E.as(this)); - } - get next() { - if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; - return this[_next$2]; - } - get previous() { - if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; - return this[_previous$2]; - } - insertAfter(entry) { - E.as(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[85], 320, 23, "entry"); - dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); - } - } - (LinkedListEntry.new = function() { - this[_list$1] = null; - this[_next$3] = null; - this[_previous$3] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []), - insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedListEntry, () => ({ - __proto__: dart.getGetters(LinkedListEntry.__proto__), - list: dart.nullable(collection.LinkedList$(E)), - next: dart.nullable(E), - previous: dart.nullable(E) - })); - dart.setLibraryUri(LinkedListEntry, I[25]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_previous$2]: dart.fieldType(dart.nullable(E)) - })); - return LinkedListEntry; -}); -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 __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]; - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get first() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); - } - get single() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); - } - get last() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); - } - get iterator() { - return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); - this[_map$5] = _map; - _MapBaseValueIterable.__proto__.new.call(this); - ; - }).prototype = _MapBaseValueIterable.prototype; - dart.addTypeTests(_MapBaseValueIterable); - _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; - dart.addTypeCaches(_MapBaseValueIterable); - dart.setGetterSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_MapBaseValueIterable, I[25]); - dart.setFieldSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getFields(_MapBaseValueIterable.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionAccessors(_MapBaseValueIterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'single', - 'last', - 'iterator' - ]); - return _MapBaseValueIterable; -}); -collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); -dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); -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); - return true; - } - this[_current$1] = null; - return false; - } - get current() { - return V.as(this[_current$1]); - } - } - (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[37], 248, 35, "map"); - this[_current$1] = null; - this[_map$5] = map; - this[_keys] = map[$keys][$iterator]; - ; - }).prototype = _MapBaseValueIterator.prototype; - dart.addTypeTests(_MapBaseValueIterator); - _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; - dart.addTypeCaches(_MapBaseValueIterator); - _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; - dart.setMethodSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), - current: V - })); - dart.setLibraryUri(_MapBaseValueIterator, I[25]); - dart.setFieldSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getFields(_MapBaseValueIterator.__proto__), - [_keys]: dart.finalFieldType(core.Iterator$(K)), - [_map$5]: dart.finalFieldType(core.Map$(K, V)), - [_current$1]: dart.fieldType(dart.nullable(V)) - })); - return _MapBaseValueIterator; -}); -collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); -dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); -var _map$8 = dart.privateName(collection, "MapView._map"); -const _is_MapView_default = Symbol('_is_MapView_default'); -collection.MapView$ = dart.generic((K, V) => { - 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]; - } - 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); - } - _get(key) { - return this[_map$5][$_get](key); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_map$5][$_set](key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 330, 25, "other"); - this[_map$5][$addAll](other); - } - clear() { - this[_map$5][$clear](); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); - return this[_map$5][$putIfAbsent](key, ifAbsent); - } - containsKey(key) { - return this[_map$5][$containsKey](key); - } - containsValue(value) { - return this[_map$5][$containsValue](value); - } - forEach(action) { - if (action == null) dart.nullFailed(I[37], 341, 21, "action"); - this[_map$5][$forEach](action); - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get length() { - return this[_map$5][$length]; - } - get keys() { - return this[_map$5][$keys]; - } - remove(key) { - return this[_map$5][$remove](key); - } - toString() { - return dart.toString(this[_map$5]); - } - get values() { - return this[_map$5][$values]; - } - get entries() { - return this[_map$5][$entries]; - } - addEntries(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[37], 359, 44, "transform"); - return this[_map$5][$map](K2, V2, transform); - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 362, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(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[37], 369, 25, "test"); - this[_map$5][$removeWhere](test); - } - } - (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[37], 322, 27, "map"); - this[_map$8] = map; - ; - }).prototype = MapView.prototype; - MapView.prototype[dart.isMap] = true; - dart.addTypeTests(MapView); - MapView.prototype[_is_MapView_default] = true; - dart.addTypeCaches(MapView); - MapView[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapView, () => ({ - __proto__: dart.getMethods(MapView.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) - })); - dart.setGetterSignature(MapView, () => ({ - __proto__: dart.getGetters(MapView.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - length: core.int, - [$length]: core.int, - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K), - values: core.Iterable$(V), - [$values]: core.Iterable$(V), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(MapView, I[25]); - dart.setFieldSignature(MapView, () => ({ - __proto__: dart.getFields(MapView.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionMethods(MapView, [ - 'cast', - '_get', - '_set', - 'addAll', - 'clear', - 'putIfAbsent', - 'containsKey', - 'containsValue', - 'forEach', - 'remove', - 'toString', - 'addEntries', - 'map', - 'update', - 'updateAll', - 'removeWhere' - ]); - dart.defineExtensionAccessors(MapView, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return MapView; -}); -collection.MapView = collection.MapView$(); -dart.addTypeTests(collection.MapView, _is_MapView_default); -const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); -collection.UnmodifiableMapView$ = dart.generic((K, V) => { - const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; - (MapView__UnmodifiableMapMixin$36.new = function(map) { - MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); - }).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[37], 392, 33, "map"); - UnmodifiableMapView.__proto__.new.call(this, map); - ; - }).prototype = UnmodifiableMapView.prototype; - dart.addTypeTests(UnmodifiableMapView); - UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; - dart.addTypeCaches(UnmodifiableMapView); - dart.setMethodSignature(UnmodifiableMapView, () => ({ - __proto__: dart.getMethods(UnmodifiableMapView.__proto__), - 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[25]); - dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); - return UnmodifiableMapView; -}); -collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); -dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); -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[86], 76, 43, "source"); - return new (_internal.CastQueue$(S, T)).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (Queue[dart.mixinNew] = function() { - }).prototype = Queue.prototype; - dart.addTypeTests(Queue); - Queue.prototype[_is_Queue_default] = true; - dart.addTypeCaches(Queue); - Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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$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"); -const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); -collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - 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; - } - [_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]); - } - [_prepend](element, queue) { - E.as(element); - __t$DoubleLinkedQueueNOfE().as(queue); - new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); - } - } - (_DoubleLinkedQueueEntry.new = function() { - this[_previousLink$0] = null; - this[_nextLink$0] = null; - ; - }).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(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.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_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 t152; - E.as(e); - this[_append](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - prepend(e) { - let t152; - E.as(e); - this[_prepend](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - [_remove]() { - this[_queue$0] = null; - this[_unlink](); - return this.element; - } - remove() { - 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) { - 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, []), - 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) - })); - return _DoubleLinkedQueueElement; -}); -collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); -dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); -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() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (_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(core.Null, []), - [_remove]: dart.fnType(E, []) - })); - 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 _sentinel = dart.privateName(collection, "_sentinel"); -const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); -collection.DoubleLinkedQueue$ = dart.generic(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) { - static ['_#new#tearOff'](E) { - return new (collection.DoubleLinkedQueue$(E)).new(); - } - static from(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 t152; - if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); - t152 = new (collection.DoubleLinkedQueue$(E)).new(); - return (() => { - 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); - } - get length() { - return this[_elementCount]; - } - addLast(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addFirst(value) { - E.as(value); - this[_sentinel][_append](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - add(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addAll(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); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - } - removeLast() { - let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - removeFirst() { - let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - remove(o) { - 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) { - entry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return true; - } - entry = dart.nullCheck(entry[_nextLink$1]); - } - } - [_filter](test, removeMatching) { - 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$1]); - if (removeMatching == matches) { - elementEntry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - } - entry = next; - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 379, 25, "test"); - this[_filter](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 383, 25, "test"); - this[_filter](test, false); - } - get first() { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - get last() { - return dart.nullCheck(this[_sentinel][_previousLink$1]).element; - } - get single() { - if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - dart.throw(_internal.IterableElementError.tooMany()); - } - firstEntry() { - return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); - } - lastEntry() { - return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); - } - get isEmpty() { - return this[_sentinel][_nextLink$1] == this[_sentinel]; - } - clear() { - 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[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)); - } - cursor = dart.nullCheck(cursor[_nextLink$1]); - action(element); - if (this === element[_queue$0]) { - cursor = dart.nullCheck(element[_nextLink$1]); - } - } - } - get iterator() { - return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (DoubleLinkedQueue.new = function() { - this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); - this[_elementCount] = 0; - DoubleLinkedQueue.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueue.prototype; - dart.addTypeTests(DoubleLinkedQueue); - DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; - dart.addTypeCaches(DoubleLinkedQueue); - DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - removeFirst: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_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(_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, [_internal.DoubleLinkedQueueEntry$(E)])]) - })); - dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); - dart.setGetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - iterator: collection._DoubleLinkedQueueIterator$(E), - [$iterator]: collection._DoubleLinkedQueueIterator$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[25]); - dart.setFieldSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), - [_elementCount]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); - dart.defineExtensionAccessors(DoubleLinkedQueue, [ - 'length', - 'first', - 'last', - 'single', - 'isEmpty', - 'iterator' - ]); - return DoubleLinkedQueue; -}); -collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); -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 => { - 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() { - let t152; - let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); - if (nextElement == null) { - this[_current$1] = null; - this[_nextEntry] = null; - this[_queue$0] = null; - return false; - } - if (this[_queue$0] != nextElement[_queue$0]) { - dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); - } - this[_current$1] = nextElement.element; - this[_nextEntry] = nextElement[_nextLink$1]; - return true; - } - get current() { - return E.as(this[_current$1]); - } - } - (_DoubleLinkedQueueIterator.new = function(_queue) { - if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); - this[_current$1] = null; - this[_queue$0] = _queue; - this[_nextEntry] = _queue[_sentinel][_nextLink$1]; - ; - }).prototype = _DoubleLinkedQueueIterator.prototype; - dart.addTypeTests(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; - dart.addTypeCaches(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_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; -}); -collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); -dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); -var _head = dart.privateName(collection, "_head"); -var _tail = dart.privateName(collection, "_tail"); -var _table = dart.privateName(collection, "_table"); -var _checkModification = dart.privateName(collection, "_checkModification"); -var _add$ = dart.privateName(collection, "_add"); -var _preGrow = dart.privateName(collection, "_preGrow"); -var _filterWhere = dart.privateName(collection, "_filterWhere"); -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 __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[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[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[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))); - } - queue[_tail] = length; - return queue; - } else { - let capacity = 8; - if (_internal.EfficientLengthIterable.is(elements)) { - capacity = elements[$length]; - } - let result = new (collection.ListQueue$(E)).new(capacity); - for (let element of elements) { - result.addLast(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); - t152 = new (collection.ListQueue$(E)).new(); - return (() => { - t152.addAll(elements); - return t152; - })(); - } - cast(R) { - return collection.Queue.castFrom(E, R, this); - } - get iterator() { - return new (__t$_ListQueueIteratorOfE()).new(this); - } - forEach(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))); - this[_checkModification](modificationCount); - } - } - get isEmpty() { - return this[_head] == this[_tail]; - } - get length() { - return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - get first() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get](this[_head])); - } - get last() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); - } - get single() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return E.as(this[_table][$_get](this[_head])); - } - elementAt(index) { - 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[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 __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))); - } - return list; - } - add(value) { - E.as(value); - this[_add$](value); - } - addAll(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; - if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { - this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); - this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); - if (dart.notNull(addCount) < endSpace) { - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let preSpace = dart.notNull(addCount) - endSpace; - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); - this[_table][$setRange](0, preSpace, list, endSpace); - this[_tail] = preSpace; - } - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - for (let element of elements) - this[_add$](element); - } - } - remove(value) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - let element = this[_table][$_get](i); - if (dart.equals(element, value)) { - this[_remove](i); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return true; - } - } - return false; - } - [_filterWhere](test, 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]) { - let element = E.as(this[_table][$_get](i)); - let remove = removeMatching == test(element); - this[_checkModification](modificationCount); - if (remove) { - i = this[_remove](i); - modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 784, 25, "test"); - this[_filterWhere](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 792, 25, "test"); - this[_filterWhere](test, false); - } - clear() { - if (this[_head] != this[_tail]) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - this[_table][$_set](i, null); - } - this[_head] = this[_tail] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - addLast(value) { - E.as(value); - this[_add$](value); - } - addFirst(value) { - E.as(value); - this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - this[_table][$_set](this[_head], value); - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - removeFirst() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - let result = E.as(this[_table][$_get](this[_head])); - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - return result; - } - removeLast() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - let result = E.as(this[_table][$_get](this[_tail])); - this[_table][$_set](this[_tail], null); - return result; - } - static _isPowerOf2(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[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; - if (nextNumber === 0) return number; - number = nextNumber; - } - } - [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); - if (expectedModificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [_add$](element) { - this[_table][$_set](this[_tail], element); - this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_remove](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; - if (startDistance < endDistance) { - let i = offset; - while (i != this[_head]) { - let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](prevOffset)); - i = prevOffset; - } - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; - return (dart.notNull(offset) + 1 & mask) >>> 0; - } else { - this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; - let i = offset; - while (i != this[_tail]) { - let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](nextOffset)); - i = nextOffset; - } - this[_table][$_set](this[_tail], null); - return offset; - } - } - [_grow$]() { - 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); - this[_head] = 0; - this[_tail] = this[_table][$length]; - this[_table] = newTable; - } - [_writeToList](target) { - 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]); - return length; - } else { - let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); - target[$setRange](0, firstPartSize, this[_table], this[_head]); - target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); - return dart.notNull(this[_tail]) + firstPartSize; - } - } - [_preGrow](newElementCount) { - 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 = __t$ListOfEN().filled(newCapacity, null); - this[_tail] = this[_writeToList](newTable); - this[_table] = newTable; - this[_head] = 0; - } - } - (ListQueue.new = function(initialCapacity = null) { - this[_modificationCount] = 0; - this[_head] = 0; - this[_tail] = 0; - this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); - ListQueue.__proto__.new.call(this); - ; - }).prototype = ListQueue.prototype; - dart.addTypeTests(ListQueue); - ListQueue.prototype[_is_ListQueue_default] = true; - dart.addTypeCaches(ListQueue); - ListQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(ListQueue, () => ({ - __proto__: dart.getMethods(ListQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_filterWhere]: 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])]), - clear: dart.fnType(dart.void, []), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeFirst: dart.fnType(E, []), - removeLast: dart.fnType(E, []), - [_checkModification]: dart.fnType(dart.void, [core.int]), - [_add$]: dart.fnType(dart.void, [E]), - [_remove]: dart.fnType(core.int, [core.int]), - [_grow$]: dart.fnType(dart.void, []), - [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), - [_preGrow]: dart.fnType(dart.void, [core.int]) - })); - 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))), - [_head]: dart.fieldType(core.int), - [_tail]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int) - })); - dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); - dart.defineExtensionMethods(ListQueue, [ - 'cast', - 'forEach', - 'elementAt', - 'toList', - 'toString' - ]); - dart.defineExtensionAccessors(ListQueue, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return ListQueue; -}); -collection.ListQueue = collection.ListQueue$(); -dart.defineLazy(collection.ListQueue, { - /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { - return 8; - } -}, false); -dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); -var _end = dart.privateName(collection, "_end"); -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$0][_checkModification](this[_modificationCount]); - if (this[_position] == this[_end]) { - this[_current$1] = null; - return false; - } - 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[86], 962, 35, "queue"); - this[_current$1] = null; - this[_queue$0] = queue; - this[_end] = queue[_tail]; - this[_modificationCount] = queue[_modificationCount]; - this[_position] = queue[_head]; - ; - }).prototype = _ListQueueIterator.prototype; - dart.addTypeTests(_ListQueueIterator); - _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; - dart.addTypeCaches(_ListQueueIterator); - _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_ListQueueIterator, () => ({ - __proto__: dart.getMethods(_ListQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_ListQueueIterator, () => ({ - __proto__: dart.getGetters(_ListQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_ListQueueIterator, I[25]); - dart.setFieldSignature(_ListQueueIterator, () => ({ - __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), - [_end]: dart.finalFieldType(core.int), - [_modificationCount]: dart.finalFieldType(core.int), - [_position]: dart.fieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)) - })); - return _ListQueueIterator; -}); -collection._ListQueueIterator = collection._ListQueueIterator$(); -dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); -const _is_SetBase_default = Symbol('_is_SetBase_default'); -collection.SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class SetBase extends Object_SetMixin$36 { - static setToString(set) { - if (set == null) dart.nullFailed(I[78], 307, 33, "set"); - return collection.IterableBase.iterableToFullString(set, "{", "}"); - } - } - (SetBase.new = function() { - ; - }).prototype = SetBase.prototype; - dart.addTypeTests(SetBase); - SetBase.prototype[_is_SetBase_default] = true; - dart.addTypeCaches(SetBase); - 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 __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")); - } - add(value) { - E.as(value); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - clear() { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - addAll(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[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[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[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[78], 368, 25, "test"); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - remove(value) { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (_UnmodifiableSetMixin.new = function() { - ; - }).prototype = _UnmodifiableSetMixin.prototype; - dart.addTypeTests(_UnmodifiableSetMixin); - _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; - dart.addTypeCaches(_UnmodifiableSetMixin); - _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); - dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); - return _UnmodifiableSetMixin; -}); -collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); -dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); -var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); -const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); -collection._UnmodifiableSet$ = dart.generic(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); - }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; - dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); - class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { - get [_map$5]() { - return this[_map$9]; - } - 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 (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - return this[_map$5][$containsKey](element); - } - get iterator() { - return this[_map$5][$keys][$iterator]; - } - get length() { - return this[_map$5][$length]; - } - lookup(element) { - for (let key of this[_map$5][$keys]) { - if (dart.equals(key, element)) return key; - } - return null; - } - } - (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); - this[_map$9] = _map; - _UnmodifiableSet.__proto__.new.call(this); - ; - }).prototype = _UnmodifiableSet.prototype; - dart.addTypeTests(_UnmodifiableSet); - _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; - dart.addTypeCaches(_UnmodifiableSet); - dart.setMethodSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getMethods(_UnmodifiableSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getGetters(_UnmodifiableSet.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_UnmodifiableSet, I[25]); - dart.setFieldSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getFields(_UnmodifiableSet.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) - })); - dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); - dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); - return _UnmodifiableSet; -}); -collection._UnmodifiableSet = collection._UnmodifiableSet$(); -dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); -const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); -collection.UnmodifiableSetView$ = dart.generic(E => { - const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; - (SetBase__UnmodifiableSetMixin$36.new = function() { - }).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); - } - lookup(element) { - return this[_source].lookup(element); - } - get length() { - return this[_source][$length]; - } - get iterator() { - return this[_source].iterator; - } - toSet() { - return this[_source].toSet(); - } - } - (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[78], 420, 30, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableSetView.prototype; - dart.addTypeTests(UnmodifiableSetView); - UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; - dart.addTypeCaches(UnmodifiableSetView); - dart.setMethodSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getMethods(UnmodifiableSetView.__proto__), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setGetterSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getGetters(UnmodifiableSetView.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(UnmodifiableSetView, I[25]); - dart.setFieldSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getFields(UnmodifiableSetView.__proto__), - [_source]: dart.finalFieldType(core.Set$(E)) - })); - dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); - dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); - return UnmodifiableSetView; -}); -collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); -dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); -var _left = dart.privateName(collection, "_SplayTreeNode._left"); -var _right = dart.privateName(collection, "_SplayTreeNode._right"); -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 __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); - class _SplayTreeNode extends core.Object { - get [_left$]() { - return this[_left]; - } - set [_left$](value) { - this[_left] = __t$NodeN().as(value); - } - get [_right$]() { - return this[_right]; - } - set [_right$](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) { - this[_left] = null; - this[_right] = null; - this.key = key; - ; - }).prototype = _SplayTreeNode.prototype; - dart.addTypeTests(_SplayTreeNode); - _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; - dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[25]); - dart.setFieldSignature(_SplayTreeNode, () => ({ - __proto__: dart.getFields(_SplayTreeNode.__proto__), - key: dart.finalFieldType(K), - [_left$]: dart.fieldType(dart.nullable(Node)), - [_right$]: dart.fieldType(dart.nullable(Node)) - })); - return _SplayTreeNode; -}); -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 { - static ['_#new#tearOff'](K, key) { - return new (collection._SplayTreeSetNode$(K)).new(key); - } - } - (_SplayTreeSetNode.new = function(key) { - _SplayTreeSetNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeSetNode.prototype; - dart.addTypeTests(_SplayTreeSetNode); - _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; - dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[25]); - return _SplayTreeSetNode; -}, K => { - dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); -}); -collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); -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 __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 t152; - V.as(value); - t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); - return (() => { - t152[_left$] = this[_left$]; - t152[_right$] = this[_right$]; - return t152; - })(); - } - toString() { - return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; - } - } - (_SplayTreeMapNode.new = function(key, value) { - this.value = value; - _SplayTreeMapNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeMapNode.prototype; - dart.addTypeTests(_SplayTreeMapNode); - _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; - dart.addTypeCaches(_SplayTreeMapNode); - _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; - dart.setMethodSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), - [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapNode, I[25]); - dart.setFieldSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getFields(_SplayTreeMapNode.__proto__), - value: dart.finalFieldType(V) - })); - dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); - return _SplayTreeMapNode; -}, (K, V) => { - dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); -}); -collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); -dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); -var _count$ = dart.privateName(collection, "_count"); -var _splayCount = dart.privateName(collection, "_splayCount"); -var _root = dart.privateName(collection, "_root"); -var _compare = dart.privateName(collection, "_compare"); -var _splay = dart.privateName(collection, "_splay"); -var _splayMin = dart.privateName(collection, "_splayMin"); -var _splayMax = dart.privateName(collection, "_splayMax"); -var _addNewRoot = dart.privateName(collection, "_addNewRoot"); -var _last$ = dart.privateName(collection, "_last"); -var _clear$ = dart.privateName(collection, "_clear"); -var _containsKey = dart.privateName(collection, "_containsKey"); -const _is__SplayTree_default = Symbol('_is__SplayTree_default'); -collection._SplayTree$ = dart.generic((K, Node) => { - class _SplayTree extends core.Object { - [_splay](key) { - let t153, t152; - K.as(key); - let root = this[_root]; - if (root == null) { - t152 = key; - t153 = key; - this[_compare](t152, t153); - return -1; - } - let right = null; - let newTreeRight = null; - let left = null; - let newTreeLeft = null; - let current = root; - let compare = this[_compare]; - let comp = null; - while (true) { - comp = compare(current.key, key); - if (dart.notNull(comp) > 0) { - let currentLeft = current[_left$]; - if (currentLeft == null) break; - comp = compare(currentLeft.key, key); - if (dart.notNull(comp) > 0) { - current[_left$] = currentLeft[_right$]; - currentLeft[_right$] = current; - current = currentLeft; - currentLeft = current[_left$]; - if (currentLeft == null) break; - } - if (right == null) { - newTreeRight = current; - } else { - right[_left$] = current; - } - right = current; - current = currentLeft; - } else if (dart.notNull(comp) < 0) { - let currentRight = current[_right$]; - if (currentRight == null) break; - comp = compare(currentRight.key, key); - if (dart.notNull(comp) < 0) { - current[_right$] = currentRight[_left$]; - currentRight[_left$] = current; - current = currentRight; - currentRight = current[_right$]; - if (currentRight == null) break; - } - if (left == null) { - newTreeLeft = current; - } else { - left[_right$] = current; - } - left = current; - current = currentRight; - } else { - break; - } - } - if (left != null) { - left[_right$] = current[_left$]; - current[_left$] = newTreeLeft; - } - if (right != null) { - right[_left$] = current[_right$]; - current[_right$] = newTreeRight; - } - if (this[_root] != current) { - this[_root] = current; - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - } - return comp; - } - [_splayMin](node) { - if (node == null) dart.nullFailed(I[87], 173, 23, "node"); - let current = node; - let nextLeft = current[_left$]; - while (nextLeft != null) { - let left = nextLeft; - current[_left$] = left[_right$]; - left[_right$] = current; - current = left; - nextLeft = current[_left$]; - } - return current; - } - [_splayMax](node) { - if (node == null) dart.nullFailed(I[87], 191, 23, "node"); - let current = node; - let nextRight = current[_right$]; - while (nextRight != null) { - let right = nextRight; - current[_right$] = right[_left$]; - right[_left$] = current; - current = right; - nextRight = current[_right$]; - } - return current; - } - [_remove](key) { - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (comp !== 0) return null; - let root = dart.nullCheck(this[_root]); - let result = root; - let left = root[_left$]; - this[_count$] = dart.notNull(this[_count$]) - 1; - if (left == null) { - this[_root] = root[_right$]; - } else { - let right = root[_right$]; - root = this[_splayMax](left); - root[_right$] = right; - this[_root] = root; - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return result; - } - [_addNewRoot](node, 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]; - if (root == null) { - this[_root] = node; - return; - } - if (dart.notNull(comp) < 0) { - node[_left$] = root; - node[_right$] = root[_right$]; - root[_right$] = null; - } else { - node[_right$] = root; - node[_left$] = root[_left$]; - root[_left$] = null; - } - this[_root] = node; - } - get [_first]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMin](root); - return this[_root]; - } - get [_last$]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMax](root); - return this[_root]; - } - [_clear$]() { - this[_root] = null; - this[_count$] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_containsKey](key) { - let t152; - return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; - } - } - (_SplayTree.new = function() { - this[_count$] = 0; - this[_modificationCount] = 0; - this[_splayCount] = 0; - ; - }).prototype = _SplayTree.prototype; - dart.addTypeTests(_SplayTree); - _SplayTree.prototype[_is__SplayTree_default] = true; - dart.addTypeCaches(_SplayTree); - dart.setMethodSignature(_SplayTree, () => ({ - __proto__: dart.getMethods(_SplayTree.__proto__), - [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_splayMin]: dart.fnType(Node, [Node]), - [_splayMax]: dart.fnType(Node, [Node]), - [_remove]: dart.fnType(dart.nullable(Node), [K]), - [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), - [_clear$]: dart.fnType(dart.void, []), - [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_SplayTree, () => ({ - __proto__: dart.getGetters(_SplayTree.__proto__), - [_first]: dart.nullable(Node), - [_last$]: dart.nullable(Node) - })); - dart.setLibraryUri(_SplayTree, I[25]); - dart.setFieldSignature(_SplayTree, () => ({ - __proto__: dart.getFields(_SplayTree.__proto__), - [_count$]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTree; -}); -collection._SplayTree = collection._SplayTree$(); -dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); -var _root$ = dart.privateName(collection, "SplayTreeMap._root"); -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 __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); - }).prototype = _SplayTree_MapMixin$36.prototype; - dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); - class SplayTreeMap extends _SplayTree_MapMixin$36 { - get [_root]() { - return this[_root$]; - } - set [_root](value) { - this[_root$] = value; - } - get [_compare]() { - 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[87], 416, 51, "other"); - if (core.Map$(K, V).is(other)) { - return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); - } - let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - other[$forEach](dart.fn((k, v) => { - result._set(K.as(k), V.as(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 t152; - if (other == null) dart.nullFailed(I[87], 436, 37, "other"); - t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - return (() => { - 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[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; - let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - 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[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 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) { - return dart.nullCheck(this[_root]).value; - } - } - return null; - } - remove(key) { - 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; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let comp = this[_splay](key); - if (comp === 0) { - this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return value$; - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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; - } - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let value = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[87], 545, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - let comp = this[_splay](key); - if (comp === 0) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = update(dart.nullCheck(this[_root]).value); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - this[_splay](key); - } - this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return newValue; - } - if (ifAbsent != null) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - } - 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) { - __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 (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); - while (dart.test(iterator.moveNext())) { - let node = iterator.current; - let newValue = update(node.key, node.value); - iterator[_replaceValue](newValue); - } - } - addAll(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); - }, __t$KAndVTovoid())); - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - forEach(f) { - 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); - } - } - get length() { - return this[_count$]; - } - clear() { - this[_clear$](); - } - containsKey(key) { - return this[_containsKey](key); - } - containsValue(value) { - let initialSplayCount = this[_splayCount]; - const visit = node => { - while (node != null) { - if (dart.equals(node.value, value)) return true; - if (initialSplayCount != this[_splayCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (node[_right$] != null && dart.test(visit(node[_right$]))) { - return true; - } - node = node[_left$]; - } - return false; - }; - dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); - return visit(this[_root]); - } - get keys() { - return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); - } - get values() { - return new (__t$_SplayTreeValueIterableOfK$V()).new(this); - } - get entries() { - return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); - } - firstKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_first]).key; - } - lastKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_last$]).key; - } - lastKeyBefore(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_left$]; - if (node == null) return null; - let nodeRight = node[_right$]; - while (nodeRight != null) { - node = nodeRight; - nodeRight = node[_right$]; - } - return dart.nullCheck(node).key; - } - firstKeyAfter(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_right$]; - if (node == null) return null; - let nodeLeft = node[_left$]; - while (nodeLeft != null) { - node = nodeLeft; - nodeLeft = node[_left$]; - } - return dart.nullCheck(node).key; - } - } - (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$] = null; - 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; - dart.addTypeTests(SplayTreeMap); - SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; - dart.addTypeCaches(SplayTreeMap); - dart.setMethodSignature(SplayTreeMap, () => ({ - __proto__: dart.getMethods(SplayTreeMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - firstKey: dart.fnType(dart.nullable(K), []), - lastKey: dart.fnType(dart.nullable(K), []), - 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[25]); - dart.setFieldSignature(SplayTreeMap, () => ({ - __proto__: dart.getFields(SplayTreeMap.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), - [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeMap, [ - '_get', - 'remove', - '_set', - 'putIfAbsent', - 'update', - 'updateAll', - 'addAll', - 'forEach', - 'clear', - 'containsKey', - 'containsValue' - ]); - dart.defineExtensionAccessors(SplayTreeMap, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return SplayTreeMap; -}); -collection.SplayTreeMap = collection.SplayTreeMap$(); -dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); -var _path = dart.privateName(collection, "_path"); -var _tree$ = dart.privateName(collection, "_tree"); -var _getValue = dart.privateName(collection, "_getValue"); -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 __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); - let node = this[_path][$last]; - return this[_getValue](node); - } - [_rebuildPath](key) { - this[_path][$clear](); - this[_tree$][_splay](key); - this[_path][$add](dart.nullCheck(this[_tree$][_root])); - this[_splayCount] = this[_tree$][_splayCount]; - } - [_findLeftMostDescendent](node) { - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - } - moveNext() { - if (this[_modificationCount] != this[_tree$][_modificationCount]) { - if (this[_modificationCount] == null) { - this[_modificationCount] = this[_tree$][_modificationCount]; - let node = this[_tree$][_root]; - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - return this[_path][$isNotEmpty]; - } - dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); - } - if (dart.test(this[_path][$isEmpty])) return false; - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let node = this[_path][$last]; - let next = node[_right$]; - if (next != null) { - while (next != null) { - this[_path][$add](next); - next = next[_left$]; - } - return true; - } - this[_path][$removeLast](); - while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { - node = this[_path][$removeLast](); - } - return this[_path][$isNotEmpty]; - } - } - (_SplayTreeIterator.new = function(tree) { - 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]; - ; - }).prototype = _SplayTreeIterator.prototype; - dart.addTypeTests(_SplayTreeIterator); - _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; - dart.addTypeCaches(_SplayTreeIterator); - _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeIterator.__proto__), - [_rebuildPath]: dart.fnType(dart.void, [K]), - [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getGetters(_SplayTreeIterator.__proto__), - current: T - })); - dart.setLibraryUri(_SplayTreeIterator, I[25]); - dart.setFieldSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getFields(_SplayTreeIterator.__proto__), - [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), - [_path]: dart.finalFieldType(core.List$(Node)), - [_modificationCount]: dart.fieldType(dart.nullable(core.int)), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTreeIterator; -}); -collection._SplayTreeIterator = collection._SplayTreeIterator$(); -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 __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$]; - } - get isEmpty() { - return this[_tree$][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); - } - contains(o) { - return this[_tree$][_containsKey](o); - } - toSet() { - 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[87], 791, 30, "_tree"); - this[_tree$] = _tree; - _SplayTreeKeyIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeKeyIterable.prototype; - dart.addTypeTests(_SplayTreeKeyIterable); - _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterable); - dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), - iterator: core.Iterator$(K), - [$iterator]: core.Iterator$(K) - })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); - dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), - [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) - })); - dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); - dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeKeyIterable; -}); -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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); - this[_map$5] = _map; - _SplayTreeValueIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeValueIterable.prototype; - dart.addTypeTests(_SplayTreeValueIterable); - _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; - dart.addTypeCaches(_SplayTreeValueIterable); - dart.setGetterSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_SplayTreeValueIterable, I[25]); - dart.setFieldSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeValueIterable; -}); -collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); -dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); -var key$0 = dart.privateName(core, "MapEntry.key"); -var value$2 = dart.privateName(core, "MapEntry.value"); -const _is_MapEntry_default = Symbol('_is_MapEntry_default'); -core.MapEntry$ = dart.generic((K, V) => { - class MapEntry extends core.Object { - get key() { - return this[key$0]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$2]; - } - 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) + ")"; - } - } - (MapEntry.__ = function(key, value) { - this[key$0] = key; - this[value$2] = value; - ; - }).prototype = MapEntry.prototype; - dart.addTypeTests(MapEntry); - MapEntry.prototype[_is_MapEntry_default] = true; - dart.addTypeCaches(MapEntry); - 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; -}); -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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); - this[_map$5] = _map; - _SplayTreeMapEntryIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeMapEntryIterable.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterable); - _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterable); - dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), - iterator: core.Iterator$(core.MapEntry$(K, V)), - [$iterator]: core.Iterator$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); - dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeMapEntryIterable; -}); -collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); -dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); -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[87], 827, 20, "node"); - return node.key; - } - } - (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 826, 45, "map"); - _SplayTreeKeyIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeKeyIterator.prototype; - dart.addTypeTests(_SplayTreeKeyIterator); - _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterator); - dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), - [_getValue]: dart.fnType(K, [Node]) - })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); - return _SplayTreeKeyIterator; -}); -collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); -dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); -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[87], 833, 39, "node"); - return node.value; - } - } - (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 832, 46, "map"); - _SplayTreeValueIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeValueIterator.prototype; - dart.addTypeTests(_SplayTreeValueIterator); - _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; - dart.addTypeCaches(_SplayTreeValueIterator); - dart.setMethodSignature(_SplayTreeValueIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), - [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) - })); - dart.setLibraryUri(_SplayTreeValueIterator, I[25]); - return _SplayTreeValueIterator; -}); -collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); -dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); -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[87], 839, 52, "node"); - return node; - } - [_replaceValue](value) { - let t152; - V.as(value); - 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$])); - } - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let last = this[_path][$removeLast](); - let newLast = last[_replaceValue](value); - if (dart.test(this[_path][$isEmpty])) { - this[_tree$][_root] = newLast; - } else { - let parent = this[_path][$last]; - if (last == parent[_left$]) { - parent[_left$] = newLast; - } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); - parent[_right$] = newLast; - } - } - this[_path][$add](newLast); - this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); - } - } - (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); - _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); - ; - }).prototype = _SplayTreeMapEntryIterator.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterator); - _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterator); - dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), - [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), - [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); - return _SplayTreeMapEntryIterator; -}); -collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); -dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); -var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); -var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); -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 __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); - }).prototype = _SplayTree_IterableMixin$36.prototype; - dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); - const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; - (_SplayTree_SetMixin$36.new = function() { - _SplayTree_SetMixin$36.__proto__.new.call(this); - }).prototype = _SplayTree_SetMixin$36.prototype; - dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); - class SplayTreeSet extends _SplayTree_SetMixin$36 { - get [_root]() { - return this[_root$0]; - } - set [_root](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[87], 1004, 38, "elements"); - if (core.Iterable$(E).is(elements)) { - return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); - } - let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - for (let element of elements) { - result.add(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); - t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - return (() => { - 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 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 (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); - } - get length() { - return this[_count$]; - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return this[_root] != null; - } - get first() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_first]).key; - } - get last() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_last$]).key; - } - get single() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return dart.nullCheck(this[_root]).key; - } - contains(element) { - let t152; - return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; - } - add(element) { - E.as(element); - return this[_add$](element); - } - [_add$](element) { - let compare = this[_splay](element); - if (compare === 0) return false; - this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); - return true; - } - remove(object) { - let t152; - if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; - return this[_remove](E.as(object)) != null; - } - addAll(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 t152; - if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); - for (let element of elements) { - if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); - } - } - retainAll(elements) { - 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((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { - retainSet.add(dart.nullCheck(this[_root]).key); - } - } - if (retainSet[_count$] != this[_count$]) { - this[_root] = retainSet[_root]; - this[_count$] = retainSet[_count$]; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - lookup(object) { - 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[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[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 t152; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); - t152 = this[_clone$](); - return (() => { - t152.addAll(other); - return t152; - })(); - } - [_clone$]() { - let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); - set[_count$] = this[_count$]; - 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[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 (__t$_SplayTreeSetNodeOfE()).new(left.key); - dest[_left$] = newLeft; - copyChildren(left, newLeft); - } - if (right != null) { - 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, __t$_SplayTreeSetNodeOfE()])); - let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); - copyChildren(node, result); - return result; - } - clear() { - this[_clear$](); - } - toSet() { - return this[_clone$](); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$0] = null; - 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; - dart.addTypeTests(SplayTreeSet); - SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; - dart.addTypeCaches(SplayTreeSet); - dart.setMethodSignature(SplayTreeSet, () => ({ - __proto__: dart.getMethods(SplayTreeSet.__proto__), - [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_add$]: dart.fnType(core.bool, [E]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [_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[25]); - dart.setFieldSignature(SplayTreeSet, () => ({ - __proto__: dart.getFields(SplayTreeSet.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), - [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); - dart.defineExtensionAccessors(SplayTreeSet, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return SplayTreeSet; -}); -collection.SplayTreeSet = collection.SplayTreeSet$(); -dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); -collection._defaultEquals = function _defaultEquals(a, b) { - return dart.equals(a, b); -}; -collection._defaultHashCode = function _defaultHashCode(a) { - return dart.hashCode(a); -}; -collection._isToStringVisiting = function _isToStringVisiting(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[41], 291, 48, "iterable"); - if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); - let length = 0; - let count = 0; - let it = iterable[$iterator]; - while (length < 80 || count < 3) { - if (!dart.test(it.moveNext())) return; - let next = dart.str(it.current); - parts[$add](next); - length = length + (next.length + 2); - count = count + 1; - } - let penultimateString = null; - let ultimateString = null; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 2) return; - ultimateString = parts[$removeLast](); - penultimateString = parts[$removeLast](); - } else { - let penultimate = it.current; - count = count + 1; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 1) { - parts[$add](dart.str(penultimate)); - return; - } - ultimateString = dart.str(penultimate); - penultimateString = parts[$removeLast](); - length = length + (ultimateString.length + 2); - } else { - let ultimate = it.current; - count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); - while (dart.test(it.moveNext())) { - penultimate = ultimate; - ultimate = it.current; - count = count + 1; - if (count > 100) { - while (length > 80 - 3 - 2 && count > 3) { - length = length - (parts[$removeLast]().length + 2); - count = count - 1; - } - parts[$add]("..."); - return; - } - } - penultimateString = dart.str(penultimate); - ultimateString = dart.str(ultimate); - length = length + (ultimateString.length + penultimateString.length + 2 * 2); - } - } - let elision = null; - if (count > dart.notNull(parts[$length]) + 2) { - elision = "..."; - length = length + (3 + 2); - } - while (length > 80 && dart.notNull(parts[$length]) > 3) { - length = length - (parts[$removeLast]().length + 2); - if (elision == null) { - elision = "..."; - length = length + (3 + 2); - } - } - if (elision != null) { - parts[$add](elision); - } - parts[$add](penultimateString); - parts[$add](ultimateString); -}; -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[85] || CT.C85; - if (dart.fnType(core.int, [K, K]).is(compare)) { - return compare; - } - return C[86] || CT.C86; -}; -dart.defineLazy(collection, { - /*collection._toStringVisiting*/get _toStringVisiting() { - return T$.JSArrayOfObject().of([]); - } -}, false); -var _processed = dart.privateName(convert, "_processed"); -var _data = dart.privateName(convert, "_data"); -var _original$ = dart.privateName(convert, "_original"); -var _isUpgraded = dart.privateName(convert, "_isUpgraded"); -var _upgradedMap = dart.privateName(convert, "_upgradedMap"); -var _process = dart.privateName(convert, "_process"); -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], 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)) { - list = dart.dsend(list, 'sublist', [start, end]); - } - return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); - } - static _stringFromUint8List(charCodes, start, endOrNull) { - 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], 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])); - } - let it = charCodes[$iterator]; - for (let i = 0; i < dart.notNull(start); i = i + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(start, 0, i)); - } - } - let list = T$.JSArrayOfint().of(new Array()); - if (end == null) { - while (dart.test(it.moveNext())) - list[$add](it.current); - } else { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(end, start, i)); - } - list[$add](it.current); - } - } - return _js_helper.Primitives.stringFromCharCodes(list); - } - static is(o) { - return typeof o == "string"; - } - static as(o) { - if (typeof o == "string") return o; - return dart.as(o, core.String); - } - static fromCharCodes(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"); - if (_interceptors.JSArray.is(charCodes)) { - return core.String._stringFromJSArray(charCodes, start, end); - } - if (_native_typed_data.NativeUint8List.is(charCodes)) { - return core.String._stringFromUint8List(charCodes, start, end); - } - 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], 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], 661, 41, "name"); - let defaultValue = opts && 'defaultValue' in opts ? opts.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")); - } -}; -(core.String[dart.mixinNew] = function() { -}).prototype = core.String.prototype; -dart.addTypeCaches(core.String); -core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; -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); - } else if (!(typeof key == 'string')) { - return null; - } else { - let result = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); - return result; - } - } - get length() { - return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return dart.notNull(this.length) > 0; - } - get keys() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; - return new convert._JsonMapKeyIterable.new(this); - } - get values() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - 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[88], 170, 16, "key"); - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$_set](key, value); - } else if (dart.test(this.containsKey(key))) { - let processed = this[_processed]; - convert._JsonMap._setProperty(processed, key, value); - let original = this[_original$]; - if (!core.identical(original, processed)) { - convert._JsonMap._setProperty(original, key, null); - } - } else { - this[_upgrade]()[$_set](key, value); - } - return value$; - } - addAll(other) { - T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[88], 185, 36, "other"); - other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[88], 186, 20, "key"); - this._set(key, value); - }, T$0.StringAnddynamicTovoid())); - } - containsValue(value) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - if (dart.equals(this._get(key), value)) return true; - } - return false; - } - containsKey(key) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); - if (!(typeof key == 'string')) return false; - return convert._JsonMap._hasProperty(this[_original$], key); - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - 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); - return value; - } - remove(key) { - if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; - return this[_upgrade]()[$remove](key); - } - clear() { - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$clear](); - } else { - if (this[_data] != null) { - dart.dsend(this[_data], 'clear', []); - } - this[_original$] = this[_processed] = null; - this[_data] = new _js_helper.LinkedMap.new(); - } - } - forEach(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) { - let key = keys[$_get](i); - let value = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(value))) { - value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); - convert._JsonMap._setProperty(this[_processed], key, value); - } - f(key, value); - if (!core.identical(keys, this[_data])) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get [_isUpgraded]() { - return this[_processed] == null; - } - get [_upgradedMap]() { - 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[88], 274, 12, "!_isUpgraded"); - let keys = T$0.ListN().as(this[_data]); - if (keys == null) { - keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); - } - return keys; - } - [_upgrade]() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; - let result = new (T$0.IdentityMapOfString$dynamic()).new(); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - result[$_set](key, this._get(key)); - } - if (dart.test(keys[$isEmpty])) { - keys[$add](""); - } else { - keys[$clear](); - } - this[_original$] = this[_processed] = null; - this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); - return result; - } - [_process](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[88], 321, 43, "key"); - return Object.prototype.hasOwnProperty.call(object, key); - } - static _getProperty(object, 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[88], 324, 38, "key"); - return object[key] = value; - } - static _getPropertyNames(object) { - return Object.keys(object); - } - static _isUnprocessed(object) { - return typeof object == "undefined"; - } - static _newJavaScriptObject() { - return Object.create(null); - } -}; -(convert._JsonMap.new = function(_original) { - this[_processed] = convert._JsonMap._newJavaScriptObject(); - this[_data] = null; - this[_original$] = _original; - ; -}).prototype = convert._JsonMap.prototype; -dart.addTypeTests(convert._JsonMap); -dart.addTypeCaches(convert._JsonMap); -dart.setMethodSignature(convert._JsonMap, () => ({ - __proto__: dart.getMethods(convert._JsonMap.__proto__), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [_computeKeys]: dart.fnType(core.List$(core.String), []), - [_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), - [$keys]: core.Iterable$(core.String), - [_isUpgraded]: core.bool, - [_upgradedMap]: core.Map$(core.String, dart.dynamic) -})); -dart.setLibraryUri(convert._JsonMap, I[33]); -dart.setFieldSignature(convert._JsonMap, () => ({ - __proto__: dart.getFields(convert._JsonMap.__proto__), - [_original$]: dart.fieldType(dart.dynamic), - [_processed]: dart.fieldType(dart.dynamic), - [_data]: dart.fieldType(dart.dynamic) -})); -dart.defineExtensionMethods(convert._JsonMap, [ - '_get', - '_set', - 'addAll', - 'containsValue', - 'containsKey', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' -]); -dart.defineExtensionAccessors(convert._JsonMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' -]); -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[88], 340, 24, "index"); - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); - } - get iterator() { - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; - } - contains(key) { - return this[_parent$].containsKey(key); - } -}; -(convert._JsonMapKeyIterable.new = function(_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[33]); -dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ - __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), - [_parent$]: dart.finalFieldType(convert._JsonMap) -})); -dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); -dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); -var _reviver$ = dart.privateName(convert, "_reviver"); -var _sink$0 = dart.privateName(convert, "_sink"); -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[89], 162, 19, "str"); - this.addSlice(str, 0, str.length, false); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); - return new convert._Utf8ConversionSink.new(this, allowMalformed); - } - asStringSink() { - return new convert._StringConversionSinkAsStringSinkAdapter.new(this); - } -}; -(convert.StringConversionSinkMixin.new = function() { - ; -}).prototype = convert.StringConversionSinkMixin.prototype; -dart.addTypeTests(convert.StringConversionSinkMixin); -dart.addTypeCaches(convert.StringConversionSinkMixin); -convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; -dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ - __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), - asStringSink: dart.fnType(convert.ClosableStringSink, []) -})); -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[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[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)); - } - } else { - this[_stringSink$].write(str); - } - if (dart.test(isLast)) this.close(); - } - add(str) { - core.String.as(str); - if (str == null) dart.nullFailed(I[89], 194, 19, "str"); - this[_stringSink$].write(str); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); - return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); - } - asStringSink() { - return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); - } - } - (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); - this[_stringSink$] = _stringSink; - ; - }).prototype = _StringSinkConversionSink.prototype; - dart.addTypeTests(_StringSinkConversionSink); - _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; - dart.addTypeCaches(_StringSinkConversionSink); - dart.setMethodSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - dart.setLibraryUri(_StringSinkConversionSink, I[33]); - dart.setFieldSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getFields(_StringSinkConversionSink.__proto__), - [_stringSink$]: dart.finalFieldType(TStringSink) - })); - return _StringSinkConversionSink; -}); -convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); -dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); -var _contents = dart.privateName(core, "_contents"); -var _writeString = dart.privateName(core, "_writeString"); -core.StringBuffer = class StringBuffer extends core.Object { - [_writeString](str) { - this[_contents] = this[_contents] + str; - } - static _writeAll(string, objects, 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]) { - do { - string = core.StringBuffer._writeOne(string, iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - string = core.StringBuffer._writeOne(string, iterator.current); - while (dart.test(iterator.moveNext())) { - string = core.StringBuffer._writeOne(string, separator); - string = core.StringBuffer._writeOne(string, iterator.current); - } - } - return string; - } - 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; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - write(obj) { - this[_writeString](dart.str(obj)); - } - writeCharCode(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], 799, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); - this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); - } - writeln(obj = "") { - this[_writeString](dart.str(obj) + "\n"); - } - clear() { - this[_contents] = ""; - } - toString() { - return _js_helper.Primitives.flattenString(this[_contents]); - } -}; -(core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 783, 24, "content"); - this[_contents] = dart.str(content); - ; -}).prototype = core.StringBuffer.prototype; -dart.addTypeTests(core.StringBuffer); -dart.addTypeCaches(core.StringBuffer); -core.StringBuffer[dart.implements] = () => [core.StringSink]; -dart.setMethodSignature(core.StringBuffer, () => ({ - __proto__: dart.getMethods(core.StringBuffer.__proto__), - [_writeString]: dart.fnType(dart.void, [core.String]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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[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$]); - this[_stringSink$].clear(); - let decoded = convert._parseJson(accumulated, this[_reviver$]); - this[_sink$0].add(decoded); - this[_sink$0].close(); - } -}; -(convert._JsonDecoderSink.new = function(_reviver, _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("")); - ; -}).prototype = convert._JsonDecoderSink.prototype; -dart.addTypeTests(convert._JsonDecoderSink); -dart.addTypeCaches(convert._JsonDecoderSink); -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)]))), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) -})); -var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); -var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); -var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); -var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); -var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); -const _is_Codec_default = Symbol('_is_Codec_default'); -convert.Codec$ = dart.generic((S, T) => { - var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); - class Codec extends core.Object { - encode(input) { - S.as(input); - return this.encoder.convert(input); - } - decode(encoded) { - T.as(encoded); - return this.decoder.convert(encoded); - } - fuse(R, other) { - convert.Codec$(T, R).as(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 (__t$_InvertedCodecOfT$S()).new(this); - } - } - (Codec.new = function() { - ; - }).prototype = Codec.prototype; - dart.addTypeTests(Codec); - Codec.prototype[_is_Codec_default] = true; - dart.addTypeCaches(Codec); - dart.setMethodSignature(Codec, () => ({ - __proto__: dart.getMethods(Codec.__proto__), - encode: dart.fnType(T, [dart.nullable(core.Object)]), - decode: dart.fnType(S, [dart.nullable(core.Object)]), - fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Codec, () => ({ - __proto__: dart.getGetters(Codec.__proto__), - inverted: convert.Codec$(T, S) - })); - dart.setLibraryUri(Codec, I[33]); - return Codec; -}); -convert.Codec = convert.Codec$(); -dart.addTypeTests(convert.Codec, _is_Codec_default); -core.List$ = dart.generic(E => { - class List extends core.Object { - static new(length = null) { - let list = null; - if (length === void 0) { - list = []; - } else { - let _length = length; - if (length == null || _length < 0) { - dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); - } - list = new Array(_length); - list.fill(null); - _interceptors.JSArray.markFixedList(list); - } - 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], 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], 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], 576, 30, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - 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) { - list.push(e); - } - } else { - for (let e of elements) { - list.push(E.as(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], 598, 31, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); - let list = _interceptors.JSArray$(E).of([]); - for (let e of elements) { - list.push(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], 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"); - 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) { - result[i] = generator(i); - } - return result; - } - static unmodifiable(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[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[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) { - dart.throw("unreachable"); - } - let length = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(target[$length]) < dart.notNull(at) + length) { - dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); - } - if (source != target || dart.notNull(start) >= dart.notNull(at)) { - for (let i = 0; i < length; i = i + 1) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } else { - for (let i = length; (i = i - 1) >= 0;) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } - } - static writeIterable(T, target, at, 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.withLength(index, targetLength, {indexable: target})); - } - target[$_set](index, element); - index = dart.notNull(index) + 1; - } - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (List[dart.mixinNew] = function() { - }).prototype = List.prototype; - dart.addTypeTests(List); - List.prototype[dart.isList] = true; - dart.addTypeCaches(List); - List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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[91], 21, 49, "byteStream"); - return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - 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 (() => { - t152.write(string); - return t152; - })(); - }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); - return dart.toString(buffer); - }, T$0.StringBufferToString())); - } - static getByName(name) { - if (name == null) return null; - return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); - } -}; -(convert.Encoding.new = function() { - convert.Encoding.__proto__.new.call(this); - ; -}).prototype = convert.Encoding.prototype; -dart.addTypeTests(convert.Encoding); -dart.addTypeCaches(convert.Encoding); -dart.setMethodSignature(convert.Encoding, () => ({ - __proto__: dart.getMethods(convert.Encoding.__proto__), - decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) -})); -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]); - } -}, false); -convert.AsciiCodec = class AsciiCodec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid]; - } - 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[90], 41, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t152; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { - return (C[87] || CT.C87).convert(bytes); - } else { - return (C[88] || CT.C88).convert(bytes); - } - } - get encoder() { - return C[89] || CT.C89; - } - get decoder() { - 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[90], 36, 26, "allowInvalid"); - this[_allowInvalid] = allowInvalid; - convert.AsciiCodec.__proto__.new.call(this); - ; -}).prototype = convert.AsciiCodec.prototype; -dart.addTypeTests(convert.AsciiCodec); -dart.addTypeCaches(convert.AsciiCodec); -dart.setMethodSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getMethods(convert.AsciiCodec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getGetters(convert.AsciiCodec.__proto__), - name: core.String, - encoder: convert.AsciiEncoder, - decoder: convert.AsciiDecoder -})); -dart.setLibraryUri(convert.AsciiCodec, I[33]); -dart.setFieldSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getFields(convert.AsciiCodec.__proto__), - [_allowInvalid$]: dart.finalFieldType(core.bool) -})); -var _subsetMask$ = dart.privateName(convert, "_subsetMask"); -const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; -convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { - get [_subsetMask$]() { - return this[_subsetMask$0]; - } - 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[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); - 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) { - let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); - } - result[$_set](i, codeUnit); - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[90], 103, 41, "stream"); - return super.bind(stream); - } -}; -(convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); - this[_subsetMask$0] = _subsetMask; - convert._UnicodeSubsetEncoder.__proto__.new.call(this); - ; -}).prototype = convert._UnicodeSubsetEncoder.prototype; -dart.addTypeTests(convert._UnicodeSubsetEncoder); -dart.addTypeCaches(convert._UnicodeSubsetEncoder); -dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), - 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[33]); -dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), - [_subsetMask$]: dart.finalFieldType(core.int) -})); -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[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[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); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); - } - } - this[_sink$0].add(source[$codeUnits][$sublist](start, end)); - if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _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; - ; -}).prototype = convert._UnicodeSubsetEncoderSink.prototype; -dart.addTypeTests(convert._UnicodeSubsetEncoderSink); -dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); -dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); -dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_subsetMask$]: dart.finalFieldType(core.int) -})); -var _convertInvalid = dart.privateName(convert, "_convertInvalid"); -const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; -const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; -convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowInvalid$]() { - return this[_allowInvalid$0]; - } - set [_allowInvalid$](value) { - super[_allowInvalid$] = value; - } - get [_subsetMask$]() { - return this[_subsetMask$1]; - } - set [_subsetMask$](value) { - super[_subsetMask$] = value; - } - convert(bytes, start = 0, end = null) { - T$0.ListOfint().as(bytes); - 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]); - 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) { - if (!dart.test(this[_allowInvalid$])) { - dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); - } - return this[_convertInvalid](bytes, start, end); - } - } - return core.String.fromCharCodes(bytes, start, end); - } - [_convertInvalid](bytes, start, 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); - if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; - buffer.writeCharCode(value); - } - return buffer.toString(); - } - bind(stream) { - T$0.StreamOfListOfint().as(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[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); - ; -}).prototype = convert._UnicodeSubsetDecoder.prototype; -dart.addTypeTests(convert._UnicodeSubsetDecoder); -dart.addTypeCaches(convert._UnicodeSubsetDecoder); -dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), - 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[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[90], 237, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (dart.test(this[_allowInvalid$])) { - return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); - } else { - return new convert._SimpleAsciiDecoderSink.new(stringSink); - } - } -}; -(convert.AsciiDecoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); - convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); - ; -}).prototype = convert.AsciiDecoder.prototype; -dart.addTypeTests(convert.AsciiDecoder); -dart.addTypeCaches(convert.AsciiDecoder); -dart.setMethodSignature(convert.AsciiDecoder, () => ({ - __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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 { - 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; - dart.addTypeTests(ChunkedConversionSink); - ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; - dart.addTypeCaches(ChunkedConversionSink); - ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - 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)) { - 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.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[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(); - } -}; -(convert.ByteConversionSinkBase.new = function() { - convert.ByteConversionSinkBase.__proto__.new.call(this); - ; -}).prototype = convert.ByteConversionSinkBase.prototype; -dart.addTypeTests(convert.ByteConversionSinkBase); -dart.addTypeCaches(convert.ByteConversionSinkBase); -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[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[90], 264, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - addSlice(source, start, end, 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[90] || CT.C90); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_utf8Sink$].addSlice(source, start, end, isLast); - } else if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); - this[_utf8Sink$] = _utf8Sink; - convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; -dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); -dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); -dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[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.")); - } - } - this[_sink$0].add(core.String.fromCharCodes(source)); - } - addSlice(source, start, end, 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)) { - if (start !== 0 || end != length) { - source = source[$sublist](start, end); - } - this.add(source); - } - if (dart.test(isLast)) this.close(); - } -}; -(convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); - this[_sink$0] = _sink; - convert._SimpleAsciiDecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._SimpleAsciiDecoderSink.prototype; -dart.addTypeTests(convert._SimpleAsciiDecoderSink); -dart.addTypeCaches(convert._SimpleAsciiDecoderSink); -dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); -dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), - [_sink$0]: dart.fieldType(core.Sink) -})); -var _encoder = dart.privateName(convert, "Base64Codec._encoder"); -var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); -var _encoder$ = dart.privateName(convert, "_encoder"); -convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { - get [_encoder$]() { - return this[_encoder]; - } - 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[93] || CT.C93; - } - decode(encoded) { - core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); - return this.decoder.convert(encoded); - } - normalize(source, start = 0, end = null) { - 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); - let buffer = null; - let sliceStart = start; - let alphabet = convert._Base64Encoder._base64Alphabet; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - let firstPadding = -1; - let firstPaddingSourceIndex = -1; - let paddingCount = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end);) { - let sliceEnd = i; - 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)) { - char = _internal.parseHexByte(source, i); - i = dart.notNull(i) + 2; - if (char === 37) char = -1; - } else { - char = -1; - } - } - if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { - let value = inverseAlphabet[$_get](char); - if (dart.notNull(value) >= 0) { - char = alphabet[$codeUnitAt](value); - if (char == originalChar) continue; - } else if (value === -1) { - if (firstPadding < 0) { - 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) { - t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); - (() => { - t152$2.write(source[$substring](sliceStart, sliceEnd)); - t152$2.writeCharCode(char); - return t152$2; - })(); - sliceStart = i; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); - } - if (buffer != null) { - buffer.write(source[$substring](sliceStart, end)); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); - } else { - let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - while (endLength < 4) { - buffer.write("="); - endLength = endLength + 1; - } - } - return source[$replaceRange](start, end, dart.toString(buffer)); - } - let length = dart.notNull(end) - dart.notNull(start); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); - } else { - let endLength = length[$modulo](4); - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - if (endLength > 1) { - source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); - } - } - return source; - } - static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, 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)); - } - if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { - dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); - } - if (dart.notNull(paddingCount) > 2) { - dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); - } - } -}; -(convert.Base64Codec.new = function() { - this[_encoder] = C[91] || CT.C91; - convert.Base64Codec.__proto__.new.call(this); - ; -}).prototype = convert.Base64Codec.prototype; -(convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[92] || CT.C92; - convert.Base64Codec.__proto__.new.call(this); - ; -}).prototype = convert.Base64Codec.prototype; -dart.addTypeTests(convert.Base64Codec); -dart.addTypeCaches(convert.Base64Codec); -dart.setMethodSignature(convert.Base64Codec, () => ({ - __proto__: dart.getMethods(convert.Base64Codec.__proto__), - 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[33]); -dart.setFieldSignature(convert.Base64Codec, () => ({ - __proto__: dart.getFields(convert.Base64Codec.__proto__), - [_encoder$]: dart.finalFieldType(convert.Base64Encoder) -})); -var _urlSafe = dart.privateName(convert, "_urlSafe"); -const _urlSafe$ = Base64Encoder__urlSafe; -convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_urlSafe]() { - return this[_urlSafe$]; - } - 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[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)); - return core.String.fromCharCodes(buffer); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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]); - } - return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); - } -}; -(convert.Base64Encoder.new = function() { - this[_urlSafe$] = false; - convert.Base64Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Encoder.prototype; -(convert.Base64Encoder.urlSafe = function() { - this[_urlSafe$] = true; - convert.Base64Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Encoder.prototype; -dart.addTypeTests(convert.Base64Encoder); -dart.addTypeCaches(convert.Base64Encoder); -dart.setMethodSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getMethods(convert.Base64Encoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(convert.Base64Encoder, I[33]); -dart.setFieldSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getFields(convert.Base64Encoder.__proto__), - [_urlSafe]: dart.finalFieldType(core.bool) -})); -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[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[96], 293, 29, "state"); - return state[$rightShift](2); - } - static _stateCount(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[96], 299, 30, "bufferLength"); - return _native_typed_data.NativeUint8List.new(bufferLength); - } - encode(bytes, start, end, isLast) { - 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; - let fullChunks = (byteCount / 3)[$truncate](); - let partialChunkLength = byteCount - fullChunks * 3; - let bufferLength = fullChunks * 4; - if (dart.test(isLast) && partialChunkLength > 0) { - bufferLength = bufferLength + 4; - } - let output = this.createBuffer(bufferLength); - this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); - if (bufferLength > 0) return output; - return null; - } - static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, 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; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let byte = bytes[$_get](i); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; - expectedChars = expectedChars - 1; - if (expectedChars === 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; - } - } - if (byteOr >= 0 && byteOr <= 255) { - if (dart.test(isLast) && expectedChars < 3) { - convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); - return 0; - } - return convert._Base64Encoder._encodeState(3 - expectedChars, bits); - } - let i = start; - while (dart.notNull(i) < dart.notNull(end)) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; - i = dart.notNull(i) + 1; - } - 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 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]((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[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[96], 283, 23, "urlSafe"); - this[_state$0] = 0; - this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; - ; -}).prototype = convert._Base64Encoder.prototype; -dart.addTypeTests(convert._Base64Encoder); -dart.addTypeCaches(convert._Base64Encoder); -dart.setMethodSignature(convert._Base64Encoder, () => ({ - __proto__: dart.getMethods(convert._Base64Encoder.__proto__), - 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.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+/"; - }, - /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*convert._Base64Encoder._valueShift*/get _valueShift() { - return 2; - }, - /*convert._Base64Encoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { - return 63; - } -}, 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[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); - } - return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); - } -}; -(convert._BufferCachingBase64Encoder.new = function(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[33]); -dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ - __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), - bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) -})); -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[96], 420, 22, "source"); - this[_add$0](source, 0, source[$length], false); - } - close() { - this[_add$0](C[94] || CT.C94, 0, 0, true); - } - addSlice(source, start, end, 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); - } -}; -(convert._Base64EncoderSink.new = function() { - convert._Base64EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Base64EncoderSink.prototype; -dart.addTypeTests(convert._Base64EncoderSink); -dart.addTypeCaches(convert._Base64EncoderSink); -dart.setMethodSignature(convert._Base64EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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[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); - this[_sink$0].add(string); - } - if (dart.test(isLast)) { - this[_sink$0].close(); - } - } -}; -(convert._AsciiBase64EncoderSink.new = function(_sink, 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); - ; -}).prototype = convert._AsciiBase64EncoderSink.prototype; -dart.addTypeTests(convert._AsciiBase64EncoderSink); -dart.addTypeCaches(convert._AsciiBase64EncoderSink); -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[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[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); - } - } -}; -(convert._Utf8Base64EncoderSink.new = function(_sink, 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); - ; -}).prototype = convert._Utf8Base64EncoderSink.prototype; -dart.addTypeTests(convert._Utf8Base64EncoderSink); -dart.addTypeCaches(convert._Utf8Base64EncoderSink); -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[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[96], 505, 28, "input"); - if (start == null) dart.nullFailed(I[96], 505, 40, "start"); - end = core.RangeError.checkValidRange(start, end, input.length); - 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)); - decoder.close(input, end); - return buffer; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); - return new convert._Base64DecoderSink.new(sink); - } -}; -(convert.Base64Decoder.new = function() { - convert.Base64Decoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Decoder.prototype; -dart.addTypeTests(convert.Base64Decoder); -dart.addTypeCaches(convert.Base64Decoder); -dart.setMethodSignature(convert.Base64Decoder, () => ({ - __proto__: dart.getMethods(convert.Base64Decoder.__proto__), - 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[33]); -convert._Base64Decoder = class _Base64Decoder extends core.Object { - static _encodeCharacterState(count, bits) { - 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[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[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[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[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[96], 612, 35, "state"); - return dart.notNull(state) < 0; - } - decode(input, start, end) { - 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; - } - if (start == end) return _native_typed_data.NativeUint8List.new(0); - let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); - this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); - return buffer; - } - close(input, end) { - if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { - dart.throw(new core.FormatException.new("Missing padding character", input, end)); - } - if (dart.notNull(this[_state$0]) > 0) { - dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); - } - this[_state$0] = convert._Base64Decoder._encodePaddingState(0); - } - static decodeChunk(input, start, end, output, outIndex, 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; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = input[$codeUnitAt](i); - charOr = (charOr | char) >>> 0; - let code = inverseAlphabet[$_get]((char & 127) >>> 0); - if (dart.notNull(code) >= 0) { - 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[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; - } else if (code === -1 && dart.notNull(count) > 1) { - if (charOr < 0 || charOr > 127) break; - if (count === 3) { - if ((dart.notNull(bits) & 3) !== 0) { - dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); - } - 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]((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; - state = convert._Base64Decoder._encodePaddingState(expectedPadding); - return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); - } - dart.throw(new core.FormatException.new("Invalid character", input, i)); - } - if (charOr >= 0 && charOr <= 127) { - return convert._Base64Decoder._encodeCharacterState(count, bits); - } - let i = null; - 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[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; - let remainderLength = length & 3; - if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { - bufferLength = bufferLength + (remainderLength - 1); - } - if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); - return convert._Base64Decoder._emptyBuffer; - } - static _trimPaddingChars(input, start, 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; - while (dart.notNull(index) > dart.notNull(start) && padding < 2) { - index = dart.notNull(index) - 1; - let char = input[$codeUnitAt](index); - if (char === 61) { - padding = padding + 1; - newEnd = index; - continue; - } - if ((char | 32) >>> 0 === 100) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 51) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 37) { - padding = padding + 1; - newEnd = index; - continue; - } - break; - } - return newEnd; - } - static _checkPadding(input, start, end, 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[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) { - if (char === 61) { - expectedPadding = dart.notNull(expectedPadding) - 3; - start = dart.notNull(start) + 1; - break; - } - if (char === 37) { - expectedPadding = dart.notNull(expectedPadding) - 1; - start = dart.notNull(start) + 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } else { - break; - } - } - let expectedPartialPadding = expectedPadding; - if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; - if (expectedPartialPadding === 2) { - if (char !== 51) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } - if ((char | 32) >>> 0 !== 100) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - } - if (start != end) { - dart.throw(new core.FormatException.new("Invalid padding character", input, start)); - } - return convert._Base64Decoder._encodePaddingState(expectedPadding); - } - static ['_#new#tearOff']() { - return new convert._Base64Decoder.new(); - } -}; -(convert._Base64Decoder.new = function() { - this[_state$0] = 0; - ; -}).prototype = convert._Base64Decoder.prototype; -dart.addTypeTests(convert._Base64Decoder); -dart.addTypeCaches(convert._Base64Decoder); -dart.setMethodSignature(convert._Base64Decoder, () => ({ - __proto__: dart.getMethods(convert._Base64Decoder.__proto__), - 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.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; - }, - /*convert._Base64Decoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Decoder._invalid*/get _invalid() { - return -2; - }, - /*convert._Base64Decoder._padding*/get _padding() { - return -1; - }, - /*convert._Base64Decoder.___*/get ___() { - return -2; - }, - /*convert._Base64Decoder._p*/get _p() { - return -1; - }, - /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { - return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -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])); - }, - /*convert._Base64Decoder._char_percent*/get _char_percent() { - return 37; - }, - /*convert._Base64Decoder._char_3*/get _char_3() { - return 51; - }, - /*convert._Base64Decoder._char_d*/get _char_d() { - return 100; - }, - /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { - return _native_typed_data.NativeUint8List.new(0); - }, - 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[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); - } - close() { - this[_decoder].close(null, null); - this[_sink$0].close(); - } - addSlice(string, start, end, 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); - if (buffer != null) this[_sink$0].add(buffer); - if (dart.test(isLast)) { - this[_decoder].close(string, end); - this[_sink$0].close(); - } - } -}; -(convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); - this[_decoder] = new convert._Base64Decoder.new(); - this[_sink$0] = _sink; - ; -}).prototype = convert._Base64DecoderSink.prototype; -dart.addTypeTests(convert._Base64DecoderSink); -dart.addTypeCaches(convert._Base64DecoderSink); -dart.setMethodSignature(convert._Base64DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -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[94], 57, 22, "chunk"); - this[_sink$0].add(chunk); - } - close() { - this[_sink$0].close(); - } -}; -(convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); - this[_sink$0] = _sink; - convert._ByteAdapterSink.__proto__.new.call(this); - ; -}).prototype = convert._ByteAdapterSink.prototype; -dart.addTypeTests(convert._ByteAdapterSink); -dart.addTypeCaches(convert._ByteAdapterSink); -dart.setMethodSignature(convert._ByteAdapterSink, () => ({ - __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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))) -})); -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[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]; - let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; - let grown = _native_typed_data.NativeUint8List.new(newLength); - grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); - this[_buffer$] = grown; - } - this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); - this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); - } - static _roundToPowerOf2(v) { - 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; - v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; - v = dart.notNull(v) + 1; - return v; - } - close() { - let t153; - t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t153); - } -}; -(convert._ByteCallbackSink.new = function(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; - convert._ByteCallbackSink.__proto__.new.call(this); - ; -}).prototype = convert._ByteCallbackSink.prototype; -dart.addTypeTests(convert._ByteCallbackSink); -dart.addTypeCaches(convert._ByteCallbackSink); -dart.setMethodSignature(convert._ByteCallbackSink, () => ({ - __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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; - } -}, false); -var _accumulated = dart.privateName(convert, "_accumulated"); -const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); -convert._SimpleCallbackSink$ = dart.generic(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 t153; - t153 = this[_accumulated]; - this[_callback$](t153); - } - } - (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); - this[_accumulated] = __t$JSArrayOfT().of([]); - this[_callback$] = _callback; - _SimpleCallbackSink.__proto__.new.call(this); - ; - }).prototype = _SimpleCallbackSink.prototype; - dart.addTypeTests(_SimpleCallbackSink); - _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; - dart.addTypeCaches(_SimpleCallbackSink); - dart.setMethodSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SimpleCallbackSink, I[33]); - dart.setFieldSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getFields(_SimpleCallbackSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), - [_accumulated]: dart.finalFieldType(core.List$(T)) - })); - return _SimpleCallbackSink; -}); -convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); -dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); -var _eventSink = dart.privateName(convert, "_eventSink"); -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[95], 75, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - this[_eventSink].addError(error, stackTrace); - } - close() { - this[_chunkedSink$].close(); - } - } - (_ConverterStreamEventSink.new = function(converter, 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); - ; - }).prototype = _ConverterStreamEventSink.prototype; - dart.addTypeTests(_ConverterStreamEventSink); - _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; - dart.addTypeCaches(_ConverterStreamEventSink); - _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ConverterStreamEventSink, I[33]); - dart.setFieldSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(T)), - [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) - })); - return _ConverterStreamEventSink; -}); -convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); -dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); -var _first$0 = dart.privateName(convert, "_first"); -var _second$0 = dart.privateName(convert, "_second"); -const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); -convert._FusedCodec$ = dart.generic((S, M, T) => { - class _FusedCodec extends convert.Codec$(S, T) { - get encoder() { - return this[_first$0].encoder.fuse(T, this[_second$0].encoder); - } - 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[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); - ; - }).prototype = _FusedCodec.prototype; - dart.addTypeTests(_FusedCodec); - _FusedCodec.prototype[_is__FusedCodec_default] = true; - dart.addTypeCaches(_FusedCodec); - dart.setGetterSignature(_FusedCodec, () => ({ - __proto__: dart.getGetters(_FusedCodec.__proto__), - encoder: convert.Converter$(S, T), - decoder: convert.Converter$(T, S) - })); - dart.setLibraryUri(_FusedCodec, I[33]); - dart.setFieldSignature(_FusedCodec, () => ({ - __proto__: dart.getFields(_FusedCodec.__proto__), - [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), - [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) - })); - return _FusedCodec; -}); -convert._FusedCodec = convert._FusedCodec$(); -dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); -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; - } - get decoder() { - return this[_codec].encoder; - } - get inverted() { - return this[_codec]; - } - } - (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); - this[_codec] = codec; - _InvertedCodec.__proto__.new.call(this); - ; - }).prototype = _InvertedCodec.prototype; - dart.addTypeTests(_InvertedCodec); - _InvertedCodec.prototype[_is__InvertedCodec_default] = true; - dart.addTypeCaches(_InvertedCodec); - dart.setGetterSignature(_InvertedCodec, () => ({ - __proto__: dart.getGetters(_InvertedCodec.__proto__), - encoder: convert.Converter$(T, S), - decoder: convert.Converter$(S, T) - })); - dart.setLibraryUri(_InvertedCodec, I[33]); - dart.setFieldSignature(_InvertedCodec, () => ({ - __proto__: dart.getFields(_InvertedCodec.__proto__), - [_codec]: dart.finalFieldType(convert.Codec$(S, T)) - })); - return _InvertedCodec; -}); -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 __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) { - __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[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); - ; - }).prototype = _FusedConverter.prototype; - dart.addTypeTests(_FusedConverter); - _FusedConverter.prototype[_is__FusedConverter_default] = true; - dart.addTypeCaches(_FusedConverter); - dart.setMethodSignature(_FusedConverter, () => ({ - __proto__: dart.getMethods(_FusedConverter.__proto__), - convert: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_FusedConverter, I[33]); - dart.setFieldSignature(_FusedConverter, () => ({ - __proto__: dart.getFields(_FusedConverter.__proto__), - [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), - [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) - })); - return _FusedConverter; -}); -convert._FusedConverter = convert._FusedConverter$(); -dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); -var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); -var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); -var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); -var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); -var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); -var _name$3 = dart.privateName(convert, "_name"); -convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { - get [_name$3]() { - return this[_name$2]; - } - set [_name$3](value) { - super[_name$3] = value; - } - get escapeLtGt() { - return this[escapeLtGt$]; - } - set escapeLtGt(value) { - super.escapeLtGt = value; - } - get escapeQuot() { - return this[escapeQuot$]; - } - set escapeQuot(value) { - super.escapeQuot = value; - } - get escapeApos() { - return this[escapeApos$]; - } - set escapeApos(value) { - super.escapeApos = value; - } - get escapeSlash() { - return this[escapeSlash$]; - } - 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[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; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - ; -}).prototype = convert.HtmlEscapeMode.prototype; -(convert.HtmlEscapeMode.new = function(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"); - this[escapeLtGt$] = escapeLtGt; - this[escapeQuot$] = escapeQuot; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - this[_name$2] = name; - ; -}).prototype = convert.HtmlEscapeMode.prototype; -dart.addTypeTests(convert.HtmlEscapeMode); -dart.addTypeCaches(convert.HtmlEscapeMode); -dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); -dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ - __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), - [_name$3]: dart.finalFieldType(core.String), - escapeLtGt: dart.finalFieldType(core.bool), - escapeQuot: dart.finalFieldType(core.bool), - 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[95] || CT.C95; - }, - /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[96] || CT.C96; - }, - /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[97] || CT.C97; - }, - /*convert.HtmlEscapeMode.element*/get element() { - return C[98] || CT.C98; - } -}, false); -var mode$ = dart.privateName(convert, "HtmlEscape.mode"); -var _convert = dart.privateName(convert, "_convert"); -convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { - get mode() { - return this[mode$]; - } - 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[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[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; - } - case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } - case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } - case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } - case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } - case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } - } - if (replacement != null) { - result == null ? result = new core.StringBuffer.new() : null; - if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); - result.write(replacement); - start = dart.notNull(i) + 1; - } - } - if (result == null) return null; - if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); - return dart.toString(result); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[95] || CT.C95) { - if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); - this[mode$] = mode; - convert.HtmlEscape.__proto__.new.call(this); - ; -}).prototype = convert.HtmlEscape.prototype; -dart.addTypeTests(convert.HtmlEscape); -dart.addTypeCaches(convert.HtmlEscape); -dart.setMethodSignature(convert.HtmlEscape, () => ({ - __proto__: dart.getMethods(convert.HtmlEscape.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - [_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[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[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); - } else { - this[_sink$0].add(val); - if (dart.test(isLast)) this[_sink$0].close(); - } - } - close() { - this[_sink$0].close(); - } -}; -(convert._HtmlEscapeSink.new = function(_escape, _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; - ; -}).prototype = convert._HtmlEscapeSink.prototype; -dart.addTypeTests(convert._HtmlEscapeSink); -dart.addTypeCaches(convert._HtmlEscapeSink); -dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); -dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), - [_escape$]: dart.finalFieldType(convert.HtmlEscape), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink) -})); -var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); -var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); -var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); -convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { - get unsupportedObject() { - return this[unsupportedObject$]; - } - set unsupportedObject(value) { - super.unsupportedObject = value; - } - get cause() { - return this[cause$]; - } - set cause(value) { - super.cause = value; - } - get partialResult() { - return this[partialResult$]; - } - 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; - if (this.cause != null) { - prefix = "Converting object to an encodable object failed:"; - } else { - prefix = "Converting object did not return an encodable object:"; - } - return dart.str(prefix) + " " + dart.str(safeString); - } -}; -(convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { - let cause = opts && 'cause' in opts ? opts.cause : null; - let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; - this[unsupportedObject$] = unsupportedObject; - this[cause$] = cause; - this[partialResult$] = partialResult; - convert.JsonUnsupportedObjectError.__proto__.new.call(this); - ; -}).prototype = convert.JsonUnsupportedObjectError.prototype; -dart.addTypeTests(convert.JsonUnsupportedObjectError); -dart.addTypeCaches(convert.JsonUnsupportedObjectError); -dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); -dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ - __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), - unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), - cause: dart.finalFieldType(dart.nullable(core.Object)), - partialResult: dart.finalFieldType(dart.nullable(core.String)) -})); -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"; - } -}; -(convert.JsonCyclicError.new = function(object) { - convert.JsonCyclicError.__proto__.new.call(this, object); - ; -}).prototype = convert.JsonCyclicError.prototype; -dart.addTypeTests(convert.JsonCyclicError); -dart.addTypeCaches(convert.JsonCyclicError); -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"); -var _toEncodable$ = dart.privateName(convert, "_toEncodable"); -var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); -var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); -var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); -convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { - get [_reviver$]() { - return this[_reviver]; - } - set [_reviver$](value) { - super[_reviver$] = value; - } - get [_toEncodable$]() { - return this[_toEncodable]; - } - 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[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); - return new convert.JsonDecoder.new(reviver).convert(source); - } - encode(value, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - toEncodable == null ? toEncodable = this[_toEncodable$] : null; - if (toEncodable == null) return this.encoder.convert(value); - return new convert.JsonEncoder.new(toEncodable).convert(value); - } - get encoder() { - if (this[_toEncodable$] == null) return C[99] || CT.C99; - return new convert.JsonEncoder.new(this[_toEncodable$]); - } - get decoder() { - if (this[_reviver$] == null) return C[100] || CT.C100; - return new convert.JsonDecoder.new(this[_reviver$]); - } -}; -(convert.JsonCodec.new = function(opts) { - let reviver = opts && 'reviver' in opts ? opts.reviver : null; - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - this[_reviver] = reviver; - this[_toEncodable] = toEncodable; - convert.JsonCodec.__proto__.new.call(this); - ; -}).prototype = convert.JsonCodec.prototype; -(convert.JsonCodec.withReviver = function(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); -dart.addTypeCaches(convert.JsonCodec); -dart.setMethodSignature(convert.JsonCodec, () => ({ - __proto__: dart.getMethods(convert.JsonCodec.__proto__), - decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), - encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) -})); -dart.setGetterSignature(convert.JsonCodec, () => ({ - __proto__: dart.getGetters(convert.JsonCodec.__proto__), - encoder: convert.JsonEncoder, - decoder: convert.JsonDecoder -})); -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)]))), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) -})); -const indent$ = JsonEncoder_indent; -const _toEncodable$0 = JsonEncoder__toEncodable; -convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { - get indent() { - return this[indent$]; - } - set indent(value) { - super.indent = value; - } - get [_toEncodable$]() { - return this[_toEncodable$0]; - } - 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[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); - } - return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); - } - bind(stream) { - T$0.StreamOfObjectN().as(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[98], 371, 54, "other"); - if (convert.Utf8Encoder.is(other)) { - return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); - } - return super.fuse(T, other); - } -}; -(convert.JsonEncoder.new = function(toEncodable = null) { - this[indent$] = null; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonEncoder.prototype; -(convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { - this[indent$] = indent; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonEncoder.prototype; -dart.addTypeTests(convert.JsonEncoder); -dart.addTypeCaches(convert.JsonEncoder); -dart.setMethodSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getMethods(convert.JsonEncoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - 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[33]); -dart.setFieldSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getFields(convert.JsonEncoder.__proto__), - indent: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) -})); -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); - L0: { - for (let i = 0; i < string.length; i = i + 1) { - if (string[$codeUnitAt](i) >= 128) break L0; - } - return string[$codeUnits]; - } - return convert.utf8.encode(string); - } - convert(object) { - let bytes = T$0.JSArrayOfListOfint().of([]); - function addChunk(chunk, start, 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); - } - bytes[$add](chunk); - } - dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); - if (bytes[$length] === 1) return bytes[$_get](0); - let length = 0; - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - length = length + dart.notNull(bytes[$_get](i)[$length]); - } - let result = _native_typed_data.NativeUint8List.new(length); - for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byteList = bytes[$_get](i); - let end = offset + dart.notNull(byteList[$length]); - result[$setRange](offset, end, byteList); - offset = end; - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); - let byteSink = null; - if (convert.ByteConversionSink.is(sink)) { - byteSink = sink; - } else { - byteSink = new convert._ByteAdapterSink.new(sink); - } - return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); - } - bind(stream) { - T$0.StreamOfObjectN().as(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 t153; - this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); - this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); - convert.JsonUtf8Encoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonUtf8Encoder.prototype; -dart.addTypeTests(convert.JsonUtf8Encoder); -dart.addTypeCaches(convert.JsonUtf8Encoder); -dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ - __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), - 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.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; - } -}, 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")); - } - this[_isDone] = true; - let stringSink = this[_sink$0].asStringSink(); - convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); - stringSink.close(); - } - close() { - } -}; -(convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); - this[_isDone] = false; - this[_sink$0] = _sink; - this[_toEncodable$] = _toEncodable; - this[_indent$] = _indent; - convert._JsonEncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._JsonEncoderSink.prototype; -dart.addTypeTests(convert._JsonEncoderSink); -dart.addTypeCaches(convert._JsonEncoderSink); -dart.setMethodSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._JsonEncoderSink, I[33]); -dart.setFieldSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), - [_indent$]: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_isDone]: dart.fieldType(core.bool) -})); -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[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) { - if (dart.test(this[_isDone])) { - dart.throw(new core.StateError.new("Only one call to add allowed")); - } - this[_isDone] = true; - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); - this[_sink$0].close(); - } - close() { - if (!dart.test(this[_isDone])) { - this[_isDone] = true; - this[_sink$0].close(); - } - } -}; -(convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _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; - this[_indent$] = _indent; - this[_bufferSize$] = _bufferSize; - convert._JsonUtf8EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._JsonUtf8EncoderSink.prototype; -dart.addTypeTests(convert._JsonUtf8EncoderSink); -dart.addTypeCaches(convert._JsonUtf8EncoderSink); -dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), - [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); -dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_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), - [_isDone]: dart.fieldType(core.bool) -})); -const _reviver$0 = JsonDecoder__reviver; -convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { - get [_reviver$]() { - return this[_reviver$0]; - } - 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[98], 610, 26, "input"); - return convert._parseJson(input, this[_reviver$]); - } - startChunkedConversion(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[98], 618, 39, "stream"); - return super.bind(stream); - } -}; -(convert.JsonDecoder.new = function(reviver = null) { - this[_reviver$0] = reviver; - convert.JsonDecoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonDecoder.prototype; -dart.addTypeTests(convert.JsonDecoder); -dart.addTypeCaches(convert.JsonDecoder); -dart.setMethodSignature(convert.JsonDecoder, () => ({ - __proto__: dart.getMethods(convert.JsonDecoder.__proto__), - 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[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)]))) -})); -var _seen = dart.privateName(convert, "_seen"); -var _checkCycle = dart.privateName(convert, "_checkCycle"); -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[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[98], 682, 34, "s"); - let offset = 0; - let length = s.length; - for (let i = 0; i < length; i = i + 1) { - let charCode = s[$codeUnitAt](i); - if (charCode > 92) { - if (charCode >= 55296) { - if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(117); - this.writeCharCode(100); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - } - } - continue; - } - if (charCode < 32) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - switch (charCode) { - case 8: - { - this.writeCharCode(98); - break; - } - case 9: - { - this.writeCharCode(116); - break; - } - case 10: - { - this.writeCharCode(110); - break; - } - case 12: - { - this.writeCharCode(102); - break; - } - case 13: - { - 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; - } - } - } else if (charCode === 34 || charCode === 92) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(charCode); - } - } - if (offset === 0) { - this.writeString(s); - } else if (offset < length) { - this.writeStringSlice(s, offset, length); - } - } - [_checkCycle](object) { - for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { - if (core.identical(object, this[_seen][$_get](i))) { - dart.throw(new convert.JsonCyclicError.new(object)); - } - } - this[_seen][$add](object); - } - [_removeSeen](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 t153; - if (dart.test(this.writeJsonValue(object))) return; - this[_checkCycle](object); - try { - let customJson = (t153 = object, this[_toEncodable$](t153)); - if (!dart.test(this.writeJsonValue(customJson))) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); - } - this[_removeSeen](object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); - } else - throw e$; - } - } - writeJsonValue(object) { - if (typeof object == 'number') { - if (!object[$isFinite]) return false; - this.writeNumber(object); - return true; - } else if (object === true) { - this.writeString("true"); - return true; - } else if (object === false) { - this.writeString("false"); - return true; - } else if (object == null) { - this.writeString("null"); - return true; - } else if (typeof object == 'string') { - this.writeString("\""); - this.writeStringContent(object); - this.writeString("\""); - return true; - } else if (core.List.is(object)) { - this[_checkCycle](object); - this.writeList(object); - this[_removeSeen](object); - return true; - } else if (core.Map.is(object)) { - this[_checkCycle](object); - let success = this.writeMap(object); - this[_removeSeen](object); - return success; - } else { - return false; - } - } - writeList(list) { - if (list == null) dart.nullFailed(I[98], 838, 32, "list"); - this.writeString("["); - if (dart.test(list[$isNotEmpty])) { - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(","); - this.writeObject(list[$_get](i)); - } - } - this.writeString("]"); - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 851, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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("{"); - let separator = "\""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\""; - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\":"); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("}"); - return true; - } -}; -(convert._JsonStringifier.new = function(toEncodable) { - let t153; - this[_seen] = []; - this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); - ; -}).prototype = convert._JsonStringifier.prototype; -dart.addTypeTests(convert._JsonStringifier); -dart.addTypeCaches(convert._JsonStringifier); -dart.setMethodSignature(convert._JsonStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringifier.__proto__), - writeStringContent: dart.fnType(dart.void, [core.String]), - [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - 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.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; - }, - /*convert._JsonStringifier.tab*/get tab() { - return 9; - }, - /*convert._JsonStringifier.newline*/get newline() { - return 10; - }, - /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { - return 13; - }, - /*convert._JsonStringifier.formFeed*/get formFeed() { - return 12; - }, - /*convert._JsonStringifier.quote*/get quote() { - return 34; - }, - /*convert._JsonStringifier.char_0*/get char_0() { - return 48; - }, - /*convert._JsonStringifier.backslash*/get backslash() { - return 92; - }, - /*convert._JsonStringifier.char_b*/get char_b() { - return 98; - }, - /*convert._JsonStringifier.char_d*/get char_d() { - return 100; - }, - /*convert._JsonStringifier.char_f*/get char_f() { - return 102; - }, - /*convert._JsonStringifier.char_n*/get char_n() { - return 110; - }, - /*convert._JsonStringifier.char_r*/get char_r() { - return 114; - }, - /*convert._JsonStringifier.char_t*/get char_t() { - return 116; - }, - /*convert._JsonStringifier.char_u*/get char_u() { - return 117; - }, - /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { - return 55296; - }, - /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { - return 64512; - }, - /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { - return 55296; - }, - /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { - return 56320; - } -}, false); -var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); -var _indentLevel$ = dart.privateName(convert, "_indentLevel"); -convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { - get [_indentLevel$]() { - 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[98], 891, 32, "list"); - if (dart.test(list[$isEmpty])) { - this.writeString("[]"); - } else { - this.writeString("[\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(",\n"); - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](i)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("]"); - } - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 911, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - let separator = ""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\n"; - this.writeIndentation(this[_indentLevel$]); - this.writeString("\""); - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\": "); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("}"); - return true; - } -}; -(convert._JsonPrettyPrintMixin.new = function() { - this[_indentLevel] = 0; - ; -}).prototype = convert._JsonPrettyPrintMixin.prototype; -dart.addTypeTests(convert._JsonPrettyPrintMixin); -dart.addTypeCaches(convert._JsonPrettyPrintMixin); -convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; -dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ - __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), - 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[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[98], 974, 50, "output"); - let stringifier = null; - if (indent == null) { - stringifier = new convert._JsonStringStringifier.new(output, toEncodable); - } else { - stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); - } - stringifier.writeObject(object); - } - get [_partialResult]() { - return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; - } - writeNumber(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[98], 991, 27, "string"); - this[_sink$0].write(string); - } - writeStringSlice(string, start, 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[98], 999, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } -}; -(convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); - this[_sink$0] = _sink; - convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); - ; -}).prototype = convert._JsonStringStringifier.prototype; -dart.addTypeTests(convert._JsonStringStringifier); -dart.addTypeCaches(convert._JsonStringStringifier); -dart.setMethodSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), - writeNumber: dart.fnType(dart.void, [core.num]), - writeString: dart.fnType(dart.void, [core.String]), - 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[33]); -dart.setFieldSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), - [_sink$0]: dart.finalFieldType(core.StringSink) -})); -const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; -(_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); -}).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[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[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); - ; -}).prototype = convert._JsonStringStringifierPretty.prototype; -dart.addTypeTests(convert._JsonStringStringifierPretty); -dart.addTypeCaches(convert._JsonStringStringifierPretty); -dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) -})); -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[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); - } else { - stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); - } - stringifier.writeObject(object); - stringifier.flush(); - } - flush() { - let t156, t155, t154; - if (dart.notNull(this.index) > 0) { - t154 = this.buffer; - t155 = 0; - t156 = this.index; - this.addChunk(t154, t155, t156); - } - this.buffer = _native_typed_data.NativeUint8List.new(0); - this.index = 0; - } - get [_partialResult]() { - return null; - } - writeNumber(number) { - if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); - this.writeAsciiString(dart.toString(number)); - } - writeAsciiString(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[98], 1080, 14, "char <= 0x7f"); - this.writeByte(char); - } - } - writeString(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[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) { - this.writeByte(char); - } else { - if ((char & 63488) === 55296) { - if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { - let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); - if ((nextChar & 64512) === 56320) { - char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); - this.writeFourByteCharCode(char); - i = dart.notNull(i) + 1; - continue; - } - } - this.writeMultiByteCharCode(65533); - continue; - } - this.writeMultiByteCharCode(char); - } - } - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); - if (dart.notNull(charCode) <= 127) { - this.writeByte(charCode); - return; - } - this.writeMultiByteCharCode(charCode); - } - writeMultiByteCharCode(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); - return; - } - if (dart.notNull(charCode) <= 65535) { - this.writeByte((224 | charCode[$rightShift](12)) >>> 0); - this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); - this.writeByte(128 | dart.notNull(charCode) & 63); - return; - } - this.writeFourByteCharCode(charCode); - } - writeFourByteCharCode(charCode) { - 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 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]) { - 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]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); - } -}; -(convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, 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; - this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); - convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); - ; -}).prototype = convert._JsonUtf8Stringifier.prototype; -dart.addTypeTests(convert._JsonUtf8Stringifier); -dart.addTypeCaches(convert._JsonUtf8Stringifier); -dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), - flush: dart.fnType(dart.void, []), - writeNumber: dart.fnType(dart.void, [core.num]), - writeAsciiString: dart.fnType(dart.void, [core.String]), - writeString: dart.fnType(dart.void, [core.String]), - writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), - 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[33]); -dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), - bufferSize: dart.finalFieldType(core.int), - addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), - buffer: dart.fieldType(typed_data.Uint8List), - index: dart.fieldType(core.int) -})); -const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; -(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); -}).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[98], 1170, 29, "count"); - let indent = this.indent; - let indentLength = indent[$length]; - if (indentLength === 1) { - let char = indent[$_get](0); - while (dart.notNull(count) > 0) { - this.writeByte(char); - count = dart.notNull(count) - 1; - } - return; - } - while (dart.notNull(count) > 0) { - count = dart.notNull(count) - 1; - let end = dart.notNull(this.index) + dart.notNull(indentLength); - if (end <= dart.notNull(this.buffer[$length])) { - this.buffer[$setRange](this.index, end, indent); - this.index = end; - } else { - for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { - this.writeByte(indent[$_get](i)); - } - } - } - } -}; -(convert._JsonUtf8StringifierPretty.new = function(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"); - this.indent = indent; - convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); - ; -}).prototype = convert._JsonUtf8StringifierPretty.prototype; -dart.addTypeTests(convert._JsonUtf8StringifierPretty); -dart.addTypeCaches(convert._JsonUtf8StringifierPretty); -dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) -})); -dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); -dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), - indent: dart.finalFieldType(core.List$(core.int)) -})); -var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); -convert.Latin1Codec = class Latin1Codec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid$1]; - } - 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[99], 40, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t154; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { - return (C[102] || CT.C102).convert(bytes); - } else { - return (C[103] || CT.C103).convert(bytes); - } - } - get encoder() { - return C[104] || CT.C104; - } - get decoder() { - 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[99], 35, 27, "allowInvalid"); - this[_allowInvalid$1] = allowInvalid; - convert.Latin1Codec.__proto__.new.call(this); - ; -}).prototype = convert.Latin1Codec.prototype; -dart.addTypeTests(convert.Latin1Codec); -dart.addTypeCaches(convert.Latin1Codec); -dart.setMethodSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getMethods(convert.Latin1Codec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getGetters(convert.Latin1Codec.__proto__), - name: core.String, - encoder: convert.Latin1Encoder, - decoder: convert.Latin1Decoder -})); -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 { - 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[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[99], 124, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); - return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); - } -}; -(convert.Latin1Decoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); - convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); - ; -}).prototype = convert.Latin1Decoder.prototype; -dart.addTypeTests(convert.Latin1Decoder); -dart.addTypeCaches(convert.Latin1Decoder); -dart.setMethodSignature(convert.Latin1Decoder, () => ({ - __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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[99], 146, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - [_addSliceToSink](source, start, end, 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[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)) { - convert._Latin1DecoderSink._checkValidLatin1(source, start, end); - } - this[_addSliceToSink](source, start, end, isLast); - } - static _checkValidLatin1(source, start, 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; - } - if (mask >= 0 && mask <= 255) { - return; - } - convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); - } - static _reportInvalidLatin1(source, start, 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[99], 192, 12, "false"); - } -}; -(convert._Latin1DecoderSink.new = function(_sink) { - this[_sink$0] = _sink; - convert._Latin1DecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Latin1DecoderSink.prototype; -dart.addTypeTests(convert._Latin1DecoderSink); -dart.addTypeCaches(convert._Latin1DecoderSink); -dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - 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.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[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[105] || CT.C105, 0, 1, false); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_addSliceToSink](source, start, end, isLast); - } - if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._Latin1AllowInvalidDecoderSink.new = function(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[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[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[100], 52, 31, "data"); - let lines = T$.JSArrayOfString().of([]); - let end = data.length; - let sliceStart = 0; - let char = 0; - for (let i = 0; i < end; i = i + 1) { - let previousChar = char; - char = data[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = i + 1; - continue; - } - } - lines[$add](data[$substring](sliceStart, i)); - sliceStart = i + 1; - } - if (sliceStart < end) { - lines[$add](data[$substring](sliceStart, end)); - } - return lines; - } - startChunkedConversion(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[100], 81, 38, "stream"); - return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); - return new convert._LineSplitterEventSink.new(sink); - }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); - } -}; -(convert.LineSplitter.new = function() { - convert.LineSplitter.__proto__.new.call(this); - ; -}).prototype = convert.LineSplitter.prototype; -dart.addTypeTests(convert.LineSplitter); -dart.addTypeCaches(convert.LineSplitter); -dart.setMethodSignature(convert.LineSplitter, () => ({ - __proto__: dart.getMethods(convert.LineSplitter.__proto__), - convert: dart.fnType(core.List$(core.String), [core.String]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), - bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) -})); -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[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(); - return; - } - let carry = this[_carry]; - if (carry != null) { - 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; - this[_carry] = null; - } else if (dart.test(this[_skipLeadingLF])) { - if (chunk[$codeUnitAt](start) === 10) { - start = dart.notNull(start) + 1; - } - this[_skipLeadingLF] = false; - } - this[_addLines](chunk, start, end); - if (dart.test(isLast)) this.close(); - } - close() { - if (this[_carry] != null) { - this[_sink$0].add(dart.nullCheck(this[_carry])); - this[_carry] = null; - } - this[_sink$0].close(); - } - [_addLines](lines, start, 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) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - this[_sink$0].add(lines[$substring](sliceStart, i)); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - this[_carry] = lines[$substring](sliceStart, end); - } else { - this[_skipLeadingLF] = char === 13; - } - } -}; -(convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); - this[_carry] = null; - this[_skipLeadingLF] = false; - this[_sink$0] = _sink; - ; -}).prototype = convert._LineSplitterSink.prototype; -dart.addTypeTests(convert._LineSplitterSink); -dart.addTypeCaches(convert._LineSplitterSink); -dart.setMethodSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []), - [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) -})); -dart.setLibraryUri(convert._LineSplitterSink, I[33]); -dart.setFieldSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_carry]: dart.fieldType(dart.nullable(core.String)), - [_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[100], 172, 24, "o"); - this[_eventSink].addError(o, stackTrace); - } -}; -(convert._LineSplitterEventSink.new = function(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)); - ; -}).prototype = convert._LineSplitterEventSink.prototype; -dart.addTypeTests(convert._LineSplitterEventSink); -dart.addTypeCaches(convert._LineSplitterEventSink); -convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; -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[33]); -dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(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.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[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.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[89], 78, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } - write(o) { - this[_sink$0].write(o); - } - writeln(o = "") { - this[_sink$0].writeln(o); - } - writeAll(objects, 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[89], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); - this[_sink$0] = _sink; - this[_callback$] = _callback; - ; -}).prototype = convert._ClosableStringSink.prototype; -dart.addTypeTests(convert._ClosableStringSink); -dart.addTypeCaches(convert._ClosableStringSink); -convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; -dart.setMethodSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) -})); -dart.setLibraryUri(convert._ClosableStringSink, I[33]); -dart.setFieldSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getFields(convert._ClosableStringSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), - [_sink$0]: dart.finalFieldType(core.StringSink) -})); -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[89], 113, 26, "charCode"); - this[_buffer$].writeCharCode(charCode); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - write(o) { - if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); - this[_chunkedSink$].add(dart.toString(o)); - } - writeln(o = "") { - this[_buffer$].writeln(o); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - writeAll(objects, 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; - if (separator[$isEmpty]) { - do { - this[_chunkedSink$].add(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - this[_chunkedSink$].add(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this[_chunkedSink$].add(dart.toString(iterator.current)); - } - } - } - [_flush]() { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].add(accumulated); - } -}; -(convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); - this[_chunkedSink$] = _chunkedSink; - this[_buffer$] = new core.StringBuffer.new(); - ; -}).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; -dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); -dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); -convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; -dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - [_flush]: dart.fnType(dart.void, []) -})); -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 t154; - let accumulated = dart.toString(this[_stringSink$]); - this[_stringSink$].clear(); - t154 = accumulated; - this[_callback$](t154); - } - asUtf8Sink(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[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[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[89], 237, 19, "str"); - this[_sink$0].add(str); - } - addSlice(str, start, end, 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 { - this.add(str[$substring](start, end)); - } - if (dart.test(isLast)) this.close(); - } - close() { - this[_sink$0].close(); - } -}; -(convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); - this[_sink$0] = _sink; - ; -}).prototype = convert._StringAdapterSink.prototype; -dart.addTypeTests(convert._StringAdapterSink); -dart.addTypeCaches(convert._StringAdapterSink); -dart.setMethodSignature(convert._StringAdapterSink, () => ({ - __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -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[89], 271, 22, "chunk"); - this.addSlice(chunk, 0, chunk[$length], false); - } - addSlice(codeUnits, startIndex, endIndex, 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[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); - convert._Utf8StringSinkAdapter.__proto__.new.call(this); - ; -}).prototype = convert._Utf8StringSinkAdapter.prototype; -dart.addTypeTests(convert._Utf8StringSinkAdapter); -dart.addTypeCaches(convert._Utf8StringSinkAdapter); -dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); -dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), - [_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)) { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); - } else { - this[_chunkedSink$].close(); - } - } - add(chunk) { - T$0.ListOfint().as(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[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$]); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); - this[_buffer$].clear(); - return; - } - if (dart.test(isLast)) this.close(); - } -}; -(convert._Utf8ConversionSink.new = function(sink, 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[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; - convert._Utf8ConversionSink.__proto__.new.call(this); - ; -}).prototype = convert._Utf8ConversionSink.prototype; -dart.addTypeTests(convert._Utf8ConversionSink); -dart.addTypeCaches(convert._Utf8ConversionSink); -dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); -dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), - [_buffer$]: dart.finalFieldType(core.StringBuffer) -})); -var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); -var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); -var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); -convert.Utf8Codec = class Utf8Codec extends convert.Encoding { - get [_allowMalformed$]() { - return this[_allowMalformed]; - } - 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 t154; - T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - 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[108] || CT.C108; - } - get decoder() { - 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[101], 40, 25, "allowMalformed"); - this[_allowMalformed] = allowMalformed; - convert.Utf8Codec.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Codec.prototype; -dart.addTypeTests(convert.Utf8Codec); -dart.addTypeCaches(convert.Utf8Codec); -dart.setMethodSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getMethods(convert.Utf8Codec.__proto__), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getGetters(convert.Utf8Codec.__proto__), - name: core.String, - encoder: convert.Utf8Encoder, - decoder: convert.Utf8Decoder -})); -dart.setLibraryUri(convert.Utf8Codec, I[33]); -dart.setFieldSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getFields(convert.Utf8Codec.__proto__), - [_allowMalformed$]: dart.finalFieldType(core.bool) -})); -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[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); - 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[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[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[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[101], 128, 41, "stream"); - return super.bind(stream); - } -}; -(convert.Utf8Encoder.new = function() { - convert.Utf8Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Encoder.prototype; -dart.addTypeTests(convert.Utf8Encoder); -dart.addTypeCaches(convert.Utf8Encoder); -dart.setMethodSignature(convert.Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), - 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[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[101], 146, 38, "size"); - return _native_typed_data.NativeUint8List.new(size); - } - [_writeReplacementCharacter]() { - 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 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[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](); - return false; - } - } - [_fillBuffer](str, start, 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 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]((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); - let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); - if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; - } else if (dart.test(convert._isTailSurrogate(codeUnit))) { - if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; - this[_writeReplacementCharacter](); - } else { - let rune = codeUnit; - if (rune <= 2047) { - if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - 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[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); - if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - 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); - } - } - } - return stringIndex; - } -}; -(convert._Utf8Encoder.new = function() { - convert._Utf8Encoder.withBufferSize.call(this, 1024); -}).prototype = convert._Utf8Encoder.prototype; -(convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); - this[_carry] = 0; - this[_bufferIndex] = 0; - this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); - ; -}).prototype = convert._Utf8Encoder.prototype; -dart.addTypeTests(convert._Utf8Encoder); -dart.addTypeCaches(convert._Utf8Encoder); -dart.setMethodSignature(convert._Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), - [_writeReplacementCharacter]: dart.fnType(dart.void, []), - [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), - [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) -})); -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; - } -}, false); -const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; -(_Utf8Encoder_StringConversionSinkMixin$36.new = function() { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); -}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; -(_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); -}).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); - return; - } - this[_sink$0].close(); - } - addSlice(str, start, end, 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; - } - if (this[_carry] !== 0) { - let nextCodeUnit = 0; - if (start != end) { - nextCodeUnit = str[$codeUnitAt](start); - } else { - 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[101], 265, 14, "!wasCombined || start != end"); - if (dart.test(wasCombined)) start = dart.notNull(start) + 1; - this[_carry] = 0; - } - do { - start = this[_fillBuffer](str, start, end); - let isLastSlice = dart.test(isLast) && start == end; - if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { - if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { - this[_writeReplacementCharacter](); - } else { - this[_carry] = str[$codeUnitAt](start); - } - start = dart.notNull(start) + 1; - } - this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); - this[_bufferIndex] = 0; - } while (dart.notNull(start) < dart.notNull(end)); - if (dart.test(isLast)) this.close(); - } -}; -(convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); - this[_sink$0] = _sink; - convert._Utf8EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Utf8EncoderSink.prototype; -dart.addTypeTests(convert._Utf8EncoderSink); -dart.addTypeCaches(convert._Utf8EncoderSink); -dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); -dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) -})); -const _allowMalformed$0 = Utf8Decoder__allowMalformed; -convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowMalformed$]() { - return this[_allowMalformed$0]; - } - set [_allowMalformed$](value) { - super[_allowMalformed$] = value; - } - static _convertInterceptedUint8List(allowMalformed, codeUnits, start, 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]) { - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); - } - let length = codeUnits[$length]; - end = core.RangeError.checkValidRange(start, end, length); - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); - } - static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); - try { - return decoder.decode(codeUnits); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[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; - } - return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - return stringSink.asUtf8Sink(this[_allowMalformed$]); - } - bind(stream) { - T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); - return super.bind(stream); - } - fuse(T, 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[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; - if (dart.notNull(end) - dart.notNull(start) < 15) { - return null; - } - let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); - if (result != null && dart.test(allowMalformed)) { - if (result.indexOf("�") >= 0) { - return null; - } - } - return result; - } - return null; - } -}; -(convert.Utf8Decoder.new = function(opts) { - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); - this[_allowMalformed$0] = allowMalformed; - convert.Utf8Decoder.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Decoder.prototype; -dart.addTypeTests(convert.Utf8Decoder); -dart.addTypeCaches(convert.Utf8Decoder); -dart.setMethodSignature(convert.Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), - 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.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; - }, - /*convert.Utf8Decoder._decoder*/get _decoder() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: true}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - }, - /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: false}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - } -}, false); -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[101], 528, 32, "state"); - return (dart.notNull(state) & 1) !== 0; - } - static errorDescription(state) { - if (state == null) dart.nullFailed(I[101], 530, 38, "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 ""; - } - } - } - 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[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[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[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; - let errorOffset = null; - if (typed_data.Uint8List.is(codeUnits)) { - bytes = codeUnits; - errorOffset = 0; - } else { - bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); - errorOffset = start; - end = dart.notNull(end) - dart.notNull(start); - start = 0; - } - let result = this[_convertRecursive](bytes, start, end, single); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { - let message = convert._Utf8Decoder.errorDescription(this[_state$0]); - this[_state$0] = 0; - dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); - } - return result; - } - [_convertRecursive](bytes, start, end, 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); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; - let s2 = this[_convertRecursive](bytes, mid, end, single); - return dart.notNull(s1) + dart.notNull(s2); - } - return this.decodeGeneral(bytes, start, end, single); - } - flush(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) { - return; - } - if (dart.test(this.allowMalformed)) { - sink.writeCharCode(65533); - } else { - dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); - } - } - decodeGeneral(bytes, start, end, 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]((t158 = i, i = dart.notNull(t158) + 1, t158)); - L1: - while (true) { - while (true) { - let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; - char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; - state = transitionTable[$codeUnitAt](dart.notNull(state) + type); - if (state === 0) { - buffer.writeCharCode(char); - if (i == end) break L1; - break; - } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { - if (dart.test(this.allowMalformed)) { - switch (state) { - case 69: - case 67: - { - buffer.writeCharCode(65533); - break; - } - case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } - default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } - } - state = 0; - } else { - this[_state$0] = state; - this[_charOrIndex] = dart.notNull(i) - 1; - return ""; - } - } - if (i == end) break L1; - byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); - } - let markStart = i; - 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]((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[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)); - } - } else { - buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); - } - if (markEnd == end) break; - } - } - if (dart.test(single) && dart.notNull(state) > 32) { - if (dart.test(this.allowMalformed)) { - buffer.writeCharCode(65533); - } else { - this[_state$0] = 77; - this[_charOrIndex] = end; - return ""; - } - } - this[_state$0] = state; - this[_charOrIndex] = char; - return buffer.toString(); - } - static _makeUint8List(codeUnits, start, 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) { - let b = codeUnits[$_get](dart.notNull(start) + i); - if ((dart.notNull(b) & ~255 >>> 0) !== 0) { - b = 255; - } - bytes[$_set](i, b); - } - return bytes; - } -}; -(convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); - this[_charOrIndex] = 0; - this.allowMalformed = allowMalformed; - this[_state$0] = 16; - ; -}).prototype = convert._Utf8Decoder.prototype; -dart.addTypeTests(convert._Utf8Decoder); -dart.addTypeCaches(convert._Utf8Decoder); -dart.setMethodSignature(convert._Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), - convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), - [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), - flush: dart.fnType(dart.void, [core.StringSink]), - decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) -})); -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; - }, - /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { - return 61694; - }, - /*convert._Utf8Decoder.typeTable*/get typeTable() { - return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; - }, - /*convert._Utf8Decoder.IA*/get IA() { - return 0; - }, - /*convert._Utf8Decoder.BB*/get BB() { - return 16; - }, - /*convert._Utf8Decoder.AB*/get AB() { - return 32; - }, - /*convert._Utf8Decoder.X1*/get X1() { - return 48; - }, - /*convert._Utf8Decoder.X2*/get X2() { - return 58; - }, - /*convert._Utf8Decoder.X3*/get X3() { - return 68; - }, - /*convert._Utf8Decoder.TO*/get TO() { - return 78; - }, - /*convert._Utf8Decoder.TS*/get TS() { - return 88; - }, - /*convert._Utf8Decoder.QO*/get QO() { - return 98; - }, - /*convert._Utf8Decoder.QR*/get QR() { - return 108; - }, - /*convert._Utf8Decoder.B1*/get B1() { - return 118; - }, - /*convert._Utf8Decoder.B2*/get B2() { - return 128; - }, - /*convert._Utf8Decoder.E1*/get E1() { - return 65; - }, - /*convert._Utf8Decoder.E2*/get E2() { - return 67; - }, - /*convert._Utf8Decoder.E3*/get E3() { - return 69; - }, - /*convert._Utf8Decoder.E4*/get E4() { - return 71; - }, - /*convert._Utf8Decoder.E5*/get E5() { - return 73; - }, - /*convert._Utf8Decoder.E6*/get E6() { - return 75; - }, - /*convert._Utf8Decoder.E7*/get E7() { - return 77; - }, - /*convert._Utf8Decoder._IA*/get _IA() { - return ""; - }, - /*convert._Utf8Decoder._BB*/get _BB() { - return ""; - }, - /*convert._Utf8Decoder._AB*/get _AB() { - return " "; - }, - /*convert._Utf8Decoder._X1*/get _X1() { - return "0"; - }, - /*convert._Utf8Decoder._X2*/get _X2() { - return ":"; - }, - /*convert._Utf8Decoder._X3*/get _X3() { - return "D"; - }, - /*convert._Utf8Decoder._TO*/get _TO() { - return "N"; - }, - /*convert._Utf8Decoder._TS*/get _TS() { - return "X"; - }, - /*convert._Utf8Decoder._QO*/get _QO() { - return "b"; - }, - /*convert._Utf8Decoder._QR*/get _QR() { - return "l"; - }, - /*convert._Utf8Decoder._B1*/get _B1() { - return "v"; - }, - /*convert._Utf8Decoder._B2*/get _B2() { - return "€"; - }, - /*convert._Utf8Decoder._E1*/get _E1() { - return "A"; - }, - /*convert._Utf8Decoder._E2*/get _E2() { - return "C"; - }, - /*convert._Utf8Decoder._E3*/get _E3() { - return "E"; - }, - /*convert._Utf8Decoder._E4*/get _E4() { - return "G"; - }, - /*convert._Utf8Decoder._E5*/get _E5() { - return "I"; - }, - /*convert._Utf8Decoder._E6*/get _E6() { - return "K"; - }, - /*convert._Utf8Decoder._E7*/get _E7() { - return "M"; - }, - /*convert._Utf8Decoder.transitionTable*/get transitionTable() { - return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; - }, - /*convert._Utf8Decoder.initial*/get initial() { - return 0; - }, - /*convert._Utf8Decoder.accept*/get accept() { - return 0; - }, - /*convert._Utf8Decoder.beforeBom*/get beforeBom() { - return 16; - }, - /*convert._Utf8Decoder.afterBom*/get afterBom() { - return 32; - }, - /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { - return 65; - }, - /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { - return 67; - }, - /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { - return 69; - }, - /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { - return 71; - }, - /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { - return 73; - }, - /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { - return 75; - }, - /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { - return 77; - } -}, false); -convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); - function walk(e) { - if (e == null || typeof e != "object") { - return e; - } - if (Object.getPrototypeOf(e) === Array.prototype) { - for (let i = 0; i < e.length; i = i + 1) { - let item = e[i]; - e[i] = reviver(i, walk(item)); - } - return e; - } - let map = new convert._JsonMap.new(e); - let processed = map[_processed]; - let keys = map[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - let revived = reviver(key, walk(e[key])); - processed[key] = revived; - } - map[_original$] = processed; - return map; - } - dart.fn(walk, T$.dynamicTodynamic()); - return reviver(null, walk(json)); -}; -convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { - if (object == null) return null; - if (typeof object != "object") { - return object; - } - if (Object.getPrototypeOf(object) !== Array.prototype) { - return new convert._JsonMap.new(object); - } - for (let i = 0; i < object.length; i = i + 1) { - let item = object[i]; - object[i] = convert._convertJsonToDartLazy(item); - } - return object; -}; -convert.base64Encode = function base64Encode(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[96], 46, 34, "bytes"); - return convert.base64Url.encode(bytes); -}; -convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[96], 52, 31, "source"); - return convert.base64.decode(source); -}; -convert.jsonEncode = function jsonEncode(object, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - return convert.json.encode(object, {toEncodable: toEncodable}); -}; -convert.jsonDecode = function jsonDecode(source, opts) { - 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[88], 31, 19, "source"); - if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); - let parsed = null; - try { - parsed = JSON.parse(source); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new core.FormatException.new(String(e))); - } else - throw e$; - } - if (reviver == null) { - return convert._convertJsonToDartLazy(parsed); - } else { - return convert._convertJsonToDart(parsed, reviver); - } -}; -convert._defaultToEncodable = function _defaultToEncodable(object) { - return dart.dsend(object, 'toJson', []); -}; -convert._isLeadSurrogate = function _isLeadSurrogate(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[101], 391, 27, "codeUnit"); - return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; -}; -convert._combineSurrogatePair = function _combineSurrogatePair(lead, 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[109] || CT.C109; - }, - /*convert._asciiMask*/get _asciiMask() { - return 127; - }, - /*convert.base64*/get base64() { - return C[110] || CT.C110; - }, - /*convert.base64Url*/get base64Url() { - return C[111] || CT.C111; - }, - /*convert._paddingChar*/get _paddingChar() { - return 61; - }, - /*convert.htmlEscape*/get htmlEscape() { - return C[112] || CT.C112; - }, - /*convert.json*/get json() { - return C[113] || CT.C113; - }, - /*convert.latin1*/get latin1() { - return C[114] || CT.C114; - }, - /*convert._latin1Mask*/get _latin1Mask() { - return 255; - }, - /*convert._LF*/get _LF() { - return 10; - }, - /*convert._CR*/get _CR() { - return 13; - }, - /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { - return 65533; - }, - /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { - return 65279; - }, - /*convert.utf8*/get utf8() { - return C[115] || CT.C115; - }, - /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { - return 127; - }, - /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { - return 2047; - }, - /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { - return 65535; - }, - /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { - return 1114111; - }, - /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { - return 64512; - }, - /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { - return 1023; - }, - /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { - return 55296; - }, - /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { - return 56320; - } -}, 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 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; - } - if (developer._FakeUserTag._instances[$length] === 64) { - dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); - } - 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; - developer._currentTag = this; - return old; - } -}; -(developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[102], 200, 26, "label"); - this.label = label; - ; -}).prototype = developer._FakeUserTag.prototype; -dart.addTypeTests(developer._FakeUserTag); -dart.addTypeCaches(developer._FakeUserTag); -developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; -dart.setMethodSignature(developer._FakeUserTag, () => ({ - __proto__: dart.getMethods(developer._FakeUserTag.__proto__), - makeCurrent: dart.fnType(developer.UserTag, []) -})); -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(); - }, - /*developer._FakeUserTag._defaultTag*/get _defaultTag() { - return developer._FakeUserTag.new("Default"); - } -}, false); -var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); -var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); -var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); -var _toString$ = dart.privateName(developer, "_toString"); -developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { - get result() { - return this[result$]; - } - set result(value) { - super.result = value; - } - get errorCode() { - return this[errorCode$]; - } - set errorCode(value) { - super.errorCode = value; - } - get errorDetail() { - return this[errorDetail$]; - } - 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[104], 60, 39, "errorCode"); - developer.ServiceExtensionResponse._validateErrorCode(errorCode); - if (errorCode === -32602) { - return "Invalid params"; - } - return "Server error"; - } - static _validateErrorCode(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; - } - dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); - } - isError() { - return this.errorCode != null && this.errorDetail != null; - } - [_toString$]() { - 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[104], 25, 42, "result"); - this[result$] = result; - this[errorCode$] = null; - this[errorDetail$] = null; - _internal.checkNotNullable(core.String, result, "result"); -}).prototype = developer.ServiceExtensionResponse.prototype; -(developer.ServiceExtensionResponse.error = function(errorCode, 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); - _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); -}).prototype = developer.ServiceExtensionResponse.prototype; -dart.addTypeTests(developer.ServiceExtensionResponse); -dart.addTypeCaches(developer.ServiceExtensionResponse); -dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ - __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), - isError: dart.fnType(core.bool, []), - [_toString$]: dart.fnType(core.String, []) -})); -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.invalidParams*/get invalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { - return -32016; - } -}, 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; - } -}; -(developer.UserTag[dart.mixinNew] = function() { -}).prototype = developer.UserTag.prototype; -dart.addTypeTests(developer.UserTag); -dart.addTypeCaches(developer.UserTag); -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; - } -}, false); -var name$10 = dart.privateName(developer, "Metric.name"); -var description$ = dart.privateName(developer, "Metric.description"); -developer.Metric = class Metric extends core.Object { - get name() { - return this[name$10]; - } - set name(value) { - super.name = value; - } - get description() { - return this[description$]; - } - set description(value) { - super.description = value; - } -}; -(developer.Metric.new = function(name, 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]("/")) { - dart.throw(new core.ArgumentError.new("Invalid Metric name.")); - } -}).prototype = developer.Metric.prototype; -dart.addTypeTests(developer.Metric); -dart.addTypeCaches(developer.Metric); -dart.setLibraryUri(developer.Metric, I[103]); -dart.setFieldSignature(developer.Metric, () => ({ - __proto__: dart.getFields(developer.Metric.__proto__), - name: dart.finalFieldType(core.String), - description: dart.finalFieldType(core.String) -})); -var min$ = dart.privateName(developer, "Gauge.min"); -var max$ = dart.privateName(developer, "Gauge.max"); -var _value = dart.privateName(developer, "_value"); -var _toJSON = dart.privateName(developer, "_toJSON"); -developer.Gauge = class Gauge extends developer.Metric { - get min() { - return this[min$]; - } - set min(value) { - super.min = value; - } - get max() { - return this[max$]; - } - set max(value) { - super.max = value; - } - get value() { - return this[_value]; - } - set value(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)) { - v = this.max; - } - 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[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; - developer.Gauge.__proto__.new.call(this, name, description); - core.ArgumentError.checkNotNull(core.double, this.min, "min"); - core.ArgumentError.checkNotNull(core.double, this.max, "max"); - if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); -}).prototype = developer.Gauge.prototype; -dart.addTypeTests(developer.Gauge); -dart.addTypeCaches(developer.Gauge); -dart.setMethodSignature(developer.Gauge, () => ({ - __proto__: dart.getMethods(developer.Gauge.__proto__), - [_toJSON]: dart.fnType(core.Map, []) -})); -dart.setGetterSignature(developer.Gauge, () => ({ - __proto__: dart.getGetters(developer.Gauge.__proto__), - value: core.double -})); -dart.setSetterSignature(developer.Gauge, () => ({ - __proto__: dart.getSetters(developer.Gauge.__proto__), - value: core.double -})); -dart.setLibraryUri(developer.Gauge, I[103]); -dart.setFieldSignature(developer.Gauge, () => ({ - __proto__: dart.getFields(developer.Gauge.__proto__), - min: dart.finalFieldType(core.double), - max: dart.finalFieldType(core.double), - [_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[105], 103, 20, "v"); - this[_value] = v; - } - [_toJSON]() { - let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); - return map; - } -}; -(developer.Counter.new = function(name, 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); - ; -}).prototype = developer.Counter.prototype; -dart.addTypeTests(developer.Counter); -dart.addTypeCaches(developer.Counter); -dart.setMethodSignature(developer.Counter, () => ({ - __proto__: dart.getMethods(developer.Counter.__proto__), - [_toJSON]: dart.fnType(core.Map, []) -})); -dart.setGetterSignature(developer.Counter, () => ({ - __proto__: dart.getGetters(developer.Counter.__proto__), - value: core.double -})); -dart.setSetterSignature(developer.Counter, () => ({ - __proto__: dart.getSetters(developer.Counter.__proto__), - value: core.double -})); -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[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")); - } - developer.Metrics._metrics[$_set](metric.name, metric); - } - static deregister(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[105], 146, 38, "id"); - let metric = developer.Metrics._metrics[$_get](id); - if (metric == null) { - return null; - } - return convert.json.encode(metric[_toJSON]()); - } - static _printMetrics() { - let metrics = []; - for (let metric of developer.Metrics._metrics[$values]) { - metrics[$add](metric[_toJSON]()); - } - 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.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.IdentityMapOfString$Metric()).new(); - } -}, false); -var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); -var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); -var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); -developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { - get majorVersion() { - return this[majorVersion]; - } - set majorVersion(value) { - super.majorVersion = value; - } - get minorVersion() { - return this[minorVersion]; - } - set minorVersion(value) { - super.minorVersion = value; - } - get serverUri() { - return this[serverUri$]; - } - 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); - } else { - return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); - } - } -}; -(developer.ServiceProtocolInfo.new = function(serverUri) { - this[majorVersion] = developer._getServiceMajorVersion(); - this[minorVersion] = developer._getServiceMinorVersion(); - this[serverUri$] = serverUri; - ; -}).prototype = developer.ServiceProtocolInfo.prototype; -dart.addTypeTests(developer.ServiceProtocolInfo); -dart.addTypeCaches(developer.ServiceProtocolInfo); -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), - minorVersion: dart.finalFieldType(core.int), - serverUri: dart.finalFieldType(dart.nullable(core.Uri)) -})); -dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); -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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._getServerInfo(receivePort.sendPort); - 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[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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - 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[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.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$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 t159; - let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); - } - static step(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[107], 84, 23, "id"); - return new developer.Flow.__(11, id); - } -}; -(developer.Flow.__ = function(_type, 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$0] = id; - ; -}).prototype = developer.Flow.prototype; -dart.addTypeTests(developer.Flow); -dart.addTypeCaches(developer.Flow); -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) -})); -var _startSync = dart.privateName(developer, "_startSync"); -developer.Timeline = class Timeline extends core.Object { - static startSync(name, opts) { - 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; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - developer.Timeline._stack[$add](null); - return; - } - let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); - developer.Timeline._stack[$add](block); - block[_startSync](); - } - static finishSync() { - ; - 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](); - if (block == null) { - return; - } - block.finish(); - } - static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[107], 146, 34, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let taskId = 0; - developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); - } - static timeSync(T, name, $function, opts) { - 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}); - try { - return $function(); - } finally { - developer.Timeline.finishSync(); - } - } - 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.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([]); - } -}, false); -var _stack = dart.privateName(developer, "_stack"); -var _parent = dart.privateName(developer, "_parent"); -var _filterKey = dart.privateName(developer, "_filterKey"); -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[107], 221, 21, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - 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(); - if ($arguments != null) { - for (let key of $arguments[$keys]) { - map[$_set](key, $arguments[$_get](key)); - } - } - if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); - if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); - block[_start](map); - } - instant(name, opts) { - if (name == null) dart.nullFailed(I[107], 249, 23, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - if (this[_filterKey] != null) { - instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; - instantArguments[$_set]("filterKey", this[_filterKey]); - } - developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); - } - finish(opts) { - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - if (this[_stack][$length] === 0) { - dart.throw(new core.StateError.new("Uneven calls to start and finish")); - } - if (this[_filterKey] != null) { - $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; - $arguments[$_set]("filterKey", this[_filterKey]); - } - let block = this[_stack][$removeLast](); - if (block == null) { - return; - } - block[_finish]($arguments); - } - pass() { - if (dart.notNull(this[_stack][$length]) > 0) { - dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); - } - let r = this[_taskId$]; - return r; - } -}; -(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_AsyncBlockN().of([]); - this[_parent] = parent; - this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextTaskId(); -}).prototype = developer.TimelineTask.prototype; -(developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); - let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); - this[_parent] = null; - this[_filterKey] = filterKey; - this[_taskId$] = taskId; - core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); -}).prototype = developer.TimelineTask.prototype; -dart.addTypeTests(developer.TimelineTask); -dart.addTypeCaches(developer.TimelineTask); -dart.setMethodSignature(developer.TimelineTask, () => ({ - __proto__: dart.getMethods(developer.TimelineTask.__proto__), - start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), - pass: dart.fnType(core.int, []) -})); -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$(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[107], 322, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); - } - [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); - } -}; -(developer._AsyncBlock.__ = function(name, _taskId) { - 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; - ; -}).prototype = developer._AsyncBlock.prototype; -dart.addTypeTests(developer._AsyncBlock); -dart.addTypeCaches(developer._AsyncBlock); -dart.setMethodSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getMethods(developer._AsyncBlock.__proto__), - [_start]: dart.fnType(dart.void, [core.Map]), - [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) -})); -dart.setLibraryUri(developer._AsyncBlock, I[103]); -dart.setFieldSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getFields(developer._AsyncBlock.__proto__), - name: dart.finalFieldType(core.String), - [_taskId$]: dart.finalFieldType(core.int) -})); -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(this.taskId, 1, this.name, this[_jsonArguments]); - } - finish() { - 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)); - } - } -}; -(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); -dart.addTypeCaches(developer._SyncBlock); -dart.setMethodSignature(developer._SyncBlock, () => ({ - __proto__: dart.getMethods(developer._SyncBlock.__proto__), - [_startSync]: dart.fnType(dart.void, []), - finish: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getGetters(developer._SyncBlock.__proto__), - [_jsonArguments]: core.String -})); -dart.setLibraryUri(developer._SyncBlock, I[103]); -dart.setFieldSignature(developer._SyncBlock, () => ({ - __proto__: dart.getFields(developer._SyncBlock.__proto__), - name: dart.finalFieldType(core.String), - 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[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[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)); - let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); - let result = (yield method(methodName, parameters)); - resolve(result[_toString$]()); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - reject(dart.str(e)); - } else - throw e$; - } - }); - }); -}; -developer.debugger = function $debugger(opts) { - let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[102], 26, 21, "when"); - let message = opts && 'message' in opts ? opts.message : null; - if (dart.test(when)) { - debugger; - } - return when; -}; -developer.inspect = function inspect(object) { - console.debug("dart.developer.inspect", object); - return object; -}; -developer.log = function log(message, opts) { - 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[102], 45, 9, "level"); - let name = opts && 'name' in opts ? opts.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; - let items = {message: message, name: name, level: level}; - if (time != null) items.time = time; - if (sequenceNumber != null) { - items.sequenceNumber = sequenceNumber; - } - if (zone != null) items.zone = zone; - if (error != null) items.error = error; - if (stackTrace != null) items.stackTrace = stackTrace; - console.debug("dart.developer.log", items); -}; -developer.registerExtension = function registerExtension$(method, handler) { - 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))); - } - _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); - developer._registerExtension(method, handler); -}; -developer.postEvent = function postEvent(eventKind, 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[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[102], 69, 50, "method"); - return developer._extensions[$_get](method); -}; -developer._registerExtension = function _registerExtension(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[102], 174, 30, "sendPort"); - sendPort.send(null); -}; -developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - 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() { - return 0; -}; -developer._getServiceMinorVersion = function _getServiceMinorVersion() { - return 0; -}; -developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); - return null; -}; -developer._argumentsAsJson = function _argumentsAsJson($arguments) { - if ($arguments == null || $arguments[$length] === 0) { - return "{}"; - } - return convert.json.encode($arguments); -}; -developer._isDartStreamEnabled = function _isDartStreamEnabled() { - return false; -}; -developer._getNextTaskId = function _getNextTaskId() { - return 0; -}; -developer._getTraceClock = function _getTraceClock() { - 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(value) { - if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); - }, - /*developer._currentTag*/get _currentTag() { - return developer._FakeUserTag._defaultTag; - }, - 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 { - toString() { - return "IOException"; - } -}; -(io.IOException.new = function() { - ; -}).prototype = io.IOException.prototype; -dart.addTypeTests(io.IOException); -dart.addTypeCaches(io.IOException); -io.IOException[dart.implements] = () => [core.Exception]; -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"); -io.OSError = class OSError extends core.Object { - get message() { - return this[message$2]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$0]; - } - 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 t161, t161$, t161$0; - let sb = new core.StringBuffer.new(); - sb.write("OS Error"); - if (this.message[$isNotEmpty]) { - t161 = sb; - (() => { - t161.write(": "); - t161.write(this.message); - return t161; - })(); - if (this.errorCode !== -1) { - t161$ = sb; - (() => { - t161$.write(", errno = "); - t161$.write(dart.toString(this.errorCode)); - return t161$; - })(); - } - } else if (this.errorCode !== -1) { - t161$0 = sb; - (() => { - 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[109], 75, 23, "message"); - if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); - this[message$2] = message; - this[errorCode$0] = errorCode; - ; -}).prototype = io.OSError.prototype; -dart.addTypeTests(io.OSError); -dart.addTypeCaches(io.OSError); -io.OSError[dart.implements] = () => [core.Exception]; -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 { - 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[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[108]); -dart.setFieldSignature(io._BufferAndStart, () => ({ - __proto__: dart.getFields(io._BufferAndStart.__proto__), - buffer: dart.fieldType(core.List$(core.int)), - start: dart.fieldType(core.int) -})); -io._IOCrypto = class _IOCrypto extends core.Object { - static getRandomBytes(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.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[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.maxWindowBits*/get maxWindowBits() { - return 15; - }, - /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { - return 15; - }, - /*io.ZLibOption.minLevel*/get minLevel() { - return -1; - }, - /*io.ZLibOption.maxLevel*/get maxLevel() { - return 9; - }, - /*io.ZLibOption.defaultLevel*/get defaultLevel() { - return 6; - }, - /*io.ZLibOption.minMemLevel*/get minMemLevel() { - return 1; - }, - /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { - return 9; - }, - /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { - return 8; - }, - /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { - return 1; - }, - /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { - return 2; - }, - /*io.ZLibOption.strategyRle*/get strategyRle() { - return 3; - }, - /*io.ZLibOption.strategyFixed*/get strategyFixed() { - return 4; - }, - /*io.ZLibOption.strategyDefault*/get strategyDefault() { - return 0; - } -}, false); -var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); -var level$ = dart.privateName(io, "ZLibCodec.level"); -var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); -var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); -var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); -var raw$ = dart.privateName(io, "ZLibCodec.raw"); -var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); -io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$]; - } - set windowBits(value) { - super.windowBits = value; - } - get raw() { - return this[raw$]; - } - set raw(value) { - super.raw = value; - } - get dictionary() { - return this[dictionary$]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } -}; -(io.ZLibCodec.new = function(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"); - this[level$] = level; - this[windowBits$] = windowBits; - this[memLevel$] = memLevel; - this[strategy$] = strategy; - this[dictionary$] = dictionary; - this[raw$] = raw; - this[gzip$] = gzip; - io.ZLibCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibCodec.prototype; -(io.ZLibCodec._default = function() { - this[level$] = 6; - this[windowBits$] = 15; - this[memLevel$] = 8; - this[strategy$] = 0; - this[raw$] = false; - this[gzip$] = false; - this[dictionary$] = null; - io.ZLibCodec.__proto__.new.call(this); - ; -}).prototype = io.ZLibCodec.prototype; -dart.addTypeTests(io.ZLibCodec); -dart.addTypeCaches(io.ZLibCodec); -dart.setGetterSignature(io.ZLibCodec, () => ({ - __proto__: dart.getGetters(io.ZLibCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder -})); -dart.setLibraryUri(io.ZLibCodec, I[108]); -dart.setFieldSignature(io.ZLibCodec, () => ({ - __proto__: dart.getFields(io.ZLibCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - raw: dart.finalFieldType(core.bool), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) -})); -var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); -var level$0 = dart.privateName(io, "GZipCodec.level"); -var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); -var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); -var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); -var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); -var raw$0 = dart.privateName(io, "GZipCodec.raw"); -io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$0]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$0]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$0]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$0]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$0]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$0]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$0]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } -}; -(io.GZipCodec.new = function(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"); - this[level$0] = level; - this[windowBits$0] = windowBits; - this[memLevel$0] = memLevel; - this[strategy$0] = strategy; - this[dictionary$0] = dictionary; - this[raw$0] = raw; - this[gzip$0] = gzip; - io.GZipCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.GZipCodec.prototype; -(io.GZipCodec._default = function() { - this[level$0] = 6; - this[windowBits$0] = 15; - this[memLevel$0] = 8; - this[strategy$0] = 0; - this[raw$0] = false; - this[gzip$0] = true; - this[dictionary$0] = null; - io.GZipCodec.__proto__.new.call(this); - ; -}).prototype = io.GZipCodec.prototype; -dart.addTypeTests(io.GZipCodec); -dart.addTypeCaches(io.GZipCodec); -dart.setGetterSignature(io.GZipCodec, () => ({ - __proto__: dart.getGetters(io.GZipCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder -})); -dart.setLibraryUri(io.GZipCodec, I[108]); -dart.setFieldSignature(io.GZipCodec, () => ({ - __proto__: dart.getFields(io.GZipCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); -var level$1 = dart.privateName(io, "ZLibEncoder.level"); -var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); -var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); -var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); -var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); -var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); -io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$1]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$1]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$1]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$1]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$1]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$1]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$1]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); - } -}; -(io.ZLibEncoder.new = function(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"); - this[gzip$1] = gzip; - this[level$1] = level; - this[windowBits$1] = windowBits; - this[memLevel$1] = memLevel; - this[strategy$1] = strategy; - this[dictionary$1] = dictionary; - this[raw$1] = raw; - io.ZLibEncoder.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibEncoder.prototype; -dart.addTypeTests(io.ZLibEncoder); -dart.addTypeCaches(io.ZLibEncoder); -dart.setMethodSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getMethods(io.ZLibEncoder.__proto__), - 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[108]); -dart.setFieldSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getFields(io.ZLibEncoder.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); -var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); -var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); -io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get windowBits() { - return this[windowBits$2]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$2]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$2]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); - } -}; -(io.ZLibDecoder.new = function(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"); - this[windowBits$2] = windowBits; - this[dictionary$2] = dictionary; - this[raw$2] = raw; - io.ZLibDecoder.__proto__.new.call(this); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibDecoder.prototype; -dart.addTypeTests(io.ZLibDecoder); -dart.addTypeCaches(io.ZLibDecoder); -dart.setMethodSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getMethods(io.ZLibDecoder.__proto__), - 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[108]); -dart.setFieldSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getFields(io.ZLibDecoder.__proto__), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -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[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._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[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._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[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[110], 678, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); - dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); - } -}; -(io.RawZLibFilter[dart.mixinNew] = function() { -}).prototype = io.RawZLibFilter.prototype; -dart.addTypeTests(io.RawZLibFilter); -dart.addTypeCaches(io.RawZLibFilter); -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[111], 440, 22, "chunk"); - this.builder.add(chunk); - } - addSlice(chunk, start, end, 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))); - } else { - this.builder.add(chunk[$sublist](start, end)); - } - } - close() { - } - static ['_#new#tearOff']() { - return new io._BufferSink.new(); - } -}; -(io._BufferSink.new = function() { - this.builder = _internal.BytesBuilder.new({copy: false}); - io._BufferSink.__proto__.new.call(this); - ; -}).prototype = io._BufferSink.prototype; -dart.addTypeTests(io._BufferSink); -dart.addTypeCaches(io._BufferSink); -dart.setMethodSignature(io._BufferSink, () => ({ - __proto__: dart.getMethods(io._BufferSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); -dart.setFieldSignature(io._BufferSink, () => ({ - __proto__: dart.getFields(io._BufferSink.__proto__), - builder: dart.finalFieldType(_internal.BytesBuilder) -})); -var _closed = dart.privateName(io, "_closed"); -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[111], 488, 22, "data"); - this.addSlice(data, 0, data[$length], false); - } - addSlice(data, start, end, 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]); - try { - this[_empty] = false; - let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); - this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - let out = null; - while (true) { - let out = this[_filter$].processed({flush: false}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.rethrow(e$); - } else - throw e$; - } - if (dart.test(isLast)) this.close(); - } - close() { - if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); - try { - while (true) { - let out = this[_filter$].processed({end: true}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.throw(e); - } else - throw e$; - } - this[_closed] = true; - this[_sink$1].close(); - } -}; -(io._FilterSink.new = function(_sink, _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; - this[_filter$] = _filter; - io._FilterSink.__proto__.new.call(this); - ; -}).prototype = io._FilterSink.prototype; -dart.addTypeTests(io._FilterSink); -dart.addTypeCaches(io._FilterSink); -dart.setMethodSignature(io._FilterSink, () => ({ - __proto__: dart.getMethods(io._FilterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); -dart.setFieldSignature(io._FilterSink, () => ({ - __proto__: dart.getFields(io._FilterSink.__proto__), - [_filter$]: dart.finalFieldType(io.RawZLibFilter), - [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), - [_closed]: dart.fieldType(core.bool), - [_empty]: dart.fieldType(core.bool) -})); -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[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[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[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[108]); -io.Directory = class Directory extends core.Object { - static new(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[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[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) { - return io._Directory.current; - } - return overrides.getCurrentDirectory(); - } - static set current(path) { - let overrides = io.IOOverrides.current; - if (overrides == null) { - io._Directory.current = path; - return; - } - overrides.setCurrentDirectory(core.String.as(path)); - } - static get systemTemp() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._Directory.systemTemp; - } - return overrides.getSystemTempDirectory(); - } -}; -(io.Directory[dart.mixinNew] = function() { -}).prototype = io.Directory.prototype; -dart.addTypeTests(io.Directory); -dart.addTypeCaches(io.Directory); -io.Directory[dart.implements] = () => [io.FileSystemEntity]; -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 _absolutePath = dart.privateName(io, "_absolutePath"); -var _delete = dart.privateName(io, "_delete"); -var _deleteSync = dart.privateName(io, "_deleteSync"); -io.FileSystemEntity = class FileSystemEntity extends core.Object { - get uri() { - return core._Uri.file(this.path); - } - resolveSymbolicLinks() { - return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - 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$]); - io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); - return core.String.as(result); - } - stat() { - return io.FileStat.stat(this.path); - } - statSync() { - return io.FileStat.statSync(this.path); - } - delete(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[114], 468, 12, "events"); - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - return io._FileSystemWatcher._watch(trimmedPath, events, recursive); - } - return overrides.fsWatch(trimmedPath, events, recursive); - } - static _identical(path1, 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 => { - 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[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); - } - return overrides.fseIdentical(path1, path2); - } - get isAbsolute() { - return io.FileSystemEntity._isAbsolute(this.path); - } - static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[114], 533, 34, "path"); - if (dart.test(io.Platform.isWindows)) { - return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); - } else { - return path[$startsWith]("/"); - } - } - get [_absolutePath]() { - if (dart.test(this.isAbsolute)) return this.path; - if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); - let current = io.Directory.current.path; - if (current[$endsWith]("/")) { - return dart.str(current) + dart.str(this.path); - } else { - return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); - } - } - static _windowsDriveLetter(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[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[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); - } - if (current[$startsWith]("\\\\")) { - let serverEnd = current[$indexOf]("\\", 2); - if (serverEnd >= 0) { - let shareEnd = current[$indexOf]("\\", serverEnd + 1); - if (shareEnd < 0) shareEnd = current.length; - return current[$substring](0, shareEnd) + dart.str(path); - } - } - return path; - } - let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); - if (dart.notNull(entityDrive) >= 0) { - if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { - return path[$_get](0) + ":\\" + dart.str(path); - } - path = path[$substring](2); - 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); - } - return dart.str(current) + "\\" + dart.str(path); - } - static _identicalSync(path1, 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[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); - } - return overrides.fseIdenticalSync(path1, path2); - } - static get isWatchSupported() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._FileSystemWatcher.isSupported; - } - return overrides.fsWatchIsSupported(); - } - static _toUtf8Array(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[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; - } else { - return l; - } - } - static _toStringFromUtf8Array(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); - } - return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); - } - static type(path, opts) { - 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[114], 692, 13, "followLinks"); - return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static typeSync(path, opts) { - 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[114], 703, 59, "followLinks"); - return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static isLink(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[114], 713, 44, "rawPath"); - return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(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[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[114], 720, 14, "type"); - return dart.equals(type, io.FileSystemEntityType.file); - }, T$0.FileSystemEntityTypeTobool())); - } - static isDirectory(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[114], 727, 18, "type"); - return dart.equals(type, io.FileSystemEntityType.directory); - }, T$0.FileSystemEntityTypeTobool())); - } - static isLinkSync(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[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[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[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[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[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[114], 773, 33, "path"); - let rootEnd = -1; - if (dart.test(io.Platform.isWindows)) { - if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { - rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); - if (rootEnd === -1) return path; - } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { - rootEnd = 0; - } - } else if (path[$startsWith]("/")) { - rootEnd = 0; - } - let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); - if (pos > rootEnd) { - return path[$substring](0, pos + 1); - } else if (rootEnd > -1) { - return path[$substring](0, rootEnd + 1); - } else { - return "."; - } - } - get parent() { - return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); - } - static _getTypeSyncHelper(rawPath, 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[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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _getTypeRequest(rawPath, 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 => { - io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); - return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.ObjectNToFileSystemEntityType())); - } - static _getType(rawPath, 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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _throwIfError(result, msg, path = null) { - 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)) { - dart.throw(result); - } - } - static _trimTrailingPathSeparators(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]("/"))) { - path = path[$substring](0, path.length - 1); - } - } else { - while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { - path = path[$substring](0, path.length - 1); - } - } - return path; - } - static _ensureTrailingPathSeparators(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]("/")) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } else { - while (!path[$endsWith](io.Platform.pathSeparator)) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } - return path; - } -}; -(io.FileSystemEntity.new = function() { - ; -}).prototype = io.FileSystemEntity.prototype; -dart.addTypeTests(io.FileSystemEntity); -dart.addTypeCaches(io.FileSystemEntity); -dart.setMethodSignature(io.FileSystemEntity, () => ({ - __proto__: dart.getMethods(io.FileSystemEntity.__proto__), - resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), - resolveSymbolicLinksSync: dart.fnType(core.String, []), - stat: dart.fnType(async.Future$(io.FileStat), []), - statSync: dart.fnType(io.FileStat, []), - delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), - 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, - isAbsolute: core.bool, - [_absolutePath]: core.String, - parent: io.Directory -})); -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; - }, - /*io.FileSystemEntity._slashChar*/get _slashChar() { - return 47; - }, - /*io.FileSystemEntity._colonChar*/get _colonChar() { - return 58; - }, - /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { - return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); - }, - /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { - return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); - } -}, false); -io._Directory = class _Directory extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath]; - } - 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[110], 14, 30, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._current")); - } - static _setCurrent(namespace, 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[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[110], 29, 40, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); - } - static _exists(namespace, 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[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[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[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[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(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); - } - return new io._Directory.new(core.String.as(result)); - } - static set current(path) { - let _rawPath = null; - let _rawPath$35isSet = false; - function _rawPath$35get() { - return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); - } - function _rawPath$35set(_rawPath$35param) { - if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); - _rawPath$35isSet = true; - return _rawPath = _rawPath$35param; - } - if (io._Directory.is(path)) { - _rawPath$35set(path[_rawPath$]); - } else if (io.Directory.is(path)) { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); - } else if (typeof path == 'string') { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); - } else { - dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); - } - if (!dart.test(io._EmbedderConfig._mayChdir)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); - } - 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(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(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - io._checkForErrorResponse(response, "Exists failed", this.path); - return dart.equals(response, 1); - }, T$.ObjectNTobool())); - } - existsSync() { - let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); - } - return dart.equals(result, 1); - } - get absolute() { - return io.Directory.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[113], 104, 55, "_"); - return this.create(); - }, T$0.DirectoryToFutureOfDirectory())); - } else { - return this.create(); - } - }, T$0.boolToFutureOrOfDirectory())); - } else { - 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.ObjectNTo_Directory())); - } - } - createSync(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - this.parent.createSync({recursive: true}); - } - } - let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); - } - } - static get systemTemp() { - return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); - } - createTemp(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - 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.ObjectNToDirectory())); - } - createTempSync(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); - if (io.OSError.is(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[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.ObjectNTo_Directory())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); - } - } - rename(newPath) { - 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.ObjectNToDirectory())); - } - renameSync(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(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[113], 216, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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[113], 228, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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([]); - io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); - return result; - } - toString() { - return "Directory: '" + dart.str(this.path) + "'"; - } - static _checkNotNull(T, t, 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[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[113], 15, 36, "rawPath"); - this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); - this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; -}).prototype = io._Directory.prototype; -dart.addTypeTests(io._Directory); -dart.addTypeCaches(io._Directory); -io._Directory[dart.implements] = () => [io.Directory]; -dart.setMethodSignature(io._Directory, () => ({ - __proto__: dart.getMethods(io._Directory.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), - createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), - [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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}, {}) -})); -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.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), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._Directory, ['toString']); -io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { - static new(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.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 t167; - t167 = this[_ops]; - return t167 == null ? null : t167.getPointer(); - } - get stream() { - return this.controller.stream; - } - onListen() { - 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(); - } else if (core.Error.is(response)) { - this.controller.addError(response, response[$stackTrace]); - this.close(); - } else { - this.error(T$.ListOfObjectN().as(response)); - this.close(); - } - }, T$0.ObjectNToNull())); - } - onResume() { - if (!dart.test(this.nextRunning)) { - this.next(); - } - } - onCancel() { - this.canceled = true; - if (!dart.test(this.nextRunning)) { - this.close(); - } - return this.closeCompleter.future; - } - next() { - if (dart.test(this.canceled)) { - this.close(); - return; - } - if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { - return; - } - let pointer = this[_pointer](); - if (pointer == null) { - return; - } - this.nextRunning = true; - 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[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[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; - } - case 1: - { - 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; - } - case 3: - { - this.error(T$.ListOfObjectN().as(result[$_get](i))); - break; - } - case 4: - { - this.canceled = true; - return; - } - } - } - } else { - this.controller.addError(new io.FileSystemException.new("Internal error")); - } - }, T$0.ObjectNToNull())); - } - [_cleanup]() { - this.controller.close(); - this.closeCompleter.complete(); - this[_ops] = null; - } - close() { - if (dart.test(this.closed)) { - return; - } - if (dart.test(this.nextRunning)) { - return; - } - this.closed = true; - let pointer = this[_pointer](); - if (pointer == null) { - this[_cleanup](); - } else { - io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); - } - } - error(message) { - 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 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(errorPath, {allowMalformed: true}); - } - 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 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; - this.closed = false; - this[_ops] = null; - this.closeCompleter = async.Completer.new(); - this.rawPath = rawPath; - this.recursive = recursive; - this.followLinks = followLinks; - t167 = this.controller; - (() => { - 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); -dart.addTypeCaches(io._AsyncDirectoryLister); -dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), - [_pointer]: dart.fnType(dart.nullable(core.int), []), - onListen: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - onCancel: dart.fnType(async.Future, []), - next: dart.fnType(dart.void, []), - [_cleanup]: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - 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[108]); -dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), - rawPath: dart.finalFieldType(typed_data.Uint8List), - recursive: dart.finalFieldType(core.bool), - followLinks: dart.finalFieldType(core.bool), - controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), - canceled: dart.fieldType(core.bool), - nextRunning: dart.fieldType(core.bool), - closed: dart.fieldType(core.bool), - [_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; - }, - /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { - return 1; - }, - /*io._AsyncDirectoryLister.listLink*/get listLink() { - return 2; - }, - /*io._AsyncDirectoryLister.listError*/get listError() { - return 3; - }, - /*io._AsyncDirectoryLister.listDone*/get listDone() { - return 4; - }, - /*io._AsyncDirectoryLister.responseType*/get responseType() { - return 0; - }, - /*io._AsyncDirectoryLister.responsePath*/get responsePath() { - return 1; - }, - /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { - return 1; - }, - /*io._AsyncDirectoryLister.responseError*/get responseError() { - return 2; - } -}, false); -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[108]); -dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); -dart.defineLazy(io._EmbedderConfig, { - /*io._EmbedderConfig._mayChdir*/get _mayChdir() { - return true; - }, - set _mayChdir(value) { - if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); - }, - /*io._EmbedderConfig._mayExit*/get _mayExit() { - return true; - }, - set _mayExit(value) { - if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); - }, - /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { - return true; - }, - set _maySetEchoMode(value) { - if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); - }, - /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { - return true; - }, - set _maySetEchoNewlineMode(value) { - if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); - }, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { - return true; - }, - set _maySetLineMode(value) { - if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); - }, - /*io._EmbedderConfig._maySleep*/get _maySleep() { - return true; - }, - 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[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.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 { - get [_mode]() { - return this[_mode$]; - } - 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[116], 32, 33, "_mode"); - this[_mode$] = _mode; - ; -}).prototype = io.FileMode.prototype; -dart.addTypeTests(io.FileMode); -dart.addTypeCaches(io.FileMode); -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[116] || CT.C116; - }, - /*io.FileMode.write*/get write() { - return C[117] || CT.C117; - }, - /*io.FileMode.append*/get append() { - return C[118] || CT.C118; - }, - /*io.FileMode.writeOnly*/get writeOnly() { - return C[119] || CT.C119; - }, - /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[120] || CT.C120; - } -}, false); -var _type$1 = dart.privateName(io, "FileLock._type"); -var _type = dart.privateName(io, "_type"); -io.FileLock = class FileLock extends core.Object { - get [_type]() { - return this[_type$1]; - } - 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[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[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[121] || CT.C121; - }, - /*io.FileLock.exclusive*/get exclusive() { - return C[122] || CT.C122; - }, - /*io.FileLock.blockingShared*/get blockingShared() { - return C[123] || CT.C123; - }, - /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[124] || CT.C124; - } -}, false); -io.File = class File extends core.Object { - static new(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[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[116], 210, 38, "rawPath"); - return new io._File.fromRawPath(rawPath); - } -}; -(io.File[dart.mixinNew] = function() { -}).prototype = io.File.prototype; -dart.addTypeTests(io.File); -dart.addTypeCaches(io.File); -io.File[dart.implements] = () => [io.FileSystemEntity]; -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[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]; - } - set message(value) { - super.message = value; - } - get path() { - return this[path$]; - } - set path(value) { - super.path = value; - } - get osError() { - return this[osError$]; - } - set osError(value) { - super.osError = value; - } - 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(className); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - } else if (this.path != null) { - sb.write(": " + dart.str(this.path)); - } - return sb.toString(); - } - toString() { - return this[_toStringHelper]("FileSystemException"); - } -}; -(io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[116], 895, 35, "message"); - this[message$3] = message; - this[path$] = path; - this[osError$] = osError; - ; -}).prototype = io.FileSystemException.prototype; -dart.addTypeTests(io.FileSystemException); -dart.addTypeCaches(io.FileSystemException); -io.FileSystemException[dart.implements] = () => [io.IOException]; -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), - path: dart.finalFieldType(dart.nullable(core.String)), - 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 _closeCompleter = dart.privateName(io, "_closeCompleter"); -var _unsubscribed = dart.privateName(io, "_unsubscribed"); -var _readInProgress = dart.privateName(io, "_readInProgress"); -var _atEnd = dart.privateName(io, "_atEnd"); -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 _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 t167; - return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); - this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = _controller$35param; - } - static ['_#new#tearOff'](_path, position, _end) { - return new io._FileStream.new(_path, position, _end); - } - static ['_#forStdin#tearOff']() { - return new io._FileStream.forStdin(); - } - 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$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { - this[_unsubscribed] = true; - return this[_closeFile](); - }, T$0.VoidToFuture())}); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - [_closeFile]() { - if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { - return this[_closeCompleter].future; - } - this[_closed] = true; - const done = () => { - this[_closeCompleter].complete(); - this[_controller].close(); - }; - dart.fn(done, T$.VoidTovoid()); - dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); - return this[_closeCompleter].future; - } - [_readBlock]() { - if (dart.test(this[_readInProgress])) return; - if (dart.test(this[_atEnd])) { - this[_closeFile](); - return; - } - this[_readInProgress] = true; - let readBytes = 65536; - let end = this[_end$0]; - if (end != null) { - readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); - if (readBytes < 0) { - this[_readInProgress] = false; - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); - this[_closeFile](); - this[_unsubscribed] = true; - } - return; - } - } - 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 (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](); - } - if (dart.notNull(block[$length]) > 0) { - this[_controller].add(block); - } - if (dart.test(this[_atEnd])) { - this[_closeFile](); - } - }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - this[_closeFile](); - this[_unsubscribed] = true; - } - }, T$.dynamicAnddynamicToNull())); - } - [_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(); - this[_closeCompleter].complete(); - return; - } - const onReady = 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[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)); - this[_readInProgress] = false; - this[_closeFile](); - }, T$.dynamicAnddynamicToNull())}); - } else { - onReady(file); - } - }; - dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); - const openFailed = (error, stackTrace) => { - this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controller].close(); - this[_closeCompleter].complete(); - }; - dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); - let path = this[_path$0]; - 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 { - onOpenFile(io._File._openStdioSync(0)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - openFailed(e, s); - } else - throw e$; - } - } - } -}; -(io._FileStream.new = function(_path, position, _end) { - let t167; - 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[_openedFile] = null; - this[_path$0] = _path; - 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[_closeCompleter] = async.Completer.new(); - this[_unsubscribed] = false; - this[_readInProgress] = true; - this[_closed] = false; - this[_atEnd] = false; - 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; -dart.addTypeTests(io._FileStream); -dart.addTypeCaches(io._FileStream); -dart.setMethodSignature(io._FileStream, () => ({ - __proto__: dart.getMethods(io._FileStream.__proto__), - 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$2]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(io._FileStream, () => ({ - __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) -})); -dart.setSetterSignature(io._FileStream, () => ({ - __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) -})); -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)), - [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [_position$]: dart.fieldType(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), - [_closed]: dart.fieldType(core.bool), - [_atEnd]: dart.fieldType(core.bool) -})); -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[117], 186, 45, "stream"); - let completer = T$0.CompleterOfFileN().sync(); - this[_openFuture].then(core.Null, dart.fn(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")); - } - function _subscription$35set(_subscription$35param) { - if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); - _subscription$35isSet = true; - return _subscription = _subscription$35param; - } - function error(e, 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[117], 196, 38, "d"); - _subscription$35get().pause(); - try { - openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); - return _subscription$35get().resume(); - }, T$0.RandomAccessFileTovoid()), {onError: error}); - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - error(e, stackTrace); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { - completer.complete(this[_file]); - }, T$.VoidTovoid()), onError: error, cancelOnError: true})); - }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); - return completer.future; - } - close() { - return this[_openFuture].then(dart.void, dart.fn(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[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[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, () => ({ - __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), - 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[108]); -dart.setFieldSignature(io._FileStreamConsumer, () => ({ - __proto__: dart.getFields(io._FileStreamConsumer.__proto__), - [_file]: dart.fieldType(dart.nullable(io.File)), - [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) -})); -var _path$1 = dart.privateName(io, "_File._path"); -var _rawPath$0 = dart.privateName(io, "_File._rawPath"); -var _tryDecode = dart.privateName(io, "_tryDecode"); -io._File = class _File extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$1]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$0]; - } - 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]; - } - static _namespacePointer() { - return io._Namespace._namespacePointer; - } - static _dispatchWithNamespace(request, 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 => { - 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[110], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._exists")); - } - existsSync() { - let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); - return core.bool.as(result); - } - get absolute() { - return io.File.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(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.ObjectNTo_File())); - } - 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[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[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[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$], 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[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[117], 294, 64, "_"); - return this; - }, T$0.FileSystemEntityTo_File())); - } - return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete file", this.path); - return this; - }, T$0.ObjectNTo_File())); - } - static _deleteNative(namespace, 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[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[117], 307, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _rename(namespace, oldPath, 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[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[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[117], 336, 28, "newPath"); - return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _copy(namespace, oldPath, 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[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[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 => { - io._checkForErrorResponse(response, "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.ObjectNTo_RandomAccessFile())); - } - length() { - return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - 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[110], 161, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); - } - lengthSync() { - let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); - return core.int.as(result); - } - lastAccessed() { - return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastAccessed(namespace, 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() { - let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastAccessed(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 => { - io._checkForErrorResponse(response, "Cannot set access time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastAccessed(namespace, rawPath, 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[117], 414, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); - } - } - lastModified() { - return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastModified(namespace, 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() { - let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastModified(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 => { - io._checkForErrorResponse(response, "Cannot set modification time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastModified(namespace, rawPath, 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[117], 453, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); - } - } - static _open(namespace, rawPath, 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[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")); - } - let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); - io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); - } - static _openStdio(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[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))); - } - return new io._RandomAccessFile.new(id, ""); - } - openRead(start = null, end = null) { - return new io._FileStream.new(this.path, start, end); - } - openWrite(opts) { - 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")); - } - let consumer = new io._FileStreamConsumer.new(this, mode); - return io.IOSink.new(consumer, {encoding: encoding}); - } - readAsBytes() { - function readDataChunked(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[117], 507, 37, "data"); - if (dart.notNull(data[$length]) > 0) { - builder.add(data); - read(); - } else { - completer.complete(builder.takeBytes()); - } - }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); - } - dart.fn(read, T$.VoidTovoid()); - read(); - return completer.future; - } - dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); - return this.open().then(typed_data.Uint8List, dart.fn(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[117], 522, 34, "length"); - if (length === 0) { - return readDataChunked(file); - } - return file.read(length); - }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfUint8List())); - } - readAsBytesSync() { - let opened = this.openSync(); - try { - let data = null; - let length = opened.lengthSync(); - if (length === 0) { - let builder = _internal.BytesBuilder.new({copy: false}); - do { - data = opened.readSync(65536); - if (dart.notNull(data[$length]) > 0) builder.add(data); - } while (dart.notNull(data[$length]) > 0); - data = builder.takeBytes(); - } else { - data = opened.readSync(length); - } - return data; - } finally { - opened.closeSync(); - } - } - [_tryDecode](bytes, 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) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); - } else - throw e; - } - } - readAsString(opts) { - 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[117], 568, 32, "bytes"); - try { - return this[_tryDecode](bytes, encoding); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfString().error(e, stack); - } else - throw e$; - } - }, T$0.Uint8ListToFutureOrOfString())); - } - readAsStringSync(opts) { - 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[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[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[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[117], 587, 45, "flush"); - return this.open({mode: mode}).then(io.File, dart.fn(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[117], 589, 65, "_"); - if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); - return this; - }, T$0.RandomAccessFileTo_File())); - return this; - }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfFile())); - } - writeAsBytesSync(bytes, opts) { - 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[117], 597, 45, "flush"); - let opened = this.openSync({mode: mode}); - try { - opened.writeFromSync(bytes, 0, bytes[$length]); - if (dart.test(flush)) opened.flushSync(); - } finally { - opened.closeSync(); - } - } - writeAsString(contents, opts) { - 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[117], 610, 12, "flush"); - try { - return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfFile().error(e); - } else - throw e$; - } - } - writeAsStringSync(contents, opts) { - 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[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[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(io.FileSystemException._fromOSError(result, msg, path)); - } - } - static _checkNotNull(T, t, 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[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[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); - ; -}).prototype = io._File.prototype; -dart.addTypeTests(io._File); -dart.addTypeCaches(io._File); -io._File[dart.implements] = () => [io.File]; -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), [], {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]), - renameSync: dart.fnType(io.File, [core.String]), - copy: dart.fnType(async.Future$(io.File), [core.String]), - copySync: dart.fnType(io.File, [core.String]), - open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - lastAccessed: dart.fnType(async.Future$(core.DateTime), []), - lastAccessedSync: dart.fnType(core.DateTime, []), - setLastAccessed: dart.fnType(async.Future, [core.DateTime]), - setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), - lastModified: dart.fnType(async.Future$(core.DateTime), []), - lastModifiedSync: dart.fnType(core.DateTime, []), - setLastModified: dart.fnType(async.Future, [core.DateTime]), - setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), - openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), - openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), - openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), - readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), - readAsBytesSync: dart.fnType(typed_data.Uint8List, []), - [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), - readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), - readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), - readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), - readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), - writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - 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[108]); -dart.setFieldSignature(io._File, () => ({ - __proto__: dart.getFields(io._File.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._File, ['toString']); -io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { - static new(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.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"); -var _resourceInfo = dart.privateName(io, "_resourceInfo"); -var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); -var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); -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 t176; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); - } - 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)) { - io._FileResourceInfo.fileClosed(this[_resourceInfo]); - } - } - [_maybeConnectHandler]() { - if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); - developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); - io._RandomAccessFile._connectedResourceHandler = true; - } - } - close() { - return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { - if (dart.equals(result, -1)) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || dart.equals(result, 0); - this[_maybePerformCleanup](); - }, T$0.ObjectNToNull())); - } - closeSync() { - this[_checkAvailable](); - let id = this[_ops].close(); - if (id === -1) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || id === 0; - this[_maybePerformCleanup](); - } - readByte() { - return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "readByte failed", this.path); - this[_resourceInfo].addRead(1); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - readByteSync() { - this[_checkAvailable](); - let result = this[_ops].readByte(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); - } - this[_resourceInfo].addRead(1); - return core.int.as(result); - } - read(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 => { - 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.ObjectNToUint8List())); - } - readSync(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 (!typed_data.Uint8List.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); - } - this[_resourceInfo].addRead(result[$length]); - return result; - } - readInto(buffer, start = 0, end = null) { - 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) { - return T$0.FutureOfint().value(0); - } - let length = dart.notNull(end) - dart.notNull(start); - return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - 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.ObjectNToint())); - } - readIntoSync(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return 0; - } - let result = this[_ops].readInto(buffer, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); - } - this[_resourceInfo].addRead(core.int.as(result)); - return core.int.as(result); - } - writeByte(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 => { - io._checkForErrorResponse(response, "writeByte failed", this.path); - this[_resourceInfo].addWrite(1); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeByteSync(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); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); - } - this[_resourceInfo].addWrite(1); - return core.int.as(result); - } - writeFrom(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return T$0.FutureOfRandomAccessFile().value(this); - } - let result = null; - try { - result = io._ensureFastAndSerializableByteData(buffer, start, end); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfRandomAccessFile().error(e); - } else - throw e$; - } - let request = core.List.filled(4, null); - request[$_set](0, null); - request[$_set](1, result.buffer); - 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 => { - io._checkForErrorResponse(response, "writeFrom failed", this.path); - this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeFromSync(buffer, start = 0, end = null) { - 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"); - end = core.RangeError.checkValidRange(start, end, buffer[$length]); - if (end == start) { - return; - } - let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); - let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); - } - this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - } - writeString(string, opts) { - 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[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 => { - io._checkForErrorResponse(response, "position failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - positionSync() { - this[_checkAvailable](); - let result = this[_ops].position(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("position failed", this.path, result)); - } - return core.int.as(result); - } - setPosition(position) { - if (position == null) dart.nullFailed(I[117], 894, 44, "position"); - return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "setPosition failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - setPositionSync(position) { - if (position == null) dart.nullFailed(I[117], 902, 28, "position"); - this[_checkAvailable](); - let result = this[_ops].setPosition(position); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); - } - } - truncate(length) { - if (length == null) dart.nullFailed(I[117], 910, 41, "length"); - return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "truncate failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - truncateSync(length) { - if (length == null) dart.nullFailed(I[117], 917, 25, "length"); - this[_checkAvailable](); - let result = this[_ops].truncate(length); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); - } - } - length() { - return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "length failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - lengthSync() { - this[_checkAvailable](); - let result = this[_ops].length(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("length failed", this.path, result)); - } - return core.int.as(result); - } - flush() { - return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "flush failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - flushSync() { - this[_checkAvailable](); - let result = this[_ops].flush(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); - } - } - [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); - return fl[_type]; - } - 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"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "lock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - unlock(start = 0, end = -1) { - 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 => { - io._checkForErrorResponse(response, "unlock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - 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"); - core.ArgumentError.checkNotNull(core.int, end, "end"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - let result = this[_ops].lock(lock, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); - } - } - unlockSync(start = 0, end = -1) { - 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"); - if (start == end) { - dart.throw(new core.ArgumentError.new()); - } - let result = this[_ops].lock(0, start, end); - if (io.OSError.is(result)) { - 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[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[117], 1037, 59, "markClosed"); - if (dart.test(this.closed)) { - 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 T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); - } - if (dart.test(markClosed)) { - this.closed = true; - } - this[_asyncDispatched] = true; - data[$_set](0, this[_pointer]()); - return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { - this[_asyncDispatched] = false; - }, T$.VoidToNull())); - } - [_checkAvailable]() { - if (dart.test(this[_asyncDispatched])) { - dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); - } - if (dart.test(this.closed)) { - dart.throw(new io.FileSystemException.new("File closed", this.path)); - } - } -}; -(io._RandomAccessFile.new = function(pointer, 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; - this.closed = false; - this.path = path; - this[_ops] = io._RandomAccessFileOps.new(pointer); - this[_resourceInfo] = new io._FileResourceInfo.new(this); - this[_maybeConnectHandler](); -}).prototype = io._RandomAccessFile.prototype; -dart.addTypeTests(io._RandomAccessFile); -dart.addTypeCaches(io._RandomAccessFile); -io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; -dart.setMethodSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getMethods(io._RandomAccessFile.__proto__), - [_maybePerformCleanup]: dart.fnType(dart.void, []), - [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), - close: dart.fnType(async.Future$(dart.void), []), - closeSync: dart.fnType(dart.void, []), - readByte: dart.fnType(async.Future$(core.int), []), - readByteSync: dart.fnType(core.int, []), - read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), - readSync: dart.fnType(typed_data.Uint8List, [core.int]), - readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - writeByteSync: dart.fnType(core.int, [core.int]), - writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), - writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), - position: dart.fnType(async.Future$(core.int), []), - positionSync: dart.fnType(core.int, []), - setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - setPositionSync: dart.fnType(dart.void, [core.int]), - truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - truncateSync: dart.fnType(dart.void, [core.int]), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - flush: dart.fnType(async.Future$(io.RandomAccessFile), []), - flushSync: dart.fnType(dart.void, []), - [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), - lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), - unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), - 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$(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, - fd: core.int -})); -dart.setSetterSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getSetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo -})); -dart.setLibraryUri(io._RandomAccessFile, I[108]); -dart.setFieldSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getFields(io._RandomAccessFile.__proto__), - path: dart.finalFieldType(core.String), - [_asyncDispatched]: dart.fieldType(core.bool), - [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), - [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), - [_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(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]() { - return this[_type$2]; - } - 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[114], 39, 43, "type"); - return io.FileSystemEntityType._typeList[$_get](type); - } - toString() { - return (C[128] || CT.C128)[$_get](this[_type]); - } -}; -(io.FileSystemEntityType._internal = function(_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.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[129] || CT.C129; - }, - /*io.FileSystemEntityType.directory*/get directory() { - return C[130] || CT.C130; - }, - /*io.FileSystemEntityType.link*/get link() { - return C[131] || CT.C131; - }, - /*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[134] || CT.C134; - }, - /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[134] || CT.C134; - }, - /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[135] || CT.C135; - } -}, false); -var changed$ = dart.privateName(io, "FileStat.changed"); -var modified$ = dart.privateName(io, "FileStat.modified"); -var accessed$ = dart.privateName(io, "FileStat.accessed"); -var type$1 = dart.privateName(io, "FileStat.type"); -var mode$0 = dart.privateName(io, "FileStat.mode"); -var size$ = dart.privateName(io, "FileStat.size"); -io.FileStat = class FileStat extends core.Object { - get changed() { - return this[changed$]; - } - set changed(value) { - super.changed = value; - } - get modified() { - return this[modified$]; - } - set modified(value) { - super.modified = value; - } - get accessed() { - return this[accessed$]; - } - set accessed(value) { - super.accessed = value; - } - get type() { - return this[type$1]; - } - set type(value) { - super.type = value; - } - get mode() { - return this[mode$0]; - } - set mode(value) { - super.mode = value; - } - get size() { - return this[size$]; - } - 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[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[114], 109, 35, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._statSyncInternal(path); - } - return overrides.statSync(path); - } - static _statSyncInternal(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 (!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[114], 140, 39, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._stat(path); - } - return overrides.stat(path); - } - static _stat(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 (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { - return io.FileStat._notFound; - } - 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.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 t177; - let permissions = dart.notNull(this.mode) & 4095; - 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) "); - t177 = result; - (() => { - 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[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; - this[type$1] = type; - this[mode$0] = mode; - this[size$] = size; - ; -}).prototype = io.FileStat.prototype; -dart.addTypeTests(io.FileStat); -dart.addTypeCaches(io.FileStat); -dart.setMethodSignature(io.FileStat, () => ({ - __proto__: dart.getMethods(io.FileStat.__proto__), - modeString: dart.fnType(core.String, []) -})); -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), - modified: dart.finalFieldType(core.DateTime), - accessed: dart.finalFieldType(core.DateTime), - type: dart.finalFieldType(io.FileSystemEntityType), - 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() { - return 0; - }, - /*io.FileStat._changedTime*/get _changedTime() { - return 1; - }, - /*io.FileStat._modifiedTime*/get _modifiedTime() { - return 2; - }, - /*io.FileStat._accessedTime*/get _accessedTime() { - return 3; - }, - /*io.FileStat._mode*/get _mode() { - return 4; - }, - /*io.FileStat._size*/get _size() { - return 5; - }, - /*io.FileStat._epoch*/get _epoch() { - return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); - }, - /*io.FileStat._notFound*/get _notFound() { - return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); - } -}, false); -var type$2 = dart.privateName(io, "FileSystemEvent.type"); -var path$0 = dart.privateName(io, "FileSystemEvent.path"); -var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); -io.FileSystemEvent = class FileSystemEvent extends core.Object { - get type() { - return this[type$2]; - } - set type(value) { - super.type = value; - } - get path() { - return this[path$0]; - } - set path(value) { - super.path = value; - } - get isDirectory() { - return this[isDirectory$]; - } - 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[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; - ; -}).prototype = io.FileSystemEvent.prototype; -dart.addTypeTests(io.FileSystemEvent); -dart.addTypeCaches(io.FileSystemEvent); -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.modify*/get modify() { - return 2; - }, - /*io.FileSystemEvent.delete*/get delete() { - return 4; - }, - /*io.FileSystemEvent.move*/get move() { - return 8; - }, - /*io.FileSystemEvent.all*/get all() { - return 15; - }, - /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { - return 16; - }, - /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { - return 32; - }, - /*io.FileSystemEvent._isDir*/get _isDir() { - return 64; - } -}, 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) + "')"; - } -}; -(io.FileSystemCreateEvent.__ = function(path, isDirectory) { - io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemCreateEvent.prototype; -dart.addTypeTests(io.FileSystemCreateEvent); -dart.addTypeCaches(io.FileSystemCreateEvent); -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 { - get contentChanged() { - return this[contentChanged$]; - } - 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[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[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) + "')"; - } -}; -(io.FileSystemDeleteEvent.__ = function(path, isDirectory) { - io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemDeleteEvent.prototype; -dart.addTypeTests(io.FileSystemDeleteEvent); -dart.addTypeCaches(io.FileSystemDeleteEvent); -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 { - get destination() { - return this[destination$]; - } - 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) + "'"); - if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); - buffer.write(")"); - return buffer.toString(); - } -}; -(io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { - this[destination$] = destination; - io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemMoveEvent.prototype; -dart.addTypeTests(io.FileSystemMoveEvent); -dart.addTypeCaches(io.FileSystemMoveEvent); -dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); -dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ - __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), - destination: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); -io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { - static _watch(path, events, 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() { - dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); - } -}; -(io._FileSystemWatcher.new = function() { - ; -}).prototype = io._FileSystemWatcher.prototype; -dart.addTypeTests(io._FileSystemWatcher); -dart.addTypeCaches(io._FileSystemWatcher); -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](); - } - get referenceValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); - } - static getNextID() { - 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[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.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(value) { - if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); - }, - /*io._IOResourceInfo._sw*/get _sw() { - let t177; - return t177 = new core.Stopwatch.new(), (() => { - t177.start(); - return t177; - })(); - }, - /*io._IOResourceInfo._startTime*/get _startTime() { - return new core.DateTime.now().millisecondsSinceEpoch; - } -}, false); -io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { - addRead(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; - } - didRead() { - this.addRead(0); - } - addWrite(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; - } - get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); - } -}; -(io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[119], 66, 33, "type"); - this.readBytes = 0; - this.writeBytes = 0; - this.readCount = 0; - this.writeCount = 0; - this.lastReadTime = 0; - this.lastWriteTime = 0; - io._ReadWriteResourceInfo.__proto__.new.call(this, type); - ; -}).prototype = io._ReadWriteResourceInfo.prototype; -dart.addTypeTests(io._ReadWriteResourceInfo); -dart.addTypeCaches(io._ReadWriteResourceInfo); -dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), - addRead: dart.fnType(dart.void, [core.int]), - didRead: dart.fnType(dart.void, []), - addWrite: dart.fnType(dart.void, [core.int]) -})); -dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), - fullValueMap: core.Map$(core.String, dart.dynamic) -})); -dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); -dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - readCount: dart.fieldType(core.int), - writeCount: dart.fieldType(core.int), - lastReadTime: dart.fieldType(core.int), - 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[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[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[119], 111, 8, "e"); - return e.referenceValueMap; - }, T$0._FileResourceInfoToMapOfString$dynamic()))); - } - static getOpenFiles($function, params) { - 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)); - } - get fileInfoMap() { - return this.fullValueMap; - } - static getOpenFileInfoMapByID($function, params) { - 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 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[108]); -dart.setFieldSignature(io._FileResourceInfo, () => ({ - __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(io.RandomAccessFile) -})); -dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); -dart.defineLazy(io._FileResourceInfo, { - /*io._FileResourceInfo._type*/get _type() { - return "OpenFile"; - }, - /*io._FileResourceInfo.openFiles*/get openFiles() { - return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); - }, - set openFiles(value) { - if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); - } -}, false); -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 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", 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[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[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[119], 186, 10, "e"); - return e.referenceValueMap; - }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); - } - static getStartedProcesses($function, params) { - 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[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); - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); - } -}; -(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"); - io._SpawnedProcessResourceInfo.processStarted(this); -}).prototype = io._SpawnedProcessResourceInfo.prototype; -dart.addTypeTests(io._SpawnedProcessResourceInfo); -dart.addTypeCaches(io._SpawnedProcessResourceInfo); -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[108]); -dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ - __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - 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"; - }, - /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { - return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); - }, - 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[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 t177; - return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); - } - set encoding(encoding$35param) { - if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); - this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = encoding$35param; - } -}; -(io.IOSink[dart.mixinNew] = function() { - this[__IOSink_encoding] = null; - this[__IOSink_encoding_isSet] = false; -}).prototype = io.IOSink.prototype; -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 -})); -dart.setSetterSignature(io.IOSink, () => ({ - __proto__: dart.getSetters(io.IOSink.__proto__), - encoding: convert.Encoding -})); -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) -})); -io._IOService = class _IOService extends core.Object { - static _dispatch(request, 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.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; - }, - /*io._IOService.fileCreate*/get fileCreate() { - return 1; - }, - /*io._IOService.fileDelete*/get fileDelete() { - return 2; - }, - /*io._IOService.fileRename*/get fileRename() { - return 3; - }, - /*io._IOService.fileCopy*/get fileCopy() { - return 4; - }, - /*io._IOService.fileOpen*/get fileOpen() { - return 5; - }, - /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { - return 6; - }, - /*io._IOService.fileClose*/get fileClose() { - return 7; - }, - /*io._IOService.filePosition*/get filePosition() { - return 8; - }, - /*io._IOService.fileSetPosition*/get fileSetPosition() { - return 9; - }, - /*io._IOService.fileTruncate*/get fileTruncate() { - return 10; - }, - /*io._IOService.fileLength*/get fileLength() { - return 11; - }, - /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { - return 12; - }, - /*io._IOService.fileLastAccessed*/get fileLastAccessed() { - return 13; - }, - /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { - return 14; - }, - /*io._IOService.fileLastModified*/get fileLastModified() { - return 15; - }, - /*io._IOService.fileSetLastModified*/get fileSetLastModified() { - return 16; - }, - /*io._IOService.fileFlush*/get fileFlush() { - return 17; - }, - /*io._IOService.fileReadByte*/get fileReadByte() { - return 18; - }, - /*io._IOService.fileWriteByte*/get fileWriteByte() { - return 19; - }, - /*io._IOService.fileRead*/get fileRead() { - return 20; - }, - /*io._IOService.fileReadInto*/get fileReadInto() { - return 21; - }, - /*io._IOService.fileWriteFrom*/get fileWriteFrom() { - return 22; - }, - /*io._IOService.fileCreateLink*/get fileCreateLink() { - return 23; - }, - /*io._IOService.fileDeleteLink*/get fileDeleteLink() { - return 24; - }, - /*io._IOService.fileRenameLink*/get fileRenameLink() { - return 25; - }, - /*io._IOService.fileLinkTarget*/get fileLinkTarget() { - return 26; - }, - /*io._IOService.fileType*/get fileType() { - return 27; - }, - /*io._IOService.fileIdentical*/get fileIdentical() { - return 28; - }, - /*io._IOService.fileStat*/get fileStat() { - return 29; - }, - /*io._IOService.fileLock*/get fileLock() { - return 30; - }, - /*io._IOService.fileCreatePipe*/get fileCreatePipe() { - return 31; - }, - /*io._IOService.socketLookup*/get socketLookup() { - return 32; - }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { - return 33; - }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { - return 34; - }, - /*io._IOService.directoryCreate*/get directoryCreate() { - return 35; - }, - /*io._IOService.directoryDelete*/get directoryDelete() { - return 36; - }, - /*io._IOService.directoryExists*/get directoryExists() { - return 37; - }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { - return 38; - }, - /*io._IOService.directoryListStart*/get directoryListStart() { - return 39; - }, - /*io._IOService.directoryListNext*/get directoryListNext() { - return 40; - }, - /*io._IOService.directoryListStop*/get directoryListStop() { - return 41; - }, - /*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[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[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[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.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"); -io._Link = class _Link extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$2]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$1]; - } - 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]; - } - toString() { - return "Link: '" + dart.str(this.path) + "'"; - } - exists() { - return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); - } - existsSync() { - return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); - } - get absolute() { - return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); - } - create(target, opts) { - 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[120], 164, 44, "recursive"); - let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - 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.ObjectNTo_Link())); - } - createSync(target, opts) { - 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[120], 177, 40, "recursive"); - if (dart.test(recursive)) { - this.parent.createSync({recursive: true}); - } - let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); - io._Link.throwIfError(result, "Cannot create link", this.path); - } - updateSync(target) { - if (target == null) dart.nullFailed(I[120], 185, 26, "target"); - this.deleteSync(); - this.createSync(target); - } - update(target) { - if (target == null) dart.nullFailed(I[120], 194, 30, "target"); - return this.delete().then(io.Link, dart.fn(_ => { - 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[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[120], 206, 18, "_"); - return this; - }, T$0.FileSystemEntityTo_Link())); - } - return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete link", this.path); - return this; - }, T$0.ObjectNTo_Link())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); - io._Link.throwIfError(result, "Cannot delete link", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); - return io.Link.new(newPath); - }, T$0.ObjectNToLink())); - } - renameSync(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 => { - 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$]); - io._Link.throwIfError(result, "Cannot read link", this.path); - return core.String.as(result); - } - static throwIfError(result, msg, 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(io.FileSystemException._fromOSError(result, msg, path)); - } - } -}; -(io._Link.new = function(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[120], 150, 31, "rawPath"); - this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); - this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; -}).prototype = io._Link.prototype; -dart.addTypeTests(io._Link); -dart.addTypeCaches(io._Link); -io._Link[dart.implements] = () => [io.Link]; -dart.setMethodSignature(io._Link, () => ({ - __proto__: dart.getMethods(io._Link.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), - updateSync: dart.fnType(dart.void, [core.String]), - update: dart.fnType(async.Future$(io.Link), [core.String]), - [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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, []) -})); -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[108]); -dart.setFieldSignature(io._Link, () => ({ - __proto__: dart.getFields(io._Link.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._Link, ['toString']); -io._Namespace = class _Namespace extends core.Object { - static get _namespace() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static get _namespacePointer() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static _setupNamespace(namespace) { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } -}; -(io._Namespace.new = function() { - ; -}).prototype = io._Namespace.prototype; -dart.addTypeTests(io._Namespace); -dart.addTypeCaches(io._Namespace); -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[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[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; - } - case "ext.dart.io.setHttpEnableTimelineLogging": - { - 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[121], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); - } - io._setHttpEnableTimelineLogging(parameters); - } - 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; - } - case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } - case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } - case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } - case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } - case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } - case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } - case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } - case "ext.dart.io.getVersion": - { - 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.result(responseJson)); - } catch (e) { - let errorMessage = dart.getThrown(e); - if (core.Object.is(errorMessage)) { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); - } else - throw e; - } - } - static getVersion() { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); - } -}; -(io._NetworkProfiling.new = function() { - ; -}).prototype = io._NetworkProfiling.prototype; -dart.addTypeTests(io._NetworkProfiling); -dart.addTypeCaches(io._NetworkProfiling); -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"; - }, - /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { - return "ext.dart.io.setHttpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { - return "ext.dart.io.httpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { - return "ext.dart.io.getHttpProfile"; - }, - /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { - return "ext.dart.io.getHttpProfileRequest"; - }, - /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { - return "ext.dart.io.clearHttpProfile"; - }, - /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { - return "ext.dart.io.clearSocketProfile"; - }, - /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { - return "ext.dart.io.getSocketProfile"; - }, - /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { - return "ext.dart.io.socketProfilingEnabled"; - }, - /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { - return "ext.dart.io.pauseSocketProfiling"; - }, - /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { - return "ext.dart.io.startSocketProfiling"; - }, - /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { - return "ext.dart.io.getVersion"; - } -}, false); -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[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; - } - } - static get enableSocketProfiling() { - return io._SocketProfile._enableSocketProfiling; - } - 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[121], 222, 53, "f"); - return f.toMap(); - }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); - } - static collectNewSocket(id, type, addr, 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 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 = (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[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")); - } - } - } - static start() { - io._SocketProfile.enableSocketProfiling = true; - return io._success(); - } - static pause() { - io._SocketProfile.enableSocketProfiling = false; - return io._success(); - } - static clear() { - io._SocketProfile._idToSocketStatistic[$clear](); - return io._success(); - } -}; -(io._SocketProfile.new = function() { - ; -}).prototype = io._SocketProfile.prototype; -dart.addTypeTests(io._SocketProfile); -dart.addTypeCaches(io._SocketProfile); -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"; - }, - /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { - return false; - }, - 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(value) { - if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); - } -}, false); -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[_enumToString](); - } -}; -(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 = 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(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); - this[_setIfNotNull](map, "endTime", this.endTime); - this[_setIfNotNull](map, "address", this.address); - this[_setIfNotNull](map, "port", this.port); - this[_setIfNotNull](map, "socketType", this.socketType); - this[_setIfNotNull](map, "readBytes", this.readBytes); - this[_setIfNotNull](map, "writeBytes", this.writeBytes); - this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); - this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); - return map; - } - [_setIfNotNull](json, key, value) { - 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[121], 318, 25, "id"); - this.startTime = null; - this.endTime = null; - this.address = null; - this.port = null; - this.socketType = null; - this.readBytes = 0; - this.writeBytes = 0; - this.lastWriteTime = null; - this.lastReadTime = null; - this.id = id; - ; -}).prototype = io._SocketStatistic.prototype; -dart.addTypeTests(io._SocketStatistic); -dart.addTypeCaches(io._SocketStatistic); -dart.setMethodSignature(io._SocketStatistic, () => ({ - __proto__: dart.getMethods(io._SocketStatistic.__proto__), - 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[108]); -dart.setFieldSignature(io._SocketStatistic, () => ({ - __proto__: dart.getFields(io._SocketStatistic.__proto__), - id: dart.finalFieldType(core.int), - startTime: dart.fieldType(dart.nullable(core.int)), - endTime: dart.fieldType(dart.nullable(core.int)), - address: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - socketType: dart.fieldType(dart.nullable(core.String)), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - lastWriteTime: dart.fieldType(dart.nullable(core.int)), - lastReadTime: dart.fieldType(dart.nullable(core.int)) -})); -io.IOOverrides = class IOOverrides extends core.Object { - static get current() { - 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[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; - let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; - let createFile = opts && 'createFile' in opts ? opts.createFile : null; - let stat = opts && 'stat' in opts ? opts.stat : null; - let statSync = opts && 'statSync' in opts ? opts.statSync : null; - let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; - let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; - let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; - let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; - let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; - let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; - let createLink = opts && 'createLink' in opts ? opts.createLink : null; - 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 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[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[123], 155, 36, "path"); - return new io._Directory.new(path); - } - getCurrentDirectory() { - return io._Directory.current; - } - setCurrentDirectory(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[123], 183, 26, "path"); - return new io._File.new(path); - } - stat(path) { - if (path == null) dart.nullFailed(I[123], 191, 32, "path"); - return io.FileStat._stat(path); - } - statSync(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[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[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[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[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[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[123], 263, 26, "path"); - return new io._Link.new(path); - } - socketConnect(host, port, opts) { - 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, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[123], 282, 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], 283, 27, "sourcePort"); - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 296, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[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() { - ; -}).prototype = io.IOOverrides.prototype; -dart.addTypeTests(io.IOOverrides); -dart.addTypeCaches(io.IOOverrides); -dart.setMethodSignature(io.IOOverrides, () => ({ - __proto__: dart.getMethods(io.IOOverrides.__proto__), - createDirectory: dart.fnType(io.Directory, [core.String]), - getCurrentDirectory: dart.fnType(io.Directory, []), - setCurrentDirectory: dart.fnType(dart.void, [core.String]), - getSystemTempDirectory: dart.fnType(io.Directory, []), - createFile: dart.fnType(io.File, [core.String]), - stat: dart.fnType(async.Future$(io.FileStat), [core.String]), - statSync: dart.fnType(io.FileStat, [core.String]), - fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), - fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), - fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), - fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), - 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, 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.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(value) {} -}, false); -var _previous$4 = dart.privateName(io, "_previous"); -var _createDirectory$ = dart.privateName(io, "_createDirectory"); -var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); -var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); -var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); -var _createFile$ = dart.privateName(io, "_createFile"); -var _stat$ = dart.privateName(io, "_stat"); -var _statSync$ = dart.privateName(io, "_statSync"); -var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); -var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); -var _fseGetType$ = dart.privateName(io, "_fseGetType"); -var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); -var _fsWatch$ = dart.privateName(io, "_fsWatch"); -var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); -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[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); - } - getCurrentDirectory() { - if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); - return super.getCurrentDirectory(); - } - setCurrentDirectory(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) - dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); - else - super.setCurrentDirectory(path); - } - getSystemTempDirectory() { - if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); - return super.getSystemTempDirectory(); - } - createFile(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[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[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[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[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[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[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[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); - } - fsWatchIsSupported() { - if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); - return super.fsWatchIsSupported(); - } - createLink(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[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, sourcePort: sourcePort, timeout: timeout}); - } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 558, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[123], 558, 51, "shared"); - if (this[_serverSocketBind$] != null) { - return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - 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, _stdin, _stdout, _stderr) { - this[_previous$4] = io.IOOverrides.current; - this[_createDirectory$] = _createDirectory; - this[_getCurrentDirectory$] = _getCurrentDirectory; - this[_setCurrentDirectory$] = _setCurrentDirectory; - this[_getSystemTempDirectory$] = _getSystemTempDirectory; - this[_createFile$] = _createFile; - this[_stat$] = _stat; - this[_statSync$] = _statSync; - this[_fseIdentical$] = _fseIdentical; - this[_fseIdenticalSync$] = _fseIdenticalSync; - this[_fseGetType$] = _fseGetType; - this[_fseGetTypeSync$] = _fseGetTypeSync; - this[_fsWatch$] = _fsWatch; - this[_fsWatchIsSupported$] = _fsWatchIsSupported; - this[_createLink$] = _createLink; - 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[108]); -dart.setFieldSignature(io._IOOverridesScope, () => ({ - __proto__: dart.getFields(io._IOOverridesScope.__proto__), - [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), - [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), - [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), - [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), - [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), - [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), - [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), - [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), - [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), - [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), - [_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, 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() { - return io.Platform._numberOfProcessors; - } - static get pathSeparator() { - return io.Platform._pathSeparator; - } - static get localeName() { - return io._Platform.localeName(); - } - static get operatingSystem() { - return io.Platform._operatingSystem; - } - static get operatingSystemVersion() { - return io.Platform._operatingSystemVersion; - } - static get localHostname() { - return io.Platform._localHostname; - } - static get environment() { - return io._Platform.environment; - } - static get executable() { - return io._Platform.executable; - } - static get resolvedExecutable() { - return io._Platform.resolvedExecutable; - } - static get script() { - return io._Platform.script; - } - static get executableArguments() { - return io._Platform.executableArguments; - } - 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.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; - }, - /*io.Platform._pathSeparator*/get _pathSeparator() { - return io._Platform.pathSeparator; - }, - /*io.Platform._operatingSystem*/get _operatingSystem() { - return io._Platform.operatingSystem; - }, - /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { - return io._Platform.operatingSystemVersion; - }, - /*io.Platform._localHostname*/get _localHostname() { - return io._Platform.localHostname; - }, - /*io.Platform._version*/get _version() { - return io._Platform.version; - }, - /*io.Platform.isLinux*/get isLinux() { - return io.Platform._operatingSystem === "linux"; - }, - /*io.Platform.isMacOS*/get isMacOS() { - return io.Platform._operatingSystem === "macos"; - }, - /*io.Platform.isWindows*/get isWindows() { - return io.Platform._operatingSystem === "windows"; - }, - /*io.Platform.isAndroid*/get isAndroid() { - return io.Platform._operatingSystem === "android"; - }, - /*io.Platform.isIOS*/get isIOS() { - return io.Platform._operatingSystem === "ios"; - }, - /*io.Platform.isFuchsia*/get isFuchsia() { - return io.Platform._operatingSystem === "fuchsia"; - } -}, false); -io._Platform = class _Platform extends core.Object { - static _packageRoot() { - dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); - } - static _numberOfProcessors() { - dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); - } - static _pathSeparator() { - dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); - } - static _operatingSystem() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); - } - static _operatingSystemVersion() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); - } - static _localHostname() { - dart.throw(new core.UnsupportedError.new("Platform._localHostname")); - } - static _executable() { - dart.throw(new core.UnsupportedError.new("Platform._executable")); - } - static _resolvedExecutable() { - dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); - } - static _environment() { - dart.throw(new core.UnsupportedError.new("Platform._environment")); - } - static _executableArguments() { - dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); - } - static _packageConfig() { - dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); - } - static _version() { - dart.throw(new core.UnsupportedError.new("Platform._version")); - } - static _localeName() { - dart.throw(new core.UnsupportedError.new("Platform._localeName")); - } - static _script() { - dart.throw(new core.UnsupportedError.new("Platform._script")); - } - static localeName() { - let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return result; - } - static get numberOfProcessors() { - return io._Platform._numberOfProcessors(); - } - static get pathSeparator() { - return io._Platform._pathSeparator(); - } - static get operatingSystem() { - return io._Platform._operatingSystem(); - } - static get script() { - return io._Platform._script(); - } - static get operatingSystemVersion() { - if (io._Platform._cachedOSVersion == null) { - let result = io._Platform._operatingSystemVersion(); - if (io.OSError.is(result)) { - dart.throw(result); - } - io._Platform._cachedOSVersion = T$.StringN().as(result); - } - return dart.nullCheck(io._Platform._cachedOSVersion); - } - static get localHostname() { - let result = io._Platform._localHostname(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return core.String.as(result); - } - static get executableArguments() { - return io._Platform._executableArguments(); - } - static get environment() { - if (io._Platform._environmentCache == null) { - let env = io._Platform._environment(); - 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 environmentEntry of env) { - if (environmentEntry == null) { - continue; - } - 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); - } else { - io._Platform._environmentCache = env; - } - } - if (io.OSError.is(io._Platform._environmentCache)) { - dart.throw(io._Platform._environmentCache); - } else { - return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); - } - } - 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.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(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(value) { - if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); - }, - /*io._Platform.packageConfig*/get packageConfig() { - return io._Platform._packageConfig(); - }, - set packageConfig(value) {}, - /*io._Platform._localeClosure*/get _localeClosure() { - return null; - }, - set _localeClosure(value) {}, - /*io._Platform._environmentCache*/get _environmentCache() { - return null; - }, - set _environmentCache(value) {}, - /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { - return null; - }, - 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 __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]())); - } - containsValue(value) { - return this[_map$10][$containsValue](value); - } - _get(key) { - return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; - } - _set(key, value$) { - let value = value$; - core.String.as(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[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) { - __t$MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[124], 142, 30, "other"); - other[$forEach](dart.fn((key, value) => { - 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; - } - clear() { - this[_map$10][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[124], 153, 21, "f"); - this[_map$10][$forEach](f); - } - get keys() { - return this[_map$10][$keys]; - } - get values() { - return this[_map$10][$values]; - } - get length() { - return this[_map$10][$length]; - } - get isEmpty() { - return this[_map$10][$isEmpty]; - } - get isNotEmpty() { - return this[_map$10][$isNotEmpty]; - } - get entries() { - return this[_map$10][$entries]; - } - map(K2, V2, 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[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; - __t$VoidToNV().as(ifAbsent); - return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); - } - updateAll(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[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 (__t$LinkedMapOfString$V()).new(); - ; - }).prototype = _CaseInsensitiveStringMap.prototype; - dart.addTypeTests(_CaseInsensitiveStringMap); - _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; - dart.addTypeCaches(_CaseInsensitiveStringMap); - dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) - })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); - dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), - [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) - })); - dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ - 'containsKey', - 'containsValue', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'map', - 'update', - 'updateAll', - 'removeWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return _CaseInsensitiveStringMap; -}); -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[110], 306, 26, "status"); - dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); - } - static _setExitCode(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[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[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.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")); - } - 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.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]() { - return this[_mode$0]; - } - set [_mode](value) { - super[_mode] = value; - } - static get values() { - return C[146] || CT.C146; - } - toString() { - 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[125], 154, 41, "_mode"); - this[_mode$0] = _mode; - ; -}).prototype = io.ProcessStartMode.prototype; -dart.addTypeTests(io.ProcessStartMode); -dart.addTypeCaches(io.ProcessStartMode); -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[147] || CT.C147; - }, - /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[148] || CT.C148; - }, - /*io.ProcessStartMode.detached*/get detached() { - return C[149] || CT.C149; - }, - /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - 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[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[110], 355, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 365, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 376, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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")); - } -}; -(io.Process.new = function() { - ; -}).prototype = io.Process.prototype; -dart.addTypeTests(io.Process); -dart.addTypeCaches(io.Process); -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"); -var pid$ = dart.privateName(io, "ProcessResult.pid"); -io.ProcessResult = class ProcessResult extends core.Object { - get exitCode() { - return this[exitCode$]; - } - set exitCode(value) { - super.exitCode = value; - } - get stdout() { - return this[stdout$]; - } - set stdout(value) { - super.stdout = value; - } - get stderr() { - return this[stderr$]; - } - set stderr(value) { - super.stderr = value; - } - get pid() { - return this[pid$]; - } - 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[125], 467, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); - this[pid$] = pid; - this[exitCode$] = exitCode; - this[stdout$] = stdout; - this[stderr$] = stderr; - ; -}).prototype = io.ProcessResult.prototype; -dart.addTypeTests(io.ProcessResult); -dart.addTypeCaches(io.ProcessResult); -dart.setLibraryUri(io.ProcessResult, I[108]); -dart.setFieldSignature(io.ProcessResult, () => ({ - __proto__: dart.getFields(io.ProcessResult.__proto__), - exitCode: dart.finalFieldType(core.int), - stdout: dart.finalFieldType(dart.dynamic), - stderr: dart.finalFieldType(dart.dynamic), - pid: dart.finalFieldType(core.int) -})); -var _signalNumber = dart.privateName(io, "_signalNumber"); -var _name$6 = dart.privateName(io, "_name"); -const _signalNumber$ = ProcessSignal__signalNumber; -const _name$7 = ProcessSignal__name; -io.ProcessSignal = class ProcessSignal extends core.Object { - get [_signalNumber]() { - return this[_signalNumber$]; - } - set [_signalNumber](value) { - super[_signalNumber] = value; - } - get [_name$6]() { - return this[_name$7]; - } - 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$6]; - } - watch() { - return io._ProcessUtils._watchSignal(this); - } -}; -(io.ProcessSignal.__ = function(_signalNumber, _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$7] = _name; - ; -}).prototype = io.ProcessSignal.prototype; -dart.addTypeTests(io.ProcessSignal); -dart.addTypeCaches(io.ProcessSignal); -dart.setMethodSignature(io.ProcessSignal, () => ({ - __proto__: dart.getMethods(io.ProcessSignal.__proto__), - watch: dart.fnType(async.Stream$(io.ProcessSignal), []) -})); -dart.setLibraryUri(io.ProcessSignal, I[108]); -dart.setFieldSignature(io.ProcessSignal, () => ({ - __proto__: dart.getFields(io.ProcessSignal.__proto__), - [_signalNumber]: dart.finalFieldType(core.int), - [_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[154] || CT.C154; - }, - /*io.ProcessSignal.sigint*/get sigint() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.sigquit*/get sigquit() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.sigill*/get sigill() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.sigbus*/get sigbus() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.sigkill*/get sigkill() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.sigterm*/get sigterm() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.sigchld*/get sigchld() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.sigcont*/get sigcont() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.sigstop*/get sigstop() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.sigttin*/get sigttin() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.sigttou*/get sigttou() { - return C[173] || CT.C173; - }, - /*io.ProcessSignal.sigurg*/get sigurg() { - return C[174] || CT.C174; - }, - /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[175] || CT.C175; - }, - /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[176] || CT.C176; - }, - /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[177] || CT.C177; - }, - /*io.ProcessSignal.sigprof*/get sigprof() { - return C[178] || CT.C178; - }, - /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[179] || CT.C179; - }, - /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[180] || CT.C180; - }, - /*io.ProcessSignal.sigsys*/get sigsys() { - return C[181] || CT.C181; - } -}, false); -var message$4 = dart.privateName(io, "SignalException.message"); -var osError$0 = dart.privateName(io, "SignalException.osError"); -io.SignalException = class SignalException extends core.Object { - get message() { - return this[message$4]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$0]; - } - 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) { - msg = ", osError: " + dart.str(this.osError); - } - return "SignalException: " + dart.str(this.message) + msg; - } -}; -(io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[125], 536, 30, "message"); - this[message$4] = message; - this[osError$0] = osError; - ; -}).prototype = io.SignalException.prototype; -dart.addTypeTests(io.SignalException); -dart.addTypeCaches(io.SignalException); -io.SignalException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SignalException, I[108]); -dart.setFieldSignature(io.SignalException, () => ({ - __proto__: dart.getFields(io.SignalException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(io.SignalException, ['toString']); -var executable$ = dart.privateName(io, "ProcessException.executable"); -var $arguments$ = dart.privateName(io, "ProcessException.arguments"); -var message$5 = dart.privateName(io, "ProcessException.message"); -var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); -io.ProcessException = class ProcessException extends core.Object { - get executable() { - return this[executable$]; - } - set executable(value) { - super.executable = value; - } - get arguments() { - return this[$arguments$]; - } - set arguments(value) { - super.arguments = value; - } - get message() { - return this[message$5]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$1]; - } - 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[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; - this[errorCode$1] = errorCode; - ; -}).prototype = io.ProcessException.prototype; -dart.addTypeTests(io.ProcessException); -dart.addTypeCaches(io.ProcessException); -io.ProcessException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.ProcessException, I[108]); -dart.setFieldSignature(io.ProcessException, () => ({ - __proto__: dart.getFields(io.ProcessException.__proto__), - executable: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(core.List$(core.String)), - message: dart.finalFieldType(core.String), - errorCode: dart.finalFieldType(core.int) -})); -dart.defineExtensionMethods(io.ProcessException, ['toString']); -var _socket$ = dart.privateName(io, "_socket"); -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[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, 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[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, 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[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[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 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[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[127], 181, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); - let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - 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())); - } -}; -(io.SecureSocket[dart.mixinNew] = function() { -}).prototype = io.SecureSocket.prototype; -dart.addTypeTests(io.SecureSocket); -dart.addTypeCaches(io.SecureSocket); -io.SecureSocket[dart.implements] = () => [io.Socket]; -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[126], 67, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 69, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 81, 16, "serverSocket"); - return new io.SecureServerSocket.__(serverSocket); - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - 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; - return this[_socket$].map(io.SecureSocket, dart.fn(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}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); - return this; - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - set [_owner](owner) { - this[_socket$][_owner] = owner; - } -}; -(io.SecureServerSocket.__ = function(_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, - address: io.InternetAddress -})); -dart.setSetterSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getSetters(io.SecureServerSocket.__proto__), - [_owner]: dart.dynamic -})); -dart.setLibraryUri(io.SecureServerSocket, I[108]); -dart.setFieldSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getFields(io.SecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) -})); -var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); -var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); -var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); -var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); -var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); -var _subscription$ = dart.privateName(io, "_subscription"); -var _context$ = dart.privateName(io, "_context"); -var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); -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[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[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[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[127], 298, 42, "rawState"); - let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - 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[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, keyLog: keyLog, supportedProtocols: supportedProtocols}); - } - static secureServer(socket, context, opts) { - 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[127], 406, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); - } -}; -(io.RawSecureSocket.new = function() { - ; -}).prototype = io.RawSecureSocket.prototype; -dart.addTypeTests(io.RawSecureSocket); -dart.addTypeCaches(io.RawSecureSocket); -io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; -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$]; - } - set requestClientCertificate(value) { - super.requestClientCertificate = value; - } - get requireClientCertificate() { - return this[requireClientCertificate$]; - } - set requireClientCertificate(value) { - super.requireClientCertificate = value; - } - get supportedProtocols() { - return this[supportedProtocols$]; - } - set supportedProtocols(value) { - super.supportedProtocols = value; - } - get [_controller]() { - let t180; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); - this[__RawSecureServerSocket__controller_isSet] = true; - 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[126], 187, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 189, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 196, 16, "serverSocket"); - return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - 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; - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - this[_closed] = true; - return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); - return this; - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); - let remotePort = null; - try { - remotePort = connection.remotePort; - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return; - } else - 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[126], 239, 32, "secureConnection"); - if (dart.test(this[_closed])) { - secureConnection.close(); - } else { - this[_controller].add(secureConnection); - } - }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_closed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - } - }, T$.dynamicAnddynamicToNull())); - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - dart.nullCheck(this[_subscription$]).pause(); - } else { - dart.nullCheck(this[_subscription$]).resume(); - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); - } else { - this.close(); - } - } - set [_owner](owner) { - io._RawSocketBase.as(this[_socket$])[_owner] = owner; - } -}; -(io.RawSecureServerSocket.__ = function(_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"); - this[__RawSecureServerSocket__controller] = null; - this[__RawSecureServerSocket__controller_isSet] = false; - this[_subscription$] = null; - this[_closed] = false; - this[_socket$] = _socket; - this[_context$] = _context; - this[requestClientCertificate$] = requestClientCertificate; - this[requireClientCertificate$] = requireClientCertificate; - this[supportedProtocols$] = supportedProtocols; - io.RawSecureServerSocket.__proto__.new.call(this); - this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); -}).prototype = io.RawSecureServerSocket.prototype; -dart.addTypeTests(io.RawSecureServerSocket); -dart.addTypeCaches(io.RawSecureServerSocket); -dart.setMethodSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), - [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), - [_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), - port: core.int, - address: io.InternetAddress -})); -dart.setSetterSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), - [_controller]: async.StreamController$(io.RawSecureSocket), - [_owner]: dart.dynamic -})); -dart.setLibraryUri(io.RawSecureServerSocket, I[108]); -dart.setFieldSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawServerSocket), - [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), - [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), - [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), - [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - requestClientCertificate: dart.finalFieldType(core.bool), - requireClientCertificate: dart.finalFieldType(core.bool), - supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), - [_closed]: dart.fieldType(core.bool) -})); -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.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; - this.writeEmpty = true; - this.readPlaintextNoLongerEmpty = false; - this.writePlaintextNoLongerFull = false; - this.readEncryptedNoLongerFull = false; - this.writeEncryptedNoLongerEmpty = false; - ; -}).prototype = io._FilterStatus.prototype; -dart.addTypeTests(io._FilterStatus); -dart.addTypeCaches(io._FilterStatus); -dart.setLibraryUri(io._FilterStatus, I[108]); -dart.setFieldSignature(io._FilterStatus, () => ({ - __proto__: dart.getFields(io._FilterStatus.__proto__), - progress: dart.fieldType(core.bool), - readEmpty: dart.fieldType(core.bool), - writeEmpty: dart.fieldType(core.bool), - readPlaintextNoLongerEmpty: dart.fieldType(core.bool), - writePlaintextNoLongerFull: dart.fieldType(core.bool), - 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"); -var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); -var _status = dart.privateName(io, "_status"); -var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); -var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); -var _pauseCount = dart.privateName(io, "_pauseCount"); -var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); -var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); -var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); -var _closedRead = dart.privateName(io, "_closedRead"); -var _closedWrite = dart.privateName(io, "_closedWrite"); -var _filterStatus = dart.privateName(io, "_filterStatus"); -var _connectPending = dart.privateName(io, "_connectPending"); -var _filterPending = dart.privateName(io, "_filterPending"); -var _filterActive = dart.privateName(io, "_filterActive"); -var _secureFilter = dart.privateName(io, "_secureFilter"); -var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); -var _bufferedData$ = dart.privateName(io, "_bufferedData"); -var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); -var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); -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"); -var _close$ = dart.privateName(io, "_close"); -var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); -var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); -var _readHandler = dart.privateName(io, "_readHandler"); -var _writeHandler = dart.privateName(io, "_writeHandler"); -var _closeHandler = dart.privateName(io, "_closeHandler"); -var _readSocket = dart.privateName(io, "_readSocket"); -var _writeSocket = dart.privateName(io, "_writeSocket"); -var _tryFilter = dart.privateName(io, "_tryFilter"); -var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); -var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); -var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); -var _value$ = dart.privateName(io, "RawSocketEvent._value"); -var _value$0 = dart.privateName(io, "_value"); -io.RawSocketEvent = class RawSocketEvent extends core.Object { - get [_value$0]() { - return this[_value$]; - } - 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[182] || CT.C182)[$_get](this[_value$0]); - } -}; -(io.RawSocketEvent.__ = function(_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[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[183] || CT.C183; - }, - /*io.RawSocketEvent.write*/get write() { - return C[184] || CT.C184; - }, - /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[185] || CT.C185; - }, - /*io.RawSocketEvent.closed*/get closed() { - return C[186] || CT.C186; - } -}, false); -io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { - static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); - return dart.notNull(identifier) >= 2; - } - get [_socketSubscription]() { - let t183; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); - } - 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] = _socketSubscription$35param; - } - } - static connect(host, requestedPort, isServer, socket, opts) { - 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[127], 550, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - let address = socket.address; - if (host != null) { - address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); - } - 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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_sendWriteEvent](); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - static _verifyFields(host, requestedPort, requestClientCertificate, 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")); - } - core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); - if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { - dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); - } - core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); - core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); - } - get port() { - return this[_socket$].port; - } - get remoteAddress() { - return this[_socket$].remoteAddress; - } - get remotePort() { - return this[_socket$].remotePort; - } - set [_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; - } - close() { - this.shutdown(io.SocketDirection.both); - return this[_closeCompleter].future; - } - [_completeCloseCompleter](dummy = null) { - 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)); - this[_socketClosedWrite] = true; - this[_socketClosedRead] = true; - if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - } - t183 = this.keyLogPort; - t183 == null ? null : t183.close(); - if (this[_socketSubscription] != null) { - this[_socketSubscription].cancel(); - } - this[_controller].close(); - this[_status] = 203; - } - shutdown(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)) { - this[_socket$].shutdown(io.SocketDirection.send); - this[_socketClosedWrite] = true; - if (dart.test(this[_closedRead])) { - this[_close$](); - } - } - } - if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { - this[_closedRead] = true; - this[_socketClosedRead] = true; - this[_socket$].shutdown(io.SocketDirection.receive); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } - } - get writeEventsEnabled() { - return this[_writeEventsEnabled]; - } - set writeEventsEnabled(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())); - } - } - get readEventsEnabled() { - return this[_readEventsEnabled]; - } - set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[127], 763, 35, "value"); - this[_readEventsEnabled] = value; - this[_scheduleReadEvent](); - } - read(length = null) { - if (length != null && dart.notNull(length) < 0) { - dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); - } - if (dart.test(this[_closedRead])) { - dart.throw(new io.SocketException.new("Reading from a closed socket")); - } - if (this[_status] !== 202) { - return null; - } - let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); - this[_scheduleFilter](); - return result; - } - readMessage(count = null) { - dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); - } - static _fixOffset(offset) { - let t183; - t183 = offset; - return t183 == null ? 0 : t183; - } - write(data, offset = 0, bytes = null) { - 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) + ")")); - } - offset = io._RawSecureSocket._fixOffset(offset); - if (dart.notNull(offset) < 0) { - dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); - } - if (dart.test(this[_closedWrite])) { - this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); - return 0; - } - if (this[_status] !== 202) return 0; - bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; - let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); - if (dart.notNull(written) > 0) { - this[_filterStatus].writeEmpty = false; - } - 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; - } - get selectedProtocol() { - return this[_selectedProtocol]; - } - [_onBadCertificateWrapper](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[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[127], 836, 42, "option"); - return this[_socket$].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[127], 840, 37, "option"); - this[_socket$].setRawOption(option); - } - [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[127], 844, 40, "event"); - try { - if (dart.equals(event, io.RawSocketEvent.read)) { - this[_readHandler](); - } else if (dart.equals(event, io.RawSocketEvent.write)) { - this[_writeHandler](); - } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { - this[_closeHandler](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - } - [_readHandler]() { - this[_readSocket](); - this[_scheduleFilter](); - } - [_writeHandler]() { - this[_writeSocket](); - this[_scheduleFilter](); - } - [_doneHandler]() { - if (dart.test(this[_filterStatus].readEmpty)) { - this[_close$](); - } - } - [_reportError](e, stackTrace = null) { - if (this[_status] === 203) { - return; - } else if (dart.test(this[_connectPending])) { - this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); - } else { - this[_controller].addError(core.Object.as(e), stackTrace); - } - this[_close$](); - } - [_closeHandler]() { - return async.async(dart.void, (function* _closeHandler() { - if (this[_status] === 202) { - if (dart.test(this[_closedRead])) return; - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_closedRead] = true; - this[_controller].add(io.RawSocketEvent.readClosed); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } else { - yield this[_scheduleFilter](); - } - } else if (this[_status] === 201) { - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); - } else { - yield this[_secureHandshake](); - } - } - }).bind(this)); - } - [_secureHandshake]() { - return async.async(dart.void, (function* _secureHandshake$() { - try { - let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); - if (dart.test(needRetryHandshake)) { - yield this[_secureHandshake](); - } else { - this[_filterStatus].writeEmpty = false; - this[_readSocket](); - this[_writeSocket](); - yield this[_scheduleFilter](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - }).bind(this)); - } - renegotiate(opts) { - let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - 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[127], 933, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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")); - } - this[_status] = 201; - this[_filterStatus].writeEmpty = false; - this[_scheduleFilter](); - } - [_secureHandshakeCompleteHandler]() { - this[_status] = 202; - if (dart.test(this[_connectPending])) { - this[_connectPending] = false; - try { - this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); - async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_handshakeComplete].completeError(error, stack); - } else - throw e; - } - } - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; - } else { - this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; - if (this[_pauseCount] === 0) { - this[_scheduleReadEvent](); - this[_sendWriteEvent](); - } - } - if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { - if (dart.test(this[_controller].isPaused)) { - this[_socketSubscription].pause(); - } else { - this[_socketSubscription].resume(); - } - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - } - } - [_scheduleFilter]() { - this[_filterPending] = true; - return this[_tryFilter](); - } - [_tryFilter]() { - return async.async(dart.void, (function* _tryFilter() { - try { - while (true) { - if (this[_status] === 203) { - return; - } - if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { - return; - } - this[_filterActive] = true; - this[_filterPending] = false; - this[_filterStatus] = (yield this[_pushAllFilterStages]()); - this[_filterActive] = false; - if (this[_status] === 203) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - return; - } - this[_socket$].readEventsEnabled = true; - if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { - this.shutdown(io.SocketDirection.send); - if (this[_status] === 203) { - return; - } - } - if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { - if (this[_status] === 201) { - dart.nullCheck(this[_secureFilter]).handshake(); - if (this[_status] === 201) { - dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); - } - } - this[_closeHandler](); - } - if (this[_status] === 203) { - return; - } - if (dart.test(this[_filterStatus].progress)) { - this[_filterPending] = true; - if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { - this[_writeSocket](); - } - if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { - this[_sendWriteEvent](); - } - if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { - this[_readSocket](); - } - if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { - this[_scheduleReadEvent](); - } - if (this[_status] === 201) { - yield this[_secureHandshake](); - } - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, st); - } else - throw e$; - } - }).bind(this)); - } - [_readSocketOrBufferedData](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])) { - bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); - } - let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); - this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); - if (bufferedData[$length] == this[_bufferedDataIndex]) { - this[_bufferedData$] = null; - } - return result; - } else if (!dart.test(this[_socketClosedRead])) { - return this[_socket$].read(bytes); - } else { - return null; - } - } - [_readSocket]() { - if (this[_status] === 203) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); - if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { - this[_filterStatus].readEmpty = false; - } else { - this[_socket$].readEventsEnabled = false; - } - } - [_writeSocket]() { - if (dart.test(this[_socketClosedWrite])) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); - if (dart.test(buffer.readToSocket(this[_socket$]))) { - this[_socket$].writeEventsEnabled = true; - } - } - [_scheduleReadEvent]() { - if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_pendingReadEvent] = true; - async.Timer.run(dart.bind(this, _sendReadEvent)); - } - } - [_sendReadEvent]() { - this[_pendingReadEvent] = false; - if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_controller].add(io.RawSocketEvent.read); - this[_scheduleReadEvent](); - } - } - [_sendWriteEvent]() { - if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { - this[_writeEventsEnabled] = false; - this[_controller].add(io.RawSocketEvent.write); - } - } - [_pushAllFilterStages]() { - return async.async(io._FilterStatus, (function* _pushAllFilterStages() { - let wasInHandshake = this[_status] !== 202; - let args = core.List.filled(2 + 4 * 2, null); - args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); - args[$_set](1, wasInHandshake); - let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); - for (let i = 0; i < 4; i = i + 1) { - args[$_set](2 * i + 2, bufs[$_get](i).start); - args[$_set](2 * i + 3, bufs[$_get](i).end); - } - 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(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); - } else { - 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[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[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(); - status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); - if (wasInHandshake) status.writeEmpty = false; - status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); - let buffer = bufs[$_get](1); - let new_start = start(1); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.writePlaintextNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](2); - new_start = start(2); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.readEncryptedNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](3); - let new_end = end(3); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.writeEncryptedNoLongerEmpty = true; - } - buffer.end = new_end; - } - buffer = bufs[$_get](0); - new_end = end(0); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.readPlaintextNoLongerEmpty = true; - } - buffer.end = new_end; - } - return status; - }).bind(this)); - } -}; -(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; - this[_pauseCount] = 0; - this[_pendingReadEvent] = false; - this[_socketClosedRead] = false; - this[_socketClosedWrite] = false; - this[_closedRead] = false; - this[_closedWrite] = false; - this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); - this[_filterStatus] = new io._FilterStatus.new(); - this[_connectPending] = true; - this[_filterPending] = false; - this[_filterActive] = false; - this[_secureFilter] = io._SecureFilter.__(); - this[_selectedProtocol] = null; - this.address = address; - this.isServer = isServer; - this.context = context; - this[_socket$] = _socket; - this[_bufferedData$] = _bufferedData; - this.requestClientCertificate = requestClientCertificate; - this.requireClientCertificate = requireClientCertificate; - this.onBadCertificate = onBadCertificate; - this.keyLog = keyLog; - io._RawSecureSocket.__proto__.new.call(this); - t181 = this[_controller]; - (() => { - 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)); - } - this[_socket$].readEventsEnabled = true; - this[_socket$].writeEventsEnabled = false; - if (subscription == null) { - this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); - } else { - this[_socketSubscription] = subscription; - if (dart.test(this[_socketSubscription].isPaused)) { - this[_socket$].close(); - dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); - } - if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { - this[_eventDispatcher](io.RawSocketEvent.readClosed); - } - t182 = this[_socketSubscription]; - (() => { - t182.onData(dart.bind(this, _eventDispatcher)); - t182.onError(dart.bind(this, _reportError)); - t182.onDone(dart.bind(this, _doneHandler)); - return t182; - })(); - } - try { - let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); - secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); - this[_secureHandshake](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, s); - } else - throw e$; - } -}).prototype = io._RawSecureSocket.prototype; -dart.addTypeTests(io._RawSecureSocket); -dart.addTypeCaches(io._RawSecureSocket); -io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; -dart.setMethodSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getMethods(io._RawSecureSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - available: dart.fnType(core.int, []), - close: dart.fnType(async.Future$(io.RawSecureSocket), []), - [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), - [_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]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), - [_readHandler]: dart.fnType(dart.void, []), - [_writeHandler]: dart.fnType(dart.void, []), - [_doneHandler]: dart.fnType(dart.void, []), - [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), - [_closeHandler]: dart.fnType(dart.void, []), - [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), - renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), - [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), - [_onPauseStateChange]: dart.fnType(dart.void, []), - [_onSubscriptionStateChange]: dart.fnType(dart.void, []), - [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), - [_tryFilter]: dart.fnType(async.Future$(dart.void), []), - [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), - [_readSocket]: dart.fnType(dart.void, []), - [_writeSocket]: dart.fnType(dart.void, []), - [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), - [_sendReadEvent]: dart.fnType(dart.dynamic, []), - [_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), - port: core.int, - remoteAddress: io.InternetAddress, - remotePort: core.int, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool, - peerCertificate: dart.nullable(io.X509Certificate), - selectedProtocol: dart.nullable(core.String) -})); -dart.setSetterSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getSetters(io._RawSecureSocket.__proto__), - [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), - [_owner]: dart.dynamic, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool -})); -dart.setLibraryUri(io._RawSecureSocket, I[108]); -dart.setFieldSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getFields(io._RawSecureSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSocket), - [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), - [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), - [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), - [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), - [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), - [_bufferedDataIndex]: dart.fieldType(core.int), - address: dart.finalFieldType(io.InternetAddress), - isServer: dart.finalFieldType(core.bool), - context: dart.finalFieldType(io.SecurityContext), - 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), - [_pauseCount]: dart.fieldType(core.int), - [_pendingReadEvent]: dart.fieldType(core.bool), - [_socketClosedRead]: dart.fieldType(core.bool), - [_socketClosedWrite]: dart.fieldType(core.bool), - [_closedRead]: dart.fieldType(core.bool), - [_closedWrite]: dart.fieldType(core.bool), - [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), - [_filterStatus]: dart.fieldType(io._FilterStatus), - [_connectPending]: dart.fieldType(core.bool), - [_filterPending]: dart.fieldType(core.bool), - [_filterActive]: dart.fieldType(core.bool), - [_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; - }, - /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { - return 202; - }, - /*io._RawSecureSocket.closedStatus*/get closedStatus() { - return 203; - }, - /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { - return 0; - }, - /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { - return 1; - }, - /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { - return 2; - }, - /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { - return 3; - }, - /*io._RawSecureSocket.bufferCount*/get bufferCount() { - return 4; - } -}, 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[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[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[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[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() { - return this.end == this.start; - } - get length() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get linearLength() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get free() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; - } - get linearFree() { - if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; - if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; - return dart.notNull(this.size) - dart.notNull(this.end); - } - read(bytes) { - if (bytes == null) { - bytes = this.length; - } else { - bytes = math.min(core.int, bytes, this.length); - } - if (bytes === 0) return null; - let result = _native_typed_data.NativeUint8List.new(bytes); - let bytesRead = 0; - while (bytesRead < dart.notNull(bytes)) { - let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); - result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); - this.advanceStart(toRead); - bytesRead = bytesRead + toRead; - } - return result; - } - write(inputData, offset, 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; - } - let written = 0; - let toWrite = math.min(core.int, bytes, this.linearFree); - while (toWrite > 0) { - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); - this.advanceEnd(toWrite); - offset = dart.notNull(offset) + toWrite; - written = written + toWrite; - toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); - } - return written; - } - writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); - let written = 0; - let toWrite = this.linearFree; - while (dart.notNull(toWrite) > 0) { - let inputData = getData(toWrite); - if (inputData == null || inputData[$length] === 0) break; - let len = inputData[$length]; - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); - this.advanceEnd(len); - written = written + dart.notNull(len); - toWrite = this.linearFree; - } - return written; - } - readToSocket(socket) { - if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); - while (true) { - let toWrite = this.linearLength; - if (toWrite === 0) return false; - let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); - this.advanceStart(bytes); - if (dart.notNull(bytes) < dart.notNull(toWrite)) { - return true; - } - } - } -}; -(io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); - this.data = null; - this.size = size; - this.start = (dart.notNull(size) / 2)[$truncate](); - this.end = (dart.notNull(size) / 2)[$truncate](); - ; -}).prototype = io._ExternalBuffer.prototype; -dart.addTypeTests(io._ExternalBuffer); -dart.addTypeCaches(io._ExternalBuffer); -dart.setMethodSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getMethods(io._ExternalBuffer.__proto__), - advanceStart: dart.fnType(dart.void, [core.int]), - advanceEnd: dart.fnType(dart.void, [core.int]), - read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), - write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), - writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), - readToSocket: dart.fnType(core.bool, [io.RawSocket]) -})); -dart.setGetterSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getGetters(io._ExternalBuffer.__proto__), - isEmpty: core.bool, - length: core.int, - linearLength: core.int, - free: core.int, - linearFree: core.int -})); -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))), - start: dart.fieldType(core.int), - end: dart.fieldType(core.int), - size: dart.finalFieldType(core.int) -})); -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.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"); -io.TlsException = class TlsException extends core.Object { - get type() { - return this[type$3]; - } - set type(value) { - super.type = value; - } - get message() { - return this[message$6]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$1]; - } - 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); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - return sb.toString(); - } -}; -(io.TlsException.new = function(message = "", osError = null) { - 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[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; - ; -}).prototype = io.TlsException.prototype; -dart.addTypeTests(io.TlsException); -dart.addTypeCaches(io.TlsException); -io.TlsException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.TlsException, I[108]); -dart.setFieldSignature(io.TlsException, () => ({ - __proto__: dart.getFields(io.TlsException.__proto__), - type: dart.finalFieldType(core.String), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -dart.defineExtensionMethods(io.TlsException, ['toString']); -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[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[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[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[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[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")); - } - static get alpnSupported() { - dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); - } - static _protocolsToLengthEncoding(protocols) { - let t187, t187$; - if (protocols == null || protocols[$length] === 0) { - return _native_typed_data.NativeUint8List.new(0); - } - let protocolsLength = protocols[$length]; - let expectedLength = protocolsLength; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let length = protocols[$_get](i).length; - if (length > 0 && length <= 255) { - expectedLength = dart.notNull(expectedLength) + length; - } else { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); - } - } - if (dart.notNull(expectedLength) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - let bytes = _native_typed_data.NativeUint8List.new(expectedLength); - let bytesOffset = 0; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let proto = protocols[$_get](i); - 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]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); - } - if (bits > 127) { - return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); - } - } - return bytes; - } - static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); - function addProtocol(outBytes, 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) { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); - } - outBytes[$add](len); - outBytes[$addAll](protocolBytes); - } - dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); - let bytes = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { - addProtocol(bytes, protocols[$_get](i)); - } - if (dart.notNull(bytes[$length]) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - return _native_typed_data.NativeUint8List.fromList(bytes); - } -}; -(io.SecurityContext[dart.mixinNew] = function() { -}).prototype = io.SecurityContext.prototype; -dart.addTypeTests(io.SecurityContext); -dart.addTypeCaches(io.SecurityContext); -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"); -var _servicePath = dart.privateName(io, "_servicePath"); -var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); -var _serviceType = dart.privateName(io, "_serviceType"); -io._ServiceObject = class _ServiceObject extends core.Object { - get [_serviceId]() { - 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[130], 23, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); - return this[_serviceTypeName]; - } -}; -(io._ServiceObject.new = function() { - this[__serviceId] = 0; - ; -}).prototype = io._ServiceObject.prototype; -dart.addTypeTests(io._ServiceObject); -dart.addTypeCaches(io._ServiceObject); -dart.setMethodSignature(io._ServiceObject, () => ({ - __proto__: dart.getMethods(io._ServiceObject.__proto__), - [_serviceType]: dart.fnType(core.String, [core.bool]) -})); -dart.setGetterSignature(io._ServiceObject, () => ({ - __proto__: dart.getGetters(io._ServiceObject.__proto__), - [_serviceId]: core.int, - [_servicePath]: core.String -})); -dart.setLibraryUri(io._ServiceObject, I[108]); -dart.setFieldSignature(io._ServiceObject, () => ({ - __proto__: dart.getFields(io._ServiceObject.__proto__), - [__serviceId]: dart.fieldType(core.int) -})); -var _value$1 = dart.privateName(io, "InternetAddressType._value"); -io.InternetAddressType = class InternetAddressType extends core.Object { - get [_value$0]() { - return this[_value$1]; - } - 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[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[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[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[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[188] || CT.C188; - }, - /*io.InternetAddressType.IPv6*/get IPv6() { - return C[189] || CT.C189; - }, - /*io.InternetAddressType.unix*/get unix() { - return C[190] || CT.C190; - }, - /*io.InternetAddressType.any*/get any() { - return C[191] || CT.C191; - } -}, false); -io.InternetAddress = class InternetAddress extends core.Object { - static get loopbackIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); - } - static get loopbackIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); - } - static get anyIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); - } - static get anyIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); - } - static new(address, opts) { - 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[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[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[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[110], 435, 43, "address"); - dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); - } -}; -(io.InternetAddress[dart.mixinNew] = function() { -}).prototype = io.InternetAddress.prototype; -dart.addTypeTests(io.InternetAddress); -dart.addTypeCaches(io.InternetAddress); -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[110], 449, 13, "includeLoopback"); - let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - 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")); - } -}; -(io.NetworkInterface.new = function() { - ; -}).prototype = io.NetworkInterface.prototype; -dart.addTypeTests(io.NetworkInterface); -dart.addTypeCaches(io.NetworkInterface); -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[110], 459, 52, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[110], 460, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); - dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); - } -}; -(io.RawServerSocket.new = function() { - ; -}).prototype = io.RawServerSocket.prototype; -io.RawServerSocket.prototype[dart.isStream] = true; -dart.addTypeTests(io.RawServerSocket); -dart.addTypeCaches(io.RawServerSocket); -io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; -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[128], 303, 49, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[128], 304, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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}); - } - return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - static _bind(address, port, opts) { - 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[110], 469, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[110], 469, 51, "shared"); - dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); - } -}; -(io.ServerSocket.new = function() { - ; -}).prototype = io.ServerSocket.prototype; -dart.addTypeTests(io.ServerSocket); -dart.addTypeCaches(io.ServerSocket); -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]() { - return this[_value$2]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketDirection.__(_value); - } -}; -(io.SocketDirection.__ = function(_value) { - this[_value$2] = _value; - ; -}).prototype = io.SocketDirection.prototype; -dart.addTypeTests(io.SocketDirection); -dart.addTypeCaches(io.SocketDirection); -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[192] || CT.C192; - }, - /*io.SocketDirection.send*/get send() { - return C[193] || CT.C193; - }, - /*io.SocketDirection.both*/get both() { - return C[194] || CT.C194; - } -}, false); -var _value$3 = dart.privateName(io, "SocketOption._value"); -io.SocketOption = class SocketOption extends core.Object { - get [_value$0]() { - return this[_value$3]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketOption.__(_value); - } -}; -(io.SocketOption.__ = function(_value) { - this[_value$3] = _value; - ; -}).prototype = io.SocketOption.prototype; -dart.addTypeTests(io.SocketOption); -dart.addTypeCaches(io.SocketOption); -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[195] || CT.C195; - }, - /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[196] || CT.C196; - }, - /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[197] || CT.C197; - }, - /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[198] || CT.C198; - }, - /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[199] || CT.C199; - } -}, false); -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[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.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"); -io.RawSocketOption = class RawSocketOption extends core.Object { - get level() { - return this[level$2]; - } - set level(value) { - super.level = value; - } - get option() { - return this[option$]; - } - set option(value) { - super.option = value; - } - get value() { - return this[value$3]; - } - 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[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[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); - } - static get levelIPv4() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); - } - static get IPv4MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); - } - static get levelIPv6() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); - } - static get IPv6MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); - } - static get levelTcp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); - } - static get levelUdp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); - } - static _getOptionValue(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[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; - ; -}).prototype = io.RawSocketOption.prototype; -dart.addTypeTests(io.RawSocketOption); -dart.addTypeCaches(io.RawSocketOption); -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), - option: dart.finalFieldType(core.int), - value: dart.finalFieldType(typed_data.Uint8List) -})); -var socket$ = dart.privateName(io, "ConnectionTask.socket"); -const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); -io.ConnectionTask$ = dart.generic(S => { - class ConnectionTask extends core.Object { - get socket() { - return this[socket$]; - } - 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[128], 509, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); - this[socket$] = socket; - this[_onCancel$] = onCancel; - ; - }).prototype = ConnectionTask.prototype; - dart.addTypeTests(ConnectionTask); - ConnectionTask.prototype[_is_ConnectionTask_default] = true; - dart.addTypeCaches(ConnectionTask); - dart.setMethodSignature(ConnectionTask, () => ({ - __proto__: dart.getMethods(ConnectionTask.__proto__), - cancel: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(ConnectionTask, I[108]); - dart.setFieldSignature(ConnectionTask, () => ({ - __proto__: dart.getFields(ConnectionTask.__proto__), - socket: dart.finalFieldType(async.Future$(S)), - [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) - })); - return ConnectionTask; -}); -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[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[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")); - } -}; -(io.RawSocket.new = function() { - ; -}).prototype = io.RawSocket.prototype; -io.RawSocket.prototype[dart.isStream] = true; -dart.addTypeTests(io.RawSocket); -dart.addTypeCaches(io.RawSocket); -io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; -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[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, sourcePort: sourcePort, timeout: timeout}); - } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - static startConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - static _connect(host, port, opts) { - 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[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")); - } -}; -(io.Socket.new = function() { - ; -}).prototype = io.Socket.prototype; -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.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"); -io.Datagram = class Datagram extends core.Object { - get data() { - 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[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; - ; -}).prototype = io.Datagram.prototype; -dart.addTypeTests(io.Datagram); -dart.addTypeCaches(io.Datagram); -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() { - return this[multicastInterface]; - } - set multicastInterface(value) { - this[multicastInterface] = value; - } - static bind(host, port, opts) { - 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[110], 610, 13, "reuseAddress"); - let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - 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[110], 610, 62, "ttl"); - dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); - } -}; -(io.RawDatagramSocket.new = function() { - this[multicastInterface] = null; - io.RawDatagramSocket.__proto__.new.call(this); - ; -}).prototype = io.RawDatagramSocket.prototype; -dart.addTypeTests(io.RawDatagramSocket); -dart.addTypeCaches(io.RawDatagramSocket); -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)) -})); -var message$7 = dart.privateName(io, "SocketException.message"); -var osError$2 = dart.privateName(io, "SocketException.osError"); -var address$0 = dart.privateName(io, "SocketException.address"); -var port$0 = dart.privateName(io, "SocketException.port"); -io.SocketException = class SocketException extends core.Object { - get message() { - return this[message$7]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$2]; - } - set osError(value) { - super.osError = value; - } - get address() { - return this[address$0]; - } - set address(value) { - super.address = value; - } - get port() { - return this[port$0]; - } - 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"); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - if (this.address != null) { - sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); - } - if (this.port != null) { - sb.write(", port = " + dart.str(this.port)); - } - return sb.toString(); - } -}; -(io.SocketException.new = function(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; - this[message$7] = message; - this[osError$2] = osError; - this[address$0] = address; - this[port$0] = port; - ; -}).prototype = io.SocketException.prototype; -(io.SocketException.closed = function() { - this[message$7] = "Socket has been closed"; - this[osError$2] = null; - this[address$0] = null; - this[port$0] = null; - ; -}).prototype = io.SocketException.prototype; -dart.addTypeTests(io.SocketException); -dart.addTypeCaches(io.SocketException); -io.SocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SocketException, I[108]); -dart.setFieldSignature(io.SocketException, () => ({ - __proto__: dart.getFields(io.SocketException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)), - address: dart.finalFieldType(dart.nullable(io.InternetAddress)), - port: dart.finalFieldType(dart.nullable(core.int)) -})); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } -}; -(io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); - this[_stream$0] = _stream; - io._StdStream.__proto__.new.call(this); - ; -}).prototype = io._StdStream.prototype; -dart.addTypeTests(io._StdStream); -dart.addTypeCaches(io._StdStream); -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[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[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[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)) { - let byte = null; - do { - byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - break; - } - line[$add](byte); - } while (byte !== 10 && !(byte === 13 && crIsNewline)); - if (dart.test(line[$isEmpty])) { - return null; - } - } else if (crIsNewline) { - while (true) { - let byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - if (byte === 10 || byte === 13) break; - line[$add](byte); - } - } else { - L2: - while (true) { - let byte = this.readByteSync(); - if (byte === 10) break; - if (byte === 13) { - do { - byte = this.readByteSync(); - if (byte === 10) break L2; - line[$add](13); - } while (byte === 13); - } - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - line[$add](byte); - } - } - return encoding.decode(line); - } - get echoMode() { - dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); - } - set echoMode(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[110], 716, 26, "enabled"); - dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); - } - get supportsAnsiEscapes() { - dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); - } - readByteSync() { - dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); - } - get hasTerminal() { - try { - return dart.equals(io.stdioType(this), io.StdioType.terminal); - } catch (e) { - let _ = dart.getThrown(e); - if (io.FileSystemException.is(_)) { - return false; - } else - throw e; - } - } -}; -(io.Stdin.__ = function(stream, _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); - ; -}).prototype = io.Stdin.prototype; -io.Stdin.prototype[dart.isStream] = true; -dart.addTypeTests(io.Stdin); -dart.addTypeCaches(io.Stdin); -io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; -dart.setMethodSignature(io.Stdin, () => ({ - __proto__: dart.getMethods(io.Stdin.__proto__), - readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), - readByteSync: dart.fnType(core.int, []) -})); -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 -})); -dart.setSetterSignature(io.Stdin, () => ({ - __proto__: dart.getSetters(io.Stdin.__proto__), - echoMode: core.bool, - echoNewlineMode: core.bool, - lineMode: core.bool -})); -dart.setLibraryUri(io.Stdin, I[108]); -dart.setFieldSignature(io.Stdin, () => ({ - __proto__: dart.getFields(io.Stdin.__proto__), - [_fd$]: dart.fieldType(core.int) -})); -var _nonBlocking = dart.privateName(io, "_nonBlocking"); -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[131], 333, 30, "encoding"); - this[_sink$1].encoding = encoding; - } - write(object) { - this[_sink$1].write(object); - } - writeln(object = "") { - this[_sink$1].writeln(object); - } - writeAll(objects, 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[131], 349, 22, "data"); - this[_sink$1].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[131], 353, 17, "error"); - this[_sink$1].addError(error, stackTrace); - } - writeCharCode(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[131], 361, 38, "stream"); - return this[_sink$1].addStream(stream); - } - flush() { - return this[_sink$1].flush(); - } - close() { - return this[_sink$1].close(); - } - get done() { - return this[_sink$1].done; - } -}; -(io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); - this[_sink$1] = _sink; - ; -}).prototype = io._StdSink.prototype; -dart.addTypeTests(io._StdSink); -dart.addTypeCaches(io._StdSink); -io._StdSink[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io._StdSink, () => ({ - __proto__: dart.getMethods(io._StdSink.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []) -})); -dart.setGetterSignature(io._StdSink, () => ({ - __proto__: dart.getGetters(io._StdSink.__proto__), - encoding: convert.Encoding, - done: async.Future -})); -dart.setSetterSignature(io._StdSink, () => ({ - __proto__: dart.getSetters(io._StdSink.__proto__), - encoding: convert.Encoding -})); -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$]); - } - get terminalColumns() { - return this[_terminalColumns](this[_fd$]); - } - get terminalLines() { - return this[_terminalLines](this[_fd$]); - } - get supportsAnsiEscapes() { - return io.Stdout._supportsAnsiEscapes(this[_fd$]); - } - [_hasTerminal](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[110], 734, 28, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); - } - [_terminalLines](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[110], 744, 40, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); - } - get nonBlocking() { - 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[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); - ; -}).prototype = io.Stdout.prototype; -dart.addTypeTests(io.Stdout); -dart.addTypeCaches(io.Stdout); -io.Stdout[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io.Stdout, () => ({ - __proto__: dart.getMethods(io.Stdout.__proto__), - [_hasTerminal]: dart.fnType(core.bool, [core.int]), - [_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, - terminalColumns: core.int, - terminalLines: core.int, - supportsAnsiEscapes: core.bool, - nonBlocking: io.IOSink -})); -dart.setLibraryUri(io.Stdout, I[108]); -dart.setFieldSignature(io.Stdout, () => ({ - __proto__: dart.getFields(io.Stdout.__proto__), - [_fd$]: dart.finalFieldType(core.int), - [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) -})); -var message$8 = dart.privateName(io, "StdoutException.message"); -var osError$3 = dart.privateName(io, "StdoutException.osError"); -io.StdoutException = class StdoutException extends core.Object { - get message() { - return this[message$8]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$3]; - } - 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[131], 277, 30, "message"); - this[message$8] = message; - this[osError$3] = osError; - ; -}).prototype = io.StdoutException.prototype; -dart.addTypeTests(io.StdoutException); -dart.addTypeCaches(io.StdoutException); -io.StdoutException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdoutException, I[108]); -dart.setFieldSignature(io.StdoutException, () => ({ - __proto__: dart.getFields(io.StdoutException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -dart.defineExtensionMethods(io.StdoutException, ['toString']); -var message$9 = dart.privateName(io, "StdinException.message"); -var osError$4 = dart.privateName(io, "StdinException.osError"); -io.StdinException = class StdinException extends core.Object { - get message() { - return this[message$9]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$4]; - } - 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[131], 292, 29, "message"); - this[message$9] = message; - this[osError$4] = osError; - ; -}).prototype = io.StdinException.prototype; -dart.addTypeTests(io.StdinException); -dart.addTypeCaches(io.StdinException); -io.StdinException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdinException, I[108]); -dart.setFieldSignature(io.StdinException, () => ({ - __proto__: dart.getFields(io.StdinException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -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[131], 304, 38, "stream"); - let completer = async.Completer.new(); - let sub = null; - 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 { - this[_file].writeFromSync(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - sub$35get().cancel(); - completer.completeError(e, s); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); - return completer.future; - } - close() { - this[_file].closeSync(); - return async.Future.value(); - } -}; -(io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); - this[_file] = io._File._openStdioSync(fd); - ; -}).prototype = io._StdConsumer.prototype; -dart.addTypeTests(io._StdConsumer); -dart.addTypeCaches(io._StdConsumer); -io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; -dart.setMethodSignature(io._StdConsumer, () => ({ - __proto__: dart.getMethods(io._StdConsumer.__proto__), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []) -})); -dart.setLibraryUri(io._StdConsumer, I[108]); -dart.setFieldSignature(io._StdConsumer, () => ({ - __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(io.RandomAccessFile) -})); -var name$11 = dart.privateName(io, "StdioType.name"); -io.StdioType = class StdioType extends core.Object { - get name() { - return this[name$11]; - } - 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[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[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[208] || CT.C208; - }, - /*io.StdioType.pipe*/get pipe() { - return C[209] || CT.C209; - }, - /*io.StdioType.file*/get file() { - return C[210] || CT.C210; - }, - /*io.StdioType.other*/get other() { - return C[211] || CT.C211; - } -}, false); -io._StdIOUtils = class _StdIOUtils extends core.Object { - static _getStdioOutputStream(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[110], 626, 41, "fd"); - dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); - } - static _socketType(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[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.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[132], 26, 27, "input"); - return this.encoder.convert(input); - } - decode(encoded) { - T$0.ListOfint().as(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[212] || CT.C212; - } else { - return C[108] || CT.C108; - } - } - get decoder() { - if (io.Platform.operatingSystem === "windows") { - return C[213] || CT.C213; - } else { - return C[107] || CT.C107; - } - } -}; -(io.SystemEncoding.new = function() { - io.SystemEncoding.__proto__.new.call(this); - ; -}).prototype = io.SystemEncoding.prototype; -dart.addTypeTests(io.SystemEncoding); -dart.addTypeCaches(io.SystemEncoding); -dart.setGetterSignature(io.SystemEncoding, () => ({ - __proto__: dart.getGetters(io.SystemEncoding.__proto__), - name: core.String, - encoder: convert.Converter$(core.String, core.List$(core.int)), - decoder: convert.Converter$(core.List$(core.int), core.String) -})); -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[132], 49, 28, "input"); - let encoded = io._WindowsCodePageEncoder._encodeString(input); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - return encoded; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[110], 657, 41, "string"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); - } -}; -(io._WindowsCodePageEncoder.new = function() { - io._WindowsCodePageEncoder.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageEncoder.prototype; -dart.addTypeTests(io._WindowsCodePageEncoder); -dart.addTypeCaches(io._WindowsCodePageEncoder); -dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), - convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) -})); -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[132], 77, 19, "string"); - let encoded = io._WindowsCodePageEncoder._encodeString(string); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - this[_sink$1].add(encoded); - } - addSlice(source, start, end, 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); - } - this.add(source); - if (dart.test(isLast)) this.close(); - } -}; -(io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); - this[_sink$1] = _sink; - ; -}).prototype = io._WindowsCodePageEncoderSink.prototype; -dart.addTypeTests(io._WindowsCodePageEncoderSink); -dart.addTypeCaches(io._WindowsCodePageEncoderSink); -dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -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[132], 97, 28, "input"); - return io._WindowsCodePageDecoder._decodeBytes(input); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[110], 649, 40, "bytes"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); - } -}; -(io._WindowsCodePageDecoder.new = function() { - io._WindowsCodePageDecoder.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageDecoder.prototype; -dart.addTypeTests(io._WindowsCodePageDecoder); -dart.addTypeCaches(io._WindowsCodePageDecoder); -dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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[132], 121, 22, "bytes"); - this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); - } -}; -(io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); - this[_sink$1] = _sink; - io._WindowsCodePageDecoderSink.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageDecoderSink.prototype; -dart.addTypeTests(io._WindowsCodePageDecoderSink); -dart.addTypeCaches(io._WindowsCodePageDecoderSink); -dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[110], 567, 61, "port"); - dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); - } -}; -(io.RawSynchronousSocket.new = function() { - ; -}).prototype = io.RawSynchronousSocket.prototype; -dart.addTypeTests(io.RawSynchronousSocket); -dart.addTypeCaches(io.RawSynchronousSocket); -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[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); - let newBuffer = _native_typed_data.NativeUint8List.new(length); - newBuffer[$setRange](0, length, buffer, start); - return new io._BufferAndStart.new(newBuffer, 0); -}; -io._validateZLibWindowBits = function _validateZLibWindowBits(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[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[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[111], 559, 32, "strategy"); - let strategies = C[214] || CT.C214; - if (strategies[$indexOf](strategy) === -1) { - dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); - } -}; -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[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[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[121], 158, 58, "parameters"); - if (!dart.test(parameters[$containsKey]("enable"))) { - dart.throw(io._missingArgument("enable")); - } - let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); - if (enable !== "true" && enable !== "false") { - dart.throw(io._invalidArgument("enable", enable)); - } - _http.HttpClient.enableTimelineLogging = enable === "true"; - return io._success(); -}; -io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); - if (!dart.test(parameters[$containsKey]("id"))) { - dart.throw(io._missingArgument("id")); - } - let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); - if (id == null) { - dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); - } - let request = _http.HttpProfiler.getHttpProfileRequest(id); - if (request == null) { - dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); - } - return convert.json.encode(request.toJson({ref: false})); -}; -io._socketProfilingEnabled = function _socketProfilingEnabled(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") { - dart.throw(io._invalidArgument("enabled", enable)); - } - enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); - } - 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[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()")); - } - io._ProcessUtils._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[125], 94, 21, "duration"); - let milliseconds = duration.inMilliseconds; - if (dart.notNull(milliseconds) < 0) { - dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); - } - if (!dart.test(io._EmbedderConfig._maySleep)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); - } - io._ProcessUtils._sleep(milliseconds); -}; -io._setStdioFDs = function _setStdioFDs(stdin, stdout, 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; -}; -io.stdioType = function stdioType(object) { - if (io._StdStream.is(object)) { - object = object[_stream$0]; - } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { - let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; - let type = io._StdIOUtils._getStdioHandleType(stdiofd); - if (io.OSError.is(type)) { - dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); - } - switch (type) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._FileStream.is(object)) { - return io.StdioType.file; - } - if (io.Socket.is(object)) { - let socketType = io._StdIOUtils._socketType(object); - if (socketType == null) return io.StdioType.other; - switch (socketType) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._IOSinkImpl.is(object)) { - try { - if (io._FileStreamConsumer.is(object[_target$0])) { - return io.StdioType.file; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - } - return io.StdioType.other; -}; -dart.copyProperties(io, { - set exitCode(code) { - if (code == null) dart.nullFailed(I[125], 69, 23, "code"); - core.ArgumentError.checkNotNull(core.int, code, "code"); - io._ProcessUtils._setExitCode(code); - }, - get exitCode() { - return io._ProcessUtils._getExitCode(); - }, - get pid() { - return io._ProcessUtils._pid(null); - }, - get stdin() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); - return t196$ == null ? io._stdin : t196$; - }, - get stdout() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); - return t196$ == null ? io._stdout : t196$; - }, - get stderr() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); - return t196$ == null ? io._stderr : t196$; - } -}); -dart.defineLazy(io, { - /*io._successResponse*/get _successResponse() { - return 0; - }, - /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { - return 1; - }, - /*io._osErrorResponse*/get _osErrorResponse() { - return 2; - }, - /*io._fileClosedResponse*/get _fileClosedResponse() { - return 3; - }, - /*io._errorResponseErrorType*/get _errorResponseErrorType() { - return 0; - }, - /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { - return 1; - }, - /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { - return 2; - }, - /*io._eNoEnt*/get _eNoEnt() { - return 2; - }, - /*io._errorFileNotFound*/get _errorFileNotFound() { - return 2; - }, - /*io._errorPathNotFound*/get _errorPathNotFound() { - return 3; - }, - /*io._errorInvalidDrive*/get _errorInvalidDrive() { - return 15; - }, - /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { - return 18; - }, - /*io._errorBadNetpath*/get _errorBadNetpath() { - return 53; - }, - /*io._errorBadNetName*/get _errorBadNetName() { - return 67; - }, - /*io._errorBadPathName*/get _errorBadPathName() { - return 161; - }, - /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { - return 206; - }, - /*io.zlib*/get zlib() { - return C[215] || CT.C215; - }, - /*io.gzip*/get gzip() { - return C[216] || CT.C216; - }, - /*io._blockSize*/get _blockSize() { - return 65536; - }, - /*io._versionMajor*/get _versionMajor() { - return 1; - }, - /*io._versionMinor*/get _versionMinor() { - return 6; - }, - /*io._tcpSocket*/get _tcpSocket() { - return "tcp"; - }, - /*io._udpSocket*/get _udpSocket() { - return "udp"; - }, - /*io._ioOverridesToken*/get _ioOverridesToken() { - return new core.Object.new(); - }, - /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*io._nextServiceId*/get _nextServiceId() { - return 1; - }, - set _nextServiceId(value) { - if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); - }, - /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { - return 0; - }, - /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { - return 1; - }, - /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { - return 2; - }, - /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { - return 3; - }, - /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { - return 4; - }, - /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { - return 5; - }, - /*io._stdin*/get _stdin() { - return io._StdIOUtils._getStdioInputStream(io._stdinFD); - }, - /*io._stdout*/get _stdout() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); - }, - /*io._stderr*/get _stderr() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); - }, - /*io._stdinFD*/get _stdinFD() { - return 0; - }, - set _stdinFD(value) { - if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); - }, - /*io._stdoutFD*/get _stdoutFD() { - return 1; - }, - set _stdoutFD(value) { - if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); - }, - /*io._stderrFD*/get _stderrFD() { - return 2; - }, - set _stderrFD(value) { - if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); - }, - /*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() { - return isolate$._unsupported(); - } - 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 : true; - return isolate$._unsupported(); - } -}; -(isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); - isolate$._ReceivePort.__proto__.new.call(this); - ; -}).prototype = isolate$._ReceivePort.prototype; -dart.addTypeTests(isolate$._ReceivePort); -dart.addTypeCaches(isolate$._ReceivePort); -isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; -dart.setMethodSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), - close: dart.fnType(dart.void, []), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) -})); -dart.setGetterSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), - sendPort: isolate$.SendPort -})); -dart.setLibraryUri(isolate$._ReceivePort, I[134]); -var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); -isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { - get message() { - return this[message$10]; - } - 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[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[134]); -dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ - __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); -var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); -var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); -var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); -var _pause = dart.privateName(isolate$, "_pause"); -isolate$.Isolate = class Isolate extends core.Object { - get controlPort() { - return this[controlPort$]; - } - set controlPort(value) { - super.controlPort = value; - } - get pauseCapability() { - return this[pauseCapability$]; - } - set pauseCapability(value) { - super.pauseCapability = value; - } - get terminateCapability() { - return this[terminateCapability$]; - } - set terminateCapability(value) { - super.terminateCapability = value; - } - static get packageRoot() { - return isolate$._unsupported(); - } - get debugName() { - return isolate$._unsupported(); - } - 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[133], 29, 45, "packageUri"); - return isolate$._unsupported(); - } - static spawn(T, entryPoint, message, opts) { - 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[133], 33, 17, "paused"); - let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - 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[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[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[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[133], 49, 16, "automaticPackageResolution"); - let debugName = opts && 'debugName' in opts ? opts.debugName : null; - return isolate$._unsupported(); - } - pause(resumeCapability = null) { - resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; - this[_pause](resumeCapability); - return resumeCapability; - } - [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); - return isolate$._unsupported(); - } - resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); - return isolate$._unsupported(); - } - addOnExitListener(responsePort, opts) { - 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[133], 64, 38, "responsePort"); - return isolate$._unsupported(); - } - setErrorsFatal(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[133], 70, 18, "priority"); - return isolate$._unsupported(); - } - ping(responsePort, opts) { - 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[133], 73, 34, "priority"); - return isolate$._unsupported(); - } - addErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 77, 34, "port"); - return isolate$._unsupported(); - } - removeErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 80, 37, "port"); - return isolate$._unsupported(); - } - get errors() { - let controller = async.StreamController.broadcast({sync: true}); - let port = null; - function handleError(message) { - let listMessage = T$.ListOfObjectN().as(message); - let errorDescription = core.String.as(listMessage[$_get](0)); - let stackDescription = core.String.as(listMessage[$_get](1)); - let error = new isolate$.RemoteError.new(errorDescription, stackDescription); - controller.addError(error, error.stackTrace); - } - dart.fn(handleError, T$.ObjectNTovoid()); - controller.onListen = dart.fn(() => { - let receivePort = isolate$.RawReceivePort.new(handleError); - port = receivePort; - this.addErrorListener(receivePort.sendPort); - }, T$.VoidTovoid()); - controller.onCancel = dart.fn(() => { - let listenPort = dart.nullCheck(port); - port = null; - this.removeErrorListener(listenPort.sendPort); - listenPort.close(); - }, 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[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; - this[pauseCapability$] = pauseCapability; - this[terminateCapability$] = terminateCapability; - ; -}).prototype = isolate$.Isolate.prototype; -dart.addTypeTests(isolate$.Isolate); -dart.addTypeCaches(isolate$.Isolate); -dart.setMethodSignature(isolate$.Isolate, () => ({ - __proto__: dart.getMethods(isolate$.Isolate.__proto__), - pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), - [_pause]: dart.fnType(dart.void, [isolate$.Capability]), - resume: dart.fnType(dart.void, [isolate$.Capability]), - addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), - removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), - setErrorsFatal: dart.fnType(dart.void, [core.bool]), - kill: dart.fnType(dart.void, [], {priority: core.int}, {}), - ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), - 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.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; - }, - /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { - return 1; - } -}, false); -isolate$.SendPort = class SendPort extends core.Object {}; -(isolate$.SendPort.new = function() { - ; -}).prototype = isolate$.SendPort.prototype; -dart.addTypeTests(isolate$.SendPort); -dart.addTypeCaches(isolate$.SendPort); -isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; -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[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; -isolate$.ReceivePort.prototype[dart.isStream] = true; -dart.addTypeTests(isolate$.ReceivePort); -dart.addTypeCaches(isolate$.ReceivePort); -isolate$.ReceivePort[dart.implements] = () => [async.Stream]; -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[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.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 { - get stackTrace() { - return this[stackTrace$0]; - } - 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[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); - ; -}).prototype = isolate$.RemoteError.prototype; -dart.addTypeTests(isolate$.RemoteError); -dart.addTypeCaches(isolate$.RemoteError); -isolate$.RemoteError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(isolate$.RemoteError, I[134]); -dart.setFieldSignature(isolate$.RemoteError, () => ({ - __proto__: dart.getFields(isolate$.RemoteError.__proto__), - [_description]: dart.finalFieldType(core.String), - stackTrace: dart.finalFieldType(core.StackTrace) -})); -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[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.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.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 { - 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[136], 329, 20, "_dartObj"); - this[_dartObj$] = _dartObj; - ; -}).prototype = js._DartObject.prototype; -dart.addTypeTests(js._DartObject); -dart.addTypeCaches(js._DartObject); -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[136], 57, 34, "data"); - let _convertedObjects = new _js_helper.IdentityMap.new(); - function _convert(o) { - if (dart.test(_convertedObjects[$containsKey](o))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return js._convertToJS(o); - } - } - dart.fn(_convert, T$0.ObjectNTodynamic()); - return _convert(data); - } - static new(constructor, $arguments = null) { - 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[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[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[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[136], 85, 30, "property"); - if (!(typeof property == 'string') && !(typeof property == 'number')) { - dart.throw(new core.ArgumentError.new("property is not a String or num")); - } - return js._convertToDart(this[_jsObject$][property]); - } - _set(property, value$) { - let value = value$; - 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")); - } - this[_jsObject$][property] = js._convertToJS(value); - return value$; - } - get hashCode() { - return 0; - } - _equals(other) { - if (other == null) return false; - return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; - } - hasProperty(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[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[136], 121, 30, "type"); - return this[_jsObject$] instanceof js._convertToJS(type); - } - toString() { - try { - return String(this[_jsObject$]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return super[$toString](); - } else - throw e$; - } - } - callMethod(method, args = null) { - 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[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())); - } - return js._convertToDart(fn.apply(this[_jsObject$], args)); - } -}; -(js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); - this[_jsObject$] = _jsObject; - 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); -dart.setMethodSignature(js.JsObject, () => ({ - __proto__: dart.getMethods(js.JsObject.__proto__), - _get: dart.fnType(dart.dynamic, [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - hasProperty: dart.fnType(core.bool, [core.Object]), - deleteProperty: dart.fnType(dart.void, [core.Object]), - instanceof: dart.fnType(core.bool, [js.JsFunction]), - callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) -})); -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) -})); -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[136], 151, 40, "f"); - return new js.JsFunction._fromJs(function() { - let args = [js._convertToDart(this)]; - for (let arg of arguments) { - args.push(js._convertToDart(arg)); - } - 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[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[136], 167, 29, "jsObject"); - js.JsFunction.__proto__._fromJs.call(this, jsObject); - ; -}).prototype = js.JsFunction.prototype; -dart.addTypeTests(js.JsFunction); -dart.addTypeCaches(js.JsFunction); -dart.setMethodSignature(js.JsFunction, () => ({ - __proto__: dart.getMethods(js.JsFunction.__proto__), - apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) -})); -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 __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[138], 175, 7, "property"); - super._set(property, value); - return value$; - } - }; - (JsObject_ListMixin$36._fromJs = function(_jsObject) { - JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); - }).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[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[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[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)); - } - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - dart.throw(new core.RangeError.range(end, start, length)); - } - } - static new() { - return new (js.JsArray$(E))._fromJs([]); - } - static ['_#new#tearOff'](E) { - return js.JsArray$(E).new(); - } - static from(other) { - 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[136], 212, 24, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - return E.as(super._get(index)); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[136], 220, 28, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - super._set(index, value); - return value$; - } - get length() { - let len = this[_jsObject$].length; - if (typeof len === "number" && len >>> 0 === len) { - return len; - } - dart.throw(new core.StateError.new("Bad JsArray length")); - } - set length(length) { - if (length == null) dart.nullFailed(I[136], 240, 23, "length"); - super._set("length", length); - } - add(value) { - E.as(value); - this.callMethod("push", [value]); - } - addAll(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[136], 258, 19, "index"); - E.as(element); - this[_checkInsertIndex](index); - this.callMethod("splice", [index, 0, element]); - } - removeAt(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])); - } - removeLast() { - if (this.length === 0) dart.throw(new core.RangeError.new(-1)); - return E.as(this.callMethod("pop")); - } - removeRange(start, 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 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 = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t200[$addAll](iterable[$skip](skipCount)[$take](length)); - return t200; - })()); - this.callMethod("splice", args); - } - sort(compare = null) { - this.callMethod("sort", compare == null ? [] : [compare]); - } - } - (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); - JsArray.__proto__._fromJs.call(this, jsObject); - ; - }).prototype = JsArray.prototype; - dart.addTypeTests(JsArray); - JsArray.prototype[_is_JsArray_default] = true; - dart.addTypeCaches(JsArray); - dart.setMethodSignature(JsArray, () => ({ - __proto__: dart.getMethods(JsArray.__proto__), - [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), - [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), - _get: dart.fnType(E, [core.Object]), - [$_get]: dart.fnType(E, [core.Object]), - _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, - [$length]: core.int - })); - dart.setSetterSignature(JsArray, () => ({ - __proto__: dart.getSetters(JsArray.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(JsArray, I[137]); - dart.defineExtensionMethods(JsArray, [ - '_get', - '_set', - 'add', - 'addAll', - 'insert', - 'removeAt', - 'removeLast', - 'removeRange', - 'setRange', - 'sort' - ]); - dart.defineExtensionAccessors(JsArray, ['length']); - return JsArray; -}); -js.JsArray = js.JsArray$(); -dart.addTypeTests(js.JsArray, _is_JsArray_default); -js._isBrowserType = function _isBrowserType(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) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (core.DateTime.is(o)) { - return _js_helper.Primitives.lazyAsJsDate(o); - } else if (js.JsObject.is(o)) { - return o[_jsObject$]; - } else if (core.Function.is(o)) { - 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[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[136], 348, 33, "f"); - let wrapper = function() { - let args = Array.prototype.map.call(arguments, js._convertToDart); - return js._convertToJS(f(...args)); - }; - js._dartProxies.set(wrapper, f); - return wrapper; -}; -js._convertToDart = function _convertToDart(o) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (o instanceof Date) { - let ms = o.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } 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[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[136], 383, 35, "o"); - if (typeof o == "function") { - return new js.JsFunction._fromJs(o); - } - if (o instanceof Array) { - return new js.JsArray._fromJs(o); - } - return new js.JsObject._fromJs(o); -}; -js._putIfAbsent = function _putIfAbsent(weakMap, o, 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); - weakMap.set(o, value); - } - return value; -}; -js.allowInterop = function allowInterop(F, 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) { - ret = function(...args) { - return dart.dcall(f, args); - }; - js._interopExpando._set(f, ret); - } - return ret; -}; -js.allowInteropCaptureThis = function allowInteropCaptureThis(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) { - ret = function(...arguments$) { - let args = [this]; - args.push.apply(args, arguments$); - return dart.dcall(f, args); - }; - js._interopCaptureThisExpando._set(f, ret); - } - return ret; -}; -dart.copyProperties(js, { - get context() { - return js._context; - } -}); -dart.defineLazy(js, { - /*js._context*/get _context() { - return js._wrapToDart(dart.global); - }, - /*js._dartProxies*/get _dartProxies() { - return new WeakMap(); - }, - /*js._jsProxies*/get _jsProxies() { - return new WeakMap(); - }, - /*js._interopExpando*/get _interopExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _interopExpando(value) { - if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); - }, - /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - 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 { - get isUndefined() { - return this[isUndefined$]; - } - 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[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[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._convertDataTree = function _convertDataTree(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))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return o; - } - } - dart.fn(_convert, T$.ObjectNToObjectN()); - return dart.nullCheck(_convert(data)); -}; -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[141], 56, 25, "o"); - if (name == null) dart.nullFailed(I[141], 56, 35, "name"); - return name in o; -}; -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(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$(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 T.as(o[method].apply(o, args)); -}; -js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[141], 165, 35, "type"); - return o instanceof type; -}; -js_util.callConstructor = function callConstructor(T, constr, $arguments) { - let t200; - if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); - if ($arguments == null) { - return T.as(new constr()); - } else { - _js_helper.assertInteropArgs($arguments); - } - if ($arguments instanceof Array) { - let argumentCount = $arguments.length; - switch (argumentCount) { - case 0: - { - return T.as(new constr()); - } - case 1: - { - let arg0 = $arguments[0]; - return T.as(new constr(arg0)); - } - case 2: - { - 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 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 T.as(new constr(arg0, arg1, arg2, arg3)); - } - } - } - let args = (t200 = [null], (() => { - t200[$addAll]($arguments); - return t200; - })()); - let factoryFunction = constr.bind.apply(constr, args); - String(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[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 => { - if (e == null) { - return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); - } - return completer.completeError(core.Object.as(e)); - }, T$.dynamicTovoid()), 1); - 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[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))); - } - return Math.random() * max >>> 0; - } - nextDouble() { - return Math.random(); - } - nextBool() { - return Math.random() < 0.5; - } -}; -(math._JSRandom.new = function() { - ; -}).prototype = math._JSRandom.prototype; -dart.addTypeTests(math._JSRandom); -dart.addTypeCaches(math._JSRandom); -math._JSRandom[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._JSRandom, () => ({ - __proto__: dart.getMethods(math._JSRandom.__proto__), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) -})); -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; - let tmpHiHi = tmpHi - tmpHiLo; - let tmpLo = 55905 * this[_lo]; - let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; - let tmpLoHi = tmpLo - tmpLoLo; - let newLo = tmpLoLo + tmpHiLo + this[_hi]; - 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[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); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - if ((max & max - 1) === 0) { - this[_nextState](); - return (this[_lo] & max - 1) >>> 0; - } - let rnd32 = null; - let result = null; - do { - this[_nextState](); - rnd32 = this[_lo]; - result = rnd32[$remainder](max)[$toInt](); - } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); - return result; - } - nextDouble() { - this[_nextState](); - let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; - this[_nextState](); - let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; - return (bits26 * 134217728 + bits27) / 9007199254740992.0; - } - nextBool() { - this[_nextState](); - return (this[_lo] & 1) === 0; - } -}; -(math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); - this[_lo] = 0; - this[_hi] = 0; - let empty_seed = 0; - if (dart.notNull(seed) < 0) { - empty_seed = -1; - } - do { - let low = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); - let high = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); - let tmplow = low << 21 >>> 0; - let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; - tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; - low = (tmplow & 4294967295.0) >>> 0; - high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](24); - tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 265; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](14); - tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 21; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](28); - tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low << 31 >>> 0; - tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; - tmplow = tmplow + low; - low = (tmplow & 4294967295.0) >>> 0; - high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmplow = this[_lo] * 1037; - this[_lo] = (tmplow & 4294967295.0) >>> 0; - this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - this[_lo] = (this[_lo] ^ low) >>> 0; - this[_hi] = (this[_hi] ^ high) >>> 0; - } while (seed !== empty_seed); - if (this[_hi] === 0 && this[_lo] === 0) { - this[_lo] = 23063; - } - this[_nextState](); - this[_nextState](); - this[_nextState](); - this[_nextState](); -}).prototype = math._Random.prototype; -dart.addTypeTests(math._Random); -dart.addTypeCaches(math._Random); -math._Random[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._Random, () => ({ - __proto__: dart.getMethods(math._Random.__proto__), - [_nextState]: dart.fnType(dart.void, []), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) -})); -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; - }, - /*math._Random._POW2_27_D*/get _POW2_27_D() { - return 134217728; - }, - /*math._Random._MASK32*/get _MASK32() { - return 4294967295.0; - } -}, false); -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[142], 280, 28, "start"); - if (length == null) dart.nullFailed(I[142], 280, 39, "length"); - crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); - } - nextBool() { - this[_getRandomBytes](0, 1); - return this[_buffer$0][$getUint8](0)[$isOdd]; - } - nextDouble() { - this[_getRandomBytes](1, 7); - this[_buffer$0][$setUint8](0, 63); - let highByte = this[_buffer$0][$getUint8](1); - this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); - let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; - if ((dart.notNull(highByte) & 16) !== 0) { - result = result + 1.1102230246251565e-16; - } - return result; - } - nextInt(max) { - if (max == null) dart.argumentError(max); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - let byteCount = 1; - if (max > 255) { - byteCount = byteCount + 1; - if (max > 65535) { - byteCount = byteCount + 1; - if (max > 16777215) { - byteCount = byteCount + 1; - } - } - } - this[_buffer$0][$setUint32](0, 0); - let start = 4 - byteCount; - let randomLimit = math.pow(256, byteCount)[$toInt](); - while (true) { - this[_getRandomBytes](start, byteCount); - let random = this[_buffer$0][$getUint32](0); - if ((max & max - 1) === 0) { - return (dart.notNull(random) & max - 1) >>> 0; - } - let result = random[$remainder](max)[$toInt](); - if (dart.notNull(random) - result + max < randomLimit) { - return result; - } - } - } -}; -(math._JSSecureRandom.new = function() { - this[_buffer$0] = _native_typed_data.NativeByteData.new(8); - let crypto = self.crypto; - if (crypto != null) { - let getRandomValues = crypto.getRandomValues; - if (getRandomValues != null) { - return; - } - } - dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); -}).prototype = math._JSSecureRandom.prototype; -dart.addTypeTests(math._JSSecureRandom); -dart.addTypeCaches(math._JSSecureRandom); -math._JSSecureRandom[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getMethods(math._JSSecureRandom.__proto__), - [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), - nextBool: dart.fnType(core.bool, []), - nextDouble: dart.fnType(core.double, []), - nextInt: dart.fnType(core.int, [core.int]) -})); -dart.setLibraryUri(math._JSSecureRandom, I[143]); -dart.setFieldSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getFields(math._JSSecureRandom.__proto__), - [_buffer$0]: dart.finalFieldType(typed_data.ByteData) -})); -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 __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); - class Point extends core.Object { - get x() { - return this[x$2]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$2]; - } - 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) + ")"; - } - _equals(other) { - if (other == null) return false; - return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; - } - get hashCode() { - return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); - } - ['+'](other) { - __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) { - __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[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) { - __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) { - __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[144], 19, 17, "x"); - if (y == null) dart.nullFailed(I[144], 19, 22, "y"); - this[x$2] = x; - this[y$2] = y; - ; - }).prototype = Point.prototype; - dart.addTypeTests(Point); - Point.prototype[_is_Point_default] = true; - dart.addTypeCaches(Point); - dart.setMethodSignature(Point, () => ({ - __proto__: dart.getMethods(Point.__proto__), - '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '*': dart.fnType(math.Point$(T), [core.num]), - distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), - squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Point, () => ({ - __proto__: dart.getGetters(Point.__proto__), - magnitude: core.double - })); - dart.setLibraryUri(Point, I[143]); - dart.setFieldSignature(Point, () => ({ - __proto__: dart.getFields(Point.__proto__), - x: dart.finalFieldType(T), - y: dart.finalFieldType(T) - })); - dart.defineExtensionMethods(Point, ['toString', '_equals']); - dart.defineExtensionAccessors(Point, ['hashCode']); - return Point; -}); -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[222] || CT.C222 : new math._Random.new(seed); - } - static ['_#new#tearOff'](seed = null) { - return math.Random.new(seed); - } - static secure() { - 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.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 new math._JSSecureRandom.new(); - } -}, false); -const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); -math._RectangleBase$ = dart.generic(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])); - } - get bottom() { - return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - toString() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - _equals(other) { - if (other == null) return false; - 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 _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); - } - intersection(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 (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); - } - } - return null; - } - intersects(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) { - __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 (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); - } - containsRectangle(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[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 (__t$PointOfT()).new(this[$left], this[$top]); - } - get topRight() { - return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); - } - get bottomRight() { - 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 (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); - } - } - (_RectangleBase.new = function() { - ; - }).prototype = _RectangleBase.prototype; - dart.addTypeTests(_RectangleBase); - _RectangleBase.prototype[_is__RectangleBase_default] = true; - dart.addTypeCaches(_RectangleBase); - dart.setMethodSignature(_RectangleBase, () => ({ - __proto__: dart.getMethods(_RectangleBase.__proto__), - intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) - })); - dart.setGetterSignature(_RectangleBase, () => ({ - __proto__: dart.getGetters(_RectangleBase.__proto__), - right: T, - [$right]: T, - bottom: T, - [$bottom]: T, - topLeft: math.Point$(T), - [$topLeft]: math.Point$(T), - topRight: math.Point$(T), - [$topRight]: math.Point$(T), - bottomRight: math.Point$(T), - [$bottomRight]: math.Point$(T), - bottomLeft: math.Point$(T), - [$bottomLeft]: math.Point$(T) - })); - dart.setLibraryUri(_RectangleBase, I[143]); - dart.defineExtensionMethods(_RectangleBase, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' - ]); - dart.defineExtensionAccessors(_RectangleBase, [ - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - 'bottomLeft' - ]); - return _RectangleBase; -}); -math._RectangleBase = math._RectangleBase$(); -dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); -var left$ = dart.privateName(math, "Rectangle.left"); -var top$ = dart.privateName(math, "Rectangle.top"); -var width$ = dart.privateName(math, "Rectangle.width"); -var height$ = dart.privateName(math, "Rectangle.height"); -const _is_Rectangle_default = Symbol('_is_Rectangle_default'); -math.Rectangle$ = dart.generic(T => { - class Rectangle extends math._RectangleBase$(T) { - get left() { - return this[left$]; - } - set left(value) { - super.left = value; - } - get top() { - return this[top$]; - } - set top(value) { - super.top = value; - } - get width() { - return this[width$]; - } - set width(value) { - super.width = value; - } - get height() { - return this[height$]; - } - 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[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[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 ? 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.setStaticMethodSignature(Rectangle, () => ['fromPoints']); - dart.setLibraryUri(Rectangle, I[143]); - dart.setFieldSignature(Rectangle, () => ({ - __proto__: dart.getFields(Rectangle.__proto__), - left: dart.finalFieldType(T), - top: dart.finalFieldType(T), - width: dart.finalFieldType(T), - height: dart.finalFieldType(T) - })); - dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); - return Rectangle; -}); -math.Rectangle = math.Rectangle$(); -dart.addTypeTests(math.Rectangle, _is_Rectangle_default); -var left$0 = dart.privateName(math, "MutableRectangle.left"); -var top$0 = dart.privateName(math, "MutableRectangle.top"); -var _width = dart.privateName(math, "_width"); -var _height = dart.privateName(math, "_height"); -const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); -math.MutableRectangle$ = dart.generic(T => { - class MutableRectangle extends math._RectangleBase$(T) { - get left() { - 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[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[145], 281, 15, "width"); - if (dart.notNull(width) < 0) width = math._clampToZero(T, width); - this[_width] = width; - } - get height() { - return this[_height]; - } - set height(height) { - T.as(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[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] = 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; - dart.addTypeTests(MutableRectangle); - 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, - [$width]: T, - height: T, - [$height]: T - })); - dart.setSetterSignature(MutableRectangle, () => ({ - __proto__: dart.getSetters(MutableRectangle.__proto__), - width: dart.nullable(core.Object), - [$width]: dart.nullable(core.Object), - height: dart.nullable(core.Object), - [$height]: dart.nullable(core.Object) - })); - dart.setLibraryUri(MutableRectangle, I[143]); - dart.setFieldSignature(MutableRectangle, () => ({ - __proto__: dart.getFields(MutableRectangle.__proto__), - left: dart.fieldType(T), - top: dart.fieldType(T), - [_width]: dart.fieldType(T), - [_height]: dart.fieldType(T) - })); - dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); - return MutableRectangle; -}); -math.MutableRectangle = math.MutableRectangle$(); -dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); -math.min = function min(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.min(a, b); -}; -math.max = function max(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.max(a, b); -}; -math.atan2 = function atan2(a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.atan2(a, b); -}; -math.pow = function pow(x, exponent) { - if (x == null) dart.argumentError(x); - if (exponent == null) dart.argumentError(exponent); - return Math.pow(x, exponent); -}; -math.sin = function sin(radians) { - if (radians == null) dart.argumentError(radians); - return Math.sin(radians); -}; -math.cos = function cos(radians) { - if (radians == null) dart.argumentError(radians); - return Math.cos(radians); -}; -math.tan = function tan(radians) { - if (radians == null) dart.argumentError(radians); - return Math.tan(radians); -}; -math.acos = function acos(x) { - if (x == null) dart.argumentError(x); - return Math.acos(x); -}; -math.asin = function asin(x) { - if (x == null) dart.argumentError(x); - return Math.asin(x); -}; -math.atan = function atan(x) { - if (x == null) dart.argumentError(x); - return Math.atan(x); -}; -math.sqrt = function sqrt(x) { - if (x == null) dart.argumentError(x); - return Math.sqrt(x); -}; -math.exp = function exp(x) { - if (x == null) dart.argumentError(x); - return Math.exp(x); -}; -math.log = function log$(x) { - if (x == null) dart.argumentError(x); - return Math.log(x); -}; -math._clampToZero = function _clampToZero(T, value) { - 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, { - /*math._POW2_32*/get _POW2_32() { - return 4294967296.0; - }, - /*math.e*/get e() { - return 2.718281828459045; - }, - /*math.ln10*/get ln10() { - return 2.302585092994046; - }, - /*math.ln2*/get ln2() { - return 0.6931471805599453; - }, - /*math.log2e*/get log2e() { - return 1.4426950408889634; - }, - /*math.log10e*/get log10e() { - return 0.4342944819032518; - }, - /*math.pi*/get pi() { - return 3.141592653589793; - }, - /*math.sqrt1_2*/get sqrt1_2() { - return 0.7071067811865476; - }, - /*math.sqrt2*/get sqrt2() { - return 1.4142135623730951; - } -}, false); -var _data$ = dart.privateName(typed_data, "_data"); -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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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, 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)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - 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__), - lengthInBytes: core.int, - [$lengthInBytes]: core.int -})); -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, [ - 'asUint8List', - 'asInt8List', - 'asUint8ClampedList', - 'asUint16List', - 'asInt16List', - 'asUint32List', - 'asInt32List', - 'asUint64List', - 'asInt64List', - 'asInt32x4List', - 'asFloat32List', - 'asFloat64List', - 'asFloat32x4List', - 'asFloat64x2List', - 'asByteData' -]); -dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); -var _unsupported$ = dart.privateName(typed_data, "_unsupported"); -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[62], 266, 19, "byteOffset"); - return this[_data$][$getInt8](byteOffset); - } - setInt8(byteOffset, 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[62], 270, 20, "byteOffset"); - return this[_data$][$getUint8](byteOffset); - } - setUint8(byteOffset, 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get 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[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, 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]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - getUint8: dart.fnType(core.int, [core.int]), - [$getUint8]: dart.fnType(core.int, [core.int]), - setUint8: dart.fnType(dart.void, [core.int, core.int]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), - getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$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__), - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - buffer: typed_data.ByteBuffer, - [$buffer]: typed_data.ByteBuffer -})); -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, [ - 'getInt8', - 'setInt8', - 'getUint8', - 'setUint8', - 'getInt16', - 'setInt16', - 'getUint16', - 'setUint16', - 'getInt32', - 'setInt32', - 'getUint32', - 'setUint32', - 'getInt64', - 'setInt64', - 'getUint64', - 'setUint64', - 'getFloat32', - 'setFloat32', - 'getFloat64', - 'setFloat64' -]); -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'); -typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { - class _UnmodifiableListMixin extends core.Object { - get [_data$]() { - return TD.as(this[_list$2]); - } - get length() { - return this[_list$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[62], 343, 21, "index"); - return this[_list$2][$_get](index); - } - get elementSizeInBytes() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get buffer() { - return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); - } - sublist(start, end = null) { - 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); - result[$setRange](0, sublistLength, this[_list$2], start); - return result; - } - } - (_UnmodifiableListMixin.new = function() { - ; - }).prototype = _UnmodifiableListMixin.prototype; - dart.addTypeTests(_UnmodifiableListMixin); - _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; - dart.addTypeCaches(_UnmodifiableListMixin); - dart.setMethodSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), - _get: dart.fnType(N, [core.int]), - sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) - })); - dart.setGetterSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), - [_data$]: TD, - length: core.int, - elementSizeInBytes: core.int, - offsetInBytes: core.int, - lengthInBytes: core.int, - buffer: typed_data.ByteBuffer - })); - 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"); -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 { - 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[62], 375, 29, "length"); - return _native_typed_data.NativeUint8List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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$ { - 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[62], 388, 28, "length"); - return _native_typed_data.NativeInt8List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 401, 36, "length"); - return _native_typed_data.NativeUint8ClampedList.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 414, 30, "length"); - return _native_typed_data.NativeUint16List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 427, 29, "length"); - return _native_typed_data.NativeInt16List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 440, 30, "length"); - return _native_typed_data.NativeUint32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 453, 29, "length"); - return _native_typed_data.NativeInt32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 466, 30, "length"); - return typed_data.Uint64List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 479, 29, "length"); - return typed_data.Int64List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 492, 31, "length"); - return new _native_typed_data.NativeInt32x4List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 505, 33, "length"); - return new _native_typed_data.NativeFloat32x4List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 518, 33, "length"); - return new _native_typed_data.NativeFloat64x2List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 531, 31, "length"); - return _native_typed_data.NativeFloat32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 544, 31, "length"); - return _native_typed_data.NativeFloat64List.new(length); - } -}; -(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.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[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, [ - '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[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[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[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() { - if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; - return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); - } - static _uncachedClass() { - return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; - } - static _translateKey(idbkey) { - return idbkey; - } - static _only(cls, value) { - return cls.only(value); - } - static _lowerBound(cls, bound, open) { - return cls.lowerBound(bound, open); - } - static _upperBound(cls, bound, open) { - return cls.upperBound(bound, open); - } - 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.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(value) {} -}, false); -indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { - [S.$delete]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$update](value) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$next](key = null) { - if (key == null) { - this.continue(); - } else { - this.continue(key); - } - } - static ['_#_#tearOff']() { - return indexed_db.Cursor.__(); - } - get [S.$direction]() { - return this.direction; - } - get [S.$key]() { - return this.key; - } - get [S.$primaryKey]() { - return this.primaryKey; - } - get [S.$source]() { - return this.source; - } - [S.$advance](...args) { - return this.advance.apply(this, args); - } - [S.$continuePrimaryKey](...args) { - return this.continuePrimaryKey.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S._update](value) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._update_1](value_1); - } - [S._update_1](...args) { - return this.update.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Cursor); -dart.addTypeCaches(indexed_db.Cursor); -dart.setMethodSignature(indexed_db.Cursor, () => ({ - __proto__: dart.getMethods(indexed_db.Cursor.__proto__), - [S.$delete]: dart.fnType(async.Future, []), - [$update]: dart.fnType(async.Future, [dart.dynamic]), - [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S.$advance]: dart.fnType(dart.void, [core.int]), - [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), - [S._delete$1]: dart.fnType(indexed_db.Request, []), - [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), - [S.$key]: dart.nullable(core.Object), - [S.$primaryKey]: dart.nullable(core.Object), - [S.$source]: dart.nullable(core.Object) -})); -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]); - } - get [S._get_value]() { - return this.value; - } -}; -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[148]); -dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); -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[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[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); - } - [S.$dispatchEvent](...args) { - return this.dispatchEvent.apply(this, args); - } - [S._removeEventListener](...args) { - return this.removeEventListener.apply(this, args); - } -}; -(html$.EventTarget._created = function() { - html$.EventTarget.__proto__.new.call(this); - ; -}).prototype = html$.EventTarget.prototype; -dart.addTypeTests(html$.EventTarget); -dart.addTypeCaches(html$.EventTarget); -dart.setMethodSignature(html$.EventTarget, () => ({ - __proto__: dart.getMethods(html$.EventTarget.__proto__), - [S.$addEventListener]: 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)]), - [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [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[150]); -dart.registerExtension("EventTarget", html$.EventTarget); -indexed_db.Database = class Database extends html$.EventTarget { - [S.$createObjectStore](name, opts) { - 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(); - if (keyPath != null) { - options[$_set]("keyPath", keyPath); - } - if (autoIncrement != null) { - options[$_set]("autoIncrement", autoIncrement); - } - return this[S._createObjectStore](name, options); - } - [S.$transaction](storeName_OR_storeNames, 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[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[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)); - } - let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); - return this[S._transaction](storeNames_1, mode); - } - [S.$transactionStores](storeNames, 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)); - } - return this[S._transaction](storeNames, mode); - } - [S._transaction](...args) { - return this.transaction.apply(this, args); - } - static ['_#_#tearOff']() { - return indexed_db.Database.__(); - } - get [$name]() { - return this.name; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - get [S.$version]() { - return this.version; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S._createObjectStore](name, options = null) { - 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); - } - return this[S._createObjectStore_2](name); - } - [S._createObjectStore_1](...args) { - return this.createObjectStore.apply(this, args); - } - [S._createObjectStore_2](...args) { - return this.createObjectStore.apply(this, args); - } - [S.$deleteObjectStore](...args) { - return this.deleteObjectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Database.abortEvent.forTarget(this); - } - get [S.$onClose]() { - return indexed_db.Database.closeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Database.errorEvent.forTarget(this); - } - get [S.$onVersionChange]() { - return indexed_db.Database.versionChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(indexed_db.Database); -dart.addTypeCaches(indexed_db.Database); -dart.setMethodSignature(indexed_db.Database, () => ({ - __proto__: dart.getMethods(indexed_db.Database.__proto__), - [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), - [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), - [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), - [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), - [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), - [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), - [S.$close]: dart.fnType(dart.void, []), - [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), - [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), - [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), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$version]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) -})); -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[224] || CT.C224; - }, - /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[227] || CT.C227; - } -}, false); -dart.registerExtension("IDBDatabase", indexed_db.Database); -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[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; - if (version == null !== (onUpgradeNeeded == null)) { - return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); - } - try { - let request = null; - if (version != null) { - request = this[S._open](name, version); - } else { - request = this[S._open](name); - } - if (onUpgradeNeeded != null) { - request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); - } - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - return indexed_db._completeRequest(indexed_db.Database, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfDatabase().error(e, stacktrace); - } else - throw e$; - } - } - [S.$deleteDatabase](name, opts) { - 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); - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - let completer = T$0.CompleterOfIdbFactory().sync(); - request[S.$onSuccess].listen(dart.fn(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')); - return completer.future; - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfIdbFactory().error(e, stacktrace); - } else - throw e$; - } - } - get [S.$supportsDatabaseNames]() { - return false; - } - static ['_#_#tearOff']() { - return indexed_db.IdbFactory.__(); - } - [S.$cmp](...args) { - return this.cmp.apply(this, args); - } - [S._deleteDatabase](...args) { - return this.deleteDatabase.apply(this, args); - } - [S._open](...args) { - return this.open.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.IdbFactory); -dart.addTypeCaches(indexed_db.IdbFactory); -dart.setMethodSignature(indexed_db.IdbFactory, () => ({ - __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), - [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), - [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), - [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), - [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.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.JavaScriptObject { - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$get](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getKey](key) { - try { - let request = this[S._getKey](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range, "next"); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); - } - [S.$openKeyCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openKeyCursor](key_OR_range, "next"); - } else { - request = this[S._openKeyCursor](key_OR_range, direction); - } - 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; - } - get [S.$multiEntry]() { - return this.multiEntry; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$objectStore]() { - return this.objectStore; - } - get [S.$unique]() { - return this.unique; - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S._getKey](...args) { - return this.getKey.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S._openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Index); -dart.addTypeCaches(indexed_db.Index); -dart.setMethodSignature(indexed_db.Index, () => ({ - __proto__: dart.getMethods(indexed_db.Index.__proto__), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$get]: dart.fnType(async.Future, [dart.dynamic]), - [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [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), - [S.$multiEntry]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), - [S.$unique]: dart.nullable(core.bool) -})); -dart.setSetterSignature(indexed_db.Index, () => ({ - __proto__: dart.getSetters(indexed_db.Index.__proto__), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(indexed_db.Index, I[148]); -dart.registerExtension("IDBIndex", indexed_db.Index); -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[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[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[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; - } - get [S.$lowerOpen]() { - return this.lowerOpen; - } - get [S.$upper]() { - return this.upper; - } - get [S.$upperOpen]() { - return this.upperOpen; - } - [S.$includes](...args) { - return this.includes.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.KeyRange); -dart.addTypeCaches(indexed_db.KeyRange); -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), - [S.$lowerOpen]: dart.nullable(core.bool), - [S.$upper]: dart.nullable(core.Object), - [S.$upperOpen]: dart.nullable(core.bool) -})); -dart.setLibraryUri(indexed_db.KeyRange, I[148]); -dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); -indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { - [$add](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._add$3](value, key); - } else { - request = this[S._add$3](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$clear]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$delete](key_OR_keyRange) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$put](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._put](value, key); - } else { - request = this[S._put](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getObject](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - 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[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(); - if (unique != null) { - options[$_set]("unique", unique); - } - if (multiEntry != null) { - options[$_set]("multiEntry", multiEntry); - } - return this[S._createIndex](name, core.Object.as(keyPath), options); - } - static ['_#_#tearOff']() { - return indexed_db.ObjectStore.__(); - } - get [S.$autoIncrement]() { - return this.autoIncrement; - } - get [S.$indexNames]() { - return this.indexNames; - } - get [S.$keyPath]() { - return this.keyPath; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$transaction]() { - return this.transaction; - } - [S._add$3](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._add_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._add_2](value_1); - } - [S._add_1](...args) { - return this.add.apply(this, args); - } - [S._add_2](...args) { - return this.add.apply(this, args); - } - [S._clear$2](...args) { - return this.clear.apply(this, args); - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._createIndex](name, keyPath, options = null) { - 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); - } - return this[S._createIndex_2](name, keyPath); - } - [S._createIndex_1](...args) { - return this.createIndex.apply(this, args); - } - [S._createIndex_2](...args) { - return this.createIndex.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S.$deleteIndex](...args) { - return this.deleteIndex.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S.$index](...args) { - return this.index.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S.$openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } - [S._put](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._put_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._put_2](value_1); - } - [S._put_1](...args) { - return this.put.apply(this, args); - } - [S._put_2](...args) { - return this.put.apply(this, args); - } - static _cursorStreamFromResult(T, request, autoAdvance) { - 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[147], 992, 31, "e"); - let cursor = dart.nullable(T).as(request[S.$result]); - if (cursor == null) { - controller.close(); - } else { - controller.add(cursor); - if (autoAdvance === true && dart.test(controller.hasListener)) { - cursor[S.$next](); - } - } - }, T$0.EventTovoid())); - return controller.stream; - } -}; -dart.addTypeTests(indexed_db.ObjectStore); -dart.addTypeCaches(indexed_db.ObjectStore); -dart.setMethodSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), - [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), - [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), - [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), - [S._clear$2]: dart.fnType(indexed_db.Request, []), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), - [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), - [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$index]: dart.fnType(indexed_db.Index, [core.String]), - [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)]), - [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [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), - [S.$indexNames]: dart.nullable(core.List$(core.String)), - [S.$keyPath]: dart.nullable(core.Object), - [$name]: dart.nullable(core.String), - [S.$transaction]: dart.nullable(indexed_db.Transaction) -})); -dart.setSetterSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(indexed_db.ObjectStore, I[148]); -dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); -indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observation.__(); - } - get [S.$key]() { - return this.key; - } - get [S.$type]() { - return this.type; - } - get [S.$value]() { - return this.value; - } -}; -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[148]); -dart.registerExtension("IDBObservation", indexed_db.Observation); -indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observer.__(); - } - static new(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[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; - } - [S._observe_1](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Observer); -dart.addTypeCaches(indexed_db.Observer); -dart.setMethodSignature(indexed_db.Observer, () => ({ - __proto__: dart.getMethods(indexed_db.Observer.__proto__), - [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.ObserverChanges.__(); - } - get [S.$database]() { - return this.database; - } - get [S.$records]() { - return this.records; - } - get [S.$transaction]() { - return this.transaction; - } -}; -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[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; - } - get [S.$readyState]() { - return this.readyState; - } - get [S.$result]() { - return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); - } - get [S._get_result]() { - return this.result; - } - get [S.$source]() { - return this.source; - } - get [S.$transaction]() { - return this.transaction; - } - get [S.$onError]() { - return indexed_db.Request.errorEvent.forTarget(this); - } - get [S.$onSuccess]() { - return indexed_db.Request.successEvent.forTarget(this); - } -}; -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), - [S.$readyState]: dart.nullable(core.String), - [S.$result]: dart.dynamic, - [S._get_result]: dart.dynamic, - [S.$source]: dart.nullable(core.Object), - [S.$transaction]: dart.nullable(indexed_db.Transaction), - [S.$onError]: async.Stream$(html$.Event), - [S.$onSuccess]: async.Stream$(html$.Event) -})); -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[226] || CT.C226; - }, - /*indexed_db.Request.successEvent*/get successEvent() { - 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); - } - get [S.$onUpgradeNeeded]() { - return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); - } -}; -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[148]); -dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); -dart.defineLazy(indexed_db.OpenDBRequest, { - /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[229] || CT.C229; - }, - /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[230] || CT.C230; - } -}, false); -dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); -dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); -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[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[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[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; - } - get [S.$error]() { - return this.error; - } - get [S.$mode]() { - return this.mode; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S.$objectStore](...args) { - return this.objectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Transaction.abortEvent.forTarget(this); - } - get [S.$onComplete]() { - return indexed_db.Transaction.completeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Transaction.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(indexed_db.Transaction); -dart.addTypeCaches(indexed_db.Transaction); -dart.setMethodSignature(indexed_db.Transaction, () => ({ - __proto__: dart.getMethods(indexed_db.Transaction.__proto__), - [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), - [S.$db]: dart.nullable(indexed_db.Database), - [S.$error]: dart.nullable(html$.DomException), - [S.$mode]: dart.nullable(core.String), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onComplete]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) -})); -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[224] || CT.C224; - }, - /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[231] || CT.C231; - }, - /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } -}, false); -dart.registerExtension("IDBTransaction", indexed_db.Transaction); -html$.Event = class Event$ extends _interceptors.JavaScriptObject { - static new(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.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[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"); - 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; - } - set [S._selector](value) { - this._selector = value; - } - get [S.$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[S.$currentTarget]); - let target = T$0.ElementN().as(this[S.$target]); - let matchedTarget = null; - 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 [S.$path]() { - return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new Event(type); - } - get [S.$bubbles]() { - return this.bubbles; - } - get [S.$cancelable]() { - return this.cancelable; - } - get [S.$composed]() { - return this.composed; - } - get [S.$currentTarget]() { - return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); - } - get [S._get_currentTarget]() { - return this.currentTarget; - } - get [S.$defaultPrevented]() { - return this.defaultPrevented; - } - get [S.$eventPhase]() { - return this.eventPhase; - } - get [S.$isTrusted]() { - return this.isTrusted; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S.$timeStamp]() { - return this.timeStamp; - } - get [S.$type]() { - return this.type; - } - [S.$composedPath](...args) { - return this.composedPath.apply(this, args); - } - [S._initEvent](...args) { - return this.initEvent.apply(this, args); - } - [S.$preventDefault](...args) { - return this.preventDefault.apply(this, args); - } - [S.$stopImmediatePropagation](...args) { - return this.stopImmediatePropagation.apply(this, args); - } - [S.$stopPropagation](...args) { - return this.stopPropagation.apply(this, args); - } -}; -dart.addTypeTests(html$.Event); -dart.addTypeCaches(html$.Event); -dart.setMethodSignature(html$.Event, () => ({ - __proto__: dart.getMethods(html$.Event.__proto__), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - [S.$preventDefault]: dart.fnType(dart.void, []), - [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), - [S.$matchingTarget]: html$.Element, - [S.$path]: core.List$(html$.EventTarget), - [S.$bubbles]: dart.nullable(core.bool), - [S.$cancelable]: dart.nullable(core.bool), - [S.$composed]: dart.nullable(core.bool), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - [S._get_currentTarget]: dart.dynamic, - [S.$defaultPrevented]: core.bool, - [S.$eventPhase]: core.int, - [S.$isTrusted]: dart.nullable(core.bool), - [S.$target]: dart.nullable(html$.EventTarget), - [S._get_target]: dart.dynamic, - [S.$timeStamp]: dart.nullable(core.num), - [S.$type]: core.String -})); -dart.setSetterSignature(html$.Event, () => ({ - __proto__: dart.getSetters(html$.Event.__proto__), - [S._selector]: dart.nullable(core.String) -})); -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; - }, - /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { - return 3; - }, - /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { - return 1; - } -}, false); -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[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); - } - static _create_2(type) { - return new IDBVersionChangeEvent(type); - } - get [S.$dataLoss]() { - return this.dataLoss; - } - get [S.$dataLossMessage]() { - return this.dataLossMessage; - } - get [S.$newVersion]() { - return this.newVersion; - } - get [S.$oldVersion]() { - return this.oldVersion; - } - get [S.$target]() { - return this.target; - } -}; -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), - [S.$dataLossMessage]: dart.nullable(core.String), - [S.$newVersion]: dart.nullable(core.int), - [S.$oldVersion]: dart.nullable(core.int), - [S.$target]: indexed_db.OpenDBRequest -})); -dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); -dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); -indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { - function containsDate(object) { - if (dart.test(html_common.isJavaScriptDate(object))) return true; - if (core.List.is(object)) { - for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { - if (dart.dtest(containsDate(object[$_get](i)))) return true; - } - } - return false; - } - dart.fn(containsDate, T$0.dynamicTobool()); - if (dart.test(containsDate(nativeKey))) { - dart.throw(new core.UnimplementedError.new("Key containing DateTime")); - } - return nativeKey; -}; -indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { - return dartKey; -}; -indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); -}; -indexed_db._completeRequest = function _completeRequest(T, 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[147], 540, 29, "e"); - let result = T.as(request[S.$result]); - completer.complete(result); - }, T$0.EventTovoid())); - request[S.$onError].listen(dart.bind(completer, 'completeError')); - return completer.future; -}; -dart.defineLazy(indexed_db, { - /*indexed_db._idbKey*/get _idbKey() { - return "JSExtendableArray|=Object|num|String"; - }, - /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[232] || CT.C232; - }, - /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - 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[149], 23302, 28, "value"); - let copy = value[$toList](); - this[S.$text] = ""; - for (let node of copy) { - this[S.$append](node); - } - } - [$remove]() { - if (this.parentNode != null) { - let parent = dart.nullCheck(this.parentNode); - parent[S$._removeChild](this); - } - } - [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); - try { - let parent = dart.nullCheck(this.parentNode); - parent[S$._replaceChild](otherNode, this); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return this; - } - [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), child); - } - } else { - for (let node of newNodes) { - this.insertBefore(node, child); - } - } - } - [S$._clearChildren]() { - while (this.firstChild != null) { - this[S$._removeChild](dart.nullCheck(this.firstChild)); - } - } - [$toString]() { - let value = this.nodeValue; - return value == null ? super[$toString]() : value; - } - get [S$.$childNodes]() { - return this.childNodes; - } - static ['_#_#tearOff']() { - return html$.Node.__(); - } - get [S.$baseUri]() { - return this.baseURI; - } - get [S$.$firstChild]() { - return this.firstChild; - } - get [S$.$isConnected]() { - return this.isConnected; - } - get [S$.$lastChild]() { - return this.lastChild; - } - get [S.$nextNode]() { - return this.nextSibling; - } - get [S$.$nodeName]() { - return this.nodeName; - } - get [S$.$nodeType]() { - return this.nodeType; - } - get [S$.$nodeValue]() { - return this.nodeValue; - } - get [S$.$ownerDocument]() { - return this.ownerDocument; - } - get [S.$parent]() { - return this.parentElement; - } - get [S$.$parentNode]() { - return this.parentNode; - } - get [S$.$previousNode]() { - return this.previousSibling; - } - get [S.$text]() { - return this.textContent; - } - set [S.$text](value) { - this.textContent = value; - } - [S.$append](...args) { - return this.appendChild.apply(this, args); - } - [S$.$clone](...args) { - return this.cloneNode.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$getRootNode](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$._getRootNode_1](options_1); - } - return this[S$._getRootNode_2](); - } - [S$._getRootNode_1](...args) { - return this.getRootNode.apply(this, args); - } - [S$._getRootNode_2](...args) { - return this.getRootNode.apply(this, args); - } - [S$.$hasChildNodes](...args) { - return this.hasChildNodes.apply(this, args); - } - [S$.$insertBefore](...args) { - return this.insertBefore.apply(this, args); - } - [S$._removeChild](...args) { - return this.removeChild.apply(this, args); - } - [S$._replaceChild](...args) { - return this.replaceChild.apply(this, args); - } -}; -(html$.Node._created = function() { - html$.Node.__proto__._created.call(this); - ; -}).prototype = html$.Node.prototype; -dart.addTypeTests(html$.Node); -dart.addTypeCaches(html$.Node); -dart.setMethodSignature(html$.Node, () => ({ - __proto__: dart.getMethods(html$.Node.__proto__), - [$remove]: dart.fnType(dart.void, []), - [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), - [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), - [S$._clearChildren]: dart.fnType(dart.void, []), - [S.$append]: dart.fnType(html$.Node, [html$.Node]), - [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), - [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), - [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), - [S$._getRootNode_2]: dart.fnType(html$.Node, []), - [S$.$hasChildNodes]: dart.fnType(core.bool, []), - [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(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), - [S$.$childNodes]: core.List$(html$.Node), - [S.$baseUri]: dart.nullable(core.String), - [S$.$firstChild]: dart.nullable(html$.Node), - [S$.$isConnected]: dart.nullable(core.bool), - [S$.$lastChild]: dart.nullable(html$.Node), - [S.$nextNode]: dart.nullable(html$.Node), - [S$.$nodeName]: dart.nullable(core.String), - [S$.$nodeType]: core.int, - [S$.$nodeValue]: dart.nullable(core.String), - [S$.$ownerDocument]: dart.nullable(html$.Document), - [S.$parent]: dart.nullable(html$.Element), - [S$.$parentNode]: dart.nullable(html$.Node), - [S$.$previousNode]: dart.nullable(html$.Node), - [S.$text]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.Node, () => ({ - __proto__: dart.getSetters(html$.Node.__proto__), - [S.$nodes]: core.Iterable$(html$.Node), - [S.$text]: dart.nullable(core.String) -})); -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; - }, - /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { - return 4; - }, - /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { - return 8; - }, - /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { - return 11; - }, - /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { - return 9; - }, - /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { - return 10; - }, - /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { - return 1; - }, - /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { - return 6; - }, - /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { - return 5; - }, - /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { - return 12; - }, - /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { - return 7; - }, - /*html$.Node.TEXT_NODE*/get TEXT_NODE() { - return 3; - } -}, false); -dart.registerExtension("Node", html$.Node); -html$.Element = class Element extends html$.Node { - static html(html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - 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[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[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"); - } - get [S.$attributes]() { - return new html$._ElementAttributeMap.new(this); - } - set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); - let attributes = this[S.$attributes]; - attributes[$clear](); - for (let key of value[$keys]) { - attributes[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getAttribute](name) { - 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[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[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[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[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[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[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[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]() { - return new html$._ChildrenElementList._wrap(this); - } - get [S._children]() { - return this.children; - } - set [S.$children](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[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[149], 13108, 45, "nativeScrollBehavior"); - let completer = T$0.CompleterOfScrollState().new(); - this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - [S._setDistributeScroll](...args) { - return this.setDistributeScroll.apply(this, args); - } - [S.$setDistributeScroll](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[149], 13122, 27, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - get [S.$classes]() { - return new html$._ElementCssClassSet.new(this); - } - set [S.$classes](value) { - if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); - let classSet = this[S.$classes]; - classSet.clear(); - classSet.addAll(value); - } - get [S.$dataset]() { - return new html$._DataAttributeMap.new(this[S.$attributes]); - } - set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); - let data = this[S.$dataset]; - data[$clear](); - for (let key of value[$keys]) { - data[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); - return new html$._NamespacedAttributeMap.new(this, namespace); - } - [S.$getComputedStyle](pseudoElement = null) { - if (pseudoElement == null) { - pseudoElement = ""; - } - return html$.window[S._getComputedStyle](this, pseudoElement); - } - get [S.$client]() { - return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); - } - get [S.$offset]() { - 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[149], 13231, 26, "text"); - this[S.$append](html$.Text.new(text)); - } - [S.$appendHtml](text, opts) { - 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[149], 13250, 37, "tag"); - let e = html$._ElementFactoryProvider.createElement_tag(tag, null); - return html$.Element.is(e) && !html$.UnknownElement.is(e); - } - [S.$attached]() { - this[S.$enteredView](); - } - [S.$detached]() { - this[S.$leftView](); - } - [S.$enteredView]() { - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - [S.$leftView]() { - } - [S.$animate](frames, timing = null) { - 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[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[234] || CT.C234)[$toList](); - } else { - convertedFrames = frames; - } - let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; - return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); - } - [S._animate](...args) { - return this.animate.apply(this, args); - } - [S.$attributeChanged](name, oldValue, 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]; - } - get [S.$namespaceUri]() { - return this[S._namespaceUri]; - } - [$toString]() { - return this[S.$localName]; - } - [S.$scrollIntoView](alignment = null) { - let hasScrollIntoViewIfNeeded = true; - hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; - if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { - this[S._scrollIntoView](true); - } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { - this[S._scrollIntoView](false); - } else if (hasScrollIntoViewIfNeeded) { - if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this.scrollIntoViewIfNeeded(true); - } else { - this.scrollIntoViewIfNeeded(); - } - } else { - this[S._scrollIntoView](); - } - } - static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); - return "wheel"; - } - static _determineTransitionEventType(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)) { - return "oTransitionEnd"; - } - return "transitionend"; - } - [S.$insertAdjacentText](where, 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 { - this[S._insertAdjacentNode](where, html$.Text.new(text)); - } - } - [S._insertAdjacentText](...args) { - return this.insertAdjacentText.apply(this, args); - } - [S.$insertAdjacentHtml](where, html, opts) { - 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)) { - this[S._insertAdjacentHtml](where, html); - } else { - this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - [S._insertAdjacentHtml](...args) { - return this.insertAdjacentHTML.apply(this, args); - } - [S.$insertAdjacentElement](where, 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 { - this[S._insertAdjacentNode](where, element); - } - return element; - } - [S._insertAdjacentElement](...args) { - return this.insertAdjacentElement.apply(this, args); - } - [S._insertAdjacentNode](where, 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; - } - case "afterbegin": - { - 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; - } - case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } - default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } - } - } - [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); - if (!!this.matches) { - return this.matches(selectors); - } else if (!!this.webkitMatchesSelector) { - return this.webkitMatchesSelector(selectors); - } else if (!!this.mozMatchesSelector) { - return this.mozMatchesSelector(selectors); - } else if (!!this.msMatchesSelector) { - return this.msMatchesSelector(selectors); - } else if (!!this.oMatchesSelector) { - return this.oMatchesSelector(selectors); - } else { - dart.throw(new core.UnsupportedError.new("Not supported on this platform")); - } - } - [S.$matchesWithAncestors](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; - elem = elem[S.$parent]; - } while (elem != null); - return false; - } - [S.$createShadowRoot]() { - return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); - } - get [S.$shadowRoot]() { - return this.shadowRoot || this.webkitShadowRoot; - } - get [S.$contentEdge]() { - return new html$._ContentCssRect.new(this); - } - get [S.$paddingEdge]() { - return new html$._PaddingCssRect.new(this); - } - get [S.$borderEdge]() { - return new html$._BorderCssRect.new(this); - } - get [S.$marginEdge]() { - return new html$._MarginCssRect.new(this); - } - get [S.$documentOffset]() { - return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); - } - [S.$offsetTo](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[149], 13706, 58, "parent"); - let sameAsParent = current == parent; - let foundAsParent = sameAsParent || parent.tagName === "HTML"; - if (current == null || sameAsParent) { - if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); - dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); - } - let parentOffset = current.offsetParent; - let p = html$.Element._offsetToHelper(parentOffset, parent); - 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 t213; - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (treeSanitizer == null) { - if (validator == null) { - if (html$.Element._defaultValidator == null) { - html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); - } - validator = html$.Element._defaultValidator; - } - if (html$.Element._defaultSanitizer == null) { - html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); - } else { - dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); - } - treeSanitizer = html$.Element._defaultSanitizer; - } else if (validator != null) { - dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); - } - if (html$.Element._parseDocument == null) { - html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); - html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); - let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); - base.href = dart.nullCheck(html$.document[S.$baseUri]); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); - } - if (dart.nullCheck(html$.Element._parseDocument).body == null) { - dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); - } - let contextElement = null; - if (html$.BodyElement.is(this)) { - 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](contextElement); - } - let fragment = null; - if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); - } else { - contextElement[S._innerHtml] = html; - fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (contextElement.firstChild != null) { - fragment[S.$append](dart.nullCheck(contextElement.firstChild)); - } - } - if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - contextElement[$remove](); - } - dart.nullCheck(treeSanitizer).sanitizeTree(fragment); - html$.document.adoptNode(fragment); - return fragment; - } - get [S._canBeUsedToCreateContextualFragment]() { - return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); - } - get [S._cannotBeUsedToCreateContextualFragment]() { - return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); - } - set [S.$innerHtml](html) { - this[S.$setInnerHtml](html); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { - this[S._innerHtml] = html; - } else { - this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - get [S.$innerHtml]() { - return this[S._innerHtml]; - } - get [S.$innerText]() { - return this.innerText; - } - set [S.$innerText](value) { - this.innerText = value; - } - get [S.$on]() { - return new html$.ElementEvents.new(this); - } - static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); - return (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); - } - static _hasCorruptedAttributesAdditionalCheck(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 element.tagName == 'string') { - result = element.tagName; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return result; - } - get [S.$offsetParent]() { - return this.offsetParent; - } - get [S.$offsetHeight]() { - return this.offsetHeight[$round](); - } - get [S.$offsetLeft]() { - return this.offsetLeft[$round](); - } - get [S.$offsetTop]() { - return this.offsetTop[$round](); - } - get [S.$offsetWidth]() { - return this.offsetWidth[$round](); - } - get [S.$scrollHeight]() { - return this.scrollHeight[$round](); - } - get [S.$scrollLeft]() { - return this.scrollLeft[$round](); - } - set [S.$scrollLeft](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[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; - } - set [S.$contentEditable](value) { - this.contentEditable = value; - } - get [S.$dir]() { - return this.dir; - } - set [S.$dir](value) { - this.dir = value; - } - get [S.$draggable]() { - return this.draggable; - } - set [S.$draggable](value) { - this.draggable = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S.$inert]() { - return this.inert; - } - set [S.$inert](value) { - this.inert = value; - } - get [S.$inputMode]() { - return this.inputMode; - } - set [S.$inputMode](value) { - this.inputMode = value; - } - get [S.$isContentEditable]() { - return this.isContentEditable; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S.$spellcheck]() { - return this.spellcheck; - } - set [S.$spellcheck](value) { - this.spellcheck = value; - } - get [S.$style]() { - return this.style; - } - get [S.$tabIndex]() { - return this.tabIndex; - } - set [S.$tabIndex](value) { - this.tabIndex = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } - get [S.$translate]() { - return this.translate; - } - set [S.$translate](value) { - this.translate = value; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$click](...args) { - return this.click.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$accessibleNode]() { - return this.accessibleNode; - } - get [S.$assignedSlot]() { - return this.assignedSlot; - } - get [S._attributes$1]() { - return this.attributes; - } - get [S.$className]() { - return this.className; - } - set [S.$className](value) { - this.className = value; - } - get [S.$clientHeight]() { - return this.clientHeight; - } - get [S.$clientLeft]() { - return this.clientLeft; - } - get [S.$clientTop]() { - return this.clientTop; - } - get [S.$clientWidth]() { - return this.clientWidth; - } - get [S.$computedName]() { - return this.computedName; - } - get [S.$computedRole]() { - return this.computedRole; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S._innerHtml]() { - return this.innerHTML; - } - set [S._innerHtml](value) { - this.innerHTML = value; - } - get [S._localName]() { - return this.localName; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$outerHtml]() { - return this.outerHTML; - } - get [S._scrollHeight]() { - return this.scrollHeight; - } - get [S._scrollLeft]() { - return this.scrollLeft; - } - set [S._scrollLeft](value) { - this.scrollLeft = value; - } - get [S._scrollTop]() { - return this.scrollTop; - } - set [S._scrollTop](value) { - this.scrollTop = value; - } - get [S._scrollWidth]() { - return this.scrollWidth; - } - get [S.$slot]() { - return this.slot; - } - set [S.$slot](value) { - this.slot = value; - } - get [S.$styleMap]() { - return this.styleMap; - } - get [S.$tagName]() { - return this.tagName; - } - [S.$attachShadow](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); - } - [S._attachShadow_1](...args) { - return this.attachShadow.apply(this, args); - } - [S.$closest](...args) { - return this.closest.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S._getAttribute](...args) { - return this.getAttribute.apply(this, args); - } - [S._getAttributeNS](...args) { - return this.getAttributeNS.apply(this, args); - } - [S.$getAttributeNames](...args) { - return this.getAttributeNames.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S._getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S._hasAttribute](...args) { - return this.hasAttribute.apply(this, args); - } - [S._hasAttributeNS](...args) { - return this.hasAttributeNS.apply(this, args); - } - [S.$hasPointerCapture](...args) { - return this.hasPointerCapture.apply(this, args); - } - [S.$releasePointerCapture](...args) { - return this.releasePointerCapture.apply(this, args); - } - [S._removeAttribute](...args) { - return this.removeAttribute.apply(this, args); - } - [S._removeAttributeNS](...args) { - return this.removeAttributeNS.apply(this, args); - } - [S.$requestPointerLock](...args) { - return this.requestPointerLock.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scroll_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollBy_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollIntoView](...args) { - return this.scrollIntoView.apply(this, args); - } - [S.$scrollIntoViewIfNeeded](...args) { - return this.scrollIntoViewIfNeeded.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollTo_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S._setAttribute](...args) { - return this.setAttribute.apply(this, args); - } - [S._setAttributeNS](...args) { - return this.setAttributeNS.apply(this, args); - } - [S.$setPointerCapture](...args) { - return this.setPointerCapture.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forElement(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forElement(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forElement(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forElement(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forElement(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forElement(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forElement(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forElement(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forElement(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forElement(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forElement(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forElement(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forElement(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forElement(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forElement(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forElement(this); - } - get [S$.$onTouchEnter]() { - return html$.Element.touchEnterEvent.forElement(this); - } - get [S$.$onTouchLeave]() { - return html$.Element.touchLeaveEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forElement(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forElement(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forElement(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forElement(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forElement(this); - } -}; -(html$.Element.created = function() { - html$.Element.__proto__._created.call(this); - ; -}).prototype = html$.Element.prototype; -dart.addTypeTests(html$.Element); -dart.addTypeCaches(html$.Element); -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]), - [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), - [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.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]), - [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), - [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), - [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), - [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$attached]: dart.fnType(dart.void, []), - [S.$detached]: dart.fnType(dart.void, []), - [S.$enteredView]: dart.fnType(dart.void, []), - [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$leftView]: dart.fnType(dart.void, []), - [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), - [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), - [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), - [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), - [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), - [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), - [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), - [S.$matches]: dart.fnType(core.bool, [core.String]), - [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), - [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), - [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, []), - [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), - [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), - [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), - [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._hasAttribute]: dart.fnType(core.bool, [core.String]), - [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), - [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), - [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), - [S._removeAttribute]: dart.fnType(dart.void, [core.String]), - [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$requestPointerLock]: dart.fnType(dart.void, []), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [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.$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.Object]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), - [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [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), - [S.$children]: core.List$(html$.Element), - [S._children]: core.List$(html$.Node), - [S.$classes]: html$.CssClassSet, - [S.$dataset]: core.Map$(core.String, core.String), - [S.$client]: math.Rectangle$(core.num), - [S.$offset]: math.Rectangle$(core.num), - [S.$localName]: core.String, - [S.$namespaceUri]: dart.nullable(core.String), - [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), - [S.$contentEdge]: html$.CssRect, - [S.$paddingEdge]: html$.CssRect, - [S.$borderEdge]: html$.CssRect, - [S.$marginEdge]: html$.CssRect, - [S.$documentOffset]: math.Point$(core.num), - [S._canBeUsedToCreateContextualFragment]: core.bool, - [S._cannotBeUsedToCreateContextualFragment]: core.bool, - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$on]: html$.ElementEvents, - [S.$offsetParent]: dart.nullable(html$.Element), - [S.$offsetHeight]: core.int, - [S.$offsetLeft]: core.int, - [S.$offsetTop]: core.int, - [S.$offsetWidth]: core.int, - [S.$scrollHeight]: core.int, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$scrollWidth]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$isContentEditable]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$style]: html$.CssStyleDeclaration, - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), - [S.$assignedSlot]: dart.nullable(html$.SlotElement), - [S._attributes$1]: dart.nullable(html$._NamedNodeMap), - [S.$className]: core.String, - [S.$clientHeight]: core.int, - [S.$clientLeft]: dart.nullable(core.int), - [S.$clientTop]: dart.nullable(core.int), - [S.$clientWidth]: core.int, - [S.$computedName]: dart.nullable(core.String), - [S.$computedRole]: dart.nullable(core.String), - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._localName]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$outerHtml]: dart.nullable(core.String), - [S._scrollHeight]: dart.nullable(core.int), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S._scrollWidth]: dart.nullable(core.int), - [S.$slot]: dart.nullable(core.String), - [S.$styleMap]: dart.nullable(html$.StylePropertyMap), - [S.$tagName]: core.String, - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: html$.ElementStream$(html$.Event), - [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), - [S.$onBeforeCut]: html$.ElementStream$(html$.Event), - [S.$onBeforePaste]: html$.ElementStream$(html$.Event), - [S.$onBlur]: html$.ElementStream$(html$.Event), - [S.$onCanPlay]: html$.ElementStream$(html$.Event), - [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), - [S.$onChange]: html$.ElementStream$(html$.Event), - [S.$onClick]: html$.ElementStream$(html$.MouseEvent), - [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), - [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onDoubleClick]: html$.ElementStream$(html$.Event), - [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), - [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), - [S.$onDurationChange]: html$.ElementStream$(html$.Event), - [S.$onEmptied]: html$.ElementStream$(html$.Event), - [S.$onEnded]: html$.ElementStream$(html$.Event), - [S.$onError]: html$.ElementStream$(html$.Event), - [S.$onFocus]: html$.ElementStream$(html$.Event), - [S.$onInput]: html$.ElementStream$(html$.Event), - [S.$onInvalid]: html$.ElementStream$(html$.Event), - [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onLoad]: html$.ElementStream$(html$.Event), - [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$.$onSuspend]: html$.ElementStream$(html$.Event), - [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), - [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), - [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), - [S$.$onWaiting]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), - [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) -})); -dart.setSetterSignature(html$.Element, () => ({ - __proto__: dart.getSetters(html$.Element.__proto__), - [S.$attributes]: core.Map$(core.String, core.String), - [S.$children]: core.List$(html$.Element), - [S.$classes]: core.Iterable$(core.String), - [S.$dataset]: core.Map$(core.String, core.String), - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$className]: core.String, - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S.$slot]: dart.nullable(core.String) -})); -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[235] || CT.C235; - }, - /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[237] || CT.C237; - }, - /*html$.Element._parseDocument*/get _parseDocument() { - return null; - }, - set _parseDocument(value) {}, - /*html$.Element._parseRange*/get _parseRange() { - return null; - }, - set _parseRange(value) {}, - /*html$.Element._defaultValidator*/get _defaultValidator() { - return null; - }, - set _defaultValidator(value) {}, - /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { - return null; - }, - set _defaultSanitizer(value) {}, - /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[239] || CT.C239; - }, - /*html$.Element.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[240] || CT.C240; - }, - /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[241] || CT.C241; - }, - /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[242] || CT.C242; - }, - /*html$.Element.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.Element.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.Element.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.Element.copyEvent*/get copyEvent() { - return C[249] || CT.C249; - }, - /*html$.Element.cutEvent*/get cutEvent() { - return C[250] || CT.C250; - }, - /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.Element.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.Element.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.Element.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.Element.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Element.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.Element.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.Element.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.Element.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.Element.pasteEvent*/get pasteEvent() { - return C[278] || CT.C278; - }, - /*html$.Element.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.Element.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.Element.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.Element.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.Element.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.Element.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.Element.searchEvent*/get searchEvent() { - return C[286] || CT.C286; - }, - /*html$.Element.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.Element.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.Element.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[290] || CT.C290; - }, - /*html$.Element.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.Element.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.Element.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[297] || CT.C297; - }, - /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[298] || CT.C298; - }, - /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.Element.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[303] || CT.C303; - }, - /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[304] || CT.C304; - }, - /*html$.Element.wheelEvent*/get wheelEvent() { - return C[305] || CT.C305; - } -}, false); -dart.registerExtension("Element", html$.Element); -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; - } - set [S.$nonce](value) { - this.nonce = value; - } -}; -(html$.HtmlElement.created = function() { - html$.HtmlElement.__proto__.created.call(this); - ; -}).prototype = html$.HtmlElement.prototype; -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) -})); -dart.setSetterSignature(html$.HtmlElement, () => ({ - __proto__: dart.getSetters(html$.HtmlElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(type) { - return new ExtendableEvent(type); - } - [S$.$waitUntil](...args) { - return this.waitUntil.apply(this, args); - } -}; -dart.addTypeTests(html$.ExtendableEvent); -dart.addTypeCaches(html$.ExtendableEvent); -dart.setMethodSignature(html$.ExtendableEvent, () => ({ - __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), - [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) -})); -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[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); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.AbortPaymentEvent); -dart.addTypeCaches(html$.AbortPaymentEvent); -dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ - __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), - [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) -})); -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; - } - get [S$.$hasReading]() { - return this.hasReading; - } - get [S$.$timestamp]() { - return this.timestamp; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.Sensor.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Sensor); -dart.addTypeCaches(html$.Sensor); -dart.setMethodSignature(html$.Sensor, () => ({ - __proto__: dart.getMethods(html$.Sensor.__proto__), - [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), - [S$.$hasReading]: dart.nullable(core.bool), - [S$.$timestamp]: dart.nullable(core.num), - [S.$onError]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.Sensor, I[150]); -dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); -dart.defineLazy(html$.Sensor, { - /*html$.Sensor.errorEvent*/get errorEvent() { - 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; - } - [S$.$populateMatrix](...args) { - return this.populateMatrix.apply(this, args); - } -}; -dart.addTypeTests(html$.OrientationSensor); -dart.addTypeCaches(html$.OrientationSensor); -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[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); - return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); - } - return html$.AbsoluteOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AbsoluteOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AbsoluteOrientationSensor(sensorOptions); - } - static _create_2() { - return new AbsoluteOrientationSensor(); - } -}; -dart.addTypeTests(html$.AbsoluteOrientationSensor); -dart.addTypeCaches(html$.AbsoluteOrientationSensor); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AbstractWorker.__(); - } - get onError() { - return html$.AbstractWorker.errorEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); -dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); -dart.defineLazy(html$.AbstractWorker, { - /*html$.AbstractWorker.errorEvent*/get errorEvent() { - 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); - return html$.Accelerometer._create_1(sensorOptions_1); - } - return html$.Accelerometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Accelerometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Accelerometer(sensorOptions); - } - static _create_2() { - return new Accelerometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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(); - } - static _create_1() { - return new AccessibleNode(); - } - get [S$.$activeDescendant]() { - return this.activeDescendant; - } - set [S$.$activeDescendant](value) { - this.activeDescendant = value; - } - get [S$.$atomic]() { - return this.atomic; - } - set [S$.$atomic](value) { - this.atomic = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$busy]() { - return this.busy; - } - set [S$.$busy](value) { - this.busy = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$.$colCount]() { - return this.colCount; - } - set [S$.$colCount](value) { - this.colCount = value; - } - get [S$.$colIndex]() { - return this.colIndex; - } - set [S$.$colIndex](value) { - this.colIndex = value; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$current]() { - return this.current; - } - set [S$.$current](value) { - this.current = value; - } - get [S$.$describedBy]() { - return this.describedBy; - } - set [S$.$describedBy](value) { - this.describedBy = value; - } - get [S$.$details]() { - return this.details; - } - set [S$.$details](value) { - this.details = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$errorMessage]() { - return this.errorMessage; - } - set [S$.$errorMessage](value) { - this.errorMessage = value; - } - get [S$.$expanded]() { - return this.expanded; - } - set [S$.$expanded](value) { - this.expanded = value; - } - get [S$.$flowTo]() { - return this.flowTo; - } - set [S$.$flowTo](value) { - this.flowTo = value; - } - get [S$.$hasPopUp]() { - return this.hasPopUp; - } - set [S$.$hasPopUp](value) { - this.hasPopUp = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S$.$invalid]() { - return this.invalid; - } - set [S$.$invalid](value) { - this.invalid = value; - } - get [S$.$keyShortcuts]() { - return this.keyShortcuts; - } - set [S$.$keyShortcuts](value) { - this.keyShortcuts = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$labeledBy]() { - return this.labeledBy; - } - set [S$.$labeledBy](value) { - this.labeledBy = value; - } - get [S$.$level]() { - return this.level; - } - set [S$.$level](value) { - this.level = value; - } - get [S$.$live]() { - return this.live; - } - set [S$.$live](value) { - this.live = value; - } - get [S$.$modal]() { - return this.modal; - } - set [S$.$modal](value) { - this.modal = value; - } - get [S$.$multiline]() { - return this.multiline; - } - set [S$.$multiline](value) { - this.multiline = value; - } - get [S$.$multiselectable]() { - return this.multiselectable; - } - set [S$.$multiselectable](value) { - this.multiselectable = value; - } - get [S$.$orientation]() { - return this.orientation; - } - set [S$.$orientation](value) { - this.orientation = value; - } - get [S$.$owns]() { - return this.owns; - } - set [S$.$owns](value) { - this.owns = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$posInSet]() { - return this.posInSet; - } - set [S$.$posInSet](value) { - this.posInSet = value; - } - get [S$.$pressed]() { - return this.pressed; - } - set [S$.$pressed](value) { - this.pressed = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$relevant]() { - return this.relevant; - } - set [S$.$relevant](value) { - this.relevant = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$.$role]() { - return this.role; - } - set [S$.$role](value) { - this.role = value; - } - get [S$.$roleDescription]() { - return this.roleDescription; - } - set [S$.$roleDescription](value) { - this.roleDescription = value; - } - get [S$.$rowCount]() { - return this.rowCount; - } - set [S$.$rowCount](value) { - this.rowCount = value; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - set [S$.$rowIndex](value) { - this.rowIndex = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$.$setSize]() { - return this.setSize; - } - set [S$.$setSize](value) { - this.setSize = value; - } - get [$sort]() { - return this.sort; - } - set [$sort](value) { - this.sort = value; - } - get [S$.$valueMax]() { - return this.valueMax; - } - set [S$.$valueMax](value) { - this.valueMax = value; - } - get [S$.$valueMin]() { - return this.valueMin; - } - set [S$.$valueMin](value) { - this.valueMin = value; - } - get [S$.$valueNow]() { - return this.valueNow; - } - set [S$.$valueNow](value) { - this.valueNow = value; - } - get [S$.$valueText]() { - return this.valueText; - } - set [S$.$valueText](value) { - this.valueText = value; - } - [S$.$appendChild](...args) { - return this.appendChild.apply(this, args); - } - get [S$.$onAccessibleClick]() { - return html$.AccessibleNode.accessibleClickEvent.forTarget(this); - } - get [S$.$onAccessibleContextMenu]() { - return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); - } - get [S$.$onAccessibleDecrement]() { - return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); - } - get [S$.$onAccessibleFocus]() { - return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); - } - get [S$.$onAccessibleIncrement]() { - return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); - } - get [S$.$onAccessibleScrollIntoView]() { - return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.AccessibleNode); -dart.addTypeCaches(html$.AccessibleNode); -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), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String), - [S$.$onAccessibleClick]: async.Stream$(html$.Event), - [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), - [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), - [S$.$onAccessibleFocus]: async.Stream$(html$.Event), - [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), - [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.AccessibleNode, () => ({ - __proto__: dart.getSetters(html$.AccessibleNode.__proto__), - [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String) -})); -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[306] || CT.C306; - }, - /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[307] || CT.C307; - }, - /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[308] || CT.C308; - }, - /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[309] || CT.C309; - }, - /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[310] || CT.C310; - }, - /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[311] || CT.C311; - } -}, false); -dart.registerExtension("AccessibleNode", html$.AccessibleNode); -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); - } - static _create_2() { - return new AccessibleNodeList(); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } -}; -dart.addTypeTests(html$.AccessibleNodeList); -dart.addTypeCaches(html$.AccessibleNodeList); -dart.setMethodSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), - [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), - [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) -})); -dart.setSetterSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), - [$length]: dart.nullable(core.int) -})); -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); - return html$.AmbientLightSensor._create_1(sensorOptions_1); - } - return html$.AmbientLightSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AmbientLightSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AmbientLightSensor(sensorOptions); - } - static _create_2() { - return new AmbientLightSensor(); - } - get [S$.$illuminance]() { - return this.illuminance; - } -}; -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[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; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } -}; -(html$.AnchorElement.created = function() { - html$.AnchorElement.__proto__.created.call(this); - ; -}).prototype = html$.AnchorElement.prototype; -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), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.AnchorElement, () => ({ - __proto__: dart.getSetters(html$.AnchorElement.__proto__), - [S$.$download]: dart.nullable(core.String), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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); - } - if (effect != null) { - return html$.Animation._create_2(effect); - } - 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); - } - static _create_2(effect) { - return new Animation(effect); - } - static _create_3() { - return new Animation(); - } - static get supported() { - return !!document.body.animate; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$effect]() { - return this.effect; - } - set [S$.$effect](value) { - this.effect = value; - } - get [S$.$finished]() { - return js_util.promiseToFuture(html$.Animation, this.finished); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$.$playState]() { - return this.playState; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.Animation, this.ready); - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$.$timeline]() { - return this.timeline; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } - [S$.$reverse](...args) { - return this.reverse.apply(this, args); - } - get [S$.$onCancel]() { - return html$.Animation.cancelEvent.forTarget(this); - } - get [S$.$onFinish]() { - return html$.Animation.finishEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Animation); -dart.addTypeCaches(html$.Animation); -dart.setMethodSignature(html$.Animation, () => ({ - __proto__: dart.getMethods(html$.Animation.__proto__), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$.$finish]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [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), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S$.$finished]: async.Future$(html$.Animation), - [S.$id]: dart.nullable(core.String), - [S$.$playState]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$ready]: async.Future$(html$.Animation), - [S$.$startTime]: dart.nullable(core.num), - [S$.$timeline]: dart.nullable(html$.AnimationTimeline), - [S$.$onCancel]: async.Stream$(html$.Event), - [S$.$onFinish]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.Animation, () => ({ - __proto__: dart.getSetters(html$.Animation.__proto__), - [S$.$currentTime]: dart.nullable(core.num), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S.$id]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$startTime]: dart.nullable(core.num) -})); -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[312] || CT.C312; - }, - /*html$.Animation.finishEvent*/get finishEvent() { - return C[313] || CT.C313; - } -}, false); -dart.registerExtension("Animation", html$.Animation); -html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectReadOnly.__(); - } - get [S$.$timing]() { - return this.timing; - } - [S$.$getComputedTiming]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); - } - [S$._getComputedTiming_1](...args) { - return this.getComputedTiming.apply(this, args); - } -}; -dart.addTypeTests(html$.AnimationEffectReadOnly); -dart.addTypeCaches(html$.AnimationEffectReadOnly); -dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ - __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), - [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[150]); -dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); -html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectTimingReadOnly.__(); - } - get [S$.$delay]() { - return this.delay; - } - get [S.$direction]() { - return this.direction; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$easing]() { - return this.easing; - } - get [S$.$endDelay]() { - return this.endDelay; - } - get [S$.$fill]() { - return this.fill; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - get [S$.$iterations]() { - return this.iterations; - } -}; -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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) -})); -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; - } - set [S$.$delay](value) { - this.delay = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S$.$easing]() { - return this.easing; - } - set [S$.$easing](value) { - this.easing = value; - } - get [S$.$endDelay]() { - return this.endDelay; - } - set [S$.$endDelay](value) { - this.endDelay = value; - } - get [S$.$fill]() { - return this.fill; - } - set [S$.$fill](value) { - this.fill = value; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - set [S$.$iterationStart](value) { - this.iterationStart = value; - } - get [S$.$iterations]() { - return this.iterations; - } - set [S$.$iterations](value) { - this.iterations = value; - } -}; -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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new AnimationEvent(type); - } - get [S$.$animationName]() { - return this.animationName; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } -}; -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[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[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); - } - static _create_2(type) { - return new AnimationPlaybackEvent(type); - } - get [S$.$currentTime]() { - return this.currentTime; - } - get [S$.$timelineTime]() { - return this.timelineTime; - } -}; -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[150]); -dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); -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[150]); -dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); -html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletGlobalScope.__(); - } -}; -dart.addTypeTests(html$.WorkletGlobalScope); -dart.addTypeCaches(html$.WorkletGlobalScope); -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); - } -}; -dart.addTypeTests(html$.AnimationWorkletGlobalScope); -dart.addTypeCaches(html$.AnimationWorkletGlobalScope); -dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ - __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), - [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) -})); -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; - } - get [S$.$status]() { - return this.status; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$swapCache](...args) { - return this.swapCache.apply(this, args); - } - [$update](...args) { - return this.update.apply(this, args); - } - get [S$.$onCached]() { - return html$.ApplicationCache.cachedEvent.forTarget(this); - } - get [S$.$onChecking]() { - return html$.ApplicationCache.checkingEvent.forTarget(this); - } - get [S$.$onDownloading]() { - return html$.ApplicationCache.downloadingEvent.forTarget(this); - } - get [S.$onError]() { - return html$.ApplicationCache.errorEvent.forTarget(this); - } - get [S$.$onNoUpdate]() { - return html$.ApplicationCache.noUpdateEvent.forTarget(this); - } - get [S$.$onObsolete]() { - return html$.ApplicationCache.obsoleteEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.ApplicationCache.progressEvent.forTarget(this); - } - get [S$.$onUpdateReady]() { - return html$.ApplicationCache.updateReadyEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ApplicationCache); -dart.addTypeCaches(html$.ApplicationCache); -dart.setMethodSignature(html$.ApplicationCache, () => ({ - __proto__: dart.getMethods(html$.ApplicationCache.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$.$onCached]: async.Stream$(html$.Event), - [S$.$onChecking]: async.Stream$(html$.Event), - [S$.$onDownloading]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onNoUpdate]: async.Stream$(html$.Event), - [S$.$onObsolete]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$.$onUpdateReady]: async.Stream$(html$.Event) -})); -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[314] || CT.C314; - }, - /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[315] || CT.C315; - }, - /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[316] || CT.C316; - }, - /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[317] || CT.C317; - }, - /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[318] || CT.C318; - }, - /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[320] || CT.C320; - }, - /*html$.ApplicationCache.CHECKING*/get CHECKING() { - return 2; - }, - /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { - return 3; - }, - /*html$.ApplicationCache.IDLE*/get IDLE() { - return 1; - }, - /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { - return 5; - }, - /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { - return 0; - }, - /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { - return 4; - } -}, false); -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[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); - } - static _create_2(type) { - return new ApplicationCacheErrorEvent(type); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$status]() { - return this.status; - } - get [S$.$url]() { - return this.url; - } -}; -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), - [S$.$reason]: dart.nullable(core.String), - [S$.$status]: dart.nullable(core.int), - [S$.$url]: dart.nullable(core.String) -})); -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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$.$coords]() { - return this.coords; - } - set [S$.$coords](value) { - this.coords = value; - } - get [S$.$download]() { - return this.download; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$.$shape]() { - return this.shape; - } - set [S$.$shape](value) { - this.shape = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } -}; -(html$.AreaElement.created = function() { - html$.AreaElement.__proto__.created.call(this); - ; -}).prototype = html$.AreaElement.prototype; -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, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.AreaElement, () => ({ - __proto__: dart.getSetters(html$.AreaElement.__proto__), - [S$.$alt]: core.String, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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; - } - get [S$.$autoplay]() { - return this.autoplay; - } - set [S$.$autoplay](value) { - this.autoplay = value; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$controlsList]() { - return this.controlsList; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$defaultMuted]() { - return this.defaultMuted; - } - set [S$.$defaultMuted](value) { - this.defaultMuted = value; - } - get [S$.$defaultPlaybackRate]() { - return this.defaultPlaybackRate; - } - set [S$.$defaultPlaybackRate](value) { - this.defaultPlaybackRate = value; - } - get [S$.$disableRemotePlayback]() { - return this.disableRemotePlayback; - } - set [S$.$disableRemotePlayback](value) { - this.disableRemotePlayback = value; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$ended]() { - return this.ended; - } - get [S.$error]() { - return this.error; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$.$mediaKeys]() { - return this.mediaKeys; - } - get [S$.$muted]() { - return this.muted; - } - set [S$.$muted](value) { - this.muted = value; - } - get [S$.$networkState]() { - return this.networkState; - } - get [S$.$paused]() { - return this.paused; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$played]() { - return this.played; - } - get [S$.$preload]() { - return this.preload; - } - set [S$.$preload](value) { - this.preload = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$remote]() { - return this.remote; - } - get [S$.$seekable]() { - return this.seekable; - } - get [S$.$seeking]() { - return this.seeking; - } - get [S$.$sinkId]() { - return this.sinkId; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$.$srcObject]() { - return this.srcObject; - } - set [S$.$srcObject](value) { - this.srcObject = value; - } - get [S$.$textTracks]() { - return this.textTracks; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$.$audioDecodedByteCount]() { - return this.webkitAudioDecodedByteCount; - } - get [S$.$videoDecodedByteCount]() { - return this.webkitVideoDecodedByteCount; - } - [S$.$addTextTrack](...args) { - return this.addTextTrack.apply(this, args); - } - [S$.$canPlayType](...args) { - return this.canPlayType.apply(this, args); - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$load](...args) { - return this.load.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play]() { - return js_util.promiseToFuture(dart.dynamic, this.play()); - } - [S$.$setMediaKeys](mediaKeys) { - return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); - } - [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); - return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); - } -}; -(html$.MediaElement.created = function() { - html$.MediaElement.__proto__.created.call(this); - ; -}).prototype = html$.MediaElement.prototype; -dart.addTypeTests(html$.MediaElement); -dart.addTypeCaches(html$.MediaElement); -dart.setMethodSignature(html$.MediaElement, () => ({ - __proto__: dart.getMethods(html$.MediaElement.__proto__), - [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), - [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$captureStream]: dart.fnType(html$.MediaStream, []), - [S$.$load]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [S$.$play]: dart.fnType(async.Future, []), - [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), - [S$.$autoplay]: core.bool, - [S$.$buffered]: html$.TimeRanges, - [S$.$controls]: core.bool, - [S$.$controlsList]: dart.nullable(html$.DomTokenList), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: core.String, - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$duration]: core.num, - [S$.$ended]: core.bool, - [S.$error]: dart.nullable(html$.MediaError), - [S$.$loop]: core.bool, - [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), - [S$.$muted]: core.bool, - [S$.$networkState]: dart.nullable(core.int), - [S$.$paused]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$played]: html$.TimeRanges, - [S$.$preload]: core.String, - [S.$readyState]: core.int, - [S$.$remote]: dart.nullable(html$.RemotePlayback), - [S$.$seekable]: html$.TimeRanges, - [S$.$seeking]: core.bool, - [S$.$sinkId]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$textTracks]: dart.nullable(html$.TextTrackList), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S$.$volume]: core.num, - [S$.$audioDecodedByteCount]: dart.nullable(core.int), - [S$.$videoDecodedByteCount]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.MediaElement, () => ({ - __proto__: dart.getSetters(html$.MediaElement.__proto__), - [S$.$autoplay]: core.bool, - [S$.$controls]: core.bool, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$loop]: core.bool, - [S$.$muted]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$preload]: core.String, - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$volume]: core.num -})); -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; - }, - /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { - return 4; - }, - /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { - return 3; - }, - /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { - return 1; - }, - /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { - return 0; - }, - /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { - return 0; - }, - /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { - return 1; - }, - /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { - return 2; - }, - /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { - return 3; - } -}, false); -dart.registerExtension("HTMLMediaElement", html$.MediaElement); -html$.AudioElement = class AudioElement extends html$.MediaElement { - static __(src = null) { - if (src != null) { - return html$.AudioElement._create_1(src); - } - 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); - ; -}).prototype = html$.AudioElement.prototype; -dart.addTypeTests(html$.AudioElement); -dart.addTypeCaches(html$.AudioElement); -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.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[150]); -dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); -html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { - static ['_#_#tearOff']() { - return html$.AuthenticatorAssertionResponse.__(); - } - get [S$.$authenticatorData]() { - return this.authenticatorData; - } - get [S$.$signature]() { - return this.signature; - } -}; -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[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[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); - ; -}).prototype = html$.BRElement.prototype; -dart.addTypeTests(html$.BRElement); -dart.addTypeCaches(html$.BRElement); -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[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); - } - get [S.$id]() { - return this.id; - } -}; -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[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[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); - } - get [S$.$state]() { - return this.state; - } -}; -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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } -}; -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[150]); -dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); -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[150]); -dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); -html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BackgroundFetchManager.__(); - } - [S$.$fetch](id, requests, options = null) { - 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); - } - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); - } - [S.$get](id) { - if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); - } - [S$.$getIds]() { - return js_util.promiseToFuture(core.List, this.getIds()); - } -}; -dart.addTypeTests(html$.BackgroundFetchManager); -dart.addTypeCaches(html$.BackgroundFetchManager); -dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ - __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), - [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), - [S$.$getIds]: dart.fnType(async.Future$(core.List), []) -})); -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; - } - get [S$.$downloaded]() { - return this.downloaded; - } - get [S.$id]() { - return this.id; - } - get [S.$title]() { - return this.title; - } - get [S$.$totalDownloadSize]() { - return this.totalDownloadSize; - } - get [S$.$uploadTotal]() { - return this.uploadTotal; - } - get [S$.$uploaded]() { - return this.uploaded; - } - [S.$abort]() { - return js_util.promiseToFuture(core.bool, this.abort()); - } -}; -dart.addTypeTests(html$.BackgroundFetchRegistration); -dart.addTypeCaches(html$.BackgroundFetchRegistration); -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), - [S$.$downloaded]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.String), - [S.$title]: dart.nullable(core.String), - [S$.$totalDownloadSize]: dart.nullable(core.int), - [S$.$uploadTotal]: dart.nullable(core.int), - [S$.$uploaded]: dart.nullable(core.int) -})); -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[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); - } - get [S$.$response]() { - return this.response; - } -}; -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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } - [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); - return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); - } -}; -dart.addTypeTests(html$.BackgroundFetchedEvent); -dart.addTypeCaches(html$.BackgroundFetchedEvent); -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[150]); -dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); -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[150]); -dart.registerExtension("BarProp", html$.BarProp); -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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.BarcodeDetector); -dart.addTypeCaches(html$.BarcodeDetector); -dart.setMethodSignature(html$.BarcodeDetector, () => ({ - __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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; - } - set [S$.$href](value) { - this.href = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } -}; -(html$.BaseElement.created = function() { - html$.BaseElement.__proto__.created.call(this); - ; -}).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, - [S.$target]: core.String -})); -dart.setSetterSignature(html$.BaseElement, () => ({ - __proto__: dart.getSetters(html$.BaseElement.__proto__), - [S$.$href]: core.String, - [S.$target]: core.String -})); -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; - } - get [S$.$chargingTime]() { - return this.chargingTime; - } - get [S$.$dischargingTime]() { - return this.dischargingTime; - } - get [S$.$level]() { - return this.level; - } -}; -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), - [S$.$chargingTime]: dart.nullable(core.num), - [S$.$dischargingTime]: dart.nullable(core.num), - [S$.$level]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new BeforeInstallPromptEvent(type); - } - get [S$.$platforms]() { - return this.platforms; - } - get [S$.$userChoice]() { - return html$.promiseToFutureAsMap(this.userChoice); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } -}; -dart.addTypeTests(html$.BeforeInstallPromptEvent); -dart.addTypeCaches(html$.BeforeInstallPromptEvent); -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[150]); -dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); -html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { - static ['_#_#tearOff']() { - return html$.BeforeUnloadEvent.__(); - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } -}; -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) -})); -dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); -dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); -html$.Blob = class Blob extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Blob.__(); - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } - [S$.$slice](...args) { - return this.slice.apply(this, args); - } - static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); - if (type == null && endings == null) { - return html$.Blob.as(html$.Blob._create_1(blobParts)); - } - let bag = html$.Blob._create_bag(); - if (type != null) html$.Blob._bag_set(bag, "type", type); - 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); - } - static _create_2(parts, bag) { - return new self.Blob(parts, bag); - } - static _create_bag() { - return {}; - } - static _bag_set(bag, key, value) { - bag[key] = value; - } -}; -dart.addTypeTests(html$.Blob); -dart.addTypeCaches(html$.Blob); -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[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[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); - } - get [S$.$data]() { - return this.data; - } - get [S$.$timecode]() { - return this.timecode; - } -}; -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[150]); -dart.registerExtension("BlobEvent", html$.BlobEvent); -html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BluetoothRemoteGattDescriptor.__(); - } - get [S$.$characteristic]() { - return this.characteristic; - } - get [S$.$uuid]() { - return this.uuid; - } - get [S.$value]() { - return this.value; - } - [S$.$readValue]() { - return js_util.promiseToFuture(dart.dynamic, this.readValue()); - } - [S$.$writeValue](value) { - return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); - } -}; -dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); -dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); -dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ - __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), - [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[150]); -dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); -html$.Body = class Body extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Body.__(); - } - get [S$.$bodyUsed]() { - return this.bodyUsed; - } - [S$.$arrayBuffer]() { - return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); - } - [S$.$blob]() { - return js_util.promiseToFuture(html$.Blob, this.blob()); - } - [S$.$formData]() { - return js_util.promiseToFuture(html$.FormData, this.formData()); - } - [S$.$json]() { - return js_util.promiseToFuture(dart.dynamic, this.json()); - } - [S.$text]() { - return js_util.promiseToFuture(core.String, this.text()); - } -}; -dart.addTypeTests(html$.Body); -dart.addTypeCaches(html$.Body); -dart.setMethodSignature(html$.Body, () => ({ - __proto__: dart.getMethods(html$.Body.__proto__), - [S$.$arrayBuffer]: dart.fnType(async.Future, []), - [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), - [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), - [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[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); - } - get [S.$onError]() { - return html$.BodyElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.BodyElement.focusEvent.forElement(this); - } - get [S$.$onHashChange]() { - return html$.BodyElement.hashChangeEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.BodyElement.loadEvent.forElement(this); - } - get [S$.$onMessage]() { - return html$.BodyElement.messageEvent.forElement(this); - } - get [S$.$onOffline]() { - return html$.BodyElement.offlineEvent.forElement(this); - } - get [S$.$onOnline]() { - return html$.BodyElement.onlineEvent.forElement(this); - } - get [S$.$onPopState]() { - return html$.BodyElement.popStateEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.BodyElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.BodyElement.scrollEvent.forElement(this); - } - get [S$.$onStorage]() { - return html$.BodyElement.storageEvent.forElement(this); - } - get [S$.$onUnload]() { - return html$.BodyElement.unloadEvent.forElement(this); - } -}; -(html$.BodyElement.created = function() { - html$.BodyElement.__proto__.created.call(this); - ; -}).prototype = html$.BodyElement.prototype; -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), - [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), - [S$.$onOffline]: html$.ElementStream$(html$.Event), - [S$.$onOnline]: html$.ElementStream$(html$.Event), - [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), - [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), - [S$.$onUnload]: html$.ElementStream$(html$.Event) -})); -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[243] || CT.C243; - }, - /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.BodyElement.unloadEvent*/get unloadEvent() { - 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[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); - } - get [$name]() { - return this.name; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } - get [S$.$onMessage]() { - return html$.BroadcastChannel.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.BroadcastChannel); -dart.addTypeCaches(html$.BroadcastChannel); -dart.setMethodSignature(html$.BroadcastChannel, () => ({ - __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); -dart.defineLazy(html$.BroadcastChannel, { - /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } -}, false); -dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); -html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BudgetState.__(); - } - get [S$.$budgetAt]() { - return this.budgetAt; - } - get [S$.$time]() { - return this.time; - } -}; -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[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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.ButtonElement.created = function() { - html$.ButtonElement.__proto__.created.call(this); - ; -}).prototype = html$.ButtonElement.prototype; -dart.addTypeTests(html$.ButtonElement); -dart.addTypeCaches(html$.ButtonElement); -dart.setMethodSignature(html$.ButtonElement, () => ({ - __proto__: dart.getMethods(html$.ButtonElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: core.String, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.ButtonElement, () => ({ - __proto__: dart.getSetters(html$.ButtonElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S.$value]: core.String -})); -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; - } - set [S$.$data](value) { - this.data = value; - } - get [$length]() { - return this.length; - } - [S$.$appendData](...args) { - return this.appendData.apply(this, args); - } - [S$.$deleteData](...args) { - return this.deleteData.apply(this, args); - } - [S$.$insertData](...args) { - return this.insertData.apply(this, args); - } - [S$.$replaceData](...args) { - return this.replaceData.apply(this, args); - } - [S$.$substringData](...args) { - return this.substringData.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } -}; -dart.addTypeTests(html$.CharacterData); -dart.addTypeCaches(html$.CharacterData); -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]), - [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), - [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), - [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), - [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), - [$length]: dart.nullable(core.int), - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element) -})); -dart.setSetterSignature(html$.CharacterData, () => ({ - __proto__: dart.getSetters(html$.CharacterData.__proto__), - [S$.$data]: dart.nullable(core.String) -})); -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[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; - } - get [S$.$wholeText]() { - return this.wholeText; - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S$.$splitText](...args) { - return this.splitText.apply(this, args); - } -}; -dart.addTypeTests(html$.Text); -dart.addTypeCaches(html$.Text); -dart.setMethodSignature(html$.Text, () => ({ - __proto__: dart.getMethods(html$.Text.__proto__), - [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[150]); -dart.registerExtension("Text", html$.Text); -html$.CDataSection = class CDataSection extends html$.Text { - static ['_#_#tearOff']() { - return html$.CDataSection.__(); - } -}; -dart.addTypeTests(html$.CDataSection); -dart.addTypeCaches(html$.CDataSection); -dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); -dart.setLibraryUri(html$.CDataSection, I[150]); -dart.registerExtension("CDATASection", html$.CDataSection); -html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CacheStorage.__(); - } - [S.$delete](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[149], 2018, 21, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); - } - [$keys]() { - return js_util.promiseToFuture(dart.dynamic, this.keys()); - } - [S$.$match](request, options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); - } - [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); - } -}; -dart.addTypeTests(html$.CacheStorage); -dart.addTypeCaches(html$.CacheStorage); -dart.setMethodSignature(html$.CacheStorage, () => ({ - __proto__: dart.getMethods(html$.CacheStorage.__proto__), - [S.$delete]: dart.fnType(async.Future, [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future, []), - [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S.$open]: dart.fnType(async.Future, [core.String]) -})); -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[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); - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.CanMakePaymentEvent); -dart.addTypeCaches(html$.CanMakePaymentEvent); -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), - [S$.$modifiers]: dart.nullable(core.List), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String) -})); -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; - } - set [S$.$contentHint](value) { - this.contentHint = value; - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$.$muted]() { - return this.muted; - } - get [S.$readyState]() { - return this.readyState; - } - [S$.$applyConstraints](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$.$getCapabilities]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); - } - [S$._getCapabilities_1](...args) { - return this.getCapabilities.apply(this, args); - } - [S$.$getConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); - } - [S$._getConstraints_1](...args) { - return this.getConstraints.apply(this, args); - } - [S$.$getSettings]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); - } - [S$._getSettings_1](...args) { - return this.getSettings.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return html$.MediaStreamTrack.endedEvent.forTarget(this); - } - get [S$.$onMute]() { - return html$.MediaStreamTrack.muteEvent.forTarget(this); - } - get [S$.$onUnmute]() { - return html$.MediaStreamTrack.unmuteEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaStreamTrack); -dart.addTypeCaches(html$.MediaStreamTrack); -dart.setMethodSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), - [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), - [S$.$getCapabilities]: dart.fnType(core.Map, []), - [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), - [S$.$getConstraints]: dart.fnType(core.Map, []), - [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), - [S$.$getSettings]: dart.fnType(core.Map, []), - [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), - [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$.$muted]: dart.nullable(core.bool), - [S.$readyState]: dart.nullable(core.String), - [S.$onEnded]: async.Stream$(html$.Event), - [S$.$onMute]: async.Stream$(html$.Event), - [S$.$onUnmute]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), - [S$.$contentHint]: dart.nullable(core.String), - [S$.$enabled]: dart.nullable(core.bool) -})); -dart.setLibraryUri(html$.MediaStreamTrack, I[150]); -dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); -dart.defineLazy(html$.MediaStreamTrack, { - /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[328] || CT.C328; - }, - /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - 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; - } - [S$.$requestFrame](...args) { - return this.requestFrame.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); -dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); -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[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; - let e = html$.document.createElement("canvas"); - if (width != null) e.width = width; - 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; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$getContext](contextId, attributes = null) { - 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); - } - return this[S$._getContext_2](contextId); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$._toDataUrl](...args) { - return this.toDataURL.apply(this, args); - } - [S$.$transferControlToOffscreen](...args) { - return this.transferControlToOffscreen.apply(this, args); - } - get [S$.$onWebGlContextLost]() { - return html$.CanvasElement.webGlContextLostEvent.forElement(this); - } - get [S$.$onWebGlContextRestored]() { - return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); - } - get [S$.$context2D]() { - return this.getContext("2d"); - } - [S$.$getContext3d](opts) { - let alpha = opts && 'alpha' in opts ? opts.alpha : true; - let depth = opts && 'depth' in opts ? opts.depth : true; - let stencil = opts && 'stencil' in opts ? opts.stencil : false; - let antialias = opts && 'antialias' in opts ? opts.antialias : true; - let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; - let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; - let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); - let context = this[S$.$getContext]("webgl", options); - if (context == null) { - context = this[S$.$getContext]("experimental-webgl", options); - } - return T$0.RenderingContextN().as(context); - } - [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); - return this[S$._toDataUrl](type, quality); - } - [S$._toBlob](...args) { - return this.toBlob.apply(this, args); - } - [S$.$toBlob](type = null, $arguments = null) { - let completer = T$0.CompleterOfBlob().new(); - this[S$._toBlob](dart.fn(value => { - completer.complete(value); - }, T$0.BlobNTovoid()), type, $arguments); - return completer.future; - } -}; -(html$.CanvasElement.created = function() { - html$.CanvasElement.__proto__.created.call(this); - ; -}).prototype = html$.CanvasElement.prototype; -dart.addTypeTests(html$.CanvasElement); -dart.addTypeCaches(html$.CanvasElement); -html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; -dart.setMethodSignature(html$.CanvasElement, () => ({ - __proto__: dart.getMethods(html$.CanvasElement.__proto__), - [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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(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), - [$width]: dart.nullable(core.int), - [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$context2D]: html$.CanvasRenderingContext2D -})); -dart.setSetterSignature(html$.CanvasElement, () => ({ - __proto__: dart.getSetters(html$.CanvasElement.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.CanvasElement, I[150]); -dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); -dart.defineLazy(html$.CanvasElement, { - /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[330] || CT.C330; - }, - /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[331] || CT.C331; - } -}, false); -dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); -html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasGradient.__(); - } - [S$.$addColorStop](...args) { - return this.addColorStop.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasGradient); -dart.addTypeCaches(html$.CanvasGradient); -dart.setMethodSignature(html$.CanvasGradient, () => ({ - __proto__: dart.getMethods(html$.CanvasGradient.__proto__), - [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) -})); -dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); -dart.setLibraryUri(html$.CanvasGradient, I[150]); -dart.registerExtension("CanvasGradient", html$.CanvasGradient); -html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasPattern.__(); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasPattern); -dart.addTypeCaches(html$.CanvasPattern); -dart.setMethodSignature(html$.CanvasPattern, () => ({ - __proto__: dart.getMethods(html$.CanvasPattern.__proto__), - [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) -})); -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() { - ; -}).prototype = html$.CanvasRenderingContext.prototype; -dart.addTypeTests(html$.CanvasRenderingContext); -dart.addTypeCaches(html$.CanvasRenderingContext); -dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); -html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$addHitRegion](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$._addHitRegion_1](options_1); - return; - } - this[S$._addHitRegion_2](); - return; - } - [S$._addHitRegion_1](...args) { - return this.addHitRegion.apply(this, args); - } - [S$._addHitRegion_2](...args) { - return this.addHitRegion.apply(this, args); - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearHitRegions](...args) { - return this.clearHitRegions.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_5](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawFocusIfNeeded](...args) { - return this.drawFocusIfNeeded.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getContextAttributes]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); - } - [S$._getContextAttributes_1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$._getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$removeHitRegion](...args) { - return this.removeHitRegion.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$scrollPathIntoView](...args) { - return this.scrollPathIntoView.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$._arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - [S$.$createImageDataFromImageData](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[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[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[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[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[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[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[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]); - } else { - this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); - } - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaled](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaledFromSource](...args) { - return this.drawImage.apply(this, args); - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset || this.webkitLineDashOffset; - } - set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); - typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; - } - [S$.$getLineDash]() { - if (!!this.getLineDash) { - return this.getLineDash(); - } else if (!!this.webkitLineDash) { - return this.webkitLineDash; - } - return T$0.JSArrayOfnum().of([]); - } - [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); - if (!!this.setLineDash) { - this.setLineDash(dash); - } else if (!!this.webkitLineDash) { - this.webkitLineDash = dash; - } - } - [S$.$fillText](text, x, y, maxWidth = null) { - 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 { - this.fillText(text, x, y); - } - } - get [S$.$backingStorePixelRatio]() { - return 1.0; - } -}; -dart.addTypeTests(html$.CanvasRenderingContext2D); -dart.addTypeCaches(html$.CanvasRenderingContext2D); -html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; -dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), - [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), - [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), - [S$._addHitRegion_2]: dart.fnType(dart.void, []), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearHitRegions]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), - [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getContextAttributes]: dart.fnType(core.Map, []), - [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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]), - [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), - [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), - [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), - [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), - [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), - [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), - [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [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, - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num, - [S$.$backingStorePixelRatio]: core.double -})); -dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num -})); -dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); -dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); -html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ChildNode.__(); - } -}; -dart.addTypeTests(html$.ChildNode); -dart.addTypeCaches(html$.ChildNode); -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; - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } -}; -dart.addTypeTests(html$.Client); -dart.addTypeCaches(html$.Client); -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), - [S.$id]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Client, I[150]); -dart.registerExtension("Client", html$.Client); -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[149], 3066, 21, "id"); - return js_util.promiseToFuture(dart.dynamic, this.get(id)); - } - [S$.$matchAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } -}; -dart.addTypeTests(html$.Clients); -dart.addTypeCaches(html$.Clients); -dart.setMethodSignature(html$.Clients, () => ({ - __proto__: dart.getMethods(html$.Clients.__proto__), - [S$.$claim]: dart.fnType(async.Future, []), - [S.$get]: dart.fnType(async.Future, [core.String]), - [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) -})); -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[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); - } - static _create_2(type) { - return new ClipboardEvent(type); - } - get [S$.$clipboardData]() { - return this.clipboardData; - } -}; -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[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[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); - } - static _create_2(type) { - return new CloseEvent(type); - } - get [S$.$code]() { - return this.code; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$wasClean]() { - return this.wasClean; - } -}; -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[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.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[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"); - if (view == null) { - view = html$.window; - } - let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); - 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[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); - } - static _create_2(type) { - return new UIEvent(type); - } - get [S$.$detail]() { - return this.detail; - } - get [S$.$sourceCapabilities]() { - return this.sourceCapabilities; - } - get [S$.$view]() { - return html$._convertNativeToDart_Window(this[S$._get_view]); - } - get [S$._get_view]() { - return this.view; - } - get [S$._which]() { - return this.which; - } - [S$._initUIEvent](...args) { - return this.initUIEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.UIEvent); -dart.addTypeCaches(html$.UIEvent); -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), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$._get_view]: dart.dynamic, - [S$._which]: dart.nullable(core.int) -})); -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[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; - if (view == null) { - view = html$.window; - } - let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); - if (dart.test(html_common.Device.isFirefox)) { - e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); - } else { - e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); - } - 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[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); - } - static _create_2(type) { - return new CompositionEvent(type); - } - get [S$.$data]() { - return this.data; - } - [S$._initCompositionEvent](...args) { - return this.initCompositionEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.CompositionEvent); -dart.addTypeCaches(html$.CompositionEvent); -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[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"); - } - get [S$.$select]() { - return this.select; - } - set [S$.$select](value) { - this.select = value; - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } -}; -(html$.ContentElement.created = function() { - html$.ContentElement.__proto__.created.call(this); - ; -}).prototype = html$.ContentElement.prototype; -dart.addTypeTests(html$.ContentElement); -dart.addTypeCaches(html$.ContentElement); -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) -})); -dart.setSetterSignature(html$.ContentElement, () => ({ - __proto__: dart.getSetters(html$.ContentElement.__proto__), - [S$.$select]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); -dart.setLibraryUri(html$.ContentElement, I[150]); -dart.registerExtension("HTMLContentElement", html$.ContentElement); -html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CookieStore.__(); - } - [S.$getAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); - } - [S$.$set](name, value, options = null) { - 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); - } - return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); - } -}; -dart.addTypeTests(html$.CookieStore); -dart.addTypeCaches(html$.CookieStore); -dart.setMethodSignature(html$.CookieStore, () => ({ - __proto__: dart.getMethods(html$.CookieStore.__proto__), - [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.setStaticMethodSignature(html$.CookieStore, () => ['__']); -dart.setLibraryUri(html$.CookieStore, I[150]); -dart.registerExtension("CookieStore", html$.CookieStore); -html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Coordinates.__(); - } - get [S$.$accuracy]() { - return this.accuracy; - } - get [S$.$altitude]() { - return this.altitude; - } - get [S$.$altitudeAccuracy]() { - return this.altitudeAccuracy; - } - get [S$.$heading]() { - return this.heading; - } - get [S$.$latitude]() { - return this.latitude; - } - get [S$.$longitude]() { - return this.longitude; - } - get [S$.$speed]() { - return this.speed; - } -}; -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), - [S$.$altitude]: dart.nullable(core.num), - [S$.$altitudeAccuracy]: dart.nullable(core.num), - [S$.$heading]: dart.nullable(core.num), - [S$.$latitude]: dart.nullable(core.num), - [S$.$longitude]: dart.nullable(core.num), - [S$.$speed]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.Coordinates, I[150]); -dart.registerExtension("Coordinates", html$.Coordinates); -html$.Credential = class Credential extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Credential.__(); - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } -}; -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[150]); -dart.registerExtension("Credential", html$.Credential); -html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialUserData.__(); - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("CredentialUserData", html$.CredentialUserData); -html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialsContainer.__(); - } - [S$.$create](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); - } - [S.$get](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); - } - [S$.$preventSilentAccess]() { - return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); - } - [S$.$requireUserMediation]() { - return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); - } - [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); - return js_util.promiseToFuture(dart.dynamic, this.store(credential)); - } -}; -dart.addTypeTests(html$.CredentialsContainer); -dart.addTypeCaches(html$.CredentialsContainer); -dart.setMethodSignature(html$.CredentialsContainer, () => ({ - __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), - [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$preventSilentAccess]: dart.fnType(async.Future, []), - [S$.$requireUserMediation]: dart.fnType(async.Future, []), - [S$.$store]: dart.fnType(async.Future, [html$.Credential]) -})); -dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); -dart.setLibraryUri(html$.CredentialsContainer, I[150]); -dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); -html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { - [S$.$getRandomValues](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); - } - get [S$.$subtle]() { - return this.subtle; - } - [S$._getRandomValues](...args) { - return this.getRandomValues.apply(this, args); - } -}; -dart.addTypeTests(html$.Crypto); -dart.addTypeCaches(html$.Crypto); -dart.setMethodSignature(html$.Crypto, () => ({ - __proto__: dart.getMethods(html$.Crypto.__proto__), - [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.setStaticGetterSignature(html$.Crypto, () => ['supported']); -dart.setLibraryUri(html$.Crypto, I[150]); -dart.registerExtension("Crypto", html$.Crypto); -html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CryptoKey.__(); - } - get [S$.$algorithm]() { - return this.algorithm; - } - get [S$.$extractable]() { - return this.extractable; - } - get [S.$type]() { - return this.type; - } - get [S$.$usages]() { - return this.usages; - } -}; -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), - [S$.$extractable]: dart.nullable(core.bool), - [S.$type]: dart.nullable(core.String), - [S$.$usages]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.CryptoKey, I[150]); -dart.registerExtension("CryptoKey", html$.CryptoKey); -html$.Css = class Css extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Css.__(); - } - static registerProperty(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; - } -}; -dart.addTypeTests(html$.Css); -dart.addTypeCaches(html$.Css); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssRule.__(); - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [S$.$parentRule]() { - return this.parentRule; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), - [S.$type]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.CssRule, () => ({ - __proto__: dart.getSetters(html$.CssRule.__proto__), - [S$.$cssText]: dart.nullable(core.String) -})); -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; - }, - /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { - return 5; - }, - /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { - return 3; - }, - /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { - return 7; - }, - /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { - return 8; - }, - /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { - return 4; - }, - /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { - return 10; - }, - /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { - return 6; - }, - /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { - return 1; - }, - /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { - return 12; - }, - /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { - return 15; - } -}, false); -dart.registerExtension("CSSRule", html$.CssRule); -html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssCharsetRule.__(); - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssCharsetRule, () => ({ - __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), - [S$.$encoding]: dart.nullable(core.String) -})); -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; - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssGroupingRule); -dart.addTypeCaches(html$.CssGroupingRule); -dart.setMethodSignature(html$.CssGroupingRule, () => ({ - __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), - [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[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[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[150]); -dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); -html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssStyleValue.__(); - } -}; -dart.addTypeTests(html$.CssStyleValue); -dart.addTypeCaches(html$.CssStyleValue); -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[150]); -dart.registerExtension("CSSResourceValue", html$.CssResourceValue); -html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { - static ['_#_#tearOff']() { - return html$.CssImageValue.__(); - } - get [S$.$intrinsicHeight]() { - return this.intrinsicHeight; - } - get [S$.$intrinsicRatio]() { - return this.intrinsicRatio; - } - get [S$.$intrinsicWidth]() { - return this.intrinsicWidth; - } -}; -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[150]); -dart.registerExtension("CSSImageValue", html$.CssImageValue); -html$.CssImportRule = class CssImportRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssImportRule.__(); - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$.$styleSheet]() { - return this.styleSheet; - } -}; -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[150]); -dart.registerExtension("CSSImportRule", html$.CssImportRule); -html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssKeyframeRule.__(); - } - get [S$.$keyText]() { - return this.keyText; - } - set [S$.$keyText](value) { - this.keyText = value; - } - get [S.$style]() { - return this.style; - } -}; -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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) -})); -dart.setSetterSignature(html$.CssKeyframeRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), - [S$.$keyText]: dart.nullable(core.String) -})); -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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$appendRule](...args) { - return this.appendRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$findRule](...args) { - return this.findRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssKeyframesRule); -dart.addTypeCaches(html$.CssKeyframesRule); -dart.setMethodSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), - [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), - [S$.$appendRule]: dart.fnType(dart.void, [core.String]), - [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)), - [$name]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), - [$name]: dart.nullable(core.String) -})); -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[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); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssKeywordValue, () => ({ - __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.CssKeywordValue, I[150]); -dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); -html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssTransformComponent.__(); - } - get [S$.$is2D]() { - return this.is2D; - } - set [S$.$is2D](value) { - this.is2D = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssTransformComponent, () => ({ - __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), - [S$.$is2D]: dart.nullable(core.bool) -})); -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[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); - } - static _create_2(matrix) { - return new CSSMatrixComponent(matrix); - } - get [S$.$matrix]() { - return this.matrix; - } - set [S$.$matrix](value) { - this.matrix = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssMatrixComponent, () => ({ - __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), - [S$.$matrix]: dart.nullable(html$.DomMatrix) -})); -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[150]); -dart.registerExtension("CSSMediaRule", html$.CssMediaRule); -html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssNamespaceRule.__(); - } - get [S.$namespaceUri]() { - return this.namespaceURI; - } - get [S$.$prefix]() { - return this.prefix; - } -}; -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[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); - } - [S$.$div](...args) { - return this.div.apply(this, args); - } - [S$.$mul](...args) { - return this.mul.apply(this, args); - } - [S$.$sub](...args) { - return this.sub.apply(this, args); - } - [S$.$to](...args) { - return this.to.apply(this, args); - } -}; -dart.addTypeTests(html$.CssNumericValue); -dart.addTypeCaches(html$.CssNumericValue); -dart.setMethodSignature(html$.CssNumericValue, () => ({ - __proto__: dart.getMethods(html$.CssNumericValue.__proto__), - [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) -})); -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; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } -}; -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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) -})); -dart.setSetterSignature(html$.CssPageRule, () => ({ - __proto__: dart.getSetters(html$.CssPageRule.__proto__), - [S$.$selectorText]: dart.nullable(core.String) -})); -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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssPerspective, () => ({ - __proto__: dart.getSetters(html$.CssPerspective.__proto__), - [$length]: dart.nullable(html$.CssNumericValue) -})); -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[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); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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), - [S$.$y]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssPositionValue, () => ({ - __proto__: dart.getSetters(html$.CssPositionValue.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue) -})); -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); - } - if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { - return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); - } - 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); - } - static _create_2(angleValue_OR_x, y, z, angle) { - return new CSSRotation(angleValue_OR_x, y, z, angle); - } - get [S$.$angle]() { - return this.angle; - } - set [S$.$angle](value) { - this.angle = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssRotation, () => ({ - __proto__: dart.getSetters(html$.CssRotation.__proto__), - [S$.$angle]: dart.nullable(html$.CssNumericValue), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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[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); - } - if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { - return html$.CssScale._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSScale(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssScale, () => ({ - __proto__: dart.getSetters(html$.CssScale.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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[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); - } - get [S$.$ax]() { - return this.ax; - } - set [S$.$ax](value) { - this.ax = value; - } - get [S$.$ay]() { - return this.ay; - } - set [S$.$ay](value) { - this.ay = value; - } -}; -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), - [S$.$ay]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssSkew, () => ({ - __proto__: dart.getSetters(html$.CssSkew.__proto__), - [S$.$ax]: dart.nullable(html$.CssNumericValue), - [S$.$ay]: dart.nullable(html$.CssNumericValue) -})); -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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[149], 8689, 19, "value"); - this[S$.$setProperty]("zoom", value, ""); - } -}; -(html$.CssStyleDeclarationBase.new = function() { - ; -}).prototype = html$.CssStyleDeclarationBase.prototype; -dart.addTypeTests(html$.CssStyleDeclarationBase); -dart.addTypeCaches(html$.CssStyleDeclarationBase); -dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String -})); -dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String -})); -dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); -dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ - 'alignContent', - 'alignItems', - 'alignSelf', - 'animation', - 'animationDelay', - 'animationDirection', - 'animationDuration', - 'animationFillMode', - 'animationIterationCount', - 'animationName', - 'animationPlayState', - 'animationTimingFunction', - 'appRegion', - 'appearance', - 'aspectRatio', - 'backfaceVisibility', - 'background', - 'backgroundAttachment', - 'backgroundBlendMode', - 'backgroundClip', - 'backgroundColor', - 'backgroundComposite', - 'backgroundImage', - 'backgroundOrigin', - 'backgroundPosition', - 'backgroundPositionX', - 'backgroundPositionY', - 'backgroundRepeat', - 'backgroundRepeatX', - 'backgroundRepeatY', - 'backgroundSize', - 'border', - 'borderAfter', - 'borderAfterColor', - 'borderAfterStyle', - 'borderAfterWidth', - 'borderBefore', - 'borderBeforeColor', - 'borderBeforeStyle', - 'borderBeforeWidth', - 'borderBottom', - 'borderBottomColor', - 'borderBottomLeftRadius', - 'borderBottomRightRadius', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderEnd', - 'borderEndColor', - 'borderEndStyle', - 'borderEndWidth', - 'borderFit', - 'borderHorizontalSpacing', - 'borderImage', - 'borderImageOutset', - 'borderImageRepeat', - 'borderImageSlice', - 'borderImageSource', - 'borderImageWidth', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRadius', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStart', - 'borderStartColor', - 'borderStartStyle', - 'borderStartWidth', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopLeftRadius', - 'borderTopRightRadius', - 'borderTopStyle', - 'borderTopWidth', - 'borderVerticalSpacing', - 'borderWidth', - 'bottom', - 'boxAlign', - 'boxDecorationBreak', - 'boxDirection', - 'boxFlex', - 'boxFlexGroup', - 'boxLines', - 'boxOrdinalGroup', - 'boxOrient', - 'boxPack', - 'boxReflect', - 'boxShadow', - 'boxSizing', - 'captionSide', - 'clear', - 'clip', - 'clipPath', - 'color', - 'columnBreakAfter', - 'columnBreakBefore', - 'columnBreakInside', - 'columnCount', - 'columnFill', - 'columnGap', - 'columnRule', - 'columnRuleColor', - 'columnRuleStyle', - 'columnRuleWidth', - 'columnSpan', - 'columnWidth', - 'columns', - 'content', - 'counterIncrement', - 'counterReset', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'filter', - 'flex', - 'flexBasis', - 'flexDirection', - 'flexFlow', - 'flexGrow', - 'flexShrink', - 'flexWrap', - 'float', - 'font', - 'fontFamily', - 'fontFeatureSettings', - 'fontKerning', - 'fontSize', - 'fontSizeDelta', - 'fontSmoothing', - 'fontStretch', - 'fontStyle', - 'fontVariant', - 'fontVariantLigatures', - 'fontWeight', - 'gap', - 'grid', - 'gridArea', - 'gridAutoColumns', - 'gridAutoFlow', - 'gridAutoRows', - 'gridColumn', - 'gridColumnEnd', - 'gridColumnStart', - 'gridRow', - 'gridRowEnd', - 'gridRowStart', - 'gridTemplate', - 'gridTemplateAreas', - 'gridTemplateColumns', - 'gridTemplateRows', - 'height', - 'highlight', - 'hyphenateCharacter', - 'imageRendering', - 'isolation', - 'justifyContent', - 'justifySelf', - 'left', - 'letterSpacing', - 'lineBoxContain', - 'lineBreak', - 'lineClamp', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'locale', - 'logicalHeight', - 'logicalWidth', - 'margin', - 'marginAfter', - 'marginAfterCollapse', - 'marginBefore', - 'marginBeforeCollapse', - 'marginBottom', - 'marginBottomCollapse', - 'marginCollapse', - 'marginEnd', - 'marginLeft', - 'marginRight', - 'marginStart', - 'marginTop', - 'marginTopCollapse', - 'mask', - 'maskBoxImage', - 'maskBoxImageOutset', - 'maskBoxImageRepeat', - 'maskBoxImageSlice', - 'maskBoxImageSource', - 'maskBoxImageWidth', - 'maskClip', - 'maskComposite', - 'maskImage', - 'maskOrigin', - 'maskPosition', - 'maskPositionX', - 'maskPositionY', - 'maskRepeat', - 'maskRepeatX', - 'maskRepeatY', - 'maskSize', - 'maskSourceType', - 'maxHeight', - 'maxLogicalHeight', - 'maxLogicalWidth', - 'maxWidth', - 'maxZoom', - 'minHeight', - 'minLogicalHeight', - 'minLogicalWidth', - 'minWidth', - 'minZoom', - 'mixBlendMode', - 'objectFit', - 'objectPosition', - 'opacity', - 'order', - 'orientation', - 'orphans', - 'outline', - 'outlineColor', - 'outlineOffset', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'overflowWrap', - 'overflowX', - 'overflowY', - 'padding', - 'paddingAfter', - 'paddingBefore', - 'paddingBottom', - 'paddingEnd', - 'paddingLeft', - 'paddingRight', - 'paddingStart', - 'paddingTop', - 'page', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'perspective', - 'perspectiveOrigin', - 'perspectiveOriginX', - 'perspectiveOriginY', - 'pointerEvents', - 'position', - 'printColorAdjust', - 'quotes', - 'resize', - 'right', - 'rowGap', - 'rtlOrdering', - 'rubyPosition', - 'scrollBehavior', - 'shapeImageThreshold', - 'shapeMargin', - 'shapeOutside', - 'size', - 'speak', - 'src', - 'tabSize', - 'tableLayout', - 'tapHighlightColor', - 'textAlign', - 'textAlignLast', - 'textCombine', - 'textDecoration', - 'textDecorationColor', - 'textDecorationLine', - 'textDecorationStyle', - 'textDecorationsInEffect', - 'textEmphasis', - 'textEmphasisColor', - 'textEmphasisPosition', - 'textEmphasisStyle', - 'textFillColor', - 'textIndent', - 'textJustify', - 'textLineThroughColor', - 'textLineThroughMode', - 'textLineThroughStyle', - 'textLineThroughWidth', - 'textOrientation', - 'textOverflow', - 'textOverlineColor', - 'textOverlineMode', - 'textOverlineStyle', - 'textOverlineWidth', - 'textRendering', - 'textSecurity', - 'textShadow', - 'textStroke', - 'textStrokeColor', - 'textStrokeWidth', - 'textTransform', - 'textUnderlineColor', - 'textUnderlineMode', - 'textUnderlinePosition', - 'textUnderlineStyle', - 'textUnderlineWidth', - 'top', - 'touchAction', - 'touchActionDelay', - 'transform', - 'transformOrigin', - 'transformOriginX', - 'transformOriginY', - 'transformOriginZ', - 'transformStyle', - 'transition', - 'transitionDelay', - 'transitionDuration', - 'transitionProperty', - 'transitionTimingFunction', - 'unicodeBidi', - 'unicodeRange', - 'userDrag', - 'userModify', - 'userSelect', - 'userZoom', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'widows', - 'width', - 'willChange', - 'wordBreak', - 'wordSpacing', - 'wordWrap', - 'wrapFlow', - 'wrapThrough', - 'writingMode', - 'zIndex', - 'zoom' -]); -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[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[149], 3978, 34, "propertyName"); - return this[S$._getPropertyValueHelper](propertyName); - } - [S$._getPropertyValueHelper](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[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[149], 3999, 33, "propertyName"); - return propertyName in this; - } - [S$.$setProperty](propertyName, value, priority = null) { - 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[149], 4008, 38, "propertyName"); - let name = html$.CssStyleDeclaration._readCache(propertyName); - if (typeof name == 'string') return name; - name = this[S$._supportedBrowserPropertyName](propertyName); - html$.CssStyleDeclaration._writeCache(propertyName, name); - return name; - } - [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); - if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { - return propertyName; - } - let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); - if (dart.test(this[S$._supportsProperty](prefixed))) { - return prefixed; - } - return propertyName; - } - static _readCache(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[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[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[149], 4044, 34, "propertyName"); - if (value == null) value = ""; - if (priority == null) priority = ""; - this.setProperty(propertyName, value, priority); - } - static get supportsTransitions() { - return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); - } - static ['_#_#tearOff']() { - return html$.CssStyleDeclaration.__(); - } - get [S$.$cssFloat]() { - return this.cssFloat; - } - set [S$.$cssFloat](value) { - this.cssFloat = value; - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [$length]() { - return this.length; - } - get [S$.$parentRule]() { - return this.parentRule; - } - [S$.$getPropertyPriority](...args) { - return this.getPropertyPriority.apply(this, args); - } - [S$._getPropertyValue](...args) { - return this.getPropertyValue.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$removeProperty](...args) { - return this.removeProperty.apply(this, args); - } - get [S$.$background]() { - return this[S$._background]; - } - set [S$.$background](value) { - this[S$._background] = value == null ? "" : value; - } - get [S$._background]() { - return this.background; - } - set [S$._background](value) { - this.background = value; - } - get [S$.$backgroundAttachment]() { - return this[S$._backgroundAttachment]; - } - set [S$.$backgroundAttachment](value) { - this[S$._backgroundAttachment] = value == null ? "" : value; - } - get [S$._backgroundAttachment]() { - return this.backgroundAttachment; - } - set [S$._backgroundAttachment](value) { - this.backgroundAttachment = value; - } - get [S$.$backgroundColor]() { - return this[S$._backgroundColor]; - } - set [S$.$backgroundColor](value) { - this[S$._backgroundColor] = value == null ? "" : value; - } - get [S$._backgroundColor]() { - return this.backgroundColor; - } - set [S$._backgroundColor](value) { - this.backgroundColor = value; - } - get [S$.$backgroundImage]() { - return this[S$._backgroundImage]; - } - set [S$.$backgroundImage](value) { - this[S$._backgroundImage] = value == null ? "" : value; - } - get [S$._backgroundImage]() { - return this.backgroundImage; - } - set [S$._backgroundImage](value) { - this.backgroundImage = value; - } - get [S$.$backgroundPosition]() { - return this[S$._backgroundPosition]; - } - set [S$.$backgroundPosition](value) { - this[S$._backgroundPosition] = value == null ? "" : value; - } - get [S$._backgroundPosition]() { - return this.backgroundPosition; - } - set [S$._backgroundPosition](value) { - this.backgroundPosition = value; - } - get [S$.$backgroundRepeat]() { - return this[S$._backgroundRepeat]; - } - set [S$.$backgroundRepeat](value) { - this[S$._backgroundRepeat] = value == null ? "" : value; - } - get [S$._backgroundRepeat]() { - return this.backgroundRepeat; - } - set [S$._backgroundRepeat](value) { - this.backgroundRepeat = value; - } - get [S$.$border]() { - return this[S$._border]; - } - set [S$.$border](value) { - this[S$._border] = value == null ? "" : value; - } - get [S$._border]() { - return this.border; - } - set [S$._border](value) { - this.border = value; - } - get [S$.$borderBottom]() { - return this[S$._borderBottom]; - } - set [S$.$borderBottom](value) { - this[S$._borderBottom] = value == null ? "" : value; - } - get [S$._borderBottom]() { - return this.borderBottom; - } - set [S$._borderBottom](value) { - this.borderBottom = value; - } - get [S$.$borderBottomColor]() { - return this[S$._borderBottomColor]; - } - set [S$.$borderBottomColor](value) { - this[S$._borderBottomColor] = value == null ? "" : value; - } - get [S$._borderBottomColor]() { - return this.borderBottomColor; - } - set [S$._borderBottomColor](value) { - this.borderBottomColor = value; - } - get [S$0.$borderBottomStyle]() { - return this[S$._borderBottomStyle]; - } - set [S$0.$borderBottomStyle](value) { - this[S$._borderBottomStyle] = value == null ? "" : value; - } - get [S$._borderBottomStyle]() { - return this.borderBottomStyle; - } - set [S$._borderBottomStyle](value) { - this.borderBottomStyle = value; - } - get [S$0.$borderBottomWidth]() { - return this[S$0._borderBottomWidth]; - } - set [S$0.$borderBottomWidth](value) { - this[S$0._borderBottomWidth] = value == null ? "" : value; - } - get [S$0._borderBottomWidth]() { - return this.borderBottomWidth; - } - set [S$0._borderBottomWidth](value) { - this.borderBottomWidth = value; - } - get [S$0.$borderCollapse]() { - return this[S$0._borderCollapse]; - } - set [S$0.$borderCollapse](value) { - this[S$0._borderCollapse] = value == null ? "" : value; - } - get [S$0._borderCollapse]() { - return this.borderCollapse; - } - set [S$0._borderCollapse](value) { - this.borderCollapse = value; - } - get [S$0.$borderColor]() { - return this[S$0._borderColor]; - } - set [S$0.$borderColor](value) { - this[S$0._borderColor] = value == null ? "" : value; - } - get [S$0._borderColor]() { - return this.borderColor; - } - set [S$0._borderColor](value) { - this.borderColor = value; - } - get [S$0.$borderLeft]() { - return this[S$0._borderLeft]; - } - set [S$0.$borderLeft](value) { - this[S$0._borderLeft] = value == null ? "" : value; - } - get [S$0._borderLeft]() { - return this.borderLeft; - } - set [S$0._borderLeft](value) { - this.borderLeft = value; - } - get [S$0.$borderLeftColor]() { - return this[S$0._borderLeftColor]; - } - set [S$0.$borderLeftColor](value) { - this[S$0._borderLeftColor] = value == null ? "" : value; - } - get [S$0._borderLeftColor]() { - return this.borderLeftColor; - } - set [S$0._borderLeftColor](value) { - this.borderLeftColor = value; - } - get [S$0.$borderLeftStyle]() { - return this[S$0._borderLeftStyle]; - } - set [S$0.$borderLeftStyle](value) { - this[S$0._borderLeftStyle] = value == null ? "" : value; - } - get [S$0._borderLeftStyle]() { - return this.borderLeftStyle; - } - set [S$0._borderLeftStyle](value) { - this.borderLeftStyle = value; - } - get [S$0.$borderLeftWidth]() { - return this[S$0._borderLeftWidth]; - } - set [S$0.$borderLeftWidth](value) { - this[S$0._borderLeftWidth] = value == null ? "" : value; - } - get [S$0._borderLeftWidth]() { - return this.borderLeftWidth; - } - set [S$0._borderLeftWidth](value) { - this.borderLeftWidth = value; - } - get [S$0.$borderRight]() { - return this[S$0._borderRight]; - } - set [S$0.$borderRight](value) { - this[S$0._borderRight] = value == null ? "" : value; - } - get [S$0._borderRight]() { - return this.borderRight; - } - set [S$0._borderRight](value) { - this.borderRight = value; - } - get [S$0.$borderRightColor]() { - return this[S$0._borderRightColor]; - } - set [S$0.$borderRightColor](value) { - this[S$0._borderRightColor] = value == null ? "" : value; - } - get [S$0._borderRightColor]() { - return this.borderRightColor; - } - set [S$0._borderRightColor](value) { - this.borderRightColor = value; - } - get [S$0.$borderRightStyle]() { - return this[S$0._borderRightStyle]; - } - set [S$0.$borderRightStyle](value) { - this[S$0._borderRightStyle] = value == null ? "" : value; - } - get [S$0._borderRightStyle]() { - return this.borderRightStyle; - } - set [S$0._borderRightStyle](value) { - this.borderRightStyle = value; - } - get [S$0.$borderRightWidth]() { - return this[S$0._borderRightWidth]; - } - set [S$0.$borderRightWidth](value) { - this[S$0._borderRightWidth] = value == null ? "" : value; - } - get [S$0._borderRightWidth]() { - return this.borderRightWidth; - } - set [S$0._borderRightWidth](value) { - this.borderRightWidth = value; - } - get [S$0.$borderSpacing]() { - return this[S$0._borderSpacing]; - } - set [S$0.$borderSpacing](value) { - this[S$0._borderSpacing] = value == null ? "" : value; - } - get [S$0._borderSpacing]() { - return this.borderSpacing; - } - set [S$0._borderSpacing](value) { - this.borderSpacing = value; - } - get [S$0.$borderStyle]() { - return this[S$0._borderStyle]; - } - set [S$0.$borderStyle](value) { - this[S$0._borderStyle] = value == null ? "" : value; - } - get [S$0._borderStyle]() { - return this.borderStyle; - } - set [S$0._borderStyle](value) { - this.borderStyle = value; - } - get [S$0.$borderTop]() { - return this[S$0._borderTop]; - } - set [S$0.$borderTop](value) { - this[S$0._borderTop] = value == null ? "" : value; - } - get [S$0._borderTop]() { - return this.borderTop; - } - set [S$0._borderTop](value) { - this.borderTop = value; - } - get [S$0.$borderTopColor]() { - return this[S$0._borderTopColor]; - } - set [S$0.$borderTopColor](value) { - this[S$0._borderTopColor] = value == null ? "" : value; - } - get [S$0._borderTopColor]() { - return this.borderTopColor; - } - set [S$0._borderTopColor](value) { - this.borderTopColor = value; - } - get [S$0.$borderTopStyle]() { - return this[S$0._borderTopStyle]; - } - set [S$0.$borderTopStyle](value) { - this[S$0._borderTopStyle] = value == null ? "" : value; - } - get [S$0._borderTopStyle]() { - return this.borderTopStyle; - } - set [S$0._borderTopStyle](value) { - this.borderTopStyle = value; - } - get [S$0.$borderTopWidth]() { - return this[S$0._borderTopWidth]; - } - set [S$0.$borderTopWidth](value) { - this[S$0._borderTopWidth] = value == null ? "" : value; - } - get [S$0._borderTopWidth]() { - return this.borderTopWidth; - } - set [S$0._borderTopWidth](value) { - this.borderTopWidth = value; - } - get [S$0.$borderWidth]() { - return this[S$0._borderWidth]; - } - set [S$0.$borderWidth](value) { - this[S$0._borderWidth] = value == null ? "" : value; - } - get [S$0._borderWidth]() { - return this.borderWidth; - } - set [S$0._borderWidth](value) { - this.borderWidth = value; - } - get [$bottom]() { - return this[S$0._bottom]; - } - set [$bottom](value) { - this[S$0._bottom] = value == null ? "" : value; - } - get [S$0._bottom]() { - return this.bottom; - } - set [S$0._bottom](value) { - this.bottom = value; - } - get [S$0.$captionSide]() { - return this[S$0._captionSide]; - } - set [S$0.$captionSide](value) { - this[S$0._captionSide] = value == null ? "" : value; - } - get [S$0._captionSide]() { - return this.captionSide; - } - set [S$0._captionSide](value) { - this.captionSide = value; - } - get [$clear]() { - return this[S$0._clear$3]; - } - set [$clear](value) { - this[S$0._clear$3] = value == null ? "" : value; - } - get [S$0._clear$3]() { - return this.clear; - } - set [S$0._clear$3](value) { - this.clear = value; - } - get [S$.$clip]() { - return this[S$0._clip]; - } - set [S$.$clip](value) { - this[S$0._clip] = value == null ? "" : value; - } - get [S$0._clip]() { - return this.clip; - } - set [S$0._clip](value) { - this.clip = value; - } - get [S$0.$color]() { - return this[S$0._color]; - } - set [S$0.$color](value) { - this[S$0._color] = value == null ? "" : value; - } - get [S$0._color]() { - return this.color; - } - set [S$0._color](value) { - this.color = value; - } - get [S$0.$content]() { - return this[S$0._content]; - } - set [S$0.$content](value) { - this[S$0._content] = value == null ? "" : value; - } - get [S$0._content]() { - return this.content; - } - set [S$0._content](value) { - this.content = value; - } - get [S$0.$cursor]() { - return this[S$0._cursor]; - } - set [S$0.$cursor](value) { - this[S$0._cursor] = value == null ? "" : value; - } - get [S$0._cursor]() { - return this.cursor; - } - set [S$0._cursor](value) { - this.cursor = value; - } - get [S.$direction]() { - return this[S$0._direction]; - } - set [S.$direction](value) { - this[S$0._direction] = value == null ? "" : value; - } - get [S$0._direction]() { - return this.direction; - } - set [S$0._direction](value) { - this.direction = value; - } - get [S$0.$display]() { - return this[S$0._display]; - } - set [S$0.$display](value) { - this[S$0._display] = value == null ? "" : value; - } - get [S$0._display]() { - return this.display; - } - set [S$0._display](value) { - this.display = value; - } - get [S$0.$emptyCells]() { - return this[S$0._emptyCells]; - } - set [S$0.$emptyCells](value) { - this[S$0._emptyCells] = value == null ? "" : value; - } - get [S$0._emptyCells]() { - return this.emptyCells; - } - set [S$0._emptyCells](value) { - this.emptyCells = value; - } - get [S$.$font]() { - return this[S$0._font]; - } - set [S$.$font](value) { - this[S$0._font] = value == null ? "" : value; - } - get [S$0._font]() { - return this.font; - } - set [S$0._font](value) { - this.font = value; - } - get [S$0.$fontFamily]() { - return this[S$0._fontFamily]; - } - set [S$0.$fontFamily](value) { - this[S$0._fontFamily] = value == null ? "" : value; - } - get [S$0._fontFamily]() { - return this.fontFamily; - } - set [S$0._fontFamily](value) { - this.fontFamily = value; - } - get [S$0.$fontSize]() { - return this[S$0._fontSize]; - } - set [S$0.$fontSize](value) { - this[S$0._fontSize] = value == null ? "" : value; - } - get [S$0._fontSize]() { - return this.fontSize; - } - set [S$0._fontSize](value) { - this.fontSize = value; - } - get [S$0.$fontStyle]() { - return this[S$0._fontStyle]; - } - set [S$0.$fontStyle](value) { - this[S$0._fontStyle] = value == null ? "" : value; - } - get [S$0._fontStyle]() { - return this.fontStyle; - } - set [S$0._fontStyle](value) { - this.fontStyle = value; - } - get [S$0.$fontVariant]() { - return this[S$0._fontVariant]; - } - set [S$0.$fontVariant](value) { - this[S$0._fontVariant] = value == null ? "" : value; - } - get [S$0._fontVariant]() { - return this.fontVariant; - } - set [S$0._fontVariant](value) { - this.fontVariant = value; - } - get [S$0.$fontWeight]() { - return this[S$0._fontWeight]; - } - set [S$0.$fontWeight](value) { - this[S$0._fontWeight] = value == null ? "" : value; - } - get [S$0._fontWeight]() { - return this.fontWeight; - } - set [S$0._fontWeight](value) { - this.fontWeight = value; - } - get [$height]() { - return this[S$0._height$1]; - } - set [$height](value) { - this[S$0._height$1] = value == null ? "" : value; - } - get [S$0._height$1]() { - return this.height; - } - set [S$0._height$1](value) { - this.height = value; - } - get [$left]() { - return this[S$0._left$2]; - } - set [$left](value) { - this[S$0._left$2] = value == null ? "" : value; - } - get [S$0._left$2]() { - return this.left; - } - set [S$0._left$2](value) { - this.left = value; - } - get [S$0.$letterSpacing]() { - return this[S$0._letterSpacing]; - } - set [S$0.$letterSpacing](value) { - this[S$0._letterSpacing] = value == null ? "" : value; - } - get [S$0._letterSpacing]() { - return this.letterSpacing; - } - set [S$0._letterSpacing](value) { - this.letterSpacing = value; - } - get [S$0.$lineHeight]() { - return this[S$0._lineHeight]; - } - set [S$0.$lineHeight](value) { - this[S$0._lineHeight] = value == null ? "" : value; - } - get [S$0._lineHeight]() { - return this.lineHeight; - } - set [S$0._lineHeight](value) { - this.lineHeight = value; - } - get [S$0.$listStyle]() { - return this[S$0._listStyle]; - } - set [S$0.$listStyle](value) { - this[S$0._listStyle] = value == null ? "" : value; - } - get [S$0._listStyle]() { - return this.listStyle; - } - set [S$0._listStyle](value) { - this.listStyle = value; - } - get [S$0.$listStyleImage]() { - return this[S$0._listStyleImage]; - } - set [S$0.$listStyleImage](value) { - this[S$0._listStyleImage] = value == null ? "" : value; - } - get [S$0._listStyleImage]() { - return this.listStyleImage; - } - set [S$0._listStyleImage](value) { - this.listStyleImage = value; - } - get [S$0.$listStylePosition]() { - return this[S$0._listStylePosition]; - } - set [S$0.$listStylePosition](value) { - this[S$0._listStylePosition] = value == null ? "" : value; - } - get [S$0._listStylePosition]() { - return this.listStylePosition; - } - set [S$0._listStylePosition](value) { - this.listStylePosition = value; - } - get [S$0.$listStyleType]() { - return this[S$0._listStyleType]; - } - set [S$0.$listStyleType](value) { - this[S$0._listStyleType] = value == null ? "" : value; - } - get [S$0._listStyleType]() { - return this.listStyleType; - } - set [S$0._listStyleType](value) { - this.listStyleType = value; - } - get [S$0.$margin]() { - return this[S$0._margin]; - } - set [S$0.$margin](value) { - this[S$0._margin] = value == null ? "" : value; - } - get [S$0._margin]() { - return this.margin; - } - set [S$0._margin](value) { - this.margin = value; - } - get [S$0.$marginBottom]() { - return this[S$0._marginBottom]; - } - set [S$0.$marginBottom](value) { - this[S$0._marginBottom] = value == null ? "" : value; - } - get [S$0._marginBottom]() { - return this.marginBottom; - } - set [S$0._marginBottom](value) { - this.marginBottom = value; - } - get [S$0.$marginLeft]() { - return this[S$0._marginLeft]; - } - set [S$0.$marginLeft](value) { - this[S$0._marginLeft] = value == null ? "" : value; - } - get [S$0._marginLeft]() { - return this.marginLeft; - } - set [S$0._marginLeft](value) { - this.marginLeft = value; - } - get [S$0.$marginRight]() { - return this[S$0._marginRight]; - } - set [S$0.$marginRight](value) { - this[S$0._marginRight] = value == null ? "" : value; - } - get [S$0._marginRight]() { - return this.marginRight; - } - set [S$0._marginRight](value) { - this.marginRight = value; - } - get [S$0.$marginTop]() { - return this[S$0._marginTop]; - } - set [S$0.$marginTop](value) { - this[S$0._marginTop] = value == null ? "" : value; - } - get [S$0._marginTop]() { - return this.marginTop; - } - set [S$0._marginTop](value) { - this.marginTop = value; - } - get [S$0.$maxHeight]() { - return this[S$0._maxHeight]; - } - set [S$0.$maxHeight](value) { - this[S$0._maxHeight] = value == null ? "" : value; - } - get [S$0._maxHeight]() { - return this.maxHeight; - } - set [S$0._maxHeight](value) { - this.maxHeight = value; - } - get [S$0.$maxWidth]() { - return this[S$0._maxWidth]; - } - set [S$0.$maxWidth](value) { - this[S$0._maxWidth] = value == null ? "" : value; - } - get [S$0._maxWidth]() { - return this.maxWidth; - } - set [S$0._maxWidth](value) { - this.maxWidth = value; - } - get [S$0.$minHeight]() { - return this[S$0._minHeight]; - } - set [S$0.$minHeight](value) { - this[S$0._minHeight] = value == null ? "" : value; - } - get [S$0._minHeight]() { - return this.minHeight; - } - set [S$0._minHeight](value) { - this.minHeight = value; - } - get [S$0.$minWidth]() { - return this[S$0._minWidth]; - } - set [S$0.$minWidth](value) { - this[S$0._minWidth] = value == null ? "" : value; - } - get [S$0._minWidth]() { - return this.minWidth; - } - set [S$0._minWidth](value) { - this.minWidth = value; - } - get [S$0.$outline]() { - return this[S$0._outline]; - } - set [S$0.$outline](value) { - this[S$0._outline] = value == null ? "" : value; - } - get [S$0._outline]() { - return this.outline; - } - set [S$0._outline](value) { - this.outline = value; - } - get [S$0.$outlineColor]() { - return this[S$0._outlineColor]; - } - set [S$0.$outlineColor](value) { - this[S$0._outlineColor] = value == null ? "" : value; - } - get [S$0._outlineColor]() { - return this.outlineColor; - } - set [S$0._outlineColor](value) { - this.outlineColor = value; - } - get [S$0.$outlineStyle]() { - return this[S$0._outlineStyle]; - } - set [S$0.$outlineStyle](value) { - this[S$0._outlineStyle] = value == null ? "" : value; - } - get [S$0._outlineStyle]() { - return this.outlineStyle; - } - set [S$0._outlineStyle](value) { - this.outlineStyle = value; - } - get [S$0.$outlineWidth]() { - return this[S$0._outlineWidth]; - } - set [S$0.$outlineWidth](value) { - this[S$0._outlineWidth] = value == null ? "" : value; - } - get [S$0._outlineWidth]() { - return this.outlineWidth; - } - set [S$0._outlineWidth](value) { - this.outlineWidth = value; - } - get [S$0.$overflow]() { - return this[S$0._overflow]; - } - set [S$0.$overflow](value) { - this[S$0._overflow] = value == null ? "" : value; - } - get [S$0._overflow]() { - return this.overflow; - } - set [S$0._overflow](value) { - this.overflow = value; - } - get [S$0.$padding]() { - return this[S$0._padding]; - } - set [S$0.$padding](value) { - this[S$0._padding] = value == null ? "" : value; - } - get [S$0._padding]() { - return this.padding; - } - set [S$0._padding](value) { - this.padding = value; - } - get [S$0.$paddingBottom]() { - return this[S$0._paddingBottom]; - } - set [S$0.$paddingBottom](value) { - this[S$0._paddingBottom] = value == null ? "" : value; - } - get [S$0._paddingBottom]() { - return this.paddingBottom; - } - set [S$0._paddingBottom](value) { - this.paddingBottom = value; - } - get [S$0.$paddingLeft]() { - return this[S$0._paddingLeft]; - } - set [S$0.$paddingLeft](value) { - this[S$0._paddingLeft] = value == null ? "" : value; - } - get [S$0._paddingLeft]() { - return this.paddingLeft; - } - set [S$0._paddingLeft](value) { - this.paddingLeft = value; - } - get [S$0.$paddingRight]() { - return this[S$0._paddingRight]; - } - set [S$0.$paddingRight](value) { - this[S$0._paddingRight] = value == null ? "" : value; - } - get [S$0._paddingRight]() { - return this.paddingRight; - } - set [S$0._paddingRight](value) { - this.paddingRight = value; - } - get [S$0.$paddingTop]() { - return this[S$0._paddingTop]; - } - set [S$0.$paddingTop](value) { - this[S$0._paddingTop] = value == null ? "" : value; - } - get [S$0._paddingTop]() { - return this.paddingTop; - } - set [S$0._paddingTop](value) { - this.paddingTop = value; - } - get [S$0.$pageBreakAfter]() { - return this[S$0._pageBreakAfter]; - } - set [S$0.$pageBreakAfter](value) { - this[S$0._pageBreakAfter] = value == null ? "" : value; - } - get [S$0._pageBreakAfter]() { - return this.pageBreakAfter; - } - set [S$0._pageBreakAfter](value) { - this.pageBreakAfter = value; - } - get [S$0.$pageBreakBefore]() { - return this[S$0._pageBreakBefore]; - } - set [S$0.$pageBreakBefore](value) { - this[S$0._pageBreakBefore] = value == null ? "" : value; - } - get [S$0._pageBreakBefore]() { - return this.pageBreakBefore; - } - set [S$0._pageBreakBefore](value) { - this.pageBreakBefore = value; - } - get [S$0.$pageBreakInside]() { - return this[S$0._pageBreakInside]; - } - set [S$0.$pageBreakInside](value) { - this[S$0._pageBreakInside] = value == null ? "" : value; - } - get [S$0._pageBreakInside]() { - return this.pageBreakInside; - } - set [S$0._pageBreakInside](value) { - this.pageBreakInside = value; - } - get [S$0.$position]() { - return this[S$0._position$2]; - } - set [S$0.$position](value) { - this[S$0._position$2] = value == null ? "" : value; - } - get [S$0._position$2]() { - return this.position; - } - set [S$0._position$2](value) { - this.position = value; - } - get [S$0.$quotes]() { - return this[S$0._quotes]; - } - set [S$0.$quotes](value) { - this[S$0._quotes] = value == null ? "" : value; - } - get [S$0._quotes]() { - return this.quotes; - } - set [S$0._quotes](value) { - this.quotes = value; - } - get [$right]() { - return this[S$0._right$2]; - } - set [$right](value) { - this[S$0._right$2] = value == null ? "" : value; - } - get [S$0._right$2]() { - return this.right; - } - set [S$0._right$2](value) { - this.right = value; - } - get [S$0.$tableLayout]() { - return this[S$0._tableLayout]; - } - set [S$0.$tableLayout](value) { - this[S$0._tableLayout] = value == null ? "" : value; - } - get [S$0._tableLayout]() { - return this.tableLayout; - } - set [S$0._tableLayout](value) { - this.tableLayout = value; - } - get [S$.$textAlign]() { - return this[S$0._textAlign]; - } - set [S$.$textAlign](value) { - this[S$0._textAlign] = value == null ? "" : value; - } - get [S$0._textAlign]() { - return this.textAlign; - } - set [S$0._textAlign](value) { - this.textAlign = value; - } - get [S$0.$textDecoration]() { - return this[S$0._textDecoration]; - } - set [S$0.$textDecoration](value) { - this[S$0._textDecoration] = value == null ? "" : value; - } - get [S$0._textDecoration]() { - return this.textDecoration; - } - set [S$0._textDecoration](value) { - this.textDecoration = value; - } - get [S$0.$textIndent]() { - return this[S$0._textIndent]; - } - set [S$0.$textIndent](value) { - this[S$0._textIndent] = value == null ? "" : value; - } - get [S$0._textIndent]() { - return this.textIndent; - } - set [S$0._textIndent](value) { - this.textIndent = value; - } - get [S$0.$textTransform]() { - return this[S$0._textTransform]; - } - set [S$0.$textTransform](value) { - this[S$0._textTransform] = value == null ? "" : value; - } - get [S$0._textTransform]() { - return this.textTransform; - } - set [S$0._textTransform](value) { - this.textTransform = value; - } - get [$top]() { - return this[S$0._top]; - } - set [$top](value) { - this[S$0._top] = value == null ? "" : value; - } - get [S$0._top]() { - return this.top; - } - set [S$0._top](value) { - this.top = value; - } - get [S$0.$unicodeBidi]() { - return this[S$0._unicodeBidi]; - } - set [S$0.$unicodeBidi](value) { - this[S$0._unicodeBidi] = value == null ? "" : value; - } - get [S$0._unicodeBidi]() { - return this.unicodeBidi; - } - set [S$0._unicodeBidi](value) { - this.unicodeBidi = value; - } - get [S$0.$verticalAlign]() { - return this[S$0._verticalAlign]; - } - set [S$0.$verticalAlign](value) { - this[S$0._verticalAlign] = value == null ? "" : value; - } - get [S$0._verticalAlign]() { - return this.verticalAlign; - } - set [S$0._verticalAlign](value) { - this.verticalAlign = value; - } - get [S$0.$visibility]() { - return this[S$0._visibility]; - } - set [S$0.$visibility](value) { - this[S$0._visibility] = value == null ? "" : value; - } - get [S$0._visibility]() { - return this.visibility; - } - set [S$0._visibility](value) { - this.visibility = value; - } - get [S$0.$whiteSpace]() { - return this[S$0._whiteSpace]; - } - set [S$0.$whiteSpace](value) { - this[S$0._whiteSpace] = value == null ? "" : value; - } - get [S$0._whiteSpace]() { - return this.whiteSpace; - } - set [S$0._whiteSpace](value) { - this.whiteSpace = value; - } - get [$width]() { - return this[S$0._width$1]; - } - set [$width](value) { - this[S$0._width$1] = value == null ? "" : value; - } - get [S$0._width$1]() { - return this.width; - } - set [S$0._width$1](value) { - this.width = value; - } - get [S$0.$wordSpacing]() { - return this[S$0._wordSpacing]; - } - set [S$0.$wordSpacing](value) { - this[S$0._wordSpacing] = value == null ? "" : value; - } - get [S$0._wordSpacing]() { - return this.wordSpacing; - } - set [S$0._wordSpacing](value) { - this.wordSpacing = value; - } - get [S$0.$zIndex]() { - return this[S$0._zIndex]; - } - set [S$0.$zIndex](value) { - this[S$0._zIndex] = value == null ? "" : value; - } - get [S$0._zIndex]() { - return this.zIndex; - } - set [S$0._zIndex](value) { - this.zIndex = value; - } -}; -dart.addTypeTests(html$.CssStyleDeclaration); -dart.addTypeCaches(html$.CssStyleDeclaration); -dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), - [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), - [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), - [S$.$cssText]: dart.nullable(core.String), - [$length]: core.int, - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$._background]: core.String, - [S$._backgroundAttachment]: core.String, - [S$._backgroundColor]: core.String, - [S$._backgroundImage]: core.String, - [S$._backgroundPosition]: core.String, - [S$._backgroundRepeat]: core.String, - [S$._border]: core.String, - [S$._borderBottom]: core.String, - [S$._borderBottomColor]: core.String, - [S$._borderBottomStyle]: 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, - [S$0._borderTopColor]: core.String, - [S$0._borderTopStyle]: core.String, - [S$0._borderTopWidth]: core.String, - [S$0._borderWidth]: core.String, - [S$0._bottom]: core.String, - [S$0._captionSide]: core.String, - [S$0._clear$3]: core.String, - [S$0._clip]: core.String, - [S$0._color]: core.String, - [S$0._content]: core.String, - [S$0._cursor]: core.String, - [S$0._direction]: core.String, - [S$0._display]: core.String, - [S$0._emptyCells]: core.String, - [S$0._font]: core.String, - [S$0._fontFamily]: core.String, - [S$0._fontSize]: core.String, - [S$0._fontStyle]: core.String, - [S$0._fontVariant]: core.String, - [S$0._fontWeight]: core.String, - [S$0._height$1]: core.String, - [S$0._left$2]: core.String, - [S$0._letterSpacing]: core.String, - [S$0._lineHeight]: core.String, - [S$0._listStyle]: core.String, - [S$0._listStyleImage]: core.String, - [S$0._listStylePosition]: core.String, - [S$0._listStyleType]: core.String, - [S$0._margin]: core.String, - [S$0._marginBottom]: core.String, - [S$0._marginLeft]: core.String, - [S$0._marginRight]: core.String, - [S$0._marginTop]: core.String, - [S$0._maxHeight]: core.String, - [S$0._maxWidth]: core.String, - [S$0._minHeight]: core.String, - [S$0._minWidth]: core.String, - [S$0._outline]: core.String, - [S$0._outlineColor]: core.String, - [S$0._outlineStyle]: core.String, - [S$0._outlineWidth]: core.String, - [S$0._overflow]: core.String, - [S$0._padding]: core.String, - [S$0._paddingBottom]: core.String, - [S$0._paddingLeft]: core.String, - [S$0._paddingRight]: core.String, - [S$0._paddingTop]: core.String, - [S$0._pageBreakAfter]: core.String, - [S$0._pageBreakBefore]: core.String, - [S$0._pageBreakInside]: core.String, - [S$0._position$2]: core.String, - [S$0._quotes]: core.String, - [S$0._right$2]: core.String, - [S$0._tableLayout]: core.String, - [S$0._textAlign]: core.String, - [S$0._textDecoration]: core.String, - [S$0._textIndent]: core.String, - [S$0._textTransform]: core.String, - [S$0._top]: core.String, - [S$0._unicodeBidi]: core.String, - [S$0._verticalAlign]: core.String, - [S$0._visibility]: core.String, - [S$0._whiteSpace]: core.String, - [S$0._width$1]: core.String, - [S$0._wordSpacing]: core.String, - [S$0._zIndex]: core.String -})); -dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), - [S$.$cssFloat]: dart.nullable(core.String), - [S$.$cssText]: dart.nullable(core.String), - [S$.$background]: dart.nullable(core.String), - [S$._background]: core.String, - [S$.$backgroundAttachment]: dart.nullable(core.String), - [S$._backgroundAttachment]: core.String, - [S$.$backgroundColor]: dart.nullable(core.String), - [S$._backgroundColor]: core.String, - [S$.$backgroundImage]: dart.nullable(core.String), - [S$._backgroundImage]: core.String, - [S$.$backgroundPosition]: dart.nullable(core.String), - [S$._backgroundPosition]: core.String, - [S$.$backgroundRepeat]: dart.nullable(core.String), - [S$._backgroundRepeat]: core.String, - [S$.$border]: dart.nullable(core.String), - [S$._border]: core.String, - [S$.$borderBottom]: dart.nullable(core.String), - [S$._borderBottom]: core.String, - [S$.$borderBottomColor]: dart.nullable(core.String), - [S$._borderBottomColor]: core.String, - [S$0.$borderBottomStyle]: dart.nullable(core.String), - [S$._borderBottomStyle]: 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$0._borderRightWidth]: core.String, - [S$0.$borderSpacing]: dart.nullable(core.String), - [S$0._borderSpacing]: core.String, - [S$0.$borderStyle]: dart.nullable(core.String), - [S$0._borderStyle]: core.String, - [S$0.$borderTop]: dart.nullable(core.String), - [S$0._borderTop]: core.String, - [S$0.$borderTopColor]: dart.nullable(core.String), - [S$0._borderTopColor]: core.String, - [S$0.$borderTopStyle]: dart.nullable(core.String), - [S$0._borderTopStyle]: core.String, - [S$0.$borderTopWidth]: dart.nullable(core.String), - [S$0._borderTopWidth]: core.String, - [S$0.$borderWidth]: dart.nullable(core.String), - [S$0._borderWidth]: core.String, - [$bottom]: dart.nullable(core.String), - [S$0._bottom]: core.String, - [S$0.$captionSide]: dart.nullable(core.String), - [S$0._captionSide]: core.String, - [$clear]: dart.nullable(core.String), - [S$0._clear$3]: core.String, - [S$.$clip]: dart.nullable(core.String), - [S$0._clip]: core.String, - [S$0.$color]: dart.nullable(core.String), - [S$0._color]: core.String, - [S$0.$content]: dart.nullable(core.String), - [S$0._content]: core.String, - [S$0.$cursor]: dart.nullable(core.String), - [S$0._cursor]: core.String, - [S.$direction]: dart.nullable(core.String), - [S$0._direction]: core.String, - [S$0.$display]: dart.nullable(core.String), - [S$0._display]: core.String, - [S$0.$emptyCells]: dart.nullable(core.String), - [S$0._emptyCells]: core.String, - [S$.$font]: dart.nullable(core.String), - [S$0._font]: core.String, - [S$0.$fontFamily]: dart.nullable(core.String), - [S$0._fontFamily]: core.String, - [S$0.$fontSize]: dart.nullable(core.String), - [S$0._fontSize]: core.String, - [S$0.$fontStyle]: dart.nullable(core.String), - [S$0._fontStyle]: core.String, - [S$0.$fontVariant]: dart.nullable(core.String), - [S$0._fontVariant]: core.String, - [S$0.$fontWeight]: dart.nullable(core.String), - [S$0._fontWeight]: core.String, - [$height]: dart.nullable(core.String), - [S$0._height$1]: core.String, - [$left]: dart.nullable(core.String), - [S$0._left$2]: core.String, - [S$0.$letterSpacing]: dart.nullable(core.String), - [S$0._letterSpacing]: core.String, - [S$0.$lineHeight]: dart.nullable(core.String), - [S$0._lineHeight]: core.String, - [S$0.$listStyle]: dart.nullable(core.String), - [S$0._listStyle]: core.String, - [S$0.$listStyleImage]: dart.nullable(core.String), - [S$0._listStyleImage]: core.String, - [S$0.$listStylePosition]: dart.nullable(core.String), - [S$0._listStylePosition]: core.String, - [S$0.$listStyleType]: dart.nullable(core.String), - [S$0._listStyleType]: core.String, - [S$0.$margin]: dart.nullable(core.String), - [S$0._margin]: core.String, - [S$0.$marginBottom]: dart.nullable(core.String), - [S$0._marginBottom]: core.String, - [S$0.$marginLeft]: dart.nullable(core.String), - [S$0._marginLeft]: core.String, - [S$0.$marginRight]: dart.nullable(core.String), - [S$0._marginRight]: core.String, - [S$0.$marginTop]: dart.nullable(core.String), - [S$0._marginTop]: core.String, - [S$0.$maxHeight]: dart.nullable(core.String), - [S$0._maxHeight]: core.String, - [S$0.$maxWidth]: dart.nullable(core.String), - [S$0._maxWidth]: core.String, - [S$0.$minHeight]: dart.nullable(core.String), - [S$0._minHeight]: core.String, - [S$0.$minWidth]: dart.nullable(core.String), - [S$0._minWidth]: core.String, - [S$0.$outline]: dart.nullable(core.String), - [S$0._outline]: core.String, - [S$0.$outlineColor]: dart.nullable(core.String), - [S$0._outlineColor]: core.String, - [S$0.$outlineStyle]: dart.nullable(core.String), - [S$0._outlineStyle]: core.String, - [S$0.$outlineWidth]: dart.nullable(core.String), - [S$0._outlineWidth]: core.String, - [S$0.$overflow]: dart.nullable(core.String), - [S$0._overflow]: core.String, - [S$0.$padding]: dart.nullable(core.String), - [S$0._padding]: core.String, - [S$0.$paddingBottom]: dart.nullable(core.String), - [S$0._paddingBottom]: core.String, - [S$0.$paddingLeft]: dart.nullable(core.String), - [S$0._paddingLeft]: core.String, - [S$0.$paddingRight]: dart.nullable(core.String), - [S$0._paddingRight]: core.String, - [S$0.$paddingTop]: dart.nullable(core.String), - [S$0._paddingTop]: core.String, - [S$0.$pageBreakAfter]: dart.nullable(core.String), - [S$0._pageBreakAfter]: core.String, - [S$0.$pageBreakBefore]: dart.nullable(core.String), - [S$0._pageBreakBefore]: core.String, - [S$0.$pageBreakInside]: dart.nullable(core.String), - [S$0._pageBreakInside]: core.String, - [S$0.$position]: dart.nullable(core.String), - [S$0._position$2]: core.String, - [S$0.$quotes]: dart.nullable(core.String), - [S$0._quotes]: core.String, - [$right]: dart.nullable(core.String), - [S$0._right$2]: core.String, - [S$0.$tableLayout]: dart.nullable(core.String), - [S$0._tableLayout]: core.String, - [S$.$textAlign]: dart.nullable(core.String), - [S$0._textAlign]: core.String, - [S$0.$textDecoration]: dart.nullable(core.String), - [S$0._textDecoration]: core.String, - [S$0.$textIndent]: dart.nullable(core.String), - [S$0._textIndent]: core.String, - [S$0.$textTransform]: dart.nullable(core.String), - [S$0._textTransform]: core.String, - [$top]: dart.nullable(core.String), - [S$0._top]: core.String, - [S$0.$unicodeBidi]: dart.nullable(core.String), - [S$0._unicodeBidi]: core.String, - [S$0.$verticalAlign]: dart.nullable(core.String), - [S$0._verticalAlign]: core.String, - [S$0.$visibility]: dart.nullable(core.String), - [S$0._visibility]: core.String, - [S$0.$whiteSpace]: dart.nullable(core.String), - [S$0._whiteSpace]: core.String, - [$width]: dart.nullable(core.String), - [S$0._width$1]: core.String, - [S$0.$wordSpacing]: dart.nullable(core.String), - [S$0._wordSpacing]: core.String, - [S$0.$zIndex]: dart.nullable(core.String), - [S$0._zIndex]: core.String -})); -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 {}; - } -}, false); -dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); -dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); -dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); -const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; -(Object_CssStyleDeclarationBase$36.new = function() { -}).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[149], 5443, 34, "propertyName"); - return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); - } - setProperty(propertyName, value, priority = null) { - 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[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[149], 5460, 25, "value"); - this[S$0._setAll]("background", value); - } - get background() { - return super.background; - } - set backgroundAttachment(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[149], 5470, 30, "value"); - this[S$0._setAll]("backgroundColor", value); - } - get backgroundColor() { - return super.backgroundColor; - } - set backgroundImage(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[149], 5480, 33, "value"); - this[S$0._setAll]("backgroundPosition", value); - } - get backgroundPosition() { - return super.backgroundPosition; - } - set backgroundRepeat(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[149], 5490, 21, "value"); - this[S$0._setAll]("border", value); - } - get border() { - return super.border; - } - set borderBottom(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[149], 5500, 32, "value"); - this[S$0._setAll]("borderBottomColor", value); - } - get borderBottomColor() { - return super.borderBottomColor; - } - set borderBottomStyle(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[149], 5510, 32, "value"); - this[S$0._setAll]("borderBottomWidth", value); - } - get borderBottomWidth() { - return super.borderBottomWidth; - } - set borderCollapse(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[149], 5520, 26, "value"); - this[S$0._setAll]("borderColor", value); - } - get borderColor() { - return super.borderColor; - } - set borderLeft(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[149], 5530, 30, "value"); - this[S$0._setAll]("borderLeftColor", value); - } - get borderLeftColor() { - return super.borderLeftColor; - } - set borderLeftStyle(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[149], 5540, 30, "value"); - this[S$0._setAll]("borderLeftWidth", value); - } - get borderLeftWidth() { - return super.borderLeftWidth; - } - set borderRight(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[149], 5550, 31, "value"); - this[S$0._setAll]("borderRightColor", value); - } - get borderRightColor() { - return super.borderRightColor; - } - set borderRightStyle(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[149], 5560, 31, "value"); - this[S$0._setAll]("borderRightWidth", value); - } - get borderRightWidth() { - return super.borderRightWidth; - } - set borderSpacing(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[149], 5570, 26, "value"); - this[S$0._setAll]("borderStyle", value); - } - get borderStyle() { - return super.borderStyle; - } - set borderTop(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[149], 5580, 29, "value"); - this[S$0._setAll]("borderTopColor", value); - } - get borderTopColor() { - return super.borderTopColor; - } - set borderTopStyle(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[149], 5590, 29, "value"); - this[S$0._setAll]("borderTopWidth", value); - } - get borderTopWidth() { - return super.borderTopWidth; - } - set borderWidth(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[149], 5600, 21, "value"); - this[S$0._setAll]("bottom", value); - } - get bottom() { - return super.bottom; - } - set captionSide(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[149], 5610, 20, "value"); - this[S$0._setAll]("clear", value); - } - get clear() { - return super.clear; - } - set clip(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[149], 5620, 20, "value"); - this[S$0._setAll]("color", value); - } - get color() { - return super.color; - } - set content(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[149], 5630, 21, "value"); - this[S$0._setAll]("cursor", value); - } - get cursor() { - return super.cursor; - } - set direction(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[149], 5640, 22, "value"); - this[S$0._setAll]("display", value); - } - get display() { - return super.display; - } - set emptyCells(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[149], 5650, 19, "value"); - this[S$0._setAll]("font", value); - } - get font() { - return super.font; - } - set fontFamily(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[149], 5660, 23, "value"); - this[S$0._setAll]("fontSize", value); - } - get fontSize() { - return super.fontSize; - } - set fontStyle(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[149], 5670, 26, "value"); - this[S$0._setAll]("fontVariant", value); - } - get fontVariant() { - return super.fontVariant; - } - set fontWeight(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[149], 5680, 21, "value"); - this[S$0._setAll]("height", value); - } - get height() { - return super.height; - } - set left(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[149], 5690, 28, "value"); - this[S$0._setAll]("letterSpacing", value); - } - get letterSpacing() { - return super.letterSpacing; - } - set lineHeight(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[149], 5700, 24, "value"); - this[S$0._setAll]("listStyle", value); - } - get listStyle() { - return super.listStyle; - } - set listStyleImage(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[149], 5710, 32, "value"); - this[S$0._setAll]("listStylePosition", value); - } - get listStylePosition() { - return super.listStylePosition; - } - set listStyleType(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[149], 5720, 21, "value"); - this[S$0._setAll]("margin", value); - } - get margin() { - return super.margin; - } - set marginBottom(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[149], 5730, 25, "value"); - this[S$0._setAll]("marginLeft", value); - } - get marginLeft() { - return super.marginLeft; - } - set marginRight(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[149], 5740, 24, "value"); - this[S$0._setAll]("marginTop", value); - } - get marginTop() { - return super.marginTop; - } - set maxHeight(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[149], 5750, 23, "value"); - this[S$0._setAll]("maxWidth", value); - } - get maxWidth() { - return super.maxWidth; - } - set minHeight(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[149], 5760, 23, "value"); - this[S$0._setAll]("minWidth", value); - } - get minWidth() { - return super.minWidth; - } - set outline(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[149], 5770, 27, "value"); - this[S$0._setAll]("outlineColor", value); - } - get outlineColor() { - return super.outlineColor; - } - set outlineStyle(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[149], 5780, 27, "value"); - this[S$0._setAll]("outlineWidth", value); - } - get outlineWidth() { - return super.outlineWidth; - } - set overflow(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[149], 5790, 22, "value"); - this[S$0._setAll]("padding", value); - } - get padding() { - return super.padding; - } - set paddingBottom(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[149], 5800, 26, "value"); - this[S$0._setAll]("paddingLeft", value); - } - get paddingLeft() { - return super.paddingLeft; - } - set paddingRight(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[149], 5810, 25, "value"); - this[S$0._setAll]("paddingTop", value); - } - get paddingTop() { - return super.paddingTop; - } - set pageBreakAfter(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[149], 5820, 30, "value"); - this[S$0._setAll]("pageBreakBefore", value); - } - get pageBreakBefore() { - return super.pageBreakBefore; - } - set pageBreakInside(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[149], 5830, 23, "value"); - this[S$0._setAll]("position", value); - } - get position() { - return super.position; - } - set quotes(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[149], 5840, 20, "value"); - this[S$0._setAll]("right", value); - } - get right() { - return super.right; - } - set tableLayout(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[149], 5850, 24, "value"); - this[S$0._setAll]("textAlign", value); - } - get textAlign() { - return super.textAlign; - } - set textDecoration(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[149], 5860, 25, "value"); - this[S$0._setAll]("textIndent", value); - } - get textIndent() { - return super.textIndent; - } - set textTransform(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[149], 5870, 18, "value"); - this[S$0._setAll]("top", value); - } - get top() { - return super.top; - } - set unicodeBidi(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[149], 5880, 28, "value"); - this[S$0._setAll]("verticalAlign", value); - } - get verticalAlign() { - return super.verticalAlign; - } - set visibility(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[149], 5890, 25, "value"); - this[S$0._setAll]("whiteSpace", value); - } - get whiteSpace() { - return super.whiteSpace; - } - set width(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[149], 5900, 26, "value"); - this[S$0._setAll]("wordSpacing", value); - } - get wordSpacing() { - return super.wordSpacing; - } - set zIndex(value) { - if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); - this[S$0._setAll]("zIndex", value); - } - get zIndex() { - return super.zIndex; - } -}; -(html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); - this[S$0._elementIterable] = _elementIterable; - 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); -dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ - __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), - getPropertyValue: dart.fnType(core.String, [core.String]), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [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[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(core.Iterable$(html$.CssStyleDeclaration)) -})); -dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); -dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ - 'background', - 'backgroundAttachment', - 'backgroundColor', - 'backgroundImage', - 'backgroundPosition', - 'backgroundRepeat', - 'border', - 'borderBottom', - 'borderBottomColor', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopStyle', - 'borderTopWidth', - 'borderWidth', - 'bottom', - 'captionSide', - 'clear', - 'clip', - 'color', - 'content', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'font', - 'fontFamily', - 'fontSize', - 'fontStyle', - 'fontVariant', - 'fontWeight', - 'height', - 'left', - 'letterSpacing', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'margin', - 'marginBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'maxHeight', - 'maxWidth', - 'minHeight', - 'minWidth', - 'outline', - 'outlineColor', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'padding', - 'paddingBottom', - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'position', - 'quotes', - 'right', - 'tableLayout', - 'textAlign', - 'textDecoration', - 'textIndent', - 'textTransform', - 'top', - 'unicodeBidi', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'width', - 'wordSpacing', - 'zIndex' -]); -html$.CssStyleRule = class CssStyleRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssStyleRule.__(); - } - get [S$.$selectorText]() { - return this.selectorText; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } -}; -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, - [S.$style]: html$.CssStyleDeclaration -})); -dart.setSetterSignature(html$.CssStyleRule, () => ({ - __proto__: dart.getSetters(html$.CssStyleRule.__proto__), - [S$.$selectorText]: core.String -})); -dart.setLibraryUri(html$.CssStyleRule, I[150]); -dart.registerExtension("CSSStyleRule", html$.CssStyleRule); -html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleSheet.__(); - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$0.$ownerNode]() { - return this.ownerNode; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$title]() { - return this.title; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$.$href]: dart.nullable(core.String), - [S$.$media]: dart.nullable(html$.MediaList), - [S$0.$ownerNode]: dart.nullable(html$.Node), - [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), - [S.$title]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.StyleSheet, () => ({ - __proto__: dart.getSetters(html$.StyleSheet.__proto__), - [S$.$disabled]: dart.nullable(core.bool) -})); -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; - } - get [S$0.$ownerRule]() { - return this.ownerRule; - } - get [S$0.$rules]() { - return this.rules; - } - [S$0.$addRule](...args) { - return this.addRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } - [S$0.$removeRule](...args) { - return this.removeRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssStyleSheet); -dart.addTypeCaches(html$.CssStyleSheet); -dart.setMethodSignature(html$.CssStyleSheet, () => ({ - __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), - [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), - [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), - [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[150]); -dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); -html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { - static ['_#_#tearOff']() { - return html$.CssSupportsRule.__(); - } -}; -dart.addTypeTests(html$.CssSupportsRule); -dart.addTypeCaches(html$.CssSupportsRule); -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(); - } - if (T$0.ListOfCssTransformComponent().is(transformComponents)) { - return html$.CssTransformValue._create_2(transformComponents); - } - 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(); - } - static _create_2(transformComponents) { - return new CSSTransformValue(transformComponents); - } - get [S$.$is2D]() { - return this.is2D; - } - get [$length]() { - return this.length; - } - [S$0.$componentAtIndex](...args) { - return this.componentAtIndex.apply(this, args); - } - [S$0.$toMatrix](...args) { - return this.toMatrix.apply(this, args); - } -}; -dart.addTypeTests(html$.CssTransformValue); -dart.addTypeCaches(html$.CssTransformValue); -dart.setMethodSignature(html$.CssTransformValue, () => ({ - __proto__: dart.getMethods(html$.CssTransformValue.__proto__), - [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[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[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); - } - if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { - return html$.CssTranslation._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSTranslation(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssTranslation, () => ({ - __proto__: dart.getSetters(html$.CssTranslation.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) -})); -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[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); - } - get [S.$type]() { - return this.type; - } - get [S$0.$unit]() { - return this.unit; - } - set [S$0.$unit](value) { - this.unit = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssUnitValue, () => ({ - __proto__: dart.getSetters(html$.CssUnitValue.__proto__), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) -})); -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; - } - [S$0.$fragmentAtIndex](...args) { - return this.fragmentAtIndex.apply(this, args); - } -}; -dart.addTypeTests(html$.CssUnparsedValue); -dart.addTypeCaches(html$.CssUnparsedValue); -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[150]); -dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); -html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssVariableReferenceValue.__(); - } - get [S$0.$fallback]() { - return this.fallback; - } - get [S$0.$variable]() { - return this.variable; - } -}; -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[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[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[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); - } - get [S$.$url]() { - return this.url; - } -}; -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[150]); -dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); -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[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); - return; - } - this[S$0._define_2](name, constructor); - return; - } - [S$0._define_1](...args) { - return this.define.apply(this, args); - } - [S$0._define_2](...args) { - return this.define.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); - return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); - } -}; -dart.addTypeTests(html$.CustomElementRegistry); -dart.addTypeCaches(html$.CustomElementRegistry); -dart.setMethodSignature(html$.CustomElementRegistry, () => ({ - __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), - [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), - [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) -})); -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]() { - return this._dartDetail; - } - set [S$0._dartDetail](value) { - this._dartDetail = value; - } - static new(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; - let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); - e[S$0._dartDetail] = detail; - if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { - try { - detail = html_common.convertDartToNative_SerializedScriptValue(detail); - e[S$0._initCustomEvent](type, canBubble, cancelable, detail); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } else - throw e$; - } - } else { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } - 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]; - } - return this[S$0._detail]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new CustomEvent(type); - } - get [S$0._detail]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); - } - get [S$0._get__detail]() { - return this.detail; - } - [S$0._initCustomEvent](...args) { - return this.initCustomEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.CustomEvent); -dart.addTypeCaches(html$.CustomEvent); -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[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); - ; -}).prototype = html$.DListElement.prototype; -dart.addTypeTests(html$.DListElement); -dart.addTypeCaches(html$.DListElement); -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; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.DataElement.created = function() { - html$.DataElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.DataElement, () => ({ - __proto__: dart.getSetters(html$.DataElement.__proto__), - [S.$value]: dart.nullable(core.String) -})); -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"); - } - get [S$0.$options]() { - return this.options; - } -}; -(html$.DataListElement.created = function() { - html$.DataListElement.__proto__.created.call(this); - ; -}).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.setStaticGetterSignature(html$.DataListElement, () => ['supported']); -dart.setLibraryUri(html$.DataListElement, I[150]); -dart.registerExtension("HTMLDataListElement", html$.DataListElement); -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(); - } - get [S$0.$dropEffect]() { - return this.dropEffect; - } - set [S$0.$dropEffect](value) { - this.dropEffect = value; - } - get [S$0.$effectAllowed]() { - return this.effectAllowed; - } - set [S$0.$effectAllowed](value) { - this.effectAllowed = value; - } - get [S$0.$files]() { - return this.files; - } - get [S$0.$items]() { - return this.items; - } - get [S$0.$types]() { - return this.types; - } - [S$0.$clearData](...args) { - return this.clearData.apply(this, args); - } - [S$0.$getData](...args) { - return this.getData.apply(this, args); - } - [S$0.$setData](...args) { - return this.setData.apply(this, args); - } - [S$0.$setDragImage](...args) { - return this.setDragImage.apply(this, args); - } -}; -dart.addTypeTests(html$.DataTransfer); -dart.addTypeCaches(html$.DataTransfer); -dart.setMethodSignature(html$.DataTransfer, () => ({ - __proto__: dart.getMethods(html$.DataTransfer.__proto__), - [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$0.$getData]: dart.fnType(core.String, [core.String]), - [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), - [S$0.$effectAllowed]: dart.nullable(core.String), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$0.$items]: dart.nullable(html$.DataTransferItemList), - [S$0.$types]: dart.nullable(core.List$(core.String)) -})); -dart.setSetterSignature(html$.DataTransfer, () => ({ - __proto__: dart.getSetters(html$.DataTransfer.__proto__), - [S$0.$dropEffect]: dart.nullable(core.String), - [S$0.$effectAllowed]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.DataTransfer, I[150]); -dart.registerExtension("DataTransfer", html$.DataTransfer); -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)) { - _js_helper.applyExtension("FileEntry", 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); - } 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; - } - get [S.$type]() { - return this.type; - } - [S$0.$getAsFile](...args) { - return this.getAsFile.apply(this, args); - } - [S$0._webkitGetAsEntry](...args) { - return this.webkitGetAsEntry.apply(this, args); - } -}; -dart.addTypeTests(html$.DataTransferItem); -dart.addTypeCaches(html$.DataTransferItem); -dart.setMethodSignature(html$.DataTransferItem, () => ({ - __proto__: dart.getMethods(html$.DataTransferItem.__proto__), - [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), - [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[150]); -dart.registerExtension("DataTransferItem", html$.DataTransferItem); -html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DataTransferItemList.__(); - } - get [$length]() { - return this.length; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$0.$addData](...args) { - return this.add.apply(this, args); - } - [S$0.$addFile](...args) { - return this.add.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [$_get](index) { - if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); - return this[index]; - } -}; -dart.addTypeTests(html$.DataTransferItemList); -dart.addTypeCaches(html$.DataTransferItemList); -dart.setMethodSignature(html$.DataTransferItemList, () => ({ - __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), - [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), - [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), - [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), - [$clear]: dart.fnType(dart.void, []), - [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), - [$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[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; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$0.$indexedDB]() { - return this.indexedDB; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$0.$location]() { - return this.location; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$.$origin]() { - return this.origin; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$0.$self]() { - return this.self; - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$0.$importScripts](...args) { - return this.importScripts.apply(this, args); - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S.$onError]() { - return html$.WorkerGlobalScope.errorEvent.forTarget(this); - } - static get instance() { - return html$._workerSelf; - } -}; -dart.addTypeTests(html$.WorkerGlobalScope); -dart.addTypeCaches(html$.WorkerGlobalScope); -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)]), - [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) -})); -dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); -dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ - __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), - [S$0.$addressSpace]: dart.nullable(core.String), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$0.$location]: html$._WorkerLocation, - [S$0.$navigator]: html$._WorkerNavigator, - [S$.$origin]: dart.nullable(core.String), - [S$0.$performance]: dart.nullable(html$.WorkerPerformance), - [S$0.$self]: html$.WorkerGlobalScope, - [S.$onError]: async.Stream$(html$.Event) -})); -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[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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$.$onMessage]() { - return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.DedicatedWorkerGlobalScope); -dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); -dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[322] || CT.C322; - }, - /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, false); -dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); -html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageInfo.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } -}; -dart.addTypeTests(html$.DeprecatedStorageInfo); -dart.addTypeCaches(html$.DeprecatedStorageInfo); -dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), - [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.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; - }, - /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, false); -dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); -html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageQuota.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } -}; -dart.addTypeTests(html$.DeprecatedStorageQuota); -dart.addTypeCaches(html$.DeprecatedStorageQuota); -dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), - [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.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); -dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); -dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); -html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportBody.__(); - } -}; -dart.addTypeTests(html$.ReportBody); -dart.addTypeCaches(html$.ReportBody); -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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } -}; -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[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"); - } - get [S.$open]() { - return this.open; - } - set [S.$open](value) { - this.open = value; - } -}; -(html$.DetailsElement.created = function() { - html$.DetailsElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.DetailsElement, () => ({ - __proto__: dart.getSetters(html$.DetailsElement.__proto__), - [S.$open]: dart.nullable(core.bool) -})); -dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); -dart.setLibraryUri(html$.DetailsElement, I[150]); -dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } -}; -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[150]); -dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$landmarks]() { - return this.landmarks; - } -}; -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[150]); -dart.registerExtension("DetectedFace", html$.DetectedFace); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } -}; -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[150]); -dart.registerExtension("DetectedText", html$.DetectedText); -html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceAcceleration.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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[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); - } - static _create_2(type) { - return new DeviceMotionEvent(type); - } - get [S$0.$acceleration]() { - return this.acceleration; - } - get [S$0.$accelerationIncludingGravity]() { - return this.accelerationIncludingGravity; - } - get [S$0.$interval]() { - return this.interval; - } - get [S$0.$rotationRate]() { - return this.rotationRate; - } -}; -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), - [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), - [S$0.$interval]: dart.nullable(core.num), - [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) -})); -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[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); - } - static _create_2(type) { - return new DeviceOrientationEvent(type); - } - get [S$0.$absolute]() { - return this.absolute; - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } -}; -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), - [S$0.$alpha]: dart.nullable(core.num), - [S$0.$beta]: dart.nullable(core.num), - [S$0.$gamma]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); -dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); -html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceRotationRate.__(); - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } -}; -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[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; - } - set [S.$open](value) { - this.open = value; - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0.$show](...args) { - return this.show.apply(this, args); - } - [S$0.$showModal](...args) { - return this.showModal.apply(this, args); - } -}; -(html$.DialogElement.created = function() { - html$.DialogElement.__proto__.created.call(this); - ; -}).prototype = html$.DialogElement.prototype; -dart.addTypeTests(html$.DialogElement); -dart.addTypeCaches(html$.DialogElement); -dart.setMethodSignature(html$.DialogElement, () => ({ - __proto__: dart.getMethods(html$.DialogElement.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.DialogElement, () => ({ - __proto__: dart.getSetters(html$.DialogElement.__proto__), - [S.$open]: dart.nullable(core.bool), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.DialogElement, I[150]); -dart.registerExtension("HTMLDialogElement", html$.DialogElement); -html$.Entry = class Entry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Entry.__(); - } - get [S$0.$filesystem]() { - return this.filesystem; - } - get [S$0.$fullPath]() { - return this.fullPath; - } - get [S$0.$isDirectory]() { - return this.isDirectory; - } - get [S$0.$isFile]() { - return this.isFile; - } - get [$name]() { - return this.name; - } - [S$1._copyTo](...args) { - return this.copyTo.apply(this, args); - } - [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$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[149], 15431, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getMetadata](...args) { - return this.getMetadata.apply(this, args); - } - [S$1.$getMetadata]() { - let completer = T$0.CompleterOfMetadata().new(); - 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[149], 15447, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getParent](...args) { - return this.getParent.apply(this, args); - } - [S$1.$getParent]() { - let completer = T$0.CompleterOfEntry().new(); - 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[149], 15465, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$moveTo](parent, opts) { - 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$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[149], 15482, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._remove$1](...args) { - return this.remove.apply(this, args); - } - [$remove]() { - let completer = async.Completer.new(); - this[S$1._remove$1](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1.$toUrl](...args) { - return this.toURL.apply(this, args); - } -}; -dart.addTypeTests(html$.Entry); -dart.addTypeCaches(html$.Entry); -dart.setMethodSignature(html$.Entry, () => ({ - __proto__: dart.getMethods(html$.Entry.__proto__), - [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$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$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), - [S$0.$fullPath]: dart.nullable(core.String), - [S$0.$isDirectory]: dart.nullable(core.bool), - [S$0.$isFile]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String) -})); -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[149], 9614, 40, "path"); - let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - 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[149], 9633, 37, "path"); - return this[S$0._getDirectory](path); - } - [S$0.$createFile](path, opts) { - 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[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[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); - } - [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_3](path, options_1); - return; - } - this[S$0.__getDirectory_4](path); - return; - } - [S$0.__getDirectory_1](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_2](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_3](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_4](...args) { - return this.getDirectory.apply(this, args); - } - [S$0._getDirectory](path, opts) { - 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[149], 9699, 36, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_3](path, options_1); - return; - } - this[S$0.__getFile_4](path); - return; - } - [S$0.__getFile_1](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_2](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_3](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_4](...args) { - return this.getFile.apply(this, args); - } - [S$0._getFile](path, opts) { - 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[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[149], 9748, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0._removeRecursively](...args) { - return this.removeRecursively.apply(this, args); - } - [S$0.$removeRecursively]() { - let completer = async.Completer.new(); - this[S$0._removeRecursively](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.DirectoryEntry); -dart.addTypeCaches(html$.DirectoryEntry); -dart.setMethodSignature(html$.DirectoryEntry, () => ({ - __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), - [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [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.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); -dart.setLibraryUri(html$.DirectoryEntry, I[150]); -dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); -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$1.$readEntries]() { - let completer = T$0.CompleterOfListOfEntry().new(); - 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)) { - _js_helper.applyExtension("FileEntry", 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[149], 9804, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.DirectoryReader); -dart.addTypeCaches(html$.DirectoryReader); -dart.setMethodSignature(html$.DirectoryReader, () => ({ - __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [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.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); - ; -}).prototype = html$.DivElement.prototype; -dart.addTypeTests(html$.DivElement); -dart.addTypeCaches(html$.DivElement); -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$1._body]() { - return this.body; - } - set [S$1._body](value) { - this.body = value; - } - get [S$1.$contentType]() { - return this.contentType; - } - get [S$1.$cookie]() { - return this.cookie; - } - set [S$1.$cookie](value) { - this.cookie = value; - } - get [S$1.$currentScript]() { - return this.currentScript; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.defaultView; - } - get [S$1.$documentElement]() { - return this.documentElement; - } - get [S$1.$domain]() { - return this.domain; - } - get [S$1.$fullscreenEnabled]() { - return this.fullscreenEnabled; - } - get [S$1._head$1]() { - return this.head; - } - get [S.$hidden]() { - return this.hidden; - } - get [S$1.$implementation]() { - return this.implementation; - } - get [S$1._lastModified]() { - return this.lastModified; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1._preferredStylesheetSet]() { - return this.preferredStylesheetSet; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1._referrer]() { - return this.referrer; - } - get [S$1.$rootElement]() { - return this.rootElement; - } - get [S$1.$rootScroller]() { - return this.rootScroller; - } - set [S$1.$rootScroller](value) { - this.rootScroller = value; - } - get [S$1.$scrollingElement]() { - return this.scrollingElement; - } - get [S$1._selectedStylesheetSet]() { - return this.selectedStylesheetSet; - } - set [S$1._selectedStylesheetSet](value) { - this.selectedStylesheetSet = value; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - get [S$.$timeline]() { - return this.timeline; - } - get [S$1._title]() { - return this.title; - } - set [S$1._title](value) { - this.title = value; - } - get [S$1._visibilityState]() { - return this.visibilityState; - } - get [S$1._webkitFullscreenElement]() { - return this.webkitFullscreenElement; - } - get [S$1._webkitFullscreenEnabled]() { - return this.webkitFullscreenEnabled; - } - get [S$1._webkitHidden]() { - return this.webkitHidden; - } - get [S$1._webkitVisibilityState]() { - return this.webkitVisibilityState; - } - [S$1.$adoptNode](...args) { - return this.adoptNode.apply(this, args); - } - [S$1._caretRangeFromPoint](...args) { - return this.caretRangeFromPoint.apply(this, args); - } - [S$1.$createDocumentFragment](...args) { - return this.createDocumentFragment.apply(this, args); - } - [S$1._createElement](...args) { - return this.createElement.apply(this, args); - } - [S$1._createElementNS](...args) { - return this.createElementNS.apply(this, args); - } - [S._createEvent](...args) { - return this.createEvent.apply(this, args); - } - [S$1.$createRange](...args) { - return this.createRange.apply(this, args); - } - [S$1._createTextNode](...args) { - 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[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); - } - if (rotationAngle != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); - } - if (radiusY != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); - } - if (radiusX != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); - } - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); - } - [S$1._createTouch_1](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_2](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_3](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_4](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_5](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouchList](...args) { - return this.createTouchList.apply(this, args); - } - [S$1.$execCommand](...args) { - return this.execCommand.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.exitFullscreen.apply(this, args); - } - [S$1.$exitPointerLock](...args) { - return this.exitPointerLock.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S$1.$getElementsByName](...args) { - return this.getElementsByName.apply(this, args); - } - [S$1.$getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S$1.$importNode](...args) { - return this.importNode.apply(this, args); - } - [S$1.$queryCommandEnabled](...args) { - return this.queryCommandEnabled.apply(this, args); - } - [S$1.$queryCommandIndeterm](...args) { - return this.queryCommandIndeterm.apply(this, args); - } - [S$1.$queryCommandState](...args) { - return this.queryCommandState.apply(this, args); - } - [S$1.$queryCommandSupported](...args) { - return this.queryCommandSupported.apply(this, args); - } - [S$1.$queryCommandValue](...args) { - return this.queryCommandValue.apply(this, args); - } - [S$1.$registerElement2](type, options = null) { - 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); - } - return this[S$1._registerElement2_2](type); - } - [S$1._registerElement2_1](...args) { - return this.registerElement.apply(this, args); - } - [S$1._registerElement2_2](...args) { - return this.registerElement.apply(this, args); - } - [S$1._webkitExitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1._styleSheets]() { - return this.styleSheets; - } - [S$1._elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - get [S$1.$fonts]() { - return this.fonts; - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._children]() { - return this.children; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forTarget(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forTarget(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forTarget(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$1.$onPointerLockChange]() { - return html$.Document.pointerLockChangeEvent.forTarget(this); - } - get [S$1.$onPointerLockError]() { - return html$.Document.pointerLockErrorEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$1.$onReadyStateChange]() { - return html$.Document.readyStateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$1.$onSecurityPolicyViolation]() { - return html$.Document.securityPolicyViolationEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$1.$onSelectionChange]() { - return html$.Document.selectionChangeEvent.forTarget(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forTarget(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forTarget(this); - } - [S.$querySelectorAll](T, 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]() { - return "registerElement" in this; - } - get [S$1.$supportsRegister]() { - return this[S$1.$supportsRegisterElement]; - } - [S$1.$registerElement](tag, customElementClass, opts) { - 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[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[149], 10459, 27, "tagName"); - return this.createElement(tagName); - } - [S$1._createElementNS_2](namespaceURI, 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[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[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[149], 10479, 37, "root"); - return this.createTreeWalker(root, whatToShow, filter, false); - } - get [S$1.$visibilityState]() { - return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; - } -}; -dart.addTypeTests(html$.Document); -dart.addTypeCaches(html$.Document); -dart.setMethodSignature(html$.Document, () => ({ - __proto__: dart.getMethods(html$.Document.__proto__), - [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), - [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), - [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), - [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), - [S._createEvent]: dart.fnType(html$.Event, [core.String]), - [S$1.$createRange]: dart.fnType(html$.Range, []), - [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), - [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), - [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), - [S$1.$exitFullscreen]: dart.fnType(dart.void, []), - [S$1.$exitPointerLock]: dart.fnType(dart.void, []), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), - [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), - [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), - [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._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]), - [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), - [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), - [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), - [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), - [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), - [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$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$1.$implementation]: dart.nullable(html$.DomImplementation), - [S$1._lastModified]: dart.nullable(core.String), - [S$.$origin]: 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), - [S$1.$rootScroller]: dart.nullable(html$.Element), - [S$1.$scrollingElement]: dart.nullable(html$.Element), - [S$1._selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$suborigin]: dart.nullable(core.String), - [S$.$timeline]: dart.nullable(html$.DocumentTimeline), - [S$1._title]: core.String, - [S$1._visibilityState]: dart.nullable(core.String), - [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), - [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), - [S$1._webkitHidden]: dart.nullable(core.bool), - [S$1._webkitVisibilityState]: dart.nullable(core.String), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$1.$fonts]: dart.nullable(html$.FontFaceSet), - [S._childElementCount]: core.int, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onBeforeCopy]: async.Stream$(html$.Event), - [S.$onBeforeCut]: async.Stream$(html$.Event), - [S.$onBeforePaste]: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onCopy]: async.Stream$(html$.ClipboardEvent), - [S.$onCut]: async.Stream$(html$.ClipboardEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [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$1.$onPointerLockChange]: async.Stream$(html$.Event), - [S$1.$onPointerLockError]: 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$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$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$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$.$onFullscreenChange]: async.Stream$(html$.Event), - [S$.$onFullscreenError]: async.Stream$(html$.Event), - [S$1.$supportsRegisterElement]: core.bool, - [S$1.$supportsRegister]: core.bool, - [S$1.$visibilityState]: core.String -})); -dart.setSetterSignature(html$.Document, () => ({ - __proto__: dart.getSetters(html$.Document.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); -dart.defineLazy(html$.Document, { - /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[332] || CT.C332; - }, - /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[333] || CT.C333; - }, - /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[334] || CT.C334; - }, - /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[335] || CT.C335; - }, - /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[336] || CT.C336; - } -}, false); -dart.registerExtension("Document", html$.Document); -html$.DocumentFragment = class DocumentFragment extends html$.Node { - get [S$1._docChildren]() { - return this._docChildren; - } - set [S$1._docChildren](value) { - this._docChildren = value; - } - 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")); - } - get [S.$children]() { - if (this[S$1._docChildren] == null) { - this[S$1._docChildren] = new html_common.FilteredElementList.new(this); - } - return dart.nullCheck(this[S$1._docChildren]); - } - set [S.$children](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[149], 10551, 61, "selectors"); - return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); - } - get [S.$innerHtml]() { - let e = html$.DivElement.new(); - e[S.$append](this[S$.$clone](true)); - return e[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$nodes][$clear](); - this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - [S.$appendText](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[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); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } -}; -dart.addTypeTests(html$.DocumentFragment); -dart.addTypeCaches(html$.DocumentFragment); -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]), - [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [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]) -})); -dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); -dart.setGetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getGetters(html$.DocumentFragment.__proto__), - [S._children]: html$.HtmlCollection, - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) -})); -dart.setSetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getSetters(html$.DocumentFragment.__proto__), - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DocumentOrShadowRoot.__(); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } -}; -dart.addTypeTests(html$.DocumentOrShadowRoot); -dart.addTypeCaches(html$.DocumentOrShadowRoot); -dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ - __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), - [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.$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), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) -})); -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); - return html$.DocumentTimeline._create_1(options_1); - } - return html$.DocumentTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.DocumentTimeline.new(options); - } - static _create_1(options) { - return new DocumentTimeline(options); - } - static _create_2() { - return new DocumentTimeline(); - } -}; -dart.addTypeTests(html$.DocumentTimeline); -dart.addTypeCaches(html$.DocumentTimeline); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomError.__(); - } - static new(name, message = null) { - 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); - } - static _create_2(name) { - return new DOMError(name); - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("DOMError", html$.DomError); -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; - } - [$toString]() { - return String(this); - } -}; -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[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"; - }, - /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { - return "HierarchyRequestError"; - }, - /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { - return "WrongDocumentError"; - }, - /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { - return "InvalidCharacterError"; - }, - /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { - return "NoModificationAllowedError"; - }, - /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { - return "NotFoundError"; - }, - /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { - return "NotSupportedError"; - }, - /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { - return "InvalidStateError"; - }, - /*html$.DomException.SYNTAX*/get SYNTAX() { - return "SyntaxError"; - }, - /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { - return "InvalidModificationError"; - }, - /*html$.DomException.NAMESPACE*/get NAMESPACE() { - return "NamespaceError"; - }, - /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { - return "InvalidAccessError"; - }, - /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { - return "TypeMismatchError"; - }, - /*html$.DomException.SECURITY*/get SECURITY() { - return "SecurityError"; - }, - /*html$.DomException.NETWORK*/get NETWORK() { - return "NetworkError"; - }, - /*html$.DomException.ABORT*/get ABORT() { - return "AbortError"; - }, - /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { - return "URLMismatchError"; - }, - /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { - return "QuotaExceededError"; - }, - /*html$.DomException.TIMEOUT*/get TIMEOUT() { - return "TimeoutError"; - }, - /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { - return "InvalidNodeTypeError"; - }, - /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { - return "DataCloneError"; - }, - /*html$.DomException.ENCODING*/get ENCODING() { - return "EncodingError"; - }, - /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { - return "NotReadableError"; - }, - /*html$.DomException.UNKNOWN*/get UNKNOWN() { - return "UnknownError"; - }, - /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { - return "ConstraintError"; - }, - /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { - return "TransactionInactiveError"; - }, - /*html$.DomException.READ_ONLY*/get READ_ONLY() { - return "ReadOnlyError"; - }, - /*html$.DomException.VERSION*/get VERSION() { - return "VersionError"; - }, - /*html$.DomException.OPERATION*/get OPERATION() { - return "OperationError"; - }, - /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { - return "NotAllowedError"; - }, - /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { - return "TypeError"; - } -}, false); -dart.registerExtension("DOMException", html$.DomException); -html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomImplementation.__(); - } - [S$1.$createDocument](...args) { - return this.createDocument.apply(this, args); - } - [S$1.$createDocumentType](...args) { - return this.createDocumentType.apply(this, args); - } - [S.$createHtmlDocument](...args) { - return this.createHTMLDocument.apply(this, args); - } - [S$1.$hasFeature](...args) { - return this.hasFeature.apply(this, args); - } -}; -dart.addTypeTests(html$.DomImplementation); -dart.addTypeCaches(html$.DomImplementation); -dart.setMethodSignature(html$.DomImplementation, () => ({ - __proto__: dart.getMethods(html$.DomImplementation.__proto__), - [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), - [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), - [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), - [S$1.$hasFeature]: dart.fnType(core.bool, []) -})); -dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); -dart.setLibraryUri(html$.DomImplementation, I[150]); -dart.registerExtension("DOMImplementation", html$.DomImplementation); -html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomIterator.__(); - } - [S.$next](...args) { - return this.next.apply(this, args); - } -}; -dart.addTypeTests(html$.DomIterator); -dart.addTypeCaches(html$.DomIterator); -dart.setMethodSignature(html$.DomIterator, () => ({ - __proto__: dart.getMethods(html$.DomIterator.__proto__), - [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) -})); -dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); -dart.setLibraryUri(html$.DomIterator, I[150]); -dart.registerExtension("Iterator", html$.DomIterator); -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); - } - return html$.DomMatrixReadOnly._create_2(); - } - static _create_1(init) { - return new DOMMatrixReadOnly(init); - } - static _create_2() { - return new DOMMatrixReadOnly(); - } - get [S$1.$a]() { - return this.a; - } - get [S$1.$b]() { - return this.b; - } - get [S$1.$c]() { - return this.c; - } - get [S$1.$d]() { - return this.d; - } - get [S$1.$e]() { - return this.e; - } - get [S$1.$f]() { - return this.f; - } - get [S$.$is2D]() { - return this.is2D; - } - get [S$1.$isIdentity]() { - return this.isIdentity; - } - get [S$1.$m11]() { - return this.m11; - } - get [S$1.$m12]() { - return this.m12; - } - get [S$1.$m13]() { - return this.m13; - } - get [S$1.$m14]() { - return this.m14; - } - get [S$1.$m21]() { - return this.m21; - } - get [S$1.$m22]() { - return this.m22; - } - get [S$1.$m23]() { - return this.m23; - } - get [S$1.$m24]() { - return this.m24; - } - get [S$1.$m31]() { - return this.m31; - } - get [S$1.$m32]() { - return this.m32; - } - get [S$1.$m33]() { - return this.m33; - } - get [S$1.$m34]() { - return this.m34; - } - get [S$1.$m41]() { - return this.m41; - } - get [S$1.$m42]() { - return this.m42; - } - get [S$1.$m43]() { - return this.m43; - } - get [S$1.$m44]() { - return this.m44; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); - } - return dart.global.DOMMatrixReadOnly.fromMatrix(); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiply_1](other_1); - } - return this[S$1._multiply_2](); - } - [S$1._multiply_1](...args) { - return this.multiply.apply(this, args); - } - [S$1._multiply_2](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateAxisAngle](...args) { - return this.rotateAxisAngle.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$1.$scale3d](...args) { - return this.scale3d.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S$1.$toFloat32Array](...args) { - return this.toFloat32Array.apply(this, args); - } - [S$1.$toFloat64Array](...args) { - return this.toFloat64Array.apply(this, args); - } - [S$1.$transformPoint](point = null) { - if (point != null) { - let point_1 = html_common.convertDartToNative_Dictionary(point); - return this[S$1._transformPoint_1](point_1); - } - return this[S$1._transformPoint_2](); - } - [S$1._transformPoint_1](...args) { - return this.transformPoint.apply(this, args); - } - [S$1._transformPoint_2](...args) { - return this.transformPoint.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } -}; -dart.addTypeTests(html$.DomMatrixReadOnly); -dart.addTypeCaches(html$.DomMatrixReadOnly); -dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), - [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), - [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), - [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), - [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), - [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), - [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$.$is2D]: dart.nullable(core.bool), - [S$1.$isIdentity]: dart.nullable(core.bool), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) -})); -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); - } - static _create_2() { - return new DOMMatrix(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - get [S$1.$m11]() { - return this.m11; - } - set [S$1.$m11](value) { - this.m11 = value; - } - get [S$1.$m12]() { - return this.m12; - } - set [S$1.$m12](value) { - this.m12 = value; - } - get [S$1.$m13]() { - return this.m13; - } - set [S$1.$m13](value) { - this.m13 = value; - } - get [S$1.$m14]() { - return this.m14; - } - set [S$1.$m14](value) { - this.m14 = value; - } - get [S$1.$m21]() { - return this.m21; - } - set [S$1.$m21](value) { - this.m21 = value; - } - get [S$1.$m22]() { - return this.m22; - } - set [S$1.$m22](value) { - this.m22 = value; - } - get [S$1.$m23]() { - return this.m23; - } - set [S$1.$m23](value) { - this.m23 = value; - } - get [S$1.$m24]() { - return this.m24; - } - set [S$1.$m24](value) { - this.m24 = value; - } - get [S$1.$m31]() { - return this.m31; - } - set [S$1.$m31](value) { - this.m31 = value; - } - get [S$1.$m32]() { - return this.m32; - } - set [S$1.$m32](value) { - this.m32 = value; - } - get [S$1.$m33]() { - return this.m33; - } - set [S$1.$m33](value) { - this.m33 = value; - } - get [S$1.$m34]() { - return this.m34; - } - set [S$1.$m34](value) { - this.m34 = value; - } - get [S$1.$m41]() { - return this.m41; - } - set [S$1.$m41](value) { - this.m41 = value; - } - get [S$1.$m42]() { - return this.m42; - } - set [S$1.$m42](value) { - this.m42 = value; - } - get [S$1.$m43]() { - return this.m43; - } - set [S$1.$m43](value) { - this.m43 = value; - } - get [S$1.$m44]() { - return this.m44; - } - set [S$1.$m44](value) { - this.m44 = value; - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrix.fromMatrix(other_1); - } - return dart.global.DOMMatrix.fromMatrix(); - } - [S$1.$invertSelf](...args) { - return this.invertSelf.apply(this, args); - } - [S$1.$multiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiplySelf_1](other_1); - } - return this[S$1._multiplySelf_2](); - } - [S$1._multiplySelf_1](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1._multiplySelf_2](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1.$preMultiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._preMultiplySelf_1](other_1); - } - return this[S$1._preMultiplySelf_2](); - } - [S$1._preMultiplySelf_1](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1._preMultiplySelf_2](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1.$rotateAxisAngleSelf](...args) { - return this.rotateAxisAngleSelf.apply(this, args); - } - [S$1.$rotateFromVectorSelf](...args) { - return this.rotateFromVectorSelf.apply(this, args); - } - [S$1.$rotateSelf](...args) { - return this.rotateSelf.apply(this, args); - } - [S$1.$scale3dSelf](...args) { - return this.scale3dSelf.apply(this, args); - } - [S$1.$scaleSelf](...args) { - return this.scaleSelf.apply(this, args); - } - [S$1.$setMatrixValue](...args) { - return this.setMatrixValue.apply(this, args); - } - [S$1.$skewXSelf](...args) { - return this.skewXSelf.apply(this, args); - } - [S$1.$skewYSelf](...args) { - return this.skewYSelf.apply(this, args); - } - [S$1.$translateSelf](...args) { - return this.translateSelf.apply(this, args); - } -}; -dart.addTypeTests(html$.DomMatrix); -dart.addTypeCaches(html$.DomMatrix); -dart.setMethodSignature(html$.DomMatrix, () => ({ - __proto__: dart.getMethods(html$.DomMatrix.__proto__), - [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), - [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DomMatrix, I[150]); -dart.registerExtension("DOMMatrix", html$.DomMatrix); -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(); - } - [S$1.$parseFromString](...args) { - return this.parseFromString.apply(this, args); - } -}; -dart.addTypeTests(html$.DomParser); -dart.addTypeCaches(html$.DomParser); -dart.setMethodSignature(html$.DomParser, () => ({ - __proto__: dart.getMethods(html$.DomParser.__proto__), - [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) -})); -dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.DomParser, I[150]); -dart.registerExtension("DOMParser", html$.DomParser); -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); - } - if (z != null) { - return html$.DomPointReadOnly._create_2(x, y, z); - } - if (y != null) { - return html$.DomPointReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomPointReadOnly._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPointReadOnly(x, y, z); - } - static _create_3(x, y) { - return new DOMPointReadOnly(x, y); - } - static _create_4(x) { - return new DOMPointReadOnly(x); - } - static _create_5() { - return new DOMPointReadOnly(); - } - get [S$1.$w]() { - return this.w; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPointReadOnly.fromPoint(other_1); - } - return dart.global.DOMPointReadOnly.fromPoint(); - } - [S$1.$matrixTransform](matrix = null) { - if (matrix != null) { - let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); - return this[S$1._matrixTransform_1](matrix_1); - } - return this[S$1._matrixTransform_2](); - } - [S$1._matrixTransform_1](...args) { - return this.matrixTransform.apply(this, args); - } - [S$1._matrixTransform_2](...args) { - return this.matrixTransform.apply(this, args); - } -}; -dart.addTypeTests(html$.DomPointReadOnly); -dart.addTypeCaches(html$.DomPointReadOnly); -dart.setMethodSignature(html$.DomPointReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), - [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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); - } - if (z != null) { - return html$.DomPoint._create_2(x, y, z); - } - if (y != null) { - return html$.DomPoint._create_3(x, y); - } - if (x != null) { - return html$.DomPoint._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPoint(x, y, z); - } - static _create_3(x, y) { - return new DOMPoint(x, y); - } - static _create_4(x) { - return new DOMPoint(x); - } - static _create_5() { - return new DOMPoint(); - } - static get supported() { - return !!window.DOMPoint || !!window.WebKitPoint; - } - get [S$1.$w]() { - return this.w; - } - set [S$1.$w](value) { - this.w = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPoint.fromPoint(other_1); - } - return dart.global.DOMPoint.fromPoint(); - } -}; -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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); -dart.setLibraryUri(html$.DomPoint, I[150]); -dart.registerExtension("DOMPoint", html$.DomPoint); -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); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - let p4_4 = html_common.convertDartToNative_Dictionary(p4); - return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); - } - if (p3 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - return html$.DomQuad._create_2(p1_1, p2_2, p3_3); - } - if (p2 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - return html$.DomQuad._create_3(p1_1, p2_2); - } - if (p1 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - return html$.DomQuad._create_4(p1_1); - } - 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); - } - static _create_2(p1, p2, p3) { - return new DOMQuad(p1, p2, p3); - } - static _create_3(p1, p2) { - return new DOMQuad(p1, p2); - } - static _create_4(p1) { - return new DOMQuad(p1); - } - static _create_5() { - return new DOMQuad(); - } - get [S$1.$p1]() { - return this.p1; - } - get [S$1.$p2]() { - return this.p2; - } - get [S$1.$p3]() { - return this.p3; - } - get [S$1.$p4]() { - return this.p4; - } - static fromQuad(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromQuad(other_1); - } - return dart.global.DOMQuad.fromQuad(); - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromRect(other_1); - } - return dart.global.DOMQuad.fromRect(); - } - [S$1.$getBounds](...args) { - return this.getBounds.apply(this, args); - } -}; -dart.addTypeTests(html$.DomQuad); -dart.addTypeCaches(html$.DomQuad); -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), - [S$1.$p2]: dart.nullable(html$.DomPoint), - [S$1.$p3]: dart.nullable(html$.DomPoint), - [S$1.$p4]: dart.nullable(html$.DomPoint) -})); -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 __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 (__t$FixedSizeListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - add(value) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); - } - addAll(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) { - dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); - } - insert(index, element) { - 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[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[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[149], 38043, 18, "pos"); - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeLast() { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - remove(object) { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeWhere(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[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[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[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[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[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.")); - } - } - (ImmutableListMixin.new = function() { - ; - }).prototype = ImmutableListMixin.prototype; - ImmutableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ImmutableListMixin); - ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; - dart.addTypeCaches(ImmutableListMixin); - ImmutableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ImmutableListMixin, () => ({ - __proto__: dart.getMethods(ImmutableListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ImmutableListMixin, () => ({ - __proto__: dart.getGetters(ImmutableListMixin.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ImmutableListMixin, I[150]); - dart.defineExtensionMethods(ImmutableListMixin, [ - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'removeAt', - 'removeLast', - 'remove', - 'removeWhere', - 'retainWhere', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); - return ImmutableListMixin; -}); -html$.ImmutableListMixin = html$.ImmutableListMixin$(); -dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); -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[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[149], 11434, 25, "index"); - T$0.RectangleOfnum().as(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[149], 11440, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11468, 27, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.DomRectList.prototype[dart.isList] = true; -dart.addTypeTests(html$.DomRectList); -dart.addTypeCaches(html$.DomRectList); -html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; -dart.setMethodSignature(html$.DomRectList, () => ({ - __proto__: dart.getMethods(html$.DomRectList.__proto__), - [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), - [$_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 -})); -dart.setSetterSignature(html$.DomRectList, () => ({ - __proto__: dart.getSetters(html$.DomRectList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.DomRectList, I[150]); -dart.registerExtension("ClientRectList", html$.DomRectList); -dart.registerExtension("DOMRectList", html$.DomRectList); -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]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$.DomRectReadOnly._create_2(x, y, width); - } - if (y != null) { - return html$.DomRectReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomRectReadOnly._create_4(x); - } - return html$.DomRectReadOnly._create_5(); - } - static _create_1(x, y, width, height) { - return new DOMRectReadOnly(x, y, width, height); - } - static _create_2(x, y, width) { - return new DOMRectReadOnly(x, y, width); - } - static _create_3(x, y) { - return new DOMRectReadOnly(x, y); - } - static _create_4(x) { - return new DOMRectReadOnly(x); - } - static _create_5() { - return new DOMRectReadOnly(); - } - get [S$0._bottom]() { - return this.bottom; - } - get [$bottom]() { - return dart.nullCheck(this[S$0._bottom]); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - get [S$0._left$2]() { - return this.left; - } - get [$left]() { - return dart.nullCheck(this[S$0._left$2]); - } - get [S$0._right$2]() { - return this.right; - } - get [$right]() { - return dart.nullCheck(this[S$0._right$2]); - } - get [S$0._top]() { - return this.top; - } - get [$top]() { - return dart.nullCheck(this[S$0._top]); - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMRectReadOnly.fromRect(other_1); - } - return dart.global.DOMRectReadOnly.fromRect(); - } -}; -dart.addTypeTests(html$.DomRectReadOnly); -dart.addTypeCaches(html$.DomRectReadOnly); -html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; -dart.setMethodSignature(html$.DomRectReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$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), - [$topRight]: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num), - [S$0._bottom]: dart.nullable(core.num), - [$bottom]: core.num, - [S$0._height$1]: dart.nullable(core.num), - [$height]: core.num, - [S$0._left$2]: dart.nullable(core.num), - [$left]: core.num, - [S$0._right$2]: dart.nullable(core.num), - [$right]: core.num, - [S$0._top]: dart.nullable(core.num), - [$top]: core.num, - [S$0._width$1]: dart.nullable(core.num), - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DomRectReadOnly, I[150]); -dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); -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[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[149], 11684, 25, "index"); - core.String.as(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[149], 11690, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11718, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.DomStringList.prototype[dart.isList] = true; -dart.addTypeTests(html$.DomStringList); -dart.addTypeCaches(html$.DomStringList); -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 -})); -dart.setSetterSignature(html$.DomStringList, () => ({ - __proto__: dart.getSetters(html$.DomStringList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.DomStringList, I[150]); -dart.registerExtension("DOMStringList", html$.DomStringList); -html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomStringMap.__(); - } - [S$1.__delete__](...args) { - return this.__delete__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.DomStringMap); -dart.addTypeCaches(html$.DomStringMap); -dart.setMethodSignature(html$.DomStringMap, () => ({ - __proto__: dart.getMethods(html$.DomStringMap.__proto__), - [S$1.__delete__]: dart.fnType(dart.void, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), - [S$.$item]: dart.fnType(core.String, [core.String]) -})); -dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); -dart.setLibraryUri(html$.DomStringMap, I[150]); -dart.registerExtension("DOMStringMap", html$.DomStringMap); -html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomTokenList.__(); - } - get [$length]() { - return this.length; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [$add](...args) { - return this.add.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - [S$1.$supports](...args) { - return this.supports.apply(this, args); - } - [S$1.$toggle](...args) { - return this.toggle.apply(this, args); - } -}; -dart.addTypeTests(html$.DomTokenList); -dart.addTypeCaches(html$.DomTokenList); -dart.setMethodSignature(html$.DomTokenList, () => ({ - __proto__: dart.getMethods(html$.DomTokenList.__proto__), - [$add]: dart.fnType(dart.void, [core.String]), - [$contains]: dart.fnType(core.bool, [core.String]), - [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), - [$remove]: dart.fnType(dart.void, [core.String]), - [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), - [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, - [S.$value]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.DomTokenList, () => ({ - __proto__: dart.getSetters(html$.DomTokenList.__proto__), - [S.$value]: dart.nullable(core.String) -})); -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][S._firstElementChild] == null; - } - get length() { - return this[S$1._childElements][$length]; - } - _get(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[149], 11799, 25, "index"); - html$.Element.as(value); - 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[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[149], 11808, 23, "value"); - this[S$1._element][S.$append](value); - return value; - } - get iterator() { - return this.toList()[$iterator]; - } - addAll(iterable) { - T$0.IterableOfElement().as(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[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); - } - for (let element of iterable) { - _element[S.$append](element); - } - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); - } - removeWhere(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[149], 11841, 25, "test"); - this[S$1._filter$2](test, true); - } - [S$1._filter$2](test, 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][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][S.$children][$where](test); - } - for (let e of removed) - e[$remove](); - } - fillRange(start, end, fillValue = null) { - 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[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[149], 11859, 59, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - removeRange(start, 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[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[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], object); - } - static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); - if (html$.Element.is(object)) { - let element = object; - if (element.parentNode == _element) { - _element[S$._removeChild](element); - return true; - } - } - return false; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); - html$.Element.as(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][S.$append](element); - } else { - this[S$1._element].insertBefore(element, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); - T$0.IterableOfElement().as(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[149], 11902, 19, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - clear() { - this[S$1._element][S$._clearChildren](); - } - removeAt(index) { - if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); - let result = this._get(index); - if (result != null) { - this[S$1._element][S$._removeChild](result); - } - return result; - } - removeLast() { - let result = this.last; - this[S$1._element][S$._removeChild](result); - return result; - } - get first() { - return html$._ChildrenElementList._first(this[S$1._element]); - } - set first(value) { - super.first = value; - } - static _first(_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][S._lastElementChild]; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); - return this.first; - } - get rawList() { - return this[S$1._childElements]; - } -}; -(html$._ChildrenElementList._wrap = function(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] = element; - ; -}).prototype = html$._ChildrenElementList.prototype; -dart.addTypeTests(html$._ChildrenElementList); -dart.addTypeCaches(html$._ChildrenElementList); -html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), - [$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, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html$._ChildrenElementList, I[150]); -dart.setFieldSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element), - [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) -})); -dart.defineExtensionMethods(html$._ChildrenElementList, [ - 'contains', - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'removeWhere', - 'retainWhere', - 'fillRange', - 'replaceRange', - 'removeRange', - 'setRange', - 'remove', - 'insert', - 'insertAll', - 'setAll', - 'clear', - 'removeAt', - 'removeLast' -]); -dart.defineExtensionAccessors(html$._ChildrenElementList, [ - 'isEmpty', - 'length', - 'iterator', - 'first', - 'last', - 'single' -]); -const _is_ElementList_default = Symbol('_is_ElementList_default'); -html$.ElementList$ = dart.generic(T => { - class ElementList extends collection.ListBase$(T) {} - (ElementList.new = function() { - ; - }).prototype = ElementList.prototype; - dart.addTypeTests(ElementList); - ElementList.prototype[_is_ElementList_default] = true; - dart.addTypeCaches(ElementList); - 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 __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[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[149], 12345, 25, "index"); - E.as(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[149], 12349, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot modify list")); - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); - } - get first() { - return E.as(this[S$1._nodeList][$first]); - } - set first(value) { - super.first = value; - } - get last() { - return E.as(this[S$1._nodeList][$last]); - } - set last(value) { - super.last = value; - } - get single() { - return E.as(this[S$1._nodeList][$single]); - } - get classes() { - return html$._MultiElementCssClassSet.new(this); - } - get style() { - return new html$._CssStyleDeclarationSet.new(this); - } - set classes(value) { - if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); - this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); - return e[S.$classes] = value; - }, __t$ETovoid())); - } - get contentEdge() { - return new html$._ContentCssListRect.new(this); - } - get paddingEdge() { - return this.first[S.$paddingEdge]; - } - get borderEdge() { - return this.first[S.$borderEdge]; - } - get marginEdge() { - return this.first[S.$marginEdge]; - } - get rawList() { - return this[S$1._nodeList]; - } - get onAbort() { - return html$.Element.abortEvent[S$1._forElementList](this); - } - get onBeforeCopy() { - return html$.Element.beforeCopyEvent[S$1._forElementList](this); - } - get onBeforeCut() { - return html$.Element.beforeCutEvent[S$1._forElementList](this); - } - get onBeforePaste() { - return html$.Element.beforePasteEvent[S$1._forElementList](this); - } - get onBlur() { - return html$.Element.blurEvent[S$1._forElementList](this); - } - get onCanPlay() { - return html$.Element.canPlayEvent[S$1._forElementList](this); - } - get onCanPlayThrough() { - return html$.Element.canPlayThroughEvent[S$1._forElementList](this); - } - get onChange() { - return html$.Element.changeEvent[S$1._forElementList](this); - } - get onClick() { - return html$.Element.clickEvent[S$1._forElementList](this); - } - get onContextMenu() { - return html$.Element.contextMenuEvent[S$1._forElementList](this); - } - get onCopy() { - return html$.Element.copyEvent[S$1._forElementList](this); - } - get onCut() { - return html$.Element.cutEvent[S$1._forElementList](this); - } - get onDoubleClick() { - return html$.Element.doubleClickEvent[S$1._forElementList](this); - } - get onDrag() { - return html$.Element.dragEvent[S$1._forElementList](this); - } - get onDragEnd() { - return html$.Element.dragEndEvent[S$1._forElementList](this); - } - get onDragEnter() { - return html$.Element.dragEnterEvent[S$1._forElementList](this); - } - get onDragLeave() { - return html$.Element.dragLeaveEvent[S$1._forElementList](this); - } - get onDragOver() { - return html$.Element.dragOverEvent[S$1._forElementList](this); - } - get onDragStart() { - return html$.Element.dragStartEvent[S$1._forElementList](this); - } - get onDrop() { - return html$.Element.dropEvent[S$1._forElementList](this); - } - get onDurationChange() { - return html$.Element.durationChangeEvent[S$1._forElementList](this); - } - get onEmptied() { - return html$.Element.emptiedEvent[S$1._forElementList](this); - } - get onEnded() { - return html$.Element.endedEvent[S$1._forElementList](this); - } - get onError() { - return html$.Element.errorEvent[S$1._forElementList](this); - } - get onFocus() { - return html$.Element.focusEvent[S$1._forElementList](this); - } - get onInput() { - return html$.Element.inputEvent[S$1._forElementList](this); - } - get onInvalid() { - return html$.Element.invalidEvent[S$1._forElementList](this); - } - get onKeyDown() { - return html$.Element.keyDownEvent[S$1._forElementList](this); - } - get onKeyPress() { - return html$.Element.keyPressEvent[S$1._forElementList](this); - } - get onKeyUp() { - return html$.Element.keyUpEvent[S$1._forElementList](this); - } - get onLoad() { - return html$.Element.loadEvent[S$1._forElementList](this); - } - get onLoadedData() { - return html$.Element.loadedDataEvent[S$1._forElementList](this); - } - get onLoadedMetadata() { - return html$.Element.loadedMetadataEvent[S$1._forElementList](this); - } - get onMouseDown() { - return html$.Element.mouseDownEvent[S$1._forElementList](this); - } - get onMouseEnter() { - return html$.Element.mouseEnterEvent[S$1._forElementList](this); - } - get onMouseLeave() { - return html$.Element.mouseLeaveEvent[S$1._forElementList](this); - } - get onMouseMove() { - return html$.Element.mouseMoveEvent[S$1._forElementList](this); - } - get onMouseOut() { - return html$.Element.mouseOutEvent[S$1._forElementList](this); - } - get onMouseOver() { - return html$.Element.mouseOverEvent[S$1._forElementList](this); - } - get onMouseUp() { - return html$.Element.mouseUpEvent[S$1._forElementList](this); - } - get onMouseWheel() { - return html$.Element.mouseWheelEvent[S$1._forElementList](this); - } - get onPaste() { - return html$.Element.pasteEvent[S$1._forElementList](this); - } - get onPause() { - return html$.Element.pauseEvent[S$1._forElementList](this); - } - get onPlay() { - return html$.Element.playEvent[S$1._forElementList](this); - } - get onPlaying() { - return html$.Element.playingEvent[S$1._forElementList](this); - } - get onRateChange() { - return html$.Element.rateChangeEvent[S$1._forElementList](this); - } - get onReset() { - return html$.Element.resetEvent[S$1._forElementList](this); - } - get onResize() { - return html$.Element.resizeEvent[S$1._forElementList](this); - } - get onScroll() { - return html$.Element.scrollEvent[S$1._forElementList](this); - } - get onSearch() { - return html$.Element.searchEvent[S$1._forElementList](this); - } - get onSeeked() { - return html$.Element.seekedEvent[S$1._forElementList](this); - } - get onSeeking() { - return html$.Element.seekingEvent[S$1._forElementList](this); - } - get onSelect() { - return html$.Element.selectEvent[S$1._forElementList](this); - } - get onSelectStart() { - return html$.Element.selectStartEvent[S$1._forElementList](this); - } - get onStalled() { - return html$.Element.stalledEvent[S$1._forElementList](this); - } - get onSubmit() { - return html$.Element.submitEvent[S$1._forElementList](this); - } - get onSuspend() { - return html$.Element.suspendEvent[S$1._forElementList](this); - } - get onTimeUpdate() { - return html$.Element.timeUpdateEvent[S$1._forElementList](this); - } - get onTouchCancel() { - return html$.Element.touchCancelEvent[S$1._forElementList](this); - } - get onTouchEnd() { - return html$.Element.touchEndEvent[S$1._forElementList](this); - } - get onTouchEnter() { - return html$.Element.touchEnterEvent[S$1._forElementList](this); - } - get onTouchLeave() { - return html$.Element.touchLeaveEvent[S$1._forElementList](this); - } - get onTouchMove() { - return html$.Element.touchMoveEvent[S$1._forElementList](this); - } - get onTouchStart() { - return html$.Element.touchStartEvent[S$1._forElementList](this); - } - get onTransitionEnd() { - return html$.Element.transitionEndEvent[S$1._forElementList](this); - } - get onVolumeChange() { - return html$.Element.volumeChangeEvent[S$1._forElementList](this); - } - get onWaiting() { - return html$.Element.waitingEvent[S$1._forElementList](this); - } - get onFullscreenChange() { - return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); - } - get onFullscreenError() { - return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); - } - get onWheel() { - return html$.Element.wheelEvent[S$1._forElementList](this); - } - } - (_FrozenElementList._wrap = function(_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[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[149], 12338, 93, "e"); - return !E.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; - dart.addTypeCaches(_FrozenElementList); - _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; - dart.setMethodSignature(_FrozenElementList, () => ({ - __proto__: dart.getMethods(_FrozenElementList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getGetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: html$.CssClassSet, - style: html$.CssStyleDeclarationBase, - contentEdge: html$.CssRect, - paddingEdge: html$.CssRect, - borderEdge: html$.CssRect, - marginEdge: html$.CssRect, - rawList: core.List$(html$.Node), - onAbort: html$.ElementStream$(html$.Event), - onBeforeCopy: html$.ElementStream$(html$.Event), - onBeforeCut: html$.ElementStream$(html$.Event), - onBeforePaste: html$.ElementStream$(html$.Event), - onBlur: html$.ElementStream$(html$.Event), - onCanPlay: html$.ElementStream$(html$.Event), - onCanPlayThrough: html$.ElementStream$(html$.Event), - onChange: html$.ElementStream$(html$.Event), - onClick: html$.ElementStream$(html$.MouseEvent), - onContextMenu: html$.ElementStream$(html$.MouseEvent), - onCopy: html$.ElementStream$(html$.ClipboardEvent), - onCut: html$.ElementStream$(html$.ClipboardEvent), - onDoubleClick: html$.ElementStream$(html$.Event), - onDrag: html$.ElementStream$(html$.MouseEvent), - onDragEnd: html$.ElementStream$(html$.MouseEvent), - onDragEnter: html$.ElementStream$(html$.MouseEvent), - onDragLeave: html$.ElementStream$(html$.MouseEvent), - onDragOver: html$.ElementStream$(html$.MouseEvent), - onDragStart: html$.ElementStream$(html$.MouseEvent), - onDrop: html$.ElementStream$(html$.MouseEvent), - onDurationChange: html$.ElementStream$(html$.Event), - onEmptied: html$.ElementStream$(html$.Event), - onEnded: html$.ElementStream$(html$.Event), - onError: html$.ElementStream$(html$.Event), - onFocus: html$.ElementStream$(html$.Event), - onInput: html$.ElementStream$(html$.Event), - onInvalid: html$.ElementStream$(html$.Event), - onKeyDown: html$.ElementStream$(html$.KeyboardEvent), - onKeyPress: html$.ElementStream$(html$.KeyboardEvent), - onKeyUp: html$.ElementStream$(html$.KeyboardEvent), - onLoad: html$.ElementStream$(html$.Event), - onLoadedData: html$.ElementStream$(html$.Event), - onLoadedMetadata: html$.ElementStream$(html$.Event), - onMouseDown: html$.ElementStream$(html$.MouseEvent), - onMouseEnter: html$.ElementStream$(html$.MouseEvent), - onMouseLeave: html$.ElementStream$(html$.MouseEvent), - onMouseMove: html$.ElementStream$(html$.MouseEvent), - onMouseOut: html$.ElementStream$(html$.MouseEvent), - onMouseOver: html$.ElementStream$(html$.MouseEvent), - onMouseUp: html$.ElementStream$(html$.MouseEvent), - onMouseWheel: html$.ElementStream$(html$.WheelEvent), - onPaste: html$.ElementStream$(html$.ClipboardEvent), - onPause: html$.ElementStream$(html$.Event), - onPlay: html$.ElementStream$(html$.Event), - onPlaying: html$.ElementStream$(html$.Event), - onRateChange: html$.ElementStream$(html$.Event), - onReset: html$.ElementStream$(html$.Event), - onResize: html$.ElementStream$(html$.Event), - onScroll: html$.ElementStream$(html$.Event), - onSearch: html$.ElementStream$(html$.Event), - onSeeked: html$.ElementStream$(html$.Event), - onSeeking: html$.ElementStream$(html$.Event), - onSelect: html$.ElementStream$(html$.Event), - onSelectStart: html$.ElementStream$(html$.Event), - onStalled: html$.ElementStream$(html$.Event), - onSubmit: html$.ElementStream$(html$.Event), - onSuspend: html$.ElementStream$(html$.Event), - onTimeUpdate: html$.ElementStream$(html$.Event), - onTouchCancel: html$.ElementStream$(html$.TouchEvent), - onTouchEnd: html$.ElementStream$(html$.TouchEvent), - onTouchEnter: html$.ElementStream$(html$.TouchEvent), - onTouchLeave: html$.ElementStream$(html$.TouchEvent), - onTouchMove: html$.ElementStream$(html$.TouchEvent), - onTouchStart: html$.ElementStream$(html$.TouchEvent), - onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), - onVolumeChange: html$.ElementStream$(html$.Event), - onWaiting: html$.ElementStream$(html$.Event), - onFullscreenChange: html$.ElementStream$(html$.Event), - onFullscreenError: html$.ElementStream$(html$.Event), - onWheel: html$.ElementStream$(html$.WheelEvent) - })); - dart.setSetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getSetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: core.Iterable$(core.String) - })); - dart.setLibraryUri(_FrozenElementList, I[150]); - dart.setFieldSignature(_FrozenElementList, () => ({ - __proto__: dart.getFields(_FrozenElementList.__proto__), - [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); - dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); - return _FrozenElementList; -}); -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[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.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]; - } - 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]); - } -}; -(html$.ScrollAlignment._internal = function(_value) { - this[S$1._value$6] = _value; - ; -}).prototype = html$.ScrollAlignment.prototype; -dart.addTypeTests(html$.ScrollAlignment); -dart.addTypeCaches(html$.ScrollAlignment); -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[337] || CT.C337; - }, - /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[338] || CT.C338; - }, - /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - 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"); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } -}; -(html$.EmbedElement.created = function() { - html$.EmbedElement.__proto__.created.call(this); - ; -}).prototype = html$.EmbedElement.prototype; -dart.addTypeTests(html$.EmbedElement); -dart.addTypeCaches(html$.EmbedElement); -dart.setMethodSignature(html$.EmbedElement, () => ({ - __proto__: dart.getMethods(html$.EmbedElement.__proto__), - [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, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String -})); -dart.setSetterSignature(html$.EmbedElement, () => ({ - __proto__: dart.getSetters(html$.EmbedElement.__proto__), - [$height]: core.String, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String -})); -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[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); - } - static _create_2(type) { - return new ErrorEvent(type); - } - get [S$1.$colno]() { - return this.colno; - } - get [S.$error]() { - return this.error; - } - get [S$1.$filename]() { - return this.filename; - } - get [S$1.$lineno]() { - return this.lineno; - } - get [$message]() { - return this.message; - } -}; -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), - [S.$error]: dart.nullable(core.Object), - [S$1.$filename]: dart.nullable(core.String), - [S$1.$lineno]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) -})); -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[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[149], 15742, 49, "url"); - if (eventSourceInitDict != null) { - let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); - return html$.EventSource._create_1(url, eventSourceInitDict_1); - } - return html$.EventSource._create_2(url); - } - static _create_1(url, eventSourceInitDict) { - return new EventSource(url, eventSourceInitDict); - } - static _create_2(url) { - return new EventSource(url); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - get [S.$onError]() { - return html$.EventSource.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.EventSource.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.EventSource.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.EventSource); -dart.addTypeCaches(html$.EventSource); -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), - [S$.$url]: dart.nullable(core.String), - [S$1.$withCredentials]: dart.nullable(core.bool), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -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[226] || CT.C226; - }, - /*html$.EventSource.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.EventSource.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.EventSource.CLOSED*/get CLOSED() { - return 2; - }, - /*html$.EventSource.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.EventSource.OPEN*/get OPEN() { - return 1; - } -}, 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[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[149], 15824, 15, "_ptr"); - this[S$1._ptr] = _ptr; - ; -}).prototype = html$.Events.prototype; -dart.addTypeTests(html$.Events); -dart.addTypeCaches(html$.Events); -dart.setMethodSignature(html$.Events, () => ({ - __proto__: dart.getMethods(html$.Events.__proto__), - _get: dart.fnType(async.Stream$(html$.Event), [core.String]) -})); -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[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); - } - } - return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); - } -}; -(html$.ElementEvents.new = function(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[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; - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return this.source; - } -}; -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), - [S$1.$lastEventId]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), - [S.$source]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); -dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); -html$.External = class External extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.External.__(); - } - [S$1.$AddSearchProvider](...args) { - return this.AddSearchProvider.apply(this, args); - } - [S$1.$IsSearchProviderInstalled](...args) { - return this.IsSearchProviderInstalled.apply(this, args); - } -}; -dart.addTypeTests(html$.External); -dart.addTypeCaches(html$.External); -dart.setMethodSignature(html$.External, () => ({ - __proto__: dart.getMethods(html$.External.__proto__), - [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), - [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) -})); -dart.setStaticMethodSignature(html$.External, () => ['__']); -dart.setLibraryUri(html$.External, I[150]); -dart.registerExtension("External", html$.External); -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); - return html$.FaceDetector._create_1(faceDetectorOptions_1); - } - return html$.FaceDetector._create_2(); - } - static ['_#new#tearOff'](faceDetectorOptions = null) { - return html$.FaceDetector.new(faceDetectorOptions); - } - static _create_1(faceDetectorOptions) { - return new FaceDetector(faceDetectorOptions); - } - static _create_2() { - return new FaceDetector(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.FaceDetector); -dart.addTypeCaches(html$.FaceDetector); -dart.setMethodSignature(html$.FaceDetector, () => ({ - __proto__: dart.getMethods(html$.FaceDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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[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); - } - get [S$.$protocol]() { - return this.protocol; - } - get [S$1.$provider]() { - return this.provider; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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), - [S$1.$provider]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) -})); -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[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); - } - get [S$1.$clientId]() { - return this.clientId; - } - get [S$1.$isReload]() { - return this.isReload; - } - get [S$1.$preloadResponse]() { - return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.FetchEvent); -dart.addTypeCaches(html$.FetchEvent); -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), - [S$1.$isReload]: dart.nullable(core.bool), - [S$1.$preloadResponse]: async.Future, - [S$.$request]: dart.nullable(html$._Request) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$1.$elements]() { - return this.elements; - } - get [S$.$form]() { - return this.form; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.FieldSetElement.created = function() { - html$.FieldSetElement.__proto__.created.call(this); - ; -}).prototype = html$.FieldSetElement.prototype; -dart.addTypeTests(html$.FieldSetElement); -dart.addTypeCaches(html$.FieldSetElement); -dart.setMethodSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getMethods(html$.FieldSetElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1.$elements]: dart.nullable(core.List$(html$.Node)), - [S$.$form]: dart.nullable(html$.FormElement), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getSetters(html$.FieldSetElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [$name]: core.String -})); -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[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); - } - static _create_2(fileBits, fileName) { - return new File(fileBits, fileName); - } - get [S$1.$lastModified]() { - return this.lastModified; - } - get [S$1.$lastModifiedDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); - } - get [S$1._get_lastModifiedDate]() { - return this.lastModifiedDate; - } - get [$name]() { - return this.name; - } - get [S$1.$relativePath]() { - return this.webkitRelativePath; - } -}; -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), - [S$1.$lastModifiedDate]: core.DateTime, - [S$1._get_lastModifiedDate]: dart.dynamic, - [$name]: core.String, - [S$1.$relativePath]: dart.nullable(core.String) -})); -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[149], 16178, 20, "value"); - _js_helper.applyExtension("FileWriter", value); - completer.complete(value); - }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._file$1](...args) { - return this.file.apply(this, args); - } - [S$1.$file]() { - let completer = T$0.CompleterOfFile().new(); - this[S$1._file$1](dart.fn(value => { - _js_helper.applyExtension("File", value); - completer.complete(value); - }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.FileEntry); -dart.addTypeCaches(html$.FileEntry); -dart.setMethodSignature(html$.FileEntry, () => ({ - __proto__: dart.getMethods(html$.FileEntry.__proto__), - [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), - [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.setStaticMethodSignature(html$.FileEntry, () => ['__']); -dart.setLibraryUri(html$.FileEntry, I[150]); -dart.registerExtension("FileEntry", html$.FileEntry); -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[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[149], 16224, 25, "index"); - html$.File.as(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[149], 16230, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 16258, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.FileList.prototype[dart.isList] = true; -dart.addTypeTests(html$.FileList); -dart.addTypeCaches(html$.FileList); -html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; -dart.setMethodSignature(html$.FileList, () => ({ - __proto__: dart.getMethods(html$.FileList.__proto__), - [$_get]: dart.fnType(html$.File, [core.int]), - [$_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 -})); -dart.setSetterSignature(html$.FileList, () => ({ - __proto__: dart.getSetters(html$.FileList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.FileList, I[150]); -dart.registerExtension("FileList", html$.FileList); -html$.FileReader = class FileReader$ extends html$.EventTarget { - get [S.$result]() { - let res = this.result; - if (typed_data.ByteBuffer.is(res)) { - return typed_data.Uint8List.view(res); - } - 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(); - } - get [S.$error]() { - return this.error; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$readAsArrayBuffer](...args) { - return this.readAsArrayBuffer.apply(this, args); - } - [S$1.$readAsDataUrl](...args) { - return this.readAsDataURL.apply(this, args); - } - [S$1.$readAsText](...args) { - return this.readAsText.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileReader.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileReader.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.FileReader.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.FileReader.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.FileReader.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileReader.progressEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FileReader); -dart.addTypeCaches(html$.FileReader); -dart.setMethodSignature(html$.FileReader, () => ({ - __proto__: dart.getMethods(html$.FileReader.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), - [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), - [S.$error]: dart.nullable(html$.DomException), - [S.$readyState]: core.int, - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.FileReader.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.FileReader.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.FileReader.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileReader.DONE*/get DONE() { - return 2; - }, - /*html$.FileReader.EMPTY*/get EMPTY() { - return 0; - }, - /*html$.FileReader.LOADING*/get LOADING() { - return 1; - } -}, false); -dart.registerExtension("FileReader", html$.FileReader); -html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FileSystem.__(); - } - static get supported() { - return !!window.webkitRequestFileSystem; - } - get [$name]() { - return this.name; - } - get [S$1.$root]() { - return this.root; - } -}; -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.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; - } - get [$length]() { - return this.length; - } - get [S$0.$position]() { - return this.position; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$seek](...args) { - return this.seek.apply(this, args); - } - [$truncate](...args) { - return this.truncate.apply(this, args); - } - [S$1.$write](...args) { - return this.write.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileWriter.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileWriter.errorEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileWriter.progressEvent.forTarget(this); - } - get [S$1.$onWrite]() { - return html$.FileWriter.writeEvent.forTarget(this); - } - get [S$1.$onWriteEnd]() { - return html$.FileWriter.writeEndEvent.forTarget(this); - } - get [S$1.$onWriteStart]() { - return html$.FileWriter.writeStartEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FileWriter); -dart.addTypeCaches(html$.FileWriter); -dart.setMethodSignature(html$.FileWriter, () => ({ - __proto__: dart.getMethods(html$.FileWriter.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$seek]: dart.fnType(dart.void, [core.int]), - [$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), - [$length]: dart.nullable(core.int), - [S$0.$position]: dart.nullable(core.int), - [S.$readyState]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[346] || CT.C346; - }, - /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[347] || CT.C347; - }, - /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[348] || CT.C348; - }, - /*html$.FileWriter.DONE*/get DONE() { - return 2; - }, - /*html$.FileWriter.INIT*/get INIT() { - return 0; - }, - /*html$.FileWriter.WRITING*/get WRITING() { - return 1; - } -}, 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[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); - } - static _create_2(type) { - return new FocusEvent(type); - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } -}; -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[150]); -dart.registerExtension("FocusEvent", html$.FocusEvent); -html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FontFace.__(); - } - static new(family, source, descriptors = null) { - 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); - } - static _create_2(family, source) { - return new FontFace(family, source); - } - get [S$0.$display]() { - return this.display; - } - set [S$0.$display](value) { - this.display = value; - } - get [S$1.$family]() { - return this.family; - } - set [S$1.$family](value) { - this.family = value; - } - get [S$1.$featureSettings]() { - return this.featureSettings; - } - set [S$1.$featureSettings](value) { - this.featureSettings = value; - } - get [S$1.$loaded]() { - return js_util.promiseToFuture(html$.FontFace, this.loaded); - } - get [S$.$status]() { - return this.status; - } - get [S$1.$stretch]() { - return this.stretch; - } - set [S$1.$stretch](value) { - this.stretch = value; - } - get [S.$style]() { - return this.style; - } - set [S.$style](value) { - this.style = value; - } - get [S$0.$unicodeRange]() { - return this.unicodeRange; - } - set [S$0.$unicodeRange](value) { - this.unicodeRange = value; - } - get [S$1.$variant]() { - return this.variant; - } - set [S$1.$variant](value) { - this.variant = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } - [S$.$load]() { - return js_util.promiseToFuture(html$.FontFace, this.load()); - } -}; -dart.addTypeTests(html$.FontFace); -dart.addTypeCaches(html$.FontFace); -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), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$loaded]: async.Future$(html$.FontFace), - [S$.$status]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.FontFace, () => ({ - __proto__: dart.getSetters(html$.FontFace.__proto__), - [S$0.$display]: dart.nullable(core.String), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) -})); -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; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$1.$check](...args) { - return this.check.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [$forEach](...args) { - return this.forEach.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - get [S$1.$onLoading]() { - return html$.FontFaceSet.loadingEvent.forTarget(this); - } - get [S$1.$onLoadingDone]() { - return html$.FontFaceSet.loadingDoneEvent.forTarget(this); - } - get [S$1.$onLoadingError]() { - return html$.FontFaceSet.loadingErrorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FontFaceSet); -dart.addTypeCaches(html$.FontFaceSet); -dart.setMethodSignature(html$.FontFaceSet, () => ({ - __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$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), - [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) -})); -dart.setLibraryUri(html$.FontFaceSet, I[150]); -dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); -dart.defineLazy(html$.FontFaceSet, { - /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[349] || CT.C349; - }, - /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[350] || CT.C350; - }, - /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - 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[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); - } - static _create_2(type) { - return new FontFaceSetLoadEvent(type); - } - get [S$1.$fontfaces]() { - return this.fontfaces; - } -}; -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[150]); -dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); -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[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[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); - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.ForeignFetchEvent); -dart.addTypeCaches(html$.ForeignFetchEvent); -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[150]); -dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); -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); - } - static _create_2() { - return new FormData(); - } - static get supported() { - return !!window.FormData; - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S$1.$appendBlob](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } -}; -dart.addTypeTests(html$.FormData); -dart.addTypeCaches(html$.FormData); -dart.setMethodSignature(html$.FormData, () => ({ - __proto__: dart.getMethods(html$.FormData.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) -})); -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; - } - set [S$1.$acceptCharset](value) { - this.acceptCharset = value; - } - get [S$1.$action]() { - return this.action; - } - set [S$1.$action](value) { - this.action = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } - get [S$1.$enctype]() { - return this.enctype; - } - set [S$1.$enctype](value) { - this.enctype = value; - } - get [$length]() { - return this.length; - } - get [S$1.$method]() { - return this.method; - } - set [S$1.$method](value) { - this.method = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$noValidate]() { - return this.noValidate; - } - set [S$1.$noValidate](value) { - this.noValidate = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$1.$requestAutocomplete](details) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - this[S$1._requestAutocomplete_1](details_1); - return; - } - [S$1._requestAutocomplete_1](...args) { - return this.requestAutocomplete.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$1.$submit](...args) { - return this.submit.apply(this, args); - } -}; -(html$.FormElement.created = function() { - html$.FormElement.__proto__.created.call(this); - ; -}).prototype = html$.FormElement.prototype; -dart.addTypeTests(html$.FormElement); -dart.addTypeCaches(html$.FormElement); -dart.setMethodSignature(html$.FormElement, () => ({ - __proto__: dart.getMethods(html$.FormElement.__proto__), - [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(html$.Element, [core.int]), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), - [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.FormElement, () => ({ - __proto__: dart.getSetters(html$.FormElement.__proto__), - [S$1.$acceptCharset]: dart.nullable(core.String), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.FormElement, I[150]); -dart.registerExtension("HTMLFormElement", html$.FormElement); -html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Gamepad.__(); - } - get [S$1.$axes]() { - return this.axes; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1.$connected]() { - return this.connected; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$1.$hand]() { - return this.hand; - } - get [S.$id]() { - return this.id; - } - get [S.$index]() { - return this.index; - } - get [S$1.$mapping]() { - return this.mapping; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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)), - [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), - [S$1.$connected]: dart.nullable(core.bool), - [S$1.$displayId]: dart.nullable(core.int), - [S$1.$hand]: dart.nullable(core.String), - [S.$id]: dart.nullable(core.String), - [S.$index]: dart.nullable(core.int), - [S$1.$mapping]: dart.nullable(core.String), - [S$1.$pose]: dart.nullable(html$.GamepadPose), - [S$.$timestamp]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.Gamepad, I[150]); -dart.registerExtension("Gamepad", html$.Gamepad); -html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadButton.__(); - } - get [S$.$pressed]() { - return this.pressed; - } - get [S$1.$touched]() { - return this.touched; - } - get [S.$value]() { - return this.value; - } -}; -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[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[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); - } - static _create_2(type) { - return new GamepadEvent(type); - } - get [S$1.$gamepad]() { - return this.gamepad; - } -}; -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[150]); -dart.registerExtension("GamepadEvent", html$.GamepadEvent); -html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$hasOrientation]() { - return this.hasOrientation; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } -}; -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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$hasOrientation]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) -})); -dart.setLibraryUri(html$.GamepadPose, I[150]); -dart.registerExtension("GamepadPose", html$.GamepadPose); -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; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let completer = T$0.CompleterOfGeoposition().new(); - try { - this[S$1._getCurrentPosition](dart.fn(position => { - completer.complete(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); - completer.completeError(error); - }, T$0.PositionErrorTovoid()), options); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - completer.completeError(e, stacktrace); - } else - throw e$; - } - return completer.future; - } - [S$1.$watchPosition](opts) { - let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; - let timeout = opts && 'timeout' in opts ? opts.timeout : null; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let watchId = null; - let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - 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[149], 17009, 14, "watchId == null"); - watchId = this[S$1._watchPosition](dart.fn(position => { - controller.add(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); - controller.addError(error); - }, T$0.PositionErrorTovoid()), options); - }, T$.VoidTovoid()); - return controller.stream; - } - [S$1._ensurePosition](domPosition) { - try { - if (html$.Geoposition.is(domPosition)) { - return domPosition; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[149], 17040, 46, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); - return; - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_3](successCallback_1); - return; - } - [S$1._getCurrentPosition_1](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_2](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_3](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_2](successCallback_1, errorCallback); - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_3](successCallback_1); - } - [S$1._watchPosition_1](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_2](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_3](...args) { - return this.watchPosition.apply(this, args); - } -}; -dart.addTypeTests(html$.Geolocation); -dart.addTypeCaches(html$.Geolocation); -dart.setMethodSignature(html$.Geolocation, () => ({ - __proto__: dart.getMethods(html$.Geolocation.__proto__), - [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), - [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, [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, [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.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; - } - get timestamp() { - return this[S$1._ptr].timestamp; - } -}; -(html$._GeopositionWrapper.new = function(_ptr) { - this[S$1._ptr] = _ptr; - ; -}).prototype = html$._GeopositionWrapper.prototype; -dart.addTypeTests(html$._GeopositionWrapper); -dart.addTypeCaches(html$._GeopositionWrapper); -html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; -dart.setGetterSignature(html$._GeopositionWrapper, () => ({ - __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), - coords: html$.Coordinates, - [S$.$coords]: html$.Coordinates, - timestamp: core.int, - [S$.$timestamp]: core.int -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Geoposition.__(); - } - get [S$.$coords]() { - return this.coords; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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[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); - } - get onBlur() { - return html$.GlobalEventHandlers.blurEvent.forTarget(this); - } - get onCanPlay() { - return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); - } - get onCanPlayThrough() { - return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); - } - get onChange() { - return html$.GlobalEventHandlers.changeEvent.forTarget(this); - } - get onClick() { - return html$.GlobalEventHandlers.clickEvent.forTarget(this); - } - get onContextMenu() { - return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); - } - get onDoubleClick() { - return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); - } - get onDrag() { - return html$.GlobalEventHandlers.dragEvent.forTarget(this); - } - get onDragEnd() { - return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); - } - get onDragEnter() { - return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); - } - get onDragLeave() { - return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); - } - get onDragOver() { - return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); - } - get onDragStart() { - return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); - } - get onDrop() { - return html$.GlobalEventHandlers.dropEvent.forTarget(this); - } - get onDurationChange() { - return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); - } - get onEmptied() { - return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); - } - get onEnded() { - return html$.GlobalEventHandlers.endedEvent.forTarget(this); - } - get onError() { - return html$.GlobalEventHandlers.errorEvent.forTarget(this); - } - get onFocus() { - return html$.GlobalEventHandlers.focusEvent.forTarget(this); - } - get onInput() { - return html$.GlobalEventHandlers.inputEvent.forTarget(this); - } - get onInvalid() { - return html$.GlobalEventHandlers.invalidEvent.forTarget(this); - } - get onKeyDown() { - return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); - } - get onKeyPress() { - return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); - } - get onKeyUp() { - return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); - } - get onLoad() { - return html$.GlobalEventHandlers.loadEvent.forTarget(this); - } - get onLoadedData() { - return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); - } - get onLoadedMetadata() { - return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); - } - get onMouseDown() { - return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); - } - get onMouseEnter() { - return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); - } - get onMouseLeave() { - return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); - } - get onMouseMove() { - return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); - } - get onMouseOut() { - return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); - } - get onMouseOver() { - return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); - } - get onMouseUp() { - return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); - } - get onMouseWheel() { - return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); - } - get onPause() { - return html$.GlobalEventHandlers.pauseEvent.forTarget(this); - } - get onPlay() { - return html$.GlobalEventHandlers.playEvent.forTarget(this); - } - get onPlaying() { - return html$.GlobalEventHandlers.playingEvent.forTarget(this); - } - get onRateChange() { - return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); - } - get onReset() { - return html$.GlobalEventHandlers.resetEvent.forTarget(this); - } - get onResize() { - return html$.GlobalEventHandlers.resizeEvent.forTarget(this); - } - get onScroll() { - return html$.GlobalEventHandlers.scrollEvent.forTarget(this); - } - get onSeeked() { - return html$.GlobalEventHandlers.seekedEvent.forTarget(this); - } - get onSeeking() { - return html$.GlobalEventHandlers.seekingEvent.forTarget(this); - } - get onSelect() { - return html$.GlobalEventHandlers.selectEvent.forTarget(this); - } - get onStalled() { - return html$.GlobalEventHandlers.stalledEvent.forTarget(this); - } - get onSubmit() { - return html$.GlobalEventHandlers.submitEvent.forTarget(this); - } - get onSuspend() { - return html$.GlobalEventHandlers.suspendEvent.forTarget(this); - } - get onTimeUpdate() { - return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); - } - get onTouchCancel() { - return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); - } - get onTouchEnd() { - return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); - } - get onTouchMove() { - return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); - } - get onTouchStart() { - return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); - } - get onVolumeChange() { - return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); - } - get onWaiting() { - return html$.GlobalEventHandlers.waitingEvent.forTarget(this); - } - get onWheel() { - return html$.GlobalEventHandlers.wheelEvent.forTarget(this); - } -}; -(html$.GlobalEventHandlers[dart.mixinNew] = function() { -}).prototype = html$.GlobalEventHandlers.prototype; -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), - [S.$onAbort]: async.Stream$(html$.Event), - onBlur: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - onCanPlay: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - onCanPlayThrough: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - onChange: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - onClick: async.Stream$(html$.MouseEvent), - [S.$onClick]: async.Stream$(html$.MouseEvent), - onContextMenu: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - onDoubleClick: async.Stream$(html$.Event), - [S.$onDoubleClick]: async.Stream$(html$.Event), - onDrag: async.Stream$(html$.MouseEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - onDragEnd: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - onDragEnter: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - onDragLeave: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - onDragOver: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - onDragStart: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - onDrop: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - onDurationChange: async.Stream$(html$.Event), - [S.$onDurationChange]: async.Stream$(html$.Event), - onEmptied: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - onEnded: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - onError: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - onFocus: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - onInput: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - onInvalid: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - onKeyDown: async.Stream$(html$.KeyboardEvent), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - onKeyPress: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - onKeyUp: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - onLoad: async.Stream$(html$.Event), - [S.$onLoad]: async.Stream$(html$.Event), - onLoadedData: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - onLoadedMetadata: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - onMouseDown: async.Stream$(html$.MouseEvent), - [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - onMouseEnter: async.Stream$(html$.MouseEvent), - [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), - onMouseLeave: async.Stream$(html$.MouseEvent), - [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), - onMouseMove: async.Stream$(html$.MouseEvent), - [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), - onMouseOut: async.Stream$(html$.MouseEvent), - [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), - onMouseOver: async.Stream$(html$.MouseEvent), - [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), - onMouseUp: async.Stream$(html$.MouseEvent), - [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), - onMouseWheel: async.Stream$(html$.WheelEvent), - [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), - onPause: async.Stream$(html$.Event), - [S$.$onPause]: async.Stream$(html$.Event), - onPlay: async.Stream$(html$.Event), - [S$.$onPlay]: async.Stream$(html$.Event), - onPlaying: async.Stream$(html$.Event), - [S$.$onPlaying]: async.Stream$(html$.Event), - onRateChange: async.Stream$(html$.Event), - [S$.$onRateChange]: async.Stream$(html$.Event), - onReset: async.Stream$(html$.Event), - [S$.$onReset]: async.Stream$(html$.Event), - onResize: async.Stream$(html$.Event), - [S$.$onResize]: async.Stream$(html$.Event), - onScroll: async.Stream$(html$.Event), - [S$.$onScroll]: async.Stream$(html$.Event), - onSeeked: async.Stream$(html$.Event), - [S$.$onSeeked]: async.Stream$(html$.Event), - onSeeking: async.Stream$(html$.Event), - [S$.$onSeeking]: async.Stream$(html$.Event), - onSelect: async.Stream$(html$.Event), - [S$.$onSelect]: async.Stream$(html$.Event), - onStalled: async.Stream$(html$.Event), - [S$.$onStalled]: async.Stream$(html$.Event), - 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), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - onTouchCancel: async.Stream$(html$.TouchEvent), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - onTouchEnd: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - onTouchMove: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - onTouchStart: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - onVolumeChange: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - onWaiting: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - onWheel: async.Stream$(html$.WheelEvent), - [S$.$onWheel]: async.Stream$(html$.WheelEvent) -})); -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', - 'onCanPlay', - 'onCanPlayThrough', - 'onChange', - 'onClick', - 'onContextMenu', - 'onDoubleClick', - 'onDrag', - 'onDragEnd', - 'onDragEnter', - 'onDragLeave', - 'onDragOver', - 'onDragStart', - 'onDrop', - 'onDurationChange', - 'onEmptied', - 'onEnded', - 'onError', - 'onFocus', - 'onInput', - 'onInvalid', - 'onKeyDown', - 'onKeyPress', - 'onKeyUp', - 'onLoad', - 'onLoadedData', - 'onLoadedMetadata', - 'onMouseDown', - 'onMouseEnter', - 'onMouseLeave', - 'onMouseMove', - 'onMouseOut', - 'onMouseOver', - 'onMouseUp', - 'onMouseWheel', - 'onPause', - 'onPlay', - 'onPlaying', - 'onRateChange', - 'onReset', - 'onResize', - 'onScroll', - 'onSeeked', - 'onSeeking', - 'onSelect', - 'onStalled', - 'onSubmit', - 'onSuspend', - 'onTimeUpdate', - 'onTouchCancel', - 'onTouchEnd', - 'onTouchMove', - 'onTouchStart', - 'onVolumeChange', - 'onWaiting', - 'onWheel' -]); -dart.defineLazy(html$.GlobalEventHandlers, { - /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - 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); - return html$.Gyroscope._create_1(sensorOptions_1); - } - return html$.Gyroscope._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Gyroscope.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Gyroscope(sensorOptions); - } - static _create_2() { - return new Gyroscope(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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; - } - set [S$0.$color](value) { - this.color = value; - } -}; -(html$.HRElement.created = function() { - html$.HRElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.HRElement, () => ({ - __proto__: dart.getSetters(html$.HRElement.__proto__), - [S$0.$color]: core.String -})); -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[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; - 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[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); - } - static _create_2(type) { - return new HashChangeEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("HashChangeEvent"); - } - get [S$1.$newUrl]() { - return this.newURL; - } - get [S$1.$oldUrl]() { - return this.oldURL; - } -}; -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.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); - ; -}).prototype = html$.HeadElement.prototype; -dart.addTypeTests(html$.HeadElement); -dart.addTypeCaches(html$.HeadElement); -dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); -dart.setLibraryUri(html$.HeadElement, I[150]); -dart.registerExtension("HTMLHeadElement", html$.HeadElement); -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); - } - static _create_2() { - return new Headers(); - } -}; -dart.addTypeTests(html$.Headers); -dart.addTypeCaches(html$.Headers); -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); - ; -}).prototype = html$.HeadingElement.prototype; -dart.addTypeTests(html$.HeadingElement); -dart.addTypeCaches(html$.HeadingElement); -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.JavaScriptObject { - static get supportsState() { - return !!window.history.pushState; - } - static ['_#_#tearOff']() { - return html$.History.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$scrollRestoration]() { - return this.scrollRestoration; - } - set [S$1.$scrollRestoration](value) { - this.scrollRestoration = value; - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } - [S$1.$back](...args) { - return this.back.apply(this, args); - } - [S$1.$forward](...args) { - return this.forward.apply(this, args); - } - [S$1.$go](...args) { - return this.go.apply(this, args); - } - [S$1.$pushState](data, title, url) { - 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; - } - [S$1._pushState_1](...args) { - return this.pushState.apply(this, args); - } - [S$1.$replaceState](data, title, url) { - 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; - } - [S$1._replaceState_1](...args) { - return this.replaceState.apply(this, args); - } -}; -dart.addTypeTests(html$.History); -dart.addTypeCaches(html$.History); -html$.History[dart.implements] = () => [html$.HistoryBase]; -dart.setMethodSignature(html$.History, () => ({ - __proto__: dart.getMethods(html$.History.__proto__), - [S$1.$back]: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), - [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [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, - [S$1.$scrollRestoration]: dart.nullable(core.String), - [S$.$state]: dart.dynamic, - [S$1._get_state]: dart.dynamic -})); -dart.setSetterSignature(html$.History, () => ({ - __proto__: dart.getSetters(html$.History.__proto__), - [S$1.$scrollRestoration]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.History, () => ['supportsState']); -dart.setLibraryUri(html$.History, I[150]); -dart.registerExtension("History", html$.History); -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[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[149], 17737, 25, "index"); - html$.Node.as(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[149], 17743, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 17771, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -html$.HtmlCollection.prototype[dart.isList] = true; -dart.addTypeTests(html$.HtmlCollection); -dart.addTypeCaches(html$.HtmlCollection); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$.HtmlCollection, () => ({ - __proto__: dart.getSetters(html$.HtmlCollection.__proto__), - [$length]: core.int -})); -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; - } - set [S$1.$body](value) { - this.body = value; - } - [S$1.$caretRangeFromPoint](x, y) { - return this[S$1._caretRangeFromPoint](x, y); - } - [S$1.$elementFromPoint](x, 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$1._head$1]; - } - get [S$1.$lastModified]() { - return this[S$1._lastModified]; - } - get [S$1.$preferredStylesheetSet]() { - return this[S$1._preferredStylesheetSet]; - } - get [S$1.$referrer]() { - return this[S$1._referrer]; - } - get [S$1.$selectedStylesheetSet]() { - return this[S$1._selectedStylesheetSet]; - } - set [S$1.$selectedStylesheetSet](value) { - this[S$1._selectedStylesheetSet] = value; - } - get [S$1.$styleSheets]() { - return this[S$1._styleSheets]; - } - get [S.$title]() { - return this[S$1._title]; - } - set [S.$title](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[149], 17894, 36, "tag"); - return html$._registerCustomElement(window, this, tag, options); - } - [S$1.$register](tag, customElementClass, opts) { - 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[149], 17917, 65, "e"); - if (typeof e.hidden !== "undefined") { - return "visibilitychange"; - } else if (typeof e.mozHidden !== "undefined") { - return "mozvisibilitychange"; - } else if (typeof e.msHidden !== "undefined") { - return "msvisibilitychange"; - } else if (typeof e.webkitHidden !== "undefined") { - return "webkitvisibilitychange"; - } - return "visibilitychange"; - } - get [S$1.$onVisibilityChange]() { - return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); - } - [S$1.$createElementUpgrader](type, opts) { - 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); - } -}; -dart.addTypeTests(html$.HtmlDocument); -dart.addTypeCaches(html$.HtmlDocument); -dart.setMethodSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getMethods(html$.HtmlDocument.__proto__), - [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), - [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), - [S.$head]: dart.nullable(html$.HeadElement), - [S$1.$lastModified]: dart.nullable(core.String), - [S$1.$preferredStylesheetSet]: dart.nullable(core.String), - [S$1.$referrer]: core.String, - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S.$title]: core.String, - [S$1.$onVisibilityChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getSetters(html$.HtmlDocument.__proto__), - [S$1.$body]: dart.nullable(html$.BodyElement), - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S.$title]: core.String -})); -dart.setLibraryUri(html$.HtmlDocument, I[150]); -dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); -dart.defineLazy(html$.HtmlDocument, { - /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - 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.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); - ; -}).prototype = html$.HtmlHtmlElement.prototype; -dart.addTypeTests(html$.HtmlHtmlElement); -dart.addTypeCaches(html$.HtmlHtmlElement); -dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); -dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); -dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); -html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.HtmlHyperlinkElementUtils.__(); - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } -}; -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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ - __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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); - } -}; -dart.addTypeTests(html$.HtmlOptionsCollection); -dart.addTypeCaches(html$.HtmlOptionsCollection); -dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ - __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), - [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) -})); -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); - } - get [S.$onError]() { - return html$.HttpRequestEventTarget.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.HttpRequestEventTarget.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.HttpRequestEventTarget.progressEvent.forTarget(this); - } - get [S$1.$onTimeout]() { - return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); - } -}; -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), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - 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[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[149], 18120, 28, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - static postFormData(url, data, opts) { - 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[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]("&"); - if (requestHeaders == null) { - requestHeaders = new (T$.IdentityMapOfString$String()).new(); - } - requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); - 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[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; - let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; - let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; - let sendData = opts && 'sendData' in opts ? opts.sendData : null; - let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; - let completer = T$0.CompleterOfHttpRequest().new(); - let xhr = html$.HttpRequest.new(); - if (method == null) { - method = "GET"; - } - xhr.open(method, url, {async: true}); - if (withCredentials != null) { - xhr.withCredentials = withCredentials; - } - if (responseType != null) { - xhr.responseType = responseType; - } - if (mimeType != null) { - xhr.overrideMimeType(mimeType); - } - if (requestHeaders != null) { - requestHeaders[$forEach](dart.fn((header, 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())); - } - if (onProgress != null) { - xhr[S$.$onProgress].listen(onProgress); - } - xhr[S.$onLoad].listen(dart.fn(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; - let notModified = status === 304; - let unknownRedirect = status > 307 && status < 400; - if (accepted || fileUri || notModified || unknownRedirect) { - completer.complete(xhr); - } else { - completer.completeError(e); - } - }, T$0.ProgressEventTovoid())); - xhr[S.$onError].listen(dart.bind(completer, 'completeError')); - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - static get supportsProgressEvent() { - let xhr = html$.HttpRequest.new(); - return "onprogress" in xhr; - } - static get supportsCrossOrigin() { - let xhr = html$.HttpRequest.new(); - return "withCredentials" in xhr; - } - static get supportsLoadEndEvent() { - let xhr = html$.HttpRequest.new(); - return "onloadend" in xhr; - } - static get supportsOverrideMimeType() { - let xhr = html$.HttpRequest.new(); - return "overrideMimeType" in xhr; - } - static requestCrossOrigin(url, opts) { - 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[149], 18343, 69, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - let completer = T$0.CompleterOfString().new(); - if (method == null) { - method = "GET"; - } - let xhr = new XDomainRequest(); - xhr.open(method, url); - xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - let response = xhr.responseText; - completer.complete(T$0.FutureOrNOfString().as(response)); - }, T$.dynamicToNull()), 1); - xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - completer.completeError(core.Object.as(e)); - }, T$.dynamicToNull()), 1); - xhr.onprogress = {}; - xhr.ontimeout = {}; - xhr.timeout = Number.MAX_VALUE; - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - get [S$1.$responseHeaders]() { - let headers = new (T$.IdentityMapOfString$String()).new(); - let headersString = this.getAllResponseHeaders(); - if (headersString == null) { - return headers; - } - let headersList = headersString[$split]("\r\n"); - for (let header of headersList) { - if (header[$isEmpty]) { - continue; - } - let splitIdx = header[$indexOf](": "); - if (splitIdx === -1) { - continue; - } - let key = header[$substring](0, splitIdx)[$toLowerCase](); - let value = header[$substring](splitIdx + 2); - if (dart.test(headers[$containsKey](key))) { - headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); - } else { - headers[$_set](key, value); - } - } - return headers; - } - [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(); - } - static _create_1() { - return new XMLHttpRequest(); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$response]() { - return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); - } - get [S$1._get_response]() { - return this.response; - } - get [S$1.$responseText]() { - return this.responseText; - } - get [S$1.$responseType]() { - return this.responseType; - } - set [S$1.$responseType](value) { - this.responseType = value; - } - get [S$1.$responseUrl]() { - return this.responseURL; - } - get [S$1.$responseXml]() { - return this.responseXML; - } - get [S$.$status]() { - return this.status; - } - get [S$1.$statusText]() { - return this.statusText; - } - get [S$1.$timeout]() { - return this.timeout; - } - set [S$1.$timeout](value) { - this.timeout = value; - } - get [S$1.$upload]() { - return this.upload; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - set [S$1.$withCredentials](value) { - this.withCredentials = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$getAllResponseHeaders](...args) { - return this.getAllResponseHeaders.apply(this, args); - } - [S$1.$getResponseHeader](...args) { - return this.getResponseHeader.apply(this, args); - } - [S$1.$overrideMimeType](...args) { - return this.overrideMimeType.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$1.$setRequestHeader](...args) { - return this.setRequestHeader.apply(this, args); - } - get [S$1.$onReadyStateChange]() { - return html$.HttpRequest.readyStateChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.HttpRequest); -dart.addTypeCaches(html$.HttpRequest); -dart.setMethodSignature(html$.HttpRequest, () => ({ - __proto__: dart.getMethods(html$.HttpRequest.__proto__), - [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), - [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), - [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), - [S.$readyState]: core.int, - [S$.$response]: dart.dynamic, - [S$1._get_response]: dart.dynamic, - [S$1.$responseText]: dart.nullable(core.String), - [S$1.$responseType]: core.String, - [S$1.$responseUrl]: dart.nullable(core.String), - [S$1.$responseXml]: dart.nullable(html$.Document), - [S$.$status]: dart.nullable(core.int), - [S$1.$statusText]: dart.nullable(core.String), - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$upload]: html$.HttpRequestUpload, - [S$1.$withCredentials]: dart.nullable(core.bool), - [S$1.$onReadyStateChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.HttpRequest, () => ({ - __proto__: dart.getSetters(html$.HttpRequest.__proto__), - [S$1.$responseType]: core.String, - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$withCredentials]: dart.nullable(core.bool) -})); -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[334] || CT.C334; - }, - /*html$.HttpRequest.DONE*/get DONE() { - return 4; - }, - /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { - return 2; - }, - /*html$.HttpRequest.LOADING*/get LOADING() { - return 3; - }, - /*html$.HttpRequest.OPENED*/get OPENED() { - return 1; - }, - /*html$.HttpRequest.UNSENT*/get UNSENT() { - return 0; - } -}, false); -dart.registerExtension("XMLHttpRequest", html$.HttpRequest); -html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { - static ['_#_#tearOff']() { - return html$.HttpRequestUpload.__(); - } -}; -dart.addTypeTests(html$.HttpRequestUpload); -dart.addTypeCaches(html$.HttpRequestUpload); -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; - } - set [S$1.$allow](value) { - this.allow = value; - } - get [S$1.$allowFullscreen]() { - return this.allowFullscreen; - } - set [S$1.$allowFullscreen](value) { - this.allowFullscreen = value; - } - get [S$1.$allowPaymentRequest]() { - return this.allowPaymentRequest; - } - set [S$1.$allowPaymentRequest](value) { - this.allowPaymentRequest = value; - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$1.$csp]() { - return this.csp; - } - set [S$1.$csp](value) { - this.csp = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sandbox]() { - return this.sandbox; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcdoc]() { - return this.srcdoc; - } - set [S$1.$srcdoc](value) { - this.srcdoc = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } -}; -(html$.IFrameElement.created = function() { - html$.IFrameElement.__proto__.created.call(this); - ; -}).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), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$contentWindow]: dart.nullable(html$.WindowBase), - [S$1._get_contentWindow]: dart.dynamic, - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sandbox]: dart.nullable(html$.DomTokenList), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.IFrameElement, () => ({ - __proto__: dart.getSetters(html$.IFrameElement.__proto__), - [S$1.$allow]: dart.nullable(core.String), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.IFrameElement, I[150]); -dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); -html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IdleDeadline.__(); - } - get [S$1.$didTimeout]() { - return this.didTimeout; - } - [S$1.$timeRemaining](...args) { - return this.timeRemaining.apply(this, args); - } -}; -dart.addTypeTests(html$.IdleDeadline); -dart.addTypeCaches(html$.IdleDeadline); -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[150]); -dart.registerExtension("IdleDeadline", html$.IdleDeadline); -html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmap.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - [S.$close](...args) { - return this.close.apply(this, args); - } -}; -dart.addTypeTests(html$.ImageBitmap); -dart.addTypeCaches(html$.ImageBitmap); -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[150]); -dart.registerExtension("ImageBitmap", html$.ImageBitmap); -html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmapRenderingContext.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$1.$transferFromImageBitmap](...args) { - return this.transferFromImageBitmap.apply(this, args); - } -}; -dart.addTypeTests(html$.ImageBitmapRenderingContext); -dart.addTypeCaches(html$.ImageBitmapRenderingContext); -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[150]); -dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); -html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageCapture.__(); - } - static new(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); - } - get [S$1.$track]() { - return this.track; - } - [S$1.$getPhotoCapabilities]() { - return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); - } - [S$1.$getPhotoSettings]() { - return html$.promiseToFutureAsMap(this.getPhotoSettings()); - } - [S$1.$grabFrame]() { - return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); - } - [S$1.$setOptions](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)); - } - [S$1.$takePhoto](photoSettings = null) { - let photoSettings_dict = null; - if (photoSettings != null) { - photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); - } - return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); - } -}; -dart.addTypeTests(html$.ImageCapture); -dart.addTypeCaches(html$.ImageCapture); -dart.setMethodSignature(html$.ImageCapture, () => ({ - __proto__: dart.getMethods(html$.ImageCapture.__proto__), - [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), - [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), - [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[150]); -dart.registerExtension("ImageCapture", html$.ImageCapture); -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[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); - } - if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { - return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); - } - if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { - return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); - } - 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); - } - static _create_2(data_OR_sw, sh_OR_sw) { - return new ImageData(data_OR_sw, sh_OR_sw); - } - static _create_3(data_OR_sw, sh_OR_sw, sh) { - return new ImageData(data_OR_sw, sh_OR_sw, sh); - } - get [S$.$data]() { - return this.data; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } -}; -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[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; - let height = opts && 'height' in opts ? opts.height : null; - let e = html$.document.createElement("img"); - if (src != null) e.src = src; - if (width != null) e.width = width; - 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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$async]() { - return this.async; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$1.$complete]() { - return this.complete; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$isMap]() { - return this.isMap; - } - set [S$1.$isMap](value) { - this.isMap = value; - } - get [S$1.$naturalHeight]() { - return this.naturalHeight; - } - get [S$1.$naturalWidth]() { - return this.naturalWidth; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } -}; -(html$.ImageElement.created = function() { - html$.ImageElement.__proto__.created.call(this); - ; -}).prototype = html$.ImageElement.prototype; -dart.addTypeTests(html$.ImageElement); -dart.addTypeCaches(html$.ImageElement); -html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; -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), - [S$1.$async]: dart.nullable(core.String), - [S$1.$complete]: dart.nullable(core.bool), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$1.$naturalHeight]: core.int, - [S$1.$naturalWidth]: core.int, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.ImageElement, () => ({ - __proto__: dart.getSetters(html$.ImageElement.__proto__), - [S$.$alt]: dart.nullable(core.String), - [S$1.$async]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.ImageElement, I[150]); -dart.registerExtension("HTMLImageElement", html$.ImageElement); -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); - return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); - } - return html$.InputDeviceCapabilities._create_2(); - } - static ['_#new#tearOff'](deviceInitDict = null) { - return html$.InputDeviceCapabilities.new(deviceInitDict); - } - static _create_1(deviceInitDict) { - return new InputDeviceCapabilities(deviceInitDict); - } - static _create_2() { - return new InputDeviceCapabilities(); - } - get [S$1.$firesTouchEvents]() { - return this.firesTouchEvents; - } -}; -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[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")); - if (type != null) { - try { - e.type = type; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - } - return e; - } - static ['_#_#tearOff']() { - return html$.InputElement.__(); - } - static ['_#created#tearOff']() { - return new html$.InputElement.created(); - } - get [S$1.$accept]() { - return this.accept; - } - set [S$1.$accept](value) { - this.accept = value; - } - get [S$.$alt]() { - return this.alt; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$autocapitalize]() { - return this.autocapitalize; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$1.$capture]() { - return this.capture; - } - set [S$1.$capture](value) { - this.capture = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$1.$defaultChecked]() { - return this.defaultChecked; - } - set [S$1.$defaultChecked](value) { - this.defaultChecked = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$0.$files]() { - return this.files; - } - set [S$0.$files](value) { - this.files = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$incremental]() { - return this.incremental; - } - set [S$1.$incremental](value) { - this.incremental = value; - } - get [S$1.$indeterminate]() { - return this.indeterminate; - } - set [S$1.$indeterminate](value) { - this.indeterminate = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$list]() { - return this.list; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$pattern]() { - return this.pattern; - } - set [S$1.$pattern](value) { - this.pattern = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$step]() { - return this.step; - } - set [S$1.$step](value) { - this.step = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$1.$valueAsDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); - } - get [S$1._get_valueAsDate]() { - return this.valueAsDate; - } - set [S$1.$valueAsDate](value) { - this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); - } - set [S$1._set_valueAsDate](value) { - this.valueAsDate = value; - } - get [S$1.$valueAsNumber]() { - return this.valueAsNumber; - } - set [S$1.$valueAsNumber](value) { - this.valueAsNumber = value; - } - get [$entries]() { - return this.webkitEntries; - } - get [S$1.$directory]() { - return this.webkitdirectory; - } - set [S$1.$directory](value) { - this.webkitdirectory = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } - [S$1.$stepDown](...args) { - return this.stepDown.apply(this, args); - } - [S$1.$stepUp](...args) { - return this.stepUp.apply(this, args); - } -}; -(html$.InputElement.created = function() { - html$.InputElement.__proto__.created.call(this); - ; -}).prototype = html$.InputElement.prototype; -dart.addTypeTests(html$.InputElement); -dart.addTypeCaches(html$.InputElement); -html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; -dart.setMethodSignature(html$.InputElement, () => ({ - __proto__: dart.getMethods(html$.InputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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)]), - [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), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$list]: dart.nullable(html$.HtmlElement), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: core.DateTime, - [S$1._get_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [$entries]: dart.nullable(core.List$(html$.Entry)), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int), - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.InputElement, () => ({ - __proto__: dart.getSetters(html$.InputElement.__proto__), - [S$1.$accept]: dart.nullable(core.String), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: dart.nullable(core.DateTime), - [S$1._set_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.InputElement, I[150]); -dart.registerExtension("HTMLInputElement", html$.InputElement); -html$.InputElementBase = class InputElementBase extends core.Object {}; -(html$.InputElementBase.new = function() { - ; -}).prototype = html$.InputElementBase.prototype; -dart.addTypeTests(html$.InputElementBase); -dart.addTypeCaches(html$.InputElementBase); -html$.InputElementBase[dart.implements] = () => [html$.Element]; -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.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); -dart.setLibraryUri(html$.HiddenInputElement, I[150]); -html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; -(html$.TextInputElementBase.new = function() { - ; -}).prototype = html$.TextInputElementBase.prototype; -dart.addTypeTests(html$.TextInputElementBase); -dart.addTypeCaches(html$.TextInputElementBase); -html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; -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"; - } -}; -(html$.SearchInputElement[dart.mixinNew] = function() { -}).prototype = html$.SearchInputElement.prototype; -dart.addTypeTests(html$.SearchInputElement); -dart.addTypeCaches(html$.SearchInputElement); -html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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.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"; - } -}; -(html$.UrlInputElement[dart.mixinNew] = function() { -}).prototype = html$.UrlInputElement.prototype; -dart.addTypeTests(html$.UrlInputElement); -dart.addTypeCaches(html$.UrlInputElement); -html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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"; - } -}; -(html$.TelephoneInputElement[dart.mixinNew] = function() { -}).prototype = html$.TelephoneInputElement.prototype; -dart.addTypeTests(html$.TelephoneInputElement); -dart.addTypeCaches(html$.TelephoneInputElement); -html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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"; - } -}; -(html$.EmailInputElement[dart.mixinNew] = function() { -}).prototype = html$.EmailInputElement.prototype; -dart.addTypeTests(html$.EmailInputElement); -dart.addTypeCaches(html$.EmailInputElement); -html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); -dart.setLibraryUri(html$.PasswordInputElement, I[150]); -html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; -(html$.RangeInputElementBase.new = function() { - ; -}).prototype = html$.RangeInputElementBase.prototype; -dart.addTypeTests(html$.RangeInputElementBase); -dart.addTypeCaches(html$.RangeInputElementBase); -html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; -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"; - } -}; -(html$.DateInputElement[dart.mixinNew] = function() { -}).prototype = html$.DateInputElement.prototype; -dart.addTypeTests(html$.DateInputElement); -dart.addTypeCaches(html$.DateInputElement); -html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.MonthInputElement[dart.mixinNew] = function() { -}).prototype = html$.MonthInputElement.prototype; -dart.addTypeTests(html$.MonthInputElement); -dart.addTypeCaches(html$.MonthInputElement); -html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.WeekInputElement[dart.mixinNew] = function() { -}).prototype = html$.WeekInputElement.prototype; -dart.addTypeTests(html$.WeekInputElement); -dart.addTypeCaches(html$.WeekInputElement); -html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.TimeInputElement[dart.mixinNew] = function() { -}).prototype = html$.TimeInputElement.prototype; -dart.addTypeTests(html$.TimeInputElement); -dart.addTypeCaches(html$.TimeInputElement); -html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.LocalDateTimeInputElement[dart.mixinNew] = function() { -}).prototype = html$.LocalDateTimeInputElement.prototype; -dart.addTypeTests(html$.LocalDateTimeInputElement); -dart.addTypeCaches(html$.LocalDateTimeInputElement); -html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.NumberInputElement[dart.mixinNew] = function() { -}).prototype = html$.NumberInputElement.prototype; -dart.addTypeTests(html$.NumberInputElement); -dart.addTypeCaches(html$.NumberInputElement); -html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.RangeInputElement[dart.mixinNew] = function() { -}).prototype = html$.RangeInputElement.prototype; -dart.addTypeTests(html$.RangeInputElement); -dart.addTypeCaches(html$.RangeInputElement); -html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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.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.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); -dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); -html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { - get files() { - return this[S$1.files]; - } - set files(value) { - this[S$1.files] = value; - } - 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; -}).prototype = html$.FileUploadInputElement.prototype; -dart.addTypeTests(html$.FileUploadInputElement); -dart.addTypeCaches(html$.FileUploadInputElement); -html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; -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))) -})); -dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); -html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { - 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.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.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.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.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[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); - } - static _create_2(type) { - return new InstallEvent(type); - } - [S$1.$registerForeignFetch](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; - } - [S$1._registerForeignFetch_1](...args) { - return this.registerForeignFetch.apply(this, args); - } -}; -dart.addTypeTests(html$.InstallEvent); -dart.addTypeCaches(html$.InstallEvent); -dart.setMethodSignature(html$.InstallEvent, () => ({ - __proto__: dart.getMethods(html$.InstallEvent.__proto__), - [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), - [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserver.__(); - } - static new(callback, options = null) { - 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); - return html$.IntersectionObserver._create_1(callback_1, options_2); - } - 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); - } - static _create_2(callback) { - return new IntersectionObserver(callback); - } - get [S$1.$root]() { - return this.root; - } - get [S$1.$rootMargin]() { - return this.rootMargin; - } - get [S$1.$thresholds]() { - return this.thresholds; - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(html$.IntersectionObserver); -dart.addTypeCaches(html$.IntersectionObserver); -dart.setMethodSignature(html$.IntersectionObserver, () => ({ - __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [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[150]); -dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); -html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserverEntry.__(); - } - get [S$1.$boundingClientRect]() { - return this.boundingClientRect; - } - get [S$1.$intersectionRatio]() { - return this.intersectionRatio; - } - get [S$1.$intersectionRect]() { - return this.intersectionRect; - } - get [S$1.$isIntersecting]() { - return this.isIntersecting; - } - get [S$1.$rootBounds]() { - return this.rootBounds; - } - get [S.$target]() { - return this.target; - } - get [S$.$time]() { - return this.time; - } -}; -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), - [S$1.$intersectionRatio]: dart.nullable(core.num), - [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), - [S$1.$isIntersecting]: dart.nullable(core.bool), - [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), - [S.$target]: dart.nullable(html$.Element), - [S$.$time]: dart.nullable(core.num) -})); -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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } -}; -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[150]); -dart.registerExtension("InterventionReport", html$.InterventionReport); -html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { - static new(type, opts) { - 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[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"); - if (view == null) { - view = html$.window; - } - 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[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 { - this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); - } - } - get [S$1.$keyCode]() { - return this.keyCode; - } - get [S$1.$charCode]() { - return this.charCode; - } - get [S$1.$which]() { - return this[S$._which]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new KeyboardEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$.$code]() { - return this.code; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$isComposing]() { - return this.isComposing; - } - get [S.$key]() { - return this.key; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$0.$location]() { - return this.location; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$repeat]() { - return this.repeat; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } -}; -dart.addTypeTests(html$.KeyboardEvent); -dart.addTypeCaches(html$.KeyboardEvent); -dart.setMethodSignature(html$.KeyboardEvent, () => ({ - __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), - [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, - [S$1.$charCode]: core.int, - [S$1.$which]: dart.nullable(core.int), - [S$1.$altKey]: core.bool, - [S$1._charCode]: core.int, - [S$.$code]: dart.nullable(core.String), - [S$1.$ctrlKey]: core.bool, - [S$1.$isComposing]: dart.nullable(core.bool), - [S.$key]: dart.nullable(core.String), - [S$1._keyCode]: core.int, - [S$0.$location]: core.int, - [S$1.$metaKey]: core.bool, - [S$1.$repeat]: dart.nullable(core.bool), - [S$1.$shiftKey]: core.bool -})); -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; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { - return 3; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { - return 2; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { - return 0; - } -}, 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); - } - static _create_2(target, effect) { - return new KeyframeEffectReadOnly(target, effect); - } -}; -dart.addTypeTests(html$.KeyframeEffectReadOnly); -dart.addTypeCaches(html$.KeyframeEffectReadOnly); -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); - } - static _create_2(target, effect) { - return new KeyframeEffect(target, effect); - } -}; -dart.addTypeTests(html$.KeyframeEffect); -dart.addTypeCaches(html$.KeyframeEffect); -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; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.LIElement.created = function() { - html$.LIElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.LIElement, () => ({ - __proto__: dart.getSetters(html$.LIElement.__proto__), - [S.$value]: core.int -})); -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; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - set [S$1.$htmlFor](value) { - this.htmlFor = value; - } -}; -(html$.LabelElement.created = function() { - html$.LabelElement.__proto__.created.call(this); - ; -}).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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: core.String -})); -dart.setSetterSignature(html$.LabelElement, () => ({ - __proto__: dart.getSetters(html$.LabelElement.__proto__), - [S$1.$htmlFor]: core.String -})); -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; - } -}; -(html$.LegendElement.created = function() { - html$.LegendElement.__proto__.created.call(this); - ; -}).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[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); - return html$.LinearAccelerationSensor._create_1(sensorOptions_1); - } - return html$.LinearAccelerationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.LinearAccelerationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new LinearAccelerationSensor(sensorOptions); - } - static _create_2() { - return new LinearAccelerationSensor(); - } -}; -dart.addTypeTests(html$.LinearAccelerationSensor); -dart.addTypeCaches(html$.LinearAccelerationSensor); -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; - } - set [S$1.$as](value) { - this.as = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$1.$import]() { - return this.import; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$1.$relList]() { - return this.relList; - } - get [S$1.$scope]() { - return this.scope; - } - set [S$1.$scope](value) { - this.scope = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S$1.$sizes]() { - return this.sizes; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$supportsImport]() { - return "import" in this; - } -}; -(html$.LinkElement.created = function() { - html$.LinkElement.__proto__.created.call(this); - ; -}).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), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$import]: dart.nullable(html$.Document), - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$relList]: dart.nullable(html$.DomTokenList), - [S$1.$scope]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S$1.$sizes]: dart.nullable(html$.DomTokenList), - [S.$type]: core.String, - [S$1.$supportsImport]: core.bool -})); -dart.setSetterSignature(html$.LinkElement, () => ({ - __proto__: dart.getSetters(html$.LinkElement.__proto__), - [S$1.$as]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$scope]: dart.nullable(core.String), - [S.$type]: core.String -})); -dart.setLibraryUri(html$.LinkElement, I[150]); -dart.registerExtension("HTMLLinkElement", html$.LinkElement); -html$.Location = class Location extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Location.__(); - } - get [S$1.$ancestorOrigins]() { - return this.ancestorOrigins; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$1.$trustedHref]() { - return this.trustedHref; - } - set [S$1.$trustedHref](value) { - this.trustedHref = value; - } - [S$1.$assign](...args) { - return this.assign.apply(this, args); - } - [S$1.$reload](...args) { - return this.reload.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - get [S$.$origin]() { - if ("origin" in this) { - return this.origin; - } - return dart.str(this.protocol) + "//" + dart.str(this.host); - } - [$toString]() { - return String(this); - } -}; -dart.addTypeTests(html$.Location); -dart.addTypeCaches(html$.Location); -html$.Location[dart.implements] = () => [html$.LocationBase]; -dart.setMethodSignature(html$.Location, () => ({ - __proto__: dart.getMethods(html$.Location.__proto__), - [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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)), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), - [S$.$origin]: core.String -})); -dart.setSetterSignature(html$.Location, () => ({ - __proto__: dart.getSetters(html$.Location.__proto__), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) -})); -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); - return html$.Magnetometer._create_1(sensorOptions_1); - } - return html$.Magnetometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Magnetometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Magnetometer(sensorOptions); - } - static _create_2() { - return new Magnetometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } -}; -(html$.MapElement.created = function() { - html$.MapElement.__proto__.created.call(this); - ; -}).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), - [$name]: core.String -})); -dart.setSetterSignature(html$.MapElement, () => ({ - __proto__: dart.getSetters(html$.MapElement.__proto__), - [$name]: core.String -})); -dart.setLibraryUri(html$.MapElement, I[150]); -dart.registerExtension("HTMLMapElement", html$.MapElement); -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[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[149], 20611, 50, "configuration"); - let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); - return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); - } -}; -dart.addTypeTests(html$.MediaCapabilities); -dart.addTypeCaches(html$.MediaCapabilities); -dart.setMethodSignature(html$.MediaCapabilities, () => ({ - __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), - [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), - [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) -})); -dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); -dart.setLibraryUri(html$.MediaCapabilities, I[150]); -dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); -html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaCapabilitiesInfo.__(); - } - get [S$1.$powerEfficient]() { - return this.powerEfficient; - } - get [S$1.$smooth]() { - return this.smooth; - } - get [S$1.$supported]() { - return this.supported; - } -}; -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[150]); -dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); -html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaDeviceInfo.__(); - } - get [S$1.$deviceId]() { - return this.deviceId; - } - get [S$1.$groupId]() { - return this.groupId; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } -}; -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), - [S$1.$groupId]: dart.nullable(core.String), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String) -})); -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()); - } - [S$1.$getSupportedConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); - } - [S$1._getSupportedConstraints_1](...args) { - return this.getSupportedConstraints.apply(this, args); - } - [S$1.$getUserMedia](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); - } -}; -dart.addTypeTests(html$.MediaDevices); -dart.addTypeCaches(html$.MediaDevices); -dart.setMethodSignature(html$.MediaDevices, () => ({ - __proto__: dart.getMethods(html$.MediaDevices.__proto__), - [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), - [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), - [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), - [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) -})); -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[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); - } - static _create_2(type) { - return new MediaEncryptedEvent(type); - } - get [S$1.$initData]() { - return this.initData; - } - get [S$1.$initDataType]() { - return this.initDataType; - } -}; -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[150]); -dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); -html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -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[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; - }, - /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { - return 3; - }, - /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { - return 2; - }, - /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { - return 4; - } -}, 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[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); - } - get [$message]() { - return this.message; - } - get [S$1.$messageType]() { - return this.messageType; - } -}; -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[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); - } - get [S$1.$expiration]() { - return this.expiration; - } - get [S$1.$keyStatuses]() { - return this.keyStatuses; - } - get [S$1.$sessionId]() { - return this.sessionId; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$1.$generateRequest](initDataType, initData) { - 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[149], 20950, 22, "sessionId"); - return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); - } - [$remove]() { - return js_util.promiseToFuture(dart.dynamic, this.remove()); - } - [S$1._update$1](...args) { - return this.update.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MediaKeySession.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaKeySession); -dart.addTypeCaches(html$.MediaKeySession); -dart.setMethodSignature(html$.MediaKeySession, () => ({ - __proto__: dart.getMethods(html$.MediaKeySession.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), - [S$.$load]: dart.fnType(async.Future, [core.String]), - [$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), - [S$1.$expiration]: dart.nullable(core.num), - [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), - [S$1.$sessionId]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -dart.setLibraryUri(html$.MediaKeySession, I[150]); -dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); -dart.defineLazy(html$.MediaKeySession, { - /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } -}, false); -dart.registerExtension("MediaKeySession", html$.MediaKeySession); -html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeyStatusMap.__(); - } - get [S$.$size]() { - return this.size; - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaKeyStatusMap); -dart.addTypeCaches(html$.MediaKeyStatusMap); -dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ - __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), - [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[150]); -dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); -html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeySystemAccess.__(); - } - get [S$1.$keySystem]() { - return this.keySystem; - } - [S$1.$createMediaKeys]() { - return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); - } - [S$1.$getConfiguration]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); - } - [S$1._getConfiguration_1](...args) { - return this.getConfiguration.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaKeySystemAccess); -dart.addTypeCaches(html$.MediaKeySystemAccess); -dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ - __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), - [S$1.$createMediaKeys]: dart.fnType(async.Future, []), - [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[150]); -dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); -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[149], 21014, 45, "policy"); - return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); - } - [S$1.$setServerCertificate](serverCertificate) { - return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); - } -}; -dart.addTypeTests(html$.MediaKeys); -dart.addTypeCaches(html$.MediaKeys); -dart.setMethodSignature(html$.MediaKeys, () => ({ - __proto__: dart.getMethods(html$.MediaKeys.__proto__), - [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), - [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), - [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) -})); -dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); -dart.setLibraryUri(html$.MediaKeys, I[150]); -dart.registerExtension("MediaKeys", html$.MediaKeys); -html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeysPolicy.__(); - } - static new(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); - } - get [S$1.$minHdcpVersion]() { - return this.minHdcpVersion; - } -}; -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[150]); -dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); -html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaList.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$mediaText]() { - return this.mediaText; - } - set [S$1.$mediaText](value) { - this.mediaText = value; - } - [S$1.$appendMedium](...args) { - return this.appendMedium.apply(this, args); - } - [S$1.$deleteMedium](...args) { - return this.deleteMedium.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaList); -dart.addTypeCaches(html$.MediaList); -dart.setMethodSignature(html$.MediaList, () => ({ - __proto__: dart.getMethods(html$.MediaList.__proto__), - [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), - [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), - [S$1.$mediaText]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaList, () => ({ - __proto__: dart.getSetters(html$.MediaList.__proto__), - [S$1.$mediaText]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MediaList, I[150]); -dart.registerExtension("MediaList", html$.MediaList); -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); - return html$.MediaMetadata._create_1(metadata_1); - } - return html$.MediaMetadata._create_2(); - } - static ['_#new#tearOff'](metadata = null) { - return html$.MediaMetadata.new(metadata); - } - static _create_1(metadata) { - return new MediaMetadata(metadata); - } - static _create_2() { - return new MediaMetadata(); - } - get [S$1.$album]() { - return this.album; - } - set [S$1.$album](value) { - this.album = value; - } - get [S$1.$artist]() { - return this.artist; - } - set [S$1.$artist](value) { - this.artist = value; - } - get [S$1.$artwork]() { - return this.artwork; - } - set [S$1.$artwork](value) { - this.artwork = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } -}; -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), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaMetadata, () => ({ - __proto__: dart.getSetters(html$.MediaMetadata.__proto__), - [S$1.$album]: dart.nullable(core.String), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) -})); -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; - } - get [S$.$media]() { - return this.media; - } - [S$1.$addListener](...args) { - return this.addListener.apply(this, args); - } - [S$1.$removeListener](...args) { - return this.removeListener.apply(this, args); - } - get [S.$onChange]() { - return html$.MediaQueryList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaQueryList); -dart.addTypeCaches(html$.MediaQueryList); -dart.setMethodSignature(html$.MediaQueryList, () => ({ - __proto__: dart.getMethods(html$.MediaQueryList.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); -dart.defineLazy(html$.MediaQueryList, { - /*html$.MediaQueryList.changeEvent*/get changeEvent() { - 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[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); - } - static _create_2(type) { - return new MediaQueryListEvent(type); - } - get [S.$matches]() { - return this.matches; - } - get [S$.$media]() { - return this.media; - } -}; -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[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[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); - } - static _create_2(stream) { - return new MediaRecorder(stream); - } - get [S$1.$audioBitsPerSecond]() { - return this.audioBitsPerSecond; - } - get [S$1.$mimeType]() { - return this.mimeType; - } - get [S$.$state]() { - return this.state; - } - get [S$1.$stream]() { - return this.stream; - } - get [S$1.$videoBitsPerSecond]() { - return this.videoBitsPerSecond; - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$requestData](...args) { - return this.requestData.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.MediaRecorder.errorEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.MediaRecorder.pauseEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaRecorder); -dart.addTypeCaches(html$.MediaRecorder); -dart.setMethodSignature(html$.MediaRecorder, () => ({ - __proto__: dart.getMethods(html$.MediaRecorder.__proto__), - [S$.$pause]: dart.fnType(dart.void, []), - [S$1.$requestData]: dart.fnType(dart.void, []), - [S$1.$resume]: dart.fnType(dart.void, []), - [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), - [S$1.$mimeType]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [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) -})); -dart.setLibraryUri(html$.MediaRecorder, I[150]); -dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); -dart.defineLazy(html$.MediaRecorder, { - /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - } -}, false); -dart.registerExtension("MediaRecorder", html$.MediaRecorder); -html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSession.__(); - } - get [S$1.$metadata]() { - return this.metadata; - } - set [S$1.$metadata](value) { - this.metadata = value; - } - get [S$1.$playbackState]() { - return this.playbackState; - } - set [S$1.$playbackState](value) { - this.playbackState = value; - } - [S$1.$setActionHandler](...args) { - return this.setActionHandler.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaSession); -dart.addTypeCaches(html$.MediaSession); -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), - [S$1.$playbackState]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaSession, () => ({ - __proto__: dart.getSetters(html$.MediaSession.__proto__), - [S$1.$metadata]: dart.nullable(html$.MediaMetadata), - [S$1.$playbackState]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MediaSession, I[150]); -dart.registerExtension("MediaSession", html$.MediaSession); -html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSettingsRange.__(); - } - get [S$1.$max]() { - return this.max; - } - get [S$1.$min]() { - return this.min; - } - get [S$1.$step]() { - return this.step; - } -}; -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[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(); - } - static get supported() { - return !!window.MediaSource; - } - get [S$1.$activeSourceBuffers]() { - return this.activeSourceBuffers; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1.$sourceBuffers]() { - return this.sourceBuffers; - } - [S$1.$addSourceBuffer](...args) { - return this.addSourceBuffer.apply(this, args); - } - [S$1.$clearLiveSeekableRange](...args) { - return this.clearLiveSeekableRange.apply(this, args); - } - [S$1.$endOfStream](...args) { - return this.endOfStream.apply(this, args); - } - [S$1.$removeSourceBuffer](...args) { - return this.removeSourceBuffer.apply(this, args); - } - [S$1.$setLiveSeekableRange](...args) { - return this.setLiveSeekableRange.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaSource); -dart.addTypeCaches(html$.MediaSource); -dart.setMethodSignature(html$.MediaSource, () => ({ - __proto__: dart.getMethods(html$.MediaSource.__proto__), - [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), - [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), - [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$duration]: dart.nullable(core.num), - [S.$readyState]: dart.nullable(core.String), - [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) -})); -dart.setSetterSignature(html$.MediaSource, () => ({ - __proto__: dart.getSetters(html$.MediaSource.__proto__), - [S$.$duration]: dart.nullable(core.num) -})); -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(); - } - if (html$.MediaStream.is(stream_OR_tracks)) { - return html$.MediaStream._create_2(stream_OR_tracks); - } - if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { - return html$.MediaStream._create_3(stream_OR_tracks); - } - 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(); - } - static _create_2(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - static _create_3(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - get [S$1.$active]() { - return this.active; - } - get [S.$id]() { - return this.id; - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$1.$getAudioTracks](...args) { - return this.getAudioTracks.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - [S$1.$getTracks](...args) { - return this.getTracks.apply(this, args); - } - [S$1.$getVideoTracks](...args) { - return this.getVideoTracks.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.MediaStream.addTrackEvent.forTarget(this); - } - get [S$1.$onRemoveTrack]() { - return html$.MediaStream.removeTrackEvent.forTarget(this); - } - static get supported() { - return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); - } -}; -dart.addTypeTests(html$.MediaStream); -dart.addTypeCaches(html$.MediaStream); -dart.setMethodSignature(html$.MediaStream, () => ({ - __proto__: dart.getMethods(html$.MediaStream.__proto__), - [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), - [S$.$clone]: dart.fnType(html$.MediaStream, []), - [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), - [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$onAddTrack]: async.Stream$(html$.Event), - [S$1.$onRemoveTrack]: async.Stream$(html$.Event) -})); -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[356] || CT.C356; - }, - /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - 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[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); - } - static _create_2(type) { - return new MediaStreamEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamEvent"); - } - get [S$1.$stream]() { - return this.stream; - } -}; -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.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[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); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); - } - get [S$1.$track]() { - return this.track; - } -}; -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.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); -dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); -dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); -html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MemoryInfo.__(); - } - get [S$1.$jsHeapSizeLimit]() { - return this.jsHeapSizeLimit; - } - get [S$1.$totalJSHeapSize]() { - return this.totalJSHeapSize; - } - get [S$1.$usedJSHeapSize]() { - return this.usedJSHeapSize; - } -}; -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[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); - ; -}).prototype = html$.MenuElement.prototype; -dart.addTypeTests(html$.MenuElement); -dart.addTypeCaches(html$.MenuElement); -dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); -dart.setLibraryUri(html$.MenuElement, I[150]); -dart.registerExtension("HTMLMenuElement", html$.MenuElement); -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(); - } - get [S$1.$port1]() { - return this.port1; - } - get [S$1.$port2]() { - return this.port2; - } -}; -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[150]); -dart.registerExtension("MessageChannel", html$.MessageChannel); -html$.MessageEvent = class MessageEvent$ extends html$.Event { - static new(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"); - if (source == null) { - source = html$.window; - } - if (!dart.test(html_common.Device.isIE)) { - return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); - } - let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); - 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]); - } - get [S$1._get_data]() { - return this.data; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new MessageEvent(type); - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); - } - get [S$1._get_source]() { - return this.source; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { - let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); - this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); - return; - } - [S$1._initMessageEvent_1](...args) { - return this.initMessageEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.MessageEvent); -dart.addTypeCaches(html$.MessageEvent); -dart.setMethodSignature(html$.MessageEvent, () => ({ - __proto__: dart.getMethods(html$.MessageEvent.__proto__), - [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, - [S$1._get_data]: dart.dynamic, - [S$1.$lastEventId]: core.String, - [S$.$origin]: core.String, - [S$1.$ports]: core.List$(html$.MessagePort), - [S.$source]: dart.nullable(html$.EventTarget), - [S$1._get_source]: dart.dynamic, - [S$1.$suborigin]: dart.nullable(core.String) -})); -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[149], 21738, 32, "type"); - if (type === "message") { - 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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$1._start$5](...args) { - return this.start.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MessagePort.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MessagePort); -dart.addTypeCaches(html$.MessagePort); -dart.setMethodSignature(html$.MessagePort, () => ({ - __proto__: dart.getMethods(html$.MessagePort.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$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[150]); -dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); -dart.defineLazy(html$.MessagePort, { - /*html$.MessagePort.messageEvent*/get messageEvent() { - 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; - } - set [S$0.$content](value) { - this.content = value; - } - get [S$1.$httpEquiv]() { - return this.httpEquiv; - } - set [S$1.$httpEquiv](value) { - this.httpEquiv = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } -}; -(html$.MetaElement.created = function() { - html$.MetaElement.__proto__.created.call(this); - ; -}).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, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String -})); -dart.setSetterSignature(html$.MetaElement, () => ({ - __proto__: dart.getSetters(html$.MetaElement.__proto__), - [S$0.$content]: core.String, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String -})); -dart.setLibraryUri(html$.MetaElement, I[150]); -dart.registerExtension("HTMLMetaElement", html$.MetaElement); -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]); - } - get [S$1._get_modificationTime]() { - return this.modificationTime; - } - get [S$.$size]() { - return this.size; - } -}; -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[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"); - } - get [S$1.$high]() { - return this.high; - } - set [S$1.$high](value) { - this.high = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$low]() { - return this.low; - } - set [S$1.$low](value) { - this.low = value; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$optimum]() { - return this.optimum; - } - set [S$1.$optimum](value) { - this.optimum = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.MeterElement.created = function() { - html$.MeterElement.__proto__.created.call(this); - ; -}).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), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.MeterElement, () => ({ - __proto__: dart.getSetters(html$.MeterElement.__proto__), - [S$1.$high]: dart.nullable(core.num), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -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; - } - get [S$1.$outputs]() { - return this.outputs; - } - get [S$1.$sysexEnabled]() { - return this.sysexEnabled; - } -}; -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[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[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); - } - static _create_2(type) { - return new MIDIConnectionEvent(type); - } - get [S$.$port]() { - return this.port; - } -}; -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[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; - } - get [S.$id]() { - return this.id; - } - get [S$1.$manufacturer]() { - return this.manufacturer; - } - get [$name]() { - return this.name; - } - get [S$.$state]() { - return this.state; - } - get [S.$type]() { - return this.type; - } - get [S.$version]() { - return this.version; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S.$open]() { - return js_util.promiseToFuture(dart.dynamic, this.open()); - } -}; -dart.addTypeTests(html$.MidiPort); -dart.addTypeCaches(html$.MidiPort); -dart.setMethodSignature(html$.MidiPort, () => ({ - __proto__: dart.getMethods(html$.MidiPort.__proto__), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$manufacturer]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$version]: dart.nullable(core.String) -})); -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[150]); -dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); -dart.defineLazy(html$.MidiInput, { - /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[359] || CT.C359; - } -}, false); -dart.registerExtension("MIDIInput", html$.MidiInput); -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[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[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[149], 21991, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.MidiInputMap); -dart.addTypeCaches(html$.MidiInputMap); -dart.setMethodSignature(html$.MidiInputMap, () => ({ - __proto__: dart.getMethods(html$.MidiInputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - static _create_2(type) { - return new MIDIMessageEvent(type); - } - get [S$.$data]() { - return this.data; - } -}; -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[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); - } -}; -dart.addTypeTests(html$.MidiOutput); -dart.addTypeCaches(html$.MidiOutput); -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.setStaticMethodSignature(html$.MidiOutput, () => ['__']); -dart.setLibraryUri(html$.MidiOutput, I[150]); -dart.registerExtension("MIDIOutput", html$.MidiOutput); -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[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[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[149], 22097, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.MidiOutputMap); -dart.addTypeCaches(html$.MidiOutputMap); -dart.setMethodSignature(html$.MidiOutputMap, () => ({ - __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); -dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); -html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MimeType.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$enabledPlugin]() { - return this.enabledPlugin; - } - get [S$1.$suffixes]() { - return this.suffixes; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), - [S$1.$suffixes]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MimeType, I[150]); -dart.registerExtension("MimeType", html$.MimeType); -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[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[149], 22216, 25, "index"); - html$.MimeType.as(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[149], 22222, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 22250, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -html$.MimeTypeArray.prototype[dart.isList] = true; -dart.addTypeTests(html$.MimeTypeArray); -dart.addTypeCaches(html$.MimeTypeArray); -html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; -dart.setMethodSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), - [$_get]: dart.fnType(html$.MimeType, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), - [$length]: core.int -})); -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; - } - set [S$1.$cite](value) { - this.cite = value; - } - get [S$1.$dateTime]() { - return this.dateTime; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } -}; -(html$.ModElement.created = function() { - html$.ModElement.__proto__.created.call(this); - ; -}).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, - [S$1.$dateTime]: core.String -})); -dart.setSetterSignature(html$.ModElement, () => ({ - __proto__: dart.getSetters(html$.ModElement.__proto__), - [S$1.$cite]: core.String, - [S$1.$dateTime]: core.String -})); -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[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; - if (view == null) { - view = html$.window; - } - let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); - 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[149], 22334, 31, "type"); - if (eventInitDict != null) { - let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); - return html$.MouseEvent._create_1(type, eventInitDict_1); - } - return html$.MouseEvent._create_2(type); - } - static _create_1(type, eventInitDict) { - return new MouseEvent(type, eventInitDict); - } - static _create_2(type) { - return new MouseEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1.$button]() { - return this.button; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$fromElement]() { - return this.fromElement; - } - get [S$1._layerX]() { - return this.layerX; - } - get [S$1._layerY]() { - return this.layerY; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1._movementX]() { - return this.movementX; - } - get [S$1._movementY]() { - return this.movementY; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$1.$region]() { - return this.region; - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$1.$toElement]() { - return this.toElement; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } - [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { - let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); - this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); - return; - } - [S$1._initMouseEvent_1](...args) { - return this.initMouseEvent.apply(this, args); - } - get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); - } - get [S$1.$movement]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); - } - get [S.$offset]() { - if (!!this.offsetX) { - let x = this.offsetX; - let y = this.offsetY; - return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); - } else { - if (!html$.Element.is(this[S.$target])) { - dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); - } - let target = html$.Element.as(this[S.$target]); - let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); - return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); - } - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); - } - get [S$1.$layer]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); - } - get [S$0.$page]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); - } - get [S$1.$dataTransfer]() { - return this.dataTransfer; - } -}; -dart.addTypeTests(html$.MouseEvent); -dart.addTypeCaches(html$.MouseEvent); -dart.setMethodSignature(html$.MouseEvent, () => ({ - __proto__: dart.getMethods(html$.MouseEvent.__proto__), - [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), - [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, - [S$1.$button]: core.int, - [S$1.$buttons]: dart.nullable(core.int), - [S$1._clientX]: core.num, - [S$1._clientY]: core.num, - [S$1.$ctrlKey]: core.bool, - [S$1.$fromElement]: dart.nullable(html$.Node), - [S$1._layerX]: dart.nullable(core.int), - [S$1._layerY]: dart.nullable(core.int), - [S$1.$metaKey]: core.bool, - [S$1._movementX]: dart.nullable(core.int), - [S$1._movementY]: dart.nullable(core.int), - [S$1._pageX]: dart.nullable(core.num), - [S$1._pageY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), - [S$1._get_relatedTarget]: dart.dynamic, - [S$1._screenX]: core.num, - [S$1._screenY]: core.num, - [S$1.$shiftKey]: core.bool, - [S$1.$toElement]: dart.nullable(html$.Node), - [S.$client]: math.Point$(core.num), - [S$1.$movement]: math.Point$(core.num), - [S.$offset]: math.Point$(core.num), - [S$1.$screen]: math.Point$(core.num), - [S$1.$layer]: math.Point$(core.num), - [S$0.$page]: math.Point$(core.num), - [S$1.$dataTransfer]: html$.DataTransfer -})); -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; - } - get [S$1.$attrName]() { - return this.attrName; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$1.$prevValue]() { - return this.prevValue; - } - get [S$1.$relatedNode]() { - return this.relatedNode; - } - [S$1.$initMutationEvent](...args) { - return this.initMutationEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.MutationEvent); -dart.addTypeCaches(html$.MutationEvent); -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), - [S$1.$attrName]: dart.nullable(core.String), - [S$1.$newValue]: dart.nullable(core.String), - [S$1.$prevValue]: dart.nullable(core.String), - [S$1.$relatedNode]: dart.nullable(html$.Node) -})); -dart.setLibraryUri(html$.MutationEvent, I[150]); -dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); -dart.defineLazy(html$.MutationEvent, { - /*html$.MutationEvent.ADDITION*/get ADDITION() { - return 2; - }, - /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { - return 1; - }, - /*html$.MutationEvent.REMOVAL*/get REMOVAL() { - return 3; - } -}, false); -dart.registerExtension("MutationEvent", html$.MutationEvent); -html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$2._observe_2](target); - return; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } - [S$2._observe_2](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - static get supported() { - return !!(window.MutationObserver || window.WebKitMutationObserver); - } - [S.$observe](target, opts) { - 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; - let subtree = opts && 'subtree' in opts ? opts.subtree : null; - let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; - let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; - let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; - let parsedOptions = html$.MutationObserver._createDict(); - function override(key, value) { - if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); - } - dart.fn(override, T$.dynamicAnddynamicToNull()); - override("childList", childList); - override("attributes", attributes); - override("characterData", characterData); - override("subtree", subtree); - override("attributeOldValue", attributeOldValue); - override("characterDataOldValue", characterDataOldValue); - if (attributeFilter != null) { - override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); - } - this[S$2._call](target, parsedOptions); - } - static _createDict() { - return {}; - } - static _add(m, key, value) { - if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); - m[key] = value; - } - static _fixupList(list) { - return list; - } - [S$2._call](...args) { - return this.observe.apply(this, args); - } - static new(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$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$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$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) -})); -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[360] || CT.C360; - } -}, false); -dart.registerExtension("MutationObserver", html$.MutationObserver); -dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); -html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MutationRecord.__(); - } - get [S$2.$addedNodes]() { - return this.addedNodes; - } - get [S$2.$attributeName]() { - return this.attributeName; - } - get [S$2.$attributeNamespace]() { - return this.attributeNamespace; - } - get [S$2.$nextSibling]() { - return this.nextSibling; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$previousSibling]() { - return this.previousSibling; - } - get [S$2.$removedNodes]() { - return this.removedNodes; - } - get [S.$target]() { - return this.target; - } - get [S.$type]() { - return this.type; - } -}; -dart.addTypeTests(html$.MutationRecord); -dart.addTypeCaches(html$.MutationRecord); -dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); -dart.setGetterSignature(html$.MutationRecord, () => ({ - __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [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[150]); -dart.registerExtension("MutationRecord", html$.MutationRecord); -html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigationPreloadManager.__(); - } - [S$2.$disable]() { - return js_util.promiseToFuture(dart.dynamic, this.disable()); - } - [S$2.$enable]() { - return js_util.promiseToFuture(dart.dynamic, this.enable()); - } - [S$2.$getState]() { - return html$.promiseToFutureAsMap(this.getState()); - } -}; -dart.addTypeTests(html$.NavigationPreloadManager); -dart.addTypeCaches(html$.NavigationPreloadManager); -dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ - __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [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.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); -dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); -dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); -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[150]); -dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); -html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$2.$getGamepads]() { - let gamepadList = this[S$2._getGamepads](); - let jsProto = gamepadList.prototype; - if (jsProto == null) { - gamepadList.prototype = Object.create(null); - } - _js_helper.applyExtension("GamepadList", gamepadList); - return gamepadList; - } - get [S$2.$language]() { - return this.language || this.userLanguage; - } - [S$1.$getUserMedia](opts) { - let audio = opts && 'audio' in opts ? opts.audio : false; - 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$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[149], 22787, 9, "error"); - completer.completeError(error); - }, T$0.NavigatorUserMediaErrorTovoid())); - return completer.future; - } - [S$2._ensureGetUserMedia]() { - if (!this.getUserMedia) { - this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; - } - } - [S$2._getUserMedia](...args) { - return this.getUserMedia.apply(this, args); - } - static ['_#_#tearOff']() { - return html$.Navigator.__(); - } - get [S$2.$budget]() { - return this.budget; - } - get [S$2.$clipboard]() { - return this.clipboard; - } - get [S$1.$connection]() { - return this.connection; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$deviceMemory]() { - return this.deviceMemory; - } - get [S$2.$doNotTrack]() { - return this.doNotTrack; - } - get [S$2.$geolocation]() { - return this.geolocation; - } - get [S$2.$maxTouchPoints]() { - return this.maxTouchPoints; - } - get [S$2.$mediaCapabilities]() { - return this.mediaCapabilities; - } - get [S$2.$mediaDevices]() { - return this.mediaDevices; - } - get [S$2.$mediaSession]() { - return this.mediaSession; - } - get [S$2.$mimeTypes]() { - return this.mimeTypes; - } - get [S$2.$nfc]() { - return this.nfc; - } - get [S$2.$permissions]() { - return this.permissions; - } - get [S$2.$presentation]() { - return this.presentation; - } - get [S$2.$productSub]() { - return this.productSub; - } - get [S$2.$serviceWorker]() { - return this.serviceWorker; - } - get [S$2.$storage]() { - return this.storage; - } - get [S$2.$vendor]() { - return this.vendor; - } - get [S$2.$vendorSub]() { - return this.vendorSub; - } - get [S$2.$vr]() { - return this.vr; - } - get [S$2.$persistentStorage]() { - return this.webkitPersistentStorage; - } - get [S$2.$temporaryStorage]() { - return this.webkitTemporaryStorage; - } - [S$2.$cancelKeyboardLock](...args) { - return this.cancelKeyboardLock.apply(this, args); - } - [S$2.$getBattery]() { - return js_util.promiseToFuture(dart.dynamic, this.getBattery()); - } - [S$2._getGamepads](...args) { - return this.getGamepads.apply(this, args); - } - [S$2.$getInstalledRelatedApps]() { - return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); - } - [S$2.$getVRDisplays]() { - return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); - } - [S$2.$registerProtocolHandler](...args) { - return this.registerProtocolHandler.apply(this, args); - } - [S$2.$requestKeyboardLock](keyCodes = null) { - if (keyCodes != null) { - let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); - return this[S$2._requestKeyboardLock_1](keyCodes_1); - } - return this[S$2._requestKeyboardLock_2](); - } - [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); - } - [S$2._requestKeyboardLock_2]() { - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); - } - [S$2.$requestMidiAccess](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); - } - [S$2.$requestMediaKeySystemAccess](keySystem, 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) { - return this.sendBeacon.apply(this, args); - } - [S$2.$share](data = null) { - let data_dict = null; - if (data != null) { - data_dict = html_common.convertDartToNative_Dictionary(data); - } - return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); - } - get [S$2.$webdriver]() { - return this.webdriver; - } - get [S$2.$cookieEnabled]() { - return this.cookieEnabled; - } - get [S$2.$appCodeName]() { - return this.appCodeName; - } - get [S$2.$appName]() { - return this.appName; - } - get [S$2.$appVersion]() { - return this.appVersion; - } - get [S$2.$dartEnabled]() { - return this.dartEnabled; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$2.$product]() { - return this.product; - } - get [S$2.$userAgent]() { - return this.userAgent; - } - get [S$2.$languages]() { - return this.languages; - } - get [S$2.$onLine]() { - return this.onLine; - } -}; -dart.addTypeTests(html$.Navigator); -dart.addTypeCaches(html$.Navigator); -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$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$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$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]), - [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), - [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), - [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), - [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), - [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$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$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), - [S$2.$mediaSession]: dart.nullable(html$.MediaSession), - [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), - [S$2.$nfc]: dart.nullable(html$._NFC), - [S$2.$permissions]: dart.nullable(html$.Permissions), - [S$2.$presentation]: dart.nullable(html$.Presentation), - [S$2.$productSub]: dart.nullable(core.String), - [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), - [S$2.$storage]: dart.nullable(html$.StorageManager), - [S$2.$vendor]: core.String, - [S$2.$vendorSub]: core.String, - [S$2.$vr]: dart.nullable(html$.VR), - [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$webdriver]: dart.nullable(core.bool), - [S$2.$cookieEnabled]: dart.nullable(core.bool), - [S$2.$appCodeName]: core.String, - [S$2.$appName]: core.String, - [S$2.$appVersion]: core.String, - [S$2.$dartEnabled]: dart.nullable(core.bool), - [S$2.$platform]: dart.nullable(core.String), - [S$2.$product]: core.String, - [S$2.$userAgent]: core.String, - [S$2.$languages]: dart.nullable(core.List$(core.String)), - [S$2.$onLine]: dart.nullable(core.bool) -})); -dart.setLibraryUri(html$.Navigator, I[150]); -dart.registerExtension("Navigator", html$.Navigator); -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[150]); -dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); -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[150]); -dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); -html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorID.__(); - } - get appCodeName() { - return this.appCodeName; - } - get appName() { - return this.appName; - } - get appVersion() { - return this.appVersion; - } - get dartEnabled() { - return this.dartEnabled; - } - get platform() { - return this.platform; - } - get product() { - return this.product; - } - get userAgent() { - return this.userAgent; - } -}; -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, - [S$2.$appCodeName]: core.String, - appName: core.String, - [S$2.$appName]: core.String, - appVersion: core.String, - [S$2.$appVersion]: core.String, - dartEnabled: dart.nullable(core.bool), - [S$2.$dartEnabled]: dart.nullable(core.bool), - platform: dart.nullable(core.String), - [S$2.$platform]: dart.nullable(core.String), - product: core.String, - [S$2.$product]: core.String, - userAgent: core.String, - [S$2.$userAgent]: core.String -})); -dart.setLibraryUri(html$.NavigatorID, I[150]); -dart.defineExtensionAccessors(html$.NavigatorID, [ - 'appCodeName', - 'appName', - 'appVersion', - 'dartEnabled', - 'platform', - 'product', - 'userAgent' -]); -html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorLanguage.__(); - } - get language() { - return this.language; - } - get languages() { - return this.languages; - } -}; -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$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[150]); -dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); -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[150]); -dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); -html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorUserMediaError.__(); - } - get [S$2.$constraintName]() { - return this.constraintName; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[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; - } - get [S$2.$downlinkMax]() { - return this.downlinkMax; - } - get [S$2.$effectiveType]() { - return this.effectiveType; - } - get [S$2.$rtt]() { - return this.rtt; - } - get [S.$type]() { - return this.type; - } - get [S.$onChange]() { - return html$.NetworkInformation.changeEvent.forTarget(this); - } -}; -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), - [S$2.$downlinkMax]: dart.nullable(core.num), - [S$2.$effectiveType]: dart.nullable(core.String), - [S$2.$rtt]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S.$onChange]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.NetworkInformation, I[150]); -dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); -dart.defineLazy(html$.NetworkInformation, { - /*html$.NetworkInformation.changeEvent*/get changeEvent() { - 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")); - return result; - } - set first(value) { - super.first = value; - } - get last() { - let result = this[S$._this].lastChild; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - let l = this.length; - if (l === 0) dart.throw(new core.StateError.new("No elements")); - if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); - return dart.nullCheck(this[S$._this].firstChild); - } - add(value) { - html$.Node.as(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[149], 23154, 30, "iterable"); - if (html$._ChildNodeListLazy.is(iterable)) { - let otherList = iterable; - if (otherList[S$._this] != this[S$._this]) { - for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); - } - } - return; - } - for (let node of iterable) { - this[S$._this][S.$append](node); - } - } - insert(index, node) { - if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); - html$.Node.as(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)); - } - if (index == this.length) { - this[S$._this][S.$append](node); - } else { - this[S$._this].insertBefore(node, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let item = this._get(index); - this[S$._this][S$.$insertAllBefore](iterable, item); - } - } - setAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); - } - removeLast() { - let result = this.last; - if (result != null) { - this[S$._this][S$._removeChild](result); - } - return result; - } - removeAt(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); - } - return result; - } - remove(object) { - if (!html$.Node.is(object)) return false; - let node = object; - if (this[S$._this] != node.parentNode) return false; - this[S$._this][S$._removeChild](node); - return true; - } - [S$1._filter$2](test, 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]; - if (test(child) == removeMatching) { - this[S$._this][S$._removeChild](child); - } - child = nextChild; - } - } - removeWhere(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[149], 23236, 25, "test"); - this[S$1._filter$2](test, false); - } - clear() { - this[S$._this][S$._clearChildren](); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); - html$.Node.as(value); - if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); - this[S$._this][S$._replaceChild](value, this._get(index)); - return value$; - } - get iterator() { - return this[S$._this].childNodes[$iterator]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[149], 23281, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); - } - _get(index) { - if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); - return this[S$._this].childNodes[$_get](index); - } - get rawList() { - return this[S$._this].childNodes; - } -}; -(html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); - this[S$._this] = _this; - ; -}).prototype = html$._ChildNodeListLazy.prototype; -dart.addTypeTests(html$._ChildNodeListLazy); -dart.addTypeCaches(html$._ChildNodeListLazy); -html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), - [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Node, [core.int]), - [$_get]: dart.fnType(html$.Node, [core.int]) -})); -dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); -dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), - [S$._this]: dart.finalFieldType(html$.Node) -})); -dart.defineExtensionMethods(html$._ChildNodeListLazy, [ - 'add', - 'addAll', - 'insert', - 'insertAll', - 'setAll', - 'removeLast', - 'removeAt', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - '_set', - 'sort', - 'shuffle', - 'setRange', - 'fillRange', - 'removeRange', - '_get' -]); -dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ - 'first', - 'last', - 'single', - 'iterator', - 'length' -]); -html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NodeFilter.__(); - } -}; -dart.addTypeTests(html$.NodeFilter); -dart.addTypeCaches(html$.NodeFilter); -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; - }, - /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { - return 2; - }, - /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { - return 3; - }, - /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { - return 4294967295.0; - }, - /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { - return 128; - }, - /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { - return 256; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { - return 1024; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { - return 512; - }, - /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { - return 1; - }, - /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { - return 64; - }, - /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { - return 4; - } -}, false); -dart.registerExtension("NodeFilter", html$.NodeFilter); -html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { - static new(root, 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; - } - get [S$2.$referenceNode]() { - return this.referenceNode; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } -}; -dart.addTypeTests(html$.NodeIterator); -dart.addTypeCaches(html$.NodeIterator); -dart.setMethodSignature(html$.NodeIterator, () => ({ - __proto__: dart.getMethods(html$.NodeIterator.__proto__), - [S$2.$detach]: dart.fnType(dart.void, []), - [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), - [S$2.$referenceNode]: dart.nullable(html$.Node), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int -})); -dart.setLibraryUri(html$.NodeIterator, I[150]); -dart.registerExtension("NodeIterator", html$.NodeIterator); -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[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[149], 23739, 25, "index"); - html$.Node.as(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[149], 23745, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 23773, 22, "index"); - return this[$_get](index); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } -}; -html$.NodeList.prototype[dart.isList] = true; -dart.addTypeTests(html$.NodeList); -dart.addTypeCaches(html$.NodeList); -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 -})); -dart.setSetterSignature(html$.NodeList, () => ({ - __proto__: dart.getSetters(html$.NodeList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.NodeList, I[150]); -dart.registerExtension("NodeList", html$.NodeList); -dart.registerExtension("RadioNodeList", html$.NodeList); -html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonDocumentTypeChildNode.__(); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } -}; -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[150]); -dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); -html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonElementParentNode.__(); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } -}; -dart.addTypeTests(html$.NonElementParentNode); -dart.addTypeCaches(html$.NonElementParentNode); -dart.setMethodSignature(html$.NonElementParentNode, () => ({ - __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) -})); -dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); -dart.setLibraryUri(html$.NonElementParentNode, I[150]); -dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); -html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NoncedElement.__(); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } -}; -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) -})); -dart.setSetterSignature(html$.NoncedElement, () => ({ - __proto__: dart.getSetters(html$.NoncedElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[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; - let parsedOptions = new _js_helper.LinkedMap.new(); - if (dir != null) parsedOptions[$_set]("dir", dir); - if (body != null) parsedOptions[$_set]("body", body); - if (lang != null) parsedOptions[$_set]("lang", lang); - if (tag != null) parsedOptions[$_set]("tag", tag); - 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[149], 23879, 51, "title"); - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return html$.Notification._create_1(title, options_1); - } - return html$.Notification._create_2(title); - } - static _create_1(title, options) { - return new Notification(title, options); - } - static _create_2(title) { - return new Notification(title); - } - static get supported() { - return !!window.Notification; - } - get [S$2.$actions]() { - return this.actions; - } - get [S$2.$badge]() { - return this.badge; - } - get [S$1.$body]() { - return this.body; - } - get [S$.$data]() { - return this.data; - } - get [S.$dir]() { - return this.dir; - } - get [S$2.$icon]() { - return this.icon; - } - get [S$2.$image]() { - return this.image; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$renotify]() { - return this.renotify; - } - get [S$2.$requireInteraction]() { - return this.requireInteraction; - } - get [S$2.$silent]() { - return this.silent; - } - get [S$2.$tag]() { - return this.tag; - } - get [S$.$timestamp]() { - return this.timestamp; - } - get [S.$title]() { - return this.title; - } - get [S$2.$vibrate]() { - return this.vibrate; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - static requestPermission() { - let completer = T$0.CompleterOfString().new(); - dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); - completer.complete(value); - }, T$0.StringTovoid())); - return completer.future; - } - get [S.$onClick]() { - return html$.Notification.clickEvent.forTarget(this); - } - get [S.$onClose]() { - return html$.Notification.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Notification.errorEvent.forTarget(this); - } - get [S$2.$onShow]() { - return html$.Notification.showEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Notification); -dart.addTypeCaches(html$.Notification); -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), - [S$2.$badge]: dart.nullable(core.String), - [S$1.$body]: dart.nullable(core.String), - [S$.$data]: dart.nullable(core.Object), - [S.$dir]: dart.nullable(core.String), - [S$2.$icon]: dart.nullable(core.String), - [S$2.$image]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S$2.$renotify]: dart.nullable(core.bool), - [S$2.$requireInteraction]: dart.nullable(core.bool), - [S$2.$silent]: dart.nullable(core.bool), - [S$2.$tag]: dart.nullable(core.String), - [S$.$timestamp]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S$2.$vibrate]: dart.nullable(core.List$(core.int)), - [S.$onClick]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$2.$onShow]: async.Stream$(html$.Event) -})); -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[361] || CT.C361; - }, - /*html$.Notification.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*html$.Notification.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Notification.showEvent*/get showEvent() { - 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[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); - } - get [S$1.$action]() { - return this.action; - } - get [S$2.$notification]() { - return this.notification; - } - get [S$2.$reply]() { - return this.reply; - } -}; -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[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; - } - set [$reversed](value) { - this.reversed = value; - } - get [S$.$start]() { - return this.start; - } - set [S$.$start](value) { - this.start = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.OListElement.created = function() { - html$.OListElement.__proto__.created.call(this); - ; -}).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), - [S$.$start]: core.int, - [S.$type]: core.String -})); -dart.setSetterSignature(html$.OListElement, () => ({ - __proto__: dart.getSetters(html$.OListElement.__proto__), - [$reversed]: dart.nullable(core.bool), - [S$.$start]: core.int, - [S.$type]: core.String -})); -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"); - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$.$data]() { - return this.data; - } - set [S$.$data](value) { - this.data = value; - } - get [S$.$form]() { - return this.form; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.ObjectElement.created = function() { - html$.ObjectElement.__proto__.created.call(this); - ; -}).prototype = html$.ObjectElement.prototype; -dart.addTypeTests(html$.ObjectElement); -dart.addTypeCaches(html$.ObjectElement); -dart.setMethodSignature(html$.ObjectElement, () => ({ - __proto__: dart.getMethods(html$.ObjectElement.__proto__), - [S$.__getter__]: dart.fnType(html$.Node, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1._get_contentWindow]: dart.dynamic, - [S$.$data]: core.String, - [S$.$form]: dart.nullable(html$.FormElement), - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [$width]: core.String, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.ObjectElement, () => ({ - __proto__: dart.getSetters(html$.ObjectElement.__proto__), - [S$.$data]: core.String, - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [$width]: core.String -})); -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[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); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$2.$convertToBlob](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); - } - [S$.$getContext](contextType, attributes = null) { - 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); - } - return this[S$._getContext_2](contextType); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$2.$transferToImageBitmap](...args) { - return this.transferToImageBitmap.apply(this, args); - } -}; -dart.addTypeTests(html$.OffscreenCanvas); -dart.addTypeCaches(html$.OffscreenCanvas); -dart.setMethodSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), - [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.OffscreenCanvas, I[150]); -dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); -html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OffscreenCanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$fillText](...args) { - return this.fillText.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); -dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); -html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } -}; -(html$.OptGroupElement.created = function() { - html$.OptGroupElement.__proto__.created.call(this); - ; -}).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, - [S$.$label]: core.String -})); -dart.setSetterSignature(html$.OptGroupElement, () => ({ - __proto__: dart.getSetters(html$.OptGroupElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$label]: core.String -})); -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[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.__(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); - } - if (defaultSelected != null) { - return html$.OptionElement._create_2(data, value, defaultSelected); - } - if (value != null) { - return html$.OptionElement._create_3(data, value); - } - if (data != null) { - return html$.OptionElement._create_4(data); - } - 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); - } - static _create_2(data, value, defaultSelected) { - return new Option(data, value, defaultSelected); - } - static _create_3(data, value) { - return new Option(data, value); - } - static _create_4(data) { - return new Option(data); - } - static _create_5() { - return new Option(); - } - static ['_#created#tearOff']() { - return new html$.OptionElement.created(); - } - get [S$2.$defaultSelected]() { - return this.defaultSelected; - } - set [S$2.$defaultSelected](value) { - this.defaultSelected = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S.$index]() { - return this.index; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.OptionElement.created = function() { - html$.OptionElement.__proto__.created.call(this); - ; -}).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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S.$index]: core.int, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String -})); -dart.setSetterSignature(html$.OptionElement, () => ({ - __proto__: dart.getSetters(html$.OptionElement.__proto__), - [S$2.$defaultSelected]: core.bool, - [S$.$disabled]: core.bool, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String -})); -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"); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.OutputElement.created = function() { - html$.OutputElement.__proto__.created.call(this); - ; -}).prototype = html$.OutputElement.prototype; -dart.addTypeTests(html$.OutputElement); -dart.addTypeCaches(html$.OutputElement); -dart.setMethodSignature(html$.OutputElement, () => ({ - __proto__: dart.getMethods(html$.OutputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool) -})); -dart.setSetterSignature(html$.OutputElement, () => ({ - __proto__: dart.getSetters(html$.OutputElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); -dart.setLibraryUri(html$.OutputElement, I[150]); -dart.registerExtension("HTMLOutputElement", html$.OutputElement); -html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OverconstrainedError.__(); - } - static new(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._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); - } - get [S$2.$constraint]() { - return this.constraint; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[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[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); - } - static _create_2(type) { - return new PageTransitionEvent(type); - } - get [S$2.$persisted]() { - return this.persisted; - } -}; -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[150]); -dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); -html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintRenderingContext2D.__(); - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.PaintRenderingContext2D); -dart.addTypeCaches(html$.PaintRenderingContext2D); -html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) -})); -dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); -dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); -html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintSize.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } -}; -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[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; - } - [S$2.$registerPaint](...args) { - return this.registerPaint.apply(this, args); - } -}; -dart.addTypeTests(html$.PaintWorkletGlobalScope); -dart.addTypeCaches(html$.PaintWorkletGlobalScope); -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[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); - ; -}).prototype = html$.ParagraphElement.prototype; -dart.addTypeTests(html$.ParagraphElement); -dart.addTypeCaches(html$.ParagraphElement); -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; - } - set [$name](value) { - this.name = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.ParamElement.created = function() { - html$.ParamElement.__proto__.created.call(this); - ; -}).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, - [S.$value]: core.String -})); -dart.setSetterSignature(html$.ParamElement, () => ({ - __proto__: dart.getSetters(html$.ParamElement.__proto__), - [$name]: core.String, - [S.$value]: core.String -})); -dart.setLibraryUri(html$.ParamElement, I[150]); -dart.registerExtension("HTMLParamElement", html$.ParamElement); -html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ParentNode.__(); - } - get [S._childElementCount]() { - return this._childElementCount; - } - get [S._children]() { - return this._children; - } - get [S._firstElementChild]() { - return this._firstElementChild; - } - get [S._lastElementChild]() { - return this._lastElementChild; - } -}; -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, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) -})); -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); - return html$.PasswordCredential._create_1(data_1); - } - if (html$.FormElement.is(data_OR_form)) { - return html$.PasswordCredential._create_2(data_OR_form); - } - 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); - } - static _create_2(data_OR_form) { - return new PasswordCredential(data_OR_form); - } - get [S$2.$additionalData]() { - return this.additionalData; - } - set [S$2.$additionalData](value) { - this.additionalData = value; - } - get [S$2.$idName]() { - return this.idName; - } - set [S$2.$idName](value) { - this.idName = value; - } - get [S$.$password]() { - return this.password; - } - get [S$2.$passwordName]() { - return this.passwordName; - } - set [S$2.$passwordName](value) { - this.passwordName = value; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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), - [S$2.$idName]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.PasswordCredential, () => ({ - __proto__: dart.getSetters(html$.PasswordCredential.__proto__), - [S$2.$additionalData]: dart.nullable(core.Object), - [S$2.$idName]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PasswordCredential, I[150]); -dart.registerExtension("PasswordCredential", html$.PasswordCredential); -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(); - } - if (html$.Path2D.is(path_OR_text)) { - return html$.Path2D._create_2(path_OR_text); - } - if (typeof path_OR_text == 'string') { - return html$.Path2D._create_3(path_OR_text); - } - 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(); - } - static _create_2(path_OR_text) { - return new Path2D(path_OR_text); - } - static _create_3(path_OR_text) { - return new Path2D(path_OR_text); - } - [S$2.$addPath](...args) { - return this.addPath.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.Path2D); -dart.addTypeCaches(html$.Path2D); -html$.Path2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.Path2D, () => ({ - __proto__: dart.getMethods(html$.Path2D.__proto__), - [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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$.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentAddress.__(); - } - get [S$2.$addressLine]() { - return this.addressLine; - } - get [S$2.$city]() { - return this.city; - } - get [S$2.$country]() { - return this.country; - } - get [S$2.$dependentLocality]() { - return this.dependentLocality; - } - get [S$2.$languageCode]() { - return this.languageCode; - } - get [S$2.$organization]() { - return this.organization; - } - get [S$2.$phone]() { - return this.phone; - } - get [S$2.$postalCode]() { - return this.postalCode; - } - get [S$2.$recipient]() { - return this.recipient; - } - get [S$1.$region]() { - return this.region; - } - get [S$2.$sortingCode]() { - return this.sortingCode; - } -}; -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)), - [S$2.$city]: dart.nullable(core.String), - [S$2.$country]: dart.nullable(core.String), - [S$2.$dependentLocality]: dart.nullable(core.String), - [S$2.$languageCode]: dart.nullable(core.String), - [S$2.$organization]: dart.nullable(core.String), - [S$2.$phone]: dart.nullable(core.String), - [S$2.$postalCode]: dart.nullable(core.String), - [S$2.$recipient]: dart.nullable(core.String), - [S$1.$region]: dart.nullable(core.String), - [S$2.$sortingCode]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PaymentAddress, I[150]); -dart.registerExtension("PaymentAddress", html$.PaymentAddress); -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[149], 25057, 30, "instrumentKey"); - return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); - } - [S.$get](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[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[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)); - } -}; -dart.addTypeTests(html$.PaymentInstruments); -dart.addTypeCaches(html$.PaymentInstruments); -dart.setMethodSignature(html$.PaymentInstruments, () => ({ - __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), - [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future$(core.List), []), - [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) -})); -dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); -dart.setLibraryUri(html$.PaymentInstruments, I[150]); -dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); -html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentManager.__(); - } - get [S$2.$instruments]() { - return this.instruments; - } - get [S$2.$userHint]() { - return this.userHint; - } - set [S$2.$userHint](value) { - this.userHint = value; - } -}; -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), - [S$2.$userHint]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.PaymentManager, () => ({ - __proto__: dart.getSetters(html$.PaymentManager.__proto__), - [S$2.$userHint]: dart.nullable(core.String) -})); -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[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)); - } - if (options != null) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - let options_2 = html_common.convertDartToNative_Dictionary(options); - return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); - } - 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; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - get [S$2.$shippingType]() { - return this.shippingType; - } - [S.$abort]() { - return js_util.promiseToFuture(dart.dynamic, this.abort()); - } - [S$2.$canMakePayment]() { - return js_util.promiseToFuture(core.bool, this.canMakePayment()); - } - [S$0.$show]() { - return js_util.promiseToFuture(html$.PaymentResponse, this.show()); - } -}; -dart.addTypeTests(html$.PaymentRequest); -dart.addTypeCaches(html$.PaymentRequest); -dart.setMethodSignature(html$.PaymentRequest, () => ({ - __proto__: dart.getMethods(html$.PaymentRequest.__proto__), - [S.$abort]: dart.fnType(async.Future, []), - [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), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String), - [S$2.$shippingType]: dart.nullable(core.String) -})); -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[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); - } - get [S$2.$instrumentKey]() { - return this.instrumentKey; - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$2.$paymentRequestId]() { - return this.paymentRequestId; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - get [S$2.$total]() { - return this.total; - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.PaymentRequestEvent); -dart.addTypeCaches(html$.PaymentRequestEvent); -dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), - [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), - [S$.$methodData]: dart.nullable(core.List), - [S$.$modifiers]: dart.nullable(core.List), - [S$2.$paymentRequestId]: dart.nullable(core.String), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String), - [S$2.$total]: dart.nullable(core.Object) -})); -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[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); - } - static _create_2(type) { - return new PaymentRequestUpdateEvent(type); - } - [S$2.$updateWith](...args) { - return this.updateWith.apply(this, args); - } -}; -dart.addTypeTests(html$.PaymentRequestUpdateEvent); -dart.addTypeCaches(html$.PaymentRequestUpdateEvent); -dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), - [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentResponse.__(); - } - get [S$.$details]() { - return this.details; - } - get [S$2.$methodName]() { - return this.methodName; - } - get [S$2.$payerEmail]() { - return this.payerEmail; - } - get [S$2.$payerName]() { - return this.payerName; - } - get [S$2.$payerPhone]() { - return this.payerPhone; - } - get [S$2.$requestId]() { - return this.requestId; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - [S$1.$complete](paymentResult = null) { - return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); - } -}; -dart.addTypeTests(html$.PaymentResponse); -dart.addTypeCaches(html$.PaymentResponse); -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), - [S$2.$methodName]: dart.nullable(core.String), - [S$2.$payerEmail]: dart.nullable(core.String), - [S$2.$payerName]: dart.nullable(core.String), - [S$2.$payerPhone]: dart.nullable(core.String), - [S$2.$requestId]: dart.nullable(core.String), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String) -})); -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; - } - get [S$2.$memory]() { - return this.memory; - } - get [S$2.$navigation]() { - return this.navigation; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - get [S$.$timing]() { - return this.timing; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, 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._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) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } -}; -dart.addTypeTests(html$.Performance); -dart.addTypeCaches(html$.Performance); -dart.setMethodSignature(html$.Performance, () => ({ - __proto__: dart.getMethods(html$.Performance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.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), - [S$2.$navigation]: html$.PerformanceNavigation, - [S$2.$timeOrigin]: dart.nullable(core.num), - [S$.$timing]: html$.PerformanceTiming -})); -dart.setStaticGetterSignature(html$.Performance, () => ['supported']); -dart.setLibraryUri(html$.Performance, I[150]); -dart.registerExtension("Performance", html$.Performance); -html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceEntry.__(); - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$entryType]() { - return this.entryType; - } - get [$name]() { - return this.name; - } - get [S$.$startTime]() { - return this.startTime; - } -}; -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, - [S$2.$entryType]: core.String, - [$name]: core.String, - [S$.$startTime]: core.num -})); -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[150]); -dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); -html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMark.__(); - } -}; -dart.addTypeTests(html$.PerformanceMark); -dart.addTypeCaches(html$.PerformanceMark); -dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); -dart.setLibraryUri(html$.PerformanceMark, I[150]); -dart.registerExtension("PerformanceMark", html$.PerformanceMark); -html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMeasure.__(); - } -}; -dart.addTypeTests(html$.PerformanceMeasure); -dart.addTypeCaches(html$.PerformanceMeasure); -dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); -dart.setLibraryUri(html$.PerformanceMeasure, I[150]); -dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); -html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceNavigation.__(); - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } -}; -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[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; - }, - /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { - return 0; - }, - /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { - return 1; - }, - /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { - return 255; - } -}, 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; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$decodedBodySize]() { - return this.decodedBodySize; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$encodedBodySize]() { - return this.encodedBodySize; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$initiatorType]() { - return this.initiatorType; - } - get [S$2.$nextHopProtocol]() { - return this.nextHopProtocol; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$serverTiming]() { - return this.serverTiming; - } - get [S$2.$transferSize]() { - return this.transferSize; - } - get [S$2.$workerStart]() { - return this.workerStart; - } -}; -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, - [S$2.$connectStart]: core.num, - [S$2.$decodedBodySize]: dart.nullable(core.int), - [S$2.$domainLookupEnd]: dart.nullable(core.num), - [S$2.$domainLookupStart]: dart.nullable(core.num), - [S$2.$encodedBodySize]: dart.nullable(core.int), - [S$2.$fetchStart]: dart.nullable(core.num), - [S$2.$initiatorType]: dart.nullable(core.String), - [S$2.$nextHopProtocol]: dart.nullable(core.String), - [S$2.$redirectEnd]: dart.nullable(core.num), - [S$2.$redirectStart]: dart.nullable(core.num), - [S$2.$requestStart]: dart.nullable(core.num), - [S$2.$responseEnd]: dart.nullable(core.num), - [S$2.$responseStart]: dart.nullable(core.num), - [S$2.$secureConnectionStart]: dart.nullable(core.num), - [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), - [S$2.$transferSize]: dart.nullable(core.int), - [S$2.$workerStart]: dart.nullable(core.num) -})); -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; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } -}; -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), - [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), - [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), - [S$2.$domInteractive]: dart.nullable(core.num), - [S$2.$loadEventEnd]: dart.nullable(core.num), - [S$2.$loadEventStart]: dart.nullable(core.num), - [S$2.$redirectCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$2.$unloadEventEnd]: dart.nullable(core.num), - [S$2.$unloadEventStart]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); -dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); -html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](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; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } -}; -dart.addTypeTests(html$.PerformanceObserver); -dart.addTypeCaches(html$.PerformanceObserver); -dart.setMethodSignature(html$.PerformanceObserver, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [core.Map]), - [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) -})); -dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.PerformanceObserver, I[150]); -dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); -html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserverEntryList.__(); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } -}; -dart.addTypeTests(html$.PerformanceObserverEntryList); -dart.addTypeCaches(html$.PerformanceObserverEntryList); -dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), - [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]) -})); -dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); -dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); -dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); -html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformancePaintTiming.__(); - } -}; -dart.addTypeTests(html$.PerformancePaintTiming); -dart.addTypeCaches(html$.PerformancePaintTiming); -dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); -dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); -dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); -html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceServerTiming.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$.$duration]() { - return this.duration; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); -html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceTiming.__(); - } - get [S$2.$connectEnd]() { - return this.connectEnd; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$domComplete]() { - return this.domComplete; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$domLoading]() { - return this.domLoading; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$navigationStart]() { - return this.navigationStart; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } -}; -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, - [S$2.$connectStart]: core.int, - [S$2.$domComplete]: core.int, - [S$2.$domContentLoadedEventEnd]: core.int, - [S$2.$domContentLoadedEventStart]: core.int, - [S$2.$domInteractive]: core.int, - [S$2.$domLoading]: core.int, - [S$2.$domainLookupEnd]: core.int, - [S$2.$domainLookupStart]: core.int, - [S$2.$fetchStart]: core.int, - [S$2.$loadEventEnd]: core.int, - [S$2.$loadEventStart]: core.int, - [S$2.$navigationStart]: core.int, - [S$2.$redirectEnd]: core.int, - [S$2.$redirectStart]: core.int, - [S$2.$requestStart]: core.int, - [S$2.$responseEnd]: core.int, - [S$2.$responseStart]: core.int, - [S$2.$secureConnectionStart]: core.int, - [S$2.$unloadEventEnd]: core.int, - [S$2.$unloadEventStart]: core.int -})); -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; - } - get [S.$onChange]() { - return html$.PermissionStatus.changeEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); -dart.defineLazy(html$.PermissionStatus, { - /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - } -}, false); -dart.registerExtension("PermissionStatus", html$.PermissionStatus); -html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Permissions.__(); - } - [S$2.$query](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[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[149], 25662, 49, "permissions"); - return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); - } - [S$2.$revoke](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)); - } -}; -dart.addTypeTests(html$.Permissions); -dart.addTypeCaches(html$.Permissions); -dart.setMethodSignature(html$.Permissions, () => ({ - __proto__: dart.getMethods(html$.Permissions.__proto__), - [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [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.setStaticMethodSignature(html$.Permissions, () => ['__']); -dart.setLibraryUri(html$.Permissions, I[150]); -dart.registerExtension("Permissions", html$.Permissions); -html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PhotoCapabilities.__(); - } - get [S$2.$fillLightMode]() { - return this.fillLightMode; - } - get [S$2.$imageHeight]() { - return this.imageHeight; - } - get [S$2.$imageWidth]() { - return this.imageWidth; - } - get [S$2.$redEyeReduction]() { - return this.redEyeReduction; - } -}; -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), - [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), - [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), - [S$2.$redEyeReduction]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PhotoCapabilities, I[150]); -dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); -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.setStaticMethodSignature(html$.PictureElement, () => ['__']); -dart.setLibraryUri(html$.PictureElement, I[150]); -dart.registerExtension("HTMLPictureElement", html$.PictureElement); -html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Plugin.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$filename]() { - return this.filename; - } - get [$length]() { - return this.length; - } - get [$name]() { - return this.name; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -dart.addTypeTests(html$.Plugin); -dart.addTypeCaches(html$.Plugin); -dart.setMethodSignature(html$.Plugin, () => ({ - __proto__: dart.getMethods(html$.Plugin.__proto__), - [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), - [S$1.$filename]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Plugin, I[150]); -dart.registerExtension("Plugin", html$.Plugin); -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[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[149], 25752, 25, "index"); - html$.Plugin.as(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[149], 25758, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 25786, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$2.$refresh](...args) { - return this.refresh.apply(this, args); - } -}; -html$.PluginArray.prototype[dart.isList] = true; -dart.addTypeTests(html$.PluginArray); -dart.addTypeCaches(html$.PluginArray); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), - [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 -})); -dart.setSetterSignature(html$.PluginArray, () => ({ - __proto__: dart.getSetters(html$.PluginArray.__proto__), - [$length]: core.int -})); -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[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); - } - static _create_2(type) { - return new PointerEvent(type); - } - get [$height]() { - return this.height; - } - get [S$2.$isPrimary]() { - return this.isPrimary; - } - get [S$2.$pointerId]() { - return this.pointerId; - } - get [S$2.$pointerType]() { - return this.pointerType; - } - get [S$2.$pressure]() { - return this.pressure; - } - get [S$2.$tangentialPressure]() { - return this.tangentialPressure; - } - get [S$2.$tiltX]() { - return this.tiltX; - } - get [S$2.$tiltY]() { - return this.tiltY; - } - get [S$2.$twist]() { - return this.twist; - } - get [$width]() { - return this.width; - } - [S$2.$getCoalescedEvents](...args) { - return this.getCoalescedEvents.apply(this, args); - } - static get supported() { - try { - return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } -}; -dart.addTypeTests(html$.PointerEvent); -dart.addTypeCaches(html$.PointerEvent); -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), - [S$2.$isPrimary]: dart.nullable(core.bool), - [S$2.$pointerId]: dart.nullable(core.int), - [S$2.$pointerType]: dart.nullable(core.String), - [S$2.$pressure]: dart.nullable(core.num), - [S$2.$tangentialPressure]: dart.nullable(core.num), - [S$2.$tiltX]: dart.nullable(core.int), - [S$2.$tiltY]: dart.nullable(core.int), - [S$2.$twist]: dart.nullable(core.int), - [$width]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new PopStateEvent(type); - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } -}; -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[150]); -dart.registerExtension("PopStateEvent", html$.PopStateEvent); -html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PositionError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); -dart.defineLazy(html$.PositionError, { - /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { - return 1; - }, - /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { - return 2; - }, - /*html$.PositionError.TIMEOUT*/get TIMEOUT() { - return 3; - } -}, 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); - ; -}).prototype = html$.PreElement.prototype; -dart.addTypeTests(html$.PreElement); -dart.addTypeCaches(html$.PreElement); -dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); -dart.setLibraryUri(html$.PreElement, I[150]); -dart.registerExtension("HTMLPreElement", html$.PreElement); -html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Presentation.__(); - } - get [S$2.$defaultRequest]() { - return this.defaultRequest; - } - set [S$2.$defaultRequest](value) { - this.defaultRequest = value; - } - get [S$2.$receiver]() { - return this.receiver; - } -}; -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), - [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) -})); -dart.setSetterSignature(html$.Presentation, () => ({ - __proto__: dart.getSetters(html$.Presentation.__proto__), - [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) -})); -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; - } - get [S.$onChange]() { - return html$.PresentationAvailability.changeEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); -dart.defineLazy(html$.PresentationAvailability, { - /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - 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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$state]() { - return this.state; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S$.$onMessage]() { - return html$.PresentationConnection.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.PresentationConnection); -dart.addTypeCaches(html$.PresentationConnection); -dart.setMethodSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getMethods(html$.PresentationConnection.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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), - [S.$id]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -dart.setSetterSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getSetters(html$.PresentationConnection.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PresentationConnection, I[150]); -dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); -dart.defineLazy(html$.PresentationConnection, { - /*html$.PresentationConnection.messageEvent*/get messageEvent() { - 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[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); - } - get [S$1.$connection]() { - return this.connection; - } -}; -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[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[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); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } -}; -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[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[150]); -dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); -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[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); - } - if (T$.ListOfString().is(url_OR_urls)) { - let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); - return html$.PresentationRequest._create_2(urls_1); - } - 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); - } - static _create_2(url_OR_urls) { - return new PresentationRequest(url_OR_urls); - } - [S$2.$getAvailability]() { - return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); - } - [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); - return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); - } - [S$.$start]() { - return js_util.promiseToFuture(html$.PresentationConnection, this.start()); - } -}; -dart.addTypeTests(html$.PresentationRequest); -dart.addTypeCaches(html$.PresentationRequest); -dart.setMethodSignature(html$.PresentationRequest, () => ({ - __proto__: dart.getMethods(html$.PresentationRequest.__proto__), - [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), - [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), - [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) -})); -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; - } - get [S.$target]() { - return this.target; - } -}; -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[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"); - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$0.$position]() { - return this.position; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.ProgressElement.created = function() { - html$.ProgressElement.__proto__.created.call(this); - ; -}).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)), - [S$1.$max]: core.num, - [S$0.$position]: core.num, - [S.$value]: core.num -})); -dart.setSetterSignature(html$.ProgressElement, () => ({ - __proto__: dart.getSetters(html$.ProgressElement.__proto__), - [S$1.$max]: core.num, - [S.$value]: core.num -})); -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[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); - } - static _create_2(type) { - return new ProgressEvent(type); - } - get [S$2.$lengthComputable]() { - return this.lengthComputable; - } - get [S$1.$loaded]() { - return this.loaded; - } - get [S$2.$total]() { - return this.total; - } -}; -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[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[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); - } - get [S$2.$promise]() { - return js_util.promiseToFuture(dart.dynamic, this.promise); - } - get [S$.$reason]() { - return this.reason; - } -}; -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[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; - } - get [S$.$response]() { - return this.response; - } -}; -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[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[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); - } - static _create_2(type) { - return new PushEvent(type); - } - get [S$.$data]() { - return this.data; - } -}; -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[150]); -dart.registerExtension("PushEvent", html$.PushEvent); -html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushManager.__(); - } - [S$2.$getSubscription]() { - return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); - } - [S$2.$permissionState](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); - } - [S$2.$subscribe](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); - } -}; -dart.addTypeTests(html$.PushManager); -dart.addTypeCaches(html$.PushManager); -dart.setMethodSignature(html$.PushManager, () => ({ - __proto__: dart.getMethods(html$.PushManager.__proto__), - [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushMessageData.__(); - } - [S$.$arrayBuffer](...args) { - return this.arrayBuffer.apply(this, args); - } - [S$.$blob](...args) { - return this.blob.apply(this, args); - } - [S$.$json](...args) { - return this.json.apply(this, args); - } - [S.$text](...args) { - return this.text.apply(this, args); - } -}; -dart.addTypeTests(html$.PushMessageData); -dart.addTypeCaches(html$.PushMessageData); -dart.setMethodSignature(html$.PushMessageData, () => ({ - __proto__: dart.getMethods(html$.PushMessageData.__proto__), - [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), - [S$.$blob]: dart.fnType(html$.Blob, []), - [S$.$json]: dart.fnType(core.Object, []), - [S.$text]: dart.fnType(core.String, []) -})); -dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); -dart.setLibraryUri(html$.PushMessageData, I[150]); -dart.registerExtension("PushMessageData", html$.PushMessageData); -html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscription.__(); - } - get [S$2.$endpoint]() { - return this.endpoint; - } - get [S$2.$expirationTime]() { - return this.expirationTime; - } - get [S$0.$options]() { - return this.options; - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S$2.$unsubscribe]() { - return js_util.promiseToFuture(core.bool, this.unsubscribe()); - } -}; -dart.addTypeTests(html$.PushSubscription); -dart.addTypeCaches(html$.PushSubscription); -dart.setMethodSignature(html$.PushSubscription, () => ({ - __proto__: dart.getMethods(html$.PushSubscription.__proto__), - [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[150]); -dart.registerExtension("PushSubscription", html$.PushSubscription); -html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscriptionOptions.__(); - } - get [S$2.$applicationServerKey]() { - return this.applicationServerKey; - } - get [S$2.$userVisibleOnly]() { - return this.userVisibleOnly; - } -}; -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[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; - } - set [S$1.$cite](value) { - this.cite = value; - } -}; -(html$.QuoteElement.created = function() { - html$.QuoteElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.QuoteElement, () => ({ - __proto__: dart.getSetters(html$.QuoteElement.__proto__), - [S$1.$cite]: core.String -})); -dart.setLibraryUri(html$.QuoteElement, I[150]); -dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); -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[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; - } - get [S$2.$commonAncestorContainer]() { - return this.commonAncestorContainer; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - [S$2.$cloneContents](...args) { - return this.cloneContents.apply(this, args); - } - [S$2.$cloneRange](...args) { - return this.cloneRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$compareBoundaryPoints](...args) { - return this.compareBoundaryPoints.apply(this, args); - } - [S$2.$comparePoint](...args) { - return this.comparePoint.apply(this, args); - } - [S$2.$createContextualFragment](...args) { - return this.createContextualFragment.apply(this, args); - } - [S$2.$deleteContents](...args) { - return this.deleteContents.apply(this, args); - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [$expand](...args) { - return this.expand.apply(this, args); - } - [S$2.$extractContents](...args) { - return this.extractContents.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S$2.$insertNode](...args) { - return this.insertNode.apply(this, args); - } - [S$2.$isPointInRange](...args) { - return this.isPointInRange.apply(this, args); - } - [S$2.$selectNode](...args) { - return this.selectNode.apply(this, args); - } - [S$2.$selectNodeContents](...args) { - return this.selectNodeContents.apply(this, args); - } - [S$2.$setEnd](...args) { - return this.setEnd.apply(this, args); - } - [S$2.$setEndAfter](...args) { - return this.setEndAfter.apply(this, args); - } - [S$2.$setEndBefore](...args) { - return this.setEndBefore.apply(this, args); - } - [S$2.$setStart](...args) { - return this.setStart.apply(this, args); - } - [S$2.$setStartAfter](...args) { - return this.setStartAfter.apply(this, args); - } - [S$2.$setStartBefore](...args) { - return this.setStartBefore.apply(this, args); - } - [S$2.$surroundContents](...args) { - return this.surroundContents.apply(this, args); - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - static get supportsCreateContextualFragment() { - return "createContextualFragment" in window.Range.prototype; - } -}; -dart.addTypeTests(html$.Range); -dart.addTypeCaches(html$.Range); -dart.setMethodSignature(html$.Range, () => ({ - __proto__: dart.getMethods(html$.Range.__proto__), - [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), - [S$2.$cloneRange]: dart.fnType(html$.Range, []), - [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), - [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), - [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), - [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), - [S$2.$deleteContents]: dart.fnType(dart.void, []), - [S$2.$detach]: dart.fnType(dart.void, []), - [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), - [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), - [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, - [S$2.$commonAncestorContainer]: html$.Node, - [S$2.$endContainer]: html$.Node, - [S$2.$endOffset]: core.int, - [S$2.$startContainer]: html$.Node, - [S$2.$startOffset]: core.int -})); -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; - }, - /*html$.Range.END_TO_START*/get END_TO_START() { - return 3; - }, - /*html$.Range.START_TO_END*/get START_TO_END() { - return 1; - }, - /*html$.Range.START_TO_START*/get START_TO_START() { - return 0; - } -}, false); -dart.registerExtension("Range", html$.Range); -html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RelatedApplication.__(); - } - get [S.$id]() { - return this.id; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$.$url]() { - return this.url; - } -}; -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[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); - return html$.RelativeOrientationSensor._create_1(sensorOptions_1); - } - return html$.RelativeOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.RelativeOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new RelativeOrientationSensor(sensorOptions); - } - static _create_2() { - return new RelativeOrientationSensor(); - } -}; -dart.addTypeTests(html$.RelativeOrientationSensor); -dart.addTypeCaches(html$.RelativeOrientationSensor); -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; - } - [S$2.$cancelWatchAvailability](id = null) { - return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } - [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); - return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); - } -}; -dart.addTypeTests(html$.RemotePlayback); -dart.addTypeCaches(html$.RemotePlayback); -dart.setMethodSignature(html$.RemotePlayback, () => ({ - __proto__: dart.getMethods(html$.RemotePlayback.__proto__), - [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), - [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[150]); -dart.registerExtension("RemotePlayback", html$.RemotePlayback); -html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportingObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } -}; -dart.addTypeTests(html$.ReportingObserver); -dart.addTypeCaches(html$.ReportingObserver); -dart.setMethodSignature(html$.ReportingObserver, () => ({ - __proto__: dart.getMethods(html$.ReportingObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, []) -})); -dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.ReportingObserver, I[150]); -dart.registerExtension("ReportingObserver", html$.ReportingObserver); -html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(html$.ResizeObserver); -dart.addTypeCaches(html$.ResizeObserver); -dart.setMethodSignature(html$.ResizeObserver, () => ({ - __proto__: dart.getMethods(html$.ResizeObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) -})); -dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.ResizeObserver, I[150]); -dart.registerExtension("ResizeObserver", html$.ResizeObserver); -html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserverEntry.__(); - } - get [S$2.$contentRect]() { - return this.contentRect; - } - get [S.$target]() { - return this.target; - } -}; -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[150]); -dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); -html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcCertificate.__(); - } - get [S$2.$expires]() { - return this.expires; - } - [S$2.$getFingerprints](...args) { - return this.getFingerprints.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcCertificate); -dart.addTypeCaches(html$.RtcCertificate); -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[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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$2.$bufferedAmountLowThreshold]() { - return this.bufferedAmountLowThreshold; - } - set [S$2.$bufferedAmountLowThreshold](value) { - this.bufferedAmountLowThreshold = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$maxRetransmitTime]() { - return this.maxRetransmitTime; - } - get [S$2.$maxRetransmits]() { - return this.maxRetransmits; - } - get [S$2.$negotiated]() { - return this.negotiated; - } - get [S$2.$ordered]() { - return this.ordered; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$2.$reliable]() { - return this.reliable; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.RtcDataChannel.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.RtcDataChannel.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.RtcDataChannel.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.RtcDataChannel.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcDataChannel); -dart.addTypeCaches(html$.RtcDataChannel); -dart.setMethodSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.int), - [S$.$label]: dart.nullable(core.String), - [S$2.$maxRetransmitTime]: dart.nullable(core.int), - [S$2.$maxRetransmits]: dart.nullable(core.int), - [S$2.$negotiated]: dart.nullable(core.bool), - [S$2.$ordered]: dart.nullable(core.bool), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.String), - [S$2.$reliable]: dart.nullable(core.bool), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), - [S$2.$binaryType]: dart.nullable(core.String), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) -})); -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[225] || CT.C225; - }, - /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.RtcDataChannel.openEvent*/get openEvent() { - 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[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); - } - get [S$2.$channel]() { - return this.channel; - } -}; -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[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; - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$interToneGap]() { - return this.interToneGap; - } - get [S$2.$toneBuffer]() { - return this.toneBuffer; - } - get [S$1.$track]() { - return this.track; - } - [S$2.$insertDtmf](...args) { - return this.insertDTMF.apply(this, args); - } - get [S$2.$onToneChange]() { - return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcDtmfSender); -dart.addTypeCaches(html$.RtcDtmfSender); -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), - [S$.$duration]: dart.nullable(core.int), - [S$2.$interToneGap]: dart.nullable(core.int), - [S$2.$toneBuffer]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.MediaStreamTrack), - [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) -})); -dart.setLibraryUri(html$.RtcDtmfSender, I[150]); -dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); -dart.defineLazy(html$.RtcDtmfSender, { - /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - 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[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); - } - get [S$2.$tone]() { - return this.tone; - } -}; -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[150]); -dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); -html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$candidate](value) { - this.candidate = value; - } - get [S$2.$sdpMLineIndex]() { - return this.sdpMLineIndex; - } - set [S$2.$sdpMLineIndex](value) { - this.sdpMLineIndex = value; - } - get [S$2.$sdpMid]() { - return this.sdpMid; - } - set [S$2.$sdpMid](value) { - this.sdpMid = value; - } -}; -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), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.RtcIceCandidate, () => ({ - __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), - [S$2.$candidate]: dart.nullable(core.String), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.RtcIceCandidate, I[150]); -dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); -dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); -html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcLegacyStatsReport.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$timestamp]() { - return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); - } - get [S$2._get_timestamp]() { - return this.timestamp; - } - get [S.$type]() { - return this.type; - } - [S$2.$names](...args) { - return this.names.apply(this, args); - } - [S$2.$stat](...args) { - return this.stat.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcLegacyStatsReport); -dart.addTypeCaches(html$.RtcLegacyStatsReport); -dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), - [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), - [S$.$timestamp]: core.DateTime, - [S$2._get_timestamp]: dart.dynamic, - [S.$type]: dart.nullable(core.String) -})); -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[149], 26953, 33, "rtcIceServers"); - let constructorName = window.RTCPeerConnection; - if (mediaConstraints != null) { - return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); - } else { - 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"])])])); - return true; - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return false; - } else - throw e; - } - return false; - } - [S$2.$getLegacyStats](selector = null) { - let completer = T$0.CompleterOfRtcStatsResponse().new(); - this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); - completer.complete(value); - }, T$0.RtcStatsResponseTovoid()), selector); - return completer.future; - } - [S$2._getStats](...args) { - return this.getStats.apply(this, args); - } - 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; - } - get [S$2.$iceGatheringState]() { - return this.iceGatheringState; - } - get [S$2.$localDescription]() { - return this.localDescription; - } - get [S$2.$remoteDescription]() { - return this.remoteDescription; - } - get [S$2.$signalingState]() { - return this.signalingState; - } - [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - 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) { - if (mediaConstraints != null) { - let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); - this[S$2._addStream_1](stream, mediaConstraints_1); - return; - } - this[S$2._addStream_2](stream); - return; - } - [S$2._addStream_1](...args) { - return this.addStream.apply(this, args); - } - [S$2._addStream_2](...args) { - return this.addStream.apply(this, args); - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$2.$createAnswer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); - } - [S$2.$createDtmfSender](...args) { - return this.createDTMFSender.apply(this, args); - } - [S$2.$createDataChannel](label, dataChannelDict = null) { - 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); - } - return this[S$2._createDataChannel_2](label); - } - [S$2._createDataChannel_1](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2._createDataChannel_2](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2.$createOffer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); - } - [S$2.$getLocalStreams](...args) { - return this.getLocalStreams.apply(this, args); - } - [S$2.$getReceivers](...args) { - return this.getReceivers.apply(this, args); - } - [S$2.$getRemoteStreams](...args) { - return this.getRemoteStreams.apply(this, args); - } - [S$2.$getSenders](...args) { - return this.getSenders.apply(this, args); - } - [S$2.$getStats]() { - return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); - } - [S$2.$removeStream](...args) { - return this.removeStream.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - [S$2.$setConfiguration](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; - } - [S$2._setConfiguration_1](...args) { - return this.setConfiguration.apply(this, args); - } - [S$2.$setLocalDescription](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[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); - } - get [S$2.$onIceCandidate]() { - return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); - } - get [S$2.$onIceConnectionStateChange]() { - return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); - } - get [S$2.$onNegotiationNeeded]() { - return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); - } - get [S$2.$onRemoveStream]() { - return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); - } - get [S$2.$onSignalingStateChange]() { - return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); - } - get [S$2.$onTrack]() { - return html$.RtcPeerConnection.trackEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcPeerConnection); -dart.addTypeCaches(html$.RtcPeerConnection); -dart.setMethodSignature(html$.RtcPeerConnection, () => ({ - __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), - [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), - [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), - [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), - [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), - [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), - [S.$close]: dart.fnType(dart.void, []), - [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), - [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), - [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), - [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), - [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), - [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), - [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), - [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), - [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), - [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), - [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), - [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), - [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) -})); -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[364] || CT.C364; - }, - /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { - return C[365] || CT.C365; - }, - /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[366] || CT.C366; - }, - /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[367] || CT.C367; - }, - /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[368] || CT.C368; - }, - /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[369] || CT.C369; - }, - /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[370] || CT.C370; - }, - /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[371] || CT.C371; - }, - /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - 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[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); - } - static _create_2(type) { - return new RTCPeerConnectionIceEvent(type); - } - get [S$2.$candidate]() { - return this.candidate; - } -}; -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[150]); -dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); -html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpContributingSource.__(); - } - get [S.$source]() { - return this.source; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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[150]); -dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); -html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpReceiver.__(); - } - get [S$1.$track]() { - return this.track; - } - [S$2.$getContributingSources](...args) { - return this.getContributingSources.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcRtpReceiver); -dart.addTypeCaches(html$.RtcRtpReceiver); -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[150]); -dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); -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[150]); -dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); -html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$sdp](value) { - this.sdp = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -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), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.RtcSessionDescription, () => ({ - __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), - [S$2.$sdp]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.RtcSessionDescription, I[150]); -dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); -dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); -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[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[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[149], 27358, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.RtcStatsReport); -dart.addTypeCaches(html$.RtcStatsReport); -dart.setMethodSignature(html$.RtcStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); -dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); -html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcStatsResponse.__(); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S.$result](...args) { - return this.result.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcStatsResponse); -dart.addTypeCaches(html$.RtcStatsResponse); -dart.setMethodSignature(html$.RtcStatsResponse, () => ({ - __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), - [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), - [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) -})); -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[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); - } - get [S$2.$receiver]() { - return this.receiver; - } - get [S$2.$streams]() { - return this.streams; - } - get [S$1.$track]() { - return this.track; - } -}; -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[150]); -dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); -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; - } - get [S$2._availLeft]() { - return this.availLeft; - } - get [S$2._availTop]() { - return this.availTop; - } - get [S$2._availWidth]() { - return this.availWidth; - } - get [S$2.$colorDepth]() { - return this.colorDepth; - } - get [$height]() { - return this.height; - } - get [S$2.$keepAwake]() { - return this.keepAwake; - } - set [S$2.$keepAwake](value) { - this.keepAwake = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$pixelDepth]() { - return this.pixelDepth; - } - get [$width]() { - return this.width; - } -}; -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), - [S$2._availHeight]: dart.nullable(core.int), - [S$2._availLeft]: dart.nullable(core.int), - [S$2._availTop]: dart.nullable(core.int), - [S$2._availWidth]: dart.nullable(core.int), - [S$2.$colorDepth]: dart.nullable(core.int), - [$height]: dart.nullable(core.int), - [S$2.$keepAwake]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(html$.ScreenOrientation), - [S$2.$pixelDepth]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.Screen, () => ({ - __proto__: dart.getSetters(html$.Screen.__proto__), - [S$2.$keepAwake]: dart.nullable(core.bool) -})); -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; - } - get [S.$type]() { - return this.type; - } - [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); - return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); - } - [S$2.$unlock](...args) { - return this.unlock.apply(this, args); - } - get [S.$onChange]() { - return html$.ScreenOrientation.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ScreenOrientation); -dart.addTypeCaches(html$.ScreenOrientation); -dart.setMethodSignature(html$.ScreenOrientation, () => ({ - __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); -dart.defineLazy(html$.ScreenOrientation, { - /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$2.$charset]() { - return this.charset; - } - set [S$2.$charset](value) { - this.charset = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$2.$defer]() { - return this.defer; - } - set [S$2.$defer](value) { - this.defer = value; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$2.$noModule]() { - return this.noModule; - } - set [S$2.$noModule](value) { - this.noModule = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.ScriptElement.created = function() { - html$.ScriptElement.__proto__.created.call(this); - ; -}).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), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String -})); -dart.setSetterSignature(html$.ScriptElement, () => ({ - __proto__: dart.getSetters(html$.ScriptElement.__proto__), - [S$1.$async]: dart.nullable(core.bool), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String -})); -dart.setLibraryUri(html$.ScriptElement, I[150]); -dart.registerExtension("HTMLScriptElement", html$.ScriptElement); -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); - return html$.ScrollState._create_1(scrollStateInit_1); - } - return html$.ScrollState._create_2(); - } - static ['_#new#tearOff'](scrollStateInit = null) { - return html$.ScrollState.new(scrollStateInit); - } - static _create_1(scrollStateInit) { - return new ScrollState(scrollStateInit); - } - static _create_2() { - return new ScrollState(); - } - get [S$2.$deltaGranularity]() { - return this.deltaGranularity; - } - get [S$2.$deltaX]() { - return this.deltaX; - } - get [S$2.$deltaY]() { - return this.deltaY; - } - get [S$2.$fromUserInput]() { - return this.fromUserInput; - } - get [S$2.$inInertialPhase]() { - return this.inInertialPhase; - } - get [S$2.$isBeginning]() { - return this.isBeginning; - } - get [S$2.$isDirectManipulation]() { - return this.isDirectManipulation; - } - get [S$2.$isEnding]() { - return this.isEnding; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$2.$velocityX]() { - return this.velocityX; - } - get [S$2.$velocityY]() { - return this.velocityY; - } - [S$2.$consumeDelta](...args) { - return this.consumeDelta.apply(this, args); - } - [S$2.$distributeToScrollChainDescendant](...args) { - return this.distributeToScrollChainDescendant.apply(this, args); - } -}; -dart.addTypeTests(html$.ScrollState); -dart.addTypeCaches(html$.ScrollState); -dart.setMethodSignature(html$.ScrollState, () => ({ - __proto__: dart.getMethods(html$.ScrollState.__proto__), - [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), - [S$2.$deltaX]: dart.nullable(core.num), - [S$2.$deltaY]: dart.nullable(core.num), - [S$2.$fromUserInput]: dart.nullable(core.bool), - [S$2.$inInertialPhase]: dart.nullable(core.bool), - [S$2.$isBeginning]: dart.nullable(core.bool), - [S$2.$isDirectManipulation]: dart.nullable(core.bool), - [S$2.$isEnding]: dart.nullable(core.bool), - [S$2.$positionX]: dart.nullable(core.int), - [S$2.$positionY]: dart.nullable(core.int), - [S$2.$velocityX]: dart.nullable(core.num), - [S$2.$velocityY]: dart.nullable(core.num) -})); -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); - return html$.ScrollTimeline._create_1(options_1); - } - return html$.ScrollTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.ScrollTimeline.new(options); - } - static _create_1(options) { - return new ScrollTimeline(options); - } - static _create_2() { - return new ScrollTimeline(); - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$scrollSource]() { - return this.scrollSource; - } - get [S$2.$timeRange]() { - return this.timeRange; - } -}; -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[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[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); - } - static _create_2(type) { - return new SecurityPolicyViolationEvent(type); - } - get [S$2.$blockedUri]() { - return this.blockedURI; - } - get [S$2.$columnNumber]() { - return this.columnNumber; - } - get [S$2.$disposition]() { - return this.disposition; - } - get [S$2.$documentUri]() { - return this.documentURI; - } - get [S$2.$effectiveDirective]() { - return this.effectiveDirective; - } - get [S$0.$lineNumber]() { - return this.lineNumber; - } - get [S$2.$originalPolicy]() { - return this.originalPolicy; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$2.$sample]() { - return this.sample; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } - get [S$2.$statusCode]() { - return this.statusCode; - } - get [S$2.$violatedDirective]() { - return this.violatedDirective; - } -}; -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), - [S$2.$columnNumber]: dart.nullable(core.int), - [S$2.$disposition]: dart.nullable(core.String), - [S$2.$documentUri]: dart.nullable(core.String), - [S$2.$effectiveDirective]: dart.nullable(core.String), - [S$0.$lineNumber]: dart.nullable(core.int), - [S$2.$originalPolicy]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$2.$sample]: dart.nullable(core.String), - [S$0.$sourceFile]: dart.nullable(core.String), - [S$2.$statusCode]: dart.nullable(core.int), - [S$2.$violatedDirective]: dart.nullable(core.String) -})); -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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - set [S$2.$selectedIndex](value) { - this.selectedIndex = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - get [S$0.$options]() { - let options = this[S.$querySelectorAll](html$.OptionElement, "option"); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); - } - 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[149], 27804, 41, "o"); - return o.selected; - }, T$0.OptionElementTobool()))[$toList](); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); - } else { - return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); - } - } -}; -(html$.SelectElement.created = function() { - html$.SelectElement.__proto__.created.call(this); - ; -}).prototype = html$.SelectElement.prototype; -dart.addTypeTests(html$.SelectElement); -dart.addTypeCaches(html$.SelectElement); -dart.setMethodSignature(html$.SelectElement, () => ({ - __proto__: dart.getMethods(html$.SelectElement.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), - [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), - [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: core.bool, - [S$0.$options]: core.List$(html$.OptionElement), - [S$2.$selectedOptions]: core.List$(html$.OptionElement) -})); -dart.setSetterSignature(html$.SelectElement, () => ({ - __proto__: dart.getSetters(html$.SelectElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.SelectElement, I[150]); -dart.registerExtension("HTMLSelectElement", html$.SelectElement); -html$.Selection = class Selection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Selection.__(); - } - get [S$2.$anchorNode]() { - return this.anchorNode; - } - get [S$2.$anchorOffset]() { - return this.anchorOffset; - } - get [S$2.$baseNode]() { - return this.baseNode; - } - get [S$2.$baseOffset]() { - return this.baseOffset; - } - get [S$2.$extentNode]() { - return this.extentNode; - } - get [S$2.$extentOffset]() { - return this.extentOffset; - } - get [S$2.$focusNode]() { - return this.focusNode; - } - get [S$2.$focusOffset]() { - return this.focusOffset; - } - get [S$2.$isCollapsed]() { - return this.isCollapsed; - } - get [S$2.$rangeCount]() { - return this.rangeCount; - } - get [S.$type]() { - return this.type; - } - [S$2.$addRange](...args) { - return this.addRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$collapseToEnd](...args) { - return this.collapseToEnd.apply(this, args); - } - [S$2.$collapseToStart](...args) { - return this.collapseToStart.apply(this, args); - } - [S$2.$containsNode](...args) { - return this.containsNode.apply(this, args); - } - [S$2.$deleteFromDocument](...args) { - return this.deleteFromDocument.apply(this, args); - } - [S$2.$empty](...args) { - return this.empty.apply(this, args); - } - [S$2.$extend](...args) { - return this.extend.apply(this, args); - } - [S$2.$getRangeAt](...args) { - return this.getRangeAt.apply(this, args); - } - [S$2.$modify](...args) { - return this.modify.apply(this, args); - } - [S$2.$removeAllRanges](...args) { - return this.removeAllRanges.apply(this, args); - } - [$removeRange](...args) { - return this.removeRange.apply(this, args); - } - [S$2.$selectAllChildren](...args) { - return this.selectAllChildren.apply(this, args); - } - [S$2.$setBaseAndExtent](...args) { - return this.setBaseAndExtent.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(html$.Selection); -dart.addTypeCaches(html$.Selection); -dart.setMethodSignature(html$.Selection, () => ({ - __proto__: dart.getMethods(html$.Selection.__proto__), - [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), - [S$2.$collapseToEnd]: dart.fnType(dart.void, []), - [S$2.$collapseToStart]: dart.fnType(dart.void, []), - [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), - [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), - [S$2.$empty]: dart.fnType(dart.void, []), - [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), - [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), - [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), - [S$2.$removeAllRanges]: dart.fnType(dart.void, []), - [$removeRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), - [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), - [S$2.$anchorOffset]: dart.nullable(core.int), - [S$2.$baseNode]: dart.nullable(html$.Node), - [S$2.$baseOffset]: dart.nullable(core.int), - [S$2.$extentNode]: dart.nullable(html$.Node), - [S$2.$extentOffset]: dart.nullable(core.int), - [S$2.$focusNode]: dart.nullable(html$.Node), - [S$2.$focusOffset]: dart.nullable(core.int), - [S$2.$isCollapsed]: dart.nullable(core.bool), - [S$2.$rangeCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - get [S.$error]() { - return this.error; - } -}; -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[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; - } - get [S$.$state]() { - return this.state; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - get [S.$onError]() { - return html$.ServiceWorker.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ServiceWorker); -dart.addTypeCaches(html$.ServiceWorker); -html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; -dart.setMethodSignature(html$.ServiceWorker, () => ({ - __proto__: dart.getMethods(html$.ServiceWorker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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[150]); -dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); -dart.defineLazy(html$.ServiceWorker, { - /*html$.ServiceWorker.errorEvent*/get errorEvent() { - 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; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); - } - [S$2.$getRegistration](documentURL = null) { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); - } - [S$2.$getRegistrations]() { - return js_util.promiseToFuture(core.List, this.getRegistrations()); - } - [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerContainer.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ServiceWorkerContainer); -dart.addTypeCaches(html$.ServiceWorkerContainer); -dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), - [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), - [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[150]); -dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); -dart.defineLazy(html$.ServiceWorkerContainer, { - /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$registration]() { - return this.registration; - } - [S$2.$skipWaiting]() { - return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); - } - get [S$2.$onActivate]() { - return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); - } - get [S$2.$onFetch]() { - return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); - } - get [S$2.$onForeignfetch]() { - return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); - } - get [S$2.$onInstall]() { - return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.ServiceWorkerGlobalScope); -dart.addTypeCaches(html$.ServiceWorkerGlobalScope); -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), - [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), - [S$2.$onActivate]: async.Stream$(html$.Event), - [S$2.$onFetch]: async.Stream$(html$.Event), - [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), - [S$2.$onInstall]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -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[373] || CT.C373; - }, - /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[374] || CT.C374; - }, - /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[375] || CT.C375; - }, - /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[376] || CT.C376; - }, - /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$backgroundFetch]() { - return this.backgroundFetch; - } - get [S$2.$installing]() { - return this.installing; - } - get [S$2.$navigationPreload]() { - return this.navigationPreload; - } - get [S$2.$paymentManager]() { - return this.paymentManager; - } - get [S$2.$pushManager]() { - return this.pushManager; - } - get [S$1.$scope]() { - return this.scope; - } - get [S$2.$sync]() { - return this.sync; - } - get [S$2.$waiting]() { - return this.waiting; - } - [S$2.$getNotifications](filter = null) { - let filter_dict = null; - if (filter != null) { - filter_dict = html_common.convertDartToNative_Dictionary(filter); - } - return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); - } - [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); - } - [S$2.$unregister]() { - return js_util.promiseToFuture(core.bool, this.unregister()); - } - [$update]() { - return js_util.promiseToFuture(dart.dynamic, this.update()); - } -}; -dart.addTypeTests(html$.ServiceWorkerRegistration); -dart.addTypeCaches(html$.ServiceWorkerRegistration); -dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), - [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), - [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), - [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), - [S$2.$installing]: dart.nullable(html$.ServiceWorker), - [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), - [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), - [S$2.$pushManager]: dart.nullable(html$.PushManager), - [S$1.$scope]: dart.nullable(core.String), - [S$2.$sync]: dart.nullable(html$.SyncManager), - [S$2.$waiting]: dart.nullable(html$.ServiceWorker) -})); -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"); - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } -}; -(html$.ShadowElement.created = function() { - html$.ShadowElement.__proto__.created.call(this); - ; -}).prototype = html$.ShadowElement.prototype; -dart.addTypeTests(html$.ShadowElement); -dart.addTypeCaches(html$.ShadowElement); -dart.setMethodSignature(html$.ShadowElement, () => ({ - __proto__: dart.getMethods(html$.ShadowElement.__proto__), - [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) -})); -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; - } - get [S$.$host]() { - return this.host; - } - get [S.$innerHtml]() { - return this.innerHTML; - } - set [S.$innerHtml](value) { - this.innerHTML = value; - } - get [S.$mode]() { - return this.mode; - } - get [S$2.$olderShadowRoot]() { - return this.olderShadowRoot; - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - static get supported() { - return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); - } - static _shadowRootDeprecationReport() { - if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { - html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); - html$.ShadowRoot._shadowRootDeprecationReported = true; - } - } - get [S$2.$resetStyleInheritance]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } - get [S$2.$applyAuthorStyles]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } -}; -dart.addTypeTests(html$.ShadowRoot); -dart.addTypeCaches(html$.ShadowRoot); -html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; -dart.setMethodSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getMethods(html$.ShadowRoot.__proto__), - [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.$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), - [S$.$host]: dart.nullable(html$.Element), - [S.$mode]: dart.nullable(core.String), - [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool -})); -dart.setSetterSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getSetters(html$.ShadowRoot.__proto__), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool -})); -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(value) { - if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); - } -}, false); -dart.registerExtension("ShadowRoot", html$.ShadowRoot); -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[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[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); - } - static _create_2(scriptURL) { - return new SharedWorker(scriptURL); - } - get [S$.$port]() { - return this.port; - } - get [S.$onError]() { - return html$.SharedWorker.errorEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); -dart.defineLazy(html$.SharedWorker, { - /*html$.SharedWorker.errorEvent*/get errorEvent() { - 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; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$2.$onConnect]() { - return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); - } - static get instance() { - return html$.SharedWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.SharedWorkerGlobalScope); -dart.addTypeCaches(html$.SharedWorkerGlobalScope); -dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[377] || CT.C377; - }, - /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, 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; - } - set [$name](value) { - this.name = value; - } - [S$2.$assignedNodes](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$2._assignedNodes_1](options_1); - } - return this[S$2._assignedNodes_2](); - } - [S$2._assignedNodes_1](...args) { - return this.assignedNodes.apply(this, args); - } - [S$2._assignedNodes_2](...args) { - return this.assignedNodes.apply(this, args); - } -}; -(html$.SlotElement.created = function() { - html$.SlotElement.__proto__.created.call(this); - ; -}).prototype = html$.SlotElement.prototype; -dart.addTypeTests(html$.SlotElement); -dart.addTypeCaches(html$.SlotElement); -dart.setMethodSignature(html$.SlotElement, () => ({ - __proto__: dart.getMethods(html$.SlotElement.__proto__), - [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), - [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) -})); -dart.setSetterSignature(html$.SlotElement, () => ({ - __proto__: dart.getSetters(html$.SlotElement.__proto__), - [$name]: dart.nullable(core.String) -})); -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; - } - set [S$2.$appendWindowEnd](value) { - this.appendWindowEnd = value; - } - get [S$2.$appendWindowStart]() { - return this.appendWindowStart; - } - set [S$2.$appendWindowStart](value) { - this.appendWindowStart = value; - } - get [S$.$audioTracks]() { - return this.audioTracks; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - get [S$2.$timestampOffset]() { - return this.timestampOffset; - } - set [S$2.$timestampOffset](value) { - this.timestampOffset = value; - } - get [S$2.$trackDefaults]() { - return this.trackDefaults; - } - set [S$2.$trackDefaults](value) { - this.trackDefaults = value; - } - get [S$2.$updating]() { - return this.updating; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$2.$appendBuffer](...args) { - return this.appendBuffer.apply(this, args); - } - [S$2.$appendTypedData](...args) { - return this.appendBuffer.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - get [S.$onAbort]() { - return html$.SourceBuffer.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SourceBuffer.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.SourceBuffer); -dart.addTypeCaches(html$.SourceBuffer); -dart.setMethodSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getMethods(html$.SourceBuffer.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), - [S$.$buffered]: dart.nullable(html$.TimeRanges), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), - [S$2.$updating]: dart.nullable(core.bool), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getSetters(html$.SourceBuffer.__proto__), - [S$2.$appendWindowEnd]: dart.nullable(core.num), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) -})); -dart.setLibraryUri(html$.SourceBuffer, I[150]); -dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); -dart.defineLazy(html$.SourceBuffer, { - /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } -}, false); -dart.registerExtension("SourceBuffer", html$.SourceBuffer); -const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; -(EventTarget_ListMixin$36._created = function() { - EventTarget_ListMixin$36.__proto__._created.call(this); -}).prototype = EventTarget_ListMixin$36.prototype; -dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); -const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; -(EventTarget_ImmutableListMixin$36._created = function() { - EventTarget_ImmutableListMixin$36.__proto__._created.call(this); -}).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[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[149], 28444, 25, "index"); - html$.SourceBuffer.as(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[149], 28450, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28478, 30, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.SourceBufferList.prototype[dart.isList] = true; -dart.addTypeTests(html$.SourceBufferList); -dart.addTypeCaches(html$.SourceBufferList); -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 -})); -dart.setSetterSignature(html$.SourceBufferList, () => ({ - __proto__: dart.getSetters(html$.SourceBufferList.__proto__), - [$length]: core.int -})); -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; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.SourceElement.created = function() { - html$.SourceElement.__proto__.created.call(this); - ; -}).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, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String -})); -dart.setSetterSignature(html$.SourceElement, () => ({ - __proto__: dart.getSetters(html$.SourceElement.__proto__), - [S$.$media]: core.String, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String -})); -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); - ; -}).prototype = html$.SpanElement.prototype; -dart.addTypeTests(html$.SpanElement); -dart.addTypeCaches(html$.SpanElement); -dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); -dart.setLibraryUri(html$.SpanElement, I[150]); -dart.registerExtension("HTMLSpanElement", html$.SpanElement); -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(); - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } -}; -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), - [S$1.$weight]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.SpeechGrammar, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), - [S$.$src]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.SpeechGrammar, I[150]); -dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); -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(); - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 28601, 25, "index"); - html$.SpeechGrammar.as(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[149], 28607, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28635, 31, "index"); - return this[$_get](index); - } - [S$2.$addFromString](...args) { - return this.addFromString.apply(this, args); - } - [S$2.$addFromUri](...args) { - return this.addFromUri.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.SpeechGrammarList.prototype[dart.isList] = true; -dart.addTypeTests(html$.SpeechGrammarList); -dart.addTypeCaches(html$.SpeechGrammarList); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), - [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 -})); -dart.setSetterSignature(html$.SpeechGrammarList, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), - [$length]: core.int -})); -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); - } - get [S$2.$audioTrack]() { - return this.audioTrack; - } - set [S$2.$audioTrack](value) { - this.audioTrack = value; - } - get [S$2.$continuous]() { - return this.continuous; - } - set [S$2.$continuous](value) { - this.continuous = value; - } - get [S$2.$grammars]() { - return this.grammars; - } - set [S$2.$grammars](value) { - this.grammars = value; - } - get [S$2.$interimResults]() { - return this.interimResults; - } - set [S$2.$interimResults](value) { - this.interimResults = value; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$maxAlternatives]() { - return this.maxAlternatives; - } - set [S$2.$maxAlternatives](value) { - this.maxAlternatives = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S$2.$onAudioEnd]() { - return html$.SpeechRecognition.audioEndEvent.forTarget(this); - } - get [S$2.$onAudioStart]() { - return html$.SpeechRecognition.audioStartEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechRecognition.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechRecognition.errorEvent.forTarget(this); - } - get [S$2.$onNoMatch]() { - return html$.SpeechRecognition.noMatchEvent.forTarget(this); - } - get [S$2.$onResult]() { - return html$.SpeechRecognition.resultEvent.forTarget(this); - } - get [S$2.$onSoundEnd]() { - return html$.SpeechRecognition.soundEndEvent.forTarget(this); - } - get [S$2.$onSoundStart]() { - return html$.SpeechRecognition.soundStartEvent.forTarget(this); - } - get [S$2.$onSpeechEnd]() { - return html$.SpeechRecognition.speechEndEvent.forTarget(this); - } - get [S$2.$onSpeechStart]() { - return html$.SpeechRecognition.speechStartEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechRecognition.startEvent.forTarget(this); - } - static new() { - return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); - } - static ['_#new#tearOff']() { - return html$.SpeechRecognition.new(); - } -}; -dart.addTypeTests(html$.SpeechRecognition); -dart.addTypeCaches(html$.SpeechRecognition); -dart.setMethodSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int), - [S$2.$onAudioEnd]: async.Stream$(html$.Event), - [S$2.$onAudioStart]: async.Stream$(html$.Event), - [S$2.$onEnd]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.SpeechRecognitionError), - [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onSoundEnd]: async.Stream$(html$.Event), - [S$2.$onSoundStart]: async.Stream$(html$.Event), - [S$2.$onSpeechEnd]: async.Stream$(html$.Event), - [S$2.$onSpeechStart]: async.Stream$(html$.Event), - [S$2.$onStart]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), - [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int) -})); -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[378] || CT.C378; - }, - /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[379] || CT.C379; - }, - /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[380] || CT.C380; - }, - /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[381] || CT.C381; - }, - /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[382] || CT.C382; - }, - /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[383] || CT.C383; - }, - /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[384] || CT.C384; - }, - /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[385] || CT.C385; - }, - /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[386] || CT.C386; - }, - /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[387] || CT.C387; - }, - /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[388] || CT.C388; - } -}, false); -dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); -html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionAlternative.__(); - } - get [S$2.$confidence]() { - return this.confidence; - } - get [S$2.$transcript]() { - return this.transcript; - } -}; -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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionError(type); - } - get [S.$error]() { - return this.error; - } - get [$message]() { - return this.message; - } -}; -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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionEvent(type); - } - get [S$2.$emma]() { - return this.emma; - } - get [S$2.$interpretation]() { - return this.interpretation; - } - get [S$2.$resultIndex]() { - return this.resultIndex; - } - get [S$2.$results]() { - return this.results; - } -}; -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), - [S$2.$interpretation]: dart.nullable(html$.Document), - [S$2.$resultIndex]: dart.nullable(core.int), - [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) -})); -dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); -dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); -html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionResult.__(); - } - get [S$2.$isFinal]() { - return this.isFinal; - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.SpeechRecognitionResult); -dart.addTypeCaches(html$.SpeechRecognitionResult); -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[150]); -dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); -html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { - [S$2.$getVoices]() { - let voices = this[S$2._getVoices](); - 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; - } - get [S$2.$pending]() { - return this.pending; - } - get [S$2.$speaking]() { - return this.speaking; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$2._getVoices](...args) { - return this.getVoices.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$0.$speak](...args) { - return this.speak.apply(this, args); - } -}; -dart.addTypeTests(html$.SpeechSynthesis); -dart.addTypeCaches(html$.SpeechSynthesis); -dart.setMethodSignature(html$.SpeechSynthesis, () => ({ - __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), - [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$pause]: dart.fnType(dart.void, []), - [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[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; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [$name]() { - return this.name; - } - get [S$2.$utterance]() { - return this.utterance; - } -}; -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), - [S$.$elapsedTime]: dart.nullable(core.num), - [$name]: dart.nullable(core.String), - [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) -})); -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); - } - static _create_2() { - return new SpeechSynthesisUtterance(); - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$pitch]() { - return this.pitch; - } - set [S$2.$pitch](value) { - this.pitch = value; - } - get [S$2.$rate]() { - return this.rate; - } - set [S$2.$rate](value) { - this.rate = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$2.$voice]() { - return this.voice; - } - set [S$2.$voice](value) { - this.voice = value; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$2.$onBoundary]() { - return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); - } - get [S$2.$onMark]() { - return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); - } - get [S$2.$onResume]() { - return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); - } -}; -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), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num), - [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), - [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$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), - [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) -})); -dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ - __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), - [S.$lang]: dart.nullable(core.String), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num) -})); -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[389] || CT.C389; - }, - /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[390] || CT.C390; - }, - /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[391] || CT.C391; - }, - /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[392] || CT.C392; - }, - /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[393] || CT.C393; - } -}, false); -dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); -html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechSynthesisVoice.__(); - } - get [S$1.$defaultValue]() { - return this.default; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$localService]() { - return this.localService; - } - get [$name]() { - return this.name; - } - get [S$2.$voiceUri]() { - return this.voiceURI; - } -}; -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), - [S.$lang]: dart.nullable(core.String), - [S$2.$localService]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$2.$voiceUri]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); -dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); -html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StaticRange.__(); - } - get [S$2.$collapsed]() { - return this.collapsed; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } -}; -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), - [S$2.$endContainer]: dart.nullable(html$.Node), - [S$2.$endOffset]: dart.nullable(core.int), - [S$2.$startContainer]: dart.nullable(html$.Node), - [S$2.$startOffset]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.StaticRange, I[150]); -dart.registerExtension("StaticRange", html$.StaticRange); -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[149], 29183, 35, "other"); - other[$forEach](dart.fn((k, 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[149], 29190, 52, "e"); - return core.identical(e, value); - }, T$.StringTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$_set](key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); - core.String.as(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[149], 29200, 29, "key"); - T$.VoidToString().as(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); - } - [$remove](key) { - let value = this[$_get](key); - this[S$2._removeItem](core.String.as(key)); - return value; - } - [$clear]() { - return this[S$0._clear$3](); - } - [$forEach](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; - f(key, dart.nullCheck(this[$_get](key))); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$values]() { - let values = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$length]() { - return this[S$2._length$3]; - } - get [$isEmpty]() { - return this[S$2._key](0) == null; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - static ['_#_#tearOff']() { - return html$.Storage.__(); - } - get [S$2._length$3]() { - return this.length; - } - [S$0._clear$3](...args) { - return this.clear.apply(this, args); - } - [S$1._getItem](...args) { - return this.getItem.apply(this, args); - } - [S$2._key](...args) { - return this.key.apply(this, args); - } - [S$2._removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$2._setItem](...args) { - return this.setItem.apply(this, args); - } -}; -dart.addTypeTests(html$.Storage); -dart.addTypeCaches(html$.Storage); -dart.setMethodSignature(html$.Storage, () => ({ - __proto__: dart.getMethods(html$.Storage.__proto__), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [S$0._clear$3]: dart.fnType(dart.void, []), - [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), - [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[150]); -dart.registerExtension("Storage", html$.Storage); -html$.StorageEvent = class StorageEvent$ extends html$.Event { - static new(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; - let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); - 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[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); - } - static _create_2(type) { - return new StorageEvent(type); - } - get [S.$key]() { - return this.key; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$storageArea]() { - return this.storageArea; - } - get [S$.$url]() { - return this.url; - } - [S$2._initStorageEvent](...args) { - return this.initStorageEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.StorageEvent); -dart.addTypeCaches(html$.StorageEvent); -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$2.$oldValue]: dart.nullable(core.String), - [S$2.$storageArea]: dart.nullable(html$.Storage), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.StorageEvent, I[150]); -dart.registerExtension("StorageEvent", html$.StorageEvent); -html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StorageManager.__(); - } - [S$2.$estimate]() { - return html$.promiseToFutureAsMap(this.estimate()); - } - [S$2.$persist]() { - return js_util.promiseToFuture(core.bool, this.persist()); - } - [S$2.$persisted]() { - return js_util.promiseToFuture(core.bool, this.persisted()); - } -}; -dart.addTypeTests(html$.StorageManager); -dart.addTypeCaches(html$.StorageManager); -dart.setMethodSignature(html$.StorageManager, () => ({ - __proto__: dart.getMethods(html$.StorageManager.__proto__), - [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), - [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.StyleElement.created = function() { - html$.StyleElement.__proto__.created.call(this); - ; -}).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, - [S$.$media]: core.String, - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.StyleElement, () => ({ - __proto__: dart.getSetters(html$.StyleElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$media]: core.String, - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.StyleElement, I[150]); -dart.registerExtension("HTMLStyleElement", html$.StyleElement); -html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleMedia.__(); - } - get [S.$type]() { - return this.type; - } - [S$2.$matchMedium](...args) { - return this.matchMedium.apply(this, args); - } -}; -dart.addTypeTests(html$.StyleMedia); -dart.addTypeCaches(html$.StyleMedia); -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[150]); -dart.registerExtension("StyleMedia", html$.StyleMedia); -html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StylePropertyMapReadonly.__(); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$2.$getProperties](...args) { - return this.getProperties.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } -}; -dart.addTypeTests(html$.StylePropertyMapReadonly); -dart.addTypeCaches(html$.StylePropertyMapReadonly); -dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), - [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), - [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), - [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), - [S$.$has]: dart.fnType(core.bool, [core.String]) -})); -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); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } -}; -dart.addTypeTests(html$.StylePropertyMap); -dart.addTypeCaches(html$.StylePropertyMap); -dart.setMethodSignature(html$.StylePropertyMap, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) -})); -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[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); - } - get [S$2.$lastChance]() { - return this.lastChance; - } - get [S$2.$tag]() { - return this.tag; - } -}; -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[150]); -dart.registerExtension("SyncEvent", html$.SyncEvent); -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[149], 29510, 26, "tag"); - return js_util.promiseToFuture(dart.dynamic, this.register(tag)); - } -}; -dart.addTypeTests(html$.SyncManager); -dart.addTypeCaches(html$.SyncManager); -dart.setMethodSignature(html$.SyncManager, () => ({ - __proto__: dart.getMethods(html$.SyncManager.__proto__), - [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), - [S$1.$register]: dart.fnType(async.Future, [core.String]) -})); -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); - ; -}).prototype = html$.TableCaptionElement.prototype; -dart.addTypeTests(html$.TableCaptionElement); -dart.addTypeCaches(html$.TableCaptionElement); -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; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$2.$headers]() { - return this.headers; - } - set [S$2.$headers](value) { - this.headers = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } -}; -(html$.TableCellElement.created = function() { - html$.TableCellElement.__proto__.created.call(this); - ; -}).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, - [S$.$colSpan]: core.int, - [S$2.$headers]: core.String, - [S$.$rowSpan]: core.int -})); -dart.setSetterSignature(html$.TableCellElement, () => ({ - __proto__: dart.getSetters(html$.TableCellElement.__proto__), - [S$.$colSpan]: core.int, - [S$2.$headers]: dart.nullable(core.String), - [S$.$rowSpan]: core.int -})); -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; - } - set [S$2.$span](value) { - this.span = value; - } -}; -(html$.TableColElement.created = function() { - html$.TableColElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.TableColElement, () => ({ - __proto__: dart.getSetters(html$.TableColElement.__proto__), - [S$2.$span]: core.int -})); -dart.setLibraryUri(html$.TableColElement, I[150]); -dart.registerExtension("HTMLTableColElement", html$.TableColElement); -html$.TableElement = class TableElement extends html$.HtmlElement { - get [S$2.$tBodies]() { - return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); - } - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$createCaption]() { - return this[S$2._createCaption](); - } - [S$2.$createTBody]() { - return this[S$2._createTBody](); - } - [S$2.$createTFoot]() { - return this[S$2._createTFoot](); - } - [S$2.$createTHead]() { - return this[S$2._createTHead](); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); - return this[S$2._insertRow](index); - } - [S$2._createTBody]() { - if (!!this.createTBody) { - return this[S$2._nativeCreateTBody](); - } - let tbody = html$.Element.tag("tbody"); - this[S.$children][$add](tbody); - return html$.TableSectionElement.as(tbody); - } - [S$2._nativeCreateTBody](...args) { - return this.createTBody.apply(this, args); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let contextualHtml = "" + dart.str(html) + "
"; - let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); - let fragment = html$.DocumentFragment.new(); - 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; - } - set [S$2.$caption](value) { - this.caption = value; - } - get [S$2._rows]() { - return this.rows; - } - get [S$2._tBodies]() { - return this.tBodies; - } - get [S$2.$tFoot]() { - return this.tFoot; - } - set [S$2.$tFoot](value) { - this.tFoot = value; - } - get [S$2.$tHead]() { - return this.tHead; - } - set [S$2.$tHead](value) { - this.tHead = value; - } - [S$2._createCaption](...args) { - return this.createCaption.apply(this, args); - } - [S$2._createTFoot](...args) { - return this.createTFoot.apply(this, args); - } - [S$2._createTHead](...args) { - return this.createTHead.apply(this, args); - } - [S$2.$deleteCaption](...args) { - return this.deleteCaption.apply(this, args); - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2.$deleteTFoot](...args) { - return this.deleteTFoot.apply(this, args); - } - [S$2.$deleteTHead](...args) { - return this.deleteTHead.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } -}; -(html$.TableElement.created = function() { - html$.TableElement.__proto__.created.call(this); - ; -}).prototype = html$.TableElement.prototype; -dart.addTypeTests(html$.TableElement); -dart.addTypeCaches(html$.TableElement); -dart.setMethodSignature(html$.TableElement, () => ({ - __proto__: dart.getMethods(html$.TableElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$deleteCaption]: dart.fnType(dart.void, []), - [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), - [S$2.$deleteTFoot]: dart.fnType(dart.void, []), - [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), - [S$2.$rows]: core.List$(html$.TableRowElement), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2._rows]: core.List$(html$.Node), - [S$2._tBodies]: core.List$(html$.Node), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) -})); -dart.setSetterSignature(html$.TableElement, () => ({ - __proto__: dart.getSetters(html$.TableElement.__proto__), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) -})); -dart.setLibraryUri(html$.TableElement, I[150]); -dart.registerExtension("HTMLTableElement", html$.TableElement); -html$.TableRowElement = class TableRowElement extends html$.HtmlElement { - get [S$2.$cells]() { - return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); - } - [S$2.$addCell]() { - return this[S$2.$insertCell](-1); - } - [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); - return html$.TableCellElement.as(this[S$2._insertCell](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - let row = section[S.$nodes][$single]; - 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; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - get [S$2.$sectionRowIndex]() { - return this.sectionRowIndex; - } - [S$2.$deleteCell](...args) { - return this.deleteCell.apply(this, args); - } - [S$2._insertCell](...args) { - return this.insertCell.apply(this, args); - } -}; -(html$.TableRowElement.created = function() { - html$.TableRowElement.__proto__.created.call(this); - ; -}).prototype = html$.TableRowElement.prototype; -dart.addTypeTests(html$.TableRowElement); -dart.addTypeCaches(html$.TableRowElement); -dart.setMethodSignature(html$.TableRowElement, () => ({ - __proto__: dart.getMethods(html$.TableRowElement.__proto__), - [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), - [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), - [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), - [S$2._cells]: core.List$(html$.Node), - [S$.$rowIndex]: core.int, - [S$2.$sectionRowIndex]: core.int -})); -dart.setLibraryUri(html$.TableRowElement, I[150]); -dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); -html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); - return html$.TableRowElement.as(this[S$2._insertRow](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - 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; - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } -}; -(html$.TableSectionElement.created = function() { - html$.TableSectionElement.__proto__.created.call(this); - ; -}).prototype = html$.TableSectionElement.prototype; -dart.addTypeTests(html$.TableSectionElement); -dart.addTypeCaches(html$.TableSectionElement); -dart.setMethodSignature(html$.TableSectionElement, () => ({ - __proto__: dart.getMethods(html$.TableSectionElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [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[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; - } - get [S$2.$containerName]() { - return this.containerName; - } - get [S$2.$containerSrc]() { - return this.containerSrc; - } - get [S$2.$containerType]() { - return this.containerType; - } - get [S$2.$scriptUrl]() { - return this.scriptURL; - } -}; -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), - [S$2.$containerName]: dart.nullable(core.String), - [S$2.$containerSrc]: dart.nullable(core.String), - [S$2.$containerType]: dart.nullable(core.String), - [S$2.$scriptUrl]: dart.nullable(core.String) -})); -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"); - } - get [S$0.$content]() { - return this.content; - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - dart.nullCheck(this.content)[S.$nodes][$clear](); - let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - dart.nullCheck(this.content)[S.$append](fragment); - } -}; -(html$.TemplateElement.created = function() { - html$.TemplateElement.__proto__.created.call(this); - ; -}).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.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; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$2.$cols]() { - return this.cols; - } - set [S$2.$cols](value) { - this.cols = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$rows]() { - return this.rows; - } - set [S$2.$rows](value) { - this.rows = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$2.$textLength]() { - return this.textLength; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - get [S$2.$wrap]() { - return this.wrap; - } - set [S$2.$wrap](value) { - this.wrap = value; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } -}; -(html$.TextAreaElement.created = function() { - html$.TextAreaElement.__proto__.created.call(this); - ; -}).prototype = html$.TextAreaElement.prototype; -dart.addTypeTests(html$.TextAreaElement); -dart.addTypeCaches(html$.TextAreaElement); -dart.setMethodSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getMethods(html$.TextAreaElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$2.$textLength]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool), - [S$2.$wrap]: core.String -})); -dart.setSetterSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getSetters(html$.TextAreaElement.__proto__), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String), - [S$2.$wrap]: core.String -})); -dart.setLibraryUri(html$.TextAreaElement, I[150]); -dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); -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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.TextDetector); -dart.addTypeCaches(html$.TextDetector); -dart.setMethodSignature(html$.TextDetector, () => ({ - __proto__: dart.getMethods(html$.TextDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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[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; - if (view == null) { - view = html$.window; - } - let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); - 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; - } - [S$2._initTextEvent](...args) { - return this.initTextEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.TextEvent); -dart.addTypeCaches(html$.TextEvent); -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[150]); -dart.registerExtension("TextEvent", html$.TextEvent); -html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TextMetrics.__(); - } - get [S$2.$actualBoundingBoxAscent]() { - return this.actualBoundingBoxAscent; - } - get [S$2.$actualBoundingBoxDescent]() { - return this.actualBoundingBoxDescent; - } - get [S$2.$actualBoundingBoxLeft]() { - return this.actualBoundingBoxLeft; - } - get [S$2.$actualBoundingBoxRight]() { - return this.actualBoundingBoxRight; - } - get [S$2.$alphabeticBaseline]() { - return this.alphabeticBaseline; - } - get [S$2.$emHeightAscent]() { - return this.emHeightAscent; - } - get [S$3.$emHeightDescent]() { - return this.emHeightDescent; - } - get [S$3.$fontBoundingBoxAscent]() { - return this.fontBoundingBoxAscent; - } - get [S$3.$fontBoundingBoxDescent]() { - return this.fontBoundingBoxDescent; - } - get [S$3.$hangingBaseline]() { - return this.hangingBaseline; - } - get [S$3.$ideographicBaseline]() { - return this.ideographicBaseline; - } - get [$width]() { - return this.width; - } -}; -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), - [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), - [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), - [S$2.$alphabeticBaseline]: dart.nullable(core.num), - [S$2.$emHeightAscent]: 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[150]); -dart.registerExtension("TextMetrics", html$.TextMetrics); -html$.TextTrack = class TextTrack extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrack.__(); - } - get [S$3.$activeCues]() { - return this.activeCues; - } - get [S$3.$cues]() { - return this.cues; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - [S$3.$addCue](...args) { - return this.addCue.apply(this, args); - } - [S$3.$removeCue](...args) { - return this.removeCue.apply(this, args); - } - get [S$3.$onCueChange]() { - return html$.TextTrack.cueChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.TextTrack); -dart.addTypeCaches(html$.TextTrack); -dart.setMethodSignature(html$.TextTrack, () => ({ - __proto__: dart.getMethods(html$.TextTrack.__proto__), - [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$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$2.$language]: core.String, - [S.$mode]: dart.nullable(core.String), - [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[150]); -dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); -dart.defineLazy(html$.TextTrack, { - /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[394] || CT.C394; - } -}, false); -dart.registerExtension("TextTrack", html$.TextTrack); -html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrackCue.__(); - } - get [S$3.$endTime]() { - return this.endTime; - } - set [S$3.$endTime](value) { - this.endTime = value; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$pauseOnExit]() { - return this.pauseOnExit; - } - set [S$3.$pauseOnExit](value) { - this.pauseOnExit = value; - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$1.$track]() { - return this.track; - } - get [S$3.$onEnter]() { - return html$.TextTrackCue.enterEvent.forTarget(this); - } - 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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num), - [S$1.$track]: dart.nullable(html$.TextTrack), - [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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.TextTrackCue, I[150]); -dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); -dart.defineLazy(html$.TextTrackCue, { - /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[395] || CT.C395; - }, - /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[396] || CT.C396; - } -}, false); -dart.registerExtension("TextTrackCue", html$.TextTrackCue); -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[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[149], 30249, 25, "index"); - html$.TextTrackCue.as(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[149], 30255, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30283, 30, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$getCueById](...args) { - return this.getCueById.apply(this, args); - } -}; -html$.TextTrackCueList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TextTrackCueList); -dart.addTypeCaches(html$.TextTrackCueList); -html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; -dart.setMethodSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), - [$_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$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 -})); -dart.setSetterSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), - [$length]: core.int -})); -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() { - EventTarget_ListMixin$36$.__proto__._created.call(this); -}).prototype = EventTarget_ListMixin$36$.prototype; -dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); -const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; -(EventTarget_ImmutableListMixin$36$._created = function() { - EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); -}).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[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[149], 30323, 25, "index"); - html$.TextTrack.as(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[149], 30329, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30357, 27, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.TextTrackList.addTrackEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.TextTrackList.changeEvent.forTarget(this); - } -}; -html$.TextTrackList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TextTrackList); -dart.addTypeCaches(html$.TextTrackList); -html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; -dart.setMethodSignature(html$.TextTrackList, () => ({ - __proto__: dart.getMethods(html$.TextTrackList.__proto__), - [$_get]: dart.fnType(html$.TextTrack, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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, - [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), - [S.$onChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.TextTrackList, () => ({ - __proto__: dart.getSetters(html$.TextTrackList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.TextTrackList, I[150]); -dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); -dart.defineLazy(html$.TextTrackList, { - /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[397] || CT.C397; - }, - /*html$.TextTrackList.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } -}; -(html$.TimeElement.created = function() { - html$.TimeElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.TimeElement, () => ({ - __proto__: dart.getSetters(html$.TimeElement.__proto__), - [S$1.$dateTime]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.TimeElement, I[150]); -dart.registerExtension("HTMLTimeElement", html$.TimeElement); -html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TimeRanges.__(); - } - get [$length]() { - return this.length; - } - [S$3.$end](...args) { - return this.end.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } -}; -dart.addTypeTests(html$.TimeRanges); -dart.addTypeCaches(html$.TimeRanges); -dart.setMethodSignature(html$.TimeRanges, () => ({ - __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [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[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); - ; -}).prototype = html$.TitleElement.prototype; -dart.addTypeTests(html$.TitleElement); -dart.addTypeCaches(html$.TitleElement); -dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); -dart.setLibraryUri(html$.TitleElement, I[150]); -dart.registerExtension("HTMLTitleElement", html$.TitleElement); -html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Touch.__(); - } - static new(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); - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$3.$force]() { - return this.force; - } - get [S$3.$identifier]() { - return this.identifier; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$3._radiusX]() { - return this.radiusX; - } - get [S$3._radiusY]() { - return this.radiusY; - } - get [S$1.$region]() { - return this.region; - } - get [S$3.$rotationAngle]() { - return this.rotationAngle; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S$3.__clientX]() { - return this.clientX[$round](); - } - get [S$3.__clientY]() { - return this.clientY[$round](); - } - get [S$3.__screenX]() { - return this.screenX[$round](); - } - get [S$3.__screenY]() { - return this.screenY[$round](); - } - get [S$3.__pageX]() { - return this.pageX[$round](); - } - get [S$3.__pageY]() { - return this.pageY[$round](); - } - get [S$3.__radiusX]() { - return this.radiusX[$round](); - } - get [S$3.__radiusY]() { - return this.radiusY[$round](); - } - get [S.$client]() { - 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$3.__pageX], this[S$3.__pageY]); - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); - } - get [S$3.$radiusX]() { - return this[S$3.__radiusX]; - } - 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$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$3._radiusX]: dart.nullable(core.num), - [S$3._radiusY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [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$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$3.$radiusX]: core.int, - [S$3.$radiusY]: core.int -})); -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[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); - } - static _create_2(type) { - return new TouchEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$3.$changedTouches]() { - return this.changedTouches; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$3.$targetTouches]() { - return this.targetTouches; - } - get [S$3.$touches]() { - return this.touches; - } - static get supported() { - try { - return html$.TouchEvent.is(html$.TouchEvent.new("touches")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } -}; -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$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.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); -dart.setLibraryUri(html$.TouchEvent, I[150]); -dart.registerExtension("TouchEvent", html$.TouchEvent); -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; - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 30592, 25, "index"); - html$.Touch.as(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[149], 30598, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30626, 23, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.TouchList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TouchList); -dart.addTypeCaches(html$.TouchList); -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 -})); -dart.setSetterSignature(html$.TouchList, () => ({ - __proto__: dart.getSetters(html$.TouchList.__proto__), - [$length]: core.int -})); -dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); -dart.setLibraryUri(html$.TouchList, I[150]); -dart.registerExtension("TouchList", html$.TouchList); -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[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); - } - 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); - } - static _create_2(type, language, label, kinds) { - return new TrackDefault(type, language, label, kinds); - } - get [S$3.$byteStreamTrackID]() { - return this.byteStreamTrackID; - } - get [S$3.$kinds]() { - return this.kinds; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$type]() { - return this.type; - } -}; -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$2.$language]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.TrackDefault, I[150]); -dart.registerExtension("TrackDefault", html$.TrackDefault); -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); - } - static _create_2() { - return new TrackDefaultList(); - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.TrackDefaultList); -dart.addTypeCaches(html$.TrackDefaultList); -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[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"); - } - get [S$1.$defaultValue]() { - return this.default; - } - set [S$1.$defaultValue](value) { - this.default = value; - } - get [S$.$kind]() { - return this.kind; - } - set [S$.$kind](value) { - this.kind = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$3.$srclang]() { - return this.srclang; - } - set [S$3.$srclang](value) { - this.srclang = value; - } - get [S$1.$track]() { - return this.track; - } -}; -(html$.TrackElement.created = function() { - html$.TrackElement.__proto__.created.call(this); - ; -}).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), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.TextTrack) -})); -dart.setSetterSignature(html$.TrackElement, () => ({ - __proto__: dart.getSetters(html$.TrackElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.bool), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String) -})); -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; - }, - /*html$.TrackElement.LOADED*/get LOADED() { - return 2; - }, - /*html$.TrackElement.LOADING*/get LOADING() { - return 1; - }, - /*html$.TrackElement.NONE*/get NONE() { - return 0; - } -}, 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[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); - } - static _create_2(type) { - return new TrackEvent(type); - } - get [S$1.$track]() { - return this.track; - } -}; -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[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[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); - } - static _create_2(type) { - return new TransitionEvent(type); - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [S$3.$propertyName]() { - return this.propertyName; - } - get [S$3.$pseudoElement]() { - return this.pseudoElement; - } -}; -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[150]); -dart.registerExtension("TransitionEvent", html$.TransitionEvent); -dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); -html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { - static new(root, 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; - } - set [S$3.$currentNode](value) { - this.currentNode = value; - } - get [S$.$filter]() { - return this.filter; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$.$firstChild](...args) { - return this.firstChild.apply(this, args); - } - [S$.$lastChild](...args) { - return this.lastChild.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$2.$nextSibling](...args) { - return this.nextSibling.apply(this, args); - } - [S$.$parentNode](...args) { - return this.parentNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } - [S$2.$previousSibling](...args) { - return this.previousSibling.apply(this, args); - } -}; -dart.addTypeTests(html$.TreeWalker); -dart.addTypeCaches(html$.TreeWalker); -dart.setMethodSignature(html$.TreeWalker, () => ({ - __proto__: dart.getMethods(html$.TreeWalker.__proto__), - [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$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$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, - [S$.$filter]: dart.nullable(html$.NodeFilter), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int -})); -dart.setSetterSignature(html$.TreeWalker, () => ({ - __proto__: dart.getSetters(html$.TreeWalker.__proto__), - [S$3.$currentNode]: html$.Node -})); -dart.setLibraryUri(html$.TreeWalker, I[150]); -dart.registerExtension("TreeWalker", html$.TreeWalker); -html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedHtml.__(); - } -}; -dart.addTypeTests(html$.TrustedHtml); -dart.addTypeCaches(html$.TrustedHtml); -dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); -dart.setLibraryUri(html$.TrustedHtml, I[150]); -dart.registerExtension("TrustedHTML", html$.TrustedHtml); -html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedScriptUrl.__(); - } -}; -dart.addTypeTests(html$.TrustedScriptUrl); -dart.addTypeCaches(html$.TrustedScriptUrl); -dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); -dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); -dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); -html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedUrl.__(); - } -}; -dart.addTypeTests(html$.TrustedUrl); -dart.addTypeCaches(html$.TrustedUrl); -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); - ; -}).prototype = html$.UListElement.prototype; -dart.addTypeTests(html$.UListElement); -dart.addTypeCaches(html$.UListElement); -dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); -dart.setLibraryUri(html$.UListElement, I[150]); -dart.registerExtension("HTMLUListElement", html$.UListElement); -html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UnderlyingSourceBase.__(); - } - [S$.$cancel](reason) { - return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); - } - [S$3.$notifyLockAcquired](...args) { - return this.notifyLockAcquired.apply(this, args); - } - [S$3.$notifyLockReleased](...args) { - return this.notifyLockReleased.apply(this, args); - } - [S$3.$pull]() { - return js_util.promiseToFuture(dart.dynamic, this.pull()); - } - [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); - return js_util.promiseToFuture(dart.dynamic, this.start(stream)); - } -}; -dart.addTypeTests(html$.UnderlyingSourceBase); -dart.addTypeCaches(html$.UnderlyingSourceBase); -dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ - __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), - [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), - [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), - [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), - [S$3.$pull]: dart.fnType(async.Future, []), - [S$.$start]: dart.fnType(async.Future, [core.Object]) -})); -dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); -dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); -dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); -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.setStaticMethodSignature(html$.UnknownElement, () => ['__']); -dart.setLibraryUri(html$.UnknownElement, I[150]); -dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); -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[149], 31028, 55, "source"); - return (self.URL || self.webkitURL).createObjectURL(source); - } - static createObjectUrlFromStream(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[149], 31034, 46, "blob"); - return (self.URL || self.webkitURL).createObjectURL(blob); - } - static revokeObjectUrl(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; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$3.$searchParams]() { - return this.searchParams; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } -}; -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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.Url, () => ({ - __proto__: dart.getSetters(html$.Url.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Url, I[150]); -dart.registerExtension("URL", html$.Url); -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); - } - static _create_2() { - return new URLSearchParams(); - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } - [$sort](...args) { - return this.sort.apply(this, args); - } -}; -dart.addTypeTests(html$.UrlSearchParams); -dart.addTypeCaches(html$.UrlSearchParams); -dart.setMethodSignature(html$.UrlSearchParams, () => ({ - __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), - [$sort]: dart.fnType(dart.void, []) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UrlUtilsReadOnly.__(); - } - get hash() { - return this.hash; - } - get host() { - return this.host; - } - get hostname() { - return this.hostname; - } - get href() { - return this.href; - } - get origin() { - return this.origin; - } - get pathname() { - return this.pathname; - } - get port() { - return this.port; - } - get protocol() { - return this.protocol; - } - get search() { - return this.search; - } -}; -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), - [S$.$hash]: dart.nullable(core.String), - host: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - hostname: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - href: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - origin: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - pathname: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - port: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - protocol: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - search: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); -dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ - 'hash', - 'host', - 'hostname', - 'href', - 'origin', - 'pathname', - 'port', - 'protocol', - 'search' -]); -html$.VR = class VR extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.VR.__(); - } - [S$3.$getDevices]() { - return js_util.promiseToFuture(dart.dynamic, this.getDevices()); - } -}; -dart.addTypeTests(html$.VR); -dart.addTypeCaches(html$.VR); -dart.setMethodSignature(html$.VR, () => ({ - __proto__: dart.getMethods(html$.VR.__proto__), - [S$3.$getDevices]: dart.fnType(async.Future, []) -})); -dart.setStaticMethodSignature(html$.VR, () => ['__']); -dart.setLibraryUri(html$.VR, I[150]); -dart.registerExtension("VR", html$.VR); -html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRCoordinateSystem.__(); - } - [S$3.$getTransformTo](...args) { - return this.getTransformTo.apply(this, args); - } -}; -dart.addTypeTests(html$.VRCoordinateSystem); -dart.addTypeCaches(html$.VRCoordinateSystem); -dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ - __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), - [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) -})); -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; - } - get [S$3.$isExternal]() { - return this.isExternal; - } - [S$3.$requestSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); - } - [S$3.$supportsSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); - } -}; -dart.addTypeTests(html$.VRDevice); -dart.addTypeCaches(html$.VRDevice); -dart.setMethodSignature(html$.VRDevice, () => ({ - __proto__: dart.getMethods(html$.VRDevice.__proto__), - [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[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[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); - } - get [S$3.$device]() { - return this.device; - } -}; -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[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; - } - get [S$3.$depthFar]() { - return this.depthFar; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$3.$displayName]() { - return this.displayName; - } - get [S$3.$isPresenting]() { - return this.isPresenting; - } - get [S$3.$stageParameters]() { - return this.stageParameters; - } - [S$3.$cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3.$exitPresent]() { - return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); - } - [S$3.$getEyeParameters](...args) { - return this.getEyeParameters.apply(this, args); - } - [S$3.$getFrameData](...args) { - return this.getFrameData.apply(this, args); - } - [S$3.$getLayers](...args) { - return this.getLayers.apply(this, args); - } - [S$3.$requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); - return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); - } - [S$3.$submitFrame](...args) { - return this.submitFrame.apply(this, args); - } -}; -dart.addTypeTests(html$.VRDisplay); -dart.addTypeCaches(html$.VRDisplay); -dart.setMethodSignature(html$.VRDisplay, () => ({ - __proto__: dart.getMethods(html$.VRDisplay.__proto__), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3.$exitPresent]: dart.fnType(async.Future, []), - [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), - [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), - [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [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), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num), - [S$1.$displayId]: dart.nullable(core.int), - [S$3.$displayName]: dart.nullable(core.String), - [S$3.$isPresenting]: dart.nullable(core.bool), - [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) -})); -dart.setSetterSignature(html$.VRDisplay, () => ({ - __proto__: dart.getSetters(html$.VRDisplay.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.VRDisplay, I[150]); -dart.registerExtension("VRDisplay", html$.VRDisplay); -html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRDisplayCapabilities.__(); - } - get [S$3.$canPresent]() { - return this.canPresent; - } - get [S$3.$hasExternalDisplay]() { - return this.hasExternalDisplay; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$3.$maxLayers]() { - return this.maxLayers; - } -}; -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), - [S$3.$hasExternalDisplay]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$3.$maxLayers]: dart.nullable(core.int) -})); -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[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); - } - static _create_2(type) { - return new VRDisplayEvent(type); - } - get [S$0.$display]() { - return this.display; - } - get [S$.$reason]() { - return this.reason; - } -}; -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[150]); -dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); -html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VREyeParameters.__(); - } - get [S.$offset]() { - return this.offset; - } - get [S$3.$renderHeight]() { - return this.renderHeight; - } - get [S$3.$renderWidth]() { - return this.renderWidth; - } -}; -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[150]); -dart.registerExtension("VREyeParameters", html$.VREyeParameters); -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(); - } - get [S$3.$leftProjectionMatrix]() { - return this.leftProjectionMatrix; - } - get [S$3.$leftViewMatrix]() { - return this.leftViewMatrix; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$3.$rightProjectionMatrix]() { - return this.rightProjectionMatrix; - } - get [S$3.$rightViewMatrix]() { - return this.rightViewMatrix; - } -}; -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), - [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), - [S$1.$pose]: dart.nullable(html$.VRPose), - [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), - [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) -})); -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; - } - get [S$3.$emulatedHeight]() { - return this.emulatedHeight; - } -}; -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[150]); -dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); -html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } -}; -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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) -})); -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; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$3.$device]() { - return this.device; - } - get [S$3.$exclusive]() { - return this.exclusive; - } - [S$3.$end]() { - return js_util.promiseToFuture(dart.dynamic, this.end()); - } - [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); - } - get [S.$onBlur]() { - return html$.VRSession.blurEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.VRSession.focusEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.VRSession); -dart.addTypeCaches(html$.VRSession); -dart.setMethodSignature(html$.VRSession, () => ({ - __proto__: dart.getMethods(html$.VRSession.__proto__), - [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), - [S$3.$depthNear]: dart.nullable(core.num), - [S$3.$device]: dart.nullable(html$.VRDevice), - [S$3.$exclusive]: dart.nullable(core.bool), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.VRSession, () => ({ - __proto__: dart.getSetters(html$.VRSession.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.VRSession, I[150]); -dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); -dart.defineLazy(html$.VRSession, { - /*html$.VRSession.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.VRSession.focusEvent*/get focusEvent() { - 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[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); - } - get [S$3.$session]() { - return this.session; - } -}; -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[150]); -dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); -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[150]); -dart.registerExtension("VRStageBounds", html$.VRStageBounds); -html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageBoundsPoint.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$z]() { - return this.z; - } -}; -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[150]); -dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); -html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageParameters.__(); - } - get [S$3.$sittingToStandingTransform]() { - return this.sittingToStandingTransform; - } - get [S$3.$sizeX]() { - return this.sizeX; - } - get [S$3.$sizeZ]() { - return this.sizeZ; - } -}; -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[150]); -dart.registerExtension("VRStageParameters", html$.VRStageParameters); -html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ValidityState.__(); - } - get [S$3.$badInput]() { - return this.badInput; - } - get [S$3.$customError]() { - return this.customError; - } - get [S$3.$patternMismatch]() { - return this.patternMismatch; - } - get [S$3.$rangeOverflow]() { - return this.rangeOverflow; - } - get [S$3.$rangeUnderflow]() { - return this.rangeUnderflow; - } - get [S$3.$stepMismatch]() { - return this.stepMismatch; - } - get [S$3.$tooLong]() { - return this.tooLong; - } - get [S$3.$tooShort]() { - return this.tooShort; - } - get [S$3.$typeMismatch]() { - return this.typeMismatch; - } - get [S$3.$valid]() { - return this.valid; - } - get [S$3.$valueMissing]() { - return this.valueMissing; - } -}; -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), - [S$3.$customError]: dart.nullable(core.bool), - [S$3.$patternMismatch]: dart.nullable(core.bool), - [S$3.$rangeOverflow]: dart.nullable(core.bool), - [S$3.$rangeUnderflow]: dart.nullable(core.bool), - [S$3.$stepMismatch]: dart.nullable(core.bool), - [S$3.$tooLong]: dart.nullable(core.bool), - [S$3.$tooShort]: dart.nullable(core.bool), - [S$3.$typeMismatch]: dart.nullable(core.bool), - [S$3.$valid]: dart.nullable(core.bool), - [S$3.$valueMissing]: dart.nullable(core.bool) -})); -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; - } - set [$height](value) { - this.height = value; - } - get [S$3.$poster]() { - return this.poster; - } - set [S$3.$poster](value) { - this.poster = value; - } - get [S$3.$videoHeight]() { - return this.videoHeight; - } - get [S$3.$videoWidth]() { - return this.videoWidth; - } - get [S$3.$decodedFrameCount]() { - return this.webkitDecodedFrameCount; - } - get [S$3.$droppedFrameCount]() { - return this.webkitDroppedFrameCount; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$3.$getVideoPlaybackQuality](...args) { - return this.getVideoPlaybackQuality.apply(this, args); - } - [S$3.$enterFullscreen](...args) { - return this.webkitEnterFullscreen.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } -}; -(html$.VideoElement.created = function() { - html$.VideoElement.__proto__.created.call(this); - ; -}).prototype = html$.VideoElement.prototype; -dart.addTypeTests(html$.VideoElement); -dart.addTypeCaches(html$.VideoElement); -html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; -dart.setMethodSignature(html$.VideoElement, () => ({ - __proto__: dart.getMethods(html$.VideoElement.__proto__), - [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), - [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, - [S$3.$poster]: core.String, - [S$3.$videoHeight]: core.int, - [S$3.$videoWidth]: core.int, - [S$3.$decodedFrameCount]: dart.nullable(core.int), - [S$3.$droppedFrameCount]: dart.nullable(core.int), - [$width]: core.int -})); -dart.setSetterSignature(html$.VideoElement, () => ({ - __proto__: dart.getSetters(html$.VideoElement.__proto__), - [$height]: core.int, - [S$3.$poster]: core.String, - [$width]: core.int -})); -dart.setLibraryUri(html$.VideoElement, I[150]); -dart.registerExtension("HTMLVideoElement", html$.VideoElement); -html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoPlaybackQuality.__(); - } - get [S$3.$corruptedVideoFrames]() { - return this.corruptedVideoFrames; - } - get [S$3.$creationTime]() { - return this.creationTime; - } - get [S$3.$droppedVideoFrames]() { - return this.droppedVideoFrames; - } - get [S$3.$totalVideoFrames]() { - return this.totalVideoFrames; - } -}; -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), - [S$3.$creationTime]: dart.nullable(core.num), - [S$3.$droppedVideoFrames]: dart.nullable(core.int), - [S$3.$totalVideoFrames]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); -dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); -html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoTrack.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } -}; -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$2.$language]: dart.nullable(core.String), - [S$.$selected]: dart.nullable(core.bool), - [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) -})); -dart.setSetterSignature(html$.VideoTrack, () => ({ - __proto__: dart.getSetters(html$.VideoTrack.__proto__), - [S$.$selected]: dart.nullable(core.bool) -})); -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; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return html$.VideoTrackList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.VideoTrackList); -dart.addTypeCaches(html$.VideoTrackList); -dart.setMethodSignature(html$.VideoTrackList, () => ({ - __proto__: dart.getMethods(html$.VideoTrackList.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); -dart.defineLazy(html$.VideoTrackList, { - /*html$.VideoTrackList.changeEvent*/get changeEvent() { - 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; - } - get [S.$offsetLeft]() { - return this.offsetLeft; - } - get [S.$offsetTop]() { - return this.offsetTop; - } - get [S$3.$pageLeft]() { - return this.pageLeft; - } - get [S$3.$pageTop]() { - return this.pageTop; - } - get [S$.$scale]() { - return this.scale; - } - get [$width]() { - return this.width; - } - get [S$.$onResize]() { - return html$.VisualViewport.resizeEvent.forTarget(this); - } - 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), - [S.$offsetLeft]: dart.nullable(core.num), - [S.$offsetTop]: dart.nullable(core.num), - [S$3.$pageLeft]: dart.nullable(core.num), - [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) -})); -dart.setLibraryUri(html$.VisualViewport, I[150]); -dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); -dart.defineLazy(html$.VisualViewport, { - /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - 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[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); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$line]() { - return this.line; - } - set [S$3.$line](value) { - this.line = value; - } - get [S$0.$position]() { - return this.position; - } - set [S$0.$position](value) { - this.position = value; - } - get [S$1.$region]() { - return this.region; - } - set [S$1.$region](value) { - this.region = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$3.$snapToLines]() { - return this.snapToLines; - } - set [S$3.$snapToLines](value) { - this.snapToLines = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$3.$vertical]() { - return this.vertical; - } - set [S$3.$vertical](value) { - this.vertical = value; - } - [S$3.$getCueAsHtml](...args) { - return this.getCueAsHTML.apply(this, args); - } -}; -dart.addTypeTests(html$.VttCue); -dart.addTypeCaches(html$.VttCue); -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), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.VttCue, () => ({ - __proto__: dart.getSetters(html$.VttCue.__proto__), - [S$3.$align]: dart.nullable(core.String), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.VttCue, I[150]); -dart.registerExtension("VTTCue", html$.VttCue); -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(); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$lines]() { - return this.lines; - } - set [S$3.$lines](value) { - this.lines = value; - } - get [S$3.$regionAnchorX]() { - return this.regionAnchorX; - } - set [S$3.$regionAnchorX](value) { - this.regionAnchorX = value; - } - get [S$3.$regionAnchorY]() { - return this.regionAnchorY; - } - set [S$3.$regionAnchorY](value) { - this.regionAnchorY = value; - } - get [S.$scroll]() { - return this.scroll; - } - set [S.$scroll](value) { - this.scroll = value; - } - get [S$3.$viewportAnchorX]() { - return this.viewportAnchorX; - } - set [S$3.$viewportAnchorX](value) { - this.viewportAnchorX = value; - } - get [S$3.$viewportAnchorY]() { - return this.viewportAnchorY; - } - set [S$3.$viewportAnchorY](value) { - this.viewportAnchorY = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } -}; -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), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.VttRegion, () => ({ - __proto__: dart.getSetters(html$.VttRegion.__proto__), - [S.$id]: dart.nullable(core.String), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(url) { - return new WebSocket(url); - } - static get supported() { - return typeof window.WebSocket != "undefined"; - } - get [S$2.$binaryType]() { - return this.binaryType; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$3.$extensions]() { - return this.extensions; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.WebSocket.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.WebSocket.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.WebSocket.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.WebSocket.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.WebSocket); -dart.addTypeCaches(html$.WebSocket); -dart.setMethodSignature(html$.WebSocket, () => ({ - __proto__: dart.getMethods(html$.WebSocket.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$3.$extensions]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: core.int, - [S$.$url]: dart.nullable(core.String), - [S.$onClose]: async.Stream$(html$.CloseEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.WebSocket, () => ({ - __proto__: dart.getSetters(html$.WebSocket.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) -})); -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[398] || CT.C398; - }, - /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WebSocket.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.WebSocket.CLOSED*/get CLOSED() { - return 3; - }, - /*html$.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*html$.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.WebSocket.OPEN*/get OPEN() { - return 1; - } -}, false); -dart.registerExtension("WebSocket", html$.WebSocket); -html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { - static new(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; - 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) { - view = html$.window; - } - 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[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); - } - static _create_2(type) { - return new WheelEvent(type); - } - get [S$3._deltaX]() { - return this.deltaX; - } - get [S$3._deltaY]() { - return this.deltaY; - } - get [S$3.$deltaZ]() { - return this.deltaZ; - } - get [S$2.$deltaY]() { - let value = this.deltaY; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaY is not supported")); - } - get [S$2.$deltaX]() { - let value = this.deltaX; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaX is not supported")); - } - get [S$3.$deltaMode]() { - if (!!this.deltaMode) { - return this.deltaMode; - } - return 0; - } - get [S$3._wheelDelta]() { - return this.wheelDelta; - } - get [S$3._wheelDeltaX]() { - return this.wheelDeltaX; - } - get [S$0._detail]() { - return this.detail; - } - get [S$3._hasInitMouseScrollEvent]() { - return !!this.initMouseScrollEvent; - } - [S$3._initMouseScrollEvent](...args) { - return this.initMouseScrollEvent.apply(this, args); - } - get [S$3._hasInitWheelEvent]() { - return !!this.initWheelEvent; - } - [S$3._initWheelEvent](...args) { - return this.initWheelEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.WheelEvent); -dart.addTypeCaches(html$.WheelEvent); -dart.setMethodSignature(html$.WheelEvent, () => ({ - __proto__: dart.getMethods(html$.WheelEvent.__proto__), - [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), - [S$3._deltaY]: dart.nullable(core.num), - [S$3.$deltaZ]: dart.nullable(core.num), - [S$2.$deltaY]: core.num, - [S$2.$deltaX]: core.num, - [S$3.$deltaMode]: core.int, - [S$3._wheelDelta]: core.num, - [S$3._wheelDeltaX]: core.num, - [S$0._detail]: core.num, - [S$3._hasInitMouseScrollEvent]: core.bool, - [S$3._hasInitWheelEvent]: core.bool -})); -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; - }, - /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { - return 2; - }, - /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { - return 0; - } -}, false); -dart.registerExtension("WheelEvent", html$.WheelEvent); -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[149], 32233, 28, "time"); - completer.complete(time); - }, T$0.numTovoid())); - return completer.future; - } - get [S$3.$document]() { - return this.document; - } - [S$3._open2](url, name) { - return this.open(url, name); - } - [S$3._open3](url, name, options) { - return this.open(url, name, options); - } - [S.$open](url, name, options = null) { - 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 { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); - } - } - get [S$0.$location]() { - return html$.Location.as(this[S$3._location]); - } - set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); - this[S$3._location] = value; - } - get [S$3._location]() { - return this.location; - } - set [S$3._location](value) { - this.location = value; - } - [S$3.$requestAnimationFrame](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[149], 32326, 33, "id"); - this[S$3._ensureRequestAnimationFrame](); - this[S$3._cancelAnimationFrame](id); - } - [S$3._requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3._cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3._ensureRequestAnimationFrame]() { - if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; - (function($this) { - var vendors = ['ms', 'moz', 'webkit', 'o']; - for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { - $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; - $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; - } - if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; - $this.requestAnimationFrame = function(callback) { - return window.setTimeout(function() { - callback(Date.now()); - }, 16); - }; - $this.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - })(this); - } - get [S$0.$indexedDB]() { - return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; - } - get [S$2.$console]() { - return html$.Console._safeConsole; - } - [S$3.$requestFileSystem](size, opts) { - 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[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; - } - get [S$3.$applicationCache]() { - return this.applicationCache; - } - get [S$3.$audioWorklet]() { - return this.audioWorklet; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$1.$closed]() { - return this.closed; - } - get [S$3.$cookieStore]() { - return this.cookieStore; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$3.$customElements]() { - return this.customElements; - } - get [S$3.$defaultStatus]() { - return this.defaultStatus; - } - set [S$3.$defaultStatus](value) { - this.defaultStatus = value; - } - get [S$3.$defaultstatus]() { - return this.defaultstatus; - } - set [S$3.$defaultstatus](value) { - this.defaultstatus = value; - } - get [S$2.$devicePixelRatio]() { - return this.devicePixelRatio; - } - get [S$3.$external]() { - return this.external; - } - get [S$3.$history]() { - return this.history; - } - get [S$3.$innerHeight]() { - return this.innerHeight; - } - get [S$3.$innerWidth]() { - return this.innerWidth; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$3.$localStorage]() { - return this.localStorage; - } - get [S$3.$locationbar]() { - return this.locationbar; - } - get [S$3.$menubar]() { - return this.menubar; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$3.$offscreenBuffering]() { - return this.offscreenBuffering; - } - get [S$3.$opener]() { - return html$._convertNativeToDart_Window(this[S$3._get_opener]); - } - get [S$3._get_opener]() { - return this.opener; - } - set [S$3.$opener](value) { - this.opener = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$.$origin]() { - return this.origin; - } - get [S$3.$outerHeight]() { - return this.outerHeight; - } - get [S$3.$outerWidth]() { - return this.outerWidth; - } - get [S$3._pageXOffset]() { - return this.pageXOffset; - } - get [S$3._pageYOffset]() { - return this.pageYOffset; - } - get [S.$parent]() { - return html$._convertNativeToDart_Window(this[S$3._get_parent]); - } - get [S$3._get_parent]() { - return this.parent; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$1.$screen]() { - return this.screen; - } - get [S$3.$screenLeft]() { - return this.screenLeft; - } - get [S$3.$screenTop]() { - return this.screenTop; - } - get [S$3.$screenX]() { - return this.screenX; - } - get [S$3.$screenY]() { - return this.screenY; - } - get [S$3.$scrollbars]() { - return this.scrollbars; - } - get [S$0.$self]() { - return html$._convertNativeToDart_Window(this[S$3._get_self]); - } - get [S$3._get_self]() { - return this.self; - } - get [S$3.$sessionStorage]() { - return this.sessionStorage; - } - get [S$3.$speechSynthesis]() { - return this.speechSynthesis; - } - get [S$.$status]() { - return this.status; - } - set [S$.$status](value) { - this.status = value; - } - get [S$3.$statusbar]() { - return this.statusbar; - } - get [S$3.$styleMedia]() { - return this.styleMedia; - } - get [S$3.$toolbar]() { - return this.toolbar; - } - get [$top]() { - return html$._convertNativeToDart_Window(this[S$3._get_top]); - } - get [S$3._get_top]() { - return this.top; - } - get [S$3.$visualViewport]() { - return this.visualViewport; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.window; - } - [S$.__getter__](index_OR_name) { - if (core.int.is(index_OR_name)) { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); - } - if (typeof index_OR_name == 'string') { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$3.__getter___1](...args) { - return this.__getter__.apply(this, args); - } - [S$3.__getter___2](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$alert](...args) { - return this.alert.apply(this, args); - } - [S$3.$cancelIdleCallback](...args) { - return this.cancelIdleCallback.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$3.$confirm](...args) { - return this.confirm.apply(this, args); - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$3.$find](...args) { - return this.find.apply(this, args); - } - [S._getComputedStyle](...args) { - return this.getComputedStyle.apply(this, args); - } - [S$3.$getComputedStyleMap](...args) { - return this.getComputedStyleMap.apply(this, args); - } - [S$3.$getMatchedCssRules](...args) { - return this.getMatchedCSSRules.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - [S$3.$matchMedia](...args) { - return this.matchMedia.apply(this, args); - } - [S$3.$moveBy](...args) { - return this.moveBy.apply(this, args); - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$postMessage](message, targetOrigin, transfer = null) { - 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); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1, targetOrigin); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$3.$print](...args) { - return this.print.apply(this, args); - } - [S$3.$requestIdleCallback](callback, options = null) { - 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); - return this[S$3._requestIdleCallback_1](callback_1, options_2); - } - let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); - return this[S$3._requestIdleCallback_2](callback_1); - } - [S$3._requestIdleCallback_1](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3._requestIdleCallback_2](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3.$resizeBy](...args) { - return this.resizeBy.apply(this, args); - } - [S$3.$resizeTo](...args) { - return this.resizeTo.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scroll_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scroll_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_4](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_5](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollBy_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollBy_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_4](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_5](...args) { - return this.scrollBy.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollTo_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollTo_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_4](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_5](...args) { - return this.scrollTo.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - [S$3.__requestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$3._requestFileSystem](type, 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[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[149], 33529, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$3._resolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - [S$3.$resolveLocalFileSystemUrl](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[149], 33562, 38, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S$3.$onContentLoaded]() { - return html$.Window.contentLoadedEvent.forTarget(this); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S$3.$onDeviceMotion]() { - return html$.Window.deviceMotionEvent.forTarget(this); - } - get [S$3.$onDeviceOrientation]() { - return html$.Window.deviceOrientationEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S$.$onHashChange]() { - return html$.Window.hashChangeEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.Window.loadStartEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Window.messageEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onOffline]() { - return html$.Window.offlineEvent.forTarget(this); - } - get [S$.$onOnline]() { - return html$.Window.onlineEvent.forTarget(this); - } - get [S$3.$onPageHide]() { - return html$.Window.pageHideEvent.forTarget(this); - } - get [S$3.$onPageShow]() { - return html$.Window.pageShowEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$.$onPopState]() { - return html$.Window.popStateEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.Window.progressEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onStorage]() { - return html$.Window.storageEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forTarget(this); - } - get [S$.$onUnload]() { - return html$.Window.unloadEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$3.$onAnimationEnd]() { - return html$.Window.animationEndEvent.forTarget(this); - } - get [S$3.$onAnimationIteration]() { - return html$.Window.animationIterationEvent.forTarget(this); - } - get [S$3.$onAnimationStart]() { - return html$.Window.animationStartEvent.forTarget(this); - } - get [S$3.$onBeforeUnload]() { - return html$.Window.beforeUnloadEvent.forTarget(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forTarget(this); - } - [S$.$moveTo](p) { - 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](); - } - get [S$3.$pageYOffset]() { - return this.pageYOffset[$round](); - } - get [S$3.$scrollX]() { - return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; - } - get [S$3.$scrollY]() { - return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; - } -}; -dart.addTypeTests(html$.Window); -dart.addTypeCaches(html$.Window); -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]), - [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), - [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), - [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), - [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), - [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), - [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), - [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), - [S.$close]: dart.fnType(dart.void, []), - [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), - [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), - [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), - [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), - [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), - [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$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]), - [S$3.$print]: dart.fnType(dart.void, []), - [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), - [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), - [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), - [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [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.nullable(core.num)]), - [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S$.$stop]: dart.fnType(dart.void, []), - [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), - [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) -})); -dart.setStaticMethodSignature(html$.Window, () => ['__']); -dart.setGetterSignature(html$.Window, () => ({ - __proto__: dart.getGetters(html$.Window.__proto__), - [S$3.$animationFrame]: async.Future$(core.num), - [S$3.$document]: html$.Document, - [S$0.$location]: html$.Location, - [S$3._location]: dart.dynamic, - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$2.$console]: html$.Console, - [S$3.$animationWorklet]: dart.nullable(html$._Worklet), - [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), - [S$3.$audioWorklet]: dart.nullable(html$._Worklet), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$1.$closed]: dart.nullable(core.bool), - [S$3.$cookieStore]: dart.nullable(html$.CookieStore), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [S$2.$devicePixelRatio]: core.num, - [S$3.$external]: dart.nullable(html$.External), - [S$3.$history]: html$.History, - [S$3.$innerHeight]: dart.nullable(core.int), - [S$3.$innerWidth]: dart.nullable(core.int), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$3.$localStorage]: html$.Storage, - [S$3.$locationbar]: dart.nullable(html$.BarProp), - [S$3.$menubar]: dart.nullable(html$.BarProp), - [$name]: dart.nullable(core.String), - [S$0.$navigator]: html$.Navigator, - [S$3.$offscreenBuffering]: dart.nullable(core.bool), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$3._get_opener]: dart.dynamic, - [S$.$orientation]: dart.nullable(core.int), - [S$.$origin]: dart.nullable(core.String), - [S$3.$outerHeight]: core.int, - [S$3.$outerWidth]: core.int, - [S$3._pageXOffset]: core.num, - [S$3._pageYOffset]: core.num, - [S.$parent]: dart.nullable(html$.WindowBase), - [S$3._get_parent]: dart.dynamic, - [S$0.$performance]: html$.Performance, - [S$1.$screen]: dart.nullable(html$.Screen), - [S$3.$screenLeft]: dart.nullable(core.int), - [S$3.$screenTop]: dart.nullable(core.int), - [S$3.$screenX]: dart.nullable(core.int), - [S$3.$screenY]: dart.nullable(core.int), - [S$3.$scrollbars]: dart.nullable(html$.BarProp), - [S$0.$self]: dart.nullable(html$.WindowBase), - [S$3._get_self]: dart.dynamic, - [S$3.$sessionStorage]: html$.Storage, - [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), - [S$.$status]: dart.nullable(core.String), - [S$3.$statusbar]: dart.nullable(html$.BarProp), - [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), - [S$3.$toolbar]: dart.nullable(html$.BarProp), - [$top]: dart.nullable(html$.WindowBase), - [S$3._get_top]: dart.dynamic, - [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [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), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), - [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S$.$onHashChange]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - [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$.$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$.$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$.$onStorage]: async.Stream$(html$.StorageEvent), - [S$.$onSubmit]: async.Stream$(html$.Event), - [S$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), - [S$.$onUnload]: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), - [S$3.$onBeforeUnload]: async.Stream$(html$.Event), - [S$.$onWheel]: async.Stream$(html$.WheelEvent), - [S$3.$pageXOffset]: core.int, - [S$3.$pageYOffset]: core.int, - [S$3.$scrollX]: core.int, - [S$3.$scrollY]: core.int -})); -dart.setSetterSignature(html$.Window, () => ({ - __proto__: dart.getSetters(html$.Window.__proto__), - [S$0.$location]: html$.LocationBase, - [S$3._location]: dart.dynamic, - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$.$status]: dart.nullable(core.String) -})); -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[399] || CT.C399; - }, - /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[400] || CT.C400; - }, - /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[401] || CT.C401; - }, - /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[402] || CT.C402; - }, - /*html$.Window.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.Window.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.Window.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[403] || CT.C403; - }, - /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[404] || CT.C404; - }, - /*html$.Window.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.Window.progressEvent*/get progressEvent() { - return C[405] || CT.C405; - }, - /*html$.Window.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.Window.unloadEvent*/get unloadEvent() { - return C[327] || CT.C327; - }, - /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[406] || CT.C406; - }, - /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[407] || CT.C407; - }, - /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[408] || CT.C408; - }, - /*html$.Window.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.Window.TEMPORARY*/get TEMPORARY() { - return 0; - }, - /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[409] || CT.C409; - } -}, false); -dart.registerExtension("Window", html$.Window); -dart.registerExtension("DOMWindow", html$.Window); -html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WindowBase64.__(); - } -}; -dart.addTypeTests(html$.WindowBase64); -dart.addTypeCaches(html$.WindowBase64); -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; - } - get [S$1.$visibilityState]() { - return this.visibilityState; - } - [S.$focus]() { - return js_util.promiseToFuture(html$.WindowClient, this.focus()); - } - [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); - } -}; -dart.addTypeTests(html$.WindowClient); -dart.addTypeCaches(html$.WindowClient); -dart.setMethodSignature(html$.WindowClient, () => ({ - __proto__: dart.getMethods(html$.WindowClient.__proto__), - [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[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); - } - get onMessage() { - return html$.WindowEventHandlers.messageEvent.forTarget(this); - } - get onOffline() { - return html$.WindowEventHandlers.offlineEvent.forTarget(this); - } - get onOnline() { - return html$.WindowEventHandlers.onlineEvent.forTarget(this); - } - get onPopState() { - return html$.WindowEventHandlers.popStateEvent.forTarget(this); - } - get onStorage() { - return html$.WindowEventHandlers.storageEvent.forTarget(this); - } - get onUnload() { - return html$.WindowEventHandlers.unloadEvent.forTarget(this); - } -}; -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), - [S$.$onHashChange]: async.Stream$(html$.Event), - onMessage: async.Stream$(html$.MessageEvent), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - onOffline: async.Stream$(html$.Event), - [S$.$onOffline]: async.Stream$(html$.Event), - onOnline: async.Stream$(html$.Event), - [S$.$onOnline]: async.Stream$(html$.Event), - onPopState: async.Stream$(html$.PopStateEvent), - [S$.$onPopState]: async.Stream$(html$.PopStateEvent), - onStorage: async.Stream$(html$.StorageEvent), - [S$.$onStorage]: async.Stream$(html$.StorageEvent), - onUnload: async.Stream$(html$.Event), - [S$.$onUnload]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.WindowEventHandlers, I[150]); -dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); -dart.defineExtensionAccessors(html$.WindowEventHandlers, [ - 'onHashChange', - 'onMessage', - 'onOffline', - 'onOnline', - 'onPopState', - 'onStorage', - 'onUnload' -]); -dart.defineLazy(html$.WindowEventHandlers, { - /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - 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[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); - } - static get supported() { - return typeof window.Worker != "undefined"; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S.$onError]() { - return html$.Worker.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Worker.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Worker); -dart.addTypeCaches(html$.Worker); -html$.Worker[dart.implements] = () => [html$.AbstractWorker]; -dart.setMethodSignature(html$.Worker, () => ({ - __proto__: dart.getMethods(html$.Worker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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]), - [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.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[226] || CT.C226; - }, - /*html$.Worker.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } - [S$2.$mark](...args) { - return this.mark.apply(this, args); - } - [S$2.$measure](...args) { - return this.measure.apply(this, args); - } - [S$2.$now](...args) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } -}; -dart.addTypeTests(html$.WorkerPerformance); -dart.addTypeCaches(html$.WorkerPerformance); -dart.setMethodSignature(html$.WorkerPerformance, () => ({ - __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.$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[150]); -dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); -html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletAnimation.__(); - } - static new(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"); - 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); - } - get [S$.$playState]() { - return this.playState; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } -}; -dart.addTypeTests(html$.WorkletAnimation); -dart.addTypeCaches(html$.WorkletAnimation); -dart.setMethodSignature(html$.WorkletAnimation, () => ({ - __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), - [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[150]); -dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); -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(); - } - [S$3.$createExpression](...args) { - return this.createExpression.apply(this, args); - } - [S$3.$createNSResolver](...args) { - return this.createNSResolver.apply(this, args); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathEvaluator); -dart.addTypeCaches(html$.XPathEvaluator); -dart.setMethodSignature(html$.XPathEvaluator, () => ({ - __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), - [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), - [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.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.XPathEvaluator, I[150]); -dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); -html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathExpression.__(); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathExpression); -dart.addTypeCaches(html$.XPathExpression); -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.setStaticMethodSignature(html$.XPathExpression, () => ['__']); -dart.setLibraryUri(html$.XPathExpression, I[150]); -dart.registerExtension("XPathExpression", html$.XPathExpression); -html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathNSResolver.__(); - } - [S$3.$lookupNamespaceUri](...args) { - return this.lookupNamespaceURI.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathNSResolver); -dart.addTypeCaches(html$.XPathNSResolver); -dart.setMethodSignature(html$.XPathNSResolver, () => ({ - __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), - [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) -})); -dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); -dart.setLibraryUri(html$.XPathNSResolver, I[150]); -dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); -html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathResult.__(); - } - get [S$3.$booleanValue]() { - return this.booleanValue; - } - get [S$3.$invalidIteratorState]() { - return this.invalidIteratorState; - } - get [S$3.$numberValue]() { - return this.numberValue; - } - get [S$3.$resultType]() { - return this.resultType; - } - get [S$3.$singleNodeValue]() { - return this.singleNodeValue; - } - get [S$3.$snapshotLength]() { - return this.snapshotLength; - } - get [S$3.$stringValue]() { - return this.stringValue; - } - [S$3.$iterateNext](...args) { - return this.iterateNext.apply(this, args); - } - [S$3.$snapshotItem](...args) { - return this.snapshotItem.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathResult); -dart.addTypeCaches(html$.XPathResult); -dart.setMethodSignature(html$.XPathResult, () => ({ - __proto__: dart.getMethods(html$.XPathResult.__proto__), - [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), - [S$3.$invalidIteratorState]: dart.nullable(core.bool), - [S$3.$numberValue]: dart.nullable(core.num), - [S$3.$resultType]: dart.nullable(core.int), - [S$3.$singleNodeValue]: dart.nullable(html$.Node), - [S$3.$snapshotLength]: dart.nullable(core.int), - [S$3.$stringValue]: dart.nullable(core.String) -})); -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; - }, - /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { - return 8; - }, - /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { - return 3; - }, - /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { - return 9; - }, - /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { - return 1; - }, - /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { - return 5; - }, - /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { - return 7; - }, - /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { - return 2; - }, - /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { - return 4; - }, - /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { - return 6; - } -}, false); -dart.registerExtension("XPathResult", html$.XPathResult); -html$.XmlDocument = class XmlDocument extends html$.Document { - static ['_#_#tearOff']() { - return html$.XmlDocument.__(); - } -}; -dart.addTypeTests(html$.XmlDocument); -dart.addTypeCaches(html$.XmlDocument); -dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); -dart.setLibraryUri(html$.XmlDocument, I[150]); -dart.registerExtension("XMLDocument", html$.XmlDocument); -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(); - } - [S$3.$serializeToString](...args) { - return this.serializeToString.apply(this, args); - } -}; -dart.addTypeTests(html$.XmlSerializer); -dart.addTypeCaches(html$.XmlSerializer); -dart.setMethodSignature(html$.XmlSerializer, () => ({ - __proto__: dart.getMethods(html$.XmlSerializer.__proto__), - [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) -})); -dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.XmlSerializer, I[150]); -dart.registerExtension("XMLSerializer", html$.XmlSerializer); -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(); - } - static get supported() { - return !!window.XSLTProcessor; - } - [S$3.$clearParameters](...args) { - return this.clearParameters.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$3.$importStylesheet](...args) { - return this.importStylesheet.apply(this, args); - } - [S$3.$removeParameter](...args) { - return this.removeParameter.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$3.$setParameter](...args) { - return this.setParameter.apply(this, args); - } - [S$3.$transformToDocument](...args) { - return this.transformToDocument.apply(this, args); - } - [S$3.$transformToFragment](...args) { - return this.transformToFragment.apply(this, args); - } -}; -dart.addTypeTests(html$.XsltProcessor); -dart.addTypeCaches(html$.XsltProcessor); -dart.setMethodSignature(html$.XsltProcessor, () => ({ - __proto__: dart.getMethods(html$.XsltProcessor.__proto__), - [S$3.$clearParameters]: dart.fnType(dart.void, []), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), - [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S$1.$reset]: dart.fnType(dart.void, []), - [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), - [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.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; - } - get [$name]() { - return this.name; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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), - [$name]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$._Attr, () => ({ - __proto__: dart.getSetters(html$._Attr.__proto__), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._Attr, I[150]); -dart.registerExtension("Attr", html$._Attr); -html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Bluetooth.__(); - } -}; -dart.addTypeTests(html$._Bluetooth); -dart.addTypeCaches(html$._Bluetooth); -dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); -dart.setLibraryUri(html$._Bluetooth, I[150]); -dart.registerExtension("Bluetooth", html$._Bluetooth); -html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothCharacteristicProperties.__(); - } -}; -dart.addTypeTests(html$._BluetoothCharacteristicProperties); -dart.addTypeCaches(html$._BluetoothCharacteristicProperties); -dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); -dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); -dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); -html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothDevice.__(); - } -}; -dart.addTypeTests(html$._BluetoothDevice); -dart.addTypeCaches(html$._BluetoothDevice); -dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); -dart.setLibraryUri(html$._BluetoothDevice, I[150]); -dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); -html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTCharacteristic.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); -dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); -dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); -html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTServer.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTServer); -dart.addTypeCaches(html$._BluetoothRemoteGATTServer); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); -dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); -html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTService.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTService); -dart.addTypeCaches(html$._BluetoothRemoteGATTService); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); -dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); -html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothUUID.__(); - } -}; -dart.addTypeTests(html$._BluetoothUUID); -dart.addTypeCaches(html$._BluetoothUUID); -dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); -dart.setLibraryUri(html$._BluetoothUUID, I[150]); -dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); -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[149], 34482, 33, "operation"); - return js_util.promiseToFuture(core.double, this.getCost(operation)); - } - [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); - return js_util.promiseToFuture(core.bool, this.reserve(operation)); - } -}; -dart.addTypeTests(html$._BudgetService); -dart.addTypeCaches(html$._BudgetService); -dart.setMethodSignature(html$._BudgetService, () => ({ - __proto__: dart.getMethods(html$._BudgetService.__proto__), - [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), - [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), - [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) -})); -dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); -dart.setLibraryUri(html$._BudgetService, I[150]); -dart.registerExtension("BudgetService", html$._BudgetService); -html$._Cache = class _Cache extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Cache.__(); - } -}; -dart.addTypeTests(html$._Cache); -dart.addTypeCaches(html$._Cache); -dart.setStaticMethodSignature(html$._Cache, () => ['__']); -dart.setLibraryUri(html$._Cache, I[150]); -dart.registerExtension("Cache", html$._Cache); -html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._CanvasPath.__(); - } -}; -dart.addTypeTests(html$._CanvasPath); -dart.addTypeCaches(html$._CanvasPath); -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()); - } - [S$3.$readText]() { - return js_util.promiseToFuture(core.String, this.readText()); - } - [S$1.$write](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[149], 34529, 27, "data"); - return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); - } -}; -dart.addTypeTests(html$._Clipboard); -dart.addTypeCaches(html$._Clipboard); -dart.setMethodSignature(html$._Clipboard, () => ({ - __proto__: dart.getMethods(html$._Clipboard.__proto__), - [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), - [S$3.$readText]: dart.fnType(async.Future$(core.String), []), - [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), - [S$3.$writeText]: dart.fnType(async.Future, [core.String]) -})); -dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); -dart.setLibraryUri(html$._Clipboard, I[150]); -dart.registerExtension("Clipboard", html$._Clipboard); -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[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[149], 34553, 25, "index"); - html$.CssRule.as(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[149], 34559, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34587, 25, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._CssRuleList.prototype[dart.isList] = true; -dart.addTypeTests(html$._CssRuleList); -dart.addTypeCaches(html$._CssRuleList); -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 -})); -dart.setSetterSignature(html$._CssRuleList, () => ({ - __proto__: dart.getSetters(html$._CssRuleList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._CssRuleList, I[150]); -dart.registerExtension("CSSRuleList", html$._CssRuleList); -html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DOMFileSystemSync.__(); - } -}; -dart.addTypeTests(html$._DOMFileSystemSync); -dart.addTypeCaches(html$._DOMFileSystemSync); -dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); -dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); -dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); -html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._EntrySync.__(); - } -}; -dart.addTypeTests(html$._EntrySync); -dart.addTypeCaches(html$._EntrySync); -dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); -dart.setLibraryUri(html$._EntrySync, I[150]); -dart.registerExtension("EntrySync", html$._EntrySync); -html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._DirectoryEntrySync.__(); - } -}; -dart.addTypeTests(html$._DirectoryEntrySync); -dart.addTypeCaches(html$._DirectoryEntrySync); -dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); -dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); -dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); -html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DirectoryReaderSync.__(); - } -}; -dart.addTypeTests(html$._DirectoryReaderSync); -dart.addTypeCaches(html$._DirectoryReaderSync); -dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); -dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); -dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); -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.setStaticMethodSignature(html$._DocumentType, () => ['__']); -dart.setLibraryUri(html$._DocumentType, I[150]); -dart.registerExtension("DocumentType", html$._DocumentType); -html$._DomRect = class _DomRect extends html$.DomRectReadOnly { - [$toString]() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$._DomRect._create_2(x, y, width); - } - if (y != null) { - return html$._DomRect._create_3(x, y); - } - if (x != null) { - return html$._DomRect._create_4(x); - } - 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); - } - static _create_2(x, y, width) { - return new DOMRect(x, y, width); - } - static _create_3(x, y) { - return new DOMRect(x, y); - } - static _create_4(x) { - return new DOMRect(x); - } - static _create_5() { - return new DOMRect(); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - set [$height](value) { - this.height = value; - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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, - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$._DomRect, I[150]); -dart.registerExtension("ClientRect", html$._DomRect); -dart.registerExtension("DOMRect", html$._DomRect); -html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._FileEntrySync.__(); - } -}; -dart.addTypeTests(html$._FileEntrySync); -dart.addTypeCaches(html$._FileEntrySync); -dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); -dart.setLibraryUri(html$._FileEntrySync, I[150]); -dart.registerExtension("FileEntrySync", html$._FileEntrySync); -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.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._FileReaderSync, I[150]); -dart.registerExtension("FileReaderSync", html$._FileReaderSync); -html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._FileWriterSync.__(); - } -}; -dart.addTypeTests(html$._FileWriterSync); -dart.addTypeCaches(html$._FileWriterSync); -dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); -dart.setLibraryUri(html$._FileWriterSync, I[150]); -dart.registerExtension("FileWriterSync", html$._FileWriterSync); -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[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[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[149], 34877, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34905, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._GamepadList.prototype[dart.isList] = true; -dart.addTypeTests(html$._GamepadList); -dart.addTypeCaches(html$._GamepadList); -html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; -dart.setMethodSignature(html$._GamepadList, () => ({ - __proto__: dart.getMethods(html$._GamepadList.__proto__), - [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), - [$_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 -})); -dart.setSetterSignature(html$._GamepadList, () => ({ - __proto__: dart.getSetters(html$._GamepadList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._GamepadList, I[150]); -dart.registerExtension("GamepadList", html$._GamepadList); -html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._HTMLAllCollection.__(); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$._HTMLAllCollection); -dart.addTypeCaches(html$._HTMLAllCollection); -dart.setMethodSignature(html$._HTMLAllCollection, () => ({ - __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), - [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) -})); -dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); -dart.setLibraryUri(html$._HTMLAllCollection, I[150]); -dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); -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.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); -dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); -dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); -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.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFontElement, I[150]); -dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); -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.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFrameElement, I[150]); -dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); -html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { - static ['_#_#tearOff']() { - return html$._HTMLFrameSetElement.__(); - } -}; -(html$._HTMLFrameSetElement.created = function() { - html$._HTMLFrameSetElement.__proto__.created.call(this); - ; -}).prototype = html$._HTMLFrameSetElement.prototype; -dart.addTypeTests(html$._HTMLFrameSetElement); -dart.addTypeCaches(html$._HTMLFrameSetElement); -html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; -dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); -dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); -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.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); -dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); -dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); -html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Mojo.__(); - } -}; -dart.addTypeTests(html$._Mojo); -dart.addTypeCaches(html$._Mojo); -dart.setStaticMethodSignature(html$._Mojo, () => ['__']); -dart.setLibraryUri(html$._Mojo, I[150]); -dart.registerExtension("Mojo", html$._Mojo); -html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoHandle.__(); - } -}; -dart.addTypeTests(html$._MojoHandle); -dart.addTypeCaches(html$._MojoHandle); -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[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); - } - static _create_2(interfaceName) { - return new MojoInterfaceInterceptor(interfaceName); - } -}; -dart.addTypeTests(html$._MojoInterfaceInterceptor); -dart.addTypeCaches(html$._MojoInterfaceInterceptor); -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[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); - } - static _create_2(type) { - return new MojoInterfaceRequestEvent(type); - } -}; -dart.addTypeTests(html$._MojoInterfaceRequestEvent); -dart.addTypeCaches(html$._MojoInterfaceRequestEvent); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoWatcher.__(); - } -}; -dart.addTypeTests(html$._MojoWatcher); -dart.addTypeCaches(html$._MojoWatcher); -dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); -dart.setLibraryUri(html$._MojoWatcher, I[150]); -dart.registerExtension("MojoWatcher", html$._MojoWatcher); -html$._NFC = class _NFC extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._NFC.__(); - } -}; -dart.addTypeTests(html$._NFC); -dart.addTypeCaches(html$._NFC); -dart.setStaticMethodSignature(html$._NFC, () => ['__']); -dart.setLibraryUri(html$._NFC, I[150]); -dart.registerExtension("NFC", html$._NFC); -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[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[149], 35143, 25, "index"); - html$.Node.as(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[149], 35149, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35177, 22, "index"); - return this[$_get](index); - } - [S$3.$getNamedItem](...args) { - return this.getNamedItem.apply(this, args); - } - [S$3.$getNamedItemNS](...args) { - return this.getNamedItemNS.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$3.$removeNamedItem](...args) { - return this.removeNamedItem.apply(this, args); - } - [S$3.$removeNamedItemNS](...args) { - return this.removeNamedItemNS.apply(this, args); - } - [S$3.$setNamedItem](...args) { - return this.setNamedItem.apply(this, args); - } - [S$3.$setNamedItemNS](...args) { - return this.setNamedItemNS.apply(this, args); - } -}; -html$._NamedNodeMap.prototype[dart.isList] = true; -dart.addTypeTests(html$._NamedNodeMap); -dart.addTypeCaches(html$._NamedNodeMap); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), - [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), - [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), - [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), - [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), - [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 -})); -dart.setSetterSignature(html$._NamedNodeMap, () => ({ - __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._NamedNodeMap, I[150]); -dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); -dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); -html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._PagePopupController.__(); - } -}; -dart.addTypeTests(html$._PagePopupController); -dart.addTypeCaches(html$._PagePopupController); -dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); -dart.setLibraryUri(html$._PagePopupController, I[150]); -dart.registerExtension("PagePopupController", html$._PagePopupController); -html$._Report = class _Report extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Report.__(); - } - get [S$1.$body]() { - return this.body; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } -}; -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[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[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); - } - static _create_2(input) { - return new Request(input); - } - get [S$3.$cache]() { - return this.cache; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$headers]() { - return this.headers; - } - get [S$1.$integrity]() { - return this.integrity; - } - get [S.$mode]() { - return this.mode; - } - get [S$3.$redirect]() { - return this.redirect; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - get [S$.$url]() { - return this.url; - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } -}; -dart.addTypeTests(html$._Request); -dart.addTypeCaches(html$._Request); -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$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), - [S$3.$redirect]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._Request, I[150]); -dart.registerExtension("Request", html$._Request); -html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { - static ['_#_#tearOff']() { - return html$._ResourceProgressEvent.__(); - } -}; -dart.addTypeTests(html$._ResourceProgressEvent); -dart.addTypeCaches(html$._ResourceProgressEvent); -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); - return html$._Response._create_1(body, init_1); - } - if (body != null) { - return html$._Response._create_2(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); - } - static _create_2(body) { - return new Response(body); - } - static _create_3() { - return new Response(); - } -}; -dart.addTypeTests(html$._Response); -dart.addTypeCaches(html$._Response); -dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); -dart.setLibraryUri(html$._Response, I[150]); -dart.registerExtension("Response", html$._Response); -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[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[149], 35337, 25, "index"); - html$.SpeechRecognitionResult.as(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[149], 35343, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35371, 41, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._SpeechRecognitionResultList.prototype[dart.isList] = true; -dart.addTypeTests(html$._SpeechRecognitionResultList); -dart.addTypeCaches(html$._SpeechRecognitionResultList); -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 -})); -dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ - __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); -dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); -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[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[149], 35397, 25, "index"); - html$.StyleSheet.as(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[149], 35403, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35431, 28, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._StyleSheetList.prototype[dart.isList] = true; -dart.addTypeTests(html$._StyleSheetList); -dart.addTypeCaches(html$._StyleSheetList); -html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; -dart.setMethodSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getMethods(html$._StyleSheetList.__proto__), - [$_get]: dart.fnType(html$.StyleSheet, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getSetters(html$._StyleSheetList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._StyleSheetList, I[150]); -dart.registerExtension("StyleSheetList", html$._StyleSheetList); -html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._SubtleCrypto.__(); - } -}; -dart.addTypeTests(html$._SubtleCrypto); -dart.addTypeCaches(html$._SubtleCrypto); -dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); -dart.setLibraryUri(html$._SubtleCrypto, I[150]); -dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); -html$._USB = class _USB extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._USB.__(); - } -}; -dart.addTypeTests(html$._USB); -dart.addTypeCaches(html$._USB); -dart.setStaticMethodSignature(html$._USB, () => ['__']); -dart.setLibraryUri(html$._USB, I[150]); -dart.registerExtension("USB", html$._USB); -html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBAlternateInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBAlternateInterface, I[150]); -dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); -html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBConfiguration.__(); - } - static new(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._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.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[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.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBConnectionEvent, I[150]); -dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); -html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBDevice.__(); - } -}; -dart.addTypeTests(html$._USBDevice); -dart.addTypeCaches(html$._USBDevice); -dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); -dart.setLibraryUri(html$._USBDevice, I[150]); -dart.registerExtension("USBDevice", html$._USBDevice); -html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBEndpoint.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBEndpoint, I[150]); -dart.registerExtension("USBEndpoint", html$._USBEndpoint); -html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInTransferResult.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBInTransferResult(status); - } -}; -dart.addTypeTests(html$._USBInTransferResult); -dart.addTypeCaches(html$._USBInTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBInterface, I[150]); -dart.registerExtension("USBInterface", html$._USBInterface); -html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferPacket.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousInTransferPacket(status); - } -}; -dart.addTypeTests(html$._USBIsochronousInTransferPacket); -dart.addTypeCaches(html$._USBIsochronousInTransferPacket); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferResult.__(); - } - static new(packets, data = null) { - 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); - } - static _create_2(packets) { - return new USBIsochronousInTransferResult(packets); - } -}; -dart.addTypeTests(html$._USBIsochronousInTransferResult); -dart.addTypeCaches(html$._USBIsochronousInTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferPacket.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousOutTransferPacket(status); - } -}; -dart.addTypeTests(html$._USBIsochronousOutTransferPacket); -dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferResult.__(); - } - static new(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.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); -dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); -html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBOutTransferResult.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBOutTransferResult(status); - } -}; -dart.addTypeTests(html$._USBOutTransferResult); -dart.addTypeCaches(html$._USBOutTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._WindowTimers.__(); - } -}; -dart.addTypeTests(html$._WindowTimers); -dart.addTypeCaches(html$._WindowTimers); -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.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); -dart.setLibraryUri(html$._WorkerLocation, I[150]); -dart.registerExtension("WorkerLocation", html$._WorkerLocation); -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$.NavigatorID, html$.NavigatorOnLine]; -dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); -dart.setLibraryUri(html$._WorkerNavigator, I[150]); -dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); -html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Worklet.__(); - } -}; -dart.addTypeTests(html$._Worklet); -dart.addTypeCaches(html$._Worklet); -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[149], 35796, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - for (let v of this.values) { - if (dart.equals(value, v)) { - return true; - } - } - return false; - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); - T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); - if (!dart.test(this[$containsKey](key))) { - this[$_set](key, ifAbsent()); - } - return dart.nullCast(this[$_get](key), core.String); - } - clear() { - for (let key of this.keys) { - this[$remove](key); - } - } - forEach(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][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)); - if (dart.test(this[S$3._matches](attr))) { - keys[$add](dart.nullCheck(attr.name)); - } - } - return keys; - } - get values() { - 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)); - if (dart.test(this[S$3._matches](attr))) { - values[$add](dart.nullCheck(attr.value)); - } - } - return values; - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } -}; -(html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$._AttributeMap.prototype; -dart.addTypeTests(html$._AttributeMap); -dart.addTypeCaches(html$._AttributeMap); -dart.setMethodSignature(html$._AttributeMap, () => ({ - __proto__: dart.getMethods(html$._AttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(html$._AttributeMap, () => ({ - __proto__: dart.getGetters(html$._AttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) -})); -dart.setLibraryUri(html$._AttributeMap, I[150]); -dart.setFieldSignature(html$._AttributeMap, () => ({ - __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element) -})); -dart.defineExtensionMethods(html$._AttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'putIfAbsent', - 'clear', - 'forEach' -]); -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][S._hasAttribute](key)); - } - _get(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[149], 35890, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35880, 32, "element"); - html$._ElementAttributeMap.__proto__.new.call(this, element); - ; -}).prototype = html$._ElementAttributeMap.prototype; -dart.addTypeTests(html$._ElementAttributeMap); -dart.addTypeCaches(html$._ElementAttributeMap); -dart.setMethodSignature(html$._ElementAttributeMap, () => ({ - __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) -})); -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][S._hasAttributeNS](this[S$3._namespace], key)); - } - _get(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[149], 35938, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35928, 35, "element"); - this[S$3._namespace] = _namespace; - html$._NamespacedAttributeMap.__proto__.new.call(this, element); - ; -}).prototype = html$._NamespacedAttributeMap.prototype; -dart.addTypeTests(html$._NamespacedAttributeMap); -dart.addTypeCaches(html$._NamespacedAttributeMap); -dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ - __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) -})); -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)) -})); -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[149], 35984, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); - return core.identical(v, value); - }, T$.StringTobool())); - } - containsKey(key) { - return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); - } - _get(key) { - return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); - } - _set(key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); - core.String.as(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[149], 36003, 29, "key"); - T$.VoidToString().as(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) { - return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); - } - clear() { - for (let key of this.keys) { - this.remove(key); - } - } - forEach(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[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); - } - }, T$0.StringAndStringTovoid())); - } - get keys() { - let keys = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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)); - } - }, T$0.StringAndStringTovoid())); - return keys; - } - get values() { - let values = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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); - } - }, T$0.StringAndStringTovoid())); - return values; - } - get length() { - return this.keys[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - [S$3._attr](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[149], 36052, 24, "key"); - return key[$startsWith]("data-"); - } - [S$3._strip](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[149], 36060, 30, "hyphenedName"); - let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - 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) { - let segment = segments[$_get](i); - if (segment.length > 0) { - segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); - } - } - return segments[$join](""); - } - [S$3._toHyphenedName](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](); - if (word[$_get](i) !== lower && i > 0) sb.write("-"); - sb.write(lower); - } - return sb.toString(); - } -}; -(html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); - this[S._attributes$1] = _attributes; - ; -}).prototype = html$._DataAttributeMap.prototype; -dart.addTypeTests(html$._DataAttributeMap); -dart.addTypeCaches(html$._DataAttributeMap); -dart.setMethodSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [S$3._attr]: dart.fnType(core.String, [core.String]), - [S$3._matches]: dart.fnType(core.bool, [core.String]), - [S$3._strip]: dart.fnType(core.String, [core.String]), - [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), - [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) -})); -dart.setGetterSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) -})); -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)) -})); -dart.defineExtensionMethods(html$._DataAttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' -]); -dart.defineExtensionAccessors(html$._DataAttributeMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' -]); -html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; -(html$.CanvasImageSource.new = function() { - ; -}).prototype = html$.CanvasImageSource.prototype; -dart.addTypeTests(html$.CanvasImageSource); -dart.addTypeCaches(html$.CanvasImageSource); -dart.setLibraryUri(html$.CanvasImageSource, I[150]); -html$.WindowBase = class WindowBase extends core.Object {}; -(html$.WindowBase.new = function() { - ; -}).prototype = html$.WindowBase.prototype; -dart.addTypeTests(html$.WindowBase); -dart.addTypeCaches(html$.WindowBase); -html$.WindowBase[dart.implements] = () => [html$.EventTarget]; -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[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[150]); -html$.CssClassSet = class CssClassSet extends core.Object { - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(html$.CssClassSet.new = function() { - ; -}).prototype = html$.CssClassSet.prototype; -dart.addTypeTests(html$.CssClassSet); -dart.addTypeCaches(html$.CssClassSet); -html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; -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.")); - } - set width(newWidth) { - dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); - } - [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - 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) { - val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement == html$._CONTENT) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement != html$._MARGIN) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); - } - } - return val; - } - get right() { - return dart.notNull(this.left) + dart.notNull(this.width); - } - get bottom() { - return dart.notNull(this.top) + dart.notNull(this.height); - } - toString() { - return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); - } - _equals(other) { - if (other == null) return false; - 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 core.Object.hash(this.left, this.top, this.right, this.bottom); - } - intersection(other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - intersects(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[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]); - let top = math.min(core.num, this.top, other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - containsRectangle(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[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() { - return new (T$0.PointOfnum()).new(this.left, this.top); - } - get topRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); - } - get bottomRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); - } - get bottomLeft() { - return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); - } -}; -(html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$.CssRect.prototype; -dart.addTypeTests(html$.CssRect); -dart.addTypeCaches(html$.CssRect); -html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; -dart.setMethodSignature(html$.CssRect, () => ({ - __proto__: dart.getMethods(html$.CssRect.__proto__), - [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), - intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) -})); -dart.setGetterSignature(html$.CssRect, () => ({ - __proto__: dart.getGetters(html$.CssRect.__proto__), - right: core.num, - [$right]: core.num, - bottom: core.num, - [$bottom]: core.num, - topLeft: math.Point$(core.num), - [$topLeft]: math.Point$(core.num), - topRight: math.Point$(core.num), - [$topRight]: math.Point$(core.num), - bottomRight: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - bottomLeft: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num) -})); -dart.setSetterSignature(html$.CssRect, () => ({ - __proto__: dart.getSetters(html$.CssRect.__proto__), - height: dart.dynamic, - [$height]: dart.dynamic, - width: dart.dynamic, - [$width]: dart.dynamic -})); -dart.setLibraryUri(html$.CssRect, I[150]); -dart.setFieldSignature(html$.CssRect, () => ({ - __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element]: dart.fieldType(html$.Element) -})); -dart.defineExtensionMethods(html$.CssRect, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' -]); -dart.defineExtensionAccessors(html$.CssRect, [ - 'height', - 'width', - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - '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][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); - } - get width() { - 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].style[$height] = dart.toString(newHeight); - } else if (typeof newHeight == 'number') { - if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element].style[$height] = dart.str(newHeight) + "px"; - } else { - dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); - } - } - set width(newWidth) { - if (html$.Dimension.is(newWidth)) { - let newWidthAsDimension = newWidth; - if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - 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].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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); - } - get top() { - 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[149], 36401, 27, "element"); - html$._ContentCssRect.__proto__.new.call(this, element); - ; -}).prototype = html$._ContentCssRect.prototype; -dart.addTypeTests(html$._ContentCssRect); -dart.addTypeCaches(html$._ContentCssRect); -dart.setGetterSignature(html$._ContentCssRect, () => ({ - __proto__: dart.getGetters(html$._ContentCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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[149], 36480, 27, "e"); - return e[S.$contentEdge].height = newHeight; - }, T$0.ElementTovoid())); - } - get height() { - return super.height; - } - set width(newWidth) { - this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); - return e[S.$contentEdge].width = newWidth; - }, T$0.ElementTovoid())); - } - get width() { - return super.width; - } -}; -(html$._ContentCssListRect.new = function(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[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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); - } - get top() { - 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) { - html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._PaddingCssRect.prototype; -dart.addTypeTests(html$._PaddingCssRect); -dart.addTypeCaches(html$._PaddingCssRect); -dart.setGetterSignature(html$._PaddingCssRect, () => ({ - __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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][S.$offsetHeight]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$1._element][S.$offsetWidth]; - } - set width(value) { - super.width = value; - } - get left() { - return this[S$1._element].getBoundingClientRect()[$left]; - } - get top() { - return this[S$1._element].getBoundingClientRect()[$top]; - } -}; -(html$._BorderCssRect.new = function(element) { - html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._BorderCssRect.prototype; -dart.addTypeTests(html$._BorderCssRect); -dart.addTypeCaches(html$._BorderCssRect); -dart.setGetterSignature(html$._BorderCssRect, () => ({ - __proto__: dart.getGetters(html$._BorderCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); - } - get top() { - 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) { - html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._MarginCssRect.prototype; -dart.addTypeTests(html$._MarginCssRect); -dart.addTypeCaches(html$._MarginCssRect); -dart.setGetterSignature(html$._MarginCssRect, () => ({ - __proto__: dart.getGetters(html$._MarginCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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[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")); - } - toString() { - return this.readClasses()[$join](" "); - } - toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[151], 26, 22, "value"); - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = false; - if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); - if (dart.test(shouldAdd)) { - s.add(value); - result = true; - } else { - s.remove(value); - } - this.writeClasses(s); - return result; - } - get frozen() { - return false; - } - get iterator() { - return this.readClasses().iterator; - } - forEach(f) { - if (f == null) dart.nullFailed(I[151], 52, 21, "f"); - this.readClasses()[$forEach](f); - } - join(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[151], 58, 24, "f"); - return this.readClasses()[$map](T, f); - } - where(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[151], 62, 37, "f"); - return this.readClasses()[$expand](T, f); - } - every(f) { - if (f == null) dart.nullFailed(I[151], 65, 19, "f"); - return this.readClasses()[$every](f); - } - any(f) { - if (f == null) dart.nullFailed(I[151], 67, 17, "f"); - return this.readClasses()[$any](f); - } - get isEmpty() { - return this.readClasses()[$isEmpty]; - } - get isNotEmpty() { - return this.readClasses()[$isNotEmpty]; - } - get length() { - return this.readClasses()[$length]; - } - reduce(combine) { - T$0.StringAndStringToString().as(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[151], 79, 31, "combine"); - return this.readClasses()[$fold](T, initialValue, combine); - } - contains(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - return this.readClasses().contains(value); - } - lookup(value) { - return dart.test(this.contains(value)) ? core.String.as(value) : null; - } - add(value) { - let t222; - core.String.as(value); - if (value == null) dart.nullFailed(I[151], 107, 19, "value"); - this[S$3._validateToken](value); - 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())), t222 == null ? false : t222)); - } - remove(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = s.remove(value); - this.writeClasses(s); - return result; - } - addAll(iterable) { - T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); - this.modify(dart.fn(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[151], 147, 36, "iterable"); - this.modify(dart.fn(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[151], 161, 35, "iterable"); - iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[151], 162, 23, "e"); - return this.toggle(e, shouldAdd); - }, T$0.StringTovoid())); - } - retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); - this.modify(dart.fn(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[151], 169, 25, "test"); - this.modify(dart.fn(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[151], 173, 25, "test"); - this.modify(dart.fn(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[151], 177, 38, "collection"); - return this.readClasses().containsAll(collection); - } - intersection(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[151], 183, 33, "other"); - return this.readClasses().union(other); - } - difference(other) { - if (other == null) dart.nullFailed(I[151], 185, 39, "other"); - return this.readClasses().difference(other); - } - get first() { - return this.readClasses()[$first]; - } - get last() { - return this.readClasses()[$last]; - } - get single() { - return this.readClasses()[$single]; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[151], 193, 29, "n"); - return this.readClasses()[$take](n); - } - takeWhile(test) { - if (test == null) dart.nullFailed(I[151], 194, 35, "test"); - return this.readClasses()[$takeWhile](test); - } - skip(n) { - if (n == null) dart.nullFailed(I[151], 196, 29, "n"); - return this.readClasses()[$skip](n); - } - skipWhile(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[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[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[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[151], 205, 24, "index"); - return this.readClasses()[$elementAt](index); - } - clear() { - this.modify(dart.fn(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[151], 222, 10, "f"); - let s = this.readClasses(); - let ret = f(s); - this.writeClasses(s); - return ret; - } -}; -(html_common.CssClassSetImpl.new = function() { - ; -}).prototype = html_common.CssClassSetImpl.prototype; -dart.addTypeTests(html_common.CssClassSetImpl); -dart.addTypeCaches(html_common.CssClassSetImpl); -html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; -dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), - [S$3._validateToken]: dart.fnType(core.String, [core.String]), - toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), - toSet: dart.fnType(core.Set$(core.String), []), - [$toSet]: dart.fnType(core.Set$(core.String), []), - modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) -})); -dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), - frozen: core.bool, - iterator: core.Iterator$(core.String), - [$iterator]: core.Iterator$(core.String), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); -dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); -dart.defineExtensionMethods(html_common.CssClassSetImpl, [ - 'toString', - 'forEach', - 'join', - 'map', - 'where', - 'expand', - 'every', - 'any', - 'reduce', - 'fold', - 'contains', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' -]); -dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'length', - 'first', - 'last', - 'single' -]); -dart.defineLazy(html_common.CssClassSetImpl, { - /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { - return core.RegExp.new("^\\S+$"); - } -}, false); -html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { - static new(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[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[149], 36784, 36, "e"); - return s.addAll(e.readClasses()); - }, T$0.CssClassSetImplTovoid())); - return s; - } - writeClasses(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[149], 36804, 10, "f"); - this[S$3._sets][$forEach](dart.fn(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[149], 36815, 22, "value"); - return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, 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[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[149], 36780, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); - this[S$0._elementIterable] = _elementIterable; - this[S$3._sets] = _sets; - ; -}).prototype = html$._MultiElementCssClassSet.prototype; -dart.addTypeTests(html$._MultiElementCssClassSet); -dart.addTypeCaches(html$._MultiElementCssClassSet); -dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) -})); -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].className; - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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])); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - clear() { - this[S$1._element].className = ""; - } - contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element], value); - } - add(value) { - core.String.as(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], value)); - } - toggle(value, shouldAdd = null) { - 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[149], 36877, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element], iterable); - } - removeAll(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[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[149], 36889, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); - } - retainWhere(test) { - 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[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[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[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[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[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 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((t222 = shouldAdd, t222 == null ? false : t222))) { - html$._ElementCssClassSet._classListAdd(list, value); - return true; - } else { - html$._ElementCssClassSet._classListRemove(list, value); - return false; - } - } - static _addAll(_element, 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[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[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))) { - let item = dart.nullCheck(list.item(i)); - if (doRemove == test(item)) { - html$._ElementCssClassSet._classListRemove(list, item); - } else { - i = i + 1; - } - } - } - static _classListOf(e) { - if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); - return e.classList; - } - static _classListLength(list) { - if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); - return list.length; - } - static _classListContains(list, 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[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[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[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[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[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[149], 36834, 28, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$._ElementCssClassSet.prototype; -dart.addTypeTests(html$._ElementCssClassSet); -dart.addTypeCaches(html$._ElementCssClassSet); -dart.setMethodSignature(html$._ElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) -})); -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]: 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]); - } - get value() { - return this[S$1._value$7]; - } -}; -(html$.Dimension.percent = function(_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[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[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[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[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[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[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[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[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[149], 37077, 24, "cssValue"); - this[S$3._unit] = ""; - this[S$1._value$7] = 0; - if (cssValue === "") cssValue = "0px"; - if (cssValue[$endsWith]("%")) { - this[S$3._unit] = "%"; - } else { - this[S$3._unit] = cssValue[$substring](cssValue.length - 2); - } - if (cssValue[$contains](".")) { - this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } else { - this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } -}).prototype = html$.Dimension.prototype; -dart.addTypeTests(html$.Dimension); -dart.addTypeCaches(html$.Dimension); -dart.setGetterSignature(html$.Dimension, () => ({ - __proto__: dart.getGetters(html$.Dimension.__proto__), - value: core.num -})); -dart.setLibraryUri(html$.Dimension, I[150]); -dart.setFieldSignature(html$.Dimension, () => ({ - __proto__: dart.getFields(html$.Dimension.__proto__), - [S$1._value$7]: dart.fieldType(core.num), - [S$3._unit]: dart.fieldType(core.String) -})); -dart.defineExtensionMethods(html$.Dimension, ['toString']); -const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); -html$.EventStreamProvider$ = dart.generic(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]; - } - 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[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[149], 37166, 39, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37185, 57, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37197, 35, "target"); - return this[S$3._eventType$1]; - } - } - (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); - this[S$3._eventType] = _eventType; - ; - }).prototype = EventStreamProvider.prototype; - dart.addTypeTests(EventStreamProvider); - EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; - dart.addTypeCaches(EventStreamProvider); - dart.setMethodSignature(EventStreamProvider, () => ({ - __proto__: dart.getMethods(EventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [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[150]); - dart.setFieldSignature(EventStreamProvider, () => ({ - __proto__: dart.getFields(EventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return EventStreamProvider; -}); -html$.EventStreamProvider = html$.EventStreamProvider$(); -dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); -const _is_ElementStream_default = Symbol('_is_ElementStream_default'); -html$.ElementStream$ = dart.generic(T => { - class ElementStream extends core.Object {} - (ElementStream.new = function() { - ; - }).prototype = ElementStream.prototype; - ElementStream.prototype[dart.isStream] = true; - dart.addTypeTests(ElementStream); - ElementStream.prototype[_is_ElementStream_default] = true; - dart.addTypeCaches(ElementStream); - ElementStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - return this; - } - get isBroadcast() { - return true; - } - 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; - 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[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; - _EventStream.__proto__.new.call(this); - ; - }).prototype = _EventStream.prototype; - dart.addTypeTests(_EventStream); - _EventStream.prototype[_is__EventStream_default] = true; - dart.addTypeCaches(_EventStream); - dart.setMethodSignature(_EventStream, () => ({ - __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[150]); - dart.setFieldSignature(_EventStream, () => ({ - __proto__: dart.getFields(_EventStream.__proto__), - [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStream; -}); -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 __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[149], 37270, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); - e[S._selector] = selector; - return e; - }, __t$TToT())); - } - capture(onData) { - 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) { - _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); - ; - }).prototype = _ElementEventStreamImpl.prototype; - dart.addTypeTests(_ElementEventStreamImpl); - _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementEventStreamImpl); - _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) - })); - 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 __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[149], 37294, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); - e[S._selector] = selector; - return e; - }, __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 (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - 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[149], 37311, 38, "onData"); - let pool = new (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); - } - return pool.stream.listen(onData); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this; - } - get isBroadcast() { - return true; - } - } - (_ElementListEventStreamImpl.new = function(_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"); - this[S$3._targetList] = _targetList; - this[S$3._eventType$1] = _eventType; - this[S$3._useCapture] = _useCapture; - _ElementListEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _ElementListEventStreamImpl.prototype; - dart.addTypeTests(_ElementListEventStreamImpl); - _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementListEventStreamImpl); - _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - 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[150]); - dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), - [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$3._useCapture]: dart.finalFieldType(core.bool), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return _ElementListEventStreamImpl; -}); -html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); -dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); -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](); - this[S$3._target$2] = null; - this[S$3._onData$3] = null; - return _internal.nullFuture; - } - get [S$3._canceled]() { - return this[S$3._target$2] == null; - } - onData(handleData) { - if (dart.test(this[S$3._canceled])) { - dart.throw(new core.StateError.new("Subscription has been canceled.")); - } - 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[149], 37367, 29, "e"); - return dart.dcall(handleData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - } - onError(handleError) { - } - onDone(handleDone) { - } - pause(resumeSignal = null) { - if (dart.test(this[S$3._canceled])) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; - this[S$3._unlisten](); - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - get isPaused() { - return dart.notNull(this[S$3._pauseCount$1]) > 0; - } - resume() { - if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; - this[S$3._tryResume](); - } - [S$3._tryResume]() { - if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { - dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - [S$3._unlisten]() { - if (this[S$3._onData$3] != null) { - dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - asFuture(E, futureValue = null) { - let completer = async.Completer$(E).new(); - return completer.future; - } - } - (_EventStreamSubscription.new = function(_target, _eventType, onData, _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[149], 37340, 33, "e"); - return dart.dcall(onData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - }).prototype = _EventStreamSubscription.prototype; - dart.addTypeTests(_EventStreamSubscription); - _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; - dart.addTypeCaches(_EventStreamSubscription); - dart.setMethodSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getMethods(_EventStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [S$3._tryResume]: dart.fnType(dart.void, []), - [S$3._unlisten]: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getGetters(_EventStreamSubscription.__proto__), - [S$3._canceled]: core.bool, - isPaused: core.bool - })); - dart.setLibraryUri(_EventStreamSubscription, I[150]); - dart.setFieldSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getFields(_EventStreamSubscription.__proto__), - [S$3._pauseCount$1]: dart.fieldType(core.int), - [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStreamSubscription; -}); -html$._EventStreamSubscription = html$._EventStreamSubscription$(); -dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); -const _is_CustomStream_default = Symbol('_is_CustomStream_default'); -html$.CustomStream$ = dart.generic(T => { - class CustomStream extends core.Object {} - (CustomStream.new = function() { - ; - }).prototype = CustomStream.prototype; - CustomStream.prototype[dart.isStream] = true; - dart.addTypeTests(CustomStream); - CustomStream.prototype[_is_CustomStream_default] = true; - dart.addTypeCaches(CustomStream); - CustomStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[S$3._streamController].stream; - } - get isBroadcast() { - return true; - } - add(event) { - T.as(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[149], 37432, 33, "type"); - this[S$3._type$5] = type; - this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); - _CustomEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _CustomEventStreamImpl.prototype; - dart.addTypeTests(_CustomEventStreamImpl); - _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; - dart.addTypeCaches(_CustomEventStreamImpl); - _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; - dart.setMethodSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getMethods(_CustomEventStreamImpl.__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)}, {}), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomEventStreamImpl, I[150]); - dart.setFieldSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), - [S$3._streamController]: dart.fieldType(async.StreamController$(T)), - [S$3._type$5]: dart.fieldType(core.String) - })); - return _CustomEventStreamImpl; -}); -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]; - } - get charCode() { - return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; - } - get altKey() { - return this[S$3._shadowAltKey]; - } - get which() { - return this.keyCode; - } - get [S$3._realKeyCode]() { - return this[S$3._parent$2].keyCode; - } - get [S$3._realCharCode]() { - return this[S$3._parent$2].charCode; - } - get [S$3._realAltKey]() { - return this[S$3._parent$2].altKey; - } - get sourceCapabilities() { - return this.sourceCapabilities; - } - static _makeRecord() { - 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[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; - if (view == null) { - view = html$.window; - } - let eventObj = null; - eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); - Object.defineProperty(eventObj, 'keyCode', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'which', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'charCode', { - get: function() { - return this.charCodeVal; - } - }); - let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - 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(eventObj); - if (keyEvent[S$3._currentTarget] == null) { - keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; - } - return keyEvent; - } - static get canUseDispatchEvent() { - return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; - } - get currentTarget() { - return this[S$3._currentTarget]; - } - static _convertToHexString(charCode, 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+"); - for (let i = 0; i < 4 - hex.length; i = i + 1) - sb.write("0"); - sb.write(hex); - return sb.toString(); - } else { - return html$.KeyCode._convertKeyCodeToKeyName(keyCode); - } - } - get code() { - return dart.nullCheck(this[S$3._parent$2].code); - } - get ctrlKey() { - return this[S$3._parent$2].ctrlKey; - } - get detail() { - return dart.nullCheck(this[S$3._parent$2].detail); - } - get isComposing() { - return dart.nullCheck(this[S$3._parent$2].isComposing); - } - get key() { - return dart.nullCheck(this[S$3._parent$2].key); - } - get location() { - return this[S$3._parent$2].location; - } - get metaKey() { - return this[S$3._parent$2].metaKey; - } - get shiftKey() { - return this[S$3._parent$2].shiftKey; - } - get view() { - return this[S$3._parent$2][S$.$view]; - } - [S$._initUIEvent](type, canBubble, cancelable, view, 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]() { - return this[S$3._parent$2].keyIdentifier; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$._which]() { - return this.which; - } - get [S$3._keyIdentifier]() { - 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[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[149], 40723, 32, "keyArgument"); - return dart.throw(new core.UnimplementedError.new()); - } - get repeat() { - return dart.throw(new core.UnimplementedError.new()); - } - get isComposed() { - return dart.throw(new core.UnimplementedError.new()); - } - get [S$._get_view]() { - return dart.throw(new core.UnimplementedError.new()); - } -}; -(html$.KeyEvent.wrap = function(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; - this[S$3._shadowCharCode] = 0; - this[S$3._shadowKeyCode] = 0; - html$.KeyEvent.__proto__.new.call(this, parent); - this[S$3._parent$2] = parent; - this[S$3._shadowAltKey] = this[S$3._realAltKey]; - this[S$3._shadowCharCode] = this[S$3._realCharCode]; - this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; - this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; -}).prototype = html$.KeyEvent.prototype; -dart.addTypeTests(html$.KeyEvent); -dart.addTypeCaches(html$.KeyEvent); -html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; -dart.setMethodSignature(html$.KeyEvent, () => ({ - __proto__: dart.getMethods(html$.KeyEvent.__proto__), - [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), - [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]), - 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, - [S$1.$keyCode]: core.int, - charCode: core.int, - [S$1.$charCode]: core.int, - altKey: core.bool, - [S$1.$altKey]: core.bool, - which: core.int, - [S$1.$which]: core.int, - [S$3._realKeyCode]: core.int, - [S$3._realCharCode]: core.int, - [S$3._realAltKey]: core.bool, - sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - code: core.String, - [S$.$code]: core.String, - ctrlKey: core.bool, - [S$1.$ctrlKey]: core.bool, - detail: core.int, - [S$.$detail]: core.int, - isComposing: core.bool, - [S$1.$isComposing]: core.bool, - key: core.String, - [S.$key]: core.String, - location: core.int, - [S$0.$location]: core.int, - metaKey: core.bool, - [S$1.$metaKey]: core.bool, - shiftKey: core.bool, - [S$1.$shiftKey]: core.bool, - view: dart.nullable(html$.WindowBase), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$3._shadowKeyIdentifier]: core.String, - [S$1._charCode]: core.int, - [S$1._keyCode]: core.int, - [S$._which]: core.int, - [S$3._keyIdentifier]: core.String, - repeat: core.bool, - [S$1.$repeat]: core.bool, - isComposed: core.bool, - [S$._get_view]: dart.dynamic -})); -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), - [S$3._shadowAltKey]: dart.fieldType(core.bool), - [S$3._shadowCharCode]: dart.fieldType(core.int), - [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', - 'charCode', - 'altKey', - 'which', - 'sourceCapabilities', - 'currentTarget', - 'code', - 'ctrlKey', - 'detail', - 'isComposing', - 'key', - 'location', - 'metaKey', - 'shiftKey', - 'view', - 'repeat' -]); -dart.defineLazy(html$.KeyEvent, { - /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { - return html$.KeyEvent._makeRecord(); - }, - /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { - return new html$._KeyboardEventHandler.new("keydown"); - }, - 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(value) { - if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); - }, - /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { - return new html$._KeyboardEventHandler.new("keypress"); - }, - 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[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); - } - } -}; -(html$._CustomKeyEventStreamImpl.new = function(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[150]); -const _is__StreamPool_default = Symbol('_is__StreamPool_default'); -html$._StreamPool$ = dart.generic(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) { - __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(__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) { - __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(); - } - close() { - for (let subscription of this[S$3._subscriptions][$values]) { - subscription.cancel(); - } - this[S$3._subscriptions][$clear](); - dart.nullCheck(this[S$3._controller$2]).close(); - } - } - (_StreamPool.broadcast = function() { - this[S$3._controller$2] = null; - 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; - dart.addTypeCaches(_StreamPool); - dart.setMethodSignature(_StreamPool, () => ({ - __proto__: dart.getMethods(_StreamPool.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamPool, () => ({ - __proto__: dart.getGetters(_StreamPool.__proto__), - stream: async.Stream$(T) - })); - dart.setLibraryUri(_StreamPool, I[150]); - dart.setFieldSignature(_StreamPool, () => ({ - __proto__: dart.getFields(_StreamPool.__proto__), - [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) - })); - return _StreamPool; -}); -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 __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]; - } - 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 t222; - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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 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[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 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[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 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.")); - } - } - (_CustomEventStreamProvider.new = function(_eventTypeGetter) { - this[S$3._eventTypeGetter] = _eventTypeGetter; - ; - }).prototype = _CustomEventStreamProvider.prototype; - dart.addTypeTests(_CustomEventStreamProvider); - _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; - dart.addTypeCaches(_CustomEventStreamProvider); - _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; - dart.setMethodSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]) - })); - dart.setGetterSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), - [S$3._eventType$1]: core.String - })); - dart.setLibraryUri(_CustomEventStreamProvider, I[150]); - dart.setFieldSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), - [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) - })); - return _CustomEventStreamProvider; -}); -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[149], 37975, 30, "element"); - return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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) { - validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); - } - if (validator == null) { - return false; - } - return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); - } - static _standardAttributeValidator(element, attributeName, value, 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[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 t222; - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - 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[410] || CT.C410); - } - for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); - } - } -}).prototype = html$._Html5NodeValidator.prototype; -dart.addTypeTests(html$._Html5NodeValidator); -dart.addTypeCaches(html$._Html5NodeValidator); -html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._Html5NodeValidator, () => ({ - __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[412] || CT.C412; - }, - /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[413] || CT.C413; - }, - /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { - return new (T$0.IdentityMapOfString$Function()).new(); - } -}, false); -html$.KeyCode = class KeyCode extends core.Object { - static isCharacterKey(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; - } - if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { - return true; - } - 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[149], 38323, 46, "keyCode"); - switch (keyCode) { - case 18: - { - return "Alt"; - } - case 8: - { - return "Backspace"; - } - case 20: - { - return "CapsLock"; - } - case 17: - { - return "Control"; - } - case 46: - { - return "Del"; - } - case 40: - { - return "Down"; - } - case 35: - { - return "End"; - } - case 13: - { - return "Enter"; - } - case 27: - { - return "Esc"; - } - case 112: - { - return "F1"; - } - case 113: - { - return "F2"; - } - case 114: - { - return "F3"; - } - case 115: - { - return "F4"; - } - case 116: - { - return "F5"; - } - case 117: - { - return "F6"; - } - case 118: - { - return "F7"; - } - case 119: - { - return "F8"; - } - case 120: - { - return "F9"; - } - case 121: - { - return "F10"; - } - case 122: - { - return "F11"; - } - case 123: - { - return "F12"; - } - case 36: - { - return "Home"; - } - case 45: - { - return "Insert"; - } - case 37: - { - return "Left"; - } - case 91: - { - return "Meta"; - } - case 144: - { - return "NumLock"; - } - case 34: - { - return "PageDown"; - } - case 33: - { - return "PageUp"; - } - case 19: - { - return "Pause"; - } - case 44: - { - return "PrintScreen"; - } - case 39: - { - return "Right"; - } - case 145: - { - return "Scroll"; - } - case 16: - { - return "Shift"; - } - case 32: - { - return "Spacebar"; - } - case 9: - { - return "Tab"; - } - case 38: - { - return "Up"; - } - case 229: - case 224: - case 91: - case 92: - { - return "Win"; - } - default: - { - return "Unidentified"; - } - } - return "Unidentified"; - } -}; -(html$.KeyCode.new = function() { - ; -}).prototype = html$.KeyCode.prototype; -dart.addTypeTests(html$.KeyCode); -dart.addTypeCaches(html$.KeyCode); -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; - }, - /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { - return 3; - }, - /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { - return 8; - }, - /*html$.KeyCode.TAB*/get TAB() { - return 9; - }, - /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { - return 12; - }, - /*html$.KeyCode.ENTER*/get ENTER() { - return 13; - }, - /*html$.KeyCode.SHIFT*/get SHIFT() { - return 16; - }, - /*html$.KeyCode.CTRL*/get CTRL() { - return 17; - }, - /*html$.KeyCode.ALT*/get ALT() { - return 18; - }, - /*html$.KeyCode.PAUSE*/get PAUSE() { - return 19; - }, - /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { - return 20; - }, - /*html$.KeyCode.ESC*/get ESC() { - return 27; - }, - /*html$.KeyCode.SPACE*/get SPACE() { - return 32; - }, - /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { - return 33; - }, - /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { - return 34; - }, - /*html$.KeyCode.END*/get END() { - return 35; - }, - /*html$.KeyCode.HOME*/get HOME() { - return 36; - }, - /*html$.KeyCode.LEFT*/get LEFT() { - return 37; - }, - /*html$.KeyCode.UP*/get UP() { - return 38; - }, - /*html$.KeyCode.RIGHT*/get RIGHT() { - return 39; - }, - /*html$.KeyCode.DOWN*/get DOWN() { - return 40; - }, - /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { - return 33; - }, - /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { - return 34; - }, - /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { - return 35; - }, - /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { - return 36; - }, - /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { - return 37; - }, - /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { - return 38; - }, - /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { - return 39; - }, - /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { - return 40; - }, - /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { - return 44; - }, - /*html$.KeyCode.INSERT*/get INSERT() { - return 45; - }, - /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { - return 45; - }, - /*html$.KeyCode.DELETE*/get DELETE() { - return 46; - }, - /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { - return 46; - }, - /*html$.KeyCode.ZERO*/get ZERO() { - return 48; - }, - /*html$.KeyCode.ONE*/get ONE() { - return 49; - }, - /*html$.KeyCode.TWO*/get TWO() { - return 50; - }, - /*html$.KeyCode.THREE*/get THREE() { - return 51; - }, - /*html$.KeyCode.FOUR*/get FOUR() { - return 52; - }, - /*html$.KeyCode.FIVE*/get FIVE() { - return 53; - }, - /*html$.KeyCode.SIX*/get SIX() { - return 54; - }, - /*html$.KeyCode.SEVEN*/get SEVEN() { - return 55; - }, - /*html$.KeyCode.EIGHT*/get EIGHT() { - return 56; - }, - /*html$.KeyCode.NINE*/get NINE() { - return 57; - }, - /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { - return 59; - }, - /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { - return 61; - }, - /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { - return 63; - }, - /*html$.KeyCode.A*/get A() { - return 65; - }, - /*html$.KeyCode.B*/get B() { - return 66; - }, - /*html$.KeyCode.C*/get C() { - return 67; - }, - /*html$.KeyCode.D*/get D() { - return 68; - }, - /*html$.KeyCode.E*/get E() { - return 69; - }, - /*html$.KeyCode.F*/get F() { - return 70; - }, - /*html$.KeyCode.G*/get G() { - return 71; - }, - /*html$.KeyCode.H*/get H() { - return 72; - }, - /*html$.KeyCode.I*/get I() { - return 73; - }, - /*html$.KeyCode.J*/get J() { - return 74; - }, - /*html$.KeyCode.K*/get K() { - return 75; - }, - /*html$.KeyCode.L*/get L() { - return 76; - }, - /*html$.KeyCode.M*/get M() { - return 77; - }, - /*html$.KeyCode.N*/get N() { - return 78; - }, - /*html$.KeyCode.O*/get O() { - return 79; - }, - /*html$.KeyCode.P*/get P() { - return 80; - }, - /*html$.KeyCode.Q*/get Q() { - return 81; - }, - /*html$.KeyCode.R*/get R() { - return 82; - }, - /*html$.KeyCode.S*/get S() { - return 83; - }, - /*html$.KeyCode.T*/get T() { - return 84; - }, - /*html$.KeyCode.U*/get U() { - return 85; - }, - /*html$.KeyCode.V*/get V() { - return 86; - }, - /*html$.KeyCode.W*/get W() { - return 87; - }, - /*html$.KeyCode.X*/get X() { - return 88; - }, - /*html$.KeyCode.Y*/get Y() { - return 89; - }, - /*html$.KeyCode.Z*/get Z() { - return 90; - }, - /*html$.KeyCode.META*/get META() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { - return 92; - }, - /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { - return 93; - }, - /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { - return 96; - }, - /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { - return 97; - }, - /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { - return 98; - }, - /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { - return 99; - }, - /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { - return 100; - }, - /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { - return 101; - }, - /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { - return 102; - }, - /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { - return 103; - }, - /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { - return 104; - }, - /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { - return 105; - }, - /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { - return 106; - }, - /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { - return 107; - }, - /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { - return 109; - }, - /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { - return 110; - }, - /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { - return 111; - }, - /*html$.KeyCode.F1*/get F1() { - return 112; - }, - /*html$.KeyCode.F2*/get F2() { - return 113; - }, - /*html$.KeyCode.F3*/get F3() { - return 114; - }, - /*html$.KeyCode.F4*/get F4() { - return 115; - }, - /*html$.KeyCode.F5*/get F5() { - return 116; - }, - /*html$.KeyCode.F6*/get F6() { - return 117; - }, - /*html$.KeyCode.F7*/get F7() { - return 118; - }, - /*html$.KeyCode.F8*/get F8() { - return 119; - }, - /*html$.KeyCode.F9*/get F9() { - return 120; - }, - /*html$.KeyCode.F10*/get F10() { - return 121; - }, - /*html$.KeyCode.F11*/get F11() { - return 122; - }, - /*html$.KeyCode.F12*/get F12() { - return 123; - }, - /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { - return 144; - }, - /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { - return 145; - }, - /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { - return 166; - }, - /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { - return 183; - }, - /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { - return 186; - }, - /*html$.KeyCode.DASH*/get DASH() { - return 189; - }, - /*html$.KeyCode.EQUALS*/get EQUALS() { - return 187; - }, - /*html$.KeyCode.COMMA*/get COMMA() { - return 188; - }, - /*html$.KeyCode.PERIOD*/get PERIOD() { - return 190; - }, - /*html$.KeyCode.SLASH*/get SLASH() { - return 191; - }, - /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { - return 192; - }, - /*html$.KeyCode.TILDE*/get TILDE() { - return 192; - }, - /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { - return 222; - }, - /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { - return 219; - }, - /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { - return 220; - }, - /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { - return 221; - }, - /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { - return 224; - }, - /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { - return 224; - }, - /*html$.KeyCode.WIN_IME*/get WIN_IME() { - return 229; - }, - /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { - return -1; - } -}, false); -html$.KeyLocation = class KeyLocation extends core.Object {}; -(html$.KeyLocation.new = function() { - ; -}).prototype = html$.KeyLocation.prototype; -dart.addTypeTests(html$.KeyLocation); -dart.addTypeCaches(html$.KeyLocation); -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; - }, - /*html$.KeyLocation.LEFT*/get LEFT() { - return 1; - }, - /*html$.KeyLocation.RIGHT*/get RIGHT() { - return 2; - }, - /*html$.KeyLocation.NUMPAD*/get NUMPAD() { - return 3; - }, - /*html$.KeyLocation.MOBILE*/get MOBILE() { - return 4; - }, - /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { - return 5; - } -}, false); -html$._KeyName = class _KeyName extends core.Object {}; -(html$._KeyName.new = function() { - ; -}).prototype = html$._KeyName.prototype; -dart.addTypeTests(html$._KeyName); -dart.addTypeCaches(html$._KeyName); -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"; - }, - /*html$._KeyName.ADD*/get ADD() { - return "Add"; - }, - /*html$._KeyName.AGAIN*/get AGAIN() { - return "Again"; - }, - /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { - return "AllCandidates"; - }, - /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { - return "Alphanumeric"; - }, - /*html$._KeyName.ALT*/get ALT() { - return "Alt"; - }, - /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { - return "AltGraph"; - }, - /*html$._KeyName.APPS*/get APPS() { - return "Apps"; - }, - /*html$._KeyName.ATTN*/get ATTN() { - return "Attn"; - }, - /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { - return "BrowserBack"; - }, - /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { - return "BrowserFavorites"; - }, - /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { - return "BrowserForward"; - }, - /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { - return "BrowserHome"; - }, - /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { - return "BrowserRefresh"; - }, - /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { - return "BrowserSearch"; - }, - /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { - return "BrowserStop"; - }, - /*html$._KeyName.CAMERA*/get CAMERA() { - return "Camera"; - }, - /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { - return "CapsLock"; - }, - /*html$._KeyName.CLEAR*/get CLEAR() { - return "Clear"; - }, - /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { - return "CodeInput"; - }, - /*html$._KeyName.COMPOSE*/get COMPOSE() { - return "Compose"; - }, - /*html$._KeyName.CONTROL*/get CONTROL() { - return "Control"; - }, - /*html$._KeyName.CRSEL*/get CRSEL() { - return "Crsel"; - }, - /*html$._KeyName.CONVERT*/get CONVERT() { - return "Convert"; - }, - /*html$._KeyName.COPY*/get COPY() { - return "Copy"; - }, - /*html$._KeyName.CUT*/get CUT() { - return "Cut"; - }, - /*html$._KeyName.DECIMAL*/get DECIMAL() { - return "Decimal"; - }, - /*html$._KeyName.DIVIDE*/get DIVIDE() { - return "Divide"; - }, - /*html$._KeyName.DOWN*/get DOWN() { - return "Down"; - }, - /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { - return "DownLeft"; - }, - /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { - return "DownRight"; - }, - /*html$._KeyName.EJECT*/get EJECT() { - return "Eject"; - }, - /*html$._KeyName.END*/get END() { - return "End"; - }, - /*html$._KeyName.ENTER*/get ENTER() { - return "Enter"; - }, - /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { - return "EraseEof"; - }, - /*html$._KeyName.EXECUTE*/get EXECUTE() { - return "Execute"; - }, - /*html$._KeyName.EXSEL*/get EXSEL() { - return "Exsel"; - }, - /*html$._KeyName.FN*/get FN() { - return "Fn"; - }, - /*html$._KeyName.F1*/get F1() { - return "F1"; - }, - /*html$._KeyName.F2*/get F2() { - return "F2"; - }, - /*html$._KeyName.F3*/get F3() { - return "F3"; - }, - /*html$._KeyName.F4*/get F4() { - return "F4"; - }, - /*html$._KeyName.F5*/get F5() { - return "F5"; - }, - /*html$._KeyName.F6*/get F6() { - return "F6"; - }, - /*html$._KeyName.F7*/get F7() { - return "F7"; - }, - /*html$._KeyName.F8*/get F8() { - return "F8"; - }, - /*html$._KeyName.F9*/get F9() { - return "F9"; - }, - /*html$._KeyName.F10*/get F10() { - return "F10"; - }, - /*html$._KeyName.F11*/get F11() { - return "F11"; - }, - /*html$._KeyName.F12*/get F12() { - return "F12"; - }, - /*html$._KeyName.F13*/get F13() { - return "F13"; - }, - /*html$._KeyName.F14*/get F14() { - return "F14"; - }, - /*html$._KeyName.F15*/get F15() { - return "F15"; - }, - /*html$._KeyName.F16*/get F16() { - return "F16"; - }, - /*html$._KeyName.F17*/get F17() { - return "F17"; - }, - /*html$._KeyName.F18*/get F18() { - return "F18"; - }, - /*html$._KeyName.F19*/get F19() { - return "F19"; - }, - /*html$._KeyName.F20*/get F20() { - return "F20"; - }, - /*html$._KeyName.F21*/get F21() { - return "F21"; - }, - /*html$._KeyName.F22*/get F22() { - return "F22"; - }, - /*html$._KeyName.F23*/get F23() { - return "F23"; - }, - /*html$._KeyName.F24*/get F24() { - return "F24"; - }, - /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { - return "FinalMode"; - }, - /*html$._KeyName.FIND*/get FIND() { - return "Find"; - }, - /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { - return "FullWidth"; - }, - /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { - return "HalfWidth"; - }, - /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { - return "HangulMode"; - }, - /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { - return "HanjaMode"; - }, - /*html$._KeyName.HELP*/get HELP() { - return "Help"; - }, - /*html$._KeyName.HIRAGANA*/get HIRAGANA() { - return "Hiragana"; - }, - /*html$._KeyName.HOME*/get HOME() { - return "Home"; - }, - /*html$._KeyName.INSERT*/get INSERT() { - return "Insert"; - }, - /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { - return "JapaneseHiragana"; - }, - /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { - return "JapaneseKatakana"; - }, - /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { - return "JapaneseRomaji"; - }, - /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { - return "JunjaMode"; - }, - /*html$._KeyName.KANA_MODE*/get KANA_MODE() { - return "KanaMode"; - }, - /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { - return "KanjiMode"; - }, - /*html$._KeyName.KATAKANA*/get KATAKANA() { - return "Katakana"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { - return "LaunchApplication1"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { - return "LaunchApplication2"; - }, - /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { - return "LaunchMail"; - }, - /*html$._KeyName.LEFT*/get LEFT() { - return "Left"; - }, - /*html$._KeyName.MENU*/get MENU() { - return "Menu"; - }, - /*html$._KeyName.META*/get META() { - return "Meta"; - }, - /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { - return "MediaNextTrack"; - }, - /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { - return "MediaPlayPause"; - }, - /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { - return "MediaPreviousTrack"; - }, - /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { - return "MediaStop"; - }, - /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { - return "ModeChange"; - }, - /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { - return "NextCandidate"; - }, - /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { - return "Nonconvert"; - }, - /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { - return "NumLock"; - }, - /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { - return "PageDown"; - }, - /*html$._KeyName.PAGE_UP*/get PAGE_UP() { - return "PageUp"; - }, - /*html$._KeyName.PASTE*/get PASTE() { - return "Paste"; - }, - /*html$._KeyName.PAUSE*/get PAUSE() { - return "Pause"; - }, - /*html$._KeyName.PLAY*/get PLAY() { - return "Play"; - }, - /*html$._KeyName.POWER*/get POWER() { - return "Power"; - }, - /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { - return "PreviousCandidate"; - }, - /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { - return "PrintScreen"; - }, - /*html$._KeyName.PROCESS*/get PROCESS() { - return "Process"; - }, - /*html$._KeyName.PROPS*/get PROPS() { - return "Props"; - }, - /*html$._KeyName.RIGHT*/get RIGHT() { - return "Right"; - }, - /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { - return "RomanCharacters"; - }, - /*html$._KeyName.SCROLL*/get SCROLL() { - return "Scroll"; - }, - /*html$._KeyName.SELECT*/get SELECT() { - return "Select"; - }, - /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { - return "SelectMedia"; - }, - /*html$._KeyName.SEPARATOR*/get SEPARATOR() { - return "Separator"; - }, - /*html$._KeyName.SHIFT*/get SHIFT() { - return "Shift"; - }, - /*html$._KeyName.SOFT_1*/get SOFT_1() { - return "Soft1"; - }, - /*html$._KeyName.SOFT_2*/get SOFT_2() { - return "Soft2"; - }, - /*html$._KeyName.SOFT_3*/get SOFT_3() { - return "Soft3"; - }, - /*html$._KeyName.SOFT_4*/get SOFT_4() { - return "Soft4"; - }, - /*html$._KeyName.STOP*/get STOP() { - return "Stop"; - }, - /*html$._KeyName.SUBTRACT*/get SUBTRACT() { - return "Subtract"; - }, - /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { - return "SymbolLock"; - }, - /*html$._KeyName.UP*/get UP() { - return "Up"; - }, - /*html$._KeyName.UP_LEFT*/get UP_LEFT() { - return "UpLeft"; - }, - /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { - return "UpRight"; - }, - /*html$._KeyName.UNDO*/get UNDO() { - return "Undo"; - }, - /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { - return "VolumeDown"; - }, - /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { - return "VolumeMute"; - }, - /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { - return "VolumeUp"; - }, - /*html$._KeyName.WIN*/get WIN() { - return "Win"; - }, - /*html$._KeyName.ZOOM*/get ZOOM() { - return "Zoom"; - }, - /*html$._KeyName.BACKSPACE*/get BACKSPACE() { - return "Backspace"; - }, - /*html$._KeyName.TAB*/get TAB() { - return "Tab"; - }, - /*html$._KeyName.CANCEL*/get CANCEL() { - return "Cancel"; - }, - /*html$._KeyName.ESC*/get ESC() { - return "Esc"; - }, - /*html$._KeyName.SPACEBAR*/get SPACEBAR() { - return "Spacebar"; - }, - /*html$._KeyName.DEL*/get DEL() { - return "Del"; - }, - /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { - return "DeadGrave"; - }, - /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { - return "DeadEacute"; - }, - /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { - return "DeadCircumflex"; - }, - /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { - return "DeadTilde"; - }, - /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { - return "DeadMacron"; - }, - /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { - return "DeadBreve"; - }, - /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { - return "DeadAboveDot"; - }, - /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { - return "DeadUmlaut"; - }, - /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { - return "DeadAboveRing"; - }, - /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { - return "DeadDoubleacute"; - }, - /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { - return "DeadCaron"; - }, - /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { - return "DeadCedilla"; - }, - /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { - return "DeadOgonek"; - }, - /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { - return "DeadIota"; - }, - /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { - return "DeadVoicedSound"; - }, - /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { - return "DeadSemivoicedSound"; - }, - /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { - return "Unidentified"; - } -}, false); -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[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[149], 39044, 29, "element"); - return element.keyCode === 20; - }, T$0.KeyEventTobool())); - } - [S$3._determineKeyCodeForKeypress](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; - } - if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { - return prevEvent.keyCode; - } - } - return -1; - } - [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); - if (event.location === 3) { - switch (event.keyCode) { - case 96: - { - return 48; - } - case 97: - { - return 49; - } - case 98: - { - return 50; - } - case 99: - { - return 51; - } - case 100: - { - return 52; - } - case 101: - { - return 53; - } - case 102: - { - return 54; - } - case 103: - { - return 55; - } - case 104: - { - return 56; - } - case 105: - { - return 57; - } - case 106: - { - return 42; - } - case 107: - { - return 43; - } - case 109: - { - return 45; - } - case 110: - { - return 46; - } - case 111: - { - 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; - } - case 187: - { - return 61; - } - case 188: - { - return 44; - } - case 189: - { - return 45; - } - case 190: - { - return 46; - } - case 191: - { - return 47; - } - case 192: - { - return 96; - } - case 219: - { - return 91; - } - case 220: - { - return 92; - } - case 221: - { - return 93; - } - case 222: - { - return 39; - } - } - return event.keyCode; - } - [S$3._firesKeyPressEvent](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; - } - if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { - return html$.KeyCode.isCharacterKey(event.keyCode); - } - if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { - return false; - } - if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { - return false; - } - if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { - return false; - } - switch (event.keyCode) { - case 13: - { - return !dart.test(html_common.Device.isIE); - } - case 27: - { - return !dart.test(html_common.Device.isWebKit); - } - } - return html$.KeyCode.isCharacterKey(event.keyCode); - } - [S$3._normalizeKeyCodes](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; - } - case 59: - { - return 186; - } - case 224: - { - return 91; - } - case 0: - { - return 224; - } - } - } - return event.keyCode; - } - processKeyDown(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](); - } - let event = new html$.KeyEvent.wrap(e); - event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); - event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); - if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { - this.processKeyPress(e); - } - this[S$3._keyDownList][$add](event); - this[S$3._stream$3].add(event); - } - processKeyPress(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) { - e[S$3._shadowCharCode] = 0; - } else { - e[S$3._shadowCharCode] = e.keyCode; - } - } else if (dart.test(html_common.Device.isOpera)) { - e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; - } - e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); - if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { - 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[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[149], 39288, 35, "event"); - let e = new html$.KeyEvent.wrap(event); - let toRemove = null; - for (let key of this[S$3._keyDownList]) { - if (key.keyCode == e.keyCode) { - toRemove = key; - } - } - if (toRemove != null) { - this[S$3._keyDownList][$removeWhere](dart.fn(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) { - this[S$3._keyDownList][$removeLast](); - } - this[S$3._stream$3].add(e); - } -}; -(html$._KeyboardEventHandler.new = function(_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"); - this[S$3._target$2] = null; - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - ; -}).prototype = html$._KeyboardEventHandler.prototype; -(html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - 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; - this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); - html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); - html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); -}).prototype = html$._KeyboardEventHandler.prototype; -dart.addTypeTests(html$._KeyboardEventHandler); -dart.addTypeCaches(html$._KeyboardEventHandler); -dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), - forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), - [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), - processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) -})); -dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), - [S$3._capsLockOn]: core.bool -})); -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)), - [S$3._type$5]: dart.finalFieldType(core.String), - [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)); - }, - /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { - return "KeyEvent"; - }, - /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[414] || CT.C414; - } -}, false); -html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { - static onKeyPress(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[149], 39329, 53, "target"); - return new html$._KeyboardEventHandler.new("keyup").forTarget(target); - } - static onKeyDown(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.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(); - } - this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); - } - allowImages(uriPolicy = null) { - if (uriPolicy == null) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); - } - allowTextElements() { - this.add(html$._SimpleNodeValidator.allowTextElements()); - } - allowInlineStyles(opts) { - let tagName = opts && 'tagName' in opts ? opts.tagName : null; - if (tagName == null) { - tagName = "*"; - } else { - tagName = tagName[$toUpperCase](); - } - this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); - } - allowHtml5(opts) { - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); - } - allowSvg() { - this.add(new html$._SvgNodeValidator.new()); - } - allowCustomElement(tagName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); - } - allowTagExtension(tagName, baseName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - 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[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; - this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); - } - allowTemplating() { - this.add(new html$._TemplatingNodeValidator.new()); - } - add(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[149], 39558, 30, "element"); - return this[S$3._validators][$any](dart.fn(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[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[149], 39564, 15, "v"); - return v.allowsAttribute(element, attributeName, value); - }, T$0.NodeValidatorTobool())); - } -}; -(html$.NodeValidatorBuilder.new = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); -}).prototype = html$.NodeValidatorBuilder.prototype; -(html$.NodeValidatorBuilder.common = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); - this.allowHtml5(); - this.allowTemplating(); -}).prototype = html$.NodeValidatorBuilder.prototype; -dart.addTypeTests(html$.NodeValidatorBuilder); -dart.addTypeCaches(html$.NodeValidatorBuilder); -html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ - __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), - allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowTextElements: dart.fnType(dart.void, []), - allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), - allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowSvg: dart.fnType(dart.void, []), - allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTemplating: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [html$.NodeValidator]), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[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[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[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[149], 39662, 30, "element"); - return this.allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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); - } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { - return dart.nullCheck(this.uriPolicy).allowsUri(value); - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::*"))) { - return true; - } - return false; - } -}; -(html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - 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; - this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); - this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.uriPolicy = uriPolicy; - 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[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[149], 39656, 17, "x"); - return html$._Html5NodeValidator._uriAttributes[$contains](x); - }, T$.StringTobool())); - this.allowedAttributes.addAll(legalAttributes); - this.allowedUriAttributes.addAll(allowedUriAttributes); - this.allowedUriAttributes.addAll(extraUriAttributes); -}).prototype = html$._SimpleNodeValidator.prototype; -dart.addTypeTests(html$._SimpleNodeValidator); -dart.addTypeCaches(html$._SimpleNodeValidator); -html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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)), - allowedAttributes: dart.finalFieldType(core.Set$(core.String)), - allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), - 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[149], 39703, 30, "element"); - if (dart.test(this.allowTypeExtension)) { - let isAttr = element[S.$attributes][$_get]("is"); - if (isAttr != null) { - return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - } - return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - allowsAttribute(element, attributeName, 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; - } - return super.allowsAttribute(element, attributeName, value); - } - return false; - } -}; -(html$._CustomElementNodeValidator.new = function(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"); - this.allowTypeExtension = allowTypeExtension === true; - this.allowCustomTag = allowCustomTag === true; - html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); - ; -}).prototype = html$._CustomElementNodeValidator.prototype; -dart.addTypeTests(html$._CustomElementNodeValidator); -dart.addTypeCaches(html$._CustomElementNodeValidator); -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[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; - } - if (attributeName === "template" && value === "") { - return true; - } - if (element[S.$attributes][$_get]("template") === "") { - return this[S$3._templateAttrs].contains(attributeName); - } - return false; - } -}; -(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[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[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[423] || CT.C423; - } -}, false); -html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { - allowsElement(element) { - if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); - if (svg$.ScriptElement.is(element)) { - return false; - } - if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { - return false; - } - if (svg$.SvgElement.is(element)) { - return true; - } - return false; - } - allowsAttribute(element, attributeName, 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() { - ; -}).prototype = html$._SvgNodeValidator.prototype; -dart.addTypeTests(html$._SvgNodeValidator); -dart.addTypeCaches(html$._SvgNodeValidator); -html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._SvgNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[150]); -dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); -dart.defineLazy(html$.ReadyState, { - /*html$.ReadyState.LOADING*/get LOADING() { - return "loading"; - }, - /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { - return "interactive"; - }, - /*html$.ReadyState.COMPLETE*/get COMPLETE() { - return "complete"; - } -}, false); -const _is__WrappedList_default = Symbol('_is__WrappedList_default'); -html$._WrappedList$ = dart.generic(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 (__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[149], 39834, 14, "element"); - this[S$3._list$19][$add](element); - } - remove(element) { - return this[S$3._list$19][$remove](element); - } - clear() { - this[S$3._list$19][$clear](); - } - _get(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[149], 39848, 25, "index"); - E.as(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[149], 39852, 18, "newLength"); - this[S$3._list$19][$length] = newLength; - } - sort(compare = null) { - if (compare == null) { - this[S$3._list$19][$sort](); - } else { - this[S$3._list$19][$sort](dart.fn((a, 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[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[149], 39870, 19, "index"); - E.as(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[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[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[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[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[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() { - return this[S$3._list$19]; - } - } - (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); - this[S$3._list$19] = _list; - ; - }).prototype = _WrappedList.prototype; - dart.addTypeTests(_WrappedList); - _WrappedList.prototype[_is__WrappedList_default] = true; - dart.addTypeCaches(_WrappedList); - _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(_WrappedList, () => ({ - __proto__: dart.getMethods(_WrappedList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_WrappedList, () => ({ - __proto__: dart.getGetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(_WrappedList, () => ({ - __proto__: dart.getSetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_WrappedList, I[150]); - dart.setFieldSignature(_WrappedList, () => ({ - __proto__: dart.getFields(_WrappedList.__proto__), - [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_WrappedList, [ - 'add', - 'remove', - 'clear', - '_get', - '_set', - 'sort', - 'indexOf', - 'lastIndexOf', - 'insert', - 'removeAt', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); - return _WrappedList; -}); -html$._WrappedList = html$._WrappedList$(); -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$2].moveNext(); - } - get current() { - return E.as(this[S$3._iterator$2].current); - } - } - (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); - this[S$3._iterator$2] = _iterator; - ; - }).prototype = _WrappedIterator.prototype; - dart.addTypeTests(_WrappedIterator); - _WrappedIterator.prototype[_is__WrappedIterator_default] = true; - dart.addTypeCaches(_WrappedIterator); - _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_WrappedIterator, () => ({ - __proto__: dart.getMethods(_WrappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_WrappedIterator, () => ({ - __proto__: dart.getGetters(_WrappedIterator.__proto__), - current: E - })); - dart.setLibraryUri(_WrappedIterator, I[150]); - dart.setFieldSignature(_WrappedIterator, () => ({ - __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) - })); - return _WrappedIterator; -}); -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[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[149], 39920, 40, "e"); - if (request.readyState === 4) { - onComplete(request); - } - }, T$0.EventTovoid())); - 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.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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (FixedSizeListIterator.new = function(array) { - 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]; - ; - }).prototype = FixedSizeListIterator.prototype; - dart.addTypeTests(FixedSizeListIterator); - FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; - dart.addTypeCaches(FixedSizeListIterator); - FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getMethods(FixedSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getGetters(FixedSizeListIterator.__proto__), - current: T - })); - 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$5]: dart.fieldType(dart.nullable(T)) - })); - return FixedSizeListIterator; -}); -html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); -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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (_VariableSizeListIterator.new = function(array) { - 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; - ; - }).prototype = _VariableSizeListIterator.prototype; - dart.addTypeTests(_VariableSizeListIterator); - _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; - dart.addTypeCaches(_VariableSizeListIterator); - _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), - current: T - })); - 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$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"; - } - get memory() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; - } - assertCondition(condition = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; - } - clear(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; - } - count(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; - } - countReset(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; - } - debug(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; - } - dir(item = null, options = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; - } - dirxml(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; - } - error(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; - } - group(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; - } - groupCollapsed(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; - } - groupEnd() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; - } - info(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; - } - log(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; - } - table(tabularData = null, properties = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; - } - time(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; - } - timeEnd(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; - } - timeLog(label = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; - } - trace(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; - } - warn(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; - } - profile(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; - } - profileEnd(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; - } - timeStamp(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; - } - markTimeline(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; - } -}; -(html$.Console._safe = function() { - ; -}).prototype = html$.Console.prototype; -dart.addTypeTests(html$.Console); -dart.addTypeCaches(html$.Console); -dart.setMethodSignature(html$.Console, () => ({ - __proto__: dart.getMethods(html$.Console.__proto__), - assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), - dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), - dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), - error: dart.fnType(dart.void, [dart.nullable(core.Object)]), - group: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupEnd: dart.fnType(dart.void, []), - info: dart.fnType(dart.void, [dart.nullable(core.Object)]), - log: dart.fnType(dart.void, [dart.nullable(core.Object)]), - table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), - time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), - trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), - warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), - profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(html$.Console, () => ({ - __proto__: dart.getGetters(html$.Console.__proto__), - [S$3._isConsoleDefined]: core.bool, - memory: dart.nullable(html$.MemoryInfo) -})); -dart.setLibraryUri(html$.Console, I[150]); -dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); -dart.defineLazy(html$.Console, { - /*html$.Console._safeConsole*/get _safeConsole() { - 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[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]))); - } - } - _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); - this[S$3._constructor](element); - return element; - } -}; -(html$._JSElementUpgrader.new = function(document, type, extendsTag) { - 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; - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (this[S$3._constructor] == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTag == null) { - if (!dart.equals(baseClassName, "HTMLElement")) { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); - } else { - let element = document[S.$createElement](extendsTag); - html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); - this[S$3._nativeType] = dart.runtimeType(element); - } - this[S$3._interceptor] = interceptorClass.prototype; -}).prototype = html$._JSElementUpgrader.prototype; -dart.addTypeTests(html$._JSElementUpgrader); -dart.addTypeCaches(html$._JSElementUpgrader); -html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; -dart.setMethodSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), - upgrade: dart.fnType(html$.Element, [html$.Element]) -})); -dart.setLibraryUri(html$._JSElementUpgrader, I[150]); -dart.setFieldSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), - [S$3._interceptor]: dart.fieldType(dart.dynamic), - [S$3._constructor]: dart.fieldType(dart.dynamic), - [S$3._nativeType]: dart.fieldType(dart.dynamic) -})); -html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { - get history() { - return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); - } - get location() { - return html$._LocationCrossFrame._createSafe(this[S$3._window].location); - } - get closed() { - return this[S$3._window].closed; - } - get opener() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); - } - get parent() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); - } - get top() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); - } - close() { - return this[S$3._window].close(); - } - postMessage(message, targetOrigin, messagePorts = null) { - 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); - } else { - _js_helper.registerGlobalObject(w); - return new html$._DOMWindowCrossFrame.new(w); - } - } - get on() { - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } - [S._addEventListener](type, listener, useCapture = null) { - 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[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[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[149], 40431, 35, "type"); - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } -}; -(html$._DOMWindowCrossFrame.new = function(_window) { - this[S$3._window] = _window; - ; -}).prototype = html$._DOMWindowCrossFrame.prototype; -dart.addTypeTests(html$._DOMWindowCrossFrame); -dart.addTypeCaches(html$._DOMWindowCrossFrame); -html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; -dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), - close: dart.fnType(dart.void, []), - [S.$close]: dart.fnType(dart.void, []), - postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - dispatchEvent: dart.fnType(core.bool, [html$.Event]), - [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), - [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - 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, - [S$3.$history]: html$.HistoryBase, - location: html$.LocationBase, - [S$0.$location]: html$.LocationBase, - closed: core.bool, - [S$1.$closed]: core.bool, - opener: html$.WindowBase, - [S$3.$opener]: html$.WindowBase, - parent: html$.WindowBase, - [S.$parent]: html$.WindowBase, - top: html$.WindowBase, - [$top]: html$.WindowBase, - on: html$.Events, - [S.$on]: html$.Events -})); -dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); -dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), - [S$3._window]: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ - 'close', - 'postMessage', - 'addEventListener', - 'dispatchEvent', - 'removeEventListener' -]); -dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ - 'history', - 'location', - 'closed', - 'opener', - 'parent', - 'top', - 'on' -]); -html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { - set href(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); - } else { - return new html$._LocationCrossFrame.new(location); - } - } -}; -(html$._LocationCrossFrame.new = function(_location) { - this[S$3._location] = _location; - ; -}).prototype = html$._LocationCrossFrame.prototype; -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[150]); -dart.setFieldSignature(html$._LocationCrossFrame, () => ({ - __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), - [S$3._location]: dart.fieldType(dart.dynamic) -})); -dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); -html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { - back() { - return this[S$3._history].back(); - } - forward() { - return this[S$3._history].forward(); - } - go(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); - } else { - return new html$._HistoryCrossFrame.new(h); - } - } -}; -(html$._HistoryCrossFrame.new = function(_history) { - this[S$3._history] = _history; - ; -}).prototype = html$._HistoryCrossFrame.prototype; -dart.addTypeTests(html$._HistoryCrossFrame); -dart.addTypeCaches(html$._HistoryCrossFrame); -html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; -dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ - __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), - back: dart.fnType(dart.void, []), - [S$1.$back]: dart.fnType(dart.void, []), - forward: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - go: dart.fnType(dart.void, [core.int]), - [S$1.$go]: dart.fnType(dart.void, [core.int]) -})); -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 { - 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[150]); -dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); -dart.defineLazy(html$.Platform, { - /*html$.Platform.supportsTypedData*/get supportsTypedData() { - return !!window.ArrayBuffer; - }, - /*html$.Platform.supportsSimd*/get supportsSimd() { - return false; - } -}, false); -html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; -(html$.ElementUpgrader.new = function() { - ; -}).prototype = html$.ElementUpgrader.prototype; -dart.addTypeTests(html$.ElementUpgrader); -dart.addTypeCaches(html$.ElementUpgrader); -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[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.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[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.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[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[149], 40983, 21, "node"); - } -}; -(html$._TrustedHtmlTreeSanitizer.new = function() { - ; -}).prototype = html$._TrustedHtmlTreeSanitizer.prototype; -dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); -dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); -html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; -dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]) -})); -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.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[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(); - this[S$3._loc] = html$.window[S$0.$location]; - ; -}).prototype = html$._SameOriginUriPolicy.prototype; -dart.addTypeTests(html$._SameOriginUriPolicy); -dart.addTypeCaches(html$._SameOriginUriPolicy); -html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; -dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ - __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), - allowsUri: dart.fnType(core.bool, [core.String]) -})); -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[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[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) + "\"]")); - } - return true; - } -}; -(html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); - this.validator = validator; -}).prototype = html$._ThrowsNodeValidator.prototype; -dart.addTypeTests(html$._ThrowsNodeValidator); -dart.addTypeCaches(html$._ThrowsNodeValidator); -html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ - __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[149], 41063, 26, "node"); - const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); - this.sanitizeNode(node, parent); - let child = node.lastChild; - while (child != null) { - let nextChild = null; - try { - nextChild = child[S$.$previousNode]; - if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { - dart.throw(new core.StateError.new("Corrupt HTML")); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[S$3._removeNode](child, node); - child = null; - nextChild = node.lastChild; - } else - throw e$; - } - if (child != null) walk(child, node); - child = nextChild; - } - }; - dart.fn(walk, T$0.NodeAndNodeNTovoid()); - let previousTreeModifications = null; - do { - previousTreeModifications = this.numTreeModifications; - walk(node, null); - } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); - } - [S$3._removeNode](node, parent) { - 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](); - } else { - parent[S$._removeChild](node); - } - } - [S$3._sanitizeUntrustedElement](element, parent) { - let corrupted = true; - let attrs = null; - let isAttr = null; - try { - attrs = dart.dload(element, 'attributes'); - isAttr = dart.dsend(attrs, '_get', ["is"]); - let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); - corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - let elementText = "element unprintable"; - try { - elementText = dart.toString(element); - } catch (e$0) { - let e = dart.getThrown(e$0); - if (core.Object.is(e)) { - } else - throw e$0; - } - try { - 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); - if (core.ArgumentError.is(ex)) { - dart.rethrow(e$1); - } else if (core.Object.is(ex)) { - let e = ex; - this[S$3._removeNode](html$.Node.as(element), parent); - html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); - } else - throw e$1; - } - } - [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - 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) + ">"); - return; - } - if (!dart.test(this.validator.allowsElement(element))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); - return; - } - if (isAttr != null) { - if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); - return; - } - } - let keys = attrs[$keys][$toList](); - for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { - let name = keys[$_get](i); - if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { - html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); - attrs[$remove](name); - } - } - if (html$.TemplateElement.is(element)) { - let template = element; - this.sanitizeTree(dart.nullCheck(template.content)); - } - } - sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); - switch (node.nodeType) { - case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } - case 8: - case 11: - case 3: - case 4: - { - break; - } - default: - { - this[S$3._removeNode](node, parent); - } - } - } -}; -(html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); - this.numTreeModifications = 0; - this.validator = validator; -}).prototype = html$._ValidatingTreeSanitizer.prototype; -dart.addTypeTests(html$._ValidatingTreeSanitizer); -dart.addTypeCaches(html$._ValidatingTreeSanitizer); -html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; -dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]), - [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), - [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), - [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[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[426] || CT.C426); -}; -html$._matchesWithAncestors = function _matchesWithAncestors(event, 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; -}; -html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { - if (win == null) return null; - return html$._DOMWindowCrossFrame._createSafe(win); -}; -html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { - if (e == null) { - return null; - } - if ("postMessage" in e) { - let window = html$._DOMWindowCrossFrame._createSafe(e); - if (html$.EventTarget.is(window)) { - return window; - } - return null; - } else - return T$0.EventTargetN().as(e); -}; -html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { - if (html$._DOMWindowCrossFrame.is(e)) { - return T$0.EventTargetN().as(e[S$3._window]); - } else { - return T$0.EventTargetN().as(e); - } -}; -html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { - if (html$.Document.is(o)) { - return o; - } - return html_common.convertNativeToDart_SerializedScriptValue(o); -}; -html$._callConstructor = function _callConstructor(constructor, interceptor) { - return dart.fn(receiver => { - _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); - receiver.constructor = receiver.__proto__.constructor; - return constructor(receiver); - }, T$.dynamicToObjectN()); -}; -html$._callAttached = function _callAttached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); - return receiver[S.$attached](); -}; -html$._callDetached = function _callDetached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); - return receiver[S.$detached](); -}; -html$._callAttributeChanged = function _callAttributeChanged(receiver, 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) { - return function() { - return invokeCallback(this); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); -}; -html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { - return (function(invokeCallback) { - return function(arg1, arg2, arg3) { - return invokeCallback(this, arg1, arg2, arg3); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); -}; -html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, 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 (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) { - extendsTagName = T$.StringN().as(options[$_get]("extends")); - type = T$0.TypeN().as(options[$_get]("prototype")); - } - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - let interceptor = interceptorClass.prototype; - let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (constructor == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTagName == null) { - if (baseClassName !== "HTMLElement") { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - } else { - let element = document[S.$createElement](extendsTagName); - html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); - } - let baseConstructor = context[baseClassName]; - let properties = {}; - properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; - properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; - properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; - properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; - let baseProto = baseConstructor.prototype; - let proto = Object.create(baseProto, properties); - _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); - let opts = {prototype: proto}; - if (extendsTagName != null) { - opts.extends = extendsTagName; - } - return document.registerElement(tag, opts); -}; -html$._initializeCustomElement = function _initializeCustomElement(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; - if (callback == null) return null; - return async.Zone.current.bindUnaryCallbackGuarded(T, callback); -}; -html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { - if (dart.equals(async.Zone.current, async.Zone.root)) return callback; - if (callback == null) return null; - return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); -}; -html$.querySelector = function querySelector(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[149], 40890, 59, "selectors"); - return html$.document[S.$querySelectorAll](T, selectors); -}; -dart.copyProperties(html$, { - get window() { - return window; - }, - get document() { - return document; - }, - get _workerSelf() { - return self; - } -}); -dart.defineLazy(html$, { - /*html$._HEIGHT*/get _HEIGHT() { - return T$.JSArrayOfString().of(["top", "bottom"]); - }, - /*html$._WIDTH*/get _WIDTH() { - return T$.JSArrayOfString().of(["right", "left"]); - }, - /*html$._CONTENT*/get _CONTENT() { - return "content"; - }, - /*html$._PADDING*/get _PADDING() { - return "padding"; - }, - /*html$._MARGIN*/get _MARGIN() { - return "margin"; - } -}, false); -html_common._StructuredClone = class _StructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (core.identical(this.values[$_get](i), value)) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 73, 17, "i"); - this.copies[$_set](i, x); - } - cleanupSlots() { - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (core.DateTime.is(e)) { - return html_common.convertDartToNative_DateTime(e); - } - if (core.RegExp.is(e)) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (html$.File.is(e)) return e; - if (html$.Blob.is(e)) return e; - if (html$.FileList.is(e)) return e; - if (html$.ImageData.is(e)) return e; - if (dart.test(this.cloneNotRequired(e))) return e; - if (core.Map.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsMap(); - this.writeSlot(slot, copy); - e[$forEach](dart.fn((key, value) => { - this.putIntoMap(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicTovoid())); - return copy; - } - if (core.List.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.copyList(e, slot); - return copy; - } - if (_interceptors.JSObject.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsObject(); - this.writeSlot(slot, copy); - this.forEachObjectKey(e, dart.fn((key, value) => { - this.putIntoObject(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicToNull())); - return copy; - } - dart.throw(new core.UnimplementedError.new("structured clone of other type")); - } - copyList(e, 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); - this.writeSlot(slot, copy); - for (; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(e[$_get](i))); - } - return copy; - } - convertDartToNative_PrepareForStructuredClone(value) { - let copy = this.walk(value); - this.cleanupSlots(); - return copy; - } -}; -(html_common._StructuredClone.new = function() { - this.values = []; - this.copies = []; - ; -}).prototype = html_common._StructuredClone.prototype; -dart.addTypeTests(html_common._StructuredClone); -dart.addTypeCaches(html_common._StructuredClone); -dart.setMethodSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getMethods(html_common._StructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - cleanupSlots: dart.fnType(dart.dynamic, []), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - copyList: dart.fnType(core.List, [core.List, core.int]), - convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setLibraryUri(html_common._StructuredClone, I[152]); -dart.setFieldSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getFields(html_common._StructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List) -})); -html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 212, 17, "i"); - this.copies[$_set](i, x); - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (dart.test(html_common.isJavaScriptDate(e))) { - return html_common.convertNativeToDart_DateTime(e); - } - if (dart.test(html_common.isJavaScriptRegExp(e))) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (dart.test(html_common.isJavaScriptPromise(e))) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); - } - if (dart.test(html_common.isJavaScriptSimpleObject(e))) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let map = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, map); - this.forEachJsField(e, dart.fn((key, value) => { - let t229, t228, t227; - t227 = map; - t228 = key; - t229 = this.walk(value); - t227[$_set](t228, t229); - return t229; - }, T$0.dynamicAnddynamicTodynamic())); - return map; - } - if (dart.test(html_common.isJavaScriptArray(e))) { - let l = e; - let slot = this.findSlot(l); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let length = l[$length]; - copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; - this.writeSlot(slot, copy); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(l[$_get](i))); - } - return copy; - } - return e; - } - convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - this.mustCopy = core.bool.as(mustCopy); - let copy = this.walk(object); - return copy; - } -}; -(html_common._AcceptStructuredClone.new = function() { - this.values = []; - this.copies = []; - this.mustCopy = false; - ; -}).prototype = html_common._AcceptStructuredClone.prototype; -dart.addTypeTests(html_common._AcceptStructuredClone); -dart.addTypeCaches(html_common._AcceptStructuredClone); -dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) -})); -dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); -dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List), - mustCopy: dart.fieldType(core.bool) -})); -html_common.ContextAttributes = class ContextAttributes extends core.Object { - get alpha() { - 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[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; - this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; - this[S$3.premultipliedAlpha] = premultipliedAlpha; - this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; - this[S$3.stencil] = stencil; - ; -}).prototype = html_common.ContextAttributes.prototype; -dart.addTypeTests(html_common.ContextAttributes); -dart.addTypeCaches(html_common.ContextAttributes); -dart.setLibraryUri(html_common.ContextAttributes, I[152]); -dart.setFieldSignature(html_common.ContextAttributes, () => ({ - __proto__: dart.getFields(html_common.ContextAttributes.__proto__), - alpha: dart.fieldType(core.bool), - antialias: dart.fieldType(core.bool), - depth: dart.fieldType(core.bool), - premultipliedAlpha: dart.fieldType(core.bool), - preserveDrawingBuffer: dart.fieldType(core.bool), - stencil: dart.fieldType(core.bool), - failIfMajorPerformanceCaveat: dart.fieldType(core.bool) -})); -html_common._TypedImageData = class _TypedImageData extends core.Object { - get data() { - return this[S$3.data$2]; - } - set data(value) { - super.data = value; - } - get height() { - return this[S$3.height$1]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$3.width$1]; - } - 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[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; - ; -}).prototype = html_common._TypedImageData.prototype; -dart.addTypeTests(html_common._TypedImageData); -dart.addTypeCaches(html_common._TypedImageData); -html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; -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), - height: dart.finalFieldType(core.int), - width: dart.finalFieldType(core.int) -})); -dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); -html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { - newJsObject() { - return {}; - } - forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[154], 103, 33, "action"); - for (let key of Object.keys(object)) { - action(key, object[key]); - } - } - putIntoObject(object, key, value) { - return object[key] = value; - } - newJsMap() { - return {}; - } - putIntoMap(map, key, value) { - return map[key] = value; - } - newJsList(length) { - return new Array(length); - } - cloneNotRequired(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() { - html_common._StructuredCloneDart2Js.__proto__.new.call(this); - ; -}).prototype = html_common._StructuredCloneDart2Js.prototype; -dart.addTypeTests(html_common._StructuredCloneDart2Js); -dart.addTypeCaches(html_common._StructuredCloneDart2Js); -dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), - newJsObject: dart.fnType(_interceptors.JSObject, []), - forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), - putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsMap: dart.fnType(dart.dynamic, []), - putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsList: dart.fnType(core.List, [dart.dynamic]), - cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) -})); -dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); -html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { - newJsList(length) { - return new Array(length); - } - newDartList(length) { - return this.newJsList(length); - } - identicalInJs(a, b) { - return core.identical(a, b); - } - forEachJsField(object, 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); - ; -}).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; -dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); -dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); -dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), - newJsList: dart.fnType(core.List, [dart.dynamic]), - newDartList: dart.fnType(core.List, [dart.dynamic]), - 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[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[155], 52, 43, "eventType"); - try { - let e = html$.Event.eventType(eventType, ""); - return html$.Event.is(e); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - 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.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); - }, - /*html_common.Device.isIE*/get isIE() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); - }, - /*html_common.Device.isFirefox*/get isFirefox() { - return html_common.Device.userAgent[$contains]("Firefox", 0); - }, - /*html_common.Device.isWebKit*/get isWebKit() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); - }, - /*html_common.Device.cssPrefix*/get cssPrefix() { - return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; - }, - /*html_common.Device.propertyPrefix*/get propertyPrefix() { - return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; - } -}, 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[156], 30, 26, "n"); - return html$.Element.is(n); - }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[156], 30, 60, "n"); - return html$.Element.as(n); - }, T$0.NodeToElement())); - } - get [S$3._filtered]() { - return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); - } - forEach(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[156], 40, 25, "index"); - html$.Element.as(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[156], 44, 18, "newLength"); - let len = this.length; - if (dart.notNull(newLength) >= dart.notNull(len)) { - return; - } else if (dart.notNull(newLength) < 0) { - dart.throw(new core.ArgumentError.new("Invalid list length")); - } - this.removeRange(newLength, len); - } - add(value) { - html$.Element.as(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[156], 59, 33, "iterable"); - for (let element of iterable) { - this.add(element); - } - } - contains(needle) { - if (!html$.Element.is(needle)) return false; - let element = needle; - return dart.equals(element.parentNode, this[S$3._node]); - } - get reversed() { - return this[S$3._filtered][$reversed]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[156], 86, 59, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); - } - removeRange(start, end) { - 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](); - } - removeLast() { - let result = this[S$3._iterable$2][$last]; - if (result != null) { - result[$remove](); - } - return result; - } - insert(index, value) { - if (index == null) dart.nullFailed(I[156], 109, 19, "index"); - html$.Element.as(value); - if (value == null) dart.nullFailed(I[156], 109, 34, "value"); - if (index == this.length) { - this.add(value); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode).insertBefore(value, element); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[156], 118, 22, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); - } - } - removeAt(index) { - if (index == null) dart.nullFailed(I[156], 127, 24, "index"); - let result = this._get(index); - result[$remove](); - return result; - } - remove(element) { - if (!html$.Element.is(element)) return false; - if (dart.test(this.contains(element))) { - element[$remove](); - return true; - } else { - return false; - } - } - get length() { - return this[S$3._iterable$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[156], 144, 27, "index"); - return this[S$3._iterable$2][$elementAt](index); - } - get iterator() { - return this[S$3._filtered][$iterator]; - } - get rawList() { - return this[S$3._node].childNodes; - } -}; -(html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[156], 23, 28, "node"); - this[S$3._childNodes] = node[S.$nodes]; - this[S$3._node] = node; - ; -}).prototype = html_common.FilteredElementList.prototype; -dart.addTypeTests(html_common.FilteredElementList); -dart.addTypeCaches(html_common.FilteredElementList); -html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]) -})); -dart.setGetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), - [S$3._iterable$2]: core.Iterable$(html$.Element), - [S$3._filtered]: core.List$(html$.Element), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), - length: core.int, - [$length]: core.int -})); -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), - [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) -})); -dart.defineExtensionMethods(html_common.FilteredElementList, [ - 'forEach', - '_set', - 'add', - 'addAll', - 'contains', - 'sort', - 'setRange', - 'fillRange', - 'replaceRange', - 'removeRange', - 'clear', - 'removeLast', - 'insert', - 'insertAll', - 'removeAt', - 'remove', - '_get' -]); -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[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; - } - if (dart.notNull(startIndex) < 0) { - startIndex = 0; - } - for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static lastIndexOf(a, element, 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; - } - if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { - startIndex = dart.notNull(a[$length]) - 1; - } - for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static getRange(a, start, end, 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)); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - accumulator[$add](a[$_get](i)); - } - 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.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[152]); -html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { - return html_common.convertDartToNative_PrepareForStructuredClone(value); -}; -html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); -}; -html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { - return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); -}; -html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { - 0; - if (html$.ImageData.is(nativeImageData)) { - let data = nativeImageData.data; - if (data.constructor === Array) { - if (typeof CanvasPixelArray !== "undefined") { - data.constructor = CanvasPixelArray; - data.BYTES_PER_ELEMENT = 1; - } - } - return nativeImageData; - } - 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[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](key, html_common._convertNativeToDart_Value(object[key])); - } - return dict; -}; -html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { - if (value == null) return value; - if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; - if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); - if (core.List.is(value)) { - let array = []; - value[$forEach](dart.fn(element => { - array.push(html_common._convertDartToNative_Value(element)); - }, T$.dynamicTovoid())); - value = array; - } - return value; -}; -html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { - if (dict == null) return null; - let object = {}; - if (postCreate != null) { - postCreate(object); - } - dict[$forEach](dart.fn((key, value) => { - object[key] = html_common._convertDartToNative_Value(value); - }, T$.dynamicAnddynamicTovoid())); - return object; -}; -html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[154], 78, 51, "input"); - return input; -}; -html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { - let millisSinceEpoch = date.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); -}; -html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[154], 88, 39, "date"); - return new Date(date.millisecondsSinceEpoch); -}; -html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { - return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); -}; -html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); -}; -html_common.isJavaScriptDate = function isJavaScriptDate(value) { - return value instanceof Date; -}; -html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { - return value instanceof RegExp; -}; -html_common.isJavaScriptArray = function isJavaScriptArray$(value) { - return value instanceof Array; -}; -html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { - let proto = Object.getPrototypeOf(value); - return proto === Object.prototype || proto === null; -}; -html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { - return !!value.immutable$list; -}; -html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { - return typeof Promise != "undefined" && value instanceof Promise; -}; -dart.defineLazy(html_common, { - /*html_common._serializedScriptValue*/get _serializedScriptValue() { - return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; - }, - /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[427] || CT.C427; - }, - /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[428] || CT.C428; - } -}, false); -svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { - static createSvgElement_tag(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.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[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 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 = (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 = dart.nullCheck(html$.document.body); - } else { - parentElement = svg$.SvgSvgElement.new(); - } - 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); - } - set [S.$classes](value) { - super[S.$classes] = value; - } - get [S.$children]() { - return new html_common.FilteredElementList.new(this); - } - set [S.$children](value) { - if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); - let children = this[S.$children]; - children[$clear](); - children[$addAll](value); - } - get [S.$outerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$add](cloned); - return container[S.$innerHtml]; - } - get [S.$innerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$addAll](cloned[S.$children]); - return container[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$createFragment](svg, opts) { - 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 = (t228 = new html$.NodeValidatorBuilder.common(), (() => { - t228.allowSvg(); - return t228; - })()); - } - treeSanitizer = html$.NodeTreeSanitizer.new(validator); - } - let html = "" + dart.str(svg) + ""; - let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); - let svgFragment = html$.DocumentFragment.new(); - let root = fragment[S.$nodes][$single]; - while (root.firstChild != null) { - svgFragment[S.$append](dart.nullCheck(root.firstChild)); - } - return svgFragment; - } - [S.$insertAdjacentText](where, 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[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[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]() { - dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); - } - get [S.$isContentEditable]() { - return false; - } - [S.$click]() { - dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); - } - static isTagSupported(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; - } - get [S$3.$ownerSvgElement]() { - return this.ownerSVGElement; - } - get [S$3.$viewportElement]() { - return this.viewportElement; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } - get [S.$onAbort]() { - return svg$.SvgElement.abortEvent.forElement(this); - } - get [S.$onBlur]() { - return svg$.SvgElement.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return svg$.SvgElement.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return svg$.SvgElement.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return svg$.SvgElement.changeEvent.forElement(this); - } - get [S.$onClick]() { - return svg$.SvgElement.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return svg$.SvgElement.contextMenuEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return svg$.SvgElement.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return svg$.SvgElement.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return svg$.SvgElement.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return svg$.SvgElement.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return svg$.SvgElement.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return svg$.SvgElement.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return svg$.SvgElement.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return svg$.SvgElement.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return svg$.SvgElement.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return svg$.SvgElement.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return svg$.SvgElement.endedEvent.forElement(this); - } - get [S.$onError]() { - return svg$.SvgElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return svg$.SvgElement.focusEvent.forElement(this); - } - get [S.$onInput]() { - return svg$.SvgElement.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return svg$.SvgElement.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return svg$.SvgElement.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return svg$.SvgElement.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return svg$.SvgElement.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return svg$.SvgElement.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return svg$.SvgElement.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return svg$.SvgElement.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return svg$.SvgElement.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return svg$.SvgElement.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return svg$.SvgElement.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return svg$.SvgElement.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return svg$.SvgElement.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return svg$.SvgElement.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return svg$.SvgElement.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return svg$.SvgElement.mouseWheelEvent.forElement(this); - } - get [S$.$onPause]() { - return svg$.SvgElement.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return svg$.SvgElement.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return svg$.SvgElement.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return svg$.SvgElement.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return svg$.SvgElement.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return svg$.SvgElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return svg$.SvgElement.scrollEvent.forElement(this); - } - get [S$.$onSeeked]() { - return svg$.SvgElement.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return svg$.SvgElement.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return svg$.SvgElement.selectEvent.forElement(this); - } - get [S$.$onStalled]() { - return svg$.SvgElement.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return svg$.SvgElement.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return svg$.SvgElement.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return svg$.SvgElement.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return svg$.SvgElement.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return svg$.SvgElement.touchEndEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return svg$.SvgElement.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return svg$.SvgElement.touchStartEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return svg$.SvgElement.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return svg$.SvgElement.waitingEvent.forElement(this); - } - get [S$.$onWheel]() { - return svg$.SvgElement.wheelEvent.forElement(this); - } -}; -(svg$.SvgElement.created = function() { - svg$.SvgElement.__proto__.created.call(this); - ; -}).prototype = svg$.SvgElement.prototype; -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, - [S.$isContentEditable]: core.bool, - [S$3._svgClassName]: svg$.AnimatedString, - [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), - [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), - [S.$nonce]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.SvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[224] || CT.C224; - }, - /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*svg$.SvgElement.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - 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; - } - get [S$3.$nearestViewportElement]() { - return this.nearestViewportElement; - } - get [S$.$transform]() { - return this.transform; - } - [S$3.$getBBox](...args) { - return this.getBBox.apply(this, args); - } - [S$3.$getCtm](...args) { - return this.getCTM.apply(this, args); - } - [S$3.$getScreenCtm](...args) { - return this.getScreenCTM.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.GraphicsElement.created = function() { - svg$.GraphicsElement.__proto__.created.call(this); - ; -}).prototype = svg$.GraphicsElement.prototype; -dart.addTypeTests(svg$.GraphicsElement); -dart.addTypeCaches(svg$.GraphicsElement); -svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; -dart.setMethodSignature(svg$.GraphicsElement, () => ({ - __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), - [S$3.$getBBox]: dart.fnType(svg$.Rect, []), - [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), - [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), - [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -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; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.AElement.created = function() { - svg$.AElement.__proto__.created.call(this); - ; -}).prototype = svg$.AElement.prototype; -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[159]); -dart.registerExtension("SVGAElement", svg$.AElement); -svg$.Angle = class Angle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Angle.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } -}; -dart.addTypeTests(svg$.Angle); -dart.addTypeCaches(svg$.Angle); -dart.setMethodSignature(svg$.Angle, () => ({ - __proto__: dart.getMethods(svg$.Angle.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Angle, () => ({ - __proto__: dart.getSetters(svg$.Angle.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -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; - }, - /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { - return 4; - }, - /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { - return 3; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { - return 0; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { - return 1; - } -}, 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; - } - [S$3.$beginElement](...args) { - return this.beginElement.apply(this, args); - } - [S$3.$beginElementAt](...args) { - return this.beginElementAt.apply(this, args); - } - [S$3.$endElement](...args) { - return this.endElement.apply(this, args); - } - [S$3.$endElementAt](...args) { - return this.endElementAt.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$3.$getSimpleDuration](...args) { - return this.getSimpleDuration.apply(this, args); - } - [S$3.$getStartTime](...args) { - return this.getStartTime.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.AnimationElement.created = function() { - svg$.AnimationElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimationElement.prototype; -dart.addTypeTests(svg$.AnimationElement); -dart.addTypeCaches(svg$.AnimationElement); -svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; -dart.setMethodSignature(svg$.AnimationElement, () => ({ - __proto__: dart.getMethods(svg$.AnimationElement.__proto__), - [S$3.$beginElement]: dart.fnType(dart.void, []), - [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$endElement]: dart.fnType(dart.void, []), - [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [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[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")); - } -}; -(svg$.AnimateElement.created = function() { - svg$.AnimateElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateElement.prototype; -dart.addTypeTests(svg$.AnimateElement); -dart.addTypeCaches(svg$.AnimateElement); -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")); - } -}; -(svg$.AnimateMotionElement.created = function() { - svg$.AnimateMotionElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateMotionElement.prototype; -dart.addTypeTests(svg$.AnimateMotionElement); -dart.addTypeCaches(svg$.AnimateMotionElement); -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")); - } -}; -(svg$.AnimateTransformElement.created = function() { - svg$.AnimateTransformElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateTransformElement.prototype; -dart.addTypeTests(svg$.AnimateTransformElement); -dart.addTypeCaches(svg$.AnimateTransformElement); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedAngle.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); -svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedBoolean.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.bool) -})); -dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ - __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), - [S$3.$baseVal]: dart.nullable(core.bool) -})); -dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); -dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); -svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedEnumeration.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ - __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); -dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); -svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedInteger.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.AnimatedInteger, () => ({ - __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.AnimatedInteger, I[159]); -dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); -svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLength.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); -svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLengthList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); -svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumber.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.AnimatedNumber, () => ({ - __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), - [S$3.$baseVal]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.AnimatedNumber, I[159]); -dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); -svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumberList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); -svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedPreserveAspectRatio.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); -svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedRect.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); -svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedString.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.AnimatedString, () => ({ - __proto__: dart.getSetters(svg$.AnimatedString.__proto__), - [S$3.$baseVal]: dart.nullable(core.String) -})); -dart.setLibraryUri(svg$.AnimatedString, I[159]); -dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); -svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedTransformList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[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; - } - [S$3.$getPointAtLength](...args) { - return this.getPointAtLength.apply(this, args); - } - [S$3.$getTotalLength](...args) { - return this.getTotalLength.apply(this, args); - } - [S$3.$isPointInFill](...args) { - return this.isPointInFill.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } -}; -(svg$.GeometryElement.created = function() { - svg$.GeometryElement.__proto__.created.call(this); - ; -}).prototype = svg$.GeometryElement.prototype; -dart.addTypeTests(svg$.GeometryElement); -dart.addTypeCaches(svg$.GeometryElement); -dart.setMethodSignature(svg$.GeometryElement, () => ({ - __proto__: dart.getMethods(svg$.GeometryElement.__proto__), - [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), - [S$3.$getTotalLength]: dart.fnType(core.double, []), - [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[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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$r]() { - return this.r; - } -}; -(svg$.CircleElement.created = function() { - svg$.CircleElement.__proto__.created.call(this); - ; -}).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[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; - } -}; -(svg$.ClipPathElement.created = function() { - svg$.ClipPathElement.__proto__.created.call(this); - ; -}).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[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); - ; -}).prototype = svg$.DefsElement.prototype; -dart.addTypeTests(svg$.DefsElement); -dart.addTypeCaches(svg$.DefsElement); -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); - ; -}).prototype = svg$.DescElement.prototype; -dart.addTypeTests(svg$.DescElement); -dart.addTypeCaches(svg$.DescElement); -dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.DescElement, I[159]); -dart.registerExtension("SVGDescElement", svg$.DescElement); -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.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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } -}; -(svg$.EllipseElement.created = function() { - svg$.EllipseElement.__proto__.created.call(this); - ; -}).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S.$mode]() { - return this.mode; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEBlendElement.created = function() { - svg$.FEBlendElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEBlendElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { - return 5; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { - return 2; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { - return 1; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { - return 3; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S.$type]() { - return this.type; - } - get [$values]() { - return this.values; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEColorMatrixElement.created = function() { - svg$.FEColorMatrixElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEColorMatrixElement.prototype; -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, - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$values]: dart.nullable(svg$.AnimatedNumberList), - [$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.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; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { - return 4; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { - return 1; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { - return 2; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEComponentTransferElement.created = function() { - svg$.FEComponentTransferElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEComponentTransferElement.prototype; -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), - [$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.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; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$3.$k1]() { - return this.k1; - } - get [S$3.$k2]() { - return this.k2; - } - get [S$3.$k3]() { - return this.k3; - } - get [S$3.$k4]() { - return this.k4; - } - get [S$3.$operator]() { - return this.operator; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FECompositeElement.created = function() { - svg$.FECompositeElement.__proto__.created.call(this); - ; -}).prototype = svg$.FECompositeElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), - [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [$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$.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; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { - return 4; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { - return 2; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { - return 3; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { - return 1; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { - return 0; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { - return 5; - } -}, 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")); - } - get [S$3.$bias]() { - return this.bias; - } - get [S$3.$divisor]() { - return this.divisor; - } - get [S$3.$edgeMode]() { - return this.edgeMode; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelMatrix]() { - return this.kernelMatrix; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$orderX]() { - return this.orderX; - } - get [S$3.$orderY]() { - return this.orderY; - } - get [S$3.$preserveAlpha]() { - return this.preserveAlpha; - } - get [S$3.$targetX]() { - return this.targetX; - } - get [S$3.$targetY]() { - return this.targetY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEConvolveMatrixElement.created = function() { - svg$.FEConvolveMatrixElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEConvolveMatrixElement.prototype; -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), - [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), - [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), - [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), - [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), - [$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.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; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { - return 3; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { - return 0; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { - return 2; - } -}, 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")); - } - get [S$3.$diffuseConstant]() { - return this.diffuseConstant; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEDiffuseLightingElement.created = function() { - svg$.FEDiffuseLightingElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEDiffuseLightingElement.prototype; -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), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$.$scale]() { - return this.scale; - } - get [S$3.$xChannelSelector]() { - return this.xChannelSelector; - } - get [S$3.$yChannelSelector]() { - return this.yChannelSelector; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEDisplacementMapElement.created = function() { - svg$.FEDisplacementMapElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEDisplacementMapElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$.$scale]: dart.nullable(svg$.AnimatedNumber), - [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { - return 3; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { - return 2; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { - return 1; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$azimuth]() { - return this.azimuth; - } - get [S$3.$elevation]() { - return this.elevation; - } -}; -(svg$.FEDistantLightElement.created = function() { - svg$.FEDistantLightElement.__proto__.created.call(this); - ; -}).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.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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEFloodElement.created = function() { - svg$.FEFloodElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFloodElement.prototype; -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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); -dart.setLibraryUri(svg$.FEFloodElement, I[159]); -dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); -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.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")); - } -}; -(svg$.FEFuncAElement.created = function() { - svg$.FEFuncAElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncAElement.prototype; -dart.addTypeTests(svg$.FEFuncAElement); -dart.addTypeCaches(svg$.FEFuncAElement); -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")); - } -}; -(svg$.FEFuncBElement.created = function() { - svg$.FEFuncBElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncBElement.prototype; -dart.addTypeTests(svg$.FEFuncBElement); -dart.addTypeCaches(svg$.FEFuncBElement); -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")); - } -}; -(svg$.FEFuncGElement.created = function() { - svg$.FEFuncGElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncGElement.prototype; -dart.addTypeTests(svg$.FEFuncGElement); -dart.addTypeCaches(svg$.FEFuncGElement); -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")); - } -}; -(svg$.FEFuncRElement.created = function() { - svg$.FEFuncRElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncRElement.prototype; -dart.addTypeTests(svg$.FEFuncRElement); -dart.addTypeCaches(svg$.FEFuncRElement); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$stdDeviationX]() { - return this.stdDeviationX; - } - get [S$3.$stdDeviationY]() { - return this.stdDeviationY; - } - [S$3.$setStdDeviation](...args) { - return this.setStdDeviation.apply(this, args); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEGaussianBlurElement.created = function() { - svg$.FEGaussianBlurElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEGaussianBlurElement.prototype; -dart.addTypeTests(svg$.FEGaussianBlurElement); -dart.addTypeCaches(svg$.FEGaussianBlurElement); -svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -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), - [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stdDeviationY]: 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.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")); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.FEImageElement.created = function() { - svg$.FEImageElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEImageElement.prototype; -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), - [$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), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEMergeElement.created = function() { - svg$.FEMergeElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEMergeElement.prototype; -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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } -}; -(svg$.FEMergeNodeElement.created = function() { - svg$.FEMergeNodeElement.__proto__.created.call(this); - ; -}).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.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$3.$radiusX]() { - return this.radiusX; - } - get [S$3.$radiusY]() { - return this.radiusY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEMorphologyElement.created = function() { - svg$.FEMorphologyElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEMorphologyElement.prototype; -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$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[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; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { - return 1; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$dx]() { - return this.dx; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEOffsetElement.created = function() { - svg$.FEOffsetElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEOffsetElement.prototype; -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), - [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [$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.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")); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -(svg$.FEPointLightElement.created = function() { - svg$.FEPointLightElement.__proto__.created.call(this); - ; -}).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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$specularConstant]() { - return this.specularConstant; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FESpecularLightingElement.created = function() { - svg$.FESpecularLightingElement.__proto__.created.call(this); - ; -}).prototype = svg$.FESpecularLightingElement.prototype; -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), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$limitingConeAngle]() { - return this.limitingConeAngle; - } - get [S$3.$pointsAtX]() { - return this.pointsAtX; - } - get [S$3.$pointsAtY]() { - return this.pointsAtY; - } - get [S$3.$pointsAtZ]() { - return this.pointsAtZ; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -(svg$.FESpotLightElement.created = function() { - svg$.FESpotLightElement.__proto__.created.call(this); - ; -}).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), - [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$.$x]: dart.nullable(svg$.AnimatedNumber), - [S$.$y]: dart.nullable(svg$.AnimatedNumber), - [S$.$z]: dart.nullable(svg$.AnimatedNumber) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FETileElement.created = function() { - svg$.FETileElement.__proto__.created.call(this); - ; -}).prototype = svg$.FETileElement.prototype; -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), - [$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.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")); - } - get [S$3.$baseFrequencyX]() { - return this.baseFrequencyX; - } - get [S$3.$baseFrequencyY]() { - return this.baseFrequencyY; - } - get [S$3.$numOctaves]() { - return this.numOctaves; - } - get [S$3.$seed]() { - return this.seed; - } - get [S$3.$stitchTiles]() { - return this.stitchTiles; - } - get [S.$type]() { - return this.type; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FETurbulenceElement.created = function() { - svg$.FETurbulenceElement.__proto__.created.call(this); - ; -}).prototype = svg$.FETurbulenceElement.prototype; -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), - [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), - [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { - return 0; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { - return 2; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$filterUnits]() { - return this.filterUnits; - } - get [$height]() { - return this.height; - } - get [S$3.$primitiveUnits]() { - return this.primitiveUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.FilterElement.created = function() { - svg$.FilterElement.__proto__.created.call(this); - ; -}).prototype = svg$.FilterElement.prototype; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); -dart.setLibraryUri(svg$.FilterElement, I[159]); -dart.registerExtension("SVGFilterElement", svg$.FilterElement); -svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FilterPrimitiveStandardAttributes.__(); - } - get height() { - return this.height; - } - get result() { - return this.result; - } - get width() { - return this.width; - } - get x() { - return this.x; - } - get y() { - return this.y; - } -}; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - result: dart.nullable(svg$.AnimatedString), - [S.$result]: dart.nullable(svg$.AnimatedString), - width: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - x: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - y: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); -dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ - 'height', - 'result', - 'width', - 'x', - 'y' -]); -svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FitToViewBox.__(); - } - get preserveAspectRatio() { - return this.preserveAspectRatio; - } - get viewBox() { - return this.viewBox; - } -}; -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), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - viewBox: dart.nullable(svg$.AnimatedRect), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) -})); -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")); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.ForeignObjectElement.created = function() { - svg$.ForeignObjectElement.__proto__.created.call(this); - ; -}).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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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); - ; -}).prototype = svg$.GElement.prototype; -dart.addTypeTests(svg$.GElement); -dart.addTypeCaches(svg$.GElement); -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; - } - set [S$1.$async](value) { - this.async = value; - } - get [$height]() { - return this.height; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.ImageElement.created = function() { - svg$.ImageElement.__proto__.created.call(this); - ; -}).prototype = svg$.ImageElement.prototype; -dart.addTypeTests(svg$.ImageElement); -dart.addTypeCaches(svg$.ImageElement); -svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setSetterSignature(svg$.ImageElement, () => ({ - __proto__: dart.getSetters(svg$.ImageElement.__proto__), - [S$1.$async]: dart.nullable(core.String) -})); -dart.setLibraryUri(svg$.ImageElement, I[159]); -dart.registerExtension("SVGImageElement", svg$.ImageElement); -svg$.Length = class Length extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Length.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } -}; -dart.addTypeTests(svg$.Length); -dart.addTypeCaches(svg$.Length); -dart.setMethodSignature(svg$.Length, () => ({ - __proto__: dart.getMethods(svg$.Length.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Length, () => ({ - __proto__: dart.getSetters(svg$.Length.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -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; - }, - /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { - return 3; - }, - /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { - return 4; - }, - /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { - return 8; - }, - /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { - return 7; - }, - /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { - return 1; - }, - /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { - return 10; - }, - /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { - return 2; - }, - /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { - return 9; - }, - /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { - return 5; - }, - /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { - return 0; - } -}, false); -dart.registerExtension("SVGLength", svg$.Length); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2059, 25, "index"); - svg$.Length.as(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[158], 2065, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2093, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.LengthList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.LengthList); -dart.addTypeCaches(svg$.LengthList); -svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; -dart.setMethodSignature(svg$.LengthList, () => ({ - __proto__: dart.getMethods(svg$.LengthList.__proto__), - [$_get]: dart.fnType(svg$.Length, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), - [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.LengthList, () => ({ - __proto__: dart.getSetters(svg$.LengthList.__proto__), - [$length]: core.int -})); -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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } -}; -(svg$.LineElement.created = function() { - svg$.LineElement.__proto__.created.call(this); - ; -}).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - get [S$3.$gradientUnits]() { - return this.gradientUnits; - } - get [S$3.$spreadMethod]() { - return this.spreadMethod; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$._GradientElement.created = function() { - svg$._GradientElement.__proto__.created.call(this); - ; -}).prototype = svg$._GradientElement.prototype; -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), - [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { - return 2; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { - return 3; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } -}; -(svg$.LinearGradientElement.created = function() { - svg$.LinearGradientElement.__proto__.created.call(this); - ; -}).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - get [S$3.$markerUnits]() { - return this.markerUnits; - } - get [S$3.$markerWidth]() { - return this.markerWidth; - } - get [S$3.$orientAngle]() { - return this.orientAngle; - } - get [S$3.$orientType]() { - return this.orientType; - } - get [S$3.$refX]() { - return this.refX; - } - get [S$3.$refY]() { - return this.refY; - } - [S$3.$setOrientToAngle](...args) { - return this.setOrientToAngle.apply(this, args); - } - [S$3.$setOrientToAuto](...args) { - return this.setOrientToAuto.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } -}; -(svg$.MarkerElement.created = function() { - svg$.MarkerElement.__proto__.created.call(this); - ; -}).prototype = svg$.MarkerElement.prototype; -dart.addTypeTests(svg$.MarkerElement); -dart.addTypeCaches(svg$.MarkerElement); -svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; -dart.setMethodSignature(svg$.MarkerElement, () => ({ - __proto__: dart.getMethods(svg$.MarkerElement.__proto__), - [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, - [S$3.$markerUnits]: svg$.AnimatedEnumeration, - [S$3.$markerWidth]: svg$.AnimatedLength, - [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), - [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$refX]: svg$.AnimatedLength, - [S$3.$refY]: svg$.AnimatedLength, - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) -})); -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; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { - return 0; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { - return 2; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$maskContentUnits]() { - return this.maskContentUnits; - } - get [S$3.$maskUnits]() { - return this.maskUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.MaskElement.created = function() { - svg$.MaskElement.__proto__.created.call(this); - ; -}).prototype = svg$.MaskElement.prototype; -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), - [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -dart.setLibraryUri(svg$.MaskElement, I[159]); -dart.registerExtension("SVGMaskElement", svg$.MaskElement); -svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Matrix.__(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$3.$scaleNonUniform](...args) { - return this.scaleNonUniform.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } -}; -dart.addTypeTests(svg$.Matrix); -dart.addTypeCaches(svg$.Matrix); -dart.setMethodSignature(svg$.Matrix, () => ({ - __proto__: dart.getMethods(svg$.Matrix.__proto__), - [S$1.$flipX]: dart.fnType(svg$.Matrix, []), - [S$1.$flipY]: dart.fnType(svg$.Matrix, []), - [S$1.$inverse]: dart.fnType(svg$.Matrix, []), - [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), - [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), - [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), - [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Matrix, () => ({ - __proto__: dart.getSetters(svg$.Matrix.__proto__), - [S$1.$a]: dart.nullable(core.num), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Matrix, I[159]); -dart.registerExtension("SVGMatrix", svg$.Matrix); -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.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); -dart.setLibraryUri(svg$.MetadataElement, I[159]); -dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); -svg$.Number = class Number extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Number.__(); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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) -})); -dart.setSetterSignature(svg$.Number, () => ({ - __proto__: dart.getSetters(svg$.Number.__proto__), - [S.$value]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Number, I[159]); -dart.registerExtension("SVGNumber", svg$.Number); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2384, 25, "index"); - svg$.Number.as(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[158], 2390, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2418, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.NumberList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.NumberList); -dart.addTypeCaches(svg$.NumberList); -svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; -dart.setMethodSignature(svg$.NumberList, () => ({ - __proto__: dart.getMethods(svg$.NumberList.__proto__), - [$_get]: dart.fnType(svg$.Number, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), - [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.NumberList, () => ({ - __proto__: dart.getSetters(svg$.NumberList.__proto__), - [$length]: core.int -})); -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); - ; -}).prototype = svg$.PathElement.prototype; -dart.addTypeTests(svg$.PathElement); -dart.addTypeCaches(svg$.PathElement); -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; - } - get [S$3.$patternContentUnits]() { - return this.patternContentUnits; - } - get [S$3.$patternTransform]() { - return this.patternTransform; - } - get [S$3.$patternUnits]() { - return this.patternUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.PatternElement.created = function() { - svg$.PatternElement.__proto__.created.call(this); - ; -}).prototype = svg$.PatternElement.prototype; -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), - [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setLibraryUri(svg$.PatternElement, I[159]); -dart.registerExtension("SVGPatternElement", svg$.PatternElement); -svg$.Point = class Point extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Point.__(); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - [S$1.$matrixTransform](...args) { - return this.matrixTransform.apply(this, args); - } -}; -dart.addTypeTests(svg$.Point); -dart.addTypeCaches(svg$.Point); -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), - [S$.$y]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Point, () => ({ - __proto__: dart.getSetters(svg$.Point.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Point, I[159]); -dart.registerExtension("SVGPoint", svg$.Point); -svg$.PointList = class PointList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PointList.__(); - } - get [$length]() { - return this.length; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -dart.addTypeTests(svg$.PointList); -dart.addTypeCaches(svg$.PointList); -dart.setMethodSignature(svg$.PointList, () => ({ - __proto__: dart.getMethods(svg$.PointList.__proto__), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), - [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), - [$clear]: dart.fnType(dart.void, []), - [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), - [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[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; - } - get [S$3.$points]() { - return this.points; - } -}; -(svg$.PolygonElement.created = function() { - svg$.PolygonElement.__proto__.created.call(this); - ; -}).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[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; - } - get [S$3.$points]() { - return this.points; - } -}; -(svg$.PolylineElement.created = function() { - svg$.PolylineElement.__proto__.created.call(this); - ; -}).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[159]); -dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); -svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PreserveAspectRatio.__(); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$meetOrSlice]() { - return this.meetOrSlice; - } - set [S$3.$meetOrSlice](value) { - this.meetOrSlice = value; - } -}; -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), - [S$3.$meetOrSlice]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ - __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), - [S$3.$align]: dart.nullable(core.int), - [S$3.$meetOrSlice]: dart.nullable(core.int) -})); -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; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { - return 2; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { - return 1; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { - return 10; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { - return 7; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { - return 4; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { - return 9; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { - return 6; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { - return 3; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { - return 8; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { - return 5; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { - return 2; - } -}, 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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$fr]() { - return this.fr; - } - get [S$3.$fx]() { - return this.fx; - } - get [S$3.$fy]() { - return this.fy; - } - get [S$3.$r]() { - return this.r; - } -}; -(svg$.RadialGradientElement.created = function() { - svg$.RadialGradientElement.__proto__.created.call(this); - ; -}).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$fr]: dart.nullable(svg$.AnimatedLength), - [S$3.$fx]: dart.nullable(svg$.AnimatedLength), - [S$3.$fy]: dart.nullable(svg$.AnimatedLength), - [S$3.$r]: dart.nullable(svg$.AnimatedLength) -})); -dart.setLibraryUri(svg$.RadialGradientElement, I[159]); -dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); -svg$.Rect = class Rect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Rect.__(); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Rect, () => ({ - __proto__: dart.getSetters(svg$.Rect.__proto__), - [$height]: dart.nullable(core.num), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -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; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.RectElement.created = function() { - svg$.RectElement.__proto__.created.call(this); - ; -}).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), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.ScriptElement.created = function() { - svg$.ScriptElement.__proto__.created.call(this); - ; -}).prototype = svg$.ScriptElement.prototype; -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), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setSetterSignature(svg$.ScriptElement, () => ({ - __proto__: dart.getSetters(svg$.ScriptElement.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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")); - } -}; -(svg$.SetElement.created = function() { - svg$.SetElement.__proto__.created.call(this); - ; -}).prototype = svg$.SetElement.prototype; -dart.addTypeTests(svg$.SetElement); -dart.addTypeCaches(svg$.SetElement); -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; - } -}; -(svg$.StopElement.created = function() { - svg$.StopElement.__proto__.created.call(this); - ; -}).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[159]); -dart.registerExtension("SVGStopElement", svg$.StopElement); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2867, 25, "index"); - core.String.as(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[158], 2873, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2901, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.StringList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.StringList); -dart.addTypeCaches(svg$.StringList); -svg$.StringList[dart.implements] = () => [core.List$(core.String)]; -dart.setMethodSignature(svg$.StringList, () => ({ - __proto__: dart.getMethods(svg$.StringList.__proto__), - [$_get]: dart.fnType(core.String, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), - [S$3.$appendItem]: dart.fnType(core.String, [core.String]), - [S$3.$getItem]: dart.fnType(core.String, [core.int]), - [S$3.$initialize]: dart.fnType(core.String, [core.String]), - [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.StringList, () => ({ - __proto__: dart.getSetters(svg$.StringList.__proto__), - [$length]: core.int -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(svg$.StyleElement.created = function() { - svg$.StyleElement.__proto__.created.call(this); - ; -}).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), - [S$.$media]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.StyleElement, () => ({ - __proto__: dart.getSetters(svg$.StyleElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$media]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -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$1][S.$attributes][$_get]("class"); - if (svg$.AnimatedString.is(classname)) { - classname = svg$.AnimatedString.as(classname).baseVal; - } - let s = new (T$0._IdentityHashSetOfString()).new(); - if (classname == null) { - return s; - } - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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[158], 2965, 26, "_element"); - this[S$3._element$1] = _element; - ; -}).prototype = svg$.AttributeClassSet.prototype; -dart.addTypeTests(svg$.AttributeClassSet); -dart.addTypeCaches(svg$.AttributeClassSet); -dart.setMethodSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set]) -})); -dart.setLibraryUri(svg$.AttributeClassSet, I[159]); -dart.setFieldSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [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; - } - set [S$3.$currentScale](value) { - this.currentScale = value; - } - get [S$3.$currentTranslate]() { - return this.currentTranslate; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$3.$animationsPaused](...args) { - return this.animationsPaused.apply(this, args); - } - [S$3.$checkEnclosure](...args) { - return this.checkEnclosure.apply(this, args); - } - [S$3.$checkIntersection](...args) { - return this.checkIntersection.apply(this, args); - } - [S$3.$createSvgAngle](...args) { - return this.createSVGAngle.apply(this, args); - } - [S$3.$createSvgLength](...args) { - return this.createSVGLength.apply(this, args); - } - [S$3.$createSvgMatrix](...args) { - return this.createSVGMatrix.apply(this, args); - } - [S$3.$createSvgNumber](...args) { - return this.createSVGNumber.apply(this, args); - } - [S$3.$createSvgPoint](...args) { - return this.createSVGPoint.apply(this, args); - } - [S$3.$createSvgRect](...args) { - return this.createSVGRect.apply(this, args); - } - [S$3.$createSvgTransform](...args) { - return this.createSVGTransform.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$deselectAll](...args) { - return this.deselectAll.apply(this, args); - } - [S$3.$forceRedraw](...args) { - return this.forceRedraw.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - [S$3.$getEnclosureList](...args) { - return this.getEnclosureList.apply(this, args); - } - [S$3.$getIntersectionList](...args) { - return this.getIntersectionList.apply(this, args); - } - [S$3.$pauseAnimations](...args) { - return this.pauseAnimations.apply(this, args); - } - [S$3.$setCurrentTime](...args) { - return this.setCurrentTime.apply(this, args); - } - [S$3.$suspendRedraw](...args) { - return this.suspendRedraw.apply(this, args); - } - [S$3.$unpauseAnimations](...args) { - return this.unpauseAnimations.apply(this, args); - } - [S$3.$unsuspendRedraw](...args) { - return this.unsuspendRedraw.apply(this, args); - } - [S$3.$unsuspendRedrawAll](...args) { - return this.unsuspendRedrawAll.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } -}; -(svg$.SvgSvgElement.created = function() { - svg$.SvgSvgElement.__proto__.created.call(this); - ; -}).prototype = svg$.SvgSvgElement.prototype; -dart.addTypeTests(svg$.SvgSvgElement); -dart.addTypeCaches(svg$.SvgSvgElement); -svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; -dart.setMethodSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), - [S$3.$animationsPaused]: dart.fnType(core.bool, []), - [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), - [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), - [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), - [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), - [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), - [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), - [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$deselectAll]: dart.fnType(dart.void, []), - [S$3.$forceRedraw]: dart.fnType(dart.void, []), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), - [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$pauseAnimations]: dart.fnType(dart.void, []), - [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), - [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), - [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), - [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), - [S$3.$currentTranslate]: dart.nullable(svg$.Point), - [$height]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), - [S$3.$currentScale]: dart.nullable(core.num), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -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); - ; -}).prototype = svg$.SwitchElement.prototype; -dart.addTypeTests(svg$.SwitchElement); -dart.addTypeCaches(svg$.SwitchElement); -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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } -}; -(svg$.SymbolElement.created = function() { - svg$.SymbolElement.__proto__.created.call(this); - ; -}).prototype = svg$.SymbolElement.prototype; -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[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; - } - get [S$2.$textLength]() { - return this.textLength; - } - [S$3.$getCharNumAtPosition](...args) { - return this.getCharNumAtPosition.apply(this, args); - } - [S$3.$getComputedTextLength](...args) { - return this.getComputedTextLength.apply(this, args); - } - [S$3.$getEndPositionOfChar](...args) { - return this.getEndPositionOfChar.apply(this, args); - } - [S$3.$getExtentOfChar](...args) { - return this.getExtentOfChar.apply(this, args); - } - [S$3.$getNumberOfChars](...args) { - return this.getNumberOfChars.apply(this, args); - } - [S$3.$getRotationOfChar](...args) { - return this.getRotationOfChar.apply(this, args); - } - [S$3.$getStartPositionOfChar](...args) { - return this.getStartPositionOfChar.apply(this, args); - } - [S$3.$getSubStringLength](...args) { - return this.getSubStringLength.apply(this, args); - } - [S$3.$selectSubString](...args) { - return this.selectSubString.apply(this, args); - } -}; -(svg$.TextContentElement.created = function() { - svg$.TextContentElement.__proto__.created.call(this); - ; -}).prototype = svg$.TextContentElement.prototype; -dart.addTypeTests(svg$.TextContentElement); -dart.addTypeCaches(svg$.TextContentElement); -dart.setMethodSignature(svg$.TextContentElement, () => ({ - __proto__: dart.getMethods(svg$.TextContentElement.__proto__), - [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), - [S$3.$getComputedTextLength]: dart.fnType(core.double, []), - [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), - [S$3.$getNumberOfChars]: dart.fnType(core.int, []), - [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), - [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [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[159]); -dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); -dart.defineLazy(svg$.TextContentElement, { - /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { - return 1; - }, - /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { - return 2; - }, - /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$.$rotate]() { - return this.rotate; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.TextPositioningElement.created = function() { - svg$.TextPositioningElement.__proto__.created.call(this); - ; -}).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), - [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), - [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), - [S$.$x]: dart.nullable(svg$.AnimatedLengthList), - [S$.$y]: dart.nullable(svg$.AnimatedLengthList) -})); -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); - ; -}).prototype = svg$.TSpanElement.prototype; -dart.addTypeTests(svg$.TSpanElement); -dart.addTypeCaches(svg$.TSpanElement); -dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.TSpanElement, I[159]); -dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); -svg$.Tests = class Tests extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Tests.__(); - } - get requiredExtensions() { - return this.requiredExtensions; - } - get systemLanguage() { - return this.systemLanguage; - } -}; -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), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - systemLanguage: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -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); - ; -}).prototype = svg$.TextElement.prototype; -dart.addTypeTests(svg$.TextElement); -dart.addTypeCaches(svg$.TextElement); -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; - } - get [S$3.$spacing]() { - return this.spacing; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.TextPathElement.created = function() { - svg$.TextPathElement.__proto__.created.call(this); - ; -}).prototype = svg$.TextPathElement.prototype; -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), - [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { - return 0; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { - return 1; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { - return 0; - } -}, 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); - ; -}).prototype = svg$.TitleElement.prototype; -dart.addTypeTests(svg$.TitleElement); -dart.addTypeCaches(svg$.TitleElement); -dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.TitleElement, I[159]); -dart.registerExtension("SVGTitleElement", svg$.TitleElement); -svg$.Transform = class Transform extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Transform.__(); - } - get [S$.$angle]() { - return this.angle; - } - get [S$.$matrix]() { - return this.matrix; - } - get [S.$type]() { - return this.type; - } - [S$3.$setMatrix](...args) { - return this.setMatrix.apply(this, args); - } - [S$3.$setRotate](...args) { - return this.setRotate.apply(this, args); - } - [S$3.$setScale](...args) { - return this.setScale.apply(this, args); - } - [S$3.$setSkewX](...args) { - return this.setSkewX.apply(this, args); - } - [S$3.$setSkewY](...args) { - return this.setSkewY.apply(this, args); - } - [S$3.$setTranslate](...args) { - return this.setTranslate.apply(this, args); - } -}; -dart.addTypeTests(svg$.Transform); -dart.addTypeCaches(svg$.Transform); -dart.setMethodSignature(svg$.Transform, () => ({ - __proto__: dart.getMethods(svg$.Transform.__proto__), - [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), - [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), - [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), - [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), - [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[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; - }, - /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { - return 4; - }, - /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { - return 3; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { - return 5; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { - return 6; - }, - /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { - return 2; - }, - /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { - return 0; - } -}, false); -dart.registerExtension("SVGTransform", svg$.Transform); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 3856, 25, "index"); - svg$.Transform.as(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[158], 3862, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 3890, 27, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$consolidate](...args) { - return this.consolidate.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.TransformList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.TransformList); -dart.addTypeCaches(svg$.TransformList); -svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; -dart.setMethodSignature(svg$.TransformList, () => ({ - __proto__: dart.getMethods(svg$.TransformList.__proto__), - [$_get]: dart.fnType(svg$.Transform, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), - [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.TransformList, () => ({ - __proto__: dart.getSetters(svg$.TransformList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(svg$.TransformList, I[159]); -dart.registerExtension("SVGTransformList", svg$.TransformList); -svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.UnitTypes.__(); - } -}; -dart.addTypeTests(svg$.UnitTypes); -dart.addTypeCaches(svg$.UnitTypes); -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; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { - return 0; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { - return 1; - } -}, false); -dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); -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[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; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.UseElement.created = function() { - svg$.UseElement.__proto__.created.call(this); - ; -}).prototype = svg$.UseElement.prototype; -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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } -}; -(svg$.ViewElement.created = function() { - svg$.ViewElement.__proto__.created.call(this); - ; -}).prototype = svg$.ViewElement.prototype; -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), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.ViewElement, () => ({ - __proto__: dart.getSetters(svg$.ViewElement.__proto__), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.ViewElement, I[159]); -dart.registerExtension("SVGViewElement", svg$.ViewElement); -svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.ZoomAndPan.__(); - } - get zoomAndPan() { - return this.zoomAndPan; - } - set zoomAndPan(value) { - this.zoomAndPan = value; - } -}; -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), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.ZoomAndPan, () => ({ - __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), - zoomAndPan: dart.nullable(core.int), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -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() { - return 1; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { - return 2; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { - return 0; - } -}, false); -svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { - static ['_#_#tearOff']() { - return svg$._SVGFEDropShadowElement.__(); - } -}; -(svg$._SVGFEDropShadowElement.created = function() { - svg$._SVGFEDropShadowElement.__proto__.created.call(this); - ; -}).prototype = svg$._SVGFEDropShadowElement.prototype; -dart.addTypeTests(svg$._SVGFEDropShadowElement); -dart.addTypeCaches(svg$._SVGFEDropShadowElement); -svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -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); - ; -}).prototype = svg$._SVGMPathElement.prototype; -dart.addTypeTests(svg$._SVGMPathElement); -dart.addTypeCaches(svg$._SVGMPathElement); -svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; -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; - } - set [S$3.$channelCount](value) { - this.channelCount = value; - } - get [S$3.$channelCountMode]() { - return this.channelCountMode; - } - set [S$3.$channelCountMode](value) { - this.channelCountMode = value; - } - get [S$3.$channelInterpretation]() { - return this.channelInterpretation; - } - set [S$3.$channelInterpretation](value) { - this.channelInterpretation = value; - } - get [S$3.$context]() { - return this.context; - } - get [S$3.$numberOfInputs]() { - return this.numberOfInputs; - } - get [S$3.$numberOfOutputs]() { - return this.numberOfOutputs; - } - [S$4._connect](...args) { - return this.connect.apply(this, args); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$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$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$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), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String), - [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), - [S$3.$numberOfInputs]: dart.nullable(core.int), - [S$3.$numberOfOutputs]: dart.nullable(core.int) -})); -dart.setSetterSignature(web_audio.AudioNode, () => ({ - __proto__: dart.getSetters(web_audio.AudioNode.__proto__), - [S$3.$channelCount]: dart.nullable(core.int), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new AnalyserNode(context); - } - get [S$3.$fftSize]() { - return this.fftSize; - } - set [S$3.$fftSize](value) { - this.fftSize = value; - } - get [S$3.$frequencyBinCount]() { - return this.frequencyBinCount; - } - get [S$3.$maxDecibels]() { - return this.maxDecibels; - } - set [S$3.$maxDecibels](value) { - this.maxDecibels = value; - } - get [S$3.$minDecibels]() { - return this.minDecibels; - } - set [S$3.$minDecibels](value) { - this.minDecibels = value; - } - get [S$3.$smoothingTimeConstant]() { - return this.smoothingTimeConstant; - } - set [S$3.$smoothingTimeConstant](value) { - this.smoothingTimeConstant = value; - } - [S$3.$getByteFrequencyData](...args) { - return this.getByteFrequencyData.apply(this, args); - } - [S$3.$getByteTimeDomainData](...args) { - return this.getByteTimeDomainData.apply(this, args); - } - [S$3.$getFloatFrequencyData](...args) { - return this.getFloatFrequencyData.apply(this, args); - } - [S$3.$getFloatTimeDomainData](...args) { - return this.getFloatTimeDomainData.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AnalyserNode); -dart.addTypeCaches(web_audio.AnalyserNode); -dart.setMethodSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), - [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [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), - [S$3.$frequencyBinCount]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), - [S$3.$fftSize]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioBuffer.__(); - } - static new(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); - } - get [S$.$duration]() { - return this.duration; - } - get [$length]() { - return this.length; - } - get [S$4.$numberOfChannels]() { - return this.numberOfChannels; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$copyFromChannel](...args) { - return this.copyFromChannel.apply(this, args); - } - [S$4.$copyToChannel](...args) { - return this.copyToChannel.apply(this, args); - } - [S$4.$getChannelData](...args) { - return this.getChannelData.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioBuffer); -dart.addTypeCaches(web_audio.AudioBuffer); -dart.setMethodSignature(web_audio.AudioBuffer, () => ({ - __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [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$4.$numberOfChannels]: dart.nullable(core.int), - [S$4.$sampleRate]: dart.nullable(core.num) -})); -dart.setLibraryUri(web_audio.AudioBuffer, I[161]); -dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); -web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - static ['_#_#tearOff']() { - return web_audio.AudioScheduledSourceNode.__(); - } - [S$4.$start2](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.AudioScheduledSourceNode); -dart.addTypeCaches(web_audio.AudioScheduledSourceNode); -dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ - __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [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[161]); -dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); -dart.defineLazy(web_audio.AudioScheduledSourceNode, { - /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - 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[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); - } - static _create_2(context) { - return new AudioBufferSourceNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$4.$loopEnd]() { - return this.loopEnd; - } - set [S$4.$loopEnd](value) { - this.loopEnd = value; - } - get [S$4.$loopStart]() { - return this.loopStart; - } - set [S$4.$loopStart](value) { - this.loopStart = value; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioBufferSourceNode); -dart.addTypeCaches(web_audio.AudioBufferSourceNode); -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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$.$loop]: dart.nullable(core.bool), - [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$4.$loopEnd]: dart.nullable(core.num), - [S$4.$loopStart]: dart.nullable(core.num) -})); -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$4.$destination]() { - return this.destination; - } - get [S$4.$listener]() { - return this.listener; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - get [S$.$state]() { - return this.state; - } - [S$4.$createAnalyser](...args) { - return this.createAnalyser.apply(this, args); - } - [S$4.$createBiquadFilter](...args) { - return this.createBiquadFilter.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createBufferSource](...args) { - return this.createBufferSource.apply(this, args); - } - [S$4.$createChannelMerger](...args) { - return this.createChannelMerger.apply(this, args); - } - [S$4.$createChannelSplitter](...args) { - return this.createChannelSplitter.apply(this, args); - } - [S$4.$createConstantSource](...args) { - return this.createConstantSource.apply(this, args); - } - [S$4.$createConvolver](...args) { - return this.createConvolver.apply(this, args); - } - [S$4.$createDelay](...args) { - return this.createDelay.apply(this, args); - } - [S$4.$createDynamicsCompressor](...args) { - return this.createDynamicsCompressor.apply(this, args); - } - [S$4.$createGain](...args) { - return this.createGain.apply(this, args); - } - [S$4.$createIirFilter](...args) { - return this.createIIRFilter.apply(this, args); - } - [S$4.$createMediaElementSource](...args) { - return this.createMediaElementSource.apply(this, args); - } - [S$4.$createMediaStreamDestination](...args) { - return this.createMediaStreamDestination.apply(this, args); - } - [S$4.$createMediaStreamSource](...args) { - return this.createMediaStreamSource.apply(this, args); - } - [S$4.$createOscillator](...args) { - return this.createOscillator.apply(this, args); - } - [S$4.$createPanner](...args) { - return this.createPanner.apply(this, args); - } - [S$4.$createPeriodicWave](real, imag, options = null) { - 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); - } - return this[S$4._createPeriodicWave_2](real, imag); - } - [S$4._createPeriodicWave_1](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4._createPeriodicWave_2](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4.$createScriptProcessor](...args) { - return this.createScriptProcessor.apply(this, args); - } - [S$4.$createStereoPanner](...args) { - return this.createStereoPanner.apply(this, args); - } - [S$4.$createWaveShaper](...args) { - return this.createWaveShaper.apply(this, args); - } - [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]() { - return js_util.promiseToFuture(dart.dynamic, this.resume()); - } -}; -dart.addTypeTests(web_audio.BaseAudioContext); -dart.addTypeCaches(web_audio.BaseAudioContext); -dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [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$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, []), - [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), - [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), - [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), - [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$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$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$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[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$4.$baseLatency]() { - return this.baseLatency; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$4.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); - } - [S$4._getOutputTimestamp_1](...args) { - return this.getOutputTimestamp.apply(this, args); - } - [S$4.$suspend]() { - return js_util.promiseToFuture(dart.dynamic, this.suspend()); - } - static new() { - return new (window.AudioContext || window.webkitAudioContext)(); - } - static ['_#new#tearOff']() { - return web_audio.AudioContext.new(); - } - [S$4.$createGain]() { - if (this.createGain !== undefined) { - return this.createGain(); - } else { - return this.createGainNode(); - } - } - [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); - } else if (numberOfInputChannels != null) { - return $function.call(this, bufferSize, numberOfInputChannels); - } else if (bufferSize != null) { - return $function.call(this, bufferSize); - } else { - return $function.call(this); - } - } - [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.complete(nullErrorString); - errorInCallbackIsNull = true; - } - } - 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); -dart.addTypeCaches(web_audio.AudioContext); -dart.setMethodSignature(web_audio.AudioContext, () => ({ - __proto__: dart.getMethods(web_audio.AudioContext.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [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$4.$baseLatency]: dart.nullable(core.num) -})); -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[161]); -dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); -web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioListener.__(); - } - get [S$4.$forwardX]() { - return this.forwardX; - } - get [S$4.$forwardY]() { - return this.forwardY; - } - get [S$4.$forwardZ]() { - return this.forwardZ; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$upX]() { - return this.upX; - } - get [S$4.$upY]() { - return this.upY; - } - get [S$4.$upZ]() { - return this.upZ; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioListener); -dart.addTypeCaches(web_audio.AudioListener); -dart.setMethodSignature(web_audio.AudioListener, () => ({ - __proto__: dart.getMethods(web_audio.AudioListener.__proto__), - [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), - [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), - [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$upX]: dart.nullable(web_audio.AudioParam), - [S$4.$upY]: dart.nullable(web_audio.AudioParam), - [S$4.$upZ]: dart.nullable(web_audio.AudioParam) -})); -dart.setLibraryUri(web_audio.AudioListener, I[161]); -dart.registerExtension("AudioListener", web_audio.AudioListener); -web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioParam.__(); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - get [S$4.$maxValue]() { - return this.maxValue; - } - get [S$4.$minValue]() { - return this.minValue; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [S$4.$cancelAndHoldAtTime](...args) { - return this.cancelAndHoldAtTime.apply(this, args); - } - [S$4.$cancelScheduledValues](...args) { - return this.cancelScheduledValues.apply(this, args); - } - [S$4.$exponentialRampToValueAtTime](...args) { - return this.exponentialRampToValueAtTime.apply(this, args); - } - [S$4.$linearRampToValueAtTime](...args) { - return this.linearRampToValueAtTime.apply(this, args); - } - [S$4.$setTargetAtTime](...args) { - return this.setTargetAtTime.apply(this, args); - } - [S$4.$setValueAtTime](...args) { - return this.setValueAtTime.apply(this, args); - } - [S$4.$setValueCurveAtTime](...args) { - return this.setValueCurveAtTime.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioParam); -dart.addTypeCaches(web_audio.AudioParam); -dart.setMethodSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getMethods(web_audio.AudioParam.__proto__), - [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), - [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), - [S$4.$maxValue]: dart.nullable(core.num), - [S$4.$minValue]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getSetters(web_audio.AudioParam.__proto__), - [S.$value]: dart.nullable(core.num) -})); -dart.setLibraryUri(web_audio.AudioParam, I[161]); -dart.registerExtension("AudioParam", web_audio.AudioParam); -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[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[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[160], 455, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$4._getItem$1](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$4._getItem$1](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[160], 461, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 473, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 479, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(web_audio.AudioParamMap); -dart.addTypeCaches(web_audio.AudioParamMap); -dart.setMethodSignature(web_audio.AudioParamMap, () => ({ - __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), - [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - get [S$4.$inputBuffer]() { - return this.inputBuffer; - } - get [S$4.$outputBuffer]() { - return this.outputBuffer; - } - get [S$4.$playbackTime]() { - return this.playbackTime; - } -}; -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[161]); -dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); -web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioTrack.__(); - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } -}; -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$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[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; - } - [S$4.__getter__$1](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return web_audio.AudioTrackList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.AudioTrackList); -dart.addTypeCaches(web_audio.AudioTrackList); -dart.setMethodSignature(web_audio.AudioTrackList, () => ({ - __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), - [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[161]); -dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); -dart.defineLazy(web_audio.AudioTrackList, { - /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - 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$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$registerProcessor](...args) { - return this.registerProcessor.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioWorkletGlobalScope); -dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); -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$4.$sampleRate]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(context, name) { - return new AudioWorkletNode(context, name); - } - get [S$4.$parameters]() { - return this.parameters; - } -}; -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[161]); -dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); -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.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[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); - } - static _create_2(context) { - return new BiquadFilterNode(context); - } - get [S$4.$Q]() { - return this.Q; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S$4.$gain]() { - return this.gain; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } -}; -dart.addTypeTests(web_audio.BiquadFilterNode); -dart.addTypeCaches(web_audio.BiquadFilterNode); -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$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) -})); -dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ - __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new ChannelMergerNode(context); - } -}; -dart.addTypeTests(web_audio.ChannelMergerNode); -dart.addTypeCaches(web_audio.ChannelMergerNode); -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[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); - } - static _create_2(context) { - return new ChannelSplitterNode(context); - } -}; -dart.addTypeTests(web_audio.ChannelSplitterNode); -dart.addTypeCaches(web_audio.ChannelSplitterNode); -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[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); - } - static _create_2(context) { - return new ConstantSourceNode(context); - } - get [S.$offset]() { - return this.offset; - } -}; -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[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[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); - } - static _create_2(context) { - return new ConvolverNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$normalize]() { - return this.normalize; - } - set [S$4.$normalize](value) { - this.normalize = value; - } -}; -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), - [S$4.$normalize]: dart.nullable(core.bool) -})); -dart.setSetterSignature(web_audio.ConvolverNode, () => ({ - __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), - [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$4.$normalize]: dart.nullable(core.bool) -})); -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[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); - } - static _create_2(context) { - return new DelayNode(context); - } - get [S$4.$delayTime]() { - return this.delayTime; - } -}; -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[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[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); - } - static _create_2(context) { - return new DynamicsCompressorNode(context); - } - get [S$4.$attack]() { - return this.attack; - } - get [S$4.$knee]() { - return this.knee; - } - get [S$4.$ratio]() { - return this.ratio; - } - get [S$4.$reduction]() { - return this.reduction; - } - get [S$4.$release]() { - return this.release; - } - get [S$4.$threshold]() { - return this.threshold; - } -}; -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), - [S$4.$knee]: dart.nullable(web_audio.AudioParam), - [S$4.$ratio]: dart.nullable(web_audio.AudioParam), - [S$4.$reduction]: dart.nullable(core.num), - [S$4.$release]: dart.nullable(web_audio.AudioParam), - [S$4.$threshold]: dart.nullable(web_audio.AudioParam) -})); -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[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); - } - static _create_2(context) { - return new GainNode(context); - } - get [S$4.$gain]() { - return this.gain; - } -}; -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[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[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); - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } -}; -dart.addTypeTests(web_audio.IirFilterNode); -dart.addTypeCaches(web_audio.IirFilterNode); -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.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[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); - } - get [S$4.$mediaElement]() { - return this.mediaElement; - } -}; -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[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[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); - } - static _create_2(context) { - return new MediaStreamAudioDestinationNode(context); - } - get [S$1.$stream]() { - return this.stream; - } -}; -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[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[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); - } - get [S$4.$mediaStream]() { - return this.mediaStream; - } -}; -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[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[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); - } - get [S$4.$renderedBuffer]() { - return this.renderedBuffer; - } -}; -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[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); - } - if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { - let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); - return web_audio.OfflineAudioContext._create_2(options_1); - } - 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); - } - static _create_2(numberOfChannels_OR_options) { - return new OfflineAudioContext(numberOfChannels_OR_options); - } - get [$length]() { - return this.length; - } - [S$4.$startRendering]() { - return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); - } - [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); - return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); - } -}; -dart.addTypeTests(web_audio.OfflineAudioContext); -dart.addTypeCaches(web_audio.OfflineAudioContext); -dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), - [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[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[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$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$setPeriodicWave](...args) { - return this.setPeriodicWave.apply(this, args); - } -}; -dart.addTypeTests(web_audio.OscillatorNode); -dart.addTypeCaches(web_audio.OscillatorNode); -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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$4.$frequency]: dart.nullable(web_audio.AudioParam), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(web_audio.OscillatorNode, () => ({ - __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new PannerNode(context); - } - get [S$4.$coneInnerAngle]() { - return this.coneInnerAngle; - } - set [S$4.$coneInnerAngle](value) { - this.coneInnerAngle = value; - } - get [S$4.$coneOuterAngle]() { - return this.coneOuterAngle; - } - set [S$4.$coneOuterAngle](value) { - this.coneOuterAngle = value; - } - get [S$4.$coneOuterGain]() { - return this.coneOuterGain; - } - set [S$4.$coneOuterGain](value) { - this.coneOuterGain = value; - } - get [S$4.$distanceModel]() { - return this.distanceModel; - } - set [S$4.$distanceModel](value) { - this.distanceModel = value; - } - get [S$4.$maxDistance]() { - return this.maxDistance; - } - set [S$4.$maxDistance](value) { - this.maxDistance = value; - } - get [S$4.$orientationX]() { - return this.orientationX; - } - get [S$4.$orientationY]() { - return this.orientationY; - } - get [S$4.$orientationZ]() { - return this.orientationZ; - } - get [S$4.$panningModel]() { - return this.panningModel; - } - set [S$4.$panningModel](value) { - this.panningModel = value; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$refDistance]() { - return this.refDistance; - } - set [S$4.$refDistance](value) { - this.refDistance = value; - } - get [S$4.$rolloffFactor]() { - return this.rolloffFactor; - } - set [S$4.$rolloffFactor](value) { - this.rolloffFactor = value; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(web_audio.PannerNode); -dart.addTypeCaches(web_audio.PannerNode); -dart.setMethodSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getMethods(web_audio.PannerNode.__proto__), - [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), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), - [S$4.$panningModel]: dart.nullable(core.String), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getSetters(web_audio.PannerNode.__proto__), - [S$4.$coneInnerAngle]: dart.nullable(core.num), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$panningModel]: dart.nullable(core.String), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.PeriodicWave.__(); - } - static new(context, options = null) { - 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); - } - static _create_2(context) { - return new PeriodicWave(context); - } -}; -dart.addTypeTests(web_audio.PeriodicWave); -dart.addTypeCaches(web_audio.PeriodicWave); -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; - } - [S$4.$setEventListener](...args) { - return this.setEventListener.apply(this, args); - } - get [S$4.$onAudioProcess]() { - return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.ScriptProcessorNode); -dart.addTypeCaches(web_audio.ScriptProcessorNode); -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[161]); -dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); -dart.defineLazy(web_audio.ScriptProcessorNode, { - /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - 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[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); - } - static _create_2(context) { - return new StereoPannerNode(context); - } - get [S$4.$pan]() { - return this.pan; - } -}; -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[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[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); - } - static _create_2(context) { - return new WaveShaperNode(context); - } - get [S$4.$curve]() { - return this.curve; - } - set [S$4.$curve](value) { - this.curve = value; - } - get [S$4.$oversample]() { - return this.oversample; - } - set [S$4.$oversample](value) { - this.oversample = value; - } -}; -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), - [S$4.$oversample]: dart.nullable(core.String) -})); -dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ - __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), - [S$4.$curve]: dart.nullable(typed_data.Float32List), - [S$4.$oversample]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); -dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); -web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ActiveInfo.__(); - } - get [$name]() { - return this.name; - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } -}; -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[162]); -dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); -web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.AngleInstancedArrays.__(); - } - [S$4.$drawArraysInstancedAngle](...args) { - return this.drawArraysInstancedANGLE.apply(this, args); - } - [S$4.$drawElementsInstancedAngle](...args) { - return this.drawElementsInstancedANGLE.apply(this, args); - } - [S$4.$vertexAttribDivisorAngle](...args) { - return this.vertexAttribDivisorANGLE.apply(this, args); - } -}; -dart.addTypeTests(web_gl.AngleInstancedArrays); -dart.addTypeCaches(web_gl.AngleInstancedArrays); -dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ - __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), - [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [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.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; - } -}, false); -dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); -dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); -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.setStaticMethodSignature(web_gl.Buffer, () => ['__']); -dart.setLibraryUri(web_gl.Buffer, I[162]); -dart.registerExtension("WebGLBuffer", web_gl.Buffer); -web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Canvas.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$offscreenCanvas]() { - return this.canvas; - } -}; -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[162]); -dart.registerExtension("WebGLCanvas", web_gl.Canvas); -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.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); -dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); -dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); -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.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; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { - return 37816; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { - return 37817; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { - return 37818; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { - return 37820; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { - return 37821; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { - return 37808; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { - return 37809; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { - return 37810; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { - return 37811; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { - return 37812; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { - return 37813; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { - return 37814; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { - return 37815; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { - return 37851; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { - return 37848; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { - return 37849; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { - return 37850; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { - return 37852; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { - return 37853; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { - return 37840; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { - return 37841; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { - return 37842; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { - return 37843; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { - return 37844; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { - return 37845; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { - return 37846; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { - return 37847; - } -}, false); -dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); -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.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; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { - return 34798; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { - return 35986; - } -}, false); -dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); -dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); -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.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; - } -}, false); -dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); -dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); -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.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; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { - return 37490; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { - return 37492; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37494; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { - return 37496; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { - return 37489; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { - return 37491; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { - return 37497; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { - return 37493; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37495; - } -}, false); -dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); -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.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; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { - return 35842; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { - return 35841; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { - return 35840; - } -}, false); -dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); -dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); -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.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; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { - return 33778; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { - return 33779; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { - return 33776; - } -}, false); -dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); -dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); -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.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; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { - return 35918; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { - return 35919; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { - return 35916; - } -}, 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[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); - } - static _create_2(type) { - return new WebGLContextEvent(type); - } - get [S$4.$statusMessage]() { - return this.statusMessage; - } -}; -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[162]); -dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); -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.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; - }, - /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { - return 37445; - } -}, false); -dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); -dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); -web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DebugShaders.__(); - } - [S$4.$getTranslatedShaderSource](...args) { - return this.getTranslatedShaderSource.apply(this, args); - } -}; -dart.addTypeTests(web_gl.DebugShaders); -dart.addTypeCaches(web_gl.DebugShaders); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DepthTexture.__(); - } -}; -dart.addTypeTests(web_gl.DepthTexture); -dart.addTypeCaches(web_gl.DepthTexture); -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; - } -}, false); -dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); -dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); -web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DrawBuffers.__(); - } - [S$4.$drawBuffersWebgl](...args) { - return this.drawBuffersWEBGL.apply(this, args); - } -}; -dart.addTypeTests(web_gl.DrawBuffers); -dart.addTypeCaches(web_gl.DrawBuffers); -dart.setMethodSignature(web_gl.DrawBuffers, () => ({ - __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), - [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.EXTsRgb.__(); - } -}; -dart.addTypeTests(web_gl.EXTsRgb); -dart.addTypeCaches(web_gl.EXTsRgb); -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; - }, - /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { - return 35907; - }, - /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { - return 35906; - }, - /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { - return 35904; - } -}, false); -dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); -dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); -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.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; - }, - /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { - return 32775; - } -}, false); -dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); -dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); -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.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); -dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); -dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); -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.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); -dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); -dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); -web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQuery.__(); - } - [S$4.$beginQueryExt](...args) { - return this.beginQueryEXT.apply(this, args); - } - [S$4.$createQueryExt](...args) { - return this.createQueryEXT.apply(this, args); - } - [S$4.$deleteQueryExt](...args) { - return this.deleteQueryEXT.apply(this, args); - } - [S$4.$endQueryExt](...args) { - return this.endQueryEXT.apply(this, args); - } - [S$4.$getQueryExt](...args) { - return this.getQueryEXT.apply(this, args); - } - [S$4.$getQueryObjectExt](...args) { - return this.getQueryObjectEXT.apply(this, args); - } - [S$4.$isQueryExt](...args) { - return this.isQueryEXT.apply(this, args); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } -}; -dart.addTypeTests(web_gl.ExtDisjointTimerQuery); -dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); -dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ - __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), - [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), - [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), - [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), - [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), - [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), - [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.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; - }, - /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { - return 36795; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { - return 34919; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { - return 34918; - }, - /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } -}, false); -dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); -web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQueryWebGL2.__(); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } -}; -dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); -dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); -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.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; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } -}, false); -dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtShaderTextureLod.__(); - } -}; -dart.addTypeTests(web_gl.ExtShaderTextureLod); -dart.addTypeCaches(web_gl.ExtShaderTextureLod); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtTextureFilterAnisotropic.__(); - } -}; -dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); -dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); -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; - }, - /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { - return 34046; - } -}, false); -dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); -dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); -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.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); -dart.setLibraryUri(web_gl.Framebuffer, I[162]); -dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); -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[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)); - } -}; -dart.addTypeTests(web_gl.GetBufferSubDataAsync); -dart.addTypeCaches(web_gl.GetBufferSubDataAsync); -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.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); -dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); -dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); -web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.LoseContext.__(); - } - [S$4.$loseContext](...args) { - return this.loseContext.apply(this, args); - } - [S$4.$restoreContext](...args) { - return this.restoreContext.apply(this, args); - } -}; -dart.addTypeTests(web_gl.LoseContext); -dart.addTypeCaches(web_gl.LoseContext); -dart.setMethodSignature(web_gl.LoseContext, () => ({ - __proto__: dart.getMethods(web_gl.LoseContext.__proto__), - [S$4.$loseContext]: dart.fnType(dart.void, []), - [S$4.$restoreContext]: dart.fnType(dart.void, []) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesElementIndexUint.__(); - } -}; -dart.addTypeTests(web_gl.OesElementIndexUint); -dart.addTypeCaches(web_gl.OesElementIndexUint); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesStandardDerivatives.__(); - } -}; -dart.addTypeTests(web_gl.OesStandardDerivatives); -dart.addTypeCaches(web_gl.OesStandardDerivatives); -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; - } -}, false); -dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); -dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureFloatLinear.__(); - } -}; -dart.addTypeTests(web_gl.OesTextureFloatLinear); -dart.addTypeCaches(web_gl.OesTextureFloatLinear); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureHalfFloat.__(); - } -}; -dart.addTypeTests(web_gl.OesTextureHalfFloat); -dart.addTypeCaches(web_gl.OesTextureHalfFloat); -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; - } -}, false); -dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); -dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesVertexArrayObject.__(); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArrayOES.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArrayOES.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArrayOES.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArrayOES.apply(this, args); - } -}; -dart.addTypeTests(web_gl.OesVertexArrayObject); -dart.addTypeCaches(web_gl.OesVertexArrayObject); -dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ - __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), - [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), - [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.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; - } -}, false); -dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); -dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); -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.setStaticMethodSignature(web_gl.Program, () => ['__']); -dart.setLibraryUri(web_gl.Program, I[162]); -dart.registerExtension("WebGLProgram", web_gl.Program); -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.setStaticMethodSignature(web_gl.Query, () => ['__']); -dart.setLibraryUri(web_gl.Query, I[162]); -dart.registerExtension("WebGLQuery", web_gl.Query); -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.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); -dart.setLibraryUri(web_gl.Renderbuffer, I[162]); -dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); -web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext.__(); - } - static get supported() { - return !!window.WebGLRenderingContext; - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, pixels) { - 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[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[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[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[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[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[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); - } -}; -dart.addTypeTests(web_gl.RenderingContext); -dart.addTypeCaches(web_gl.RenderingContext); -web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; -dart.setMethodSignature(web_gl.RenderingContext, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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, dart.nullable(typed_data.TypedData)]), - [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext2.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$4.$beginQuery](...args) { - return this.beginQuery.apply(this, args); - } - [S$4.$beginTransformFeedback](...args) { - return this.beginTransformFeedback.apply(this, args); - } - [S$4.$bindBufferBase](...args) { - return this.bindBufferBase.apply(this, args); - } - [S$4.$bindBufferRange](...args) { - return this.bindBufferRange.apply(this, args); - } - [S$4.$bindSampler](...args) { - return this.bindSampler.apply(this, args); - } - [S$4.$bindTransformFeedback](...args) { - return this.bindTransformFeedback.apply(this, args); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArray.apply(this, args); - } - [S$4.$blitFramebuffer](...args) { - return this.blitFramebuffer.apply(this, args); - } - [S$4.$bufferData2](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData2](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$clearBufferfi](...args) { - return this.clearBufferfi.apply(this, args); - } - [S$4.$clearBufferfv](...args) { - return this.clearBufferfv.apply(this, args); - } - [S$4.$clearBufferiv](...args) { - return this.clearBufferiv.apply(this, args); - } - [S$4.$clearBufferuiv](...args) { - return this.clearBufferuiv.apply(this, args); - } - [S$4.$clientWaitSync](...args) { - return this.clientWaitSync.apply(this, args); - } - [S$4.$compressedTexImage2D2](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage2D3](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage3D](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexImage3D2](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage2D2](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D3](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage3D](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage3D2](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$copyBufferSubData](...args) { - return this.copyBufferSubData.apply(this, args); - } - [S$4.$copyTexSubImage3D](...args) { - return this.copyTexSubImage3D.apply(this, args); - } - [S$4.$createQuery](...args) { - return this.createQuery.apply(this, args); - } - [S$4.$createSampler](...args) { - return this.createSampler.apply(this, args); - } - [S$4.$createTransformFeedback](...args) { - return this.createTransformFeedback.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArray.apply(this, args); - } - [S$4.$deleteQuery](...args) { - return this.deleteQuery.apply(this, args); - } - [S$4.$deleteSampler](...args) { - return this.deleteSampler.apply(this, args); - } - [S$4.$deleteSync](...args) { - return this.deleteSync.apply(this, args); - } - [S$4.$deleteTransformFeedback](...args) { - return this.deleteTransformFeedback.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArray.apply(this, args); - } - [S$4.$drawArraysInstanced](...args) { - return this.drawArraysInstanced.apply(this, args); - } - [S$4.$drawBuffers](...args) { - return this.drawBuffers.apply(this, args); - } - [S$4.$drawElementsInstanced](...args) { - return this.drawElementsInstanced.apply(this, args); - } - [S$4.$drawRangeElements](...args) { - return this.drawRangeElements.apply(this, args); - } - [S$4.$endQuery](...args) { - return this.endQuery.apply(this, args); - } - [S$4.$endTransformFeedback](...args) { - return this.endTransformFeedback.apply(this, args); - } - [S$4.$fenceSync](...args) { - return this.fenceSync.apply(this, args); - } - [S$4.$framebufferTextureLayer](...args) { - return this.framebufferTextureLayer.apply(this, args); - } - [S$4.$getActiveUniformBlockName](...args) { - return this.getActiveUniformBlockName.apply(this, args); - } - [S$4.$getActiveUniformBlockParameter](...args) { - return this.getActiveUniformBlockParameter.apply(this, args); - } - [S$4.$getActiveUniforms](...args) { - return this.getActiveUniforms.apply(this, args); - } - [S$4.$getBufferSubData](...args) { - return this.getBufferSubData.apply(this, args); - } - [S$4.$getFragDataLocation](...args) { - return this.getFragDataLocation.apply(this, args); - } - [S$4.$getIndexedParameter](...args) { - return this.getIndexedParameter.apply(this, args); - } - [S$4.$getInternalformatParameter](...args) { - return this.getInternalformatParameter.apply(this, args); - } - [S$4.$getQuery](...args) { - return this.getQuery.apply(this, args); - } - [S$4.$getQueryParameter](...args) { - return this.getQueryParameter.apply(this, args); - } - [S$4.$getSamplerParameter](...args) { - return this.getSamplerParameter.apply(this, args); - } - [S$4.$getSyncParameter](...args) { - return this.getSyncParameter.apply(this, args); - } - [S$4.$getTransformFeedbackVarying](...args) { - return this.getTransformFeedbackVarying.apply(this, args); - } - [S$4.$getUniformBlockIndex](...args) { - return this.getUniformBlockIndex.apply(this, args); - } - [S$4.$getUniformIndices](program, 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); - } - [S$4._getUniformIndices_1](...args) { - return this.getUniformIndices.apply(this, args); - } - [S$4.$invalidateFramebuffer](...args) { - return this.invalidateFramebuffer.apply(this, args); - } - [S$4.$invalidateSubFramebuffer](...args) { - return this.invalidateSubFramebuffer.apply(this, args); - } - [S$4.$isQuery](...args) { - return this.isQuery.apply(this, args); - } - [S$4.$isSampler](...args) { - return this.isSampler.apply(this, args); - } - [S$4.$isSync](...args) { - return this.isSync.apply(this, args); - } - [S$4.$isTransformFeedback](...args) { - return this.isTransformFeedback.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArray.apply(this, args); - } - [S$4.$pauseTransformFeedback](...args) { - return this.pauseTransformFeedback.apply(this, args); - } - [S$4.$readBuffer](...args) { - return this.readBuffer.apply(this, args); - } - [S$4.$readPixels2](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorageMultisample](...args) { - return this.renderbufferStorageMultisample.apply(this, args); - } - [S$4.$resumeTransformFeedback](...args) { - return this.resumeTransformFeedback.apply(this, args); - } - [S$4.$samplerParameterf](...args) { - return this.samplerParameterf.apply(this, args); - } - [S$4.$samplerParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D2_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { - this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage3D_1](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_2](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_3](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_4](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_5](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_6](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_7](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_8](...args) { - return this.texImage3D.apply(this, args); - } - [S$4.$texStorage2D](...args) { - return this.texStorage2D.apply(this, args); - } - [S$4.$texStorage3D](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D2_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage3D_1](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_2](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_3](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_4](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_5](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_6](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_7](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_8](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4.$transformFeedbackVaryings](program, varyings, 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; - } - [S$4._transformFeedbackVaryings_1](...args) { - return this.transformFeedbackVaryings.apply(this, args); - } - [S$4.$uniform1fv2](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1iv2](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform1ui](...args) { - return this.uniform1ui.apply(this, args); - } - [S$4.$uniform1uiv](...args) { - return this.uniform1uiv.apply(this, args); - } - [S$4.$uniform2fv2](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2iv2](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform2ui](...args) { - return this.uniform2ui.apply(this, args); - } - [S$4.$uniform2uiv](...args) { - return this.uniform2uiv.apply(this, args); - } - [S$4.$uniform3fv2](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3iv2](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform3ui](...args) { - return this.uniform3ui.apply(this, args); - } - [S$4.$uniform3uiv](...args) { - return this.uniform3uiv.apply(this, args); - } - [S$4.$uniform4fv2](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4iv2](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniform4ui](...args) { - return this.uniform4ui.apply(this, args); - } - [S$4.$uniform4uiv](...args) { - return this.uniform4uiv.apply(this, args); - } - [S$4.$uniformBlockBinding](...args) { - return this.uniformBlockBinding.apply(this, args); - } - [S$4.$uniformMatrix2fv2](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix2x3fv](...args) { - return this.uniformMatrix2x3fv.apply(this, args); - } - [S$4.$uniformMatrix2x4fv](...args) { - return this.uniformMatrix2x4fv.apply(this, args); - } - [S$4.$uniformMatrix3fv2](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix3x2fv](...args) { - return this.uniformMatrix3x2fv.apply(this, args); - } - [S$4.$uniformMatrix3x4fv](...args) { - return this.uniformMatrix3x4fv.apply(this, args); - } - [S$4.$uniformMatrix4fv2](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$uniformMatrix4x2fv](...args) { - return this.uniformMatrix4x2fv.apply(this, args); - } - [S$4.$uniformMatrix4x3fv](...args) { - return this.uniformMatrix4x3fv.apply(this, args); - } - [S$4.$vertexAttribDivisor](...args) { - return this.vertexAttribDivisor.apply(this, args); - } - [S$4.$vertexAttribI4i](...args) { - return this.vertexAttribI4i.apply(this, args); - } - [S$4.$vertexAttribI4iv](...args) { - return this.vertexAttribI4iv.apply(this, args); - } - [S$4.$vertexAttribI4ui](...args) { - return this.vertexAttribI4ui.apply(this, args); - } - [S$4.$vertexAttribI4uiv](...args) { - return this.vertexAttribI4uiv.apply(this, args); - } - [S$4.$vertexAttribIPointer](...args) { - return this.vertexAttribIPointer.apply(this, args); - } - [S$4.$waitSync](...args) { - return this.waitSync.apply(this, args); - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, 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); - } -}; -dart.addTypeTests(web_gl.RenderingContext2); -dart.addTypeCaches(web_gl.RenderingContext2); -web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; -dart.setMethodSignature(web_gl.RenderingContext2, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), - [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), - [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), - [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), - [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), - [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), - [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), - [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), - [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), - [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), - [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), - [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), - [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), - [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), - [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), - [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), - [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), - [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), - [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), - [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), - [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), - [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), - [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), - [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), - [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), - [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), - [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), - [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), - [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), - [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), - [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), - [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), - [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), - [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), - [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), - [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), - [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), - [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), - [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), - [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), - [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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[162]); -dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); -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.setStaticMethodSignature(web_gl.Sampler, () => ['__']); -dart.setLibraryUri(web_gl.Sampler, I[162]); -dart.registerExtension("WebGLSampler", web_gl.Sampler); -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.setStaticMethodSignature(web_gl.Shader, () => ['__']); -dart.setLibraryUri(web_gl.Shader, I[162]); -dart.registerExtension("WebGLShader", web_gl.Shader); -web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ShaderPrecisionFormat.__(); - } - get [S$4.$precision]() { - return this.precision; - } - get [S$4.$rangeMax]() { - return this.rangeMax; - } - get [S$4.$rangeMin]() { - return this.rangeMin; - } -}; -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[162]); -dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); -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.setStaticMethodSignature(web_gl.Sync, () => ['__']); -dart.setLibraryUri(web_gl.Sync, I[162]); -dart.registerExtension("WebGLSync", web_gl.Sync); -web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Texture.__(); - } - get [S$4.$lastUploadedVideoFrameWasSkipped]() { - return this.lastUploadedVideoFrameWasSkipped; - } - get [S$4.$lastUploadedVideoHeight]() { - return this.lastUploadedVideoHeight; - } - get [S$4.$lastUploadedVideoTimestamp]() { - return this.lastUploadedVideoTimestamp; - } - get [S$4.$lastUploadedVideoWidth]() { - return this.lastUploadedVideoWidth; - } -}; -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), - [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), - [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), - [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) -})); -dart.setLibraryUri(web_gl.Texture, I[162]); -dart.registerExtension("WebGLTexture", web_gl.Texture); -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.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); -dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); -dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); -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.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); -dart.setLibraryUri(web_gl.TransformFeedback, I[162]); -dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); -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.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); -dart.setLibraryUri(web_gl.UniformLocation, I[162]); -dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); -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.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); -dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); -dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); -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.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 { - 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.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; - }, - /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { - return 34016; - }, - /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { - return 35718; - }, - /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { - return 35382; - }, - /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { - return 33902; - }, - /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { - return 33901; - }, - /*web_gl.WebGL.ALPHA*/get ALPHA() { - return 6406; - }, - /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { - return 3413; - }, - /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { - return 37146; - }, - /*web_gl.WebGL.ALWAYS*/get ALWAYS() { - return 519; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { - return 35887; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { - return 36202; - }, - /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { - return 34962; - }, - /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { - return 34964; - }, - /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { - return 35717; - }, - /*web_gl.WebGL.BACK*/get BACK() { - return 1029; - }, - /*web_gl.WebGL.BLEND*/get BLEND() { - return 3042; - }, - /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { - return 32773; - }, - /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { - return 32970; - }, - /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { - return 32968; - }, - /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { - return 32777; - }, - /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { - return 34877; - }, - /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { - return 32777; - }, - /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { - return 32971; - }, - /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { - return 32969; - }, - /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { - return 3412; - }, - /*web_gl.WebGL.BOOL*/get BOOL() { - return 35670; - }, - /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { - return 35671; - }, - /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { - return 35672; - }, - /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { - return 35673; - }, - /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { - return 37444; - }, - /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { - return 34660; - }, - /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { - return 34661; - }, - /*web_gl.WebGL.BYTE*/get BYTE() { - return 5120; - }, - /*web_gl.WebGL.CCW*/get CCW() { - return 2305; - }, - /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { - return 33071; - }, - /*web_gl.WebGL.COLOR*/get COLOR() { - return 6144; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { - return 36073; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { - return 36073; - }, - /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { - return 16384; - }, - /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { - return 3106; - }, - /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { - return 3107; - }, - /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { - return 34894; - }, - /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { - return 35713; - }, - /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { - return 34467; - }, - /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { - return 37148; - }, - /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { - return 32771; - }, - /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { - return 32769; - }, - /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { - return 37442; - }, - /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { - return 36662; - }, - /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { - return 36662; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { - return 36663; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { - return 36663; - }, - /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { - return 2884; - }, - /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { - return 2885; - }, - /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { - return 35725; - }, - /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { - return 34917; - }, - /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { - return 34342; - }, - /*web_gl.WebGL.CW*/get CW() { - return 2304; - }, - /*web_gl.WebGL.DECR*/get DECR() { - return 7683; - }, - /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { - return 34056; - }, - /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { - return 35712; - }, - /*web_gl.WebGL.DEPTH*/get DEPTH() { - return 6145; - }, - /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { - return 35056; - }, - /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { - return 36013; - }, - /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { - return 36096; - }, - /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { - return 3414; - }, - /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { - return 256; - }, - /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { - return 2931; - }, - /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { - return 6402; - }, - /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { - return 33189; - }, - /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { - return 33190; - }, - /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { - return 36012; - }, - /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { - return 2932; - }, - /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { - return 2928; - }, - /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { - return 34041; - }, - /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { - return 33306; - }, - /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { - return 2929; - }, - /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { - return 2930; - }, - /*web_gl.WebGL.DITHER*/get DITHER() { - return 3024; - }, - /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { - return 4352; - }, - /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { - return 34862; - }, - /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { - return 34862; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { - return 36009; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { - return 772; - }, - /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { - return 774; - }, - /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { - return 35050; - }, - /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { - return 35048; - }, - /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { - return 35049; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { - return 34963; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { - return 34965; - }, - /*web_gl.WebGL.EQUAL*/get EQUAL() { - return 514; - }, - /*web_gl.WebGL.FASTEST*/get FASTEST() { - return 4353; - }, - /*web_gl.WebGL.FLOAT*/get FLOAT() { - return 5126; - }, - /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { - return 36269; - }, - /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { - return 35674; - }, - /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { - return 35685; - }, - /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { - return 35686; - }, - /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { - return 35675; - }, - /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { - return 35687; - }, - /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { - return 35688; - }, - /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { - return 35676; - }, - /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { - return 35689; - }, - /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { - return 35690; - }, - /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { - return 35664; - }, - /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { - return 35665; - }, - /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { - return 35666; - }, - /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { - return 35632; - }, - /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { - return 35723; - }, - /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { - return 36160; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { - return 33301; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { - return 33300; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { - return 33296; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { - return 33297; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { - return 33302; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { - return 33299; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { - return 36049; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { - return 36048; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { - return 33298; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { - return 33303; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { - return 36051; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { - return 36052; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { - return 36050; - }, - /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { - return 36053; - }, - /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { - return 33304; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { - return 36054; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { - return 36057; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { - return 36055; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { - return 36182; - }, - /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { - return 36061; - }, - /*web_gl.WebGL.FRONT*/get FRONT() { - return 1028; - }, - /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { - return 1032; - }, - /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { - return 2886; - }, - /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { - return 32774; - }, - /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { - return 32779; - }, - /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { - return 32778; - }, - /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { - return 33170; - }, - /*web_gl.WebGL.GEQUAL*/get GEQUAL() { - return 518; - }, - /*web_gl.WebGL.GREATER*/get GREATER() { - return 516; - }, - /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { - return 3411; - }, - /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { - return 5131; - }, - /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { - return 36338; - }, - /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { - return 36341; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { - return 35739; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { - return 35738; - }, - /*web_gl.WebGL.INCR*/get INCR() { - return 7682; - }, - /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { - return 34055; - }, - /*web_gl.WebGL.INT*/get INT() { - return 5124; - }, - /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { - return 35980; - }, - /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { - return 36255; - }, - /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { - return 36298; - }, - /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { - return 36303; - }, - /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { - return 36299; - }, - /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { - return 36300; - }, - /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { - return 35667; - }, - /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { - return 35668; - }, - /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { - return 35669; - }, - /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { - return 1280; - }, - /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { - return 1286; - }, - /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { - return 4294967295.0; - }, - /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { - return 1282; - }, - /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { - return 1281; - }, - /*web_gl.WebGL.INVERT*/get INVERT() { - return 5386; - }, - /*web_gl.WebGL.KEEP*/get KEEP() { - return 7680; - }, - /*web_gl.WebGL.LEQUAL*/get LEQUAL() { - return 515; - }, - /*web_gl.WebGL.LESS*/get LESS() { - return 513; - }, - /*web_gl.WebGL.LINEAR*/get LINEAR() { - return 9729; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { - return 9987; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { - return 9985; - }, - /*web_gl.WebGL.LINES*/get LINES() { - return 1; - }, - /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { - return 2; - }, - /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { - return 3; - }, - /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { - return 2849; - }, - /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { - return 35714; - }, - /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { - return 36336; - }, - /*web_gl.WebGL.LOW_INT*/get LOW_INT() { - return 36339; - }, - /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { - return 6409; - }, - /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { - return 6410; - }, - /*web_gl.WebGL.MAX*/get MAX() { - return 32776; - }, - /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { - return 32883; - }, - /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { - return 35071; - }, - /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { - return 37447; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { - return 36063; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { - return 36063; - }, - /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { - return 35379; - }, - /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { - return 35661; - }, - /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { - return 35374; - }, - /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { - return 35377; - }, - /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { - return 34076; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { - return 34852; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { - return 34852; - }, - /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { - return 33001; - }, - /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { - return 33000; - }, - /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { - return 36203; - }, - /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { - return 37157; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { - return 35373; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { - return 35657; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { - return 36349; - }, - /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { - return 35077; - }, - /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { - return 34024; - }, - /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { - return 36183; - }, - /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { - return 37137; - }, - /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { - return 34930; - }, - /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { - return 34045; - }, - /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { - return 3379; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { - return 35978; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { - return 35979; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { - return 35968; - }, - /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { - return 35376; - }, - /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { - return 35375; - }, - /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { - return 35659; - }, - /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { - return 36348; - }, - /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { - return 34921; - }, - /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { - return 37154; - }, - /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { - return 35660; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { - return 35371; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { - return 35658; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { - return 36347; - }, - /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { - return 3386; - }, - /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { - return 36337; - }, - /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { - return 36340; - }, - /*web_gl.WebGL.MIN*/get MIN() { - return 32775; - }, - /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { - return 35076; - }, - /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { - return 33648; - }, - /*web_gl.WebGL.NEAREST*/get NEAREST() { - return 9728; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { - return 9986; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { - return 9984; - }, - /*web_gl.WebGL.NEVER*/get NEVER() { - return 512; - }, - /*web_gl.WebGL.NICEST*/get NICEST() { - return 4354; - }, - /*web_gl.WebGL.NONE*/get NONE() { - return 0; - }, - /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { - return 517; - }, - /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { - return 0; - }, - /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { - return 37138; - }, - /*web_gl.WebGL.ONE*/get ONE() { - return 1; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { - return 32772; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { - return 32770; - }, - /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { - return 773; - }, - /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { - return 775; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { - return 771; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { - return 769; - }, - /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { - return 1285; - }, - /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { - return 3333; - }, - /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { - return 3330; - }, - /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { - return 3332; - }, - /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { - return 3331; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { - return 35051; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { - return 35053; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { - return 35052; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { - return 35055; - }, - /*web_gl.WebGL.POINTS*/get POINTS() { - return 0; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { - return 32824; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { - return 32823; - }, - /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { - return 10752; - }, - /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { - return 34918; - }, - /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { - return 34919; - }, - /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { - return 35898; - }, - /*web_gl.WebGL.R16F*/get R16F() { - return 33325; - }, - /*web_gl.WebGL.R16I*/get R16I() { - return 33331; - }, - /*web_gl.WebGL.R16UI*/get R16UI() { - return 33332; - }, - /*web_gl.WebGL.R32F*/get R32F() { - return 33326; - }, - /*web_gl.WebGL.R32I*/get R32I() { - return 33333; - }, - /*web_gl.WebGL.R32UI*/get R32UI() { - return 33334; - }, - /*web_gl.WebGL.R8*/get R8() { - return 33321; - }, - /*web_gl.WebGL.R8I*/get R8I() { - return 33329; - }, - /*web_gl.WebGL.R8UI*/get R8UI() { - return 33330; - }, - /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { - return 36756; - }, - /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { - return 35977; - }, - /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { - return 3074; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { - return 36008; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { - return 36010; - }, - /*web_gl.WebGL.RED*/get RED() { - return 6403; - }, - /*web_gl.WebGL.RED_BITS*/get RED_BITS() { - return 3410; - }, - /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { - return 36244; - }, - /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { - return 36161; - }, - /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { - return 36179; - }, - /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { - return 36007; - }, - /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { - return 36178; - }, - /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { - return 36180; - }, - /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { - return 36177; - }, - /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { - return 36163; - }, - /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { - return 36164; - }, - /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { - return 36176; - }, - /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { - return 36011; - }, - /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { - return 36181; - }, - /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { - return 36162; - }, - /*web_gl.WebGL.RENDERER*/get RENDERER() { - return 7937; - }, - /*web_gl.WebGL.REPEAT*/get REPEAT() { - return 10497; - }, - /*web_gl.WebGL.REPLACE*/get REPLACE() { - return 7681; - }, - /*web_gl.WebGL.RG*/get RG() { - return 33319; - }, - /*web_gl.WebGL.RG16F*/get RG16F() { - return 33327; - }, - /*web_gl.WebGL.RG16I*/get RG16I() { - return 33337; - }, - /*web_gl.WebGL.RG16UI*/get RG16UI() { - return 33338; - }, - /*web_gl.WebGL.RG32F*/get RG32F() { - return 33328; - }, - /*web_gl.WebGL.RG32I*/get RG32I() { - return 33339; - }, - /*web_gl.WebGL.RG32UI*/get RG32UI() { - return 33340; - }, - /*web_gl.WebGL.RG8*/get RG8() { - return 33323; - }, - /*web_gl.WebGL.RG8I*/get RG8I() { - return 33335; - }, - /*web_gl.WebGL.RG8UI*/get RG8UI() { - return 33336; - }, - /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { - return 36757; - }, - /*web_gl.WebGL.RGB*/get RGB() { - return 6407; - }, - /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { - return 32857; - }, - /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { - return 36975; - }, - /*web_gl.WebGL.RGB16F*/get RGB16F() { - return 34843; - }, - /*web_gl.WebGL.RGB16I*/get RGB16I() { - return 36233; - }, - /*web_gl.WebGL.RGB16UI*/get RGB16UI() { - return 36215; - }, - /*web_gl.WebGL.RGB32F*/get RGB32F() { - return 34837; - }, - /*web_gl.WebGL.RGB32I*/get RGB32I() { - return 36227; - }, - /*web_gl.WebGL.RGB32UI*/get RGB32UI() { - return 36209; - }, - /*web_gl.WebGL.RGB565*/get RGB565() { - return 36194; - }, - /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { - return 32855; - }, - /*web_gl.WebGL.RGB8*/get RGB8() { - return 32849; - }, - /*web_gl.WebGL.RGB8I*/get RGB8I() { - return 36239; - }, - /*web_gl.WebGL.RGB8UI*/get RGB8UI() { - return 36221; - }, - /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { - return 36758; - }, - /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { - return 35901; - }, - /*web_gl.WebGL.RGBA*/get RGBA() { - return 6408; - }, - /*web_gl.WebGL.RGBA16F*/get RGBA16F() { - return 34842; - }, - /*web_gl.WebGL.RGBA16I*/get RGBA16I() { - return 36232; - }, - /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { - return 36214; - }, - /*web_gl.WebGL.RGBA32F*/get RGBA32F() { - return 34836; - }, - /*web_gl.WebGL.RGBA32I*/get RGBA32I() { - return 36226; - }, - /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { - return 36208; - }, - /*web_gl.WebGL.RGBA4*/get RGBA4() { - return 32854; - }, - /*web_gl.WebGL.RGBA8*/get RGBA8() { - return 32856; - }, - /*web_gl.WebGL.RGBA8I*/get RGBA8I() { - return 36238; - }, - /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { - return 36220; - }, - /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { - return 36759; - }, - /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { - return 36249; - }, - /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { - return 36248; - }, - /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { - return 33320; - }, - /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { - return 35678; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { - return 36289; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { - return 36292; - }, - /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { - return 35682; - }, - /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { - return 35679; - }, - /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { - return 35097; - }, - /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { - return 35680; - }, - /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { - return 36293; - }, - /*web_gl.WebGL.SAMPLES*/get SAMPLES() { - return 32937; - }, - /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { - return 32926; - }, - /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { - return 32936; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { - return 32928; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { - return 32939; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { - return 32938; - }, - /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { - return 3088; - }, - /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { - return 3089; - }, - /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { - return 35981; - }, - /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { - return 35663; - }, - /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { - return 35724; - }, - /*web_gl.WebGL.SHORT*/get SHORT() { - return 5122; - }, - /*web_gl.WebGL.SIGNALED*/get SIGNALED() { - return 37145; - }, - /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { - return 36764; - }, - /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { - return 770; - }, - /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { - return 776; - }, - /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { - return 768; - }, - /*web_gl.WebGL.SRGB*/get SRGB() { - return 35904; - }, - /*web_gl.WebGL.SRGB8*/get SRGB8() { - return 35905; - }, - /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { - return 35907; - }, - /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { - return 35046; - }, - /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { - return 35044; - }, - /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { - return 35045; - }, - /*web_gl.WebGL.STENCIL*/get STENCIL() { - return 6146; - }, - /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { - return 36128; - }, - /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { - return 34817; - }, - /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { - return 34816; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { - return 34818; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { - return 34819; - }, - /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { - return 36003; - }, - /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { - return 36004; - }, - /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { - return 36005; - }, - /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { - return 3415; - }, - /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { - return 1024; - }, - /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { - return 2961; - }, - /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { - return 2964; - }, - /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { - return 2962; - }, - /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { - return 36168; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { - return 2965; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { - return 2966; - }, - /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { - return 2967; - }, - /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { - return 2960; - }, - /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { - return 2963; - }, - /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { - return 2968; - }, - /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { - return 35042; - }, - /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { - return 35040; - }, - /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { - return 35041; - }, - /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { - return 3408; - }, - /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { - return 37139; - }, - /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { - return 37142; - }, - /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { - return 37141; - }, - /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { - return 1; - }, - /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { - return 37143; - }, - /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { - return 37140; - }, - /*web_gl.WebGL.TEXTURE*/get TEXTURE() { - return 5890; - }, - /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { - return 33984; - }, - /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { - return 33985; - }, - /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { - return 33994; - }, - /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { - return 33995; - }, - /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { - return 33996; - }, - /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { - return 33997; - }, - /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { - return 33998; - }, - /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { - return 33999; - }, - /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { - return 34000; - }, - /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { - return 34001; - }, - /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { - return 34002; - }, - /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { - return 34003; - }, - /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { - return 33986; - }, - /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { - return 34004; - }, - /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { - return 34005; - }, - /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { - return 34006; - }, - /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { - return 34007; - }, - /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { - return 34008; - }, - /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { - return 34009; - }, - /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { - return 34010; - }, - /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { - return 34011; - }, - /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { - return 34012; - }, - /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { - return 34013; - }, - /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { - return 33987; - }, - /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { - return 34014; - }, - /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { - return 34015; - }, - /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { - return 33988; - }, - /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { - return 33989; - }, - /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { - return 33990; - }, - /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { - return 33991; - }, - /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { - return 33992; - }, - /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { - return 33993; - }, - /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { - return 3553; - }, - /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { - return 35866; - }, - /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { - return 32879; - }, - /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { - return 33084; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { - return 32873; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { - return 35869; - }, - /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { - return 32874; - }, - /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { - return 34068; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { - return 34893; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { - return 34892; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { - return 34067; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { - return 34070; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { - return 34072; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { - return 34074; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { - return 34069; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { - return 34071; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { - return 34073; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { - return 37167; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { - return 33503; - }, - /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { - return 10240; - }, - /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { - return 33085; - }, - /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { - return 33083; - }, - /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { - return 10241; - }, - /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { - return 33082; - }, - /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { - return 32882; - }, - /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { - return 10242; - }, - /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { - return 10243; - }, - /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { - return 37147; - }, - /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { - return -1; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { - return 36386; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { - return 36388; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { - return 36389; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { - return 35982; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { - return 35983; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { - return 35967; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { - return 35973; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { - return 35972; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { - return 36387; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { - return 35976; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { - return 35971; - }, - /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { - return 4; - }, - /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { - return 6; - }, - /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { - return 5; - }, - /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { - return 35388; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { - return 35394; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { - return 35395; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { - return 35391; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { - return 35392; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { - return 35386; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { - return 35398; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { - return 35396; - }, - /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { - return 35345; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { - return 35368; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { - return 35380; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { - return 35370; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { - return 35369; - }, - /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { - return 35390; - }, - /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { - return 35389; - }, - /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { - return 35387; - }, - /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { - return 35384; - }, - /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { - return 35383; - }, - /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { - return 3317; - }, - /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { - return 37443; - }, - /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { - return 37440; - }, - /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { - return 32878; - }, - /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { - return 37441; - }, - /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { - return 3314; - }, - /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { - return 32877; - }, - /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { - return 3316; - }, - /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { - return 3315; - }, - /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { - return 37144; - }, - /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { - return 5121; - }, - /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { - return 5125; - }, - /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { - return 35899; - }, - /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { - return 34042; - }, - /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { - return 33640; - }, - /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { - return 35902; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { - return 36306; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { - return 36311; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { - return 36307; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { - return 36308; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { - return 36294; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { - return 36295; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { - return 36296; - }, - /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { - return 35863; - }, - /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { - return 5123; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { - return 32819; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { - return 32820; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { - return 33635; - }, - /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { - return 35715; - }, - /*web_gl.WebGL.VENDOR*/get VENDOR() { - return 7936; - }, - /*web_gl.WebGL.VERSION*/get VERSION() { - return 7938; - }, - /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { - return 34229; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { - return 34975; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { - return 35070; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { - return 34338; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { - return 35069; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { - return 34922; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { - return 34373; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { - return 34339; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { - return 34340; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { - return 34341; - }, - /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { - return 35633; - }, - /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { - return 2978; - }, - /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { - return 37149; - }, - /*web_gl.WebGL.ZERO*/get ZERO() { - return 0; - } -}, false); -dart.registerExtension("WebGL", web_gl.WebGL); -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.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); -dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); -dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); -web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl._WebGLRenderingContextBase.__(); - } -}; -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._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); - } - } - detach(detachToken) { - if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); - this[_registry].unregister(detachToken); - } - } - (_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], 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[9]); -dart.setFieldSignature(core._CompileTimeError, () => ({ - __proto__: dart.getFields(core._CompileTimeError.__proto__), - [_errorMsg$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._CompileTimeError, ['toString']); -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$4]) + "' is already initialized."; - } -}; -(core._DuplicatedFieldInitializerError.new = function(_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[9]); -dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ - __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$4]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); -var _used$ = dart.privateName(core, "_used"); -var _digits$ = dart.privateName(core, "_digits"); -var _isNegative = dart.privateName(core, "_isNegative"); -var _isZero = dart.privateName(core, "_isZero"); -var _dlShift = dart.privateName(core, "_dlShift"); -var _drShift = dart.privateName(core, "_drShift"); -var _absCompare = dart.privateName(core, "_absCompare"); -var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); -var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); -var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); -var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); -var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); -var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); -var _divRem = dart.privateName(core, "_divRem"); -var _div = dart.privateName(core, "_div"); -var _rem = dart.privateName(core, "_rem"); -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], 1112, 35, "source"); - let radix = opts && 'radix' in opts ? opts.radix : null; - let result = core._BigIntImpl._tryParse(source, {radix: radix}); - if (result == null) { - dart.throw(new core.FormatException.new("Could not parse BigInt", source)); - } - return result; - } - static _parseDecimal(source, 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); - if (digitInPartCount === 4) digitInPartCount = 0; - for (let i = 0; i < source.length; i = i + 1) { - part = part * 10 + source[$codeUnitAt](i) - 48; - if ((digitInPartCount = digitInPartCount + 1) === 4) { - result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); - part = 0; - digitInPartCount = 0; - } - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _codeUnitToRadixValue(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 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](); - let digits = _native_typed_data.NativeUint16List.new(chunkCount); - let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; - let digitIndex = dart.notNull(digits[$length]) - 1; - let i = startPos; - let chunk = 0; - for (let j = 0; j < lastDigitLength; j = j + 1) { - 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]((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]((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]((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], 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) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); - if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; - result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _tryParse(source, opts) { - 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); - let signIndex = 1; - let hexIndex = 3; - let decimalIndex = 4; - let nonDecimalHexIndex = 5; - if (match == null) return null; - let isNegative = match._get(signIndex) === "-"; - let decimalMatch = match._get(decimalIndex); - let hexMatch = match._get(hexIndex); - let nonDecimalMatch = match._get(nonDecimalHexIndex); - if (radix == null) { - if (decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (hexMatch != null) { - return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); - } - return null; - } - if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, 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], 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], 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) { - resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); - } - return resultDigits; - } - static from(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; - if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); - 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 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], 1316, 12, "_digitBits == 16"); - if (isNegative) { - if (value === -9223372036854776000.0) { - let digits = _native_typed_data.NativeUint16List.new(4); - digits[$_set](3, 32768); - return new core._BigIntImpl.__(true, 4, digits); - } - value = -dart.notNull(value); - } - if (dart.notNull(value) < 65536) { - let digits = _native_typed_data.NativeUint16List.new(1); - digits[$_set](0, value); - return new core._BigIntImpl.__(isNegative, 1, digits); - } - if (dart.notNull(value) <= 4294967295) { - let digits = _native_typed_data.NativeUint16List.new(2); - digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); - digits[$_set](1, value[$rightShift](16)); - return new core._BigIntImpl.__(isNegative, 2, digits); - } - let bits = value[$bitLength]; - let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); - let i = 0; - while (value !== 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], 1354, 42, "value"); - if (value[$isNaN] || value[$isInfinite]) { - dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); - } - let isNegative = dart.notNull(value) < 0; - if (isNegative) value = -dart.notNull(value); - value = value[$floorToDouble](); - if (value === 0) return core._BigIntImpl.zero; - let bits = core._BigIntImpl._bitsForFromDouble; - for (let i = 0; i < 8; i = i + 1) { - bits[$_set](i, 0); - } - 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], 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))); - unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); - unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); - let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); - let absResult = unshiftedBig; - if (exponent < 0) { - absResult = unshiftedBig['>>'](-exponent); - } else if (exponent > 0) { - absResult = unshiftedBig['<<'](exponent); - } - 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$]); - } - abs() { - return dart.test(this[_isNegative]) ? this._negate() : this; - } - [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(n); - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); - } - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _dlShiftDigits(xDigits, xUsed, n, 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; - } - if (n === 0 && resultDigits == xDigits) { - return xUsed; - } - let resultUsed = dart.notNull(xUsed) + dart.notNull(n); - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); - } - for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i, 0); - } - return resultUsed; - } - [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) - dart.notNull(n); - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); - } - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - for (let i = 0; i < dart.notNull(n); i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - static _lsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](carryBitShift) - 1; - let carry = 0; - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - let digit = xDigits[$_get](i); - resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); - carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); - } - resultDigits[$_set](digitShift, carry); - } - ['<<'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_dlShift](digitShift); - } - let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _lShiftDigits(xDigits, xUsed, n, 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) { - return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); - } - let resultUsed = dart.notNull(xUsed) + digitsShift + 1; - core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); - let i = digitsShift; - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - if (resultDigits[$_get](resultUsed - 1) === 0) { - resultUsed = resultUsed - 1; - } - return resultUsed; - } - static _rsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](bitShift) - 1; - let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); - let last = dart.notNull(xUsed) - digitsShift - 1; - for (let i = 0; i < last; i = i + 1) { - let digit = xDigits[$_get](i + digitsShift + 1); - resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); - carry = digit[$rightShift](bitShift); - } - resultDigits[$_set](last, carry); - } - ['>>'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_drShift](digitShift); - } - let used = this[_used$]; - let resultUsed = dart.notNull(used) - digitShift; - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { - return result['-'](core._BigIntImpl.one); - } - for (let i = 0; i < digitShift; i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - [_absCompare](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], 1623, 39, "other"); - if (this[_isNegative] == other[_isNegative]) { - let result = this[_absCompare](other); - return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; - } - return dart.test(this[_isNegative]) ? -1 : 1; - } - static _compareDigits(digits, used, otherDigits, 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) { - result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); - if (result !== 0) return result; - } - } - return result; - } - static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - resultDigits[$_set](used, carry); - } - static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - } - [_absAddSetSign](other, 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], 1698, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultUsed = dart.notNull(used) + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absSubSetSign](other, isNegative) { - 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], 1717, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - let otherUsed = other[_used$]; - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultDigits = _native_typed_data.NativeUint16List.new(used); - core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, used, resultDigits); - } - [_absAndSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absAndNotSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let m = core._min(resultUsed, other[_used$]); - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); - } - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, digits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absOrSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absXorSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - ['&'](other) { - core._BigIntImpl.as(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])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absAndSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); - return p[_absAndNotSetSign](n1, false); - } - ['|'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absOrSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['^'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absXorSetSign](other1, false); - } - return this[_absXorSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['~']() { - if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; - if (dart.test(this[_isNegative])) { - return this[_absSubSetSign](core._BigIntImpl.one, false); - } - return this[_absAddSetSign](core._BigIntImpl.one, true); - } - ['+'](other) { - core._BigIntImpl.as(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]; - if (isNegative == other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - ['-'](other) { - core._BigIntImpl.as(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]; - if (isNegative != other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, 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]((t228 = i, i = dart.notNull(t228) + 1, t228))); - let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - 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]((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], 2019, 48, "other"); - let used = this[_used$]; - let otherUsed = other[_used$]; - if (used === 0 || otherUsed === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); - i = i + 1; - } - return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); - } - static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, 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], 2044, 12, "resultDigits.length >= i"); - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); - i = i + 1; - } - return resultUsed; - } - static _estimateQuotientDigit(topDigitDivisor, digits, 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], 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; - } - this[_divRem](other); - let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); - let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); - let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); - if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { - quo = quo._negate(); - } - return quo; - } - [_rem](other) { - 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; - } - this[_divRem](other); - let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); - let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); - if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { - rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); - } - if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { - rem = rem._negate(); - } - return rem; - } - [_divRem](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], 2122, 12, "_used >= other._used"); - let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; - let resultDigits = null; - let resultUsed = null; - let yDigits = null; - let yUsed = null; - if (nsh > 0) { - yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); - yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); - resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); - resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); - } else { - yDigits = other[_digits$]; - yUsed = other[_used$]; - resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); - resultUsed = this[_used$]; - } - let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); - let i = resultUsed; - let j = dart.notNull(i) - dart.notNull(yUsed); - 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], 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]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); - } - let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); - nyDigits[$_set](yUsed, 1); - core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); - i = dart.notNull(i) - 1; - while (j > 0) { - let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); - j = j - 1; - core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); - if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { - let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - } - } - i = dart.notNull(i) - 1; - } - core._BigIntImpl._lastDividendDigits = this[_digits$]; - core._BigIntImpl._lastDividendUsed = this[_used$]; - core._BigIntImpl._lastDivisorDigits = other[_digits$]; - core._BigIntImpl._lastDivisorUsed = other[_used$]; - core._BigIntImpl._lastQuoRemDigits = resultDigits; - core._BigIntImpl._lastQuoRemUsed = resultUsed; - core._BigIntImpl._lastRemUsed = yUsed; - core._BigIntImpl._lastRem_nsh = nsh; - } - get hashCode() { - function combine(hash, 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], 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); - } - dart.fn(finish, T$0.intToint()); - if (dart.test(this[_isZero])) return 6707; - let hash = dart.test(this[_isNegative]) ? 83585 : 429689; - for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { - hash = combine(hash, this[_digits$][$_get](i)); - } - return finish(hash); - } - _equals(other) { - if (other == null) return false; - return core._BigIntImpl.is(other) && this.compareTo(other) === 0; - } - get bitLength() { - if (this[_used$] === 0) return 0; - if (dart.test(this[_isNegative])) return this['~']().bitLength; - return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; - } - ['~/'](other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_div](other); - } - remainder(other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_rem](other); - } - ['/'](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], 2311, 41, "other"); - return dart.notNull(this.compareTo(other)) < 0; - } - ['<='](other) { - core._BigIntImpl.as(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], 2317, 41, "other"); - return dart.notNull(this.compareTo(other)) > 0; - } - ['>='](other) { - core._BigIntImpl.as(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], 2333, 48, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - let result = this[_rem](other); - if (dart.test(result[_isNegative])) { - if (dart.test(other[_isNegative])) { - result = result['-'](other); - } else { - result = result['+'](other); - } - } - return result; - } - get sign() { - if (this[_used$] === 0) return 0; - return dart.test(this[_isNegative]) ? -1 : 1; - } - get isEven() { - return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; - } - get isOdd() { - return !dart.test(this.isEven); - } - get isNegative() { - return this[_isNegative]; - } - pow(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))); - } - if (exponent === 0) return core._BigIntImpl.one; - let result = core._BigIntImpl.one; - let base = this; - while (exponent !== 0) { - if ((dart.notNull(exponent) & 1) === 1) { - result = result['*'](base); - } - exponent = exponent[$rightShift](1); - if (exponent !== 0) { - base = base['*'](base); - } - } - return result; - } - modPow(exponent, modulus) { - core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); - core._BigIntImpl.as(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))); - } - if (dart.test(modulus['<='](core._BigIntImpl.zero))) { - dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); - } - if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; - let modulusUsed = modulus[_used$]; - let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; - let exponentBitlen = exponent.bitLength; - if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; - let z = new core._BigIntClassic.new(modulus); - let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); - let gUsed = z.convert(this, gDigits); - for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { - resultDigits[$_set](j, gDigits[$_get](j)); - } - let resultUsed = gUsed; - let result2Used = null; - for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { - result2Used = z.sqr(resultDigits, resultUsed, result2Digits); - if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { - resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); - } else { - let tmpDigits = resultDigits; - let tmpUsed = resultUsed; - resultDigits = result2Digits; - resultUsed = result2Used; - result2Digits = tmpDigits; - result2Used = tmpUsed; - } - } - return z.revert(resultDigits, resultUsed); - } - static _binaryGcd(x, y, 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$]; - let yUsed = y[_used$]; - let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; - let unshiftedMaxUsed = maxUsed; - xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); - yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); - let shiftAmount = 0; - if (dart.test(inv)) { - if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - } else { - if (dart.test(x[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); - } - if (dart.test(y[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); - } - if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); - core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); - shiftAmount = shiftAmount + 1; - } - if (shiftAmount >= 16) { - let digitShiftAmount = (shiftAmount / 16)[$truncate](); - xUsed = dart.notNull(xUsed) - digitShiftAmount; - yUsed = dart.notNull(yUsed) - digitShiftAmount; - maxUsed = dart.notNull(maxUsed) - digitShiftAmount; - } - if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { - let tmpDigits = xDigits; - let tmpUsed = xUsed; - xDigits = yDigits; - xUsed = yUsed; - yDigits = tmpDigits; - yUsed = tmpUsed; - } - } - let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); - let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); - let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; - let abcdUsed = dart.notNull(maxUsed) + 1; - let abcdLen = abcdUsed + 2; - let aDigits = core._dummyList; - let aIsNegative = false; - let cDigits = core._dummyList; - let cIsNegative = false; - if (ac) { - aDigits = _native_typed_data.NativeUint16List.new(abcdLen); - aDigits[$_set](0, 1); - cDigits = _native_typed_data.NativeUint16List.new(abcdLen); - } - let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let bIsNegative = false; - let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let dIsNegative = false; - dDigits[$_set](0, 1); - while (true) { - while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); - if (ac) { - if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (aIsNegative) { - if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); - aIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); - } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); - } - while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); - if (ac) { - if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (cIsNegative) { - if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); - cIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); - } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); - } - if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); - if (ac) { - if (aIsNegative === cIsNegative) { - let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); - if (dart.notNull(a_cmp_c) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } else { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); - aIsNegative = !aIsNegative && a_cmp_c !== 0; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } - } - if (bIsNegative === dIsNegative) { - let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); - if (dart.notNull(b_cmp_d) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } else { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); - bIsNegative = !bIsNegative && b_cmp_d !== 0; - } - } else { - core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } - } else { - core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); - if (ac) { - if (cIsNegative === aIsNegative) { - let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); - if (dart.notNull(c_cmp_a) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } else { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); - cIsNegative = !cIsNegative && c_cmp_a !== 0; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } - } - if (dIsNegative === bIsNegative) { - let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); - if (dart.notNull(d_cmp_b) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } else { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); - dIsNegative = !dIsNegative && d_cmp_b !== 0; - } - } else { - core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } - } - let i = maxUsed; - while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) - i = dart.notNull(i) - 1; - if (i === 0) break; - } - if (!dart.test(inv)) { - if (shiftAmount > 0) { - maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); - } - return new core._BigIntImpl.__(false, maxUsed, vDigits); - } - let i = dart.notNull(maxUsed) - 1; - while (i > 0 && vDigits[$_get](i) === 0) - i = i - 1; - if (i !== 0 || vDigits[$_get](0) !== 1) { - dart.throw(core.Exception.new("Not coprime")); - } - if (dIsNegative) { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = false; - } else { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - } - return new core._BigIntImpl.__(false, maxUsed, dDigits); - } - modInverse(modulus) { - core._BigIntImpl.as(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))); - } - if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; - let tmp = this; - if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { - tmp = tmp['%'](modulus); - } - return core._BigIntImpl._binaryGcd(modulus, tmp, true); - } - gcd(other) { - core._BigIntImpl.as(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], 2758, 30, "width"); - return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); - } - toSigned(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)); - } - get isValidInt() { - if (dart.notNull(this[_used$]) <= 3) return true; - let asInt = this.toInt(); - if (!asInt[$toDouble]()[$isFinite]) return false; - return this._equals(core._BigIntImpl._fromInt(asInt)); - } - toInt() { - let result = 0; - for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { - result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); - } - return dart.test(this[_isNegative]) ? -result : result; - } - toDouble() { - 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]; - if (length > 971 + 53) { - return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; - } - if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); - let biasedExponent = length - 53 + 1075; - resultBits[$_set](6, (biasedExponent & 15) << 4); - 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], 2859, 22, "n"); - while (cachedBitsLength < dart.notNull(n)) { - let nextDigit = null; - let nextDigitLength = 16; - if (digitIndex < 0) { - nextDigit = 0; - digitIndex = digitIndex - 1; - } else { - nextDigit = this[_digits$][$_get](digitIndex); - if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; - digitIndex = digitIndex - 1; - } - cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); - cachedBitsLength = cachedBitsLength + nextDigitLength; - } - let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); - cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); - cachedBitsLength = cachedBitsLength - dart.notNull(n); - return result; - }; - dart.fn(readBits, T$0.intToint()); - let leadingBits = dart.notNull(readBits(5)) & 15; - 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)); - } - function roundUp() { - let carry = 1; - for (let i = 0; i < 8; i = i + 1) { - if (carry === 0) break; - let sum = dart.notNull(resultBits[$_get](i)) + carry; - resultBits[$_set](i, sum & 255); - carry = sum[$rightShift](8); - } - } - dart.fn(roundUp, T$.VoidTovoid()); - if (readBits(1) === 1) { - if (resultBits[$_get](0)[$isOdd]) { - roundUp(); - } else { - if (cachedBits !== 0) { - roundUp(); - } else { - for (let i = digitIndex; i >= 0; i = i - 1) { - if (this[_digits$][$_get](i) !== 0) { - roundUp(); - break; - } - } - } - } - } - return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); - } - toString() { - if (this[_used$] === 0) return "0"; - if (this[_used$] === 1) { - if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); - return dart.toString(this[_digits$][$_get](0)); - } - let decimalDigitChunks = T$.JSArrayOfString().of([]); - let rest = dart.test(this.isNegative) ? this._negate() : this; - while (dart.notNull(rest[_used$]) > 1) { - let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); - decimalDigitChunks[$add](digits4); - if (digits4.length === 1) decimalDigitChunks[$add]("000"); - if (digits4.length === 2) decimalDigitChunks[$add]("00"); - if (digits4.length === 3) decimalDigitChunks[$add]("0"); - rest = rest['~/'](core._BigIntImpl._bigInt10000); - } - decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); - if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); - return decimalDigitChunks[$reversed][$join](); - } - [_toRadixCodeUnit](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], 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); - if (dart.test(this[_isNegative])) return "-" + digitString; - return digitString; - } - if (radix === 16) return this[_toHexString](); - let base = core._BigIntImpl._fromInt(radix); - let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); - let rest = this.abs(); - while (!dart.test(rest[_isZero])) { - let digit = rest.remainder(base).toInt(); - rest = rest['~/'](base); - reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); - } - let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); - if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); - return digitString; - } - [_toHexString]() { - let chars = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { - let chunk = this[_digits$][$_get](i); - for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); - chunk = chunk[$rightShift](4); - } - } - let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); - while (msbChunk !== 0) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); - msbChunk = msbChunk[$rightShift](4); - } - if (dart.test(this[_isNegative])) { - chars[$add](45); - } - return core.String.fromCharCodes(chars[$reversed]); - } -}; -(core._BigIntImpl.__ = function(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"); - 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], 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; - ; -}).prototype = core._BigIntImpl.prototype; -dart.addTypeTests(core._BigIntImpl); -dart.addTypeCaches(core._BigIntImpl); -core._BigIntImpl[dart.implements] = () => [core.BigInt]; -dart.setMethodSignature(core._BigIntImpl, () => ({ - __proto__: dart.getMethods(core._BigIntImpl.__proto__), - _negate: dart.fnType(core._BigIntImpl, []), - abs: dart.fnType(core._BigIntImpl, []), - [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), - [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), - '<<': dart.fnType(core._BigIntImpl, [core.int]), - '>>': dart.fnType(core._BigIntImpl, [core.int]), - [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '~': dart.fnType(core._BigIntImpl, []), - '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), - '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '/': dart.fnType(core.double, [core.BigInt]), - '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - pow: dart.fnType(core._BigIntImpl, [core.int]), - modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), - modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), - toSigned: dart.fnType(core._BigIntImpl, [core.int]), - toInt: dart.fnType(core.int, []), - toDouble: dart.fnType(core.double, []), - [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), - 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, - bitLength: core.int, - sign: core.int, - isEven: core.bool, - isOdd: core.bool, - isNegative: core.bool, - isValidInt: core.bool -})); -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, { - /*core._BigIntImpl._digitBits*/get _digitBits() { - return 16; - }, - /*core._BigIntImpl._digitBase*/get _digitBase() { - return 65536; - }, - /*core._BigIntImpl._digitMask*/get _digitMask() { - return 65535; - }, - /*core._BigIntImpl.zero*/get zero() { - return core._BigIntImpl._fromInt(0); - }, - /*core._BigIntImpl.one*/get one() { - return core._BigIntImpl._fromInt(1); - }, - /*core._BigIntImpl.two*/get two() { - return core._BigIntImpl._fromInt(2); - }, - /*core._BigIntImpl._minusOne*/get _minusOne() { - return core._BigIntImpl.one._negate(); - }, - /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { - return core._BigIntImpl._fromInt(10000); - }, - /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { - return null; - }, - set _lastDividendDigits(value) {}, - /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { - return null; - }, - set _lastDividendUsed(value) {}, - /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { - return null; - }, - set _lastDivisorDigits(value) {}, - /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { - return null; - }, - set _lastDivisorUsed(value) {}, - /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { - return null; - }, - set _lastQuoRemDigits(value) {}, - /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { - return null; - }, - set _lastQuoRemUsed(value) {}, - /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { - return null; - }, - set _lastRemUsed(value) {}, - /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { - return null; - }, - 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(value) { - if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); - }, - /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { - return _native_typed_data.NativeUint8List.new(8); - }, - /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { - return 3; - } -}, false); -core._BigIntReduction = class _BigIntReduction extends core.Object {}; -(core._BigIntReduction.new = function() { - ; -}).prototype = core._BigIntReduction.prototype; -dart.addTypeTests(core._BigIntReduction); -dart.addTypeCaches(core._BigIntReduction); -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], 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], 3050, 16, "remainder._isNegative"); - remainder = remainder['+'](this[_modulus$]); - } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); - used = remainder[_used$]; - digits = remainder[_digits$]; - } else { - used = x[_used$]; - digits = x[_digits$]; - } - let i = used; - while ((i = dart.notNull(i) - 1) >= 0) { - resultDigits[$_set](i, digits[$_get](i)); - } - return used; - } - revert(xDigits, 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], 3071, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); - if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { - return xUsed; - } - let reverted = this.revert(xDigits, xUsed); - let rem = reverted[_rem](this[_normalizedModulus]); - return this.convert(rem, xDigits); - } - sqr(xDigits, xUsed, 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) { - resultDigits[$_set](i, b2[_digits$][$_get](i)); - } - for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, 0); - } - return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); - } - mul(xDigits, xUsed, yDigits, yUsed, 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], 3039, 23, "_modulus"); - this[_modulus$] = _modulus; - this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); - ; -}).prototype = core._BigIntClassic.prototype; -dart.addTypeTests(core._BigIntClassic); -dart.addTypeCaches(core._BigIntClassic); -core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; -dart.setMethodSignature(core._BigIntClassic, () => ({ - __proto__: dart.getMethods(core._BigIntClassic.__proto__), - convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), - revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), - [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), - 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[9]); -dart.setFieldSignature(core._BigIntClassic, () => ({ - __proto__: dart.getFields(core._BigIntClassic.__proto__), - [_modulus$]: dart.finalFieldType(core._BigIntImpl), - [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) -})); -var message$11 = dart.privateName(core, "Deprecated.message"); -core.Deprecated = class Deprecated extends core.Object { - get message() { - return this[message$11]; - } - 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; - } - toString() { - return "Deprecated feature: " + dart.str(this.message); - } -}; -(core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[164], 77, 25, "message"); - this[message$11] = message; - ; -}).prototype = core.Deprecated.prototype; -dart.addTypeTests(core.Deprecated); -dart.addTypeCaches(core.Deprecated); -dart.setGetterSignature(core.Deprecated, () => ({ - __proto__: dart.getGetters(core.Deprecated.__proto__), - expires: core.String -})); -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 { - 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[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; - ; -}).prototype = core.Provisional.prototype; -dart.addTypeTests(core.Provisional); -dart.addTypeCaches(core.Provisional); -dart.setGetterSignature(core.Provisional, () => ({ - __proto__: dart.getGetters(core.Provisional.__proto__), - message: dart.nullable(core.String) -})); -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 { - get name() { - return this[name$12]; - } - set name(value) { - super.name = value; - } - get options() { - return this[options$]; - } - 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[164], 188, 23, "name"); - this[name$12] = name; - this[options$] = options; - ; -}).prototype = core.pragma.prototype; -dart.addTypeTests(core.pragma); -dart.addTypeCaches(core.pragma); -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; - } - static get one() { - return core._BigIntImpl.one; - } - static get two() { - return core._BigIntImpl.two; - } - static parse(source, opts) { - 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], 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.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; - } - static as(o) { - if (o === true || o === false) return o; - return dart.as(o, core.bool); - } - static fromEnvironment(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"); - 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], 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[165], 103, 24, "other"); - return dart.test(other) && this; - } - [$bitOr](other) { - if (other == null) dart.nullFailed(I[165], 109, 24, "other"); - return dart.test(other) || this; - } - [$bitXor](other) { - if (other == null) dart.nullFailed(I[165], 115, 24, "other"); - return !dart.test(other) === this; - } - [$toString]() { - return this ? "true" : "false"; - } -}; -(core.bool[dart.mixinNew] = function() { -}).prototype = core.bool.prototype; -dart.addTypeCaches(core.bool); -dart.setMethodSignature(core.bool, () => ({ - __proto__: dart.getMethods(core.bool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) -})); -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[166], 88, 33, "a"); - if (b == null) dart.nullFailed(I[166], 88, 47, "b"); - return a[$compareTo](b); - } - } - (Comparable.new = function() { - ; - }).prototype = Comparable.prototype; - dart.addTypeTests(Comparable); - Comparable.prototype[_is_Comparable_default] = true; - dart.addTypeCaches(Comparable); - dart.setStaticMethodSignature(Comparable, () => ['compare']); - dart.setLibraryUri(Comparable, I[9]); - return Comparable; -}); -core.Comparable = core.Comparable$(); -dart.addTypeTests(core.Comparable, _is_Comparable_default); -var isUtc$ = dart.privateName(core, "DateTime.isUtc"); -var _value$4 = dart.privateName(core, "_value"); -core.DateTime = class DateTime extends core.Object { - get isUtc() { - return this[isUtc$]; - } - set isUtc(value) { - super.isUtc = value; - } - static _microsecondInRoundedMilliseconds(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[167], 289, 32, "formattedString"); - let re = core.DateTime._parseFormat; - let match = re.firstMatch(formattedString); - if (match != null) { - function parseIntOrZero(matched) { - if (matched == null) return 0; - return core.int.parse(matched); - } - dart.fn(parseIntOrZero, T$0.StringNToint()); - function parseMilliAndMicroseconds(matched) { - if (matched == null) return 0; - let length = matched.length; - 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; - if (i < matched.length) { - result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); - } - } - return result; - } - dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); - let years = core.int.parse(dart.nullCheck(match._get(1))); - let month = core.int.parse(dart.nullCheck(match._get(2))); - let day = core.int.parse(dart.nullCheck(match._get(3))); - let hour = parseIntOrZero(match._get(4)); - let minute = parseIntOrZero(match._get(5)); - let second = parseIntOrZero(match._get(6)); - let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); - let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); - let microsecond = milliAndMicroseconds[$remainder](1000); - let isUtc = false; - if (match._get(8) != null) { - isUtc = true; - let tzSign = match._get(9); - if (tzSign != null) { - let sign = tzSign === "-" ? -1 : 1; - let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); - let minuteDifference = parseIntOrZero(match._get(11)); - minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); - minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); - } - } - let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); - if (value == null) { - dart.throw(new core.FormatException.new("Time out of range", formattedString)); - } - return new core.DateTime._withValue(value, {isUtc: isUtc}); - } else { - dart.throw(new core.FormatException.new("Invalid date format", formattedString)); - } - } - static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); - try { - return core.DateTime.parse(formattedString); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - 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], 497, 26, "other"); - return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); - } - isAfter(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], 503, 34, "other"); - return this[_value$4] == other.millisecondsSinceEpoch; - } - compareTo(other) { - if (other == null) dart.nullFailed(I[7], 507, 26, "other"); - return this[_value$4][$compareTo](other.millisecondsSinceEpoch); - } - get hashCode() { - return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; - } - toLocal() { - if (dart.test(this.isUtc)) { - return new core.DateTime._withValue(this[_value$4], {isUtc: false}); - } - return this; - } - toUtc() { - if (dart.test(this.isUtc)) return this; - return new core.DateTime._withValue(this[_value$4], {isUtc: true}); - } - static _fourDigits(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); - if (absN >= 100) return sign + "0" + dart.str(absN); - if (absN >= 10) return sign + "00" + dart.str(absN); - return sign + "000" + dart.str(absN); - } - static _sixDigits(n) { - 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[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[167], 563, 32, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - toString() { - let y = core.DateTime._fourDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - toIso8601String() { - let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - add(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], 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], 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], 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() { - return this[_value$4]; - } - get microsecondsSinceEpoch() { - return dart.notNull(this[_value$4]) * 1000; - } - get timeZoneName() { - if (dart.test(this.isUtc)) return "UTC"; - return _js_helper.Primitives.getTimeZoneName(this); - } - get timeZoneOffset() { - if (dart.test(this.isUtc)) return core.Duration.zero; - return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); - } - get year() { - return _js_helper.Primitives.getYear(this); - } - get month() { - return _js_helper.Primitives.getMonth(this); - } - get day() { - return _js_helper.Primitives.getDay(this); - } - get hour() { - return _js_helper.Primitives.getHours(this); - } - get minute() { - return _js_helper.Primitives.getMinutes(this); - } - get second() { - return _js_helper.Primitives.getSeconds(this); - } - get millisecond() { - return _js_helper.Primitives.getMilliseconds(this); - } - get microsecond() { - return 0; - } - get weekday() { - return _js_helper.Primitives.getWeekday(this); - } -}; -(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[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[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], 379, 43, "millisecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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], 384, 43, "microsecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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[167], 401, 28, "_value"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - 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) { - dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); - } - _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], 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))); - ; -}).prototype = core.DateTime.prototype; -(core.DateTime._now = function() { - this[isUtc$] = false; - this[_value$4] = _js_helper.Primitives.dateNow(); - ; -}).prototype = core.DateTime.prototype; -dart.addTypeTests(core.DateTime); -dart.addTypeCaches(core.DateTime); -core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; -dart.setMethodSignature(core.DateTime, () => ({ - __proto__: dart.getMethods(core.DateTime.__proto__), - isBefore: dart.fnType(core.bool, [core.DateTime]), - isAfter: dart.fnType(core.bool, [core.DateTime]), - isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), - compareTo: dart.fnType(core.int, [core.DateTime]), - [$compareTo]: dart.fnType(core.int, [core.DateTime]), - toLocal: dart.fnType(core.DateTime, []), - toUtc: dart.fnType(core.DateTime, []), - toIso8601String: dart.fnType(core.String, []), - add: dart.fnType(core.DateTime, [core.Duration]), - 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, - microsecondsSinceEpoch: core.int, - timeZoneName: core.String, - timeZoneOffset: core.Duration, - year: core.int, - month: core.int, - day: core.int, - hour: core.int, - minute: core.int, - second: core.int, - millisecond: core.int, - microsecond: core.int, - weekday: core.int -})); -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, { - /*core.DateTime.monday*/get monday() { - return 1; - }, - /*core.DateTime.tuesday*/get tuesday() { - return 2; - }, - /*core.DateTime.wednesday*/get wednesday() { - return 3; - }, - /*core.DateTime.thursday*/get thursday() { - return 4; - }, - /*core.DateTime.friday*/get friday() { - return 5; - }, - /*core.DateTime.saturday*/get saturday() { - return 6; - }, - /*core.DateTime.sunday*/get sunday() { - return 7; - }, - /*core.DateTime.daysPerWeek*/get daysPerWeek() { - return 7; - }, - /*core.DateTime.january*/get january() { - return 1; - }, - /*core.DateTime.february*/get february() { - return 2; - }, - /*core.DateTime.march*/get march() { - return 3; - }, - /*core.DateTime.april*/get april() { - return 4; - }, - /*core.DateTime.may*/get may() { - return 5; - }, - /*core.DateTime.june*/get june() { - return 6; - }, - /*core.DateTime.july*/get july() { - return 7; - }, - /*core.DateTime.august*/get august() { - return 8; - }, - /*core.DateTime.september*/get september() { - return 9; - }, - /*core.DateTime.october*/get october() { - return 10; - }, - /*core.DateTime.november*/get november() { - return 11; - }, - /*core.DateTime.december*/get december() { - return 12; - }, - /*core.DateTime.monthsPerYear*/get monthsPerYear() { - return 12; - }, - /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { - return 8640000000000000.0; - }, - /*core.DateTime._parseFormat*/get _parseFormat() { - return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); - } -}, false); -var _duration$ = dart.privateName(core, "Duration._duration"); -var _duration = dart.privateName(core, "_duration"); -core.Duration = class Duration extends core.Object { - get [_duration]() { - return this[_duration$]; - } - 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[168], 193, 32, "other"); - return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); - } - ['-'](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[168], 208, 27, "factor"); - return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); - } - ['~/'](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[168], 224, 28, "other"); - return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); - } - ['>'](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[168], 230, 29, "other"); - return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); - } - ['>='](other) { - if (other == null) dart.nullFailed(I[168], 233, 29, "other"); - return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); - } - get inDays() { - return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); - } - get inHours() { - return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); - } - get inMinutes() { - return (dart.notNull(this[_duration]) / 60000000)[$truncate](); - } - get inSeconds() { - return (dart.notNull(this[_duration]) / 1000000)[$truncate](); - } - get inMilliseconds() { - return (dart.notNull(this[_duration]) / 1000)[$truncate](); - } - get inMicroseconds() { - return this[_duration]; - } - _equals(other) { - if (other == null) return false; - return core.Duration.is(other) && this[_duration] == other.inMicroseconds; - } - get hashCode() { - return dart.hashCode(this[_duration]); - } - compareTo(other) { - core.Duration.as(other); - if (other == null) dart.nullFailed(I[168], 319, 26, "other"); - return this[_duration][$compareTo](other[_duration]); - } - toString() { - 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; - } - abs() { - return new core.Duration._microseconds(this[_duration][$abs]()); - } - _negate() { - return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); - } -}; -(core.Duration.new = function(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"); - 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[168], 189, 37, "_duration"); - this[_duration$] = _duration; - ; -}).prototype = core.Duration.prototype; -dart.addTypeTests(core.Duration); -dart.addTypeCaches(core.Duration); -core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; -dart.setMethodSignature(core.Duration, () => ({ - __proto__: dart.getMethods(core.Duration.__proto__), - '+': dart.fnType(core.Duration, [core.Duration]), - '-': dart.fnType(core.Duration, [core.Duration]), - '*': dart.fnType(core.Duration, [core.num]), - '~/': dart.fnType(core.Duration, [core.int]), - '<': dart.fnType(core.bool, [core.Duration]), - '>': dart.fnType(core.bool, [core.Duration]), - '<=': dart.fnType(core.bool, [core.Duration]), - '>=': dart.fnType(core.bool, [core.Duration]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - abs: dart.fnType(core.Duration, []), - _negate: dart.fnType(core.Duration, []) -})); -dart.setGetterSignature(core.Duration, () => ({ - __proto__: dart.getGetters(core.Duration.__proto__), - inDays: core.int, - inHours: core.int, - inMinutes: core.int, - inSeconds: core.int, - inMilliseconds: core.int, - inMicroseconds: core.int, - isNegative: core.bool -})); -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, { - /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { - return 1000; - }, - /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { - return 1000; - }, - /*core.Duration.secondsPerMinute*/get secondsPerMinute() { - return 60; - }, - /*core.Duration.minutesPerHour*/get minutesPerHour() { - return 60; - }, - /*core.Duration.hoursPerDay*/get hoursPerDay() { - return 24; - }, - /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { - return 1000000; - }, - /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { - return 60000000; - }, - /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { - return 3600000000.0; - }, - /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { - return 86400000000.0; - }, - /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { - return 60000; - }, - /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { - return 3600000; - }, - /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { - return 86400000; - }, - /*core.Duration.secondsPerHour*/get secondsPerHour() { - return 3600; - }, - /*core.Duration.secondsPerDay*/get secondsPerDay() { - return 86400; - }, - /*core.Duration.minutesPerDay*/get minutesPerDay() { - return 1440; - }, - /*core.Duration.zero*/get zero() { - return C[431] || CT.C431; - } -}, false); -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[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[9]); -core.NullThrownError = class NullThrownError extends core.Error { - static ['_#new#tearOff']() { - return new core.NullThrownError.new(); - } - toString() { - return "Throw of null."; - } -}; -(core.NullThrownError.new = function() { - core.NullThrownError.__proto__.new.call(this); - ; -}).prototype = core.NullThrownError.prototype; -dart.addTypeTests(core.NullThrownError); -dart.addTypeCaches(core.NullThrownError); -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"); -var message$12 = dart.privateName(core, "ArgumentError.message"); -core.ArgumentError = class ArgumentError extends core.Error { - get invalidValue() { - return this[invalidValue]; - } - set invalidValue(value) { - super.invalidValue = value; - } - get name() { - return this[name$13]; - } - set name(value) { - super.name = value; - } - get message() { - return this[message$12]; - } - 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) { - 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)" : ""); - } - get [_errorExplanation$]() { - return ""; - } - toString() { - let name = this[$name]; - let nameString = name == null ? "" : " (" + dart.str(name) + ")"; - let message = this[$message]; - let messageString = message == null ? "" : ": " + dart.str(message); - let prefix = dart.str(this[_errorName$]) + nameString + messageString; - if (!dart.test(this[_hasValue$])) return prefix; - let explanation = this[_errorExplanation$]; - let errorValue = core.Error.safeToString(this[$invalidValue]); - return prefix + dart.str(explanation) + ": " + dart.str(errorValue); - } -}; -(core.ArgumentError.new = function(message = null, name = null) { - this[message$12] = message; - this[name$13] = name; - this[invalidValue] = null; - this[_hasValue$] = false; - core.ArgumentError.__proto__.new.call(this); - ; -}).prototype = core.ArgumentError.prototype; -(core.ArgumentError.value = function(value, name = null, message = null) { - this[name$13] = name; - this[message$12] = message; - this[invalidValue] = value; - this[_hasValue$] = true; - core.ArgumentError.__proto__.new.call(this); - ; -}).prototype = core.ArgumentError.prototype; -(core.ArgumentError.notNull = function(name = null) { - this[name$13] = name; - this[_hasValue$] = false; - this[message$12] = "Must not be null"; - this[invalidValue] = null; - core.ArgumentError.__proto__.new.call(this); - ; -}).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[9]); -dart.setFieldSignature(core.ArgumentError, () => ({ - __proto__: dart.getFields(core.ArgumentError.__proto__), - [_hasValue$]: dart.finalFieldType(core.bool), - invalidValue: dart.finalFieldType(dart.dynamic), - name: dart.finalFieldType(dart.nullable(core.String)), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(core.ArgumentError, ['toString']); -dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); -var start = dart.privateName(core, "RangeError.start"); -var end = dart.privateName(core, "RangeError.end"); -core.RangeError = class RangeError extends core.ArgumentError { - get start() { - return this[start]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end]; - } - 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[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[28], 347, 34, "index"); - length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - 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[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)); - } - if (end != null) { - if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { - endName == null ? endName = "end" : null; - dart.throw(new core.RangeError.range(end, start, length, endName, message)); - } - return end; - } - return length; - } - static checkNotNegative(value, name = null, message = null) { - 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, (t230 = name, t230 == null ? "index" : t230), message)); - } - return value; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); - let explanation = ""; - let start = this.start; - let end = this.end; - if (start == null) { - if (end != null) { - explanation = ": Not less than or equal to " + dart.str(end); - } - } else if (end == null) { - explanation = ": Not greater than or equal to " + dart.str(start); - } else if (dart.notNull(end) > dart.notNull(start)) { - explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); - } else if (dart.notNull(end) < dart.notNull(start)) { - explanation = ": Valid value range is empty"; - } else { - explanation = ": Only valid value is " + dart.str(start); - } - return explanation; - } -}; -(core.RangeError.new = function(message) { - this[start] = null; - this[end] = null; - core.RangeError.__proto__.new.call(this, message); - ; -}).prototype = core.RangeError.prototype; -(core.RangeError.value = function(value, name = null, message = null) { - 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, (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 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, (t230 = message, t230 == null ? "Invalid value" : t230)); - ; -}).prototype = core.RangeError.prototype; -dart.addTypeTests(core.RangeError); -dart.addTypeCaches(core.RangeError); -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 { - get indexable() { - return this[indexable$]; - } - set indexable(value) { - super.indexable = value; - } - get length() { - return this[length$]; - } - 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; - } - get end() { - return dart.notNull(this.length) - 1; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - 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"; - } - if (this.length === 0) { - return ": no indices are valid"; - } - return ": index should be less than " + dart.str(this.length); - } -}; -(core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - 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; - 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[9]); -dart.setFieldSignature(core.IndexError, () => ({ - __proto__: dart.getFields(core.IndexError.__proto__), - 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[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[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 = ""; - let $arguments = this[_arguments$]; - if ($arguments != null) { - for (let argument of $arguments) { - sb.write(comma); - sb.write(core.Error.safeToString(argument)); - comma = ", "; - } - } - let namedArguments = this[_namedArguments$]; - if (namedArguments != null) { - namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 891, 38, "key"); - sb.write(comma); - sb.write(core._symbolToString(key)); - sb.write(": "); - sb.write(core.Error.safeToString(value)); - comma = ", "; - }, T$0.SymbolAnddynamicTovoid())); - } - let memberName = core._symbolToString(this[_memberName$]); - let receiverText = core.Error.safeToString(this[_receiver$]); - let actualParameters = dart.str(sb); - let invocation = this[_invocation$]; - let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; - return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; - } -}; -(core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); - this[_receiver$] = _receiver; - this[_memberName$] = invocation.memberName; - this[_arguments$] = invocation.positionalArguments; - this[_namedArguments$] = invocation.namedArguments; - this[_invocation$] = invocation; - core.NoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = core.NoSuchMethodError.prototype; -(core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); - this[_receiver$] = receiver; - this[_memberName$] = memberName; - this[_arguments$] = positionalArguments; - this[_namedArguments$] = namedArguments; - this[_invocation$] = null; - core.NoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = core.NoSuchMethodError.prototype; -dart.addTypeTests(core.NoSuchMethodError); -dart.addTypeCaches(core.NoSuchMethodError); -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)), - [_memberName$]: dart.finalFieldType(core.Symbol), - [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), - [_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 { - get message() { - return this[message$13]; - } - 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[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[9]); -dart.setFieldSignature(core.UnsupportedError, () => ({ - __proto__: dart.getFields(core.UnsupportedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.UnsupportedError, ['toString']); -var message$14 = dart.privateName(core, "UnimplementedError.message"); -core.UnimplementedError = class UnimplementedError extends core.Error { - get message() { - return this[message$14]; - } - 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"; - } -}; -(core.UnimplementedError.new = function(message = null) { - this[message$14] = message; - core.UnimplementedError.__proto__.new.call(this); - ; -}).prototype = core.UnimplementedError.prototype; -dart.addTypeTests(core.UnimplementedError); -dart.addTypeCaches(core.UnimplementedError); -core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; -dart.setLibraryUri(core.UnimplementedError, I[9]); -dart.setFieldSignature(core.UnimplementedError, () => ({ - __proto__: dart.getFields(core.UnimplementedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.UnimplementedError, ['toString']); -var message$15 = dart.privateName(core, "StateError.message"); -core.StateError = class StateError extends core.Error { - get message() { - return this[message$15]; - } - 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[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[9]); -dart.setFieldSignature(core.StateError, () => ({ - __proto__: dart.getFields(core.StateError.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core.StateError, ['toString']); -var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); -core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { - get modifiedObject() { - return this[modifiedObject$]; - } - 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."; - } - return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; - } -}; -(core.ConcurrentModificationError.new = function(modifiedObject = null) { - this[modifiedObject$] = modifiedObject; - core.ConcurrentModificationError.__proto__.new.call(this); - ; -}).prototype = core.ConcurrentModificationError.prototype; -dart.addTypeTests(core.ConcurrentModificationError); -dart.addTypeCaches(core.ConcurrentModificationError); -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"; - } - get stackTrace() { - return null; - } -}; -(core.OutOfMemoryError.new = function() { - ; -}).prototype = core.OutOfMemoryError.prototype; -dart.addTypeTests(core.OutOfMemoryError); -dart.addTypeCaches(core.OutOfMemoryError); -core.OutOfMemoryError[dart.implements] = () => [core.Error]; -dart.setGetterSignature(core.OutOfMemoryError, () => ({ - __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) -})); -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"; - } - get stackTrace() { - return null; - } -}; -(core.StackOverflowError.new = function() { - ; -}).prototype = core.StackOverflowError.prototype; -dart.addTypeTests(core.StackOverflowError); -dart.addTypeCaches(core.StackOverflowError); -core.StackOverflowError[dart.implements] = () => [core.Error]; -dart.setGetterSignature(core.StackOverflowError, () => ({ - __proto__: dart.getGetters(core.StackOverflowError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) -})); -dart.setLibraryUri(core.StackOverflowError, I[9]); -dart.defineExtensionMethods(core.StackOverflowError, ['toString']); -dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); -var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); -core.CyclicInitializationError = class CyclicInitializationError extends core.Error { - get variableName() { - return this[variableName$]; - } - 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"; - } -}; -(core.CyclicInitializationError.new = function(variableName = null) { - this[variableName$] = variableName; - core.CyclicInitializationError.__proto__.new.call(this); - ; -}).prototype = core.CyclicInitializationError.prototype; -dart.addTypeTests(core.CyclicInitializationError); -dart.addTypeCaches(core.CyclicInitializationError); -dart.setLibraryUri(core.CyclicInitializationError, I[9]); -dart.setFieldSignature(core.CyclicInitializationError, () => ({ - __proto__: dart.getFields(core.CyclicInitializationError.__proto__), - variableName: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); -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.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"; - return "Exception: " + dart.str(message); - } -}; -(core._Exception.new = function(message = null) { - this.message = message; - ; -}).prototype = core._Exception.prototype; -dart.addTypeTests(core._Exception); -dart.addTypeCaches(core._Exception); -core._Exception[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core._Exception, I[9]); -dart.setFieldSignature(core._Exception, () => ({ - __proto__: dart.getFields(core._Exception.__proto__), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(core._Exception, ['toString']); -var message$16 = dart.privateName(core, "FormatException.message"); -var source$ = dart.privateName(core, "FormatException.source"); -var offset$ = dart.privateName(core, "FormatException.offset"); -core.FormatException = class FormatException extends core.Object { - get message() { - return this[message$16]; - } - set message(value) { - super.message = value; - } - get source() { - return this[source$]; - } - set source(value) { - super.source = value; - } - get offset() { - return this[offset$]; - } - 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; - if (message != null && "" !== message) { - report = report + ": " + dart.str(message); - } - let offset = this.offset; - let source = this.source; - if (typeof source == 'string') { - if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { - offset = null; - } - if (offset == null) { - if (source.length > 78) { - source = source[$substring](0, 75) + "..."; - } - return report + "\n" + dart.str(source); - } - let lineNum = 1; - let lineStart = 0; - let previousCharWasCR = false; - for (let i = 0; i < dart.notNull(offset); i = i + 1) { - let char = source[$codeUnitAt](i); - if (char === 10) { - if (lineStart !== i || !previousCharWasCR) { - lineNum = lineNum + 1; - } - lineStart = i + 1; - previousCharWasCR = false; - } else if (char === 13) { - lineNum = lineNum + 1; - lineStart = i + 1; - previousCharWasCR = true; - } - } - if (lineNum > 1) { - report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); - } else { - report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); - } - let lineEnd = source.length; - for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { - let char = source[$codeUnitAt](i); - if (char === 10 || char === 13) { - lineEnd = i; - break; - } - } - let length = dart.notNull(lineEnd) - lineStart; - let start = lineStart; - let end = lineEnd; - let prefix = ""; - let postfix = ""; - if (length > 78) { - let index = dart.notNull(offset) - lineStart; - if (index < 75) { - end = start + 75; - postfix = "..."; - } else if (dart.notNull(end) - dart.notNull(offset) < 75) { - start = dart.notNull(end) - 75; - prefix = "..."; - } else { - start = dart.notNull(offset) - 36; - end = dart.notNull(offset) + 36; - prefix = postfix = "..."; - } - } - let slice = source[$substring](start, end); - let markOffset = dart.notNull(offset) - start + prefix.length; - return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; - } else { - if (offset != null) { - report = report + (" (at offset " + dart.str(offset) + ")"); - } - return report; - } - } -}; -(core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[169], 69, 31, "message"); - this[message$16] = message; - this[source$] = source; - this[offset$] = offset; - ; -}).prototype = core.FormatException.prototype; -dart.addTypeTests(core.FormatException); -dart.addTypeCaches(core.FormatException); -core.FormatException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.FormatException, I[9]); -dart.setFieldSignature(core.FormatException, () => ({ - __proto__: dart.getFields(core.FormatException.__proto__), - message: dart.finalFieldType(core.String), - source: dart.finalFieldType(dart.dynamic), - offset: dart.finalFieldType(dart.nullable(core.int)) -})); -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"; - } -}; -(core.IntegerDivisionByZeroException.new = function() { - ; -}).prototype = core.IntegerDivisionByZeroException.prototype; -dart.addTypeTests(core.IntegerDivisionByZeroException); -dart.addTypeCaches(core.IntegerDivisionByZeroException); -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']); -dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); -core.Function = class Function extends core.Object { - static _toMangledNames(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], 126, 29, "symbol"); - result[$_set](core._symbolToString(symbol), value); - }, T$0.SymbolAnddynamicTovoid())); - return result; - } - static is(o) { - return typeof o == "function"; - } - static as(o) { - if (typeof o == "function") return o; - return dart.as(o, core.Function); - } - static apply($function, positionalArguments, namedArguments = 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], 115, 31, "symbol"); - map[core._symbolToString(symbol)] = arg; - }, T$0.SymbolAnddynamicTovoid())); - return dart.dcall($function, positionalArguments, map); - } - return dart.dcall($function, positionalArguments); - } -}; -(core.Function.new = function() { - ; -}).prototype = core.Function.prototype; -dart.addTypeCaches(core.Function); -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 t230; - t230 = this[_positional]; - return t230 == null ? C[434] || CT.C434 : t230; - } - get namedArguments() { - let t230; - t230 = this[_named]; - return t230 == null ? C[435] || CT.C435 : t230; - } - get isMethod() { - return this[_named] != null; - } - get isGetter() { - return this[_positional] == null; - } - get isSetter() { - return this[_positional] != null && this[_named] == null; - } - get isAccessor() { - return this[_named] == null; - } - static _ensureNonNullTypes(types) { - 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) { - dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); - } - } - return typeArguments; - } -}; -(core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = core._Invocation._ensureNonNullTypes(types); - 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[11], 113, 27, "memberName"); - this.memberName = memberName; - 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[11], 118, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = C[1] || CT.C1; - this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); - this[_named] = null; - ; -}).prototype = core._Invocation.prototype; -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, - namedArguments: core.Map$(core.Symbol, dart.dynamic), - isMethod: core.bool, - isGetter: core.bool, - isSetter: core.bool, - isAccessor: core.bool -})); -dart.setLibraryUri(core._Invocation, I[9]); -dart.setFieldSignature(core._Invocation, () => ({ - __proto__: dart.getFields(core._Invocation.__proto__), - memberName: dart.finalFieldType(core.Symbol), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), - [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) -})); -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 __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); - class _GeneratorIterable extends _internal.ListIterable$(E) { - get length() { - return this[length$0]; - } - 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 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[36], 823, 22, "n"); - return n; - } - } - (_GeneratorIterable.new = function(length, generator) { - let t230; - if (length == null) dart.nullFailed(I[36], 812, 27, "length"); - this[length$0] = length; - 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.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); - dart.setLibraryUri(_GeneratorIterable, I[9]); - dart.setFieldSignature(_GeneratorIterable, () => ({ - __proto__: dart.getFields(_GeneratorIterable.__proto__), - length: dart.finalFieldType(core.int), - [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) - })); - dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); - dart.defineExtensionAccessors(_GeneratorIterable, ['length']); - return _GeneratorIterable; -}); -core._GeneratorIterable = core._GeneratorIterable$(); -dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); -const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); -core.BidirectionalIterator$ = dart.generic(E => { - class BidirectionalIterator extends core.Object {} - (BidirectionalIterator.new = function() { - ; - }).prototype = BidirectionalIterator.prototype; - dart.addTypeTests(BidirectionalIterator); - BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; - dart.addTypeCaches(BidirectionalIterator); - BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - 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; - } - static as(o) { - if (o == null) return o; - return dart.as(o, core.Null); - } - static ['_#_uninstantiable#tearOff']() { - return core.Null._uninstantiable(); - } - get hashCode() { - return super[$hashCode]; - } - toString() { - return "null"; - } -}; -(core.Null[dart.mixinNew] = function() { -}).prototype = core.Null.prototype; -dart.addTypeCaches(core.Null); -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 {}; -(core.Pattern.new = function() { - ; -}).prototype = core.Pattern.prototype; -dart.addTypeTests(core.Pattern); -dart.addTypeCaches(core.Pattern); -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], 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 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], 769, 31, "text"); - return _js_helper.quoteStringForRegExp(text); - } -}; -(core.RegExp[dart.mixinNew] = function() { -}).prototype = core.RegExp.prototype; -dart.addTypeTests(core.RegExp); -dart.addTypeCaches(core.RegExp); -core.RegExp[dart.implements] = () => [core.Pattern]; -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[171], 102, 40, "elements"); - return new (collection.UnmodifiableSetView$(E)).new((() => { - 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[171], 128, 39, "source"); - let newSet = opts && 'newSet' in opts ? opts.newSet : null; - return new (_internal.CastSet$(S, T)).new(source, newSet); - } - } - dart.addTypeTests(Set); - Set.prototype[_is_Set_default] = true; - dart.addTypeCaches(Set); - dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); - dart.setLibraryUri(Set, I[9]); - dart.setStaticFieldSignature(Set, () => ['_redirecting#']); - return Set; -}); -core.Set = core.Set$(); -dart.addTypeTests(core.Set, _is_Set_default); -const _is_Sink_default = Symbol('_is_Sink_default'); -core.Sink$ = dart.generic(T => { - class Sink extends core.Object {} - (Sink.new = function() { - ; - }).prototype = Sink.prototype; - dart.addTypeTests(Sink); - Sink.prototype[_is_Sink_default] = true; - dart.addTypeCaches(Sink); - 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()); - } -}; -(core.StackTrace.new = function() { - ; -}).prototype = core.StackTrace.prototype; -dart.addTypeTests(core.StackTrace); -dart.addTypeCaches(core.StackTrace); -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[437] || CT.C437; - } -}, false); -var _stackTrace = dart.privateName(core, "_stackTrace"); -const _stackTrace$ = _StringStackTrace__stackTrace; -core._StringStackTrace = class _StringStackTrace extends core.Object { - get [_stackTrace]() { - return this[_stackTrace$]; - } - 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[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[9]); -dart.setFieldSignature(core._StringStackTrace, () => ({ - __proto__: dart.getFields(core._StringStackTrace.__proto__), - [_stackTrace]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._StringStackTrace, ['toString']); -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$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); - this[_stop] = null; - } - } - stop() { - this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; - } - reset() { - let t231; - this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); - } - get elapsedTicks() { - 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}); - } - get elapsedMicroseconds() { - let ticks = this.elapsedTicks; - if (core.Stopwatch._frequency === 1000000) return ticks; - 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], 535, 12, "_frequency == 1000000"); - return (dart.notNull(ticks) / 1000)[$truncate](); - } - get isRunning() { - return this[_stop] == null; - } - static _initTicker() { - _js_helper.Primitives.initTicker(); - return _js_helper.Primitives.timerFrequency; - } - static _now() { - return _js_helper.Primitives.timerTicks(); - } -}; -(core.Stopwatch.new = function() { - this[_start$3] = 0; - this[_stop] = 0; - core.Stopwatch._frequency; -}).prototype = core.Stopwatch.prototype; -dart.addTypeTests(core.Stopwatch); -dart.addTypeCaches(core.Stopwatch); -dart.setMethodSignature(core.Stopwatch, () => ({ - __proto__: dart.getMethods(core.Stopwatch.__proto__), - start: dart.fnType(dart.void, []), - 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, - elapsedTicks: core.int, - elapsed: core.Duration, - elapsedMicroseconds: core.int, - elapsedMilliseconds: core.int, - isRunning: core.bool -})); -dart.setLibraryUri(core.Stopwatch, I[9]); -dart.setFieldSignature(core.Stopwatch, () => ({ - __proto__: dart.getFields(core.Stopwatch.__proto__), - [_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(); - } -}, false); -var string$ = dart.privateName(core, "Runes.string"); -core.Runes = class Runes extends core.Iterable$(core.int) { - get string() { - return this[string$]; - } - 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); - } - get last() { - if (this.string.length === 0) { - dart.throw(new core.StateError.new("No elements.")); - } - let length = this.string.length; - let code = this.string[$codeUnitAt](length - 1); - if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { - let previousCode = this.string[$codeUnitAt](length - 2); - if (dart.test(core._isLeadSurrogate(previousCode))) { - return core._combineSurrogatePair(previousCode, code); - } - } - return code; - } -}; -(core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[173], 770, 14, "string"); - this[string$] = string; - core.Runes.__proto__.new.call(this); - ; -}).prototype = core.Runes.prototype; -dart.addTypeTests(core.Runes); -dart.addTypeCaches(core.Runes); -dart.setGetterSignature(core.Runes, () => ({ - __proto__: dart.getGetters(core.Runes.__proto__), - iterator: core.RuneIterator, - [$iterator]: core.RuneIterator -})); -dart.setLibraryUri(core.Runes, I[9]); -dart.setFieldSignature(core.Runes, () => ({ - __proto__: dart.getFields(core.Runes.__proto__), - string: dart.finalFieldType(core.String) -})); -dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); -var string$0 = dart.privateName(core, "RuneIterator.string"); -var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); -var _position$0 = dart.privateName(core, "_position"); -var _nextPosition = dart.privateName(core, "_nextPosition"); -var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); -core.RuneIterator = class RuneIterator extends core.Object { - get string() { - return this[string$0]; - } - 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[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))); - } - } - get rawIndex() { - return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; - } - set rawIndex(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[173], 879, 19, "rawIndex"); - core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); - this[_checkSplitSurrogate](rawIndex); - this[_position$0] = this[_nextPosition] = rawIndex; - this[_currentCodePoint] = -1; - } - get current() { - return this[_currentCodePoint]; - } - get currentSize() { - return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); - } - get currentAsString() { - if (this[_position$0] == this[_nextPosition]) return ""; - if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); - return this.string[$substring](this[_position$0], this[_nextPosition]); - } - moveNext() { - this[_position$0] = this[_nextPosition]; - if (this[_position$0] === this.string.length) { - this[_currentCodePoint] = -1; - return false; - } - let codeUnit = this.string[$codeUnitAt](this[_position$0]); - let nextPosition = dart.notNull(this[_position$0]) + 1; - if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { - let nextCodeUnit = this.string[$codeUnitAt](nextPosition); - if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { - this[_nextPosition] = nextPosition + 1; - this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); - return true; - } - } - this[_nextPosition] = nextPosition; - this[_currentCodePoint] = codeUnit; - return true; - } - movePrevious() { - this[_nextPosition] = this[_position$0]; - if (this[_position$0] === 0) { - this[_currentCodePoint] = -1; - return false; - } - let position = dart.notNull(this[_position$0]) - 1; - let codeUnit = this.string[$codeUnitAt](position); - if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { - let prevCodeUnit = this.string[$codeUnitAt](position - 1); - if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { - this[_position$0] = position - 1; - this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); - return true; - } - } - this[_position$0] = position; - this[_currentCodePoint] = codeUnit; - return true; - } -}; -(core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[173], 819, 23, "string"); - this[_currentCodePoint] = -1; - this[string$0] = string; - this[_position$0] = 0; - this[_nextPosition] = 0; - ; -}).prototype = core.RuneIterator.prototype; -(core.RuneIterator.at = function(string, 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; - this[_nextPosition] = index; - core.RangeError.checkValueInInterval(index, 0, string.length); - this[_checkSplitSurrogate](index); -}).prototype = core.RuneIterator.prototype; -dart.addTypeTests(core.RuneIterator); -dart.addTypeCaches(core.RuneIterator); -core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; -dart.setMethodSignature(core.RuneIterator, () => ({ - __proto__: dart.getMethods(core.RuneIterator.__proto__), - [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), - reset: dart.fnType(dart.void, [], [core.int]), - moveNext: dart.fnType(core.bool, []), - movePrevious: dart.fnType(core.bool, []) -})); -dart.setGetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getGetters(core.RuneIterator.__proto__), - rawIndex: core.int, - current: core.int, - currentSize: core.int, - currentAsString: core.String -})); -dart.setSetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getSetters(core.RuneIterator.__proto__), - rawIndex: core.int -})); -dart.setLibraryUri(core.RuneIterator, I[9]); -dart.setFieldSignature(core.RuneIterator, () => ({ - __proto__: dart.getFields(core.RuneIterator.__proto__), - string: dart.finalFieldType(core.String), - [_position$0]: dart.fieldType(core.int), - [_nextPosition]: dart.fieldType(core.int), - [_currentCodePoint]: dart.fieldType(core.int) -})); -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.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[438] || CT.C438; - }, - /*core.Symbol.empty*/get empty() { - return C[439] || CT.C439; - } -}, false); -core.Uri = class Uri extends core.Object { - static get base() { - let uri = _js_helper.Primitives.currentUri(); - 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], 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"); - 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], 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"); - 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 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); - if (dataDelta === 0) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); - return core.UriData._parse(uri, 5, null).uri; - } else if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; - } - } - let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t231 = indices; - (() => { - 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) { - indices[$_set](7, end); - } - let schemeEnd = indices[$_get](1); - if (dart.notNull(schemeEnd) >= dart.notNull(start)) { - state = core._scan(uri, start, schemeEnd, 20, indices); - if (state === 20) { - indices[$_set](7, schemeEnd); - } - } - let hostStart = dart.notNull(indices[$_get](2)) + 1; - let portStart = indices[$_get](3); - let pathStart = indices[$_get](4); - let queryStart = indices[$_get](5); - let fragmentStart = indices[$_get](6); - let scheme = null; - if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; - if (dart.notNull(pathStart) < hostStart) { - pathStart = queryStart; - } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { - pathStart = dart.notNull(schemeEnd) + 1; - } - if (dart.notNull(portStart) < hostStart) portStart = pathStart; - 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 { - if (schemeEnd === dart.notNull(start) + 4) { - if (uri[$startsWith]("file", start)) { - scheme = "file"; - if (hostStart <= dart.notNull(start)) { - let schemeAuth = "file://"; - let delta = 2; - if (!uri[$startsWith]("/", pathStart)) { - schemeAuth = "file:///"; - delta = 3; - } - uri = schemeAuth + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = 7; - portStart = 7; - pathStart = 7; - queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); - start = 0; - end = uri.length; - } else if (pathStart == queryStart) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](pathStart, queryStart, "/"); - queryStart = dart.notNull(queryStart) + 1; - fragmentStart = dart.notNull(fragmentStart) + 1; - end = dart.notNull(end) + 1; - } else { - uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } else if (uri[$startsWith]("http", start)) { - scheme = "http"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 3; - queryStart = dart.notNull(queryStart) - 3; - fragmentStart = dart.notNull(fragmentStart) - 3; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { - scheme = "https"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 4; - queryStart = dart.notNull(queryStart) - 4; - fragmentStart = dart.notNull(fragmentStart) - 4; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } - } - if (isSimple) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { - uri = uri[$substring](start, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) - dart.notNull(start); - fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); - } - return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); - } - 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], 1159, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); - try { - return core.Uri.parse(uri, start, end); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - throw e; - } - } - static encodeComponent(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], 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], 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], 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], 1284, 35, "uri"); - return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); - } - static decodeFull(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], 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], 1329, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); - let index = element[$indexOf]("="); - if (index === -1) { - if (element !== "") { - map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); - } - } else if (index !== 0) { - let key = element[$substring](0, index); - let value = element[$substring](index + 1); - map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); - } - return map; - }, T$0.MapOfString$StringAndStringToMapOfString$String())); - } - static parseIPv4Address(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 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], 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()); - let result = _native_typed_data.NativeUint8List.new(4); - let partIndex = 0; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char !== 46) { - if ((char ^ 48) >>> 0 > 9) { - error("invalid character", i); - } - } else { - if (partIndex === 3) { - error("IPv4 address should contain exactly 4 parts", i); - } - let part = core.int.parse(host[$substring](partStart, i)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); - partStart = dart.notNull(i) + 1; - } - } - if (partIndex !== 3) { - error("IPv4 address should contain exactly 4 parts", end); - } - let part = core.int.parse(host[$substring](partStart, end)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set](partIndex, part); - return result; - } - static parseIPv6Address(host, start = 0, end = null) { - 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) { - 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.StringAndintNTovoid()); - function parseHex(start, 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); - } - let value = core.int.parse(host[$substring](start, end), {radix: 16}); - if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { - error("each part must be in the range of `0x0..0xFFFF`", start); - } - return value; - } - dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short", null); - let parts = T$.JSArrayOfint().of([]); - let wildcardSeen = false; - let seenDot = false; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char === 58) { - if (i == start) { - i = dart.notNull(i) + 1; - if (host[$codeUnitAt](i) !== 58) { - error("invalid start colon.", i); - } - partStart = i; - } - if (i == partStart) { - if (wildcardSeen) { - error("only one wildcard `::` is allowed", i); - } - wildcardSeen = true; - parts[$add](-1); - } else { - parts[$add](parseHex(partStart, i)); - } - partStart = dart.notNull(i) + 1; - } else if (char === 46) { - seenDot = true; - } - } - if (parts[$length] === 0) error("too few parts", null); - let atEnd = partStart == end; - let isLastWildcard = parts[$last] === -1; - if (atEnd && !isLastWildcard) { - error("expected a part after last `:`", end); - } - if (!atEnd) { - if (!seenDot) { - parts[$add](parseHex(partStart, end)); - } else { - let last = core.Uri._parseIPv4Address(host, partStart, end); - parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); - parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); - } - } - if (wildcardSeen) { - if (dart.notNull(parts[$length]) > 7) { - 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", null); - } - let bytes = _native_typed_data.NativeUint8List.new(16); - for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { - let value = parts[$_get](i); - if (value === -1) { - let wildCardLength = 9 - dart.notNull(parts[$length]); - for (let j = 0; j < wildCardLength; j = j + 1) { - bytes[$_set](index, 0); - bytes[$_set](index + 1, 0); - index = index + 2; - } - } else { - bytes[$_set](index, value[$rightShift](8)); - bytes[$_set](index + 1, dart.notNull(value) & 255); - index = index + 2; - } - } - return bytes; - } -}; -(core.Uri[dart.mixinNew] = function() { -}).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.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"); -var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); -var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); -var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); -var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); -var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); -var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); -var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); -var _userInfo$ = dart.privateName(core, "_userInfo"); -var _host$ = dart.privateName(core, "_host"); -var _port$ = dart.privateName(core, "_port"); -var _query$ = dart.privateName(core, "_query"); -var _fragment$ = dart.privateName(core, "_fragment"); -var _initializeText = dart.privateName(core, "_initializeText"); -var _text$ = dart.privateName(core, "_text"); -var _writeAuthority = dart.privateName(core, "_writeAuthority"); -var _mergePaths = dart.privateName(core, "_mergePaths"); -var _toFilePath = dart.privateName(core, "_toFilePath"); -core._Uri = class _Uri extends core.Object { - get [_text$]() { - let t234; - if (!dart.test(this[___Uri__text_isSet])) { - let t233 = this[_initializeText](); - if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t233; - this[___Uri__text_isSet] = true; - } - t234 = this[___Uri__text]; - return t234; - } - get pathSegments() { - let t235; - if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t234 = core._Uri._computePathSegments(this.path); - if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t234; - this[___Uri_pathSegments_isSet] = true; - } - t235 = this[___Uri_pathSegments]; - return t235; - } - get hashCode() { - let t236; - if (!dart.test(this[___Uri_hashCode_isSet])) { - let t235 = dart.hashCode(this[_text$]); - if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t235; - this[___Uri_hashCode_isSet] = true; - } - t236 = this[___Uri_hashCode]; - return t236; - } - get queryParameters() { - let t237; - if (!dart.test(this[___Uri_queryParameters_isSet])) { - 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] = t236; - this[___Uri_queryParameters_isSet] = true; - } - t237 = this[___Uri_queryParameters]; - return t237; - } - get queryParametersAll() { - let t238; - if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t237 = core._Uri._computeQueryParametersAll(this.query); - if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t237; - this[___Uri_queryParametersAll_isSet] = true; - } - 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 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)) { - scheme = core._Uri._makeScheme(uri, start, schemeEnd); - } else if (schemeEnd == start) { - core._Uri._fail(uri, start, "Invalid empty scheme"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - } - let userInfo = ""; - let host = null; - let port = null; - if (dart.notNull(hostStart) > dart.notNull(start)) { - let userInfoStart = dart.notNull(schemeEnd) + 3; - if (userInfoStart < dart.notNull(hostStart)) { - userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); - } - host = core._Uri._makeHost(uri, hostStart, portStart, false); - if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - 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); - } - } - let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); - let query = null; - if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { - query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); - } - let fragment = null; - if (dart.notNull(fragmentStart) < dart.notNull(end)) { - fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - static new(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; - if (scheme == null) { - scheme = ""; - } else { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - } - userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); - if (userInfo == null) { - dart.throw("unreachable"); - } - host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); - if (query === "") query = null; - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); - port = core._Uri._makePort(port, scheme); - let isFile = scheme === "file"; - if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { - host = ""; - } - let hasAuthority = host != null; - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - if (path == null) { - dart.throw("unreachable"); - } - if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { - let allowScheme = scheme[$isNotEmpty] || host != null; - path = core._Uri._normalizeRelativePath(path, allowScheme); - } else { - path = core._Uri._removeDotSegments(path); - } - if (host == null && path[$startsWith]("//")) { - host = ""; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - 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 ['_#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() { - if (!dart.test(this.hasAuthority)) return ""; - let sb = new core.StringBuffer.new(); - this[_writeAuthority](sb); - return sb.toString(); - } - get userInfo() { - return this[_userInfo$]; - } - get host() { - let host = this[_host$]; - if (host == null) return ""; - if (host[$startsWith]("[")) { - return host[$substring](1, host.length - 1); - } - return host; - } - get port() { - let t238; - t238 = this[_port$]; - return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; - } - static _defaultPort(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 t238; - t238 = this[_query$]; - return t238 == null ? "" : t238; - } - get fragment() { - let t238; - t238 = this[_fragment$]; - return t238 == null ? "" : t238; - } - isScheme(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._caseInsensitiveStartsWith(scheme, thisScheme, 0); - } - static _fail(uri, index, 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], 1741, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); - let userInfo = ""; - let host = null; - let port = null; - if (authority != null && authority[$isNotEmpty]) { - let hostStart = 0; - for (let i = 0; i < authority.length; i = i + 1) { - if (authority[$codeUnitAt](i) === 64) { - userInfo = authority[$substring](0, i); - hostStart = i + 1; - break; - } - } - let hostEnd = hostStart; - if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { - let escapeForZoneID = -1; - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - let char = authority[$codeUnitAt](hostEnd); - if (char === 37 && escapeForZoneID < 0) { - escapeForZoneID = hostEnd; - if (authority[$startsWith]("25", hostEnd + 1)) { - hostEnd = hostEnd + 2; - } - } else if (char === 93) { - break; - } - } - if (hostEnd === authority.length) { - dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); - } - core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); - hostEnd = hostEnd + 1; - if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { - dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); - } - } - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - if (authority[$codeUnitAt](hostEnd) === 58) { - let portString = authority[$substring](hostEnd + 1); - if (portString[$isNotEmpty]) port = core.int.parse(portString); - break; - } - } - host = authority[$substring](hostStart, hostEnd); - } - return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); - } - static file(path, opts) { - 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((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 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((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], 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)) { - dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); - } - } - } - } - static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - 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)) { - dart.throw(new core.ArgumentError.new("Illegal character in path")); - } else { - dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); - } - } - } - } - static _checkWindowsDriveLetter(charCode, 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; - } - if (dart.test(argumentError)) { - dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } - } - static _makeFileUri(path, 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](""); - } - if (path[$startsWith]("/")) { - return core._Uri.new({scheme: "file", pathSegments: segments}); - } else { - return core._Uri.new({pathSegments: segments}); - } - } - static _makeWindowsFileUrl(path, 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, "\\"); - } else { - path = path[$substring](4); - if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); - } - } - } else { - path = path[$replaceAll]("/", "\\"); - } - if (path.length > 1 && path[$codeUnitAt](1) === 58) { - core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); - if (path.length === 2 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); - } - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - if (path[$startsWith]("\\")) { - if (path[$startsWith]("\\", 1)) { - let pathStart = path[$indexOf]("\\", 2); - let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); - let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); - let pathSegments = pathPart[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); - } else { - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - } else { - let pathSegments = path[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({pathSegments: pathSegments}); - } - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = scheme != this.scheme; - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else { - userInfo = this[_userInfo$]; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = this[_port$]; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.test(this.hasAuthority)) { - host = this[_host$]; - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - let currentPath = this.path; - if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { - currentPath = "/" + dart.notNull(currentPath); - } - path = currentPath; - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else { - query = this[_query$]; - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else { - fragment = this[_fragment$]; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - 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], 2023, 51, "pathToSplit"); - if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { - pathToSplit = pathToSplit[$substring](1); - } - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - normalizePath() { - let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); - if (path == this.path) return this; - return this.replace({path: path}); - } - static _makePort(port, 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], 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) { - if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { - core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let zoneID = ""; - let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); - if (dart.notNull(index) < dart.notNull(end) - 1) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); - } - core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); - return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; - } - if (!dart.test(strictIPv6)) { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (host[$codeUnitAt](i) === 58) { - let zoneID = ""; - let index = core._Uri._checkZoneID(host, start, end); - if (dart.notNull(index) < dart.notNull(end)) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); - } - core.Uri.parseIPv6Address(host, start, index); - return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; - } - } - } - return core._Uri._normalizeRegName(host, start, end); - } - static _checkZoneID(host, start, 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], 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 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); - } - let sectionStart = start; - let index = start; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - core._Uri._fail(host, index, "ZoneID should not contain % anymore"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isZoneIDChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _isRegNameChar(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 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; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - replacement = "%25"; - sourceLength = 1; - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isRegNameChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { - core._Uri._fail(host, index, "Invalid character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _makeScheme(scheme, start, 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))) { - core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let containsUpperCase = false; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = scheme[$codeUnitAt](i); - if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { - core._Uri._fail(scheme, i, "Illegal scheme character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (65 <= codeUnit && codeUnit <= 90) { - containsUpperCase = true; - } - } - scheme = scheme[$substring](start, end); - if (containsUpperCase) scheme = scheme[$toLowerCase](); - return core._Uri._canonicalizeScheme(scheme); - } - static _canonicalizeScheme(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"; - if (scheme === "package") return "package"; - return scheme; - } - static _makeUserInfo(userInfo, start, 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], 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], 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, replaceBackslash: true}); - } - if (result[$isEmpty]) { - if (isFile) return "/"; - } else if (ensureLeadingSlash && !result[$startsWith]("/")) { - result = "/" + dart.notNull(result); - } - result = core._Uri._normalizePath(result, scheme, hasAuthority); - return result; - } - static _normalizePath(path, scheme, hasAuthority) { - 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], 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")); - } - return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); - } - if (queryParameters == null) return null; - let result = new core.StringBuffer.new(); - let separator = ""; - function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); - result.write(separator); - separator = "&"; - result.write(core.Uri.encodeQueryComponent(key)); - if (value != null && value[$isNotEmpty]) { - result.write("="); - result.write(core.Uri.encodeQueryComponent(value)); - } - } - dart.fn(writeParameter, T$0.StringAndStringNTovoid()); - queryParameters[$forEach](dart.fn((key, value) => { - 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 t238 of values) { - let value = core.String.as(t238); - writeParameter(key, value); - } - } - }, T$0.StringAnddynamicTovoid())); - return result.toString(); - } - static _makeFragment(fragment, start, 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], 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 "%"; - } - let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); - let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); - let firstDigitValue = _internal.hexDigitValue(firstDigit); - let secondDigitValue = _internal.hexDigitValue(secondDigit); - if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { - return "%"; - } - let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); - if (dart.test(core._Uri._isUnreservedChar(value))) { - if (dart.test(lowerCase) && 65 <= value && 90 >= value) { - value = (value | 32) >>> 0; - } - return core.String.fromCharCode(value); - } - if (firstDigit >= 97 || secondDigit >= 97) { - return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); - } - return null; - } - static _escapeChar(char) { - 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); - codeUnits[$_set](0, 37); - codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); - codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); - } else { - let flag = 192; - let encodedBytes = 2; - if (dart.notNull(char) > 2047) { - flag = 224; - encodedBytes = 3; - if (dart.notNull(char) > 65535) { - encodedBytes = 4; - flag = 240; - } - } - codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); - let index = 0; - while ((encodedBytes = encodedBytes - 1) >= 0) { - let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; - codeUnits[$_set](index, 37); - codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); - index = index + 3; - flag = 128; - } - } - return core.String.fromCharCodes(codeUnits); - } - static _normalizeOrSubstring(component, start, end, charTable, opts) { - 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], 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 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], 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; - while (dart.notNull(index) < dart.notNull(end)) { - let char = component[$codeUnitAt](index); - if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { - index = dart.notNull(index) + 1; - } else { - let replacement = null; - let sourceLength = null; - if (char === 37) { - replacement = core._Uri._normalizeEscape(component, index, false); - if (replacement == null) { - index = dart.notNull(index) + 3; - continue; - } - if ("%" === replacement) { - replacement = "%25"; - sourceLength = 1; - } 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`.")); - dart.throw("unreachable"); - } else { - sourceLength = 1; - if ((char & 64512) === 55296) { - if (dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = component[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - sourceLength = 2; - char = 65536 | (char & 1023) << 10 | tail & 1023; - } - } - } - replacement = core._Uri._escapeChar(char); - } - t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); - (() => { - t239$.write(component[$substring](sectionStart, index)); - t239$.write(replacement); - return t239$; - })(); - index = dart.notNull(index) + dart.notNull(sourceLength); - sectionStart = index; - } - } - if (buffer == null) { - return null; - } - if (dart.notNull(sectionStart) < dart.notNull(end)) { - buffer.write(component[$substring](sectionStart, end)); - } - return dart.toString(buffer); - } - static _isSchemeCharacter(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], 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], 2562, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); - let backCount = 0; - let refStart = 0; - while (reference[$startsWith]("../", refStart)) { - refStart = refStart + 3; - backCount = backCount + 1; - } - let baseEnd = base[$lastIndexOf]("/"); - while (baseEnd > 0 && backCount > 0) { - let newEnd = base[$lastIndexOf]("/", baseEnd - 1); - if (newEnd < 0) { - break; - } - let delta = baseEnd - newEnd; - if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { - break; - } - baseEnd = newEnd; - backCount = backCount - 1; - } - return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); - } - static _mayContainDotSegments(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], 2611, 43, "path"); - if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - 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]("/")) { - appendSlash = false; - if (segment === "..") { - if (dart.test(output[$isNotEmpty])) { - output[$removeLast](); - if (dart.test(output[$isEmpty])) { - output[$add](""); - } - } - appendSlash = true; - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (appendSlash) output[$add](""); - return output[$join]("/"); - } - static _normalizeRelativePath(path, allowScheme) { - 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], 2653, 12, "path.isNotEmpty"); - let output = T$.JSArrayOfString().of([]); - let appendSlash = false; - for (let segment of path[$split]("/")) { - appendSlash = false; - if (".." === segment) { - if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { - output[$removeLast](); - appendSlash = true; - } else { - output[$add](".."); - } - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { - return "./"; - } - if (appendSlash || output[$last] === "..") output[$add](""); - if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); - return output[$join]("/"); - } - static _escapeScheme(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); - if (char === 58) { - return path[$substring](0, i) + "%3A" + path[$substring](i + 1); - } - if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { - break; - } - } - } - return path; - } - resolve(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], 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], 2717, 22, "reference"); - let targetScheme = null; - let targetUserInfo = ""; - let targetHost = null; - let targetPort = null; - let targetPath = null; - let targetQuery = null; - if (reference.scheme[$isNotEmpty]) { - targetScheme = reference.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = dart.test(reference.hasPort) ? reference.port : null; - } - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } - } else { - targetScheme = this.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } else { - targetUserInfo = this[_userInfo$]; - targetHost = this[_host$]; - targetPort = this[_port$]; - if (reference.path === "") { - targetPath = this.path; - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } else { - targetQuery = this[_query$]; - } - } else { - let basePath = this.path; - let packageNameEnd = core._Uri._packageNameEnd(this, basePath); - if (dart.notNull(packageNameEnd) > 0) { - 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)); - } else { - targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); - } - } else if (dart.test(reference.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(reference.path); - } else { - if (dart.test(this.hasEmptyPath)) { - if (!dart.test(this.hasAuthority)) { - if (!dart.test(this.hasScheme)) { - targetPath = reference.path; - } else { - targetPath = core._Uri._removeDotSegments(reference.path); - } - } else { - targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); - } - } else { - let mergedPath = this[_mergePaths](this.path, reference.path); - if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(mergedPath); - } else { - targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); - } - } - } - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } - } - } - let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; - return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); - } - get hasScheme() { - return this.scheme[$isNotEmpty]; - } - 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 hasEmptyPath() { - return this.path[$isEmpty]; - } - get hasAbsolutePath() { - return this.path[$startsWith]("/"); - } - get origin() { - if (this.scheme === "") { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (this.scheme !== "http" && this.scheme !== "https") { - dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); - } - let host = this[_host$]; - if (host == null || host === "") { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - let port = this[_port$]; - if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); - return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); - } - toFilePath(opts) { - 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")); - } - if (this.query !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - if (this.fragment !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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 !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - let pathSegments = this.pathSegments; - core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); - let result = new core.StringBuffer.new(); - if (dart.test(this.hasAbsolutePath)) result.write("/"); - result.writeAll(pathSegments, "/"); - return result.toString(); - } - static _toWindowsFilePath(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) { - core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); - core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); - hasDriveLetter = true; - } else { - core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); - } - let result = new core.StringBuffer.new(); - if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); - if (dart.test(uri.hasAuthority)) { - let host = uri.host; - if (host[$isNotEmpty]) { - result.write("\\"); - result.write(host); - result.write("\\"); - } - } - result.writeAll(segments, "\\"); - if (hasDriveLetter && segments[$length] === 1) result.write("\\"); - return result.toString(); - } - [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); - if (this[_userInfo$][$isNotEmpty]) { - ss.write(this[_userInfo$]); - ss.write("@"); - } - if (this[_host$] != null) ss.write(this[_host$]); - if (this[_port$] != null) { - ss.write(":"); - ss.write(this[_port$]); - } - } - get data() { - return this.scheme === "data" ? core.UriData.fromUri(this) : null; - } - toString() { - return this[_text$]; - } - [_initializeText]() { - let t239, t239$, t239$0; - let sb = new core.StringBuffer.new(); - if (this.scheme[$isNotEmpty]) { - t239 = sb; - (() => { - t239.write(this.scheme); - t239.write(":"); - return t239; - })(); - } - if (dart.test(this.hasAuthority) || this.scheme === "file") { - sb.write("//"); - this[_writeAuthority](sb); - } - sb.write(this.path); - if (this[_query$] != null) { - t239$ = sb; - (() => { - t239$.write("?"); - t239$.write(this[_query$]); - return t239$; - })(); - } - if (this[_fragment$] != null) { - t239$0 = sb; - (() => { - t239$0.write("#"); - t239$0.write(this[_fragment$]); - return t239$0; - })(); - } - return sb.toString(); - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; - } - static _createList() { - return T$.JSArrayOfString().of([]); - } - static _splitQueryStringAll(query, opts) { - 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], 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; - if (dart.notNull(equalsIndex) < 0) { - key = core._Uri._uriDecode(query, start, end, encoding, true); - value = ""; - } else { - 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[443] || CT.C443)[$add](value); - } - dart.fn(parsePair, T$0.intAndintAndintTovoid()); - while (i < query.length) { - let char = query[$codeUnitAt](i); - if (char === 61) { - if (equalsIndex < 0) equalsIndex = i; - } else if (char === 38) { - parsePair(start, equalsIndex, i); - start = i + 1; - equalsIndex = -1; - } - i = i + 1; - } - parsePair(start, equalsIndex, i); - return result; - } - static _uriEncode(canonicalTable, text, encoding, 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; - } - let result = new core.StringBuffer.new(""); - let bytes = encoding.encode(text); - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - result.writeCharCode(byte); - } else if (dart.test(spaceToPlus) && byte === 32) { - result.write("+"); - } else { - result.write("%"); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); - } - } - return result.toString(); - } - static _hexCharPairToByte(s, 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); - if (48 <= charCode && charCode <= 57) { - byte = byte * 16 + charCode - 48; - } else { - charCode = (charCode | 32) >>> 0; - if (97 <= charCode && charCode <= 102) { - byte = byte * 16 + charCode - 87; - } else { - dart.throw(new core.ArgumentError.new("Invalid URL encoding")); - } - } - } - return byte; - } - static _uriDecode(text, start, end, encoding, plusToSpace) { - 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); - if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { - simple = false; - break; - } - } - let bytes = null; - if (simple) { - if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { - return text[$substring](start, end); - } else { - bytes = text[$substring](start, end)[$codeUnits]; - } - } else { - bytes = T$.JSArrayOfint().of([]); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit > 127) { - dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); - } - if (codeUnit === 37) { - if (dart.notNull(i) + 3 > text.length) { - dart.throw(new core.ArgumentError.new("Truncated URI")); - } - bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); - i = dart.notNull(i) + 2; - } else if (dart.test(plusToSpace) && codeUnit === 43) { - bytes[$add](32); - } else { - bytes[$add](codeUnit); - } - } - } - return encoding.decode(bytes); - } - static _isAlphabeticCharacter(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], 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], 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; - this[___Uri_pathSegments_isSet] = false; - this[___Uri_hashCode] = null; - this[___Uri_hashCode_isSet] = false; - this[___Uri_queryParameters] = null; - this[___Uri_queryParameters_isSet] = false; - this[___Uri_queryParametersAll] = null; - this[___Uri_queryParametersAll_isSet] = false; - this.scheme = scheme; - this[_userInfo$] = _userInfo; - this[_host$] = _host; - this[_port$] = _port; - this.path = path; - this[_query$] = _query; - this[_fragment$] = _fragment; - ; -}).prototype = core._Uri.prototype; -dart.addTypeTests(core._Uri); -dart.addTypeCaches(core._Uri); -core._Uri[dart.implements] = () => [core.Uri]; -dart.setMethodSignature(core._Uri, () => ({ - __proto__: dart.getMethods(core._Uri.__proto__), - isScheme: dart.fnType(core.bool, [core.String]), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - removeFragment: dart.fnType(core.Uri, []), - normalizePath: dart.fnType(core.Uri, []), - [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_toFilePath]: dart.fnType(core.String, []), - [_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, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - query: core.String, - fragment: core.String, - isAbsolute: core.bool, - hasScheme: core.bool, - hasAuthority: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - hasEmptyPath: core.bool, - hasAbsolutePath: core.bool, - origin: core.String, - data: dart.nullable(core.UriData) -})); -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), - [_userInfo$]: dart.finalFieldType(core.String), - [_host$]: dart.finalFieldType(dart.nullable(core.String)), - [_port$]: dart.fieldType(dart.nullable(core.int)), - path: dart.finalFieldType(core.String), - [_query$]: dart.finalFieldType(dart.nullable(core.String)), - [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), - [___Uri__text]: dart.fieldType(dart.nullable(core.String)), - [___Uri__text_isSet]: dart.fieldType(core.bool), - [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), - [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), - [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), - [___Uri_hashCode_isSet]: dart.fieldType(core.bool), - [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), - [___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, { - /*core._Uri._isWindowsCached*/get _isWindowsCached() { - return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; - }, - /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { - return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); - }, - /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[444] || CT.C444; - }, - /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[445] || CT.C445; - }, - /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[446] || CT.C446; - }, - /*core._Uri._schemeTable*/get _schemeTable() { - return C[447] || CT.C447; - }, - /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[448] || CT.C448; - }, - /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[449] || CT.C449; - }, - /*core._Uri._regNameTable*/get _regNameTable() { - return C[450] || CT.C450; - }, - /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[451] || CT.C451; - }, - /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[452] || CT.C452; - }, - /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[453] || CT.C453; - }, - /*core._Uri._zoneIDTable*/get _zoneIDTable() { - 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 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], 3387, 12, "base64"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); - let encodingName = null; - if (encoding == null) { - if (charsetName != null) { - encoding = convert.Encoding.getByName(charsetName); - } - } else if (charsetName == null) { - encodingName = encoding.name; - } - encoding == null ? encoding = convert.ascii : null; - core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(base64)) { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); - } else { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); - } - 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], 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"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - core.UriData._writeUri(mimeType, null, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(percentEncoded)) { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); - } else { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); - } - 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], 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)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); - } - if (dart.test(uri.hasFragment)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); - } - if (!dart.test(uri.hasQuery)) { - return core.UriData._parse(uri.path, 0, uri); - } - 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 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") { - buffer.write(mimeType); - } else { - let slashIndex = core.UriData._validateMimeType(mimeType); - if (dart.notNull(slashIndex) < 0) { - dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); - } - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); - buffer.write("/"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); - } - if (charsetName != null) { - 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)); - } - 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) + "\"]")); - } - t240 = indices; - t240 == null ? null : t240[$add](buffer.length); - buffer.write(";"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - 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], 3524, 39, "mimeType"); - let slashIndex = -1; - for (let i = 0; i < mimeType.length; i = i + 1) { - let char = mimeType[$codeUnitAt](i); - if (char !== 47) continue; - if (slashIndex < 0) { - slashIndex = i; - continue; - } - return -1; - } - return slashIndex; - } - static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); - if (uri.length >= 5) { - let dataDelta = core._startsWithData(uri, 0); - if (dataDelta === 0) { - return core.UriData._parse(uri, 5, null); - } - if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](5), 0, null); - } - } - dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); - } - get uri() { - let t239; - t239 = this[_uriCache$]; - return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; - } - [_computeUri]() { - let path = this[_text$]; - let query = null; - let colonIndex = this[_separatorIndices$][$_get](0); - let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); - let end = this[_text$].length; - if (queryIndex >= 0) { - query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); - end = queryIndex; - } - path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); - return new core._DataUri.new(this, path, query); - } - get mimeType() { - let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; - let end = this[_separatorIndices$][$_get](1); - 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 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); - } - 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 -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]; - } - get contentText() { - return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); - } - contentAsBytes() { - let t239, t239$; - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - return convert.base64.decoder.convert(text, start); - } - let length = text.length - start; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit === 37) { - i = i + 2; - length = length - 2; - } - } - let result = _native_typed_data.NativeUint8List.new(length); - if (length === text.length) { - result[$setRange](0, length, text[$codeUnits], start); - return result; - } - let index = 0; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit !== 37) { - 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]((t239$ = index, index = t239$ + 1, t239$), byte); - i = i + 2; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); - } - } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); - return result; - } - contentAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : null; - if (encoding == null) { - let charset = this.charset; - encoding = convert.Encoding.getByName(charset); - if (encoding == null) { - dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); - } - } - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); - return converter.convert(text[$substring](start)); - } - return core._Uri._uriDecode(text, start, text.length, encoding, false); - } - get parameters() { - let result = new (T$.IdentityMapOfString$String()).new(); - for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { - let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; - let equals = this[_separatorIndices$][$_get](i - 1); - let end = this[_separatorIndices$][$_get](i); - let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); - let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); - result[$_set](key, value); - } - return result; - } - static _parse(text, start, sourceUri) { - 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; - let i = start; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 44) || dart.equals(char, 59)) break; - if (dart.equals(char, 47)) { - if (dart.notNull(slashIndex) < 0) { - slashIndex = i; - continue; - } - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - } - if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - while (!dart.equals(char, 44)) { - indices[$add](i); - i = dart.notNull(i) + 1; - let equalsIndex = -1; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 61)) { - if (dart.notNull(equalsIndex) < 0) equalsIndex = i; - } else if (dart.equals(char, 59) || dart.equals(char, 44)) { - break; - } - } - if (dart.notNull(equalsIndex) >= 0) { - indices[$add](equalsIndex); - } else { - let lastSeparator = indices[$last]; - if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { - dart.throw(new core.FormatException.new("Expecting '='", text, i)); - } - break; - } - } - indices[$add](i); - let isBase64 = indices[$length][$isOdd]; - if (isBase64) { - text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); - } else { - let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); - if (data != null) { - text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); - } - } - return new core.UriData.__(text, indices, sourceUri); - } - static _uriEncodeBytes(canonicalTable, bytes, 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); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - buffer.writeCharCode(byte); - } else { - buffer.writeCharCode(37); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); - } - } - if ((byteOr & ~255 >>> 0) !== 0) { - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { - dart.throw(new core.ArgumentError.value(byte, "non-byte value")); - } - } - } - } - toString() { - return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; - } -}; -(core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - 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; - ; -}).prototype = core.UriData.prototype; -dart.addTypeTests(core.UriData); -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, - mimeType: core.String, - charset: core.String, - isBase64: core.bool, - contentText: core.String, - parameters: core.Map$(core.String, core.String) -})); -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[110] || CT.C110; - }, - /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[454] || CT.C454; - }, - /*core.UriData._uricTable*/get _uricTable() { - return C[453] || CT.C453; - } -}, false); -var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); -var _uri$ = dart.privateName(core, "_uri"); -var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); -var _hostStart$ = dart.privateName(core, "_hostStart"); -var _portStart$ = dart.privateName(core, "_portStart"); -var _pathStart$ = dart.privateName(core, "_pathStart"); -var _queryStart$ = dart.privateName(core, "_queryStart"); -var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); -var _schemeCache$ = dart.privateName(core, "_schemeCache"); -var _isFile = dart.privateName(core, "_isFile"); -var _isHttp = dart.privateName(core, "_isHttp"); -var _isHttps = dart.privateName(core, "_isHttps"); -var _isPackage = dart.privateName(core, "_isPackage"); -var _isScheme = dart.privateName(core, "_isScheme"); -var _computeScheme = dart.privateName(core, "_computeScheme"); -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; - } - get hasAuthority() { - return dart.notNull(this[_hostStart$]) > 0; - } - get hasUserInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; - } - get hasPort() { - return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); - } - get hasQuery() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); - } - get hasFragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; - } - get [_isFile]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); - } - get [_isHttp]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); - } - get [_isHttps]() { - return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); - } - get [_isPackage]() { - return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); - } - [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); - return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); - } - get hasAbsolutePath() { - return this[_uri$][$startsWith]("/", this[_pathStart$]); - } - get hasEmptyPath() { - return this[_pathStart$] == this[_queryStart$]; - } - get isAbsolute() { - return dart.test(this.hasScheme) && !dart.test(this.hasFragment); - } - isScheme(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._caseInsensitiveStartsWith(scheme, this[_uri$], 0); - } - get scheme() { - let t239; - t239 = this[_schemeCache$]; - return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; - } - [_computeScheme]() { - if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; - if (dart.test(this[_isHttp])) return "http"; - if (dart.test(this[_isHttps])) return "https"; - if (dart.test(this[_isFile])) return "file"; - if (dart.test(this[_isPackage])) return "package"; - return this[_uri$][$substring](0, this[_schemeEnd$]); - } - get authority() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; - } - get userInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; - } - get host() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; - } - get port() { - if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); - if (dart.test(this[_isHttp])) return 80; - if (dart.test(this[_isHttps])) return 443; - return 0; - } - get path() { - return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - } - get query() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; - } - get fragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; - } - get origin() { - let isHttp = this[_isHttp]; - if (dart.notNull(this[_schemeEnd$]) < 0) { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { - dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); - } - if (this[_hostStart$] == this[_portStart$]) { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { - return this[_uri$][$substring](0, this[_pathStart$]); - } - return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); - } - get pathSegments() { - let start = this[_pathStart$]; - let end = this[_queryStart$]; - if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - 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); - if (char === 47) { - parts[$add](this[_uri$][$substring](start, i)); - start = dart.notNull(i) + 1; - } - } - parts[$add](this[_uri$][$substring](start, end)); - return T$.ListOfString().unmodifiable(parts); - } - get queryParameters() { - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - [_isPort](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); - } - normalizePath() { - return this; - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = !dart.test(this[_isScheme](scheme)); - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else if (dart.notNull(this[_hostStart$]) > 0) { - userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); - } else { - userInfo = ""; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = dart.test(this.hasPort) ? this.port : null; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.notNull(this[_hostStart$]) > 0) { - host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { - path = "/" + dart.notNull(path); - } - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { - fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - resolve(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], 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], 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], 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; - let isSimple = true; - if (dart.test(base[_isFile])) { - isSimple = !dart.test(ref.hasEmptyPath); - } else if (dart.test(base[_isHttp])) { - isSimple = !dart.test(ref[_isPort]("80")); - } else if (dart.test(base[_isHttps])) { - isSimple = !dart.test(ref[_isPort]("443")); - } - if (isSimple) { - let delta = dart.notNull(base[_schemeEnd$]) + 1; - let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } else { - return this[_toNonSimple]().resolveUri(ref); - } - } - if (dart.test(ref.hasEmptyPath)) { - if (dart.test(ref.hasQuery)) { - let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); - let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); - 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$]); - } - if (dart.test(ref.hasFragment)) { - let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); - let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } - return base.removeFragment(); - } - if (dart.test(ref.hasAbsolutePath)) { - let basePathStart = base[_pathStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; - let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); - let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); - 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$]); - } - if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { - let refStart = ref[_pathStart$]; - while (ref[_uri$][$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - } - let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; - let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); - 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$]); - } - let baseUri = base[_uri$]; - let refUri = ref[_uri$]; - let baseStart = base[_pathStart$]; - let baseEnd = base[_queryStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) >= 0) { - baseStart = packageNameEnd; - } else { - while (baseUri[$startsWith]("../", baseStart)) - baseStart = dart.notNull(baseStart) + 3; - } - let refStart = ref[_pathStart$]; - let refEnd = ref[_queryStart$]; - let backCount = 0; - while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - backCount = backCount + 1; - } - let insert = ""; - while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { - baseEnd = dart.notNull(baseEnd) - 1; - let char = baseUri[$codeUnitAt](baseEnd); - if (char === 47) { - insert = "/"; - if (backCount === 0) break; - backCount = backCount - 1; - } - } - if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { - insert = ""; - refStart = dart.notNull(refStart) - backCount * 3; - } - let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; - let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); - 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 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")); - } - if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { - if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - return this.path; - } - get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); - return null; - } - get hashCode() { - let t239; - t239 = this[_hashCodeCache]; - return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this[_uri$] == dart.toString(other); - } - [_toNonSimple]() { - return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); - } - toString() { - return this[_uri$]; - } -}; -(core._SimpleUri.new = function(_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"); - this[_hashCodeCache] = null; - this[_uri$] = _uri; - this[_schemeEnd$] = _schemeEnd; - this[_hostStart$] = _hostStart; - this[_portStart$] = _portStart; - this[_pathStart$] = _pathStart; - this[_queryStart$] = _queryStart; - this[_fragmentStart$] = _fragmentStart; - this[_schemeCache$] = _schemeCache; - ; -}).prototype = core._SimpleUri.prototype; -dart.addTypeTests(core._SimpleUri); -dart.addTypeCaches(core._SimpleUri); -core._SimpleUri[dart.implements] = () => [core.Uri]; -dart.setMethodSignature(core._SimpleUri, () => ({ - __proto__: dart.getMethods(core._SimpleUri.__proto__), - [_isScheme]: dart.fnType(core.bool, [core.String]), - isScheme: dart.fnType(core.bool, [core.String]), - [_computeScheme]: dart.fnType(core.String, []), - [_isPort]: dart.fnType(core.bool, [core.String]), - normalizePath: dart.fnType(core.Uri, []), - removeFragment: dart.fnType(core.Uri, []), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_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, - hasAuthority: core.bool, - hasUserInfo: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - [_isFile]: core.bool, - [_isHttp]: core.bool, - [_isHttps]: core.bool, - [_isPackage]: core.bool, - hasAbsolutePath: core.bool, - hasEmptyPath: core.bool, - isAbsolute: core.bool, - scheme: core.String, - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - path: core.String, - query: core.String, - fragment: core.String, - origin: core.String, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - data: dart.nullable(core.UriData) -})); -dart.setLibraryUri(core._SimpleUri, I[9]); -dart.setFieldSignature(core._SimpleUri, () => ({ - __proto__: dart.getFields(core._SimpleUri.__proto__), - [_uri$]: dart.finalFieldType(core.String), - [_schemeEnd$]: dart.finalFieldType(core.int), - [_hostStart$]: dart.finalFieldType(core.int), - [_portStart$]: dart.finalFieldType(core.int), - [_pathStart$]: dart.finalFieldType(core.int), - [_queryStart$]: dart.finalFieldType(core.int), - [_fragmentStart$]: dart.finalFieldType(core.int), - [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), - [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) -})); -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], 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[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], 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], 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; -}; -core.identityHashCode = function identityHashCode(object) { - if (object == null) return 0; - let hash = object[dart.identityHashCode_]; - if (hash == null) { - hash = Math.random() * 0x3fffffff | 0; - object[dart.identityHashCode_] = hash; - } - return hash; -}; -core.print = function print$0(object) { - let line = dart.str(object); - let toZone = _internal.printToZone; - if (toZone == null) { - _internal.printToConsole(line); - } else { - toZone(line); - } -}; -core._isLeadSurrogate = function _isLeadSurrogate$(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[173], 794, 28, "code"); - return (dart.notNull(code) & 64512) === 56320; -}; -core._combineSurrogatePair = function _combineSurrogatePair$(start, 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], 4180, 54, "_"); - return _native_typed_data.NativeUint8List.new(96); - }, T$0.intToUint8List())); - function build(state, defaultTransition) { - let t247; - t247 = tables[$_get](core.int.as(state)); - return (() => { - 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], 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); - } - } - dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); - function setRange(target, range, 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); - } - } - dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); - let b = null; - b = build(0, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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), "?", (12 | 160) >>> 0); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(15, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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); - b = build(4, (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), "]", 5); - 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), "?", (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), "?", (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); - 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), "?", (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), "?", (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); - setChars(typed_data.Uint8List.as(b), pchar, 12); - setChars(typed_data.Uint8List.as(b), "?", 12); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(13, (13 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 13); - setChars(typed_data.Uint8List.as(b), "?", 13); - b = build(20, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - b = build(21, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - setRange(typed_data.Uint8List.as(b), "09", 21); - setChars(typed_data.Uint8List.as(b), "+-.", 21); - return tables; -}; -core._scan = function _scan(uri, start, end, state, 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], 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; - if (char > 95) char = 31; - let transition = table[$_get](char); - state = dart.notNull(transition) & 31; - indices[$_set](transition[$rightShift](5), i); - } - return state; -}; -core._startsWithData = function _startsWithData(text, 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; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; - return delta; -}; -core._stringOrNullLength = function _stringOrNullLength(s) { - return s == null ? 0 : s.length; -}; -core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, 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], 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); - if (char === 47) return dots !== 0 ? i : -1; - if (char === 37 || char === 58) return -1; - dots = (dots | (char ^ 46) >>> 0) >>> 0; - } - 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[458] || CT.C458; - }, - /*core.override*/get override() { - return C[459] || CT.C459; - }, - /*core.provisional*/get provisional() { - return null; - }, - /*core.proxy*/get proxy() { - return null; - }, - /*core._hashSeed*/get _hashSeed() { - return core.identityHashCode(dart.wrapType(core.Object)); - }, - /*core._SPACE*/get _SPACE() { - return 32; - }, - /*core._PERCENT*/get _PERCENT() { - return 37; - }, - /*core._AMPERSAND*/get _AMPERSAND() { - return 38; - }, - /*core._PLUS*/get _PLUS() { - return 43; - }, - /*core._DOT*/get _DOT() { - return 46; - }, - /*core._SLASH*/get _SLASH() { - return 47; - }, - /*core._COLON*/get _COLON() { - return 58; - }, - /*core._EQUALS*/get _EQUALS() { - return 61; - }, - /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { - return 65; - }, - /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { - return 90; - }, - /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { - return 91; - }, - /*core._BACKSLASH*/get _BACKSLASH() { - return 92; - }, - /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { - return 93; - }, - /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { - return 97; - }, - /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { - return 102; - }, - /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { - return 122; - }, - /*core._hexDigits*/get _hexDigits() { - return "0123456789ABCDEF"; - }, - /*core._schemeEndIndex*/get _schemeEndIndex() { - return 1; - }, - /*core._hostStartIndex*/get _hostStartIndex() { - return 2; - }, - /*core._portStartIndex*/get _portStartIndex() { - return 3; - }, - /*core._pathStartIndex*/get _pathStartIndex() { - return 4; - }, - /*core._queryStartIndex*/get _queryStartIndex() { - return 5; - }, - /*core._fragmentStartIndex*/get _fragmentStartIndex() { - return 6; - }, - /*core._notSimpleIndex*/get _notSimpleIndex() { - return 7; - }, - /*core._uriStart*/get _uriStart() { - return 0; - }, - /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { - return 14; - }, - /*core._schemeStart*/get _schemeStart() { - return 20; - }, - /*core._scannerTables*/get _scannerTables() { - return core._createTables(); - } -}, false); -var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); -var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); -var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); -_http.HttpServer = class HttpServer extends core.Object { - get serverHeader() { - return this[serverHeader]; - } - set serverHeader(value) { - this[serverHeader] = value; - } - get autoCompress() { - return this[autoCompress]; - } - set autoCompress(value) { - if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); - this[autoCompress] = value; - } - get idleTimeout() { - return this[idleTimeout]; - } - set idleTimeout(value) { - this[idleTimeout] = value; - } - static bind(address, port, opts) { - 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], 190, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 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], 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], 233, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 235, 16, "requestClientCertificate"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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], 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[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__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - autoCompress: dart.fieldType(core.bool), - idleTimeout: dart.fieldType(dart.nullable(core.Duration)) -})); -var total = dart.privateName(_http, "HttpConnectionsInfo.total"); -var active = dart.privateName(_http, "HttpConnectionsInfo.active"); -var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); -var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); -_http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { - get total() { - 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; - this[active] = 0; - this[idle] = 0; - this[closing] = 0; - ; -}).prototype = _http.HttpConnectionsInfo.prototype; -dart.addTypeTests(_http.HttpConnectionsInfo); -dart.addTypeCaches(_http.HttpConnectionsInfo); -dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); -dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ - __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), - total: dart.fieldType(core.int), - active: dart.fieldType(core.int), - idle: dart.fieldType(core.int), - closing: dart.fieldType(core.int) -})); -var date = dart.privateName(_http, "HttpHeaders.date"); -var expires = dart.privateName(_http, "HttpHeaders.expires"); -var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); -var host = dart.privateName(_http, "HttpHeaders.host"); -var port = dart.privateName(_http, "HttpHeaders.port"); -var contentType = dart.privateName(_http, "HttpHeaders.contentType"); -var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); -var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); -var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); -var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); -var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); -_http.HttpHeaders = class HttpHeaders extends core.Object { - get date() { - return this[date]; - } - set date(value) { - this[date] = value; - } - get expires() { - return this[expires]; - } - set expires(value) { - this[expires] = value; - } - get ifModifiedSince() { - return this[ifModifiedSince]; - } - set ifModifiedSince(value) { - this[ifModifiedSince] = value; - } - get host() { - return this[host]; - } - set host(value) { - this[host] = value; - } - get port() { - return this[port]; - } - set port(value) { - this[port] = value; - } - get contentType() { - return this[contentType]; - } - set contentType(value) { - this[contentType] = value; - } - get contentLength() { - return this[contentLength]; - } - set contentLength(value) { - if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); - this[contentLength] = value; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); - this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = persistentConnection$35param; - } - get chunkedTransferEncoding() { - let t247; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); - } - set chunkedTransferEncoding(chunkedTransferEncoding$35param) { - if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); - this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; - } -}; -(_http.HttpHeaders.new = function() { - this[date] = null; - this[expires] = null; - this[ifModifiedSince] = null; - this[host] = null; - this[port] = null; - this[contentType] = null; - this[contentLength] = -1; - this[__HttpHeaders_persistentConnection] = null; - this[__HttpHeaders_persistentConnection_isSet] = false; - this[__HttpHeaders_chunkedTransferEncoding] = null; - this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; - ; -}).prototype = _http.HttpHeaders.prototype; -dart.addTypeTests(_http.HttpHeaders); -dart.addTypeCaches(_http.HttpHeaders); -dart.setGetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getGetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool -})); -dart.setSetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getSetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool -})); -dart.setLibraryUri(_http.HttpHeaders, I[177]); -dart.setFieldSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getFields(_http.HttpHeaders.__proto__), - date: dart.fieldType(dart.nullable(core.DateTime)), - expires: dart.fieldType(dart.nullable(core.DateTime)), - ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), - host: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - contentType: dart.fieldType(dart.nullable(_http.ContentType)), - contentLength: dart.fieldType(core.int), - [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), - [__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"; - }, - /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { - return "accept-charset"; - }, - /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { - return "accept-language"; - }, - /*_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"; - }, - /*_http.HttpHeaders.allowHeader*/get allowHeader() { - return "allow"; - }, - /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { - return "authorization"; - }, - /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { - return "cache-control"; - }, - /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { - return "connection"; - }, - /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { - return "content-encoding"; - }, - /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { - return "content-language"; - }, - /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { - return "content-length"; - }, - /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { - return "content-location"; - }, - /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { - return "content-md5"; - }, - /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { - return "content-range"; - }, - /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { - return "content-type"; - }, - /*_http.HttpHeaders.dateHeader*/get dateHeader() { - return "date"; - }, - /*_http.HttpHeaders.etagHeader*/get etagHeader() { - return "etag"; - }, - /*_http.HttpHeaders.expectHeader*/get expectHeader() { - return "expect"; - }, - /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { - return "expires"; - }, - /*_http.HttpHeaders.fromHeader*/get fromHeader() { - return "from"; - }, - /*_http.HttpHeaders.hostHeader*/get hostHeader() { - return "host"; - }, - /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { - return "if-match"; - }, - /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { - return "if-none-match"; - }, - /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { - return "if-range"; - }, - /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { - return "last-modified"; - }, - /*_http.HttpHeaders.locationHeader*/get locationHeader() { - return "location"; - }, - /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { - return "max-forwards"; - }, - /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { - return "pragma"; - }, - /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { - return "range"; - }, - /*_http.HttpHeaders.refererHeader*/get refererHeader() { - return "referer"; - }, - /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { - return "retry-after"; - }, - /*_http.HttpHeaders.serverHeader*/get serverHeader() { - return "server"; - }, - /*_http.HttpHeaders.teHeader*/get teHeader() { - return "te"; - }, - /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { - return "trailer"; - }, - /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { - return "upgrade"; - }, - /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { - return "user-agent"; - }, - /*_http.HttpHeaders.varyHeader*/get varyHeader() { - return "vary"; - }, - /*_http.HttpHeaders.viaHeader*/get viaHeader() { - return "via"; - }, - /*_http.HttpHeaders.warningHeader*/get warningHeader() { - return "warning"; - }, - /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { - return "www-authenticate"; - }, - /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { - return "cookie"; - }, - /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { - return "set-cookie"; - }, - /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[461] || CT.C461; - }, - /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[462] || CT.C462; - }, - /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[463] || CT.C463; - }, - /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[464] || CT.C464; - } -}, false); -_http.HeaderValue = class HeaderValue extends core.Object { - 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], 615, 35, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 618, 12, "preserveBackslash"); - return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); - } -}; -(_http.HeaderValue[dart.mixinNew] = function() { -}).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() { - ; -}).prototype = _http.HttpSession.prototype; -_http.HttpSession.prototype[dart.isMap] = true; -dart.addTypeTests(_http.HttpSession); -dart.addTypeCaches(_http.HttpSession); -_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], 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 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], 708, 35, "value"); - return _http._ContentType.parse(value); - } -}; -(_http.ContentType[dart.mixinNew] = function() { -}).prototype = _http.ContentType.prototype; -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.html*/get html() { - return _http.ContentType.new("text", "html", {charset: "utf-8"}); - }, - /*_http.ContentType.json*/get json() { - return _http.ContentType.new("application", "json", {charset: "utf-8"}); - }, - /*_http.ContentType.binary*/get binary() { - return _http.ContentType.new("application", "octet-stream"); - } -}, false); -var expires$ = dart.privateName(_http, "Cookie.expires"); -var maxAge = dart.privateName(_http, "Cookie.maxAge"); -var domain = dart.privateName(_http, "Cookie.domain"); -var path = dart.privateName(_http, "Cookie.path"); -var secure = dart.privateName(_http, "Cookie.secure"); -var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); -var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); -var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); -var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); -var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); -_http.Cookie = class Cookie extends core.Object { - get expires() { - return this[expires$]; - } - set expires(value) { - this[expires$] = value; - } - get maxAge() { - return this[maxAge]; - } - set maxAge(value) { - this[maxAge] = value; - } - get domain() { - return this[domain]; - } - set domain(value) { - this[domain] = value; - } - get path() { - return this[path]; - } - set path(value) { - this[path] = value; - } - get secure() { - 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 t247; - return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); - } - set name(name$35param) { - if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); - this[__Cookie_name_isSet] = true; - this[__Cookie_name] = name$35param; - } - get value() { - let t247; - return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); - } - set value(value$35param) { - if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); - this[__Cookie_value_isSet] = true; - this[__Cookie_value] = value$35param; - } - static new(name, 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], 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; - this[__Cookie_name_isSet] = false; - this[__Cookie_value] = null; - this[__Cookie_value_isSet] = false; - this[expires$] = null; - this[maxAge] = null; - this[domain] = null; - this[path] = null; - this[secure] = false; - this[httpOnly] = false; -}).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, - value: core.String -})); -dart.setSetterSignature(_http.Cookie, () => ({ - __proto__: dart.getSetters(_http.Cookie.__proto__), - name: core.String, - value: core.String -})); -dart.setLibraryUri(_http.Cookie, I[177]); -dart.setFieldSignature(_http.Cookie, () => ({ - __proto__: dart.getFields(_http.Cookie.__proto__), - [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_name_isSet]: dart.fieldType(core.bool), - [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_value_isSet]: dart.fieldType(core.bool), - expires: dart.fieldType(dart.nullable(core.DateTime)), - maxAge: dart.fieldType(dart.nullable(core.int)), - domain: dart.fieldType(dart.nullable(core.String)), - path: dart.fieldType(dart.nullable(core.String)), - secure: dart.fieldType(core.bool), - httpOnly: dart.fieldType(core.bool) -})); -_http.HttpRequest = class HttpRequest extends core.Object {}; -(_http.HttpRequest.new = function() { - ; -}).prototype = _http.HttpRequest.prototype; -_http.HttpRequest.prototype[dart.isStream] = true; -dart.addTypeTests(_http.HttpRequest); -dart.addTypeCaches(_http.HttpRequest); -_http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; -dart.setLibraryUri(_http.HttpRequest, I[177]); -var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); -var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); -var deadline = dart.privateName(_http, "HttpResponse.deadline"); -var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); -var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); -var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); -var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); -var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); -_http.HttpResponse = class HttpResponse extends core.Object { - get contentLength() { - 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() { - return this[deadline]; - } - set deadline(value) { - this[deadline] = value; - } - get bufferOutput() { - return this[bufferOutput]; - } - set bufferOutput(value) { - if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); - this[bufferOutput] = value; - } - get reasonPhrase() { - let t247; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); - } - set reasonPhrase(reasonPhrase$35param) { - if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); - this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); - this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = persistentConnection$35param; - } -}; -(_http.HttpResponse.new = function() { - this[contentLength$] = -1; - this[statusCode] = 200; - this[__HttpResponse_reasonPhrase] = null; - this[__HttpResponse_reasonPhrase_isSet] = false; - this[__HttpResponse_persistentConnection] = null; - this[__HttpResponse_persistentConnection_isSet] = false; - this[deadline] = null; - this[bufferOutput] = true; - ; -}).prototype = _http.HttpResponse.prototype; -dart.addTypeTests(_http.HttpResponse); -dart.addTypeCaches(_http.HttpResponse); -_http.HttpResponse[dart.implements] = () => [io.IOSink]; -dart.setGetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getGetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool -})); -dart.setSetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getSetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http.HttpResponse, I[177]); -dart.setFieldSignature(_http.HttpResponse, () => ({ - __proto__: dart.getFields(_http.HttpResponse.__proto__), - contentLength: dart.fieldType(core.int), - statusCode: dart.fieldType(core.int), - [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), - [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), - deadline: dart.fieldType(dart.nullable(core.Duration)), - bufferOutput: dart.fieldType(core.bool) -})); -var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); -var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); -var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); -var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); -var userAgent = dart.privateName(_http, "HttpClient.userAgent"); -_http.HttpClient = class HttpClient extends core.Object { - get idleTimeout() { - return this[idleTimeout$]; - } - set idleTimeout(value) { - if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); - this[idleTimeout$] = value; - } - get connectionTimeout() { - return this[connectionTimeout]; - } - set connectionTimeout(value) { - this[connectionTimeout] = value; - } - get maxConnectionsPerHost() { - return this[maxConnectionsPerHost]; - } - set maxConnectionsPerHost(value) { - this[maxConnectionsPerHost] = value; - } - get autoUncompress() { - return this[autoUncompress]; - } - set autoUncompress(value) { - if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); - this[autoUncompress] = value; - } - get userAgent() { - return this[userAgent]; - } - set userAgent(value) { - this[userAgent] = value; - } - static set enableTimelineLogging(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])); - } - _http.HttpClient._enableTimelineLogging = enabled; - } - static get enableTimelineLogging() { - return _http.HttpClient._enableTimelineLogging; - } - static new(opts) { - let context = opts && 'context' in opts ? opts.context : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return new _http._HttpClient.new(context); - } - 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], 1514, 46, "url"); - let environment = opts && 'environment' in opts ? opts.environment : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } - return overrides.findProxyFromEnvironment(url, environment); - } -}; -(_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[466] || CT.C466; - this[connectionTimeout] = null; - this[maxConnectionsPerHost] = null; - this[autoUncompress] = true; - this[userAgent] = null; -}).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__), - idleTimeout: dart.fieldType(core.Duration), - 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, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); -dart.defineLazy(_http.HttpClient, { - /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { - return 80; - }, - /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { - return 443; - }, - /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { - return false; - }, - 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"); -var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); -var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); -var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); -_http.HttpClientRequest = class HttpClientRequest extends core.Object { - get persistentConnection() { - 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; - } -}; -(_http.HttpClientRequest.new = function() { - this[persistentConnection] = true; - this[followRedirects] = true; - this[maxRedirects] = 5; - this[contentLength$0] = -1; - this[bufferOutput$] = true; - ; -}).prototype = _http.HttpClientRequest.prototype; -dart.addTypeTests(_http.HttpClientRequest); -dart.addTypeCaches(_http.HttpClientRequest); -_http.HttpClientRequest[dart.implements] = () => [io.IOSink]; -dart.setLibraryUri(_http.HttpClientRequest, I[177]); -dart.setFieldSignature(_http.HttpClientRequest, () => ({ - __proto__: dart.getFields(_http.HttpClientRequest.__proto__), - persistentConnection: dart.fieldType(core.bool), - followRedirects: dart.fieldType(core.bool), - maxRedirects: dart.fieldType(core.int), - contentLength: dart.fieldType(core.int), - bufferOutput: dart.fieldType(core.bool) -})); -_http.HttpClientResponse = class HttpClientResponse extends core.Object {}; -(_http.HttpClientResponse.new = function() { - ; -}).prototype = _http.HttpClientResponse.prototype; -_http.HttpClientResponse.prototype[dart.isStream] = true; -dart.addTypeTests(_http.HttpClientResponse); -dart.addTypeCaches(_http.HttpClientResponse); -_http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; -dart.setLibraryUri(_http.HttpClientResponse, I[177]); -_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], 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.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), - [_enumToString]: dart.fnType(core.String, []) -})); -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() { - ; -}).prototype = _http.HttpClientCredentials.prototype; -dart.addTypeTests(_http.HttpClientCredentials); -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], 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], 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() { - ; -}).prototype = _http.HttpConnectionInfo.prototype; -dart.addTypeTests(_http.HttpConnectionInfo); -dart.addTypeCaches(_http.HttpConnectionInfo); -dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); -_http.RedirectInfo = class RedirectInfo extends core.Object {}; -(_http.RedirectInfo.new = function() { - ; -}).prototype = _http.RedirectInfo.prototype; -dart.addTypeTests(_http.RedirectInfo); -dart.addTypeCaches(_http.RedirectInfo); -dart.setLibraryUri(_http.RedirectInfo, 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 { - get message() { - return this[message$17]; - } - set message(value) { - super.message = value; - } - get uri() { - return this[uri$0]; - } - 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 t249; - let b = (t249 = new core.StringBuffer.new(), (() => { - t249.write("HttpException: "); - t249.write(this.message); - return t249; - })()); - let uri = this.uri; - if (uri != null) { - b.write(", uri = " + dart.str(uri)); - } - return dart.toString(b); - } -}; -(_http.HttpException.new = function(message, opts) { - 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; - ; -}).prototype = _http.HttpException.prototype; -dart.addTypeTests(_http.HttpException); -dart.addTypeCaches(_http.HttpException); -_http.HttpException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(_http.HttpException, I[177]); -dart.setFieldSignature(_http.HttpException, () => ({ - __proto__: dart.getFields(_http.HttpException.__proto__), - message: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.Uri)) -})); -dart.defineExtensionMethods(_http.HttpException, ['toString']); -var message$18 = dart.privateName(_http, "RedirectException.message"); -var redirects$ = dart.privateName(_http, "RedirectException.redirects"); -_http.RedirectException = class RedirectException extends core.Object { - get message() { - return this[message$18]; - } - set message(value) { - super.message = value; - } - get redirects() { - return this[redirects$]; - } - 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 dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; - } -}; -(_http.RedirectException.new = function(message, 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; - ; -}).prototype = _http.RedirectException.prototype; -dart.addTypeTests(_http.RedirectException); -dart.addTypeCaches(_http.RedirectException); -_http.RedirectException[dart.implements] = () => [_http.HttpException]; -dart.setGetterSignature(_http.RedirectException, () => ({ - __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: dart.nullable(core.Uri) -})); -dart.setLibraryUri(_http.RedirectException, I[177]); -dart.setFieldSignature(_http.RedirectException, () => ({ - __proto__: dart.getFields(_http.RedirectException.__proto__), - message: dart.finalFieldType(core.String), - redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) -})); -dart.defineExtensionMethods(_http.RedirectException, ['toString']); -_http._CryptoUtils = class _CryptoUtils extends core.Object { - static getRandomBytes(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, math.Random.secure().nextInt(255)); - } - return result; - } - static bytesToHex(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 ['_#new#tearOff']() { - return new _http._CryptoUtils.new(); - } -}; -(_http._CryptoUtils.new = function() { - ; -}).prototype = _http._CryptoUtils.prototype; -dart.addTypeTests(_http._CryptoUtils); -dart.addTypeCaches(_http._CryptoUtils); -dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); -dart.setLibraryUri(_http._CryptoUtils, I[177]); -var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); -var _digestCalled = dart.privateName(_http, "_digestCalled"); -var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); -var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); -var _pendingData = dart.privateName(_http, "_pendingData"); -var _currentChunk = dart.privateName(_http, "_currentChunk"); -var _h = dart.privateName(_http, "_h"); -var _iterate = dart.privateName(_http, "_iterate"); -var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); -var _finalizeData = dart.privateName(_http, "_finalizeData"); -var _add32 = dart.privateName(_http, "_add32"); -var _roundUp = dart.privateName(_http, "_roundUp"); -var _rotl32 = dart.privateName(_http, "_rotl32"); -var _wordToBytes = dart.privateName(_http, "_wordToBytes"); -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], 49, 22, "data"); - if (dart.test(this[_digestCalled])) { - dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); - } - this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); - this[_pendingData][$addAll](data); - this[_iterate](); - } - close() { - if (dart.test(this[_digestCalled])) { - return this[_resultAsBytes](); - } - this[_digestCalled] = true; - this[_finalizeData](); - this[_iterate](); - 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) { - 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) { - 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], 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; - } - [_resultAsBytes]() { - let result = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { - result[$addAll](this[_wordToBytes](this[_h][$_get](i))); - } - return result; - } - [_bytesToChunk](data, dataIndex) { - 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); - let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); - let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); - dataIndex = dart.notNull(dataIndex) + 4; - let word = (dart.notNull(w3) & 255) << 24 >>> 0; - word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; - word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; - word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; - this[_currentChunk][$_set](wordIndex, word); - } - } - [_wordToBytes](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); - bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); - bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); - return bytes; - } - [_iterate]() { - let len = this[_pendingData][$length]; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - if (dart.notNull(len) >= chunkSizeInBytes) { - let index = 0; - for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { - this[_bytesToChunk](this[_pendingData], index); - this[_updateHash](this[_currentChunk]); - } - this[_pendingData] = this[_pendingData][$sublist](index, len); - } - } - [_finalizeData]() { - this[_pendingData][$add](128); - let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - 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], 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)); - } else { - this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); - this[_pendingData][$addAll](this[_wordToBytes](0)); - } - } -}; -(_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _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] = _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.void, [core.List$(core.int)]), - close: dart.fnType(core.List$(core.int), []), - [_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.void, [core.List$(core.int), core.int]), - [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.void, []), - [_finalizeData]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HashBase, () => ({ - __proto__: dart.getGetters(_http._HashBase.__proto__), - blockSize: core.int -})); -dart.setLibraryUri(_http._HashBase, I[177]); -dart.setFieldSignature(_http._HashBase, () => ({ - __proto__: dart.getFields(_http._HashBase.__proto__), - [_chunkSizeInWords$]: dart.finalFieldType(core.int), - [_bigEndianWords$]: dart.finalFieldType(core.bool), - [_lengthInBytes]: dart.fieldType(core.int), - [_pendingData]: 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 { - static ['_#new#tearOff']() { - return new _http._MD5.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let t0 = null; - let t1 = null; - for (let i = 0; i < 64; i = i + 1) { - if (i < 16) { - t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; - t1 = i; - } else if (i < 32) { - t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; - t1 = (5 * i + 1)[$modulo](16); - } else if (i < 48) { - t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; - t1 = (3 * i + 5)[$modulo](16); - } else { - t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; - t1 = (7 * i)[$modulo](16); - } - let temp = d; - d = c; - c = b; - 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, 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() { - _http._MD5.__proto__.new.call(this, 16, 4, false); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); -}).prototype = _http._MD5.prototype; -dart.addTypeTests(_http._MD5); -dart.addTypeCaches(_http._MD5); -dart.setMethodSignature(_http._MD5, () => ({ - __proto__: dart.getMethods(_http._MD5.__proto__), - [_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[471] || CT.C471; - }, - /*_http._MD5._r*/get _r() { - return C[472] || CT.C472; - } -}, false); -var _w = dart.privateName(_http, "_w"); -_http._SHA1 = class _SHA1 extends _http._HashBase { - static ['_#new#tearOff']() { - return new _http._SHA1.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let e = this[_h][$_get](4); - for (let i = 0; i < 80; i = i + 1) { - if (i < 16) { - this[_w][$_set](i, m[$_get](i)); - } else { - let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; - this[_w][$_set](i, this[_rotl32](n, 1)); - } - let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); - if (i < 20) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); - } else if (i < 40) { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); - } else if (i < 60) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); - } else { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); - } - e = d; - d = c; - c = this[_rotl32](b, 30); - b = a; - a = (dart.notNull(t) & 4294967295.0) >>> 0; - } - 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() { - this[_w] = T$0.ListOfint().filled(80, 0); - _http._SHA1.__proto__.new.call(this, 16, 5, true); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); - this[_h][$_set](4, 3285377520); -}).prototype = _http._SHA1.prototype; -dart.addTypeTests(_http._SHA1); -dart.addTypeCaches(_http._SHA1); -dart.setMethodSignature(_http._SHA1, () => ({ - __proto__: dart.getMethods(_http._SHA1.__proto__), - [_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.finalFieldType(core.List$(core.int)) -})); -_http.HttpDate = class HttpDate extends core.Object { - static format(date) { - 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 = (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], 85, 32, "date"); - let SP = 32; - 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], 119, 24, "s"); - if (date.length - index < s.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - let tmp = date[$substring](index, index + s.length); - if (tmp !== s) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - index = index + s.length; - } - dart.fn(expect, T$0.StringTovoid()); - function expectWeekday() { - let weekday = null; - let pos = date[$indexOf](",", index); - if (pos === -1) { - let pos = date[$indexOf](" ", index); - if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatAsctime; - } - } else { - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc1123; - } - weekday = weekdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc850; - } - } - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectWeekday, T$.VoidToint()); - function expectMonth(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); - index = pos + 1; - let month = months[$indexOf](tmp); - if (month !== -1) return month; - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectMonth, T$0.StringToint()); - function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); - let pos = null; - if (separator[$isNotEmpty]) { - pos = date[$indexOf](separator, index); - } else { - pos = date.length; - } - let tmp = date[$substring](index, pos); - index = dart.notNull(pos) + separator.length; - try { - let value = core.int.parse(tmp); - return value; - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } else - throw e; - } - } - dart.fn(expectNum, T$0.StringToint()); - function expectEnd() { - if (index !== date.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - } - dart.fn(expectEnd, T$.VoidTovoid()); - let format = expectWeekday(); - let year = null; - let month = null; - let day = null; - let hours = null; - let minutes = null; - let seconds = null; - if (format === formatAsctime) { - month = expectMonth(" "); - if (date[$codeUnitAt](index) === SP) index = index + 1; - day = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - year = expectNum(""); - } else { - expect(" "); - day = expectNum(format === formatRfc1123 ? " " : "-"); - month = expectMonth(format === formatRfc1123 ? " " : "-"); - year = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - expect("GMT"); - } - expectEnd(); - 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], 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))); - } - dart.fn(error, T$0.VoidToNever()); - function isEnd() { - return position === date.length; - } - dart.fn(isEnd, T$.VoidTobool()); - function isDelimiter(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; - if (char >= 59 && char <= 64) return true; - if (char >= 91 && char <= 96) return true; - if (char >= 123 && char <= 126) return true; - return false; - } - dart.fn(isDelimiter, T$.StringTobool()); - function isNonDelimiter(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; - if (char >= 48 && char <= 57) return true; - if (char === 58) return true; - if (char >= 65 && char <= 90) return true; - if (char >= 97 && char <= 122) return true; - if (char >= 127 && char <= 255) return true; - return false; - } - dart.fn(isNonDelimiter, T$.StringTobool()); - function isDigit(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], 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], 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 = T$.JSArrayOfString().of([]); - while (!dart.test(isEnd())) { - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - let start = position; - while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) - position = position + 1; - tokens[$add](date[$substring](start, position)[$toLowerCase]()); - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - } - let timeStr = null; - let dayOfMonthStr = null; - let monthStr = null; - let yearStr = null; - for (let token of tokens) { - 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) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let year = toInt(yearStr); - if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) - year = dart.notNull(year) + 1900; - else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; - if (dart.notNull(year) < 1601) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let dayOfMonth = toInt(dayOfMonthStr); - if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let month = dart.notNull(getMonth(monthStr)) + 1; - let timeList = timeStr[$split](":"); - if (timeList[$length] !== 3) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let hour = toInt(timeList[$_get](0)); - let minute = toInt(timeList[$_get](1)); - let second = toInt(timeList[$_get](2)); - if (dart.notNull(hour) > 23) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(minute) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(second) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - 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"); -var _contentLength = dart.privateName(_http, "_contentLength"); -var _persistentConnection = dart.privateName(_http, "_persistentConnection"); -var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); -var _host = dart.privateName(_http, "_host"); -var _port = dart.privateName(_http, "_port"); -var _headers = dart.privateName(_http, "_headers"); -var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); -var _checkMutable = dart.privateName(_http, "_checkMutable"); -var _addAll = dart.privateName(_http, "_addAll"); -var _add$1 = dart.privateName(_http, "_add"); -var _valueToString = dart.privateName(_http, "_valueToString"); -var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); -var _set = dart.privateName(_http, "_set"); -var _addValue = dart.privateName(_http, "_addValue"); -var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); -var _addDate = dart.privateName(_http, "_addDate"); -var _addHost = dart.privateName(_http, "_addHost"); -var _addExpires = dart.privateName(_http, "_addExpires"); -var _addConnection = dart.privateName(_http, "_addConnection"); -var _addContentType = dart.privateName(_http, "_addContentType"); -var _addContentLength = dart.privateName(_http, "_addContentLength"); -var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); -var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); -var _foldHeader = dart.privateName(_http, "_foldHeader"); -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], 45, 36, "name"); - return this[_headers][$_get](_http._HttpHeaders._validateField(name)); - } - value(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], 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 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], 58, 38, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); - } else { - t251$ = this[_originalHeaderNames]; - t251$ == null ? null : t251$[$remove](lowercaseName); - } - this[_addAll](lowercaseName, value); - } - [_addAll](name, value) { - 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))); - } - } else { - this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); - } - } - set(name, value, opts) { - 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], 80, 45, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - this[_headers][$remove](lowercaseName); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](lowercaseName); - if (lowercaseName === "content-length") { - this[_contentLength] = -1; - } - if (lowercaseName === "transfer-encoding") { - this[_chunkedTransferEncoding] = false; - } - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); - } - this[_addAll](lowercaseName, value); - } - remove(name, 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 (dart.test(values[$isEmpty])) { - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - } - if (name === "transfer-encoding" && dart.equals(value, "chunked")) { - this[_chunkedTransferEncoding] = false; - } - } - removeAll(name) { - let t251; - if (name == null) dart.nullFailed(I[180], 114, 25, "name"); - this[_checkMutable](); - name = _http._HttpHeaders._validateField(name); - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - forEach(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], 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 t251; - if (name == null) dart.nullFailed(I[180], 128, 25, "name"); - name = _http._HttpHeaders._validateField(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], 135, 38, "persistentConnection"); - this[_checkMutable](); - if (persistentConnection == this[_persistentConnection]) return; - let originalName = this[_originalHeaderName]("connection"); - if (dart.test(persistentConnection)) { - if (this.protocolVersion === "1.1") { - this.remove("connection", "close"); - } else { - if (dart.notNull(this[_contentLength]) < 0) { - dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); - } - this.add(originalName, "keep-alive", {preserveHeaderCase: true}); - } - } else { - if (this.protocolVersion === "1.1") { - this.add(originalName, "close", {preserveHeaderCase: true}); - } else { - this.remove("connection", "keep-alive"); - } - } - this[_persistentConnection] = persistentConnection; - } - get contentLength() { - return this[_contentLength]; - } - set contentLength(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")); - } - if (this[_contentLength] == contentLength) return; - this[_contentLength] = contentLength; - if (dart.notNull(this[_contentLength]) >= 0) { - if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; - this[_set]("content-length", dart.toString(contentLength)); - } else { - this[_headers][$remove]("content-length"); - if (this.protocolVersion === "1.1") { - this.chunkedTransferEncoding = true; - } - } - } - get chunkedTransferEncoding() { - return this[_chunkedTransferEncoding]; - } - set chunkedTransferEncoding(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")); - } - if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; - if (dart.test(chunkedTransferEncoding)) { - let values = this[_headers][$_get]("transfer-encoding"); - if (values == null || !dart.test(values[$contains]("chunked"))) { - this[_addValue]("transfer-encoding", "chunked"); - } - this.contentLength = -1; - } else { - this.remove("transfer-encoding", "chunked"); - } - this[_chunkedTransferEncoding] = chunkedTransferEncoding; - } - get host() { - return this[_host]; - } - set host(host) { - this[_checkMutable](); - this[_host] = host; - this[_updateHostHeader](); - } - get port() { - return this[_port]; - } - set port(port) { - this[_checkMutable](); - this[_port] = port; - this[_updateHostHeader](); - } - get ifModifiedSince() { - let values = this[_headers][$_get]("if-modified-since"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set ifModifiedSince(ifModifiedSince) { - this[_checkMutable](); - if (ifModifiedSince == null) { - this[_headers][$remove]("if-modified-since"); - } else { - let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); - this[_set]("if-modified-since", formatted); - } - } - get date() { - let values = this[_headers][$_get]("date"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set date(date) { - this[_checkMutable](); - if (date == null) { - this[_headers][$remove]("date"); - } else { - let formatted = _http.HttpDate.format(date.toUtc()); - this[_set]("date", formatted); - } - } - get expires() { - let values = this[_headers][$_get]("expires"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set expires(expires) { - this[_checkMutable](); - if (expires == null) { - this[_headers][$remove]("expires"); - } else { - let formatted = _http.HttpDate.format(expires.toUtc()); - this[_set]("expires", formatted); - } - } - get contentType() { - let values = this[_headers][$_get]("content-type"); - if (values != null) { - return _http.ContentType.parse(values[$_get](0)); - } else { - return null; - } - } - set contentType(contentType) { - this[_checkMutable](); - if (contentType == null) { - this[_headers][$remove]("content-type"); - } else { - this[_set]("content-type", dart.toString(contentType)); - } - } - clear() { - this[_checkMutable](); - this[_headers][$clear](); - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - } - [_add$1](name, value) { - 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; - } - break; - } - case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; - } - break; - } - case 10: - { - if ("connection" === name) { - this[_addConnection](name, core.String.as(value)); - return; - } - break; - } - case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; - } - break; - } - case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; - } - break; - } - case 17: - { - 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], 376, 33, "name"); - if (core.int.is(value)) { - if (dart.notNull(value) < 0) { - dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); - } - } else if (typeof value == 'string') { - 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], 392, 36, "name"); - if (dart.equals(value, "chunked")) { - this.chunkedTransferEncoding = true; - } else { - this[_addValue]("transfer-encoding", core.Object.as(value)); - } - } - [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 400, 24, "name"); - if (core.DateTime.is(value)) { - this.date = value; - } else if (typeof value == 'string') { - this[_set]("date", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 410, 27, "name"); - if (core.DateTime.is(value)) { - this.expires = value; - } else if (typeof value == 'string') { - this[_set]("expires", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 420, 35, "name"); - if (core.DateTime.is(value)) { - this.ifModifiedSince = value; - } else if (typeof value == 'string') { - this[_set]("if-modified-since", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 430, 24, "name"); - if (typeof value == 'string') { - let pos = value[$lastIndexOf](":"); - if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { - this[_host] = value; - this[_port] = 80; - } else { - if (pos > 0) { - this[_host] = value[$substring](0, pos); - } else { - this[_host] = null; - } - if (pos + 1 === value.length) { - this[_port] = 80; - } else { - try { - this[_port] = core.int.parse(value[$substring](pos + 1)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - this[_port] = null; - } else - throw e; - } - } - } - this[_set]("host", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addConnection](name, value) { - 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 (lowerCaseValue === "keep-alive") { - this[_persistentConnection] = true; - } - this[_addValue](name, value); - } - [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 473, 31, "name"); - this[_set]("content-type", core.String.as(value)); - } - [_addValue](name, value) { - 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], 482, 32, "value"); - if (core.DateTime.is(value)) { - return _http.HttpDate.format(value); - } else if (typeof value == 'string') { - return value; - } else { - return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); - } - } - [_set](name, value) { - 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]() { - if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); - } - [_updateHostHeader]() { - let host = this[_host]; - if (host != null) { - let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; - this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); - } - } - [_foldHeader](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)); - } - [_finalize]() { - this[_mutable] = false; - } - [_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], 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]; - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - builder.addByte(44); - builder.addByte(32); - } else { - builder.addByte(13); - builder.addByte(10); - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - } - } - builder.add(values[$_get](i)[$codeUnits]); - } - builder.addByte(13); - builder.addByte(10); - }, T$0.StringAndListOfStringTovoid())); - } - toString() { - let sb = new core.StringBuffer.new(); - this[_headers][$forEach](dart.fn((name, 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); - t259 = sb; - (() => { - t259.write(originalName); - t259.write(": "); - return t259; - })(); - let fold = this[_foldHeader](name); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - sb.write(", "); - } else { - t259$ = sb; - (() => { - t259$.write("\n"); - t259$.write(originalName); - t259$.write(": "); - return t259$; - })(); - } - } - sb.write(values[$_get](i)); - } - sb.write("\n"); - }, T$0.StringAndListOfStringTovoid())); - return sb.toString(); - } - [_parseCookies]() { - let cookies = T$0.JSArrayOfCookie().of([]); - function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 587, 35, "s"); - let index = 0; - function done() { - return index === -1 || index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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; - return true; - } - dart.fn(expect, T$.StringTobool()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseName(); - skipWS(); - if (!dart.test(expect("="))) { - index = s[$indexOf](";", index); - continue; - } - skipWS(); - let value = parseValue(); - try { - cookies[$add](new _http._Cookie.new(name, value)); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - skipWS(); - if (dart.test(done())) return; - if (!dart.test(expect(";"))) { - index = s[$indexOf](";", index); - continue; - } - } - } - dart.fn(parseCookieString, T$0.StringTovoid()); - let values = this[_headers][$_get]("cookie"); - if (values != null) { - for (let headerValue of values) { - parseCookieString(headerValue); - } - } - return cookies; - } - static _validateField(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)); - } - } - return field[$toLowerCase](); - } - static _validateValue(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)))) { - dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); - } - } - return value; - } - [_originalHeaderName](name) { - 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], 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; - this[_originalHeaderNames] = null; - this[_mutable] = true; - this[_noFoldingHeaders] = null; - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - 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 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]; - this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; - this[_host] = initialHeaders[_host]; - this[_port] = initialHeaders[_port]; - } - if (this.protocolVersion === "1.0") { - this[_persistentConnection] = false; - this[_chunkedTransferEncoding] = false; - } -}).prototype = _http._HttpHeaders.prototype; -dart.addTypeTests(_http._HttpHeaders); -dart.addTypeCaches(_http._HttpHeaders); -_http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; -dart.setMethodSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getMethods(_http._HttpHeaders.__proto__), - _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), - value: dart.fnType(dart.nullable(core.String), [core.String]), - add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), - set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - remove: dart.fnType(dart.void, [core.String, core.Object]), - removeAll: dart.fnType(dart.void, [core.String]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), - noFolding: dart.fnType(dart.void, [core.String]), - clear: dart.fnType(dart.void, []), - [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_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, 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]), - [_set]: dart.fnType(dart.void, [core.String, core.String]), - [_checkMutable]: dart.fnType(dart.void, []), - [_updateHostHeader]: dart.fnType(dart.void, []), - [_foldHeader]: dart.fnType(core.bool, [core.String]), - [_finalize]: dart.fnType(dart.void, []), - [_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, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) -})); -dart.setSetterSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getSetters(_http._HttpHeaders.__proto__), - persistentConnection: core.bool, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) -})); -dart.setLibraryUri(_http._HttpHeaders, I[177]); -dart.setFieldSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getFields(_http._HttpHeaders.__proto__), - [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), - [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - protocolVersion: dart.finalFieldType(core.String), - [_mutable]: dart.fieldType(core.bool), - [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), - [_contentLength]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_chunkedTransferEncoding]: dart.fieldType(core.bool), - [_host]: dart.fieldType(dart.nullable(core.String)), - [_port]: dart.fieldType(dart.nullable(core.int)), - [_defaultPortForScheme]: dart.finalFieldType(core.int) -})); -dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); -var _parameters = dart.privateName(_http, "_parameters"); -var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); -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], 697, 36, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 700, 12, "preserveBackslash"); - let result = new _http._HeaderValue.new(); - result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); - return result; - } - get value() { - return this[_value$5]; - } - [_ensureParameters]() { - let t260; - t260 = this[_parameters]; - return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; - } - get parameters() { - 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], 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[$contains](token[$_get](i))) { - return false; - } - } - return true; - } - toString() { - let sb = new core.StringBuffer.new(); - sb.write(this[_value$5]); - let parameters = this[_parameters]; - if (parameters != null && dart.test(parameters[$isNotEmpty])) { - parameters[$forEach](dart.fn((name, value) => { - let t260, t260$; - if (name == null) dart.nullFailed(I[180], 734, 34, "name"); - t260 = sb; - (() => { - t260.write("; "); - t260.write(name); - return t260; - })(); - if (value != null) { - sb.write("="); - if (dart.test(_http._HeaderValue._isToken(value))) { - sb.write(value); - } else { - sb.write("\""); - let start = 0; - for (let i = 0; i < value.length; i = i + 1) { - let codeUnit = value[$codeUnitAt](i); - if (codeUnit === 92 || codeUnit === 34) { - sb.write(value[$substring](start, i)); - sb.write("\\"); - start = i; - } - } - t260$ = sb; - (() => { - t260$.write(value[$substring](start)); - t260$.write("\""); - return t260$; - })(); - } - } - }, T$0.StringAndStringNTovoid())); - } - return sb.toString(); - } - [_parse](s, parameterSeparator, valueSeparator, 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; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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$0.StringTovoid()); - function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); - if (dart.test(done()) || !s[$startsWith](expected, index)) { - return false; - } - index = index + 1; - return true; - } - dart.fn(maybeExpect, T$.StringTobool()); - const parseParameters = () => { - let parameters = this[_ensureParameters](); - function parseParameterName() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; - index = index + 1; - } - return s[$substring](start, index)[$toLowerCase](); - } - dart.fn(parseParameterName, T$.VoidToString()); - function parseParameterValue() { - if (!dart.test(done()) && s[$_get](index) === "\"") { - let sb = new core.StringBuffer.new(); - index = index + 1; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === "\\") { - if (index + 1 === s.length) { - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } - if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { - sb.write(char); - } - index = index + 1; - } else if (char === "\"") { - index = index + 1; - return sb.toString(); - } - char = s[$_get](index); - sb.write(char); - index = index + 1; - } - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } else { - return parseValue(); - } - } - dart.fn(parseParameterValue, T$.VoidToString()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseParameterName(); - skipWS(); - if (dart.test(maybeExpect("="))) { - skipWS(); - let value = parseParameterValue(); - if (name === "charset" && _http._ContentType.is(this)) { - value = value[$toLowerCase](); - } - parameters[$_set](name, value); - skipWS(); - } else if (name[$isNotEmpty]) { - parameters[$_set](name, null); - } - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - expect(parameterSeparator); - } - }; - dart.fn(parseParameters, T$.VoidTovoid()); - skipWS(); - this[_value$5] = parseValue(); - skipWS(); - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - maybeExpect(parameterSeparator); - parseParameters(); - } -}; -(_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; - let nullableParameters = parameters; - if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { - this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); - } -}).prototype = _http._HeaderValue.prototype; -dart.addTypeTests(_http._HeaderValue); -dart.addTypeCaches(_http._HeaderValue); -_http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; -dart.setMethodSignature(_http._HeaderValue, () => ({ - __proto__: dart.getMethods(_http._HeaderValue.__proto__), - [_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, - parameters: core.Map$(core.String, dart.nullable(core.String)) -})); -dart.setLibraryUri(_http._HeaderValue, I[177]); -dart.setFieldSignature(_http._HeaderValue, () => ({ - __proto__: dart.getFields(_http._HeaderValue.__proto__), - [_value$5]: dart.fieldType(core.String), - [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), - [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) -})); -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], 920, 36, "value"); - let result = new _http._ContentType.__(); - result[_parse](value, ";", null, false); - let index = result[_value$5][$indexOf]("/"); - if (index === -1 || index === result[_value$5].length - 1) { - result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); - } else { - result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); - result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); - } - return result; - } - get mimeType() { - return dart.str(this.primaryType) + "/" + dart.str(this.subType); - } - get primaryType() { - return this[_primaryType]; - } - get subType() { - return this[_subType]; - } - get charset() { - return this.parameters[$_get]("charset"); - } -}; -(_http._ContentType.new = function(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"); - this[_primaryType] = ""; - this[_subType] = ""; - this[_primaryType] = primaryType; - this[_subType] = subType; - _http._ContentType.__proto__.new.call(this, ""); - function emptyIfNull(string) { - let t260; - t260 = string; - return t260 == null ? "" : t260; - } - 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]); - let nullableParameters = parameters; - if (nullableParameters != null) { - let parameterMap = this[_ensureParameters](); - nullableParameters[$forEach](dart.fn((key, value) => { - let t260; - if (key == null) dart.nullFailed(I[180], 905, 42, "key"); - let lowerCaseKey = key[$toLowerCase](); - if (lowerCaseKey === "charset") { - value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); - } - parameterMap[$_set](lowerCaseKey, value); - }, T$0.StringAndStringNTovoid())); - } - if (charset != null) { - this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); - } -}).prototype = _http._ContentType.prototype; -(_http._ContentType.__ = function() { - this[_primaryType] = ""; - this[_subType] = ""; - _http._ContentType.__proto__.new.call(this); - ; -}).prototype = _http._ContentType.prototype; -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, - primaryType: core.String, - subType: core.String, - charset: dart.nullable(core.String) -})); -dart.setLibraryUri(_http._ContentType, I[177]); -dart.setFieldSignature(_http._ContentType, () => ({ - __proto__: dart.getFields(_http._ContentType.__proto__), - [_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$8]; - } - get value() { - return this[_value$5]; - } - get path() { - return this[_path$3]; - } - set path(newPath) { - _http._Cookie._validatePath(newPath); - this[_path$3] = newPath; - } - set name(newName) { - if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); - _http._Cookie._validateName(newName); - this[_name$8] = newName; - } - set value(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], 986, 36, "s"); - let index = 0; - function done() { - return index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseValue, T$.VoidToString()); - const parseAttributes = () => { - function parseAttributeName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeName, T$.VoidToString()); - function parseAttributeValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeValue, T$.VoidToString()); - while (!dart.test(done())) { - let name = parseAttributeName(); - let value = ""; - if (!dart.test(done()) && s[$_get](index) === "=") { - index = index + 1; - value = parseAttributeValue(); - } - if (name === "expires") { - this.expires = _http.HttpDate._parseCookieDate(value); - } else if (name === "max-age") { - this.maxAge = core.int.parse(value); - } else if (name === "domain") { - this.domain = value; - } else if (name === "path") { - this.path = value; - } else if (name === "httponly") { - this.httpOnly = true; - } else if (name === "secure") { - this.secure = true; - } - if (!dart.test(done())) index = index + 1; - } - }; - dart.fn(parseAttributes, T$.VoidTovoid()); - 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; - this[_value$5] = _http._Cookie._validateValue(parseValue()); - if (dart.test(done())) return; - index = index + 1; - parseAttributes(); - } - toString() { - let t260, t260$, t260$0, t260$1, t260$2; - let sb = new core.StringBuffer.new(); - t260 = sb; - (() => { - t260.write(this[_name$8]); - t260.write("="); - t260.write(this[_value$5]); - return t260; - })(); - let expires = this.expires; - if (expires != null) { - t260$ = sb; - (() => { - t260$.write("; Expires="); - t260$.write(_http.HttpDate.format(expires)); - return t260$; - })(); - } - if (this.maxAge != null) { - t260$0 = sb; - (() => { - t260$0.write("; Max-Age="); - t260$0.write(this.maxAge); - return t260$0; - })(); - } - if (this.domain != null) { - t260$1 = sb; - (() => { - t260$1.write("; Domain="); - t260$1.write(this.domain); - return t260$1; - })(); - } - if (this.path != null) { - t260$2 = sb; - (() => { - t260$2.write("; Path="); - t260$2.write(this.path); - return t260$2; - })(); - } - if (dart.test(this.secure)) sb.write("; Secure"); - if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); - return sb.toString(); - } - static _validateName(newName) { - 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.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], 1130, 39, "newValue"); - if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); - let start = 0; - let end = newValue.length; - if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { - start = start + 1; - end = end - 1; - } - for (let i = start; i < end; i = i + 1) { - let codeUnit = newValue[$codeUnits][$_get](i); - if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { - dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); - } - } - return newValue; - } - static _validatePath(path) { - if (path == null) return; - for (let i = 0; i < path.length; i = i + 1) { - let codeUnit = path[$codeUnitAt](i); - if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { - dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); - } - } - } -}; -(_http._Cookie.new = function(name, value) { - 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$8] = _http._Cookie._validateName(name); - this[_value$5] = _http._Cookie._validateValue(value); - this[httpOnly$] = true; - ; -}).prototype = _http._Cookie.prototype; -(_http._Cookie.fromSetCookieValue = function(value) { - 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$8] = ""; - this[_value$5] = ""; - this[_parseSetCookieValue](value); -}).prototype = _http._Cookie.prototype; -dart.addTypeTests(_http._Cookie); -dart.addTypeCaches(_http._Cookie); -_http._Cookie[dart.implements] = () => [_http.Cookie]; -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, - value: core.String, - path: dart.nullable(core.String) -})); -dart.setSetterSignature(_http._Cookie, () => ({ - __proto__: dart.getSetters(_http._Cookie.__proto__), - path: dart.nullable(core.String), - name: core.String, - value: core.String -})); -dart.setLibraryUri(_http._Cookie, I[177]); -dart.setFieldSignature(_http._Cookie, () => ({ - __proto__: dart.getFields(_http._Cookie.__proto__), - [_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)), - domain: dart.fieldType(dart.nullable(core.String)), - [_path$3]: dart.fieldType(dart.nullable(core.String)), - httpOnly: dart.fieldType(core.bool), - secure: dart.fieldType(core.bool) -})); -dart.defineExtensionMethods(_http._Cookie, ['toString']); -var _timeline = dart.privateName(_http, "_timeline"); -_http.HttpProfiler = class HttpProfiler extends core.Object { - static startRequest(method, uri, opts) { - 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, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); - _http.HttpProfiler._profile[$_set](data.id, data); - return data; - } - static getHttpProfileRequest(id) { - if (id == null) dart.nullFailed(I[181], 22, 54, "id"); - return _http.HttpProfiler._profile[$_get](id); - } - static clear() { - return _http.HttpProfiler._profile[$clear](); - } - static toJson(updatedSince) { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - 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$1._HttpProfileDataTobool()))) - t260.push(request.toJson()); - return t260; - })()])); - } -}; -(_http.HttpProfiler.new = function() { - ; -}).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$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 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; - })(); - } -}; -(_http._HttpProfileEvent.new = function(name, $arguments) { - if (name == null) dart.nullFailed(I[181], 43, 26, "name"); - this.timestamp = developer.Timeline.now; - this.name = name; - this.arguments = $arguments; - ; -}).prototype = _http._HttpProfileEvent.prototype; -dart.addTypeTests(_http._HttpProfileEvent); -dart.addTypeCaches(_http._HttpProfileEvent); -dart.setMethodSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) -})); -dart.setLibraryUri(_http._HttpProfileEvent, I[177]); -dart.setFieldSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), - timestamp: dart.finalFieldType(core.int), - name: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(dart.nullable(core.Map)) -})); -var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); -var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); -var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); -var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); -var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); -var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); -var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); -var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); -var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); -var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); -var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); -var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); -var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); -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; - this[_timeline].instant(name, {arguments: $arguments}); - this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); - this[_updated](); - } - proxyEvent(proxy) { - if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); - this.proxyDetails = (() => { - 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](); - } - appendRequestData(data) { - if (data == null) dart.nullFailed(I[181], 94, 36, "data"); - this.requestBody[$addAll](data); - this[_updated](); - } - 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(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], 117, 32, "request"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - 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) - 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], 143, 51, "response"); - function formatRedirectInfo() { - 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$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) - 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], 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 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], 189, 38, "error"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - this.requestError = error; - this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - finishResponse() { - this.responseInProgress = false; - this.responseEndTimestamp = developer.Timeline.now; - this.requestEvent("Content Download"); - this[_responseTimeline].finish(); - this[_updated](); - } - finishResponseWithError(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; - this.responseError = error; - this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - appendResponseData(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], 225, 37, "ref"); - return (() => { - 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) - t268.push(event.toJson()); - return t268; - })()); - 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 (!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; - })()); - return t266; - })(); - } - [_updated]() { - return this[_lastUpdateTime] = developer.Timeline.now; - } - get id() { - let t271; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); - } - 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] = id$35param; - } - } - get requestStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); - } - 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] = requestStartTimestamp$35param; - } - } - get requestEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); - } - 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] = requestEndTimestamp$35param; - } - } - get responseStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); - } - 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] = responseStartTimestamp$35param; - } - } - get responseEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); - } - 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] = responseEndTimestamp$35param; - } - } - get lastUpdateTime() { - return this[_lastUpdateTime]; - } - get [_responseTimeline]() { - let t271; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); - } - set [_responseTimeline](_responseTimeline$35param) { - if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); - this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; - } -}; -(_http._HttpProfileData.new = function(method, uri, parent) { - if (method == null) dart.nullFailed(I[181], 58, 27, "method"); - if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); - this.requestInProgress = true; - this.responseInProgress = null; - this[___HttpProfileData_id] = null; - this[___HttpProfileData_id_isSet] = false; - this[___HttpProfileData_requestStartTimestamp] = null; - this[___HttpProfileData_requestStartTimestamp_isSet] = false; - this[___HttpProfileData_requestEndTimestamp] = null; - this[___HttpProfileData_requestEndTimestamp_isSet] = false; - this.requestDetails = null; - this.proxyDetails = null; - this.requestBody = T$.JSArrayOfint().of([]); - this.requestError = null; - this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); - this[___HttpProfileData_responseStartTimestamp] = null; - this[___HttpProfileData_responseStartTimestamp_isSet] = false; - this[___HttpProfileData_responseEndTimestamp] = null; - this[___HttpProfileData_responseEndTimestamp_isSet] = false; - this.responseDetails = null; - this.responseBody = T$.JSArrayOfint().of([]); - this.responseError = null; - this[_lastUpdateTime] = 0; - this[___HttpProfileData__responseTimeline] = null; - this[___HttpProfileData__responseTimeline_isSet] = false; - this.uri = uri; - this.method = method[$toUpperCase](); - this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); - this.id = this[_timeline].pass(); - this.requestInProgress = true; - this.requestStartTimestamp = developer.Timeline.now; - this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); - this[_updated](); -}).prototype = _http._HttpProfileData.prototype; -dart.addTypeTests(_http._HttpProfileData); -dart.addTypeCaches(_http._HttpProfileData); -dart.setMethodSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getMethods(_http._HttpProfileData.__proto__), - 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, [_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]), - finishResponse: dart.fnType(dart.void, []), - finishResponseWithError: dart.fnType(dart.void, [core.String]), - appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), - [_updated]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getGetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - lastUpdateTime: core.int, - [_responseTimeline]: developer.TimelineTask -})); -dart.setSetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getSetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - [_responseTimeline]: developer.TimelineTask -})); -dart.setLibraryUri(_http._HttpProfileData, I[177]); -dart.setFieldSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getFields(_http._HttpProfileData.__proto__), - requestInProgress: dart.fieldType(core.bool), - responseInProgress: dart.fieldType(dart.nullable(core.bool)), - [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), - requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - requestBody: dart.finalFieldType(core.List$(core.int)), - requestError: dart.fieldType(dart.nullable(core.String)), - requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), - [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), - responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - responseBody: dart.finalFieldType(core.List$(core.int)), - responseError: dart.fieldType(dart.nullable(core.String)), - [_lastUpdateTime]: dart.fieldType(core.int), - [_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)); - } -}, false); -var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); -var __serviceId$0 = dart.privateName(_http, "__serviceId"); -var _serviceId$ = dart.privateName(_http, "_serviceId"); -var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); -var _servicePath$ = dart.privateName(_http, "_servicePath"); -var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); -var _serviceType$ = dart.privateName(_http, "_serviceType"); -_http._ServiceObject = class _ServiceObject extends core.Object { - get [__serviceId$0]() { - return this[__serviceId$]; - } - set [__serviceId$0](value) { - if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); - this[__serviceId$] = value; - } - get [_serviceId$]() { - 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], 305, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); - return this[_serviceTypeName$]; - } -}; -(_http._ServiceObject.new = function() { - this[__serviceId$] = 0; - ; -}).prototype = _http._ServiceObject.prototype; -dart.addTypeTests(_http._ServiceObject); -dart.addTypeCaches(_http._ServiceObject); -dart.setMethodSignature(_http._ServiceObject, () => ({ - __proto__: dart.getMethods(_http._ServiceObject.__proto__), - [_serviceType$]: dart.fnType(core.String, [core.bool]) -})); -dart.setGetterSignature(_http._ServiceObject, () => ({ - __proto__: dart.getGetters(_http._ServiceObject.__proto__), - [_serviceId$]: core.int, - [_servicePath$]: core.String -})); -dart.setLibraryUri(_http._ServiceObject, I[177]); -dart.setFieldSignature(_http._ServiceObject, () => ({ - __proto__: dart.getFields(_http._ServiceObject.__proto__), - [__serviceId$0]: dart.fieldType(core.int) -})); -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], 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], 332, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer$1][$setRange](this[_length$1], required, bytes); - } else { - for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { - this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); - } - } - this[_length$1] = required; - } - addByte(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], 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], 354, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); - this[_buffer$1] = newBuffer; - } - takeBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); - this.clear(); - return buffer; - } - toBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); - } - get length() { - return this[_length$1]; - } - get isEmpty() { - return this[_length$1] === 0; - } - get isNotEmpty() { - return this[_length$1] !== 0; - } - clear() { - this[_length$1] = 0; - this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } -}; -(_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - 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)); - ; -}).prototype = _http._CopyingBytesBuilder.prototype; -dart.addTypeTests(_http._CopyingBytesBuilder); -dart.addTypeCaches(_http._CopyingBytesBuilder); -_http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow$0]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - 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, - isEmpty: core.bool, - isNotEmpty: core.bool -})); -dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); -dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), - [_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; - }, - /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } -}, false); -var _dataCompleter = dart.privateName(_http, "_dataCompleter"); -var _transferLength$ = dart.privateName(_http, "_transferLength"); -var _stream$1 = dart.privateName(_http, "_stream"); -_http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { - 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(_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], 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], 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; - this.reasonPhrase = null; - this.method = null; - this.uri = null; - this.hasSubscriber = false; - this.headers = headers; - this[_transferLength$] = _transferLength; - this[_stream$1] = _stream; - _http._HttpIncoming.__proto__.new.call(this); - ; -}).prototype = _http._HttpIncoming.prototype; -dart.addTypeTests(_http._HttpIncoming); -dart.addTypeCaches(_http._HttpIncoming); -dart.setMethodSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpIncoming.__proto__), - 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)}, {}), - close: dart.fnType(dart.void, [core.bool]) -})); -dart.setGetterSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getGetters(_http._HttpIncoming.__proto__), - transferLength: core.int, - 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$(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), - statusCode: dart.fieldType(dart.nullable(core.int)), - reasonPhrase: dart.fieldType(dart.nullable(core.String)), - method: dart.fieldType(dart.nullable(core.String)), - uri: dart.fieldType(dart.nullable(core.Uri)), - hasSubscriber: dart.fieldType(core.bool) -})); -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 t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } -}; -(_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessageListInt.__proto__.new.call(this); - ; -}).prototype = _http._HttpInboundMessageListInt.prototype; -dart.addTypeTests(_http._HttpInboundMessageListInt); -dart.addTypeCaches(_http._HttpInboundMessageListInt); -dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); -dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) -})); -_http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { - get cookies() { - let t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } -}; -(_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessage.__proto__.new.call(this); - ; -}).prototype = _http._HttpInboundMessage.prototype; -dart.addTypeTests(_http._HttpInboundMessage); -dart.addTypeCaches(_http._HttpInboundMessage); -dart.setGetterSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http._HttpInboundMessage, I[177]); -dart.setFieldSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) -})); -var _session = dart.privateName(_http, "_session"); -var _requestedUri = dart.privateName(_http, "_requestedUri"); -var _httpServer$ = dart.privateName(_http, "_httpServer"); -var _httpConnection$ = dart.privateName(_http, "_httpConnection"); -var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); -var _sessionManager$ = dart.privateName(_http, "_sessionManager"); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get uri() { - return dart.nullCheck(this[_incoming$].uri); - } - get requestedUri() { - let requestedUri = this[_requestedUri]; - if (requestedUri != null) return requestedUri; - let proto = this.headers._get("x-forwarded-proto"); - let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; - let hostList = this.headers._get("x-forwarded-host"); - let host = null; - if (hostList != null) { - host = hostList[$first]; - } else { - hostList = this.headers._get("host"); - if (hostList != null) { - host = hostList[$first]; - } else { - host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); - } - } - return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); - } - get method() { - return dart.nullCheck(this[_incoming$].method); - } - get session() { - let session = this[_session]; - if (session != null && !dart.test(session[_destroyed])) { - return session; - } - return this[_session] = this[_httpServer$][_sessionManager$].createSession(); - } - get connectionInfo() { - return this[_httpConnection$].connectionInfo; - } - get certificate() { - let socket = this[_httpConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } -}; -(_http._HttpRequest.new = function(response, _incoming, _httpServer, _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; - this[_httpServer$] = _httpServer; - this[_httpConnection$] = _httpConnection; - _http._HttpRequest.__proto__.new.call(this, _incoming); - if (this.headers.protocolVersion === "1.1") { - t271 = this.response.headers; - (() => { - 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], 507, 19, "cookie"); - return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); - return cookie.value; - }, T$1.CookieToString())); - for (let sessionId of sessionIds) { - let session = this[_httpServer$][_sessionManager$].getSession(sessionId); - this[_session] = session; - if (session != null) { - session[_markSeen](); - break; - } - } - } -}).prototype = _http._HttpRequest.prototype; -dart.addTypeTests(_http._HttpRequest); -dart.addTypeCaches(_http._HttpRequest); -_http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; -dart.setMethodSignature(_http._HttpRequest, () => ({ - __proto__: dart.getMethods(_http._HttpRequest.__proto__), - 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)}, {}) -})); -dart.setGetterSignature(_http._HttpRequest, () => ({ - __proto__: dart.getGetters(_http._HttpRequest.__proto__), - uri: core.Uri, - requestedUri: core.Uri, - method: core.String, - session: _http.HttpSession, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - certificate: dart.nullable(io.X509Certificate) -})); -dart.setLibraryUri(_http._HttpRequest, I[177]); -dart.setFieldSignature(_http._HttpRequest, () => ({ - __proto__: dart.getFields(_http._HttpRequest.__proto__), - response: dart.finalFieldType(_http.HttpResponse), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), - [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), - [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) -})); -var _httpRequest$ = dart.privateName(_http, "_httpRequest"); -var _httpClient$ = dart.privateName(_http, "_httpClient"); -var _profileData$ = dart.privateName(_http, "_profileData"); -var _responseRedirects = dart.privateName(_http, "_responseRedirects"); -var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); -var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); -var _connectionClosed = dart.privateName(_http, "_connectionClosed"); -var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); -var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); -var _proxy$ = dart.privateName(_http, "_proxy"); -var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); -var _findCredentials = dart.privateName(_http, "_findCredentials"); -var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); -var _removeCredentials = dart.privateName(_http, "_removeCredentials"); -var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); -var _authenticate = dart.privateName(_http, "_authenticate"); -_http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { - 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], 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 { - return _http.HttpClientResponseCompressionState.notCompressed; - } - } - get statusCode() { - return dart.nullCheck(this[_incoming$].statusCode); - } - get reasonPhrase() { - return dart.nullCheck(this[_incoming$].reasonPhrase); - } - get certificate() { - let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } - get cookies() { - let cookies = this[_cookies]; - if (cookies != null) return cookies; - cookies = T$0.JSArrayOfCookie().of([]); - let values = this.headers._get("set-cookie"); - if (values != null) { - for (let value of values) { - cookies[$add](_http.Cookie.fromSetCookieValue(value)); - } - } - this[_cookies] = cookies; - return cookies; - } - get isRedirect() { - if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { - return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; - } else if (this[_httpRequest$].method === "POST") { - return this.statusCode === 303; - } - return false; - } - redirect(method = null, url = null, followLoops = null) { - if (method == null) { - if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { - method = "GET"; - } else { - method = this[_httpRequest$].method; - } - } - if (url == null) { - let location = this.headers.value("location"); - if (location == null) { - dart.throw(new core.StateError.new("Response has no Location header for redirect")); - } - url = core.Uri.parse(location); - } - if (followLoops !== true) { - for (let redirect of this.redirects) { - if (dart.equals(redirect.location, url)) { - return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); - } - } - } - 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]; - (() => { - t271[$addAll](this.redirects); - t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t271; - })(); - return request.close(); - }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); - } - listen(onData, opts) { - 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)) { - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); - this[_httpRequest$][_httpClientConnection$].destroy(); - 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[478] || CT.C478); - } - if (this[_profileData$] != null) { - stream = stream.map(typed_data.Uint8List, dart.fn(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$1.Uint8ListToUint8List())); - } - return stream.listen(onData, {onError: dart.fn((e, st) => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); - if (onError == null) { - return; - } - if (T$.ObjectAndStackTraceTovoid().is(onError)) { - onError(core.Object.as(e), core.StackTrace.as(st)); - } else { - T$.ObjectTovoid().as(onError)(core.Object.as(e)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponse(); - if (onDone != null) { - onDone(); - } - }, T$.VoidTovoid()), cancelOnError: cancelOnError}); - } - detachSocket() { - 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(); - } - get connectionInfo() { - return this[_httpRequest$].connectionInfo; - } - get [_shouldAuthenticateProxy]() { - let challenge = this.headers._get("proxy-authenticate"); - return this.statusCode === 407 && challenge != null && challenge[$length] === 1; - } - get [_shouldAuthenticate]() { - let challenge = this.headers._get("www-authenticate"); - return this.statusCode === 401 && challenge != null && challenge[$length] === 1; - } - [_authenticate](proxyAuth) { - 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 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$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); - }; - 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$1.VoidToListNOfString()); - const findCredentials = 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$1._AuthenticationSchemeTo_CredentialsN()); - const removeCredentials = 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$1._CredentialsTovoid()); - const requestAuthentication = (scheme, realm) => { - 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$]; - if (!dart.test(proxy.isDirect)) { - return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), 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$1._AuthenticationSchemeAndStringNToFutureOfbool()); - let challenge = dart.nullCheck(authChallenge()); - 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"); - let cr = findCredentials(scheme); - if (cr != null) { - if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { - return retry(); - } - if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { - let algorithm = header.parameters[$_get]("algorithm"); - if (algorithm == null || algorithm[$toLowerCase]() === "md5") { - let nonce = cr.nonce; - if (nonce == null || nonce == header.parameters[$_get]("nonce")) { - if (nonce == null) { - t271$ = cr; - (() => { - t271$.nonce = header.parameters[$_get]("nonce"); - t271$.algorithm = "MD5"; - t271$.qop = header.parameters[$_get]("qop"); - t271$.nonceCount = 0; - return t271$; - })(); - } - return retry(); - } else { - let staleHeader = header.parameters[$_get]("stale"); - if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { - cr.nonce = header.parameters[$_get]("nonce"); - return retry(); - } - } - } - } - } - if (cr != null) { - removeCredentials(cr); - cr = null; - } - return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(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$1.boolToFutureOrOfHttpClientResponse())); - } -}; -(_http._HttpClientResponse.new = function(_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"); - this[_httpRequest$] = _httpRequest; - this[_httpClient$] = _httpClient; - this[_profileData$] = _profileData; - this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); - _http._HttpClientResponse.__proto__.new.call(this, _incoming); - _incoming.uri = this[_httpRequest$].uri; -}).prototype = _http._HttpClientResponse.prototype; -dart.addTypeTests(_http._HttpClientResponse); -dart.addTypeCaches(_http._HttpClientResponse); -_http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; -dart.setMethodSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), - redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), - 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)}, {}), - 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), - statusCode: core.int, - reasonPhrase: core.String, - certificate: dart.nullable(io.X509Certificate), - isRedirect: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_shouldAuthenticateProxy]: core.bool, - [_shouldAuthenticate]: core.bool -})); -dart.setLibraryUri(_http._HttpClientResponse, I[177]); -dart.setFieldSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getFields(_http._HttpClientResponse.__proto__), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), - compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), - [_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], 868, 31, "input"); - return _native_typed_data.NativeUint8List.fromList(input); - } - startChunkedConversion(sink) { - T$1.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); - return new _http._Uint8ListConversionSink.new(sink); - } -}; -(_http._ToUint8List.new = function() { - _http._ToUint8List.__proto__.new.call(this); - ; -}).prototype = _http._ToUint8List.prototype; -dart.addTypeTests(_http._ToUint8List); -dart.addTypeCaches(_http._ToUint8List); -dart.setMethodSignature(_http._ToUint8List, () => ({ - __proto__: dart.getMethods(_http._ToUint8List.__proto__), - convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(_http._ToUint8List, I[177]); -var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); -var _target$2 = dart.privateName(_http, "_target"); -_http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { - get [_target$2]() { - return this[_target$1]; - } - 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], 880, 22, "data"); - this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); - } - close() { - this[_target$2].close(); - } -}; -(_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); - this[_target$1] = _target; - ; -}).prototype = _http._Uint8ListConversionSink.prototype; -dart.addTypeTests(_http._Uint8ListConversionSink); -dart.addTypeCaches(_http._Uint8ListConversionSink); -_http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; -dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); -dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), - [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) -})); -var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); -var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); -var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); -var _isClosed$0 = dart.privateName(_http, "_isClosed"); -var _isBound$ = dart.privateName(_http, "_isBound"); -var _hasError$0 = dart.privateName(_http, "_hasError"); -var _controller$0 = dart.privateName(_http, "_controller"); -var _closeTarget$ = dart.privateName(_http, "_closeTarget"); -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 __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])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller$0].add(data); - } - addError(error, stackTrace = null) { - 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) { - __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")); - } - this[_isBound$] = true; - if (dart.test(this[_hasError$0])) return this.done; - const targetAddStream = () => { - return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { - this[_isBound$] = false; - }, T$.VoidToNull())); - }; - dart.fn(targetAddStream, T$0.VoidToFuture()); - let controller = this[_controllerInstance$]; - if (controller == null) return targetAddStream(); - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.close(); - return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); - } - flush() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - let controller = this[_controllerInstance$]; - if (controller == null) return async.Future.value(this); - this[_isBound$] = true; - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.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$0])) { - this[_isClosed$0] = true; - let controller = this[_controllerInstance$]; - if (controller != null) { - controller.close(); - } else { - this[_closeTarget$](); - } - } - return this.done; - } - [_closeTarget$]() { - this[_target$2].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 (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); - } - } - get [_controller$0]() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$0])) { - 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$2].addStream(this[_controller$0].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 (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; - this[_controllerInstance$] = null; - } else { - this[_completeDoneError$](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull())}); - } - return dart.nullCheck(this[_controllerInstance$]); - } - } - (_StreamSinkImpl.new = function(_target) { - 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; - this[_isBound$] = false; - this[_hasError$0] = false; - this[_target$2] = _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, [core.Object, core.StackTrace]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller$0]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[177]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), - [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$0]: dart.fieldType(core.bool), - [_isBound$]: dart.fieldType(core.bool), - [_hasError$0]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; -}); -_http._StreamSinkImpl = _http._StreamSinkImpl$(); -dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); -var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); -var _encoding$0 = dart.privateName(_http, "_encoding"); -var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); -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)) { - 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], 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 t271; - let string = dart.str(obj); - if (string[$isEmpty]) return; - 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], 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]) { - 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[181], 1072, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } - get [__IOSink_encoding_isSet]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); - } - get [__IOSink_encoding]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 1028, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); - this[_encodingMutable$] = true; - this[_encoding$0] = _encoding; - this[_profileData$] = _profileData; - _http._IOSinkImpl.__proto__.new.call(this, target); - ; -}).prototype = _http._IOSinkImpl.prototype; -dart.addTypeTests(_http._IOSinkImpl); -dart.addTypeCaches(_http._IOSinkImpl); -_http._IOSinkImpl[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getMethods(_http._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(_http._IOSinkImpl, () => ({ - __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), - encoding: convert.Encoding, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) -})); -dart.setLibraryUri(_http._IOSinkImpl, I[177]); -dart.setFieldSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getFields(_http._IOSinkImpl.__proto__), - [_encoding$0]: dart.fieldType(convert.Encoding), - [_encodingMutable$]: dart.fieldType(core.bool), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) -})); -var _encodingSet = dart.privateName(_http, "_encodingSet"); -var _bufferOutput = dart.privateName(_http, "_bufferOutput"); -var _uri = dart.privateName(_http, "_uri"); -var _outgoing = dart.privateName(_http, "_outgoing"); -var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); -const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); -_http._HttpOutboundMessage$ = dart.generic(T => { - class _HttpOutboundMessage extends _http._IOSinkImpl { - get contentLength() { - return this.headers.contentLength; - } - set contentLength(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], 1110, 38, "p"); - this.headers.persistentConnection = p; - } - get bufferOutput() { - return this[_bufferOutput]; - } - set bufferOutput(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 t271; - if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { - return this[_encoding$0]; - } - let charset = null; - let contentType = this.headers.contentType; - if (contentType != null && contentType.charset != null) { - charset = dart.nullCheck(contentType.charset); - } else { - charset = "iso-8859-1"; - } - t271 = convert.Encoding.getByName(charset); - return t271 == null ? convert.latin1 : t271; - } - set encoding(value) { - super.encoding = value; - } - add(data) { - let t271; - T$0.ListOfint().as(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], 1140, 38, "s"); - if (this[_profileData$] == null) { - return super.addStream(s); - } - return super.addStream(s.map(T$0.ListOfint(), dart.fn(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$1.ListOfintToListOfint()))); - } - write(obj) { - if (!dart.test(this[_encodingSet])) { - this[_encoding$0] = this.encoding; - this[_encodingSet] = true; - } - super.write(obj); - } - get [_isConnectionClosed]() { - return false; - } - } - (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - 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: 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; - this[_encodingMutable$] = false; - }).prototype = _HttpOutboundMessage.prototype; - dart.addTypeTests(_HttpOutboundMessage); - _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; - dart.addTypeCaches(_HttpOutboundMessage); - dart.setGetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool, - [_isConnectionClosed]: core.bool - })); - dart.setSetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool - })); - dart.setLibraryUri(_HttpOutboundMessage, I[177]); - dart.setFieldSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getFields(_HttpOutboundMessage.__proto__), - [_encodingSet]: dart.fieldType(core.bool), - [_bufferOutput]: dart.fieldType(core.bool), - [_uri]: dart.finalFieldType(core.Uri), - [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), - headers: dart.finalFieldType(_http._HttpHeaders) - })); - return _HttpOutboundMessage; -}); -_http._HttpOutboundMessage = _http._HttpOutboundMessage$(); -dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); -var _statusCode = dart.privateName(_http, "_statusCode"); -var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); -var _deadline = dart.privateName(_http, "_deadline"); -var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); -var _isClosing = dart.privateName(_http, "_isClosing"); -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 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], 1186, 27, "statusCode"); - if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); - this[_statusCode] = statusCode; - } - get reasonPhrase() { - return this[_findReasonPhrase](this.statusCode); - } - set reasonPhrase(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], 1197, 23, "location"); - let status = opts && 'status' in opts ? opts.status : 302; - 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)); - return this.close(); - } - detachSocket(opts) { - let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - 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], 1211, 14, "headersFuture == null"); - } else { - this[_outgoing].headersWritten = true; - } - this.close(); - this.done.catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - return future; - } - get connectionInfo() { - return dart.nullCheck(this[_httpRequest$]).connectionInfo; - } - get deadline() { - return this[_deadline]; - } - set deadline(d) { - 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(() => { - dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); - }, T$.VoidTovoid())); - } - [_writeHeader]() { - let t271, t271$, t271$0; - let buffer = new _http._CopyingBytesBuilder.new(8192); - if (this.headers.protocolVersion === "1.1") { - buffer.add(_http._Const.HTTP11); - } else { - buffer.add(_http._Const.HTTP10); - } - buffer.addByte(32); - buffer.add(dart.toString(this.statusCode)[$codeUnits]); - buffer.addByte(32); - buffer.add(this.reasonPhrase[$codeUnits]); - buffer.addByte(13); - buffer.addByte(10); - let session = dart.nullCheck(this[_httpRequest$])[_session]; - if (session != null && !dart.test(session[_destroyed])) { - session[_isNew] = false; - let found = false; - for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { - if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t271 = this.cookies[$_get](i); - (() => { - 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]((t271$ = cookie, (() => { - t271$.httpOnly = true; - t271$.path = "/"; - return t271$; - })())); - } - } - 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$1.CookieTovoid())); - this.headers[_finalize](); - this.headers[_build](buffer); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - [_findReasonPhrase](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"; - } - case 101: - { - return "Switching Protocols"; - } - case 200: - { - return "OK"; - } - case 201: - { - return "Created"; - } - case 202: - { - return "Accepted"; - } - case 203: - { - return "Non-Authoritative Information"; - } - case 204: - { - return "No Content"; - } - case 205: - { - return "Reset Content"; - } - case 206: - { - return "Partial Content"; - } - case 300: - { - return "Multiple Choices"; - } - case 301: - { - return "Moved Permanently"; - } - case 302: - { - return "Found"; - } - case 303: - { - return "See Other"; - } - case 304: - { - return "Not Modified"; - } - case 305: - { - return "Use Proxy"; - } - case 307: - { - return "Temporary Redirect"; - } - case 400: - { - return "Bad Request"; - } - case 401: - { - return "Unauthorized"; - } - case 402: - { - return "Payment Required"; - } - case 403: - { - return "Forbidden"; - } - case 404: - { - return "Not Found"; - } - case 405: - { - return "Method Not Allowed"; - } - case 406: - { - return "Not Acceptable"; - } - case 407: - { - return "Proxy Authentication Required"; - } - case 408: - { - return "Request Time-out"; - } - case 409: - { - return "Conflict"; - } - case 410: - { - return "Gone"; - } - case 411: - { - return "Length Required"; - } - case 412: - { - return "Precondition Failed"; - } - case 413: - { - return "Request Entity Too Large"; - } - case 414: - { - return "Request-URI Too Long"; - } - case 415: - { - return "Unsupported Media Type"; - } - case 416: - { - return "Requested range not satisfiable"; - } - case 417: - { - return "Expectation Failed"; - } - case 500: - { - return "Internal Server Error"; - } - case 501: - { - return "Not Implemented"; - } - case 502: - { - return "Bad Gateway"; - } - case 503: - { - return "Service Unavailable"; - } - case 504: - { - return "Gateway Time-out"; - } - case 505: - { - return "Http Version not supported"; - } - default: - { - return "Status " + dart.str(statusCode); - } - } - } -}; -(_http._HttpResponse.new = function(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"); - this[_statusCode] = 200; - this[_reasonPhrase] = null; - this[_cookies] = null; - this[_httpRequest$] = null; - this[_deadline] = null; - this[_deadlineTimer] = null; - _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); - if (serverHeader != null) { - this.headers.set("server", serverHeader); - } -}).prototype = _http._HttpResponse.prototype; -dart.addTypeTests(_http._HttpResponse); -dart.addTypeCaches(_http._HttpResponse); -_http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; -dart.setMethodSignature(_http._HttpResponse, () => ({ - __proto__: dart.getMethods(_http._HttpResponse.__proto__), - redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), - detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), - [_writeHeader]: dart.fnType(dart.void, []), - [_findReasonPhrase]: dart.fnType(core.String, [core.int]) -})); -dart.setGetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getGetters(_http._HttpResponse.__proto__), - cookies: core.List$(_http.Cookie), - statusCode: core.int, - reasonPhrase: core.String, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - deadline: dart.nullable(core.Duration) -})); -dart.setSetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getSetters(_http._HttpResponse.__proto__), - statusCode: core.int, - reasonPhrase: core.String, - deadline: dart.nullable(core.Duration) -})); -dart.setLibraryUri(_http._HttpResponse, I[177]); -dart.setFieldSignature(_http._HttpResponse, () => ({ - __proto__: dart.getFields(_http._HttpResponse.__proto__), - [_statusCode]: dart.fieldType(core.int), - [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), - [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), - [_deadline]: dart.fieldType(dart.nullable(core.Duration)), - [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) -})); -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 _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); -var _requestUri = dart.privateName(_http, "_requestUri"); -_http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - 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 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])) { - super.close(); - } - return this.done; - } - get maxRedirects() { - return this[_maxRedirects]; - } - set maxRedirects(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; - } - get followRedirects() { - return this[_followRedirects]; - } - set followRedirects(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; - } - get connectionInfo() { - return this[_httpClientConnection$].connectionInfo; - } - [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); - if (dart.test(this[_aborted])) { - return; - } - let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); - 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$1.dynamicToFutureOfHttpClientResponse())); - } else { - 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$1.FutureOfHttpClientResponse().value(response); - } - future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].complete(v); - } - }, 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], 1503, 35, "stackTrace"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].completeError(core.Object.as(error), stackTrace); - } - } - [_requestUri]() { - const uriStartingFromPath = () => { - let result = this.uri.path; - if (result[$isEmpty]) result = "/"; - if (dart.test(this.uri.hasQuery)) { - result = dart.str(result) + "?" + dart.str(this.uri.query); - } - return result; - }; - dart.fn(uriStartingFromPath, T$.VoidToString()); - if (dart.test(this[_proxy$].isDirect)) { - return uriStartingFromPath(); - } else { - if (this.method === "CONNECT") { - return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); - } else { - if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { - return uriStartingFromPath(); - } else { - return dart.toString(this.uri.removeFragment()); - } - } - } - } - add(data) { - T$0.ListOfint().as(data); - 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) { - if (dart.test(this[_aborted])) return; - super.write(obj); - } - [_writeHeader]() { - let t271; - if (dart.test(this[_aborted])) { - this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); - return; - } - let buffer = new _http._CopyingBytesBuilder.new(8192); - buffer.add(this.method[$codeUnits]); - buffer.addByte(32); - buffer.add(this[_requestUri]()[$codeUnits]); - buffer.addByte(32); - buffer.add(_http._Const.HTTP11); - buffer.addByte(13); - buffer.addByte(10); - 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("; "); - t271 = sb; - (() => { - 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, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - abort(exception = null, stackTrace = null) { - this[_aborted] = true; - if (!dart.test(this[_responseCompleter].isCompleted)) { - exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; - this[_responseCompleter].completeError(exception, stackTrace); - this[_httpClientConnection$].destroy(); - } - } -}; -(_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - 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$1.CompleterOfHttpClientResponse().new(); - this[_response] = null; - this[_followRedirects] = true; - this[_maxRedirects] = 5; - this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); - this[_aborted] = false; - this.uri = uri; - this.method = method; - this[_proxy$] = _proxy; - this[_httpClient$] = _httpClient; - this[_httpClientConnection$] = _httpClientConnection; - _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t271 = _profileData; - t271 == null ? null : t271.requestEvent("Request sent"); - if (this.method === "GET" || this.method === "HEAD") { - this.contentLength = 0; - } else { - this.headers.chunkedTransferEncoding = true; - } - this[_responseCompleter].future.then(core.Null, dart.fn(response => { - 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); -dart.addTypeCaches(_http._HttpClientRequest); -_http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; -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]), - [_requestUri]: dart.fnType(core.String, []), - [_writeHeader]: dart.fnType(dart.void, []), - abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) -})); -dart.setGetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), - done: async.Future$(_http.HttpClientResponse), - maxRedirects: core.int, - followRedirects: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo) -})); -dart.setSetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), - maxRedirects: core.int, - followRedirects: core.bool -})); -dart.setLibraryUri(_http._HttpClientRequest, I[177]); -dart.setFieldSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getFields(_http._HttpClientRequest.__proto__), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - cookies: dart.finalFieldType(core.List$(_http.Cookie)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_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.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 t271; - T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); - t271 = chunk; - this[_consume$](t271); - } - addSlice(chunk, start, end, 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)) { - t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t271); - } else { - 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], 1608, 22, "_consume"); - this[_consume$] = _consume; - _http._HttpGZipSink.__proto__.new.call(this); - ; -}).prototype = _http._HttpGZipSink.prototype; -dart.addTypeTests(_http._HttpGZipSink); -dart.addTypeCaches(_http._HttpGZipSink); -dart.setMethodSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._HttpGZipSink, I[177]); -dart.setFieldSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getFields(_http._HttpGZipSink.__proto__), - [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) -})); -var _closeFuture = dart.privateName(_http, "_closeFuture"); -var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); -var _bytesWritten = dart.privateName(_http, "_bytesWritten"); -var _gzip = dart.privateName(_http, "_gzip"); -var _gzipSink = dart.privateName(_http, "_gzipSink"); -var _gzipAdd = dart.privateName(_http, "_gzipAdd"); -var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); -var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); -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"); -_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], 1687, 13, "drainRequest"); - let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); - if (dart.test(this.headersWritten)) return null; - this.headersWritten = true; - let drainFuture = null; - let gzip = false; - let response = dart.nullCheck(this.outbound); - if (_http._HttpResponse.is(response)) { - if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { - 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], 1705, 26, "list"); - return list[$split](","); - }, 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"); - gzip = true; - } - } - if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { - drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - } - } else { - drainRequest = false; - } - if (!dart.test(this.ignoreBody)) { - if (dart.test(setOutgoing)) { - let contentLength = response.headers.contentLength; - if (dart.test(response.headers.chunkedTransferEncoding)) { - this.chunked = true; - if (gzip) this.gzip = true; - } else if (dart.notNull(contentLength) >= 0) { - this.contentLength = contentLength; - } - } - if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); - } - } - response[_writeHeader](); - return null; - } - addStream(stream) { - T$0.StreamOfListOfint().as(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); - } - if (dart.test(this.ignoreBody)) { - stream.drain(dart.dynamic).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - let future = this.writeHeaders(); - if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); - } - return this.close(); - } - let controller = T$1.StreamControllerOfListOfint().new({sync: true}); - const onData = data => { - if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); - if (dart.test(this[_socketError])) return; - if (dart.test(data[$isEmpty])) return; - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - 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]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); - this[_pendingChunkedFooter] = 2; - } else { - let contentLength = this.contentLength; - if (contentLength != null) { - this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); - if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { - controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); - return; - } - } - } - 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}); - controller.onPause = dart.bind(sub, 'pause'); - controller.onResume = dart.bind(sub, 'resume'); - if (!dart.test(this.headersWritten)) { - let future = this.writeHeaders(); - if (future != null) { - sub.pause(future); - } - } - 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))) { - return this.outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); - } - close() { - let closeFuture = this[_closeFuture]; - if (closeFuture != null) return closeFuture; - let outbound = dart.nullCheck(this.outbound); - if (dart.test(this[_socketError])) return async.Future.value(outbound); - if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); - if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { - if (outbound.headers.contentLength === -1) { - outbound.headers.chunkedTransferEncoding = false; - outbound.headers.contentLength = 0; - } else if (dart.notNull(outbound.headers.contentLength) > 0) { - let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - let contentLength = this.contentLength; - if (contentLength != null) { - if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { - let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - const finalize = () => { - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(this.socket, 'add'); - if (dart.notNull(this[_gzipBufferLength]) > 0) { - dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); - } - this[_gzipBuffer] = null; - dart.nullCheck(this[_gzipSink]).close(); - this[_gzipAdd] = null; - } - this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); - } - if (dart.notNull(this[_length$1]) > 0) { - this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - } - this[_buffer$1] = null; - return this.socket.flush().then(dart.dynamic, dart.fn(_ => { - this[_doneCompleter$].complete(this.socket); - return outbound; - }, 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))) { - return outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); - }; - dart.fn(finalize, T$0.VoidToFuture()); - let future = this.writeHeaders(); - if (future != null) { - return this[_closeFuture] = future.whenComplete(finalize); - } - return this[_closeFuture] = finalize(); - } - get done() { - return this[_doneCompleter$].future; - } - setHeader(data, length) { - 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], 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], 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], 1912, 73, "data"); - if (this[_gzipAdd] == null) return; - this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); - this[_pendingChunkedFooter] = 2; - this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); - }, T$0.ListOfintTovoid()))); - } - } - [_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], 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); - return; - } - let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); - if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { - add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); - this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - this[_gzipBufferLength] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - let currentLength = this[_gzipBufferLength]; - let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); - dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); - this[_gzipBufferLength] = newLength; - } - } - [_addChunk$](chunk, 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) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = null; - this[_length$1] = 0; - } - add(chunk); - return; - } - if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); - this[_length$1] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); - this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); - } - } - [_chunkHeader](length) { - 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; - } - let size = this[_pendingChunkedFooter]; - let len = length; - while (dart.notNull(len) > 0) { - size = dart.notNull(size) + 1; - len = len[$rightShift](4); - } - let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); - if (this[_pendingChunkedFooter] === 2) { - footerAndHeader[$_set](0, 13); - footerAndHeader[$_set](1, 10); - } - let index = size; - while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { - footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); - length = length[$rightShift](4); - } - footerAndHeader[$_set](dart.notNull(size) + 0, 13); - footerAndHeader[$_set](dart.notNull(size) + 1, 10); - return footerAndHeader; - } -}; -(_http._HttpOutgoing.new = function(socket) { - 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; - this[_length$1] = 0; - this[_closeFuture] = null; - this.chunked = false; - this[_pendingChunkedFooter] = 0; - this.contentLength = null; - this[_bytesWritten] = 0; - this[_gzip] = false; - this[_gzipSink] = null; - this[_gzipAdd] = null; - this[_gzipBuffer] = null; - this[_gzipBufferLength] = 0; - this[_socketError] = false; - this.outbound = null; - this.socket = socket; - ; -}).prototype = _http._HttpOutgoing.prototype; -dart.addTypeTests(_http._HttpOutgoing); -dart.addTypeCaches(_http._HttpOutgoing); -_http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; -dart.setMethodSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), - writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), - 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]), - [_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]) -})); -dart.setGetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), - done: async.Future$(io.Socket) -})); -dart.setSetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), - gzip: core.bool -})); -dart.setLibraryUri(_http._HttpOutgoing, I[177]); -dart.setFieldSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getFields(_http._HttpOutgoing.__proto__), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), - socket: dart.finalFieldType(io.Socket), - ignoreBody: dart.fieldType(core.bool), - headersWritten: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_length$1]: dart.fieldType(core.int), - [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), - chunked: dart.fieldType(core.bool), - [_pendingChunkedFooter]: dart.fieldType(core.int), - contentLength: dart.fieldType(dart.nullable(core.int)), - [_bytesWritten]: dart.fieldType(core.int), - [_gzip]: dart.fieldType(core.bool), - [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), - [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), - [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_gzipBufferLength]: dart.fieldType(core.int), - [_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[484] || CT.C484; - }, - /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[485] || CT.C485; - } -}, false); -var _subscription$0 = dart.privateName(_http, "_subscription"); -var _dispose = dart.privateName(_http, "_dispose"); -var _idleTimer = dart.privateName(_http, "_idleTimer"); -var _currentUri = dart.privateName(_http, "_currentUri"); -var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); -var _streamFuture = dart.privateName(_http, "_streamFuture"); -var _context$0 = dart.privateName(_http, "_context"); -var _httpParser = dart.privateName(_http, "_httpParser"); -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 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})); - } - this[_currentUri] = uri; - dart.nullCheck(this[_subscription$0]).pause(); - if (method === "CONNECT") { - this[_httpParser].connectMethod = true; - } - let proxyCreds = null; - let creds = null; - let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); - 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) + "]"; - t271 = request.headers; - (() => { - 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 = 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.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { - proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); - if (proxyCreds != null) { - proxyCreds.authorize(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)); - } else { - creds = this[_httpClient$][_findCredentials](uri); - if (creds != null) { - creds.authorize(request); - } - } - this[_httpParser].isHead = method === "HEAD"; - this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - 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], 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(); - return; - } - if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { - return; - } - 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$.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) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) proxyCreds.nonce = nextnonce; - } - } - if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { - let authInfo = incoming.headers._get("authentication-info"); - if (authInfo != null && authInfo[$length] === 1) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) creds.nonce = nextnonce; - } - } - request[_onIncoming](incoming); - }, 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], 2221, 17, "error"); - return core.StateError.is(error); - }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { - this.destroy(); - request[_onError](error, core.StackTrace.as(stackTrace)); - }, T$.dynamicAnddynamicToNull())); - dart.nullCheck(this[_subscription$0]).resume(); - return s; - }, 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], 2239, 16, "_"); - return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T$1.SocketTo_DetachedSocket())); - } - destroy() { - this.closed = true; - this[_httpClient$][_connectionClosed](this); - this[_socket$0].destroy(); - } - destroyFromExternal() { - this.closed = true; - this[_httpClient$][_connectionClosedNoFurtherClosing](this); - this[_socket$0].destroy(); - } - close() { - 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], 2259, 16, "_"); - return this[_socket$0].destroy(); - }, 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], 2267, 16, "_"); - return this[_socket$0].destroy(); - }, T$1.SocketTovoid())); - } - createProxyTunnel(host, port, proxy, callback, profileData) { - 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}); - 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 = 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 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) + ")"; - 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$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)); - t271 = profileData; - t271 == null ? null : t271.requestEvent("Proxy tunnel established"); - return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, 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], 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 t271; - t271 = this[_idleTimer]; - t271 == null ? null : t271.cancel(); - this[_idleTimer] = null; - } - startTimer() { - 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(); - }, T$.VoidTovoid())); - } -}; -(_http._HttpClientConnection.new = function(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"); - this[_subscription$0] = null; - this[_dispose] = false; - this[_idleTimer] = null; - this.closed = false; - this[_currentUri] = null; - this[_nextResponseCompleter] = null; - this[_streamFuture] = null; - this.key = key; - this[_socket$0] = _socket; - this[_httpClient$] = _httpClient; - this[_proxyTunnel$] = _proxyTunnel; - this[_context$0] = _context; - 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], 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]})); - } - if (incoming.statusCode === 100) { - 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], 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$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$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$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())}); -}).prototype = _http._HttpClientConnection.prototype; -dart.addTypeTests(_http._HttpClientConnection); -dart.addTypeCaches(_http._HttpClientConnection); -dart.setMethodSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), - send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - destroy: dart.fnType(dart.void, []), - destroyFromExternal: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - closeFromExternal: dart.fnType(dart.void, []), - createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), - 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) -})); -dart.setLibraryUri(_http._HttpClientConnection, I[177]); -dart.setFieldSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getFields(_http._HttpClientConnection.__proto__), - key: dart.finalFieldType(core.String), - [_socket$0]: dart.finalFieldType(io.Socket), - [_proxyTunnel$]: dart.finalFieldType(core.bool), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_dispose]: dart.fieldType(core.bool), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - closed: dart.fieldType(core.bool), - [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), - [_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 { - 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], 2344, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); - this.connection = connection; - this.proxy = proxy; - ; -}).prototype = _http._ConnectionInfo.prototype; -dart.addTypeTests(_http._ConnectionInfo); -dart.addTypeCaches(_http._ConnectionInfo); -dart.setLibraryUri(_http._ConnectionInfo, I[177]); -dart.setFieldSignature(_http._ConnectionInfo, () => ({ - __proto__: dart.getFields(_http._ConnectionInfo.__proto__), - connection: dart.finalFieldType(_http._HttpClientConnection), - proxy: dart.finalFieldType(_http._Proxy) -})); -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 _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; - } - get hasIdle() { - return this[_idle][$isNotEmpty]; - } - get hasActive() { - return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; - } - takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); - let connection = this[_idle][$first]; - this[_idle].remove(connection); - connection.stopTimer(); - this[_active].add(connection); - return connection; - } - [_checkPending]() { - if (dart.test(this[_pending$][$isNotEmpty])) { - this[_pending$].removeFirst()(); - } - } - addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); - this[_active].add(connection); - } - returnConnection(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], 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], 2405, 19, "force"); - for (let t of this[_socketTasks][$toList]()) { - t.socket.then(core.Null, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); - s.destroy(); - }, T$1.SocketToNull()), {onError: dart.fn(e => { - }, T$.dynamicToNull())}); - t.cancel(); - } - if (dart.test(force)) { - for (let c of this[_idle][$toList]()) { - c.destroyFromExternal(); - } - for (let c of this[_active][$toList]()) { - c.destroyFromExternal(); - } - } else { - for (let c of this[_idle][$toList]()) { - c.closeFromExternal(); - } - } - } - 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$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$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], 2447, 35, "certificate"); - if (currentBadCertificateCallback == null) return false; - return currentBadCertificateCallback(certificate, uriHost, uriPort); - } - 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], 2469, 56, "task"); - this[_socketTasks].add(task); - let socketFuture = task.socket; - let connectionTimeout = client.connectionTimeout; - if (connectionTimeout != null) { - 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; - 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], 2487, 22, "tunnel"); - client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(tunnel, proxy); - }, T$1._HttpClientConnectionTo_ConnectionInfo())); - } else { - this.addNewActive(connection); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(connection, proxy); - } - }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { - if (async.TimeoutException.is(error)) { - 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(); - dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); - } - this[_socketTasks].remove(task); - this[_checkPending](); - dart.throw(error); - }, T$0.dynamicToNever())}); - }, 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, 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); -dart.addTypeCaches(_http._ConnectionTarget); -dart.setMethodSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), - takeIdle: dart.fnType(_http._HttpClientConnection, []), - [_checkPending]: dart.fnType(dart.dynamic, []), - addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), - 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.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) -})); -dart.setGetterSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), - isEmpty: core.bool, - hasIdle: core.bool, - hasActive: core.bool -})); -dart.setLibraryUri(_http._ConnectionTarget, I[177]); -dart.setFieldSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getFields(_http._ConnectionTarget.__proto__), - key: dart.finalFieldType(core.String), - host: dart.finalFieldType(core.String), - 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$(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"); -var _Proxy_port = dart.privateName(_http, "_Proxy.port"); -var _Proxy_host = dart.privateName(_http, "_Proxy.host"); -var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); -var _getConnection = dart.privateName(_http, "_getConnection"); -_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], 2558, 33, "timeout"); - this[_idleTimeout] = timeout; - for (let c of this[_connectionTargets][$values]) { - for (let idle of c[_idle]) { - idle.stopTimer(); - idle.startTimer(); - } - } - } - set badCertificateCallback(callback) { - this[_badCertificateCallback] = callback; - } - set keyLog(callback) { - this[_keyLog] = callback; - } - open(method, host, port, 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) { - let char = path[$codeUnitAt](i); - if (char === 35) { - fragmentStart = i; - queryStart = i; - } else if (char === 63) { - queryStart = i; - } - } - let query = null; - if (queryStart < fragmentStart) { - query = path[$substring](queryStart + 1, fragmentStart); - path = path[$substring](0, queryStart); - } - let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); - return this[_openUrl](method, uri); - } - openUrl(method, 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], 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], 2609, 40, "url"); - return this[_openUrl]("get", url); - } - post(host, port, 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], 2614, 41, "url"); - return this[_openUrl]("post", url); - } - put(host, port, 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], 2619, 40, "url"); - return this[_openUrl]("put", url); - } - delete(host, port, 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], 2624, 43, "url"); - return this[_openUrl]("delete", url); - } - head(host, port, 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], 2629, 41, "url"); - return this[_openUrl]("head", url); - } - patch(host, port, 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], 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], 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], 2640, 44, "s"); - return 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], 2642, 51, "s"); - return 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], 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], 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], 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 (!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 (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"); - let port = uri.port; - if (port === 0) { - port = dart.test(isSecure) ? 443 : 80; - } - let proxyConf = C[487] || CT.C487; - let findProxy = this[_findProxy]; - if (findProxy != null) { - try { - 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$1.FutureOf_HttpClientRequest().error(error, stackTrace); - } else - throw e; - } - } - let profileData = null; - if (dart.test(_http.HttpClient.enableTimelineLogging)) { - profileData = _http.HttpProfiler.startRequest(method, uri); - } - 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 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$1._ConnectionInfoTo_HttpClientRequest()); - if (dart.test(info.connection.closed)) { - return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); - } - return send(info); - }, 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())}); - } - 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 t274, t274$; - if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); - t274 = request; - (() => { - t274.followRedirects = previous.followRedirects; - t274.maxRedirects = previous.maxRedirects; - return t274; - })(); - for (let header of previous.headers[_headers][$keys]) { - 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))); - } - } - t274$ = request; - return (() => { - t274$.headers.chunkedTransferEncoding = false; - t274$.contentLength = 0; - return t274$; - })(); - }, T$1._HttpClientRequestTo_HttpClientRequest())); - } - [_returnConnection](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], 2844, 48, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - this[_connectionsChanged](); - } - } - [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - } - } - [_connectionsChanged]() { - if (dart.test(this[_closing])) { - this[_closeConnections](this[_closingForcefully]); - } - } - [_closeConnections](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], 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], 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, 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(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); - }; - 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], 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; - return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; - } else { - return prev; - } - }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); - return cr; - } - [_findProxyCredentials](proxy, scheme = null) { - 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; - } - } - return null; - } - [_removeCredentials](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], 2949, 45, "cr"); - this[_proxyCredentials][$remove](cr); - } - static _findProxyFromEnvironment(url, environment) { - 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], 2957, 55, "s"); - return s[$trim](); - }, T$.StringToString()))[$iterator]; - while (dart.test(names.moveNext())) { - let name = names.current; - if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { - return "DIRECT"; - } - } - return null; - } - dart.fn(checkNoProxy, T$1.StringNToStringN()); - function checkProxy(option) { - if (option == null) return null; - option = option[$trim](); - if (option[$isEmpty]) return null; - let pos = option[$indexOf]("://"); - if (pos >= 0) { - option = option[$substring](pos + 3); - } - pos = option[$indexOf]("/"); - if (pos >= 0) { - option = option[$substring](0, pos); - } - if (option[$indexOf]("[") === 0) { - let pos = option[$lastIndexOf](":"); - if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; - } else { - if (!option[$contains](":")) option = dart.str(option) + ":1080"; - } - return "PROXY " + dart.str(option); - } - dart.fn(checkProxy, T$1.StringNToStringN()); - environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; - let proxyCfg = null; - let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); - proxyCfg = checkNoProxy(noProxy); - if (proxyCfg != null) { - return proxyCfg; - } - 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 (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; - } - } - return "DIRECT"; - } -}; -(_http._HttpClient.new = function(_context) { - this[_closing] = false; - this[_closingForcefully] = false; - 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[486] || CT.C486; - this[_idleTimeout] = C[466] || CT.C466; - this[_badCertificateCallback] = null; - this[_keyLog] = null; - this.connectionTimeout = null; - this.maxConnectionsPerHost = null; - this.autoUncompress = true; - this.userAgent = _http._getHttpVersion(); - this[_context$0] = _context; - ; -}).prototype = _http._HttpClient.prototype; -dart.addTypeTests(_http._HttpClient); -dart.addTypeCaches(_http._HttpClient); -_http._HttpClient[dart.implements] = () => [_http.HttpClient]; -dart.setMethodSignature(_http._HttpClient, () => ({ - __proto__: dart.getMethods(_http._HttpClient.__proto__), - open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), - openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), - get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - 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], {}, {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.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 -})); -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])), - 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]); -dart.setFieldSignature(_http._HttpClient, () => ({ - __proto__: dart.getFields(_http._HttpClient.__proto__), - [_closing]: dart.fieldType(core.bool), - [_closingForcefully]: dart.fieldType(core.bool), - [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), - [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), - [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_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; - } -}, false); -var _state$1 = dart.privateName(_http, "_state"); -var _idleMark = dart.privateName(_http, "_idleMark"); -var _markActive = dart.privateName(_http, "_markActive"); -var _markIdle = dart.privateName(_http, "_markIdle"); -var _handleRequest = dart.privateName(_http, "_handleRequest"); -var _isActive = dart.privateName(_http, "_isActive"); -var _isIdle = dart.privateName(_http, "_isIdle"); -var _isDetached = dart.privateName(_http, "_isDetached"); -const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; -(LinkedListEntry__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - LinkedListEntry__ServiceObject$36.__proto__.new.call(this); -}).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; - } - get isMarkedIdle() { - return this[_idleMark]; - } - destroy() { - if (this[_state$1] === 2 || this[_state$1] === 3) return; - this[_state$1] = 2; - this[_socket$0].destroy(); - this[_httpServer$][_connectionClosed](this); - _http._HttpConnection._connections[$remove](this[_serviceId$]); - } - detachSocket() { - this[_state$1] = 3; - this[_httpServer$][_connectionClosed](this); - 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(this[_socket$0], detachedIncoming); - }, T$1.dynamicTo_DetachedSocket())); - } - get connectionInfo() { - return _http._HttpConnectionInfo.create(this[_socket$0]); - } - get [_isActive]() { - return this[_state$1] === 0; - } - get [_isIdle]() { - return this[_state$1] === 1; - } - get [_isClosing]() { - return this[_state$1] === 2; - } - get [_isDetached]() { - return this[_state$1] === 3; - } - get [_serviceTypePath$]() { - return "io/http/serverconnections"; - } - get [_serviceTypeName$]() { - return "HttpServerConnection"; - } -}; -(_http._HttpConnection.new = function(_socket, _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; - this[_streamFuture] = null; - this[_socket$0] = _socket; - this[_httpServer$] = _httpServer; - this[_httpParser] = _http._HttpParser.requestParser(); - _http._HttpConnection.__proto__.new.call(this); - _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(this[_socket$0]); - this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); - this[_httpServer$][_markActive](this); - incoming.dataDone.then(core.Null, dart.fn(closing => { - 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(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], 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)) { - this[_state$1] = 1; - this[_idleMark] = false; - this[_httpServer$][_markIdle](this); - dart.nullCheck(this[_subscription$0]).resume(); - } else { - this.destroy(); - } - }, T$1.SocketToNull()), {onError: dart.fn(_ => { - this.destroy(); - }, T$.dynamicToNull())}); - outgoing.ignoreBody = request.method === "HEAD"; - response[_httpRequest$] = request; - this[_httpServer$][_handleRequest](request); - }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { - this.destroy(); - }, T$.VoidTovoid()), onError: dart.fn(error => { - this.destroy(); - }, T$.dynamicToNull())}); -}).prototype = _http._HttpConnection.prototype; -dart.addTypeTests(_http._HttpConnection); -dart.addTypeCaches(_http._HttpConnection); -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), []) -})); -dart.setGetterSignature(_http._HttpConnection, () => ({ - __proto__: dart.getGetters(_http._HttpConnection.__proto__), - isMarkedIdle: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_isActive]: core.bool, - [_isIdle]: core.bool, - [_isClosing]: core.bool, - [_isDetached]: core.bool, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setLibraryUri(_http._HttpConnection, I[177]); -dart.setFieldSignature(_http._HttpConnection, () => ({ - __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(io.Socket), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_state$1]: dart.fieldType(core.int), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_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; - }, - /*_http._HttpConnection._IDLE*/get _IDLE() { - return 1; - }, - /*_http._HttpConnection._CLOSING*/get _CLOSING() { - return 2; - }, - /*_http._HttpConnection._DETACHED*/get _DETACHED() { - return 3; - }, - /*_http._HttpConnection._connections*/get _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"); -var _closeServer$ = dart.privateName(_http, "_closeServer"); -var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); -const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; -(Stream__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__.new.call(this); -}).prototype = Stream__ServiceObject$36.prototype; -(Stream__ServiceObject$36._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__._internal.call(this); -}).prototype = Stream__ServiceObject$36.prototype; -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], 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], 3165, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, T$1.ServerSocketTo_HttpServer())); - } - static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, 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], 3183, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, 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"); - defaultResponseHeaders.contentType = _http.ContentType.text; - defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); - defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); - defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); - return defaultResponseHeaders; - } - get idleTimeout() { - return this[_idleTimeout]; - } - set idleTimeout(duration) { - let idleTimer = this[_idleTimer]; - if (idleTimer != null) { - idleTimer.cancel(); - this[_idleTimer] = null; - } - this[_idleTimeout] = duration; - if (duration != null) { - this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); - for (let idle of this[_idleConnections][$toList]()) { - if (dart.test(idle.isMarkedIdle)) { - idle.destroy(); - } else { - idle.markIdle(); - } - } - }, T$.TimerTovoid())); - } - } - 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[_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$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { - if (!io.HandshakeException.is(error)) { - this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - close(opts) { - let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); - this.closed = true; - let result = null; - if (dart.test(this[_closeServer$])) { - result = this[_serverSocket$].close(); - } else { - result = async.Future.value(); - } - this.idleTimeout = null; - if (dart.test(force)) { - for (let c of this[_activeConnections][$toList]()) { - c.destroy(); - } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); - } - for (let c of this[_idleConnections][$toList]()) { - c.destroy(); - } - this[_maybePerformCleanup$](); - return result; - } - [_maybePerformCleanup$]() { - let sessionManager = this[_sessionManagerInstance]; - if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { - sessionManager.close(); - this[_sessionManagerInstance] = null; - _http._HttpServer._servers[$remove](this[_serviceId$]); - } - } - get port() { - if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - 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 this[_serverSocket$].address; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); - this[_sessionManager$].sessionTimeout = timeout; - } - [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); - if (!dart.test(this.closed)) { - this[_controller$0].add(request); - } else { - request[_httpConnection$].destroy(); - } - } - [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); - connection.unlink(); - this[_maybePerformCleanup$](); - } - [_markIdle](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], 3324, 36, "connection"); - this[_idleConnections].remove(connection); - this[_activeConnections].add(connection); - } - get [_sessionManager$]() { - 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); - for (let conn of this[_activeConnections]) { - if (dart.test(conn[_isActive])) { - t274 = result; - t274.active = dart.notNull(t274.active) + 1; - } else { - 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$]() { - return "io/http/servers"; - } - get [_serviceTypeName$]() { - return "HttpServer"; - } -}; -(_http._HttpServer.__ = function(_serverSocket, _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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - 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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[460] || CT.C460; - _http._HttpServer._servers[$_set](this[_serviceId$], this); -}).prototype = _http._HttpServer.prototype; -dart.addTypeTests(_http._HttpServer); -dart.addTypeCaches(_http._HttpServer); -_http._HttpServer[dart.implements] = () => [_http.HttpServer]; -dart.setMethodSignature(_http._HttpServer, () => ({ - __proto__: dart.getMethods(_http._HttpServer.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future, [], {force: core.bool}, {}), - [_maybePerformCleanup$]: dart.fnType(dart.void, []), - [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), - [_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, []) -})); -dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); -dart.setGetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getGetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - port: core.int, - address: io.InternetAddress, - [_sessionManager$]: _http._HttpSessionManager, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setSetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getSetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - sessionTimeout: core.int -})); -dart.setLibraryUri(_http._HttpServer, I[177]); -dart.setFieldSignature(_http._HttpServer, () => ({ - __proto__: dart.getFields(_http._HttpServer.__proto__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), - autoCompress: dart.fieldType(core.bool), - [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), - closed: dart.fieldType(core.bool), - [_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.finalFieldType(async.StreamController$(_http.HttpRequest)) -})); -dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); -dart.defineLazy(_http._HttpServer, { - /*_http._HttpServer._servers*/get _servers() { - return new (T$1.IdentityMapOfint$_HttpServer()).new(); - } -}, false); -const proxies = _ProxyConfiguration_proxies; -_http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { - get proxies() { - return this[proxies]; - } - 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], 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](";"); - for (let proxy of list) { - proxy = proxy[$trim](); - if (proxy[$isNotEmpty]) { - if (proxy[$startsWith]("PROXY ")) { - let username = null; - let password = null; - proxy = proxy[$substring]("PROXY ".length)[$trim](); - let at = proxy[$indexOf]("@"); - if (at !== -1) { - let userinfo = proxy[$substring](0, at)[$trim](); - proxy = proxy[$substring](at + 1)[$trim](); - let colon = userinfo[$indexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - username = userinfo[$substring](0, colon)[$trim](); - password = userinfo[$substring](colon + 1)[$trim](); - } - let colon = proxy[$lastIndexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - let host = proxy[$substring](0, colon)[$trim](); - if (host[$startsWith]("[") && host[$endsWith]("]")) { - host = host[$substring](1, host.length - 1); - } - let portString = proxy[$substring](colon + 1)[$trim](); - let port = null; - try { - port = core.int.parse(portString); - } 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; - } - this.proxies[$add](new _http._Proxy.new(host, port, username, password)); - } else if (proxy[$trim]() === "DIRECT") { - this.proxies[$add](new _http._Proxy.direct()); - } else { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - } - } -}).prototype = _http._ProxyConfiguration.prototype; -(_http._ProxyConfiguration.direct = function() { - this[proxies] = C[488] || CT.C488; - ; -}).prototype = _http._ProxyConfiguration.prototype; -dart.addTypeTests(_http._ProxyConfiguration); -dart.addTypeCaches(_http._ProxyConfiguration); -dart.setLibraryUri(_http._ProxyConfiguration, I[177]); -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 "; - }, - /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { - return "DIRECT"; - } -}, false); -const host$ = _Proxy_host; -const port$1 = _Proxy_port; -const username$ = _Proxy_username; -const password$ = _Proxy_password; -const isDirect = _Proxy_isDirect; -_http._Proxy = class _Proxy extends core.Object { - get host() { - return this[host$]; - } - set host(value) { - super.host = value; - } - get port() { - return this[port$1]; - } - set port(value) { - super.port = value; - } - get username() { - return this[username$]; - } - set username(value) { - super.username = value; - } - get password() { - return this[password$]; - } - set password(value) { - super.password = value; - } - get isDirect() { - return this[isDirect]; - } - 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], 3438, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); - this[host$] = host; - this[port$1] = port; - this[username$] = username; - this[password$] = password; - this[isDirect] = false; - ; -}).prototype = _http._Proxy.prototype; -(_http._Proxy.direct = function() { - this[host$] = null; - this[port$1] = null; - this[username$] = null; - this[password$] = null; - this[isDirect] = true; - ; -}).prototype = _http._Proxy.prototype; -dart.addTypeTests(_http._Proxy); -dart.addTypeCaches(_http._Proxy); -dart.setGetterSignature(_http._Proxy, () => ({ - __proto__: dart.getGetters(_http._Proxy.__proto__), - isAuthenticated: core.bool -})); -dart.setLibraryUri(_http._Proxy, I[177]); -dart.setFieldSignature(_http._Proxy, () => ({ - __proto__: dart.getFields(_http._Proxy.__proto__), - host: dart.finalFieldType(dart.nullable(core.String)), - port: dart.finalFieldType(dart.nullable(core.int)), - username: dart.finalFieldType(dart.nullable(core.String)), - password: dart.finalFieldType(dart.nullable(core.String)), - 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], 3457, 45, "socket"); - if (socket == null) return null; - try { - return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - } -}; -(_http._HttpConnectionInfo.new = function(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"); - this.remoteAddress = remoteAddress; - this.remotePort = remotePort; - this.localPort = localPort; - ; -}).prototype = _http._HttpConnectionInfo.prototype; -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__), - remoteAddress: dart.fieldType(io.InternetAddress), - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get encoding() { - return this[_socket$0].encoding; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); - this[_socket$0].encoding = value; - } - write(obj) { - this[_socket$0].write(obj); - } - writeln(obj = "") { - this[_socket$0].writeln(obj); - } - writeCharCode(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], 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], 3501, 22, "bytes"); - this[_socket$0].add(bytes); - } - addError(error, stackTrace = null) { - 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], 3508, 38, "stream"); - return this[_socket$0].addStream(stream); - } - destroy() { - this[_socket$0].destroy(); - } - flush() { - return this[_socket$0].flush(); - } - close() { - return this[_socket$0].close(); - } - get done() { - return this[_socket$0].done; - } - get port() { - return this[_socket$0].port; - } - get address() { - return this[_socket$0].address; - } - get remoteAddress() { - return this[_socket$0].remoteAddress; - } - get remotePort() { - return this[_socket$0].remotePort; - } - setOption(option, 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], 3534, 42, "option"); - return this[_socket$0].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); - this[_socket$0].setRawOption(option); - } - get [__IOSink_encoding_isSet]() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 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); - ; -}).prototype = _http._DetachedSocket.prototype; -dart.addTypeTests(_http._DetachedSocket); -dart.addTypeCaches(_http._DetachedSocket); -_http._DetachedSocket[dart.implements] = () => [io.Socket]; -dart.setMethodSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getMethods(_http._DetachedSocket.__proto__), - 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)}, {}), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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)]), - destroy: dart.fnType(dart.void, []), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), - getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) -})); -dart.setGetterSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getGetters(_http._DetachedSocket.__proto__), - encoding: convert.Encoding, - done: async.Future, - port: core.int, - address: io.InternetAddress, - remoteAddress: io.InternetAddress, - remotePort: core.int, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) -})); -dart.setLibraryUri(_http._DetachedSocket, I[177]); -dart.setFieldSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getFields(_http._DetachedSocket.__proto__), - [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), - [_socket$0]: dart.finalFieldType(io.Socket) -})); -var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); -var _scheme = dart.privateName(_http, "_scheme"); -_http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { - get [_scheme]() { - return this[_scheme$]; - } - 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], 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"; - return "Unknown"; - } -}; -(_http._AuthenticationScheme.new = function(_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[492] || CT.C492; - }, - /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[493] || CT.C493; - }, - /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[494] || CT.C494; - } -}, false); -_http._Credentials = class _Credentials extends core.Object { - get scheme() { - return this.credentials.scheme; - } -}; -(_http._Credentials.new = function(credentials, 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; - this.algorithm = null; - this.qop = null; - this.nonceCount = null; - this.credentials = credentials; - this.realm = realm; - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { - let creds = _http._HttpClientDigestCredentials.as(this.credentials); - 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()); - } -}).prototype = _http._Credentials.prototype; -dart.addTypeTests(_http._Credentials); -dart.addTypeCaches(_http._Credentials); -dart.setGetterSignature(_http._Credentials, () => ({ - __proto__: dart.getGetters(_http._Credentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._Credentials, I[177]); -dart.setFieldSignature(_http._Credentials, () => ({ - __proto__: dart.getFields(_http._Credentials.__proto__), - credentials: dart.fieldType(_http._HttpClientCredentials), - realm: dart.fieldType(core.String), - used: dart.fieldType(core.bool), - ha1: dart.fieldType(dart.nullable(core.String)), - nonce: dart.fieldType(dart.nullable(core.String)), - algorithm: dart.fieldType(dart.nullable(core.String)), - qop: dart.fieldType(dart.nullable(core.String)), - 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], 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; - let otherPort = uri.port === 0 ? 80 : uri.port; - if (otherPort != thisPort) return false; - return uri.path[$startsWith](this.uri.path); - } - authorize(request) { - if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorize(this, _http._HttpClientRequest.as(request)); - this.used = true; - } -}; -(_http._SiteCredentials.new = function(uri, realm, 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)); - ; -}).prototype = _http._SiteCredentials.prototype; -dart.addTypeTests(_http._SiteCredentials); -dart.addTypeCaches(_http._SiteCredentials); -dart.setMethodSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getMethods(_http._SiteCredentials.__proto__), - applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) -})); -dart.setLibraryUri(_http._SiteCredentials, I[177]); -dart.setFieldSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getFields(_http._SiteCredentials.__proto__), - 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], 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], 3640, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); - } -}; -(_http._ProxyCredentials.new = function(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"); - this.host = host; - this.port = port; - _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); - ; -}).prototype = _http._ProxyCredentials.prototype; -dart.addTypeTests(_http._ProxyCredentials); -dart.addTypeCaches(_http._ProxyCredentials); -dart.setMethodSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), - applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) -})); -dart.setLibraryUri(_http._ProxyCredentials, I[177]); -dart.setFieldSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getFields(_http._ProxyCredentials.__proto__), - host: dart.fieldType(core.String), - port: dart.fieldType(core.int) -})); -_http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; -(_http._HttpClientCredentials.new = function() { - ; -}).prototype = _http._HttpClientCredentials.prototype; -dart.addTypeTests(_http._HttpClientCredentials); -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 = 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], 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], 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], 3661, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); - this.username = username; - this.password = password; - ; -}).prototype = _http._HttpClientBasicCredentials.prototype; -dart.addTypeTests(_http._HttpClientBasicCredentials); -dart.addTypeCaches(_http._HttpClientBasicCredentials); -_http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; -dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), - authorization: dart.fnType(core.String, []), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) -})); -dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); -dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), - username: dart.fieldType(core.String), - 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 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 = (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 = (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; - cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); - let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; - credentials.nonceCount = nonceCount; - nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t277$0 = hasher; - (() => { - 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 { - t277$1 = hasher; - (() => { - 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 = (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) { - t277$3 = buffer; - (() => { - 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], 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], 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], 3690, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); - this.username = username; - this.password = password; - ; -}).prototype = _http._HttpClientDigestCredentials.prototype; -dart.addTypeTests(_http._HttpClientDigestCredentials); -dart.addTypeCaches(_http._HttpClientDigestCredentials); -_http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; -dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), - authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) -})); -dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); -dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), - username: dart.fieldType(core.String), - password: dart.fieldType(core.String) -})); -var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); -var method$ = dart.privateName(_http, "_RedirectInfo.method"); -var location$ = dart.privateName(_http, "_RedirectInfo.location"); -_http._RedirectInfo = class _RedirectInfo extends core.Object { - get statusCode() { - return this[statusCode$]; - } - set statusCode(value) { - super.statusCode = value; - } - get method() { - return this[method$]; - } - set method(value) { - super.method = value; - } - get location() { - return this[location$]; - } - 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], 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; - ; -}).prototype = _http._RedirectInfo.prototype; -dart.addTypeTests(_http._RedirectInfo); -dart.addTypeCaches(_http._RedirectInfo); -_http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; -dart.setLibraryUri(_http._RedirectInfo, I[177]); -dart.setFieldSignature(_http._RedirectInfo, () => ({ - __proto__: dart.getFields(_http._RedirectInfo.__proto__), - statusCode: dart.finalFieldType(core.int), - method: dart.finalFieldType(core.String), - location: dart.finalFieldType(core.Uri) -})); -_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[495] || CT.C495; - }, - /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[496] || CT.C496; - }, - /*_http._Const.HTTP10*/get HTTP10() { - return C[497] || CT.C497; - }, - /*_http._Const.HTTP11*/get HTTP11() { - return C[498] || CT.C498; - }, - /*_http._Const.T*/get T() { - return true; - }, - /*_http._Const.F*/get F() { - return false; - }, - /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[499] || CT.C499; - } -}, false); -_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; - }, - /*_http._CharCode.LF*/get LF() { - return 10; - }, - /*_http._CharCode.CR*/get CR() { - return 13; - }, - /*_http._CharCode.SP*/get SP() { - return 32; - }, - /*_http._CharCode.COMMA*/get COMMA() { - return 44; - }, - /*_http._CharCode.SLASH*/get SLASH() { - return 47; - }, - /*_http._CharCode.ZERO*/get ZERO() { - return 48; - }, - /*_http._CharCode.ONE*/get ONE() { - return 49; - }, - /*_http._CharCode.COLON*/get COLON() { - return 58; - }, - /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { - return 59; - } -}, false); -_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; - }, - /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { - return 1; - }, - /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { - return 2; - }, - /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { - return 3; - }, - /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { - return 4; - }, - /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { - return 5; - }, - /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { - return 6; - }, - /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { - return 7; - }, - /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { - return 8; - }, - /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { - return 9; - }, - /*_http._State.HEADER_START*/get HEADER_START() { - return 10; - }, - /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { - return 11; - }, - /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { - return 12; - }, - /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { - return 13; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { - return 14; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { - return 15; - }, - /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { - return 16; - }, - /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { - return 17; - }, - /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { - return 18; - }, - /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { - return 19; - }, - /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { - return 20; - }, - /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { - return 21; - }, - /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { - return 22; - }, - /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { - return 23; - }, - /*_http._State.BODY*/get BODY() { - return 24; - }, - /*_http._State.CLOSED*/get CLOSED() { - return 25; - }, - /*_http._State.UPGRADED*/get UPGRADED() { - return 26; - }, - /*_http._State.FAILURE*/get FAILURE() { - return 27; - }, - /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { - return 17; - } -}, false); -_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; - }, - /*_http._HttpVersion.HTTP10*/get HTTP10() { - return 1; - }, - /*_http._HttpVersion.HTTP11*/get HTTP11() { - return 2; - } -}, false); -_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; - }, - /*_http._MessageType.REQUEST*/get REQUEST() { - return 1; - }, - /*_http._MessageType.RESPONSE*/get RESPONSE() { - return 0; - } -}, false); -var _isCanceled$ = dart.privateName(_http, "_isCanceled"); -var _scheduled = dart.privateName(_http, "_scheduled"); -var _pauseCount$ = dart.privateName(_http, "_pauseCount"); -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; - } - asFuture(T, futureValue = null) { - return this[_subscription$0].asFuture(T, T.as(futureValue)); - } - cancel() { - this[_isCanceled$] = true; - this[_injectData$] = null; - return this[_subscription$0].cancel(); - } - onData(handleData) { - this[_userOnData$] = handleData; - this[_subscription$0].onData(handleData); - } - onDone(handleDone) { - this[_subscription$0].onDone(handleDone); - } - onError(handleError) { - this[_subscription$0].onError(handleError); - } - pause(resumeSignal = null) { - if (this[_injectData$] == null) { - this[_subscription$0].pause(resumeSignal); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - } - resume() { - if (this[_injectData$] == null) { - this[_subscription$0].resume(); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; - this[_maybeScheduleData](); - } - } - [_maybeScheduleData]() { - if (dart.test(this[_scheduled])) return; - if (this[_pauseCount$] !== 0) return; - this[_scheduled] = true; - async.scheduleMicrotask(dart.fn(() => { - let t277; - this[_scheduled] = false; - if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = dart.nullCheck(this[_injectData$]); - this[_injectData$] = null; - this[_subscription$0].resume(); - t277 = this[_userOnData$]; - t277 == null ? null : t277(data); - }, T$.VoidTovoid())); - } -}; -(_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); - this[_isCanceled$] = false; - this[_scheduled] = false; - this[_pauseCount$] = 1; - this[_subscription$0] = _subscription; - this[_injectData$] = _injectData; - this[_userOnData$] = _userOnData; - ; -}).prototype = _http._HttpDetachedStreamSubscription.prototype; -_http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; -dart.addTypeTests(_http._HttpDetachedStreamSubscription); -dart.addTypeCaches(_http._HttpDetachedStreamSubscription); -_http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; -dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), - asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [_maybeScheduleData]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), - isPaused: core.bool -})); -dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); -dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), - [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_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 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) { - t277 = subscription; - (() => { - t277.onData(onData); - t277.onError(onError); - t277.onDone(onDone); - return t277; - })(); - if (this.bufferedData == null) { - t277$ = subscription; - return (() => { - t277$.resume(); - return t277$; - })(); - } - t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); - return (() => { - t277$0.resume(); - return t277$0; - })(); - } else { - return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } -}; -(_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { - this.subscription = subscription; - this.bufferedData = bufferedData; - _http._HttpDetachedIncoming.__proto__.new.call(this); - ; -}).prototype = _http._HttpDetachedIncoming.prototype; -dart.addTypeTests(_http._HttpDetachedIncoming); -dart.addTypeCaches(_http._HttpDetachedIncoming); -dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), - 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)}, {}) -})); -dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); -dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), - 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"); -var _messageType = dart.privateName(_http, "_messageType"); -var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); -var _method$ = dart.privateName(_http, "_method"); -var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); -var _headerField = dart.privateName(_http, "_headerField"); -var _headerValue = dart.privateName(_http, "_headerValue"); -var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); -var _httpVersion = dart.privateName(_http, "_httpVersion"); -var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); -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 _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); -var _paused = dart.privateName(_http, "_paused"); -var _bodyPaused = dart.privateName(_http, "_bodyPaused"); -var _bodyController = dart.privateName(_http, "_bodyController"); -var _requestParser$ = dart.privateName(_http, "_requestParser"); -var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); -var _reset = dart.privateName(_http, "_reset"); -var _onData$1 = dart.privateName(_http, "_onData"); -var _onDone = dart.privateName(_http, "_onDone"); -var _doParse = dart.privateName(_http, "_doParse"); -var _reportBodyError = dart.privateName(_http, "_reportBodyError"); -var _reportHttpError = dart.privateName(_http, "_reportHttpError"); -var _createIncoming = dart.privateName(_http, "_createIncoming"); -var _closeIncoming = dart.privateName(_http, "_closeIncoming"); -var _headersEnd = dart.privateName(_http, "_headersEnd"); -var _addWithValidation = dart.privateName(_http, "_addWithValidation"); -var _expect = dart.privateName(_http, "_expect"); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - listenToStream(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]() { - try { - this[_doParse](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { - this[_state$1] = 27; - this[_reportBodyError](e, s); - } else { - this[_state$1] = 27; - this[_reportHttpError](e, s); - } - } else - throw e$; - } - } - [_headersEnd]() { - let headers = dart.nullCheck(this[_headers]); - if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { - this[_transferLength$] = -1; - headers.chunkedTransferEncoding = false; - this[_chunked] = false; - headers.removeAll("content-length"); - headers.removeAll("transfer-encoding"); - } - headers[_mutable] = false; - this[_transferLength$] = headers.contentLength; - if (dart.test(this[_chunked])) this[_transferLength$] = -1; - if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { - this[_transferLength$] = 0; - } - if (dart.test(this[_connectionUpgrade])) { - this[_state$1] = 26; - this[_transferLength$] = 0; - } - let incoming = this[_createIncoming](this[_transferLength$]); - if (dart.test(this[_requestParser$])) { - incoming.method = core.String.fromCharCodes(this[_method$]); - incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); - } else { - incoming.statusCode = this[_statusCode]; - incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); - } - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - if (dart.test(this[_connectionUpgrade])) { - incoming.upgraded = true; - this[_parserCalled] = false; - this[_closeIncoming](); - this[_controller$0].add(incoming); - return true; - } - if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { - this[_reset](); - this[_closeIncoming](); - this[_controller$0].add(incoming); - return false; - } else if (dart.test(this[_chunked])) { - this[_state$1] = 19; - this[_remainingContent] = 0; - } else if (dart.notNull(this[_transferLength$]) > 0) { - this[_remainingContent] = this[_transferLength$]; - this[_state$1] = 24; - } else { - this[_state$1] = 24; - } - this[_parserCalled] = false; - this[_controller$0].add(incoming); - return true; - } - [_doParse]() { - 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")); - } - if (this[_state$1] === 27) { - dart.throw(new _http.HttpException.new("Data on failed connection")); - } - while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { - if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { - this[_parserCalled] = false; - return; - } - let index = this[_index$1]; - let byte = dart.nullCheck(this[_buffer$1])[$_get](index); - 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; - } 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; - } - 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")); - } - 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")); - } - this[_addWithValidation](this[_method$], byte); - } - break; - } - case 4: - { - 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); - } - 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; - this[_httpVersionIndex] = httpVersionIndex + 1; - } 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; - } - } - break; - } - case 6: - { - 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")); - } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; - } - } - 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); - } - 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[_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; - } - 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))); - } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - } - 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; - } - break; - } - case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); - } - break; - } - case 14: - { - 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)); - } - } - 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)); - } - } 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; - } - case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; - } - break; - } - case 17: - { - 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; - break; - } - case 18: - { - 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]) > (2147483647)[$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); - } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); - } - 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; - } - break; - } - case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; - } - break; - } - case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - 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[_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; - } - case 27: - { - if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); - break; - } - default: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } - } - } - this[_parserCalled] = false; - let buffer = this[_buffer$1]; - if (buffer != null && this[_index$1] == buffer[$length]) { - this[_releaseBuffer](); - if (this[_state$1] !== 26 && this[_state$1] !== 27) { - dart.nullCheck(this[_socketSubscription$]).resume(); - } - } - } - [_onData$1](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], 870, 12, "_buffer == null"); - this[_buffer$1] = buffer; - this[_index$1] = 0; - this[_parse](); - } - [_onDone]() { - this[_socketSubscription$] = null; - if (this[_state$1] === 25 || this[_state$1] === 27) return; - if (this[_incoming$] != null) { - if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { - this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); - } - this[_closeIncoming](true); - this[_controller$0].close(); - return; - } - if (this[_state$1] === 0) { - if (!dart.test(this[_requestParser$])) { - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - } - this[_controller$0].close(); - return; - } - if (this[_state$1] === 26) { - this[_controller$0].close(); - return; - } - if (dart.notNull(this[_state$1]) < 17) { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - this[_controller$0].close(); - return; - } - if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { - this[_state$1] = 25; - } else { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); - } - this[_controller$0].close(); - } - get version() { - switch (this[_httpVersion]) { - case 1: - { - return "1.0"; - } - case 2: - { - return "1.1"; - } - } - return null; - } - get messageType() { - return this[_messageType]; - } - get transferLength() { - return this[_transferLength$]; - } - get upgrade() { - return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; - } - get persistentConnection() { - return this[_persistentConnection]; - } - set isHead(value) { - if (value == null) dart.nullFailed(I[182], 944, 24, "value"); - this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); - } - detachIncoming() { - this[_state$1] = 26; - return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); - } - readUnparsedData() { - let buffer = this[_buffer$1]; - if (buffer == null) return null; - let index = this[_index$1]; - if (index == buffer[$length]) return null; - let result = buffer[$sublist](index); - this[_releaseBuffer](); - return result; - } - [_reset]() { - if (this[_state$1] === 26) return; - this[_state$1] = 0; - this[_messageType] = 0; - this[_headerField][$clear](); - this[_headerValue][$clear](); - this[_headersReceivedSize] = 0; - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[_headers] = null; - } - [_releaseBuffer]() { - this[_buffer$1] = null; - this[_index$1] = -1; - } - static _isTokenChar(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], 1001, 32, "byte"); - return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; - } - static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _toLowerCaseByte(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], 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; - } - return true; - } - [_expect](val1, 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], 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) { - return dart.notNull(byte) - 65 + 10; - } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { - return dart.notNull(byte) - 97 + 10; - } else { - dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); - } - } - [_addWithValidation](list, 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); - } else { - this[_reportSizeLimitError](); - } - } - [_reportSizeLimitError]() { - let method = ""; - switch (this[_state$1]) { - case 0: - case 1: - case 3: - { - method = "Method"; - break; - } - case 4: - { - method = "URI"; - break; - } - case 8: - { - method = "Reason phrase"; - break; - } - case 10: - case 11: - { - method = "Header field"; - break; - } - case 12: - case 13: - { - method = "Header value"; - break; - } - default: - { - 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 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); - t278 = controller; - (() => { - t278.onListen = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onPause = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onResume = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onCancel = dart.fn(() => { - let t279; - if (!incoming[$_equals](this[_incoming$])) return; - t279 = this[_socketSubscription$]; - t279 == null ? null : t279.cancel(); - this[_closeIncoming](true); - this[_controller$0].close(); - }, T$.VoidToNull()); - return t278; - })(); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - return incoming; - } - [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); - let tmp = this[_incoming$]; - if (tmp == null) return; - tmp.close(closing); - this[_incoming$] = null; - let controller = this[_bodyController]; - if (controller != null) { - controller.close(); - this[_bodyController] = null; - } - this[_bodyPaused] = false; - this[_pauseStateChanged](); - } - [_pauseStateChanged]() { - if (this[_incoming$] != null) { - if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } else { - if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } - } - [_reportHttpError](error, stackTrace = null) { - 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 t278, t278$, t278$0; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - this[_state$1] = 27; - 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 t277; - if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); - this[_parserCalled] = false; - this[_buffer$1] = null; - this[_index$1] = -1; - this[_state$1] = 0; - this[_httpVersionIndex] = null; - this[_messageType] = 0; - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_method$] = T$.JSArrayOfint().of([]); - this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); - this[_headerField] = T$.JSArrayOfint().of([]); - this[_headerValue] = T$.JSArrayOfint().of([]); - this[_headersReceivedSize] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[connectMethod] = false; - this[_headers] = null; - this[_incoming$] = null; - this[_socketSubscription$] = null; - this[_paused] = true; - this[_bodyPaused] = false; - this[_bodyController] = null; - this[_requestParser$] = _requestParser; - this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); - _http._HttpParser.__proto__.new.call(this); - t277 = this[_controller$0]; - (() => { - t277.onListen = dart.fn(() => { - this[_paused] = false; - }, T$.VoidTovoid()); - t277.onPause = dart.fn(() => { - this[_paused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onResume = dart.fn(() => { - this[_paused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onCancel = dart.fn(() => { - let t278; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - }, T$.VoidToNull()); - return t277; - })(); - this[_reset](); -}).prototype = _http._HttpParser.prototype; -dart.addTypeTests(_http._HttpParser); -dart.addTypeCaches(_http._HttpParser); -dart.setMethodSignature(_http._HttpParser, () => ({ - __proto__: dart.getMethods(_http._HttpParser.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), - [_parse]: dart.fnType(dart.void, []), - [_headersEnd]: dart.fnType(core.bool, []), - [_doParse]: dart.fnType(dart.void, []), - [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), - [_onDone]: dart.fnType(dart.void, []), - detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), - readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), - [_reset]: dart.fnType(dart.void, []), - [_releaseBuffer]: dart.fnType(dart.void, []), - [_expect]: dart.fnType(dart.void, [core.int, core.int]), - [_expectHexDigit]: dart.fnType(core.int, [core.int]), - [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_reportSizeLimitError]: dart.fnType(dart.void, []), - [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), - [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), - [_pauseStateChanged]: dart.fnType(dart.void, []), - [_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), - messageType: core.int, - transferLength: core.int, - upgrade: core.bool, - persistentConnection: core.bool -})); -dart.setSetterSignature(_http._HttpParser, () => ({ - __proto__: dart.getSetters(_http._HttpParser.__proto__), - isHead: core.bool -})); -dart.setLibraryUri(_http._HttpParser, I[177]); -dart.setFieldSignature(_http._HttpParser, () => ({ - __proto__: dart.getFields(_http._HttpParser.__proto__), - [_parserCalled]: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_index$1]: dart.fieldType(core.int), - [_requestParser$]: dart.finalFieldType(core.bool), - [_state$1]: dart.fieldType(core.int), - [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), - [_messageType]: dart.fieldType(core.int), - [_statusCode]: dart.fieldType(core.int), - [_statusCodeLength]: dart.fieldType(core.int), - [_method$]: dart.finalFieldType(core.List$(core.int)), - [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), - [_headerField]: dart.finalFieldType(core.List$(core.int)), - [_headerValue]: dart.finalFieldType(core.List$(core.int)), - [_headersReceivedSize]: dart.fieldType(core.int), - [_httpVersion]: dart.fieldType(core.int), - [_transferLength$]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_connectionUpgrade]: dart.fieldType(core.bool), - [_chunked]: dart.fieldType(core.bool), - [_noMessageBody]: dart.fieldType(core.bool), - [_remainingContent]: dart.fieldType(core.int), - [_contentLength]: dart.fieldType(core.bool), - [_transferEncoding]: dart.fieldType(core.bool), - connectMethod: dart.fieldType(core.bool), - [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), - [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), - [_paused]: dart.fieldType(core.bool), - [_bodyPaused]: dart.fieldType(core.bool), - [_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"); -var _prev = dart.privateName(_http, "_prev"); -var _next$4 = dart.privateName(_http, "_next"); -var _data$1 = dart.privateName(_http, "_data"); -var _lastSeen = dart.privateName(_http, "_lastSeen"); -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; - this[_sessionManager$][_removeFromTimeoutQueue](this); - this[_sessionManager$][_sessions][$remove](this.id); - } - [_markSeen]() { - this[_lastSeen] = new core.DateTime.now(); - this[_sessionManager$][_bumpToEnd](this); - } - get lastSeen() { - return this[_lastSeen]; - } - get isNew() { - return this[_isNew]; - } - set onTimeout(callback) { - this[_timeoutCallback] = callback; - } - containsValue(value) { - return this[_data$1][$containsValue](value); - } - containsKey(key) { - return this[_data$1][$containsKey](key); - } - _get(key) { - return this[_data$1][$_get](key); - } - _set(key, value$) { - let value = value$; - this[_data$1][$_set](key, value); - return value$; - } - putIfAbsent(key, ifAbsent) { - T$0.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); - return this[_data$1][$putIfAbsent](key, ifAbsent); - } - addAll(other) { - core.Map.as(other); - if (other == null) dart.nullFailed(I[183], 58, 14, "other"); - return this[_data$1][$addAll](other); - } - remove(key) { - return this[_data$1][$remove](key); - } - clear() { - this[_data$1][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[183], 64, 21, "f"); - this[_data$1][$forEach](f); - } - get entries() { - return this[_data$1][$entries]; - } - addEntries(entries) { - T$1.IterableOfMapEntry().as(entries); - if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); - this[_data$1][$addEntries](entries); - } - map(K, V, transform) { - if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); - return this[_data$1][$map](K, V, transform); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[183], 77, 25, "test"); - this[_data$1][$removeWhere](test); - } - cast(K, V) { - return this[_data$1][$cast](K, V); - } - update(key, update, opts) { - T$.dynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 82, 15, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T$1.VoidToNdynamic().as(ifAbsent); - return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - T$0.dynamicAnddynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 85, 18, "update"); - this[_data$1][$updateAll](update); - } - get keys() { - return this[_data$1][$keys]; - } - get values() { - return this[_data$1][$values]; - } - get length() { - return this[_data$1][$length]; - } - get isEmpty() { - return this[_data$1][$isEmpty]; - } - get isNotEmpty() { - return this[_data$1][$isNotEmpty]; - } - toString() { - return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); - } -}; -(_http._HttpSession.new = function(_sessionManager, id) { - if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); - if (id == null) dart.nullFailed(I[183], 25, 43, "id"); - this[_destroyed] = false; - this[_isNew] = true; - this[_timeoutCallback] = null; - this[_prev] = null; - this[_next$4] = null; - this[_data$1] = new _js_helper.LinkedMap.new(); - this[_sessionManager$] = _sessionManager; - this.id = id; - this[_lastSeen] = new core.DateTime.now(); - ; -}).prototype = _http._HttpSession.prototype; -dart.addTypeTests(_http._HttpSession); -dart.addTypeCaches(_http._HttpSession); -_http._HttpSession[dart.implements] = () => [_http.HttpSession]; -dart.setMethodSignature(_http._HttpSession, () => ({ - __proto__: dart.getMethods(_http._HttpSession.__proto__), - destroy: dart.fnType(dart.void, []), - [_markSeen]: dart.fnType(dart.void, []), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getGetters(_http._HttpSession.__proto__), - lastSeen: core.DateTime, - isNew: core.bool, - entries: core.Iterable$(core.MapEntry), - [$entries]: core.Iterable$(core.MapEntry), - keys: core.Iterable, - [$keys]: core.Iterable, - values: core.Iterable, - [$values]: core.Iterable, - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool -})); -dart.setSetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getSetters(_http._HttpSession.__proto__), - onTimeout: dart.nullable(dart.fnType(dart.void, [])) -})); -dart.setLibraryUri(_http._HttpSession, I[177]); -dart.setFieldSignature(_http._HttpSession, () => ({ - __proto__: dart.getFields(_http._HttpSession.__proto__), - [_destroyed]: dart.fieldType(core.bool), - [_isNew]: dart.fieldType(core.bool), - [_lastSeen]: dart.fieldType(core.DateTime), - [_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), - [_data$1]: dart.finalFieldType(core.Map) -})); -dart.defineExtensionMethods(_http._HttpSession, [ - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'addEntries', - 'map', - 'removeWhere', - 'cast', - 'update', - 'updateAll', - 'toString' -]); -dart.defineExtensionAccessors(_http._HttpSession, [ - 'entries', - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' -]); -var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); -var _head$ = dart.privateName(_http, "_head"); -var _tail$ = dart.privateName(_http, "_tail"); -var _timer = dart.privateName(_http, "_timer"); -var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); -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); - } - getSession(id) { - if (id == null) dart.nullFailed(I[183], 118, 35, "id"); - return this[_sessions][$_get](id); - } - createSession() { - let t280, t279, t278; - let id = this.createSessionId(); - while (dart.test(this[_sessions][$containsKey](id))) { - id = this.createSessionId(); - } - let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); - this[_addToTimeoutQueue](session); - return session; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); - this[_sessionTimeout] = timeout; - this[_stopTimer](); - this[_startTimer](); - } - close() { - this[_stopTimer](); - } - [_bumpToEnd](session) { - if (session == null) dart.nullFailed(I[183], 142, 32, "session"); - this[_removeFromTimeoutQueue](session); - this[_addToTimeoutQueue](session); - } - [_addToTimeoutQueue](session) { - if (session == null) dart.nullFailed(I[183], 147, 40, "session"); - if (this[_head$] == null) { - if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); - this[_tail$] = this[_head$] = session; - this[_startTimer](); - } else { - if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); - let tail = dart.nullCheck(this[_tail$]); - tail[_next$4] = session; - session[_prev] = tail; - this[_tail$] = session; - } - } - [_removeFromTimeoutQueue](session) { - 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; - 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; - } - if (dart.equals(this[_head$], session)) { - this[_head$] = next; - this[_stopTimer](); - this[_startTimer](); - } - } - [_timerTimeout]() { - let t278; - this[_stopTimer](); - let session = dart.nullCheck(this[_head$]); - session.destroy(); - t278 = session[_timeoutCallback]; - t278 == null ? null : t278(); - } - [_startTimer]() { - if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); - let head = this[_head$]; - if (head != null) { - let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; - this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); - } - } - [_stopTimer]() { - let timer = this[_timer]; - if (timer != null) { - timer.cancel(); - this[_timer] = null; - } - } -}; -(_http._HttpSessionManager.new = function() { - this[_sessionTimeout] = 20 * 60; - this[_head$] = null; - this[_tail$] = null; - this[_timer] = null; - this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); - ; -}).prototype = _http._HttpSessionManager.prototype; -dart.addTypeTests(_http._HttpSessionManager); -dart.addTypeCaches(_http._HttpSessionManager); -dart.setMethodSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), - createSessionId: dart.fnType(core.String, []), - getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), - createSession: dart.fnType(_http._HttpSession, []), - close: dart.fnType(dart.void, []), - [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), - [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_timerTimeout]: dart.fnType(dart.void, []), - [_startTimer]: dart.fnType(dart.void, []), - [_stopTimer]: dart.fnType(dart.void, []) -})); -dart.setSetterSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), - sessionTimeout: core.int -})); -dart.setLibraryUri(_http._HttpSessionManager, I[177]); -dart.setFieldSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_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)), - [_timer]: dart.fieldType(dart.nullable(async.Timer)) -})); -_http.HttpOverrides = class HttpOverrides extends core.Object { - static get current() { - 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], 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], 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], 82, 39, "url"); - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } -}; -(_http.HttpOverrides.new = function() { - ; -}).prototype = _http.HttpOverrides.prototype; -dart.addTypeTests(_http.HttpOverrides); -dart.addTypeCaches(_http.HttpOverrides); -dart.setMethodSignature(_http.HttpOverrides, () => ({ - __proto__: dart.getMethods(_http.HttpOverrides.__proto__), - 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(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); - let previous = this[_previous$5]; - if (previous != null) return previous.createHttpClient(context); - return super.createHttpClient(context); - } - findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 105, 39, "url"); - let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; - if (findProxyFromEnvironment != null) { - return findProxyFromEnvironment(url, environment); - } - let previous = this[_previous$5]; - if (previous != null) { - return previous.findProxyFromEnvironment(url, environment); - } - return super.findProxyFromEnvironment(url, environment); - } -}; -(_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { - this[_previous$5] = _http.HttpOverrides.current; - this[_createHttpClient$] = _createHttpClient; - this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; - ; -}).prototype = _http._HttpOverridesScope.prototype; -dart.addTypeTests(_http._HttpOverridesScope); -dart.addTypeCaches(_http._HttpOverridesScope); -dart.setLibraryUri(_http._HttpOverridesScope, I[177]); -dart.setFieldSignature(_http._HttpOverridesScope, () => ({ - __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), - [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), - [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), - [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) -})); -_http.WebSocketStatus = class WebSocketStatus extends core.Object {}; -(_http.WebSocketStatus.new = function() { - ; -}).prototype = _http.WebSocketStatus.prototype; -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; - }, - /*_http.WebSocketStatus.goingAway*/get goingAway() { - return 1001; - }, - /*_http.WebSocketStatus.protocolError*/get protocolError() { - return 1002; - }, - /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { - return 1003; - }, - /*_http.WebSocketStatus.reserved1004*/get reserved1004() { - return 1004; - }, - /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { - return 1005; - }, - /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { - return 1006; - }, - /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { - return 1007; - }, - /*_http.WebSocketStatus.policyViolation*/get policyViolation() { - return 1008; - }, - /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { - return 1009; - }, - /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { - return 1010; - }, - /*_http.WebSocketStatus.internalServerError*/get internalServerError() { - return 1011; - }, - /*_http.WebSocketStatus.reserved1015*/get reserved1015() { - return 1015; - } -}, false); -var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); -var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); -var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); -var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); -var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); -var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); -var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); -var _createHeader = dart.privateName(_http, "_createHeader"); -_http.CompressionOptions = class CompressionOptions extends core.Object { - get clientNoContextTakeover() { - return this[clientNoContextTakeover$]; - } - set clientNoContextTakeover(value) { - super.clientNoContextTakeover = value; - } - get serverNoContextTakeover() { - return this[serverNoContextTakeover$]; - } - set serverNoContextTakeover(value) { - super.serverNoContextTakeover = value; - } - get clientMaxWindowBits() { - return this[clientMaxWindowBits$]; - } - set clientMaxWindowBits(value) { - super.clientMaxWindowBits = value; - } - get serverMaxWindowBits() { - return this[serverMaxWindowBits$]; - } - set serverMaxWindowBits(value) { - super.serverMaxWindowBits = value; - } - get enabled() { - return this[enabled$]; - } - 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 t278, t278$, t278$0; - let info = new _http._CompressionMaxWindowBits.new("", 0); - 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 = (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; - } - } else { - info.headerValue = ""; - info.maxWindowBits = 15; - } - return info; - } - [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 122, 65, "size"); - let info = ""; - if (requested != null) { - info = "; client_max_window_bits=" + dart.str(size); - } else { - if (this.clientMaxWindowBits == null) { - info = "; client_max_window_bits"; - } else { - info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); - } - if (this.serverMaxWindowBits != null) { - info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); - } - } - return info; - } - [_createHeader](requested = null) { - 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 || 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 || 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); - t278$0 = info; - t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); - info.maxWindowBits = headerList.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], 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"); - this[clientNoContextTakeover$] = clientNoContextTakeover; - this[serverNoContextTakeover$] = serverNoContextTakeover; - this[clientMaxWindowBits$] = clientMaxWindowBits; - this[serverMaxWindowBits$] = serverMaxWindowBits; - this[enabled$] = enabled; - ; -}).prototype = _http.CompressionOptions.prototype; -dart.addTypeTests(_http.CompressionOptions); -dart.addTypeCaches(_http.CompressionOptions); -dart.setMethodSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getMethods(_http.CompressionOptions.__proto__), - [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), - [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), - [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) -})); -dart.setLibraryUri(_http.CompressionOptions, I[177]); -dart.setFieldSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getFields(_http.CompressionOptions.__proto__), - clientNoContextTakeover: dart.finalFieldType(core.bool), - serverNoContextTakeover: dart.finalFieldType(core.bool), - clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), - 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[500] || CT.C500; - }, - /*_http.CompressionOptions.compressionOff*/get compressionOff() { - 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[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], 245, 48, "request"); - 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], 247, 26, "compression"); - return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); - } - static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 253, 44, "request"); - return _http._WebSocketTransformerImpl._isUpgradeRequest(request); - } -}; -(_http.WebSocketTransformer[dart.mixinNew] = function() { -}).prototype = _http.WebSocketTransformer.prototype; -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 { - get pingInterval() { - return this[pingInterval]; - } - set pingInterval(value) { - this[pingInterval] = value; - } - static connect(url, opts) { - 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[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], 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"); - 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; - } - static set userAgent(userAgent) { - _http._WebSocketImpl.userAgent = userAgent; - } -}; -(_http.WebSocket.new = function() { - this[pingInterval] = null; - ; -}).prototype = _http.WebSocket.prototype; -_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; - }, - /*_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"); -_http.WebSocketException = class WebSocketException extends core.Object { - get message() { - return this[message$19]; - } - 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], 411, 34, "message"); - this[message$19] = message; - ; -}).prototype = _http.WebSocketException.prototype; -dart.addTypeTests(_http.WebSocketException); -dart.addTypeCaches(_http.WebSocketException); -_http.WebSocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(_http.WebSocketException, I[177]); -dart.setFieldSignature(_http.WebSocketException, () => ({ - __proto__: dart.getFields(_http.WebSocketException.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_http.WebSocketException, ['toString']); -_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; - }, - /*_http._WebSocketMessageType.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketMessageType.BINARY*/get BINARY() { - return 2; - } -}, false); -_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; - }, - /*_http._WebSocketOpcode.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketOpcode.BINARY*/get BINARY() { - return 2; - }, - /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { - return 3; - }, - /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { - return 4; - }, - /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { - return 5; - }, - /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { - return 6; - }, - /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { - return 7; - }, - /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { - return 8; - }, - /*_http._WebSocketOpcode.PING*/get PING() { - return 9; - }, - /*_http._WebSocketOpcode.PONG*/get PONG() { - return 10; - }, - /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { - return 11; - }, - /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { - return 12; - }, - /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { - return 13; - }, - /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { - return 14; - }, - /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { - return 15; - } -}, false); -_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; - ; -}).prototype = _http._EncodedString.prototype; -dart.addTypeTests(_http._EncodedString); -dart.addTypeCaches(_http._EncodedString); -dart.setLibraryUri(_http._EncodedString, I[177]); -dart.setFieldSignature(_http._EncodedString, () => ({ - __proto__: dart.getFields(_http._EncodedString.__proto__), - 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], 50, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); - this.headerValue = headerValue; - this.maxWindowBits = maxWindowBits; - ; -}).prototype = _http._CompressionMaxWindowBits.prototype; -dart.addTypeTests(_http._CompressionMaxWindowBits); -dart.addTypeCaches(_http._CompressionMaxWindowBits); -dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); -dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ - __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), - headerValue: dart.fieldType(core.String), - 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"); -var _len = dart.privateName(_http, "_len"); -var _masked = dart.privateName(_http, "_masked"); -var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); -var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); -var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); -var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); -var _currentMessageType = dart.privateName(_http, "_currentMessageType"); -var _eventSink$ = dart.privateName(_http, "_eventSink"); -var _maskingBytes = dart.privateName(_http, "_maskingBytes"); -var _payload = dart.privateName(_http, "_payload"); -var _serverSide$ = dart.privateName(_http, "_serverSide"); -var _deflate$ = dart.privateName(_http, "_deflate"); -var _isControlFrame = dart.privateName(_http, "_isControlFrame"); -var _lengthDone = dart.privateName(_http, "_lengthDone"); -var _maskDone = dart.privateName(_http, "_maskDone"); -var _unmask = dart.privateName(_http, "_unmask"); -var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); -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], 101, 25, "stream"); - return async.Stream.eventTransformed(stream, dart.fn(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$1.EventSinkTo_WebSocketProtocolTransformer())); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 111, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - dart.nullCheck(this[_eventSink$]).close(); - } - add(bytes) { - let t278; - T$0.ListOfint().as(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]; - if (this[_state$1] === 5) { - dart.throw(new _http.WebSocketException.new("Data on closed connection")); - } - if (this[_state$1] === 6) { - dart.throw(new _http.WebSocketException.new("Data on failed connection")); - } - while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { - let byte = buffer[$_get](index); - if (dart.notNull(this[_state$1]) <= 2) { - if (this[_state$1] === 0) { - this[_fin] = (dart.notNull(byte) & 128) !== 0; - if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_opcode] = (dart.notNull(byte) & 15) >>> 0; - if (this[_opcode] !== 0) { - if ((dart.notNull(byte) & 64) !== 0) { - this[_compressed] = true; - } else { - this[_compressed] = false; - } - } - if (dart.notNull(this[_opcode]) <= 2) { - if (this[_opcode] === 0) { - if (this[_currentMessageType] === 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - } else { - 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")); - } - this[_currentMessageType] = this[_opcode]; - } - } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { - if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); - } else { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_state$1] = 1; - } else if (this[_state$1] === 1) { - this[_masked] = (dart.notNull(byte) & 128) !== 0; - this[_len] = dart.notNull(byte) & 127; - if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_len] === 126) { - this[_len] = 0; - this[_remainingLenBytes] = 2; - this[_state$1] = 2; - } else if (this[_len] === 127) { - this[_len] = 0; - this[_remainingLenBytes] = 8; - this[_state$1] = 2; - } else { - 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], 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) { - this[_lengthDone](); - } - } - } else { - if (this[_state$1] === 3) { - 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], 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])) { - this[_unmask](index, payloadLength, buffer); - } - this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); - index = index + payloadLength; - if (dart.test(this[_isControlFrame]())) { - if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); - } else { - if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); - } - index = index - 1; - } - } - index = index + 1; - } - } - [_unmask](index, length, 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) { - 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; - let blockCount = (dart.notNull(length) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; - } - 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) { - t278$ = blockBuffer; - t279$ = i; - t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); - } - let bytes = blockCount * 16; - index = dart.notNull(index) + bytes; - length = dart.notNull(length) - bytes; - } - } - let end = dart.notNull(index) + dart.notNull(length); - for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - 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]() { - if (dart.test(this[_masked])) { - if (!dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received masked frame from server")); - } - this[_state$1] = 3; - } else { - if (dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); - } - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - } - [_maskDone]() { - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - [_startPayload]() { - if (this[_remainingPayloadBytes] === 0) { - if (dart.test(this[_isControlFrame]())) { - switch (this[_opcode]) { - case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } - case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } - case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } - } - this[_prepareForNextFrame](); - } else { - this[_messageFrameEnd](); - } - } else { - this[_state$1] = 4; - } - } - [_messageFrameEnd]() { - if (dart.test(this[_fin])) { - let bytes = this[_payload].takeBytes(); - let deflate = this[_deflate$]; - if (deflate != null && dart.test(this[_compressed])) { - bytes = deflate.processIncomingMessage(bytes); - } - switch (this[_currentMessageType]) { - case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } - case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } - } - this[_currentMessageType] = 0; - } - this[_prepareForNextFrame](); - } - [_controlFrameEnd]() { - switch (this[_opcode]) { - case 8: - { - 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; - } - case 9: - { - 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; - } - } - this[_prepareForNextFrame](); - } - [_isControlFrame]() { - return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; - } - [_prepareForNextFrame]() { - if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; - this[_fin] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - } -}; -(_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); - this[_state$1] = 0; - this[_fin] = false; - this[_compressed] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_masked] = false; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - this[_currentMessageType] = 0; - this[closeCode] = 1005; - this[closeReason] = ""; - this[_eventSink$] = null; - this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); - this[_payload] = _internal.BytesBuilder.new({copy: false}); - this[_serverSide$] = _serverSide; - this[_deflate$] = _deflate; - _http._WebSocketProtocolTransformer.__proto__.new.call(this); - ; -}).prototype = _http._WebSocketProtocolTransformer.prototype; -dart.addTypeTests(_http._WebSocketProtocolTransformer); -dart.addTypeCaches(_http._WebSocketProtocolTransformer); -_http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; -dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), - bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), - [_lengthDone]: dart.fnType(dart.void, []), - [_maskDone]: dart.fnType(dart.void, []), - [_startPayload]: dart.fnType(dart.void, []), - [_messageFrameEnd]: dart.fnType(dart.void, []), - [_controlFrameEnd]: dart.fnType(dart.void, []), - [_isControlFrame]: dart.fnType(core.bool, []), - [_prepareForNextFrame]: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); -dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), - [_state$1]: dart.fieldType(core.int), - [_fin]: dart.fieldType(core.bool), - [_compressed]: dart.fieldType(core.bool), - [_opcode]: dart.fieldType(core.int), - [_len]: dart.fieldType(core.int), - [_masked]: dart.fieldType(core.bool), - [_remainingLenBytes]: dart.fieldType(core.int), - [_remainingMaskingKeyBytes]: dart.fieldType(core.int), - [_remainingPayloadBytes]: dart.fieldType(core.int), - [_unmaskingIndex]: dart.fieldType(core.int), - [_currentMessageType]: dart.fieldType(core.int), - closeCode: dart.fieldType(core.int), - closeReason: dart.fieldType(core.String), - [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), - [_serverSide$]: dart.finalFieldType(core.bool), - [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), - [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_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; - }, - /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { - return 1; - }, - /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { - return 2; - }, - /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { - return 3; - }, - /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { - return 4; - }, - /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { - return 5; - }, - /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { - return 6; - }, - /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { - return 128; - }, - /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { - return 64; - }, - /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { - return 32; - }, - /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { - return 16; - }, - /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { - return 15; - } -}, false); -_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; - ; -}).prototype = _http._WebSocketPing.prototype; -dart.addTypeTests(_http._WebSocketPing); -dart.addTypeCaches(_http._WebSocketPing); -dart.setLibraryUri(_http._WebSocketPing, I[177]); -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 { - static ['_#new#tearOff'](payload = null) { - return new _http._WebSocketPong.new(payload); - } -}; -(_http._WebSocketPong.new = function(payload = null) { - this.payload = payload; - ; -}).prototype = _http._WebSocketPong.prototype; -dart.addTypeTests(_http._WebSocketPong); -dart.addTypeCaches(_http._WebSocketPong); -dart.setLibraryUri(_http._WebSocketPong, I[177]); -dart.setFieldSignature(_http._WebSocketPong, () => ({ - __proto__: dart.getFields(_http._WebSocketPong.__proto__), - payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) -})); -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$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], 417, 20, "request"); - _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); - return this[_controller$0].add(webSocket); - }, 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], 428, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _upgrade(request, protocolSelector, 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))) { - t278 = response; - (() => { - t278.statusCode = 400; - t278.close(); - return t278; - })(); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); - } - function upgrade(protocol) { - let t278; - t278 = response; - (() => { - 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 = convert.base64Encode(sha1.close()); - response.headers.add("Sec-WebSocket-Accept", accept); - if (protocol != null) { - response.headers.add("Sec-WebSocket-Protocol", protocol); - } - 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], 475, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T$1.SocketTo_WebSocketImpl())); - } - 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$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 t278; - t278 = response; - (() => { - t278.statusCode = 500; - t278.close(); - return t278; - })(); - dart.throw(error); - }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); - } else { - return upgrade(null); - } - } - static _negotiateCompression(request, response, 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: ","}); - if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { - let info = compression[_createHeader](hv); - response.headers.add("Sec-WebSocket-Extensions", info.headerValue); - let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); - let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); - let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); - return deflate; - } - return null; - } - static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 534, 45, "request"); - if (request.method !== "GET") { - return false; - } - let connectionHeader = request.headers._get("connection"); - if (connectionHeader == null) { - return false; - } - let isUpgrade = false; - for (let value of connectionHeader) { - if (value[$toLowerCase]() === "upgrade") { - isUpgrade = true; - break; - } - } - if (!isUpgrade) return false; - let upgrade = request.headers.value("upgrade"); - if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { - return false; - } - let version = request.headers.value("Sec-WebSocket-Version"); - if (version == null || version !== "13") { - return false; - } - let key = request.headers.value("Sec-WebSocket-Key"); - if (key == null) { - return false; - } - return true; - } -}; -(_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - 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); - ; -}).prototype = _http._WebSocketTransformerImpl.prototype; -dart.addTypeTests(_http._WebSocketTransformerImpl); -dart.addTypeCaches(_http._WebSocketTransformerImpl); -_http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; -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__), - [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), - [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), - [_compression$]: dart.finalFieldType(_http.CompressionOptions) -})); -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 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 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], 591, 46, "msg"); - let decoder = this[_ensureDecoder](); - let data = T$.JSArrayOfint().of([]); - data[$addAll](msg); - data[$addAll](C[502] || CT.C502); - decoder.process(data, 0, data[$length]); - let result = _internal.BytesBuilder.new(); - while (true) { - let out = decoder.processed(); - if (out == null) break; - result.add(out); - } - if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.decoder = null; - } - return result.takeBytes(); - } - processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); - let encoder = this[_ensureEncoder](); - let result = T$.JSArrayOfint().of([]); - let buffer = null; - if (!typed_data.Uint8List.is(msg)) { - for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { - if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); - } - } - buffer = _native_typed_data.NativeUint8List.fromList(msg); - } else { - buffer = msg; - } - encoder.process(buffer, 0, buffer[$length]); - while (true) { - let out = encoder.processed(); - if (out == null) break; - result[$addAll](out); - } - if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.encoder = null; - } - if (dart.notNull(result[$length]) > 4) { - result = result[$sublist](0, dart.notNull(result[$length]) - 4); - } - if (dart.test(result[$isEmpty])) { - return T$.JSArrayOfint().of([0]); - } - return result; - } -}; -(_http._WebSocketPerMessageDeflate.new = function(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"); - this.decoder = null; - this.encoder = null; - this.clientMaxWindowBits = clientMaxWindowBits; - this.serverMaxWindowBits = serverMaxWindowBits; - this.serverNoContextTakeover = serverNoContextTakeover; - this.clientNoContextTakeover = clientNoContextTakeover; - this.serverSide = serverSide; - ; -}).prototype = _http._WebSocketPerMessageDeflate.prototype; -dart.addTypeTests(_http._WebSocketPerMessageDeflate); -dart.addTypeCaches(_http._WebSocketPerMessageDeflate); -dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), - [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), - [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), - processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), - processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) -})); -dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); -dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), - serverNoContextTakeover: dart.fieldType(core.bool), - clientNoContextTakeover: dart.fieldType(core.bool), - clientMaxWindowBits: dart.fieldType(core.int), - serverMaxWindowBits: dart.fieldType(core.int), - serverSide: dart.fieldType(core.bool), - decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), - encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) -})); -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], 673, 33, "stream"); - return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(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$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); - } - add(message) { - if (_http._WebSocketPong.is(message)) { - this.addFrame(10, message.payload); - return; - } - if (_http._WebSocketPing.is(message)) { - this.addFrame(9, message.payload); - return; - } - let data = null; - let opcode = null; - if (message != null) { - let messageData = null; - if (typeof message == 'string') { - opcode = 1; - messageData = convert.utf8.encode(message); - } else if (T$0.ListOfint().is(message)) { - opcode = 2; - messageData = message; - } else if (_http._EncodedString.is(message)) { - opcode = 1; - messageData = message.bytes; - } else { - dart.throw(new core.ArgumentError.new(message)); - } - let deflateHelper = this[_deflateHelper]; - if (deflateHelper != null) { - messageData = deflateHelper.processOutgoingMessage(messageData); - } - data = messageData; - } else { - opcode = 1; - } - this.addFrame(opcode, data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 720, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - let code = this.webSocket[_outCloseCode]; - let reason = this.webSocket[_outCloseReason]; - let data = null; - if (code != null) { - data = (() => { - 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], 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], 749, 19, "e"); - dart.nullCheck(this[_eventSink$]).add(e); - }, T$0.ListOfintTovoid())); - } - static createFrame(opcode, data, serverSide, 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; - if (dart.notNull(dataLength) > 65535) { - headerSize = headerSize + 8; - } else if (dart.notNull(dataLength) > 125) { - headerSize = headerSize + 2; - } - 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]((t279 = index, index = t279 + 1, t279), hoc); - let lengthBytes = 1; - if (dart.notNull(dataLength) > 65535) { - header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); - lengthBytes = 8; - } else if (dart.notNull(dataLength) > 125) { - 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]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); - } - if (mask) { - 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; - if (data != null) { - let list = null; - if (opcode === 1 && typed_data.Uint8List.is(data)) { - list = data; - } else { - if (typed_data.Uint8List.is(data)) { - list = _native_typed_data.NativeUint8List.fromList(data); - } else { - list = _native_typed_data.NativeUint8List.new(data[$length]); - for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { - if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); - } - list[$_set](i, data[$_get](i)); - } - } - } - let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; - } - 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) { - 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) { - 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], 834, 12, "index == headerSize"); - if (data == null) { - return T$0.JSArrayOfListOfint().of([header]); - } else { - return T$0.JSArrayOfListOfint().of([header, data]); - } - } -}; -(_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); - this[_eventSink$] = null; - this.webSocket = webSocket; - this[_deflateHelper] = webSocket[_deflate$]; - _http._WebSocketOutgoingTransformer.__proto__.new.call(this); - ; -}).prototype = _http._WebSocketOutgoingTransformer.prototype; -dart.addTypeTests(_http._WebSocketOutgoingTransformer); -dart.addTypeCaches(_http._WebSocketOutgoingTransformer); -_http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; -dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), - bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - 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.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) -})); -var _issuedPause = dart.privateName(_http, "_issuedPause"); -var _closed$ = dart.privateName(_http, "_closed"); -var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); -var _completer = dart.privateName(_http, "_completer"); -var _onListen = dart.privateName(_http, "_onListen"); -var _onPause$ = dart.privateName(_http, "_onPause"); -var _onResume$ = dart.privateName(_http, "_onResume"); -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 t279; - t279 = this[_subscription$0]; - t279 == null ? null : t279.cancel(); - } - [_onPause$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.pause(); - } else { - this[_issuedPause] = true; - } - } - [_onResume$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.resume(); - } else { - this[_issuedPause] = false; - } - } - [_cancel$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - this[_subscription$0] = null; - subscription.cancel(); - } - } - [_ensureController]() { - let controller = this[_controller$0]; - if (controller != null) return controller; - controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); - let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); - this.socket.addStream(stream).then(core.Null, dart.fn(_ => { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - }, T$.dynamicToNull()), {onError: dart.fn((error, 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)) { - if (!dart.test(this[_done](error, stackTrace))) { - this[_closeCompleter$].completeError(error, stackTrace); - } - } else { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - } - }, T$.ObjectAndStackTraceToNull())}); - return controller; - } - [_done](error = null, stackTrace = null) { - let completer = this[_completer]; - if (completer == null) return false; - if (error != null) { - completer.completeError(error, stackTrace); - } else { - completer.complete(this.webSocket); - } - this[_completer] = null; - return true; - } - addStream(stream) { - async.Stream.as(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); - } - this[_ensureController](); - let completer = this[_completer] = async.Completer.new(); - let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { - dart.nullCheck(this[_controller$0]).add(data); - }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); - if (dart.test(this[_issuedPause])) { - subscription.pause(); - this[_issuedPause] = false; - } - return completer.future; - } - 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$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); - } - add(data) { - if (dart.test(this[_closed$])) return; - let controller = this[_ensureController](); - if (dart.test(controller.isClosed)) return; - controller.add(data); - } - closeSocket() { - this[_closed$] = true; - this[_cancel$](); - this.close(); - } -}; -(_http._WebSocketConsumer.new = function(webSocket, 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$1.CompleterOfWebSocket().new(); - this[_completer] = null; - this.webSocket = webSocket; - this.socket = socket; - ; -}).prototype = _http._WebSocketConsumer.prototype; -dart.addTypeTests(_http._WebSocketConsumer); -dart.addTypeCaches(_http._WebSocketConsumer); -_http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; -dart.setMethodSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), - [_onListen]: dart.fnType(dart.void, []), - [_onPause$]: dart.fnType(dart.void, []), - [_onResume$]: dart.fnType(dart.void, []), - [_cancel$]: dart.fnType(dart.void, []), - [_ensureController]: dart.fnType(async.StreamController, []), - [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []), - add: dart.fnType(dart.void, [dart.dynamic]), - closeSocket: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._WebSocketConsumer, I[177]); -dart.setFieldSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), - webSocket: dart.finalFieldType(_http._WebSocketImpl), - socket: dart.finalFieldType(io.Socket), - [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_issuedPause]: dart.fieldType(core.bool), - [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.finalFieldType(async.Completer), - [_completer]: dart.fieldType(dart.nullable(async.Completer)) -})); -var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); -var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); -var _readyState = dart.privateName(_http, "_readyState"); -var _writeClosed = dart.privateName(_http, "_writeClosed"); -var _closeCode = dart.privateName(_http, "_closeCode"); -var _closeReason = dart.privateName(_http, "_closeReason"); -var _pingInterval = dart.privateName(_http, "_pingInterval"); -var _pingTimer = dart.privateName(_http, "_pingTimer"); -var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); -var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); -var _closeTimer = dart.privateName(_http, "_closeTimer"); -var _consumer = dart.privateName(_http, "_consumer"); -var _sink = dart.privateName(_http, "_sink"); -var _close$0 = dart.privateName(_http, "_close"); -const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; -(Stream__ServiceObject$36$.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__.new.call(this); -}).prototype = Stream__ServiceObject$36$.prototype; -(Stream__ServiceObject$36$._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__._internal.call(this); -}).prototype = Stream__ServiceObject$36$.prototype; -dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); -_http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { - get [_sink]() { - let t279; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); - } - set [_sink](_sink$35param) { - if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); - this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = _sink$35param; - } - get [_consumer]() { - let t279; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); - } - set [_consumer](_consumer$35param) { - if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); - this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = _consumer$35param; - } - static connect(url, protocols, headers, opts) { - 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 (!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(); - let nonceData = _native_typed_data.NativeUint8List.new(16); - for (let i = 0; i < 16; i = i + 1) { - nonceData[$_set](i, random.nextInt(256)); - } - 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], 1029, 26, "field"); - return request.headers.add(field, core.Object.as(value)); - }, T$0.StringAnddynamicTovoid())); - } - t279 = request.headers; - (() => { - 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]()); - } - if (dart.test(compression.enabled)) { - request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); - } - return request.close(); - }, 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], 1049, 38, "message"); - response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); - socket.destroy(); - }, T$1.SocketToNull())); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); - } - 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], 1061, 34, "value"); - return value[$toLowerCase]() === "upgrade"; - }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - } - let accept = response.headers.value("Sec-WebSocket-Accept"); - if (accept == null) { - 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 = convert.base64Decode(accept); - if (expectedAccept[$length] != receivedAccept[$length]) { - 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)) { - 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], 1089, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T$1.SocketTo_WebSocketImpl())); - }, T$1.HttpClientResponseToFutureOfWebSocket())); - } - static negotiateClientCompression(response, compression) { - 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 t279; - if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); - let o = hv.parameters[$_get](type); - if (o == null) { - return 15; - } - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get pingInterval() { - return this[_pingInterval]; - } - set pingInterval(interval) { - let t279; - if (dart.test(this[_writeClosed])) return; - 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 t279; - t279 = this[_closeTimer]; - t279 == null ? null : t279.cancel(); - this[_close$0](1001); - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.VoidTovoid())); - }, T$.VoidTovoid())); - } - get readyState() { - return this[_readyState]; - } - get extensions() { - return ""; - } - get closeCode() { - return this[_closeCode]; - } - get closeReason() { - return this[_closeReason]; - } - add(data) { - this[_sink].add(data); - } - addUtf8Text(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], 1231, 24, "error"); - this[_sink].addError(error, stackTrace); - } - addStream(stream) { - async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); - return this[_sink].addStream(stream); - } - get done() { - return this[_sink].done; - } - close(code = null, reason = null) { - if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { - dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); - } - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - 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$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(); - } - static get userAgent() { - return _http._WebSocketImpl._httpClient.userAgent; - } - static set userAgent(userAgent) { - _http._WebSocketImpl._httpClient.userAgent = userAgent; - } - [_close$0](code = null, reason = null) { - if (dart.test(this[_writeClosed])) return; - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - this[_writeClosed] = true; - this[_consumer].closeSocket(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - } - get [_serviceTypePath$]() { - return "io/websockets"; - } - get [_serviceTypeName$]() { - return "WebSocket"; - } - 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 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; - this[_readyState] = 0; - this[_writeClosed] = false; - this[_closeCode] = null; - this[_closeReason] = null; - this[_pingInterval] = null; - this[_pingTimer] = null; - this[___WebSocketImpl__consumer] = null; - this[___WebSocketImpl__consumer_isSet] = false; - this[_outCloseCode] = null; - this[_outCloseReason] = null; - this[_closeTimer] = null; - this[_deflate$] = null; - this[_socket$0] = _socket; - this.protocol = protocol; - this[_serverSide$] = _serverSide; - this[_controller$0] = async.StreamController.new({sync: true}); - _http._WebSocketImpl.__proto__.new.call(this); - this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); - this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); - this[_readyState] = 1; - this[_deflate$] = deflate; - let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); - let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { - if (_http._WebSocketPing.is(data)) { - if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); - } else if (_http._WebSocketPong.is(data)) { - this.pingInterval = this[_pingInterval]; - } else { - this[_controller$0].add(data); - } - }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - 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 { - this[_close$0](1002); - } - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - 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))) { - this[_close$0](transformer.closeCode, transformer.closeReason); - } else { - this[_close$0](); - } - this[_readyState] = 3; - } - this[_closeCode] = transformer.closeCode; - this[_closeReason] = transformer.closeReason; - this[_controller$0].close(); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.pause(); - t279 = this[_controller$0]; - (() => { - t279.onListen = dart.bind(subscription, 'resume'); - t279.onCancel = dart.fn(() => { - dart.nullCheck(this[_subscription$0]).cancel(); - this[_subscription$0] = null; - }, T$.VoidToNull()); - 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; -dart.addTypeTests(_http._WebSocketImpl); -dart.addTypeCaches(_http._WebSocketImpl); -_http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; -dart.setMethodSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {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)]), - addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), - 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)]) -})); -dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); -dart.setGetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_consumer]: _http._WebSocketConsumer, - pingInterval: dart.nullable(core.Duration), - readyState: core.int, - extensions: core.String, - closeCode: dart.nullable(core.int), - closeReason: dart.nullable(core.String), - done: async.Future, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setSetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_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__), - protocol: dart.finalFieldType(dart.nullable(core.String)), - [_controller$0]: dart.finalFieldType(async.StreamController), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), - [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), - [_socket$0]: dart.finalFieldType(io.Socket), - [_serverSide$]: dart.finalFieldType(core.bool), - [_readyState]: dart.fieldType(core.int), - [_writeClosed]: dart.fieldType(core.bool), - [_closeCode]: dart.fieldType(dart.nullable(core.int)), - [_closeReason]: dart.fieldType(dart.nullable(core.String)), - [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), - [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), - [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), - [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), - [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), - [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), - [_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$1.IdentityMapOfint$_WebSocketImpl()).new(); - }, - /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, - /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { - return "permessage-deflate"; - }, - /*_http._WebSocketImpl._httpClient*/get _httpClient() { - return _http.HttpClient.new(); - } -}, false); -_http._getHttpVersion = function _getHttpVersion() { - let version = io.Platform.version; - let index = version[$indexOf](".", version[$indexOf](".") + 1); - 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; - }, - /*_http._MASK_32*/get _MASK_32() { - return 4294967295.0; - }, - /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { - return 8; - }, - /*_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(value) { - if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); - }, - /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { - return 8192; - }, - /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { - return "DARTSESSID"; - }, - /*_http._httpOverridesToken*/get _httpOverridesToken() { - return new core.Object.new(); - }, - /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*_http._webSocketGUID*/get _webSocketGUID() { - return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; - }, - /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { - return "client_no_context_takeover"; - }, - /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { - return "server_no_context_takeover"; - }, - /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { - return "client_max_window_bits"; - }, - /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { - return "server_max_window_bits"; - } -}, false); -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, - "dart:_internal": _internal, - "dart:_isolate_helper": _isolate_helper, - "dart:_js_helper": _js_helper, - "dart:_js_primitives": _js_primitives, - "dart:_metadata": _metadata, - "dart:_native_typed_data": _native_typed_data, - "dart:async": async, - "dart:collection": collection, - "dart:convert": convert, - "dart:developer": developer, - "dart:io": io, - "dart:isolate": isolate$, - "dart:js": js, - "dart:js_util": js_util, - "dart:math": math, - "dart:typed_data": typed_data, - "dart:indexed_db": indexed_db, - "dart:html": html$, - "dart:html_common": html_common, - "dart:svg": svg$, - "dart:web_audio": web_audio, - "dart:web_gl": web_gl, - "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", "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_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", "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; -exports._internal = _internal; -exports._isolate_helper = _isolate_helper; -exports._js_helper = _js_helper; -exports._js_primitives = _js_primitives; -exports._metadata = _metadata; -exports._native_typed_data = _native_typed_data; -exports.async = async; -exports.collection = collection; -exports.convert = convert; -exports.developer = developer; -exports.io = io; -exports.isolate = isolate$; -exports.js = js; -exports.js_util = js_util; -exports.math = math; -exports.typed_data = typed_data; -exports.indexed_db = indexed_db; -exports.html = html$; -exports.html_common = html_common; -exports.svg = svg$; -exports.web_audio = web_audio; -exports.web_gl = web_gl; -exports.core = core; -exports._http = _http; -exports.dartx = dartx; - -//# sourceMappingURL=dart_sdk.js.map diff --git a/dev/packages/$sdk/dev_compiler/kernel/common/run.js b/dev/packages/$sdk/dev_compiler/kernel/common/run.js deleted file mode 100644 index f1cbaa9a1..000000000 --- a/dev/packages/$sdk/dev_compiler/kernel/common/run.js +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) 2015, 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. - -var fs = require('fs'); -var vm = require('vm'); - -function __load(path) { - var data = fs.readFileSync(path); - var script = vm.createScript(data.toString(), path); - script.runInThisContext(); -} - -var args = process.argv.slice(2); -var argc = args.length; - -for (var i = 0; i < argc-1; ++i) { - __load(args[i]); -} - -var main = vm.createScript(args[argc-1] + '.main()', 'main'); -main.runInThisContext(); diff --git a/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js b/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js deleted file mode 100644 index 815ce479b..000000000 --- a/dev/packages/$sdk/dev_compiler/kernel/es6/dart_sdk.js +++ /dev/null @@ -1,149279 +0,0 @@ -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); -var _internal = Object.create(dart.library); -var _isolate_helper = Object.create(dart.library); -var _js_helper = Object.create(dart.library); -var _js_primitives = Object.create(dart.library); -var _metadata = Object.create(dart.library); -var _native_typed_data = Object.create(dart.library); -var async = Object.create(dart.library); -var collection = Object.create(dart.library); -var convert = Object.create(dart.library); -var developer = Object.create(dart.library); -var io = Object.create(dart.library); -var isolate$ = Object.create(dart.library); -var js = Object.create(dart.library); -var js_util = Object.create(dart.library); -var math = Object.create(dart.library); -var typed_data = Object.create(dart.library); -var indexed_db = Object.create(dart.library); -var html$ = Object.create(dart.library); -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 core = Object.create(dart.library); -var _http = Object.create(dart.library); -var dartx = Object.create(dart.library); -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]; - if (names == null) names = library[_privateNames] = new Map(); - let symbol = names.get(name); - if (symbol == null) names.set(name, symbol = Symbol(name)); - return symbol; -}; -var $hashCode = dartx.hashCode = Symbol("dartx.hashCode"); -var $isNotEmpty = dartx.isNotEmpty = Symbol("dartx.isNotEmpty"); -var $where = dartx.where = Symbol("dartx.where"); -var $join = dartx.join = Symbol("dartx.join"); -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"); -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 $isEmpty = dartx.isEmpty = Symbol("dartx.isEmpty"); -var $map = dartx.map = Symbol("dartx.map"); -var $toList = dartx.toList = Symbol("dartx.toList"); -var $sublist = dartx.sublist = Symbol("dartx.sublist"); -var $substring = dartx.substring = Symbol("dartx.substring"); -var $split = dartx.split = Symbol("dartx.split"); -var $trim = dartx.trim = Symbol("dartx.trim"); -var $runtimeType = dartx.runtimeType = Symbol("dartx.runtimeType"); -var $containsKey = dartx.containsKey = Symbol("dartx.containsKey"); -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 $dartStack = dartx.dartStack = Symbol("dartx.dartStack"); -var $truncate = dartx.truncate = Symbol("dartx.truncate"); -var $toInt = dartx.toInt = Symbol("dartx.toInt"); -var $skip = dartx.skip = Symbol("dartx.skip"); -var $take = dartx.take = Symbol("dartx.take"); -var $asMap = dartx.asMap = Symbol("dartx.asMap"); -var $forEach = dartx.forEach = Symbol("dartx.forEach"); -var $elementAt = dartx.elementAt = Symbol("dartx.elementAt"); -var $last = dartx.last = Symbol("dartx.last"); -var $firstWhere = dartx.firstWhere = Symbol("dartx.firstWhere"); -var $replaceFirst = dartx.replaceFirst = Symbol("dartx.replaceFirst"); -var $startsWith = dartx.startsWith = Symbol("dartx.startsWith"); -var $compareTo = dartx.compareTo = Symbol("dartx.compareTo"); -var $sort = dartx.sort = Symbol("dartx.sort"); -var $putIfAbsent = dartx.putIfAbsent = Symbol("dartx.putIfAbsent"); -var $round = dartx.round = Symbol("dartx.round"); -var $bitAnd = dartx['&'] = Symbol("dartx.&"); -var $bitOr = dartx['|'] = Symbol("dartx.|"); -var $bitXor = dartx['^'] = Symbol("dartx.^"); -var $stackTrace = dartx.stackTrace = Symbol("dartx.stackTrace"); -var $invalidValue = dartx.invalidValue = Symbol("dartx.invalidValue"); -var $name = dartx.name = Symbol("dartx.name"); -var $message = dartx.message = Symbol("dartx.message"); -var $checkMutable = dartx.checkMutable = Symbol("dartx.checkMutable"); -var $checkGrowable = dartx.checkGrowable = Symbol("dartx.checkGrowable"); -var $removeAt = dartx.removeAt = Symbol("dartx.removeAt"); -var $insert = dartx.insert = Symbol("dartx.insert"); -var $setRange = dartx.setRange = Symbol("dartx.setRange"); -var $insertAll = dartx.insertAll = Symbol("dartx.insertAll"); -var $setAll = dartx.setAll = Symbol("dartx.setAll"); -var $removeLast = dartx.removeLast = Symbol("dartx.removeLast"); -var $removeWhere = dartx.removeWhere = Symbol("dartx.removeWhere"); -var $retainWhere = dartx.retainWhere = Symbol("dartx.retainWhere"); -var $expand = dartx.expand = Symbol("dartx.expand"); -var $takeWhile = dartx.takeWhile = Symbol("dartx.takeWhile"); -var $skipWhile = dartx.skipWhile = Symbol("dartx.skipWhile"); -var $reduce = dartx.reduce = Symbol("dartx.reduce"); -var $fold = dartx.fold = Symbol("dartx.fold"); -var $lastWhere = dartx.lastWhere = Symbol("dartx.lastWhere"); -var $singleWhere = dartx.singleWhere = Symbol("dartx.singleWhere"); -var $getRange = dartx.getRange = Symbol("dartx.getRange"); -var $first = dartx.first = Symbol("dartx.first"); -var $single = dartx.single = Symbol("dartx.single"); -var $removeRange = dartx.removeRange = Symbol("dartx.removeRange"); -var $fillRange = dartx.fillRange = Symbol("dartx.fillRange"); -var $replaceRange = dartx.replaceRange = Symbol("dartx.replaceRange"); -var $every = dartx.every = Symbol("dartx.every"); -var $reversed = dartx.reversed = Symbol("dartx.reversed"); -var $shuffle = dartx.shuffle = Symbol("dartx.shuffle"); -var $lastIndexOf = dartx.lastIndexOf = Symbol("dartx.lastIndexOf"); -var $toSet = dartx.toSet = Symbol("dartx.toSet"); -var $iterator = dartx.iterator = Symbol("dartx.iterator"); -var $followedBy = dartx.followedBy = Symbol("dartx.followedBy"); -var $whereType = dartx.whereType = Symbol("dartx.whereType"); -var $plus = dartx['+'] = Symbol("dartx.+"); -var $indexWhere = dartx.indexWhere = Symbol("dartx.indexWhere"); -var $lastIndexWhere = dartx.lastIndexWhere = Symbol("dartx.lastIndexWhere"); -var $isNegative = dartx.isNegative = Symbol("dartx.isNegative"); -var $isNaN = dartx.isNaN = Symbol("dartx.isNaN"); -var $isInfinite = dartx.isInfinite = Symbol("dartx.isInfinite"); -var $isFinite = dartx.isFinite = Symbol("dartx.isFinite"); -var $remainder = dartx.remainder = Symbol("dartx.remainder"); -var $abs = dartx.abs = Symbol("dartx.abs"); -var $sign = dartx.sign = Symbol("dartx.sign"); -var $truncateToDouble = dartx.truncateToDouble = Symbol("dartx.truncateToDouble"); -var $ceilToDouble = dartx.ceilToDouble = Symbol("dartx.ceilToDouble"); -var $ceil = dartx.ceil = Symbol("dartx.ceil"); -var $floorToDouble = dartx.floorToDouble = Symbol("dartx.floorToDouble"); -var $floor = dartx.floor = Symbol("dartx.floor"); -var $roundToDouble = dartx.roundToDouble = Symbol("dartx.roundToDouble"); -var $clamp = dartx.clamp = Symbol("dartx.clamp"); -var $toDouble = dartx.toDouble = Symbol("dartx.toDouble"); -var $toStringAsFixed = dartx.toStringAsFixed = Symbol("dartx.toStringAsFixed"); -var $toStringAsExponential = dartx.toStringAsExponential = Symbol("dartx.toStringAsExponential"); -var $toStringAsPrecision = dartx.toStringAsPrecision = Symbol("dartx.toStringAsPrecision"); -var $codeUnitAt = dartx.codeUnitAt = Symbol("dartx.codeUnitAt"); -var $toRadixString = dartx.toRadixString = Symbol("dartx.toRadixString"); -var $times = dartx['*'] = Symbol("dartx.*"); -var $_negate = dartx._negate = Symbol("dartx._negate"); -var $minus = dartx['-'] = Symbol("dartx.-"); -var $divide = dartx['/'] = Symbol("dartx./"); -var $modulo = dartx['%'] = Symbol("dartx.%"); -var $floorDivide = dartx['~/'] = Symbol("dartx.~/"); -var $leftShift = dartx['<<'] = Symbol("dartx.<<"); -var $rightShift = dartx['>>'] = Symbol("dartx.>>"); -var $tripleShift = dartx['>>>'] = Symbol("dartx.>>>"); -var $lessThan = dartx['<'] = Symbol("dartx.<"); -var $greaterThan = dartx['>'] = Symbol("dartx.>"); -var $lessOrEquals = dartx['<='] = Symbol("dartx.<="); -var $greaterOrEquals = dartx['>='] = Symbol("dartx.>="); -var $isEven = dartx.isEven = Symbol("dartx.isEven"); -var $isOdd = dartx.isOdd = Symbol("dartx.isOdd"); -var $toUnsigned = dartx.toUnsigned = Symbol("dartx.toUnsigned"); -var $toSigned = dartx.toSigned = Symbol("dartx.toSigned"); -var $bitLength = dartx.bitLength = Symbol("dartx.bitLength"); -var $modPow = dartx.modPow = Symbol("dartx.modPow"); -var $modInverse = dartx.modInverse = Symbol("dartx.modInverse"); -var $gcd = dartx.gcd = Symbol("dartx.gcd"); -var $bitNot = dartx['~'] = Symbol("dartx.~"); -var $allMatches = dartx.allMatches = Symbol("dartx.allMatches"); -var $matchAsPrefix = dartx.matchAsPrefix = Symbol("dartx.matchAsPrefix"); -var $endsWith = dartx.endsWith = Symbol("dartx.endsWith"); -var $replaceAll = dartx.replaceAll = Symbol("dartx.replaceAll"); -var $splitMapJoin = dartx.splitMapJoin = Symbol("dartx.splitMapJoin"); -var $replaceAllMapped = dartx.replaceAllMapped = Symbol("dartx.replaceAllMapped"); -var $replaceFirstMapped = dartx.replaceFirstMapped = Symbol("dartx.replaceFirstMapped"); -var $toLowerCase = dartx.toLowerCase = Symbol("dartx.toLowerCase"); -var $toUpperCase = dartx.toUpperCase = Symbol("dartx.toUpperCase"); -var $trimLeft = dartx.trimLeft = Symbol("dartx.trimLeft"); -var $trimRight = dartx.trimRight = Symbol("dartx.trimRight"); -var $padLeft = dartx.padLeft = Symbol("dartx.padLeft"); -var $padRight = dartx.padRight = Symbol("dartx.padRight"); -var $codeUnits = dartx.codeUnits = Symbol("dartx.codeUnits"); -var $runes = dartx.runes = Symbol("dartx.runes"); -var $buffer = dartx.buffer = Symbol("dartx.buffer"); -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"); -var $asInt8List = dartx.asInt8List = Symbol("dartx.asInt8List"); -var $asUint8ClampedList = dartx.asUint8ClampedList = Symbol("dartx.asUint8ClampedList"); -var $asUint16List = dartx.asUint16List = Symbol("dartx.asUint16List"); -var $asInt16List = dartx.asInt16List = Symbol("dartx.asInt16List"); -var $asUint32List = dartx.asUint32List = Symbol("dartx.asUint32List"); -var $asInt32List = dartx.asInt32List = Symbol("dartx.asInt32List"); -var $asUint64List = dartx.asUint64List = Symbol("dartx.asUint64List"); -var $asInt64List = dartx.asInt64List = Symbol("dartx.asInt64List"); -var $asInt32x4List = dartx.asInt32x4List = Symbol("dartx.asInt32x4List"); -var $asFloat32List = dartx.asFloat32List = Symbol("dartx.asFloat32List"); -var $asFloat64List = dartx.asFloat64List = Symbol("dartx.asFloat64List"); -var $asFloat32x4List = dartx.asFloat32x4List = Symbol("dartx.asFloat32x4List"); -var $asFloat64x2List = dartx.asFloat64x2List = Symbol("dartx.asFloat64x2List"); -var $asByteData = dartx.asByteData = Symbol("dartx.asByteData"); -var $elementSizeInBytes = dartx.elementSizeInBytes = Symbol("dartx.elementSizeInBytes"); -var $getFloat32 = dartx.getFloat32 = Symbol("dartx.getFloat32"); -var $getFloat64 = dartx.getFloat64 = Symbol("dartx.getFloat64"); -var $getInt16 = dartx.getInt16 = Symbol("dartx.getInt16"); -var $getInt32 = dartx.getInt32 = Symbol("dartx.getInt32"); -var $getInt64 = dartx.getInt64 = Symbol("dartx.getInt64"); -var $getInt8 = dartx.getInt8 = Symbol("dartx.getInt8"); -var $getUint16 = dartx.getUint16 = Symbol("dartx.getUint16"); -var $getUint32 = dartx.getUint32 = Symbol("dartx.getUint32"); -var $getUint64 = dartx.getUint64 = Symbol("dartx.getUint64"); -var $getUint8 = dartx.getUint8 = Symbol("dartx.getUint8"); -var $setFloat32 = dartx.setFloat32 = Symbol("dartx.setFloat32"); -var $setFloat64 = dartx.setFloat64 = Symbol("dartx.setFloat64"); -var $setInt16 = dartx.setInt16 = Symbol("dartx.setInt16"); -var $setInt32 = dartx.setInt32 = Symbol("dartx.setInt32"); -var $setInt64 = dartx.setInt64 = Symbol("dartx.setInt64"); -var $setInt8 = dartx.setInt8 = Symbol("dartx.setInt8"); -var $setUint16 = dartx.setUint16 = Symbol("dartx.setUint16"); -var $setUint32 = dartx.setUint32 = Symbol("dartx.setUint32"); -var $setUint64 = dartx.setUint64 = Symbol("dartx.setUint64"); -var $setUint8 = dartx.setUint8 = Symbol("dartx.setUint8"); -var $left = dartx.left = Symbol("dartx.left"); -var $width = dartx.width = Symbol("dartx.width"); -var $top = dartx.top = Symbol("dartx.top"); -var $height = dartx.height = Symbol("dartx.height"); -var $right = dartx.right = Symbol("dartx.right"); -var $bottom = dartx.bottom = Symbol("dartx.bottom"); -var $intersection = dartx.intersection = Symbol("dartx.intersection"); -var $intersects = dartx.intersects = Symbol("dartx.intersects"); -var $boundingBox = dartx.boundingBox = Symbol("dartx.boundingBox"); -var $containsRectangle = dartx.containsRectangle = Symbol("dartx.containsRectangle"); -var $containsPoint = dartx.containsPoint = Symbol("dartx.containsPoint"); -var $topLeft = dartx.topLeft = Symbol("dartx.topLeft"); -var $topRight = dartx.topRight = Symbol("dartx.topRight"); -var $bottomRight = dartx.bottomRight = Symbol("dartx.bottomRight"); -var $bottomLeft = dartx.bottomLeft = Symbol("dartx.bottomLeft"); -var T$ = { - ObjectN: () => (T$.ObjectN = dart.constFn(dart.nullable(core.Object)))(), - ListOfObjectN: () => (T$.ListOfObjectN = dart.constFn(core.List$(T$.ObjectN())))(), - boolN: () => (T$.boolN = dart.constFn(dart.nullable(core.bool)))(), - JSArrayOfString: () => (T$.JSArrayOfString = dart.constFn(_interceptors.JSArray$(core.String)))(), - IdentityMapOfString$ObjectN: () => (T$.IdentityMapOfString$ObjectN = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ObjectN())))(), - ListOfString: () => (T$.ListOfString = dart.constFn(core.List$(core.String)))(), - ListNOfString: () => (T$.ListNOfString = dart.constFn(dart.nullable(T$.ListOfString())))(), - IdentityMapOfString$ListNOfString: () => (T$.IdentityMapOfString$ListNOfString = dart.constFn(_js_helper.IdentityMap$(core.String, T$.ListNOfString())))(), - JSArrayOfTypeVariable: () => (T$.JSArrayOfTypeVariable = dart.constFn(_interceptors.JSArray$(dart.TypeVariable)))(), - ExpandoOfFunction: () => (T$.ExpandoOfFunction = dart.constFn(core.Expando$(core.Function)))(), - IdentityMapOfString$Object: () => (T$.IdentityMapOfString$Object = dart.constFn(_js_helper.IdentityMap$(core.String, core.Object)))(), - ListOfObject: () => (T$.ListOfObject = dart.constFn(core.List$(core.Object)))(), - IdentityMapOfTypeVariable$int: () => (T$.IdentityMapOfTypeVariable$int = dart.constFn(_js_helper.IdentityMap$(dart.TypeVariable, core.int)))(), - 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)))(), - TypeL: () => (T$.TypeL = dart.constFn(dart.legacy(core.Type)))(), - JSArrayOfNameValuePair: () => (T$.JSArrayOfNameValuePair = dart.constFn(_interceptors.JSArray$(_debugger.NameValuePair)))(), - intAnddynamicTovoid: () => (T$.intAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [core.int, dart.dynamic])))(), - JSArrayOfFormatter: () => (T$.JSArrayOfFormatter = dart.constFn(_interceptors.JSArray$(_debugger.Formatter)))(), - _HashSetOfNameValuePair: () => (T$._HashSetOfNameValuePair = dart.constFn(collection._HashSet$(_debugger.NameValuePair)))(), - IdentityMapOfString$String: () => (T$.IdentityMapOfString$String = dart.constFn(_js_helper.IdentityMap$(core.String, core.String)))(), - dynamicAnddynamicToNull: () => (T$.dynamicAnddynamicToNull = dart.constFn(dart.fnType(core.Null, [dart.dynamic, dart.dynamic])))(), - dynamicAnddynamicTovoid: () => (T$.dynamicAnddynamicTovoid = dart.constFn(dart.fnType(dart.void, [dart.dynamic, dart.dynamic])))(), - dynamicToString: () => (T$.dynamicToString = dart.constFn(dart.fnType(core.String, [dart.dynamic])))(), - ListOfNameValuePair: () => (T$.ListOfNameValuePair = dart.constFn(core.List$(_debugger.NameValuePair)))(), - StringTobool: () => (T$.StringTobool = dart.constFn(dart.fnType(core.bool, [core.String])))(), - VoidToString: () => (T$.VoidToString = dart.constFn(dart.fnType(core.String, [])))(), - StringToNameValuePair: () => (T$.StringToNameValuePair = dart.constFn(dart.fnType(_debugger.NameValuePair, [core.String])))(), - NameValuePairAndNameValuePairToint: () => (T$.NameValuePairAndNameValuePairToint = dart.constFn(dart.fnType(core.int, [_debugger.NameValuePair, _debugger.NameValuePair])))(), - LinkedHashMapOfdynamic$ObjectN: () => (T$.LinkedHashMapOfdynamic$ObjectN = dart.constFn(collection.LinkedHashMap$(dart.dynamic, T$.ObjectN())))(), - dynamicTodynamic: () => (T$.dynamicTodynamic = dart.constFn(dart.fnType(dart.dynamic, [dart.dynamic])))(), - dynamicToObjectN: () => (T$.dynamicToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [dart.dynamic])))(), - IdentityMapOfString$_MethodStats: () => (T$.IdentityMapOfString$_MethodStats = dart.constFn(_js_helper.IdentityMap$(core.String, _debugger._MethodStats)))(), - StringToString: () => (T$.StringToString = dart.constFn(dart.fnType(core.String, [core.String])))(), - VoidTo_MethodStats: () => (T$.VoidTo_MethodStats = dart.constFn(dart.fnType(_debugger._MethodStats, [])))(), - 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)))(), - 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(), [])))(), - 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)))(), - VoidTobool: () => (T$.VoidTobool = dart.constFn(dart.fnType(core.bool, [])))(), - boolToNull: () => (T$.boolToNull = dart.constFn(dart.fnType(core.Null, [core.bool])))(), - voidToNull: () => (T$.voidToNull = dart.constFn(dart.fnType(core.Null, [dart.void])))(), - _FutureOfint: () => (T$._FutureOfint = dart.constFn(async._Future$(core.int)))(), - 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(), [])))(), - 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()])))(), - ObjectNToObjectN: () => (T$.ObjectNToObjectN = dart.constFn(dart.fnType(T$.ObjectN(), [T$.ObjectN()])))(), - EmptyIteratorOfNeverL: () => (T$.EmptyIteratorOfNeverL = dart.constFn(_internal.EmptyIterator$(dart.legacy(dart.Never))))(), - doubleL: () => (T$.doubleL = dart.constFn(dart.legacy(core.double)))(), - VoidToFutureOfNull: () => (T$.VoidToFutureOfNull = dart.constFn(dart.fnType(T$.FutureOfNull(), [])))(), - VoidToNull: () => (T$.VoidToNull = dart.constFn(dart.fnType(core.Null, [])))(), - VoidToint: () => (T$.VoidToint = dart.constFn(dart.fnType(core.int, [])))(), - JSArrayOfint: () => (T$.JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))(), - StringN: () => (T$.StringN = dart.constFn(dart.nullable(core.String)))(), - JSArrayOfStringN: () => (T$.JSArrayOfStringN = dart.constFn(_interceptors.JSArray$(T$.StringN())))(), - SubListIterableOfString: () => (T$.SubListIterableOfString = dart.constFn(_internal.SubListIterable$(core.String)))(), - EmptyIterableOfString: () => (T$.EmptyIterableOfString = dart.constFn(_internal.EmptyIterable$(core.String)))(), - ObjectNTovoid: () => (T$.ObjectNTovoid = dart.constFn(dart.fnType(dart.void, [T$.ObjectN()])))(), - MatchToString: () => (T$.MatchToString = dart.constFn(dart.fnType(core.String, [core.Match])))(), - IterableOfdouble: () => (T$.IterableOfdouble = dart.constFn(core.Iterable$(core.double)))(), - IterableOfint: () => (T$.IterableOfint = dart.constFn(core.Iterable$(core.int)))(), - intN: () => (T$.intN = dart.constFn(dart.nullable(core.int)))(), - ObjectNTovoid$1: () => (T$.ObjectNTovoid$1 = dart.constFn(dart.fnType(dart.void, [], [T$.ObjectN()])))(), - _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)))(), - 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(), [])))(), - FutureOfbool: () => (T$.FutureOfbool = dart.constFn(async.Future$(core.bool)))(), - boolTovoid: () => (T$.boolTovoid = dart.constFn(dart.fnType(dart.void, [core.bool])))(), - ObjectAndStackTraceTodynamic: () => (T$.ObjectAndStackTraceTodynamic = dart.constFn(dart.fnType(dart.dynamic, [core.Object, core.StackTrace])))(), - 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()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN())))(), - ZoneAndZoneDelegateAndZone__Tovoid: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid())))(), - ZoneAndZoneDelegateAndZone__ToTimer: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.VoidTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer())))(), - TimerTovoid: () => (T$.TimerTovoid = dart.constFn(dart.fnType(dart.void, [async.Timer])))(), - ZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$.ZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, T$.TimerTovoid()])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__ToTimer$1())))(), - ZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$.ZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])))(), - _ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1: () => (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneAndZoneDelegateAndZone__Tovoid$1())))(), - ZoneSpecificationN: () => (T$.ZoneSpecificationN = dart.constFn(dart.nullable(async.ZoneSpecification)))(), - MapOfObjectN$ObjectN: () => (T$.MapOfObjectN$ObjectN = dart.constFn(core.Map$(T$.ObjectN(), T$.ObjectN())))(), - MapNOfObjectN$ObjectN: () => (T$.MapNOfObjectN$ObjectN = dart.constFn(dart.nullable(T$.MapOfObjectN$ObjectN())))(), - ZoneAndZoneDelegateAndZone__ToZone: () => (T$.ZoneAndZoneDelegateAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - _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()])))(), - 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())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN())))(), - VoidToLvoid: () => (T$.VoidToLvoid = dart.constFn(dart.legacy(T$.VoidTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid())))(), - ZoneNAndZoneDelegateNAndZone__Tovoid: () => (T$.ZoneNAndZoneDelegateNAndZone__Tovoid = dart.constFn(dart.fnType(dart.void, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.VoidTovoid()])))(), - TimerL: () => (T$.TimerL = dart.constFn(dart.legacy(async.Timer)))(), - DurationL: () => (T$.DurationL = dart.constFn(dart.legacy(core.Duration)))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.VoidToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL())))(), - TimerLTovoid: () => (T$.TimerLTovoid = dart.constFn(dart.fnType(dart.void, [T$.TimerL()])))(), - TimerLToLvoid: () => (T$.TimerLToLvoid = dart.constFn(dart.legacy(T$.TimerLTovoid())))(), - ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1 = dart.constFn(dart.fnType(T$.TimerL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.DurationL(), T$.TimerLToLvoid()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToTimerL$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1())))(), - StringL: () => (T$.StringL = dart.constFn(dart.legacy(core.String)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.StringL()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$1())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1 = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLvoid$1())))(), - ZoneLAndZoneDelegateLAndZoneL__ToZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL = dart.constFn(dart.fnType(T$.ZoneL(), [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - ZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(dart.legacy(T$.ZoneLAndZoneDelegateLAndZoneL__ToZoneL())))(), - _ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL: () => (T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL = dart.constFn(async._ZoneFunction$(T$.ZoneLAndZoneDelegateLAndZoneL__ToLZoneL())))(), - ZoneNAndZoneDelegateNAndZone__ToZone: () => (T$.ZoneNAndZoneDelegateNAndZone__ToZone = dart.constFn(dart.fnType(async.Zone, [T$.ZoneN(), T$.ZoneDelegateN(), async.Zone, T$.ZoneSpecificationN(), T$.MapNOfObjectN$ObjectN()])))(), - StackTraceL: () => (T$.StackTraceL = dart.constFn(dart.legacy(core.StackTrace)))(), - ZoneLAndZoneDelegateLAndZoneL__Tovoid$2: () => (T$.ZoneLAndZoneDelegateLAndZoneL__Tovoid$2 = dart.constFn(dart.fnType(dart.void, [T$.ZoneL(), T$.ZoneDelegateL(), T$.ZoneL(), T$.ObjectL(), T$.StackTraceL()])))(), - 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])))(), - 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)))(), - 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])))(), - StringBufferToString: () => (T$0.StringBufferToString = dart.constFn(dart.fnType(core.String, [core.StringBuffer])))(), - IdentityMapOfString$Encoding: () => (T$0.IdentityMapOfString$Encoding = dart.constFn(_js_helper.IdentityMap$(core.String, convert.Encoding)))(), - SinkOfListOfint: () => (T$0.SinkOfListOfint = dart.constFn(core.Sink$(T$0.ListOfint())))(), - StreamOfString: () => (T$0.StreamOfString = dart.constFn(async.Stream$(core.String)))(), - StreamOfListOfint: () => (T$0.StreamOfListOfint = dart.constFn(async.Stream$(T$0.ListOfint())))(), - SinkOfString: () => (T$0.SinkOfString = dart.constFn(core.Sink$(core.String)))(), - intL: () => (T$0.intL = dart.constFn(dart.legacy(core.int)))(), - 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])))(), - 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)))(), - 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())))(), - _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())))(), - 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])))(), - 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)))(), - ObjectNToString: () => (T$0.ObjectNToString = dart.constFn(dart.fnType(core.String, [T$.ObjectN()])))(), - FileSystemEntityTypeTobool: () => (T$0.FileSystemEntityTypeTobool = dart.constFn(dart.fnType(core.bool, [io.FileSystemEntityType])))(), - 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])))(), - RandomAccessFileTovoid: () => (T$0.RandomAccessFileTovoid = dart.constFn(dart.fnType(dart.void, [io.RandomAccessFile])))(), - 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())))(), - 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)))(), - 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])))(), - 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])))(), - ObjectNToUint8List: () => (T$0.ObjectNToUint8List = dart.constFn(dart.fnType(typed_data.Uint8List, [T$.ObjectN()])))(), - FutureOfint: () => (T$0.FutureOfint = dart.constFn(async.Future$(core.int)))(), - CompleterOf_Pipe: () => (T$0.CompleterOf_Pipe = dart.constFn(async.Completer$(io._Pipe)))(), - FileSystemEntityTypeL: () => (T$0.FileSystemEntityTypeL = dart.constFn(dart.legacy(io.FileSystemEntityType)))(), - 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)))(), - 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])))(), - 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)))(), - ProcessStartModeL: () => (T$0.ProcessStartModeL = dart.constFn(dart.legacy(io.ProcessStartMode)))(), - RawSecureServerSocketToSecureServerSocket: () => (T$0.RawSecureServerSocketToSecureServerSocket = dart.constFn(dart.fnType(io.SecureServerSocket, [io.RawSecureServerSocket])))(), - RawSecureSocketToSecureSocket: () => (T$0.RawSecureSocketToSecureSocket = dart.constFn(dart.fnType(io.SecureSocket, [io.RawSecureSocket])))(), - ConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfSecureSocket = dart.constFn(io.ConnectionTask$(io.SecureSocket)))(), - ConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocket = dart.constFn(io.ConnectionTask$(io.RawSecureSocket)))(), - ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket: () => (T$0.ConnectionTaskOfRawSecureSocketToConnectionTaskOfSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfSecureSocket(), [T$0.ConnectionTaskOfRawSecureSocket()])))(), - 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)))(), - 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])))(), - RawSocketToFutureOfRawSecureSocket: () => (T$0.RawSocketToFutureOfRawSecureSocket = dart.constFn(dart.fnType(T$0.FutureOfRawSecureSocket(), [io.RawSocket])))(), - ConnectionTaskOfRawSocket: () => (T$0.ConnectionTaskOfRawSocket = dart.constFn(io.ConnectionTask$(io.RawSocket)))(), - ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket: () => (T$0.ConnectionTaskOfRawSocketToConnectionTaskOfRawSecureSocket = dart.constFn(dart.fnType(T$0.ConnectionTaskOfRawSecureSocket(), [T$0.ConnectionTaskOfRawSocket()])))(), - CompleterOf_RawSecureSocket: () => (T$0.CompleterOf_RawSecureSocket = dart.constFn(async.Completer$(io._RawSecureSocket)))(), - StreamControllerOfRawSocketEvent: () => (T$0.StreamControllerOfRawSocketEvent = dart.constFn(async.StreamController$(io.RawSocketEvent)))(), - CompleterOfRawSecureSocket: () => (T$0.CompleterOfRawSecureSocket = dart.constFn(async.Completer$(io.RawSecureSocket)))(), - 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)))(), - 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])))(), - ObjectToJsObject: () => (T$0.ObjectToJsObject = dart.constFn(dart.fnType(js.JsObject, [core.Object])))(), - PointOfnum: () => (T$0.PointOfnum = dart.constFn(math.Point$(core.num)))(), - RectangleOfnum: () => (T$0.RectangleOfnum = dart.constFn(math.Rectangle$(core.num)))(), - EventL: () => (T$0.EventL = dart.constFn(dart.legacy(html$.Event)))(), - EventStreamProviderOfEventL: () => (T$0.EventStreamProviderOfEventL = dart.constFn(html$.EventStreamProvider$(T$0.EventL())))(), - VersionChangeEventL: () => (T$0.VersionChangeEventL = dart.constFn(dart.legacy(indexed_db.VersionChangeEvent)))(), - EventStreamProviderOfVersionChangeEventL: () => (T$0.EventStreamProviderOfVersionChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.VersionChangeEventL())))(), - FutureOfDatabase: () => (T$0.FutureOfDatabase = dart.constFn(async.Future$(indexed_db.Database)))(), - CompleterOfIdbFactory: () => (T$0.CompleterOfIdbFactory = dart.constFn(async.Completer$(indexed_db.IdbFactory)))(), - EventTovoid: () => (T$0.EventTovoid = dart.constFn(dart.fnType(dart.void, [html$.Event])))(), - FutureOfIdbFactory: () => (T$0.FutureOfIdbFactory = dart.constFn(async.Future$(indexed_db.IdbFactory)))(), - ObserverChangesTovoid: () => (T$0.ObserverChangesTovoid = dart.constFn(dart.fnType(dart.void, [indexed_db.ObserverChanges])))(), - CompleterOfDatabase: () => (T$0.CompleterOfDatabase = dart.constFn(async.Completer$(indexed_db.Database)))(), - EventToNull: () => (T$0.EventToNull = dart.constFn(dart.fnType(core.Null, [html$.Event])))(), - ElementN: () => (T$0.ElementN = dart.constFn(dart.nullable(html$.Element)))(), - JSArrayOfEventTarget: () => (T$0.JSArrayOfEventTarget = dart.constFn(_interceptors.JSArray$(html$.EventTarget)))(), - NodeTobool: () => (T$0.NodeTobool = dart.constFn(dart.fnType(core.bool, [html$.Node])))(), - CompleterOfScrollState: () => (T$0.CompleterOfScrollState = dart.constFn(async.Completer$(html$.ScrollState)))(), - ScrollStateTovoid: () => (T$0.ScrollStateTovoid = dart.constFn(dart.fnType(dart.void, [html$.ScrollState])))(), - MapOfString$dynamicTobool: () => (T$0.MapOfString$dynamicTobool = dart.constFn(dart.fnType(core.bool, [T$0.MapOfString$dynamic()])))(), - MapN: () => (T$0.MapN = dart.constFn(dart.nullable(core.Map)))(), - ObjectNToNvoid: () => (T$0.ObjectNToNvoid = dart.constFn(dart.nullable(T$.ObjectNTovoid())))(), - MapNAndFnTodynamic: () => (T$0.MapNAndFnTodynamic = dart.constFn(dart.fnType(dart.dynamic, [T$0.MapN()], [T$0.ObjectNToNvoid()])))(), - WheelEventL: () => (T$0.WheelEventL = dart.constFn(dart.legacy(html$.WheelEvent)))(), - _CustomEventStreamProviderOfWheelEventL: () => (T$0._CustomEventStreamProviderOfWheelEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.WheelEventL())))(), - EventTargetToString: () => (T$0.EventTargetToString = dart.constFn(dart.fnType(core.String, [html$.EventTarget])))(), - TransitionEventL: () => (T$0.TransitionEventL = dart.constFn(dart.legacy(html$.TransitionEvent)))(), - _CustomEventStreamProviderOfTransitionEventL: () => (T$0._CustomEventStreamProviderOfTransitionEventL = dart.constFn(html$._CustomEventStreamProvider$(T$0.TransitionEventL())))(), - MouseEventL: () => (T$0.MouseEventL = dart.constFn(dart.legacy(html$.MouseEvent)))(), - EventStreamProviderOfMouseEventL: () => (T$0.EventStreamProviderOfMouseEventL = dart.constFn(html$.EventStreamProvider$(T$0.MouseEventL())))(), - ClipboardEventL: () => (T$0.ClipboardEventL = dart.constFn(dart.legacy(html$.ClipboardEvent)))(), - EventStreamProviderOfClipboardEventL: () => (T$0.EventStreamProviderOfClipboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.ClipboardEventL())))(), - KeyboardEventL: () => (T$0.KeyboardEventL = dart.constFn(dart.legacy(html$.KeyboardEvent)))(), - EventStreamProviderOfKeyboardEventL: () => (T$0.EventStreamProviderOfKeyboardEventL = dart.constFn(html$.EventStreamProvider$(T$0.KeyboardEventL())))(), - TouchEventL: () => (T$0.TouchEventL = dart.constFn(dart.legacy(html$.TouchEvent)))(), - EventStreamProviderOfTouchEventL: () => (T$0.EventStreamProviderOfTouchEventL = dart.constFn(html$.EventStreamProvider$(T$0.TouchEventL())))(), - EventStreamProviderOfWheelEventL: () => (T$0.EventStreamProviderOfWheelEventL = dart.constFn(html$.EventStreamProvider$(T$0.WheelEventL())))(), - ProgressEventL: () => (T$0.ProgressEventL = dart.constFn(dart.legacy(html$.ProgressEvent)))(), - EventStreamProviderOfProgressEventL: () => (T$0.EventStreamProviderOfProgressEventL = dart.constFn(html$.EventStreamProvider$(T$0.ProgressEventL())))(), - MessageEventL: () => (T$0.MessageEventL = dart.constFn(dart.legacy(html$.MessageEvent)))(), - EventStreamProviderOfMessageEventL: () => (T$0.EventStreamProviderOfMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MessageEventL())))(), - PopStateEventL: () => (T$0.PopStateEventL = dart.constFn(dart.legacy(html$.PopStateEvent)))(), - 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)))(), - 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)))(), - EntryTovoid: () => (T$0.EntryTovoid = dart.constFn(dart.fnType(dart.void, [html$.Entry])))(), - DomExceptionTovoid: () => (T$0.DomExceptionTovoid = dart.constFn(dart.fnType(dart.void, [html$.DomException])))(), - CompleterOfMetadata: () => (T$0.CompleterOfMetadata = dart.constFn(async.Completer$(html$.Metadata)))(), - MetadataTovoid: () => (T$0.MetadataTovoid = dart.constFn(dart.fnType(dart.void, [html$.Metadata])))(), - ListOfEntry: () => (T$0.ListOfEntry = dart.constFn(core.List$(html$.Entry)))(), - CompleterOfListOfEntry: () => (T$0.CompleterOfListOfEntry = dart.constFn(async.Completer$(T$0.ListOfEntry())))(), - ListTovoid: () => (T$0.ListTovoid = dart.constFn(dart.fnType(dart.void, [core.List])))(), - 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)))(), - 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)))(), - CompleterOfFileWriter: () => (T$0.CompleterOfFileWriter = dart.constFn(async.Completer$(html$.FileWriter)))(), - FileWriterTovoid: () => (T$0.FileWriterTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileWriter])))(), - CompleterOfFile: () => (T$0.CompleterOfFile = dart.constFn(async.Completer$(html$.File)))(), - FileN$1: () => (T$0.FileN$1 = dart.constFn(dart.nullable(html$.File)))(), - FileNTovoid: () => (T$0.FileNTovoid = dart.constFn(dart.fnType(dart.void, [T$0.FileN$1()])))(), - 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)))(), - 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())))(), - HttpRequestToString: () => (T$0.HttpRequestToString = dart.constFn(dart.fnType(core.String, [html$.HttpRequest])))(), - StringAndStringTovoid: () => (T$0.StringAndStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, core.String])))(), - CompleterOfHttpRequest: () => (T$0.CompleterOfHttpRequest = dart.constFn(async.Completer$(html$.HttpRequest)))(), - ProgressEventTovoid: () => (T$0.ProgressEventTovoid = dart.constFn(dart.fnType(dart.void, [html$.ProgressEvent])))(), - CompleterOfString: () => (T$0.CompleterOfString = dart.constFn(async.Completer$(core.String)))(), - FutureOrNOfString: () => (T$0.FutureOrNOfString = dart.constFn(dart.nullable(T$0.FutureOrOfString())))(), - ListAndIntersectionObserverTovoid: () => (T$0.ListAndIntersectionObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.IntersectionObserver])))(), - ListOfMediaStreamTrack: () => (T$0.ListOfMediaStreamTrack = dart.constFn(core.List$(html$.MediaStreamTrack)))(), - MessagePortL: () => (T$0.MessagePortL = dart.constFn(dart.legacy(html$.MessagePort)))(), - MidiMessageEventL: () => (T$0.MidiMessageEventL = dart.constFn(dart.legacy(html$.MidiMessageEvent)))(), - EventStreamProviderOfMidiMessageEventL: () => (T$0.EventStreamProviderOfMidiMessageEventL = dart.constFn(html$.EventStreamProvider$(T$0.MidiMessageEventL())))(), - MapTobool: () => (T$0.MapTobool = dart.constFn(dart.fnType(core.bool, [core.Map])))(), - JSArrayOfMap: () => (T$0.JSArrayOfMap = dart.constFn(_interceptors.JSArray$(core.Map)))(), - ListAndMutationObserverTovoid: () => (T$0.ListAndMutationObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.MutationObserver])))(), - ListAndMutationObserverToNvoid: () => (T$0.ListAndMutationObserverToNvoid = dart.constFn(dart.nullable(T$0.ListAndMutationObserverTovoid())))(), - boolL: () => (T$0.boolL = dart.constFn(dart.legacy(core.bool)))(), - CompleterOfMediaStream: () => (T$0.CompleterOfMediaStream = dart.constFn(async.Completer$(html$.MediaStream)))(), - MediaStreamTovoid: () => (T$0.MediaStreamTovoid = dart.constFn(dart.fnType(dart.void, [html$.MediaStream])))(), - NavigatorUserMediaErrorTovoid: () => (T$0.NavigatorUserMediaErrorTovoid = dart.constFn(dart.fnType(dart.void, [html$.NavigatorUserMediaError])))(), - IterableOfNode: () => (T$0.IterableOfNode = dart.constFn(core.Iterable$(html$.Node)))(), - NodeN$1: () => (T$0.NodeN$1 = dart.constFn(dart.nullable(html$.Node)))(), - PerformanceObserverEntryListAndPerformanceObserverTovoid: () => (T$0.PerformanceObserverEntryListAndPerformanceObserverTovoid = dart.constFn(dart.fnType(dart.void, [html$.PerformanceObserverEntryList, html$.PerformanceObserver])))(), - ListAndReportingObserverTovoid: () => (T$0.ListAndReportingObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ReportingObserver])))(), - ListAndResizeObserverTovoid: () => (T$0.ListAndResizeObserverTovoid = dart.constFn(dart.fnType(dart.void, [core.List, html$.ResizeObserver])))(), - RtcDtmfToneChangeEventL: () => (T$0.RtcDtmfToneChangeEventL = dart.constFn(dart.legacy(html$.RtcDtmfToneChangeEvent)))(), - EventStreamProviderOfRtcDtmfToneChangeEventL: () => (T$0.EventStreamProviderOfRtcDtmfToneChangeEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDtmfToneChangeEventL())))(), - JSArrayOfMapOfString$String: () => (T$0.JSArrayOfMapOfString$String = dart.constFn(_interceptors.JSArray$(T$0.MapOfString$String())))(), - CompleterOfRtcStatsResponse: () => (T$0.CompleterOfRtcStatsResponse = dart.constFn(async.Completer$(html$.RtcStatsResponse)))(), - RtcStatsResponseTovoid: () => (T$0.RtcStatsResponseTovoid = dart.constFn(dart.fnType(dart.void, [html$.RtcStatsResponse])))(), - MediaStreamEventL: () => (T$0.MediaStreamEventL = dart.constFn(dart.legacy(html$.MediaStreamEvent)))(), - EventStreamProviderOfMediaStreamEventL: () => (T$0.EventStreamProviderOfMediaStreamEventL = dart.constFn(html$.EventStreamProvider$(T$0.MediaStreamEventL())))(), - RtcDataChannelEventL: () => (T$0.RtcDataChannelEventL = dart.constFn(dart.legacy(html$.RtcDataChannelEvent)))(), - EventStreamProviderOfRtcDataChannelEventL: () => (T$0.EventStreamProviderOfRtcDataChannelEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcDataChannelEventL())))(), - RtcPeerConnectionIceEventL: () => (T$0.RtcPeerConnectionIceEventL = dart.constFn(dart.legacy(html$.RtcPeerConnectionIceEvent)))(), - EventStreamProviderOfRtcPeerConnectionIceEventL: () => (T$0.EventStreamProviderOfRtcPeerConnectionIceEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcPeerConnectionIceEventL())))(), - RtcTrackEventL: () => (T$0.RtcTrackEventL = dart.constFn(dart.legacy(html$.RtcTrackEvent)))(), - EventStreamProviderOfRtcTrackEventL: () => (T$0.EventStreamProviderOfRtcTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.RtcTrackEventL())))(), - UnmodifiableListViewOfOptionElement: () => (T$0.UnmodifiableListViewOfOptionElement = dart.constFn(collection.UnmodifiableListView$(html$.OptionElement)))(), - IterableOfOptionElement: () => (T$0.IterableOfOptionElement = dart.constFn(core.Iterable$(html$.OptionElement)))(), - OptionElementTobool: () => (T$0.OptionElementTobool = dart.constFn(dart.fnType(core.bool, [html$.OptionElement])))(), - JSArrayOfOptionElement: () => (T$0.JSArrayOfOptionElement = dart.constFn(_interceptors.JSArray$(html$.OptionElement)))(), - ForeignFetchEventL: () => (T$0.ForeignFetchEventL = dart.constFn(dart.legacy(html$.ForeignFetchEvent)))(), - EventStreamProviderOfForeignFetchEventL: () => (T$0.EventStreamProviderOfForeignFetchEventL = dart.constFn(html$.EventStreamProvider$(T$0.ForeignFetchEventL())))(), - SpeechRecognitionErrorL: () => (T$0.SpeechRecognitionErrorL = dart.constFn(dart.legacy(html$.SpeechRecognitionError)))(), - EventStreamProviderOfSpeechRecognitionErrorL: () => (T$0.EventStreamProviderOfSpeechRecognitionErrorL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionErrorL())))(), - SpeechRecognitionEventL: () => (T$0.SpeechRecognitionEventL = dart.constFn(dart.legacy(html$.SpeechRecognitionEvent)))(), - EventStreamProviderOfSpeechRecognitionEventL: () => (T$0.EventStreamProviderOfSpeechRecognitionEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechRecognitionEventL())))(), - SpeechSynthesisEventL: () => (T$0.SpeechSynthesisEventL = dart.constFn(dart.legacy(html$.SpeechSynthesisEvent)))(), - EventStreamProviderOfSpeechSynthesisEventL: () => (T$0.EventStreamProviderOfSpeechSynthesisEventL = dart.constFn(html$.EventStreamProvider$(T$0.SpeechSynthesisEventL())))(), - _WrappedListOfTableSectionElement: () => (T$0._WrappedListOfTableSectionElement = dart.constFn(html$._WrappedList$(html$.TableSectionElement)))(), - _WrappedListOfTableRowElement: () => (T$0._WrappedListOfTableRowElement = dart.constFn(html$._WrappedList$(html$.TableRowElement)))(), - _WrappedListOfTableCellElement: () => (T$0._WrappedListOfTableCellElement = dart.constFn(html$._WrappedList$(html$.TableCellElement)))(), - TrackEventL: () => (T$0.TrackEventL = dart.constFn(dart.legacy(html$.TrackEvent)))(), - EventStreamProviderOfTrackEventL: () => (T$0.EventStreamProviderOfTrackEventL = dart.constFn(html$.EventStreamProvider$(T$0.TrackEventL())))(), - CloseEventL: () => (T$0.CloseEventL = dart.constFn(dart.legacy(html$.CloseEvent)))(), - EventStreamProviderOfCloseEventL: () => (T$0.EventStreamProviderOfCloseEventL = dart.constFn(html$.EventStreamProvider$(T$0.CloseEventL())))(), - CompleterOfnum: () => (T$0.CompleterOfnum = dart.constFn(async.Completer$(core.num)))(), - numTovoid: () => (T$0.numTovoid = dart.constFn(dart.fnType(dart.void, [core.num])))(), - IdleDeadlineTovoid: () => (T$0.IdleDeadlineTovoid = dart.constFn(dart.fnType(dart.void, [html$.IdleDeadline])))(), - CompleterOfFileSystem: () => (T$0.CompleterOfFileSystem = dart.constFn(async.Completer$(html$.FileSystem)))(), - FileSystemTovoid: () => (T$0.FileSystemTovoid = dart.constFn(dart.fnType(dart.void, [html$.FileSystem])))(), - DeviceMotionEventL: () => (T$0.DeviceMotionEventL = dart.constFn(dart.legacy(html$.DeviceMotionEvent)))(), - EventStreamProviderOfDeviceMotionEventL: () => (T$0.EventStreamProviderOfDeviceMotionEventL = dart.constFn(html$.EventStreamProvider$(T$0.DeviceMotionEventL())))(), - DeviceOrientationEventL: () => (T$0.DeviceOrientationEventL = dart.constFn(dart.legacy(html$.DeviceOrientationEvent)))(), - 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())))(), - 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)))(), - ElementToCssClassSet: () => (T$0.ElementToCssClassSet = dart.constFn(dart.fnType(html$.CssClassSet, [html$.Element])))(), - _IdentityHashSetOfString: () => (T$0._IdentityHashSetOfString = dart.constFn(collection._IdentityHashSet$(core.String)))(), - CssClassSetImplTovoid: () => (T$0.CssClassSetImplTovoid = dart.constFn(dart.fnType(dart.void, [html_common.CssClassSetImpl])))(), - boolAndCssClassSetImplTobool: () => (T$0.boolAndCssClassSetImplTobool = dart.constFn(dart.fnType(core.bool, [core.bool, html_common.CssClassSetImpl])))(), - StringAndStringToString: () => (T$0.StringAndStringToString = dart.constFn(dart.fnType(core.String, [core.String, core.String])))(), - SetOfString: () => (T$0.SetOfString = dart.constFn(core.Set$(core.String)))(), - SetOfStringTobool: () => (T$0.SetOfStringTobool = dart.constFn(dart.fnType(core.bool, [T$0.SetOfString()])))(), - IterableOfString: () => (T$0.IterableOfString = dart.constFn(core.Iterable$(core.String)))(), - 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)))(), - JSArrayOfKeyEvent: () => (T$0.JSArrayOfKeyEvent = dart.constFn(_interceptors.JSArray$(html$.KeyEvent)))(), - KeyEventTobool: () => (T$0.KeyEventTobool = dart.constFn(dart.fnType(core.bool, [html$.KeyEvent])))(), - JSArrayOfNodeValidator: () => (T$0.JSArrayOfNodeValidator = dart.constFn(_interceptors.JSArray$(html$.NodeValidator)))(), - NodeValidatorTobool: () => (T$0.NodeValidatorTobool = dart.constFn(dart.fnType(core.bool, [html$.NodeValidator])))(), - NodeAndNodeToint: () => (T$0.NodeAndNodeToint = dart.constFn(dart.fnType(core.int, [html$.Node, html$.Node])))(), - NodeAndNodeNTovoid: () => (T$0.NodeAndNodeNTovoid = dart.constFn(dart.fnType(dart.void, [html$.Node, T$0.NodeN$1()])))(), - MapNOfString$dynamic: () => (T$0.MapNOfString$dynamic = dart.constFn(dart.nullable(T$0.MapOfString$dynamic())))(), - dynamicToMapNOfString$dynamic: () => (T$0.dynamicToMapNOfString$dynamic = dart.constFn(dart.fnType(T$0.MapNOfString$dynamic(), [dart.dynamic])))(), - 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])))(), - 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)))(), - 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()])))(), - 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])))(), - 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()])))(), - MapOfString$ListOfString: () => (T$0.MapOfString$ListOfString = dart.constFn(core.Map$(core.String, T$.ListOfString())))(), - StringAndStringNTovoid: () => (T$0.StringAndStringNTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.StringN()])))(), - 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])))(), - 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])))(), - Uint8ListAndStringAndintTovoid: () => (T$0.Uint8ListAndStringAndintTovoid = dart.constFn(dart.fnType(dart.void, [typed_data.Uint8List, core.String, core.int])))(), - HttpClientResponseCompressionStateL: () => (T$0.HttpClientResponseCompressionStateL = dart.constFn(dart.legacy(_http.HttpClientResponseCompressionState)))(), - StringToint: () => (T$0.StringToint = dart.constFn(dart.fnType(core.int, [core.String])))(), - VoidToNever: () => (T$0.VoidToNever = dart.constFn(dart.fnType(dart.Never, [])))(), - StringAndListOfStringTovoid: () => (T$0.StringAndListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [core.String, T$.ListOfString()])))(), - 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())))() -}; -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"), - $delete: dartx.delete = Symbol("dartx.delete"), - _update: dart.privateName(indexed_db, "_update"), - $next: dartx.next = Symbol("dartx.next"), - $direction: dartx.direction = Symbol("dartx.direction"), - $key: dartx.key = Symbol("dartx.key"), - $primaryKey: dartx.primaryKey = Symbol("dartx.primaryKey"), - $source: dartx.source = Symbol("dartx.source"), - $advance: dartx.advance = Symbol("dartx.advance"), - $continuePrimaryKey: dartx.continuePrimaryKey = Symbol("dartx.continuePrimaryKey"), - _update_1: dart.privateName(indexed_db, "_update_1"), - _get_value: dart.privateName(indexed_db, "_get_value"), - $value: dartx.value = Symbol("dartx.value"), - _createObjectStore: dart.privateName(indexed_db, "_createObjectStore"), - $createObjectStore: dartx.createObjectStore = Symbol("dartx.createObjectStore"), - _transaction: dart.privateName(indexed_db, "_transaction"), - $transaction: dartx.transaction = Symbol("dartx.transaction"), - $transactionStore: dartx.transactionStore = Symbol("dartx.transactionStore"), - $transactionList: dartx.transactionList = Symbol("dartx.transactionList"), - $transactionStores: dartx.transactionStores = Symbol("dartx.transactionStores"), - $objectStoreNames: dartx.objectStoreNames = Symbol("dartx.objectStoreNames"), - $version: dartx.version = Symbol("dartx.version"), - $close: dartx.close = Symbol("dartx.close"), - _createObjectStore_1: dart.privateName(indexed_db, "_createObjectStore_1"), - _createObjectStore_2: dart.privateName(indexed_db, "_createObjectStore_2"), - $deleteObjectStore: dartx.deleteObjectStore = Symbol("dartx.deleteObjectStore"), - $onAbort: dartx.onAbort = Symbol("dartx.onAbort"), - $onClose: dartx.onClose = Symbol("dartx.onClose"), - $onError: dartx.onError = Symbol("dartx.onError"), - $onVersionChange: dartx.onVersionChange = Symbol("dartx.onVersionChange"), - $on: dartx.on = Symbol("dartx.on"), - _addEventListener: dart.privateName(html$, "_addEventListener"), - $addEventListener: dartx.addEventListener = Symbol("dartx.addEventListener"), - _removeEventListener: dart.privateName(html$, "_removeEventListener"), - $removeEventListener: dartx.removeEventListener = Symbol("dartx.removeEventListener"), - $dispatchEvent: dartx.dispatchEvent = Symbol("dartx.dispatchEvent"), - EventStreamProvider__eventType: dart.privateName(html$, "EventStreamProvider._eventType"), - _open: dart.privateName(indexed_db, "_open"), - $onUpgradeNeeded: dartx.onUpgradeNeeded = Symbol("dartx.onUpgradeNeeded"), - $onBlocked: dartx.onBlocked = Symbol("dartx.onBlocked"), - $open: dartx.open = Symbol("dartx.open"), - _deleteDatabase: dart.privateName(indexed_db, "_deleteDatabase"), - $onSuccess: dartx.onSuccess = Symbol("dartx.onSuccess"), - $deleteDatabase: dartx.deleteDatabase = Symbol("dartx.deleteDatabase"), - $supportsDatabaseNames: dartx.supportsDatabaseNames = Symbol("dartx.supportsDatabaseNames"), - $cmp: dartx.cmp = Symbol("dartx.cmp"), - _count$2: dart.privateName(indexed_db, "_count"), - $count: dartx.count = Symbol("dartx.count"), - _get: dart.privateName(indexed_db, "_get"), - $get: dartx.get = Symbol("dartx.get"), - _getKey: dart.privateName(indexed_db, "_getKey"), - $getKey: dartx.getKey = Symbol("dartx.getKey"), - _openCursor: dart.privateName(indexed_db, "_openCursor"), - $openCursor: dartx.openCursor = Symbol("dartx.openCursor"), - _openKeyCursor: dart.privateName(indexed_db, "_openKeyCursor"), - $openKeyCursor: dartx.openKeyCursor = Symbol("dartx.openKeyCursor"), - $keyPath: dartx.keyPath = Symbol("dartx.keyPath"), - $multiEntry: dartx.multiEntry = Symbol("dartx.multiEntry"), - $objectStore: dartx.objectStore = Symbol("dartx.objectStore"), - $unique: dartx.unique = Symbol("dartx.unique"), - $getAll: dartx.getAll = Symbol("dartx.getAll"), - $getAllKeys: dartx.getAllKeys = Symbol("dartx.getAllKeys"), - $lower: dartx.lower = Symbol("dartx.lower"), - $lowerOpen: dartx.lowerOpen = Symbol("dartx.lowerOpen"), - $upper: dartx.upper = Symbol("dartx.upper"), - $upperOpen: dartx.upperOpen = Symbol("dartx.upperOpen"), - $includes: dartx.includes = Symbol("dartx.includes"), - _add$3: dart.privateName(indexed_db, "_add"), - _clear$2: dart.privateName(indexed_db, "_clear"), - _put: dart.privateName(indexed_db, "_put"), - $put: dartx.put = Symbol("dartx.put"), - $getObject: dartx.getObject = Symbol("dartx.getObject"), - _createIndex: dart.privateName(indexed_db, "_createIndex"), - $createIndex: dartx.createIndex = Symbol("dartx.createIndex"), - $autoIncrement: dartx.autoIncrement = Symbol("dartx.autoIncrement"), - $indexNames: dartx.indexNames = Symbol("dartx.indexNames"), - _add_1: dart.privateName(indexed_db, "_add_1"), - _add_2: dart.privateName(indexed_db, "_add_2"), - _createIndex_1: dart.privateName(indexed_db, "_createIndex_1"), - _createIndex_2: dart.privateName(indexed_db, "_createIndex_2"), - $deleteIndex: dartx.deleteIndex = Symbol("dartx.deleteIndex"), - $index: dartx.index = Symbol("dartx.index"), - _put_1: dart.privateName(indexed_db, "_put_1"), - _put_2: dart.privateName(indexed_db, "_put_2"), - $result: dartx.result = Symbol("dartx.result"), - $type: dartx.type = Symbol("dartx.type"), - _observe_1: dart.privateName(indexed_db, "_observe_1"), - $observe: dartx.observe = Symbol("dartx.observe"), - $unobserve: dartx.unobserve = Symbol("dartx.unobserve"), - $database: dartx.database = Symbol("dartx.database"), - $records: dartx.records = Symbol("dartx.records"), - $error: dartx.error = Symbol("dartx.error"), - $readyState: dartx.readyState = Symbol("dartx.readyState"), - _get_result: dart.privateName(indexed_db, "_get_result"), - $onComplete: dartx.onComplete = Symbol("dartx.onComplete"), - $completed: dartx.completed = Symbol("dartx.completed"), - $db: dartx.db = Symbol("dartx.db"), - $mode: dartx.mode = Symbol("dartx.mode"), - $abort: dartx.abort = Symbol("dartx.abort"), - $dataLoss: dartx.dataLoss = Symbol("dartx.dataLoss"), - $dataLossMessage: dartx.dataLossMessage = Symbol("dartx.dataLossMessage"), - $newVersion: dartx.newVersion = Symbol("dartx.newVersion"), - $oldVersion: dartx.oldVersion = Symbol("dartx.oldVersion"), - $target: dartx.target = Symbol("dartx.target"), - _createEvent: dart.privateName(html$, "_createEvent"), - _initEvent: dart.privateName(html$, "_initEvent"), - _selector: dart.privateName(html$, "_selector"), - $currentTarget: dartx.currentTarget = Symbol("dartx.currentTarget"), - $matches: dartx.matches = Symbol("dartx.matches"), - $parent: dartx.parent = Symbol("dartx.parent"), - $matchingTarget: dartx.matchingTarget = Symbol("dartx.matchingTarget"), - $path: dartx.path = Symbol("dartx.path"), - $bubbles: dartx.bubbles = Symbol("dartx.bubbles"), - $cancelable: dartx.cancelable = Symbol("dartx.cancelable"), - $composed: dartx.composed = Symbol("dartx.composed"), - _get_currentTarget: dart.privateName(html$, "_get_currentTarget"), - $defaultPrevented: dartx.defaultPrevented = Symbol("dartx.defaultPrevented"), - $eventPhase: dartx.eventPhase = Symbol("dartx.eventPhase"), - $isTrusted: dartx.isTrusted = Symbol("dartx.isTrusted"), - _get_target: dart.privateName(html$, "_get_target"), - $timeStamp: dartx.timeStamp = Symbol("dartx.timeStamp"), - $composedPath: dartx.composedPath = Symbol("dartx.composedPath"), - $preventDefault: dartx.preventDefault = Symbol("dartx.preventDefault"), - $stopImmediatePropagation: dartx.stopImmediatePropagation = Symbol("dartx.stopImmediatePropagation"), - $stopPropagation: dartx.stopPropagation = Symbol("dartx.stopPropagation"), - $nonce: dartx.nonce = Symbol("dartx.nonce"), - $createFragment: dartx.createFragment = Symbol("dartx.createFragment"), - $nodes: dartx.nodes = Symbol("dartx.nodes"), - $attributes: dartx.attributes = Symbol("dartx.attributes"), - _getAttribute: dart.privateName(html$, "_getAttribute"), - $getAttribute: dartx.getAttribute = Symbol("dartx.getAttribute"), - _getAttributeNS: dart.privateName(html$, "_getAttributeNS"), - $getAttributeNS: dartx.getAttributeNS = Symbol("dartx.getAttributeNS"), - _hasAttribute: dart.privateName(html$, "_hasAttribute"), - $hasAttribute: dartx.hasAttribute = Symbol("dartx.hasAttribute"), - _hasAttributeNS: dart.privateName(html$, "_hasAttributeNS"), - $hasAttributeNS: dartx.hasAttributeNS = Symbol("dartx.hasAttributeNS"), - _removeAttribute: dart.privateName(html$, "_removeAttribute"), - $removeAttribute: dartx.removeAttribute = Symbol("dartx.removeAttribute"), - _removeAttributeNS: dart.privateName(html$, "_removeAttributeNS"), - $removeAttributeNS: dartx.removeAttributeNS = Symbol("dartx.removeAttributeNS"), - _setAttribute: dart.privateName(html$, "_setAttribute"), - $setAttribute: dartx.setAttribute = Symbol("dartx.setAttribute"), - _setAttributeNS: dart.privateName(html$, "_setAttributeNS"), - $setAttributeNS: dartx.setAttributeNS = Symbol("dartx.setAttributeNS"), - $children: dartx.children = Symbol("dartx.children"), - _children: dart.privateName(html$, "_children"), - _querySelectorAll: dart.privateName(html$, "_querySelectorAll"), - $querySelectorAll: dartx.querySelectorAll = Symbol("dartx.querySelectorAll"), - _setApplyScroll: dart.privateName(html$, "_setApplyScroll"), - $setApplyScroll: dartx.setApplyScroll = Symbol("dartx.setApplyScroll"), - _setDistributeScroll: dart.privateName(html$, "_setDistributeScroll"), - $setDistributeScroll: dartx.setDistributeScroll = Symbol("dartx.setDistributeScroll"), - $classes: dartx.classes = Symbol("dartx.classes"), - $dataset: dartx.dataset = Symbol("dartx.dataset"), - $getNamespacedAttributes: dartx.getNamespacedAttributes = Symbol("dartx.getNamespacedAttributes"), - _getComputedStyle: dart.privateName(html$, "_getComputedStyle"), - $getComputedStyle: dartx.getComputedStyle = Symbol("dartx.getComputedStyle"), - $client: dartx.client = Symbol("dartx.client"), - $offsetLeft: dartx.offsetLeft = Symbol("dartx.offsetLeft"), - $offsetTop: dartx.offsetTop = Symbol("dartx.offsetTop"), - $offsetWidth: dartx.offsetWidth = Symbol("dartx.offsetWidth"), - $offsetHeight: dartx.offsetHeight = Symbol("dartx.offsetHeight"), - $offset: dartx.offset = Symbol("dartx.offset"), - $append: dartx.append = Symbol("dartx.append"), - $appendText: dartx.appendText = Symbol("dartx.appendText"), - $insertAdjacentHtml: dartx.insertAdjacentHtml = Symbol("dartx.insertAdjacentHtml"), - $appendHtml: dartx.appendHtml = Symbol("dartx.appendHtml"), - $enteredView: dartx.enteredView = Symbol("dartx.enteredView"), - $attached: dartx.attached = Symbol("dartx.attached"), - $leftView: dartx.leftView = Symbol("dartx.leftView"), - $detached: dartx.detached = Symbol("dartx.detached"), - _getClientRects: dart.privateName(html$, "_getClientRects"), - $getClientRects: dartx.getClientRects = Symbol("dartx.getClientRects"), - _animate: dart.privateName(html$, "_animate"), - $animate: dartx.animate = Symbol("dartx.animate"), - $attributeChanged: dartx.attributeChanged = Symbol("dartx.attributeChanged"), - _localName: dart.privateName(html$, "_localName"), - $localName: dartx.localName = Symbol("dartx.localName"), - _namespaceUri: dart.privateName(html$, "_namespaceUri"), - $namespaceUri: dartx.namespaceUri = Symbol("dartx.namespaceUri"), - _scrollIntoView: dart.privateName(html$, "_scrollIntoView"), - $scrollIntoView: dartx.scrollIntoView = Symbol("dartx.scrollIntoView"), - _insertAdjacentText: dart.privateName(html$, "_insertAdjacentText"), - _insertAdjacentNode: dart.privateName(html$, "_insertAdjacentNode"), - $insertAdjacentText: dartx.insertAdjacentText = Symbol("dartx.insertAdjacentText"), - _insertAdjacentHtml: dart.privateName(html$, "_insertAdjacentHtml"), - _insertAdjacentElement: dart.privateName(html$, "_insertAdjacentElement"), - $insertAdjacentElement: dartx.insertAdjacentElement = Symbol("dartx.insertAdjacentElement"), - $nextNode: dartx.nextNode = Symbol("dartx.nextNode"), - $matchesWithAncestors: dartx.matchesWithAncestors = Symbol("dartx.matchesWithAncestors"), - $createShadowRoot: dartx.createShadowRoot = Symbol("dartx.createShadowRoot"), - $shadowRoot: dartx.shadowRoot = Symbol("dartx.shadowRoot"), - $contentEdge: dartx.contentEdge = Symbol("dartx.contentEdge"), - $paddingEdge: dartx.paddingEdge = Symbol("dartx.paddingEdge"), - $borderEdge: dartx.borderEdge = Symbol("dartx.borderEdge"), - $marginEdge: dartx.marginEdge = Symbol("dartx.marginEdge"), - $offsetTo: dartx.offsetTo = Symbol("dartx.offsetTo"), - $documentOffset: dartx.documentOffset = Symbol("dartx.documentOffset"), - $createHtmlDocument: dartx.createHtmlDocument = Symbol("dartx.createHtmlDocument"), - $createElement: dartx.createElement = Symbol("dartx.createElement"), - $baseUri: dartx.baseUri = Symbol("dartx.baseUri"), - $head: dartx.head = Symbol("dartx.head"), - _canBeUsedToCreateContextualFragment: dart.privateName(html$, "_canBeUsedToCreateContextualFragment"), - _innerHtml: dart.privateName(html$, "_innerHtml"), - _cannotBeUsedToCreateContextualFragment: dart.privateName(html$, "_cannotBeUsedToCreateContextualFragment"), - $setInnerHtml: dartx.setInnerHtml = Symbol("dartx.setInnerHtml"), - $innerHtml: dartx.innerHtml = Symbol("dartx.innerHtml"), - $text: dartx.text = Symbol("dartx.text"), - $innerText: dartx.innerText = Symbol("dartx.innerText"), - $offsetParent: dartx.offsetParent = Symbol("dartx.offsetParent"), - $scrollHeight: dartx.scrollHeight = Symbol("dartx.scrollHeight"), - $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"), - $hidden: dartx.hidden = Symbol("dartx.hidden"), - $inert: dartx.inert = Symbol("dartx.inert"), - $inputMode: dartx.inputMode = Symbol("dartx.inputMode"), - $isContentEditable: dartx.isContentEditable = Symbol("dartx.isContentEditable"), - $lang: dartx.lang = Symbol("dartx.lang"), - $spellcheck: dartx.spellcheck = Symbol("dartx.spellcheck"), - $style: dartx.style = Symbol("dartx.style"), - $tabIndex: dartx.tabIndex = Symbol("dartx.tabIndex"), - $title: dartx.title = Symbol("dartx.title"), - $translate: dartx.translate = Symbol("dartx.translate"), - $blur: dartx.blur = Symbol("dartx.blur"), - $click: dartx.click = Symbol("dartx.click"), - $focus: dartx.focus = Symbol("dartx.focus"), - $accessibleNode: dartx.accessibleNode = Symbol("dartx.accessibleNode"), - $assignedSlot: dartx.assignedSlot = Symbol("dartx.assignedSlot"), - _attributes$1: dart.privateName(html$, "_attributes"), - $className: dartx.className = Symbol("dartx.className"), - $clientHeight: dartx.clientHeight = Symbol("dartx.clientHeight"), - $clientLeft: dartx.clientLeft = Symbol("dartx.clientLeft"), - $clientTop: dartx.clientTop = Symbol("dartx.clientTop"), - $clientWidth: dartx.clientWidth = Symbol("dartx.clientWidth"), - $computedName: dartx.computedName = Symbol("dartx.computedName"), - $computedRole: dartx.computedRole = Symbol("dartx.computedRole"), - $id: dartx.id = Symbol("dartx.id"), - $outerHtml: dartx.outerHtml = Symbol("dartx.outerHtml"), - _scrollHeight: dart.privateName(html$, "_scrollHeight"), - _scrollLeft: dart.privateName(html$, "_scrollLeft"), - _scrollTop: dart.privateName(html$, "_scrollTop"), - _scrollWidth: dart.privateName(html$, "_scrollWidth"), - $slot: dartx.slot = Symbol("dartx.slot"), - $styleMap: dartx.styleMap = Symbol("dartx.styleMap"), - $tagName: dartx.tagName = Symbol("dartx.tagName"), - _attachShadow_1: dart.privateName(html$, "_attachShadow_1"), - $attachShadow: dartx.attachShadow = Symbol("dartx.attachShadow"), - $closest: dartx.closest = Symbol("dartx.closest"), - $getAnimations: dartx.getAnimations = Symbol("dartx.getAnimations"), - $getAttributeNames: dartx.getAttributeNames = Symbol("dartx.getAttributeNames"), - $getBoundingClientRect: dartx.getBoundingClientRect = Symbol("dartx.getBoundingClientRect"), - $getDestinationInsertionPoints: dartx.getDestinationInsertionPoints = Symbol("dartx.getDestinationInsertionPoints"), - $getElementsByClassName: dartx.getElementsByClassName = Symbol("dartx.getElementsByClassName"), - _getElementsByTagName: dart.privateName(html$, "_getElementsByTagName"), - $hasPointerCapture: dartx.hasPointerCapture = Symbol("dartx.hasPointerCapture"), - $releasePointerCapture: dartx.releasePointerCapture = Symbol("dartx.releasePointerCapture"), - $requestPointerLock: dartx.requestPointerLock = Symbol("dartx.requestPointerLock"), - _scroll_1: dart.privateName(html$, "_scroll_1"), - _scroll_2: dart.privateName(html$, "_scroll_2"), - _scroll_3: dart.privateName(html$, "_scroll_3"), - $scroll: dartx.scroll = Symbol("dartx.scroll"), - _scrollBy_1: dart.privateName(html$, "_scrollBy_1"), - _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"), - $after: dartx.after = Symbol("dartx.after"), - $before: dartx.before = Symbol("dartx.before"), - $nextElementSibling: dartx.nextElementSibling = Symbol("dartx.nextElementSibling"), - $previousElementSibling: dartx.previousElementSibling = Symbol("dartx.previousElementSibling"), - _childElementCount: dart.privateName(html$, "_childElementCount"), - _firstElementChild: dart.privateName(html$, "_firstElementChild"), - _lastElementChild: dart.privateName(html$, "_lastElementChild"), - $querySelector: dartx.querySelector = Symbol("dartx.querySelector"), - $onBeforeCopy: dartx.onBeforeCopy = Symbol("dartx.onBeforeCopy"), - $onBeforeCut: dartx.onBeforeCut = Symbol("dartx.onBeforeCut"), - $onBeforePaste: dartx.onBeforePaste = Symbol("dartx.onBeforePaste"), - $onBlur: dartx.onBlur = Symbol("dartx.onBlur"), - $onCanPlay: dartx.onCanPlay = Symbol("dartx.onCanPlay"), - $onCanPlayThrough: dartx.onCanPlayThrough = Symbol("dartx.onCanPlayThrough"), - $onChange: dartx.onChange = Symbol("dartx.onChange"), - $onClick: dartx.onClick = Symbol("dartx.onClick"), - $onContextMenu: dartx.onContextMenu = Symbol("dartx.onContextMenu"), - $onCopy: dartx.onCopy = Symbol("dartx.onCopy"), - $onCut: dartx.onCut = Symbol("dartx.onCut"), - $onDoubleClick: dartx.onDoubleClick = Symbol("dartx.onDoubleClick"), - $onDrag: dartx.onDrag = Symbol("dartx.onDrag"), - $onDragEnd: dartx.onDragEnd = Symbol("dartx.onDragEnd"), - $onDragEnter: dartx.onDragEnter = Symbol("dartx.onDragEnter"), - $onDragLeave: dartx.onDragLeave = Symbol("dartx.onDragLeave"), - $onDragOver: dartx.onDragOver = Symbol("dartx.onDragOver"), - $onDragStart: dartx.onDragStart = Symbol("dartx.onDragStart"), - $onDrop: dartx.onDrop = Symbol("dartx.onDrop"), - $onDurationChange: dartx.onDurationChange = Symbol("dartx.onDurationChange"), - $onEmptied: dartx.onEmptied = Symbol("dartx.onEmptied"), - $onEnded: dartx.onEnded = Symbol("dartx.onEnded"), - $onFocus: dartx.onFocus = Symbol("dartx.onFocus"), - $onInput: dartx.onInput = Symbol("dartx.onInput"), - $onInvalid: dartx.onInvalid = Symbol("dartx.onInvalid"), - $onKeyDown: dartx.onKeyDown = Symbol("dartx.onKeyDown"), - $onKeyPress: dartx.onKeyPress = Symbol("dartx.onKeyPress"), - $onKeyUp: dartx.onKeyUp = Symbol("dartx.onKeyUp"), - $onLoad: dartx.onLoad = Symbol("dartx.onLoad"), - $onLoadedData: dartx.onLoadedData = Symbol("dartx.onLoadedData"), - $onLoadedMetadata: dartx.onLoadedMetadata = Symbol("dartx.onLoadedMetadata"), - $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"), - $onMouseOut: dartx.onMouseOut = Symbol("dartx.onMouseOut"), - $onMouseOver: dartx.onMouseOver = Symbol("dartx.onMouseOver"), - $onMouseUp: dartx.onMouseUp = Symbol("dartx.onMouseUp"), - $onMouseWheel: dartx.onMouseWheel = Symbol("dartx.onMouseWheel"), - $onPaste: dartx.onPaste = Symbol("dartx.onPaste"), - $onPause: dartx.onPause = Symbol("dartx.onPause"), - $onPlay: dartx.onPlay = Symbol("dartx.onPlay"), - $onPlaying: dartx.onPlaying = Symbol("dartx.onPlaying"), - $onRateChange: dartx.onRateChange = Symbol("dartx.onRateChange"), - $onReset: dartx.onReset = Symbol("dartx.onReset"), - $onResize: dartx.onResize = Symbol("dartx.onResize"), - $onScroll: dartx.onScroll = Symbol("dartx.onScroll"), - $onSearch: dartx.onSearch = Symbol("dartx.onSearch"), - $onSeeked: dartx.onSeeked = Symbol("dartx.onSeeked"), - $onSeeking: dartx.onSeeking = Symbol("dartx.onSeeking"), - $onSelect: dartx.onSelect = Symbol("dartx.onSelect"), - $onSelectStart: dartx.onSelectStart = Symbol("dartx.onSelectStart"), - $onStalled: dartx.onStalled = Symbol("dartx.onStalled"), - $onSubmit: dartx.onSubmit = Symbol("dartx.onSubmit"), - $onSuspend: dartx.onSuspend = Symbol("dartx.onSuspend"), - $onTimeUpdate: dartx.onTimeUpdate = Symbol("dartx.onTimeUpdate"), - $onTouchCancel: dartx.onTouchCancel = Symbol("dartx.onTouchCancel"), - $onTouchEnd: dartx.onTouchEnd = Symbol("dartx.onTouchEnd"), - $onTouchEnter: dartx.onTouchEnter = Symbol("dartx.onTouchEnter"), - $onTouchLeave: dartx.onTouchLeave = Symbol("dartx.onTouchLeave"), - $onTouchMove: dartx.onTouchMove = Symbol("dartx.onTouchMove"), - $onTouchStart: dartx.onTouchStart = Symbol("dartx.onTouchStart"), - $onTransitionEnd: dartx.onTransitionEnd = Symbol("dartx.onTransitionEnd"), - $onVolumeChange: dartx.onVolumeChange = Symbol("dartx.onVolumeChange"), - $onWaiting: dartx.onWaiting = Symbol("dartx.onWaiting"), - $onFullscreenChange: dartx.onFullscreenChange = Symbol("dartx.onFullscreenChange"), - $onFullscreenError: dartx.onFullscreenError = Symbol("dartx.onFullscreenError"), - $onWheel: dartx.onWheel = Symbol("dartx.onWheel"), - _removeChild: dart.privateName(html$, "_removeChild"), - _replaceChild: dart.privateName(html$, "_replaceChild"), - $replaceWith: dartx.replaceWith = Symbol("dartx.replaceWith"), - _this: dart.privateName(html$, "_this"), - $insertAllBefore: dartx.insertAllBefore = Symbol("dartx.insertAllBefore"), - _clearChildren: dart.privateName(html$, "_clearChildren"), - $childNodes: dartx.childNodes = Symbol("dartx.childNodes"), - $firstChild: dartx.firstChild = Symbol("dartx.firstChild"), - $isConnected: dartx.isConnected = Symbol("dartx.isConnected"), - $lastChild: dartx.lastChild = Symbol("dartx.lastChild"), - $nodeName: dartx.nodeName = Symbol("dartx.nodeName"), - $nodeType: dartx.nodeType = Symbol("dartx.nodeType"), - $nodeValue: dartx.nodeValue = Symbol("dartx.nodeValue"), - $ownerDocument: dartx.ownerDocument = Symbol("dartx.ownerDocument"), - $parentNode: dartx.parentNode = Symbol("dartx.parentNode"), - $previousNode: dartx.previousNode = Symbol("dartx.previousNode"), - $clone: dartx.clone = Symbol("dartx.clone"), - _getRootNode_1: dart.privateName(html$, "_getRootNode_1"), - _getRootNode_2: dart.privateName(html$, "_getRootNode_2"), - $getRootNode: dartx.getRootNode = Symbol("dartx.getRootNode"), - $hasChildNodes: dartx.hasChildNodes = Symbol("dartx.hasChildNodes"), - $insertBefore: dartx.insertBefore = Symbol("dartx.insertBefore"), - _CustomEventStreamProvider__eventTypeGetter: dart.privateName(html$, "_CustomEventStreamProvider._eventTypeGetter"), - $respondWith: dartx.respondWith = Symbol("dartx.respondWith"), - $waitUntil: dartx.waitUntil = Symbol("dartx.waitUntil"), - $quaternion: dartx.quaternion = Symbol("dartx.quaternion"), - $populateMatrix: dartx.populateMatrix = Symbol("dartx.populateMatrix"), - $activated: dartx.activated = Symbol("dartx.activated"), - $hasReading: dartx.hasReading = Symbol("dartx.hasReading"), - $timestamp: dartx.timestamp = Symbol("dartx.timestamp"), - $start: dartx.start = Symbol("dartx.start"), - $stop: dartx.stop = Symbol("dartx.stop"), - $x: dartx.x = Symbol("dartx.x"), - $y: dartx.y = Symbol("dartx.y"), - $z: dartx.z = Symbol("dartx.z"), - $activeDescendant: dartx.activeDescendant = Symbol("dartx.activeDescendant"), - $atomic: dartx.atomic = Symbol("dartx.atomic"), - $autocomplete: dartx.autocomplete = Symbol("dartx.autocomplete"), - $busy: dartx.busy = Symbol("dartx.busy"), - $checked: dartx.checked = Symbol("dartx.checked"), - $colCount: dartx.colCount = Symbol("dartx.colCount"), - $colIndex: dartx.colIndex = Symbol("dartx.colIndex"), - $colSpan: dartx.colSpan = Symbol("dartx.colSpan"), - $controls: dartx.controls = Symbol("dartx.controls"), - $current: dartx.current = Symbol("dartx.current"), - $describedBy: dartx.describedBy = Symbol("dartx.describedBy"), - $details: dartx.details = Symbol("dartx.details"), - $disabled: dartx.disabled = Symbol("dartx.disabled"), - $errorMessage: dartx.errorMessage = Symbol("dartx.errorMessage"), - $expanded: dartx.expanded = Symbol("dartx.expanded"), - $flowTo: dartx.flowTo = Symbol("dartx.flowTo"), - $hasPopUp: dartx.hasPopUp = Symbol("dartx.hasPopUp"), - $invalid: dartx.invalid = Symbol("dartx.invalid"), - $keyShortcuts: dartx.keyShortcuts = Symbol("dartx.keyShortcuts"), - $label: dartx.label = Symbol("dartx.label"), - $labeledBy: dartx.labeledBy = Symbol("dartx.labeledBy"), - $level: dartx.level = Symbol("dartx.level"), - $live: dartx.live = Symbol("dartx.live"), - $modal: dartx.modal = Symbol("dartx.modal"), - $multiline: dartx.multiline = Symbol("dartx.multiline"), - $multiselectable: dartx.multiselectable = Symbol("dartx.multiselectable"), - $orientation: dartx.orientation = Symbol("dartx.orientation"), - $owns: dartx.owns = Symbol("dartx.owns"), - $placeholder: dartx.placeholder = Symbol("dartx.placeholder"), - $posInSet: dartx.posInSet = Symbol("dartx.posInSet"), - $pressed: dartx.pressed = Symbol("dartx.pressed"), - $readOnly: dartx.readOnly = Symbol("dartx.readOnly"), - $relevant: dartx.relevant = Symbol("dartx.relevant"), - $required: dartx.required = Symbol("dartx.required"), - $role: dartx.role = Symbol("dartx.role"), - $roleDescription: dartx.roleDescription = Symbol("dartx.roleDescription"), - $rowCount: dartx.rowCount = Symbol("dartx.rowCount"), - $rowIndex: dartx.rowIndex = Symbol("dartx.rowIndex"), - $rowSpan: dartx.rowSpan = Symbol("dartx.rowSpan"), - $selected: dartx.selected = Symbol("dartx.selected"), - $setSize: dartx.setSize = Symbol("dartx.setSize"), - $valueMax: dartx.valueMax = Symbol("dartx.valueMax"), - $valueMin: dartx.valueMin = Symbol("dartx.valueMin"), - $valueNow: dartx.valueNow = Symbol("dartx.valueNow"), - $valueText: dartx.valueText = Symbol("dartx.valueText"), - $appendChild: dartx.appendChild = Symbol("dartx.appendChild"), - $onAccessibleClick: dartx.onAccessibleClick = Symbol("dartx.onAccessibleClick"), - $onAccessibleContextMenu: dartx.onAccessibleContextMenu = Symbol("dartx.onAccessibleContextMenu"), - $onAccessibleDecrement: dartx.onAccessibleDecrement = Symbol("dartx.onAccessibleDecrement"), - $onAccessibleFocus: dartx.onAccessibleFocus = Symbol("dartx.onAccessibleFocus"), - $onAccessibleIncrement: dartx.onAccessibleIncrement = Symbol("dartx.onAccessibleIncrement"), - $onAccessibleScrollIntoView: dartx.onAccessibleScrollIntoView = Symbol("dartx.onAccessibleScrollIntoView"), - __setter__: dart.privateName(html$, "__setter__"), - $item: dartx.item = Symbol("dartx.item"), - $illuminance: dartx.illuminance = Symbol("dartx.illuminance"), - $download: dartx.download = Symbol("dartx.download"), - $hreflang: dartx.hreflang = Symbol("dartx.hreflang"), - $referrerPolicy: dartx.referrerPolicy = Symbol("dartx.referrerPolicy"), - $rel: dartx.rel = Symbol("dartx.rel"), - $hash: dartx.hash = Symbol("dartx.hash"), - $host: dartx.host = Symbol("dartx.host"), - $hostname: dartx.hostname = Symbol("dartx.hostname"), - $href: dartx.href = Symbol("dartx.href"), - $origin: dartx.origin = Symbol("dartx.origin"), - $password: dartx.password = Symbol("dartx.password"), - $pathname: dartx.pathname = Symbol("dartx.pathname"), - $port: dartx.port = Symbol("dartx.port"), - $protocol: dartx.protocol = Symbol("dartx.protocol"), - $search: dartx.search = Symbol("dartx.search"), - $username: dartx.username = Symbol("dartx.username"), - $currentTime: dartx.currentTime = Symbol("dartx.currentTime"), - $effect: dartx.effect = Symbol("dartx.effect"), - $finished: dartx.finished = Symbol("dartx.finished"), - $playState: dartx.playState = Symbol("dartx.playState"), - $playbackRate: dartx.playbackRate = Symbol("dartx.playbackRate"), - $ready: dartx.ready = Symbol("dartx.ready"), - $startTime: dartx.startTime = Symbol("dartx.startTime"), - $timeline: dartx.timeline = Symbol("dartx.timeline"), - $cancel: dartx.cancel = Symbol("dartx.cancel"), - $finish: dartx.finish = Symbol("dartx.finish"), - $pause: dartx.pause = Symbol("dartx.pause"), - $play: dartx.play = Symbol("dartx.play"), - $reverse: dartx.reverse = Symbol("dartx.reverse"), - $onCancel: dartx.onCancel = Symbol("dartx.onCancel"), - $onFinish: dartx.onFinish = Symbol("dartx.onFinish"), - $timing: dartx.timing = Symbol("dartx.timing"), - _getComputedTiming_1: dart.privateName(html$, "_getComputedTiming_1"), - $getComputedTiming: dartx.getComputedTiming = Symbol("dartx.getComputedTiming"), - $delay: dartx.delay = Symbol("dartx.delay"), - $duration: dartx.duration = Symbol("dartx.duration"), - $easing: dartx.easing = Symbol("dartx.easing"), - $endDelay: dartx.endDelay = Symbol("dartx.endDelay"), - $fill: dartx.fill = Symbol("dartx.fill"), - $iterationStart: dartx.iterationStart = Symbol("dartx.iterationStart"), - $iterations: dartx.iterations = Symbol("dartx.iterations"), - $animationName: dartx.animationName = Symbol("dartx.animationName"), - $elapsedTime: dartx.elapsedTime = Symbol("dartx.elapsedTime"), - $timelineTime: dartx.timelineTime = Symbol("dartx.timelineTime"), - $registerAnimator: dartx.registerAnimator = Symbol("dartx.registerAnimator"), - $status: dartx.status = Symbol("dartx.status"), - $swapCache: dartx.swapCache = Symbol("dartx.swapCache"), - $onCached: dartx.onCached = Symbol("dartx.onCached"), - $onChecking: dartx.onChecking = Symbol("dartx.onChecking"), - $onDownloading: dartx.onDownloading = Symbol("dartx.onDownloading"), - $onNoUpdate: dartx.onNoUpdate = Symbol("dartx.onNoUpdate"), - $onObsolete: dartx.onObsolete = Symbol("dartx.onObsolete"), - $onProgress: dartx.onProgress = Symbol("dartx.onProgress"), - $onUpdateReady: dartx.onUpdateReady = Symbol("dartx.onUpdateReady"), - $reason: dartx.reason = Symbol("dartx.reason"), - $url: dartx.url = Symbol("dartx.url"), - $alt: dartx.alt = Symbol("dartx.alt"), - $coords: dartx.coords = Symbol("dartx.coords"), - $shape: dartx.shape = Symbol("dartx.shape"), - $audioTracks: dartx.audioTracks = Symbol("dartx.audioTracks"), - $autoplay: dartx.autoplay = Symbol("dartx.autoplay"), - $buffered: dartx.buffered = Symbol("dartx.buffered"), - $controlsList: dartx.controlsList = Symbol("dartx.controlsList"), - $crossOrigin: dartx.crossOrigin = Symbol("dartx.crossOrigin"), - $currentSrc: dartx.currentSrc = Symbol("dartx.currentSrc"), - $defaultMuted: dartx.defaultMuted = Symbol("dartx.defaultMuted"), - $defaultPlaybackRate: dartx.defaultPlaybackRate = Symbol("dartx.defaultPlaybackRate"), - $disableRemotePlayback: dartx.disableRemotePlayback = Symbol("dartx.disableRemotePlayback"), - $ended: dartx.ended = Symbol("dartx.ended"), - $loop: dartx.loop = Symbol("dartx.loop"), - $mediaKeys: dartx.mediaKeys = Symbol("dartx.mediaKeys"), - $muted: dartx.muted = Symbol("dartx.muted"), - $networkState: dartx.networkState = Symbol("dartx.networkState"), - $paused: dartx.paused = Symbol("dartx.paused"), - $played: dartx.played = Symbol("dartx.played"), - $preload: dartx.preload = Symbol("dartx.preload"), - $remote: dartx.remote = Symbol("dartx.remote"), - $seekable: dartx.seekable = Symbol("dartx.seekable"), - $seeking: dartx.seeking = Symbol("dartx.seeking"), - $sinkId: dartx.sinkId = Symbol("dartx.sinkId"), - $src: dartx.src = Symbol("dartx.src"), - $srcObject: dartx.srcObject = Symbol("dartx.srcObject"), - $textTracks: dartx.textTracks = Symbol("dartx.textTracks"), - $videoTracks: dartx.videoTracks = Symbol("dartx.videoTracks"), - $volume: dartx.volume = Symbol("dartx.volume"), - $audioDecodedByteCount: dartx.audioDecodedByteCount = Symbol("dartx.audioDecodedByteCount"), - $videoDecodedByteCount: dartx.videoDecodedByteCount = Symbol("dartx.videoDecodedByteCount"), - $addTextTrack: dartx.addTextTrack = Symbol("dartx.addTextTrack"), - $canPlayType: dartx.canPlayType = Symbol("dartx.canPlayType"), - $captureStream: dartx.captureStream = Symbol("dartx.captureStream"), - $load: dartx.load = Symbol("dartx.load"), - $setMediaKeys: dartx.setMediaKeys = Symbol("dartx.setMediaKeys"), - $setSinkId: dartx.setSinkId = Symbol("dartx.setSinkId"), - $authenticatorData: dartx.authenticatorData = Symbol("dartx.authenticatorData"), - $signature: dartx.signature = Symbol("dartx.signature"), - $clientDataJson: dartx.clientDataJson = Symbol("dartx.clientDataJson"), - $attestationObject: dartx.attestationObject = Symbol("dartx.attestationObject"), - $state: dartx.state = Symbol("dartx.state"), - $fetches: dartx.fetches = Symbol("dartx.fetches"), - $request: dartx.request = Symbol("dartx.request"), - $fetch: dartx.fetch = Symbol("dartx.fetch"), - $getIds: dartx.getIds = Symbol("dartx.getIds"), - $downloadTotal: dartx.downloadTotal = Symbol("dartx.downloadTotal"), - $downloaded: dartx.downloaded = Symbol("dartx.downloaded"), - $totalDownloadSize: dartx.totalDownloadSize = Symbol("dartx.totalDownloadSize"), - $uploadTotal: dartx.uploadTotal = Symbol("dartx.uploadTotal"), - $uploaded: dartx.uploaded = Symbol("dartx.uploaded"), - $response: dartx.response = Symbol("dartx.response"), - $updateUI: dartx.updateUI = Symbol("dartx.updateUI"), - $visible: dartx.visible = Symbol("dartx.visible"), - $detect: dartx.detect = Symbol("dartx.detect"), - $charging: dartx.charging = Symbol("dartx.charging"), - $chargingTime: dartx.chargingTime = Symbol("dartx.chargingTime"), - $dischargingTime: dartx.dischargingTime = Symbol("dartx.dischargingTime"), - $platforms: dartx.platforms = Symbol("dartx.platforms"), - $userChoice: dartx.userChoice = Symbol("dartx.userChoice"), - $prompt: dartx.prompt = Symbol("dartx.prompt"), - $returnValue: dartx.returnValue = Symbol("dartx.returnValue"), - $size: dartx.size = Symbol("dartx.size"), - $slice: dartx.slice = Symbol("dartx.slice"), - $data: dartx.data = Symbol("dartx.data"), - $timecode: dartx.timecode = Symbol("dartx.timecode"), - $characteristic: dartx.characteristic = Symbol("dartx.characteristic"), - $uuid: dartx.uuid = Symbol("dartx.uuid"), - $readValue: dartx.readValue = Symbol("dartx.readValue"), - $writeValue: dartx.writeValue = Symbol("dartx.writeValue"), - $bodyUsed: dartx.bodyUsed = Symbol("dartx.bodyUsed"), - $arrayBuffer: dartx.arrayBuffer = Symbol("dartx.arrayBuffer"), - $blob: dartx.blob = Symbol("dartx.blob"), - $formData: dartx.formData = Symbol("dartx.formData"), - $json: dartx.json = Symbol("dartx.json"), - $onHashChange: dartx.onHashChange = Symbol("dartx.onHashChange"), - $onMessage: dartx.onMessage = Symbol("dartx.onMessage"), - $onOffline: dartx.onOffline = Symbol("dartx.onOffline"), - $onOnline: dartx.onOnline = Symbol("dartx.onOnline"), - $onPopState: dartx.onPopState = Symbol("dartx.onPopState"), - $onStorage: dartx.onStorage = Symbol("dartx.onStorage"), - $onUnload: dartx.onUnload = Symbol("dartx.onUnload"), - $postMessage: dartx.postMessage = Symbol("dartx.postMessage"), - $budgetAt: dartx.budgetAt = Symbol("dartx.budgetAt"), - $time: dartx.time = Symbol("dartx.time"), - $autofocus: dartx.autofocus = Symbol("dartx.autofocus"), - $form: dartx.form = Symbol("dartx.form"), - $formAction: dartx.formAction = Symbol("dartx.formAction"), - $formEnctype: dartx.formEnctype = Symbol("dartx.formEnctype"), - $formMethod: dartx.formMethod = Symbol("dartx.formMethod"), - $formNoValidate: dartx.formNoValidate = Symbol("dartx.formNoValidate"), - $formTarget: dartx.formTarget = Symbol("dartx.formTarget"), - $labels: dartx.labels = Symbol("dartx.labels"), - $validationMessage: dartx.validationMessage = Symbol("dartx.validationMessage"), - $validity: dartx.validity = Symbol("dartx.validity"), - $willValidate: dartx.willValidate = Symbol("dartx.willValidate"), - $checkValidity: dartx.checkValidity = Symbol("dartx.checkValidity"), - $reportValidity: dartx.reportValidity = Symbol("dartx.reportValidity"), - $setCustomValidity: dartx.setCustomValidity = Symbol("dartx.setCustomValidity"), - $wholeText: dartx.wholeText = Symbol("dartx.wholeText"), - $splitText: dartx.splitText = Symbol("dartx.splitText"), - $appendData: dartx.appendData = Symbol("dartx.appendData"), - $deleteData: dartx.deleteData = Symbol("dartx.deleteData"), - $insertData: dartx.insertData = Symbol("dartx.insertData"), - $replaceData: dartx.replaceData = Symbol("dartx.replaceData"), - $substringData: dartx.substringData = Symbol("dartx.substringData"), - $has: dartx.has = Symbol("dartx.has"), - $match: dartx.match = Symbol("dartx.match"), - $methodData: dartx.methodData = Symbol("dartx.methodData"), - $modifiers: dartx.modifiers = Symbol("dartx.modifiers"), - $paymentRequestOrigin: dartx.paymentRequestOrigin = Symbol("dartx.paymentRequestOrigin"), - $topLevelOrigin: dartx.topLevelOrigin = Symbol("dartx.topLevelOrigin"), - $canvas: dartx.canvas = Symbol("dartx.canvas"), - $requestFrame: dartx.requestFrame = Symbol("dartx.requestFrame"), - $contentHint: dartx.contentHint = Symbol("dartx.contentHint"), - $enabled: dartx.enabled = Symbol("dartx.enabled"), - $kind: dartx.kind = Symbol("dartx.kind"), - $applyConstraints: dartx.applyConstraints = Symbol("dartx.applyConstraints"), - _getCapabilities_1: dart.privateName(html$, "_getCapabilities_1"), - $getCapabilities: dartx.getCapabilities = Symbol("dartx.getCapabilities"), - _getConstraints_1: dart.privateName(html$, "_getConstraints_1"), - $getConstraints: dartx.getConstraints = Symbol("dartx.getConstraints"), - _getSettings_1: dart.privateName(html$, "_getSettings_1"), - $getSettings: dartx.getSettings = Symbol("dartx.getSettings"), - $onMute: dartx.onMute = Symbol("dartx.onMute"), - $onUnmute: dartx.onUnmute = Symbol("dartx.onUnmute"), - _getContext_1: dart.privateName(html$, "_getContext_1"), - _getContext_2: dart.privateName(html$, "_getContext_2"), - $getContext: dartx.getContext = Symbol("dartx.getContext"), - _toDataUrl: dart.privateName(html$, "_toDataUrl"), - $transferControlToOffscreen: dartx.transferControlToOffscreen = Symbol("dartx.transferControlToOffscreen"), - $onWebGlContextLost: dartx.onWebGlContextLost = Symbol("dartx.onWebGlContextLost"), - $onWebGlContextRestored: dartx.onWebGlContextRestored = Symbol("dartx.onWebGlContextRestored"), - $context2D: dartx.context2D = Symbol("dartx.context2D"), - $getContext3d: dartx.getContext3d = Symbol("dartx.getContext3d"), - $toDataUrl: dartx.toDataUrl = Symbol("dartx.toDataUrl"), - _toBlob: dart.privateName(html$, "_toBlob"), - $toBlob: dartx.toBlob = Symbol("dartx.toBlob"), - $addColorStop: dartx.addColorStop = Symbol("dartx.addColorStop"), - $setTransform: dartx.setTransform = Symbol("dartx.setTransform"), - $currentTransform: dartx.currentTransform = Symbol("dartx.currentTransform"), - $fillStyle: dartx.fillStyle = Symbol("dartx.fillStyle"), - $filter: dartx.filter = Symbol("dartx.filter"), - $font: dartx.font = Symbol("dartx.font"), - $globalAlpha: dartx.globalAlpha = Symbol("dartx.globalAlpha"), - $globalCompositeOperation: dartx.globalCompositeOperation = Symbol("dartx.globalCompositeOperation"), - $imageSmoothingEnabled: dartx.imageSmoothingEnabled = Symbol("dartx.imageSmoothingEnabled"), - $imageSmoothingQuality: dartx.imageSmoothingQuality = Symbol("dartx.imageSmoothingQuality"), - $lineCap: dartx.lineCap = Symbol("dartx.lineCap"), - $lineJoin: dartx.lineJoin = Symbol("dartx.lineJoin"), - $lineWidth: dartx.lineWidth = Symbol("dartx.lineWidth"), - $miterLimit: dartx.miterLimit = Symbol("dartx.miterLimit"), - $shadowBlur: dartx.shadowBlur = Symbol("dartx.shadowBlur"), - $shadowColor: dartx.shadowColor = Symbol("dartx.shadowColor"), - $shadowOffsetX: dartx.shadowOffsetX = Symbol("dartx.shadowOffsetX"), - $shadowOffsetY: dartx.shadowOffsetY = Symbol("dartx.shadowOffsetY"), - $strokeStyle: dartx.strokeStyle = Symbol("dartx.strokeStyle"), - $textAlign: dartx.textAlign = Symbol("dartx.textAlign"), - $textBaseline: dartx.textBaseline = Symbol("dartx.textBaseline"), - _addHitRegion_1: dart.privateName(html$, "_addHitRegion_1"), - _addHitRegion_2: dart.privateName(html$, "_addHitRegion_2"), - $addHitRegion: dartx.addHitRegion = Symbol("dartx.addHitRegion"), - $beginPath: dartx.beginPath = Symbol("dartx.beginPath"), - $clearHitRegions: dartx.clearHitRegions = Symbol("dartx.clearHitRegions"), - $clearRect: dartx.clearRect = Symbol("dartx.clearRect"), - $clip: dartx.clip = Symbol("dartx.clip"), - _createImageData_1: dart.privateName(html$, "_createImageData_1"), - _createImageData_2: dart.privateName(html$, "_createImageData_2"), - _createImageData_3: dart.privateName(html$, "_createImageData_3"), - _createImageData_4: dart.privateName(html$, "_createImageData_4"), - _createImageData_5: dart.privateName(html$, "_createImageData_5"), - $createImageData: dartx.createImageData = Symbol("dartx.createImageData"), - $createLinearGradient: dartx.createLinearGradient = Symbol("dartx.createLinearGradient"), - $createPattern: dartx.createPattern = Symbol("dartx.createPattern"), - $createRadialGradient: dartx.createRadialGradient = Symbol("dartx.createRadialGradient"), - $drawFocusIfNeeded: dartx.drawFocusIfNeeded = Symbol("dartx.drawFocusIfNeeded"), - $fillRect: dartx.fillRect = Symbol("dartx.fillRect"), - _getContextAttributes_1: dart.privateName(html$, "_getContextAttributes_1"), - $getContextAttributes: dartx.getContextAttributes = Symbol("dartx.getContextAttributes"), - _getImageData_1: dart.privateName(html$, "_getImageData_1"), - $getImageData: dartx.getImageData = Symbol("dartx.getImageData"), - _getLineDash: dart.privateName(html$, "_getLineDash"), - $isContextLost: dartx.isContextLost = Symbol("dartx.isContextLost"), - $isPointInPath: dartx.isPointInPath = Symbol("dartx.isPointInPath"), - $isPointInStroke: dartx.isPointInStroke = Symbol("dartx.isPointInStroke"), - $measureText: dartx.measureText = Symbol("dartx.measureText"), - _putImageData_1: dart.privateName(html$, "_putImageData_1"), - _putImageData_2: dart.privateName(html$, "_putImageData_2"), - $putImageData: dartx.putImageData = Symbol("dartx.putImageData"), - $removeHitRegion: dartx.removeHitRegion = Symbol("dartx.removeHitRegion"), - $resetTransform: dartx.resetTransform = Symbol("dartx.resetTransform"), - $restore: dartx.restore = Symbol("dartx.restore"), - $rotate: dartx.rotate = Symbol("dartx.rotate"), - $save: dartx.save = Symbol("dartx.save"), - $scale: dartx.scale = Symbol("dartx.scale"), - $scrollPathIntoView: dartx.scrollPathIntoView = Symbol("dartx.scrollPathIntoView"), - $stroke: dartx.stroke = Symbol("dartx.stroke"), - $strokeRect: dartx.strokeRect = Symbol("dartx.strokeRect"), - $strokeText: dartx.strokeText = Symbol("dartx.strokeText"), - $transform: dartx.transform = Symbol("dartx.transform"), - _arc: dart.privateName(html$, "_arc"), - $arcTo: dartx.arcTo = Symbol("dartx.arcTo"), - $bezierCurveTo: dartx.bezierCurveTo = Symbol("dartx.bezierCurveTo"), - $closePath: dartx.closePath = Symbol("dartx.closePath"), - $ellipse: dartx.ellipse = Symbol("dartx.ellipse"), - $lineTo: dartx.lineTo = Symbol("dartx.lineTo"), - $moveTo: dartx.moveTo = Symbol("dartx.moveTo"), - $quadraticCurveTo: dartx.quadraticCurveTo = Symbol("dartx.quadraticCurveTo"), - $rect: dartx.rect = Symbol("dartx.rect"), - $createImageDataFromImageData: dartx.createImageDataFromImageData = Symbol("dartx.createImageDataFromImageData"), - $setFillColorRgb: dartx.setFillColorRgb = Symbol("dartx.setFillColorRgb"), - $setFillColorHsl: dartx.setFillColorHsl = Symbol("dartx.setFillColorHsl"), - $setStrokeColorRgb: dartx.setStrokeColorRgb = Symbol("dartx.setStrokeColorRgb"), - $setStrokeColorHsl: dartx.setStrokeColorHsl = Symbol("dartx.setStrokeColorHsl"), - $arc: dartx.arc = Symbol("dartx.arc"), - $createPatternFromImage: dartx.createPatternFromImage = Symbol("dartx.createPatternFromImage"), - $drawImageScaled: dartx.drawImageScaled = Symbol("dartx.drawImageScaled"), - $drawImageScaledFromSource: dartx.drawImageScaledFromSource = Symbol("dartx.drawImageScaledFromSource"), - $drawImageToRect: dartx.drawImageToRect = Symbol("dartx.drawImageToRect"), - $drawImage: dartx.drawImage = Symbol("dartx.drawImage"), - $lineDashOffset: dartx.lineDashOffset = Symbol("dartx.lineDashOffset"), - $getLineDash: dartx.getLineDash = Symbol("dartx.getLineDash"), - $setLineDash: dartx.setLineDash = Symbol("dartx.setLineDash"), - $fillText: dartx.fillText = Symbol("dartx.fillText"), - $backingStorePixelRatio: dartx.backingStorePixelRatio = Symbol("dartx.backingStorePixelRatio"), - $frameType: dartx.frameType = Symbol("dartx.frameType"), - $claim: dartx.claim = Symbol("dartx.claim"), - $matchAll: dartx.matchAll = Symbol("dartx.matchAll"), - $openWindow: dartx.openWindow = Symbol("dartx.openWindow"), - $clipboardData: dartx.clipboardData = Symbol("dartx.clipboardData"), - $code: dartx.code = Symbol("dartx.code"), - $wasClean: dartx.wasClean = Symbol("dartx.wasClean"), - _initCompositionEvent: dart.privateName(html$, "_initCompositionEvent"), - _initUIEvent: dart.privateName(html$, "_initUIEvent"), - $detail: dartx.detail = Symbol("dartx.detail"), - $sourceCapabilities: dartx.sourceCapabilities = Symbol("dartx.sourceCapabilities"), - _get_view: dart.privateName(html$, "_get_view"), - $view: dartx.view = Symbol("dartx.view"), - _which: dart.privateName(html$, "_which"), - $select: dartx.select = Symbol("dartx.select"), - $getDistributedNodes: dartx.getDistributedNodes = Symbol("dartx.getDistributedNodes"), - $set: dartx.set = Symbol("dartx.set"), - $accuracy: dartx.accuracy = Symbol("dartx.accuracy"), - $altitude: dartx.altitude = Symbol("dartx.altitude"), - $altitudeAccuracy: dartx.altitudeAccuracy = Symbol("dartx.altitudeAccuracy"), - $heading: dartx.heading = Symbol("dartx.heading"), - $latitude: dartx.latitude = Symbol("dartx.latitude"), - $longitude: dartx.longitude = Symbol("dartx.longitude"), - $speed: dartx.speed = Symbol("dartx.speed"), - $iconUrl: dartx.iconUrl = Symbol("dartx.iconUrl"), - $create: dartx.create = Symbol("dartx.create"), - $preventSilentAccess: dartx.preventSilentAccess = Symbol("dartx.preventSilentAccess"), - $requireUserMediation: dartx.requireUserMediation = Symbol("dartx.requireUserMediation"), - $store: dartx.store = Symbol("dartx.store"), - _getRandomValues: dart.privateName(html$, "_getRandomValues"), - $getRandomValues: dartx.getRandomValues = Symbol("dartx.getRandomValues"), - $subtle: dartx.subtle = Symbol("dartx.subtle"), - $algorithm: dartx.algorithm = Symbol("dartx.algorithm"), - $extractable: dartx.extractable = Symbol("dartx.extractable"), - $usages: dartx.usages = Symbol("dartx.usages"), - $encoding: dartx.encoding = Symbol("dartx.encoding"), - $cssText: dartx.cssText = Symbol("dartx.cssText"), - $parentRule: dartx.parentRule = Symbol("dartx.parentRule"), - $parentStyleSheet: dartx.parentStyleSheet = Symbol("dartx.parentStyleSheet"), - $conditionText: dartx.conditionText = Symbol("dartx.conditionText"), - $cssRules: dartx.cssRules = Symbol("dartx.cssRules"), - $deleteRule: dartx.deleteRule = Symbol("dartx.deleteRule"), - $insertRule: dartx.insertRule = Symbol("dartx.insertRule"), - $intrinsicHeight: dartx.intrinsicHeight = Symbol("dartx.intrinsicHeight"), - $intrinsicRatio: dartx.intrinsicRatio = Symbol("dartx.intrinsicRatio"), - $intrinsicWidth: dartx.intrinsicWidth = Symbol("dartx.intrinsicWidth"), - $media: dartx.media = Symbol("dartx.media"), - $styleSheet: dartx.styleSheet = Symbol("dartx.styleSheet"), - $keyText: dartx.keyText = Symbol("dartx.keyText"), - __getter__: dart.privateName(html$, "__getter__"), - $appendRule: dartx.appendRule = Symbol("dartx.appendRule"), - $findRule: dartx.findRule = Symbol("dartx.findRule"), - $matrix: dartx.matrix = Symbol("dartx.matrix"), - $is2D: dartx.is2D = Symbol("dartx.is2D"), - $prefix: dartx.prefix = Symbol("dartx.prefix"), - $div: dartx.div = Symbol("dartx.div"), - $mul: dartx.mul = Symbol("dartx.mul"), - $sub: dartx.sub = Symbol("dartx.sub"), - $to: dartx.to = Symbol("dartx.to"), - $selectorText: dartx.selectorText = Symbol("dartx.selectorText"), - $angle: dartx.angle = Symbol("dartx.angle"), - $ax: dartx.ax = Symbol("dartx.ax"), - $ay: dartx.ay = Symbol("dartx.ay"), - _getPropertyValueHelper: dart.privateName(html$, "_getPropertyValueHelper"), - $getPropertyValue: dartx.getPropertyValue = Symbol("dartx.getPropertyValue"), - _browserPropertyName: dart.privateName(html$, "_browserPropertyName"), - _getPropertyValue: dart.privateName(html$, "_getPropertyValue"), - _supportsProperty: dart.privateName(html$, "_supportsProperty"), - $supportsProperty: dartx.supportsProperty = Symbol("dartx.supportsProperty"), - _setPropertyHelper: dart.privateName(html$, "_setPropertyHelper"), - $setProperty: dartx.setProperty = Symbol("dartx.setProperty"), - _supportedBrowserPropertyName: dart.privateName(html$, "_supportedBrowserPropertyName"), - $cssFloat: dartx.cssFloat = Symbol("dartx.cssFloat"), - $getPropertyPriority: dartx.getPropertyPriority = Symbol("dartx.getPropertyPriority"), - $removeProperty: dartx.removeProperty = Symbol("dartx.removeProperty"), - _background: dart.privateName(html$, "_background"), - $background: dartx.background = Symbol("dartx.background"), - _backgroundAttachment: dart.privateName(html$, "_backgroundAttachment"), - $backgroundAttachment: dartx.backgroundAttachment = Symbol("dartx.backgroundAttachment"), - _backgroundColor: dart.privateName(html$, "_backgroundColor"), - $backgroundColor: dartx.backgroundColor = Symbol("dartx.backgroundColor"), - _backgroundImage: dart.privateName(html$, "_backgroundImage"), - $backgroundImage: dartx.backgroundImage = Symbol("dartx.backgroundImage"), - _backgroundPosition: dart.privateName(html$, "_backgroundPosition"), - $backgroundPosition: dartx.backgroundPosition = Symbol("dartx.backgroundPosition"), - _backgroundRepeat: dart.privateName(html$, "_backgroundRepeat"), - $backgroundRepeat: dartx.backgroundRepeat = Symbol("dartx.backgroundRepeat"), - _border: dart.privateName(html$, "_border"), - $border: dartx.border = Symbol("dartx.border"), - _borderBottom: dart.privateName(html$, "_borderBottom"), - $borderBottom: dartx.borderBottom = Symbol("dartx.borderBottom"), - _borderBottomColor: dart.privateName(html$, "_borderBottomColor"), - $borderBottomColor: dartx.borderBottomColor = Symbol("dartx.borderBottomColor"), - _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"), - _borderCollapse: dart.privateName(html$, "_borderCollapse"), - $borderCollapse: dartx.borderCollapse = Symbol("dartx.borderCollapse"), - _borderColor: dart.privateName(html$, "_borderColor"), - $borderColor: dartx.borderColor = Symbol("dartx.borderColor"), - _borderLeft: dart.privateName(html$, "_borderLeft"), - $borderLeft: dartx.borderLeft = Symbol("dartx.borderLeft"), - _borderLeftColor: dart.privateName(html$, "_borderLeftColor"), - $borderLeftColor: dartx.borderLeftColor = Symbol("dartx.borderLeftColor"), - _borderLeftStyle: dart.privateName(html$, "_borderLeftStyle"), - $borderLeftStyle: dartx.borderLeftStyle = Symbol("dartx.borderLeftStyle"), - _borderLeftWidth: dart.privateName(html$, "_borderLeftWidth"), - $borderLeftWidth: dartx.borderLeftWidth = Symbol("dartx.borderLeftWidth"), - _borderRight: dart.privateName(html$, "_borderRight"), - $borderRight: dartx.borderRight = Symbol("dartx.borderRight"), - _borderRightColor: dart.privateName(html$, "_borderRightColor"), - $borderRightColor: dartx.borderRightColor = Symbol("dartx.borderRightColor"), - _borderRightStyle: dart.privateName(html$, "_borderRightStyle"), - $borderRightStyle: dartx.borderRightStyle = Symbol("dartx.borderRightStyle"), - _borderRightWidth: dart.privateName(html$, "_borderRightWidth"), - $borderRightWidth: dartx.borderRightWidth = Symbol("dartx.borderRightWidth"), - _borderSpacing: dart.privateName(html$, "_borderSpacing"), - $borderSpacing: dartx.borderSpacing = Symbol("dartx.borderSpacing"), - _borderStyle: dart.privateName(html$, "_borderStyle"), - $borderStyle: dartx.borderStyle = Symbol("dartx.borderStyle"), - _borderTop: dart.privateName(html$, "_borderTop"), - $borderTop: dartx.borderTop = Symbol("dartx.borderTop"), - _borderTopColor: dart.privateName(html$, "_borderTopColor"), - $borderTopColor: dartx.borderTopColor = Symbol("dartx.borderTopColor"), - _borderTopStyle: dart.privateName(html$, "_borderTopStyle"), - $borderTopStyle: dartx.borderTopStyle = Symbol("dartx.borderTopStyle"), - _borderTopWidth: dart.privateName(html$, "_borderTopWidth"), - $borderTopWidth: dartx.borderTopWidth = Symbol("dartx.borderTopWidth"), - _borderWidth: dart.privateName(html$, "_borderWidth"), - $borderWidth: dartx.borderWidth = Symbol("dartx.borderWidth"), - _bottom: dart.privateName(html$, "_bottom"), - _captionSide: dart.privateName(html$, "_captionSide"), - $captionSide: dartx.captionSide = Symbol("dartx.captionSide"), - _clear$3: dart.privateName(html$, "_clear"), - _clip: dart.privateName(html$, "_clip"), - _color: dart.privateName(html$, "_color"), - $color: dartx.color = Symbol("dartx.color"), - _content: dart.privateName(html$, "_content"), - $content: dartx.content = Symbol("dartx.content"), - _cursor: dart.privateName(html$, "_cursor"), - $cursor: dartx.cursor = Symbol("dartx.cursor"), - _direction: dart.privateName(html$, "_direction"), - _display: dart.privateName(html$, "_display"), - $display: dartx.display = Symbol("dartx.display"), - _emptyCells: dart.privateName(html$, "_emptyCells"), - $emptyCells: dartx.emptyCells = Symbol("dartx.emptyCells"), - _font: dart.privateName(html$, "_font"), - _fontFamily: dart.privateName(html$, "_fontFamily"), - $fontFamily: dartx.fontFamily = Symbol("dartx.fontFamily"), - _fontSize: dart.privateName(html$, "_fontSize"), - $fontSize: dartx.fontSize = Symbol("dartx.fontSize"), - _fontStyle: dart.privateName(html$, "_fontStyle"), - $fontStyle: dartx.fontStyle = Symbol("dartx.fontStyle"), - _fontVariant: dart.privateName(html$, "_fontVariant"), - $fontVariant: dartx.fontVariant = Symbol("dartx.fontVariant"), - _fontWeight: dart.privateName(html$, "_fontWeight"), - $fontWeight: dartx.fontWeight = Symbol("dartx.fontWeight"), - _height$1: dart.privateName(html$, "_height"), - _left$2: dart.privateName(html$, "_left"), - _letterSpacing: dart.privateName(html$, "_letterSpacing"), - $letterSpacing: dartx.letterSpacing = Symbol("dartx.letterSpacing"), - _lineHeight: dart.privateName(html$, "_lineHeight"), - $lineHeight: dartx.lineHeight = Symbol("dartx.lineHeight"), - _listStyle: dart.privateName(html$, "_listStyle"), - $listStyle: dartx.listStyle = Symbol("dartx.listStyle"), - _listStyleImage: dart.privateName(html$, "_listStyleImage"), - $listStyleImage: dartx.listStyleImage = Symbol("dartx.listStyleImage"), - _listStylePosition: dart.privateName(html$, "_listStylePosition"), - $listStylePosition: dartx.listStylePosition = Symbol("dartx.listStylePosition"), - _listStyleType: dart.privateName(html$, "_listStyleType"), - $listStyleType: dartx.listStyleType = Symbol("dartx.listStyleType"), - _margin: dart.privateName(html$, "_margin"), - $margin: dartx.margin = Symbol("dartx.margin"), - _marginBottom: dart.privateName(html$, "_marginBottom"), - $marginBottom: dartx.marginBottom = Symbol("dartx.marginBottom"), - _marginLeft: dart.privateName(html$, "_marginLeft"), - $marginLeft: dartx.marginLeft = Symbol("dartx.marginLeft"), - _marginRight: dart.privateName(html$, "_marginRight"), - $marginRight: dartx.marginRight = Symbol("dartx.marginRight"), - _marginTop: dart.privateName(html$, "_marginTop"), - $marginTop: dartx.marginTop = Symbol("dartx.marginTop"), - _maxHeight: dart.privateName(html$, "_maxHeight"), - $maxHeight: dartx.maxHeight = Symbol("dartx.maxHeight"), - _maxWidth: dart.privateName(html$, "_maxWidth"), - $maxWidth: dartx.maxWidth = Symbol("dartx.maxWidth"), - _minHeight: dart.privateName(html$, "_minHeight"), - $minHeight: dartx.minHeight = Symbol("dartx.minHeight"), - _minWidth: dart.privateName(html$, "_minWidth"), - $minWidth: dartx.minWidth = Symbol("dartx.minWidth"), - _outline: dart.privateName(html$, "_outline"), - $outline: dartx.outline = Symbol("dartx.outline"), - _outlineColor: dart.privateName(html$, "_outlineColor"), - $outlineColor: dartx.outlineColor = Symbol("dartx.outlineColor"), - _outlineStyle: dart.privateName(html$, "_outlineStyle"), - $outlineStyle: dartx.outlineStyle = Symbol("dartx.outlineStyle"), - _outlineWidth: dart.privateName(html$, "_outlineWidth"), - $outlineWidth: dartx.outlineWidth = Symbol("dartx.outlineWidth"), - _overflow: dart.privateName(html$, "_overflow"), - $overflow: dartx.overflow = Symbol("dartx.overflow"), - _padding: dart.privateName(html$, "_padding"), - $padding: dartx.padding = Symbol("dartx.padding"), - _paddingBottom: dart.privateName(html$, "_paddingBottom"), - $paddingBottom: dartx.paddingBottom = Symbol("dartx.paddingBottom"), - _paddingLeft: dart.privateName(html$, "_paddingLeft"), - $paddingLeft: dartx.paddingLeft = Symbol("dartx.paddingLeft"), - _paddingRight: dart.privateName(html$, "_paddingRight"), - $paddingRight: dartx.paddingRight = Symbol("dartx.paddingRight"), - _paddingTop: dart.privateName(html$, "_paddingTop"), - $paddingTop: dartx.paddingTop = Symbol("dartx.paddingTop"), - _pageBreakAfter: dart.privateName(html$, "_pageBreakAfter"), - $pageBreakAfter: dartx.pageBreakAfter = Symbol("dartx.pageBreakAfter"), - _pageBreakBefore: dart.privateName(html$, "_pageBreakBefore"), - $pageBreakBefore: dartx.pageBreakBefore = Symbol("dartx.pageBreakBefore"), - _pageBreakInside: dart.privateName(html$, "_pageBreakInside"), - $pageBreakInside: dartx.pageBreakInside = Symbol("dartx.pageBreakInside"), - _position$2: dart.privateName(html$, "_position"), - $position: dartx.position = Symbol("dartx.position"), - _quotes: dart.privateName(html$, "_quotes"), - $quotes: dartx.quotes = Symbol("dartx.quotes"), - _right$2: dart.privateName(html$, "_right"), - _tableLayout: dart.privateName(html$, "_tableLayout"), - $tableLayout: dartx.tableLayout = Symbol("dartx.tableLayout"), - _textAlign: dart.privateName(html$, "_textAlign"), - _textDecoration: dart.privateName(html$, "_textDecoration"), - $textDecoration: dartx.textDecoration = Symbol("dartx.textDecoration"), - _textIndent: dart.privateName(html$, "_textIndent"), - $textIndent: dartx.textIndent = Symbol("dartx.textIndent"), - _textTransform: dart.privateName(html$, "_textTransform"), - $textTransform: dartx.textTransform = Symbol("dartx.textTransform"), - _top: dart.privateName(html$, "_top"), - _unicodeBidi: dart.privateName(html$, "_unicodeBidi"), - $unicodeBidi: dartx.unicodeBidi = Symbol("dartx.unicodeBidi"), - _verticalAlign: dart.privateName(html$, "_verticalAlign"), - $verticalAlign: dartx.verticalAlign = Symbol("dartx.verticalAlign"), - _visibility: dart.privateName(html$, "_visibility"), - $visibility: dartx.visibility = Symbol("dartx.visibility"), - _whiteSpace: dart.privateName(html$, "_whiteSpace"), - $whiteSpace: dartx.whiteSpace = Symbol("dartx.whiteSpace"), - _width$1: dart.privateName(html$, "_width"), - _wordSpacing: dart.privateName(html$, "_wordSpacing"), - $wordSpacing: dartx.wordSpacing = Symbol("dartx.wordSpacing"), - _zIndex: dart.privateName(html$, "_zIndex"), - $zIndex: dartx.zIndex = Symbol("dartx.zIndex"), - $alignContent: dartx.alignContent = Symbol("dartx.alignContent"), - $alignItems: dartx.alignItems = Symbol("dartx.alignItems"), - $alignSelf: dartx.alignSelf = Symbol("dartx.alignSelf"), - $animation: dartx.animation = Symbol("dartx.animation"), - $animationDelay: dartx.animationDelay = Symbol("dartx.animationDelay"), - $animationDirection: dartx.animationDirection = Symbol("dartx.animationDirection"), - $animationDuration: dartx.animationDuration = Symbol("dartx.animationDuration"), - $animationFillMode: dartx.animationFillMode = Symbol("dartx.animationFillMode"), - $animationIterationCount: dartx.animationIterationCount = Symbol("dartx.animationIterationCount"), - $animationPlayState: dartx.animationPlayState = Symbol("dartx.animationPlayState"), - $animationTimingFunction: dartx.animationTimingFunction = Symbol("dartx.animationTimingFunction"), - $appRegion: dartx.appRegion = Symbol("dartx.appRegion"), - $appearance: dartx.appearance = Symbol("dartx.appearance"), - $aspectRatio: dartx.aspectRatio = Symbol("dartx.aspectRatio"), - $backfaceVisibility: dartx.backfaceVisibility = Symbol("dartx.backfaceVisibility"), - $backgroundBlendMode: dartx.backgroundBlendMode = Symbol("dartx.backgroundBlendMode"), - $backgroundClip: dartx.backgroundClip = Symbol("dartx.backgroundClip"), - $backgroundComposite: dartx.backgroundComposite = Symbol("dartx.backgroundComposite"), - $backgroundOrigin: dartx.backgroundOrigin = Symbol("dartx.backgroundOrigin"), - $backgroundPositionX: dartx.backgroundPositionX = Symbol("dartx.backgroundPositionX"), - $backgroundPositionY: dartx.backgroundPositionY = Symbol("dartx.backgroundPositionY"), - $backgroundRepeatX: dartx.backgroundRepeatX = Symbol("dartx.backgroundRepeatX"), - $backgroundRepeatY: dartx.backgroundRepeatY = Symbol("dartx.backgroundRepeatY"), - $backgroundSize: dartx.backgroundSize = Symbol("dartx.backgroundSize"), - $borderAfter: dartx.borderAfter = Symbol("dartx.borderAfter"), - $borderAfterColor: dartx.borderAfterColor = Symbol("dartx.borderAfterColor"), - $borderAfterStyle: dartx.borderAfterStyle = Symbol("dartx.borderAfterStyle"), - $borderAfterWidth: dartx.borderAfterWidth = Symbol("dartx.borderAfterWidth"), - $borderBefore: dartx.borderBefore = Symbol("dartx.borderBefore"), - $borderBeforeColor: dartx.borderBeforeColor = Symbol("dartx.borderBeforeColor"), - $borderBeforeStyle: dartx.borderBeforeStyle = Symbol("dartx.borderBeforeStyle"), - $borderBeforeWidth: dartx.borderBeforeWidth = Symbol("dartx.borderBeforeWidth"), - $borderBottomLeftRadius: dartx.borderBottomLeftRadius = Symbol("dartx.borderBottomLeftRadius"), - $borderBottomRightRadius: dartx.borderBottomRightRadius = Symbol("dartx.borderBottomRightRadius"), - $borderEnd: dartx.borderEnd = Symbol("dartx.borderEnd"), - $borderEndColor: dartx.borderEndColor = Symbol("dartx.borderEndColor"), - $borderEndStyle: dartx.borderEndStyle = Symbol("dartx.borderEndStyle"), - $borderEndWidth: dartx.borderEndWidth = Symbol("dartx.borderEndWidth"), - $borderFit: dartx.borderFit = Symbol("dartx.borderFit"), - $borderHorizontalSpacing: dartx.borderHorizontalSpacing = Symbol("dartx.borderHorizontalSpacing"), - $borderImage: dartx.borderImage = Symbol("dartx.borderImage"), - $borderImageOutset: dartx.borderImageOutset = Symbol("dartx.borderImageOutset"), - $borderImageRepeat: dartx.borderImageRepeat = Symbol("dartx.borderImageRepeat"), - $borderImageSlice: dartx.borderImageSlice = Symbol("dartx.borderImageSlice"), - $borderImageSource: dartx.borderImageSource = Symbol("dartx.borderImageSource"), - $borderImageWidth: dartx.borderImageWidth = Symbol("dartx.borderImageWidth"), - $borderRadius: dartx.borderRadius = Symbol("dartx.borderRadius"), - $borderStart: dartx.borderStart = Symbol("dartx.borderStart"), - $borderStartColor: dartx.borderStartColor = Symbol("dartx.borderStartColor"), - $borderStartStyle: dartx.borderStartStyle = Symbol("dartx.borderStartStyle"), - $borderStartWidth: dartx.borderStartWidth = Symbol("dartx.borderStartWidth"), - $borderTopLeftRadius: dartx.borderTopLeftRadius = Symbol("dartx.borderTopLeftRadius"), - $borderTopRightRadius: dartx.borderTopRightRadius = Symbol("dartx.borderTopRightRadius"), - $borderVerticalSpacing: dartx.borderVerticalSpacing = Symbol("dartx.borderVerticalSpacing"), - $boxAlign: dartx.boxAlign = Symbol("dartx.boxAlign"), - $boxDecorationBreak: dartx.boxDecorationBreak = Symbol("dartx.boxDecorationBreak"), - $boxDirection: dartx.boxDirection = Symbol("dartx.boxDirection"), - $boxFlex: dartx.boxFlex = Symbol("dartx.boxFlex"), - $boxFlexGroup: dartx.boxFlexGroup = Symbol("dartx.boxFlexGroup"), - $boxLines: dartx.boxLines = Symbol("dartx.boxLines"), - $boxOrdinalGroup: dartx.boxOrdinalGroup = Symbol("dartx.boxOrdinalGroup"), - $boxOrient: dartx.boxOrient = Symbol("dartx.boxOrient"), - $boxPack: dartx.boxPack = Symbol("dartx.boxPack"), - $boxReflect: dartx.boxReflect = Symbol("dartx.boxReflect"), - $boxShadow: dartx.boxShadow = Symbol("dartx.boxShadow"), - $boxSizing: dartx.boxSizing = Symbol("dartx.boxSizing"), - $clipPath: dartx.clipPath = Symbol("dartx.clipPath"), - $columnBreakAfter: dartx.columnBreakAfter = Symbol("dartx.columnBreakAfter"), - $columnBreakBefore: dartx.columnBreakBefore = Symbol("dartx.columnBreakBefore"), - $columnBreakInside: dartx.columnBreakInside = Symbol("dartx.columnBreakInside"), - $columnCount: dartx.columnCount = Symbol("dartx.columnCount"), - $columnFill: dartx.columnFill = Symbol("dartx.columnFill"), - $columnGap: dartx.columnGap = Symbol("dartx.columnGap"), - $columnRule: dartx.columnRule = Symbol("dartx.columnRule"), - $columnRuleColor: dartx.columnRuleColor = Symbol("dartx.columnRuleColor"), - $columnRuleStyle: dartx.columnRuleStyle = Symbol("dartx.columnRuleStyle"), - $columnRuleWidth: dartx.columnRuleWidth = Symbol("dartx.columnRuleWidth"), - $columnSpan: dartx.columnSpan = Symbol("dartx.columnSpan"), - $columnWidth: dartx.columnWidth = Symbol("dartx.columnWidth"), - $columns: dartx.columns = Symbol("dartx.columns"), - $counterIncrement: dartx.counterIncrement = Symbol("dartx.counterIncrement"), - $counterReset: dartx.counterReset = Symbol("dartx.counterReset"), - $flex: dartx.flex = Symbol("dartx.flex"), - $flexBasis: dartx.flexBasis = Symbol("dartx.flexBasis"), - $flexDirection: dartx.flexDirection = Symbol("dartx.flexDirection"), - $flexFlow: dartx.flexFlow = Symbol("dartx.flexFlow"), - $flexGrow: dartx.flexGrow = Symbol("dartx.flexGrow"), - $flexShrink: dartx.flexShrink = Symbol("dartx.flexShrink"), - $flexWrap: dartx.flexWrap = Symbol("dartx.flexWrap"), - $float: dartx.float = Symbol("dartx.float"), - $fontFeatureSettings: dartx.fontFeatureSettings = Symbol("dartx.fontFeatureSettings"), - $fontKerning: dartx.fontKerning = Symbol("dartx.fontKerning"), - $fontSizeDelta: dartx.fontSizeDelta = Symbol("dartx.fontSizeDelta"), - $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"), - $gridAutoFlow: dartx.gridAutoFlow = Symbol("dartx.gridAutoFlow"), - $gridAutoRows: dartx.gridAutoRows = Symbol("dartx.gridAutoRows"), - $gridColumn: dartx.gridColumn = Symbol("dartx.gridColumn"), - $gridColumnEnd: dartx.gridColumnEnd = Symbol("dartx.gridColumnEnd"), - $gridColumnStart: dartx.gridColumnStart = Symbol("dartx.gridColumnStart"), - $gridRow: dartx.gridRow = Symbol("dartx.gridRow"), - $gridRowEnd: dartx.gridRowEnd = Symbol("dartx.gridRowEnd"), - $gridRowStart: dartx.gridRowStart = Symbol("dartx.gridRowStart"), - $gridTemplate: dartx.gridTemplate = Symbol("dartx.gridTemplate"), - $gridTemplateAreas: dartx.gridTemplateAreas = Symbol("dartx.gridTemplateAreas"), - $gridTemplateColumns: dartx.gridTemplateColumns = Symbol("dartx.gridTemplateColumns"), - $gridTemplateRows: dartx.gridTemplateRows = Symbol("dartx.gridTemplateRows"), - $highlight: dartx.highlight = Symbol("dartx.highlight"), - $hyphenateCharacter: dartx.hyphenateCharacter = Symbol("dartx.hyphenateCharacter"), - $imageRendering: dartx.imageRendering = Symbol("dartx.imageRendering"), - $isolation: dartx.isolation = Symbol("dartx.isolation"), - $justifyContent: dartx.justifyContent = Symbol("dartx.justifyContent"), - $justifySelf: dartx.justifySelf = Symbol("dartx.justifySelf"), - $lineBoxContain: dartx.lineBoxContain = Symbol("dartx.lineBoxContain"), - $lineBreak: dartx.lineBreak = Symbol("dartx.lineBreak"), - $lineClamp: dartx.lineClamp = Symbol("dartx.lineClamp"), - $locale: dartx.locale = Symbol("dartx.locale"), - $logicalHeight: dartx.logicalHeight = Symbol("dartx.logicalHeight"), - $logicalWidth: dartx.logicalWidth = Symbol("dartx.logicalWidth"), - $marginAfter: dartx.marginAfter = Symbol("dartx.marginAfter"), - $marginAfterCollapse: dartx.marginAfterCollapse = Symbol("dartx.marginAfterCollapse"), - $marginBefore: dartx.marginBefore = Symbol("dartx.marginBefore"), - $marginBeforeCollapse: dartx.marginBeforeCollapse = Symbol("dartx.marginBeforeCollapse"), - $marginBottomCollapse: dartx.marginBottomCollapse = Symbol("dartx.marginBottomCollapse"), - $marginCollapse: dartx.marginCollapse = Symbol("dartx.marginCollapse"), - $marginEnd: dartx.marginEnd = Symbol("dartx.marginEnd"), - $marginStart: dartx.marginStart = Symbol("dartx.marginStart"), - $marginTopCollapse: dartx.marginTopCollapse = Symbol("dartx.marginTopCollapse"), - $mask: dartx.mask = Symbol("dartx.mask"), - $maskBoxImage: dartx.maskBoxImage = Symbol("dartx.maskBoxImage"), - $maskBoxImageOutset: dartx.maskBoxImageOutset = Symbol("dartx.maskBoxImageOutset"), - $maskBoxImageRepeat: dartx.maskBoxImageRepeat = Symbol("dartx.maskBoxImageRepeat"), - $maskBoxImageSlice: dartx.maskBoxImageSlice = Symbol("dartx.maskBoxImageSlice"), - $maskBoxImageSource: dartx.maskBoxImageSource = Symbol("dartx.maskBoxImageSource"), - $maskBoxImageWidth: dartx.maskBoxImageWidth = Symbol("dartx.maskBoxImageWidth"), - $maskClip: dartx.maskClip = Symbol("dartx.maskClip"), - $maskComposite: dartx.maskComposite = Symbol("dartx.maskComposite"), - $maskImage: dartx.maskImage = Symbol("dartx.maskImage"), - $maskOrigin: dartx.maskOrigin = Symbol("dartx.maskOrigin"), - $maskPosition: dartx.maskPosition = Symbol("dartx.maskPosition"), - $maskPositionX: dartx.maskPositionX = Symbol("dartx.maskPositionX"), - $maskPositionY: dartx.maskPositionY = Symbol("dartx.maskPositionY"), - $maskRepeat: dartx.maskRepeat = Symbol("dartx.maskRepeat"), - $maskRepeatX: dartx.maskRepeatX = Symbol("dartx.maskRepeatX"), - $maskRepeatY: dartx.maskRepeatY = Symbol("dartx.maskRepeatY"), - $maskSize: dartx.maskSize = Symbol("dartx.maskSize"), - $maskSourceType: dartx.maskSourceType = Symbol("dartx.maskSourceType"), - $maxLogicalHeight: dartx.maxLogicalHeight = Symbol("dartx.maxLogicalHeight"), - $maxLogicalWidth: dartx.maxLogicalWidth = Symbol("dartx.maxLogicalWidth"), - $maxZoom: dartx.maxZoom = Symbol("dartx.maxZoom"), - $minLogicalHeight: dartx.minLogicalHeight = Symbol("dartx.minLogicalHeight"), - $minLogicalWidth: dartx.minLogicalWidth = Symbol("dartx.minLogicalWidth"), - $minZoom: dartx.minZoom = Symbol("dartx.minZoom"), - $mixBlendMode: dartx.mixBlendMode = Symbol("dartx.mixBlendMode"), - $objectFit: dartx.objectFit = Symbol("dartx.objectFit"), - $objectPosition: dartx.objectPosition = Symbol("dartx.objectPosition"), - $opacity: dartx.opacity = Symbol("dartx.opacity"), - $order: dartx.order = Symbol("dartx.order"), - $orphans: dartx.orphans = Symbol("dartx.orphans"), - $outlineOffset: dartx.outlineOffset = Symbol("dartx.outlineOffset"), - $overflowWrap: dartx.overflowWrap = Symbol("dartx.overflowWrap"), - $overflowX: dartx.overflowX = Symbol("dartx.overflowX"), - $overflowY: dartx.overflowY = Symbol("dartx.overflowY"), - $paddingAfter: dartx.paddingAfter = Symbol("dartx.paddingAfter"), - $paddingBefore: dartx.paddingBefore = Symbol("dartx.paddingBefore"), - $paddingEnd: dartx.paddingEnd = Symbol("dartx.paddingEnd"), - $paddingStart: dartx.paddingStart = Symbol("dartx.paddingStart"), - $page: dartx.page = Symbol("dartx.page"), - $perspective: dartx.perspective = Symbol("dartx.perspective"), - $perspectiveOrigin: dartx.perspectiveOrigin = Symbol("dartx.perspectiveOrigin"), - $perspectiveOriginX: dartx.perspectiveOriginX = Symbol("dartx.perspectiveOriginX"), - $perspectiveOriginY: dartx.perspectiveOriginY = Symbol("dartx.perspectiveOriginY"), - $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"), - $shapeImageThreshold: dartx.shapeImageThreshold = Symbol("dartx.shapeImageThreshold"), - $shapeMargin: dartx.shapeMargin = Symbol("dartx.shapeMargin"), - $shapeOutside: dartx.shapeOutside = Symbol("dartx.shapeOutside"), - $speak: dartx.speak = Symbol("dartx.speak"), - $tabSize: dartx.tabSize = Symbol("dartx.tabSize"), - $tapHighlightColor: dartx.tapHighlightColor = Symbol("dartx.tapHighlightColor"), - $textAlignLast: dartx.textAlignLast = Symbol("dartx.textAlignLast"), - $textCombine: dartx.textCombine = Symbol("dartx.textCombine"), - $textDecorationColor: dartx.textDecorationColor = Symbol("dartx.textDecorationColor"), - $textDecorationLine: dartx.textDecorationLine = Symbol("dartx.textDecorationLine"), - $textDecorationStyle: dartx.textDecorationStyle = Symbol("dartx.textDecorationStyle"), - $textDecorationsInEffect: dartx.textDecorationsInEffect = Symbol("dartx.textDecorationsInEffect"), - $textEmphasis: dartx.textEmphasis = Symbol("dartx.textEmphasis"), - $textEmphasisColor: dartx.textEmphasisColor = Symbol("dartx.textEmphasisColor"), - $textEmphasisPosition: dartx.textEmphasisPosition = Symbol("dartx.textEmphasisPosition"), - $textEmphasisStyle: dartx.textEmphasisStyle = Symbol("dartx.textEmphasisStyle"), - $textFillColor: dartx.textFillColor = Symbol("dartx.textFillColor"), - $textJustify: dartx.textJustify = Symbol("dartx.textJustify"), - $textLineThroughColor: dartx.textLineThroughColor = Symbol("dartx.textLineThroughColor"), - $textLineThroughMode: dartx.textLineThroughMode = Symbol("dartx.textLineThroughMode"), - $textLineThroughStyle: dartx.textLineThroughStyle = Symbol("dartx.textLineThroughStyle"), - $textLineThroughWidth: dartx.textLineThroughWidth = Symbol("dartx.textLineThroughWidth"), - $textOrientation: dartx.textOrientation = Symbol("dartx.textOrientation"), - $textOverflow: dartx.textOverflow = Symbol("dartx.textOverflow"), - $textOverlineColor: dartx.textOverlineColor = Symbol("dartx.textOverlineColor"), - $textOverlineMode: dartx.textOverlineMode = Symbol("dartx.textOverlineMode"), - $textOverlineStyle: dartx.textOverlineStyle = Symbol("dartx.textOverlineStyle"), - $textOverlineWidth: dartx.textOverlineWidth = Symbol("dartx.textOverlineWidth"), - $textRendering: dartx.textRendering = Symbol("dartx.textRendering"), - $textSecurity: dartx.textSecurity = Symbol("dartx.textSecurity"), - $textShadow: dartx.textShadow = Symbol("dartx.textShadow"), - $textStroke: dartx.textStroke = Symbol("dartx.textStroke"), - $textStrokeColor: dartx.textStrokeColor = Symbol("dartx.textStrokeColor"), - $textStrokeWidth: dartx.textStrokeWidth = Symbol("dartx.textStrokeWidth"), - $textUnderlineColor: dartx.textUnderlineColor = Symbol("dartx.textUnderlineColor"), - $textUnderlineMode: dartx.textUnderlineMode = Symbol("dartx.textUnderlineMode"), - $textUnderlinePosition: dartx.textUnderlinePosition = Symbol("dartx.textUnderlinePosition"), - $textUnderlineStyle: dartx.textUnderlineStyle = Symbol("dartx.textUnderlineStyle"), - $textUnderlineWidth: dartx.textUnderlineWidth = Symbol("dartx.textUnderlineWidth"), - $touchAction: dartx.touchAction = Symbol("dartx.touchAction"), - $touchActionDelay: dartx.touchActionDelay = Symbol("dartx.touchActionDelay"), - $transformOrigin: dartx.transformOrigin = Symbol("dartx.transformOrigin"), - $transformOriginX: dartx.transformOriginX = Symbol("dartx.transformOriginX"), - $transformOriginY: dartx.transformOriginY = Symbol("dartx.transformOriginY"), - $transformOriginZ: dartx.transformOriginZ = Symbol("dartx.transformOriginZ"), - $transformStyle: dartx.transformStyle = Symbol("dartx.transformStyle"), - $transition: dartx.transition = Symbol("dartx.transition"), - $transitionDelay: dartx.transitionDelay = Symbol("dartx.transitionDelay"), - $transitionDuration: dartx.transitionDuration = Symbol("dartx.transitionDuration"), - $transitionProperty: dartx.transitionProperty = Symbol("dartx.transitionProperty"), - $transitionTimingFunction: dartx.transitionTimingFunction = Symbol("dartx.transitionTimingFunction"), - $unicodeRange: dartx.unicodeRange = Symbol("dartx.unicodeRange"), - $userDrag: dartx.userDrag = Symbol("dartx.userDrag"), - $userModify: dartx.userModify = Symbol("dartx.userModify"), - $userSelect: dartx.userSelect = Symbol("dartx.userSelect"), - $userZoom: dartx.userZoom = Symbol("dartx.userZoom"), - $widows: dartx.widows = Symbol("dartx.widows"), - $willChange: dartx.willChange = Symbol("dartx.willChange"), - $wordBreak: dartx.wordBreak = Symbol("dartx.wordBreak"), - $wordWrap: dartx.wordWrap = Symbol("dartx.wordWrap"), - $wrapFlow: dartx.wrapFlow = Symbol("dartx.wrapFlow"), - $wrapThrough: dartx.wrapThrough = Symbol("dartx.wrapThrough"), - $writingMode: dartx.writingMode = Symbol("dartx.writingMode"), - $zoom: dartx.zoom = Symbol("dartx.zoom"), - _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"), - $addRule: dartx.addRule = Symbol("dartx.addRule"), - $removeRule: dartx.removeRule = Symbol("dartx.removeRule"), - $ownerNode: dartx.ownerNode = Symbol("dartx.ownerNode"), - $componentAtIndex: dartx.componentAtIndex = Symbol("dartx.componentAtIndex"), - $toMatrix: dartx.toMatrix = Symbol("dartx.toMatrix"), - $unit: dartx.unit = Symbol("dartx.unit"), - $fragmentAtIndex: dartx.fragmentAtIndex = Symbol("dartx.fragmentAtIndex"), - $fallback: dartx.fallback = Symbol("dartx.fallback"), - $variable: dartx.variable = Symbol("dartx.variable"), - _define_1: dart.privateName(html$, "_define_1"), - _define_2: dart.privateName(html$, "_define_2"), - $define: dartx.define = Symbol("dartx.define"), - $whenDefined: dartx.whenDefined = Symbol("dartx.whenDefined"), - _dartDetail: dart.privateName(html$, "_dartDetail"), - _initCustomEvent: dart.privateName(html$, "_initCustomEvent"), - _detail: dart.privateName(html$, "_detail"), - _get__detail: dart.privateName(html$, "_get__detail"), - $options: dartx.options = Symbol("dartx.options"), - $dropEffect: dartx.dropEffect = Symbol("dartx.dropEffect"), - $effectAllowed: dartx.effectAllowed = Symbol("dartx.effectAllowed"), - $files: dartx.files = Symbol("dartx.files"), - $items: dartx.items = Symbol("dartx.items"), - $types: dartx.types = Symbol("dartx.types"), - $clearData: dartx.clearData = Symbol("dartx.clearData"), - $getData: dartx.getData = Symbol("dartx.getData"), - $setData: dartx.setData = Symbol("dartx.setData"), - $setDragImage: dartx.setDragImage = Symbol("dartx.setDragImage"), - _webkitGetAsEntry: dart.privateName(html$, "_webkitGetAsEntry"), - $getAsEntry: dartx.getAsEntry = Symbol("dartx.getAsEntry"), - $getAsFile: dartx.getAsFile = Symbol("dartx.getAsFile"), - $addData: dartx.addData = Symbol("dartx.addData"), - $addFile: dartx.addFile = Symbol("dartx.addFile"), - _postMessage_1: dart.privateName(html$, "_postMessage_1"), - _postMessage_2: dart.privateName(html$, "_postMessage_2"), - _webkitRequestFileSystem: dart.privateName(html$, "_webkitRequestFileSystem"), - $requestFileSystemSync: dartx.requestFileSystemSync = Symbol("dartx.requestFileSystemSync"), - $resolveLocalFileSystemSyncUrl: dartx.resolveLocalFileSystemSyncUrl = Symbol("dartx.resolveLocalFileSystemSyncUrl"), - _webkitResolveLocalFileSystemUrl: dart.privateName(html$, "_webkitResolveLocalFileSystemUrl"), - $addressSpace: dartx.addressSpace = Symbol("dartx.addressSpace"), - $caches: dartx.caches = Symbol("dartx.caches"), - $crypto: dartx.crypto = Symbol("dartx.crypto"), - $indexedDB: dartx.indexedDB = Symbol("dartx.indexedDB"), - $isSecureContext: dartx.isSecureContext = Symbol("dartx.isSecureContext"), - $location: dartx.location = Symbol("dartx.location"), - $navigator: dartx.navigator = Symbol("dartx.navigator"), - $performance: dartx.performance = Symbol("dartx.performance"), - $self: dartx.self = Symbol("dartx.self"), - $importScripts: dartx.importScripts = Symbol("dartx.importScripts"), - $atob: dartx.atob = Symbol("dartx.atob"), - $btoa: dartx.btoa = Symbol("dartx.btoa"), - _setInterval_String: dart.privateName(html$, "_setInterval_String"), - _setTimeout_String: dart.privateName(html$, "_setTimeout_String"), - _clearInterval: dart.privateName(html$, "_clearInterval"), - _clearTimeout: dart.privateName(html$, "_clearTimeout"), - _setInterval: dart.privateName(html$, "_setInterval"), - _setTimeout: dart.privateName(html$, "_setTimeout"), - $queryUsageAndQuota: dartx.queryUsageAndQuota = Symbol("dartx.queryUsageAndQuota"), - $requestQuota: dartx.requestQuota = Symbol("dartx.requestQuota"), - $lineNumber: dartx.lineNumber = Symbol("dartx.lineNumber"), - $sourceFile: dartx.sourceFile = Symbol("dartx.sourceFile"), - $cornerPoints: dartx.cornerPoints = Symbol("dartx.cornerPoints"), - $rawValue: dartx.rawValue = Symbol("dartx.rawValue"), - $landmarks: dartx.landmarks = Symbol("dartx.landmarks"), - $acceleration: dartx.acceleration = Symbol("dartx.acceleration"), - $accelerationIncludingGravity: dartx.accelerationIncludingGravity = Symbol("dartx.accelerationIncludingGravity"), - $interval: dartx.interval = Symbol("dartx.interval"), - $rotationRate: dartx.rotationRate = Symbol("dartx.rotationRate"), - $absolute: dartx.absolute = Symbol("dartx.absolute"), - $alpha: dartx.alpha = Symbol("dartx.alpha"), - $beta: dartx.beta = Symbol("dartx.beta"), - $gamma: dartx.gamma = Symbol("dartx.gamma"), - $show: dartx.show = Symbol("dartx.show"), - $showModal: dartx.showModal = Symbol("dartx.showModal"), - _getDirectory: dart.privateName(html$, "_getDirectory"), - $createDirectory: dartx.createDirectory = Symbol("dartx.createDirectory"), - _createReader: dart.privateName(html$, "_createReader"), - $createReader: dartx.createReader = Symbol("dartx.createReader"), - $getDirectory: dartx.getDirectory = Symbol("dartx.getDirectory"), - _getFile: dart.privateName(html$, "_getFile"), - $createFile: dartx.createFile = Symbol("dartx.createFile"), - $getFile: dartx.getFile = Symbol("dartx.getFile"), - __getDirectory_1: dart.privateName(html$, "__getDirectory_1"), - __getDirectory_2: dart.privateName(html$, "__getDirectory_2"), - __getDirectory_3: dart.privateName(html$, "__getDirectory_3"), - __getDirectory_4: dart.privateName(html$, "__getDirectory_4"), - __getDirectory: dart.privateName(html$, "__getDirectory"), - __getFile_1: dart.privateName(html$, "__getFile_1"), - __getFile_2: dart.privateName(html$, "__getFile_2"), - __getFile_3: dart.privateName(html$, "__getFile_3"), - __getFile_4: dart.privateName(html$, "__getFile_4"), - __getFile: dart.privateName(html$, "__getFile"), - _removeRecursively: dart.privateName(html$, "_removeRecursively"), - $removeRecursively: dartx.removeRecursively = Symbol("dartx.removeRecursively"), - $filesystem: dartx.filesystem = Symbol("dartx.filesystem"), - $fullPath: dartx.fullPath = Symbol("dartx.fullPath"), - $isDirectory: dartx.isDirectory = Symbol("dartx.isDirectory"), - $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"), - $getMetadata: dartx.getMetadata = Symbol("dartx.getMetadata"), - _getParent: dart.privateName(html$, "_getParent"), - $getParent: dartx.getParent = Symbol("dartx.getParent"), - _moveTo: dart.privateName(html$, "_moveTo"), - _remove$1: dart.privateName(html$, "_remove"), - $toUrl: dartx.toUrl = Symbol("dartx.toUrl"), - _readEntries: dart.privateName(html$, "_readEntries"), - $readEntries: dartx.readEntries = Symbol("dartx.readEntries"), - _body: dart.privateName(html$, "_body"), - $contentType: dartx.contentType = Symbol("dartx.contentType"), - $cookie: dartx.cookie = Symbol("dartx.cookie"), - $currentScript: dartx.currentScript = Symbol("dartx.currentScript"), - _get_window: dart.privateName(html$, "_get_window"), - $window: dartx.window = Symbol("dartx.window"), - $documentElement: dartx.documentElement = Symbol("dartx.documentElement"), - $domain: dartx.domain = Symbol("dartx.domain"), - $fullscreenEnabled: dartx.fullscreenEnabled = Symbol("dartx.fullscreenEnabled"), - _head$1: dart.privateName(html$, "_head"), - $implementation: dartx.implementation = Symbol("dartx.implementation"), - _lastModified: dart.privateName(html$, "_lastModified"), - _preferredStylesheetSet: dart.privateName(html$, "_preferredStylesheetSet"), - _referrer: dart.privateName(html$, "_referrer"), - $rootElement: dartx.rootElement = Symbol("dartx.rootElement"), - $rootScroller: dartx.rootScroller = Symbol("dartx.rootScroller"), - $scrollingElement: dartx.scrollingElement = Symbol("dartx.scrollingElement"), - _selectedStylesheetSet: dart.privateName(html$, "_selectedStylesheetSet"), - $suborigin: dartx.suborigin = Symbol("dartx.suborigin"), - _title: dart.privateName(html$, "_title"), - _visibilityState: dart.privateName(html$, "_visibilityState"), - _webkitFullscreenElement: dart.privateName(html$, "_webkitFullscreenElement"), - _webkitFullscreenEnabled: dart.privateName(html$, "_webkitFullscreenEnabled"), - _webkitHidden: dart.privateName(html$, "_webkitHidden"), - _webkitVisibilityState: dart.privateName(html$, "_webkitVisibilityState"), - $adoptNode: dartx.adoptNode = Symbol("dartx.adoptNode"), - _caretRangeFromPoint: dart.privateName(html$, "_caretRangeFromPoint"), - $createDocumentFragment: dartx.createDocumentFragment = Symbol("dartx.createDocumentFragment"), - _createElement: dart.privateName(html$, "_createElement"), - _createElementNS: dart.privateName(html$, "_createElementNS"), - $createRange: dartx.createRange = Symbol("dartx.createRange"), - _createTextNode: dart.privateName(html$, "_createTextNode"), - _createTouch_1: dart.privateName(html$, "_createTouch_1"), - _createTouch_2: dart.privateName(html$, "_createTouch_2"), - _createTouch_3: dart.privateName(html$, "_createTouch_3"), - _createTouch_4: dart.privateName(html$, "_createTouch_4"), - _createTouch_5: dart.privateName(html$, "_createTouch_5"), - _createTouch: dart.privateName(html$, "_createTouch"), - _createTouchList: dart.privateName(html$, "_createTouchList"), - $execCommand: dartx.execCommand = Symbol("dartx.execCommand"), - $exitFullscreen: dartx.exitFullscreen = Symbol("dartx.exitFullscreen"), - $exitPointerLock: dartx.exitPointerLock = Symbol("dartx.exitPointerLock"), - $getElementsByName: dartx.getElementsByName = Symbol("dartx.getElementsByName"), - $getElementsByTagName: dartx.getElementsByTagName = Symbol("dartx.getElementsByTagName"), - $importNode: dartx.importNode = Symbol("dartx.importNode"), - $queryCommandEnabled: dartx.queryCommandEnabled = Symbol("dartx.queryCommandEnabled"), - $queryCommandIndeterm: dartx.queryCommandIndeterm = Symbol("dartx.queryCommandIndeterm"), - $queryCommandState: dartx.queryCommandState = Symbol("dartx.queryCommandState"), - $queryCommandSupported: dartx.queryCommandSupported = Symbol("dartx.queryCommandSupported"), - $queryCommandValue: dartx.queryCommandValue = Symbol("dartx.queryCommandValue"), - _registerElement2_1: dart.privateName(html$, "_registerElement2_1"), - _registerElement2_2: dart.privateName(html$, "_registerElement2_2"), - $registerElement2: dartx.registerElement2 = Symbol("dartx.registerElement2"), - _webkitExitFullscreen: dart.privateName(html$, "_webkitExitFullscreen"), - $activeElement: dartx.activeElement = Symbol("dartx.activeElement"), - $fullscreenElement: dartx.fullscreenElement = Symbol("dartx.fullscreenElement"), - $pointerLockElement: dartx.pointerLockElement = Symbol("dartx.pointerLockElement"), - _styleSheets: dart.privateName(html$, "_styleSheets"), - _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"), - $onSecurityPolicyViolation: dartx.onSecurityPolicyViolation = Symbol("dartx.onSecurityPolicyViolation"), - $onSelectionChange: dartx.onSelectionChange = Symbol("dartx.onSelectionChange"), - $supportsRegisterElement: dartx.supportsRegisterElement = Symbol("dartx.supportsRegisterElement"), - $supportsRegister: dartx.supportsRegister = Symbol("dartx.supportsRegister"), - $registerElement: dartx.registerElement = Symbol("dartx.registerElement"), - _createElement_2: dart.privateName(html$, "_createElement_2"), - _createElementNS_2: dart.privateName(html$, "_createElementNS_2"), - $createElementNS: dartx.createElementNS = Symbol("dartx.createElementNS"), - _createNodeIterator: dart.privateName(html$, "_createNodeIterator"), - _createTreeWalker: dart.privateName(html$, "_createTreeWalker"), - $visibilityState: dartx.visibilityState = Symbol("dartx.visibilityState"), - _docChildren: dart.privateName(html$, "_docChildren"), - $styleSheets: dartx.styleSheets = Symbol("dartx.styleSheets"), - $elementFromPoint: dartx.elementFromPoint = Symbol("dartx.elementFromPoint"), - $getSelection: dartx.getSelection = Symbol("dartx.getSelection"), - $createDocument: dartx.createDocument = Symbol("dartx.createDocument"), - $createDocumentType: dartx.createDocumentType = Symbol("dartx.createDocumentType"), - $hasFeature: dartx.hasFeature = Symbol("dartx.hasFeature"), - $a: dartx.a = Symbol("dartx.a"), - $b: dartx.b = Symbol("dartx.b"), - $c: dartx.c = Symbol("dartx.c"), - $d: dartx.d = Symbol("dartx.d"), - $e: dartx.e = Symbol("dartx.e"), - $f: dartx.f = Symbol("dartx.f"), - $m11: dartx.m11 = Symbol("dartx.m11"), - $m12: dartx.m12 = Symbol("dartx.m12"), - $m13: dartx.m13 = Symbol("dartx.m13"), - $m14: dartx.m14 = Symbol("dartx.m14"), - $m21: dartx.m21 = Symbol("dartx.m21"), - $m22: dartx.m22 = Symbol("dartx.m22"), - $m23: dartx.m23 = Symbol("dartx.m23"), - $m24: dartx.m24 = Symbol("dartx.m24"), - $m31: dartx.m31 = Symbol("dartx.m31"), - $m32: dartx.m32 = Symbol("dartx.m32"), - $m33: dartx.m33 = Symbol("dartx.m33"), - $m34: dartx.m34 = Symbol("dartx.m34"), - $m41: dartx.m41 = Symbol("dartx.m41"), - $m42: dartx.m42 = Symbol("dartx.m42"), - $m43: dartx.m43 = Symbol("dartx.m43"), - $m44: dartx.m44 = Symbol("dartx.m44"), - $invertSelf: dartx.invertSelf = Symbol("dartx.invertSelf"), - _multiplySelf_1: dart.privateName(html$, "_multiplySelf_1"), - _multiplySelf_2: dart.privateName(html$, "_multiplySelf_2"), - $multiplySelf: dartx.multiplySelf = Symbol("dartx.multiplySelf"), - _preMultiplySelf_1: dart.privateName(html$, "_preMultiplySelf_1"), - _preMultiplySelf_2: dart.privateName(html$, "_preMultiplySelf_2"), - $preMultiplySelf: dartx.preMultiplySelf = Symbol("dartx.preMultiplySelf"), - $rotateAxisAngleSelf: dartx.rotateAxisAngleSelf = Symbol("dartx.rotateAxisAngleSelf"), - $rotateFromVectorSelf: dartx.rotateFromVectorSelf = Symbol("dartx.rotateFromVectorSelf"), - $rotateSelf: dartx.rotateSelf = Symbol("dartx.rotateSelf"), - $scale3dSelf: dartx.scale3dSelf = Symbol("dartx.scale3dSelf"), - $scaleSelf: dartx.scaleSelf = Symbol("dartx.scaleSelf"), - $setMatrixValue: dartx.setMatrixValue = Symbol("dartx.setMatrixValue"), - $skewXSelf: dartx.skewXSelf = Symbol("dartx.skewXSelf"), - $skewYSelf: dartx.skewYSelf = Symbol("dartx.skewYSelf"), - $translateSelf: dartx.translateSelf = Symbol("dartx.translateSelf"), - $isIdentity: dartx.isIdentity = Symbol("dartx.isIdentity"), - $flipX: dartx.flipX = Symbol("dartx.flipX"), - $flipY: dartx.flipY = Symbol("dartx.flipY"), - $inverse: dartx.inverse = Symbol("dartx.inverse"), - _multiply_1: dart.privateName(html$, "_multiply_1"), - _multiply_2: dart.privateName(html$, "_multiply_2"), - $multiply: dartx.multiply = Symbol("dartx.multiply"), - $rotateAxisAngle: dartx.rotateAxisAngle = Symbol("dartx.rotateAxisAngle"), - $rotateFromVector: dartx.rotateFromVector = Symbol("dartx.rotateFromVector"), - $scale3d: dartx.scale3d = Symbol("dartx.scale3d"), - $skewX: dartx.skewX = Symbol("dartx.skewX"), - $skewY: dartx.skewY = Symbol("dartx.skewY"), - $toFloat32Array: dartx.toFloat32Array = Symbol("dartx.toFloat32Array"), - $toFloat64Array: dartx.toFloat64Array = Symbol("dartx.toFloat64Array"), - _transformPoint_1: dart.privateName(html$, "_transformPoint_1"), - _transformPoint_2: dart.privateName(html$, "_transformPoint_2"), - $transformPoint: dartx.transformPoint = Symbol("dartx.transformPoint"), - $parseFromString: dartx.parseFromString = Symbol("dartx.parseFromString"), - $w: dartx.w = Symbol("dartx.w"), - _matrixTransform_1: dart.privateName(html$, "_matrixTransform_1"), - _matrixTransform_2: dart.privateName(html$, "_matrixTransform_2"), - $matrixTransform: dartx.matrixTransform = Symbol("dartx.matrixTransform"), - $p1: dartx.p1 = Symbol("dartx.p1"), - $p2: dartx.p2 = Symbol("dartx.p2"), - $p3: dartx.p3 = Symbol("dartx.p3"), - $p4: dartx.p4 = Symbol("dartx.p4"), - $getBounds: dartx.getBounds = Symbol("dartx.getBounds"), - __delete__: dart.privateName(html$, "__delete__"), - $replace: dartx.replace = Symbol("dartx.replace"), - $supports: dartx.supports = Symbol("dartx.supports"), - $toggle: dartx.toggle = Symbol("dartx.toggle"), - _childElements: dart.privateName(html$, "_childElements"), - _element: dart.privateName(html$, "_element"), - _filter$2: dart.privateName(html$, "_filter"), - _nodeList: dart.privateName(html$, "_nodeList"), - _forElementList: dart.privateName(html$, "_forElementList"), - _value$6: dart.privateName(html$, "ScrollAlignment._value"), - _value$7: dart.privateName(html$, "_value"), - $colno: dartx.colno = Symbol("dartx.colno"), - $filename: dartx.filename = Symbol("dartx.filename"), - $lineno: dartx.lineno = Symbol("dartx.lineno"), - $withCredentials: dartx.withCredentials = Symbol("dartx.withCredentials"), - $onOpen: dartx.onOpen = Symbol("dartx.onOpen"), - _ptr: dart.privateName(html$, "_ptr"), - $lastEventId: dartx.lastEventId = Symbol("dartx.lastEventId"), - $ports: dartx.ports = Symbol("dartx.ports"), - $AddSearchProvider: dartx.AddSearchProvider = Symbol("dartx.AddSearchProvider"), - $IsSearchProviderInstalled: dartx.IsSearchProviderInstalled = Symbol("dartx.IsSearchProviderInstalled"), - $provider: dartx.provider = Symbol("dartx.provider"), - $clientId: dartx.clientId = Symbol("dartx.clientId"), - $isReload: dartx.isReload = Symbol("dartx.isReload"), - $preloadResponse: dartx.preloadResponse = Symbol("dartx.preloadResponse"), - $elements: dartx.elements = Symbol("dartx.elements"), - $lastModified: dartx.lastModified = Symbol("dartx.lastModified"), - _get_lastModifiedDate: dart.privateName(html$, "_get_lastModifiedDate"), - $lastModifiedDate: dartx.lastModifiedDate = Symbol("dartx.lastModifiedDate"), - $relativePath: dartx.relativePath = Symbol("dartx.relativePath"), - _createWriter: dart.privateName(html$, "_createWriter"), - $createWriter: dartx.createWriter = Symbol("dartx.createWriter"), - _file$1: dart.privateName(html$, "_file"), - $file: dartx.file = Symbol("dartx.file"), - $readAsArrayBuffer: dartx.readAsArrayBuffer = Symbol("dartx.readAsArrayBuffer"), - $readAsDataUrl: dartx.readAsDataUrl = Symbol("dartx.readAsDataUrl"), - $readAsText: dartx.readAsText = Symbol("dartx.readAsText"), - $onLoadEnd: dartx.onLoadEnd = Symbol("dartx.onLoadEnd"), - $onLoadStart: dartx.onLoadStart = Symbol("dartx.onLoadStart"), - $root: dartx.root = Symbol("dartx.root"), - $seek: dartx.seek = Symbol("dartx.seek"), - $write: dartx.write = Symbol("dartx.write"), - $onWrite: dartx.onWrite = Symbol("dartx.onWrite"), - $onWriteEnd: dartx.onWriteEnd = Symbol("dartx.onWriteEnd"), - $onWriteStart: dartx.onWriteStart = Symbol("dartx.onWriteStart"), - _get_relatedTarget: dart.privateName(html$, "_get_relatedTarget"), - $relatedTarget: dartx.relatedTarget = Symbol("dartx.relatedTarget"), - $family: dartx.family = Symbol("dartx.family"), - $featureSettings: dartx.featureSettings = Symbol("dartx.featureSettings"), - $loaded: dartx.loaded = Symbol("dartx.loaded"), - $stretch: dartx.stretch = Symbol("dartx.stretch"), - $variant: dartx.variant = Symbol("dartx.variant"), - $weight: dartx.weight = Symbol("dartx.weight"), - $check: dartx.check = Symbol("dartx.check"), - $onLoading: dartx.onLoading = Symbol("dartx.onLoading"), - $onLoadingDone: dartx.onLoadingDone = Symbol("dartx.onLoadingDone"), - $onLoadingError: dartx.onLoadingError = Symbol("dartx.onLoadingError"), - $fontfaces: dartx.fontfaces = Symbol("dartx.fontfaces"), - $appendBlob: dartx.appendBlob = Symbol("dartx.appendBlob"), - $acceptCharset: dartx.acceptCharset = Symbol("dartx.acceptCharset"), - $action: dartx.action = Symbol("dartx.action"), - $enctype: dartx.enctype = Symbol("dartx.enctype"), - $method: dartx.method = Symbol("dartx.method"), - $noValidate: dartx.noValidate = Symbol("dartx.noValidate"), - _requestAutocomplete_1: dart.privateName(html$, "_requestAutocomplete_1"), - $requestAutocomplete: dartx.requestAutocomplete = Symbol("dartx.requestAutocomplete"), - $reset: dartx.reset = Symbol("dartx.reset"), - $submit: dartx.submit = Symbol("dartx.submit"), - $axes: dartx.axes = Symbol("dartx.axes"), - $buttons: dartx.buttons = Symbol("dartx.buttons"), - $connected: dartx.connected = Symbol("dartx.connected"), - $displayId: dartx.displayId = Symbol("dartx.displayId"), - $hand: dartx.hand = Symbol("dartx.hand"), - $mapping: dartx.mapping = Symbol("dartx.mapping"), - $pose: dartx.pose = Symbol("dartx.pose"), - $touched: dartx.touched = Symbol("dartx.touched"), - $gamepad: dartx.gamepad = Symbol("dartx.gamepad"), - $angularAcceleration: dartx.angularAcceleration = Symbol("dartx.angularAcceleration"), - $angularVelocity: dartx.angularVelocity = Symbol("dartx.angularVelocity"), - $hasOrientation: dartx.hasOrientation = Symbol("dartx.hasOrientation"), - $hasPosition: dartx.hasPosition = Symbol("dartx.hasPosition"), - $linearAcceleration: dartx.linearAcceleration = Symbol("dartx.linearAcceleration"), - $linearVelocity: dartx.linearVelocity = Symbol("dartx.linearVelocity"), - _ensurePosition: dart.privateName(html$, "_ensurePosition"), - _getCurrentPosition: dart.privateName(html$, "_getCurrentPosition"), - $getCurrentPosition: dartx.getCurrentPosition = Symbol("dartx.getCurrentPosition"), - _clearWatch: dart.privateName(html$, "_clearWatch"), - _watchPosition: dart.privateName(html$, "_watchPosition"), - $watchPosition: dartx.watchPosition = Symbol("dartx.watchPosition"), - _getCurrentPosition_1: dart.privateName(html$, "_getCurrentPosition_1"), - _getCurrentPosition_2: dart.privateName(html$, "_getCurrentPosition_2"), - _getCurrentPosition_3: dart.privateName(html$, "_getCurrentPosition_3"), - _watchPosition_1: dart.privateName(html$, "_watchPosition_1"), - _watchPosition_2: dart.privateName(html$, "_watchPosition_2"), - _watchPosition_3: dart.privateName(html$, "_watchPosition_3"), - $newUrl: dartx.newUrl = Symbol("dartx.newUrl"), - $oldUrl: dartx.oldUrl = Symbol("dartx.oldUrl"), - $scrollRestoration: dartx.scrollRestoration = Symbol("dartx.scrollRestoration"), - _get_state: dart.privateName(html$, "_get_state"), - $back: dartx.back = Symbol("dartx.back"), - $forward: dartx.forward = Symbol("dartx.forward"), - $go: dartx.go = Symbol("dartx.go"), - _pushState_1: dart.privateName(html$, "_pushState_1"), - $pushState: dartx.pushState = Symbol("dartx.pushState"), - _replaceState_1: dart.privateName(html$, "_replaceState_1"), - $replaceState: dartx.replaceState = Symbol("dartx.replaceState"), - $namedItem: dartx.namedItem = Symbol("dartx.namedItem"), - $body: dartx.body = Symbol("dartx.body"), - $caretRangeFromPoint: dartx.caretRangeFromPoint = Symbol("dartx.caretRangeFromPoint"), - $preferredStylesheetSet: dartx.preferredStylesheetSet = Symbol("dartx.preferredStylesheetSet"), - $referrer: dartx.referrer = Symbol("dartx.referrer"), - $selectedStylesheetSet: dartx.selectedStylesheetSet = Symbol("dartx.selectedStylesheetSet"), - $register: dartx.register = Symbol("dartx.register"), - $onVisibilityChange: dartx.onVisibilityChange = Symbol("dartx.onVisibilityChange"), - $createElementUpgrader: dartx.createElementUpgrader = Symbol("dartx.createElementUpgrader"), - _item: dart.privateName(html$, "_item"), - $responseHeaders: dartx.responseHeaders = Symbol("dartx.responseHeaders"), - _get_response: dart.privateName(html$, "_get_response"), - $responseText: dartx.responseText = Symbol("dartx.responseText"), - $responseType: dartx.responseType = Symbol("dartx.responseType"), - $responseUrl: dartx.responseUrl = Symbol("dartx.responseUrl"), - $responseXml: dartx.responseXml = Symbol("dartx.responseXml"), - $statusText: dartx.statusText = Symbol("dartx.statusText"), - $timeout: dartx.timeout = Symbol("dartx.timeout"), - $upload: dartx.upload = Symbol("dartx.upload"), - $getAllResponseHeaders: dartx.getAllResponseHeaders = Symbol("dartx.getAllResponseHeaders"), - $getResponseHeader: dartx.getResponseHeader = Symbol("dartx.getResponseHeader"), - $overrideMimeType: dartx.overrideMimeType = Symbol("dartx.overrideMimeType"), - $send: dartx.send = Symbol("dartx.send"), - $setRequestHeader: dartx.setRequestHeader = Symbol("dartx.setRequestHeader"), - $onTimeout: dartx.onTimeout = Symbol("dartx.onTimeout"), - $allow: dartx.allow = Symbol("dartx.allow"), - $allowFullscreen: dartx.allowFullscreen = Symbol("dartx.allowFullscreen"), - $allowPaymentRequest: dartx.allowPaymentRequest = Symbol("dartx.allowPaymentRequest"), - _get_contentWindow: dart.privateName(html$, "_get_contentWindow"), - $contentWindow: dartx.contentWindow = Symbol("dartx.contentWindow"), - $csp: dartx.csp = Symbol("dartx.csp"), - $sandbox: dartx.sandbox = Symbol("dartx.sandbox"), - $srcdoc: dartx.srcdoc = Symbol("dartx.srcdoc"), - $didTimeout: dartx.didTimeout = Symbol("dartx.didTimeout"), - $timeRemaining: dartx.timeRemaining = Symbol("dartx.timeRemaining"), - $transferFromImageBitmap: dartx.transferFromImageBitmap = Symbol("dartx.transferFromImageBitmap"), - $track: dartx.track = Symbol("dartx.track"), - $getPhotoCapabilities: dartx.getPhotoCapabilities = Symbol("dartx.getPhotoCapabilities"), - $getPhotoSettings: dartx.getPhotoSettings = Symbol("dartx.getPhotoSettings"), - $grabFrame: dartx.grabFrame = Symbol("dartx.grabFrame"), - $setOptions: dartx.setOptions = Symbol("dartx.setOptions"), - $takePhoto: dartx.takePhoto = Symbol("dartx.takePhoto"), - $async: dartx.async = Symbol("dartx.async"), - $complete: dartx.complete = Symbol("dartx.complete"), - $isMap: dartx.isMap = Symbol("dartx.isMap"), - $naturalHeight: dartx.naturalHeight = Symbol("dartx.naturalHeight"), - $naturalWidth: dartx.naturalWidth = Symbol("dartx.naturalWidth"), - $sizes: dartx.sizes = Symbol("dartx.sizes"), - $srcset: dartx.srcset = Symbol("dartx.srcset"), - $useMap: dartx.useMap = Symbol("dartx.useMap"), - $decode: dartx.decode = Symbol("dartx.decode"), - $firesTouchEvents: dartx.firesTouchEvents = Symbol("dartx.firesTouchEvents"), - $accept: dartx.accept = Symbol("dartx.accept"), - $autocapitalize: dartx.autocapitalize = Symbol("dartx.autocapitalize"), - $capture: dartx.capture = Symbol("dartx.capture"), - $defaultChecked: dartx.defaultChecked = Symbol("dartx.defaultChecked"), - $defaultValue: dartx.defaultValue = Symbol("dartx.defaultValue"), - $dirName: dartx.dirName = Symbol("dartx.dirName"), - $incremental: dartx.incremental = Symbol("dartx.incremental"), - $indeterminate: dartx.indeterminate = Symbol("dartx.indeterminate"), - $list: dartx.list = Symbol("dartx.list"), - $max: dartx.max = Symbol("dartx.max"), - $maxLength: dartx.maxLength = Symbol("dartx.maxLength"), - $min: dartx.min = Symbol("dartx.min"), - $minLength: dartx.minLength = Symbol("dartx.minLength"), - $multiple: dartx.multiple = Symbol("dartx.multiple"), - $pattern: dartx.pattern = Symbol("dartx.pattern"), - $selectionDirection: dartx.selectionDirection = Symbol("dartx.selectionDirection"), - $selectionEnd: dartx.selectionEnd = Symbol("dartx.selectionEnd"), - $selectionStart: dartx.selectionStart = Symbol("dartx.selectionStart"), - $step: dartx.step = Symbol("dartx.step"), - _get_valueAsDate: dart.privateName(html$, "_get_valueAsDate"), - $valueAsDate: dartx.valueAsDate = Symbol("dartx.valueAsDate"), - _set_valueAsDate: dart.privateName(html$, "_set_valueAsDate"), - $valueAsNumber: dartx.valueAsNumber = Symbol("dartx.valueAsNumber"), - $directory: dartx.directory = Symbol("dartx.directory"), - $setRangeText: dartx.setRangeText = Symbol("dartx.setRangeText"), - $setSelectionRange: dartx.setSelectionRange = Symbol("dartx.setSelectionRange"), - $stepDown: dartx.stepDown = Symbol("dartx.stepDown"), - $stepUp: dartx.stepUp = Symbol("dartx.stepUp"), - files: dart.privateName(html$, "FileUploadInputElement.files"), - _registerForeignFetch_1: dart.privateName(html$, "_registerForeignFetch_1"), - $registerForeignFetch: dartx.registerForeignFetch = Symbol("dartx.registerForeignFetch"), - $rootMargin: dartx.rootMargin = Symbol("dartx.rootMargin"), - $thresholds: dartx.thresholds = Symbol("dartx.thresholds"), - $disconnect: dartx.disconnect = Symbol("dartx.disconnect"), - $takeRecords: dartx.takeRecords = Symbol("dartx.takeRecords"), - $boundingClientRect: dartx.boundingClientRect = Symbol("dartx.boundingClientRect"), - $intersectionRatio: dartx.intersectionRatio = Symbol("dartx.intersectionRatio"), - $intersectionRect: dartx.intersectionRect = Symbol("dartx.intersectionRect"), - $isIntersecting: dartx.isIntersecting = Symbol("dartx.isIntersecting"), - $rootBounds: dartx.rootBounds = Symbol("dartx.rootBounds"), - _initKeyboardEvent: dart.privateName(html$, "_initKeyboardEvent"), - $keyCode: dartx.keyCode = Symbol("dartx.keyCode"), - $charCode: dartx.charCode = Symbol("dartx.charCode"), - $which: dartx.which = Symbol("dartx.which"), - $altKey: dartx.altKey = Symbol("dartx.altKey"), - _charCode: dart.privateName(html$, "_charCode"), - $ctrlKey: dartx.ctrlKey = Symbol("dartx.ctrlKey"), - $isComposing: dartx.isComposing = Symbol("dartx.isComposing"), - _keyCode: dart.privateName(html$, "_keyCode"), - $metaKey: dartx.metaKey = Symbol("dartx.metaKey"), - $repeat: dartx.repeat = Symbol("dartx.repeat"), - $shiftKey: dartx.shiftKey = Symbol("dartx.shiftKey"), - $getModifierState: dartx.getModifierState = Symbol("dartx.getModifierState"), - $control: dartx.control = Symbol("dartx.control"), - $htmlFor: dartx.htmlFor = Symbol("dartx.htmlFor"), - $as: dartx.as = Symbol("dartx.as"), - $import: dartx.import = Symbol("dartx.import"), - $integrity: dartx.integrity = Symbol("dartx.integrity"), - $relList: dartx.relList = Symbol("dartx.relList"), - $scope: dartx.scope = Symbol("dartx.scope"), - $sheet: dartx.sheet = Symbol("dartx.sheet"), - $supportsImport: dartx.supportsImport = Symbol("dartx.supportsImport"), - $ancestorOrigins: dartx.ancestorOrigins = Symbol("dartx.ancestorOrigins"), - $trustedHref: dartx.trustedHref = Symbol("dartx.trustedHref"), - $assign: dartx.assign = Symbol("dartx.assign"), - $reload: dartx.reload = Symbol("dartx.reload"), - $areas: dartx.areas = Symbol("dartx.areas"), - $decodingInfo: dartx.decodingInfo = Symbol("dartx.decodingInfo"), - $encodingInfo: dartx.encodingInfo = Symbol("dartx.encodingInfo"), - $powerEfficient: dartx.powerEfficient = Symbol("dartx.powerEfficient"), - $smooth: dartx.smooth = Symbol("dartx.smooth"), - $supported: dartx.supported = Symbol("dartx.supported"), - $deviceId: dartx.deviceId = Symbol("dartx.deviceId"), - $groupId: dartx.groupId = Symbol("dartx.groupId"), - $enumerateDevices: dartx.enumerateDevices = Symbol("dartx.enumerateDevices"), - _getSupportedConstraints_1: dart.privateName(html$, "_getSupportedConstraints_1"), - $getSupportedConstraints: dartx.getSupportedConstraints = Symbol("dartx.getSupportedConstraints"), - $getUserMedia: dartx.getUserMedia = Symbol("dartx.getUserMedia"), - $initData: dartx.initData = Symbol("dartx.initData"), - $initDataType: dartx.initDataType = Symbol("dartx.initDataType"), - $messageType: dartx.messageType = Symbol("dartx.messageType"), - $closed: dartx.closed = Symbol("dartx.closed"), - $expiration: dartx.expiration = Symbol("dartx.expiration"), - $keyStatuses: dartx.keyStatuses = Symbol("dartx.keyStatuses"), - $sessionId: dartx.sessionId = Symbol("dartx.sessionId"), - $generateRequest: dartx.generateRequest = Symbol("dartx.generateRequest"), - _update$1: dart.privateName(html$, "_update"), - $keySystem: dartx.keySystem = Symbol("dartx.keySystem"), - $createMediaKeys: dartx.createMediaKeys = Symbol("dartx.createMediaKeys"), - _getConfiguration_1: dart.privateName(html$, "_getConfiguration_1"), - $getConfiguration: dartx.getConfiguration = Symbol("dartx.getConfiguration"), - _createSession: dart.privateName(html$, "_createSession"), - $getStatusForPolicy: dartx.getStatusForPolicy = Symbol("dartx.getStatusForPolicy"), - $setServerCertificate: dartx.setServerCertificate = Symbol("dartx.setServerCertificate"), - $minHdcpVersion: dartx.minHdcpVersion = Symbol("dartx.minHdcpVersion"), - $mediaText: dartx.mediaText = Symbol("dartx.mediaText"), - $appendMedium: dartx.appendMedium = Symbol("dartx.appendMedium"), - $deleteMedium: dartx.deleteMedium = Symbol("dartx.deleteMedium"), - $album: dartx.album = Symbol("dartx.album"), - $artist: dartx.artist = Symbol("dartx.artist"), - $artwork: dartx.artwork = Symbol("dartx.artwork"), - $addListener: dartx.addListener = Symbol("dartx.addListener"), - $removeListener: dartx.removeListener = Symbol("dartx.removeListener"), - $audioBitsPerSecond: dartx.audioBitsPerSecond = Symbol("dartx.audioBitsPerSecond"), - $mimeType: dartx.mimeType = Symbol("dartx.mimeType"), - $stream: dartx.stream = Symbol("dartx.stream"), - $videoBitsPerSecond: dartx.videoBitsPerSecond = Symbol("dartx.videoBitsPerSecond"), - $requestData: dartx.requestData = Symbol("dartx.requestData"), - $resume: dartx.resume = Symbol("dartx.resume"), - $metadata: dartx.metadata = Symbol("dartx.metadata"), - $playbackState: dartx.playbackState = Symbol("dartx.playbackState"), - $setActionHandler: dartx.setActionHandler = Symbol("dartx.setActionHandler"), - $activeSourceBuffers: dartx.activeSourceBuffers = Symbol("dartx.activeSourceBuffers"), - $sourceBuffers: dartx.sourceBuffers = Symbol("dartx.sourceBuffers"), - $addSourceBuffer: dartx.addSourceBuffer = Symbol("dartx.addSourceBuffer"), - $clearLiveSeekableRange: dartx.clearLiveSeekableRange = Symbol("dartx.clearLiveSeekableRange"), - $endOfStream: dartx.endOfStream = Symbol("dartx.endOfStream"), - $removeSourceBuffer: dartx.removeSourceBuffer = Symbol("dartx.removeSourceBuffer"), - $setLiveSeekableRange: dartx.setLiveSeekableRange = Symbol("dartx.setLiveSeekableRange"), - $active: dartx.active = Symbol("dartx.active"), - $addTrack: dartx.addTrack = Symbol("dartx.addTrack"), - $getAudioTracks: dartx.getAudioTracks = Symbol("dartx.getAudioTracks"), - $getTrackById: dartx.getTrackById = Symbol("dartx.getTrackById"), - $getTracks: dartx.getTracks = Symbol("dartx.getTracks"), - $getVideoTracks: dartx.getVideoTracks = Symbol("dartx.getVideoTracks"), - $removeTrack: dartx.removeTrack = Symbol("dartx.removeTrack"), - $onAddTrack: dartx.onAddTrack = Symbol("dartx.onAddTrack"), - $onRemoveTrack: dartx.onRemoveTrack = Symbol("dartx.onRemoveTrack"), - $jsHeapSizeLimit: dartx.jsHeapSizeLimit = Symbol("dartx.jsHeapSizeLimit"), - $totalJSHeapSize: dartx.totalJSHeapSize = Symbol("dartx.totalJSHeapSize"), - $usedJSHeapSize: dartx.usedJSHeapSize = Symbol("dartx.usedJSHeapSize"), - $port1: dartx.port1 = Symbol("dartx.port1"), - $port2: dartx.port2 = Symbol("dartx.port2"), - _initMessageEvent: dart.privateName(html$, "_initMessageEvent"), - _get_data: dart.privateName(html$, "_get_data"), - _get_source: dart.privateName(html$, "_get_source"), - _initMessageEvent_1: dart.privateName(html$, "_initMessageEvent_1"), - _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"), - $high: dartx.high = Symbol("dartx.high"), - $low: dartx.low = Symbol("dartx.low"), - $optimum: dartx.optimum = Symbol("dartx.optimum"), - $inputs: dartx.inputs = Symbol("dartx.inputs"), - $outputs: dartx.outputs = Symbol("dartx.outputs"), - $sysexEnabled: dartx.sysexEnabled = Symbol("dartx.sysexEnabled"), - $onMidiMessage: dartx.onMidiMessage = Symbol("dartx.onMidiMessage"), - $connection: dartx.connection = Symbol("dartx.connection"), - $manufacturer: dartx.manufacturer = Symbol("dartx.manufacturer"), - _getItem: dart.privateName(html$, "_getItem"), - $description: dartx.description = Symbol("dartx.description"), - $enabledPlugin: dartx.enabledPlugin = Symbol("dartx.enabledPlugin"), - $suffixes: dartx.suffixes = Symbol("dartx.suffixes"), - $cite: dartx.cite = Symbol("dartx.cite"), - $dateTime: dartx.dateTime = Symbol("dartx.dateTime"), - _initMouseEvent: dart.privateName(html$, "_initMouseEvent"), - $button: dartx.button = Symbol("dartx.button"), - _clientX: dart.privateName(html$, "_clientX"), - _clientY: dart.privateName(html$, "_clientY"), - $fromElement: dartx.fromElement = Symbol("dartx.fromElement"), - _layerX: dart.privateName(html$, "_layerX"), - _layerY: dart.privateName(html$, "_layerY"), - _movementX: dart.privateName(html$, "_movementX"), - _movementY: dart.privateName(html$, "_movementY"), - _pageX: dart.privateName(html$, "_pageX"), - _pageY: dart.privateName(html$, "_pageY"), - $region: dartx.region = Symbol("dartx.region"), - _screenX: dart.privateName(html$, "_screenX"), - _screenY: dart.privateName(html$, "_screenY"), - $toElement: dartx.toElement = Symbol("dartx.toElement"), - _initMouseEvent_1: dart.privateName(html$, "_initMouseEvent_1"), - $movement: dartx.movement = Symbol("dartx.movement"), - $screen: dartx.screen = Symbol("dartx.screen"), - $layer: dartx.layer = Symbol("dartx.layer"), - $dataTransfer: dartx.dataTransfer = Symbol("dartx.dataTransfer"), - $attrChange: dartx.attrChange = Symbol("dartx.attrChange"), - $attrName: dartx.attrName = Symbol("dartx.attrName"), - $newValue: dartx.newValue = Symbol("dartx.newValue"), - $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") -}; -var S$2 = { - _observe_2: dart.privateName(html$, "_observe_2"), - _observe: dart.privateName(html$, "_observe"), - _call: dart.privateName(html$, "_call"), - $addedNodes: dartx.addedNodes = Symbol("dartx.addedNodes"), - $attributeName: dartx.attributeName = Symbol("dartx.attributeName"), - $attributeNamespace: dartx.attributeNamespace = Symbol("dartx.attributeNamespace"), - $nextSibling: dartx.nextSibling = Symbol("dartx.nextSibling"), - $oldValue: dartx.oldValue = Symbol("dartx.oldValue"), - $previousSibling: dartx.previousSibling = Symbol("dartx.previousSibling"), - $removedNodes: dartx.removedNodes = Symbol("dartx.removedNodes"), - $disable: dartx.disable = Symbol("dartx.disable"), - $enable: dartx.enable = Symbol("dartx.enable"), - $getState: dartx.getState = Symbol("dartx.getState"), - _getGamepads: dart.privateName(html$, "_getGamepads"), - $getGamepads: dartx.getGamepads = Symbol("dartx.getGamepads"), - $language: dartx.language = Symbol("dartx.language"), - _ensureGetUserMedia: dart.privateName(html$, "_ensureGetUserMedia"), - _getUserMedia: dart.privateName(html$, "_getUserMedia"), - $budget: dartx.budget = Symbol("dartx.budget"), - $clipboard: dartx.clipboard = Symbol("dartx.clipboard"), - $credentials: dartx.credentials = Symbol("dartx.credentials"), - $deviceMemory: dartx.deviceMemory = Symbol("dartx.deviceMemory"), - $doNotTrack: dartx.doNotTrack = Symbol("dartx.doNotTrack"), - $geolocation: dartx.geolocation = Symbol("dartx.geolocation"), - $maxTouchPoints: dartx.maxTouchPoints = Symbol("dartx.maxTouchPoints"), - $mediaCapabilities: dartx.mediaCapabilities = Symbol("dartx.mediaCapabilities"), - $mediaDevices: dartx.mediaDevices = Symbol("dartx.mediaDevices"), - $mediaSession: dartx.mediaSession = Symbol("dartx.mediaSession"), - $mimeTypes: dartx.mimeTypes = Symbol("dartx.mimeTypes"), - $nfc: dartx.nfc = Symbol("dartx.nfc"), - $permissions: dartx.permissions = Symbol("dartx.permissions"), - $presentation: dartx.presentation = Symbol("dartx.presentation"), - $productSub: dartx.productSub = Symbol("dartx.productSub"), - $serviceWorker: dartx.serviceWorker = Symbol("dartx.serviceWorker"), - $storage: dartx.storage = Symbol("dartx.storage"), - $vendor: dartx.vendor = Symbol("dartx.vendor"), - $vendorSub: dartx.vendorSub = Symbol("dartx.vendorSub"), - $vr: dartx.vr = Symbol("dartx.vr"), - $persistentStorage: dartx.persistentStorage = Symbol("dartx.persistentStorage"), - $temporaryStorage: dartx.temporaryStorage = Symbol("dartx.temporaryStorage"), - $cancelKeyboardLock: dartx.cancelKeyboardLock = Symbol("dartx.cancelKeyboardLock"), - $getBattery: dartx.getBattery = Symbol("dartx.getBattery"), - $getInstalledRelatedApps: dartx.getInstalledRelatedApps = Symbol("dartx.getInstalledRelatedApps"), - $getVRDisplays: dartx.getVRDisplays = Symbol("dartx.getVRDisplays"), - $registerProtocolHandler: dartx.registerProtocolHandler = Symbol("dartx.registerProtocolHandler"), - _requestKeyboardLock_1: dart.privateName(html$, "_requestKeyboardLock_1"), - _requestKeyboardLock_2: dart.privateName(html$, "_requestKeyboardLock_2"), - $requestKeyboardLock: dartx.requestKeyboardLock = Symbol("dartx.requestKeyboardLock"), - $requestMidiAccess: dartx.requestMidiAccess = Symbol("dartx.requestMidiAccess"), - $requestMediaKeySystemAccess: dartx.requestMediaKeySystemAccess = Symbol("dartx.requestMediaKeySystemAccess"), - $sendBeacon: dartx.sendBeacon = Symbol("dartx.sendBeacon"), - $share: dartx.share = Symbol("dartx.share"), - $webdriver: dartx.webdriver = Symbol("dartx.webdriver"), - $cookieEnabled: dartx.cookieEnabled = Symbol("dartx.cookieEnabled"), - $appCodeName: dartx.appCodeName = Symbol("dartx.appCodeName"), - $appName: dartx.appName = Symbol("dartx.appName"), - $appVersion: dartx.appVersion = Symbol("dartx.appVersion"), - $dartEnabled: dartx.dartEnabled = Symbol("dartx.dartEnabled"), - $platform: dartx.platform = Symbol("dartx.platform"), - $product: dartx.product = Symbol("dartx.product"), - $userAgent: dartx.userAgent = Symbol("dartx.userAgent"), - $languages: dartx.languages = Symbol("dartx.languages"), - $onLine: dartx.onLine = Symbol("dartx.onLine"), - $hardwareConcurrency: dartx.hardwareConcurrency = Symbol("dartx.hardwareConcurrency"), - $constraintName: dartx.constraintName = Symbol("dartx.constraintName"), - $downlink: dartx.downlink = Symbol("dartx.downlink"), - $downlinkMax: dartx.downlinkMax = Symbol("dartx.downlinkMax"), - $effectiveType: dartx.effectiveType = Symbol("dartx.effectiveType"), - $rtt: dartx.rtt = Symbol("dartx.rtt"), - $pointerBeforeReferenceNode: dartx.pointerBeforeReferenceNode = Symbol("dartx.pointerBeforeReferenceNode"), - $referenceNode: dartx.referenceNode = Symbol("dartx.referenceNode"), - $whatToShow: dartx.whatToShow = Symbol("dartx.whatToShow"), - $detach: dartx.detach = Symbol("dartx.detach"), - $actions: dartx.actions = Symbol("dartx.actions"), - $badge: dartx.badge = Symbol("dartx.badge"), - $icon: dartx.icon = Symbol("dartx.icon"), - $image: dartx.image = Symbol("dartx.image"), - $renotify: dartx.renotify = Symbol("dartx.renotify"), - $requireInteraction: dartx.requireInteraction = Symbol("dartx.requireInteraction"), - $silent: dartx.silent = Symbol("dartx.silent"), - $tag: dartx.tag = Symbol("dartx.tag"), - $vibrate: dartx.vibrate = Symbol("dartx.vibrate"), - $onShow: dartx.onShow = Symbol("dartx.onShow"), - $notification: dartx.notification = Symbol("dartx.notification"), - $reply: dartx.reply = Symbol("dartx.reply"), - $convertToBlob: dartx.convertToBlob = Symbol("dartx.convertToBlob"), - $transferToImageBitmap: dartx.transferToImageBitmap = Symbol("dartx.transferToImageBitmap"), - $commit: dartx.commit = Symbol("dartx.commit"), - $defaultSelected: dartx.defaultSelected = Symbol("dartx.defaultSelected"), - $constraint: dartx.constraint = Symbol("dartx.constraint"), - $persisted: dartx.persisted = Symbol("dartx.persisted"), - $devicePixelRatio: dartx.devicePixelRatio = Symbol("dartx.devicePixelRatio"), - $registerPaint: dartx.registerPaint = Symbol("dartx.registerPaint"), - $additionalData: dartx.additionalData = Symbol("dartx.additionalData"), - $idName: dartx.idName = Symbol("dartx.idName"), - $passwordName: dartx.passwordName = Symbol("dartx.passwordName"), - $addPath: dartx.addPath = Symbol("dartx.addPath"), - $addressLine: dartx.addressLine = Symbol("dartx.addressLine"), - $city: dartx.city = Symbol("dartx.city"), - $country: dartx.country = Symbol("dartx.country"), - $dependentLocality: dartx.dependentLocality = Symbol("dartx.dependentLocality"), - $languageCode: dartx.languageCode = Symbol("dartx.languageCode"), - $organization: dartx.organization = Symbol("dartx.organization"), - $phone: dartx.phone = Symbol("dartx.phone"), - $postalCode: dartx.postalCode = Symbol("dartx.postalCode"), - $recipient: dartx.recipient = Symbol("dartx.recipient"), - $sortingCode: dartx.sortingCode = Symbol("dartx.sortingCode"), - $instruments: dartx.instruments = Symbol("dartx.instruments"), - $userHint: dartx.userHint = Symbol("dartx.userHint"), - $shippingAddress: dartx.shippingAddress = Symbol("dartx.shippingAddress"), - $shippingOption: dartx.shippingOption = Symbol("dartx.shippingOption"), - $shippingType: dartx.shippingType = Symbol("dartx.shippingType"), - $canMakePayment: dartx.canMakePayment = Symbol("dartx.canMakePayment"), - $instrumentKey: dartx.instrumentKey = Symbol("dartx.instrumentKey"), - $paymentRequestId: dartx.paymentRequestId = Symbol("dartx.paymentRequestId"), - $total: dartx.total = Symbol("dartx.total"), - $updateWith: dartx.updateWith = Symbol("dartx.updateWith"), - $methodName: dartx.methodName = Symbol("dartx.methodName"), - $payerEmail: dartx.payerEmail = Symbol("dartx.payerEmail"), - $payerName: dartx.payerName = Symbol("dartx.payerName"), - $payerPhone: dartx.payerPhone = Symbol("dartx.payerPhone"), - $requestId: dartx.requestId = Symbol("dartx.requestId"), - $memory: dartx.memory = Symbol("dartx.memory"), - $navigation: dartx.navigation = Symbol("dartx.navigation"), - $timeOrigin: dartx.timeOrigin = Symbol("dartx.timeOrigin"), - $clearMarks: dartx.clearMarks = Symbol("dartx.clearMarks"), - $clearMeasures: dartx.clearMeasures = Symbol("dartx.clearMeasures"), - $clearResourceTimings: dartx.clearResourceTimings = Symbol("dartx.clearResourceTimings"), - $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"), - $entryType: dartx.entryType = Symbol("dartx.entryType"), - $attribution: dartx.attribution = Symbol("dartx.attribution"), - $redirectCount: dartx.redirectCount = Symbol("dartx.redirectCount"), - $domComplete: dartx.domComplete = Symbol("dartx.domComplete"), - $domContentLoadedEventEnd: dartx.domContentLoadedEventEnd = Symbol("dartx.domContentLoadedEventEnd"), - $domContentLoadedEventStart: dartx.domContentLoadedEventStart = Symbol("dartx.domContentLoadedEventStart"), - $domInteractive: dartx.domInteractive = Symbol("dartx.domInteractive"), - $loadEventEnd: dartx.loadEventEnd = Symbol("dartx.loadEventEnd"), - $loadEventStart: dartx.loadEventStart = Symbol("dartx.loadEventStart"), - $unloadEventEnd: dartx.unloadEventEnd = Symbol("dartx.unloadEventEnd"), - $unloadEventStart: dartx.unloadEventStart = Symbol("dartx.unloadEventStart"), - $connectEnd: dartx.connectEnd = Symbol("dartx.connectEnd"), - $connectStart: dartx.connectStart = Symbol("dartx.connectStart"), - $decodedBodySize: dartx.decodedBodySize = Symbol("dartx.decodedBodySize"), - $domainLookupEnd: dartx.domainLookupEnd = Symbol("dartx.domainLookupEnd"), - $domainLookupStart: dartx.domainLookupStart = Symbol("dartx.domainLookupStart"), - $encodedBodySize: dartx.encodedBodySize = Symbol("dartx.encodedBodySize"), - $fetchStart: dartx.fetchStart = Symbol("dartx.fetchStart"), - $initiatorType: dartx.initiatorType = Symbol("dartx.initiatorType"), - $nextHopProtocol: dartx.nextHopProtocol = Symbol("dartx.nextHopProtocol"), - $redirectEnd: dartx.redirectEnd = Symbol("dartx.redirectEnd"), - $redirectStart: dartx.redirectStart = Symbol("dartx.redirectStart"), - $requestStart: dartx.requestStart = Symbol("dartx.requestStart"), - $responseEnd: dartx.responseEnd = Symbol("dartx.responseEnd"), - $responseStart: dartx.responseStart = Symbol("dartx.responseStart"), - $secureConnectionStart: dartx.secureConnectionStart = Symbol("dartx.secureConnectionStart"), - $serverTiming: dartx.serverTiming = Symbol("dartx.serverTiming"), - $transferSize: dartx.transferSize = Symbol("dartx.transferSize"), - $workerStart: dartx.workerStart = Symbol("dartx.workerStart"), - $domLoading: dartx.domLoading = Symbol("dartx.domLoading"), - $navigationStart: dartx.navigationStart = Symbol("dartx.navigationStart"), - $query: dartx.query = Symbol("dartx.query"), - $requestAll: dartx.requestAll = Symbol("dartx.requestAll"), - $revoke: dartx.revoke = Symbol("dartx.revoke"), - $fillLightMode: dartx.fillLightMode = Symbol("dartx.fillLightMode"), - $imageHeight: dartx.imageHeight = Symbol("dartx.imageHeight"), - $imageWidth: dartx.imageWidth = Symbol("dartx.imageWidth"), - $redEyeReduction: dartx.redEyeReduction = Symbol("dartx.redEyeReduction"), - $refresh: dartx.refresh = Symbol("dartx.refresh"), - $isPrimary: dartx.isPrimary = Symbol("dartx.isPrimary"), - $pointerId: dartx.pointerId = Symbol("dartx.pointerId"), - $pointerType: dartx.pointerType = Symbol("dartx.pointerType"), - $pressure: dartx.pressure = Symbol("dartx.pressure"), - $tangentialPressure: dartx.tangentialPressure = Symbol("dartx.tangentialPressure"), - $tiltX: dartx.tiltX = Symbol("dartx.tiltX"), - $tiltY: dartx.tiltY = Symbol("dartx.tiltY"), - $twist: dartx.twist = Symbol("dartx.twist"), - $getCoalescedEvents: dartx.getCoalescedEvents = Symbol("dartx.getCoalescedEvents"), - $defaultRequest: dartx.defaultRequest = Symbol("dartx.defaultRequest"), - $receiver: dartx.receiver = Symbol("dartx.receiver"), - $binaryType: dartx.binaryType = Symbol("dartx.binaryType"), - $terminate: dartx.terminate = Symbol("dartx.terminate"), - $connections: dartx.connections = Symbol("dartx.connections"), - $connectionList: dartx.connectionList = Symbol("dartx.connectionList"), - $getAvailability: dartx.getAvailability = Symbol("dartx.getAvailability"), - $reconnect: dartx.reconnect = Symbol("dartx.reconnect"), - $lengthComputable: dartx.lengthComputable = Symbol("dartx.lengthComputable"), - $promise: dartx.promise = Symbol("dartx.promise"), - $rawId: dartx.rawId = Symbol("dartx.rawId"), - $getSubscription: dartx.getSubscription = Symbol("dartx.getSubscription"), - $permissionState: dartx.permissionState = Symbol("dartx.permissionState"), - $subscribe: dartx.subscribe = Symbol("dartx.subscribe"), - $endpoint: dartx.endpoint = Symbol("dartx.endpoint"), - $expirationTime: dartx.expirationTime = Symbol("dartx.expirationTime"), - $unsubscribe: dartx.unsubscribe = Symbol("dartx.unsubscribe"), - $applicationServerKey: dartx.applicationServerKey = Symbol("dartx.applicationServerKey"), - $userVisibleOnly: dartx.userVisibleOnly = Symbol("dartx.userVisibleOnly"), - $collapsed: dartx.collapsed = Symbol("dartx.collapsed"), - $commonAncestorContainer: dartx.commonAncestorContainer = Symbol("dartx.commonAncestorContainer"), - $endContainer: dartx.endContainer = Symbol("dartx.endContainer"), - $endOffset: dartx.endOffset = Symbol("dartx.endOffset"), - $startContainer: dartx.startContainer = Symbol("dartx.startContainer"), - $startOffset: dartx.startOffset = Symbol("dartx.startOffset"), - $cloneContents: dartx.cloneContents = Symbol("dartx.cloneContents"), - $cloneRange: dartx.cloneRange = Symbol("dartx.cloneRange"), - $collapse: dartx.collapse = Symbol("dartx.collapse"), - $compareBoundaryPoints: dartx.compareBoundaryPoints = Symbol("dartx.compareBoundaryPoints"), - $comparePoint: dartx.comparePoint = Symbol("dartx.comparePoint"), - $createContextualFragment: dartx.createContextualFragment = Symbol("dartx.createContextualFragment"), - $deleteContents: dartx.deleteContents = Symbol("dartx.deleteContents"), - $extractContents: dartx.extractContents = Symbol("dartx.extractContents"), - $insertNode: dartx.insertNode = Symbol("dartx.insertNode"), - $isPointInRange: dartx.isPointInRange = Symbol("dartx.isPointInRange"), - $selectNode: dartx.selectNode = Symbol("dartx.selectNode"), - $selectNodeContents: dartx.selectNodeContents = Symbol("dartx.selectNodeContents"), - $setEnd: dartx.setEnd = Symbol("dartx.setEnd"), - $setEndAfter: dartx.setEndAfter = Symbol("dartx.setEndAfter"), - $setEndBefore: dartx.setEndBefore = Symbol("dartx.setEndBefore"), - $setStart: dartx.setStart = Symbol("dartx.setStart"), - $setStartAfter: dartx.setStartAfter = Symbol("dartx.setStartAfter"), - $setStartBefore: dartx.setStartBefore = Symbol("dartx.setStartBefore"), - $surroundContents: dartx.surroundContents = Symbol("dartx.surroundContents"), - $cancelWatchAvailability: dartx.cancelWatchAvailability = Symbol("dartx.cancelWatchAvailability"), - $watchAvailability: dartx.watchAvailability = Symbol("dartx.watchAvailability"), - $contentRect: dartx.contentRect = Symbol("dartx.contentRect"), - $expires: dartx.expires = Symbol("dartx.expires"), - $getFingerprints: dartx.getFingerprints = Symbol("dartx.getFingerprints"), - $bufferedAmount: dartx.bufferedAmount = Symbol("dartx.bufferedAmount"), - $bufferedAmountLowThreshold: dartx.bufferedAmountLowThreshold = Symbol("dartx.bufferedAmountLowThreshold"), - $maxRetransmitTime: dartx.maxRetransmitTime = Symbol("dartx.maxRetransmitTime"), - $maxRetransmits: dartx.maxRetransmits = Symbol("dartx.maxRetransmits"), - $negotiated: dartx.negotiated = Symbol("dartx.negotiated"), - $ordered: dartx.ordered = Symbol("dartx.ordered"), - $reliable: dartx.reliable = Symbol("dartx.reliable"), - $sendBlob: dartx.sendBlob = Symbol("dartx.sendBlob"), - $sendByteBuffer: dartx.sendByteBuffer = Symbol("dartx.sendByteBuffer"), - $sendString: dartx.sendString = Symbol("dartx.sendString"), - $sendTypedData: dartx.sendTypedData = Symbol("dartx.sendTypedData"), - $channel: dartx.channel = Symbol("dartx.channel"), - $canInsertDtmf: dartx.canInsertDtmf = Symbol("dartx.canInsertDtmf"), - $interToneGap: dartx.interToneGap = Symbol("dartx.interToneGap"), - $toneBuffer: dartx.toneBuffer = Symbol("dartx.toneBuffer"), - $insertDtmf: dartx.insertDtmf = Symbol("dartx.insertDtmf"), - $onToneChange: dartx.onToneChange = Symbol("dartx.onToneChange"), - $tone: dartx.tone = Symbol("dartx.tone"), - $candidate: dartx.candidate = Symbol("dartx.candidate"), - $sdpMLineIndex: dartx.sdpMLineIndex = Symbol("dartx.sdpMLineIndex"), - $sdpMid: dartx.sdpMid = Symbol("dartx.sdpMid"), - _get_timestamp: dart.privateName(html$, "_get_timestamp"), - $names: dartx.names = Symbol("dartx.names"), - $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"), - $remoteDescription: dartx.remoteDescription = Symbol("dartx.remoteDescription"), - $signalingState: dartx.signalingState = Symbol("dartx.signalingState"), - $addIceCandidate: dartx.addIceCandidate = Symbol("dartx.addIceCandidate"), - _addStream_1: dart.privateName(html$, "_addStream_1"), - _addStream_2: dart.privateName(html$, "_addStream_2"), - $addStream: dartx.addStream = Symbol("dartx.addStream"), - $createAnswer: dartx.createAnswer = Symbol("dartx.createAnswer"), - $createDtmfSender: dartx.createDtmfSender = Symbol("dartx.createDtmfSender"), - _createDataChannel_1: dart.privateName(html$, "_createDataChannel_1"), - _createDataChannel_2: dart.privateName(html$, "_createDataChannel_2"), - $createDataChannel: dartx.createDataChannel = Symbol("dartx.createDataChannel"), - $createOffer: dartx.createOffer = Symbol("dartx.createOffer"), - $getLocalStreams: dartx.getLocalStreams = Symbol("dartx.getLocalStreams"), - $getReceivers: dartx.getReceivers = Symbol("dartx.getReceivers"), - $getRemoteStreams: dartx.getRemoteStreams = Symbol("dartx.getRemoteStreams"), - $getSenders: dartx.getSenders = Symbol("dartx.getSenders"), - $getStats: dartx.getStats = Symbol("dartx.getStats"), - $removeStream: dartx.removeStream = Symbol("dartx.removeStream"), - _setConfiguration_1: dart.privateName(html$, "_setConfiguration_1"), - $setConfiguration: dartx.setConfiguration = Symbol("dartx.setConfiguration"), - $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"), - $onNegotiationNeeded: dartx.onNegotiationNeeded = Symbol("dartx.onNegotiationNeeded"), - $onRemoveStream: dartx.onRemoveStream = Symbol("dartx.onRemoveStream"), - $onSignalingStateChange: dartx.onSignalingStateChange = Symbol("dartx.onSignalingStateChange"), - $onTrack: dartx.onTrack = Symbol("dartx.onTrack"), - $getContributingSources: dartx.getContributingSources = Symbol("dartx.getContributingSources"), - $sdp: dartx.sdp = Symbol("dartx.sdp"), - $streams: dartx.streams = Symbol("dartx.streams"), - _availLeft: dart.privateName(html$, "_availLeft"), - _availTop: dart.privateName(html$, "_availTop"), - _availWidth: dart.privateName(html$, "_availWidth"), - _availHeight: dart.privateName(html$, "_availHeight"), - $available: dartx.available = Symbol("dartx.available"), - $colorDepth: dartx.colorDepth = Symbol("dartx.colorDepth"), - $keepAwake: dartx.keepAwake = Symbol("dartx.keepAwake"), - $pixelDepth: dartx.pixelDepth = Symbol("dartx.pixelDepth"), - $lock: dartx.lock = Symbol("dartx.lock"), - $unlock: dartx.unlock = Symbol("dartx.unlock"), - $charset: dartx.charset = Symbol("dartx.charset"), - $defer: dartx.defer = Symbol("dartx.defer"), - $noModule: dartx.noModule = Symbol("dartx.noModule"), - $deltaGranularity: dartx.deltaGranularity = Symbol("dartx.deltaGranularity"), - $deltaX: dartx.deltaX = Symbol("dartx.deltaX"), - $deltaY: dartx.deltaY = Symbol("dartx.deltaY"), - $fromUserInput: dartx.fromUserInput = Symbol("dartx.fromUserInput"), - $inInertialPhase: dartx.inInertialPhase = Symbol("dartx.inInertialPhase"), - $isBeginning: dartx.isBeginning = Symbol("dartx.isBeginning"), - $isDirectManipulation: dartx.isDirectManipulation = Symbol("dartx.isDirectManipulation"), - $isEnding: dartx.isEnding = Symbol("dartx.isEnding"), - $positionX: dartx.positionX = Symbol("dartx.positionX"), - $positionY: dartx.positionY = Symbol("dartx.positionY"), - $velocityX: dartx.velocityX = Symbol("dartx.velocityX"), - $velocityY: dartx.velocityY = Symbol("dartx.velocityY"), - $consumeDelta: dartx.consumeDelta = Symbol("dartx.consumeDelta"), - $distributeToScrollChainDescendant: dartx.distributeToScrollChainDescendant = Symbol("dartx.distributeToScrollChainDescendant"), - $scrollSource: dartx.scrollSource = Symbol("dartx.scrollSource"), - $timeRange: dartx.timeRange = Symbol("dartx.timeRange"), - $blockedUri: dartx.blockedUri = Symbol("dartx.blockedUri"), - $columnNumber: dartx.columnNumber = Symbol("dartx.columnNumber"), - $disposition: dartx.disposition = Symbol("dartx.disposition"), - $documentUri: dartx.documentUri = Symbol("dartx.documentUri"), - $effectiveDirective: dartx.effectiveDirective = Symbol("dartx.effectiveDirective"), - $originalPolicy: dartx.originalPolicy = Symbol("dartx.originalPolicy"), - $sample: dartx.sample = Symbol("dartx.sample"), - $statusCode: dartx.statusCode = Symbol("dartx.statusCode"), - $violatedDirective: dartx.violatedDirective = Symbol("dartx.violatedDirective"), - $selectedIndex: dartx.selectedIndex = Symbol("dartx.selectedIndex"), - $selectedOptions: dartx.selectedOptions = Symbol("dartx.selectedOptions"), - $anchorNode: dartx.anchorNode = Symbol("dartx.anchorNode"), - $anchorOffset: dartx.anchorOffset = Symbol("dartx.anchorOffset"), - $baseNode: dartx.baseNode = Symbol("dartx.baseNode"), - $baseOffset: dartx.baseOffset = Symbol("dartx.baseOffset"), - $extentNode: dartx.extentNode = Symbol("dartx.extentNode"), - $extentOffset: dartx.extentOffset = Symbol("dartx.extentOffset"), - $focusNode: dartx.focusNode = Symbol("dartx.focusNode"), - $focusOffset: dartx.focusOffset = Symbol("dartx.focusOffset"), - $isCollapsed: dartx.isCollapsed = Symbol("dartx.isCollapsed"), - $rangeCount: dartx.rangeCount = Symbol("dartx.rangeCount"), - $addRange: dartx.addRange = Symbol("dartx.addRange"), - $collapseToEnd: dartx.collapseToEnd = Symbol("dartx.collapseToEnd"), - $collapseToStart: dartx.collapseToStart = Symbol("dartx.collapseToStart"), - $containsNode: dartx.containsNode = Symbol("dartx.containsNode"), - $deleteFromDocument: dartx.deleteFromDocument = Symbol("dartx.deleteFromDocument"), - $empty: dartx.empty = Symbol("dartx.empty"), - $extend: dartx.extend = Symbol("dartx.extend"), - $getRangeAt: dartx.getRangeAt = Symbol("dartx.getRangeAt"), - $modify: dartx.modify = Symbol("dartx.modify"), - $removeAllRanges: dartx.removeAllRanges = Symbol("dartx.removeAllRanges"), - $selectAllChildren: dartx.selectAllChildren = Symbol("dartx.selectAllChildren"), - $setBaseAndExtent: dartx.setBaseAndExtent = Symbol("dartx.setBaseAndExtent"), - $setPosition: dartx.setPosition = Symbol("dartx.setPosition"), - $scriptUrl: dartx.scriptUrl = Symbol("dartx.scriptUrl"), - $controller: dartx.controller = Symbol("dartx.controller"), - $getRegistration: dartx.getRegistration = Symbol("dartx.getRegistration"), - $getRegistrations: dartx.getRegistrations = Symbol("dartx.getRegistrations"), - $clients: dartx.clients = Symbol("dartx.clients"), - $registration: dartx.registration = Symbol("dartx.registration"), - $skipWaiting: dartx.skipWaiting = Symbol("dartx.skipWaiting"), - $onActivate: dartx.onActivate = Symbol("dartx.onActivate"), - $onFetch: dartx.onFetch = Symbol("dartx.onFetch"), - $onForeignfetch: dartx.onForeignfetch = Symbol("dartx.onForeignfetch"), - $onInstall: dartx.onInstall = Symbol("dartx.onInstall"), - $backgroundFetch: dartx.backgroundFetch = Symbol("dartx.backgroundFetch"), - $installing: dartx.installing = Symbol("dartx.installing"), - $navigationPreload: dartx.navigationPreload = Symbol("dartx.navigationPreload"), - $paymentManager: dartx.paymentManager = Symbol("dartx.paymentManager"), - $pushManager: dartx.pushManager = Symbol("dartx.pushManager"), - $sync: dartx.sync = Symbol("dartx.sync"), - $waiting: dartx.waiting = Symbol("dartx.waiting"), - $getNotifications: dartx.getNotifications = Symbol("dartx.getNotifications"), - $showNotification: dartx.showNotification = Symbol("dartx.showNotification"), - $unregister: dartx.unregister = Symbol("dartx.unregister"), - $delegatesFocus: dartx.delegatesFocus = Symbol("dartx.delegatesFocus"), - $olderShadowRoot: dartx.olderShadowRoot = Symbol("dartx.olderShadowRoot"), - $console: dartx.console = Symbol("dartx.console"), - $resetStyleInheritance: dartx.resetStyleInheritance = Symbol("dartx.resetStyleInheritance"), - $applyAuthorStyles: dartx.applyAuthorStyles = Symbol("dartx.applyAuthorStyles"), - $byteLength: dartx.byteLength = Symbol("dartx.byteLength"), - $onConnect: dartx.onConnect = Symbol("dartx.onConnect"), - _assignedNodes_1: dart.privateName(html$, "_assignedNodes_1"), - _assignedNodes_2: dart.privateName(html$, "_assignedNodes_2"), - $assignedNodes: dartx.assignedNodes = Symbol("dartx.assignedNodes"), - $appendWindowEnd: dartx.appendWindowEnd = Symbol("dartx.appendWindowEnd"), - $appendWindowStart: dartx.appendWindowStart = Symbol("dartx.appendWindowStart"), - $timestampOffset: dartx.timestampOffset = Symbol("dartx.timestampOffset"), - $trackDefaults: dartx.trackDefaults = Symbol("dartx.trackDefaults"), - $updating: dartx.updating = Symbol("dartx.updating"), - $appendBuffer: dartx.appendBuffer = Symbol("dartx.appendBuffer"), - $appendTypedData: dartx.appendTypedData = Symbol("dartx.appendTypedData"), - $addFromString: dartx.addFromString = Symbol("dartx.addFromString"), - $addFromUri: dartx.addFromUri = Symbol("dartx.addFromUri"), - $audioTrack: dartx.audioTrack = Symbol("dartx.audioTrack"), - $continuous: dartx.continuous = Symbol("dartx.continuous"), - $grammars: dartx.grammars = Symbol("dartx.grammars"), - $interimResults: dartx.interimResults = Symbol("dartx.interimResults"), - $maxAlternatives: dartx.maxAlternatives = Symbol("dartx.maxAlternatives"), - $onAudioEnd: dartx.onAudioEnd = Symbol("dartx.onAudioEnd"), - $onAudioStart: dartx.onAudioStart = Symbol("dartx.onAudioStart"), - $onEnd: dartx.onEnd = Symbol("dartx.onEnd"), - $onNoMatch: dartx.onNoMatch = Symbol("dartx.onNoMatch"), - $onResult: dartx.onResult = Symbol("dartx.onResult"), - $onSoundEnd: dartx.onSoundEnd = Symbol("dartx.onSoundEnd"), - $onSoundStart: dartx.onSoundStart = Symbol("dartx.onSoundStart"), - $onSpeechEnd: dartx.onSpeechEnd = Symbol("dartx.onSpeechEnd"), - $onSpeechStart: dartx.onSpeechStart = Symbol("dartx.onSpeechStart"), - $onStart: dartx.onStart = Symbol("dartx.onStart"), - $confidence: dartx.confidence = Symbol("dartx.confidence"), - $transcript: dartx.transcript = Symbol("dartx.transcript"), - $emma: dartx.emma = Symbol("dartx.emma"), - $interpretation: dartx.interpretation = Symbol("dartx.interpretation"), - $resultIndex: dartx.resultIndex = Symbol("dartx.resultIndex"), - $results: dartx.results = Symbol("dartx.results"), - $isFinal: dartx.isFinal = Symbol("dartx.isFinal"), - _getVoices: dart.privateName(html$, "_getVoices"), - $getVoices: dartx.getVoices = Symbol("dartx.getVoices"), - $pending: dartx.pending = Symbol("dartx.pending"), - $speaking: dartx.speaking = Symbol("dartx.speaking"), - $charIndex: dartx.charIndex = Symbol("dartx.charIndex"), - $utterance: dartx.utterance = Symbol("dartx.utterance"), - $pitch: dartx.pitch = Symbol("dartx.pitch"), - $rate: dartx.rate = Symbol("dartx.rate"), - $voice: dartx.voice = Symbol("dartx.voice"), - $onBoundary: dartx.onBoundary = Symbol("dartx.onBoundary"), - $onMark: dartx.onMark = Symbol("dartx.onMark"), - $onResume: dartx.onResume = Symbol("dartx.onResume"), - $localService: dartx.localService = Symbol("dartx.localService"), - $voiceUri: dartx.voiceUri = Symbol("dartx.voiceUri"), - _setItem: dart.privateName(html$, "_setItem"), - _removeItem: dart.privateName(html$, "_removeItem"), - _key: dart.privateName(html$, "_key"), - _length$3: dart.privateName(html$, "_length"), - _initStorageEvent: dart.privateName(html$, "_initStorageEvent"), - $storageArea: dartx.storageArea = Symbol("dartx.storageArea"), - $estimate: dartx.estimate = Symbol("dartx.estimate"), - $persist: dartx.persist = Symbol("dartx.persist"), - $matchMedium: dartx.matchMedium = Symbol("dartx.matchMedium"), - $getProperties: dartx.getProperties = Symbol("dartx.getProperties"), - $lastChance: dartx.lastChance = Symbol("dartx.lastChance"), - $getTags: dartx.getTags = Symbol("dartx.getTags"), - $cellIndex: dartx.cellIndex = Symbol("dartx.cellIndex"), - $headers: dartx.headers = Symbol("dartx.headers"), - $span: dartx.span = Symbol("dartx.span"), - _tBodies: dart.privateName(html$, "_tBodies"), - $tBodies: dartx.tBodies = Symbol("dartx.tBodies"), - _rows: dart.privateName(html$, "_rows"), - $rows: dartx.rows = Symbol("dartx.rows"), - $insertRow: dartx.insertRow = Symbol("dartx.insertRow"), - $addRow: dartx.addRow = Symbol("dartx.addRow"), - _createCaption: dart.privateName(html$, "_createCaption"), - $createCaption: dartx.createCaption = Symbol("dartx.createCaption"), - _createTBody: dart.privateName(html$, "_createTBody"), - $createTBody: dartx.createTBody = Symbol("dartx.createTBody"), - _createTFoot: dart.privateName(html$, "_createTFoot"), - $createTFoot: dartx.createTFoot = Symbol("dartx.createTFoot"), - _createTHead: dart.privateName(html$, "_createTHead"), - $createTHead: dartx.createTHead = Symbol("dartx.createTHead"), - _insertRow: dart.privateName(html$, "_insertRow"), - _nativeCreateTBody: dart.privateName(html$, "_nativeCreateTBody"), - $caption: dartx.caption = Symbol("dartx.caption"), - $tFoot: dartx.tFoot = Symbol("dartx.tFoot"), - $tHead: dartx.tHead = Symbol("dartx.tHead"), - $deleteCaption: dartx.deleteCaption = Symbol("dartx.deleteCaption"), - $deleteRow: dartx.deleteRow = Symbol("dartx.deleteRow"), - $deleteTFoot: dartx.deleteTFoot = Symbol("dartx.deleteTFoot"), - $deleteTHead: dartx.deleteTHead = Symbol("dartx.deleteTHead"), - _cells: dart.privateName(html$, "_cells"), - $cells: dartx.cells = Symbol("dartx.cells"), - $insertCell: dartx.insertCell = Symbol("dartx.insertCell"), - $addCell: dartx.addCell = Symbol("dartx.addCell"), - _insertCell: dart.privateName(html$, "_insertCell"), - $sectionRowIndex: dartx.sectionRowIndex = Symbol("dartx.sectionRowIndex"), - $deleteCell: dartx.deleteCell = Symbol("dartx.deleteCell"), - $containerId: dartx.containerId = Symbol("dartx.containerId"), - $containerName: dartx.containerName = Symbol("dartx.containerName"), - $containerSrc: dartx.containerSrc = Symbol("dartx.containerSrc"), - $containerType: dartx.containerType = Symbol("dartx.containerType"), - $cols: dartx.cols = Symbol("dartx.cols"), - $textLength: dartx.textLength = Symbol("dartx.textLength"), - $wrap: dartx.wrap = Symbol("dartx.wrap"), - _initTextEvent: dart.privateName(html$, "_initTextEvent"), - $actualBoundingBoxAscent: dartx.actualBoundingBoxAscent = Symbol("dartx.actualBoundingBoxAscent"), - $actualBoundingBoxDescent: dartx.actualBoundingBoxDescent = Symbol("dartx.actualBoundingBoxDescent"), - $actualBoundingBoxLeft: dartx.actualBoundingBoxLeft = Symbol("dartx.actualBoundingBoxLeft"), - $actualBoundingBoxRight: dartx.actualBoundingBoxRight = Symbol("dartx.actualBoundingBoxRight"), - $alphabeticBaseline: dartx.alphabeticBaseline = Symbol("dartx.alphabeticBaseline"), - $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"), - $hangingBaseline: dartx.hangingBaseline = Symbol("dartx.hangingBaseline"), - $ideographicBaseline: dartx.ideographicBaseline = Symbol("dartx.ideographicBaseline"), - $activeCues: dartx.activeCues = Symbol("dartx.activeCues"), - $cues: dartx.cues = Symbol("dartx.cues"), - $addCue: dartx.addCue = Symbol("dartx.addCue"), - $removeCue: dartx.removeCue = Symbol("dartx.removeCue"), - $onCueChange: dartx.onCueChange = Symbol("dartx.onCueChange"), - $endTime: dartx.endTime = Symbol("dartx.endTime"), - $pauseOnExit: dartx.pauseOnExit = Symbol("dartx.pauseOnExit"), - $onEnter: dartx.onEnter = Symbol("dartx.onEnter"), - $onExit: dartx.onExit = Symbol("dartx.onExit"), - $getCueById: dartx.getCueById = Symbol("dartx.getCueById"), - $end: dartx.end = Symbol("dartx.end"), - $force: dartx.force = Symbol("dartx.force"), - $identifier: dartx.identifier = Symbol("dartx.identifier"), - _radiusX: dart.privateName(html$, "_radiusX"), - _radiusY: dart.privateName(html$, "_radiusY"), - $rotationAngle: dartx.rotationAngle = Symbol("dartx.rotationAngle"), - __clientX: dart.privateName(html$, "__clientX"), - __clientY: dart.privateName(html$, "__clientY"), - __screenX: dart.privateName(html$, "__screenX"), - __screenY: dart.privateName(html$, "__screenY"), - __pageX: dart.privateName(html$, "__pageX"), - __pageY: dart.privateName(html$, "__pageY"), - __radiusX: dart.privateName(html$, "__radiusX"), - __radiusY: dart.privateName(html$, "__radiusY"), - $radiusX: dartx.radiusX = Symbol("dartx.radiusX"), - $radiusY: dartx.radiusY = Symbol("dartx.radiusY"), - $changedTouches: dartx.changedTouches = Symbol("dartx.changedTouches"), - $targetTouches: dartx.targetTouches = Symbol("dartx.targetTouches"), - $touches: dartx.touches = Symbol("dartx.touches"), - $byteStreamTrackID: dartx.byteStreamTrackID = Symbol("dartx.byteStreamTrackID"), - $kinds: dartx.kinds = Symbol("dartx.kinds"), - $srclang: dartx.srclang = Symbol("dartx.srclang"), - $propertyName: dartx.propertyName = Symbol("dartx.propertyName"), - $pseudoElement: dartx.pseudoElement = Symbol("dartx.pseudoElement"), - $currentNode: dartx.currentNode = Symbol("dartx.currentNode"), - $notifyLockAcquired: dartx.notifyLockAcquired = Symbol("dartx.notifyLockAcquired"), - $notifyLockReleased: dartx.notifyLockReleased = Symbol("dartx.notifyLockReleased"), - $pull: dartx.pull = Symbol("dartx.pull"), - $searchParams: dartx.searchParams = Symbol("dartx.searchParams"), - $getDevices: dartx.getDevices = Symbol("dartx.getDevices"), - $getTransformTo: dartx.getTransformTo = Symbol("dartx.getTransformTo"), - $deviceName: dartx.deviceName = Symbol("dartx.deviceName"), - $isExternal: dartx.isExternal = Symbol("dartx.isExternal"), - $requestSession: dartx.requestSession = Symbol("dartx.requestSession"), - $supportsSession: dartx.supportsSession = Symbol("dartx.supportsSession"), - $device: dartx.device = Symbol("dartx.device"), - $capabilities: dartx.capabilities = Symbol("dartx.capabilities"), - $depthFar: dartx.depthFar = Symbol("dartx.depthFar"), - $depthNear: dartx.depthNear = Symbol("dartx.depthNear"), - $displayName: dartx.displayName = Symbol("dartx.displayName"), - $isPresenting: dartx.isPresenting = Symbol("dartx.isPresenting"), - $stageParameters: dartx.stageParameters = Symbol("dartx.stageParameters"), - $cancelAnimationFrame: dartx.cancelAnimationFrame = Symbol("dartx.cancelAnimationFrame"), - $exitPresent: dartx.exitPresent = Symbol("dartx.exitPresent"), - $getEyeParameters: dartx.getEyeParameters = Symbol("dartx.getEyeParameters"), - $getFrameData: dartx.getFrameData = Symbol("dartx.getFrameData"), - $getLayers: dartx.getLayers = Symbol("dartx.getLayers"), - $requestAnimationFrame: dartx.requestAnimationFrame = Symbol("dartx.requestAnimationFrame"), - $requestPresent: dartx.requestPresent = Symbol("dartx.requestPresent"), - $submitFrame: dartx.submitFrame = Symbol("dartx.submitFrame"), - $canPresent: dartx.canPresent = Symbol("dartx.canPresent"), - $hasExternalDisplay: dartx.hasExternalDisplay = Symbol("dartx.hasExternalDisplay"), - $maxLayers: dartx.maxLayers = Symbol("dartx.maxLayers"), - $renderHeight: dartx.renderHeight = Symbol("dartx.renderHeight"), - $renderWidth: dartx.renderWidth = Symbol("dartx.renderWidth"), - $leftProjectionMatrix: dartx.leftProjectionMatrix = Symbol("dartx.leftProjectionMatrix"), - $leftViewMatrix: dartx.leftViewMatrix = Symbol("dartx.leftViewMatrix"), - $rightProjectionMatrix: dartx.rightProjectionMatrix = Symbol("dartx.rightProjectionMatrix"), - $rightViewMatrix: dartx.rightViewMatrix = Symbol("dartx.rightViewMatrix"), - $bounds: dartx.bounds = Symbol("dartx.bounds"), - $emulatedHeight: dartx.emulatedHeight = Symbol("dartx.emulatedHeight"), - $exclusive: dartx.exclusive = Symbol("dartx.exclusive"), - $requestFrameOfReference: dartx.requestFrameOfReference = Symbol("dartx.requestFrameOfReference"), - $session: dartx.session = Symbol("dartx.session"), - $geometry: dartx.geometry = Symbol("dartx.geometry"), - $sittingToStandingTransform: dartx.sittingToStandingTransform = Symbol("dartx.sittingToStandingTransform"), - $sizeX: dartx.sizeX = Symbol("dartx.sizeX"), - $sizeZ: dartx.sizeZ = Symbol("dartx.sizeZ"), - $badInput: dartx.badInput = Symbol("dartx.badInput"), - $customError: dartx.customError = Symbol("dartx.customError"), - $patternMismatch: dartx.patternMismatch = Symbol("dartx.patternMismatch"), - $rangeOverflow: dartx.rangeOverflow = Symbol("dartx.rangeOverflow"), - $rangeUnderflow: dartx.rangeUnderflow = Symbol("dartx.rangeUnderflow"), - $stepMismatch: dartx.stepMismatch = Symbol("dartx.stepMismatch"), - $tooLong: dartx.tooLong = Symbol("dartx.tooLong"), - $tooShort: dartx.tooShort = Symbol("dartx.tooShort"), - $typeMismatch: dartx.typeMismatch = Symbol("dartx.typeMismatch"), - $valid: dartx.valid = Symbol("dartx.valid"), - $valueMissing: dartx.valueMissing = Symbol("dartx.valueMissing"), - $poster: dartx.poster = Symbol("dartx.poster"), - $videoHeight: dartx.videoHeight = Symbol("dartx.videoHeight"), - $videoWidth: dartx.videoWidth = Symbol("dartx.videoWidth"), - $decodedFrameCount: dartx.decodedFrameCount = Symbol("dartx.decodedFrameCount"), - $droppedFrameCount: dartx.droppedFrameCount = Symbol("dartx.droppedFrameCount"), - $getVideoPlaybackQuality: dartx.getVideoPlaybackQuality = Symbol("dartx.getVideoPlaybackQuality"), - $enterFullscreen: dartx.enterFullscreen = Symbol("dartx.enterFullscreen"), - $corruptedVideoFrames: dartx.corruptedVideoFrames = Symbol("dartx.corruptedVideoFrames"), - $creationTime: dartx.creationTime = Symbol("dartx.creationTime"), - $droppedVideoFrames: dartx.droppedVideoFrames = Symbol("dartx.droppedVideoFrames"), - $totalVideoFrames: dartx.totalVideoFrames = Symbol("dartx.totalVideoFrames"), - $sourceBuffer: dartx.sourceBuffer = Symbol("dartx.sourceBuffer"), - $pageLeft: dartx.pageLeft = Symbol("dartx.pageLeft"), - $pageTop: dartx.pageTop = Symbol("dartx.pageTop"), - $align: dartx.align = Symbol("dartx.align"), - $line: dartx.line = Symbol("dartx.line"), - $snapToLines: dartx.snapToLines = Symbol("dartx.snapToLines"), - $vertical: dartx.vertical = Symbol("dartx.vertical"), - $getCueAsHtml: dartx.getCueAsHtml = Symbol("dartx.getCueAsHtml"), - $lines: dartx.lines = Symbol("dartx.lines"), - $regionAnchorX: dartx.regionAnchorX = Symbol("dartx.regionAnchorX"), - $regionAnchorY: dartx.regionAnchorY = Symbol("dartx.regionAnchorY"), - $viewportAnchorX: dartx.viewportAnchorX = Symbol("dartx.viewportAnchorX"), - $viewportAnchorY: dartx.viewportAnchorY = Symbol("dartx.viewportAnchorY"), - $extensions: dartx.extensions = Symbol("dartx.extensions"), - _deltaX: dart.privateName(html$, "_deltaX"), - _deltaY: dart.privateName(html$, "_deltaY"), - $deltaZ: dartx.deltaZ = Symbol("dartx.deltaZ"), - $deltaMode: dartx.deltaMode = Symbol("dartx.deltaMode"), - _wheelDelta: dart.privateName(html$, "_wheelDelta"), - _wheelDeltaX: dart.privateName(html$, "_wheelDeltaX"), - _hasInitMouseScrollEvent: dart.privateName(html$, "_hasInitMouseScrollEvent"), - _initMouseScrollEvent: dart.privateName(html$, "_initMouseScrollEvent"), - _hasInitWheelEvent: dart.privateName(html$, "_hasInitWheelEvent"), - _initWheelEvent: dart.privateName(html$, "_initWheelEvent"), - $animationFrame: dartx.animationFrame = Symbol("dartx.animationFrame"), - $document: dartx.document = Symbol("dartx.document"), - _open2: dart.privateName(html$, "_open2"), - _open3: dart.privateName(html$, "_open3"), - _location: dart.privateName(html$, "_location"), - _ensureRequestAnimationFrame: dart.privateName(html$, "_ensureRequestAnimationFrame"), - _requestAnimationFrame: dart.privateName(html$, "_requestAnimationFrame"), - _cancelAnimationFrame: dart.privateName(html$, "_cancelAnimationFrame"), - _requestFileSystem: dart.privateName(html$, "_requestFileSystem"), - $requestFileSystem: dartx.requestFileSystem = Symbol("dartx.requestFileSystem"), - $animationWorklet: dartx.animationWorklet = Symbol("dartx.animationWorklet"), - $applicationCache: dartx.applicationCache = Symbol("dartx.applicationCache"), - $audioWorklet: dartx.audioWorklet = Symbol("dartx.audioWorklet"), - $cookieStore: dartx.cookieStore = Symbol("dartx.cookieStore"), - $customElements: dartx.customElements = Symbol("dartx.customElements"), - $defaultStatus: dartx.defaultStatus = Symbol("dartx.defaultStatus"), - $defaultstatus: dartx.defaultstatus = Symbol("dartx.defaultstatus"), - $external: dartx.external = Symbol("dartx.external"), - $history: dartx.history = Symbol("dartx.history"), - $innerHeight: dartx.innerHeight = Symbol("dartx.innerHeight"), - $innerWidth: dartx.innerWidth = Symbol("dartx.innerWidth"), - $localStorage: dartx.localStorage = Symbol("dartx.localStorage"), - $locationbar: dartx.locationbar = Symbol("dartx.locationbar"), - $menubar: dartx.menubar = Symbol("dartx.menubar"), - $offscreenBuffering: dartx.offscreenBuffering = Symbol("dartx.offscreenBuffering"), - _get_opener: dart.privateName(html$, "_get_opener"), - $opener: dartx.opener = Symbol("dartx.opener"), - $outerHeight: dartx.outerHeight = Symbol("dartx.outerHeight"), - $outerWidth: dartx.outerWidth = Symbol("dartx.outerWidth"), - _pageXOffset: dart.privateName(html$, "_pageXOffset"), - _pageYOffset: dart.privateName(html$, "_pageYOffset"), - _get_parent: dart.privateName(html$, "_get_parent"), - $screenLeft: dartx.screenLeft = Symbol("dartx.screenLeft"), - $screenTop: dartx.screenTop = Symbol("dartx.screenTop"), - $screenX: dartx.screenX = Symbol("dartx.screenX"), - $screenY: dartx.screenY = Symbol("dartx.screenY"), - $scrollbars: dartx.scrollbars = Symbol("dartx.scrollbars"), - _get_self: dart.privateName(html$, "_get_self"), - $sessionStorage: dartx.sessionStorage = Symbol("dartx.sessionStorage"), - $speechSynthesis: dartx.speechSynthesis = Symbol("dartx.speechSynthesis"), - $statusbar: dartx.statusbar = Symbol("dartx.statusbar"), - $styleMedia: dartx.styleMedia = Symbol("dartx.styleMedia"), - $toolbar: dartx.toolbar = Symbol("dartx.toolbar"), - _get_top: dart.privateName(html$, "_get_top"), - $visualViewport: dartx.visualViewport = Symbol("dartx.visualViewport"), - __getter___1: dart.privateName(html$, "__getter___1"), - __getter___2: dart.privateName(html$, "__getter___2"), - $alert: dartx.alert = Symbol("dartx.alert"), - $cancelIdleCallback: dartx.cancelIdleCallback = Symbol("dartx.cancelIdleCallback"), - $confirm: dartx.confirm = Symbol("dartx.confirm"), - $find: dartx.find = Symbol("dartx.find"), - $getComputedStyleMap: dartx.getComputedStyleMap = Symbol("dartx.getComputedStyleMap"), - $getMatchedCssRules: dartx.getMatchedCssRules = Symbol("dartx.getMatchedCssRules"), - $matchMedia: dartx.matchMedia = Symbol("dartx.matchMedia"), - $moveBy: dartx.moveBy = Symbol("dartx.moveBy"), - $print: dartx.print = Symbol("dartx.print"), - _requestIdleCallback_1: dart.privateName(html$, "_requestIdleCallback_1"), - _requestIdleCallback_2: dart.privateName(html$, "_requestIdleCallback_2"), - $requestIdleCallback: dartx.requestIdleCallback = Symbol("dartx.requestIdleCallback"), - $resizeBy: dartx.resizeBy = Symbol("dartx.resizeBy"), - $resizeTo: dartx.resizeTo = Symbol("dartx.resizeTo"), - _scroll_4: dart.privateName(html$, "_scroll_4"), - _scroll_5: dart.privateName(html$, "_scroll_5"), - _scrollBy_4: dart.privateName(html$, "_scrollBy_4"), - _scrollBy_5: dart.privateName(html$, "_scrollBy_5"), - _scrollTo_4: dart.privateName(html$, "_scrollTo_4"), - _scrollTo_5: dart.privateName(html$, "_scrollTo_5"), - __requestFileSystem: dart.privateName(html$, "__requestFileSystem"), - _resolveLocalFileSystemUrl: dart.privateName(html$, "_resolveLocalFileSystemUrl"), - $resolveLocalFileSystemUrl: dartx.resolveLocalFileSystemUrl = Symbol("dartx.resolveLocalFileSystemUrl"), - $onContentLoaded: dartx.onContentLoaded = Symbol("dartx.onContentLoaded"), - $onDeviceMotion: dartx.onDeviceMotion = Symbol("dartx.onDeviceMotion"), - $onDeviceOrientation: dartx.onDeviceOrientation = Symbol("dartx.onDeviceOrientation"), - $onPageHide: dartx.onPageHide = Symbol("dartx.onPageHide"), - $onPageShow: dartx.onPageShow = Symbol("dartx.onPageShow"), - $onAnimationEnd: dartx.onAnimationEnd = Symbol("dartx.onAnimationEnd"), - $onAnimationIteration: dartx.onAnimationIteration = Symbol("dartx.onAnimationIteration"), - $onAnimationStart: dartx.onAnimationStart = Symbol("dartx.onAnimationStart"), - $onBeforeUnload: dartx.onBeforeUnload = Symbol("dartx.onBeforeUnload"), - $pageXOffset: dartx.pageXOffset = Symbol("dartx.pageXOffset"), - $pageYOffset: dartx.pageYOffset = Symbol("dartx.pageYOffset"), - $scrollX: dartx.scrollX = Symbol("dartx.scrollX"), - $scrollY: dartx.scrollY = Symbol("dartx.scrollY"), - $focused: dartx.focused = Symbol("dartx.focused"), - $navigate: dartx.navigate = Symbol("dartx.navigate"), - $createExpression: dartx.createExpression = Symbol("dartx.createExpression"), - $createNSResolver: dartx.createNSResolver = Symbol("dartx.createNSResolver"), - $evaluate: dartx.evaluate = Symbol("dartx.evaluate"), - $lookupNamespaceUri: dartx.lookupNamespaceUri = Symbol("dartx.lookupNamespaceUri"), - $booleanValue: dartx.booleanValue = Symbol("dartx.booleanValue"), - $invalidIteratorState: dartx.invalidIteratorState = Symbol("dartx.invalidIteratorState"), - $numberValue: dartx.numberValue = Symbol("dartx.numberValue"), - $resultType: dartx.resultType = Symbol("dartx.resultType"), - $singleNodeValue: dartx.singleNodeValue = Symbol("dartx.singleNodeValue"), - $snapshotLength: dartx.snapshotLength = Symbol("dartx.snapshotLength"), - $stringValue: dartx.stringValue = Symbol("dartx.stringValue"), - $iterateNext: dartx.iterateNext = Symbol("dartx.iterateNext"), - $snapshotItem: dartx.snapshotItem = Symbol("dartx.snapshotItem"), - $serializeToString: dartx.serializeToString = Symbol("dartx.serializeToString"), - $clearParameters: dartx.clearParameters = Symbol("dartx.clearParameters"), - $getParameter: dartx.getParameter = Symbol("dartx.getParameter"), - $importStylesheet: dartx.importStylesheet = Symbol("dartx.importStylesheet"), - $removeParameter: dartx.removeParameter = Symbol("dartx.removeParameter"), - $setParameter: dartx.setParameter = Symbol("dartx.setParameter"), - $transformToDocument: dartx.transformToDocument = Symbol("dartx.transformToDocument"), - $transformToFragment: dartx.transformToFragment = Symbol("dartx.transformToFragment"), - $getBudget: dartx.getBudget = Symbol("dartx.getBudget"), - $getCost: dartx.getCost = Symbol("dartx.getCost"), - $reserve: dartx.reserve = Symbol("dartx.reserve"), - $read: dartx.read = Symbol("dartx.read"), - $readText: dartx.readText = Symbol("dartx.readText"), - $writeText: dartx.writeText = Symbol("dartx.writeText"), - $getNamedItem: dartx.getNamedItem = Symbol("dartx.getNamedItem"), - $getNamedItemNS: dartx.getNamedItemNS = Symbol("dartx.getNamedItemNS"), - $removeNamedItem: dartx.removeNamedItem = Symbol("dartx.removeNamedItem"), - $removeNamedItemNS: dartx.removeNamedItemNS = Symbol("dartx.removeNamedItemNS"), - $setNamedItem: dartx.setNamedItem = Symbol("dartx.setNamedItem"), - $setNamedItemNS: dartx.setNamedItemNS = Symbol("dartx.setNamedItemNS"), - $cache: dartx.cache = Symbol("dartx.cache"), - $redirect: dartx.redirect = Symbol("dartx.redirect"), - _matches: dart.privateName(html$, "_matches"), - _namespace: dart.privateName(html$, "_namespace"), - _attr: dart.privateName(html$, "_attr"), - _strip: dart.privateName(html$, "_strip"), - _toHyphenedName: dart.privateName(html$, "_toHyphenedName"), - _toCamelCase: dart.privateName(html$, "_toCamelCase"), - _addOrSubtractToBoxModel: dart.privateName(html$, "_addOrSubtractToBoxModel"), - _elementList: dart.privateName(html$, "_elementList"), - _sets: dart.privateName(html$, "_sets"), - _validateToken: dart.privateName(html_common, "_validateToken"), - _unit: dart.privateName(html$, "_unit"), - _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"), - _pauseCount$1: dart.privateName(html$, "_pauseCount"), - _onData$3: dart.privateName(html$, "_onData"), - _tryResume: dart.privateName(html$, "_tryResume"), - _canceled: dart.privateName(html$, "_canceled"), - _unlisten: dart.privateName(html$, "_unlisten"), - _type$5: dart.privateName(html$, "_type"), - _streamController: dart.privateName(html$, "_streamController"), - _parent$2: dart.privateName(html$, "_parent"), - _currentTarget: dart.privateName(html$, "_currentTarget"), - _shadowAltKey: dart.privateName(html$, "_shadowAltKey"), - _shadowCharCode: dart.privateName(html$, "_shadowCharCode"), - _shadowKeyCode: dart.privateName(html$, "_shadowKeyCode"), - _realAltKey: dart.privateName(html$, "_realAltKey"), - _realCharCode: dart.privateName(html$, "_realCharCode"), - _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"), - _eventTypeGetter$1: dart.privateName(html$, "_eventTypeGetter"), - _keyDownList: dart.privateName(html$, "_keyDownList"), - _stream$3: dart.privateName(html$, "_stream"), - _capsLockOn: dart.privateName(html$, "_capsLockOn"), - _determineKeyCodeForKeypress: dart.privateName(html$, "_determineKeyCodeForKeypress"), - _findCharCodeKeyDown: dart.privateName(html$, "_findCharCodeKeyDown"), - _firesKeyPressEvent: dart.privateName(html$, "_firesKeyPressEvent"), - _normalizeKeyCodes: dart.privateName(html$, "_normalizeKeyCodes"), - _validators: dart.privateName(html$, "_validators"), - _templateAttrs: dart.privateName(html$, "_templateAttrs"), - _list$19: dart.privateName(html$, "_list"), - _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"), - _constructor: dart.privateName(html$, "_constructor"), - _nativeType: dart.privateName(html$, "_nativeType"), - _window: dart.privateName(html$, "_window"), - _history: dart.privateName(html$, "_history"), - _hiddenAnchor: dart.privateName(html$, "_hiddenAnchor"), - _loc: dart.privateName(html$, "_loc"), - _removeNode: dart.privateName(html$, "_removeNode"), - _sanitizeElement: dart.privateName(html$, "_sanitizeElement"), - _sanitizeUntrustedElement: dart.privateName(html$, "_sanitizeUntrustedElement"), - alpha: dart.privateName(html_common, "ContextAttributes.alpha"), - antialias: dart.privateName(html_common, "ContextAttributes.antialias"), - depth: dart.privateName(html_common, "ContextAttributes.depth"), - premultipliedAlpha: dart.privateName(html_common, "ContextAttributes.premultipliedAlpha"), - preserveDrawingBuffer: dart.privateName(html_common, "ContextAttributes.preserveDrawingBuffer"), - stencil: dart.privateName(html_common, "ContextAttributes.stencil"), - failIfMajorPerformanceCaveat: dart.privateName(html_common, "ContextAttributes.failIfMajorPerformanceCaveat"), - 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"), - _node: dart.privateName(html_common, "_node"), - _iterable$2: dart.privateName(html_common, "_iterable"), - _filtered: dart.privateName(html_common, "_filtered"), - $farthestViewportElement: dartx.farthestViewportElement = Symbol("dartx.farthestViewportElement"), - $nearestViewportElement: dartx.nearestViewportElement = Symbol("dartx.nearestViewportElement"), - $getBBox: dartx.getBBox = Symbol("dartx.getBBox"), - $getCtm: dartx.getCtm = Symbol("dartx.getCtm"), - $getScreenCtm: dartx.getScreenCtm = Symbol("dartx.getScreenCtm"), - $requiredExtensions: dartx.requiredExtensions = Symbol("dartx.requiredExtensions"), - $systemLanguage: dartx.systemLanguage = Symbol("dartx.systemLanguage"), - _children$1: dart.privateName(svg$, "_children"), - _svgClassName: dart.privateName(svg$, "_svgClassName"), - $ownerSvgElement: dartx.ownerSvgElement = Symbol("dartx.ownerSvgElement"), - $viewportElement: dartx.viewportElement = Symbol("dartx.viewportElement"), - $unitType: dartx.unitType = Symbol("dartx.unitType"), - $valueAsString: dartx.valueAsString = Symbol("dartx.valueAsString"), - $valueInSpecifiedUnits: dartx.valueInSpecifiedUnits = Symbol("dartx.valueInSpecifiedUnits"), - $convertToSpecifiedUnits: dartx.convertToSpecifiedUnits = Symbol("dartx.convertToSpecifiedUnits"), - $newValueSpecifiedUnits: dartx.newValueSpecifiedUnits = Symbol("dartx.newValueSpecifiedUnits"), - $targetElement: dartx.targetElement = Symbol("dartx.targetElement"), - $beginElement: dartx.beginElement = Symbol("dartx.beginElement"), - $beginElementAt: dartx.beginElementAt = Symbol("dartx.beginElementAt"), - $endElement: dartx.endElement = Symbol("dartx.endElement"), - $endElementAt: dartx.endElementAt = Symbol("dartx.endElementAt"), - $getCurrentTime: dartx.getCurrentTime = Symbol("dartx.getCurrentTime"), - $getSimpleDuration: dartx.getSimpleDuration = Symbol("dartx.getSimpleDuration"), - $getStartTime: dartx.getStartTime = Symbol("dartx.getStartTime"), - $animVal: dartx.animVal = Symbol("dartx.animVal"), - $baseVal: dartx.baseVal = Symbol("dartx.baseVal"), - $cx: dartx.cx = Symbol("dartx.cx"), - $cy: dartx.cy = Symbol("dartx.cy"), - $r: dartx.r = Symbol("dartx.r"), - $pathLength: dartx.pathLength = Symbol("dartx.pathLength"), - $getPointAtLength: dartx.getPointAtLength = Symbol("dartx.getPointAtLength"), - $getTotalLength: dartx.getTotalLength = Symbol("dartx.getTotalLength"), - $isPointInFill: dartx.isPointInFill = Symbol("dartx.isPointInFill"), - $clipPathUnits: dartx.clipPathUnits = Symbol("dartx.clipPathUnits"), - $rx: dartx.rx = Symbol("dartx.rx"), - $ry: dartx.ry = Symbol("dartx.ry"), - $in1: dartx.in1 = Symbol("dartx.in1"), - $in2: dartx.in2 = Symbol("dartx.in2"), - $k1: dartx.k1 = Symbol("dartx.k1"), - $k2: dartx.k2 = Symbol("dartx.k2"), - $k3: dartx.k3 = Symbol("dartx.k3"), - $k4: dartx.k4 = Symbol("dartx.k4"), - $operator: dartx.operator = Symbol("dartx.operator"), - $bias: dartx.bias = Symbol("dartx.bias"), - $divisor: dartx.divisor = Symbol("dartx.divisor"), - $edgeMode: dartx.edgeMode = Symbol("dartx.edgeMode"), - $kernelMatrix: dartx.kernelMatrix = Symbol("dartx.kernelMatrix"), - $kernelUnitLengthX: dartx.kernelUnitLengthX = Symbol("dartx.kernelUnitLengthX"), - $kernelUnitLengthY: dartx.kernelUnitLengthY = Symbol("dartx.kernelUnitLengthY"), - $orderX: dartx.orderX = Symbol("dartx.orderX"), - $orderY: dartx.orderY = Symbol("dartx.orderY"), - $preserveAlpha: dartx.preserveAlpha = Symbol("dartx.preserveAlpha"), - $targetX: dartx.targetX = Symbol("dartx.targetX"), - $targetY: dartx.targetY = Symbol("dartx.targetY"), - $diffuseConstant: dartx.diffuseConstant = Symbol("dartx.diffuseConstant"), - $surfaceScale: dartx.surfaceScale = Symbol("dartx.surfaceScale"), - $xChannelSelector: dartx.xChannelSelector = Symbol("dartx.xChannelSelector"), - $yChannelSelector: dartx.yChannelSelector = Symbol("dartx.yChannelSelector"), - $azimuth: dartx.azimuth = Symbol("dartx.azimuth"), - $elevation: dartx.elevation = Symbol("dartx.elevation"), - $stdDeviationX: dartx.stdDeviationX = Symbol("dartx.stdDeviationX"), - $stdDeviationY: dartx.stdDeviationY = Symbol("dartx.stdDeviationY"), - $setStdDeviation: dartx.setStdDeviation = Symbol("dartx.setStdDeviation"), - $preserveAspectRatio: dartx.preserveAspectRatio = Symbol("dartx.preserveAspectRatio"), - $dx: dartx.dx = Symbol("dartx.dx"), - $dy: dartx.dy = Symbol("dartx.dy"), - $specularConstant: dartx.specularConstant = Symbol("dartx.specularConstant"), - $specularExponent: dartx.specularExponent = Symbol("dartx.specularExponent"), - $limitingConeAngle: dartx.limitingConeAngle = Symbol("dartx.limitingConeAngle"), - $pointsAtX: dartx.pointsAtX = Symbol("dartx.pointsAtX"), - $pointsAtY: dartx.pointsAtY = Symbol("dartx.pointsAtY"), - $pointsAtZ: dartx.pointsAtZ = Symbol("dartx.pointsAtZ"), - $baseFrequencyX: dartx.baseFrequencyX = Symbol("dartx.baseFrequencyX"), - $baseFrequencyY: dartx.baseFrequencyY = Symbol("dartx.baseFrequencyY"), - $numOctaves: dartx.numOctaves = Symbol("dartx.numOctaves"), - $seed: dartx.seed = Symbol("dartx.seed"), - $stitchTiles: dartx.stitchTiles = Symbol("dartx.stitchTiles"), - $filterUnits: dartx.filterUnits = Symbol("dartx.filterUnits"), - $primitiveUnits: dartx.primitiveUnits = Symbol("dartx.primitiveUnits"), - $viewBox: dartx.viewBox = Symbol("dartx.viewBox"), - $numberOfItems: dartx.numberOfItems = Symbol("dartx.numberOfItems"), - __setter__$1: dart.privateName(svg$, "__setter__"), - $appendItem: dartx.appendItem = Symbol("dartx.appendItem"), - $getItem: dartx.getItem = Symbol("dartx.getItem"), - $initialize: dartx.initialize = Symbol("dartx.initialize"), - $insertItemBefore: dartx.insertItemBefore = Symbol("dartx.insertItemBefore"), - $removeItem: dartx.removeItem = Symbol("dartx.removeItem"), - $replaceItem: dartx.replaceItem = Symbol("dartx.replaceItem"), - $x1: dartx.x1 = Symbol("dartx.x1"), - $x2: dartx.x2 = Symbol("dartx.x2"), - $y1: dartx.y1 = Symbol("dartx.y1"), - $y2: dartx.y2 = Symbol("dartx.y2"), - $gradientTransform: dartx.gradientTransform = Symbol("dartx.gradientTransform"), - $gradientUnits: dartx.gradientUnits = Symbol("dartx.gradientUnits"), - $spreadMethod: dartx.spreadMethod = Symbol("dartx.spreadMethod"), - $markerHeight: dartx.markerHeight = Symbol("dartx.markerHeight"), - $markerUnits: dartx.markerUnits = Symbol("dartx.markerUnits"), - $markerWidth: dartx.markerWidth = Symbol("dartx.markerWidth"), - $orientAngle: dartx.orientAngle = Symbol("dartx.orientAngle"), - $orientType: dartx.orientType = Symbol("dartx.orientType"), - $refX: dartx.refX = Symbol("dartx.refX"), - $refY: dartx.refY = Symbol("dartx.refY"), - $setOrientToAngle: dartx.setOrientToAngle = Symbol("dartx.setOrientToAngle"), - $setOrientToAuto: dartx.setOrientToAuto = Symbol("dartx.setOrientToAuto"), - $maskContentUnits: dartx.maskContentUnits = Symbol("dartx.maskContentUnits"), - $maskUnits: dartx.maskUnits = Symbol("dartx.maskUnits"), - $scaleNonUniform: dartx.scaleNonUniform = Symbol("dartx.scaleNonUniform"), - $patternContentUnits: dartx.patternContentUnits = Symbol("dartx.patternContentUnits"), - $patternTransform: dartx.patternTransform = Symbol("dartx.patternTransform"), - $patternUnits: dartx.patternUnits = Symbol("dartx.patternUnits"), - $animatedPoints: dartx.animatedPoints = Symbol("dartx.animatedPoints"), - $points: dartx.points = Symbol("dartx.points"), - $meetOrSlice: dartx.meetOrSlice = Symbol("dartx.meetOrSlice"), - $fr: dartx.fr = Symbol("dartx.fr"), - $fx: dartx.fx = Symbol("dartx.fx"), - $fy: dartx.fy = Symbol("dartx.fy"), - $gradientOffset: dartx.gradientOffset = Symbol("dartx.gradientOffset"), - _element$1: dart.privateName(svg$, "_element"), - $currentScale: dartx.currentScale = Symbol("dartx.currentScale"), - $currentTranslate: dartx.currentTranslate = Symbol("dartx.currentTranslate"), - $animationsPaused: dartx.animationsPaused = Symbol("dartx.animationsPaused"), - $checkEnclosure: dartx.checkEnclosure = Symbol("dartx.checkEnclosure"), - $checkIntersection: dartx.checkIntersection = Symbol("dartx.checkIntersection"), - $createSvgAngle: dartx.createSvgAngle = Symbol("dartx.createSvgAngle"), - $createSvgLength: dartx.createSvgLength = Symbol("dartx.createSvgLength"), - $createSvgMatrix: dartx.createSvgMatrix = Symbol("dartx.createSvgMatrix"), - $createSvgNumber: dartx.createSvgNumber = Symbol("dartx.createSvgNumber"), - $createSvgPoint: dartx.createSvgPoint = Symbol("dartx.createSvgPoint"), - $createSvgRect: dartx.createSvgRect = Symbol("dartx.createSvgRect"), - $createSvgTransform: dartx.createSvgTransform = Symbol("dartx.createSvgTransform"), - $createSvgTransformFromMatrix: dartx.createSvgTransformFromMatrix = Symbol("dartx.createSvgTransformFromMatrix"), - $deselectAll: dartx.deselectAll = Symbol("dartx.deselectAll"), - $forceRedraw: dartx.forceRedraw = Symbol("dartx.forceRedraw"), - $getEnclosureList: dartx.getEnclosureList = Symbol("dartx.getEnclosureList"), - $getIntersectionList: dartx.getIntersectionList = Symbol("dartx.getIntersectionList"), - $pauseAnimations: dartx.pauseAnimations = Symbol("dartx.pauseAnimations"), - $setCurrentTime: dartx.setCurrentTime = Symbol("dartx.setCurrentTime"), - $suspendRedraw: dartx.suspendRedraw = Symbol("dartx.suspendRedraw"), - $unpauseAnimations: dartx.unpauseAnimations = Symbol("dartx.unpauseAnimations"), - $unsuspendRedraw: dartx.unsuspendRedraw = Symbol("dartx.unsuspendRedraw"), - $unsuspendRedrawAll: dartx.unsuspendRedrawAll = Symbol("dartx.unsuspendRedrawAll"), - $zoomAndPan: dartx.zoomAndPan = Symbol("dartx.zoomAndPan"), - $lengthAdjust: dartx.lengthAdjust = Symbol("dartx.lengthAdjust"), - $getCharNumAtPosition: dartx.getCharNumAtPosition = Symbol("dartx.getCharNumAtPosition"), - $getComputedTextLength: dartx.getComputedTextLength = Symbol("dartx.getComputedTextLength"), - $getEndPositionOfChar: dartx.getEndPositionOfChar = Symbol("dartx.getEndPositionOfChar"), - $getExtentOfChar: dartx.getExtentOfChar = Symbol("dartx.getExtentOfChar"), - $getNumberOfChars: dartx.getNumberOfChars = Symbol("dartx.getNumberOfChars"), - $getRotationOfChar: dartx.getRotationOfChar = Symbol("dartx.getRotationOfChar"), - $getStartPositionOfChar: dartx.getStartPositionOfChar = Symbol("dartx.getStartPositionOfChar"), - $getSubStringLength: dartx.getSubStringLength = Symbol("dartx.getSubStringLength"), - $selectSubString: dartx.selectSubString = Symbol("dartx.selectSubString"), - $spacing: dartx.spacing = Symbol("dartx.spacing"), - $setMatrix: dartx.setMatrix = Symbol("dartx.setMatrix"), - $setRotate: dartx.setRotate = Symbol("dartx.setRotate"), - $setScale: dartx.setScale = Symbol("dartx.setScale"), - $setSkewX: dartx.setSkewX = Symbol("dartx.setSkewX"), - $setSkewY: dartx.setSkewY = Symbol("dartx.setSkewY"), - $setTranslate: dartx.setTranslate = Symbol("dartx.setTranslate"), - $consolidate: dartx.consolidate = Symbol("dartx.consolidate"), - $fftSize: dartx.fftSize = Symbol("dartx.fftSize"), - $frequencyBinCount: dartx.frequencyBinCount = Symbol("dartx.frequencyBinCount"), - $maxDecibels: dartx.maxDecibels = Symbol("dartx.maxDecibels"), - $minDecibels: dartx.minDecibels = Symbol("dartx.minDecibels"), - $smoothingTimeConstant: dartx.smoothingTimeConstant = Symbol("dartx.smoothingTimeConstant"), - $getByteFrequencyData: dartx.getByteFrequencyData = Symbol("dartx.getByteFrequencyData"), - $getByteTimeDomainData: dartx.getByteTimeDomainData = Symbol("dartx.getByteTimeDomainData"), - $getFloatFrequencyData: dartx.getFloatFrequencyData = Symbol("dartx.getFloatFrequencyData"), - $getFloatTimeDomainData: dartx.getFloatTimeDomainData = Symbol("dartx.getFloatTimeDomainData"), - $channelCount: dartx.channelCount = Symbol("dartx.channelCount"), - $channelCountMode: dartx.channelCountMode = Symbol("dartx.channelCountMode"), - $channelInterpretation: dartx.channelInterpretation = Symbol("dartx.channelInterpretation"), - $context: dartx.context = Symbol("dartx.context"), - $numberOfInputs: dartx.numberOfInputs = Symbol("dartx.numberOfInputs"), - $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"), - $numberOfChannels: dartx.numberOfChannels = Symbol("dartx.numberOfChannels"), - $sampleRate: dartx.sampleRate = Symbol("dartx.sampleRate"), - $copyFromChannel: dartx.copyFromChannel = Symbol("dartx.copyFromChannel"), - $copyToChannel: dartx.copyToChannel = Symbol("dartx.copyToChannel"), - $getChannelData: dartx.getChannelData = Symbol("dartx.getChannelData"), - $detune: dartx.detune = Symbol("dartx.detune"), - $loopEnd: dartx.loopEnd = Symbol("dartx.loopEnd"), - $loopStart: dartx.loopStart = Symbol("dartx.loopStart"), - $start2: dartx.start2 = Symbol("dartx.start2"), - $baseLatency: dartx.baseLatency = Symbol("dartx.baseLatency"), - _getOutputTimestamp_1: dart.privateName(web_audio, "_getOutputTimestamp_1"), - $getOutputTimestamp: dartx.getOutputTimestamp = Symbol("dartx.getOutputTimestamp"), - $suspend: dartx.suspend = Symbol("dartx.suspend"), - $createGain: dartx.createGain = Symbol("dartx.createGain"), - $createScriptProcessor: dartx.createScriptProcessor = Symbol("dartx.createScriptProcessor"), - $decodeAudioData: dartx.decodeAudioData = Symbol("dartx.decodeAudioData"), - $destination: dartx.destination = Symbol("dartx.destination"), - $listener: dartx.listener = Symbol("dartx.listener"), - $createAnalyser: dartx.createAnalyser = Symbol("dartx.createAnalyser"), - $createBiquadFilter: dartx.createBiquadFilter = Symbol("dartx.createBiquadFilter"), - $createBuffer: dartx.createBuffer = Symbol("dartx.createBuffer"), - $createBufferSource: dartx.createBufferSource = Symbol("dartx.createBufferSource"), - $createChannelMerger: dartx.createChannelMerger = Symbol("dartx.createChannelMerger"), - $createChannelSplitter: dartx.createChannelSplitter = Symbol("dartx.createChannelSplitter"), - $createConstantSource: dartx.createConstantSource = Symbol("dartx.createConstantSource"), - $createConvolver: dartx.createConvolver = Symbol("dartx.createConvolver"), - $createDelay: dartx.createDelay = Symbol("dartx.createDelay"), - $createDynamicsCompressor: dartx.createDynamicsCompressor = Symbol("dartx.createDynamicsCompressor"), - $createIirFilter: dartx.createIirFilter = Symbol("dartx.createIirFilter"), - $createMediaElementSource: dartx.createMediaElementSource = Symbol("dartx.createMediaElementSource"), - $createMediaStreamDestination: dartx.createMediaStreamDestination = Symbol("dartx.createMediaStreamDestination"), - $createMediaStreamSource: dartx.createMediaStreamSource = Symbol("dartx.createMediaStreamSource"), - $createOscillator: dartx.createOscillator = Symbol("dartx.createOscillator"), - $createPanner: dartx.createPanner = Symbol("dartx.createPanner"), - _createPeriodicWave_1: dart.privateName(web_audio, "_createPeriodicWave_1"), - _createPeriodicWave_2: dart.privateName(web_audio, "_createPeriodicWave_2"), - $createPeriodicWave: dartx.createPeriodicWave = Symbol("dartx.createPeriodicWave"), - $createStereoPanner: dartx.createStereoPanner = Symbol("dartx.createStereoPanner"), - $createWaveShaper: dartx.createWaveShaper = Symbol("dartx.createWaveShaper"), - $maxChannelCount: dartx.maxChannelCount = Symbol("dartx.maxChannelCount"), - $forwardX: dartx.forwardX = Symbol("dartx.forwardX"), - $forwardY: dartx.forwardY = Symbol("dartx.forwardY"), - $forwardZ: dartx.forwardZ = Symbol("dartx.forwardZ"), - $positionZ: dartx.positionZ = Symbol("dartx.positionZ"), - $upX: dartx.upX = Symbol("dartx.upX"), - $upY: dartx.upY = Symbol("dartx.upY"), - $upZ: dartx.upZ = Symbol("dartx.upZ"), - $setOrientation: dartx.setOrientation = Symbol("dartx.setOrientation"), - $maxValue: dartx.maxValue = Symbol("dartx.maxValue"), - $minValue: dartx.minValue = Symbol("dartx.minValue"), - $cancelAndHoldAtTime: dartx.cancelAndHoldAtTime = Symbol("dartx.cancelAndHoldAtTime"), - $cancelScheduledValues: dartx.cancelScheduledValues = Symbol("dartx.cancelScheduledValues"), - $exponentialRampToValueAtTime: dartx.exponentialRampToValueAtTime = Symbol("dartx.exponentialRampToValueAtTime"), - $linearRampToValueAtTime: dartx.linearRampToValueAtTime = Symbol("dartx.linearRampToValueAtTime"), - $setTargetAtTime: dartx.setTargetAtTime = Symbol("dartx.setTargetAtTime"), - $setValueAtTime: dartx.setValueAtTime = Symbol("dartx.setValueAtTime"), - $setValueCurveAtTime: dartx.setValueCurveAtTime = Symbol("dartx.setValueCurveAtTime"), - _getItem$1: dart.privateName(web_audio, "_getItem"), - $inputBuffer: dartx.inputBuffer = Symbol("dartx.inputBuffer"), - $outputBuffer: dartx.outputBuffer = Symbol("dartx.outputBuffer"), - $playbackTime: dartx.playbackTime = Symbol("dartx.playbackTime"), - __getter__$1: dart.privateName(web_audio, "__getter__"), - $registerProcessor: dartx.registerProcessor = Symbol("dartx.registerProcessor"), - $parameters: dartx.parameters = Symbol("dartx.parameters"), - $Q: dartx.Q = Symbol("dartx.Q"), - $frequency: dartx.frequency = Symbol("dartx.frequency"), - $gain: dartx.gain = Symbol("dartx.gain"), - $getFrequencyResponse: dartx.getFrequencyResponse = Symbol("dartx.getFrequencyResponse"), - $normalize: dartx.normalize = Symbol("dartx.normalize"), - $delayTime: dartx.delayTime = Symbol("dartx.delayTime"), - $attack: dartx.attack = Symbol("dartx.attack"), - $knee: dartx.knee = Symbol("dartx.knee"), - $ratio: dartx.ratio = Symbol("dartx.ratio"), - $reduction: dartx.reduction = Symbol("dartx.reduction"), - $release: dartx.release = Symbol("dartx.release"), - $threshold: dartx.threshold = Symbol("dartx.threshold"), - $mediaElement: dartx.mediaElement = Symbol("dartx.mediaElement"), - $mediaStream: dartx.mediaStream = Symbol("dartx.mediaStream"), - $renderedBuffer: dartx.renderedBuffer = Symbol("dartx.renderedBuffer"), - $startRendering: dartx.startRendering = Symbol("dartx.startRendering"), - $suspendFor: dartx.suspendFor = Symbol("dartx.suspendFor"), - $setPeriodicWave: dartx.setPeriodicWave = Symbol("dartx.setPeriodicWave"), - $coneInnerAngle: dartx.coneInnerAngle = Symbol("dartx.coneInnerAngle"), - $coneOuterAngle: dartx.coneOuterAngle = Symbol("dartx.coneOuterAngle"), - $coneOuterGain: dartx.coneOuterGain = Symbol("dartx.coneOuterGain"), - $distanceModel: dartx.distanceModel = Symbol("dartx.distanceModel"), - $maxDistance: dartx.maxDistance = Symbol("dartx.maxDistance"), - $orientationX: dartx.orientationX = Symbol("dartx.orientationX"), - $orientationY: dartx.orientationY = Symbol("dartx.orientationY"), - $orientationZ: dartx.orientationZ = Symbol("dartx.orientationZ"), - $panningModel: dartx.panningModel = Symbol("dartx.panningModel"), - $refDistance: dartx.refDistance = Symbol("dartx.refDistance"), - $rolloffFactor: dartx.rolloffFactor = Symbol("dartx.rolloffFactor"), - $bufferSize: dartx.bufferSize = Symbol("dartx.bufferSize"), - $setEventListener: dartx.setEventListener = Symbol("dartx.setEventListener"), - $onAudioProcess: dartx.onAudioProcess = Symbol("dartx.onAudioProcess"), - $pan: dartx.pan = Symbol("dartx.pan"), - $curve: dartx.curve = Symbol("dartx.curve"), - $oversample: dartx.oversample = Symbol("dartx.oversample"), - $drawArraysInstancedAngle: dartx.drawArraysInstancedAngle = Symbol("dartx.drawArraysInstancedAngle"), - $drawElementsInstancedAngle: dartx.drawElementsInstancedAngle = Symbol("dartx.drawElementsInstancedAngle"), - $vertexAttribDivisorAngle: dartx.vertexAttribDivisorAngle = Symbol("dartx.vertexAttribDivisorAngle"), - $offscreenCanvas: dartx.offscreenCanvas = Symbol("dartx.offscreenCanvas"), - $statusMessage: dartx.statusMessage = Symbol("dartx.statusMessage"), - $getTranslatedShaderSource: dartx.getTranslatedShaderSource = Symbol("dartx.getTranslatedShaderSource"), - $drawBuffersWebgl: dartx.drawBuffersWebgl = Symbol("dartx.drawBuffersWebgl"), - $beginQueryExt: dartx.beginQueryExt = Symbol("dartx.beginQueryExt"), - $createQueryExt: dartx.createQueryExt = Symbol("dartx.createQueryExt"), - $deleteQueryExt: dartx.deleteQueryExt = Symbol("dartx.deleteQueryExt"), - $endQueryExt: dartx.endQueryExt = Symbol("dartx.endQueryExt"), - $getQueryExt: dartx.getQueryExt = Symbol("dartx.getQueryExt"), - $getQueryObjectExt: dartx.getQueryObjectExt = Symbol("dartx.getQueryObjectExt"), - $isQueryExt: dartx.isQueryExt = Symbol("dartx.isQueryExt"), - $queryCounterExt: dartx.queryCounterExt = Symbol("dartx.queryCounterExt"), - $getBufferSubDataAsync: dartx.getBufferSubDataAsync = Symbol("dartx.getBufferSubDataAsync"), - $loseContext: dartx.loseContext = Symbol("dartx.loseContext"), - $restoreContext: dartx.restoreContext = Symbol("dartx.restoreContext"), - $bindVertexArray: dartx.bindVertexArray = Symbol("dartx.bindVertexArray"), - $createVertexArray: dartx.createVertexArray = Symbol("dartx.createVertexArray"), - $deleteVertexArray: dartx.deleteVertexArray = Symbol("dartx.deleteVertexArray"), - $isVertexArray: dartx.isVertexArray = Symbol("dartx.isVertexArray"), - $drawingBufferHeight: dartx.drawingBufferHeight = Symbol("dartx.drawingBufferHeight"), - $drawingBufferWidth: dartx.drawingBufferWidth = Symbol("dartx.drawingBufferWidth"), - $activeTexture: dartx.activeTexture = Symbol("dartx.activeTexture"), - $attachShader: dartx.attachShader = Symbol("dartx.attachShader"), - $bindAttribLocation: dartx.bindAttribLocation = Symbol("dartx.bindAttribLocation"), - $bindBuffer: dartx.bindBuffer = Symbol("dartx.bindBuffer"), - $bindFramebuffer: dartx.bindFramebuffer = Symbol("dartx.bindFramebuffer"), - $bindRenderbuffer: dartx.bindRenderbuffer = Symbol("dartx.bindRenderbuffer"), - $bindTexture: dartx.bindTexture = Symbol("dartx.bindTexture"), - $blendColor: dartx.blendColor = Symbol("dartx.blendColor"), - $blendEquation: dartx.blendEquation = Symbol("dartx.blendEquation"), - $blendEquationSeparate: dartx.blendEquationSeparate = Symbol("dartx.blendEquationSeparate"), - $blendFunc: dartx.blendFunc = Symbol("dartx.blendFunc"), - $blendFuncSeparate: dartx.blendFuncSeparate = Symbol("dartx.blendFuncSeparate"), - $bufferData: dartx.bufferData = Symbol("dartx.bufferData"), - $bufferSubData: dartx.bufferSubData = Symbol("dartx.bufferSubData"), - $checkFramebufferStatus: dartx.checkFramebufferStatus = Symbol("dartx.checkFramebufferStatus"), - $clearColor: dartx.clearColor = Symbol("dartx.clearColor"), - $clearDepth: dartx.clearDepth = Symbol("dartx.clearDepth"), - $clearStencil: dartx.clearStencil = Symbol("dartx.clearStencil"), - $colorMask: dartx.colorMask = Symbol("dartx.colorMask"), - $compileShader: dartx.compileShader = Symbol("dartx.compileShader"), - $compressedTexImage2D: dartx.compressedTexImage2D = Symbol("dartx.compressedTexImage2D"), - $compressedTexSubImage2D: dartx.compressedTexSubImage2D = Symbol("dartx.compressedTexSubImage2D"), - $copyTexImage2D: dartx.copyTexImage2D = Symbol("dartx.copyTexImage2D"), - $copyTexSubImage2D: dartx.copyTexSubImage2D = Symbol("dartx.copyTexSubImage2D"), - $createFramebuffer: dartx.createFramebuffer = Symbol("dartx.createFramebuffer"), - $createProgram: dartx.createProgram = Symbol("dartx.createProgram"), - $createRenderbuffer: dartx.createRenderbuffer = Symbol("dartx.createRenderbuffer"), - $createShader: dartx.createShader = Symbol("dartx.createShader"), - $createTexture: dartx.createTexture = Symbol("dartx.createTexture"), - $cullFace: dartx.cullFace = Symbol("dartx.cullFace"), - $deleteBuffer: dartx.deleteBuffer = Symbol("dartx.deleteBuffer"), - $deleteFramebuffer: dartx.deleteFramebuffer = Symbol("dartx.deleteFramebuffer"), - $deleteProgram: dartx.deleteProgram = Symbol("dartx.deleteProgram"), - $deleteRenderbuffer: dartx.deleteRenderbuffer = Symbol("dartx.deleteRenderbuffer"), - $deleteShader: dartx.deleteShader = Symbol("dartx.deleteShader"), - $deleteTexture: dartx.deleteTexture = Symbol("dartx.deleteTexture"), - $depthFunc: dartx.depthFunc = Symbol("dartx.depthFunc"), - $depthMask: dartx.depthMask = Symbol("dartx.depthMask"), - $depthRange: dartx.depthRange = Symbol("dartx.depthRange"), - $detachShader: dartx.detachShader = Symbol("dartx.detachShader"), - $disableVertexAttribArray: dartx.disableVertexAttribArray = Symbol("dartx.disableVertexAttribArray"), - $drawArrays: dartx.drawArrays = Symbol("dartx.drawArrays"), - $drawElements: dartx.drawElements = Symbol("dartx.drawElements"), - $enableVertexAttribArray: dartx.enableVertexAttribArray = Symbol("dartx.enableVertexAttribArray"), - $flush: dartx.flush = Symbol("dartx.flush"), - $framebufferRenderbuffer: dartx.framebufferRenderbuffer = Symbol("dartx.framebufferRenderbuffer"), - $framebufferTexture2D: dartx.framebufferTexture2D = Symbol("dartx.framebufferTexture2D"), - $frontFace: dartx.frontFace = Symbol("dartx.frontFace"), - $generateMipmap: dartx.generateMipmap = Symbol("dartx.generateMipmap"), - $getActiveAttrib: dartx.getActiveAttrib = Symbol("dartx.getActiveAttrib"), - $getActiveUniform: dartx.getActiveUniform = Symbol("dartx.getActiveUniform"), - $getAttachedShaders: dartx.getAttachedShaders = Symbol("dartx.getAttachedShaders"), - $getAttribLocation: dartx.getAttribLocation = Symbol("dartx.getAttribLocation"), - $getBufferParameter: dartx.getBufferParameter = Symbol("dartx.getBufferParameter"), - _getContextAttributes_1$1: dart.privateName(web_gl, "_getContextAttributes_1"), - $getError: dartx.getError = Symbol("dartx.getError"), - $getExtension: dartx.getExtension = Symbol("dartx.getExtension"), - $getFramebufferAttachmentParameter: dartx.getFramebufferAttachmentParameter = Symbol("dartx.getFramebufferAttachmentParameter"), - $getProgramInfoLog: dartx.getProgramInfoLog = Symbol("dartx.getProgramInfoLog"), - $getProgramParameter: dartx.getProgramParameter = Symbol("dartx.getProgramParameter"), - $getRenderbufferParameter: dartx.getRenderbufferParameter = Symbol("dartx.getRenderbufferParameter"), - $getShaderInfoLog: dartx.getShaderInfoLog = Symbol("dartx.getShaderInfoLog"), - $getShaderParameter: dartx.getShaderParameter = Symbol("dartx.getShaderParameter"), - $getShaderPrecisionFormat: dartx.getShaderPrecisionFormat = Symbol("dartx.getShaderPrecisionFormat"), - $getShaderSource: dartx.getShaderSource = Symbol("dartx.getShaderSource"), - $getSupportedExtensions: dartx.getSupportedExtensions = Symbol("dartx.getSupportedExtensions"), - $getTexParameter: dartx.getTexParameter = Symbol("dartx.getTexParameter"), - $getUniform: dartx.getUniform = Symbol("dartx.getUniform"), - $getUniformLocation: dartx.getUniformLocation = Symbol("dartx.getUniformLocation"), - $getVertexAttrib: dartx.getVertexAttrib = Symbol("dartx.getVertexAttrib"), - $getVertexAttribOffset: dartx.getVertexAttribOffset = Symbol("dartx.getVertexAttribOffset"), - $hint: dartx.hint = Symbol("dartx.hint"), - $isBuffer: dartx.isBuffer = Symbol("dartx.isBuffer"), - $isEnabled: dartx.isEnabled = Symbol("dartx.isEnabled"), - $isFramebuffer: dartx.isFramebuffer = Symbol("dartx.isFramebuffer"), - $isProgram: dartx.isProgram = Symbol("dartx.isProgram"), - $isRenderbuffer: dartx.isRenderbuffer = Symbol("dartx.isRenderbuffer"), - $isShader: dartx.isShader = Symbol("dartx.isShader"), - $isTexture: dartx.isTexture = Symbol("dartx.isTexture"), - $linkProgram: dartx.linkProgram = Symbol("dartx.linkProgram"), - $pixelStorei: dartx.pixelStorei = Symbol("dartx.pixelStorei"), - $polygonOffset: dartx.polygonOffset = Symbol("dartx.polygonOffset"), - _readPixels: dart.privateName(web_gl, "_readPixels"), - $renderbufferStorage: dartx.renderbufferStorage = Symbol("dartx.renderbufferStorage"), - $sampleCoverage: dartx.sampleCoverage = Symbol("dartx.sampleCoverage"), - $scissor: dartx.scissor = Symbol("dartx.scissor"), - $shaderSource: dartx.shaderSource = Symbol("dartx.shaderSource"), - $stencilFunc: dartx.stencilFunc = Symbol("dartx.stencilFunc"), - $stencilFuncSeparate: dartx.stencilFuncSeparate = Symbol("dartx.stencilFuncSeparate"), - $stencilMask: dartx.stencilMask = Symbol("dartx.stencilMask"), - $stencilMaskSeparate: dartx.stencilMaskSeparate = Symbol("dartx.stencilMaskSeparate"), - $stencilOp: dartx.stencilOp = Symbol("dartx.stencilOp"), - $stencilOpSeparate: dartx.stencilOpSeparate = Symbol("dartx.stencilOpSeparate"), - _texImage2D_1: dart.privateName(web_gl, "_texImage2D_1"), - _texImage2D_2: dart.privateName(web_gl, "_texImage2D_2"), - _texImage2D_3: dart.privateName(web_gl, "_texImage2D_3"), - _texImage2D_4: dart.privateName(web_gl, "_texImage2D_4"), - _texImage2D_5: dart.privateName(web_gl, "_texImage2D_5"), - _texImage2D_6: dart.privateName(web_gl, "_texImage2D_6"), - $texImage2D: dartx.texImage2D = Symbol("dartx.texImage2D"), - $texParameterf: dartx.texParameterf = Symbol("dartx.texParameterf"), - $texParameteri: dartx.texParameteri = Symbol("dartx.texParameteri"), - _texSubImage2D_1: dart.privateName(web_gl, "_texSubImage2D_1"), - _texSubImage2D_2: dart.privateName(web_gl, "_texSubImage2D_2"), - _texSubImage2D_3: dart.privateName(web_gl, "_texSubImage2D_3"), - _texSubImage2D_4: dart.privateName(web_gl, "_texSubImage2D_4"), - _texSubImage2D_5: dart.privateName(web_gl, "_texSubImage2D_5"), - _texSubImage2D_6: dart.privateName(web_gl, "_texSubImage2D_6"), - $texSubImage2D: dartx.texSubImage2D = Symbol("dartx.texSubImage2D"), - $uniform1f: dartx.uniform1f = Symbol("dartx.uniform1f"), - $uniform1fv: dartx.uniform1fv = Symbol("dartx.uniform1fv"), - $uniform1i: dartx.uniform1i = Symbol("dartx.uniform1i"), - $uniform1iv: dartx.uniform1iv = Symbol("dartx.uniform1iv"), - $uniform2f: dartx.uniform2f = Symbol("dartx.uniform2f"), - $uniform2fv: dartx.uniform2fv = Symbol("dartx.uniform2fv"), - $uniform2i: dartx.uniform2i = Symbol("dartx.uniform2i"), - $uniform2iv: dartx.uniform2iv = Symbol("dartx.uniform2iv"), - $uniform3f: dartx.uniform3f = Symbol("dartx.uniform3f"), - $uniform3fv: dartx.uniform3fv = Symbol("dartx.uniform3fv"), - $uniform3i: dartx.uniform3i = Symbol("dartx.uniform3i"), - $uniform3iv: dartx.uniform3iv = Symbol("dartx.uniform3iv"), - $uniform4f: dartx.uniform4f = Symbol("dartx.uniform4f"), - $uniform4fv: dartx.uniform4fv = Symbol("dartx.uniform4fv"), - $uniform4i: dartx.uniform4i = Symbol("dartx.uniform4i"), - $uniform4iv: dartx.uniform4iv = Symbol("dartx.uniform4iv"), - $uniformMatrix2fv: dartx.uniformMatrix2fv = Symbol("dartx.uniformMatrix2fv"), - $uniformMatrix3fv: dartx.uniformMatrix3fv = Symbol("dartx.uniformMatrix3fv"), - $uniformMatrix4fv: dartx.uniformMatrix4fv = Symbol("dartx.uniformMatrix4fv"), - $useProgram: dartx.useProgram = Symbol("dartx.useProgram"), - $validateProgram: dartx.validateProgram = Symbol("dartx.validateProgram"), - $vertexAttrib1f: dartx.vertexAttrib1f = Symbol("dartx.vertexAttrib1f"), - $vertexAttrib1fv: dartx.vertexAttrib1fv = Symbol("dartx.vertexAttrib1fv"), - $vertexAttrib2f: dartx.vertexAttrib2f = Symbol("dartx.vertexAttrib2f"), - $vertexAttrib2fv: dartx.vertexAttrib2fv = Symbol("dartx.vertexAttrib2fv"), - $vertexAttrib3f: dartx.vertexAttrib3f = Symbol("dartx.vertexAttrib3f"), - $vertexAttrib3fv: dartx.vertexAttrib3fv = Symbol("dartx.vertexAttrib3fv"), - $vertexAttrib4f: dartx.vertexAttrib4f = Symbol("dartx.vertexAttrib4f"), - $vertexAttrib4fv: dartx.vertexAttrib4fv = Symbol("dartx.vertexAttrib4fv"), - $vertexAttribPointer: dartx.vertexAttribPointer = Symbol("dartx.vertexAttribPointer"), - $viewport: dartx.viewport = Symbol("dartx.viewport"), - $readPixels: dartx.readPixels = Symbol("dartx.readPixels"), - $texImage2DUntyped: dartx.texImage2DUntyped = Symbol("dartx.texImage2DUntyped"), - $texImage2DTyped: dartx.texImage2DTyped = Symbol("dartx.texImage2DTyped"), - $texSubImage2DUntyped: dartx.texSubImage2DUntyped = Symbol("dartx.texSubImage2DUntyped"), - $texSubImage2DTyped: dartx.texSubImage2DTyped = Symbol("dartx.texSubImage2DTyped"), - $bufferDataTyped: dartx.bufferDataTyped = Symbol("dartx.bufferDataTyped"), - $bufferSubDataTyped: dartx.bufferSubDataTyped = Symbol("dartx.bufferSubDataTyped"), - $beginQuery: dartx.beginQuery = Symbol("dartx.beginQuery"), - $beginTransformFeedback: dartx.beginTransformFeedback = Symbol("dartx.beginTransformFeedback"), - $bindBufferBase: dartx.bindBufferBase = Symbol("dartx.bindBufferBase"), - $bindBufferRange: dartx.bindBufferRange = Symbol("dartx.bindBufferRange"), - $bindSampler: dartx.bindSampler = Symbol("dartx.bindSampler"), - $bindTransformFeedback: dartx.bindTransformFeedback = Symbol("dartx.bindTransformFeedback"), - $blitFramebuffer: dartx.blitFramebuffer = Symbol("dartx.blitFramebuffer"), - $bufferData2: dartx.bufferData2 = Symbol("dartx.bufferData2"), - $bufferSubData2: dartx.bufferSubData2 = Symbol("dartx.bufferSubData2"), - $clearBufferfi: dartx.clearBufferfi = Symbol("dartx.clearBufferfi"), - $clearBufferfv: dartx.clearBufferfv = Symbol("dartx.clearBufferfv"), - $clearBufferiv: dartx.clearBufferiv = Symbol("dartx.clearBufferiv"), - $clearBufferuiv: dartx.clearBufferuiv = Symbol("dartx.clearBufferuiv"), - $clientWaitSync: dartx.clientWaitSync = Symbol("dartx.clientWaitSync"), - $compressedTexImage2D2: dartx.compressedTexImage2D2 = Symbol("dartx.compressedTexImage2D2"), - $compressedTexImage2D3: dartx.compressedTexImage2D3 = Symbol("dartx.compressedTexImage2D3"), - $compressedTexImage3D: dartx.compressedTexImage3D = Symbol("dartx.compressedTexImage3D"), - $compressedTexImage3D2: dartx.compressedTexImage3D2 = Symbol("dartx.compressedTexImage3D2"), - $compressedTexSubImage2D2: dartx.compressedTexSubImage2D2 = Symbol("dartx.compressedTexSubImage2D2"), - $compressedTexSubImage2D3: dartx.compressedTexSubImage2D3 = Symbol("dartx.compressedTexSubImage2D3"), - $compressedTexSubImage3D: dartx.compressedTexSubImage3D = Symbol("dartx.compressedTexSubImage3D"), - $compressedTexSubImage3D2: dartx.compressedTexSubImage3D2 = Symbol("dartx.compressedTexSubImage3D2"), - $copyBufferSubData: dartx.copyBufferSubData = Symbol("dartx.copyBufferSubData"), - $copyTexSubImage3D: dartx.copyTexSubImage3D = Symbol("dartx.copyTexSubImage3D"), - $createQuery: dartx.createQuery = Symbol("dartx.createQuery"), - $createSampler: dartx.createSampler = Symbol("dartx.createSampler"), - $createTransformFeedback: dartx.createTransformFeedback = Symbol("dartx.createTransformFeedback"), - $deleteQuery: dartx.deleteQuery = Symbol("dartx.deleteQuery"), - $deleteSampler: dartx.deleteSampler = Symbol("dartx.deleteSampler"), - $deleteSync: dartx.deleteSync = Symbol("dartx.deleteSync"), - $deleteTransformFeedback: dartx.deleteTransformFeedback = Symbol("dartx.deleteTransformFeedback"), - $drawArraysInstanced: dartx.drawArraysInstanced = Symbol("dartx.drawArraysInstanced"), - $drawBuffers: dartx.drawBuffers = Symbol("dartx.drawBuffers"), - $drawElementsInstanced: dartx.drawElementsInstanced = Symbol("dartx.drawElementsInstanced"), - $drawRangeElements: dartx.drawRangeElements = Symbol("dartx.drawRangeElements"), - $endQuery: dartx.endQuery = Symbol("dartx.endQuery"), - $endTransformFeedback: dartx.endTransformFeedback = Symbol("dartx.endTransformFeedback"), - $fenceSync: dartx.fenceSync = Symbol("dartx.fenceSync"), - $framebufferTextureLayer: dartx.framebufferTextureLayer = Symbol("dartx.framebufferTextureLayer"), - $getActiveUniformBlockName: dartx.getActiveUniformBlockName = Symbol("dartx.getActiveUniformBlockName"), - $getActiveUniformBlockParameter: dartx.getActiveUniformBlockParameter = Symbol("dartx.getActiveUniformBlockParameter"), - $getActiveUniforms: dartx.getActiveUniforms = Symbol("dartx.getActiveUniforms"), - $getBufferSubData: dartx.getBufferSubData = Symbol("dartx.getBufferSubData"), - $getFragDataLocation: dartx.getFragDataLocation = Symbol("dartx.getFragDataLocation"), - $getIndexedParameter: dartx.getIndexedParameter = Symbol("dartx.getIndexedParameter"), - $getInternalformatParameter: dartx.getInternalformatParameter = Symbol("dartx.getInternalformatParameter"), - $getQuery: dartx.getQuery = Symbol("dartx.getQuery"), - $getQueryParameter: dartx.getQueryParameter = Symbol("dartx.getQueryParameter"), - $getSamplerParameter: dartx.getSamplerParameter = Symbol("dartx.getSamplerParameter"), - $getSyncParameter: dartx.getSyncParameter = Symbol("dartx.getSyncParameter"), - $getTransformFeedbackVarying: dartx.getTransformFeedbackVarying = Symbol("dartx.getTransformFeedbackVarying"), - $getUniformBlockIndex: dartx.getUniformBlockIndex = Symbol("dartx.getUniformBlockIndex"), - _getUniformIndices_1: dart.privateName(web_gl, "_getUniformIndices_1"), - $getUniformIndices: dartx.getUniformIndices = Symbol("dartx.getUniformIndices"), - $invalidateFramebuffer: dartx.invalidateFramebuffer = Symbol("dartx.invalidateFramebuffer"), - $invalidateSubFramebuffer: dartx.invalidateSubFramebuffer = Symbol("dartx.invalidateSubFramebuffer"), - $isQuery: dartx.isQuery = Symbol("dartx.isQuery"), - $isSampler: dartx.isSampler = Symbol("dartx.isSampler"), - $isSync: dartx.isSync = Symbol("dartx.isSync"), - $isTransformFeedback: dartx.isTransformFeedback = Symbol("dartx.isTransformFeedback"), - $pauseTransformFeedback: dartx.pauseTransformFeedback = Symbol("dartx.pauseTransformFeedback"), - $readBuffer: dartx.readBuffer = Symbol("dartx.readBuffer"), - $readPixels2: dartx.readPixels2 = Symbol("dartx.readPixels2"), - $renderbufferStorageMultisample: dartx.renderbufferStorageMultisample = Symbol("dartx.renderbufferStorageMultisample"), - $resumeTransformFeedback: dartx.resumeTransformFeedback = Symbol("dartx.resumeTransformFeedback"), - $samplerParameterf: dartx.samplerParameterf = Symbol("dartx.samplerParameterf"), - $samplerParameteri: dartx.samplerParameteri = Symbol("dartx.samplerParameteri"), - _texImage2D2_1: dart.privateName(web_gl, "_texImage2D2_1"), - _texImage2D2_2: dart.privateName(web_gl, "_texImage2D2_2"), - _texImage2D2_3: dart.privateName(web_gl, "_texImage2D2_3"), - _texImage2D2_4: dart.privateName(web_gl, "_texImage2D2_4"), - _texImage2D2_5: dart.privateName(web_gl, "_texImage2D2_5"), - _texImage2D2_6: dart.privateName(web_gl, "_texImage2D2_6"), - _texImage2D2_7: dart.privateName(web_gl, "_texImage2D2_7"), - $texImage2D2: dartx.texImage2D2 = Symbol("dartx.texImage2D2"), - _texImage3D_1: dart.privateName(web_gl, "_texImage3D_1"), - _texImage3D_2: dart.privateName(web_gl, "_texImage3D_2"), - _texImage3D_3: dart.privateName(web_gl, "_texImage3D_3"), - _texImage3D_4: dart.privateName(web_gl, "_texImage3D_4"), - _texImage3D_5: dart.privateName(web_gl, "_texImage3D_5"), - _texImage3D_6: dart.privateName(web_gl, "_texImage3D_6"), - _texImage3D_7: dart.privateName(web_gl, "_texImage3D_7"), - _texImage3D_8: dart.privateName(web_gl, "_texImage3D_8"), - $texImage3D: dartx.texImage3D = Symbol("dartx.texImage3D"), - $texStorage2D: dartx.texStorage2D = Symbol("dartx.texStorage2D"), - $texStorage3D: dartx.texStorage3D = Symbol("dartx.texStorage3D"), - _texSubImage2D2_1: dart.privateName(web_gl, "_texSubImage2D2_1"), - _texSubImage2D2_2: dart.privateName(web_gl, "_texSubImage2D2_2"), - _texSubImage2D2_3: dart.privateName(web_gl, "_texSubImage2D2_3"), - _texSubImage2D2_4: dart.privateName(web_gl, "_texSubImage2D2_4"), - _texSubImage2D2_5: dart.privateName(web_gl, "_texSubImage2D2_5"), - _texSubImage2D2_6: dart.privateName(web_gl, "_texSubImage2D2_6"), - _texSubImage2D2_7: dart.privateName(web_gl, "_texSubImage2D2_7"), - $texSubImage2D2: dartx.texSubImage2D2 = Symbol("dartx.texSubImage2D2"), - _texSubImage3D_1: dart.privateName(web_gl, "_texSubImage3D_1"), - _texSubImage3D_2: dart.privateName(web_gl, "_texSubImage3D_2"), - _texSubImage3D_3: dart.privateName(web_gl, "_texSubImage3D_3"), - _texSubImage3D_4: dart.privateName(web_gl, "_texSubImage3D_4"), - _texSubImage3D_5: dart.privateName(web_gl, "_texSubImage3D_5"), - _texSubImage3D_6: dart.privateName(web_gl, "_texSubImage3D_6"), - _texSubImage3D_7: dart.privateName(web_gl, "_texSubImage3D_7"), - _texSubImage3D_8: dart.privateName(web_gl, "_texSubImage3D_8"), - $texSubImage3D: dartx.texSubImage3D = Symbol("dartx.texSubImage3D"), - _transformFeedbackVaryings_1: dart.privateName(web_gl, "_transformFeedbackVaryings_1"), - $transformFeedbackVaryings: dartx.transformFeedbackVaryings = Symbol("dartx.transformFeedbackVaryings"), - $uniform1fv2: dartx.uniform1fv2 = Symbol("dartx.uniform1fv2"), - $uniform1iv2: dartx.uniform1iv2 = Symbol("dartx.uniform1iv2"), - $uniform1ui: dartx.uniform1ui = Symbol("dartx.uniform1ui"), - $uniform1uiv: dartx.uniform1uiv = Symbol("dartx.uniform1uiv"), - $uniform2fv2: dartx.uniform2fv2 = Symbol("dartx.uniform2fv2"), - $uniform2iv2: dartx.uniform2iv2 = Symbol("dartx.uniform2iv2"), - $uniform2ui: dartx.uniform2ui = Symbol("dartx.uniform2ui"), - $uniform2uiv: dartx.uniform2uiv = Symbol("dartx.uniform2uiv"), - $uniform3fv2: dartx.uniform3fv2 = Symbol("dartx.uniform3fv2"), - $uniform3iv2: dartx.uniform3iv2 = Symbol("dartx.uniform3iv2"), - $uniform3ui: dartx.uniform3ui = Symbol("dartx.uniform3ui"), - $uniform3uiv: dartx.uniform3uiv = Symbol("dartx.uniform3uiv"), - $uniform4fv2: dartx.uniform4fv2 = Symbol("dartx.uniform4fv2"), - $uniform4iv2: dartx.uniform4iv2 = Symbol("dartx.uniform4iv2"), - $uniform4ui: dartx.uniform4ui = Symbol("dartx.uniform4ui"), - $uniform4uiv: dartx.uniform4uiv = Symbol("dartx.uniform4uiv"), - $uniformBlockBinding: dartx.uniformBlockBinding = Symbol("dartx.uniformBlockBinding"), - $uniformMatrix2fv2: dartx.uniformMatrix2fv2 = Symbol("dartx.uniformMatrix2fv2"), - $uniformMatrix2x3fv: dartx.uniformMatrix2x3fv = Symbol("dartx.uniformMatrix2x3fv"), - $uniformMatrix2x4fv: dartx.uniformMatrix2x4fv = Symbol("dartx.uniformMatrix2x4fv"), - $uniformMatrix3fv2: dartx.uniformMatrix3fv2 = Symbol("dartx.uniformMatrix3fv2"), - $uniformMatrix3x2fv: dartx.uniformMatrix3x2fv = Symbol("dartx.uniformMatrix3x2fv"), - $uniformMatrix3x4fv: dartx.uniformMatrix3x4fv = Symbol("dartx.uniformMatrix3x4fv"), - $uniformMatrix4fv2: dartx.uniformMatrix4fv2 = Symbol("dartx.uniformMatrix4fv2"), - $uniformMatrix4x2fv: dartx.uniformMatrix4x2fv = Symbol("dartx.uniformMatrix4x2fv"), - $uniformMatrix4x3fv: dartx.uniformMatrix4x3fv = Symbol("dartx.uniformMatrix4x3fv"), - $vertexAttribDivisor: dartx.vertexAttribDivisor = Symbol("dartx.vertexAttribDivisor"), - $vertexAttribI4i: dartx.vertexAttribI4i = Symbol("dartx.vertexAttribI4i"), - $vertexAttribI4iv: dartx.vertexAttribI4iv = Symbol("dartx.vertexAttribI4iv"), - $vertexAttribI4ui: dartx.vertexAttribI4ui = Symbol("dartx.vertexAttribI4ui"), - $vertexAttribI4uiv: dartx.vertexAttribI4uiv = Symbol("dartx.vertexAttribI4uiv"), - $vertexAttribIPointer: dartx.vertexAttribIPointer = Symbol("dartx.vertexAttribIPointer"), - $waitSync: dartx.waitSync = Symbol("dartx.waitSync"), - $precision: dartx.precision = Symbol("dartx.precision"), - $rangeMax: dartx.rangeMax = Symbol("dartx.rangeMax"), - $rangeMin: dartx.rangeMin = Symbol("dartx.rangeMin"), - $lastUploadedVideoFrameWasSkipped: dartx.lastUploadedVideoFrameWasSkipped = Symbol("dartx.lastUploadedVideoFrameWasSkipped"), - $lastUploadedVideoHeight: dartx.lastUploadedVideoHeight = Symbol("dartx.lastUploadedVideoHeight"), - $lastUploadedVideoTimestamp: dartx.lastUploadedVideoTimestamp = Symbol("dartx.lastUploadedVideoTimestamp"), - $lastUploadedVideoWidth: dartx.lastUploadedVideoWidth = Symbol("dartx.lastUploadedVideoWidth") -}; -const CT = Object.create({ - _: () => (C, CT) -}); -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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/rtti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/ddc_runtime/runtime.dart", - "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", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/debugger.dart", - "dart:_debugger", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/profile.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/foreign_helper.dart", - "dart:_foreign_helper", - "dart:_interceptors", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/interceptors.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_array.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_number.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_string.dart", - "org-dartlang-sdk:///lib/internal/internal.dart", - "org-dartlang-sdk:///lib/internal/list.dart", - "org-dartlang-sdk:///lib/collection/list.dart", - "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", - "org-dartlang-sdk:///lib/convert/converter.dart", - "dart:convert", - "org-dartlang-sdk:///lib/internal/bytes_builder.dart", - "org-dartlang-sdk:///lib/internal/cast.dart", - "org-dartlang-sdk:///lib/core/iterable.dart", - "org-dartlang-sdk:///lib/collection/maps.dart", - "org-dartlang-sdk:///lib/internal/errors.dart", - "org-dartlang-sdk:///lib/internal/iterable.dart", - "org-dartlang-sdk:///lib/internal/linked_list.dart", - "org-dartlang-sdk:///lib/collection/iterable.dart", - "org-dartlang-sdk:///lib/internal/sort.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/internal_patch.dart", - "org-dartlang-sdk:///lib/internal/symbol.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/isolate_helper.dart", - "dart:_isolate_helper", - "dart:_js_helper", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/annotations.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/linked_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/identity_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/custom_hash_map.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/regexp_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/string_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_rti.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/native_helper.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/private/js_primitives.dart", - "org-dartlang-sdk:///lib/html/html_common/metadata.dart", - "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", - "org-dartlang-sdk:///lib/async/broadcast_stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_controller.dart", - "org-dartlang-sdk:///lib/async/stream_impl.dart", - "org-dartlang-sdk:///lib/async/deferred_load.dart", - "org-dartlang-sdk:///lib/async/future.dart", - "org-dartlang-sdk:///lib/async/future_impl.dart", - "org-dartlang-sdk:///lib/async/schedule_microtask.dart", - "org-dartlang-sdk:///lib/async/stream_pipe.dart", - "org-dartlang-sdk:///lib/async/stream_transformers.dart", - "org-dartlang-sdk:///lib/async/timer.dart", - "org-dartlang-sdk:///lib/async/zone.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/collection_patch.dart", - "org-dartlang-sdk:///lib/collection/set.dart", - "org-dartlang-sdk:///lib/collection/collections.dart", - "org-dartlang-sdk:///lib/collection/hash_map.dart", - "org-dartlang-sdk:///lib/collection/hash_set.dart", - "org-dartlang-sdk:///lib/collection/iterator.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_map.dart", - "org-dartlang-sdk:///lib/collection/linked_hash_set.dart", - "org-dartlang-sdk:///lib/collection/linked_list.dart", - "org-dartlang-sdk:///lib/collection/queue.dart", - "org-dartlang-sdk:///lib/collection/splay_tree.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/convert_patch.dart", - "org-dartlang-sdk:///lib/convert/string_conversion.dart", - "org-dartlang-sdk:///lib/convert/ascii.dart", - "org-dartlang-sdk:///lib/convert/encoding.dart", - "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/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", - "org-dartlang-sdk:///lib/convert/line_splitter.dart", - "org-dartlang-sdk:///lib/convert/utf.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/developer_patch.dart", - "dart:developer", - "org-dartlang-sdk:///lib/developer/extension.dart", - "org-dartlang-sdk:///lib/developer/profiler.dart", - "org-dartlang-sdk:///lib/developer/service.dart", - "org-dartlang-sdk:///lib/developer/timeline.dart", - "dart:io", - "org-dartlang-sdk:///lib/io/common.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/io_patch.dart", - "org-dartlang-sdk:///lib/io/data_transformer.dart", - "org-dartlang-sdk:///lib/io/directory.dart", - "org-dartlang-sdk:///lib/io/directory_impl.dart", - "org-dartlang-sdk:///lib/io/file_system_entity.dart", - "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_sink.dart", - "org-dartlang-sdk:///lib/io/io_resource_info.dart", - "org-dartlang-sdk:///lib/io/link.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", - "org-dartlang-sdk:///lib/io/secure_server_socket.dart", - "org-dartlang-sdk:///lib/io/secure_socket.dart", - "org-dartlang-sdk:///lib/io/socket.dart", - "org-dartlang-sdk:///lib/io/security_context.dart", - "org-dartlang-sdk:///lib/io/service_object.dart", - "org-dartlang-sdk:///lib/io/stdio.dart", - "org-dartlang-sdk:///lib/io/string_transformer.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/isolate_patch.dart", - "dart:isolate", - "org-dartlang-sdk:///lib/isolate/isolate.dart", - "org-dartlang-sdk:///lib/_internal/js_dev_runtime/patch/js_patch.dart", - "dart:js", - "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/indexed_db/dart2js/indexed_db_dart2js.dart", - "dart:indexed_db", - "org-dartlang-sdk:///lib/html/dart2js/html_dart2js.dart", - "dart:html", - "org-dartlang-sdk:///lib/html/html_common/css_class_set.dart", - "dart:html_common", - "org-dartlang-sdk:///lib/html/html_common/conversions.dart", - "org-dartlang-sdk:///lib/html/html_common/conversions_dart2js.dart", - "org-dartlang-sdk:///lib/html/html_common/device.dart", - "org-dartlang-sdk:///lib/html/html_common/filtered_element_list.dart", - "org-dartlang-sdk:///lib/html/html_common/lists.dart", - "org-dartlang-sdk:///lib/svg/dart2js/svg_dart2js.dart", - "dart:svg", - "org-dartlang-sdk:///lib/web_audio/dart2js/web_audio_dart2js.dart", - "dart:web_audio", - "dart:web_gl", - "org-dartlang-sdk:///lib/web_gl/dart2js/web_gl_dart2js.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/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", - "org-dartlang-sdk:///lib/_http/crypto.dart", - "org-dartlang-sdk:///lib/_http/http_date.dart", - "org-dartlang-sdk:///lib/_http/http_headers.dart", - "org-dartlang-sdk:///lib/_http/http_impl.dart", - "org-dartlang-sdk:///lib/_http/http_parser.dart", - "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/http_testing.dart", - "org-dartlang-sdk:///lib/_http/embedder_config.dart" -]; -var _jsError$ = dart.privateName(dart, "_jsError"); -var _type$ = dart.privateName(dart, "_type"); -dart.applyMixin = function applyMixin(to, from) { - to[dart._mixin] = from; - let toProto = to.prototype; - let fromProto = from.prototype; - dart._copyMembers(toProto, fromProto); - dart._mixinSignature(to, from, dart._methodSig); - dart._mixinSignature(to, from, dart._fieldSig); - dart._mixinSignature(to, from, dart._getterSig); - dart._mixinSignature(to, from, dart._setterSig); - let mixinOnFn = from[dart.mixinOn]; - if (mixinOnFn != null) { - let proto = mixinOnFn(to.__proto__).prototype; - dart._copyMembers(toProto, proto); - } -}; -dart._copyMembers = function _copyMembers(to, from) { - let names = dart.getOwnNamesAndSymbols(from); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - dart._copyMember(to, from, name); - } - return to; -}; -dart._copyMember = function _copyMember(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - let getter = desc.get; - let setter = desc.set; - if (getter != null) { - if (setter == null) { - let obj = desc.set = { - __proto__: to.__proto__, - set [name](x) { - return super[name] = x; - } - }; - desc.set = dart.getOwnPropertyDescriptor(obj, name).set; - } - } else if (setter != null) { - if (getter == null) { - let obj = desc.get = { - __proto__: to.__proto__, - get [name]() { - return super[name]; - } - }; - desc.get = dart.getOwnPropertyDescriptor(obj, name).get; - } - } - dart.defineProperty(to, name, desc); -}; -dart._mixinSignature = function _mixinSignature(to, from, kind) { - to[kind] = () => { - let baseMembers = dart._getMembers(to.__proto__, kind); - let fromMembers = dart._getMembers(from, kind); - if (fromMembers == null) return baseMembers; - let toSignature = {__proto__: baseMembers}; - dart.copyProperties(toSignature, fromMembers); - return toSignature; - }; -}; -dart.getMixin = function getMixin(clazz) { - return Object.hasOwnProperty.call(clazz, dart._mixin) ? clazz[dart._mixin] : null; -}; -dart.getImplements = function getImplements(clazz) { - return Object.hasOwnProperty.call(clazz, dart.implements) ? clazz[dart.implements] : null; -}; -dart.normalizeFutureOr = function normalizeFutureOr(typeConstructor, setBaseClass) { - let genericFutureOrType = dart.generic(typeConstructor, setBaseClass); - function normalize(typeArg) { - if (typeArg == void 0) return dart.dynamic; - if (dart._isTop(typeArg) || typeArg === core.Object || typeArg instanceof dart.LegacyType && typeArg.type === core.Object) { - return typeArg; - } - if (typeArg === dart.Never) { - return async.Future$(typeArg); - } - if (typeArg === core.Null) { - return dart.nullable(async.Future$(typeArg)); - } - let genericType = genericFutureOrType(typeArg); - genericType[dart._originalDeclaration] = normalize; - function is_FutureOr(obj) { - return typeArg.is(obj) || async.Future$(typeArg).is(obj); - } - genericType.is = is_FutureOr; - function as_FutureOr(obj) { - if (obj == null && typeArg instanceof dart.LegacyType) { - return obj; - } - if (typeArg.is(obj) || async.Future$(typeArg).is(obj)) { - return obj; - } - return dart.as(obj, async.FutureOr$(typeArg)); - } - genericType.as = as_FutureOr; - return genericType; - } - return normalize; -}; -dart.generic = function generic(typeConstructor, setBaseClass) { - let length = typeConstructor.length; - if (length < 1) { - dart.throwInternalError('must have at least one generic type argument'); - } - let resultMap = new Map(); - function makeGenericType(...args) { - if (args.length != length && args.length != 0) { - dart.throwInternalError('requires ' + length + ' or 0 type arguments'); - } - while (args.length < length) - args.push(dart.dynamic); - let value = resultMap; - for (let i = 0; i < length; i++) { - let arg = args[i]; - if (arg == null) { - dart.throwInternalError('type arguments should not be null: ' + typeConstructor); - } - let map = value; - value = map.get(arg); - if (value === void 0) { - if (i + 1 == length) { - value = typeConstructor.apply(null, args); - if (value) { - value[dart._typeArguments] = args; - value[dart._originalDeclaration] = makeGenericType; - } - map.set(arg, value); - if (setBaseClass != null) setBaseClass.apply(null, args); - } else { - value = new Map(); - map.set(arg, value); - } - } - } - return value; - } - makeGenericType[dart._genericTypeCtor] = typeConstructor; - return makeGenericType; -}; -dart.getGenericClass = function getGenericClass(type) { - return dart.safeGetOwnProperty(type, dart._originalDeclaration); -}; -dart.getGenericArgs = function getGenericArgs(type) { - return dart.safeGetOwnProperty(type, dart._typeArguments); -}; -dart.getGenericArgVariances = function getGenericArgVariances(type) { - return dart.safeGetOwnProperty(type, dart._variances); -}; -dart.setGenericArgVariances = function setGenericArgVariances(f, variances) { - return f[dart._variances] = variances; -}; -dart.getGenericTypeFormals = function getGenericTypeFormals(genericClass) { - return dart._typeFormalsFromFunction(dart.getGenericTypeCtor(genericClass)); -}; -dart.instantiateClass = function instantiateClass(genericClass, typeArgs) { - if (genericClass == null) dart.nullFailed(I[0], 287, 32, "genericClass"); - if (typeArgs == null) dart.nullFailed(I[0], 287, 59, "typeArgs"); - return genericClass.apply(null, typeArgs); -}; -dart.getConstructors = function getConstructors(value) { - return dart._getMembers(value, dart._constructorSig); -}; -dart.getMethods = function getMethods(value) { - return dart._getMembers(value, dart._methodSig); -}; -dart.getFields = function getFields(value) { - return dart._getMembers(value, dart._fieldSig); -}; -dart.getGetters = function getGetters(value) { - return dart._getMembers(value, dart._getterSig); -}; -dart.getSetters = function getSetters(value) { - return dart._getMembers(value, dart._setterSig); -}; -dart.getStaticMethods = function getStaticMethods(value) { - return dart._getMembers(value, dart._staticMethodSig); -}; -dart.getStaticFields = function getStaticFields(value) { - return dart._getMembers(value, dart._staticFieldSig); -}; -dart.getStaticGetters = function getStaticGetters(value) { - return dart._getMembers(value, dart._staticGetterSig); -}; -dart.getStaticSetters = function getStaticSetters(value) { - return dart._getMembers(value, dart._staticSetterSig); -}; -dart.getGenericTypeCtor = function getGenericTypeCtor(value) { - return value[dart._genericTypeCtor]; -}; -dart.getType = function getType(obj) { - if (obj == null) return core.Object; - let constructor = obj.constructor; - return constructor ? constructor : dart.global.Object.prototype.constructor; -}; -dart.getLibraryUri = function getLibraryUri(value) { - return value[dart._libraryUri]; -}; -dart.setLibraryUri = function setLibraryUri(f, uri) { - return f[dart._libraryUri] = uri; -}; -dart.isJsInterop = function isJsInterop(obj) { - if (obj == null) return false; - if (typeof obj === "function") { - return obj[dart._runtimeType] == null; - } - 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) { - let m = dart.getMethods(type); - return m != null ? m[name] : null; -}; -dart.getSetterType = function getSetterType(type, name) { - let setters = dart.getSetters(type); - if (setters != null) { - let type = setters[name]; - if (type != null) { - return type; - } - } - let fields = dart.getFields(type); - if (fields != null) { - let fieldInfo = fields[name]; - if (fieldInfo != null && !fieldInfo.isFinal) { - return fieldInfo.type; - } - } - return null; -}; -dart.finalFieldType = function finalFieldType(type, metadata) { - return {type: type, isFinal: true, metadata: metadata}; -}; -dart.fieldType = function fieldType(type, metadata) { - return {type: type, isFinal: false, metadata: metadata}; -}; -dart.classGetConstructorType = function classGetConstructorType(cls, name) { - if (cls == null) return null; - if (name == null) name = "new"; - let ctors = dart.getConstructors(cls); - return ctors != null ? ctors[name] : null; -}; -dart.setMethodSignature = function setMethodSignature(f, sigF) { - return f[dart._methodSig] = sigF; -}; -dart.setFieldSignature = function setFieldSignature(f, sigF) { - return f[dart._fieldSig] = sigF; -}; -dart.setGetterSignature = function setGetterSignature(f, sigF) { - return f[dart._getterSig] = sigF; -}; -dart.setSetterSignature = function setSetterSignature(f, sigF) { - return f[dart._setterSig] = sigF; -}; -dart.setConstructorSignature = function setConstructorSignature(f, sigF) { - return f[dart._constructorSig] = sigF; -}; -dart.setStaticMethodSignature = function setStaticMethodSignature(f, sigF) { - return f[dart._staticMethodSig] = sigF; -}; -dart.setStaticFieldSignature = function setStaticFieldSignature(f, sigF) { - return f[dart._staticFieldSig] = sigF; -}; -dart.setStaticGetterSignature = function setStaticGetterSignature(f, sigF) { - return f[dart._staticGetterSig] = sigF; -}; -dart.setStaticSetterSignature = function setStaticSetterSignature(f, sigF) { - return f[dart._staticSetterSig] = sigF; -}; -dart._getMembers = function _getMembers(type, kind) { - let sig = type[kind]; - return typeof sig == "function" ? type[kind] = sig() : sig; -}; -dart._hasMember = function _hasMember(type, kind, name) { - let sig = dart._getMembers(type, kind); - return sig != null && name in sig; -}; -dart.hasMethod = function hasMethod(type, name) { - return dart._hasMember(type, dart._methodSig, name); -}; -dart.hasGetter = function hasGetter(type, name) { - return dart._hasMember(type, dart._getterSig, name); -}; -dart.hasSetter = function hasSetter(type, name) { - return dart._hasMember(type, dart._setterSig, name); -}; -dart.hasField = function hasField(type, name) { - return dart._hasMember(type, dart._fieldSig, name); -}; -dart._installProperties = function _installProperties(jsProto, dartType, installedParent) { - if (dartType === core.Object) { - dart._installPropertiesForObject(jsProto); - return; - } - let dartSupertype = dartType.__proto__; - if (dartSupertype !== installedParent) { - dart._installProperties(jsProto, dartSupertype, installedParent); - } - let dartProto = dartType.prototype; - dart.copyTheseProperties(jsProto, dartProto, dart.getOwnPropertySymbols(dartProto)); -}; -dart._installPropertiesForObject = function _installPropertiesForObject(jsProto) { - let coreObjProto = core.Object.prototype; - let names = dart.getOwnPropertyNames(coreObjProto); - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (name === "constructor") continue; - let desc = dart.getOwnPropertyDescriptor(coreObjProto, name); - dart.defineProperty(jsProto, dart.dartx[name], desc); - } -}; -dart._installPropertiesForGlobalObject = function _installPropertiesForGlobalObject(jsProto) { - dart._installPropertiesForObject(jsProto); - jsProto[dartx.toString] = function() { - return this.toString(); - }; - dart.identityEquals == null ? dart.identityEquals = jsProto[dartx._equals] : null; -}; -dart._applyExtension = function _applyExtension(jsType, dartExtType) { - if (jsType == null) return; - let jsProto = jsType.prototype; - if (jsProto == null) return; - if (dartExtType === core.Object) { - dart._installPropertiesForGlobalObject(jsProto); - return; - } - if (jsType === dart.global.Object) { - let extName = dartExtType.name; - dart._warn("Attempting to install properties from non-Object type '" + extName + "' onto the native JS Object."); - return; - } - dart._installProperties(jsProto, dartExtType, jsProto[dart._extensionType]); - if (dartExtType !== _interceptors.JSFunction) { - jsProto[dart._extensionType] = dartExtType; - } - jsType[dart._methodSig] = dartExtType[dart._methodSig]; - jsType[dart._fieldSig] = dartExtType[dart._fieldSig]; - jsType[dart._getterSig] = dartExtType[dart._getterSig]; - jsType[dart._setterSig] = dartExtType[dart._setterSig]; -}; -dart.applyExtension = function applyExtension(name, nativeObject) { - let dartExtType = dart._extensionMap.get(name); - let jsType = nativeObject.constructor; - dart._applyExtension(jsType, dartExtType); -}; -dart.applyAllExtensions = function applyAllExtensions(global) { - dart._extensionMap.forEach((dartExtType, name) => dart._applyExtension(global[name], dartExtType)); -}; -dart.registerExtension = function registerExtension(name, dartExtType) { - dart._extensionMap.set(name, dartExtType); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); -}; -dart.applyExtensionForTesting = function applyExtensionForTesting(name) { - let dartExtType = dart._extensionMap.get(name); - let jsType = dart.global[name]; - dart._applyExtension(jsType, dartExtType); -}; -dart.defineExtensionMethods = function defineExtensionMethods(type, 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], 574, 46, "memberNames"); - let proto = type.prototype; - for (let name of memberNames) { - let member = null; - let p = proto; - for (;; p = p.__proto__) { - member = dart.getOwnPropertyDescriptor(p, name); - if (member != null) break; - } - dart.defineProperty(proto, dartx[name], member); - } -}; -dart.definePrimitiveHashCode = function definePrimitiveHashCode(proto) { - dart.defineProperty(proto, dart.identityHashCode_, dart.getOwnPropertyDescriptor(proto, $hashCode)); -}; -dart.setBaseClass = function setBaseClass(derived, base) { - derived.prototype.__proto__ = base.prototype; - derived.__proto__ = base; -}; -dart.setExtensionBaseClass = function setExtensionBaseClass(dartType, jsType) { - let dartProto = dartType.prototype; - dartProto[dart._extensionType] = dartType; - dartProto.__proto__ = jsType.prototype; -}; -dart.addTypeTests = function addTypeTests(ctor, isClass) { - if (isClass == null) isClass = Symbol("_is_" + ctor.name); - ctor.prototype[isClass] = true; - ctor.is = function is_C(obj) { - return obj != null && (obj[isClass] || dart.is(obj, this)); - }; - ctor.as = function as_C(obj) { - if (obj != null && obj[isClass]) return obj; - 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); - } -}; -dart.argumentError = function argumentError(value) { - dart.throw(new core.ArgumentError.value(value)); -}; -dart.throwUnimplementedError = function throwUnimplementedError(message) { - if (message == null) dart.nullFailed(I[1], 16, 32, "message"); - dart.throw(new core.UnimplementedError.new(message)); -}; -dart.throwDeferredIsLoadedError = function throwDeferredIsLoadedError(enclosingLibrary, importPrefix) { - dart.throw(new _js_helper.DeferredNotLoadedError.new(enclosingLibrary, importPrefix)); -}; -dart.assertFailed = function assertFailed(message, fileUri = null, line = null, column = null, conditionSource = null) { - dart.throw(new _js_helper.AssertionErrorImpl.new(message, fileUri, line, column, conditionSource)); -}; -dart._checkModuleNullSafetyMode = function _checkModuleNullSafetyMode(isModuleSound) { - if (isModuleSound !== false) { - 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) + "."; -}; -dart.nullFailed = function nullFailed(fileUri, line, column, variable) { - if (dart._nonNullAsserts) { - dart.throw(new _js_helper.AssertionErrorImpl.new(dart._nullFailedMessage(variable), fileUri, line, column, dart.str(variable) + " != null")); - } - let key = dart.str(fileUri) + ":" + dart.str(line) + ":" + dart.str(column); - if (!dart._nullFailedSet.has(key)) { - dart._nullFailedSet.add(key); - dart._nullWarn(dart._nullFailedMessage(variable)); - } -}; -dart.throwLateInitializationError = function throwLateInitializationError(name) { - if (name == null) dart.nullFailed(I[1], 81, 37, "name"); - dart.throw(new _internal.LateError.new(name)); -}; -dart.throwCyclicInitializationError = function throwCyclicInitializationError(field = null) { - dart.throw(new core.CyclicInitializationError.new(field)); -}; -dart.throwNullValueError = function throwNullValueError() { - dart.throw(new core.NoSuchMethodError.new(null, new _internal.Symbol.new(""), null, null)); -}; -dart.castError = function castError(obj, expectedType) { - let actualType = dart.getReifiedType(obj); - let message = dart._castErrorMessage(actualType, expectedType); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); -}; -dart._castErrorMessage = function _castErrorMessage(from, to) { - 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) { - let value = error[dart._thrownValue]; - if (value != null) return value; - } - return error; -}; -dart.stackTrace = function stackTrace(error) { - if (!(error instanceof Error)) { - return new dart._StackTrace.missing(error); - } - let trace = error[dart._stackTrace]; - if (trace != null) return trace; - return error[dart._stackTrace] = new dart._StackTrace.new(error); -}; -dart.stackTraceForError = function stackTraceForError(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], 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], 286, 37, "exception"); - if (trace == null) { - let error = exception[dart._jsError]; - return error != null ? error : new dart.DartError(exception); - } - if (dart._StackTrace.is(trace)) { - let originalError = trace[_jsError$]; - if (core.identical(exception, dart.getThrown(originalError))) { - return originalError; - } - } - return new dart.RethrownDartError(exception, trace); -}; -dart.stackPrint = function stackPrint(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) { - if (obj == null) obj = _interceptors.jsNull; - if (method == null) method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = dart.getMethodType(dart.getType(obj), name); - return f; -}; -dart.bindCall = function bindCall(obj, name) { - if (obj == null) return null; - let ftype = dart.getMethodType(dart.getType(obj), name); - if (ftype == null) return null; - let method = obj[name]; - let f = method.bind(obj); - f._boundObject = obj; - f._boundMethod = method; - f[dart._runtimeType] = ftype; - return f; -}; -dart.gbind = function gbind(f, ...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) { - return dart.dload(obj, dart.replNameLookup(obj, field)); -}; -dart.dload = function dload(obj, field) { - if (typeof obj == "function" && field == "call") { - return obj; - } - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - 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})); -}; -dart._stripGenericArguments = function _stripGenericArguments(type) { - let genericClass = dart.getGenericClass(type); - if (genericClass != null) return genericClass(); - return type; -}; -dart.dputRepl = function dputRepl(obj, field, value) { - return dart.dput(obj, dart.replNameLookup(obj, field), value); -}; -dart.dput = function dput(obj, field, value) { - let f = dart._canonicalMember(obj, field); - _debugger.trackCall(obj); - if (f != null) { - let setterType = dart.getSetterType(dart.getType(obj), f); - if (setterType != null) { - return obj[f] = setterType.as(value); - } - if (dart.test(dart.isJsInterop(obj))) return obj[f] = value; - } - dart.noSuchMethod(obj, new dart.InvocationImpl.new(field, [value], {isSetter: true})); - return value; -}; -dart._argumentErrors = function _argumentErrors(type, actuals, namedActuals) { - 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; - if (actualsCount < requiredCount) { - return "Dynamic call with too few arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let extras = actualsCount - requiredCount; - let optionals = type.optionals; - if (extras > optionals.length) { - return "Dynamic call with too many arguments. " + "Expected: " + dart.str(requiredCount) + " Actual: " + dart.str(actualsCount); - } - let names = null; - let named = type.named; - let requiredNamed = type.requiredNamed; - if (namedActuals != null) { - names = dart.getOwnPropertyNames(namedActuals); - for (let name of names) { - if (!(named.hasOwnProperty(name) || requiredNamed.hasOwnProperty(name))) { - return "Dynamic call with unexpected named argument '" + dart.str(name) + "'."; - } - } - } - let requiredNames = dart.getOwnPropertyNames(requiredNamed); - if (dart.test(requiredNames[$isNotEmpty])) { - 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](", ")) + "."; - { - dart._nullWarn(error); - } - } - } - for (let i = 0; i < requiredCount; i = i + 1) { - required[i].as(actuals[i]); - } - for (let i = 0; i < extras; i = i + 1) { - optionals[i].as(actuals[i + requiredCount]); - } - if (names != null) { - for (let name of names) { - (named[name] || requiredNamed[name]).as(namedActuals[name]); - } - } - return null; -}; -dart._toSymbolName = function _toSymbolName(symbol) { - let str = symbol.toString(); - return str.substring(7, str.length - 1); -}; -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; -}; -dart._dartSymbol = function _dartSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name), name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name))); -}; -dart._setterSymbol = function _setterSymbol(name) { - return typeof name === "symbol" ? dart.const(new _js_helper.PrivateSymbol.new(dart._toSymbolName(name) + "=", name)) : dart.const(new _internal.Symbol.new(dart._toDisplayName(name) + "=")); -}; -dart._checkAndCall = function _checkAndCall(f, ftype, obj, typeArgs, args, named, displayName) { - _debugger.trackCall(obj); - let originalTarget = obj === void 0 ? f : obj; - 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 instanceof Function)) { - if (f != null) { - originalTarget = f; - f = dart.bindCall(f, dart._canonicalMember(f, "call")); - ftype = null; - displayName = "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."); - } - if (named != null) args.push(named); - return f.apply(obj, args); - } - if (ftype instanceof dart.GenericFunctionType) { - let formalCount = ftype.formalCount; - 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); - } 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); - } - let errorMessage = dart._argumentErrors(ftype, args, named); - if (errorMessage == null) { - if (typeArgs != null) args = typeArgs.concat(args); - if (named != null) args.push(named); - return f.apply(obj, args); - } - return callNSM(errorMessage); -}; -dart.dcall = function dcall(f, args, named = null) { - return dart._checkAndCall(f, null, void 0, null, args, named, f.name); -}; -dart.dgcall = function dgcall(f, typeArgs, args, named = null) { - return dart._checkAndCall(f, null, void 0, typeArgs, args, named, f.name || 'call'); -}; -dart.replNameLookup = function replNameLookup(object, field) { - let rawField = field; - if (typeof field == 'symbol') { - if (field in object) return field; - field = field.toString(); - field = field.substring('Symbol('.length, field.length - 1); - } else if (field.charAt(0) != '_') { - return field; - } - if (field in object) return field; - let proto = object; - while (proto !== null) { - let symbols = Object.getOwnPropertySymbols(proto); - let target = 'Symbol(' + field + ')'; - for (let s = 0; s < symbols.length; s++) { - let sym = symbols[s]; - if (target == sym.toString()) return sym; - } - proto = proto.__proto__; - } - return rawField; -}; -dart.callMethod = function callMethod(obj, name, typeArgs, args, named, displayName) { - if (typeof obj == "function" && name == "call") { - return dart.dgcall(obj, typeArgs, args, named); - } - let symbol = dart._canonicalMember(obj, name); - if (symbol == null) { - return dart.noSuchMethod(obj, new dart.InvocationImpl.new(displayName, T$.ListOfObjectN().as(args), {isMethod: true})); - } - let f = obj != null ? obj[symbol] : null; - let type = dart.getType(obj); - let ftype = dart.getMethodType(type, symbol); - return dart._checkAndCall(f, ftype, obj, typeArgs, args, named, displayName); -}; -dart.dsend = function dsend(obj, method, args, named = null) { - return dart.callMethod(obj, method, null, args, named, method); -}; -dart.dgsend = function dgsend(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, method, typeArgs, args, named, method); -}; -dart.dsendRepl = function dsendRepl(obj, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), null, args, named, method); -}; -dart.dgsendRepl = function dgsendRepl(obj, typeArgs, method, args, named = null) { - return dart.callMethod(obj, dart.replNameLookup(obj, method), typeArgs, args, named, method); -}; -dart.dindex = function dindex(obj, index) { - return dart.callMethod(obj, "_get", null, [index], null, "[]"); -}; -dart.dsetindex = function dsetindex(obj, index, value) { - return dart.callMethod(obj, "_set", null, [index, value], null, "[]="); -}; -dart.is = function instanceOf(obj, type) { - if (obj == null) { - return type === core.Null || dart._isTop(type) || type instanceof dart.NullableType; - } - return dart.isSubtypeOf(dart.getReifiedType(obj), type); -}; -dart.as = function cast(obj, type) { - if (obj == null && true) { - dart._nullWarnOnType(type); - return obj; - } else { - let actual = dart.getReifiedType(obj); - if (dart.isSubtypeOf(actual, type)) return obj; - } - return dart.castError(obj, type); -}; -dart.test = function test(obj) { - if (obj == null) dart.throw(new _js_helper.BooleanConversionAssertionError.new()); - return obj; -}; -dart.dtest = function dtest(obj) { - if (!(typeof obj == 'boolean')) { - 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; -}; -dart.booleanConversionFailed = function booleanConversionFailed(obj) { - let actual = dart.typeName(dart.getReifiedType(obj)); - dart.throw(new _js_helper.TypeErrorImpl.new("type '" + actual + "' is not a 'bool' in boolean expression")); -}; -dart.asInt = function asInt(obj) { - if (Math.floor(obj) != obj) { - if (obj == null && true) { - dart._nullWarnOnType(core.int); - return null; - } else { - dart.castError(obj, core.int); - } - } - return obj; -}; -dart.asNullableInt = function asNullableInt(obj) { - return obj == null ? null : dart.asInt(obj); -}; -dart.notNull = function _notNull(x) { - if (x == null) dart.throwNullValueError(); - return x; -}; -dart.nullCast = function nullCast(x, type) { - if (x == null) { - { - dart._nullWarnOnType(type); - } - } - return x; -}; -dart.nullCheck = function nullCheck(x) { - if (x == null) dart.throw(new _js_helper.TypeErrorImpl.new("Unexpected null value.")); - return x; -}; -dart._lookupNonTerminal = function _lookupNonTerminal(map, key) { - 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], 579, 34, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantMaps, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - map = dart._lookupNonTerminal(map, dart.wrapType(K)); - let result = map.get(V); - if (result != null) return result; - result = new (_js_helper.ImmutableMap$(K, V)).from(elements); - map.set(V, result); - return result; -}; -dart._createImmutableSet = function _createImmutableSet(E, 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], 603, 31, "elements"); - let count = elements[$length]; - let map = dart._lookupNonTerminal(dart.constantSets, count); - for (let i = 0; i < count; i = i + 1) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let result = map.get(E); - if (result != null) return result; - result = dart._createImmutableSet(E, elements); - map.set(E, result); - return result; -}; -dart.multiKeyPutIfAbsent = function multiKeyPutIfAbsent(map, keys, valueFn) { - for (let k of keys) { - let value = map.get(k); - if (!value) { - map.set(k, value = new Map()); - } - map = value; - } - if (map.has(dart._value)) return map.get(dart._value); - let value = valueFn(); - map.set(dart._value, value); - return value; -}; -dart.const = function const_(obj) { - let names = dart.getOwnNamesAndSymbols(obj); - let count = names.length; - let map = dart._lookupNonTerminal(dart.constants, count); - for (let i = 0; i < count; i++) { - let name = names[i]; - map = dart._lookupNonTerminal(map, name); - map = dart._lookupNonTerminal(map, obj[name]); - } - let type = dart.getReifiedType(obj); - let value = map.get(type); - if (value) return value; - map.set(type, obj); - return obj; -}; -dart.constList = function constList(elements, elementType) { - let count = elements.length; - let map = dart._lookupNonTerminal(dart.constantLists, count); - for (let i = 0; i < count; i++) { - map = dart._lookupNonTerminal(map, elements[i]); - } - let value = map.get(elementType); - if (value) return value; - _interceptors.JSArray$(elementType).unmodifiable(elements); - map.set(elementType, elements); - return elements; -}; -dart.constFn = function constFn(x) { - return () => x; -}; -dart.extensionSymbol = function extensionSymbol(name) { - if (name == null) dart.nullFailed(I[2], 721, 24, "name"); - return dartx[name]; -}; -dart.equals = function equals(x, y) { - return x == null ? y == null : x[$_equals](y); -}; -dart.hashCode = function hashCode(obj) { - return obj == null ? 0 : obj[$hashCode]; -}; -dart.toString = function _toString(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - return obj[$toString](); -}; -dart.str = function str(obj) { - if (obj == null) return "null"; - if (typeof obj == 'string') return obj; - 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], 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], 767, 37, "i"); - dart.throw(new core.NoSuchMethodError._withInvocation(obj, i)); -}; -dart.runtimeType = function runtimeType(obj) { - return obj == null ? dart.wrapType(core.Null) : obj[dartx.runtimeType]; -}; -dart._canonicalMember = function _canonicalMember(obj, name) { - if (typeof name === "symbol") return name; - if (obj != null && obj[dart._extensionType] != null) { - return dartx[name]; - } - if (name == "constructor" || name == "prototype") { - name = "+" + name; - } - return name; -}; -dart.loadLibrary = function loadLibrary(enclosingLibrary, importPrefix) { - let result = dart.deferredImports.get(enclosingLibrary); - if (dart.test(result === void 0)) { - dart.deferredImports.set(enclosingLibrary, result = new Set()); - } - result.add(importPrefix); - return async.Future.value(); -}; -dart.checkDeferredIsLoaded = function checkDeferredIsLoaded(enclosingLibrary, importPrefix) { - let loaded = dart.deferredImports.get(enclosingLibrary); - if (dart.test(loaded === void 0) || dart.test(!loaded.has(importPrefix))) { - dart.throwDeferredIsLoadedError(enclosingLibrary, importPrefix); - } -}; -dart.defineLazy = function defineLazy(to, from, 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)); - } else { - dart.defineLazyField(to, name, dart.getOwnPropertyDescriptor(from, name)); - } - } -}; -dart.defineLazyField = function defineLazyField(to, name, desc) { - const initializer = desc.get; - const final = desc.set == null; - let initialized = false; - let init = initializer; - let value = null; - let savedLocals = false; - desc.get = function() { - if (init == null) return value; - if (final && initialized) dart.throwLateInitializationError(name); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - initialized = false; - }); - savedLocals = true; - } - initialized = true; - try { - value = init(); - } catch (e) { - initialized = false; - throw e; - } - init = null; - return value; - }; - desc.configurable = true; - 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); -}; -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); - if (!savedLocals) { - dart.resetFields.push(() => { - init = initializer; - value = null; - savedLocals = false; - }); - savedLocals = true; - } - try { - value = f(); - init = null; - return value; - } catch (e) { - init = null; - value = null; - throw e; - } - }; - desc.configurable = true; - 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); -}; -dart.checkNativeNonNull = function checkNativeNonNull(variable) { - if (dart._nativeNonNullAsserts && variable == null) { - dart.throw(new _js_helper.TypeErrorImpl.new(" Unexpected null value encountered in Dart web platform libraries.\n This may be a bug in the Dart SDK APIs. If you would like to report a bug\n or disable this error, you can use the following instructions:\n https://github.com/dart-lang/sdk/tree/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md\n ")); - } - return variable; -}; -dart.fn = function fn(closure, type) { - { - closure[dart._runtimeType] = type; - } - return closure; -}; -dart.lazyFn = function lazyFn(closure, 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), - configurable: true - }); - return closure; -}; -dart.getFunctionType = function getFunctionType(obj) { - let args = Array(obj.length).fill(dart.dynamic); - return dart.fnType(dart.bottom, args, void 0); -}; -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; - } - if (named != null) { - for (let name of named) { - let field = obj[name]; - types[$add](dart.getReifiedType(field)); - } - } - 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], 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], 194, 29, "moduleName"); - return dart._loadedSourceMaps.get(moduleName); -}; -dart.getModuleLibraries = function getModuleLibraries(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], 207, 25, "name"); - return dart._loadedPartMaps.get(name); -}; -dart.trackLibraries = function trackLibraries(moduleName, libraries, parts, sourceMap) { - 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 = {}; - } - dart._loadedSourceMaps.set(moduleName, sourceMap); - dart._loadedModules.set(moduleName, libraries); - dart._loadedPartMaps.set(moduleName, parts); - dart._libraries = null; - dart._libraryObjects = null; - dart._parts = null; -}; -dart._computeLibraryMetadata = function _computeLibraryMetadata() { - dart._libraries = T$.JSArrayOfString().of([]); - dart._libraryObjects = new (T$.IdentityMapOfString$ObjectN()).new(); - dart._parts = new (T$.IdentityMapOfString$ListNOfString()).new(); - let modules = dart.getModuleNames(); - for (let name of modules) { - let module = dart.getModuleLibraries(name); - let libraries = dart.getOwnPropertyNames(module)[$cast](core.String); - dart.nullCheck(dart._libraries)[$addAll](libraries); - for (let library of libraries) { - dart.nullCheck(dart._libraryObjects)[$_set](library, module[library]); - } - let partMap = dart.getModulePartMap(name); - libraries = dart.getOwnPropertyNames(partMap)[$cast](core.String); - for (let library of libraries) { - dart.nullCheck(dart._parts)[$_set](library, T$.ListOfString().from(partMap[library])); - } - } -}; -dart.getLibrary = function getLibrary(uri) { - if (uri == null) dart.nullFailed(I[3], 259, 27, "uri"); - if (dart._libraryObjects == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraryObjects)[$_get](uri); -}; -dart.getLibraries = function getLibraries() { - if (dart._libraries == null) { - dart._computeLibraryMetadata(); - } - return dart.nullCheck(dart._libraries); -}; -dart.getParts = function getParts(libraryUri) { - let t0; - if (libraryUri == null) dart.nullFailed(I[3], 289, 30, "libraryUri"); - if (dart._parts == null) { - dart._computeLibraryMetadata(); - } - t0 = dart.nullCheck(dart._parts)[$_get](libraryUri); - return t0 == null ? T$.JSArrayOfString().of([]) : t0; -}; -dart.polyfill = function polyfill(window) { - if (window[dart._polyfilled]) return false; - window[dart._polyfilled] = true; - if (typeof window.NodeList !== "undefined") { - window.NodeList.prototype.get = function(i) { - return this[i]; - }; - window.NamedNodeMap.prototype.get = function(i) { - return this[i]; - }; - window.DOMTokenList.prototype.get = function(i) { - return this[i]; - }; - window.HTMLCollection.prototype.get = function(i) { - return this[i]; - }; - if (typeof window.PannerNode == "undefined") { - let audioContext; - if (typeof window.AudioContext == "undefined" && typeof window.webkitAudioContext != "undefined") { - audioContext = new window.webkitAudioContext(); - } else { - audioContext = new window.AudioContext(); - window.StereoPannerNode = audioContext.createStereoPanner().constructor; - } - window.PannerNode = audioContext.createPanner().constructor; - } - if (typeof window.AudioSourceNode == "undefined") { - window.AudioSourceNode = MediaElementAudioSourceNode.__proto__; - } - if (typeof window.FontFaceSet == "undefined") { - if (typeof window.document.fonts != "undefined") { - window.FontFaceSet = window.document.fonts.__proto__.constructor; - } - } - if (typeof window.MemoryInfo == "undefined") { - if (typeof window.performance.memory != "undefined") { - window.MemoryInfo = function() { - }; - window.MemoryInfo.prototype = window.performance.memory.__proto__; - } - } - if (typeof window.Geolocation == "undefined") { - window.Geolocation == window.navigator.geolocation.constructor; - } - if (typeof window.Animation == "undefined") { - let d = window.document.createElement('div'); - if (typeof d.animate != "undefined") { - window.Animation = d.animate(d).constructor; - } - } - if (typeof window.SourceBufferList == "undefined") { - if ('MediaSource' in window) { - window.SourceBufferList = new window.MediaSource().sourceBuffers.constructor; - } - } - if (typeof window.SpeechRecognition == "undefined") { - window.SpeechRecognition = window.webkitSpeechRecognition; - window.SpeechRecognitionError = window.webkitSpeechRecognitionError; - window.SpeechRecognitionEvent = window.webkitSpeechRecognitionEvent; - } - } - return true; -}; -dart.trackProfile = function trackProfile(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], 179, 39, "value"); - dart.startAsyncSynchronously = value; -}; -dart.hotRestart = function hotRestart() { - dart.hotRestartIteration = dart.notNull(dart.hotRestartIteration) + 1; - for (let f of dart.resetFields) - f(); - dart.resetFields[$clear](); - for (let m of dart._cacheMaps) - m.clear(); - dart._cacheMaps[$clear](); - dart._nullComparisonSet.clear(); - dart.constantMaps.clear(); - dart.deferredImports.clear(); -}; -dart._throwInvalidFlagError = function _throwInvalidFlagError(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], 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], 43, 32, "showErrors"); - if (dart.test(showErrors) && false) { - dart._throwInvalidFlagError("Null safety violations are already thrown as errors when running with " + "sound null safety."); - } - if (dart.test(showErrors) && dart._weakNullSafetyWarnings) { - dart._throwInvalidFlagError("Null safety violations can be shown as warnings or thrown as errors, " + "not both."); - } - dart._weakNullSafetyErrors = showErrors; -}; -dart.nonNullAsserts = function nonNullAsserts(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], 79, 32, "enable"); - dart._nativeNonNullAsserts = enable; -}; -dart._isJsObject = function _isJsObject(obj) { - return dart.getReifiedType(obj) === _interceptors.LegacyJavaScriptObject; -}; -dart.assertInterop = function assertInterop(f) { - 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) { - return obj instanceof Function && obj[dart._runtimeType] != null; -}; -dart.tearoffInterop = function tearoffInterop(f) { - if (!dart._isJsObject(f) || f == null) return f; - let ret = dart._assertInteropExpando._get(f); - if (ret == null) { - ret = function(...arguments$) { - var args = arguments$.map(dart.assertInterop); - return f.apply(this, args); - }; - dart._assertInteropExpando._set(f, ret); - } - return ret; -}; -dart._warn = function _warn(arg) { - console.warn(arg); -}; -dart._nullWarn = function _nullWarn(message) { - if (dart._weakNullSafetyWarnings) { - dart._warn(dart.str(message) + "\n" + "This will become a failure when runtime null safety is enabled."); - } else if (dart._weakNullSafetyErrors) { - dart.throw(new _js_helper.TypeErrorImpl.new(core.String.as(message))); - } -}; -dart._nullWarnOnType = function _nullWarnOnType(type) { - let result = dart._nullComparisonSet.has(type); - if (!dart.test(result)) { - dart._nullComparisonSet.add(type); - dart._nullWarn("Null is not a subtype of " + dart.str(type) + "."); - } -}; -dart.packageJSType = function packageJSType(name, staticInterop) { - let map = staticInterop ? dart._staticInteropTypes : dart._nonStaticInteropTypes; - let ret = map.get(name); - if (ret == null) { - ret = staticInterop ? new dart.StaticInteropType.new(name) : new dart.NonStaticInteropType.new(name); - map.set(name, ret); - } - return ret; -}; -dart.nullable = function nullable(type) { - let cached = type[dart._cachedNullable]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeNullable(type); - type[dart._cachedNullable] = cachedType; - return cachedType; -}; -dart._computeNullable = function _computeNullable(type) { - if (type instanceof dart.LegacyType) { - return dart.nullable(type.type); - } - if (type instanceof dart.NullableType || dart._isTop(type) || type === core.Null || dart._isFutureOr(type) && dart.getGenericArgs(type)[0] instanceof dart.NullableType) { - return type; - } - if (type === dart.Never) return core.Null; - return new dart.NullableType.new(type); -}; -dart.legacy = function legacy(type) { - let cached = type[dart._cachedLegacy]; - if (cached !== void 0) { - return cached; - } - let cachedType = dart._computeLegacy(type); - type[dart._cachedLegacy] = cachedType; - return cachedType; -}; -dart._computeLegacy = function _computeLegacy(type) { - if (type instanceof dart.LegacyType || type instanceof dart.NullableType || dart._isTop(type) || type === core.Null) { - return type; - } - return new dart.LegacyType.new(type); -}; -dart.wrapType = function wrapType(type, isNormalized = false) { - if (type.hasOwnProperty(dart._typeObject)) { - return type[dart._typeObject]; - } - let result = isNormalized ? new dart._Type.new(core.Object.as(type)) : type instanceof dart.LegacyType ? dart.wrapType(type.type) : dart._canonicalizeNormalizedTypeObject(type); - type[dart._typeObject] = result; - return result; -}; -dart._canonicalizeNormalizedTypeObject = function _canonicalizeNormalizedTypeObject(type) { - 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', []); - if (dart.global.Object.keys(dart.dload(type, 'named')).length === 0 && dart.global.Object.keys(dart.dload(type, 'requiredNamed')).length === 0) { - if (dart.dtest(dart.dload(dart.dload(type, 'optionals'), 'isEmpty'))) { - let normType = dart.fnType(normReturnType, core.List.as(normArgs)); - return dart.wrapType(normType, true); - } - let normOptionals = dart.dsend(dart.dsend(dart.dload(type, 'optionals'), 'map', [normalizeHelper]), 'toList', []); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normOptionals); - return dart.wrapType(normType, true); - } - let normNamed = {}; - dart._transformJSObject(dart.dload(type, 'named'), normNamed, normalizeHelper); - let normRequiredNamed = {}; - dart._transformJSObject(dart.dload(type, 'requiredNamed'), normRequiredNamed, normalizeHelper); - let normType = dart.fnType(normReturnType, core.List.as(normArgs), normNamed, normRequiredNamed); - return dart.wrapType(normType, true); - } - if (type instanceof dart.GenericFunctionType) { - let formals = dart._getCanonicalTypeFormals(core.int.as(dart.dload(dart.dload(type, 'typeFormals'), 'length'))); - let normBounds = core.List.as(dart.dsend(dart.dsend(dart.dsend(type, 'instantiateTypeBounds', [formals]), 'map', [normalizeHelper]), 'toList', [])); - let substitutedTypes = []; - if (dart.test(normBounds[$contains](dart.Never))) { - for (let i = 0; i < dart.notNull(formals[$length]); i = i + 1) { - let substitutedType = normBounds[$_get](i); - while (dart.test(formals[$contains](substitutedType))) { - substitutedType = normBounds[$_get](formals[$indexOf](dart.TypeVariable.as(substitutedType))); - } - if (dart.equals(substitutedType, dart.Never)) { - substitutedTypes[$add](dart.Never); - } else { - substitutedTypes[$add](formals[$_get](i)); - } - } - } else { - substitutedTypes = formals; - } - let normFunc = dart.FunctionType.as(normalizeHelper(dart.dsend(type, 'instantiate', [substitutedTypes]))); - let typeObjectIdKey = []; - typeObjectIdKey.push(...normBounds); - typeObjectIdKey.push(normFunc); - let memoizedId = dart._memoizeArray(dart._gFnTypeTypeMap, typeObjectIdKey, () => new dart.GenericFunctionTypeIdentifier.new(formals, normBounds, normFunc)); - return dart.wrapType(memoizedId, true); - } - let args = dart.getGenericArgs(type); - let normType = null; - if (args == null || dart.test(args[$isEmpty])) { - normType = type; - } else { - let genericClass = dart.getGenericClass(type); - let normArgs = args[$map](core.Object, normalizeHelper)[$toList](); - normType = genericClass(...normArgs); - } - return dart.wrapType(normType, true); -}; -dart._transformJSObject = function _transformJSObject(srcObject, dstObject, 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], 605, 24, "obj"); - return obj[_type$]; -}; -dart._getCanonicalTypeFormals = function _getCanonicalTypeFormals(count) { - if (count == null) dart.nullFailed(I[5], 650, 49, "count"); - while (dart.notNull(count) > dart.notNull(dart._typeVariablePool[$length])) { - dart._fillTypeVariable(); - } - return dart._typeVariablePool[$sublist](0, count); -}; -dart._fillTypeVariable = function _fillTypeVariable() { - if (dart.notNull(dart._typeVariablePool[$length]) < 26) { - dart._typeVariablePool[$add](new dart.TypeVariable.new(core.String.fromCharCode(65 + dart.notNull(dart._typeVariablePool[$length])))); - } else { - dart._typeVariablePool[$add](new dart.TypeVariable.new("T" + dart.str(dart.notNull(dart._typeVariablePool[$length]) - 26))); - } -}; -dart._memoizeArray = function _memoizeArray(map, arr, create) { - if (create == null) dart.nullFailed(I[5], 672, 32, "create"); - return (() => { - let len = arr.length; - map = dart._lookupNonTerminal(map, len); - for (var i = 0; i < len - 1; ++i) { - map = dart._lookupNonTerminal(map, arr[i]); - } - let result = map.get(arr[len - 1]); - if (result !== void 0) return result; - map.set(arr[len - 1], result = create()); - return result; - })(); -}; -dart._canonicalizeArray = function _canonicalizeArray(array, map) { - if (array == null) dart.nullFailed(I[5], 684, 30, "array"); - return dart._memoizeArray(map, array, () => array); -}; -dart._canonicalizeNamed = function _canonicalizeNamed(named, map) { - let key = []; - let names = dart.getOwnPropertyNames(named); - for (var i = 0; i < names.length; ++i) { - let name = names[i]; - let type = named[name]; - key.push(name); - key.push(type); - } - return dart._memoizeArray(map, key, () => named); -}; -dart._createSmall = function _createSmall(returnType, required) { - if (required == null) dart.nullFailed(I[5], 704, 44, "required"); - return (() => { - let count = required.length; - let map = dart._fnTypeSmallMap[count]; - for (var i = 0; i < count; ++i) { - map = dart._lookupNonTerminal(map, required[i]); - } - let result = map.get(returnType); - if (result !== void 0) return result; - result = new dart.FunctionType.new(core.Type.as(returnType), required, [], {}, {}); - map.set(returnType, result); - return result; - })(); -}; -dart._typeFormalsFromFunction = function _typeFormalsFromFunction(typeConstructor) { - let str = typeConstructor.toString(); - let hasParens = str[$_get](0) === "("; - let end = str[$indexOf](hasParens ? ")" : "=>"); - if (hasParens) { - return str[$substring](1, end)[$split](",")[$map](dart.TypeVariable, n => { - if (n == null) dart.nullFailed(I[5], 1157, 15, "n"); - return new dart.TypeVariable.new(n[$trim]()); - })[$toList](); - } else { - return T$.JSArrayOfTypeVariable().of([new dart.TypeVariable.new(str[$substring](0, end)[$trim]())]); - } -}; -dart.fnType = function fnType(returnType, args, optional = null, requiredNamed = null) { - if (args == null) dart.nullFailed(I[5], 1165, 38, "args"); - return dart.FunctionType.create(returnType, args, optional, requiredNamed); -}; -dart.gFnType = function gFnType(instantiateFn, typeBounds) { - return new dart.GenericFunctionType.new(instantiateFn, typeBounds); -}; -dart.isType = function isType(obj) { - return obj[dart._runtimeType] === core.Type; -}; -dart.checkTypeBound = function checkTypeBound(type, bound, name) { - if (!dart.isSubtypeOf(type, bound)) { - dart.throwTypeError("type `" + dart.str(type) + "` does not extend `" + dart.str(bound) + "` of `" + name + "`."); - } -}; -dart.typeName = function typeName(type) { - if (type === void 0) return "undefined type"; - if (type === null) return "null type"; - if (type instanceof dart.DartType) { - return type.toString(); - } - let tag = type[dart._runtimeType]; - if (tag === core.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 + "<"; - 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; - } - 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; - let args2Length = args2.length; - if (args1Length > args2Length) { - return false; - } - 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; - let optionals2Length = optionals2.length; - if (args1Length + optionals1Length < args2Length + optionals2Length) { - return false; - } - let j = 0; - 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 < optionals2Length; i = i + 1, j = j + 1) { - if (!dart._isSubtype(optionals2[i], optionals1[j], strictMode)) { - return false; - } - } - let named1 = ft1.named; - let requiredNamed1 = ft1.requiredNamed; - let named2 = ft2.named; - let requiredNamed2 = ft2.requiredNamed; - if (!strictMode) { - named1 = Object.assign({}, named1, requiredNamed1); - named2 = Object.assign({}, named2, requiredNamed2); - requiredNamed1 = {}; - requiredNamed2 = {}; - } - let names = dart.getOwnPropertyNames(requiredNamed1); - 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) { - return false; - } - } - names = dart.getOwnPropertyNames(named2); - namesLength = names.length; - for (let i = 0; i < namesLength; i = i + 1) { - let name = names[i]; - let n1 = named1[name]; - let n2 = named2[name]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - names = dart.getOwnPropertyNames(requiredNamed2); - 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]; - if (n1 === void 0) { - return false; - } - if (!dart._isSubtype(n2, n1, strictMode)) { - return false; - } - } - return dart._isSubtype(ret1, ret2, strictMode); -}; -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 && 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) + "."); - } - } - map.set(t2, validSubtype); - return validSubtype; -}; -dart._isBottom = function _isBottom(type, strictMode) { - return type === dart.Never || !strictMode && type === core.Null; -}; -dart._isTop = function _isTop(type) { - if (type instanceof dart.NullableType) return type.type === core.Object; - return type === dart.dynamic || type === dart.void; -}; -dart._isFutureOr = function _isFutureOr(type) { - let genericClass = dart.getGenericClass(type); - return !!genericClass && genericClass === async.FutureOr$; -}; -dart._isSubtype = function _isSubtype(t1, t2, strictMode) { - if (!strictMode) { - if (t1 instanceof dart.NullableType) { - t1 = t1.type; - } - if (t2 instanceof dart.NullableType) { - t2 = t2.type; - } - } - if (t1 === t2) { - return true; - } - if (dart._isTop(t2) || dart._isBottom(t1, strictMode)) { - return true; - } - if (t1 === dart.dynamic || t1 === dart.void) { - return dart._isSubtype(T$.ObjectN(), t2, strictMode); - } - if (t2 === core.Object) { - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - return dart._isSubtype(t1TypeArg, core.Object, strictMode); - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t1 === core.Null || t1 instanceof dart.NullableType) { - return false; - } - return true; - } - if (t1 === core.Null) { - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - return dart._isSubtype(core.Null, t2TypeArg, strictMode); - } - return t2 === core.Null || t2 instanceof dart.LegacyType || t2 instanceof dart.NullableType; - } - if (t1 instanceof dart.LegacyType) { - return dart._isSubtype(t1.type, t2, strictMode); - } - if (t2 instanceof dart.LegacyType) { - return dart._isSubtype(t1, dart.nullable(t2.type), strictMode); - } - if (dart._isFutureOr(t1)) { - let t1TypeArg = dart.getGenericArgs(t1)[0]; - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - if (dart._isSubtype(t1TypeArg, t2TypeArg, strictMode)) { - return true; - } - } - let t1Future = async.Future$(t1TypeArg); - return dart._isSubtype(t1Future, t2, strictMode) && dart._isSubtype(t1TypeArg, t2, strictMode); - } - if (t1 instanceof dart.NullableType) { - return dart._isSubtype(t1.type, t2, strictMode) && dart._isSubtype(core.Null, t2, strictMode); - } - if (dart._isFutureOr(t2)) { - let t2TypeArg = dart.getGenericArgs(t2)[0]; - let t2Future = async.Future$(t2TypeArg); - return dart._isSubtype(t1, t2Future, strictMode) || dart._isSubtype(t1, t2TypeArg, 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 (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); - } - if (!(t1 instanceof dart.AbstractFunctionType)) { - return false; - } - if (t1 instanceof dart.GenericFunctionType) { - if (!(t2 instanceof dart.GenericFunctionType)) { - return false; - } - let formalCount = t1.formalCount; - if (formalCount !== t2.formalCount) { - return false; - } - let fresh1 = null; - let fresh2 = null; - if (t1.hasTypeBounds || t2.hasTypeBounds) { - 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(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 === t2) { - return true; - } - if (t1 === core.Object) { - return false; - } - if (t1 === core.Function || t2 === core.Function) { - return false; - } - 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("Internal type check failure."); - } - let variances = dart.getGenericArgVariances(t1); - 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 (varianceType == 2) { - if (!dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } else if (varianceType == 3) { - if (!dart._isSubtype(typeArg1, typeArg2, strictMode) || !dart._isSubtype(typeArg2, typeArg1, strictMode)) { - return false; - } - } - } - return true; - } - if (dart._isInterfaceSubtype(t1.__proto__, t2, strictMode)) { - return true; - } - let m1 = dart.getMixin(t1); - if (m1 != null && dart._isInterfaceSubtype(m1, t2, strictMode)) { - return true; - } - let getInterfaces = dart.getImplements(t1); - if (getInterfaces != null) { - for (let i1 of getInterfaces()) { - if (dart._isInterfaceSubtype(i1, t2, strictMode)) { - return true; - } - } - } - return false; -}; -dart.extractTypeArguments = function extractTypeArguments(T, instance, 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.")); - } - let type = T; - type = type.type || type; - if (dart.AbstractFunctionType.is(type) || dart._isFutureOr(type)) { - dart.throw(new core.ArgumentError.new("Cannot extract from non-class type (" + dart.str(type) + ").")); - } - let typeArguments = dart.getGenericArgs(type); - if (dart.test(dart.nullCheck(typeArguments)[$isEmpty])) { - 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], 1860, 10, "supertype != null"); - let typeArgs = dart.getGenericArgs(supertype); - 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], 2223, 55, "supertype"); - if (core.identical(subtype, supertype)) return supertype; - if (subtype == null || subtype === core.Object) return null; - let subclass = dart.getGenericClass(subtype); - let superclass = dart.getGenericClass(supertype); - if (subclass != null && core.identical(subclass, superclass)) { - return subtype; - } - let result = dart._getMatchingSupertype(subtype.__proto__, supertype); - if (result != null) return result; - let mixin = dart.getMixin(subtype); - if (mixin != null) { - result = dart._getMatchingSupertype(mixin, supertype); - if (result != null) return result; - } - let getInterfaces = dart.getImplements(subtype); - if (getInterfaces != null) { - for (let iface of getInterfaces()) { - result = dart._getMatchingSupertype(iface, supertype); - if (result != null) return result; - } - } - 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], 40, 28, "message"); - dart.throw(new _js_helper.TypeErrorImpl.new(message)); -}; -dart.throwInternalError = function throwInternalError(message) { - if (message == null) dart.nullFailed(I[6], 45, 32, "message"); - throw Error(message); -}; -dart.getOwnNamesAndSymbols = function getOwnNamesAndSymbols(obj) { - let names = dart.getOwnPropertyNames(obj); - let symbols = dart.getOwnPropertySymbols(obj); - return names.concat(symbols); -}; -dart.safeGetOwnProperty = function safeGetOwnProperty(obj, name) { - if (obj.hasOwnProperty(name)) return obj[name]; -}; -dart.copyTheseProperties = function copyTheseProperties(to, from, names) { - for (let i = 0, n = names.length; i < n; i = i + 1) { - let name = names[i]; - if (dart.equals(name, "constructor")) continue; - dart.copyProperty(to, from, name); - } - return to; -}; -dart.copyProperty = function copyProperty(to, from, name) { - let desc = dart.getOwnPropertyDescriptor(from, name); - if (name == Symbol.iterator) { - let existing = dart.getOwnPropertyDescriptor(to, name); - if (existing != null) { - if (existing.writable) { - to[name] = desc.value; - } - return; - } - } - dart.defineProperty(to, name, desc); -}; -dart.export = function exportProperty(to, from, name) { - return dart.copyProperty(to, from, name); -}; -dart.copyProperties = function copyProperties(to, from) { - return dart.copyTheseProperties(to, from, dart.getOwnNamesAndSymbols(from)); -}; -dart._polyfilled = Symbol("_polyfilled"); -dart.global = (function() { - var globalState = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : null; - if (!globalState) { - globalState = new Function('return this;')(); - } - dart.polyfill(globalState); - if (globalState.Error) { - globalState.Error.stackTraceLimit = Infinity; - } - let settings = 'ddcSettings' in globalState ? globalState.ddcSettings : {}; - dart.trackProfile('trackProfile' in settings ? settings.trackProfile : false); - return globalState; -})(); -dart.JsSymbol = Symbol; -dart.libraryPrototype = dart.library; -dart.startAsyncSynchronously = true; -dart._cacheMaps = []; -dart.resetFields = []; -dart.hotRestartIteration = 0; -dart.addAsyncCallback = function() { -}; -dart.removeAsyncCallback = function() { -}; -dart.defineProperty = Object.defineProperty; -dart.defineAccessor = Object.defineProperty; -dart.getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -dart.getOwnPropertyNames = Object.getOwnPropertyNames; -dart.getOwnPropertySymbols = Object.getOwnPropertySymbols; -dart.getPrototypeOf = Object.getPrototypeOf; -dart._mixin = Symbol("mixin"); -dart.mixinOn = Symbol("mixinOn"); -dart.implements = Symbol("implements"); -dart._typeArguments = Symbol("typeArguments"); -dart._variances = Symbol("variances"); -dart._originalDeclaration = Symbol("originalDeclaration"); -dart.mixinNew = Symbol("dart.mixinNew"); -dart._constructorSig = Symbol("sigCtor"); -dart._methodSig = Symbol("sigMethod"); -dart._fieldSig = Symbol("sigField"); -dart._getterSig = Symbol("sigGetter"); -dart._setterSig = Symbol("sigSetter"); -dart._staticMethodSig = Symbol("sigStaticMethod"); -dart._staticFieldSig = Symbol("sigStaticField"); -dart._staticGetterSig = Symbol("sigStaticGetter"); -dart._staticSetterSig = Symbol("sigStaticSetter"); -dart._genericTypeCtor = Symbol("genericType"); -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"); -dart.isMap = Symbol("_is_Map"); -dart.isStream = Symbol("_is_Stream"); -dart.isStreamSubscription = Symbol("_is_StreamSubscription"); -dart.identityEquals = null; -dart._runtimeType = Symbol("_runtimeType"); -dart._moduleName = Symbol("_moduleName"); -dart._loadedModules = new Map(); -dart._loadedPartMaps = new Map(); -dart._loadedSourceMaps = new Map(); -dart._libraries = null; -dart._libraryObjects = null; -dart._parts = null; -dart._weakNullSafetyWarnings = false; -dart._weakNullSafetyErrors = false; -dart._nonNullAsserts = false; -dart._nativeNonNullAsserts = false; -dart.metadata = Symbol("metadata"); -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"); - } - static is(o) { - return o != null; - } - 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; - } - get hashCode() { - return core.identityHashCode(this); - } - toString() { - return "Instance of '" + dart.typeName(dart.getReifiedType(this)) + "'"; - } - noSuchMethod(invocation) { - if (invocation == null) dart.nullFailed(I[7], 60, 35, "invocation"); - return dart.defaultNoSuchMethod(this, invocation); - } - 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() { - ; -}).prototype = core.Object.prototype; -dart.addTypeCaches(core.Object); -dart.setMethodSignature(core.Object, () => ({ - __proto__: Object.create(null), - _equals: dart.fnType(core.bool, [core.Object]), - [$_equals]: dart.fnType(core.bool, [core.Object]), - toString: dart.fnType(core.String, []), - [$toString]: dart.fnType(core.String, []), - 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, - [$hashCode]: core.int, - runtimeType: core.Type, - [$runtimeType]: core.Type -})); -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']); -dart.registerExtension("Object", core.Object); -dart.DartType = class DartType extends core.Object { - get name() { - return this[$toString](); - } - is(object) { - return dart.is(object, this); - } - as(object) { - return dart.as(object, this); - } - static ['_#new#tearOff']() { - return new dart.DartType.new(); - } -}; -(dart.DartType.new = function() { - { - dart.addTypeCaches(this); - } -}).prototype = dart.DartType.prototype; -dart.addTypeTests(dart.DartType); -dart.addTypeCaches(dart.DartType); -dart.DartType[dart.implements] = () => [core.Type]; -dart.setMethodSignature(dart.DartType, () => ({ - __proto__: dart.getMethods(dart.DartType.__proto__), - is: dart.fnType(core.bool, [dart.dynamic]), - as: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setGetterSignature(dart.DartType, () => ({ - __proto__: dart.getGetters(dart.DartType.__proto__), - name: core.String -})); -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); - ; -}).prototype = dart.NeverType.prototype; -dart.addTypeTests(dart.NeverType); -dart.addTypeCaches(dart.NeverType); -dart.setLibraryUri(dart.NeverType, I[10]); -dart.defineExtensionMethods(dart.NeverType, ['toString']); -dart.Never = new dart.NeverType.new(); -dart.DynamicType = class DynamicType extends dart.DartType { - toString() { - return "dynamic"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.DynamicType.new(); - } -}; -(dart.DynamicType.new = function() { - dart.DynamicType.__proto__.new.call(this); - ; -}).prototype = dart.DynamicType.prototype; -dart.addTypeTests(dart.DynamicType); -dart.addTypeCaches(dart.DynamicType); -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[10]); -dart.defineExtensionMethods(dart.DynamicType, ['toString']); -dart.dynamic = new dart.DynamicType.new(); -dart.VoidType = class VoidType extends dart.DartType { - toString() { - return "void"; - } - is(object) { - return true; - } - as(object) { - return object; - } - static ['_#new#tearOff']() { - return new dart.VoidType.new(); - } -}; -(dart.VoidType.new = function() { - dart.VoidType.__proto__.new.call(this); - ; -}).prototype = dart.VoidType.prototype; -dart.addTypeTests(dart.VoidType); -dart.addTypeCaches(dart.VoidType); -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[10]); -dart.defineExtensionMethods(dart.VoidType, ['toString']); -dart.void = new dart.VoidType.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"); -dart._stackTrace = Symbol("_stackTrace"); -dart.DartError = class DartError extends Error { - constructor(error) { - super(); - if (error == null) error = new core.NullThrownError.new(); - this[dart._thrownValue] = error; - if (error != null && typeof error == "object" && error[dart._jsError] == null) { - error[dart._jsError] = this; - } - } - get message() { - return dart.toString(this[dart._thrownValue]); - } -}; -dart.RethrownDartError = class RethrownDartError extends dart.DartError { - constructor(error, stackTrace) { - super(error); - this[dart._stackTrace] = stackTrace; - } - get message() { - return super.message + "\n " + dart.toString(this[dart._stackTrace]) + "\n"; - } -}; -dart.constantMaps = new Map(); -dart.constantSets = new Map(); -dart._immutableSetConstructor = null; -dart._value = Symbol("_value"); -dart.constants = new Map(); -dart.constantLists = new Map(); -dart.identityHashCode_ = Symbol("_identityHashCode"); -dart.JsIterator = class JsIterator { - constructor(dartIterator) { - this.dartIterator = dartIterator; - } - next() { - let i = this.dartIterator; - let done = !i.moveNext(); - return {done: done, value: done ? void 0 : i.current}; - } -}; -dart.deferredImports = new Map(); -dart.defineLazy(dart, { - /*dart._assertInteropExpando*/get _assertInteropExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _assertInteropExpando(value) { - if (value == null) dart.nullFailed(I[5], 189, 19, "_assertInteropExpando"); - }, - /*dart.bottom*/get bottom() { - return core.Null; - }, - /*dart._typeVariablePool*/get _typeVariablePool() { - return T$.JSArrayOfTypeVariable().of([]); - } -}, false); -var type$ = dart.privateName(dart, "NullableType.type"); -dart.NullableType = class NullableType extends dart.DartType { - get type() { - return this[type$]; - } - 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) + "?"; - } - toString() { - return this.name; - } - is(obj) { - return obj == null || this.type.is(obj); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } -}; -(dart.NullableType.new = function(type) { - this[type$] = type; - dart.NullableType.__proto__.new.call(this); - ; -}).prototype = dart.NullableType.prototype; -dart.addTypeTests(dart.NullableType); -dart.addTypeCaches(dart.NullableType); -dart.setLibraryUri(dart.NullableType, I[10]); -dart.setFieldSignature(dart.NullableType, () => ({ - __proto__: dart.getFields(dart.NullableType.__proto__), - type: dart.finalFieldType(core.Type) -})); -dart.defineExtensionMethods(dart.NullableType, ['toString']); -var type$0 = dart.privateName(dart, "LegacyType.type"); -dart.LegacyType = class LegacyType extends dart.DartType { - get type() { - return this[type$0]; - } - 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); - } - toString() { - return this.name; - } - is(obj) { - if (obj == null) { - 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); - } - as(obj) { - return obj == null || this.type.is(obj) ? obj : dart.as(obj, this); - } -}; -(dart.LegacyType.new = function(type) { - this[type$0] = type; - dart.LegacyType.__proto__.new.call(this); - ; -}).prototype = dart.LegacyType.prototype; -dart.addTypeTests(dart.LegacyType); -dart.addTypeCaches(dart.LegacyType); -dart.setLibraryUri(dart.LegacyType, I[10]); -dart.setFieldSignature(dart.LegacyType, () => ({ - __proto__: dart.getFields(dart.LegacyType.__proto__), - type: dart.finalFieldType(core.Type) -})); -dart.defineExtensionMethods(dart.LegacyType, ['toString']); -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); - ; -}).prototype = dart.BottomType.prototype; -dart.addTypeTests(dart.BottomType); -dart.addTypeCaches(dart.BottomType); -dart.setLibraryUri(dart.BottomType, I[10]); -dart.defineExtensionMethods(dart.BottomType, ['toString']); -core.Type = class Type extends core.Object {}; -(core.Type.new = function() { - ; -}).prototype = core.Type.prototype; -dart.addTypeTests(core.Type); -dart.addTypeCaches(core.Type); -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$]); - } - get runtimeType() { - return dart.wrapType(core.Type); - } -}; -(dart._Type.new = function(_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[10]); -dart.setFieldSignature(dart._Type, () => ({ - __proto__: dart.getFields(dart._Type.__proto__), - [_type$]: dart.finalFieldType(core.Object) -})); -dart.defineExtensionMethods(dart._Type, ['toString']); -dart.defineExtensionAccessors(dart._Type, ['runtimeType']); -dart.AbstractFunctionType = class AbstractFunctionType extends dart.DartType {}; -(dart.AbstractFunctionType.new = function() { - dart.AbstractFunctionType.__proto__.new.call(this); - ; -}).prototype = dart.AbstractFunctionType.prototype; -dart.addTypeTests(dart.AbstractFunctionType); -dart.addTypeCaches(dart.AbstractFunctionType); -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"); -var named$ = dart.privateName(dart, "FunctionType.named"); -var requiredNamed$ = dart.privateName(dart, "FunctionType.requiredNamed"); -var _stringValue = dart.privateName(dart, "_stringValue"); -var _createNameMap = dart.privateName(dart, "_createNameMap"); -dart.FunctionType = class FunctionType extends dart.AbstractFunctionType { - get returnType() { - return this[returnType$]; - } - set returnType(value) { - super.returnType = value; - } - get args() { - return this[args$]; - } - set args(value) { - super.args = value; - } - get optionals() { - return this[optionals$]; - } - set optionals(value) { - super.optionals = value; - } - get named() { - return this[named$]; - } - set named(value) { - super.named = value; - } - get requiredNamed() { - return this[requiredNamed$]; - } - set requiredNamed(value) { - super.requiredNamed = value; - } - static create(returnType, args, optionalArgs, requiredNamedArgs) { - 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); - } - args = dart._canonicalizeArray(args, dart._fnTypeArrayArgMap); - let keys = []; - let create = null; - if (noOptionalArgs) { - keys = [returnType, args]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], {}, {}); - } else if (optionalArgs instanceof Array) { - let optionals = dart._canonicalizeArray(optionalArgs, dart._fnTypeArrayArgMap); - keys = [returnType, args, optionals]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, optionals, {}, {}); - } else { - let named = dart._canonicalizeNamed(optionalArgs, dart._fnTypeNamedArgMap); - let requiredNamed = dart._canonicalizeNamed(requiredNamedArgs, dart._fnTypeNamedArgMap); - keys = [returnType, args, named, requiredNamed]; - create = () => new dart.FunctionType.new(core.Type.as(returnType), args, [], named, requiredNamed); - } - 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; - } - get requiredParameterCount() { - return this.args[$length]; - } - get positionalParameterCount() { - return dart.notNull(this.args[$length]) + dart.notNull(this.optionals[$length]); - } - getPositionalParameter(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], 782, 52, "names"); - let result = new (T$.IdentityMapOfString$Object()).new(); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - let name = names[i]; - result[$_set](name, this.named[name]); - } - return result; - } - getNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.named)[$toList]()); - } - getRequiredNamedParameters() { - return this[_createNameMap](dart.getOwnPropertyNames(this.requiredNamed)[$toList]()); - } - get name() { - if (this[_stringValue] != null) return dart.nullCheck(this[_stringValue]); - let buffer = "("; - for (let i = 0; i < this.args.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.args[i]); - } - if (this.optionals.length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "["; - for (let i = 0; i < this.optionals.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - buffer = buffer + dart.typeName(this.optionals[i]); - } - buffer = buffer + "]"; - } else if (Object.keys(this.named).length > 0 || Object.keys(this.requiredNamed).length > 0) { - if (this.args.length > 0) buffer = buffer + ", "; - buffer = buffer + "{"; - let names = dart.getOwnPropertyNames(this.named); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.named[names[i]]); - buffer = buffer + (typeNameString + " " + dart.str(names[i])); - } - if (Object.keys(this.requiredNamed).length > 0 && names.length > 0) buffer = buffer + ", "; - names = dart.getOwnPropertyNames(this.requiredNamed); - names.sort(); - for (let i = 0; i < names.length; i = i + 1) { - if (i > 0) { - buffer = buffer + ", "; - } - let typeNameString = dart.typeName(this.requiredNamed[names[i]]); - buffer = buffer + ("required " + typeNameString + " " + dart.str(names[i])); - } - buffer = buffer + "}"; - } - let returnTypeName = dart.typeName(this.returnType); - buffer = buffer + (") => " + returnTypeName); - this[_stringValue] = buffer; - return buffer; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - 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.FunctionType.new = function(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"); - this[_stringValue] = null; - this[returnType$] = returnType; - this[args$] = args; - this[optionals$] = optionals; - this[named$] = named; - this[requiredNamed$] = requiredNamed; - dart.FunctionType.__proto__.new.call(this); - ; -}).prototype = dart.FunctionType.prototype; -dart.addTypeTests(dart.FunctionType); -dart.addTypeCaches(dart.FunctionType); -dart.setMethodSignature(dart.FunctionType, () => ({ - __proto__: dart.getMethods(dart.FunctionType.__proto__), - getPositionalParameter: dart.fnType(dart.dynamic, [core.int]), - [_createNameMap]: dart.fnType(core.Map$(core.String, core.Object), [core.List$(dart.nullable(core.Object))]), - 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[10]); -dart.setFieldSignature(dart.FunctionType, () => ({ - __proto__: dart.getFields(dart.FunctionType.__proto__), - returnType: dart.finalFieldType(core.Type), - args: dart.finalFieldType(core.List), - optionals: dart.finalFieldType(core.List), - named: dart.finalFieldType(dart.dynamic), - requiredNamed: dart.finalFieldType(dart.dynamic), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart.FunctionType, ['toString']); -var name$ = dart.privateName(dart, "TypeVariable.name"); -dart.TypeVariable = class TypeVariable extends dart.DartType { - get name() { - return this[name$]; - } - 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], 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[10]); -dart.setFieldSignature(dart.TypeVariable, () => ({ - __proto__: dart.getFields(dart.TypeVariable.__proto__), - name: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(dart.TypeVariable, ['toString']); -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[10]); -dart.setStaticFieldSignature(dart.Variance, () => ['unrelated', 'covariant', 'contravariant', 'invariant']); -dart.defineLazy(dart.Variance, { - /*dart.Variance.unrelated*/get unrelated() { - return 0; - }, - /*dart.Variance.covariant*/get covariant() { - return 1; - }, - /*dart.Variance.contravariant*/get contravariant() { - return 2; - }, - /*dart.Variance.invariant*/get invariant() { - return 3; - } -}, false); -var typeFormals$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeFormals"); -var typeBounds$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.typeBounds"); -var $function$ = dart.privateName(dart, "GenericFunctionTypeIdentifier.function"); -dart.GenericFunctionTypeIdentifier = class GenericFunctionTypeIdentifier extends dart.AbstractFunctionType { - get typeFormals() { - return this[typeFormals$]; - } - set typeFormals(value) { - super.typeFormals = value; - } - get typeBounds() { - return this[typeBounds$]; - } - set typeBounds(value) { - super.typeBounds = value; - } - get function() { - return this[$function$]; - } - 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 = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.typeBounds; - for (let i = 0, n = core.int.as(dart.dload(typeFormals, 'length')); i < dart.notNull(n); i = i + 1) { - 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) || true && bound === core.Object) { - continue; - } - s = s + (" extends " + dart.str(bound)); - } - s = s + (">" + dart.notNull(dart.toString(this.function))); - return this[_stringValue] = s; - } -}; -(dart.GenericFunctionTypeIdentifier.new = function(typeFormals, typeBounds, $function) { - if ($function == null) dart.nullFailed(I[5], 920, 47, "function"); - this[_stringValue] = null; - this[typeFormals$] = typeFormals; - this[typeBounds$] = typeBounds; - this[$function$] = $function; - dart.GenericFunctionTypeIdentifier.__proto__.new.call(this); - ; -}).prototype = dart.GenericFunctionTypeIdentifier.prototype; -dart.addTypeTests(dart.GenericFunctionTypeIdentifier); -dart.addTypeCaches(dart.GenericFunctionTypeIdentifier); -dart.setLibraryUri(dart.GenericFunctionTypeIdentifier, I[10]); -dart.setFieldSignature(dart.GenericFunctionTypeIdentifier, () => ({ - __proto__: dart.getFields(dart.GenericFunctionTypeIdentifier.__proto__), - typeFormals: dart.finalFieldType(dart.dynamic), - typeBounds: dart.finalFieldType(dart.dynamic), - function: dart.finalFieldType(dart.FunctionType), - [_stringValue]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart.GenericFunctionTypeIdentifier, ['toString']); -var formalCount = dart.privateName(dart, "GenericFunctionType.formalCount"); -var _instantiateTypeBounds$ = dart.privateName(dart, "_instantiateTypeBounds"); -var _instantiateTypeParts = dart.privateName(dart, "_instantiateTypeParts"); -var _typeFormals = dart.privateName(dart, "_typeFormals"); -dart.GenericFunctionType = class GenericFunctionType extends dart.AbstractFunctionType { - get formalCount() { - return this[formalCount]; - } - set formalCount(value) { - super.formalCount = value; - } - static ['_#new#tearOff'](instantiateTypeParts, _instantiateTypeBounds) { - return new dart.GenericFunctionType.new(instantiateTypeParts, _instantiateTypeBounds); - } - get typeFormals() { - return this[_typeFormals]; - } - get hasTypeBounds() { - return this[_instantiateTypeBounds$] != null; - } - checkBounds(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; - for (let i = 0; i < dart.notNull(typeArgs[$length]); i = i + 1) { - dart.checkTypeBound(typeArgs[$_get](i), bounds[$_get](i), typeFormals[$_get](i).name); - } - } - instantiate(typeArgs) { - let parts = this[_instantiateTypeParts].apply(null, typeArgs); - return dart.FunctionType.create(parts[0], parts[1], parts[2], parts[3]); - } - instantiateTypeBounds(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)); - } - return this[_instantiateTypeBounds$].apply(null, typeArgs); - } - toString() { - let s = "<"; - let typeFormals = this.typeFormals; - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0, n = typeFormals[$length]; i < dart.notNull(n); i = i + 1) { - if (i !== 0) s = s + ", "; - s = s + typeFormals[i].name; - let bound = typeBounds[$_get](i); - if (bound !== dart.dynamic && bound !== core.Object) { - s = s + (" extends " + dart.str(bound)); - } - } - s = s + (">" + dart.notNull(dart.toString(this.instantiate(typeFormals)))); - return s; - } - instantiateDefaultBounds() { - function defaultsToDynamic(type) { - if (type === dart.dynamic) return true; - if (type instanceof dart.NullableType || true && type instanceof dart.LegacyType) { - return type.type === core.Object; - } - return false; - } - let typeFormals = this.typeFormals; - let all = new (T$.IdentityMapOfTypeVariable$int()).new(); - let defaults = T$.ListOfObjectN().filled(typeFormals[$length], null); - let partials = new (T$.IdentityMapOfTypeVariable$Object()).new(); - let typeBounds = this.instantiateTypeBounds(typeFormals); - for (let i = 0; i < dart.notNull(typeFormals[$length]); i = i + 1) { - let typeFormal = typeFormals[$_get](i); - let bound = typeBounds[$_get](i); - all[$_set](typeFormal, i); - if (dart.test(defaultsToDynamic(bound))) { - defaults[$_set](i, dart.dynamic); - } else { - defaults[$_set](i, typeFormal); - partials[$_set](typeFormal, bound); - } - } - function hasFreeFormal(t) { - if (dart.test(partials[$containsKey](t))) return true; - if (t instanceof dart.LegacyType || t instanceof dart.NullableType) { - return hasFreeFormal(t.type); - } - let typeArgs = dart.getGenericArgs(t); - if (typeArgs != null) return typeArgs[$any](hasFreeFormal); - if (dart.GenericFunctionType.is(t)) { - return hasFreeFormal(t.instantiate(t.typeFormals)); - } - if (dart.FunctionType.is(t)) { - return dart.test(hasFreeFormal(t.returnType)) || dart.test(t.args[$any](hasFreeFormal)); - } - return false; - } - let hasProgress = true; - while (hasProgress) { - hasProgress = false; - for (let typeFormal of partials[$keys]) { - let partialBound = dart.nullCheck(partials[$_get](typeFormal)); - if (!dart.test(hasFreeFormal(partialBound))) { - let index = dart.nullCheck(all[$_get](typeFormal)); - defaults[$_set](index, this.instantiateTypeBounds(defaults)[$_get](index)); - partials[$remove](typeFormal); - hasProgress = true; - break; - } - } - } - if (dart.test(partials[$isNotEmpty])) { - dart.throwTypeError("Instantiate to bounds failed for type with " + "recursive generic bounds: " + dart.typeName(this) + ". " + "Try passing explicit type arguments."); - } - return defaults; - } - is(obj) { - if (typeof obj == "function") { - let actual = obj[dart._runtimeType]; - return actual != null && dart.isSubtypeOf(actual, this); - } - return false; - } - as(obj) { - if (this.is(obj)) return obj; - return dart.as(obj, this); - } -}; -(dart.GenericFunctionType.new = function(instantiateTypeParts, _instantiateTypeBounds) { - this[_instantiateTypeBounds$] = _instantiateTypeBounds; - this[_instantiateTypeParts] = instantiateTypeParts; - this[formalCount] = instantiateTypeParts.length; - this[_typeFormals] = dart._typeFormalsFromFunction(instantiateTypeParts); - dart.GenericFunctionType.__proto__.new.call(this); - ; -}).prototype = dart.GenericFunctionType.prototype; -dart.addTypeTests(dart.GenericFunctionType); -dart.addTypeCaches(dart.GenericFunctionType); -dart.setMethodSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getMethods(dart.GenericFunctionType.__proto__), - checkBounds: dart.fnType(dart.void, [core.List$(core.Object)]), - instantiate: dart.fnType(dart.FunctionType, [dart.dynamic]), - instantiateTypeBounds: dart.fnType(core.List$(core.Object), [core.List]), - instantiateDefaultBounds: dart.fnType(core.List, []) -})); -dart.setGetterSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getGetters(dart.GenericFunctionType.__proto__), - typeFormals: core.List$(dart.TypeVariable), - hasTypeBounds: core.bool -})); -dart.setLibraryUri(dart.GenericFunctionType, I[10]); -dart.setFieldSignature(dart.GenericFunctionType, () => ({ - __proto__: dart.getFields(dart.GenericFunctionType.__proto__), - [_instantiateTypeParts]: dart.finalFieldType(dart.dynamic), - formalCount: dart.finalFieldType(core.int), - [_instantiateTypeBounds$]: dart.finalFieldType(dart.dynamic), - [_typeFormals]: dart.finalFieldType(core.List$(dart.TypeVariable)) -})); -dart.defineExtensionMethods(dart.GenericFunctionType, ['toString']); -var _typeVariables = dart.privateName(dart, "_typeVariables"); -var _isSubtypeMatch = dart.privateName(dart, "_isSubtypeMatch"); -var _constrainLower = dart.privateName(dart, "_constrainLower"); -var _constrainUpper = dart.privateName(dart, "_constrainUpper"); -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]) { - if (constraint.lower != null) { - result[$add](dart.nullCheck(constraint.lower)); - } else if (constraint.upper != null) { - result[$add](dart.nullCheck(constraint.upper)); - } else { - return null; - } - } - return result; - } - trySubtypeMatch(subtype, 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], 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], 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 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; - } - if (dart.notNull(subtype.positionalParameterCount) < dart.notNull(supertype.positionalParameterCount)) { - return false; - } - if (!dart.VoidType.is(supertype.returnType) && !dart.test(this[_isSubtypeMatch](subtype.returnType, supertype.returnType))) { - return false; - } - for (let i = 0, n = supertype.positionalParameterCount; i < dart.notNull(n); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(supertype.getPositionalParameter(i)), core.Object.as(subtype.getPositionalParameter(i))))) { - return false; - } - } - let supertypeNamed = supertype.getNamedParameters(); - let supertypeRequiredNamed = supertype.getRequiredNamedParameters(); - let subtypeNamed = supertype.getNamedParameters(); - let subtypeRequiredNamed = supertype.getRequiredNamedParameters(); - { - supertypeNamed = (() => { - let t0 = T$.LinkedHashMapOfString$Object().of(supertypeNamed); - t0[$addAll](supertypeRequiredNamed); - return t0; - })(); - subtypeNamed = (() => { - let t1 = T$.LinkedHashMapOfString$Object().of(subtypeNamed); - t1[$addAll](subtypeRequiredNamed); - return t1; - })(); - supertypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - subtypeRequiredNamed = new (T$.IdentityMapOfString$Object()).new(); - } - for (let name of subtypeRequiredNamed[$keys]) { - let supertypeParamType = supertypeRequiredNamed[$_get](name); - if (supertypeParamType == null) return false; - } - for (let name of supertypeNamed[$keys]) { - let subtypeParamType = subtypeNamed[$_get](name); - if (subtypeParamType == null) return false; - if (!dart.test(this[_isSubtypeMatch](dart.nullCheck(supertypeNamed[$_get](name)), subtypeParamType))) { - return false; - } - } - for (let name of supertypeRequiredNamed[$keys]) { - 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; - } - } - return true; - } - [_isInterfaceSubtypeMatch](subtype, 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)); - let supertypeTypeArgs = dart.nullCheck(dart.getGenericArgs(supertype)); - for (let i = 0; i < dart.notNull(supertypeTypeArgs[$length]); i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](core.Object.as(matchingTypeArgs[$_get](i)), core.Object.as(supertypeTypeArgs[$_get](i))))) { - return false; - } - } - return true; - } - [_isSubtypeMatch](subtype, 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; - } - if (dart.TypeVariable.is(supertype) && dart.test(this[_typeVariables][$containsKey](supertype))) { - this[_constrainLower](supertype, subtype); - return true; - } - if (core.identical(subtype, supertype)) return true; - if (dart.test(this[_isTop$](supertype))) return true; - if (subtype === core.Null) return true; - if (dart._isFutureOr(subtype)) { - let subtypeArg = dart.nullCheck(dart.getGenericArgs(subtype))[$_get](0); - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - return this[_isSubtypeMatch](core.Object.as(subtypeArg), core.Object.as(supertypeArg)); - } - let subtypeFuture = async.Future$(subtypeArg); - return dart.test(this[_isSubtypeMatch](subtypeFuture, supertype)) && dart.test(this[_isSubtypeMatch](core.Object.as(dart.nullCheck(subtypeArg)), supertype)); - } - if (dart._isFutureOr(supertype)) { - let supertypeArg = dart.nullCheck(dart.getGenericArgs(supertype))[$_get](0); - let supertypeFuture = async.Future$(supertypeArg); - return dart.test(this[_isSubtypeMatch](subtype, supertypeFuture)) || dart.test(this[_isSubtypeMatch](subtype, core.Object.as(supertypeArg))); - } - if (dart.TypeVariable.is(subtype)) { - return dart.TypeVariable.is(supertype) && subtype == supertype; - } - if (dart.GenericFunctionType.is(subtype)) { - if (dart.GenericFunctionType.is(supertype)) { - let formalCount = subtype.formalCount; - 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 < formalCount; i = i + 1) { - if (!dart.test(this[_isSubtypeMatch](t2Bounds[$_get](i), t1Bounds[$_get](i)))) { - return false; - } - } - return this[_isFunctionSubtypeMatch](subtype.instantiate(fresh), supertype.instantiate(fresh)); - } else { - return false; - } - } else if (dart.GenericFunctionType.is(supertype)) { - return false; - } - if (dart.FunctionType.is(subtype)) { - if (!dart.FunctionType.is(supertype)) { - if (supertype === core.Function || supertype === core.Object) { - return true; - } else { - return false; - } - } - if (dart.FunctionType.is(supertype)) { - return this[_isFunctionSubtypeMatch](subtype, supertype); - } - } - return this[_isInterfaceSubtypeMatch](subtype, supertype); - } - [_isTop$](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], 1873, 40, "typeVariables"); - this[_typeVariables] = T$.LinkedHashMapOfTypeVariable$TypeConstraint().fromIterables(typeVariables, typeVariables[$map](dart.TypeConstraint, _ => { - if (_ == null) dart.nullFailed(I[5], 1875, 47, "_"); - return new dart.TypeConstraint.new(); - })); - ; -}).prototype = dart._TypeInferrer.prototype; -dart.addTypeTests(dart._TypeInferrer); -dart.addTypeCaches(dart._TypeInferrer); -dart.setMethodSignature(dart._TypeInferrer, () => ({ - __proto__: dart.getMethods(dart._TypeInferrer.__proto__), - getInferredTypes: dart.fnType(dart.nullable(core.List$(core.Object)), []), - trySubtypeMatch: dart.fnType(core.bool, [core.Object, core.Object]), - [_constrainLower]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [dart.TypeVariable, core.Object]), - [_isFunctionSubtypeMatch]: dart.fnType(core.bool, [dart.FunctionType, dart.FunctionType]), - [_isInterfaceSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isSubtypeMatch]: dart.fnType(core.bool, [core.Object, core.Object]), - [_isTop$]: dart.fnType(core.bool, [core.Object]) -})); -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)) -})); -var lower = dart.privateName(dart, "TypeConstraint.lower"); -var upper = dart.privateName(dart, "TypeConstraint.upper"); -dart.TypeConstraint = class TypeConstraint extends core.Object { - get lower() { - return this[lower]; - } - set lower(value) { - this[lower] = value; - } - get upper() { - return this[upper]; - } - set upper(value) { - this[upper] = value; - } - [_constrainLower](type) { - if (type == null) dart.nullFailed(I[5], 2188, 31, "type"); - let _lower = this.lower; - if (_lower != null) { - if (dart.isSubtypeOf(_lower, type)) { - return; - } - if (!dart.isSubtypeOf(type, _lower)) { - type = core.Null; - } - } - this.lower = type; - } - [_constrainUpper](type) { - if (type == null) dart.nullFailed(I[5], 2203, 31, "type"); - let _upper = this.upper; - if (_upper != null) { - if (dart.isSubtypeOf(type, _upper)) { - return; - } - if (!dart.isSubtypeOf(_upper, type)) { - type = core.Object; - } - } - this.upper = type; - } - 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; - this[upper] = null; - ; -}).prototype = dart.TypeConstraint.prototype; -dart.addTypeTests(dart.TypeConstraint); -dart.addTypeCaches(dart.TypeConstraint); -dart.setMethodSignature(dart.TypeConstraint, () => ({ - __proto__: dart.getMethods(dart.TypeConstraint.__proto__), - [_constrainLower]: dart.fnType(dart.void, [core.Object]), - [_constrainUpper]: dart.fnType(dart.void, [core.Object]) -})); -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$]; - let trace = ""; - if (e != null && typeof e === "object") { - trace = _interceptors.NativeError.is(e) ? e[$dartStack]() : e.stack; - let mapper = _debugger.stackTraceMapper; - if (trace != null && mapper != null) { - trace = mapper(trace); - } - } - if (trace[$isEmpty] || this[_jsObjectMissingTrace] != null) { - let jsToString = null; - try { - jsToString = "" + this[_jsObjectMissingTrace]; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - jsToString = ""; - } else - throw e$; - } - trace = "Non-error `" + dart.str(jsToString) + "` thrown by JS does not have stack trace." + "\nCaught in Dart at:\n\n" + dart.str(trace); - } - return this[_trace] = trace; - } -}; -(dart._StackTrace.new = function(_jsError) { - this[_trace] = null; - this[_jsError$] = _jsError; - this[_jsObjectMissingTrace] = null; - ; -}).prototype = dart._StackTrace.prototype; -(dart._StackTrace.missing = function(caughtObj) { - this[_trace] = null; - this[_jsObjectMissingTrace] = caughtObj != null ? caughtObj : "null"; - this[_jsError$] = Error(); - ; -}).prototype = dart._StackTrace.prototype; -dart.addTypeTests(dart._StackTrace); -dart.addTypeCaches(dart._StackTrace); -dart._StackTrace[dart.implements] = () => [core.StackTrace]; -dart.setLibraryUri(dart._StackTrace, I[10]); -dart.setFieldSignature(dart._StackTrace, () => ({ - __proto__: dart.getFields(dart._StackTrace.__proto__), - [_jsError$]: dart.finalFieldType(dart.nullable(core.Object)), - [_jsObjectMissingTrace]: dart.finalFieldType(dart.nullable(core.Object)), - [_trace]: dart.fieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(dart._StackTrace, ['toString']); -var memberName$ = dart.privateName(dart, "InvocationImpl.memberName"); -var positionalArguments$ = dart.privateName(dart, "InvocationImpl.positionalArguments"); -var namedArguments$ = dart.privateName(dart, "InvocationImpl.namedArguments"); -var typeArguments$ = dart.privateName(dart, "InvocationImpl.typeArguments"); -var isMethod$ = dart.privateName(dart, "InvocationImpl.isMethod"); -var isGetter$ = dart.privateName(dart, "InvocationImpl.isGetter"); -var isSetter$ = dart.privateName(dart, "InvocationImpl.isSetter"); -var failureMessage$ = dart.privateName(dart, "InvocationImpl.failureMessage"); -let const$; -let const$0; -dart.defineLazy(CT, { - get C0() { - return C[0] = dart.const({ - __proto__: _internal.SentinelValue.prototype, - [SentinelValue_id]: 0 - }); - }, - get C1() { - return C[1] = dart.constList([], T$.TypeL()); - }, - get C2() { - return C[2] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "none" - }); - }, - get C3() { - return C[3] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "skipDart" - }); - }, - get C4() { - return C[4] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "keyToString" - }); - }, - get C5() { - return C[5] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asClass" - }); - }, - get C6() { - return C[6] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asObject" - }); - }, - get C7() { - return C[7] = dart.const({ - __proto__: _debugger.JsonMLConfig.prototype, - [name$0]: "asMap" - }); - }, - get C8() { - return C[8] = dart.fn(_debugger.getTypeName, T$.dynamicToString()); - }, - get C9() { - return C[9] = dart.const({ - __proto__: _foreign_helper._Rest.prototype - }); - }, - get C10() { - return C[10] = dart.const(new _js_helper.PrivateSymbol.new('_receiver', _receiver)); - }, - get C11() { - return C[11] = dart.const(new _js_helper.PrivateSymbol.new('_arguments', _arguments)); - }, - get C12() { - return C[12] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName)); - }, - get C13() { - return C[13] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation)); - }, - get C14() { - return C[14] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments)); - }, - get C15() { - return C[15] = dart.const(new _js_helper.PrivateSymbol.new('_hasValue', _hasValue)); - }, - get C16() { - return C[16] = dart.const(new _js_helper.PrivateSymbol.new('_errorExplanation', _errorExplanation)); - }, - get C17() { - return C[17] = dart.const(new _js_helper.PrivateSymbol.new('_errorName', _errorName)); - }, - get C18() { - return C[18] = dart.const({ - __proto__: core.OutOfMemoryError.prototype - }); - }, - get C19() { - return C[19] = dart.fn(collection.ListMixin._compareAny, T$.dynamicAnddynamicToint()); - }, - get C20() { - return C[20] = dart.fn(collection.MapBase._id, T$.ObjectNToObjectN()); - }, - get C21() { - return C[21] = dart.const({ - __proto__: T$.EmptyIteratorOfNeverL().prototype - }); - }, - get C22() { - 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({ - __proto__: _internal._Patch.prototype - }); - }, - get C24() { - return C[24] = dart.fn(_js_helper.Primitives.dateNow, T$.VoidToint()); - }, - get C25() { - 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('_arguments', _arguments$0)); - }, - get C27() { - return C[27] = dart.const(new _js_helper.PrivateSymbol.new('_memberName', _memberName$0)); - }, - get C28() { - return C[28] = dart.const(new _js_helper.PrivateSymbol.new('_invocation', _invocation$0)); - }, - get C29() { - return C[29] = dart.const(new _js_helper.PrivateSymbol.new('_namedArguments', _namedArguments$0)); - }, - get C30() { - return C[30] = dart.applyExtensionForTesting; - }, - get C31() { - return C[31] = dart.fn(_js_helper.assertInterop, T$.ObjectNTovoid()); - }, - get C32() { - return C[32] = dart.fn(_js_helper._matchString, T$.MatchToString()); - }, - get C33() { - return C[33] = dart.fn(_js_helper._stringIdentity, T$.StringToString()); - }, - get C34() { - return C[34] = dart.const({ - __proto__: _js_helper._NotNull.prototype - }); - }, - get C35() { - return C[35] = dart.const({ - __proto__: _js_helper._Undefined.prototype - }); - }, - get C36() { - return C[36] = dart.const({ - __proto__: _js_helper._NullCheck.prototype - }); - }, - get C37() { - return C[37] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: false - }); - }, - get C38() { - return C[38] = dart.fn(async._nullDataHandler, T$.dynamicTovoid()); - }, - get C39() { - return C[39] = dart.fn(async._nullErrorHandler, T$.ObjectAndStackTraceTovoid()); - }, - get C40() { - return C[40] = dart.fn(async._nullDoneHandler, T$.VoidTovoid()); - }, - get C41() { - return C[41] = dart.const({ - __proto__: async._DelayedDone.prototype - }); - }, - get C42() { - return C[42] = dart.fn(async.Future._kTrue, T$.ObjectNTobool()); - }, - get C43() { - return C[43] = async._AsyncRun._scheduleImmediateJSOverride; - }, - get C44() { - return C[44] = async._AsyncRun._scheduleImmediateWithPromise; - }, - get C45() { - return C[45] = dart.const({ - __proto__: async._RootZone.prototype - }); - }, - get C47() { - return C[47] = dart.fn(async._rootRun, T$.ZoneNAndZoneDelegateNAndZone__ToR()); - }, - get C46() { - return C[46] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLRL().prototype, - [$function$0]: C[47] || CT.C47, - [zone$]: C[45] || CT.C45 - }); - }, - get C49() { - return C[49] = dart.fn(async._rootRunUnary, T$.ZoneNAndZoneDelegateNAndZone__ToR$1()); - }, - 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 C51() { - return C[51] = dart.fn(async._rootRunBinary, T$.ZoneNAndZoneDelegateNAndZone__ToR$2()); - }, - 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 C53() { - return C[53] = dart.fn(async._rootRegisterCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$3()); - }, - get C52() { - return C[52] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLFn().prototype, - [$function$0]: C[53] || CT.C53, - [zone$]: C[45] || CT.C45 - }); - }, - get C55() { - return C[55] = dart.fn(async._rootRegisterUnaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$4()); - }, - 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 C57() { - return C[57] = dart.fn(async._rootRegisterBinaryCallback, T$.ZoneAndZoneDelegateAndZone__ToFn$5()); - }, - 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 C59() { - return C[59] = dart.fn(async._rootErrorCallback, T$.ZoneAndZoneDelegateAndZone__ToAsyncErrorN()); - }, - get C58() { - return C[58] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLAsyncErrorN().prototype, - [$function$0]: C[59] || CT.C59, - [zone$]: C[45] || CT.C45 - }); - }, - get C61() { - return C[61] = dart.fn(async._rootScheduleMicrotask, T$.ZoneNAndZoneDelegateNAndZone__Tovoid()); - }, - get C60() { - return C[60] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid().prototype, - [$function$0]: C[61] || CT.C61, - [zone$]: C[45] || CT.C45 - }); - }, - get C63() { - return C[63] = dart.fn(async._rootCreateTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer()); - }, - get C62() { - return C[62] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL().prototype, - [$function$0]: C[63] || CT.C63, - [zone$]: C[45] || CT.C45 - }); - }, - get C65() { - return C[65] = dart.fn(async._rootCreatePeriodicTimer, T$.ZoneAndZoneDelegateAndZone__ToTimer$1()); - }, - get C64() { - return C[64] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLTimerL$1().prototype, - [$function$0]: C[65] || CT.C65, - [zone$]: C[45] || CT.C45 - }); - }, - get C67() { - return C[67] = dart.fn(async._rootPrint, T$.ZoneAndZoneDelegateAndZone__Tovoid$1()); - }, - get C66() { - return C[66] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$1().prototype, - [$function$0]: C[67] || CT.C67, - [zone$]: C[45] || CT.C45 - }); - }, - get C69() { - return C[69] = dart.fn(async._rootFork, T$.ZoneNAndZoneDelegateNAndZone__ToZone()); - }, - get C68() { - return C[68] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLZoneL().prototype, - [$function$0]: C[69] || CT.C69, - [zone$]: C[45] || CT.C45 - }); - }, - get C71() { - return C[71] = dart.fn(async._rootHandleUncaughtError, T$.ZoneNAndZoneDelegateNAndZone__Tovoid$1()); - }, - get C70() { - return C[70] = dart.const({ - __proto__: T$._ZoneFunctionOfZoneLAndZoneDelegateLAndZoneL__ToLvoid$2().prototype, - [$function$0]: C[71] || CT.C71, - [zone$]: C[45] || CT.C45 - }); - }, - get C72() { - return C[72] = dart.fn(async['FutureExtensions|_ignore'], T$.ObjectNAndObjectNTovoid$1()); - }, - get C73() { - 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, - [createPeriodicTimer$]: null, - [createTimer$]: null, - [scheduleMicrotask$]: null, - [errorCallback$]: null, - [registerBinaryCallback$]: null, - [registerUnaryCallback$]: null, - [registerCallback$]: null, - [runBinary$]: null, - [runUnary$]: null, - [run$]: null, - [handleUncaughtError$]: null - }); - }, - get C76() { - return C[76] = dart.hashCode; - }, - get C77() { - return C[77] = dart.fn(core.identityHashCode, T$0.ObjectNToint()); - }, - get C78() { - return C[78] = dart.fn(core.identical, T$0.ObjectNAndObjectNTobool()); - }, - get C79() { - return C[79] = dart.equals; - }, - get C80() { - 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 C88() { - return C[88] = dart.const({ - __proto__: convert.AsciiDecoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 127, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C89() { - return C[89] = dart.const({ - __proto__: convert.AsciiEncoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 127 - }); - }, - get C90() { - return C[90] = dart.constList([239, 191, 189], T$0.intL()); - }, - get C91() { - return C[91] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: false - }); - }, - get C92() { - return C[92] = dart.const({ - __proto__: convert.Base64Encoder.prototype, - [Base64Encoder__urlSafe]: true - }); - }, - get C93() { - return C[93] = dart.const({ - __proto__: convert.Base64Decoder.prototype - }); - }, - get C94() { - return C[94] = dart.constList([], T$0.intL()); - }, - get C95() { - return C[95] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: true, - [escapeApos$]: true, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "unknown" - }); - }, - get C96() { - return C[96] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: true, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C97() { - return C[97] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: true, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "attribute" - }); - }, - get C98() { - return C[98] = dart.const({ - __proto__: convert.HtmlEscapeMode.prototype, - [escapeSlash$]: false, - [escapeApos$]: false, - [escapeQuot$]: false, - [escapeLtGt$]: true, - [_name$2]: "element" - }); - }, - get C99() { - return C[99] = dart.const({ - __proto__: convert.JsonEncoder.prototype, - [JsonEncoder__toEncodable]: null, - [JsonEncoder_indent]: null - }); - }, - get C100() { - return C[100] = dart.const({ - __proto__: convert.JsonDecoder.prototype, - [JsonDecoder__reviver]: null - }); - }, - get C101() { - return C[101] = dart.fn(convert._defaultToEncodable, T$.dynamicTodynamic()); - }, - get C102() { - return C[102] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: true - }); - }, - get C103() { - return C[103] = dart.const({ - __proto__: convert.Latin1Decoder.prototype, - [_UnicodeSubsetDecoder__subsetMask]: 255, - [_UnicodeSubsetDecoder__allowInvalid]: false - }); - }, - get C104() { - return C[104] = dart.const({ - __proto__: convert.Latin1Encoder.prototype, - [_UnicodeSubsetEncoder__subsetMask]: 255 - }); - }, - get C105() { - return C[105] = dart.constList([65533], T$0.intL()); - }, - get C106() { - return C[106] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: true - }); - }, - get C107() { - return C[107] = dart.const({ - __proto__: convert.Utf8Decoder.prototype, - [Utf8Decoder__allowMalformed]: false - }); - }, - get C108() { - return C[108] = dart.const({ - __proto__: convert.Utf8Encoder.prototype - }); - }, - get C109() { - return C[109] = dart.const({ - __proto__: convert.AsciiCodec.prototype, - [_allowInvalid]: false - }); - }, - get C110() { - return C[110] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[91] || CT.C91 - }); - }, - get C111() { - return C[111] = dart.const({ - __proto__: convert.Base64Codec.prototype, - [_encoder]: C[92] || CT.C92 - }); - }, - get C112() { - return C[112] = dart.const({ - __proto__: convert.HtmlEscape.prototype, - [mode$]: C[95] || CT.C95 - }); - }, - get C113() { - return C[113] = dart.const({ - __proto__: convert.JsonCodec.prototype, - [_toEncodable]: null, - [_reviver]: null - }); - }, - get C114() { - return C[114] = dart.const({ - __proto__: convert.Latin1Codec.prototype, - [_allowInvalid$1]: false - }); - }, - get C115() { - return C[115] = dart.const({ - __proto__: convert.Utf8Codec.prototype, - [_allowMalformed]: false - }); - }, - get C116() { - return C[116] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 0 - }); - }, - get C117() { - return C[117] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 1 - }); - }, - get C118() { - return C[118] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 2 - }); - }, - get C119() { - return C[119] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 3 - }); - }, - get C120() { - return C[120] = dart.const({ - __proto__: io.FileMode.prototype, - [_mode$]: 4 - }); - }, - get C121() { - return C[121] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 1 - }); - }, - get C122() { - return C[122] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 2 - }); - }, - get C123() { - return C[123] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 3 - }); - }, - get C124() { - return C[124] = dart.const({ - __proto__: io.FileLock.prototype, - [_type$1]: 4 - }); - }, - get C125() { - return C[125] = dart.const({ - __proto__: convert.LineSplitter.prototype - }); - }, - get C126() { - return C[126] = dart.fn(io._FileResourceInfo.getOpenFiles, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C127() { - return C[127] = dart.fn(io._FileResourceInfo.getOpenFileInfoMapByID, T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse()); - }, - get C128() { - return C[128] = dart.constList(["file", "directory", "link", "unixDomainSock", "pipe", "notFound"], T$.StringL()); - }, - get C129() { - return C[129] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 0 - }); - }, - get C130() { - return C[130] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 1 - }); - }, - get C131() { - return C[131] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 2 - }); - }, - get C132() { - return C[132] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 3 - }); - }, - get C133() { - return C[133] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 4 - }); - }, - get C134() { - return C[134] = dart.const({ - __proto__: io.FileSystemEntityType.prototype, - [_type$2]: 5 - }); - }, - 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 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, - [_Enum__name]: "startTime", - [_Enum_index]: 0 - }); - }, - get C139() { - return C[139] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "endTime", - [_Enum_index]: 1 - }); - }, - get C140() { - return C[140] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "address", - [_Enum_index]: 2 - }); - }, - get C141() { - return C[141] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "port", - [_Enum_index]: 3 - }); - }, - get C142() { - return C[142] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "socketType", - [_Enum_index]: 4 - }); - }, - get C143() { - return C[143] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "readBytes", - [_Enum_index]: 5 - }); - }, - get C144() { - return C[144] = dart.const({ - __proto__: io._SocketProfileType.prototype, - [_Enum__name]: "writeBytes", - [_Enum_index]: 6 - }); - }, - 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 C147() { - return C[147] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 0 - }); - }, - get C148() { - return C[148] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 1 - }); - }, - get C149() { - return C[149] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 2 - }); - }, - get C150() { - return C[150] = dart.const({ - __proto__: io.ProcessStartMode.prototype, - [_mode$0]: 3 - }); - }, - 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 C151() { - return C[151] = dart.constList(["normal", "inheritStdio", "detached", "detachedWithStdio"], T$.StringL()); - }, - get C152() { - return C[152] = dart.const({ - __proto__: io.SystemEncoding.prototype - }); - }, - get C153() { - return C[153] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTERM", - [ProcessSignal__signalNumber]: 15 - }); - }, - get C154() { - return C[154] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGHUP", - [ProcessSignal__signalNumber]: 1 - }); - }, - get C155() { - return C[155] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGINT", - [ProcessSignal__signalNumber]: 2 - }); - }, - get C156() { - return C[156] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGQUIT", - [ProcessSignal__signalNumber]: 3 - }); - }, - get C157() { - return C[157] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGILL", - [ProcessSignal__signalNumber]: 4 - }); - }, - get C158() { - return C[158] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTRAP", - [ProcessSignal__signalNumber]: 5 - }); - }, - get C159() { - return C[159] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGABRT", - [ProcessSignal__signalNumber]: 6 - }); - }, - get C160() { - return C[160] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGBUS", - [ProcessSignal__signalNumber]: 7 - }); - }, - get C161() { - return C[161] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGFPE", - [ProcessSignal__signalNumber]: 8 - }); - }, - get C162() { - return C[162] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGKILL", - [ProcessSignal__signalNumber]: 9 - }); - }, - get C163() { - return C[163] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR1", - [ProcessSignal__signalNumber]: 10 - }); - }, - get C164() { - return C[164] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSEGV", - [ProcessSignal__signalNumber]: 11 - }); - }, - get C165() { - return C[165] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGUSR2", - [ProcessSignal__signalNumber]: 12 - }); - }, - get C166() { - return C[166] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPIPE", - [ProcessSignal__signalNumber]: 13 - }); - }, - get C167() { - return C[167] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGALRM", - [ProcessSignal__signalNumber]: 14 - }); - }, - get C168() { - return C[168] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCHLD", - [ProcessSignal__signalNumber]: 17 - }); - }, - get C169() { - return C[169] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGCONT", - [ProcessSignal__signalNumber]: 18 - }); - }, - get C170() { - return C[170] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSTOP", - [ProcessSignal__signalNumber]: 19 - }); - }, - get C171() { - return C[171] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTSTP", - [ProcessSignal__signalNumber]: 20 - }); - }, - get C172() { - return C[172] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTIN", - [ProcessSignal__signalNumber]: 21 - }); - }, - get C173() { - return C[173] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGTTOU", - [ProcessSignal__signalNumber]: 22 - }); - }, - get C174() { - return C[174] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGURG", - [ProcessSignal__signalNumber]: 23 - }); - }, - get C175() { - return C[175] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXCPU", - [ProcessSignal__signalNumber]: 24 - }); - }, - get C176() { - return C[176] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGXFSZ", - [ProcessSignal__signalNumber]: 25 - }); - }, - get C177() { - return C[177] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGVTALRM", - [ProcessSignal__signalNumber]: 26 - }); - }, - get C178() { - return C[178] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPROF", - [ProcessSignal__signalNumber]: 27 - }); - }, - get C179() { - return C[179] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGWINCH", - [ProcessSignal__signalNumber]: 28 - }); - }, - get C180() { - return C[180] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGPOLL", - [ProcessSignal__signalNumber]: 29 - }); - }, - get C181() { - return C[181] = dart.const({ - __proto__: io.ProcessSignal.prototype, - [ProcessSignal__name]: "SIGSYS", - [ProcessSignal__signalNumber]: 31 - }); - }, - get C182() { - return C[182] = dart.constList(["RawSocketEvent.read", "RawSocketEvent.write", "RawSocketEvent.readClosed", "RawSocketEvent.closed"], T$.StringL()); - }, - get C183() { - return C[183] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 0 - }); - }, - get C184() { - return C[184] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 1 - }); - }, - get C185() { - return C[185] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 2 - }); - }, - get C186() { - return C[186] = dart.const({ - __proto__: io.RawSocketEvent.prototype, - [_value$]: 3 - }); - }, - get C187() { - return C[187] = dart.constList(["ANY", "IPv4", "IPv6", "Unix"], T$.StringL()); - }, - get C188() { - return C[188] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 0 - }); - }, - get C189() { - return C[189] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 1 - }); - }, - get C190() { - return C[190] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: 2 - }); - }, - get C191() { - return C[191] = dart.const({ - __proto__: io.InternetAddressType.prototype, - [_value$1]: -1 - }); - }, - get C192() { - return C[192] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 0 - }); - }, - get C193() { - return C[193] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 1 - }); - }, - get C194() { - return C[194] = dart.const({ - __proto__: io.SocketDirection.prototype, - [_value$2]: 2 - }); - }, - get C195() { - return C[195] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 0 - }); - }, - get C196() { - return C[196] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 1 - }); - }, - get C197() { - return C[197] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 2 - }); - }, - get C198() { - return C[198] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 3 - }); - }, - get C199() { - return C[199] = dart.const({ - __proto__: io.SocketOption.prototype, - [_value$3]: 4 - }); - }, - get C201() { - return C[201] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "SOL_SOCKET", - [_Enum_index]: 0 - }); - }, - get C202() { - return C[202] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IP", - [_Enum_index]: 1 - }); - }, - get C203() { - return C[203] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IP_MULTICAST_IF", - [_Enum_index]: 2 - }); - }, - get C204() { - return C[204] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_IPV6", - [_Enum_index]: 3 - }); - }, - get C205() { - return C[205] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPV6_MULTICAST_IF", - [_Enum_index]: 4 - }); - }, - get C206() { - return C[206] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_TCP", - [_Enum_index]: 5 - }); - }, - get C207() { - return C[207] = dart.const({ - __proto__: io._RawSocketOptions.prototype, - [_Enum__name]: "IPPROTO_UDP", - [_Enum_index]: 6 - }); - }, - 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 C208() { - return C[208] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "terminal" - }); - }, - get C209() { - return C[209] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "pipe" - }); - }, - get C210() { - return C[210] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "file" - }); - }, - get C211() { - return C[211] = dart.const({ - __proto__: io.StdioType.prototype, - [name$11]: "other" - }); - }, - get C212() { - return C[212] = dart.const({ - __proto__: io._WindowsCodePageEncoder.prototype - }); - }, - get C213() { - return C[213] = dart.const({ - __proto__: io._WindowsCodePageDecoder.prototype - }); - }, - get C214() { - return C[214] = dart.constList([1, 2, 3, 4, 0], T$0.intL()); - }, - get C215() { - return C[215] = dart.const({ - __proto__: io.ZLibCodec.prototype, - [dictionary$]: null, - [raw$]: false, - [windowBits$]: 15, - [strategy$]: 0, - [memLevel$]: 8, - [level$]: 6, - [gzip$]: false - }); - }, - get C216() { - return C[216] = dart.const({ - __proto__: io.GZipCodec.prototype, - [raw$0]: false, - [dictionary$0]: null, - [windowBits$0]: 15, - [strategy$0]: 0, - [memLevel$0]: 8, - [level$0]: 6, - [gzip$0]: true - }); - }, - get C217() { - return C[217] = dart.fn(async.runZoned, T$0.Fn__ToR()); - }, - get C218() { - return C[218] = dart.fn(isolate$._RemoteRunner._remoteExecute, T$0._RemoteRunnerOfObjectNTovoid()); - }, - get C219() { - return C[219] = dart.fn(js._convertToJS, T$.ObjectNToObjectN()); - }, - get C220() { - return C[220] = dart.fn(js._wrapDartFunction, T$0.ObjectToObject()); - }, - get C221() { - return C[221] = dart.fn(js._wrapToDartHelper, T$0.ObjectToJsObject()); - }, - get C222() { - return C[222] = dart.const({ - __proto__: math._JSRandom.prototype - }); - }, - get C223() { - return C[223] = dart.const({ - __proto__: typed_data.Endian.prototype, - [Endian__littleEndian]: true - }); - }, - get C224() { - return C[224] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C225() { - return C[225] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C226() { - return C[226] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C227() { - return C[227] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "versionchange" - }); - }, - get C228() { - return C[228] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "success" - }); - }, - get C229() { - return C[229] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blocked" - }); - }, - get C230() { - return C[230] = dart.const({ - __proto__: T$0.EventStreamProviderOfVersionChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "upgradeneeded" - }); - }, - get C231() { - return C[231] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "complete" - }); - }, - get C232() { - return C[232] = dart.const({ - __proto__: _js_helper.Creates.prototype, - [types$1]: "JSExtendableArray|=Object|num|String" - }); - }, - get C233() { - return C[233] = dart.const({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "JSExtendableArray|=Object|num|String" - }); - }, - get C234() { - 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._CustomEventStreamProviderOfWheelEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[236] || CT.C236 - }); - }, - get C238() { - return C[238] = dart.fn(html$.Element._determineTransitionEventType, T$0.EventTargetToString()); - }, - get C237() { - return C[237] = dart.const({ - __proto__: T$0._CustomEventStreamProviderOfTransitionEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[238] || CT.C238 - }); - }, - get C239() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecopy" - }); - }, - get C241() { - return C[241] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforecut" - }); - }, - get C242() { - return C[242] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "beforepaste" - }); - }, - get C243() { - return C[243] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "blur" - }); - }, - get C244() { - return C[244] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplay" - }); - }, - get C245() { - return C[245] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "canplaythrough" - }); - }, - get C246() { - return C[246] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "change" - }); - }, - get C247() { - return C[247] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C248() { - return C[248] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "contextmenu" - }); - }, - get C249() { - return C[249] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "copy" - }); - }, - get C250() { - return C[250] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "cut" - }); - }, - get C251() { - return C[251] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "dblclick" - }); - }, - get C252() { - return C[252] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drag" - }); - }, - get C253() { - return C[253] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragend" - }); - }, - get C254() { - return C[254] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragenter" - }); - }, - get C255() { - return C[255] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragleave" - }); - }, - get C256() { - return C[256] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragover" - }); - }, - get C257() { - return C[257] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "dragstart" - }); - }, - get C258() { - return C[258] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "drop" - }); - }, - get C259() { - return C[259] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "durationchange" - }); - }, - get C260() { - return C[260] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "emptied" - }); - }, - get C261() { - return C[261] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ended" - }); - }, - get C262() { - return C[262] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "focus" - }); - }, - get C263() { - return C[263] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "input" - }); - }, - get C264() { - return C[264] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "invalid" - }); - }, - get C265() { - return C[265] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keydown" - }); - }, - get C266() { - return C[266] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keypress" - }); - }, - get C267() { - return C[267] = dart.const({ - __proto__: T$0.EventStreamProviderOfKeyboardEventL().prototype, - [S.EventStreamProvider__eventType]: "keyup" - }); - }, - get C268() { - return C[268] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "load" - }); - }, - get C269() { - return C[269] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadeddata" - }); - }, - get C270() { - return C[270] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadedmetadata" - }); - }, - get C271() { - return C[271] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousedown" - }); - }, - get C272() { - return C[272] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseenter" - }); - }, - get C273() { - return C[273] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseleave" - }); - }, - get C274() { - return C[274] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mousemove" - }); - }, - get C275() { - return C[275] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseout" - }); - }, - get C276() { - return C[276] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseover" - }); - }, - get C277() { - return C[277] = dart.const({ - __proto__: T$0.EventStreamProviderOfMouseEventL().prototype, - [S.EventStreamProvider__eventType]: "mouseup" - }); - }, - get C278() { - return C[278] = dart.const({ - __proto__: T$0.EventStreamProviderOfClipboardEventL().prototype, - [S.EventStreamProvider__eventType]: "paste" - }); - }, - get C279() { - return C[279] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pause" - }); - }, - get C280() { - return C[280] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "play" - }); - }, - get C281() { - return C[281] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "playing" - }); - }, - get C282() { - return C[282] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "ratechange" - }); - }, - get C283() { - return C[283] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "reset" - }); - }, - get C284() { - return C[284] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "resize" - }); - }, - get C285() { - return C[285] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "scroll" - }); - }, - get C286() { - return C[286] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "search" - }); - }, - get C287() { - return C[287] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeked" - }); - }, - get C288() { - return C[288] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "seeking" - }); - }, - get C289() { - return C[289] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "select" - }); - }, - get C290() { - return C[290] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectstart" - }); - }, - get C291() { - return C[291] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "stalled" - }); - }, - get C292() { - return C[292] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "submit" - }); - }, - get C293() { - return C[293] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "suspend" - }); - }, - get C294() { - return C[294] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "timeupdate" - }); - }, - get C295() { - return C[295] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchcancel" - }); - }, - get C296() { - return C[296] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchend" - }); - }, - get C297() { - return C[297] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchenter" - }); - }, - get C298() { - return C[298] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchleave" - }); - }, - get C299() { - return C[299] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchmove" - }); - }, - get C300() { - return C[300] = dart.const({ - __proto__: T$0.EventStreamProviderOfTouchEventL().prototype, - [S.EventStreamProvider__eventType]: "touchstart" - }); - }, - get C301() { - return C[301] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "volumechange" - }); - }, - get C302() { - return C[302] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "waiting" - }); - }, - get C303() { - return C[303] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenchange" - }); - }, - get C304() { - return C[304] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitfullscreenerror" - }); - }, - get C305() { - return C[305] = dart.const({ - __proto__: T$0.EventStreamProviderOfWheelEventL().prototype, - [S.EventStreamProvider__eventType]: "wheel" - }); - }, - get C306() { - return C[306] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleclick" - }); - }, - get C307() { - return C[307] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblecontextmenu" - }); - }, - get C308() { - return C[308] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibledecrement" - }); - }, - get C309() { - return C[309] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblefocus" - }); - }, - get C310() { - return C[310] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessibleincrement" - }); - }, - get C311() { - return C[311] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "accessiblescrollintoview" - }); - }, - get C312() { - return C[312] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cancel" - }); - }, - get C313() { - return C[313] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "finish" - }); - }, - get C314() { - return C[314] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cached" - }); - }, - get C315() { - return C[315] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "checking" - }); - }, - get C316() { - return C[316] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "downloading" - }); - }, - get C317() { - return C[317] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "noupdate" - }); - }, - get C318() { - return C[318] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "obsolete" - }); - }, - get C319() { - return C[319] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C320() { - return C[320] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "updateready" - }); - }, - get C321() { - return C[321] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "hashchange" - }); - }, - get C322() { - return C[322] = dart.const({ - __proto__: T$0.EventStreamProviderOfMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "message" - }); - }, - get C323() { - return C[323] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "offline" - }); - }, - get C324() { - return C[324] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "online" - }); - }, - get C325() { - return C[325] = dart.const({ - __proto__: T$0.EventStreamProviderOfPopStateEventL().prototype, - [S.EventStreamProvider__eventType]: "popstate" - }); - }, - get C326() { - return C[326] = dart.const({ - __proto__: T$0.EventStreamProviderOfStorageEventL().prototype, - [S.EventStreamProvider__eventType]: "storage" - }); - }, - get C327() { - return C[327] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unload" - }); - }, - get C328() { - return C[328] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "mute" - }); - }, - get C329() { - return C[329] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "unmute" - }); - }, - get C330() { - return C[330] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextlost" - }); - }, - get C331() { - return C[331] = dart.const({ - __proto__: T$0.EventStreamProviderOfContextEventL().prototype, - [S.EventStreamProvider__eventType]: "webglcontextrestored" - }); - }, - get C332() { - return C[332] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockchange" - }); - }, - get C333() { - return C[333] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pointerlockerror" - }); - }, - get C334() { - return C[334] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "readystatechange" - }); - }, - get C335() { - return C[335] = dart.const({ - __proto__: T$0.EventStreamProviderOfSecurityPolicyViolationEventL().prototype, - [S.EventStreamProvider__eventType]: "securitypolicyviolation" - }); - }, - get C336() { - return C[336] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "selectionchange" - }); - }, - get C337() { - return C[337] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "TOP" - }); - }, - get C338() { - return C[338] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "CENTER" - }); - }, - get C339() { - return C[339] = dart.const({ - __proto__: html$.ScrollAlignment.prototype, - [S$1._value$6]: "BOTTOM" - }); - }, - get C340() { - return C[340] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "open" - }); - }, - get C341() { - return C[341] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "abort" - }); - }, - get C342() { - return C[342] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C343() { - return C[343] = dart.const({ - __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]: "loadstart" - }); - }, - get C346() { - return C[346] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "write" - }); - }, - get C347() { - return C[347] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writeend" - }); - }, - get C348() { - return C[348] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "writestart" - }); - }, - get C349() { - return C[349] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loading" - }); - }, - get C350() { - return C[350] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingdone" - }); - }, - get C351() { - return C[351] = dart.const({ - __proto__: T$0.EventStreamProviderOfFontFaceSetLoadEventL().prototype, - [S.EventStreamProvider__eventType]: "loadingerror" - }); - }, - get C352() { - return C[352] = dart.const({ - __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._CustomEventStreamProviderOfEventL().prototype, - [S$._CustomEventStreamProvider__eventTypeGetter]: C[354] || CT.C354 - }); - }, - get C355() { - return C[355] = dart.const({ - __proto__: T$0.EventStreamProviderOfProgressEventL().prototype, - [S.EventStreamProvider__eventType]: "timeout" - }); - }, - get C356() { - return C[356] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C357() { - return C[357] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "removetrack" - }); - }, - get C358() { - return C[358] = dart.constList([], T$0.MessagePortL()); - }, - get C359() { - return C[359] = dart.const({ - __proto__: T$0.EventStreamProviderOfMidiMessageEventL().prototype, - [S.EventStreamProvider__eventType]: "midimessage" - }); - }, - get C360() { - 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.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "click" - }); - }, - get C362() { - return C[362] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "show" - }); - }, - get C363() { - return C[363] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDtmfToneChangeEventL().prototype, - [S.EventStreamProvider__eventType]: "tonechange" - }); - }, - get C364() { - return C[364] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "addstream" - }); - }, - get C365() { - return C[365] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connectionstatechange" - }); - }, - get C366() { - return C[366] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcDataChannelEventL().prototype, - [S.EventStreamProvider__eventType]: "datachannel" - }); - }, - get C367() { - return C[367] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcPeerConnectionIceEventL().prototype, - [S.EventStreamProvider__eventType]: "icecandidate" - }); - }, - get C368() { - return C[368] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "iceconnectionstatechange" - }); - }, - get C369() { - return C[369] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "negotiationneeded" - }); - }, - get C370() { - return C[370] = dart.const({ - __proto__: T$0.EventStreamProviderOfMediaStreamEventL().prototype, - [S.EventStreamProvider__eventType]: "removestream" - }); - }, - get C371() { - return C[371] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "signalingstatechange" - }); - }, - get C372() { - return C[372] = dart.const({ - __proto__: T$0.EventStreamProviderOfRtcTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "track" - }); - }, - get C373() { - return C[373] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "activate" - }); - }, - get C374() { - return C[374] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "fetch" - }); - }, - get C375() { - return C[375] = dart.const({ - __proto__: T$0.EventStreamProviderOfForeignFetchEventL().prototype, - [S.EventStreamProvider__eventType]: "foreignfetch" - }); - }, - get C376() { - return C[376] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "install" - }); - }, - get C377() { - return C[377] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "connect" - }); - }, - get C378() { - return C[378] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audioend" - }); - }, - get C379() { - return C[379] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "audiostart" - }); - }, - get C380() { - return C[380] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C381() { - return C[381] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionErrorL().prototype, - [S.EventStreamProvider__eventType]: "error" - }); - }, - get C382() { - return C[382] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "nomatch" - }); - }, - get C383() { - return C[383] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechRecognitionEventL().prototype, - [S.EventStreamProvider__eventType]: "result" - }); - }, - get C384() { - return C[384] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundend" - }); - }, - get C385() { - return C[385] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "soundstart" - }); - }, - get C386() { - return C[386] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechend" - }); - }, - get C387() { - return C[387] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "speechstart" - }); - }, - get C388() { - return C[388] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C389() { - return C[389] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "boundary" - }); - }, - get C390() { - return C[390] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "end" - }); - }, - get C391() { - return C[391] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "mark" - }); - }, - get C392() { - return C[392] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "resume" - }); - }, - get C393() { - return C[393] = dart.const({ - __proto__: T$0.EventStreamProviderOfSpeechSynthesisEventL().prototype, - [S.EventStreamProvider__eventType]: "start" - }); - }, - get C394() { - return C[394] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "cuechange" - }); - }, - get C395() { - return C[395] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "enter" - }); - }, - get C396() { - return C[396] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "exit" - }); - }, - get C397() { - return C[397] = dart.const({ - __proto__: T$0.EventStreamProviderOfTrackEventL().prototype, - [S.EventStreamProvider__eventType]: "addtrack" - }); - }, - get C398() { - return C[398] = dart.const({ - __proto__: T$0.EventStreamProviderOfCloseEventL().prototype, - [S.EventStreamProvider__eventType]: "close" - }); - }, - get C399() { - return C[399] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "DOMContentLoaded" - }); - }, - get C400() { - return C[400] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceMotionEventL().prototype, - [S.EventStreamProvider__eventType]: "devicemotion" - }); - }, - get C401() { - return C[401] = dart.const({ - __proto__: T$0.EventStreamProviderOfDeviceOrientationEventL().prototype, - [S.EventStreamProvider__eventType]: "deviceorientation" - }); - }, - get C402() { - return C[402] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "loadstart" - }); - }, - get C403() { - return C[403] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pagehide" - }); - }, - get C404() { - return C[404] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "pageshow" - }); - }, - get C405() { - return C[405] = dart.const({ - __proto__: T$0.EventStreamProviderOfEventL().prototype, - [S.EventStreamProvider__eventType]: "progress" - }); - }, - get C406() { - return C[406] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationEnd" - }); - }, - get C407() { - return C[407] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationIteration" - }); - }, - get C408() { - return C[408] = dart.const({ - __proto__: T$0.EventStreamProviderOfAnimationEventL().prototype, - [S.EventStreamProvider__eventType]: "webkitAnimationStart" - }); - }, - get C409() { - return C[409] = dart.const({ - __proto__: T$0.EventStreamProviderOfBeforeUnloadEventL().prototype, - [S.EventStreamProvider__eventType]: "beforeunload" - }); - }, - get C410() { - return C[410] = dart.fn(html$._Html5NodeValidator._standardAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C411() { - return C[411] = dart.fn(html$._Html5NodeValidator._uriAttributeValidator, T$0.ElementAndStringAndString__Tobool()); - }, - get C412() { - 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.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.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.constList([], T$.StringL()); - }, - get C416() { - return C[416] = dart.constList(["A", "FORM"], T$.StringL()); - }, - get C417() { - 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.constList(["A::href", "FORM::action"], T$.StringL()); - }, - get C419() { - return C[419] = dart.constList(["IMG"], T$.StringL()); - }, - get C420() { - 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(["IMG::src"], T$.StringL()); - }, - get C422() { - 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(["bind", "if", "ref", "repeat", "syntax"], T$.StringL()); - }, - get C424() { - return C[424] = dart.const({ - __proto__: html$.Console.prototype - }); - }, - get C425() { - return C[425] = dart.const({ - __proto__: html$._TrustedHtmlTreeSanitizer.prototype - }); - }, - get C426() { - return C[426] = dart.fn(html_common.convertNativeToDart_Dictionary, T$0.dynamicToMapNOfString$dynamic()); - }, - get C427() { - 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({ - __proto__: _js_helper.Returns.prototype, - [types$2]: "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort" - }); - }, - get C429() { - return C[429] = dart.const({ - __proto__: T$0.EventStreamProviderOfAudioProcessingEventL().prototype, - [S.EventStreamProvider__eventType]: "audioprocess" - }); - }, - get C430() { - return C[430] = dart.const({ - __proto__: core.IntegerDivisionByZeroException.prototype - }); - }, - get C431() { - return C[431] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 0 - }); - }, - get C432() { - return C[432] = dart.constList([], T$.ObjectN()); - }, - get C433() { - return C[433] = dart.constMap(T$.SymbolL(), T$.ObjectN(), []); - }, - get C434() { - return C[434] = dart.constList([], T$.ObjectL()); - }, - get C435() { - return C[435] = dart.constMap(T$.SymbolL(), T$.ObjectL(), []); - }, - get C436() { - return C[436] = dart.fn(core._GeneratorIterable._id, T$0.intToint()); - }, - get C437() { - return C[437] = dart.const({ - __proto__: core._StringStackTrace.prototype, - [_StringStackTrace__stackTrace]: "" - }); - }, - get C438() { - return C[438] = dart.const(new _internal.Symbol.new('unary-')); - }, - get C439() { - return C[439] = dart.const(new _internal.Symbol.new('')); - }, - get C440() { - return C[440] = dart.fn(core.Uri.decodeComponent, T$.StringToString()); - }, - get C441() { - return C[441] = dart.constMap(T$.StringL(), T$0.ListLOfStringL(), []); - }, - get C442() { - return C[442] = dart.fn(core._toUnmodifiableStringList, T$0.StringAndListOfStringToListOfString()); - }, - get C443() { - return C[443] = dart.fn(core._Uri._createList, T$0.VoidToListOfString()); - }, - get C444() { - return C[444] = dart.constList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C445() { - return C[445] = dart.constList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C446() { - return C[446] = dart.constList([0, 0, 65498, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C447() { - return C[447] = dart.constList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047], T$0.intL()); - }, - get C448() { - return C[448] = dart.constList([0, 0, 32776, 33792, 1, 10240, 0, 0], T$0.intL()); - }, - get C449() { - return C[449] = dart.constList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C450() { - return C[450] = dart.constList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431], T$0.intL()); - }, - get C451() { - return C[451] = dart.constList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C452() { - return C[452] = dart.constList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C453() { - return C[453] = dart.constList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431], T$0.intL()); - }, - get C454() { - return C[454] = dart.constList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767], T$0.intL()); - }, - get C455() { - return C[455] = dart.constMap(T$.StringL(), T$.StringL(), []); - }, - get C456() { - return C[456] = dart.fn(core.DateTime['_#utc#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C457() { - return C[457] = dart.fn(core.DateTime['_#new#tearOff'], T$0.intAndintAndint__ToDateTime()); - }, - get C458() { - return C[458] = dart.const({ - __proto__: core.Deprecated.prototype, - [message$11]: "next release" - }); - }, - get C459() { - return C[459] = dart.const({ - __proto__: core._Override.prototype - }); - }, - get C460() { - return C[460] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 120000000 - }); - }, - get C461() { - 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(["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(["accept-ranges", "age", "etag", "location", "proxy-authenticate", "retry-after", "server", "vary", "www-authenticate"], T$.StringL()); - }, - get C464() { - 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.constMap(T$.StringL(), T$.StringN(), []); - }, - get C466() { - return C[466] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 15000000 - }); - }, - get C468() { - return C[468] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "notCompressed", - [_Enum_index]: 0 - }); - }, - get C469() { - return C[469] = dart.const({ - __proto__: _http.HttpClientResponseCompressionState.prototype, - [_Enum__name]: "decompressed", - [_Enum_index]: 1 - }); - }, - get C470() { - 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([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([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(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], dart.dynamic); - }, - get C474() { - 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.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, - [_Proxy_username]: null, - [_Proxy_port]: null, - [_Proxy_host]: null - }); - }, - get C488() { - return C[488] = dart.constList([C[489] || CT.C489], T$1._ProxyL()); - }, - get C487() { - return C[487] = dart.const({ - __proto__: _http._ProxyConfiguration.prototype, - [_ProxyConfiguration_proxies]: C[488] || CT.C488 - }); - }, - 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 C493() { - return C[493] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 0 - }); - }, - get C494() { - return C[494] = dart.const({ - __proto__: _http._AuthenticationScheme.prototype, - [_scheme$]: 1 - }); - }, - get C495() { - return C[495] = dart.constList([72, 84, 84, 80], T$0.intL()); - }, - get C496() { - return C[496] = dart.constList([72, 84, 84, 80, 47, 49, 46], T$0.intL()); - }, - get C497() { - return C[497] = dart.constList([72, 84, 84, 80, 47, 49, 46, 48], T$0.intL()); - }, - get C498() { - return C[498] = dart.constList([72, 84, 84, 80, 47, 49, 46, 49], T$0.intL()); - }, - 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 C500() { - return C[500] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: true, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C501() { - return C[501] = dart.const({ - __proto__: _http.CompressionOptions.prototype, - [enabled$]: false, - [serverMaxWindowBits$]: null, - [clientMaxWindowBits$]: null, - [serverNoContextTakeover$]: false, - [clientNoContextTakeover$]: false - }); - }, - get C502() { - return C[502] = dart.constList([0, 0, 255, 255], T$0.intL()); - }, - get C503() { - return C[503] = dart.const({ - __proto__: core.Duration.prototype, - [_duration$]: 5000000 - }); - } -}, false); -core.Invocation = class Invocation extends core.Object { - static method(memberName, positionalArguments, namedArguments = null) { - 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[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[1] || CT.C1; - } - get isAccessor() { - return dart.test(this.isGetter) || dart.test(this.isSetter); - } -}; -(core.Invocation.new = function() { - ; -}).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[9]); -dart.setStaticFieldSignature(core.Invocation, () => ['_redirecting#']); -dart.InvocationImpl = class InvocationImpl extends core.Invocation { - get memberName() { - return this[memberName$]; - } - set memberName(value) { - super.memberName = value; - } - get positionalArguments() { - return this[positionalArguments$]; - } - set positionalArguments(value) { - super.positionalArguments = value; - } - get namedArguments() { - return this[namedArguments$]; - } - set namedArguments(value) { - super.namedArguments = value; - } - get typeArguments() { - return this[typeArguments$]; - } - set typeArguments(value) { - super.typeArguments = value; - } - get isMethod() { - return this[isMethod$]; - } - set isMethod(value) { - super.isMethod = value; - } - get isGetter() { - return this[isGetter$]; - } - set isGetter(value) { - super.isGetter = value; - } - get isSetter() { - return this[isSetter$]; - } - set isSetter(value) { - super.isSetter = value; - } - get failureMessage() { - return this[failureMessage$]; - } - 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), { - key: dart._dartSymbol, - value: k => namedArgs[k] - })); - } -}; -(dart.InvocationImpl.new = function(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"); - this[isMethod$] = isMethod; - this[isGetter$] = isGetter; - this[isSetter$] = isSetter; - this[failureMessage$] = failureMessage; - this[memberName$] = dart.test(isSetter) ? dart._setterSymbol(memberName) : dart._dartSymbol(memberName); - this[positionalArguments$] = core.List.unmodifiable(positionalArguments); - this[namedArguments$] = dart.InvocationImpl._namedArgsToSymbols(namedArguments); - this[typeArguments$] = T$.ListOfType().unmodifiable(typeArguments[$map](dart.dynamic, dart.wrapType)); - dart.InvocationImpl.__proto__.new.call(this); - ; -}).prototype = dart.InvocationImpl.prototype; -dart.addTypeTests(dart.InvocationImpl); -dart.addTypeCaches(dart.InvocationImpl); -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), - positionalArguments: dart.finalFieldType(core.List), - namedArguments: dart.finalFieldType(core.Map$(core.Symbol, dart.dynamic)), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - isMethod: dart.finalFieldType(core.bool), - isGetter: dart.finalFieldType(core.bool), - 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() { - return this[name$0]; - } - 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[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[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[2] || CT.C2; - }, - /*_debugger.JsonMLConfig.skipDart*/get skipDart() { - return C[3] || CT.C3; - }, - /*_debugger.JsonMLConfig.keyToString*/get keyToString() { - return C[4] || CT.C4; - }, - /*_debugger.JsonMLConfig.asClass*/get asClass() { - return C[5] || CT.C5; - }, - /*_debugger.JsonMLConfig.asObject*/get asObject() { - return C[6] || CT.C6; - }, - /*_debugger.JsonMLConfig.asMap*/get asMap() { - return C[7] || CT.C7; - } -}, false); -_debugger.JSNative = class JSNative extends core.Object { - static getProperty(object, name) { - return object[name]; - } - 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.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"); -var hideName$ = dart.privateName(_debugger, "NameValuePair.hideName"); -_debugger.NameValuePair = class NameValuePair extends core.Object { - get name() { - return this[name$1]; - } - set name(value) { - super.name = value; - } - get value() { - return this[value$]; - } - set value(value) { - super.value = value; - } - get config() { - return this[config$]; - } - set config(value) { - super.config = value; - } - get hideName() { - return this[hideName$]; - } - 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; - if (dart.test(this.hideName) || dart.test(other.hideName)) return this === other; - return other.name == this.name; - } - get hashCode() { - return dart.hashCode(this.name); - } - get displayName() { - return dart.test(this.hideName) ? "" : this.name; - } -}; -(_debugger.NameValuePair.new = function(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"); - this[name$1] = name; - this[value$] = value; - this[config$] = config; - this[hideName$] = hideName; - ; -}).prototype = _debugger.NameValuePair.prototype; -dart.addTypeTests(_debugger.NameValuePair); -dart.addTypeCaches(_debugger.NameValuePair); -dart.setGetterSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getGetters(_debugger.NameValuePair.__proto__), - displayName: core.String -})); -dart.setLibraryUri(_debugger.NameValuePair, I[13]); -dart.setFieldSignature(_debugger.NameValuePair, () => ({ - __proto__: dart.getFields(_debugger.NameValuePair.__proto__), - name: dart.finalFieldType(core.String), - value: dart.finalFieldType(dart.nullable(core.Object)), - config: dart.finalFieldType(_debugger.JsonMLConfig), - hideName: dart.finalFieldType(core.bool) -})); -dart.defineExtensionMethods(_debugger.NameValuePair, ['_equals']); -dart.defineExtensionAccessors(_debugger.NameValuePair, ['hashCode']); -var key$ = dart.privateName(_debugger, "MapEntry.key"); -var value$0 = dart.privateName(_debugger, "MapEntry.value"); -_debugger.MapEntry = class MapEntry extends core.Object { - get key() { - return this[key$]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$0]; - } - 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; - let value = opts && 'value' in opts ? opts.value : null; - this[key$] = key; - this[value$0] = value; - ; -}).prototype = _debugger.MapEntry.prototype; -dart.addTypeTests(_debugger.MapEntry); -dart.addTypeCaches(_debugger.MapEntry); -dart.setLibraryUri(_debugger.MapEntry, I[13]); -dart.setFieldSignature(_debugger.MapEntry, () => ({ - __proto__: dart.getFields(_debugger.MapEntry.__proto__), - key: dart.finalFieldType(dart.nullable(core.Object)), - value: dart.finalFieldType(dart.nullable(core.Object)) -})); -var start$ = dart.privateName(_debugger, "IterableSpan.start"); -var end$ = dart.privateName(_debugger, "IterableSpan.end"); -var iterable$ = dart.privateName(_debugger, "IterableSpan.iterable"); -_debugger.IterableSpan = class IterableSpan extends core.Object { - get start() { - return this[start$]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end$]; - } - set end(value) { - super.end = value; - } - get iterable() { - return this[iterable$]; - } - 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); - } - get maxPowerOfSubsetSize() { - return (math.log(dart.notNull(this.length) - 0.5) / math.log(_debugger._maxSpanLength))[$truncate](); - } - get subsetSize() { - return math.pow(_debugger._maxSpanLength, this.maxPowerOfSubsetSize)[$toInt](); - } - asMap() { - return this.iterable[$skip](this.start)[$take](this.length)[$toList]()[$asMap](); - } - children() { - 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[12], 225, 24, "i"); - children[$add](new _debugger.NameValuePair.new({name: (dart.notNull(i) + dart.notNull(this.start))[$toString](), value: element})); - }, T$.intAnddynamicTovoid())); - } else { - for (let i = this.start; dart.notNull(i) < dart.notNull(this.end); i = dart.notNull(i) + dart.notNull(this.subsetSize)) { - let subSpan = new _debugger.IterableSpan.new(i, math.min(core.int, this.end, dart.notNull(this.subsetSize) + dart.notNull(i)), this.iterable); - if (subSpan.length === 1) { - children[$add](new _debugger.NameValuePair.new({name: dart.toString(i), value: this.iterable[$elementAt](i)})); - } else { - children[$add](new _debugger.NameValuePair.new({name: "[" + dart.str(i) + "..." + dart.str(dart.notNull(subSpan.end) - 1) + "]", value: subSpan, hideName: true})); - } - } - } - return children; - } -}; -(_debugger.IterableSpan.new = function(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"); - this[start$] = start; - this[end$] = end; - this[iterable$] = iterable; - ; -}).prototype = _debugger.IterableSpan.prototype; -dart.addTypeTests(_debugger.IterableSpan); -dart.addTypeCaches(_debugger.IterableSpan); -dart.setMethodSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpan.__proto__), - asMap: dart.fnType(core.Map$(core.int, dart.dynamic), []), - children: dart.fnType(core.List$(_debugger.NameValuePair), []) -})); -dart.setGetterSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getGetters(_debugger.IterableSpan.__proto__), - length: core.int, - maxPowerOfSubsetSize: core.int, - subsetSize: core.int -})); -dart.setLibraryUri(_debugger.IterableSpan, I[13]); -dart.setFieldSignature(_debugger.IterableSpan, () => ({ - __proto__: dart.getFields(_debugger.IterableSpan.__proto__), - start: dart.finalFieldType(core.int), - end: dart.finalFieldType(core.int), - iterable: dart.finalFieldType(core.Iterable) -})); -var name$2 = dart.privateName(_debugger, "Library.name"); -var object$ = dart.privateName(_debugger, "Library.object"); -_debugger.Library = class Library extends core.Object { - get name() { - return this[name$2]; - } - set name(value) { - super.name = value; - } - get object() { - return this[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[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[13]); -dart.setFieldSignature(_debugger.Library, () => ({ - __proto__: dart.getFields(_debugger.Library.__proto__), - name: dart.finalFieldType(core.String), - object: dart.finalFieldType(core.Object) -})); -var object$0 = dart.privateName(_debugger, "NamedConstructor.object"); -_debugger.NamedConstructor = class NamedConstructor extends core.Object { - get object() { - return this[object$0]; - } - 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[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[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$0 = dart.privateName(_debugger, "HeritageClause.types"); -_debugger.HeritageClause = class HeritageClause extends core.Object { - get name() { - return this[name$3]; - } - set name(value) { - super.name = value; - } - get 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[12], 261, 23, "name"); - if (types == null) dart.nullFailed(I[12], 261, 34, "types"); - this[name$3] = name; - this[types$0] = types; - ; -}).prototype = _debugger.HeritageClause.prototype; -dart.addTypeTests(_debugger.HeritageClause); -dart.addTypeCaches(_debugger.HeritageClause); -dart.setLibraryUri(_debugger.HeritageClause, I[13]); -dart.setFieldSignature(_debugger.HeritageClause, () => ({ - __proto__: dart.getFields(_debugger.HeritageClause.__proto__), - name: dart.finalFieldType(core.String), - types: dart.finalFieldType(core.List) -})); -var _attributes = dart.privateName(_debugger, "_attributes"); -var __JsonMLElement__jsonML = dart.privateName(_debugger, "_#JsonMLElement#_jsonML"); -var __JsonMLElement__jsonML_isSet = dart.privateName(_debugger, "_#JsonMLElement#_jsonML#isSet"); -var _jsonML = dart.privateName(_debugger, "_jsonML"); -_debugger.JsonMLElement = class JsonMLElement extends core.Object { - get [_jsonML]() { - let t4; - return dart.test(this[__JsonMLElement__jsonML_isSet]) ? (t4 = this[__JsonMLElement__jsonML], t4) : dart.throw(new _internal.LateError.fieldNI("_jsonML")); - } - set [_jsonML](_jsonML$35param) { - if (_jsonML$35param == null) dart.nullFailed(I[12], 285, 13, "_jsonML#param"); - this[__JsonMLElement__jsonML_isSet] = true; - 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[12], 296, 36, "tagName"); - let c = new _debugger.JsonMLElement.new(tagName); - this[_jsonML][$add](c.toJsonML()); - return c; - } - createObjectTag(object) { - let t4; - t4 = this.createChild("object"); - return (() => { - t4.addAttribute("object", object); - return t4; - })(); - } - setStyle(style) { - if (style == null) dart.nullFailed(I[12], 305, 24, "style"); - dart.dput(this[_attributes], 'style', style); - } - addStyle(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 { - 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[12], 321, 26, "text"); - this[_jsonML][$add](text); - } - toJsonML() { - return this[_jsonML]; - } -}; -(_debugger.JsonMLElement.new = function(tagName) { - this[_attributes] = null; - this[__JsonMLElement__jsonML] = null; - this[__JsonMLElement__jsonML_isSet] = false; - this[_attributes] = {}; - this[_jsonML] = [tagName, this[_attributes]]; -}).prototype = _debugger.JsonMLElement.prototype; -dart.addTypeTests(_debugger.JsonMLElement); -dart.addTypeCaches(_debugger.JsonMLElement); -dart.setMethodSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLElement.__proto__), - appendChild: dart.fnType(dart.dynamic, [dart.dynamic]), - createChild: dart.fnType(_debugger.JsonMLElement, [core.String]), - createObjectTag: dart.fnType(_debugger.JsonMLElement, [dart.dynamic]), - setStyle: dart.fnType(dart.void, [core.String]), - addStyle: dart.fnType(dart.dynamic, [core.String]), - addAttribute: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - createTextChild: dart.fnType(dart.dynamic, [core.String]), - toJsonML: dart.fnType(dart.dynamic, []) -})); -dart.setGetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getGetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List -})); -dart.setSetterSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getSetters(_debugger.JsonMLElement.__proto__), - [_jsonML]: core.List -})); -dart.setLibraryUri(_debugger.JsonMLElement, I[13]); -dart.setFieldSignature(_debugger.JsonMLElement, () => ({ - __proto__: dart.getFields(_debugger.JsonMLElement.__proto__), - [_attributes]: dart.fieldType(dart.dynamic), - [__JsonMLElement__jsonML]: dart.fieldType(dart.nullable(core.List)), - [__JsonMLElement__jsonML_isSet]: dart.fieldType(core.bool) -})); -var customFormattersOn = dart.privateName(_debugger, "JsonMLFormatter.customFormattersOn"); -var _simpleFormatter$ = dart.privateName(_debugger, "_simpleFormatter"); -_debugger.JsonMLFormatter = class JsonMLFormatter extends core.Object { - get customFormattersOn() { - 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[12], 363, 43, "spanLength"); - _debugger._maxSpanLength = spanLength; - } - header(object, config) { - let t4; - this.customFormattersOn = true; - if (dart.equals(config, _debugger.JsonMLConfig.skipDart) || dart.test(_debugger.isNativeJavaScriptObject(object))) { - return null; - } - let c = this[_simpleFormatter$].preview(object, config); - if (c == null) return null; - if (dart.equals(config, _debugger.JsonMLConfig.keyToString)) { - c = dart.toString(object); - } - let element = (t4 = new _debugger.JsonMLElement.new("span"), (() => { - t4.setStyle("background-color: #d9edf7;color: black"); - t4.createTextChild(c); - return t4; - })()); - return element.toJsonML(); - } - hasBody(object, config) { - return this[_simpleFormatter$].hasChildren(object, config); - } - body(object, config) { - 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);"); - } - let children = this[_simpleFormatter$].children(object, config); - if (children == null) return body.toJsonML(); - for (let child of children) { - let li = body.createChild("li"); - li.setStyle("padding-left: 13px;"); - let nameSpan = null; - let valueStyle = ""; - if (!dart.test(child.hideName)) { - 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 = (t4$0 = new _debugger.JsonMLElement.new("span"), (() => { - t4$0.setStyle(valueStyle); - return t4$0; - })()); - t4$1 = valueSpan.createObjectTag(child.value); - (() => { - t4$1.addAttribute("config", child.config); - return t4$1; - })(); - if (nameSpan != null) { - li.appendChild(nameSpan); - } - li.appendChild(valueSpan); - } else { - let line = li.createChild("span"); - if (nameSpan != null) { - line.appendChild(nameSpan); - } - 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; - })())); - } - } - return body.toJsonML(); - } -}; -(_debugger.JsonMLFormatter.new = function(_simpleFormatter) { - if (_simpleFormatter == null) dart.nullFailed(I[12], 361, 24, "_simpleFormatter"); - this[customFormattersOn] = false; - this[_simpleFormatter$] = _simpleFormatter; - ; -}).prototype = _debugger.JsonMLFormatter.prototype; -dart.addTypeTests(_debugger.JsonMLFormatter); -dart.addTypeCaches(_debugger.JsonMLFormatter); -dart.setMethodSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getMethods(_debugger.JsonMLFormatter.__proto__), - setMaxSpanLengthForTestingOnly: dart.fnType(dart.void, [core.int]), - header: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]), - hasBody: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - body: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic]) -})); -dart.setLibraryUri(_debugger.JsonMLFormatter, I[13]); -dart.setFieldSignature(_debugger.JsonMLFormatter, () => ({ - __proto__: dart.getFields(_debugger.JsonMLFormatter.__proto__), - [_simpleFormatter$]: dart.fieldType(_debugger.DartFormatter), - customFormattersOn: dart.fieldType(core.bool) -})); -_debugger.Formatter = class Formatter extends core.Object {}; -(_debugger.Formatter.new = function() { - ; -}).prototype = _debugger.Formatter.prototype; -dart.addTypeTests(_debugger.Formatter); -dart.addTypeCaches(_debugger.Formatter); -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))) { - return dart.toString(object); - } - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.preview(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return null; - } - hasChildren(object, config) { - if (object == null) return false; - try { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.hasChildren(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("[hasChildren] Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return false; - } - children(object, config) { - try { - if (object != null) { - for (let formatter of this[_formatters]) { - if (dart.test(formatter.accept(object, config))) return formatter.children(object); - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let trace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_printConsoleError]("Caught exception " + dart.str(e) + "\n trace:\n" + dart.str(trace)); - } else - throw e$; - } - return T$.JSArrayOfNameValuePair().of([]); - } - [_printConsoleError](message) { - if (message == null) dart.nullFailed(I[12], 523, 34, "message"); - return window.console.error(message); - } -}; -(_debugger.DartFormatter.new = function() { - this[_formatters] = T$.JSArrayOfFormatter().of([new _debugger.ObjectInternalsFormatter.new(), new _debugger.ClassFormatter.new(), new _debugger.TypeFormatter.new(), new _debugger.NamedConstructorFormatter.new(), new _debugger.MapFormatter.new(), new _debugger.MapOverviewFormatter.new(), new _debugger.IterableFormatter.new(), new _debugger.IterableSpanFormatter.new(), new _debugger.MapEntryFormatter.new(), new _debugger.StackTraceFormatter.new(), new _debugger.ErrorAndExceptionFormatter.new(), new _debugger.FunctionFormatter.new(), new _debugger.HeritageClauseFormatter.new(), new _debugger.LibraryModuleFormatter.new(), new _debugger.LibraryFormatter.new(), new _debugger.ObjectFormatter.new()]); - ; -}).prototype = _debugger.DartFormatter.prototype; -dart.addTypeTests(_debugger.DartFormatter); -dart.addTypeCaches(_debugger.DartFormatter); -dart.setMethodSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getMethods(_debugger.DartFormatter.__proto__), - preview: dart.fnType(dart.nullable(core.String), [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - 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[13]); -dart.setFieldSignature(_debugger.DartFormatter, () => ({ - __proto__: dart.getFields(_debugger.DartFormatter.__proto__), - [_formatters]: dart.finalFieldType(core.List$(_debugger.Formatter)) -})); -_debugger.ObjectFormatter = class ObjectFormatter extends _debugger.Formatter { - accept(object, config) { - return !dart.test(_debugger.isNativeJavaScriptObject(object)); - } - preview(object) { - let typeName = _debugger.getObjectTypeName(object); - try { - let toString = dart.str(object); - if (toString.length > dart.notNull(_debugger.maxFormatterStringLength)) { - toString = toString[$substring](0, dart.notNull(_debugger.maxFormatterStringLength) - 3) + "..."; - } - if (toString[$contains](typeName)) { - return toString; - } else { - return toString + " (" + dart.str(typeName) + ")"; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return typeName; - } - hasChildren(object) { - return true; - } - children(object) { - let type = dart.getType(object); - let ret = new (T$._HashSetOfNameValuePair()).new(); - let fields = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getFields(type), fields, object, true); - let getters = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getGetters(type), getters, object, true); - ret.addAll(_debugger.sortProperties(fields)); - ret.addAll(_debugger.sortProperties(getters)); - _debugger.addMetadataChildren(object, ret); - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ObjectFormatter.new(); - } -}; -(_debugger.ObjectFormatter.new = function() { - ; -}).prototype = _debugger.ObjectFormatter.prototype; -dart.addTypeTests(_debugger.ObjectFormatter); -dart.addTypeCaches(_debugger.ObjectFormatter); -dart.setMethodSignature(_debugger.ObjectFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ObjectFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(dart.nullable(core.List$(_debugger.NameValuePair)), [dart.dynamic]) -})); -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); - } - 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[13]); -_debugger.LibraryModuleFormatter = class LibraryModuleFormatter extends core.Object { - accept(object, config) { - return dart.getModuleName(core.Object.as(object)) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - let libraryNames = dart.nullCheck(dart.getModuleName(core.Object.as(object)))[$split]("/"); - if (dart.notNull(libraryNames[$length]) > 1 && libraryNames[$last] == libraryNames[$_get](dart.notNull(libraryNames[$length]) - 2)) { - libraryNames[$_set](dart.notNull(libraryNames[$length]) - 1, ""); - } - return "Library Module: " + dart.str(libraryNames[$join]("/")); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - for (let name of _debugger.getOwnPropertyNames(object)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - children.add(new _debugger.NameValuePair.new({name: name, value: new _debugger.Library.new(name, dart.nullCheck(value)), hideName: true})); - } - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.LibraryModuleFormatter.new(); - } -}; -(_debugger.LibraryModuleFormatter.new = function() { - ; -}).prototype = _debugger.LibraryModuleFormatter.prototype; -dart.addTypeTests(_debugger.LibraryModuleFormatter); -dart.addTypeCaches(_debugger.LibraryModuleFormatter); -_debugger.LibraryModuleFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.LibraryModuleFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryModuleFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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) { - return _debugger.Library.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - return core.String.as(dart.dload(object, 'name')); - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - let objectProperties = _debugger.safeProperties(dart.dload(object, 'object')); - dart.dsend(objectProperties, 'forEach', [dart.fn((name, value) => { - if (dart.getGenericTypeCtor(value) != null) return; - children.add(_debugger.NameValuePair.as(dart.isType(value) ? this.classChild(core.String.as(name), core.Object.as(value)) : new _debugger.NameValuePair.new({name: core.String.as(name), value: value}))); - }, T$.dynamicAnddynamicToNull())]); - return children[$toList](); - } - classChild(name, 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(); - ; -}).prototype = _debugger.LibraryFormatter.prototype; -dart.addTypeTests(_debugger.LibraryFormatter); -dart.addTypeCaches(_debugger.LibraryFormatter); -_debugger.LibraryFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.LibraryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.LibraryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]), - classChild: dart.fnType(dart.dynamic, [core.String, core.Object]) -})); -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)) -})); -_debugger.FunctionFormatter = class FunctionFormatter extends core.Object { - accept(object, config) { - if (_debugger._typeof(object) !== "function") return false; - return dart.getReifiedType(object) != null; - } - hasChildren(object) { - return true; - } - preview(object) { - try { - return dart.typeName(dart.getReifiedType(object)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; -}).prototype = _debugger.FunctionFormatter.prototype; -dart.addTypeTests(_debugger.FunctionFormatter); -dart.addTypeCaches(_debugger.FunctionFormatter); -_debugger.FunctionFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.FunctionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.FunctionFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.FunctionFormatter, I[13]); -_debugger.MapOverviewFormatter = class MapOverviewFormatter extends core.Object { - accept(object, config) { - return core.Map.is(object); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - 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() { - ; -}).prototype = _debugger.MapOverviewFormatter.prototype; -dart.addTypeTests(_debugger.MapOverviewFormatter); -dart.addTypeCaches(_debugger.MapOverviewFormatter); -_debugger.MapOverviewFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapOverviewFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapOverviewFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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); - } - hasChildren(object) { - return true; - } - preview(object) { - let map = core.Map.as(object); - try { - return dart.str(_debugger.getObjectTypeName(map)) + " length " + dart.str(map[$length]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return _debugger.safePreview(object, _debugger.JsonMLConfig.none); - } else - throw e$; - } - } - children(object) { - let map = core.Map.as(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - map[$forEach](dart.fn((key, value) => { - let entryWrapper = new _debugger.MapEntry.new({key: key, value: value}); - entries.add(new _debugger.NameValuePair.new({name: dart.toString(entries[$length]), value: entryWrapper})); - }, T$.dynamicAnddynamicTovoid())); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.MapFormatter.new(); - } -}; -(_debugger.MapFormatter.new = function() { - ; -}).prototype = _debugger.MapFormatter.prototype; -dart.addTypeTests(_debugger.MapFormatter); -dart.addTypeCaches(_debugger.MapFormatter); -_debugger.MapFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.MapFormatter, I[13]); -_debugger.IterableFormatter = class IterableFormatter extends core.Object { - accept(object, config) { - return core.Iterable.is(object); - } - preview(object) { - let iterable = core.Iterable.as(object); - try { - let length = iterable[$length]; - return dart.str(_debugger.getObjectTypeName(iterable)) + " length " + dart.str(length); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return dart.str(_debugger.getObjectTypeName(iterable)); - } else - throw e; - } - } - hasChildren(object) { - return true; - } - children(object) { - let children = new (T$._HashSetOfNameValuePair()).new(); - children.addAll(new _debugger.IterableSpan.new(0, core.int.as(dart.dload(object, 'length')), core.Iterable.as(object)).children()); - _debugger.addMetadataChildren(object, children); - return children[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.IterableFormatter.new(); - } -}; -(_debugger.IterableFormatter.new = function() { - ; -}).prototype = _debugger.IterableFormatter.prototype; -dart.addTypeTests(_debugger.IterableFormatter); -dart.addTypeCaches(_debugger.IterableFormatter); -_debugger.IterableFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.IterableFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.IterableFormatter, I[13]); -_debugger.NamedConstructorFormatter = class NamedConstructorFormatter extends core.Object { - accept(object, config) { - return _debugger.NamedConstructor.is(object); - } - preview(object) { - return "Named Constructor"; - } - hasChildren(object) { - return true; - } - 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() { - ; -}).prototype = _debugger.NamedConstructorFormatter.prototype; -dart.addTypeTests(_debugger.NamedConstructorFormatter); -dart.addTypeCaches(_debugger.NamedConstructorFormatter); -_debugger.NamedConstructorFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.NamedConstructorFormatter, () => ({ - __proto__: dart.getMethods(_debugger.NamedConstructorFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.NamedConstructorFormatter, I[13]); -_debugger.MapEntryFormatter = class MapEntryFormatter extends core.Object { - accept(object, config) { - return _debugger.MapEntry.is(object); - } - preview(object) { - let entry = _debugger.MapEntry.as(object); - return dart.str(_debugger.safePreview(entry.key, _debugger.JsonMLConfig.none)) + " => " + dart.str(_debugger.safePreview(entry.value, _debugger.JsonMLConfig.none)); - } - hasChildren(object) { - return true; - } - 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() { - ; -}).prototype = _debugger.MapEntryFormatter.prototype; -dart.addTypeTests(_debugger.MapEntryFormatter); -dart.addTypeCaches(_debugger.MapEntryFormatter); -_debugger.MapEntryFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.MapEntryFormatter, () => ({ - __proto__: dart.getMethods(_debugger.MapEntryFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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[8] || CT.C8); - return dart.str(clause.name) + " " + dart.str(typeNames[$join](", ")); - } - hasChildren(object) { - return true; - } - children(object) { - let clause = _debugger.HeritageClause.as(object); - let children = T$.JSArrayOfNameValuePair().of([]); - for (let type of clause.types) { - children[$add](new _debugger.NameValuePair.new({value: type, config: _debugger.JsonMLConfig.asClass})); - } - return children; - } - static ['_#new#tearOff']() { - return new _debugger.HeritageClauseFormatter.new(); - } -}; -(_debugger.HeritageClauseFormatter.new = function() { - ; -}).prototype = _debugger.HeritageClauseFormatter.prototype; -dart.addTypeTests(_debugger.HeritageClauseFormatter); -dart.addTypeCaches(_debugger.HeritageClauseFormatter); -_debugger.HeritageClauseFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.HeritageClauseFormatter, () => ({ - __proto__: dart.getMethods(_debugger.HeritageClauseFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.HeritageClauseFormatter, I[13]); -_debugger.IterableSpanFormatter = class IterableSpanFormatter extends core.Object { - accept(object, config) { - return _debugger.IterableSpan.is(object); - } - preview(object) { - return "[" + dart.str(dart.dload(object, 'start')) + "..." + dart.str(dart.dsend(dart.dload(object, 'end'), '-', [1])) + "]"; - } - hasChildren(object) { - return true; - } - children(object) { - return T$.ListOfNameValuePair().as(dart.dsend(object, 'children', [])); - } - static ['_#new#tearOff']() { - return new _debugger.IterableSpanFormatter.new(); - } -}; -(_debugger.IterableSpanFormatter.new = function() { - ; -}).prototype = _debugger.IterableSpanFormatter.prototype; -dart.addTypeTests(_debugger.IterableSpanFormatter); -dart.addTypeCaches(_debugger.IterableSpanFormatter); -_debugger.IterableSpanFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.IterableSpanFormatter, () => ({ - __proto__: dart.getMethods(_debugger.IterableSpanFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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); - } - hasChildren(object) { - return true; - } - preview(object) { - let trace = dart.stackTrace(object); - let line = dart.str(trace)[$split]("\n")[$firstWhere](dart.fn(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); - } - children(object) { - let trace = dart.stackTrace(object); - let entries = new (T$._HashSetOfNameValuePair()).new(); - entries.add(new _debugger.NameValuePair.new({name: "stackTrace", value: trace})); - this.addInstanceMembers(object, entries); - _debugger.addMetadataChildren(object, entries); - return entries[$toList](); - } - addInstanceMembers(object, 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() { - ; -}).prototype = _debugger.ErrorAndExceptionFormatter.prototype; -dart.addTypeTests(_debugger.ErrorAndExceptionFormatter); -dart.addTypeCaches(_debugger.ErrorAndExceptionFormatter); -dart.setMethodSignature(_debugger.ErrorAndExceptionFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ErrorAndExceptionFormatter.__proto__), - 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[13]); -dart.setStaticFieldSignature(_debugger.ErrorAndExceptionFormatter, () => ['_pattern']); -dart.defineLazy(_debugger.ErrorAndExceptionFormatter, { - /*_debugger.ErrorAndExceptionFormatter._pattern*/get _pattern() { - return core.RegExp.new("\\d+\\:\\d+"); - } -}, false); -_debugger.StackTraceFormatter = class StackTraceFormatter extends core.Object { - accept(object, config) { - return core.StackTrace.is(object); - } - preview(object) { - return "StackTrace"; - } - hasChildren(object) { - return true; - } - children(object) { - return dart.toString(object)[$split]("\n")[$map](_debugger.NameValuePair, dart.fn(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() { - ; -}).prototype = _debugger.StackTraceFormatter.prototype; -dart.addTypeTests(_debugger.StackTraceFormatter); -dart.addTypeCaches(_debugger.StackTraceFormatter); -_debugger.StackTraceFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.StackTraceFormatter, () => ({ - __proto__: dart.getMethods(_debugger.StackTraceFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.StackTraceFormatter, I[13]); -_debugger.ClassFormatter = class ClassFormatter extends core.Object { - accept(object, config) { - return dart.equals(config, _debugger.JsonMLConfig.asClass); - } - preview(type) { - let $implements = dart.getImplements(type); - let typeName = _debugger.getTypeName(type); - if ($implements != null) { - let typeNames = $implements()[$map](core.String, C[8] || CT.C8); - return dart.str(typeName) + " implements " + dart.str(typeNames[$join](", ")); - } else { - return typeName; - } - } - hasChildren(object) { - return true; - } - children(type) { - let t12; - let ret = new (T$._HashSetOfNameValuePair()).new(); - let instanceMethods = new (T$._HashSetOfNameValuePair()).new(); - _debugger.addPropertiesFromSignature(dart.getMethods(type), instanceMethods, type.prototype, false, {tagTypes: true}); - if (dart.test(instanceMethods[$isNotEmpty])) { - t12 = ret; - (() => { - t12.add(new _debugger.NameValuePair.new({value: "[[Instance Methods]]", hideName: true})); - t12.addAll(_debugger.sortProperties(instanceMethods)); - return t12; - })(); - } - let mixin = dart.getMixin(type); - if (mixin != null) { - ret.add(new _debugger.NameValuePair.new({name: "[[Mixins]]", value: new _debugger.HeritageClause.new("mixins", [mixin])})); - } - let baseProto = type.__proto__; - if (baseProto != null && !dart.test(dart.isJsInterop(baseProto))) { - ret.add(new _debugger.NameValuePair.new({name: "[[base class]]", value: baseProto, config: _debugger.JsonMLConfig.asClass})); - } - return ret[$toList](); - } - static ['_#new#tearOff']() { - return new _debugger.ClassFormatter.new(); - } -}; -(_debugger.ClassFormatter.new = function() { - ; -}).prototype = _debugger.ClassFormatter.prototype; -dart.addTypeTests(_debugger.ClassFormatter); -dart.addTypeCaches(_debugger.ClassFormatter); -_debugger.ClassFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.ClassFormatter, () => ({ - __proto__: dart.getMethods(_debugger.ClassFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -dart.setLibraryUri(_debugger.ClassFormatter, I[13]); -_debugger.TypeFormatter = class TypeFormatter extends core.Object { - accept(object, config) { - return core.Type.is(object); - } - preview(object) { - return dart.toString(object); - } - hasChildren(object) { - return false; - } - children(object) { - return T$.JSArrayOfNameValuePair().of([]); - } - static ['_#new#tearOff']() { - return new _debugger.TypeFormatter.new(); - } -}; -(_debugger.TypeFormatter.new = function() { - ; -}).prototype = _debugger.TypeFormatter.prototype; -dart.addTypeTests(_debugger.TypeFormatter); -dart.addTypeCaches(_debugger.TypeFormatter); -_debugger.TypeFormatter[dart.implements] = () => [_debugger.Formatter]; -dart.setMethodSignature(_debugger.TypeFormatter, () => ({ - __proto__: dart.getMethods(_debugger.TypeFormatter.__proto__), - accept: dart.fnType(core.bool, [dart.dynamic, dart.dynamic]), - preview: dart.fnType(core.String, [dart.dynamic]), - hasChildren: dart.fnType(core.bool, [dart.dynamic]), - children: dart.fnType(core.List$(_debugger.NameValuePair), [dart.dynamic]) -})); -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[14], 13, 21, "typeName"); - if (frame == null) dart.nullFailed(I[14], 13, 36, "frame"); - this.count = 0.0; - this.typeName = typeName; - this.frame = frame; - ; -}).prototype = _debugger._MethodStats.prototype; -dart.addTypeTests(_debugger._MethodStats); -dart.addTypeCaches(_debugger._MethodStats); -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 { - static ['_#new#tearOff'](jsError, type) { - return new _debugger._CallMethodRecord.new(jsError, type); - } -}; -(_debugger._CallMethodRecord.new = function(jsError, type) { - this.jsError = jsError; - this.type = type; - ; -}).prototype = _debugger._CallMethodRecord.prototype; -dart.addTypeTests(_debugger._CallMethodRecord); -dart.addTypeCaches(_debugger._CallMethodRecord); -dart.setLibraryUri(_debugger._CallMethodRecord, I[13]); -dart.setFieldSignature(_debugger._CallMethodRecord, () => ({ - __proto__: dart.getFields(_debugger._CallMethodRecord.__proto__), - jsError: dart.fieldType(dart.dynamic), - type: dart.fieldType(dart.dynamic) -})); -_debugger._typeof = function _typeof(object) { - return typeof object; -}; -_debugger.getOwnPropertyNames = function getOwnPropertyNames(object) { - return T$.JSArrayOfString().of(dart.getOwnPropertyNames(object)); -}; -_debugger.getOwnPropertySymbols = function getOwnPropertySymbols(object) { - return Object.getOwnPropertySymbols(object); -}; -_debugger.addMetadataChildren = function addMetadataChildren(object, 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 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 = (t12 = new collection._HashSet.new(), (() => { - t12.add("hashCode"); - return t12; - })()); - let objectPrototype = Object.prototype; - while (sig != null && !core.identical(sig, objectPrototype)) { - for (let symbol of _debugger.getOwnPropertySymbols(sig)) { - let dartName = _debugger.symbolName(symbol); - let dartXPrefix = "dartx."; - if (dartName[$startsWith](dartXPrefix)) { - dartName = dartName[$substring](dartXPrefix.length); - } - if (dart.test(skippedNames.contains(dartName))) continue; - let value = _debugger.safeGetProperty(core.Object.as(object), core.Object.as(symbol)); - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[symbol]); - } - properties.add(new _debugger.NameValuePair.new({name: dartName, value: value})); - } - for (let name of _debugger.getOwnPropertyNames(sig)) { - let value = _debugger.safeGetProperty(core.Object.as(object), name); - if (dart.test(skippedNames.contains(name))) continue; - if (dart.dtest(tagTypes) && _debugger._typeof(value) === "function") { - dart.fn(value, sig[name]); - } - properties.add(new _debugger.NameValuePair.new({name: name, value: value})); - } - if (!dart.test(walkPrototypeChain)) break; - sig = dart.getPrototypeOf(sig); - } -}; -_debugger.sortProperties = function sortProperties(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[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; - return a.name[$compareTo](b.name); - }, T$.NameValuePairAndNameValuePairToint())); - return sortedProperties; -}; -_debugger.getObjectTypeName = function getObjectTypeName(object) { - let reifiedType = dart.getReifiedType(object); - if (reifiedType == null) { - if (_debugger._typeof(object) === "function") { - return "[[Raw JavaScript Function]]"; - } - return ""; - } - return _debugger.getTypeName(reifiedType); -}; -_debugger.getTypeName = function getTypeName(type) { - return dart.typeName(type); -}; -_debugger.safePreview = function safePreview(object, config) { - try { - let preview = _debugger._devtoolsFormatter[_simpleFormatter$].preview(object, config); - if (preview != null) return preview; - return dart.toString(object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } -}; -_debugger.symbolName = function symbolName(symbol) { - let name = dart.toString(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[12], 161, 31, "name"); - try { - return dart.hasMethod(object, name); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return false; - } else - throw e$; - } -}; -_debugger.safeGetProperty = function safeGetProperty(protoChain, 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$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return " " + dart.str(e); - } else - throw e$; - } -}; -_debugger.safeProperties = function safeProperties(object) { - return T$.LinkedHashMapOfdynamic$ObjectN().fromIterable(_debugger.getOwnPropertyNames(object)[$where](dart.fn(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())}); -}; -_debugger.isNativeJavaScriptObject = function isNativeJavaScriptObject(object) { - let type = _debugger._typeof(object); - if (type !== "object" && type !== "function") return true; - if (dart.test(dart.isJsInterop(object)) && dart.getModuleName(core.Object.as(object)) == null) { - return true; - } - return object instanceof Node; -}; -_debugger.registerDevtoolsFormatter = function registerDevtoolsFormatter() { - dart.global.devtoolsFormatters = [_debugger._devtoolsFormatter]; -}; -_debugger.getModuleNames = function getModuleNames$() { - return dart.getModuleNames(); -}; -_debugger.getModuleLibraries = function getModuleLibraries$(name) { - if (name == null) dart.nullFailed(I[12], 1001, 27, "name"); - return dart.getModuleLibraries(name); -}; -_debugger.getDynamicStats = function getDynamicStats() { - 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]); - for (let record of _debugger._callMethodRecords) { - 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[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[14], 68, 24, "f"); - return !f[$startsWith]("dart:"); - }, T$.StringTobool()), {orElse: dart.fn(() => "", T$.VoidToString())}); - let actualTypeName = dart.typeName(record.type); - 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]()) { - let stats = dart.nullCheck(callMethodStats[$_get](k)); - let threshold = dart.notNull(_debugger._minCount) * recordRatio; - if (dart.notNull(stats.count) + 0.001 < threshold) { - callMethodStats[$remove](k); - } - } - } - } - _debugger._callMethodRecords[$clear](); - _debugger._totalCallRecords = 0; - let keys = callMethodStats[$keys][$toList](); - keys[$sort](dart.fn((a, 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([]); - for (let key of keys) { - let stats = dart.nullCheck(callMethodStats[$_get](key)); - ret[$add](T$.JSArrayOfObject().of([stats.typeName, stats.frame, stats.count[$round]()])); - } - return ret; -}; -_debugger.clearDynamicStats = function clearDynamicStats() { - _debugger._callMethodRecords[$clear](); -}; -_debugger.trackCall = function trackCall(obj) { - if (!_debugger._trackProfile) return; - let index = -1; - _debugger._totalCallRecords = dart.notNull(_debugger._totalCallRecords) + 1; - if (_debugger._callMethodRecords[$length] == _debugger._callRecordSampleSize) { - index = Math.floor(Math.random() * _debugger._totalCallRecords); - if (index >= dart.notNull(_debugger._callMethodRecords[$length])) return; - } - let record = new _debugger._CallMethodRecord.new(new Error(), dart.getReifiedType(obj)); - if (index === -1) { - _debugger._callMethodRecords[$add](record); - } else { - _debugger._callMethodRecords[$_set](index, record); - } -}; -dart.copyProperties(_debugger, { - get stackTraceMapper() { - let _util = dart.global.$dartStackTraceUtility; - return _util != null ? _util.mapper : null; - }, - get _trackProfile() { - return dart.__trackProfile; - } -}); -dart.defineLazy(_debugger, { - /*_debugger._maxSpanLength*/get _maxSpanLength() { - return 100; - }, - 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(value) { - if (value == null) dart.nullFailed(I[12], 41, 5, "_devtoolsFormatter"); - }, - /*_debugger.maxFormatterStringLength*/get maxFormatterStringLength() { - return 100; - }, - set maxFormatterStringLength(value) { - if (value == null) dart.nullFailed(I[12], 44, 5, "maxFormatterStringLength"); - }, - /*_debugger._callRecordSampleSize*/get _callRecordSampleSize() { - return 5000; - }, - set _callRecordSampleSize(value) { - if (value == null) dart.nullFailed(I[14], 24, 5, "_callRecordSampleSize"); - }, - /*_debugger._callMethodRecords*/get _callMethodRecords() { - return T$.JSArrayOf_CallMethodRecord().of([]); - }, - set _callMethodRecords(value) { - if (value == null) dart.nullFailed(I[14], 28, 5, "_callMethodRecords"); - }, - /*_debugger._totalCallRecords*/get _totalCallRecords() { - return 0; - }, - set _totalCallRecords(value) { - if (value == null) dart.nullFailed(I[14], 32, 5, "_totalCallRecords"); - }, - /*_debugger._minCount*/get _minCount() { - return 2; - }, - 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(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 { - get name() { - return this[name$4]; - } - 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[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[16]); -dart.setFieldSignature(_foreign_helper.JSExportName, () => ({ - __proto__: dart.getFields(_foreign_helper.JSExportName.__proto__), - name: dart.finalFieldType(core.String) -})); -var code$ = dart.privateName(_foreign_helper, "JS_CONST.code"); -_foreign_helper.JS_CONST = class JS_CONST extends core.Object { - get code() { - return this[code$]; - } - 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[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[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 { - 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[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[15], 162, 30, "type"); -}; -_foreign_helper.JS_EFFECT = function JS_EFFECT(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[9] || CT.C9; - } -}, false); -_interceptors.Interceptor = class Interceptor extends core.Object { - toString() { - return this.toString(); - } -}; -(_interceptors.Interceptor.new = function() { - ; -}).prototype = _interceptors.Interceptor.prototype; -dart.addTypeTests(_interceptors.Interceptor); -dart.addTypeCaches(_interceptors.Interceptor); -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); - } - get [$hashCode]() { - return this ? 2 * 3 * 23 * 3761 : 269 * 811; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return other && this; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return other || this; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return this !== other; - } - get [$runtimeType]() { - return dart.wrapType(core.bool); - } -}; -(_interceptors.JSBool.new = function() { - _interceptors.JSBool.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSBool.prototype; -dart.addTypeTests(_interceptors.JSBool); -dart.addTypeCaches(_interceptors.JSBool); -_interceptors.JSBool[dart.implements] = () => [core.bool]; -dart.setMethodSignature(_interceptors.JSBool, () => ({ - __proto__: dart.getMethods(_interceptors.JSBool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) -})); -dart.setLibraryUri(_interceptors.JSBool, I[17]); -dart.definePrimitiveHashCode(_interceptors.JSBool.prototype); -dart.registerExtension("Boolean", _interceptors.JSBool); -const _is_JSIndexable_default = Symbol('_is_JSIndexable_default'); -_interceptors.JSIndexable$ = dart.generic(E => { - class JSIndexable extends core.Object {} - (JSIndexable.new = function() { - ; - }).prototype = JSIndexable.prototype; - dart.addTypeTests(JSIndexable); - JSIndexable.prototype[_is_JSIndexable_default] = true; - dart.addTypeCaches(JSIndexable); - dart.setLibraryUri(JSIndexable, I[17]); - return JSIndexable; -}); -_interceptors.JSIndexable = _interceptors.JSIndexable$(); -dart.addTypeTests(_interceptors.JSIndexable, _is_JSIndexable_default); -const _is_JSMutableIndexable_default = Symbol('_is_JSMutableIndexable_default'); -_interceptors.JSMutableIndexable$ = dart.generic(E => { - class JSMutableIndexable extends _interceptors.JSIndexable$(E) {} - (JSMutableIndexable.new = function() { - ; - }).prototype = JSMutableIndexable.prototype; - dart.addTypeTests(JSMutableIndexable); - JSMutableIndexable.prototype[_is_JSMutableIndexable_default] = true; - dart.addTypeCaches(JSMutableIndexable); - dart.setLibraryUri(JSMutableIndexable, I[17]); - return JSMutableIndexable; -}); -_interceptors.JSMutableIndexable = _interceptors.JSMutableIndexable$(); -dart.addTypeTests(_interceptors.JSMutableIndexable, _is_JSMutableIndexable_default); -_interceptors.JSObject = class JSObject extends core.Object {}; -(_interceptors.JSObject.new = function() { - ; -}).prototype = _interceptors.JSObject.prototype; -dart.addTypeTests(_interceptors.JSObject); -dart.addTypeCaches(_interceptors.JSObject); -dart.setLibraryUri(_interceptors.JSObject, I[17]); -_interceptors.JavaScriptObject = class JavaScriptObject extends _interceptors.Interceptor { - static ['_#new#tearOff']() { - return new _interceptors.JavaScriptObject.new(); - } -}; -(_interceptors.JavaScriptObject.new = function() { - _interceptors.JavaScriptObject.__proto__.new.call(this); - ; -}).prototype = _interceptors.JavaScriptObject.prototype; -dart.addTypeTests(_interceptors.JavaScriptObject); -dart.addTypeCaches(_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[17]); -_interceptors.UnknownJavaScriptObject = class UnknownJavaScriptObject extends _interceptors.LegacyJavaScriptObject { - static ['_#new#tearOff']() { - return new _interceptors.UnknownJavaScriptObject.new(); - } -}; -(_interceptors.UnknownJavaScriptObject.new = function() { - _interceptors.UnknownJavaScriptObject.__proto__.new.call(this); - ; -}).prototype = _interceptors.UnknownJavaScriptObject.prototype; -dart.addTypeTests(_interceptors.UnknownJavaScriptObject); -dart.addTypeCaches(_interceptors.UnknownJavaScriptObject); -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); - ; -}).prototype = _interceptors.NativeError.prototype; -dart.addTypeTests(_interceptors.NativeError); -dart.addTypeCaches(_interceptors.NativeError); -dart.setMethodSignature(_interceptors.NativeError, () => ({ - __proto__: dart.getMethods(_interceptors.NativeError.__proto__), - dartStack: dart.fnType(core.String, []), - [$dartStack]: dart.fnType(core.String, []) -})); -dart.setLibraryUri(_interceptors.NativeError, I[17]); -dart.defineExtensionMethods(_interceptors.NativeError, ['dartStack']); -var _fieldName = dart.privateName(_interceptors, "_fieldName"); -var _functionCallTarget = dart.privateName(_interceptors, "_functionCallTarget"); -var _receiver = dart.privateName(_interceptors, "_receiver"); -var _receiver$ = dart.privateName(core, "_receiver"); -var _arguments = dart.privateName(_interceptors, "_arguments"); -var _arguments$ = dart.privateName(core, "_arguments"); -var _memberName = dart.privateName(_interceptors, "_memberName"); -var _memberName$ = dart.privateName(core, "_memberName"); -var _invocation = dart.privateName(_interceptors, "_invocation"); -var _invocation$ = dart.privateName(core, "_invocation"); -var _namedArguments = dart.privateName(_interceptors, "_namedArguments"); -var _namedArguments$ = dart.privateName(core, "_namedArguments"); -_interceptors.JSNoSuchMethodError = class JSNoSuchMethodError extends _interceptors.NativeError { - [_fieldName](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 = (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[18], 139, 38, "message"); - let match = _interceptors.JSNoSuchMethodError._notAFunction.firstMatch(message); - return match != null ? match._get(1) : null; - } - [$dartStack]() { - let stack = super[$dartStack](); - stack = dart.notNull(this[$toString]()) + "\n" + dart.notNull(stack[$split]("\n")[$sublist](1)[$join]("\n")); - return stack; - } - get [$stackTrace]() { - return dart.stackTrace(this); - } - [$toString]() { - let message = this.message; - let callTarget = this[_functionCallTarget](message); - if (callTarget != null) { - return "NoSuchMethodError: tried to call a non-function, such as null: " + "'" + dart.str(callTarget) + "'"; - } - let name = this[_fieldName](message); - if (name == null) { - return this.toString(); - } - return "NoSuchMethodError: invalid member on null: '" + dart.str(name) + "'"; - } - static ['_#new#tearOff']() { - return new _interceptors.JSNoSuchMethodError.new(); - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[10] || CT.C10))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[11] || CT.C11))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[12] || CT.C12))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[13] || CT.C13))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[14] || CT.C14))); - } -}; -(_interceptors.JSNoSuchMethodError.new = function() { - _interceptors.JSNoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSNoSuchMethodError.prototype; -dart.addTypeTests(_interceptors.JSNoSuchMethodError); -dart.addTypeCaches(_interceptors.JSNoSuchMethodError); -_interceptors.JSNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setMethodSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getMethods(_interceptors.JSNoSuchMethodError.__proto__), - [_fieldName]: dart.fnType(dart.nullable(core.String), [core.String]), - [_functionCallTarget]: dart.fnType(dart.nullable(core.String), [core.String]) -})); -dart.setGetterSignature(_interceptors.JSNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_interceptors.JSNoSuchMethodError.__proto__), - [$stackTrace]: core.StackTrace, - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -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$"); - }, - /*_interceptors.JSNoSuchMethodError._notAFunction*/get _notAFunction() { - return core.RegExp.new("^(.+) is not a function$"); - }, - /*_interceptors.JSNoSuchMethodError._extensionName*/get _extensionName() { - return core.RegExp.new("^Symbol\\(dartx\\.(.+)\\)$"); - }, - /*_interceptors.JSNoSuchMethodError._privateName*/get _privateName() { - return core.RegExp.new("^Symbol\\((_.+)\\)$"); - } -}, false); -dart.registerExtension("TypeError", _interceptors.JSNoSuchMethodError); -_interceptors.JSFunction = class JSFunction extends _interceptors.Interceptor { - [$toString]() { - if (dart.isType(this)) return dart.typeName(this); - return "Closure: " + dart.typeName(dart.getReifiedType(this)) + " from: " + this; - } - [$_equals](other) { - if (other == null) return false; - 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; - if (boundObj == null) return core.identityHashCode(this); - let boundMethod = this._boundMethod; - let hash = 17 * 31 + dart.notNull(dart.hashCode(boundObj)) & 536870911; - return hash * 31 + dart.notNull(core.identityHashCode(boundMethod)) & 536870911; - } - 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); - ; -}).prototype = _interceptors.JSFunction.prototype; -dart.addTypeTests(_interceptors.JSFunction); -dart.addTypeCaches(_interceptors.JSFunction); -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[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[17]); -dart.defineExtensionMethods(_interceptors.JSNull, ['toString', 'noSuchMethod']); -var _hasValue = dart.privateName(_interceptors, "_hasValue"); -var _hasValue$ = dart.privateName(core, "_hasValue"); -var _errorExplanation = dart.privateName(_interceptors, "_errorExplanation"); -var _errorExplanation$ = dart.privateName(core, "_errorExplanation"); -var _errorName = dart.privateName(_interceptors, "_errorName"); -var _errorName$ = dart.privateName(core, "_errorName"); -_interceptors.JSRangeError = class JSRangeError extends _interceptors.Interceptor { - get [$stackTrace]() { - return dart.stackTrace(this); - } - get [$invalidValue]() { - return null; - } - get [$name]() { - return null; - } - get [$message]() { - return this.message; - } - [$toString]() { - return "Invalid argument: " + dart.str(this[$message]); - } - static ['_#new#tearOff']() { - return new _interceptors.JSRangeError.new(); - } - get [_hasValue$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[15] || CT.C15))); - } - get [_errorExplanation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[16] || CT.C16))); - } - get [_errorName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[17] || CT.C17))); - } -}; -(_interceptors.JSRangeError.new = function() { - _interceptors.JSRangeError.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSRangeError.prototype; -dart.addTypeTests(_interceptors.JSRangeError); -dart.addTypeCaches(_interceptors.JSRangeError); -_interceptors.JSRangeError[dart.implements] = () => [core.ArgumentError]; -dart.setGetterSignature(_interceptors.JSRangeError, () => ({ - __proto__: dart.getGetters(_interceptors.JSRangeError.__proto__), - [$stackTrace]: core.StackTrace, - [$invalidValue]: dart.dynamic, - [$name]: dart.nullable(core.String), - [$message]: dart.dynamic, - [_hasValue$]: core.bool, - [_errorExplanation$]: core.String, - [_errorName$]: core.String -})); -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 __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; - list.immutable$list = Array; - return list; - } - static markFixedList(list) { - list.fixed$length = Array; - } - static markUnmodifiableList(list) { - list.fixed$length = Array; - list.immutable$list = Array; - } - [$checkMutable](reason) { - if (this.immutable$list) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$checkGrowable](reason) { - if (this.fixed$length) { - dart.throw(new core.UnsupportedError.new(core.String.as(reason))); - } - } - [$cast](R) { - return core.List.castFrom(E, R, this); - } - [$add](value) { - E.as(value); - this[$checkGrowable]("add"); - this.push(value); - } - [$removeAt](index) { - if (index == null) dart.argumentError(index); - this[$checkGrowable]("removeAt"); - if (index < 0 || index >= this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - return this.splice(index, 1)[0]; - } - [$insert](index, value) { - if (index == null) dart.argumentError(index); - E.as(value); - this[$checkGrowable]("insert"); - if (index < 0 || index > this[$length]) { - dart.throw(new core.RangeError.value(index)); - } - this.splice(index, 0, value); - } - [$insertAll](index, iterable) { - if (index == null) dart.argumentError(index); - __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)) { - iterable = iterable[$toList](); - } - let insertionLength = dart.notNull(iterable[$length]); - this[_setLengthUnsafe](this[$length] + insertionLength); - let end = index + insertionLength; - this[$setRange](end, this[$length], this, index); - this[$setRange](index, end, iterable); - } - [$setAll](index, iterable) { - let t15; - if (index == null) dart.argumentError(index); - __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]((t15 = index, index = t15 + 1, t15), element); - } - } - [$removeLast]() { - this[$checkGrowable]("removeLast"); - if (this[$length] === 0) dart.throw(_js_helper.diagnoseIndexError(this, -1)); - return this.pop(); - } - [$remove](element) { - this[$checkGrowable]("remove"); - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this.splice(i, 1); - return true; - } - } - return false; - } - [$removeWhere](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[19], 141, 37, "test"); - this[$checkGrowable]("retainWhere"); - this[_removeWhere](test, false); - } - [_removeWhere](test, 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) { - let element = this[i]; - if (!dart.test(test(element)) === removeMatching) { - retained.push(element); - } - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (retained[$length] === end) return; - this[$length] = retained[$length]; - let length = dart.notNull(retained[$length]); - for (let i = 0; i < length; i = i + 1) { - this[i] = retained[i]; - } - } - [$where](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[19], 179, 49, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - [$addAll](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[19], 187, 14, "i == this.length || (throw ConcurrentModificationError(this))"); - i = i + 1; - this.push(e); - } - } - [$clear]() { - this[$length] = 0; - } - [$forEach](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]; - f(element); - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [$map](T, 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[19], 210, 23, "separator"); - let length = this[$length]; - let list = T$.ListOfString().filled(length, ""); - for (let i = 0; i < length; i = i + 1) { - list[$_set](i, dart.str(this[$_get](i))); - } - return list.join(separator); - } - [$take](n) { - 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[19], 223, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - [$skip](n) { - 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[19], 231, 42, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - [$reduce](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); - for (let i = 1; i < length; i = i + 1) { - let element = this[i]; - value = combine(value, element); - if (length !== this[$length]) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$fold](T, initialValue, 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) { - let element = this[i]; - value = combine(value, element); - if (this[$length] !== length) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return value; - } - [$firstWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 258, 33, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let end = this[$length]; - for (let i = 0; i < end; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$lastWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 269, 32, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = length - 1; i >= 0; i = i - 1) { - let element = this[i]; - if (dart.test(test(element))) return element; - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$singleWhere](test, opts) { - if (test == null) dart.nullFailed(I[19], 282, 34, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - let match = null; - let matchFound = false; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match = element; - } - if (length !== this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return E.as(match); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - [$elementAt](index) { - if (index == null) dart.nullFailed(I[19], 304, 19, "index"); - return this[$_get](index); - } - [$sublist](start, end = null) { - if (start == null) dart.argumentError(start); - if (start < 0 || start > this[$length]) { - dart.throw(new core.RangeError.range(start, 0, this[$length], "start")); - } - if (end == null) { - end = this[$length]; - } else { - let _end = end; - if (_end < start || _end > this[$length]) { - dart.throw(new core.RangeError.range(end, start, this[$length], "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[19], 325, 28, "start"); - if (end == null) dart.nullFailed(I[19], 325, 39, "end"); - core.RangeError.checkValidRange(start, end, this[$length]); - return new (__t$SubListIterableOfE()).new(this, start, end); - } - get [$first]() { - if (this[$length] > 0) return this[$_get](0); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$last]() { - if (this[$length] > 0) return this[$_get](this[$length] - 1); - dart.throw(_internal.IterableElementError.noElement()); - } - get [$single]() { - if (this[$length] === 1) return this[$_get](0); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - dart.throw(_internal.IterableElementError.tooMany()); - } - [$removeRange](start, end) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - this[$checkGrowable]("removeRange"); - core.RangeError.checkValidRange(start, end, this[$length]); - let deleteCount = end - start; - this.splice(start, deleteCount); - } - [$setRange](start, end, iterable, skipCount = 0) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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 = __t$JSArrayOfE().of([]); - let otherStart = 0; - if (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (otherStart + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (otherStart < start) { - for (let i = length - 1; i >= 0; i = i - 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } else { - for (let i = 0; i < length; i = i + 1) { - let element = otherList[$_get](otherStart + i); - this[start + i] = element; - } - } - } - [$fillRange](start, end, fillValue = null) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __t$EN().as(fillValue); - this[$checkMutable]("fill range"); - core.RangeError.checkValidRange(start, end, this[$length]); - let checkedFillValue = E.as(fillValue); - for (let i = start; i < end; i = i + 1) { - this[i] = checkedFillValue; - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (end == null) dart.argumentError(end); - __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)) { - replacement = replacement[$toList](); - } - let removeLength = end - start; - let insertLength = dart.notNull(replacement[$length]); - if (removeLength >= insertLength) { - let delta = removeLength - insertLength; - let insertEnd = start + insertLength; - let newLength = this[$length] - delta; - this[$setRange](start, insertEnd, replacement); - if (delta !== 0) { - this[$setRange](insertEnd, newLength, this, end); - this[$length] = newLength; - } - } else { - let delta = insertLength - removeLength; - let newLength = this[$length] + delta; - let insertEnd = start + insertLength; - this[_setLengthUnsafe](newLength); - this[$setRange](insertEnd, newLength, this, end); - this[$setRange](start, insertEnd, replacement); - } - } - [$any](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]; - if (dart.test(test(element))) return true; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return false; - } - [$every](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]; - if (!dart.test(test(element))) return false; - if (this[$length] !== end) dart.throw(new core.ConcurrentModificationError.new(this)); - } - return true; - } - get [$reversed]() { - 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$EAndEToint())); - } else { - _internal.Sort.sort(E, this, compare); - } - } - [$shuffle](random = null) { - this[$checkMutable]("shuffle"); - if (random == null) random = math.Random.new(); - let length = this[$length]; - while (length > 1) { - let pos = random.nextInt(length); - length = length - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - [$indexOf](element, start = 0) { - if (start == null) dart.argumentError(start); - let length = this[$length]; - if (start >= length) { - return -1; - } - if (start < 0) { - start = 0; - } - for (let i = start; i < length; i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$lastIndexOf](element, startIndex = null) { - let t15; - let start = (t15 = startIndex, t15 == null ? this[$length] - 1 : t15); - if (start >= this[$length]) { - start = this[$length] - 1; - } else if (start < 0) { - return -1; - } - for (let i = start; i >= 0; i = i - 1) { - if (dart.equals(this[$_get](i), element)) { - return i; - } - } - return -1; - } - [$contains](other) { - let length = this[$length]; - for (let i = 0; i < length; i = i + 1) { - let element = this[i]; - if (dart.equals(element, other)) return true; - } - return false; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$toString]() { - return collection.ListBase.listToString(this); - } - [$toList](opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.argumentError(growable); - let list = this.slice(); - if (!growable) _interceptors.JSArray.markFixedList(list); - return __t$JSArrayOfE().of(list); - } - [$toSet]() { - return __t$LinkedHashSetOfE().from(this); - } - get [$iterator]() { - return new (__t$ArrayIteratorOfE()).new(this); - } - get [$hashCode]() { - return core.identityHashCode(this); - } - [$_equals](other) { - if (other == null) return false; - return this === other; - } - get [$length]() { - return this.length; - } - set [$length](newLength) { - if (newLength == null) dart.argumentError(newLength); - this[$checkGrowable]("set length"); - if (newLength < 0) { - dart.throw(new core.RangeError.range(newLength, 0, null, "newLength")); - } - if (newLength > this[$length]) E.as(null); - this.length = newLength; - } - [_setLengthUnsafe](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[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[19], 586, 25, "index"); - E.as(value); - this[$checkMutable]("indexed set"); - if (index == null || !(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - this[index] = value; - return value$; - } - [$asMap]() { - return new (__t$ListMapViewOfE()).new(this); - } - get [$runtimeType]() { - return dart.wrapType(core.List$(E)); - } - [$followedBy](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) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[19], 608, 30, "other"); - return (() => { - let t15 = __t$ListOfE().of(this); - t15[$addAll](other); - return t15; - })(); - } - [$indexWhere](test, start = 0) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - [$lastIndexWhere](test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - set [$first](element) { - E.as(element); - 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.withLength(0, this[$length], {indexable: this})); - this[$_set](this[$length] - 1, element); - } - } - (JSArray.new = function() { - ; - }).prototype = JSArray.prototype; - dart.setExtensionBaseClass(JSArray, dart.global.Array); - JSArray.prototype[dart.isList] = true; - dart.addTypeTests(JSArray); - JSArray.prototype[_is_JSArray_default] = true; - dart.addTypeCaches(JSArray); - JSArray[dart.implements] = () => [core.List$(E), _interceptors.JSIndexable$(E)]; - dart.setMethodSignature(JSArray, () => ({ - __proto__: dart.getMethods(JSArray.__proto__), - [$checkMutable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$checkGrowable]: dart.fnType(dart.dynamic, [dart.dynamic]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$removeAt]: dart.fnType(E, [core.int]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$removeLast]: dart.fnType(E, []), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$join]: dart.fnType(core.String, [], [core.String]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$elementAt]: dart.fnType(E, [core.int]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toSet]: dart.fnType(core.Set$(E), []), - [_setLengthUnsafe]: dart.fnType(dart.void, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$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, - [$last]: E, - [$single]: E, - [$reversed]: core.Iterable$(E), - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$iterator]: core.Iterator$(E), - [$length]: core.int - })); - dart.setSetterSignature(JSArray, () => ({ - __proto__: dart.getSetters(JSArray.__proto__), - [$length]: core.int, - [$first]: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(JSArray, I[17]); - return JSArray; -}); -_interceptors.JSArray = _interceptors.JSArray$(); -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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSMutableArray$(E)).new(); - } - } - (JSMutableArray.new = function() { - JSMutableArray.__proto__.new.call(this); - ; - }).prototype = JSMutableArray.prototype; - dart.addTypeTests(JSMutableArray); - JSMutableArray.prototype[_is_JSMutableArray_default] = true; - dart.addTypeCaches(JSMutableArray); - JSMutableArray[dart.implements] = () => [_interceptors.JSMutableIndexable$(E)]; - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSFixedArray$(E)).new(); - } - } - (JSFixedArray.new = function() { - JSFixedArray.__proto__.new.call(this); - ; - }).prototype = JSFixedArray.prototype; - dart.addTypeTests(JSFixedArray); - JSFixedArray.prototype[_is_JSFixedArray_default] = true; - dart.addTypeCaches(JSFixedArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSExtendableArray$(E)).new(); - } - } - (JSExtendableArray.new = function() { - JSExtendableArray.__proto__.new.call(this); - ; - }).prototype = JSExtendableArray.prototype; - dart.addTypeTests(JSExtendableArray); - JSExtendableArray.prototype[_is_JSExtendableArray_default] = true; - dart.addTypeCaches(JSExtendableArray); - 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) { - static ['_#new#tearOff'](E) { - return new (_interceptors.JSUnmodifiableArray$(E)).new(); - } - } - (JSUnmodifiableArray.new = function() { - JSUnmodifiableArray.__proto__.new.call(this); - ; - }).prototype = JSUnmodifiableArray.prototype; - dart.addTypeTests(JSUnmodifiableArray); - JSUnmodifiableArray.prototype[_is_JSUnmodifiableArray_default] = true; - dart.addTypeCaches(JSUnmodifiableArray); - dart.setLibraryUri(JSUnmodifiableArray, I[17]); - return JSUnmodifiableArray; -}); -_interceptors.JSUnmodifiableArray = _interceptors.JSUnmodifiableArray$(); -dart.addTypeTests(_interceptors.JSUnmodifiableArray, _is_JSUnmodifiableArray_default); -var _current = dart.privateName(_interceptors, "_current"); -var _iterable = dart.privateName(_interceptors, "_iterable"); -var _length = dart.privateName(_interceptors, "_length"); -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]); - } - moveNext() { - let length = this[_iterable][$length]; - if (this[_length] !== length) { - dart.throw(_js_helper.throwConcurrentModificationError(this[_iterable])); - } - if (this[_index] >= length) { - this[_current] = null; - return false; - } - this[_current] = this[_iterable][$_get](this[_index]); - this[_index] = this[_index] + 1; - return true; - } - } - (ArrayIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[19], 668, 28, "iterable"); - this[_current] = null; - this[_iterable] = iterable; - this[_length] = iterable[$length]; - this[_index] = 0; - ; - }).prototype = ArrayIterator.prototype; - dart.addTypeTests(ArrayIterator); - ArrayIterator.prototype[_is_ArrayIterator_default] = true; - dart.addTypeCaches(ArrayIterator); - ArrayIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ArrayIterator, () => ({ - __proto__: dart.getMethods(ArrayIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ArrayIterator, () => ({ - __proto__: dart.getGetters(ArrayIterator.__proto__), - current: E - })); - dart.setLibraryUri(ArrayIterator, I[17]); - dart.setFieldSignature(ArrayIterator, () => ({ - __proto__: dart.getFields(ArrayIterator.__proto__), - [_iterable]: dart.finalFieldType(_interceptors.JSArray$(E)), - [_length]: dart.finalFieldType(core.int), - [_index]: dart.fieldType(core.int), - [_current]: dart.fieldType(dart.nullable(E)) - })); - return ArrayIterator; -}); -_interceptors.ArrayIterator = _interceptors.ArrayIterator$(); -dart.addTypeTests(_interceptors.ArrayIterator, _is_ArrayIterator_default); -var _isInt32 = dart.privateName(_interceptors, "_isInt32"); -var _tdivSlow = dart.privateName(_interceptors, "_tdivSlow"); -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); - if (this < b) { - return -1; - } else if (this > b) { - return 1; - } else if (this === b) { - if (this === 0) { - let bIsNegative = b[$isNegative]; - if (this[$isNegative] === bIsNegative) return 0; - if (this[$isNegative]) return -1; - return 1; - } - return 0; - } else if (this[$isNaN]) { - if (b[$isNaN]) { - return 0; - } - return 1; - } else { - return -1; - } - } - get [$isNegative]() { - return this === 0 ? 1 / this < 0 : this < 0; - } - get [$isNaN]() { - return isNaN(this); - } - get [$isInfinite]() { - return this == 1 / 0 || this == -1 / 0; - } - get [$isFinite]() { - return isFinite(this); - } - [$remainder](b) { - if (b == null) dart.argumentError(b); - return this % b; - } - [$abs]() { - return Math.abs(this); - } - get [$sign]() { - return this > 0 ? 1 : this < 0 ? -1 : this; - } - [$toInt]() { - if (this >= -2147483648 && this <= 2147483647) { - return this | 0; - } - if (isFinite(this)) { - return this[$truncateToDouble]() + 0; - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$truncate]() { - return this[$toInt](); - } - [$ceil]() { - return this[$ceilToDouble]()[$toInt](); - } - [$floor]() { - return this[$floorToDouble]()[$toInt](); - } - [$round]() { - if (this > 0) { - if (this !== 1 / 0) { - return Math.round(this); - } - } else if (this > -1 / 0) { - return 0 - Math.round(0 - this); - } - dart.throw(new core.UnsupportedError.new("" + this)); - } - [$ceilToDouble]() { - return Math.ceil(this); - } - [$floorToDouble]() { - return Math.floor(this); - } - [$roundToDouble]() { - if (this < 0) { - return -Math.round(-this); - } else { - return Math.round(this); - } - } - [$truncateToDouble]() { - return this < 0 ? this[$ceilToDouble]() : this[$floorToDouble](); - } - [$clamp](lowerLimit, upperLimit) { - if (lowerLimit == null) dart.argumentError(lowerLimit); - if (upperLimit == null) dart.argumentError(upperLimit); - if (lowerLimit[$compareTo](upperLimit) > 0) { - dart.throw(_js_helper.argumentErrorValue(lowerLimit)); - } - if (this[$compareTo](lowerLimit) < 0) return lowerLimit; - if (this[$compareTo](upperLimit) > 0) return upperLimit; - return this; - } - [$toDouble]() { - return this; - } - [$toStringAsFixed](fractionDigits) { - if (fractionDigits == null) dart.argumentError(fractionDigits); - if (fractionDigits < 0 || fractionDigits > 20) { - dart.throw(new core.RangeError.range(fractionDigits, 0, 20, "fractionDigits")); - } - let result = this.toFixed(fractionDigits); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toStringAsExponential](fractionDigits = null) { - let result = null; - if (fractionDigits != null) { - let _fractionDigits = fractionDigits; - if (_fractionDigits < 0 || _fractionDigits > 20) { - dart.throw(new core.RangeError.range(_fractionDigits, 0, 20, "fractionDigits")); - } - result = this.toExponential(_fractionDigits); - } else { - result = this.toExponential(); - } - if (this === 0 && this[$isNegative]) return "-" + dart.str(result); - return result; - } - [$toStringAsPrecision](precision) { - if (precision == null) dart.argumentError(precision); - if (precision < 1 || precision > 21) { - dart.throw(new core.RangeError.range(precision, 1, 21, "precision")); - } - let result = this.toPrecision(precision); - if (this === 0 && this[$isNegative]) return "-" + result; - return result; - } - [$toRadixString](radix) { - if (radix == null) dart.argumentError(radix); - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - let result = this.toString(radix); - if (result[$codeUnitAt](result.length - 1) !== 41) { - return result; - } - return _interceptors.JSNumber._handleIEtoString(result); - } - static _handleIEtoString(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))); - } - result = match[$_get](1); - let exponent = +match[$_get](3); - if (match[$_get](2) != null) { - result = result + match[$_get](2); - exponent = exponent - match[$_get](2).length; - } - return dart.notNull(result) + "0"[$times](exponent); - } - [$toString]() { - if (this === 0 && 1 / this < 0) { - return "-0.0"; - } else { - return "" + this; - } - } - get [$hashCode]() { - let intValue = this | 0; - if (this === intValue) return 536870911 & intValue; - let absolute = Math.abs(this); - let lnAbsolute = Math.log(absolute); - let log2 = lnAbsolute / 0.6931471805599453; - let floorLog2 = log2 | 0; - let factor = Math.pow(2, floorLog2); - let scaled = absolute < 1 ? absolute / factor : factor / absolute; - let rescaled1 = scaled * 9007199254740992; - let rescaled2 = scaled * 3542243181176521; - let d1 = rescaled1 | 0; - let d2 = rescaled2 | 0; - let d3 = floorLog2; - let h = 536870911 & (d1 + d2) * (601 * 997) + d3 * 1259; - return h; - } - [$_negate]() { - return -this; - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$minus](other) { - if (other == null) dart.argumentError(other); - return this - other; - } - [$divide](other) { - if (other == null) dart.argumentError(other); - return this / other; - } - [$times](other) { - if (other == null) dart.argumentError(other); - return this * other; - } - [$modulo](other) { - if (other == null) dart.argumentError(other); - let result = this % other; - if (result === 0) { - return 0; - } - if (result > 0) return result; - if (other < 0) { - return result - other; - } else { - return result + other; - } - } - [_isInt32](value) { - return (value | 0) === value; - } - [$floorDivide](other) { - if (other == null) dart.argumentError(other); - if (this[_isInt32](this) && this[_isInt32](other) && 0 !== other && -1 !== other) { - return this / other | 0; - } else { - return this[_tdivSlow](other); - } - } - [_tdivSlow](other) { - if (other == null) dart.nullFailed(I[20], 321, 21, "other"); - return (this / other)[$toInt](); - } - [$leftShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shlPositive](other); - } - [_shlPositive](other) { - return other > 31 ? 0 : this << other >>> 0; - } - [$rightShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrOtherPositive](other); - } - [$tripleShift](other) { - if (other == null) dart.argumentError(other); - if (other < 0) _js_helper.throwArgumentErrorValue(other); - return this[_shrUnsigned](other); - } - [_shrOtherPositive](other) { - return this > 0 ? this[_shrUnsigned](other) : this >> (other > 31 ? 31 : other) >>> 0; - } - [_shrUnsigned](other) { - return other > 31 ? 0 : this >>> other; - } - [$bitAnd](other) { - if (other == null) dart.argumentError(other); - return (this & other) >>> 0; - } - [$bitOr](other) { - if (other == null) dart.argumentError(other); - return (this | other) >>> 0; - } - [$bitXor](other) { - if (other == null) dart.argumentError(other); - return (this ^ other) >>> 0; - } - [$lessThan](other) { - if (other == null) dart.argumentError(other); - return this < other; - } - [$greaterThan](other) { - if (other == null) dart.argumentError(other); - return this > other; - } - [$lessOrEquals](other) { - if (other == null) dart.argumentError(other); - return this <= other; - } - [$greaterOrEquals](other) { - if (other == null) dart.argumentError(other); - return this >= other; - } - get [$isEven]() { - return (this & 1) === 0; - } - get [$isOdd]() { - return (this & 1) === 1; - } - [$toUnsigned](width) { - if (width == null) dart.argumentError(width); - return (this & (1)[$leftShift](width) - 1) >>> 0; - } - [$toSigned](width) { - if (width == null) dart.argumentError(width); - let signMask = (1)[$leftShift](width - 1); - return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0); - } - get [$bitLength]() { - let nonneg = this < 0 ? -this - 1 : this; - let wordBits = 32; - while (nonneg >= 4294967296) { - nonneg = (nonneg / 4294967296)[$truncate](); - wordBits = wordBits + 32; - } - return wordBits - _interceptors.JSNumber._clz32(nonneg); - } - static _clz32(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; - if (this < -9007199254740991.0 || this > 9007199254740991.0) { - dart.throw(new core.RangeError.range(this, -9007199254740991.0, 9007199254740991.0, "receiver")); - } - if (e > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 0, 9007199254740991.0, "exponent")); - } - if (m > 9007199254740991.0) { - dart.throw(new core.RangeError.range(e, 1, 9007199254740991.0, "modulus")); - } - if (m > 94906265) { - return core._BigIntImpl.from(this).modPow(core._BigIntImpl.from(e), core._BigIntImpl.from(m)).toInt(); - } - let b = this; - if (b < 0 || b > m) { - b = b[$modulo](m); - } - let r = 1; - while (e > 0) { - if (e[$isOdd]) { - r = (r * b)[$modulo](m); - } - e = (e / 2)[$truncate](); - b = (b * b)[$modulo](m); - } - return r; - } - static _binaryGcd(x, y, inv) { - let s = 1; - if (!inv) { - while (x[$isEven] && y[$isEven]) { - x = (x / 2)[$truncate](); - y = (y / 2)[$truncate](); - s = s * 2; - } - if (y[$isOdd]) { - let t = x; - x = y; - y = t; - } - } - let ac = x[$isEven]; - let u = x; - let v = y; - let a = 1; - let b = 0; - let c = 0; - let d = 1; - do { - while (u[$isEven]) { - u = (u / 2)[$truncate](); - if (ac) { - if (!a[$isEven] || !b[$isEven]) { - a = a + y; - b = b - x; - } - a = (a / 2)[$truncate](); - } else if (!b[$isEven]) { - b = b - x; - } - b = (b / 2)[$truncate](); - } - while (v[$isEven]) { - v = (v / 2)[$truncate](); - if (ac) { - if (!c[$isEven] || !d[$isEven]) { - c = c + y; - d = d - x; - } - c = (c / 2)[$truncate](); - } else if (!d[$isEven]) { - d = d - x; - } - d = (d / 2)[$truncate](); - } - if (u >= v) { - u = u - v; - if (ac) a = a - c; - b = b - d; - } else { - v = v - u; - if (ac) c = c - a; - d = d - b; - } - } while (u !== 0); - if (!inv) return s * v; - if (v !== 1) dart.throw(core.Exception.new("Not coprime")); - if (d < 0) { - d = d + x; - if (d < 0) d = d + x; - } else if (d > x) { - d = d - x; - if (d > x) d = d - x; - } - return d; - } - [$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; - if (t < 0 || t >= m) t = t[$modulo](m); - if (t === 1) return 1; - if (t === 0 || t[$isEven] && m[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - return _interceptors.JSNumber._binaryGcd(m, t, true); - } - [$gcd](other) { - if (other == null) dart.argumentError(other); - if (!core.int.is(this)) _js_helper.throwArgumentErrorValue(this); - let x = this[$abs](); - let y = other[$abs](); - if (x === 0) return y; - if (y === 0) return x; - if (x === 1 || y === 1) return 1; - return _interceptors.JSNumber._binaryGcd(x, y, false); - } - [$bitNot]() { - return ~this >>> 0; - } -}; -(_interceptors.JSNumber.new = function() { - _interceptors.JSNumber.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSNumber.prototype; -dart.addTypeTests(_interceptors.JSNumber); -dart.addTypeCaches(_interceptors.JSNumber); -_interceptors.JSNumber[dart.implements] = () => [core.int, core.double]; -dart.setMethodSignature(_interceptors.JSNumber, () => ({ - __proto__: dart.getMethods(_interceptors.JSNumber.__proto__), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$remainder]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$abs]: dart.fnType(_interceptors.JSNumber, []), - [$toInt]: dart.fnType(core.int, []), - [$truncate]: dart.fnType(core.int, []), - [$ceil]: dart.fnType(core.int, []), - [$floor]: dart.fnType(core.int, []), - [$round]: dart.fnType(core.int, []), - [$ceilToDouble]: dart.fnType(core.double, []), - [$floorToDouble]: dart.fnType(core.double, []), - [$roundToDouble]: dart.fnType(core.double, []), - [$truncateToDouble]: dart.fnType(core.double, []), - [$clamp]: dart.fnType(core.num, [core.num, core.num]), - [$toDouble]: dart.fnType(core.double, []), - [$toStringAsFixed]: dart.fnType(core.String, [core.int]), - [$toStringAsExponential]: dart.fnType(core.String, [], [dart.nullable(core.int)]), - [$toStringAsPrecision]: dart.fnType(core.String, [core.int]), - [$toRadixString]: dart.fnType(core.String, [core.int]), - [$_negate]: dart.fnType(_interceptors.JSNumber, []), - [$plus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$minus]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$divide]: dart.fnType(core.double, [core.num]), - [$times]: dart.fnType(_interceptors.JSNumber, [core.num]), - [$modulo]: dart.fnType(_interceptors.JSNumber, [core.num]), - [_isInt32]: dart.fnType(core.bool, [core.num]), - [$floorDivide]: dart.fnType(core.int, [core.num]), - [_tdivSlow]: dart.fnType(core.int, [core.num]), - [$leftShift]: dart.fnType(core.int, [core.num]), - [_shlPositive]: dart.fnType(core.int, [core.num]), - [$rightShift]: dart.fnType(core.int, [core.num]), - [$tripleShift]: dart.fnType(core.int, [core.num]), - [_shrOtherPositive]: dart.fnType(core.int, [core.num]), - [_shrUnsigned]: dart.fnType(core.int, [core.num]), - [$bitAnd]: dart.fnType(core.int, [core.num]), - [$bitOr]: dart.fnType(core.int, [core.num]), - [$bitXor]: dart.fnType(core.int, [core.num]), - [$lessThan]: dart.fnType(core.bool, [core.num]), - [$greaterThan]: dart.fnType(core.bool, [core.num]), - [$lessOrEquals]: dart.fnType(core.bool, [core.num]), - [$greaterOrEquals]: dart.fnType(core.bool, [core.num]), - [$toUnsigned]: dart.fnType(core.int, [core.int]), - [$toSigned]: dart.fnType(core.int, [core.int]), - [$modPow]: dart.fnType(core.int, [core.int, core.int]), - [$modInverse]: dart.fnType(core.int, [core.int]), - [$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, - [$isNaN]: core.bool, - [$isInfinite]: core.bool, - [$isFinite]: core.bool, - [$sign]: _interceptors.JSNumber, - [$isEven]: core.bool, - [$isOdd]: core.bool, - [$bitLength]: core.int -})); -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; - }, - /*_interceptors.JSNumber._MAX_INT32*/get _MAX_INT32() { - return 2147483647; - } -}, 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.withLength(index, len, {indexable: this, name: "index"})); - } - return this.charCodeAt(index); - } - [$allMatches](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let len = string.length; - if (0 > start || start > len) { - dart.throw(new core.RangeError.range(start, 0, len)); - } - return _js_helper.allMatchesInStringUnchecked(this, string, start); - } - [$matchAsPrefix](string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - let stringLength = string.length; - if (start < 0 || start > stringLength) { - dart.throw(new core.RangeError.range(start, 0, stringLength)); - } - let thisLength = this.length; - if (start + thisLength > stringLength) return null; - for (let i = 0; i < thisLength; i = i + 1) { - if (string[$codeUnitAt](start + i) !== this[$codeUnitAt](i)) { - return null; - } - } - return new _js_helper.StringMatch.new(start, string, this); - } - [$plus](other) { - if (other == null) dart.argumentError(other); - return this + other; - } - [$endsWith](other) { - if (other == null) dart.argumentError(other); - let otherLength = other.length; - let thisLength = this.length; - if (otherLength > thisLength) return false; - return other === this[$substring](thisLength - otherLength); - } - [$replaceAll](from, to) { - 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[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[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[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[21], 91, 15, "from"); - if (replace == null) dart.argumentError(replace); - if (startIndex == null) dart.argumentError(startIndex); - core.RangeError.checkValueInInterval(startIndex, 0, this.length, "startIndex"); - return _js_helper.stringReplaceFirstMappedUnchecked(this, from, replace, startIndex); - } - [$split](pattern) { - if (pattern == null) dart.argumentError(pattern); - if (typeof pattern == 'string') { - return T$.JSArrayOfString().of(this.split(pattern)); - } else if (_js_helper.JSSyntaxRegExp.is(pattern) && _js_helper.regExpCaptureCount(pattern) === 0) { - let re = _js_helper.regExpGetNative(pattern); - return T$.JSArrayOfString().of(this.split(re)); - } else { - return this[_defaultSplit](pattern); - } - } - [$replaceRange](start, end, replacement) { - if (start == null) dart.argumentError(start); - if (replacement == null) dart.argumentError(replacement); - let e = core.RangeError.checkValidRange(start, end, this.length); - return _js_helper.stringReplaceRangeUnchecked(this, start, e, replacement); - } - [_defaultSplit](pattern) { - if (pattern == null) dart.nullFailed(I[21], 117, 38, "pattern"); - let result = T$.JSArrayOfString().of([]); - let start = 0; - let length = 1; - for (let match of pattern[$allMatches](this)) { - let matchStart = match.start; - let matchEnd = match.end; - length = matchEnd - matchStart; - if (length === 0 && start === matchStart) { - continue; - } - let end = matchStart; - result[$add](this[$substring](start, end)); - start = matchEnd; - } - if (start < this.length || length > 0) { - result[$add](this[$substring](start)); - } - return result; - } - [$startsWith](pattern, index = 0) { - 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) { - dart.throw(new core.RangeError.range(index, 0, this.length)); - } - if (typeof pattern == 'string') { - let other = pattern; - let otherLength = other.length; - let endIndex = index + otherLength; - if (endIndex > length) return false; - return other === this.substring(index, endIndex); - } - return pattern[$matchAsPrefix](this, index) != null; - } - [$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(); - } - [$toUpperCase]() { - return this.toUpperCase(); - } - static _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; - } - } - } - static _skipLeadingWhitespace(string, index) { - if (string == null) dart.nullFailed(I[21], 243, 44, "string"); - if (index == null) dart.argumentError(index); - let stringLength = string.length; - while (index < stringLength) { - let codeUnit = string[$codeUnitAt](index); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index + 1; - } - return index; - } - static _skipTrailingWhitespace(string, index) { - 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); - if (codeUnit !== 32 && codeUnit !== 13 && !_interceptors.JSString._isWhitespace(codeUnit)) { - break; - } - index = index - 1; - } - return index; - } - [$trim]() { - let result = this.trim(); - let length = result.length; - if (length === 0) return result; - let firstCode = result[$codeUnitAt](0); - let startIndex = 0; - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - if (startIndex === length) return ""; - } - let endIndex = length; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - if (startIndex === 0 && endIndex === length) return result; - return result.substring(startIndex, endIndex); - } - [$trimLeft]() { - let result = null; - let startIndex = 0; - if (typeof this.trimLeft != "undefined") { - result = this.trimLeft(); - if (result.length === 0) return result; - let firstCode = result[$codeUnitAt](0); - if (firstCode === 133) { - startIndex = _interceptors.JSString._skipLeadingWhitespace(result, 1); - } - } else { - result = this; - startIndex = _interceptors.JSString._skipLeadingWhitespace(this, 0); - } - if (startIndex === 0) return result; - if (startIndex === result.length) return ""; - return result.substring(startIndex); - } - [$trimRight]() { - let result = null; - let endIndex = 0; - if (typeof this.trimRight != "undefined") { - result = this.trimRight(); - endIndex = result.length; - if (endIndex === 0) return result; - let lastCode = result[$codeUnitAt](endIndex - 1); - if (lastCode === 133) { - endIndex = _interceptors.JSString._skipTrailingWhitespace(result, endIndex - 1); - } - } else { - result = this; - endIndex = _interceptors.JSString._skipTrailingWhitespace(this, this.length); - } - if (endIndex === result.length) return result; - if (endIndex === 0) return ""; - return result.substring(0, endIndex); - } - [$times](times) { - if (times == null) dart.argumentError(times); - if (0 >= times) return ""; - if (times === 1 || this.length === 0) return this; - if (times !== times >>> 0) { - dart.throw(C[18] || CT.C18); - } - let result = ""; - let s = this; - while (true) { - if ((times & 1) === 1) result = s + result; - times = times >>> 1; - if (times === 0) break; - s = s + s; - } - return result; - } - [$padLeft](width, padding = " ") { - if (width == null) dart.argumentError(width); - 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[21], 393, 49, "padding"); - let delta = width - this.length; - if (delta <= 0) return this; - return this[$plus](padding[$times](delta)); - } - get [$codeUnits]() { - return new _internal.CodeUnits.new(this); - } - get [$runes]() { - return new core.Runes.new(this); - } - [$indexOf](pattern, start = 0) { - if (pattern == null) dart.argumentError(pattern); - if (start == null) dart.argumentError(start); - if (start < 0 || start > this.length) { - dart.throw(new core.RangeError.range(start, 0, this.length)); - } - if (typeof pattern == 'string') { - return _js_helper.stringIndexOfStringUnchecked(this, pattern, start); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = pattern; - let match = _js_helper.firstMatchAfter(re, this, start); - return match == null ? -1 : match.start; - } - let length = this.length; - for (let i = start; i <= length; i = i + 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$lastIndexOf](pattern, _start = null) { - let t16; - if (pattern == null) dart.argumentError(pattern); - let length = this.length; - 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)); - } - if (typeof pattern == 'string') { - let other = pattern; - if (dart.notNull(start) + other.length > length) { - start = length - other.length; - } - return _js_helper.stringLastIndexOfUnchecked(this, other, start); - } - for (let i = start; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (pattern[$matchAsPrefix](this, i) != null) return i; - } - return -1; - } - [$contains](other, startIndex = 0) { - if (other == null) dart.argumentError(other); - if (startIndex == null) dart.argumentError(startIndex); - if (startIndex < 0 || startIndex > this.length) { - dart.throw(new core.RangeError.range(startIndex, 0, this.length)); - } - return _js_helper.stringContainsUnchecked(this, other, startIndex); - } - get [$isEmpty]() { - return this.length === 0; - } - get [$isNotEmpty]() { - return !this[$isEmpty]; - } - [$compareTo](other) { - core.String.as(other); - if (other == null) dart.argumentError(other); - return this === other ? 0 : this < other ? -1 : 1; - } - [$toString]() { - return this; - } - get [$hashCode]() { - let hash = 0; - let length = this.length; - for (let i = 0; i < length; i = i + 1) { - hash = 536870911 & hash + this.charCodeAt(i); - hash = 536870911 & hash + ((524287 & hash) << 10); - hash = hash ^ hash >> 6; - } - hash = 536870911 & hash + ((67108863 & hash) << 3); - hash = hash ^ hash >> 11; - return 536870911 & hash + ((16383 & hash) << 15); - } - get [$runtimeType]() { - return dart.wrapType(core.String); - } - get [$length]() { - return this.length; - } - [$_get](index) { - if (index == null) dart.argumentError(index); - if (!(index >= 0 && index < this.length)) { - dart.throw(_js_helper.diagnoseIndexError(this, index)); - } - return this[index]; - } -}; -(_interceptors.JSString.new = function() { - _interceptors.JSString.__proto__.new.call(this); - ; -}).prototype = _interceptors.JSString.prototype; -dart.addTypeTests(_interceptors.JSString); -dart.addTypeCaches(_interceptors.JSString); -_interceptors.JSString[dart.implements] = () => [core.String, _interceptors.JSIndexable$(core.String)]; -dart.setMethodSignature(_interceptors.JSString, () => ({ - __proto__: dart.getMethods(_interceptors.JSString.__proto__), - [$codeUnitAt]: dart.fnType(core.int, [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.Match), [core.String], [core.int]), - [$matchAsPrefix]: dart.fnType(dart.nullable(core.Match), [core.String], [core.int]), - [$plus]: dart.fnType(core.String, [core.String]), - [$endsWith]: dart.fnType(core.bool, [core.String]), - [$replaceAll]: dart.fnType(core.String, [core.Pattern, core.String]), - [$replaceAllMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])]), - [$splitMapJoin]: dart.fnType(core.String, [core.Pattern], {onMatch: dart.nullable(dart.fnType(core.String, [core.Match])), onNonMatch: dart.nullable(dart.fnType(core.String, [core.String]))}, {}), - [$replaceFirst]: dart.fnType(core.String, [core.Pattern, core.String], [core.int]), - [$replaceFirstMapped]: dart.fnType(core.String, [core.Pattern, dart.fnType(core.String, [core.Match])], [core.int]), - [$split]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$replaceRange]: dart.fnType(core.String, [core.int, dart.nullable(core.int), core.String]), - [_defaultSplit]: dart.fnType(core.List$(core.String), [core.Pattern]), - [$startsWith]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$substring]: dart.fnType(core.String, [core.int], [dart.nullable(core.int)]), - [$toLowerCase]: dart.fnType(core.String, []), - [$toUpperCase]: dart.fnType(core.String, []), - [$trim]: dart.fnType(core.String, []), - [$trimLeft]: dart.fnType(core.String, []), - [$trimRight]: dart.fnType(core.String, []), - [$times]: dart.fnType(core.String, [core.int]), - [$padLeft]: dart.fnType(core.String, [core.int], [core.String]), - [$padRight]: dart.fnType(core.String, [core.int], [core.String]), - [$indexOf]: dart.fnType(core.int, [core.Pattern], [core.int]), - [$lastIndexOf]: dart.fnType(core.int, [core.Pattern], [dart.nullable(core.int)]), - [$contains]: dart.fnType(core.bool, [core.Pattern], [core.int]), - [$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), - [$runes]: core.Runes, - [$isEmpty]: core.bool, - [$isNotEmpty]: core.bool, - [$length]: core.int -})); -dart.setLibraryUri(_interceptors.JSString, I[17]); -dart.definePrimitiveHashCode(_interceptors.JSString.prototype); -dart.registerExtension("String", _interceptors.JSString); -_interceptors.findInterceptorConstructorForType = function findInterceptorConstructorForType(type) { -}; -_interceptors.findConstructorForNativeSubclassType = function findConstructorForNativeSubclassType(type, name) { - if (name == null) dart.nullFailed(I[18], 304, 57, "name"); -}; -_interceptors.getNativeInterceptor = function getNativeInterceptor(object) { -}; -_interceptors.setDispatchProperty = function setDispatchProperty(object, value) { -}; -_interceptors.findInterceptorForType = function findInterceptorForType(type) { -}; -dart.defineLazy(_interceptors, { - /*_interceptors.jsNull*/get jsNull() { - return new _interceptors.JSNull.new(); - } -}, false); -var _string$ = dart.privateName(_internal, "_string"); -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 __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 (__t$ListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[24], 78, 19, "index"); - return this[$_get](index); - } - followedBy(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[24], 83, 21, "action"); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - action(this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - get first() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](0); - } - set first(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](0, value); - } - get last() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - return this[$_get](dart.notNull(this[$length]) - 1); - } - set last(value) { - E.as(value); - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - this[$_set](dart.notNull(this[$length]) - 1, value); - } - get single() { - if (this[$length] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[$length]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this[$_get](0); - } - contains(element) { - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this[$_get](i), element)) return true; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 157, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 170, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[24], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this[$_get](i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - let t20; - if (separator == null) dart.nullFailed(I[24], 205, 23, "separator"); - if (this[$length] === 0) return ""; - 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[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[24], 215, 24, "f"); - return new (_internal.MappedListIterable$(E, T)).new(this, f); - } - expand(T, f) { - if (f == null) dart.nullFailed(I[24], 217, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this[$_get](i)); - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[24], 247, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - take(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[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[24], 258, 24, "growable"); - if (dart.test(this[$isEmpty])) return __t$ListOfE().empty({growable: growable}); - let first = this[$_get](0); - 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 (__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 t20; - E.as(element); - this[$_set]((t20 = this[$length], this[$length] = dart.notNull(t20) + 1, t20), element); - } - addAll(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[24], 285, 14, "this.length == i || (throw ConcurrentModificationError(this))"); - this[$add](element); - i = dart.notNull(i) + 1; - } - } - remove(element) { - for (let i = 0; i < dart.notNull(this[$length]); i = i + 1) { - if (dart.equals(this[$_get](i), element)) { - this[_closeGap](i, i + 1); - return true; - } - } - return false; - } - [_closeGap](start, 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[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)); - } - this[$length] = dart.notNull(length) - size; - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[24], 315, 25, "test"); - this[_filter](test, false); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[24], 319, 25, "test"); - this[_filter](test, true); - } - [_filter](test, retainMatching) { - 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); - if (test(element) == retainMatching) { - retained[$add](element); - } - if (length != this[$length]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (retained[$length] != this[$length]) { - this[$setRange](0, retained[$length], retained); - this[$length] = retained[$length]; - } - } - clear() { - this[$length] = 0; - } - cast(R) { - return core.List.castFrom(E, R, this); - } - removeLast() { - if (this[$length] === 0) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = this[$_get](dart.notNull(this[$length]) - 1); - this[$length] = dart.notNull(this[$length]) - 1; - return result; - } - sort(compare = null) { - 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)); - } - shuffle(random = null) { - random == null ? random = math.Random.new() : null; - if (random == null) dart.throw("!"); - let length = this[$length]; - while (dart.notNull(length) > 1) { - let pos = random.nextInt(length); - length = dart.notNull(length) - 1; - let tmp = this[$_get](length); - this[$_set](length, this[$_get](pos)); - this[$_set](pos, tmp); - } - } - asMap() { - return new (__t$ListMapViewOfE()).new(this); - } - ['+'](other) { - __t$ListOfE().as(other); - if (other == null) dart.nullFailed(I[24], 381, 30, "other"); - return (() => { - let t20 = __t$ListOfE().of(this); - t20[$addAll](other); - return t20; - })(); - } - sublist(start, end = null) { - 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 __t$ListOfE().from(this[$getRange](start, end)); - } - getRange(start, 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 (__t$SubListIterableOfE()).new(this, start, end); - } - removeRange(start, 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[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) { - this[$_set](i, value); - } - } - setRange(start, end, iterable, skipCount = 0) { - 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 (__t$ListOfE().is(iterable)) { - otherList = iterable; - otherStart = skipCount; - } else { - otherList = iterable[$skip](skipCount)[$toList]({growable: false}); - otherStart = 0; - } - if (dart.notNull(otherStart) + length > dart.notNull(otherList[$length])) { - dart.throw(_internal.IterableElementError.tooFew()); - } - if (dart.notNull(otherStart) < dart.notNull(start)) { - for (let i = length - 1; i >= 0; i = i - 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } else { - for (let i = 0; i < length; i = i + 1) { - this[$_set](dart.notNull(start) + i, otherList[$_get](dart.notNull(otherStart) + i)); - } - } - } - replaceRange(start, end, 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); - return; - } - if (!_internal.EfficientLengthIterable.is(newContents)) { - newContents = newContents[$toList](); - } - let removeLength = dart.notNull(end) - dart.notNull(start); - let insertLength = newContents[$length]; - if (removeLength >= dart.notNull(insertLength)) { - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - this[$setRange](start, insertEnd, newContents); - if (removeLength > dart.notNull(insertLength)) { - this[_closeGap](insertEnd, end); - } - } else if (end == this[$length]) { - let i = start; - for (let element of newContents) { - if (dart.notNull(i) < dart.notNull(end)) { - this[$_set](i, element); - } else { - this[$add](element); - } - i = dart.notNull(i) + 1; - } - } else { - let delta = dart.notNull(insertLength) - removeLength; - let oldLength = this[$length]; - let insertEnd = dart.notNull(start) + dart.notNull(insertLength); - for (let i = dart.notNull(oldLength) - delta; i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (insertEnd < dart.notNull(oldLength)) { - this[$setRange](insertEnd, oldLength, this, end); - } - this[$setRange](start, insertEnd, newContents); - } - } - indexOf(element, start = 0) { - 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; - } - return -1; - } - indexWhere(test, start = 0) { - 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; - } - return -1; - } - lastIndexOf(element, start = null) { - 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) { - if (dart.equals(this[$_get](i), element)) return i; - } - return -1; - } - lastIndexWhere(test, start = null) { - 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) { - if (dart.test(test(this[$_get](i)))) return i; - } - return -1; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[24], 526, 19, "index"); - E.as(element); - _internal.checkNotNullable(core.int, index, "index"); - let length = this[$length]; - core.RangeError.checkValueInInterval(index, 0, length, "index"); - this[$add](element); - if (index != length) { - this[$setRange](dart.notNull(index) + 1, dart.notNull(length) + 1, this, index); - this[$_set](index, element); - } - } - removeAt(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[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); - return; - } - if (!_internal.EfficientLengthIterable.is(iterable) || iterable === this) { - iterable = iterable[$toList](); - } - let insertionLength = iterable[$length]; - if (insertionLength === 0) { - return; - } - let oldLength = this[$length]; - for (let i = dart.notNull(oldLength) - dart.notNull(insertionLength); i < dart.notNull(oldLength); i = i + 1) { - this[$add](this[$_get](i > 0 ? i : 0)); - } - if (iterable[$length] != insertionLength) { - this[$length] = dart.notNull(this[$length]) - dart.notNull(insertionLength); - dart.throw(new core.ConcurrentModificationError.new(iterable)); - } - let oldCopyStart = dart.notNull(index) + dart.notNull(insertionLength); - if (oldCopyStart < dart.notNull(oldLength)) { - this[$setRange](oldCopyStart, oldLength, this, index); - } - this[$setAll](index, iterable); - } - setAll(index, 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]((t21 = index, index = dart.notNull(t21) + 1, t21), element); - } - } - } - get reversed() { - return new (__t$ReversedListIterableOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "[", "]"); - } - } - (ListMixin.new = function() { - ; - }).prototype = ListMixin.prototype; - ListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ListMixin); - ListMixin.prototype[_is_ListMixin_default] = true; - dart.addTypeCaches(ListMixin); - ListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ListMixin, () => ({ - __proto__: dart.getMethods(ListMixin.__proto__), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_closeGap]: dart.fnType(dart.void, [core.int, core.int]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [_filter]: dart.fnType(dart.void, [dart.fnType(core.bool, [E]), core.bool]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - asMap: dart.fnType(core.Map$(core.int, E), []), - [$asMap]: dart.fnType(core.Map$(core.int, E), []), - '+': dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - [$plus]: dart.fnType(core.List$(E), [dart.nullable(core.Object)]), - sublist: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - [$sublist]: dart.fnType(core.List$(E), [core.int], [dart.nullable(core.int)]), - getRange: dart.fnType(core.Iterable$(E), [core.int, core.int]), - [$getRange]: dart.fnType(core.Iterable$(E), [core.int, core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - indexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - [$indexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [core.int]), - indexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - [$indexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [core.int]), - lastIndexOf: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [$lastIndexOf]: dart.fnType(core.int, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - lastIndexWhere: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - [$lastIndexWhere]: dart.fnType(core.int, [dart.fnType(core.bool, [E])], [dart.nullable(core.int)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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), - [$iterator]: core.Iterator$(E), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E, - reversed: core.Iterable$(E), - [$reversed]: core.Iterable$(E) - })); - dart.setSetterSignature(ListMixin, () => ({ - __proto__: dart.getSetters(ListMixin.__proto__), - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(ListMixin, I[25]); - dart.defineExtensionMethods(ListMixin, [ - 'elementAt', - 'followedBy', - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'whereType', - 'map', - 'expand', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet', - 'add', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'cast', - 'removeLast', - 'sort', - 'shuffle', - 'asMap', - '+', - 'sublist', - 'getRange', - 'removeRange', - 'fillRange', - 'setRange', - 'replaceRange', - 'indexOf', - 'indexWhere', - 'lastIndexOf', - 'lastIndexWhere', - 'insert', - 'removeAt', - 'insertAll', - 'setAll', - 'toString' - ]); - dart.defineExtensionAccessors(ListMixin, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single', - 'reversed' - ]); - return ListMixin; -}); -collection.ListMixin = collection.ListMixin$(); -dart.addTypeTests(collection.ListMixin, _is_ListMixin_default); -const _is_ListBase_default = Symbol('_is_ListBase_default'); -collection.ListBase$ = dart.generic(E => { - const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; - (Object_ListMixin$36.new = function() { - }).prototype = Object_ListMixin$36.prototype; - dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(E)); - class ListBase extends Object_ListMixin$36 { - static listToString(list) { - if (list == null) dart.nullFailed(I[24], 42, 35, "list"); - return collection.IterableBase.iterableToFullString(list, "[", "]"); - } - } - (ListBase.new = function() { - ; - }).prototype = ListBase.prototype; - dart.addTypeTests(ListBase); - ListBase.prototype[_is_ListBase_default] = true; - dart.addTypeCaches(ListBase); - 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 __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[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[23], 94, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot change the length of an unmodifiable list")); - } - set first(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - set last(element) { - E.as(element); - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - setAll(at, 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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to an unmodifiable list")); - } - insert(index, element) { - 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[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) { - __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[23], 138, 25, "test"); - dart.throw(new core.UnsupportedError.new("Cannot remove from an unmodifiable list")); - } - retainWhere(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) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot modify an unmodifiable list")); - } - clear() { - dart.throw(new core.UnsupportedError.new("Cannot clear an unmodifiable list")); - } - removeAt(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[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[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[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[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]() { - return new dart.JsIterator(this[$iterator]); - } - } - (UnmodifiableListMixin.new = function() { - ; - }).prototype = UnmodifiableListMixin.prototype; - UnmodifiableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(UnmodifiableListMixin); - UnmodifiableListMixin.prototype[_is_UnmodifiableListMixin_default] = true; - dart.addTypeCaches(UnmodifiableListMixin); - UnmodifiableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(UnmodifiableListMixin.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListMixin, () => ({ - __proto__: dart.getSetters(UnmodifiableListMixin.__proto__), - length: core.int, - [$length]: core.int, - first: dart.nullable(core.Object), - [$first]: dart.nullable(core.Object), - last: dart.nullable(core.Object), - [$last]: dart.nullable(core.Object) - })); - dart.setLibraryUri(UnmodifiableListMixin, I[26]); - dart.defineExtensionMethods(UnmodifiableListMixin, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListMixin, ['length', 'first', 'last']); - return UnmodifiableListMixin; -}); -_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 __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[23], 208, 16, "newLength"); - return super.length = newLength; - } - set first(element) { - E.as(element); - return super.first = element; - } - get first() { - return super.first; - } - set last(element) { - E.as(element); - return super.last = element; - } - get last() { - return super.last; - } - _set(index, value$) { - let value = value$; - 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[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) { - E.as(value); - return super.add(value); - } - insert(index, element) { - 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[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) { - __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[23], 208, 16, "test"); - return super.removeWhere(test); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[23], 208, 16, "test"); - return super.retainWhere(test); - } - sort(compare = null) { - return super.sort(compare); - } - shuffle(random = null) { - return super.shuffle(random); - } - clear() { - return super.clear(); - } - removeAt(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[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[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[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[23], 208, 16, "start"); - if (end == null) dart.nullFailed(I[23], 208, 16, "end"); - __t$EN().as(fillValue); - return super.fillRange(start, end, fillValue); - } - } - (UnmodifiableListBase.new = function() { - ; - }).prototype = UnmodifiableListBase.prototype; - dart.addTypeTests(UnmodifiableListBase); - UnmodifiableListBase.prototype[_is_UnmodifiableListBase_default] = true; - dart.addTypeCaches(UnmodifiableListBase); - dart.setMethodSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getMethods(UnmodifiableListBase.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(UnmodifiableListBase, () => ({ - __proto__: dart.getSetters(UnmodifiableListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListBase, I[26]); - dart.defineExtensionMethods(UnmodifiableListBase, [ - '_set', - 'setAll', - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'sort', - 'shuffle', - 'clear', - 'removeAt', - 'removeLast', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(UnmodifiableListBase, ['length', 'first', 'last']); - return UnmodifiableListBase; -}); -_internal.UnmodifiableListBase = _internal.UnmodifiableListBase$(); -dart.addTypeTests(_internal.UnmodifiableListBase, _is_UnmodifiableListBase_default); -core.num = class num extends core.Object { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.num); - } - static parse(input, onError = null) { - 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 t21; - if (input == null) dart.nullFailed(I[27], 600, 31, "input"); - let source = input[$trim](); - t21 = core.int.tryParse(source); - return t21 == null ? core.double.tryParse(source) : t21; - } -}; -(core.num.new = function() { - ; -}).prototype = core.num.prototype; -dart.addTypeCaches(core.num); -core.num[dart.implements] = () => [core.Comparable$(core.num)]; -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; - } - static as(o) { - if (typeof o == "number" && Math.floor(o) == o) { - return o; - } - return dart.as(o, core.int); - } - static fromEnvironment(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"); - 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], 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}); - if (value != null) return value; - if (onError != null) return onError(source); - dart.throw(new core.FormatException.new(source)); - } - static tryParse(source, opts) { - 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.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; - } - set length(value) { - super.length = value; - } - _get(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[22], 97, 36, "u"); - return u[_string$]; - } -}; -(_internal.CodeUnits.new = function(_string) { - if (_string == null) dart.nullFailed(I[22], 92, 18, "_string"); - this[_string$] = _string; - ; -}).prototype = _internal.CodeUnits.prototype; -dart.addTypeTests(_internal.CodeUnits); -dart.addTypeCaches(_internal.CodeUnits); -dart.setMethodSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getMethods(_internal.CodeUnits.__proto__), - _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[26]); -dart.setFieldSignature(_internal.CodeUnits, () => ({ - __proto__: dart.getFields(_internal.CodeUnits.__proto__), - [_string$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_internal.CodeUnits, ['_get']); -dart.defineExtensionAccessors(_internal.CodeUnits, ['length']); -var name$5 = dart.privateName(_internal, "ExternalName.name"); -_internal.ExternalName = class ExternalName extends core.Object { - get name() { - return this[name$5]; - } - 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[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[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[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[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, 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, 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, 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, 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - return _internal.SystemHash.finish(hash); - } - 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); - hash = _internal.SystemHash.combine(hash, v4); - hash = _internal.SystemHash.combine(hash, v5); - hash = _internal.SystemHash.combine(hash, v6); - hash = _internal.SystemHash.combine(hash, v7); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - return _internal.SystemHash.finish(hash); - } - 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); - 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); - 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[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; - x = (dart.notNull(x) * 2221713035 & 4294967295) >>> 0; - 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.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() { - return this[version$]; - } - 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[22], 745, 20, "version"); - this[version$] = version; - ; -}).prototype = _internal.Since.prototype; -dart.addTypeTests(_internal.Since); -dart.addTypeCaches(_internal.Since); -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); - } - if (typeof object == 'string') { - return core.Error._stringToSafeString(object); - } - return core.Error._objectToString(object); - } - static _stringToSafeString(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], 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[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 '" + dart.str(this[_name$]) + "' of type '" + dart.str(dart.wrapType(T)) + "'"; - } - } - (NotNullableError.new = function(_name) { - if (_name == null) dart.nullFailed(I[22], 768, 25, "_name"); - this[_name$] = _name; - NotNullableError.__proto__.new.call(this); - ; - }).prototype = NotNullableError.prototype; - dart.addTypeTests(NotNullableError); - NotNullableError.prototype[_is_NotNullableError_default] = true; - dart.addTypeCaches(NotNullableError); - NotNullableError[dart.implements] = () => [core.TypeError]; - dart.setLibraryUri(NotNullableError, I[26]); - dart.setFieldSignature(NotNullableError, () => ({ - __proto__: dart.getFields(NotNullableError.__proto__), - [_name$]: dart.finalFieldType(core.String) - })); - dart.defineExtensionMethods(NotNullableError, ['toString']); - return NotNullableError; -}); -_internal.NotNullableError = _internal.NotNullableError$(); -dart.addTypeTests(_internal.NotNullableError, _is_NotNullableError_default); -_internal.HttpStatus = class HttpStatus extends core.Object {}; -(_internal.HttpStatus.new = function() { - ; -}).prototype = _internal.HttpStatus.prototype; -dart.addTypeTests(_internal.HttpStatus); -dart.addTypeCaches(_internal.HttpStatus); -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; - }, - /*_internal.HttpStatus.switchingProtocols*/get switchingProtocols() { - return 101; - }, - /*_internal.HttpStatus.processing*/get processing() { - return 102; - }, - /*_internal.HttpStatus.ok*/get ok() { - return 200; - }, - /*_internal.HttpStatus.created*/get created() { - return 201; - }, - /*_internal.HttpStatus.accepted*/get accepted() { - return 202; - }, - /*_internal.HttpStatus.nonAuthoritativeInformation*/get nonAuthoritativeInformation() { - return 203; - }, - /*_internal.HttpStatus.noContent*/get noContent() { - return 204; - }, - /*_internal.HttpStatus.resetContent*/get resetContent() { - return 205; - }, - /*_internal.HttpStatus.partialContent*/get partialContent() { - return 206; - }, - /*_internal.HttpStatus.multiStatus*/get multiStatus() { - return 207; - }, - /*_internal.HttpStatus.alreadyReported*/get alreadyReported() { - return 208; - }, - /*_internal.HttpStatus.imUsed*/get imUsed() { - return 226; - }, - /*_internal.HttpStatus.multipleChoices*/get multipleChoices() { - return 300; - }, - /*_internal.HttpStatus.movedPermanently*/get movedPermanently() { - return 301; - }, - /*_internal.HttpStatus.found*/get found() { - return 302; - }, - /*_internal.HttpStatus.movedTemporarily*/get movedTemporarily() { - return 302; - }, - /*_internal.HttpStatus.seeOther*/get seeOther() { - return 303; - }, - /*_internal.HttpStatus.notModified*/get notModified() { - return 304; - }, - /*_internal.HttpStatus.useProxy*/get useProxy() { - return 305; - }, - /*_internal.HttpStatus.temporaryRedirect*/get temporaryRedirect() { - return 307; - }, - /*_internal.HttpStatus.permanentRedirect*/get permanentRedirect() { - return 308; - }, - /*_internal.HttpStatus.badRequest*/get badRequest() { - return 400; - }, - /*_internal.HttpStatus.unauthorized*/get unauthorized() { - return 401; - }, - /*_internal.HttpStatus.paymentRequired*/get paymentRequired() { - return 402; - }, - /*_internal.HttpStatus.forbidden*/get forbidden() { - return 403; - }, - /*_internal.HttpStatus.notFound*/get notFound() { - return 404; - }, - /*_internal.HttpStatus.methodNotAllowed*/get methodNotAllowed() { - return 405; - }, - /*_internal.HttpStatus.notAcceptable*/get notAcceptable() { - return 406; - }, - /*_internal.HttpStatus.proxyAuthenticationRequired*/get proxyAuthenticationRequired() { - return 407; - }, - /*_internal.HttpStatus.requestTimeout*/get requestTimeout() { - return 408; - }, - /*_internal.HttpStatus.conflict*/get conflict() { - return 409; - }, - /*_internal.HttpStatus.gone*/get gone() { - return 410; - }, - /*_internal.HttpStatus.lengthRequired*/get lengthRequired() { - return 411; - }, - /*_internal.HttpStatus.preconditionFailed*/get preconditionFailed() { - return 412; - }, - /*_internal.HttpStatus.requestEntityTooLarge*/get requestEntityTooLarge() { - return 413; - }, - /*_internal.HttpStatus.requestUriTooLong*/get requestUriTooLong() { - return 414; - }, - /*_internal.HttpStatus.unsupportedMediaType*/get unsupportedMediaType() { - return 415; - }, - /*_internal.HttpStatus.requestedRangeNotSatisfiable*/get requestedRangeNotSatisfiable() { - return 416; - }, - /*_internal.HttpStatus.expectationFailed*/get expectationFailed() { - return 417; - }, - /*_internal.HttpStatus.misdirectedRequest*/get misdirectedRequest() { - return 421; - }, - /*_internal.HttpStatus.unprocessableEntity*/get unprocessableEntity() { - return 422; - }, - /*_internal.HttpStatus.locked*/get locked() { - return 423; - }, - /*_internal.HttpStatus.failedDependency*/get failedDependency() { - return 424; - }, - /*_internal.HttpStatus.upgradeRequired*/get upgradeRequired() { - return 426; - }, - /*_internal.HttpStatus.preconditionRequired*/get preconditionRequired() { - return 428; - }, - /*_internal.HttpStatus.tooManyRequests*/get tooManyRequests() { - return 429; - }, - /*_internal.HttpStatus.requestHeaderFieldsTooLarge*/get requestHeaderFieldsTooLarge() { - return 431; - }, - /*_internal.HttpStatus.connectionClosedWithoutResponse*/get connectionClosedWithoutResponse() { - return 444; - }, - /*_internal.HttpStatus.unavailableForLegalReasons*/get unavailableForLegalReasons() { - return 451; - }, - /*_internal.HttpStatus.clientClosedRequest*/get clientClosedRequest() { - return 499; - }, - /*_internal.HttpStatus.internalServerError*/get internalServerError() { - return 500; - }, - /*_internal.HttpStatus.notImplemented*/get notImplemented() { - return 501; - }, - /*_internal.HttpStatus.badGateway*/get badGateway() { - return 502; - }, - /*_internal.HttpStatus.serviceUnavailable*/get serviceUnavailable() { - return 503; - }, - /*_internal.HttpStatus.gatewayTimeout*/get gatewayTimeout() { - return 504; - }, - /*_internal.HttpStatus.httpVersionNotSupported*/get httpVersionNotSupported() { - return 505; - }, - /*_internal.HttpStatus.variantAlsoNegotiates*/get variantAlsoNegotiates() { - return 506; - }, - /*_internal.HttpStatus.insufficientStorage*/get insufficientStorage() { - return 507; - }, - /*_internal.HttpStatus.loopDetected*/get loopDetected() { - return 508; - }, - /*_internal.HttpStatus.notExtended*/get notExtended() { - return 510; - }, - /*_internal.HttpStatus.networkAuthenticationRequired*/get networkAuthenticationRequired() { - return 511; - }, - /*_internal.HttpStatus.networkConnectTimeoutError*/get networkConnectTimeoutError() { - return 599; - }, - /*_internal.HttpStatus.CONTINUE*/get CONTINUE() { - return 100; - }, - /*_internal.HttpStatus.SWITCHING_PROTOCOLS*/get SWITCHING_PROTOCOLS() { - return 101; - }, - /*_internal.HttpStatus.OK*/get OK() { - return 200; - }, - /*_internal.HttpStatus.CREATED*/get CREATED() { - return 201; - }, - /*_internal.HttpStatus.ACCEPTED*/get ACCEPTED() { - return 202; - }, - /*_internal.HttpStatus.NON_AUTHORITATIVE_INFORMATION*/get NON_AUTHORITATIVE_INFORMATION() { - return 203; - }, - /*_internal.HttpStatus.NO_CONTENT*/get NO_CONTENT() { - return 204; - }, - /*_internal.HttpStatus.RESET_CONTENT*/get RESET_CONTENT() { - return 205; - }, - /*_internal.HttpStatus.PARTIAL_CONTENT*/get PARTIAL_CONTENT() { - return 206; - }, - /*_internal.HttpStatus.MULTIPLE_CHOICES*/get MULTIPLE_CHOICES() { - return 300; - }, - /*_internal.HttpStatus.MOVED_PERMANENTLY*/get MOVED_PERMANENTLY() { - return 301; - }, - /*_internal.HttpStatus.FOUND*/get FOUND() { - return 302; - }, - /*_internal.HttpStatus.MOVED_TEMPORARILY*/get MOVED_TEMPORARILY() { - return 302; - }, - /*_internal.HttpStatus.SEE_OTHER*/get SEE_OTHER() { - return 303; - }, - /*_internal.HttpStatus.NOT_MODIFIED*/get NOT_MODIFIED() { - return 304; - }, - /*_internal.HttpStatus.USE_PROXY*/get USE_PROXY() { - return 305; - }, - /*_internal.HttpStatus.TEMPORARY_REDIRECT*/get TEMPORARY_REDIRECT() { - return 307; - }, - /*_internal.HttpStatus.BAD_REQUEST*/get BAD_REQUEST() { - return 400; - }, - /*_internal.HttpStatus.UNAUTHORIZED*/get UNAUTHORIZED() { - return 401; - }, - /*_internal.HttpStatus.PAYMENT_REQUIRED*/get PAYMENT_REQUIRED() { - return 402; - }, - /*_internal.HttpStatus.FORBIDDEN*/get FORBIDDEN() { - return 403; - }, - /*_internal.HttpStatus.NOT_FOUND*/get NOT_FOUND() { - return 404; - }, - /*_internal.HttpStatus.METHOD_NOT_ALLOWED*/get METHOD_NOT_ALLOWED() { - return 405; - }, - /*_internal.HttpStatus.NOT_ACCEPTABLE*/get NOT_ACCEPTABLE() { - return 406; - }, - /*_internal.HttpStatus.PROXY_AUTHENTICATION_REQUIRED*/get PROXY_AUTHENTICATION_REQUIRED() { - return 407; - }, - /*_internal.HttpStatus.REQUEST_TIMEOUT*/get REQUEST_TIMEOUT() { - return 408; - }, - /*_internal.HttpStatus.CONFLICT*/get CONFLICT() { - return 409; - }, - /*_internal.HttpStatus.GONE*/get GONE() { - return 410; - }, - /*_internal.HttpStatus.LENGTH_REQUIRED*/get LENGTH_REQUIRED() { - return 411; - }, - /*_internal.HttpStatus.PRECONDITION_FAILED*/get PRECONDITION_FAILED() { - return 412; - }, - /*_internal.HttpStatus.REQUEST_ENTITY_TOO_LARGE*/get REQUEST_ENTITY_TOO_LARGE() { - return 413; - }, - /*_internal.HttpStatus.REQUEST_URI_TOO_LONG*/get REQUEST_URI_TOO_LONG() { - return 414; - }, - /*_internal.HttpStatus.UNSUPPORTED_MEDIA_TYPE*/get UNSUPPORTED_MEDIA_TYPE() { - return 415; - }, - /*_internal.HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE*/get REQUESTED_RANGE_NOT_SATISFIABLE() { - return 416; - }, - /*_internal.HttpStatus.EXPECTATION_FAILED*/get EXPECTATION_FAILED() { - return 417; - }, - /*_internal.HttpStatus.UPGRADE_REQUIRED*/get UPGRADE_REQUIRED() { - return 426; - }, - /*_internal.HttpStatus.INTERNAL_SERVER_ERROR*/get INTERNAL_SERVER_ERROR() { - return 500; - }, - /*_internal.HttpStatus.NOT_IMPLEMENTED*/get NOT_IMPLEMENTED() { - return 501; - }, - /*_internal.HttpStatus.BAD_GATEWAY*/get BAD_GATEWAY() { - return 502; - }, - /*_internal.HttpStatus.SERVICE_UNAVAILABLE*/get SERVICE_UNAVAILABLE() { - return 503; - }, - /*_internal.HttpStatus.GATEWAY_TIMEOUT*/get GATEWAY_TIMEOUT() { - return 504; - }, - /*_internal.HttpStatus.HTTP_VERSION_NOT_SUPPORTED*/get HTTP_VERSION_NOT_SUPPORTED() { - return 505; - }, - /*_internal.HttpStatus.NETWORK_CONNECT_TIMEOUT_ERROR*/get NETWORK_CONNECT_TIMEOUT_ERROR() { - 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"); -var _addError = dart.privateName(async, "_addError"); -var _completeError = dart.privateName(async, "_completeError"); -var _complete = dart.privateName(async, "_complete"); -var _sink$ = dart.privateName(async, "_sink"); -async.Stream$ = dart.generic(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 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 t22, t21; - if (error == null) dart.nullFailed(I[30], 212, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - 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[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); - controller[_closeUnchecked](); - }, dart.fnType(core.Null, [T])), {onError: dart.fn((error, stackTrace) => { - controller[_addError](core.Object.as(error), core.StackTrace.as(stackTrace)); - controller[_closeUnchecked](); - }, 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[30], 291, 50, "futures"); - let controller = new (async._SyncStreamController$(T)).new(null, null, null, null); - let count = 0; - function onValue(value) { - if (!dart.test(controller.isClosed)) { - controller[_add](value); - if ((count = count - 1) === 0) controller[_closeUnchecked](); - } - } - dart.fn(onValue, dart.fnType(dart.void, [T])); - function onError(error, 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](); - } - } - dart.fn(onError, T$.ObjectAndStackTraceTovoid()); - for (let future of futures) { - count = count + 1; - future.then(dart.void, onValue, {onError: onError}); - } - 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[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[30], 461, 64, "onListen"); - let isBroadcast = opts && 'isBroadcast' in opts ? opts.isBroadcast : false; - 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[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 t25; - let computationCount = 0; - function sendEvent(_) { - let t24; - watch.reset(); - if (computation != null) { - let event = null; - try { - event = computation((t24 = computationCount, computationCount = t24 + 1, t24)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - controller.add(event); - } else { - controller.add(T.as(null)); - } - } - dart.fn(sendEvent, T$.dynamicTovoid()); - let timer = async.Timer.periodic(period, sendEvent); - t25 = controller; - (() => { - t25.onCancel = dart.fn(() => { - timer.cancel(); - return async.Future._nullFuture; - }, T$.VoidTo_FutureOfNull()); - t25.onPause = dart.fn(() => { - watch.stop(); - timer.cancel(); - }, T$.VoidTovoid()); - t25.onResume = dart.fn(() => { - let elapsed = watch.elapsed; - watch.start(); - timer = async.Timer.new(period['-'](elapsed), dart.fn(() => { - timer = async.Timer.periodic(period, sendEvent); - sendEvent(null); - }, T$.VoidTovoid())); - }, T$.VoidTovoid()); - return t25; - })(); - }, T$.VoidTovoid()); - return controller.stream; - } - static eventTransformed(source, 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[30], 585, 45, "source"); - return new (_internal.CastStream$(S, T)).new(source); - } - get isBroadcast() { - return false; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return new (__t$_AsBroadcastStreamOfT()).new(this, onListen, onCancel); - } - where(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[30], 769, 22, "convert"); - return new (async._MapStream$(T, S)).new(this, convert); - } - asyncMap(E, 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); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - let t26; - let subscription = this.listen(null, {onError: dart.bind(controller, _addError), onDone: dart.bind(controller, 'close')}); - function add(value) { - controller.add(value); - } - dart.fn(add, dart.fnType(T$.FutureNOfNull(), [E])); - let addError = dart.bind(controller, _addError); - let resume = dart.bind(subscription, 'resume'); - subscription.onData(dart.fn(event => { - let newValue = null; - try { - newValue = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (async.Future$(E).is(newValue)) { - subscription.pause(); - newValue.then(core.Null, add, {onError: addError}).whenComplete(resume); - } else { - controller.add(E.as(newValue)); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t26 = controller; - (() => { - 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[30], 841, 39, "convert"); - let controller = null; - if (dart.test(this.isBroadcast)) { - controller = new (async._SyncBroadcastStreamController$(E)).new(null, null); - } else { - controller = new (async._SyncStreamController$(E)).new(null, null, null, null); - } - controller.onListen = dart.fn(() => { - 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; - try { - newStream = convert(event); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - controller.addError(e, s); - return; - } else - throw e$; - } - if (newStream != null) { - subscription.pause(); - controller.addStream(newStream).whenComplete(dart.bind(subscription, 'resume')); - } - }, __t$TTovoid())); - controller.onCancel = dart.bind(subscription, 'cancel'); - if (!dart.test(this.isBroadcast)) { - t27 = controller; - (() => { - 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[30], 923, 34, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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[30], 958, 35, "convert"); - return new (async._ExpandStream$(T, S)).new(this, convert); - } - pipe(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[30], 1005, 50, "streamTransformer"); - return streamTransformer.bind(this); - } - reduce(combine) { - __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")); - } - function value$35set(value$35param) { - value$35isSet = true; - return value = value$35param; - } - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - if (!seenFirst) { - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } else { - result[_complete](value$35get()); - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - if (seenFirst) { - async._runUserCode(T, dart.fn(() => combine(value$35get(), element), __t$VoidToT()), dart.fn(newValue => { - value$35set(newValue); - }, __t$TToNull()), async._cancelAndErrorClosure(subscription, result)); - } else { - value$35set(element); - seenFirst = true; - } - }, __t$TTovoid())); - return result; - } - fold(S, initialValue, 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(() => { - result[_complete](value); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - 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)); - }, __t$TTovoid())); - return result; - } - join(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; - let subscription = this.listen(null, {onError: dart.bind(result, _completeError), onDone: dart.fn(() => { - result[_complete](buffer.toString()); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(separator[$isEmpty] ? dart.fn(element => { - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid()) : dart.fn(element => { - if (!first) { - buffer.write(separator); - } - first = false; - try { - buffer.write(element); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, result, e, s); - } else - throw e$; - } - }, __t$TTovoid())); - return result; - } - contains(needle) { - 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(() => dart.equals(element, needle), T$.VoidTobool()), dart.fn(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)); - }, __t$TTovoid())); - return future; - } - forEach(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); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(element => { - async._runUserCode(dart.void, dart.fn(() => action(element), T$.VoidTovoid()), dart.fn(_ => { - }, T$.voidToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - every(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[30], 1233, 47, "isMatch"); - if (!dart.test(isMatch)) { - async._cancelAndValue(subscription, future, false); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - any(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[30], 1271, 47, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, true); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - get length() { - let future = new (T$._FutureOfint()).new(); - let count = 0; - this.listen(dart.fn(_ => { - count = count + 1; - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](count); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get isEmpty() { - 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(_ => { - async._cancelAndValue(subscription, future, false); - }, __t$TTovoid())); - return future; - } - cast(R) { - return async.Stream.castFrom(T, R, this); - } - toList() { - let result = __t$JSArrayOfT().of([]); - let future = new (__t$_FutureOfListOfT()).new(); - this.listen(dart.fn(data => { - result[$add](data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - toSet() { - let result = new (__t$_HashSetOfT()).new(); - let future = new (__t$_FutureOfSetOfT()).new(); - this.listen(dart.fn(data => { - result.add(data); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - future[_complete](result); - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - drain(E, futureValue = null) { - if (futureValue == null) { - futureValue = E.as(futureValue); - } - return this.listen(null, {cancelOnError: true}).asFuture(E, futureValue); - } - take(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[30], 1475, 28, "test"); - return new (__t$_TakeWhileStreamOfT()).new(this, test); - } - skip(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[30], 1527, 28, "test"); - return new (__t$_SkipWhileStreamOfT()).new(this, test); - } - distinct(equals = null) { - return new (__t$_DistinctStreamOfT()).new(this, equals); - } - get first() { - 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()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - async._cancelAndValue(subscription, future, value); - }, __t$TTovoid())); - return future; - } - get last() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - this.listen(dart.fn(value => { - foundResult = true; - result$35set(value); - }, __t$TTovoid()), {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - return future; - } - get single() { - 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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - }, __t$TTovoid())); - return future; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1699, 29, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1716, 45, "isMatch"); - if (dart.test(isMatch)) { - async._cancelAndValue(subscription, future, value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1745, 28, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1767, 45, "isMatch"); - if (dart.test(isMatch)) { - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[30], 1796, 30, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundResult = false; - let subscription = this.listen(null, {onError: dart.bind(future, _completeError), onDone: dart.fn(() => { - if (foundResult) { - future[_complete](result$35get()); - return; - } - if (orElse != null) { - async._runUserCode(T, orElse, __t$FutureOrOfTTovoid().as(dart.bind(future, _complete)), dart.bind(future, _completeError)); - return; - } - try { - dart.throw(_internal.IterableElementError.noElement()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(future, e, s); - } else - throw e$; - } - }, 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[30], 1818, 45, "isMatch"); - if (dart.test(isMatch)) { - if (foundResult) { - try { - dart.throw(_internal.IterableElementError.tooMany()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._cancelAndErrorWithReplacement(subscription, future, e, s); - } else - throw e$; - } - return; - } - foundResult = true; - result$35set(value); - } - }, T$.boolToNull()), async._cancelAndErrorClosure(subscription, future)); - }, __t$TTovoid())); - return future; - } - elementAt(index) { - if (index == null) dart.nullFailed(I[30], 1850, 27, "index"); - core.RangeError.checkNotNegative(index, "index"); - 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.withLength(index, elementIndex, {indexable: this, name: "index"}), core.StackTrace.empty); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.onData(dart.fn(value => { - if (index === elementIndex) { - async._cancelAndValue(subscription, result, value); - return; - } - elementIndex = elementIndex + 1; - }, __t$TTovoid())); - return result; - } - timeout(timeLimit, opts) { - 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 (__t$_SyncBroadcastStreamControllerOfT()).new(null, null); - } else { - controller = new (__t$_SyncStreamControllerOfT()).new(null, null, null, null); - } - let zone = async.Zone.current; - let timeoutCallback = null; - if (onTimeout == null) { - timeoutCallback = dart.fn(() => { - controller.addError(new async.TimeoutException.new("No stream event", timeLimit), null); - }, T$.VoidTovoid()); - } else { - let registeredOnTimeout = zone.registerUnaryCallback(dart.void, __t$EventSinkOfT(), onTimeout); - let wrapper = new (__t$_ControllerEventSinkWrapperOfT()).new(null); - timeoutCallback = dart.fn(() => { - wrapper[_sink$] = controller; - zone.runUnaryGuarded(__t$_ControllerEventSinkWrapperOfT(), registeredOnTimeout, wrapper); - wrapper[_sink$] = null; - }, T$.VoidTovoid()); - } - controller.onListen = dart.fn(() => { - let t58, t58$; - let timer = zone.createTimer(timeLimit, timeoutCallback); - let subscription = this.listen(null); - t58 = subscription; - (() => { - t58.onData(dart.fn(event => { - timer.cancel(); - timer = zone.createTimer(timeLimit, timeoutCallback); - controller.add(event); - }, __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())); - t58.onDone(dart.fn(() => { - timer.cancel(); - controller.close(); - }, T$.VoidTovoid())); - return t58; - })(); - controller.onCancel = dart.fn(() => { - timer.cancel(); - return subscription.cancel(); - }, T$.VoidToFutureOfvoid()); - if (!dart.test(this.isBroadcast)) { - t58$ = controller; - (() => { - t58$.onPause = dart.fn(() => { - timer.cancel(); - subscription.pause(); - }, T$.VoidTovoid()); - t58$.onResume = dart.fn(() => { - subscription.resume(); - timer = zone.createTimer(timeLimit, timeoutCallback); - }, T$.VoidTovoid()); - return t58$; - })(); - } - }, T$.VoidTovoid()); - return controller.stream; - } - } - (Stream.new = function() { - ; - }).prototype = Stream.prototype; - (Stream._internal = function() { - ; - }).prototype = Stream.prototype; - dart.addTypeTests(Stream); - Stream.prototype[dart.isStream] = true; - dart.addTypeCaches(Stream); - dart.setMethodSignature(Stream, () => ({ - __proto__: dart.getMethods(Stream.__proto__), - asBroadcastStream: dart.fnType(async.Stream$(T), [], {onCancel: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)])), onListen: dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))}, {}), - where: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - map: dart.gFnType(S => [async.Stream$(S), [dart.fnType(S, [T])]], S => [dart.nullable(core.Object)]), - asyncMap: dart.gFnType(E => [async.Stream$(E), [dart.fnType(async.FutureOr$(E), [T])]], E => [dart.nullable(core.Object)]), - asyncExpand: dart.gFnType(E => [async.Stream$(E), [dart.fnType(dart.nullable(async.Stream$(E)), [T])]], E => [dart.nullable(core.Object)]), - handleError: dart.fnType(async.Stream$(T), [core.Function], {test: dart.nullable(dart.fnType(core.bool, [dart.dynamic]))}, {}), - expand: dart.gFnType(S => [async.Stream$(S), [dart.fnType(core.Iterable$(S), [T])]], S => [dart.nullable(core.Object)]), - pipe: dart.fnType(async.Future, [dart.nullable(core.Object)]), - transform: dart.gFnType(S => [async.Stream$(S), [dart.nullable(core.Object)]], S => [dart.nullable(core.Object)]), - reduce: dart.fnType(async.Future$(T), [dart.nullable(core.Object)]), - fold: dart.gFnType(S => [async.Future$(S), [S, dart.fnType(S, [S, T])]], S => [dart.nullable(core.Object)]), - join: dart.fnType(async.Future$(core.String), [], [core.String]), - contains: dart.fnType(async.Future$(core.bool), [dart.nullable(core.Object)]), - forEach: dart.fnType(async.Future, [dart.fnType(dart.void, [T])]), - every: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - any: dart.fnType(async.Future$(core.bool), [dart.fnType(core.bool, [T])]), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]), - toList: dart.fnType(async.Future$(core.List$(T)), []), - toSet: dart.fnType(async.Future$(core.Set$(T)), []), - drain: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - take: dart.fnType(async.Stream$(T), [core.int]), - takeWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - skip: dart.fnType(async.Stream$(T), [core.int]), - skipWhile: dart.fnType(async.Stream$(T), [dart.fnType(core.bool, [T])]), - distinct: dart.fnType(async.Stream$(T), [], [dart.nullable(dart.fnType(core.bool, [T, T]))]), - firstWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(async.Future$(T), [dart.fnType(core.bool, [T])], {orElse: dart.nullable(core.Object)}, {}), - 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, - length: async.Future$(core.int), - isEmpty: async.Future$(core.bool), - first: async.Future$(T), - last: async.Future$(T), - single: async.Future$(T) - })); - 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 __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 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; - t21 = new (__t$CastStreamSubscriptionOfS$T()).new(this[_source$].listen(null, {onDone: onDone, cancelOnError: cancelOnError})); - return (() => { - t21.onData(onData); - t21.onError(onError); - return t21; - })(); - } - cast(R) { - return new (_internal.CastStream$(S, R)).new(this[_source$]); - } - } - (CastStream.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 11, 19, "_source"); - this[_source$] = _source; - CastStream.__proto__.new.call(this); - ; - }).prototype = CastStream.prototype; - dart.addTypeTests(CastStream); - CastStream.prototype[_is_CastStream_default] = true; - dart.addTypeCaches(CastStream); - dart.setMethodSignature(CastStream, () => ({ - __proto__: dart.getMethods(CastStream.__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)}, {}), - cast: dart.gFnType(R => [async.Stream$(R), []], R => [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastStream, I[26]); - dart.setFieldSignature(CastStream, () => ({ - __proto__: dart.getFields(CastStream.__proto__), - [_source$]: dart.finalFieldType(async.Stream$(S)) - })); - return CastStream; -}); -_internal.CastStream = _internal.CastStream$(); -dart.addTypeTests(_internal.CastStream, _is_CastStream_default); -var _zone = dart.privateName(_internal, "_zone"); -var _handleData = dart.privateName(_internal, "_handleData"); -var _handleError = dart.privateName(_internal, "_handleError"); -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(); - } - onData(handleData) { - this[_handleData] = handleData == null ? null : this[_zone].registerUnaryCallback(dart.dynamic, T, handleData); - } - onError(handleError) { - this[_source$].onError(handleError); - if (handleError == null) { - this[_handleError] = null; - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerBinaryCallback(dart.dynamic, core.Object, core.StackTrace, handleError); - } else if (T$.ObjectTovoid().is(handleError)) { - this[_handleError] = this[_zone].registerUnaryCallback(dart.dynamic, core.Object, handleError); - } else { - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - } - onDone(handleDone) { - this[_source$].onDone(handleDone); - } - [_onData](data) { - S.as(data); - if (this[_handleData] == null) return; - let targetData = null; - try { - targetData = T.as(data); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - let handleError = this[_handleError]; - if (handleError == null) { - this[_zone].handleUncaughtError(error, stack); - } else if (T$.ObjectAndStackTraceTovoid().is(handleError)) { - this[_zone].runBinaryGuarded(core.Object, core.StackTrace, handleError, error, stack); - } else { - this[_zone].runUnaryGuarded(core.Object, T$.ObjectTovoid().as(handleError), error); - } - return; - } else - throw e; - } - this[_zone].runUnaryGuarded(T, dart.nullCheck(this[_handleData]), targetData); - } - pause(resumeSignal = null) { - this[_source$].pause(resumeSignal); - } - resume() { - this[_source$].resume(); - } - get isPaused() { - return this[_source$].isPaused; - } - asFuture(E, futureValue = null) { - return this[_source$].asFuture(E, futureValue); - } - } - (CastStreamSubscription.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 37, 31, "_source"); - this[_zone] = async.Zone.current; - this[_handleData] = null; - this[_handleError] = null; - this[_source$] = _source; - this[_source$].onData(dart.bind(this, _onData)); - }).prototype = CastStreamSubscription.prototype; - CastStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(CastStreamSubscription); - CastStreamSubscription.prototype[_is_CastStreamSubscription_default] = true; - dart.addTypeCaches(CastStreamSubscription); - CastStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(CastStreamSubscription, () => ({ - __proto__: dart.getMethods(CastStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - [_onData]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(CastStreamSubscription, () => ({ - __proto__: dart.getGetters(CastStreamSubscription.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(CastStreamSubscription, I[26]); - dart.setFieldSignature(CastStreamSubscription, () => ({ - __proto__: dart.getFields(CastStreamSubscription.__proto__), - [_source$]: dart.finalFieldType(async.StreamSubscription$(S)), - [_zone]: dart.finalFieldType(async.Zone), - [_handleData]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [T]))), - [_handleError]: dart.fieldType(dart.nullable(core.Function)) - })); - return CastStreamSubscription; -}); -_internal.CastStreamSubscription = _internal.CastStreamSubscription$(); -dart.addTypeTests(_internal.CastStreamSubscription, _is_CastStreamSubscription_default); -const _is_StreamTransformerBase_default = Symbol('_is_StreamTransformerBase_default'); -async.StreamTransformerBase$ = dart.generic((S, T) => { - class StreamTransformerBase extends core.Object { - cast(RS, RT) { - return async.StreamTransformer.castFrom(S, T, RS, RT, this); - } - } - (StreamTransformerBase.new = function() { - ; - }).prototype = StreamTransformerBase.prototype; - dart.addTypeTests(StreamTransformerBase); - StreamTransformerBase.prototype[_is_StreamTransformerBase_default] = true; - dart.addTypeCaches(StreamTransformerBase); - StreamTransformerBase[dart.implements] = () => [async.StreamTransformer$(S, T)]; - dart.setMethodSignature(StreamTransformerBase, () => ({ - __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[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 __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) { - __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[29], 104, 30, "_source"); - this[_source$] = _source; - CastStreamTransformer.__proto__.new.call(this); - ; - }).prototype = CastStreamTransformer.prototype; - dart.addTypeTests(CastStreamTransformer); - CastStreamTransformer.prototype[_is_CastStreamTransformer_default] = true; - dart.addTypeCaches(CastStreamTransformer); - dart.setMethodSignature(CastStreamTransformer, () => ({ - __proto__: dart.getMethods(CastStreamTransformer.__proto__), - 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[26]); - dart.setFieldSignature(CastStreamTransformer, () => ({ - __proto__: dart.getFields(CastStreamTransformer.__proto__), - [_source$]: dart.finalFieldType(async.StreamTransformer$(SS, ST)) - })); - return CastStreamTransformer; -}); -_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 __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[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[32], 31, 46, "other"); - return new (convert._FusedConverter$(S, T, TT)).new(this, other); - } - startChunkedConversion(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) { - __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())); - } - cast(RS, RT) { - return convert.Converter.castFrom(S, T, RS, RT, this); - } - } - (Converter.new = function() { - Converter.__proto__.new.call(this); - ; - }).prototype = Converter.prototype; - dart.addTypeTests(Converter); - Converter.prototype[_is_Converter_default] = true; - dart.addTypeCaches(Converter); - dart.setMethodSignature(Converter, () => ({ - __proto__: dart.getMethods(Converter.__proto__), - fuse: dart.gFnType(TT => [convert.Converter$(S, TT), [dart.nullable(core.Object)]], TT => [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(core.Sink$(S), [dart.nullable(core.Object)]), - 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.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 __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) { - __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) { - return new (_internal.CastConverter$(SS, ST, RS, RT)).new(this[_source$]); - } - } - (CastConverter.new = function(_source) { - if (_source == null) dart.nullFailed(I[29], 114, 22, "_source"); - this[_source$] = _source; - CastConverter.__proto__.new.call(this); - ; - }).prototype = CastConverter.prototype; - dart.addTypeTests(CastConverter); - CastConverter.prototype[_is_CastConverter_default] = true; - dart.addTypeCaches(CastConverter); - dart.setMethodSignature(CastConverter, () => ({ - __proto__: dart.getMethods(CastConverter.__proto__), - 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[26]); - dart.setFieldSignature(CastConverter, () => ({ - __proto__: dart.getFields(CastConverter.__proto__), - [_source$]: dart.finalFieldType(convert.Converter$(SS, ST)) - })); - return CastConverter; -}); -_internal.CastConverter = _internal.CastConverter$(); -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[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.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[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[34], 96, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer][$setRange](this[_length$], required, bytes); - } else { - for (let i = 0; i < dart.notNull(byteCount); i = i + 1) { - this[_buffer][$_set](dart.notNull(this[_length$]) + i, bytes[$_get](i)); - } - } - this[_length$] = required; - } - addByte(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[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[34], 118, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _internal._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer][$length], this[_buffer]); - this[_buffer] = newBuffer; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$]); - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer][$buffer], this[_buffer][$offsetInBytes], this[_length$])); - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } -}; -(_internal._CopyingBytesBuilder.new = function() { - this[_length$] = 0; - this[_buffer] = _internal._CopyingBytesBuilder._emptyList; - ; -}).prototype = _internal._CopyingBytesBuilder.prototype; -dart.addTypeTests(_internal._CopyingBytesBuilder); -dart.addTypeCaches(_internal._CopyingBytesBuilder); -_internal._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_internal._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - 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[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; - }, - /*_internal._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } -}, false); -var _chunks = dart.privateName(_internal, "_chunks"); -_internal._BytesBuilder = class _BytesBuilder extends core.Object { - add(bytes) { - if (bytes == null) dart.nullFailed(I[34], 181, 22, "bytes"); - let typedBytes = null; - if (typed_data.Uint8List.is(bytes)) { - typedBytes = bytes; - } else { - typedBytes = _native_typed_data.NativeUint8List.fromList(bytes); - } - this[_chunks][$add](typedBytes); - this[_length$] = dart.notNull(this[_length$]) + dart.notNull(typedBytes[$length]); - } - addByte(byte) { - 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; - } - takeBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - if (this[_chunks][$length] === 1) { - let buffer = this[_chunks][$_get](0); - this[_clear](); - return buffer; - } - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - this[_clear](); - return buffer; - } - toBytes() { - if (this[_length$] === 0) return _internal._CopyingBytesBuilder._emptyList; - let buffer = _native_typed_data.NativeUint8List.new(this[_length$]); - let offset = 0; - for (let chunk of this[_chunks]) { - buffer[$setRange](offset, offset + dart.notNull(chunk[$length]), chunk); - offset = offset + dart.notNull(chunk[$length]); - } - return buffer; - } - get length() { - return this[_length$]; - } - get isEmpty() { - return this[_length$] === 0; - } - get isNotEmpty() { - return this[_length$] !== 0; - } - clear() { - this[_clear](); - } - [_clear]() { - this[_length$] = 0; - this[_chunks][$clear](); - } - static ['_#new#tearOff']() { - return new _internal._BytesBuilder.new(); - } -}; -(_internal._BytesBuilder.new = function() { - this[_length$] = 0; - this[_chunks] = T$.JSArrayOfUint8List().of([]); - ; -}).prototype = _internal._BytesBuilder.prototype; -dart.addTypeTests(_internal._BytesBuilder); -dart.addTypeCaches(_internal._BytesBuilder); -_internal._BytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getMethods(_internal._BytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - toBytes: dart.fnType(typed_data.Uint8List, []), - clear: dart.fnType(dart.void, []), - [_clear]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_internal._BytesBuilder, () => ({ - __proto__: dart.getGetters(_internal._BytesBuilder.__proto__), - length: core.int, - isEmpty: core.bool, - isNotEmpty: core.bool -})); -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 __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[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[36], 119, 49, "source"); - return _internal.CastIterable$(S, T).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - cast(R) { - return core.Iterable.castFrom(E, R, this); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[36], 172, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - 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[36], 239, 26, "test"); - return new (__t$WhereIterableOfE()).new(this, test); - } - whereType(T) { - return new (_internal.WhereTypeIterable$(T)).new(this); - } - 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) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[36], 324, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[36], 421, 23, "separator"); - let iterator = this[$iterator]; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.toString(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[36], 450, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[36], 469, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().of(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this[$isEmpty]); - } - take(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[36], 564, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[36], 612, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 676, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 705, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[36], 742, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - } - (Iterable.new = function() { - ; - }).prototype = Iterable.prototype; - dart.addTypeTests(Iterable); - Iterable.prototype[dart.isIterable] = true; - dart.addTypeCaches(Iterable); - dart.setMethodSignature(Iterable, () => ({ - __proto__: dart.getMethods(Iterable.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - 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, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(Iterable, I[9]); - dart.setStaticFieldSignature(Iterable, () => ['_redirecting#']); - dart.defineExtensionMethods(Iterable, [ - 'cast', - 'followedBy', - 'map', - 'where', - 'whereType', - 'expand', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(Iterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return Iterable; -}); -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 __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 (__t$CastIteratorOfS$T()).new(this[_source$][$iterator]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - 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[35], 40, 24, "count"); - return __t$CastIterableOfS$T().new(this[_source$][$take](count)); - } - elementAt(index) { - if (index == null) dart.nullFailed(I[35], 42, 19, "index"); - return T.as(this[_source$][$elementAt](index)); - } - get first() { - return T.as(this[_source$][$first]); - } - get last() { - return T.as(this[_source$][$last]); - } - get single() { - return T.as(this[_source$][$single]); - } - contains(other) { - return this[_source$][$contains](other); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[35], 51, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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$]); - } - } - (_CastIterableBase.new = function() { - _CastIterableBase.__proto__.new.call(this); - ; - }).prototype = _CastIterableBase.prototype; - dart.addTypeTests(_CastIterableBase); - _CastIterableBase.prototype[_is__CastIterableBase_default] = true; - dart.addTypeCaches(_CastIterableBase); - dart.setGetterSignature(_CastIterableBase, () => ({ - __proto__: dart.getGetters(_CastIterableBase.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(_CastIterableBase, I[26]); - dart.defineExtensionMethods(_CastIterableBase, [ - 'skip', - 'take', - 'elementAt', - 'contains', - 'lastWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CastIterableBase, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return _CastIterableBase; -}); -_internal._CastIterableBase = _internal._CastIterableBase$(); -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(); - } - get current() { - return T.as(this[_source$].current); - } - } - (CastIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[35], 60, 21, "_source"); - this[_source$] = _source; - ; - }).prototype = CastIterator.prototype; - dart.addTypeTests(CastIterator); - CastIterator.prototype[_is_CastIterator_default] = true; - dart.addTypeCaches(CastIterator); - CastIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(CastIterator, () => ({ - __proto__: dart.getMethods(CastIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(CastIterator, () => ({ - __proto__: dart.getGetters(CastIterator.__proto__), - current: T - })); - dart.setLibraryUri(CastIterator, I[26]); - dart.setFieldSignature(CastIterator, () => ({ - __proto__: dart.getFields(CastIterator.__proto__), - [_source$]: dart.fieldType(core.Iterator$(S)) - })); - return CastIterator; -}); -_internal.CastIterator = _internal.CastIterator$(); -dart.addTypeTests(_internal.CastIterator, _is_CastIterator_default); -var _source$0 = dart.privateName(_internal, "CastIterable._source"); -const _is_CastIterable_default = Symbol('_is_CastIterable_default'); -_internal.CastIterable$ = dart.generic((S, T) => { - class CastIterable extends _internal._CastIterableBase$(S, T) { - get [_source$]() { - return this[_source$0]; - } - 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[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[35], 68, 23, "_source"); - this[_source$0] = _source; - CastIterable.__proto__.new.call(this); - ; - }).prototype = CastIterable.prototype; - dart.addTypeTests(CastIterable); - CastIterable.prototype[_is_CastIterable_default] = true; - dart.addTypeCaches(CastIterable); - dart.setMethodSignature(CastIterable, () => ({ - __proto__: dart.getMethods(CastIterable.__proto__), - 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.setStaticMethodSignature(CastIterable, () => ['new']); - dart.setLibraryUri(CastIterable, I[26]); - dart.setFieldSignature(CastIterable, () => ({ - __proto__: dart.getFields(CastIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)) - })); - dart.defineExtensionMethods(CastIterable, ['cast']); - return CastIterable; -}); -_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) { - 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[35], 82, 59, "source"); - _EfficientLengthCastIterable.__proto__.__.call(this, source); - ; - }).prototype = _EfficientLengthCastIterable.prototype; - dart.addTypeTests(_EfficientLengthCastIterable); - _EfficientLengthCastIterable.prototype[_is__EfficientLengthCastIterable_default] = true; - dart.addTypeCaches(_EfficientLengthCastIterable); - _EfficientLengthCastIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - 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 __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); - }).prototype = _CastIterableBase_ListMixin$36.prototype; - dart.applyMixin(_CastIterableBase_ListMixin$36, collection.ListMixin$(T)); - class _CastListBase extends _CastIterableBase_ListMixin$36 { - _get(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[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[35], 105, 23, "length"); - this[_source$][$length] = length; - } - get length() { - return super.length; - } - add(value) { - T.as(value); - this[_source$][$add](S.as(value)); - } - addAll(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)), __t$SAndSToint())); - } - shuffle(random = null) { - this[_source$][$shuffle](random); - } - insert(index, element) { - 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[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[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[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[35], 144, 25, "test"); - this[_source$][$removeWhere](dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[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[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[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[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[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() { - _CastListBase.__proto__.new.call(this); - ; - }).prototype = _CastListBase.prototype; - dart.addTypeTests(_CastListBase); - _CastListBase.prototype[_is__CastListBase_default] = true; - dart.addTypeCaches(_CastListBase); - dart.setMethodSignature(_CastListBase, () => ({ - __proto__: dart.getMethods(_CastListBase.__proto__), - _get: dart.fnType(T, [core.int]), - [$_get]: dart.fnType(T, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(_CastListBase, () => ({ - __proto__: dart.getSetters(_CastListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_CastListBase, I[26]); - dart.defineExtensionMethods(_CastListBase, [ - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'remove', - 'removeAt', - 'removeLast', - 'removeWhere', - 'retainWhere', - 'getRange', - 'setRange', - 'removeRange', - 'fillRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(_CastListBase, ['length']); - return _CastListBase; -}); -_internal._CastListBase = _internal._CastListBase$(); -dart.addTypeTests(_internal._CastListBase, _is__CastListBase_default); -var _source$1 = dart.privateName(_internal, "CastList._source"); -const _is_CastList_default = Symbol('_is_CastList_default'); -_internal.CastList$ = dart.generic((S, T) => { - class CastList extends _internal._CastListBase$(S, T) { - get [_source$]() { - return this[_source$1]; - } - 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[35], 174, 17, "_source"); - this[_source$1] = _source; - CastList.__proto__.new.call(this); - ; - }).prototype = CastList.prototype; - dart.addTypeTests(CastList); - CastList.prototype[_is_CastList_default] = true; - dart.addTypeCaches(CastList); - dart.setMethodSignature(CastList, () => ({ - __proto__: dart.getMethods(CastList.__proto__), - 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[26]); - dart.setFieldSignature(CastList, () => ({ - __proto__: dart.getFields(CastList.__proto__), - [_source$]: dart.finalFieldType(core.List$(S)) - })); - dart.defineExtensionMethods(CastList, ['cast']); - return CastList; -}); -_internal.CastList = _internal.CastList$(); -dart.addTypeTests(_internal.CastList, _is_CastList_default); -var _source$2 = dart.privateName(_internal, "CastSet._source"); -var _emptySet$ = dart.privateName(_internal, "_emptySet"); -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 __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]; - } - set [_source$](value) { - super[_source$] = value; - } - 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$]); - } - add(value) { - T.as(value); - return this[_source$].add(S.as(value)); - } - addAll(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[35], 198, 36, "objects"); - this[_source$].removeAll(objects); - } - retainAll(objects) { - if (objects == null) dart.nullFailed(I[35], 202, 36, "objects"); - this[_source$].retainAll(objects); - } - removeWhere(test) { - 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[35], 210, 25, "test"); - this[_source$].retainWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - containsAll(objects) { - if (objects == null) dart.nullFailed(I[35], 214, 38, "objects"); - return this[_source$].containsAll(objects); - } - intersection(other) { - if (other == null) dart.nullFailed(I[35], 216, 36, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, true); - return new (__t$CastSetOfS$T()).new(this[_source$].intersection(other), null); - } - difference(other) { - if (other == null) dart.nullFailed(I[35], 221, 34, "other"); - if (this[_emptySet$] != null) return this[_conditionalAdd](other, false); - return new (__t$CastSetOfS$T()).new(this[_source$].difference(other), null); - } - [_conditionalAdd](other, 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 (__t$_HashSetOfT()).new() : emptySet(T); - for (let element of this[_source$]) { - let castElement = T.as(element); - if (otherContains == other.contains(castElement)) result.add(castElement); - } - return result; - } - union(other) { - let t67; - __t$SetOfT().as(other); - if (other == null) dart.nullFailed(I[35], 236, 23, "other"); - t67 = this[_clone](); - return (() => { - t67.addAll(other); - return t67; - })(); - } - clear() { - this[_source$].clear(); - } - [_clone]() { - let emptySet = this[_emptySet$]; - let result = emptySet == null ? new (__t$_HashSetOfT()).new() : emptySet(T); - result.addAll(this); - return result; - } - toSet() { - return this[_clone](); - } - lookup(key) { - return T.as(this[_source$].lookup(key)); - } - } - (CastSet.new = function(_source, _emptySet) { - if (_source == null) dart.nullFailed(I[35], 187, 16, "_source"); - this[_source$2] = _source; - this[_emptySet$] = _emptySet; - CastSet.__proto__.new.call(this); - ; - }).prototype = CastSet.prototype; - dart.addTypeTests(CastSet); - CastSet.prototype[_is_CastSet_default] = true; - dart.addTypeCaches(CastSet); - CastSet[dart.implements] = () => [core.Set$(T)]; - dart.setMethodSignature(CastSet, () => ({ - __proto__: dart.getMethods(CastSet.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - intersection: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object))]), - [_conditionalAdd]: dart.fnType(core.Set$(T), [core.Set$(dart.nullable(core.Object)), core.bool]), - union: dart.fnType(core.Set$(T), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_clone]: dart.fnType(core.Set$(T), []), - lookup: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(CastSet, I[26]); - dart.setFieldSignature(CastSet, () => ({ - __proto__: dart.getFields(CastSet.__proto__), - [_source$]: dart.finalFieldType(core.Set$(S)), - [_emptySet$]: dart.finalFieldType(dart.nullable(dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]))) - })); - dart.defineExtensionMethods(CastSet, ['cast', 'toSet']); - return CastSet; -}); -_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 __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[37], 121, 21, "action"); - for (let key of this[$keys]) { - action(key, V.as(this[$_get](key))); - } - } - addAll(other) { - __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]) { - if (dart.equals(this[$_get](key), value)) return true; - } - return false; - } - putIfAbsent(key, ifAbsent) { - let t68, t67; - K.as(key); - __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)); - } - t67 = key; - t68 = ifAbsent(); - this[$_set](t67, t68); - return t68; - } - update(key, update, opts) { - let t68, t67, t68$, t67$; - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 147, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - if (dart.test(this[$containsKey](key))) { - t67 = key; - t68 = update(V.as(this[$_get](key))); - this[$_set](t67, t68); - return t68; - } - if (ifAbsent != null) { - t67$ = key; - t68$ = ifAbsent(); - this[$_set](t67$, t68$); - return t68$; - } - dart.throw(new core.ArgumentError.value(key, "key", "Key not in map.")); - } - updateAll(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](__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[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))); - result[$_set](entry.key, entry.value); - } - return result; - } - addEntries(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[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); - } - for (let key of keysToRemove) { - this[$remove](key); - } - } - containsKey(key) { - return this[$keys][$contains](key); - } - get length() { - return this[$keys][$length]; - } - get isEmpty() { - return this[$keys][$isEmpty]; - } - get isNotEmpty() { - return this[$keys][$isNotEmpty]; - } - get values() { - return new (__t$_MapBaseValueIterableOfK$V()).new(this); - } - toString() { - return collection.MapBase.mapToString(this); - } - } - (MapMixin.new = function() { - ; - }).prototype = MapMixin.prototype; - MapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(MapMixin); - MapMixin.prototype[_is_MapMixin_default] = true; - dart.addTypeCaches(MapMixin); - MapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapMixin, () => ({ - __proto__: dart.getMethods(MapMixin.__proto__), - 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)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(MapMixin, () => ({ - __proto__: dart.getGetters(MapMixin.__proto__), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - values: core.Iterable$(V), - [$values]: core.Iterable$(V) - })); - dart.setLibraryUri(MapMixin, I[25]); - dart.defineExtensionMethods(MapMixin, [ - 'cast', - 'forEach', - 'addAll', - 'containsValue', - 'putIfAbsent', - 'update', - 'updateAll', - 'map', - 'addEntries', - 'removeWhere', - 'containsKey', - 'toString' - ]); - dart.defineExtensionAccessors(MapMixin, [ - 'entries', - 'length', - 'isEmpty', - 'isNotEmpty', - 'values' - ]); - return MapMixin; -}); -collection.MapMixin = collection.MapMixin$(); -dart.addTypeTests(collection.MapMixin, _is_MapMixin_default); -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[37], 22, 51, "m"); - if (dart.test(collection._isToStringVisiting(m))) { - return "{...}"; - } - let result = new core.StringBuffer.new(); - try { - collection._toStringVisiting[$add](m); - result.write("{"); - let first = true; - m[$forEach](dart.fn((k, v) => { - if (!first) { - result.write(", "); - } - first = false; - result.write(k); - result.write(": "); - result.write(v); - }, T$.ObjectNAndObjectNTovoid())); - result.write("}"); - } finally { - if (!core.identical(collection._toStringVisiting[$last], m)) dart.assertFailed(null, I[37], 44, 14, "identical(_toStringVisiting.last, m)"); - collection._toStringVisiting[$removeLast](); - } - return result.toString(); - } - static _id(x) { - return x; - } - static _fillMapWithMappedIterable(map, iterable, key, value) { - 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) { - map[$_set](key(element), value(element)); - } - } - static _fillMapWithIterables(map, keys, 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(); - let hasNextValue = valueIterator.moveNext(); - while (dart.test(hasNextKey) && dart.test(hasNextValue)) { - map[$_set](keyIterator.current, valueIterator.current); - hasNextKey = keyIterator.moveNext(); - hasNextValue = valueIterator.moveNext(); - } - if (dart.test(hasNextKey) || dart.test(hasNextValue)) { - dart.throw(new core.ArgumentError.new("Iterables do not have same length.")); - } - } - } - (MapBase.new = function() { - ; - }).prototype = MapBase.prototype; - dart.addTypeTests(MapBase); - MapBase.prototype[_is_MapBase_default] = true; - dart.addTypeCaches(MapBase); - 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 __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$]); - } - containsValue(value) { - return this[_source$][$containsValue](value); - } - containsKey(key) { - return this[_source$][$containsKey](key); - } - _get(key) { - return __t$VN().as(this[_source$][$_get](key)); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_source$][$_set](SK.as(key), SV.as(value)); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) { - __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 __t$VN().as(this[_source$][$remove](key)); - } - clear() { - this[_source$][$clear](); - } - forEach(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)); - }, __t$SKAndSVTovoid())); - } - get keys() { - return __t$CastIterableOfSK$K().new(this[_source$][$keys]); - } - get values() { - return __t$CastIterableOfSV$V().new(this[_source$][$values]); - } - get length() { - return this[_source$][$length]; - } - get isEmpty() { - return this[_source$][$isEmpty]; - } - get isNotEmpty() { - return this[_source$][$isNotEmpty]; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[35], 300, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __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) { - __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](__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) { - __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[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[35], 257, 16, "_source"); - this[_source$] = _source; - ; - }).prototype = CastMap.prototype; - dart.addTypeTests(CastMap); - CastMap.prototype[_is_CastMap_default] = true; - dart.addTypeCaches(CastMap); - dart.setMethodSignature(CastMap, () => ({ - __proto__: dart.getMethods(CastMap.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CastMap, () => ({ - __proto__: dart.getGetters(CastMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CastMap, I[26]); - dart.setFieldSignature(CastMap, () => ({ - __proto__: dart.getFields(CastMap.__proto__), - [_source$]: dart.finalFieldType(core.Map$(SK, SV)) - })); - dart.defineExtensionMethods(CastMap, [ - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'update', - 'updateAll', - 'addEntries', - 'removeWhere' - ]); - dart.defineExtensionAccessors(CastMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return CastMap; -}); -_internal.CastMap = _internal.CastMap$(); -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 __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]; - } - 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$]); - } - removeFirst() { - return T.as(this[_source$].removeFirst()); - } - removeLast() { - return T.as(this[_source$].removeLast()); - } - add(value) { - T.as(value); - this[_source$].add(S.as(value)); - } - addFirst(value) { - T.as(value); - this[_source$].addFirst(S.as(value)); - } - addLast(value) { - T.as(value); - this[_source$].addLast(S.as(value)); - } - remove(other) { - return this[_source$].remove(other); - } - addAll(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[35], 350, 25, "test"); - this[_source$].removeWhere(dart.fn(element => test(T.as(element)), __t$STobool())); - } - retainWhere(test) { - 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[35], 327, 18, "_source"); - this[_source$3] = _source; - CastQueue.__proto__.new.call(this); - ; - }).prototype = CastQueue.prototype; - dart.addTypeTests(CastQueue); - CastQueue.prototype[_is_CastQueue_default] = true; - dart.addTypeCaches(CastQueue); - CastQueue[dart.implements] = () => [collection.Queue$(T)]; - dart.setMethodSignature(CastQueue, () => ({ - __proto__: dart.getMethods(CastQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - removeFirst: dart.fnType(T, []), - removeLast: dart.fnType(T, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [T])]), - clear: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(CastQueue, I[26]); - dart.setFieldSignature(CastQueue, () => ({ - __proto__: dart.getFields(CastQueue.__proto__), - [_source$]: dart.finalFieldType(collection.Queue$(S)) - })); - dart.defineExtensionMethods(CastQueue, ['cast']); - return CastQueue; -}); -_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"; - } -}; -(_internal.LateError.new = function(_message = null) { - this[_message$] = _message; - _internal.LateError.__proto__.new.call(this); - ; -}).prototype = _internal.LateError.prototype; -(_internal.LateError.fieldADI = function(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[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[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[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[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[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[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"; - } -}; -(_internal.ReachabilityError.new = function(_message = null) { - this[_message$] = _message; - _internal.ReachabilityError.__proto__.new.call(this); - ; -}).prototype = _internal.ReachabilityError.prototype; -dart.addTypeTests(_internal.ReachabilityError); -dart.addTypeCaches(_internal.ReachabilityError); -dart.setLibraryUri(_internal.ReachabilityError, I[26]); -dart.setFieldSignature(_internal.ReachabilityError, () => ({ - __proto__: dart.getFields(_internal.ReachabilityError.__proto__), - [_message$]: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(_internal.ReachabilityError, ['toString']); -const _is_EfficientLengthIterable_default = Symbol('_is_EfficientLengthIterable_default'); -_internal.EfficientLengthIterable$ = dart.generic(T => { - class EfficientLengthIterable extends core.Iterable$(T) {} - (EfficientLengthIterable.new = function() { - EfficientLengthIterable.__proto__.new.call(this); - ; - }).prototype = EfficientLengthIterable.prototype; - dart.addTypeTests(EfficientLengthIterable); - EfficientLengthIterable.prototype[_is_EfficientLengthIterable_default] = true; - dart.addTypeCaches(EfficientLengthIterable); - 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 __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 (__t$ListIteratorOfE()).new(this); - } - forEach(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)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get isEmpty() { - return this.length === 0; - } - get first() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(0); - } - get last() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - return this.elementAt(dart.notNull(this.length) - 1); - } - get single() { - if (this.length === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return this.elementAt(0); - } - contains(element) { - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.equals(this.elementAt(i), element)) return true; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - every(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return true; - } - any(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; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 97, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - let length = this.length; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 110, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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); - if (dart.test(test(element))) return element; - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 123, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function match$35set(match$35param) { - match$35isSet = true; - return match = match$35param; - } - let matchFound = false; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - let element = this.elementAt(i); - if (dart.test(test(element))) { - if (matchFound) { - dart.throw(_internal.IterableElementError.tooMany()); - } - matchFound = true; - match$35set(element); - } - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - if (matchFound) return match$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 145, 23, "separator"); - let length = this.length; - if (!separator[$isEmpty]) { - if (length === 0) return ""; - let first = dart.str(this.elementAt(0)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - let buffer = new core.StringBuffer.new(first); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - buffer.write(separator); - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } else { - let buffer = new core.StringBuffer.new(); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - buffer.write(this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return buffer.toString(); - } - } - where(test) { - if (test == null) dart.nullFailed(I[39], 174, 26, "test"); - return super[$where](test); - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 176, 24, "toElement"); - return new (_internal.MappedListIterable$(E, T)).new(this, toElement); - } - reduce(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); - for (let i = 1; i < dart.notNull(length); i = i + 1) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - fold(T, initialValue, 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) { - value = combine(value, this.elementAt(i)); - if (length != this.length) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - return value; - } - skip(count) { - 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[39], 206, 30, "test"); - return super[$skipWhile](test); - } - take(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[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[39], 213, 24, "growable"); - return __t$ListOfE().of(this, {growable: growable}); - } - toSet() { - let result = new (__t$_HashSetOfE()).new(); - for (let i = 0; i < dart.notNull(this.length); i = i + 1) { - result.add(this.elementAt(i)); - } - return result; - } - } - (ListIterable.new = function() { - ListIterable.__proto__.new.call(this); - ; - }).prototype = ListIterable.prototype; - dart.addTypeTests(ListIterable); - ListIterable.prototype[_is_ListIterable_default] = true; - dart.addTypeCaches(ListIterable); - dart.setMethodSignature(ListIterable, () => ({ - __proto__: dart.getMethods(ListIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListIterable, () => ({ - __proto__: dart.getGetters(ListIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ListIterable, I[26]); - dart.defineExtensionMethods(ListIterable, [ - 'forEach', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(ListIterable, [ - 'iterator', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return ListIterable; -}); -_internal.ListIterable = _internal.ListIterable$(); -dart.addTypeTests(_internal.ListIterable, _is_ListIterable_default); -var _iterable$ = dart.privateName(_internal, "_iterable"); -var _start$ = dart.privateName(_internal, "_start"); -var _endOrLength$ = dart.privateName(_internal, "_endOrLength"); -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 __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$]; - if (endOrLength == null || dart.notNull(endOrLength) > dart.notNull(length)) return length; - return endOrLength; - } - get [_startIndex]() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) > dart.notNull(length)) return length; - return this[_start$]; - } - get length() { - let length = this[_iterable$][$length]; - if (dart.notNull(this[_start$]) >= dart.notNull(length)) return 0; - let endOrLength = this[_endOrLength$]; - if (endOrLength == null || dart.notNull(endOrLength) >= dart.notNull(length)) { - return dart.notNull(length) - dart.notNull(this[_start$]); - } - return dart.notNull(endOrLength) - dart.notNull(this[_start$]); - } - elementAt(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.withLength(index, this.length, {indexable: this, name: "index"})); - } - return this[_iterable$][$elementAt](realIndex); - } - skip(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 (__t$EmptyIterableOfE()).new(); - } - return new (__t$SubListIterableOfE()).new(this[_iterable$], newStart, this[_endOrLength$]); - } - take(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 (__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 (__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[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 __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)); - } - return result; - } - } - (SubListIterable.new = function(_iterable, _start, _endOrLength) { - 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; - SubListIterable.__proto__.new.call(this); - core.RangeError.checkNotNegative(this[_start$], "start"); - let endOrLength = this[_endOrLength$]; - if (endOrLength != null) { - core.RangeError.checkNotNegative(endOrLength, "end"); - if (dart.notNull(this[_start$]) > dart.notNull(endOrLength)) { - dart.throw(new core.RangeError.range(this[_start$], 0, endOrLength, "start")); - } - } - }).prototype = SubListIterable.prototype; - dart.addTypeTests(SubListIterable); - SubListIterable.prototype[_is_SubListIterable_default] = true; - dart.addTypeCaches(SubListIterable); - dart.setGetterSignature(SubListIterable, () => ({ - __proto__: dart.getGetters(SubListIterable.__proto__), - [_endIndex]: core.int, - [_startIndex]: core.int - })); - dart.setLibraryUri(SubListIterable, I[26]); - dart.setFieldSignature(SubListIterable, () => ({ - __proto__: dart.getFields(SubListIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_start$]: dart.finalFieldType(core.int), - [_endOrLength$]: dart.finalFieldType(dart.nullable(core.int)) - })); - dart.defineExtensionMethods(SubListIterable, ['elementAt', 'skip', 'take', 'toList']); - dart.defineExtensionAccessors(SubListIterable, ['length']); - return SubListIterable; -}); -_internal.SubListIterable = _internal.SubListIterable$(); -dart.addTypeTests(_internal.SubListIterable, _is_SubListIterable_default); -var _current$ = dart.privateName(_internal, "_current"); -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$]); - } - moveNext() { - let length = this[_iterable$][$length]; - if (this[_length$] != length) { - dart.throw(new core.ConcurrentModificationError.new(this[_iterable$])); - } - if (dart.notNull(this[_index$]) >= dart.notNull(length)) { - this[_current$] = null; - return false; - } - this[_current$] = this[_iterable$][$elementAt](this[_index$]); - this[_index$] = dart.notNull(this[_index$]) + 1; - return true; - } - } - (ListIterator.new = function(iterable) { - if (iterable == null) dart.nullFailed(I[39], 327, 28, "iterable"); - this[_current$] = null; - this[_iterable$] = iterable; - this[_length$] = iterable[$length]; - this[_index$] = 0; - ; - }).prototype = ListIterator.prototype; - dart.addTypeTests(ListIterator); - ListIterator.prototype[_is_ListIterator_default] = true; - dart.addTypeCaches(ListIterator); - ListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(ListIterator, () => ({ - __proto__: dart.getMethods(ListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ListIterator, () => ({ - __proto__: dart.getGetters(ListIterator.__proto__), - current: E - })); - dart.setLibraryUri(ListIterator, I[26]); - dart.setFieldSignature(ListIterator, () => ({ - __proto__: dart.getFields(ListIterator.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_length$]: dart.finalFieldType(core.int), - [_index$]: dart.fieldType(core.int), - [_current$]: dart.fieldType(dart.nullable(E)) - })); - return ListIterator; -}); -_internal.ListIterator = _internal.ListIterator$(); -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 __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[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 (__t$MappedIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - get length() { - return this[_iterable$][$length]; - } - get isEmpty() { - return this[_iterable$][$isEmpty]; - } - get first() { - let t71; - t71 = this[_iterable$][$first]; - return this[_f$](t71); - } - get last() { - let t71; - t71 = this[_iterable$][$last]; - return this[_f$](t71); - } - get single() { - let t71; - t71 = this[_iterable$][$single]; - return this[_f$](t71); - } - elementAt(index) { - 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[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); - ; - }).prototype = MappedIterable.prototype; - 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[26]); - dart.setFieldSignature(MappedIterable, () => ({ - __proto__: dart.getFields(MappedIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'first', - 'last', - 'single' - ]); - return MappedIterable; -}); -_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) { - 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[39], 380, 45, "iterable"); - if ($function == null) dart.nullFailed(I[39], 380, 57, "function"); - EfficientLengthMappedIterable.__proto__.__.call(this, iterable, $function); - ; - }).prototype = EfficientLengthMappedIterable.prototype; - dart.addTypeTests(EfficientLengthMappedIterable); - EfficientLengthMappedIterable.prototype[_is_EfficientLengthMappedIterable_default] = true; - dart.addTypeCaches(EfficientLengthMappedIterable); - EfficientLengthMappedIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(T)]; - dart.setLibraryUri(EfficientLengthMappedIterable, I[26]); - return EfficientLengthMappedIterable; -}); -_internal.EfficientLengthMappedIterable = _internal.EfficientLengthMappedIterable$(); -dart.addTypeTests(_internal.EfficientLengthMappedIterable, _is_EfficientLengthMappedIterable_default); -var _iterator$ = dart.privateName(_internal, "_iterator"); -const _is_Iterator_default = Symbol('_is_Iterator_default'); -core.Iterator$ = dart.generic(E => { - class Iterator extends core.Object {} - (Iterator.new = function() { - ; - }).prototype = Iterator.prototype; - dart.addTypeTests(Iterator); - Iterator.prototype[_is_Iterator_default] = true; - dart.addTypeCaches(Iterator); - dart.setLibraryUri(Iterator, I[9]); - return Iterator; -}); -core.Iterator = core.Iterator$(); -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 t71; - if (dart.test(this[_iterator$].moveNext())) { - this[_current$] = (t71 = this[_iterator$].current, this[_f$](t71)); - return true; - } - this[_current$] = null; - return false; - } - get current() { - return T.as(this[_current$]); - } - } - (MappedIterator.new = function(_iterator, _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; - ; - }).prototype = MappedIterator.prototype; - dart.addTypeTests(MappedIterator); - MappedIterator.prototype[_is_MappedIterator_default] = true; - dart.addTypeCaches(MappedIterator); - dart.setMethodSignature(MappedIterator, () => ({ - __proto__: dart.getMethods(MappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(MappedIterator, () => ({ - __proto__: dart.getGetters(MappedIterator.__proto__), - current: T - })); - dart.setLibraryUri(MappedIterator, I[26]); - dart.setFieldSignature(MappedIterator, () => ({ - __proto__: dart.getFields(MappedIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return MappedIterator; -}); -_internal.MappedIterator = _internal.MappedIterator$(); -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 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[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); - ; - }).prototype = MappedListIterable.prototype; - dart.addTypeTests(MappedListIterable); - MappedListIterable.prototype[_is_MappedListIterable_default] = true; - dart.addTypeCaches(MappedListIterable); - dart.setLibraryUri(MappedListIterable, I[26]); - dart.setFieldSignature(MappedListIterable, () => ({ - __proto__: dart.getFields(MappedListIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(T, [S])) - })); - dart.defineExtensionMethods(MappedListIterable, ['elementAt']); - dart.defineExtensionAccessors(MappedListIterable, ['length']); - return MappedListIterable; -}); -_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 __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 (__t$WhereIteratorOfE()).new(this[_iterable$][$iterator], 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[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); - ; - }).prototype = WhereIterable.prototype; - dart.addTypeTests(WhereIterable); - WhereIterable.prototype[_is_WhereIterable_default] = true; - dart.addTypeCaches(WhereIterable); - dart.setMethodSignature(WhereIterable, () => ({ - __proto__: dart.getMethods(WhereIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(WhereIterable, () => ({ - __proto__: dart.getGetters(WhereIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(WhereIterable, I[26]); - dart.setFieldSignature(WhereIterable, () => ({ - __proto__: dart.getFields(WhereIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionMethods(WhereIterable, ['map']); - dart.defineExtensionAccessors(WhereIterable, ['iterator']); - return WhereIterable; -}); -_internal.WhereIterable = _internal.WhereIterable$(); -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 t71; - while (dart.test(this[_iterator$].moveNext())) { - if (dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - return true; - } - } - return false; - } - get current() { - return this[_iterator$].current; - } - } - (WhereIterator.new = function(_iterator, _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; - ; - }).prototype = WhereIterator.prototype; - dart.addTypeTests(WhereIterator); - WhereIterator.prototype[_is_WhereIterator_default] = true; - dart.addTypeCaches(WhereIterator); - dart.setMethodSignature(WhereIterator, () => ({ - __proto__: dart.getMethods(WhereIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereIterator, () => ({ - __proto__: dart.getGetters(WhereIterator.__proto__), - current: E - })); - dart.setLibraryUri(WhereIterator, I[26]); - dart.setFieldSignature(WhereIterator, () => ({ - __proto__: dart.getFields(WhereIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - return WhereIterator; -}); -_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 __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 (__t$ExpandIteratorOfS$T()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (ExpandIterable.new = function(_iterable, _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); - ; - }).prototype = ExpandIterable.prototype; - dart.addTypeTests(ExpandIterable); - ExpandIterable.prototype[_is_ExpandIterable_default] = true; - dart.addTypeCaches(ExpandIterable); - dart.setGetterSignature(ExpandIterable, () => ({ - __proto__: dart.getGetters(ExpandIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(ExpandIterable, I[26]); - dart.setFieldSignature(ExpandIterable, () => ({ - __proto__: dart.getFields(ExpandIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - dart.defineExtensionAccessors(ExpandIterable, ['iterator']); - return ExpandIterable; -}); -_internal.ExpandIterable = _internal.ExpandIterable$(); -dart.addTypeTests(_internal.ExpandIterable, _is_ExpandIterable_default); -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 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] = (t71 = this[_iterator$].current, this[_f$](t71))[$iterator]; - } else { - return false; - } - } - this[_current$] = dart.nullCheck(this[_currentExpansion]).current; - return true; - } - } - (ExpandIterator.new = function(_iterator, _f) { - 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; - ; - }).prototype = ExpandIterator.prototype; - dart.addTypeTests(ExpandIterator); - ExpandIterator.prototype[_is_ExpandIterator_default] = true; - dart.addTypeCaches(ExpandIterator); - ExpandIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(ExpandIterator, () => ({ - __proto__: dart.getMethods(ExpandIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(ExpandIterator, () => ({ - __proto__: dart.getGetters(ExpandIterator.__proto__), - current: T - })); - dart.setLibraryUri(ExpandIterator, I[26]); - dart.setFieldSignature(ExpandIterator, () => ({ - __proto__: dart.getFields(ExpandIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(S)), - [_f$]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])), - [_currentExpansion]: dart.fieldType(dart.nullable(core.Iterator$(T))), - [_current$]: dart.fieldType(dart.nullable(T)) - })); - return ExpandIterator; -}); -_internal.ExpandIterator = _internal.ExpandIterator$(); -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 __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[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)) { - return new (_internal.EfficientLengthTakeIterable$(E)).new(iterable, takeCount); - } - 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 (__t$TakeIteratorOfE()).new(this[_iterable$][$iterator], this[_takeCount$]); - } - } - (TakeIterable.__ = function(_iterable, _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); - ; - }).prototype = TakeIterable.prototype; - 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[26]); - dart.setFieldSignature(TakeIterable, () => ({ - __proto__: dart.getFields(TakeIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_takeCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionAccessors(TakeIterable, ['iterator']); - return TakeIterable; -}); -_internal.TakeIterable = _internal.TakeIterable$(); -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$]; - return iterableLength; - } - } - (EfficientLengthTakeIterable.new = function(iterable, 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; - dart.addTypeTests(EfficientLengthTakeIterable); - EfficientLengthTakeIterable.prototype[_is_EfficientLengthTakeIterable_default] = true; - dart.addTypeCaches(EfficientLengthTakeIterable); - EfficientLengthTakeIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthTakeIterable, I[26]); - dart.defineExtensionAccessors(EfficientLengthTakeIterable, ['length']); - return EfficientLengthTakeIterable; -}); -_internal.EfficientLengthTakeIterable = _internal.EfficientLengthTakeIterable$(); -dart.addTypeTests(_internal.EfficientLengthTakeIterable, _is_EfficientLengthTakeIterable_default); -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) { - return this[_iterator$].moveNext(); - } - this[_remaining$] = -1; - return false; - } - get current() { - if (dart.notNull(this[_remaining$]) < 0) return E.as(null); - return this[_iterator$].current; - } - } - (TakeIterator.new = function(_iterator, _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[39], 530, 12, "_remaining >= 0"); - }).prototype = TakeIterator.prototype; - dart.addTypeTests(TakeIterator); - TakeIterator.prototype[_is_TakeIterator_default] = true; - dart.addTypeCaches(TakeIterator); - dart.setMethodSignature(TakeIterator, () => ({ - __proto__: dart.getMethods(TakeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeIterator, () => ({ - __proto__: dart.getGetters(TakeIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeIterator, I[26]); - dart.setFieldSignature(TakeIterator, () => ({ - __proto__: dart.getFields(TakeIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_remaining$]: dart.fieldType(core.int) - })); - return TakeIterator; -}); -_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 __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 (__t$TakeWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (TakeWhileIterable.new = function(_iterable, _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); - ; - }).prototype = TakeWhileIterable.prototype; - dart.addTypeTests(TakeWhileIterable); - TakeWhileIterable.prototype[_is_TakeWhileIterable_default] = true; - dart.addTypeCaches(TakeWhileIterable); - dart.setGetterSignature(TakeWhileIterable, () => ({ - __proto__: dart.getGetters(TakeWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(TakeWhileIterable, I[26]); - dart.setFieldSignature(TakeWhileIterable, () => ({ - __proto__: dart.getFields(TakeWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(TakeWhileIterable, ['iterator']); - return TakeWhileIterable; -}); -_internal.TakeWhileIterable = _internal.TakeWhileIterable$(); -dart.addTypeTests(_internal.TakeWhileIterable, _is_TakeWhileIterable_default); -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 t71; - if (dart.test(this[_isFinished])) return false; - if (!dart.test(this[_iterator$].moveNext()) || !dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) { - this[_isFinished] = true; - return false; - } - return true; - } - get current() { - if (dart.test(this[_isFinished])) return E.as(null); - return this[_iterator$].current; - } - } - (TakeWhileIterator.new = function(_iterator, _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; - ; - }).prototype = TakeWhileIterator.prototype; - dart.addTypeTests(TakeWhileIterator); - TakeWhileIterator.prototype[_is_TakeWhileIterator_default] = true; - dart.addTypeCaches(TakeWhileIterator); - dart.setMethodSignature(TakeWhileIterator, () => ({ - __proto__: dart.getMethods(TakeWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(TakeWhileIterator, () => ({ - __proto__: dart.getGetters(TakeWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(TakeWhileIterator, I[26]); - dart.setFieldSignature(TakeWhileIterator, () => ({ - __proto__: dart.getFields(TakeWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_isFinished]: dart.fieldType(core.bool) - })); - return TakeWhileIterator; -}); -_internal.TakeWhileIterator = _internal.TakeWhileIterator$(); -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 __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[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[39], 598, 24, "count"); - return new (__t$SkipIterableOfE()).__(this[_iterable$], dart.notNull(this[_skipCount$]) + dart.notNull(_internal._checkCount(count))); - } - get iterator() { - return new (__t$SkipIteratorOfE()).new(this[_iterable$][$iterator], this[_skipCount$]); - } - } - (SkipIterable.__ = function(_iterable, _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); - ; - }).prototype = SkipIterable.prototype; - 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[26]); - dart.setFieldSignature(SkipIterable, () => ({ - __proto__: dart.getFields(SkipIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_skipCount$]: dart.finalFieldType(core.int) - })); - dart.defineExtensionMethods(SkipIterable, ['skip']); - dart.defineExtensionAccessors(SkipIterable, ['iterator']); - return SkipIterable; -}); -_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 __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[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[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[39], 613, 45, "iterable"); - if (count == null) dart.nullFailed(I[39], 613, 59, "count"); - EfficientLengthSkipIterable.__proto__.__.call(this, iterable, count); - ; - }).prototype = EfficientLengthSkipIterable.prototype; - dart.addTypeTests(EfficientLengthSkipIterable); - EfficientLengthSkipIterable.prototype[_is_EfficientLengthSkipIterable_default] = true; - dart.addTypeCaches(EfficientLengthSkipIterable); - EfficientLengthSkipIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setStaticMethodSignature(EfficientLengthSkipIterable, () => ['new']); - dart.setLibraryUri(EfficientLengthSkipIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthSkipIterable, ['skip']); - dart.defineExtensionAccessors(EfficientLengthSkipIterable, ['length']); - return EfficientLengthSkipIterable; -}); -_internal.EfficientLengthSkipIterable = _internal.EfficientLengthSkipIterable$(); -dart.addTypeTests(_internal.EfficientLengthSkipIterable, _is_EfficientLengthSkipIterable_default); -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(); - this[_skipCount$] = 0; - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipIterator.new = function(_iterator, _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[39], 639, 12, "_skipCount >= 0"); - }).prototype = SkipIterator.prototype; - dart.addTypeTests(SkipIterator); - SkipIterator.prototype[_is_SkipIterator_default] = true; - dart.addTypeCaches(SkipIterator); - dart.setMethodSignature(SkipIterator, () => ({ - __proto__: dart.getMethods(SkipIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipIterator, () => ({ - __proto__: dart.getGetters(SkipIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipIterator, I[26]); - dart.setFieldSignature(SkipIterator, () => ({ - __proto__: dart.getFields(SkipIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_skipCount$]: dart.fieldType(core.int) - })); - return SkipIterator; -}); -_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 __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 (__t$SkipWhileIteratorOfE()).new(this[_iterable$][$iterator], this[_f$]); - } - } - (SkipWhileIterable.new = function(_iterable, _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); - ; - }).prototype = SkipWhileIterable.prototype; - dart.addTypeTests(SkipWhileIterable); - SkipWhileIterable.prototype[_is_SkipWhileIterable_default] = true; - dart.addTypeCaches(SkipWhileIterable); - dart.setGetterSignature(SkipWhileIterable, () => ({ - __proto__: dart.getGetters(SkipWhileIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SkipWhileIterable, I[26]); - dart.setFieldSignature(SkipWhileIterable, () => ({ - __proto__: dart.getFields(SkipWhileIterable.__proto__), - [_iterable$]: dart.finalFieldType(core.Iterable$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])) - })); - dart.defineExtensionAccessors(SkipWhileIterable, ['iterator']); - return SkipWhileIterable; -}); -_internal.SkipWhileIterable = _internal.SkipWhileIterable$(); -dart.addTypeTests(_internal.SkipWhileIterable, _is_SkipWhileIterable_default); -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 t71; - if (!dart.test(this[_hasSkipped])) { - this[_hasSkipped] = true; - while (dart.test(this[_iterator$].moveNext())) { - if (!dart.test((t71 = this[_iterator$].current, this[_f$](t71)))) return true; - } - } - return this[_iterator$].moveNext(); - } - get current() { - return this[_iterator$].current; - } - } - (SkipWhileIterator.new = function(_iterator, _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; - ; - }).prototype = SkipWhileIterator.prototype; - dart.addTypeTests(SkipWhileIterator); - SkipWhileIterator.prototype[_is_SkipWhileIterator_default] = true; - dart.addTypeCaches(SkipWhileIterator); - dart.setMethodSignature(SkipWhileIterator, () => ({ - __proto__: dart.getMethods(SkipWhileIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(SkipWhileIterator, () => ({ - __proto__: dart.getGetters(SkipWhileIterator.__proto__), - current: E - })); - dart.setLibraryUri(SkipWhileIterator, I[26]); - dart.setFieldSignature(SkipWhileIterator, () => ({ - __proto__: dart.getFields(SkipWhileIterator.__proto__), - [_iterator$]: dart.finalFieldType(core.Iterator$(E)), - [_f$]: dart.finalFieldType(dart.fnType(core.bool, [E])), - [_hasSkipped]: dart.fieldType(core.bool) - })); - return SkipWhileIterator; -}); -_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 __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[21] || CT.C21; - } - forEach(action) { - if (action == null) dart.nullFailed(I[39], 690, 21, "action"); - } - get isEmpty() { - return true; - } - get length() { - return 0; - } - get first() { - dart.throw(_internal.IterableElementError.noElement()); - } - get last() { - dart.throw(_internal.IterableElementError.noElement()); - } - get single() { - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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[39], 714, 19, "test"); - return true; - } - any(test) { - if (test == null) dart.nullFailed(I[39], 716, 17, "test"); - return false; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 718, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 723, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[39], 728, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - join(separator = "") { - if (separator == null) dart.nullFailed(I[39], 733, 23, "separator"); - return ""; - } - where(test) { - if (test == null) dart.nullFailed(I[39], 735, 26, "test"); - return this; - } - map(T, toElement) { - if (toElement == null) dart.nullFailed(I[39], 737, 24, "toElement"); - return new (_internal.EmptyIterable$(T)).new(); - } - reduce(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[39], 743, 31, "combine"); - return initialValue; - } - skip(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[39], 752, 30, "test"); - return this; - } - take(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[39], 759, 30, "test"); - return this; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[39], 761, 24, "growable"); - return __t$ListOfE().empty({growable: growable}); - } - toSet() { - return new (__t$_HashSetOfE()).new(); - } - } - (EmptyIterable.new = function() { - EmptyIterable.__proto__.new.call(this); - ; - }).prototype = EmptyIterable.prototype; - dart.addTypeTests(EmptyIterable); - EmptyIterable.prototype[_is_EmptyIterable_default] = true; - dart.addTypeCaches(EmptyIterable); - dart.setMethodSignature(EmptyIterable, () => ({ - __proto__: dart.getMethods(EmptyIterable.__proto__), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(EmptyIterable, () => ({ - __proto__: dart.getGetters(EmptyIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(EmptyIterable, I[26]); - dart.defineExtensionMethods(EmptyIterable, [ - 'forEach', - 'elementAt', - 'contains', - 'every', - 'any', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'join', - 'where', - 'map', - 'reduce', - 'fold', - 'skip', - 'skipWhile', - 'take', - 'takeWhile', - 'toList', - 'toSet' - ]); - dart.defineExtensionAccessors(EmptyIterable, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return EmptyIterable; -}); -_internal.EmptyIterable = _internal.EmptyIterable$(); -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; - } - get current() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (EmptyIterator.new = function() { - ; - }).prototype = EmptyIterator.prototype; - dart.addTypeTests(EmptyIterator); - EmptyIterator.prototype[_is_EmptyIterator_default] = true; - dart.addTypeCaches(EmptyIterator); - EmptyIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(EmptyIterator, () => ({ - __proto__: dart.getMethods(EmptyIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(EmptyIterator, () => ({ - __proto__: dart.getGetters(EmptyIterator.__proto__), - current: E - })); - dart.setLibraryUri(EmptyIterator, I[26]); - return EmptyIterator; -}); -_internal.EmptyIterator = _internal.EmptyIterator$(); -dart.addTypeTests(_internal.EmptyIterator, _is_EmptyIterator_default); -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 __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[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 (__t$FollowedByIteratorOfE()).new(this[_first$], this[_second$]); - } - get length() { - return dart.notNull(this[_first$][$length]) + dart.notNull(this[_second$][$length]); - } - get isEmpty() { - return dart.test(this[_first$][$isEmpty]) && dart.test(this[_second$][$isEmpty]); - } - get isNotEmpty() { - return dart.test(this[_first$][$isNotEmpty]) || dart.test(this[_second$][$isNotEmpty]); - } - contains(value) { - return dart.test(this[_first$][$contains](value)) || dart.test(this[_second$][$contains](value)); - } - get first() { - let iterator = this[_first$][$iterator]; - if (dart.test(iterator.moveNext())) return iterator.current; - return this[_second$][$first]; - } - get last() { - let iterator = this[_second$][$iterator]; - if (dart.test(iterator.moveNext())) { - let last = iterator.current; - while (dart.test(iterator.moveNext())) - last = iterator.current; - return last; - } - return this[_first$][$last]; - } - } - (FollowedByIterable.new = function(_first, _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); - ; - }).prototype = FollowedByIterable.prototype; - 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[26]); - dart.setFieldSignature(FollowedByIterable, () => ({ - __proto__: dart.getFields(FollowedByIterable.__proto__), - [_first$]: dart.finalFieldType(core.Iterable$(E)), - [_second$]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(FollowedByIterable, ['contains']); - dart.defineExtensionAccessors(FollowedByIterable, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last' - ]); - return FollowedByIterable; -}); -_internal.FollowedByIterable = _internal.FollowedByIterable$(); -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[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)); - } - get first() { - if (dart.test(this[_first$][$isNotEmpty])) return this[_first$][$first]; - return this[_second$][$first]; - } - get last() { - if (dart.test(this[_second$][$isNotEmpty])) return this[_second$][$last]; - return this[_first$][$last]; - } - } - (EfficientLengthFollowedByIterable.new = function(first, 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; - dart.addTypeTests(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable.prototype[_is_EfficientLengthFollowedByIterable_default] = true; - dart.addTypeCaches(EfficientLengthFollowedByIterable); - EfficientLengthFollowedByIterable[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - dart.setLibraryUri(EfficientLengthFollowedByIterable, I[26]); - dart.defineExtensionMethods(EfficientLengthFollowedByIterable, ['elementAt']); - dart.defineExtensionAccessors(EfficientLengthFollowedByIterable, ['first', 'last']); - return EfficientLengthFollowedByIterable; -}); -_internal.EfficientLengthFollowedByIterable = _internal.EfficientLengthFollowedByIterable$(); -dart.addTypeTests(_internal.EfficientLengthFollowedByIterable, _is_EfficientLengthFollowedByIterable_default); -var _nextIterable$ = dart.privateName(_internal, "_nextIterable"); -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) { - this[_currentIterator] = dart.nullCheck(this[_nextIterable$])[$iterator]; - this[_nextIterable$] = null; - return this[_currentIterator].moveNext(); - } - return false; - } - get current() { - return this[_currentIterator].current; - } - } - (FollowedByIterator.new = function(first, _nextIterable) { - if (first == null) dart.nullFailed(I[39], 845, 34, "first"); - this[_nextIterable$] = _nextIterable; - this[_currentIterator] = first[$iterator]; - ; - }).prototype = FollowedByIterator.prototype; - dart.addTypeTests(FollowedByIterator); - FollowedByIterator.prototype[_is_FollowedByIterator_default] = true; - dart.addTypeCaches(FollowedByIterator); - FollowedByIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(FollowedByIterator, () => ({ - __proto__: dart.getMethods(FollowedByIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FollowedByIterator, () => ({ - __proto__: dart.getGetters(FollowedByIterator.__proto__), - current: E - })); - dart.setLibraryUri(FollowedByIterator, I[26]); - dart.setFieldSignature(FollowedByIterator, () => ({ - __proto__: dart.getFields(FollowedByIterator.__proto__), - [_currentIterator]: dart.fieldType(core.Iterator$(E)), - [_nextIterable$]: dart.fieldType(dart.nullable(core.Iterable$(E))) - })); - return FollowedByIterator; -}); -_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 __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 (__t$WhereTypeIteratorOfT()).new(this[_source$][$iterator]); - } - } - (WhereTypeIterable.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 863, 26, "_source"); - this[_source$] = _source; - WhereTypeIterable.__proto__.new.call(this); - ; - }).prototype = WhereTypeIterable.prototype; - dart.addTypeTests(WhereTypeIterable); - WhereTypeIterable.prototype[_is_WhereTypeIterable_default] = true; - dart.addTypeCaches(WhereTypeIterable); - dart.setGetterSignature(WhereTypeIterable, () => ({ - __proto__: dart.getGetters(WhereTypeIterable.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(WhereTypeIterable, I[26]); - dart.setFieldSignature(WhereTypeIterable, () => ({ - __proto__: dart.getFields(WhereTypeIterable.__proto__), - [_source$]: dart.finalFieldType(core.Iterable$(dart.nullable(core.Object))) - })); - dart.defineExtensionAccessors(WhereTypeIterable, ['iterator']); - return WhereTypeIterable; -}); -_internal.WhereTypeIterable = _internal.WhereTypeIterable$(); -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; - } - return false; - } - get current() { - return T.as(this[_source$].current); - } - } - (WhereTypeIterator.new = function(_source) { - if (_source == null) dart.nullFailed(I[39], 869, 26, "_source"); - this[_source$] = _source; - ; - }).prototype = WhereTypeIterator.prototype; - dart.addTypeTests(WhereTypeIterator); - WhereTypeIterator.prototype[_is_WhereTypeIterator_default] = true; - dart.addTypeCaches(WhereTypeIterator); - WhereTypeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(WhereTypeIterator, () => ({ - __proto__: dart.getMethods(WhereTypeIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(WhereTypeIterator, () => ({ - __proto__: dart.getGetters(WhereTypeIterator.__proto__), - current: T - })); - dart.setLibraryUri(WhereTypeIterator, I[26]); - dart.setFieldSignature(WhereTypeIterator, () => ({ - __proto__: dart.getFields(WhereTypeIterator.__proto__), - [_source$]: dart.finalFieldType(core.Iterator$(dart.nullable(core.Object))) - })); - return WhereTypeIterator; -}); -_internal.WhereTypeIterator = _internal.WhereTypeIterator$(); -dart.addTypeTests(_internal.WhereTypeIterator, _is_WhereTypeIterator_default); -_internal.IterableElementError = class IterableElementError extends core.Object { - static noElement() { - return new core.StateError.new("No element"); - } - static tooMany() { - return new core.StateError.new("Too many elements"); - } - static tooFew() { - return new core.StateError.new("Too few elements"); - } -}; -(_internal.IterableElementError.new = function() { - ; -}).prototype = _internal.IterableElementError.prototype; -dart.addTypeTests(_internal.IterableElementError); -dart.addTypeCaches(_internal.IterableElementError); -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 __t$IterableOfE = () => (__t$IterableOfE = dart.constFn(core.Iterable$(E)))(); - class FixedLengthListMixin extends core.Object { - set length(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) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to a fixed-length list")); - } - insert(index, value) { - 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[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) { - __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[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[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[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[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[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")); - } - } - (FixedLengthListMixin.new = function() { - ; - }).prototype = FixedLengthListMixin.prototype; - dart.addTypeTests(FixedLengthListMixin); - FixedLengthListMixin.prototype[_is_FixedLengthListMixin_default] = true; - dart.addTypeCaches(FixedLengthListMixin); - dart.setMethodSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getMethods(FixedLengthListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]) - })); - dart.setSetterSignature(FixedLengthListMixin, () => ({ - __proto__: dart.getSetters(FixedLengthListMixin.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListMixin, I[26]); - dart.defineExtensionMethods(FixedLengthListMixin, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListMixin, ['length']); - return FixedLengthListMixin; -}); -_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 __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[23], 199, 16, "newLength"); - return super[$length] = newLength; - } - add(value) { - E.as(value); - return super[$add](value); - } - insert(index, value) { - 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[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) { - __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[23], 199, 16, "test"); - return super[$removeWhere](test); - } - retainWhere(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[23], 199, 16, "index"); - return super[$removeAt](index); - } - removeLast() { - return super[$removeLast](); - } - removeRange(start, 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[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); - } - } - (FixedLengthListBase.new = function() { - ; - }).prototype = FixedLengthListBase.prototype; - dart.addTypeTests(FixedLengthListBase); - FixedLengthListBase.prototype[_is_FixedLengthListBase_default] = true; - dart.addTypeCaches(FixedLengthListBase); - dart.setSetterSignature(FixedLengthListBase, () => ({ - __proto__: dart.getSetters(FixedLengthListBase.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(FixedLengthListBase, I[26]); - dart.defineExtensionMethods(FixedLengthListBase, [ - 'add', - 'insert', - 'insertAll', - 'addAll', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - 'removeAt', - 'removeLast', - 'removeRange', - 'replaceRange' - ]); - dart.defineExtensionAccessors(FixedLengthListBase, ['length']); - return FixedLengthListBase; -}); -_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[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[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[26]); -dart.setFieldSignature(_internal._ListIndicesIterable, () => ({ - __proto__: dart.getFields(_internal._ListIndicesIterable.__proto__), - [_backedList$]: dart.fieldType(core.List) -})); -dart.defineExtensionMethods(_internal._ListIndicesIterable, ['elementAt']); -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 __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$; - K.as(key); - V.as(value); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - return value$; - } - addAll(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) { - __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() { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - remove(key) { - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - removeWhere(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); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 303, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - dart.throw(new core.UnsupportedError.new("Cannot modify unmodifiable map")); - } - updateAll(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")); - } - } - (_UnmodifiableMapMixin.new = function() { - ; - }).prototype = _UnmodifiableMapMixin.prototype; - _UnmodifiableMapMixin.prototype[dart.isMap] = true; - dart.addTypeTests(_UnmodifiableMapMixin); - _UnmodifiableMapMixin.prototype[_is__UnmodifiableMapMixin_default] = true; - dart.addTypeCaches(_UnmodifiableMapMixin); - _UnmodifiableMapMixin[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(_UnmodifiableMapMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableMapMixin.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_UnmodifiableMapMixin, I[25]); - dart.defineExtensionMethods(_UnmodifiableMapMixin, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return _UnmodifiableMapMixin; -}); -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 __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; - dart.applyMixin(MapBase__UnmodifiableMapMixin$36, collection._UnmodifiableMapMixin$(K, V)); - class UnmodifiableMapBase extends MapBase__UnmodifiableMapMixin$36 { - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - super._set(key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 217, 16, "other"); - return super.addAll(other); - } - addEntries(entries) { - __t$IterableOfMapEntryOfK$V().as(entries); - if (entries == null) dart.nullFailed(I[37], 217, 16, "entries"); - return super.addEntries(entries); - } - clear() { - return super.clear(); - } - remove(key) { - return super.remove(key); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[37], 217, 16, "test"); - return super.removeWhere(test); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return super.update(key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - __t$KAndVToV().as(update); - if (update == null) dart.nullFailed(I[37], 217, 16, "update"); - return super.updateAll(update); - } - } - (UnmodifiableMapBase.new = function() { - ; - }).prototype = UnmodifiableMapBase.prototype; - dart.addTypeTests(UnmodifiableMapBase); - UnmodifiableMapBase.prototype[_is_UnmodifiableMapBase_default] = true; - dart.addTypeCaches(UnmodifiableMapBase); - dart.setMethodSignature(UnmodifiableMapBase, () => ({ - __proto__: dart.getMethods(UnmodifiableMapBase.__proto__), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(UnmodifiableMapBase, I[25]); - dart.defineExtensionMethods(UnmodifiableMapBase, [ - '_set', - 'addAll', - 'addEntries', - 'clear', - 'remove', - 'removeWhere', - 'putIfAbsent', - 'update', - 'updateAll' - ]); - return UnmodifiableMapBase; -}); -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 __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; - } - get length() { - return this[_values$][$length]; - } - get values() { - return new (__t$SubListIterableOfE()).new(this[_values$], 0, null); - } - get keys() { - return new _internal._ListIndicesIterable.new(this[_values$]); - } - get isEmpty() { - return this[_values$][$isEmpty]; - } - get isNotEmpty() { - return this[_values$][$isNotEmpty]; - } - containsValue(value) { - return this[_values$][$contains](value); - } - containsKey(key) { - return core.int.is(key) && dart.notNull(key) >= 0 && dart.notNull(key) < dart.notNull(this.length); - } - forEach(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)); - if (length != this[_values$][$length]) { - dart.throw(new core.ConcurrentModificationError.new(this[_values$])); - } - } - } - } - (ListMapView.new = function(_values) { - if (_values == null) dart.nullFailed(I[23], 226, 20, "_values"); - this[_values$] = _values; - ; - }).prototype = ListMapView.prototype; - dart.addTypeTests(ListMapView); - ListMapView.prototype[_is_ListMapView_default] = true; - dart.addTypeCaches(ListMapView); - dart.setMethodSignature(ListMapView, () => ({ - __proto__: dart.getMethods(ListMapView.__proto__), - _get: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ListMapView, () => ({ - __proto__: dart.getGetters(ListMapView.__proto__), - keys: core.Iterable$(core.int), - [$keys]: core.Iterable$(core.int) - })); - dart.setLibraryUri(ListMapView, I[26]); - dart.setFieldSignature(ListMapView, () => ({ - __proto__: dart.getFields(ListMapView.__proto__), - [_values$]: dart.fieldType(core.List$(E)) - })); - dart.defineExtensionMethods(ListMapView, ['_get', 'containsValue', 'containsKey', 'forEach']); - dart.defineExtensionAccessors(ListMapView, [ - 'length', - 'values', - 'keys', - 'isEmpty', - 'isNotEmpty' - ]); - return ListMapView; -}); -_internal.ListMapView = _internal.ListMapView$(); -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[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[23], 252, 29, "_source"); - this[_source$] = _source; - ReversedListIterable.__proto__.new.call(this); - ; - }).prototype = ReversedListIterable.prototype; - dart.addTypeTests(ReversedListIterable); - ReversedListIterable.prototype[_is_ReversedListIterable_default] = true; - dart.addTypeCaches(ReversedListIterable); - dart.setLibraryUri(ReversedListIterable, I[26]); - dart.setFieldSignature(ReversedListIterable, () => ({ - __proto__: dart.getFields(ReversedListIterable.__proto__), - [_source$]: dart.fieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(ReversedListIterable, ['elementAt']); - dart.defineExtensionAccessors(ReversedListIterable, ['length']); - return ReversedListIterable; -}); -_internal.ReversedListIterable = _internal.ReversedListIterable$(); -dart.addTypeTests(_internal.ReversedListIterable, _is_ReversedListIterable_default); -_internal.UnmodifiableListError = class UnmodifiableListError extends core.Object { - static add() { - return new core.UnsupportedError.new("Cannot add to unmodifiable List"); - } - static change() { - return new core.UnsupportedError.new("Cannot change the content of an unmodifiable List"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of unmodifiable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from unmodifiable List"); - } -}; -(_internal.UnmodifiableListError.new = function() { - ; -}).prototype = _internal.UnmodifiableListError.prototype; -dart.addTypeTests(_internal.UnmodifiableListError); -dart.addTypeCaches(_internal.UnmodifiableListError); -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"); - } - static length() { - return new core.UnsupportedError.new("Cannot change length of non-growable List"); - } - static remove() { - return new core.UnsupportedError.new("Cannot remove from non-growable List"); - } -}; -(_internal.NonGrowableListError.new = function() { - ; -}).prototype = _internal.NonGrowableListError.prototype; -dart.addTypeTests(_internal.NonGrowableListError); -dart.addTypeCaches(_internal.NonGrowableListError); -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"); -var _previous = dart.privateName(_internal, "_previous"); -var _list = dart.privateName(_internal, "_list"); -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 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 "(...)"; - } - return dart.str(leftDelimiter) + "..." + dart.str(rightDelimiter); - } - let parts = T$.JSArrayOfString().of([]); - collection._toStringVisiting[$add](iterable); - try { - collection._iterablePartsToStrings(iterable, parts); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 242, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - 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[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); - } - let buffer = new core.StringBuffer.new(leftDelimiter); - collection._toStringVisiting[$add](iterable); - try { - buffer.writeAll(iterable, ", "); - } finally { - if (!core.identical(collection._toStringVisiting[$last], iterable)) dart.assertFailed(null, I[41], 271, 14, "identical(_toStringVisiting.last, iterable)"); - collection._toStringVisiting[$removeLast](); - } - buffer.write(rightDelimiter); - return buffer.toString(); - } - } - (IterableBase.new = function() { - IterableBase.__proto__.new.call(this); - ; - }).prototype = IterableBase.prototype; - dart.addTypeTests(IterableBase); - IterableBase.prototype[_is_IterableBase_default] = true; - dart.addTypeCaches(IterableBase); - 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 __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() { - return dart.nullCast(this[_first$], T); - } - get last() { - return dart.nullCast(this[_last], T); - } - get isEmpty() { - return this.length === 0; - } - add(newLast) { - T.as(newLast); - 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[40], 25, 14, "_last!._next == null"); - dart.nullCheck(this[_last])[_next] = newLast; - } else { - this[_first$] = newLast; - } - newLast[_previous] = this[_last]; - this[_last] = newLast; - dart.nullCheck(this[_last])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - addFirst(newFirst) { - T.as(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[40], 41, 14, "_first!._previous == null"); - dart.nullCheck(this[_first$])[_previous] = newFirst; - } else { - this[_last] = newFirst; - } - newFirst[_next] = this[_first$]; - this[_first$] = newFirst; - dart.nullCheck(this[_first$])[_list] = this; - this.length = dart.notNull(this.length) + 1; - } - remove(node) { - T.as(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[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[40], 69, 14, "identical(node, _last)"); - this[_last] = node[_previous]; - } else { - dart.nullCheck(node[_next])[_previous] = node[_previous]; - } - node[_next] = node[_previous] = null; - node[_list] = null; - } - get iterator() { - return new (__t$_LinkedListIteratorOfT()).new(this); - } - static ['_#new#tearOff'](T) { - return new (_internal.LinkedList$(T)).new(); - } - } - (LinkedList.new = function() { - this[_first$] = null; - this[_last] = null; - this[length] = 0; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(T), - [$iterator]: core.Iterator$(T) - })); - dart.setLibraryUri(LinkedList, I[26]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_first$]: dart.fieldType(dart.nullable(T)), - [_last]: dart.fieldType(dart.nullable(T)), - length: dart.fieldType(core.int) - })); - dart.defineExtensionAccessors(LinkedList, [ - 'length', - 'first', - 'last', - 'isEmpty', - 'iterator' - ]); - return LinkedList; -}); -_internal.LinkedList = _internal.LinkedList$(); -dart.addTypeTests(_internal.LinkedList, _is_LinkedList_default); -var _next$ = dart.privateName(_internal, "LinkedListEntry._next"); -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 __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$] = __t$TN().as(value); - } - get [_previous]() { - return this[_previous$]; - } - set [_previous](value) { - this[_previous$] = __t$TN().as(value); - } - get [_list]() { - return this[_list$]; - } - set [_list](value) { - this[_list$] = __t$LinkedListNOfT().as(value); - } - unlink() { - 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() { - this[_next$] = null; - this[_previous$] = null; - this[_list$] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(LinkedListEntry, I[26]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_next]: dart.fieldType(dart.nullable(T)), - [_previous]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return LinkedListEntry; -}); -_internal.LinkedListEntry = _internal.LinkedListEntry$(); -dart.addTypeTests(_internal.LinkedListEntry, _is_LinkedListEntry_default); -const _is__LinkedListIterator_default = Symbol('_is__LinkedListIterator_default'); -_internal._LinkedListIterator$ = dart.generic(T => { - class _LinkedListIterator extends core.Object { - 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[40], 123, 14, "list.length > 0"); - this[_current$] = list.first; - this[_list] = null; - return true; - } - this[_current$] = dart.nullCheck(this[_current$])[_next]; - return this[_current$] != null; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[40], 113, 37, "list"); - this[_current$] = null; - this[_list] = list; - if (list.length === 0) this[_list] = null; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: T - })); - dart.setLibraryUri(_LinkedListIterator, I[26]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_current$]: dart.fieldType(dart.nullable(T)), - [_list]: dart.fieldType(dart.nullable(_internal.LinkedList$(T))) - })); - return _LinkedListIterator; -}); -_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[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[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[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 { - _internal.Sort._dualPivotQuicksort(E, a, left, right, compare); - } - } - static _insertionSort(E, a, left, right, 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; - while (j > dart.notNull(left) && dart.notNull(compare(a[$_get](j - 1), el)) > 0) { - a[$_set](j, a[$_get](j - 1)); - j = j - 1; - } - a[$_set](j, el); - } - } - static _dualPivotQuicksort(E, a, left, right, compare) { - 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; - let index3 = ((dart.notNull(left) + dart.notNull(right)) / 2)[$truncate](); - let index2 = index3 - sixth; - let index4 = index3 + sixth; - let el1 = a[$_get](index1); - let el2 = a[$_get](index2); - let el3 = a[$_get](index3); - let el4 = a[$_get](index4); - let el5 = a[$_get](index5); - if (dart.notNull(compare(el1, el2)) > 0) { - let t = el1; - el1 = el2; - el2 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - if (dart.notNull(compare(el1, el3)) > 0) { - let t = el1; - el1 = el3; - el3 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el1, el4)) > 0) { - let t = el1; - el1 = el4; - el4 = t; - } - if (dart.notNull(compare(el3, el4)) > 0) { - let t = el3; - el3 = el4; - el4 = t; - } - if (dart.notNull(compare(el2, el5)) > 0) { - let t = el2; - el2 = el5; - el5 = t; - } - if (dart.notNull(compare(el2, el3)) > 0) { - let t = el2; - el2 = el3; - el3 = t; - } - if (dart.notNull(compare(el4, el5)) > 0) { - let t = el4; - el4 = el5; - el5 = t; - } - let pivot1 = el2; - let pivot2 = el4; - a[$_set](index1, el1); - a[$_set](index3, el3); - a[$_set](index5, el5); - a[$_set](index2, a[$_get](left)); - a[$_set](index4, a[$_get](right)); - let less = dart.notNull(left) + 1; - let great = dart.notNull(right) - 1; - let pivots_are_equal = compare(pivot1, pivot2) === 0; - if (pivots_are_equal) { - let pivot = pivot1; - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp = compare(ak, pivot); - if (comp === 0) continue; - if (dart.notNull(comp) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - while (true) { - comp = compare(a[$_get](great), pivot); - if (dart.notNull(comp) > 0) { - great = great - 1; - continue; - } else if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$0 = great, great = t71$0 - 1, t71$0), ak); - break; - } - } - } - } - } else { - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (dart.notNull(comp_pivot1) < 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (dart.notNull(comp_pivot2) > 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (dart.notNull(comp) > 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$3 = great, great = t71$3 - 1, t71$3), ak); - } - break; - } - } - } - } - } - } - a[$_set](left, a[$_get](less - 1)); - a[$_set](less - 1, pivot1); - a[$_set](right, a[$_get](great + 1)); - a[$_set](great + 1, pivot2); - _internal.Sort._doSort(E, a, left, less - 2, compare); - _internal.Sort._doSort(E, a, great + 2, right, compare); - if (pivots_are_equal) { - return; - } - if (less < index1 && great > index5) { - while (compare(a[$_get](less), pivot1) === 0) { - less = less + 1; - } - while (compare(a[$_get](great), pivot2) === 0) { - great = great - 1; - } - for (let k = less; k <= great; k = k + 1) { - let ak = a[$_get](k); - let comp_pivot1 = compare(ak, pivot1); - if (comp_pivot1 === 0) { - if (k !== less) { - a[$_set](k, a[$_get](less)); - a[$_set](less, ak); - } - less = less + 1; - } else { - let comp_pivot2 = compare(ak, pivot2); - if (comp_pivot2 === 0) { - while (true) { - let comp = compare(a[$_get](great), pivot2); - if (comp === 0) { - great = great - 1; - if (great < k) break; - continue; - } else { - comp = compare(a[$_get](great), pivot1); - if (dart.notNull(comp) < 0) { - a[$_set](k, a[$_get](less)); - 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]((t71$6 = great, great = t71$6 - 1, t71$6), ak); - } - break; - } - } - } - } - } - _internal.Sort._doSort(E, a, less, great, compare); - } else { - _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.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; - } -}, false); -var _name$0 = dart.privateName(_internal, "Symbol._name"); -_internal.Symbol = class Symbol extends core.Object { - get [_name$]() { - return this[_name$0]; - } - 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$]; - } - get hashCode() { - let hash = this._hashCode; - if (hash != null) return hash; - hash = 536870911 & 664597 * dart.hashCode(this[_name$]); - this._hashCode = hash; - return hash; - } - toString() { - return "Symbol(\"" + dart.str(this[_name$]) + "\")"; - } - static getName(symbol) { - if (symbol == null) dart.nullFailed(I[44], 35, 32, "symbol"); - return symbol[_name$]; - } - static computeUnmangledName(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[43], 20, 23, "name"); - this[_name$0] = name; - ; -}).prototype = _internal.Symbol.prototype; -(_internal.Symbol.unvalidated = function(_name) { - if (_name == null) dart.nullFailed(I[44], 26, 33, "_name"); - this[_name$0] = _name; - ; -}).prototype = _internal.Symbol.prototype; -dart.addTypeTests(_internal.Symbol); -dart.addTypeCaches(_internal.Symbol); -_internal.Symbol[dart.implements] = () => [core.Symbol]; -dart.setMethodSignature(_internal.Symbol, () => ({ - __proto__: dart.getMethods(_internal.Symbol.__proto__), - toString: dart.fnType(dart.dynamic, []), - [$toString]: dart.fnType(dart.dynamic, []) -})); -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']); -_internal.createSentinel = function createSentinel(T) { - return dart.throw(new core.UnsupportedError.new("createSentinel")); -}; -_internal.isSentinel = function isSentinel(value) { - return dart.throw(new core.UnsupportedError.new("isSentinel")); -}; -_internal.typeAcceptsNull = function typeAcceptsNull(T) { - 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[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; - if (97 <= letter && letter <= 102) return letter - (97 - 10); - return -1; -}; -_internal.parseHexByte = function parseHexByte(source, index) { - 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[43], 57, 54, "extract"); - return dart.extractTypeArguments(T, instance, extract); -}; -_internal.checkNotNullable = function checkNotNullable(T, value, 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[22], 782, 58, "value"); - if (defaultVal == null) dart.nullFailed(I[22], 782, 67, "defaultVal"); - if (value == null) { - return defaultVal; - } else { - return value; - } -}; -_internal._checkCount = function _checkCount(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[43], 45, 40, "growableList"); - _interceptors.JSArray.markFixedList(growableList); - return growableList; -}; -_internal.makeFixedListUnmodifiable = function makeFixedListUnmodifiable(T, 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[43], 40, 28, "line"); - _js_primitives.printString(dart.str(line)); -}; -dart.defineLazy(_internal, { - /*_internal.POWERS_OF_TEN*/get POWERS_OF_TEN() { - 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(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]; - } - cancel() { - if (dart.test(_isolate_helper.hasTimer())) { - if (this[_handle] == null) return; - dart.removeAsyncCallback(); - if (dart.test(this[_once])) { - _isolate_helper.global.clearTimeout(this[_handle]); - } else { - _isolate_helper.global.clearInterval(this[_handle]); - } - this[_handle] = null; - } else { - dart.throw(new core.UnsupportedError.new("Canceling a timer.")); - } - } - get isActive() { - return this[_handle] != null; - } -}; -(_isolate_helper.TimerImpl.new = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - let currentHotRestartIteration = dart.hotRestartIteration; - const internalCallback = () => { - this[_handle] = null; - dart.removeAsyncCallback(); - this[_tick] = 1; - if (currentHotRestartIteration == dart.hotRestartIteration) { - callback(); - } - }; - dart.fn(internalCallback, T$.VoidTovoid()); - dart.addAsyncCallback(); - this[_handle] = _isolate_helper.global.setTimeout(internalCallback, milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("`setTimeout()` not found.")); - } -}).prototype = _isolate_helper.TimerImpl.prototype; -(_isolate_helper.TimerImpl.periodic = function(milliseconds, 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; - if (dart.test(_isolate_helper.hasTimer())) { - dart.addAsyncCallback(); - let start = Date.now(); - let currentHotRestartIteration = dart.hotRestartIteration; - this[_handle] = _isolate_helper.global.setInterval(dart.fn(() => { - if (currentHotRestartIteration != dart.hotRestartIteration) { - this.cancel(); - return; - } - let tick = dart.notNull(this[_tick]) + 1; - if (dart.notNull(milliseconds) > 0) { - let duration = Date.now() - start; - if (duration > (tick + 1) * dart.notNull(milliseconds)) { - tick = (duration / dart.notNull(milliseconds))[$truncate](); - } - } - this[_tick] = tick; - callback(this); - }, T$.VoidToNull()), milliseconds); - } else { - dart.throw(new core.UnsupportedError.new("Periodic timer.")); - } -}).prototype = _isolate_helper.TimerImpl.prototype; -dart.addTypeTests(_isolate_helper.TimerImpl); -dart.addTypeCaches(_isolate_helper.TimerImpl); -_isolate_helper.TimerImpl[dart.implements] = () => [async.Timer]; -dart.setMethodSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getMethods(_isolate_helper.TimerImpl.__proto__), - cancel: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getGetters(_isolate_helper.TimerImpl.__proto__), - tick: core.int, - isActive: core.bool -})); -dart.setLibraryUri(_isolate_helper.TimerImpl, I[46]); -dart.setFieldSignature(_isolate_helper.TimerImpl, () => ({ - __proto__: dart.getFields(_isolate_helper.TimerImpl.__proto__), - [_once]: dart.finalFieldType(core.bool), - [_handle]: dart.fieldType(dart.nullable(core.int)), - [_tick]: dart.fieldType(core.int) -})); -_isolate_helper.startRootIsolate = function startRootIsolate(main, args) { - if (args == null) args = T$.JSArrayOfString().of([]); - if (core.List.is(args)) { - if (!T$.ListOfString().is(args)) args = T$.ListOfString().from(args); - if (typeof main == "function") { - main(args, null); - } else { - dart.dcall(main, [args]); - } - } else { - dart.throw(new core.ArgumentError.new("Arguments to main must be a List: " + dart.str(args))); - } -}; -_isolate_helper.hasTimer = function hasTimer() { - return _isolate_helper.global.setTimeout != null; -}; -dart.defineLazy(_isolate_helper, { - /*_isolate_helper.global*/get global() { - return dart.global; - } -}, false); -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]); - } - moveNext() { - let ret = this[_jsIterator$].next(); - this[_current$0] = ret.value; - return !ret.done; - } - } - (DartIterator.new = function(_jsIterator) { - this[_current$0] = null; - this[_jsIterator$] = _jsIterator; - ; - }).prototype = DartIterator.prototype; - dart.addTypeTests(DartIterator); - DartIterator.prototype[_is_DartIterator_default] = true; - dart.addTypeCaches(DartIterator); - DartIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(DartIterator, () => ({ - __proto__: dart.getMethods(DartIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(DartIterator, () => ({ - __proto__: dart.getGetters(DartIterator.__proto__), - current: E - })); - dart.setLibraryUri(DartIterator, I[47]); - dart.setFieldSignature(DartIterator, () => ({ - __proto__: dart.getFields(DartIterator.__proto__), - [_jsIterator$]: dart.finalFieldType(dart.dynamic), - [_current$0]: dart.fieldType(dart.nullable(E)) - })); - return DartIterator; -}); -_js_helper.DartIterator = _js_helper.DartIterator$(); -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 __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 (__t$DartIteratorOfE()).new(this[_initGenerator$]()); - } - } - (SyncIterable.new = function(_initGenerator) { - if (_initGenerator == null) dart.nullFailed(I[48], 58, 21, "_initGenerator"); - this[_initGenerator$] = _initGenerator; - SyncIterable.__proto__.new.call(this); - ; - }).prototype = SyncIterable.prototype; - dart.addTypeTests(SyncIterable); - SyncIterable.prototype[_is_SyncIterable_default] = true; - dart.addTypeCaches(SyncIterable); - dart.setMethodSignature(SyncIterable, () => ({ - __proto__: dart.getMethods(SyncIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(SyncIterable, () => ({ - __proto__: dart.getGetters(SyncIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(SyncIterable, I[47]); - dart.setFieldSignature(SyncIterable, () => ({ - __proto__: dart.getFields(SyncIterable.__proto__), - [_initGenerator$]: dart.finalFieldType(dart.fnType(dart.dynamic, [])) - })); - dart.defineExtensionAccessors(SyncIterable, ['iterator']); - return SyncIterable; -}); -_js_helper.SyncIterable = _js_helper.SyncIterable$(); -dart.addTypeTests(_js_helper.SyncIterable, _is_SyncIterable_default); -_js_helper.Primitives = class Primitives extends core.Object { - static parseInt(source, _radix) { - if (source == null) dart.argumentError(source); - let re = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i; - let match = re.exec(source); - let digitsIndex = 1; - let hexIndex = 2; - let decimalIndex = 3; - if (match == null) { - return null; - } - let decimalMatch = match[$_get](decimalIndex); - if (_radix == null) { - if (decimalMatch != null) { - return parseInt(source, 10); - } - if (match[$_get](hexIndex) != null) { - return parseInt(source, 16); - } - return null; - } - let radix = _radix; - if (radix < 2 || radix > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return parseInt(source, 10); - } - if (radix < 10 || decimalMatch == null) { - let maxCharCode = null; - if (radix <= 10) { - maxCharCode = 48 - 1 + radix; - } else { - maxCharCode = 97 - 10 - 1 + radix; - } - 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; - if (characterCode > dart.notNull(maxCharCode)) { - return null; - } - } - } - return parseInt(source, radix); - } - static parseDouble(source) { - if (source == null) dart.argumentError(source); - if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) { - return null; - } - let result = parseFloat(source); - if (result[$isNaN]) { - let trimmed = source[$trim](); - if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") { - return result; - } - return null; - } - return result; - } - static dateNow() { - return Date.now(); - } - static initTicker() { - if (_js_helper.Primitives.timerFrequency !== 0) return; - _js_helper.Primitives.timerFrequency = 1000; - if (typeof window == "undefined") return; - let jsWindow = window; - if (jsWindow == null) return; - let performance = jsWindow.performance; - if (performance == null) return; - if (typeof performance.now != "function") return; - _js_helper.Primitives.timerFrequency = 1000000; - _js_helper.Primitives.timerTicks = dart.fn(() => (1000 * performance.now())[$floor](), T$.VoidToint()); - } - static get isD8() { - return typeof version == "function" && typeof os == "object" && "system" in os; - } - static get isJsshell() { - return typeof version == "function" && typeof system == "function"; - } - static currentUri() { - if (!!dart.global.location) { - return dart.global.location.href; - } - return ""; - } - static _fromCharCodeApply(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); - } - let result = ""; - for (let i = 0; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, array.slice(i, chunkEnd)); - } - return result; - } - static stringFromCodePoints(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); - { - if (i <= 65535) { - a[$add](i); - } else if (i <= 1114111) { - a[$add](55296 + (i - 65536 >> 10 & 1023)); - a[$add](56320 + (i & 1023)); - } else { - dart.throw(_js_helper.argumentErrorValue(i)); - } - } - } - return _js_helper.Primitives._fromCharCodeApply(a); - } - static stringFromCharCodes(charCodes) { - if (charCodes == null) dart.nullFailed(I[48], 248, 50, "charCodes"); - for (let i of charCodes) { - if (i == null) dart.argumentError(i); - { - if (i < 0) dart.throw(_js_helper.argumentErrorValue(i)); - if (i > 65535) return _js_helper.Primitives.stringFromCodePoints(charCodes); - } - } - return _js_helper.Primitives._fromCharCodeApply(charCodes); - } - static stringFromNativeUint8List(charCodes, start, end) { - 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]) { - return String.fromCharCode.apply(null, charCodes); - } - let result = ""; - for (let i = start; i < end; i = i + 500) { - let chunkEnd = i + 500 < end ? i + 500 : end; - result = result + String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd)); - } - return result; - } - static stringFromCharCode(charCode) { - if (charCode == null) dart.argumentError(charCode); - if (0 <= charCode) { - if (charCode <= 65535) { - return String.fromCharCode(charCode); - } - if (charCode <= 1114111) { - let bits = charCode - 65536; - let low = 56320 | bits & 1023; - let high = (55296 | bits[$rightShift](10)) >>> 0; - return String.fromCharCode(high, low); - } - } - dart.throw(new core.RangeError.range(charCode, 0, 1114111)); - } - static flattenString(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[48], 298, 42, "receiver"); - let d = _js_helper.Primitives.lazyAsJsDate(receiver); - let match = /\((.*)\)/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /^[A-Z,a-z]{3}\s[A-Z,a-z]{3}\s\d+\s\d{2}:\d{2}:\d{2}\s([A-Z]{3,5})\s\d{4}$/.exec(d.toString()); - if (match != null) return match[$_get](1); - match = /(?:GMT|UTC)[+-]\d{4}/.exec(d.toString()); - if (match != null) return match[$_get](0); - return ""; - } - static getTimeZoneOffsetInMinutes(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) { - if (years == null) dart.argumentError(years); - if (month == null) dart.argumentError(month); - if (day == null) dart.argumentError(day); - if (hours == null) dart.argumentError(hours); - if (minutes == null) dart.argumentError(minutes); - if (seconds == null) dart.argumentError(seconds); - if (milliseconds == null) dart.argumentError(milliseconds); - if (isUtc == null) dart.argumentError(isUtc); - let MAX_MILLISECONDS_SINCE_EPOCH = 8640000000000000; - let jsMonth = month - 1; - if (0 <= years && years < 100) { - years = years + 400; - jsMonth = jsMonth - 400 * 12; - } - let value = null; - if (isUtc) { - value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds); - } else { - value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); - } - if (value[$isNaN] || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) { - return null; - } - if (years <= 0 || years < 100) return _js_helper.Primitives.patchUpY2K(value, years, isUtc); - return value; - } - static patchUpY2K(value, years, isUtc) { - let date = new Date(value); - if (dart.dtest(isUtc)) { - date.setUTCFullYear(years); - } else { - date.setFullYear(years); - } - return date.valueOf(); - } - static lazyAsJsDate(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[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[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[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[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[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[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[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[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; - } - static valueFromDateString(str) { - if (!(typeof str == 'string')) dart.throw(_js_helper.argumentErrorValue(str)); - let value = Date.parse(str); - if (value[$isNaN]) dart.throw(_js_helper.argumentErrorValue(str)); - return value; - } - static getProperty(object, 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)); - } - return object[key]; - } - static setProperty(object, key, value) { - if (object == null || typeof object == 'boolean' || typeof object == 'number' || typeof object == 'string') { - dart.throw(_js_helper.argumentErrorValue(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.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; - }, - /*_js_helper.Primitives.timerFrequency*/get timerFrequency() { - return 0; - }, - set timerFrequency(value) { - if (value == null) dart.nullFailed(I[48], 182, 14, "timerFrequency"); - }, - /*_js_helper.Primitives.timerTicks*/get timerTicks() { - return C[24] || CT.C24; - }, - 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"); -var _method = dart.privateName(_js_helper, "_method"); -var _receiver$1 = dart.privateName(_js_helper, "_receiver"); -var _arguments$0 = dart.privateName(_js_helper, "_arguments"); -var _memberName$0 = dart.privateName(_js_helper, "_memberName"); -var _invocation$0 = dart.privateName(_js_helper, "_invocation"); -var _namedArguments$0 = dart.privateName(_js_helper, "_namedArguments"); -_js_helper.JsNoSuchMethodError = class JsNoSuchMethodError extends core.Error { - get [_receiver$1]() { - return this[_receiver$0]; - } - 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) { - return "NoSuchMethodError: method not found: '" + dart.str(this[_method]) + "' (" + dart.str(this[_message$0]) + ")"; - } - return "NoSuchMethodError: " + "method not found: '" + dart.str(this[_method]) + "' on '" + dart.str(this[_receiver$1]) + "' (" + dart.str(this[_message$0]) + ")"; - } - get [_receiver$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[29] || CT.C29))); - } -}; -(_js_helper.JsNoSuchMethodError.new = function(_message, match) { - this[_message$0] = _message; - this[_method] = match == null ? null : match.method; - this[_receiver$0] = match == null ? null : match.receiver; - _js_helper.JsNoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = _js_helper.JsNoSuchMethodError.prototype; -dart.addTypeTests(_js_helper.JsNoSuchMethodError); -dart.addTypeCaches(_js_helper.JsNoSuchMethodError); -_js_helper.JsNoSuchMethodError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setGetterSignature(_js_helper.JsNoSuchMethodError, () => ({ - __proto__: dart.getGetters(_js_helper.JsNoSuchMethodError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -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)), - [_method]: dart.finalFieldType(dart.nullable(core.String)), - [_receiver$1]: dart.finalFieldType(dart.nullable(core.String)) -})); -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[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[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$1 = dart.privateName(_js_helper, "Creates.types"); -_js_helper.Creates = class Creates extends core.Object { - get types() { - 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[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[47]); -dart.setFieldSignature(_js_helper.Creates, () => ({ - __proto__: dart.getFields(_js_helper.Creates.__proto__), - types: dart.finalFieldType(core.String) -})); -var types$2 = dart.privateName(_js_helper, "Returns.types"); -_js_helper.Returns = class Returns extends core.Object { - get types() { - 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[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[47]); -dart.setFieldSignature(_js_helper.Returns, () => ({ - __proto__: dart.getFields(_js_helper.Returns.__proto__), - types: dart.finalFieldType(core.String) -})); -var name$6 = dart.privateName(_js_helper, "JSName.name"); -_js_helper.JSName = class JSName extends core.Object { - get name() { - return this[name$6]; - } - 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[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[47]); -dart.setFieldSignature(_js_helper.JSName, () => ({ - __proto__: dart.getFields(_js_helper.JSName.__proto__), - name: dart.finalFieldType(core.String) -})); -const _is_JavaScriptIndexingBehavior_default = Symbol('_is_JavaScriptIndexingBehavior_default'); -_js_helper.JavaScriptIndexingBehavior$ = dart.generic(E => { - class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable$(E) {} - (JavaScriptIndexingBehavior.new = function() { - ; - }).prototype = JavaScriptIndexingBehavior.prototype; - dart.addTypeTests(JavaScriptIndexingBehavior); - JavaScriptIndexingBehavior.prototype[_is_JavaScriptIndexingBehavior_default] = true; - dart.addTypeCaches(JavaScriptIndexingBehavior); - 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[48], 695, 22, "_message"); - this[_message$0] = _message; - _js_helper.TypeErrorImpl.__proto__.new.call(this); - ; -}).prototype = _js_helper.TypeErrorImpl.prototype; -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[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']); -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](); - } -}; -(core.FallThroughError.new = function() { - core.FallThroughError.__proto__.new.call(this); - ; -}).prototype = core.FallThroughError.prototype; -(core.FallThroughError._create = function(url, 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[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); - ; -}).prototype = _js_helper.FallThroughErrorImplementation.prototype; -dart.addTypeTests(_js_helper.FallThroughErrorImplementation); -dart.addTypeCaches(_js_helper.FallThroughErrorImplementation); -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 { - get message() { - return this[message$]; - } - set message(value) { - super.message = value; - } - static ['_#new#tearOff'](message) { - return new _js_helper.RuntimeError.new(message); - } - toString() { - return "RuntimeError: " + dart.str(this.message); - } -}; -(_js_helper.RuntimeError.new = function(message) { - this[message$] = message; - _js_helper.RuntimeError.__proto__.new.call(this); - ; -}).prototype = _js_helper.RuntimeError.prototype; -dart.addTypeTests(_js_helper.RuntimeError); -dart.addTypeCaches(_js_helper.RuntimeError); -dart.setLibraryUri(_js_helper.RuntimeError, I[47]); -dart.setFieldSignature(_js_helper.RuntimeError, () => ({ - __proto__: dart.getFields(_js_helper.RuntimeError.__proto__), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(_js_helper.RuntimeError, ['toString']); -var enclosingLibrary$ = dart.privateName(_js_helper, "DeferredNotLoadedError.enclosingLibrary"); -var importPrefix$ = dart.privateName(_js_helper, "DeferredNotLoadedError.importPrefix"); -_js_helper.DeferredNotLoadedError = class DeferredNotLoadedError extends core.Error { - get enclosingLibrary() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[25] || CT.C25))); - } - get [_arguments$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[26] || CT.C26))); - } - get [_memberName$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[27] || CT.C27))); - } - get [_invocation$]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[28] || CT.C28))); - } - get [_namedArguments$]() { - 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[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); - ; -}).prototype = _js_helper.DeferredNotLoadedError.prototype; -dart.addTypeTests(_js_helper.DeferredNotLoadedError); -dart.addTypeCaches(_js_helper.DeferredNotLoadedError); -_js_helper.DeferredNotLoadedError[dart.implements] = () => [core.NoSuchMethodError]; -dart.setGetterSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getGetters(_js_helper.DeferredNotLoadedError.__proto__), - [_receiver$]: dart.nullable(core.Object), - [_arguments$]: dart.nullable(core.List), - [_memberName$]: core.Symbol, - [_invocation$]: dart.nullable(core.Invocation), - [_namedArguments$]: dart.nullable(core.Map$(core.Symbol, dart.dynamic)) -})); -dart.setLibraryUri(_js_helper.DeferredNotLoadedError, I[47]); -dart.setFieldSignature(_js_helper.DeferredNotLoadedError, () => ({ - __proto__: dart.getFields(_js_helper.DeferredNotLoadedError.__proto__), - enclosingLibrary: dart.fieldType(core.String), - importPrefix: dart.fieldType(core.String) -})); -dart.defineExtensionMethods(_js_helper.DeferredNotLoadedError, ['toString']); -var _fileUri$ = dart.privateName(_js_helper, "_fileUri"); -var _line$ = dart.privateName(_js_helper, "_line"); -var _column$ = dart.privateName(_js_helper, "_column"); -var _conditionSource$ = dart.privateName(_js_helper, "_conditionSource"); -var message$0 = dart.privateName(core, "AssertionError.message"); -core.AssertionError = class AssertionError extends core.Error { - get message() { - return this[message$0]; - } - 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)); - } - return "Assertion failed"; - } -}; -(core.AssertionError.new = function(message = null) { - this[message$0] = message; - core.AssertionError.__proto__.new.call(this); - ; -}).prototype = core.AssertionError.prototype; -dart.addTypeTests(core.AssertionError); -dart.addTypeCaches(core.AssertionError); -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) { - failureMessage = failureMessage + (dart.str(this[_fileUri$]) + ":" + dart.str(this[_line$]) + ":" + dart.str(this[_column$]) + "\n" + dart.str(this[_conditionSource$]) + "\n"); - } - failureMessage = failureMessage + dart.notNull(this.message != null ? core.Error.safeToString(this.message) : "is not true"); - return "Assertion failed: " + failureMessage; - } -}; -(_js_helper.AssertionErrorImpl.new = function(message, _fileUri = null, _line = null, _column = null, _conditionSource = null) { - this[_fileUri$] = _fileUri; - this[_line$] = _line; - this[_column$] = _column; - this[_conditionSource$] = _conditionSource; - _js_helper.AssertionErrorImpl.__proto__.new.call(this, message); - ; -}).prototype = _js_helper.AssertionErrorImpl.prototype; -dart.addTypeTests(_js_helper.AssertionErrorImpl); -dart.addTypeCaches(_js_helper.AssertionErrorImpl); -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)), - [_line$]: dart.finalFieldType(dart.nullable(core.int)), - [_column$]: dart.finalFieldType(dart.nullable(core.int)), - [_conditionSource$]: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(_js_helper.AssertionErrorImpl, ['toString']); -_js_helper.BooleanConversionAssertionError = class BooleanConversionAssertionError extends core.AssertionError { - 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); - ; -}).prototype = _js_helper.BooleanConversionAssertionError.prototype; -dart.addTypeTests(_js_helper.BooleanConversionAssertionError); -dart.addTypeCaches(_js_helper.BooleanConversionAssertionError); -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"); -var _name = dart.privateName(_js_helper, "_name"); -var _nativeSymbol = dart.privateName(_js_helper, "_nativeSymbol"); -_js_helper.PrivateSymbol = class PrivateSymbol extends core.Object { - get [_name]() { - return this[_name$1]; - } - set [_name](value) { - super[_name] = value; - } - get [_nativeSymbol]() { - return this[_nativeSymbol$]; - } - 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[48], 800, 32, "symbol"); - return _js_helper.PrivateSymbol.as(symbol)[_name]; - } - static getNativeSymbol(symbol) { - if (symbol == null) dart.nullFailed(I[48], 802, 41, "symbol"); - if (_js_helper.PrivateSymbol.is(symbol)) return symbol[_nativeSymbol]; - return null; - } - _equals(other) { - if (other == null) return false; - return _js_helper.PrivateSymbol.is(other) && this[_name] == other[_name] && core.identical(this[_nativeSymbol], other[_nativeSymbol]); - } - get hashCode() { - return dart.hashCode(this[_name]); - } - toString() { - return "Symbol(\"" + dart.str(this[_name]) + "\")"; - } -}; -(_js_helper.PrivateSymbol.new = function(_name, _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; - ; -}).prototype = _js_helper.PrivateSymbol.prototype; -dart.addTypeTests(_js_helper.PrivateSymbol); -dart.addTypeCaches(_js_helper.PrivateSymbol); -_js_helper.PrivateSymbol[dart.implements] = () => [core.Symbol]; -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), - [_nativeSymbol]: dart.finalFieldType(core.Object) -})); -dart.defineExtensionMethods(_js_helper.PrivateSymbol, ['_equals', 'toString']); -dart.defineExtensionAccessors(_js_helper.PrivateSymbol, ['hashCode']); -_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[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[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[47]); -var value$1 = dart.privateName(_js_helper, "ReifyFunctionTypes.value"); -_js_helper.ReifyFunctionTypes = class ReifyFunctionTypes extends core.Object { - get value() { - return this[value$1]; - } - 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[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[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 { - 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[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[47]); -var name$7 = dart.privateName(_js_helper, "Native.name"); -_js_helper.Native = class Native extends core.Object { - get name() { - return this[name$7]; - } - 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[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[47]); -dart.setFieldSignature(_js_helper.Native, () => ({ - __proto__: dart.getFields(_js_helper.Native.__proto__), - name: dart.finalFieldType(core.String) -})); -var name$8 = dart.privateName(_js_helper, "JsPeerInterface.name"); -_js_helper.JsPeerInterface = class JsPeerInterface extends core.Object { - get name() { - return this[name$8]; - } - 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[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[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 { - 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[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[50], 18, 21, "action"); - let modifications = this[_modifications]; - for (let entry of this[_map$].entries()) { - action(entry[0], entry[1]); - if (modifications !== this[_modifications]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - } - (InternalMap.new = function() { - ; - }).prototype = InternalMap.prototype; - dart.addTypeTests(InternalMap); - InternalMap.prototype[_is_InternalMap_default] = true; - dart.addTypeCaches(InternalMap); - InternalMap[dart.implements] = () => [collection.LinkedHashMap$(K, V), collection.HashMap$(K, V)]; - dart.setLibraryUri(InternalMap, I[47]); - dart.defineExtensionMethods(InternalMap, ['forEach']); - return InternalMap; -}); -_js_helper.InternalMap = _js_helper.InternalMap$(); -dart.addTypeTests(_js_helper.InternalMap, _is_InternalMap_default); -var _map = dart.privateName(_js_helper, "LinkedMap._map"); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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) => { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - this[_map$].set(key, value); - }, __t$KAndVTovoid())); - if (length !== map.size) { - 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) & 0x3fffffff); - if (buckets != null) { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.equals(k, key)) return this[_map$].get(k); - } - } - return null; - } - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap]); - } - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) { - this[_keyMap].set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return map.get(k); - } - buckets.push(key); - } - } else if (map.has(key)) { - return map.get(key); - } - let value = ifAbsent(); - if (value == null) { - value = null; - } - map.set(key, value); - 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) & 0x3fffffff; - let buckets = this[_keyMap].get(hash); - if (buckets == null) return null; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return null; - } - } - let map = this[_map$]; - let value = map.get(key); - if (map.delete(key)) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value == null ? null : value; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (LinkedMap.new = function() { - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - ; - }).prototype = LinkedMap.prototype; - (LinkedMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[50], 68, 26, "entries"); - this[_map] = new Map(); - this[_keyMap] = new Map(); - this[_modifications$] = 0; - let map = this[_map$]; - let keyMap = this[_keyMap]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - let key = entries[i]; - let value = entries[i + 1]; - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, keyMap); - } - map.set(key, value); - } - }).prototype = LinkedMap.prototype; - dart.addTypeTests(LinkedMap); - LinkedMap.prototype[_is_LinkedMap_default] = true; - dart.addTypeCaches(LinkedMap); - dart.setMethodSignature(LinkedMap, () => ({ - __proto__: dart.getMethods(LinkedMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(LinkedMap, () => ({ - __proto__: dart.getGetters(LinkedMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(LinkedMap, I[47]); - dart.setFieldSignature(LinkedMap, () => ({ - __proto__: dart.getFields(LinkedMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(LinkedMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(LinkedMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return LinkedMap; -}); -_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 __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); - V.as(value); - dart.throw(_js_helper.ImmutableMap._unsupported()); - return value$; - } - addAll(other) { - core.Object.as(other); - if (other == null) dart.nullFailed(I[50], 268, 22, "other"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - clear() { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - remove(key) { - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[50], 271, 26, "ifAbsent"); - return dart.throw(_js_helper.ImmutableMap._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable map"); - } - } - (ImmutableMap.from = function(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.setStaticMethodSignature(ImmutableMap, () => ['_unsupported']); - dart.setLibraryUri(ImmutableMap, I[47]); - dart.defineExtensionMethods(ImmutableMap, [ - '_set', - 'addAll', - 'clear', - 'remove', - 'putIfAbsent' - ]); - return ImmutableMap; -}); -_js_helper.ImmutableMap = _js_helper.ImmutableMap$(); -dart.addTypeTests(_js_helper.ImmutableMap, _is_ImmutableMap_default); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$0]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - return this[_map$].has(key); - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(v, value)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - _get(key) { - let value = this[_map$].get(key); - return value == null ? null : value; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let map = this[_map$]; - let length = map.size; - map.set(key, value); - if (length !== map.size) { - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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 & 1073741823; - return value; - } - remove(key) { - let value = this[_map$].get(key); - if (this[_map$].delete(key)) { - 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 & 1073741823; - } - } - } - (IdentityMap.new = function() { - this[_map$0] = new Map(); - this[_modifications$0] = 0; - ; - }).prototype = IdentityMap.prototype; - (IdentityMap.from = function(entries) { - if (entries == null) dart.nullFailed(I[51], 22, 28, "entries"); - this[_map$0] = new Map(); - this[_modifications$0] = 0; - let map = this[_map$]; - for (let i = 0, n = entries.length; i < n; i = i + 2) { - map.set(entries[i], entries[i + 1]); - } - }).prototype = IdentityMap.prototype; - dart.addTypeTests(IdentityMap); - IdentityMap.prototype[_is_IdentityMap_default] = true; - dart.addTypeCaches(IdentityMap); - dart.setMethodSignature(IdentityMap, () => ({ - __proto__: dart.getMethods(IdentityMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(IdentityMap, () => ({ - __proto__: dart.getGetters(IdentityMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(IdentityMap, I[47]); - dart.setFieldSignature(IdentityMap, () => ({ - __proto__: dart.getFields(IdentityMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_modifications]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(IdentityMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(IdentityMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return IdentityMap; -}); -_js_helper.IdentityMap = _js_helper.IdentityMap$(); -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 __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]; - } - get isEmpty() { - return this[_map$][$isEmpty]; - } - [Symbol.iterator]() { - let map = this[_map$]; - let iterator = this[_isKeys$] ? map[_map$].keys() : map[_map$].values(); - let modifications = map[_modifications]; - return { - next() { - if (modifications != map[_modifications]) { - throw new core.ConcurrentModificationError.new(map); - } - return iterator.next(); - } - }; - } - get 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[51], 134, 33, "f"); - for (let entry of this) - f(entry); - } - } - (_JSMapIterable.new = function(_map, _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); - ; - }).prototype = _JSMapIterable.prototype; - dart.addTypeTests(_JSMapIterable); - _JSMapIterable.prototype[_is__JSMapIterable_default] = true; - dart.addTypeCaches(_JSMapIterable); - dart.setMethodSignature(_JSMapIterable, () => ({ - __proto__: dart.getMethods(_JSMapIterable.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_JSMapIterable, () => ({ - __proto__: dart.getGetters(_JSMapIterable.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_JSMapIterable, I[47]); - dart.setFieldSignature(_JSMapIterable, () => ({ - __proto__: dart.getFields(_JSMapIterable.__proto__), - [_map$]: dart.finalFieldType(_js_helper.InternalMap), - [_isKeys$]: dart.finalFieldType(core.bool) - })); - dart.defineExtensionMethods(_JSMapIterable, ['contains', 'forEach']); - dart.defineExtensionAccessors(_JSMapIterable, ['length', 'isEmpty', 'iterator']); - return _JSMapIterable; -}); -_js_helper._JSMapIterable = _js_helper._JSMapIterable$(); -dart.addTypeTests(_js_helper._JSMapIterable, _is__JSMapIterable_default); -var _validKey$ = dart.privateName(_js_helper, "_validKey"); -var _map$1 = dart.privateName(_js_helper, "CustomHashMap._map"); -var _modifications$1 = dart.privateName(_js_helper, "CustomHashMap._modifications"); -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 __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]; - } - set [_map$](value) { - super[_map$] = value; - } - get [_modifications]() { - return this[_modifications$1]; - } - 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; - } - get isEmpty() { - return this[_map$].size == 0; - } - get isNotEmpty() { - return this[_map$].size != 0; - } - get keys() { - return new (__t$_JSMapIterableOfK()).new(this, true); - } - get values() { - return new (__t$_JSMapIterableOfV()).new(this, false); - } - containsKey(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - containsValue(value) { - for (let v of this[_map$].values()) { - if (dart.equals(value, v)) return true; - } - return false; - } - addAll(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); - }, __t$KAndVTovoid())); - } - _get(key) { - let t71; - if (K.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - let value = this[_map$].get(k); - return value == null ? null : value; - } - } - } - } - return null; - } - _set(key, value$) { - let value = value$; - let t71; - K.as(key); - V.as(value); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length;;) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - key = k; - break; - } - if ((i = i + 1) >= n) { - buckets.push(key); - break; - } - } - } - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value$; - } - putIfAbsent(key, ifAbsent) { - let t71; - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[52], 138, 26, "ifAbsent"); - let keyMap = this[_keyMap]; - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return this[_map$].get(k); - } - buckets.push(key); - } - let value = ifAbsent(); - if (value == null) value = null; - this[_map$].set(key, value); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value; - } - remove(key) { - let t71; - if (K.is(key)) { - let hash = (t71 = key, this[_hashCode$](t71)) & 0x3fffffff; - let keyMap = this[_keyMap]; - let buckets = keyMap.get(hash); - if (buckets == null) return null; - let equals = this[_equals$]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - let map = this[_map$]; - let value = map.get(k); - map.delete(k); - this[_modifications] = this[_modifications] + 1 & 1073741823; - return value == null ? null : value; - } - } - } - return null; - } - clear() { - let map = this[_map$]; - if (map.size > 0) { - map.clear(); - this[_keyMap].clear(); - this[_modifications] = this[_modifications] + 1 & 1073741823; - } - } - } - (CustomHashMap.new = function(_equals, _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; - this[_equals$] = _equals; - this[_hashCode$] = _hashCode; - ; - }).prototype = CustomHashMap.prototype; - dart.addTypeTests(CustomHashMap); - CustomHashMap.prototype[_is_CustomHashMap_default] = true; - dart.addTypeCaches(CustomHashMap); - dart.setMethodSignature(CustomHashMap, () => ({ - __proto__: dart.getMethods(CustomHashMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(CustomHashMap, () => ({ - __proto__: dart.getGetters(CustomHashMap.__proto__), - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K) - })); - dart.setLibraryUri(CustomHashMap, I[47]); - dart.setFieldSignature(CustomHashMap, () => ({ - __proto__: dart.getFields(CustomHashMap.__proto__), - [_map$]: dart.finalFieldType(dart.dynamic), - [_keyMap]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications]: dart.fieldType(core.int), - [_equals$]: dart.finalFieldType(dart.fnType(core.bool, [K, K])), - [_hashCode$]: dart.finalFieldType(dart.fnType(core.int, [K])) - })); - dart.defineExtensionMethods(CustomHashMap, [ - 'containsKey', - 'containsValue', - 'addAll', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear' - ]); - dart.defineExtensionAccessors(CustomHashMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' - ]); - return CustomHashMap; -}); -_js_helper.CustomHashMap = _js_helper.CustomHashMap$(); -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 t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return false; - return super.containsKey(key); - } - _get(key) { - let t71; - if (!dart.test((t71 = key, this[_validKey$](t71)))) return null; - return super._get(key); - } - remove(key) { - 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[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); - ; - }).prototype = CustomKeyHashMap.prototype; - dart.addTypeTests(CustomKeyHashMap); - CustomKeyHashMap.prototype[_is_CustomKeyHashMap_default] = true; - dart.addTypeCaches(CustomKeyHashMap); - dart.setLibraryUri(CustomKeyHashMap, I[47]); - dart.setFieldSignature(CustomKeyHashMap, () => ({ - __proto__: dart.getFields(CustomKeyHashMap.__proto__), - [_validKey$]: dart.finalFieldType(dart.fnType(core.bool, [dart.nullable(core.Object)])) - })); - dart.defineExtensionMethods(CustomKeyHashMap, ['containsKey', '_get', 'remove']); - return CustomKeyHashMap; -}); -_js_helper.CustomKeyHashMap = _js_helper.CustomKeyHashMap$(); -dart.addTypeTests(_js_helper.CustomKeyHashMap, _is_CustomKeyHashMap_default); -var pattern = dart.privateName(_js_helper, "JSSyntaxRegExp.pattern"); -var _nativeGlobalRegExp = dart.privateName(_js_helper, "_nativeGlobalRegExp"); -var _nativeAnchoredRegExp = dart.privateName(_js_helper, "_nativeAnchoredRegExp"); -var _nativeRegExp = dart.privateName(_js_helper, "_nativeRegExp"); -var _isMultiLine = dart.privateName(_js_helper, "_isMultiLine"); -var _isCaseSensitive = dart.privateName(_js_helper, "_isCaseSensitive"); -var _isUnicode = dart.privateName(_js_helper, "_isUnicode"); -var _isDotAll = dart.privateName(_js_helper, "_isDotAll"); -var _nativeGlobalVersion = dart.privateName(_js_helper, "_nativeGlobalVersion"); -var _nativeAnchoredVersion = dart.privateName(_js_helper, "_nativeAnchoredVersion"); -var _execGlobal = dart.privateName(_js_helper, "_execGlobal"); -var _execAnchored = dart.privateName(_js_helper, "_execAnchored"); -_js_helper.JSSyntaxRegExp = class JSSyntaxRegExp extends core.Object { - get pattern() { - return this[pattern]; - } - set pattern(value) { - super.pattern = value; - } - 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); - } - get [_nativeAnchoredVersion]() { - if (this[_nativeAnchoredRegExp] != null) return this[_nativeAnchoredRegExp]; - return this[_nativeAnchoredRegExp] = _js_helper.JSSyntaxRegExp.makeNative(dart.str(this.pattern) + "|()", this[_isMultiLine], this[_isCaseSensitive], this[_isUnicode], this[_isDotAll], true); - } - get [_isMultiLine]() { - return this[_nativeRegExp].multiline; - } - get [_isCaseSensitive]() { - return !this[_nativeRegExp].ignoreCase; - } - get [_isUnicode]() { - return this[_nativeRegExp].unicode; - } - get [_isDotAll]() { - return this[_nativeRegExp].dotAll == true; - } - static makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { - if (source == null) dart.argumentError(source); - 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" : ""; - let s = dart.test(dotAll) ? "s" : ""; - let g = dart.test(global) ? "g" : ""; - let regexp = (function() { - try { - return new RegExp(source, m + i + u + s + g); - } catch (e) { - return e; - } - })(); - if (regexp instanceof RegExp) return regexp; - let errorMessage = String(regexp); - dart.throw(new core.FormatException.new("Illegal RegExp pattern: " + source + ", " + errorMessage)); - } - firstMatch(string) { - if (string == null) dart.argumentError(string); - let m = this[_nativeRegExp].exec(string); - if (m == null) return null; - return new _js_helper._MatchImplementation.new(this, m); - } - hasMatch(string) { - if (string == null) dart.argumentError(string); - return this[_nativeRegExp].test(string); - } - stringMatch(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; - } - allMatches(string, start = 0) { - if (string == null) dart.argumentError(string); - if (start == null) dart.argumentError(start); - if (start < 0 || start > string.length) { - dart.throw(new core.RangeError.range(start, 0, string.length)); - } - return new _js_helper._AllMatchesIterable.new(this, string, start); - } - [_execGlobal](string, 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); - if (match == null) return null; - return new _js_helper._MatchImplementation.new(this, match); - } - [_execAnchored](string, 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; - 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[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)); - } - return this[_execAnchored](string, start); - } - get isMultiLine() { - return this[_isMultiLine]; - } - get isCaseSensitive() { - return this[_isCaseSensitive]; - } - get isUnicode() { - return this[_isUnicode]; - } - get isDotAll() { - return this[_isDotAll]; - } -}; -(_js_helper.JSSyntaxRegExp.new = function(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"); - this[_nativeGlobalRegExp] = null; - this[_nativeAnchoredRegExp] = null; - this[pattern] = source; - this[_nativeRegExp] = _js_helper.JSSyntaxRegExp.makeNative(source, multiLine, caseSensitive, unicode, dotAll, false); - ; -}).prototype = _js_helper.JSSyntaxRegExp.prototype; -dart.addTypeTests(_js_helper.JSSyntaxRegExp); -dart.addTypeCaches(_js_helper.JSSyntaxRegExp); -_js_helper.JSSyntaxRegExp[dart.implements] = () => [core.RegExp]; -dart.setMethodSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getMethods(_js_helper.JSSyntaxRegExp.__proto__), - firstMatch: dart.fnType(dart.nullable(core.RegExpMatch), [core.String]), - hasMatch: dart.fnType(core.bool, [core.String]), - stringMatch: dart.fnType(dart.nullable(core.String), [core.String]), - allMatches: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [$allMatches]: dart.fnType(core.Iterable$(core.RegExpMatch), [core.String], [core.int]), - [_execGlobal]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - [_execAnchored]: dart.fnType(dart.nullable(core.RegExpMatch), [core.String, core.int]), - 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, - [_nativeAnchoredVersion]: dart.dynamic, - [_isMultiLine]: core.bool, - [_isCaseSensitive]: core.bool, - [_isUnicode]: core.bool, - [_isDotAll]: core.bool, - isMultiLine: core.bool, - isCaseSensitive: core.bool, - isUnicode: core.bool, - isDotAll: core.bool -})); -dart.setLibraryUri(_js_helper.JSSyntaxRegExp, I[47]); -dart.setFieldSignature(_js_helper.JSSyntaxRegExp, () => ({ - __proto__: dart.getFields(_js_helper.JSSyntaxRegExp.__proto__), - pattern: dart.finalFieldType(core.String), - [_nativeRegExp]: dart.finalFieldType(dart.dynamic), - [_nativeGlobalRegExp]: dart.fieldType(dart.dynamic), - [_nativeAnchoredRegExp]: dart.fieldType(dart.dynamic) -})); -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; - } - get start() { - return this[_match$].index; - } - get end() { - return dart.notNull(this.start) + dart.nullCheck(this[_match$][$_get](0)).length; - } - group(index) { - if (index == null) dart.nullFailed(I[53], 200, 21, "index"); - return this[_match$][$_get](index); - } - _get(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[53], 204, 34, "groups"); - let out = T$.JSArrayOfStringN().of([]); - for (let i of groups) { - out[$add](this.group(i)); - } - return out; - } - namedGroup(name) { - if (name == null) dart.nullFailed(I[53], 212, 29, "name"); - let groups = this[_match$].groups; - if (groups != null) { - let result = groups[name]; - if (result != null || name in groups) { - return result; - } - } - dart.throw(new core.ArgumentError.value(name, "name", "Not a capture group name")); - } - get groupNames() { - let groups = this[_match$].groups; - if (groups != null) { - let keys = T$.JSArrayOfString().of(Object.keys(groups)); - return new (T$.SubListIterableOfString()).new(keys, 0, null); - } - return new (T$.EmptyIterableOfString()).new(); - } -}; -(_js_helper._MatchImplementation.new = function(pattern, _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[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); -_js_helper._MatchImplementation[dart.implements] = () => [core.RegExpMatch]; -dart.setMethodSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getMethods(_js_helper._MatchImplementation.__proto__), - group: dart.fnType(dart.nullable(core.String), [core.int]), - _get: dart.fnType(dart.nullable(core.String), [core.int]), - groups: dart.fnType(core.List$(dart.nullable(core.String)), [core.List$(core.int)]), - namedGroup: dart.fnType(dart.nullable(core.String), [core.String]) -})); -dart.setGetterSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getGetters(_js_helper._MatchImplementation.__proto__), - input: core.String, - start: core.int, - end: core.int, - groupCount: core.int, - groupNames: core.Iterable$(core.String) -})); -dart.setLibraryUri(_js_helper._MatchImplementation, I[47]); -dart.setFieldSignature(_js_helper._MatchImplementation, () => ({ - __proto__: dart.getFields(_js_helper._MatchImplementation.__proto__), - pattern: dart.finalFieldType(core.Pattern), - [_match$]: dart.finalFieldType(core.List$(dart.nullable(core.String))) -})); -var _re$ = dart.privateName(_js_helper, "_re"); -var _string$0 = dart.privateName(_js_helper, "_string"); -var _start$0 = dart.privateName(_js_helper, "_start"); -core.RegExpMatch = class RegExpMatch extends core.Object {}; -(core.RegExpMatch.new = function() { - ; -}).prototype = core.RegExpMatch.prototype; -dart.addTypeTests(core.RegExpMatch); -dart.addTypeCaches(core.RegExpMatch); -core.RegExpMatch[dart.implements] = () => [core.Match]; -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[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; - _js_helper._AllMatchesIterable.__proto__.new.call(this); - ; -}).prototype = _js_helper._AllMatchesIterable.prototype; -dart.addTypeTests(_js_helper._AllMatchesIterable); -dart.addTypeCaches(_js_helper._AllMatchesIterable); -dart.setGetterSignature(_js_helper._AllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._AllMatchesIterable.__proto__), - iterator: core.Iterator$(core.RegExpMatch), - [$iterator]: core.Iterator$(core.RegExpMatch) -})); -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), - [_string$0]: dart.finalFieldType(core.String), - [_start$0]: dart.finalFieldType(core.int) -})); -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[53], 254, 36, "c"); - return dart.notNull(c) >= 55296 && dart.notNull(c) <= 56319; - } - static _isTrailSurrogate(c) { - if (c == null) dart.nullFailed(I[53], 258, 37, "c"); - return dart.notNull(c) >= 56320 && dart.notNull(c) <= 57343; - } - moveNext() { - let string = this[_string$0]; - if (string == null) return false; - if (dart.notNull(this[_nextIndex$]) <= string.length) { - let match = this[_regExp$][_execGlobal](string, this[_nextIndex$]); - if (match != null) { - this[_current$0] = match; - let nextIndex = match.end; - if (match.start == nextIndex) { - if (dart.test(this[_regExp$].isUnicode) && dart.notNull(this[_nextIndex$]) + 1 < string.length && dart.test(_js_helper._AllMatchesIterator._isLeadSurrogate(string[$codeUnitAt](this[_nextIndex$]))) && dart.test(_js_helper._AllMatchesIterator._isTrailSurrogate(string[$codeUnitAt](dart.notNull(this[_nextIndex$]) + 1)))) { - nextIndex = dart.notNull(nextIndex) + 1; - } - nextIndex = dart.notNull(nextIndex) + 1; - } - this[_nextIndex$] = nextIndex; - return true; - } - } - this[_current$0] = null; - this[_string$0] = null; - return false; - } -}; -(_js_helper._AllMatchesIterator.new = function(_regExp, _string, _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; - this[_nextIndex$] = _nextIndex; - ; -}).prototype = _js_helper._AllMatchesIterator.prototype; -dart.addTypeTests(_js_helper._AllMatchesIterator); -dart.addTypeCaches(_js_helper._AllMatchesIterator); -_js_helper._AllMatchesIterator[dart.implements] = () => [core.Iterator$(core.RegExpMatch)]; -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[47]); -dart.setFieldSignature(_js_helper._AllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._AllMatchesIterator.__proto__), - [_regExp$]: dart.finalFieldType(_js_helper.JSSyntaxRegExp), - [_string$0]: dart.fieldType(dart.nullable(core.String)), - [_nextIndex$]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.RegExpMatch)) -})); -var start$0 = dart.privateName(_js_helper, "StringMatch.start"); -var input$ = dart.privateName(_js_helper, "StringMatch.input"); -var pattern$ = dart.privateName(_js_helper, "StringMatch.pattern"); -_js_helper.StringMatch = class StringMatch extends core.Object { - get start() { - return this[start$0]; - } - set start(value) { - super.start = value; - } - get input() { - return this[input$]; - } - set input(value) { - super.input = value; - } - get pattern() { - return this[pattern$]; - } - 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[54], 31, 26, "g"); - return this.group(g); - } - get groupCount() { - return 0; - } - group(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[54], 41, 33, "groups_"); - let result = T$.JSArrayOfString().of([]); - for (let g of groups_) { - result[$add](this.group(g)); - } - return result; - } -}; -(_js_helper.StringMatch.new = function(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"); - this[start$0] = start; - this[input$] = input; - this[pattern$] = pattern; - ; -}).prototype = _js_helper.StringMatch.prototype; -dart.addTypeTests(_js_helper.StringMatch); -dart.addTypeCaches(_js_helper.StringMatch); -_js_helper.StringMatch[dart.implements] = () => [core.Match]; -dart.setMethodSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getMethods(_js_helper.StringMatch.__proto__), - _get: dart.fnType(core.String, [core.int]), - group: dart.fnType(core.String, [core.int]), - groups: dart.fnType(core.List$(core.String), [core.List$(core.int)]) -})); -dart.setGetterSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getGetters(_js_helper.StringMatch.__proto__), - end: core.int, - groupCount: core.int -})); -dart.setLibraryUri(_js_helper.StringMatch, I[47]); -dart.setFieldSignature(_js_helper.StringMatch, () => ({ - __proto__: dart.getFields(_js_helper.StringMatch.__proto__), - start: dart.finalFieldType(core.int), - input: dart.finalFieldType(core.String), - pattern: dart.finalFieldType(core.String) -})); -var _input$ = dart.privateName(_js_helper, "_input"); -var _pattern$ = dart.privateName(_js_helper, "_pattern"); -var _index$0 = dart.privateName(_js_helper, "_index"); -core.Match = class Match extends core.Object {}; -(core.Match.new = function() { - ; -}).prototype = core.Match.prototype; -dart.addTypeTests(core.Match); -dart.addTypeCaches(core.Match); -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]); - } - get first() { - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index >= 0) { - return new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - } - dart.throw(_internal.IterableElementError.noElement()); - } -}; -(_js_helper._StringAllMatchesIterable.new = function(_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"); - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - _js_helper._StringAllMatchesIterable.__proto__.new.call(this); - ; -}).prototype = _js_helper._StringAllMatchesIterable.prototype; -dart.addTypeTests(_js_helper._StringAllMatchesIterable); -dart.addTypeCaches(_js_helper._StringAllMatchesIterable); -dart.setGetterSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterable.__proto__), - iterator: core.Iterator$(core.Match), - [$iterator]: core.Iterator$(core.Match) -})); -dart.setLibraryUri(_js_helper._StringAllMatchesIterable, I[47]); -dart.setFieldSignature(_js_helper._StringAllMatchesIterable, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterable.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.finalFieldType(core.int) -})); -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; - return false; - } - let index = _js_helper.stringIndexOfStringUnchecked(this[_input$], this[_pattern$], this[_index$0]); - if (index < 0) { - this[_index$0] = this[_input$].length + 1; - this[_current$0] = null; - return false; - } - let end = index + this[_pattern$].length; - this[_current$0] = new _js_helper.StringMatch.new(index, this[_input$], this[_pattern$]); - if (end === this[_index$0]) end = end + 1; - this[_index$0] = end; - return true; - } - get current() { - return dart.nullCheck(this[_current$0]); - } -}; -(_js_helper._StringAllMatchesIterator.new = function(_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"); - this[_current$0] = null; - this[_input$] = _input; - this[_pattern$] = _pattern; - this[_index$0] = _index; - ; -}).prototype = _js_helper._StringAllMatchesIterator.prototype; -dart.addTypeTests(_js_helper._StringAllMatchesIterator); -dart.addTypeCaches(_js_helper._StringAllMatchesIterator); -_js_helper._StringAllMatchesIterator[dart.implements] = () => [core.Iterator$(core.Match)]; -dart.setMethodSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getMethods(_js_helper._StringAllMatchesIterator.__proto__), - moveNext: dart.fnType(core.bool, []) -})); -dart.setGetterSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getGetters(_js_helper._StringAllMatchesIterator.__proto__), - current: core.Match -})); -dart.setLibraryUri(_js_helper._StringAllMatchesIterator, I[47]); -dart.setFieldSignature(_js_helper._StringAllMatchesIterator, () => ({ - __proto__: dart.getFields(_js_helper._StringAllMatchesIterator.__proto__), - [_input$]: dart.finalFieldType(core.String), - [_pattern$]: dart.finalFieldType(core.String), - [_index$0]: dart.fieldType(core.int), - [_current$0]: dart.fieldType(dart.nullable(core.Match)) -})); -_js_helper.diagnoseIndexError = function diagnoseIndexError(indexable, 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.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[48], 495, 52, "length"); - if (start == null) { - return new core.ArgumentError.value(start, "start"); - } - if (dart.notNull(start) < 0 || dart.notNull(start) > dart.notNull(length)) { - return new core.RangeError.range(start, 0, length, "start"); - } - if (end != null) { - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - return new core.RangeError.range(end, start, length, "end"); - } - } - return new core.ArgumentError.value(end, "end"); -}; -_js_helper.stringLastIndexOfUnchecked = function stringLastIndexOfUnchecked(receiver, element, start) { - return receiver.lastIndexOf(element, start); -}; -_js_helper.argumentErrorValue = function argumentErrorValue(object) { - return new core.ArgumentError.value(object); -}; -_js_helper.throwArgumentErrorValue = function throwArgumentErrorValue(value) { - dart.throw(_js_helper.argumentErrorValue(value)); -}; -_js_helper.checkInt = function checkInt(value) { - if (!core.int.is(value)) dart.throw(_js_helper.argumentErrorValue(value)); - return value; -}; -_js_helper.throwRuntimeError = function throwRuntimeError(message) { - dart.throw(new _js_helper.RuntimeError.new(message)); -}; -_js_helper.throwAbstractClassInstantiationError = function throwAbstractClassInstantiationError(className) { - dart.throw(new core.AbstractClassInstantiationError.new(core.String.as(className))); -}; -_js_helper.throwConcurrentModificationError = function throwConcurrentModificationError(collection) { - dart.throw(new core.ConcurrentModificationError.new(collection)); -}; -_js_helper.fillLiteralMap = function fillLiteralMap(keyValuePairs, 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, (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[48], 586, 40, "property"); - return jsObject.hasOwnProperty(property); -}; -_js_helper.jsPropertyAccess = function jsPropertyAccess(jsObject, property) { - if (property == null) dart.nullFailed(I[48], 590, 35, "property"); - return jsObject[property]; -}; -_js_helper.getFallThroughError = function getFallThroughError() { - return new _js_helper.FallThroughErrorImplementation.new(); -}; -_js_helper.random64 = function random64() { - let int32a = Math.random() * 0x100000000 >>> 0; - let int32b = Math.random() * 0x100000000 >>> 0; - return int32a + int32b * 4294967296; -}; -_js_helper.registerGlobalObject = function registerGlobalObject(object) { - try { - if (dart.test(dart.polyfill(object))) { - dart.applyAllExtensions(object); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } -}; -_js_helper.applyExtension = function applyExtension$(name, nativeObject) { - dart.applyExtension(name, nativeObject); -}; -_js_helper.applyTestExtensions = function applyTestExtensions(names) { - 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[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[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[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] & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - return key; - } - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (k[$_equals](key)) return k; - } - buckets.push(key); - return key; -}; -_js_helper.convertDartClosureToJS = function convertDartClosureToJS(F, closure, arity) { - if (arity == null) dart.nullFailed(I[56], 9, 44, "arity"); - return closure; -}; -_js_helper.setNativeSubclassDispatchRecord = function setNativeSubclassDispatchRecord(proto, interceptor) { -}; -_js_helper.findDispatchTagForInterceptorClass = function findDispatchTagForInterceptorClass(interceptorClassConstructor) { -}; -_js_helper.makeLeafDispatchRecord = function makeLeafDispatchRecord(interceptor) { -}; -_js_helper.regExpGetNative = function regExpGetNative(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[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[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[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) { - return receiver.indexOf(other, startIndex); -}; -_js_helper.substring1Unchecked = function substring1Unchecked(receiver, startIndex) { - return receiver.substring(startIndex); -}; -_js_helper.substring2Unchecked = function substring2Unchecked(receiver, startIndex, endIndex) { - return receiver.substring(startIndex, endIndex); -}; -_js_helper.stringContainsStringUnchecked = function stringContainsStringUnchecked(receiver, other, startIndex) { - return _js_helper.stringIndexOfStringUnchecked(receiver, other, startIndex) >= 0; -}; -_js_helper.allMatchesInStringUnchecked = function allMatchesInStringUnchecked(pattern, string, 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[54], 110, 51, "startIndex"); - if (typeof other == 'string') { - return _js_helper.stringContainsStringUnchecked(receiver, other, startIndex); - } else if (_js_helper.JSSyntaxRegExp.is(other)) { - return other.hasMatch(receiver[$substring](startIndex)); - } else { - let substr = receiver[$substring](startIndex); - return core.bool.as(dart.dload(dart.dsend(other, 'allMatches', [substr]), 'isNotEmpty')); - } -}; -_js_helper.stringReplaceJS = function stringReplaceJS(receiver, replacer, 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[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; - let end = match.end; - return _js_helper.stringReplaceRangeUnchecked(receiver, start, end, replacement); -}; -_js_helper.quoteStringForRegExp = function quoteStringForRegExp(string) { - return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&"); -}; -_js_helper.stringReplaceAllUnchecked = function stringReplaceAllUnchecked(receiver, pattern, replacement) { - if (pattern == null) dart.argumentError(pattern); - if (replacement == null) dart.argumentError(replacement); - if (typeof pattern == 'string') { - if (pattern === "") { - if (receiver === "") { - return replacement; - } else { - let result = new core.StringBuffer.new(); - let length = receiver.length; - result.write(replacement); - for (let i = 0; i < length; i = i + 1) { - result.write(receiver[$_get](i)); - result.write(replacement); - } - return result.toString(); - } - } else { - return receiver.split(pattern).join(replacement); - } - } else if (_js_helper.JSSyntaxRegExp.is(pattern)) { - let re = _js_helper.regExpGetGlobalNative(pattern); - return _js_helper.stringReplaceJS(receiver, re, replacement); - } else { - 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[54], 184, 27, "match"); - return dart.nullCheck(match._get(0)); -}; -_js_helper._stringIdentity = function _stringIdentity(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[54], 189, 12, "receiver"); - if (pattern == null) dart.argumentError(pattern); - 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); - } - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - for (let match of pattern[$allMatches](receiver)) { - buffer.write(onNonMatch(receiver[$substring](startIndex, match.start))); - buffer.write(onMatch(match)); - startIndex = match.end; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); -}; -_js_helper.stringReplaceAllEmptyFuncUnchecked = function stringReplaceAllEmptyFuncUnchecked(receiver, onMatch, 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; - buffer.write(onNonMatch("")); - while (i < length) { - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - let code = receiver[$codeUnitAt](i); - if ((code & ~1023 >>> 0) === 55296 && length > i + 1) { - code = receiver[$codeUnitAt](i + 1); - if ((code & ~1023 >>> 0) === 56320) { - buffer.write(onNonMatch(receiver[$substring](i, i + 2))); - i = i + 2; - continue; - } - } - buffer.write(onNonMatch(receiver[$_get](i))); - i = i + 1; - } - buffer.write(onMatch(new _js_helper.StringMatch.new(i, receiver, ""))); - buffer.write(onNonMatch("")); - return buffer.toString(); -}; -_js_helper.stringReplaceAllStringFuncUnchecked = function stringReplaceAllStringFuncUnchecked(receiver, pattern, onMatch, 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); - } - let length = receiver.length; - let buffer = new core.StringBuffer.new(); - let startIndex = 0; - while (startIndex < length) { - let position = _js_helper.stringIndexOfStringUnchecked(receiver, pattern, startIndex); - if (position === -1) { - break; - } - buffer.write(onNonMatch(receiver[$substring](startIndex, position))); - buffer.write(onMatch(new _js_helper.StringMatch.new(position, receiver, pattern))); - startIndex = position + patternLength; - } - buffer.write(onNonMatch(receiver[$substring](startIndex))); - return buffer.toString(); -}; -_js_helper.stringReplaceFirstUnchecked = function stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { - if (pattern == null) dart.argumentError(pattern); - 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; - let end = index + pattern.length; - return _js_helper.stringReplaceRangeUnchecked(receiver, index, end, replacement); - } - if (_js_helper.JSSyntaxRegExp.is(pattern)) { - return startIndex === 0 ? _js_helper.stringReplaceJS(receiver, _js_helper.regExpGetNative(pattern), replacement) : _js_helper.stringReplaceFirstRE(receiver, pattern, replacement, startIndex); - } - let matches = pattern[$allMatches](receiver, startIndex)[$iterator]; - if (!dart.test(matches.moveNext())) return receiver; - let match = matches.current; - return receiver[$replaceRange](match.start, match.end, replacement); -}; -_js_helper.stringReplaceFirstMappedUnchecked = function stringReplaceFirstMappedUnchecked(receiver, pattern, replace, 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; - let replacement = dart.str(replace(match)); - return receiver[$replaceRange](match.start, match.end, replacement); -}; -_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[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.notNull*/get notNull() { - return C[34] || CT.C34; - }, - /*_js_helper.undefined*/get undefined() { - return C[35] || CT.C35; - }, - /*_js_helper.nullCheck*/get nullCheck() { - return C[36] || CT.C36; - } -}, false); -_js_primitives.printString = function printString(string) { - if (string == null) dart.nullFailed(I[57], 20, 25, "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); -}; -var browserName$ = dart.privateName(_metadata, "SupportedBrowser.browserName"); -var minimumVersion$ = dart.privateName(_metadata, "SupportedBrowser.minimumVersion"); -_metadata.SupportedBrowser = class SupportedBrowser extends core.Object { - get browserName() { - return this[browserName$]; - } - set browserName(value) { - super.browserName = value; - } - get minimumVersion() { - return this[minimumVersion$]; - } - 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[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[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"; - }, - /*_metadata.SupportedBrowser.FIREFOX*/get FIREFOX() { - return "Firefox"; - }, - /*_metadata.SupportedBrowser.IE*/get IE() { - return "Internet Explorer"; - }, - /*_metadata.SupportedBrowser.OPERA*/get OPERA() { - return "Opera"; - }, - /*_metadata.SupportedBrowser.SAFARI*/get SAFARI() { - return "Safari"; - } -}, false); -_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[59]); -var name$9 = dart.privateName(_metadata, "DomName.name"); -_metadata.DomName = class DomName extends core.Object { - get name() { - return this[name$9]; - } - 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[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[59]); -dart.setFieldSignature(_metadata.DomName, () => ({ - __proto__: dart.getFields(_metadata.DomName.__proto__), - name: dart.finalFieldType(core.String) -})); -_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[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[59]); -_native_typed_data.NativeByteBuffer = class NativeByteBuffer extends core.Object { - get [$lengthInBytes]() { - return this.byteLength; - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteBuffer); - } - [$asUint8List](offsetInBytes = 0, length = null) { - 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[60], 37, 28, "offsetInBytes"); - return _native_typed_data.NativeInt8List.view(this, offsetInBytes, length); - } - [$asUint8ClampedList](offsetInBytes = 0, length = null) { - 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[60], 45, 32, "offsetInBytes"); - return _native_typed_data.NativeUint16List.view(this, offsetInBytes, length); - } - [$asInt16List](offsetInBytes = 0, length = null) { - 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[60], 53, 32, "offsetInBytes"); - return _native_typed_data.NativeUint32List.view(this, offsetInBytes, length); - } - [$asInt32List](offsetInBytes = 0, length = null) { - 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[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[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[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[60], 75, 34, "offsetInBytes"); - return _native_typed_data.NativeFloat32List.view(this, offsetInBytes, length); - } - [$asFloat64List](offsetInBytes = 0, length = null) { - 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[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[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[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() { - ; -}).prototype = _native_typed_data.NativeByteBuffer.prototype; -dart.addTypeTests(_native_typed_data.NativeByteBuffer); -dart.addTypeCaches(_native_typed_data.NativeByteBuffer); -_native_typed_data.NativeByteBuffer[dart.implements] = () => [typed_data.ByteBuffer]; -dart.setMethodSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteBuffer.__proto__), - [$asUint8List]: dart.fnType(typed_data.Uint8List, [], [core.int, dart.nullable(core.int)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asByteData]: dart.fnType(typed_data.ByteData, [], [core.int, dart.nullable(core.int)]) -})); -dart.setGetterSignature(_native_typed_data.NativeByteBuffer, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeByteBuffer.__proto__), - [$lengthInBytes]: core.int -})); -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 { - 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.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; - }, - /*typed_data.Float32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Float32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Float32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Float32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Float32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Float32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Float32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Float32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Float32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Float32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Float32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Float32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Float32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Float32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Float32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Float32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Float32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Float32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Float32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Float32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Float32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Float32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Float32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Float32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Float32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Float32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Float32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Float32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Float32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Float32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Float32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Float32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Float32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Float32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Float32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Float32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Float32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Float32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Float32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Float32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Float32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Float32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Float32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Float32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Float32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Float32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Float32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Float32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Float32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Float32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Float32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Float32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Float32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Float32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Float32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Float32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Float32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Float32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Float32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Float32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Float32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Float32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Float32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Float32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Float32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Float32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Float32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Float32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Float32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Float32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Float32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Float32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Float32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Float32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Float32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Float32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Float32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Float32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Float32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Float32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Float32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Float32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Float32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Float32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Float32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Float32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Float32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Float32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Float32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Float32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Float32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Float32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Float32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Float32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Float32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Float32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Float32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Float32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Float32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Float32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Float32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Float32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Float32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Float32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Float32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Float32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Float32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Float32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Float32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Float32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Float32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Float32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Float32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Float32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Float32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Float32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Float32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Float32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Float32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Float32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Float32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Float32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Float32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Float32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Float32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Float32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Float32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Float32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Float32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Float32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Float32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Float32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Float32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Float32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Float32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Float32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Float32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Float32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Float32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Float32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Float32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Float32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Float32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Float32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Float32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Float32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Float32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Float32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Float32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Float32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Float32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Float32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Float32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Float32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Float32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Float32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Float32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Float32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Float32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Float32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Float32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Float32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Float32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Float32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Float32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Float32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Float32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Float32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Float32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Float32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Float32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Float32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Float32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Float32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Float32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Float32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Float32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Float32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Float32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Float32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Float32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Float32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Float32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Float32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Float32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Float32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Float32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Float32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Float32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Float32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Float32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Float32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Float32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Float32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Float32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Float32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Float32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Float32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Float32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Float32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Float32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Float32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Float32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Float32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Float32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Float32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Float32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Float32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Float32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Float32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Float32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Float32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Float32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Float32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Float32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Float32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Float32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Float32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Float32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Float32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Float32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Float32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Float32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Float32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Float32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Float32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Float32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Float32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Float32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Float32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Float32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Float32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Float32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Float32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Float32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Float32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Float32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Float32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Float32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Float32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Float32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Float32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Float32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Float32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Float32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Float32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Float32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Float32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Float32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Float32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Float32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Float32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Float32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Float32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Float32x4.wwww*/get wwww() { - return 255; - } -}, false); -const Object_ListMixin$36 = class Object_ListMixin extends core.Object {}; -(Object_ListMixin$36.new = function() { -}).prototype = Object_ListMixin$36.prototype; -dart.applyMixin(Object_ListMixin$36, collection.ListMixin$(typed_data.Float32x4)); -const Object_FixedLengthListMixin$36 = class Object_FixedLengthListMixin extends Object_ListMixin$36 {}; -(Object_FixedLengthListMixin$36.new = function() { -}).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 157, 25, "index"); - typed_data.Float32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } -}).prototype = _native_typed_data.NativeFloat32x4List.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat32x4List); -dart.addTypeCaches(_native_typed_data.NativeFloat32x4List); -_native_typed_data.NativeFloat32x4List[dart.implements] = () => [typed_data.Float32x4List]; -dart.setMethodSignature(_native_typed_data.NativeFloat32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4List.__proto__), - _get: dart.fnType(typed_data.Float32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Float32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeFloat32x4List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeFloat32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -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.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; - }, - /*typed_data.Int32x4.xxxy*/get xxxy() { - return 64; - }, - /*typed_data.Int32x4.xxxz*/get xxxz() { - return 128; - }, - /*typed_data.Int32x4.xxxw*/get xxxw() { - return 192; - }, - /*typed_data.Int32x4.xxyx*/get xxyx() { - return 16; - }, - /*typed_data.Int32x4.xxyy*/get xxyy() { - return 80; - }, - /*typed_data.Int32x4.xxyz*/get xxyz() { - return 144; - }, - /*typed_data.Int32x4.xxyw*/get xxyw() { - return 208; - }, - /*typed_data.Int32x4.xxzx*/get xxzx() { - return 32; - }, - /*typed_data.Int32x4.xxzy*/get xxzy() { - return 96; - }, - /*typed_data.Int32x4.xxzz*/get xxzz() { - return 160; - }, - /*typed_data.Int32x4.xxzw*/get xxzw() { - return 224; - }, - /*typed_data.Int32x4.xxwx*/get xxwx() { - return 48; - }, - /*typed_data.Int32x4.xxwy*/get xxwy() { - return 112; - }, - /*typed_data.Int32x4.xxwz*/get xxwz() { - return 176; - }, - /*typed_data.Int32x4.xxww*/get xxww() { - return 240; - }, - /*typed_data.Int32x4.xyxx*/get xyxx() { - return 4; - }, - /*typed_data.Int32x4.xyxy*/get xyxy() { - return 68; - }, - /*typed_data.Int32x4.xyxz*/get xyxz() { - return 132; - }, - /*typed_data.Int32x4.xyxw*/get xyxw() { - return 196; - }, - /*typed_data.Int32x4.xyyx*/get xyyx() { - return 20; - }, - /*typed_data.Int32x4.xyyy*/get xyyy() { - return 84; - }, - /*typed_data.Int32x4.xyyz*/get xyyz() { - return 148; - }, - /*typed_data.Int32x4.xyyw*/get xyyw() { - return 212; - }, - /*typed_data.Int32x4.xyzx*/get xyzx() { - return 36; - }, - /*typed_data.Int32x4.xyzy*/get xyzy() { - return 100; - }, - /*typed_data.Int32x4.xyzz*/get xyzz() { - return 164; - }, - /*typed_data.Int32x4.xyzw*/get xyzw() { - return 228; - }, - /*typed_data.Int32x4.xywx*/get xywx() { - return 52; - }, - /*typed_data.Int32x4.xywy*/get xywy() { - return 116; - }, - /*typed_data.Int32x4.xywz*/get xywz() { - return 180; - }, - /*typed_data.Int32x4.xyww*/get xyww() { - return 244; - }, - /*typed_data.Int32x4.xzxx*/get xzxx() { - return 8; - }, - /*typed_data.Int32x4.xzxy*/get xzxy() { - return 72; - }, - /*typed_data.Int32x4.xzxz*/get xzxz() { - return 136; - }, - /*typed_data.Int32x4.xzxw*/get xzxw() { - return 200; - }, - /*typed_data.Int32x4.xzyx*/get xzyx() { - return 24; - }, - /*typed_data.Int32x4.xzyy*/get xzyy() { - return 88; - }, - /*typed_data.Int32x4.xzyz*/get xzyz() { - return 152; - }, - /*typed_data.Int32x4.xzyw*/get xzyw() { - return 216; - }, - /*typed_data.Int32x4.xzzx*/get xzzx() { - return 40; - }, - /*typed_data.Int32x4.xzzy*/get xzzy() { - return 104; - }, - /*typed_data.Int32x4.xzzz*/get xzzz() { - return 168; - }, - /*typed_data.Int32x4.xzzw*/get xzzw() { - return 232; - }, - /*typed_data.Int32x4.xzwx*/get xzwx() { - return 56; - }, - /*typed_data.Int32x4.xzwy*/get xzwy() { - return 120; - }, - /*typed_data.Int32x4.xzwz*/get xzwz() { - return 184; - }, - /*typed_data.Int32x4.xzww*/get xzww() { - return 248; - }, - /*typed_data.Int32x4.xwxx*/get xwxx() { - return 12; - }, - /*typed_data.Int32x4.xwxy*/get xwxy() { - return 76; - }, - /*typed_data.Int32x4.xwxz*/get xwxz() { - return 140; - }, - /*typed_data.Int32x4.xwxw*/get xwxw() { - return 204; - }, - /*typed_data.Int32x4.xwyx*/get xwyx() { - return 28; - }, - /*typed_data.Int32x4.xwyy*/get xwyy() { - return 92; - }, - /*typed_data.Int32x4.xwyz*/get xwyz() { - return 156; - }, - /*typed_data.Int32x4.xwyw*/get xwyw() { - return 220; - }, - /*typed_data.Int32x4.xwzx*/get xwzx() { - return 44; - }, - /*typed_data.Int32x4.xwzy*/get xwzy() { - return 108; - }, - /*typed_data.Int32x4.xwzz*/get xwzz() { - return 172; - }, - /*typed_data.Int32x4.xwzw*/get xwzw() { - return 236; - }, - /*typed_data.Int32x4.xwwx*/get xwwx() { - return 60; - }, - /*typed_data.Int32x4.xwwy*/get xwwy() { - return 124; - }, - /*typed_data.Int32x4.xwwz*/get xwwz() { - return 188; - }, - /*typed_data.Int32x4.xwww*/get xwww() { - return 252; - }, - /*typed_data.Int32x4.yxxx*/get yxxx() { - return 1; - }, - /*typed_data.Int32x4.yxxy*/get yxxy() { - return 65; - }, - /*typed_data.Int32x4.yxxz*/get yxxz() { - return 129; - }, - /*typed_data.Int32x4.yxxw*/get yxxw() { - return 193; - }, - /*typed_data.Int32x4.yxyx*/get yxyx() { - return 17; - }, - /*typed_data.Int32x4.yxyy*/get yxyy() { - return 81; - }, - /*typed_data.Int32x4.yxyz*/get yxyz() { - return 145; - }, - /*typed_data.Int32x4.yxyw*/get yxyw() { - return 209; - }, - /*typed_data.Int32x4.yxzx*/get yxzx() { - return 33; - }, - /*typed_data.Int32x4.yxzy*/get yxzy() { - return 97; - }, - /*typed_data.Int32x4.yxzz*/get yxzz() { - return 161; - }, - /*typed_data.Int32x4.yxzw*/get yxzw() { - return 225; - }, - /*typed_data.Int32x4.yxwx*/get yxwx() { - return 49; - }, - /*typed_data.Int32x4.yxwy*/get yxwy() { - return 113; - }, - /*typed_data.Int32x4.yxwz*/get yxwz() { - return 177; - }, - /*typed_data.Int32x4.yxww*/get yxww() { - return 241; - }, - /*typed_data.Int32x4.yyxx*/get yyxx() { - return 5; - }, - /*typed_data.Int32x4.yyxy*/get yyxy() { - return 69; - }, - /*typed_data.Int32x4.yyxz*/get yyxz() { - return 133; - }, - /*typed_data.Int32x4.yyxw*/get yyxw() { - return 197; - }, - /*typed_data.Int32x4.yyyx*/get yyyx() { - return 21; - }, - /*typed_data.Int32x4.yyyy*/get yyyy() { - return 85; - }, - /*typed_data.Int32x4.yyyz*/get yyyz() { - return 149; - }, - /*typed_data.Int32x4.yyyw*/get yyyw() { - return 213; - }, - /*typed_data.Int32x4.yyzx*/get yyzx() { - return 37; - }, - /*typed_data.Int32x4.yyzy*/get yyzy() { - return 101; - }, - /*typed_data.Int32x4.yyzz*/get yyzz() { - return 165; - }, - /*typed_data.Int32x4.yyzw*/get yyzw() { - return 229; - }, - /*typed_data.Int32x4.yywx*/get yywx() { - return 53; - }, - /*typed_data.Int32x4.yywy*/get yywy() { - return 117; - }, - /*typed_data.Int32x4.yywz*/get yywz() { - return 181; - }, - /*typed_data.Int32x4.yyww*/get yyww() { - return 245; - }, - /*typed_data.Int32x4.yzxx*/get yzxx() { - return 9; - }, - /*typed_data.Int32x4.yzxy*/get yzxy() { - return 73; - }, - /*typed_data.Int32x4.yzxz*/get yzxz() { - return 137; - }, - /*typed_data.Int32x4.yzxw*/get yzxw() { - return 201; - }, - /*typed_data.Int32x4.yzyx*/get yzyx() { - return 25; - }, - /*typed_data.Int32x4.yzyy*/get yzyy() { - return 89; - }, - /*typed_data.Int32x4.yzyz*/get yzyz() { - return 153; - }, - /*typed_data.Int32x4.yzyw*/get yzyw() { - return 217; - }, - /*typed_data.Int32x4.yzzx*/get yzzx() { - return 41; - }, - /*typed_data.Int32x4.yzzy*/get yzzy() { - return 105; - }, - /*typed_data.Int32x4.yzzz*/get yzzz() { - return 169; - }, - /*typed_data.Int32x4.yzzw*/get yzzw() { - return 233; - }, - /*typed_data.Int32x4.yzwx*/get yzwx() { - return 57; - }, - /*typed_data.Int32x4.yzwy*/get yzwy() { - return 121; - }, - /*typed_data.Int32x4.yzwz*/get yzwz() { - return 185; - }, - /*typed_data.Int32x4.yzww*/get yzww() { - return 249; - }, - /*typed_data.Int32x4.ywxx*/get ywxx() { - return 13; - }, - /*typed_data.Int32x4.ywxy*/get ywxy() { - return 77; - }, - /*typed_data.Int32x4.ywxz*/get ywxz() { - return 141; - }, - /*typed_data.Int32x4.ywxw*/get ywxw() { - return 205; - }, - /*typed_data.Int32x4.ywyx*/get ywyx() { - return 29; - }, - /*typed_data.Int32x4.ywyy*/get ywyy() { - return 93; - }, - /*typed_data.Int32x4.ywyz*/get ywyz() { - return 157; - }, - /*typed_data.Int32x4.ywyw*/get ywyw() { - return 221; - }, - /*typed_data.Int32x4.ywzx*/get ywzx() { - return 45; - }, - /*typed_data.Int32x4.ywzy*/get ywzy() { - return 109; - }, - /*typed_data.Int32x4.ywzz*/get ywzz() { - return 173; - }, - /*typed_data.Int32x4.ywzw*/get ywzw() { - return 237; - }, - /*typed_data.Int32x4.ywwx*/get ywwx() { - return 61; - }, - /*typed_data.Int32x4.ywwy*/get ywwy() { - return 125; - }, - /*typed_data.Int32x4.ywwz*/get ywwz() { - return 189; - }, - /*typed_data.Int32x4.ywww*/get ywww() { - return 253; - }, - /*typed_data.Int32x4.zxxx*/get zxxx() { - return 2; - }, - /*typed_data.Int32x4.zxxy*/get zxxy() { - return 66; - }, - /*typed_data.Int32x4.zxxz*/get zxxz() { - return 130; - }, - /*typed_data.Int32x4.zxxw*/get zxxw() { - return 194; - }, - /*typed_data.Int32x4.zxyx*/get zxyx() { - return 18; - }, - /*typed_data.Int32x4.zxyy*/get zxyy() { - return 82; - }, - /*typed_data.Int32x4.zxyz*/get zxyz() { - return 146; - }, - /*typed_data.Int32x4.zxyw*/get zxyw() { - return 210; - }, - /*typed_data.Int32x4.zxzx*/get zxzx() { - return 34; - }, - /*typed_data.Int32x4.zxzy*/get zxzy() { - return 98; - }, - /*typed_data.Int32x4.zxzz*/get zxzz() { - return 162; - }, - /*typed_data.Int32x4.zxzw*/get zxzw() { - return 226; - }, - /*typed_data.Int32x4.zxwx*/get zxwx() { - return 50; - }, - /*typed_data.Int32x4.zxwy*/get zxwy() { - return 114; - }, - /*typed_data.Int32x4.zxwz*/get zxwz() { - return 178; - }, - /*typed_data.Int32x4.zxww*/get zxww() { - return 242; - }, - /*typed_data.Int32x4.zyxx*/get zyxx() { - return 6; - }, - /*typed_data.Int32x4.zyxy*/get zyxy() { - return 70; - }, - /*typed_data.Int32x4.zyxz*/get zyxz() { - return 134; - }, - /*typed_data.Int32x4.zyxw*/get zyxw() { - return 198; - }, - /*typed_data.Int32x4.zyyx*/get zyyx() { - return 22; - }, - /*typed_data.Int32x4.zyyy*/get zyyy() { - return 86; - }, - /*typed_data.Int32x4.zyyz*/get zyyz() { - return 150; - }, - /*typed_data.Int32x4.zyyw*/get zyyw() { - return 214; - }, - /*typed_data.Int32x4.zyzx*/get zyzx() { - return 38; - }, - /*typed_data.Int32x4.zyzy*/get zyzy() { - return 102; - }, - /*typed_data.Int32x4.zyzz*/get zyzz() { - return 166; - }, - /*typed_data.Int32x4.zyzw*/get zyzw() { - return 230; - }, - /*typed_data.Int32x4.zywx*/get zywx() { - return 54; - }, - /*typed_data.Int32x4.zywy*/get zywy() { - return 118; - }, - /*typed_data.Int32x4.zywz*/get zywz() { - return 182; - }, - /*typed_data.Int32x4.zyww*/get zyww() { - return 246; - }, - /*typed_data.Int32x4.zzxx*/get zzxx() { - return 10; - }, - /*typed_data.Int32x4.zzxy*/get zzxy() { - return 74; - }, - /*typed_data.Int32x4.zzxz*/get zzxz() { - return 138; - }, - /*typed_data.Int32x4.zzxw*/get zzxw() { - return 202; - }, - /*typed_data.Int32x4.zzyx*/get zzyx() { - return 26; - }, - /*typed_data.Int32x4.zzyy*/get zzyy() { - return 90; - }, - /*typed_data.Int32x4.zzyz*/get zzyz() { - return 154; - }, - /*typed_data.Int32x4.zzyw*/get zzyw() { - return 218; - }, - /*typed_data.Int32x4.zzzx*/get zzzx() { - return 42; - }, - /*typed_data.Int32x4.zzzy*/get zzzy() { - return 106; - }, - /*typed_data.Int32x4.zzzz*/get zzzz() { - return 170; - }, - /*typed_data.Int32x4.zzzw*/get zzzw() { - return 234; - }, - /*typed_data.Int32x4.zzwx*/get zzwx() { - return 58; - }, - /*typed_data.Int32x4.zzwy*/get zzwy() { - return 122; - }, - /*typed_data.Int32x4.zzwz*/get zzwz() { - return 186; - }, - /*typed_data.Int32x4.zzww*/get zzww() { - return 250; - }, - /*typed_data.Int32x4.zwxx*/get zwxx() { - return 14; - }, - /*typed_data.Int32x4.zwxy*/get zwxy() { - return 78; - }, - /*typed_data.Int32x4.zwxz*/get zwxz() { - return 142; - }, - /*typed_data.Int32x4.zwxw*/get zwxw() { - return 206; - }, - /*typed_data.Int32x4.zwyx*/get zwyx() { - return 30; - }, - /*typed_data.Int32x4.zwyy*/get zwyy() { - return 94; - }, - /*typed_data.Int32x4.zwyz*/get zwyz() { - return 158; - }, - /*typed_data.Int32x4.zwyw*/get zwyw() { - return 222; - }, - /*typed_data.Int32x4.zwzx*/get zwzx() { - return 46; - }, - /*typed_data.Int32x4.zwzy*/get zwzy() { - return 110; - }, - /*typed_data.Int32x4.zwzz*/get zwzz() { - return 174; - }, - /*typed_data.Int32x4.zwzw*/get zwzw() { - return 238; - }, - /*typed_data.Int32x4.zwwx*/get zwwx() { - return 62; - }, - /*typed_data.Int32x4.zwwy*/get zwwy() { - return 126; - }, - /*typed_data.Int32x4.zwwz*/get zwwz() { - return 190; - }, - /*typed_data.Int32x4.zwww*/get zwww() { - return 254; - }, - /*typed_data.Int32x4.wxxx*/get wxxx() { - return 3; - }, - /*typed_data.Int32x4.wxxy*/get wxxy() { - return 67; - }, - /*typed_data.Int32x4.wxxz*/get wxxz() { - return 131; - }, - /*typed_data.Int32x4.wxxw*/get wxxw() { - return 195; - }, - /*typed_data.Int32x4.wxyx*/get wxyx() { - return 19; - }, - /*typed_data.Int32x4.wxyy*/get wxyy() { - return 83; - }, - /*typed_data.Int32x4.wxyz*/get wxyz() { - return 147; - }, - /*typed_data.Int32x4.wxyw*/get wxyw() { - return 211; - }, - /*typed_data.Int32x4.wxzx*/get wxzx() { - return 35; - }, - /*typed_data.Int32x4.wxzy*/get wxzy() { - return 99; - }, - /*typed_data.Int32x4.wxzz*/get wxzz() { - return 163; - }, - /*typed_data.Int32x4.wxzw*/get wxzw() { - return 227; - }, - /*typed_data.Int32x4.wxwx*/get wxwx() { - return 51; - }, - /*typed_data.Int32x4.wxwy*/get wxwy() { - return 115; - }, - /*typed_data.Int32x4.wxwz*/get wxwz() { - return 179; - }, - /*typed_data.Int32x4.wxww*/get wxww() { - return 243; - }, - /*typed_data.Int32x4.wyxx*/get wyxx() { - return 7; - }, - /*typed_data.Int32x4.wyxy*/get wyxy() { - return 71; - }, - /*typed_data.Int32x4.wyxz*/get wyxz() { - return 135; - }, - /*typed_data.Int32x4.wyxw*/get wyxw() { - return 199; - }, - /*typed_data.Int32x4.wyyx*/get wyyx() { - return 23; - }, - /*typed_data.Int32x4.wyyy*/get wyyy() { - return 87; - }, - /*typed_data.Int32x4.wyyz*/get wyyz() { - return 151; - }, - /*typed_data.Int32x4.wyyw*/get wyyw() { - return 215; - }, - /*typed_data.Int32x4.wyzx*/get wyzx() { - return 39; - }, - /*typed_data.Int32x4.wyzy*/get wyzy() { - return 103; - }, - /*typed_data.Int32x4.wyzz*/get wyzz() { - return 167; - }, - /*typed_data.Int32x4.wyzw*/get wyzw() { - return 231; - }, - /*typed_data.Int32x4.wywx*/get wywx() { - return 55; - }, - /*typed_data.Int32x4.wywy*/get wywy() { - return 119; - }, - /*typed_data.Int32x4.wywz*/get wywz() { - return 183; - }, - /*typed_data.Int32x4.wyww*/get wyww() { - return 247; - }, - /*typed_data.Int32x4.wzxx*/get wzxx() { - return 11; - }, - /*typed_data.Int32x4.wzxy*/get wzxy() { - return 75; - }, - /*typed_data.Int32x4.wzxz*/get wzxz() { - return 139; - }, - /*typed_data.Int32x4.wzxw*/get wzxw() { - return 203; - }, - /*typed_data.Int32x4.wzyx*/get wzyx() { - return 27; - }, - /*typed_data.Int32x4.wzyy*/get wzyy() { - return 91; - }, - /*typed_data.Int32x4.wzyz*/get wzyz() { - return 155; - }, - /*typed_data.Int32x4.wzyw*/get wzyw() { - return 219; - }, - /*typed_data.Int32x4.wzzx*/get wzzx() { - return 43; - }, - /*typed_data.Int32x4.wzzy*/get wzzy() { - return 107; - }, - /*typed_data.Int32x4.wzzz*/get wzzz() { - return 171; - }, - /*typed_data.Int32x4.wzzw*/get wzzw() { - return 235; - }, - /*typed_data.Int32x4.wzwx*/get wzwx() { - return 59; - }, - /*typed_data.Int32x4.wzwy*/get wzwy() { - return 123; - }, - /*typed_data.Int32x4.wzwz*/get wzwz() { - return 187; - }, - /*typed_data.Int32x4.wzww*/get wzww() { - return 251; - }, - /*typed_data.Int32x4.wwxx*/get wwxx() { - return 15; - }, - /*typed_data.Int32x4.wwxy*/get wwxy() { - return 79; - }, - /*typed_data.Int32x4.wwxz*/get wwxz() { - return 143; - }, - /*typed_data.Int32x4.wwxw*/get wwxw() { - return 207; - }, - /*typed_data.Int32x4.wwyx*/get wwyx() { - return 31; - }, - /*typed_data.Int32x4.wwyy*/get wwyy() { - return 95; - }, - /*typed_data.Int32x4.wwyz*/get wwyz() { - return 159; - }, - /*typed_data.Int32x4.wwyw*/get wwyw() { - return 223; - }, - /*typed_data.Int32x4.wwzx*/get wwzx() { - return 47; - }, - /*typed_data.Int32x4.wwzy*/get wwzy() { - return 111; - }, - /*typed_data.Int32x4.wwzz*/get wwzz() { - return 175; - }, - /*typed_data.Int32x4.wwzw*/get wwzw() { - return 239; - }, - /*typed_data.Int32x4.wwwx*/get wwwx() { - return 63; - }, - /*typed_data.Int32x4.wwwy*/get wwwy() { - return 127; - }, - /*typed_data.Int32x4.wwwz*/get wwwz() { - return 191; - }, - /*typed_data.Int32x4.wwww*/get wwww() { - return 255; - } -}, false); -const Object_ListMixin$36$ = class Object_ListMixin extends core.Object {}; -(Object_ListMixin$36$.new = function() { -}).prototype = Object_ListMixin$36$.prototype; -dart.applyMixin(Object_ListMixin$36$, collection.ListMixin$(typed_data.Int32x4)); -const Object_FixedLengthListMixin$36$ = class Object_FixedLengthListMixin extends Object_ListMixin$36$ {}; -(Object_FixedLengthListMixin$36$.new = function() { -}).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[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]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 4)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - let _z = this[_storage$][$_get](dart.notNull(index) * 4 + 2); - let _w = this[_storage$][$_get](dart.notNull(index) * 4 + 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 229, 25, "index"); - typed_data.Int32x4.as(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); - this[_storage$][$_set](dart.notNull(index) * 4 + 2, value.z); - this[_storage$][$_set](dart.notNull(index) * 4 + 3, value.w); - return value$; - } - sublist(start, end = null) { - 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[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[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[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); - this[_storage$][$_set](i * 4 + 0, e.x); - this[_storage$][$_set](i * 4 + 1, e.y); - this[_storage$][$_set](i * 4 + 2, e.z); - this[_storage$][$_set](i * 4 + 3, e.w); - } -}).prototype = _native_typed_data.NativeInt32x4List.prototype; -dart.addTypeTests(_native_typed_data.NativeInt32x4List); -dart.addTypeCaches(_native_typed_data.NativeInt32x4List); -_native_typed_data.NativeInt32x4List[dart.implements] = () => [typed_data.Int32x4List]; -dart.setMethodSignature(_native_typed_data.NativeInt32x4List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4List.__proto__), - _get: dart.fnType(typed_data.Int32x4, [core.int]), - [$_get]: dart.fnType(typed_data.Int32x4, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeInt32x4List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeInt32x4List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -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.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; -dart.applyMixin(Object_ListMixin$36$0, collection.ListMixin$(typed_data.Float64x2)); -const Object_FixedLengthListMixin$36$0 = class Object_FixedLengthListMixin extends Object_ListMixin$36$0 {}; -(Object_FixedLengthListMixin$36$0.new = function() { -}).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[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); - } - get buffer() { - return this[_storage$][$buffer]; - } - get lengthInBytes() { - return this[_storage$][$lengthInBytes]; - } - get offsetInBytes() { - return this[_storage$][$offsetInBytes]; - } - get elementSizeInBytes() { - return 16; - } - get length() { - return (dart.notNull(this[_storage$][$length]) / 2)[$truncate](); - } - set length(value) { - super.length = value; - } - _get(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); - return new _native_typed_data.NativeFloat64x2.new(_x, _y); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 297, 25, "index"); - typed_data.Float64x2.as(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[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[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[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[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); - this[_storage$][$_set](i * 2 + 0, e.x); - this[_storage$][$_set](i * 2 + 1, e.y); - } -}).prototype = _native_typed_data.NativeFloat64x2List.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat64x2List); -dart.addTypeCaches(_native_typed_data.NativeFloat64x2List); -_native_typed_data.NativeFloat64x2List[dart.implements] = () => [typed_data.Float64x2List]; -dart.setMethodSignature(_native_typed_data.NativeFloat64x2List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2List.__proto__), - _get: dart.fnType(typed_data.Float64x2, [core.int]), - [$_get]: dart.fnType(typed_data.Float64x2, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - 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, - [$buffer]: typed_data.ByteBuffer, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - length: core.int, - [$length]: core.int -})); -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) -})); -dart.defineExtensionMethods(_native_typed_data.NativeFloat64x2List, ['_get', '_set', 'sublist']); -dart.defineExtensionAccessors(_native_typed_data.NativeFloat64x2List, [ - 'runtimeType', - 'buffer', - 'lengthInBytes', - 'offsetInBytes', - 'elementSizeInBytes', - 'length' -]); -var _invalidPosition = dart.privateName(_native_typed_data, "_invalidPosition"); -var _checkPosition = dart.privateName(_native_typed_data, "_checkPosition"); -_native_typed_data.NativeTypedData = class NativeTypedData extends core.Object { - get [$buffer]() { - return this.buffer; - } - get [$lengthInBytes]() { - return this.byteLength; - } - get [$offsetInBytes]() { - return this.byteOffset; - } - get [$elementSizeInBytes]() { - return this.BYTES_PER_ELEMENT; - } - [_invalidPosition](position, length, 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 { - dart.throw(new core.RangeError.range(position, 0, length, name)); - } - } - [_checkPosition](position, length, 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() { - ; -}).prototype = _native_typed_data.NativeTypedData.prototype; -dart.addTypeTests(_native_typed_data.NativeTypedData); -dart.addTypeCaches(_native_typed_data.NativeTypedData); -_native_typed_data.NativeTypedData[dart.implements] = () => [typed_data.TypedData]; -dart.setMethodSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedData.__proto__), - [_invalidPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [_checkPosition]: dart.fnType(dart.void, [core.int, core.int, core.String]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedData, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedData.__proto__), - [$buffer]: typed_data.ByteBuffer, - [$lengthInBytes]: core.int, - [$offsetInBytes]: core.int, - [$elementSizeInBytes]: core.int -})); -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"); -var _getFloat64 = dart.privateName(_native_typed_data, "_getFloat64"); -var _getInt16 = dart.privateName(_native_typed_data, "_getInt16"); -var _getInt32 = dart.privateName(_native_typed_data, "_getInt32"); -var _getUint16 = dart.privateName(_native_typed_data, "_getUint16"); -var _getUint32 = dart.privateName(_native_typed_data, "_getUint32"); -var _setFloat32 = dart.privateName(_native_typed_data, "_setFloat32"); -var _setFloat64 = dart.privateName(_native_typed_data, "_setFloat64"); -var _setInt16 = dart.privateName(_native_typed_data, "_setInt16"); -var _setInt32 = dart.privateName(_native_typed_data, "_setInt32"); -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[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[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); - } - get [$runtimeType]() { - return dart.wrapType(typed_data.ByteData); - } - get [$elementSizeInBytes]() { - return 1; - } - [$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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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) { - return this.setUint8.apply(this, args); - } - static _create1(arg) { - return new DataView(new ArrayBuffer(arg)); - } - static _create2(arg1, arg2) { - return new DataView(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new DataView(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeByteData); -dart.addTypeCaches(_native_typed_data.NativeByteData); -_native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData]; -dart.setMethodSignature(_native_typed_data.NativeByteData, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeByteData.__proto__), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat32]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [_getFloat64]: dart.fnType(core.double, [core.int], [dart.nullable(core.bool)]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getInt32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt8]: dart.fnType(core.int, [core.int]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint16]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [_getUint32]: dart.fnType(core.int, [core.int], [dart.nullable(core.bool)]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint8]: dart.fnType(core.int, [core.int]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat32]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setFloat64]: dart.fnType(dart.void, [core.int, core.num], [typed_data.Endian]), - [_setFloat64]: dart.fnType(dart.void, [core.int, core.num], [dart.nullable(core.bool)]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setInt32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint16]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [_setUint32]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.bool)]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]) -})); -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[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"); - if (dart.notNull(start) > dart.notNull(end)) dart.throw(new core.RangeError.range(start, 0, end)); - let count = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(skipCount) < 0) dart.throw(new core.ArgumentError.new(skipCount)); - let sourceLength = source[$length]; - if (dart.notNull(sourceLength) - dart.notNull(skipCount) < count) { - dart.throw(new core.StateError.new("Not enough elements")); - } - if (skipCount !== 0 || sourceLength !== count) { - source = source.subarray(skipCount, dart.notNull(skipCount) + count); - } - this.set(source, start); - } - } - (NativeTypedArray.new = function() { - ; - }).prototype = NativeTypedArray.prototype; - dart.addTypeTests(NativeTypedArray); - NativeTypedArray.prototype[_is_NativeTypedArray_default] = true; - dart.addTypeCaches(NativeTypedArray); - NativeTypedArray[dart.implements] = () => [_js_helper.JavaScriptIndexingBehavior$(E)]; - dart.setMethodSignature(NativeTypedArray, () => ({ - __proto__: dart.getMethods(NativeTypedArray.__proto__), - [_setRangeFast]: dart.fnType(dart.void, [core.int, core.int, _native_typed_data.NativeTypedArray, core.int]) - })); - dart.setLibraryUri(NativeTypedArray, I[61]); - return NativeTypedArray; -}); -_native_typed_data.NativeTypedArray = _native_typed_data.NativeTypedArray$(); -dart.addTypeTests(_native_typed_data.NativeTypedArray, _is_NativeTypedArray_default); -core.double = class double extends core.num { - static is(o) { - return typeof o == "number"; - } - static as(o) { - if (typeof o == "number") return o; - return dart.as(o, core.double); - } - static parse(source, onError = null) { - 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], 285, 34, "source"); - return _js_helper.Primitives.parseDouble(source); - } -}; -(core.double.new = function() { - ; -}).prototype = core.double.prototype; -dart.addTypeCaches(core.double); -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; - }, - /*core.double.infinity*/get infinity() { - return 1 / 0; - }, - /*core.double.negativeInfinity*/get negativeInfinity() { - return -1 / 0; - }, - /*core.double.minPositive*/get minPositive() { - return 5e-324; - }, - /*core.double.maxFinite*/get maxFinite() { - return 1.7976931348623157e+308; - } -}, false); -const NativeTypedArray_ListMixin$36 = class NativeTypedArray_ListMixin extends _native_typed_data.NativeTypedArray$(core.double) {}; -(NativeTypedArray_ListMixin$36.new = function() { -}).prototype = NativeTypedArray_ListMixin$36.prototype; -dart.applyMixin(NativeTypedArray_ListMixin$36, collection.ListMixin$(core.double)); -const NativeTypedArray_FixedLengthListMixin$36 = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36 {}; -(NativeTypedArray_FixedLengthListMixin$36.new = function() { -}).prototype = NativeTypedArray_FixedLengthListMixin$36.prototype; -dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36, _internal.FixedLengthListMixin$(core.double)); -_native_typed_data.NativeTypedArrayOfDouble = class NativeTypedArrayOfDouble extends NativeTypedArray_FixedLengthListMixin$36 { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _get(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[60], 704, 25, "index"); - core.num.as(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[60], 709, 21, "start"); - if (end == null) dart.nullFailed(I[60], 709, 32, "end"); - T$.IterableOfdouble().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } -}; -(_native_typed_data.NativeTypedArrayOfDouble.new = function() { - ; -}).prototype = _native_typed_data.NativeTypedArrayOfDouble.prototype; -dart.addTypeTests(_native_typed_data.NativeTypedArrayOfDouble); -dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfDouble); -dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - _get: dart.fnType(core.double, [core.int]), - [$_get]: dart.fnType(core.double, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfDouble, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfDouble.__proto__), - length: core.int, - [$length]: core.int -})); -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) {}; -(NativeTypedArray_ListMixin$36$.new = function() { -}).prototype = NativeTypedArray_ListMixin$36$.prototype; -dart.applyMixin(NativeTypedArray_ListMixin$36$, collection.ListMixin$(core.int)); -const NativeTypedArray_FixedLengthListMixin$36$ = class NativeTypedArray_FixedLengthListMixin extends NativeTypedArray_ListMixin$36$ {}; -(NativeTypedArray_FixedLengthListMixin$36$.new = function() { -}).prototype = NativeTypedArray_FixedLengthListMixin$36$.prototype; -dart.applyMixin(NativeTypedArray_FixedLengthListMixin$36$, _internal.FixedLengthListMixin$(core.int)); -_native_typed_data.NativeTypedArrayOfInt = class NativeTypedArrayOfInt extends NativeTypedArray_FixedLengthListMixin$36$ { - get length() { - return this.length; - } - set length(value) { - super.length = value; - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[60], 727, 25, "index"); - core.int.as(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[60], 732, 21, "start"); - if (end == null) dart.nullFailed(I[60], 732, 32, "end"); - T$.IterableOfint().as(iterable); - 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; - } - super[$setRange](start, end, iterable, skipCount); - } -}; -(_native_typed_data.NativeTypedArrayOfInt.new = function() { - ; -}).prototype = _native_typed_data.NativeTypedArrayOfInt.prototype; -_native_typed_data.NativeTypedArrayOfInt.prototype[dart.isList] = true; -dart.addTypeTests(_native_typed_data.NativeTypedArrayOfInt); -dart.addTypeCaches(_native_typed_data.NativeTypedArrayOfInt); -_native_typed_data.NativeTypedArrayOfInt[dart.implements] = () => [core.List$(core.int)]; -dart.setMethodSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeTypedArrayOfInt.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_native_typed_data.NativeTypedArrayOfInt, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeTypedArrayOfInt.__proto__), - length: core.int, - [$length]: core.int -})); -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[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[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[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[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); - } - static _create1(arg) { - return new Float32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeFloat32List); -dart.addTypeCaches(_native_typed_data.NativeFloat32List); -_native_typed_data.NativeFloat32List[dart.implements] = () => [typed_data.Float32List]; -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.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[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[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[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[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); - } - static _create1(arg) { - return new Float64Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Float64Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeFloat64List); -dart.addTypeCaches(_native_typed_data.NativeFloat64List); -_native_typed_data.NativeFloat64List[dart.implements] = () => [typed_data.Float64List]; -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.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[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[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[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[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[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); - } - static _create1(arg) { - return new Int16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int16Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt16List); -dart.addTypeCaches(_native_typed_data.NativeInt16List); -_native_typed_data.NativeInt16List[dart.implements] = () => [typed_data.Int16List]; -dart.setMethodSignature(_native_typed_data.NativeInt16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int16List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Int32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Int32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt32List); -dart.addTypeCaches(_native_typed_data.NativeInt32List); -_native_typed_data.NativeInt32List[dart.implements] = () => [typed_data.Int32List]; -dart.setMethodSignature(_native_typed_data.NativeInt32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int32List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Int8Array(arg); - } - static _create2(arg1, arg2) { - return new Int8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Int8Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeInt8List); -dart.addTypeCaches(_native_typed_data.NativeInt8List); -_native_typed_data.NativeInt8List[dart.implements] = () => [typed_data.Int8List]; -dart.setMethodSignature(_native_typed_data.NativeInt8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Int8List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint16Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint16Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint16List); -dart.addTypeCaches(_native_typed_data.NativeUint16List); -_native_typed_data.NativeUint16List[dart.implements] = () => [typed_data.Uint16List]; -dart.setMethodSignature(_native_typed_data.NativeUint16List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint16List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint16List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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[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[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); - } - static _create1(arg) { - return new Uint32Array(arg); - } - static _create3(arg1, arg2, arg3) { - return new Uint32Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint32List); -dart.addTypeCaches(_native_typed_data.NativeUint32List); -_native_typed_data.NativeUint32List[dart.implements] = () => [typed_data.Uint32List]; -dart.setMethodSignature(_native_typed_data.NativeUint32List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint32List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint32List, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8ClampedArray(arg); - } - static _create2(arg1, arg2) { - return new Uint8ClampedArray(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8ClampedArray(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint8ClampedList); -dart.addTypeCaches(_native_typed_data.NativeUint8ClampedList); -_native_typed_data.NativeUint8ClampedList[dart.implements] = () => [typed_data.Uint8ClampedList]; -dart.setMethodSignature(_native_typed_data.NativeUint8ClampedList, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8ClampedList.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8ClampedList, [core.int], [dart.nullable(core.int)]) -})); -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[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[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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - super[$length] = value; - } - [$_get](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[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); - } - static _create1(arg) { - return new Uint8Array(arg); - } - static _create2(arg1, arg2) { - return new Uint8Array(arg1, arg2); - } - static _create3(arg1, arg2, arg3) { - return new Uint8Array(arg1, arg2, arg3); - } -}; -dart.addTypeTests(_native_typed_data.NativeUint8List); -dart.addTypeCaches(_native_typed_data.NativeUint8List); -_native_typed_data.NativeUint8List[dart.implements] = () => [typed_data.Uint8List]; -dart.setMethodSignature(_native_typed_data.NativeUint8List, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeUint8List.__proto__), - [$_get]: dart.fnType(core.int, [core.int]), - [$sublist]: dart.fnType(typed_data.Uint8List, [core.int], [dart.nullable(core.int)]) -})); -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"); -var z$ = dart.privateName(_native_typed_data, "NativeFloat32x4.z"); -var w$ = dart.privateName(_native_typed_data, "NativeFloat32x4.w"); -_native_typed_data.NativeFloat32x4 = class NativeFloat32x4 extends core.Object { - get x() { - return this[x$]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[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[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); - let _w = dart.notNull(this.w) + dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - _negate() { - 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[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); - let _w = dart.notNull(this.w) - dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['*'](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); - let _w = dart.notNull(this.w) * dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - ['/'](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); - let _w = dart.notNull(this.w) / dart.notNull(other.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - lessThan(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); - let _cw = dart.notNull(this.w) < dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) <= dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) > dart.notNull(other.w); - 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[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); - let _cw = dart.notNull(this.w) >= dart.notNull(other.w); - 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[60], 1227, 27, "other"); - let _cx = this.x == other.x; - let _cy = this.y == other.y; - let _cz = this.z == other.z; - let _cw = this.w == other.w; - 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[60], 1237, 30, "other"); - let _cx = this.x != other.x; - let _cy = this.y != other.y; - let _cz = this.z != other.z; - let _cw = this.w != other.w; - 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[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); - let _w = dart.notNull(s) * dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - abs() { - let _x = this.x[$abs](); - let _y = this.y[$abs](); - let _z = this.z[$abs](); - let _w = this.w[$abs](); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - clamp(lowerLimit, 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; - let _lw = lowerLimit.w; - let _ux = upperLimit.x; - let _uy = upperLimit.y; - let _uz = upperLimit.z; - let _uw = upperLimit.w; - let _x = this.x; - let _y = this.y; - let _z = this.z; - let _w = this.w; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _z = dart.notNull(_z) > dart.notNull(_uz) ? _uz : _z; - _w = dart.notNull(_w) > dart.notNull(_uw) ? _uw : _w; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - _z = dart.notNull(_z) < dart.notNull(_lz) ? _lz : _z; - _w = dart.notNull(_w) < dart.notNull(_lw) ? _lw : _w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - get signMask() { - let view = _native_typed_data.NativeFloat32x4._uint32view; - let mx = null; - let my = null; - let mz = null; - let mw = null; - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - mx = (dart.notNull(view[$_get](0)) & 2147483648) >>> 31; - my = (dart.notNull(view[$_get](1)) & 2147483648) >>> 30; - mz = (dart.notNull(view[$_get](2)) & 2147483648) >>> 29; - mw = (dart.notNull(view[$_get](3)) & 2147483648) >>> 28; - return core.int.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', [my]), '|', [mz]), '|', [mw])); - } - shuffle(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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeFloat32x4._list[$_set](0, this.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, this.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, this.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeFloat32x4._list[$_set](0, other.x); - _native_typed_data.NativeFloat32x4._list[$_set](1, other.y); - _native_typed_data.NativeFloat32x4._list[$_set](2, other.z); - _native_typed_data.NativeFloat32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeFloat32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - withX(newX) { - if (newX == null) dart.nullFailed(I[60], 1347, 26, "newX"); - core.ArgumentError.checkNotNull(core.double, newX); - 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[60], 1353, 26, "newY"); - core.ArgumentError.checkNotNull(core.double, newY); - 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[60], 1359, 26, "newZ"); - core.ArgumentError.checkNotNull(core.double, newZ); - 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[60], 1365, 26, "newW"); - core.ArgumentError.checkNotNull(core.double, 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[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; - let _w = dart.notNull(this.w) < dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - max(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; - let _w = dart.notNull(this.w) > dart.notNull(other.w) ? this.w : other.w; - return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w); - } - sqrt() { - let _x = math.sqrt(this.x); - let _y = math.sqrt(this.y); - let _z = math.sqrt(this.z); - let _w = math.sqrt(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocal() { - let _x = 1.0 / dart.notNull(this.x); - let _y = 1.0 / dart.notNull(this.y); - let _z = 1.0 / dart.notNull(this.z); - let _w = 1.0 / dart.notNull(this.w); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } - reciprocalSqrt() { - let _x = math.sqrt(1.0 / dart.notNull(this.x)); - let _y = math.sqrt(1.0 / dart.notNull(this.y)); - let _z = math.sqrt(1.0 / dart.notNull(this.z)); - let _w = math.sqrt(1.0 / dart.notNull(this.w)); - return new _native_typed_data.NativeFloat32x4._doubles(_x, _y, _z, _w); - } -}; -(_native_typed_data.NativeFloat32x4.new = function(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"); - 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[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[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[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[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; - this[w$] = w; - ; -}).prototype = _native_typed_data.NativeFloat32x4.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat32x4); -dart.addTypeCaches(_native_typed_data.NativeFloat32x4); -_native_typed_data.NativeFloat32x4[dart.implements] = () => [typed_data.Float32x4]; -dart.setMethodSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat32x4.__proto__), - '+': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - _negate: dart.fnType(typed_data.Float32x4, []), - '-': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '*': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - '/': dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - lessThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - lessThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThan: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - greaterThanOrEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - equal: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - notEqual: dart.fnType(typed_data.Int32x4, [typed_data.Float32x4]), - scale: dart.fnType(typed_data.Float32x4, [core.double]), - abs: dart.fnType(typed_data.Float32x4, []), - clamp: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, typed_data.Float32x4]), - shuffle: dart.fnType(typed_data.Float32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4, core.int]), - withX: dart.fnType(typed_data.Float32x4, [core.double]), - withY: dart.fnType(typed_data.Float32x4, [core.double]), - withZ: dart.fnType(typed_data.Float32x4, [core.double]), - withW: dart.fnType(typed_data.Float32x4, [core.double]), - min: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - max: dart.fnType(typed_data.Float32x4, [typed_data.Float32x4]), - sqrt: dart.fnType(typed_data.Float32x4, []), - 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[61]); -dart.setFieldSignature(_native_typed_data.NativeFloat32x4, () => ({ - __proto__: dart.getFields(_native_typed_data.NativeFloat32x4.__proto__), - x: dart.finalFieldType(core.double), - y: dart.finalFieldType(core.double), - 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() { - return _native_typed_data.NativeFloat32List.new(4); - }, - /*_native_typed_data.NativeFloat32x4._uint32view*/get _uint32view() { - return _native_typed_data.NativeFloat32x4._list.buffer[$asUint32List](); - } -}, false); -var x$0 = dart.privateName(_native_typed_data, "NativeInt32x4.x"); -var y$0 = dart.privateName(_native_typed_data, "NativeInt32x4.y"); -var z$0 = dart.privateName(_native_typed_data, "NativeInt32x4.z"); -var w$0 = dart.privateName(_native_typed_data, "NativeInt32x4.w"); -_native_typed_data.NativeInt32x4 = class NativeInt32x4 extends core.Object { - get x() { - return this[x$0]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$0]; - } - set y(value) { - super.y = value; - } - get z() { - return this[z$0]; - } - set z(value) { - super.z = value; - } - get w() { - return this[w$0]; - } - set w(value) { - super.w = value; - } - static _truncate(x) { - _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[60], 1452, 53, "f"); - let floatList = _native_typed_data.NativeFloat32x4._list; - floatList[$_set](0, f.x); - floatList[$_set](1, f.y); - floatList[$_set](2, f.z); - floatList[$_set](3, f.w); - 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[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[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[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[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[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() { - return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0); - } - get signMask() { - let mx = (dart.notNull(this.x) & 2147483648) >>> 31; - let my = (dart.notNull(this.y) & 2147483648) >>> 31; - let mz = (dart.notNull(this.z) & 2147483648) >>> 31; - let mw = (dart.notNull(this.w) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0 | mz << 2 >>> 0 | mw << 3 >>> 0) >>> 0; - } - shuffle(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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - shuffleMix(other, 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")); - } - _native_typed_data.NativeInt32x4._list[$_set](0, this.x); - _native_typed_data.NativeInt32x4._list[$_set](1, this.y); - _native_typed_data.NativeInt32x4._list[$_set](2, this.z); - _native_typed_data.NativeInt32x4._list[$_set](3, this.w); - let _x = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) & 3); - let _y = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 2 & 3); - _native_typed_data.NativeInt32x4._list[$_set](0, other.x); - _native_typed_data.NativeInt32x4._list[$_set](1, other.y); - _native_typed_data.NativeInt32x4._list[$_set](2, other.z); - _native_typed_data.NativeInt32x4._list[$_set](3, other.w); - let _z = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 4 & 3); - let _w = _native_typed_data.NativeInt32x4._list[$_get](dart.notNull(mask) >> 6 & 3); - return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w); - } - withX(x) { - if (x == null) dart.nullFailed(I[60], 1575, 21, "x"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1582, 21, "y"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1589, 21, "z"); - core.ArgumentError.checkNotNull(core.int, 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[60], 1596, 21, "w"); - core.ArgumentError.checkNotNull(core.int, 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() { - return this.x !== 0; - } - get flagY() { - return this.y !== 0; - } - get flagZ() { - return this.z !== 0; - } - get flagW() { - return this.w !== 0; - } - withFlagX(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[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[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[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[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); - floatList[$_set](1, trueValue.y); - floatList[$_set](2, trueValue.z); - floatList[$_set](3, trueValue.w); - let stx = intView[$_get](0); - let sty = intView[$_get](1); - let stz = intView[$_get](2); - let stw = intView[$_get](3); - floatList[$_set](0, falseValue.x); - floatList[$_set](1, falseValue.y); - floatList[$_set](2, falseValue.z); - floatList[$_set](3, falseValue.w); - let sfx = intView[$_get](0); - let sfy = intView[$_get](1); - let sfz = intView[$_get](2); - let sfw = intView[$_get](3); - let _x = (dart.notNull(this.x) & dart.notNull(stx) | (~dart.notNull(this.x) & dart.notNull(sfx)) >>> 0) >>> 0; - let _y = (dart.notNull(this.y) & dart.notNull(sty) | (~dart.notNull(this.y) & dart.notNull(sfy)) >>> 0) >>> 0; - let _z = (dart.notNull(this.z) & dart.notNull(stz) | (~dart.notNull(this.z) & dart.notNull(sfz)) >>> 0) >>> 0; - let _w = (dart.notNull(this.w) & dart.notNull(stw) | (~dart.notNull(this.w) & dart.notNull(sfw)) >>> 0) >>> 0; - intView[$_set](0, _x); - intView[$_set](1, _y); - intView[$_set](2, _z); - intView[$_set](3, _w); - return new _native_typed_data.NativeFloat32x4._truncated(floatList[$_get](0), floatList[$_get](1), floatList[$_get](2), floatList[$_get](3)); - } -}; -(_native_typed_data.NativeInt32x4.new = function(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"); - 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[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; - this[w$0] = dart.test(w) ? -1 : 0; - ; -}).prototype = _native_typed_data.NativeInt32x4.prototype; -(_native_typed_data.NativeInt32x4._truncated = function(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"); - this[x$0] = x; - this[y$0] = y; - this[z$0] = z; - this[w$0] = w; - ; -}).prototype = _native_typed_data.NativeInt32x4.prototype; -dart.addTypeTests(_native_typed_data.NativeInt32x4); -dart.addTypeCaches(_native_typed_data.NativeInt32x4); -_native_typed_data.NativeInt32x4[dart.implements] = () => [typed_data.Int32x4]; -dart.setMethodSignature(_native_typed_data.NativeInt32x4, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeInt32x4.__proto__), - '|': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '&': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '^': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '+': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - '-': dart.fnType(typed_data.Int32x4, [typed_data.Int32x4]), - _negate: dart.fnType(typed_data.Int32x4, []), - shuffle: dart.fnType(typed_data.Int32x4, [core.int]), - shuffleMix: dart.fnType(typed_data.Int32x4, [typed_data.Int32x4, core.int]), - withX: dart.fnType(typed_data.Int32x4, [core.int]), - withY: dart.fnType(typed_data.Int32x4, [core.int]), - withZ: dart.fnType(typed_data.Int32x4, [core.int]), - withW: dart.fnType(typed_data.Int32x4, [core.int]), - withFlagX: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagY: dart.fnType(typed_data.Int32x4, [core.bool]), - withFlagZ: dart.fnType(typed_data.Int32x4, [core.bool]), - 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, - flagX: core.bool, - flagY: core.bool, - flagZ: core.bool, - flagW: core.bool -})); -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), - y: dart.finalFieldType(core.int), - 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() { - return _native_typed_data.NativeInt32List.new(4); - } -}, false); -var x$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.x"); -var y$1 = dart.privateName(_native_typed_data, "NativeFloat64x2.y"); -_native_typed_data.NativeFloat64x2 = class NativeFloat64x2 extends core.Object { - get x() { - return this[x$1]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$1]; - } - 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[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[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[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[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[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[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; - let _uy = upperLimit.y; - let _x = this.x; - let _y = this.y; - _x = dart.notNull(_x) > dart.notNull(_ux) ? _ux : _x; - _y = dart.notNull(_y) > dart.notNull(_uy) ? _uy : _y; - _x = dart.notNull(_x) < dart.notNull(_lx) ? _lx : _x; - _y = dart.notNull(_y) < dart.notNull(_ly) ? _ly : _y; - return new _native_typed_data.NativeFloat64x2._doubles(_x, _y); - } - get signMask() { - let view = _native_typed_data.NativeFloat64x2._uint32View; - _native_typed_data.NativeFloat64x2._list[$_set](0, this.x); - _native_typed_data.NativeFloat64x2._list[$_set](1, this.y); - let mx = (dart.notNull(view[$_get](1)) & 2147483648) >>> 31; - let my = (dart.notNull(view[$_get](3)) & 2147483648) >>> 31; - return (mx | my << 1 >>> 0) >>> 0; - } - withX(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[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[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[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() { - return new _native_typed_data.NativeFloat64x2._doubles(math.sqrt(this.x), math.sqrt(this.y)); - } -}; -(_native_typed_data.NativeFloat64x2.new = function(x, 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[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[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[60], 1694, 33, "x"); - if (y == null) dart.nullFailed(I[60], 1694, 41, "y"); - this[x$1] = x; - this[y$1] = y; - ; -}).prototype = _native_typed_data.NativeFloat64x2.prototype; -dart.addTypeTests(_native_typed_data.NativeFloat64x2); -dart.addTypeCaches(_native_typed_data.NativeFloat64x2); -_native_typed_data.NativeFloat64x2[dart.implements] = () => [typed_data.Float64x2]; -dart.setMethodSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getMethods(_native_typed_data.NativeFloat64x2.__proto__), - '+': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - _negate: dart.fnType(typed_data.Float64x2, []), - '-': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '*': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - '/': dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - scale: dart.fnType(typed_data.Float64x2, [core.double]), - abs: dart.fnType(typed_data.Float64x2, []), - clamp: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2, typed_data.Float64x2]), - withX: dart.fnType(typed_data.Float64x2, [core.double]), - withY: dart.fnType(typed_data.Float64x2, [core.double]), - min: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - max: dart.fnType(typed_data.Float64x2, [typed_data.Float64x2]), - sqrt: dart.fnType(typed_data.Float64x2, []) -})); -dart.setGetterSignature(_native_typed_data.NativeFloat64x2, () => ({ - __proto__: dart.getGetters(_native_typed_data.NativeFloat64x2.__proto__), - signMask: core.int -})); -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(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(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))); - return length; -}; -_native_typed_data._checkViewArguments = function _checkViewArguments(buffer, offsetInBytes, length) { - if (!_native_typed_data.NativeByteBuffer.is(buffer)) { - dart.throw(new core.ArgumentError.new("Invalid view buffer")); - } - if (!core.int.is(offsetInBytes)) { - dart.throw(new core.ArgumentError.new("Invalid view offsetInBytes " + dart.str(offsetInBytes))); - } - if (!T$.intN().is(length)) { - dart.throw(new core.ArgumentError.new("Invalid view length " + dart.str(length))); - } -}; -_native_typed_data._ensureNativeList = function _ensureNativeList(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) { - result[$_set](i, list[$_get](i)); - } - return result; -}; -_native_typed_data._isInvalidArrayIndex = function _isInvalidArrayIndex(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[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[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)); - } - if (end == null) return length; - return end; -}; -var ___AsyncStarImpl_controller = dart.privateName(async, "_#_AsyncStarImpl#controller"); -var ___AsyncStarImpl_controller_isSet = dart.privateName(async, "_#_AsyncStarImpl#controller#isSet"); -var ___AsyncStarImpl_jsIterator = dart.privateName(async, "_#_AsyncStarImpl#jsIterator"); -var ___AsyncStarImpl_jsIterator_isSet = dart.privateName(async, "_#_AsyncStarImpl#jsIterator#isSet"); -var _handleErrorCallback = dart.privateName(async, "_handleErrorCallback"); -var _runBodyCallback = dart.privateName(async, "_runBodyCallback"); -var _chainForeignFuture = dart.privateName(async, "_chainForeignFuture"); -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 __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 t72; - return dart.test(this[___AsyncStarImpl_controller_isSet]) ? (t72 = this[___AsyncStarImpl_controller], t72) : dart.throw(new _internal.LateError.fieldNI("controller")); - } - 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] = controller$35param; - } - get jsIterator() { - let t72; - return dart.test(this[___AsyncStarImpl_jsIterator_isSet]) ? (t72 = this[___AsyncStarImpl_jsIterator], t72) : dart.throw(new _internal.LateError.fieldNI("jsIterator")); - } - set jsIterator(jsIterator$35param) { - if (jsIterator$35param == null) dart.nullFailed(I[64], 240, 15, "jsIterator#param"); - this[___AsyncStarImpl_jsIterator_isSet] = true; - 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; - } - get handleError() { - if (this[_handleErrorCallback] == null) { - this[_handleErrorCallback] = dart.fn((error, 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$) { - let e = dart.getThrown(e$); - let newStack = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, newStack); - } else - throw e$; - } - }, T$.ObjectAndStackTraceToNull()); - let zone = async.Zone.current; - if (zone != async.Zone.root) { - this[_handleErrorCallback] = zone.bindBinaryCallback(core.Null, core.Object, core.StackTrace, dart.nullCheck(this[_handleErrorCallback])); - } - } - return dart.nullCheck(this[_handleErrorCallback]); - } - scheduleGenerator() { - if (this.isScheduled || dart.test(this.controller.isPaused) || this.isSuspendedAtYieldStar) { - return; - } - this.isScheduled = true; - let zone = async.Zone.current; - if (this[_runBodyCallback] == null) { - this[_runBodyCallback] = this.runBody.bind(this); - if (zone != async.Zone.root) { - let registered = zone.registerUnaryCallback(dart.void, T$.ObjectN(), dart.nullCheck(this[_runBodyCallback])); - this[_runBodyCallback] = dart.fn((arg = null) => zone.runUnaryGuarded(T$.ObjectN(), registered, arg), T$.ObjectNTovoid$1()); - } - } - zone.scheduleMicrotask(dart.nullCheck(this[_runBodyCallback])); - } - runBody(awaitValue) { - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - let iterResult = null; - try { - iterResult = this.jsIterator.next(awaitValue); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.addError(e, s); - return; - } else - throw e$; - } - if (iterResult.done) { - this.close(); - return; - } - if (this.isSuspendedAtYield || this.isSuspendedAtYieldStar) return; - this.isSuspendedAtAwait = true; - let value = iterResult.value; - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f[_thenAwait](dart.void, dart.nullCheck(this[_runBodyCallback]), this.handleError); - } - add(event) { - T.as(event); - if (!this.onListenReceived) this[_fatal]("yield before stream is listened to"); - if (this.isSuspendedAtYield) this[_fatal]("unexpected yield"); - if (!dart.test(this.controller.hasListener)) { - return true; - } - this.controller.add(event); - this.scheduleGenerator(); - this.isSuspendedAtYield = true; - return false; - } - addStream(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; - let whenDoneAdding = this.controller.addStream(stream, {cancelOnError: false}); - whenDoneAdding.then(core.Null, dart.fn(_ => { - this.isSuspendedAtYieldStar = false; - this.scheduleGenerator(); - if (!this.isScheduled) this.isSuspendedAtYield = true; - }, T$.dynamicToNull()), {onError: this.handleError}); - return false; - } - addError(error, 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)) { - completer.completeError(error, stackTrace); - } else if (dart.test(this.controller.hasListener)) { - this.controller.addError(error, stackTrace); - } - this.close(); - } - close() { - let completer = this.cancellationCompleter; - if (completer != null && !dart.test(completer.isCompleted)) { - completer.complete(); - } - this.controller.close(); - } - onListen() { - if (!!this.onListenReceived) dart.assertFailed(null, I[64], 439, 12, "!onListenReceived"); - this.onListenReceived = true; - this.scheduleGenerator(); - } - onResume() { - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - onCancel() { - if (dart.test(this.controller.isClosed)) { - return null; - } - if (this.cancellationCompleter == null) { - this.cancellationCompleter = async.Completer.new(); - if (this.isSuspendedAtYield) { - this.scheduleGenerator(); - } - } - return dart.nullCheck(this.cancellationCompleter).future; - } - [_fatal](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[64], 245, 23, "initGenerator"); - this[___AsyncStarImpl_controller] = null; - this[___AsyncStarImpl_controller_isSet] = false; - this.isSuspendedAtYieldStar = false; - this.onListenReceived = false; - this.isScheduled = false; - this.isSuspendedAtYield = false; - this.isSuspendedAtAwait = false; - this.cancellationCompleter = null; - this[___AsyncStarImpl_jsIterator] = null; - this[___AsyncStarImpl_jsIterator_isSet] = false; - this[_handleErrorCallback] = null; - this[_runBodyCallback] = null; - this.initGenerator = initGenerator; - 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); - _AsyncStarImpl.prototype[_is__AsyncStarImpl_default] = true; - dart.addTypeCaches(_AsyncStarImpl); - dart.setMethodSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getMethods(_AsyncStarImpl.__proto__), - scheduleGenerator: dart.fnType(dart.void, []), - runBody: dart.fnType(dart.void, [dart.dynamic]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addStream: dart.fnType(core.bool, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - close: dart.fnType(dart.void, []), - onListen: dart.fnType(dart.dynamic, []), - onResume: dart.fnType(dart.dynamic, []), - onCancel: dart.fnType(dart.dynamic, []), - [_fatal]: dart.fnType(dart.dynamic, [core.String]) - })); - dart.setGetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getGetters(_AsyncStarImpl.__proto__), - controller: async.StreamController$(T), - jsIterator: core.Object, - stream: async.Stream$(T), - handleError: dart.fnType(core.Null, [core.Object, core.StackTrace]) - })); - dart.setSetterSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getSetters(_AsyncStarImpl.__proto__), - controller: dart.nullable(core.Object), - jsIterator: core.Object - })); - dart.setLibraryUri(_AsyncStarImpl, I[31]); - dart.setFieldSignature(_AsyncStarImpl, () => ({ - __proto__: dart.getFields(_AsyncStarImpl.__proto__), - [___AsyncStarImpl_controller]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [___AsyncStarImpl_controller_isSet]: dart.fieldType(core.bool), - initGenerator: dart.fieldType(dart.fnType(core.Object, [async._AsyncStarImpl$(T)])), - isSuspendedAtYieldStar: dart.fieldType(core.bool), - onListenReceived: dart.fieldType(core.bool), - isScheduled: dart.fieldType(core.bool), - isSuspendedAtYield: dart.fieldType(core.bool), - isSuspendedAtAwait: dart.fieldType(core.bool), - cancellationCompleter: dart.fieldType(dart.nullable(async.Completer)), - [___AsyncStarImpl_jsIterator]: dart.fieldType(dart.nullable(core.Object)), - [___AsyncStarImpl_jsIterator_isSet]: dart.fieldType(core.bool), - [_handleErrorCallback]: dart.fieldType(dart.nullable(dart.fnType(core.Null, [core.Object, core.StackTrace]))), - [_runBodyCallback]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [], [dart.nullable(core.Object)]))) - })); - return _AsyncStarImpl; -}); -async._AsyncStarImpl = async._AsyncStarImpl$(); -dart.addTypeTests(async._AsyncStarImpl, _is__AsyncStarImpl_default); -var error$ = dart.privateName(async, "AsyncError.error"); -var stackTrace$ = dart.privateName(async, "AsyncError.stackTrace"); -async.AsyncError = class AsyncError extends core.Object { - get error() { - return this[error$]; - } - set error(value) { - super.error = value; - } - get stackTrace() { - return this[stackTrace$]; - } - 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[65], 24, 46, "error"); - if (core.Error.is(error)) { - let stackTrace = error[$stackTrace]; - if (stackTrace != null) return stackTrace; - } - return core.StackTrace.empty; - } - toString() { - return dart.str(this.error); - } -}; -(async.AsyncError.new = function(error, stackTrace) { - let t74; - if (error == null) dart.nullFailed(I[65], 15, 21, "error"); - this[error$] = _internal.checkNotNullable(core.Object, error, "error"); - 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.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), - stackTrace: dart.finalFieldType(core.StackTrace) -})); -dart.defineExtensionMethods(async.AsyncError, ['toString']); -dart.defineExtensionAccessors(async.AsyncError, ['stackTrace']); -var _controller$ = dart.privateName(async, "_controller"); -var _subscribe = dart.privateName(async, "_subscribe"); -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 __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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - cancelOnError == null ? cancelOnError = false : null; - let subscription = this[_createSubscription](onData, onError, onDone, cancelOnError); - this[_onListen$](subscription); - return subscription; - } - [_createSubscription](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[68], 485, 37, "subscription"); - } - } - (_StreamImpl.new = function() { - _StreamImpl.__proto__.new.call(this); - ; - }).prototype = _StreamImpl.prototype; - dart.addTypeTests(_StreamImpl); - _StreamImpl.prototype[_is__StreamImpl_default] = true; - dart.addTypeCaches(_StreamImpl); - dart.setMethodSignature(_StreamImpl, () => ({ - __proto__: dart.getMethods(_StreamImpl.__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)}, {}), - [_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[31]); - return _StreamImpl; -}); -async._StreamImpl = async._StreamImpl$(); -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[67], 826, 51, "cancelOnError"); - return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError); - } - get hashCode() { - return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return async._ControllerStream.is(other) && other[_controller$] == this[_controller$]; - } - } - (_ControllerStream.new = function(_controller) { - if (_controller == null) dart.nullFailed(I[67], 823, 26, "_controller"); - this[_controller$] = _controller; - _ControllerStream.__proto__.new.call(this); - ; - }).prototype = _ControllerStream.prototype; - dart.addTypeTests(_ControllerStream); - _ControllerStream.prototype[_is__ControllerStream_default] = true; - dart.addTypeCaches(_ControllerStream); - dart.setLibraryUri(_ControllerStream, I[31]); - dart.setFieldSignature(_ControllerStream, () => ({ - __proto__: dart.getFields(_ControllerStream.__proto__), - [_controller$]: dart.fieldType(async._StreamControllerLifecycle$(T)) - })); - dart.defineExtensionMethods(_ControllerStream, ['_equals']); - dart.defineExtensionAccessors(_ControllerStream, ['hashCode']); - return _ControllerStream; -}); -async._ControllerStream = async._ControllerStream$(); -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[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[31]); - return _BroadcastStream; -}); -async._BroadcastStream = async._BroadcastStream$(); -dart.addTypeTests(async._BroadcastStream, _is__BroadcastStream_default); -var _next$0 = dart.privateName(async, "_BroadcastSubscription._next"); -var _previous$0 = dart.privateName(async, "_BroadcastSubscription._previous"); -var _eventState = dart.privateName(async, "_eventState"); -var _next$1 = dart.privateName(async, "_next"); -var _previous$1 = dart.privateName(async, "_previous"); -var _expectsEvent = dart.privateName(async, "_expectsEvent"); -var _toggleEventId = dart.privateName(async, "_toggleEventId"); -var _isFiring = dart.privateName(async, "_isFiring"); -var _setRemoveAfterFiring = dart.privateName(async, "_setRemoveAfterFiring"); -var _removeAfterFiring = dart.privateName(async, "_removeAfterFiring"); -var _onPause = dart.privateName(async, "_onPause"); -var _onResume = dart.privateName(async, "_onResume"); -var _recordCancel = dart.privateName(async, "_recordCancel"); -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 _zone$ = dart.privateName(async, "_zone"); -var _state = dart.privateName(async, "_state"); -var _onData$ = dart.privateName(async, "_onData"); -var _onError$ = dart.privateName(async, "_onError"); -var _onDone$ = dart.privateName(async, "_onDone"); -var _setPendingEvents = dart.privateName(async, "_setPendingEvents"); -var _isCanceled = dart.privateName(async, "_isCanceled"); -var _isPaused = dart.privateName(async, "_isPaused"); -var _isInputPaused = dart.privateName(async, "_isInputPaused"); -var _inCallback = dart.privateName(async, "_inCallback"); -var _guardCallback = dart.privateName(async, "_guardCallback"); -var _decrementPauseCount = dart.privateName(async, "_decrementPauseCount"); -var _hasPending = dart.privateName(async, "_hasPending"); -var _mayResumeInput = dart.privateName(async, "_mayResumeInput"); -var _cancel = dart.privateName(async, "_cancel"); -var _isClosed = dart.privateName(async, "_isClosed"); -var _waitsForCancel = dart.privateName(async, "_waitsForCancel"); -var _canFire = dart.privateName(async, "_canFire"); -var _cancelOnError = dart.privateName(async, "_cancelOnError"); -var _sendData = dart.privateName(async, "_sendData"); -var _addPending = dart.privateName(async, "_addPending"); -var _sendError = dart.privateName(async, "_sendError"); -var _sendDone = dart.privateName(async, "_sendDone"); -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 __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) { - __t$_PendingEventsNOfT().as(pendingEvents); - if (!(this[_pending] == null)) dart.assertFailed(null, I[68], 117, 12, "_pending == null"); - if (pendingEvents == null) return; - this[_pending] = pendingEvents; - if (!dart.test(pendingEvents.isEmpty)) { - this[_state] = (dart.notNull(this[_state]) | 64) >>> 0; - pendingEvents.schedule(this); - } - } - onData(handleData) { - this[_onData$] = async._BufferingStreamSubscription._registerDataHandler(T, this[_zone$], handleData); - } - static _registerDataHandler(T, zone, handleData) { - 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); - } - static _registerErrorHandler(zone, handleError) { - 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); - } - if (T$.ObjectTovoid().is(handleError)) { - return zone.registerUnaryCallback(dart.dynamic, core.Object, handleError); - } - dart.throw(new core.ArgumentError.new("handleError callback must take either an Object " + "(the error), or both an Object (the error) and a StackTrace.")); - } - onDone(handleDone) { - this[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(this[_zone$], handleDone); - } - static _registerDoneHandler(zone, handleDone) { - 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 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; - t74 = resumeSignal; - t74 == null ? null : t74.whenComplete(dart.bind(this, 'resume')); - if (!dart.test(wasPaused)) { - t74$ = this[_pending]; - t74$ == null ? null : t74$.cancelSchedule(); - } - if (!dart.test(wasInputPaused) && !dart.test(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause)); - } - resume() { - if (dart.test(this[_isCanceled])) return; - 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); - } else { - 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)); - } - } - } - } - cancel() { - let t74; - this[_state] = (dart.notNull(this[_state]) & ~16 >>> 0) >>> 0; - if (!dart.test(this[_isCanceled])) { - this[_cancel](); - } - t74 = this[_cancelFuture]; - return t74 == null ? async.Future._nullFuture : t74; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_complete](resultValue); - }, T$.VoidTovoid()); - 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(() => { - result[_completeError](error, stackTrace); - }, T$.VoidToNull())); - } else { - result[_completeError](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull()); - return result; - } - get [_isInputPaused]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isClosed]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_waitsForCancel]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_inCallback]() { - return (dart.notNull(this[_state]) & 32) !== 0; - } - get [_hasPending]() { - return (dart.notNull(this[_state]) & 64) !== 0; - } - get [_isPaused]() { - return dart.notNull(this[_state]) >= 128; - } - get [_canFire]() { - return dart.notNull(this[_state]) < 32; - } - get [_mayResumeInput]() { - 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; - } - get isPaused() { - return this[_isPaused]; - } - [_cancel]() { - this[_state] = (dart.notNull(this[_state]) | 8) >>> 0; - if (dart.test(this[_hasPending])) { - dart.nullCheck(this[_pending]).cancelSchedule(); - } - if (!dart.test(this[_inCallback])) this[_pending] = null; - this[_cancelFuture] = this[_onCancel](); - } - [_decrementPauseCount]() { - 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[68], 268, 12, "!_isClosed"); - if (dart.test(this[_isCanceled])) return; - if (dart.test(this[_canFire])) { - this[_sendData](data); - } else { - this[_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - } - [_addError](error, 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); - } else { - this[_addPending](new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[41] || CT.C41); - } - } - [_onPause]() { - if (!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 302, 12, "_isInputPaused"); - } - [_onResume]() { - if (!!dart.test(this[_isInputPaused])) dart.assertFailed(null, I[68], 306, 12, "!_isInputPaused"); - } - [_onCancel]() { - if (!dart.test(this[_isCanceled])) dart.assertFailed(null, I[68], 310, 12, "_isCanceled"); - return null; - } - [_addPending](event) { - 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; - if (!dart.test(this[_isPaused])) { - pending.schedule(this); - } - } - } - [_sendData](data) { - 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); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_sendError](error, stackTrace) { - 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$]; - 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[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendError, T$.VoidTovoid()); - if (dart.test(this[_cancelOnError])) { - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - this[_cancel](); - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendError); - } else { - sendError(); - } - } else { - sendError(); - this[_checkState](wasInputPaused); - } - } - [_sendDone]() { - 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; - this[_zone$].runGuarded(this[_onDone$]); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - }; - dart.fn(sendDone, T$.VoidTovoid()); - this[_cancel](); - this[_state] = (dart.notNull(this[_state]) | 16) >>> 0; - let cancelFuture = this[_cancelFuture]; - if (cancelFuture != null && cancelFuture != async.Future._nullFuture) { - cancelFuture.whenComplete(sendDone); - } else { - sendDone(); - } - } - [_guardCallback](callback) { - 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(); - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - this[_checkState](wasInputPaused); - } - [_checkState](wasInputPaused) { - 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; - } - } - while (true) { - if (dart.test(this[_isCanceled])) { - this[_pending] = null; - return; - } - let isInputPaused = this[_isInputPaused]; - if (wasInputPaused == isInputPaused) break; - this[_state] = (dart.notNull(this[_state]) ^ 32) >>> 0; - if (dart.test(isInputPaused)) { - this[_onPause](); - } else { - this[_onResume](); - } - this[_state] = (dart.notNull(this[_state]) & ~32 >>> 0) >>> 0; - wasInputPaused = isInputPaused; - } - if (dart.test(this[_hasPending]) && !dart.test(this[_isPaused])) { - dart.nullCheck(this[_pending]).schedule(this); - } - } - } - (_BufferingStreamSubscription.new = function(onData, onError, onDone, 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[68], 105, 43, "_zone"); - if (cancelOnError == null) dart.nullFailed(I[68], 106, 47, "cancelOnError"); - this[_cancelFuture] = 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[_onDone$] = async._BufferingStreamSubscription._registerDoneHandler(_zone, onDone); - ; - }).prototype = _BufferingStreamSubscription.prototype; - _BufferingStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BufferingStreamSubscription); - _BufferingStreamSubscription.prototype[_is__BufferingStreamSubscription_default] = true; - dart.addTypeCaches(_BufferingStreamSubscription); - _BufferingStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T), async._EventSink$(T), async._EventDispatch$(T)]; - dart.setMethodSignature(_BufferingStreamSubscription, () => ({ - __proto__: dart.getMethods(_BufferingStreamSubscription.__proto__), - [_setPendingEvents]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_cancel]: dart.fnType(dart.void, []), - [_decrementPauseCount]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_onPause]: dart.fnType(dart.void, []), - [_onResume]: dart.fnType(dart.void, []), - [_onCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), []), - [_addPending]: dart.fnType(dart.void, [async._DelayedEvent]), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []), - [_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, - [_isClosed]: core.bool, - [_isCanceled]: core.bool, - [_waitsForCancel]: core.bool, - [_inCallback]: core.bool, - [_hasPending]: core.bool, - [_isPaused]: core.bool, - [_canFire]: core.bool, - [_mayResumeInput]: core.bool, - [_cancelOnError]: core.bool, - isPaused: core.bool - })); - 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), - [_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))) - })); - 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$(); -dart.defineLazy(async._BufferingStreamSubscription, { - /*async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR*/get _STATE_CANCEL_ON_ERROR() { - return 1; - }, - /*async._BufferingStreamSubscription._STATE_CLOSED*/get _STATE_CLOSED() { - return 2; - }, - /*async._BufferingStreamSubscription._STATE_INPUT_PAUSED*/get _STATE_INPUT_PAUSED() { - return 4; - }, - /*async._BufferingStreamSubscription._STATE_CANCELED*/get _STATE_CANCELED() { - return 8; - }, - /*async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL*/get _STATE_WAIT_FOR_CANCEL() { - return 16; - }, - /*async._BufferingStreamSubscription._STATE_IN_CALLBACK*/get _STATE_IN_CALLBACK() { - return 32; - }, - /*async._BufferingStreamSubscription._STATE_HAS_PENDING*/get _STATE_HAS_PENDING() { - return 64; - }, - /*async._BufferingStreamSubscription._STATE_PAUSE_COUNT*/get _STATE_PAUSE_COUNT() { - return 128; - } -}, false); -dart.addTypeTests(async._BufferingStreamSubscription, _is__BufferingStreamSubscription_default); -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); - } - [_onPause]() { - this[_controller$][_recordPause](this); - } - [_onResume]() { - this[_controller$][_recordResume](this); - } - } - (_ControllerSubscription.new = function(_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"); - this[_controller$] = _controller; - _ControllerSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - ; - }).prototype = _ControllerSubscription.prototype; - dart.addTypeTests(_ControllerSubscription); - _ControllerSubscription.prototype[_is__ControllerSubscription_default] = true; - dart.addTypeCaches(_ControllerSubscription); - dart.setLibraryUri(_ControllerSubscription, I[31]); - dart.setFieldSignature(_ControllerSubscription, () => ({ - __proto__: dart.getFields(_ControllerSubscription.__proto__), - [_controller$]: dart.finalFieldType(async._StreamControllerLifecycle$(T)) - })); - return _ControllerSubscription; -}); -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 __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] = __t$_BroadcastSubscriptionNOfT().as(value); - } - get [_previous$1]() { - return this[_previous$0]; - } - set [_previous$1](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[66], 36, 26, "eventId"); - return (dart.notNull(this[_eventState]) & 1) >>> 0 === eventId; - } - [_toggleEventId]() { - this[_eventState] = (dart.notNull(this[_eventState]) ^ 1) >>> 0; - } - get [_isFiring]() { - return (dart.notNull(this[_eventState]) & 2) !== 0; - } - [_setRemoveAfterFiring]() { - if (!dart.test(this[_isFiring])) dart.assertFailed(null, I[66], 45, 12, "_isFiring"); - this[_eventState] = (dart.notNull(this[_eventState]) | 4) >>> 0; - } - get [_removeAfterFiring]() { - return (dart.notNull(this[_eventState]) & 4) !== 0; - } - [_onPause]() { - } - [_onResume]() { - } - } - (_BroadcastSubscription.new = function(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"); - this[_eventState] = 0; - this[_next$0] = null; - this[_previous$0] = null; - _BroadcastSubscription.__proto__.new.call(this, controller, onData, onError, onDone, cancelOnError); - this[_next$1] = this[_previous$1] = this; - }).prototype = _BroadcastSubscription.prototype; - dart.addTypeTests(_BroadcastSubscription); - _BroadcastSubscription.prototype[_is__BroadcastSubscription_default] = true; - dart.addTypeCaches(_BroadcastSubscription); - dart.setMethodSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getMethods(_BroadcastSubscription.__proto__), - [_expectsEvent]: dart.fnType(core.bool, [core.int]), - [_toggleEventId]: dart.fnType(dart.void, []), - [_setRemoveAfterFiring]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastSubscription, () => ({ - __proto__: dart.getGetters(_BroadcastSubscription.__proto__), - [_isFiring]: core.bool, - [_removeAfterFiring]: core.bool - })); - 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$(); -dart.defineLazy(async._BroadcastSubscription, { - /*async._BroadcastSubscription._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastSubscription._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING*/get _STATE_REMOVE_AFTER_FIRING() { - return 4; - } -}, false); -dart.addTypeTests(async._BroadcastSubscription, _is__BroadcastSubscription_default); -var _firstSubscription = dart.privateName(async, "_firstSubscription"); -var _lastSubscription = dart.privateName(async, "_lastSubscription"); -var _addStreamState = dart.privateName(async, "_addStreamState"); -var _doneFuture = dart.privateName(async, "_doneFuture"); -var _isEmpty = dart.privateName(async, "_isEmpty"); -var _hasOneListener = dart.privateName(async, "_hasOneListener"); -var _isAddingStream = dart.privateName(async, "_isAddingStream"); -var _mayAddEvent = dart.privateName(async, "_mayAddEvent"); -var _ensureDoneFuture = dart.privateName(async, "_ensureDoneFuture"); -var _addListener = dart.privateName(async, "_addListener"); -var _removeListener = dart.privateName(async, "_removeListener"); -var _callOnCancel = dart.privateName(async, "_callOnCancel"); -var _addEventError = dart.privateName(async, "_addEventError"); -var _forEachListener = dart.privateName(async, "_forEachListener"); -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 __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")); - } - set onPause(onPauseHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get onResume() { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - set onResume(onResumeHandler) { - dart.throw(new core.UnsupportedError.new("Broadcast stream controllers do not support pause callbacks")); - } - get stream() { - return new (__t$_BroadcastStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return false; - } - get hasListener() { - return !dart.test(this[_isEmpty]); - } - get [_hasOneListener]() { - if (!!dart.test(this[_isEmpty])) dart.assertFailed(null, I[66], 141, 12, "!_isEmpty"); - return this[_firstSubscription] == this[_lastSubscription]; - } - get [_isFiring]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - [_ensureDoneFuture]() { - 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[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; - subscription[_next$1] = null; - subscription[_previous$1] = oldLast; - if (oldLast == null) { - this[_firstSubscription] = subscription; - } else { - oldLast[_next$1] = subscription; - } - } - [_removeListener](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) { - this[_firstSubscription] = next; - } else { - previous[_next$1] = next; - } - if (next == null) { - this[_lastSubscription] = previous; - } else { - next[_previous$1] = previous; - } - subscription[_next$1] = subscription[_previous$1] = subscription; - } - [_subscribe](onData, onError, onDone, cancelOnError) { - if (cancelOnError == null) dart.nullFailed(I[66], 198, 28, "cancelOnError"); - if (dart.test(this.isClosed)) { - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - let subscription = new (__t$_BroadcastSubscriptionOfT()).new(this, onData, onError, onDone, cancelOnError); - this[_addListener](subscription); - if (this[_firstSubscription] == this[_lastSubscription]) { - async._runGuarded(this.onListen); - } - return subscription; - } - [_recordCancel](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](); - } else { - this[_removeListener](subscription); - if (!dart.test(this[_isFiring]) && dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - return null; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[66], 229, 43, "subscription"); - } - [_recordResume](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[66], 238, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add new events while doing an addStream"); - } - add(data) { - T.as(data); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendData](data); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_sendError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - 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]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - let doneFuture = this[_ensureDoneFuture](); - this[_sendDone](); - return doneFuture; - } - get done() { - return this[_ensureDoneFuture](); - } - addStream(stream, opts) { - 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 (__t$_AddStreamStateOfT()).new(this, stream, (t74 = cancelOnError, t74 == null ? false : t74)); - this[_addStreamState] = addStreamState; - return addStreamState.addStreamFuture; - } - [_add](data) { - this[_sendData](data); - } - [_addError](error, 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[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 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")); - } - if (dart.test(this[_isEmpty])) return; - let id = (dart.notNull(this[_state]) & 1) >>> 0; - this[_state] = (dart.notNull(this[_state]) ^ (1 | 2) >>> 0) >>> 0; - let subscription = this[_firstSubscription]; - while (subscription != null) { - if (dart.test(subscription[_expectsEvent](id))) { - 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); - } - t74$ = subscription; - t74$[_eventState] = (dart.notNull(t74$[_eventState]) & ~2 >>> 0) >>> 0; - subscription = next; - } else { - subscription = subscription[_next$1]; - } - } - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - } - [_callOnCancel]() { - 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])) { - doneFuture[_asyncComplete](null); - } - } - async._runGuarded(this.onCancel); - } - } - (_BroadcastStreamController.new = function(onListen, onCancel) { - this[_firstSubscription] = null; - this[_lastSubscription] = null; - this[_addStreamState] = null; - this[_doneFuture] = null; - this.onListen = onListen; - this.onCancel = onCancel; - this[_state] = 0; - ; - }).prototype = _BroadcastStreamController.prototype; - dart.addTypeTests(_BroadcastStreamController); - _BroadcastStreamController.prototype[_is__BroadcastStreamController_default] = true; - dart.addTypeCaches(_BroadcastStreamController); - _BroadcastStreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getMethods(_BroadcastStreamController.__proto__), - [_ensureDoneFuture]: dart.fnType(async._Future$(dart.void), []), - [_addListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_removeListener]: dart.fnType(dart.void, [async._BroadcastSubscription$(T)]), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_addEventError]: dart.fnType(core.Error, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)], {cancelOnError: dart.nullable(core.bool)}, {}), - [_add]: dart.fnType(dart.void, [T]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_forEachListener]: dart.fnType(dart.void, [dart.fnType(dart.void, [async._BufferingStreamSubscription$(T)])]), - [_callOnCancel]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getGetters(_BroadcastStreamController.__proto__), - onPause: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - isClosed: core.bool, - isPaused: core.bool, - hasListener: core.bool, - [_hasOneListener]: core.bool, - [_isFiring]: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_isEmpty]: core.bool, - done: async.Future$(dart.void) - })); - dart.setSetterSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getSetters(_BroadcastStreamController.__proto__), - onPause: dart.nullable(dart.fnType(dart.void, [])), - onResume: dart.nullable(dart.fnType(dart.void, [])) - })); - dart.setLibraryUri(_BroadcastStreamController, I[31]); - dart.setFieldSignature(_BroadcastStreamController, () => ({ - __proto__: dart.getFields(_BroadcastStreamController.__proto__), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onCancel: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - [_state]: dart.fieldType(core.int), - [_firstSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(T))), - [_lastSubscription]: dart.fieldType(dart.nullable(async._BroadcastSubscription$(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$(); -dart.defineLazy(async._BroadcastStreamController, { - /*async._BroadcastStreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._BroadcastStreamController._STATE_EVENT_ID*/get _STATE_EVENT_ID() { - return 1; - }, - /*async._BroadcastStreamController._STATE_FIRING*/get _STATE_FIRING() { - return 2; - }, - /*async._BroadcastStreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._BroadcastStreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } -}, false); -dart.addTypeTests(async._BroadcastStreamController, _is__BroadcastStreamController_default); -const _is__SyncBroadcastStreamController_default = Symbol('_is__SyncBroadcastStreamController_default'); -async._SyncBroadcastStreamController$ = dart.generic(T => { - 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]); - } - [_addEventError]() { - if (dart.test(this[_isFiring])) { - return new core.StateError.new("Cannot fire new event. Controller is already firing an event"); - } - return super[_addEventError](); - } - [_sendData](data) { - if (dart.test(this[_isEmpty])) return; - if (dart.test(this[_hasOneListener])) { - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - let firstSubscription = __t$_BroadcastSubscriptionOfT().as(this[_firstSubscription]); - firstSubscription[_add](data); - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this[_isEmpty])) { - this[_callOnCancel](); - } - return; - } - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 384, 55, "subscription"); - subscription[_add](data); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendError](error, 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[66], 391, 55, "subscription"); - subscription[_addError](error, stackTrace); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - this[_forEachListener](dart.fn(subscription => { - if (subscription == null) dart.nullFailed(I[66], 398, 57, "subscription"); - subscription[_close](); - }, __t$_BufferingStreamSubscriptionOfTTovoid())); - } else { - 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); - } - } - } - (_SyncBroadcastStreamController.new = function(onListen, onCancel) { - _SyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _SyncBroadcastStreamController.prototype; - dart.addTypeTests(_SyncBroadcastStreamController); - _SyncBroadcastStreamController.prototype[_is__SyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_SyncBroadcastStreamController); - _SyncBroadcastStreamController[dart.implements] = () => [async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_SyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __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 (__t$_DelayedDataOfT()).new(data)); - } - } - [_sendError](error, 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)); - } - } - [_sendDone]() { - if (!dart.test(this[_isEmpty])) { - for (let subscription = this[_firstSubscription]; subscription != null; subscription = subscription[_next$1]) { - subscription[_addPending](C[41] || CT.C41); - } - } else { - 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); - } - } - } - (_AsyncBroadcastStreamController.new = function(onListen, onCancel) { - _AsyncBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsyncBroadcastStreamController.prototype; - dart.addTypeTests(_AsyncBroadcastStreamController); - _AsyncBroadcastStreamController.prototype[_is__AsyncBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsyncBroadcastStreamController); - dart.setMethodSignature(_AsyncBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsyncBroadcastStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncBroadcastStreamController, I[31]); - return _AsyncBroadcastStreamController; -}); -async._AsyncBroadcastStreamController = async._AsyncBroadcastStreamController$(); -dart.addTypeTests(async._AsyncBroadcastStreamController, _is__AsyncBroadcastStreamController_default); -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 __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]; - return pending != null && !dart.test(pending.isEmpty); - } - [_addPendingEvent](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 (__t$_DelayedDataOfT()).new(data)); - return; - } - super.add(data); - this[_flushPending](); - } - addError(error, stackTrace = null) { - 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])) { - this[_addPendingEvent](new async._DelayedError.new(error, stackTrace)); - return; - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_addEventError]()); - this[_sendError](error, stackTrace); - this[_flushPending](); - } - [_flushPending]() { - 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[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[66], 506, 12, "!_hasPending"); - return result; - } - [_callOnCancel]() { - let pending = this[_pending]; - if (pending != null) { - pending.clear(); - this[_pending] = null; - } - super[_callOnCancel](); - } - } - (_AsBroadcastStreamController.new = function(onListen, onCancel) { - this[_pending] = null; - _AsBroadcastStreamController.__proto__.new.call(this, onListen, onCancel); - ; - }).prototype = _AsBroadcastStreamController.prototype; - dart.addTypeTests(_AsBroadcastStreamController); - _AsBroadcastStreamController.prototype[_is__AsBroadcastStreamController_default] = true; - dart.addTypeCaches(_AsBroadcastStreamController); - _AsBroadcastStreamController[dart.implements] = () => [async._EventDispatch$(T)]; - dart.setMethodSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getMethods(_AsBroadcastStreamController.__proto__), - [_addPendingEvent]: dart.fnType(dart.void, [async._DelayedEvent]), - [_flushPending]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getGetters(_AsBroadcastStreamController.__proto__), - [_hasPending]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStreamController, I[31]); - dart.setFieldSignature(_AsBroadcastStreamController, () => ({ - __proto__: dart.getFields(_AsBroadcastStreamController.__proto__), - [_pending]: dart.fieldType(dart.nullable(async._PendingEvents$(T))) - })); - return _AsBroadcastStreamController; -}); -async._AsBroadcastStreamController = async._AsBroadcastStreamController$(); -dart.addTypeTests(async._AsBroadcastStreamController, _is__AsBroadcastStreamController_default); -var libraryName$ = dart.privateName(async, "DeferredLibrary.libraryName"); -var uri$ = dart.privateName(async, "DeferredLibrary.uri"); -async.DeferredLibrary = class DeferredLibrary extends core.Object { - get libraryName() { - return this[libraryName$]; - } - set libraryName(value) { - super.libraryName = value; - } - get uri() { - return this[uri$]; - } - 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[69], 17, 30, "libraryName"); - let uri = opts && 'uri' in opts ? opts.uri : null; - this[libraryName$] = libraryName; - this[uri$] = uri; - ; -}).prototype = async.DeferredLibrary.prototype; -dart.addTypeTests(async.DeferredLibrary); -dart.addTypeCaches(async.DeferredLibrary); -dart.setMethodSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getMethods(async.DeferredLibrary.__proto__), - load: dart.fnType(async.Future$(core.Null), []) -})); -dart.setLibraryUri(async.DeferredLibrary, I[31]); -dart.setFieldSignature(async.DeferredLibrary, () => ({ - __proto__: dart.getFields(async.DeferredLibrary.__proto__), - libraryName: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.String)) -})); -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[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[31]); -dart.setFieldSignature(async.DeferredLoadException, () => ({ - __proto__: dart.getFields(async.DeferredLoadException.__proto__), - [_s]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(async.DeferredLoadException, ['toString']); -async.FutureOr$ = dart.normalizeFutureOr(T => { - class FutureOr extends core.Object {} - (FutureOr.__ = function() { - dart.throw(new core.UnsupportedError.new("FutureOr can't be instantiated")); - }).prototype = FutureOr.prototype; - dart.addTypeCaches(FutureOr); - dart.setLibraryUri(FutureOr, I[31]); - return FutureOr; -}); -async.FutureOr = async.FutureOr$(); -var _asyncCompleteError = dart.privateName(async, "_asyncCompleteError"); -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[70], 249, 30, "computation"); - let result = new (async._Future$(T)).new(); - async.Timer.run(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 273, 40, "computation"); - let result = new (async._Future$(T)).new(); - async.scheduleMicrotask(dart.fn(() => { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - }, 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[70], 300, 35, "computation"); - try { - let result = computation(); - if (async.Future$(T).is(result)) { - return result; - } else { - return new (async._Future$(T)).value(T.as(result)); - } - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - let future = new (async._Future$(T)).new(); - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - future[_asyncCompleteError](replacement.error, replacement.stackTrace); - } else { - future[_asyncCompleteError](error, stackTrace); - } - return future; - } else - 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[70], 369, 31, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - if (async.Zone.current != async._rootZone) { - let replacement = async.Zone.current.errorCallback(error, stackTrace); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } - } - 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[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")); - } - let result = new (async._Future$(T)).new(); - async.Timer.new(duration, dart.fn(() => { - if (computation == null) { - result[_complete](T.as(null)); - } else { - try { - result[_complete](computation()); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._completeWithErrorCallback(result, e, s); - } else - throw e$; - } - } - }, 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 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[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; - let remaining = 0; - let error = null; - let error$35isSet = false; - function error$35get() { - return error$35isSet ? error : dart.throw(new _internal.LateError.localNI("error")); - } - function error$35set(error$35param) { - if (error$35param == null) dart.nullFailed(I[70], 486, 17, "error#param"); - error$35isSet = true; - return error = error$35param; - } - let stackTrace = null; - let stackTrace$35isSet = false; - function stackTrace$35get() { - return stackTrace$35isSet ? stackTrace : dart.throw(new _internal.LateError.localNI("stackTrace")); - } - function stackTrace$35set(stackTrace$35param) { - if (stackTrace$35param == null) dart.nullFailed(I[70], 487, 21, "stackTrace#param"); - stackTrace$35isSet = true; - return stackTrace = stackTrace$35param; - } - function handleError(theError, 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) { - if (cleanUp != null) { - for (let value of valueList) { - if (value != null) { - let cleanUpValue = value; - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(cleanUpValue); - }, T$.VoidToNull())); - } - } - } - values = null; - if (remaining === 0 || dart.test(eagerError)) { - _future[_completeError](theError, theStackTrace); - } else { - error$35set(theError); - stackTrace$35set(theStackTrace); - } - } else if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - dart.fn(handleError, T$.ObjectAndStackTraceTovoid()); - try { - for (let future of futures) { - let pos = remaining; - future.then(core.Null, dart.fn(value => { - remaining = remaining - 1; - let valueList = values; - if (valueList != null) { - valueList[$_set](pos, value); - if (remaining === 0) { - _future[_completeWithValue](core.List$(T).from(valueList)); - } - } else { - if (cleanUp != null && value != null) { - T$.FutureOfNull().sync(dart.fn(() => { - cleanUp(value); - }, T$.VoidToNull())); - } - if (remaining === 0 && !dart.test(eagerError)) { - _future[_completeError](error$35get(), stackTrace$35get()); - } - } - }, dart.fnType(core.Null, [T])), {onError: handleError}); - remaining = remaining + 1; - } - if (remaining === 0) { - t86 = _future; - return (() => { - t86[_completeWithValue](_interceptors.JSArray$(T).of([])); - return t86; - })(); - } - values = core.List$(dart.nullable(T)).filled(remaining, null); - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (remaining === 0 || dart.test(eagerError)) { - return async.Future$(core.List$(T)).error(e, st); - } else { - error$35set(e); - stackTrace$35set(st); - } - } else - throw e$; - } - return _future; - } - static any(T, 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[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()); - for (let future of futures) { - future.then(dart.void, onValue, {onError: onError}); - } - return completer.future; - } - static forEach(T, elements, 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[42] || CT.C42); - return true; - }, T$.VoidToFutureOrOfbool())); - } - static _kTrue(_) { - return true; - } - static doWhile(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")); - } - function nextIteration$35set(nextIteration$35param) { - if (nextIteration$35param == null) dart.nullFailed(I[70], 694, 30, "nextIteration#param"); - nextIteration$35isSet = true; - return nextIteration = nextIteration$35param; - } - nextIteration$35set(async.Zone.current.bindUnaryCallbackGuarded(core.bool, dart.fn(keepGoing => { - if (keepGoing == null) dart.nullFailed(I[70], 699, 65, "keepGoing"); - while (dart.test(keepGoing)) { - let result = null; - try { - result = action(); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - async._asyncCompleteWithErrorCallback(doneSignal, error, stackTrace); - return; - } else - throw e; - } - if (T$.FutureOfbool().is(result)) { - result.then(dart.void, nextIteration$35get(), {onError: dart.bind(doneSignal, _completeError)}); - return; - } - keepGoing = result; - } - doneSignal[_complete](null); - }, T$.boolTovoid()))); - nextIteration$35get()(true); - return doneSignal; - } - } - (Future[dart.mixinNew] = function() { - }).prototype = Future.prototype; - dart.addTypeTests(Future); - Future.prototype[dart.isFuture] = true; - dart.addTypeCaches(Future); - 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$(); -dart.defineLazy(async.Future, { - /*async.Future._nullFuture*/get _nullFuture() { - return T$._FutureOfNull().as(_internal.nullFuture); - }, - /*async.Future._falseFuture*/get _falseFuture() { - return new (T$._FutureOfbool()).zoneValue(false, async._rootZone); - } -}, false); -dart.addTypeTests(async.Future, dart.isFuture); -var message$1 = dart.privateName(async, "TimeoutException.message"); -var duration$ = dart.privateName(async, "TimeoutException.duration"); -async.TimeoutException = class TimeoutException extends core.Object { - get message() { - return this[message$1]; - } - set message(value) { - super.message = value; - } - get duration() { - return this[duration$]; - } - 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); - if (this.message != null) result = result + ": " + dart.str(this.message); - return result; - } -}; -(async.TimeoutException.new = function(message, duration = null) { - this[message$1] = message; - this[duration$] = duration; - ; -}).prototype = async.TimeoutException.prototype; -dart.addTypeTests(async.TimeoutException); -dart.addTypeCaches(async.TimeoutException); -async.TimeoutException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(async.TimeoutException, I[31]); -dart.setFieldSignature(async.TimeoutException, () => ({ - __proto__: dart.getFields(async.TimeoutException.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)), - duration: dart.finalFieldType(dart.nullable(core.Duration)) -})); -dart.defineExtensionMethods(async.TimeoutException, ['toString']); -const _is_Completer_default = Symbol('_is_Completer_default'); -async.Completer$ = dart.generic(T => { - class Completer extends core.Object { - 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.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 __t$_FutureOfT = () => (__t$_FutureOfT = dart.constFn(async._Future$(T)))(); - class _Completer extends core.Object { - completeError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_completeError](error, stackTrace); - } - get isCompleted() { - return !dart.test(this.future[_mayComplete]); - } - } - (_Completer.new = function() { - this.future = new (__t$_FutureOfT()).new(); - ; - }).prototype = _Completer.prototype; - dart.addTypeTests(_Completer); - _Completer.prototype[_is__Completer_default] = true; - dart.addTypeCaches(_Completer); - _Completer[dart.implements] = () => [async.Completer$(T)]; - dart.setMethodSignature(_Completer, () => ({ - __proto__: dart.getMethods(_Completer.__proto__), - completeError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]) - })); - dart.setGetterSignature(_Completer, () => ({ - __proto__: dart.getGetters(_Completer.__proto__), - isCompleted: core.bool - })); - dart.setLibraryUri(_Completer, I[31]); - dart.setFieldSignature(_Completer, () => ({ - __proto__: dart.getFields(_Completer.__proto__), - future: dart.finalFieldType(async._Future$(T)) - })); - return _Completer; -}); -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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_asyncComplete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _AsyncCompleter.prototype; - dart.addTypeTests(_AsyncCompleter); - _AsyncCompleter.prototype[_is__AsyncCompleter_default] = true; - dart.addTypeCaches(_AsyncCompleter); - dart.setMethodSignature(_AsyncCompleter, () => ({ - __proto__: dart.getMethods(_AsyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - 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 __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) { - __t$FutureOrNOfT().as(value); - if (!dart.test(this.future[_mayComplete])) dart.throw(new core.StateError.new("Future already completed")); - this.future[_complete](__t$FutureOrOfT().as(value == null ? value : value)); - } - [_completeError](error, 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); - ; - }).prototype = _SyncCompleter.prototype; - dart.addTypeTests(_SyncCompleter); - _SyncCompleter.prototype[_is__SyncCompleter_default] = true; - dart.addTypeCaches(_SyncCompleter); - dart.setMethodSignature(_SyncCompleter, () => ({ - __proto__: dart.getMethods(_SyncCompleter.__proto__), - complete: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [_completeError]: dart.fnType(dart.void, [core.Object, core.StackTrace]) - })); - dart.setLibraryUri(_SyncCompleter, I[31]); - return _SyncCompleter; -}); -async._SyncCompleter = async._SyncCompleter$(); -dart.addTypeTests(async._SyncCompleter, _is__SyncCompleter_default); -var _nextListener = dart.privateName(async, "_nextListener"); -var _onValue = dart.privateName(async, "_onValue"); -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 __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$]; - } - get handlesValue() { - return (dart.notNull(this.state) & 1) !== 0; - } - get handlesError() { - return (dart.notNull(this.state) & 2) !== 0; - } - get hasErrorTest() { - return (dart.notNull(this.state) & 15) >>> 0 === 6; - } - get handlesComplete() { - return (dart.notNull(this.state) & 15) >>> 0 === 8; - } - get [_onValue]() { - if (!dart.test(this.handlesValue)) dart.assertFailed(null, I[71], 120, 12, "handlesValue"); - return this.callback; - } - get [_onError$]() { - return this.errorCallback; - } - get [_errorTest]() { - 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[71], 132, 12, "handlesComplete"); - return this.callback; - } - get hasErrorCallback() { - 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(__t$FutureOrOfT(), S, this[_onValue], sourceResult); - } - matchesErrorTest(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[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)) { - result = this[_zone$].runBinary(dart.dynamic, core.Object, core.StackTrace, errorCallback, asyncError.error, asyncError.stackTrace); - } else { - 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[71], 189, 12, "!handlesError"); - return this[_zone$].run(dart.dynamic, this[_whenCompleteAction]); - } - shouldChain(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[71], 94, 12, "result"); - if (onValue == null) dart.nullFailed(I[71], 94, 44, "onValue"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = errorCallback == null ? 1 : 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.thenAwait = function(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"); - this[_nextListener] = null; - this.result = result; - this.callback = onValue; - this.errorCallback = errorCallback; - this.state = 3; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.catchError = function(result, errorCallback, callback) { - if (result == null) dart.nullFailed(I[71], 105, 35, "result"); - this[_nextListener] = null; - this.result = result; - this.errorCallback = errorCallback; - this.callback = callback; - this.state = callback == null ? 2 : 6; - ; - }).prototype = _FutureListener.prototype; - (_FutureListener.whenComplete = function(result, callback) { - if (result == null) dart.nullFailed(I[71], 108, 37, "result"); - this[_nextListener] = null; - this.result = result; - this.callback = callback; - this.errorCallback = null; - this.state = 8; - ; - }).prototype = _FutureListener.prototype; - dart.addTypeTests(_FutureListener); - _FutureListener.prototype[_is__FutureListener_default] = true; - dart.addTypeCaches(_FutureListener); - dart.setMethodSignature(_FutureListener, () => ({ - __proto__: dart.getMethods(_FutureListener.__proto__), - handleValue: dart.fnType(async.FutureOr$(T), [dart.nullable(core.Object)]), - matchesErrorTest: dart.fnType(core.bool, [async.AsyncError]), - handleError: dart.fnType(async.FutureOr$(T), [async.AsyncError]), - handleWhenComplete: dart.fnType(dart.dynamic, []), - shouldChain: dart.fnType(core.bool, [async.Future]) - })); - dart.setGetterSignature(_FutureListener, () => ({ - __proto__: dart.getGetters(_FutureListener.__proto__), - [_zone$]: async._Zone, - handlesValue: core.bool, - handlesError: core.bool, - hasErrorTest: core.bool, - handlesComplete: core.bool, - [_onValue]: dart.fnType(async.FutureOr$(T), [S]), - [_onError$]: dart.nullable(core.Function), - [_errorTest]: dart.fnType(core.bool, [core.Object]), - [_whenCompleteAction]: dart.fnType(dart.dynamic, []), - hasErrorCallback: core.bool - })); - dart.setLibraryUri(_FutureListener, I[31]); - dart.setFieldSignature(_FutureListener, () => ({ - __proto__: dart.getFields(_FutureListener.__proto__), - [_nextListener]: dart.fieldType(dart.nullable(async._FutureListener)), - result: dart.finalFieldType(async._Future$(T)), - state: dart.finalFieldType(core.int), - 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$(); -dart.defineLazy(async._FutureListener, { - /*async._FutureListener.maskValue*/get maskValue() { - return 1; - }, - /*async._FutureListener.maskError*/get maskError() { - return 2; - }, - /*async._FutureListener.maskTestError*/get maskTestError() { - return 4; - }, - /*async._FutureListener.maskWhenComplete*/get maskWhenComplete() { - return 8; - }, - /*async._FutureListener.stateChain*/get stateChain() { - return 0; - }, - /*async._FutureListener.stateThen*/get stateThen() { - return 1; - }, - /*async._FutureListener.stateThenOnerror*/get stateThenOnerror() { - return 3; - }, - /*async._FutureListener.stateCatchError*/get stateCatchError() { - return 2; - }, - /*async._FutureListener.stateCatchErrorTest*/get stateCatchErrorTest() { - return 6; - }, - /*async._FutureListener.stateWhenComplete*/get stateWhenComplete() { - return 8; - }, - /*async._FutureListener.maskType*/get maskType() { - return 15; - } -}, false); -dart.addTypeTests(async._FutureListener, _is__FutureListener_default); -var _resultOrListeners = dart.privateName(async, "_resultOrListeners"); -var _setValue = dart.privateName(async, "_setValue"); -var _isPendingComplete = dart.privateName(async, "_isPendingComplete"); -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"); -var _chainSource = dart.privateName(async, "_chainSource"); -var _setErrorObject = dart.privateName(async, "_setErrorObject"); -var _setError = dart.privateName(async, "_setError"); -var _cloneResult = dart.privateName(async, "_cloneResult"); -var _prependListeners = dart.privateName(async, "_prependListeners"); -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 __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 (dart.notNull(this[_state]) & 30) >>> 0 === 0; - } - get [_isPendingComplete]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get [_mayAddListener]() { - return dart.notNull(this[_state]) <= (2 | 1) >>> 0; - } - get [_isChained]() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get [_isComplete]() { - return (dart.notNull(this[_state]) & (8 | 16) >>> 0) !== 0; - } - get [_hasError]() { - return (dart.notNull(this[_state]) & 16) !== 0; - } - get [_ignoreError]() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - [_setChained](source) { - 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[71], 302, 33, "f"); - let onError = opts && 'onError' in opts ? opts.onError : null; - let currentZone = async.Zone.current; - 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); - } - } - let result = new (async._Future$(R)).new(); - this[_addListener](new (async._FutureListener$(T, R)).then(result, f, onError)); - return result; - } - [_thenAwait](E, f, 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[71], 342, 33, "onError"); - let test = opts && 'test' in opts ? opts.test : null; - 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 (__t$_FutureListenerOfT$T()).catchError(result, onError, test)); - return result; - } - whenComplete(action) { - 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 (__t$_FutureListenerOfT$T()).whenComplete(result, action)); - return result; - } - asStream() { - return __t$StreamOfT().fromFuture(this); - } - [_setPendingComplete]() { - 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[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[71], 374, 12, "_hasError"); - return async.AsyncError.as(this[_resultOrListeners]); - } - get [_chainSource]() { - 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[71], 385, 12, "!_isComplete"); - this[_state] = 8; - this[_resultOrListeners] = value; - } - [_setErrorObject](error) { - 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[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[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[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; - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_addListener](listener); - return; - } - this[_cloneResult](source); - } - 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())); - } - } - [_prependListeners](listeners) { - if (listeners == null) return; - if (dart.test(this[_mayAddListener])) { - let existingListeners = T$._FutureListenerN().as(this[_resultOrListeners]); - this[_resultOrListeners] = listeners; - if (existingListeners != null) { - let cursor = listeners; - let next = cursor[_nextListener]; - while (next != null) { - cursor = next; - next = cursor[_nextListener]; - } - cursor[_nextListener] = existingListeners; - } - } else { - if (dart.test(this[_isChained])) { - let source = this[_chainSource]; - if (!dart.test(source[_isComplete])) { - source[_prependListeners](listeners); - return; - } - this[_cloneResult](source); - } - 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); - }, T$.VoidTovoid())); - } - } - [_removeListeners]() { - 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); - } - [_reverseListeners](listeners) { - let prev = null; - let current = listeners; - while (current != null) { - let next = current[_nextListener]; - current[_nextListener] = prev; - prev = current; - current = next; - } - return prev; - } - [_chainForeignFuture](source) { - 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[71], 503, 16, "_isPendingComplete"); - this[_clearPendingComplete](); - try { - this[_completeWithValue](T.as(value)); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_completeError](error, stackTrace); - } else - throw e; - } - }, T$.dynamicToNull()), {onError: dart.fn((error, stackTrace) => { - 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.scheduleMicrotask(dart.fn(() => { - this[_completeError](e, s); - }, T$.VoidTovoid())); - } else - throw e$; - } - } - static _chainCoreFuture(source, target) { - 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]; - } - if (dart.test(source[_isComplete])) { - let listeners = target[_removeListeners](); - target[_cloneResult](source); - async._Future._propagateToListeners(target, listeners); - } else { - let listeners = T$._FutureListenerN().as(target[_resultOrListeners]); - target[_setChained](source); - source[_prependListeners](listeners); - } - } - [_complete](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); - } - } else { - let listeners = this[_removeListeners](); - this[_setValue](T.as(value)); - async._Future._propagateToListeners(this, listeners); - } - } - [_completeWithValue](value) { - T.as(value); - 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[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) { - __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](); - this[_zone$].scheduleMicrotask(dart.fn(() => { - this[_completeWithValue](value); - }, T$.VoidTovoid())); - } - [_chainFuture](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(() => { - async._Future._chainCoreFuture(value, this); - }, T$.VoidTovoid())); - } else { - async._Future._chainCoreFuture(value, this); - } - return; - } - this[_chainForeignFuture](value); - } - [_asyncCompleteError](error, stackTrace) { - 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[71], 673, 15, "source"); - while (true) { - 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) && !dart.test(source[_ignoreError])) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - } - return; - } - let listener = listeners; - let nextListener = listener[_nextListener]; - while (nextListener != null) { - listener[_nextListener] = null; - async._Future._propagateToListeners(source, listener); - listener = nextListener; - nextListener = listener[_nextListener]; - } - let sourceResult = source[_resultOrListeners]; - let listenerHasError = hasError; - let listenerValueOrError = sourceResult; - if (dart.test(hasError) || dart.test(listener.handlesValue) || dart.test(listener.handlesComplete)) { - let zone = listener[_zone$]; - if (dart.test(hasError) && !dart.test(source[_zone$].inSameErrorZone(zone))) { - let asyncError = source[_error]; - source[_zone$].handleUncaughtError(asyncError.error, asyncError.stackTrace); - return; - } - let oldZone = null; - if (async.Zone._current != zone) { - oldZone = async.Zone._enter(zone); - } - function handleWhenCompleteCallback() { - 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(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.test(hasError) && core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - return; - } else - throw e$; - } - if (async._Future.is(completeResult) && dart.test(completeResult[_isComplete])) { - if (dart.test(completeResult[_hasError])) { - listenerValueOrError = completeResult[_error]; - listenerHasError = true; - } - return; - } - if (async.Future.is(completeResult)) { - let originalSource = source; - listenerValueOrError = completeResult.then(dart.dynamic, dart.fn(_ => originalSource, T$.dynamicTo_Future())); - listenerHasError = false; - } - } - dart.fn(handleWhenCompleteCallback, T$.VoidTovoid()); - function handleValueCallback() { - try { - listenerValueOrError = listener.handleValue(sourceResult); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - listenerValueOrError = new async.AsyncError.new(e, s); - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleValueCallback, T$.VoidTovoid()); - function handleError() { - try { - let asyncError = source[_error]; - if (dart.test(listener.matchesErrorTest(asyncError)) && dart.test(listener.hasErrorCallback)) { - listenerValueOrError = listener.handleError(asyncError); - listenerHasError = false; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(source[_error].error, e)) { - listenerValueOrError = source[_error]; - } else { - listenerValueOrError = new async.AsyncError.new(e, s); - } - listenerHasError = true; - } else - throw e$; - } - } - dart.fn(handleError, T$.VoidTovoid()); - if (dart.test(listener.handlesComplete)) { - handleWhenCompleteCallback(); - } else if (!dart.test(hasError)) { - if (dart.test(listener.handlesValue)) { - handleValueCallback(); - } - } else { - if (dart.test(listener.handlesError)) { - handleError(); - } - } - if (oldZone != null) async.Zone._leave(oldZone); - if (async.Future.is(listenerValueOrError) && dart.test(listener.shouldChain(async.Future.as(listenerValueOrError)))) { - let chainSource = async.Future.as(listenerValueOrError); - let result = listener.result; - if (async._Future.is(chainSource)) { - if (dart.test(chainSource[_isComplete])) { - listeners = result[_removeListeners](); - result[_cloneResult](chainSource); - source = chainSource; - continue; - } else { - async._Future._chainCoreFuture(chainSource, result); - } - } else { - result[_chainForeignFuture](chainSource); - } - return; - } - } - let result = listener.result; - listeners = result[_removeListeners](); - if (!dart.test(listenerHasError)) { - result[_setValue](listenerValueOrError); - } else { - let asyncError = async.AsyncError.as(listenerValueOrError); - result[_setErrorObject](asyncError); - } - source = result; - } - } - timeout(timeLimit, opts) { - if (timeLimit == null) dart.nullFailed(I[71], 846, 30, "timeLimit"); - let onTimeout = opts && 'onTimeout' in opts ? opts.onTimeout : null; - __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(() => { - _future[_completeError](new async.TimeoutException.new("Future not completed", timeLimit), core.StackTrace.empty); - }, T$.VoidTovoid())); - } else { - let zone = async.Zone.current; - let onTimeoutHandler = zone.registerCallback(__t$FutureOrOfT(), onTimeout); - timer = async.Timer.new(timeLimit, dart.fn(() => { - try { - _future[_complete](zone.run(__t$FutureOrOfT(), onTimeoutHandler)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - _future[_completeError](e, s); - } else - throw e$; - } - }, T$.VoidTovoid())); - } - this.then(core.Null, dart.fn(v => { - if (dart.test(timer.isActive)) { - timer.cancel(); - _future[_completeWithValue](v); - } - }, __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); - } - }, T$.ObjectAndStackTraceToNull())}); - return _future; - } - } - (_Future.new = function() { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - ; - }).prototype = _Future.prototype; - (_Future.immediate = function(result) { - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncComplete](result); - }).prototype = _Future.prototype; - (_Future.zoneValue = function(value, _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[71], 279, 48, "stackTrace"); - this[_state] = 0; - this[_resultOrListeners] = null; - this[_zone$] = async.Zone._current; - this[_asyncCompleteError](core.Object.as(error), stackTrace); - }).prototype = _Future.prototype; - (_Future.value = function(value) { - _Future.zoneValue.call(this, value, async.Zone._current); - }).prototype = _Future.prototype; - _Future.prototype[dart.isFuture] = true; - dart.addTypeTests(_Future); - _Future.prototype[_is__Future_default] = true; - dart.addTypeCaches(_Future); - _Future[dart.implements] = () => [async.Future$(T)]; - dart.setMethodSignature(_Future, () => ({ - __proto__: dart.getMethods(_Future.__proto__), - [_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), []), - [_setPendingComplete]: dart.fnType(dart.void, []), - [_clearPendingComplete]: dart.fnType(dart.void, []), - [_setValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_setErrorObject]: dart.fnType(dart.void, [async.AsyncError]), - [_setError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_cloneResult]: dart.fnType(dart.void, [async._Future]), - [_addListener]: dart.fnType(dart.void, [async._FutureListener]), - [_prependListeners]: dart.fnType(dart.void, [dart.nullable(async._FutureListener)]), - [_removeListeners]: dart.fnType(dart.nullable(async._FutureListener), []), - [_reverseListeners]: dart.fnType(dart.nullable(async._FutureListener), [dart.nullable(async._FutureListener)]), - [_chainForeignFuture]: dart.fnType(dart.void, [async.Future]), - [_complete]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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, - [_isPendingComplete]: core.bool, - [_mayAddListener]: core.bool, - [_isChained]: core.bool, - [_isComplete]: core.bool, - [_hasError]: core.bool, - [_ignoreError]: core.bool, - [_error]: async.AsyncError, - [_chainSource]: async._Future - })); - 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$(); -dart.defineLazy(async._Future, { - /*async._Future._stateIncomplete*/get _stateIncomplete() { - return 0; - }, - /*async._Future._stateIgnoreError*/get _stateIgnoreError() { - return 1; - }, - /*async._Future._statePendingComplete*/get _statePendingComplete() { - return 2; - }, - /*async._Future._stateChained*/get _stateChained() { - return 4; - }, - /*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 { - 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[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[31]); -dart.setFieldSignature(async._AsyncCallbackEntry, () => ({ - __proto__: dart.getFields(async._AsyncCallbackEntry.__proto__), - callback: dart.finalFieldType(dart.fnType(dart.void, [])), - next: dart.fieldType(dart.nullable(async._AsyncCallbackEntry)) -})); -async._AsyncRun = class _AsyncRun extends core.Object { - static _initializeScheduleImmediate() { - if (dart.global.scheduleImmediate != null) { - return C[43] || CT.C43; - } - return C[44] || CT.C44; - } - static _scheduleImmediateJSOverride(callback) { - if (callback == null) dart.nullFailed(I[64], 153, 60, "callback"); - dart.addAsyncCallback(); - dart.global.scheduleImmediate(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediateWithPromise(callback) { - if (callback == null) dart.nullFailed(I[64], 162, 61, "callback"); - dart.addAsyncCallback(); - dart.global.Promise.resolve(null).then(() => { - dart.removeAsyncCallback(); - callback(); - }); - } - static _scheduleImmediate(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.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(); - } -}, false); -async.StreamSubscription$ = dart.generic(T => { - class StreamSubscription extends core.Object {} - (StreamSubscription.new = function() { - ; - }).prototype = StreamSubscription.prototype; - dart.addTypeTests(StreamSubscription); - StreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeCaches(StreamSubscription); - dart.setLibraryUri(StreamSubscription, I[31]); - return StreamSubscription; -}); -async.StreamSubscription = async.StreamSubscription$(); -dart.addTypeTests(async.StreamSubscription, dart.isStreamSubscription); -const _is_EventSink_default = Symbol('_is_EventSink_default'); -async.EventSink$ = dart.generic(T => { - class EventSink extends core.Object {} - (EventSink.new = function() { - ; - }).prototype = EventSink.prototype; - dart.addTypeTests(EventSink); - EventSink.prototype[_is_EventSink_default] = true; - dart.addTypeCaches(EventSink); - EventSink[dart.implements] = () => [core.Sink$(T)]; - dart.setLibraryUri(EventSink, I[31]); - return EventSink; -}); -async.EventSink = async.EventSink$(); -dart.addTypeTests(async.EventSink, _is_EventSink_default); -var _stream = dart.privateName(async, "StreamView._stream"); -var _stream$ = dart.privateName(async, "_stream"); -const _is_StreamView_default = Symbol('_is_StreamView_default'); -async.StreamView$ = dart.generic(T => { - class StreamView extends async.Stream$(T) { - get [_stream$]() { - return this[_stream]; - } - 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; - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[_stream$].asBroadcastStream({onListen: onListen, onCancel: onCancel}); - } - 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; - return this[_stream$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } - (StreamView.new = function(stream) { - if (stream == null) dart.nullFailed(I[30], 2189, 30, "stream"); - this[_stream] = stream; - StreamView.__proto__._internal.call(this); - ; - }).prototype = StreamView.prototype; - dart.addTypeTests(StreamView); - StreamView.prototype[_is_StreamView_default] = true; - dart.addTypeCaches(StreamView); - dart.setMethodSignature(StreamView, () => ({ - __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[31]); - dart.setFieldSignature(StreamView, () => ({ - __proto__: dart.getFields(StreamView.__proto__), - [_stream$]: dart.finalFieldType(async.Stream$(T)) - })); - return StreamView; -}); -async.StreamView = async.StreamView$(); -dart.addTypeTests(async.StreamView, _is_StreamView_default); -const _is_StreamConsumer_default = Symbol('_is_StreamConsumer_default'); -async.StreamConsumer$ = dart.generic(S => { - class StreamConsumer extends core.Object {} - (StreamConsumer.new = function() { - ; - }).prototype = StreamConsumer.prototype; - dart.addTypeTests(StreamConsumer); - StreamConsumer.prototype[_is_StreamConsumer_default] = true; - dart.addTypeCaches(StreamConsumer); - dart.setLibraryUri(StreamConsumer, I[31]); - return StreamConsumer; -}); -async.StreamConsumer = async.StreamConsumer$(); -dart.addTypeTests(async.StreamConsumer, _is_StreamConsumer_default); -const _is_StreamSink_default = Symbol('_is_StreamSink_default'); -async.StreamSink$ = dart.generic(S => { - class StreamSink extends core.Object {} - (StreamSink.new = function() { - ; - }).prototype = StreamSink.prototype; - dart.addTypeTests(StreamSink); - StreamSink.prototype[_is_StreamSink_default] = true; - dart.addTypeCaches(StreamSink); - StreamSink[dart.implements] = () => [async.EventSink$(S), async.StreamConsumer$(S)]; - dart.setLibraryUri(StreamSink, I[31]); - return StreamSink; -}); -async.StreamSink = async.StreamSink$(); -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[30], 2460, 33, "source"); - return new (_internal.CastStreamTransformer$(SS, ST, TS, TT)).new(source); - } - } - (StreamTransformer[dart.mixinNew] = function() { - }).prototype = StreamTransformer.prototype; - dart.addTypeTests(StreamTransformer); - StreamTransformer.prototype[_is_StreamTransformer_default] = true; - dart.addTypeCaches(StreamTransformer); - dart.setStaticMethodSignature(StreamTransformer, () => ['new', 'fromHandlers', 'fromBind', 'castFrom']); - dart.setLibraryUri(StreamTransformer, I[31]); - dart.setStaticFieldSignature(StreamTransformer, () => ['_redirecting#']); - return StreamTransformer; -}); -async.StreamTransformer = async.StreamTransformer$(); -dart.addTypeTests(async.StreamTransformer, _is_StreamTransformer_default); -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[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.setStaticMethodSignature(StreamIterator, () => ['new']); - dart.setLibraryUri(StreamIterator, I[31]); - return StreamIterator; -}); -async.StreamIterator = async.StreamIterator$(); -dart.addTypeTests(async.StreamIterator, _is_StreamIterator_default); -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")); - return sink; - } - add(data) { - T.as(data); - this[_ensureSink]().add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[30], 2591, 17, "error"); - this[_ensureSink]().addError(error, stackTrace); - } - close() { - this[_ensureSink]().close(); - } - } - (_ControllerEventSinkWrapper.new = function(_sink) { - this[_sink$] = _sink; - ; - }).prototype = _ControllerEventSinkWrapper.prototype; - dart.addTypeTests(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper.prototype[_is__ControllerEventSinkWrapper_default] = true; - dart.addTypeCaches(_ControllerEventSinkWrapper); - _ControllerEventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getMethods(_ControllerEventSinkWrapper.__proto__), - [_ensureSink]: dart.fnType(async.EventSink, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ControllerEventSinkWrapper, I[31]); - dart.setFieldSignature(_ControllerEventSinkWrapper, () => ({ - __proto__: dart.getFields(_ControllerEventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink)) - })); - return _ControllerEventSinkWrapper; -}); -async._ControllerEventSinkWrapper = async._ControllerEventSinkWrapper$(); -dart.addTypeTests(async._ControllerEventSinkWrapper, _is__ControllerEventSinkWrapper_default); -const _is_MultiStreamController_default = Symbol('_is_MultiStreamController_default'); -async.MultiStreamController$ = dart.generic(T => { - class MultiStreamController extends core.Object {} - (MultiStreamController.new = function() { - ; - }).prototype = MultiStreamController.prototype; - dart.addTypeTests(MultiStreamController); - MultiStreamController.prototype[_is_MultiStreamController_default] = true; - dart.addTypeCaches(MultiStreamController); - MultiStreamController[dart.implements] = () => [async.StreamController$(T)]; - dart.setLibraryUri(MultiStreamController, I[31]); - return MultiStreamController; -}); -async.MultiStreamController = async.MultiStreamController$(); -dart.addTypeTests(async.MultiStreamController, _is_MultiStreamController_default); -const _is_StreamController_default = Symbol('_is_StreamController_default'); -async.StreamController$ = dart.generic(T => { - class StreamController extends core.Object { - static new(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 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[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; - dart.addTypeTests(StreamController); - StreamController.prototype[_is_StreamController_default] = true; - dart.addTypeCaches(StreamController); - StreamController[dart.implements] = () => [async.StreamSink$(T)]; - dart.setStaticMethodSignature(StreamController, () => ['new', 'broadcast']); - dart.setLibraryUri(StreamController, I[31]); - return StreamController; -}); -async.StreamController = async.StreamController$(); -dart.addTypeTests(async.StreamController, _is_StreamController_default); -const _is_SynchronousStreamController_default = Symbol('_is_SynchronousStreamController_default'); -async.SynchronousStreamController$ = dart.generic(T => { - class SynchronousStreamController extends core.Object {} - (SynchronousStreamController.new = function() { - ; - }).prototype = SynchronousStreamController.prototype; - dart.addTypeTests(SynchronousStreamController); - SynchronousStreamController.prototype[_is_SynchronousStreamController_default] = true; - dart.addTypeCaches(SynchronousStreamController); - SynchronousStreamController[dart.implements] = () => [async.StreamController$(T)]; - 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 __t$StreamSubscriptionOfT = () => (__t$StreamSubscriptionOfT = dart.constFn(async.StreamSubscription$(T)))(); - class _StreamControllerLifecycle extends core.Object { - [_recordPause](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 394, 43, "subscription"); - } - [_recordResume](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 395, 44, "subscription"); - } - [_recordCancel](subscription) { - __t$StreamSubscriptionOfT().as(subscription); - if (subscription == null) dart.nullFailed(I[67], 396, 53, "subscription"); - return null; - } - } - (_StreamControllerLifecycle.new = function() { - ; - }).prototype = _StreamControllerLifecycle.prototype; - dart.addTypeTests(_StreamControllerLifecycle); - _StreamControllerLifecycle.prototype[_is__StreamControllerLifecycle_default] = true; - dart.addTypeCaches(_StreamControllerLifecycle); - dart.setMethodSignature(_StreamControllerLifecycle, () => ({ - __proto__: dart.getMethods(_StreamControllerLifecycle.__proto__), - [_recordPause]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_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[31]); - return _StreamControllerLifecycle; -}); -async._StreamControllerLifecycle = async._StreamControllerLifecycle$(); -dart.addTypeTests(async._StreamControllerLifecycle, _is__StreamControllerLifecycle_default); -const _is__StreamControllerBase_default = Symbol('_is__StreamControllerBase_default'); -async._StreamControllerBase$ = dart.generic(T => { - class _StreamControllerBase extends core.Object {} - (_StreamControllerBase.new = function() { - ; - }).prototype = _StreamControllerBase.prototype; - dart.addTypeTests(_StreamControllerBase); - _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[31]); - return _StreamControllerBase; -}); -async._StreamControllerBase = async._StreamControllerBase$(); -dart.addTypeTests(async._StreamControllerBase, _is__StreamControllerBase_default); -var _varData = dart.privateName(async, "_varData"); -var _isInitialState = dart.privateName(async, "_isInitialState"); -var _subscription = dart.privateName(async, "_subscription"); -var _pendingEvents = dart.privateName(async, "_pendingEvents"); -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 __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 (__t$_ControllerStreamOfT()).new(this); - } - get sink() { - return new (__t$_StreamSinkWrapperOfT()).new(this); - } - get [_isCanceled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get hasListener() { - return (dart.notNull(this[_state]) & 1) !== 0; - } - get [_isInitialState]() { - return (dart.notNull(this[_state]) & 3) >>> 0 === 0; - } - get isClosed() { - return (dart.notNull(this[_state]) & 4) !== 0; - } - get isPaused() { - return dart.test(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.test(this[_isCanceled]); - } - get [_isAddingStream]() { - return (dart.notNull(this[_state]) & 8) !== 0; - } - get [_mayAddEvent]() { - return dart.notNull(this[_state]) < 4; - } - get [_pendingEvents]() { - if (!dart.test(this[_isInitialState])) dart.assertFailed(null, I[67], 521, 12, "_isInitialState"); - if (!dart.test(this[_isAddingStream])) { - return __t$_PendingEventsNOfT().as(this[_varData]); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - return __t$_PendingEventsNOfT().as(state.varData); - } - [_ensurePendingEvents]() { - 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 (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - let state = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - let events = state.varData; - if (events == null) { - state.varData = events = new (__t$_PendingEventsOfT()).new(); - } - return __t$_PendingEventsOfT().as(events); - } - get [_subscription]() { - 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 __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[67], 567, 12, "_isAddingStream"); - return new core.StateError.new("Cannot add event while adding a stream"); - } - addStream(source, opts) { - 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 (__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; - } - get done() { - return this[_ensureDoneFuture](); - } - [_ensureDoneFuture]() { - 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); - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_add](value); - } - addError(error, stackTrace = null) { - 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); - if (replacement != null) { - error = replacement.error; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - this[_addError](error, stackTrace); - } - close() { - if (dart.test(this.isClosed)) { - return this[_ensureDoneFuture](); - } - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_closeUnchecked](); - return this[_ensureDoneFuture](); - } - [_closeUnchecked]() { - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) { - this[_sendDone](); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(C[41] || CT.C41); - } - } - [_add](value) { - T.as(value); - if (dart.test(this.hasListener)) { - this[_sendData](value); - } else if (dart.test(this[_isInitialState])) { - this[_ensurePendingEvents]().add(new (__t$_DelayedDataOfT()).new(value)); - } - } - [_addError](error, 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])) { - this[_ensurePendingEvents]().add(new async._DelayedError.new(error, stackTrace)); - } - } - [_close]() { - 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[67], 674, 28, "cancelOnError"); - if (!dart.test(this[_isInitialState])) { - dart.throw(new core.StateError.new("Stream has already been listened to.")); - } - 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 = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.varData = subscription; - addState.resume(); - } else { - this[_varData] = subscription; - } - subscription[_setPendingEvents](pendingEvents); - subscription[_guardCallback](dart.fn(() => { - async._runGuarded(this.onListen); - }, T$.VoidTovoid())); - return subscription; - } - [_recordCancel](subscription) { - let t101; - if (subscription == null) dart.nullFailed(I[67], 698, 53, "subscription"); - let result = null; - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - result = addState.cancel(); - } - this[_varData] = null; - this[_state] = (dart.notNull(this[_state]) & ~(1 | 8) >>> 0 | 2) >>> 0; - let onCancel = this.onCancel; - if (onCancel != null) { - if (result == null) { - try { - let cancelResult = onCancel(); - if (T$.FutureOfvoid().is(cancelResult)) { - result = cancelResult; - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - result = (t101 = new (T$._FutureOfvoid()).new(), (() => { - t101[_asyncCompleteError](e, s); - return t101; - })()); - } else - throw e$; - } - } else { - result = result.whenComplete(onCancel); - } - } - const complete = () => { - let doneFuture = this[_doneFuture]; - if (doneFuture != null && dart.test(doneFuture[_mayComplete])) { - doneFuture[_asyncComplete](null); - } - }; - dart.fn(complete, T$.VoidTovoid()); - if (result != null) { - result = result.whenComplete(complete); - } else { - complete(); - } - return result; - } - [_recordPause](subscription) { - if (subscription == null) dart.nullFailed(I[67], 754, 43, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.pause(); - } - async._runGuarded(this.onPause); - } - [_recordResume](subscription) { - if (subscription == null) dart.nullFailed(I[67], 762, 44, "subscription"); - if (dart.test(this[_isAddingStream])) { - let addState = __t$_StreamControllerAddStreamStateOfT().as(this[_varData]); - addState.resume(); - } - async._runGuarded(this.onResume); - } - } - (_StreamController.new = function(onListen, onPause, onResume, onCancel) { - this[_varData] = null; - this[_state] = 0; - this[_doneFuture] = null; - this.onListen = onListen; - this.onPause = onPause; - this.onResume = onResume; - this.onCancel = onCancel; - ; - }).prototype = _StreamController.prototype; - dart.addTypeTests(_StreamController); - _StreamController.prototype[_is__StreamController_default] = true; - dart.addTypeCaches(_StreamController); - _StreamController[dart.implements] = () => [async._StreamControllerBase$(T)]; - dart.setMethodSignature(_StreamController, () => ({ - __proto__: dart.getMethods(_StreamController.__proto__), - [_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), []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - [_closeUnchecked]: dart.fnType(dart.void, []), - [_add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_addError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_close]: dart.fnType(dart.void, []), - [_subscribe]: dart.fnType(async.StreamSubscription$(T), [dart.nullable(dart.fnType(dart.void, [T])), dart.nullable(core.Function), dart.nullable(dart.fnType(dart.void, [])), core.bool]), - [_recordCancel]: dart.fnType(dart.nullable(async.Future$(dart.void)), [async.StreamSubscription$(T)]), - [_recordPause]: dart.fnType(dart.void, [async.StreamSubscription$(T)]), - [_recordResume]: dart.fnType(dart.void, [async.StreamSubscription$(T)]) - })); - dart.setGetterSignature(_StreamController, () => ({ - __proto__: dart.getGetters(_StreamController.__proto__), - stream: async.Stream$(T), - sink: async.StreamSink$(T), - [_isCanceled]: core.bool, - hasListener: core.bool, - [_isInitialState]: core.bool, - isClosed: core.bool, - isPaused: core.bool, - [_isAddingStream]: core.bool, - [_mayAddEvent]: core.bool, - [_pendingEvents]: dart.nullable(async._PendingEvents$(T)), - [_subscription]: async._ControllerSubscription$(T), - done: async.Future$(dart.void) - })); - dart.setLibraryUri(_StreamController, I[31]); - dart.setFieldSignature(_StreamController, () => ({ - __proto__: dart.getFields(_StreamController.__proto__), - [_varData]: dart.fieldType(dart.nullable(core.Object)), - [_state]: dart.fieldType(core.int), - [_doneFuture]: dart.fieldType(dart.nullable(async._Future$(dart.void))), - onListen: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - onPause: dart.fieldType(dart.nullable(dart.fnType(dart.void, []))), - 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$(); -dart.defineLazy(async._StreamController, { - /*async._StreamController._STATE_INITIAL*/get _STATE_INITIAL() { - return 0; - }, - /*async._StreamController._STATE_SUBSCRIBED*/get _STATE_SUBSCRIBED() { - return 1; - }, - /*async._StreamController._STATE_CANCELED*/get _STATE_CANCELED() { - return 2; - }, - /*async._StreamController._STATE_SUBSCRIPTION_MASK*/get _STATE_SUBSCRIPTION_MASK() { - return 3; - }, - /*async._StreamController._STATE_CLOSED*/get _STATE_CLOSED() { - return 4; - }, - /*async._StreamController._STATE_ADDSTREAM*/get _STATE_ADDSTREAM() { - return 8; - } -}, false); -dart.addTypeTests(async._StreamController, _is__StreamController_default); -const _is__SyncStreamControllerDispatch_default = Symbol('_is__SyncStreamControllerDispatch_default'); -async._SyncStreamControllerDispatch$ = dart.generic(T => { - class _SyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_add](data); - } - [_sendError](error, 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]() { - this[_subscription][_close](); - } - } - (_SyncStreamControllerDispatch.new = function() { - ; - }).prototype = _SyncStreamControllerDispatch.prototype; - dart.addTypeTests(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch.prototype[_is__SyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_SyncStreamControllerDispatch); - _SyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T), async.SynchronousStreamController$(T)]; - dart.setMethodSignature(_SyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_SyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - 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 __t$_DelayedDataOfT = () => (__t$_DelayedDataOfT = dart.constFn(async._DelayedData$(T)))(); - class _AsyncStreamControllerDispatch extends core.Object { - [_sendData](data) { - this[_subscription][_addPending](new (__t$_DelayedDataOfT()).new(data)); - } - [_sendError](error, 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[41] || CT.C41); - } - } - (_AsyncStreamControllerDispatch.new = function() { - ; - }).prototype = _AsyncStreamControllerDispatch.prototype; - dart.addTypeTests(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch.prototype[_is__AsyncStreamControllerDispatch_default] = true; - dart.addTypeCaches(_AsyncStreamControllerDispatch); - _AsyncStreamControllerDispatch[dart.implements] = () => [async._StreamController$(T)]; - dart.setMethodSignature(_AsyncStreamControllerDispatch, () => ({ - __proto__: dart.getMethods(_AsyncStreamControllerDispatch.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamControllerDispatch, I[31]); - return _AsyncStreamControllerDispatch; -}); -async._AsyncStreamControllerDispatch = async._AsyncStreamControllerDispatch$(); -dart.addTypeTests(async._AsyncStreamControllerDispatch, _is__AsyncStreamControllerDispatch_default); -const _is__AsyncStreamController_default = Symbol('_is__AsyncStreamController_default'); -async._AsyncStreamController$ = dart.generic(T => { - const _StreamController__AsyncStreamControllerDispatch$36 = class _StreamController__AsyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__AsyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__AsyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 805, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 805, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_AsyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _AsyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _AsyncStreamController.prototype; - dart.addTypeTests(_AsyncStreamController); - _AsyncStreamController.prototype[_is__AsyncStreamController_default] = true; - dart.addTypeCaches(_AsyncStreamController); - dart.setMethodSignature(_AsyncStreamController, () => ({ - __proto__: dart.getMethods(_AsyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_AsyncStreamController, I[31]); - return _AsyncStreamController; -}); -async._AsyncStreamController = async._AsyncStreamController$(); -dart.addTypeTests(async._AsyncStreamController, _is__AsyncStreamController_default); -const _is__SyncStreamController_default = Symbol('_is__SyncStreamController_default'); -async._SyncStreamController$ = dart.generic(T => { - const _StreamController__SyncStreamControllerDispatch$36 = class _StreamController__SyncStreamControllerDispatch extends async._StreamController$(T) {}; - (_StreamController__SyncStreamControllerDispatch$36.new = function(onListen, onPause, onResume, onCancel) { - _StreamController__SyncStreamControllerDispatch$36.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - }).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[67], 808, 7, "error"); - if (stackTrace == null) dart.nullFailed(I[67], 808, 7, "stackTrace"); - return super[_sendError](error, stackTrace); - } - [_sendDone]() { - return super[_sendDone](); - } - } - (_SyncStreamController.new = function(onListen, onPause, onResume, onCancel) { - _SyncStreamController.__proto__.new.call(this, onListen, onPause, onResume, onCancel); - ; - }).prototype = _SyncStreamController.prototype; - dart.addTypeTests(_SyncStreamController); - _SyncStreamController.prototype[_is__SyncStreamController_default] = true; - dart.addTypeCaches(_SyncStreamController); - dart.setMethodSignature(_SyncStreamController, () => ({ - __proto__: dart.getMethods(_SyncStreamController.__proto__), - [_sendData]: dart.fnType(dart.void, [T]), - [_sendError]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SyncStreamController, I[31]); - return _SyncStreamController; -}); -async._SyncStreamController = async._SyncStreamController$(); -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 __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[67], 870, 24, "error"); - this[_target$].addError(error, stackTrace); - } - close() { - return this[_target$].close(); - } - addStream(source) { - __t$StreamOfT().as(source); - if (source == null) dart.nullFailed(I[67], 876, 30, "source"); - return this[_target$].addStream(source); - } - get done() { - return this[_target$].done; - } - } - (_StreamSinkWrapper.new = function(_target) { - if (_target == null) dart.nullFailed(I[67], 865, 27, "_target"); - this[_target$] = _target; - ; - }).prototype = _StreamSinkWrapper.prototype; - dart.addTypeTests(_StreamSinkWrapper); - _StreamSinkWrapper.prototype[_is__StreamSinkWrapper_default] = true; - dart.addTypeCaches(_StreamSinkWrapper); - _StreamSinkWrapper[dart.implements] = () => [async.StreamSink$(T)]; - dart.setMethodSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getMethods(_StreamSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(async.Future, []), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getGetters(_StreamSinkWrapper.__proto__), - done: async.Future - })); - dart.setLibraryUri(_StreamSinkWrapper, I[31]); - dart.setFieldSignature(_StreamSinkWrapper, () => ({ - __proto__: dart.getFields(_StreamSinkWrapper.__proto__), - [_target$]: dart.finalFieldType(async.StreamController) - })); - return _StreamSinkWrapper; -}); -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[67], 899, 38, "controller"); - return dart.fn((e, 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()); - } - pause() { - this.addSubscription.pause(); - } - resume() { - this.addSubscription.resume(); - } - cancel() { - let cancel = this.addSubscription.cancel(); - if (cancel == null) { - this.addStreamFuture[_asyncComplete](null); - return async.Future._nullFuture; - } - return cancel.whenComplete(dart.fn(() => { - this.addStreamFuture[_asyncComplete](null); - }, T$.VoidToNull())); - } - complete() { - this.addStreamFuture[_asyncComplete](null); - } - } - (_AddStreamState.new = function(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"); - this.addStreamFuture = new async._Future.new(); - 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); - _AddStreamState.prototype[_is__AddStreamState_default] = true; - dart.addTypeCaches(_AddStreamState); - dart.setMethodSignature(_AddStreamState, () => ({ - __proto__: dart.getMethods(_AddStreamState.__proto__), - pause: dart.fnType(dart.void, []), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future$(dart.void), []), - complete: dart.fnType(dart.void, []) - })); - dart.setStaticMethodSignature(_AddStreamState, () => ['makeErrorHandler']); - dart.setLibraryUri(_AddStreamState, I[31]); - dart.setFieldSignature(_AddStreamState, () => ({ - __proto__: dart.getFields(_AddStreamState.__proto__), - addStreamFuture: dart.finalFieldType(async._Future), - addSubscription: dart.finalFieldType(async.StreamSubscription) - })); - return _AddStreamState; -}); -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) { - 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[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)) { - this.addSubscription.pause(); - } - }).prototype = _StreamControllerAddStreamState.prototype; - dart.addTypeTests(_StreamControllerAddStreamState); - _StreamControllerAddStreamState.prototype[_is__StreamControllerAddStreamState_default] = true; - dart.addTypeCaches(_StreamControllerAddStreamState); - dart.setLibraryUri(_StreamControllerAddStreamState, I[31]); - dart.setFieldSignature(_StreamControllerAddStreamState, () => ({ - __proto__: dart.getFields(_StreamControllerAddStreamState.__proto__), - varData: dart.fieldType(dart.dynamic) - })); - return _StreamControllerAddStreamState; -}); -async._StreamControllerAddStreamState = async._StreamControllerAddStreamState$(); -dart.addTypeTests(async._StreamControllerAddStreamState, _is__StreamControllerAddStreamState_default); -const _is__EventSink_default = Symbol('_is__EventSink_default'); -async._EventSink$ = dart.generic(T => { - class _EventSink extends core.Object {} - (_EventSink.new = function() { - ; - }).prototype = _EventSink.prototype; - dart.addTypeTests(_EventSink); - _EventSink.prototype[_is__EventSink_default] = true; - dart.addTypeCaches(_EventSink); - dart.setLibraryUri(_EventSink, I[31]); - return _EventSink; -}); -async._EventSink = async._EventSink$(); -dart.addTypeTests(async._EventSink, _is__EventSink_default); -const _is__EventDispatch_default = Symbol('_is__EventDispatch_default'); -async._EventDispatch$ = dart.generic(T => { - class _EventDispatch extends core.Object {} - (_EventDispatch.new = function() { - ; - }).prototype = _EventDispatch.prototype; - dart.addTypeTests(_EventDispatch); - _EventDispatch.prototype[_is__EventDispatch_default] = true; - dart.addTypeCaches(_EventDispatch); - dart.setLibraryUri(_EventDispatch, I[31]); - return _EventDispatch; -}); -async._EventDispatch = async._EventDispatch$(); -dart.addTypeTests(async._EventDispatch, _is__EventDispatch_default); -const _is__DelayedEvent_default = Symbol('_is__DelayedEvent_default'); -async._DelayedEvent$ = dart.generic(T => { - class _DelayedEvent extends core.Object {} - (_DelayedEvent.new = function() { - this.next = null; - ; - }).prototype = _DelayedEvent.prototype; - dart.addTypeTests(_DelayedEvent); - _DelayedEvent.prototype[_is__DelayedEvent_default] = true; - dart.addTypeCaches(_DelayedEvent); - dart.setLibraryUri(_DelayedEvent, I[31]); - dart.setFieldSignature(_DelayedEvent, () => ({ - __proto__: dart.getFields(_DelayedEvent.__proto__), - next: dart.fieldType(dart.nullable(async._DelayedEvent)) - })); - return _DelayedEvent; -}); -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 __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) { - __t$_EventDispatchOfT().as(dispatch); - if (dispatch == null) dart.nullFailed(I[68], 514, 34, "dispatch"); - dispatch[_sendData](this.value); - } - } - (_DelayedData.new = function(value) { - this.value = value; - _DelayedData.__proto__.new.call(this); - ; - }).prototype = _DelayedData.prototype; - dart.addTypeTests(_DelayedData); - _DelayedData.prototype[_is__DelayedData_default] = true; - dart.addTypeCaches(_DelayedData); - dart.setMethodSignature(_DelayedData, () => ({ - __proto__: dart.getMethods(_DelayedData.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_DelayedData, I[31]); - dart.setFieldSignature(_DelayedData, () => ({ - __proto__: dart.getFields(_DelayedData.__proto__), - value: dart.finalFieldType(T) - })); - return _DelayedData; -}); -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[68], 525, 31, "dispatch"); - dispatch[_sendError](this.error, this.stackTrace); - } -}; -(async._DelayedError.new = function(error, 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); - ; -}).prototype = async._DelayedError.prototype; -dart.addTypeTests(async._DelayedError); -dart.addTypeCaches(async._DelayedError); -dart.setMethodSignature(async._DelayedError, () => ({ - __proto__: dart.getMethods(async._DelayedError.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[68], 533, 31, "dispatch"); - dispatch[_sendDone](); - } - get next() { - return null; - } - set next(_) { - dart.throw(new core.StateError.new("No events after a done.")); - } -}; -(async._DelayedDone.new = function() { - ; -}).prototype = async._DelayedDone.prototype; -dart.addTypeTests(async._DelayedDone); -dart.addTypeCaches(async._DelayedDone); -async._DelayedDone[dart.implements] = () => [async._DelayedEvent]; -dart.setMethodSignature(async._DelayedDone, () => ({ - __proto__: dart.getMethods(async._DelayedDone.__proto__), - perform: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getGetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) -})); -dart.setSetterSignature(async._DelayedDone, () => ({ - __proto__: dart.getSetters(async._DelayedDone.__proto__), - next: dart.nullable(async._DelayedEvent) -})); -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[68], 602, 26, "event"); - let lastEvent = this.lastPendingEvent; - if (lastEvent == null) { - this.firstPendingEvent = this.lastPendingEvent = event; - } else { - this.lastPendingEvent = lastEvent.next = event; - } - } - handleNext(dispatch) { - __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; - if (nextEvent == null) { - this.lastPendingEvent = null; - } - event.perform(dispatch); - } - clear() { - if (dart.test(this.isScheduled)) this.cancelSchedule(); - this.firstPendingEvent = this.lastPendingEvent = null; - } - static ['_#new#tearOff'](T) { - return new (async._PendingEvents$(T)).new(); - } - } - (_PendingEvents.new = function() { - this[_state] = 0; - this.firstPendingEvent = null; - this.lastPendingEvent = null; - ; - }).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(_PendingEvents, () => ({ - __proto__: dart.getGetters(_PendingEvents.__proto__), - isScheduled: core.bool, - [_eventScheduled]: core.bool, - isEmpty: core.bool - })); - 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)) - })); - dart.setStaticFieldSignature(_PendingEvents, () => ['stateUnscheduled', 'stateScheduled', 'stateCanceled']); - return _PendingEvents; -}); -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; - } - get [_isScheduled]() { - return (dart.notNull(this[_state]) & 2) !== 0; - } - get isPaused() { - return dart.notNull(this[_state]) >= 4; - } - [_schedule]() { - if (dart.test(this[_isScheduled])) return; - this[_zone$].scheduleMicrotask(dart.bind(this, _sendDone)); - this[_state] = (dart.notNull(this[_state]) | 2) >>> 0; - } - onData(handleData) { - } - onError(handleError) { - } - onDone(handleDone) { - this[_onDone$] = handleDone; - } - pause(resumeSignal = null) { - this[_state] = dart.notNull(this[_state]) + 4; - if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - resume() { - if (dart.test(this.isPaused)) { - this[_state] = dart.notNull(this[_state]) - 4; - if (!dart.test(this.isPaused) && !dart.test(this[_isSent])) { - this[_schedule](); - } - } - } - cancel() { - return async.Future._nullFuture; - } - asFuture(E, futureValue = null) { - let resultValue = null; - if (futureValue == null) { - if (!dart.test(_internal.typeAcceptsNull(E))) { - dart.throw(new core.ArgumentError.notNull("futureValue")); - } - resultValue = E.as(futureValue); - } else { - resultValue = futureValue; - } - let result = new (async._Future$(E)).new(); - this[_onDone$] = dart.fn(() => { - result[_completeWithValue](resultValue); - }, T$.VoidTovoid()); - return result; - } - [_sendDone]() { - this[_state] = (dart.notNull(this[_state]) & ~2 >>> 0) >>> 0; - if (dart.test(this.isPaused)) return; - this[_state] = (dart.notNull(this[_state]) | 1) >>> 0; - let doneHandler = this[_onDone$]; - if (doneHandler != null) this[_zone$].runGuarded(doneHandler); - } - } - (_DoneStreamSubscription.new = function(_onDone) { - this[_state] = 0; - this[_onDone$] = _onDone; - this[_zone$] = async.Zone.current; - this[_schedule](); - }).prototype = _DoneStreamSubscription.prototype; - _DoneStreamSubscription.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_DoneStreamSubscription); - _DoneStreamSubscription.prototype[_is__DoneStreamSubscription_default] = true; - dart.addTypeCaches(_DoneStreamSubscription); - _DoneStreamSubscription[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getMethods(_DoneStreamSubscription.__proto__), - [_schedule]: dart.fnType(dart.void, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]), - [_sendDone]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_DoneStreamSubscription, () => ({ - __proto__: dart.getGetters(_DoneStreamSubscription.__proto__), - [_isSent]: core.bool, - [_isScheduled]: core.bool, - isPaused: core.bool - })); - 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$(); -dart.defineLazy(async._DoneStreamSubscription, { - /*async._DoneStreamSubscription._DONE_SENT*/get _DONE_SENT() { - return 1; - }, - /*async._DoneStreamSubscription._SCHEDULED*/get _SCHEDULED() { - return 2; - }, - /*async._DoneStreamSubscription._PAUSED*/get _PAUSED() { - return 4; - } -}, false); -dart.addTypeTests(async._DoneStreamSubscription, _is__DoneStreamSubscription_default); -var _source$4 = dart.privateName(async, "_source"); -var _onListenHandler = dart.privateName(async, "_onListenHandler"); -var _onCancelHandler = dart.privateName(async, "_onCancelHandler"); -var _cancelSubscription = dart.privateName(async, "_cancelSubscription"); -var _pauseSubscription = dart.privateName(async, "_pauseSubscription"); -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 __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 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 (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - 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, __t$_BroadcastSubscriptionWrapperOfT(), cancelHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - if (shutdown) { - let subscription = this[_subscription]; - if (subscription != null) { - subscription.cancel(); - this[_subscription] = null; - } - } - } - [_onListen$]() { - let listenHandler = this[_onListenHandler]; - if (listenHandler != null) { - this[_zone$].runUnary(dart.void, __t$_BroadcastSubscriptionWrapperOfT(), listenHandler, new (__t$_BroadcastSubscriptionWrapperOfT()).new(this)); - } - } - [_cancelSubscription]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - this[_controller$] = null; - subscription.cancel(); - } - } - [_pauseSubscription](resumeSignal) { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(resumeSignal); - } - [_resumeSubscription]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - get [_isSubscriptionPaused]() { - 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[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, __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 (__t$_AsBroadcastStreamControllerOfT()).new(dart.bind(this, _onListen$), dart.bind(this, _onCancel)); - }).prototype = _AsBroadcastStream.prototype; - dart.addTypeTests(_AsBroadcastStream); - _AsBroadcastStream.prototype[_is__AsBroadcastStream_default] = true; - dart.addTypeCaches(_AsBroadcastStream); - dart.setMethodSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getMethods(_AsBroadcastStream.__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)}, {}), - [_onCancel]: dart.fnType(dart.void, []), - [_onListen$]: dart.fnType(dart.void, []), - [_cancelSubscription]: dart.fnType(dart.void, []), - [_pauseSubscription]: dart.fnType(dart.void, [dart.nullable(async.Future$(dart.void))]), - [_resumeSubscription]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getGetters(_AsBroadcastStream.__proto__), - [_isSubscriptionPaused]: core.bool - })); - dart.setLibraryUri(_AsBroadcastStream, I[31]); - dart.setFieldSignature(_AsBroadcastStream, () => ({ - __proto__: dart.getFields(_AsBroadcastStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(T)), - [_onListenHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_onCancelHandler]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.StreamSubscription$(T)]))), - [_zone$]: dart.finalFieldType(async.Zone), - [_controller$]: dart.fieldType(dart.nullable(async._AsBroadcastStreamController$(T))), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))) - })); - return _AsBroadcastStream; -}); -async._AsBroadcastStream = async._AsBroadcastStream$(); -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.")); - } - onError(handleError) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - onDone(handleDone) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - pause(resumeSignal = null) { - this[_stream$][_pauseSubscription](resumeSignal); - } - resume() { - this[_stream$][_resumeSubscription](); - } - cancel() { - this[_stream$][_cancelSubscription](); - return async.Future._nullFuture; - } - get isPaused() { - return this[_stream$][_isSubscriptionPaused]; - } - asFuture(E, futureValue = null) { - dart.throw(new core.UnsupportedError.new("Cannot change handlers of asBroadcastStream source subscription.")); - } - } - (_BroadcastSubscriptionWrapper.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[68], 795, 38, "_stream"); - this[_stream$] = _stream; - ; - }).prototype = _BroadcastSubscriptionWrapper.prototype; - _BroadcastSubscriptionWrapper.prototype[dart.isStreamSubscription] = true; - dart.addTypeTests(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper.prototype[_is__BroadcastSubscriptionWrapper_default] = true; - dart.addTypeCaches(_BroadcastSubscriptionWrapper); - _BroadcastSubscriptionWrapper[dart.implements] = () => [async.StreamSubscription$(T)]; - dart.setMethodSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getMethods(_BroadcastSubscriptionWrapper.__proto__), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future$(dart.void))]), - resume: dart.fnType(dart.void, []), - cancel: dart.fnType(async.Future, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getGetters(_BroadcastSubscriptionWrapper.__proto__), - isPaused: core.bool - })); - dart.setLibraryUri(_BroadcastSubscriptionWrapper, I[31]); - dart.setFieldSignature(_BroadcastSubscriptionWrapper, () => ({ - __proto__: dart.getFields(_BroadcastSubscriptionWrapper.__proto__), - [_stream$]: dart.finalFieldType(async._AsBroadcastStream) - })); - return _BroadcastSubscriptionWrapper; -}); -async._BroadcastSubscriptionWrapper = async._BroadcastSubscriptionWrapper$(); -dart.addTypeTests(async._BroadcastSubscriptionWrapper, _is__BroadcastSubscriptionWrapper_default); -var _hasValue$0 = dart.privateName(async, "_hasValue"); -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 __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); - } - moveNext() { - let subscription = this[_subscription]; - if (subscription != null) { - if (dart.test(this[_hasValue$0])) { - let future = new (T$._FutureOfbool()).new(); - this[_stateData] = future; - this[_hasValue$0] = false; - subscription.resume(); - return future; - } - dart.throw(new core.StateError.new("Already waiting for next.")); - } - return this[_initializeOrDone](); - } - [_initializeOrDone]() { - if (!(this[_subscription] == null)) dart.assertFailed(null, I[68], 927, 12, "_subscription == null"); - let stateData = this[_stateData]; - if (stateData != null) { - 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}); - if (this[_stateData] != null) { - this[_subscription] = subscription; - } - return future; - } - return async.Future._falseFuture; - } - cancel() { - let subscription = this[_subscription]; - let stateData = this[_stateData]; - this[_stateData] = null; - if (subscription != null) { - this[_subscription] = null; - if (!dart.test(this[_hasValue$0])) { - let future = T$._FutureOfbool().as(stateData); - future[_asyncComplete](false); - } else { - this[_hasValue$0] = false; - } - return subscription.cancel(); - } - return async.Future._nullFuture; - } - [_onData$](data) { - let t101; - T.as(data); - if (this[_subscription] == null) return; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_stateData] = data; - this[_hasValue$0] = true; - moveNextFuture[_complete](true); - if (dart.test(this[_hasValue$0])) { - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - } - [_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; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeError](error, stackTrace); - } else { - moveNextFuture[_asyncCompleteError](error, stackTrace); - } - } - [_onDone$]() { - let subscription = this[_subscription]; - let moveNextFuture = T$._FutureOfbool().as(this[_stateData]); - this[_subscription] = null; - this[_stateData] = null; - if (subscription != null) { - moveNextFuture[_completeWithValue](false); - } else { - moveNextFuture[_asyncCompleteWithValue](false); - } - } - } - (_StreamIterator.new = function(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"); - ; - }).prototype = _StreamIterator.prototype; - dart.addTypeTests(_StreamIterator); - _StreamIterator.prototype[_is__StreamIterator_default] = true; - dart.addTypeCaches(_StreamIterator); - _StreamIterator[dart.implements] = () => [async.StreamIterator$(T)]; - dart.setMethodSignature(_StreamIterator, () => ({ - __proto__: dart.getMethods(_StreamIterator.__proto__), - moveNext: dart.fnType(async.Future$(core.bool), []), - [_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]), - [_onDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamIterator, () => ({ - __proto__: dart.getGetters(_StreamIterator.__proto__), - current: T - })); - dart.setLibraryUri(_StreamIterator, I[31]); - dart.setFieldSignature(_StreamIterator, () => ({ - __proto__: dart.getFields(_StreamIterator.__proto__), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(T))), - [_stateData]: dart.fieldType(dart.nullable(core.Object)), - [_hasValue$0]: dart.fieldType(core.bool) - })); - return _StreamIterator; -}); -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 __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; - } - 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; - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - } - (_EmptyStream.new = function() { - _EmptyStream.__proto__._internal.call(this); - ; - }).prototype = _EmptyStream.prototype; - dart.addTypeTests(_EmptyStream); - _EmptyStream.prototype[_is__EmptyStream_default] = true; - dart.addTypeCaches(_EmptyStream); - dart.setMethodSignature(_EmptyStream, () => ({ - __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[31]); - return _EmptyStream; -}); -async._EmptyStream = async._EmptyStream$(); -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 __t$_MultiStreamControllerOfT = () => (__t$_MultiStreamControllerOfT = dart.constFn(async._MultiStreamController$(T)))(); - class _MultiStream extends async.Stream$(T) { - get isBroadcast() { - return this[isBroadcast$]; - } - 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 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 (__t$_MultiStreamControllerOfT()).new(); - controller.onListen = dart.fn(() => { - let t101; - t101 = controller; - this[_onListen$](t101); - }, T$.VoidTovoid()); - return controller[_subscribe](onData, onError, onDone, (t101 = cancelOnError, t101 == null ? false : t101)); - } - } - (_MultiStream.new = function(_onListen, 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); - ; - }).prototype = _MultiStream.prototype; - dart.addTypeTests(_MultiStream); - _MultiStream.prototype[_is__MultiStream_default] = true; - dart.addTypeCaches(_MultiStream); - dart.setMethodSignature(_MultiStream, () => ({ - __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[31]); - dart.setFieldSignature(_MultiStream, () => ({ - __proto__: dart.getFields(_MultiStream.__proto__), - isBroadcast: dart.finalFieldType(core.bool), - [_onListen$]: dart.finalFieldType(dart.fnType(dart.void, [async.MultiStreamController$(T)])) - })); - return _MultiStream; -}); -async._MultiStream = async._MultiStream$(); -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 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, (t101 = stackTrace, t101 == null ? core.StackTrace.empty : t101)); - } - } - closeSync() { - if (dart.test(this.isClosed)) return; - if (!dart.test(this[_mayAddEvent])) dart.throw(this[_badEventState]()); - this[_state] = (dart.notNull(this[_state]) | 4) >>> 0; - if (dart.test(this.hasListener)) this[_subscription][_close](); - } - get stream() { - dart.throw(new core.UnsupportedError.new("Not available")); - } - } - (_MultiStreamController.new = function() { - _MultiStreamController.__proto__.new.call(this, null, null, null, null); - ; - }).prototype = _MultiStreamController.prototype; - dart.addTypeTests(_MultiStreamController); - _MultiStreamController.prototype[_is__MultiStreamController_default] = true; - dart.addTypeCaches(_MultiStreamController); - _MultiStreamController[dart.implements] = () => [async.MultiStreamController$(T)]; - dart.setMethodSignature(_MultiStreamController, () => ({ - __proto__: dart.getMethods(_MultiStreamController.__proto__), - addSync: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addErrorSync: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - closeSync: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_MultiStreamController, I[31]); - return _MultiStreamController; -}); -async._MultiStreamController = async._MultiStreamController$(); -dart.addTypeTests(async._MultiStreamController, _is__MultiStreamController_default); -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 __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 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, (t101 = cancelOnError, t101 == null ? false : t101)); - } - [_createSubscription](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[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) { - __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[73], 75, 26, "_source"); - this[_source$4] = _source; - _ForwardingStream.__proto__.new.call(this); - ; - }).prototype = _ForwardingStream.prototype; - dart.addTypeTests(_ForwardingStream); - _ForwardingStream.prototype[_is__ForwardingStream_default] = true; - dart.addTypeCaches(_ForwardingStream); - dart.setMethodSignature(_ForwardingStream, () => ({ - __proto__: dart.getMethods(_ForwardingStream.__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)}, {}), - [_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]), - [_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[31]); - dart.setFieldSignature(_ForwardingStream, () => ({ - __proto__: dart.getFields(_ForwardingStream.__proto__), - [_source$4]: dart.finalFieldType(async.Stream$(S)) - })); - return _ForwardingStream; -}); -async._ForwardingStream = async._ForwardingStream$(); -dart.addTypeTests(async._ForwardingStream, _is__ForwardingStream_default); -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[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 t101; - t101 = this[_subscription]; - t101 == null ? null : t101.pause(); - } - [_onResume]() { - let t101; - t101 = this[_subscription]; - t101 == null ? null : t101.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - this[_stream$][_handleData$](data, this); - } - [_handleError$](error, stackTrace) { - if (stackTrace == null) dart.nullFailed(I[73], 156, 39, "stackTrace"); - this[_stream$][_handleError$](core.Object.as(error), stackTrace, this); - } - [_handleDone$]() { - this[_stream$][_handleDone$](this); - } - } - (_ForwardingStreamSubscription.new = function(_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"); - this[_subscription] = null; - this[_stream$] = _stream; - _ForwardingStreamSubscription.__proto__.new.call(this, onData, onError, onDone, cancelOnError); - this[_subscription] = this[_stream$][_source$4].listen(dart.bind(this, _handleData$), {onError: dart.bind(this, _handleError$), onDone: dart.bind(this, _handleDone$)}); - }).prototype = _ForwardingStreamSubscription.prototype; - dart.addTypeTests(_ForwardingStreamSubscription); - _ForwardingStreamSubscription.prototype[_is__ForwardingStreamSubscription_default] = true; - dart.addTypeCaches(_ForwardingStreamSubscription); - dart.setMethodSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getMethods(_ForwardingStreamSubscription.__proto__), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [dart.dynamic, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ForwardingStreamSubscription, I[31]); - dart.setFieldSignature(_ForwardingStreamSubscription, () => ({ - __proto__: dart.getFields(_ForwardingStreamSubscription.__proto__), - [_stream$]: dart.finalFieldType(async._ForwardingStream$(S, T)), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _ForwardingStreamSubscription; -}); -async._ForwardingStreamSubscription = async._ForwardingStreamSubscription$(); -dart.addTypeTests(async._ForwardingStreamSubscription, _is__ForwardingStreamSubscription_default); -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 t101; - if (sink == null) dart.nullFailed(I[73], 186, 48, "sink"); - let satisfies = null; - try { - satisfies = (t101 = inputEvent, this[_test$](t101)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } - } - } - (_WhereStream.new = function(source, 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; - dart.addTypeTests(_WhereStream); - _WhereStream.prototype[_is__WhereStream_default] = true; - dart.addTypeCaches(_WhereStream); - dart.setMethodSignature(_WhereStream, () => ({ - __proto__: dart.getMethods(_WhereStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_WhereStream, I[31]); - dart.setFieldSignature(_WhereStream, () => ({ - __proto__: dart.getFields(_WhereStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _WhereStream; -}); -async._WhereStream = async._WhereStream$(); -dart.addTypeTests(async._WhereStream, _is__WhereStream_default); -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 t102; - if (sink == null) dart.nullFailed(I[73], 210, 48, "sink"); - let outputEvent = null; - try { - outputEvent = (t102 = inputEvent, this[_transform](t102)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - sink[_add](outputEvent); - } - } - (_MapStream.new = function(source, 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); - ; - }).prototype = _MapStream.prototype; - dart.addTypeTests(_MapStream); - _MapStream.prototype[_is__MapStream_default] = true; - dart.addTypeCaches(_MapStream); - dart.setMethodSignature(_MapStream, () => ({ - __proto__: dart.getMethods(_MapStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_MapStream, I[31]); - dart.setFieldSignature(_MapStream, () => ({ - __proto__: dart.getFields(_MapStream.__proto__), - [_transform]: dart.finalFieldType(dart.fnType(T, [S])) - })); - return _MapStream; -}); -async._MapStream = async._MapStream$(); -dart.addTypeTests(async._MapStream, _is__MapStream_default); -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 t103; - if (sink == null) dart.nullFailed(I[73], 230, 48, "sink"); - try { - for (let value of (t103 = inputEvent, this[_expand](t103))) { - sink[_add](value); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - } else - throw e$; - } - } - } - (_ExpandStream.new = function(source, 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); - ; - }).prototype = _ExpandStream.prototype; - dart.addTypeTests(_ExpandStream); - _ExpandStream.prototype[_is__ExpandStream_default] = true; - dart.addTypeCaches(_ExpandStream); - dart.setMethodSignature(_ExpandStream, () => ({ - __proto__: dart.getMethods(_ExpandStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [S, async._EventSink$(T)]) - })); - dart.setLibraryUri(_ExpandStream, I[31]); - dart.setFieldSignature(_ExpandStream, () => ({ - __proto__: dart.getFields(_ExpandStream.__proto__), - [_expand]: dart.finalFieldType(dart.fnType(core.Iterable$(T), [S])) - })); - return _ExpandStream; -}); -async._ExpandStream = async._ExpandStream$(); -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[73], 252, 42, "sink"); - sink[_add](data); - } - [_handleError$](error, stackTrace, 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$]; - if (test != null) { - try { - matches = test(error); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - } - if (dart.test(matches)) { - try { - t105 = error; - t106 = stackTrace; - this[_onError$](t105, t106); - } catch (e$0) { - let e = dart.getThrown(e$0); - let s = dart.stackTrace(e$0); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - sink[_addError](error, stackTrace); - } else { - async._addErrorWithReplacement(sink, e, s); - } - return; - } else - throw e$0; - } - } else { - sink[_addError](error, stackTrace); - } - } - } - (_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; - dart.addTypeTests(_HandleErrorStream); - _HandleErrorStream.prototype[_is__HandleErrorStream_default] = true; - dart.addTypeCaches(_HandleErrorStream); - dart.setMethodSignature(_HandleErrorStream, () => ({ - __proto__: dart.getMethods(_HandleErrorStream.__proto__), - [_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[31]); - dart.setFieldSignature(_HandleErrorStream, () => ({ - __proto__: dart.getFields(_HandleErrorStream.__proto__), - [_onError$]: dart.finalFieldType(dart.fnType(dart.void, [core.Object, core.StackTrace])), - [_test$]: dart.finalFieldType(dart.nullable(dart.fnType(core.bool, [core.Object]))) - })); - return _HandleErrorStream; -}); -async._HandleErrorStream = async._HandleErrorStream$(); -dart.addTypeTests(async._HandleErrorStream, _is__HandleErrorStream_default); -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 __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[73], 292, 47, "cancelOnError"); - if (this[_count] === 0) { - this[_source$4].listen(null).cancel(); - return new (__t$_DoneStreamSubscriptionOfT()).new(onDone); - } - return new (__t$_StateStreamSubscriptionOfint$T()).new(this, onData, onError, onDone, cancelOnError, this[_count]); - } - [_handleData$](inputEvent, 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); - count = dart.notNull(count) - 1; - subscription[_subState] = count; - if (count === 0) { - sink[_close](); - } - } - } - } - (_TakeStream.new = function(source, 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); - ; - }).prototype = _TakeStream.prototype; - dart.addTypeTests(_TakeStream); - _TakeStream.prototype[_is__TakeStream_default] = true; - dart.addTypeCaches(_TakeStream); - dart.setMethodSignature(_TakeStream, () => ({ - __proto__: dart.getMethods(_TakeStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeStream, I[31]); - dart.setFieldSignature(_TakeStream, () => ({ - __proto__: dart.getFields(_TakeStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _TakeStream; -}); -async._TakeStream = async._TakeStream$(); -dart.addTypeTests(async._TakeStream, _is__TakeStream_default); -var _subState$ = dart.privateName(async, "_StateStreamSubscription._subState"); -const _is__StateStreamSubscription_default = Symbol('_is__StateStreamSubscription_default'); -async._StateStreamSubscription$ = dart.generic((S, T) => { - class _StateStreamSubscription extends async._ForwardingStreamSubscription$(T, T) { - get [_subState]() { - return this[_subState$]; - } - 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[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); - ; - }).prototype = _StateStreamSubscription.prototype; - dart.addTypeTests(_StateStreamSubscription); - _StateStreamSubscription.prototype[_is__StateStreamSubscription_default] = true; - dart.addTypeCaches(_StateStreamSubscription); - dart.setLibraryUri(_StateStreamSubscription, I[31]); - dart.setFieldSignature(_StateStreamSubscription, () => ({ - __proto__: dart.getFields(_StateStreamSubscription.__proto__), - [_subState]: dart.fieldType(S) - })); - return _StateStreamSubscription; -}); -async._StateStreamSubscription = async._StateStreamSubscription$(); -dart.addTypeTests(async._StateStreamSubscription, _is__StateStreamSubscription_default); -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 t106; - if (sink == null) dart.nullFailed(I[73], 336, 48, "sink"); - let satisfies = null; - try { - satisfies = (t106 = inputEvent, this[_test$](t106)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - sink[_close](); - return; - } else - throw e$; - } - if (dart.test(satisfies)) { - sink[_add](inputEvent); - } else { - sink[_close](); - } - } - } - (_TakeWhileStream.new = function(source, 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; - dart.addTypeTests(_TakeWhileStream); - _TakeWhileStream.prototype[_is__TakeWhileStream_default] = true; - dart.addTypeCaches(_TakeWhileStream); - dart.setMethodSignature(_TakeWhileStream, () => ({ - __proto__: dart.getMethods(_TakeWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_TakeWhileStream, I[31]); - dart.setFieldSignature(_TakeWhileStream, () => ({ - __proto__: dart.getFields(_TakeWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _TakeWhileStream; -}); -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 __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[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[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; - return; - } - sink[_add](inputEvent); - } - } - (_SkipStream.new = function(source, 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"); - }).prototype = _SkipStream.prototype; - dart.addTypeTests(_SkipStream); - _SkipStream.prototype[_is__SkipStream_default] = true; - dart.addTypeCaches(_SkipStream); - dart.setMethodSignature(_SkipStream, () => ({ - __proto__: dart.getMethods(_SkipStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipStream, I[31]); - dart.setFieldSignature(_SkipStream, () => ({ - __proto__: dart.getFields(_SkipStream.__proto__), - [_count]: dart.finalFieldType(core.int) - })); - return _SkipStream; -}); -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 __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[73], 390, 47, "cancelOnError"); - return new (__t$_StateStreamSubscriptionOfbool$T()).new(this, onData, onError, onDone, cancelOnError, false); - } - [_handleData$](inputEvent, 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); - return; - } - let satisfies = null; - try { - satisfies = (t107 = inputEvent, this[_test$](t107)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - subscription[_subState] = true; - return; - } else - throw e$; - } - if (!dart.test(satisfies)) { - subscription[_subState] = true; - sink[_add](inputEvent); - } - } - } - (_SkipWhileStream.new = function(source, 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; - dart.addTypeTests(_SkipWhileStream); - _SkipWhileStream.prototype[_is__SkipWhileStream_default] = true; - dart.addTypeCaches(_SkipWhileStream); - dart.setMethodSignature(_SkipWhileStream, () => ({ - __proto__: dart.getMethods(_SkipWhileStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - dart.setLibraryUri(_SkipWhileStream, I[31]); - dart.setFieldSignature(_SkipWhileStream, () => ({ - __proto__: dart.getFields(_SkipWhileStream.__proto__), - [_test$]: dart.finalFieldType(dart.fnType(core.bool, [T])) - })); - return _SkipWhileStream; -}); -async._SkipWhileStream = async._SkipWhileStream$(); -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 __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[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[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; - sink[_add](inputEvent); - } else { - let previousEvent = T.as(previous); - let equals = this[_equals]; - let isEqual = null; - try { - if (equals == null) { - isEqual = dart.equals(previousEvent, inputEvent); - } else { - isEqual = equals(previousEvent, inputEvent); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async._addErrorWithReplacement(sink, e, s); - return; - } else - throw e$; - } - if (!dart.test(isEqual)) { - sink[_add](inputEvent); - subscription[_subState] = inputEvent; - } - } - } - } - (_DistinctStream.new = function(source, equals) { - if (source == null) dart.nullFailed(I[73], 423, 29, "source"); - this[_equals] = equals; - _DistinctStream.__proto__.new.call(this, source); - ; - }).prototype = _DistinctStream.prototype; - dart.addTypeTests(_DistinctStream); - _DistinctStream.prototype[_is__DistinctStream_default] = true; - dart.addTypeCaches(_DistinctStream); - dart.setMethodSignature(_DistinctStream, () => ({ - __proto__: dart.getMethods(_DistinctStream.__proto__), - [_handleData$]: dart.fnType(dart.void, [T, async._EventSink$(T)]) - })); - 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$(); -dart.defineLazy(async._DistinctStream, { - /*async._DistinctStream._SENTINEL*/get _SENTINEL() { - return new core.Object.new(); - } -}, false); -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 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[74], 10, 26, "_sink"); - this[_sink$] = _sink; - ; - }).prototype = _EventSinkWrapper.prototype; - dart.addTypeTests(_EventSinkWrapper); - _EventSinkWrapper.prototype[_is__EventSinkWrapper_default] = true; - dart.addTypeCaches(_EventSinkWrapper); - _EventSinkWrapper[dart.implements] = () => [async.EventSink$(T)]; - dart.setMethodSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getMethods(_EventSinkWrapper.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_EventSinkWrapper, I[31]); - dart.setFieldSignature(_EventSinkWrapper, () => ({ - __proto__: dart.getFields(_EventSinkWrapper.__proto__), - [_sink$]: dart.fieldType(async._EventSink$(T)) - })); - return _EventSinkWrapper; -}); -async._EventSinkWrapper = async._EventSinkWrapper$(); -dart.addTypeTests(async._EventSinkWrapper, _is__EventSinkWrapper_default); -var ___SinkTransformerStreamSubscription__transformerSink = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink"); -var ___SinkTransformerStreamSubscription__transformerSink_isSet = dart.privateName(async, "_#_SinkTransformerStreamSubscription#_transformerSink#isSet"); -var _transformerSink = dart.privateName(async, "_transformerSink"); -const _is__SinkTransformerStreamSubscription_default = Symbol('_is__SinkTransformerStreamSubscription_default'); -async._SinkTransformerStreamSubscription$ = dart.generic((S, T) => { - var __t$_EventSinkWrapperOfT = () => (__t$_EventSinkWrapperOfT = dart.constFn(async._EventSinkWrapper$(T)))(); - class _SinkTransformerStreamSubscription extends async._BufferingStreamSubscription$(T) { - get [_transformerSink]() { - let t109; - return dart.test(this[___SinkTransformerStreamSubscription__transformerSink_isSet]) ? (t109 = this[___SinkTransformerStreamSubscription__transformerSink], t109) : dart.throw(new _internal.LateError.fieldNI("_transformerSink")); - } - set [_transformerSink](_transformerSink$35param) { - if (_transformerSink$35param == null) dart.nullFailed(I[74], 33, 21, "_transformerSink#param"); - this[___SinkTransformerStreamSubscription__transformerSink_isSet] = true; - 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])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_add](data); - } - [_addError](error, 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")); - } - super[_addError](error, stackTrace); - } - [_close]() { - if (dart.test(this[_isClosed])) { - dart.throw(new core.StateError.new("Stream is already closed")); - } - super[_close](); - } - [_onPause]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.pause(); - } - [_onResume]() { - let t109; - t109 = this[_subscription]; - t109 == null ? null : t109.resume(); - } - [_onCancel]() { - let subscription = this[_subscription]; - if (subscription != null) { - this[_subscription] = null; - return subscription.cancel(); - } - return null; - } - [_handleData$](data) { - S.as(data); - try { - this[_transformerSink].add(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - [_handleError$](error, 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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - this[_addError](error, stackTrace); - } else { - this[_addError](e, s); - } - } else - throw e$; - } - } - [_handleDone$]() { - try { - this[_subscription] = null; - this[_transformerSink].close(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_addError](e, s); - } else - throw e$; - } - } - } - (_SinkTransformerStreamSubscription.new = function(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"); - 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 (__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); - _SinkTransformerStreamSubscription.prototype[_is__SinkTransformerStreamSubscription_default] = true; - dart.addTypeCaches(_SinkTransformerStreamSubscription); - dart.setMethodSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getMethods(_SinkTransformerStreamSubscription.__proto__), - [_add]: dart.fnType(dart.void, [T]), - [_handleData$]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_handleError$]: dart.fnType(dart.void, [core.Object, core.StackTrace]), - [_handleDone$]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getGetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setSetterSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getSetters(_SinkTransformerStreamSubscription.__proto__), - [_transformerSink]: async.EventSink$(S) - })); - dart.setLibraryUri(_SinkTransformerStreamSubscription, I[31]); - dart.setFieldSignature(_SinkTransformerStreamSubscription, () => ({ - __proto__: dart.getFields(_SinkTransformerStreamSubscription.__proto__), - [___SinkTransformerStreamSubscription__transformerSink]: dart.fieldType(dart.nullable(async.EventSink$(S))), - [___SinkTransformerStreamSubscription__transformerSink_isSet]: dart.fieldType(core.bool), - [_subscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(S))) - })); - return _SinkTransformerStreamSubscription; -}); -async._SinkTransformerStreamSubscription = async._SinkTransformerStreamSubscription$(); -dart.addTypeTests(async._SinkTransformerStreamSubscription, _is__SinkTransformerStreamSubscription_default); -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 __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$]; - } - 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) { - __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[74], 149, 37, "_sinkMapper"); - this[_sinkMapper$] = _sinkMapper; - _StreamSinkTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSinkTransformer.prototype; - dart.addTypeTests(_StreamSinkTransformer); - _StreamSinkTransformer.prototype[_is__StreamSinkTransformer_default] = true; - dart.addTypeCaches(_StreamSinkTransformer); - dart.setMethodSignature(_StreamSinkTransformer, () => ({ - __proto__: dart.getMethods(_StreamSinkTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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)])) - })); - return _StreamSinkTransformer; -}); -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 __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 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 (__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[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); - ; - }).prototype = _BoundSinkStream.prototype; - dart.addTypeTests(_BoundSinkStream); - _BoundSinkStream.prototype[_is__BoundSinkStream_default] = true; - dart.addTypeCaches(_BoundSinkStream); - dart.setMethodSignature(_BoundSinkStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSinkStream, () => ({ - __proto__: dart.getFields(_BoundSinkStream.__proto__), - [_sinkMapper$0]: dart.finalFieldType(dart.fnType(async.EventSink$(S), [async.EventSink$(T)])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSinkStream; -}); -async._BoundSinkStream = async._BoundSinkStream$(); -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$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleData = this[_handleData$]; - if (handleData != null) { - handleData(data, sink); - } else { - sink.add(T.as(data)); - } - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[74], 215, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let sink = this[_sink$]; - if (sink == null) { - dart.throw(new core.StateError.new("Sink is closed")); - } - let handleError = this[_handleError$]; - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - if (handleError != null) { - handleError(error, stackTrace, sink); - } else { - sink.addError(error, stackTrace); - } - } - close() { - let sink = this[_sink$]; - if (sink == null) return; - this[_sink$] = null; - let handleDone = this[_handleDone$]; - if (handleDone != null) { - handleDone(sink); - } else { - sink.close(); - } - } - } - (_HandlerEventSink.new = function(_handleData, _handleError, _handleDone, _sink) { - if (_sink == null) dart.nullFailed(I[74], 200, 25, "_sink"); - this[_handleData$] = _handleData; - this[_handleError$] = _handleError; - this[_handleDone$] = _handleDone; - this[_sink$] = _sink; - ; - }).prototype = _HandlerEventSink.prototype; - dart.addTypeTests(_HandlerEventSink); - _HandlerEventSink.prototype[_is__HandlerEventSink_default] = true; - dart.addTypeCaches(_HandlerEventSink); - _HandlerEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_HandlerEventSink, () => ({ - __proto__: dart.getMethods(_HandlerEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - 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)]))), - [_handleError$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [core.Object, core.StackTrace, async.EventSink$(T)]))), - [_handleDone$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.EventSink$(T)]))), - [_sink$]: dart.fieldType(dart.nullable(async.EventSink$(T))) - })); - return _HandlerEventSink; -}); -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 __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) { - __t$StreamOfS().as(stream); - if (stream == null) dart.nullFailed(I[74], 256, 28, "stream"); - return super.bind(stream); - } - } - (_StreamHandlerTransformer.new = function(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; - _StreamHandlerTransformer.__proto__.new.call(this, dart.fn(outputSink => { - 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[31]); - return _StreamHandlerTransformer; -}); -async._StreamHandlerTransformer = async._StreamHandlerTransformer$(); -dart.addTypeTests(async._StreamHandlerTransformer, _is__StreamHandlerTransformer_default); -var _bind$ = dart.privateName(async, "_bind"); -const _is__StreamBindTransformer_default = Symbol('_is__StreamBindTransformer_default'); -async._StreamBindTransformer$ = dart.generic((S, T) => { - 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 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[74], 264, 31, "_bind"); - this[_bind$] = _bind; - _StreamBindTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamBindTransformer.prototype; - dart.addTypeTests(_StreamBindTransformer); - _StreamBindTransformer.prototype[_is__StreamBindTransformer_default] = true; - dart.addTypeCaches(_StreamBindTransformer); - dart.setMethodSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getMethods(_StreamBindTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_StreamBindTransformer, I[31]); - dart.setFieldSignature(_StreamBindTransformer, () => ({ - __proto__: dart.getFields(_StreamBindTransformer.__proto__), - [_bind$]: dart.finalFieldType(dart.fnType(async.Stream$(T), [async.Stream$(S)])) - })); - return _StreamBindTransformer; -}); -async._StreamBindTransformer = async._StreamBindTransformer$(); -dart.addTypeTests(async._StreamBindTransformer, _is__StreamBindTransformer_default); -var _onListen$0 = dart.privateName(async, "_StreamSubscriptionTransformer._onListen"); -const _is__StreamSubscriptionTransformer_default = Symbol('_is__StreamSubscriptionTransformer_default'); -async._StreamSubscriptionTransformer$ = dart.generic((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]; - } - 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) { - __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[74], 286, 45, "_onListen"); - this[_onListen$0] = _onListen; - _StreamSubscriptionTransformer.__proto__.new.call(this); - ; - }).prototype = _StreamSubscriptionTransformer.prototype; - dart.addTypeTests(_StreamSubscriptionTransformer); - _StreamSubscriptionTransformer.prototype[_is__StreamSubscriptionTransformer_default] = true; - dart.addTypeCaches(_StreamSubscriptionTransformer); - dart.setMethodSignature(_StreamSubscriptionTransformer, () => ({ - __proto__: dart.getMethods(_StreamSubscriptionTransformer.__proto__), - bind: dart.fnType(async.Stream$(T), [dart.nullable(core.Object)]) - })); - 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])) - })); - return _StreamSubscriptionTransformer; -}); -async._StreamSubscriptionTransformer = async._StreamSubscriptionTransformer$(); -dart.addTypeTests(async._StreamSubscriptionTransformer, _is__StreamSubscriptionTransformer_default); -const _is__BoundSubscriptionStream_default = Symbol('_is__BoundSubscriptionStream_default'); -async._BoundSubscriptionStream$ = dart.generic((S, T) => { - class _BoundSubscriptionStream extends async.Stream$(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 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 = (t112$ = this[_stream$], t113 = (t112 = cancelOnError, t112 == null ? false : t112), this[_onListen$](t112$, t113)); - result.onData(onData); - result.onError(onError); - result.onDone(onDone); - return result; - } - } - (_BoundSubscriptionStream.new = function(_stream, _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); - ; - }).prototype = _BoundSubscriptionStream.prototype; - dart.addTypeTests(_BoundSubscriptionStream); - _BoundSubscriptionStream.prototype[_is__BoundSubscriptionStream_default] = true; - dart.addTypeCaches(_BoundSubscriptionStream); - dart.setMethodSignature(_BoundSubscriptionStream, () => ({ - __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[31]); - dart.setFieldSignature(_BoundSubscriptionStream, () => ({ - __proto__: dart.getFields(_BoundSubscriptionStream.__proto__), - [_onListen$]: dart.finalFieldType(dart.fnType(async.StreamSubscription$(T), [async.Stream$(S), core.bool])), - [_stream$]: dart.finalFieldType(async.Stream$(S)) - })); - return _BoundSubscriptionStream; -}); -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[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[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[75], 109, 35, "callback"); - async.Timer.new(core.Duration.zero, callback); - } - static _createTimer(duration, 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[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); - } -}; -(async.Timer[dart.mixinNew] = function() { -}).prototype = async.Timer.prototype; -dart.addTypeTests(async.Timer); -dart.addTypeCaches(async.Timer); -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'); -async._ZoneFunction$ = dart.generic(T => { - class _ZoneFunction extends core.Object { - get zone() { - return this[zone$]; - } - set zone(value) { - super.zone = value; - } - get function() { - return this[$function$0]; - } - 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[76], 303, 28, "zone"); - if ($function == null) dart.nullFailed(I[76], 303, 39, "function"); - this[zone$] = zone; - this[$function$0] = $function; - ; - }).prototype = _ZoneFunction.prototype; - dart.addTypeTests(_ZoneFunction); - _ZoneFunction.prototype[_is__ZoneFunction_default] = true; - dart.addTypeCaches(_ZoneFunction); - dart.setLibraryUri(_ZoneFunction, I[31]); - dart.setFieldSignature(_ZoneFunction, () => ({ - __proto__: dart.getFields(_ZoneFunction.__proto__), - zone: dart.finalFieldType(async._Zone), - function: dart.finalFieldType(T) - })); - return _ZoneFunction; -}); -async._ZoneFunction = async._ZoneFunction$(); -dart.addTypeTests(async._ZoneFunction, _is__ZoneFunction_default); -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 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; - 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: (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.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"); -var runBinary$ = dart.privateName(async, "_ZoneSpecification.runBinary"); -var registerCallback$ = dart.privateName(async, "_ZoneSpecification.registerCallback"); -var registerUnaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerUnaryCallback"); -var registerBinaryCallback$ = dart.privateName(async, "_ZoneSpecification.registerBinaryCallback"); -var errorCallback$ = dart.privateName(async, "_ZoneSpecification.errorCallback"); -var scheduleMicrotask$ = dart.privateName(async, "_ZoneSpecification.scheduleMicrotask"); -var createTimer$ = dart.privateName(async, "_ZoneSpecification.createTimer"); -var createPeriodicTimer$ = dart.privateName(async, "_ZoneSpecification.createPeriodicTimer"); -var print$ = dart.privateName(async, "_ZoneSpecification.print"); -var fork$ = dart.privateName(async, "_ZoneSpecification.fork"); -async._ZoneSpecification = class _ZoneSpecification extends core.Object { - get handleUncaughtError() { - return this[handleUncaughtError$]; - } - set handleUncaughtError(value) { - super.handleUncaughtError = value; - } - get run() { - return this[run$]; - } - set run(value) { - super.run = value; - } - get runUnary() { - return this[runUnary$]; - } - set runUnary(value) { - super.runUnary = value; - } - get runBinary() { - return this[runBinary$]; - } - set runBinary(value) { - super.runBinary = value; - } - get registerCallback() { - return this[registerCallback$]; - } - set registerCallback(value) { - super.registerCallback = value; - } - get registerUnaryCallback() { - return this[registerUnaryCallback$]; - } - set registerUnaryCallback(value) { - super.registerUnaryCallback = value; - } - get registerBinaryCallback() { - return this[registerBinaryCallback$]; - } - set registerBinaryCallback(value) { - super.registerBinaryCallback = value; - } - get errorCallback() { - return this[errorCallback$]; - } - set errorCallback(value) { - super.errorCallback = value; - } - get scheduleMicrotask() { - return this[scheduleMicrotask$]; - } - set scheduleMicrotask(value) { - super.scheduleMicrotask = value; - } - get createTimer() { - return this[createTimer$]; - } - set createTimer(value) { - super.createTimer = value; - } - get createPeriodicTimer() { - return this[createPeriodicTimer$]; - } - set createPeriodicTimer(value) { - super.createPeriodicTimer = value; - } - get print() { - return this[print$]; - } - set print(value) { - super.print = value; - } - get fork() { - return this[fork$]; - } - 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; - 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; - this[handleUncaughtError$] = handleUncaughtError; - this[run$] = run; - this[runUnary$] = runUnary; - this[runBinary$] = runBinary; - this[registerCallback$] = registerCallback; - this[registerUnaryCallback$] = registerUnaryCallback; - this[registerBinaryCallback$] = registerBinaryCallback; - this[errorCallback$] = errorCallback; - this[scheduleMicrotask$] = scheduleMicrotask; - this[createTimer$] = createTimer; - this[createPeriodicTimer$] = createPeriodicTimer; - this[print$] = print; - this[fork$] = fork; - ; -}).prototype = async._ZoneSpecification.prototype; -dart.addTypeTests(async._ZoneSpecification); -dart.addTypeCaches(async._ZoneSpecification); -async._ZoneSpecification[dart.implements] = () => [async.ZoneSpecification]; -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]))), - run: dart.finalFieldType(dart.nullable(dart.gFnType(R => [R, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - runUnary: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.gFnType(R => [dart.fnType(R, []), [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]))), - registerUnaryCallback: dart.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(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.finalFieldType(dart.nullable(dart.fnType(dart.nullable(async.AsyncError), [async.Zone, async.ZoneDelegate, async.Zone, core.Object, dart.nullable(core.StackTrace)]))), - scheduleMicrotask: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, dart.fnType(dart.void, [])]))), - createTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [])]))), - createPeriodicTimer: dart.finalFieldType(dart.nullable(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - print: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - fork: dart.finalFieldType(dart.nullable(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))) -})); -async.ZoneDelegate = class ZoneDelegate extends core.Object {}; -(async.ZoneDelegate.new = function() { - ; -}).prototype = async.ZoneDelegate.prototype; -dart.addTypeTests(async.ZoneDelegate); -dart.addTypeCaches(async.ZoneDelegate); -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[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[76], 921, 28, "previous"); - if (!(previous != null)) dart.assertFailed(null, I[76], 922, 12, "previous != null"); - async.Zone._current = previous; - } -}; -(async.Zone.__ = function() { - ; -}).prototype = async.Zone.prototype; -dart.addTypeTests(async.Zone); -dart.addTypeCaches(async.Zone); -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[45] || CT.C45; - }, - /*async.Zone._current*/get _current() { - return async._rootZone; - }, - set _current(value) { - if (value == null) dart.nullFailed(I[76], 592, 16, "_current"); - } -}, false); -var _delegationTarget$ = dart.privateName(async, "_delegationTarget"); -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"); -var _registerUnaryCallback = dart.privateName(async, "_registerUnaryCallback"); -var _registerBinaryCallback = dart.privateName(async, "_registerBinaryCallback"); -var _errorCallback = dart.privateName(async, "_errorCallback"); -var _scheduleMicrotask = dart.privateName(async, "_scheduleMicrotask"); -var _createTimer = dart.privateName(async, "_createTimer"); -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[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[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[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[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[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[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[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[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; - if (implZone == async._rootZone) return null; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, error, stackTrace); - } - scheduleMicrotask(zone, 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[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[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[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[76], 1027, 18, "zone"); - let implementation = this[_delegationTarget$][_fork]; - let implZone = implementation.zone; - let handler = implementation.function; - return handler(implZone, implZone[_parentDelegate], zone, specification, zoneValues); - } -}; -(async._ZoneDelegate.new = function(_delegationTarget) { - if (_delegationTarget == null) dart.nullFailed(I[76], 941, 22, "_delegationTarget"); - this[_delegationTarget$] = _delegationTarget; - ; -}).prototype = async._ZoneDelegate.prototype; -dart.addTypeTests(async._ZoneDelegate); -dart.addTypeCaches(async._ZoneDelegate); -async._ZoneDelegate[dart.implements] = () => [async.ZoneDelegate]; -dart.setMethodSignature(async._ZoneDelegate, () => ({ - __proto__: dart.getMethods(async._ZoneDelegate.__proto__), - handleUncaughtError: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]), - run: dart.gFnType(R => [R, [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [async.Zone, dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [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.gFnType(R => [dart.fnType(R, []), [async.Zone, dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [async.Zone, dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [async.Zone, dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [async.Zone, core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [async.Zone, dart.fnType(dart.dynamic, [])]), - createTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]), - 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[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[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() { - ; -}).prototype = async._Zone.prototype; -dart.addTypeTests(async._Zone); -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]), - [_processUncaughtError]: dart.fnType(dart.void, [async.Zone, core.Object, core.StackTrace]) -})); -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"); -var _registerCallback$ = dart.privateName(async, "_CustomZone._registerCallback"); -var _registerUnaryCallback$ = dart.privateName(async, "_CustomZone._registerUnaryCallback"); -var _registerBinaryCallback$ = dart.privateName(async, "_CustomZone._registerBinaryCallback"); -var _errorCallback$ = dart.privateName(async, "_CustomZone._errorCallback"); -var _scheduleMicrotask$ = dart.privateName(async, "_CustomZone._scheduleMicrotask"); -var _createTimer$ = dart.privateName(async, "_CustomZone._createTimer"); -var _createPeriodicTimer$ = dart.privateName(async, "_CustomZone._createPeriodicTimer"); -var _print$ = dart.privateName(async, "_CustomZone._print"); -var _fork$ = dart.privateName(async, "_CustomZone._fork"); -var _handleUncaughtError$ = dart.privateName(async, "_CustomZone._handleUncaughtError"); -var parent$ = dart.privateName(async, "_CustomZone.parent"); -var _map$2 = dart.privateName(async, "_CustomZone._map"); -var _delegateCache = dart.privateName(async, "_delegateCache"); -var _map$3 = dart.privateName(async, "_map"); -var _delegate = dart.privateName(async, "_delegate"); -async._CustomZone = class _CustomZone extends async._Zone { - get [_run]() { - 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() { - return this[parent$]; - } - set parent(value) { - super.parent = value; - } - get [_map$3]() { - return this[_map$2]; - } - set [_map$3](value) { - super[_map$3] = value; - } - get [_delegate]() { - 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[76], 1206, 24, "f"); - try { - this.run(dart.void, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1214, 32, "f"); - try { - this.runUnary(dart.void, T, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1222, 38, "f"); - try { - this.runBinary(dart.void, T1, T2, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[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[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[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])); - } - _get(key) { - let result = this[_map$3][$_get](key); - if (result != null || dart.test(this[_map$3][$containsKey](key))) return result; - if (this.parent != null) { - let value = this.parent._get(key); - if (value != null) { - this[_map$3][$_set](key, value); - } - return value; - } - 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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - let implementation = this[_fork]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, specification, zoneValues); - } - run(R, 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[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[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[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[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[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[76], 1339, 36, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - let implementation = this[_errorCallback]; - let implementationZone = implementation.zone; - if (implementationZone == async._rootZone) return null; - let parentDelegate = implementationZone[_parentDelegate]; - let handler = implementation.function; - return handler(implementationZone, parentDelegate, this, error, stackTrace); - } - scheduleMicrotask(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[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[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[76], 1370, 21, "line"); - let implementation = this[_print]; - let parentDelegate = implementation.zone[_parentDelegate]; - let handler = implementation.function; - return handler(implementation.zone, parentDelegate, this, line); - } -}; -(async._CustomZone.new = function(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"); - this[_delegateCache] = null; - this[parent$] = parent; - this[_map$2] = _map; - this[_run$] = parent[_run]; - this[_runUnary$] = parent[_runUnary]; - this[_runBinary$] = parent[_runBinary]; - this[_registerCallback$] = parent[_registerCallback]; - this[_registerUnaryCallback$] = parent[_registerUnaryCallback]; - this[_registerBinaryCallback$] = parent[_registerBinaryCallback]; - this[_errorCallback$] = parent[_errorCallback]; - this[_scheduleMicrotask$] = parent[_scheduleMicrotask]; - this[_createTimer$] = parent[_createTimer]; - this[_createPeriodicTimer$] = parent[_createPeriodicTimer]; - this[_print$] = parent[_print]; - this[_fork$] = parent[_fork]; - this[_handleUncaughtError$] = parent[_handleUncaughtError]; - async._CustomZone.__proto__.new.call(this); - let run = specification.run; - if (run != null) { - this[_run] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR()).new(this, run); - } - let runUnary = specification.runUnary; - if (runUnary != null) { - this[_runUnary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$1()).new(this, runUnary); - } - let runBinary = specification.runBinary; - if (runBinary != null) { - this[_runBinary] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToR$2()).new(this, runBinary); - } - let registerCallback = specification.registerCallback; - if (registerCallback != null) { - this[_registerCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn()).new(this, registerCallback); - } - let registerUnaryCallback = specification.registerUnaryCallback; - if (registerUnaryCallback != null) { - this[_registerUnaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$1()).new(this, registerUnaryCallback); - } - let registerBinaryCallback = specification.registerBinaryCallback; - if (registerBinaryCallback != null) { - this[_registerBinaryCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToFn$2()).new(this, registerBinaryCallback); - } - let errorCallback = specification.errorCallback; - if (errorCallback != null) { - this[_errorCallback] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToAsyncErrorN()).new(this, errorCallback); - } - let scheduleMicrotask = specification.scheduleMicrotask; - if (scheduleMicrotask != null) { - this[_scheduleMicrotask] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid()).new(this, scheduleMicrotask); - } - let createTimer = specification.createTimer; - if (createTimer != null) { - this[_createTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer()).new(this, createTimer); - } - let createPeriodicTimer = specification.createPeriodicTimer; - if (createPeriodicTimer != null) { - this[_createPeriodicTimer] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToTimer$1()).new(this, createPeriodicTimer); - } - let print = specification.print; - if (print != null) { - this[_print] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$1()).new(this, print); - } - let fork = specification.fork; - if (fork != null) { - this[_fork] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__ToZone()).new(this, fork); - } - let handleUncaughtError = specification.handleUncaughtError; - if (handleUncaughtError != null) { - this[_handleUncaughtError] = new (T$._ZoneFunctionOfZoneAndZoneDelegateAndZone__Tovoid$2()).new(this, handleUncaughtError); - } -}).prototype = async._CustomZone.prototype; -dart.addTypeTests(async._CustomZone); -dart.addTypeCaches(async._CustomZone); -dart.setMethodSignature(async._CustomZone, () => ({ - __proto__: dart.getMethods(async._CustomZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) -})); -dart.setGetterSignature(async._CustomZone, () => ({ - __proto__: dart.getGetters(async._CustomZone.__proto__), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone -})); -dart.setLibraryUri(async._CustomZone, I[31]); -dart.setFieldSignature(async._CustomZone, () => ({ - __proto__: dart.getFields(async._CustomZone.__proto__), - [_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, [])]))), - [_createPeriodicTimer]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])]))), - [_print]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String]))), - [_fork]: dart.fieldType(async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))]))), - [_handleUncaughtError]: dart.fieldType(async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace]))), - [_delegateCache]: dart.fieldType(dart.nullable(async.ZoneDelegate)), - parent: dart.finalFieldType(async._Zone), - [_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[46] || CT.C46; - } - get [_runUnary]() { - return C[48] || CT.C48; - } - get [_runBinary]() { - return C[50] || CT.C50; - } - get [_registerCallback]() { - return C[52] || CT.C52; - } - get [_registerUnaryCallback]() { - return C[54] || CT.C54; - } - get [_registerBinaryCallback]() { - return C[56] || CT.C56; - } - get [_errorCallback]() { - return C[58] || CT.C58; - } - get [_scheduleMicrotask]() { - return C[60] || CT.C60; - } - get [_createTimer]() { - return C[62] || CT.C62; - } - get [_createPeriodicTimer]() { - return C[64] || CT.C64; - } - get [_print]() { - return C[66] || CT.C66; - } - get [_fork]() { - return C[68] || CT.C68; - } - get [_handleUncaughtError]() { - return C[70] || CT.C70; - } - get parent() { - return null; - } - get [_map$3]() { - return async._RootZone._rootMap; - } - get [_delegate]() { - let t116; - t116 = async._RootZone._rootDelegate; - return t116 == null ? async._RootZone._rootDelegate = new async._ZoneDelegate.new(this) : t116; - } - get [_parentDelegate]() { - return this[_delegate]; - } - get errorZone() { - return this; - } - runGuarded(f) { - if (f == null) dart.nullFailed(I[76], 1578, 24, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(); - return; - } - async._rootRun(dart.void, null, null, this, f); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runUnaryGuarded(T, f, arg) { - if (f == null) dart.nullFailed(I[76], 1590, 32, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg); - return; - } - async._rootRunUnary(dart.void, T, null, null, this, f, arg); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - runBinaryGuarded(T1, T2, f, arg1, arg2) { - if (f == null) dart.nullFailed(I[76], 1602, 38, "f"); - try { - if (async._rootZone == async.Zone._current) { - f(arg1, arg2); - return; - } - async._rootRunBinary(dart.void, T1, T2, null, null, this, f, arg1, arg2); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this.handleUncaughtError(e, s); - } else - throw e$; - } - } - bindCallback(R, 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[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[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[76], 1627, 44, "f"); - return dart.fn(() => this.runGuarded(f), T$.VoidTovoid()); - } - bindUnaryCallbackGuarded(T, 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[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[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; - let zoneValues = opts && 'zoneValues' in opts ? opts.zoneValues : null; - return async._rootFork(null, null, this, specification, zoneValues); - } - run(R, 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[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[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[76], 1669, 41, "f"); - return f; - } - registerUnaryCallback(R, T, f) { - if (f == null) dart.nullFailed(I[76], 1671, 57, "f"); - return f; - } - registerBinaryCallback(R, T1, T2, f) { - if (f == null) dart.nullFailed(I[76], 1674, 13, "f"); - return f; - } - errorCallback(error, stackTrace) { - if (error == null) dart.nullFailed(I[76], 1677, 36, "error"); - return null; - } - scheduleMicrotask(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[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[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[76], 1691, 21, "line"); - _internal.printToConsole(line); - } -}; -(async._RootZone.new = function() { - async._RootZone.__proto__.new.call(this); - ; -}).prototype = async._RootZone.prototype; -dart.addTypeTests(async._RootZone); -dart.addTypeCaches(async._RootZone); -dart.setMethodSignature(async._RootZone, () => ({ - __proto__: dart.getMethods(async._RootZone.__proto__), - runGuarded: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - runUnaryGuarded: dart.gFnType(T => [dart.void, [dart.fnType(dart.void, [T]), T]], T => [dart.nullable(core.Object)]), - runBinaryGuarded: dart.gFnType((T1, T2) => [dart.void, [dart.fnType(dart.void, [T1, T2]), T1, T2]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - bindUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - bindBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - bindCallbackGuarded: dart.fnType(dart.fnType(dart.void, []), [dart.fnType(dart.void, [])]), - bindUnaryCallbackGuarded: dart.gFnType(T => [dart.fnType(dart.void, [T]), [dart.fnType(dart.void, [T])]], T => [dart.nullable(core.Object)]), - bindBinaryCallbackGuarded: dart.gFnType((T1, T2) => [dart.fnType(dart.void, [T1, T2]), [dart.fnType(dart.void, [T1, T2])]], (T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - handleUncaughtError: dart.fnType(dart.void, [core.Object, core.StackTrace]), - fork: dart.fnType(async.Zone, [], {specification: dart.nullable(async.ZoneSpecification), zoneValues: dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))}, {}), - run: dart.gFnType(R => [R, [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - runUnary: dart.gFnType((R, T) => [R, [dart.fnType(R, [T]), T]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - runBinary: dart.gFnType((R, T1, T2) => [R, [dart.fnType(R, [T1, T2]), T1, T2]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - registerCallback: dart.gFnType(R => [dart.fnType(R, []), [dart.fnType(R, [])]], R => [dart.nullable(core.Object)]), - registerUnaryCallback: dart.gFnType((R, T) => [dart.fnType(R, [T]), [dart.fnType(R, [T])]], (R, T) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - registerBinaryCallback: dart.gFnType((R, T1, T2) => [dart.fnType(R, [T1, T2]), [dart.fnType(R, [T1, T2])]], (R, T1, T2) => [dart.nullable(core.Object), dart.nullable(core.Object), dart.nullable(core.Object)]), - errorCallback: dart.fnType(dart.nullable(async.AsyncError), [core.Object, dart.nullable(core.StackTrace)]), - scheduleMicrotask: dart.fnType(dart.void, [dart.fnType(dart.void, [])]), - createTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [])]), - createPeriodicTimer: dart.fnType(async.Timer, [core.Duration, dart.fnType(dart.void, [async.Timer])]), - print: dart.fnType(dart.void, [core.String]) -})); -dart.setGetterSignature(async._RootZone, () => ({ - __proto__: dart.getGetters(async._RootZone.__proto__), - [_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, [])])), - [_createPeriodicTimer]: async._ZoneFunction$(dart.fnType(async.Timer, [async.Zone, async.ZoneDelegate, async.Zone, core.Duration, dart.fnType(dart.void, [async.Timer])])), - [_print]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.String])), - [_fork]: async._ZoneFunction$(dart.fnType(async.Zone, [async.Zone, async.ZoneDelegate, async.Zone, dart.nullable(async.ZoneSpecification), dart.nullable(core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)))])), - [_handleUncaughtError]: async._ZoneFunction$(dart.fnType(dart.void, [async.Zone, async.ZoneDelegate, async.Zone, core.Object, core.StackTrace])), - parent: dart.nullable(async._Zone), - [_map$3]: core.Map$(dart.nullable(core.Object), dart.nullable(core.Object)), - [_delegate]: async.ZoneDelegate, - [_parentDelegate]: async.ZoneDelegate, - errorZone: async.Zone -})); -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(); - }, - /*async._RootZone._rootDelegate*/get _rootDelegate() { - return null; - }, - set _rootDelegate(value) {} -}, false); -async.async = function _async(T, 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(onValue$35param) { - if (onValue$35param == null) dart.nullFailed(I[64], 27, 34, "onValue#param"); - onValue$35isSet = true; - 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(onError$35param) { - if (onError$35param == null) dart.nullFailed(I[64], 28, 45, "onError#param"); - onError$35isSet = true; - return onError = onError$35param; - } - function onAwait(value) { - let f = null; - if (async._Future.is(value)) { - f = value; - } else if (async.Future.is(value)) { - f = new (T$._FutureOfObjectN()).new(); - f[_chainForeignFuture](value); - } else { - f = new (T$._FutureOfObjectN()).value(value); - } - f = f[_thenAwait](T$.ObjectN(), onValue$35get(), onError$35get()); - return f; - } - 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); - }, 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())); - onError$35set(zone.registerBinaryCallback(core.Object, core.Object, T$.StackTraceN(), onError$35get())); - } - let asyncFuture = new (async._Future$(T)).new(); - let isRunningAsEvent = false; - function runBody() { - try { - iter = initGenerator()[Symbol.iterator](); - let iteratorValue = iter.next(null); - let value = iteratorValue.value; - if (iteratorValue.done) { - if (async.Future.is(value)) { - if (async._Future.is(value)) { - async._Future._chainCoreFuture(value, asyncFuture); - } else { - asyncFuture[_chainForeignFuture](value); - } - } else if (isRunningAsEvent) { - asyncFuture[_completeWithValue](value); - } else { - asyncFuture[_asyncComplete](value); - } - } else { - async._Future._chainCoreFuture(onAwait(value), asyncFuture); - } - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (isRunningAsEvent) { - async._completeWithErrorCallback(asyncFuture, e, s); - } else { - async._asyncCompleteWithErrorCallback(asyncFuture, e, s); - } - } else - throw e$; - } - } - dart.fn(runBody, T$.VoidToNull()); - if (dart.test(dart.startAsyncSynchronously)) { - runBody(); - isRunningAsEvent = true; - } else { - isRunningAsEvent = true; - async.scheduleMicrotask(runBody); - } - return asyncFuture; -}; -async.unawaited = function unawaited(future) { -}; -async['FutureExtensions|onError'] = function FutureExtensions$124onError(T, E, $this, handleError, opts) { - 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[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[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[70], 1041, 13, "#this"); - return dart.fn((E, handleError, opts) => { - 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 __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 __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[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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - result[_completeError](error, stackTrace); -}; -async._asyncCompleteWithErrorCallback = function _asyncCompleteWithErrorCallback(result, error, stackTrace) { - 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; - stackTrace = replacement.stackTrace; - } else { - stackTrace == null ? stackTrace = async.AsyncError.defaultStackTrace(error) : null; - } - if (stackTrace == null) { - dart.throw("unreachable"); - } - result[_asyncCompleteError](error, stackTrace); -}; -async._registerErrorHandler = function _registerErrorHandler(errorHandler, 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 value of the returned future's type")); -}; -async._microtaskLoop = function _microtaskLoop() { - for (let entry = async._nextCallback; entry != null; entry = async._nextCallback) { - async._lastPriorityCallback = null; - let next = entry.next; - async._nextCallback = next; - if (next == null) async._lastCallback = null; - entry.callback(); - } -}; -async._startMicrotaskLoop = function _startMicrotaskLoop() { - async._isInCallbackLoop = true; - try { - async._microtaskLoop(); - } finally { - async._lastPriorityCallback = null; - async._isInCallbackLoop = false; - if (async._nextCallback != null) { - async._AsyncRun._scheduleImmediate(C[73] || CT.C73); - } - } -}; -async._scheduleAsyncCallback = function _scheduleAsyncCallback(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[73] || CT.C73); - } - } else { - lastCallback.next = newEntry; - async._lastCallback = newEntry; - } -}; -async._schedulePriorityAsyncCallback = function _schedulePriorityAsyncCallback(callback) { - if (callback == null) dart.nullFailed(I[72], 83, 52, "callback"); - if (async._nextCallback == null) { - async._scheduleAsyncCallback(callback); - async._lastPriorityCallback = async._lastCallback; - return; - } - let entry = new async._AsyncCallbackEntry.new(callback); - let lastPriorityCallback = async._lastPriorityCallback; - if (lastPriorityCallback == null) { - entry.next = async._nextCallback; - async._nextCallback = async._lastPriorityCallback = entry; - } else { - let next = lastPriorityCallback.next; - entry.next = next; - lastPriorityCallback.next = entry; - async._lastPriorityCallback = entry; - if (next == null) { - async._lastCallback = entry; - } - } -}; -async.scheduleMicrotask = function scheduleMicrotask(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); - return; - } - let implementation = currentZone[_scheduleMicrotask]; - if (async._rootZone == implementation.zone && dart.test(async._rootZone.inSameErrorZone(currentZone))) { - async._rootScheduleMicrotask(null, null, currentZone, currentZone.registerCallback(dart.void, callback)); - return; - } - async.Zone.current.scheduleMicrotask(async.Zone.current.bindCallbackGuarded(callback)); -}; -async._runGuarded = function _runGuarded(notificationHandler) { - if (notificationHandler == null) return; - try { - notificationHandler(); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - async.Zone.current.handleUncaughtError(e, s); - } else - throw e$; - } -}; -async._nullDataHandler = function _nullDataHandler(value) { -}; -async._nullErrorHandler = function _nullErrorHandler(error, 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - let replacement = async.Zone.current.errorCallback(e, s); - if (replacement == null) { - onError(e, s); - } else { - let error = replacement.error; - let stackTrace = replacement.stackTrace; - onError(error, stackTrace); - } - } else - throw e$; - } -}; -async._cancelAndError = function _cancelAndError(subscription, future, error, 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())); - } else { - future[_completeError](error, stackTrace); - } -}; -async._cancelAndErrorWithReplacement = function _cancelAndErrorWithReplacement(subscription, future, error, 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; - stackTrace = replacement.stackTrace; - } - async._cancelAndError(subscription, future, error, stackTrace); -}; -async._cancelAndErrorClosure = function _cancelAndErrorClosure(subscription, 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[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[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())); - } else { - future[_complete](value); - } -}; -async._addErrorWithReplacement = function _addErrorWithReplacement(sink, error, 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; - stackTrace = replacement.stackTrace; - } - sink[_addError](error, stackTrace); -}; -async._rootHandleUncaughtError = function _rootHandleUncaughtError(self, parent, zone, error, 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(() => { - core.Error.throwWithStackTrace(error, stackTrace); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - }, T$.VoidTovoid())); -}; -async._rootRun = function _rootRun(R, self, parent, zone, 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")); - } - let old = async.Zone._enter(zone); - try { - return f(); - } finally { - async.Zone._leave(old); - } -}; -async._rootRunUnary = function _rootRunUnary(R, T, self, parent, zone, f, arg) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg); - } finally { - async.Zone._leave(old); - } -}; -async._rootRunBinary = function _rootRunBinary(R, T1, T2, self, parent, zone, f, arg1, arg2) { - 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")); - } - let old = async.Zone._enter(zone); - try { - return f(arg1, arg2); - } finally { - async.Zone._leave(old); - } -}; -async._rootRegisterCallback = function _rootRegisterCallback(R, self, parent, zone, 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[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[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[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[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) { - f = zone.bindCallbackGuarded(f); - } else { - f = zone.bindCallback(dart.void, f); - } - } - async._scheduleAsyncCallback(f); -}; -async._rootCreateTimer = function _rootCreateTimer(self, parent, zone, duration, 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[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[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[76], 1488, 26, "line"); - async.Zone.current.print(line); -}; -async._rootFork = function _rootFork(self, parent, zone, specification, zoneValues) { - 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[74] || CT.C74; - if (specification == null) { - specification = C[75] || CT.C75; - } else if (!async._ZoneSpecification.is(specification)) { - specification = async.ZoneSpecification.from(specification); - } - let valueMap = null; - if (zoneValues == null) { - valueMap = zone[_map$3]; - } else { - 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[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; - _internal.checkNotNullable(dart.fnType(R, []), body, "body"); - if (onError != null) { - if (!T$.ObjectAndStackTraceTovoid().is(onError)) { - if (T$.ObjectTovoid().is(onError)) { - let originalOnError = onError; - onError = dart.fn((error, 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 { - dart.throw(new core.ArgumentError.value(onError, "onError", "Must be Function(Object) or Function(Object, StackTrace)")); - } - } - return R.as(async.runZonedGuarded(R, body, onError, {zoneSpecification: zoneSpecification, zoneValues: zoneValues})); - } - return async._runZoned(R, body, zoneValues, zoneSpecification); -}; -async.runZonedGuarded = function runZonedGuarded(R, body, onError, opts) { - 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[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$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (core.identical(e, error)) { - parent.handleUncaughtError(zone, error, stackTrace); - } else { - parent.handleUncaughtError(zone, e, s); - } - } else - throw e$; - } - }, T$.ZoneAndZoneDelegateAndZone__Tovoid$2()); - if (zoneSpecification == null) { - zoneSpecification = new async._ZoneSpecification.new({handleUncaughtError: errorHandler}); - } else { - zoneSpecification = async.ZoneSpecification.from(zoneSpecification, {handleUncaughtError: errorHandler}); - } - try { - return async._runZoned(R, body, zoneValues, zoneSpecification); - } catch (e) { - let error = dart.getThrown(e); - let stackTrace = dart.stackTrace(e); - if (core.Object.is(error)) { - onError(error, stackTrace); - } else - throw e; - } - return null; -}; -async._runZoned = function _runZoned(R, body, zoneValues, specification) { - 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(value) {}, - /*async._lastCallback*/get _lastCallback() { - return null; - }, - set _lastCallback(value) {}, - /*async._lastPriorityCallback*/get _lastPriorityCallback() { - return null; - }, - set _lastPriorityCallback(value) {}, - /*async._isInCallbackLoop*/get _isInCallbackLoop() { - return false; - }, - set _isInCallbackLoop(value) { - if (value == null) dart.nullFailed(I[72], 32, 6, "_isInCallbackLoop"); - }, - /*async._rootZone*/get _rootZone() { - return C[45] || CT.C45; - } -}, false); -var _map$4 = dart.privateName(collection, "_HashSet._map"); -var _modifications$2 = dart.privateName(collection, "_HashSet._modifications"); -var _keyMap$ = dart.privateName(collection, "_keyMap"); -var _map$5 = dart.privateName(collection, "_map"); -var _modifications$3 = dart.privateName(collection, "_modifications"); -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 __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]); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - cast(R) { - return core.Set.castFrom(E, R, this); - } - followedBy(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); - } - clear() { - this.removeAll(this.toList()); - } - addAll(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[78], 60, 36, "elements"); - for (let element of elements) - this.remove(element); - } - retainAll(elements) { - if (elements == null) dart.nullFailed(I[78], 64, 36, "elements"); - let toRemove = this.toSet(); - for (let o of elements) { - toRemove.remove(o); - } - this.removeAll(toRemove); - } - removeWhere(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); - } - this.removeAll(toRemove); - } - retainWhere(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); - } - this.removeAll(toRemove); - } - containsAll(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 t136; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[78], 97, 23, "other"); - t136 = this.toSet(); - return (() => { - t136.addAll(other); - return t136; - })(); - } - intersection(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); - } - return result; - } - difference(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); - } - return result; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[78], 120, 24, "f"); - return new (_internal.EfficientLengthMappedIterable$(E, T)).new(this, f); - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - let it = this.iterator; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - return result; - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - where(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[78], 138, 37, "f"); - return new (_internal.ExpandIterable$(E, T)).new(this, f); - } - forEach(f) { - if (f == null) dart.nullFailed(I[78], 141, 21, "f"); - for (let element of this) - f(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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[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[78], 170, 23, "separator"); - let iterator = this.iterator; - if (!dart.test(iterator.moveNext())) return ""; - let buffer = new core.StringBuffer.new(); - if (separator == null || separator === "") { - do { - buffer.write(iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(iterator.current); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(iterator.current); - } - } - return buffer.toString(); - } - any(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[78], 195, 24, "n"); - return __t$TakeIterableOfE().new(this, n); - } - takeWhile(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[78], 203, 24, "n"); - return __t$SkipIterableOfE().new(this, n); - } - skipWhile(test) { - if (test == null) dart.nullFailed(I[78], 207, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this.iterator; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 231, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 239, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[78], 253, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - } - (SetMixin.new = function() { - ; - }).prototype = SetMixin.prototype; - dart.addTypeTests(SetMixin); - SetMixin.prototype[_is_SetMixin_default] = true; - dart.addTypeCaches(SetMixin); - SetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(SetMixin, () => ({ - __proto__: dart.getMethods(SetMixin.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - containsAll: dart.fnType(core.bool, [core.Iterable$(dart.nullable(core.Object))]), - union: dart.fnType(core.Set$(E), [dart.nullable(core.Object)]), - intersection: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - difference: dart.fnType(core.Set$(E), [core.Set$(dart.nullable(core.Object))]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(SetMixin, () => ({ - __proto__: dart.getGetters(SetMixin.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - single: E, - [$single]: E, - first: E, - [$first]: E, - last: E, - [$last]: E - })); - dart.setLibraryUri(SetMixin, I[25]); - dart.defineExtensionMethods(SetMixin, [ - 'cast', - 'followedBy', - 'whereType', - 'toList', - 'map', - 'toString', - 'where', - 'expand', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' - ]); - dart.defineExtensionAccessors(SetMixin, [ - 'isEmpty', - 'isNotEmpty', - 'single', - 'first', - 'last' - ]); - return SetMixin; -}); -collection.SetMixin = collection.SetMixin$(); -dart.addTypeTests(collection.SetMixin, _is_SetMixin_default); -const _is__SetBase_default = Symbol('_is__SetBase_default'); -collection._SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class _SetBase extends Object_SetMixin$36 { - cast(R) { - return core.Set.castFrom(E, R, this, {newSet: dart.bind(this, _newSimilarSet)}); - } - difference(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); - } - return result; - } - intersection(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); - } - return result; - } - toSet() { - let t136; - t136 = this[_newSet](); - return (() => { - t136.addAll(this); - return t136; - })(); - } - } - (_SetBase.new = function() { - ; - }).prototype = _SetBase.prototype; - dart.addTypeTests(_SetBase); - _SetBase.prototype[_is__SetBase_default] = true; - dart.addTypeCaches(_SetBase); - dart.setMethodSignature(_SetBase, () => ({ - __proto__: dart.getMethods(_SetBase.__proto__), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setLibraryUri(_SetBase, I[25]); - dart.defineExtensionMethods(_SetBase, ['cast', 'toSet']); - return _SetBase; -}); -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 __t$DartIteratorOfE = () => (__t$DartIteratorOfE = dart.constFn(_js_helper.DartIterator$(E)))(); - class _InternalSet extends collection._SetBase$(E) { - get length() { - return this[_map$5].size; - } - get isEmpty() { - return this[_map$5].size == 0; - } - get isNotEmpty() { - return this[_map$5].size != 0; - } - get iterator() { - return new (__t$DartIteratorOfE()).new(this[Symbol.iterator]()); - } - [Symbol.iterator]() { - let self = this; - let iterator = self[_map$5].values(); - let modifications = self[_modifications$3]; - return { - next() { - if (modifications != self[_modifications$3]) { - throw new core.ConcurrentModificationError.new(self); - } - return iterator.next(); - } - }; - } - } - (_InternalSet.new = function() { - _InternalSet.__proto__.new.call(this); - ; - }).prototype = _InternalSet.prototype; - dart.addTypeTests(_InternalSet); - _InternalSet.prototype[_is__InternalSet_default] = true; - dart.addTypeCaches(_InternalSet); - dart.setMethodSignature(_InternalSet, () => ({ - __proto__: dart.getMethods(_InternalSet.__proto__), - [Symbol.iterator]: dart.fnType(dart.dynamic, []) - })); - dart.setGetterSignature(_InternalSet, () => ({ - __proto__: dart.getGetters(_InternalSet.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(_InternalSet, I[25]); - dart.defineExtensionAccessors(_InternalSet, ['length', 'isEmpty', 'isNotEmpty', 'iterator']); - return _InternalSet; -}); -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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$2]; - } - set [_modifications$3](value) { - this[_modifications$2] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._HashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return true; - } - } - return false; - } - return this[_map$5].has(key); - } - lookup(key) { - if (key == null) return null; - if (key[$_equals] !== dart.identityEquals) { - let k = key; - 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]; - if (dart.equals(k, key)) return k; - } - } - return null; - } - return this[_map$5].has(key) ? key : null; - } - add(key) { - E.as(key); - let map = this[_map$5]; - if (key == null) { - if (dart.test(map.has(null))) return false; - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let keyMap = this[_keyMap$]; - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - k = buckets[i]; - if (dart.equals(k, key)) return false; - } - buckets.push(key); - } - } else if (dart.test(map.has(key))) { - return false; - } - map.add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - if (length !== map.size) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - remove(key) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - let k = key; - let hash = dart.hashCode(k) & 0x3fffffff; - let buckets = this[_keyMap$].get(hash); - if (buckets == null) return false; - for (let i = 0, n = buckets.length;;) { - k = buckets[i]; - if (dart.equals(k, key)) { - key = k; - if (n === 1) { - this[_keyMap$].delete(hash); - } else { - buckets.splice(i, 1); - } - break; - } - if ((i = i + 1) >= n) return false; - } - } - let map = this[_map$5]; - if (map.delete(key)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_HashSet.new = function() { - this[_map$4] = new Set(); - this[_keyMap$] = new Map(); - this[_modifications$2] = 0; - _HashSet.__proto__.new.call(this); - ; - }).prototype = _HashSet.prototype; - dart.addTypeTests(_HashSet); - _HashSet.prototype[_is__HashSet_default] = true; - dart.addTypeCaches(_HashSet); - _HashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_HashSet, () => ({ - __proto__: dart.getMethods(_HashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_HashSet, I[25]); - dart.setFieldSignature(_HashSet, () => ({ - __proto__: dart.getFields(_HashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_HashSet, ['contains']); - return _HashSet; -}); -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 __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) { - __t$IterableOfE().as(elements); - if (elements == null) dart.nullFailed(I[77], 322, 27, "elements"); - return dart.throw(collection._ImmutableSet._unsupported()); - } - clear() { - return dart.throw(collection._ImmutableSet._unsupported()); - } - remove(value) { - return dart.throw(collection._ImmutableSet._unsupported()); - } - static _unsupported() { - return new core.UnsupportedError.new("Cannot modify unmodifiable set"); - } - } - (_ImmutableSet.from = function(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) { - if (key == null) { - key = null; - } else if (key[$_equals] !== dart.identityEquals) { - key = _js_helper.putLinkedMapKey(key, this[_keyMap$]); - } - map.add(key); - } - }).prototype = _ImmutableSet.prototype; - dart.addTypeTests(_ImmutableSet); - _ImmutableSet.prototype[_is__ImmutableSet_default] = true; - dart.addTypeCaches(_ImmutableSet); - dart.setStaticMethodSignature(_ImmutableSet, () => ['_unsupported']); - dart.setLibraryUri(_ImmutableSet, I[25]); - return _ImmutableSet; -}); -collection._ImmutableSet = collection._ImmutableSet$(); -dart.addTypeTests(collection._ImmutableSet, _is__ImmutableSet_default); -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 __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]; - } - set [_map$5](value) { - super[_map$5] = value; - } - get [_modifications$3]() { - return this[_modifications$4]; - } - set [_modifications$3](value) { - this[_modifications$4] = value; - } - static ['_#new#tearOff'](E) { - return new (collection._IdentityHashSet$(E)).new(); - } - [_newSet]() { - return new (__t$_IdentityHashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._IdentityHashSet$(R)).new(); - } - contains(element) { - return this[_map$5].has(element); - } - lookup(element) { - return E.is(element) && this[_map$5].has(element) ? element : null; - } - add(element) { - E.as(element); - let map = this[_map$5]; - if (map.has(element)) return false; - map.add(element); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 & 1073741823; - } - } - remove(element) { - if (this[_map$5].delete(element)) { - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_IdentityHashSet.new = function() { - this[_map$6] = new Set(); - this[_modifications$4] = 0; - _IdentityHashSet.__proto__.new.call(this); - ; - }).prototype = _IdentityHashSet.prototype; - dart.addTypeTests(_IdentityHashSet); - _IdentityHashSet.prototype[_is__IdentityHashSet_default] = true; - dart.addTypeCaches(_IdentityHashSet); - _IdentityHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_IdentityHashSet, () => ({ - __proto__: dart.getMethods(_IdentityHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_IdentityHashSet, I[25]); - dart.setFieldSignature(_IdentityHashSet, () => ({ - __proto__: dart.getFields(_IdentityHashSet.__proto__), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_modifications$3]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(_IdentityHashSet, ['contains']); - return _IdentityHashSet; -}); -collection._IdentityHashSet = collection._IdentityHashSet$(); -dart.addTypeTests(collection._IdentityHashSet, _is__IdentityHashSet_default); -var _validKey$0 = dart.privateName(collection, "_validKey"); -var _equals$0 = dart.privateName(collection, "_equals"); -var _hashCode$0 = dart.privateName(collection, "_hashCode"); -var _modifications$5 = dart.privateName(collection, "_CustomHashSet._modifications"); -var _map$7 = dart.privateName(collection, "_CustomHashSet._map"); -const _is__CustomHashSet_default = Symbol('_is__CustomHashSet_default'); -collection._CustomHashSet$ = dart.generic(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]; - } - set [_modifications$3](value) { - this[_modifications$5] = value; - } - get [_map$5]() { - return this[_map$7]; - } - 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 (__t$_CustomHashSetOfE()).new(this[_equals$0], this[_hashCode$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return true; - } - } - } - return false; - } - lookup(key) { - let t144; - if (E.is(key)) { - 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) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return k; - } - } - } - return null; - } - add(key) { - let t144; - E.as(key); - let keyMap = this[_keyMap$]; - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let buckets = keyMap.get(hash); - if (buckets == null) { - keyMap.set(hash, [key]); - } else { - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) return false; - } - buckets.push(key); - } - this[_map$5].add(key); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - addAll(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 t144; - if (E.is(key)) { - let hash = (t144 = key, this[_hashCode$0](t144)) & 0x3fffffff; - let keyMap = this[_keyMap$]; - let buckets = keyMap.get(hash); - if (buckets == null) return false; - let equals = this[_equals$0]; - for (let i = 0, n = buckets.length; i < n; i = i + 1) { - let k = buckets[i]; - if (dart.test(equals(k, key))) { - if (n === 1) { - keyMap.delete(hash); - } else { - buckets.splice(i, 1); - } - this[_map$5].delete(k); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - return true; - } - } - } - return false; - } - clear() { - let map = this[_map$5]; - if (map.size > 0) { - map.clear(); - this[_keyMap$].clear(); - this[_modifications$3] = this[_modifications$3] + 1 & 1073741823; - } - } - } - (_CustomHashSet.new = function(_equals, _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(); - this[_equals$0] = _equals; - this[_hashCode$0] = _hashCode; - _CustomHashSet.__proto__.new.call(this); - ; - }).prototype = _CustomHashSet.prototype; - dart.addTypeTests(_CustomHashSet); - _CustomHashSet.prototype[_is__CustomHashSet_default] = true; - dart.addTypeCaches(_CustomHashSet); - _CustomHashSet[dart.implements] = () => [collection.HashSet$(E), collection.LinkedHashSet$(E)]; - dart.setMethodSignature(_CustomHashSet, () => ({ - __proto__: dart.getMethods(_CustomHashSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomHashSet, I[25]); - dart.setFieldSignature(_CustomHashSet, () => ({ - __proto__: dart.getFields(_CustomHashSet.__proto__), - [_equals$0]: dart.fieldType(dart.fnType(core.bool, [E, E])), - [_hashCode$0]: dart.fieldType(dart.fnType(core.int, [E])), - [_modifications$3]: dart.fieldType(core.int), - [_map$5]: dart.finalFieldType(dart.dynamic), - [_keyMap$]: dart.finalFieldType(dart.nullable(core.Object)) - })); - dart.defineExtensionMethods(_CustomHashSet, ['contains']); - return _CustomHashSet; -}); -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 __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 (__t$_CustomKeyHashSetOfE()).new(this[_equals$0], this[_hashCode$0], this[_validKey$0]); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return false; - return super.contains(element); - } - lookup(element) { - let t144; - if (!dart.test((t144 = element, this[_validKey$0](t144)))) return null; - return super.lookup(element); - } - remove(element) { - 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[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); - ; - }).prototype = _CustomKeyHashSet.prototype; - dart.addTypeTests(_CustomKeyHashSet); - _CustomKeyHashSet.prototype[_is__CustomKeyHashSet_default] = true; - dart.addTypeCaches(_CustomKeyHashSet); - dart.setMethodSignature(_CustomKeyHashSet, () => ({ - __proto__: dart.getMethods(_CustomKeyHashSet.__proto__), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]) - })); - 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)])) - })); - dart.defineExtensionMethods(_CustomKeyHashSet, ['contains']); - return _CustomKeyHashSet; -}); -collection._CustomKeyHashSet = collection._CustomKeyHashSet$(); -dart.addTypeTests(collection._CustomKeyHashSet, _is__CustomKeyHashSet_default); -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)); - } - get length() { - return this[_source][$length]; - } - set length(value) { - super.length = value; - } - _get(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[79], 29, 36, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableListView.prototype; - dart.addTypeTests(UnmodifiableListView); - UnmodifiableListView.prototype[_is_UnmodifiableListView_default] = true; - dart.addTypeCaches(UnmodifiableListView); - dart.setMethodSignature(UnmodifiableListView, () => ({ - __proto__: dart.getMethods(UnmodifiableListView.__proto__), - cast: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.List$(R), []], R => [dart.nullable(core.Object)]), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(UnmodifiableListView, () => ({ - __proto__: dart.getGetters(UnmodifiableListView.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(UnmodifiableListView, I[25]); - dart.setFieldSignature(UnmodifiableListView, () => ({ - __proto__: dart.getFields(UnmodifiableListView.__proto__), - [_source]: dart.finalFieldType(core.Iterable$(E)) - })); - dart.defineExtensionMethods(UnmodifiableListView, ['cast', '_get']); - dart.defineExtensionAccessors(UnmodifiableListView, ['length']); - return UnmodifiableListView; -}); -collection.UnmodifiableListView = collection.UnmodifiableListView$(); -dart.addTypeTests(collection.UnmodifiableListView, _is_UnmodifiableListView_default); -const _is_HashMap_default = Symbol('_is_HashMap_default'); -collection.HashMap$ = dart.generic((K, V) => { - class HashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t144 = equals, t144 == null ? C[79] || CT.C79 : t144), hashCode); - } - 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[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 t144; - if (other == null) dart.nullFailed(I[80], 210, 32, "other"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t144; - if (entries == null) dart.nullFailed(I[80], 275, 56, "entries"); - t144 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - HashMap.prototype[dart.isMap] = true; - dart.addTypeTests(HashMap); - HashMap.prototype[_is_HashMap_default] = true; - dart.addTypeCaches(HashMap); - HashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); -dart.addTypeTests(collection.HashMap, _is_HashMap_default); -const _is_HashSet_default = Symbol('_is_HashSet_default'); -collection.HashSet$ = dart.generic(E => { - class HashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - } else if ((C[77] || CT.C77) === hashCode && (C[78] || CT.C78) === equals) { - return new (collection._IdentityHashSet$(E)).new(); - } - 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((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[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 t144; - if (elements == null) dart.nullFailed(I[81], 189, 34, "elements"); - t144 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (HashSet[dart.mixinNew] = function() { - }).prototype = HashSet.prototype; - dart.addTypeTests(HashSet); - HashSet.prototype[_is_HashSet_default] = true; - dart.addTypeCaches(HashSet); - HashSet[dart.implements] = () => [core.Set$(E)]; - 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 __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, toElement) { - if (toElement == null) dart.nullFailed(I[41], 17, 24, "toElement"); - return _internal.MappedIterable$(E, T).new(this, toElement); - } - 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, toElements) { - if (toElements == null) dart.nullFailed(I[41], 24, 37, "toElements"); - return new (_internal.ExpandIterable$(E, T)).new(this, toElements); - } - followedBy(other) { - __t$IterableOfE().as(other); - if (other == null) dart.nullFailed(I[41], 27, 38, "other"); - let self = this; - if (__t$EfficientLengthIterableOfE().is(self)) { - return __t$FollowedByIterableOfE().firstEfficient(self, other); - } - return new (__t$FollowedByIterableOfE()).new(this, other); - } - contains(element) { - for (let e of this) { - if (dart.equals(e, element)) return true; - } - return false; - } - forEach(action) { - if (action == null) dart.nullFailed(I[41], 44, 21, "action"); - for (let element of this) - action(element); - } - reduce(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()); - } - let value = iterator.current; - while (dart.test(iterator.moveNext())) { - value = combine(value, iterator.current); - } - return value; - } - fold(T, initialValue, 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(test) { - if (test == null) dart.nullFailed(I[41], 66, 19, "test"); - for (let element of this) { - if (!dart.test(test(element))) return false; - } - return true; - } - join(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(); - if (separator == null || separator === "") { - do { - buffer.write(dart.str(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - buffer.write(dart.str(iterator.current)); - while (dart.test(iterator.moveNext())) { - buffer.write(separator); - buffer.write(dart.str(iterator.current)); - } - } - return buffer.toString(); - } - any(test) { - if (test == null) dart.nullFailed(I[41], 91, 17, "test"); - for (let element of this) { - if (dart.test(test(element))) return true; - } - return false; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[41], 98, 24, "growable"); - return __t$ListOfE().from(this, {growable: growable}); - } - toSet() { - return __t$LinkedHashSetOfE().from(this); - } - get length() { - 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())) { - count = count + 1; - } - return count; - } - get isEmpty() { - return !dart.test(this[$iterator].moveNext()); - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - take(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[41], 121, 30, "test"); - return new (__t$TakeWhileIterableOfE()).new(this, test); - } - skip(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[41], 129, 30, "test"); - return new (__t$SkipWhileIterableOfE()).new(this, test); - } - get first() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - return it.current; - } - get last() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) { - dart.throw(_internal.IterableElementError.noElement()); - } - let result = null; - do { - result = it.current; - } while (dart.test(it.moveNext())); - return result; - } - get single() { - let it = this[$iterator]; - if (!dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.noElement()); - let result = it.current; - if (dart.test(it.moveNext())) dart.throw(_internal.IterableElementError.tooMany()); - return result; - } - firstWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 161, 21, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __t$VoidToNE().as(orElse); - for (let element of this) { - if (dart.test(test(element))) return element; - } - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - lastWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 169, 20, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - singleWhere(test, opts) { - if (test == null) dart.nullFailed(I[41], 183, 22, "test"); - let orElse = opts && 'orElse' in opts ? opts.orElse : null; - __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")); - } - function result$35set(result$35param) { - result$35isSet = true; - return result = result$35param; - } - let foundMatching = false; - for (let element of this) { - if (dart.test(test(element))) { - if (foundMatching) { - dart.throw(_internal.IterableElementError.tooMany()); - } - result$35set(element); - foundMatching = true; - } - } - if (foundMatching) return result$35get(); - if (orElse != null) return orElse(); - dart.throw(_internal.IterableElementError.noElement()); - } - elementAt(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; - for (let element of this) { - if (index === elementIndex) return element; - elementIndex = elementIndex + 1; - } - dart.throw(new core.IndexError.withLength(index, elementIndex, {indexable: this, name: "index"})); - } - toString() { - return collection.IterableBase.iterableToShortString(this, "(", ")"); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (IterableMixin.new = function() { - ; - }).prototype = IterableMixin.prototype; - IterableMixin.prototype[dart.isIterable] = true; - dart.addTypeTests(IterableMixin); - IterableMixin.prototype[_is_IterableMixin_default] = true; - dart.addTypeCaches(IterableMixin); - IterableMixin[dart.implements] = () => [core.Iterable$(E)]; - dart.setMethodSignature(IterableMixin, () => ({ - __proto__: dart.getMethods(IterableMixin.__proto__), - cast: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Iterable$(R), []], R => [dart.nullable(core.Object)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [E])]], T => [dart.nullable(core.Object)]), - where: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$where]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - whereType: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - [$whereType]: dart.gFnType(T => [core.Iterable$(T), []], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [E])]], T => [dart.nullable(core.Object)]), - followedBy: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - [$followedBy]: dart.fnType(core.Iterable$(E), [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [E])]), - reduce: dart.fnType(E, [dart.nullable(core.Object)]), - [$reduce]: dart.fnType(E, [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, E])]], T => [dart.nullable(core.Object)]), - every: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$every]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - join: dart.fnType(core.String, [], [core.String]), - [$join]: dart.fnType(core.String, [], [core.String]), - any: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - [$any]: dart.fnType(core.bool, [dart.fnType(core.bool, [E])]), - toList: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - [$toList]: dart.fnType(core.List$(E), [], {growable: core.bool}, {}), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []), - take: dart.fnType(core.Iterable$(E), [core.int]), - [$take]: dart.fnType(core.Iterable$(E), [core.int]), - takeWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$takeWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - skip: dart.fnType(core.Iterable$(E), [core.int]), - [$skip]: dart.fnType(core.Iterable$(E), [core.int]), - skipWhile: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - [$skipWhile]: dart.fnType(core.Iterable$(E), [dart.fnType(core.bool, [E])]), - firstWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$firstWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - lastWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$lastWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - singleWhere: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - [$singleWhere]: dart.fnType(E, [dart.fnType(core.bool, [E])], {orElse: dart.nullable(core.Object)}, {}), - elementAt: dart.fnType(E, [core.int]), - [$elementAt]: dart.fnType(E, [core.int]) - })); - dart.setGetterSignature(IterableMixin, () => ({ - __proto__: dart.getGetters(IterableMixin.__proto__), - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - first: E, - [$first]: E, - last: E, - [$last]: E, - single: E, - [$single]: E - })); - dart.setLibraryUri(IterableMixin, I[25]); - dart.defineExtensionMethods(IterableMixin, [ - 'cast', - 'map', - 'where', - 'whereType', - 'expand', - 'followedBy', - 'contains', - 'forEach', - 'reduce', - 'fold', - 'every', - 'join', - 'any', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt', - 'toString' - ]); - dart.defineExtensionAccessors(IterableMixin, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return IterableMixin; -}); -collection.IterableMixin = collection.IterableMixin$(); -dart.addTypeTests(collection.IterableMixin, _is_IterableMixin_default); -var _state$ = dart.privateName(collection, "_state"); -var _iterator$0 = dart.privateName(collection, "_iterator"); -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[82], 30, 12, "_state == _HAS_NEXT_AND_NEXT_IN_CURRENT"); - let result = this[_iterator$0].current; - this[_move](); - return result; - } - [_move]() { - if (dart.test(this[_iterator$0].moveNext())) { - this[_state$] = 0; - } else { - this[_state$] = 1; - } - } - } - (HasNextIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[82], 19, 24, "_iterator"); - this[_state$] = 2; - this[_iterator$0] = _iterator; - ; - }).prototype = HasNextIterator.prototype; - dart.addTypeTests(HasNextIterator); - HasNextIterator.prototype[_is_HasNextIterator_default] = true; - dart.addTypeCaches(HasNextIterator); - dart.setMethodSignature(HasNextIterator, () => ({ - __proto__: dart.getMethods(HasNextIterator.__proto__), - next: dart.fnType(E, []), - [_move]: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(HasNextIterator, () => ({ - __proto__: dart.getGetters(HasNextIterator.__proto__), - hasNext: core.bool - })); - 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$(); -dart.defineLazy(collection.HasNextIterator, { - /*collection.HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT*/get _HAS_NEXT_AND_NEXT_IN_CURRENT() { - return 0; - }, - /*collection.HasNextIterator._NO_NEXT*/get _NO_NEXT() { - return 1; - }, - /*collection.HasNextIterator._NOT_MOVED_YET*/get _NOT_MOVED_YET() { - return 2; - } -}, false); -dart.addTypeTests(collection.HasNextIterator, _is_HasNextIterator_default); -const _is_LinkedHashMap_default = Symbol('_is_LinkedHashMap_default'); -collection.LinkedHashMap$ = dart.generic((K, V) => { - class LinkedHashMap extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(K) === dart.wrapType(core.String) || dart.wrapType(K) === dart.wrapType(core.int)) { - return new (_js_helper.IdentityMap$(K, V)).new(); - } - return new (_js_helper.LinkedMap$(K, V)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (other == null) dart.nullFailed(I[83], 199, 38, "other"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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[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[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 t152; - if (entries == null) dart.nullFailed(I[83], 264, 62, "entries"); - t152 = new (_js_helper.LinkedMap$(K, V)).new(); - return (() => { - 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; - LinkedHashMap.prototype[dart.isMap] = true; - dart.addTypeTests(LinkedHashMap); - LinkedHashMap.prototype[_is_LinkedHashMap_default] = true; - dart.addTypeCaches(LinkedHashMap); - LinkedHashMap[dart.implements] = () => [core.Map$(K, V)]; - 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$(); -dart.addTypeTests(collection.LinkedHashMap, _is_LinkedHashMap_default); -const _is_LinkedHashSet_default = Symbol('_is_LinkedHashSet_default'); -collection.LinkedHashSet$ = dart.generic(E => { - class LinkedHashSet extends core.Object { - static new(opts) { - 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; - if (isValidKey == null) { - if (hashCode == null) { - if (equals == null) { - if (dart.wrapType(E) === dart.wrapType(core.String) || dart.wrapType(E) === dart.wrapType(core.int)) { - return new (collection._IdentityHashSet$(E)).new(); - } - return new (collection._HashSet$(E)).new(); - } - 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((t152 = equals, t152 == null ? C[79] || CT.C79 : t152), hashCode); - } - 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[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 t152; - if (elements == null) dart.nullFailed(I[84], 191, 40, "elements"); - t152 = new (collection._HashSet$(E)).new(); - return (() => { - 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]); - } - } - (LinkedHashSet[dart.mixinNew] = function() { - }).prototype = LinkedHashSet.prototype; - dart.addTypeTests(LinkedHashSet); - LinkedHashSet.prototype[_is_LinkedHashSet_default] = true; - dart.addTypeCaches(LinkedHashSet); - LinkedHashSet[dart.implements] = () => [core.Set$(E)]; - dart.setStaticMethodSignature(LinkedHashSet, () => ['new', 'identity', 'from', 'of']); - dart.setLibraryUri(LinkedHashSet, I[25]); - dart.setStaticFieldSignature(LinkedHashSet, () => ['_redirecting#']); - return LinkedHashSet; -}); -collection.LinkedHashSet = collection.LinkedHashSet$(); -dart.addTypeTests(collection.LinkedHashSet, _is_LinkedHashSet_default); -var _modificationCount = dart.privateName(collection, "_modificationCount"); -var _length$0 = dart.privateName(collection, "_length"); -var _first = dart.privateName(collection, "_first"); -var _insertBefore = dart.privateName(collection, "_insertBefore"); -var _list$0 = dart.privateName(collection, "_list"); -var _unlink = dart.privateName(collection, "_unlink"); -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 __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[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[85], 96, 14, "entry"); - this[_insertBefore](this[_first], entry, {updateFirst: false}); - } - addAll(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[85], 111, 17, "entry"); - if (!dart.equals(entry[_list$0], this)) return false; - this[_unlink](entry); - return true; - } - contains(entry) { - return T$0.LinkedListEntryOfLinkedListEntry().is(entry) && this === entry.list; - } - get iterator() { - return new (__t$_LinkedListIteratorOfE()).new(this); - } - get length() { - return this[_length$0]; - } - clear() { - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - if (dart.test(this.isEmpty)) return; - let next = dart.nullCheck(this[_first]); - do { - let entry = next; - next = dart.nullCheck(entry[_next$2]); - entry[_next$2] = entry[_previous$2] = entry[_list$0] = null; - } while (next !== this[_first]); - this[_first] = null; - this[_length$0] = 0; - } - get first() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(this[_first]); - } - get last() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - return dart.nullCheck(dart.nullCheck(this[_first])[_previous$2]); - } - get single() { - if (dart.test(this.isEmpty)) { - dart.throw(new core.StateError.new("No such element")); - } - if (dart.notNull(this[_length$0]) > 1) { - dart.throw(new core.StateError.new("Too many elements")); - } - return dart.nullCheck(this[_first]); - } - forEach(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]); - do { - action(current); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - current = dart.nullCheck(current[_next$2]); - } while (current !== this[_first]); - } - get isEmpty() { - return this[_length$0] === 0; - } - [_insertBefore](entry, newEntry, opts) { - __t$EN().as(entry); - E.as(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[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[85], 199, 14, "entry == null"); - newEntry[_previous$2] = newEntry[_next$2] = newEntry; - this[_first] = newEntry; - this[_length$0] = dart.notNull(this[_length$0]) + 1; - return; - } - let predecessor = dart.nullCheck(dart.nullCheck(entry)[_previous$2]); - let successor = entry; - newEntry[_previous$2] = predecessor; - newEntry[_next$2] = successor; - predecessor[_next$2] = newEntry; - successor[_previous$2] = newEntry; - if (dart.test(updateFirst) && entry == this[_first]) { - this[_first] = newEntry; - } - this[_length$0] = dart.notNull(this[_length$0]) + 1; - } - [_unlink](entry) { - E.as(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]; - this[_length$0] = dart.notNull(this[_length$0]) - 1; - entry[_list$0] = entry[_next$2] = entry[_previous$2] = null; - if (dart.test(this.isEmpty)) { - this[_first] = null; - } else if (entry == this[_first]) { - this[_first] = next; - } - } - } - (LinkedList.new = function() { - this[_modificationCount] = 0; - this[_length$0] = 0; - this[_first] = null; - LinkedList.__proto__.new.call(this); - ; - }).prototype = LinkedList.prototype; - dart.addTypeTests(LinkedList); - LinkedList.prototype[_is_LinkedList_default$] = true; - dart.addTypeCaches(LinkedList); - dart.setMethodSignature(LinkedList, () => ({ - __proto__: dart.getMethods(LinkedList.__proto__), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [_insertBefore]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)], {updateFirst: core.bool}, {}), - [_unlink]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedList, () => ({ - __proto__: dart.getGetters(LinkedList.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(LinkedList, I[25]); - dart.setFieldSignature(LinkedList, () => ({ - __proto__: dart.getFields(LinkedList.__proto__), - [_modificationCount]: dart.fieldType(core.int), - [_length$0]: dart.fieldType(core.int), - [_first]: dart.fieldType(dart.nullable(E)) - })); - dart.defineExtensionMethods(LinkedList, ['contains', 'forEach']); - dart.defineExtensionAccessors(LinkedList, [ - 'iterator', - 'length', - 'first', - 'last', - 'single', - 'isEmpty' - ]); - return LinkedList; -}); -collection.LinkedList = collection.LinkedList$(); -dart.addTypeTests(collection.LinkedList, _is_LinkedList_default$); -var _current$1 = dart.privateName(collection, "_current"); -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); - } - moveNext() { - if (this[_modificationCount] != this[_list$0][_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (dart.test(this[_list$0].isEmpty) || dart.test(this[_visitedFirst]) && this[_next$2] == this[_list$0].first) { - this[_current$1] = null; - return false; - } - this[_visitedFirst] = true; - this[_current$1] = this[_next$2]; - this[_next$2] = dart.nullCheck(this[_next$2])[_next$2]; - return true; - } - } - (_LinkedListIterator.new = function(list) { - if (list == null) dart.nullFailed(I[85], 238, 37, "list"); - this[_current$1] = null; - this[_list$0] = list; - this[_modificationCount] = list[_modificationCount]; - this[_next$2] = list[_first]; - this[_visitedFirst] = false; - ; - }).prototype = _LinkedListIterator.prototype; - dart.addTypeTests(_LinkedListIterator); - _LinkedListIterator.prototype[_is__LinkedListIterator_default$] = true; - dart.addTypeCaches(_LinkedListIterator); - _LinkedListIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_LinkedListIterator, () => ({ - __proto__: dart.getMethods(_LinkedListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_LinkedListIterator, () => ({ - __proto__: dart.getGetters(_LinkedListIterator.__proto__), - current: E - })); - dart.setLibraryUri(_LinkedListIterator, I[25]); - dart.setFieldSignature(_LinkedListIterator, () => ({ - __proto__: dart.getFields(_LinkedListIterator.__proto__), - [_list$0]: dart.finalFieldType(collection.LinkedList$(E)), - [_modificationCount]: dart.finalFieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_visitedFirst]: dart.fieldType(core.bool) - })); - return _LinkedListIterator; -}); -collection._LinkedListIterator = collection._LinkedListIterator$(); -dart.addTypeTests(collection._LinkedListIterator, _is__LinkedListIterator_default$); -var _list$1 = dart.privateName(collection, "LinkedListEntry._list"); -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 __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] = __t$LinkedListNOfE().as(value); - } - get [_next$2]() { - return this[_next$3]; - } - set [_next$2](value) { - this[_next$3] = __t$EN().as(value); - } - get [_previous$2]() { - return this[_previous$3]; - } - set [_previous$2](value) { - this[_previous$3] = __t$EN().as(value); - } - get list() { - return this[_list$0]; - } - unlink() { - dart.nullCheck(this[_list$0])[_unlink](E.as(this)); - } - get next() { - if (this[_list$0] == null || dart.nullCheck(this[_list$0]).first == this[_next$2]) return null; - return this[_next$2]; - } - get previous() { - if (this[_list$0] == null || this === dart.nullCheck(this[_list$0]).first) return null; - return this[_previous$2]; - } - insertAfter(entry) { - E.as(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[85], 320, 23, "entry"); - dart.nullCheck(this[_list$0])[_insertBefore](E.as(this), entry, {updateFirst: true}); - } - } - (LinkedListEntry.new = function() { - this[_list$1] = null; - this[_next$3] = null; - this[_previous$3] = null; - ; - }).prototype = LinkedListEntry.prototype; - dart.addTypeTests(LinkedListEntry); - LinkedListEntry.prototype[_is_LinkedListEntry_default$] = true; - dart.addTypeCaches(LinkedListEntry); - dart.setMethodSignature(LinkedListEntry, () => ({ - __proto__: dart.getMethods(LinkedListEntry.__proto__), - unlink: dart.fnType(dart.void, []), - insertAfter: dart.fnType(dart.void, [dart.nullable(core.Object)]), - insertBefore: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(LinkedListEntry, () => ({ - __proto__: dart.getGetters(LinkedListEntry.__proto__), - list: dart.nullable(collection.LinkedList$(E)), - next: dart.nullable(E), - previous: dart.nullable(E) - })); - dart.setLibraryUri(LinkedListEntry, I[25]); - dart.setFieldSignature(LinkedListEntry, () => ({ - __proto__: dart.getFields(LinkedListEntry.__proto__), - [_list$0]: dart.fieldType(dart.nullable(collection.LinkedList$(E))), - [_next$2]: dart.fieldType(dart.nullable(E)), - [_previous$2]: dart.fieldType(dart.nullable(E)) - })); - return LinkedListEntry; -}); -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 __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]; - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get first() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$first])); - } - get single() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$single])); - } - get last() { - return V.as(this[_map$5][$_get](this[_map$5][$keys][$last])); - } - get iterator() { - return new (__t$_MapBaseValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_MapBaseValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[37], 227, 30, "_map"); - this[_map$5] = _map; - _MapBaseValueIterable.__proto__.new.call(this); - ; - }).prototype = _MapBaseValueIterable.prototype; - dart.addTypeTests(_MapBaseValueIterable); - _MapBaseValueIterable.prototype[_is__MapBaseValueIterable_default] = true; - dart.addTypeCaches(_MapBaseValueIterable); - dart.setGetterSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_MapBaseValueIterable, I[25]); - dart.setFieldSignature(_MapBaseValueIterable, () => ({ - __proto__: dart.getFields(_MapBaseValueIterable.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionAccessors(_MapBaseValueIterable, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'single', - 'last', - 'iterator' - ]); - return _MapBaseValueIterable; -}); -collection._MapBaseValueIterable = collection._MapBaseValueIterable$(); -dart.addTypeTests(collection._MapBaseValueIterable, _is__MapBaseValueIterable_default); -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); - return true; - } - this[_current$1] = null; - return false; - } - get current() { - return V.as(this[_current$1]); - } - } - (_MapBaseValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[37], 248, 35, "map"); - this[_current$1] = null; - this[_map$5] = map; - this[_keys] = map[$keys][$iterator]; - ; - }).prototype = _MapBaseValueIterator.prototype; - dart.addTypeTests(_MapBaseValueIterator); - _MapBaseValueIterator.prototype[_is__MapBaseValueIterator_default] = true; - dart.addTypeCaches(_MapBaseValueIterator); - _MapBaseValueIterator[dart.implements] = () => [core.Iterator$(V)]; - dart.setMethodSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getMethods(_MapBaseValueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getGetters(_MapBaseValueIterator.__proto__), - current: V - })); - dart.setLibraryUri(_MapBaseValueIterator, I[25]); - dart.setFieldSignature(_MapBaseValueIterator, () => ({ - __proto__: dart.getFields(_MapBaseValueIterator.__proto__), - [_keys]: dart.finalFieldType(core.Iterator$(K)), - [_map$5]: dart.finalFieldType(core.Map$(K, V)), - [_current$1]: dart.fieldType(dart.nullable(V)) - })); - return _MapBaseValueIterator; -}); -collection._MapBaseValueIterator = collection._MapBaseValueIterator$(); -dart.addTypeTests(collection._MapBaseValueIterator, _is__MapBaseValueIterator_default); -var _map$8 = dart.privateName(collection, "MapView._map"); -const _is_MapView_default = Symbol('_is_MapView_default'); -collection.MapView$ = dart.generic((K, V) => { - 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]; - } - 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); - } - _get(key) { - return this[_map$5][$_get](key); - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - this[_map$5][$_set](key, value); - return value$; - } - addAll(other) { - __t$MapOfK$V().as(other); - if (other == null) dart.nullFailed(I[37], 330, 25, "other"); - this[_map$5][$addAll](other); - } - clear() { - this[_map$5][$clear](); - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __t$VoidToV().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[37], 338, 26, "ifAbsent"); - return this[_map$5][$putIfAbsent](key, ifAbsent); - } - containsKey(key) { - return this[_map$5][$containsKey](key); - } - containsValue(value) { - return this[_map$5][$containsValue](value); - } - forEach(action) { - if (action == null) dart.nullFailed(I[37], 341, 21, "action"); - this[_map$5][$forEach](action); - } - get isEmpty() { - return this[_map$5][$isEmpty]; - } - get isNotEmpty() { - return this[_map$5][$isNotEmpty]; - } - get length() { - return this[_map$5][$length]; - } - get keys() { - return this[_map$5][$keys]; - } - remove(key) { - return this[_map$5][$remove](key); - } - toString() { - return dart.toString(this[_map$5]); - } - get values() { - return this[_map$5][$values]; - } - get entries() { - return this[_map$5][$entries]; - } - addEntries(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[37], 359, 44, "transform"); - return this[_map$5][$map](K2, V2, transform); - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[37], 362, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - return this[_map$5][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(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[37], 369, 25, "test"); - this[_map$5][$removeWhere](test); - } - } - (MapView.new = function(map) { - if (map == null) dart.nullFailed(I[37], 322, 27, "map"); - this[_map$8] = map; - ; - }).prototype = MapView.prototype; - MapView.prototype[dart.isMap] = true; - dart.addTypeTests(MapView); - MapView.prototype[_is_MapView_default] = true; - dart.addTypeCaches(MapView); - MapView[dart.implements] = () => [core.Map$(K, V)]; - dart.setMethodSignature(MapView, () => ({ - __proto__: dart.getMethods(MapView.__proto__), - 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)]), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - putIfAbsent: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [K, V])]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [K, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(V, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [K, V])]) - })); - dart.setGetterSignature(MapView, () => ({ - __proto__: dart.getGetters(MapView.__proto__), - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool, - length: core.int, - [$length]: core.int, - keys: core.Iterable$(K), - [$keys]: core.Iterable$(K), - values: core.Iterable$(V), - [$values]: core.Iterable$(V), - entries: core.Iterable$(core.MapEntry$(K, V)), - [$entries]: core.Iterable$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(MapView, I[25]); - dart.setFieldSignature(MapView, () => ({ - __proto__: dart.getFields(MapView.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(K, V)) - })); - dart.defineExtensionMethods(MapView, [ - 'cast', - '_get', - '_set', - 'addAll', - 'clear', - 'putIfAbsent', - 'containsKey', - 'containsValue', - 'forEach', - 'remove', - 'toString', - 'addEntries', - 'map', - 'update', - 'updateAll', - 'removeWhere' - ]); - dart.defineExtensionAccessors(MapView, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return MapView; -}); -collection.MapView = collection.MapView$(); -dart.addTypeTests(collection.MapView, _is_MapView_default); -const _is_UnmodifiableMapView_default = Symbol('_is_UnmodifiableMapView_default'); -collection.UnmodifiableMapView$ = dart.generic((K, V) => { - const MapView__UnmodifiableMapMixin$36 = class MapView__UnmodifiableMapMixin extends collection.MapView$(K, V) {}; - (MapView__UnmodifiableMapMixin$36.new = function(map) { - MapView__UnmodifiableMapMixin$36.__proto__.new.call(this, map); - }).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[37], 392, 33, "map"); - UnmodifiableMapView.__proto__.new.call(this, map); - ; - }).prototype = UnmodifiableMapView.prototype; - dart.addTypeTests(UnmodifiableMapView); - UnmodifiableMapView.prototype[_is_UnmodifiableMapView_default] = true; - dart.addTypeCaches(UnmodifiableMapView); - dart.setMethodSignature(UnmodifiableMapView, () => ({ - __proto__: dart.getMethods(UnmodifiableMapView.__proto__), - 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[25]); - dart.defineExtensionMethods(UnmodifiableMapView, ['cast']); - return UnmodifiableMapView; -}); -collection.UnmodifiableMapView = collection.UnmodifiableMapView$(); -dart.addTypeTests(collection.UnmodifiableMapView, _is_UnmodifiableMapView_default); -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[86], 76, 43, "source"); - return new (_internal.CastQueue$(S, T)).new(source); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (Queue[dart.mixinNew] = function() { - }).prototype = Queue.prototype; - dart.addTypeTests(Queue); - Queue.prototype[_is_Queue_default] = true; - dart.addTypeCaches(Queue); - Queue[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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$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"); -const _is__DoubleLinkedQueueEntry_default = Symbol('_is__DoubleLinkedQueueEntry_default'); -collection._DoubleLinkedQueueEntry$ = dart.generic(E => { - 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; - } - [_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]); - } - [_prepend](element, queue) { - E.as(element); - __t$DoubleLinkedQueueNOfE().as(queue); - new (__t$_DoubleLinkedQueueElementOfE()).new(element, queue)[_link$](this[_previousLink$1], this); - } - } - (_DoubleLinkedQueueEntry.new = function() { - this[_previousLink$0] = null; - this[_nextLink$0] = null; - ; - }).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(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.setLibraryUri(_DoubleLinkedQueueEntry, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueEntry, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueEntry.__proto__), - [_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 t152; - E.as(e); - this[_append](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - prepend(e) { - let t152; - E.as(e); - this[_prepend](e, this[_queue$0]); - t152 = this[_queue$0]; - t152 == null ? null : t152[_elementCount] = dart.notNull(t152[_elementCount]) + 1; - } - [_remove]() { - this[_queue$0] = null; - this[_unlink](); - return this.element; - } - remove() { - 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) { - 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, []), - 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) - })); - return _DoubleLinkedQueueElement; -}); -collection._DoubleLinkedQueueElement = collection._DoubleLinkedQueueElement$(); -dart.addTypeTests(collection._DoubleLinkedQueueElement, _is__DoubleLinkedQueueElement_default); -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() { - dart.throw(_internal.IterableElementError.noElement()); - } - } - (_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(core.Null, []), - [_remove]: dart.fnType(E, []) - })); - 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 _sentinel = dart.privateName(collection, "_sentinel"); -const _is_DoubleLinkedQueue_default = Symbol('_is_DoubleLinkedQueue_default'); -collection.DoubleLinkedQueue$ = dart.generic(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) { - static ['_#new#tearOff'](E) { - return new (collection.DoubleLinkedQueue$(E)).new(); - } - static from(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 t152; - if (elements == null) dart.nullFailed(I[86], 298, 44, "elements"); - t152 = new (collection.DoubleLinkedQueue$(E)).new(); - return (() => { - 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); - } - get length() { - return this[_elementCount]; - } - addLast(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addFirst(value) { - E.as(value); - this[_sentinel][_append](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - add(value) { - E.as(value); - this[_sentinel][_prepend](value, this); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - addAll(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); - this[_elementCount] = dart.notNull(this[_elementCount]) + 1; - } - } - removeLast() { - let result = dart.nullCheck(this[_sentinel][_previousLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - removeFirst() { - let result = dart.nullCheck(this[_sentinel][_nextLink$1])[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return result; - } - remove(o) { - 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) { - entry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - return true; - } - entry = dart.nullCheck(entry[_nextLink$1]); - } - } - [_filter](test, removeMatching) { - 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$1]); - if (removeMatching == matches) { - elementEntry[_remove](); - this[_elementCount] = dart.notNull(this[_elementCount]) - 1; - } - entry = next; - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 379, 25, "test"); - this[_filter](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 383, 25, "test"); - this[_filter](test, false); - } - get first() { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - get last() { - return dart.nullCheck(this[_sentinel][_previousLink$1]).element; - } - get single() { - if (this[_sentinel][_nextLink$1] == this[_sentinel][_previousLink$1]) { - return dart.nullCheck(this[_sentinel][_nextLink$1]).element; - } - dart.throw(_internal.IterableElementError.tooMany()); - } - firstEntry() { - return dart.nullCheck(this[_sentinel][_nextLink$1])[_asNonSentinelEntry](); - } - lastEntry() { - return dart.nullCheck(this[_sentinel][_previousLink$1])[_asNonSentinelEntry](); - } - get isEmpty() { - return this[_sentinel][_nextLink$1] == this[_sentinel]; - } - clear() { - 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[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)); - } - cursor = dart.nullCheck(cursor[_nextLink$1]); - action(element); - if (this === element[_queue$0]) { - cursor = dart.nullCheck(element[_nextLink$1]); - } - } - } - get iterator() { - return new (__t$_DoubleLinkedQueueIteratorOfE()).new(this); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (DoubleLinkedQueue.new = function() { - this[_sentinel] = new (__t$_DoubleLinkedQueueSentinelOfE()).new(); - this[_elementCount] = 0; - DoubleLinkedQueue.__proto__.new.call(this); - ; - }).prototype = DoubleLinkedQueue.prototype; - dart.addTypeTests(DoubleLinkedQueue); - DoubleLinkedQueue.prototype[_is_DoubleLinkedQueue_default] = true; - dart.addTypeCaches(DoubleLinkedQueue); - DoubleLinkedQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getMethods(DoubleLinkedQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeLast: dart.fnType(E, []), - removeFirst: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_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(_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, [_internal.DoubleLinkedQueueEntry$(E)])]) - })); - dart.setStaticMethodSignature(DoubleLinkedQueue, () => ['from', 'of']); - dart.setGetterSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getGetters(DoubleLinkedQueue.__proto__), - iterator: collection._DoubleLinkedQueueIterator$(E), - [$iterator]: collection._DoubleLinkedQueueIterator$(E) - })); - dart.setLibraryUri(DoubleLinkedQueue, I[25]); - dart.setFieldSignature(DoubleLinkedQueue, () => ({ - __proto__: dart.getFields(DoubleLinkedQueue.__proto__), - [_sentinel]: dart.finalFieldType(collection._DoubleLinkedQueueSentinel$(E)), - [_elementCount]: dart.fieldType(core.int) - })); - dart.defineExtensionMethods(DoubleLinkedQueue, ['cast', 'toString']); - dart.defineExtensionAccessors(DoubleLinkedQueue, [ - 'length', - 'first', - 'last', - 'single', - 'isEmpty', - 'iterator' - ]); - return DoubleLinkedQueue; -}); -collection.DoubleLinkedQueue = collection.DoubleLinkedQueue$(); -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 => { - 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() { - let t152; - let nextElement = (t152 = this[_nextEntry], t152 == null ? null : t152[_asNonSentinelEntry]()); - if (nextElement == null) { - this[_current$1] = null; - this[_nextEntry] = null; - this[_queue$0] = null; - return false; - } - if (this[_queue$0] != nextElement[_queue$0]) { - dart.throw(new core.ConcurrentModificationError.new(this[_queue$0])); - } - this[_current$1] = nextElement.element; - this[_nextEntry] = nextElement[_nextLink$1]; - return true; - } - get current() { - return E.as(this[_current$1]); - } - } - (_DoubleLinkedQueueIterator.new = function(_queue) { - if (_queue == null) dart.nullFailed(I[86], 499, 56, "_queue"); - this[_current$1] = null; - this[_queue$0] = _queue; - this[_nextEntry] = _queue[_sentinel][_nextLink$1]; - ; - }).prototype = _DoubleLinkedQueueIterator.prototype; - dart.addTypeTests(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator.prototype[_is__DoubleLinkedQueueIterator_default] = true; - dart.addTypeCaches(_DoubleLinkedQueueIterator); - _DoubleLinkedQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getMethods(_DoubleLinkedQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getGetters(_DoubleLinkedQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_DoubleLinkedQueueIterator, I[25]); - dart.setFieldSignature(_DoubleLinkedQueueIterator, () => ({ - __proto__: dart.getFields(_DoubleLinkedQueueIterator.__proto__), - [_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; -}); -collection._DoubleLinkedQueueIterator = collection._DoubleLinkedQueueIterator$(); -dart.addTypeTests(collection._DoubleLinkedQueueIterator, _is__DoubleLinkedQueueIterator_default); -var _head = dart.privateName(collection, "_head"); -var _tail = dart.privateName(collection, "_tail"); -var _table = dart.privateName(collection, "_table"); -var _checkModification = dart.privateName(collection, "_checkModification"); -var _add$ = dart.privateName(collection, "_add"); -var _preGrow = dart.privateName(collection, "_preGrow"); -var _filterWhere = dart.privateName(collection, "_filterWhere"); -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 __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[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[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[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))); - } - queue[_tail] = length; - return queue; - } else { - let capacity = 8; - if (_internal.EfficientLengthIterable.is(elements)) { - capacity = elements[$length]; - } - let result = new (collection.ListQueue$(E)).new(capacity); - for (let element of elements) { - result.addLast(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[86], 664, 36, "elements"); - t152 = new (collection.ListQueue$(E)).new(); - return (() => { - t152.addAll(elements); - return t152; - })(); - } - cast(R) { - return collection.Queue.castFrom(E, R, this); - } - get iterator() { - return new (__t$_ListQueueIteratorOfE()).new(this); - } - forEach(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))); - this[_checkModification](modificationCount); - } - } - get isEmpty() { - return this[_head] == this[_tail]; - } - get length() { - return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - get first() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get](this[_head])); - } - get last() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - return E.as(this[_table][$_get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0)); - } - get single() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this.length) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return E.as(this[_table][$_get](this[_head])); - } - elementAt(index) { - 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[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 __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))); - } - return list; - } - add(value) { - E.as(value); - this[_add$](value); - } - addAll(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; - if (dart.notNull(length) + dart.notNull(addCount) >= dart.notNull(this[_table][$length])) { - this[_preGrow](dart.notNull(length) + dart.notNull(addCount)); - this[_table][$setRange](length, dart.notNull(length) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let endSpace = dart.notNull(this[_table][$length]) - dart.notNull(this[_tail]); - if (dart.notNull(addCount) < endSpace) { - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + dart.notNull(addCount), list, 0); - this[_tail] = dart.notNull(this[_tail]) + dart.notNull(addCount); - } else { - let preSpace = dart.notNull(addCount) - endSpace; - this[_table][$setRange](this[_tail], dart.notNull(this[_tail]) + endSpace, list, 0); - this[_table][$setRange](0, preSpace, list, endSpace); - this[_tail] = preSpace; - } - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - for (let element of elements) - this[_add$](element); - } - } - remove(value) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - let element = this[_table][$_get](i); - if (dart.equals(element, value)) { - this[_remove](i); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return true; - } - } - return false; - } - [_filterWhere](test, 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]) { - let element = E.as(this[_table][$_get](i)); - let remove = removeMatching == test(element); - this[_checkModification](modificationCount); - if (remove) { - i = this[_remove](i); - modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } else { - i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - } - } - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[86], 784, 25, "test"); - this[_filterWhere](test, true); - } - retainWhere(test) { - if (test == null) dart.nullFailed(I[86], 792, 25, "test"); - this[_filterWhere](test, false); - } - clear() { - if (this[_head] != this[_tail]) { - for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0) { - this[_table][$_set](i, null); - } - this[_head] = this[_tail] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - addLast(value) { - E.as(value); - this[_add$](value); - } - addFirst(value) { - E.as(value); - this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - this[_table][$_set](this[_head], value); - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - removeFirst() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - let result = E.as(this[_table][$_get](this[_head])); - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - return result; - } - removeLast() { - if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement()); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - let result = E.as(this[_table][$_get](this[_tail])); - this[_table][$_set](this[_tail], null); - return result; - } - static _isPowerOf2(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[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; - if (nextNumber === 0) return number; - number = nextNumber; - } - } - [_checkModification](expectedModificationCount) { - if (expectedModificationCount == null) dart.nullFailed(I[86], 862, 31, "expectedModificationCount"); - if (expectedModificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - [_add$](element) { - this[_table][$_set](this[_tail], element); - this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][$length]) - 1) >>> 0; - if (this[_head] == this[_tail]) this[_grow$](); - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_remove](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; - if (startDistance < endDistance) { - let i = offset; - while (i != this[_head]) { - let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](prevOffset)); - i = prevOffset; - } - this[_table][$_set](this[_head], null); - this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0; - return (dart.notNull(offset) + 1 & mask) >>> 0; - } else { - this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0; - let i = offset; - while (i != this[_tail]) { - let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0; - this[_table][$_set](i, this[_table][$_get](nextOffset)); - i = nextOffset; - } - this[_table][$_set](this[_tail], null); - return offset; - } - } - [_grow$]() { - 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); - this[_head] = 0; - this[_tail] = this[_table][$length]; - this[_table] = newTable; - } - [_writeToList](target) { - 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]); - return length; - } else { - let firstPartSize = dart.notNull(this[_table][$length]) - dart.notNull(this[_head]); - target[$setRange](0, firstPartSize, this[_table], this[_head]); - target[$setRange](firstPartSize, firstPartSize + dart.notNull(this[_tail]), this[_table], 0); - return dart.notNull(this[_tail]) + firstPartSize; - } - } - [_preGrow](newElementCount) { - 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 = __t$ListOfEN().filled(newCapacity, null); - this[_tail] = this[_writeToList](newTable); - this[_table] = newTable; - this[_head] = 0; - } - } - (ListQueue.new = function(initialCapacity = null) { - this[_modificationCount] = 0; - this[_head] = 0; - this[_tail] = 0; - this[_table] = __t$ListOfEN().filled(collection.ListQueue._calculateCapacity(initialCapacity), null); - ListQueue.__proto__.new.call(this); - ; - }).prototype = ListQueue.prototype; - dart.addTypeTests(ListQueue); - ListQueue.prototype[_is_ListQueue_default] = true; - dart.addTypeCaches(ListQueue); - ListQueue[dart.implements] = () => [collection.Queue$(E)]; - dart.setMethodSignature(ListQueue, () => ({ - __proto__: dart.getMethods(ListQueue.__proto__), - cast: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [collection.Queue$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_filterWhere]: 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])]), - clear: dart.fnType(dart.void, []), - addLast: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addFirst: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeFirst: dart.fnType(E, []), - removeLast: dart.fnType(E, []), - [_checkModification]: dart.fnType(dart.void, [core.int]), - [_add$]: dart.fnType(dart.void, [E]), - [_remove]: dart.fnType(core.int, [core.int]), - [_grow$]: dart.fnType(dart.void, []), - [_writeToList]: dart.fnType(core.int, [core.List$(dart.nullable(E))]), - [_preGrow]: dart.fnType(dart.void, [core.int]) - })); - 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))), - [_head]: dart.fieldType(core.int), - [_tail]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int) - })); - dart.setStaticFieldSignature(ListQueue, () => ['_INITIAL_CAPACITY']); - dart.defineExtensionMethods(ListQueue, [ - 'cast', - 'forEach', - 'elementAt', - 'toList', - 'toString' - ]); - dart.defineExtensionAccessors(ListQueue, [ - 'iterator', - 'isEmpty', - 'length', - 'first', - 'last', - 'single' - ]); - return ListQueue; -}); -collection.ListQueue = collection.ListQueue$(); -dart.defineLazy(collection.ListQueue, { - /*collection.ListQueue._INITIAL_CAPACITY*/get _INITIAL_CAPACITY() { - return 8; - } -}, false); -dart.addTypeTests(collection.ListQueue, _is_ListQueue_default); -var _end = dart.privateName(collection, "_end"); -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$0][_checkModification](this[_modificationCount]); - if (this[_position] == this[_end]) { - this[_current$1] = null; - return false; - } - 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[86], 962, 35, "queue"); - this[_current$1] = null; - this[_queue$0] = queue; - this[_end] = queue[_tail]; - this[_modificationCount] = queue[_modificationCount]; - this[_position] = queue[_head]; - ; - }).prototype = _ListQueueIterator.prototype; - dart.addTypeTests(_ListQueueIterator); - _ListQueueIterator.prototype[_is__ListQueueIterator_default] = true; - dart.addTypeCaches(_ListQueueIterator); - _ListQueueIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_ListQueueIterator, () => ({ - __proto__: dart.getMethods(_ListQueueIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_ListQueueIterator, () => ({ - __proto__: dart.getGetters(_ListQueueIterator.__proto__), - current: E - })); - dart.setLibraryUri(_ListQueueIterator, I[25]); - dart.setFieldSignature(_ListQueueIterator, () => ({ - __proto__: dart.getFields(_ListQueueIterator.__proto__), - [_queue$0]: dart.finalFieldType(collection.ListQueue$(E)), - [_end]: dart.finalFieldType(core.int), - [_modificationCount]: dart.finalFieldType(core.int), - [_position]: dart.fieldType(core.int), - [_current$1]: dart.fieldType(dart.nullable(E)) - })); - return _ListQueueIterator; -}); -collection._ListQueueIterator = collection._ListQueueIterator$(); -dart.addTypeTests(collection._ListQueueIterator, _is__ListQueueIterator_default); -const _is_SetBase_default = Symbol('_is_SetBase_default'); -collection.SetBase$ = dart.generic(E => { - const Object_SetMixin$36 = class Object_SetMixin extends core.Object {}; - (Object_SetMixin$36.new = function() { - }).prototype = Object_SetMixin$36.prototype; - dart.applyMixin(Object_SetMixin$36, collection.SetMixin$(E)); - class SetBase extends Object_SetMixin$36 { - static setToString(set) { - if (set == null) dart.nullFailed(I[78], 307, 33, "set"); - return collection.IterableBase.iterableToFullString(set, "{", "}"); - } - } - (SetBase.new = function() { - ; - }).prototype = SetBase.prototype; - dart.addTypeTests(SetBase); - SetBase.prototype[_is_SetBase_default] = true; - dart.addTypeCaches(SetBase); - 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 __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")); - } - add(value) { - E.as(value); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - clear() { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - addAll(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[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[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[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[78], 368, 25, "test"); - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - remove(value) { - collection._UnmodifiableSetMixin._throwUnmodifiable(); - return dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (_UnmodifiableSetMixin.new = function() { - ; - }).prototype = _UnmodifiableSetMixin.prototype; - dart.addTypeTests(_UnmodifiableSetMixin); - _UnmodifiableSetMixin.prototype[_is__UnmodifiableSetMixin_default] = true; - dart.addTypeCaches(_UnmodifiableSetMixin); - _UnmodifiableSetMixin[dart.implements] = () => [core.Set$(E)]; - dart.setMethodSignature(_UnmodifiableSetMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableSetMixin.__proto__), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - removeAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - retainAll: dart.fnType(dart.void, [core.Iterable$(dart.nullable(core.Object))]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setStaticMethodSignature(_UnmodifiableSetMixin, () => ['_throwUnmodifiable']); - dart.setLibraryUri(_UnmodifiableSetMixin, I[25]); - return _UnmodifiableSetMixin; -}); -collection._UnmodifiableSetMixin = collection._UnmodifiableSetMixin$(); -dart.addTypeTests(collection._UnmodifiableSetMixin, _is__UnmodifiableSetMixin_default); -var _map$9 = dart.privateName(collection, "_UnmodifiableSet._map"); -const _is__UnmodifiableSet_default = Symbol('_is__UnmodifiableSet_default'); -collection._UnmodifiableSet$ = dart.generic(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); - }).prototype = _SetBase__UnmodifiableSetMixin$36.prototype; - dart.applyMixin(_SetBase__UnmodifiableSetMixin$36, collection._UnmodifiableSetMixin$(E)); - class _UnmodifiableSet extends _SetBase__UnmodifiableSetMixin$36 { - get [_map$5]() { - return this[_map$9]; - } - 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 (__t$_HashSetOfE()).new(); - } - [_newSimilarSet](R) { - return new (collection._HashSet$(R)).new(); - } - contains(element) { - return this[_map$5][$containsKey](element); - } - get iterator() { - return this[_map$5][$keys][$iterator]; - } - get length() { - return this[_map$5][$length]; - } - lookup(element) { - for (let key of this[_map$5][$keys]) { - if (dart.equals(key, element)) return key; - } - return null; - } - } - (_UnmodifiableSet.new = function(_map) { - if (_map == null) dart.nullFailed(I[78], 378, 31, "_map"); - this[_map$9] = _map; - _UnmodifiableSet.__proto__.new.call(this); - ; - }).prototype = _UnmodifiableSet.prototype; - dart.addTypeTests(_UnmodifiableSet); - _UnmodifiableSet.prototype[_is__UnmodifiableSet_default] = true; - dart.addTypeCaches(_UnmodifiableSet); - dart.setMethodSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getMethods(_UnmodifiableSet.__proto__), - [_newSet]: dart.fnType(core.Set$(E), []), - [_newSimilarSet]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getGetters(_UnmodifiableSet.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_UnmodifiableSet, I[25]); - dart.setFieldSignature(_UnmodifiableSet, () => ({ - __proto__: dart.getFields(_UnmodifiableSet.__proto__), - [_map$5]: dart.finalFieldType(core.Map$(E, core.Null)) - })); - dart.defineExtensionMethods(_UnmodifiableSet, ['contains']); - dart.defineExtensionAccessors(_UnmodifiableSet, ['iterator', 'length']); - return _UnmodifiableSet; -}); -collection._UnmodifiableSet = collection._UnmodifiableSet$(); -dart.addTypeTests(collection._UnmodifiableSet, _is__UnmodifiableSet_default); -const _is_UnmodifiableSetView_default = Symbol('_is_UnmodifiableSetView_default'); -collection.UnmodifiableSetView$ = dart.generic(E => { - const SetBase__UnmodifiableSetMixin$36 = class SetBase__UnmodifiableSetMixin extends collection.SetBase$(E) {}; - (SetBase__UnmodifiableSetMixin$36.new = function() { - }).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); - } - lookup(element) { - return this[_source].lookup(element); - } - get length() { - return this[_source][$length]; - } - get iterator() { - return this[_source].iterator; - } - toSet() { - return this[_source].toSet(); - } - } - (UnmodifiableSetView.new = function(source) { - if (source == null) dart.nullFailed(I[78], 420, 30, "source"); - this[_source] = source; - ; - }).prototype = UnmodifiableSetView.prototype; - dart.addTypeTests(UnmodifiableSetView); - UnmodifiableSetView.prototype[_is_UnmodifiableSetView_default] = true; - dart.addTypeCaches(UnmodifiableSetView); - dart.setMethodSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getMethods(UnmodifiableSetView.__proto__), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - toSet: dart.fnType(core.Set$(E), []), - [$toSet]: dart.fnType(core.Set$(E), []) - })); - dart.setGetterSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getGetters(UnmodifiableSetView.__proto__), - length: core.int, - [$length]: core.int, - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(UnmodifiableSetView, I[25]); - dart.setFieldSignature(UnmodifiableSetView, () => ({ - __proto__: dart.getFields(UnmodifiableSetView.__proto__), - [_source]: dart.finalFieldType(core.Set$(E)) - })); - dart.defineExtensionMethods(UnmodifiableSetView, ['contains', 'toSet']); - dart.defineExtensionAccessors(UnmodifiableSetView, ['length', 'iterator']); - return UnmodifiableSetView; -}); -collection.UnmodifiableSetView = collection.UnmodifiableSetView$(); -dart.addTypeTests(collection.UnmodifiableSetView, _is_UnmodifiableSetView_default); -var _left = dart.privateName(collection, "_SplayTreeNode._left"); -var _right = dart.privateName(collection, "_SplayTreeNode._right"); -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 __t$NodeN = () => (__t$NodeN = dart.constFn(dart.nullable(Node)))(); - class _SplayTreeNode extends core.Object { - get [_left$]() { - return this[_left]; - } - set [_left$](value) { - this[_left] = __t$NodeN().as(value); - } - get [_right$]() { - return this[_right]; - } - set [_right$](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) { - this[_left] = null; - this[_right] = null; - this.key = key; - ; - }).prototype = _SplayTreeNode.prototype; - dart.addTypeTests(_SplayTreeNode); - _SplayTreeNode.prototype[_is__SplayTreeNode_default] = true; - dart.addTypeCaches(_SplayTreeNode); - dart.setLibraryUri(_SplayTreeNode, I[25]); - dart.setFieldSignature(_SplayTreeNode, () => ({ - __proto__: dart.getFields(_SplayTreeNode.__proto__), - key: dart.finalFieldType(K), - [_left$]: dart.fieldType(dart.nullable(Node)), - [_right$]: dart.fieldType(dart.nullable(Node)) - })); - return _SplayTreeNode; -}); -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 { - static ['_#new#tearOff'](K, key) { - return new (collection._SplayTreeSetNode$(K)).new(key); - } - } - (_SplayTreeSetNode.new = function(key) { - _SplayTreeSetNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeSetNode.prototype; - dart.addTypeTests(_SplayTreeSetNode); - _SplayTreeSetNode.prototype[_is__SplayTreeSetNode_default] = true; - dart.addTypeCaches(_SplayTreeSetNode); - dart.setLibraryUri(_SplayTreeSetNode, I[25]); - return _SplayTreeSetNode; -}, K => { - dart.setBaseClass(collection._SplayTreeSetNode$(K), collection._SplayTreeNode$(K, collection._SplayTreeSetNode$(K))); -}); -collection._SplayTreeSetNode = collection._SplayTreeSetNode$(); -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 __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 t152; - V.as(value); - t152 = new (__t$_SplayTreeMapNodeOfK$V()).new(this.key, value); - return (() => { - t152[_left$] = this[_left$]; - t152[_right$] = this[_right$]; - return t152; - })(); - } - toString() { - return "MapEntry(" + dart.str(this.key) + ": " + dart.str(this.value) + ")"; - } - } - (_SplayTreeMapNode.new = function(key, value) { - this.value = value; - _SplayTreeMapNode.__proto__.new.call(this, key); - ; - }).prototype = _SplayTreeMapNode.prototype; - dart.addTypeTests(_SplayTreeMapNode); - _SplayTreeMapNode.prototype[_is__SplayTreeMapNode_default] = true; - dart.addTypeCaches(_SplayTreeMapNode); - _SplayTreeMapNode[dart.implements] = () => [core.MapEntry$(K, V)]; - dart.setMethodSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getMethods(_SplayTreeMapNode.__proto__), - [_replaceValue]: dart.fnType(collection._SplayTreeMapNode$(K, V), [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapNode, I[25]); - dart.setFieldSignature(_SplayTreeMapNode, () => ({ - __proto__: dart.getFields(_SplayTreeMapNode.__proto__), - value: dart.finalFieldType(V) - })); - dart.defineExtensionMethods(_SplayTreeMapNode, ['toString']); - return _SplayTreeMapNode; -}, (K, V) => { - dart.setBaseClass(collection._SplayTreeMapNode$(K, V), collection._SplayTreeNode$(K, collection._SplayTreeMapNode$(K, V))); -}); -collection._SplayTreeMapNode = collection._SplayTreeMapNode$(); -dart.addTypeTests(collection._SplayTreeMapNode, _is__SplayTreeMapNode_default); -var _count$ = dart.privateName(collection, "_count"); -var _splayCount = dart.privateName(collection, "_splayCount"); -var _root = dart.privateName(collection, "_root"); -var _compare = dart.privateName(collection, "_compare"); -var _splay = dart.privateName(collection, "_splay"); -var _splayMin = dart.privateName(collection, "_splayMin"); -var _splayMax = dart.privateName(collection, "_splayMax"); -var _addNewRoot = dart.privateName(collection, "_addNewRoot"); -var _last$ = dart.privateName(collection, "_last"); -var _clear$ = dart.privateName(collection, "_clear"); -var _containsKey = dart.privateName(collection, "_containsKey"); -const _is__SplayTree_default = Symbol('_is__SplayTree_default'); -collection._SplayTree$ = dart.generic((K, Node) => { - class _SplayTree extends core.Object { - [_splay](key) { - let t153, t152; - K.as(key); - let root = this[_root]; - if (root == null) { - t152 = key; - t153 = key; - this[_compare](t152, t153); - return -1; - } - let right = null; - let newTreeRight = null; - let left = null; - let newTreeLeft = null; - let current = root; - let compare = this[_compare]; - let comp = null; - while (true) { - comp = compare(current.key, key); - if (dart.notNull(comp) > 0) { - let currentLeft = current[_left$]; - if (currentLeft == null) break; - comp = compare(currentLeft.key, key); - if (dart.notNull(comp) > 0) { - current[_left$] = currentLeft[_right$]; - currentLeft[_right$] = current; - current = currentLeft; - currentLeft = current[_left$]; - if (currentLeft == null) break; - } - if (right == null) { - newTreeRight = current; - } else { - right[_left$] = current; - } - right = current; - current = currentLeft; - } else if (dart.notNull(comp) < 0) { - let currentRight = current[_right$]; - if (currentRight == null) break; - comp = compare(currentRight.key, key); - if (dart.notNull(comp) < 0) { - current[_right$] = currentRight[_left$]; - currentRight[_left$] = current; - current = currentRight; - currentRight = current[_right$]; - if (currentRight == null) break; - } - if (left == null) { - newTreeLeft = current; - } else { - left[_right$] = current; - } - left = current; - current = currentRight; - } else { - break; - } - } - if (left != null) { - left[_right$] = current[_left$]; - current[_left$] = newTreeLeft; - } - if (right != null) { - right[_left$] = current[_right$]; - current[_right$] = newTreeRight; - } - if (this[_root] != current) { - this[_root] = current; - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - } - return comp; - } - [_splayMin](node) { - if (node == null) dart.nullFailed(I[87], 173, 23, "node"); - let current = node; - let nextLeft = current[_left$]; - while (nextLeft != null) { - let left = nextLeft; - current[_left$] = left[_right$]; - left[_right$] = current; - current = left; - nextLeft = current[_left$]; - } - return current; - } - [_splayMax](node) { - if (node == null) dart.nullFailed(I[87], 191, 23, "node"); - let current = node; - let nextRight = current[_right$]; - while (nextRight != null) { - let right = nextRight; - current[_right$] = right[_left$]; - right[_left$] = current; - current = right; - nextRight = current[_right$]; - } - return current; - } - [_remove](key) { - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (comp !== 0) return null; - let root = dart.nullCheck(this[_root]); - let result = root; - let left = root[_left$]; - this[_count$] = dart.notNull(this[_count$]) - 1; - if (left == null) { - this[_root] = root[_right$]; - } else { - let right = root[_right$]; - root = this[_splayMax](left); - root[_right$] = right; - this[_root] = root; - } - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - return result; - } - [_addNewRoot](node, 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]; - if (root == null) { - this[_root] = node; - return; - } - if (dart.notNull(comp) < 0) { - node[_left$] = root; - node[_right$] = root[_right$]; - root[_right$] = null; - } else { - node[_right$] = root; - node[_left$] = root[_left$]; - root[_left$] = null; - } - this[_root] = node; - } - get [_first]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMin](root); - return this[_root]; - } - get [_last$]() { - let root = this[_root]; - if (root == null) return null; - this[_root] = this[_splayMax](root); - return this[_root]; - } - [_clear$]() { - this[_root] = null; - this[_count$] = 0; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - [_containsKey](key) { - let t152; - return dart.test((t152 = key, this[_validKey$0](t152))) && this[_splay](K.as(key)) === 0; - } - } - (_SplayTree.new = function() { - this[_count$] = 0; - this[_modificationCount] = 0; - this[_splayCount] = 0; - ; - }).prototype = _SplayTree.prototype; - dart.addTypeTests(_SplayTree); - _SplayTree.prototype[_is__SplayTree_default] = true; - dart.addTypeCaches(_SplayTree); - dart.setMethodSignature(_SplayTree, () => ({ - __proto__: dart.getMethods(_SplayTree.__proto__), - [_splay]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_splayMin]: dart.fnType(Node, [Node]), - [_splayMax]: dart.fnType(Node, [Node]), - [_remove]: dart.fnType(dart.nullable(Node), [K]), - [_addNewRoot]: dart.fnType(dart.void, [Node, core.int]), - [_clear$]: dart.fnType(dart.void, []), - [_containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_SplayTree, () => ({ - __proto__: dart.getGetters(_SplayTree.__proto__), - [_first]: dart.nullable(Node), - [_last$]: dart.nullable(Node) - })); - dart.setLibraryUri(_SplayTree, I[25]); - dart.setFieldSignature(_SplayTree, () => ({ - __proto__: dart.getFields(_SplayTree.__proto__), - [_count$]: dart.fieldType(core.int), - [_modificationCount]: dart.fieldType(core.int), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTree; -}); -collection._SplayTree = collection._SplayTree$(); -dart.addTypeTests(collection._SplayTree, _is__SplayTree_default); -var _root$ = dart.privateName(collection, "SplayTreeMap._root"); -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 __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); - }).prototype = _SplayTree_MapMixin$36.prototype; - dart.applyMixin(_SplayTree_MapMixin$36, collection.MapMixin$(K, V)); - class SplayTreeMap extends _SplayTree_MapMixin$36 { - get [_root]() { - return this[_root$]; - } - set [_root](value) { - this[_root$] = value; - } - get [_compare]() { - 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[87], 416, 51, "other"); - if (core.Map$(K, V).is(other)) { - return collection.SplayTreeMap$(K, V).of(other, compare, isValidKey); - } - let result = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - other[$forEach](dart.fn((k, v) => { - result._set(K.as(k), V.as(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 t152; - if (other == null) dart.nullFailed(I[87], 436, 37, "other"); - t152 = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - return (() => { - 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[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; - let map = new (collection.SplayTreeMap$(K, V)).new(compare, isValidKey); - 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[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 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) { - return dart.nullCheck(this[_root]).value; - } - } - return null; - } - remove(key) { - 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; - } - _set(key, value$) { - let value = value$; - K.as(key); - V.as(value); - let comp = this[_splay](key); - if (comp === 0) { - this[_root] = dart.nullCheck(this[_root])[_replaceValue](value); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return value$; - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value$; - } - putIfAbsent(key, ifAbsent) { - K.as(key); - __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; - } - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let value = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - if (!(comp !== 0)) dart.assertFailed(null, I[87], 539, 14, "comp != 0"); - } - this[_addNewRoot](new (__t$_SplayTreeMapNodeOfK$V()).new(key, value), comp); - return value; - } - update(key, update, opts) { - K.as(key); - __t$VToV().as(update); - if (update == null) dart.nullFailed(I[87], 545, 21, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - __t$VoidToNV().as(ifAbsent); - let comp = this[_splay](key); - if (comp === 0) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = update(dart.nullCheck(this[_root]).value); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - this[_splay](key); - } - this[_root] = dart.nullCheck(this[_root])[_replaceValue](newValue); - this[_splayCount] = dart.notNull(this[_splayCount]) + 1; - return newValue; - } - if (ifAbsent != null) { - let modificationCount = this[_modificationCount]; - let splayCount = this[_splayCount]; - let newValue = ifAbsent(); - if (modificationCount != this[_modificationCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (splayCount != this[_splayCount]) { - comp = this[_splay](key); - } - 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) { - __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 (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this); - while (dart.test(iterator.moveNext())) { - let node = iterator.current; - let newValue = update(node.key, node.value); - iterator[_replaceValue](newValue); - } - } - addAll(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); - }, __t$KAndVTovoid())); - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - forEach(f) { - 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); - } - } - get length() { - return this[_count$]; - } - clear() { - this[_clear$](); - } - containsKey(key) { - return this[_containsKey](key); - } - containsValue(value) { - let initialSplayCount = this[_splayCount]; - const visit = node => { - while (node != null) { - if (dart.equals(node.value, value)) return true; - if (initialSplayCount != this[_splayCount]) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - if (node[_right$] != null && dart.test(visit(node[_right$]))) { - return true; - } - node = node[_left$]; - } - return false; - }; - dart.fn(visit, __t$_SplayTreeMapNodeNOfK$VTobool()); - return visit(this[_root]); - } - get keys() { - return new (__t$_SplayTreeKeyIterableOfK$_SplayTreeMapNodeOfK$V()).new(this); - } - get values() { - return new (__t$_SplayTreeValueIterableOfK$V()).new(this); - } - get entries() { - return new (__t$_SplayTreeMapEntryIterableOfK$V()).new(this); - } - firstKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_first]).key; - } - lastKey() { - if (this[_root] == null) return null; - return dart.nullCheck(this[_last$]).key; - } - lastKeyBefore(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) < 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_left$]; - if (node == null) return null; - let nodeRight = node[_right$]; - while (nodeRight != null) { - node = nodeRight; - nodeRight = node[_right$]; - } - return dart.nullCheck(node).key; - } - firstKeyAfter(key) { - K.as(key); - if (key == null) dart.throw(new core.ArgumentError.new(key)); - if (this[_root] == null) return null; - let comp = this[_splay](key); - if (dart.notNull(comp) > 0) return dart.nullCheck(this[_root]).key; - let node = dart.nullCheck(this[_root])[_right$]; - if (node == null) return null; - let nodeLeft = node[_left$]; - while (nodeLeft != null) { - node = nodeLeft; - nodeLeft = node[_left$]; - } - return dart.nullCheck(node).key; - } - } - (SplayTreeMap.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$] = null; - 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; - dart.addTypeTests(SplayTreeMap); - SplayTreeMap.prototype[_is_SplayTreeMap_default] = true; - dart.addTypeCaches(SplayTreeMap); - dart.setMethodSignature(SplayTreeMap, () => ({ - __proto__: dart.getMethods(SplayTreeMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - firstKey: dart.fnType(dart.nullable(K), []), - lastKey: dart.fnType(dart.nullable(K), []), - 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[25]); - dart.setFieldSignature(SplayTreeMap, () => ({ - __proto__: dart.getFields(SplayTreeMap.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeMapNode$(K, V))), - [_compare]: dart.fieldType(dart.fnType(core.int, [K, K])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeMap, [ - '_get', - 'remove', - '_set', - 'putIfAbsent', - 'update', - 'updateAll', - 'addAll', - 'forEach', - 'clear', - 'containsKey', - 'containsValue' - ]); - dart.defineExtensionAccessors(SplayTreeMap, [ - 'isEmpty', - 'isNotEmpty', - 'length', - 'keys', - 'values', - 'entries' - ]); - return SplayTreeMap; -}); -collection.SplayTreeMap = collection.SplayTreeMap$(); -dart.addTypeTests(collection.SplayTreeMap, _is_SplayTreeMap_default); -var _path = dart.privateName(collection, "_path"); -var _tree$ = dart.privateName(collection, "_tree"); -var _getValue = dart.privateName(collection, "_getValue"); -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 __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); - let node = this[_path][$last]; - return this[_getValue](node); - } - [_rebuildPath](key) { - this[_path][$clear](); - this[_tree$][_splay](key); - this[_path][$add](dart.nullCheck(this[_tree$][_root])); - this[_splayCount] = this[_tree$][_splayCount]; - } - [_findLeftMostDescendent](node) { - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - } - moveNext() { - if (this[_modificationCount] != this[_tree$][_modificationCount]) { - if (this[_modificationCount] == null) { - this[_modificationCount] = this[_tree$][_modificationCount]; - let node = this[_tree$][_root]; - while (node != null) { - this[_path][$add](node); - node = node[_left$]; - } - return this[_path][$isNotEmpty]; - } - dart.throw(new core.ConcurrentModificationError.new(this[_tree$])); - } - if (dart.test(this[_path][$isEmpty])) return false; - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let node = this[_path][$last]; - let next = node[_right$]; - if (next != null) { - while (next != null) { - this[_path][$add](next); - next = next[_left$]; - } - return true; - } - this[_path][$removeLast](); - while (dart.test(this[_path][$isNotEmpty]) && this[_path][$last][_right$] == node) { - node = this[_path][$removeLast](); - } - return this[_path][$isNotEmpty]; - } - } - (_SplayTreeIterator.new = function(tree) { - 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]; - ; - }).prototype = _SplayTreeIterator.prototype; - dart.addTypeTests(_SplayTreeIterator); - _SplayTreeIterator.prototype[_is__SplayTreeIterator_default] = true; - dart.addTypeCaches(_SplayTreeIterator); - _SplayTreeIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeIterator.__proto__), - [_rebuildPath]: dart.fnType(dart.void, [K]), - [_findLeftMostDescendent]: dart.fnType(dart.void, [dart.nullable(Node)]), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getGetters(_SplayTreeIterator.__proto__), - current: T - })); - dart.setLibraryUri(_SplayTreeIterator, I[25]); - dart.setFieldSignature(_SplayTreeIterator, () => ({ - __proto__: dart.getFields(_SplayTreeIterator.__proto__), - [_tree$]: dart.finalFieldType(collection._SplayTree$(K, Node)), - [_path]: dart.finalFieldType(core.List$(Node)), - [_modificationCount]: dart.fieldType(dart.nullable(core.int)), - [_splayCount]: dart.fieldType(core.int) - })); - return _SplayTreeIterator; -}); -collection._SplayTreeIterator = collection._SplayTreeIterator$(); -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 __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$]; - } - get isEmpty() { - return this[_tree$][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeKeyIteratorOfK$Node()).new(this[_tree$]); - } - contains(o) { - return this[_tree$][_containsKey](o); - } - toSet() { - 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[87], 791, 30, "_tree"); - this[_tree$] = _tree; - _SplayTreeKeyIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeKeyIterable.prototype; - dart.addTypeTests(_SplayTreeKeyIterable); - _SplayTreeKeyIterable.prototype[_is__SplayTreeKeyIterable_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterable); - dart.setGetterSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeKeyIterable.__proto__), - iterator: core.Iterator$(K), - [$iterator]: core.Iterator$(K) - })); - dart.setLibraryUri(_SplayTreeKeyIterable, I[25]); - dart.setFieldSignature(_SplayTreeKeyIterable, () => ({ - __proto__: dart.getFields(_SplayTreeKeyIterable.__proto__), - [_tree$]: dart.fieldType(collection._SplayTree$(K, Node)) - })); - dart.defineExtensionMethods(_SplayTreeKeyIterable, ['contains', 'toSet']); - dart.defineExtensionAccessors(_SplayTreeKeyIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeKeyIterable; -}); -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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeValueIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeValueIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 808, 32, "_map"); - this[_map$5] = _map; - _SplayTreeValueIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeValueIterable.prototype; - dart.addTypeTests(_SplayTreeValueIterable); - _SplayTreeValueIterable.prototype[_is__SplayTreeValueIterable_default] = true; - dart.addTypeCaches(_SplayTreeValueIterable); - dart.setGetterSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeValueIterable.__proto__), - iterator: core.Iterator$(V), - [$iterator]: core.Iterator$(V) - })); - dart.setLibraryUri(_SplayTreeValueIterable, I[25]); - dart.setFieldSignature(_SplayTreeValueIterable, () => ({ - __proto__: dart.getFields(_SplayTreeValueIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeValueIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeValueIterable; -}); -collection._SplayTreeValueIterable = collection._SplayTreeValueIterable$(); -dart.addTypeTests(collection._SplayTreeValueIterable, _is__SplayTreeValueIterable_default); -var key$0 = dart.privateName(core, "MapEntry.key"); -var value$2 = dart.privateName(core, "MapEntry.value"); -const _is_MapEntry_default = Symbol('_is_MapEntry_default'); -core.MapEntry$ = dart.generic((K, V) => { - class MapEntry extends core.Object { - get key() { - return this[key$0]; - } - set key(value) { - super.key = value; - } - get value() { - return this[value$2]; - } - 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) + ")"; - } - } - (MapEntry.__ = function(key, value) { - this[key$0] = key; - this[value$2] = value; - ; - }).prototype = MapEntry.prototype; - dart.addTypeTests(MapEntry); - MapEntry.prototype[_is_MapEntry_default] = true; - dart.addTypeCaches(MapEntry); - 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; -}); -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 __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$]; - } - get isEmpty() { - return this[_map$5][_count$] === 0; - } - get iterator() { - return new (__t$_SplayTreeMapEntryIteratorOfK$V()).new(this[_map$5]); - } - } - (_SplayTreeMapEntryIterable.new = function(_map) { - if (_map == null) dart.nullFailed(I[87], 817, 35, "_map"); - this[_map$5] = _map; - _SplayTreeMapEntryIterable.__proto__.new.call(this); - ; - }).prototype = _SplayTreeMapEntryIterable.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterable); - _SplayTreeMapEntryIterable.prototype[_is__SplayTreeMapEntryIterable_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterable); - dart.setGetterSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getGetters(_SplayTreeMapEntryIterable.__proto__), - iterator: core.Iterator$(core.MapEntry$(K, V)), - [$iterator]: core.Iterator$(core.MapEntry$(K, V)) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterable, I[25]); - dart.setFieldSignature(_SplayTreeMapEntryIterable, () => ({ - __proto__: dart.getFields(_SplayTreeMapEntryIterable.__proto__), - [_map$5]: dart.fieldType(collection.SplayTreeMap$(K, V)) - })); - dart.defineExtensionAccessors(_SplayTreeMapEntryIterable, ['length', 'isEmpty', 'iterator']); - return _SplayTreeMapEntryIterable; -}); -collection._SplayTreeMapEntryIterable = collection._SplayTreeMapEntryIterable$(); -dart.addTypeTests(collection._SplayTreeMapEntryIterable, _is__SplayTreeMapEntryIterable_default); -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[87], 827, 20, "node"); - return node.key; - } - } - (_SplayTreeKeyIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 826, 45, "map"); - _SplayTreeKeyIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeKeyIterator.prototype; - dart.addTypeTests(_SplayTreeKeyIterator); - _SplayTreeKeyIterator.prototype[_is__SplayTreeKeyIterator_default] = true; - dart.addTypeCaches(_SplayTreeKeyIterator); - dart.setMethodSignature(_SplayTreeKeyIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeKeyIterator.__proto__), - [_getValue]: dart.fnType(K, [Node]) - })); - dart.setLibraryUri(_SplayTreeKeyIterator, I[25]); - return _SplayTreeKeyIterator; -}); -collection._SplayTreeKeyIterator = collection._SplayTreeKeyIterator$(); -dart.addTypeTests(collection._SplayTreeKeyIterator, _is__SplayTreeKeyIterator_default); -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[87], 833, 39, "node"); - return node.value; - } - } - (_SplayTreeValueIterator.new = function(map) { - if (map == null) dart.nullFailed(I[87], 832, 46, "map"); - _SplayTreeValueIterator.__proto__.new.call(this, map); - ; - }).prototype = _SplayTreeValueIterator.prototype; - dart.addTypeTests(_SplayTreeValueIterator); - _SplayTreeValueIterator.prototype[_is__SplayTreeValueIterator_default] = true; - dart.addTypeCaches(_SplayTreeValueIterator); - dart.setMethodSignature(_SplayTreeValueIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeValueIterator.__proto__), - [_getValue]: dart.fnType(V, [collection._SplayTreeMapNode$(K, V)]) - })); - dart.setLibraryUri(_SplayTreeValueIterator, I[25]); - return _SplayTreeValueIterator; -}); -collection._SplayTreeValueIterator = collection._SplayTreeValueIterator$(); -dart.addTypeTests(collection._SplayTreeValueIterator, _is__SplayTreeValueIterator_default); -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[87], 839, 52, "node"); - return node; - } - [_replaceValue](value) { - let t152; - V.as(value); - 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$])); - } - if (this[_splayCount] != this[_tree$][_splayCount]) { - this[_rebuildPath](this[_path][$last].key); - } - let last = this[_path][$removeLast](); - let newLast = last[_replaceValue](value); - if (dart.test(this[_path][$isEmpty])) { - this[_tree$][_root] = newLast; - } else { - let parent = this[_path][$last]; - if (last == parent[_left$]) { - parent[_left$] = newLast; - } else { - if (!(last == parent[_right$])) dart.assertFailed(null, I[87], 859, 16, "identical(last, parent._right)"); - parent[_right$] = newLast; - } - } - this[_path][$add](newLast); - this[_splayCount] = (t152 = this[_tree$], t152[_splayCount] = dart.notNull(t152[_splayCount]) + 1); - } - } - (_SplayTreeMapEntryIterator.new = function(tree) { - if (tree == null) dart.nullFailed(I[87], 838, 49, "tree"); - _SplayTreeMapEntryIterator.__proto__.new.call(this, tree); - ; - }).prototype = _SplayTreeMapEntryIterator.prototype; - dart.addTypeTests(_SplayTreeMapEntryIterator); - _SplayTreeMapEntryIterator.prototype[_is__SplayTreeMapEntryIterator_default] = true; - dart.addTypeCaches(_SplayTreeMapEntryIterator); - dart.setMethodSignature(_SplayTreeMapEntryIterator, () => ({ - __proto__: dart.getMethods(_SplayTreeMapEntryIterator.__proto__), - [_getValue]: dart.fnType(core.MapEntry$(K, V), [collection._SplayTreeMapNode$(K, V)]), - [_replaceValue]: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_SplayTreeMapEntryIterator, I[25]); - return _SplayTreeMapEntryIterator; -}); -collection._SplayTreeMapEntryIterator = collection._SplayTreeMapEntryIterator$(); -dart.addTypeTests(collection._SplayTreeMapEntryIterator, _is__SplayTreeMapEntryIterator_default); -var _root$0 = dart.privateName(collection, "SplayTreeSet._root"); -var _compare$0 = dart.privateName(collection, "SplayTreeSet._compare"); -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 __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); - }).prototype = _SplayTree_IterableMixin$36.prototype; - dart.applyMixin(_SplayTree_IterableMixin$36, collection.IterableMixin$(E)); - const _SplayTree_SetMixin$36 = class _SplayTree_SetMixin extends _SplayTree_IterableMixin$36 {}; - (_SplayTree_SetMixin$36.new = function() { - _SplayTree_SetMixin$36.__proto__.new.call(this); - }).prototype = _SplayTree_SetMixin$36.prototype; - dart.applyMixin(_SplayTree_SetMixin$36, collection.SetMixin$(E)); - class SplayTreeSet extends _SplayTree_SetMixin$36 { - get [_root]() { - return this[_root$0]; - } - set [_root](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[87], 1004, 38, "elements"); - if (core.Iterable$(E).is(elements)) { - return collection.SplayTreeSet$(E).of(elements, compare, isValidKey); - } - let result = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - for (let element of elements) { - result.add(E.as(element)); - } - 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 t152; - if (elements == null) dart.nullFailed(I[87], 1028, 39, "elements"); - t152 = new (collection.SplayTreeSet$(E)).new(compare, isValidKey); - return (() => { - 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 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 (__t$_SplayTreeKeyIteratorOfE$_SplayTreeSetNodeOfE()).new(this); - } - get length() { - return this[_count$]; - } - get isEmpty() { - return this[_root] == null; - } - get isNotEmpty() { - return this[_root] != null; - } - get first() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_first]).key; - } - get last() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - return dart.nullCheck(this[_last$]).key; - } - get single() { - if (this[_count$] === 0) dart.throw(_internal.IterableElementError.noElement()); - if (dart.notNull(this[_count$]) > 1) dart.throw(_internal.IterableElementError.tooMany()); - return dart.nullCheck(this[_root]).key; - } - contains(element) { - let t152; - return dart.test((t152 = element, this[_validKey$0](t152))) && this[_splay](E.as(element)) === 0; - } - add(element) { - E.as(element); - return this[_add$](element); - } - [_add$](element) { - let compare = this[_splay](element); - if (compare === 0) return false; - this[_addNewRoot](new (__t$_SplayTreeSetNodeOfE()).new(element), compare); - return true; - } - remove(object) { - let t152; - if (!dart.test((t152 = object, this[_validKey$0](t152)))) return false; - return this[_remove](E.as(object)) != null; - } - addAll(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 t152; - if (elements == null) dart.nullFailed(I[87], 1088, 36, "elements"); - for (let element of elements) { - if (dart.test((t152 = element, this[_validKey$0](t152)))) this[_remove](E.as(element)); - } - } - retainAll(elements) { - 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((t152 = object, this[_validKey$0](t152))) && this[_splay](E.as(object)) === 0) { - retainSet.add(dart.nullCheck(this[_root]).key); - } - } - if (retainSet[_count$] != this[_count$]) { - this[_root] = retainSet[_root]; - this[_count$] = retainSet[_count$]; - this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1; - } - } - lookup(object) { - 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[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[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 t152; - __t$SetOfE().as(other); - if (other == null) dart.nullFailed(I[87], 1139, 23, "other"); - t152 = this[_clone$](); - return (() => { - t152.addAll(other); - return t152; - })(); - } - [_clone$]() { - let set = new (__t$SplayTreeSetOfE()).new(this[_compare], this[_validKey$0]); - set[_count$] = this[_count$]; - 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[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 (__t$_SplayTreeSetNodeOfE()).new(left.key); - dest[_left$] = newLeft; - copyChildren(left, newLeft); - } - if (right != null) { - 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, __t$_SplayTreeSetNodeOfE()])); - let result = new (__t$_SplayTreeSetNodeOfE()).new(node.key); - copyChildren(node, result); - return result; - } - clear() { - this[_clear$](); - } - toSet() { - return this[_clone$](); - } - toString() { - return collection.IterableBase.iterableToFullString(this, "{", "}"); - } - } - (SplayTreeSet.new = function(compare = null, isValidKey = null) { - let t152, t152$; - this[_root$0] = null; - 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; - dart.addTypeTests(SplayTreeSet); - SplayTreeSet.prototype[_is_SplayTreeSet_default] = true; - dart.addTypeCaches(SplayTreeSet); - dart.setMethodSignature(SplayTreeSet, () => ({ - __proto__: dart.getMethods(SplayTreeSet.__proto__), - [_newSet]: dart.gFnType(T => [core.Set$(T), []], T => [dart.nullable(core.Object)]), - cast: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - [$cast]: dart.gFnType(R => [core.Set$(R), []], R => [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [_add$]: dart.fnType(core.bool, [E]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(E), [dart.nullable(core.Object)]), - [_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[25]); - dart.setFieldSignature(SplayTreeSet, () => ({ - __proto__: dart.getFields(SplayTreeSet.__proto__), - [_root]: dart.fieldType(dart.nullable(collection._SplayTreeSetNode$(E))), - [_compare]: dart.fieldType(dart.fnType(core.int, [E, E])), - [_validKey$0]: dart.fieldType(dart.fnType(core.bool, [dart.dynamic])) - })); - dart.defineExtensionMethods(SplayTreeSet, ['cast', 'contains', 'toSet', 'toString']); - dart.defineExtensionAccessors(SplayTreeSet, [ - 'iterator', - 'length', - 'isEmpty', - 'isNotEmpty', - 'first', - 'last', - 'single' - ]); - return SplayTreeSet; -}); -collection.SplayTreeSet = collection.SplayTreeSet$(); -dart.addTypeTests(collection.SplayTreeSet, _is_SplayTreeSet_default); -collection._defaultEquals = function _defaultEquals(a, b) { - return dart.equals(a, b); -}; -collection._defaultHashCode = function _defaultHashCode(a) { - return dart.hashCode(a); -}; -collection._isToStringVisiting = function _isToStringVisiting(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[41], 291, 48, "iterable"); - if (parts == null) dart.nullFailed(I[41], 291, 71, "parts"); - let length = 0; - let count = 0; - let it = iterable[$iterator]; - while (length < 80 || count < 3) { - if (!dart.test(it.moveNext())) return; - let next = dart.str(it.current); - parts[$add](next); - length = length + (next.length + 2); - count = count + 1; - } - let penultimateString = null; - let ultimateString = null; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 2) return; - ultimateString = parts[$removeLast](); - penultimateString = parts[$removeLast](); - } else { - let penultimate = it.current; - count = count + 1; - if (!dart.test(it.moveNext())) { - if (count <= 3 + 1) { - parts[$add](dart.str(penultimate)); - return; - } - ultimateString = dart.str(penultimate); - penultimateString = parts[$removeLast](); - length = length + (ultimateString.length + 2); - } else { - let ultimate = it.current; - count = count + 1; - if (!(count < 100)) dart.assertFailed(null, I[41], 351, 14, "count < maxCount"); - while (dart.test(it.moveNext())) { - penultimate = ultimate; - ultimate = it.current; - count = count + 1; - if (count > 100) { - while (length > 80 - 3 - 2 && count > 3) { - length = length - (parts[$removeLast]().length + 2); - count = count - 1; - } - parts[$add]("..."); - return; - } - } - penultimateString = dart.str(penultimate); - ultimateString = dart.str(ultimate); - length = length + (ultimateString.length + penultimateString.length + 2 * 2); - } - } - let elision = null; - if (count > dart.notNull(parts[$length]) + 2) { - elision = "..."; - length = length + (3 + 2); - } - while (length > 80 && dart.notNull(parts[$length]) > 3) { - length = length - (parts[$removeLast]().length + 2); - if (elision == null) { - elision = "..."; - length = length + (3 + 2); - } - } - if (elision != null) { - parts[$add](elision); - } - parts[$add](penultimateString); - parts[$add](ultimateString); -}; -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[85] || CT.C85; - if (dart.fnType(core.int, [K, K]).is(compare)) { - return compare; - } - return C[86] || CT.C86; -}; -dart.defineLazy(collection, { - /*collection._toStringVisiting*/get _toStringVisiting() { - return T$.JSArrayOfObject().of([]); - } -}, false); -var _processed = dart.privateName(convert, "_processed"); -var _data = dart.privateName(convert, "_data"); -var _original$ = dart.privateName(convert, "_original"); -var _isUpgraded = dart.privateName(convert, "_isUpgraded"); -var _upgradedMap = dart.privateName(convert, "_upgradedMap"); -var _process = dart.privateName(convert, "_process"); -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], 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)) { - list = dart.dsend(list, 'sublist', [start, end]); - } - return _js_helper.Primitives.stringFromCharCodes(T$.JSArrayOfint().as(list)); - } - static _stringFromUint8List(charCodes, start, endOrNull) { - 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], 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])); - } - let it = charCodes[$iterator]; - for (let i = 0; i < dart.notNull(start); i = i + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(start, 0, i)); - } - } - let list = T$.JSArrayOfint().of(new Array()); - if (end == null) { - while (dart.test(it.moveNext())) - list[$add](it.current); - } else { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (!dart.test(it.moveNext())) { - dart.throw(new core.RangeError.range(end, start, i)); - } - list[$add](it.current); - } - } - return _js_helper.Primitives.stringFromCharCodes(list); - } - static is(o) { - return typeof o == "string"; - } - static as(o) { - if (typeof o == "string") return o; - return dart.as(o, core.String); - } - static fromCharCodes(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"); - if (_interceptors.JSArray.is(charCodes)) { - return core.String._stringFromJSArray(charCodes, start, end); - } - if (_native_typed_data.NativeUint8List.is(charCodes)) { - return core.String._stringFromUint8List(charCodes, start, end); - } - 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], 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], 661, 41, "name"); - let defaultValue = opts && 'defaultValue' in opts ? opts.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")); - } -}; -(core.String[dart.mixinNew] = function() { -}).prototype = core.String.prototype; -dart.addTypeCaches(core.String); -core.String[dart.implements] = () => [core.Comparable$(core.String), core.Pattern]; -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); - } else if (!(typeof key == 'string')) { - return null; - } else { - let result = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(result))) result = this[_process](key); - return result; - } - } - get length() { - return dart.test(this[_isUpgraded]) ? this[_upgradedMap][$length] : this[_computeKeys]()[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return dart.notNull(this.length) > 0; - } - get keys() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$keys]; - return new convert._JsonMapKeyIterable.new(this); - } - get values() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$values]; - 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[88], 170, 16, "key"); - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$_set](key, value); - } else if (dart.test(this.containsKey(key))) { - let processed = this[_processed]; - convert._JsonMap._setProperty(processed, key, value); - let original = this[_original$]; - if (!core.identical(original, processed)) { - convert._JsonMap._setProperty(original, key, null); - } - } else { - this[_upgrade]()[$_set](key, value); - } - return value$; - } - addAll(other) { - T$0.MapOfString$dynamic().as(other); - if (other == null) dart.nullFailed(I[88], 185, 36, "other"); - other[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[88], 186, 20, "key"); - this._set(key, value); - }, T$0.StringAnddynamicTovoid())); - } - containsValue(value) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsValue](value); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - if (dart.equals(this._get(key), value)) return true; - } - return false; - } - containsKey(key) { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap][$containsKey](key); - if (!(typeof key == 'string')) return false; - return convert._JsonMap._hasProperty(this[_original$], key); - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - 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); - return value; - } - remove(key) { - if (!dart.test(this[_isUpgraded]) && !dart.test(this.containsKey(key))) return null; - return this[_upgrade]()[$remove](key); - } - clear() { - if (dart.test(this[_isUpgraded])) { - this[_upgradedMap][$clear](); - } else { - if (this[_data] != null) { - dart.dsend(this[_data], 'clear', []); - } - this[_original$] = this[_processed] = null; - this[_data] = new _js_helper.LinkedMap.new(); - } - } - forEach(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) { - let key = keys[$_get](i); - let value = convert._JsonMap._getProperty(this[_processed], key); - if (dart.test(convert._JsonMap._isUnprocessed(value))) { - value = convert._convertJsonToDartLazy(convert._JsonMap._getProperty(this[_original$], key)); - convert._JsonMap._setProperty(this[_processed], key, value); - } - f(key, value); - if (!core.identical(keys, this[_data])) { - dart.throw(new core.ConcurrentModificationError.new(this)); - } - } - } - get [_isUpgraded]() { - return this[_processed] == null; - } - get [_upgradedMap]() { - 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[88], 274, 12, "!_isUpgraded"); - let keys = T$0.ListN().as(this[_data]); - if (keys == null) { - keys = this[_data] = convert._JsonMap._getPropertyNames(this[_original$]); - } - return keys; - } - [_upgrade]() { - if (dart.test(this[_isUpgraded])) return this[_upgradedMap]; - let result = new (T$0.IdentityMapOfString$dynamic()).new(); - let keys = this[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - result[$_set](key, this._get(key)); - } - if (dart.test(keys[$isEmpty])) { - keys[$add](""); - } else { - keys[$clear](); - } - this[_original$] = this[_processed] = null; - this[_data] = result; - if (!dart.test(this[_isUpgraded])) dart.assertFailed(null, I[88], 307, 12, "_isUpgraded"); - return result; - } - [_process](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[88], 321, 43, "key"); - return Object.prototype.hasOwnProperty.call(object, key); - } - static _getProperty(object, 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[88], 324, 38, "key"); - return object[key] = value; - } - static _getPropertyNames(object) { - return Object.keys(object); - } - static _isUnprocessed(object) { - return typeof object == "undefined"; - } - static _newJavaScriptObject() { - return Object.create(null); - } -}; -(convert._JsonMap.new = function(_original) { - this[_processed] = convert._JsonMap._newJavaScriptObject(); - this[_data] = null; - this[_original$] = _original; - ; -}).prototype = convert._JsonMap.prototype; -dart.addTypeTests(convert._JsonMap); -dart.addTypeCaches(convert._JsonMap); -dart.setMethodSignature(convert._JsonMap, () => ({ - __proto__: dart.getMethods(convert._JsonMap.__proto__), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [_computeKeys]: dart.fnType(core.List$(core.String), []), - [_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), - [$keys]: core.Iterable$(core.String), - [_isUpgraded]: core.bool, - [_upgradedMap]: core.Map$(core.String, dart.dynamic) -})); -dart.setLibraryUri(convert._JsonMap, I[33]); -dart.setFieldSignature(convert._JsonMap, () => ({ - __proto__: dart.getFields(convert._JsonMap.__proto__), - [_original$]: dart.fieldType(dart.dynamic), - [_processed]: dart.fieldType(dart.dynamic), - [_data]: dart.fieldType(dart.dynamic) -})); -dart.defineExtensionMethods(convert._JsonMap, [ - '_get', - '_set', - 'addAll', - 'containsValue', - 'containsKey', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' -]); -dart.defineExtensionAccessors(convert._JsonMap, [ - 'length', - 'isEmpty', - 'isNotEmpty', - 'keys', - 'values' -]); -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[88], 340, 24, "index"); - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$elementAt](index) : this[_parent$][_computeKeys]()[$_get](index); - } - get iterator() { - return dart.test(this[_parent$][_isUpgraded]) ? this[_parent$].keys[$iterator] : this[_parent$][_computeKeys]()[$iterator]; - } - contains(key) { - return this[_parent$].containsKey(key); - } -}; -(convert._JsonMapKeyIterable.new = function(_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[33]); -dart.setFieldSignature(convert._JsonMapKeyIterable, () => ({ - __proto__: dart.getFields(convert._JsonMapKeyIterable.__proto__), - [_parent$]: dart.finalFieldType(convert._JsonMap) -})); -dart.defineExtensionMethods(convert._JsonMapKeyIterable, ['elementAt', 'contains']); -dart.defineExtensionAccessors(convert._JsonMapKeyIterable, ['length', 'iterator']); -var _reviver$ = dart.privateName(convert, "_reviver"); -var _sink$0 = dart.privateName(convert, "_sink"); -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[89], 162, 19, "str"); - this.addSlice(str, 0, str.length, false); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 166, 38, "allowMalformed"); - return new convert._Utf8ConversionSink.new(this, allowMalformed); - } - asStringSink() { - return new convert._StringConversionSinkAsStringSinkAdapter.new(this); - } -}; -(convert.StringConversionSinkMixin.new = function() { - ; -}).prototype = convert.StringConversionSinkMixin.prototype; -dart.addTypeTests(convert.StringConversionSinkMixin); -dart.addTypeCaches(convert.StringConversionSinkMixin); -convert.StringConversionSinkMixin[dart.implements] = () => [convert.StringConversionSink]; -dart.setMethodSignature(convert.StringConversionSinkMixin, () => ({ - __proto__: dart.getMethods(convert.StringConversionSinkMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - asUtf8Sink: dart.fnType(convert.ByteConversionSink, [core.bool]), - asStringSink: dart.fnType(convert.ClosableStringSink, []) -})); -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[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[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)); - } - } else { - this[_stringSink$].write(str); - } - if (dart.test(isLast)) this.close(); - } - add(str) { - core.String.as(str); - if (str == null) dart.nullFailed(I[89], 194, 19, "str"); - this[_stringSink$].write(str); - } - asUtf8Sink(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[89], 198, 38, "allowMalformed"); - return new convert._Utf8StringSinkAdapter.new(this, this[_stringSink$], allowMalformed); - } - asStringSink() { - return new convert._ClosableStringSink.new(this[_stringSink$], dart.bind(this, 'close')); - } - } - (_StringSinkConversionSink.new = function(_stringSink) { - if (_stringSink == null) dart.nullFailed(I[89], 179, 34, "_stringSink"); - this[_stringSink$] = _stringSink; - ; - }).prototype = _StringSinkConversionSink.prototype; - dart.addTypeTests(_StringSinkConversionSink); - _StringSinkConversionSink.prototype[_is__StringSinkConversionSink_default] = true; - dart.addTypeCaches(_StringSinkConversionSink); - dart.setMethodSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getMethods(_StringSinkConversionSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) - })); - dart.setLibraryUri(_StringSinkConversionSink, I[33]); - dart.setFieldSignature(_StringSinkConversionSink, () => ({ - __proto__: dart.getFields(_StringSinkConversionSink.__proto__), - [_stringSink$]: dart.finalFieldType(TStringSink) - })); - return _StringSinkConversionSink; -}); -convert._StringSinkConversionSink = convert._StringSinkConversionSink$(); -dart.addTypeTests(convert._StringSinkConversionSink, _is__StringSinkConversionSink_default); -var _contents = dart.privateName(core, "_contents"); -var _writeString = dart.privateName(core, "_writeString"); -core.StringBuffer = class StringBuffer extends core.Object { - [_writeString](str) { - this[_contents] = this[_contents] + str; - } - static _writeAll(string, objects, 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]) { - do { - string = core.StringBuffer._writeOne(string, iterator.current); - } while (dart.test(iterator.moveNext())); - } else { - string = core.StringBuffer._writeOne(string, iterator.current); - while (dart.test(iterator.moveNext())) { - string = core.StringBuffer._writeOne(string, separator); - string = core.StringBuffer._writeOne(string, iterator.current); - } - } - return string; - } - 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; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - write(obj) { - this[_writeString](dart.str(obj)); - } - writeCharCode(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], 799, 35, "objects"); - if (separator == null) dart.nullFailed(I[7], 799, 52, "separator"); - this[_contents] = core.StringBuffer._writeAll(this[_contents], objects, separator); - } - writeln(obj = "") { - this[_writeString](dart.str(obj) + "\n"); - } - clear() { - this[_contents] = ""; - } - toString() { - return _js_helper.Primitives.flattenString(this[_contents]); - } -}; -(core.StringBuffer.new = function(content = "") { - if (content == null) dart.nullFailed(I[7], 783, 24, "content"); - this[_contents] = dart.str(content); - ; -}).prototype = core.StringBuffer.prototype; -dart.addTypeTests(core.StringBuffer); -dart.addTypeCaches(core.StringBuffer); -core.StringBuffer[dart.implements] = () => [core.StringSink]; -dart.setMethodSignature(core.StringBuffer, () => ({ - __proto__: dart.getMethods(core.StringBuffer.__proto__), - [_writeString]: dart.fnType(dart.void, [core.String]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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[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$]); - this[_stringSink$].clear(); - let decoded = convert._parseJson(accumulated, this[_reviver$]); - this[_sink$0].add(decoded); - this[_sink$0].close(); - } -}; -(convert._JsonDecoderSink.new = function(_reviver, _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("")); - ; -}).prototype = convert._JsonDecoderSink.prototype; -dart.addTypeTests(convert._JsonDecoderSink); -dart.addTypeCaches(convert._JsonDecoderSink); -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)]))), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))) -})); -var _allowInvalid = dart.privateName(convert, "AsciiCodec._allowInvalid"); -var _allowInvalid$ = dart.privateName(convert, "_allowInvalid"); -var _UnicodeSubsetDecoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetDecoder._subsetMask"); -var _UnicodeSubsetDecoder__allowInvalid = dart.privateName(convert, "_UnicodeSubsetDecoder._allowInvalid"); -var _UnicodeSubsetEncoder__subsetMask = dart.privateName(convert, "_UnicodeSubsetEncoder._subsetMask"); -const _is_Codec_default = Symbol('_is_Codec_default'); -convert.Codec$ = dart.generic((S, T) => { - var __t$_InvertedCodecOfT$S = () => (__t$_InvertedCodecOfT$S = dart.constFn(convert._InvertedCodec$(T, S)))(); - class Codec extends core.Object { - encode(input) { - S.as(input); - return this.encoder.convert(input); - } - decode(encoded) { - T.as(encoded); - return this.decoder.convert(encoded); - } - fuse(R, other) { - convert.Codec$(T, R).as(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 (__t$_InvertedCodecOfT$S()).new(this); - } - } - (Codec.new = function() { - ; - }).prototype = Codec.prototype; - dart.addTypeTests(Codec); - Codec.prototype[_is_Codec_default] = true; - dart.addTypeCaches(Codec); - dart.setMethodSignature(Codec, () => ({ - __proto__: dart.getMethods(Codec.__proto__), - encode: dart.fnType(T, [dart.nullable(core.Object)]), - decode: dart.fnType(S, [dart.nullable(core.Object)]), - fuse: dart.gFnType(R => [convert.Codec$(S, R), [dart.nullable(core.Object)]], R => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Codec, () => ({ - __proto__: dart.getGetters(Codec.__proto__), - inverted: convert.Codec$(T, S) - })); - dart.setLibraryUri(Codec, I[33]); - return Codec; -}); -convert.Codec = convert.Codec$(); -dart.addTypeTests(convert.Codec, _is_Codec_default); -core.List$ = dart.generic(E => { - class List extends core.Object { - static new(length = null) { - let list = null; - if (length === void 0) { - list = []; - } else { - let _length = length; - if (length == null || _length < 0) { - dart.throw(new core.ArgumentError.new("Length must be a non-negative integer: " + dart.str(_length))); - } - list = new Array(_length); - list.fill(null); - _interceptors.JSArray.markFixedList(list); - } - 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], 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], 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], 576, 30, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - 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) { - list.push(e); - } - } else { - for (let e of elements) { - list.push(E.as(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], 598, 31, "elements"); - let growable = opts && 'growable' in opts ? opts.growable : true; - if (growable == null) dart.nullFailed(I[7], 598, 47, "growable"); - let list = _interceptors.JSArray$(E).of([]); - for (let e of elements) { - list.push(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], 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"); - 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) { - result[i] = generator(i); - } - return result; - } - static unmodifiable(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[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[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) { - dart.throw("unreachable"); - } - let length = dart.notNull(end) - dart.notNull(start); - if (dart.notNull(target[$length]) < dart.notNull(at) + length) { - dart.throw(new core.ArgumentError.value(target, "target", "Not big enough to hold " + dart.str(length) + " elements at position " + dart.str(at))); - } - if (source != target || dart.notNull(start) >= dart.notNull(at)) { - for (let i = 0; i < length; i = i + 1) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } else { - for (let i = length; (i = i - 1) >= 0;) { - target[$_set](dart.notNull(at) + i, source[$_get](dart.notNull(start) + i)); - } - } - } - static writeIterable(T, target, at, 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.withLength(index, targetLength, {indexable: target})); - } - target[$_set](index, element); - index = dart.notNull(index) + 1; - } - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - } - (List[dart.mixinNew] = function() { - }).prototype = List.prototype; - dart.addTypeTests(List); - List.prototype[dart.isList] = true; - dart.addTypeCaches(List); - List[dart.implements] = () => [_internal.EfficientLengthIterable$(E)]; - 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[91], 21, 49, "byteStream"); - return this.decoder.bind(byteStream).fold(core.StringBuffer, new core.StringBuffer.new(), dart.fn((buffer, string) => { - 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 (() => { - t152.write(string); - return t152; - })(); - }, T$0.StringBufferAndStringToStringBuffer())).then(core.String, dart.fn(buffer => { - if (buffer == null) dart.nullFailed(I[91], 26, 29, "buffer"); - return dart.toString(buffer); - }, T$0.StringBufferToString())); - } - static getByName(name) { - if (name == null) return null; - return convert.Encoding._nameToEncoding[$_get](name[$toLowerCase]()); - } -}; -(convert.Encoding.new = function() { - convert.Encoding.__proto__.new.call(this); - ; -}).prototype = convert.Encoding.prototype; -dart.addTypeTests(convert.Encoding); -dart.addTypeCaches(convert.Encoding); -dart.setMethodSignature(convert.Encoding, () => ({ - __proto__: dart.getMethods(convert.Encoding.__proto__), - decodeStream: dart.fnType(async.Future$(core.String), [async.Stream$(core.List$(core.int))]) -})); -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]); - } -}, false); -convert.AsciiCodec = class AsciiCodec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid]; - } - 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[90], 41, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t152; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[90], 51, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t152 = allowInvalid, t152 == null ? this[_allowInvalid$] : t152))) { - return (C[87] || CT.C87).convert(bytes); - } else { - return (C[88] || CT.C88).convert(bytes); - } - } - get encoder() { - return C[89] || CT.C89; - } - get decoder() { - 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[90], 36, 26, "allowInvalid"); - this[_allowInvalid] = allowInvalid; - convert.AsciiCodec.__proto__.new.call(this); - ; -}).prototype = convert.AsciiCodec.prototype; -dart.addTypeTests(convert.AsciiCodec); -dart.addTypeCaches(convert.AsciiCodec); -dart.setMethodSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getMethods(convert.AsciiCodec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getGetters(convert.AsciiCodec.__proto__), - name: core.String, - encoder: convert.AsciiEncoder, - decoder: convert.AsciiDecoder -})); -dart.setLibraryUri(convert.AsciiCodec, I[33]); -dart.setFieldSignature(convert.AsciiCodec, () => ({ - __proto__: dart.getFields(convert.AsciiCodec.__proto__), - [_allowInvalid$]: dart.finalFieldType(core.bool) -})); -var _subsetMask$ = dart.privateName(convert, "_subsetMask"); -const _subsetMask$0 = _UnicodeSubsetEncoder__subsetMask; -convert._UnicodeSubsetEncoder = class _UnicodeSubsetEncoder extends convert.Converter$(core.String, core.List$(core.int)) { - get [_subsetMask$]() { - return this[_subsetMask$0]; - } - 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[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); - 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) { - let codeUnit = string[$codeUnitAt](dart.notNull(start) + i); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.value(string, "string", "Contains invalid characters.")); - } - result[$_set](i, codeUnit); - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[90], 103, 41, "stream"); - return super.bind(stream); - } -}; -(convert._UnicodeSubsetEncoder.new = function(_subsetMask) { - if (_subsetMask == null) dart.nullFailed(I[90], 71, 36, "_subsetMask"); - this[_subsetMask$0] = _subsetMask; - convert._UnicodeSubsetEncoder.__proto__.new.call(this); - ; -}).prototype = convert._UnicodeSubsetEncoder.prototype; -dart.addTypeTests(convert._UnicodeSubsetEncoder); -dart.addTypeCaches(convert._UnicodeSubsetEncoder); -dart.setMethodSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoder.__proto__), - 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[33]); -dart.setFieldSignature(convert._UnicodeSubsetEncoder, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoder.__proto__), - [_subsetMask$]: dart.finalFieldType(core.int) -})); -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[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[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); - if ((codeUnit & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) { - dart.throw(new core.ArgumentError.new("Source contains invalid character with code point: " + dart.str(codeUnit) + ".")); - } - } - this[_sink$0].add(source[$codeUnits][$sublist](start, end)); - if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._UnicodeSubsetEncoderSink.new = function(_subsetMask, _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; - ; -}).prototype = convert._UnicodeSubsetEncoderSink.prototype; -dart.addTypeTests(convert._UnicodeSubsetEncoderSink); -dart.addTypeCaches(convert._UnicodeSubsetEncoderSink); -dart.setMethodSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -dart.setLibraryUri(convert._UnicodeSubsetEncoderSink, I[33]); -dart.setFieldSignature(convert._UnicodeSubsetEncoderSink, () => ({ - __proto__: dart.getFields(convert._UnicodeSubsetEncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_subsetMask$]: dart.finalFieldType(core.int) -})); -var _convertInvalid = dart.privateName(convert, "_convertInvalid"); -const _allowInvalid$0 = _UnicodeSubsetDecoder__allowInvalid; -const _subsetMask$1 = _UnicodeSubsetDecoder__subsetMask; -convert._UnicodeSubsetDecoder = class _UnicodeSubsetDecoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowInvalid$]() { - return this[_allowInvalid$0]; - } - set [_allowInvalid$](value) { - super[_allowInvalid$] = value; - } - get [_subsetMask$]() { - return this[_subsetMask$1]; - } - set [_subsetMask$](value) { - super[_subsetMask$] = value; - } - convert(bytes, start = 0, end = null) { - T$0.ListOfint().as(bytes); - 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]); - 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) { - if (!dart.test(this[_allowInvalid$])) { - dart.throw(new core.FormatException.new("Invalid value in input: " + dart.str(byte))); - } - return this[_convertInvalid](bytes, start, end); - } - } - return core.String.fromCharCodes(bytes, start, end); - } - [_convertInvalid](bytes, start, 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); - if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask$]) >>> 0) !== 0) value = 65533; - buffer.writeCharCode(value); - } - return buffer.toString(); - } - bind(stream) { - T$0.StreamOfListOfint().as(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[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); - ; -}).prototype = convert._UnicodeSubsetDecoder.prototype; -dart.addTypeTests(convert._UnicodeSubsetDecoder); -dart.addTypeCaches(convert._UnicodeSubsetDecoder); -dart.setMethodSignature(convert._UnicodeSubsetDecoder, () => ({ - __proto__: dart.getMethods(convert._UnicodeSubsetDecoder.__proto__), - 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[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[90], 237, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (dart.test(this[_allowInvalid$])) { - return new convert._ErrorHandlingAsciiDecoderSink.new(stringSink.asUtf8Sink(false)); - } else { - return new convert._SimpleAsciiDecoderSink.new(stringSink); - } - } -}; -(convert.AsciiDecoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[90], 230, 28, "allowInvalid"); - convert.AsciiDecoder.__proto__.new.call(this, allowInvalid, 127); - ; -}).prototype = convert.AsciiDecoder.prototype; -dart.addTypeTests(convert.AsciiDecoder); -dart.addTypeCaches(convert.AsciiDecoder); -dart.setMethodSignature(convert.AsciiDecoder, () => ({ - __proto__: dart.getMethods(convert.AsciiDecoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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 { - 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; - dart.addTypeTests(ChunkedConversionSink); - ChunkedConversionSink.prototype[_is_ChunkedConversionSink_default] = true; - dart.addTypeCaches(ChunkedConversionSink); - ChunkedConversionSink[dart.implements] = () => [core.Sink$(T)]; - 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)) { - 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.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[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(); - } -}; -(convert.ByteConversionSinkBase.new = function() { - convert.ByteConversionSinkBase.__proto__.new.call(this); - ; -}).prototype = convert.ByteConversionSinkBase.prototype; -dart.addTypeTests(convert.ByteConversionSinkBase); -dart.addTypeCaches(convert.ByteConversionSinkBase); -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[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[90], 264, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - addSlice(source, start, end, 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[90] || CT.C90); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_utf8Sink$].addSlice(source, start, end, isLast); - } else if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._ErrorHandlingAsciiDecoderSink.new = function(_utf8Sink) { - if (_utf8Sink == null) dart.nullFailed(I[90], 258, 39, "_utf8Sink"); - this[_utf8Sink$] = _utf8Sink; - convert._ErrorHandlingAsciiDecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._ErrorHandlingAsciiDecoderSink.prototype; -dart.addTypeTests(convert._ErrorHandlingAsciiDecoderSink); -dart.addTypeCaches(convert._ErrorHandlingAsciiDecoderSink); -dart.setMethodSignature(convert._ErrorHandlingAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._ErrorHandlingAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[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.")); - } - } - this[_sink$0].add(core.String.fromCharCodes(source)); - } - addSlice(source, start, end, 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)) { - if (start !== 0 || end != length) { - source = source[$sublist](start, end); - } - this.add(source); - } - if (dart.test(isLast)) this.close(); - } -}; -(convert._SimpleAsciiDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[90], 288, 32, "_sink"); - this[_sink$0] = _sink; - convert._SimpleAsciiDecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._SimpleAsciiDecoderSink.prototype; -dart.addTypeTests(convert._SimpleAsciiDecoderSink); -dart.addTypeCaches(convert._SimpleAsciiDecoderSink); -dart.setMethodSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getMethods(convert._SimpleAsciiDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(convert._SimpleAsciiDecoderSink, I[33]); -dart.setFieldSignature(convert._SimpleAsciiDecoderSink, () => ({ - __proto__: dart.getFields(convert._SimpleAsciiDecoderSink.__proto__), - [_sink$0]: dart.fieldType(core.Sink) -})); -var _encoder = dart.privateName(convert, "Base64Codec._encoder"); -var Base64Encoder__urlSafe = dart.privateName(convert, "Base64Encoder._urlSafe"); -var _encoder$ = dart.privateName(convert, "_encoder"); -convert.Base64Codec = class Base64Codec extends convert.Codec$(core.List$(core.int), core.String) { - get [_encoder$]() { - return this[_encoder]; - } - 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[93] || CT.C93; - } - decode(encoded) { - core.String.as(encoded); - if (encoded == null) dart.nullFailed(I[96], 83, 27, "encoded"); - return this.decoder.convert(encoded); - } - normalize(source, start = 0, end = null) { - 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); - let buffer = null; - let sliceStart = start; - let alphabet = convert._Base64Encoder._base64Alphabet; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - let firstPadding = -1; - let firstPaddingSourceIndex = -1; - let paddingCount = 0; - for (let i = start; dart.notNull(i) < dart.notNull(end);) { - let sliceEnd = i; - 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)) { - char = _internal.parseHexByte(source, i); - i = dart.notNull(i) + 2; - if (char === 37) char = -1; - } else { - char = -1; - } - } - if (0 <= dart.notNull(char) && dart.notNull(char) <= 127) { - let value = inverseAlphabet[$_get](char); - if (dart.notNull(value) >= 0) { - char = alphabet[$codeUnitAt](value); - if (char == originalChar) continue; - } else if (value === -1) { - if (firstPadding < 0) { - 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) { - t152$2 = (t152$1 = buffer, t152$1 == null ? buffer = new core.StringBuffer.new() : t152$1); - (() => { - t152$2.write(source[$substring](sliceStart, sliceEnd)); - t152$2.writeCharCode(char); - return t152$2; - })(); - sliceStart = i; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid base64 data", source, sliceEnd)); - } - if (buffer != null) { - buffer.write(source[$substring](sliceStart, end)); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, buffer.length); - } else { - let endLength = (dart.notNull(buffer.length) - 1)[$modulo](4) + 1; - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - while (endLength < 4) { - buffer.write("="); - endLength = endLength + 1; - } - } - return source[$replaceRange](start, end, dart.toString(buffer)); - } - let length = dart.notNull(end) - dart.notNull(start); - if (firstPadding >= 0) { - convert.Base64Codec._checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, length); - } else { - let endLength = length[$modulo](4); - if (endLength === 1) { - dart.throw(new core.FormatException.new("Invalid base64 encoding length ", source, end)); - } - if (endLength > 1) { - source = source[$replaceRange](end, end, endLength === 2 ? "==" : "="); - } - } - return source; - } - static _checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, 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)); - } - if (dart.notNull(firstPadding) + dart.notNull(paddingCount) !== length) { - dart.throw(new core.FormatException.new("Invalid base64 padding, '=' not at the end", source, sourceIndex)); - } - if (dart.notNull(paddingCount) > 2) { - dart.throw(new core.FormatException.new("Invalid base64 padding, more than two '=' characters", source, sourceIndex)); - } - } -}; -(convert.Base64Codec.new = function() { - this[_encoder] = C[91] || CT.C91; - convert.Base64Codec.__proto__.new.call(this); - ; -}).prototype = convert.Base64Codec.prototype; -(convert.Base64Codec.urlSafe = function() { - this[_encoder] = C[92] || CT.C92; - convert.Base64Codec.__proto__.new.call(this); - ; -}).prototype = convert.Base64Codec.prototype; -dart.addTypeTests(convert.Base64Codec); -dart.addTypeCaches(convert.Base64Codec); -dart.setMethodSignature(convert.Base64Codec, () => ({ - __proto__: dart.getMethods(convert.Base64Codec.__proto__), - 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[33]); -dart.setFieldSignature(convert.Base64Codec, () => ({ - __proto__: dart.getFields(convert.Base64Codec.__proto__), - [_encoder$]: dart.finalFieldType(convert.Base64Encoder) -})); -var _urlSafe = dart.privateName(convert, "_urlSafe"); -const _urlSafe$ = Base64Encoder__urlSafe; -convert.Base64Encoder = class Base64Encoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_urlSafe]() { - return this[_urlSafe$]; - } - 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[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)); - return core.String.fromCharCodes(buffer); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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]); - } - return new convert._AsciiBase64EncoderSink.new(sink, this[_urlSafe]); - } -}; -(convert.Base64Encoder.new = function() { - this[_urlSafe$] = false; - convert.Base64Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Encoder.prototype; -(convert.Base64Encoder.urlSafe = function() { - this[_urlSafe$] = true; - convert.Base64Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Encoder.prototype; -dart.addTypeTests(convert.Base64Encoder); -dart.addTypeCaches(convert.Base64Encoder); -dart.setMethodSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getMethods(convert.Base64Encoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(convert.Base64Encoder, I[33]); -dart.setFieldSignature(convert.Base64Encoder, () => ({ - __proto__: dart.getFields(convert.Base64Encoder.__proto__), - [_urlSafe]: dart.finalFieldType(core.bool) -})); -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[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[96], 293, 29, "state"); - return state[$rightShift](2); - } - static _stateCount(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[96], 299, 30, "bufferLength"); - return _native_typed_data.NativeUint8List.new(bufferLength); - } - encode(bytes, start, end, isLast) { - 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; - let fullChunks = (byteCount / 3)[$truncate](); - let partialChunkLength = byteCount - fullChunks * 3; - let bufferLength = fullChunks * 4; - if (dart.test(isLast) && partialChunkLength > 0) { - bufferLength = bufferLength + 4; - } - let output = this.createBuffer(bufferLength); - this[_state$0] = convert._Base64Encoder.encodeChunk(this[_alphabet], bytes, start, end, isLast, output, 0, this[_state$0]); - if (bufferLength > 0) return output; - return null; - } - static encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, 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; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let byte = bytes[$_get](i); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - bits = (dart.notNull(bits) << 8 | dart.notNull(byte)) & 16777215; - expectedChars = expectedChars - 1; - if (expectedChars === 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; - } - } - if (byteOr >= 0 && byteOr <= 255) { - if (dart.test(isLast) && expectedChars < 3) { - convert._Base64Encoder.writeFinalChunk(alphabet, output, outputIndex, 3 - expectedChars, bits); - return 0; - } - return convert._Base64Encoder._encodeState(3 - expectedChars, bits); - } - let i = start; - while (dart.notNull(i) < dart.notNull(end)) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) break; - i = dart.notNull(i) + 1; - } - 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 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]((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[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[96], 283, 23, "urlSafe"); - this[_state$0] = 0; - this[_alphabet] = dart.test(urlSafe) ? convert._Base64Encoder._base64UrlAlphabet : convert._Base64Encoder._base64Alphabet; - ; -}).prototype = convert._Base64Encoder.prototype; -dart.addTypeTests(convert._Base64Encoder); -dart.addTypeCaches(convert._Base64Encoder); -dart.setMethodSignature(convert._Base64Encoder, () => ({ - __proto__: dart.getMethods(convert._Base64Encoder.__proto__), - 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.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+/"; - }, - /*convert._Base64Encoder._base64UrlAlphabet*/get _base64UrlAlphabet() { - return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; - }, - /*convert._Base64Encoder._valueShift*/get _valueShift() { - return 2; - }, - /*convert._Base64Encoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Encoder._sixBitMask*/get _sixBitMask() { - return 63; - } -}, 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[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); - } - return typed_data.Uint8List.view(buffer[$buffer], buffer[$offsetInBytes], bufferLength); - } -}; -(convert._BufferCachingBase64Encoder.new = function(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[33]); -dart.setFieldSignature(convert._BufferCachingBase64Encoder, () => ({ - __proto__: dart.getFields(convert._BufferCachingBase64Encoder.__proto__), - bufferCache: dart.fieldType(dart.nullable(typed_data.Uint8List)) -})); -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[96], 420, 22, "source"); - this[_add$0](source, 0, source[$length], false); - } - close() { - this[_add$0](C[94] || CT.C94, 0, 0, true); - } - addSlice(source, start, end, 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); - } -}; -(convert._Base64EncoderSink.new = function() { - convert._Base64EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Base64EncoderSink.prototype; -dart.addTypeTests(convert._Base64EncoderSink); -dart.addTypeCaches(convert._Base64EncoderSink); -dart.setMethodSignature(convert._Base64EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64EncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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[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); - this[_sink$0].add(string); - } - if (dart.test(isLast)) { - this[_sink$0].close(); - } - } -}; -(convert._AsciiBase64EncoderSink.new = function(_sink, 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); - ; -}).prototype = convert._AsciiBase64EncoderSink.prototype; -dart.addTypeTests(convert._AsciiBase64EncoderSink); -dart.addTypeCaches(convert._AsciiBase64EncoderSink); -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[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[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); - } - } -}; -(convert._Utf8Base64EncoderSink.new = function(_sink, 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); - ; -}).prototype = convert._Utf8Base64EncoderSink.prototype; -dart.addTypeTests(convert._Utf8Base64EncoderSink); -dart.addTypeCaches(convert._Utf8Base64EncoderSink); -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[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[96], 505, 28, "input"); - if (start == null) dart.nullFailed(I[96], 505, 40, "start"); - end = core.RangeError.checkValidRange(start, end, input.length); - 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)); - decoder.close(input, end); - return buffer; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[96], 514, 63, "sink"); - return new convert._Base64DecoderSink.new(sink); - } -}; -(convert.Base64Decoder.new = function() { - convert.Base64Decoder.__proto__.new.call(this); - ; -}).prototype = convert.Base64Decoder.prototype; -dart.addTypeTests(convert.Base64Decoder); -dart.addTypeCaches(convert.Base64Decoder); -dart.setMethodSignature(convert.Base64Decoder, () => ({ - __proto__: dart.getMethods(convert.Base64Decoder.__proto__), - 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[33]); -convert._Base64Decoder = class _Base64Decoder extends core.Object { - static _encodeCharacterState(count, bits) { - 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[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[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[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[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[96], 612, 35, "state"); - return dart.notNull(state) < 0; - } - decode(input, start, end) { - 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; - } - if (start == end) return _native_typed_data.NativeUint8List.new(0); - let buffer = convert._Base64Decoder._allocateBuffer(input, start, end, this[_state$0]); - this[_state$0] = convert._Base64Decoder.decodeChunk(input, start, end, buffer, 0, this[_state$0]); - return buffer; - } - close(input, end) { - if (dart.notNull(this[_state$0]) < dart.notNull(convert._Base64Decoder._encodePaddingState(0))) { - dart.throw(new core.FormatException.new("Missing padding character", input, end)); - } - if (dart.notNull(this[_state$0]) > 0) { - dart.throw(new core.FormatException.new("Invalid length, must be multiple of four", input, end)); - } - this[_state$0] = convert._Base64Decoder._encodePaddingState(0); - } - static decodeChunk(input, start, end, output, outIndex, 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; - let inverseAlphabet = convert._Base64Decoder._inverseAlphabet; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = input[$codeUnitAt](i); - charOr = (charOr | char) >>> 0; - let code = inverseAlphabet[$_get]((char & 127) >>> 0); - if (dart.notNull(code) >= 0) { - 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[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; - } else if (code === -1 && dart.notNull(count) > 1) { - if (charOr < 0 || charOr > 127) break; - if (count === 3) { - if ((dart.notNull(bits) & 3) !== 0) { - dart.throw(new core.FormatException.new("Invalid encoding before padding", input, i)); - } - 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]((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; - state = convert._Base64Decoder._encodePaddingState(expectedPadding); - return convert._Base64Decoder._checkPadding(input, dart.notNull(i) + 1, end, state); - } - dart.throw(new core.FormatException.new("Invalid character", input, i)); - } - if (charOr >= 0 && charOr <= 127) { - return convert._Base64Decoder._encodeCharacterState(count, bits); - } - let i = null; - 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[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; - let remainderLength = length & 3; - if (remainderLength !== 0 && dart.notNull(paddingStart) < dart.notNull(end)) { - bufferLength = bufferLength + (remainderLength - 1); - } - if (bufferLength > 0) return _native_typed_data.NativeUint8List.new(bufferLength); - return convert._Base64Decoder._emptyBuffer; - } - static _trimPaddingChars(input, start, 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; - while (dart.notNull(index) > dart.notNull(start) && padding < 2) { - index = dart.notNull(index) - 1; - let char = input[$codeUnitAt](index); - if (char === 61) { - padding = padding + 1; - newEnd = index; - continue; - } - if ((char | 32) >>> 0 === 100) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 51) { - if (index == start) break; - index = dart.notNull(index) - 1; - char = input[$codeUnitAt](index); - } - if (char === 37) { - padding = padding + 1; - newEnd = index; - continue; - } - break; - } - return newEnd; - } - static _checkPadding(input, start, end, 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[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) { - if (char === 61) { - expectedPadding = dart.notNull(expectedPadding) - 3; - start = dart.notNull(start) + 1; - break; - } - if (char === 37) { - expectedPadding = dart.notNull(expectedPadding) - 1; - start = dart.notNull(start) + 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } else { - break; - } - } - let expectedPartialPadding = expectedPadding; - if (dart.notNull(expectedPartialPadding) > 3) expectedPartialPadding = dart.notNull(expectedPartialPadding) - 3; - if (expectedPartialPadding === 2) { - if (char !== 51) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - char = input[$codeUnitAt](start); - } - if ((char | 32) >>> 0 !== 100) break; - start = dart.notNull(start) + 1; - expectedPadding = dart.notNull(expectedPadding) - 1; - if (start == end) break; - } - if (start != end) { - dart.throw(new core.FormatException.new("Invalid padding character", input, start)); - } - return convert._Base64Decoder._encodePaddingState(expectedPadding); - } - static ['_#new#tearOff']() { - return new convert._Base64Decoder.new(); - } -}; -(convert._Base64Decoder.new = function() { - this[_state$0] = 0; - ; -}).prototype = convert._Base64Decoder.prototype; -dart.addTypeTests(convert._Base64Decoder); -dart.addTypeCaches(convert._Base64Decoder); -dart.setMethodSignature(convert._Base64Decoder, () => ({ - __proto__: dart.getMethods(convert._Base64Decoder.__proto__), - 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.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; - }, - /*convert._Base64Decoder._countMask*/get _countMask() { - return 3; - }, - /*convert._Base64Decoder._invalid*/get _invalid() { - return -2; - }, - /*convert._Base64Decoder._padding*/get _padding() { - return -1; - }, - /*convert._Base64Decoder.___*/get ___() { - return -2; - }, - /*convert._Base64Decoder._p*/get _p() { - return -1; - }, - /*convert._Base64Decoder._inverseAlphabet*/get _inverseAlphabet() { - return _native_typed_data.NativeInt8List.fromList(T$.JSArrayOfint().of([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -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])); - }, - /*convert._Base64Decoder._char_percent*/get _char_percent() { - return 37; - }, - /*convert._Base64Decoder._char_3*/get _char_3() { - return 51; - }, - /*convert._Base64Decoder._char_d*/get _char_d() { - return 100; - }, - /*convert._Base64Decoder._emptyBuffer*/get _emptyBuffer() { - return _native_typed_data.NativeUint8List.new(0); - }, - 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[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); - } - close() { - this[_decoder].close(null, null); - this[_sink$0].close(); - } - addSlice(string, start, end, 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); - if (buffer != null) this[_sink$0].add(buffer); - if (dart.test(isLast)) { - this[_decoder].close(string, end); - this[_sink$0].close(); - } - } -}; -(convert._Base64DecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[96], 858, 27, "_sink"); - this[_decoder] = new convert._Base64Decoder.new(); - this[_sink$0] = _sink; - ; -}).prototype = convert._Base64DecoderSink.prototype; -dart.addTypeTests(convert._Base64DecoderSink); -dart.addTypeCaches(convert._Base64DecoderSink); -dart.setMethodSignature(convert._Base64DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Base64DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -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[94], 57, 22, "chunk"); - this[_sink$0].add(chunk); - } - close() { - this[_sink$0].close(); - } -}; -(convert._ByteAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[94], 55, 25, "_sink"); - this[_sink$0] = _sink; - convert._ByteAdapterSink.__proto__.new.call(this); - ; -}).prototype = convert._ByteAdapterSink.prototype; -dart.addTypeTests(convert._ByteAdapterSink); -dart.addTypeCaches(convert._ByteAdapterSink); -dart.setMethodSignature(convert._ByteAdapterSink, () => ({ - __proto__: dart.getMethods(convert._ByteAdapterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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))) -})); -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[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]; - let newLength = dart.notNull(convert._ByteCallbackSink._roundToPowerOf2(dart.notNull(chunk[$length]) + dart.notNull(oldLength))) * 2; - let grown = _native_typed_data.NativeUint8List.new(newLength); - grown[$setRange](0, this[_buffer$][$length], this[_buffer$]); - this[_buffer$] = grown; - } - this[_buffer$][$setRange](this[_bufferIndex], dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]), chunk); - this[_bufferIndex] = dart.notNull(this[_bufferIndex]) + dart.notNull(chunk[$length]); - } - static _roundToPowerOf2(v) { - 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; - v = (dart.notNull(v) | v[$rightShift](4)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](8)) >>> 0; - v = (dart.notNull(v) | v[$rightShift](16)) >>> 0; - v = dart.notNull(v) + 1; - return v; - } - close() { - let t153; - t153 = this[_buffer$][$sublist](0, this[_bufferIndex]); - this[_callback$](t153); - } -}; -(convert._ByteCallbackSink.new = function(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; - convert._ByteCallbackSink.__proto__.new.call(this); - ; -}).prototype = convert._ByteCallbackSink.prototype; -dart.addTypeTests(convert._ByteCallbackSink); -dart.addTypeCaches(convert._ByteCallbackSink); -dart.setMethodSignature(convert._ByteCallbackSink, () => ({ - __proto__: dart.getMethods(convert._ByteCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -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; - } -}, false); -var _accumulated = dart.privateName(convert, "_accumulated"); -const _is__SimpleCallbackSink_default = Symbol('_is__SimpleCallbackSink_default'); -convert._SimpleCallbackSink$ = dart.generic(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 t153; - t153 = this[_accumulated]; - this[_callback$](t153); - } - } - (_SimpleCallbackSink.new = function(_callback) { - if (_callback == null) dart.nullFailed(I[95], 41, 28, "_callback"); - this[_accumulated] = __t$JSArrayOfT().of([]); - this[_callback$] = _callback; - _SimpleCallbackSink.__proto__.new.call(this); - ; - }).prototype = _SimpleCallbackSink.prototype; - dart.addTypeTests(_SimpleCallbackSink); - _SimpleCallbackSink.prototype[_is__SimpleCallbackSink_default] = true; - dart.addTypeCaches(_SimpleCallbackSink); - dart.setMethodSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getMethods(_SimpleCallbackSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_SimpleCallbackSink, I[33]); - dart.setFieldSignature(_SimpleCallbackSink, () => ({ - __proto__: dart.getFields(_SimpleCallbackSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(T)])), - [_accumulated]: dart.finalFieldType(core.List$(T)) - })); - return _SimpleCallbackSink; -}); -convert._SimpleCallbackSink = convert._SimpleCallbackSink$(); -dart.addTypeTests(convert._SimpleCallbackSink, _is__SimpleCallbackSink_default); -var _eventSink = dart.privateName(convert, "_eventSink"); -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[95], 75, 24, "error"); - _internal.checkNotNullable(core.Object, error, "error"); - this[_eventSink].addError(error, stackTrace); - } - close() { - this[_chunkedSink$].close(); - } - } - (_ConverterStreamEventSink.new = function(converter, 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); - ; - }).prototype = _ConverterStreamEventSink.prototype; - dart.addTypeTests(_ConverterStreamEventSink); - _ConverterStreamEventSink.prototype[_is__ConverterStreamEventSink_default] = true; - dart.addTypeCaches(_ConverterStreamEventSink); - _ConverterStreamEventSink[dart.implements] = () => [async.EventSink$(S)]; - dart.setMethodSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getMethods(_ConverterStreamEventSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(_ConverterStreamEventSink, I[33]); - dart.setFieldSignature(_ConverterStreamEventSink, () => ({ - __proto__: dart.getFields(_ConverterStreamEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(T)), - [_chunkedSink$]: dart.finalFieldType(core.Sink$(S)) - })); - return _ConverterStreamEventSink; -}); -convert._ConverterStreamEventSink = convert._ConverterStreamEventSink$(); -dart.addTypeTests(convert._ConverterStreamEventSink, _is__ConverterStreamEventSink_default); -var _first$0 = dart.privateName(convert, "_first"); -var _second$0 = dart.privateName(convert, "_second"); -const _is__FusedCodec_default = Symbol('_is__FusedCodec_default'); -convert._FusedCodec$ = dart.generic((S, M, T) => { - class _FusedCodec extends convert.Codec$(S, T) { - get encoder() { - return this[_first$0].encoder.fuse(T, this[_second$0].encoder); - } - 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[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); - ; - }).prototype = _FusedCodec.prototype; - dart.addTypeTests(_FusedCodec); - _FusedCodec.prototype[_is__FusedCodec_default] = true; - dart.addTypeCaches(_FusedCodec); - dart.setGetterSignature(_FusedCodec, () => ({ - __proto__: dart.getGetters(_FusedCodec.__proto__), - encoder: convert.Converter$(S, T), - decoder: convert.Converter$(T, S) - })); - dart.setLibraryUri(_FusedCodec, I[33]); - dart.setFieldSignature(_FusedCodec, () => ({ - __proto__: dart.getFields(_FusedCodec.__proto__), - [_first$0]: dart.finalFieldType(convert.Codec$(S, M)), - [_second$0]: dart.finalFieldType(convert.Codec$(M, T)) - })); - return _FusedCodec; -}); -convert._FusedCodec = convert._FusedCodec$(); -dart.addTypeTests(convert._FusedCodec, _is__FusedCodec_default); -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; - } - get decoder() { - return this[_codec].encoder; - } - get inverted() { - return this[_codec]; - } - } - (_InvertedCodec.new = function(codec) { - if (codec == null) dart.nullFailed(I[92], 91, 30, "codec"); - this[_codec] = codec; - _InvertedCodec.__proto__.new.call(this); - ; - }).prototype = _InvertedCodec.prototype; - dart.addTypeTests(_InvertedCodec); - _InvertedCodec.prototype[_is__InvertedCodec_default] = true; - dart.addTypeCaches(_InvertedCodec); - dart.setGetterSignature(_InvertedCodec, () => ({ - __proto__: dart.getGetters(_InvertedCodec.__proto__), - encoder: convert.Converter$(T, S), - decoder: convert.Converter$(S, T) - })); - dart.setLibraryUri(_InvertedCodec, I[33]); - dart.setFieldSignature(_InvertedCodec, () => ({ - __proto__: dart.getFields(_InvertedCodec.__proto__), - [_codec]: dart.finalFieldType(convert.Codec$(S, T)) - })); - return _InvertedCodec; -}); -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 __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) { - __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[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); - ; - }).prototype = _FusedConverter.prototype; - dart.addTypeTests(_FusedConverter); - _FusedConverter.prototype[_is__FusedConverter_default] = true; - dart.addTypeCaches(_FusedConverter); - dart.setMethodSignature(_FusedConverter, () => ({ - __proto__: dart.getMethods(_FusedConverter.__proto__), - convert: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_FusedConverter, I[33]); - dart.setFieldSignature(_FusedConverter, () => ({ - __proto__: dart.getFields(_FusedConverter.__proto__), - [_first$0]: dart.finalFieldType(convert.Converter$(S, M)), - [_second$0]: dart.finalFieldType(convert.Converter$(M, T)) - })); - return _FusedConverter; -}); -convert._FusedConverter = convert._FusedConverter$(); -dart.addTypeTests(convert._FusedConverter, _is__FusedConverter_default); -var _name$2 = dart.privateName(convert, "HtmlEscapeMode._name"); -var escapeLtGt$ = dart.privateName(convert, "HtmlEscapeMode.escapeLtGt"); -var escapeQuot$ = dart.privateName(convert, "HtmlEscapeMode.escapeQuot"); -var escapeApos$ = dart.privateName(convert, "HtmlEscapeMode.escapeApos"); -var escapeSlash$ = dart.privateName(convert, "HtmlEscapeMode.escapeSlash"); -var _name$3 = dart.privateName(convert, "_name"); -convert.HtmlEscapeMode = class HtmlEscapeMode extends core.Object { - get [_name$3]() { - return this[_name$2]; - } - set [_name$3](value) { - super[_name$3] = value; - } - get escapeLtGt() { - return this[escapeLtGt$]; - } - set escapeLtGt(value) { - super.escapeLtGt = value; - } - get escapeQuot() { - return this[escapeQuot$]; - } - set escapeQuot(value) { - super.escapeQuot = value; - } - get escapeApos() { - return this[escapeApos$]; - } - set escapeApos(value) { - super.escapeApos = value; - } - get escapeSlash() { - return this[escapeSlash$]; - } - 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[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; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - ; -}).prototype = convert.HtmlEscapeMode.prototype; -(convert.HtmlEscapeMode.new = function(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"); - this[escapeLtGt$] = escapeLtGt; - this[escapeQuot$] = escapeQuot; - this[escapeApos$] = escapeApos; - this[escapeSlash$] = escapeSlash; - this[_name$2] = name; - ; -}).prototype = convert.HtmlEscapeMode.prototype; -dart.addTypeTests(convert.HtmlEscapeMode); -dart.addTypeCaches(convert.HtmlEscapeMode); -dart.setLibraryUri(convert.HtmlEscapeMode, I[33]); -dart.setFieldSignature(convert.HtmlEscapeMode, () => ({ - __proto__: dart.getFields(convert.HtmlEscapeMode.__proto__), - [_name$3]: dart.finalFieldType(core.String), - escapeLtGt: dart.finalFieldType(core.bool), - escapeQuot: dart.finalFieldType(core.bool), - 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[95] || CT.C95; - }, - /*convert.HtmlEscapeMode.attribute*/get attribute() { - return C[96] || CT.C96; - }, - /*convert.HtmlEscapeMode.sqAttribute*/get sqAttribute() { - return C[97] || CT.C97; - }, - /*convert.HtmlEscapeMode.element*/get element() { - return C[98] || CT.C98; - } -}, false); -var mode$ = dart.privateName(convert, "HtmlEscape.mode"); -var _convert = dart.privateName(convert, "_convert"); -convert.HtmlEscape = class HtmlEscape extends convert.Converter$(core.String, core.String) { - get mode() { - return this[mode$]; - } - 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[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[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; - } - case "\"": - { - if (dart.test(this.mode.escapeQuot)) replacement = """; - break; - } - case "'": - { - if (dart.test(this.mode.escapeApos)) replacement = "'"; - break; - } - case "<": - { - if (dart.test(this.mode.escapeLtGt)) replacement = "<"; - break; - } - case ">": - { - if (dart.test(this.mode.escapeLtGt)) replacement = ">"; - break; - } - case "/": - { - if (dart.test(this.mode.escapeSlash)) replacement = "/"; - break; - } - } - if (replacement != null) { - result == null ? result = new core.StringBuffer.new() : null; - if (dart.notNull(i) > dart.notNull(start)) result.write(text[$substring](start, i)); - result.write(replacement); - start = dart.notNull(i) + 1; - } - } - if (result == null) return null; - if (dart.notNull(end) > dart.notNull(start)) result.write(text[$substring](start, end)); - return dart.toString(result); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[95] || CT.C95) { - if (mode == null) dart.nullFailed(I[97], 206, 26, "mode"); - this[mode$] = mode; - convert.HtmlEscape.__proto__.new.call(this); - ; -}).prototype = convert.HtmlEscape.prototype; -dart.addTypeTests(convert.HtmlEscape); -dart.addTypeCaches(convert.HtmlEscape); -dart.setMethodSignature(convert.HtmlEscape, () => ({ - __proto__: dart.getMethods(convert.HtmlEscape.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - [_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[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[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); - } else { - this[_sink$0].add(val); - if (dart.test(isLast)) this[_sink$0].close(); - } - } - close() { - this[_sink$0].close(); - } -}; -(convert._HtmlEscapeSink.new = function(_escape, _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; - ; -}).prototype = convert._HtmlEscapeSink.prototype; -dart.addTypeTests(convert._HtmlEscapeSink); -dart.addTypeCaches(convert._HtmlEscapeSink); -dart.setMethodSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getMethods(convert._HtmlEscapeSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._HtmlEscapeSink, I[33]); -dart.setFieldSignature(convert._HtmlEscapeSink, () => ({ - __proto__: dart.getFields(convert._HtmlEscapeSink.__proto__), - [_escape$]: dart.finalFieldType(convert.HtmlEscape), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink) -})); -var unsupportedObject$ = dart.privateName(convert, "JsonUnsupportedObjectError.unsupportedObject"); -var cause$ = dart.privateName(convert, "JsonUnsupportedObjectError.cause"); -var partialResult$ = dart.privateName(convert, "JsonUnsupportedObjectError.partialResult"); -convert.JsonUnsupportedObjectError = class JsonUnsupportedObjectError extends core.Error { - get unsupportedObject() { - return this[unsupportedObject$]; - } - set unsupportedObject(value) { - super.unsupportedObject = value; - } - get cause() { - return this[cause$]; - } - set cause(value) { - super.cause = value; - } - get partialResult() { - return this[partialResult$]; - } - 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; - if (this.cause != null) { - prefix = "Converting object to an encodable object failed:"; - } else { - prefix = "Converting object did not return an encodable object:"; - } - return dart.str(prefix) + " " + dart.str(safeString); - } -}; -(convert.JsonUnsupportedObjectError.new = function(unsupportedObject, opts) { - let cause = opts && 'cause' in opts ? opts.cause : null; - let partialResult = opts && 'partialResult' in opts ? opts.partialResult : null; - this[unsupportedObject$] = unsupportedObject; - this[cause$] = cause; - this[partialResult$] = partialResult; - convert.JsonUnsupportedObjectError.__proto__.new.call(this); - ; -}).prototype = convert.JsonUnsupportedObjectError.prototype; -dart.addTypeTests(convert.JsonUnsupportedObjectError); -dart.addTypeCaches(convert.JsonUnsupportedObjectError); -dart.setLibraryUri(convert.JsonUnsupportedObjectError, I[33]); -dart.setFieldSignature(convert.JsonUnsupportedObjectError, () => ({ - __proto__: dart.getFields(convert.JsonUnsupportedObjectError.__proto__), - unsupportedObject: dart.finalFieldType(dart.nullable(core.Object)), - cause: dart.finalFieldType(dart.nullable(core.Object)), - partialResult: dart.finalFieldType(dart.nullable(core.String)) -})); -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"; - } -}; -(convert.JsonCyclicError.new = function(object) { - convert.JsonCyclicError.__proto__.new.call(this, object); - ; -}).prototype = convert.JsonCyclicError.prototype; -dart.addTypeTests(convert.JsonCyclicError); -dart.addTypeCaches(convert.JsonCyclicError); -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"); -var _toEncodable$ = dart.privateName(convert, "_toEncodable"); -var JsonEncoder__toEncodable = dart.privateName(convert, "JsonEncoder._toEncodable"); -var JsonEncoder_indent = dart.privateName(convert, "JsonEncoder.indent"); -var JsonDecoder__reviver = dart.privateName(convert, "JsonDecoder._reviver"); -convert.JsonCodec = class JsonCodec extends convert.Codec$(dart.nullable(core.Object), core.String) { - get [_reviver$]() { - return this[_reviver]; - } - set [_reviver$](value) { - super[_reviver$] = value; - } - get [_toEncodable$]() { - return this[_toEncodable]; - } - 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[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); - return new convert.JsonDecoder.new(reviver).convert(source); - } - encode(value, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - toEncodable == null ? toEncodable = this[_toEncodable$] : null; - if (toEncodable == null) return this.encoder.convert(value); - return new convert.JsonEncoder.new(toEncodable).convert(value); - } - get encoder() { - if (this[_toEncodable$] == null) return C[99] || CT.C99; - return new convert.JsonEncoder.new(this[_toEncodable$]); - } - get decoder() { - if (this[_reviver$] == null) return C[100] || CT.C100; - return new convert.JsonDecoder.new(this[_reviver$]); - } -}; -(convert.JsonCodec.new = function(opts) { - let reviver = opts && 'reviver' in opts ? opts.reviver : null; - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - this[_reviver] = reviver; - this[_toEncodable] = toEncodable; - convert.JsonCodec.__proto__.new.call(this); - ; -}).prototype = convert.JsonCodec.prototype; -(convert.JsonCodec.withReviver = function(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); -dart.addTypeCaches(convert.JsonCodec); -dart.setMethodSignature(convert.JsonCodec, () => ({ - __proto__: dart.getMethods(convert.JsonCodec.__proto__), - decode: dart.fnType(dart.dynamic, [dart.nullable(core.Object)], {reviver: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.nullable(core.Object), dart.nullable(core.Object)]))}, {}), - encode: dart.fnType(core.String, [dart.nullable(core.Object)], {toEncodable: dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))}, {}) -})); -dart.setGetterSignature(convert.JsonCodec, () => ({ - __proto__: dart.getGetters(convert.JsonCodec.__proto__), - encoder: convert.JsonEncoder, - decoder: convert.JsonDecoder -})); -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)]))), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) -})); -const indent$ = JsonEncoder_indent; -const _toEncodable$0 = JsonEncoder__toEncodable; -convert.JsonEncoder = class JsonEncoder extends convert.Converter$(dart.nullable(core.Object), core.String) { - get indent() { - return this[indent$]; - } - set indent(value) { - super.indent = value; - } - get [_toEncodable$]() { - return this[_toEncodable$0]; - } - 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[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); - } - return new convert._JsonEncoderSink.new(convert.StringConversionSink.is(sink) ? sink : new convert._StringAdapterSink.new(sink), this[_toEncodable$], this.indent); - } - bind(stream) { - T$0.StreamOfObjectN().as(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[98], 371, 54, "other"); - if (convert.Utf8Encoder.is(other)) { - return convert.Converter$(T$.ObjectN(), T).as(new convert.JsonUtf8Encoder.new(this.indent, this[_toEncodable$])); - } - return super.fuse(T, other); - } -}; -(convert.JsonEncoder.new = function(toEncodable = null) { - this[indent$] = null; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonEncoder.prototype; -(convert.JsonEncoder.withIndent = function(indent, toEncodable = null) { - this[indent$] = indent; - this[_toEncodable$0] = toEncodable; - convert.JsonEncoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonEncoder.prototype; -dart.addTypeTests(convert.JsonEncoder); -dart.addTypeCaches(convert.JsonEncoder); -dart.setMethodSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getMethods(convert.JsonEncoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - 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[33]); -dart.setFieldSignature(convert.JsonEncoder, () => ({ - __proto__: dart.getFields(convert.JsonEncoder.__proto__), - indent: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))) -})); -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); - L0: { - for (let i = 0; i < string.length; i = i + 1) { - if (string[$codeUnitAt](i) >= 128) break L0; - } - return string[$codeUnits]; - } - return convert.utf8.encode(string); - } - convert(object) { - let bytes = T$0.JSArrayOfListOfint().of([]); - function addChunk(chunk, start, 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); - } - bytes[$add](chunk); - } - dart.fn(addChunk, T$0.Uint8ListAndintAndintTovoid()); - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], addChunk); - if (bytes[$length] === 1) return bytes[$_get](0); - let length = 0; - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - length = length + dart.notNull(bytes[$_get](i)[$length]); - } - let result = _native_typed_data.NativeUint8List.new(length); - for (let i = 0, offset = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byteList = bytes[$_get](i); - let end = offset + dart.notNull(byteList[$length]); - result[$setRange](offset, end, byteList); - offset = end; - } - return result; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[98], 478, 73, "sink"); - let byteSink = null; - if (convert.ByteConversionSink.is(sink)) { - byteSink = sink; - } else { - byteSink = new convert._ByteAdapterSink.new(sink); - } - return new convert._JsonUtf8EncoderSink.new(byteSink, this[_toEncodable$], this[_indent$], this[_bufferSize$]); - } - bind(stream) { - T$0.StreamOfObjectN().as(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 t153; - this[_indent$] = convert.JsonUtf8Encoder._utf8Encode(indent); - this[_toEncodable$] = toEncodable; - this[_bufferSize$] = (t153 = bufferSize, t153 == null ? 256 : t153); - convert.JsonUtf8Encoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonUtf8Encoder.prototype; -dart.addTypeTests(convert.JsonUtf8Encoder); -dart.addTypeCaches(convert.JsonUtf8Encoder); -dart.setMethodSignature(convert.JsonUtf8Encoder, () => ({ - __proto__: dart.getMethods(convert.JsonUtf8Encoder.__proto__), - 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.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; - } -}, 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")); - } - this[_isDone] = true; - let stringSink = this[_sink$0].asStringSink(); - convert._JsonStringStringifier.printOn(o, stringSink, this[_toEncodable$], this[_indent$]); - stringSink.close(); - } - close() { - } -}; -(convert._JsonEncoderSink.new = function(_sink, _toEncodable, _indent) { - if (_sink == null) dart.nullFailed(I[98], 503, 25, "_sink"); - this[_isDone] = false; - this[_sink$0] = _sink; - this[_toEncodable$] = _toEncodable; - this[_indent$] = _indent; - convert._JsonEncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._JsonEncoderSink.prototype; -dart.addTypeTests(convert._JsonEncoderSink); -dart.addTypeCaches(convert._JsonEncoderSink); -dart.setMethodSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonEncoderSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._JsonEncoderSink, I[33]); -dart.setFieldSignature(convert._JsonEncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonEncoderSink.__proto__), - [_indent$]: dart.finalFieldType(dart.nullable(core.String)), - [_toEncodable$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.nullable(core.Object), [dart.dynamic]))), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_isDone]: dart.fieldType(core.bool) -})); -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[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) { - if (dart.test(this[_isDone])) { - dart.throw(new core.StateError.new("Only one call to add allowed")); - } - this[_isDone] = true; - convert._JsonUtf8Stringifier.stringify(object, this[_indent$], this[_toEncodable$], this[_bufferSize$], dart.bind(this, _addChunk)); - this[_sink$0].close(); - } - close() { - if (!dart.test(this[_isDone])) { - this[_isDone] = true; - this[_sink$0].close(); - } - } -}; -(convert._JsonUtf8EncoderSink.new = function(_sink, _toEncodable, _indent, _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; - this[_indent$] = _indent; - this[_bufferSize$] = _bufferSize; - convert._JsonUtf8EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._JsonUtf8EncoderSink.prototype; -dart.addTypeTests(convert._JsonUtf8EncoderSink); -dart.addTypeCaches(convert._JsonUtf8EncoderSink); -dart.setMethodSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8EncoderSink.__proto__), - [_addChunk]: dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(convert._JsonUtf8EncoderSink, I[33]); -dart.setFieldSignature(convert._JsonUtf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._JsonUtf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink), - [_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), - [_isDone]: dart.fieldType(core.bool) -})); -const _reviver$0 = JsonDecoder__reviver; -convert.JsonDecoder = class JsonDecoder extends convert.Converter$(core.String, dart.nullable(core.Object)) { - get [_reviver$]() { - return this[_reviver$0]; - } - 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[98], 610, 26, "input"); - return convert._parseJson(input, this[_reviver$]); - } - startChunkedConversion(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[98], 618, 39, "stream"); - return super.bind(stream); - } -}; -(convert.JsonDecoder.new = function(reviver = null) { - this[_reviver$0] = reviver; - convert.JsonDecoder.__proto__.new.call(this); - ; -}).prototype = convert.JsonDecoder.prototype; -dart.addTypeTests(convert.JsonDecoder); -dart.addTypeCaches(convert.JsonDecoder); -dart.setMethodSignature(convert.JsonDecoder, () => ({ - __proto__: dart.getMethods(convert.JsonDecoder.__proto__), - 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[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)]))) -})); -var _seen = dart.privateName(convert, "_seen"); -var _checkCycle = dart.privateName(convert, "_checkCycle"); -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[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[98], 682, 34, "s"); - let offset = 0; - let length = s.length; - for (let i = 0; i < length; i = i + 1) { - let charCode = s[$codeUnitAt](i); - if (charCode > 92) { - if (charCode >= 55296) { - if ((charCode & 64512) >>> 0 === 55296 && !(i + 1 < length && (s[$codeUnitAt](i + 1) & 64512) >>> 0 === 56320) || (charCode & 64512) >>> 0 === 56320 && !(i - 1 >= 0 && (s[$codeUnitAt](i - 1) & 64512) >>> 0 === 55296)) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(117); - this.writeCharCode(100); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 8 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode >> 4 & 15)); - this.writeCharCode(convert._JsonStringifier.hexDigit(charCode & 15)); - } - } - continue; - } - if (charCode < 32) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - switch (charCode) { - case 8: - { - this.writeCharCode(98); - break; - } - case 9: - { - this.writeCharCode(116); - break; - } - case 10: - { - this.writeCharCode(110); - break; - } - case 12: - { - this.writeCharCode(102); - break; - } - case 13: - { - 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; - } - } - } else if (charCode === 34 || charCode === 92) { - if (i > offset) this.writeStringSlice(s, offset, i); - offset = i + 1; - this.writeCharCode(92); - this.writeCharCode(charCode); - } - } - if (offset === 0) { - this.writeString(s); - } else if (offset < length) { - this.writeStringSlice(s, offset, length); - } - } - [_checkCycle](object) { - for (let i = 0; i < dart.notNull(this[_seen][$length]); i = i + 1) { - if (core.identical(object, this[_seen][$_get](i))) { - dart.throw(new convert.JsonCyclicError.new(object)); - } - } - this[_seen][$add](object); - } - [_removeSeen](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 t153; - if (dart.test(this.writeJsonValue(object))) return; - this[_checkCycle](object); - try { - let customJson = (t153 = object, this[_toEncodable$](t153)); - if (!dart.test(this.writeJsonValue(customJson))) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {partialResult: this[_partialResult]})); - } - this[_removeSeen](object); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new convert.JsonUnsupportedObjectError.new(object, {cause: e, partialResult: this[_partialResult]})); - } else - throw e$; - } - } - writeJsonValue(object) { - if (typeof object == 'number') { - if (!object[$isFinite]) return false; - this.writeNumber(object); - return true; - } else if (object === true) { - this.writeString("true"); - return true; - } else if (object === false) { - this.writeString("false"); - return true; - } else if (object == null) { - this.writeString("null"); - return true; - } else if (typeof object == 'string') { - this.writeString("\""); - this.writeStringContent(object); - this.writeString("\""); - return true; - } else if (core.List.is(object)) { - this[_checkCycle](object); - this.writeList(object); - this[_removeSeen](object); - return true; - } else if (core.Map.is(object)) { - this[_checkCycle](object); - let success = this.writeMap(object); - this[_removeSeen](object); - return success; - } else { - return false; - } - } - writeList(list) { - if (list == null) dart.nullFailed(I[98], 838, 32, "list"); - this.writeString("["); - if (dart.test(list[$isNotEmpty])) { - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(","); - this.writeObject(list[$_get](i)); - } - } - this.writeString("]"); - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 851, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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("{"); - let separator = "\""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\""; - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\":"); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("}"); - return true; - } -}; -(convert._JsonStringifier.new = function(toEncodable) { - let t153; - this[_seen] = []; - this[_toEncodable$] = (t153 = toEncodable, t153 == null ? C[101] || CT.C101 : t153); - ; -}).prototype = convert._JsonStringifier.prototype; -dart.addTypeTests(convert._JsonStringifier); -dart.addTypeCaches(convert._JsonStringifier); -dart.setMethodSignature(convert._JsonStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringifier.__proto__), - writeStringContent: dart.fnType(dart.void, [core.String]), - [_checkCycle]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_removeSeen]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeObject: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeJsonValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - 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.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; - }, - /*convert._JsonStringifier.tab*/get tab() { - return 9; - }, - /*convert._JsonStringifier.newline*/get newline() { - return 10; - }, - /*convert._JsonStringifier.carriageReturn*/get carriageReturn() { - return 13; - }, - /*convert._JsonStringifier.formFeed*/get formFeed() { - return 12; - }, - /*convert._JsonStringifier.quote*/get quote() { - return 34; - }, - /*convert._JsonStringifier.char_0*/get char_0() { - return 48; - }, - /*convert._JsonStringifier.backslash*/get backslash() { - return 92; - }, - /*convert._JsonStringifier.char_b*/get char_b() { - return 98; - }, - /*convert._JsonStringifier.char_d*/get char_d() { - return 100; - }, - /*convert._JsonStringifier.char_f*/get char_f() { - return 102; - }, - /*convert._JsonStringifier.char_n*/get char_n() { - return 110; - }, - /*convert._JsonStringifier.char_r*/get char_r() { - return 114; - }, - /*convert._JsonStringifier.char_t*/get char_t() { - return 116; - }, - /*convert._JsonStringifier.char_u*/get char_u() { - return 117; - }, - /*convert._JsonStringifier.surrogateMin*/get surrogateMin() { - return 55296; - }, - /*convert._JsonStringifier.surrogateMask*/get surrogateMask() { - return 64512; - }, - /*convert._JsonStringifier.surrogateLead*/get surrogateLead() { - return 55296; - }, - /*convert._JsonStringifier.surrogateTrail*/get surrogateTrail() { - return 56320; - } -}, false); -var _indentLevel = dart.privateName(convert, "_JsonPrettyPrintMixin._indentLevel"); -var _indentLevel$ = dart.privateName(convert, "_indentLevel"); -convert._JsonPrettyPrintMixin = class _JsonPrettyPrintMixin extends core.Object { - get [_indentLevel$]() { - 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[98], 891, 32, "list"); - if (dart.test(list[$isEmpty])) { - this.writeString("[]"); - } else { - this.writeString("[\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](0)); - for (let i = 1; i < dart.notNull(list[$length]); i = i + 1) { - this.writeString(",\n"); - this.writeIndentation(this[_indentLevel$]); - this.writeObject(list[$_get](i)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("]"); - } - } - writeMap(map) { - if (map == null) dart.nullFailed(I[98], 911, 39, "map"); - if (dart.test(map[$isEmpty])) { - this.writeString("{}"); - return true; - } - let keyValueList = T$.ListOfObjectN().filled(dart.notNull(map[$length]) * 2, null); - let i = 0; - let allStringKeys = true; - map[$forEach](dart.fn((key, value) => { - let t154, t154$; - if (!(typeof key == 'string')) { - allStringKeys = false; - } - 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"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) + 1; - let separator = ""; - for (let i = 0; i < dart.notNull(keyValueList[$length]); i = i + 2) { - this.writeString(separator); - separator = ",\n"; - this.writeIndentation(this[_indentLevel$]); - this.writeString("\""); - this.writeStringContent(core.String.as(keyValueList[$_get](i))); - this.writeString("\": "); - this.writeObject(keyValueList[$_get](i + 1)); - } - this.writeString("\n"); - this[_indentLevel$] = dart.notNull(this[_indentLevel$]) - 1; - this.writeIndentation(this[_indentLevel$]); - this.writeString("}"); - return true; - } -}; -(convert._JsonPrettyPrintMixin.new = function() { - this[_indentLevel] = 0; - ; -}).prototype = convert._JsonPrettyPrintMixin.prototype; -dart.addTypeTests(convert._JsonPrettyPrintMixin); -dart.addTypeCaches(convert._JsonPrettyPrintMixin); -convert._JsonPrettyPrintMixin[dart.implements] = () => [convert._JsonStringifier]; -dart.setMethodSignature(convert._JsonPrettyPrintMixin, () => ({ - __proto__: dart.getMethods(convert._JsonPrettyPrintMixin.__proto__), - 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[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[98], 974, 50, "output"); - let stringifier = null; - if (indent == null) { - stringifier = new convert._JsonStringStringifier.new(output, toEncodable); - } else { - stringifier = new convert._JsonStringStringifierPretty.new(output, toEncodable, indent); - } - stringifier.writeObject(object); - } - get [_partialResult]() { - return core.StringBuffer.is(this[_sink$0]) ? dart.toString(this[_sink$0]) : null; - } - writeNumber(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[98], 991, 27, "string"); - this[_sink$0].write(string); - } - writeStringSlice(string, start, 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[98], 999, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } -}; -(convert._JsonStringStringifier.new = function(_sink, _toEncodable) { - if (_sink == null) dart.nullFailed(I[98], 952, 12, "_sink"); - this[_sink$0] = _sink; - convert._JsonStringStringifier.__proto__.new.call(this, _toEncodable); - ; -}).prototype = convert._JsonStringStringifier.prototype; -dart.addTypeTests(convert._JsonStringStringifier); -dart.addTypeCaches(convert._JsonStringStringifier); -dart.setMethodSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifier.__proto__), - writeNumber: dart.fnType(dart.void, [core.num]), - writeString: dart.fnType(dart.void, [core.String]), - 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[33]); -dart.setFieldSignature(convert._JsonStringStringifier, () => ({ - __proto__: dart.getFields(convert._JsonStringStringifier.__proto__), - [_sink$0]: dart.finalFieldType(core.StringSink) -})); -const _JsonStringStringifier__JsonPrettyPrintMixin$36 = class _JsonStringStringifier__JsonPrettyPrintMixin extends convert._JsonStringStringifier {}; -(_JsonStringStringifier__JsonPrettyPrintMixin$36.new = function(_sink, _toEncodable) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonStringStringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, _sink, _toEncodable); -}).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[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[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); - ; -}).prototype = convert._JsonStringStringifierPretty.prototype; -dart.addTypeTests(convert._JsonStringStringifierPretty); -dart.addTypeCaches(convert._JsonStringStringifierPretty); -dart.setMethodSignature(convert._JsonStringStringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonStringStringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) -})); -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[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); - } else { - stringifier = new convert._JsonUtf8Stringifier.new(toEncodable, bufferSize, addChunk); - } - stringifier.writeObject(object); - stringifier.flush(); - } - flush() { - let t156, t155, t154; - if (dart.notNull(this.index) > 0) { - t154 = this.buffer; - t155 = 0; - t156 = this.index; - this.addChunk(t154, t155, t156); - } - this.buffer = _native_typed_data.NativeUint8List.new(0); - this.index = 0; - } - get [_partialResult]() { - return null; - } - writeNumber(number) { - if (number == null) dart.nullFailed(I[98], 1070, 24, "number"); - this.writeAsciiString(dart.toString(number)); - } - writeAsciiString(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[98], 1080, 14, "char <= 0x7f"); - this.writeByte(char); - } - } - writeString(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[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) { - this.writeByte(char); - } else { - if ((char & 63488) === 55296) { - if (char < 56320 && dart.notNull(i) + 1 < dart.notNull(end)) { - let nextChar = string[$codeUnitAt](dart.notNull(i) + 1); - if ((nextChar & 64512) === 56320) { - char = 65536 + ((char & 1023) << 10) + (nextChar & 1023); - this.writeFourByteCharCode(char); - i = dart.notNull(i) + 1; - continue; - } - } - this.writeMultiByteCharCode(65533); - continue; - } - this.writeMultiByteCharCode(char); - } - } - } - writeCharCode(charCode) { - if (charCode == null) dart.nullFailed(I[98], 1120, 26, "charCode"); - if (dart.notNull(charCode) <= 127) { - this.writeByte(charCode); - return; - } - this.writeMultiByteCharCode(charCode); - } - writeMultiByteCharCode(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); - return; - } - if (dart.notNull(charCode) <= 65535) { - this.writeByte((224 | charCode[$rightShift](12)) >>> 0); - this.writeByte(128 | dart.notNull(charCode) >> 6 & 63); - this.writeByte(128 | dart.notNull(charCode) & 63); - return; - } - this.writeFourByteCharCode(charCode); - } - writeFourByteCharCode(charCode) { - 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 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]) { - 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]((t154$ = this.index, this.index = dart.notNull(t154$) + 1, t154$), byte); - } -}; -(convert._JsonUtf8Stringifier.new = function(toEncodable, bufferSize, 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; - this.buffer = _native_typed_data.NativeUint8List.new(bufferSize); - convert._JsonUtf8Stringifier.__proto__.new.call(this, toEncodable); - ; -}).prototype = convert._JsonUtf8Stringifier.prototype; -dart.addTypeTests(convert._JsonUtf8Stringifier); -dart.addTypeCaches(convert._JsonUtf8Stringifier); -dart.setMethodSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8Stringifier.__proto__), - flush: dart.fnType(dart.void, []), - writeNumber: dart.fnType(dart.void, [core.num]), - writeAsciiString: dart.fnType(dart.void, [core.String]), - writeString: dart.fnType(dart.void, [core.String]), - writeStringSlice: dart.fnType(dart.void, [core.String, core.int, core.int]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeMultiByteCharCode: dart.fnType(dart.void, [core.int]), - 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[33]); -dart.setFieldSignature(convert._JsonUtf8Stringifier, () => ({ - __proto__: dart.getFields(convert._JsonUtf8Stringifier.__proto__), - bufferSize: dart.finalFieldType(core.int), - addChunk: dart.finalFieldType(dart.fnType(dart.void, [typed_data.Uint8List, core.int, core.int])), - buffer: dart.fieldType(typed_data.Uint8List), - index: dart.fieldType(core.int) -})); -const _JsonUtf8Stringifier__JsonPrettyPrintMixin$36 = class _JsonUtf8Stringifier__JsonPrettyPrintMixin extends convert._JsonUtf8Stringifier {}; -(_JsonUtf8Stringifier__JsonPrettyPrintMixin$36.new = function(toEncodable, bufferSize, addChunk) { - convert._JsonPrettyPrintMixin.new.call(this); - _JsonUtf8Stringifier__JsonPrettyPrintMixin$36.__proto__.new.call(this, toEncodable, bufferSize, addChunk); -}).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[98], 1170, 29, "count"); - let indent = this.indent; - let indentLength = indent[$length]; - if (indentLength === 1) { - let char = indent[$_get](0); - while (dart.notNull(count) > 0) { - this.writeByte(char); - count = dart.notNull(count) - 1; - } - return; - } - while (dart.notNull(count) > 0) { - count = dart.notNull(count) - 1; - let end = dart.notNull(this.index) + dart.notNull(indentLength); - if (end <= dart.notNull(this.buffer[$length])) { - this.buffer[$setRange](this.index, end, indent); - this.index = end; - } else { - for (let i = 0; i < dart.notNull(indentLength); i = i + 1) { - this.writeByte(indent[$_get](i)); - } - } - } - } -}; -(convert._JsonUtf8StringifierPretty.new = function(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"); - this.indent = indent; - convert._JsonUtf8StringifierPretty.__proto__.new.call(this, toEncodable, bufferSize, addChunk); - ; -}).prototype = convert._JsonUtf8StringifierPretty.prototype; -dart.addTypeTests(convert._JsonUtf8StringifierPretty); -dart.addTypeCaches(convert._JsonUtf8StringifierPretty); -dart.setMethodSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getMethods(convert._JsonUtf8StringifierPretty.__proto__), - writeIndentation: dart.fnType(dart.void, [core.int]) -})); -dart.setLibraryUri(convert._JsonUtf8StringifierPretty, I[33]); -dart.setFieldSignature(convert._JsonUtf8StringifierPretty, () => ({ - __proto__: dart.getFields(convert._JsonUtf8StringifierPretty.__proto__), - indent: dart.finalFieldType(core.List$(core.int)) -})); -var _allowInvalid$1 = dart.privateName(convert, "Latin1Codec._allowInvalid"); -convert.Latin1Codec = class Latin1Codec extends convert.Encoding { - get [_allowInvalid$]() { - return this[_allowInvalid$1]; - } - 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[99], 40, 27, "source"); - return this.encoder.convert(source); - } - decode(bytes, opts) { - let t154; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[99], 50, 27, "bytes"); - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : null; - if (dart.test((t154 = allowInvalid, t154 == null ? this[_allowInvalid$] : t154))) { - return (C[102] || CT.C102).convert(bytes); - } else { - return (C[103] || CT.C103).convert(bytes); - } - } - get encoder() { - return C[104] || CT.C104; - } - get decoder() { - 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[99], 35, 27, "allowInvalid"); - this[_allowInvalid$1] = allowInvalid; - convert.Latin1Codec.__proto__.new.call(this); - ; -}).prototype = convert.Latin1Codec.prototype; -dart.addTypeTests(convert.Latin1Codec); -dart.addTypeCaches(convert.Latin1Codec); -dart.setMethodSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getMethods(convert.Latin1Codec.__proto__), - encode: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowInvalid: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.Latin1Codec, () => ({ - __proto__: dart.getGetters(convert.Latin1Codec.__proto__), - name: core.String, - encoder: convert.Latin1Encoder, - decoder: convert.Latin1Decoder -})); -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 { - 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[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[99], 124, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - if (!dart.test(this[_allowInvalid$])) return new convert._Latin1DecoderSink.new(stringSink); - return new convert._Latin1AllowInvalidDecoderSink.new(stringSink); - } -}; -(convert.Latin1Decoder.new = function(opts) { - let allowInvalid = opts && 'allowInvalid' in opts ? opts.allowInvalid : false; - if (allowInvalid == null) dart.nullFailed(I[99], 117, 29, "allowInvalid"); - convert.Latin1Decoder.__proto__.new.call(this, allowInvalid, 255); - ; -}).prototype = convert.Latin1Decoder.prototype; -dart.addTypeTests(convert.Latin1Decoder); -dart.addTypeCaches(convert.Latin1Decoder); -dart.setMethodSignature(convert.Latin1Decoder, () => ({ - __proto__: dart.getMethods(convert.Latin1Decoder.__proto__), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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[99], 146, 22, "source"); - this.addSlice(source, 0, source[$length], false); - } - [_addSliceToSink](source, start, end, 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[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)) { - convert._Latin1DecoderSink._checkValidLatin1(source, start, end); - } - this[_addSliceToSink](source, start, end, isLast); - } - static _checkValidLatin1(source, start, 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; - } - if (mask >= 0 && mask <= 255) { - return; - } - convert._Latin1DecoderSink._reportInvalidLatin1(source, start, end); - } - static _reportInvalidLatin1(source, start, 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[99], 192, 12, "false"); - } -}; -(convert._Latin1DecoderSink.new = function(_sink) { - this[_sink$0] = _sink; - convert._Latin1DecoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Latin1DecoderSink.prototype; -dart.addTypeTests(convert._Latin1DecoderSink); -dart.addTypeCaches(convert._Latin1DecoderSink); -dart.setMethodSignature(convert._Latin1DecoderSink, () => ({ - __proto__: dart.getMethods(convert._Latin1DecoderSink.__proto__), - close: dart.fnType(dart.void, []), - 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.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[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[105] || CT.C105, 0, 1, false); - start = dart.notNull(i) + 1; - } - } - if (dart.notNull(start) < dart.notNull(end)) { - this[_addSliceToSink](source, start, end, isLast); - } - if (dart.test(isLast)) { - this.close(); - } - } -}; -(convert._Latin1AllowInvalidDecoderSink.new = function(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[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[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[100], 52, 31, "data"); - let lines = T$.JSArrayOfString().of([]); - let end = data.length; - let sliceStart = 0; - let char = 0; - for (let i = 0; i < end; i = i + 1) { - let previousChar = char; - char = data[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = i + 1; - continue; - } - } - lines[$add](data[$substring](sliceStart, i)); - sliceStart = i + 1; - } - if (sliceStart < end) { - lines[$add](data[$substring](sliceStart, end)); - } - return lines; - } - startChunkedConversion(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[100], 81, 38, "stream"); - return T$0.StreamOfString().eventTransformed(stream, dart.fn(sink => { - if (sink == null) dart.nullFailed(I[100], 83, 36, "sink"); - return new convert._LineSplitterEventSink.new(sink); - }, T$0.EventSinkOfStringTo_LineSplitterEventSink())); - } -}; -(convert.LineSplitter.new = function() { - convert.LineSplitter.__proto__.new.call(this); - ; -}).prototype = convert.LineSplitter.prototype; -dart.addTypeTests(convert.LineSplitter); -dart.addTypeCaches(convert.LineSplitter); -dart.setMethodSignature(convert.LineSplitter, () => ({ - __proto__: dart.getMethods(convert.LineSplitter.__proto__), - convert: dart.fnType(core.List$(core.String), [core.String]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [core.Sink$(core.String)]), - bind: dart.fnType(async.Stream$(core.String), [dart.nullable(core.Object)]) -})); -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[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(); - return; - } - let carry = this[_carry]; - if (carry != null) { - 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; - this[_carry] = null; - } else if (dart.test(this[_skipLeadingLF])) { - if (chunk[$codeUnitAt](start) === 10) { - start = dart.notNull(start) + 1; - } - this[_skipLeadingLF] = false; - } - this[_addLines](chunk, start, end); - if (dart.test(isLast)) this.close(); - } - close() { - if (this[_carry] != null) { - this[_sink$0].add(dart.nullCheck(this[_carry])); - this[_carry] = null; - } - this[_sink$0].close(); - } - [_addLines](lines, start, 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) { - let previousChar = char; - char = lines[$codeUnitAt](i); - if (char !== 13) { - if (char !== 10) continue; - if (previousChar === 13) { - sliceStart = dart.notNull(i) + 1; - continue; - } - } - this[_sink$0].add(lines[$substring](sliceStart, i)); - sliceStart = dart.notNull(i) + 1; - } - if (dart.notNull(sliceStart) < dart.notNull(end)) { - this[_carry] = lines[$substring](sliceStart, end); - } else { - this[_skipLeadingLF] = char === 13; - } - } -}; -(convert._LineSplitterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[100], 105, 26, "_sink"); - this[_carry] = null; - this[_skipLeadingLF] = false; - this[_sink$0] = _sink; - ; -}).prototype = convert._LineSplitterSink.prototype; -dart.addTypeTests(convert._LineSplitterSink); -dart.addTypeCaches(convert._LineSplitterSink); -dart.setMethodSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getMethods(convert._LineSplitterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []), - [_addLines]: dart.fnType(dart.void, [core.String, core.int, core.int]) -})); -dart.setLibraryUri(convert._LineSplitterSink, I[33]); -dart.setFieldSignature(convert._LineSplitterSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.StringConversionSink), - [_carry]: dart.fieldType(dart.nullable(core.String)), - [_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[100], 172, 24, "o"); - this[_eventSink].addError(o, stackTrace); - } -}; -(convert._LineSplitterEventSink.new = function(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)); - ; -}).prototype = convert._LineSplitterEventSink.prototype; -dart.addTypeTests(convert._LineSplitterEventSink); -dart.addTypeCaches(convert._LineSplitterEventSink); -convert._LineSplitterEventSink[dart.implements] = () => [async.EventSink$(core.String)]; -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[33]); -dart.setFieldSignature(convert._LineSplitterEventSink, () => ({ - __proto__: dart.getFields(convert._LineSplitterEventSink.__proto__), - [_eventSink]: dart.finalFieldType(async.EventSink$(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.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[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.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[89], 78, 26, "charCode"); - this[_sink$0].writeCharCode(charCode); - } - write(o) { - this[_sink$0].write(o); - } - writeln(o = "") { - this[_sink$0].writeln(o); - } - writeAll(objects, 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[89], 72, 28, "_sink"); - if (_callback == null) dart.nullFailed(I[89], 72, 40, "_callback"); - this[_sink$0] = _sink; - this[_callback$] = _callback; - ; -}).prototype = convert._ClosableStringSink.prototype; -dart.addTypeTests(convert._ClosableStringSink); -dart.addTypeCaches(convert._ClosableStringSink); -convert._ClosableStringSink[dart.implements] = () => [convert.ClosableStringSink]; -dart.setMethodSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getMethods(convert._ClosableStringSink.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]) -})); -dart.setLibraryUri(convert._ClosableStringSink, I[33]); -dart.setFieldSignature(convert._ClosableStringSink, () => ({ - __proto__: dart.getFields(convert._ClosableStringSink.__proto__), - [_callback$]: dart.finalFieldType(dart.fnType(dart.void, [])), - [_sink$0]: dart.finalFieldType(core.StringSink) -})); -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[89], 113, 26, "charCode"); - this[_buffer$].writeCharCode(charCode); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - write(o) { - if (dart.test(this[_buffer$].isNotEmpty)) this[_flush](); - this[_chunkedSink$].add(dart.toString(o)); - } - writeln(o = "") { - this[_buffer$].writeln(o); - if (dart.notNull(this[_buffer$].length) > 16) this[_flush](); - } - writeAll(objects, 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; - if (separator[$isEmpty]) { - do { - this[_chunkedSink$].add(dart.toString(iterator.current)); - } while (dart.test(iterator.moveNext())); - } else { - this[_chunkedSink$].add(dart.toString(iterator.current)); - while (dart.test(iterator.moveNext())) { - this.write(separator); - this[_chunkedSink$].add(dart.toString(iterator.current)); - } - } - } - [_flush]() { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].add(accumulated); - } -}; -(convert._StringConversionSinkAsStringSinkAdapter.new = function(_chunkedSink) { - if (_chunkedSink == null) dart.nullFailed(I[89], 105, 49, "_chunkedSink"); - this[_chunkedSink$] = _chunkedSink; - this[_buffer$] = new core.StringBuffer.new(); - ; -}).prototype = convert._StringConversionSinkAsStringSinkAdapter.prototype; -dart.addTypeTests(convert._StringConversionSinkAsStringSinkAdapter); -dart.addTypeCaches(convert._StringConversionSinkAsStringSinkAdapter); -convert._StringConversionSinkAsStringSinkAdapter[dart.implements] = () => [convert.ClosableStringSink]; -dart.setMethodSignature(convert._StringConversionSinkAsStringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._StringConversionSinkAsStringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - writeCharCode: dart.fnType(dart.void, [core.int]), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - [_flush]: dart.fnType(dart.void, []) -})); -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 t154; - let accumulated = dart.toString(this[_stringSink$]); - this[_stringSink$].clear(); - t154 = accumulated; - this[_callback$](t154); - } - asUtf8Sink(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[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[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[89], 237, 19, "str"); - this[_sink$0].add(str); - } - addSlice(str, start, end, 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 { - this.add(str[$substring](start, end)); - } - if (dart.test(isLast)) this.close(); - } - close() { - this[_sink$0].close(); - } -}; -(convert._StringAdapterSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[89], 235, 27, "_sink"); - this[_sink$0] = _sink; - ; -}).prototype = convert._StringAdapterSink.prototype; -dart.addTypeTests(convert._StringAdapterSink); -dart.addTypeCaches(convert._StringAdapterSink); -dart.setMethodSignature(convert._StringAdapterSink, () => ({ - __proto__: dart.getMethods(convert._StringAdapterSink.__proto__), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -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[89], 271, 22, "chunk"); - this.addSlice(chunk, 0, chunk[$length], false); - } - addSlice(codeUnits, startIndex, endIndex, 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[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); - convert._Utf8StringSinkAdapter.__proto__.new.call(this); - ; -}).prototype = convert._Utf8StringSinkAdapter.prototype; -dart.addTypeTests(convert._Utf8StringSinkAdapter); -dart.addTypeCaches(convert._Utf8StringSinkAdapter); -dart.setMethodSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getMethods(convert._Utf8StringSinkAdapter.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); -dart.setFieldSignature(convert._Utf8StringSinkAdapter, () => ({ - __proto__: dart.getFields(convert._Utf8StringSinkAdapter.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_sink$0]: dart.finalFieldType(core.Sink$(dart.nullable(core.Object))), - [_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)) { - let accumulated = dart.toString(this[_buffer$]); - this[_buffer$].clear(); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, true); - } else { - this[_chunkedSink$].close(); - } - } - add(chunk) { - T$0.ListOfint().as(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[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$]); - this[_chunkedSink$].addSlice(accumulated, 0, accumulated.length, isLast); - this[_buffer$].clear(); - return; - } - if (dart.test(isLast)) this.close(); - } -}; -(convert._Utf8ConversionSink.new = function(sink, 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[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; - convert._Utf8ConversionSink.__proto__.new.call(this); - ; -}).prototype = convert._Utf8ConversionSink.prototype; -dart.addTypeTests(convert._Utf8ConversionSink); -dart.addTypeCaches(convert._Utf8ConversionSink); -dart.setMethodSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getMethods(convert._Utf8ConversionSink.__proto__), - close: dart.fnType(dart.void, []), - 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[33]); -dart.setFieldSignature(convert._Utf8ConversionSink, () => ({ - __proto__: dart.getFields(convert._Utf8ConversionSink.__proto__), - [_decoder]: dart.finalFieldType(convert._Utf8Decoder), - [_chunkedSink$]: dart.finalFieldType(convert.StringConversionSink), - [_buffer$]: dart.finalFieldType(core.StringBuffer) -})); -var _allowMalformed = dart.privateName(convert, "Utf8Codec._allowMalformed"); -var _allowMalformed$ = dart.privateName(convert, "_allowMalformed"); -var Utf8Decoder__allowMalformed = dart.privateName(convert, "Utf8Decoder._allowMalformed"); -convert.Utf8Codec = class Utf8Codec extends convert.Encoding { - get [_allowMalformed$]() { - return this[_allowMalformed]; - } - 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 t154; - T$0.ListOfint().as(codeUnits); - if (codeUnits == null) dart.nullFailed(I[101], 58, 27, "codeUnits"); - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : null; - 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[108] || CT.C108; - } - get decoder() { - 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[101], 40, 25, "allowMalformed"); - this[_allowMalformed] = allowMalformed; - convert.Utf8Codec.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Codec.prototype; -dart.addTypeTests(convert.Utf8Codec); -dart.addTypeCaches(convert.Utf8Codec); -dart.setMethodSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getMethods(convert.Utf8Codec.__proto__), - decode: dart.fnType(core.String, [dart.nullable(core.Object)], {allowMalformed: dart.nullable(core.bool)}, {}) -})); -dart.setGetterSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getGetters(convert.Utf8Codec.__proto__), - name: core.String, - encoder: convert.Utf8Encoder, - decoder: convert.Utf8Decoder -})); -dart.setLibraryUri(convert.Utf8Codec, I[33]); -dart.setFieldSignature(convert.Utf8Codec, () => ({ - __proto__: dart.getFields(convert.Utf8Codec.__proto__), - [_allowMalformed$]: dart.finalFieldType(core.bool) -})); -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[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); - 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[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[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[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[101], 128, 41, "stream"); - return super.bind(stream); - } -}; -(convert.Utf8Encoder.new = function() { - convert.Utf8Encoder.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Encoder.prototype; -dart.addTypeTests(convert.Utf8Encoder); -dart.addTypeCaches(convert.Utf8Encoder); -dart.setMethodSignature(convert.Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Encoder.__proto__), - 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[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[101], 146, 38, "size"); - return _native_typed_data.NativeUint8List.new(size); - } - [_writeReplacementCharacter]() { - 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 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[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](); - return false; - } - } - [_fillBuffer](str, start, 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 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]((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); - let wasCombined = this[_writeSurrogate](codeUnit, nextCodeUnit); - if (dart.test(wasCombined)) stringIndex = dart.notNull(stringIndex) + 1; - } else if (dart.test(convert._isTailSurrogate(codeUnit))) { - if (dart.notNull(this[_bufferIndex]) + 3 > dart.notNull(this[_buffer$][$length])) break; - this[_writeReplacementCharacter](); - } else { - let rune = codeUnit; - if (rune <= 2047) { - if (dart.notNull(this[_bufferIndex]) + 1 >= dart.notNull(this[_buffer$][$length])) break; - 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[101], 221, 18, "rune <= _THREE_BYTE_LIMIT"); - if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer$][$length])) break; - 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); - } - } - } - return stringIndex; - } -}; -(convert._Utf8Encoder.new = function() { - convert._Utf8Encoder.withBufferSize.call(this, 1024); -}).prototype = convert._Utf8Encoder.prototype; -(convert._Utf8Encoder.withBufferSize = function(bufferSize) { - if (bufferSize == null) dart.nullFailed(I[101], 142, 35, "bufferSize"); - this[_carry] = 0; - this[_bufferIndex] = 0; - this[_buffer$] = convert._Utf8Encoder._createBuffer(bufferSize); - ; -}).prototype = convert._Utf8Encoder.prototype; -dart.addTypeTests(convert._Utf8Encoder); -dart.addTypeCaches(convert._Utf8Encoder); -dart.setMethodSignature(convert._Utf8Encoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Encoder.__proto__), - [_writeReplacementCharacter]: dart.fnType(dart.void, []), - [_writeSurrogate]: dart.fnType(core.bool, [core.int, core.int]), - [_fillBuffer]: dart.fnType(core.int, [core.String, core.int, core.int]) -})); -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; - } -}, false); -const _Utf8Encoder_StringConversionSinkMixin$36 = class _Utf8Encoder_StringConversionSinkMixin extends convert._Utf8Encoder {}; -(_Utf8Encoder_StringConversionSinkMixin$36.new = function() { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.new.call(this); -}).prototype = _Utf8Encoder_StringConversionSinkMixin$36.prototype; -(_Utf8Encoder_StringConversionSinkMixin$36.withBufferSize = function(bufferSize) { - _Utf8Encoder_StringConversionSinkMixin$36.__proto__.withBufferSize.call(this, bufferSize); -}).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); - return; - } - this[_sink$0].close(); - } - addSlice(str, start, end, 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; - } - if (this[_carry] !== 0) { - let nextCodeUnit = 0; - if (start != end) { - nextCodeUnit = str[$codeUnitAt](start); - } else { - 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[101], 265, 14, "!wasCombined || start != end"); - if (dart.test(wasCombined)) start = dart.notNull(start) + 1; - this[_carry] = 0; - } - do { - start = this[_fillBuffer](str, start, end); - let isLastSlice = dart.test(isLast) && start == end; - if (start === dart.notNull(end) - 1 && dart.test(convert._isLeadSurrogate(str[$codeUnitAt](start)))) { - if (dart.test(isLast) && dart.notNull(this[_bufferIndex]) < dart.notNull(this[_buffer$][$length]) - 3) { - this[_writeReplacementCharacter](); - } else { - this[_carry] = str[$codeUnitAt](start); - } - start = dart.notNull(start) + 1; - } - this[_sink$0].addSlice(this[_buffer$], 0, this[_bufferIndex], isLastSlice); - this[_bufferIndex] = 0; - } while (dart.notNull(start) < dart.notNull(end)); - if (dart.test(isLast)) this.close(); - } -}; -(convert._Utf8EncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[101], 238, 25, "_sink"); - this[_sink$0] = _sink; - convert._Utf8EncoderSink.__proto__.new.call(this); - ; -}).prototype = convert._Utf8EncoderSink.prototype; -dart.addTypeTests(convert._Utf8EncoderSink); -dart.addTypeCaches(convert._Utf8EncoderSink); -dart.setMethodSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getMethods(convert._Utf8EncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -dart.setLibraryUri(convert._Utf8EncoderSink, I[33]); -dart.setFieldSignature(convert._Utf8EncoderSink, () => ({ - __proto__: dart.getFields(convert._Utf8EncoderSink.__proto__), - [_sink$0]: dart.finalFieldType(convert.ByteConversionSink) -})); -const _allowMalformed$0 = Utf8Decoder__allowMalformed; -convert.Utf8Decoder = class Utf8Decoder extends convert.Converter$(core.List$(core.int), core.String) { - get [_allowMalformed$]() { - return this[_allowMalformed$0]; - } - set [_allowMalformed$](value) { - super[_allowMalformed$] = value; - } - static _convertInterceptedUint8List(allowMalformed, codeUnits, start, 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]) { - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits); - } - let length = codeUnits[$length]; - end = core.RangeError.checkValidRange(start, end, length); - return convert.Utf8Decoder._useTextDecoder(decoder, codeUnits.subarray(start, end)); - } - static _useTextDecoder(decoder, codeUnits) { - if (codeUnits == null) dart.nullFailed(I[88], 447, 59, "codeUnits"); - try { - return decoder.decode(codeUnits); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[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; - } - return new convert._Utf8Decoder.new(this[_allowMalformed$]).convertSingle(codeUnits, start, end); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(sink); - if (sink == null) dart.nullFailed(I[101], 358, 58, "sink"); - let stringSink = null; - if (convert.StringConversionSink.is(sink)) { - stringSink = sink; - } else { - stringSink = new convert._StringAdapterSink.new(sink); - } - return stringSink.asUtf8Sink(this[_allowMalformed$]); - } - bind(stream) { - T$0.StreamOfListOfint().as(stream); - if (stream == null) dart.nullFailed(I[101], 369, 41, "stream"); - return super.bind(stream); - } - fuse(T, 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[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; - if (dart.notNull(end) - dart.notNull(start) < 15) { - return null; - } - let result = convert.Utf8Decoder._convertInterceptedUint8List(allowMalformed, casted, start, end); - if (result != null && dart.test(allowMalformed)) { - if (result.indexOf("�") >= 0) { - return null; - } - } - return result; - } - return null; - } -}; -(convert.Utf8Decoder.new = function(opts) { - let allowMalformed = opts && 'allowMalformed' in opts ? opts.allowMalformed : false; - if (allowMalformed == null) dart.nullFailed(I[101], 332, 27, "allowMalformed"); - this[_allowMalformed$0] = allowMalformed; - convert.Utf8Decoder.__proto__.new.call(this); - ; -}).prototype = convert.Utf8Decoder.prototype; -dart.addTypeTests(convert.Utf8Decoder); -dart.addTypeCaches(convert.Utf8Decoder); -dart.setMethodSignature(convert.Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert.Utf8Decoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)], [core.int, dart.nullable(core.int)]), - 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.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; - }, - /*convert.Utf8Decoder._decoder*/get _decoder() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: true}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - }, - /*convert.Utf8Decoder._decoderNonfatal*/get _decoderNonfatal() { - return dart.fn(() => { - try { - return new TextDecoder("utf-8", {fatal: false}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - }, T$0.VoidToObjectN())(); - } -}, false); -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[101], 528, 32, "state"); - return (dart.notNull(state) & 1) !== 0; - } - static errorDescription(state) { - if (state == null) dart.nullFailed(I[101], 530, 38, "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 ""; - } - } - } - 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[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[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[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; - let errorOffset = null; - if (typed_data.Uint8List.is(codeUnits)) { - bytes = codeUnits; - errorOffset = 0; - } else { - bytes = convert._Utf8Decoder._makeUint8List(codeUnits, start, end); - errorOffset = start; - end = dart.notNull(end) - dart.notNull(start); - start = 0; - } - let result = this[_convertRecursive](bytes, start, end, single); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) { - let message = convert._Utf8Decoder.errorDescription(this[_state$0]); - this[_state$0] = 0; - dart.throw(new core.FormatException.new(message, codeUnits, dart.notNull(errorOffset) + dart.notNull(this[_charOrIndex]))); - } - return result; - } - [_convertRecursive](bytes, start, end, 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); - if (dart.test(convert._Utf8Decoder.isErrorState(this[_state$0]))) return s1; - let s2 = this[_convertRecursive](bytes, mid, end, single); - return dart.notNull(s1) + dart.notNull(s2); - } - return this.decodeGeneral(bytes, start, end, single); - } - flush(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) { - return; - } - if (dart.test(this.allowMalformed)) { - sink.writeCharCode(65533); - } else { - dart.throw(new core.FormatException.new(convert._Utf8Decoder.errorDescription(77), null, null)); - } - } - decodeGeneral(bytes, start, end, 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]((t158 = i, i = dart.notNull(t158) + 1, t158)); - L1: - while (true) { - while (true) { - let type = (typeTable[$codeUnitAt](byte) & 31) >>> 0; - char = dart.notNull(state) <= 32 ? (dart.notNull(byte) & (61694)[$rightShift](type)) >>> 0 : (dart.notNull(byte) & 63 | dart.notNull(char) << 6 >>> 0) >>> 0; - state = transitionTable[$codeUnitAt](dart.notNull(state) + type); - if (state === 0) { - buffer.writeCharCode(char); - if (i == end) break L1; - break; - } else if (dart.test(convert._Utf8Decoder.isErrorState(state))) { - if (dart.test(this.allowMalformed)) { - switch (state) { - case 69: - case 67: - { - buffer.writeCharCode(65533); - break; - } - case 65: - { - buffer.writeCharCode(65533); - i = dart.notNull(i) - 1; - break; - } - default: - { - buffer.writeCharCode(65533); - buffer.writeCharCode(65533); - break; - } - } - state = 0; - } else { - this[_state$0] = state; - this[_charOrIndex] = dart.notNull(i) - 1; - return ""; - } - } - if (i == end) break L1; - byte = bytes[$_get]((t158$ = i, i = dart.notNull(t158$) + 1, t158$)); - } - let markStart = i; - 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]((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[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)); - } - } else { - buffer.write(core.String.fromCharCodes(bytes, markStart, markEnd)); - } - if (markEnd == end) break; - } - } - if (dart.test(single) && dart.notNull(state) > 32) { - if (dart.test(this.allowMalformed)) { - buffer.writeCharCode(65533); - } else { - this[_state$0] = 77; - this[_charOrIndex] = end; - return ""; - } - } - this[_state$0] = state; - this[_charOrIndex] = char; - return buffer.toString(); - } - static _makeUint8List(codeUnits, start, 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) { - let b = codeUnits[$_get](dart.notNull(start) + i); - if ((dart.notNull(b) & ~255 >>> 0) !== 0) { - b = 255; - } - bytes[$_set](i, b); - } - return bytes; - } -}; -(convert._Utf8Decoder.new = function(allowMalformed) { - if (allowMalformed == null) dart.nullFailed(I[88], 476, 21, "allowMalformed"); - this[_charOrIndex] = 0; - this.allowMalformed = allowMalformed; - this[_state$0] = 16; - ; -}).prototype = convert._Utf8Decoder.prototype; -dart.addTypeTests(convert._Utf8Decoder); -dart.addTypeCaches(convert._Utf8Decoder); -dart.setMethodSignature(convert._Utf8Decoder, () => ({ - __proto__: dart.getMethods(convert._Utf8Decoder.__proto__), - convertSingle: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertChunked: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int)]), - convertGeneral: dart.fnType(core.String, [core.List$(core.int), core.int, dart.nullable(core.int), core.bool]), - [_convertRecursive]: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]), - flush: dart.fnType(dart.void, [core.StringSink]), - decodeGeneral: dart.fnType(core.String, [typed_data.Uint8List, core.int, core.int, core.bool]) -})); -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; - }, - /*convert._Utf8Decoder.shiftedByteMask*/get shiftedByteMask() { - return 61694; - }, - /*convert._Utf8Decoder.typeTable*/get typeTable() { - return "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE"; - }, - /*convert._Utf8Decoder.IA*/get IA() { - return 0; - }, - /*convert._Utf8Decoder.BB*/get BB() { - return 16; - }, - /*convert._Utf8Decoder.AB*/get AB() { - return 32; - }, - /*convert._Utf8Decoder.X1*/get X1() { - return 48; - }, - /*convert._Utf8Decoder.X2*/get X2() { - return 58; - }, - /*convert._Utf8Decoder.X3*/get X3() { - return 68; - }, - /*convert._Utf8Decoder.TO*/get TO() { - return 78; - }, - /*convert._Utf8Decoder.TS*/get TS() { - return 88; - }, - /*convert._Utf8Decoder.QO*/get QO() { - return 98; - }, - /*convert._Utf8Decoder.QR*/get QR() { - return 108; - }, - /*convert._Utf8Decoder.B1*/get B1() { - return 118; - }, - /*convert._Utf8Decoder.B2*/get B2() { - return 128; - }, - /*convert._Utf8Decoder.E1*/get E1() { - return 65; - }, - /*convert._Utf8Decoder.E2*/get E2() { - return 67; - }, - /*convert._Utf8Decoder.E3*/get E3() { - return 69; - }, - /*convert._Utf8Decoder.E4*/get E4() { - return 71; - }, - /*convert._Utf8Decoder.E5*/get E5() { - return 73; - }, - /*convert._Utf8Decoder.E6*/get E6() { - return 75; - }, - /*convert._Utf8Decoder.E7*/get E7() { - return 77; - }, - /*convert._Utf8Decoder._IA*/get _IA() { - return ""; - }, - /*convert._Utf8Decoder._BB*/get _BB() { - return ""; - }, - /*convert._Utf8Decoder._AB*/get _AB() { - return " "; - }, - /*convert._Utf8Decoder._X1*/get _X1() { - return "0"; - }, - /*convert._Utf8Decoder._X2*/get _X2() { - return ":"; - }, - /*convert._Utf8Decoder._X3*/get _X3() { - return "D"; - }, - /*convert._Utf8Decoder._TO*/get _TO() { - return "N"; - }, - /*convert._Utf8Decoder._TS*/get _TS() { - return "X"; - }, - /*convert._Utf8Decoder._QO*/get _QO() { - return "b"; - }, - /*convert._Utf8Decoder._QR*/get _QR() { - return "l"; - }, - /*convert._Utf8Decoder._B1*/get _B1() { - return "v"; - }, - /*convert._Utf8Decoder._B2*/get _B2() { - return "€"; - }, - /*convert._Utf8Decoder._E1*/get _E1() { - return "A"; - }, - /*convert._Utf8Decoder._E2*/get _E2() { - return "C"; - }, - /*convert._Utf8Decoder._E3*/get _E3() { - return "E"; - }, - /*convert._Utf8Decoder._E4*/get _E4() { - return "G"; - }, - /*convert._Utf8Decoder._E5*/get _E5() { - return "I"; - }, - /*convert._Utf8Decoder._E6*/get _E6() { - return "K"; - }, - /*convert._Utf8Decoder._E7*/get _E7() { - return "M"; - }, - /*convert._Utf8Decoder.transitionTable*/get transitionTable() { - return " 0:XECCCCCN:lDb 0:XECCCCCNvlDb 0:XECCCCCN:lDb AAAAAAAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA AAAAA"; - }, - /*convert._Utf8Decoder.initial*/get initial() { - return 0; - }, - /*convert._Utf8Decoder.accept*/get accept() { - return 0; - }, - /*convert._Utf8Decoder.beforeBom*/get beforeBom() { - return 16; - }, - /*convert._Utf8Decoder.afterBom*/get afterBom() { - return 32; - }, - /*convert._Utf8Decoder.errorMissingExtension*/get errorMissingExtension() { - return 65; - }, - /*convert._Utf8Decoder.errorUnexpectedExtension*/get errorUnexpectedExtension() { - return 67; - }, - /*convert._Utf8Decoder.errorInvalid*/get errorInvalid() { - return 69; - }, - /*convert._Utf8Decoder.errorOverlong*/get errorOverlong() { - return 71; - }, - /*convert._Utf8Decoder.errorOutOfRange*/get errorOutOfRange() { - return 73; - }, - /*convert._Utf8Decoder.errorSurrogate*/get errorSurrogate() { - return 75; - }, - /*convert._Utf8Decoder.errorUnfinished*/get errorUnfinished() { - return 77; - } -}, false); -convert._convertJsonToDart = function _convertJsonToDart(json, reviver) { - if (reviver == null) dart.nullFailed(I[88], 54, 26, "reviver"); - function walk(e) { - if (e == null || typeof e != "object") { - return e; - } - if (Object.getPrototypeOf(e) === Array.prototype) { - for (let i = 0; i < e.length; i = i + 1) { - let item = e[i]; - e[i] = reviver(i, walk(item)); - } - return e; - } - let map = new convert._JsonMap.new(e); - let processed = map[_processed]; - let keys = map[_computeKeys](); - for (let i = 0; i < dart.notNull(keys[$length]); i = i + 1) { - let key = keys[$_get](i); - let revived = reviver(key, walk(e[key])); - processed[key] = revived; - } - map[_original$] = processed; - return map; - } - dart.fn(walk, T$.dynamicTodynamic()); - return reviver(null, walk(json)); -}; -convert._convertJsonToDartLazy = function _convertJsonToDartLazy(object) { - if (object == null) return null; - if (typeof object != "object") { - return object; - } - if (Object.getPrototypeOf(object) !== Array.prototype) { - return new convert._JsonMap.new(object); - } - for (let i = 0; i < object.length; i = i + 1) { - let item = object[i]; - object[i] = convert._convertJsonToDartLazy(item); - } - return object; -}; -convert.base64Encode = function base64Encode(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[96], 46, 34, "bytes"); - return convert.base64Url.encode(bytes); -}; -convert.base64Decode = function base64Decode(source) { - if (source == null) dart.nullFailed(I[96], 52, 31, "source"); - return convert.base64.decode(source); -}; -convert.jsonEncode = function jsonEncode(object, opts) { - let toEncodable = opts && 'toEncodable' in opts ? opts.toEncodable : null; - return convert.json.encode(object, {toEncodable: toEncodable}); -}; -convert.jsonDecode = function jsonDecode(source, opts) { - 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[88], 31, 19, "source"); - if (!(typeof source == 'string')) dart.throw(_js_helper.argumentErrorValue(source)); - let parsed = null; - try { - parsed = JSON.parse(source); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - dart.throw(new core.FormatException.new(String(e))); - } else - throw e$; - } - if (reviver == null) { - return convert._convertJsonToDartLazy(parsed); - } else { - return convert._convertJsonToDart(parsed, reviver); - } -}; -convert._defaultToEncodable = function _defaultToEncodable(object) { - return dart.dsend(object, 'toJson', []); -}; -convert._isLeadSurrogate = function _isLeadSurrogate(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[101], 391, 27, "codeUnit"); - return (dart.notNull(codeUnit) & 64512) >>> 0 === 56320; -}; -convert._combineSurrogatePair = function _combineSurrogatePair(lead, 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[109] || CT.C109; - }, - /*convert._asciiMask*/get _asciiMask() { - return 127; - }, - /*convert.base64*/get base64() { - return C[110] || CT.C110; - }, - /*convert.base64Url*/get base64Url() { - return C[111] || CT.C111; - }, - /*convert._paddingChar*/get _paddingChar() { - return 61; - }, - /*convert.htmlEscape*/get htmlEscape() { - return C[112] || CT.C112; - }, - /*convert.json*/get json() { - return C[113] || CT.C113; - }, - /*convert.latin1*/get latin1() { - return C[114] || CT.C114; - }, - /*convert._latin1Mask*/get _latin1Mask() { - return 255; - }, - /*convert._LF*/get _LF() { - return 10; - }, - /*convert._CR*/get _CR() { - return 13; - }, - /*convert.unicodeReplacementCharacterRune*/get unicodeReplacementCharacterRune() { - return 65533; - }, - /*convert.unicodeBomCharacterRune*/get unicodeBomCharacterRune() { - return 65279; - }, - /*convert.utf8*/get utf8() { - return C[115] || CT.C115; - }, - /*convert._ONE_BYTE_LIMIT*/get _ONE_BYTE_LIMIT() { - return 127; - }, - /*convert._TWO_BYTE_LIMIT*/get _TWO_BYTE_LIMIT() { - return 2047; - }, - /*convert._THREE_BYTE_LIMIT*/get _THREE_BYTE_LIMIT() { - return 65535; - }, - /*convert._FOUR_BYTE_LIMIT*/get _FOUR_BYTE_LIMIT() { - return 1114111; - }, - /*convert._SURROGATE_TAG_MASK*/get _SURROGATE_TAG_MASK() { - return 64512; - }, - /*convert._SURROGATE_VALUE_MASK*/get _SURROGATE_VALUE_MASK() { - return 1023; - }, - /*convert._LEAD_SURROGATE_MIN*/get _LEAD_SURROGATE_MIN() { - return 55296; - }, - /*convert._TAIL_SURROGATE_MIN*/get _TAIL_SURROGATE_MIN() { - return 56320; - } -}, 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 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; - } - if (developer._FakeUserTag._instances[$length] === 64) { - dart.throw(new core.UnsupportedError.new("UserTag instance limit (" + dart.str(64) + ") reached.")); - } - 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; - developer._currentTag = this; - return old; - } -}; -(developer._FakeUserTag.real = function(label) { - if (label == null) dart.nullFailed(I[102], 200, 26, "label"); - this.label = label; - ; -}).prototype = developer._FakeUserTag.prototype; -dart.addTypeTests(developer._FakeUserTag); -dart.addTypeCaches(developer._FakeUserTag); -developer._FakeUserTag[dart.implements] = () => [developer.UserTag]; -dart.setMethodSignature(developer._FakeUserTag, () => ({ - __proto__: dart.getMethods(developer._FakeUserTag.__proto__), - makeCurrent: dart.fnType(developer.UserTag, []) -})); -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(); - }, - /*developer._FakeUserTag._defaultTag*/get _defaultTag() { - return developer._FakeUserTag.new("Default"); - } -}, false); -var result$ = dart.privateName(developer, "ServiceExtensionResponse.result"); -var errorCode$ = dart.privateName(developer, "ServiceExtensionResponse.errorCode"); -var errorDetail$ = dart.privateName(developer, "ServiceExtensionResponse.errorDetail"); -var _toString$ = dart.privateName(developer, "_toString"); -developer.ServiceExtensionResponse = class ServiceExtensionResponse extends core.Object { - get result() { - return this[result$]; - } - set result(value) { - super.result = value; - } - get errorCode() { - return this[errorCode$]; - } - set errorCode(value) { - super.errorCode = value; - } - get errorDetail() { - return this[errorDetail$]; - } - 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[104], 60, 39, "errorCode"); - developer.ServiceExtensionResponse._validateErrorCode(errorCode); - if (errorCode === -32602) { - return "Invalid params"; - } - return "Server error"; - } - static _validateErrorCode(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; - } - dart.throw(new core.ArgumentError.value(errorCode, "errorCode", "Out of range")); - } - isError() { - return this.errorCode != null && this.errorDetail != null; - } - [_toString$]() { - 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[104], 25, 42, "result"); - this[result$] = result; - this[errorCode$] = null; - this[errorDetail$] = null; - _internal.checkNotNullable(core.String, result, "result"); -}).prototype = developer.ServiceExtensionResponse.prototype; -(developer.ServiceExtensionResponse.error = function(errorCode, 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); - _internal.checkNotNullable(core.String, errorDetail, "errorDetail"); -}).prototype = developer.ServiceExtensionResponse.prototype; -dart.addTypeTests(developer.ServiceExtensionResponse); -dart.addTypeCaches(developer.ServiceExtensionResponse); -dart.setMethodSignature(developer.ServiceExtensionResponse, () => ({ - __proto__: dart.getMethods(developer.ServiceExtensionResponse.__proto__), - isError: dart.fnType(core.bool, []), - [_toString$]: dart.fnType(core.String, []) -})); -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.invalidParams*/get invalidParams() { - return -32602; - }, - /*developer.ServiceExtensionResponse.extensionError*/get extensionError() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMax*/get extensionErrorMax() { - return -32000; - }, - /*developer.ServiceExtensionResponse.extensionErrorMin*/get extensionErrorMin() { - return -32016; - } -}, 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; - } -}; -(developer.UserTag[dart.mixinNew] = function() { -}).prototype = developer.UserTag.prototype; -dart.addTypeTests(developer.UserTag); -dart.addTypeCaches(developer.UserTag); -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; - } -}, false); -var name$10 = dart.privateName(developer, "Metric.name"); -var description$ = dart.privateName(developer, "Metric.description"); -developer.Metric = class Metric extends core.Object { - get name() { - return this[name$10]; - } - set name(value) { - super.name = value; - } - get description() { - return this[description$]; - } - set description(value) { - super.description = value; - } -}; -(developer.Metric.new = function(name, 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]("/")) { - dart.throw(new core.ArgumentError.new("Invalid Metric name.")); - } -}).prototype = developer.Metric.prototype; -dart.addTypeTests(developer.Metric); -dart.addTypeCaches(developer.Metric); -dart.setLibraryUri(developer.Metric, I[103]); -dart.setFieldSignature(developer.Metric, () => ({ - __proto__: dart.getFields(developer.Metric.__proto__), - name: dart.finalFieldType(core.String), - description: dart.finalFieldType(core.String) -})); -var min$ = dart.privateName(developer, "Gauge.min"); -var max$ = dart.privateName(developer, "Gauge.max"); -var _value = dart.privateName(developer, "_value"); -var _toJSON = dart.privateName(developer, "_toJSON"); -developer.Gauge = class Gauge extends developer.Metric { - get min() { - return this[min$]; - } - set min(value) { - super.min = value; - } - get max() { - return this[max$]; - } - set max(value) { - super.max = value; - } - get value() { - return this[_value]; - } - set value(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)) { - v = this.max; - } - 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[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; - developer.Gauge.__proto__.new.call(this, name, description); - core.ArgumentError.checkNotNull(core.double, this.min, "min"); - core.ArgumentError.checkNotNull(core.double, this.max, "max"); - if (!(dart.notNull(this.min) < dart.notNull(this.max))) dart.throw(new core.ArgumentError.new("min must be less than max")); -}).prototype = developer.Gauge.prototype; -dart.addTypeTests(developer.Gauge); -dart.addTypeCaches(developer.Gauge); -dart.setMethodSignature(developer.Gauge, () => ({ - __proto__: dart.getMethods(developer.Gauge.__proto__), - [_toJSON]: dart.fnType(core.Map, []) -})); -dart.setGetterSignature(developer.Gauge, () => ({ - __proto__: dart.getGetters(developer.Gauge.__proto__), - value: core.double -})); -dart.setSetterSignature(developer.Gauge, () => ({ - __proto__: dart.getSetters(developer.Gauge.__proto__), - value: core.double -})); -dart.setLibraryUri(developer.Gauge, I[103]); -dart.setFieldSignature(developer.Gauge, () => ({ - __proto__: dart.getFields(developer.Gauge.__proto__), - min: dart.finalFieldType(core.double), - max: dart.finalFieldType(core.double), - [_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[105], 103, 20, "v"); - this[_value] = v; - } - [_toJSON]() { - let map = new (T$.IdentityMapOfString$Object()).from(["type", "Counter", "id", "metrics/" + dart.str(this.name), "name", this.name, "description", this.description, "value", this.value]); - return map; - } -}; -(developer.Counter.new = function(name, 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); - ; -}).prototype = developer.Counter.prototype; -dart.addTypeTests(developer.Counter); -dart.addTypeCaches(developer.Counter); -dart.setMethodSignature(developer.Counter, () => ({ - __proto__: dart.getMethods(developer.Counter.__proto__), - [_toJSON]: dart.fnType(core.Map, []) -})); -dart.setGetterSignature(developer.Counter, () => ({ - __proto__: dart.getGetters(developer.Counter.__proto__), - value: core.double -})); -dart.setSetterSignature(developer.Counter, () => ({ - __proto__: dart.getSetters(developer.Counter.__proto__), - value: core.double -})); -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[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")); - } - developer.Metrics._metrics[$_set](metric.name, metric); - } - static deregister(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[105], 146, 38, "id"); - let metric = developer.Metrics._metrics[$_get](id); - if (metric == null) { - return null; - } - return convert.json.encode(metric[_toJSON]()); - } - static _printMetrics() { - let metrics = []; - for (let metric of developer.Metrics._metrics[$values]) { - metrics[$add](metric[_toJSON]()); - } - 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.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.IdentityMapOfString$Metric()).new(); - } -}, false); -var majorVersion = dart.privateName(developer, "ServiceProtocolInfo.majorVersion"); -var minorVersion = dart.privateName(developer, "ServiceProtocolInfo.minorVersion"); -var serverUri$ = dart.privateName(developer, "ServiceProtocolInfo.serverUri"); -developer.ServiceProtocolInfo = class ServiceProtocolInfo extends core.Object { - get majorVersion() { - return this[majorVersion]; - } - set majorVersion(value) { - super.majorVersion = value; - } - get minorVersion() { - return this[minorVersion]; - } - set minorVersion(value) { - super.minorVersion = value; - } - get serverUri() { - return this[serverUri$]; - } - 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); - } else { - return "Dart VM Service Protocol v" + dart.str(this.majorVersion) + "." + dart.str(this.minorVersion); - } - } -}; -(developer.ServiceProtocolInfo.new = function(serverUri) { - this[majorVersion] = developer._getServiceMajorVersion(); - this[minorVersion] = developer._getServiceMinorVersion(); - this[serverUri$] = serverUri; - ; -}).prototype = developer.ServiceProtocolInfo.prototype; -dart.addTypeTests(developer.ServiceProtocolInfo); -dart.addTypeCaches(developer.ServiceProtocolInfo); -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), - minorVersion: dart.finalFieldType(core.int), - serverUri: dart.finalFieldType(dart.nullable(core.Uri)) -})); -dart.defineExtensionMethods(developer.ServiceProtocolInfo, ['toString']); -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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._getServerInfo(receivePort.sendPort); - 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[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 completer = T$0.CompleterOfStringN().new(); - receivePort.handler = dart.fn(uriString => completer.complete(uriString), T$0.StringNTovoid()); - developer._webServerControl(receivePort.sendPort, enable, silenceOutput); - 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[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.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$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 t159; - let id = opts && 'id' in opts ? opts.id : null; - return new developer.Flow.__(9, (t159 = id, t159 == null ? developer._getNextTaskId() : t159)); - } - static step(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[107], 84, 23, "id"); - return new developer.Flow.__(11, id); - } -}; -(developer.Flow.__ = function(_type, 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$0] = id; - ; -}).prototype = developer.Flow.prototype; -dart.addTypeTests(developer.Flow); -dart.addTypeCaches(developer.Flow); -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) -})); -var _startSync = dart.privateName(developer, "_startSync"); -developer.Timeline = class Timeline extends core.Object { - static startSync(name, opts) { - 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; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - developer.Timeline._stack[$add](null); - return; - } - let block = new developer._SyncBlock.__(name, developer._getNextTaskId(), {arguments: $arguments, flow: flow}); - developer.Timeline._stack[$add](block); - block[_startSync](); - } - static finishSync() { - ; - 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](); - if (block == null) { - return; - } - block.finish(); - } - static instantSync(name, opts) { - if (name == null) dart.nullFailed(I[107], 146, 34, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let taskId = 0; - developer._reportTaskEvent(taskId, 4, name, developer._argumentsAsJson($arguments)); - } - static timeSync(T, name, $function, opts) { - 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}); - try { - return $function(); - } finally { - developer.Timeline.finishSync(); - } - } - 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.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([]); - } -}, false); -var _stack = dart.privateName(developer, "_stack"); -var _parent = dart.privateName(developer, "_parent"); -var _filterKey = dart.privateName(developer, "_filterKey"); -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[107], 221, 21, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - 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(); - if ($arguments != null) { - for (let key of $arguments[$keys]) { - map[$_set](key, $arguments[$_get](key)); - } - } - if (this[_parent] != null) map[$_set]("parentId", dart.nullCheck(this[_parent])[_taskId$][$toRadixString](16)); - if (this[_filterKey] != null) map[$_set]("filterKey", this[_filterKey]); - block[_start](map); - } - instant(name, opts) { - if (name == null) dart.nullFailed(I[107], 249, 23, "name"); - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - core.ArgumentError.checkNotNull(core.String, name, "name"); - if (!dart.test(developer._isDartStreamEnabled())) { - return; - } - let instantArguments = null; - if ($arguments != null) { - instantArguments = collection.LinkedHashMap.from($arguments); - } - if (this[_filterKey] != null) { - instantArguments == null ? instantArguments = new _js_helper.LinkedMap.new() : null; - instantArguments[$_set]("filterKey", this[_filterKey]); - } - developer._reportTaskEvent(this[_taskId$], 6, name, developer._argumentsAsJson(instantArguments)); - } - finish(opts) { - let $arguments = opts && 'arguments' in opts ? opts.arguments : null; - ; - if (this[_stack][$length] === 0) { - dart.throw(new core.StateError.new("Uneven calls to start and finish")); - } - if (this[_filterKey] != null) { - $arguments == null ? $arguments = new _js_helper.LinkedMap.new() : null; - $arguments[$_set]("filterKey", this[_filterKey]); - } - let block = this[_stack][$removeLast](); - if (block == null) { - return; - } - block[_finish]($arguments); - } - pass() { - if (dart.notNull(this[_stack][$length]) > 0) { - dart.throw(new core.StateError.new("You cannot pass a TimelineTask without finishing all started " + "operations")); - } - let r = this[_taskId$]; - return r; - } -}; -(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_AsyncBlockN().of([]); - this[_parent] = parent; - this[_filterKey] = filterKey; - this[_taskId$] = developer._getNextTaskId(); -}).prototype = developer.TimelineTask.prototype; -(developer.TimelineTask.withTaskId = function(taskId, opts) { - if (taskId == null) dart.nullFailed(I[107], 211, 31, "taskId"); - let filterKey = opts && 'filterKey' in opts ? opts.filterKey : null; - this[_stack] = T$0.JSArrayOf_AsyncBlockN().of([]); - this[_parent] = null; - this[_filterKey] = filterKey; - this[_taskId$] = taskId; - core.ArgumentError.checkNotNull(core.int, taskId, "taskId"); -}).prototype = developer.TimelineTask.prototype; -dart.addTypeTests(developer.TimelineTask); -dart.addTypeCaches(developer.TimelineTask); -dart.setMethodSignature(developer.TimelineTask, () => ({ - __proto__: dart.getMethods(developer.TimelineTask.__proto__), - start: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - instant: dart.fnType(dart.void, [core.String], {arguments: dart.nullable(core.Map)}, {}), - finish: dart.fnType(dart.void, [], {arguments: dart.nullable(core.Map)}, {}), - pass: dart.fnType(core.int, []) -})); -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$(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[107], 322, 19, "arguments"); - developer._reportTaskEvent(this[_taskId$], 5, this.name, developer._argumentsAsJson($arguments)); - } - [_finish]($arguments) { - developer._reportTaskEvent(this[_taskId$], 7, this.name, developer._argumentsAsJson($arguments)); - } -}; -(developer._AsyncBlock.__ = function(name, _taskId) { - 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; - ; -}).prototype = developer._AsyncBlock.prototype; -dart.addTypeTests(developer._AsyncBlock); -dart.addTypeCaches(developer._AsyncBlock); -dart.setMethodSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getMethods(developer._AsyncBlock.__proto__), - [_start]: dart.fnType(dart.void, [core.Map]), - [_finish]: dart.fnType(dart.void, [dart.nullable(core.Map)]) -})); -dart.setLibraryUri(developer._AsyncBlock, I[103]); -dart.setFieldSignature(developer._AsyncBlock, () => ({ - __proto__: dart.getFields(developer._AsyncBlock.__proto__), - name: dart.finalFieldType(core.String), - [_taskId$]: dart.finalFieldType(core.int) -})); -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(this.taskId, 1, this.name, this[_jsonArguments]); - } - finish() { - 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)); - } - } -}; -(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); -dart.addTypeCaches(developer._SyncBlock); -dart.setMethodSignature(developer._SyncBlock, () => ({ - __proto__: dart.getMethods(developer._SyncBlock.__proto__), - [_startSync]: dart.fnType(dart.void, []), - finish: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(developer._SyncBlock, () => ({ - __proto__: dart.getGetters(developer._SyncBlock.__proto__), - [_jsonArguments]: core.String -})); -dart.setLibraryUri(developer._SyncBlock, I[103]); -dart.setFieldSignature(developer._SyncBlock, () => ({ - __proto__: dart.getFields(developer._SyncBlock.__proto__), - name: dart.finalFieldType(core.String), - 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[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[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)); - let parameters = core.Map.as(convert.json.decode(encodedJson))[$cast](core.String, core.String); - let result = (yield method(methodName, parameters)); - resolve(result[_toString$]()); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - reject(dart.str(e)); - } else - throw e$; - } - }); - }); -}; -developer.debugger = function $debugger(opts) { - let when = opts && 'when' in opts ? opts.when : true; - if (when == null) dart.nullFailed(I[102], 26, 21, "when"); - let message = opts && 'message' in opts ? opts.message : null; - if (dart.test(when)) { - debugger; - } - return when; -}; -developer.inspect = function inspect(object) { - console.debug("dart.developer.inspect", object); - return object; -}; -developer.log = function log(message, opts) { - 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[102], 45, 9, "level"); - let name = opts && 'name' in opts ? opts.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; - let items = {message: message, name: name, level: level}; - if (time != null) items.time = time; - if (sequenceNumber != null) { - items.sequenceNumber = sequenceNumber; - } - if (zone != null) items.zone = zone; - if (error != null) items.error = error; - if (stackTrace != null) items.stackTrace = stackTrace; - console.debug("dart.developer.log", items); -}; -developer.registerExtension = function registerExtension$(method, handler) { - 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))); - } - _internal.checkNotNullable(T$0.StringAndMapOfString$StringToFutureOfServiceExtensionResponse(), handler, "handler"); - developer._registerExtension(method, handler); -}; -developer.postEvent = function postEvent(eventKind, 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[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[102], 69, 50, "method"); - return developer._extensions[$_get](method); -}; -developer._registerExtension = function _registerExtension(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[102], 174, 30, "sendPort"); - sendPort.send(null); -}; -developer._webServerControl = function _webServerControl(sendPort, enable, silenceOutput) { - 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() { - return 0; -}; -developer._getServiceMinorVersion = function _getServiceMinorVersion() { - return 0; -}; -developer._getIsolateIDFromSendPort = function _getIsolateIDFromSendPort(sendPort) { - if (sendPort == null) dart.nullFailed(I[102], 184, 44, "sendPort"); - return null; -}; -developer._argumentsAsJson = function _argumentsAsJson($arguments) { - if ($arguments == null || $arguments[$length] === 0) { - return "{}"; - } - return convert.json.encode($arguments); -}; -developer._isDartStreamEnabled = function _isDartStreamEnabled() { - return false; -}; -developer._getNextTaskId = function _getNextTaskId() { - return 0; -}; -developer._getTraceClock = function _getTraceClock() { - 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(value) { - if (value == null) dart.nullFailed(I[102], 150, 5, "_clockValue"); - }, - /*developer._currentTag*/get _currentTag() { - return developer._FakeUserTag._defaultTag; - }, - 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 { - toString() { - return "IOException"; - } -}; -(io.IOException.new = function() { - ; -}).prototype = io.IOException.prototype; -dart.addTypeTests(io.IOException); -dart.addTypeCaches(io.IOException); -io.IOException[dart.implements] = () => [core.Exception]; -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"); -io.OSError = class OSError extends core.Object { - get message() { - return this[message$2]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$0]; - } - 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 t161, t161$, t161$0; - let sb = new core.StringBuffer.new(); - sb.write("OS Error"); - if (this.message[$isNotEmpty]) { - t161 = sb; - (() => { - t161.write(": "); - t161.write(this.message); - return t161; - })(); - if (this.errorCode !== -1) { - t161$ = sb; - (() => { - t161$.write(", errno = "); - t161$.write(dart.toString(this.errorCode)); - return t161$; - })(); - } - } else if (this.errorCode !== -1) { - t161$0 = sb; - (() => { - 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[109], 75, 23, "message"); - if (errorCode == null) dart.nullFailed(I[109], 75, 42, "errorCode"); - this[message$2] = message; - this[errorCode$0] = errorCode; - ; -}).prototype = io.OSError.prototype; -dart.addTypeTests(io.OSError); -dart.addTypeCaches(io.OSError); -io.OSError[dart.implements] = () => [core.Exception]; -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 { - 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[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[108]); -dart.setFieldSignature(io._BufferAndStart, () => ({ - __proto__: dart.getFields(io._BufferAndStart.__proto__), - buffer: dart.fieldType(core.List$(core.int)), - start: dart.fieldType(core.int) -})); -io._IOCrypto = class _IOCrypto extends core.Object { - static getRandomBytes(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.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[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.maxWindowBits*/get maxWindowBits() { - return 15; - }, - /*io.ZLibOption.defaultWindowBits*/get defaultWindowBits() { - return 15; - }, - /*io.ZLibOption.minLevel*/get minLevel() { - return -1; - }, - /*io.ZLibOption.maxLevel*/get maxLevel() { - return 9; - }, - /*io.ZLibOption.defaultLevel*/get defaultLevel() { - return 6; - }, - /*io.ZLibOption.minMemLevel*/get minMemLevel() { - return 1; - }, - /*io.ZLibOption.maxMemLevel*/get maxMemLevel() { - return 9; - }, - /*io.ZLibOption.defaultMemLevel*/get defaultMemLevel() { - return 8; - }, - /*io.ZLibOption.strategyFiltered*/get strategyFiltered() { - return 1; - }, - /*io.ZLibOption.strategyHuffmanOnly*/get strategyHuffmanOnly() { - return 2; - }, - /*io.ZLibOption.strategyRle*/get strategyRle() { - return 3; - }, - /*io.ZLibOption.strategyFixed*/get strategyFixed() { - return 4; - }, - /*io.ZLibOption.strategyDefault*/get strategyDefault() { - return 0; - } -}, false); -var gzip$ = dart.privateName(io, "ZLibCodec.gzip"); -var level$ = dart.privateName(io, "ZLibCodec.level"); -var memLevel$ = dart.privateName(io, "ZLibCodec.memLevel"); -var strategy$ = dart.privateName(io, "ZLibCodec.strategy"); -var windowBits$ = dart.privateName(io, "ZLibCodec.windowBits"); -var raw$ = dart.privateName(io, "ZLibCodec.raw"); -var dictionary$ = dart.privateName(io, "ZLibCodec.dictionary"); -io.ZLibCodec = class ZLibCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$]; - } - set windowBits(value) { - super.windowBits = value; - } - get raw() { - return this[raw$]; - } - set raw(value) { - super.raw = value; - } - get dictionary() { - return this[dictionary$]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } -}; -(io.ZLibCodec.new = function(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"); - this[level$] = level; - this[windowBits$] = windowBits; - this[memLevel$] = memLevel; - this[strategy$] = strategy; - this[dictionary$] = dictionary; - this[raw$] = raw; - this[gzip$] = gzip; - io.ZLibCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibCodec.prototype; -(io.ZLibCodec._default = function() { - this[level$] = 6; - this[windowBits$] = 15; - this[memLevel$] = 8; - this[strategy$] = 0; - this[raw$] = false; - this[gzip$] = false; - this[dictionary$] = null; - io.ZLibCodec.__proto__.new.call(this); - ; -}).prototype = io.ZLibCodec.prototype; -dart.addTypeTests(io.ZLibCodec); -dart.addTypeCaches(io.ZLibCodec); -dart.setGetterSignature(io.ZLibCodec, () => ({ - __proto__: dart.getGetters(io.ZLibCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder -})); -dart.setLibraryUri(io.ZLibCodec, I[108]); -dart.setFieldSignature(io.ZLibCodec, () => ({ - __proto__: dart.getFields(io.ZLibCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - raw: dart.finalFieldType(core.bool), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))) -})); -var gzip$0 = dart.privateName(io, "GZipCodec.gzip"); -var level$0 = dart.privateName(io, "GZipCodec.level"); -var memLevel$0 = dart.privateName(io, "GZipCodec.memLevel"); -var strategy$0 = dart.privateName(io, "GZipCodec.strategy"); -var windowBits$0 = dart.privateName(io, "GZipCodec.windowBits"); -var dictionary$0 = dart.privateName(io, "GZipCodec.dictionary"); -var raw$0 = dart.privateName(io, "GZipCodec.raw"); -io.GZipCodec = class GZipCodec extends convert.Codec$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$0]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$0]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$0]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$0]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$0]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$0]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$0]; - } - 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}); - } - get decoder() { - return new io.ZLibDecoder.new({windowBits: this.windowBits, dictionary: this.dictionary, raw: this.raw}); - } -}; -(io.GZipCodec.new = function(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"); - this[level$0] = level; - this[windowBits$0] = windowBits; - this[memLevel$0] = memLevel; - this[strategy$0] = strategy; - this[dictionary$0] = dictionary; - this[raw$0] = raw; - this[gzip$0] = gzip; - io.GZipCodec.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.GZipCodec.prototype; -(io.GZipCodec._default = function() { - this[level$0] = 6; - this[windowBits$0] = 15; - this[memLevel$0] = 8; - this[strategy$0] = 0; - this[raw$0] = false; - this[gzip$0] = true; - this[dictionary$0] = null; - io.GZipCodec.__proto__.new.call(this); - ; -}).prototype = io.GZipCodec.prototype; -dart.addTypeTests(io.GZipCodec); -dart.addTypeCaches(io.GZipCodec); -dart.setGetterSignature(io.GZipCodec, () => ({ - __proto__: dart.getGetters(io.GZipCodec.__proto__), - encoder: io.ZLibEncoder, - decoder: io.ZLibDecoder -})); -dart.setLibraryUri(io.GZipCodec, I[108]); -dart.setFieldSignature(io.GZipCodec, () => ({ - __proto__: dart.getFields(io.GZipCodec.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -var gzip$1 = dart.privateName(io, "ZLibEncoder.gzip"); -var level$1 = dart.privateName(io, "ZLibEncoder.level"); -var memLevel$1 = dart.privateName(io, "ZLibEncoder.memLevel"); -var strategy$1 = dart.privateName(io, "ZLibEncoder.strategy"); -var windowBits$1 = dart.privateName(io, "ZLibEncoder.windowBits"); -var dictionary$1 = dart.privateName(io, "ZLibEncoder.dictionary"); -var raw$1 = dart.privateName(io, "ZLibEncoder.raw"); -io.ZLibEncoder = class ZLibEncoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get gzip() { - return this[gzip$1]; - } - set gzip(value) { - super.gzip = value; - } - get level() { - return this[level$1]; - } - set level(value) { - super.level = value; - } - get memLevel() { - return this[memLevel$1]; - } - set memLevel(value) { - super.memLevel = value; - } - get strategy() { - return this[strategy$1]; - } - set strategy(value) { - super.strategy = value; - } - get windowBits() { - return this[windowBits$1]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$1]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$1]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 307, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 321, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibEncoderSink.__(sink, this.gzip, this.level, this.windowBits, this.memLevel, this.strategy, this.dictionary, this.raw); - } -}; -(io.ZLibEncoder.new = function(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"); - this[gzip$1] = gzip; - this[level$1] = level; - this[windowBits$1] = windowBits; - this[memLevel$1] = memLevel; - this[strategy$1] = strategy; - this[dictionary$1] = dictionary; - this[raw$1] = raw; - io.ZLibEncoder.__proto__.new.call(this); - io._validateZLibeLevel(this.level); - io._validateZLibMemLevel(this.memLevel); - io._validateZLibStrategy(this.strategy); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibEncoder.prototype; -dart.addTypeTests(io.ZLibEncoder); -dart.addTypeCaches(io.ZLibEncoder); -dart.setMethodSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getMethods(io.ZLibEncoder.__proto__), - 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[108]); -dart.setFieldSignature(io.ZLibEncoder, () => ({ - __proto__: dart.getFields(io.ZLibEncoder.__proto__), - gzip: dart.finalFieldType(core.bool), - level: dart.finalFieldType(core.int), - memLevel: dart.finalFieldType(core.int), - strategy: dart.finalFieldType(core.int), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -var windowBits$2 = dart.privateName(io, "ZLibDecoder.windowBits"); -var dictionary$2 = dart.privateName(io, "ZLibDecoder.dictionary"); -var raw$2 = dart.privateName(io, "ZLibDecoder.raw"); -io.ZLibDecoder = class ZLibDecoder extends convert.Converter$(core.List$(core.int), core.List$(core.int)) { - get windowBits() { - return this[windowBits$2]; - } - set windowBits(value) { - super.windowBits = value; - } - get dictionary() { - return this[dictionary$2]; - } - set dictionary(value) { - super.dictionary = value; - } - get raw() { - return this[raw$2]; - } - 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 t161; - T$0.ListOfint().as(bytes); - if (bytes == null) dart.nullFailed(I[111], 360, 31, "bytes"); - let sink = new io._BufferSink.new(); - t161 = this.startChunkedConversion(sink); - (() => { - t161.add(bytes); - t161.close(); - return t161; - })(); - return sink.builder.takeBytes(); - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(sink); - if (sink == null) dart.nullFailed(I[111], 373, 61, "sink"); - if (!convert.ByteConversionSink.is(sink)) { - sink = new convert._ByteAdapterSink.new(sink); - } - return new io._ZLibDecoderSink.__(sink, this.windowBits, this.dictionary, this.raw); - } -}; -(io.ZLibDecoder.new = function(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"); - this[windowBits$2] = windowBits; - this[dictionary$2] = dictionary; - this[raw$2] = raw; - io.ZLibDecoder.__proto__.new.call(this); - io._validateZLibWindowBits(this.windowBits); -}).prototype = io.ZLibDecoder.prototype; -dart.addTypeTests(io.ZLibDecoder); -dart.addTypeCaches(io.ZLibDecoder); -dart.setMethodSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getMethods(io.ZLibDecoder.__proto__), - 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[108]); -dart.setFieldSignature(io.ZLibDecoder, () => ({ - __proto__: dart.getFields(io.ZLibDecoder.__proto__), - windowBits: dart.finalFieldType(core.int), - dictionary: dart.finalFieldType(dart.nullable(core.List$(core.int))), - raw: dart.finalFieldType(core.bool) -})); -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[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._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[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._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[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[110], 678, 11, "windowBits"); - if (raw == null) dart.nullFailed(I[110], 678, 51, "raw"); - dart.throw(new core.UnsupportedError.new("_newZLibInflateFilter")); - } -}; -(io.RawZLibFilter[dart.mixinNew] = function() { -}).prototype = io.RawZLibFilter.prototype; -dart.addTypeTests(io.RawZLibFilter); -dart.addTypeCaches(io.RawZLibFilter); -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[111], 440, 22, "chunk"); - this.builder.add(chunk); - } - addSlice(chunk, start, end, 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))); - } else { - this.builder.add(chunk[$sublist](start, end)); - } - } - close() { - } - static ['_#new#tearOff']() { - return new io._BufferSink.new(); - } -}; -(io._BufferSink.new = function() { - this.builder = _internal.BytesBuilder.new({copy: false}); - io._BufferSink.__proto__.new.call(this); - ; -}).prototype = io._BufferSink.prototype; -dart.addTypeTests(io._BufferSink); -dart.addTypeCaches(io._BufferSink); -dart.setMethodSignature(io._BufferSink, () => ({ - __proto__: dart.getMethods(io._BufferSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); -dart.setFieldSignature(io._BufferSink, () => ({ - __proto__: dart.getFields(io._BufferSink.__proto__), - builder: dart.finalFieldType(_internal.BytesBuilder) -})); -var _closed = dart.privateName(io, "_closed"); -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[111], 488, 22, "data"); - this.addSlice(data, 0, data[$length], false); - } - addSlice(data, start, end, 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]); - try { - this[_empty] = false; - let bufferAndStart = io._ensureFastAndSerializableByteData(data, start, end); - this[_filter$].process(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - let out = null; - while (true) { - let out = this[_filter$].processed({flush: false}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.rethrow(e$); - } else - throw e$; - } - if (dart.test(isLast)) this.close(); - } - close() { - if (dart.test(this[_closed])) return; - if (dart.test(this[_empty])) this[_filter$].process(C[94] || CT.C94, 0, 0); - try { - while (true) { - let out = this[_filter$].processed({end: true}); - if (out == null) break; - this[_sink$1].add(out); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[_closed] = true; - dart.throw(e); - } else - throw e$; - } - this[_closed] = true; - this[_sink$1].close(); - } -}; -(io._FilterSink.new = function(_sink, _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; - this[_filter$] = _filter; - io._FilterSink.__proto__.new.call(this); - ; -}).prototype = io._FilterSink.prototype; -dart.addTypeTests(io._FilterSink); -dart.addTypeCaches(io._FilterSink); -dart.setMethodSignature(io._FilterSink, () => ({ - __proto__: dart.getMethods(io._FilterSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - 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[108]); -dart.setFieldSignature(io._FilterSink, () => ({ - __proto__: dart.getFields(io._FilterSink.__proto__), - [_filter$]: dart.finalFieldType(io.RawZLibFilter), - [_sink$1]: dart.finalFieldType(convert.ByteConversionSink), - [_closed]: dart.fieldType(core.bool), - [_empty]: dart.fieldType(core.bool) -})); -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[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[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[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[108]); -io.Directory = class Directory extends core.Object { - static new(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[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[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) { - return io._Directory.current; - } - return overrides.getCurrentDirectory(); - } - static set current(path) { - let overrides = io.IOOverrides.current; - if (overrides == null) { - io._Directory.current = path; - return; - } - overrides.setCurrentDirectory(core.String.as(path)); - } - static get systemTemp() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._Directory.systemTemp; - } - return overrides.getSystemTempDirectory(); - } -}; -(io.Directory[dart.mixinNew] = function() { -}).prototype = io.Directory.prototype; -dart.addTypeTests(io.Directory); -dart.addTypeCaches(io.Directory); -io.Directory[dart.implements] = () => [io.FileSystemEntity]; -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 _absolutePath = dart.privateName(io, "_absolutePath"); -var _delete = dart.privateName(io, "_delete"); -var _deleteSync = dart.privateName(io, "_deleteSync"); -io.FileSystemEntity = class FileSystemEntity extends core.Object { - get uri() { - return core._Uri.file(this.path); - } - resolveSymbolicLinks() { - return io._File._dispatchWithNamespace(6, [null, this[_rawPath$]]).then(core.String, dart.fn(response => { - 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$]); - io.FileSystemEntity._throwIfError(core.Object.as(result), "Cannot resolve symbolic links", this.path); - return core.String.as(result); - } - stat() { - return io.FileStat.stat(this.path); - } - statSync() { - return io.FileStat.statSync(this.path); - } - delete(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[114], 468, 12, "events"); - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - return io._FileSystemWatcher._watch(trimmedPath, events, recursive); - } - return overrides.fsWatch(trimmedPath, events, recursive); - } - static _identical(path1, 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 => { - 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[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); - } - return overrides.fseIdentical(path1, path2); - } - get isAbsolute() { - return io.FileSystemEntity._isAbsolute(this.path); - } - static _isAbsolute(path) { - if (path == null) dart.nullFailed(I[114], 533, 34, "path"); - if (dart.test(io.Platform.isWindows)) { - return path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern); - } else { - return path[$startsWith]("/"); - } - } - get [_absolutePath]() { - if (dart.test(this.isAbsolute)) return this.path; - if (dart.test(io.Platform.isWindows)) return io.FileSystemEntity._absoluteWindowsPath(this.path); - let current = io.Directory.current.path; - if (current[$endsWith]("/")) { - return dart.str(current) + dart.str(this.path); - } else { - return dart.str(current) + dart.str(io.Platform.pathSeparator) + dart.str(this.path); - } - } - static _windowsDriveLetter(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[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[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); - } - if (current[$startsWith]("\\\\")) { - let serverEnd = current[$indexOf]("\\", 2); - if (serverEnd >= 0) { - let shareEnd = current[$indexOf]("\\", serverEnd + 1); - if (shareEnd < 0) shareEnd = current.length; - return current[$substring](0, shareEnd) + dart.str(path); - } - } - return path; - } - let entityDrive = io.FileSystemEntity._windowsDriveLetter(path); - if (dart.notNull(entityDrive) >= 0) { - if (entityDrive != io.FileSystemEntity._windowsDriveLetter(current)) { - return path[$_get](0) + ":\\" + dart.str(path); - } - path = path[$substring](2); - 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); - } - return dart.str(current) + "\\" + dart.str(path); - } - static _identicalSync(path1, 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[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); - } - return overrides.fseIdenticalSync(path1, path2); - } - static get isWatchSupported() { - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io._FileSystemWatcher.isSupported; - } - return overrides.fsWatchIsSupported(); - } - static _toUtf8Array(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[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; - } else { - return l; - } - } - static _toStringFromUtf8Array(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); - } - return convert.utf8.decode(nonNullTerminated, {allowMalformed: true}); - } - static type(path, opts) { - 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[114], 692, 13, "followLinks"); - return io.FileSystemEntity._getType(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static typeSync(path, opts) { - 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[114], 703, 59, "followLinks"); - return io.FileSystemEntity._getTypeSync(io.FileSystemEntity._toUtf8Array(path), followLinks); - } - static isLink(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[114], 713, 44, "rawPath"); - return io.FileSystemEntity._getType(rawPath, false).then(core.bool, dart.fn(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[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[114], 720, 14, "type"); - return dart.equals(type, io.FileSystemEntityType.file); - }, T$0.FileSystemEntityTypeTobool())); - } - static isDirectory(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[114], 727, 18, "type"); - return dart.equals(type, io.FileSystemEntityType.directory); - }, T$0.FileSystemEntityTypeTobool())); - } - static isLinkSync(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[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[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[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[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[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[114], 773, 33, "path"); - let rootEnd = -1; - if (dart.test(io.Platform.isWindows)) { - if (path[$startsWith](io.FileSystemEntity._absoluteWindowsPathPattern)) { - rootEnd = path[$indexOf](core.RegExp.new("[/\\\\]"), 2); - if (rootEnd === -1) return path; - } else if (path[$startsWith]("\\") || path[$startsWith]("/")) { - rootEnd = 0; - } - } else if (path[$startsWith]("/")) { - rootEnd = 0; - } - let pos = path[$lastIndexOf](io.FileSystemEntity._parentRegExp); - if (pos > rootEnd) { - return path[$substring](0, pos + 1); - } else if (rootEnd > -1) { - return path[$substring](0, rootEnd + 1); - } else { - return "."; - } - } - get parent() { - return io.Directory.new(io.FileSystemEntity.parentOf(this.path)); - } - static _getTypeSyncHelper(rawPath, 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[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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _getTypeRequest(rawPath, 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 => { - io._checkForErrorResponse(response, "Error getting type", convert.utf8.decode(rawPath, {allowMalformed: true})); - return io.FileSystemEntityType._lookup(core.int.as(response)); - }, T$0.ObjectNToFileSystemEntityType())); - } - static _getType(rawPath, 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(io.FileSystemEntity._toStringFromUtf8Array(rawPath), followLinks); - } - static _throwIfError(result, msg, path = null) { - 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)) { - dart.throw(result); - } - } - static _trimTrailingPathSeparators(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]("/"))) { - path = path[$substring](0, path.length - 1); - } - } else { - while (path.length > 1 && path[$endsWith](io.Platform.pathSeparator)) { - path = path[$substring](0, path.length - 1); - } - } - return path; - } - static _ensureTrailingPathSeparators(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]("/")) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } else { - while (!path[$endsWith](io.Platform.pathSeparator)) { - path = dart.str(path) + dart.str(io.Platform.pathSeparator); - } - } - return path; - } -}; -(io.FileSystemEntity.new = function() { - ; -}).prototype = io.FileSystemEntity.prototype; -dart.addTypeTests(io.FileSystemEntity); -dart.addTypeCaches(io.FileSystemEntity); -dart.setMethodSignature(io.FileSystemEntity, () => ({ - __proto__: dart.getMethods(io.FileSystemEntity.__proto__), - resolveSymbolicLinks: dart.fnType(async.Future$(core.String), []), - resolveSymbolicLinksSync: dart.fnType(core.String, []), - stat: dart.fnType(async.Future$(io.FileStat), []), - statSync: dart.fnType(io.FileStat, []), - delete: dart.fnType(async.Future$(io.FileSystemEntity), [], {recursive: core.bool}, {}), - 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, - isAbsolute: core.bool, - [_absolutePath]: core.String, - parent: io.Directory -})); -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; - }, - /*io.FileSystemEntity._slashChar*/get _slashChar() { - return 47; - }, - /*io.FileSystemEntity._colonChar*/get _colonChar() { - return 58; - }, - /*io.FileSystemEntity._absoluteWindowsPathPattern*/get _absoluteWindowsPathPattern() { - return core.RegExp.new("^(?:\\\\\\\\|[a-zA-Z]:[/\\\\])"); - }, - /*io.FileSystemEntity._parentRegExp*/get _parentRegExp() { - return dart.test(io.Platform.isWindows) ? core.RegExp.new("[^/\\\\][/\\\\]+[^/\\\\]") : core.RegExp.new("[^/]/+[^/]"); - } -}, false); -io._Directory = class _Directory extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath]; - } - 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[110], 14, 30, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._current")); - } - static _setCurrent(namespace, 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[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[110], 29, 40, "namespace"); - dart.throw(new core.UnsupportedError.new("Directory._systemTemp")); - } - static _exists(namespace, 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[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[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[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[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(io.FileSystemException._fromOSError(result, "Getting current working directory failed", "")); - } - return new io._Directory.new(core.String.as(result)); - } - static set current(path) { - let _rawPath = null; - let _rawPath$35isSet = false; - function _rawPath$35get() { - return _rawPath$35isSet ? _rawPath : dart.throw(new _internal.LateError.localNI("_rawPath")); - } - function _rawPath$35set(_rawPath$35param) { - if (_rawPath$35param == null) dart.nullFailed(I[113], 49, 20, "_rawPath#param"); - _rawPath$35isSet = true; - return _rawPath = _rawPath$35param; - } - if (io._Directory.is(path)) { - _rawPath$35set(path[_rawPath$]); - } else if (io.Directory.is(path)) { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path.path)); - } else if (typeof path == 'string') { - _rawPath$35set(io.FileSystemEntity._toUtf8Array(path)); - } else { - dart.throw(new core.ArgumentError.new(dart.str(core.Error.safeToString(path)) + " is not a String or" + " Directory")); - } - if (!dart.test(io._EmbedderConfig._mayChdir)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows setting Directory.current")); - } - 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(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(37, [null, this[_rawPath$]]).then(core.bool, dart.fn(response => { - io._checkForErrorResponse(response, "Exists failed", this.path); - return dart.equals(response, 1); - }, T$.ObjectNTobool())); - } - existsSync() { - let result = io._Directory._exists(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Exists failed", this.path, result)); - } - return dart.equals(result, 1); - } - get absolute() { - return io.Directory.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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[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[113], 104, 55, "_"); - return this.create(); - }, T$0.DirectoryToFutureOfDirectory())); - } else { - return this.create(); - } - }, T$0.boolToFutureOrOfDirectory())); - } else { - 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.ObjectNTo_Directory())); - } - } - createSync(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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) { - this.parent.createSync({recursive: true}); - } - } - let result = io._Directory._create(io._Namespace._namespace, this[_rawPath$]); - if (io.OSError.is(result)) { - dart.throw(io.FileSystemException._fromOSError(result, "Creation failed", this.path)); - } - } - static get systemTemp() { - return io.Directory.new(io._Directory._systemTemp(io._Namespace._namespace)); - } - createTemp(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - 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.ObjectNToDirectory())); - } - createTempSync(prefix = null) { - prefix == null ? prefix = "" : null; - if (this.path === "") { - dart.throw(new core.ArgumentError.new("Directory.createTemp called with an empty path. " + "To use the system temp directory, use Directory.systemTemp")); - } - let fullPrefix = null; - if (this.path[$endsWith]("/") || dart.test(io.Platform.isWindows) && this.path[$endsWith]("\\")) { - fullPrefix = dart.str(this.path) + dart.str(prefix); - } else { - fullPrefix = dart.str(this.path) + dart.str(io.Platform.pathSeparator) + dart.str(prefix); - } - let result = io._Directory._createTemp(io._Namespace._namespace, io.FileSystemEntity._toUtf8Array(fullPrefix)); - if (io.OSError.is(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[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.ObjectNTo_Directory())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(io.FileSystemException._fromOSError(result, "Deletion failed", this.path)); - } - } - rename(newPath) { - 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.ObjectNToDirectory())); - } - renameSync(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(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[113], 216, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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[113], 228, 13, "recursive"); - let followLinks = opts && 'followLinks' in opts ? opts.followLinks : true; - 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([]); - io._Directory._fillWithDirectoryListing(io._Namespace._namespace, result, io.FileSystemEntity._toUtf8Array(io.FileSystemEntity._ensureTrailingPathSeparators(this.path)), recursive, followLinks); - return result; - } - toString() { - return "Directory: '" + dart.str(this.path) + "'"; - } - static _checkNotNull(T, t, 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[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[113], 15, 36, "rawPath"); - this[_rawPath] = io.FileSystemEntity._toNullTerminatedUtf8Array(io._Directory._checkNotNull(typed_data.Uint8List, rawPath, "rawPath")); - this[_path$] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; -}).prototype = io._Directory.prototype; -dart.addTypeTests(io._Directory); -dart.addTypeCaches(io._Directory); -io._Directory[dart.implements] = () => [io.Directory]; -dart.setMethodSignature(io._Directory, () => ({ - __proto__: dart.getMethods(io._Directory.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - createTemp: dart.fnType(async.Future$(io.Directory), [], [dart.nullable(core.String)]), - createTempSync: dart.fnType(io.Directory, [], [dart.nullable(core.String)]), - [_delete]: dart.fnType(async.Future$(io.Directory), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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}, {}) -})); -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.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), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._Directory, ['toString']); -io._AsyncDirectoryListerOps = class _AsyncDirectoryListerOps extends core.Object { - static new(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.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 t167; - t167 = this[_ops]; - return t167 == null ? null : t167.getPointer(); - } - get stream() { - return this.controller.stream; - } - onListen() { - 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(); - } else if (core.Error.is(response)) { - this.controller.addError(response, response[$stackTrace]); - this.close(); - } else { - this.error(T$.ListOfObjectN().as(response)); - this.close(); - } - }, T$0.ObjectNToNull())); - } - onResume() { - if (!dart.test(this.nextRunning)) { - this.next(); - } - } - onCancel() { - this.canceled = true; - if (!dart.test(this.nextRunning)) { - this.close(); - } - return this.closeCompleter.future; - } - next() { - if (dart.test(this.canceled)) { - this.close(); - return; - } - if (dart.test(this.controller.isPaused) || dart.test(this.nextRunning)) { - return; - } - let pointer = this[_pointer](); - if (pointer == null) { - return; - } - this.nextRunning = true; - 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[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[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; - } - case 1: - { - 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; - } - case 3: - { - this.error(T$.ListOfObjectN().as(result[$_get](i))); - break; - } - case 4: - { - this.canceled = true; - return; - } - } - } - } else { - this.controller.addError(new io.FileSystemException.new("Internal error")); - } - }, T$0.ObjectNToNull())); - } - [_cleanup]() { - this.controller.close(); - this.closeCompleter.complete(); - this[_ops] = null; - } - close() { - if (dart.test(this.closed)) { - return; - } - if (dart.test(this.nextRunning)) { - return; - } - this.closed = true; - let pointer = this[_pointer](); - if (pointer == null) { - this[_cleanup](); - } else { - io._IOService._dispatch(41, [pointer]).whenComplete(dart.bind(this, _cleanup)); - } - } - error(message) { - 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 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(errorPath, {allowMalformed: true}); - } - 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 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; - this.closed = false; - this[_ops] = null; - this.closeCompleter = async.Completer.new(); - this.rawPath = rawPath; - this.recursive = recursive; - this.followLinks = followLinks; - t167 = this.controller; - (() => { - 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); -dart.addTypeCaches(io._AsyncDirectoryLister); -dart.setMethodSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getMethods(io._AsyncDirectoryLister.__proto__), - [_pointer]: dart.fnType(dart.nullable(core.int), []), - onListen: dart.fnType(dart.void, []), - onResume: dart.fnType(dart.void, []), - onCancel: dart.fnType(async.Future, []), - next: dart.fnType(dart.void, []), - [_cleanup]: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - 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[108]); -dart.setFieldSignature(io._AsyncDirectoryLister, () => ({ - __proto__: dart.getFields(io._AsyncDirectoryLister.__proto__), - rawPath: dart.finalFieldType(typed_data.Uint8List), - recursive: dart.finalFieldType(core.bool), - followLinks: dart.finalFieldType(core.bool), - controller: dart.finalFieldType(async.StreamController$(io.FileSystemEntity)), - canceled: dart.fieldType(core.bool), - nextRunning: dart.fieldType(core.bool), - closed: dart.fieldType(core.bool), - [_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; - }, - /*io._AsyncDirectoryLister.listDirectory*/get listDirectory() { - return 1; - }, - /*io._AsyncDirectoryLister.listLink*/get listLink() { - return 2; - }, - /*io._AsyncDirectoryLister.listError*/get listError() { - return 3; - }, - /*io._AsyncDirectoryLister.listDone*/get listDone() { - return 4; - }, - /*io._AsyncDirectoryLister.responseType*/get responseType() { - return 0; - }, - /*io._AsyncDirectoryLister.responsePath*/get responsePath() { - return 1; - }, - /*io._AsyncDirectoryLister.responseComplete*/get responseComplete() { - return 1; - }, - /*io._AsyncDirectoryLister.responseError*/get responseError() { - return 2; - } -}, false); -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[108]); -dart.setStaticFieldSignature(io._EmbedderConfig, () => ['_mayChdir', '_mayExit', '_maySetEchoMode', '_maySetEchoNewlineMode', '_maySetLineMode', '_maySleep']); -dart.defineLazy(io._EmbedderConfig, { - /*io._EmbedderConfig._mayChdir*/get _mayChdir() { - return true; - }, - set _mayChdir(value) { - if (value == null) dart.nullFailed(I[115], 17, 15, "_mayChdir"); - }, - /*io._EmbedderConfig._mayExit*/get _mayExit() { - return true; - }, - set _mayExit(value) { - if (value == null) dart.nullFailed(I[115], 21, 15, "_mayExit"); - }, - /*io._EmbedderConfig._maySetEchoMode*/get _maySetEchoMode() { - return true; - }, - set _maySetEchoMode(value) { - if (value == null) dart.nullFailed(I[115], 25, 15, "_maySetEchoMode"); - }, - /*io._EmbedderConfig._maySetEchoNewlineMode*/get _maySetEchoNewlineMode() { - return true; - }, - set _maySetEchoNewlineMode(value) { - if (value == null) dart.nullFailed(I[115], 29, 15, "_maySetEchoNewlineMode"); - }, - /*io._EmbedderConfig._maySetLineMode*/get _maySetLineMode() { - return true; - }, - set _maySetLineMode(value) { - if (value == null) dart.nullFailed(I[115], 33, 15, "_maySetLineMode"); - }, - /*io._EmbedderConfig._maySleep*/get _maySleep() { - return true; - }, - 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[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.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 { - get [_mode]() { - return this[_mode$]; - } - 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[116], 32, 33, "_mode"); - this[_mode$] = _mode; - ; -}).prototype = io.FileMode.prototype; -dart.addTypeTests(io.FileMode); -dart.addTypeCaches(io.FileMode); -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[116] || CT.C116; - }, - /*io.FileMode.write*/get write() { - return C[117] || CT.C117; - }, - /*io.FileMode.append*/get append() { - return C[118] || CT.C118; - }, - /*io.FileMode.writeOnly*/get writeOnly() { - return C[119] || CT.C119; - }, - /*io.FileMode.writeOnlyAppend*/get writeOnlyAppend() { - return C[120] || CT.C120; - } -}, false); -var _type$1 = dart.privateName(io, "FileLock._type"); -var _type = dart.privateName(io, "_type"); -io.FileLock = class FileLock extends core.Object { - get [_type]() { - return this[_type$1]; - } - 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[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[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[121] || CT.C121; - }, - /*io.FileLock.exclusive*/get exclusive() { - return C[122] || CT.C122; - }, - /*io.FileLock.blockingShared*/get blockingShared() { - return C[123] || CT.C123; - }, - /*io.FileLock.blockingExclusive*/get blockingExclusive() { - return C[124] || CT.C124; - } -}, false); -io.File = class File extends core.Object { - static new(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[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[116], 210, 38, "rawPath"); - return new io._File.fromRawPath(rawPath); - } -}; -(io.File[dart.mixinNew] = function() { -}).prototype = io.File.prototype; -dart.addTypeTests(io.File); -dart.addTypeCaches(io.File); -io.File[dart.implements] = () => [io.FileSystemEntity]; -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[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]; - } - set message(value) { - super.message = value; - } - get path() { - return this[path$]; - } - set path(value) { - super.path = value; - } - get osError() { - return this[osError$]; - } - set osError(value) { - super.osError = value; - } - 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(className); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - if (this.path != null) { - sb.write(", path = '" + dart.str(this.path) + "'"); - } - } else if (this.path != null) { - sb.write(": " + dart.str(this.path)); - } - return sb.toString(); - } - toString() { - return this[_toStringHelper]("FileSystemException"); - } -}; -(io.FileSystemException.new = function(message = "", path = "", osError = null) { - if (message == null) dart.nullFailed(I[116], 895, 35, "message"); - this[message$3] = message; - this[path$] = path; - this[osError$] = osError; - ; -}).prototype = io.FileSystemException.prototype; -dart.addTypeTests(io.FileSystemException); -dart.addTypeCaches(io.FileSystemException); -io.FileSystemException[dart.implements] = () => [io.IOException]; -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), - path: dart.finalFieldType(dart.nullable(core.String)), - 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 _closeCompleter = dart.privateName(io, "_closeCompleter"); -var _unsubscribed = dart.privateName(io, "_unsubscribed"); -var _readInProgress = dart.privateName(io, "_readInProgress"); -var _atEnd = dart.privateName(io, "_atEnd"); -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 _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 t167; - return dart.test(this[___FileStream__controller_isSet]) ? (t167 = this[___FileStream__controller], t167) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[117], 12, 36, "_controller#param"); - this[___FileStream__controller_isSet] = true; - this[___FileStream__controller] = _controller$35param; - } - static ['_#new#tearOff'](_path, position, _end) { - return new io._FileStream.new(_path, position, _end); - } - static ['_#forStdin#tearOff']() { - return new io._FileStream.forStdin(); - } - 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$2), onResume: dart.bind(this, _readBlock), onCancel: dart.fn(() => { - this[_unsubscribed] = true; - return this[_closeFile](); - }, T$0.VoidToFuture())}); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - [_closeFile]() { - if (dart.test(this[_readInProgress]) || dart.test(this[_closed])) { - return this[_closeCompleter].future; - } - this[_closed] = true; - const done = () => { - this[_closeCompleter].complete(); - this[_controller].close(); - }; - dart.fn(done, T$.VoidTovoid()); - dart.nullCheck(this[_openedFile]).close().catchError(dart.bind(this[_controller], 'addError')).whenComplete(done); - return this[_closeCompleter].future; - } - [_readBlock]() { - if (dart.test(this[_readInProgress])) return; - if (dart.test(this[_atEnd])) { - this[_closeFile](); - return; - } - this[_readInProgress] = true; - let readBytes = 65536; - let end = this[_end$0]; - if (end != null) { - readBytes = math.min(core.int, readBytes, dart.notNull(end) - dart.notNull(this[_position$])); - if (readBytes < 0) { - this[_readInProgress] = false; - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(new core.RangeError.new("Bad end position: " + dart.str(end))); - this[_closeFile](); - this[_unsubscribed] = true; - } - return; - } - } - 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 (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](); - } - if (dart.notNull(block[$length]) > 0) { - this[_controller].add(block); - } - if (dart.test(this[_atEnd])) { - this[_closeFile](); - } - }, T$0.Uint8ListToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_unsubscribed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - this[_closeFile](); - this[_unsubscribed] = true; - } - }, T$.dynamicAnddynamicToNull())); - } - [_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(); - this[_closeCompleter].complete(); - return; - } - const onReady = 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[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)); - this[_readInProgress] = false; - this[_closeFile](); - }, T$.dynamicAnddynamicToNull())}); - } else { - onReady(file); - } - }; - dart.fn(onOpenFile, T$0.RandomAccessFileTovoid()); - const openFailed = (error, stackTrace) => { - this[_controller].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - this[_controller].close(); - this[_closeCompleter].complete(); - }; - dart.fn(openFailed, T$.dynamicAnddynamicTovoid()); - let path = this[_path$0]; - 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 { - onOpenFile(io._File._openStdioSync(0)); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - openFailed(e, s); - } else - throw e$; - } - } - } -}; -(io._FileStream.new = function(_path, position, _end) { - let t167; - 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[_openedFile] = null; - this[_path$0] = _path; - 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[_closeCompleter] = async.Completer.new(); - this[_unsubscribed] = false; - this[_readInProgress] = true; - this[_closed] = false; - this[_atEnd] = false; - 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; -dart.addTypeTests(io._FileStream); -dart.addTypeCaches(io._FileStream); -dart.setMethodSignature(io._FileStream, () => ({ - __proto__: dart.getMethods(io._FileStream.__proto__), - 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$2]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(io._FileStream, () => ({ - __proto__: dart.getGetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) -})); -dart.setSetterSignature(io._FileStream, () => ({ - __proto__: dart.getSetters(io._FileStream.__proto__), - [_controller]: async.StreamController$(typed_data.Uint8List) -})); -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)), - [_openedFile]: dart.fieldType(dart.nullable(io.RandomAccessFile)), - [_position$]: dart.fieldType(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), - [_closed]: dart.fieldType(core.bool), - [_atEnd]: dart.fieldType(core.bool) -})); -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[117], 186, 45, "stream"); - let completer = T$0.CompleterOfFileN().sync(); - this[_openFuture].then(core.Null, dart.fn(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")); - } - function _subscription$35set(_subscription$35param) { - if (_subscription$35param == null) dart.nullFailed(I[117], 189, 42, "_subscription#param"); - _subscription$35isSet = true; - return _subscription = _subscription$35param; - } - function error(e, 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[117], 196, 38, "d"); - _subscription$35get().pause(); - try { - openedFile.writeFrom(d, 0, d[$length]).then(dart.void, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 201, 22, "_"); - return _subscription$35get().resume(); - }, T$0.RandomAccessFileTovoid()), {onError: error}); - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - error(e, stackTrace); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onDone: dart.fn(() => { - completer.complete(this[_file]); - }, T$.VoidTovoid()), onError: error, cancelOnError: true})); - }, T$0.RandomAccessFileToNull())).catchError(dart.bind(completer, 'completeError')); - return completer.future; - } - close() { - return this[_openFuture].then(dart.void, dart.fn(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[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[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, () => ({ - __proto__: dart.getMethods(io._FileStreamConsumer.__proto__), - 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[108]); -dart.setFieldSignature(io._FileStreamConsumer, () => ({ - __proto__: dart.getFields(io._FileStreamConsumer.__proto__), - [_file]: dart.fieldType(dart.nullable(io.File)), - [_openFuture]: dart.fieldType(async.Future$(io.RandomAccessFile)) -})); -var _path$1 = dart.privateName(io, "_File._path"); -var _rawPath$0 = dart.privateName(io, "_File._rawPath"); -var _tryDecode = dart.privateName(io, "_tryDecode"); -io._File = class _File extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$1]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$0]; - } - 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]; - } - static _namespacePointer() { - return io._Namespace._namespacePointer; - } - static _dispatchWithNamespace(request, 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 => { - 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[110], 111, 29, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 111, 50, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._exists")); - } - existsSync() { - let result = io._File._exists(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot check existence of file", this.path); - return core.bool.as(result); - } - get absolute() { - return io.File.new(this[_absolutePath]); - } - create(opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - 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(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.ObjectNTo_File())); - } - 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[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[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[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$], 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[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[117], 294, 64, "_"); - return this; - }, T$0.FileSystemEntityTo_File())); - } - return io._File._dispatchWithNamespace(2, [null, this[_rawPath$]]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete file", this.path); - return this; - }, T$0.ObjectNTo_File())); - } - static _deleteNative(namespace, 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[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[117], 307, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteNative(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot delete file", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _rename(namespace, oldPath, 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[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[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[117], 336, 28, "newPath"); - return io._File._dispatchWithNamespace(4, [null, this[_rawPath$], newPath]).then(io.File, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot copy file to '" + dart.str(newPath) + "'", this.path); - return io.File.new(newPath); - }, T$0.ObjectNToFile())); - } - static _copy(namespace, oldPath, 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[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[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 => { - io._checkForErrorResponse(response, "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(response), this.path); - }, T$0.ObjectNTo_RandomAccessFile())); - } - length() { - return io._File._dispatchWithNamespace(12, [null, this[_rawPath$]]).then(core.int, dart.fn(response => { - 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[110], 161, 37, "namespace"); - if (rawPath == null) dart.nullFailed(I[110], 161, 58, "rawPath"); - dart.throw(new core.UnsupportedError.new("File._lengthFromPath")); - } - lengthSync() { - let result = io._File._lengthFromPath(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(result), "Cannot retrieve length of file", this.path); - return core.int.as(result); - } - lastAccessed() { - return io._File._dispatchWithNamespace(13, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastAccessed(namespace, 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() { - let ms = io._File._lastAccessed(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve access time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastAccessed(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 => { - io._checkForErrorResponse(response, "Cannot set access time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastAccessed(namespace, rawPath, 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[117], 414, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastAccessed(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file access time", this.path, result)); - } - } - lastModified() { - return io._File._dispatchWithNamespace(15, [null, this[_rawPath$]]).then(core.DateTime, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(response)); - }, T$0.ObjectNToDateTime())); - } - static _lastModified(namespace, 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() { - let ms = io._File._lastModified(io._Namespace._namespace, this[_rawPath$]); - io._File.throwIfError(core.Object.as(ms), "Cannot retrieve modification time", this.path); - return new core.DateTime.fromMillisecondsSinceEpoch(core.int.as(ms)); - } - setLastModified(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 => { - io._checkForErrorResponse(response, "Cannot set modification time", this.path); - return null; - }, T$0.ObjectNToNull())); - } - static _setLastModified(namespace, rawPath, 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[117], 453, 37, "time"); - let millis = time.millisecondsSinceEpoch; - let result = io._File._setLastModified(io._Namespace._namespace, this[_rawPath$], millis); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("Failed to set file modification time", this.path, result)); - } - } - static _open(namespace, rawPath, 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[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")); - } - let id = io._File._open(io._Namespace._namespace, this[_rawPath$], mode[_mode]); - io._File.throwIfError(core.Object.as(id), "Cannot open file", this.path); - return new io._RandomAccessFile.new(core.int.as(id), this[_path$0]); - } - static _openStdio(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[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))); - } - return new io._RandomAccessFile.new(id, ""); - } - openRead(start = null, end = null) { - return new io._FileStream.new(this.path, start, end); - } - openWrite(opts) { - 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")); - } - let consumer = new io._FileStreamConsumer.new(this, mode); - return io.IOSink.new(consumer, {encoding: encoding}); - } - readAsBytes() { - function readDataChunked(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[117], 507, 37, "data"); - if (dart.notNull(data[$length]) > 0) { - builder.add(data); - read(); - } else { - completer.complete(builder.takeBytes()); - } - }, T$0.Uint8ListToNull()), {onError: dart.bind(completer, 'completeError')}); - } - dart.fn(read, T$.VoidTovoid()); - read(); - return completer.future; - } - dart.fn(readDataChunked, T$0.RandomAccessFileToFutureOfUint8List()); - return this.open().then(typed_data.Uint8List, dart.fn(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[117], 522, 34, "length"); - if (length === 0) { - return readDataChunked(file); - } - return file.read(length); - }, T$0.intToFutureOfUint8List())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfUint8List())); - } - readAsBytesSync() { - let opened = this.openSync(); - try { - let data = null; - let length = opened.lengthSync(); - if (length === 0) { - let builder = _internal.BytesBuilder.new({copy: false}); - do { - data = opened.readSync(65536); - if (dart.notNull(data[$length]) > 0) builder.add(data); - } while (dart.notNull(data[$length]) > 0); - data = builder.takeBytes(); - } else { - data = opened.readSync(length); - } - return data; - } finally { - opened.closeSync(); - } - } - [_tryDecode](bytes, 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) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - dart.throw(new io.FileSystemException.new("Failed to decode data using encoding '" + dart.str(encoding.name) + "'", this.path)); - } else - throw e; - } - } - readAsString(opts) { - 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[117], 568, 32, "bytes"); - try { - return this[_tryDecode](bytes, encoding); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfString().error(e, stack); - } else - throw e$; - } - }, T$0.Uint8ListToFutureOrOfString())); - } - readAsStringSync(opts) { - 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[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[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[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[117], 587, 45, "flush"); - return this.open({mode: mode}).then(io.File, dart.fn(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[117], 589, 65, "_"); - if (dart.test(flush)) return file.flush().then(io.File, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[117], 590, 46, "_"); - return this; - }, T$0.RandomAccessFileTo_File())); - return this; - }, T$0.RandomAccessFileToFutureOrOfFile())).whenComplete(dart.bind(file, 'close')); - }, T$0.RandomAccessFileToFutureOfFile())); - } - writeAsBytesSync(bytes, opts) { - 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[117], 597, 45, "flush"); - let opened = this.openSync({mode: mode}); - try { - opened.writeFromSync(bytes, 0, bytes[$length]); - if (dart.test(flush)) opened.flushSync(); - } finally { - opened.closeSync(); - } - } - writeAsString(contents, opts) { - 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[117], 610, 12, "flush"); - try { - return this.writeAsBytes(encoding.encode(contents), {mode: mode, flush: flush}); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfFile().error(e); - } else - throw e$; - } - } - writeAsStringSync(contents, opts) { - 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[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[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(io.FileSystemException._fromOSError(result, msg, path)); - } - } - static _checkNotNull(T, t, 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[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[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); - ; -}).prototype = io._File.prototype; -dart.addTypeTests(io._File); -dart.addTypeCaches(io._File); -io._File[dart.implements] = () => [io.File]; -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), [], {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]), - renameSync: dart.fnType(io.File, [core.String]), - copy: dart.fnType(async.Future$(io.File), [core.String]), - copySync: dart.fnType(io.File, [core.String]), - open: dart.fnType(async.Future$(io.RandomAccessFile), [], {mode: io.FileMode}, {}), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - lastAccessed: dart.fnType(async.Future$(core.DateTime), []), - lastAccessedSync: dart.fnType(core.DateTime, []), - setLastAccessed: dart.fnType(async.Future, [core.DateTime]), - setLastAccessedSync: dart.fnType(dart.void, [core.DateTime]), - lastModified: dart.fnType(async.Future$(core.DateTime), []), - lastModifiedSync: dart.fnType(core.DateTime, []), - setLastModified: dart.fnType(async.Future, [core.DateTime]), - setLastModifiedSync: dart.fnType(dart.void, [core.DateTime]), - openSync: dart.fnType(io.RandomAccessFile, [], {mode: io.FileMode}, {}), - openRead: dart.fnType(async.Stream$(core.List$(core.int)), [], [dart.nullable(core.int), dart.nullable(core.int)]), - openWrite: dart.fnType(io.IOSink, [], {encoding: convert.Encoding, mode: io.FileMode}, {}), - readAsBytes: dart.fnType(async.Future$(typed_data.Uint8List), []), - readAsBytesSync: dart.fnType(typed_data.Uint8List, []), - [_tryDecode]: dart.fnType(core.String, [core.List$(core.int), convert.Encoding]), - readAsString: dart.fnType(async.Future$(core.String), [], {encoding: convert.Encoding}, {}), - readAsStringSync: dart.fnType(core.String, [], {encoding: convert.Encoding}, {}), - readAsLines: dart.fnType(async.Future$(core.List$(core.String)), [], {encoding: convert.Encoding}, {}), - readAsLinesSync: dart.fnType(core.List$(core.String), [], {encoding: convert.Encoding}, {}), - writeAsBytes: dart.fnType(async.Future$(io.File), [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - writeAsBytesSync: dart.fnType(dart.void, [core.List$(core.int)], {flush: core.bool, mode: io.FileMode}, {}), - 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[108]); -dart.setFieldSignature(io._File, () => ({ - __proto__: dart.getFields(io._File.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._File, ['toString']); -io._RandomAccessFileOps = class _RandomAccessFileOps extends core.Object { - static new(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.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"); -var _resourceInfo = dart.privateName(io, "_resourceInfo"); -var _maybeConnectHandler = dart.privateName(io, "_maybeConnectHandler"); -var _maybePerformCleanup = dart.privateName(io, "_maybePerformCleanup"); -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 t176; - return dart.test(this[___RandomAccessFile__resourceInfo_isSet]) ? (t176 = this[___RandomAccessFile__resourceInfo], t176) : dart.throw(new _internal.LateError.fieldNI("_resourceInfo")); - } - 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)) { - io._FileResourceInfo.fileClosed(this[_resourceInfo]); - } - } - [_maybeConnectHandler]() { - if (!dart.test(io._RandomAccessFile._connectedResourceHandler)) { - developer.registerExtension("ext.dart.io.getOpenFiles", C[126] || CT.C126); - developer.registerExtension("ext.dart.io.getOpenFileById", C[127] || CT.C127); - io._RandomAccessFile._connectedResourceHandler = true; - } - } - close() { - return this[_dispatch](7, [null], {markClosed: true}).then(dart.void, dart.fn(result => { - if (dart.equals(result, -1)) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || dart.equals(result, 0); - this[_maybePerformCleanup](); - }, T$0.ObjectNToNull())); - } - closeSync() { - this[_checkAvailable](); - let id = this[_ops].close(); - if (id === -1) { - dart.throw(new io.FileSystemException.new("Cannot close file", this.path)); - } - this.closed = dart.test(this.closed) || id === 0; - this[_maybePerformCleanup](); - } - readByte() { - return this[_dispatch](18, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "readByte failed", this.path); - this[_resourceInfo].addRead(1); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - readByteSync() { - this[_checkAvailable](); - let result = this[_ops].readByte(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readByte failed", this.path, result)); - } - this[_resourceInfo].addRead(1); - return core.int.as(result); - } - read(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 => { - 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.ObjectNToUint8List())); - } - readSync(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 (!typed_data.Uint8List.is(result)) { - dart.throw(new io.FileSystemException.new("readSync failed", this.path, io.OSError.as(result))); - } - this[_resourceInfo].addRead(result[$length]); - return result; - } - readInto(buffer, start = 0, end = null) { - 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) { - return T$0.FutureOfint().value(0); - } - let length = dart.notNull(end) - dart.notNull(start); - return this[_dispatch](21, [null, length]).then(core.int, dart.fn(response => { - 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.ObjectNToint())); - } - readIntoSync(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return 0; - } - let result = this[_ops].readInto(buffer, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("readInto failed", this.path, result)); - } - this[_resourceInfo].addRead(core.int.as(result)); - return core.int.as(result); - } - writeByte(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 => { - io._checkForErrorResponse(response, "writeByte failed", this.path); - this[_resourceInfo].addWrite(1); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeByteSync(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); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeByte failed", this.path, result)); - } - this[_resourceInfo].addWrite(1); - return core.int.as(result); - } - writeFrom(buffer, start = 0, end = null) { - 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]); - if (end == start) { - return T$0.FutureOfRandomAccessFile().value(this); - } - let result = null; - try { - result = io._ensureFastAndSerializableByteData(buffer, start, end); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return T$0.FutureOfRandomAccessFile().error(e); - } else - throw e$; - } - let request = core.List.filled(4, null); - request[$_set](0, null); - request[$_set](1, result.buffer); - 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 => { - io._checkForErrorResponse(response, "writeFrom failed", this.path); - this[_resourceInfo].addWrite(dart.nullCheck(end) - (dart.notNull(start) - dart.notNull(result.start))); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - writeFromSync(buffer, start = 0, end = null) { - 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"); - end = core.RangeError.checkValidRange(start, end, buffer[$length]); - if (end == start) { - return; - } - let bufferAndStart = io._ensureFastAndSerializableByteData(buffer, start, end); - let result = this[_ops].writeFrom(bufferAndStart.buffer, bufferAndStart.start, dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("writeFrom failed", this.path, result)); - } - this[_resourceInfo].addWrite(dart.notNull(end) - (dart.notNull(start) - dart.notNull(bufferAndStart.start))); - } - writeString(string, opts) { - 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[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 => { - io._checkForErrorResponse(response, "position failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - positionSync() { - this[_checkAvailable](); - let result = this[_ops].position(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("position failed", this.path, result)); - } - return core.int.as(result); - } - setPosition(position) { - if (position == null) dart.nullFailed(I[117], 894, 44, "position"); - return this[_dispatch](9, [null, position]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "setPosition failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - setPositionSync(position) { - if (position == null) dart.nullFailed(I[117], 902, 28, "position"); - this[_checkAvailable](); - let result = this[_ops].setPosition(position); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("setPosition failed", this.path, result)); - } - } - truncate(length) { - if (length == null) dart.nullFailed(I[117], 910, 41, "length"); - return this[_dispatch](10, [null, length]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "truncate failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - truncateSync(length) { - if (length == null) dart.nullFailed(I[117], 917, 25, "length"); - this[_checkAvailable](); - let result = this[_ops].truncate(length); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("truncate failed", this.path, result)); - } - } - length() { - return this[_dispatch](11, [null]).then(core.int, dart.fn(response => { - io._checkForErrorResponse(response, "length failed", this.path); - return core.int.as(response); - }, T$0.ObjectNToint())); - } - lengthSync() { - this[_checkAvailable](); - let result = this[_ops].length(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("length failed", this.path, result)); - } - return core.int.as(result); - } - flush() { - return this[_dispatch](17, [null]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "flush failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - flushSync() { - this[_checkAvailable](); - let result = this[_ops].flush(); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("flush failed", this.path, result)); - } - } - [_fileLockValue](fl) { - if (fl == null) dart.nullFailed(I[117], 962, 31, "fl"); - return fl[_type]; - } - 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"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - return this[_dispatch](30, [null, lock, start, end]).then(io.RandomAccessFile, dart.fn(response => { - io._checkForErrorResponse(response, "lock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - unlock(start = 0, end = -1) { - 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 => { - io._checkForErrorResponse(response, "unlock failed", this.path); - return this; - }, T$0.ObjectNTo_RandomAccessFile())); - } - 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"); - core.ArgumentError.checkNotNull(core.int, end, "end"); - if (dart.notNull(start) < 0 || dart.notNull(end) < -1 || end !== -1 && dart.notNull(start) >= dart.notNull(end)) { - dart.throw(new core.ArgumentError.new()); - } - let lock = this[_fileLockValue](mode); - let result = this[_ops].lock(lock, start, end); - if (io.OSError.is(result)) { - dart.throw(new io.FileSystemException.new("lock failed", this.path, result)); - } - } - unlockSync(start = 0, end = -1) { - 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"); - if (start == end) { - dart.throw(new core.ArgumentError.new()); - } - let result = this[_ops].lock(0, start, end); - if (io.OSError.is(result)) { - 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[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[117], 1037, 59, "markClosed"); - if (dart.test(this.closed)) { - 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 T$0.FutureOfObjectN().error(new io.FileSystemException.new(msg, this.path)); - } - if (dart.test(markClosed)) { - this.closed = true; - } - this[_asyncDispatched] = true; - data[$_set](0, this[_pointer]()); - return io._IOService._dispatch(request, data).whenComplete(dart.fn(() => { - this[_asyncDispatched] = false; - }, T$.VoidToNull())); - } - [_checkAvailable]() { - if (dart.test(this[_asyncDispatched])) { - dart.throw(new io.FileSystemException.new("An async operation is currently pending", this.path)); - } - if (dart.test(this.closed)) { - dart.throw(new io.FileSystemException.new("File closed", this.path)); - } - } -}; -(io._RandomAccessFile.new = function(pointer, 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; - this.closed = false; - this.path = path; - this[_ops] = io._RandomAccessFileOps.new(pointer); - this[_resourceInfo] = new io._FileResourceInfo.new(this); - this[_maybeConnectHandler](); -}).prototype = io._RandomAccessFile.prototype; -dart.addTypeTests(io._RandomAccessFile); -dart.addTypeCaches(io._RandomAccessFile); -io._RandomAccessFile[dart.implements] = () => [io.RandomAccessFile]; -dart.setMethodSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getMethods(io._RandomAccessFile.__proto__), - [_maybePerformCleanup]: dart.fnType(dart.void, []), - [_maybeConnectHandler]: dart.fnType(dart.dynamic, []), - close: dart.fnType(async.Future$(dart.void), []), - closeSync: dart.fnType(dart.void, []), - readByte: dart.fnType(async.Future$(core.int), []), - readByteSync: dart.fnType(core.int, []), - read: dart.fnType(async.Future$(typed_data.Uint8List), [core.int]), - readSync: dart.fnType(typed_data.Uint8List, [core.int]), - readInto: dart.fnType(async.Future$(core.int), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - readIntoSync: dart.fnType(core.int, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeByte: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - writeByteSync: dart.fnType(core.int, [core.int]), - writeFrom: dart.fnType(async.Future$(io.RandomAccessFile), [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeFromSync: dart.fnType(dart.void, [core.List$(core.int)], [core.int, dart.nullable(core.int)]), - writeString: dart.fnType(async.Future$(io.RandomAccessFile), [core.String], {encoding: convert.Encoding}, {}), - writeStringSync: dart.fnType(dart.void, [core.String], {encoding: convert.Encoding}, {}), - position: dart.fnType(async.Future$(core.int), []), - positionSync: dart.fnType(core.int, []), - setPosition: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - setPositionSync: dart.fnType(dart.void, [core.int]), - truncate: dart.fnType(async.Future$(io.RandomAccessFile), [core.int]), - truncateSync: dart.fnType(dart.void, [core.int]), - length: dart.fnType(async.Future$(core.int), []), - lengthSync: dart.fnType(core.int, []), - flush: dart.fnType(async.Future$(io.RandomAccessFile), []), - flushSync: dart.fnType(dart.void, []), - [_fileLockValue]: dart.fnType(core.int, [io.FileLock]), - lock: dart.fnType(async.Future$(io.RandomAccessFile), [], [io.FileLock, core.int, core.int]), - unlock: dart.fnType(async.Future$(io.RandomAccessFile), [], [core.int, core.int]), - 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$(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, - fd: core.int -})); -dart.setSetterSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getSetters(io._RandomAccessFile.__proto__), - [_resourceInfo]: io._FileResourceInfo -})); -dart.setLibraryUri(io._RandomAccessFile, I[108]); -dart.setFieldSignature(io._RandomAccessFile, () => ({ - __proto__: dart.getFields(io._RandomAccessFile.__proto__), - path: dart.finalFieldType(core.String), - [_asyncDispatched]: dart.fieldType(core.bool), - [___RandomAccessFile__resourceInfo]: dart.fieldType(dart.nullable(io._FileResourceInfo)), - [___RandomAccessFile__resourceInfo_isSet]: dart.fieldType(core.bool), - [_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(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]() { - return this[_type$2]; - } - 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[114], 39, 43, "type"); - return io.FileSystemEntityType._typeList[$_get](type); - } - toString() { - return (C[128] || CT.C128)[$_get](this[_type]); - } -}; -(io.FileSystemEntityType._internal = function(_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.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[129] || CT.C129; - }, - /*io.FileSystemEntityType.directory*/get directory() { - return C[130] || CT.C130; - }, - /*io.FileSystemEntityType.link*/get link() { - return C[131] || CT.C131; - }, - /*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[134] || CT.C134; - }, - /*io.FileSystemEntityType.NOT_FOUND*/get NOT_FOUND() { - return C[134] || CT.C134; - }, - /*io.FileSystemEntityType._typeList*/get _typeList() { - return C[135] || CT.C135; - } -}, false); -var changed$ = dart.privateName(io, "FileStat.changed"); -var modified$ = dart.privateName(io, "FileStat.modified"); -var accessed$ = dart.privateName(io, "FileStat.accessed"); -var type$1 = dart.privateName(io, "FileStat.type"); -var mode$0 = dart.privateName(io, "FileStat.mode"); -var size$ = dart.privateName(io, "FileStat.size"); -io.FileStat = class FileStat extends core.Object { - get changed() { - return this[changed$]; - } - set changed(value) { - super.changed = value; - } - get modified() { - return this[modified$]; - } - set modified(value) { - super.modified = value; - } - get accessed() { - return this[accessed$]; - } - set accessed(value) { - super.accessed = value; - } - get type() { - return this[type$1]; - } - set type(value) { - super.type = value; - } - get mode() { - return this[mode$0]; - } - set mode(value) { - super.mode = value; - } - get size() { - return this[size$]; - } - 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[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[114], 109, 35, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._statSyncInternal(path); - } - return overrides.statSync(path); - } - static _statSyncInternal(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 (!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[114], 140, 39, "path"); - let overrides = io.IOOverrides.current; - if (overrides == null) { - return io.FileStat._stat(path); - } - return overrides.stat(path); - } - static _stat(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 (T$.ListOfObjectN().is(response) && !dart.equals(response[$_get](0), 0)) { - return io.FileStat._notFound; - } - 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.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 t177; - let permissions = dart.notNull(this.mode) & 4095; - 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) "); - t177 = result; - (() => { - 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[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; - this[type$1] = type; - this[mode$0] = mode; - this[size$] = size; - ; -}).prototype = io.FileStat.prototype; -dart.addTypeTests(io.FileStat); -dart.addTypeCaches(io.FileStat); -dart.setMethodSignature(io.FileStat, () => ({ - __proto__: dart.getMethods(io.FileStat.__proto__), - modeString: dart.fnType(core.String, []) -})); -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), - modified: dart.finalFieldType(core.DateTime), - accessed: dart.finalFieldType(core.DateTime), - type: dart.finalFieldType(io.FileSystemEntityType), - 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() { - return 0; - }, - /*io.FileStat._changedTime*/get _changedTime() { - return 1; - }, - /*io.FileStat._modifiedTime*/get _modifiedTime() { - return 2; - }, - /*io.FileStat._accessedTime*/get _accessedTime() { - return 3; - }, - /*io.FileStat._mode*/get _mode() { - return 4; - }, - /*io.FileStat._size*/get _size() { - return 5; - }, - /*io.FileStat._epoch*/get _epoch() { - return new core.DateTime.fromMillisecondsSinceEpoch(0, {isUtc: true}); - }, - /*io.FileStat._notFound*/get _notFound() { - return new io.FileStat._internal(io.FileStat._epoch, io.FileStat._epoch, io.FileStat._epoch, io.FileSystemEntityType.notFound, 0, -1); - } -}, false); -var type$2 = dart.privateName(io, "FileSystemEvent.type"); -var path$0 = dart.privateName(io, "FileSystemEvent.path"); -var isDirectory$ = dart.privateName(io, "FileSystemEvent.isDirectory"); -io.FileSystemEvent = class FileSystemEvent extends core.Object { - get type() { - return this[type$2]; - } - set type(value) { - super.type = value; - } - get path() { - return this[path$0]; - } - set path(value) { - super.path = value; - } - get isDirectory() { - return this[isDirectory$]; - } - 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[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; - ; -}).prototype = io.FileSystemEvent.prototype; -dart.addTypeTests(io.FileSystemEvent); -dart.addTypeCaches(io.FileSystemEvent); -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.modify*/get modify() { - return 2; - }, - /*io.FileSystemEvent.delete*/get delete() { - return 4; - }, - /*io.FileSystemEvent.move*/get move() { - return 8; - }, - /*io.FileSystemEvent.all*/get all() { - return 15; - }, - /*io.FileSystemEvent._modifyAttributes*/get _modifyAttributes() { - return 16; - }, - /*io.FileSystemEvent._deleteSelf*/get _deleteSelf() { - return 32; - }, - /*io.FileSystemEvent._isDir*/get _isDir() { - return 64; - } -}, 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) + "')"; - } -}; -(io.FileSystemCreateEvent.__ = function(path, isDirectory) { - io.FileSystemCreateEvent.__proto__.__.call(this, 1, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemCreateEvent.prototype; -dart.addTypeTests(io.FileSystemCreateEvent); -dart.addTypeCaches(io.FileSystemCreateEvent); -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 { - get contentChanged() { - return this[contentChanged$]; - } - 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[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[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) + "')"; - } -}; -(io.FileSystemDeleteEvent.__ = function(path, isDirectory) { - io.FileSystemDeleteEvent.__proto__.__.call(this, 4, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemDeleteEvent.prototype; -dart.addTypeTests(io.FileSystemDeleteEvent); -dart.addTypeCaches(io.FileSystemDeleteEvent); -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 { - get destination() { - return this[destination$]; - } - 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) + "'"); - if (this.destination != null) buffer.write(", '" + dart.str(this.destination) + "'"); - buffer.write(")"); - return buffer.toString(); - } -}; -(io.FileSystemMoveEvent.__ = function(path, isDirectory, destination) { - this[destination$] = destination; - io.FileSystemMoveEvent.__proto__.__.call(this, 8, core.String.as(path), core.bool.as(isDirectory)); - ; -}).prototype = io.FileSystemMoveEvent.prototype; -dart.addTypeTests(io.FileSystemMoveEvent); -dart.addTypeCaches(io.FileSystemMoveEvent); -dart.setLibraryUri(io.FileSystemMoveEvent, I[108]); -dart.setFieldSignature(io.FileSystemMoveEvent, () => ({ - __proto__: dart.getFields(io.FileSystemMoveEvent.__proto__), - destination: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(io.FileSystemMoveEvent, ['toString']); -io._FileSystemWatcher = class _FileSystemWatcher extends core.Object { - static _watch(path, events, 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() { - dart.throw(new core.UnsupportedError.new("_FileSystemWatcher.isSupported")); - } -}; -(io._FileSystemWatcher.new = function() { - ; -}).prototype = io._FileSystemWatcher.prototype; -dart.addTypeTests(io._FileSystemWatcher); -dart.addTypeCaches(io._FileSystemWatcher); -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](); - } - get referenceValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", "@" + dart.str(this.type), "id", this.id, "name", this.name]); - } - static getNextID() { - 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[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.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(value) { - if (value == null) dart.nullFailed(I[119], 11, 14, "_count"); - }, - /*io._IOResourceInfo._sw*/get _sw() { - let t177; - return t177 = new core.Stopwatch.new(), (() => { - t177.start(); - return t177; - })(); - }, - /*io._IOResourceInfo._startTime*/get _startTime() { - return new core.DateTime.now().millisecondsSinceEpoch; - } -}, false); -io._ReadWriteResourceInfo = class _ReadWriteResourceInfo extends io._IOResourceInfo { - addRead(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; - } - didRead() { - this.addRead(0); - } - addWrite(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; - } - get fullValueMap() { - return new (T$0.IdentityMapOfString$dynamic()).from(["type", this.type, "id", this.id, "name", this.name, "readBytes", this.readBytes, "writeBytes", this.writeBytes, "readCount", this.readCount, "writeCount", this.writeCount, "lastReadTime", this.lastReadTime, "lastWriteTime", this.lastWriteTime]); - } -}; -(io._ReadWriteResourceInfo.new = function(type) { - if (type == null) dart.nullFailed(I[119], 66, 33, "type"); - this.readBytes = 0; - this.writeBytes = 0; - this.readCount = 0; - this.writeCount = 0; - this.lastReadTime = 0; - this.lastWriteTime = 0; - io._ReadWriteResourceInfo.__proto__.new.call(this, type); - ; -}).prototype = io._ReadWriteResourceInfo.prototype; -dart.addTypeTests(io._ReadWriteResourceInfo); -dart.addTypeCaches(io._ReadWriteResourceInfo); -dart.setMethodSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getMethods(io._ReadWriteResourceInfo.__proto__), - addRead: dart.fnType(dart.void, [core.int]), - didRead: dart.fnType(dart.void, []), - addWrite: dart.fnType(dart.void, [core.int]) -})); -dart.setGetterSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getGetters(io._ReadWriteResourceInfo.__proto__), - fullValueMap: core.Map$(core.String, dart.dynamic) -})); -dart.setLibraryUri(io._ReadWriteResourceInfo, I[108]); -dart.setFieldSignature(io._ReadWriteResourceInfo, () => ({ - __proto__: dart.getFields(io._ReadWriteResourceInfo.__proto__), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - readCount: dart.fieldType(core.int), - writeCount: dart.fieldType(core.int), - lastReadTime: dart.fieldType(core.int), - 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[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[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[119], 111, 8, "e"); - return e.referenceValueMap; - }, T$0._FileResourceInfoToMapOfString$dynamic()))); - } - static getOpenFiles($function, params) { - 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)); - } - get fileInfoMap() { - return this.fullValueMap; - } - static getOpenFileInfoMapByID($function, params) { - 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 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[108]); -dart.setFieldSignature(io._FileResourceInfo, () => ({ - __proto__: dart.getFields(io._FileResourceInfo.__proto__), - file: dart.finalFieldType(io.RandomAccessFile) -})); -dart.setStaticFieldSignature(io._FileResourceInfo, () => ['_type', 'openFiles']); -dart.defineLazy(io._FileResourceInfo, { - /*io._FileResourceInfo._type*/get _type() { - return "OpenFile"; - }, - /*io._FileResourceInfo.openFiles*/get openFiles() { - return new (T$0.IdentityMapOfint$_FileResourceInfo()).new(); - }, - set openFiles(value) { - if (value == null) dart.nullFailed(I[119], 93, 38, "openFiles"); - } -}, false); -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 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", 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[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[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[119], 186, 10, "e"); - return e.referenceValueMap; - }, T$0._SpawnedProcessResourceInfoToMapOfString$dynamic()))); - } - static getStartedProcesses($function, params) { - 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[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); - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.result(jsonValue)); - } -}; -(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"); - io._SpawnedProcessResourceInfo.processStarted(this); -}).prototype = io._SpawnedProcessResourceInfo.prototype; -dart.addTypeTests(io._SpawnedProcessResourceInfo); -dart.addTypeCaches(io._SpawnedProcessResourceInfo); -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[108]); -dart.setFieldSignature(io._SpawnedProcessResourceInfo, () => ({ - __proto__: dart.getFields(io._SpawnedProcessResourceInfo.__proto__), - 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"; - }, - /*io._SpawnedProcessResourceInfo.startedProcesses*/get startedProcesses() { - return new (T$0.LinkedMapOfint$_SpawnedProcessResourceInfo()).new(); - }, - 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[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 t177; - return dart.test(this[__IOSink_encoding_isSet]) ? (t177 = this[__IOSink_encoding], t177) : dart.throw(new _internal.LateError.fieldNI("encoding")); - } - set encoding(encoding$35param) { - if (encoding$35param == null) dart.nullFailed(I[118], 30, 17, "encoding#param"); - this[__IOSink_encoding_isSet] = true; - this[__IOSink_encoding] = encoding$35param; - } -}; -(io.IOSink[dart.mixinNew] = function() { - this[__IOSink_encoding] = null; - this[__IOSink_encoding_isSet] = false; -}).prototype = io.IOSink.prototype; -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 -})); -dart.setSetterSignature(io.IOSink, () => ({ - __proto__: dart.getSetters(io.IOSink.__proto__), - encoding: convert.Encoding -})); -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) -})); -io._IOService = class _IOService extends core.Object { - static _dispatch(request, 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.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; - }, - /*io._IOService.fileCreate*/get fileCreate() { - return 1; - }, - /*io._IOService.fileDelete*/get fileDelete() { - return 2; - }, - /*io._IOService.fileRename*/get fileRename() { - return 3; - }, - /*io._IOService.fileCopy*/get fileCopy() { - return 4; - }, - /*io._IOService.fileOpen*/get fileOpen() { - return 5; - }, - /*io._IOService.fileResolveSymbolicLinks*/get fileResolveSymbolicLinks() { - return 6; - }, - /*io._IOService.fileClose*/get fileClose() { - return 7; - }, - /*io._IOService.filePosition*/get filePosition() { - return 8; - }, - /*io._IOService.fileSetPosition*/get fileSetPosition() { - return 9; - }, - /*io._IOService.fileTruncate*/get fileTruncate() { - return 10; - }, - /*io._IOService.fileLength*/get fileLength() { - return 11; - }, - /*io._IOService.fileLengthFromPath*/get fileLengthFromPath() { - return 12; - }, - /*io._IOService.fileLastAccessed*/get fileLastAccessed() { - return 13; - }, - /*io._IOService.fileSetLastAccessed*/get fileSetLastAccessed() { - return 14; - }, - /*io._IOService.fileLastModified*/get fileLastModified() { - return 15; - }, - /*io._IOService.fileSetLastModified*/get fileSetLastModified() { - return 16; - }, - /*io._IOService.fileFlush*/get fileFlush() { - return 17; - }, - /*io._IOService.fileReadByte*/get fileReadByte() { - return 18; - }, - /*io._IOService.fileWriteByte*/get fileWriteByte() { - return 19; - }, - /*io._IOService.fileRead*/get fileRead() { - return 20; - }, - /*io._IOService.fileReadInto*/get fileReadInto() { - return 21; - }, - /*io._IOService.fileWriteFrom*/get fileWriteFrom() { - return 22; - }, - /*io._IOService.fileCreateLink*/get fileCreateLink() { - return 23; - }, - /*io._IOService.fileDeleteLink*/get fileDeleteLink() { - return 24; - }, - /*io._IOService.fileRenameLink*/get fileRenameLink() { - return 25; - }, - /*io._IOService.fileLinkTarget*/get fileLinkTarget() { - return 26; - }, - /*io._IOService.fileType*/get fileType() { - return 27; - }, - /*io._IOService.fileIdentical*/get fileIdentical() { - return 28; - }, - /*io._IOService.fileStat*/get fileStat() { - return 29; - }, - /*io._IOService.fileLock*/get fileLock() { - return 30; - }, - /*io._IOService.fileCreatePipe*/get fileCreatePipe() { - return 31; - }, - /*io._IOService.socketLookup*/get socketLookup() { - return 32; - }, - /*io._IOService.socketListInterfaces*/get socketListInterfaces() { - return 33; - }, - /*io._IOService.socketReverseLookup*/get socketReverseLookup() { - return 34; - }, - /*io._IOService.directoryCreate*/get directoryCreate() { - return 35; - }, - /*io._IOService.directoryDelete*/get directoryDelete() { - return 36; - }, - /*io._IOService.directoryExists*/get directoryExists() { - return 37; - }, - /*io._IOService.directoryCreateTemp*/get directoryCreateTemp() { - return 38; - }, - /*io._IOService.directoryListStart*/get directoryListStart() { - return 39; - }, - /*io._IOService.directoryListNext*/get directoryListNext() { - return 40; - }, - /*io._IOService.directoryListStop*/get directoryListStop() { - return 41; - }, - /*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[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[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[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.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"); -io._Link = class _Link extends io.FileSystemEntity { - get [_path$0]() { - return this[_path$2]; - } - set [_path$0](value) { - super[_path$0] = value; - } - get [_rawPath$]() { - return this[_rawPath$1]; - } - 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]; - } - toString() { - return "Link: '" + dart.str(this.path) + "'"; - } - exists() { - return io.FileSystemEntity._isLinkRaw(this[_rawPath$]); - } - existsSync() { - return io.FileSystemEntity._isLinkRawSync(this[_rawPath$]); - } - get absolute() { - return dart.test(this.isAbsolute) ? this : new io._Link.new(this[_absolutePath]); - } - create(target, opts) { - 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[120], 164, 44, "recursive"); - let result = dart.test(recursive) ? this.parent.create({recursive: true}) : T$.FutureOfNull().value(null); - 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.ObjectNTo_Link())); - } - createSync(target, opts) { - 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[120], 177, 40, "recursive"); - if (dart.test(recursive)) { - this.parent.createSync({recursive: true}); - } - let result = io._File._createLink(io._Namespace._namespace, this[_rawPath$], target); - io._Link.throwIfError(result, "Cannot create link", this.path); - } - updateSync(target) { - if (target == null) dart.nullFailed(I[120], 185, 26, "target"); - this.deleteSync(); - this.createSync(target); - } - update(target) { - if (target == null) dart.nullFailed(I[120], 194, 30, "target"); - return this.delete().then(io.Link, dart.fn(_ => { - 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[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[120], 206, 18, "_"); - return this; - }, T$0.FileSystemEntityTo_Link())); - } - return io._File._dispatchWithNamespace(24, [null, this[_rawPath$]]).then(io.Link, dart.fn(response => { - io._checkForErrorResponse(response, "Cannot delete link", this.path); - return this; - }, T$0.ObjectNTo_Link())); - } - [_deleteSync](opts) { - let recursive = opts && 'recursive' in opts ? opts.recursive : false; - if (recursive == null) dart.nullFailed(I[120], 215, 26, "recursive"); - if (dart.test(recursive)) { - return io.Directory.fromRawPath(this[_rawPath$]).deleteSync({recursive: true}); - } - let result = io._File._deleteLinkNative(io._Namespace._namespace, this[_rawPath$]); - io._Link.throwIfError(result, "Cannot delete link", this.path); - } - rename(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 => { - io._checkForErrorResponse(response, "Cannot rename link to '" + dart.str(newPath) + "'", this.path); - return io.Link.new(newPath); - }, T$0.ObjectNToLink())); - } - renameSync(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 => { - 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$]); - io._Link.throwIfError(result, "Cannot read link", this.path); - return core.String.as(result); - } - static throwIfError(result, msg, 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(io.FileSystemException._fromOSError(result, msg, path)); - } - } -}; -(io._Link.new = function(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[120], 150, 31, "rawPath"); - this[_rawPath$1] = io.FileSystemEntity._toNullTerminatedUtf8Array(rawPath); - this[_path$2] = io.FileSystemEntity._toStringFromUtf8Array(rawPath); - ; -}).prototype = io._Link.prototype; -dart.addTypeTests(io._Link); -dart.addTypeCaches(io._Link); -io._Link[dart.implements] = () => [io.Link]; -dart.setMethodSignature(io._Link, () => ({ - __proto__: dart.getMethods(io._Link.__proto__), - exists: dart.fnType(async.Future$(core.bool), []), - existsSync: dart.fnType(core.bool, []), - create: dart.fnType(async.Future$(io.Link), [core.String], {recursive: core.bool}, {}), - createSync: dart.fnType(dart.void, [core.String], {recursive: core.bool}, {}), - updateSync: dart.fnType(dart.void, [core.String]), - update: dart.fnType(async.Future$(io.Link), [core.String]), - [_delete]: dart.fnType(async.Future$(io.Link), [], {recursive: core.bool}, {}), - [_deleteSync]: dart.fnType(dart.void, [], {recursive: core.bool}, {}), - 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, []) -})); -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[108]); -dart.setFieldSignature(io._Link, () => ({ - __proto__: dart.getFields(io._Link.__proto__), - [_path$0]: dart.finalFieldType(core.String), - [_rawPath$]: dart.finalFieldType(typed_data.Uint8List) -})); -dart.defineExtensionMethods(io._Link, ['toString']); -io._Namespace = class _Namespace extends core.Object { - static get _namespace() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static get _namespacePointer() { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } - static _setupNamespace(namespace) { - dart.throw(new core.UnsupportedError.new("_Namespace")); - } -}; -(io._Namespace.new = function() { - ; -}).prototype = io._Namespace.prototype; -dart.addTypeTests(io._Namespace); -dart.addTypeCaches(io._Namespace); -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[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[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; - } - case "ext.dart.io.setHttpEnableTimelineLogging": - { - 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[121], 75, 20, "_versionMajor == 1"); - if (dart.test(parameters[$containsKey]("enabled"))) { - parameters[$_set]("enable", dart.nullCheck(parameters[$_get]("enabled"))); - } - io._setHttpEnableTimelineLogging(parameters); - } - 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; - } - case "ext.dart.io.getHttpProfileRequest": - { - responseJson = io._getHttpProfileRequest(parameters); - break; - } - case "ext.dart.io.clearHttpProfile": - { - _http.HttpProfiler.clear(); - responseJson = io._success(); - break; - } - case "ext.dart.io.getSocketProfile": - { - responseJson = io._SocketProfile.toJson(); - break; - } - case "ext.dart.io.socketProfilingEnabled": - { - responseJson = io._socketProfilingEnabled(parameters); - break; - } - case "ext.dart.io.startSocketProfiling": - { - responseJson = io._SocketProfile.start(); - break; - } - case "ext.dart.io.pauseSocketProfiling": - { - responseJson = io._SocketProfile.pause(); - break; - } - case "ext.dart.io.clearSocketProfile": - { - responseJson = io._SocketProfile.clear(); - break; - } - case "ext.dart.io.getVersion": - { - 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.result(responseJson)); - } catch (e) { - let errorMessage = dart.getThrown(e); - if (core.Object.is(errorMessage)) { - return T$0.FutureOfServiceExtensionResponse().value(new developer.ServiceExtensionResponse.error(-32602, dart.toString(errorMessage))); - } else - throw e; - } - } - static getVersion() { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "Version", "major", 1, "minor", 6])); - } -}; -(io._NetworkProfiling.new = function() { - ; -}).prototype = io._NetworkProfiling.prototype; -dart.addTypeTests(io._NetworkProfiling); -dart.addTypeCaches(io._NetworkProfiling); -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"; - }, - /*io._NetworkProfiling._kSetHttpEnableTimelineLogging*/get _kSetHttpEnableTimelineLogging() { - return "ext.dart.io.setHttpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kHttpEnableTimelineLogging*/get _kHttpEnableTimelineLogging() { - return "ext.dart.io.httpEnableTimelineLogging"; - }, - /*io._NetworkProfiling._kGetHttpProfileRPC*/get _kGetHttpProfileRPC() { - return "ext.dart.io.getHttpProfile"; - }, - /*io._NetworkProfiling._kGetHttpProfileRequestRPC*/get _kGetHttpProfileRequestRPC() { - return "ext.dart.io.getHttpProfileRequest"; - }, - /*io._NetworkProfiling._kClearHttpProfileRPC*/get _kClearHttpProfileRPC() { - return "ext.dart.io.clearHttpProfile"; - }, - /*io._NetworkProfiling._kClearSocketProfileRPC*/get _kClearSocketProfileRPC() { - return "ext.dart.io.clearSocketProfile"; - }, - /*io._NetworkProfiling._kGetSocketProfileRPC*/get _kGetSocketProfileRPC() { - return "ext.dart.io.getSocketProfile"; - }, - /*io._NetworkProfiling._kSocketProfilingEnabledRPC*/get _kSocketProfilingEnabledRPC() { - return "ext.dart.io.socketProfilingEnabled"; - }, - /*io._NetworkProfiling._kPauseSocketProfilingRPC*/get _kPauseSocketProfilingRPC() { - return "ext.dart.io.pauseSocketProfiling"; - }, - /*io._NetworkProfiling._kStartSocketProfilingRPC*/get _kStartSocketProfilingRPC() { - return "ext.dart.io.startSocketProfiling"; - }, - /*io._NetworkProfiling._kGetVersionRPC*/get _kGetVersionRPC() { - return "ext.dart.io.getVersion"; - } -}, false); -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[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; - } - } - static get enableSocketProfiling() { - return io._SocketProfile._enableSocketProfiling; - } - 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[121], 222, 53, "f"); - return f.toMap(); - }, T$0._SocketStatisticToMapOfString$dynamic()))[$toList]()])); - } - static collectNewSocket(id, type, addr, 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 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 = (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[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")); - } - } - } - static start() { - io._SocketProfile.enableSocketProfiling = true; - return io._success(); - } - static pause() { - io._SocketProfile.enableSocketProfiling = false; - return io._success(); - } - static clear() { - io._SocketProfile._idToSocketStatistic[$clear](); - return io._success(); - } -}; -(io._SocketProfile.new = function() { - ; -}).prototype = io._SocketProfile.prototype; -dart.addTypeTests(io._SocketProfile); -dart.addTypeCaches(io._SocketProfile); -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"; - }, - /*io._SocketProfile._enableSocketProfiling*/get _enableSocketProfiling() { - return false; - }, - 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(value) { - if (value == null) dart.nullFailed(I[121], 218, 37, "_idToSocketStatistic"); - } -}, false); -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[_enumToString](); - } -}; -(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 = 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(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); - this[_setIfNotNull](map, "endTime", this.endTime); - this[_setIfNotNull](map, "address", this.address); - this[_setIfNotNull](map, "port", this.port); - this[_setIfNotNull](map, "socketType", this.socketType); - this[_setIfNotNull](map, "readBytes", this.readBytes); - this[_setIfNotNull](map, "writeBytes", this.writeBytes); - this[_setIfNotNull](map, "lastWriteTime", this.lastWriteTime); - this[_setIfNotNull](map, "lastReadTime", this.lastReadTime); - return map; - } - [_setIfNotNull](json, key, value) { - 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[121], 318, 25, "id"); - this.startTime = null; - this.endTime = null; - this.address = null; - this.port = null; - this.socketType = null; - this.readBytes = 0; - this.writeBytes = 0; - this.lastWriteTime = null; - this.lastReadTime = null; - this.id = id; - ; -}).prototype = io._SocketStatistic.prototype; -dart.addTypeTests(io._SocketStatistic); -dart.addTypeCaches(io._SocketStatistic); -dart.setMethodSignature(io._SocketStatistic, () => ({ - __proto__: dart.getMethods(io._SocketStatistic.__proto__), - 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[108]); -dart.setFieldSignature(io._SocketStatistic, () => ({ - __proto__: dart.getFields(io._SocketStatistic.__proto__), - id: dart.finalFieldType(core.int), - startTime: dart.fieldType(dart.nullable(core.int)), - endTime: dart.fieldType(dart.nullable(core.int)), - address: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - socketType: dart.fieldType(dart.nullable(core.String)), - readBytes: dart.fieldType(core.int), - writeBytes: dart.fieldType(core.int), - lastWriteTime: dart.fieldType(dart.nullable(core.int)), - lastReadTime: dart.fieldType(dart.nullable(core.int)) -})); -io.IOOverrides = class IOOverrides extends core.Object { - static get current() { - 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[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; - let getSystemTempDirectory = opts && 'getSystemTempDirectory' in opts ? opts.getSystemTempDirectory : null; - let createFile = opts && 'createFile' in opts ? opts.createFile : null; - let stat = opts && 'stat' in opts ? opts.stat : null; - let statSync = opts && 'statSync' in opts ? opts.statSync : null; - let fseIdentical = opts && 'fseIdentical' in opts ? opts.fseIdentical : null; - let fseIdenticalSync = opts && 'fseIdenticalSync' in opts ? opts.fseIdenticalSync : null; - let fseGetType = opts && 'fseGetType' in opts ? opts.fseGetType : null; - let fseGetTypeSync = opts && 'fseGetTypeSync' in opts ? opts.fseGetTypeSync : null; - let fsWatch = opts && 'fsWatch' in opts ? opts.fsWatch : null; - let fsWatchIsSupported = opts && 'fsWatchIsSupported' in opts ? opts.fsWatchIsSupported : null; - let createLink = opts && 'createLink' in opts ? opts.createLink : null; - 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 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[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[123], 155, 36, "path"); - return new io._Directory.new(path); - } - getCurrentDirectory() { - return io._Directory.current; - } - setCurrentDirectory(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[123], 183, 26, "path"); - return new io._File.new(path); - } - stat(path) { - if (path == null) dart.nullFailed(I[123], 191, 32, "path"); - return io.FileStat._stat(path); - } - statSync(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[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[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[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[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[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[123], 263, 26, "path"); - return new io._Link.new(path); - } - socketConnect(host, port, opts) { - 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, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - if (port == null) dart.nullFailed(I[123], 282, 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], 283, 27, "sourcePort"); - return io.Socket._startConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 296, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[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() { - ; -}).prototype = io.IOOverrides.prototype; -dart.addTypeTests(io.IOOverrides); -dart.addTypeCaches(io.IOOverrides); -dart.setMethodSignature(io.IOOverrides, () => ({ - __proto__: dart.getMethods(io.IOOverrides.__proto__), - createDirectory: dart.fnType(io.Directory, [core.String]), - getCurrentDirectory: dart.fnType(io.Directory, []), - setCurrentDirectory: dart.fnType(dart.void, [core.String]), - getSystemTempDirectory: dart.fnType(io.Directory, []), - createFile: dart.fnType(io.File, [core.String]), - stat: dart.fnType(async.Future$(io.FileStat), [core.String]), - statSync: dart.fnType(io.FileStat, [core.String]), - fseIdentical: dart.fnType(async.Future$(core.bool), [core.String, core.String]), - fseIdenticalSync: dart.fnType(core.bool, [core.String, core.String]), - fseGetType: dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]), - fseGetTypeSync: dart.fnType(io.FileSystemEntityType, [core.String, core.bool]), - 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, 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.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(value) {} -}, false); -var _previous$4 = dart.privateName(io, "_previous"); -var _createDirectory$ = dart.privateName(io, "_createDirectory"); -var _getCurrentDirectory$ = dart.privateName(io, "_getCurrentDirectory"); -var _setCurrentDirectory$ = dart.privateName(io, "_setCurrentDirectory"); -var _getSystemTempDirectory$ = dart.privateName(io, "_getSystemTempDirectory"); -var _createFile$ = dart.privateName(io, "_createFile"); -var _stat$ = dart.privateName(io, "_stat"); -var _statSync$ = dart.privateName(io, "_statSync"); -var _fseIdentical$ = dart.privateName(io, "_fseIdentical"); -var _fseIdenticalSync$ = dart.privateName(io, "_fseIdenticalSync"); -var _fseGetType$ = dart.privateName(io, "_fseGetType"); -var _fseGetTypeSync$ = dart.privateName(io, "_fseGetTypeSync"); -var _fsWatch$ = dart.privateName(io, "_fsWatch"); -var _fsWatchIsSupported$ = dart.privateName(io, "_fsWatchIsSupported"); -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[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); - } - getCurrentDirectory() { - if (this[_getCurrentDirectory$] != null) return dart.nullCheck(this[_getCurrentDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getCurrentDirectory(); - return super.getCurrentDirectory(); - } - setCurrentDirectory(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) - dart.nullCheck(this[_previous$4]).setCurrentDirectory(path); - else - super.setCurrentDirectory(path); - } - getSystemTempDirectory() { - if (this[_getSystemTempDirectory$] != null) return dart.nullCheck(this[_getSystemTempDirectory$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).getSystemTempDirectory(); - return super.getSystemTempDirectory(); - } - createFile(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[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[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[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[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[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[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[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); - } - fsWatchIsSupported() { - if (this[_fsWatchIsSupported$] != null) return dart.nullCheck(this[_fsWatchIsSupported$])(); - if (this[_previous$4] != null) return dart.nullCheck(this[_previous$4]).fsWatchIsSupported(); - return super.fsWatchIsSupported(); - } - createLink(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[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, sourcePort: sourcePort, timeout: timeout}); - } - return super.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - socketStartConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - return super.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - serverSocketBind(address, port, opts) { - 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[123], 558, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[123], 558, 51, "shared"); - if (this[_serverSocketBind$] != null) { - return dart.nullCheck(this[_serverSocketBind$])(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - if (this[_previous$4] != null) { - return dart.nullCheck(this[_previous$4]).serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - 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, _stdin, _stdout, _stderr) { - this[_previous$4] = io.IOOverrides.current; - this[_createDirectory$] = _createDirectory; - this[_getCurrentDirectory$] = _getCurrentDirectory; - this[_setCurrentDirectory$] = _setCurrentDirectory; - this[_getSystemTempDirectory$] = _getSystemTempDirectory; - this[_createFile$] = _createFile; - this[_stat$] = _stat; - this[_statSync$] = _statSync; - this[_fseIdentical$] = _fseIdentical; - this[_fseIdenticalSync$] = _fseIdenticalSync; - this[_fseGetType$] = _fseGetType; - this[_fseGetTypeSync$] = _fseGetTypeSync; - this[_fsWatch$] = _fsWatch; - this[_fsWatchIsSupported$] = _fsWatchIsSupported; - this[_createLink$] = _createLink; - 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[108]); -dart.setFieldSignature(io._IOOverridesScope, () => ({ - __proto__: dart.getFields(io._IOOverridesScope.__proto__), - [_previous$4]: dart.finalFieldType(dart.nullable(io.IOOverrides)), - [_createDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, [core.String]))), - [_getCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_setCurrentDirectory$]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.String]))), - [_getSystemTempDirectory$]: dart.fieldType(dart.nullable(dart.fnType(io.Directory, []))), - [_createFile$]: dart.fieldType(dart.nullable(dart.fnType(io.File, [core.String]))), - [_stat$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileStat), [core.String]))), - [_statSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileStat, [core.String]))), - [_fseIdentical$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(core.bool), [core.String, core.String]))), - [_fseIdenticalSync$]: dart.fieldType(dart.nullable(dart.fnType(core.bool, [core.String, core.String]))), - [_fseGetType$]: dart.fieldType(dart.nullable(dart.fnType(async.Future$(io.FileSystemEntityType), [core.String, core.bool]))), - [_fseGetTypeSync$]: dart.fieldType(dart.nullable(dart.fnType(io.FileSystemEntityType, [core.String, core.bool]))), - [_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, 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() { - return io.Platform._numberOfProcessors; - } - static get pathSeparator() { - return io.Platform._pathSeparator; - } - static get localeName() { - return io._Platform.localeName(); - } - static get operatingSystem() { - return io.Platform._operatingSystem; - } - static get operatingSystemVersion() { - return io.Platform._operatingSystemVersion; - } - static get localHostname() { - return io.Platform._localHostname; - } - static get environment() { - return io._Platform.environment; - } - static get executable() { - return io._Platform.executable; - } - static get resolvedExecutable() { - return io._Platform.resolvedExecutable; - } - static get script() { - return io._Platform.script; - } - static get executableArguments() { - return io._Platform.executableArguments; - } - 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.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; - }, - /*io.Platform._pathSeparator*/get _pathSeparator() { - return io._Platform.pathSeparator; - }, - /*io.Platform._operatingSystem*/get _operatingSystem() { - return io._Platform.operatingSystem; - }, - /*io.Platform._operatingSystemVersion*/get _operatingSystemVersion() { - return io._Platform.operatingSystemVersion; - }, - /*io.Platform._localHostname*/get _localHostname() { - return io._Platform.localHostname; - }, - /*io.Platform._version*/get _version() { - return io._Platform.version; - }, - /*io.Platform.isLinux*/get isLinux() { - return io.Platform._operatingSystem === "linux"; - }, - /*io.Platform.isMacOS*/get isMacOS() { - return io.Platform._operatingSystem === "macos"; - }, - /*io.Platform.isWindows*/get isWindows() { - return io.Platform._operatingSystem === "windows"; - }, - /*io.Platform.isAndroid*/get isAndroid() { - return io.Platform._operatingSystem === "android"; - }, - /*io.Platform.isIOS*/get isIOS() { - return io.Platform._operatingSystem === "ios"; - }, - /*io.Platform.isFuchsia*/get isFuchsia() { - return io.Platform._operatingSystem === "fuchsia"; - } -}, false); -io._Platform = class _Platform extends core.Object { - static _packageRoot() { - dart.throw(new core.UnsupportedError.new("Platform._packageRoot")); - } - static _numberOfProcessors() { - dart.throw(new core.UnsupportedError.new("Platform._numberOfProcessors")); - } - static _pathSeparator() { - dart.throw(new core.UnsupportedError.new("Platform._pathSeparator")); - } - static _operatingSystem() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystem")); - } - static _operatingSystemVersion() { - dart.throw(new core.UnsupportedError.new("Platform._operatingSystemVersion")); - } - static _localHostname() { - dart.throw(new core.UnsupportedError.new("Platform._localHostname")); - } - static _executable() { - dart.throw(new core.UnsupportedError.new("Platform._executable")); - } - static _resolvedExecutable() { - dart.throw(new core.UnsupportedError.new("Platform._resolvedExecutable")); - } - static _environment() { - dart.throw(new core.UnsupportedError.new("Platform._environment")); - } - static _executableArguments() { - dart.throw(new core.UnsupportedError.new("Platform._executableArguments")); - } - static _packageConfig() { - dart.throw(new core.UnsupportedError.new("Platform._packageConfig")); - } - static _version() { - dart.throw(new core.UnsupportedError.new("Platform._version")); - } - static _localeName() { - dart.throw(new core.UnsupportedError.new("Platform._localeName")); - } - static _script() { - dart.throw(new core.UnsupportedError.new("Platform._script")); - } - static localeName() { - let result = io._Platform._localeClosure == null ? io._Platform._localeName() : dart.nullCheck(io._Platform._localeClosure)(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return result; - } - static get numberOfProcessors() { - return io._Platform._numberOfProcessors(); - } - static get pathSeparator() { - return io._Platform._pathSeparator(); - } - static get operatingSystem() { - return io._Platform._operatingSystem(); - } - static get script() { - return io._Platform._script(); - } - static get operatingSystemVersion() { - if (io._Platform._cachedOSVersion == null) { - let result = io._Platform._operatingSystemVersion(); - if (io.OSError.is(result)) { - dart.throw(result); - } - io._Platform._cachedOSVersion = T$.StringN().as(result); - } - return dart.nullCheck(io._Platform._cachedOSVersion); - } - static get localHostname() { - let result = io._Platform._localHostname(); - if (io.OSError.is(result)) { - dart.throw(result); - } - return core.String.as(result); - } - static get executableArguments() { - return io._Platform._executableArguments(); - } - static get environment() { - if (io._Platform._environmentCache == null) { - let env = io._Platform._environment(); - 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 environmentEntry of env) { - if (environmentEntry == null) { - continue; - } - 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); - } else { - io._Platform._environmentCache = env; - } - } - if (io.OSError.is(io._Platform._environmentCache)) { - dart.throw(io._Platform._environmentCache); - } else { - return T$0.MapOfString$String().as(dart.nullCheck(io._Platform._environmentCache)); - } - } - 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.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(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(value) { - if (value == null) dart.nullFailed(I[124], 37, 17, "resolvedExecutable"); - }, - /*io._Platform.packageConfig*/get packageConfig() { - return io._Platform._packageConfig(); - }, - set packageConfig(value) {}, - /*io._Platform._localeClosure*/get _localeClosure() { - return null; - }, - set _localeClosure(value) {}, - /*io._Platform._environmentCache*/get _environmentCache() { - return null; - }, - set _environmentCache(value) {}, - /*io._Platform._cachedOSVersion*/get _cachedOSVersion() { - return null; - }, - 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 __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]())); - } - containsValue(value) { - return this[_map$10][$containsValue](value); - } - _get(key) { - return typeof key == 'string' ? this[_map$10][$_get](key[$toUpperCase]()) : null; - } - _set(key, value$) { - let value = value$; - core.String.as(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[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) { - __t$MapOfString$V().as(other); - if (other == null) dart.nullFailed(I[124], 142, 30, "other"); - other[$forEach](dart.fn((key, value) => { - 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; - } - clear() { - this[_map$10][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[124], 153, 21, "f"); - this[_map$10][$forEach](f); - } - get keys() { - return this[_map$10][$keys]; - } - get values() { - return this[_map$10][$values]; - } - get length() { - return this[_map$10][$length]; - } - get isEmpty() { - return this[_map$10][$isEmpty]; - } - get isNotEmpty() { - return this[_map$10][$isNotEmpty]; - } - get entries() { - return this[_map$10][$entries]; - } - map(K2, V2, 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[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; - __t$VoidToNV().as(ifAbsent); - return this[_map$10][$update](key[$toUpperCase](), update, {ifAbsent: ifAbsent}); - } - updateAll(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[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 (__t$LinkedMapOfString$V()).new(); - ; - }).prototype = _CaseInsensitiveStringMap.prototype; - dart.addTypeTests(_CaseInsensitiveStringMap); - _CaseInsensitiveStringMap.prototype[_is__CaseInsensitiveStringMap_default] = true; - dart.addTypeCaches(_CaseInsensitiveStringMap); - dart.setMethodSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getMethods(_CaseInsensitiveStringMap.__proto__), - _get: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(V), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - map: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K2, V2) => [core.Map$(K2, V2), [dart.fnType(core.MapEntry$(K2, V2), [core.String, V])]], (K2, V2) => [dart.nullable(core.Object), dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getGetters(_CaseInsensitiveStringMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) - })); - dart.setLibraryUri(_CaseInsensitiveStringMap, I[108]); - dart.setFieldSignature(_CaseInsensitiveStringMap, () => ({ - __proto__: dart.getFields(_CaseInsensitiveStringMap.__proto__), - [_map$10]: dart.finalFieldType(core.Map$(core.String, V)) - })); - dart.defineExtensionMethods(_CaseInsensitiveStringMap, [ - 'containsKey', - 'containsValue', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'map', - 'update', - 'updateAll', - 'removeWhere', - 'toString' - ]); - dart.defineExtensionAccessors(_CaseInsensitiveStringMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty', - 'entries' - ]); - return _CaseInsensitiveStringMap; -}); -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[110], 306, 26, "status"); - dart.throw(new core.UnsupportedError.new("ProcessUtils._exit")); - } - static _setExitCode(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[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[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.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")); - } - 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.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]() { - return this[_mode$0]; - } - set [_mode](value) { - super[_mode] = value; - } - static get values() { - return C[146] || CT.C146; - } - toString() { - 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[125], 154, 41, "_mode"); - this[_mode$0] = _mode; - ; -}).prototype = io.ProcessStartMode.prototype; -dart.addTypeTests(io.ProcessStartMode); -dart.addTypeCaches(io.ProcessStartMode); -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[147] || CT.C147; - }, - /*io.ProcessStartMode.inheritStdio*/get inheritStdio() { - return C[148] || CT.C148; - }, - /*io.ProcessStartMode.detached*/get detached() { - return C[149] || CT.C149; - }, - /*io.ProcessStartMode.detachedWithStdio*/get detachedWithStdio() { - 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[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[110], 355, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 365, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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[110], 376, 12, "includeParentEnvironment"); - let runInShell = opts && 'runInShell' in opts ? opts.runInShell : false; - 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[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")); - } -}; -(io.Process.new = function() { - ; -}).prototype = io.Process.prototype; -dart.addTypeTests(io.Process); -dart.addTypeCaches(io.Process); -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"); -var pid$ = dart.privateName(io, "ProcessResult.pid"); -io.ProcessResult = class ProcessResult extends core.Object { - get exitCode() { - return this[exitCode$]; - } - set exitCode(value) { - super.exitCode = value; - } - get stdout() { - return this[stdout$]; - } - set stdout(value) { - super.stdout = value; - } - get stderr() { - return this[stderr$]; - } - set stderr(value) { - super.stderr = value; - } - get pid() { - return this[pid$]; - } - 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[125], 467, 22, "pid"); - if (exitCode == null) dart.nullFailed(I[125], 467, 32, "exitCode"); - this[pid$] = pid; - this[exitCode$] = exitCode; - this[stdout$] = stdout; - this[stderr$] = stderr; - ; -}).prototype = io.ProcessResult.prototype; -dart.addTypeTests(io.ProcessResult); -dart.addTypeCaches(io.ProcessResult); -dart.setLibraryUri(io.ProcessResult, I[108]); -dart.setFieldSignature(io.ProcessResult, () => ({ - __proto__: dart.getFields(io.ProcessResult.__proto__), - exitCode: dart.finalFieldType(core.int), - stdout: dart.finalFieldType(dart.dynamic), - stderr: dart.finalFieldType(dart.dynamic), - pid: dart.finalFieldType(core.int) -})); -var _signalNumber = dart.privateName(io, "_signalNumber"); -var _name$6 = dart.privateName(io, "_name"); -const _signalNumber$ = ProcessSignal__signalNumber; -const _name$7 = ProcessSignal__name; -io.ProcessSignal = class ProcessSignal extends core.Object { - get [_signalNumber]() { - return this[_signalNumber$]; - } - set [_signalNumber](value) { - super[_signalNumber] = value; - } - get [_name$6]() { - return this[_name$7]; - } - 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$6]; - } - watch() { - return io._ProcessUtils._watchSignal(this); - } -}; -(io.ProcessSignal.__ = function(_signalNumber, _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$7] = _name; - ; -}).prototype = io.ProcessSignal.prototype; -dart.addTypeTests(io.ProcessSignal); -dart.addTypeCaches(io.ProcessSignal); -dart.setMethodSignature(io.ProcessSignal, () => ({ - __proto__: dart.getMethods(io.ProcessSignal.__proto__), - watch: dart.fnType(async.Stream$(io.ProcessSignal), []) -})); -dart.setLibraryUri(io.ProcessSignal, I[108]); -dart.setFieldSignature(io.ProcessSignal, () => ({ - __proto__: dart.getFields(io.ProcessSignal.__proto__), - [_signalNumber]: dart.finalFieldType(core.int), - [_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[154] || CT.C154; - }, - /*io.ProcessSignal.sigint*/get sigint() { - return C[155] || CT.C155; - }, - /*io.ProcessSignal.sigquit*/get sigquit() { - return C[156] || CT.C156; - }, - /*io.ProcessSignal.sigill*/get sigill() { - return C[157] || CT.C157; - }, - /*io.ProcessSignal.sigtrap*/get sigtrap() { - return C[158] || CT.C158; - }, - /*io.ProcessSignal.sigabrt*/get sigabrt() { - return C[159] || CT.C159; - }, - /*io.ProcessSignal.sigbus*/get sigbus() { - return C[160] || CT.C160; - }, - /*io.ProcessSignal.sigfpe*/get sigfpe() { - return C[161] || CT.C161; - }, - /*io.ProcessSignal.sigkill*/get sigkill() { - return C[162] || CT.C162; - }, - /*io.ProcessSignal.sigusr1*/get sigusr1() { - return C[163] || CT.C163; - }, - /*io.ProcessSignal.sigsegv*/get sigsegv() { - return C[164] || CT.C164; - }, - /*io.ProcessSignal.sigusr2*/get sigusr2() { - return C[165] || CT.C165; - }, - /*io.ProcessSignal.sigpipe*/get sigpipe() { - return C[166] || CT.C166; - }, - /*io.ProcessSignal.sigalrm*/get sigalrm() { - return C[167] || CT.C167; - }, - /*io.ProcessSignal.sigterm*/get sigterm() { - return C[153] || CT.C153; - }, - /*io.ProcessSignal.sigchld*/get sigchld() { - return C[168] || CT.C168; - }, - /*io.ProcessSignal.sigcont*/get sigcont() { - return C[169] || CT.C169; - }, - /*io.ProcessSignal.sigstop*/get sigstop() { - return C[170] || CT.C170; - }, - /*io.ProcessSignal.sigtstp*/get sigtstp() { - return C[171] || CT.C171; - }, - /*io.ProcessSignal.sigttin*/get sigttin() { - return C[172] || CT.C172; - }, - /*io.ProcessSignal.sigttou*/get sigttou() { - return C[173] || CT.C173; - }, - /*io.ProcessSignal.sigurg*/get sigurg() { - return C[174] || CT.C174; - }, - /*io.ProcessSignal.sigxcpu*/get sigxcpu() { - return C[175] || CT.C175; - }, - /*io.ProcessSignal.sigxfsz*/get sigxfsz() { - return C[176] || CT.C176; - }, - /*io.ProcessSignal.sigvtalrm*/get sigvtalrm() { - return C[177] || CT.C177; - }, - /*io.ProcessSignal.sigprof*/get sigprof() { - return C[178] || CT.C178; - }, - /*io.ProcessSignal.sigwinch*/get sigwinch() { - return C[179] || CT.C179; - }, - /*io.ProcessSignal.sigpoll*/get sigpoll() { - return C[180] || CT.C180; - }, - /*io.ProcessSignal.sigsys*/get sigsys() { - return C[181] || CT.C181; - } -}, false); -var message$4 = dart.privateName(io, "SignalException.message"); -var osError$0 = dart.privateName(io, "SignalException.osError"); -io.SignalException = class SignalException extends core.Object { - get message() { - return this[message$4]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$0]; - } - 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) { - msg = ", osError: " + dart.str(this.osError); - } - return "SignalException: " + dart.str(this.message) + msg; - } -}; -(io.SignalException.new = function(message, osError = null) { - if (message == null) dart.nullFailed(I[125], 536, 30, "message"); - this[message$4] = message; - this[osError$0] = osError; - ; -}).prototype = io.SignalException.prototype; -dart.addTypeTests(io.SignalException); -dart.addTypeCaches(io.SignalException); -io.SignalException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SignalException, I[108]); -dart.setFieldSignature(io.SignalException, () => ({ - __proto__: dart.getFields(io.SignalException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(io.SignalException, ['toString']); -var executable$ = dart.privateName(io, "ProcessException.executable"); -var $arguments$ = dart.privateName(io, "ProcessException.arguments"); -var message$5 = dart.privateName(io, "ProcessException.message"); -var errorCode$1 = dart.privateName(io, "ProcessException.errorCode"); -io.ProcessException = class ProcessException extends core.Object { - get executable() { - return this[executable$]; - } - set executable(value) { - super.executable = value; - } - get arguments() { - return this[$arguments$]; - } - set arguments(value) { - super.arguments = value; - } - get message() { - return this[message$5]; - } - set message(value) { - super.message = value; - } - get errorCode() { - return this[errorCode$1]; - } - 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[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; - this[errorCode$1] = errorCode; - ; -}).prototype = io.ProcessException.prototype; -dart.addTypeTests(io.ProcessException); -dart.addTypeCaches(io.ProcessException); -io.ProcessException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.ProcessException, I[108]); -dart.setFieldSignature(io.ProcessException, () => ({ - __proto__: dart.getFields(io.ProcessException.__proto__), - executable: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(core.List$(core.String)), - message: dart.finalFieldType(core.String), - errorCode: dart.finalFieldType(core.int) -})); -dart.defineExtensionMethods(io.ProcessException, ['toString']); -var _socket$ = dart.privateName(io, "_socket"); -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[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, 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[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, 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[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[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 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[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[127], 181, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - if (requireClientCertificate == null) dart.nullFailed(I[127], 182, 12, "requireClientCertificate"); - let supportedProtocols = opts && 'supportedProtocols' in opts ? opts.supportedProtocols : null; - 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())); - } -}; -(io.SecureSocket[dart.mixinNew] = function() { -}).prototype = io.SecureSocket.prototype; -dart.addTypeTests(io.SecureSocket); -dart.addTypeCaches(io.SecureSocket); -io.SecureSocket[dart.implements] = () => [io.Socket]; -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[126], 67, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 69, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 81, 16, "serverSocket"); - return new io.SecureServerSocket.__(serverSocket); - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - 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; - return this[_socket$].map(io.SecureSocket, dart.fn(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}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - return this[_socket$].close().then(io.SecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 103, 63, "_"); - return this; - }, T$0.RawSecureServerSocketToSecureServerSocket())); - } - set [_owner](owner) { - this[_socket$][_owner] = owner; - } -}; -(io.SecureServerSocket.__ = function(_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, - address: io.InternetAddress -})); -dart.setSetterSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getSetters(io.SecureServerSocket.__proto__), - [_owner]: dart.dynamic -})); -dart.setLibraryUri(io.SecureServerSocket, I[108]); -dart.setFieldSignature(io.SecureServerSocket, () => ({ - __proto__: dart.getFields(io.SecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSecureServerSocket) -})); -var requestClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requestClientCertificate"); -var requireClientCertificate$ = dart.privateName(io, "RawSecureServerSocket.requireClientCertificate"); -var supportedProtocols$ = dart.privateName(io, "RawSecureServerSocket.supportedProtocols"); -var __RawSecureServerSocket__controller = dart.privateName(io, "_#RawSecureServerSocket#_controller"); -var __RawSecureServerSocket__controller_isSet = dart.privateName(io, "_#RawSecureServerSocket#_controller#isSet"); -var _subscription$ = dart.privateName(io, "_subscription"); -var _context$ = dart.privateName(io, "_context"); -var _onSubscriptionStateChange = dart.privateName(io, "_onSubscriptionStateChange"); -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[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[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[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[127], 298, 42, "rawState"); - let socket = rawState.socket.then(io.RawSecureSocket, dart.fn(rawSocket => { - 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[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, keyLog: keyLog, supportedProtocols: supportedProtocols}); - } - static secureServer(socket, context, opts) { - 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[127], 406, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - return io._RawSecureSocket.connect(socket.address, socket.remotePort, true, socket, {context: context, subscription: subscription, bufferedData: bufferedData, requestClientCertificate: requestClientCertificate, requireClientCertificate: requireClientCertificate, supportedProtocols: supportedProtocols}); - } -}; -(io.RawSecureSocket.new = function() { - ; -}).prototype = io.RawSecureSocket.prototype; -dart.addTypeTests(io.RawSecureSocket); -dart.addTypeCaches(io.RawSecureSocket); -io.RawSecureSocket[dart.implements] = () => [io.RawSocket]; -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$]; - } - set requestClientCertificate(value) { - super.requestClientCertificate = value; - } - get requireClientCertificate() { - return this[requireClientCertificate$]; - } - set requireClientCertificate(value) { - super.requireClientCertificate = value; - } - get supportedProtocols() { - return this[supportedProtocols$]; - } - set supportedProtocols(value) { - super.supportedProtocols = value; - } - get [_controller]() { - let t180; - return dart.test(this[__RawSecureServerSocket__controller_isSet]) ? (t180 = this[__RawSecureServerSocket__controller], t180) : dart.throw(new _internal.LateError.fieldNI("_controller")); - } - set [_controller](_controller$35param) { - if (_controller$35param == null) dart.nullFailed(I[126], 115, 42, "_controller#param"); - this[__RawSecureServerSocket__controller_isSet] = true; - 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[126], 187, 20, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[126], 189, 12, "v6Only"); - let requestClientCertificate = opts && 'requestClientCertificate' in opts ? opts.requestClientCertificate : false; - 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[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[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[126], 196, 16, "serverSocket"); - return new io.RawSecureServerSocket.__(serverSocket, context, requestClientCertificate, requireClientCertificate, supportedProtocols); - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - 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; - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get port() { - return this[_socket$].port; - } - get address() { - return this[_socket$].address; - } - close() { - this[_closed] = true; - return this[_socket$].close().then(io.RawSecureServerSocket, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[126], 222, 34, "_"); - return this; - }, T$0.RawServerSocketToRawSecureServerSocket())); - } - [_onData$0](connection) { - if (connection == null) dart.nullFailed(I[126], 225, 26, "connection"); - let remotePort = null; - try { - remotePort = connection.remotePort; - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return; - } else - 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[126], 239, 32, "secureConnection"); - if (dart.test(this[_closed])) { - secureConnection.close(); - } else { - this[_controller].add(secureConnection); - } - }, T$0.RawSecureSocketToNull())).catchError(dart.fn((e, s) => { - if (!dart.test(this[_closed])) { - this[_controller].addError(core.Object.as(e), T$.StackTraceN().as(s)); - } - }, T$.dynamicAnddynamicToNull())); - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - dart.nullCheck(this[_subscription$]).pause(); - } else { - dart.nullCheck(this[_subscription$]).resume(); - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - this[_subscription$] = this[_socket$].listen(dart.bind(this, _onData$0), {onError: dart.bind(this[_controller], 'addError'), onDone: dart.bind(this[_controller], 'close')}); - } else { - this.close(); - } - } - set [_owner](owner) { - io._RawSocketBase.as(this[_socket$])[_owner] = owner; - } -}; -(io.RawSecureServerSocket.__ = function(_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"); - this[__RawSecureServerSocket__controller] = null; - this[__RawSecureServerSocket__controller_isSet] = false; - this[_subscription$] = null; - this[_closed] = false; - this[_socket$] = _socket; - this[_context$] = _context; - this[requestClientCertificate$] = requestClientCertificate; - this[requireClientCertificate$] = requireClientCertificate; - this[supportedProtocols$] = supportedProtocols; - io.RawSecureServerSocket.__proto__.new.call(this); - this[_controller] = T$0.StreamControllerOfRawSecureSocket().new({sync: true, onListen: dart.bind(this, _onSubscriptionStateChange), onPause: dart.bind(this, _onPauseStateChange), onResume: dart.bind(this, _onPauseStateChange), onCancel: dart.bind(this, _onSubscriptionStateChange)}); -}).prototype = io.RawSecureServerSocket.prototype; -dart.addTypeTests(io.RawSecureServerSocket); -dart.addTypeCaches(io.RawSecureServerSocket); -dart.setMethodSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getMethods(io.RawSecureServerSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSecureSocket), [dart.nullable(dart.fnType(dart.void, [io.RawSecureSocket]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future$(io.RawSecureServerSocket), []), - [_onData$0]: dart.fnType(dart.void, [io.RawSocket]), - [_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), - port: core.int, - address: io.InternetAddress -})); -dart.setSetterSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getSetters(io.RawSecureServerSocket.__proto__), - [_controller]: async.StreamController$(io.RawSecureSocket), - [_owner]: dart.dynamic -})); -dart.setLibraryUri(io.RawSecureServerSocket, I[108]); -dart.setFieldSignature(io.RawSecureServerSocket, () => ({ - __proto__: dart.getFields(io.RawSecureServerSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawServerSocket), - [__RawSecureServerSocket__controller]: dart.fieldType(dart.nullable(async.StreamController$(io.RawSecureSocket))), - [__RawSecureServerSocket__controller_isSet]: dart.fieldType(core.bool), - [_subscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocket))), - [_context$]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - requestClientCertificate: dart.finalFieldType(core.bool), - requireClientCertificate: dart.finalFieldType(core.bool), - supportedProtocols: dart.finalFieldType(dart.nullable(core.List$(core.String))), - [_closed]: dart.fieldType(core.bool) -})); -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.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; - this.writeEmpty = true; - this.readPlaintextNoLongerEmpty = false; - this.writePlaintextNoLongerFull = false; - this.readEncryptedNoLongerFull = false; - this.writeEncryptedNoLongerEmpty = false; - ; -}).prototype = io._FilterStatus.prototype; -dart.addTypeTests(io._FilterStatus); -dart.addTypeCaches(io._FilterStatus); -dart.setLibraryUri(io._FilterStatus, I[108]); -dart.setFieldSignature(io._FilterStatus, () => ({ - __proto__: dart.getFields(io._FilterStatus.__proto__), - progress: dart.fieldType(core.bool), - readEmpty: dart.fieldType(core.bool), - writeEmpty: dart.fieldType(core.bool), - readPlaintextNoLongerEmpty: dart.fieldType(core.bool), - writePlaintextNoLongerFull: dart.fieldType(core.bool), - 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"); -var _bufferedDataIndex = dart.privateName(io, "_bufferedDataIndex"); -var _status = dart.privateName(io, "_status"); -var _writeEventsEnabled = dart.privateName(io, "_writeEventsEnabled"); -var _readEventsEnabled = dart.privateName(io, "_readEventsEnabled"); -var _pauseCount = dart.privateName(io, "_pauseCount"); -var _pendingReadEvent = dart.privateName(io, "_pendingReadEvent"); -var _socketClosedRead = dart.privateName(io, "_socketClosedRead"); -var _socketClosedWrite = dart.privateName(io, "_socketClosedWrite"); -var _closedRead = dart.privateName(io, "_closedRead"); -var _closedWrite = dart.privateName(io, "_closedWrite"); -var _filterStatus = dart.privateName(io, "_filterStatus"); -var _connectPending = dart.privateName(io, "_connectPending"); -var _filterPending = dart.privateName(io, "_filterPending"); -var _filterActive = dart.privateName(io, "_filterActive"); -var _secureFilter = dart.privateName(io, "_secureFilter"); -var _selectedProtocol = dart.privateName(io, "_selectedProtocol"); -var _bufferedData$ = dart.privateName(io, "_bufferedData"); -var _secureHandshakeCompleteHandler = dart.privateName(io, "_secureHandshakeCompleteHandler"); -var _onBadCertificateWrapper = dart.privateName(io, "_onBadCertificateWrapper"); -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"); -var _close$ = dart.privateName(io, "_close"); -var _scheduleReadEvent = dart.privateName(io, "_scheduleReadEvent"); -var _scheduleFilter = dart.privateName(io, "_scheduleFilter"); -var _readHandler = dart.privateName(io, "_readHandler"); -var _writeHandler = dart.privateName(io, "_writeHandler"); -var _closeHandler = dart.privateName(io, "_closeHandler"); -var _readSocket = dart.privateName(io, "_readSocket"); -var _writeSocket = dart.privateName(io, "_writeSocket"); -var _tryFilter = dart.privateName(io, "_tryFilter"); -var _pushAllFilterStages = dart.privateName(io, "_pushAllFilterStages"); -var _readSocketOrBufferedData = dart.privateName(io, "_readSocketOrBufferedData"); -var _sendReadEvent = dart.privateName(io, "_sendReadEvent"); -var _value$ = dart.privateName(io, "RawSocketEvent._value"); -var _value$0 = dart.privateName(io, "_value"); -io.RawSocketEvent = class RawSocketEvent extends core.Object { - get [_value$0]() { - return this[_value$]; - } - 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[182] || CT.C182)[$_get](this[_value$0]); - } -}; -(io.RawSocketEvent.__ = function(_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[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[183] || CT.C183; - }, - /*io.RawSocketEvent.write*/get write() { - return C[184] || CT.C184; - }, - /*io.RawSocketEvent.readClosed*/get readClosed() { - return C[185] || CT.C185; - }, - /*io.RawSocketEvent.closed*/get closed() { - return C[186] || CT.C186; - } -}, false); -io._RawSecureSocket = class _RawSecureSocket extends async.Stream$(io.RawSocketEvent) { - static _isBufferEncrypted(identifier) { - if (identifier == null) dart.nullFailed(I[127], 504, 38, "identifier"); - return dart.notNull(identifier) >= 2; - } - get [_socketSubscription]() { - let t183; - return dart.test(this[___RawSecureSocket__socketSubscription_isSet]) ? (t183 = this[___RawSecureSocket__socketSubscription], t183) : dart.throw(new _internal.LateError.fieldNI("_socketSubscription")); - } - 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] = _socketSubscription$35param; - } - } - static connect(host, requestedPort, isServer, socket, opts) { - 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[127], 550, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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; - let address = socket.address; - if (host != null) { - address = io.InternetAddress._cloneWithNewHost(address, core.String.as(host)); - } - 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; - let onDone = opts && 'onDone' in opts ? opts.onDone : null; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - this[_sendWriteEvent](); - return this[_controller].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - static _verifyFields(host, requestedPort, requestClientCertificate, 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")); - } - core.ArgumentError.checkNotNull(core.int, requestedPort, "requestedPort"); - if (dart.notNull(requestedPort) < 0 || dart.notNull(requestedPort) > 65535) { - dart.throw(new core.ArgumentError.new("requestedPort is not in the range 0..65535")); - } - core.ArgumentError.checkNotNull(core.bool, requestClientCertificate, "requestClientCertificate"); - core.ArgumentError.checkNotNull(core.bool, requireClientCertificate, "requireClientCertificate"); - } - get port() { - return this[_socket$].port; - } - get remoteAddress() { - return this[_socket$].remoteAddress; - } - get remotePort() { - return this[_socket$].remotePort; - } - set [_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; - } - close() { - this.shutdown(io.SocketDirection.both); - return this[_closeCompleter].future; - } - [_completeCloseCompleter](dummy = null) { - 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)); - this[_socketClosedWrite] = true; - this[_socketClosedRead] = true; - if (!dart.test(this[_filterActive]) && this[_secureFilter] != null) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - } - t183 = this.keyLogPort; - t183 == null ? null : t183.close(); - if (this[_socketSubscription] != null) { - this[_socketSubscription].cancel(); - } - this[_controller].close(); - this[_status] = 203; - } - shutdown(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)) { - this[_socket$].shutdown(io.SocketDirection.send); - this[_socketClosedWrite] = true; - if (dart.test(this[_closedRead])) { - this[_close$](); - } - } - } - if (dart.equals(direction, io.SocketDirection.receive) || dart.equals(direction, io.SocketDirection.both)) { - this[_closedRead] = true; - this[_socketClosedRead] = true; - this[_socket$].shutdown(io.SocketDirection.receive); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } - } - get writeEventsEnabled() { - return this[_writeEventsEnabled]; - } - set writeEventsEnabled(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())); - } - } - get readEventsEnabled() { - return this[_readEventsEnabled]; - } - set readEventsEnabled(value) { - if (value == null) dart.nullFailed(I[127], 763, 35, "value"); - this[_readEventsEnabled] = value; - this[_scheduleReadEvent](); - } - read(length = null) { - if (length != null && dart.notNull(length) < 0) { - dart.throw(new core.ArgumentError.new("Invalid length parameter in SecureSocket.read (length: " + dart.str(length) + ")")); - } - if (dart.test(this[_closedRead])) { - dart.throw(new io.SocketException.new("Reading from a closed socket")); - } - if (this[_status] !== 202) { - return null; - } - let result = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).read(length); - this[_scheduleFilter](); - return result; - } - readMessage(count = null) { - dart.throw(new core.UnsupportedError.new("Message-passing not supported by secure sockets")); - } - static _fixOffset(offset) { - let t183; - t183 = offset; - return t183 == null ? 0 : t183; - } - write(data, offset = 0, bytes = null) { - 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) + ")")); - } - offset = io._RawSecureSocket._fixOffset(offset); - if (dart.notNull(offset) < 0) { - dart.throw(new core.ArgumentError.new("Invalid offset parameter in SecureSocket.read (offset: " + dart.str(offset) + ")")); - } - if (dart.test(this[_closedWrite])) { - this[_controller].addError(new io.SocketException.new("Writing to a closed socket")); - return 0; - } - if (this[_status] !== 202) return 0; - bytes == null ? bytes = dart.notNull(data[$length]) - dart.notNull(offset) : null; - let written = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).write(data, offset, bytes); - if (dart.notNull(written) > 0) { - this[_filterStatus].writeEmpty = false; - } - 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; - } - get selectedProtocol() { - return this[_selectedProtocol]; - } - [_onBadCertificateWrapper](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[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[127], 836, 42, "option"); - return this[_socket$].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[127], 840, 37, "option"); - this[_socket$].setRawOption(option); - } - [_eventDispatcher](event) { - if (event == null) dart.nullFailed(I[127], 844, 40, "event"); - try { - if (dart.equals(event, io.RawSocketEvent.read)) { - this[_readHandler](); - } else if (dart.equals(event, io.RawSocketEvent.write)) { - this[_writeHandler](); - } else if (dart.equals(event, io.RawSocketEvent.readClosed)) { - this[_closeHandler](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - } - [_readHandler]() { - this[_readSocket](); - this[_scheduleFilter](); - } - [_writeHandler]() { - this[_writeSocket](); - this[_scheduleFilter](); - } - [_doneHandler]() { - if (dart.test(this[_filterStatus].readEmpty)) { - this[_close$](); - } - } - [_reportError](e, stackTrace = null) { - if (this[_status] === 203) { - return; - } else if (dart.test(this[_connectPending])) { - this[_handshakeComplete].completeError(core.Object.as(e), stackTrace); - } else { - this[_controller].addError(core.Object.as(e), stackTrace); - } - this[_close$](); - } - [_closeHandler]() { - return async.async(dart.void, (function* _closeHandler() { - if (this[_status] === 202) { - if (dart.test(this[_closedRead])) return; - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_closedRead] = true; - this[_controller].add(io.RawSocketEvent.readClosed); - if (dart.test(this[_socketClosedWrite])) { - this[_close$](); - } - } else { - yield this[_scheduleFilter](); - } - } else if (this[_status] === 201) { - this[_socketClosedRead] = true; - if (dart.test(this[_filterStatus].readEmpty)) { - this[_reportError](new io.HandshakeException.new("Connection terminated during handshake"), null); - } else { - yield this[_secureHandshake](); - } - } - }).bind(this)); - } - [_secureHandshake]() { - return async.async(dart.void, (function* _secureHandshake$() { - try { - let needRetryHandshake = (yield dart.nullCheck(this[_secureFilter]).handshake()); - if (dart.test(needRetryHandshake)) { - yield this[_secureHandshake](); - } else { - this[_filterStatus].writeEmpty = false; - this[_readSocket](); - this[_writeSocket](); - yield this[_scheduleFilter](); - } - } catch (e$) { - let e = dart.getThrown(e$); - let stackTrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, stackTrace); - } else - throw e$; - } - }).bind(this)); - } - renegotiate(opts) { - let useSessionCache = opts && 'useSessionCache' in opts ? opts.useSessionCache : true; - 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[127], 933, 12, "requestClientCertificate"); - let requireClientCertificate = opts && 'requireClientCertificate' in opts ? opts.requireClientCertificate : false; - 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")); - } - this[_status] = 201; - this[_filterStatus].writeEmpty = false; - this[_scheduleFilter](); - } - [_secureHandshakeCompleteHandler]() { - this[_status] = 202; - if (dart.test(this[_connectPending])) { - this[_connectPending] = false; - try { - this[_selectedProtocol] = dart.nullCheck(this[_secureFilter]).selectedProtocol(); - async.Timer.run(dart.fn(() => this[_handshakeComplete].complete(this), T$.VoidTovoid())); - } catch (e) { - let error = dart.getThrown(e); - let stack = dart.stackTrace(e); - if (core.Object.is(error)) { - this[_handshakeComplete].completeError(error, stack); - } else - throw e; - } - } - } - [_onPauseStateChange]() { - if (dart.test(this[_controller].isPaused)) { - this[_pauseCount] = dart.notNull(this[_pauseCount]) + 1; - } else { - this[_pauseCount] = dart.notNull(this[_pauseCount]) - 1; - if (this[_pauseCount] === 0) { - this[_scheduleReadEvent](); - this[_sendWriteEvent](); - } - } - if (!dart.test(this[_socketClosedRead]) || !dart.test(this[_socketClosedWrite])) { - if (dart.test(this[_controller].isPaused)) { - this[_socketSubscription].pause(); - } else { - this[_socketSubscription].resume(); - } - } - } - [_onSubscriptionStateChange]() { - if (dart.test(this[_controller].hasListener)) { - } - } - [_scheduleFilter]() { - this[_filterPending] = true; - return this[_tryFilter](); - } - [_tryFilter]() { - return async.async(dart.void, (function* _tryFilter() { - try { - while (true) { - if (this[_status] === 203) { - return; - } - if (!dart.test(this[_filterPending]) || dart.test(this[_filterActive])) { - return; - } - this[_filterActive] = true; - this[_filterPending] = false; - this[_filterStatus] = (yield this[_pushAllFilterStages]()); - this[_filterActive] = false; - if (this[_status] === 203) { - dart.nullCheck(this[_secureFilter]).destroy(); - this[_secureFilter] = null; - return; - } - this[_socket$].readEventsEnabled = true; - if (dart.test(this[_filterStatus].writeEmpty) && dart.test(this[_closedWrite]) && !dart.test(this[_socketClosedWrite])) { - this.shutdown(io.SocketDirection.send); - if (this[_status] === 203) { - return; - } - } - if (dart.test(this[_filterStatus].readEmpty) && dart.test(this[_socketClosedRead]) && !dart.test(this[_closedRead])) { - if (this[_status] === 201) { - dart.nullCheck(this[_secureFilter]).handshake(); - if (this[_status] === 201) { - dart.throw(new io.HandshakeException.new("Connection terminated during handshake")); - } - } - this[_closeHandler](); - } - if (this[_status] === 203) { - return; - } - if (dart.test(this[_filterStatus].progress)) { - this[_filterPending] = true; - if (dart.test(this[_filterStatus].writeEncryptedNoLongerEmpty)) { - this[_writeSocket](); - } - if (dart.test(this[_filterStatus].writePlaintextNoLongerFull)) { - this[_sendWriteEvent](); - } - if (dart.test(this[_filterStatus].readEncryptedNoLongerFull)) { - this[_readSocket](); - } - if (dart.test(this[_filterStatus].readPlaintextNoLongerEmpty)) { - this[_scheduleReadEvent](); - } - if (this[_status] === 201) { - yield this[_secureHandshake](); - } - } - } - } catch (e$) { - let e = dart.getThrown(e$); - let st = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, st); - } else - throw e$; - } - }).bind(this)); - } - [_readSocketOrBufferedData](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])) { - bytes = dart.notNull(bufferedData[$length]) - dart.notNull(this[_bufferedDataIndex]); - } - let result = bufferedData[$sublist](this[_bufferedDataIndex], dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes)); - this[_bufferedDataIndex] = dart.notNull(this[_bufferedDataIndex]) + dart.notNull(bytes); - if (bufferedData[$length] == this[_bufferedDataIndex]) { - this[_bufferedData$] = null; - } - return result; - } else if (!dart.test(this[_socketClosedRead])) { - return this[_socket$].read(bytes); - } else { - return null; - } - } - [_readSocket]() { - if (this[_status] === 203) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](2); - if (dart.notNull(buffer.writeFromSource(dart.bind(this, _readSocketOrBufferedData))) > 0) { - this[_filterStatus].readEmpty = false; - } else { - this[_socket$].readEventsEnabled = false; - } - } - [_writeSocket]() { - if (dart.test(this[_socketClosedWrite])) return; - let buffer = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](3); - if (dart.test(buffer.readToSocket(this[_socket$]))) { - this[_socket$].writeEventsEnabled = true; - } - } - [_scheduleReadEvent]() { - if (!dart.test(this[_pendingReadEvent]) && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_pendingReadEvent] = true; - async.Timer.run(dart.bind(this, _sendReadEvent)); - } - } - [_sendReadEvent]() { - this[_pendingReadEvent] = false; - if (this[_status] !== 203 && dart.test(this[_readEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && !dart.test(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](0).isEmpty)) { - this[_controller].add(io.RawSocketEvent.read); - this[_scheduleReadEvent](); - } - } - [_sendWriteEvent]() { - if (!dart.test(this[_closedWrite]) && dart.test(this[_writeEventsEnabled]) && this[_pauseCount] === 0 && this[_secureFilter] != null && dart.notNull(dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers)[$_get](1).free) > 0) { - this[_writeEventsEnabled] = false; - this[_controller].add(io.RawSocketEvent.write); - } - } - [_pushAllFilterStages]() { - return async.async(io._FilterStatus, (function* _pushAllFilterStages() { - let wasInHandshake = this[_status] !== 202; - let args = core.List.filled(2 + 4 * 2, null); - args[$_set](0, dart.nullCheck(this[_secureFilter])[_pointer]()); - args[$_set](1, wasInHandshake); - let bufs = dart.nullCheck(dart.nullCheck(this[_secureFilter]).buffers); - for (let i = 0; i < 4; i = i + 1) { - args[$_set](2 * i + 2, bufs[$_get](i).start); - args[$_set](2 * i + 3, bufs[$_get](i).end); - } - 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(response[$_get](1)) + " error " + dart.str(response[$_get](0))), null); - } else { - 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[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[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(); - status.writeEmpty = dart.test(bufs[$_get](1).isEmpty) && start(3) == end(3); - if (wasInHandshake) status.writeEmpty = false; - status.readEmpty = dart.test(bufs[$_get](2).isEmpty) && start(0) == end(0); - let buffer = bufs[$_get](1); - let new_start = start(1); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.writePlaintextNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](2); - new_start = start(2); - if (new_start != buffer.start) { - status.progress = true; - if (buffer.free === 0) { - status.readEncryptedNoLongerFull = true; - } - buffer.start = new_start; - } - buffer = bufs[$_get](3); - let new_end = end(3); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.writeEncryptedNoLongerEmpty = true; - } - buffer.end = new_end; - } - buffer = bufs[$_get](0); - new_end = end(0); - if (new_end != buffer.end) { - status.progress = true; - if (buffer.length === 0) { - status.readPlaintextNoLongerEmpty = true; - } - buffer.end = new_end; - } - return status; - }).bind(this)); - } -}; -(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; - this[_pauseCount] = 0; - this[_pendingReadEvent] = false; - this[_socketClosedRead] = false; - this[_socketClosedWrite] = false; - this[_closedRead] = false; - this[_closedWrite] = false; - this[_closeCompleter] = T$0.CompleterOfRawSecureSocket().new(); - this[_filterStatus] = new io._FilterStatus.new(); - this[_connectPending] = true; - this[_filterPending] = false; - this[_filterActive] = false; - this[_secureFilter] = io._SecureFilter.__(); - this[_selectedProtocol] = null; - this.address = address; - this.isServer = isServer; - this.context = context; - this[_socket$] = _socket; - this[_bufferedData$] = _bufferedData; - this.requestClientCertificate = requestClientCertificate; - this.requireClientCertificate = requireClientCertificate; - this.onBadCertificate = onBadCertificate; - this.keyLog = keyLog; - io._RawSecureSocket.__proto__.new.call(this); - t181 = this[_controller]; - (() => { - 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)); - } - this[_socket$].readEventsEnabled = true; - this[_socket$].writeEventsEnabled = false; - if (subscription == null) { - this[_socketSubscription] = this[_socket$].listen(dart.bind(this, _eventDispatcher), {onError: dart.bind(this, _reportError), onDone: dart.bind(this, _doneHandler)}); - } else { - this[_socketSubscription] = subscription; - if (dart.test(this[_socketSubscription].isPaused)) { - this[_socket$].close(); - dart.throw(new core.ArgumentError.new("Subscription passed to TLS upgrade is paused")); - } - if (dart.test(io._RawSocketBase.as(this[_socket$])[_closedReadEventSent])) { - this[_eventDispatcher](io.RawSocketEvent.readClosed); - } - t182 = this[_socketSubscription]; - (() => { - t182.onData(dart.bind(this, _eventDispatcher)); - t182.onError(dart.bind(this, _reportError)); - t182.onDone(dart.bind(this, _doneHandler)); - return t182; - })(); - } - try { - let encodedProtocols = io.SecurityContext._protocolsToLengthEncoding(supportedProtocols); - secureFilter.connect(this.address.host, this.context, this.isServer, dart.test(this.requestClientCertificate) || dart.test(this.requireClientCertificate), this.requireClientCertificate, encodedProtocols); - this[_secureHandshake](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - this[_reportError](e, s); - } else - throw e$; - } -}).prototype = io._RawSecureSocket.prototype; -dart.addTypeTests(io._RawSecureSocket); -dart.addTypeCaches(io._RawSecureSocket); -io._RawSecureSocket[dart.implements] = () => [io.RawSecureSocket]; -dart.setMethodSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getMethods(io._RawSecureSocket.__proto__), - listen: dart.fnType(async.StreamSubscription$(io.RawSocketEvent), [dart.nullable(dart.fnType(dart.void, [io.RawSocketEvent]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - available: dart.fnType(core.int, []), - close: dart.fnType(async.Future$(io.RawSecureSocket), []), - [_completeCloseCompleter]: dart.fnType(dart.void, [], [dart.nullable(io.RawSocket)]), - [_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]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_eventDispatcher]: dart.fnType(dart.void, [io.RawSocketEvent]), - [_readHandler]: dart.fnType(dart.void, []), - [_writeHandler]: dart.fnType(dart.void, []), - [_doneHandler]: dart.fnType(dart.void, []), - [_reportError]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.StackTrace)]), - [_closeHandler]: dart.fnType(dart.void, []), - [_secureHandshake]: dart.fnType(async.Future$(dart.void), []), - renegotiate: dart.fnType(dart.void, [], {requestClientCertificate: core.bool, requireClientCertificate: core.bool, useSessionCache: core.bool}, {}), - [_secureHandshakeCompleteHandler]: dart.fnType(dart.void, []), - [_onPauseStateChange]: dart.fnType(dart.void, []), - [_onSubscriptionStateChange]: dart.fnType(dart.void, []), - [_scheduleFilter]: dart.fnType(async.Future$(dart.void), []), - [_tryFilter]: dart.fnType(async.Future$(dart.void), []), - [_readSocketOrBufferedData]: dart.fnType(dart.nullable(core.List$(core.int)), [core.int]), - [_readSocket]: dart.fnType(dart.void, []), - [_writeSocket]: dart.fnType(dart.void, []), - [_scheduleReadEvent]: dart.fnType(dart.dynamic, []), - [_sendReadEvent]: dart.fnType(dart.dynamic, []), - [_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), - port: core.int, - remoteAddress: io.InternetAddress, - remotePort: core.int, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool, - peerCertificate: dart.nullable(io.X509Certificate), - selectedProtocol: dart.nullable(core.String) -})); -dart.setSetterSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getSetters(io._RawSecureSocket.__proto__), - [_socketSubscription]: async.StreamSubscription$(io.RawSocketEvent), - [_owner]: dart.dynamic, - writeEventsEnabled: core.bool, - readEventsEnabled: core.bool -})); -dart.setLibraryUri(io._RawSecureSocket, I[108]); -dart.setFieldSignature(io._RawSecureSocket, () => ({ - __proto__: dart.getFields(io._RawSecureSocket.__proto__), - [_socket$]: dart.finalFieldType(io.RawSocket), - [_handshakeComplete]: dart.finalFieldType(async.Completer$(io._RawSecureSocket)), - [_controller]: dart.finalFieldType(async.StreamController$(io.RawSocketEvent)), - [___RawSecureSocket__socketSubscription]: dart.fieldType(dart.nullable(async.StreamSubscription$(io.RawSocketEvent))), - [___RawSecureSocket__socketSubscription_isSet]: dart.fieldType(core.bool), - [_bufferedData$]: dart.fieldType(dart.nullable(core.List$(core.int))), - [_bufferedDataIndex]: dart.fieldType(core.int), - address: dart.finalFieldType(io.InternetAddress), - isServer: dart.finalFieldType(core.bool), - context: dart.finalFieldType(io.SecurityContext), - 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), - [_pauseCount]: dart.fieldType(core.int), - [_pendingReadEvent]: dart.fieldType(core.bool), - [_socketClosedRead]: dart.fieldType(core.bool), - [_socketClosedWrite]: dart.fieldType(core.bool), - [_closedRead]: dart.fieldType(core.bool), - [_closedWrite]: dart.fieldType(core.bool), - [_closeCompleter]: dart.fieldType(async.Completer$(io.RawSecureSocket)), - [_filterStatus]: dart.fieldType(io._FilterStatus), - [_connectPending]: dart.fieldType(core.bool), - [_filterPending]: dart.fieldType(core.bool), - [_filterActive]: dart.fieldType(core.bool), - [_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; - }, - /*io._RawSecureSocket.connectedStatus*/get connectedStatus() { - return 202; - }, - /*io._RawSecureSocket.closedStatus*/get closedStatus() { - return 203; - }, - /*io._RawSecureSocket.readPlaintextId*/get readPlaintextId() { - return 0; - }, - /*io._RawSecureSocket.writePlaintextId*/get writePlaintextId() { - return 1; - }, - /*io._RawSecureSocket.readEncryptedId*/get readEncryptedId() { - return 2; - }, - /*io._RawSecureSocket.writeEncryptedId*/get writeEncryptedId() { - return 3; - }, - /*io._RawSecureSocket.bufferCount*/get bufferCount() { - return 4; - } -}, 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[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[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[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[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() { - return this.end == this.start; - } - get length() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) + dart.notNull(this.end) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get linearLength() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.size) - dart.notNull(this.start) : dart.notNull(this.end) - dart.notNull(this.start); - } - get free() { - return dart.notNull(this.start) > dart.notNull(this.end) ? dart.notNull(this.start) - dart.notNull(this.end) - 1 : dart.notNull(this.size) + dart.notNull(this.start) - dart.notNull(this.end) - 1; - } - get linearFree() { - if (dart.notNull(this.start) > dart.notNull(this.end)) return dart.notNull(this.start) - dart.notNull(this.end) - 1; - if (this.start === 0) return dart.notNull(this.size) - dart.notNull(this.end) - 1; - return dart.notNull(this.size) - dart.notNull(this.end); - } - read(bytes) { - if (bytes == null) { - bytes = this.length; - } else { - bytes = math.min(core.int, bytes, this.length); - } - if (bytes === 0) return null; - let result = _native_typed_data.NativeUint8List.new(bytes); - let bytesRead = 0; - while (bytesRead < dart.notNull(bytes)) { - let toRead = math.min(core.int, dart.notNull(bytes) - bytesRead, this.linearLength); - result[$setRange](bytesRead, bytesRead + toRead, dart.nullCheck(this.data), this.start); - this.advanceStart(toRead); - bytesRead = bytesRead + toRead; - } - return result; - } - write(inputData, offset, 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; - } - let written = 0; - let toWrite = math.min(core.int, bytes, this.linearFree); - while (toWrite > 0) { - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + toWrite, inputData, offset); - this.advanceEnd(toWrite); - offset = dart.notNull(offset) + toWrite; - written = written + toWrite; - toWrite = math.min(core.int, dart.notNull(bytes) - written, this.linearFree); - } - return written; - } - writeFromSource(getData) { - if (getData == null) dart.nullFailed(I[127], 1302, 34, "getData"); - let written = 0; - let toWrite = this.linearFree; - while (dart.notNull(toWrite) > 0) { - let inputData = getData(toWrite); - if (inputData == null || inputData[$length] === 0) break; - let len = inputData[$length]; - dart.nullCheck(this.data)[$setRange](this.end, dart.notNull(this.end) + dart.notNull(len), inputData); - this.advanceEnd(len); - written = written + dart.notNull(len); - toWrite = this.linearFree; - } - return written; - } - readToSocket(socket) { - if (socket == null) dart.nullFailed(I[127], 1319, 31, "socket"); - while (true) { - let toWrite = this.linearLength; - if (toWrite === 0) return false; - let bytes = socket.write(dart.nullCheck(this.data), this.start, toWrite); - this.advanceStart(bytes); - if (dart.notNull(bytes) < dart.notNull(toWrite)) { - return true; - } - } - } -}; -(io._ExternalBuffer.new = function(size) { - if (size == null) dart.nullFailed(I[127], 1227, 23, "size"); - this.data = null; - this.size = size; - this.start = (dart.notNull(size) / 2)[$truncate](); - this.end = (dart.notNull(size) / 2)[$truncate](); - ; -}).prototype = io._ExternalBuffer.prototype; -dart.addTypeTests(io._ExternalBuffer); -dart.addTypeCaches(io._ExternalBuffer); -dart.setMethodSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getMethods(io._ExternalBuffer.__proto__), - advanceStart: dart.fnType(dart.void, [core.int]), - advanceEnd: dart.fnType(dart.void, [core.int]), - read: dart.fnType(dart.nullable(typed_data.Uint8List), [dart.nullable(core.int)]), - write: dart.fnType(core.int, [core.List$(core.int), core.int, core.int]), - writeFromSource: dart.fnType(core.int, [dart.fnType(dart.nullable(core.List$(core.int)), [core.int])]), - readToSocket: dart.fnType(core.bool, [io.RawSocket]) -})); -dart.setGetterSignature(io._ExternalBuffer, () => ({ - __proto__: dart.getGetters(io._ExternalBuffer.__proto__), - isEmpty: core.bool, - length: core.int, - linearLength: core.int, - free: core.int, - linearFree: core.int -})); -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))), - start: dart.fieldType(core.int), - end: dart.fieldType(core.int), - size: dart.finalFieldType(core.int) -})); -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.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"); -io.TlsException = class TlsException extends core.Object { - get type() { - return this[type$3]; - } - set type(value) { - super.type = value; - } - get message() { - return this[message$6]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$1]; - } - 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); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - return sb.toString(); - } -}; -(io.TlsException.new = function(message = "", osError = null) { - 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[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; - ; -}).prototype = io.TlsException.prototype; -dart.addTypeTests(io.TlsException); -dart.addTypeCaches(io.TlsException); -io.TlsException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.TlsException, I[108]); -dart.setFieldSignature(io.TlsException, () => ({ - __proto__: dart.getFields(io.TlsException.__proto__), - type: dart.finalFieldType(core.String), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -dart.defineExtensionMethods(io.TlsException, ['toString']); -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[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[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[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[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[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")); - } - static get alpnSupported() { - dart.throw(new core.UnsupportedError.new("SecurityContext alpnSupported getter")); - } - static _protocolsToLengthEncoding(protocols) { - let t187, t187$; - if (protocols == null || protocols[$length] === 0) { - return _native_typed_data.NativeUint8List.new(0); - } - let protocolsLength = protocols[$length]; - let expectedLength = protocolsLength; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let length = protocols[$_get](i).length; - if (length > 0 && length <= 255) { - expectedLength = dart.notNull(expectedLength) + length; - } else { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(length) + ").")); - } - } - if (dart.notNull(expectedLength) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - let bytes = _native_typed_data.NativeUint8List.new(expectedLength); - let bytesOffset = 0; - for (let i = 0; i < dart.notNull(protocolsLength); i = i + 1) { - let proto = protocols[$_get](i); - 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]((t187$ = bytesOffset, bytesOffset = t187$ + 1, t187$), char & 255); - } - if (bits > 127) { - return io.SecurityContext._protocolsToLengthEncodingNonAsciiBailout(protocols); - } - } - return bytes; - } - static _protocolsToLengthEncodingNonAsciiBailout(protocols) { - if (protocols == null) dart.nullFailed(I[129], 243, 20, "protocols"); - function addProtocol(outBytes, 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) { - dart.throw(new core.ArgumentError.new("Length of protocol must be between 1 and 255 (was: " + dart.str(len) + ")")); - } - outBytes[$add](len); - outBytes[$addAll](protocolBytes); - } - dart.fn(addProtocol, T$0.ListOfintAndStringTovoid()); - let bytes = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(protocols[$length]); i = i + 1) { - addProtocol(bytes, protocols[$_get](i)); - } - if (dart.notNull(bytes[$length]) >= 1 << 13) { - dart.throw(new core.ArgumentError.new("The maximum message length supported is 2^13-1.")); - } - return _native_typed_data.NativeUint8List.fromList(bytes); - } -}; -(io.SecurityContext[dart.mixinNew] = function() { -}).prototype = io.SecurityContext.prototype; -dart.addTypeTests(io.SecurityContext); -dart.addTypeCaches(io.SecurityContext); -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"); -var _servicePath = dart.privateName(io, "_servicePath"); -var _serviceTypeName = dart.privateName(io, "_serviceTypeName"); -var _serviceType = dart.privateName(io, "_serviceType"); -io._ServiceObject = class _ServiceObject extends core.Object { - get [_serviceId]() { - 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[130], 23, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName]); - return this[_serviceTypeName]; - } -}; -(io._ServiceObject.new = function() { - this[__serviceId] = 0; - ; -}).prototype = io._ServiceObject.prototype; -dart.addTypeTests(io._ServiceObject); -dart.addTypeCaches(io._ServiceObject); -dart.setMethodSignature(io._ServiceObject, () => ({ - __proto__: dart.getMethods(io._ServiceObject.__proto__), - [_serviceType]: dart.fnType(core.String, [core.bool]) -})); -dart.setGetterSignature(io._ServiceObject, () => ({ - __proto__: dart.getGetters(io._ServiceObject.__proto__), - [_serviceId]: core.int, - [_servicePath]: core.String -})); -dart.setLibraryUri(io._ServiceObject, I[108]); -dart.setFieldSignature(io._ServiceObject, () => ({ - __proto__: dart.getFields(io._ServiceObject.__proto__), - [__serviceId]: dart.fieldType(core.int) -})); -var _value$1 = dart.privateName(io, "InternetAddressType._value"); -io.InternetAddressType = class InternetAddressType extends core.Object { - get [_value$0]() { - return this[_value$1]; - } - 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[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[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[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[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[188] || CT.C188; - }, - /*io.InternetAddressType.IPv6*/get IPv6() { - return C[189] || CT.C189; - }, - /*io.InternetAddressType.unix*/get unix() { - return C[190] || CT.C190; - }, - /*io.InternetAddressType.any*/get any() { - return C[191] || CT.C191; - } -}, false); -io.InternetAddress = class InternetAddress extends core.Object { - static get loopbackIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv4")); - } - static get loopbackIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.loopbackIPv6")); - } - static get anyIPv4() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv4")); - } - static get anyIPv6() { - dart.throw(new core.UnsupportedError.new("InternetAddress.anyIPv6")); - } - static new(address, opts) { - 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[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[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[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[110], 435, 43, "address"); - dart.throw(new core.UnsupportedError.new("InternetAddress.tryParse")); - } -}; -(io.InternetAddress[dart.mixinNew] = function() { -}).prototype = io.InternetAddress.prototype; -dart.addTypeTests(io.InternetAddress); -dart.addTypeCaches(io.InternetAddress); -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[110], 449, 13, "includeLoopback"); - let includeLinkLocal = opts && 'includeLinkLocal' in opts ? opts.includeLinkLocal : false; - 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")); - } -}; -(io.NetworkInterface.new = function() { - ; -}).prototype = io.NetworkInterface.prototype; -dart.addTypeTests(io.NetworkInterface); -dart.addTypeCaches(io.NetworkInterface); -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[110], 459, 52, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[110], 460, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - if (shared == null) dart.nullFailed(I[110], 460, 51, "shared"); - dart.throw(new core.UnsupportedError.new("RawServerSocket.bind")); - } -}; -(io.RawServerSocket.new = function() { - ; -}).prototype = io.RawServerSocket.prototype; -io.RawServerSocket.prototype[dart.isStream] = true; -dart.addTypeTests(io.RawServerSocket); -dart.addTypeCaches(io.RawServerSocket); -io.RawServerSocket[dart.implements] = () => [async.Stream$(io.RawSocket)]; -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[128], 303, 49, "port"); - let backlog = opts && 'backlog' in opts ? opts.backlog : 0; - 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[128], 304, 30, "v6Only"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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}); - } - return overrides.serverSocketBind(address, port, {backlog: backlog, v6Only: v6Only, shared: shared}); - } - static _bind(address, port, opts) { - 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[110], 469, 12, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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[110], 469, 51, "shared"); - dart.throw(new core.UnsupportedError.new("ServerSocket.bind")); - } -}; -(io.ServerSocket.new = function() { - ; -}).prototype = io.ServerSocket.prototype; -dart.addTypeTests(io.ServerSocket); -dart.addTypeCaches(io.ServerSocket); -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]() { - return this[_value$2]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketDirection.__(_value); - } -}; -(io.SocketDirection.__ = function(_value) { - this[_value$2] = _value; - ; -}).prototype = io.SocketDirection.prototype; -dart.addTypeTests(io.SocketDirection); -dart.addTypeCaches(io.SocketDirection); -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[192] || CT.C192; - }, - /*io.SocketDirection.send*/get send() { - return C[193] || CT.C193; - }, - /*io.SocketDirection.both*/get both() { - return C[194] || CT.C194; - } -}, false); -var _value$3 = dart.privateName(io, "SocketOption._value"); -io.SocketOption = class SocketOption extends core.Object { - get [_value$0]() { - return this[_value$3]; - } - set [_value$0](value) { - super[_value$0] = value; - } - static ['_#_#tearOff'](_value) { - return new io.SocketOption.__(_value); - } -}; -(io.SocketOption.__ = function(_value) { - this[_value$3] = _value; - ; -}).prototype = io.SocketOption.prototype; -dart.addTypeTests(io.SocketOption); -dart.addTypeCaches(io.SocketOption); -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[195] || CT.C195; - }, - /*io.SocketOption._ipMulticastLoop*/get _ipMulticastLoop() { - return C[196] || CT.C196; - }, - /*io.SocketOption._ipMulticastHops*/get _ipMulticastHops() { - return C[197] || CT.C197; - }, - /*io.SocketOption._ipMulticastIf*/get _ipMulticastIf() { - return C[198] || CT.C198; - }, - /*io.SocketOption._ipBroadcast*/get _ipBroadcast() { - return C[199] || CT.C199; - } -}, false); -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[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.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"); -io.RawSocketOption = class RawSocketOption extends core.Object { - get level() { - return this[level$2]; - } - set level(value) { - super.level = value; - } - get option() { - return this[option$]; - } - set option(value) { - super.option = value; - } - get value() { - return this[value$3]; - } - 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[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[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); - } - static get levelIPv4() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IP.index); - } - static get IPv4MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IP_MULTICAST_IF.index); - } - static get levelIPv6() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_IPV6.index); - } - static get IPv6MulticastInterface() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPV6_MULTICAST_IF.index); - } - static get levelTcp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_TCP.index); - } - static get levelUdp() { - return io.RawSocketOption._getOptionValue(io._RawSocketOptions.IPPROTO_UDP.index); - } - static _getOptionValue(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[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; - ; -}).prototype = io.RawSocketOption.prototype; -dart.addTypeTests(io.RawSocketOption); -dart.addTypeCaches(io.RawSocketOption); -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), - option: dart.finalFieldType(core.int), - value: dart.finalFieldType(typed_data.Uint8List) -})); -var socket$ = dart.privateName(io, "ConnectionTask.socket"); -const _is_ConnectionTask_default = Symbol('_is_ConnectionTask_default'); -io.ConnectionTask$ = dart.generic(S => { - class ConnectionTask extends core.Object { - get socket() { - return this[socket$]; - } - 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[128], 509, 35, "socket"); - if (onCancel == null) dart.nullFailed(I[128], 509, 59, "onCancel"); - this[socket$] = socket; - this[_onCancel$] = onCancel; - ; - }).prototype = ConnectionTask.prototype; - dart.addTypeTests(ConnectionTask); - ConnectionTask.prototype[_is_ConnectionTask_default] = true; - dart.addTypeCaches(ConnectionTask); - dart.setMethodSignature(ConnectionTask, () => ({ - __proto__: dart.getMethods(ConnectionTask.__proto__), - cancel: dart.fnType(dart.void, []) - })); - dart.setLibraryUri(ConnectionTask, I[108]); - dart.setFieldSignature(ConnectionTask, () => ({ - __proto__: dart.getFields(ConnectionTask.__proto__), - socket: dart.finalFieldType(async.Future$(S)), - [_onCancel$]: dart.finalFieldType(dart.fnType(dart.void, [])) - })); - return ConnectionTask; -}); -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[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[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")); - } -}; -(io.RawSocket.new = function() { - ; -}).prototype = io.RawSocket.prototype; -io.RawSocket.prototype[dart.isStream] = true; -dart.addTypeTests(io.RawSocket); -dart.addTypeCaches(io.RawSocket); -io.RawSocket[dart.implements] = () => [async.Stream$(io.RawSocketEvent)]; -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[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, sourcePort: sourcePort, timeout: timeout}); - } - return overrides.socketConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort, timeout: timeout}); - } - static startConnect(host, port, opts) { - 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, sourcePort: sourcePort}); - } - return overrides.socketStartConnect(host, port, {sourceAddress: sourceAddress, sourcePort: sourcePort}); - } - static _connect(host, port, opts) { - 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[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")); - } -}; -(io.Socket.new = function() { - ; -}).prototype = io.Socket.prototype; -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.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"); -io.Datagram = class Datagram extends core.Object { - get data() { - 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[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; - ; -}).prototype = io.Datagram.prototype; -dart.addTypeTests(io.Datagram); -dart.addTypeCaches(io.Datagram); -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() { - return this[multicastInterface]; - } - set multicastInterface(value) { - this[multicastInterface] = value; - } - static bind(host, port, opts) { - 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[110], 610, 13, "reuseAddress"); - let reusePort = opts && 'reusePort' in opts ? opts.reusePort : false; - 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[110], 610, 62, "ttl"); - dart.throw(new core.UnsupportedError.new("RawDatagramSocket.bind")); - } -}; -(io.RawDatagramSocket.new = function() { - this[multicastInterface] = null; - io.RawDatagramSocket.__proto__.new.call(this); - ; -}).prototype = io.RawDatagramSocket.prototype; -dart.addTypeTests(io.RawDatagramSocket); -dart.addTypeCaches(io.RawDatagramSocket); -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)) -})); -var message$7 = dart.privateName(io, "SocketException.message"); -var osError$2 = dart.privateName(io, "SocketException.osError"); -var address$0 = dart.privateName(io, "SocketException.address"); -var port$0 = dart.privateName(io, "SocketException.port"); -io.SocketException = class SocketException extends core.Object { - get message() { - return this[message$7]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$2]; - } - set osError(value) { - super.osError = value; - } - get address() { - return this[address$0]; - } - set address(value) { - super.address = value; - } - get port() { - return this[port$0]; - } - 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"); - if (this.message[$isNotEmpty]) { - sb.write(": " + dart.str(this.message)); - if (this.osError != null) { - sb.write(" (" + dart.str(this.osError) + ")"); - } - } else if (this.osError != null) { - sb.write(": " + dart.str(this.osError)); - } - if (this.address != null) { - sb.write(", address = " + dart.str(dart.nullCheck(this.address).host)); - } - if (this.port != null) { - sb.write(", port = " + dart.str(this.port)); - } - return sb.toString(); - } -}; -(io.SocketException.new = function(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; - this[message$7] = message; - this[osError$2] = osError; - this[address$0] = address; - this[port$0] = port; - ; -}).prototype = io.SocketException.prototype; -(io.SocketException.closed = function() { - this[message$7] = "Socket has been closed"; - this[osError$2] = null; - this[address$0] = null; - this[port$0] = null; - ; -}).prototype = io.SocketException.prototype; -dart.addTypeTests(io.SocketException); -dart.addTypeCaches(io.SocketException); -io.SocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.SocketException, I[108]); -dart.setFieldSignature(io.SocketException, () => ({ - __proto__: dart.getFields(io.SocketException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)), - address: dart.finalFieldType(dart.nullable(io.InternetAddress)), - port: dart.finalFieldType(dart.nullable(core.int)) -})); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_stream$0].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } -}; -(io._StdStream.new = function(_stream) { - if (_stream == null) dart.nullFailed(I[131], 18, 19, "_stream"); - this[_stream$0] = _stream; - io._StdStream.__proto__.new.call(this); - ; -}).prototype = io._StdStream.prototype; -dart.addTypeTests(io._StdStream); -dart.addTypeCaches(io._StdStream); -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[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[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[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)) { - let byte = null; - do { - byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - break; - } - line[$add](byte); - } while (byte !== 10 && !(byte === 13 && crIsNewline)); - if (dart.test(line[$isEmpty])) { - return null; - } - } else if (crIsNewline) { - while (true) { - let byte = this.readByteSync(); - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - if (byte === 10 || byte === 13) break; - line[$add](byte); - } - } else { - L2: - while (true) { - let byte = this.readByteSync(); - if (byte === 10) break; - if (byte === 13) { - do { - byte = this.readByteSync(); - if (byte === 10) break L2; - line[$add](13); - } while (byte === 13); - } - if (dart.notNull(byte) < 0) { - if (dart.test(line[$isEmpty])) return null; - break; - } - line[$add](byte); - } - } - return encoding.decode(line); - } - get echoMode() { - dart.throw(new core.UnsupportedError.new("Stdin.echoMode")); - } - set echoMode(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[110], 716, 26, "enabled"); - dart.throw(new core.UnsupportedError.new("Stdin.lineMode")); - } - get supportsAnsiEscapes() { - dart.throw(new core.UnsupportedError.new("Stdin.supportsAnsiEscapes")); - } - readByteSync() { - dart.throw(new core.UnsupportedError.new("Stdin.readByteSync")); - } - get hasTerminal() { - try { - return dart.equals(io.stdioType(this), io.StdioType.terminal); - } catch (e) { - let _ = dart.getThrown(e); - if (io.FileSystemException.is(_)) { - return false; - } else - throw e; - } - } -}; -(io.Stdin.__ = function(stream, _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); - ; -}).prototype = io.Stdin.prototype; -io.Stdin.prototype[dart.isStream] = true; -dart.addTypeTests(io.Stdin); -dart.addTypeCaches(io.Stdin); -io.Stdin[dart.implements] = () => [async.Stream$(core.List$(core.int))]; -dart.setMethodSignature(io.Stdin, () => ({ - __proto__: dart.getMethods(io.Stdin.__proto__), - readLineSync: dart.fnType(dart.nullable(core.String), [], {encoding: convert.Encoding, retainNewlines: core.bool}, {}), - readByteSync: dart.fnType(core.int, []) -})); -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 -})); -dart.setSetterSignature(io.Stdin, () => ({ - __proto__: dart.getSetters(io.Stdin.__proto__), - echoMode: core.bool, - echoNewlineMode: core.bool, - lineMode: core.bool -})); -dart.setLibraryUri(io.Stdin, I[108]); -dart.setFieldSignature(io.Stdin, () => ({ - __proto__: dart.getFields(io.Stdin.__proto__), - [_fd$]: dart.fieldType(core.int) -})); -var _nonBlocking = dart.privateName(io, "_nonBlocking"); -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[131], 333, 30, "encoding"); - this[_sink$1].encoding = encoding; - } - write(object) { - this[_sink$1].write(object); - } - writeln(object = "") { - this[_sink$1].writeln(object); - } - writeAll(objects, 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[131], 349, 22, "data"); - this[_sink$1].add(data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[131], 353, 17, "error"); - this[_sink$1].addError(error, stackTrace); - } - writeCharCode(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[131], 361, 38, "stream"); - return this[_sink$1].addStream(stream); - } - flush() { - return this[_sink$1].flush(); - } - close() { - return this[_sink$1].close(); - } - get done() { - return this[_sink$1].done; - } -}; -(io._StdSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[131], 330, 17, "_sink"); - this[_sink$1] = _sink; - ; -}).prototype = io._StdSink.prototype; -dart.addTypeTests(io._StdSink); -dart.addTypeCaches(io._StdSink); -io._StdSink[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io._StdSink, () => ({ - __proto__: dart.getMethods(io._StdSink.__proto__), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []) -})); -dart.setGetterSignature(io._StdSink, () => ({ - __proto__: dart.getGetters(io._StdSink.__proto__), - encoding: convert.Encoding, - done: async.Future -})); -dart.setSetterSignature(io._StdSink, () => ({ - __proto__: dart.getSetters(io._StdSink.__proto__), - encoding: convert.Encoding -})); -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$]); - } - get terminalColumns() { - return this[_terminalColumns](this[_fd$]); - } - get terminalLines() { - return this[_terminalLines](this[_fd$]); - } - get supportsAnsiEscapes() { - return io.Stdout._supportsAnsiEscapes(this[_fd$]); - } - [_hasTerminal](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[110], 734, 28, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.terminalColumns")); - } - [_terminalLines](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[110], 744, 40, "fd"); - dart.throw(new core.UnsupportedError.new("Stdout.supportsAnsiEscapes")); - } - get nonBlocking() { - 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[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); - ; -}).prototype = io.Stdout.prototype; -dart.addTypeTests(io.Stdout); -dart.addTypeCaches(io.Stdout); -io.Stdout[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(io.Stdout, () => ({ - __proto__: dart.getMethods(io.Stdout.__proto__), - [_hasTerminal]: dart.fnType(core.bool, [core.int]), - [_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, - terminalColumns: core.int, - terminalLines: core.int, - supportsAnsiEscapes: core.bool, - nonBlocking: io.IOSink -})); -dart.setLibraryUri(io.Stdout, I[108]); -dart.setFieldSignature(io.Stdout, () => ({ - __proto__: dart.getFields(io.Stdout.__proto__), - [_fd$]: dart.finalFieldType(core.int), - [_nonBlocking]: dart.fieldType(dart.nullable(io.IOSink)) -})); -var message$8 = dart.privateName(io, "StdoutException.message"); -var osError$3 = dart.privateName(io, "StdoutException.osError"); -io.StdoutException = class StdoutException extends core.Object { - get message() { - return this[message$8]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$3]; - } - 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[131], 277, 30, "message"); - this[message$8] = message; - this[osError$3] = osError; - ; -}).prototype = io.StdoutException.prototype; -dart.addTypeTests(io.StdoutException); -dart.addTypeCaches(io.StdoutException); -io.StdoutException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdoutException, I[108]); -dart.setFieldSignature(io.StdoutException, () => ({ - __proto__: dart.getFields(io.StdoutException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -dart.defineExtensionMethods(io.StdoutException, ['toString']); -var message$9 = dart.privateName(io, "StdinException.message"); -var osError$4 = dart.privateName(io, "StdinException.osError"); -io.StdinException = class StdinException extends core.Object { - get message() { - return this[message$9]; - } - set message(value) { - super.message = value; - } - get osError() { - return this[osError$4]; - } - 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[131], 292, 29, "message"); - this[message$9] = message; - this[osError$4] = osError; - ; -}).prototype = io.StdinException.prototype; -dart.addTypeTests(io.StdinException); -dart.addTypeCaches(io.StdinException); -io.StdinException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(io.StdinException, I[108]); -dart.setFieldSignature(io.StdinException, () => ({ - __proto__: dart.getFields(io.StdinException.__proto__), - message: dart.finalFieldType(core.String), - osError: dart.finalFieldType(dart.nullable(io.OSError)) -})); -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[131], 304, 38, "stream"); - let completer = async.Completer.new(); - let sub = null; - 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 { - this[_file].writeFromSync(data); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - sub$35get().cancel(); - completer.completeError(e, s); - } else - throw e$; - } - }, T$0.ListOfintTovoid()), {onError: dart.bind(completer, 'completeError'), onDone: T$0.FutureOrNTovoid().as(dart.bind(completer, 'complete')), cancelOnError: true})); - return completer.future; - } - close() { - this[_file].closeSync(); - return async.Future.value(); - } -}; -(io._StdConsumer.new = function(fd) { - if (fd == null) dart.nullFailed(I[131], 302, 20, "fd"); - this[_file] = io._File._openStdioSync(fd); - ; -}).prototype = io._StdConsumer.prototype; -dart.addTypeTests(io._StdConsumer); -dart.addTypeCaches(io._StdConsumer); -io._StdConsumer[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; -dart.setMethodSignature(io._StdConsumer, () => ({ - __proto__: dart.getMethods(io._StdConsumer.__proto__), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []) -})); -dart.setLibraryUri(io._StdConsumer, I[108]); -dart.setFieldSignature(io._StdConsumer, () => ({ - __proto__: dart.getFields(io._StdConsumer.__proto__), - [_file]: dart.finalFieldType(io.RandomAccessFile) -})); -var name$11 = dart.privateName(io, "StdioType.name"); -io.StdioType = class StdioType extends core.Object { - get name() { - return this[name$11]; - } - 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[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[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[208] || CT.C208; - }, - /*io.StdioType.pipe*/get pipe() { - return C[209] || CT.C209; - }, - /*io.StdioType.file*/get file() { - return C[210] || CT.C210; - }, - /*io.StdioType.other*/get other() { - return C[211] || CT.C211; - } -}, false); -io._StdIOUtils = class _StdIOUtils extends core.Object { - static _getStdioOutputStream(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[110], 626, 41, "fd"); - dart.throw(new core.UnsupportedError.new("StdIOUtils._getStdioInputStream")); - } - static _socketType(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[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.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[132], 26, 27, "input"); - return this.encoder.convert(input); - } - decode(encoded) { - T$0.ListOfint().as(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[212] || CT.C212; - } else { - return C[108] || CT.C108; - } - } - get decoder() { - if (io.Platform.operatingSystem === "windows") { - return C[213] || CT.C213; - } else { - return C[107] || CT.C107; - } - } -}; -(io.SystemEncoding.new = function() { - io.SystemEncoding.__proto__.new.call(this); - ; -}).prototype = io.SystemEncoding.prototype; -dart.addTypeTests(io.SystemEncoding); -dart.addTypeCaches(io.SystemEncoding); -dart.setGetterSignature(io.SystemEncoding, () => ({ - __proto__: dart.getGetters(io.SystemEncoding.__proto__), - name: core.String, - encoder: convert.Converter$(core.String, core.List$(core.int)), - decoder: convert.Converter$(core.List$(core.int), core.String) -})); -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[132], 49, 28, "input"); - let encoded = io._WindowsCodePageEncoder._encodeString(input); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - return encoded; - } - startChunkedConversion(sink) { - T$0.SinkOfListOfint().as(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[110], 657, 41, "string"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageEncoder._encodeString")); - } -}; -(io._WindowsCodePageEncoder.new = function() { - io._WindowsCodePageEncoder.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageEncoder.prototype; -dart.addTypeTests(io._WindowsCodePageEncoder); -dart.addTypeCaches(io._WindowsCodePageEncoder); -dart.setMethodSignature(io._WindowsCodePageEncoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoder.__proto__), - convert: dart.fnType(core.List$(core.int), [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.StringConversionSink, [dart.nullable(core.Object)]) -})); -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[132], 77, 19, "string"); - let encoded = io._WindowsCodePageEncoder._encodeString(string); - if (encoded == null) { - dart.throw(new core.FormatException.new("Invalid character for encoding")); - } - this[_sink$1].add(encoded); - } - addSlice(source, start, end, 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); - } - this.add(source); - if (dart.test(isLast)) this.close(); - } -}; -(io._WindowsCodePageEncoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 71, 36, "_sink"); - this[_sink$1] = _sink; - ; -}).prototype = io._WindowsCodePageEncoderSink.prototype; -dart.addTypeTests(io._WindowsCodePageEncoderSink); -dart.addTypeCaches(io._WindowsCodePageEncoderSink); -dart.setMethodSignature(io._WindowsCodePageEncoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageEncoderSink.__proto__), - close: dart.fnType(dart.void, []), - addSlice: dart.fnType(dart.void, [core.String, core.int, core.int, core.bool]) -})); -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[132], 97, 28, "input"); - return io._WindowsCodePageDecoder._decodeBytes(input); - } - startChunkedConversion(sink) { - T$0.SinkOfString().as(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[110], 649, 40, "bytes"); - dart.throw(new core.UnsupportedError.new("_WindowsCodePageDecoder._decodeBytes")); - } -}; -(io._WindowsCodePageDecoder.new = function() { - io._WindowsCodePageDecoder.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageDecoder.prototype; -dart.addTypeTests(io._WindowsCodePageDecoder); -dart.addTypeCaches(io._WindowsCodePageDecoder); -dart.setMethodSignature(io._WindowsCodePageDecoder, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoder.__proto__), - convert: dart.fnType(core.String, [dart.nullable(core.Object)]), - startChunkedConversion: dart.fnType(convert.ByteConversionSink, [dart.nullable(core.Object)]) -})); -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[132], 121, 22, "bytes"); - this[_sink$1].add(io._WindowsCodePageDecoder._decodeBytes(bytes)); - } -}; -(io._WindowsCodePageDecoderSink.new = function(_sink) { - if (_sink == null) dart.nullFailed(I[132], 115, 36, "_sink"); - this[_sink$1] = _sink; - io._WindowsCodePageDecoderSink.__proto__.new.call(this); - ; -}).prototype = io._WindowsCodePageDecoderSink.prototype; -dart.addTypeTests(io._WindowsCodePageDecoderSink); -dart.addTypeCaches(io._WindowsCodePageDecoderSink); -dart.setMethodSignature(io._WindowsCodePageDecoderSink, () => ({ - __proto__: dart.getMethods(io._WindowsCodePageDecoderSink.__proto__), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -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[110], 567, 61, "port"); - dart.throw(new core.UnsupportedError.new("RawSynchronousSocket.connectSync")); - } -}; -(io.RawSynchronousSocket.new = function() { - ; -}).prototype = io.RawSynchronousSocket.prototype; -dart.addTypeTests(io.RawSynchronousSocket); -dart.addTypeCaches(io.RawSynchronousSocket); -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[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); - let newBuffer = _native_typed_data.NativeUint8List.new(length); - newBuffer[$setRange](0, length, buffer, start); - return new io._BufferAndStart.new(newBuffer, 0); -}; -io._validateZLibWindowBits = function _validateZLibWindowBits(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[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[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[111], 559, 32, "strategy"); - let strategies = C[214] || CT.C214; - if (strategies[$indexOf](strategy) === -1) { - dart.throw(new core.ArgumentError.new("Unsupported 'strategy'")); - } -}; -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[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[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[121], 158, 58, "parameters"); - if (!dart.test(parameters[$containsKey]("enable"))) { - dart.throw(io._missingArgument("enable")); - } - let enable = dart.nullCheck(parameters[$_get]("enable"))[$toLowerCase](); - if (enable !== "true" && enable !== "false") { - dart.throw(io._invalidArgument("enable", enable)); - } - _http.HttpClient.enableTimelineLogging = enable === "true"; - return io._success(); -}; -io._getHttpProfileRequest = function _getHttpProfileRequest(parameters) { - if (parameters == null) dart.nullFailed(I[121], 171, 51, "parameters"); - if (!dart.test(parameters[$containsKey]("id"))) { - dart.throw(io._missingArgument("id")); - } - let id = core.int.tryParse(dart.nullCheck(parameters[$_get]("id"))); - if (id == null) { - dart.throw(io._invalidArgument("id", dart.nullCheck(parameters[$_get]("id")))); - } - let request = _http.HttpProfiler.getHttpProfileRequest(id); - if (request == null) { - dart.throw("Unable to find request with id: '" + dart.str(id) + "'"); - } - return convert.json.encode(request.toJson({ref: false})); -}; -io._socketProfilingEnabled = function _socketProfilingEnabled(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") { - dart.throw(io._invalidArgument("enabled", enable)); - } - enable === "true" ? io._SocketProfile.start() : io._SocketProfile.pause(); - } - 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[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()")); - } - io._ProcessUtils._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[125], 94, 21, "duration"); - let milliseconds = duration.inMilliseconds; - if (dart.notNull(milliseconds) < 0) { - dart.throw(new core.ArgumentError.new("sleep: duration cannot be negative")); - } - if (!dart.test(io._EmbedderConfig._maySleep)) { - dart.throw(new core.UnsupportedError.new("This embedder disallows calling dart:io's sleep()")); - } - io._ProcessUtils._sleep(milliseconds); -}; -io._setStdioFDs = function _setStdioFDs(stdin, stdout, 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; -}; -io.stdioType = function stdioType(object) { - if (io._StdStream.is(object)) { - object = object[_stream$0]; - } else if (dart.equals(object, io.stdout) || dart.equals(object, io.stderr)) { - let stdiofd = dart.equals(object, io.stdout) ? io._stdoutFD : io._stderrFD; - let type = io._StdIOUtils._getStdioHandleType(stdiofd); - if (io.OSError.is(type)) { - dart.throw(new io.FileSystemException.new("Failed to get type of stdio handle (fd " + dart.str(stdiofd) + ")", "", type)); - } - switch (type) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._FileStream.is(object)) { - return io.StdioType.file; - } - if (io.Socket.is(object)) { - let socketType = io._StdIOUtils._socketType(object); - if (socketType == null) return io.StdioType.other; - switch (socketType) { - case 0: - { - return io.StdioType.terminal; - } - case 1: - { - return io.StdioType.pipe; - } - case 2: - { - return io.StdioType.file; - } - } - } - if (io._IOSinkImpl.is(object)) { - try { - if (io._FileStreamConsumer.is(object[_target$0])) { - return io.StdioType.file; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - } - return io.StdioType.other; -}; -dart.copyProperties(io, { - set exitCode(code) { - if (code == null) dart.nullFailed(I[125], 69, 23, "code"); - core.ArgumentError.checkNotNull(core.int, code, "code"); - io._ProcessUtils._setExitCode(code); - }, - get exitCode() { - return io._ProcessUtils._getExitCode(); - }, - get pid() { - return io._ProcessUtils._pid(null); - }, - get stdin() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdin); - return t196$ == null ? io._stdin : t196$; - }, - get stdout() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stdout); - return t196$ == null ? io._stdout : t196$; - }, - get stderr() { - let t196, t196$; - t196$ = (t196 = io.IOOverrides.current, t196 == null ? null : t196.stderr); - return t196$ == null ? io._stderr : t196$; - } -}); -dart.defineLazy(io, { - /*io._successResponse*/get _successResponse() { - return 0; - }, - /*io._illegalArgumentResponse*/get _illegalArgumentResponse() { - return 1; - }, - /*io._osErrorResponse*/get _osErrorResponse() { - return 2; - }, - /*io._fileClosedResponse*/get _fileClosedResponse() { - return 3; - }, - /*io._errorResponseErrorType*/get _errorResponseErrorType() { - return 0; - }, - /*io._osErrorResponseErrorCode*/get _osErrorResponseErrorCode() { - return 1; - }, - /*io._osErrorResponseMessage*/get _osErrorResponseMessage() { - return 2; - }, - /*io._eNoEnt*/get _eNoEnt() { - return 2; - }, - /*io._errorFileNotFound*/get _errorFileNotFound() { - return 2; - }, - /*io._errorPathNotFound*/get _errorPathNotFound() { - return 3; - }, - /*io._errorInvalidDrive*/get _errorInvalidDrive() { - return 15; - }, - /*io._errorNoMoreFiles*/get _errorNoMoreFiles() { - return 18; - }, - /*io._errorBadNetpath*/get _errorBadNetpath() { - return 53; - }, - /*io._errorBadNetName*/get _errorBadNetName() { - return 67; - }, - /*io._errorBadPathName*/get _errorBadPathName() { - return 161; - }, - /*io._errorFilenameExedRange*/get _errorFilenameExedRange() { - return 206; - }, - /*io.zlib*/get zlib() { - return C[215] || CT.C215; - }, - /*io.gzip*/get gzip() { - return C[216] || CT.C216; - }, - /*io._blockSize*/get _blockSize() { - return 65536; - }, - /*io._versionMajor*/get _versionMajor() { - return 1; - }, - /*io._versionMinor*/get _versionMinor() { - return 6; - }, - /*io._tcpSocket*/get _tcpSocket() { - return "tcp"; - }, - /*io._udpSocket*/get _udpSocket() { - return "udp"; - }, - /*io._ioOverridesToken*/get _ioOverridesToken() { - return new core.Object.new(); - }, - /*io._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*io._nextServiceId*/get _nextServiceId() { - return 1; - }, - set _nextServiceId(value) { - if (value == null) dart.nullFailed(I[130], 7, 5, "_nextServiceId"); - }, - /*io._stdioHandleTypeTerminal*/get _stdioHandleTypeTerminal() { - return 0; - }, - /*io._stdioHandleTypePipe*/get _stdioHandleTypePipe() { - return 1; - }, - /*io._stdioHandleTypeFile*/get _stdioHandleTypeFile() { - return 2; - }, - /*io._stdioHandleTypeSocket*/get _stdioHandleTypeSocket() { - return 3; - }, - /*io._stdioHandleTypeOther*/get _stdioHandleTypeOther() { - return 4; - }, - /*io._stdioHandleTypeError*/get _stdioHandleTypeError() { - return 5; - }, - /*io._stdin*/get _stdin() { - return io._StdIOUtils._getStdioInputStream(io._stdinFD); - }, - /*io._stdout*/get _stdout() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stdoutFD)); - }, - /*io._stderr*/get _stderr() { - return io.Stdout.as(io._StdIOUtils._getStdioOutputStream(io._stderrFD)); - }, - /*io._stdinFD*/get _stdinFD() { - return 0; - }, - set _stdinFD(value) { - if (value == null) dart.nullFailed(I[131], 385, 5, "_stdinFD"); - }, - /*io._stdoutFD*/get _stdoutFD() { - return 1; - }, - set _stdoutFD(value) { - if (value == null) dart.nullFailed(I[131], 386, 5, "_stdoutFD"); - }, - /*io._stderrFD*/get _stderrFD() { - return 2; - }, - set _stderrFD(value) { - if (value == null) dart.nullFailed(I[131], 387, 5, "_stderrFD"); - }, - /*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() { - return isolate$._unsupported(); - } - 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 : true; - return isolate$._unsupported(); - } -}; -(isolate$._ReceivePort.new = function(debugName = "") { - if (debugName == null) dart.nullFailed(I[133], 102, 24, "debugName"); - isolate$._ReceivePort.__proto__.new.call(this); - ; -}).prototype = isolate$._ReceivePort.prototype; -dart.addTypeTests(isolate$._ReceivePort); -dart.addTypeCaches(isolate$._ReceivePort); -isolate$._ReceivePort[dart.implements] = () => [isolate$.ReceivePort]; -dart.setMethodSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getMethods(isolate$._ReceivePort.__proto__), - close: dart.fnType(dart.void, []), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}) -})); -dart.setGetterSignature(isolate$._ReceivePort, () => ({ - __proto__: dart.getGetters(isolate$._ReceivePort.__proto__), - sendPort: isolate$.SendPort -})); -dart.setLibraryUri(isolate$._ReceivePort, I[134]); -var message$10 = dart.privateName(isolate$, "IsolateSpawnException.message"); -isolate$.IsolateSpawnException = class IsolateSpawnException extends core.Object { - get message() { - return this[message$10]; - } - 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[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[134]); -dart.setFieldSignature(isolate$.IsolateSpawnException, () => ({ - __proto__: dart.getFields(isolate$.IsolateSpawnException.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(isolate$.IsolateSpawnException, ['toString']); -var controlPort$ = dart.privateName(isolate$, "Isolate.controlPort"); -var pauseCapability$ = dart.privateName(isolate$, "Isolate.pauseCapability"); -var terminateCapability$ = dart.privateName(isolate$, "Isolate.terminateCapability"); -var _pause = dart.privateName(isolate$, "_pause"); -isolate$.Isolate = class Isolate extends core.Object { - get controlPort() { - return this[controlPort$]; - } - set controlPort(value) { - super.controlPort = value; - } - get pauseCapability() { - return this[pauseCapability$]; - } - set pauseCapability(value) { - super.pauseCapability = value; - } - get terminateCapability() { - return this[terminateCapability$]; - } - set terminateCapability(value) { - super.terminateCapability = value; - } - static get packageRoot() { - return isolate$._unsupported(); - } - get debugName() { - return isolate$._unsupported(); - } - 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[133], 29, 45, "packageUri"); - return isolate$._unsupported(); - } - static spawn(T, entryPoint, message, opts) { - 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[133], 33, 17, "paused"); - let errorsAreFatal = opts && 'errorsAreFatal' in opts ? opts.errorsAreFatal : true; - 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[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[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[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[133], 49, 16, "automaticPackageResolution"); - let debugName = opts && 'debugName' in opts ? opts.debugName : null; - return isolate$._unsupported(); - } - pause(resumeCapability = null) { - resumeCapability == null ? resumeCapability = isolate$.Capability.new() : null; - this[_pause](resumeCapability); - return resumeCapability; - } - [_pause](resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 54, 26, "resumeCapability"); - return isolate$._unsupported(); - } - resume(resumeCapability) { - if (resumeCapability == null) dart.nullFailed(I[133], 57, 26, "resumeCapability"); - return isolate$._unsupported(); - } - addOnExitListener(responsePort, opts) { - 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[133], 64, 38, "responsePort"); - return isolate$._unsupported(); - } - setErrorsFatal(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[133], 70, 18, "priority"); - return isolate$._unsupported(); - } - ping(responsePort, opts) { - 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[133], 73, 34, "priority"); - return isolate$._unsupported(); - } - addErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 77, 34, "port"); - return isolate$._unsupported(); - } - removeErrorListener(port) { - if (port == null) dart.nullFailed(I[133], 80, 37, "port"); - return isolate$._unsupported(); - } - get errors() { - let controller = async.StreamController.broadcast({sync: true}); - let port = null; - function handleError(message) { - let listMessage = T$.ListOfObjectN().as(message); - let errorDescription = core.String.as(listMessage[$_get](0)); - let stackDescription = core.String.as(listMessage[$_get](1)); - let error = new isolate$.RemoteError.new(errorDescription, stackDescription); - controller.addError(error, error.stackTrace); - } - dart.fn(handleError, T$.ObjectNTovoid()); - controller.onListen = dart.fn(() => { - let receivePort = isolate$.RawReceivePort.new(handleError); - port = receivePort; - this.addErrorListener(receivePort.sendPort); - }, T$.VoidTovoid()); - controller.onCancel = dart.fn(() => { - let listenPort = dart.nullCheck(port); - port = null; - this.removeErrorListener(listenPort.sendPort); - listenPort.close(); - }, 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[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; - this[pauseCapability$] = pauseCapability; - this[terminateCapability$] = terminateCapability; - ; -}).prototype = isolate$.Isolate.prototype; -dart.addTypeTests(isolate$.Isolate); -dart.addTypeCaches(isolate$.Isolate); -dart.setMethodSignature(isolate$.Isolate, () => ({ - __proto__: dart.getMethods(isolate$.Isolate.__proto__), - pause: dart.fnType(isolate$.Capability, [], [dart.nullable(isolate$.Capability)]), - [_pause]: dart.fnType(dart.void, [isolate$.Capability]), - resume: dart.fnType(dart.void, [isolate$.Capability]), - addOnExitListener: dart.fnType(dart.void, [isolate$.SendPort], {response: dart.nullable(core.Object)}, {}), - removeOnExitListener: dart.fnType(dart.void, [isolate$.SendPort]), - setErrorsFatal: dart.fnType(dart.void, [core.bool]), - kill: dart.fnType(dart.void, [], {priority: core.int}, {}), - ping: dart.fnType(dart.void, [isolate$.SendPort], {priority: core.int, response: dart.nullable(core.Object)}, {}), - 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.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; - }, - /*isolate$.Isolate.beforeNextEvent*/get beforeNextEvent() { - return 1; - } -}, false); -isolate$.SendPort = class SendPort extends core.Object {}; -(isolate$.SendPort.new = function() { - ; -}).prototype = isolate$.SendPort.prototype; -dart.addTypeTests(isolate$.SendPort); -dart.addTypeCaches(isolate$.SendPort); -isolate$.SendPort[dart.implements] = () => [isolate$.Capability]; -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[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; -isolate$.ReceivePort.prototype[dart.isStream] = true; -dart.addTypeTests(isolate$.ReceivePort); -dart.addTypeCaches(isolate$.ReceivePort); -isolate$.ReceivePort[dart.implements] = () => [async.Stream]; -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[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.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 { - get stackTrace() { - return this[stackTrace$0]; - } - 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[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); - ; -}).prototype = isolate$.RemoteError.prototype; -dart.addTypeTests(isolate$.RemoteError); -dart.addTypeCaches(isolate$.RemoteError); -isolate$.RemoteError[dart.implements] = () => [core.Error]; -dart.setLibraryUri(isolate$.RemoteError, I[134]); -dart.setFieldSignature(isolate$.RemoteError, () => ({ - __proto__: dart.getFields(isolate$.RemoteError.__proto__), - [_description]: dart.finalFieldType(core.String), - stackTrace: dart.finalFieldType(core.StackTrace) -})); -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[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.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.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 { - 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[136], 329, 20, "_dartObj"); - this[_dartObj$] = _dartObj; - ; -}).prototype = js._DartObject.prototype; -dart.addTypeTests(js._DartObject); -dart.addTypeCaches(js._DartObject); -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[136], 57, 34, "data"); - let _convertedObjects = new _js_helper.IdentityMap.new(); - function _convert(o) { - if (dart.test(_convertedObjects[$containsKey](o))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return js._convertToJS(o); - } - } - dart.fn(_convert, T$0.ObjectNTodynamic()); - return _convert(data); - } - static new(constructor, $arguments = null) { - 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[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[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[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[136], 85, 30, "property"); - if (!(typeof property == 'string') && !(typeof property == 'number')) { - dart.throw(new core.ArgumentError.new("property is not a String or num")); - } - return js._convertToDart(this[_jsObject$][property]); - } - _set(property, value$) { - let value = value$; - 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")); - } - this[_jsObject$][property] = js._convertToJS(value); - return value$; - } - get hashCode() { - return 0; - } - _equals(other) { - if (other == null) return false; - return js.JsObject.is(other) && this[_jsObject$] === other[_jsObject$]; - } - hasProperty(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[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[136], 121, 30, "type"); - return this[_jsObject$] instanceof js._convertToJS(type); - } - toString() { - try { - return String(this[_jsObject$]); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - return super[$toString](); - } else - throw e$; - } - } - callMethod(method, args = null) { - 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[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())); - } - return js._convertToDart(fn.apply(this[_jsObject$], args)); - } -}; -(js.JsObject._fromJs = function(_jsObject) { - if (_jsObject == null) dart.nullFailed(I[136], 27, 25, "_jsObject"); - this[_jsObject$] = _jsObject; - 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); -dart.setMethodSignature(js.JsObject, () => ({ - __proto__: dart.getMethods(js.JsObject.__proto__), - _get: dart.fnType(dart.dynamic, [core.Object]), - _set: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - hasProperty: dart.fnType(core.bool, [core.Object]), - deleteProperty: dart.fnType(dart.void, [core.Object]), - instanceof: dart.fnType(core.bool, [js.JsFunction]), - callMethod: dart.fnType(dart.dynamic, [core.Object], [dart.nullable(core.List)]) -})); -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) -})); -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[136], 151, 40, "f"); - return new js.JsFunction._fromJs(function() { - let args = [js._convertToDart(this)]; - for (let arg of arguments) { - args.push(js._convertToDart(arg)); - } - 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[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[136], 167, 29, "jsObject"); - js.JsFunction.__proto__._fromJs.call(this, jsObject); - ; -}).prototype = js.JsFunction.prototype; -dart.addTypeTests(js.JsFunction); -dart.addTypeCaches(js.JsFunction); -dart.setMethodSignature(js.JsFunction, () => ({ - __proto__: dart.getMethods(js.JsFunction.__proto__), - apply: dart.fnType(dart.dynamic, [core.List], {thisArg: dart.dynamic}, {}) -})); -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 __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[138], 175, 7, "property"); - super._set(property, value); - return value$; - } - }; - (JsObject_ListMixin$36._fromJs = function(_jsObject) { - JsObject_ListMixin$36.__proto__._fromJs.call(this, _jsObject); - }).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[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[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[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)); - } - if (dart.notNull(end) < dart.notNull(start) || dart.notNull(end) > dart.notNull(length)) { - dart.throw(new core.RangeError.range(end, start, length)); - } - } - static new() { - return new (js.JsArray$(E))._fromJs([]); - } - static ['_#new#tearOff'](E) { - return js.JsArray$(E).new(); - } - static from(other) { - 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[136], 212, 24, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - return E.as(super._get(index)); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[136], 220, 28, "index"); - if (core.int.is(index)) { - this[_checkIndex](index); - } - super._set(index, value); - return value$; - } - get length() { - let len = this[_jsObject$].length; - if (typeof len === "number" && len >>> 0 === len) { - return len; - } - dart.throw(new core.StateError.new("Bad JsArray length")); - } - set length(length) { - if (length == null) dart.nullFailed(I[136], 240, 23, "length"); - super._set("length", length); - } - add(value) { - E.as(value); - this.callMethod("push", [value]); - } - addAll(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[136], 258, 19, "index"); - E.as(element); - this[_checkInsertIndex](index); - this.callMethod("splice", [index, 0, element]); - } - removeAt(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])); - } - removeLast() { - if (this.length === 0) dart.throw(new core.RangeError.new(-1)); - return E.as(this.callMethod("pop")); - } - removeRange(start, 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 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 = (t200 = T$.JSArrayOfObjectN().of([start, length]), (() => { - t200[$addAll](iterable[$skip](skipCount)[$take](length)); - return t200; - })()); - this.callMethod("splice", args); - } - sort(compare = null) { - this.callMethod("sort", compare == null ? [] : [compare]); - } - } - (JsArray._fromJs = function(jsObject) { - if (jsObject == null) dart.nullFailed(I[136], 188, 26, "jsObject"); - JsArray.__proto__._fromJs.call(this, jsObject); - ; - }).prototype = JsArray.prototype; - dart.addTypeTests(JsArray); - JsArray.prototype[_is_JsArray_default] = true; - dart.addTypeCaches(JsArray); - dart.setMethodSignature(JsArray, () => ({ - __proto__: dart.getMethods(JsArray.__proto__), - [_checkIndex]: dart.fnType(dart.dynamic, [core.int]), - [_checkInsertIndex]: dart.fnType(dart.dynamic, [core.int]), - _get: dart.fnType(E, [core.Object]), - [$_get]: dart.fnType(E, [core.Object]), - _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, - [$length]: core.int - })); - dart.setSetterSignature(JsArray, () => ({ - __proto__: dart.getSetters(JsArray.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(JsArray, I[137]); - dart.defineExtensionMethods(JsArray, [ - '_get', - '_set', - 'add', - 'addAll', - 'insert', - 'removeAt', - 'removeLast', - 'removeRange', - 'setRange', - 'sort' - ]); - dart.defineExtensionAccessors(JsArray, ['length']); - return JsArray; -}); -js.JsArray = js.JsArray$(); -dart.addTypeTests(js.JsArray, _is_JsArray_default); -js._isBrowserType = function _isBrowserType(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) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (core.DateTime.is(o)) { - return _js_helper.Primitives.lazyAsJsDate(o); - } else if (js.JsObject.is(o)) { - return o[_jsObject$]; - } else if (core.Function.is(o)) { - 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[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[136], 348, 33, "f"); - let wrapper = function() { - let args = Array.prototype.map.call(arguments, js._convertToDart); - return js._convertToJS(f(...args)); - }; - js._dartProxies.set(wrapper, f); - return wrapper; -}; -js._convertToDart = function _convertToDart(o) { - if (o == null || typeof o == 'string' || typeof o == 'number' || typeof o == 'boolean' || dart.test(js._isBrowserType(o))) { - return o; - } else if (o instanceof Date) { - let ms = o.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(ms); - } 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[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[136], 383, 35, "o"); - if (typeof o == "function") { - return new js.JsFunction._fromJs(o); - } - if (o instanceof Array) { - return new js.JsArray._fromJs(o); - } - return new js.JsObject._fromJs(o); -}; -js._putIfAbsent = function _putIfAbsent(weakMap, o, 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); - weakMap.set(o, value); - } - return value; -}; -js.allowInterop = function allowInterop(F, 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) { - ret = function(...args) { - return dart.dcall(f, args); - }; - js._interopExpando._set(f, ret); - } - return ret; -}; -js.allowInteropCaptureThis = function allowInteropCaptureThis(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) { - ret = function(...arguments$) { - let args = [this]; - args.push.apply(args, arguments$); - return dart.dcall(f, args); - }; - js._interopCaptureThisExpando._set(f, ret); - } - return ret; -}; -dart.copyProperties(js, { - get context() { - return js._context; - } -}); -dart.defineLazy(js, { - /*js._context*/get _context() { - return js._wrapToDart(dart.global); - }, - /*js._dartProxies*/get _dartProxies() { - return new WeakMap(); - }, - /*js._jsProxies*/get _jsProxies() { - return new WeakMap(); - }, - /*js._interopExpando*/get _interopExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - set _interopExpando(value) { - if (value == null) dart.nullFailed(I[136], 407, 19, "_interopExpando"); - }, - /*js._interopCaptureThisExpando*/get _interopCaptureThisExpando() { - return new (T$.ExpandoOfFunction()).new(); - }, - 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 { - get isUndefined() { - return this[isUndefined$]; - } - 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[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[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._convertDataTree = function _convertDataTree(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))) { - return _convertedObjects[$_get](o); - } - if (core.Map.is(o)) { - let convertedMap = {}; - _convertedObjects[$_set](o, convertedMap); - for (let key of o[$keys]) { - convertedMap[key] = _convert(o[$_get](key)); - } - return convertedMap; - } else if (core.Iterable.is(o)) { - let convertedList = []; - _convertedObjects[$_set](o, convertedList); - convertedList[$addAll](o[$map](dart.dynamic, _convert)); - return convertedList; - } else { - return o; - } - } - dart.fn(_convert, T$.ObjectNToObjectN()); - return dart.nullCheck(_convert(data)); -}; -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[141], 56, 25, "o"); - if (name == null) dart.nullFailed(I[141], 56, 35, "name"); - return name in o; -}; -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(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$(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 T.as(o[method].apply(o, args)); -}; -js_util.instanceof = function $instanceof(o, type) { - if (type == null) dart.nullFailed(I[141], 165, 35, "type"); - return o instanceof type; -}; -js_util.callConstructor = function callConstructor(T, constr, $arguments) { - let t200; - if (constr == null) dart.nullFailed(I[141], 169, 29, "constr"); - if ($arguments == null) { - return T.as(new constr()); - } else { - _js_helper.assertInteropArgs($arguments); - } - if ($arguments instanceof Array) { - let argumentCount = $arguments.length; - switch (argumentCount) { - case 0: - { - return T.as(new constr()); - } - case 1: - { - let arg0 = $arguments[0]; - return T.as(new constr(arg0)); - } - case 2: - { - 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 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 T.as(new constr(arg0, arg1, arg2, arg3)); - } - } - } - let args = (t200 = [null], (() => { - t200[$addAll]($arguments); - return t200; - })()); - let factoryFunction = constr.bind.apply(constr, args); - String(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[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 => { - if (e == null) { - return completer.completeError(new js_util.NullRejectionException.__(e === undefined)); - } - return completer.completeError(core.Object.as(e)); - }, T$.dynamicTovoid()), 1); - 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[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))); - } - return Math.random() * max >>> 0; - } - nextDouble() { - return Math.random(); - } - nextBool() { - return Math.random() < 0.5; - } -}; -(math._JSRandom.new = function() { - ; -}).prototype = math._JSRandom.prototype; -dart.addTypeTests(math._JSRandom); -dart.addTypeCaches(math._JSRandom); -math._JSRandom[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._JSRandom, () => ({ - __proto__: dart.getMethods(math._JSRandom.__proto__), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) -})); -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; - let tmpHiHi = tmpHi - tmpHiLo; - let tmpLo = 55905 * this[_lo]; - let tmpLoLo = (tmpLo & 4294967295.0) >>> 0; - let tmpLoHi = tmpLo - tmpLoLo; - let newLo = tmpLoLo + tmpHiLo + this[_hi]; - 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[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); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - if ((max & max - 1) === 0) { - this[_nextState](); - return (this[_lo] & max - 1) >>> 0; - } - let rnd32 = null; - let result = null; - do { - this[_nextState](); - rnd32 = this[_lo]; - result = rnd32[$remainder](max)[$toInt](); - } while (dart.notNull(rnd32) - dart.notNull(result) + max >= 4294967296.0); - return result; - } - nextDouble() { - this[_nextState](); - let bits26 = (this[_lo] & (1 << 26) - 1) >>> 0; - this[_nextState](); - let bits27 = (this[_lo] & (1 << 27) - 1) >>> 0; - return (bits26 * 134217728 + bits27) / 9007199254740992.0; - } - nextBool() { - this[_nextState](); - return (this[_lo] & 1) === 0; - } -}; -(math._Random.new = function(seed) { - if (seed == null) dart.nullFailed(I[142], 131, 15, "seed"); - this[_lo] = 0; - this[_hi] = 0; - let empty_seed = 0; - if (dart.notNull(seed) < 0) { - empty_seed = -1; - } - do { - let low = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - low) / 4294967296.0)[$truncate](); - let high = (dart.notNull(seed) & 4294967295.0) >>> 0; - seed = ((dart.notNull(seed) - high) / 4294967296.0)[$truncate](); - let tmplow = low << 21 >>> 0; - let tmphigh = (high << 21 | low[$rightShift](11)) >>> 0; - tmplow = ((~low & 4294967295.0) >>> 0) + tmplow; - low = (tmplow & 4294967295.0) >>> 0; - high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](24); - tmplow = (low[$rightShift](24) | high << 8 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 265; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 265 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](14); - tmplow = (low[$rightShift](14) | high << 18 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low * 21; - low = (tmplow & 4294967295.0) >>> 0; - high = (high * 21 + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmphigh = high[$rightShift](28); - tmplow = (low[$rightShift](28) | high << 4 >>> 0) >>> 0; - low = (low ^ tmplow) >>> 0; - high = (high ^ tmphigh) >>> 0; - tmplow = low << 31 >>> 0; - tmphigh = (high << 31 | low[$rightShift](1)) >>> 0; - tmplow = tmplow + low; - low = (tmplow & 4294967295.0) >>> 0; - high = (high + tmphigh + ((tmplow - low) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - tmplow = this[_lo] * 1037; - this[_lo] = (tmplow & 4294967295.0) >>> 0; - this[_hi] = (this[_hi] * 1037 + ((tmplow - this[_lo]) / 4294967296)[$truncate]() & 4294967295.0) >>> 0; - this[_lo] = (this[_lo] ^ low) >>> 0; - this[_hi] = (this[_hi] ^ high) >>> 0; - } while (seed !== empty_seed); - if (this[_hi] === 0 && this[_lo] === 0) { - this[_lo] = 23063; - } - this[_nextState](); - this[_nextState](); - this[_nextState](); - this[_nextState](); -}).prototype = math._Random.prototype; -dart.addTypeTests(math._Random); -dart.addTypeCaches(math._Random); -math._Random[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._Random, () => ({ - __proto__: dart.getMethods(math._Random.__proto__), - [_nextState]: dart.fnType(dart.void, []), - nextInt: dart.fnType(core.int, [core.int]), - nextDouble: dart.fnType(core.double, []), - nextBool: dart.fnType(core.bool, []) -})); -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; - }, - /*math._Random._POW2_27_D*/get _POW2_27_D() { - return 134217728; - }, - /*math._Random._MASK32*/get _MASK32() { - return 4294967295.0; - } -}, false); -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[142], 280, 28, "start"); - if (length == null) dart.nullFailed(I[142], 280, 39, "length"); - crypto.getRandomValues(this[_buffer$0][$buffer][$asUint8List](start, length)); - } - nextBool() { - this[_getRandomBytes](0, 1); - return this[_buffer$0][$getUint8](0)[$isOdd]; - } - nextDouble() { - this[_getRandomBytes](1, 7); - this[_buffer$0][$setUint8](0, 63); - let highByte = this[_buffer$0][$getUint8](1); - this[_buffer$0][$setUint8](1, (dart.notNull(highByte) | 240) >>> 0); - let result = dart.notNull(this[_buffer$0][$getFloat64](0)) - 1.0; - if ((dart.notNull(highByte) & 16) !== 0) { - result = result + 1.1102230246251565e-16; - } - return result; - } - nextInt(max) { - if (max == null) dart.argumentError(max); - if (max <= 0 || max > 4294967296.0) { - dart.throw(new core.RangeError.new("max must be in range 0 < max ≤ 2^32, was " + dart.str(max))); - } - let byteCount = 1; - if (max > 255) { - byteCount = byteCount + 1; - if (max > 65535) { - byteCount = byteCount + 1; - if (max > 16777215) { - byteCount = byteCount + 1; - } - } - } - this[_buffer$0][$setUint32](0, 0); - let start = 4 - byteCount; - let randomLimit = math.pow(256, byteCount)[$toInt](); - while (true) { - this[_getRandomBytes](start, byteCount); - let random = this[_buffer$0][$getUint32](0); - if ((max & max - 1) === 0) { - return (dart.notNull(random) & max - 1) >>> 0; - } - let result = random[$remainder](max)[$toInt](); - if (dart.notNull(random) - result + max < randomLimit) { - return result; - } - } - } -}; -(math._JSSecureRandom.new = function() { - this[_buffer$0] = _native_typed_data.NativeByteData.new(8); - let crypto = self.crypto; - if (crypto != null) { - let getRandomValues = crypto.getRandomValues; - if (getRandomValues != null) { - return; - } - } - dart.throw(new core.UnsupportedError.new("No source of cryptographically secure random numbers available.")); -}).prototype = math._JSSecureRandom.prototype; -dart.addTypeTests(math._JSSecureRandom); -dart.addTypeCaches(math._JSSecureRandom); -math._JSSecureRandom[dart.implements] = () => [math.Random]; -dart.setMethodSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getMethods(math._JSSecureRandom.__proto__), - [_getRandomBytes]: dart.fnType(dart.void, [core.int, core.int]), - nextBool: dart.fnType(core.bool, []), - nextDouble: dart.fnType(core.double, []), - nextInt: dart.fnType(core.int, [core.int]) -})); -dart.setLibraryUri(math._JSSecureRandom, I[143]); -dart.setFieldSignature(math._JSSecureRandom, () => ({ - __proto__: dart.getFields(math._JSSecureRandom.__proto__), - [_buffer$0]: dart.finalFieldType(typed_data.ByteData) -})); -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 __t$PointOfT = () => (__t$PointOfT = dart.constFn(math.Point$(T)))(); - class Point extends core.Object { - get x() { - return this[x$2]; - } - set x(value) { - super.x = value; - } - get y() { - return this[y$2]; - } - 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) + ")"; - } - _equals(other) { - if (other == null) return false; - return T$0.PointOfnum().is(other) && this.x == other.x && this.y == other.y; - } - get hashCode() { - return _internal.SystemHash.hash2(dart.hashCode(this.x), dart.hashCode(this.y)); - } - ['+'](other) { - __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) { - __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[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) { - __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) { - __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[144], 19, 17, "x"); - if (y == null) dart.nullFailed(I[144], 19, 22, "y"); - this[x$2] = x; - this[y$2] = y; - ; - }).prototype = Point.prototype; - dart.addTypeTests(Point); - Point.prototype[_is_Point_default] = true; - dart.addTypeCaches(Point); - dart.setMethodSignature(Point, () => ({ - __proto__: dart.getMethods(Point.__proto__), - '+': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '-': dart.fnType(math.Point$(T), [dart.nullable(core.Object)]), - '*': dart.fnType(math.Point$(T), [core.num]), - distanceTo: dart.fnType(core.double, [dart.nullable(core.Object)]), - squaredDistanceTo: dart.fnType(T, [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(Point, () => ({ - __proto__: dart.getGetters(Point.__proto__), - magnitude: core.double - })); - dart.setLibraryUri(Point, I[143]); - dart.setFieldSignature(Point, () => ({ - __proto__: dart.getFields(Point.__proto__), - x: dart.finalFieldType(T), - y: dart.finalFieldType(T) - })); - dart.defineExtensionMethods(Point, ['toString', '_equals']); - dart.defineExtensionAccessors(Point, ['hashCode']); - return Point; -}); -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[222] || CT.C222 : new math._Random.new(seed); - } - static ['_#new#tearOff'](seed = null) { - return math.Random.new(seed); - } - static secure() { - 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.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 new math._JSSecureRandom.new(); - } -}, false); -const _is__RectangleBase_default = Symbol('_is__RectangleBase_default'); -math._RectangleBase$ = dart.generic(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])); - } - get bottom() { - return T.as(dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - toString() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - _equals(other) { - if (other == null) return false; - 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 _internal.SystemHash.hash4(dart.hashCode(this[$left]), dart.hashCode(this[$top]), dart.hashCode(this[$right]), dart.hashCode(this[$bottom])); - } - intersection(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 (__t$RectangleOfT()).new(x0, y0, T.as(x1 - x0), T.as(y1 - y0)); - } - } - return null; - } - intersects(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) { - __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 (__t$RectangleOfT()).new(left, top, T.as(right - left), T.as(bottom - top)); - } - containsRectangle(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[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 (__t$PointOfT()).new(this[$left], this[$top]); - } - get topRight() { - return new (__t$PointOfT()).new(T.as(dart.notNull(this[$left]) + dart.notNull(this[$width])), this[$top]); - } - get bottomRight() { - 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 (__t$PointOfT()).new(this[$left], T.as(dart.notNull(this[$top]) + dart.notNull(this[$height]))); - } - } - (_RectangleBase.new = function() { - ; - }).prototype = _RectangleBase.prototype; - dart.addTypeTests(_RectangleBase); - _RectangleBase.prototype[_is__RectangleBase_default] = true; - dart.addTypeCaches(_RectangleBase); - dart.setMethodSignature(_RectangleBase, () => ({ - __proto__: dart.getMethods(_RectangleBase.__proto__), - intersection: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(T)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(T), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) - })); - dart.setGetterSignature(_RectangleBase, () => ({ - __proto__: dart.getGetters(_RectangleBase.__proto__), - right: T, - [$right]: T, - bottom: T, - [$bottom]: T, - topLeft: math.Point$(T), - [$topLeft]: math.Point$(T), - topRight: math.Point$(T), - [$topRight]: math.Point$(T), - bottomRight: math.Point$(T), - [$bottomRight]: math.Point$(T), - bottomLeft: math.Point$(T), - [$bottomLeft]: math.Point$(T) - })); - dart.setLibraryUri(_RectangleBase, I[143]); - dart.defineExtensionMethods(_RectangleBase, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' - ]); - dart.defineExtensionAccessors(_RectangleBase, [ - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - 'bottomLeft' - ]); - return _RectangleBase; -}); -math._RectangleBase = math._RectangleBase$(); -dart.addTypeTests(math._RectangleBase, _is__RectangleBase_default); -var left$ = dart.privateName(math, "Rectangle.left"); -var top$ = dart.privateName(math, "Rectangle.top"); -var width$ = dart.privateName(math, "Rectangle.width"); -var height$ = dart.privateName(math, "Rectangle.height"); -const _is_Rectangle_default = Symbol('_is_Rectangle_default'); -math.Rectangle$ = dart.generic(T => { - class Rectangle extends math._RectangleBase$(T) { - get left() { - return this[left$]; - } - set left(value) { - super.left = value; - } - get top() { - return this[top$]; - } - set top(value) { - super.top = value; - } - get width() { - return this[width$]; - } - set width(value) { - super.width = value; - } - get height() { - return this[height$]; - } - 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[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[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 ? 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.setStaticMethodSignature(Rectangle, () => ['fromPoints']); - dart.setLibraryUri(Rectangle, I[143]); - dart.setFieldSignature(Rectangle, () => ({ - __proto__: dart.getFields(Rectangle.__proto__), - left: dart.finalFieldType(T), - top: dart.finalFieldType(T), - width: dart.finalFieldType(T), - height: dart.finalFieldType(T) - })); - dart.defineExtensionAccessors(Rectangle, ['left', 'top', 'width', 'height']); - return Rectangle; -}); -math.Rectangle = math.Rectangle$(); -dart.addTypeTests(math.Rectangle, _is_Rectangle_default); -var left$0 = dart.privateName(math, "MutableRectangle.left"); -var top$0 = dart.privateName(math, "MutableRectangle.top"); -var _width = dart.privateName(math, "_width"); -var _height = dart.privateName(math, "_height"); -const _is_MutableRectangle_default = Symbol('_is_MutableRectangle_default'); -math.MutableRectangle$ = dart.generic(T => { - class MutableRectangle extends math._RectangleBase$(T) { - get left() { - 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[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[145], 281, 15, "width"); - if (dart.notNull(width) < 0) width = math._clampToZero(T, width); - this[_width] = width; - } - get height() { - return this[_height]; - } - set height(height) { - T.as(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[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] = 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; - dart.addTypeTests(MutableRectangle); - 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, - [$width]: T, - height: T, - [$height]: T - })); - dart.setSetterSignature(MutableRectangle, () => ({ - __proto__: dart.getSetters(MutableRectangle.__proto__), - width: dart.nullable(core.Object), - [$width]: dart.nullable(core.Object), - height: dart.nullable(core.Object), - [$height]: dart.nullable(core.Object) - })); - dart.setLibraryUri(MutableRectangle, I[143]); - dart.setFieldSignature(MutableRectangle, () => ({ - __proto__: dart.getFields(MutableRectangle.__proto__), - left: dart.fieldType(T), - top: dart.fieldType(T), - [_width]: dart.fieldType(T), - [_height]: dart.fieldType(T) - })); - dart.defineExtensionAccessors(MutableRectangle, ['left', 'top', 'width', 'height']); - return MutableRectangle; -}); -math.MutableRectangle = math.MutableRectangle$(); -dart.addTypeTests(math.MutableRectangle, _is_MutableRectangle_default); -math.min = function min(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.min(a, b); -}; -math.max = function max(T, a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.max(a, b); -}; -math.atan2 = function atan2(a, b) { - if (a == null) dart.argumentError(a); - if (b == null) dart.argumentError(b); - return Math.atan2(a, b); -}; -math.pow = function pow(x, exponent) { - if (x == null) dart.argumentError(x); - if (exponent == null) dart.argumentError(exponent); - return Math.pow(x, exponent); -}; -math.sin = function sin(radians) { - if (radians == null) dart.argumentError(radians); - return Math.sin(radians); -}; -math.cos = function cos(radians) { - if (radians == null) dart.argumentError(radians); - return Math.cos(radians); -}; -math.tan = function tan(radians) { - if (radians == null) dart.argumentError(radians); - return Math.tan(radians); -}; -math.acos = function acos(x) { - if (x == null) dart.argumentError(x); - return Math.acos(x); -}; -math.asin = function asin(x) { - if (x == null) dart.argumentError(x); - return Math.asin(x); -}; -math.atan = function atan(x) { - if (x == null) dart.argumentError(x); - return Math.atan(x); -}; -math.sqrt = function sqrt(x) { - if (x == null) dart.argumentError(x); - return Math.sqrt(x); -}; -math.exp = function exp(x) { - if (x == null) dart.argumentError(x); - return Math.exp(x); -}; -math.log = function log$(x) { - if (x == null) dart.argumentError(x); - return Math.log(x); -}; -math._clampToZero = function _clampToZero(T, value) { - 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, { - /*math._POW2_32*/get _POW2_32() { - return 4294967296.0; - }, - /*math.e*/get e() { - return 2.718281828459045; - }, - /*math.ln10*/get ln10() { - return 2.302585092994046; - }, - /*math.ln2*/get ln2() { - return 0.6931471805599453; - }, - /*math.log2e*/get log2e() { - return 1.4426950408889634; - }, - /*math.log10e*/get log10e() { - return 0.4342944819032518; - }, - /*math.pi*/get pi() { - return 3.141592653589793; - }, - /*math.sqrt1_2*/get sqrt1_2() { - return 0.7071067811865476; - }, - /*math.sqrt2*/get sqrt2() { - return 1.4142135623730951; - } -}, false); -var _data$ = dart.privateName(typed_data, "_data"); -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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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, 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)]), - [$asInt8List]: dart.fnType(typed_data.Int8List, [], [core.int, dart.nullable(core.int)]), - asUint8ClampedList: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - [$asUint8ClampedList]: dart.fnType(typed_data.Uint8ClampedList, [], [core.int, dart.nullable(core.int)]), - asUint16List: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - [$asUint16List]: dart.fnType(typed_data.Uint16List, [], [core.int, dart.nullable(core.int)]), - asInt16List: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - [$asInt16List]: dart.fnType(typed_data.Int16List, [], [core.int, dart.nullable(core.int)]), - asUint32List: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - [$asUint32List]: dart.fnType(typed_data.Uint32List, [], [core.int, dart.nullable(core.int)]), - asInt32List: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - [$asInt32List]: dart.fnType(typed_data.Int32List, [], [core.int, dart.nullable(core.int)]), - asUint64List: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - [$asUint64List]: dart.fnType(typed_data.Uint64List, [], [core.int, dart.nullable(core.int)]), - asInt64List: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - [$asInt64List]: dart.fnType(typed_data.Int64List, [], [core.int, dart.nullable(core.int)]), - asInt32x4List: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - [$asInt32x4List]: dart.fnType(typed_data.Int32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat32List: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32List]: dart.fnType(typed_data.Float32List, [], [core.int, dart.nullable(core.int)]), - asFloat64List: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64List]: dart.fnType(typed_data.Float64List, [], [core.int, dart.nullable(core.int)]), - asFloat32x4List: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - [$asFloat32x4List]: dart.fnType(typed_data.Float32x4List, [], [core.int, dart.nullable(core.int)]), - asFloat64x2List: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - [$asFloat64x2List]: dart.fnType(typed_data.Float64x2List, [], [core.int, dart.nullable(core.int)]), - 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__), - lengthInBytes: core.int, - [$lengthInBytes]: core.int -})); -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, [ - 'asUint8List', - 'asInt8List', - 'asUint8ClampedList', - 'asUint16List', - 'asInt16List', - 'asUint32List', - 'asInt32List', - 'asUint64List', - 'asInt64List', - 'asInt32x4List', - 'asFloat32List', - 'asFloat64List', - 'asFloat32x4List', - 'asFloat64x2List', - 'asByteData' -]); -dart.defineExtensionAccessors(typed_data._UnmodifiableByteBufferView, ['lengthInBytes']); -var _unsupported$ = dart.privateName(typed_data, "_unsupported"); -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[62], 266, 19, "byteOffset"); - return this[_data$][$getInt8](byteOffset); - } - setInt8(byteOffset, 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[62], 270, 20, "byteOffset"); - return this[_data$][$getUint8](byteOffset); - } - setUint8(byteOffset, 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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get 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[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, 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]), - [$setInt8]: dart.fnType(dart.void, [core.int, core.int]), - getUint8: dart.fnType(core.int, [core.int]), - [$getUint8]: dart.fnType(core.int, [core.int]), - setUint8: dart.fnType(dart.void, [core.int, core.int]), - [$setUint8]: dart.fnType(dart.void, [core.int, core.int]), - getInt16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint16: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint16]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint16: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint16]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint32: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint32]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint32: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint32]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getInt64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getInt64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setInt64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setInt64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getUint64: dart.fnType(core.int, [core.int], [typed_data.Endian]), - [$getUint64]: dart.fnType(core.int, [core.int], [typed_data.Endian]), - setUint64: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - [$setUint64]: dart.fnType(dart.void, [core.int, core.int], [typed_data.Endian]), - getFloat32: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat32]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat32: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$setFloat32]: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - getFloat64: dart.fnType(core.double, [core.int], [typed_data.Endian]), - [$getFloat64]: dart.fnType(core.double, [core.int], [typed_data.Endian]), - setFloat64: dart.fnType(dart.void, [core.int, core.double], [typed_data.Endian]), - [$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__), - elementSizeInBytes: core.int, - [$elementSizeInBytes]: core.int, - offsetInBytes: core.int, - [$offsetInBytes]: core.int, - lengthInBytes: core.int, - [$lengthInBytes]: core.int, - buffer: typed_data.ByteBuffer, - [$buffer]: typed_data.ByteBuffer -})); -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, [ - 'getInt8', - 'setInt8', - 'getUint8', - 'setUint8', - 'getInt16', - 'setInt16', - 'getUint16', - 'setUint16', - 'getInt32', - 'setInt32', - 'getUint32', - 'setUint32', - 'getInt64', - 'setInt64', - 'getUint64', - 'setUint64', - 'getFloat32', - 'setFloat32', - 'getFloat64', - 'setFloat64' -]); -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'); -typed_data._UnmodifiableListMixin$ = dart.generic((N, L, TD) => { - class _UnmodifiableListMixin extends core.Object { - get [_data$]() { - return TD.as(this[_list$2]); - } - get length() { - return this[_list$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[62], 343, 21, "index"); - return this[_list$2][$_get](index); - } - get elementSizeInBytes() { - return this[_data$][$elementSizeInBytes]; - } - get offsetInBytes() { - return this[_data$][$offsetInBytes]; - } - get lengthInBytes() { - return this[_data$][$lengthInBytes]; - } - get buffer() { - return new typed_data._UnmodifiableByteBufferView.new(this[_data$][$buffer]); - } - sublist(start, end = null) { - 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); - result[$setRange](0, sublistLength, this[_list$2], start); - return result; - } - } - (_UnmodifiableListMixin.new = function() { - ; - }).prototype = _UnmodifiableListMixin.prototype; - dart.addTypeTests(_UnmodifiableListMixin); - _UnmodifiableListMixin.prototype[_is__UnmodifiableListMixin_default] = true; - dart.addTypeCaches(_UnmodifiableListMixin); - dart.setMethodSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getMethods(_UnmodifiableListMixin.__proto__), - _get: dart.fnType(N, [core.int]), - sublist: dart.fnType(L, [core.int], [dart.nullable(core.int)]) - })); - dart.setGetterSignature(_UnmodifiableListMixin, () => ({ - __proto__: dart.getGetters(_UnmodifiableListMixin.__proto__), - [_data$]: TD, - length: core.int, - elementSizeInBytes: core.int, - offsetInBytes: core.int, - lengthInBytes: core.int, - buffer: typed_data.ByteBuffer - })); - 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"); -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 { - 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[62], 375, 29, "length"); - return _native_typed_data.NativeUint8List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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$ { - 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[62], 388, 28, "length"); - return _native_typed_data.NativeInt8List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 401, 36, "length"); - return _native_typed_data.NativeUint8ClampedList.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 414, 30, "length"); - return _native_typed_data.NativeUint16List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 427, 29, "length"); - return _native_typed_data.NativeInt16List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 440, 30, "length"); - return _native_typed_data.NativeUint32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 453, 29, "length"); - return _native_typed_data.NativeInt32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 466, 30, "length"); - return typed_data.Uint64List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 479, 29, "length"); - return typed_data.Int64List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 492, 31, "length"); - return new _native_typed_data.NativeInt32x4List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 505, 33, "length"); - return new _native_typed_data.NativeFloat32x4List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 518, 33, "length"); - return new _native_typed_data.NativeFloat64x2List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 531, 31, "length"); - return _native_typed_data.NativeFloat32List.new(length); - } -}; -(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.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[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, [ - 'length', - 'elementSizeInBytes', - 'offsetInBytes', - 'lengthInBytes', - 'buffer' -]); -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 { - 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[62], 544, 31, "length"); - return _native_typed_data.NativeFloat64List.new(length); - } -}; -(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.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[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, [ - '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[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[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[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() { - if (indexed_db._KeyRangeFactoryProvider._cachedClass != null) return indexed_db._KeyRangeFactoryProvider._cachedClass; - return indexed_db._KeyRangeFactoryProvider._cachedClass = indexed_db._KeyRangeFactoryProvider._uncachedClass(); - } - static _uncachedClass() { - return window.webkitIDBKeyRange || window.mozIDBKeyRange || window.msIDBKeyRange || window.IDBKeyRange; - } - static _translateKey(idbkey) { - return idbkey; - } - static _only(cls, value) { - return cls.only(value); - } - static _lowerBound(cls, bound, open) { - return cls.lowerBound(bound, open); - } - static _upperBound(cls, bound, open) { - return cls.upperBound(bound, open); - } - 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.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(value) {} -}, false); -indexed_db.Cursor = class Cursor extends _interceptors.JavaScriptObject { - [S.$delete]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$update](value) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._update](value)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$next](key = null) { - if (key == null) { - this.continue(); - } else { - this.continue(key); - } - } - static ['_#_#tearOff']() { - return indexed_db.Cursor.__(); - } - get [S.$direction]() { - return this.direction; - } - get [S.$key]() { - return this.key; - } - get [S.$primaryKey]() { - return this.primaryKey; - } - get [S.$source]() { - return this.source; - } - [S.$advance](...args) { - return this.advance.apply(this, args); - } - [S.$continuePrimaryKey](...args) { - return this.continuePrimaryKey.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S._update](value) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._update_1](value_1); - } - [S._update_1](...args) { - return this.update.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Cursor); -dart.addTypeCaches(indexed_db.Cursor); -dart.setMethodSignature(indexed_db.Cursor, () => ({ - __proto__: dart.getMethods(indexed_db.Cursor.__proto__), - [S.$delete]: dart.fnType(async.Future, []), - [$update]: dart.fnType(async.Future, [dart.dynamic]), - [S.$next]: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - [S.$advance]: dart.fnType(dart.void, [core.int]), - [S.$continuePrimaryKey]: dart.fnType(dart.void, [core.Object, core.Object]), - [S._delete$1]: dart.fnType(indexed_db.Request, []), - [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), - [S.$key]: dart.nullable(core.Object), - [S.$primaryKey]: dart.nullable(core.Object), - [S.$source]: dart.nullable(core.Object) -})); -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]); - } - get [S._get_value]() { - return this.value; - } -}; -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[148]); -dart.registerExtension("IDBCursorWithValue", indexed_db.CursorWithValue); -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[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[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); - } - [S.$dispatchEvent](...args) { - return this.dispatchEvent.apply(this, args); - } - [S._removeEventListener](...args) { - return this.removeEventListener.apply(this, args); - } -}; -(html$.EventTarget._created = function() { - html$.EventTarget.__proto__.new.call(this); - ; -}).prototype = html$.EventTarget.prototype; -dart.addTypeTests(html$.EventTarget); -dart.addTypeCaches(html$.EventTarget); -dart.setMethodSignature(html$.EventTarget, () => ({ - __proto__: dart.getMethods(html$.EventTarget.__proto__), - [S.$addEventListener]: 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)]), - [S._addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [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[150]); -dart.registerExtension("EventTarget", html$.EventTarget); -indexed_db.Database = class Database extends html$.EventTarget { - [S.$createObjectStore](name, opts) { - 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(); - if (keyPath != null) { - options[$_set]("keyPath", keyPath); - } - if (autoIncrement != null) { - options[$_set]("autoIncrement", autoIncrement); - } - return this[S._createObjectStore](name, options); - } - [S.$transaction](storeName_OR_storeNames, 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[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[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)); - } - let storeNames_1 = html_common.convertDartToNative_StringArray(storeNames); - return this[S._transaction](storeNames_1, mode); - } - [S.$transactionStores](storeNames, 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)); - } - return this[S._transaction](storeNames, mode); - } - [S._transaction](...args) { - return this.transaction.apply(this, args); - } - static ['_#_#tearOff']() { - return indexed_db.Database.__(); - } - get [$name]() { - return this.name; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - get [S.$version]() { - return this.version; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S._createObjectStore](name, options = null) { - 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); - } - return this[S._createObjectStore_2](name); - } - [S._createObjectStore_1](...args) { - return this.createObjectStore.apply(this, args); - } - [S._createObjectStore_2](...args) { - return this.createObjectStore.apply(this, args); - } - [S.$deleteObjectStore](...args) { - return this.deleteObjectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Database.abortEvent.forTarget(this); - } - get [S.$onClose]() { - return indexed_db.Database.closeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Database.errorEvent.forTarget(this); - } - get [S.$onVersionChange]() { - return indexed_db.Database.versionChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(indexed_db.Database); -dart.addTypeCaches(indexed_db.Database); -dart.setMethodSignature(indexed_db.Database, () => ({ - __proto__: dart.getMethods(indexed_db.Database.__proto__), - [S.$createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], {autoIncrement: dart.nullable(core.bool), keyPath: dart.dynamic}, {}), - [S.$transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, core.String]), - [S.$transactionStore]: dart.fnType(indexed_db.Transaction, [core.String, core.String]), - [S.$transactionList]: dart.fnType(indexed_db.Transaction, [core.List$(core.String), core.String]), - [S.$transactionStores]: dart.fnType(indexed_db.Transaction, [html$.DomStringList, core.String]), - [S._transaction]: dart.fnType(indexed_db.Transaction, [dart.dynamic, dart.dynamic]), - [S.$close]: dart.fnType(dart.void, []), - [S._createObjectStore]: dart.fnType(indexed_db.ObjectStore, [core.String], [dart.nullable(core.Map)]), - [S._createObjectStore_1]: dart.fnType(indexed_db.ObjectStore, [dart.dynamic, dart.dynamic]), - [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), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$version]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onVersionChange]: async.Stream$(indexed_db.VersionChangeEvent) -})); -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[224] || CT.C224; - }, - /*indexed_db.Database.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*indexed_db.Database.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*indexed_db.Database.versionChangeEvent*/get versionChangeEvent() { - return C[227] || CT.C227; - } -}, false); -dart.registerExtension("IDBDatabase", indexed_db.Database); -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[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; - if (version == null !== (onUpgradeNeeded == null)) { - return T$0.FutureOfDatabase().error(new core.ArgumentError.new("version and onUpgradeNeeded must be specified together")); - } - try { - let request = null; - if (version != null) { - request = this[S._open](name, version); - } else { - request = this[S._open](name); - } - if (onUpgradeNeeded != null) { - request[S.$onUpgradeNeeded].listen(onUpgradeNeeded); - } - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - return indexed_db._completeRequest(indexed_db.Database, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfDatabase().error(e, stacktrace); - } else - throw e$; - } - } - [S.$deleteDatabase](name, opts) { - 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); - if (onBlocked != null) { - request[S.$onBlocked].listen(onBlocked); - } - let completer = T$0.CompleterOfIdbFactory().sync(); - request[S.$onSuccess].listen(dart.fn(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')); - return completer.future; - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfIdbFactory().error(e, stacktrace); - } else - throw e$; - } - } - get [S.$supportsDatabaseNames]() { - return false; - } - static ['_#_#tearOff']() { - return indexed_db.IdbFactory.__(); - } - [S.$cmp](...args) { - return this.cmp.apply(this, args); - } - [S._deleteDatabase](...args) { - return this.deleteDatabase.apply(this, args); - } - [S._open](...args) { - return this.open.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.IdbFactory); -dart.addTypeCaches(indexed_db.IdbFactory); -dart.setMethodSignature(indexed_db.IdbFactory, () => ({ - __proto__: dart.getMethods(indexed_db.IdbFactory.__proto__), - [S.$open]: dart.fnType(async.Future$(indexed_db.Database), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event])), onUpgradeNeeded: dart.nullable(dart.fnType(dart.void, [indexed_db.VersionChangeEvent])), version: dart.nullable(core.int)}, {}), - [S.$deleteDatabase]: dart.fnType(async.Future$(indexed_db.IdbFactory), [core.String], {onBlocked: dart.nullable(dart.fnType(dart.void, [html$.Event]))}, {}), - [S.$cmp]: dart.fnType(core.int, [core.Object, core.Object]), - [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.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.JavaScriptObject { - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$get](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getKey](key) { - try { - let request = this[S._getKey](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range, "next"); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - return indexed_db.ObjectStore._cursorStreamFromResult(indexed_db.CursorWithValue, indexed_db.Request.as(request), autoAdvance); - } - [S.$openKeyCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openKeyCursor](key_OR_range, "next"); - } else { - request = this[S._openKeyCursor](key_OR_range, direction); - } - 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; - } - get [S.$multiEntry]() { - return this.multiEntry; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$objectStore]() { - return this.objectStore; - } - get [S.$unique]() { - return this.unique; - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S._getKey](...args) { - return this.getKey.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S._openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Index); -dart.addTypeCaches(indexed_db.Index); -dart.setMethodSignature(indexed_db.Index, () => ({ - __proto__: dart.getMethods(indexed_db.Index.__proto__), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$get]: dart.fnType(async.Future, [dart.dynamic]), - [S.$getKey]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$openKeyCursor]: dart.fnType(async.Stream$(indexed_db.Cursor), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S._getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [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), - [S.$multiEntry]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S.$objectStore]: dart.nullable(indexed_db.ObjectStore), - [S.$unique]: dart.nullable(core.bool) -})); -dart.setSetterSignature(indexed_db.Index, () => ({ - __proto__: dart.getSetters(indexed_db.Index.__proto__), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(indexed_db.Index, I[148]); -dart.registerExtension("IDBIndex", indexed_db.Index); -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[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[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[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; - } - get [S.$lowerOpen]() { - return this.lowerOpen; - } - get [S.$upper]() { - return this.upper; - } - get [S.$upperOpen]() { - return this.upperOpen; - } - [S.$includes](...args) { - return this.includes.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.KeyRange); -dart.addTypeCaches(indexed_db.KeyRange); -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), - [S.$lowerOpen]: dart.nullable(core.bool), - [S.$upper]: dart.nullable(core.Object), - [S.$upperOpen]: dart.nullable(core.bool) -})); -dart.setLibraryUri(indexed_db.KeyRange, I[148]); -dart.registerExtension("IDBKeyRange", indexed_db.KeyRange); -indexed_db.ObjectStore = class ObjectStore extends _interceptors.JavaScriptObject { - [$add](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._add$3](value, key); - } else { - request = this[S._add$3](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [$clear]() { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._clear$2]()); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$delete](key_OR_keyRange) { - try { - return indexed_db._completeRequest(dart.dynamic, this[S._delete$1](core.Object.as(key_OR_keyRange))); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$count](key_OR_range = null) { - try { - let request = this[S._count$2](key_OR_range); - return indexed_db._completeRequest(core.int, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return T$0.FutureOfint().error(e, stacktrace); - } else - throw e$; - } - } - [S.$put](value, key = null) { - try { - let request = null; - if (key != null) { - request = this[S._put](value, key); - } else { - request = this[S._put](value); - } - return indexed_db._completeRequest(dart.dynamic, indexed_db.Request.as(request)); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$getObject](key) { - try { - let request = this[S._get](core.Object.as(key)); - return indexed_db._completeRequest(dart.dynamic, request); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - return async.Future.error(e, stacktrace); - } else - throw e$; - } - } - [S.$openCursor](opts) { - let key = opts && 'key' in opts ? opts.key : null; - let range = opts && 'range' in opts ? opts.range : null; - let direction = opts && 'direction' in opts ? opts.direction : null; - let autoAdvance = opts && 'autoAdvance' in opts ? opts.autoAdvance : null; - let key_OR_range = null; - if (key != null) { - if (range != null) { - dart.throw(new core.ArgumentError.new("Cannot specify both key and range.")); - } - key_OR_range = key; - } else { - key_OR_range = range; - } - let request = null; - if (direction == null) { - request = this[S._openCursor](key_OR_range); - } else { - request = this[S._openCursor](key_OR_range, direction); - } - 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[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(); - if (unique != null) { - options[$_set]("unique", unique); - } - if (multiEntry != null) { - options[$_set]("multiEntry", multiEntry); - } - return this[S._createIndex](name, core.Object.as(keyPath), options); - } - static ['_#_#tearOff']() { - return indexed_db.ObjectStore.__(); - } - get [S.$autoIncrement]() { - return this.autoIncrement; - } - get [S.$indexNames]() { - return this.indexNames; - } - get [S.$keyPath]() { - return this.keyPath; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$transaction]() { - return this.transaction; - } - [S._add$3](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._add_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._add_2](value_1); - } - [S._add_1](...args) { - return this.add.apply(this, args); - } - [S._add_2](...args) { - return this.add.apply(this, args); - } - [S._clear$2](...args) { - return this.clear.apply(this, args); - } - [S._count$2](...args) { - return this.count.apply(this, args); - } - [S._createIndex](name, keyPath, options = null) { - 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); - } - return this[S._createIndex_2](name, keyPath); - } - [S._createIndex_1](...args) { - return this.createIndex.apply(this, args); - } - [S._createIndex_2](...args) { - return this.createIndex.apply(this, args); - } - [S._delete$1](...args) { - return this.delete.apply(this, args); - } - [S.$deleteIndex](...args) { - return this.deleteIndex.apply(this, args); - } - [S._get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S.$getAllKeys](...args) { - return this.getAllKeys.apply(this, args); - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S.$index](...args) { - return this.index.apply(this, args); - } - [S._openCursor](...args) { - return this.openCursor.apply(this, args); - } - [S.$openKeyCursor](...args) { - return this.openKeyCursor.apply(this, args); - } - [S._put](value, key = null) { - if (key != null) { - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - let key_2 = html_common.convertDartToNative_SerializedScriptValue(key); - return this[S._put_1](value_1, key_2); - } - let value_1 = html_common.convertDartToNative_SerializedScriptValue(value); - return this[S._put_2](value_1); - } - [S._put_1](...args) { - return this.put.apply(this, args); - } - [S._put_2](...args) { - return this.put.apply(this, args); - } - static _cursorStreamFromResult(T, request, autoAdvance) { - 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[147], 992, 31, "e"); - let cursor = dart.nullable(T).as(request[S.$result]); - if (cursor == null) { - controller.close(); - } else { - controller.add(cursor); - if (autoAdvance === true && dart.test(controller.hasListener)) { - cursor[S.$next](); - } - } - }, T$0.EventTovoid())); - return controller.stream; - } -}; -dart.addTypeTests(indexed_db.ObjectStore); -dart.addTypeCaches(indexed_db.ObjectStore); -dart.setMethodSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getMethods(indexed_db.ObjectStore.__proto__), - [$add]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future, [dart.dynamic]), - [S.$count]: dart.fnType(async.Future$(core.int), [], [dart.dynamic]), - [S.$put]: dart.fnType(async.Future, [dart.dynamic], [dart.dynamic]), - [S.$getObject]: dart.fnType(async.Future, [dart.dynamic]), - [S.$openCursor]: dart.fnType(async.Stream$(indexed_db.CursorWithValue), [], {autoAdvance: dart.nullable(core.bool), direction: dart.nullable(core.String), key: dart.dynamic, range: dart.nullable(indexed_db.KeyRange)}, {}), - [S.$createIndex]: dart.fnType(indexed_db.Index, [core.String, dart.dynamic], {multiEntry: dart.nullable(core.bool), unique: dart.nullable(core.bool)}, {}), - [S._add$3]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [S._add_1]: dart.fnType(indexed_db.Request, [dart.dynamic, dart.dynamic]), - [S._add_2]: dart.fnType(indexed_db.Request, [dart.dynamic]), - [S._clear$2]: dart.fnType(indexed_db.Request, []), - [S._count$2]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)]), - [S._createIndex]: dart.fnType(indexed_db.Index, [core.String, core.Object], [dart.nullable(core.Map)]), - [S._createIndex_1]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S._createIndex_2]: dart.fnType(indexed_db.Index, [dart.dynamic, dart.dynamic]), - [S._delete$1]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$deleteIndex]: dart.fnType(dart.void, [core.String]), - [S._get]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$getAll]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getAllKeys]: dart.fnType(indexed_db.Request, [dart.nullable(core.Object)], [dart.nullable(core.int)]), - [S.$getKey]: dart.fnType(indexed_db.Request, [core.Object]), - [S.$index]: dart.fnType(indexed_db.Index, [core.String]), - [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)]), - [S._put]: dart.fnType(indexed_db.Request, [dart.dynamic], [dart.dynamic]), - [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), - [S.$indexNames]: dart.nullable(core.List$(core.String)), - [S.$keyPath]: dart.nullable(core.Object), - [$name]: dart.nullable(core.String), - [S.$transaction]: dart.nullable(indexed_db.Transaction) -})); -dart.setSetterSignature(indexed_db.ObjectStore, () => ({ - __proto__: dart.getSetters(indexed_db.ObjectStore.__proto__), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(indexed_db.ObjectStore, I[148]); -dart.registerExtension("IDBObjectStore", indexed_db.ObjectStore); -indexed_db.Observation = class Observation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observation.__(); - } - get [S.$key]() { - return this.key; - } - get [S.$type]() { - return this.type; - } - get [S.$value]() { - return this.value; - } -}; -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[148]); -dart.registerExtension("IDBObservation", indexed_db.Observation); -indexed_db.Observer = class Observer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.Observer.__(); - } - static new(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[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; - } - [S._observe_1](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(indexed_db.Observer); -dart.addTypeCaches(indexed_db.Observer); -dart.setMethodSignature(indexed_db.Observer, () => ({ - __proto__: dart.getMethods(indexed_db.Observer.__proto__), - [S.$observe]: dart.fnType(dart.void, [indexed_db.Database, indexed_db.Transaction, core.Map]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return indexed_db.ObserverChanges.__(); - } - get [S.$database]() { - return this.database; - } - get [S.$records]() { - return this.records; - } - get [S.$transaction]() { - return this.transaction; - } -}; -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[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; - } - get [S.$readyState]() { - return this.readyState; - } - get [S.$result]() { - return indexed_db._convertNativeToDart_IDBAny(this[S._get_result]); - } - get [S._get_result]() { - return this.result; - } - get [S.$source]() { - return this.source; - } - get [S.$transaction]() { - return this.transaction; - } - get [S.$onError]() { - return indexed_db.Request.errorEvent.forTarget(this); - } - get [S.$onSuccess]() { - return indexed_db.Request.successEvent.forTarget(this); - } -}; -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), - [S.$readyState]: dart.nullable(core.String), - [S.$result]: dart.dynamic, - [S._get_result]: dart.dynamic, - [S.$source]: dart.nullable(core.Object), - [S.$transaction]: dart.nullable(indexed_db.Transaction), - [S.$onError]: async.Stream$(html$.Event), - [S.$onSuccess]: async.Stream$(html$.Event) -})); -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[226] || CT.C226; - }, - /*indexed_db.Request.successEvent*/get successEvent() { - 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); - } - get [S.$onUpgradeNeeded]() { - return indexed_db.OpenDBRequest.upgradeNeededEvent.forTarget(this); - } -}; -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[148]); -dart.setStaticFieldSignature(indexed_db.OpenDBRequest, () => ['blockedEvent', 'upgradeNeededEvent']); -dart.defineLazy(indexed_db.OpenDBRequest, { - /*indexed_db.OpenDBRequest.blockedEvent*/get blockedEvent() { - return C[229] || CT.C229; - }, - /*indexed_db.OpenDBRequest.upgradeNeededEvent*/get upgradeNeededEvent() { - return C[230] || CT.C230; - } -}, false); -dart.registerExtension("IDBOpenDBRequest", indexed_db.OpenDBRequest); -dart.registerExtension("IDBVersionChangeRequest", indexed_db.OpenDBRequest); -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[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[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[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; - } - get [S.$error]() { - return this.error; - } - get [S.$mode]() { - return this.mode; - } - get [S.$objectStoreNames]() { - return this.objectStoreNames; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S.$objectStore](...args) { - return this.objectStore.apply(this, args); - } - get [S.$onAbort]() { - return indexed_db.Transaction.abortEvent.forTarget(this); - } - get [S.$onComplete]() { - return indexed_db.Transaction.completeEvent.forTarget(this); - } - get [S.$onError]() { - return indexed_db.Transaction.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(indexed_db.Transaction); -dart.addTypeCaches(indexed_db.Transaction); -dart.setMethodSignature(indexed_db.Transaction, () => ({ - __proto__: dart.getMethods(indexed_db.Transaction.__proto__), - [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), - [S.$db]: dart.nullable(indexed_db.Database), - [S.$error]: dart.nullable(html$.DomException), - [S.$mode]: dart.nullable(core.String), - [S.$objectStoreNames]: dart.nullable(core.List$(core.String)), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onComplete]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) -})); -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[224] || CT.C224; - }, - /*indexed_db.Transaction.completeEvent*/get completeEvent() { - return C[231] || CT.C231; - }, - /*indexed_db.Transaction.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } -}, false); -dart.registerExtension("IDBTransaction", indexed_db.Transaction); -html$.Event = class Event$ extends _interceptors.JavaScriptObject { - static new(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.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[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"); - 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; - } - set [S._selector](value) { - this._selector = value; - } - get [S.$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[S.$currentTarget]); - let target = T$0.ElementN().as(this[S.$target]); - let matchedTarget = null; - 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 [S.$path]() { - return !!this.composedPath ? this.composedPath() : T$0.JSArrayOfEventTarget().of([]); - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new Event(type); - } - get [S.$bubbles]() { - return this.bubbles; - } - get [S.$cancelable]() { - return this.cancelable; - } - get [S.$composed]() { - return this.composed; - } - get [S.$currentTarget]() { - return html$._convertNativeToDart_EventTarget(this[S._get_currentTarget]); - } - get [S._get_currentTarget]() { - return this.currentTarget; - } - get [S.$defaultPrevented]() { - return this.defaultPrevented; - } - get [S.$eventPhase]() { - return this.eventPhase; - } - get [S.$isTrusted]() { - return this.isTrusted; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S.$timeStamp]() { - return this.timeStamp; - } - get [S.$type]() { - return this.type; - } - [S.$composedPath](...args) { - return this.composedPath.apply(this, args); - } - [S._initEvent](...args) { - return this.initEvent.apply(this, args); - } - [S.$preventDefault](...args) { - return this.preventDefault.apply(this, args); - } - [S.$stopImmediatePropagation](...args) { - return this.stopImmediatePropagation.apply(this, args); - } - [S.$stopPropagation](...args) { - return this.stopPropagation.apply(this, args); - } -}; -dart.addTypeTests(html$.Event); -dart.addTypeCaches(html$.Event); -dart.setMethodSignature(html$.Event, () => ({ - __proto__: dart.getMethods(html$.Event.__proto__), - [S.$composedPath]: dart.fnType(core.List$(html$.EventTarget), []), - [S._initEvent]: dart.fnType(dart.void, [core.String], [dart.nullable(core.bool), dart.nullable(core.bool)]), - [S.$preventDefault]: dart.fnType(dart.void, []), - [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), - [S.$matchingTarget]: html$.Element, - [S.$path]: core.List$(html$.EventTarget), - [S.$bubbles]: dart.nullable(core.bool), - [S.$cancelable]: dart.nullable(core.bool), - [S.$composed]: dart.nullable(core.bool), - [S.$currentTarget]: dart.nullable(html$.EventTarget), - [S._get_currentTarget]: dart.dynamic, - [S.$defaultPrevented]: core.bool, - [S.$eventPhase]: core.int, - [S.$isTrusted]: dart.nullable(core.bool), - [S.$target]: dart.nullable(html$.EventTarget), - [S._get_target]: dart.dynamic, - [S.$timeStamp]: dart.nullable(core.num), - [S.$type]: core.String -})); -dart.setSetterSignature(html$.Event, () => ({ - __proto__: dart.getSetters(html$.Event.__proto__), - [S._selector]: dart.nullable(core.String) -})); -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; - }, - /*html$.Event.BUBBLING_PHASE*/get BUBBLING_PHASE() { - return 3; - }, - /*html$.Event.CAPTURING_PHASE*/get CAPTURING_PHASE() { - return 1; - } -}, false); -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[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); - } - static _create_2(type) { - return new IDBVersionChangeEvent(type); - } - get [S.$dataLoss]() { - return this.dataLoss; - } - get [S.$dataLossMessage]() { - return this.dataLossMessage; - } - get [S.$newVersion]() { - return this.newVersion; - } - get [S.$oldVersion]() { - return this.oldVersion; - } - get [S.$target]() { - return this.target; - } -}; -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), - [S.$dataLossMessage]: dart.nullable(core.String), - [S.$newVersion]: dart.nullable(core.int), - [S.$oldVersion]: dart.nullable(core.int), - [S.$target]: indexed_db.OpenDBRequest -})); -dart.setLibraryUri(indexed_db.VersionChangeEvent, I[148]); -dart.registerExtension("IDBVersionChangeEvent", indexed_db.VersionChangeEvent); -indexed_db._convertNativeToDart_IDBKey = function _convertNativeToDart_IDBKey(nativeKey) { - function containsDate(object) { - if (dart.test(html_common.isJavaScriptDate(object))) return true; - if (core.List.is(object)) { - for (let i = 0; i < dart.notNull(object[$length]); i = i + 1) { - if (dart.dtest(containsDate(object[$_get](i)))) return true; - } - } - return false; - } - dart.fn(containsDate, T$0.dynamicTobool()); - if (dart.test(containsDate(nativeKey))) { - dart.throw(new core.UnimplementedError.new("Key containing DateTime")); - } - return nativeKey; -}; -indexed_db._convertDartToNative_IDBKey = function _convertDartToNative_IDBKey(dartKey) { - return dartKey; -}; -indexed_db._convertNativeToDart_IDBAny = function _convertNativeToDart_IDBAny(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}); -}; -indexed_db._completeRequest = function _completeRequest(T, 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[147], 540, 29, "e"); - let result = T.as(request[S.$result]); - completer.complete(result); - }, T$0.EventTovoid())); - request[S.$onError].listen(dart.bind(completer, 'completeError')); - return completer.future; -}; -dart.defineLazy(indexed_db, { - /*indexed_db._idbKey*/get _idbKey() { - return "JSExtendableArray|=Object|num|String"; - }, - /*indexed_db._annotation_Creates_IDBKey*/get _annotation_Creates_IDBKey() { - return C[232] || CT.C232; - }, - /*indexed_db._annotation_Returns_IDBKey*/get _annotation_Returns_IDBKey() { - 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[149], 23302, 28, "value"); - let copy = value[$toList](); - this[S.$text] = ""; - for (let node of copy) { - this[S.$append](node); - } - } - [$remove]() { - if (this.parentNode != null) { - let parent = dart.nullCheck(this.parentNode); - parent[S$._removeChild](this); - } - } - [S$.$replaceWith](otherNode) { - if (otherNode == null) dart.nullFailed(I[149], 23327, 25, "otherNode"); - try { - let parent = dart.nullCheck(this.parentNode); - parent[S$._replaceChild](otherNode, this); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return this; - } - [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), child); - } - } else { - for (let node of newNodes) { - this.insertBefore(node, child); - } - } - } - [S$._clearChildren]() { - while (this.firstChild != null) { - this[S$._removeChild](dart.nullCheck(this.firstChild)); - } - } - [$toString]() { - let value = this.nodeValue; - return value == null ? super[$toString]() : value; - } - get [S$.$childNodes]() { - return this.childNodes; - } - static ['_#_#tearOff']() { - return html$.Node.__(); - } - get [S.$baseUri]() { - return this.baseURI; - } - get [S$.$firstChild]() { - return this.firstChild; - } - get [S$.$isConnected]() { - return this.isConnected; - } - get [S$.$lastChild]() { - return this.lastChild; - } - get [S.$nextNode]() { - return this.nextSibling; - } - get [S$.$nodeName]() { - return this.nodeName; - } - get [S$.$nodeType]() { - return this.nodeType; - } - get [S$.$nodeValue]() { - return this.nodeValue; - } - get [S$.$ownerDocument]() { - return this.ownerDocument; - } - get [S.$parent]() { - return this.parentElement; - } - get [S$.$parentNode]() { - return this.parentNode; - } - get [S$.$previousNode]() { - return this.previousSibling; - } - get [S.$text]() { - return this.textContent; - } - set [S.$text](value) { - this.textContent = value; - } - [S.$append](...args) { - return this.appendChild.apply(this, args); - } - [S$.$clone](...args) { - return this.cloneNode.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$getRootNode](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$._getRootNode_1](options_1); - } - return this[S$._getRootNode_2](); - } - [S$._getRootNode_1](...args) { - return this.getRootNode.apply(this, args); - } - [S$._getRootNode_2](...args) { - return this.getRootNode.apply(this, args); - } - [S$.$hasChildNodes](...args) { - return this.hasChildNodes.apply(this, args); - } - [S$.$insertBefore](...args) { - return this.insertBefore.apply(this, args); - } - [S$._removeChild](...args) { - return this.removeChild.apply(this, args); - } - [S$._replaceChild](...args) { - return this.replaceChild.apply(this, args); - } -}; -(html$.Node._created = function() { - html$.Node.__proto__._created.call(this); - ; -}).prototype = html$.Node.prototype; -dart.addTypeTests(html$.Node); -dart.addTypeCaches(html$.Node); -dart.setMethodSignature(html$.Node, () => ({ - __proto__: dart.getMethods(html$.Node.__proto__), - [$remove]: dart.fnType(dart.void, []), - [S$.$replaceWith]: dart.fnType(html$.Node, [html$.Node]), - [S$.$insertAllBefore]: dart.fnType(dart.void, [core.Iterable$(html$.Node), html$.Node]), - [S$._clearChildren]: dart.fnType(dart.void, []), - [S.$append]: dart.fnType(html$.Node, [html$.Node]), - [S$.$clone]: dart.fnType(html$.Node, [dart.nullable(core.bool)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(html$.Node)]), - [S$.$getRootNode]: dart.fnType(html$.Node, [], [dart.nullable(core.Map)]), - [S$._getRootNode_1]: dart.fnType(html$.Node, [dart.dynamic]), - [S$._getRootNode_2]: dart.fnType(html$.Node, []), - [S$.$hasChildNodes]: dart.fnType(core.bool, []), - [S$.$insertBefore]: dart.fnType(html$.Node, [html$.Node, dart.nullable(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), - [S$.$childNodes]: core.List$(html$.Node), - [S.$baseUri]: dart.nullable(core.String), - [S$.$firstChild]: dart.nullable(html$.Node), - [S$.$isConnected]: dart.nullable(core.bool), - [S$.$lastChild]: dart.nullable(html$.Node), - [S.$nextNode]: dart.nullable(html$.Node), - [S$.$nodeName]: dart.nullable(core.String), - [S$.$nodeType]: core.int, - [S$.$nodeValue]: dart.nullable(core.String), - [S$.$ownerDocument]: dart.nullable(html$.Document), - [S.$parent]: dart.nullable(html$.Element), - [S$.$parentNode]: dart.nullable(html$.Node), - [S$.$previousNode]: dart.nullable(html$.Node), - [S.$text]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.Node, () => ({ - __proto__: dart.getSetters(html$.Node.__proto__), - [S.$nodes]: core.Iterable$(html$.Node), - [S.$text]: dart.nullable(core.String) -})); -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; - }, - /*html$.Node.CDATA_SECTION_NODE*/get CDATA_SECTION_NODE() { - return 4; - }, - /*html$.Node.COMMENT_NODE*/get COMMENT_NODE() { - return 8; - }, - /*html$.Node.DOCUMENT_FRAGMENT_NODE*/get DOCUMENT_FRAGMENT_NODE() { - return 11; - }, - /*html$.Node.DOCUMENT_NODE*/get DOCUMENT_NODE() { - return 9; - }, - /*html$.Node.DOCUMENT_TYPE_NODE*/get DOCUMENT_TYPE_NODE() { - return 10; - }, - /*html$.Node.ELEMENT_NODE*/get ELEMENT_NODE() { - return 1; - }, - /*html$.Node.ENTITY_NODE*/get ENTITY_NODE() { - return 6; - }, - /*html$.Node.ENTITY_REFERENCE_NODE*/get ENTITY_REFERENCE_NODE() { - return 5; - }, - /*html$.Node.NOTATION_NODE*/get NOTATION_NODE() { - return 12; - }, - /*html$.Node.PROCESSING_INSTRUCTION_NODE*/get PROCESSING_INSTRUCTION_NODE() { - return 7; - }, - /*html$.Node.TEXT_NODE*/get TEXT_NODE() { - return 3; - } -}, false); -dart.registerExtension("Node", html$.Node); -html$.Element = class Element extends html$.Node { - static html(html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - 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[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[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"); - } - get [S.$attributes]() { - return new html$._ElementAttributeMap.new(this); - } - set [S.$attributes](value) { - if (value == null) dart.nullFailed(I[149], 12982, 38, "value"); - let attributes = this[S.$attributes]; - attributes[$clear](); - for (let key of value[$keys]) { - attributes[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getAttribute](name) { - 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[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[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[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[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[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[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[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]() { - return new html$._ChildrenElementList._wrap(this); - } - get [S._children]() { - return this.children; - } - set [S.$children](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[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[149], 13108, 45, "nativeScrollBehavior"); - let completer = T$0.CompleterOfScrollState().new(); - this[S._setApplyScroll](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 13110, 22, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - [S._setDistributeScroll](...args) { - return this.setDistributeScroll.apply(this, args); - } - [S.$setDistributeScroll](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[149], 13122, 27, "value"); - completer.complete(value); - }, T$0.ScrollStateTovoid()), nativeScrollBehavior); - return completer.future; - } - get [S.$classes]() { - return new html$._ElementCssClassSet.new(this); - } - set [S.$classes](value) { - if (value == null) dart.nullFailed(I[149], 13140, 32, "value"); - let classSet = this[S.$classes]; - classSet.clear(); - classSet.addAll(value); - } - get [S.$dataset]() { - return new html$._DataAttributeMap.new(this[S.$attributes]); - } - set [S.$dataset](value) { - if (value == null) dart.nullFailed(I[149], 13172, 35, "value"); - let data = this[S.$dataset]; - data[$clear](); - for (let key of value[$keys]) { - data[$_set](key, dart.nullCheck(value[$_get](key))); - } - } - [S.$getNamespacedAttributes](namespace) { - if (namespace == null) dart.nullFailed(I[149], 13185, 54, "namespace"); - return new html$._NamespacedAttributeMap.new(this, namespace); - } - [S.$getComputedStyle](pseudoElement = null) { - if (pseudoElement == null) { - pseudoElement = ""; - } - return html$.window[S._getComputedStyle](this, pseudoElement); - } - get [S.$client]() { - return new (T$0.RectangleOfnum()).new(dart.nullCheck(this.clientLeft), dart.nullCheck(this.clientTop), this.clientWidth, this.clientHeight); - } - get [S.$offset]() { - 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[149], 13231, 26, "text"); - this[S.$append](html$.Text.new(text)); - } - [S.$appendHtml](text, opts) { - 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[149], 13250, 37, "tag"); - let e = html$._ElementFactoryProvider.createElement_tag(tag, null); - return html$.Element.is(e) && !html$.UnknownElement.is(e); - } - [S.$attached]() { - this[S.$enteredView](); - } - [S.$detached]() { - this[S.$leftView](); - } - [S.$enteredView]() { - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - [S.$leftView]() { - } - [S.$animate](frames, timing = null) { - 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[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[234] || CT.C234)[$toList](); - } else { - convertedFrames = frames; - } - let convertedTiming = core.Map.is(timing) ? html_common.convertDartToNative_Dictionary(timing) : timing; - return convertedTiming == null ? this[S._animate](core.Object.as(convertedFrames)) : this[S._animate](core.Object.as(convertedFrames), convertedTiming); - } - [S._animate](...args) { - return this.animate.apply(this, args); - } - [S.$attributeChanged](name, oldValue, 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]; - } - get [S.$namespaceUri]() { - return this[S._namespaceUri]; - } - [$toString]() { - return this[S.$localName]; - } - [S.$scrollIntoView](alignment = null) { - let hasScrollIntoViewIfNeeded = true; - hasScrollIntoViewIfNeeded = !!this.scrollIntoViewIfNeeded; - if (dart.equals(alignment, html$.ScrollAlignment.TOP)) { - this[S._scrollIntoView](true); - } else if (dart.equals(alignment, html$.ScrollAlignment.BOTTOM)) { - this[S._scrollIntoView](false); - } else if (hasScrollIntoViewIfNeeded) { - if (dart.equals(alignment, html$.ScrollAlignment.CENTER)) { - this.scrollIntoViewIfNeeded(true); - } else { - this.scrollIntoViewIfNeeded(); - } - } else { - this[S._scrollIntoView](); - } - } - static _determineMouseWheelEventType(e) { - if (e == null) dart.nullFailed(I[149], 13426, 59, "e"); - return "wheel"; - } - static _determineTransitionEventType(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)) { - return "oTransitionEnd"; - } - return "transitionend"; - } - [S.$insertAdjacentText](where, 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 { - this[S._insertAdjacentNode](where, html$.Text.new(text)); - } - } - [S._insertAdjacentText](...args) { - return this.insertAdjacentText.apply(this, args); - } - [S.$insertAdjacentHtml](where, html, opts) { - 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)) { - this[S._insertAdjacentHtml](where, html); - } else { - this[S._insertAdjacentNode](where, this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - [S._insertAdjacentHtml](...args) { - return this.insertAdjacentHTML.apply(this, args); - } - [S.$insertAdjacentElement](where, 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 { - this[S._insertAdjacentNode](where, element); - } - return element; - } - [S._insertAdjacentElement](...args) { - return this.insertAdjacentElement.apply(this, args); - } - [S._insertAdjacentNode](where, 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; - } - case "afterbegin": - { - 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; - } - case "afterend": - { - dart.nullCheck(this.parentNode).insertBefore(node, this[S.$nextNode]); - break; - } - default: - { - dart.throw(new core.ArgumentError.new("Invalid position " + dart.str(where))); - } - } - } - [S.$matches](selectors) { - if (selectors == null) dart.nullFailed(I[149], 13553, 23, "selectors"); - if (!!this.matches) { - return this.matches(selectors); - } else if (!!this.webkitMatchesSelector) { - return this.webkitMatchesSelector(selectors); - } else if (!!this.mozMatchesSelector) { - return this.mozMatchesSelector(selectors); - } else if (!!this.msMatchesSelector) { - return this.msMatchesSelector(selectors); - } else if (!!this.oMatchesSelector) { - return this.oMatchesSelector(selectors); - } else { - dart.throw(new core.UnsupportedError.new("Not supported on this platform")); - } - } - [S.$matchesWithAncestors](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; - elem = elem[S.$parent]; - } while (elem != null); - return false; - } - [S.$createShadowRoot]() { - return (this.createShadowRoot || this.webkitCreateShadowRoot).call(this); - } - get [S.$shadowRoot]() { - return this.shadowRoot || this.webkitShadowRoot; - } - get [S.$contentEdge]() { - return new html$._ContentCssRect.new(this); - } - get [S.$paddingEdge]() { - return new html$._PaddingCssRect.new(this); - } - get [S.$borderEdge]() { - return new html$._BorderCssRect.new(this); - } - get [S.$marginEdge]() { - return new html$._MarginCssRect.new(this); - } - get [S.$documentOffset]() { - return this[S.$offsetTo](dart.nullCheck(html$.document.documentElement)); - } - [S.$offsetTo](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[149], 13706, 58, "parent"); - let sameAsParent = current == parent; - let foundAsParent = sameAsParent || parent.tagName === "HTML"; - if (current == null || sameAsParent) { - if (foundAsParent) return new (T$0.PointOfnum()).new(0, 0); - dart.throw(new core.ArgumentError.new("Specified element is not a transitive offset " + "parent of this element.")); - } - let parentOffset = current.offsetParent; - let p = html$.Element._offsetToHelper(parentOffset, parent); - 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 t213; - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (treeSanitizer == null) { - if (validator == null) { - if (html$.Element._defaultValidator == null) { - html$.Element._defaultValidator = new html$.NodeValidatorBuilder.common(); - } - validator = html$.Element._defaultValidator; - } - if (html$.Element._defaultSanitizer == null) { - html$.Element._defaultSanitizer = new html$._ValidatingTreeSanitizer.new(dart.nullCheck(validator)); - } else { - dart.nullCheck(html$.Element._defaultSanitizer).validator = dart.nullCheck(validator); - } - treeSanitizer = html$.Element._defaultSanitizer; - } else if (validator != null) { - dart.throw(new core.ArgumentError.new("validator can only be passed if treeSanitizer is null")); - } - if (html$.Element._parseDocument == null) { - html$.Element._parseDocument = dart.nullCheck(html$.document.implementation)[S.$createHtmlDocument](""); - html$.Element._parseRange = dart.nullCheck(html$.Element._parseDocument).createRange(); - let base = html$.BaseElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("base")); - base.href = dart.nullCheck(html$.document[S.$baseUri]); - dart.nullCheck(dart.nullCheck(html$.Element._parseDocument)[S.$head])[S.$append](base); - } - if (dart.nullCheck(html$.Element._parseDocument).body == null) { - dart.nullCheck(html$.Element._parseDocument).body = html$.BodyElement.as(dart.nullCheck(html$.Element._parseDocument)[S.$createElement]("body")); - } - let contextElement = null; - if (html$.BodyElement.is(this)) { - 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](contextElement); - } - let fragment = null; - if (dart.test(html$.Range.supportsCreateContextualFragment) && dart.test(this[S._canBeUsedToCreateContextualFragment])) { - dart.nullCheck(html$.Element._parseRange).selectNodeContents(contextElement); - fragment = dart.nullCheck(html$.Element._parseRange).createContextualFragment((t213 = html, t213 == null ? "null" : t213)); - } else { - contextElement[S._innerHtml] = html; - fragment = dart.nullCheck(html$.Element._parseDocument).createDocumentFragment(); - while (contextElement.firstChild != null) { - fragment[S.$append](dart.nullCheck(contextElement.firstChild)); - } - } - if (!dart.equals(contextElement, dart.nullCheck(html$.Element._parseDocument).body)) { - contextElement[$remove](); - } - dart.nullCheck(treeSanitizer).sanitizeTree(fragment); - html$.document.adoptNode(fragment); - return fragment; - } - get [S._canBeUsedToCreateContextualFragment]() { - return !dart.test(this[S._cannotBeUsedToCreateContextualFragment]); - } - get [S._cannotBeUsedToCreateContextualFragment]() { - return html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported[$contains](this.tagName); - } - set [S.$innerHtml](html) { - this[S.$setInnerHtml](html); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - if (html$._TrustedHtmlTreeSanitizer.is(treeSanitizer)) { - this[S._innerHtml] = html; - } else { - this[S.$append](this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - } - get [S.$innerHtml]() { - return this[S._innerHtml]; - } - get [S.$innerText]() { - return this.innerText; - } - set [S.$innerText](value) { - this.innerText = value; - } - get [S.$on]() { - return new html$.ElementEvents.new(this); - } - static _hasCorruptedAttributes(element) { - if (element == null) dart.nullFailed(I[149], 13915, 47, "element"); - return (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); - } - static _hasCorruptedAttributesAdditionalCheck(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 element.tagName == 'string') { - result = element.tagName; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return result; - } - get [S.$offsetParent]() { - return this.offsetParent; - } - get [S.$offsetHeight]() { - return this.offsetHeight[$round](); - } - get [S.$offsetLeft]() { - return this.offsetLeft[$round](); - } - get [S.$offsetTop]() { - return this.offsetTop[$round](); - } - get [S.$offsetWidth]() { - return this.offsetWidth[$round](); - } - get [S.$scrollHeight]() { - return this.scrollHeight[$round](); - } - get [S.$scrollLeft]() { - return this.scrollLeft[$round](); - } - set [S.$scrollLeft](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[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; - } - set [S.$contentEditable](value) { - this.contentEditable = value; - } - get [S.$dir]() { - return this.dir; - } - set [S.$dir](value) { - this.dir = value; - } - get [S.$draggable]() { - return this.draggable; - } - set [S.$draggable](value) { - this.draggable = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S.$inert]() { - return this.inert; - } - set [S.$inert](value) { - this.inert = value; - } - get [S.$inputMode]() { - return this.inputMode; - } - set [S.$inputMode](value) { - this.inputMode = value; - } - get [S.$isContentEditable]() { - return this.isContentEditable; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S.$spellcheck]() { - return this.spellcheck; - } - set [S.$spellcheck](value) { - this.spellcheck = value; - } - get [S.$style]() { - return this.style; - } - get [S.$tabIndex]() { - return this.tabIndex; - } - set [S.$tabIndex](value) { - this.tabIndex = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } - get [S.$translate]() { - return this.translate; - } - set [S.$translate](value) { - this.translate = value; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$click](...args) { - return this.click.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$accessibleNode]() { - return this.accessibleNode; - } - get [S.$assignedSlot]() { - return this.assignedSlot; - } - get [S._attributes$1]() { - return this.attributes; - } - get [S.$className]() { - return this.className; - } - set [S.$className](value) { - this.className = value; - } - get [S.$clientHeight]() { - return this.clientHeight; - } - get [S.$clientLeft]() { - return this.clientLeft; - } - get [S.$clientTop]() { - return this.clientTop; - } - get [S.$clientWidth]() { - return this.clientWidth; - } - get [S.$computedName]() { - return this.computedName; - } - get [S.$computedRole]() { - return this.computedRole; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S._innerHtml]() { - return this.innerHTML; - } - set [S._innerHtml](value) { - this.innerHTML = value; - } - get [S._localName]() { - return this.localName; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$outerHtml]() { - return this.outerHTML; - } - get [S._scrollHeight]() { - return this.scrollHeight; - } - get [S._scrollLeft]() { - return this.scrollLeft; - } - set [S._scrollLeft](value) { - this.scrollLeft = value; - } - get [S._scrollTop]() { - return this.scrollTop; - } - set [S._scrollTop](value) { - this.scrollTop = value; - } - get [S._scrollWidth]() { - return this.scrollWidth; - } - get [S.$slot]() { - return this.slot; - } - set [S.$slot](value) { - this.slot = value; - } - get [S.$styleMap]() { - return this.styleMap; - } - get [S.$tagName]() { - return this.tagName; - } - [S.$attachShadow](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); - } - [S._attachShadow_1](...args) { - return this.attachShadow.apply(this, args); - } - [S.$closest](...args) { - return this.closest.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S._getAttribute](...args) { - return this.getAttribute.apply(this, args); - } - [S._getAttributeNS](...args) { - return this.getAttributeNS.apply(this, args); - } - [S.$getAttributeNames](...args) { - return this.getAttributeNames.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S._getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S._hasAttribute](...args) { - return this.hasAttribute.apply(this, args); - } - [S._hasAttributeNS](...args) { - return this.hasAttributeNS.apply(this, args); - } - [S.$hasPointerCapture](...args) { - return this.hasPointerCapture.apply(this, args); - } - [S.$releasePointerCapture](...args) { - return this.releasePointerCapture.apply(this, args); - } - [S._removeAttribute](...args) { - return this.removeAttribute.apply(this, args); - } - [S._removeAttributeNS](...args) { - return this.removeAttributeNS.apply(this, args); - } - [S.$requestPointerLock](...args) { - return this.requestPointerLock.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scroll_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollBy_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollIntoView](...args) { - return this.scrollIntoView.apply(this, args); - } - [S.$scrollIntoViewIfNeeded](...args) { - return this.scrollIntoViewIfNeeded.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null) { - if (options_OR_x == null && y == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (y != null && typeof options_OR_x == 'number') { - this[S._scrollTo_3](options_OR_x, y); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S._setAttribute](...args) { - return this.setAttribute.apply(this, args); - } - [S._setAttributeNS](...args) { - return this.setAttributeNS.apply(this, args); - } - [S.$setPointerCapture](...args) { - return this.setPointerCapture.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forElement(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forElement(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forElement(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forElement(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forElement(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forElement(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forElement(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forElement(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forElement(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forElement(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forElement(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forElement(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forElement(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forElement(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forElement(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forElement(this); - } - get [S$.$onTouchEnter]() { - return html$.Element.touchEnterEvent.forElement(this); - } - get [S$.$onTouchLeave]() { - return html$.Element.touchLeaveEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forElement(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forElement(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forElement(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forElement(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forElement(this); - } -}; -(html$.Element.created = function() { - html$.Element.__proto__._created.call(this); - ; -}).prototype = html$.Element.prototype; -dart.addTypeTests(html$.Element); -dart.addTypeCaches(html$.Element); -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]), - [S.$getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$hasAttribute]: dart.fnType(core.bool, [core.String]), - [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.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]), - [S._setDistributeScroll]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.ScrollState]), core.String]), - [S.$setDistributeScroll]: dart.fnType(async.Future$(html$.ScrollState), [core.String]), - [S.$getNamespacedAttributes]: dart.fnType(core.Map$(core.String, core.String), [core.String]), - [S.$getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [], [dart.nullable(core.String)]), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$attached]: dart.fnType(dart.void, []), - [S.$detached]: dart.fnType(dart.void, []), - [S.$enteredView]: dart.fnType(dart.void, []), - [S.$getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$leftView]: dart.fnType(dart.void, []), - [S.$animate]: dart.fnType(html$.Animation, [core.Iterable$(core.Map$(core.String, dart.dynamic))], [dart.dynamic]), - [S._animate]: dart.fnType(html$.Animation, [core.Object], [dart.dynamic]), - [S.$attributeChanged]: dart.fnType(dart.void, [core.String, core.String, core.String]), - [S.$scrollIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.ScrollAlignment)]), - [S.$insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S._insertAdjacentText]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S._insertAdjacentHtml]: dart.fnType(dart.void, [core.String, core.String]), - [S.$insertAdjacentElement]: dart.fnType(html$.Element, [core.String, html$.Element]), - [S._insertAdjacentElement]: dart.fnType(dart.void, [core.String, html$.Element]), - [S._insertAdjacentNode]: dart.fnType(dart.void, [core.String, html$.Node]), - [S.$matches]: dart.fnType(core.bool, [core.String]), - [S.$matchesWithAncestors]: dart.fnType(core.bool, [core.String]), - [S.$createShadowRoot]: dart.fnType(html$.ShadowRoot, []), - [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, []), - [S.$attachShadow]: dart.fnType(html$.ShadowRoot, [core.Map]), - [S._attachShadow_1]: dart.fnType(html$.ShadowRoot, [dart.dynamic]), - [S.$closest]: dart.fnType(dart.nullable(html$.Element), [core.String]), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S._getAttribute]: dart.fnType(dart.nullable(core.String), [core.String]), - [S._getAttributeNS]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S.$getAttributeNames]: dart.fnType(core.List$(core.String), []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S.$getDestinationInsertionPoints]: dart.fnType(core.List$(html$.Node), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S._hasAttribute]: dart.fnType(core.bool, [core.String]), - [S._hasAttributeNS]: dart.fnType(core.bool, [dart.nullable(core.String), core.String]), - [S.$hasPointerCapture]: dart.fnType(core.bool, [core.int]), - [S.$releasePointerCapture]: dart.fnType(dart.void, [core.int]), - [S._removeAttribute]: dart.fnType(dart.void, [core.String]), - [S._removeAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S.$requestPointerLock]: dart.fnType(dart.void, []), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.num)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [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.$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.Object]), - [S._setAttributeNS]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.Object]), - [S.$setPointerCapture]: dart.fnType(dart.void, [core.int]), - [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), - [S.$children]: core.List$(html$.Element), - [S._children]: core.List$(html$.Node), - [S.$classes]: html$.CssClassSet, - [S.$dataset]: core.Map$(core.String, core.String), - [S.$client]: math.Rectangle$(core.num), - [S.$offset]: math.Rectangle$(core.num), - [S.$localName]: core.String, - [S.$namespaceUri]: dart.nullable(core.String), - [S.$shadowRoot]: dart.nullable(html$.ShadowRoot), - [S.$contentEdge]: html$.CssRect, - [S.$paddingEdge]: html$.CssRect, - [S.$borderEdge]: html$.CssRect, - [S.$marginEdge]: html$.CssRect, - [S.$documentOffset]: math.Point$(core.num), - [S._canBeUsedToCreateContextualFragment]: core.bool, - [S._cannotBeUsedToCreateContextualFragment]: core.bool, - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$on]: html$.ElementEvents, - [S.$offsetParent]: dart.nullable(html$.Element), - [S.$offsetHeight]: core.int, - [S.$offsetLeft]: core.int, - [S.$offsetTop]: core.int, - [S.$offsetWidth]: core.int, - [S.$scrollHeight]: core.int, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$scrollWidth]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$isContentEditable]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$style]: html$.CssStyleDeclaration, - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$accessibleNode]: dart.nullable(html$.AccessibleNode), - [S.$assignedSlot]: dart.nullable(html$.SlotElement), - [S._attributes$1]: dart.nullable(html$._NamedNodeMap), - [S.$className]: core.String, - [S.$clientHeight]: core.int, - [S.$clientLeft]: dart.nullable(core.int), - [S.$clientTop]: dart.nullable(core.int), - [S.$clientWidth]: core.int, - [S.$computedName]: dart.nullable(core.String), - [S.$computedRole]: dart.nullable(core.String), - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._localName]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$outerHtml]: dart.nullable(core.String), - [S._scrollHeight]: dart.nullable(core.int), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S._scrollWidth]: dart.nullable(core.int), - [S.$slot]: dart.nullable(core.String), - [S.$styleMap]: dart.nullable(html$.StylePropertyMap), - [S.$tagName]: core.String, - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: html$.ElementStream$(html$.Event), - [S.$onBeforeCopy]: html$.ElementStream$(html$.Event), - [S.$onBeforeCut]: html$.ElementStream$(html$.Event), - [S.$onBeforePaste]: html$.ElementStream$(html$.Event), - [S.$onBlur]: html$.ElementStream$(html$.Event), - [S.$onCanPlay]: html$.ElementStream$(html$.Event), - [S.$onCanPlayThrough]: html$.ElementStream$(html$.Event), - [S.$onChange]: html$.ElementStream$(html$.Event), - [S.$onClick]: html$.ElementStream$(html$.MouseEvent), - [S.$onContextMenu]: html$.ElementStream$(html$.MouseEvent), - [S.$onCopy]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onCut]: html$.ElementStream$(html$.ClipboardEvent), - [S.$onDoubleClick]: html$.ElementStream$(html$.Event), - [S.$onDrag]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnd]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragEnter]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragLeave]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragOver]: html$.ElementStream$(html$.MouseEvent), - [S.$onDragStart]: html$.ElementStream$(html$.MouseEvent), - [S.$onDrop]: html$.ElementStream$(html$.MouseEvent), - [S.$onDurationChange]: html$.ElementStream$(html$.Event), - [S.$onEmptied]: html$.ElementStream$(html$.Event), - [S.$onEnded]: html$.ElementStream$(html$.Event), - [S.$onError]: html$.ElementStream$(html$.Event), - [S.$onFocus]: html$.ElementStream$(html$.Event), - [S.$onInput]: html$.ElementStream$(html$.Event), - [S.$onInvalid]: html$.ElementStream$(html$.Event), - [S.$onKeyDown]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyPress]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onKeyUp]: html$.ElementStream$(html$.KeyboardEvent), - [S.$onLoad]: html$.ElementStream$(html$.Event), - [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$.$onSuspend]: html$.ElementStream$(html$.Event), - [S$.$onTimeUpdate]: html$.ElementStream$(html$.Event), - [S$.$onTouchCancel]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnd]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchEnter]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchLeave]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchMove]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTouchStart]: html$.ElementStream$(html$.TouchEvent), - [S$.$onTransitionEnd]: html$.ElementStream$(html$.TransitionEvent), - [S$.$onVolumeChange]: html$.ElementStream$(html$.Event), - [S$.$onWaiting]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenChange]: html$.ElementStream$(html$.Event), - [S$.$onFullscreenError]: html$.ElementStream$(html$.Event), - [S$.$onWheel]: html$.ElementStream$(html$.WheelEvent) -})); -dart.setSetterSignature(html$.Element, () => ({ - __proto__: dart.getSetters(html$.Element.__proto__), - [S.$attributes]: core.Map$(core.String, core.String), - [S.$children]: core.List$(html$.Element), - [S.$classes]: core.Iterable$(core.String), - [S.$dataset]: core.Map$(core.String, core.String), - [S.$innerHtml]: dart.nullable(core.String), - [S.$innerText]: core.String, - [S.$scrollLeft]: core.int, - [S.$scrollTop]: core.int, - [S.$contentEditable]: core.String, - [S.$dir]: dart.nullable(core.String), - [S.$draggable]: core.bool, - [S.$hidden]: core.bool, - [S.$inert]: dart.nullable(core.bool), - [S.$inputMode]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S.$spellcheck]: dart.nullable(core.bool), - [S.$tabIndex]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S.$translate]: dart.nullable(core.bool), - [S.$className]: core.String, - [S.$id]: core.String, - [S._innerHtml]: dart.nullable(core.String), - [S._scrollLeft]: core.num, - [S._scrollTop]: core.num, - [S.$slot]: dart.nullable(core.String) -})); -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[235] || CT.C235; - }, - /*html$.Element.transitionEndEvent*/get transitionEndEvent() { - return C[237] || CT.C237; - }, - /*html$.Element._parseDocument*/get _parseDocument() { - return null; - }, - set _parseDocument(value) {}, - /*html$.Element._parseRange*/get _parseRange() { - return null; - }, - set _parseRange(value) {}, - /*html$.Element._defaultValidator*/get _defaultValidator() { - return null; - }, - set _defaultValidator(value) {}, - /*html$.Element._defaultSanitizer*/get _defaultSanitizer() { - return null; - }, - set _defaultSanitizer(value) {}, - /*html$.Element._tagsForWhichCreateContextualFragmentIsNotSupported*/get _tagsForWhichCreateContextualFragmentIsNotSupported() { - return C[239] || CT.C239; - }, - /*html$.Element.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.Element.beforeCopyEvent*/get beforeCopyEvent() { - return C[240] || CT.C240; - }, - /*html$.Element.beforeCutEvent*/get beforeCutEvent() { - return C[241] || CT.C241; - }, - /*html$.Element.beforePasteEvent*/get beforePasteEvent() { - return C[242] || CT.C242; - }, - /*html$.Element.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.Element.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.Element.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.Element.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.Element.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.Element.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.Element.copyEvent*/get copyEvent() { - return C[249] || CT.C249; - }, - /*html$.Element.cutEvent*/get cutEvent() { - return C[250] || CT.C250; - }, - /*html$.Element.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.Element.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.Element.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.Element.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.Element.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.Element.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.Element.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.Element.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.Element.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.Element.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.Element.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.Element.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Element.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.Element.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.Element.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.Element.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.Element.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.Element.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.Element.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.Element.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.Element.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.Element.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.Element.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.Element.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.Element.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.Element.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.Element.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.Element.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.Element.pasteEvent*/get pasteEvent() { - return C[278] || CT.C278; - }, - /*html$.Element.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.Element.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.Element.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.Element.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.Element.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.Element.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.Element.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.Element.searchEvent*/get searchEvent() { - return C[286] || CT.C286; - }, - /*html$.Element.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.Element.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.Element.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.Element.selectStartEvent*/get selectStartEvent() { - return C[290] || CT.C290; - }, - /*html$.Element.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.Element.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.Element.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.Element.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.Element.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.Element.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.Element.touchEnterEvent*/get touchEnterEvent() { - return C[297] || CT.C297; - }, - /*html$.Element.touchLeaveEvent*/get touchLeaveEvent() { - return C[298] || CT.C298; - }, - /*html$.Element.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.Element.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.Element.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.Element.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.Element.fullscreenChangeEvent*/get fullscreenChangeEvent() { - return C[303] || CT.C303; - }, - /*html$.Element.fullscreenErrorEvent*/get fullscreenErrorEvent() { - return C[304] || CT.C304; - }, - /*html$.Element.wheelEvent*/get wheelEvent() { - return C[305] || CT.C305; - } -}, false); -dart.registerExtension("Element", html$.Element); -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; - } - set [S.$nonce](value) { - this.nonce = value; - } -}; -(html$.HtmlElement.created = function() { - html$.HtmlElement.__proto__.created.call(this); - ; -}).prototype = html$.HtmlElement.prototype; -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) -})); -dart.setSetterSignature(html$.HtmlElement, () => ({ - __proto__: dart.getSetters(html$.HtmlElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(type) { - return new ExtendableEvent(type); - } - [S$.$waitUntil](...args) { - return this.waitUntil.apply(this, args); - } -}; -dart.addTypeTests(html$.ExtendableEvent); -dart.addTypeCaches(html$.ExtendableEvent); -dart.setMethodSignature(html$.ExtendableEvent, () => ({ - __proto__: dart.getMethods(html$.ExtendableEvent.__proto__), - [S$.$waitUntil]: dart.fnType(dart.void, [async.Future]) -})); -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[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); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.AbortPaymentEvent); -dart.addTypeCaches(html$.AbortPaymentEvent); -dart.setMethodSignature(html$.AbortPaymentEvent, () => ({ - __proto__: dart.getMethods(html$.AbortPaymentEvent.__proto__), - [S$.$respondWith]: dart.fnType(dart.void, [async.Future]) -})); -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; - } - get [S$.$hasReading]() { - return this.hasReading; - } - get [S$.$timestamp]() { - return this.timestamp; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.Sensor.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Sensor); -dart.addTypeCaches(html$.Sensor); -dart.setMethodSignature(html$.Sensor, () => ({ - __proto__: dart.getMethods(html$.Sensor.__proto__), - [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), - [S$.$hasReading]: dart.nullable(core.bool), - [S$.$timestamp]: dart.nullable(core.num), - [S.$onError]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.Sensor, I[150]); -dart.setStaticFieldSignature(html$.Sensor, () => ['errorEvent']); -dart.defineLazy(html$.Sensor, { - /*html$.Sensor.errorEvent*/get errorEvent() { - 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; - } - [S$.$populateMatrix](...args) { - return this.populateMatrix.apply(this, args); - } -}; -dart.addTypeTests(html$.OrientationSensor); -dart.addTypeCaches(html$.OrientationSensor); -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[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); - return html$.AbsoluteOrientationSensor._create_1(sensorOptions_1); - } - return html$.AbsoluteOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AbsoluteOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AbsoluteOrientationSensor(sensorOptions); - } - static _create_2() { - return new AbsoluteOrientationSensor(); - } -}; -dart.addTypeTests(html$.AbsoluteOrientationSensor); -dart.addTypeCaches(html$.AbsoluteOrientationSensor); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AbstractWorker.__(); - } - get onError() { - return html$.AbstractWorker.errorEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.AbstractWorker, () => ['errorEvent']); -dart.defineExtensionAccessors(html$.AbstractWorker, ['onError']); -dart.defineLazy(html$.AbstractWorker, { - /*html$.AbstractWorker.errorEvent*/get errorEvent() { - 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); - return html$.Accelerometer._create_1(sensorOptions_1); - } - return html$.Accelerometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Accelerometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Accelerometer(sensorOptions); - } - static _create_2() { - return new Accelerometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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(); - } - static _create_1() { - return new AccessibleNode(); - } - get [S$.$activeDescendant]() { - return this.activeDescendant; - } - set [S$.$activeDescendant](value) { - this.activeDescendant = value; - } - get [S$.$atomic]() { - return this.atomic; - } - set [S$.$atomic](value) { - this.atomic = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$busy]() { - return this.busy; - } - set [S$.$busy](value) { - this.busy = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$.$colCount]() { - return this.colCount; - } - set [S$.$colCount](value) { - this.colCount = value; - } - get [S$.$colIndex]() { - return this.colIndex; - } - set [S$.$colIndex](value) { - this.colIndex = value; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$current]() { - return this.current; - } - set [S$.$current](value) { - this.current = value; - } - get [S$.$describedBy]() { - return this.describedBy; - } - set [S$.$describedBy](value) { - this.describedBy = value; - } - get [S$.$details]() { - return this.details; - } - set [S$.$details](value) { - this.details = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$errorMessage]() { - return this.errorMessage; - } - set [S$.$errorMessage](value) { - this.errorMessage = value; - } - get [S$.$expanded]() { - return this.expanded; - } - set [S$.$expanded](value) { - this.expanded = value; - } - get [S$.$flowTo]() { - return this.flowTo; - } - set [S$.$flowTo](value) { - this.flowTo = value; - } - get [S$.$hasPopUp]() { - return this.hasPopUp; - } - set [S$.$hasPopUp](value) { - this.hasPopUp = value; - } - get [S.$hidden]() { - return this.hidden; - } - set [S.$hidden](value) { - this.hidden = value; - } - get [S$.$invalid]() { - return this.invalid; - } - set [S$.$invalid](value) { - this.invalid = value; - } - get [S$.$keyShortcuts]() { - return this.keyShortcuts; - } - set [S$.$keyShortcuts](value) { - this.keyShortcuts = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$labeledBy]() { - return this.labeledBy; - } - set [S$.$labeledBy](value) { - this.labeledBy = value; - } - get [S$.$level]() { - return this.level; - } - set [S$.$level](value) { - this.level = value; - } - get [S$.$live]() { - return this.live; - } - set [S$.$live](value) { - this.live = value; - } - get [S$.$modal]() { - return this.modal; - } - set [S$.$modal](value) { - this.modal = value; - } - get [S$.$multiline]() { - return this.multiline; - } - set [S$.$multiline](value) { - this.multiline = value; - } - get [S$.$multiselectable]() { - return this.multiselectable; - } - set [S$.$multiselectable](value) { - this.multiselectable = value; - } - get [S$.$orientation]() { - return this.orientation; - } - set [S$.$orientation](value) { - this.orientation = value; - } - get [S$.$owns]() { - return this.owns; - } - set [S$.$owns](value) { - this.owns = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$posInSet]() { - return this.posInSet; - } - set [S$.$posInSet](value) { - this.posInSet = value; - } - get [S$.$pressed]() { - return this.pressed; - } - set [S$.$pressed](value) { - this.pressed = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$relevant]() { - return this.relevant; - } - set [S$.$relevant](value) { - this.relevant = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$.$role]() { - return this.role; - } - set [S$.$role](value) { - this.role = value; - } - get [S$.$roleDescription]() { - return this.roleDescription; - } - set [S$.$roleDescription](value) { - this.roleDescription = value; - } - get [S$.$rowCount]() { - return this.rowCount; - } - set [S$.$rowCount](value) { - this.rowCount = value; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - set [S$.$rowIndex](value) { - this.rowIndex = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$.$setSize]() { - return this.setSize; - } - set [S$.$setSize](value) { - this.setSize = value; - } - get [$sort]() { - return this.sort; - } - set [$sort](value) { - this.sort = value; - } - get [S$.$valueMax]() { - return this.valueMax; - } - set [S$.$valueMax](value) { - this.valueMax = value; - } - get [S$.$valueMin]() { - return this.valueMin; - } - set [S$.$valueMin](value) { - this.valueMin = value; - } - get [S$.$valueNow]() { - return this.valueNow; - } - set [S$.$valueNow](value) { - this.valueNow = value; - } - get [S$.$valueText]() { - return this.valueText; - } - set [S$.$valueText](value) { - this.valueText = value; - } - [S$.$appendChild](...args) { - return this.appendChild.apply(this, args); - } - get [S$.$onAccessibleClick]() { - return html$.AccessibleNode.accessibleClickEvent.forTarget(this); - } - get [S$.$onAccessibleContextMenu]() { - return html$.AccessibleNode.accessibleContextMenuEvent.forTarget(this); - } - get [S$.$onAccessibleDecrement]() { - return html$.AccessibleNode.accessibleDecrementEvent.forTarget(this); - } - get [S$.$onAccessibleFocus]() { - return html$.AccessibleNode.accessibleFocusEvent.forTarget(this); - } - get [S$.$onAccessibleIncrement]() { - return html$.AccessibleNode.accessibleIncrementEvent.forTarget(this); - } - get [S$.$onAccessibleScrollIntoView]() { - return html$.AccessibleNode.accessibleScrollIntoViewEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.AccessibleNode); -dart.addTypeCaches(html$.AccessibleNode); -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), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String), - [S$.$onAccessibleClick]: async.Stream$(html$.Event), - [S$.$onAccessibleContextMenu]: async.Stream$(html$.Event), - [S$.$onAccessibleDecrement]: async.Stream$(html$.Event), - [S$.$onAccessibleFocus]: async.Stream$(html$.Event), - [S$.$onAccessibleIncrement]: async.Stream$(html$.Event), - [S$.$onAccessibleScrollIntoView]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.AccessibleNode, () => ({ - __proto__: dart.getSetters(html$.AccessibleNode.__proto__), - [S$.$activeDescendant]: dart.nullable(html$.AccessibleNode), - [S$.$atomic]: dart.nullable(core.bool), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$busy]: dart.nullable(core.bool), - [S$.$checked]: dart.nullable(core.String), - [S$.$colCount]: dart.nullable(core.int), - [S$.$colIndex]: dart.nullable(core.int), - [S$.$colSpan]: dart.nullable(core.int), - [S$.$controls]: dart.nullable(html$.AccessibleNodeList), - [S$.$current]: dart.nullable(core.String), - [S$.$describedBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$details]: dart.nullable(html$.AccessibleNode), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$errorMessage]: dart.nullable(html$.AccessibleNode), - [S$.$expanded]: dart.nullable(core.bool), - [S$.$flowTo]: dart.nullable(html$.AccessibleNodeList), - [S$.$hasPopUp]: dart.nullable(core.String), - [S.$hidden]: dart.nullable(core.bool), - [S$.$invalid]: dart.nullable(core.String), - [S$.$keyShortcuts]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$labeledBy]: dart.nullable(html$.AccessibleNodeList), - [S$.$level]: dart.nullable(core.int), - [S$.$live]: dart.nullable(core.String), - [S$.$modal]: dart.nullable(core.bool), - [S$.$multiline]: dart.nullable(core.bool), - [S$.$multiselectable]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(core.String), - [S$.$owns]: dart.nullable(html$.AccessibleNodeList), - [S$.$placeholder]: dart.nullable(core.String), - [S$.$posInSet]: dart.nullable(core.int), - [S$.$pressed]: dart.nullable(core.String), - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$relevant]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$.$role]: dart.nullable(core.String), - [S$.$roleDescription]: dart.nullable(core.String), - [S$.$rowCount]: dart.nullable(core.int), - [S$.$rowIndex]: dart.nullable(core.int), - [S$.$rowSpan]: dart.nullable(core.int), - [S$.$selected]: dart.nullable(core.bool), - [S$.$setSize]: dart.nullable(core.int), - [$sort]: dart.nullable(core.String), - [S$.$valueMax]: dart.nullable(core.num), - [S$.$valueMin]: dart.nullable(core.num), - [S$.$valueNow]: dart.nullable(core.num), - [S$.$valueText]: dart.nullable(core.String) -})); -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[306] || CT.C306; - }, - /*html$.AccessibleNode.accessibleContextMenuEvent*/get accessibleContextMenuEvent() { - return C[307] || CT.C307; - }, - /*html$.AccessibleNode.accessibleDecrementEvent*/get accessibleDecrementEvent() { - return C[308] || CT.C308; - }, - /*html$.AccessibleNode.accessibleFocusEvent*/get accessibleFocusEvent() { - return C[309] || CT.C309; - }, - /*html$.AccessibleNode.accessibleIncrementEvent*/get accessibleIncrementEvent() { - return C[310] || CT.C310; - }, - /*html$.AccessibleNode.accessibleScrollIntoViewEvent*/get accessibleScrollIntoViewEvent() { - return C[311] || CT.C311; - } -}, false); -dart.registerExtension("AccessibleNode", html$.AccessibleNode); -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); - } - static _create_2() { - return new AccessibleNodeList(); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } -}; -dart.addTypeTests(html$.AccessibleNodeList); -dart.addTypeCaches(html$.AccessibleNodeList); -dart.setMethodSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getMethods(html$.AccessibleNodeList.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, html$.AccessibleNode]), - [$add]: dart.fnType(dart.void, [html$.AccessibleNode, dart.nullable(html$.AccessibleNode)]), - [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) -})); -dart.setSetterSignature(html$.AccessibleNodeList, () => ({ - __proto__: dart.getSetters(html$.AccessibleNodeList.__proto__), - [$length]: dart.nullable(core.int) -})); -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); - return html$.AmbientLightSensor._create_1(sensorOptions_1); - } - return html$.AmbientLightSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.AmbientLightSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new AmbientLightSensor(sensorOptions); - } - static _create_2() { - return new AmbientLightSensor(); - } - get [S$.$illuminance]() { - return this.illuminance; - } -}; -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[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; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } -}; -(html$.AnchorElement.created = function() { - html$.AnchorElement.__proto__.created.call(this); - ; -}).prototype = html$.AnchorElement.prototype; -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), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.AnchorElement, () => ({ - __proto__: dart.getSetters(html$.AnchorElement.__proto__), - [S$.$download]: dart.nullable(core.String), - [S$.$hreflang]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S.$target]: core.String, - [S.$type]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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); - } - if (effect != null) { - return html$.Animation._create_2(effect); - } - 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); - } - static _create_2(effect) { - return new Animation(effect); - } - static _create_3() { - return new Animation(); - } - static get supported() { - return !!document.body.animate; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$effect]() { - return this.effect; - } - set [S$.$effect](value) { - this.effect = value; - } - get [S$.$finished]() { - return js_util.promiseToFuture(html$.Animation, this.finished); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$.$playState]() { - return this.playState; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.Animation, this.ready); - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$.$timeline]() { - return this.timeline; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } - [S$.$reverse](...args) { - return this.reverse.apply(this, args); - } - get [S$.$onCancel]() { - return html$.Animation.cancelEvent.forTarget(this); - } - get [S$.$onFinish]() { - return html$.Animation.finishEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Animation); -dart.addTypeCaches(html$.Animation); -dart.setMethodSignature(html$.Animation, () => ({ - __proto__: dart.getMethods(html$.Animation.__proto__), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$.$finish]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [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), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S$.$finished]: async.Future$(html$.Animation), - [S.$id]: dart.nullable(core.String), - [S$.$playState]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$ready]: async.Future$(html$.Animation), - [S$.$startTime]: dart.nullable(core.num), - [S$.$timeline]: dart.nullable(html$.AnimationTimeline), - [S$.$onCancel]: async.Stream$(html$.Event), - [S$.$onFinish]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.Animation, () => ({ - __proto__: dart.getSetters(html$.Animation.__proto__), - [S$.$currentTime]: dart.nullable(core.num), - [S$.$effect]: dart.nullable(html$.AnimationEffectReadOnly), - [S.$id]: dart.nullable(core.String), - [S$.$playbackRate]: dart.nullable(core.num), - [S$.$startTime]: dart.nullable(core.num) -})); -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[312] || CT.C312; - }, - /*html$.Animation.finishEvent*/get finishEvent() { - return C[313] || CT.C313; - } -}, false); -dart.registerExtension("Animation", html$.Animation); -html$.AnimationEffectReadOnly = class AnimationEffectReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectReadOnly.__(); - } - get [S$.$timing]() { - return this.timing; - } - [S$.$getComputedTiming]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getComputedTiming_1]())); - } - [S$._getComputedTiming_1](...args) { - return this.getComputedTiming.apply(this, args); - } -}; -dart.addTypeTests(html$.AnimationEffectReadOnly); -dart.addTypeCaches(html$.AnimationEffectReadOnly); -dart.setMethodSignature(html$.AnimationEffectReadOnly, () => ({ - __proto__: dart.getMethods(html$.AnimationEffectReadOnly.__proto__), - [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[150]); -dart.registerExtension("AnimationEffectReadOnly", html$.AnimationEffectReadOnly); -html$.AnimationEffectTimingReadOnly = class AnimationEffectTimingReadOnly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.AnimationEffectTimingReadOnly.__(); - } - get [S$.$delay]() { - return this.delay; - } - get [S.$direction]() { - return this.direction; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$easing]() { - return this.easing; - } - get [S$.$endDelay]() { - return this.endDelay; - } - get [S$.$fill]() { - return this.fill; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - get [S$.$iterations]() { - return this.iterations; - } -}; -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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) -})); -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; - } - set [S$.$delay](value) { - this.delay = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S$.$easing]() { - return this.easing; - } - set [S$.$easing](value) { - this.easing = value; - } - get [S$.$endDelay]() { - return this.endDelay; - } - set [S$.$endDelay](value) { - this.endDelay = value; - } - get [S$.$fill]() { - return this.fill; - } - set [S$.$fill](value) { - this.fill = value; - } - get [S$.$iterationStart]() { - return this.iterationStart; - } - set [S$.$iterationStart](value) { - this.iterationStart = value; - } - get [S$.$iterations]() { - return this.iterations; - } - set [S$.$iterations](value) { - this.iterations = value; - } -}; -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), - [S.$direction]: dart.nullable(core.String), - [S$.$duration]: dart.nullable(core.Object), - [S$.$easing]: dart.nullable(core.String), - [S$.$endDelay]: dart.nullable(core.num), - [S$.$fill]: dart.nullable(core.String), - [S$.$iterationStart]: dart.nullable(core.num), - [S$.$iterations]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new AnimationEvent(type); - } - get [S$.$animationName]() { - return this.animationName; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } -}; -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[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[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); - } - static _create_2(type) { - return new AnimationPlaybackEvent(type); - } - get [S$.$currentTime]() { - return this.currentTime; - } - get [S$.$timelineTime]() { - return this.timelineTime; - } -}; -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[150]); -dart.registerExtension("AnimationPlaybackEvent", html$.AnimationPlaybackEvent); -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[150]); -dart.registerExtension("AnimationTimeline", html$.AnimationTimeline); -html$.WorkletGlobalScope = class WorkletGlobalScope extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletGlobalScope.__(); - } -}; -dart.addTypeTests(html$.WorkletGlobalScope); -dart.addTypeCaches(html$.WorkletGlobalScope); -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); - } -}; -dart.addTypeTests(html$.AnimationWorkletGlobalScope); -dart.addTypeCaches(html$.AnimationWorkletGlobalScope); -dart.setMethodSignature(html$.AnimationWorkletGlobalScope, () => ({ - __proto__: dart.getMethods(html$.AnimationWorkletGlobalScope.__proto__), - [S$.$registerAnimator]: dart.fnType(dart.void, [core.String, core.Object]) -})); -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; - } - get [S$.$status]() { - return this.status; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$swapCache](...args) { - return this.swapCache.apply(this, args); - } - [$update](...args) { - return this.update.apply(this, args); - } - get [S$.$onCached]() { - return html$.ApplicationCache.cachedEvent.forTarget(this); - } - get [S$.$onChecking]() { - return html$.ApplicationCache.checkingEvent.forTarget(this); - } - get [S$.$onDownloading]() { - return html$.ApplicationCache.downloadingEvent.forTarget(this); - } - get [S.$onError]() { - return html$.ApplicationCache.errorEvent.forTarget(this); - } - get [S$.$onNoUpdate]() { - return html$.ApplicationCache.noUpdateEvent.forTarget(this); - } - get [S$.$onObsolete]() { - return html$.ApplicationCache.obsoleteEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.ApplicationCache.progressEvent.forTarget(this); - } - get [S$.$onUpdateReady]() { - return html$.ApplicationCache.updateReadyEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ApplicationCache); -dart.addTypeCaches(html$.ApplicationCache); -dart.setMethodSignature(html$.ApplicationCache, () => ({ - __proto__: dart.getMethods(html$.ApplicationCache.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$.$onCached]: async.Stream$(html$.Event), - [S$.$onChecking]: async.Stream$(html$.Event), - [S$.$onDownloading]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onNoUpdate]: async.Stream$(html$.Event), - [S$.$onObsolete]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$.$onUpdateReady]: async.Stream$(html$.Event) -})); -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[314] || CT.C314; - }, - /*html$.ApplicationCache.checkingEvent*/get checkingEvent() { - return C[315] || CT.C315; - }, - /*html$.ApplicationCache.downloadingEvent*/get downloadingEvent() { - return C[316] || CT.C316; - }, - /*html$.ApplicationCache.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.ApplicationCache.noUpdateEvent*/get noUpdateEvent() { - return C[317] || CT.C317; - }, - /*html$.ApplicationCache.obsoleteEvent*/get obsoleteEvent() { - return C[318] || CT.C318; - }, - /*html$.ApplicationCache.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.ApplicationCache.updateReadyEvent*/get updateReadyEvent() { - return C[320] || CT.C320; - }, - /*html$.ApplicationCache.CHECKING*/get CHECKING() { - return 2; - }, - /*html$.ApplicationCache.DOWNLOADING*/get DOWNLOADING() { - return 3; - }, - /*html$.ApplicationCache.IDLE*/get IDLE() { - return 1; - }, - /*html$.ApplicationCache.OBSOLETE*/get OBSOLETE() { - return 5; - }, - /*html$.ApplicationCache.UNCACHED*/get UNCACHED() { - return 0; - }, - /*html$.ApplicationCache.UPDATEREADY*/get UPDATEREADY() { - return 4; - } -}, false); -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[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); - } - static _create_2(type) { - return new ApplicationCacheErrorEvent(type); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$status]() { - return this.status; - } - get [S$.$url]() { - return this.url; - } -}; -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), - [S$.$reason]: dart.nullable(core.String), - [S$.$status]: dart.nullable(core.int), - [S$.$url]: dart.nullable(core.String) -})); -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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$.$coords]() { - return this.coords; - } - set [S$.$coords](value) { - this.coords = value; - } - get [S$.$download]() { - return this.download; - } - set [S$.$download](value) { - this.download = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$.$shape]() { - return this.shape; - } - set [S$.$shape](value) { - this.shape = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } - [$toString]() { - return String(this); - } -}; -(html$.AreaElement.created = function() { - html$.AreaElement.__proto__.created.call(this); - ; -}).prototype = html$.AreaElement.prototype; -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, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.AreaElement, () => ({ - __proto__: dart.getSetters(html$.AreaElement.__proto__), - [S$.$alt]: core.String, - [S$.$coords]: core.String, - [S$.$download]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$.$shape]: core.String, - [S.$target]: core.String, - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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; - } - get [S$.$autoplay]() { - return this.autoplay; - } - set [S$.$autoplay](value) { - this.autoplay = value; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S$.$controls]() { - return this.controls; - } - set [S$.$controls](value) { - this.controls = value; - } - get [S$.$controlsList]() { - return this.controlsList; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [S$.$currentTime]() { - return this.currentTime; - } - set [S$.$currentTime](value) { - this.currentTime = value; - } - get [S$.$defaultMuted]() { - return this.defaultMuted; - } - set [S$.$defaultMuted](value) { - this.defaultMuted = value; - } - get [S$.$defaultPlaybackRate]() { - return this.defaultPlaybackRate; - } - set [S$.$defaultPlaybackRate](value) { - this.defaultPlaybackRate = value; - } - get [S$.$disableRemotePlayback]() { - return this.disableRemotePlayback; - } - set [S$.$disableRemotePlayback](value) { - this.disableRemotePlayback = value; - } - get [S$.$duration]() { - return this.duration; - } - get [S$.$ended]() { - return this.ended; - } - get [S.$error]() { - return this.error; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$.$mediaKeys]() { - return this.mediaKeys; - } - get [S$.$muted]() { - return this.muted; - } - set [S$.$muted](value) { - this.muted = value; - } - get [S$.$networkState]() { - return this.networkState; - } - get [S$.$paused]() { - return this.paused; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - set [S$.$playbackRate](value) { - this.playbackRate = value; - } - get [S$.$played]() { - return this.played; - } - get [S$.$preload]() { - return this.preload; - } - set [S$.$preload](value) { - this.preload = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$remote]() { - return this.remote; - } - get [S$.$seekable]() { - return this.seekable; - } - get [S$.$seeking]() { - return this.seeking; - } - get [S$.$sinkId]() { - return this.sinkId; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$.$srcObject]() { - return this.srcObject; - } - set [S$.$srcObject](value) { - this.srcObject = value; - } - get [S$.$textTracks]() { - return this.textTracks; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$.$audioDecodedByteCount]() { - return this.webkitAudioDecodedByteCount; - } - get [S$.$videoDecodedByteCount]() { - return this.webkitVideoDecodedByteCount; - } - [S$.$addTextTrack](...args) { - return this.addTextTrack.apply(this, args); - } - [S$.$canPlayType](...args) { - return this.canPlayType.apply(this, args); - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$load](...args) { - return this.load.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$.$play]() { - return js_util.promiseToFuture(dart.dynamic, this.play()); - } - [S$.$setMediaKeys](mediaKeys) { - return js_util.promiseToFuture(dart.dynamic, this.setMediaKeys(mediaKeys)); - } - [S$.$setSinkId](sinkId) { - if (sinkId == null) dart.nullFailed(I[149], 20840, 27, "sinkId"); - return js_util.promiseToFuture(dart.dynamic, this.setSinkId(sinkId)); - } -}; -(html$.MediaElement.created = function() { - html$.MediaElement.__proto__.created.call(this); - ; -}).prototype = html$.MediaElement.prototype; -dart.addTypeTests(html$.MediaElement); -dart.addTypeCaches(html$.MediaElement); -dart.setMethodSignature(html$.MediaElement, () => ({ - __proto__: dart.getMethods(html$.MediaElement.__proto__), - [S$.$addTextTrack]: dart.fnType(html$.TextTrack, [core.String], [dart.nullable(core.String), dart.nullable(core.String)]), - [S$.$canPlayType]: dart.fnType(core.String, [dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$captureStream]: dart.fnType(html$.MediaStream, []), - [S$.$load]: dart.fnType(dart.void, []), - [S$.$pause]: dart.fnType(dart.void, []), - [S$.$play]: dart.fnType(async.Future, []), - [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), - [S$.$autoplay]: core.bool, - [S$.$buffered]: html$.TimeRanges, - [S$.$controls]: core.bool, - [S$.$controlsList]: dart.nullable(html$.DomTokenList), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: core.String, - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$duration]: core.num, - [S$.$ended]: core.bool, - [S.$error]: dart.nullable(html$.MediaError), - [S$.$loop]: core.bool, - [S$.$mediaKeys]: dart.nullable(html$.MediaKeys), - [S$.$muted]: core.bool, - [S$.$networkState]: dart.nullable(core.int), - [S$.$paused]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$played]: html$.TimeRanges, - [S$.$preload]: core.String, - [S.$readyState]: core.int, - [S$.$remote]: dart.nullable(html$.RemotePlayback), - [S$.$seekable]: html$.TimeRanges, - [S$.$seeking]: core.bool, - [S$.$sinkId]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$textTracks]: dart.nullable(html$.TextTrackList), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S$.$volume]: core.num, - [S$.$audioDecodedByteCount]: dart.nullable(core.int), - [S$.$videoDecodedByteCount]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.MediaElement, () => ({ - __proto__: dart.getSetters(html$.MediaElement.__proto__), - [S$.$autoplay]: core.bool, - [S$.$controls]: core.bool, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentTime]: core.num, - [S$.$defaultMuted]: dart.nullable(core.bool), - [S$.$defaultPlaybackRate]: core.num, - [S$.$disableRemotePlayback]: core.bool, - [S$.$loop]: core.bool, - [S$.$muted]: core.bool, - [S$.$playbackRate]: core.num, - [S$.$preload]: core.String, - [S$.$src]: core.String, - [S$.$srcObject]: dart.nullable(html$.MediaStream), - [S$.$volume]: core.num -})); -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; - }, - /*html$.MediaElement.HAVE_ENOUGH_DATA*/get HAVE_ENOUGH_DATA() { - return 4; - }, - /*html$.MediaElement.HAVE_FUTURE_DATA*/get HAVE_FUTURE_DATA() { - return 3; - }, - /*html$.MediaElement.HAVE_METADATA*/get HAVE_METADATA() { - return 1; - }, - /*html$.MediaElement.HAVE_NOTHING*/get HAVE_NOTHING() { - return 0; - }, - /*html$.MediaElement.NETWORK_EMPTY*/get NETWORK_EMPTY() { - return 0; - }, - /*html$.MediaElement.NETWORK_IDLE*/get NETWORK_IDLE() { - return 1; - }, - /*html$.MediaElement.NETWORK_LOADING*/get NETWORK_LOADING() { - return 2; - }, - /*html$.MediaElement.NETWORK_NO_SOURCE*/get NETWORK_NO_SOURCE() { - return 3; - } -}, false); -dart.registerExtension("HTMLMediaElement", html$.MediaElement); -html$.AudioElement = class AudioElement extends html$.MediaElement { - static __(src = null) { - if (src != null) { - return html$.AudioElement._create_1(src); - } - 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); - ; -}).prototype = html$.AudioElement.prototype; -dart.addTypeTests(html$.AudioElement); -dart.addTypeCaches(html$.AudioElement); -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.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[150]); -dart.registerExtension("AuthenticatorResponse", html$.AuthenticatorResponse); -html$.AuthenticatorAssertionResponse = class AuthenticatorAssertionResponse extends html$.AuthenticatorResponse { - static ['_#_#tearOff']() { - return html$.AuthenticatorAssertionResponse.__(); - } - get [S$.$authenticatorData]() { - return this.authenticatorData; - } - get [S$.$signature]() { - return this.signature; - } -}; -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[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[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); - ; -}).prototype = html$.BRElement.prototype; -dart.addTypeTests(html$.BRElement); -dart.addTypeCaches(html$.BRElement); -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[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); - } - get [S.$id]() { - return this.id; - } -}; -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[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[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); - } - get [S$.$state]() { - return this.state; - } -}; -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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } -}; -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[150]); -dart.registerExtension("BackgroundFetchFailEvent", html$.BackgroundFetchFailEvent); -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[150]); -dart.registerExtension("BackgroundFetchFetch", html$.BackgroundFetchFetch); -html$.BackgroundFetchManager = class BackgroundFetchManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BackgroundFetchManager.__(); - } - [S$.$fetch](id, requests, options = null) { - 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); - } - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.fetch(id, requests, options_dict)); - } - [S.$get](id) { - if (id == null) dart.nullFailed(I[149], 1366, 50, "id"); - return js_util.promiseToFuture(html$.BackgroundFetchRegistration, this.get(id)); - } - [S$.$getIds]() { - return js_util.promiseToFuture(core.List, this.getIds()); - } -}; -dart.addTypeTests(html$.BackgroundFetchManager); -dart.addTypeCaches(html$.BackgroundFetchManager); -dart.setMethodSignature(html$.BackgroundFetchManager, () => ({ - __proto__: dart.getMethods(html$.BackgroundFetchManager.__proto__), - [S$.$fetch]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String, core.Object], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future$(html$.BackgroundFetchRegistration), [core.String]), - [S$.$getIds]: dart.fnType(async.Future$(core.List), []) -})); -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; - } - get [S$.$downloaded]() { - return this.downloaded; - } - get [S.$id]() { - return this.id; - } - get [S.$title]() { - return this.title; - } - get [S$.$totalDownloadSize]() { - return this.totalDownloadSize; - } - get [S$.$uploadTotal]() { - return this.uploadTotal; - } - get [S$.$uploaded]() { - return this.uploaded; - } - [S.$abort]() { - return js_util.promiseToFuture(core.bool, this.abort()); - } -}; -dart.addTypeTests(html$.BackgroundFetchRegistration); -dart.addTypeCaches(html$.BackgroundFetchRegistration); -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), - [S$.$downloaded]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.String), - [S.$title]: dart.nullable(core.String), - [S$.$totalDownloadSize]: dart.nullable(core.int), - [S$.$uploadTotal]: dart.nullable(core.int), - [S$.$uploaded]: dart.nullable(core.int) -})); -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[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); - } - get [S$.$response]() { - return this.response; - } -}; -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[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[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); - } - get [S$.$fetches]() { - return this.fetches; - } - [S$.$updateUI](title) { - if (title == null) dart.nullFailed(I[149], 1442, 26, "title"); - return js_util.promiseToFuture(dart.dynamic, this.updateUI(title)); - } -}; -dart.addTypeTests(html$.BackgroundFetchedEvent); -dart.addTypeCaches(html$.BackgroundFetchedEvent); -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[150]); -dart.registerExtension("BackgroundFetchedEvent", html$.BackgroundFetchedEvent); -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[150]); -dart.registerExtension("BarProp", html$.BarProp); -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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.BarcodeDetector); -dart.addTypeCaches(html$.BarcodeDetector); -dart.setMethodSignature(html$.BarcodeDetector, () => ({ - __proto__: dart.getMethods(html$.BarcodeDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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; - } - set [S$.$href](value) { - this.href = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } -}; -(html$.BaseElement.created = function() { - html$.BaseElement.__proto__.created.call(this); - ; -}).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, - [S.$target]: core.String -})); -dart.setSetterSignature(html$.BaseElement, () => ({ - __proto__: dart.getSetters(html$.BaseElement.__proto__), - [S$.$href]: core.String, - [S.$target]: core.String -})); -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; - } - get [S$.$chargingTime]() { - return this.chargingTime; - } - get [S$.$dischargingTime]() { - return this.dischargingTime; - } - get [S$.$level]() { - return this.level; - } -}; -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), - [S$.$chargingTime]: dart.nullable(core.num), - [S$.$dischargingTime]: dart.nullable(core.num), - [S$.$level]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new BeforeInstallPromptEvent(type); - } - get [S$.$platforms]() { - return this.platforms; - } - get [S$.$userChoice]() { - return html$.promiseToFutureAsMap(this.userChoice); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } -}; -dart.addTypeTests(html$.BeforeInstallPromptEvent); -dart.addTypeCaches(html$.BeforeInstallPromptEvent); -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[150]); -dart.registerExtension("BeforeInstallPromptEvent", html$.BeforeInstallPromptEvent); -html$.BeforeUnloadEvent = class BeforeUnloadEvent extends html$.Event { - static ['_#_#tearOff']() { - return html$.BeforeUnloadEvent.__(); - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } -}; -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) -})); -dart.setSetterSignature(html$.BeforeUnloadEvent, () => ({ - __proto__: dart.getSetters(html$.BeforeUnloadEvent.__proto__), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.BeforeUnloadEvent, I[150]); -dart.registerExtension("BeforeUnloadEvent", html$.BeforeUnloadEvent); -html$.Blob = class Blob extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Blob.__(); - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } - [S$.$slice](...args) { - return this.slice.apply(this, args); - } - static new(blobParts, type = null, endings = null) { - if (blobParts == null) dart.nullFailed(I[149], 1597, 21, "blobParts"); - if (type == null && endings == null) { - return html$.Blob.as(html$.Blob._create_1(blobParts)); - } - let bag = html$.Blob._create_bag(); - if (type != null) html$.Blob._bag_set(bag, "type", type); - 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); - } - static _create_2(parts, bag) { - return new self.Blob(parts, bag); - } - static _create_bag() { - return {}; - } - static _bag_set(bag, key, value) { - bag[key] = value; - } -}; -dart.addTypeTests(html$.Blob); -dart.addTypeCaches(html$.Blob); -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[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[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); - } - get [S$.$data]() { - return this.data; - } - get [S$.$timecode]() { - return this.timecode; - } -}; -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[150]); -dart.registerExtension("BlobEvent", html$.BlobEvent); -html$.BluetoothRemoteGattDescriptor = class BluetoothRemoteGattDescriptor extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BluetoothRemoteGattDescriptor.__(); - } - get [S$.$characteristic]() { - return this.characteristic; - } - get [S$.$uuid]() { - return this.uuid; - } - get [S.$value]() { - return this.value; - } - [S$.$readValue]() { - return js_util.promiseToFuture(dart.dynamic, this.readValue()); - } - [S$.$writeValue](value) { - return js_util.promiseToFuture(dart.dynamic, this.writeValue(value)); - } -}; -dart.addTypeTests(html$.BluetoothRemoteGattDescriptor); -dart.addTypeCaches(html$.BluetoothRemoteGattDescriptor); -dart.setMethodSignature(html$.BluetoothRemoteGattDescriptor, () => ({ - __proto__: dart.getMethods(html$.BluetoothRemoteGattDescriptor.__proto__), - [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[150]); -dart.registerExtension("BluetoothRemoteGATTDescriptor", html$.BluetoothRemoteGattDescriptor); -html$.Body = class Body extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Body.__(); - } - get [S$.$bodyUsed]() { - return this.bodyUsed; - } - [S$.$arrayBuffer]() { - return js_util.promiseToFuture(dart.dynamic, this.arrayBuffer()); - } - [S$.$blob]() { - return js_util.promiseToFuture(html$.Blob, this.blob()); - } - [S$.$formData]() { - return js_util.promiseToFuture(html$.FormData, this.formData()); - } - [S$.$json]() { - return js_util.promiseToFuture(dart.dynamic, this.json()); - } - [S.$text]() { - return js_util.promiseToFuture(core.String, this.text()); - } -}; -dart.addTypeTests(html$.Body); -dart.addTypeCaches(html$.Body); -dart.setMethodSignature(html$.Body, () => ({ - __proto__: dart.getMethods(html$.Body.__proto__), - [S$.$arrayBuffer]: dart.fnType(async.Future, []), - [S$.$blob]: dart.fnType(async.Future$(html$.Blob), []), - [S$.$formData]: dart.fnType(async.Future$(html$.FormData), []), - [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[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); - } - get [S.$onError]() { - return html$.BodyElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return html$.BodyElement.focusEvent.forElement(this); - } - get [S$.$onHashChange]() { - return html$.BodyElement.hashChangeEvent.forElement(this); - } - get [S.$onLoad]() { - return html$.BodyElement.loadEvent.forElement(this); - } - get [S$.$onMessage]() { - return html$.BodyElement.messageEvent.forElement(this); - } - get [S$.$onOffline]() { - return html$.BodyElement.offlineEvent.forElement(this); - } - get [S$.$onOnline]() { - return html$.BodyElement.onlineEvent.forElement(this); - } - get [S$.$onPopState]() { - return html$.BodyElement.popStateEvent.forElement(this); - } - get [S$.$onResize]() { - return html$.BodyElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return html$.BodyElement.scrollEvent.forElement(this); - } - get [S$.$onStorage]() { - return html$.BodyElement.storageEvent.forElement(this); - } - get [S$.$onUnload]() { - return html$.BodyElement.unloadEvent.forElement(this); - } -}; -(html$.BodyElement.created = function() { - html$.BodyElement.__proto__.created.call(this); - ; -}).prototype = html$.BodyElement.prototype; -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), - [S$.$onMessage]: html$.ElementStream$(html$.MessageEvent), - [S$.$onOffline]: html$.ElementStream$(html$.Event), - [S$.$onOnline]: html$.ElementStream$(html$.Event), - [S$.$onPopState]: html$.ElementStream$(html$.PopStateEvent), - [S$.$onStorage]: html$.ElementStream$(html$.StorageEvent), - [S$.$onUnload]: html$.ElementStream$(html$.Event) -})); -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[243] || CT.C243; - }, - /*html$.BodyElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.BodyElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.BodyElement.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.BodyElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.BodyElement.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.BodyElement.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.BodyElement.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.BodyElement.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.BodyElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.BodyElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.BodyElement.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.BodyElement.unloadEvent*/get unloadEvent() { - 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[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); - } - get [$name]() { - return this.name; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } - get [S$.$onMessage]() { - return html$.BroadcastChannel.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.BroadcastChannel); -dart.addTypeCaches(html$.BroadcastChannel); -dart.setMethodSignature(html$.BroadcastChannel, () => ({ - __proto__: dart.getMethods(html$.BroadcastChannel.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.BroadcastChannel, () => ['messageEvent']); -dart.defineLazy(html$.BroadcastChannel, { - /*html$.BroadcastChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } -}, false); -dart.registerExtension("BroadcastChannel", html$.BroadcastChannel); -html$.BudgetState = class BudgetState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.BudgetState.__(); - } - get [S$.$budgetAt]() { - return this.budgetAt; - } - get [S$.$time]() { - return this.time; - } -}; -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[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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.ButtonElement.created = function() { - html$.ButtonElement.__proto__.created.call(this); - ; -}).prototype = html$.ButtonElement.prototype; -dart.addTypeTests(html$.ButtonElement); -dart.addTypeCaches(html$.ButtonElement); -dart.setMethodSignature(html$.ButtonElement, () => ({ - __proto__: dart.getMethods(html$.ButtonElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: core.String, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.ButtonElement, () => ({ - __proto__: dart.getSetters(html$.ButtonElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [S$.$formAction]: dart.nullable(core.String), - [S$.$formEnctype]: dart.nullable(core.String), - [S$.$formMethod]: dart.nullable(core.String), - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S.$value]: core.String -})); -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; - } - set [S$.$data](value) { - this.data = value; - } - get [$length]() { - return this.length; - } - [S$.$appendData](...args) { - return this.appendData.apply(this, args); - } - [S$.$deleteData](...args) { - return this.deleteData.apply(this, args); - } - [S$.$insertData](...args) { - return this.insertData.apply(this, args); - } - [S$.$replaceData](...args) { - return this.replaceData.apply(this, args); - } - [S$.$substringData](...args) { - return this.substringData.apply(this, args); - } - [S.$after](...args) { - return this.after.apply(this, args); - } - [S.$before](...args) { - return this.before.apply(this, args); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } -}; -dart.addTypeTests(html$.CharacterData); -dart.addTypeCaches(html$.CharacterData); -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]), - [S$.$deleteData]: dart.fnType(dart.void, [core.int, core.int]), - [S$.$insertData]: dart.fnType(dart.void, [core.int, core.String]), - [S$.$replaceData]: dart.fnType(dart.void, [core.int, core.int, core.String]), - [S$.$substringData]: dart.fnType(core.String, [core.int, core.int]), - [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), - [$length]: dart.nullable(core.int), - [S.$nextElementSibling]: dart.nullable(html$.Element), - [S.$previousElementSibling]: dart.nullable(html$.Element) -})); -dart.setSetterSignature(html$.CharacterData, () => ({ - __proto__: dart.getSetters(html$.CharacterData.__proto__), - [S$.$data]: dart.nullable(core.String) -})); -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[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; - } - get [S$.$wholeText]() { - return this.wholeText; - } - [S.$getDestinationInsertionPoints](...args) { - return this.getDestinationInsertionPoints.apply(this, args); - } - [S$.$splitText](...args) { - return this.splitText.apply(this, args); - } -}; -dart.addTypeTests(html$.Text); -dart.addTypeCaches(html$.Text); -dart.setMethodSignature(html$.Text, () => ({ - __proto__: dart.getMethods(html$.Text.__proto__), - [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[150]); -dart.registerExtension("Text", html$.Text); -html$.CDataSection = class CDataSection extends html$.Text { - static ['_#_#tearOff']() { - return html$.CDataSection.__(); - } -}; -dart.addTypeTests(html$.CDataSection); -dart.addTypeCaches(html$.CDataSection); -dart.setStaticMethodSignature(html$.CDataSection, () => ['__']); -dart.setLibraryUri(html$.CDataSection, I[150]); -dart.registerExtension("CDATASection", html$.CDataSection); -html$.CacheStorage = class CacheStorage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CacheStorage.__(); - } - [S.$delete](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[149], 2018, 21, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.has(cacheName)); - } - [$keys]() { - return js_util.promiseToFuture(dart.dynamic, this.keys()); - } - [S$.$match](request, options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.match(request, options_dict)); - } - [S.$open](cacheName) { - if (cacheName == null) dart.nullFailed(I[149], 2032, 22, "cacheName"); - return js_util.promiseToFuture(dart.dynamic, this.open(cacheName)); - } -}; -dart.addTypeTests(html$.CacheStorage); -dart.addTypeCaches(html$.CacheStorage); -dart.setMethodSignature(html$.CacheStorage, () => ({ - __proto__: dart.getMethods(html$.CacheStorage.__proto__), - [S.$delete]: dart.fnType(async.Future, [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future, []), - [S$.$match]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S.$open]: dart.fnType(async.Future, [core.String]) -})); -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[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); - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.CanMakePaymentEvent); -dart.addTypeCaches(html$.CanMakePaymentEvent); -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), - [S$.$modifiers]: dart.nullable(core.List), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String) -})); -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; - } - set [S$.$contentHint](value) { - this.contentHint = value; - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$.$muted]() { - return this.muted; - } - get [S.$readyState]() { - return this.readyState; - } - [S$.$applyConstraints](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(dart.dynamic, this.applyConstraints(constraints_dict)); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$.$getCapabilities]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getCapabilities_1]())); - } - [S$._getCapabilities_1](...args) { - return this.getCapabilities.apply(this, args); - } - [S$.$getConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getConstraints_1]())); - } - [S$._getConstraints_1](...args) { - return this.getConstraints.apply(this, args); - } - [S$.$getSettings]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getSettings_1]())); - } - [S$._getSettings_1](...args) { - return this.getSettings.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return html$.MediaStreamTrack.endedEvent.forTarget(this); - } - get [S$.$onMute]() { - return html$.MediaStreamTrack.muteEvent.forTarget(this); - } - get [S$.$onUnmute]() { - return html$.MediaStreamTrack.unmuteEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaStreamTrack); -dart.addTypeCaches(html$.MediaStreamTrack); -dart.setMethodSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getMethods(html$.MediaStreamTrack.__proto__), - [S$.$applyConstraints]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$clone]: dart.fnType(html$.MediaStreamTrack, []), - [S$.$getCapabilities]: dart.fnType(core.Map, []), - [S$._getCapabilities_1]: dart.fnType(dart.dynamic, []), - [S$.$getConstraints]: dart.fnType(core.Map, []), - [S$._getConstraints_1]: dart.fnType(dart.dynamic, []), - [S$.$getSettings]: dart.fnType(core.Map, []), - [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), - [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$.$muted]: dart.nullable(core.bool), - [S.$readyState]: dart.nullable(core.String), - [S.$onEnded]: async.Stream$(html$.Event), - [S$.$onMute]: async.Stream$(html$.Event), - [S$.$onUnmute]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.MediaStreamTrack, () => ({ - __proto__: dart.getSetters(html$.MediaStreamTrack.__proto__), - [S$.$contentHint]: dart.nullable(core.String), - [S$.$enabled]: dart.nullable(core.bool) -})); -dart.setLibraryUri(html$.MediaStreamTrack, I[150]); -dart.setStaticFieldSignature(html$.MediaStreamTrack, () => ['endedEvent', 'muteEvent', 'unmuteEvent']); -dart.defineLazy(html$.MediaStreamTrack, { - /*html$.MediaStreamTrack.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.MediaStreamTrack.muteEvent*/get muteEvent() { - return C[328] || CT.C328; - }, - /*html$.MediaStreamTrack.unmuteEvent*/get unmuteEvent() { - 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; - } - [S$.$requestFrame](...args) { - return this.requestFrame.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasCaptureMediaStreamTrack); -dart.addTypeCaches(html$.CanvasCaptureMediaStreamTrack); -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[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; - let e = html$.document.createElement("canvas"); - if (width != null) e.width = width; - 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; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.$captureStream](...args) { - return this.captureStream.apply(this, args); - } - [S$.$getContext](contextId, attributes = null) { - 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); - } - return this[S$._getContext_2](contextId); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$._toDataUrl](...args) { - return this.toDataURL.apply(this, args); - } - [S$.$transferControlToOffscreen](...args) { - return this.transferControlToOffscreen.apply(this, args); - } - get [S$.$onWebGlContextLost]() { - return html$.CanvasElement.webGlContextLostEvent.forElement(this); - } - get [S$.$onWebGlContextRestored]() { - return html$.CanvasElement.webGlContextRestoredEvent.forElement(this); - } - get [S$.$context2D]() { - return this.getContext("2d"); - } - [S$.$getContext3d](opts) { - let alpha = opts && 'alpha' in opts ? opts.alpha : true; - let depth = opts && 'depth' in opts ? opts.depth : true; - let stencil = opts && 'stencil' in opts ? opts.stencil : false; - let antialias = opts && 'antialias' in opts ? opts.antialias : true; - let premultipliedAlpha = opts && 'premultipliedAlpha' in opts ? opts.premultipliedAlpha : true; - let preserveDrawingBuffer = opts && 'preserveDrawingBuffer' in opts ? opts.preserveDrawingBuffer : false; - let options = new (T$0.IdentityMapOfString$dynamic()).from(["alpha", alpha, "depth", depth, "stencil", stencil, "antialias", antialias, "premultipliedAlpha", premultipliedAlpha, "preserveDrawingBuffer", preserveDrawingBuffer]); - let context = this[S$.$getContext]("webgl", options); - if (context == null) { - context = this[S$.$getContext]("experimental-webgl", options); - } - return T$0.RenderingContextN().as(context); - } - [S$.$toDataUrl](type = "image/png", quality = null) { - if (type == null) dart.nullFailed(I[149], 2251, 28, "type"); - return this[S$._toDataUrl](type, quality); - } - [S$._toBlob](...args) { - return this.toBlob.apply(this, args); - } - [S$.$toBlob](type = null, $arguments = null) { - let completer = T$0.CompleterOfBlob().new(); - this[S$._toBlob](dart.fn(value => { - completer.complete(value); - }, T$0.BlobNTovoid()), type, $arguments); - return completer.future; - } -}; -(html$.CanvasElement.created = function() { - html$.CanvasElement.__proto__.created.call(this); - ; -}).prototype = html$.CanvasElement.prototype; -dart.addTypeTests(html$.CanvasElement); -dart.addTypeCaches(html$.CanvasElement); -html$.CanvasElement[dart.implements] = () => [html$.CanvasImageSource]; -dart.setMethodSignature(html$.CanvasElement, () => ({ - __proto__: dart.getMethods(html$.CanvasElement.__proto__), - [S$.$captureStream]: dart.fnType(html$.MediaStream, [], [dart.nullable(core.num)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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(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), - [$width]: dart.nullable(core.int), - [S$.$onWebGlContextLost]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$onWebGlContextRestored]: html$.ElementStream$(web_gl.ContextEvent), - [S$.$context2D]: html$.CanvasRenderingContext2D -})); -dart.setSetterSignature(html$.CanvasElement, () => ({ - __proto__: dart.getSetters(html$.CanvasElement.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.CanvasElement, I[150]); -dart.setStaticFieldSignature(html$.CanvasElement, () => ['webGlContextLostEvent', 'webGlContextRestoredEvent']); -dart.defineLazy(html$.CanvasElement, { - /*html$.CanvasElement.webGlContextLostEvent*/get webGlContextLostEvent() { - return C[330] || CT.C330; - }, - /*html$.CanvasElement.webGlContextRestoredEvent*/get webGlContextRestoredEvent() { - return C[331] || CT.C331; - } -}, false); -dart.registerExtension("HTMLCanvasElement", html$.CanvasElement); -html$.CanvasGradient = class CanvasGradient extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasGradient.__(); - } - [S$.$addColorStop](...args) { - return this.addColorStop.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasGradient); -dart.addTypeCaches(html$.CanvasGradient); -dart.setMethodSignature(html$.CanvasGradient, () => ({ - __proto__: dart.getMethods(html$.CanvasGradient.__proto__), - [S$.$addColorStop]: dart.fnType(dart.void, [core.num, core.String]) -})); -dart.setStaticMethodSignature(html$.CanvasGradient, () => ['__']); -dart.setLibraryUri(html$.CanvasGradient, I[150]); -dart.registerExtension("CanvasGradient", html$.CanvasGradient); -html$.CanvasPattern = class CanvasPattern extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasPattern.__(); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } -}; -dart.addTypeTests(html$.CanvasPattern); -dart.addTypeCaches(html$.CanvasPattern); -dart.setMethodSignature(html$.CanvasPattern, () => ({ - __proto__: dart.getMethods(html$.CanvasPattern.__proto__), - [S$.$setTransform]: dart.fnType(dart.void, [svg$.Matrix]) -})); -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() { - ; -}).prototype = html$.CanvasRenderingContext.prototype; -dart.addTypeTests(html$.CanvasRenderingContext); -dart.addTypeCaches(html$.CanvasRenderingContext); -dart.setLibraryUri(html$.CanvasRenderingContext, I[150]); -html$.CanvasRenderingContext2D = class CanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$addHitRegion](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$._addHitRegion_1](options_1); - return; - } - this[S$._addHitRegion_2](); - return; - } - [S$._addHitRegion_1](...args) { - return this.addHitRegion.apply(this, args); - } - [S$._addHitRegion_2](...args) { - return this.addHitRegion.apply(this, args); - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearHitRegions](...args) { - return this.clearHitRegions.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_5](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_5](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawFocusIfNeeded](...args) { - return this.drawFocusIfNeeded.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getContextAttributes]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$._getContextAttributes_1]())); - } - [S$._getContextAttributes_1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$._getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$removeHitRegion](...args) { - return this.removeHitRegion.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$scrollPathIntoView](...args) { - return this.scrollPathIntoView.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$._arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } - [S$.$createImageDataFromImageData](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[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[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[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[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[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[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[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]); - } else { - this[S$.$drawImageScaledFromSource](source, sourceRect[$left], sourceRect[$top], sourceRect[$width], sourceRect[$height], destRect[$left], destRect[$top], destRect[$width], destRect[$height]); - } - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaled](...args) { - return this.drawImage.apply(this, args); - } - [S$.$drawImageScaledFromSource](...args) { - return this.drawImage.apply(this, args); - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset || this.webkitLineDashOffset; - } - set [S$.$lineDashOffset](value) { - if (value == null) dart.nullFailed(I[149], 2909, 26, "value"); - typeof this.lineDashOffset != "undefined" ? this.lineDashOffset = value : this.webkitLineDashOffset = value; - } - [S$.$getLineDash]() { - if (!!this.getLineDash) { - return this.getLineDash(); - } else if (!!this.webkitLineDash) { - return this.webkitLineDash; - } - return T$0.JSArrayOfnum().of([]); - } - [S$.$setLineDash](dash) { - if (dash == null) dart.nullFailed(I[149], 2940, 30, "dash"); - if (!!this.setLineDash) { - this.setLineDash(dash); - } else if (!!this.webkitLineDash) { - this.webkitLineDash = dash; - } - } - [S$.$fillText](text, x, y, maxWidth = null) { - 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 { - this.fillText(text, x, y); - } - } - get [S$.$backingStorePixelRatio]() { - return 1.0; - } -}; -dart.addTypeTests(html$.CanvasRenderingContext2D); -dart.addTypeCaches(html$.CanvasRenderingContext2D); -html$.CanvasRenderingContext2D[dart.implements] = () => [html$.CanvasRenderingContext]; -dart.setMethodSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.CanvasRenderingContext2D.__proto__), - [S$.$addHitRegion]: dart.fnType(dart.void, [], [dart.nullable(core.Map)]), - [S$._addHitRegion_1]: dart.fnType(dart.void, [dart.dynamic]), - [S$._addHitRegion_2]: dart.fnType(dart.void, []), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearHitRegions]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int)]), - [S$._createImageData_5]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [core.Object, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawFocusIfNeeded]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(html$.Element)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getContextAttributes]: dart.fnType(core.Map, []), - [S$._getContextAttributes_1]: dart.fnType(dart.dynamic, []), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$removeHitRegion]: dart.fnType(dart.void, [core.String]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$scrollPathIntoView]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$._arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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]), - [S$.$createImageDataFromImageData]: dart.fnType(html$.ImageData, [html$.ImageData]), - [S$.$setFillColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setFillColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$setStrokeColorRgb]: dart.fnType(dart.void, [core.int, core.int, core.int], [core.num]), - [S$.$setStrokeColorHsl]: dart.fnType(dart.void, [core.int, core.num, core.num], [core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num], [core.bool]), - [S$.$createPatternFromImage]: dart.fnType(html$.CanvasPattern, [html$.ImageElement, core.String]), - [S$.$drawImageToRect]: dart.fnType(dart.void, [html$.CanvasImageSource, math.Rectangle$(core.num)], {sourceRect: dart.nullable(math.Rectangle$(core.num))}, {}), - [S$.$drawImage]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num]), - [S$.$drawImageScaled]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num]), - [S$.$drawImageScaledFromSource]: dart.fnType(dart.void, [html$.CanvasImageSource, core.num, core.num, core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [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, - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num, - [S$.$backingStorePixelRatio]: core.double -})); -dart.setSetterSignature(html$.CanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.CanvasRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: core.String, - [S$.$globalAlpha]: core.num, - [S$.$globalCompositeOperation]: core.String, - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: core.String, - [S$.$lineJoin]: core.String, - [S$.$lineWidth]: core.num, - [S$.$miterLimit]: core.num, - [S$.$shadowBlur]: core.num, - [S$.$shadowColor]: core.String, - [S$.$shadowOffsetX]: core.num, - [S$.$shadowOffsetY]: core.num, - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: core.String, - [S$.$textBaseline]: core.String, - [S$.$lineDashOffset]: core.num -})); -dart.setLibraryUri(html$.CanvasRenderingContext2D, I[150]); -dart.registerExtension("CanvasRenderingContext2D", html$.CanvasRenderingContext2D); -html$.ChildNode = class ChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ChildNode.__(); - } -}; -dart.addTypeTests(html$.ChildNode); -dart.addTypeCaches(html$.ChildNode); -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; - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } - [S$.$postMessage](...args) { - return this.postMessage.apply(this, args); - } -}; -dart.addTypeTests(html$.Client); -dart.addTypeCaches(html$.Client); -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), - [S.$id]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Client, I[150]); -dart.registerExtension("Client", html$.Client); -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[149], 3066, 21, "id"); - return js_util.promiseToFuture(dart.dynamic, this.get(id)); - } - [S$.$matchAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(core.List, this.matchAll(options_dict)); - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 3077, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } -}; -dart.addTypeTests(html$.Clients); -dart.addTypeCaches(html$.Clients); -dart.setMethodSignature(html$.Clients, () => ({ - __proto__: dart.getMethods(html$.Clients.__proto__), - [S$.$claim]: dart.fnType(async.Future, []), - [S.$get]: dart.fnType(async.Future, [core.String]), - [S$.$matchAll]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$.$openWindow]: dart.fnType(async.Future$(html$.WindowClient), [core.String]) -})); -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[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); - } - static _create_2(type) { - return new ClipboardEvent(type); - } - get [S$.$clipboardData]() { - return this.clipboardData; - } -}; -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[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[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); - } - static _create_2(type) { - return new CloseEvent(type); - } - get [S$.$code]() { - return this.code; - } - get [S$.$reason]() { - return this.reason; - } - get [S$.$wasClean]() { - return this.wasClean; - } -}; -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[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.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[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"); - if (view == null) { - view = html$.window; - } - let e = html$.UIEvent.as(html$.document[S._createEvent]("UIEvent")); - 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[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); - } - static _create_2(type) { - return new UIEvent(type); - } - get [S$.$detail]() { - return this.detail; - } - get [S$.$sourceCapabilities]() { - return this.sourceCapabilities; - } - get [S$.$view]() { - return html$._convertNativeToDart_Window(this[S$._get_view]); - } - get [S$._get_view]() { - return this.view; - } - get [S$._which]() { - return this.which; - } - [S$._initUIEvent](...args) { - return this.initUIEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.UIEvent); -dart.addTypeCaches(html$.UIEvent); -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), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$._get_view]: dart.dynamic, - [S$._which]: dart.nullable(core.int) -})); -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[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; - if (view == null) { - view = html$.window; - } - let e = html$.CompositionEvent.as(html$.document[S._createEvent]("CompositionEvent")); - if (dart.test(html_common.Device.isFirefox)) { - e.initCompositionEvent(type, canBubble, cancelable, view, data, locale); - } else { - e[S$._initCompositionEvent](type, canBubble, cancelable, view, data); - } - 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[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); - } - static _create_2(type) { - return new CompositionEvent(type); - } - get [S$.$data]() { - return this.data; - } - [S$._initCompositionEvent](...args) { - return this.initCompositionEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.CompositionEvent); -dart.addTypeCaches(html$.CompositionEvent); -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[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"); - } - get [S$.$select]() { - return this.select; - } - set [S$.$select](value) { - this.select = value; - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } -}; -(html$.ContentElement.created = function() { - html$.ContentElement.__proto__.created.call(this); - ; -}).prototype = html$.ContentElement.prototype; -dart.addTypeTests(html$.ContentElement); -dart.addTypeCaches(html$.ContentElement); -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) -})); -dart.setSetterSignature(html$.ContentElement, () => ({ - __proto__: dart.getSetters(html$.ContentElement.__proto__), - [S$.$select]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.ContentElement, () => ['supported']); -dart.setLibraryUri(html$.ContentElement, I[150]); -dart.registerExtension("HTMLContentElement", html$.ContentElement); -html$.CookieStore = class CookieStore extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CookieStore.__(); - } - [S.$getAll](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.getAll(options_dict)); - } - [S$.$set](name, value, options = null) { - 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); - } - return js_util.promiseToFuture(dart.dynamic, this.set(name, value, options_dict)); - } -}; -dart.addTypeTests(html$.CookieStore); -dart.addTypeCaches(html$.CookieStore); -dart.setMethodSignature(html$.CookieStore, () => ({ - __proto__: dart.getMethods(html$.CookieStore.__proto__), - [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.setStaticMethodSignature(html$.CookieStore, () => ['__']); -dart.setLibraryUri(html$.CookieStore, I[150]); -dart.registerExtension("CookieStore", html$.CookieStore); -html$.Coordinates = class Coordinates extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Coordinates.__(); - } - get [S$.$accuracy]() { - return this.accuracy; - } - get [S$.$altitude]() { - return this.altitude; - } - get [S$.$altitudeAccuracy]() { - return this.altitudeAccuracy; - } - get [S$.$heading]() { - return this.heading; - } - get [S$.$latitude]() { - return this.latitude; - } - get [S$.$longitude]() { - return this.longitude; - } - get [S$.$speed]() { - return this.speed; - } -}; -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), - [S$.$altitude]: dart.nullable(core.num), - [S$.$altitudeAccuracy]: dart.nullable(core.num), - [S$.$heading]: dart.nullable(core.num), - [S$.$latitude]: dart.nullable(core.num), - [S$.$longitude]: dart.nullable(core.num), - [S$.$speed]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.Coordinates, I[150]); -dart.registerExtension("Coordinates", html$.Coordinates); -html$.Credential = class Credential extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Credential.__(); - } - get [S.$id]() { - return this.id; - } - get [S.$type]() { - return this.type; - } -}; -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[150]); -dart.registerExtension("Credential", html$.Credential); -html$.CredentialUserData = class CredentialUserData extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialUserData.__(); - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("CredentialUserData", html$.CredentialUserData); -html$.CredentialsContainer = class CredentialsContainer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CredentialsContainer.__(); - } - [S$.$create](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.create(options_dict)); - } - [S.$get](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.get(options_dict)); - } - [S$.$preventSilentAccess]() { - return js_util.promiseToFuture(dart.dynamic, this.preventSilentAccess()); - } - [S$.$requireUserMediation]() { - return js_util.promiseToFuture(dart.dynamic, this.requireUserMediation()); - } - [S$.$store](credential) { - if (credential == null) dart.nullFailed(I[149], 3349, 27, "credential"); - return js_util.promiseToFuture(dart.dynamic, this.store(credential)); - } -}; -dart.addTypeTests(html$.CredentialsContainer); -dart.addTypeCaches(html$.CredentialsContainer); -dart.setMethodSignature(html$.CredentialsContainer, () => ({ - __proto__: dart.getMethods(html$.CredentialsContainer.__proto__), - [S$.$create]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S.$get]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$.$preventSilentAccess]: dart.fnType(async.Future, []), - [S$.$requireUserMediation]: dart.fnType(async.Future, []), - [S$.$store]: dart.fnType(async.Future, [html$.Credential]) -})); -dart.setStaticMethodSignature(html$.CredentialsContainer, () => ['__']); -dart.setLibraryUri(html$.CredentialsContainer, I[150]); -dart.registerExtension("CredentialsContainer", html$.CredentialsContainer); -html$.Crypto = class Crypto extends _interceptors.JavaScriptObject { - [S$.$getRandomValues](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); - } - get [S$.$subtle]() { - return this.subtle; - } - [S$._getRandomValues](...args) { - return this.getRandomValues.apply(this, args); - } -}; -dart.addTypeTests(html$.Crypto); -dart.addTypeCaches(html$.Crypto); -dart.setMethodSignature(html$.Crypto, () => ({ - __proto__: dart.getMethods(html$.Crypto.__proto__), - [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.setStaticGetterSignature(html$.Crypto, () => ['supported']); -dart.setLibraryUri(html$.Crypto, I[150]); -dart.registerExtension("Crypto", html$.Crypto); -html$.CryptoKey = class CryptoKey extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CryptoKey.__(); - } - get [S$.$algorithm]() { - return this.algorithm; - } - get [S$.$extractable]() { - return this.extractable; - } - get [S.$type]() { - return this.type; - } - get [S$.$usages]() { - return this.usages; - } -}; -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), - [S$.$extractable]: dart.nullable(core.bool), - [S.$type]: dart.nullable(core.String), - [S$.$usages]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.CryptoKey, I[150]); -dart.registerExtension("CryptoKey", html$.CryptoKey); -html$.Css = class Css extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Css.__(); - } - static registerProperty(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; - } -}; -dart.addTypeTests(html$.Css); -dart.addTypeCaches(html$.Css); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssRule.__(); - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [S$.$parentRule]() { - return this.parentRule; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$.$parentStyleSheet]: dart.nullable(html$.CssStyleSheet), - [S.$type]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.CssRule, () => ({ - __proto__: dart.getSetters(html$.CssRule.__proto__), - [S$.$cssText]: dart.nullable(core.String) -})); -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; - }, - /*html$.CssRule.FONT_FACE_RULE*/get FONT_FACE_RULE() { - return 5; - }, - /*html$.CssRule.IMPORT_RULE*/get IMPORT_RULE() { - return 3; - }, - /*html$.CssRule.KEYFRAMES_RULE*/get KEYFRAMES_RULE() { - return 7; - }, - /*html$.CssRule.KEYFRAME_RULE*/get KEYFRAME_RULE() { - return 8; - }, - /*html$.CssRule.MEDIA_RULE*/get MEDIA_RULE() { - return 4; - }, - /*html$.CssRule.NAMESPACE_RULE*/get NAMESPACE_RULE() { - return 10; - }, - /*html$.CssRule.PAGE_RULE*/get PAGE_RULE() { - return 6; - }, - /*html$.CssRule.STYLE_RULE*/get STYLE_RULE() { - return 1; - }, - /*html$.CssRule.SUPPORTS_RULE*/get SUPPORTS_RULE() { - return 12; - }, - /*html$.CssRule.VIEWPORT_RULE*/get VIEWPORT_RULE() { - return 15; - } -}, false); -dart.registerExtension("CSSRule", html$.CssRule); -html$.CssCharsetRule = class CssCharsetRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssCharsetRule.__(); - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssCharsetRule, () => ({ - __proto__: dart.getSetters(html$.CssCharsetRule.__proto__), - [S$.$encoding]: dart.nullable(core.String) -})); -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; - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssGroupingRule); -dart.addTypeCaches(html$.CssGroupingRule); -dart.setMethodSignature(html$.CssGroupingRule, () => ({ - __proto__: dart.getMethods(html$.CssGroupingRule.__proto__), - [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[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[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[150]); -dart.registerExtension("CSSFontFaceRule", html$.CssFontFaceRule); -html$.CssStyleValue = class CssStyleValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssStyleValue.__(); - } -}; -dart.addTypeTests(html$.CssStyleValue); -dart.addTypeCaches(html$.CssStyleValue); -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[150]); -dart.registerExtension("CSSResourceValue", html$.CssResourceValue); -html$.CssImageValue = class CssImageValue extends html$.CssResourceValue { - static ['_#_#tearOff']() { - return html$.CssImageValue.__(); - } - get [S$.$intrinsicHeight]() { - return this.intrinsicHeight; - } - get [S$.$intrinsicRatio]() { - return this.intrinsicRatio; - } - get [S$.$intrinsicWidth]() { - return this.intrinsicWidth; - } -}; -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[150]); -dart.registerExtension("CSSImageValue", html$.CssImageValue); -html$.CssImportRule = class CssImportRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssImportRule.__(); - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$.$styleSheet]() { - return this.styleSheet; - } -}; -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[150]); -dart.registerExtension("CSSImportRule", html$.CssImportRule); -html$.CssKeyframeRule = class CssKeyframeRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssKeyframeRule.__(); - } - get [S$.$keyText]() { - return this.keyText; - } - set [S$.$keyText](value) { - this.keyText = value; - } - get [S.$style]() { - return this.style; - } -}; -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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) -})); -dart.setSetterSignature(html$.CssKeyframeRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframeRule.__proto__), - [S$.$keyText]: dart.nullable(core.String) -})); -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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$appendRule](...args) { - return this.appendRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$findRule](...args) { - return this.findRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssKeyframesRule); -dart.addTypeCaches(html$.CssKeyframesRule); -dart.setMethodSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getMethods(html$.CssKeyframesRule.__proto__), - [S$.__getter__]: dart.fnType(html$.CssKeyframeRule, [core.int]), - [S$.$appendRule]: dart.fnType(dart.void, [core.String]), - [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)), - [$name]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.CssKeyframesRule, () => ({ - __proto__: dart.getSetters(html$.CssKeyframesRule.__proto__), - [$name]: dart.nullable(core.String) -})); -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[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); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssKeywordValue, () => ({ - __proto__: dart.getSetters(html$.CssKeywordValue.__proto__), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.CssKeywordValue, I[150]); -dart.registerExtension("CSSKeywordValue", html$.CssKeywordValue); -html$.CssTransformComponent = class CssTransformComponent extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssTransformComponent.__(); - } - get [S$.$is2D]() { - return this.is2D; - } - set [S$.$is2D](value) { - this.is2D = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssTransformComponent, () => ({ - __proto__: dart.getSetters(html$.CssTransformComponent.__proto__), - [S$.$is2D]: dart.nullable(core.bool) -})); -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[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); - } - static _create_2(matrix) { - return new CSSMatrixComponent(matrix); - } - get [S$.$matrix]() { - return this.matrix; - } - set [S$.$matrix](value) { - this.matrix = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssMatrixComponent, () => ({ - __proto__: dart.getSetters(html$.CssMatrixComponent.__proto__), - [S$.$matrix]: dart.nullable(html$.DomMatrix) -})); -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[150]); -dart.registerExtension("CSSMediaRule", html$.CssMediaRule); -html$.CssNamespaceRule = class CssNamespaceRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssNamespaceRule.__(); - } - get [S.$namespaceUri]() { - return this.namespaceURI; - } - get [S$.$prefix]() { - return this.prefix; - } -}; -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[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); - } - [S$.$div](...args) { - return this.div.apply(this, args); - } - [S$.$mul](...args) { - return this.mul.apply(this, args); - } - [S$.$sub](...args) { - return this.sub.apply(this, args); - } - [S$.$to](...args) { - return this.to.apply(this, args); - } -}; -dart.addTypeTests(html$.CssNumericValue); -dart.addTypeCaches(html$.CssNumericValue); -dart.setMethodSignature(html$.CssNumericValue, () => ({ - __proto__: dart.getMethods(html$.CssNumericValue.__proto__), - [$add]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$div]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$mul]: dart.fnType(html$.CssNumericValue, [core.num]), - [S$.$sub]: dart.fnType(html$.CssNumericValue, [html$.CssNumericValue]), - [S$.$to]: dart.fnType(html$.CssNumericValue, [core.String]) -})); -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; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } -}; -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), - [S.$style]: dart.nullable(html$.CssStyleDeclaration) -})); -dart.setSetterSignature(html$.CssPageRule, () => ({ - __proto__: dart.getSetters(html$.CssPageRule.__proto__), - [S$.$selectorText]: dart.nullable(core.String) -})); -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[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); - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } -}; -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) -})); -dart.setSetterSignature(html$.CssPerspective, () => ({ - __proto__: dart.getSetters(html$.CssPerspective.__proto__), - [$length]: dart.nullable(html$.CssNumericValue) -})); -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[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); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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), - [S$.$y]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssPositionValue, () => ({ - __proto__: dart.getSetters(html$.CssPositionValue.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue) -})); -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); - } - if (html$.CssNumericValue.is(angle) && typeof z == 'number' && typeof y == 'number' && typeof angleValue_OR_x == 'number') { - return html$.CssRotation._create_2(angleValue_OR_x, y, z, angle); - } - 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); - } - static _create_2(angleValue_OR_x, y, z, angle) { - return new CSSRotation(angleValue_OR_x, y, z, angle); - } - get [S$.$angle]() { - return this.angle; - } - set [S$.$angle](value) { - this.angle = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssRotation, () => ({ - __proto__: dart.getSetters(html$.CssRotation.__proto__), - [S$.$angle]: dart.nullable(html$.CssNumericValue), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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[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); - } - if (typeof z == 'number' && typeof y == 'number' && typeof x == 'number') { - return html$.CssScale._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSScale(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssScale, () => ({ - __proto__: dart.getSetters(html$.CssScale.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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[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); - } - get [S$.$ax]() { - return this.ax; - } - set [S$.$ax](value) { - this.ax = value; - } - get [S$.$ay]() { - return this.ay; - } - set [S$.$ay](value) { - this.ay = value; - } -}; -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), - [S$.$ay]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssSkew, () => ({ - __proto__: dart.getSetters(html$.CssSkew.__proto__), - [S$.$ax]: dart.nullable(html$.CssNumericValue), - [S$.$ay]: dart.nullable(html$.CssNumericValue) -})); -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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[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[149], 8689, 19, "value"); - this[S$.$setProperty]("zoom", value, ""); - } -}; -(html$.CssStyleDeclarationBase.new = function() { - ; -}).prototype = html$.CssStyleDeclarationBase.prototype; -dart.addTypeTests(html$.CssStyleDeclarationBase); -dart.addTypeCaches(html$.CssStyleDeclarationBase); -dart.setGetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getGetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String -})); -dart.setSetterSignature(html$.CssStyleDeclarationBase, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclarationBase.__proto__), - alignContent: core.String, - [S$0.$alignContent]: core.String, - alignItems: core.String, - [S$0.$alignItems]: core.String, - alignSelf: core.String, - [S$0.$alignSelf]: core.String, - animation: core.String, - [S$0.$animation]: core.String, - animationDelay: core.String, - [S$0.$animationDelay]: core.String, - animationDirection: core.String, - [S$0.$animationDirection]: core.String, - animationDuration: core.String, - [S$0.$animationDuration]: core.String, - animationFillMode: core.String, - [S$0.$animationFillMode]: core.String, - animationIterationCount: core.String, - [S$0.$animationIterationCount]: core.String, - animationName: core.String, - [S$.$animationName]: core.String, - animationPlayState: core.String, - [S$0.$animationPlayState]: core.String, - animationTimingFunction: core.String, - [S$0.$animationTimingFunction]: core.String, - appRegion: core.String, - [S$0.$appRegion]: core.String, - appearance: core.String, - [S$0.$appearance]: core.String, - aspectRatio: core.String, - [S$0.$aspectRatio]: core.String, - backfaceVisibility: core.String, - [S$0.$backfaceVisibility]: core.String, - background: core.String, - [S$.$background]: core.String, - backgroundAttachment: core.String, - [S$.$backgroundAttachment]: core.String, - backgroundBlendMode: core.String, - [S$0.$backgroundBlendMode]: core.String, - backgroundClip: core.String, - [S$0.$backgroundClip]: core.String, - backgroundColor: core.String, - [S$.$backgroundColor]: core.String, - backgroundComposite: core.String, - [S$0.$backgroundComposite]: core.String, - backgroundImage: core.String, - [S$.$backgroundImage]: core.String, - backgroundOrigin: core.String, - [S$0.$backgroundOrigin]: core.String, - backgroundPosition: core.String, - [S$.$backgroundPosition]: core.String, - backgroundPositionX: core.String, - [S$0.$backgroundPositionX]: core.String, - backgroundPositionY: core.String, - [S$0.$backgroundPositionY]: core.String, - backgroundRepeat: core.String, - [S$.$backgroundRepeat]: core.String, - backgroundRepeatX: core.String, - [S$0.$backgroundRepeatX]: core.String, - backgroundRepeatY: core.String, - [S$0.$backgroundRepeatY]: core.String, - backgroundSize: core.String, - [S$0.$backgroundSize]: core.String, - border: core.String, - [S$.$border]: core.String, - borderAfter: core.String, - [S$0.$borderAfter]: core.String, - borderAfterColor: core.String, - [S$0.$borderAfterColor]: core.String, - borderAfterStyle: core.String, - [S$0.$borderAfterStyle]: core.String, - borderAfterWidth: core.String, - [S$0.$borderAfterWidth]: core.String, - borderBefore: core.String, - [S$0.$borderBefore]: core.String, - borderBeforeColor: core.String, - [S$0.$borderBeforeColor]: core.String, - borderBeforeStyle: core.String, - [S$0.$borderBeforeStyle]: core.String, - borderBeforeWidth: core.String, - [S$0.$borderBeforeWidth]: core.String, - borderBottom: core.String, - [S$.$borderBottom]: core.String, - borderBottomColor: core.String, - [S$.$borderBottomColor]: core.String, - borderBottomLeftRadius: core.String, - [S$0.$borderBottomLeftRadius]: core.String, - borderBottomRightRadius: core.String, - [S$0.$borderBottomRightRadius]: core.String, - borderBottomStyle: core.String, - [S$0.$borderBottomStyle]: core.String, - borderBottomWidth: core.String, - [S$0.$borderBottomWidth]: core.String, - borderCollapse: core.String, - [S$0.$borderCollapse]: core.String, - borderColor: core.String, - [S$0.$borderColor]: core.String, - borderEnd: core.String, - [S$0.$borderEnd]: core.String, - borderEndColor: core.String, - [S$0.$borderEndColor]: core.String, - borderEndStyle: core.String, - [S$0.$borderEndStyle]: core.String, - borderEndWidth: core.String, - [S$0.$borderEndWidth]: core.String, - borderFit: core.String, - [S$0.$borderFit]: core.String, - borderHorizontalSpacing: core.String, - [S$0.$borderHorizontalSpacing]: core.String, - borderImage: core.String, - [S$0.$borderImage]: core.String, - borderImageOutset: core.String, - [S$0.$borderImageOutset]: core.String, - borderImageRepeat: core.String, - [S$0.$borderImageRepeat]: core.String, - borderImageSlice: core.String, - [S$0.$borderImageSlice]: core.String, - borderImageSource: core.String, - [S$0.$borderImageSource]: core.String, - borderImageWidth: core.String, - [S$0.$borderImageWidth]: core.String, - borderLeft: core.String, - [S$0.$borderLeft]: core.String, - borderLeftColor: core.String, - [S$0.$borderLeftColor]: core.String, - borderLeftStyle: core.String, - [S$0.$borderLeftStyle]: core.String, - borderLeftWidth: core.String, - [S$0.$borderLeftWidth]: core.String, - borderRadius: core.String, - [S$0.$borderRadius]: core.String, - borderRight: core.String, - [S$0.$borderRight]: core.String, - borderRightColor: core.String, - [S$0.$borderRightColor]: core.String, - borderRightStyle: core.String, - [S$0.$borderRightStyle]: core.String, - borderRightWidth: core.String, - [S$0.$borderRightWidth]: core.String, - borderSpacing: core.String, - [S$0.$borderSpacing]: core.String, - borderStart: core.String, - [S$0.$borderStart]: core.String, - borderStartColor: core.String, - [S$0.$borderStartColor]: core.String, - borderStartStyle: core.String, - [S$0.$borderStartStyle]: core.String, - borderStartWidth: core.String, - [S$0.$borderStartWidth]: core.String, - borderStyle: core.String, - [S$0.$borderStyle]: core.String, - borderTop: core.String, - [S$0.$borderTop]: core.String, - borderTopColor: core.String, - [S$0.$borderTopColor]: core.String, - borderTopLeftRadius: core.String, - [S$0.$borderTopLeftRadius]: core.String, - borderTopRightRadius: core.String, - [S$0.$borderTopRightRadius]: core.String, - borderTopStyle: core.String, - [S$0.$borderTopStyle]: core.String, - borderTopWidth: core.String, - [S$0.$borderTopWidth]: core.String, - borderVerticalSpacing: core.String, - [S$0.$borderVerticalSpacing]: core.String, - borderWidth: core.String, - [S$0.$borderWidth]: core.String, - bottom: core.String, - [$bottom]: core.String, - boxAlign: core.String, - [S$0.$boxAlign]: core.String, - boxDecorationBreak: core.String, - [S$0.$boxDecorationBreak]: core.String, - boxDirection: core.String, - [S$0.$boxDirection]: core.String, - boxFlex: core.String, - [S$0.$boxFlex]: core.String, - boxFlexGroup: core.String, - [S$0.$boxFlexGroup]: core.String, - boxLines: core.String, - [S$0.$boxLines]: core.String, - boxOrdinalGroup: core.String, - [S$0.$boxOrdinalGroup]: core.String, - boxOrient: core.String, - [S$0.$boxOrient]: core.String, - boxPack: core.String, - [S$0.$boxPack]: core.String, - boxReflect: core.String, - [S$0.$boxReflect]: core.String, - boxShadow: core.String, - [S$0.$boxShadow]: core.String, - boxSizing: core.String, - [S$0.$boxSizing]: core.String, - captionSide: core.String, - [S$0.$captionSide]: core.String, - clear: core.String, - [$clear]: core.String, - clip: core.String, - [S$.$clip]: core.String, - clipPath: core.String, - [S$0.$clipPath]: core.String, - color: core.String, - [S$0.$color]: core.String, - columnBreakAfter: core.String, - [S$0.$columnBreakAfter]: core.String, - columnBreakBefore: core.String, - [S$0.$columnBreakBefore]: core.String, - columnBreakInside: core.String, - [S$0.$columnBreakInside]: core.String, - columnCount: core.String, - [S$0.$columnCount]: core.String, - columnFill: core.String, - [S$0.$columnFill]: core.String, - columnGap: core.String, - [S$0.$columnGap]: core.String, - columnRule: core.String, - [S$0.$columnRule]: core.String, - columnRuleColor: core.String, - [S$0.$columnRuleColor]: core.String, - columnRuleStyle: core.String, - [S$0.$columnRuleStyle]: core.String, - columnRuleWidth: core.String, - [S$0.$columnRuleWidth]: core.String, - columnSpan: core.String, - [S$0.$columnSpan]: core.String, - columnWidth: core.String, - [S$0.$columnWidth]: core.String, - columns: core.String, - [S$0.$columns]: core.String, - content: core.String, - [S$0.$content]: core.String, - counterIncrement: core.String, - [S$0.$counterIncrement]: core.String, - counterReset: core.String, - [S$0.$counterReset]: core.String, - cursor: core.String, - [S$0.$cursor]: core.String, - direction: core.String, - [S.$direction]: core.String, - display: core.String, - [S$0.$display]: core.String, - emptyCells: core.String, - [S$0.$emptyCells]: core.String, - filter: core.String, - [S$.$filter]: core.String, - flex: core.String, - [S$0.$flex]: core.String, - flexBasis: core.String, - [S$0.$flexBasis]: core.String, - flexDirection: core.String, - [S$0.$flexDirection]: core.String, - flexFlow: core.String, - [S$0.$flexFlow]: core.String, - flexGrow: core.String, - [S$0.$flexGrow]: core.String, - flexShrink: core.String, - [S$0.$flexShrink]: core.String, - flexWrap: core.String, - [S$0.$flexWrap]: core.String, - float: core.String, - [S$0.$float]: core.String, - font: core.String, - [S$.$font]: core.String, - fontFamily: core.String, - [S$0.$fontFamily]: core.String, - fontFeatureSettings: core.String, - [S$0.$fontFeatureSettings]: core.String, - fontKerning: core.String, - [S$0.$fontKerning]: core.String, - fontSize: core.String, - [S$0.$fontSize]: core.String, - fontSizeDelta: core.String, - [S$0.$fontSizeDelta]: core.String, - fontSmoothing: core.String, - [S$0.$fontSmoothing]: core.String, - fontStretch: core.String, - [S$0.$fontStretch]: core.String, - fontStyle: core.String, - [S$0.$fontStyle]: core.String, - fontVariant: core.String, - [S$0.$fontVariant]: core.String, - fontVariantLigatures: core.String, - [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, - [S$0.$gridArea]: core.String, - gridAutoColumns: core.String, - [S$0.$gridAutoColumns]: core.String, - gridAutoFlow: core.String, - [S$0.$gridAutoFlow]: core.String, - gridAutoRows: core.String, - [S$0.$gridAutoRows]: core.String, - gridColumn: core.String, - [S$0.$gridColumn]: core.String, - gridColumnEnd: core.String, - [S$0.$gridColumnEnd]: core.String, - gridColumnStart: core.String, - [S$0.$gridColumnStart]: core.String, - gridRow: core.String, - [S$0.$gridRow]: core.String, - gridRowEnd: core.String, - [S$0.$gridRowEnd]: core.String, - gridRowStart: core.String, - [S$0.$gridRowStart]: core.String, - gridTemplate: core.String, - [S$0.$gridTemplate]: core.String, - gridTemplateAreas: core.String, - [S$0.$gridTemplateAreas]: core.String, - gridTemplateColumns: core.String, - [S$0.$gridTemplateColumns]: core.String, - gridTemplateRows: core.String, - [S$0.$gridTemplateRows]: core.String, - height: core.String, - [$height]: core.String, - highlight: core.String, - [S$0.$highlight]: core.String, - hyphenateCharacter: core.String, - [S$0.$hyphenateCharacter]: core.String, - imageRendering: core.String, - [S$0.$imageRendering]: core.String, - isolation: core.String, - [S$0.$isolation]: core.String, - justifyContent: core.String, - [S$0.$justifyContent]: core.String, - justifySelf: core.String, - [S$0.$justifySelf]: core.String, - left: core.String, - [$left]: core.String, - letterSpacing: core.String, - [S$0.$letterSpacing]: core.String, - lineBoxContain: core.String, - [S$0.$lineBoxContain]: core.String, - lineBreak: core.String, - [S$0.$lineBreak]: core.String, - lineClamp: core.String, - [S$0.$lineClamp]: core.String, - lineHeight: core.String, - [S$0.$lineHeight]: core.String, - listStyle: core.String, - [S$0.$listStyle]: core.String, - listStyleImage: core.String, - [S$0.$listStyleImage]: core.String, - listStylePosition: core.String, - [S$0.$listStylePosition]: core.String, - listStyleType: core.String, - [S$0.$listStyleType]: core.String, - locale: core.String, - [S$0.$locale]: core.String, - logicalHeight: core.String, - [S$0.$logicalHeight]: core.String, - logicalWidth: core.String, - [S$0.$logicalWidth]: core.String, - margin: core.String, - [S$0.$margin]: core.String, - marginAfter: core.String, - [S$0.$marginAfter]: core.String, - marginAfterCollapse: core.String, - [S$0.$marginAfterCollapse]: core.String, - marginBefore: core.String, - [S$0.$marginBefore]: core.String, - marginBeforeCollapse: core.String, - [S$0.$marginBeforeCollapse]: core.String, - marginBottom: core.String, - [S$0.$marginBottom]: core.String, - marginBottomCollapse: core.String, - [S$0.$marginBottomCollapse]: core.String, - marginCollapse: core.String, - [S$0.$marginCollapse]: core.String, - marginEnd: core.String, - [S$0.$marginEnd]: core.String, - marginLeft: core.String, - [S$0.$marginLeft]: core.String, - marginRight: core.String, - [S$0.$marginRight]: core.String, - marginStart: core.String, - [S$0.$marginStart]: core.String, - marginTop: core.String, - [S$0.$marginTop]: core.String, - marginTopCollapse: core.String, - [S$0.$marginTopCollapse]: core.String, - mask: core.String, - [S$0.$mask]: core.String, - maskBoxImage: core.String, - [S$0.$maskBoxImage]: core.String, - maskBoxImageOutset: core.String, - [S$0.$maskBoxImageOutset]: core.String, - maskBoxImageRepeat: core.String, - [S$0.$maskBoxImageRepeat]: core.String, - maskBoxImageSlice: core.String, - [S$0.$maskBoxImageSlice]: core.String, - maskBoxImageSource: core.String, - [S$0.$maskBoxImageSource]: core.String, - maskBoxImageWidth: core.String, - [S$0.$maskBoxImageWidth]: core.String, - maskClip: core.String, - [S$0.$maskClip]: core.String, - maskComposite: core.String, - [S$0.$maskComposite]: core.String, - maskImage: core.String, - [S$0.$maskImage]: core.String, - maskOrigin: core.String, - [S$0.$maskOrigin]: core.String, - maskPosition: core.String, - [S$0.$maskPosition]: core.String, - maskPositionX: core.String, - [S$0.$maskPositionX]: core.String, - maskPositionY: core.String, - [S$0.$maskPositionY]: core.String, - maskRepeat: core.String, - [S$0.$maskRepeat]: core.String, - maskRepeatX: core.String, - [S$0.$maskRepeatX]: core.String, - maskRepeatY: core.String, - [S$0.$maskRepeatY]: core.String, - maskSize: core.String, - [S$0.$maskSize]: core.String, - maskSourceType: core.String, - [S$0.$maskSourceType]: core.String, - maxHeight: core.String, - [S$0.$maxHeight]: core.String, - maxLogicalHeight: core.String, - [S$0.$maxLogicalHeight]: core.String, - maxLogicalWidth: core.String, - [S$0.$maxLogicalWidth]: core.String, - maxWidth: core.String, - [S$0.$maxWidth]: core.String, - maxZoom: core.String, - [S$0.$maxZoom]: core.String, - minHeight: core.String, - [S$0.$minHeight]: core.String, - minLogicalHeight: core.String, - [S$0.$minLogicalHeight]: core.String, - minLogicalWidth: core.String, - [S$0.$minLogicalWidth]: core.String, - minWidth: core.String, - [S$0.$minWidth]: core.String, - minZoom: core.String, - [S$0.$minZoom]: core.String, - mixBlendMode: core.String, - [S$0.$mixBlendMode]: core.String, - objectFit: core.String, - [S$0.$objectFit]: core.String, - objectPosition: core.String, - [S$0.$objectPosition]: core.String, - opacity: core.String, - [S$0.$opacity]: core.String, - order: core.String, - [S$0.$order]: core.String, - orientation: core.String, - [S$.$orientation]: core.String, - orphans: core.String, - [S$0.$orphans]: core.String, - outline: core.String, - [S$0.$outline]: core.String, - outlineColor: core.String, - [S$0.$outlineColor]: core.String, - outlineOffset: core.String, - [S$0.$outlineOffset]: core.String, - outlineStyle: core.String, - [S$0.$outlineStyle]: core.String, - outlineWidth: core.String, - [S$0.$outlineWidth]: core.String, - overflow: core.String, - [S$0.$overflow]: core.String, - overflowWrap: core.String, - [S$0.$overflowWrap]: core.String, - overflowX: core.String, - [S$0.$overflowX]: core.String, - overflowY: core.String, - [S$0.$overflowY]: core.String, - padding: core.String, - [S$0.$padding]: core.String, - paddingAfter: core.String, - [S$0.$paddingAfter]: core.String, - paddingBefore: core.String, - [S$0.$paddingBefore]: core.String, - paddingBottom: core.String, - [S$0.$paddingBottom]: core.String, - paddingEnd: core.String, - [S$0.$paddingEnd]: core.String, - paddingLeft: core.String, - [S$0.$paddingLeft]: core.String, - paddingRight: core.String, - [S$0.$paddingRight]: core.String, - paddingStart: core.String, - [S$0.$paddingStart]: core.String, - paddingTop: core.String, - [S$0.$paddingTop]: core.String, - page: core.String, - [S$0.$page]: core.String, - pageBreakAfter: core.String, - [S$0.$pageBreakAfter]: core.String, - pageBreakBefore: core.String, - [S$0.$pageBreakBefore]: core.String, - pageBreakInside: core.String, - [S$0.$pageBreakInside]: core.String, - perspective: core.String, - [S$0.$perspective]: core.String, - perspectiveOrigin: core.String, - [S$0.$perspectiveOrigin]: core.String, - perspectiveOriginX: core.String, - [S$0.$perspectiveOriginX]: core.String, - perspectiveOriginY: core.String, - [S$0.$perspectiveOriginY]: core.String, - pointerEvents: core.String, - [S$0.$pointerEvents]: core.String, - position: core.String, - [S$0.$position]: core.String, - printColorAdjust: core.String, - [S$0.$printColorAdjust]: core.String, - quotes: core.String, - [S$0.$quotes]: core.String, - resize: core.String, - [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, - [S$0.$rubyPosition]: core.String, - scrollBehavior: core.String, - [S$0.$scrollBehavior]: core.String, - shapeImageThreshold: core.String, - [S$0.$shapeImageThreshold]: core.String, - shapeMargin: core.String, - [S$0.$shapeMargin]: core.String, - shapeOutside: core.String, - [S$0.$shapeOutside]: core.String, - size: core.String, - [S$.$size]: core.String, - speak: core.String, - [S$0.$speak]: core.String, - src: core.String, - [S$.$src]: core.String, - tabSize: core.String, - [S$0.$tabSize]: core.String, - tableLayout: core.String, - [S$0.$tableLayout]: core.String, - tapHighlightColor: core.String, - [S$0.$tapHighlightColor]: core.String, - textAlign: core.String, - [S$.$textAlign]: core.String, - textAlignLast: core.String, - [S$0.$textAlignLast]: core.String, - textCombine: core.String, - [S$0.$textCombine]: core.String, - textDecoration: core.String, - [S$0.$textDecoration]: core.String, - textDecorationColor: core.String, - [S$0.$textDecorationColor]: core.String, - textDecorationLine: core.String, - [S$0.$textDecorationLine]: core.String, - textDecorationStyle: core.String, - [S$0.$textDecorationStyle]: core.String, - textDecorationsInEffect: core.String, - [S$0.$textDecorationsInEffect]: core.String, - textEmphasis: core.String, - [S$0.$textEmphasis]: core.String, - textEmphasisColor: core.String, - [S$0.$textEmphasisColor]: core.String, - textEmphasisPosition: core.String, - [S$0.$textEmphasisPosition]: core.String, - textEmphasisStyle: core.String, - [S$0.$textEmphasisStyle]: core.String, - textFillColor: core.String, - [S$0.$textFillColor]: core.String, - textIndent: core.String, - [S$0.$textIndent]: core.String, - textJustify: core.String, - [S$0.$textJustify]: core.String, - textLineThroughColor: core.String, - [S$0.$textLineThroughColor]: core.String, - textLineThroughMode: core.String, - [S$0.$textLineThroughMode]: core.String, - textLineThroughStyle: core.String, - [S$0.$textLineThroughStyle]: core.String, - textLineThroughWidth: core.String, - [S$0.$textLineThroughWidth]: core.String, - textOrientation: core.String, - [S$0.$textOrientation]: core.String, - textOverflow: core.String, - [S$0.$textOverflow]: core.String, - textOverlineColor: core.String, - [S$0.$textOverlineColor]: core.String, - textOverlineMode: core.String, - [S$0.$textOverlineMode]: core.String, - textOverlineStyle: core.String, - [S$0.$textOverlineStyle]: core.String, - textOverlineWidth: core.String, - [S$0.$textOverlineWidth]: core.String, - textRendering: core.String, - [S$0.$textRendering]: core.String, - textSecurity: core.String, - [S$0.$textSecurity]: core.String, - textShadow: core.String, - [S$0.$textShadow]: core.String, - textStroke: core.String, - [S$0.$textStroke]: core.String, - textStrokeColor: core.String, - [S$0.$textStrokeColor]: core.String, - textStrokeWidth: core.String, - [S$0.$textStrokeWidth]: core.String, - textTransform: core.String, - [S$0.$textTransform]: core.String, - textUnderlineColor: core.String, - [S$0.$textUnderlineColor]: core.String, - textUnderlineMode: core.String, - [S$0.$textUnderlineMode]: core.String, - textUnderlinePosition: core.String, - [S$0.$textUnderlinePosition]: core.String, - textUnderlineStyle: core.String, - [S$0.$textUnderlineStyle]: core.String, - textUnderlineWidth: core.String, - [S$0.$textUnderlineWidth]: core.String, - top: core.String, - [$top]: core.String, - touchAction: core.String, - [S$0.$touchAction]: core.String, - touchActionDelay: core.String, - [S$0.$touchActionDelay]: core.String, - transform: core.String, - [S$.$transform]: core.String, - transformOrigin: core.String, - [S$0.$transformOrigin]: core.String, - transformOriginX: core.String, - [S$0.$transformOriginX]: core.String, - transformOriginY: core.String, - [S$0.$transformOriginY]: core.String, - transformOriginZ: core.String, - [S$0.$transformOriginZ]: core.String, - transformStyle: core.String, - [S$0.$transformStyle]: core.String, - transition: core.String, - [S$0.$transition]: core.String, - transitionDelay: core.String, - [S$0.$transitionDelay]: core.String, - transitionDuration: core.String, - [S$0.$transitionDuration]: core.String, - transitionProperty: core.String, - [S$0.$transitionProperty]: core.String, - transitionTimingFunction: core.String, - [S$0.$transitionTimingFunction]: core.String, - unicodeBidi: core.String, - [S$0.$unicodeBidi]: core.String, - unicodeRange: core.String, - [S$0.$unicodeRange]: core.String, - userDrag: core.String, - [S$0.$userDrag]: core.String, - userModify: core.String, - [S$0.$userModify]: core.String, - userSelect: core.String, - [S$0.$userSelect]: core.String, - userZoom: core.String, - [S$0.$userZoom]: core.String, - verticalAlign: core.String, - [S$0.$verticalAlign]: core.String, - visibility: core.String, - [S$0.$visibility]: core.String, - whiteSpace: core.String, - [S$0.$whiteSpace]: core.String, - widows: core.String, - [S$0.$widows]: core.String, - width: core.String, - [$width]: core.String, - willChange: core.String, - [S$0.$willChange]: core.String, - wordBreak: core.String, - [S$0.$wordBreak]: core.String, - wordSpacing: core.String, - [S$0.$wordSpacing]: core.String, - wordWrap: core.String, - [S$0.$wordWrap]: core.String, - wrapFlow: core.String, - [S$0.$wrapFlow]: core.String, - wrapThrough: core.String, - [S$0.$wrapThrough]: core.String, - writingMode: core.String, - [S$0.$writingMode]: core.String, - zIndex: core.String, - [S$0.$zIndex]: core.String, - zoom: core.String, - [S$0.$zoom]: core.String -})); -dart.setLibraryUri(html$.CssStyleDeclarationBase, I[150]); -dart.defineExtensionAccessors(html$.CssStyleDeclarationBase, [ - 'alignContent', - 'alignItems', - 'alignSelf', - 'animation', - 'animationDelay', - 'animationDirection', - 'animationDuration', - 'animationFillMode', - 'animationIterationCount', - 'animationName', - 'animationPlayState', - 'animationTimingFunction', - 'appRegion', - 'appearance', - 'aspectRatio', - 'backfaceVisibility', - 'background', - 'backgroundAttachment', - 'backgroundBlendMode', - 'backgroundClip', - 'backgroundColor', - 'backgroundComposite', - 'backgroundImage', - 'backgroundOrigin', - 'backgroundPosition', - 'backgroundPositionX', - 'backgroundPositionY', - 'backgroundRepeat', - 'backgroundRepeatX', - 'backgroundRepeatY', - 'backgroundSize', - 'border', - 'borderAfter', - 'borderAfterColor', - 'borderAfterStyle', - 'borderAfterWidth', - 'borderBefore', - 'borderBeforeColor', - 'borderBeforeStyle', - 'borderBeforeWidth', - 'borderBottom', - 'borderBottomColor', - 'borderBottomLeftRadius', - 'borderBottomRightRadius', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderEnd', - 'borderEndColor', - 'borderEndStyle', - 'borderEndWidth', - 'borderFit', - 'borderHorizontalSpacing', - 'borderImage', - 'borderImageOutset', - 'borderImageRepeat', - 'borderImageSlice', - 'borderImageSource', - 'borderImageWidth', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRadius', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStart', - 'borderStartColor', - 'borderStartStyle', - 'borderStartWidth', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopLeftRadius', - 'borderTopRightRadius', - 'borderTopStyle', - 'borderTopWidth', - 'borderVerticalSpacing', - 'borderWidth', - 'bottom', - 'boxAlign', - 'boxDecorationBreak', - 'boxDirection', - 'boxFlex', - 'boxFlexGroup', - 'boxLines', - 'boxOrdinalGroup', - 'boxOrient', - 'boxPack', - 'boxReflect', - 'boxShadow', - 'boxSizing', - 'captionSide', - 'clear', - 'clip', - 'clipPath', - 'color', - 'columnBreakAfter', - 'columnBreakBefore', - 'columnBreakInside', - 'columnCount', - 'columnFill', - 'columnGap', - 'columnRule', - 'columnRuleColor', - 'columnRuleStyle', - 'columnRuleWidth', - 'columnSpan', - 'columnWidth', - 'columns', - 'content', - 'counterIncrement', - 'counterReset', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'filter', - 'flex', - 'flexBasis', - 'flexDirection', - 'flexFlow', - 'flexGrow', - 'flexShrink', - 'flexWrap', - 'float', - 'font', - 'fontFamily', - 'fontFeatureSettings', - 'fontKerning', - 'fontSize', - 'fontSizeDelta', - 'fontSmoothing', - 'fontStretch', - 'fontStyle', - 'fontVariant', - 'fontVariantLigatures', - 'fontWeight', - 'gap', - 'grid', - 'gridArea', - 'gridAutoColumns', - 'gridAutoFlow', - 'gridAutoRows', - 'gridColumn', - 'gridColumnEnd', - 'gridColumnStart', - 'gridRow', - 'gridRowEnd', - 'gridRowStart', - 'gridTemplate', - 'gridTemplateAreas', - 'gridTemplateColumns', - 'gridTemplateRows', - 'height', - 'highlight', - 'hyphenateCharacter', - 'imageRendering', - 'isolation', - 'justifyContent', - 'justifySelf', - 'left', - 'letterSpacing', - 'lineBoxContain', - 'lineBreak', - 'lineClamp', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'locale', - 'logicalHeight', - 'logicalWidth', - 'margin', - 'marginAfter', - 'marginAfterCollapse', - 'marginBefore', - 'marginBeforeCollapse', - 'marginBottom', - 'marginBottomCollapse', - 'marginCollapse', - 'marginEnd', - 'marginLeft', - 'marginRight', - 'marginStart', - 'marginTop', - 'marginTopCollapse', - 'mask', - 'maskBoxImage', - 'maskBoxImageOutset', - 'maskBoxImageRepeat', - 'maskBoxImageSlice', - 'maskBoxImageSource', - 'maskBoxImageWidth', - 'maskClip', - 'maskComposite', - 'maskImage', - 'maskOrigin', - 'maskPosition', - 'maskPositionX', - 'maskPositionY', - 'maskRepeat', - 'maskRepeatX', - 'maskRepeatY', - 'maskSize', - 'maskSourceType', - 'maxHeight', - 'maxLogicalHeight', - 'maxLogicalWidth', - 'maxWidth', - 'maxZoom', - 'minHeight', - 'minLogicalHeight', - 'minLogicalWidth', - 'minWidth', - 'minZoom', - 'mixBlendMode', - 'objectFit', - 'objectPosition', - 'opacity', - 'order', - 'orientation', - 'orphans', - 'outline', - 'outlineColor', - 'outlineOffset', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'overflowWrap', - 'overflowX', - 'overflowY', - 'padding', - 'paddingAfter', - 'paddingBefore', - 'paddingBottom', - 'paddingEnd', - 'paddingLeft', - 'paddingRight', - 'paddingStart', - 'paddingTop', - 'page', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'perspective', - 'perspectiveOrigin', - 'perspectiveOriginX', - 'perspectiveOriginY', - 'pointerEvents', - 'position', - 'printColorAdjust', - 'quotes', - 'resize', - 'right', - 'rowGap', - 'rtlOrdering', - 'rubyPosition', - 'scrollBehavior', - 'shapeImageThreshold', - 'shapeMargin', - 'shapeOutside', - 'size', - 'speak', - 'src', - 'tabSize', - 'tableLayout', - 'tapHighlightColor', - 'textAlign', - 'textAlignLast', - 'textCombine', - 'textDecoration', - 'textDecorationColor', - 'textDecorationLine', - 'textDecorationStyle', - 'textDecorationsInEffect', - 'textEmphasis', - 'textEmphasisColor', - 'textEmphasisPosition', - 'textEmphasisStyle', - 'textFillColor', - 'textIndent', - 'textJustify', - 'textLineThroughColor', - 'textLineThroughMode', - 'textLineThroughStyle', - 'textLineThroughWidth', - 'textOrientation', - 'textOverflow', - 'textOverlineColor', - 'textOverlineMode', - 'textOverlineStyle', - 'textOverlineWidth', - 'textRendering', - 'textSecurity', - 'textShadow', - 'textStroke', - 'textStrokeColor', - 'textStrokeWidth', - 'textTransform', - 'textUnderlineColor', - 'textUnderlineMode', - 'textUnderlinePosition', - 'textUnderlineStyle', - 'textUnderlineWidth', - 'top', - 'touchAction', - 'touchActionDelay', - 'transform', - 'transformOrigin', - 'transformOriginX', - 'transformOriginY', - 'transformOriginZ', - 'transformStyle', - 'transition', - 'transitionDelay', - 'transitionDuration', - 'transitionProperty', - 'transitionTimingFunction', - 'unicodeBidi', - 'unicodeRange', - 'userDrag', - 'userModify', - 'userSelect', - 'userZoom', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'widows', - 'width', - 'willChange', - 'wordBreak', - 'wordSpacing', - 'wordWrap', - 'wrapFlow', - 'wrapThrough', - 'writingMode', - 'zIndex', - 'zoom' -]); -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[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[149], 3978, 34, "propertyName"); - return this[S$._getPropertyValueHelper](propertyName); - } - [S$._getPropertyValueHelper](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[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[149], 3999, 33, "propertyName"); - return propertyName in this; - } - [S$.$setProperty](propertyName, value, priority = null) { - 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[149], 4008, 38, "propertyName"); - let name = html$.CssStyleDeclaration._readCache(propertyName); - if (typeof name == 'string') return name; - name = this[S$._supportedBrowserPropertyName](propertyName); - html$.CssStyleDeclaration._writeCache(propertyName, name); - return name; - } - [S$._supportedBrowserPropertyName](propertyName) { - if (propertyName == null) dart.nullFailed(I[149], 4016, 47, "propertyName"); - if (dart.test(this[S$._supportsProperty](html$.CssStyleDeclaration._camelCase(propertyName)))) { - return propertyName; - } - let prefixed = dart.str(html_common.Device.cssPrefix) + dart.str(propertyName); - if (dart.test(this[S$._supportsProperty](prefixed))) { - return prefixed; - } - return propertyName; - } - static _readCache(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[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[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[149], 4044, 34, "propertyName"); - if (value == null) value = ""; - if (priority == null) priority = ""; - this.setProperty(propertyName, value, priority); - } - static get supportsTransitions() { - return dart.nullCheck(html$.document.body).style[S$.$supportsProperty]("transition"); - } - static ['_#_#tearOff']() { - return html$.CssStyleDeclaration.__(); - } - get [S$.$cssFloat]() { - return this.cssFloat; - } - set [S$.$cssFloat](value) { - this.cssFloat = value; - } - get [S$.$cssText]() { - return this.cssText; - } - set [S$.$cssText](value) { - this.cssText = value; - } - get [$length]() { - return this.length; - } - get [S$.$parentRule]() { - return this.parentRule; - } - [S$.$getPropertyPriority](...args) { - return this.getPropertyPriority.apply(this, args); - } - [S$._getPropertyValue](...args) { - return this.getPropertyValue.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$removeProperty](...args) { - return this.removeProperty.apply(this, args); - } - get [S$.$background]() { - return this[S$._background]; - } - set [S$.$background](value) { - this[S$._background] = value == null ? "" : value; - } - get [S$._background]() { - return this.background; - } - set [S$._background](value) { - this.background = value; - } - get [S$.$backgroundAttachment]() { - return this[S$._backgroundAttachment]; - } - set [S$.$backgroundAttachment](value) { - this[S$._backgroundAttachment] = value == null ? "" : value; - } - get [S$._backgroundAttachment]() { - return this.backgroundAttachment; - } - set [S$._backgroundAttachment](value) { - this.backgroundAttachment = value; - } - get [S$.$backgroundColor]() { - return this[S$._backgroundColor]; - } - set [S$.$backgroundColor](value) { - this[S$._backgroundColor] = value == null ? "" : value; - } - get [S$._backgroundColor]() { - return this.backgroundColor; - } - set [S$._backgroundColor](value) { - this.backgroundColor = value; - } - get [S$.$backgroundImage]() { - return this[S$._backgroundImage]; - } - set [S$.$backgroundImage](value) { - this[S$._backgroundImage] = value == null ? "" : value; - } - get [S$._backgroundImage]() { - return this.backgroundImage; - } - set [S$._backgroundImage](value) { - this.backgroundImage = value; - } - get [S$.$backgroundPosition]() { - return this[S$._backgroundPosition]; - } - set [S$.$backgroundPosition](value) { - this[S$._backgroundPosition] = value == null ? "" : value; - } - get [S$._backgroundPosition]() { - return this.backgroundPosition; - } - set [S$._backgroundPosition](value) { - this.backgroundPosition = value; - } - get [S$.$backgroundRepeat]() { - return this[S$._backgroundRepeat]; - } - set [S$.$backgroundRepeat](value) { - this[S$._backgroundRepeat] = value == null ? "" : value; - } - get [S$._backgroundRepeat]() { - return this.backgroundRepeat; - } - set [S$._backgroundRepeat](value) { - this.backgroundRepeat = value; - } - get [S$.$border]() { - return this[S$._border]; - } - set [S$.$border](value) { - this[S$._border] = value == null ? "" : value; - } - get [S$._border]() { - return this.border; - } - set [S$._border](value) { - this.border = value; - } - get [S$.$borderBottom]() { - return this[S$._borderBottom]; - } - set [S$.$borderBottom](value) { - this[S$._borderBottom] = value == null ? "" : value; - } - get [S$._borderBottom]() { - return this.borderBottom; - } - set [S$._borderBottom](value) { - this.borderBottom = value; - } - get [S$.$borderBottomColor]() { - return this[S$._borderBottomColor]; - } - set [S$.$borderBottomColor](value) { - this[S$._borderBottomColor] = value == null ? "" : value; - } - get [S$._borderBottomColor]() { - return this.borderBottomColor; - } - set [S$._borderBottomColor](value) { - this.borderBottomColor = value; - } - get [S$0.$borderBottomStyle]() { - return this[S$._borderBottomStyle]; - } - set [S$0.$borderBottomStyle](value) { - this[S$._borderBottomStyle] = value == null ? "" : value; - } - get [S$._borderBottomStyle]() { - return this.borderBottomStyle; - } - set [S$._borderBottomStyle](value) { - this.borderBottomStyle = value; - } - get [S$0.$borderBottomWidth]() { - return this[S$0._borderBottomWidth]; - } - set [S$0.$borderBottomWidth](value) { - this[S$0._borderBottomWidth] = value == null ? "" : value; - } - get [S$0._borderBottomWidth]() { - return this.borderBottomWidth; - } - set [S$0._borderBottomWidth](value) { - this.borderBottomWidth = value; - } - get [S$0.$borderCollapse]() { - return this[S$0._borderCollapse]; - } - set [S$0.$borderCollapse](value) { - this[S$0._borderCollapse] = value == null ? "" : value; - } - get [S$0._borderCollapse]() { - return this.borderCollapse; - } - set [S$0._borderCollapse](value) { - this.borderCollapse = value; - } - get [S$0.$borderColor]() { - return this[S$0._borderColor]; - } - set [S$0.$borderColor](value) { - this[S$0._borderColor] = value == null ? "" : value; - } - get [S$0._borderColor]() { - return this.borderColor; - } - set [S$0._borderColor](value) { - this.borderColor = value; - } - get [S$0.$borderLeft]() { - return this[S$0._borderLeft]; - } - set [S$0.$borderLeft](value) { - this[S$0._borderLeft] = value == null ? "" : value; - } - get [S$0._borderLeft]() { - return this.borderLeft; - } - set [S$0._borderLeft](value) { - this.borderLeft = value; - } - get [S$0.$borderLeftColor]() { - return this[S$0._borderLeftColor]; - } - set [S$0.$borderLeftColor](value) { - this[S$0._borderLeftColor] = value == null ? "" : value; - } - get [S$0._borderLeftColor]() { - return this.borderLeftColor; - } - set [S$0._borderLeftColor](value) { - this.borderLeftColor = value; - } - get [S$0.$borderLeftStyle]() { - return this[S$0._borderLeftStyle]; - } - set [S$0.$borderLeftStyle](value) { - this[S$0._borderLeftStyle] = value == null ? "" : value; - } - get [S$0._borderLeftStyle]() { - return this.borderLeftStyle; - } - set [S$0._borderLeftStyle](value) { - this.borderLeftStyle = value; - } - get [S$0.$borderLeftWidth]() { - return this[S$0._borderLeftWidth]; - } - set [S$0.$borderLeftWidth](value) { - this[S$0._borderLeftWidth] = value == null ? "" : value; - } - get [S$0._borderLeftWidth]() { - return this.borderLeftWidth; - } - set [S$0._borderLeftWidth](value) { - this.borderLeftWidth = value; - } - get [S$0.$borderRight]() { - return this[S$0._borderRight]; - } - set [S$0.$borderRight](value) { - this[S$0._borderRight] = value == null ? "" : value; - } - get [S$0._borderRight]() { - return this.borderRight; - } - set [S$0._borderRight](value) { - this.borderRight = value; - } - get [S$0.$borderRightColor]() { - return this[S$0._borderRightColor]; - } - set [S$0.$borderRightColor](value) { - this[S$0._borderRightColor] = value == null ? "" : value; - } - get [S$0._borderRightColor]() { - return this.borderRightColor; - } - set [S$0._borderRightColor](value) { - this.borderRightColor = value; - } - get [S$0.$borderRightStyle]() { - return this[S$0._borderRightStyle]; - } - set [S$0.$borderRightStyle](value) { - this[S$0._borderRightStyle] = value == null ? "" : value; - } - get [S$0._borderRightStyle]() { - return this.borderRightStyle; - } - set [S$0._borderRightStyle](value) { - this.borderRightStyle = value; - } - get [S$0.$borderRightWidth]() { - return this[S$0._borderRightWidth]; - } - set [S$0.$borderRightWidth](value) { - this[S$0._borderRightWidth] = value == null ? "" : value; - } - get [S$0._borderRightWidth]() { - return this.borderRightWidth; - } - set [S$0._borderRightWidth](value) { - this.borderRightWidth = value; - } - get [S$0.$borderSpacing]() { - return this[S$0._borderSpacing]; - } - set [S$0.$borderSpacing](value) { - this[S$0._borderSpacing] = value == null ? "" : value; - } - get [S$0._borderSpacing]() { - return this.borderSpacing; - } - set [S$0._borderSpacing](value) { - this.borderSpacing = value; - } - get [S$0.$borderStyle]() { - return this[S$0._borderStyle]; - } - set [S$0.$borderStyle](value) { - this[S$0._borderStyle] = value == null ? "" : value; - } - get [S$0._borderStyle]() { - return this.borderStyle; - } - set [S$0._borderStyle](value) { - this.borderStyle = value; - } - get [S$0.$borderTop]() { - return this[S$0._borderTop]; - } - set [S$0.$borderTop](value) { - this[S$0._borderTop] = value == null ? "" : value; - } - get [S$0._borderTop]() { - return this.borderTop; - } - set [S$0._borderTop](value) { - this.borderTop = value; - } - get [S$0.$borderTopColor]() { - return this[S$0._borderTopColor]; - } - set [S$0.$borderTopColor](value) { - this[S$0._borderTopColor] = value == null ? "" : value; - } - get [S$0._borderTopColor]() { - return this.borderTopColor; - } - set [S$0._borderTopColor](value) { - this.borderTopColor = value; - } - get [S$0.$borderTopStyle]() { - return this[S$0._borderTopStyle]; - } - set [S$0.$borderTopStyle](value) { - this[S$0._borderTopStyle] = value == null ? "" : value; - } - get [S$0._borderTopStyle]() { - return this.borderTopStyle; - } - set [S$0._borderTopStyle](value) { - this.borderTopStyle = value; - } - get [S$0.$borderTopWidth]() { - return this[S$0._borderTopWidth]; - } - set [S$0.$borderTopWidth](value) { - this[S$0._borderTopWidth] = value == null ? "" : value; - } - get [S$0._borderTopWidth]() { - return this.borderTopWidth; - } - set [S$0._borderTopWidth](value) { - this.borderTopWidth = value; - } - get [S$0.$borderWidth]() { - return this[S$0._borderWidth]; - } - set [S$0.$borderWidth](value) { - this[S$0._borderWidth] = value == null ? "" : value; - } - get [S$0._borderWidth]() { - return this.borderWidth; - } - set [S$0._borderWidth](value) { - this.borderWidth = value; - } - get [$bottom]() { - return this[S$0._bottom]; - } - set [$bottom](value) { - this[S$0._bottom] = value == null ? "" : value; - } - get [S$0._bottom]() { - return this.bottom; - } - set [S$0._bottom](value) { - this.bottom = value; - } - get [S$0.$captionSide]() { - return this[S$0._captionSide]; - } - set [S$0.$captionSide](value) { - this[S$0._captionSide] = value == null ? "" : value; - } - get [S$0._captionSide]() { - return this.captionSide; - } - set [S$0._captionSide](value) { - this.captionSide = value; - } - get [$clear]() { - return this[S$0._clear$3]; - } - set [$clear](value) { - this[S$0._clear$3] = value == null ? "" : value; - } - get [S$0._clear$3]() { - return this.clear; - } - set [S$0._clear$3](value) { - this.clear = value; - } - get [S$.$clip]() { - return this[S$0._clip]; - } - set [S$.$clip](value) { - this[S$0._clip] = value == null ? "" : value; - } - get [S$0._clip]() { - return this.clip; - } - set [S$0._clip](value) { - this.clip = value; - } - get [S$0.$color]() { - return this[S$0._color]; - } - set [S$0.$color](value) { - this[S$0._color] = value == null ? "" : value; - } - get [S$0._color]() { - return this.color; - } - set [S$0._color](value) { - this.color = value; - } - get [S$0.$content]() { - return this[S$0._content]; - } - set [S$0.$content](value) { - this[S$0._content] = value == null ? "" : value; - } - get [S$0._content]() { - return this.content; - } - set [S$0._content](value) { - this.content = value; - } - get [S$0.$cursor]() { - return this[S$0._cursor]; - } - set [S$0.$cursor](value) { - this[S$0._cursor] = value == null ? "" : value; - } - get [S$0._cursor]() { - return this.cursor; - } - set [S$0._cursor](value) { - this.cursor = value; - } - get [S.$direction]() { - return this[S$0._direction]; - } - set [S.$direction](value) { - this[S$0._direction] = value == null ? "" : value; - } - get [S$0._direction]() { - return this.direction; - } - set [S$0._direction](value) { - this.direction = value; - } - get [S$0.$display]() { - return this[S$0._display]; - } - set [S$0.$display](value) { - this[S$0._display] = value == null ? "" : value; - } - get [S$0._display]() { - return this.display; - } - set [S$0._display](value) { - this.display = value; - } - get [S$0.$emptyCells]() { - return this[S$0._emptyCells]; - } - set [S$0.$emptyCells](value) { - this[S$0._emptyCells] = value == null ? "" : value; - } - get [S$0._emptyCells]() { - return this.emptyCells; - } - set [S$0._emptyCells](value) { - this.emptyCells = value; - } - get [S$.$font]() { - return this[S$0._font]; - } - set [S$.$font](value) { - this[S$0._font] = value == null ? "" : value; - } - get [S$0._font]() { - return this.font; - } - set [S$0._font](value) { - this.font = value; - } - get [S$0.$fontFamily]() { - return this[S$0._fontFamily]; - } - set [S$0.$fontFamily](value) { - this[S$0._fontFamily] = value == null ? "" : value; - } - get [S$0._fontFamily]() { - return this.fontFamily; - } - set [S$0._fontFamily](value) { - this.fontFamily = value; - } - get [S$0.$fontSize]() { - return this[S$0._fontSize]; - } - set [S$0.$fontSize](value) { - this[S$0._fontSize] = value == null ? "" : value; - } - get [S$0._fontSize]() { - return this.fontSize; - } - set [S$0._fontSize](value) { - this.fontSize = value; - } - get [S$0.$fontStyle]() { - return this[S$0._fontStyle]; - } - set [S$0.$fontStyle](value) { - this[S$0._fontStyle] = value == null ? "" : value; - } - get [S$0._fontStyle]() { - return this.fontStyle; - } - set [S$0._fontStyle](value) { - this.fontStyle = value; - } - get [S$0.$fontVariant]() { - return this[S$0._fontVariant]; - } - set [S$0.$fontVariant](value) { - this[S$0._fontVariant] = value == null ? "" : value; - } - get [S$0._fontVariant]() { - return this.fontVariant; - } - set [S$0._fontVariant](value) { - this.fontVariant = value; - } - get [S$0.$fontWeight]() { - return this[S$0._fontWeight]; - } - set [S$0.$fontWeight](value) { - this[S$0._fontWeight] = value == null ? "" : value; - } - get [S$0._fontWeight]() { - return this.fontWeight; - } - set [S$0._fontWeight](value) { - this.fontWeight = value; - } - get [$height]() { - return this[S$0._height$1]; - } - set [$height](value) { - this[S$0._height$1] = value == null ? "" : value; - } - get [S$0._height$1]() { - return this.height; - } - set [S$0._height$1](value) { - this.height = value; - } - get [$left]() { - return this[S$0._left$2]; - } - set [$left](value) { - this[S$0._left$2] = value == null ? "" : value; - } - get [S$0._left$2]() { - return this.left; - } - set [S$0._left$2](value) { - this.left = value; - } - get [S$0.$letterSpacing]() { - return this[S$0._letterSpacing]; - } - set [S$0.$letterSpacing](value) { - this[S$0._letterSpacing] = value == null ? "" : value; - } - get [S$0._letterSpacing]() { - return this.letterSpacing; - } - set [S$0._letterSpacing](value) { - this.letterSpacing = value; - } - get [S$0.$lineHeight]() { - return this[S$0._lineHeight]; - } - set [S$0.$lineHeight](value) { - this[S$0._lineHeight] = value == null ? "" : value; - } - get [S$0._lineHeight]() { - return this.lineHeight; - } - set [S$0._lineHeight](value) { - this.lineHeight = value; - } - get [S$0.$listStyle]() { - return this[S$0._listStyle]; - } - set [S$0.$listStyle](value) { - this[S$0._listStyle] = value == null ? "" : value; - } - get [S$0._listStyle]() { - return this.listStyle; - } - set [S$0._listStyle](value) { - this.listStyle = value; - } - get [S$0.$listStyleImage]() { - return this[S$0._listStyleImage]; - } - set [S$0.$listStyleImage](value) { - this[S$0._listStyleImage] = value == null ? "" : value; - } - get [S$0._listStyleImage]() { - return this.listStyleImage; - } - set [S$0._listStyleImage](value) { - this.listStyleImage = value; - } - get [S$0.$listStylePosition]() { - return this[S$0._listStylePosition]; - } - set [S$0.$listStylePosition](value) { - this[S$0._listStylePosition] = value == null ? "" : value; - } - get [S$0._listStylePosition]() { - return this.listStylePosition; - } - set [S$0._listStylePosition](value) { - this.listStylePosition = value; - } - get [S$0.$listStyleType]() { - return this[S$0._listStyleType]; - } - set [S$0.$listStyleType](value) { - this[S$0._listStyleType] = value == null ? "" : value; - } - get [S$0._listStyleType]() { - return this.listStyleType; - } - set [S$0._listStyleType](value) { - this.listStyleType = value; - } - get [S$0.$margin]() { - return this[S$0._margin]; - } - set [S$0.$margin](value) { - this[S$0._margin] = value == null ? "" : value; - } - get [S$0._margin]() { - return this.margin; - } - set [S$0._margin](value) { - this.margin = value; - } - get [S$0.$marginBottom]() { - return this[S$0._marginBottom]; - } - set [S$0.$marginBottom](value) { - this[S$0._marginBottom] = value == null ? "" : value; - } - get [S$0._marginBottom]() { - return this.marginBottom; - } - set [S$0._marginBottom](value) { - this.marginBottom = value; - } - get [S$0.$marginLeft]() { - return this[S$0._marginLeft]; - } - set [S$0.$marginLeft](value) { - this[S$0._marginLeft] = value == null ? "" : value; - } - get [S$0._marginLeft]() { - return this.marginLeft; - } - set [S$0._marginLeft](value) { - this.marginLeft = value; - } - get [S$0.$marginRight]() { - return this[S$0._marginRight]; - } - set [S$0.$marginRight](value) { - this[S$0._marginRight] = value == null ? "" : value; - } - get [S$0._marginRight]() { - return this.marginRight; - } - set [S$0._marginRight](value) { - this.marginRight = value; - } - get [S$0.$marginTop]() { - return this[S$0._marginTop]; - } - set [S$0.$marginTop](value) { - this[S$0._marginTop] = value == null ? "" : value; - } - get [S$0._marginTop]() { - return this.marginTop; - } - set [S$0._marginTop](value) { - this.marginTop = value; - } - get [S$0.$maxHeight]() { - return this[S$0._maxHeight]; - } - set [S$0.$maxHeight](value) { - this[S$0._maxHeight] = value == null ? "" : value; - } - get [S$0._maxHeight]() { - return this.maxHeight; - } - set [S$0._maxHeight](value) { - this.maxHeight = value; - } - get [S$0.$maxWidth]() { - return this[S$0._maxWidth]; - } - set [S$0.$maxWidth](value) { - this[S$0._maxWidth] = value == null ? "" : value; - } - get [S$0._maxWidth]() { - return this.maxWidth; - } - set [S$0._maxWidth](value) { - this.maxWidth = value; - } - get [S$0.$minHeight]() { - return this[S$0._minHeight]; - } - set [S$0.$minHeight](value) { - this[S$0._minHeight] = value == null ? "" : value; - } - get [S$0._minHeight]() { - return this.minHeight; - } - set [S$0._minHeight](value) { - this.minHeight = value; - } - get [S$0.$minWidth]() { - return this[S$0._minWidth]; - } - set [S$0.$minWidth](value) { - this[S$0._minWidth] = value == null ? "" : value; - } - get [S$0._minWidth]() { - return this.minWidth; - } - set [S$0._minWidth](value) { - this.minWidth = value; - } - get [S$0.$outline]() { - return this[S$0._outline]; - } - set [S$0.$outline](value) { - this[S$0._outline] = value == null ? "" : value; - } - get [S$0._outline]() { - return this.outline; - } - set [S$0._outline](value) { - this.outline = value; - } - get [S$0.$outlineColor]() { - return this[S$0._outlineColor]; - } - set [S$0.$outlineColor](value) { - this[S$0._outlineColor] = value == null ? "" : value; - } - get [S$0._outlineColor]() { - return this.outlineColor; - } - set [S$0._outlineColor](value) { - this.outlineColor = value; - } - get [S$0.$outlineStyle]() { - return this[S$0._outlineStyle]; - } - set [S$0.$outlineStyle](value) { - this[S$0._outlineStyle] = value == null ? "" : value; - } - get [S$0._outlineStyle]() { - return this.outlineStyle; - } - set [S$0._outlineStyle](value) { - this.outlineStyle = value; - } - get [S$0.$outlineWidth]() { - return this[S$0._outlineWidth]; - } - set [S$0.$outlineWidth](value) { - this[S$0._outlineWidth] = value == null ? "" : value; - } - get [S$0._outlineWidth]() { - return this.outlineWidth; - } - set [S$0._outlineWidth](value) { - this.outlineWidth = value; - } - get [S$0.$overflow]() { - return this[S$0._overflow]; - } - set [S$0.$overflow](value) { - this[S$0._overflow] = value == null ? "" : value; - } - get [S$0._overflow]() { - return this.overflow; - } - set [S$0._overflow](value) { - this.overflow = value; - } - get [S$0.$padding]() { - return this[S$0._padding]; - } - set [S$0.$padding](value) { - this[S$0._padding] = value == null ? "" : value; - } - get [S$0._padding]() { - return this.padding; - } - set [S$0._padding](value) { - this.padding = value; - } - get [S$0.$paddingBottom]() { - return this[S$0._paddingBottom]; - } - set [S$0.$paddingBottom](value) { - this[S$0._paddingBottom] = value == null ? "" : value; - } - get [S$0._paddingBottom]() { - return this.paddingBottom; - } - set [S$0._paddingBottom](value) { - this.paddingBottom = value; - } - get [S$0.$paddingLeft]() { - return this[S$0._paddingLeft]; - } - set [S$0.$paddingLeft](value) { - this[S$0._paddingLeft] = value == null ? "" : value; - } - get [S$0._paddingLeft]() { - return this.paddingLeft; - } - set [S$0._paddingLeft](value) { - this.paddingLeft = value; - } - get [S$0.$paddingRight]() { - return this[S$0._paddingRight]; - } - set [S$0.$paddingRight](value) { - this[S$0._paddingRight] = value == null ? "" : value; - } - get [S$0._paddingRight]() { - return this.paddingRight; - } - set [S$0._paddingRight](value) { - this.paddingRight = value; - } - get [S$0.$paddingTop]() { - return this[S$0._paddingTop]; - } - set [S$0.$paddingTop](value) { - this[S$0._paddingTop] = value == null ? "" : value; - } - get [S$0._paddingTop]() { - return this.paddingTop; - } - set [S$0._paddingTop](value) { - this.paddingTop = value; - } - get [S$0.$pageBreakAfter]() { - return this[S$0._pageBreakAfter]; - } - set [S$0.$pageBreakAfter](value) { - this[S$0._pageBreakAfter] = value == null ? "" : value; - } - get [S$0._pageBreakAfter]() { - return this.pageBreakAfter; - } - set [S$0._pageBreakAfter](value) { - this.pageBreakAfter = value; - } - get [S$0.$pageBreakBefore]() { - return this[S$0._pageBreakBefore]; - } - set [S$0.$pageBreakBefore](value) { - this[S$0._pageBreakBefore] = value == null ? "" : value; - } - get [S$0._pageBreakBefore]() { - return this.pageBreakBefore; - } - set [S$0._pageBreakBefore](value) { - this.pageBreakBefore = value; - } - get [S$0.$pageBreakInside]() { - return this[S$0._pageBreakInside]; - } - set [S$0.$pageBreakInside](value) { - this[S$0._pageBreakInside] = value == null ? "" : value; - } - get [S$0._pageBreakInside]() { - return this.pageBreakInside; - } - set [S$0._pageBreakInside](value) { - this.pageBreakInside = value; - } - get [S$0.$position]() { - return this[S$0._position$2]; - } - set [S$0.$position](value) { - this[S$0._position$2] = value == null ? "" : value; - } - get [S$0._position$2]() { - return this.position; - } - set [S$0._position$2](value) { - this.position = value; - } - get [S$0.$quotes]() { - return this[S$0._quotes]; - } - set [S$0.$quotes](value) { - this[S$0._quotes] = value == null ? "" : value; - } - get [S$0._quotes]() { - return this.quotes; - } - set [S$0._quotes](value) { - this.quotes = value; - } - get [$right]() { - return this[S$0._right$2]; - } - set [$right](value) { - this[S$0._right$2] = value == null ? "" : value; - } - get [S$0._right$2]() { - return this.right; - } - set [S$0._right$2](value) { - this.right = value; - } - get [S$0.$tableLayout]() { - return this[S$0._tableLayout]; - } - set [S$0.$tableLayout](value) { - this[S$0._tableLayout] = value == null ? "" : value; - } - get [S$0._tableLayout]() { - return this.tableLayout; - } - set [S$0._tableLayout](value) { - this.tableLayout = value; - } - get [S$.$textAlign]() { - return this[S$0._textAlign]; - } - set [S$.$textAlign](value) { - this[S$0._textAlign] = value == null ? "" : value; - } - get [S$0._textAlign]() { - return this.textAlign; - } - set [S$0._textAlign](value) { - this.textAlign = value; - } - get [S$0.$textDecoration]() { - return this[S$0._textDecoration]; - } - set [S$0.$textDecoration](value) { - this[S$0._textDecoration] = value == null ? "" : value; - } - get [S$0._textDecoration]() { - return this.textDecoration; - } - set [S$0._textDecoration](value) { - this.textDecoration = value; - } - get [S$0.$textIndent]() { - return this[S$0._textIndent]; - } - set [S$0.$textIndent](value) { - this[S$0._textIndent] = value == null ? "" : value; - } - get [S$0._textIndent]() { - return this.textIndent; - } - set [S$0._textIndent](value) { - this.textIndent = value; - } - get [S$0.$textTransform]() { - return this[S$0._textTransform]; - } - set [S$0.$textTransform](value) { - this[S$0._textTransform] = value == null ? "" : value; - } - get [S$0._textTransform]() { - return this.textTransform; - } - set [S$0._textTransform](value) { - this.textTransform = value; - } - get [$top]() { - return this[S$0._top]; - } - set [$top](value) { - this[S$0._top] = value == null ? "" : value; - } - get [S$0._top]() { - return this.top; - } - set [S$0._top](value) { - this.top = value; - } - get [S$0.$unicodeBidi]() { - return this[S$0._unicodeBidi]; - } - set [S$0.$unicodeBidi](value) { - this[S$0._unicodeBidi] = value == null ? "" : value; - } - get [S$0._unicodeBidi]() { - return this.unicodeBidi; - } - set [S$0._unicodeBidi](value) { - this.unicodeBidi = value; - } - get [S$0.$verticalAlign]() { - return this[S$0._verticalAlign]; - } - set [S$0.$verticalAlign](value) { - this[S$0._verticalAlign] = value == null ? "" : value; - } - get [S$0._verticalAlign]() { - return this.verticalAlign; - } - set [S$0._verticalAlign](value) { - this.verticalAlign = value; - } - get [S$0.$visibility]() { - return this[S$0._visibility]; - } - set [S$0.$visibility](value) { - this[S$0._visibility] = value == null ? "" : value; - } - get [S$0._visibility]() { - return this.visibility; - } - set [S$0._visibility](value) { - this.visibility = value; - } - get [S$0.$whiteSpace]() { - return this[S$0._whiteSpace]; - } - set [S$0.$whiteSpace](value) { - this[S$0._whiteSpace] = value == null ? "" : value; - } - get [S$0._whiteSpace]() { - return this.whiteSpace; - } - set [S$0._whiteSpace](value) { - this.whiteSpace = value; - } - get [$width]() { - return this[S$0._width$1]; - } - set [$width](value) { - this[S$0._width$1] = value == null ? "" : value; - } - get [S$0._width$1]() { - return this.width; - } - set [S$0._width$1](value) { - this.width = value; - } - get [S$0.$wordSpacing]() { - return this[S$0._wordSpacing]; - } - set [S$0.$wordSpacing](value) { - this[S$0._wordSpacing] = value == null ? "" : value; - } - get [S$0._wordSpacing]() { - return this.wordSpacing; - } - set [S$0._wordSpacing](value) { - this.wordSpacing = value; - } - get [S$0.$zIndex]() { - return this[S$0._zIndex]; - } - set [S$0.$zIndex](value) { - this[S$0._zIndex] = value == null ? "" : value; - } - get [S$0._zIndex]() { - return this.zIndex; - } - set [S$0._zIndex](value) { - this.zIndex = value; - } -}; -dart.addTypeTests(html$.CssStyleDeclaration); -dart.addTypeCaches(html$.CssStyleDeclaration); -dart.setMethodSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getMethods(html$.CssStyleDeclaration.__proto__), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValueHelper]: dart.fnType(core.String, [core.String]), - [S$.$supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$._supportsProperty]: dart.fnType(core.bool, [core.String]), - [S$.$setProperty]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$._browserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._supportedBrowserPropertyName]: dart.fnType(core.String, [core.String]), - [S$._setPropertyHelper]: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [S$.$getPropertyPriority]: dart.fnType(core.String, [core.String]), - [S$._getPropertyValue]: dart.fnType(core.String, [core.String]), - [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), - [S$.$cssText]: dart.nullable(core.String), - [$length]: core.int, - [S$.$parentRule]: dart.nullable(html$.CssRule), - [S$._background]: core.String, - [S$._backgroundAttachment]: core.String, - [S$._backgroundColor]: core.String, - [S$._backgroundImage]: core.String, - [S$._backgroundPosition]: core.String, - [S$._backgroundRepeat]: core.String, - [S$._border]: core.String, - [S$._borderBottom]: core.String, - [S$._borderBottomColor]: core.String, - [S$._borderBottomStyle]: 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, - [S$0._borderTopColor]: core.String, - [S$0._borderTopStyle]: core.String, - [S$0._borderTopWidth]: core.String, - [S$0._borderWidth]: core.String, - [S$0._bottom]: core.String, - [S$0._captionSide]: core.String, - [S$0._clear$3]: core.String, - [S$0._clip]: core.String, - [S$0._color]: core.String, - [S$0._content]: core.String, - [S$0._cursor]: core.String, - [S$0._direction]: core.String, - [S$0._display]: core.String, - [S$0._emptyCells]: core.String, - [S$0._font]: core.String, - [S$0._fontFamily]: core.String, - [S$0._fontSize]: core.String, - [S$0._fontStyle]: core.String, - [S$0._fontVariant]: core.String, - [S$0._fontWeight]: core.String, - [S$0._height$1]: core.String, - [S$0._left$2]: core.String, - [S$0._letterSpacing]: core.String, - [S$0._lineHeight]: core.String, - [S$0._listStyle]: core.String, - [S$0._listStyleImage]: core.String, - [S$0._listStylePosition]: core.String, - [S$0._listStyleType]: core.String, - [S$0._margin]: core.String, - [S$0._marginBottom]: core.String, - [S$0._marginLeft]: core.String, - [S$0._marginRight]: core.String, - [S$0._marginTop]: core.String, - [S$0._maxHeight]: core.String, - [S$0._maxWidth]: core.String, - [S$0._minHeight]: core.String, - [S$0._minWidth]: core.String, - [S$0._outline]: core.String, - [S$0._outlineColor]: core.String, - [S$0._outlineStyle]: core.String, - [S$0._outlineWidth]: core.String, - [S$0._overflow]: core.String, - [S$0._padding]: core.String, - [S$0._paddingBottom]: core.String, - [S$0._paddingLeft]: core.String, - [S$0._paddingRight]: core.String, - [S$0._paddingTop]: core.String, - [S$0._pageBreakAfter]: core.String, - [S$0._pageBreakBefore]: core.String, - [S$0._pageBreakInside]: core.String, - [S$0._position$2]: core.String, - [S$0._quotes]: core.String, - [S$0._right$2]: core.String, - [S$0._tableLayout]: core.String, - [S$0._textAlign]: core.String, - [S$0._textDecoration]: core.String, - [S$0._textIndent]: core.String, - [S$0._textTransform]: core.String, - [S$0._top]: core.String, - [S$0._unicodeBidi]: core.String, - [S$0._verticalAlign]: core.String, - [S$0._visibility]: core.String, - [S$0._whiteSpace]: core.String, - [S$0._width$1]: core.String, - [S$0._wordSpacing]: core.String, - [S$0._zIndex]: core.String -})); -dart.setSetterSignature(html$.CssStyleDeclaration, () => ({ - __proto__: dart.getSetters(html$.CssStyleDeclaration.__proto__), - [S$.$cssFloat]: dart.nullable(core.String), - [S$.$cssText]: dart.nullable(core.String), - [S$.$background]: dart.nullable(core.String), - [S$._background]: core.String, - [S$.$backgroundAttachment]: dart.nullable(core.String), - [S$._backgroundAttachment]: core.String, - [S$.$backgroundColor]: dart.nullable(core.String), - [S$._backgroundColor]: core.String, - [S$.$backgroundImage]: dart.nullable(core.String), - [S$._backgroundImage]: core.String, - [S$.$backgroundPosition]: dart.nullable(core.String), - [S$._backgroundPosition]: core.String, - [S$.$backgroundRepeat]: dart.nullable(core.String), - [S$._backgroundRepeat]: core.String, - [S$.$border]: dart.nullable(core.String), - [S$._border]: core.String, - [S$.$borderBottom]: dart.nullable(core.String), - [S$._borderBottom]: core.String, - [S$.$borderBottomColor]: dart.nullable(core.String), - [S$._borderBottomColor]: core.String, - [S$0.$borderBottomStyle]: dart.nullable(core.String), - [S$._borderBottomStyle]: 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$0._borderRightWidth]: core.String, - [S$0.$borderSpacing]: dart.nullable(core.String), - [S$0._borderSpacing]: core.String, - [S$0.$borderStyle]: dart.nullable(core.String), - [S$0._borderStyle]: core.String, - [S$0.$borderTop]: dart.nullable(core.String), - [S$0._borderTop]: core.String, - [S$0.$borderTopColor]: dart.nullable(core.String), - [S$0._borderTopColor]: core.String, - [S$0.$borderTopStyle]: dart.nullable(core.String), - [S$0._borderTopStyle]: core.String, - [S$0.$borderTopWidth]: dart.nullable(core.String), - [S$0._borderTopWidth]: core.String, - [S$0.$borderWidth]: dart.nullable(core.String), - [S$0._borderWidth]: core.String, - [$bottom]: dart.nullable(core.String), - [S$0._bottom]: core.String, - [S$0.$captionSide]: dart.nullable(core.String), - [S$0._captionSide]: core.String, - [$clear]: dart.nullable(core.String), - [S$0._clear$3]: core.String, - [S$.$clip]: dart.nullable(core.String), - [S$0._clip]: core.String, - [S$0.$color]: dart.nullable(core.String), - [S$0._color]: core.String, - [S$0.$content]: dart.nullable(core.String), - [S$0._content]: core.String, - [S$0.$cursor]: dart.nullable(core.String), - [S$0._cursor]: core.String, - [S.$direction]: dart.nullable(core.String), - [S$0._direction]: core.String, - [S$0.$display]: dart.nullable(core.String), - [S$0._display]: core.String, - [S$0.$emptyCells]: dart.nullable(core.String), - [S$0._emptyCells]: core.String, - [S$.$font]: dart.nullable(core.String), - [S$0._font]: core.String, - [S$0.$fontFamily]: dart.nullable(core.String), - [S$0._fontFamily]: core.String, - [S$0.$fontSize]: dart.nullable(core.String), - [S$0._fontSize]: core.String, - [S$0.$fontStyle]: dart.nullable(core.String), - [S$0._fontStyle]: core.String, - [S$0.$fontVariant]: dart.nullable(core.String), - [S$0._fontVariant]: core.String, - [S$0.$fontWeight]: dart.nullable(core.String), - [S$0._fontWeight]: core.String, - [$height]: dart.nullable(core.String), - [S$0._height$1]: core.String, - [$left]: dart.nullable(core.String), - [S$0._left$2]: core.String, - [S$0.$letterSpacing]: dart.nullable(core.String), - [S$0._letterSpacing]: core.String, - [S$0.$lineHeight]: dart.nullable(core.String), - [S$0._lineHeight]: core.String, - [S$0.$listStyle]: dart.nullable(core.String), - [S$0._listStyle]: core.String, - [S$0.$listStyleImage]: dart.nullable(core.String), - [S$0._listStyleImage]: core.String, - [S$0.$listStylePosition]: dart.nullable(core.String), - [S$0._listStylePosition]: core.String, - [S$0.$listStyleType]: dart.nullable(core.String), - [S$0._listStyleType]: core.String, - [S$0.$margin]: dart.nullable(core.String), - [S$0._margin]: core.String, - [S$0.$marginBottom]: dart.nullable(core.String), - [S$0._marginBottom]: core.String, - [S$0.$marginLeft]: dart.nullable(core.String), - [S$0._marginLeft]: core.String, - [S$0.$marginRight]: dart.nullable(core.String), - [S$0._marginRight]: core.String, - [S$0.$marginTop]: dart.nullable(core.String), - [S$0._marginTop]: core.String, - [S$0.$maxHeight]: dart.nullable(core.String), - [S$0._maxHeight]: core.String, - [S$0.$maxWidth]: dart.nullable(core.String), - [S$0._maxWidth]: core.String, - [S$0.$minHeight]: dart.nullable(core.String), - [S$0._minHeight]: core.String, - [S$0.$minWidth]: dart.nullable(core.String), - [S$0._minWidth]: core.String, - [S$0.$outline]: dart.nullable(core.String), - [S$0._outline]: core.String, - [S$0.$outlineColor]: dart.nullable(core.String), - [S$0._outlineColor]: core.String, - [S$0.$outlineStyle]: dart.nullable(core.String), - [S$0._outlineStyle]: core.String, - [S$0.$outlineWidth]: dart.nullable(core.String), - [S$0._outlineWidth]: core.String, - [S$0.$overflow]: dart.nullable(core.String), - [S$0._overflow]: core.String, - [S$0.$padding]: dart.nullable(core.String), - [S$0._padding]: core.String, - [S$0.$paddingBottom]: dart.nullable(core.String), - [S$0._paddingBottom]: core.String, - [S$0.$paddingLeft]: dart.nullable(core.String), - [S$0._paddingLeft]: core.String, - [S$0.$paddingRight]: dart.nullable(core.String), - [S$0._paddingRight]: core.String, - [S$0.$paddingTop]: dart.nullable(core.String), - [S$0._paddingTop]: core.String, - [S$0.$pageBreakAfter]: dart.nullable(core.String), - [S$0._pageBreakAfter]: core.String, - [S$0.$pageBreakBefore]: dart.nullable(core.String), - [S$0._pageBreakBefore]: core.String, - [S$0.$pageBreakInside]: dart.nullable(core.String), - [S$0._pageBreakInside]: core.String, - [S$0.$position]: dart.nullable(core.String), - [S$0._position$2]: core.String, - [S$0.$quotes]: dart.nullable(core.String), - [S$0._quotes]: core.String, - [$right]: dart.nullable(core.String), - [S$0._right$2]: core.String, - [S$0.$tableLayout]: dart.nullable(core.String), - [S$0._tableLayout]: core.String, - [S$.$textAlign]: dart.nullable(core.String), - [S$0._textAlign]: core.String, - [S$0.$textDecoration]: dart.nullable(core.String), - [S$0._textDecoration]: core.String, - [S$0.$textIndent]: dart.nullable(core.String), - [S$0._textIndent]: core.String, - [S$0.$textTransform]: dart.nullable(core.String), - [S$0._textTransform]: core.String, - [$top]: dart.nullable(core.String), - [S$0._top]: core.String, - [S$0.$unicodeBidi]: dart.nullable(core.String), - [S$0._unicodeBidi]: core.String, - [S$0.$verticalAlign]: dart.nullable(core.String), - [S$0._verticalAlign]: core.String, - [S$0.$visibility]: dart.nullable(core.String), - [S$0._visibility]: core.String, - [S$0.$whiteSpace]: dart.nullable(core.String), - [S$0._whiteSpace]: core.String, - [$width]: dart.nullable(core.String), - [S$0._width$1]: core.String, - [S$0.$wordSpacing]: dart.nullable(core.String), - [S$0._wordSpacing]: core.String, - [S$0.$zIndex]: dart.nullable(core.String), - [S$0._zIndex]: core.String -})); -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 {}; - } -}, false); -dart.registerExtension("CSSStyleDeclaration", html$.CssStyleDeclaration); -dart.registerExtension("MSStyleCSSProperties", html$.CssStyleDeclaration); -dart.registerExtension("CSS2Properties", html$.CssStyleDeclaration); -const Object_CssStyleDeclarationBase$36 = class Object_CssStyleDeclarationBase extends core.Object {}; -(Object_CssStyleDeclarationBase$36.new = function() { -}).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[149], 5443, 34, "propertyName"); - return this[S$0._elementCssStyleDeclarationSetIterable][$first][S$.$getPropertyValue](propertyName); - } - setProperty(propertyName, value, priority = null) { - 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[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[149], 5460, 25, "value"); - this[S$0._setAll]("background", value); - } - get background() { - return super.background; - } - set backgroundAttachment(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[149], 5470, 30, "value"); - this[S$0._setAll]("backgroundColor", value); - } - get backgroundColor() { - return super.backgroundColor; - } - set backgroundImage(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[149], 5480, 33, "value"); - this[S$0._setAll]("backgroundPosition", value); - } - get backgroundPosition() { - return super.backgroundPosition; - } - set backgroundRepeat(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[149], 5490, 21, "value"); - this[S$0._setAll]("border", value); - } - get border() { - return super.border; - } - set borderBottom(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[149], 5500, 32, "value"); - this[S$0._setAll]("borderBottomColor", value); - } - get borderBottomColor() { - return super.borderBottomColor; - } - set borderBottomStyle(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[149], 5510, 32, "value"); - this[S$0._setAll]("borderBottomWidth", value); - } - get borderBottomWidth() { - return super.borderBottomWidth; - } - set borderCollapse(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[149], 5520, 26, "value"); - this[S$0._setAll]("borderColor", value); - } - get borderColor() { - return super.borderColor; - } - set borderLeft(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[149], 5530, 30, "value"); - this[S$0._setAll]("borderLeftColor", value); - } - get borderLeftColor() { - return super.borderLeftColor; - } - set borderLeftStyle(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[149], 5540, 30, "value"); - this[S$0._setAll]("borderLeftWidth", value); - } - get borderLeftWidth() { - return super.borderLeftWidth; - } - set borderRight(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[149], 5550, 31, "value"); - this[S$0._setAll]("borderRightColor", value); - } - get borderRightColor() { - return super.borderRightColor; - } - set borderRightStyle(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[149], 5560, 31, "value"); - this[S$0._setAll]("borderRightWidth", value); - } - get borderRightWidth() { - return super.borderRightWidth; - } - set borderSpacing(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[149], 5570, 26, "value"); - this[S$0._setAll]("borderStyle", value); - } - get borderStyle() { - return super.borderStyle; - } - set borderTop(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[149], 5580, 29, "value"); - this[S$0._setAll]("borderTopColor", value); - } - get borderTopColor() { - return super.borderTopColor; - } - set borderTopStyle(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[149], 5590, 29, "value"); - this[S$0._setAll]("borderTopWidth", value); - } - get borderTopWidth() { - return super.borderTopWidth; - } - set borderWidth(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[149], 5600, 21, "value"); - this[S$0._setAll]("bottom", value); - } - get bottom() { - return super.bottom; - } - set captionSide(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[149], 5610, 20, "value"); - this[S$0._setAll]("clear", value); - } - get clear() { - return super.clear; - } - set clip(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[149], 5620, 20, "value"); - this[S$0._setAll]("color", value); - } - get color() { - return super.color; - } - set content(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[149], 5630, 21, "value"); - this[S$0._setAll]("cursor", value); - } - get cursor() { - return super.cursor; - } - set direction(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[149], 5640, 22, "value"); - this[S$0._setAll]("display", value); - } - get display() { - return super.display; - } - set emptyCells(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[149], 5650, 19, "value"); - this[S$0._setAll]("font", value); - } - get font() { - return super.font; - } - set fontFamily(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[149], 5660, 23, "value"); - this[S$0._setAll]("fontSize", value); - } - get fontSize() { - return super.fontSize; - } - set fontStyle(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[149], 5670, 26, "value"); - this[S$0._setAll]("fontVariant", value); - } - get fontVariant() { - return super.fontVariant; - } - set fontWeight(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[149], 5680, 21, "value"); - this[S$0._setAll]("height", value); - } - get height() { - return super.height; - } - set left(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[149], 5690, 28, "value"); - this[S$0._setAll]("letterSpacing", value); - } - get letterSpacing() { - return super.letterSpacing; - } - set lineHeight(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[149], 5700, 24, "value"); - this[S$0._setAll]("listStyle", value); - } - get listStyle() { - return super.listStyle; - } - set listStyleImage(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[149], 5710, 32, "value"); - this[S$0._setAll]("listStylePosition", value); - } - get listStylePosition() { - return super.listStylePosition; - } - set listStyleType(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[149], 5720, 21, "value"); - this[S$0._setAll]("margin", value); - } - get margin() { - return super.margin; - } - set marginBottom(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[149], 5730, 25, "value"); - this[S$0._setAll]("marginLeft", value); - } - get marginLeft() { - return super.marginLeft; - } - set marginRight(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[149], 5740, 24, "value"); - this[S$0._setAll]("marginTop", value); - } - get marginTop() { - return super.marginTop; - } - set maxHeight(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[149], 5750, 23, "value"); - this[S$0._setAll]("maxWidth", value); - } - get maxWidth() { - return super.maxWidth; - } - set minHeight(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[149], 5760, 23, "value"); - this[S$0._setAll]("minWidth", value); - } - get minWidth() { - return super.minWidth; - } - set outline(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[149], 5770, 27, "value"); - this[S$0._setAll]("outlineColor", value); - } - get outlineColor() { - return super.outlineColor; - } - set outlineStyle(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[149], 5780, 27, "value"); - this[S$0._setAll]("outlineWidth", value); - } - get outlineWidth() { - return super.outlineWidth; - } - set overflow(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[149], 5790, 22, "value"); - this[S$0._setAll]("padding", value); - } - get padding() { - return super.padding; - } - set paddingBottom(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[149], 5800, 26, "value"); - this[S$0._setAll]("paddingLeft", value); - } - get paddingLeft() { - return super.paddingLeft; - } - set paddingRight(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[149], 5810, 25, "value"); - this[S$0._setAll]("paddingTop", value); - } - get paddingTop() { - return super.paddingTop; - } - set pageBreakAfter(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[149], 5820, 30, "value"); - this[S$0._setAll]("pageBreakBefore", value); - } - get pageBreakBefore() { - return super.pageBreakBefore; - } - set pageBreakInside(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[149], 5830, 23, "value"); - this[S$0._setAll]("position", value); - } - get position() { - return super.position; - } - set quotes(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[149], 5840, 20, "value"); - this[S$0._setAll]("right", value); - } - get right() { - return super.right; - } - set tableLayout(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[149], 5850, 24, "value"); - this[S$0._setAll]("textAlign", value); - } - get textAlign() { - return super.textAlign; - } - set textDecoration(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[149], 5860, 25, "value"); - this[S$0._setAll]("textIndent", value); - } - get textIndent() { - return super.textIndent; - } - set textTransform(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[149], 5870, 18, "value"); - this[S$0._setAll]("top", value); - } - get top() { - return super.top; - } - set unicodeBidi(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[149], 5880, 28, "value"); - this[S$0._setAll]("verticalAlign", value); - } - get verticalAlign() { - return super.verticalAlign; - } - set visibility(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[149], 5890, 25, "value"); - this[S$0._setAll]("whiteSpace", value); - } - get whiteSpace() { - return super.whiteSpace; - } - set width(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[149], 5900, 26, "value"); - this[S$0._setAll]("wordSpacing", value); - } - get wordSpacing() { - return super.wordSpacing; - } - set zIndex(value) { - if (value == null) dart.nullFailed(I[149], 5905, 21, "value"); - this[S$0._setAll]("zIndex", value); - } - get zIndex() { - return super.zIndex; - } -}; -(html$._CssStyleDeclarationSet.new = function(_elementIterable) { - if (_elementIterable == null) dart.nullFailed(I[149], 5439, 32, "_elementIterable"); - this[S$0._elementIterable] = _elementIterable; - 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); -dart.setMethodSignature(html$._CssStyleDeclarationSet, () => ({ - __proto__: dart.getMethods(html$._CssStyleDeclarationSet.__proto__), - getPropertyValue: dart.fnType(core.String, [core.String]), - [S$.$getPropertyValue]: dart.fnType(core.String, [core.String]), - setProperty: dart.fnType(dart.void, [core.String, dart.nullable(core.String)], [dart.nullable(core.String)]), - [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[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(core.Iterable$(html$.CssStyleDeclaration)) -})); -dart.defineExtensionMethods(html$._CssStyleDeclarationSet, ['getPropertyValue', 'setProperty']); -dart.defineExtensionAccessors(html$._CssStyleDeclarationSet, [ - 'background', - 'backgroundAttachment', - 'backgroundColor', - 'backgroundImage', - 'backgroundPosition', - 'backgroundRepeat', - 'border', - 'borderBottom', - 'borderBottomColor', - 'borderBottomStyle', - 'borderBottomWidth', - 'borderCollapse', - 'borderColor', - 'borderLeft', - 'borderLeftColor', - 'borderLeftStyle', - 'borderLeftWidth', - 'borderRight', - 'borderRightColor', - 'borderRightStyle', - 'borderRightWidth', - 'borderSpacing', - 'borderStyle', - 'borderTop', - 'borderTopColor', - 'borderTopStyle', - 'borderTopWidth', - 'borderWidth', - 'bottom', - 'captionSide', - 'clear', - 'clip', - 'color', - 'content', - 'cursor', - 'direction', - 'display', - 'emptyCells', - 'font', - 'fontFamily', - 'fontSize', - 'fontStyle', - 'fontVariant', - 'fontWeight', - 'height', - 'left', - 'letterSpacing', - 'lineHeight', - 'listStyle', - 'listStyleImage', - 'listStylePosition', - 'listStyleType', - 'margin', - 'marginBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'maxHeight', - 'maxWidth', - 'minHeight', - 'minWidth', - 'outline', - 'outlineColor', - 'outlineStyle', - 'outlineWidth', - 'overflow', - 'padding', - 'paddingBottom', - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'pageBreakAfter', - 'pageBreakBefore', - 'pageBreakInside', - 'position', - 'quotes', - 'right', - 'tableLayout', - 'textAlign', - 'textDecoration', - 'textIndent', - 'textTransform', - 'top', - 'unicodeBidi', - 'verticalAlign', - 'visibility', - 'whiteSpace', - 'width', - 'wordSpacing', - 'zIndex' -]); -html$.CssStyleRule = class CssStyleRule extends html$.CssRule { - static ['_#_#tearOff']() { - return html$.CssStyleRule.__(); - } - get [S$.$selectorText]() { - return this.selectorText; - } - set [S$.$selectorText](value) { - this.selectorText = value; - } - get [S.$style]() { - return this.style; - } -}; -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, - [S.$style]: html$.CssStyleDeclaration -})); -dart.setSetterSignature(html$.CssStyleRule, () => ({ - __proto__: dart.getSetters(html$.CssStyleRule.__proto__), - [S$.$selectorText]: core.String -})); -dart.setLibraryUri(html$.CssStyleRule, I[150]); -dart.registerExtension("CSSStyleRule", html$.CssStyleRule); -html$.StyleSheet = class StyleSheet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleSheet.__(); - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - get [S$.$media]() { - return this.media; - } - get [S$0.$ownerNode]() { - return this.ownerNode; - } - get [S$.$parentStyleSheet]() { - return this.parentStyleSheet; - } - get [S.$title]() { - return this.title; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$.$href]: dart.nullable(core.String), - [S$.$media]: dart.nullable(html$.MediaList), - [S$0.$ownerNode]: dart.nullable(html$.Node), - [S$.$parentStyleSheet]: dart.nullable(html$.StyleSheet), - [S.$title]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.StyleSheet, () => ({ - __proto__: dart.getSetters(html$.StyleSheet.__proto__), - [S$.$disabled]: dart.nullable(core.bool) -})); -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; - } - get [S$0.$ownerRule]() { - return this.ownerRule; - } - get [S$0.$rules]() { - return this.rules; - } - [S$0.$addRule](...args) { - return this.addRule.apply(this, args); - } - [S$.$deleteRule](...args) { - return this.deleteRule.apply(this, args); - } - [S$.$insertRule](...args) { - return this.insertRule.apply(this, args); - } - [S$0.$removeRule](...args) { - return this.removeRule.apply(this, args); - } -}; -dart.addTypeTests(html$.CssStyleSheet); -dart.addTypeCaches(html$.CssStyleSheet); -dart.setMethodSignature(html$.CssStyleSheet, () => ({ - __proto__: dart.getMethods(html$.CssStyleSheet.__proto__), - [S$0.$addRule]: dart.fnType(core.int, [dart.nullable(core.String), dart.nullable(core.String)], [dart.nullable(core.int)]), - [S$.$deleteRule]: dart.fnType(dart.void, [core.int]), - [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[150]); -dart.registerExtension("CSSStyleSheet", html$.CssStyleSheet); -html$.CssSupportsRule = class CssSupportsRule extends html$.CssConditionRule { - static ['_#_#tearOff']() { - return html$.CssSupportsRule.__(); - } -}; -dart.addTypeTests(html$.CssSupportsRule); -dart.addTypeCaches(html$.CssSupportsRule); -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(); - } - if (T$0.ListOfCssTransformComponent().is(transformComponents)) { - return html$.CssTransformValue._create_2(transformComponents); - } - 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(); - } - static _create_2(transformComponents) { - return new CSSTransformValue(transformComponents); - } - get [S$.$is2D]() { - return this.is2D; - } - get [$length]() { - return this.length; - } - [S$0.$componentAtIndex](...args) { - return this.componentAtIndex.apply(this, args); - } - [S$0.$toMatrix](...args) { - return this.toMatrix.apply(this, args); - } -}; -dart.addTypeTests(html$.CssTransformValue); -dart.addTypeCaches(html$.CssTransformValue); -dart.setMethodSignature(html$.CssTransformValue, () => ({ - __proto__: dart.getMethods(html$.CssTransformValue.__proto__), - [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[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[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); - } - if (html$.CssNumericValue.is(z) && html$.CssNumericValue.is(y) && html$.CssNumericValue.is(x)) { - return html$.CssTranslation._create_2(x, y, z); - } - 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); - } - static _create_2(x, y, z) { - return new CSSTranslation(x, y, z); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } -}; -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), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) -})); -dart.setSetterSignature(html$.CssTranslation, () => ({ - __proto__: dart.getSetters(html$.CssTranslation.__proto__), - [S$.$x]: dart.nullable(html$.CssNumericValue), - [S$.$y]: dart.nullable(html$.CssNumericValue), - [S$.$z]: dart.nullable(html$.CssNumericValue) -})); -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[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); - } - get [S.$type]() { - return this.type; - } - get [S$0.$unit]() { - return this.unit; - } - set [S$0.$unit](value) { - this.unit = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.CssUnitValue, () => ({ - __proto__: dart.getSetters(html$.CssUnitValue.__proto__), - [S$0.$unit]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.num) -})); -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; - } - [S$0.$fragmentAtIndex](...args) { - return this.fragmentAtIndex.apply(this, args); - } -}; -dart.addTypeTests(html$.CssUnparsedValue); -dart.addTypeCaches(html$.CssUnparsedValue); -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[150]); -dart.registerExtension("CSSUnparsedValue", html$.CssUnparsedValue); -html$.CssVariableReferenceValue = class CssVariableReferenceValue extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.CssVariableReferenceValue.__(); - } - get [S$0.$fallback]() { - return this.fallback; - } - get [S$0.$variable]() { - return this.variable; - } -}; -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[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[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[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); - } - get [S$.$url]() { - return this.url; - } -}; -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[150]); -dart.registerExtension("CSSURLImageValue", html$.CssurlImageValue); -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[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); - return; - } - this[S$0._define_2](name, constructor); - return; - } - [S$0._define_1](...args) { - return this.define.apply(this, args); - } - [S$0._define_2](...args) { - return this.define.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$0.$whenDefined](name) { - if (name == null) dart.nullFailed(I[149], 8978, 29, "name"); - return js_util.promiseToFuture(dart.dynamic, this.whenDefined(name)); - } -}; -dart.addTypeTests(html$.CustomElementRegistry); -dart.addTypeCaches(html$.CustomElementRegistry); -dart.setMethodSignature(html$.CustomElementRegistry, () => ({ - __proto__: dart.getMethods(html$.CustomElementRegistry.__proto__), - [S$0.$define]: dart.fnType(dart.void, [core.String, core.Object], [dart.nullable(core.Map)]), - [S$0._define_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$0._define_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$0.$whenDefined]: dart.fnType(async.Future, [core.String]) -})); -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]() { - return this._dartDetail; - } - set [S$0._dartDetail](value) { - this._dartDetail = value; - } - static new(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; - let e = html$.CustomEvent.as(html$.document[S._createEvent]("CustomEvent")); - e[S$0._dartDetail] = detail; - if (core.List.is(detail) || core.Map.is(detail) || typeof detail == 'string' || typeof detail == 'number') { - try { - detail = html_common.convertDartToNative_SerializedScriptValue(detail); - e[S$0._initCustomEvent](type, canBubble, cancelable, detail); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } else - throw e$; - } - } else { - e[S$0._initCustomEvent](type, canBubble, cancelable, null); - } - 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]; - } - return this[S$0._detail]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new CustomEvent(type); - } - get [S$0._detail]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$0._get__detail]); - } - get [S$0._get__detail]() { - return this.detail; - } - [S$0._initCustomEvent](...args) { - return this.initCustomEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.CustomEvent); -dart.addTypeCaches(html$.CustomEvent); -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[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); - ; -}).prototype = html$.DListElement.prototype; -dart.addTypeTests(html$.DListElement); -dart.addTypeCaches(html$.DListElement); -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; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.DataElement.created = function() { - html$.DataElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.DataElement, () => ({ - __proto__: dart.getSetters(html$.DataElement.__proto__), - [S.$value]: dart.nullable(core.String) -})); -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"); - } - get [S$0.$options]() { - return this.options; - } -}; -(html$.DataListElement.created = function() { - html$.DataListElement.__proto__.created.call(this); - ; -}).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.setStaticGetterSignature(html$.DataListElement, () => ['supported']); -dart.setLibraryUri(html$.DataListElement, I[150]); -dart.registerExtension("HTMLDataListElement", html$.DataListElement); -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(); - } - get [S$0.$dropEffect]() { - return this.dropEffect; - } - set [S$0.$dropEffect](value) { - this.dropEffect = value; - } - get [S$0.$effectAllowed]() { - return this.effectAllowed; - } - set [S$0.$effectAllowed](value) { - this.effectAllowed = value; - } - get [S$0.$files]() { - return this.files; - } - get [S$0.$items]() { - return this.items; - } - get [S$0.$types]() { - return this.types; - } - [S$0.$clearData](...args) { - return this.clearData.apply(this, args); - } - [S$0.$getData](...args) { - return this.getData.apply(this, args); - } - [S$0.$setData](...args) { - return this.setData.apply(this, args); - } - [S$0.$setDragImage](...args) { - return this.setDragImage.apply(this, args); - } -}; -dart.addTypeTests(html$.DataTransfer); -dart.addTypeCaches(html$.DataTransfer); -dart.setMethodSignature(html$.DataTransfer, () => ({ - __proto__: dart.getMethods(html$.DataTransfer.__proto__), - [S$0.$clearData]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$0.$getData]: dart.fnType(core.String, [core.String]), - [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), - [S$0.$effectAllowed]: dart.nullable(core.String), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$0.$items]: dart.nullable(html$.DataTransferItemList), - [S$0.$types]: dart.nullable(core.List$(core.String)) -})); -dart.setSetterSignature(html$.DataTransfer, () => ({ - __proto__: dart.getSetters(html$.DataTransfer.__proto__), - [S$0.$dropEffect]: dart.nullable(core.String), - [S$0.$effectAllowed]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.DataTransfer, I[150]); -dart.registerExtension("DataTransfer", html$.DataTransfer); -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)) { - _js_helper.applyExtension("FileEntry", 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); - } 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; - } - get [S.$type]() { - return this.type; - } - [S$0.$getAsFile](...args) { - return this.getAsFile.apply(this, args); - } - [S$0._webkitGetAsEntry](...args) { - return this.webkitGetAsEntry.apply(this, args); - } -}; -dart.addTypeTests(html$.DataTransferItem); -dart.addTypeCaches(html$.DataTransferItem); -dart.setMethodSignature(html$.DataTransferItem, () => ({ - __proto__: dart.getMethods(html$.DataTransferItem.__proto__), - [S$0.$getAsEntry]: dart.fnType(html$.Entry, []), - [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[150]); -dart.registerExtension("DataTransferItem", html$.DataTransferItem); -html$.DataTransferItemList = class DataTransferItemList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DataTransferItemList.__(); - } - get [$length]() { - return this.length; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$0.$addData](...args) { - return this.add.apply(this, args); - } - [S$0.$addFile](...args) { - return this.add.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [$_get](index) { - if (index == null) dart.nullFailed(I[149], 9227, 36, "index"); - return this[index]; - } -}; -dart.addTypeTests(html$.DataTransferItemList); -dart.addTypeCaches(html$.DataTransferItemList); -dart.setMethodSignature(html$.DataTransferItemList, () => ({ - __proto__: dart.getMethods(html$.DataTransferItemList.__proto__), - [$add]: dart.fnType(dart.nullable(html$.DataTransferItem), [dart.dynamic], [dart.nullable(core.String)]), - [S$0.$addData]: dart.fnType(dart.nullable(html$.DataTransferItem), [core.String, core.String]), - [S$0.$addFile]: dart.fnType(dart.nullable(html$.DataTransferItem), [html$.File]), - [$clear]: dart.fnType(dart.void, []), - [S$.$item]: dart.fnType(html$.DataTransferItem, [core.int]), - [$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[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; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$0.$indexedDB]() { - return this.indexedDB; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$0.$location]() { - return this.location; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$.$origin]() { - return this.origin; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$0.$self]() { - return this.self; - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$0.$importScripts](...args) { - return this.importScripts.apply(this, args); - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S.$onError]() { - return html$.WorkerGlobalScope.errorEvent.forTarget(this); - } - static get instance() { - return html$._workerSelf; - } -}; -dart.addTypeTests(html$.WorkerGlobalScope); -dart.addTypeCaches(html$.WorkerGlobalScope); -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)]), - [S$0.$importScripts]: dart.fnType(dart.void, [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) -})); -dart.setStaticMethodSignature(html$.WorkerGlobalScope, () => ['__']); -dart.setGetterSignature(html$.WorkerGlobalScope, () => ({ - __proto__: dart.getGetters(html$.WorkerGlobalScope.__proto__), - [S$0.$addressSpace]: dart.nullable(core.String), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$0.$location]: html$._WorkerLocation, - [S$0.$navigator]: html$._WorkerNavigator, - [S$.$origin]: dart.nullable(core.String), - [S$0.$performance]: dart.nullable(html$.WorkerPerformance), - [S$0.$self]: html$.WorkerGlobalScope, - [S.$onError]: async.Stream$(html$.Event) -})); -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[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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$.$onMessage]() { - return html$.DedicatedWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.DedicatedWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.DedicatedWorkerGlobalScope); -dart.addTypeCaches(html$.DedicatedWorkerGlobalScope); -dart.setMethodSignature(html$.DedicatedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.DedicatedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[322] || CT.C322; - }, - /*html$.DedicatedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.DedicatedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, false); -dart.registerExtension("DedicatedWorkerGlobalScope", html$.DedicatedWorkerGlobalScope); -html$.DeprecatedStorageInfo = class DeprecatedStorageInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageInfo.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } -}; -dart.addTypeTests(html$.DeprecatedStorageInfo); -dart.addTypeCaches(html$.DeprecatedStorageInfo); -dart.setMethodSignature(html$.DeprecatedStorageInfo, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageInfo.__proto__), - [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.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; - }, - /*html$.DeprecatedStorageInfo.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, false); -dart.registerExtension("DeprecatedStorageInfo", html$.DeprecatedStorageInfo); -html$.DeprecatedStorageQuota = class DeprecatedStorageQuota extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeprecatedStorageQuota.__(); - } - [S$0.$queryUsageAndQuota](...args) { - return this.queryUsageAndQuota.apply(this, args); - } - [S$0.$requestQuota](...args) { - return this.requestQuota.apply(this, args); - } -}; -dart.addTypeTests(html$.DeprecatedStorageQuota); -dart.addTypeCaches(html$.DeprecatedStorageQuota); -dart.setMethodSignature(html$.DeprecatedStorageQuota, () => ({ - __proto__: dart.getMethods(html$.DeprecatedStorageQuota.__proto__), - [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.setStaticMethodSignature(html$.DeprecatedStorageQuota, () => ['__']); -dart.setLibraryUri(html$.DeprecatedStorageQuota, I[150]); -dart.registerExtension("DeprecatedStorageQuota", html$.DeprecatedStorageQuota); -html$.ReportBody = class ReportBody extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportBody.__(); - } -}; -dart.addTypeTests(html$.ReportBody); -dart.addTypeCaches(html$.ReportBody); -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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } -}; -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[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"); - } - get [S.$open]() { - return this.open; - } - set [S.$open](value) { - this.open = value; - } -}; -(html$.DetailsElement.created = function() { - html$.DetailsElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.DetailsElement, () => ({ - __proto__: dart.getSetters(html$.DetailsElement.__proto__), - [S.$open]: dart.nullable(core.bool) -})); -dart.setStaticGetterSignature(html$.DetailsElement, () => ['supported']); -dart.setLibraryUri(html$.DetailsElement, I[150]); -dart.registerExtension("HTMLDetailsElement", html$.DetailsElement); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } -}; -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[150]); -dart.registerExtension("DetectedBarcode", html$.DetectedBarcode); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$landmarks]() { - return this.landmarks; - } -}; -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[150]); -dart.registerExtension("DetectedFace", html$.DetectedFace); -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(); - } - get [$boundingBox]() { - return this.boundingBox; - } - get [S$0.$cornerPoints]() { - return this.cornerPoints; - } - get [S$0.$rawValue]() { - return this.rawValue; - } -}; -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[150]); -dart.registerExtension("DetectedText", html$.DetectedText); -html$.DeviceAcceleration = class DeviceAcceleration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceAcceleration.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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[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); - } - static _create_2(type) { - return new DeviceMotionEvent(type); - } - get [S$0.$acceleration]() { - return this.acceleration; - } - get [S$0.$accelerationIncludingGravity]() { - return this.accelerationIncludingGravity; - } - get [S$0.$interval]() { - return this.interval; - } - get [S$0.$rotationRate]() { - return this.rotationRate; - } -}; -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), - [S$0.$accelerationIncludingGravity]: dart.nullable(html$.DeviceAcceleration), - [S$0.$interval]: dart.nullable(core.num), - [S$0.$rotationRate]: dart.nullable(html$.DeviceRotationRate) -})); -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[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); - } - static _create_2(type) { - return new DeviceOrientationEvent(type); - } - get [S$0.$absolute]() { - return this.absolute; - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } -}; -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), - [S$0.$alpha]: dart.nullable(core.num), - [S$0.$beta]: dart.nullable(core.num), - [S$0.$gamma]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DeviceOrientationEvent, I[150]); -dart.registerExtension("DeviceOrientationEvent", html$.DeviceOrientationEvent); -html$.DeviceRotationRate = class DeviceRotationRate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DeviceRotationRate.__(); - } - get [S$0.$alpha]() { - return this.alpha; - } - get [S$0.$beta]() { - return this.beta; - } - get [S$0.$gamma]() { - return this.gamma; - } -}; -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[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; - } - set [S.$open](value) { - this.open = value; - } - get [S$.$returnValue]() { - return this.returnValue; - } - set [S$.$returnValue](value) { - this.returnValue = value; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0.$show](...args) { - return this.show.apply(this, args); - } - [S$0.$showModal](...args) { - return this.showModal.apply(this, args); - } -}; -(html$.DialogElement.created = function() { - html$.DialogElement.__proto__.created.call(this); - ; -}).prototype = html$.DialogElement.prototype; -dart.addTypeTests(html$.DialogElement); -dart.addTypeCaches(html$.DialogElement); -dart.setMethodSignature(html$.DialogElement, () => ({ - __proto__: dart.getMethods(html$.DialogElement.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.DialogElement, () => ({ - __proto__: dart.getSetters(html$.DialogElement.__proto__), - [S.$open]: dart.nullable(core.bool), - [S$.$returnValue]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.DialogElement, I[150]); -dart.registerExtension("HTMLDialogElement", html$.DialogElement); -html$.Entry = class Entry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Entry.__(); - } - get [S$0.$filesystem]() { - return this.filesystem; - } - get [S$0.$fullPath]() { - return this.fullPath; - } - get [S$0.$isDirectory]() { - return this.isDirectory; - } - get [S$0.$isFile]() { - return this.isFile; - } - get [$name]() { - return this.name; - } - [S$1._copyTo](...args) { - return this.copyTo.apply(this, args); - } - [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$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[149], 15431, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getMetadata](...args) { - return this.getMetadata.apply(this, args); - } - [S$1.$getMetadata]() { - let completer = T$0.CompleterOfMetadata().new(); - 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[149], 15447, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._getParent](...args) { - return this.getParent.apply(this, args); - } - [S$1.$getParent]() { - let completer = T$0.CompleterOfEntry().new(); - 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[149], 15465, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$moveTo](parent, opts) { - 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$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[149], 15482, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._remove$1](...args) { - return this.remove.apply(this, args); - } - [$remove]() { - let completer = async.Completer.new(); - this[S$1._remove$1](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 15497, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1.$toUrl](...args) { - return this.toURL.apply(this, args); - } -}; -dart.addTypeTests(html$.Entry); -dart.addTypeCaches(html$.Entry); -dart.setMethodSignature(html$.Entry, () => ({ - __proto__: dart.getMethods(html$.Entry.__proto__), - [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$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$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), - [S$0.$fullPath]: dart.nullable(core.String), - [S$0.$isDirectory]: dart.nullable(core.bool), - [S$0.$isFile]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String) -})); -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[149], 9614, 40, "path"); - let exclusive = opts && 'exclusive' in opts ? opts.exclusive : false; - 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[149], 9633, 37, "path"); - return this[S$0._getDirectory](path); - } - [S$0.$createFile](path, opts) { - 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[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[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); - } - [S$0.__getDirectory](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getDirectory_3](path, options_1); - return; - } - this[S$0.__getDirectory_4](path); - return; - } - [S$0.__getDirectory_1](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_2](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_3](...args) { - return this.getDirectory.apply(this, args); - } - [S$0.__getDirectory_4](...args) { - return this.getDirectory.apply(this, args); - } - [S$0._getDirectory](path, opts) { - 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[149], 9699, 36, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9701, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.__getFile](path, options = null, successCallback = null, errorCallback = null) { - if (errorCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_1](path, options_1, successCallback, errorCallback); - return; - } - if (successCallback != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_2](path, options_1, successCallback); - return; - } - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - this[S$0.__getFile_3](path, options_1); - return; - } - this[S$0.__getFile_4](path); - return; - } - [S$0.__getFile_1](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_2](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_3](...args) { - return this.getFile.apply(this, args); - } - [S$0.__getFile_4](...args) { - return this.getFile.apply(this, args); - } - [S$0._getFile](path, opts) { - 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[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[149], 9748, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0._removeRecursively](...args) { - return this.removeRecursively.apply(this, args); - } - [S$0.$removeRecursively]() { - let completer = async.Completer.new(); - this[S$0._removeRecursively](dart.fn(() => { - completer.complete(); - }, T$.VoidTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 9763, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.DirectoryEntry); -dart.addTypeCaches(html$.DirectoryEntry); -dart.setMethodSignature(html$.DirectoryEntry, () => ({ - __proto__: dart.getMethods(html$.DirectoryEntry.__proto__), - [S$0.$createDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.$getDirectory]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$createFile]: dart.fnType(async.Future$(html$.Entry), [core.String], {exclusive: core.bool}, {}), - [S$0.$getFile]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0._createReader]: dart.fnType(html$.DirectoryReader, []), - [S$0.__getDirectory]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getDirectory_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getDirectory_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getDirectory_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getDirectory]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [S$0.__getFile]: dart.fnType(dart.void, [dart.nullable(core.String)], [dart.nullable(core.Map), dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.__getFile_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.nullable(dart.fnType(dart.void, [html$.Entry]))]), - [S$0.__getFile_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]), - [S$0.__getFile_4]: dart.fnType(dart.void, [dart.dynamic]), - [S$0._getFile]: dart.fnType(async.Future$(html$.Entry), [dart.nullable(core.String)], {options: dart.nullable(core.Map)}, {}), - [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.setStaticMethodSignature(html$.DirectoryEntry, () => ['__']); -dart.setLibraryUri(html$.DirectoryEntry, I[150]); -dart.registerExtension("DirectoryEntry", html$.DirectoryEntry); -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$1.$readEntries]() { - let completer = T$0.CompleterOfListOfEntry().new(); - 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)) { - _js_helper.applyExtension("FileEntry", 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[149], 9804, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.DirectoryReader); -dart.addTypeCaches(html$.DirectoryReader); -dart.setMethodSignature(html$.DirectoryReader, () => ({ - __proto__: dart.getMethods(html$.DirectoryReader.__proto__), - [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.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); - ; -}).prototype = html$.DivElement.prototype; -dart.addTypeTests(html$.DivElement); -dart.addTypeCaches(html$.DivElement); -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$1._body]() { - return this.body; - } - set [S$1._body](value) { - this.body = value; - } - get [S$1.$contentType]() { - return this.contentType; - } - get [S$1.$cookie]() { - return this.cookie; - } - set [S$1.$cookie](value) { - this.cookie = value; - } - get [S$1.$currentScript]() { - return this.currentScript; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.defaultView; - } - get [S$1.$documentElement]() { - return this.documentElement; - } - get [S$1.$domain]() { - return this.domain; - } - get [S$1.$fullscreenEnabled]() { - return this.fullscreenEnabled; - } - get [S$1._head$1]() { - return this.head; - } - get [S.$hidden]() { - return this.hidden; - } - get [S$1.$implementation]() { - return this.implementation; - } - get [S$1._lastModified]() { - return this.lastModified; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1._preferredStylesheetSet]() { - return this.preferredStylesheetSet; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1._referrer]() { - return this.referrer; - } - get [S$1.$rootElement]() { - return this.rootElement; - } - get [S$1.$rootScroller]() { - return this.rootScroller; - } - set [S$1.$rootScroller](value) { - this.rootScroller = value; - } - get [S$1.$scrollingElement]() { - return this.scrollingElement; - } - get [S$1._selectedStylesheetSet]() { - return this.selectedStylesheetSet; - } - set [S$1._selectedStylesheetSet](value) { - this.selectedStylesheetSet = value; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - get [S$.$timeline]() { - return this.timeline; - } - get [S$1._title]() { - return this.title; - } - set [S$1._title](value) { - this.title = value; - } - get [S$1._visibilityState]() { - return this.visibilityState; - } - get [S$1._webkitFullscreenElement]() { - return this.webkitFullscreenElement; - } - get [S$1._webkitFullscreenEnabled]() { - return this.webkitFullscreenEnabled; - } - get [S$1._webkitHidden]() { - return this.webkitHidden; - } - get [S$1._webkitVisibilityState]() { - return this.webkitVisibilityState; - } - [S$1.$adoptNode](...args) { - return this.adoptNode.apply(this, args); - } - [S$1._caretRangeFromPoint](...args) { - return this.caretRangeFromPoint.apply(this, args); - } - [S$1.$createDocumentFragment](...args) { - return this.createDocumentFragment.apply(this, args); - } - [S$1._createElement](...args) { - return this.createElement.apply(this, args); - } - [S$1._createElementNS](...args) { - return this.createElementNS.apply(this, args); - } - [S._createEvent](...args) { - return this.createEvent.apply(this, args); - } - [S$1.$createRange](...args) { - return this.createRange.apply(this, args); - } - [S$1._createTextNode](...args) { - 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[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); - } - if (rotationAngle != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_2](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY, rotationAngle); - } - if (radiusY != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_3](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX, radiusY); - } - if (radiusX != null) { - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_4](view, target_1, identifier, pageX, pageY, screenX, screenY, radiusX); - } - let target_1 = html$._convertDartToNative_EventTarget(target); - return this[S$1._createTouch_5](view, target_1, identifier, pageX, pageY, screenX, screenY); - } - [S$1._createTouch_1](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_2](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_3](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_4](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouch_5](...args) { - return this.createTouch.apply(this, args); - } - [S$1._createTouchList](...args) { - return this.createTouchList.apply(this, args); - } - [S$1.$execCommand](...args) { - return this.execCommand.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.exitFullscreen.apply(this, args); - } - [S$1.$exitPointerLock](...args) { - return this.exitPointerLock.apply(this, args); - } - [S.$getAnimations](...args) { - return this.getAnimations.apply(this, args); - } - [S.$getElementsByClassName](...args) { - return this.getElementsByClassName.apply(this, args); - } - [S$1.$getElementsByName](...args) { - return this.getElementsByName.apply(this, args); - } - [S$1.$getElementsByTagName](...args) { - return this.getElementsByTagName.apply(this, args); - } - [S$1.$importNode](...args) { - return this.importNode.apply(this, args); - } - [S$1.$queryCommandEnabled](...args) { - return this.queryCommandEnabled.apply(this, args); - } - [S$1.$queryCommandIndeterm](...args) { - return this.queryCommandIndeterm.apply(this, args); - } - [S$1.$queryCommandState](...args) { - return this.queryCommandState.apply(this, args); - } - [S$1.$queryCommandSupported](...args) { - return this.queryCommandSupported.apply(this, args); - } - [S$1.$queryCommandValue](...args) { - return this.queryCommandValue.apply(this, args); - } - [S$1.$registerElement2](type, options = null) { - 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); - } - return this[S$1._registerElement2_2](type); - } - [S$1._registerElement2_1](...args) { - return this.registerElement.apply(this, args); - } - [S$1._registerElement2_2](...args) { - return this.registerElement.apply(this, args); - } - [S$1._webkitExitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1._styleSheets]() { - return this.styleSheets; - } - [S$1._elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - get [S$1.$fonts]() { - return this.fonts; - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._children]() { - return this.children; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBeforeCopy]() { - return html$.Element.beforeCopyEvent.forTarget(this); - } - get [S.$onBeforeCut]() { - return html$.Element.beforeCutEvent.forTarget(this); - } - get [S.$onBeforePaste]() { - return html$.Element.beforePasteEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onCopy]() { - return html$.Element.copyEvent.forTarget(this); - } - get [S.$onCut]() { - return html$.Element.cutEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onPaste]() { - return html$.Element.pasteEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$1.$onPointerLockChange]() { - return html$.Document.pointerLockChangeEvent.forTarget(this); - } - get [S$1.$onPointerLockError]() { - return html$.Document.pointerLockErrorEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$1.$onReadyStateChange]() { - return html$.Document.readyStateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$1.$onSecurityPolicyViolation]() { - return html$.Document.securityPolicyViolationEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$1.$onSelectionChange]() { - return html$.Document.selectionChangeEvent.forTarget(this); - } - get [S$.$onSelectStart]() { - return html$.Element.selectStartEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$.$onFullscreenChange]() { - return html$.Element.fullscreenChangeEvent.forTarget(this); - } - get [S$.$onFullscreenError]() { - return html$.Element.fullscreenErrorEvent.forTarget(this); - } - [S.$querySelectorAll](T, 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]() { - return "registerElement" in this; - } - get [S$1.$supportsRegister]() { - return this[S$1.$supportsRegisterElement]; - } - [S$1.$registerElement](tag, customElementClass, opts) { - 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[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[149], 10459, 27, "tagName"); - return this.createElement(tagName); - } - [S$1._createElementNS_2](namespaceURI, 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[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[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[149], 10479, 37, "root"); - return this.createTreeWalker(root, whatToShow, filter, false); - } - get [S$1.$visibilityState]() { - return this.visibilityState || this.mozVisibilityState || this.msVisibilityState || this.webkitVisibilityState; - } -}; -dart.addTypeTests(html$.Document); -dart.addTypeCaches(html$.Document); -dart.setMethodSignature(html$.Document, () => ({ - __proto__: dart.getMethods(html$.Document.__proto__), - [S$1.$adoptNode]: dart.fnType(html$.Node, [html$.Node]), - [S$1._caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$createDocumentFragment]: dart.fnType(html$.DocumentFragment, []), - [S$1._createElement]: dart.fnType(html$.Element, [core.String], [dart.dynamic]), - [S$1._createElementNS]: dart.fnType(html$.Element, [dart.nullable(core.String), core.String], [dart.dynamic]), - [S._createEvent]: dart.fnType(html$.Event, [core.String]), - [S$1.$createRange]: dart.fnType(html$.Range, []), - [S$1._createTextNode]: dart.fnType(html$.Text, [core.String]), - [S$1._createTouch]: dart.fnType(html$.Touch, [html$.Window, html$.EventTarget, core.int, core.num, core.num, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1._createTouch_1]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_2]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_3]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_4]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouch_5]: dart.fnType(html$.Touch, [html$.Window, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$1._createTouchList]: dart.fnType(html$.TouchList, [html$.Touch]), - [S$1.$execCommand]: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool), dart.nullable(core.String)]), - [S$1.$exitFullscreen]: dart.fnType(dart.void, []), - [S$1.$exitPointerLock]: dart.fnType(dart.void, []), - [S.$getAnimations]: dart.fnType(core.List$(html$.Animation), []), - [S.$getElementsByClassName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$getElementsByTagName]: dart.fnType(core.List$(html$.Node), [core.String]), - [S$1.$importNode]: dart.fnType(html$.Node, [html$.Node], [dart.nullable(core.bool)]), - [S$1.$queryCommandEnabled]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandIndeterm]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandState]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandSupported]: dart.fnType(core.bool, [core.String]), - [S$1.$queryCommandValue]: dart.fnType(core.String, [core.String]), - [S$1.$registerElement2]: dart.fnType(core.Function, [core.String], [dart.nullable(core.Map)]), - [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._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]), - [S$1.$registerElement]: dart.fnType(dart.void, [core.String, core.Type], {extendsTag: dart.nullable(core.String)}, {}), - [S.$createElement]: dart.fnType(html$.Element, [core.String], [dart.nullable(core.String)]), - [S$1._createElement_2]: dart.fnType(dart.dynamic, [core.String]), - [S$1._createElementNS_2]: dart.fnType(dart.dynamic, [core.String, core.String]), - [S$1.$createElementNS]: dart.fnType(html$.Element, [core.String, core.String], [dart.nullable(core.String)]), - [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$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$1.$implementation]: dart.nullable(html$.DomImplementation), - [S$1._lastModified]: dart.nullable(core.String), - [S$.$origin]: 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), - [S$1.$rootScroller]: dart.nullable(html$.Element), - [S$1.$scrollingElement]: dart.nullable(html$.Element), - [S$1._selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$suborigin]: dart.nullable(core.String), - [S$.$timeline]: dart.nullable(html$.DocumentTimeline), - [S$1._title]: core.String, - [S$1._visibilityState]: dart.nullable(core.String), - [S$1._webkitFullscreenElement]: dart.nullable(html$.Element), - [S$1._webkitFullscreenEnabled]: dart.nullable(core.bool), - [S$1._webkitHidden]: dart.nullable(core.bool), - [S$1._webkitVisibilityState]: dart.nullable(core.String), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1._styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$1.$fonts]: dart.nullable(html$.FontFaceSet), - [S._childElementCount]: core.int, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onBeforeCopy]: async.Stream$(html$.Event), - [S.$onBeforeCut]: async.Stream$(html$.Event), - [S.$onBeforePaste]: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onCopy]: async.Stream$(html$.ClipboardEvent), - [S.$onCut]: async.Stream$(html$.ClipboardEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [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$1.$onPointerLockChange]: async.Stream$(html$.Event), - [S$1.$onPointerLockError]: 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$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$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$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$.$onFullscreenChange]: async.Stream$(html$.Event), - [S$.$onFullscreenError]: async.Stream$(html$.Event), - [S$1.$supportsRegisterElement]: core.bool, - [S$1.$supportsRegister]: core.bool, - [S$1.$visibilityState]: core.String -})); -dart.setSetterSignature(html$.Document, () => ({ - __proto__: dart.getSetters(html$.Document.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.Document, () => ['pointerLockChangeEvent', 'pointerLockErrorEvent', 'readyStateChangeEvent', 'securityPolicyViolationEvent', 'selectionChangeEvent']); -dart.defineLazy(html$.Document, { - /*html$.Document.pointerLockChangeEvent*/get pointerLockChangeEvent() { - return C[332] || CT.C332; - }, - /*html$.Document.pointerLockErrorEvent*/get pointerLockErrorEvent() { - return C[333] || CT.C333; - }, - /*html$.Document.readyStateChangeEvent*/get readyStateChangeEvent() { - return C[334] || CT.C334; - }, - /*html$.Document.securityPolicyViolationEvent*/get securityPolicyViolationEvent() { - return C[335] || CT.C335; - }, - /*html$.Document.selectionChangeEvent*/get selectionChangeEvent() { - return C[336] || CT.C336; - } -}, false); -dart.registerExtension("Document", html$.Document); -html$.DocumentFragment = class DocumentFragment extends html$.Node { - get [S$1._docChildren]() { - return this._docChildren; - } - set [S$1._docChildren](value) { - this._docChildren = value; - } - 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")); - } - get [S.$children]() { - if (this[S$1._docChildren] == null) { - this[S$1._docChildren] = new html_common.FilteredElementList.new(this); - } - return dart.nullCheck(this[S$1._docChildren]); - } - set [S.$children](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[149], 10551, 61, "selectors"); - return new (html$._FrozenElementList$(T))._wrap(this[S._querySelectorAll](selectors)); - } - get [S.$innerHtml]() { - let e = html$.DivElement.new(); - e[S.$append](this[S$.$clone](true)); - return e[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$nodes][$clear](); - this[S.$append](dart.nullCheck(html$.document.body)[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})); - } - [S.$appendText](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[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); - } - get [S._childElementCount]() { - return this.childElementCount; - } - get [S._firstElementChild]() { - return this.firstElementChild; - } - get [S._lastElementChild]() { - return this.lastElementChild; - } - [S.$querySelector](...args) { - return this.querySelector.apply(this, args); - } - [S._querySelectorAll](...args) { - return this.querySelectorAll.apply(this, args); - } -}; -dart.addTypeTests(html$.DocumentFragment); -dart.addTypeCaches(html$.DocumentFragment); -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]), - [S.$setInnerHtml]: dart.fnType(dart.void, [dart.nullable(core.String)], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [S.$appendText]: dart.fnType(dart.void, [core.String]), - [S.$appendHtml]: dart.fnType(dart.void, [core.String], {treeSanitizer: dart.nullable(html$.NodeTreeSanitizer), validator: dart.nullable(html$.NodeValidator)}, {}), - [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]) -})); -dart.setStaticMethodSignature(html$.DocumentFragment, () => ['new', 'html', 'svg', '__']); -dart.setGetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getGetters(html$.DocumentFragment.__proto__), - [S._children]: html$.HtmlCollection, - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String), - [S._childElementCount]: core.int, - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) -})); -dart.setSetterSignature(html$.DocumentFragment, () => ({ - __proto__: dart.getSetters(html$.DocumentFragment.__proto__), - [S.$children]: core.List$(html$.Element), - [S.$innerHtml]: dart.nullable(core.String) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DocumentOrShadowRoot.__(); - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } -}; -dart.addTypeTests(html$.DocumentOrShadowRoot); -dart.addTypeCaches(html$.DocumentOrShadowRoot); -dart.setMethodSignature(html$.DocumentOrShadowRoot, () => ({ - __proto__: dart.getMethods(html$.DocumentOrShadowRoot.__proto__), - [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.$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), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)) -})); -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); - return html$.DocumentTimeline._create_1(options_1); - } - return html$.DocumentTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.DocumentTimeline.new(options); - } - static _create_1(options) { - return new DocumentTimeline(options); - } - static _create_2() { - return new DocumentTimeline(); - } -}; -dart.addTypeTests(html$.DocumentTimeline); -dart.addTypeCaches(html$.DocumentTimeline); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomError.__(); - } - static new(name, message = null) { - 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); - } - static _create_2(name) { - return new DOMError(name); - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("DOMError", html$.DomError); -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; - } - [$toString]() { - return String(this); - } -}; -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[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"; - }, - /*html$.DomException.HIERARCHY_REQUEST*/get HIERARCHY_REQUEST() { - return "HierarchyRequestError"; - }, - /*html$.DomException.WRONG_DOCUMENT*/get WRONG_DOCUMENT() { - return "WrongDocumentError"; - }, - /*html$.DomException.INVALID_CHARACTER*/get INVALID_CHARACTER() { - return "InvalidCharacterError"; - }, - /*html$.DomException.NO_MODIFICATION_ALLOWED*/get NO_MODIFICATION_ALLOWED() { - return "NoModificationAllowedError"; - }, - /*html$.DomException.NOT_FOUND*/get NOT_FOUND() { - return "NotFoundError"; - }, - /*html$.DomException.NOT_SUPPORTED*/get NOT_SUPPORTED() { - return "NotSupportedError"; - }, - /*html$.DomException.INVALID_STATE*/get INVALID_STATE() { - return "InvalidStateError"; - }, - /*html$.DomException.SYNTAX*/get SYNTAX() { - return "SyntaxError"; - }, - /*html$.DomException.INVALID_MODIFICATION*/get INVALID_MODIFICATION() { - return "InvalidModificationError"; - }, - /*html$.DomException.NAMESPACE*/get NAMESPACE() { - return "NamespaceError"; - }, - /*html$.DomException.INVALID_ACCESS*/get INVALID_ACCESS() { - return "InvalidAccessError"; - }, - /*html$.DomException.TYPE_MISMATCH*/get TYPE_MISMATCH() { - return "TypeMismatchError"; - }, - /*html$.DomException.SECURITY*/get SECURITY() { - return "SecurityError"; - }, - /*html$.DomException.NETWORK*/get NETWORK() { - return "NetworkError"; - }, - /*html$.DomException.ABORT*/get ABORT() { - return "AbortError"; - }, - /*html$.DomException.URL_MISMATCH*/get URL_MISMATCH() { - return "URLMismatchError"; - }, - /*html$.DomException.QUOTA_EXCEEDED*/get QUOTA_EXCEEDED() { - return "QuotaExceededError"; - }, - /*html$.DomException.TIMEOUT*/get TIMEOUT() { - return "TimeoutError"; - }, - /*html$.DomException.INVALID_NODE_TYPE*/get INVALID_NODE_TYPE() { - return "InvalidNodeTypeError"; - }, - /*html$.DomException.DATA_CLONE*/get DATA_CLONE() { - return "DataCloneError"; - }, - /*html$.DomException.ENCODING*/get ENCODING() { - return "EncodingError"; - }, - /*html$.DomException.NOT_READABLE*/get NOT_READABLE() { - return "NotReadableError"; - }, - /*html$.DomException.UNKNOWN*/get UNKNOWN() { - return "UnknownError"; - }, - /*html$.DomException.CONSTRAINT*/get CONSTRAINT() { - return "ConstraintError"; - }, - /*html$.DomException.TRANSACTION_INACTIVE*/get TRANSACTION_INACTIVE() { - return "TransactionInactiveError"; - }, - /*html$.DomException.READ_ONLY*/get READ_ONLY() { - return "ReadOnlyError"; - }, - /*html$.DomException.VERSION*/get VERSION() { - return "VersionError"; - }, - /*html$.DomException.OPERATION*/get OPERATION() { - return "OperationError"; - }, - /*html$.DomException.NOT_ALLOWED*/get NOT_ALLOWED() { - return "NotAllowedError"; - }, - /*html$.DomException.TYPE_ERROR*/get TYPE_ERROR() { - return "TypeError"; - } -}, false); -dart.registerExtension("DOMException", html$.DomException); -html$.DomImplementation = class DomImplementation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomImplementation.__(); - } - [S$1.$createDocument](...args) { - return this.createDocument.apply(this, args); - } - [S$1.$createDocumentType](...args) { - return this.createDocumentType.apply(this, args); - } - [S.$createHtmlDocument](...args) { - return this.createHTMLDocument.apply(this, args); - } - [S$1.$hasFeature](...args) { - return this.hasFeature.apply(this, args); - } -}; -dart.addTypeTests(html$.DomImplementation); -dart.addTypeCaches(html$.DomImplementation); -dart.setMethodSignature(html$.DomImplementation, () => ({ - __proto__: dart.getMethods(html$.DomImplementation.__proto__), - [S$1.$createDocument]: dart.fnType(html$.XmlDocument, [dart.nullable(core.String), core.String, dart.nullable(html$._DocumentType)]), - [S$1.$createDocumentType]: dart.fnType(html$._DocumentType, [core.String, core.String, core.String]), - [S.$createHtmlDocument]: dart.fnType(html$.HtmlDocument, [], [dart.nullable(core.String)]), - [S$1.$hasFeature]: dart.fnType(core.bool, []) -})); -dart.setStaticMethodSignature(html$.DomImplementation, () => ['__']); -dart.setLibraryUri(html$.DomImplementation, I[150]); -dart.registerExtension("DOMImplementation", html$.DomImplementation); -html$.DomIterator = class DomIterator extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomIterator.__(); - } - [S.$next](...args) { - return this.next.apply(this, args); - } -}; -dart.addTypeTests(html$.DomIterator); -dart.addTypeCaches(html$.DomIterator); -dart.setMethodSignature(html$.DomIterator, () => ({ - __proto__: dart.getMethods(html$.DomIterator.__proto__), - [S.$next]: dart.fnType(dart.nullable(core.Object), [], [dart.nullable(core.Object)]) -})); -dart.setStaticMethodSignature(html$.DomIterator, () => ['__']); -dart.setLibraryUri(html$.DomIterator, I[150]); -dart.registerExtension("Iterator", html$.DomIterator); -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); - } - return html$.DomMatrixReadOnly._create_2(); - } - static _create_1(init) { - return new DOMMatrixReadOnly(init); - } - static _create_2() { - return new DOMMatrixReadOnly(); - } - get [S$1.$a]() { - return this.a; - } - get [S$1.$b]() { - return this.b; - } - get [S$1.$c]() { - return this.c; - } - get [S$1.$d]() { - return this.d; - } - get [S$1.$e]() { - return this.e; - } - get [S$1.$f]() { - return this.f; - } - get [S$.$is2D]() { - return this.is2D; - } - get [S$1.$isIdentity]() { - return this.isIdentity; - } - get [S$1.$m11]() { - return this.m11; - } - get [S$1.$m12]() { - return this.m12; - } - get [S$1.$m13]() { - return this.m13; - } - get [S$1.$m14]() { - return this.m14; - } - get [S$1.$m21]() { - return this.m21; - } - get [S$1.$m22]() { - return this.m22; - } - get [S$1.$m23]() { - return this.m23; - } - get [S$1.$m24]() { - return this.m24; - } - get [S$1.$m31]() { - return this.m31; - } - get [S$1.$m32]() { - return this.m32; - } - get [S$1.$m33]() { - return this.m33; - } - get [S$1.$m34]() { - return this.m34; - } - get [S$1.$m41]() { - return this.m41; - } - get [S$1.$m42]() { - return this.m42; - } - get [S$1.$m43]() { - return this.m43; - } - get [S$1.$m44]() { - return this.m44; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrixReadOnly.fromMatrix(other_1); - } - return dart.global.DOMMatrixReadOnly.fromMatrix(); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiply_1](other_1); - } - return this[S$1._multiply_2](); - } - [S$1._multiply_1](...args) { - return this.multiply.apply(this, args); - } - [S$1._multiply_2](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateAxisAngle](...args) { - return this.rotateAxisAngle.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$1.$scale3d](...args) { - return this.scale3d.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S$1.$toFloat32Array](...args) { - return this.toFloat32Array.apply(this, args); - } - [S$1.$toFloat64Array](...args) { - return this.toFloat64Array.apply(this, args); - } - [S$1.$transformPoint](point = null) { - if (point != null) { - let point_1 = html_common.convertDartToNative_Dictionary(point); - return this[S$1._transformPoint_1](point_1); - } - return this[S$1._transformPoint_2](); - } - [S$1._transformPoint_1](...args) { - return this.transformPoint.apply(this, args); - } - [S$1._transformPoint_2](...args) { - return this.transformPoint.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } -}; -dart.addTypeTests(html$.DomMatrixReadOnly); -dart.addTypeCaches(html$.DomMatrixReadOnly); -dart.setMethodSignature(html$.DomMatrixReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomMatrixReadOnly.__proto__), - [S$1.$flipX]: dart.fnType(html$.DomMatrix, []), - [S$1.$flipY]: dart.fnType(html$.DomMatrix, []), - [S$1.$inverse]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiply]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiply_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiply_2]: dart.fnType(html$.DomMatrix, []), - [S$.$rotate]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateAxisAngle]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVector]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$scale]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3d]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$skewX]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$skewY]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [S$1.$toFloat32Array]: dart.fnType(typed_data.Float32List, []), - [S$1.$toFloat64Array]: dart.fnType(typed_data.Float64List, []), - [S$1.$transformPoint]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [S$1._transformPoint_1]: dart.fnType(html$.DomPoint, [dart.dynamic]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$.$is2D]: dart.nullable(core.bool), - [S$1.$isIdentity]: dart.nullable(core.bool), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) -})); -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); - } - static _create_2() { - return new DOMMatrix(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - get [S$1.$m11]() { - return this.m11; - } - set [S$1.$m11](value) { - this.m11 = value; - } - get [S$1.$m12]() { - return this.m12; - } - set [S$1.$m12](value) { - this.m12 = value; - } - get [S$1.$m13]() { - return this.m13; - } - set [S$1.$m13](value) { - this.m13 = value; - } - get [S$1.$m14]() { - return this.m14; - } - set [S$1.$m14](value) { - this.m14 = value; - } - get [S$1.$m21]() { - return this.m21; - } - set [S$1.$m21](value) { - this.m21 = value; - } - get [S$1.$m22]() { - return this.m22; - } - set [S$1.$m22](value) { - this.m22 = value; - } - get [S$1.$m23]() { - return this.m23; - } - set [S$1.$m23](value) { - this.m23 = value; - } - get [S$1.$m24]() { - return this.m24; - } - set [S$1.$m24](value) { - this.m24 = value; - } - get [S$1.$m31]() { - return this.m31; - } - set [S$1.$m31](value) { - this.m31 = value; - } - get [S$1.$m32]() { - return this.m32; - } - set [S$1.$m32](value) { - this.m32 = value; - } - get [S$1.$m33]() { - return this.m33; - } - set [S$1.$m33](value) { - this.m33 = value; - } - get [S$1.$m34]() { - return this.m34; - } - set [S$1.$m34](value) { - this.m34 = value; - } - get [S$1.$m41]() { - return this.m41; - } - set [S$1.$m41](value) { - this.m41 = value; - } - get [S$1.$m42]() { - return this.m42; - } - set [S$1.$m42](value) { - this.m42 = value; - } - get [S$1.$m43]() { - return this.m43; - } - set [S$1.$m43](value) { - this.m43 = value; - } - get [S$1.$m44]() { - return this.m44; - } - set [S$1.$m44](value) { - this.m44 = value; - } - static fromMatrix(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMMatrix.fromMatrix(other_1); - } - return dart.global.DOMMatrix.fromMatrix(); - } - [S$1.$invertSelf](...args) { - return this.invertSelf.apply(this, args); - } - [S$1.$multiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._multiplySelf_1](other_1); - } - return this[S$1._multiplySelf_2](); - } - [S$1._multiplySelf_1](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1._multiplySelf_2](...args) { - return this.multiplySelf.apply(this, args); - } - [S$1.$preMultiplySelf](other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return this[S$1._preMultiplySelf_1](other_1); - } - return this[S$1._preMultiplySelf_2](); - } - [S$1._preMultiplySelf_1](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1._preMultiplySelf_2](...args) { - return this.preMultiplySelf.apply(this, args); - } - [S$1.$rotateAxisAngleSelf](...args) { - return this.rotateAxisAngleSelf.apply(this, args); - } - [S$1.$rotateFromVectorSelf](...args) { - return this.rotateFromVectorSelf.apply(this, args); - } - [S$1.$rotateSelf](...args) { - return this.rotateSelf.apply(this, args); - } - [S$1.$scale3dSelf](...args) { - return this.scale3dSelf.apply(this, args); - } - [S$1.$scaleSelf](...args) { - return this.scaleSelf.apply(this, args); - } - [S$1.$setMatrixValue](...args) { - return this.setMatrixValue.apply(this, args); - } - [S$1.$skewXSelf](...args) { - return this.skewXSelf.apply(this, args); - } - [S$1.$skewYSelf](...args) { - return this.skewYSelf.apply(this, args); - } - [S$1.$translateSelf](...args) { - return this.translateSelf.apply(this, args); - } -}; -dart.addTypeTests(html$.DomMatrix); -dart.addTypeCaches(html$.DomMatrix); -dart.setMethodSignature(html$.DomMatrix, () => ({ - __proto__: dart.getMethods(html$.DomMatrix.__proto__), - [S$1.$invertSelf]: dart.fnType(html$.DomMatrix, []), - [S$1.$multiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._multiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._multiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$preMultiplySelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.Map)]), - [S$1._preMultiplySelf_1]: dart.fnType(html$.DomMatrix, [dart.dynamic]), - [S$1._preMultiplySelf_2]: dart.fnType(html$.DomMatrix, []), - [S$1.$rotateAxisAngleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateFromVectorSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$rotateSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scale3dSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$scaleSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$1.$setMatrixValue]: dart.fnType(html$.DomMatrix, [core.String]), - [S$1.$skewXSelf]: dart.fnType(html$.DomMatrix, [], [dart.nullable(core.num)]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num), - [S$1.$m11]: dart.nullable(core.num), - [S$1.$m12]: dart.nullable(core.num), - [S$1.$m13]: dart.nullable(core.num), - [S$1.$m14]: dart.nullable(core.num), - [S$1.$m21]: dart.nullable(core.num), - [S$1.$m22]: dart.nullable(core.num), - [S$1.$m23]: dart.nullable(core.num), - [S$1.$m24]: dart.nullable(core.num), - [S$1.$m31]: dart.nullable(core.num), - [S$1.$m32]: dart.nullable(core.num), - [S$1.$m33]: dart.nullable(core.num), - [S$1.$m34]: dart.nullable(core.num), - [S$1.$m41]: dart.nullable(core.num), - [S$1.$m42]: dart.nullable(core.num), - [S$1.$m43]: dart.nullable(core.num), - [S$1.$m44]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DomMatrix, I[150]); -dart.registerExtension("DOMMatrix", html$.DomMatrix); -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(); - } - [S$1.$parseFromString](...args) { - return this.parseFromString.apply(this, args); - } -}; -dart.addTypeTests(html$.DomParser); -dart.addTypeCaches(html$.DomParser); -dart.setMethodSignature(html$.DomParser, () => ({ - __proto__: dart.getMethods(html$.DomParser.__proto__), - [S$1.$parseFromString]: dart.fnType(html$.Document, [core.String, core.String]) -})); -dart.setStaticMethodSignature(html$.DomParser, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.DomParser, I[150]); -dart.registerExtension("DOMParser", html$.DomParser); -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); - } - if (z != null) { - return html$.DomPointReadOnly._create_2(x, y, z); - } - if (y != null) { - return html$.DomPointReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomPointReadOnly._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPointReadOnly(x, y, z); - } - static _create_3(x, y) { - return new DOMPointReadOnly(x, y); - } - static _create_4(x) { - return new DOMPointReadOnly(x); - } - static _create_5() { - return new DOMPointReadOnly(); - } - get [S$1.$w]() { - return this.w; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPointReadOnly.fromPoint(other_1); - } - return dart.global.DOMPointReadOnly.fromPoint(); - } - [S$1.$matrixTransform](matrix = null) { - if (matrix != null) { - let matrix_1 = html_common.convertDartToNative_Dictionary(matrix); - return this[S$1._matrixTransform_1](matrix_1); - } - return this[S$1._matrixTransform_2](); - } - [S$1._matrixTransform_1](...args) { - return this.matrixTransform.apply(this, args); - } - [S$1._matrixTransform_2](...args) { - return this.matrixTransform.apply(this, args); - } -}; -dart.addTypeTests(html$.DomPointReadOnly); -dart.addTypeCaches(html$.DomPointReadOnly); -dart.setMethodSignature(html$.DomPointReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomPointReadOnly.__proto__), - [S$1.$matrixTransform]: dart.fnType(html$.DomPoint, [], [dart.nullable(core.Map)]), - [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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -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); - } - if (z != null) { - return html$.DomPoint._create_2(x, y, z); - } - if (y != null) { - return html$.DomPoint._create_3(x, y); - } - if (x != null) { - return html$.DomPoint._create_4(x); - } - 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); - } - static _create_2(x, y, z) { - return new DOMPoint(x, y, z); - } - static _create_3(x, y) { - return new DOMPoint(x, y); - } - static _create_4(x) { - return new DOMPoint(x); - } - static _create_5() { - return new DOMPoint(); - } - static get supported() { - return !!window.DOMPoint || !!window.WebKitPoint; - } - get [S$1.$w]() { - return this.w; - } - set [S$1.$w](value) { - this.w = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - get [S$.$z]() { - return this.z; - } - set [S$.$z](value) { - this.z = value; - } - static fromPoint(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMPoint.fromPoint(other_1); - } - return dart.global.DOMPoint.fromPoint(); - } -}; -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), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num), - [S$.$z]: dart.nullable(core.num) -})); -dart.setStaticGetterSignature(html$.DomPoint, () => ['supported']); -dart.setLibraryUri(html$.DomPoint, I[150]); -dart.registerExtension("DOMPoint", html$.DomPoint); -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); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - let p4_4 = html_common.convertDartToNative_Dictionary(p4); - return html$.DomQuad._create_1(p1_1, p2_2, p3_3, p4_4); - } - if (p3 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - let p3_3 = html_common.convertDartToNative_Dictionary(p3); - return html$.DomQuad._create_2(p1_1, p2_2, p3_3); - } - if (p2 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - let p2_2 = html_common.convertDartToNative_Dictionary(p2); - return html$.DomQuad._create_3(p1_1, p2_2); - } - if (p1 != null) { - let p1_1 = html_common.convertDartToNative_Dictionary(p1); - return html$.DomQuad._create_4(p1_1); - } - 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); - } - static _create_2(p1, p2, p3) { - return new DOMQuad(p1, p2, p3); - } - static _create_3(p1, p2) { - return new DOMQuad(p1, p2); - } - static _create_4(p1) { - return new DOMQuad(p1); - } - static _create_5() { - return new DOMQuad(); - } - get [S$1.$p1]() { - return this.p1; - } - get [S$1.$p2]() { - return this.p2; - } - get [S$1.$p3]() { - return this.p3; - } - get [S$1.$p4]() { - return this.p4; - } - static fromQuad(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromQuad(other_1); - } - return dart.global.DOMQuad.fromQuad(); - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMQuad.fromRect(other_1); - } - return dart.global.DOMQuad.fromRect(); - } - [S$1.$getBounds](...args) { - return this.getBounds.apply(this, args); - } -}; -dart.addTypeTests(html$.DomQuad); -dart.addTypeCaches(html$.DomQuad); -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), - [S$1.$p2]: dart.nullable(html$.DomPoint), - [S$1.$p3]: dart.nullable(html$.DomPoint), - [S$1.$p4]: dart.nullable(html$.DomPoint) -})); -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 __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 (__t$FixedSizeListIteratorOfE()).new(this); - } - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } - add(value) { - E.as(value); - dart.throw(new core.UnsupportedError.new("Cannot add to immutable List.")); - } - addAll(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) { - dart.throw(new core.UnsupportedError.new("Cannot sort immutable List.")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle immutable List.")); - } - insert(index, element) { - 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[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[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[149], 38043, 18, "pos"); - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeLast() { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - remove(object) { - dart.throw(new core.UnsupportedError.new("Cannot remove from immutable List.")); - } - removeWhere(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[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[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[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[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[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.")); - } - } - (ImmutableListMixin.new = function() { - ; - }).prototype = ImmutableListMixin.prototype; - ImmutableListMixin.prototype[dart.isList] = true; - dart.addTypeTests(ImmutableListMixin); - ImmutableListMixin.prototype[_is_ImmutableListMixin_default] = true; - dart.addTypeCaches(ImmutableListMixin); - ImmutableListMixin[dart.implements] = () => [core.List$(E)]; - dart.setMethodSignature(ImmutableListMixin, () => ({ - __proto__: dart.getMethods(ImmutableListMixin.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$add]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - sort: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - [$sort]: dart.fnType(dart.void, [], [dart.nullable(dart.fnType(core.int, [E, E]))]), - shuffle: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - [$shuffle]: dart.fnType(dart.void, [], [dart.nullable(math.Random)]), - insert: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insert]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - insertAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$insertAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - setAll: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$setAll]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - removeAt: dart.fnType(E, [core.int]), - [$removeAt]: dart.fnType(E, [core.int]), - removeLast: dart.fnType(E, []), - [$removeLast]: dart.fnType(E, []), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - retainWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - [$retainWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [E])]), - setRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - [$setRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)], [core.int]), - removeRange: dart.fnType(dart.void, [core.int, core.int]), - [$removeRange]: dart.fnType(dart.void, [core.int, core.int]), - replaceRange: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - [$replaceRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(core.Object)]), - fillRange: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]), - [$fillRange]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(ImmutableListMixin, () => ({ - __proto__: dart.getGetters(ImmutableListMixin.__proto__), - iterator: core.Iterator$(E), - [$iterator]: core.Iterator$(E) - })); - dart.setLibraryUri(ImmutableListMixin, I[150]); - dart.defineExtensionMethods(ImmutableListMixin, [ - 'add', - 'addAll', - 'sort', - 'shuffle', - 'insert', - 'insertAll', - 'setAll', - 'removeAt', - 'removeLast', - 'remove', - 'removeWhere', - 'retainWhere', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(ImmutableListMixin, ['iterator']); - return ImmutableListMixin; -}); -html$.ImmutableListMixin = html$.ImmutableListMixin$(); -dart.addTypeTests(html$.ImmutableListMixin, _is_ImmutableListMixin_default); -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[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[149], 11434, 25, "index"); - T$0.RectangleOfnum().as(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[149], 11440, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11468, 27, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.DomRectList.prototype[dart.isList] = true; -dart.addTypeTests(html$.DomRectList); -dart.addTypeCaches(html$.DomRectList); -html$.DomRectList[dart.implements] = () => [core.List$(math.Rectangle$(core.num)), _js_helper.JavaScriptIndexingBehavior$(math.Rectangle$(core.num))]; -dart.setMethodSignature(html$.DomRectList, () => ({ - __proto__: dart.getMethods(html$.DomRectList.__proto__), - [$_get]: dart.fnType(math.Rectangle$(core.num), [core.int]), - [$_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 -})); -dart.setSetterSignature(html$.DomRectList, () => ({ - __proto__: dart.getSetters(html$.DomRectList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.DomRectList, I[150]); -dart.registerExtension("ClientRectList", html$.DomRectList); -dart.registerExtension("DOMRectList", html$.DomRectList); -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]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$.DomRectReadOnly._create_2(x, y, width); - } - if (y != null) { - return html$.DomRectReadOnly._create_3(x, y); - } - if (x != null) { - return html$.DomRectReadOnly._create_4(x); - } - return html$.DomRectReadOnly._create_5(); - } - static _create_1(x, y, width, height) { - return new DOMRectReadOnly(x, y, width, height); - } - static _create_2(x, y, width) { - return new DOMRectReadOnly(x, y, width); - } - static _create_3(x, y) { - return new DOMRectReadOnly(x, y); - } - static _create_4(x) { - return new DOMRectReadOnly(x); - } - static _create_5() { - return new DOMRectReadOnly(); - } - get [S$0._bottom]() { - return this.bottom; - } - get [$bottom]() { - return dart.nullCheck(this[S$0._bottom]); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - get [S$0._left$2]() { - return this.left; - } - get [$left]() { - return dart.nullCheck(this[S$0._left$2]); - } - get [S$0._right$2]() { - return this.right; - } - get [$right]() { - return dart.nullCheck(this[S$0._right$2]); - } - get [S$0._top]() { - return this.top; - } - get [$top]() { - return dart.nullCheck(this[S$0._top]); - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - static fromRect(other = null) { - if (other != null) { - let other_1 = html_common.convertDartToNative_Dictionary(other); - return dart.global.DOMRectReadOnly.fromRect(other_1); - } - return dart.global.DOMRectReadOnly.fromRect(); - } -}; -dart.addTypeTests(html$.DomRectReadOnly); -dart.addTypeCaches(html$.DomRectReadOnly); -html$.DomRectReadOnly[dart.implements] = () => [math.Rectangle$(core.num)]; -dart.setMethodSignature(html$.DomRectReadOnly, () => ({ - __proto__: dart.getMethods(html$.DomRectReadOnly.__proto__), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$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), - [$topRight]: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num), - [S$0._bottom]: dart.nullable(core.num), - [$bottom]: core.num, - [S$0._height$1]: dart.nullable(core.num), - [$height]: core.num, - [S$0._left$2]: dart.nullable(core.num), - [$left]: core.num, - [S$0._right$2]: dart.nullable(core.num), - [$right]: core.num, - [S$0._top]: dart.nullable(core.num), - [$top]: core.num, - [S$0._width$1]: dart.nullable(core.num), - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.DomRectReadOnly, I[150]); -dart.registerExtension("DOMRectReadOnly", html$.DomRectReadOnly); -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[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[149], 11684, 25, "index"); - core.String.as(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[149], 11690, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 11718, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.DomStringList.prototype[dart.isList] = true; -dart.addTypeTests(html$.DomStringList); -dart.addTypeCaches(html$.DomStringList); -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 -})); -dart.setSetterSignature(html$.DomStringList, () => ({ - __proto__: dart.getSetters(html$.DomStringList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.DomStringList, I[150]); -dart.registerExtension("DOMStringList", html$.DomStringList); -html$.DomStringMap = class DomStringMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomStringMap.__(); - } - [S$1.__delete__](...args) { - return this.__delete__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.DomStringMap); -dart.addTypeCaches(html$.DomStringMap); -dart.setMethodSignature(html$.DomStringMap, () => ({ - __proto__: dart.getMethods(html$.DomStringMap.__proto__), - [S$1.__delete__]: dart.fnType(dart.void, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, core.String]), - [S$.$item]: dart.fnType(core.String, [core.String]) -})); -dart.setStaticMethodSignature(html$.DomStringMap, () => ['__']); -dart.setLibraryUri(html$.DomStringMap, I[150]); -dart.registerExtension("DOMStringMap", html$.DomStringMap); -html$.DomTokenList = class DomTokenList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.DomTokenList.__(); - } - get [$length]() { - return this.length; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [$add](...args) { - return this.add.apply(this, args); - } - [$contains](...args) { - return this.contains.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - [S$1.$supports](...args) { - return this.supports.apply(this, args); - } - [S$1.$toggle](...args) { - return this.toggle.apply(this, args); - } -}; -dart.addTypeTests(html$.DomTokenList); -dart.addTypeCaches(html$.DomTokenList); -dart.setMethodSignature(html$.DomTokenList, () => ({ - __proto__: dart.getMethods(html$.DomTokenList.__proto__), - [$add]: dart.fnType(dart.void, [core.String]), - [$contains]: dart.fnType(core.bool, [core.String]), - [S$.$item]: dart.fnType(dart.nullable(core.String), [core.int]), - [$remove]: dart.fnType(dart.void, [core.String]), - [S$1.$replace]: dart.fnType(dart.void, [core.String, core.String]), - [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, - [S.$value]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.DomTokenList, () => ({ - __proto__: dart.getSetters(html$.DomTokenList.__proto__), - [S.$value]: dart.nullable(core.String) -})); -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][S._firstElementChild] == null; - } - get length() { - return this[S$1._childElements][$length]; - } - _get(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[149], 11799, 25, "index"); - html$.Element.as(value); - 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[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[149], 11808, 23, "value"); - this[S$1._element][S.$append](value); - return value; - } - get iterator() { - return this.toList()[$iterator]; - } - addAll(iterable) { - T$0.IterableOfElement().as(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[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); - } - for (let element of iterable) { - _element[S.$append](element); - } - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort element lists")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle element lists")); - } - removeWhere(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[149], 11841, 25, "test"); - this[S$1._filter$2](test, true); - } - [S$1._filter$2](test, 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][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][S.$children][$where](test); - } - for (let e of removed) - e[$remove](); - } - fillRange(start, end, fillValue = null) { - 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[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[149], 11859, 59, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - removeRange(start, 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[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[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], object); - } - static _remove(_element, object) { - if (_element == null) dart.nullFailed(I[149], 11876, 31, "_element"); - if (html$.Element.is(object)) { - let element = object; - if (element.parentNode == _element) { - _element[S$._removeChild](element); - return true; - } - } - return false; - } - insert(index, element) { - if (index == null) dart.nullFailed(I[149], 11887, 19, "index"); - html$.Element.as(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][S.$append](element); - } else { - this[S$1._element].insertBefore(element, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 11898, 22, "index"); - T$0.IterableOfElement().as(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[149], 11902, 19, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 11902, 44, "iterable"); - dart.throw(new core.UnimplementedError.new()); - } - clear() { - this[S$1._element][S$._clearChildren](); - } - removeAt(index) { - if (index == null) dart.nullFailed(I[149], 11910, 24, "index"); - let result = this._get(index); - if (result != null) { - this[S$1._element][S$._removeChild](result); - } - return result; - } - removeLast() { - let result = this.last; - this[S$1._element][S$._removeChild](result); - return result; - } - get first() { - return html$._ChildrenElementList._first(this[S$1._element]); - } - set first(value) { - super.first = value; - } - static _first(_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][S._lastElementChild]; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - if (dart.notNull(this.length) > 1) dart.throw(new core.StateError.new("More than one element")); - return this.first; - } - get rawList() { - return this[S$1._childElements]; - } -}; -(html$._ChildrenElementList._wrap = function(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] = element; - ; -}).prototype = html$._ChildrenElementList.prototype; -dart.addTypeTests(html$._ChildrenElementList); -dart.addTypeCaches(html$._ChildrenElementList); -html$._ChildrenElementList[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getMethods(html$._ChildrenElementList.__proto__), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - add: dart.fnType(html$.Element, [dart.nullable(core.Object)]), - [$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, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getSetters(html$._ChildrenElementList.__proto__), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html$._ChildrenElementList, I[150]); -dart.setFieldSignature(html$._ChildrenElementList, () => ({ - __proto__: dart.getFields(html$._ChildrenElementList.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element), - [S$1._childElements]: dart.finalFieldType(html$.HtmlCollection) -})); -dart.defineExtensionMethods(html$._ChildrenElementList, [ - 'contains', - '_get', - '_set', - 'add', - 'addAll', - 'sort', - 'shuffle', - 'removeWhere', - 'retainWhere', - 'fillRange', - 'replaceRange', - 'removeRange', - 'setRange', - 'remove', - 'insert', - 'insertAll', - 'setAll', - 'clear', - 'removeAt', - 'removeLast' -]); -dart.defineExtensionAccessors(html$._ChildrenElementList, [ - 'isEmpty', - 'length', - 'iterator', - 'first', - 'last', - 'single' -]); -const _is_ElementList_default = Symbol('_is_ElementList_default'); -html$.ElementList$ = dart.generic(T => { - class ElementList extends collection.ListBase$(T) {} - (ElementList.new = function() { - ; - }).prototype = ElementList.prototype; - dart.addTypeTests(ElementList); - ElementList.prototype[_is_ElementList_default] = true; - dart.addTypeCaches(ElementList); - 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 __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[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[149], 12345, 25, "index"); - E.as(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[149], 12349, 18, "newLength"); - dart.throw(new core.UnsupportedError.new("Cannot modify list")); - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle list")); - } - get first() { - return E.as(this[S$1._nodeList][$first]); - } - set first(value) { - super.first = value; - } - get last() { - return E.as(this[S$1._nodeList][$last]); - } - set last(value) { - super.last = value; - } - get single() { - return E.as(this[S$1._nodeList][$single]); - } - get classes() { - return html$._MultiElementCssClassSet.new(this); - } - get style() { - return new html$._CssStyleDeclarationSet.new(this); - } - set classes(value) { - if (value == null) dart.nullFailed(I[149], 12371, 32, "value"); - this.forEach(dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 12378, 14, "e"); - return e[S.$classes] = value; - }, __t$ETovoid())); - } - get contentEdge() { - return new html$._ContentCssListRect.new(this); - } - get paddingEdge() { - return this.first[S.$paddingEdge]; - } - get borderEdge() { - return this.first[S.$borderEdge]; - } - get marginEdge() { - return this.first[S.$marginEdge]; - } - get rawList() { - return this[S$1._nodeList]; - } - get onAbort() { - return html$.Element.abortEvent[S$1._forElementList](this); - } - get onBeforeCopy() { - return html$.Element.beforeCopyEvent[S$1._forElementList](this); - } - get onBeforeCut() { - return html$.Element.beforeCutEvent[S$1._forElementList](this); - } - get onBeforePaste() { - return html$.Element.beforePasteEvent[S$1._forElementList](this); - } - get onBlur() { - return html$.Element.blurEvent[S$1._forElementList](this); - } - get onCanPlay() { - return html$.Element.canPlayEvent[S$1._forElementList](this); - } - get onCanPlayThrough() { - return html$.Element.canPlayThroughEvent[S$1._forElementList](this); - } - get onChange() { - return html$.Element.changeEvent[S$1._forElementList](this); - } - get onClick() { - return html$.Element.clickEvent[S$1._forElementList](this); - } - get onContextMenu() { - return html$.Element.contextMenuEvent[S$1._forElementList](this); - } - get onCopy() { - return html$.Element.copyEvent[S$1._forElementList](this); - } - get onCut() { - return html$.Element.cutEvent[S$1._forElementList](this); - } - get onDoubleClick() { - return html$.Element.doubleClickEvent[S$1._forElementList](this); - } - get onDrag() { - return html$.Element.dragEvent[S$1._forElementList](this); - } - get onDragEnd() { - return html$.Element.dragEndEvent[S$1._forElementList](this); - } - get onDragEnter() { - return html$.Element.dragEnterEvent[S$1._forElementList](this); - } - get onDragLeave() { - return html$.Element.dragLeaveEvent[S$1._forElementList](this); - } - get onDragOver() { - return html$.Element.dragOverEvent[S$1._forElementList](this); - } - get onDragStart() { - return html$.Element.dragStartEvent[S$1._forElementList](this); - } - get onDrop() { - return html$.Element.dropEvent[S$1._forElementList](this); - } - get onDurationChange() { - return html$.Element.durationChangeEvent[S$1._forElementList](this); - } - get onEmptied() { - return html$.Element.emptiedEvent[S$1._forElementList](this); - } - get onEnded() { - return html$.Element.endedEvent[S$1._forElementList](this); - } - get onError() { - return html$.Element.errorEvent[S$1._forElementList](this); - } - get onFocus() { - return html$.Element.focusEvent[S$1._forElementList](this); - } - get onInput() { - return html$.Element.inputEvent[S$1._forElementList](this); - } - get onInvalid() { - return html$.Element.invalidEvent[S$1._forElementList](this); - } - get onKeyDown() { - return html$.Element.keyDownEvent[S$1._forElementList](this); - } - get onKeyPress() { - return html$.Element.keyPressEvent[S$1._forElementList](this); - } - get onKeyUp() { - return html$.Element.keyUpEvent[S$1._forElementList](this); - } - get onLoad() { - return html$.Element.loadEvent[S$1._forElementList](this); - } - get onLoadedData() { - return html$.Element.loadedDataEvent[S$1._forElementList](this); - } - get onLoadedMetadata() { - return html$.Element.loadedMetadataEvent[S$1._forElementList](this); - } - get onMouseDown() { - return html$.Element.mouseDownEvent[S$1._forElementList](this); - } - get onMouseEnter() { - return html$.Element.mouseEnterEvent[S$1._forElementList](this); - } - get onMouseLeave() { - return html$.Element.mouseLeaveEvent[S$1._forElementList](this); - } - get onMouseMove() { - return html$.Element.mouseMoveEvent[S$1._forElementList](this); - } - get onMouseOut() { - return html$.Element.mouseOutEvent[S$1._forElementList](this); - } - get onMouseOver() { - return html$.Element.mouseOverEvent[S$1._forElementList](this); - } - get onMouseUp() { - return html$.Element.mouseUpEvent[S$1._forElementList](this); - } - get onMouseWheel() { - return html$.Element.mouseWheelEvent[S$1._forElementList](this); - } - get onPaste() { - return html$.Element.pasteEvent[S$1._forElementList](this); - } - get onPause() { - return html$.Element.pauseEvent[S$1._forElementList](this); - } - get onPlay() { - return html$.Element.playEvent[S$1._forElementList](this); - } - get onPlaying() { - return html$.Element.playingEvent[S$1._forElementList](this); - } - get onRateChange() { - return html$.Element.rateChangeEvent[S$1._forElementList](this); - } - get onReset() { - return html$.Element.resetEvent[S$1._forElementList](this); - } - get onResize() { - return html$.Element.resizeEvent[S$1._forElementList](this); - } - get onScroll() { - return html$.Element.scrollEvent[S$1._forElementList](this); - } - get onSearch() { - return html$.Element.searchEvent[S$1._forElementList](this); - } - get onSeeked() { - return html$.Element.seekedEvent[S$1._forElementList](this); - } - get onSeeking() { - return html$.Element.seekingEvent[S$1._forElementList](this); - } - get onSelect() { - return html$.Element.selectEvent[S$1._forElementList](this); - } - get onSelectStart() { - return html$.Element.selectStartEvent[S$1._forElementList](this); - } - get onStalled() { - return html$.Element.stalledEvent[S$1._forElementList](this); - } - get onSubmit() { - return html$.Element.submitEvent[S$1._forElementList](this); - } - get onSuspend() { - return html$.Element.suspendEvent[S$1._forElementList](this); - } - get onTimeUpdate() { - return html$.Element.timeUpdateEvent[S$1._forElementList](this); - } - get onTouchCancel() { - return html$.Element.touchCancelEvent[S$1._forElementList](this); - } - get onTouchEnd() { - return html$.Element.touchEndEvent[S$1._forElementList](this); - } - get onTouchEnter() { - return html$.Element.touchEnterEvent[S$1._forElementList](this); - } - get onTouchLeave() { - return html$.Element.touchLeaveEvent[S$1._forElementList](this); - } - get onTouchMove() { - return html$.Element.touchMoveEvent[S$1._forElementList](this); - } - get onTouchStart() { - return html$.Element.touchStartEvent[S$1._forElementList](this); - } - get onTransitionEnd() { - return html$.Element.transitionEndEvent[S$1._forElementList](this); - } - get onVolumeChange() { - return html$.Element.volumeChangeEvent[S$1._forElementList](this); - } - get onWaiting() { - return html$.Element.waitingEvent[S$1._forElementList](this); - } - get onFullscreenChange() { - return html$.Element.fullscreenChangeEvent[S$1._forElementList](this); - } - get onFullscreenError() { - return html$.Element.fullscreenErrorEvent[S$1._forElementList](this); - } - get onWheel() { - return html$.Element.wheelEvent[S$1._forElementList](this); - } - } - (_FrozenElementList._wrap = function(_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[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[149], 12338, 93, "e"); - return !E.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; - dart.addTypeCaches(_FrozenElementList); - _FrozenElementList[dart.implements] = () => [html$.ElementList$(E), html_common.NodeListWrapper]; - dart.setMethodSignature(_FrozenElementList, () => ({ - __proto__: dart.getMethods(_FrozenElementList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getGetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: html$.CssClassSet, - style: html$.CssStyleDeclarationBase, - contentEdge: html$.CssRect, - paddingEdge: html$.CssRect, - borderEdge: html$.CssRect, - marginEdge: html$.CssRect, - rawList: core.List$(html$.Node), - onAbort: html$.ElementStream$(html$.Event), - onBeforeCopy: html$.ElementStream$(html$.Event), - onBeforeCut: html$.ElementStream$(html$.Event), - onBeforePaste: html$.ElementStream$(html$.Event), - onBlur: html$.ElementStream$(html$.Event), - onCanPlay: html$.ElementStream$(html$.Event), - onCanPlayThrough: html$.ElementStream$(html$.Event), - onChange: html$.ElementStream$(html$.Event), - onClick: html$.ElementStream$(html$.MouseEvent), - onContextMenu: html$.ElementStream$(html$.MouseEvent), - onCopy: html$.ElementStream$(html$.ClipboardEvent), - onCut: html$.ElementStream$(html$.ClipboardEvent), - onDoubleClick: html$.ElementStream$(html$.Event), - onDrag: html$.ElementStream$(html$.MouseEvent), - onDragEnd: html$.ElementStream$(html$.MouseEvent), - onDragEnter: html$.ElementStream$(html$.MouseEvent), - onDragLeave: html$.ElementStream$(html$.MouseEvent), - onDragOver: html$.ElementStream$(html$.MouseEvent), - onDragStart: html$.ElementStream$(html$.MouseEvent), - onDrop: html$.ElementStream$(html$.MouseEvent), - onDurationChange: html$.ElementStream$(html$.Event), - onEmptied: html$.ElementStream$(html$.Event), - onEnded: html$.ElementStream$(html$.Event), - onError: html$.ElementStream$(html$.Event), - onFocus: html$.ElementStream$(html$.Event), - onInput: html$.ElementStream$(html$.Event), - onInvalid: html$.ElementStream$(html$.Event), - onKeyDown: html$.ElementStream$(html$.KeyboardEvent), - onKeyPress: html$.ElementStream$(html$.KeyboardEvent), - onKeyUp: html$.ElementStream$(html$.KeyboardEvent), - onLoad: html$.ElementStream$(html$.Event), - onLoadedData: html$.ElementStream$(html$.Event), - onLoadedMetadata: html$.ElementStream$(html$.Event), - onMouseDown: html$.ElementStream$(html$.MouseEvent), - onMouseEnter: html$.ElementStream$(html$.MouseEvent), - onMouseLeave: html$.ElementStream$(html$.MouseEvent), - onMouseMove: html$.ElementStream$(html$.MouseEvent), - onMouseOut: html$.ElementStream$(html$.MouseEvent), - onMouseOver: html$.ElementStream$(html$.MouseEvent), - onMouseUp: html$.ElementStream$(html$.MouseEvent), - onMouseWheel: html$.ElementStream$(html$.WheelEvent), - onPaste: html$.ElementStream$(html$.ClipboardEvent), - onPause: html$.ElementStream$(html$.Event), - onPlay: html$.ElementStream$(html$.Event), - onPlaying: html$.ElementStream$(html$.Event), - onRateChange: html$.ElementStream$(html$.Event), - onReset: html$.ElementStream$(html$.Event), - onResize: html$.ElementStream$(html$.Event), - onScroll: html$.ElementStream$(html$.Event), - onSearch: html$.ElementStream$(html$.Event), - onSeeked: html$.ElementStream$(html$.Event), - onSeeking: html$.ElementStream$(html$.Event), - onSelect: html$.ElementStream$(html$.Event), - onSelectStart: html$.ElementStream$(html$.Event), - onStalled: html$.ElementStream$(html$.Event), - onSubmit: html$.ElementStream$(html$.Event), - onSuspend: html$.ElementStream$(html$.Event), - onTimeUpdate: html$.ElementStream$(html$.Event), - onTouchCancel: html$.ElementStream$(html$.TouchEvent), - onTouchEnd: html$.ElementStream$(html$.TouchEvent), - onTouchEnter: html$.ElementStream$(html$.TouchEvent), - onTouchLeave: html$.ElementStream$(html$.TouchEvent), - onTouchMove: html$.ElementStream$(html$.TouchEvent), - onTouchStart: html$.ElementStream$(html$.TouchEvent), - onTransitionEnd: html$.ElementStream$(html$.TransitionEvent), - onVolumeChange: html$.ElementStream$(html$.Event), - onWaiting: html$.ElementStream$(html$.Event), - onFullscreenChange: html$.ElementStream$(html$.Event), - onFullscreenError: html$.ElementStream$(html$.Event), - onWheel: html$.ElementStream$(html$.WheelEvent) - })); - dart.setSetterSignature(_FrozenElementList, () => ({ - __proto__: dart.getSetters(_FrozenElementList.__proto__), - length: core.int, - [$length]: core.int, - classes: core.Iterable$(core.String) - })); - dart.setLibraryUri(_FrozenElementList, I[150]); - dart.setFieldSignature(_FrozenElementList, () => ({ - __proto__: dart.getFields(_FrozenElementList.__proto__), - [S$1._nodeList]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_FrozenElementList, ['_get', '_set', 'sort', 'shuffle']); - dart.defineExtensionAccessors(_FrozenElementList, ['length', 'first', 'last', 'single']); - return _FrozenElementList; -}); -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[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.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]; - } - 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]); - } -}; -(html$.ScrollAlignment._internal = function(_value) { - this[S$1._value$6] = _value; - ; -}).prototype = html$.ScrollAlignment.prototype; -dart.addTypeTests(html$.ScrollAlignment); -dart.addTypeCaches(html$.ScrollAlignment); -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[337] || CT.C337; - }, - /*html$.ScrollAlignment.CENTER*/get CENTER() { - return C[338] || CT.C338; - }, - /*html$.ScrollAlignment.BOTTOM*/get BOTTOM() { - 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"); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } -}; -(html$.EmbedElement.created = function() { - html$.EmbedElement.__proto__.created.call(this); - ; -}).prototype = html$.EmbedElement.prototype; -dart.addTypeTests(html$.EmbedElement); -dart.addTypeCaches(html$.EmbedElement); -dart.setMethodSignature(html$.EmbedElement, () => ({ - __proto__: dart.getMethods(html$.EmbedElement.__proto__), - [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, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String -})); -dart.setSetterSignature(html$.EmbedElement, () => ({ - __proto__: dart.getSetters(html$.EmbedElement.__proto__), - [$height]: core.String, - [$name]: dart.nullable(core.String), - [S$.$src]: core.String, - [S.$type]: core.String, - [$width]: core.String -})); -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[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); - } - static _create_2(type) { - return new ErrorEvent(type); - } - get [S$1.$colno]() { - return this.colno; - } - get [S.$error]() { - return this.error; - } - get [S$1.$filename]() { - return this.filename; - } - get [S$1.$lineno]() { - return this.lineno; - } - get [$message]() { - return this.message; - } -}; -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), - [S.$error]: dart.nullable(core.Object), - [S$1.$filename]: dart.nullable(core.String), - [S$1.$lineno]: dart.nullable(core.int), - [$message]: dart.nullable(core.String) -})); -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[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[149], 15742, 49, "url"); - if (eventSourceInitDict != null) { - let eventSourceInitDict_1 = html_common.convertDartToNative_Dictionary(eventSourceInitDict); - return html$.EventSource._create_1(url, eventSourceInitDict_1); - } - return html$.EventSource._create_2(url); - } - static _create_1(url, eventSourceInitDict) { - return new EventSource(url, eventSourceInitDict); - } - static _create_2(url) { - return new EventSource(url); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - get [S.$onError]() { - return html$.EventSource.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.EventSource.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.EventSource.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.EventSource); -dart.addTypeCaches(html$.EventSource); -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), - [S$.$url]: dart.nullable(core.String), - [S$1.$withCredentials]: dart.nullable(core.bool), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -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[226] || CT.C226; - }, - /*html$.EventSource.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.EventSource.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.EventSource.CLOSED*/get CLOSED() { - return 2; - }, - /*html$.EventSource.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.EventSource.OPEN*/get OPEN() { - return 1; - } -}, 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[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[149], 15824, 15, "_ptr"); - this[S$1._ptr] = _ptr; - ; -}).prototype = html$.Events.prototype; -dart.addTypeTests(html$.Events); -dart.addTypeCaches(html$.Events); -dart.setMethodSignature(html$.Events, () => ({ - __proto__: dart.getMethods(html$.Events.__proto__), - _get: dart.fnType(async.Stream$(html$.Event), [core.String]) -})); -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[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); - } - } - return new (T$0._ElementEventStreamImplOfEvent()).new(this[S$1._ptr], type, false); - } -}; -(html$.ElementEvents.new = function(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[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; - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return this.source; - } -}; -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), - [S$1.$lastEventId]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$1.$ports]: dart.nullable(core.List$(html$.MessagePort)), - [S.$source]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.ExtendableMessageEvent, I[150]); -dart.registerExtension("ExtendableMessageEvent", html$.ExtendableMessageEvent); -html$.External = class External extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.External.__(); - } - [S$1.$AddSearchProvider](...args) { - return this.AddSearchProvider.apply(this, args); - } - [S$1.$IsSearchProviderInstalled](...args) { - return this.IsSearchProviderInstalled.apply(this, args); - } -}; -dart.addTypeTests(html$.External); -dart.addTypeCaches(html$.External); -dart.setMethodSignature(html$.External, () => ({ - __proto__: dart.getMethods(html$.External.__proto__), - [S$1.$AddSearchProvider]: dart.fnType(dart.void, []), - [S$1.$IsSearchProviderInstalled]: dart.fnType(dart.void, []) -})); -dart.setStaticMethodSignature(html$.External, () => ['__']); -dart.setLibraryUri(html$.External, I[150]); -dart.registerExtension("External", html$.External); -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); - return html$.FaceDetector._create_1(faceDetectorOptions_1); - } - return html$.FaceDetector._create_2(); - } - static ['_#new#tearOff'](faceDetectorOptions = null) { - return html$.FaceDetector.new(faceDetectorOptions); - } - static _create_1(faceDetectorOptions) { - return new FaceDetector(faceDetectorOptions); - } - static _create_2() { - return new FaceDetector(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.FaceDetector); -dart.addTypeCaches(html$.FaceDetector); -dart.setMethodSignature(html$.FaceDetector, () => ({ - __proto__: dart.getMethods(html$.FaceDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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[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); - } - get [S$.$protocol]() { - return this.protocol; - } - get [S$1.$provider]() { - return this.provider; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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), - [S$1.$provider]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) -})); -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[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); - } - get [S$1.$clientId]() { - return this.clientId; - } - get [S$1.$isReload]() { - return this.isReload; - } - get [S$1.$preloadResponse]() { - return js_util.promiseToFuture(dart.dynamic, this.preloadResponse); - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.FetchEvent); -dart.addTypeCaches(html$.FetchEvent); -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), - [S$1.$isReload]: dart.nullable(core.bool), - [S$1.$preloadResponse]: async.Future, - [S$.$request]: dart.nullable(html$._Request) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$1.$elements]() { - return this.elements; - } - get [S$.$form]() { - return this.form; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.FieldSetElement.created = function() { - html$.FieldSetElement.__proto__.created.call(this); - ; -}).prototype = html$.FieldSetElement.prototype; -dart.addTypeTests(html$.FieldSetElement); -dart.addTypeCaches(html$.FieldSetElement); -dart.setMethodSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getMethods(html$.FieldSetElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1.$elements]: dart.nullable(core.List$(html$.Node)), - [S$.$form]: dart.nullable(html$.FormElement), - [$name]: core.String, - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.FieldSetElement, () => ({ - __proto__: dart.getSetters(html$.FieldSetElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [$name]: core.String -})); -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[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); - } - static _create_2(fileBits, fileName) { - return new File(fileBits, fileName); - } - get [S$1.$lastModified]() { - return this.lastModified; - } - get [S$1.$lastModifiedDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_lastModifiedDate]); - } - get [S$1._get_lastModifiedDate]() { - return this.lastModifiedDate; - } - get [$name]() { - return this.name; - } - get [S$1.$relativePath]() { - return this.webkitRelativePath; - } -}; -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), - [S$1.$lastModifiedDate]: core.DateTime, - [S$1._get_lastModifiedDate]: dart.dynamic, - [$name]: core.String, - [S$1.$relativePath]: dart.nullable(core.String) -})); -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[149], 16178, 20, "value"); - _js_helper.applyExtension("FileWriter", value); - completer.complete(value); - }, T$0.FileWriterTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16181, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$1._file$1](...args) { - return this.file.apply(this, args); - } - [S$1.$file]() { - let completer = T$0.CompleterOfFile().new(); - this[S$1._file$1](dart.fn(value => { - _js_helper.applyExtension("File", value); - completer.complete(value); - }, T$0.FileNTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16197, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } -}; -dart.addTypeTests(html$.FileEntry); -dart.addTypeCaches(html$.FileEntry); -dart.setMethodSignature(html$.FileEntry, () => ({ - __proto__: dart.getMethods(html$.FileEntry.__proto__), - [S$1._createWriter]: dart.fnType(dart.void, [dart.fnType(dart.void, [html$.FileWriter])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$1.$createWriter]: dart.fnType(async.Future$(html$.FileWriter), []), - [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.setStaticMethodSignature(html$.FileEntry, () => ['__']); -dart.setLibraryUri(html$.FileEntry, I[150]); -dart.registerExtension("FileEntry", html$.FileEntry); -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[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[149], 16224, 25, "index"); - html$.File.as(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[149], 16230, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 16258, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.FileList.prototype[dart.isList] = true; -dart.addTypeTests(html$.FileList); -dart.addTypeCaches(html$.FileList); -html$.FileList[dart.implements] = () => [core.List$(html$.File), _js_helper.JavaScriptIndexingBehavior$(html$.File)]; -dart.setMethodSignature(html$.FileList, () => ({ - __proto__: dart.getMethods(html$.FileList.__proto__), - [$_get]: dart.fnType(html$.File, [core.int]), - [$_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 -})); -dart.setSetterSignature(html$.FileList, () => ({ - __proto__: dart.getSetters(html$.FileList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.FileList, I[150]); -dart.registerExtension("FileList", html$.FileList); -html$.FileReader = class FileReader$ extends html$.EventTarget { - get [S.$result]() { - let res = this.result; - if (typed_data.ByteBuffer.is(res)) { - return typed_data.Uint8List.view(res); - } - 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(); - } - get [S.$error]() { - return this.error; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$readAsArrayBuffer](...args) { - return this.readAsArrayBuffer.apply(this, args); - } - [S$1.$readAsDataUrl](...args) { - return this.readAsDataURL.apply(this, args); - } - [S$1.$readAsText](...args) { - return this.readAsText.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileReader.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileReader.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.FileReader.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.FileReader.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.FileReader.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileReader.progressEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FileReader); -dart.addTypeCaches(html$.FileReader); -dart.setMethodSignature(html$.FileReader, () => ({ - __proto__: dart.getMethods(html$.FileReader.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$readAsArrayBuffer]: dart.fnType(dart.void, [html$.Blob]), - [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), - [S.$error]: dart.nullable(html$.DomException), - [S.$readyState]: core.int, - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.FileReader.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.FileReader.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.FileReader.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.FileReader.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.FileReader.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileReader.DONE*/get DONE() { - return 2; - }, - /*html$.FileReader.EMPTY*/get EMPTY() { - return 0; - }, - /*html$.FileReader.LOADING*/get LOADING() { - return 1; - } -}, false); -dart.registerExtension("FileReader", html$.FileReader); -html$.FileSystem = class FileSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FileSystem.__(); - } - static get supported() { - return !!window.webkitRequestFileSystem; - } - get [$name]() { - return this.name; - } - get [S$1.$root]() { - return this.root; - } -}; -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.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; - } - get [$length]() { - return this.length; - } - get [S$0.$position]() { - return this.position; - } - get [S.$readyState]() { - return this.readyState; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$seek](...args) { - return this.seek.apply(this, args); - } - [$truncate](...args) { - return this.truncate.apply(this, args); - } - [S$1.$write](...args) { - return this.write.apply(this, args); - } - get [S.$onAbort]() { - return html$.FileWriter.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.FileWriter.errorEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.FileWriter.progressEvent.forTarget(this); - } - get [S$1.$onWrite]() { - return html$.FileWriter.writeEvent.forTarget(this); - } - get [S$1.$onWriteEnd]() { - return html$.FileWriter.writeEndEvent.forTarget(this); - } - get [S$1.$onWriteStart]() { - return html$.FileWriter.writeStartEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FileWriter); -dart.addTypeCaches(html$.FileWriter); -dart.setMethodSignature(html$.FileWriter, () => ({ - __proto__: dart.getMethods(html$.FileWriter.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$seek]: dart.fnType(dart.void, [core.int]), - [$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), - [$length]: dart.nullable(core.int), - [S$0.$position]: dart.nullable(core.int), - [S.$readyState]: dart.nullable(core.int), - [S.$onAbort]: async.Stream$(html$.ProgressEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onWrite]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onWriteStart]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.FileWriter.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.FileWriter.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.FileWriter.writeEvent*/get writeEvent() { - return C[346] || CT.C346; - }, - /*html$.FileWriter.writeEndEvent*/get writeEndEvent() { - return C[347] || CT.C347; - }, - /*html$.FileWriter.writeStartEvent*/get writeStartEvent() { - return C[348] || CT.C348; - }, - /*html$.FileWriter.DONE*/get DONE() { - return 2; - }, - /*html$.FileWriter.INIT*/get INIT() { - return 0; - }, - /*html$.FileWriter.WRITING*/get WRITING() { - return 1; - } -}, 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[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); - } - static _create_2(type) { - return new FocusEvent(type); - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } -}; -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[150]); -dart.registerExtension("FocusEvent", html$.FocusEvent); -html$.FontFace = class FontFace$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.FontFace.__(); - } - static new(family, source, descriptors = null) { - 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); - } - static _create_2(family, source) { - return new FontFace(family, source); - } - get [S$0.$display]() { - return this.display; - } - set [S$0.$display](value) { - this.display = value; - } - get [S$1.$family]() { - return this.family; - } - set [S$1.$family](value) { - this.family = value; - } - get [S$1.$featureSettings]() { - return this.featureSettings; - } - set [S$1.$featureSettings](value) { - this.featureSettings = value; - } - get [S$1.$loaded]() { - return js_util.promiseToFuture(html$.FontFace, this.loaded); - } - get [S$.$status]() { - return this.status; - } - get [S$1.$stretch]() { - return this.stretch; - } - set [S$1.$stretch](value) { - this.stretch = value; - } - get [S.$style]() { - return this.style; - } - set [S.$style](value) { - this.style = value; - } - get [S$0.$unicodeRange]() { - return this.unicodeRange; - } - set [S$0.$unicodeRange](value) { - this.unicodeRange = value; - } - get [S$1.$variant]() { - return this.variant; - } - set [S$1.$variant](value) { - this.variant = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } - [S$.$load]() { - return js_util.promiseToFuture(html$.FontFace, this.load()); - } -}; -dart.addTypeTests(html$.FontFace); -dart.addTypeCaches(html$.FontFace); -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), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$loaded]: async.Future$(html$.FontFace), - [S$.$status]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.FontFace, () => ({ - __proto__: dart.getSetters(html$.FontFace.__proto__), - [S$0.$display]: dart.nullable(core.String), - [S$1.$family]: dart.nullable(core.String), - [S$1.$featureSettings]: dart.nullable(core.String), - [S$1.$stretch]: dart.nullable(core.String), - [S.$style]: dart.nullable(core.String), - [S$0.$unicodeRange]: dart.nullable(core.String), - [S$1.$variant]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.String) -})); -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; - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$1.$check](...args) { - return this.check.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [$forEach](...args) { - return this.forEach.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - get [S$1.$onLoading]() { - return html$.FontFaceSet.loadingEvent.forTarget(this); - } - get [S$1.$onLoadingDone]() { - return html$.FontFaceSet.loadingDoneEvent.forTarget(this); - } - get [S$1.$onLoadingError]() { - return html$.FontFaceSet.loadingErrorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.FontFaceSet); -dart.addTypeCaches(html$.FontFaceSet); -dart.setMethodSignature(html$.FontFaceSet, () => ({ - __proto__: dart.getMethods(html$.FontFaceSet.__proto__), - [$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), - [S$1.$onLoading]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingDone]: async.Stream$(html$.FontFaceSetLoadEvent), - [S$1.$onLoadingError]: async.Stream$(html$.FontFaceSetLoadEvent) -})); -dart.setLibraryUri(html$.FontFaceSet, I[150]); -dart.setStaticFieldSignature(html$.FontFaceSet, () => ['loadingEvent', 'loadingDoneEvent', 'loadingErrorEvent']); -dart.defineLazy(html$.FontFaceSet, { - /*html$.FontFaceSet.loadingEvent*/get loadingEvent() { - return C[349] || CT.C349; - }, - /*html$.FontFaceSet.loadingDoneEvent*/get loadingDoneEvent() { - return C[350] || CT.C350; - }, - /*html$.FontFaceSet.loadingErrorEvent*/get loadingErrorEvent() { - 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[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); - } - static _create_2(type) { - return new FontFaceSetLoadEvent(type); - } - get [S$1.$fontfaces]() { - return this.fontfaces; - } -}; -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[150]); -dart.registerExtension("FontFaceSetLoadEvent", html$.FontFaceSetLoadEvent); -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[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[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); - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$request]() { - return this.request; - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.ForeignFetchEvent); -dart.addTypeCaches(html$.ForeignFetchEvent); -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[150]); -dart.registerExtension("ForeignFetchEvent", html$.ForeignFetchEvent); -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); - } - static _create_2() { - return new FormData(); - } - static get supported() { - return !!window.FormData; - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S$1.$appendBlob](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } -}; -dart.addTypeTests(html$.FormData); -dart.addTypeCaches(html$.FormData); -dart.setMethodSignature(html$.FormData, () => ({ - __proto__: dart.getMethods(html$.FormData.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S$1.$appendBlob]: dart.fnType(dart.void, [core.String, html$.Blob], [dart.nullable(core.String)]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.Object), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, dart.dynamic], [dart.nullable(core.String)]) -})); -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; - } - set [S$1.$acceptCharset](value) { - this.acceptCharset = value; - } - get [S$1.$action]() { - return this.action; - } - set [S$1.$action](value) { - this.action = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$encoding]() { - return this.encoding; - } - set [S$.$encoding](value) { - this.encoding = value; - } - get [S$1.$enctype]() { - return this.enctype; - } - set [S$1.$enctype](value) { - this.enctype = value; - } - get [$length]() { - return this.length; - } - get [S$1.$method]() { - return this.method; - } - set [S$1.$method](value) { - this.method = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$noValidate]() { - return this.noValidate; - } - set [S$1.$noValidate](value) { - this.noValidate = value; - } - get [S.$target]() { - return this.target; - } - set [S.$target](value) { - this.target = value; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$1.$requestAutocomplete](details) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - this[S$1._requestAutocomplete_1](details_1); - return; - } - [S$1._requestAutocomplete_1](...args) { - return this.requestAutocomplete.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$1.$submit](...args) { - return this.submit.apply(this, args); - } -}; -(html$.FormElement.created = function() { - html$.FormElement.__proto__.created.call(this); - ; -}).prototype = html$.FormElement.prototype; -dart.addTypeTests(html$.FormElement); -dart.addTypeCaches(html$.FormElement); -dart.setMethodSignature(html$.FormElement, () => ({ - __proto__: dart.getMethods(html$.FormElement.__proto__), - [S$.__getter__]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(html$.Element, [core.int]), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$1.$requestAutocomplete]: dart.fnType(dart.void, [dart.nullable(core.Map)]), - [S$1._requestAutocomplete_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.FormElement, () => ({ - __proto__: dart.getSetters(html$.FormElement.__proto__), - [S$1.$acceptCharset]: dart.nullable(core.String), - [S$1.$action]: dart.nullable(core.String), - [S$.$autocomplete]: dart.nullable(core.String), - [S$.$encoding]: dart.nullable(core.String), - [S$1.$enctype]: dart.nullable(core.String), - [S$1.$method]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$1.$noValidate]: dart.nullable(core.bool), - [S.$target]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.FormElement, I[150]); -dart.registerExtension("HTMLFormElement", html$.FormElement); -html$.Gamepad = class Gamepad extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Gamepad.__(); - } - get [S$1.$axes]() { - return this.axes; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1.$connected]() { - return this.connected; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$1.$hand]() { - return this.hand; - } - get [S.$id]() { - return this.id; - } - get [S.$index]() { - return this.index; - } - get [S$1.$mapping]() { - return this.mapping; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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)), - [S$1.$buttons]: dart.nullable(core.List$(html$.GamepadButton)), - [S$1.$connected]: dart.nullable(core.bool), - [S$1.$displayId]: dart.nullable(core.int), - [S$1.$hand]: dart.nullable(core.String), - [S.$id]: dart.nullable(core.String), - [S.$index]: dart.nullable(core.int), - [S$1.$mapping]: dart.nullable(core.String), - [S$1.$pose]: dart.nullable(html$.GamepadPose), - [S$.$timestamp]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.Gamepad, I[150]); -dart.registerExtension("Gamepad", html$.Gamepad); -html$.GamepadButton = class GamepadButton extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadButton.__(); - } - get [S$.$pressed]() { - return this.pressed; - } - get [S$1.$touched]() { - return this.touched; - } - get [S.$value]() { - return this.value; - } -}; -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[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[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); - } - static _create_2(type) { - return new GamepadEvent(type); - } - get [S$1.$gamepad]() { - return this.gamepad; - } -}; -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[150]); -dart.registerExtension("GamepadEvent", html$.GamepadEvent); -html$.GamepadPose = class GamepadPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.GamepadPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$hasOrientation]() { - return this.hasOrientation; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } -}; -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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$hasOrientation]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) -})); -dart.setLibraryUri(html$.GamepadPose, I[150]); -dart.registerExtension("GamepadPose", html$.GamepadPose); -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; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let completer = T$0.CompleterOfGeoposition().new(); - try { - this[S$1._getCurrentPosition](dart.fn(position => { - completer.complete(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 16978, 11, "error"); - completer.completeError(error); - }, T$0.PositionErrorTovoid()), options); - } catch (e$) { - let e = dart.getThrown(e$); - let stacktrace = dart.stackTrace(e$); - if (core.Object.is(e)) { - completer.completeError(e, stacktrace); - } else - throw e$; - } - return completer.future; - } - [S$1.$watchPosition](opts) { - let enableHighAccuracy = opts && 'enableHighAccuracy' in opts ? opts.enableHighAccuracy : null; - let timeout = opts && 'timeout' in opts ? opts.timeout : null; - let maximumAge = opts && 'maximumAge' in opts ? opts.maximumAge : null; - let options = new _js_helper.LinkedMap.new(); - if (enableHighAccuracy != null) { - options[$_set]("enableHighAccuracy", enableHighAccuracy); - } - if (timeout != null) { - options[$_set]("timeout", timeout.inMilliseconds); - } - if (maximumAge != null) { - options[$_set]("maximumAge", maximumAge.inMilliseconds); - } - let watchId = null; - let controller = T$0.StreamControllerOfGeoposition().new({sync: true, onCancel: dart.fn(() => { - 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[149], 17009, 14, "watchId == null"); - watchId = this[S$1._watchPosition](dart.fn(position => { - controller.add(this[S$1._ensurePosition](position)); - }, T$.dynamicTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 17012, 11, "error"); - controller.addError(error); - }, T$0.PositionErrorTovoid()), options); - }, T$.VoidTovoid()); - return controller.stream; - } - [S$1._ensurePosition](domPosition) { - try { - if (html$.Geoposition.is(domPosition)) { - return domPosition; - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - 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[149], 17040, 46, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_2](successCallback_1, errorCallback); - return; - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - this[S$1._getCurrentPosition_3](successCallback_1); - return; - } - [S$1._getCurrentPosition_1](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_2](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._getCurrentPosition_3](...args) { - return this.getCurrentPosition.apply(this, args); - } - [S$1._watchPosition](successCallback, errorCallback = null, options = null) { - if (successCallback == null) dart.nullFailed(I[149], 17075, 40, "successCallback"); - if (options != null) { - 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$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_2](successCallback_1, errorCallback); - } - let successCallback_1 = _js_helper.convertDartClosureToJS(T$.dynamicTovoid(), successCallback, 1); - return this[S$1._watchPosition_3](successCallback_1); - } - [S$1._watchPosition_1](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_2](...args) { - return this.watchPosition.apply(this, args); - } - [S$1._watchPosition_3](...args) { - return this.watchPosition.apply(this, args); - } -}; -dart.addTypeTests(html$.Geolocation); -dart.addTypeCaches(html$.Geolocation); -dart.setMethodSignature(html$.Geolocation, () => ({ - __proto__: dart.getMethods(html$.Geolocation.__proto__), - [S$1.$getCurrentPosition]: dart.fnType(async.Future$(html$.Geoposition), [], {enableHighAccuracy: dart.nullable(core.bool), maximumAge: dart.nullable(core.Duration), timeout: dart.nullable(core.Duration)}, {}), - [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, [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, [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.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; - } - get timestamp() { - return this[S$1._ptr].timestamp; - } -}; -(html$._GeopositionWrapper.new = function(_ptr) { - this[S$1._ptr] = _ptr; - ; -}).prototype = html$._GeopositionWrapper.prototype; -dart.addTypeTests(html$._GeopositionWrapper); -dart.addTypeCaches(html$._GeopositionWrapper); -html$._GeopositionWrapper[dart.implements] = () => [html$.Geoposition]; -dart.setGetterSignature(html$._GeopositionWrapper, () => ({ - __proto__: dart.getGetters(html$._GeopositionWrapper.__proto__), - coords: html$.Coordinates, - [S$.$coords]: html$.Coordinates, - timestamp: core.int, - [S$.$timestamp]: core.int -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Geoposition.__(); - } - get [S$.$coords]() { - return this.coords; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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[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); - } - get onBlur() { - return html$.GlobalEventHandlers.blurEvent.forTarget(this); - } - get onCanPlay() { - return html$.GlobalEventHandlers.canPlayEvent.forTarget(this); - } - get onCanPlayThrough() { - return html$.GlobalEventHandlers.canPlayThroughEvent.forTarget(this); - } - get onChange() { - return html$.GlobalEventHandlers.changeEvent.forTarget(this); - } - get onClick() { - return html$.GlobalEventHandlers.clickEvent.forTarget(this); - } - get onContextMenu() { - return html$.GlobalEventHandlers.contextMenuEvent.forTarget(this); - } - get onDoubleClick() { - return html$.GlobalEventHandlers.doubleClickEvent.forTarget(this); - } - get onDrag() { - return html$.GlobalEventHandlers.dragEvent.forTarget(this); - } - get onDragEnd() { - return html$.GlobalEventHandlers.dragEndEvent.forTarget(this); - } - get onDragEnter() { - return html$.GlobalEventHandlers.dragEnterEvent.forTarget(this); - } - get onDragLeave() { - return html$.GlobalEventHandlers.dragLeaveEvent.forTarget(this); - } - get onDragOver() { - return html$.GlobalEventHandlers.dragOverEvent.forTarget(this); - } - get onDragStart() { - return html$.GlobalEventHandlers.dragStartEvent.forTarget(this); - } - get onDrop() { - return html$.GlobalEventHandlers.dropEvent.forTarget(this); - } - get onDurationChange() { - return html$.GlobalEventHandlers.durationChangeEvent.forTarget(this); - } - get onEmptied() { - return html$.GlobalEventHandlers.emptiedEvent.forTarget(this); - } - get onEnded() { - return html$.GlobalEventHandlers.endedEvent.forTarget(this); - } - get onError() { - return html$.GlobalEventHandlers.errorEvent.forTarget(this); - } - get onFocus() { - return html$.GlobalEventHandlers.focusEvent.forTarget(this); - } - get onInput() { - return html$.GlobalEventHandlers.inputEvent.forTarget(this); - } - get onInvalid() { - return html$.GlobalEventHandlers.invalidEvent.forTarget(this); - } - get onKeyDown() { - return html$.GlobalEventHandlers.keyDownEvent.forTarget(this); - } - get onKeyPress() { - return html$.GlobalEventHandlers.keyPressEvent.forTarget(this); - } - get onKeyUp() { - return html$.GlobalEventHandlers.keyUpEvent.forTarget(this); - } - get onLoad() { - return html$.GlobalEventHandlers.loadEvent.forTarget(this); - } - get onLoadedData() { - return html$.GlobalEventHandlers.loadedDataEvent.forTarget(this); - } - get onLoadedMetadata() { - return html$.GlobalEventHandlers.loadedMetadataEvent.forTarget(this); - } - get onMouseDown() { - return html$.GlobalEventHandlers.mouseDownEvent.forTarget(this); - } - get onMouseEnter() { - return html$.GlobalEventHandlers.mouseEnterEvent.forTarget(this); - } - get onMouseLeave() { - return html$.GlobalEventHandlers.mouseLeaveEvent.forTarget(this); - } - get onMouseMove() { - return html$.GlobalEventHandlers.mouseMoveEvent.forTarget(this); - } - get onMouseOut() { - return html$.GlobalEventHandlers.mouseOutEvent.forTarget(this); - } - get onMouseOver() { - return html$.GlobalEventHandlers.mouseOverEvent.forTarget(this); - } - get onMouseUp() { - return html$.GlobalEventHandlers.mouseUpEvent.forTarget(this); - } - get onMouseWheel() { - return html$.GlobalEventHandlers.mouseWheelEvent.forTarget(this); - } - get onPause() { - return html$.GlobalEventHandlers.pauseEvent.forTarget(this); - } - get onPlay() { - return html$.GlobalEventHandlers.playEvent.forTarget(this); - } - get onPlaying() { - return html$.GlobalEventHandlers.playingEvent.forTarget(this); - } - get onRateChange() { - return html$.GlobalEventHandlers.rateChangeEvent.forTarget(this); - } - get onReset() { - return html$.GlobalEventHandlers.resetEvent.forTarget(this); - } - get onResize() { - return html$.GlobalEventHandlers.resizeEvent.forTarget(this); - } - get onScroll() { - return html$.GlobalEventHandlers.scrollEvent.forTarget(this); - } - get onSeeked() { - return html$.GlobalEventHandlers.seekedEvent.forTarget(this); - } - get onSeeking() { - return html$.GlobalEventHandlers.seekingEvent.forTarget(this); - } - get onSelect() { - return html$.GlobalEventHandlers.selectEvent.forTarget(this); - } - get onStalled() { - return html$.GlobalEventHandlers.stalledEvent.forTarget(this); - } - get onSubmit() { - return html$.GlobalEventHandlers.submitEvent.forTarget(this); - } - get onSuspend() { - return html$.GlobalEventHandlers.suspendEvent.forTarget(this); - } - get onTimeUpdate() { - return html$.GlobalEventHandlers.timeUpdateEvent.forTarget(this); - } - get onTouchCancel() { - return html$.GlobalEventHandlers.touchCancelEvent.forTarget(this); - } - get onTouchEnd() { - return html$.GlobalEventHandlers.touchEndEvent.forTarget(this); - } - get onTouchMove() { - return html$.GlobalEventHandlers.touchMoveEvent.forTarget(this); - } - get onTouchStart() { - return html$.GlobalEventHandlers.touchStartEvent.forTarget(this); - } - get onVolumeChange() { - return html$.GlobalEventHandlers.volumeChangeEvent.forTarget(this); - } - get onWaiting() { - return html$.GlobalEventHandlers.waitingEvent.forTarget(this); - } - get onWheel() { - return html$.GlobalEventHandlers.wheelEvent.forTarget(this); - } -}; -(html$.GlobalEventHandlers[dart.mixinNew] = function() { -}).prototype = html$.GlobalEventHandlers.prototype; -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), - [S.$onAbort]: async.Stream$(html$.Event), - onBlur: async.Stream$(html$.Event), - [S.$onBlur]: async.Stream$(html$.Event), - onCanPlay: async.Stream$(html$.Event), - [S.$onCanPlay]: async.Stream$(html$.Event), - onCanPlayThrough: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - onChange: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - onClick: async.Stream$(html$.MouseEvent), - [S.$onClick]: async.Stream$(html$.MouseEvent), - onContextMenu: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - onDoubleClick: async.Stream$(html$.Event), - [S.$onDoubleClick]: async.Stream$(html$.Event), - onDrag: async.Stream$(html$.MouseEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - onDragEnd: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - onDragEnter: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - onDragLeave: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - onDragOver: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - onDragStart: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - onDrop: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - onDurationChange: async.Stream$(html$.Event), - [S.$onDurationChange]: async.Stream$(html$.Event), - onEmptied: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - onEnded: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - onError: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - onFocus: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - onInput: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - onInvalid: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - onKeyDown: async.Stream$(html$.KeyboardEvent), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - onKeyPress: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - onKeyUp: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - onLoad: async.Stream$(html$.Event), - [S.$onLoad]: async.Stream$(html$.Event), - onLoadedData: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - onLoadedMetadata: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - onMouseDown: async.Stream$(html$.MouseEvent), - [S.$onMouseDown]: async.Stream$(html$.MouseEvent), - onMouseEnter: async.Stream$(html$.MouseEvent), - [S$.$onMouseEnter]: async.Stream$(html$.MouseEvent), - onMouseLeave: async.Stream$(html$.MouseEvent), - [S$.$onMouseLeave]: async.Stream$(html$.MouseEvent), - onMouseMove: async.Stream$(html$.MouseEvent), - [S$.$onMouseMove]: async.Stream$(html$.MouseEvent), - onMouseOut: async.Stream$(html$.MouseEvent), - [S$.$onMouseOut]: async.Stream$(html$.MouseEvent), - onMouseOver: async.Stream$(html$.MouseEvent), - [S$.$onMouseOver]: async.Stream$(html$.MouseEvent), - onMouseUp: async.Stream$(html$.MouseEvent), - [S$.$onMouseUp]: async.Stream$(html$.MouseEvent), - onMouseWheel: async.Stream$(html$.WheelEvent), - [S$.$onMouseWheel]: async.Stream$(html$.WheelEvent), - onPause: async.Stream$(html$.Event), - [S$.$onPause]: async.Stream$(html$.Event), - onPlay: async.Stream$(html$.Event), - [S$.$onPlay]: async.Stream$(html$.Event), - onPlaying: async.Stream$(html$.Event), - [S$.$onPlaying]: async.Stream$(html$.Event), - onRateChange: async.Stream$(html$.Event), - [S$.$onRateChange]: async.Stream$(html$.Event), - onReset: async.Stream$(html$.Event), - [S$.$onReset]: async.Stream$(html$.Event), - onResize: async.Stream$(html$.Event), - [S$.$onResize]: async.Stream$(html$.Event), - onScroll: async.Stream$(html$.Event), - [S$.$onScroll]: async.Stream$(html$.Event), - onSeeked: async.Stream$(html$.Event), - [S$.$onSeeked]: async.Stream$(html$.Event), - onSeeking: async.Stream$(html$.Event), - [S$.$onSeeking]: async.Stream$(html$.Event), - onSelect: async.Stream$(html$.Event), - [S$.$onSelect]: async.Stream$(html$.Event), - onStalled: async.Stream$(html$.Event), - [S$.$onStalled]: async.Stream$(html$.Event), - 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), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - onTouchCancel: async.Stream$(html$.TouchEvent), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - onTouchEnd: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - onTouchMove: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - onTouchStart: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - onVolumeChange: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - onWaiting: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - onWheel: async.Stream$(html$.WheelEvent), - [S$.$onWheel]: async.Stream$(html$.WheelEvent) -})); -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', - 'onCanPlay', - 'onCanPlayThrough', - 'onChange', - 'onClick', - 'onContextMenu', - 'onDoubleClick', - 'onDrag', - 'onDragEnd', - 'onDragEnter', - 'onDragLeave', - 'onDragOver', - 'onDragStart', - 'onDrop', - 'onDurationChange', - 'onEmptied', - 'onEnded', - 'onError', - 'onFocus', - 'onInput', - 'onInvalid', - 'onKeyDown', - 'onKeyPress', - 'onKeyUp', - 'onLoad', - 'onLoadedData', - 'onLoadedMetadata', - 'onMouseDown', - 'onMouseEnter', - 'onMouseLeave', - 'onMouseMove', - 'onMouseOut', - 'onMouseOver', - 'onMouseUp', - 'onMouseWheel', - 'onPause', - 'onPlay', - 'onPlaying', - 'onRateChange', - 'onReset', - 'onResize', - 'onScroll', - 'onSeeked', - 'onSeeking', - 'onSelect', - 'onStalled', - 'onSubmit', - 'onSuspend', - 'onTimeUpdate', - 'onTouchCancel', - 'onTouchEnd', - 'onTouchMove', - 'onTouchStart', - 'onVolumeChange', - 'onWaiting', - 'onWheel' -]); -dart.defineLazy(html$.GlobalEventHandlers, { - /*html$.GlobalEventHandlers.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.GlobalEventHandlers.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.GlobalEventHandlers.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*html$.GlobalEventHandlers.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*html$.GlobalEventHandlers.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*html$.GlobalEventHandlers.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*html$.GlobalEventHandlers.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*html$.GlobalEventHandlers.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*html$.GlobalEventHandlers.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*html$.GlobalEventHandlers.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*html$.GlobalEventHandlers.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*html$.GlobalEventHandlers.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*html$.GlobalEventHandlers.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*html$.GlobalEventHandlers.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*html$.GlobalEventHandlers.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*html$.GlobalEventHandlers.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*html$.GlobalEventHandlers.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*html$.GlobalEventHandlers.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*html$.GlobalEventHandlers.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.GlobalEventHandlers.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*html$.GlobalEventHandlers.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*html$.GlobalEventHandlers.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*html$.GlobalEventHandlers.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*html$.GlobalEventHandlers.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*html$.GlobalEventHandlers.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*html$.GlobalEventHandlers.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*html$.GlobalEventHandlers.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*html$.GlobalEventHandlers.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*html$.GlobalEventHandlers.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*html$.GlobalEventHandlers.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*html$.GlobalEventHandlers.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*html$.GlobalEventHandlers.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*html$.GlobalEventHandlers.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*html$.GlobalEventHandlers.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*html$.GlobalEventHandlers.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*html$.GlobalEventHandlers.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*html$.GlobalEventHandlers.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.GlobalEventHandlers.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*html$.GlobalEventHandlers.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*html$.GlobalEventHandlers.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*html$.GlobalEventHandlers.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*html$.GlobalEventHandlers.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.GlobalEventHandlers.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*html$.GlobalEventHandlers.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*html$.GlobalEventHandlers.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*html$.GlobalEventHandlers.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*html$.GlobalEventHandlers.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*html$.GlobalEventHandlers.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*html$.GlobalEventHandlers.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*html$.GlobalEventHandlers.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*html$.GlobalEventHandlers.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*html$.GlobalEventHandlers.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*html$.GlobalEventHandlers.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*html$.GlobalEventHandlers.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*html$.GlobalEventHandlers.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*html$.GlobalEventHandlers.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*html$.GlobalEventHandlers.wheelEvent*/get wheelEvent() { - 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); - return html$.Gyroscope._create_1(sensorOptions_1); - } - return html$.Gyroscope._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Gyroscope.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Gyroscope(sensorOptions); - } - static _create_2() { - return new Gyroscope(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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; - } - set [S$0.$color](value) { - this.color = value; - } -}; -(html$.HRElement.created = function() { - html$.HRElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.HRElement, () => ({ - __proto__: dart.getSetters(html$.HRElement.__proto__), - [S$0.$color]: core.String -})); -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[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; - 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[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); - } - static _create_2(type) { - return new HashChangeEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("HashChangeEvent"); - } - get [S$1.$newUrl]() { - return this.newURL; - } - get [S$1.$oldUrl]() { - return this.oldURL; - } -}; -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.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); - ; -}).prototype = html$.HeadElement.prototype; -dart.addTypeTests(html$.HeadElement); -dart.addTypeCaches(html$.HeadElement); -dart.setStaticMethodSignature(html$.HeadElement, () => ['__', 'new']); -dart.setLibraryUri(html$.HeadElement, I[150]); -dart.registerExtension("HTMLHeadElement", html$.HeadElement); -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); - } - static _create_2() { - return new Headers(); - } -}; -dart.addTypeTests(html$.Headers); -dart.addTypeCaches(html$.Headers); -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); - ; -}).prototype = html$.HeadingElement.prototype; -dart.addTypeTests(html$.HeadingElement); -dart.addTypeCaches(html$.HeadingElement); -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.JavaScriptObject { - static get supportsState() { - return !!window.history.pushState; - } - static ['_#_#tearOff']() { - return html$.History.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$scrollRestoration]() { - return this.scrollRestoration; - } - set [S$1.$scrollRestoration](value) { - this.scrollRestoration = value; - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } - [S$1.$back](...args) { - return this.back.apply(this, args); - } - [S$1.$forward](...args) { - return this.forward.apply(this, args); - } - [S$1.$go](...args) { - return this.go.apply(this, args); - } - [S$1.$pushState](data, title, url) { - 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; - } - [S$1._pushState_1](...args) { - return this.pushState.apply(this, args); - } - [S$1.$replaceState](data, title, url) { - 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; - } - [S$1._replaceState_1](...args) { - return this.replaceState.apply(this, args); - } -}; -dart.addTypeTests(html$.History); -dart.addTypeCaches(html$.History); -html$.History[dart.implements] = () => [html$.HistoryBase]; -dart.setMethodSignature(html$.History, () => ({ - __proto__: dart.getMethods(html$.History.__proto__), - [S$1.$back]: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - [S$1.$go]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [S$1.$pushState]: dart.fnType(dart.void, [dart.dynamic, core.String, dart.nullable(core.String)]), - [S$1._pushState_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [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, - [S$1.$scrollRestoration]: dart.nullable(core.String), - [S$.$state]: dart.dynamic, - [S$1._get_state]: dart.dynamic -})); -dart.setSetterSignature(html$.History, () => ({ - __proto__: dart.getSetters(html$.History.__proto__), - [S$1.$scrollRestoration]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.History, () => ['supportsState']); -dart.setLibraryUri(html$.History, I[150]); -dart.registerExtension("History", html$.History); -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[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[149], 17737, 25, "index"); - html$.Node.as(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[149], 17743, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 17771, 22, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -html$.HtmlCollection.prototype[dart.isList] = true; -dart.addTypeTests(html$.HtmlCollection); -dart.addTypeCaches(html$.HtmlCollection); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$.HtmlCollection, () => ({ - __proto__: dart.getSetters(html$.HtmlCollection.__proto__), - [$length]: core.int -})); -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; - } - set [S$1.$body](value) { - this.body = value; - } - [S$1.$caretRangeFromPoint](x, y) { - return this[S$1._caretRangeFromPoint](x, y); - } - [S$1.$elementFromPoint](x, 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$1._head$1]; - } - get [S$1.$lastModified]() { - return this[S$1._lastModified]; - } - get [S$1.$preferredStylesheetSet]() { - return this[S$1._preferredStylesheetSet]; - } - get [S$1.$referrer]() { - return this[S$1._referrer]; - } - get [S$1.$selectedStylesheetSet]() { - return this[S$1._selectedStylesheetSet]; - } - set [S$1.$selectedStylesheetSet](value) { - this[S$1._selectedStylesheetSet] = value; - } - get [S$1.$styleSheets]() { - return this[S$1._styleSheets]; - } - get [S.$title]() { - return this[S$1._title]; - } - set [S.$title](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[149], 17894, 36, "tag"); - return html$._registerCustomElement(window, this, tag, options); - } - [S$1.$register](tag, customElementClass, opts) { - 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[149], 17917, 65, "e"); - if (typeof e.hidden !== "undefined") { - return "visibilitychange"; - } else if (typeof e.mozHidden !== "undefined") { - return "mozvisibilitychange"; - } else if (typeof e.msHidden !== "undefined") { - return "msvisibilitychange"; - } else if (typeof e.webkitHidden !== "undefined") { - return "webkitvisibilitychange"; - } - return "visibilitychange"; - } - get [S$1.$onVisibilityChange]() { - return html$.HtmlDocument.visibilityChangeEvent.forTarget(this); - } - [S$1.$createElementUpgrader](type, opts) { - 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); - } -}; -dart.addTypeTests(html$.HtmlDocument); -dart.addTypeCaches(html$.HtmlDocument); -dart.setMethodSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getMethods(html$.HtmlDocument.__proto__), - [S$1.$caretRangeFromPoint]: dart.fnType(html$.Range, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$1.$elementFromPoint]: dart.fnType(dart.nullable(html$.Element), [core.int, core.int]), - [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), - [S.$head]: dart.nullable(html$.HeadElement), - [S$1.$lastModified]: dart.nullable(core.String), - [S$1.$preferredStylesheetSet]: dart.nullable(core.String), - [S$1.$referrer]: core.String, - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S.$title]: core.String, - [S$1.$onVisibilityChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.HtmlDocument, () => ({ - __proto__: dart.getSetters(html$.HtmlDocument.__proto__), - [S$1.$body]: dart.nullable(html$.BodyElement), - [S$1.$selectedStylesheetSet]: dart.nullable(core.String), - [S.$title]: core.String -})); -dart.setLibraryUri(html$.HtmlDocument, I[150]); -dart.setStaticFieldSignature(html$.HtmlDocument, () => ['visibilityChangeEvent']); -dart.defineLazy(html$.HtmlDocument, { - /*html$.HtmlDocument.visibilityChangeEvent*/get visibilityChangeEvent() { - 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.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); - ; -}).prototype = html$.HtmlHtmlElement.prototype; -dart.addTypeTests(html$.HtmlHtmlElement); -dart.addTypeCaches(html$.HtmlHtmlElement); -dart.setStaticMethodSignature(html$.HtmlHtmlElement, () => ['__', 'new']); -dart.setLibraryUri(html$.HtmlHtmlElement, I[150]); -dart.registerExtension("HTMLHtmlElement", html$.HtmlHtmlElement); -html$.HtmlHyperlinkElementUtils = class HtmlHyperlinkElementUtils extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.HtmlHyperlinkElementUtils.__(); - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } -}; -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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.HtmlHyperlinkElementUtils, () => ({ - __proto__: dart.getSetters(html$.HtmlHyperlinkElementUtils.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -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); - } -}; -dart.addTypeTests(html$.HtmlOptionsCollection); -dart.addTypeCaches(html$.HtmlOptionsCollection); -dart.setMethodSignature(html$.HtmlOptionsCollection, () => ({ - __proto__: dart.getMethods(html$.HtmlOptionsCollection.__proto__), - [S$1._item]: dart.fnType(dart.nullable(html$.Element), [core.int]) -})); -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); - } - get [S.$onError]() { - return html$.HttpRequestEventTarget.errorEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.HttpRequestEventTarget.loadEvent.forTarget(this); - } - get [S$1.$onLoadEnd]() { - return html$.HttpRequestEventTarget.loadEndEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.HttpRequestEventTarget.loadStartEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.HttpRequestEventTarget.progressEvent.forTarget(this); - } - get [S$1.$onTimeout]() { - return html$.HttpRequestEventTarget.timeoutEvent.forTarget(this); - } -}; -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), - [S.$onError]: async.Stream$(html$.ProgressEvent), - [S.$onLoad]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadEnd]: async.Stream$(html$.ProgressEvent), - [S$1.$onLoadStart]: async.Stream$(html$.ProgressEvent), - [S$.$onProgress]: async.Stream$(html$.ProgressEvent), - [S$1.$onTimeout]: async.Stream$(html$.ProgressEvent) -})); -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[341] || CT.C341; - }, - /*html$.HttpRequestEventTarget.errorEvent*/get errorEvent() { - return C[342] || CT.C342; - }, - /*html$.HttpRequestEventTarget.loadEvent*/get loadEvent() { - return C[343] || CT.C343; - }, - /*html$.HttpRequestEventTarget.loadEndEvent*/get loadEndEvent() { - return C[344] || CT.C344; - }, - /*html$.HttpRequestEventTarget.loadStartEvent*/get loadStartEvent() { - return C[345] || CT.C345; - }, - /*html$.HttpRequestEventTarget.progressEvent*/get progressEvent() { - return C[319] || CT.C319; - }, - /*html$.HttpRequestEventTarget.timeoutEvent*/get timeoutEvent() { - 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[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[149], 18120, 28, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - static postFormData(url, data, opts) { - 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[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]("&"); - if (requestHeaders == null) { - requestHeaders = new (T$.IdentityMapOfString$String()).new(); - } - requestHeaders[$putIfAbsent]("Content-Type", dart.fn(() => "application/x-www-form-urlencoded; charset=UTF-8", T$.VoidToString())); - 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[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; - let mimeType = opts && 'mimeType' in opts ? opts.mimeType : null; - let requestHeaders = opts && 'requestHeaders' in opts ? opts.requestHeaders : null; - let sendData = opts && 'sendData' in opts ? opts.sendData : null; - let onProgress = opts && 'onProgress' in opts ? opts.onProgress : null; - let completer = T$0.CompleterOfHttpRequest().new(); - let xhr = html$.HttpRequest.new(); - if (method == null) { - method = "GET"; - } - xhr.open(method, url, {async: true}); - if (withCredentials != null) { - xhr.withCredentials = withCredentials; - } - if (responseType != null) { - xhr.responseType = responseType; - } - if (mimeType != null) { - xhr.overrideMimeType(mimeType); - } - if (requestHeaders != null) { - requestHeaders[$forEach](dart.fn((header, 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())); - } - if (onProgress != null) { - xhr[S$.$onProgress].listen(onProgress); - } - xhr[S.$onLoad].listen(dart.fn(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; - let notModified = status === 304; - let unknownRedirect = status > 307 && status < 400; - if (accepted || fileUri || notModified || unknownRedirect) { - completer.complete(xhr); - } else { - completer.completeError(e); - } - }, T$0.ProgressEventTovoid())); - xhr[S.$onError].listen(dart.bind(completer, 'completeError')); - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - static get supportsProgressEvent() { - let xhr = html$.HttpRequest.new(); - return "onprogress" in xhr; - } - static get supportsCrossOrigin() { - let xhr = html$.HttpRequest.new(); - return "withCredentials" in xhr; - } - static get supportsLoadEndEvent() { - let xhr = html$.HttpRequest.new(); - return "onloadend" in xhr; - } - static get supportsOverrideMimeType() { - let xhr = html$.HttpRequest.new(); - return "overrideMimeType" in xhr; - } - static requestCrossOrigin(url, opts) { - 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[149], 18343, 69, "xhr"); - return dart.nullCheck(xhr.responseText); - }, T$0.HttpRequestToString())); - } - let completer = T$0.CompleterOfString().new(); - if (method == null) { - method = "GET"; - } - let xhr = new XDomainRequest(); - xhr.open(method, url); - xhr.onload = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - let response = xhr.responseText; - completer.complete(T$0.FutureOrNOfString().as(response)); - }, T$.dynamicToNull()), 1); - xhr.onerror = _js_helper.convertDartClosureToJS(T$.dynamicToNull(), dart.fn(e => { - completer.completeError(core.Object.as(e)); - }, T$.dynamicToNull()), 1); - xhr.onprogress = {}; - xhr.ontimeout = {}; - xhr.timeout = Number.MAX_VALUE; - if (sendData != null) { - xhr.send(sendData); - } else { - xhr.send(); - } - return completer.future; - } - get [S$1.$responseHeaders]() { - let headers = new (T$.IdentityMapOfString$String()).new(); - let headersString = this.getAllResponseHeaders(); - if (headersString == null) { - return headers; - } - let headersList = headersString[$split]("\r\n"); - for (let header of headersList) { - if (header[$isEmpty]) { - continue; - } - let splitIdx = header[$indexOf](": "); - if (splitIdx === -1) { - continue; - } - let key = header[$substring](0, splitIdx)[$toLowerCase](); - let value = header[$substring](splitIdx + 2); - if (dart.test(headers[$containsKey](key))) { - headers[$_set](key, dart.str(headers[$_get](key)) + ", " + value); - } else { - headers[$_set](key, value); - } - } - return headers; - } - [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(); - } - static _create_1() { - return new XMLHttpRequest(); - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$response]() { - return html$._convertNativeToDart_XHR_Response(this[S$1._get_response]); - } - get [S$1._get_response]() { - return this.response; - } - get [S$1.$responseText]() { - return this.responseText; - } - get [S$1.$responseType]() { - return this.responseType; - } - set [S$1.$responseType](value) { - this.responseType = value; - } - get [S$1.$responseUrl]() { - return this.responseURL; - } - get [S$1.$responseXml]() { - return this.responseXML; - } - get [S$.$status]() { - return this.status; - } - get [S$1.$statusText]() { - return this.statusText; - } - get [S$1.$timeout]() { - return this.timeout; - } - set [S$1.$timeout](value) { - this.timeout = value; - } - get [S$1.$upload]() { - return this.upload; - } - get [S$1.$withCredentials]() { - return this.withCredentials; - } - set [S$1.$withCredentials](value) { - this.withCredentials = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$1.$getAllResponseHeaders](...args) { - return this.getAllResponseHeaders.apply(this, args); - } - [S$1.$getResponseHeader](...args) { - return this.getResponseHeader.apply(this, args); - } - [S$1.$overrideMimeType](...args) { - return this.overrideMimeType.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$1.$setRequestHeader](...args) { - return this.setRequestHeader.apply(this, args); - } - get [S$1.$onReadyStateChange]() { - return html$.HttpRequest.readyStateChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.HttpRequest); -dart.addTypeCaches(html$.HttpRequest); -dart.setMethodSignature(html$.HttpRequest, () => ({ - __proto__: dart.getMethods(html$.HttpRequest.__proto__), - [S.$open]: dart.fnType(dart.void, [core.String, core.String], {async: dart.nullable(core.bool), password: dart.nullable(core.String), user: dart.nullable(core.String)}, {}), - [S.$abort]: dart.fnType(dart.void, []), - [S$1.$getAllResponseHeaders]: dart.fnType(core.String, []), - [S$1.$getResponseHeader]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$1.$overrideMimeType]: dart.fnType(dart.void, [core.String]), - [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), - [S.$readyState]: core.int, - [S$.$response]: dart.dynamic, - [S$1._get_response]: dart.dynamic, - [S$1.$responseText]: dart.nullable(core.String), - [S$1.$responseType]: core.String, - [S$1.$responseUrl]: dart.nullable(core.String), - [S$1.$responseXml]: dart.nullable(html$.Document), - [S$.$status]: dart.nullable(core.int), - [S$1.$statusText]: dart.nullable(core.String), - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$upload]: html$.HttpRequestUpload, - [S$1.$withCredentials]: dart.nullable(core.bool), - [S$1.$onReadyStateChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.HttpRequest, () => ({ - __proto__: dart.getSetters(html$.HttpRequest.__proto__), - [S$1.$responseType]: core.String, - [S$1.$timeout]: dart.nullable(core.int), - [S$1.$withCredentials]: dart.nullable(core.bool) -})); -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[334] || CT.C334; - }, - /*html$.HttpRequest.DONE*/get DONE() { - return 4; - }, - /*html$.HttpRequest.HEADERS_RECEIVED*/get HEADERS_RECEIVED() { - return 2; - }, - /*html$.HttpRequest.LOADING*/get LOADING() { - return 3; - }, - /*html$.HttpRequest.OPENED*/get OPENED() { - return 1; - }, - /*html$.HttpRequest.UNSENT*/get UNSENT() { - return 0; - } -}, false); -dart.registerExtension("XMLHttpRequest", html$.HttpRequest); -html$.HttpRequestUpload = class HttpRequestUpload extends html$.HttpRequestEventTarget { - static ['_#_#tearOff']() { - return html$.HttpRequestUpload.__(); - } -}; -dart.addTypeTests(html$.HttpRequestUpload); -dart.addTypeCaches(html$.HttpRequestUpload); -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; - } - set [S$1.$allow](value) { - this.allow = value; - } - get [S$1.$allowFullscreen]() { - return this.allowFullscreen; - } - set [S$1.$allowFullscreen](value) { - this.allowFullscreen = value; - } - get [S$1.$allowPaymentRequest]() { - return this.allowPaymentRequest; - } - set [S$1.$allowPaymentRequest](value) { - this.allowPaymentRequest = value; - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$1.$csp]() { - return this.csp; - } - set [S$1.$csp](value) { - this.csp = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sandbox]() { - return this.sandbox; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcdoc]() { - return this.srcdoc; - } - set [S$1.$srcdoc](value) { - this.srcdoc = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } -}; -(html$.IFrameElement.created = function() { - html$.IFrameElement.__proto__.created.call(this); - ; -}).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), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$contentWindow]: dart.nullable(html$.WindowBase), - [S$1._get_contentWindow]: dart.dynamic, - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sandbox]: dart.nullable(html$.DomTokenList), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.IFrameElement, () => ({ - __proto__: dart.getSetters(html$.IFrameElement.__proto__), - [S$1.$allow]: dart.nullable(core.String), - [S$1.$allowFullscreen]: dart.nullable(core.bool), - [S$1.$allowPaymentRequest]: dart.nullable(core.bool), - [S$1.$csp]: dart.nullable(core.String), - [$height]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcdoc]: dart.nullable(core.String), - [$width]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.IFrameElement, I[150]); -dart.registerExtension("HTMLIFrameElement", html$.IFrameElement); -html$.IdleDeadline = class IdleDeadline extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IdleDeadline.__(); - } - get [S$1.$didTimeout]() { - return this.didTimeout; - } - [S$1.$timeRemaining](...args) { - return this.timeRemaining.apply(this, args); - } -}; -dart.addTypeTests(html$.IdleDeadline); -dart.addTypeCaches(html$.IdleDeadline); -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[150]); -dart.registerExtension("IdleDeadline", html$.IdleDeadline); -html$.ImageBitmap = class ImageBitmap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmap.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - [S.$close](...args) { - return this.close.apply(this, args); - } -}; -dart.addTypeTests(html$.ImageBitmap); -dart.addTypeCaches(html$.ImageBitmap); -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[150]); -dart.registerExtension("ImageBitmap", html$.ImageBitmap); -html$.ImageBitmapRenderingContext = class ImageBitmapRenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageBitmapRenderingContext.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$1.$transferFromImageBitmap](...args) { - return this.transferFromImageBitmap.apply(this, args); - } -}; -dart.addTypeTests(html$.ImageBitmapRenderingContext); -dart.addTypeCaches(html$.ImageBitmapRenderingContext); -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[150]); -dart.registerExtension("ImageBitmapRenderingContext", html$.ImageBitmapRenderingContext); -html$.ImageCapture = class ImageCapture$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ImageCapture.__(); - } - static new(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); - } - get [S$1.$track]() { - return this.track; - } - [S$1.$getPhotoCapabilities]() { - return js_util.promiseToFuture(html$.PhotoCapabilities, this.getPhotoCapabilities()); - } - [S$1.$getPhotoSettings]() { - return html$.promiseToFutureAsMap(this.getPhotoSettings()); - } - [S$1.$grabFrame]() { - return js_util.promiseToFuture(html$.ImageBitmap, this.grabFrame()); - } - [S$1.$setOptions](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)); - } - [S$1.$takePhoto](photoSettings = null) { - let photoSettings_dict = null; - if (photoSettings != null) { - photoSettings_dict = html_common.convertDartToNative_Dictionary(photoSettings); - } - return js_util.promiseToFuture(html$.Blob, this.takePhoto(photoSettings_dict)); - } -}; -dart.addTypeTests(html$.ImageCapture); -dart.addTypeCaches(html$.ImageCapture); -dart.setMethodSignature(html$.ImageCapture, () => ({ - __proto__: dart.getMethods(html$.ImageCapture.__proto__), - [S$1.$getPhotoCapabilities]: dart.fnType(async.Future$(html$.PhotoCapabilities), []), - [S$1.$getPhotoSettings]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$1.$grabFrame]: dart.fnType(async.Future$(html$.ImageBitmap), []), - [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[150]); -dart.registerExtension("ImageCapture", html$.ImageCapture); -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[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); - } - if (core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw) && sh == null) { - return html$.ImageData._create_2(data_OR_sw, sh_OR_sw); - } - if (core.int.is(sh) && core.int.is(sh_OR_sw) && typed_data.Uint8ClampedList.is(data_OR_sw)) { - return html$.ImageData._create_3(data_OR_sw, sh_OR_sw, sh); - } - 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); - } - static _create_2(data_OR_sw, sh_OR_sw) { - return new ImageData(data_OR_sw, sh_OR_sw); - } - static _create_3(data_OR_sw, sh_OR_sw, sh) { - return new ImageData(data_OR_sw, sh_OR_sw, sh); - } - get [S$.$data]() { - return this.data; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } -}; -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[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; - let height = opts && 'height' in opts ? opts.height : null; - let e = html$.document.createElement("img"); - if (src != null) e.src = src; - if (width != null) e.width = width; - 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; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$async]() { - return this.async; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$1.$complete]() { - return this.complete; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$currentSrc]() { - return this.currentSrc; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$isMap]() { - return this.isMap; - } - set [S$1.$isMap](value) { - this.isMap = value; - } - get [S$1.$naturalHeight]() { - return this.naturalHeight; - } - get [S$1.$naturalWidth]() { - return this.naturalWidth; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } -}; -(html$.ImageElement.created = function() { - html$.ImageElement.__proto__.created.call(this); - ; -}).prototype = html$.ImageElement.prototype; -dart.addTypeTests(html$.ImageElement); -dart.addTypeCaches(html$.ImageElement); -html$.ImageElement[dart.implements] = () => [html$.CanvasImageSource]; -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), - [S$1.$async]: dart.nullable(core.String), - [S$1.$complete]: dart.nullable(core.bool), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$currentSrc]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$1.$naturalHeight]: core.int, - [S$1.$naturalWidth]: core.int, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.ImageElement, () => ({ - __proto__: dart.getSetters(html$.ImageElement.__proto__), - [S$.$alt]: dart.nullable(core.String), - [S$1.$async]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [$height]: dart.nullable(core.int), - [S$1.$isMap]: dart.nullable(core.bool), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$1.$srcset]: dart.nullable(core.String), - [S$1.$useMap]: dart.nullable(core.String), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.ImageElement, I[150]); -dart.registerExtension("HTMLImageElement", html$.ImageElement); -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); - return html$.InputDeviceCapabilities._create_1(deviceInitDict_1); - } - return html$.InputDeviceCapabilities._create_2(); - } - static ['_#new#tearOff'](deviceInitDict = null) { - return html$.InputDeviceCapabilities.new(deviceInitDict); - } - static _create_1(deviceInitDict) { - return new InputDeviceCapabilities(deviceInitDict); - } - static _create_2() { - return new InputDeviceCapabilities(); - } - get [S$1.$firesTouchEvents]() { - return this.firesTouchEvents; - } -}; -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[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")); - if (type != null) { - try { - e.type = type; - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - } - return e; - } - static ['_#_#tearOff']() { - return html$.InputElement.__(); - } - static ['_#created#tearOff']() { - return new html$.InputElement.created(); - } - get [S$1.$accept]() { - return this.accept; - } - set [S$1.$accept](value) { - this.accept = value; - } - get [S$.$alt]() { - return this.alt; - } - set [S$.$alt](value) { - this.alt = value; - } - get [S$1.$autocapitalize]() { - return this.autocapitalize; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autocomplete]() { - return this.autocomplete; - } - set [S$.$autocomplete](value) { - this.autocomplete = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$1.$capture]() { - return this.capture; - } - set [S$1.$capture](value) { - this.capture = value; - } - get [S$.$checked]() { - return this.checked; - } - set [S$.$checked](value) { - this.checked = value; - } - get [S$1.$defaultChecked]() { - return this.defaultChecked; - } - set [S$1.$defaultChecked](value) { - this.defaultChecked = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$0.$files]() { - return this.files; - } - set [S$0.$files](value) { - this.files = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$formAction]() { - return this.formAction; - } - set [S$.$formAction](value) { - this.formAction = value; - } - get [S$.$formEnctype]() { - return this.formEnctype; - } - set [S$.$formEnctype](value) { - this.formEnctype = value; - } - get [S$.$formMethod]() { - return this.formMethod; - } - set [S$.$formMethod](value) { - this.formMethod = value; - } - get [S$.$formNoValidate]() { - return this.formNoValidate; - } - set [S$.$formNoValidate](value) { - this.formNoValidate = value; - } - get [S$.$formTarget]() { - return this.formTarget; - } - set [S$.$formTarget](value) { - this.formTarget = value; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [S$1.$incremental]() { - return this.incremental; - } - set [S$1.$incremental](value) { - this.incremental = value; - } - get [S$1.$indeterminate]() { - return this.indeterminate; - } - set [S$1.$indeterminate](value) { - this.indeterminate = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$list]() { - return this.list; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$1.$pattern]() { - return this.pattern; - } - set [S$1.$pattern](value) { - this.pattern = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$step]() { - return this.step; - } - set [S$1.$step](value) { - this.step = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$1.$valueAsDate]() { - return html_common.convertNativeToDart_DateTime(this[S$1._get_valueAsDate]); - } - get [S$1._get_valueAsDate]() { - return this.valueAsDate; - } - set [S$1.$valueAsDate](value) { - this[S$1._set_valueAsDate] = html_common.convertDartToNative_DateTime(dart.nullCheck(value)); - } - set [S$1._set_valueAsDate](value) { - this.valueAsDate = value; - } - get [S$1.$valueAsNumber]() { - return this.valueAsNumber; - } - set [S$1.$valueAsNumber](value) { - this.valueAsNumber = value; - } - get [$entries]() { - return this.webkitEntries; - } - get [S$1.$directory]() { - return this.webkitdirectory; - } - set [S$1.$directory](value) { - this.webkitdirectory = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } - [S$1.$stepDown](...args) { - return this.stepDown.apply(this, args); - } - [S$1.$stepUp](...args) { - return this.stepUp.apply(this, args); - } -}; -(html$.InputElement.created = function() { - html$.InputElement.__proto__.created.call(this); - ; -}).prototype = html$.InputElement.prototype; -dart.addTypeTests(html$.InputElement); -dart.addTypeCaches(html$.InputElement); -html$.InputElement[dart.implements] = () => [html$.HiddenInputElement, html$.SearchInputElement, html$.TextInputElement, html$.UrlInputElement, html$.TelephoneInputElement, html$.EmailInputElement, html$.PasswordInputElement, html$.DateInputElement, html$.MonthInputElement, html$.WeekInputElement, html$.TimeInputElement, html$.LocalDateTimeInputElement, html$.NumberInputElement, html$.RangeInputElement, html$.CheckboxInputElement, html$.RadioButtonInputElement, html$.FileUploadInputElement, html$.SubmitButtonInputElement, html$.ImageButtonInputElement, html$.ResetButtonInputElement, html$.ButtonInputElement]; -dart.setMethodSignature(html$.InputElement, () => ({ - __proto__: dart.getMethods(html$.InputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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)]), - [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), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$list]: dart.nullable(html$.HtmlElement), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: core.DateTime, - [S$1._get_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [$entries]: dart.nullable(core.List$(html$.Entry)), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int), - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.InputElement, () => ({ - __proto__: dart.getSetters(html$.InputElement.__proto__), - [S$1.$accept]: dart.nullable(core.String), - [S$.$alt]: dart.nullable(core.String), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autocomplete]: core.String, - [S$.$autofocus]: core.bool, - [S$1.$capture]: dart.nullable(core.String), - [S$.$checked]: dart.nullable(core.bool), - [S$1.$defaultChecked]: dart.nullable(core.bool), - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$0.$files]: dart.nullable(core.List$(html$.File)), - [S$.$formAction]: core.String, - [S$.$formEnctype]: core.String, - [S$.$formMethod]: core.String, - [S$.$formNoValidate]: core.bool, - [S$.$formTarget]: core.String, - [$height]: dart.nullable(core.int), - [S$1.$incremental]: dart.nullable(core.bool), - [S$1.$indeterminate]: dart.nullable(core.bool), - [S$1.$max]: dart.nullable(core.String), - [S$1.$maxLength]: dart.nullable(core.int), - [S$1.$min]: dart.nullable(core.String), - [S$1.$minLength]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$1.$pattern]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: dart.nullable(core.bool), - [S$.$required]: core.bool, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$1.$step]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String), - [S$1.$valueAsDate]: dart.nullable(core.DateTime), - [S$1._set_valueAsDate]: dart.dynamic, - [S$1.$valueAsNumber]: dart.nullable(core.num), - [S$1.$directory]: dart.nullable(core.bool), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.InputElement, I[150]); -dart.registerExtension("HTMLInputElement", html$.InputElement); -html$.InputElementBase = class InputElementBase extends core.Object {}; -(html$.InputElementBase.new = function() { - ; -}).prototype = html$.InputElementBase.prototype; -dart.addTypeTests(html$.InputElementBase); -dart.addTypeCaches(html$.InputElementBase); -html$.InputElementBase[dart.implements] = () => [html$.Element]; -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.setStaticMethodSignature(html$.HiddenInputElement, () => ['new']); -dart.setLibraryUri(html$.HiddenInputElement, I[150]); -html$.TextInputElementBase = class TextInputElementBase extends core.Object {}; -(html$.TextInputElementBase.new = function() { - ; -}).prototype = html$.TextInputElementBase.prototype; -dart.addTypeTests(html$.TextInputElementBase); -dart.addTypeCaches(html$.TextInputElementBase); -html$.TextInputElementBase[dart.implements] = () => [html$.InputElementBase]; -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"; - } -}; -(html$.SearchInputElement[dart.mixinNew] = function() { -}).prototype = html$.SearchInputElement.prototype; -dart.addTypeTests(html$.SearchInputElement); -dart.addTypeCaches(html$.SearchInputElement); -html$.SearchInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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.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"; - } -}; -(html$.UrlInputElement[dart.mixinNew] = function() { -}).prototype = html$.UrlInputElement.prototype; -dart.addTypeTests(html$.UrlInputElement); -dart.addTypeCaches(html$.UrlInputElement); -html$.UrlInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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"; - } -}; -(html$.TelephoneInputElement[dart.mixinNew] = function() { -}).prototype = html$.TelephoneInputElement.prototype; -dart.addTypeTests(html$.TelephoneInputElement); -dart.addTypeCaches(html$.TelephoneInputElement); -html$.TelephoneInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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"; - } -}; -(html$.EmailInputElement[dart.mixinNew] = function() { -}).prototype = html$.EmailInputElement.prototype; -dart.addTypeTests(html$.EmailInputElement); -dart.addTypeCaches(html$.EmailInputElement); -html$.EmailInputElement[dart.implements] = () => [html$.TextInputElementBase]; -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.setStaticMethodSignature(html$.PasswordInputElement, () => ['new']); -dart.setLibraryUri(html$.PasswordInputElement, I[150]); -html$.RangeInputElementBase = class RangeInputElementBase extends core.Object {}; -(html$.RangeInputElementBase.new = function() { - ; -}).prototype = html$.RangeInputElementBase.prototype; -dart.addTypeTests(html$.RangeInputElementBase); -dart.addTypeCaches(html$.RangeInputElementBase); -html$.RangeInputElementBase[dart.implements] = () => [html$.InputElementBase]; -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"; - } -}; -(html$.DateInputElement[dart.mixinNew] = function() { -}).prototype = html$.DateInputElement.prototype; -dart.addTypeTests(html$.DateInputElement); -dart.addTypeCaches(html$.DateInputElement); -html$.DateInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.MonthInputElement[dart.mixinNew] = function() { -}).prototype = html$.MonthInputElement.prototype; -dart.addTypeTests(html$.MonthInputElement); -dart.addTypeCaches(html$.MonthInputElement); -html$.MonthInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.WeekInputElement[dart.mixinNew] = function() { -}).prototype = html$.WeekInputElement.prototype; -dart.addTypeTests(html$.WeekInputElement); -dart.addTypeCaches(html$.WeekInputElement); -html$.WeekInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.TimeInputElement[dart.mixinNew] = function() { -}).prototype = html$.TimeInputElement.prototype; -dart.addTypeTests(html$.TimeInputElement); -dart.addTypeCaches(html$.TimeInputElement); -html$.TimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.LocalDateTimeInputElement[dart.mixinNew] = function() { -}).prototype = html$.LocalDateTimeInputElement.prototype; -dart.addTypeTests(html$.LocalDateTimeInputElement); -dart.addTypeCaches(html$.LocalDateTimeInputElement); -html$.LocalDateTimeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.NumberInputElement[dart.mixinNew] = function() { -}).prototype = html$.NumberInputElement.prototype; -dart.addTypeTests(html$.NumberInputElement); -dart.addTypeCaches(html$.NumberInputElement); -html$.NumberInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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"; - } -}; -(html$.RangeInputElement[dart.mixinNew] = function() { -}).prototype = html$.RangeInputElement.prototype; -dart.addTypeTests(html$.RangeInputElement); -dart.addTypeCaches(html$.RangeInputElement); -html$.RangeInputElement[dart.implements] = () => [html$.RangeInputElementBase]; -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.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.setStaticMethodSignature(html$.RadioButtonInputElement, () => ['new']); -dart.setLibraryUri(html$.RadioButtonInputElement, I[150]); -html$.FileUploadInputElement = class FileUploadInputElement extends core.Object { - get files() { - return this[S$1.files]; - } - set files(value) { - this[S$1.files] = value; - } - 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; -}).prototype = html$.FileUploadInputElement.prototype; -dart.addTypeTests(html$.FileUploadInputElement); -dart.addTypeCaches(html$.FileUploadInputElement); -html$.FileUploadInputElement[dart.implements] = () => [html$.InputElementBase]; -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))) -})); -dart.defineExtensionAccessors(html$.FileUploadInputElement, ['files']); -html$.SubmitButtonInputElement = class SubmitButtonInputElement extends core.Object { - 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.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.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.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.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[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); - } - static _create_2(type) { - return new InstallEvent(type); - } - [S$1.$registerForeignFetch](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; - } - [S$1._registerForeignFetch_1](...args) { - return this.registerForeignFetch.apply(this, args); - } -}; -dart.addTypeTests(html$.InstallEvent); -dart.addTypeCaches(html$.InstallEvent); -dart.setMethodSignature(html$.InstallEvent, () => ({ - __proto__: dart.getMethods(html$.InstallEvent.__proto__), - [S$1.$registerForeignFetch]: dart.fnType(dart.void, [core.Map]), - [S$1._registerForeignFetch_1]: dart.fnType(dart.void, [dart.dynamic]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserver.__(); - } - static new(callback, options = null) { - 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); - return html$.IntersectionObserver._create_1(callback_1, options_2); - } - 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); - } - static _create_2(callback) { - return new IntersectionObserver(callback); - } - get [S$1.$root]() { - return this.root; - } - get [S$1.$rootMargin]() { - return this.rootMargin; - } - get [S$1.$thresholds]() { - return this.thresholds; - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(html$.IntersectionObserver); -dart.addTypeCaches(html$.IntersectionObserver); -dart.setMethodSignature(html$.IntersectionObserver, () => ({ - __proto__: dart.getMethods(html$.IntersectionObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [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[150]); -dart.registerExtension("IntersectionObserver", html$.IntersectionObserver); -html$.IntersectionObserverEntry = class IntersectionObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.IntersectionObserverEntry.__(); - } - get [S$1.$boundingClientRect]() { - return this.boundingClientRect; - } - get [S$1.$intersectionRatio]() { - return this.intersectionRatio; - } - get [S$1.$intersectionRect]() { - return this.intersectionRect; - } - get [S$1.$isIntersecting]() { - return this.isIntersecting; - } - get [S$1.$rootBounds]() { - return this.rootBounds; - } - get [S.$target]() { - return this.target; - } - get [S$.$time]() { - return this.time; - } -}; -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), - [S$1.$intersectionRatio]: dart.nullable(core.num), - [S$1.$intersectionRect]: dart.nullable(html$.DomRectReadOnly), - [S$1.$isIntersecting]: dart.nullable(core.bool), - [S$1.$rootBounds]: dart.nullable(html$.DomRectReadOnly), - [S.$target]: dart.nullable(html$.Element), - [S$.$time]: dart.nullable(core.num) -})); -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; - } - get [$message]() { - return this.message; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } -}; -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[150]); -dart.registerExtension("InterventionReport", html$.InterventionReport); -html$.KeyboardEvent = class KeyboardEvent$ extends html$.UIEvent { - static new(type, opts) { - 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[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"); - if (view == null) { - view = html$.window; - } - 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[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 { - this.initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location, ctrlKey, altKey, shiftKey, metaKey); - } - } - get [S$1.$keyCode]() { - return this.keyCode; - } - get [S$1.$charCode]() { - return this.charCode; - } - get [S$1.$which]() { - return this[S$._which]; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new KeyboardEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$.$code]() { - return this.code; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$isComposing]() { - return this.isComposing; - } - get [S.$key]() { - return this.key; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$0.$location]() { - return this.location; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$repeat]() { - return this.repeat; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } -}; -dart.addTypeTests(html$.KeyboardEvent); -dart.addTypeCaches(html$.KeyboardEvent); -dart.setMethodSignature(html$.KeyboardEvent, () => ({ - __proto__: dart.getMethods(html$.KeyboardEvent.__proto__), - [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, - [S$1.$charCode]: core.int, - [S$1.$which]: dart.nullable(core.int), - [S$1.$altKey]: core.bool, - [S$1._charCode]: core.int, - [S$.$code]: dart.nullable(core.String), - [S$1.$ctrlKey]: core.bool, - [S$1.$isComposing]: dart.nullable(core.bool), - [S.$key]: dart.nullable(core.String), - [S$1._keyCode]: core.int, - [S$0.$location]: core.int, - [S$1.$metaKey]: core.bool, - [S$1.$repeat]: dart.nullable(core.bool), - [S$1.$shiftKey]: core.bool -})); -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; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_NUMPAD*/get DOM_KEY_LOCATION_NUMPAD() { - return 3; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_RIGHT*/get DOM_KEY_LOCATION_RIGHT() { - return 2; - }, - /*html$.KeyboardEvent.DOM_KEY_LOCATION_STANDARD*/get DOM_KEY_LOCATION_STANDARD() { - return 0; - } -}, 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); - } - static _create_2(target, effect) { - return new KeyframeEffectReadOnly(target, effect); - } -}; -dart.addTypeTests(html$.KeyframeEffectReadOnly); -dart.addTypeCaches(html$.KeyframeEffectReadOnly); -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); - } - static _create_2(target, effect) { - return new KeyframeEffect(target, effect); - } -}; -dart.addTypeTests(html$.KeyframeEffect); -dart.addTypeCaches(html$.KeyframeEffect); -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; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.LIElement.created = function() { - html$.LIElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.LIElement, () => ({ - __proto__: dart.getSetters(html$.LIElement.__proto__), - [S.$value]: core.int -})); -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; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - set [S$1.$htmlFor](value) { - this.htmlFor = value; - } -}; -(html$.LabelElement.created = function() { - html$.LabelElement.__proto__.created.call(this); - ; -}).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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: core.String -})); -dart.setSetterSignature(html$.LabelElement, () => ({ - __proto__: dart.getSetters(html$.LabelElement.__proto__), - [S$1.$htmlFor]: core.String -})); -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; - } -}; -(html$.LegendElement.created = function() { - html$.LegendElement.__proto__.created.call(this); - ; -}).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[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); - return html$.LinearAccelerationSensor._create_1(sensorOptions_1); - } - return html$.LinearAccelerationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.LinearAccelerationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new LinearAccelerationSensor(sensorOptions); - } - static _create_2() { - return new LinearAccelerationSensor(); - } -}; -dart.addTypeTests(html$.LinearAccelerationSensor); -dart.addTypeCaches(html$.LinearAccelerationSensor); -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; - } - set [S$1.$as](value) { - this.as = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$hreflang]() { - return this.hreflang; - } - set [S$.$hreflang](value) { - this.hreflang = value; - } - get [S$1.$import]() { - return this.import; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - set [S$.$referrerPolicy](value) { - this.referrerPolicy = value; - } - get [S$.$rel]() { - return this.rel; - } - set [S$.$rel](value) { - this.rel = value; - } - get [S$1.$relList]() { - return this.relList; - } - get [S$1.$scope]() { - return this.scope; - } - set [S$1.$scope](value) { - this.scope = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S$1.$sizes]() { - return this.sizes; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$supportsImport]() { - return "import" in this; - } -}; -(html$.LinkElement.created = function() { - html$.LinkElement.__proto__.created.call(this); - ; -}).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), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$import]: dart.nullable(html$.Document), - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$relList]: dart.nullable(html$.DomTokenList), - [S$1.$scope]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S$1.$sizes]: dart.nullable(html$.DomTokenList), - [S.$type]: core.String, - [S$1.$supportsImport]: core.bool -})); -dart.setSetterSignature(html$.LinkElement, () => ({ - __proto__: dart.getSetters(html$.LinkElement.__proto__), - [S$1.$as]: dart.nullable(core.String), - [S$.$crossOrigin]: dart.nullable(core.String), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$href]: core.String, - [S$.$hreflang]: core.String, - [S$1.$integrity]: dart.nullable(core.String), - [S$.$media]: core.String, - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$rel]: core.String, - [S$1.$scope]: dart.nullable(core.String), - [S.$type]: core.String -})); -dart.setLibraryUri(html$.LinkElement, I[150]); -dart.registerExtension("HTMLLinkElement", html$.LinkElement); -html$.Location = class Location extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Location.__(); - } - get [S$1.$ancestorOrigins]() { - return this.ancestorOrigins; - } - get [S$.$hash]() { - return this.hash; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$1.$trustedHref]() { - return this.trustedHref; - } - set [S$1.$trustedHref](value) { - this.trustedHref = value; - } - [S$1.$assign](...args) { - return this.assign.apply(this, args); - } - [S$1.$reload](...args) { - return this.reload.apply(this, args); - } - [S$1.$replace](...args) { - return this.replace.apply(this, args); - } - get [S$.$origin]() { - if ("origin" in this) { - return this.origin; - } - return dart.str(this.protocol) + "//" + dart.str(this.host); - } - [$toString]() { - return String(this); - } -}; -dart.addTypeTests(html$.Location); -dart.addTypeCaches(html$.Location); -html$.Location[dart.implements] = () => [html$.LocationBase]; -dart.setMethodSignature(html$.Location, () => ({ - __proto__: dart.getMethods(html$.Location.__proto__), - [S$1.$assign]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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)), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl), - [S$.$origin]: core.String -})); -dart.setSetterSignature(html$.Location, () => ({ - __proto__: dart.getSetters(html$.Location.__proto__), - [S$.$hash]: core.String, - [S$.$host]: core.String, - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: core.String, - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: core.String, - [S$.$protocol]: core.String, - [S$.$search]: dart.nullable(core.String), - [S$1.$trustedHref]: dart.nullable(html$.TrustedUrl) -})); -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); - return html$.Magnetometer._create_1(sensorOptions_1); - } - return html$.Magnetometer._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.Magnetometer.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new Magnetometer(sensorOptions); - } - static _create_2() { - return new Magnetometer(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -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[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; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } -}; -(html$.MapElement.created = function() { - html$.MapElement.__proto__.created.call(this); - ; -}).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), - [$name]: core.String -})); -dart.setSetterSignature(html$.MapElement, () => ({ - __proto__: dart.getSetters(html$.MapElement.__proto__), - [$name]: core.String -})); -dart.setLibraryUri(html$.MapElement, I[150]); -dart.registerExtension("HTMLMapElement", html$.MapElement); -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[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[149], 20611, 50, "configuration"); - let configuration_dict = html_common.convertDartToNative_Dictionary(configuration); - return js_util.promiseToFuture(html$.MediaCapabilitiesInfo, this.encodingInfo(configuration_dict)); - } -}; -dart.addTypeTests(html$.MediaCapabilities); -dart.addTypeCaches(html$.MediaCapabilities); -dart.setMethodSignature(html$.MediaCapabilities, () => ({ - __proto__: dart.getMethods(html$.MediaCapabilities.__proto__), - [S$1.$decodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]), - [S$1.$encodingInfo]: dart.fnType(async.Future$(html$.MediaCapabilitiesInfo), [core.Map]) -})); -dart.setStaticMethodSignature(html$.MediaCapabilities, () => ['__']); -dart.setLibraryUri(html$.MediaCapabilities, I[150]); -dart.registerExtension("MediaCapabilities", html$.MediaCapabilities); -html$.MediaCapabilitiesInfo = class MediaCapabilitiesInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaCapabilitiesInfo.__(); - } - get [S$1.$powerEfficient]() { - return this.powerEfficient; - } - get [S$1.$smooth]() { - return this.smooth; - } - get [S$1.$supported]() { - return this.supported; - } -}; -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[150]); -dart.registerExtension("MediaCapabilitiesInfo", html$.MediaCapabilitiesInfo); -html$.MediaDeviceInfo = class MediaDeviceInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaDeviceInfo.__(); - } - get [S$1.$deviceId]() { - return this.deviceId; - } - get [S$1.$groupId]() { - return this.groupId; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } -}; -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), - [S$1.$groupId]: dart.nullable(core.String), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String) -})); -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()); - } - [S$1.$getSupportedConstraints]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getSupportedConstraints_1]())); - } - [S$1._getSupportedConstraints_1](...args) { - return this.getSupportedConstraints.apply(this, args); - } - [S$1.$getUserMedia](constraints = null) { - let constraints_dict = null; - if (constraints != null) { - constraints_dict = html_common.convertDartToNative_Dictionary(constraints); - } - return js_util.promiseToFuture(html$.MediaStream, this.getUserMedia(constraints_dict)); - } -}; -dart.addTypeTests(html$.MediaDevices); -dart.addTypeCaches(html$.MediaDevices); -dart.setMethodSignature(html$.MediaDevices, () => ({ - __proto__: dart.getMethods(html$.MediaDevices.__proto__), - [S$1.$enumerateDevices]: dart.fnType(async.Future$(core.List), []), - [S$1.$getSupportedConstraints]: dart.fnType(core.Map, []), - [S$1._getSupportedConstraints_1]: dart.fnType(dart.dynamic, []), - [S$1.$getUserMedia]: dart.fnType(async.Future$(html$.MediaStream), [], [dart.nullable(core.Map)]) -})); -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[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); - } - static _create_2(type) { - return new MediaEncryptedEvent(type); - } - get [S$1.$initData]() { - return this.initData; - } - get [S$1.$initDataType]() { - return this.initDataType; - } -}; -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[150]); -dart.registerExtension("MediaEncryptedEvent", html$.MediaEncryptedEvent); -html$.MediaError = class MediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -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[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; - }, - /*html$.MediaError.MEDIA_ERR_DECODE*/get MEDIA_ERR_DECODE() { - return 3; - }, - /*html$.MediaError.MEDIA_ERR_NETWORK*/get MEDIA_ERR_NETWORK() { - return 2; - }, - /*html$.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED*/get MEDIA_ERR_SRC_NOT_SUPPORTED() { - return 4; - } -}, 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[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); - } - get [$message]() { - return this.message; - } - get [S$1.$messageType]() { - return this.messageType; - } -}; -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[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); - } - get [S$1.$expiration]() { - return this.expiration; - } - get [S$1.$keyStatuses]() { - return this.keyStatuses; - } - get [S$1.$sessionId]() { - return this.sessionId; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$1.$generateRequest](initDataType, initData) { - 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[149], 20950, 22, "sessionId"); - return js_util.promiseToFuture(dart.dynamic, this.load(sessionId)); - } - [$remove]() { - return js_util.promiseToFuture(dart.dynamic, this.remove()); - } - [S$1._update$1](...args) { - return this.update.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MediaKeySession.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaKeySession); -dart.addTypeCaches(html$.MediaKeySession); -dart.setMethodSignature(html$.MediaKeySession, () => ({ - __proto__: dart.getMethods(html$.MediaKeySession.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [S$1.$generateRequest]: dart.fnType(async.Future, [core.String, dart.dynamic]), - [S$.$load]: dart.fnType(async.Future, [core.String]), - [$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), - [S$1.$expiration]: dart.nullable(core.num), - [S$1.$keyStatuses]: dart.nullable(html$.MediaKeyStatusMap), - [S$1.$sessionId]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -dart.setLibraryUri(html$.MediaKeySession, I[150]); -dart.setStaticFieldSignature(html$.MediaKeySession, () => ['messageEvent']); -dart.defineLazy(html$.MediaKeySession, { - /*html$.MediaKeySession.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - } -}, false); -dart.registerExtension("MediaKeySession", html$.MediaKeySession); -html$.MediaKeyStatusMap = class MediaKeyStatusMap extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeyStatusMap.__(); - } - get [S$.$size]() { - return this.size; - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaKeyStatusMap); -dart.addTypeCaches(html$.MediaKeyStatusMap); -dart.setMethodSignature(html$.MediaKeyStatusMap, () => ({ - __proto__: dart.getMethods(html$.MediaKeyStatusMap.__proto__), - [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[150]); -dart.registerExtension("MediaKeyStatusMap", html$.MediaKeyStatusMap); -html$.MediaKeySystemAccess = class MediaKeySystemAccess extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeySystemAccess.__(); - } - get [S$1.$keySystem]() { - return this.keySystem; - } - [S$1.$createMediaKeys]() { - return js_util.promiseToFuture(dart.dynamic, this.createMediaKeys()); - } - [S$1.$getConfiguration]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$1._getConfiguration_1]())); - } - [S$1._getConfiguration_1](...args) { - return this.getConfiguration.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaKeySystemAccess); -dart.addTypeCaches(html$.MediaKeySystemAccess); -dart.setMethodSignature(html$.MediaKeySystemAccess, () => ({ - __proto__: dart.getMethods(html$.MediaKeySystemAccess.__proto__), - [S$1.$createMediaKeys]: dart.fnType(async.Future, []), - [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[150]); -dart.registerExtension("MediaKeySystemAccess", html$.MediaKeySystemAccess); -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[149], 21014, 45, "policy"); - return js_util.promiseToFuture(dart.dynamic, this.getStatusForPolicy(policy)); - } - [S$1.$setServerCertificate](serverCertificate) { - return js_util.promiseToFuture(dart.dynamic, this.setServerCertificate(serverCertificate)); - } -}; -dart.addTypeTests(html$.MediaKeys); -dart.addTypeCaches(html$.MediaKeys); -dart.setMethodSignature(html$.MediaKeys, () => ({ - __proto__: dart.getMethods(html$.MediaKeys.__proto__), - [S$1._createSession]: dart.fnType(html$.MediaKeySession, [], [dart.nullable(core.String)]), - [S$1.$getStatusForPolicy]: dart.fnType(async.Future, [html$.MediaKeysPolicy]), - [S$1.$setServerCertificate]: dart.fnType(async.Future, [dart.dynamic]) -})); -dart.setStaticMethodSignature(html$.MediaKeys, () => ['__']); -dart.setLibraryUri(html$.MediaKeys, I[150]); -dart.registerExtension("MediaKeys", html$.MediaKeys); -html$.MediaKeysPolicy = class MediaKeysPolicy$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaKeysPolicy.__(); - } - static new(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); - } - get [S$1.$minHdcpVersion]() { - return this.minHdcpVersion; - } -}; -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[150]); -dart.registerExtension("MediaKeysPolicy", html$.MediaKeysPolicy); -html$.MediaList = class MediaList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaList.__(); - } - get [$length]() { - return this.length; - } - get [S$1.$mediaText]() { - return this.mediaText; - } - set [S$1.$mediaText](value) { - this.mediaText = value; - } - [S$1.$appendMedium](...args) { - return this.appendMedium.apply(this, args); - } - [S$1.$deleteMedium](...args) { - return this.deleteMedium.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaList); -dart.addTypeCaches(html$.MediaList); -dart.setMethodSignature(html$.MediaList, () => ({ - __proto__: dart.getMethods(html$.MediaList.__proto__), - [S$1.$appendMedium]: dart.fnType(dart.void, [core.String]), - [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), - [S$1.$mediaText]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaList, () => ({ - __proto__: dart.getSetters(html$.MediaList.__proto__), - [S$1.$mediaText]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MediaList, I[150]); -dart.registerExtension("MediaList", html$.MediaList); -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); - return html$.MediaMetadata._create_1(metadata_1); - } - return html$.MediaMetadata._create_2(); - } - static ['_#new#tearOff'](metadata = null) { - return html$.MediaMetadata.new(metadata); - } - static _create_1(metadata) { - return new MediaMetadata(metadata); - } - static _create_2() { - return new MediaMetadata(); - } - get [S$1.$album]() { - return this.album; - } - set [S$1.$album](value) { - this.album = value; - } - get [S$1.$artist]() { - return this.artist; - } - set [S$1.$artist](value) { - this.artist = value; - } - get [S$1.$artwork]() { - return this.artwork; - } - set [S$1.$artwork](value) { - this.artwork = value; - } - get [S.$title]() { - return this.title; - } - set [S.$title](value) { - this.title = value; - } -}; -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), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaMetadata, () => ({ - __proto__: dart.getSetters(html$.MediaMetadata.__proto__), - [S$1.$album]: dart.nullable(core.String), - [S$1.$artist]: dart.nullable(core.String), - [S$1.$artwork]: dart.nullable(core.List), - [S.$title]: dart.nullable(core.String) -})); -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; - } - get [S$.$media]() { - return this.media; - } - [S$1.$addListener](...args) { - return this.addListener.apply(this, args); - } - [S$1.$removeListener](...args) { - return this.removeListener.apply(this, args); - } - get [S.$onChange]() { - return html$.MediaQueryList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaQueryList); -dart.addTypeCaches(html$.MediaQueryList); -dart.setMethodSignature(html$.MediaQueryList, () => ({ - __proto__: dart.getMethods(html$.MediaQueryList.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.MediaQueryList, () => ['changeEvent']); -dart.defineLazy(html$.MediaQueryList, { - /*html$.MediaQueryList.changeEvent*/get changeEvent() { - 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[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); - } - static _create_2(type) { - return new MediaQueryListEvent(type); - } - get [S.$matches]() { - return this.matches; - } - get [S$.$media]() { - return this.media; - } -}; -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[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[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); - } - static _create_2(stream) { - return new MediaRecorder(stream); - } - get [S$1.$audioBitsPerSecond]() { - return this.audioBitsPerSecond; - } - get [S$1.$mimeType]() { - return this.mimeType; - } - get [S$.$state]() { - return this.state; - } - get [S$1.$stream]() { - return this.stream; - } - get [S$1.$videoBitsPerSecond]() { - return this.videoBitsPerSecond; - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$requestData](...args) { - return this.requestData.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onError]() { - return html$.MediaRecorder.errorEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.MediaRecorder.pauseEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MediaRecorder); -dart.addTypeCaches(html$.MediaRecorder); -dart.setMethodSignature(html$.MediaRecorder, () => ({ - __proto__: dart.getMethods(html$.MediaRecorder.__proto__), - [S$.$pause]: dart.fnType(dart.void, []), - [S$1.$requestData]: dart.fnType(dart.void, []), - [S$1.$resume]: dart.fnType(dart.void, []), - [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), - [S$1.$mimeType]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [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) -})); -dart.setLibraryUri(html$.MediaRecorder, I[150]); -dart.setStaticFieldSignature(html$.MediaRecorder, () => ['errorEvent', 'pauseEvent']); -dart.defineLazy(html$.MediaRecorder, { - /*html$.MediaRecorder.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.MediaRecorder.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - } -}, false); -dart.registerExtension("MediaRecorder", html$.MediaRecorder); -html$.MediaSession = class MediaSession extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSession.__(); - } - get [S$1.$metadata]() { - return this.metadata; - } - set [S$1.$metadata](value) { - this.metadata = value; - } - get [S$1.$playbackState]() { - return this.playbackState; - } - set [S$1.$playbackState](value) { - this.playbackState = value; - } - [S$1.$setActionHandler](...args) { - return this.setActionHandler.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaSession); -dart.addTypeCaches(html$.MediaSession); -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), - [S$1.$playbackState]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.MediaSession, () => ({ - __proto__: dart.getSetters(html$.MediaSession.__proto__), - [S$1.$metadata]: dart.nullable(html$.MediaMetadata), - [S$1.$playbackState]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MediaSession, I[150]); -dart.registerExtension("MediaSession", html$.MediaSession); -html$.MediaSettingsRange = class MediaSettingsRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MediaSettingsRange.__(); - } - get [S$1.$max]() { - return this.max; - } - get [S$1.$min]() { - return this.min; - } - get [S$1.$step]() { - return this.step; - } -}; -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[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(); - } - static get supported() { - return !!window.MediaSource; - } - get [S$1.$activeSourceBuffers]() { - return this.activeSourceBuffers; - } - get [S$.$duration]() { - return this.duration; - } - set [S$.$duration](value) { - this.duration = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$1.$sourceBuffers]() { - return this.sourceBuffers; - } - [S$1.$addSourceBuffer](...args) { - return this.addSourceBuffer.apply(this, args); - } - [S$1.$clearLiveSeekableRange](...args) { - return this.clearLiveSeekableRange.apply(this, args); - } - [S$1.$endOfStream](...args) { - return this.endOfStream.apply(this, args); - } - [S$1.$removeSourceBuffer](...args) { - return this.removeSourceBuffer.apply(this, args); - } - [S$1.$setLiveSeekableRange](...args) { - return this.setLiveSeekableRange.apply(this, args); - } -}; -dart.addTypeTests(html$.MediaSource); -dart.addTypeCaches(html$.MediaSource); -dart.setMethodSignature(html$.MediaSource, () => ({ - __proto__: dart.getMethods(html$.MediaSource.__proto__), - [S$1.$addSourceBuffer]: dart.fnType(html$.SourceBuffer, [core.String]), - [S$1.$clearLiveSeekableRange]: dart.fnType(dart.void, []), - [S$1.$endOfStream]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [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), - [S$.$duration]: dart.nullable(core.num), - [S.$readyState]: dart.nullable(core.String), - [S$1.$sourceBuffers]: dart.nullable(html$.SourceBufferList) -})); -dart.setSetterSignature(html$.MediaSource, () => ({ - __proto__: dart.getSetters(html$.MediaSource.__proto__), - [S$.$duration]: dart.nullable(core.num) -})); -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(); - } - if (html$.MediaStream.is(stream_OR_tracks)) { - return html$.MediaStream._create_2(stream_OR_tracks); - } - if (T$0.ListOfMediaStreamTrack().is(stream_OR_tracks)) { - return html$.MediaStream._create_3(stream_OR_tracks); - } - 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(); - } - static _create_2(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - static _create_3(stream_OR_tracks) { - return new MediaStream(stream_OR_tracks); - } - get [S$1.$active]() { - return this.active; - } - get [S.$id]() { - return this.id; - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } - [S$1.$getAudioTracks](...args) { - return this.getAudioTracks.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - [S$1.$getTracks](...args) { - return this.getTracks.apply(this, args); - } - [S$1.$getVideoTracks](...args) { - return this.getVideoTracks.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.MediaStream.addTrackEvent.forTarget(this); - } - get [S$1.$onRemoveTrack]() { - return html$.MediaStream.removeTrackEvent.forTarget(this); - } - static get supported() { - return !!(html$.window.navigator.getUserMedia || html$.window.navigator.webkitGetUserMedia || html$.window.navigator.mozGetUserMedia || html$.window.navigator.msGetUserMedia); - } -}; -dart.addTypeTests(html$.MediaStream); -dart.addTypeCaches(html$.MediaStream); -dart.setMethodSignature(html$.MediaStream, () => ({ - __proto__: dart.getMethods(html$.MediaStream.__proto__), - [S$1.$addTrack]: dart.fnType(dart.void, [html$.MediaStreamTrack]), - [S$.$clone]: dart.fnType(html$.MediaStream, []), - [S$1.$getAudioTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [S$1.$getTrackById]: dart.fnType(dart.nullable(html$.MediaStreamTrack), [core.String]), - [S$1.$getTracks]: dart.fnType(core.List$(html$.MediaStreamTrack), []), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$onAddTrack]: async.Stream$(html$.Event), - [S$1.$onRemoveTrack]: async.Stream$(html$.Event) -})); -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[356] || CT.C356; - }, - /*html$.MediaStream.removeTrackEvent*/get removeTrackEvent() { - 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[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); - } - static _create_2(type) { - return new MediaStreamEvent(type); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamEvent"); - } - get [S$1.$stream]() { - return this.stream; - } -}; -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.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[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); - } - static get supported() { - return html_common.Device.isEventTypeSupported("MediaStreamTrackEvent"); - } - get [S$1.$track]() { - return this.track; - } -}; -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.setStaticGetterSignature(html$.MediaStreamTrackEvent, () => ['supported']); -dart.setLibraryUri(html$.MediaStreamTrackEvent, I[150]); -dart.registerExtension("MediaStreamTrackEvent", html$.MediaStreamTrackEvent); -html$.MemoryInfo = class MemoryInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MemoryInfo.__(); - } - get [S$1.$jsHeapSizeLimit]() { - return this.jsHeapSizeLimit; - } - get [S$1.$totalJSHeapSize]() { - return this.totalJSHeapSize; - } - get [S$1.$usedJSHeapSize]() { - return this.usedJSHeapSize; - } -}; -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[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); - ; -}).prototype = html$.MenuElement.prototype; -dart.addTypeTests(html$.MenuElement); -dart.addTypeCaches(html$.MenuElement); -dart.setStaticMethodSignature(html$.MenuElement, () => ['__', 'new']); -dart.setLibraryUri(html$.MenuElement, I[150]); -dart.registerExtension("HTMLMenuElement", html$.MenuElement); -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(); - } - get [S$1.$port1]() { - return this.port1; - } - get [S$1.$port2]() { - return this.port2; - } -}; -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[150]); -dart.registerExtension("MessageChannel", html$.MessageChannel); -html$.MessageEvent = class MessageEvent$ extends html$.Event { - static new(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"); - if (source == null) { - source = html$.window; - } - if (!dart.test(html_common.Device.isIE)) { - return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts}); - } - let event = html$.MessageEvent.as(html$.document[S._createEvent]("MessageEvent")); - 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]); - } - get [S$1._get_data]() { - return this.data; - } - static __(type, eventInitDict = null) { - 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); - } - static _create_2(type) { - return new MessageEvent(type); - } - get [S$1.$lastEventId]() { - return this.lastEventId; - } - get [S$.$origin]() { - return this.origin; - } - get [S$1.$ports]() { - return this.ports; - } - get [S.$source]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_source]); - } - get [S$1._get_source]() { - return this.source; - } - get [S$1.$suborigin]() { - return this.suborigin; - } - [S$1._initMessageEvent](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg, portsArg) { - let sourceArg_1 = html$._convertDartToNative_EventTarget(sourceArg); - this[S$1._initMessageEvent_1](typeArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg_1, portsArg); - return; - } - [S$1._initMessageEvent_1](...args) { - return this.initMessageEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.MessageEvent); -dart.addTypeCaches(html$.MessageEvent); -dart.setMethodSignature(html$.MessageEvent, () => ({ - __proto__: dart.getMethods(html$.MessageEvent.__proto__), - [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, - [S$1._get_data]: dart.dynamic, - [S$1.$lastEventId]: core.String, - [S$.$origin]: core.String, - [S$1.$ports]: core.List$(html$.MessagePort), - [S.$source]: dart.nullable(html$.EventTarget), - [S$1._get_source]: dart.dynamic, - [S$1.$suborigin]: dart.nullable(core.String) -})); -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[149], 21738, 32, "type"); - if (type === "message") { - 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); - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$1._start$5](...args) { - return this.start.apply(this, args); - } - get [S$.$onMessage]() { - return html$.MessagePort.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.MessagePort); -dart.addTypeCaches(html$.MessagePort); -dart.setMethodSignature(html$.MessagePort, () => ({ - __proto__: dart.getMethods(html$.MessagePort.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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$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[150]); -dart.setStaticFieldSignature(html$.MessagePort, () => ['messageEvent']); -dart.defineLazy(html$.MessagePort, { - /*html$.MessagePort.messageEvent*/get messageEvent() { - 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; - } - set [S$0.$content](value) { - this.content = value; - } - get [S$1.$httpEquiv]() { - return this.httpEquiv; - } - set [S$1.$httpEquiv](value) { - this.httpEquiv = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } -}; -(html$.MetaElement.created = function() { - html$.MetaElement.__proto__.created.call(this); - ; -}).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, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String -})); -dart.setSetterSignature(html$.MetaElement, () => ({ - __proto__: dart.getSetters(html$.MetaElement.__proto__), - [S$0.$content]: core.String, - [S$1.$httpEquiv]: dart.nullable(core.String), - [$name]: core.String -})); -dart.setLibraryUri(html$.MetaElement, I[150]); -dart.registerExtension("HTMLMetaElement", html$.MetaElement); -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]); - } - get [S$1._get_modificationTime]() { - return this.modificationTime; - } - get [S$.$size]() { - return this.size; - } -}; -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[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"); - } - get [S$1.$high]() { - return this.high; - } - set [S$1.$high](value) { - this.high = value; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$low]() { - return this.low; - } - set [S$1.$low](value) { - this.low = value; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$1.$min]() { - return this.min; - } - set [S$1.$min](value) { - this.min = value; - } - get [S$1.$optimum]() { - return this.optimum; - } - set [S$1.$optimum](value) { - this.optimum = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.MeterElement.created = function() { - html$.MeterElement.__proto__.created.call(this); - ; -}).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), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.MeterElement, () => ({ - __proto__: dart.getSetters(html$.MeterElement.__proto__), - [S$1.$high]: dart.nullable(core.num), - [S$1.$low]: dart.nullable(core.num), - [S$1.$max]: dart.nullable(core.num), - [S$1.$min]: dart.nullable(core.num), - [S$1.$optimum]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -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; - } - get [S$1.$outputs]() { - return this.outputs; - } - get [S$1.$sysexEnabled]() { - return this.sysexEnabled; - } -}; -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[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[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); - } - static _create_2(type) { - return new MIDIConnectionEvent(type); - } - get [S$.$port]() { - return this.port; - } -}; -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[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; - } - get [S.$id]() { - return this.id; - } - get [S$1.$manufacturer]() { - return this.manufacturer; - } - get [$name]() { - return this.name; - } - get [S$.$state]() { - return this.state; - } - get [S.$type]() { - return this.type; - } - get [S.$version]() { - return this.version; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S.$open]() { - return js_util.promiseToFuture(dart.dynamic, this.open()); - } -}; -dart.addTypeTests(html$.MidiPort); -dart.addTypeCaches(html$.MidiPort); -dart.setMethodSignature(html$.MidiPort, () => ({ - __proto__: dart.getMethods(html$.MidiPort.__proto__), - [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), - [S.$id]: dart.nullable(core.String), - [S$1.$manufacturer]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S.$version]: dart.nullable(core.String) -})); -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[150]); -dart.setStaticFieldSignature(html$.MidiInput, () => ['midiMessageEvent']); -dart.defineLazy(html$.MidiInput, { - /*html$.MidiInput.midiMessageEvent*/get midiMessageEvent() { - return C[359] || CT.C359; - } -}, false); -dart.registerExtension("MIDIInput", html$.MidiInput); -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[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[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[149], 21991, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 21997, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22009, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22015, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.MidiInputMap); -dart.addTypeCaches(html$.MidiInputMap); -dart.setMethodSignature(html$.MidiInputMap, () => ({ - __proto__: dart.getMethods(html$.MidiInputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - static _create_2(type) { - return new MIDIMessageEvent(type); - } - get [S$.$data]() { - return this.data; - } -}; -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[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); - } -}; -dart.addTypeTests(html$.MidiOutput); -dart.addTypeCaches(html$.MidiOutput); -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.setStaticMethodSignature(html$.MidiOutput, () => ['__']); -dart.setLibraryUri(html$.MidiOutput, I[150]); -dart.registerExtension("MIDIOutput", html$.MidiOutput); -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[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[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[149], 22097, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 22103, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22115, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 22121, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.MidiOutputMap); -dart.addTypeCaches(html$.MidiOutputMap); -dart.setMethodSignature(html$.MidiOutputMap, () => ({ - __proto__: dart.getMethods(html$.MidiOutputMap.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); -dart.registerExtension("MIDIOutputMap", html$.MidiOutputMap); -html$.MimeType = class MimeType extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MimeType.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$enabledPlugin]() { - return this.enabledPlugin; - } - get [S$1.$suffixes]() { - return this.suffixes; - } - get [S.$type]() { - return this.type; - } -}; -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), - [S$1.$enabledPlugin]: dart.nullable(html$.Plugin), - [S$1.$suffixes]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.MimeType, I[150]); -dart.registerExtension("MimeType", html$.MimeType); -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[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[149], 22216, 25, "index"); - html$.MimeType.as(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[149], 22222, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 22250, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -html$.MimeTypeArray.prototype[dart.isList] = true; -dart.addTypeTests(html$.MimeTypeArray); -dart.addTypeCaches(html$.MimeTypeArray); -html$.MimeTypeArray[dart.implements] = () => [core.List$(html$.MimeType), _js_helper.JavaScriptIndexingBehavior$(html$.MimeType)]; -dart.setMethodSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getMethods(html$.MimeTypeArray.__proto__), - [$_get]: dart.fnType(html$.MimeType, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$.MimeTypeArray, () => ({ - __proto__: dart.getSetters(html$.MimeTypeArray.__proto__), - [$length]: core.int -})); -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; - } - set [S$1.$cite](value) { - this.cite = value; - } - get [S$1.$dateTime]() { - return this.dateTime; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } -}; -(html$.ModElement.created = function() { - html$.ModElement.__proto__.created.call(this); - ; -}).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, - [S$1.$dateTime]: core.String -})); -dart.setSetterSignature(html$.ModElement, () => ({ - __proto__: dart.getSetters(html$.ModElement.__proto__), - [S$1.$cite]: core.String, - [S$1.$dateTime]: core.String -})); -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[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; - if (view == null) { - view = html$.window; - } - let event = html$.MouseEvent.as(html$.document[S._createEvent]("MouseEvent")); - 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[149], 22334, 31, "type"); - if (eventInitDict != null) { - let eventInitDict_1 = html_common.convertDartToNative_Dictionary(eventInitDict); - return html$.MouseEvent._create_1(type, eventInitDict_1); - } - return html$.MouseEvent._create_2(type); - } - static _create_1(type, eventInitDict) { - return new MouseEvent(type, eventInitDict); - } - static _create_2(type) { - return new MouseEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$1.$button]() { - return this.button; - } - get [S$1.$buttons]() { - return this.buttons; - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$fromElement]() { - return this.fromElement; - } - get [S$1._layerX]() { - return this.layerX; - } - get [S$1._layerY]() { - return this.layerY; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1._movementX]() { - return this.movementX; - } - get [S$1._movementY]() { - return this.movementY; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$1.$region]() { - return this.region; - } - get [S$1.$relatedTarget]() { - return html$._convertNativeToDart_EventTarget(this[S$1._get_relatedTarget]); - } - get [S$1._get_relatedTarget]() { - return this.relatedTarget; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$1.$toElement]() { - return this.toElement; - } - [S$1.$getModifierState](...args) { - return this.getModifierState.apply(this, args); - } - [S$1._initMouseEvent](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { - let relatedTarget_1 = html$._convertDartToNative_EventTarget(relatedTarget); - this[S$1._initMouseEvent_1](type, bubbles, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget_1); - return; - } - [S$1._initMouseEvent_1](...args) { - return this.initMouseEvent.apply(this, args); - } - get [S.$client]() { - return new (T$0.PointOfnum()).new(this[S$1._clientX], this[S$1._clientY]); - } - get [S$1.$movement]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._movementX]), dart.nullCheck(this[S$1._movementY])); - } - get [S.$offset]() { - if (!!this.offsetX) { - let x = this.offsetX; - let y = this.offsetY; - return new (T$0.PointOfnum()).new(core.num.as(x), core.num.as(y)); - } else { - if (!html$.Element.is(this[S.$target])) { - dart.throw(new core.UnsupportedError.new("offsetX is only supported on elements")); - } - let target = html$.Element.as(this[S.$target]); - let point = this[S.$client]['-'](target.getBoundingClientRect()[$topLeft]); - return new (T$0.PointOfnum()).new(point.x[$toInt](), point.y[$toInt]()); - } - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$1._screenX], this[S$1._screenY]); - } - get [S$1.$layer]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._layerX]), dart.nullCheck(this[S$1._layerY])); - } - get [S$0.$page]() { - return new (T$0.PointOfnum()).new(dart.nullCheck(this[S$1._pageX]), dart.nullCheck(this[S$1._pageY])); - } - get [S$1.$dataTransfer]() { - return this.dataTransfer; - } -}; -dart.addTypeTests(html$.MouseEvent); -dart.addTypeCaches(html$.MouseEvent); -dart.setMethodSignature(html$.MouseEvent, () => ({ - __proto__: dart.getMethods(html$.MouseEvent.__proto__), - [S$1.$getModifierState]: dart.fnType(core.bool, [core.String]), - [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, - [S$1.$button]: core.int, - [S$1.$buttons]: dart.nullable(core.int), - [S$1._clientX]: core.num, - [S$1._clientY]: core.num, - [S$1.$ctrlKey]: core.bool, - [S$1.$fromElement]: dart.nullable(html$.Node), - [S$1._layerX]: dart.nullable(core.int), - [S$1._layerY]: dart.nullable(core.int), - [S$1.$metaKey]: core.bool, - [S$1._movementX]: dart.nullable(core.int), - [S$1._movementY]: dart.nullable(core.int), - [S$1._pageX]: dart.nullable(core.num), - [S$1._pageY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [S$1.$relatedTarget]: dart.nullable(html$.EventTarget), - [S$1._get_relatedTarget]: dart.dynamic, - [S$1._screenX]: core.num, - [S$1._screenY]: core.num, - [S$1.$shiftKey]: core.bool, - [S$1.$toElement]: dart.nullable(html$.Node), - [S.$client]: math.Point$(core.num), - [S$1.$movement]: math.Point$(core.num), - [S.$offset]: math.Point$(core.num), - [S$1.$screen]: math.Point$(core.num), - [S$1.$layer]: math.Point$(core.num), - [S$0.$page]: math.Point$(core.num), - [S$1.$dataTransfer]: html$.DataTransfer -})); -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; - } - get [S$1.$attrName]() { - return this.attrName; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$1.$prevValue]() { - return this.prevValue; - } - get [S$1.$relatedNode]() { - return this.relatedNode; - } - [S$1.$initMutationEvent](...args) { - return this.initMutationEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.MutationEvent); -dart.addTypeCaches(html$.MutationEvent); -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), - [S$1.$attrName]: dart.nullable(core.String), - [S$1.$newValue]: dart.nullable(core.String), - [S$1.$prevValue]: dart.nullable(core.String), - [S$1.$relatedNode]: dart.nullable(html$.Node) -})); -dart.setLibraryUri(html$.MutationEvent, I[150]); -dart.setStaticFieldSignature(html$.MutationEvent, () => ['ADDITION', 'MODIFICATION', 'REMOVAL']); -dart.defineLazy(html$.MutationEvent, { - /*html$.MutationEvent.ADDITION*/get ADDITION() { - return 2; - }, - /*html$.MutationEvent.MODIFICATION*/get MODIFICATION() { - return 1; - }, - /*html$.MutationEvent.REMOVAL*/get REMOVAL() { - return 3; - } -}, false); -dart.registerExtension("MutationEvent", html$.MutationEvent); -html$.MutationObserver = class MutationObserver extends _interceptors.JavaScriptObject { - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$2._observe_2](target); - return; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } - [S$2._observe_2](...args) { - return this.observe.apply(this, args); - } - [S$1.$takeRecords](...args) { - return this.takeRecords.apply(this, args); - } - static get supported() { - return !!(window.MutationObserver || window.WebKitMutationObserver); - } - [S.$observe](target, opts) { - 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; - let subtree = opts && 'subtree' in opts ? opts.subtree : null; - let attributeOldValue = opts && 'attributeOldValue' in opts ? opts.attributeOldValue : null; - let characterDataOldValue = opts && 'characterDataOldValue' in opts ? opts.characterDataOldValue : null; - let attributeFilter = opts && 'attributeFilter' in opts ? opts.attributeFilter : null; - let parsedOptions = html$.MutationObserver._createDict(); - function override(key, value) { - if (value != null) html$.MutationObserver._add(parsedOptions, core.String.as(key), value); - } - dart.fn(override, T$.dynamicAnddynamicToNull()); - override("childList", childList); - override("attributes", attributes); - override("characterData", characterData); - override("subtree", subtree); - override("attributeOldValue", attributeOldValue); - override("characterDataOldValue", characterDataOldValue); - if (attributeFilter != null) { - override("attributeFilter", html$.MutationObserver._fixupList(attributeFilter)); - } - this[S$2._call](target, parsedOptions); - } - static _createDict() { - return {}; - } - static _add(m, key, value) { - if (key == null) dart.nullFailed(I[149], 22644, 25, "key"); - m[key] = value; - } - static _fixupList(list) { - return list; - } - [S$2._call](...args) { - return this.observe.apply(this, args); - } - static new(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$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$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$2._call]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic]) -})); -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[360] || CT.C360; - } -}, false); -dart.registerExtension("MutationObserver", html$.MutationObserver); -dart.registerExtension("WebKitMutationObserver", html$.MutationObserver); -html$.MutationRecord = class MutationRecord extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.MutationRecord.__(); - } - get [S$2.$addedNodes]() { - return this.addedNodes; - } - get [S$2.$attributeName]() { - return this.attributeName; - } - get [S$2.$attributeNamespace]() { - return this.attributeNamespace; - } - get [S$2.$nextSibling]() { - return this.nextSibling; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$previousSibling]() { - return this.previousSibling; - } - get [S$2.$removedNodes]() { - return this.removedNodes; - } - get [S.$target]() { - return this.target; - } - get [S.$type]() { - return this.type; - } -}; -dart.addTypeTests(html$.MutationRecord); -dart.addTypeCaches(html$.MutationRecord); -dart.setStaticMethodSignature(html$.MutationRecord, () => ['__']); -dart.setGetterSignature(html$.MutationRecord, () => ({ - __proto__: dart.getGetters(html$.MutationRecord.__proto__), - [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[150]); -dart.registerExtension("MutationRecord", html$.MutationRecord); -html$.NavigationPreloadManager = class NavigationPreloadManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigationPreloadManager.__(); - } - [S$2.$disable]() { - return js_util.promiseToFuture(dart.dynamic, this.disable()); - } - [S$2.$enable]() { - return js_util.promiseToFuture(dart.dynamic, this.enable()); - } - [S$2.$getState]() { - return html$.promiseToFutureAsMap(this.getState()); - } -}; -dart.addTypeTests(html$.NavigationPreloadManager); -dart.addTypeCaches(html$.NavigationPreloadManager); -dart.setMethodSignature(html$.NavigationPreloadManager, () => ({ - __proto__: dart.getMethods(html$.NavigationPreloadManager.__proto__), - [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.setStaticMethodSignature(html$.NavigationPreloadManager, () => ['__']); -dart.setLibraryUri(html$.NavigationPreloadManager, I[150]); -dart.registerExtension("NavigationPreloadManager", html$.NavigationPreloadManager); -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[150]); -dart.registerExtension("NavigatorConcurrentHardware", html$.NavigatorConcurrentHardware); -html$.Navigator = class Navigator extends html$.NavigatorConcurrentHardware { - [S$2.$getGamepads]() { - let gamepadList = this[S$2._getGamepads](); - let jsProto = gamepadList.prototype; - if (jsProto == null) { - gamepadList.prototype = Object.create(null); - } - _js_helper.applyExtension("GamepadList", gamepadList); - return gamepadList; - } - get [S$2.$language]() { - return this.language || this.userLanguage; - } - [S$1.$getUserMedia](opts) { - let audio = opts && 'audio' in opts ? opts.audio : false; - 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$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[149], 22787, 9, "error"); - completer.completeError(error); - }, T$0.NavigatorUserMediaErrorTovoid())); - return completer.future; - } - [S$2._ensureGetUserMedia]() { - if (!this.getUserMedia) { - this.getUserMedia = this.getUserMedia || this.webkitGetUserMedia || this.mozGetUserMedia || this.msGetUserMedia; - } - } - [S$2._getUserMedia](...args) { - return this.getUserMedia.apply(this, args); - } - static ['_#_#tearOff']() { - return html$.Navigator.__(); - } - get [S$2.$budget]() { - return this.budget; - } - get [S$2.$clipboard]() { - return this.clipboard; - } - get [S$1.$connection]() { - return this.connection; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$deviceMemory]() { - return this.deviceMemory; - } - get [S$2.$doNotTrack]() { - return this.doNotTrack; - } - get [S$2.$geolocation]() { - return this.geolocation; - } - get [S$2.$maxTouchPoints]() { - return this.maxTouchPoints; - } - get [S$2.$mediaCapabilities]() { - return this.mediaCapabilities; - } - get [S$2.$mediaDevices]() { - return this.mediaDevices; - } - get [S$2.$mediaSession]() { - return this.mediaSession; - } - get [S$2.$mimeTypes]() { - return this.mimeTypes; - } - get [S$2.$nfc]() { - return this.nfc; - } - get [S$2.$permissions]() { - return this.permissions; - } - get [S$2.$presentation]() { - return this.presentation; - } - get [S$2.$productSub]() { - return this.productSub; - } - get [S$2.$serviceWorker]() { - return this.serviceWorker; - } - get [S$2.$storage]() { - return this.storage; - } - get [S$2.$vendor]() { - return this.vendor; - } - get [S$2.$vendorSub]() { - return this.vendorSub; - } - get [S$2.$vr]() { - return this.vr; - } - get [S$2.$persistentStorage]() { - return this.webkitPersistentStorage; - } - get [S$2.$temporaryStorage]() { - return this.webkitTemporaryStorage; - } - [S$2.$cancelKeyboardLock](...args) { - return this.cancelKeyboardLock.apply(this, args); - } - [S$2.$getBattery]() { - return js_util.promiseToFuture(dart.dynamic, this.getBattery()); - } - [S$2._getGamepads](...args) { - return this.getGamepads.apply(this, args); - } - [S$2.$getInstalledRelatedApps]() { - return js_util.promiseToFuture(html$.RelatedApplication, this.getInstalledRelatedApps()); - } - [S$2.$getVRDisplays]() { - return js_util.promiseToFuture(dart.dynamic, this.getVRDisplays()); - } - [S$2.$registerProtocolHandler](...args) { - return this.registerProtocolHandler.apply(this, args); - } - [S$2.$requestKeyboardLock](keyCodes = null) { - if (keyCodes != null) { - let keyCodes_1 = html_common.convertDartToNative_StringArray(keyCodes); - return this[S$2._requestKeyboardLock_1](keyCodes_1); - } - return this[S$2._requestKeyboardLock_2](); - } - [S$2._requestKeyboardLock_1](keyCodes) { - if (keyCodes == null) dart.nullFailed(I[149], 22901, 38, "keyCodes"); - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock(keyCodes)); - } - [S$2._requestKeyboardLock_2]() { - return js_util.promiseToFuture(dart.dynamic, this.requestKeyboardLock()); - } - [S$2.$requestMidiAccess](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestMIDIAccess(options_dict)); - } - [S$2.$requestMediaKeySystemAccess](keySystem, 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) { - return this.sendBeacon.apply(this, args); - } - [S$2.$share](data = null) { - let data_dict = null; - if (data != null) { - data_dict = html_common.convertDartToNative_Dictionary(data); - } - return js_util.promiseToFuture(dart.dynamic, this.share(data_dict)); - } - get [S$2.$webdriver]() { - return this.webdriver; - } - get [S$2.$cookieEnabled]() { - return this.cookieEnabled; - } - get [S$2.$appCodeName]() { - return this.appCodeName; - } - get [S$2.$appName]() { - return this.appName; - } - get [S$2.$appVersion]() { - return this.appVersion; - } - get [S$2.$dartEnabled]() { - return this.dartEnabled; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$2.$product]() { - return this.product; - } - get [S$2.$userAgent]() { - return this.userAgent; - } - get [S$2.$languages]() { - return this.languages; - } - get [S$2.$onLine]() { - return this.onLine; - } -}; -dart.addTypeTests(html$.Navigator); -dart.addTypeCaches(html$.Navigator); -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$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$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$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]), - [S$2.$requestKeyboardLock]: dart.fnType(async.Future, [], [dart.nullable(core.List$(core.String))]), - [S$2._requestKeyboardLock_1]: dart.fnType(async.Future, [core.List]), - [S$2._requestKeyboardLock_2]: dart.fnType(async.Future, []), - [S$2.$requestMidiAccess]: dart.fnType(async.Future, [], [dart.nullable(core.Map)]), - [S$2.$requestMediaKeySystemAccess]: dart.fnType(async.Future, [core.String, core.List$(core.Map)]), - [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$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$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), - [S$2.$mediaSession]: dart.nullable(html$.MediaSession), - [S$2.$mimeTypes]: dart.nullable(html$.MimeTypeArray), - [S$2.$nfc]: dart.nullable(html$._NFC), - [S$2.$permissions]: dart.nullable(html$.Permissions), - [S$2.$presentation]: dart.nullable(html$.Presentation), - [S$2.$productSub]: dart.nullable(core.String), - [S$2.$serviceWorker]: dart.nullable(html$.ServiceWorkerContainer), - [S$2.$storage]: dart.nullable(html$.StorageManager), - [S$2.$vendor]: core.String, - [S$2.$vendorSub]: core.String, - [S$2.$vr]: dart.nullable(html$.VR), - [S$2.$persistentStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$temporaryStorage]: dart.nullable(html$.DeprecatedStorageQuota), - [S$2.$webdriver]: dart.nullable(core.bool), - [S$2.$cookieEnabled]: dart.nullable(core.bool), - [S$2.$appCodeName]: core.String, - [S$2.$appName]: core.String, - [S$2.$appVersion]: core.String, - [S$2.$dartEnabled]: dart.nullable(core.bool), - [S$2.$platform]: dart.nullable(core.String), - [S$2.$product]: core.String, - [S$2.$userAgent]: core.String, - [S$2.$languages]: dart.nullable(core.List$(core.String)), - [S$2.$onLine]: dart.nullable(core.bool) -})); -dart.setLibraryUri(html$.Navigator, I[150]); -dart.registerExtension("Navigator", html$.Navigator); -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[150]); -dart.registerExtension("NavigatorAutomationInformation", html$.NavigatorAutomationInformation); -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[150]); -dart.registerExtension("NavigatorCookies", html$.NavigatorCookies); -html$.NavigatorID = class NavigatorID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorID.__(); - } - get appCodeName() { - return this.appCodeName; - } - get appName() { - return this.appName; - } - get appVersion() { - return this.appVersion; - } - get dartEnabled() { - return this.dartEnabled; - } - get platform() { - return this.platform; - } - get product() { - return this.product; - } - get userAgent() { - return this.userAgent; - } -}; -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, - [S$2.$appCodeName]: core.String, - appName: core.String, - [S$2.$appName]: core.String, - appVersion: core.String, - [S$2.$appVersion]: core.String, - dartEnabled: dart.nullable(core.bool), - [S$2.$dartEnabled]: dart.nullable(core.bool), - platform: dart.nullable(core.String), - [S$2.$platform]: dart.nullable(core.String), - product: core.String, - [S$2.$product]: core.String, - userAgent: core.String, - [S$2.$userAgent]: core.String -})); -dart.setLibraryUri(html$.NavigatorID, I[150]); -dart.defineExtensionAccessors(html$.NavigatorID, [ - 'appCodeName', - 'appName', - 'appVersion', - 'dartEnabled', - 'platform', - 'product', - 'userAgent' -]); -html$.NavigatorLanguage = class NavigatorLanguage extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorLanguage.__(); - } - get language() { - return this.language; - } - get languages() { - return this.languages; - } -}; -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$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[150]); -dart.defineExtensionAccessors(html$.NavigatorLanguage, ['language', 'languages']); -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[150]); -dart.defineExtensionAccessors(html$.NavigatorOnLine, ['onLine']); -html$.NavigatorUserMediaError = class NavigatorUserMediaError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NavigatorUserMediaError.__(); - } - get [S$2.$constraintName]() { - return this.constraintName; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[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; - } - get [S$2.$downlinkMax]() { - return this.downlinkMax; - } - get [S$2.$effectiveType]() { - return this.effectiveType; - } - get [S$2.$rtt]() { - return this.rtt; - } - get [S.$type]() { - return this.type; - } - get [S.$onChange]() { - return html$.NetworkInformation.changeEvent.forTarget(this); - } -}; -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), - [S$2.$downlinkMax]: dart.nullable(core.num), - [S$2.$effectiveType]: dart.nullable(core.String), - [S$2.$rtt]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S.$onChange]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.NetworkInformation, I[150]); -dart.setStaticFieldSignature(html$.NetworkInformation, () => ['changeEvent']); -dart.defineLazy(html$.NetworkInformation, { - /*html$.NetworkInformation.changeEvent*/get changeEvent() { - 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")); - return result; - } - set first(value) { - super.first = value; - } - get last() { - let result = this[S$._this].lastChild; - if (result == null) dart.throw(new core.StateError.new("No elements")); - return result; - } - set last(value) { - super.last = value; - } - get single() { - let l = this.length; - if (l === 0) dart.throw(new core.StateError.new("No elements")); - if (dart.notNull(l) > 1) dart.throw(new core.StateError.new("More than one element")); - return dart.nullCheck(this[S$._this].firstChild); - } - add(value) { - html$.Node.as(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[149], 23154, 30, "iterable"); - if (html$._ChildNodeListLazy.is(iterable)) { - let otherList = iterable; - if (otherList[S$._this] != this[S$._this]) { - for (let i = 0, len = otherList.length; i < dart.notNull(len); i = i + 1) { - this[S$._this][S.$append](dart.nullCheck(otherList[S$._this].firstChild)); - } - } - return; - } - for (let node of iterable) { - this[S$._this][S.$append](node); - } - } - insert(index, node) { - if (index == null) dart.nullFailed(I[149], 23170, 19, "index"); - html$.Node.as(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)); - } - if (index == this.length) { - this[S$._this][S.$append](node); - } else { - this[S$._this].insertBefore(node, this._get(index)); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23181, 22, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23181, 44, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let item = this._get(index); - this[S$._this][S$.$insertAllBefore](iterable, item); - } - } - setAll(index, iterable) { - if (index == null) dart.nullFailed(I[149], 23190, 19, "index"); - T$0.IterableOfNode().as(iterable); - if (iterable == null) dart.nullFailed(I[149], 23190, 41, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot setAll on Node list")); - } - removeLast() { - let result = this.last; - if (result != null) { - this[S$._this][S$._removeChild](result); - } - return result; - } - removeAt(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); - } - return result; - } - remove(object) { - if (!html$.Node.is(object)) return false; - let node = object; - if (this[S$._this] != node.parentNode) return false; - this[S$._this][S$._removeChild](node); - return true; - } - [S$1._filter$2](test, 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]; - if (test(child) == removeMatching) { - this[S$._this][S$._removeChild](child); - } - child = nextChild; - } - } - removeWhere(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[149], 23236, 25, "test"); - this[S$1._filter$2](test, false); - } - clear() { - this[S$._this][S$._clearChildren](); - } - _set(index, value$) { - let value = value$; - if (index == null) dart.nullFailed(I[149], 23244, 25, "index"); - html$.Node.as(value); - if (value == null) dart.nullFailed(I[149], 23244, 37, "value"); - this[S$._this][S$._replaceChild](value, this._get(index)); - return value$; - } - get iterator() { - return this[S$._this].childNodes[$iterator]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort Node list")); - } - shuffle(random = null) { - dart.throw(new core.UnsupportedError.new("Cannot shuffle Node list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[149], 23281, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot set length on immutable List.")); - } - _get(index) { - if (index == null) dart.nullFailed(I[149], 23285, 24, "index"); - return this[S$._this].childNodes[$_get](index); - } - get rawList() { - return this[S$._this].childNodes; - } -}; -(html$._ChildNodeListLazy.new = function(_this) { - if (_this == null) dart.nullFailed(I[149], 23129, 27, "_this"); - this[S$._this] = _this; - ; -}).prototype = html$._ChildNodeListLazy.prototype; -dart.addTypeTests(html$._ChildNodeListLazy); -dart.addTypeCaches(html$._ChildNodeListLazy); -html$._ChildNodeListLazy[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getMethods(html$._ChildNodeListLazy.__proto__), - [S$1._filter$2]: dart.fnType(dart.void, [dart.fnType(core.bool, [html$.Node]), core.bool]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Node, [core.int]), - [$_get]: dart.fnType(html$.Node, [core.int]) -})); -dart.setGetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getGetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getSetters(html$._ChildNodeListLazy.__proto__), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html$._ChildNodeListLazy, I[150]); -dart.setFieldSignature(html$._ChildNodeListLazy, () => ({ - __proto__: dart.getFields(html$._ChildNodeListLazy.__proto__), - [S$._this]: dart.finalFieldType(html$.Node) -})); -dart.defineExtensionMethods(html$._ChildNodeListLazy, [ - 'add', - 'addAll', - 'insert', - 'insertAll', - 'setAll', - 'removeLast', - 'removeAt', - 'remove', - 'removeWhere', - 'retainWhere', - 'clear', - '_set', - 'sort', - 'shuffle', - 'setRange', - 'fillRange', - 'removeRange', - '_get' -]); -dart.defineExtensionAccessors(html$._ChildNodeListLazy, [ - 'first', - 'last', - 'single', - 'iterator', - 'length' -]); -html$.NodeFilter = class NodeFilter extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NodeFilter.__(); - } -}; -dart.addTypeTests(html$.NodeFilter); -dart.addTypeCaches(html$.NodeFilter); -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; - }, - /*html$.NodeFilter.FILTER_REJECT*/get FILTER_REJECT() { - return 2; - }, - /*html$.NodeFilter.FILTER_SKIP*/get FILTER_SKIP() { - return 3; - }, - /*html$.NodeFilter.SHOW_ALL*/get SHOW_ALL() { - return 4294967295.0; - }, - /*html$.NodeFilter.SHOW_COMMENT*/get SHOW_COMMENT() { - return 128; - }, - /*html$.NodeFilter.SHOW_DOCUMENT*/get SHOW_DOCUMENT() { - return 256; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_FRAGMENT*/get SHOW_DOCUMENT_FRAGMENT() { - return 1024; - }, - /*html$.NodeFilter.SHOW_DOCUMENT_TYPE*/get SHOW_DOCUMENT_TYPE() { - return 512; - }, - /*html$.NodeFilter.SHOW_ELEMENT*/get SHOW_ELEMENT() { - return 1; - }, - /*html$.NodeFilter.SHOW_PROCESSING_INSTRUCTION*/get SHOW_PROCESSING_INSTRUCTION() { - return 64; - }, - /*html$.NodeFilter.SHOW_TEXT*/get SHOW_TEXT() { - return 4; - } -}, false); -dart.registerExtension("NodeFilter", html$.NodeFilter); -html$.NodeIterator = class NodeIterator extends _interceptors.JavaScriptObject { - static new(root, 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; - } - get [S$2.$referenceNode]() { - return this.referenceNode; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } -}; -dart.addTypeTests(html$.NodeIterator); -dart.addTypeCaches(html$.NodeIterator); -dart.setMethodSignature(html$.NodeIterator, () => ({ - __proto__: dart.getMethods(html$.NodeIterator.__proto__), - [S$2.$detach]: dart.fnType(dart.void, []), - [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), - [S$2.$referenceNode]: dart.nullable(html$.Node), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int -})); -dart.setLibraryUri(html$.NodeIterator, I[150]); -dart.registerExtension("NodeIterator", html$.NodeIterator); -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[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[149], 23739, 25, "index"); - html$.Node.as(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[149], 23745, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 23773, 22, "index"); - return this[$_get](index); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } -}; -html$.NodeList.prototype[dart.isList] = true; -dart.addTypeTests(html$.NodeList); -dart.addTypeCaches(html$.NodeList); -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 -})); -dart.setSetterSignature(html$.NodeList, () => ({ - __proto__: dart.getSetters(html$.NodeList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.NodeList, I[150]); -dart.registerExtension("NodeList", html$.NodeList); -dart.registerExtension("RadioNodeList", html$.NodeList); -html$.NonDocumentTypeChildNode = class NonDocumentTypeChildNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonDocumentTypeChildNode.__(); - } - get [S.$nextElementSibling]() { - return this.nextElementSibling; - } - get [S.$previousElementSibling]() { - return this.previousElementSibling; - } -}; -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[150]); -dart.registerExtension("NonDocumentTypeChildNode", html$.NonDocumentTypeChildNode); -html$.NonElementParentNode = class NonElementParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NonElementParentNode.__(); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } -}; -dart.addTypeTests(html$.NonElementParentNode); -dart.addTypeCaches(html$.NonElementParentNode); -dart.setMethodSignature(html$.NonElementParentNode, () => ({ - __proto__: dart.getMethods(html$.NonElementParentNode.__proto__), - [S$1.$getElementById]: dart.fnType(dart.nullable(html$.Element), [core.String]) -})); -dart.setStaticMethodSignature(html$.NonElementParentNode, () => ['__']); -dart.setLibraryUri(html$.NonElementParentNode, I[150]); -dart.registerExtension("NonElementParentNode", html$.NonElementParentNode); -html$.NoncedElement = class NoncedElement extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.NoncedElement.__(); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } -}; -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) -})); -dart.setSetterSignature(html$.NoncedElement, () => ({ - __proto__: dart.getSetters(html$.NoncedElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[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; - let parsedOptions = new _js_helper.LinkedMap.new(); - if (dir != null) parsedOptions[$_set]("dir", dir); - if (body != null) parsedOptions[$_set]("body", body); - if (lang != null) parsedOptions[$_set]("lang", lang); - if (tag != null) parsedOptions[$_set]("tag", tag); - 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[149], 23879, 51, "title"); - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return html$.Notification._create_1(title, options_1); - } - return html$.Notification._create_2(title); - } - static _create_1(title, options) { - return new Notification(title, options); - } - static _create_2(title) { - return new Notification(title); - } - static get supported() { - return !!window.Notification; - } - get [S$2.$actions]() { - return this.actions; - } - get [S$2.$badge]() { - return this.badge; - } - get [S$1.$body]() { - return this.body; - } - get [S$.$data]() { - return this.data; - } - get [S.$dir]() { - return this.dir; - } - get [S$2.$icon]() { - return this.icon; - } - get [S$2.$image]() { - return this.image; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$renotify]() { - return this.renotify; - } - get [S$2.$requireInteraction]() { - return this.requireInteraction; - } - get [S$2.$silent]() { - return this.silent; - } - get [S$2.$tag]() { - return this.tag; - } - get [S$.$timestamp]() { - return this.timestamp; - } - get [S.$title]() { - return this.title; - } - get [S$2.$vibrate]() { - return this.vibrate; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - static requestPermission() { - let completer = T$0.CompleterOfString().new(); - dart.global.Notification.requestPermission(dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 23940, 25, "value"); - completer.complete(value); - }, T$0.StringTovoid())); - return completer.future; - } - get [S.$onClick]() { - return html$.Notification.clickEvent.forTarget(this); - } - get [S.$onClose]() { - return html$.Notification.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Notification.errorEvent.forTarget(this); - } - get [S$2.$onShow]() { - return html$.Notification.showEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Notification); -dart.addTypeCaches(html$.Notification); -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), - [S$2.$badge]: dart.nullable(core.String), - [S$1.$body]: dart.nullable(core.String), - [S$.$data]: dart.nullable(core.Object), - [S.$dir]: dart.nullable(core.String), - [S$2.$icon]: dart.nullable(core.String), - [S$2.$image]: dart.nullable(core.String), - [S.$lang]: dart.nullable(core.String), - [S$2.$renotify]: dart.nullable(core.bool), - [S$2.$requireInteraction]: dart.nullable(core.bool), - [S$2.$silent]: dart.nullable(core.bool), - [S$2.$tag]: dart.nullable(core.String), - [S$.$timestamp]: dart.nullable(core.int), - [S.$title]: dart.nullable(core.String), - [S$2.$vibrate]: dart.nullable(core.List$(core.int)), - [S.$onClick]: async.Stream$(html$.Event), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$2.$onShow]: async.Stream$(html$.Event) -})); -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[361] || CT.C361; - }, - /*html$.Notification.closeEvent*/get closeEvent() { - return C[225] || CT.C225; - }, - /*html$.Notification.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.Notification.showEvent*/get showEvent() { - 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[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); - } - get [S$1.$action]() { - return this.action; - } - get [S$2.$notification]() { - return this.notification; - } - get [S$2.$reply]() { - return this.reply; - } -}; -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[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; - } - set [$reversed](value) { - this.reversed = value; - } - get [S$.$start]() { - return this.start; - } - set [S$.$start](value) { - this.start = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.OListElement.created = function() { - html$.OListElement.__proto__.created.call(this); - ; -}).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), - [S$.$start]: core.int, - [S.$type]: core.String -})); -dart.setSetterSignature(html$.OListElement, () => ({ - __proto__: dart.getSetters(html$.OListElement.__proto__), - [$reversed]: dart.nullable(core.bool), - [S$.$start]: core.int, - [S.$type]: core.String -})); -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"); - } - get [S$1.$contentWindow]() { - return html$._convertNativeToDart_Window(this[S$1._get_contentWindow]); - } - get [S$1._get_contentWindow]() { - return this.contentWindow; - } - get [S$.$data]() { - return this.data; - } - set [S$.$data](value) { - this.data = value; - } - get [S$.$form]() { - return this.form; - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - get [S$1.$useMap]() { - return this.useMap; - } - set [S$1.$useMap](value) { - this.useMap = value; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.ObjectElement.created = function() { - html$.ObjectElement.__proto__.created.call(this); - ; -}).prototype = html$.ObjectElement.prototype; -dart.addTypeTests(html$.ObjectElement); -dart.addTypeCaches(html$.ObjectElement); -dart.setMethodSignature(html$.ObjectElement, () => ({ - __proto__: dart.getMethods(html$.ObjectElement.__proto__), - [S$.__getter__]: dart.fnType(html$.Node, [core.String]), - [S$.__setter__]: dart.fnType(dart.void, [core.String, html$.Node]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$1._get_contentWindow]: dart.dynamic, - [S$.$data]: core.String, - [S$.$form]: dart.nullable(html$.FormElement), - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [$width]: core.String, - [S$.$willValidate]: core.bool -})); -dart.setSetterSignature(html$.ObjectElement, () => ({ - __proto__: dart.getSetters(html$.ObjectElement.__proto__), - [S$.$data]: core.String, - [$height]: core.String, - [$name]: core.String, - [S.$type]: core.String, - [S$1.$useMap]: core.String, - [$width]: core.String -})); -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[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); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$2.$convertToBlob](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.Blob, this.convertToBlob(options_dict)); - } - [S$.$getContext](contextType, attributes = null) { - 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); - } - return this[S$._getContext_2](contextType); - } - [S$._getContext_1](...args) { - return this.getContext.apply(this, args); - } - [S$._getContext_2](...args) { - return this.getContext.apply(this, args); - } - [S$2.$transferToImageBitmap](...args) { - return this.transferToImageBitmap.apply(this, args); - } -}; -dart.addTypeTests(html$.OffscreenCanvas); -dart.addTypeCaches(html$.OffscreenCanvas); -dart.setMethodSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvas.__proto__), - [S$2.$convertToBlob]: dart.fnType(async.Future$(html$.Blob), [], [dart.nullable(core.Map)]), - [S$.$getContext]: dart.fnType(dart.nullable(core.Object), [core.String], [dart.nullable(core.Map)]), - [S$._getContext_1]: dart.fnType(dart.nullable(core.Object), [dart.dynamic, dart.dynamic]), - [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), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.OffscreenCanvas, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvas.__proto__), - [$height]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.OffscreenCanvas, I[150]); -dart.registerExtension("OffscreenCanvas", html$.OffscreenCanvas); -html$.OffscreenCanvasRenderingContext2D = class OffscreenCanvasRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OffscreenCanvasRenderingContext2D.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S.$direction]() { - return this.direction; - } - set [S.$direction](value) { - this.direction = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$font]() { - return this.font; - } - set [S$.$font](value) { - this.font = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - get [S$.$textAlign]() { - return this.textAlign; - } - set [S$.$textAlign](value) { - this.textAlign = value; - } - get [S$.$textBaseline]() { - return this.textBaseline; - } - set [S$.$textBaseline](value) { - this.textBaseline = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$.$createImageData](data_OR_imagedata_OR_sw, sh_OR_sw = null, imageDataColorSettings_OR_sh = null, imageDataColorSettings = null) { - if (html$.ImageData.is(data_OR_imagedata_OR_sw) && sh_OR_sw == null && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(data_OR_imagedata_OR_sw); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_1](imagedata_1)); - } - if (sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings_OR_sh == null && imageDataColorSettings == null) { - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_2](data_OR_imagedata_OR_sw, sh_OR_sw)); - } - if (core.Map.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && core.int.is(data_OR_imagedata_OR_sw) && imageDataColorSettings == null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings_OR_sh); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_3](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_1)); - } - if (imageDataColorSettings != null && core.int.is(imageDataColorSettings_OR_sh) && sh_OR_sw != null && data_OR_imagedata_OR_sw != null) { - let imageDataColorSettings_1 = html_common.convertDartToNative_Dictionary(imageDataColorSettings); - return html_common.convertNativeToDart_ImageData(this[S$._createImageData_4](data_OR_imagedata_OR_sw, sh_OR_sw, imageDataColorSettings_OR_sh, imageDataColorSettings_1)); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._createImageData_1](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_2](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_3](...args) { - return this.createImageData.apply(this, args); - } - [S$._createImageData_4](...args) { - return this.createImageData.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$fillText](...args) { - return this.fillText.apply(this, args); - } - [S$.$getImageData](sx, sy, sw, 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) { - return this.getImageData.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$measureText](...args) { - 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[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); - return; - } - if (dirtyHeight != null && dirtyWidth != null && dirtyY != null && dirtyX != null) { - let imagedata_1 = html_common.convertDartToNative_ImageData(imagedata); - this[S$._putImageData_2](imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$._putImageData_1](...args) { - return this.putImageData.apply(this, args); - } - [S$._putImageData_2](...args) { - return this.putImageData.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$strokeText](...args) { - return this.strokeText.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.OffscreenCanvasRenderingContext2D); -dart.addTypeCaches(html$.OffscreenCanvasRenderingContext2D); -html$.OffscreenCanvasRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$.$createImageData]: dart.fnType(html$.ImageData, [dart.dynamic], [dart.nullable(core.int), dart.dynamic, dart.nullable(core.Map)]), - [S$._createImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic]), - [S$._createImageData_2]: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - [S$._createImageData_3]: dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]), - [S$._createImageData_4]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.nullable(core.int), dart.dynamic]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$fillText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$getImageData]: dart.fnType(html$.ImageData, [core.int, core.int, core.int, core.int]), - [S$._getImageData_1]: dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$measureText]: dart.fnType(html$.TextMetrics, [core.String]), - [S$.$putImageData]: dart.fnType(dart.void, [html$.ImageData, core.int, core.int], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int), dart.nullable(core.int)]), - [S$._putImageData_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - [S$._putImageData_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$strokeText]: dart.fnType(dart.void, [core.String, core.num, core.num], [dart.nullable(core.num)]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.OffscreenCanvasRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.OffscreenCanvasRenderingContext2D.__proto__), - [S.$direction]: dart.nullable(core.String), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$font]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object), - [S$.$textAlign]: dart.nullable(core.String), - [S$.$textBaseline]: dart.nullable(core.String) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } -}; -(html$.OptGroupElement.created = function() { - html$.OptGroupElement.__proto__.created.call(this); - ; -}).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, - [S$.$label]: core.String -})); -dart.setSetterSignature(html$.OptGroupElement, () => ({ - __proto__: dart.getSetters(html$.OptGroupElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$label]: core.String -})); -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[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.__(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); - } - if (defaultSelected != null) { - return html$.OptionElement._create_2(data, value, defaultSelected); - } - if (value != null) { - return html$.OptionElement._create_3(data, value); - } - if (data != null) { - return html$.OptionElement._create_4(data); - } - 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); - } - static _create_2(data, value, defaultSelected) { - return new Option(data, value, defaultSelected); - } - static _create_3(data, value) { - return new Option(data, value); - } - static _create_4(data) { - return new Option(data); - } - static _create_5() { - return new Option(); - } - static ['_#created#tearOff']() { - return new html$.OptionElement.created(); - } - get [S$2.$defaultSelected]() { - return this.defaultSelected; - } - set [S$2.$defaultSelected](value) { - this.defaultSelected = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S.$index]() { - return this.index; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.OptionElement.created = function() { - html$.OptionElement.__proto__.created.call(this); - ; -}).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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S.$index]: core.int, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String -})); -dart.setSetterSignature(html$.OptionElement, () => ({ - __proto__: dart.getSetters(html$.OptionElement.__proto__), - [S$2.$defaultSelected]: core.bool, - [S$.$disabled]: core.bool, - [S$.$label]: dart.nullable(core.String), - [S$.$selected]: core.bool, - [S.$value]: core.String -})); -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"); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$.$form]() { - return this.form; - } - get [S$1.$htmlFor]() { - return this.htmlFor; - } - get [S$.$labels]() { - return this.labels; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } -}; -(html$.OutputElement.created = function() { - html$.OutputElement.__proto__.created.call(this); - ; -}).prototype = html$.OutputElement.prototype; -dart.addTypeTests(html$.OutputElement); -dart.addTypeCaches(html$.OutputElement); -dart.setMethodSignature(html$.OutputElement, () => ({ - __proto__: dart.getMethods(html$.OutputElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [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), - [S$.$form]: dart.nullable(html$.FormElement), - [S$1.$htmlFor]: dart.nullable(html$.DomTokenList), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$name]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool) -})); -dart.setSetterSignature(html$.OutputElement, () => ({ - __proto__: dart.getSetters(html$.OutputElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) -})); -dart.setStaticGetterSignature(html$.OutputElement, () => ['supported']); -dart.setLibraryUri(html$.OutputElement, I[150]); -dart.registerExtension("HTMLOutputElement", html$.OutputElement); -html$.OverconstrainedError = class OverconstrainedError$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.OverconstrainedError.__(); - } - static new(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._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); - } - get [S$2.$constraint]() { - return this.constraint; - } - get [$message]() { - return this.message; - } - get [$name]() { - return this.name; - } -}; -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[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[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); - } - static _create_2(type) { - return new PageTransitionEvent(type); - } - get [S$2.$persisted]() { - return this.persisted; - } -}; -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[150]); -dart.registerExtension("PageTransitionEvent", html$.PageTransitionEvent); -html$.PaintRenderingContext2D = class PaintRenderingContext2D extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintRenderingContext2D.__(); - } - get [S$.$currentTransform]() { - return this.currentTransform; - } - set [S$.$currentTransform](value) { - this.currentTransform = value; - } - get [S$.$fillStyle]() { - return this.fillStyle; - } - set [S$.$fillStyle](value) { - this.fillStyle = value; - } - get [S$.$filter]() { - return this.filter; - } - set [S$.$filter](value) { - this.filter = value; - } - get [S$.$globalAlpha]() { - return this.globalAlpha; - } - set [S$.$globalAlpha](value) { - this.globalAlpha = value; - } - get [S$.$globalCompositeOperation]() { - return this.globalCompositeOperation; - } - set [S$.$globalCompositeOperation](value) { - this.globalCompositeOperation = value; - } - get [S$.$imageSmoothingEnabled]() { - return this.imageSmoothingEnabled; - } - set [S$.$imageSmoothingEnabled](value) { - this.imageSmoothingEnabled = value; - } - get [S$.$imageSmoothingQuality]() { - return this.imageSmoothingQuality; - } - set [S$.$imageSmoothingQuality](value) { - this.imageSmoothingQuality = value; - } - get [S$.$lineCap]() { - return this.lineCap; - } - set [S$.$lineCap](value) { - this.lineCap = value; - } - get [S$.$lineDashOffset]() { - return this.lineDashOffset; - } - set [S$.$lineDashOffset](value) { - this.lineDashOffset = value; - } - get [S$.$lineJoin]() { - return this.lineJoin; - } - set [S$.$lineJoin](value) { - this.lineJoin = value; - } - get [S$.$lineWidth]() { - return this.lineWidth; - } - set [S$.$lineWidth](value) { - this.lineWidth = value; - } - get [S$.$miterLimit]() { - return this.miterLimit; - } - set [S$.$miterLimit](value) { - this.miterLimit = value; - } - get [S$.$shadowBlur]() { - return this.shadowBlur; - } - set [S$.$shadowBlur](value) { - this.shadowBlur = value; - } - get [S$.$shadowColor]() { - return this.shadowColor; - } - set [S$.$shadowColor](value) { - this.shadowColor = value; - } - get [S$.$shadowOffsetX]() { - return this.shadowOffsetX; - } - set [S$.$shadowOffsetX](value) { - this.shadowOffsetX = value; - } - get [S$.$shadowOffsetY]() { - return this.shadowOffsetY; - } - set [S$.$shadowOffsetY](value) { - this.shadowOffsetY = value; - } - get [S$.$strokeStyle]() { - return this.strokeStyle; - } - set [S$.$strokeStyle](value) { - this.strokeStyle = value; - } - [S$.$beginPath](...args) { - return this.beginPath.apply(this, args); - } - [S$.$clearRect](...args) { - return this.clearRect.apply(this, args); - } - [S$.$clip](...args) { - return this.clip.apply(this, args); - } - [S$.$createLinearGradient](...args) { - return this.createLinearGradient.apply(this, args); - } - [S$.$createPattern](...args) { - return this.createPattern.apply(this, args); - } - [S$.$createRadialGradient](...args) { - return this.createRadialGradient.apply(this, args); - } - [S$.$drawImage](...args) { - return this.drawImage.apply(this, args); - } - [S$.$fill](...args) { - return this.fill.apply(this, args); - } - [S$.$fillRect](...args) { - return this.fillRect.apply(this, args); - } - [S$.$getLineDash](...args) { - return this.getLineDash.apply(this, args); - } - [S$.$isPointInPath](...args) { - return this.isPointInPath.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } - [S$.$resetTransform](...args) { - return this.resetTransform.apply(this, args); - } - [S$.$restore](...args) { - return this.restore.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$.$save](...args) { - return this.save.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$.$setLineDash](...args) { - return this.setLineDash.apply(this, args); - } - [S$.$setTransform](...args) { - return this.setTransform.apply(this, args); - } - [S$.$stroke](...args) { - return this.stroke.apply(this, args); - } - [S$.$strokeRect](...args) { - return this.strokeRect.apply(this, args); - } - [S$.$transform](...args) { - return this.transform.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.PaintRenderingContext2D); -dart.addTypeCaches(html$.PaintRenderingContext2D); -html$.PaintRenderingContext2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getMethods(html$.PaintRenderingContext2D.__proto__), - [S$.$beginPath]: dart.fnType(dart.void, []), - [S$.$clearRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$clip]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$createLinearGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num]), - [S$.$createPattern]: dart.fnType(dart.nullable(html$.CanvasPattern), [dart.dynamic, core.String]), - [S$.$createRadialGradient]: dart.fnType(html$.CanvasGradient, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$drawImage]: dart.fnType(dart.void, [dart.dynamic, core.num, core.num], [dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num), dart.nullable(core.num)]), - [S$.$fill]: dart.fnType(dart.void, [], [dart.dynamic, dart.nullable(core.String)]), - [S$.$fillRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$getLineDash]: dart.fnType(core.List$(core.num), []), - [S$.$isPointInPath]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.dynamic, dart.nullable(core.String)]), - [S$.$isPointInStroke]: dart.fnType(core.bool, [dart.dynamic, core.num], [dart.nullable(core.num)]), - [S$.$resetTransform]: dart.fnType(dart.void, []), - [S$.$restore]: dart.fnType(dart.void, []), - [S$.$rotate]: dart.fnType(dart.void, [core.num]), - [S$.$save]: dart.fnType(dart.void, []), - [S$.$scale]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$setLineDash]: dart.fnType(dart.void, [core.List$(core.num)]), - [S$.$setTransform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$stroke]: dart.fnType(dart.void, [], [dart.nullable(html$.Path2D)]), - [S$.$strokeRect]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$.$transform]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S.$translate]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) -})); -dart.setSetterSignature(html$.PaintRenderingContext2D, () => ({ - __proto__: dart.getSetters(html$.PaintRenderingContext2D.__proto__), - [S$.$currentTransform]: dart.nullable(svg$.Matrix), - [S$.$fillStyle]: dart.nullable(core.Object), - [S$.$filter]: dart.nullable(core.String), - [S$.$globalAlpha]: dart.nullable(core.num), - [S$.$globalCompositeOperation]: dart.nullable(core.String), - [S$.$imageSmoothingEnabled]: dart.nullable(core.bool), - [S$.$imageSmoothingQuality]: dart.nullable(core.String), - [S$.$lineCap]: dart.nullable(core.String), - [S$.$lineDashOffset]: dart.nullable(core.num), - [S$.$lineJoin]: dart.nullable(core.String), - [S$.$lineWidth]: dart.nullable(core.num), - [S$.$miterLimit]: dart.nullable(core.num), - [S$.$shadowBlur]: dart.nullable(core.num), - [S$.$shadowColor]: dart.nullable(core.String), - [S$.$shadowOffsetX]: dart.nullable(core.num), - [S$.$shadowOffsetY]: dart.nullable(core.num), - [S$.$strokeStyle]: dart.nullable(core.Object) -})); -dart.setLibraryUri(html$.PaintRenderingContext2D, I[150]); -dart.registerExtension("PaintRenderingContext2D", html$.PaintRenderingContext2D); -html$.PaintSize = class PaintSize extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaintSize.__(); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } -}; -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[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; - } - [S$2.$registerPaint](...args) { - return this.registerPaint.apply(this, args); - } -}; -dart.addTypeTests(html$.PaintWorkletGlobalScope); -dart.addTypeCaches(html$.PaintWorkletGlobalScope); -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[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); - ; -}).prototype = html$.ParagraphElement.prototype; -dart.addTypeTests(html$.ParagraphElement); -dart.addTypeCaches(html$.ParagraphElement); -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; - } - set [$name](value) { - this.name = value; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.ParamElement.created = function() { - html$.ParamElement.__proto__.created.call(this); - ; -}).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, - [S.$value]: core.String -})); -dart.setSetterSignature(html$.ParamElement, () => ({ - __proto__: dart.getSetters(html$.ParamElement.__proto__), - [$name]: core.String, - [S.$value]: core.String -})); -dart.setLibraryUri(html$.ParamElement, I[150]); -dart.registerExtension("HTMLParamElement", html$.ParamElement); -html$.ParentNode = class ParentNode extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ParentNode.__(); - } - get [S._childElementCount]() { - return this._childElementCount; - } - get [S._children]() { - return this._children; - } - get [S._firstElementChild]() { - return this._firstElementChild; - } - get [S._lastElementChild]() { - return this._lastElementChild; - } -}; -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, - [S._children]: dart.nullable(core.List$(html$.Node)), - [S._firstElementChild]: dart.nullable(html$.Element), - [S._lastElementChild]: dart.nullable(html$.Element) -})); -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); - return html$.PasswordCredential._create_1(data_1); - } - if (html$.FormElement.is(data_OR_form)) { - return html$.PasswordCredential._create_2(data_OR_form); - } - 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); - } - static _create_2(data_OR_form) { - return new PasswordCredential(data_OR_form); - } - get [S$2.$additionalData]() { - return this.additionalData; - } - set [S$2.$additionalData](value) { - this.additionalData = value; - } - get [S$2.$idName]() { - return this.idName; - } - set [S$2.$idName](value) { - this.idName = value; - } - get [S$.$password]() { - return this.password; - } - get [S$2.$passwordName]() { - return this.passwordName; - } - set [S$2.$passwordName](value) { - this.passwordName = value; - } - get [S$.$iconUrl]() { - return this.iconURL; - } - get [$name]() { - return this.name; - } -}; -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), - [S$2.$idName]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String), - [S$.$iconUrl]: dart.nullable(core.String), - [$name]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.PasswordCredential, () => ({ - __proto__: dart.getSetters(html$.PasswordCredential.__proto__), - [S$2.$additionalData]: dart.nullable(core.Object), - [S$2.$idName]: dart.nullable(core.String), - [S$2.$passwordName]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PasswordCredential, I[150]); -dart.registerExtension("PasswordCredential", html$.PasswordCredential); -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(); - } - if (html$.Path2D.is(path_OR_text)) { - return html$.Path2D._create_2(path_OR_text); - } - if (typeof path_OR_text == 'string') { - return html$.Path2D._create_3(path_OR_text); - } - 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(); - } - static _create_2(path_OR_text) { - return new Path2D(path_OR_text); - } - static _create_3(path_OR_text) { - return new Path2D(path_OR_text); - } - [S$2.$addPath](...args) { - return this.addPath.apply(this, args); - } - [S$.$arc](...args) { - return this.arc.apply(this, args); - } - [S$.$arcTo](...args) { - return this.arcTo.apply(this, args); - } - [S$.$bezierCurveTo](...args) { - return this.bezierCurveTo.apply(this, args); - } - [S$.$closePath](...args) { - return this.closePath.apply(this, args); - } - [S$.$ellipse](...args) { - return this.ellipse.apply(this, args); - } - [S$.$lineTo](...args) { - return this.lineTo.apply(this, args); - } - [S$.$moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$quadraticCurveTo](...args) { - return this.quadraticCurveTo.apply(this, args); - } - [S$.$rect](...args) { - return this.rect.apply(this, args); - } -}; -dart.addTypeTests(html$.Path2D); -dart.addTypeCaches(html$.Path2D); -html$.Path2D[dart.implements] = () => [html$._CanvasPath]; -dart.setMethodSignature(html$.Path2D, () => ({ - __proto__: dart.getMethods(html$.Path2D.__proto__), - [S$2.$addPath]: dart.fnType(dart.void, [html$.Path2D], [dart.nullable(svg$.Matrix)]), - [S$.$arc]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$arcTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num]), - [S$.$bezierCurveTo]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num]), - [S$.$closePath]: dart.fnType(dart.void, []), - [S$.$ellipse]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num, core.num, core.num, core.num, dart.nullable(core.bool)]), - [S$.$lineTo]: dart.fnType(dart.void, [core.num, core.num]), - [S$.$moveTo]: dart.fnType(dart.void, [core.num, core.num]), - [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$.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentAddress.__(); - } - get [S$2.$addressLine]() { - return this.addressLine; - } - get [S$2.$city]() { - return this.city; - } - get [S$2.$country]() { - return this.country; - } - get [S$2.$dependentLocality]() { - return this.dependentLocality; - } - get [S$2.$languageCode]() { - return this.languageCode; - } - get [S$2.$organization]() { - return this.organization; - } - get [S$2.$phone]() { - return this.phone; - } - get [S$2.$postalCode]() { - return this.postalCode; - } - get [S$2.$recipient]() { - return this.recipient; - } - get [S$1.$region]() { - return this.region; - } - get [S$2.$sortingCode]() { - return this.sortingCode; - } -}; -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)), - [S$2.$city]: dart.nullable(core.String), - [S$2.$country]: dart.nullable(core.String), - [S$2.$dependentLocality]: dart.nullable(core.String), - [S$2.$languageCode]: dart.nullable(core.String), - [S$2.$organization]: dart.nullable(core.String), - [S$2.$phone]: dart.nullable(core.String), - [S$2.$postalCode]: dart.nullable(core.String), - [S$2.$recipient]: dart.nullable(core.String), - [S$1.$region]: dart.nullable(core.String), - [S$2.$sortingCode]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PaymentAddress, I[150]); -dart.registerExtension("PaymentAddress", html$.PaymentAddress); -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[149], 25057, 30, "instrumentKey"); - return js_util.promiseToFuture(core.bool, this.delete(instrumentKey)); - } - [S.$get](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[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[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)); - } -}; -dart.addTypeTests(html$.PaymentInstruments); -dart.addTypeCaches(html$.PaymentInstruments); -dart.setMethodSignature(html$.PaymentInstruments, () => ({ - __proto__: dart.getMethods(html$.PaymentInstruments.__proto__), - [$clear]: dart.fnType(async.Future, []), - [S.$delete]: dart.fnType(async.Future$(core.bool), [core.String]), - [S.$get]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), [core.String]), - [S$.$has]: dart.fnType(async.Future, [core.String]), - [$keys]: dart.fnType(async.Future$(core.List), []), - [S$.$set]: dart.fnType(async.Future, [core.String, core.Map]) -})); -dart.setStaticMethodSignature(html$.PaymentInstruments, () => ['__']); -dart.setLibraryUri(html$.PaymentInstruments, I[150]); -dart.registerExtension("PaymentInstruments", html$.PaymentInstruments); -html$.PaymentManager = class PaymentManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentManager.__(); - } - get [S$2.$instruments]() { - return this.instruments; - } - get [S$2.$userHint]() { - return this.userHint; - } - set [S$2.$userHint](value) { - this.userHint = value; - } -}; -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), - [S$2.$userHint]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.PaymentManager, () => ({ - __proto__: dart.getSetters(html$.PaymentManager.__proto__), - [S$2.$userHint]: dart.nullable(core.String) -})); -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[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)); - } - if (options != null) { - let details_1 = html_common.convertDartToNative_Dictionary(details); - let options_2 = html_common.convertDartToNative_Dictionary(options); - return html$.PaymentRequest._create_1(methodData_1, details_1, options_2); - } - 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; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - get [S$2.$shippingType]() { - return this.shippingType; - } - [S.$abort]() { - return js_util.promiseToFuture(dart.dynamic, this.abort()); - } - [S$2.$canMakePayment]() { - return js_util.promiseToFuture(core.bool, this.canMakePayment()); - } - [S$0.$show]() { - return js_util.promiseToFuture(html$.PaymentResponse, this.show()); - } -}; -dart.addTypeTests(html$.PaymentRequest); -dart.addTypeCaches(html$.PaymentRequest); -dart.setMethodSignature(html$.PaymentRequest, () => ({ - __proto__: dart.getMethods(html$.PaymentRequest.__proto__), - [S.$abort]: dart.fnType(async.Future, []), - [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), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String), - [S$2.$shippingType]: dart.nullable(core.String) -})); -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[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); - } - get [S$2.$instrumentKey]() { - return this.instrumentKey; - } - get [S$.$methodData]() { - return this.methodData; - } - get [S$.$modifiers]() { - return this.modifiers; - } - get [S$2.$paymentRequestId]() { - return this.paymentRequestId; - } - get [S$.$paymentRequestOrigin]() { - return this.paymentRequestOrigin; - } - get [S$.$topLevelOrigin]() { - return this.topLevelOrigin; - } - get [S$2.$total]() { - return this.total; - } - [S$.$openWindow](url) { - if (url == null) dart.nullFailed(I[149], 25178, 42, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.openWindow(url)); - } - [S$.$respondWith](...args) { - return this.respondWith.apply(this, args); - } -}; -dart.addTypeTests(html$.PaymentRequestEvent); -dart.addTypeCaches(html$.PaymentRequestEvent); -dart.setMethodSignature(html$.PaymentRequestEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestEvent.__proto__), - [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), - [S$.$methodData]: dart.nullable(core.List), - [S$.$modifiers]: dart.nullable(core.List), - [S$2.$paymentRequestId]: dart.nullable(core.String), - [S$.$paymentRequestOrigin]: dart.nullable(core.String), - [S$.$topLevelOrigin]: dart.nullable(core.String), - [S$2.$total]: dart.nullable(core.Object) -})); -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[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); - } - static _create_2(type) { - return new PaymentRequestUpdateEvent(type); - } - [S$2.$updateWith](...args) { - return this.updateWith.apply(this, args); - } -}; -dart.addTypeTests(html$.PaymentRequestUpdateEvent); -dart.addTypeCaches(html$.PaymentRequestUpdateEvent); -dart.setMethodSignature(html$.PaymentRequestUpdateEvent, () => ({ - __proto__: dart.getMethods(html$.PaymentRequestUpdateEvent.__proto__), - [S$2.$updateWith]: dart.fnType(dart.void, [async.Future]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PaymentResponse.__(); - } - get [S$.$details]() { - return this.details; - } - get [S$2.$methodName]() { - return this.methodName; - } - get [S$2.$payerEmail]() { - return this.payerEmail; - } - get [S$2.$payerName]() { - return this.payerName; - } - get [S$2.$payerPhone]() { - return this.payerPhone; - } - get [S$2.$requestId]() { - return this.requestId; - } - get [S$2.$shippingAddress]() { - return this.shippingAddress; - } - get [S$2.$shippingOption]() { - return this.shippingOption; - } - [S$1.$complete](paymentResult = null) { - return js_util.promiseToFuture(dart.dynamic, this.complete(paymentResult)); - } -}; -dart.addTypeTests(html$.PaymentResponse); -dart.addTypeCaches(html$.PaymentResponse); -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), - [S$2.$methodName]: dart.nullable(core.String), - [S$2.$payerEmail]: dart.nullable(core.String), - [S$2.$payerName]: dart.nullable(core.String), - [S$2.$payerPhone]: dart.nullable(core.String), - [S$2.$requestId]: dart.nullable(core.String), - [S$2.$shippingAddress]: dart.nullable(html$.PaymentAddress), - [S$2.$shippingOption]: dart.nullable(core.String) -})); -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; - } - get [S$2.$memory]() { - return this.memory; - } - get [S$2.$navigation]() { - return this.navigation; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - get [S$.$timing]() { - return this.timing; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, 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._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) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } -}; -dart.addTypeTests(html$.Performance); -dart.addTypeCaches(html$.Performance); -dart.setMethodSignature(html$.Performance, () => ({ - __proto__: dart.getMethods(html$.Performance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.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), - [S$2.$navigation]: html$.PerformanceNavigation, - [S$2.$timeOrigin]: dart.nullable(core.num), - [S$.$timing]: html$.PerformanceTiming -})); -dart.setStaticGetterSignature(html$.Performance, () => ['supported']); -dart.setLibraryUri(html$.Performance, I[150]); -dart.registerExtension("Performance", html$.Performance); -html$.PerformanceEntry = class PerformanceEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceEntry.__(); - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$entryType]() { - return this.entryType; - } - get [$name]() { - return this.name; - } - get [S$.$startTime]() { - return this.startTime; - } -}; -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, - [S$2.$entryType]: core.String, - [$name]: core.String, - [S$.$startTime]: core.num -})); -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[150]); -dart.registerExtension("PerformanceLongTaskTiming", html$.PerformanceLongTaskTiming); -html$.PerformanceMark = class PerformanceMark extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMark.__(); - } -}; -dart.addTypeTests(html$.PerformanceMark); -dart.addTypeCaches(html$.PerformanceMark); -dart.setStaticMethodSignature(html$.PerformanceMark, () => ['__']); -dart.setLibraryUri(html$.PerformanceMark, I[150]); -dart.registerExtension("PerformanceMark", html$.PerformanceMark); -html$.PerformanceMeasure = class PerformanceMeasure extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformanceMeasure.__(); - } -}; -dart.addTypeTests(html$.PerformanceMeasure); -dart.addTypeCaches(html$.PerformanceMeasure); -dart.setStaticMethodSignature(html$.PerformanceMeasure, () => ['__']); -dart.setLibraryUri(html$.PerformanceMeasure, I[150]); -dart.registerExtension("PerformanceMeasure", html$.PerformanceMeasure); -html$.PerformanceNavigation = class PerformanceNavigation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceNavigation.__(); - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } -}; -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[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; - }, - /*html$.PerformanceNavigation.TYPE_NAVIGATE*/get TYPE_NAVIGATE() { - return 0; - }, - /*html$.PerformanceNavigation.TYPE_RELOAD*/get TYPE_RELOAD() { - return 1; - }, - /*html$.PerformanceNavigation.TYPE_RESERVED*/get TYPE_RESERVED() { - return 255; - } -}, 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; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$decodedBodySize]() { - return this.decodedBodySize; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$encodedBodySize]() { - return this.encodedBodySize; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$initiatorType]() { - return this.initiatorType; - } - get [S$2.$nextHopProtocol]() { - return this.nextHopProtocol; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$serverTiming]() { - return this.serverTiming; - } - get [S$2.$transferSize]() { - return this.transferSize; - } - get [S$2.$workerStart]() { - return this.workerStart; - } -}; -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, - [S$2.$connectStart]: core.num, - [S$2.$decodedBodySize]: dart.nullable(core.int), - [S$2.$domainLookupEnd]: dart.nullable(core.num), - [S$2.$domainLookupStart]: dart.nullable(core.num), - [S$2.$encodedBodySize]: dart.nullable(core.int), - [S$2.$fetchStart]: dart.nullable(core.num), - [S$2.$initiatorType]: dart.nullable(core.String), - [S$2.$nextHopProtocol]: dart.nullable(core.String), - [S$2.$redirectEnd]: dart.nullable(core.num), - [S$2.$redirectStart]: dart.nullable(core.num), - [S$2.$requestStart]: dart.nullable(core.num), - [S$2.$responseEnd]: dart.nullable(core.num), - [S$2.$responseStart]: dart.nullable(core.num), - [S$2.$secureConnectionStart]: dart.nullable(core.num), - [S$2.$serverTiming]: dart.nullable(core.List$(html$.PerformanceServerTiming)), - [S$2.$transferSize]: dart.nullable(core.int), - [S$2.$workerStart]: dart.nullable(core.num) -})); -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; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$redirectCount]() { - return this.redirectCount; - } - get [S.$type]() { - return this.type; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } -}; -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), - [S$2.$domContentLoadedEventEnd]: dart.nullable(core.num), - [S$2.$domContentLoadedEventStart]: dart.nullable(core.num), - [S$2.$domInteractive]: dart.nullable(core.num), - [S$2.$loadEventEnd]: dart.nullable(core.num), - [S$2.$loadEventStart]: dart.nullable(core.num), - [S$2.$redirectCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$2.$unloadEventEnd]: dart.nullable(core.num), - [S$2.$unloadEventStart]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.PerformanceNavigationTiming, I[150]); -dart.registerExtension("PerformanceNavigationTiming", html$.PerformanceNavigationTiming); -html$.PerformanceObserver = class PerformanceObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](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; - } - [S$1._observe_1$1](...args) { - return this.observe.apply(this, args); - } -}; -dart.addTypeTests(html$.PerformanceObserver); -dart.addTypeCaches(html$.PerformanceObserver); -dart.setMethodSignature(html$.PerformanceObserver, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [core.Map]), - [S$1._observe_1$1]: dart.fnType(dart.void, [dart.dynamic]) -})); -dart.setStaticMethodSignature(html$.PerformanceObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.PerformanceObserver, I[150]); -dart.registerExtension("PerformanceObserver", html$.PerformanceObserver); -html$.PerformanceObserverEntryList = class PerformanceObserverEntryList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceObserverEntryList.__(); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } -}; -dart.addTypeTests(html$.PerformanceObserverEntryList); -dart.addTypeCaches(html$.PerformanceObserverEntryList); -dart.setMethodSignature(html$.PerformanceObserverEntryList, () => ({ - __proto__: dart.getMethods(html$.PerformanceObserverEntryList.__proto__), - [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]) -})); -dart.setStaticMethodSignature(html$.PerformanceObserverEntryList, () => ['__']); -dart.setLibraryUri(html$.PerformanceObserverEntryList, I[150]); -dart.registerExtension("PerformanceObserverEntryList", html$.PerformanceObserverEntryList); -html$.PerformancePaintTiming = class PerformancePaintTiming extends html$.PerformanceEntry { - static ['_#_#tearOff']() { - return html$.PerformancePaintTiming.__(); - } -}; -dart.addTypeTests(html$.PerformancePaintTiming); -dart.addTypeCaches(html$.PerformancePaintTiming); -dart.setStaticMethodSignature(html$.PerformancePaintTiming, () => ['__']); -dart.setLibraryUri(html$.PerformancePaintTiming, I[150]); -dart.registerExtension("PerformancePaintTiming", html$.PerformancePaintTiming); -html$.PerformanceServerTiming = class PerformanceServerTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceServerTiming.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$.$duration]() { - return this.duration; - } - get [$name]() { - return this.name; - } -}; -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[150]); -dart.registerExtension("PerformanceServerTiming", html$.PerformanceServerTiming); -html$.PerformanceTiming = class PerformanceTiming extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PerformanceTiming.__(); - } - get [S$2.$connectEnd]() { - return this.connectEnd; - } - get [S$2.$connectStart]() { - return this.connectStart; - } - get [S$2.$domComplete]() { - return this.domComplete; - } - get [S$2.$domContentLoadedEventEnd]() { - return this.domContentLoadedEventEnd; - } - get [S$2.$domContentLoadedEventStart]() { - return this.domContentLoadedEventStart; - } - get [S$2.$domInteractive]() { - return this.domInteractive; - } - get [S$2.$domLoading]() { - return this.domLoading; - } - get [S$2.$domainLookupEnd]() { - return this.domainLookupEnd; - } - get [S$2.$domainLookupStart]() { - return this.domainLookupStart; - } - get [S$2.$fetchStart]() { - return this.fetchStart; - } - get [S$2.$loadEventEnd]() { - return this.loadEventEnd; - } - get [S$2.$loadEventStart]() { - return this.loadEventStart; - } - get [S$2.$navigationStart]() { - return this.navigationStart; - } - get [S$2.$redirectEnd]() { - return this.redirectEnd; - } - get [S$2.$redirectStart]() { - return this.redirectStart; - } - get [S$2.$requestStart]() { - return this.requestStart; - } - get [S$2.$responseEnd]() { - return this.responseEnd; - } - get [S$2.$responseStart]() { - return this.responseStart; - } - get [S$2.$secureConnectionStart]() { - return this.secureConnectionStart; - } - get [S$2.$unloadEventEnd]() { - return this.unloadEventEnd; - } - get [S$2.$unloadEventStart]() { - return this.unloadEventStart; - } -}; -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, - [S$2.$connectStart]: core.int, - [S$2.$domComplete]: core.int, - [S$2.$domContentLoadedEventEnd]: core.int, - [S$2.$domContentLoadedEventStart]: core.int, - [S$2.$domInteractive]: core.int, - [S$2.$domLoading]: core.int, - [S$2.$domainLookupEnd]: core.int, - [S$2.$domainLookupStart]: core.int, - [S$2.$fetchStart]: core.int, - [S$2.$loadEventEnd]: core.int, - [S$2.$loadEventStart]: core.int, - [S$2.$navigationStart]: core.int, - [S$2.$redirectEnd]: core.int, - [S$2.$redirectStart]: core.int, - [S$2.$requestStart]: core.int, - [S$2.$responseEnd]: core.int, - [S$2.$responseStart]: core.int, - [S$2.$secureConnectionStart]: core.int, - [S$2.$unloadEventEnd]: core.int, - [S$2.$unloadEventStart]: core.int -})); -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; - } - get [S.$onChange]() { - return html$.PermissionStatus.changeEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PermissionStatus, () => ['changeEvent']); -dart.defineLazy(html$.PermissionStatus, { - /*html$.PermissionStatus.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - } -}, false); -dart.registerExtension("PermissionStatus", html$.PermissionStatus); -html$.Permissions = class Permissions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Permissions.__(); - } - [S$2.$query](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[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[149], 25662, 49, "permissions"); - return js_util.promiseToFuture(html$.PermissionStatus, this.requestAll(permissions)); - } - [S$2.$revoke](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)); - } -}; -dart.addTypeTests(html$.Permissions); -dart.addTypeCaches(html$.Permissions); -dart.setMethodSignature(html$.Permissions, () => ({ - __proto__: dart.getMethods(html$.Permissions.__proto__), - [S$2.$query]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [S$.$request]: dart.fnType(async.Future$(html$.PermissionStatus), [core.Map]), - [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.setStaticMethodSignature(html$.Permissions, () => ['__']); -dart.setLibraryUri(html$.Permissions, I[150]); -dart.registerExtension("Permissions", html$.Permissions); -html$.PhotoCapabilities = class PhotoCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PhotoCapabilities.__(); - } - get [S$2.$fillLightMode]() { - return this.fillLightMode; - } - get [S$2.$imageHeight]() { - return this.imageHeight; - } - get [S$2.$imageWidth]() { - return this.imageWidth; - } - get [S$2.$redEyeReduction]() { - return this.redEyeReduction; - } -}; -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), - [S$2.$imageHeight]: dart.nullable(html$.MediaSettingsRange), - [S$2.$imageWidth]: dart.nullable(html$.MediaSettingsRange), - [S$2.$redEyeReduction]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PhotoCapabilities, I[150]); -dart.registerExtension("PhotoCapabilities", html$.PhotoCapabilities); -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.setStaticMethodSignature(html$.PictureElement, () => ['__']); -dart.setLibraryUri(html$.PictureElement, I[150]); -dart.registerExtension("HTMLPictureElement", html$.PictureElement); -html$.Plugin = class Plugin extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Plugin.__(); - } - get [S$1.$description]() { - return this.description; - } - get [S$1.$filename]() { - return this.filename; - } - get [$length]() { - return this.length; - } - get [$name]() { - return this.name; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } -}; -dart.addTypeTests(html$.Plugin); -dart.addTypeCaches(html$.Plugin); -dart.setMethodSignature(html$.Plugin, () => ({ - __proto__: dart.getMethods(html$.Plugin.__proto__), - [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), - [S$1.$filename]: dart.nullable(core.String), - [$length]: dart.nullable(core.int), - [$name]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Plugin, I[150]); -dart.registerExtension("Plugin", html$.Plugin); -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[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[149], 25752, 25, "index"); - html$.Plugin.as(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[149], 25758, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 25786, 24, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$2.$refresh](...args) { - return this.refresh.apply(this, args); - } -}; -html$.PluginArray.prototype[dart.isList] = true; -dart.addTypeTests(html$.PluginArray); -dart.addTypeCaches(html$.PluginArray); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$.$item]: dart.fnType(dart.nullable(html$.Plugin), [core.int]), - [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 -})); -dart.setSetterSignature(html$.PluginArray, () => ({ - __proto__: dart.getSetters(html$.PluginArray.__proto__), - [$length]: core.int -})); -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[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); - } - static _create_2(type) { - return new PointerEvent(type); - } - get [$height]() { - return this.height; - } - get [S$2.$isPrimary]() { - return this.isPrimary; - } - get [S$2.$pointerId]() { - return this.pointerId; - } - get [S$2.$pointerType]() { - return this.pointerType; - } - get [S$2.$pressure]() { - return this.pressure; - } - get [S$2.$tangentialPressure]() { - return this.tangentialPressure; - } - get [S$2.$tiltX]() { - return this.tiltX; - } - get [S$2.$tiltY]() { - return this.tiltY; - } - get [S$2.$twist]() { - return this.twist; - } - get [$width]() { - return this.width; - } - [S$2.$getCoalescedEvents](...args) { - return this.getCoalescedEvents.apply(this, args); - } - static get supported() { - try { - return html$.PointerEvent.is(html$.PointerEvent.new("pointerover")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } -}; -dart.addTypeTests(html$.PointerEvent); -dart.addTypeCaches(html$.PointerEvent); -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), - [S$2.$isPrimary]: dart.nullable(core.bool), - [S$2.$pointerId]: dart.nullable(core.int), - [S$2.$pointerType]: dart.nullable(core.String), - [S$2.$pressure]: dart.nullable(core.num), - [S$2.$tangentialPressure]: dart.nullable(core.num), - [S$2.$tiltX]: dart.nullable(core.int), - [S$2.$tiltY]: dart.nullable(core.int), - [S$2.$twist]: dart.nullable(core.int), - [$width]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(type) { - return new PopStateEvent(type); - } - get [S$.$state]() { - return html_common.convertNativeToDart_SerializedScriptValue(this[S$1._get_state]); - } - get [S$1._get_state]() { - return this.state; - } -}; -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[150]); -dart.registerExtension("PopStateEvent", html$.PopStateEvent); -html$.PositionError = class PositionError extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PositionError.__(); - } - get [S$.$code]() { - return this.code; - } - get [$message]() { - return this.message; - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PositionError, () => ['PERMISSION_DENIED', 'POSITION_UNAVAILABLE', 'TIMEOUT']); -dart.defineLazy(html$.PositionError, { - /*html$.PositionError.PERMISSION_DENIED*/get PERMISSION_DENIED() { - return 1; - }, - /*html$.PositionError.POSITION_UNAVAILABLE*/get POSITION_UNAVAILABLE() { - return 2; - }, - /*html$.PositionError.TIMEOUT*/get TIMEOUT() { - return 3; - } -}, 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); - ; -}).prototype = html$.PreElement.prototype; -dart.addTypeTests(html$.PreElement); -dart.addTypeCaches(html$.PreElement); -dart.setStaticMethodSignature(html$.PreElement, () => ['__', 'new']); -dart.setLibraryUri(html$.PreElement, I[150]); -dart.registerExtension("HTMLPreElement", html$.PreElement); -html$.Presentation = class Presentation extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Presentation.__(); - } - get [S$2.$defaultRequest]() { - return this.defaultRequest; - } - set [S$2.$defaultRequest](value) { - this.defaultRequest = value; - } - get [S$2.$receiver]() { - return this.receiver; - } -}; -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), - [S$2.$receiver]: dart.nullable(html$.PresentationReceiver) -})); -dart.setSetterSignature(html$.Presentation, () => ({ - __proto__: dart.getSetters(html$.Presentation.__proto__), - [S$2.$defaultRequest]: dart.nullable(html$.PresentationRequest) -})); -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; - } - get [S.$onChange]() { - return html$.PresentationAvailability.changeEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.PresentationAvailability, () => ['changeEvent']); -dart.defineLazy(html$.PresentationAvailability, { - /*html$.PresentationAvailability.changeEvent*/get changeEvent() { - 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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$state]() { - return this.state; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S$.$onMessage]() { - return html$.PresentationConnection.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.PresentationConnection); -dart.addTypeCaches(html$.PresentationConnection); -dart.setMethodSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getMethods(html$.PresentationConnection.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [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), - [S.$id]: dart.nullable(core.String), - [S$.$state]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -dart.setSetterSignature(html$.PresentationConnection, () => ({ - __proto__: dart.getSetters(html$.PresentationConnection.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.PresentationConnection, I[150]); -dart.setStaticFieldSignature(html$.PresentationConnection, () => ['messageEvent']); -dart.defineLazy(html$.PresentationConnection, { - /*html$.PresentationConnection.messageEvent*/get messageEvent() { - 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[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); - } - get [S$1.$connection]() { - return this.connection; - } -}; -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[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[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); - } - get [$message]() { - return this.message; - } - get [S$.$reason]() { - return this.reason; - } -}; -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[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[150]); -dart.registerExtension("PresentationConnectionList", html$.PresentationConnectionList); -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[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); - } - if (T$.ListOfString().is(url_OR_urls)) { - let urls_1 = html_common.convertDartToNative_StringArray(url_OR_urls); - return html$.PresentationRequest._create_2(urls_1); - } - 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); - } - static _create_2(url_OR_urls) { - return new PresentationRequest(url_OR_urls); - } - [S$2.$getAvailability]() { - return js_util.promiseToFuture(html$.PresentationAvailability, this.getAvailability()); - } - [S$2.$reconnect](id) { - if (id == null) dart.nullFailed(I[149], 26120, 51, "id"); - return js_util.promiseToFuture(html$.PresentationConnection, this.reconnect(id)); - } - [S$.$start]() { - return js_util.promiseToFuture(html$.PresentationConnection, this.start()); - } -}; -dart.addTypeTests(html$.PresentationRequest); -dart.addTypeCaches(html$.PresentationRequest); -dart.setMethodSignature(html$.PresentationRequest, () => ({ - __proto__: dart.getMethods(html$.PresentationRequest.__proto__), - [S$2.$getAvailability]: dart.fnType(async.Future$(html$.PresentationAvailability), []), - [S$2.$reconnect]: dart.fnType(async.Future$(html$.PresentationConnection), [core.String]), - [S$.$start]: dart.fnType(async.Future$(html$.PresentationConnection), []) -})); -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; - } - get [S.$target]() { - return this.target; - } -}; -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[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"); - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$max]() { - return this.max; - } - set [S$1.$max](value) { - this.max = value; - } - get [S$0.$position]() { - return this.position; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -(html$.ProgressElement.created = function() { - html$.ProgressElement.__proto__.created.call(this); - ; -}).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)), - [S$1.$max]: core.num, - [S$0.$position]: core.num, - [S.$value]: core.num -})); -dart.setSetterSignature(html$.ProgressElement, () => ({ - __proto__: dart.getSetters(html$.ProgressElement.__proto__), - [S$1.$max]: core.num, - [S.$value]: core.num -})); -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[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); - } - static _create_2(type) { - return new ProgressEvent(type); - } - get [S$2.$lengthComputable]() { - return this.lengthComputable; - } - get [S$1.$loaded]() { - return this.loaded; - } - get [S$2.$total]() { - return this.total; - } -}; -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[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[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); - } - get [S$2.$promise]() { - return js_util.promiseToFuture(dart.dynamic, this.promise); - } - get [S$.$reason]() { - return this.reason; - } -}; -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[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; - } - get [S$.$response]() { - return this.response; - } -}; -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[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[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); - } - static _create_2(type) { - return new PushEvent(type); - } - get [S$.$data]() { - return this.data; - } -}; -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[150]); -dart.registerExtension("PushEvent", html$.PushEvent); -html$.PushManager = class PushManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushManager.__(); - } - [S$2.$getSubscription]() { - return js_util.promiseToFuture(html$.PushSubscription, this.getSubscription()); - } - [S$2.$permissionState](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.permissionState(options_dict)); - } - [S$2.$subscribe](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.PushSubscription, this.subscribe(options_dict)); - } -}; -dart.addTypeTests(html$.PushManager); -dart.addTypeCaches(html$.PushManager); -dart.setMethodSignature(html$.PushManager, () => ({ - __proto__: dart.getMethods(html$.PushManager.__proto__), - [S$2.$getSubscription]: dart.fnType(async.Future$(html$.PushSubscription), []), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushMessageData.__(); - } - [S$.$arrayBuffer](...args) { - return this.arrayBuffer.apply(this, args); - } - [S$.$blob](...args) { - return this.blob.apply(this, args); - } - [S$.$json](...args) { - return this.json.apply(this, args); - } - [S.$text](...args) { - return this.text.apply(this, args); - } -}; -dart.addTypeTests(html$.PushMessageData); -dart.addTypeCaches(html$.PushMessageData); -dart.setMethodSignature(html$.PushMessageData, () => ({ - __proto__: dart.getMethods(html$.PushMessageData.__proto__), - [S$.$arrayBuffer]: dart.fnType(typed_data.ByteBuffer, []), - [S$.$blob]: dart.fnType(html$.Blob, []), - [S$.$json]: dart.fnType(core.Object, []), - [S.$text]: dart.fnType(core.String, []) -})); -dart.setStaticMethodSignature(html$.PushMessageData, () => ['__']); -dart.setLibraryUri(html$.PushMessageData, I[150]); -dart.registerExtension("PushMessageData", html$.PushMessageData); -html$.PushSubscription = class PushSubscription extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscription.__(); - } - get [S$2.$endpoint]() { - return this.endpoint; - } - get [S$2.$expirationTime]() { - return this.expirationTime; - } - get [S$0.$options]() { - return this.options; - } - [S.$getKey](...args) { - return this.getKey.apply(this, args); - } - [S$2.$unsubscribe]() { - return js_util.promiseToFuture(core.bool, this.unsubscribe()); - } -}; -dart.addTypeTests(html$.PushSubscription); -dart.addTypeCaches(html$.PushSubscription); -dart.setMethodSignature(html$.PushSubscription, () => ({ - __proto__: dart.getMethods(html$.PushSubscription.__proto__), - [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[150]); -dart.registerExtension("PushSubscription", html$.PushSubscription); -html$.PushSubscriptionOptions = class PushSubscriptionOptions extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.PushSubscriptionOptions.__(); - } - get [S$2.$applicationServerKey]() { - return this.applicationServerKey; - } - get [S$2.$userVisibleOnly]() { - return this.userVisibleOnly; - } -}; -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[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; - } - set [S$1.$cite](value) { - this.cite = value; - } -}; -(html$.QuoteElement.created = function() { - html$.QuoteElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.QuoteElement, () => ({ - __proto__: dart.getSetters(html$.QuoteElement.__proto__), - [S$1.$cite]: core.String -})); -dart.setLibraryUri(html$.QuoteElement, I[150]); -dart.registerExtension("HTMLQuoteElement", html$.QuoteElement); -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[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; - } - get [S$2.$commonAncestorContainer]() { - return this.commonAncestorContainer; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - [S$2.$cloneContents](...args) { - return this.cloneContents.apply(this, args); - } - [S$2.$cloneRange](...args) { - return this.cloneRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$compareBoundaryPoints](...args) { - return this.compareBoundaryPoints.apply(this, args); - } - [S$2.$comparePoint](...args) { - return this.comparePoint.apply(this, args); - } - [S$2.$createContextualFragment](...args) { - return this.createContextualFragment.apply(this, args); - } - [S$2.$deleteContents](...args) { - return this.deleteContents.apply(this, args); - } - [S$2.$detach](...args) { - return this.detach.apply(this, args); - } - [$expand](...args) { - return this.expand.apply(this, args); - } - [S$2.$extractContents](...args) { - return this.extractContents.apply(this, args); - } - [S.$getBoundingClientRect](...args) { - return this.getBoundingClientRect.apply(this, args); - } - [S._getClientRects](...args) { - return this.getClientRects.apply(this, args); - } - [S$2.$insertNode](...args) { - return this.insertNode.apply(this, args); - } - [S$2.$isPointInRange](...args) { - return this.isPointInRange.apply(this, args); - } - [S$2.$selectNode](...args) { - return this.selectNode.apply(this, args); - } - [S$2.$selectNodeContents](...args) { - return this.selectNodeContents.apply(this, args); - } - [S$2.$setEnd](...args) { - return this.setEnd.apply(this, args); - } - [S$2.$setEndAfter](...args) { - return this.setEndAfter.apply(this, args); - } - [S$2.$setEndBefore](...args) { - return this.setEndBefore.apply(this, args); - } - [S$2.$setStart](...args) { - return this.setStart.apply(this, args); - } - [S$2.$setStartAfter](...args) { - return this.setStartAfter.apply(this, args); - } - [S$2.$setStartBefore](...args) { - return this.setStartBefore.apply(this, args); - } - [S$2.$surroundContents](...args) { - return this.surroundContents.apply(this, args); - } - [S.$getClientRects]() { - let value = this[S._getClientRects](); - let jsProto = value.prototype; - if (jsProto == null) { - value.prototype = Object.create(null); - } - _js_helper.applyExtension("DOMRectList", value); - return value; - } - static get supportsCreateContextualFragment() { - return "createContextualFragment" in window.Range.prototype; - } -}; -dart.addTypeTests(html$.Range); -dart.addTypeCaches(html$.Range); -dart.setMethodSignature(html$.Range, () => ({ - __proto__: dart.getMethods(html$.Range.__proto__), - [S$2.$cloneContents]: dart.fnType(html$.DocumentFragment, []), - [S$2.$cloneRange]: dart.fnType(html$.Range, []), - [S$2.$collapse]: dart.fnType(dart.void, [], [dart.nullable(core.bool)]), - [S$2.$compareBoundaryPoints]: dart.fnType(core.int, [core.int, html$.Range]), - [S$2.$comparePoint]: dart.fnType(core.int, [html$.Node, core.int]), - [S$2.$createContextualFragment]: dart.fnType(html$.DocumentFragment, [core.String]), - [S$2.$deleteContents]: dart.fnType(dart.void, []), - [S$2.$detach]: dart.fnType(dart.void, []), - [$expand]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$extractContents]: dart.fnType(html$.DocumentFragment, []), - [S.$getBoundingClientRect]: dart.fnType(math.Rectangle$(core.num), []), - [S._getClientRects]: dart.fnType(core.List$(math.Rectangle$(core.num)), []), - [S$2.$insertNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$isPointInRange]: dart.fnType(core.bool, [html$.Node, core.int]), - [S$2.$selectNode]: dart.fnType(dart.void, [html$.Node]), - [S$2.$selectNodeContents]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEnd]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setEndAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setEndBefore]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStart]: dart.fnType(dart.void, [html$.Node, core.int]), - [S$2.$setStartAfter]: dart.fnType(dart.void, [html$.Node]), - [S$2.$setStartBefore]: dart.fnType(dart.void, [html$.Node]), - [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, - [S$2.$commonAncestorContainer]: html$.Node, - [S$2.$endContainer]: html$.Node, - [S$2.$endOffset]: core.int, - [S$2.$startContainer]: html$.Node, - [S$2.$startOffset]: core.int -})); -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; - }, - /*html$.Range.END_TO_START*/get END_TO_START() { - return 3; - }, - /*html$.Range.START_TO_END*/get START_TO_END() { - return 1; - }, - /*html$.Range.START_TO_START*/get START_TO_START() { - return 0; - } -}, false); -dart.registerExtension("Range", html$.Range); -html$.RelatedApplication = class RelatedApplication extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RelatedApplication.__(); - } - get [S.$id]() { - return this.id; - } - get [S$2.$platform]() { - return this.platform; - } - get [S$.$url]() { - return this.url; - } -}; -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[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); - return html$.RelativeOrientationSensor._create_1(sensorOptions_1); - } - return html$.RelativeOrientationSensor._create_2(); - } - static ['_#new#tearOff'](sensorOptions = null) { - return html$.RelativeOrientationSensor.new(sensorOptions); - } - static _create_1(sensorOptions) { - return new RelativeOrientationSensor(sensorOptions); - } - static _create_2() { - return new RelativeOrientationSensor(); - } -}; -dart.addTypeTests(html$.RelativeOrientationSensor); -dart.addTypeCaches(html$.RelativeOrientationSensor); -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; - } - [S$2.$cancelWatchAvailability](id = null) { - return js_util.promiseToFuture(dart.dynamic, this.cancelWatchAvailability(id)); - } - [S$.$prompt]() { - return js_util.promiseToFuture(dart.dynamic, this.prompt()); - } - [S$2.$watchAvailability](callback) { - if (callback == null) dart.nullFailed(I[149], 26588, 68, "callback"); - return js_util.promiseToFuture(core.int, this.watchAvailability(callback)); - } -}; -dart.addTypeTests(html$.RemotePlayback); -dart.addTypeCaches(html$.RemotePlayback); -dart.setMethodSignature(html$.RemotePlayback, () => ({ - __proto__: dart.getMethods(html$.RemotePlayback.__proto__), - [S$2.$cancelWatchAvailability]: dart.fnType(async.Future, [], [dart.nullable(core.int)]), - [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[150]); -dart.registerExtension("RemotePlayback", html$.RemotePlayback); -html$.ReportingObserver = class ReportingObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ReportingObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } -}; -dart.addTypeTests(html$.ReportingObserver); -dart.addTypeCaches(html$.ReportingObserver); -dart.setMethodSignature(html$.ReportingObserver, () => ({ - __proto__: dart.getMethods(html$.ReportingObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, []) -})); -dart.setStaticMethodSignature(html$.ReportingObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.ReportingObserver, I[150]); -dart.registerExtension("ReportingObserver", html$.ReportingObserver); -html$.ResizeObserver = class ResizeObserver$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserver.__(); - } - static new(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); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [S.$observe](...args) { - return this.observe.apply(this, args); - } - [S.$unobserve](...args) { - return this.unobserve.apply(this, args); - } -}; -dart.addTypeTests(html$.ResizeObserver); -dart.addTypeCaches(html$.ResizeObserver); -dart.setMethodSignature(html$.ResizeObserver, () => ({ - __proto__: dart.getMethods(html$.ResizeObserver.__proto__), - [S$1.$disconnect]: dart.fnType(dart.void, []), - [S.$observe]: dart.fnType(dart.void, [html$.Element]), - [S.$unobserve]: dart.fnType(dart.void, [html$.Element]) -})); -dart.setStaticMethodSignature(html$.ResizeObserver, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.ResizeObserver, I[150]); -dart.registerExtension("ResizeObserver", html$.ResizeObserver); -html$.ResizeObserverEntry = class ResizeObserverEntry extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ResizeObserverEntry.__(); - } - get [S$2.$contentRect]() { - return this.contentRect; - } - get [S.$target]() { - return this.target; - } -}; -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[150]); -dart.registerExtension("ResizeObserverEntry", html$.ResizeObserverEntry); -html$.RtcCertificate = class RtcCertificate extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcCertificate.__(); - } - get [S$2.$expires]() { - return this.expires; - } - [S$2.$getFingerprints](...args) { - return this.getFingerprints.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcCertificate); -dart.addTypeCaches(html$.RtcCertificate); -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[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; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$2.$bufferedAmountLowThreshold]() { - return this.bufferedAmountLowThreshold; - } - set [S$2.$bufferedAmountLowThreshold](value) { - this.bufferedAmountLowThreshold = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$maxRetransmitTime]() { - return this.maxRetransmitTime; - } - get [S$2.$maxRetransmits]() { - return this.maxRetransmits; - } - get [S$2.$negotiated]() { - return this.negotiated; - } - get [S$2.$ordered]() { - return this.ordered; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$2.$reliable]() { - return this.reliable; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.RtcDataChannel.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.RtcDataChannel.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.RtcDataChannel.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.RtcDataChannel.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcDataChannel); -dart.addTypeCaches(html$.RtcDataChannel); -dart.setMethodSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getMethods(html$.RtcDataChannel.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int), - [S.$id]: dart.nullable(core.int), - [S$.$label]: dart.nullable(core.String), - [S$2.$maxRetransmitTime]: dart.nullable(core.int), - [S$2.$maxRetransmits]: dart.nullable(core.int), - [S$2.$negotiated]: dart.nullable(core.bool), - [S$2.$ordered]: dart.nullable(core.bool), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.String), - [S$2.$reliable]: dart.nullable(core.bool), - [S.$onClose]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.RtcDataChannel, () => ({ - __proto__: dart.getSetters(html$.RtcDataChannel.__proto__), - [S$2.$binaryType]: dart.nullable(core.String), - [S$2.$bufferedAmountLowThreshold]: dart.nullable(core.int) -})); -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[225] || CT.C225; - }, - /*html$.RtcDataChannel.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.RtcDataChannel.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.RtcDataChannel.openEvent*/get openEvent() { - 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[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); - } - get [S$2.$channel]() { - return this.channel; - } -}; -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[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; - } - get [S$.$duration]() { - return this.duration; - } - get [S$2.$interToneGap]() { - return this.interToneGap; - } - get [S$2.$toneBuffer]() { - return this.toneBuffer; - } - get [S$1.$track]() { - return this.track; - } - [S$2.$insertDtmf](...args) { - return this.insertDTMF.apply(this, args); - } - get [S$2.$onToneChange]() { - return html$.RtcDtmfSender.toneChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcDtmfSender); -dart.addTypeCaches(html$.RtcDtmfSender); -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), - [S$.$duration]: dart.nullable(core.int), - [S$2.$interToneGap]: dart.nullable(core.int), - [S$2.$toneBuffer]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.MediaStreamTrack), - [S$2.$onToneChange]: async.Stream$(html$.RtcDtmfToneChangeEvent) -})); -dart.setLibraryUri(html$.RtcDtmfSender, I[150]); -dart.setStaticFieldSignature(html$.RtcDtmfSender, () => ['toneChangeEvent']); -dart.defineLazy(html$.RtcDtmfSender, { - /*html$.RtcDtmfSender.toneChangeEvent*/get toneChangeEvent() { - 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[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); - } - get [S$2.$tone]() { - return this.tone; - } -}; -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[150]); -dart.registerExtension("RTCDTMFToneChangeEvent", html$.RtcDtmfToneChangeEvent); -html$.RtcIceCandidate = class RtcIceCandidate extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$candidate](value) { - this.candidate = value; - } - get [S$2.$sdpMLineIndex]() { - return this.sdpMLineIndex; - } - set [S$2.$sdpMLineIndex](value) { - this.sdpMLineIndex = value; - } - get [S$2.$sdpMid]() { - return this.sdpMid; - } - set [S$2.$sdpMid](value) { - this.sdpMid = value; - } -}; -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), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.RtcIceCandidate, () => ({ - __proto__: dart.getSetters(html$.RtcIceCandidate.__proto__), - [S$2.$candidate]: dart.nullable(core.String), - [S$2.$sdpMLineIndex]: dart.nullable(core.int), - [S$2.$sdpMid]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.RtcIceCandidate, I[150]); -dart.registerExtension("RTCIceCandidate", html$.RtcIceCandidate); -dart.registerExtension("mozRTCIceCandidate", html$.RtcIceCandidate); -html$.RtcLegacyStatsReport = class RtcLegacyStatsReport extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcLegacyStatsReport.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$timestamp]() { - return html_common.convertNativeToDart_DateTime(this[S$2._get_timestamp]); - } - get [S$2._get_timestamp]() { - return this.timestamp; - } - get [S.$type]() { - return this.type; - } - [S$2.$names](...args) { - return this.names.apply(this, args); - } - [S$2.$stat](...args) { - return this.stat.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcLegacyStatsReport); -dart.addTypeCaches(html$.RtcLegacyStatsReport); -dart.setMethodSignature(html$.RtcLegacyStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcLegacyStatsReport.__proto__), - [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), - [S$.$timestamp]: core.DateTime, - [S$2._get_timestamp]: dart.dynamic, - [S.$type]: dart.nullable(core.String) -})); -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[149], 26953, 33, "rtcIceServers"); - let constructorName = window.RTCPeerConnection; - if (mediaConstraints != null) { - return new constructorName(html_common.convertDartToNative_SerializedScriptValue(rtcIceServers), html_common.convertDartToNative_SerializedScriptValue(mediaConstraints)); - } else { - 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"])])])); - return true; - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - return false; - } else - throw e; - } - return false; - } - [S$2.$getLegacyStats](selector = null) { - let completer = T$0.CompleterOfRtcStatsResponse().new(); - this[S$2._getStats](dart.fn(value => { - if (value == null) dart.nullFailed(I[149], 26997, 16, "value"); - completer.complete(value); - }, T$0.RtcStatsResponseTovoid()), selector); - return completer.future; - } - [S$2._getStats](...args) { - return this.getStats.apply(this, args); - } - 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; - } - get [S$2.$iceGatheringState]() { - return this.iceGatheringState; - } - get [S$2.$localDescription]() { - return this.localDescription; - } - get [S$2.$remoteDescription]() { - return this.remoteDescription; - } - get [S$2.$signalingState]() { - return this.signalingState; - } - [S$2.$addIceCandidate](candidate, successCallback = null, failureCallback = null) { - 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) { - if (mediaConstraints != null) { - let mediaConstraints_1 = html_common.convertDartToNative_Dictionary(mediaConstraints); - this[S$2._addStream_1](stream, mediaConstraints_1); - return; - } - this[S$2._addStream_2](stream); - return; - } - [S$2._addStream_1](...args) { - return this.addStream.apply(this, args); - } - [S$2._addStream_2](...args) { - return this.addStream.apply(this, args); - } - [S$1.$addTrack](...args) { - return this.addTrack.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$2.$createAnswer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createAnswer(options_dict)); - } - [S$2.$createDtmfSender](...args) { - return this.createDTMFSender.apply(this, args); - } - [S$2.$createDataChannel](label, dataChannelDict = null) { - 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); - } - return this[S$2._createDataChannel_2](label); - } - [S$2._createDataChannel_1](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2._createDataChannel_2](...args) { - return this.createDataChannel.apply(this, args); - } - [S$2.$createOffer](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.RtcSessionDescription, this.createOffer(options_dict)); - } - [S$2.$getLocalStreams](...args) { - return this.getLocalStreams.apply(this, args); - } - [S$2.$getReceivers](...args) { - return this.getReceivers.apply(this, args); - } - [S$2.$getRemoteStreams](...args) { - return this.getRemoteStreams.apply(this, args); - } - [S$2.$getSenders](...args) { - return this.getSenders.apply(this, args); - } - [S$2.$getStats]() { - return js_util.promiseToFuture(html$.RtcStatsReport, this.getStats()); - } - [S$2.$removeStream](...args) { - return this.removeStream.apply(this, args); - } - [S$1.$removeTrack](...args) { - return this.removeTrack.apply(this, args); - } - [S$2.$setConfiguration](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; - } - [S$2._setConfiguration_1](...args) { - return this.setConfiguration.apply(this, args); - } - [S$2.$setLocalDescription](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[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); - } - get [S$2.$onIceCandidate]() { - return html$.RtcPeerConnection.iceCandidateEvent.forTarget(this); - } - get [S$2.$onIceConnectionStateChange]() { - return html$.RtcPeerConnection.iceConnectionStateChangeEvent.forTarget(this); - } - get [S$2.$onNegotiationNeeded]() { - return html$.RtcPeerConnection.negotiationNeededEvent.forTarget(this); - } - get [S$2.$onRemoveStream]() { - return html$.RtcPeerConnection.removeStreamEvent.forTarget(this); - } - get [S$2.$onSignalingStateChange]() { - return html$.RtcPeerConnection.signalingStateChangeEvent.forTarget(this); - } - get [S$2.$onTrack]() { - return html$.RtcPeerConnection.trackEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.RtcPeerConnection); -dart.addTypeCaches(html$.RtcPeerConnection); -dart.setMethodSignature(html$.RtcPeerConnection, () => ({ - __proto__: dart.getMethods(html$.RtcPeerConnection.__proto__), - [S$2.$getLegacyStats]: dart.fnType(async.Future$(html$.RtcStatsResponse), [], [dart.nullable(html$.MediaStreamTrack)]), - [S$2._getStats]: dart.fnType(async.Future, [], [dart.nullable(dart.fnType(dart.void, [html$.RtcStatsResponse])), dart.nullable(html$.MediaStreamTrack)]), - [S$2.$addIceCandidate]: dart.fnType(async.Future, [core.Object], [dart.nullable(dart.fnType(dart.void, [])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$2.$addStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)], [dart.nullable(core.Map)]), - [S$2._addStream_1]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream), dart.dynamic]), - [S$2._addStream_2]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$addTrack]: dart.fnType(html$.RtcRtpSender, [html$.MediaStreamTrack, html$.MediaStream]), - [S.$close]: dart.fnType(dart.void, []), - [S$2.$createAnswer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$createDtmfSender]: dart.fnType(html$.RtcDtmfSender, [html$.MediaStreamTrack]), - [S$2.$createDataChannel]: dart.fnType(html$.RtcDataChannel, [core.String], [dart.nullable(core.Map)]), - [S$2._createDataChannel_1]: dart.fnType(html$.RtcDataChannel, [dart.dynamic, dart.dynamic]), - [S$2._createDataChannel_2]: dart.fnType(html$.RtcDataChannel, [dart.dynamic]), - [S$2.$createOffer]: dart.fnType(async.Future$(html$.RtcSessionDescription), [], [dart.nullable(core.Map)]), - [S$2.$getLocalStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getReceivers]: dart.fnType(core.List$(html$.RtcRtpReceiver), []), - [S$2.$getRemoteStreams]: dart.fnType(core.List$(html$.MediaStream), []), - [S$2.$getSenders]: dart.fnType(core.List$(html$.RtcRtpSender), []), - [S$2.$getStats]: dart.fnType(async.Future$(html$.RtcStatsReport), []), - [S$2.$removeStream]: dart.fnType(dart.void, [dart.nullable(html$.MediaStream)]), - [S$1.$removeTrack]: dart.fnType(dart.void, [html$.RtcRtpSender]), - [S$2.$setConfiguration]: dart.fnType(dart.void, [core.Map]), - [S$2._setConfiguration_1]: dart.fnType(dart.void, [dart.dynamic]), - [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), - [S$2.$onNegotiationNeeded]: async.Stream$(html$.Event), - [S$2.$onRemoveStream]: async.Stream$(html$.MediaStreamEvent), - [S$2.$onSignalingStateChange]: async.Stream$(html$.Event), - [S$2.$onTrack]: async.Stream$(html$.RtcTrackEvent) -})); -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[364] || CT.C364; - }, - /*html$.RtcPeerConnection.connectionStateChangeEvent*/get connectionStateChangeEvent() { - return C[365] || CT.C365; - }, - /*html$.RtcPeerConnection.dataChannelEvent*/get dataChannelEvent() { - return C[366] || CT.C366; - }, - /*html$.RtcPeerConnection.iceCandidateEvent*/get iceCandidateEvent() { - return C[367] || CT.C367; - }, - /*html$.RtcPeerConnection.iceConnectionStateChangeEvent*/get iceConnectionStateChangeEvent() { - return C[368] || CT.C368; - }, - /*html$.RtcPeerConnection.negotiationNeededEvent*/get negotiationNeededEvent() { - return C[369] || CT.C369; - }, - /*html$.RtcPeerConnection.removeStreamEvent*/get removeStreamEvent() { - return C[370] || CT.C370; - }, - /*html$.RtcPeerConnection.signalingStateChangeEvent*/get signalingStateChangeEvent() { - return C[371] || CT.C371; - }, - /*html$.RtcPeerConnection.trackEvent*/get trackEvent() { - 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[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); - } - static _create_2(type) { - return new RTCPeerConnectionIceEvent(type); - } - get [S$2.$candidate]() { - return this.candidate; - } -}; -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[150]); -dart.registerExtension("RTCPeerConnectionIceEvent", html$.RtcPeerConnectionIceEvent); -html$.RtcRtpContributingSource = class RtcRtpContributingSource extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpContributingSource.__(); - } - get [S.$source]() { - return this.source; - } - get [S$.$timestamp]() { - return this.timestamp; - } -}; -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[150]); -dart.registerExtension("RTCRtpContributingSource", html$.RtcRtpContributingSource); -html$.RtcRtpReceiver = class RtcRtpReceiver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcRtpReceiver.__(); - } - get [S$1.$track]() { - return this.track; - } - [S$2.$getContributingSources](...args) { - return this.getContributingSources.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcRtpReceiver); -dart.addTypeCaches(html$.RtcRtpReceiver); -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[150]); -dart.registerExtension("RTCRtpReceiver", html$.RtcRtpReceiver); -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[150]); -dart.registerExtension("RTCRtpSender", html$.RtcRtpSender); -html$.RtcSessionDescription = class RtcSessionDescription extends _interceptors.JavaScriptObject { - static new(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; - } - set [S$2.$sdp](value) { - this.sdp = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -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), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.RtcSessionDescription, () => ({ - __proto__: dart.getSetters(html$.RtcSessionDescription.__proto__), - [S$2.$sdp]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.RtcSessionDescription, I[150]); -dart.registerExtension("RTCSessionDescription", html$.RtcSessionDescription); -dart.registerExtension("mozRTCSessionDescription", html$.RtcSessionDescription); -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[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[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[149], 27358, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[149], 27364, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27376, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[149], 27382, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(html$.RtcStatsReport); -dart.addTypeCaches(html$.RtcStatsReport); -dart.setMethodSignature(html$.RtcStatsReport, () => ({ - __proto__: dart.getMethods(html$.RtcStatsReport.__proto__), - [S$1._getItem]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[150]); -dart.registerExtension("RTCStatsReport", html$.RtcStatsReport); -html$.RtcStatsResponse = class RtcStatsResponse extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.RtcStatsResponse.__(); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S.$result](...args) { - return this.result.apply(this, args); - } -}; -dart.addTypeTests(html$.RtcStatsResponse); -dart.addTypeCaches(html$.RtcStatsResponse); -dart.setMethodSignature(html$.RtcStatsResponse, () => ({ - __proto__: dart.getMethods(html$.RtcStatsResponse.__proto__), - [S$1.$namedItem]: dart.fnType(html$.RtcLegacyStatsReport, [dart.nullable(core.String)]), - [S.$result]: dart.fnType(core.List$(html$.RtcLegacyStatsReport), []) -})); -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[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); - } - get [S$2.$receiver]() { - return this.receiver; - } - get [S$2.$streams]() { - return this.streams; - } - get [S$1.$track]() { - return this.track; - } -}; -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[150]); -dart.registerExtension("RTCTrackEvent", html$.RtcTrackEvent); -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; - } - get [S$2._availLeft]() { - return this.availLeft; - } - get [S$2._availTop]() { - return this.availTop; - } - get [S$2._availWidth]() { - return this.availWidth; - } - get [S$2.$colorDepth]() { - return this.colorDepth; - } - get [$height]() { - return this.height; - } - get [S$2.$keepAwake]() { - return this.keepAwake; - } - set [S$2.$keepAwake](value) { - this.keepAwake = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$pixelDepth]() { - return this.pixelDepth; - } - get [$width]() { - return this.width; - } -}; -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), - [S$2._availHeight]: dart.nullable(core.int), - [S$2._availLeft]: dart.nullable(core.int), - [S$2._availTop]: dart.nullable(core.int), - [S$2._availWidth]: dart.nullable(core.int), - [S$2.$colorDepth]: dart.nullable(core.int), - [$height]: dart.nullable(core.int), - [S$2.$keepAwake]: dart.nullable(core.bool), - [S$.$orientation]: dart.nullable(html$.ScreenOrientation), - [S$2.$pixelDepth]: dart.nullable(core.int), - [$width]: dart.nullable(core.int) -})); -dart.setSetterSignature(html$.Screen, () => ({ - __proto__: dart.getSetters(html$.Screen.__proto__), - [S$2.$keepAwake]: dart.nullable(core.bool) -})); -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; - } - get [S.$type]() { - return this.type; - } - [S$2.$lock](orientation) { - if (orientation == null) dart.nullFailed(I[149], 27504, 22, "orientation"); - return js_util.promiseToFuture(dart.dynamic, this.lock(orientation)); - } - [S$2.$unlock](...args) { - return this.unlock.apply(this, args); - } - get [S.$onChange]() { - return html$.ScreenOrientation.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ScreenOrientation); -dart.addTypeCaches(html$.ScreenOrientation); -dart.setMethodSignature(html$.ScreenOrientation, () => ({ - __proto__: dart.getMethods(html$.ScreenOrientation.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.ScreenOrientation, () => ['changeEvent']); -dart.defineLazy(html$.ScreenOrientation, { - /*html$.ScreenOrientation.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$async](value) { - this.async = value; - } - get [S$2.$charset]() { - return this.charset; - } - set [S$2.$charset](value) { - this.charset = value; - } - get [S$.$crossOrigin]() { - return this.crossOrigin; - } - set [S$.$crossOrigin](value) { - this.crossOrigin = value; - } - get [S$2.$defer]() { - return this.defer; - } - set [S$2.$defer](value) { - this.defer = value; - } - get [S$1.$integrity]() { - return this.integrity; - } - set [S$1.$integrity](value) { - this.integrity = value; - } - get [S$2.$noModule]() { - return this.noModule; - } - set [S$2.$noModule](value) { - this.noModule = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.ScriptElement.created = function() { - html$.ScriptElement.__proto__.created.call(this); - ; -}).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), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String -})); -dart.setSetterSignature(html$.ScriptElement, () => ({ - __proto__: dart.getSetters(html$.ScriptElement.__proto__), - [S$1.$async]: dart.nullable(core.bool), - [S$2.$charset]: core.String, - [S$.$crossOrigin]: dart.nullable(core.String), - [S$2.$defer]: dart.nullable(core.bool), - [S$1.$integrity]: dart.nullable(core.String), - [S$2.$noModule]: dart.nullable(core.bool), - [S$.$src]: core.String, - [S.$type]: core.String -})); -dart.setLibraryUri(html$.ScriptElement, I[150]); -dart.registerExtension("HTMLScriptElement", html$.ScriptElement); -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); - return html$.ScrollState._create_1(scrollStateInit_1); - } - return html$.ScrollState._create_2(); - } - static ['_#new#tearOff'](scrollStateInit = null) { - return html$.ScrollState.new(scrollStateInit); - } - static _create_1(scrollStateInit) { - return new ScrollState(scrollStateInit); - } - static _create_2() { - return new ScrollState(); - } - get [S$2.$deltaGranularity]() { - return this.deltaGranularity; - } - get [S$2.$deltaX]() { - return this.deltaX; - } - get [S$2.$deltaY]() { - return this.deltaY; - } - get [S$2.$fromUserInput]() { - return this.fromUserInput; - } - get [S$2.$inInertialPhase]() { - return this.inInertialPhase; - } - get [S$2.$isBeginning]() { - return this.isBeginning; - } - get [S$2.$isDirectManipulation]() { - return this.isDirectManipulation; - } - get [S$2.$isEnding]() { - return this.isEnding; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$2.$velocityX]() { - return this.velocityX; - } - get [S$2.$velocityY]() { - return this.velocityY; - } - [S$2.$consumeDelta](...args) { - return this.consumeDelta.apply(this, args); - } - [S$2.$distributeToScrollChainDescendant](...args) { - return this.distributeToScrollChainDescendant.apply(this, args); - } -}; -dart.addTypeTests(html$.ScrollState); -dart.addTypeCaches(html$.ScrollState); -dart.setMethodSignature(html$.ScrollState, () => ({ - __proto__: dart.getMethods(html$.ScrollState.__proto__), - [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), - [S$2.$deltaX]: dart.nullable(core.num), - [S$2.$deltaY]: dart.nullable(core.num), - [S$2.$fromUserInput]: dart.nullable(core.bool), - [S$2.$inInertialPhase]: dart.nullable(core.bool), - [S$2.$isBeginning]: dart.nullable(core.bool), - [S$2.$isDirectManipulation]: dart.nullable(core.bool), - [S$2.$isEnding]: dart.nullable(core.bool), - [S$2.$positionX]: dart.nullable(core.int), - [S$2.$positionY]: dart.nullable(core.int), - [S$2.$velocityX]: dart.nullable(core.num), - [S$2.$velocityY]: dart.nullable(core.num) -})); -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); - return html$.ScrollTimeline._create_1(options_1); - } - return html$.ScrollTimeline._create_2(); - } - static ['_#new#tearOff'](options = null) { - return html$.ScrollTimeline.new(options); - } - static _create_1(options) { - return new ScrollTimeline(options); - } - static _create_2() { - return new ScrollTimeline(); - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$2.$scrollSource]() { - return this.scrollSource; - } - get [S$2.$timeRange]() { - return this.timeRange; - } -}; -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[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[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); - } - static _create_2(type) { - return new SecurityPolicyViolationEvent(type); - } - get [S$2.$blockedUri]() { - return this.blockedURI; - } - get [S$2.$columnNumber]() { - return this.columnNumber; - } - get [S$2.$disposition]() { - return this.disposition; - } - get [S$2.$documentUri]() { - return this.documentURI; - } - get [S$2.$effectiveDirective]() { - return this.effectiveDirective; - } - get [S$0.$lineNumber]() { - return this.lineNumber; - } - get [S$2.$originalPolicy]() { - return this.originalPolicy; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$2.$sample]() { - return this.sample; - } - get [S$0.$sourceFile]() { - return this.sourceFile; - } - get [S$2.$statusCode]() { - return this.statusCode; - } - get [S$2.$violatedDirective]() { - return this.violatedDirective; - } -}; -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), - [S$2.$columnNumber]: dart.nullable(core.int), - [S$2.$disposition]: dart.nullable(core.String), - [S$2.$documentUri]: dart.nullable(core.String), - [S$2.$effectiveDirective]: dart.nullable(core.String), - [S$0.$lineNumber]: dart.nullable(core.int), - [S$2.$originalPolicy]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$2.$sample]: dart.nullable(core.String), - [S$0.$sourceFile]: dart.nullable(core.String), - [S$2.$statusCode]: dart.nullable(core.int), - [S$2.$violatedDirective]: dart.nullable(core.String) -})); -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; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [$length]() { - return this.length; - } - set [$length](value) { - this.length = value; - } - get [S$1.$multiple]() { - return this.multiple; - } - set [S$1.$multiple](value) { - this.multiple = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - set [S$2.$selectedIndex](value) { - this.selectedIndex = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - [S$.__setter__](...args) { - return this.__setter__.apply(this, args); - } - [$add](...args) { - return this.add.apply(this, args); - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$1.$namedItem](...args) { - return this.namedItem.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - get [S$0.$options]() { - let options = this[S.$querySelectorAll](html$.OptionElement, "option"); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(T$0.IterableOfOptionElement().as(dart.dsend(options, 'toList', []))); - } - 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[149], 27804, 41, "o"); - return o.selected; - }, T$0.OptionElementTobool()))[$toList](); - return new (T$0.UnmodifiableListViewOfOptionElement()).new(options); - } else { - return T$0.JSArrayOfOptionElement().of([this[S$0.$options][$_get](dart.nullCheck(this.selectedIndex))]); - } - } -}; -(html$.SelectElement.created = function() { - html$.SelectElement.__proto__.created.call(this); - ; -}).prototype = html$.SelectElement.prototype; -dart.addTypeTests(html$.SelectElement); -dart.addTypeCaches(html$.SelectElement); -dart.setMethodSignature(html$.SelectElement, () => ({ - __proto__: dart.getMethods(html$.SelectElement.__proto__), - [S$.__setter__]: dart.fnType(dart.void, [core.int, dart.nullable(html$.OptionElement)]), - [$add]: dart.fnType(dart.void, [core.Object, dart.nullable(core.Object)]), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$item]: dart.fnType(dart.nullable(html$.Element), [core.int]), - [S$1.$namedItem]: dart.fnType(dart.nullable(html$.OptionElement), [core.String]), - [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, - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$type]: core.String, - [S$.$validationMessage]: core.String, - [S$.$validity]: html$.ValidityState, - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: core.bool, - [S$0.$options]: core.List$(html$.OptionElement), - [S$2.$selectedOptions]: core.List$(html$.OptionElement) -})); -dart.setSetterSignature(html$.SelectElement, () => ({ - __proto__: dart.getSetters(html$.SelectElement.__proto__), - [S$.$autofocus]: core.bool, - [S$.$disabled]: core.bool, - [$length]: dart.nullable(core.int), - [S$1.$multiple]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$.$required]: dart.nullable(core.bool), - [S$2.$selectedIndex]: dart.nullable(core.int), - [S$.$size]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.SelectElement, I[150]); -dart.registerExtension("HTMLSelectElement", html$.SelectElement); -html$.Selection = class Selection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Selection.__(); - } - get [S$2.$anchorNode]() { - return this.anchorNode; - } - get [S$2.$anchorOffset]() { - return this.anchorOffset; - } - get [S$2.$baseNode]() { - return this.baseNode; - } - get [S$2.$baseOffset]() { - return this.baseOffset; - } - get [S$2.$extentNode]() { - return this.extentNode; - } - get [S$2.$extentOffset]() { - return this.extentOffset; - } - get [S$2.$focusNode]() { - return this.focusNode; - } - get [S$2.$focusOffset]() { - return this.focusOffset; - } - get [S$2.$isCollapsed]() { - return this.isCollapsed; - } - get [S$2.$rangeCount]() { - return this.rangeCount; - } - get [S.$type]() { - return this.type; - } - [S$2.$addRange](...args) { - return this.addRange.apply(this, args); - } - [S$2.$collapse](...args) { - return this.collapse.apply(this, args); - } - [S$2.$collapseToEnd](...args) { - return this.collapseToEnd.apply(this, args); - } - [S$2.$collapseToStart](...args) { - return this.collapseToStart.apply(this, args); - } - [S$2.$containsNode](...args) { - return this.containsNode.apply(this, args); - } - [S$2.$deleteFromDocument](...args) { - return this.deleteFromDocument.apply(this, args); - } - [S$2.$empty](...args) { - return this.empty.apply(this, args); - } - [S$2.$extend](...args) { - return this.extend.apply(this, args); - } - [S$2.$getRangeAt](...args) { - return this.getRangeAt.apply(this, args); - } - [S$2.$modify](...args) { - return this.modify.apply(this, args); - } - [S$2.$removeAllRanges](...args) { - return this.removeAllRanges.apply(this, args); - } - [$removeRange](...args) { - return this.removeRange.apply(this, args); - } - [S$2.$selectAllChildren](...args) { - return this.selectAllChildren.apply(this, args); - } - [S$2.$setBaseAndExtent](...args) { - return this.setBaseAndExtent.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(html$.Selection); -dart.addTypeCaches(html$.Selection); -dart.setMethodSignature(html$.Selection, () => ({ - __proto__: dart.getMethods(html$.Selection.__proto__), - [S$2.$addRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$collapse]: dart.fnType(dart.void, [dart.nullable(html$.Node)], [dart.nullable(core.int)]), - [S$2.$collapseToEnd]: dart.fnType(dart.void, []), - [S$2.$collapseToStart]: dart.fnType(dart.void, []), - [S$2.$containsNode]: dart.fnType(core.bool, [html$.Node], [dart.nullable(core.bool)]), - [S$2.$deleteFromDocument]: dart.fnType(dart.void, []), - [S$2.$empty]: dart.fnType(dart.void, []), - [S$2.$extend]: dart.fnType(dart.void, [html$.Node], [dart.nullable(core.int)]), - [S$2.$getRangeAt]: dart.fnType(html$.Range, [core.int]), - [S$2.$modify]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(core.String), dart.nullable(core.String)]), - [S$2.$removeAllRanges]: dart.fnType(dart.void, []), - [$removeRange]: dart.fnType(dart.void, [html$.Range]), - [S$2.$selectAllChildren]: dart.fnType(dart.void, [html$.Node]), - [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), - [S$2.$anchorOffset]: dart.nullable(core.int), - [S$2.$baseNode]: dart.nullable(html$.Node), - [S$2.$baseOffset]: dart.nullable(core.int), - [S$2.$extentNode]: dart.nullable(html$.Node), - [S$2.$extentOffset]: dart.nullable(core.int), - [S$2.$focusNode]: dart.nullable(html$.Node), - [S$2.$focusOffset]: dart.nullable(core.int), - [S$2.$isCollapsed]: dart.nullable(core.bool), - [S$2.$rangeCount]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - get [S.$error]() { - return this.error; - } -}; -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[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; - } - get [S$.$state]() { - return this.state; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - get [S.$onError]() { - return html$.ServiceWorker.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ServiceWorker); -dart.addTypeCaches(html$.ServiceWorker); -html$.ServiceWorker[dart.implements] = () => [html$.AbstractWorker]; -dart.setMethodSignature(html$.ServiceWorker, () => ({ - __proto__: dart.getMethods(html$.ServiceWorker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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[150]); -dart.setStaticFieldSignature(html$.ServiceWorker, () => ['errorEvent']); -dart.defineLazy(html$.ServiceWorker, { - /*html$.ServiceWorker.errorEvent*/get errorEvent() { - 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; - } - get [S$.$ready]() { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.ready); - } - [S$2.$getRegistration](documentURL = null) { - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.getRegistration(documentURL)); - } - [S$2.$getRegistrations]() { - return js_util.promiseToFuture(core.List, this.getRegistrations()); - } - [S$1.$register](url, options = null) { - if (url == null) dart.nullFailed(I[149], 27988, 53, "url"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(html$.ServiceWorkerRegistration, this.register(url, options_dict)); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerContainer.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.ServiceWorkerContainer); -dart.addTypeCaches(html$.ServiceWorkerContainer); -dart.setMethodSignature(html$.ServiceWorkerContainer, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerContainer.__proto__), - [S$2.$getRegistration]: dart.fnType(async.Future$(html$.ServiceWorkerRegistration), [], [dart.nullable(core.String)]), - [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[150]); -dart.setStaticFieldSignature(html$.ServiceWorkerContainer, () => ['messageEvent']); -dart.defineLazy(html$.ServiceWorkerContainer, { - /*html$.ServiceWorkerContainer.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$registration]() { - return this.registration; - } - [S$2.$skipWaiting]() { - return js_util.promiseToFuture(dart.dynamic, this.skipWaiting()); - } - get [S$2.$onActivate]() { - return html$.ServiceWorkerGlobalScope.activateEvent.forTarget(this); - } - get [S$2.$onFetch]() { - return html$.ServiceWorkerGlobalScope.fetchEvent.forTarget(this); - } - get [S$2.$onForeignfetch]() { - return html$.ServiceWorkerGlobalScope.foreignfetchEvent.forTarget(this); - } - get [S$2.$onInstall]() { - return html$.ServiceWorkerGlobalScope.installEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.ServiceWorkerGlobalScope.messageEvent.forTarget(this); - } - static get instance() { - return html$.ServiceWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.ServiceWorkerGlobalScope); -dart.addTypeCaches(html$.ServiceWorkerGlobalScope); -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), - [S$2.$registration]: dart.nullable(html$.ServiceWorkerRegistration), - [S$2.$onActivate]: async.Stream$(html$.Event), - [S$2.$onFetch]: async.Stream$(html$.Event), - [S$2.$onForeignfetch]: async.Stream$(html$.ForeignFetchEvent), - [S$2.$onInstall]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent) -})); -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[373] || CT.C373; - }, - /*html$.ServiceWorkerGlobalScope.fetchEvent*/get fetchEvent() { - return C[374] || CT.C374; - }, - /*html$.ServiceWorkerGlobalScope.foreignfetchEvent*/get foreignfetchEvent() { - return C[375] || CT.C375; - }, - /*html$.ServiceWorkerGlobalScope.installEvent*/get installEvent() { - return C[376] || CT.C376; - }, - /*html$.ServiceWorkerGlobalScope.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$backgroundFetch]() { - return this.backgroundFetch; - } - get [S$2.$installing]() { - return this.installing; - } - get [S$2.$navigationPreload]() { - return this.navigationPreload; - } - get [S$2.$paymentManager]() { - return this.paymentManager; - } - get [S$2.$pushManager]() { - return this.pushManager; - } - get [S$1.$scope]() { - return this.scope; - } - get [S$2.$sync]() { - return this.sync; - } - get [S$2.$waiting]() { - return this.waiting; - } - [S$2.$getNotifications](filter = null) { - let filter_dict = null; - if (filter != null) { - filter_dict = html_common.convertDartToNative_Dictionary(filter); - } - return js_util.promiseToFuture(core.List, this.getNotifications(filter_dict)); - } - [S$2.$showNotification](title, options = null) { - if (title == null) dart.nullFailed(I[149], 28089, 34, "title"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.showNotification(title, options_dict)); - } - [S$2.$unregister]() { - return js_util.promiseToFuture(core.bool, this.unregister()); - } - [$update]() { - return js_util.promiseToFuture(dart.dynamic, this.update()); - } -}; -dart.addTypeTests(html$.ServiceWorkerRegistration); -dart.addTypeCaches(html$.ServiceWorkerRegistration); -dart.setMethodSignature(html$.ServiceWorkerRegistration, () => ({ - __proto__: dart.getMethods(html$.ServiceWorkerRegistration.__proto__), - [S$2.$getNotifications]: dart.fnType(async.Future$(core.List), [], [dart.nullable(core.Map)]), - [S$2.$showNotification]: dart.fnType(async.Future, [core.String], [dart.nullable(core.Map)]), - [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), - [S$2.$backgroundFetch]: dart.nullable(html$.BackgroundFetchManager), - [S$2.$installing]: dart.nullable(html$.ServiceWorker), - [S$2.$navigationPreload]: dart.nullable(html$.NavigationPreloadManager), - [S$2.$paymentManager]: dart.nullable(html$.PaymentManager), - [S$2.$pushManager]: dart.nullable(html$.PushManager), - [S$1.$scope]: dart.nullable(core.String), - [S$2.$sync]: dart.nullable(html$.SyncManager), - [S$2.$waiting]: dart.nullable(html$.ServiceWorker) -})); -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"); - } - [S$.$getDistributedNodes](...args) { - return this.getDistributedNodes.apply(this, args); - } -}; -(html$.ShadowElement.created = function() { - html$.ShadowElement.__proto__.created.call(this); - ; -}).prototype = html$.ShadowElement.prototype; -dart.addTypeTests(html$.ShadowElement); -dart.addTypeCaches(html$.ShadowElement); -dart.setMethodSignature(html$.ShadowElement, () => ({ - __proto__: dart.getMethods(html$.ShadowElement.__proto__), - [S$.$getDistributedNodes]: dart.fnType(core.List$(html$.Node), []) -})); -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; - } - get [S$.$host]() { - return this.host; - } - get [S.$innerHtml]() { - return this.innerHTML; - } - set [S.$innerHtml](value) { - this.innerHTML = value; - } - get [S.$mode]() { - return this.mode; - } - get [S$2.$olderShadowRoot]() { - return this.olderShadowRoot; - } - get [S$1.$activeElement]() { - return this.activeElement; - } - get [S$1.$fullscreenElement]() { - return this.fullscreenElement; - } - get [S$1.$pointerLockElement]() { - return this.pointerLockElement; - } - get [S$1.$styleSheets]() { - return this.styleSheets; - } - [S$1.$elementFromPoint](...args) { - return this.elementFromPoint.apply(this, args); - } - [S$1.$elementsFromPoint](...args) { - return this.elementsFromPoint.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - static get supported() { - return !!(Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot); - } - static _shadowRootDeprecationReport() { - if (!dart.test(html$.ShadowRoot._shadowRootDeprecationReported)) { - html$.window[S$2.$console].warn("ShadowRoot.resetStyleInheritance and ShadowRoot.applyAuthorStyles now deprecated in dart:html.\nPlease remove them from your code.\n"); - html$.ShadowRoot._shadowRootDeprecationReported = true; - } - } - get [S$2.$resetStyleInheritance]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$resetStyleInheritance](value) { - if (value == null) dart.nullFailed(I[149], 28200, 34, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } - get [S$2.$applyAuthorStyles]() { - html$.ShadowRoot._shadowRootDeprecationReport(); - return false; - } - set [S$2.$applyAuthorStyles](value) { - if (value == null) dart.nullFailed(I[149], 28212, 30, "value"); - html$.ShadowRoot._shadowRootDeprecationReport(); - } -}; -dart.addTypeTests(html$.ShadowRoot); -dart.addTypeCaches(html$.ShadowRoot); -html$.ShadowRoot[dart.implements] = () => [html$.DocumentOrShadowRoot]; -dart.setMethodSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getMethods(html$.ShadowRoot.__proto__), - [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.$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), - [S$.$host]: dart.nullable(html$.Element), - [S.$mode]: dart.nullable(core.String), - [S$2.$olderShadowRoot]: dart.nullable(html$.ShadowRoot), - [S$1.$activeElement]: dart.nullable(html$.Element), - [S$1.$fullscreenElement]: dart.nullable(html$.Element), - [S$1.$pointerLockElement]: dart.nullable(html$.Element), - [S$1.$styleSheets]: dart.nullable(core.List$(html$.StyleSheet)), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool -})); -dart.setSetterSignature(html$.ShadowRoot, () => ({ - __proto__: dart.getSetters(html$.ShadowRoot.__proto__), - [S$2.$resetStyleInheritance]: core.bool, - [S$2.$applyAuthorStyles]: core.bool -})); -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(value) { - if (value == null) dart.nullFailed(I[149], 28181, 15, "_shadowRootDeprecationReported"); - } -}, false); -dart.registerExtension("ShadowRoot", html$.ShadowRoot); -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[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[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); - } - static _create_2(scriptURL) { - return new SharedWorker(scriptURL); - } - get [S$.$port]() { - return this.port; - } - get [S.$onError]() { - return html$.SharedWorker.errorEvent.forTarget(this); - } -}; -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[150]); -dart.setStaticFieldSignature(html$.SharedWorker, () => ['errorEvent']); -dart.defineLazy(html$.SharedWorker, { - /*html$.SharedWorker.errorEvent*/get errorEvent() { - 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; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$0._webkitRequestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$0.$requestFileSystemSync](...args) { - return this.webkitRequestFileSystemSync.apply(this, args); - } - [S$0.$resolveLocalFileSystemSyncUrl](...args) { - return this.webkitResolveLocalFileSystemSyncURL.apply(this, args); - } - [S$0._webkitResolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - get [S$2.$onConnect]() { - return html$.SharedWorkerGlobalScope.connectEvent.forTarget(this); - } - static get instance() { - return html$.SharedWorkerGlobalScope.as(html$._workerSelf); - } -}; -dart.addTypeTests(html$.SharedWorkerGlobalScope); -dart.addTypeCaches(html$.SharedWorkerGlobalScope); -dart.setMethodSignature(html$.SharedWorkerGlobalScope, () => ({ - __proto__: dart.getMethods(html$.SharedWorkerGlobalScope.__proto__), - [S.$close]: dart.fnType(dart.void, []), - [S$0._webkitRequestFileSystem]: dart.fnType(dart.void, [core.int, core.int], [dart.nullable(dart.fnType(dart.void, [html$.FileSystem])), dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$0.$requestFileSystemSync]: dart.fnType(html$._DOMFileSystemSync, [core.int, core.int]), - [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.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[377] || CT.C377; - }, - /*html$.SharedWorkerGlobalScope.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.SharedWorkerGlobalScope.TEMPORARY*/get TEMPORARY() { - return 0; - } -}, 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; - } - set [$name](value) { - this.name = value; - } - [S$2.$assignedNodes](options = null) { - if (options != null) { - let options_1 = html_common.convertDartToNative_Dictionary(options); - return this[S$2._assignedNodes_1](options_1); - } - return this[S$2._assignedNodes_2](); - } - [S$2._assignedNodes_1](...args) { - return this.assignedNodes.apply(this, args); - } - [S$2._assignedNodes_2](...args) { - return this.assignedNodes.apply(this, args); - } -}; -(html$.SlotElement.created = function() { - html$.SlotElement.__proto__.created.call(this); - ; -}).prototype = html$.SlotElement.prototype; -dart.addTypeTests(html$.SlotElement); -dart.addTypeCaches(html$.SlotElement); -dart.setMethodSignature(html$.SlotElement, () => ({ - __proto__: dart.getMethods(html$.SlotElement.__proto__), - [S$2.$assignedNodes]: dart.fnType(core.List$(html$.Node), [], [dart.nullable(core.Map)]), - [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) -})); -dart.setSetterSignature(html$.SlotElement, () => ({ - __proto__: dart.getSetters(html$.SlotElement.__proto__), - [$name]: dart.nullable(core.String) -})); -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; - } - set [S$2.$appendWindowEnd](value) { - this.appendWindowEnd = value; - } - get [S$2.$appendWindowStart]() { - return this.appendWindowStart; - } - set [S$2.$appendWindowStart](value) { - this.appendWindowStart = value; - } - get [S$.$audioTracks]() { - return this.audioTracks; - } - get [S$.$buffered]() { - return this.buffered; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - get [S$2.$timestampOffset]() { - return this.timestampOffset; - } - set [S$2.$timestampOffset](value) { - this.timestampOffset = value; - } - get [S$2.$trackDefaults]() { - return this.trackDefaults; - } - set [S$2.$trackDefaults](value) { - this.trackDefaults = value; - } - get [S$2.$updating]() { - return this.updating; - } - get [S$.$videoTracks]() { - return this.videoTracks; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$2.$appendBuffer](...args) { - return this.appendBuffer.apply(this, args); - } - [S$2.$appendTypedData](...args) { - return this.appendBuffer.apply(this, args); - } - [$remove](...args) { - return this.remove.apply(this, args); - } - get [S.$onAbort]() { - return html$.SourceBuffer.abortEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SourceBuffer.errorEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.SourceBuffer); -dart.addTypeCaches(html$.SourceBuffer); -dart.setMethodSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getMethods(html$.SourceBuffer.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [S$2.$appendBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S$.$audioTracks]: dart.nullable(web_audio.AudioTrackList), - [S$.$buffered]: dart.nullable(html$.TimeRanges), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList), - [S$2.$updating]: dart.nullable(core.bool), - [S$.$videoTracks]: dart.nullable(html$.VideoTrackList), - [S.$onAbort]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.SourceBuffer, () => ({ - __proto__: dart.getSetters(html$.SourceBuffer.__proto__), - [S$2.$appendWindowEnd]: dart.nullable(core.num), - [S$2.$appendWindowStart]: dart.nullable(core.num), - [S.$mode]: dart.nullable(core.String), - [S$2.$timestampOffset]: dart.nullable(core.num), - [S$2.$trackDefaults]: dart.nullable(html$.TrackDefaultList) -})); -dart.setLibraryUri(html$.SourceBuffer, I[150]); -dart.setStaticFieldSignature(html$.SourceBuffer, () => ['abortEvent', 'errorEvent']); -dart.defineLazy(html$.SourceBuffer, { - /*html$.SourceBuffer.abortEvent*/get abortEvent() { - return C[224] || CT.C224; - }, - /*html$.SourceBuffer.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - } -}, false); -dart.registerExtension("SourceBuffer", html$.SourceBuffer); -const EventTarget_ListMixin$36 = class EventTarget_ListMixin extends html$.EventTarget {}; -(EventTarget_ListMixin$36._created = function() { - EventTarget_ListMixin$36.__proto__._created.call(this); -}).prototype = EventTarget_ListMixin$36.prototype; -dart.applyMixin(EventTarget_ListMixin$36, collection.ListMixin$(html$.SourceBuffer)); -const EventTarget_ImmutableListMixin$36 = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36 {}; -(EventTarget_ImmutableListMixin$36._created = function() { - EventTarget_ImmutableListMixin$36.__proto__._created.call(this); -}).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[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[149], 28444, 25, "index"); - html$.SourceBuffer.as(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[149], 28450, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28478, 30, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.SourceBufferList.prototype[dart.isList] = true; -dart.addTypeTests(html$.SourceBufferList); -dart.addTypeCaches(html$.SourceBufferList); -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 -})); -dart.setSetterSignature(html$.SourceBufferList, () => ({ - __proto__: dart.getSetters(html$.SourceBufferList.__proto__), - [$length]: core.int -})); -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; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sizes]() { - return this.sizes; - } - set [S$1.$sizes](value) { - this.sizes = value; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$srcset]() { - return this.srcset; - } - set [S$1.$srcset](value) { - this.srcset = value; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.SourceElement.created = function() { - html$.SourceElement.__proto__.created.call(this); - ; -}).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, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String -})); -dart.setSetterSignature(html$.SourceElement, () => ({ - __proto__: dart.getSetters(html$.SourceElement.__proto__), - [S$.$media]: core.String, - [S$1.$sizes]: dart.nullable(core.String), - [S$.$src]: core.String, - [S$1.$srcset]: dart.nullable(core.String), - [S.$type]: core.String -})); -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); - ; -}).prototype = html$.SpanElement.prototype; -dart.addTypeTests(html$.SpanElement); -dart.addTypeCaches(html$.SpanElement); -dart.setStaticMethodSignature(html$.SpanElement, () => ['__', 'new']); -dart.setLibraryUri(html$.SpanElement, I[150]); -dart.registerExtension("HTMLSpanElement", html$.SpanElement); -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(); - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$1.$weight]() { - return this.weight; - } - set [S$1.$weight](value) { - this.weight = value; - } -}; -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), - [S$1.$weight]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.SpeechGrammar, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammar.__proto__), - [S$.$src]: dart.nullable(core.String), - [S$1.$weight]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.SpeechGrammar, I[150]); -dart.registerExtension("SpeechGrammar", html$.SpeechGrammar); -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(); - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 28601, 25, "index"); - html$.SpeechGrammar.as(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[149], 28607, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 28635, 31, "index"); - return this[$_get](index); - } - [S$2.$addFromString](...args) { - return this.addFromString.apply(this, args); - } - [S$2.$addFromUri](...args) { - return this.addFromUri.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.SpeechGrammarList.prototype[dart.isList] = true; -dart.addTypeTests(html$.SpeechGrammarList); -dart.addTypeCaches(html$.SpeechGrammarList); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$2.$addFromString]: dart.fnType(dart.void, [core.String], [dart.nullable(core.num)]), - [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 -})); -dart.setSetterSignature(html$.SpeechGrammarList, () => ({ - __proto__: dart.getSetters(html$.SpeechGrammarList.__proto__), - [$length]: core.int -})); -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); - } - get [S$2.$audioTrack]() { - return this.audioTrack; - } - set [S$2.$audioTrack](value) { - this.audioTrack = value; - } - get [S$2.$continuous]() { - return this.continuous; - } - set [S$2.$continuous](value) { - this.continuous = value; - } - get [S$2.$grammars]() { - return this.grammars; - } - set [S$2.$grammars](value) { - this.grammars = value; - } - get [S$2.$interimResults]() { - return this.interimResults; - } - set [S$2.$interimResults](value) { - this.interimResults = value; - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$maxAlternatives]() { - return this.maxAlternatives; - } - set [S$2.$maxAlternatives](value) { - this.maxAlternatives = value; - } - [S.$abort](...args) { - return this.abort.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S$2.$onAudioEnd]() { - return html$.SpeechRecognition.audioEndEvent.forTarget(this); - } - get [S$2.$onAudioStart]() { - return html$.SpeechRecognition.audioStartEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechRecognition.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechRecognition.errorEvent.forTarget(this); - } - get [S$2.$onNoMatch]() { - return html$.SpeechRecognition.noMatchEvent.forTarget(this); - } - get [S$2.$onResult]() { - return html$.SpeechRecognition.resultEvent.forTarget(this); - } - get [S$2.$onSoundEnd]() { - return html$.SpeechRecognition.soundEndEvent.forTarget(this); - } - get [S$2.$onSoundStart]() { - return html$.SpeechRecognition.soundStartEvent.forTarget(this); - } - get [S$2.$onSpeechEnd]() { - return html$.SpeechRecognition.speechEndEvent.forTarget(this); - } - get [S$2.$onSpeechStart]() { - return html$.SpeechRecognition.speechStartEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechRecognition.startEvent.forTarget(this); - } - static new() { - return new (window.SpeechRecognition || window.webkitSpeechRecognition)(); - } - static ['_#new#tearOff']() { - return html$.SpeechRecognition.new(); - } -}; -dart.addTypeTests(html$.SpeechRecognition); -dart.addTypeCaches(html$.SpeechRecognition); -dart.setMethodSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getMethods(html$.SpeechRecognition.__proto__), - [S.$abort]: dart.fnType(dart.void, []), - [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), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int), - [S$2.$onAudioEnd]: async.Stream$(html$.Event), - [S$2.$onAudioStart]: async.Stream$(html$.Event), - [S$2.$onEnd]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.SpeechRecognitionError), - [S$2.$onNoMatch]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onResult]: async.Stream$(html$.SpeechRecognitionEvent), - [S$2.$onSoundEnd]: async.Stream$(html$.Event), - [S$2.$onSoundStart]: async.Stream$(html$.Event), - [S$2.$onSpeechEnd]: async.Stream$(html$.Event), - [S$2.$onSpeechStart]: async.Stream$(html$.Event), - [S$2.$onStart]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.SpeechRecognition, () => ({ - __proto__: dart.getSetters(html$.SpeechRecognition.__proto__), - [S$2.$audioTrack]: dart.nullable(html$.MediaStreamTrack), - [S$2.$continuous]: dart.nullable(core.bool), - [S$2.$grammars]: dart.nullable(html$.SpeechGrammarList), - [S$2.$interimResults]: dart.nullable(core.bool), - [S.$lang]: dart.nullable(core.String), - [S$2.$maxAlternatives]: dart.nullable(core.int) -})); -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[378] || CT.C378; - }, - /*html$.SpeechRecognition.audioStartEvent*/get audioStartEvent() { - return C[379] || CT.C379; - }, - /*html$.SpeechRecognition.endEvent*/get endEvent() { - return C[380] || CT.C380; - }, - /*html$.SpeechRecognition.errorEvent*/get errorEvent() { - return C[381] || CT.C381; - }, - /*html$.SpeechRecognition.noMatchEvent*/get noMatchEvent() { - return C[382] || CT.C382; - }, - /*html$.SpeechRecognition.resultEvent*/get resultEvent() { - return C[383] || CT.C383; - }, - /*html$.SpeechRecognition.soundEndEvent*/get soundEndEvent() { - return C[384] || CT.C384; - }, - /*html$.SpeechRecognition.soundStartEvent*/get soundStartEvent() { - return C[385] || CT.C385; - }, - /*html$.SpeechRecognition.speechEndEvent*/get speechEndEvent() { - return C[386] || CT.C386; - }, - /*html$.SpeechRecognition.speechStartEvent*/get speechStartEvent() { - return C[387] || CT.C387; - }, - /*html$.SpeechRecognition.startEvent*/get startEvent() { - return C[388] || CT.C388; - } -}, false); -dart.registerExtension("SpeechRecognition", html$.SpeechRecognition); -html$.SpeechRecognitionAlternative = class SpeechRecognitionAlternative extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionAlternative.__(); - } - get [S$2.$confidence]() { - return this.confidence; - } - get [S$2.$transcript]() { - return this.transcript; - } -}; -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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionError(type); - } - get [S.$error]() { - return this.error; - } - get [$message]() { - return this.message; - } -}; -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[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[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); - } - static _create_2(type) { - return new SpeechRecognitionEvent(type); - } - get [S$2.$emma]() { - return this.emma; - } - get [S$2.$interpretation]() { - return this.interpretation; - } - get [S$2.$resultIndex]() { - return this.resultIndex; - } - get [S$2.$results]() { - return this.results; - } -}; -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), - [S$2.$interpretation]: dart.nullable(html$.Document), - [S$2.$resultIndex]: dart.nullable(core.int), - [S$2.$results]: dart.nullable(core.List$(html$.SpeechRecognitionResult)) -})); -dart.setLibraryUri(html$.SpeechRecognitionEvent, I[150]); -dart.registerExtension("SpeechRecognitionEvent", html$.SpeechRecognitionEvent); -html$.SpeechRecognitionResult = class SpeechRecognitionResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechRecognitionResult.__(); - } - get [S$2.$isFinal]() { - return this.isFinal; - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.SpeechRecognitionResult); -dart.addTypeCaches(html$.SpeechRecognitionResult); -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[150]); -dart.registerExtension("SpeechRecognitionResult", html$.SpeechRecognitionResult); -html$.SpeechSynthesis = class SpeechSynthesis extends html$.EventTarget { - [S$2.$getVoices]() { - let voices = this[S$2._getVoices](); - 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; - } - get [S$2.$pending]() { - return this.pending; - } - get [S$2.$speaking]() { - return this.speaking; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$2._getVoices](...args) { - return this.getVoices.apply(this, args); - } - [S$.$pause](...args) { - return this.pause.apply(this, args); - } - [S$1.$resume](...args) { - return this.resume.apply(this, args); - } - [S$0.$speak](...args) { - return this.speak.apply(this, args); - } -}; -dart.addTypeTests(html$.SpeechSynthesis); -dart.addTypeCaches(html$.SpeechSynthesis); -dart.setMethodSignature(html$.SpeechSynthesis, () => ({ - __proto__: dart.getMethods(html$.SpeechSynthesis.__proto__), - [S$2.$getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$cancel]: dart.fnType(dart.void, []), - [S$2._getVoices]: dart.fnType(core.List$(html$.SpeechSynthesisVoice), []), - [S$.$pause]: dart.fnType(dart.void, []), - [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[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; - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [$name]() { - return this.name; - } - get [S$2.$utterance]() { - return this.utterance; - } -}; -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), - [S$.$elapsedTime]: dart.nullable(core.num), - [$name]: dart.nullable(core.String), - [S$2.$utterance]: dart.nullable(html$.SpeechSynthesisUtterance) -})); -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); - } - static _create_2() { - return new SpeechSynthesisUtterance(); - } - get [S.$lang]() { - return this.lang; - } - set [S.$lang](value) { - this.lang = value; - } - get [S$2.$pitch]() { - return this.pitch; - } - set [S$2.$pitch](value) { - this.pitch = value; - } - get [S$2.$rate]() { - return this.rate; - } - set [S$2.$rate](value) { - this.rate = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$2.$voice]() { - return this.voice; - } - set [S$2.$voice](value) { - this.voice = value; - } - get [S$.$volume]() { - return this.volume; - } - set [S$.$volume](value) { - this.volume = value; - } - get [S$2.$onBoundary]() { - return html$.SpeechSynthesisUtterance.boundaryEvent.forTarget(this); - } - get [S$2.$onEnd]() { - return html$.SpeechSynthesisUtterance.endEvent.forTarget(this); - } - get [S.$onError]() { - return html$.SpeechSynthesisUtterance.errorEvent.forTarget(this); - } - get [S$2.$onMark]() { - return html$.SpeechSynthesisUtterance.markEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.SpeechSynthesisUtterance.pauseEvent.forTarget(this); - } - get [S$2.$onResume]() { - return html$.SpeechSynthesisUtterance.resumeEvent.forTarget(this); - } - get [S$2.$onStart]() { - return html$.SpeechSynthesisUtterance.startEvent.forTarget(this); - } -}; -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), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num), - [S$2.$onBoundary]: async.Stream$(html$.SpeechSynthesisEvent), - [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$2.$onResume]: async.Stream$(html$.SpeechSynthesisEvent), - [S$2.$onStart]: async.Stream$(html$.SpeechSynthesisEvent) -})); -dart.setSetterSignature(html$.SpeechSynthesisUtterance, () => ({ - __proto__: dart.getSetters(html$.SpeechSynthesisUtterance.__proto__), - [S.$lang]: dart.nullable(core.String), - [S$2.$pitch]: dart.nullable(core.num), - [S$2.$rate]: dart.nullable(core.num), - [S.$text]: dart.nullable(core.String), - [S$2.$voice]: dart.nullable(html$.SpeechSynthesisVoice), - [S$.$volume]: dart.nullable(core.num) -})); -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[389] || CT.C389; - }, - /*html$.SpeechSynthesisUtterance.endEvent*/get endEvent() { - return C[390] || CT.C390; - }, - /*html$.SpeechSynthesisUtterance.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.SpeechSynthesisUtterance.markEvent*/get markEvent() { - return C[391] || CT.C391; - }, - /*html$.SpeechSynthesisUtterance.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*html$.SpeechSynthesisUtterance.resumeEvent*/get resumeEvent() { - return C[392] || CT.C392; - }, - /*html$.SpeechSynthesisUtterance.startEvent*/get startEvent() { - return C[393] || CT.C393; - } -}, false); -dart.registerExtension("SpeechSynthesisUtterance", html$.SpeechSynthesisUtterance); -html$.SpeechSynthesisVoice = class SpeechSynthesisVoice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.SpeechSynthesisVoice.__(); - } - get [S$1.$defaultValue]() { - return this.default; - } - get [S.$lang]() { - return this.lang; - } - get [S$2.$localService]() { - return this.localService; - } - get [$name]() { - return this.name; - } - get [S$2.$voiceUri]() { - return this.voiceURI; - } -}; -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), - [S.$lang]: dart.nullable(core.String), - [S$2.$localService]: dart.nullable(core.bool), - [$name]: dart.nullable(core.String), - [S$2.$voiceUri]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.SpeechSynthesisVoice, I[150]); -dart.registerExtension("SpeechSynthesisVoice", html$.SpeechSynthesisVoice); -html$.StaticRange = class StaticRange extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StaticRange.__(); - } - get [S$2.$collapsed]() { - return this.collapsed; - } - get [S$2.$endContainer]() { - return this.endContainer; - } - get [S$2.$endOffset]() { - return this.endOffset; - } - get [S$2.$startContainer]() { - return this.startContainer; - } - get [S$2.$startOffset]() { - return this.startOffset; - } -}; -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), - [S$2.$endContainer]: dart.nullable(html$.Node), - [S$2.$endOffset]: dart.nullable(core.int), - [S$2.$startContainer]: dart.nullable(html$.Node), - [S$2.$startOffset]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.StaticRange, I[150]); -dart.registerExtension("StaticRange", html$.StaticRange); -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[149], 29183, 35, "other"); - other[$forEach](dart.fn((k, 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[149], 29190, 52, "e"); - return core.identical(e, value); - }, T$.StringTobool())); - } - [$containsKey](key) { - return this[S$1._getItem](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$1._getItem](core.String.as(key)); - } - [$_set](key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 29196, 28, "key"); - core.String.as(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[149], 29200, 29, "key"); - T$.VoidToString().as(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); - } - [$remove](key) { - let value = this[$_get](key); - this[S$2._removeItem](core.String.as(key)); - return value; - } - [$clear]() { - return this[S$0._clear$3](); - } - [$forEach](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; - f(key, dart.nullCheck(this[$_get](key))); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$values]() { - let values = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, 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; - } - get [$length]() { - return this[S$2._length$3]; - } - get [$isEmpty]() { - return this[S$2._key](0) == null; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - static ['_#_#tearOff']() { - return html$.Storage.__(); - } - get [S$2._length$3]() { - return this.length; - } - [S$0._clear$3](...args) { - return this.clear.apply(this, args); - } - [S$1._getItem](...args) { - return this.getItem.apply(this, args); - } - [S$2._key](...args) { - return this.key.apply(this, args); - } - [S$2._removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$2._setItem](...args) { - return this.setItem.apply(this, args); - } -}; -dart.addTypeTests(html$.Storage); -dart.addTypeCaches(html$.Storage); -dart.setMethodSignature(html$.Storage, () => ({ - __proto__: dart.getMethods(html$.Storage.__proto__), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$clear]: dart.fnType(dart.void, []), - [S$0._clear$3]: dart.fnType(dart.void, []), - [S$1._getItem]: dart.fnType(dart.nullable(core.String), [core.String]), - [S$2._key]: dart.fnType(dart.nullable(core.String), [core.int]), - [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[150]); -dart.registerExtension("Storage", html$.Storage); -html$.StorageEvent = class StorageEvent$ extends html$.Event { - static new(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; - let e = html$.StorageEvent.as(html$.document[S._createEvent]("StorageEvent")); - 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[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); - } - static _create_2(type) { - return new StorageEvent(type); - } - get [S.$key]() { - return this.key; - } - get [S$1.$newValue]() { - return this.newValue; - } - get [S$2.$oldValue]() { - return this.oldValue; - } - get [S$2.$storageArea]() { - return this.storageArea; - } - get [S$.$url]() { - return this.url; - } - [S$2._initStorageEvent](...args) { - return this.initStorageEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.StorageEvent); -dart.addTypeCaches(html$.StorageEvent); -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$2.$oldValue]: dart.nullable(core.String), - [S$2.$storageArea]: dart.nullable(html$.Storage), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.StorageEvent, I[150]); -dart.registerExtension("StorageEvent", html$.StorageEvent); -html$.StorageManager = class StorageManager extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StorageManager.__(); - } - [S$2.$estimate]() { - return html$.promiseToFutureAsMap(this.estimate()); - } - [S$2.$persist]() { - return js_util.promiseToFuture(core.bool, this.persist()); - } - [S$2.$persisted]() { - return js_util.promiseToFuture(core.bool, this.persisted()); - } -}; -dart.addTypeTests(html$.StorageManager); -dart.addTypeCaches(html$.StorageManager); -dart.setMethodSignature(html$.StorageManager, () => ({ - __proto__: dart.getMethods(html$.StorageManager.__proto__), - [S$2.$estimate]: dart.fnType(async.Future$(dart.nullable(core.Map$(core.String, dart.dynamic))), []), - [S$2.$persist]: dart.fnType(async.Future$(core.bool), []), - [S$2.$persisted]: dart.fnType(async.Future$(core.bool), []) -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(html$.StyleElement.created = function() { - html$.StyleElement.__proto__.created.call(this); - ; -}).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, - [S$.$media]: core.String, - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.StyleElement, () => ({ - __proto__: dart.getSetters(html$.StyleElement.__proto__), - [S$.$disabled]: core.bool, - [S$.$media]: core.String, - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.StyleElement, I[150]); -dart.registerExtension("HTMLStyleElement", html$.StyleElement); -html$.StyleMedia = class StyleMedia extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StyleMedia.__(); - } - get [S.$type]() { - return this.type; - } - [S$2.$matchMedium](...args) { - return this.matchMedium.apply(this, args); - } -}; -dart.addTypeTests(html$.StyleMedia); -dart.addTypeCaches(html$.StyleMedia); -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[150]); -dart.registerExtension("StyleMedia", html$.StyleMedia); -html$.StylePropertyMapReadonly = class StylePropertyMapReadonly extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.StylePropertyMapReadonly.__(); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$2.$getProperties](...args) { - return this.getProperties.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } -}; -dart.addTypeTests(html$.StylePropertyMapReadonly); -dart.addTypeCaches(html$.StylePropertyMapReadonly); -dart.setMethodSignature(html$.StylePropertyMapReadonly, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMapReadonly.__proto__), - [S.$get]: dart.fnType(dart.nullable(html$.CssStyleValue), [core.String]), - [S.$getAll]: dart.fnType(core.List$(html$.CssStyleValue), [core.String]), - [S$2.$getProperties]: dart.fnType(core.List$(core.String), []), - [S$.$has]: dart.fnType(core.bool, [core.String]) -})); -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); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } -}; -dart.addTypeTests(html$.StylePropertyMap); -dart.addTypeCaches(html$.StylePropertyMap); -dart.setMethodSignature(html$.StylePropertyMap, () => ({ - __proto__: dart.getMethods(html$.StylePropertyMap.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.Object]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.Object]) -})); -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[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); - } - get [S$2.$lastChance]() { - return this.lastChance; - } - get [S$2.$tag]() { - return this.tag; - } -}; -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[150]); -dart.registerExtension("SyncEvent", html$.SyncEvent); -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[149], 29510, 26, "tag"); - return js_util.promiseToFuture(dart.dynamic, this.register(tag)); - } -}; -dart.addTypeTests(html$.SyncManager); -dart.addTypeCaches(html$.SyncManager); -dart.setMethodSignature(html$.SyncManager, () => ({ - __proto__: dart.getMethods(html$.SyncManager.__proto__), - [S$2.$getTags]: dart.fnType(async.Future$(core.List), []), - [S$1.$register]: dart.fnType(async.Future, [core.String]) -})); -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); - ; -}).prototype = html$.TableCaptionElement.prototype; -dart.addTypeTests(html$.TableCaptionElement); -dart.addTypeCaches(html$.TableCaptionElement); -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; - } - get [S$.$colSpan]() { - return this.colSpan; - } - set [S$.$colSpan](value) { - this.colSpan = value; - } - get [S$2.$headers]() { - return this.headers; - } - set [S$2.$headers](value) { - this.headers = value; - } - get [S$.$rowSpan]() { - return this.rowSpan; - } - set [S$.$rowSpan](value) { - this.rowSpan = value; - } -}; -(html$.TableCellElement.created = function() { - html$.TableCellElement.__proto__.created.call(this); - ; -}).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, - [S$.$colSpan]: core.int, - [S$2.$headers]: core.String, - [S$.$rowSpan]: core.int -})); -dart.setSetterSignature(html$.TableCellElement, () => ({ - __proto__: dart.getSetters(html$.TableCellElement.__proto__), - [S$.$colSpan]: core.int, - [S$2.$headers]: dart.nullable(core.String), - [S$.$rowSpan]: core.int -})); -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; - } - set [S$2.$span](value) { - this.span = value; - } -}; -(html$.TableColElement.created = function() { - html$.TableColElement.__proto__.created.call(this); - ; -}).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 -})); -dart.setSetterSignature(html$.TableColElement, () => ({ - __proto__: dart.getSetters(html$.TableColElement.__proto__), - [S$2.$span]: core.int -})); -dart.setLibraryUri(html$.TableColElement, I[150]); -dart.registerExtension("HTMLTableColElement", html$.TableColElement); -html$.TableElement = class TableElement extends html$.HtmlElement { - get [S$2.$tBodies]() { - return new (T$0._WrappedListOfTableSectionElement()).new(this[S$2._tBodies]); - } - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$createCaption]() { - return this[S$2._createCaption](); - } - [S$2.$createTBody]() { - return this[S$2._createTBody](); - } - [S$2.$createTFoot]() { - return this[S$2._createTFoot](); - } - [S$2.$createTHead]() { - return this[S$2._createTHead](); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29620, 33, "index"); - return this[S$2._insertRow](index); - } - [S$2._createTBody]() { - if (!!this.createTBody) { - return this[S$2._nativeCreateTBody](); - } - let tbody = html$.Element.tag("tbody"); - this[S.$children][$add](tbody); - return html$.TableSectionElement.as(tbody); - } - [S$2._nativeCreateTBody](...args) { - return this.createTBody.apply(this, args); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let contextualHtml = "" + dart.str(html) + "
"; - let table = html$.Element.html(contextualHtml, {validator: validator, treeSanitizer: treeSanitizer}); - let fragment = html$.DocumentFragment.new(); - 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; - } - set [S$2.$caption](value) { - this.caption = value; - } - get [S$2._rows]() { - return this.rows; - } - get [S$2._tBodies]() { - return this.tBodies; - } - get [S$2.$tFoot]() { - return this.tFoot; - } - set [S$2.$tFoot](value) { - this.tFoot = value; - } - get [S$2.$tHead]() { - return this.tHead; - } - set [S$2.$tHead](value) { - this.tHead = value; - } - [S$2._createCaption](...args) { - return this.createCaption.apply(this, args); - } - [S$2._createTFoot](...args) { - return this.createTFoot.apply(this, args); - } - [S$2._createTHead](...args) { - return this.createTHead.apply(this, args); - } - [S$2.$deleteCaption](...args) { - return this.deleteCaption.apply(this, args); - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2.$deleteTFoot](...args) { - return this.deleteTFoot.apply(this, args); - } - [S$2.$deleteTHead](...args) { - return this.deleteTHead.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } -}; -(html$.TableElement.created = function() { - html$.TableElement.__proto__.created.call(this); - ; -}).prototype = html$.TableElement.prototype; -dart.addTypeTests(html$.TableElement); -dart.addTypeCaches(html$.TableElement); -dart.setMethodSignature(html$.TableElement, () => ({ - __proto__: dart.getMethods(html$.TableElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2.$createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2.$createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [S$2._createTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._nativeCreateTBody]: dart.fnType(html$.TableSectionElement, []), - [S$2._createCaption]: dart.fnType(html$.TableCaptionElement, []), - [S$2._createTFoot]: dart.fnType(html$.TableSectionElement, []), - [S$2._createTHead]: dart.fnType(html$.TableSectionElement, []), - [S$2.$deleteCaption]: dart.fnType(dart.void, []), - [S$2.$deleteRow]: dart.fnType(dart.void, [core.int]), - [S$2.$deleteTFoot]: dart.fnType(dart.void, []), - [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), - [S$2.$rows]: core.List$(html$.TableRowElement), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2._rows]: core.List$(html$.Node), - [S$2._tBodies]: core.List$(html$.Node), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) -})); -dart.setSetterSignature(html$.TableElement, () => ({ - __proto__: dart.getSetters(html$.TableElement.__proto__), - [S$2.$caption]: dart.nullable(html$.TableCaptionElement), - [S$2.$tFoot]: dart.nullable(html$.TableSectionElement), - [S$2.$tHead]: dart.nullable(html$.TableSectionElement) -})); -dart.setLibraryUri(html$.TableElement, I[150]); -dart.registerExtension("HTMLTableElement", html$.TableElement); -html$.TableRowElement = class TableRowElement extends html$.HtmlElement { - get [S$2.$cells]() { - return new (T$0._WrappedListOfTableCellElement()).new(this[S$2._cells]); - } - [S$2.$addCell]() { - return this[S$2.$insertCell](-1); - } - [S$2.$insertCell](index) { - if (index == null) dart.nullFailed(I[149], 29722, 35, "index"); - return html$.TableCellElement.as(this[S$2._insertCell](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - let row = section[S.$nodes][$single]; - 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; - } - get [S$.$rowIndex]() { - return this.rowIndex; - } - get [S$2.$sectionRowIndex]() { - return this.sectionRowIndex; - } - [S$2.$deleteCell](...args) { - return this.deleteCell.apply(this, args); - } - [S$2._insertCell](...args) { - return this.insertCell.apply(this, args); - } -}; -(html$.TableRowElement.created = function() { - html$.TableRowElement.__proto__.created.call(this); - ; -}).prototype = html$.TableRowElement.prototype; -dart.addTypeTests(html$.TableRowElement); -dart.addTypeCaches(html$.TableRowElement); -dart.setMethodSignature(html$.TableRowElement, () => ({ - __proto__: dart.getMethods(html$.TableRowElement.__proto__), - [S$2.$addCell]: dart.fnType(html$.TableCellElement, []), - [S$2.$insertCell]: dart.fnType(html$.TableCellElement, [core.int]), - [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), - [S$2._cells]: core.List$(html$.Node), - [S$.$rowIndex]: core.int, - [S$2.$sectionRowIndex]: core.int -})); -dart.setLibraryUri(html$.TableRowElement, I[150]); -dart.registerExtension("HTMLTableRowElement", html$.TableRowElement); -html$.TableSectionElement = class TableSectionElement extends html$.HtmlElement { - get [S$2.$rows]() { - return new (T$0._WrappedListOfTableRowElement()).new(this[S$2._rows]); - } - [S$2.$addRow]() { - return this[S$2.$insertRow](-1); - } - [S$2.$insertRow](index) { - if (index == null) dart.nullFailed(I[149], 29786, 33, "index"); - return html$.TableRowElement.as(this[S$2._insertRow](index)); - } - [S.$createFragment](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - if (dart.test(html$.Range.supportsCreateContextualFragment)) { - return super[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - } - let fragment = html$.DocumentFragment.new(); - let section = html$.TableElement.new()[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer})[S.$nodes][$single]; - 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; - } - [S$2.$deleteRow](...args) { - return this.deleteRow.apply(this, args); - } - [S$2._insertRow](...args) { - return this.insertRow.apply(this, args); - } -}; -(html$.TableSectionElement.created = function() { - html$.TableSectionElement.__proto__.created.call(this); - ; -}).prototype = html$.TableSectionElement.prototype; -dart.addTypeTests(html$.TableSectionElement); -dart.addTypeCaches(html$.TableSectionElement); -dart.setMethodSignature(html$.TableSectionElement, () => ({ - __proto__: dart.getMethods(html$.TableSectionElement.__proto__), - [S$2.$addRow]: dart.fnType(html$.TableRowElement, []), - [S$2.$insertRow]: dart.fnType(html$.TableRowElement, [core.int]), - [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[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; - } - get [S$2.$containerName]() { - return this.containerName; - } - get [S$2.$containerSrc]() { - return this.containerSrc; - } - get [S$2.$containerType]() { - return this.containerType; - } - get [S$2.$scriptUrl]() { - return this.scriptURL; - } -}; -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), - [S$2.$containerName]: dart.nullable(core.String), - [S$2.$containerSrc]: dart.nullable(core.String), - [S$2.$containerType]: dart.nullable(core.String), - [S$2.$scriptUrl]: dart.nullable(core.String) -})); -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"); - } - get [S$0.$content]() { - return this.content; - } - [S.$setInnerHtml](html, opts) { - let validator = opts && 'validator' in opts ? opts.validator : null; - let treeSanitizer = opts && 'treeSanitizer' in opts ? opts.treeSanitizer : null; - this[S.$text] = null; - dart.nullCheck(this.content)[S.$nodes][$clear](); - let fragment = this[S.$createFragment](html, {validator: validator, treeSanitizer: treeSanitizer}); - dart.nullCheck(this.content)[S.$append](fragment); - } -}; -(html$.TemplateElement.created = function() { - html$.TemplateElement.__proto__.created.call(this); - ; -}).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.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; - } - set [S$1.$autocapitalize](value) { - this.autocapitalize = value; - } - get [S$.$autofocus]() { - return this.autofocus; - } - set [S$.$autofocus](value) { - this.autofocus = value; - } - get [S$2.$cols]() { - return this.cols; - } - set [S$2.$cols](value) { - this.cols = value; - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - set [S$1.$defaultValue](value) { - this.defaultValue = value; - } - get [S$1.$dirName]() { - return this.dirName; - } - set [S$1.$dirName](value) { - this.dirName = value; - } - get [S$.$disabled]() { - return this.disabled; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$form]() { - return this.form; - } - get [S$.$labels]() { - return this.labels; - } - get [S$1.$maxLength]() { - return this.maxLength; - } - set [S$1.$maxLength](value) { - this.maxLength = value; - } - get [S$1.$minLength]() { - return this.minLength; - } - set [S$1.$minLength](value) { - this.minLength = value; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$.$placeholder]() { - return this.placeholder; - } - set [S$.$placeholder](value) { - this.placeholder = value; - } - get [S$.$readOnly]() { - return this.readOnly; - } - set [S$.$readOnly](value) { - this.readOnly = value; - } - get [S$.$required]() { - return this.required; - } - set [S$.$required](value) { - this.required = value; - } - get [S$2.$rows]() { - return this.rows; - } - set [S$2.$rows](value) { - this.rows = value; - } - get [S$1.$selectionDirection]() { - return this.selectionDirection; - } - set [S$1.$selectionDirection](value) { - this.selectionDirection = value; - } - get [S$1.$selectionEnd]() { - return this.selectionEnd; - } - set [S$1.$selectionEnd](value) { - this.selectionEnd = value; - } - get [S$1.$selectionStart]() { - return this.selectionStart; - } - set [S$1.$selectionStart](value) { - this.selectionStart = value; - } - get [S$2.$textLength]() { - return this.textLength; - } - get [S.$type]() { - return this.type; - } - get [S$.$validationMessage]() { - return this.validationMessage; - } - get [S$.$validity]() { - return this.validity; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$.$willValidate]() { - return this.willValidate; - } - get [S$2.$wrap]() { - return this.wrap; - } - set [S$2.$wrap](value) { - this.wrap = value; - } - [S$.$checkValidity](...args) { - return this.checkValidity.apply(this, args); - } - [S$.$reportValidity](...args) { - return this.reportValidity.apply(this, args); - } - [S$.$select](...args) { - return this.select.apply(this, args); - } - [S$.$setCustomValidity](...args) { - return this.setCustomValidity.apply(this, args); - } - [S$1.$setRangeText](...args) { - return this.setRangeText.apply(this, args); - } - [S$1.$setSelectionRange](...args) { - return this.setSelectionRange.apply(this, args); - } -}; -(html$.TextAreaElement.created = function() { - html$.TextAreaElement.__proto__.created.call(this); - ; -}).prototype = html$.TextAreaElement.prototype; -dart.addTypeTests(html$.TextAreaElement); -dart.addTypeCaches(html$.TextAreaElement); -dart.setMethodSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getMethods(html$.TextAreaElement.__proto__), - [S$.$checkValidity]: dart.fnType(core.bool, []), - [S$.$reportValidity]: dart.fnType(core.bool, []), - [S$.$select]: dart.fnType(dart.void, []), - [S$.$setCustomValidity]: dart.fnType(dart.void, [core.String]), - [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), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$.$form]: dart.nullable(html$.FormElement), - [S$.$labels]: dart.nullable(core.List$(html$.Node)), - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S$2.$textLength]: dart.nullable(core.int), - [S.$type]: dart.nullable(core.String), - [S$.$validationMessage]: dart.nullable(core.String), - [S$.$validity]: dart.nullable(html$.ValidityState), - [S.$value]: dart.nullable(core.String), - [S$.$willValidate]: dart.nullable(core.bool), - [S$2.$wrap]: core.String -})); -dart.setSetterSignature(html$.TextAreaElement, () => ({ - __proto__: dart.getSetters(html$.TextAreaElement.__proto__), - [S$1.$autocapitalize]: dart.nullable(core.String), - [S$.$autofocus]: core.bool, - [S$2.$cols]: core.int, - [S$1.$defaultValue]: dart.nullable(core.String), - [S$1.$dirName]: dart.nullable(core.String), - [S$.$disabled]: core.bool, - [S$1.$maxLength]: core.int, - [S$1.$minLength]: core.int, - [$name]: core.String, - [S$.$placeholder]: core.String, - [S$.$readOnly]: core.bool, - [S$.$required]: core.bool, - [S$2.$rows]: core.int, - [S$1.$selectionDirection]: dart.nullable(core.String), - [S$1.$selectionEnd]: dart.nullable(core.int), - [S$1.$selectionStart]: dart.nullable(core.int), - [S.$value]: dart.nullable(core.String), - [S$2.$wrap]: core.String -})); -dart.setLibraryUri(html$.TextAreaElement, I[150]); -dart.registerExtension("HTMLTextAreaElement", html$.TextAreaElement); -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(); - } - [S$.$detect](image) { - return js_util.promiseToFuture(core.List, this.detect(image)); - } -}; -dart.addTypeTests(html$.TextDetector); -dart.addTypeCaches(html$.TextDetector); -dart.setMethodSignature(html$.TextDetector, () => ({ - __proto__: dart.getMethods(html$.TextDetector.__proto__), - [S$.$detect]: dart.fnType(async.Future$(core.List), [dart.dynamic]) -})); -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[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; - if (view == null) { - view = html$.window; - } - let e = html$.TextEvent.as(html$.document[S._createEvent]("TextEvent")); - 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; - } - [S$2._initTextEvent](...args) { - return this.initTextEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.TextEvent); -dart.addTypeCaches(html$.TextEvent); -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[150]); -dart.registerExtension("TextEvent", html$.TextEvent); -html$.TextMetrics = class TextMetrics extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TextMetrics.__(); - } - get [S$2.$actualBoundingBoxAscent]() { - return this.actualBoundingBoxAscent; - } - get [S$2.$actualBoundingBoxDescent]() { - return this.actualBoundingBoxDescent; - } - get [S$2.$actualBoundingBoxLeft]() { - return this.actualBoundingBoxLeft; - } - get [S$2.$actualBoundingBoxRight]() { - return this.actualBoundingBoxRight; - } - get [S$2.$alphabeticBaseline]() { - return this.alphabeticBaseline; - } - get [S$2.$emHeightAscent]() { - return this.emHeightAscent; - } - get [S$3.$emHeightDescent]() { - return this.emHeightDescent; - } - get [S$3.$fontBoundingBoxAscent]() { - return this.fontBoundingBoxAscent; - } - get [S$3.$fontBoundingBoxDescent]() { - return this.fontBoundingBoxDescent; - } - get [S$3.$hangingBaseline]() { - return this.hangingBaseline; - } - get [S$3.$ideographicBaseline]() { - return this.ideographicBaseline; - } - get [$width]() { - return this.width; - } -}; -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), - [S$2.$actualBoundingBoxDescent]: dart.nullable(core.num), - [S$2.$actualBoundingBoxLeft]: dart.nullable(core.num), - [S$2.$actualBoundingBoxRight]: dart.nullable(core.num), - [S$2.$alphabeticBaseline]: dart.nullable(core.num), - [S$2.$emHeightAscent]: 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[150]); -dart.registerExtension("TextMetrics", html$.TextMetrics); -html$.TextTrack = class TextTrack extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrack.__(); - } - get [S$3.$activeCues]() { - return this.activeCues; - } - get [S$3.$cues]() { - return this.cues; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$mode]() { - return this.mode; - } - set [S.$mode](value) { - this.mode = value; - } - [S$3.$addCue](...args) { - return this.addCue.apply(this, args); - } - [S$3.$removeCue](...args) { - return this.removeCue.apply(this, args); - } - get [S$3.$onCueChange]() { - return html$.TextTrack.cueChangeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.TextTrack); -dart.addTypeCaches(html$.TextTrack); -dart.setMethodSignature(html$.TextTrack, () => ({ - __proto__: dart.getMethods(html$.TextTrack.__proto__), - [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$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$2.$language]: core.String, - [S.$mode]: dart.nullable(core.String), - [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[150]); -dart.setStaticFieldSignature(html$.TextTrack, () => ['cueChangeEvent']); -dart.defineLazy(html$.TextTrack, { - /*html$.TextTrack.cueChangeEvent*/get cueChangeEvent() { - return C[394] || CT.C394; - } -}, false); -dart.registerExtension("TextTrack", html$.TextTrack); -html$.TextTrackCue = class TextTrackCue extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.TextTrackCue.__(); - } - get [S$3.$endTime]() { - return this.endTime; - } - set [S$3.$endTime](value) { - this.endTime = value; - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$pauseOnExit]() { - return this.pauseOnExit; - } - set [S$3.$pauseOnExit](value) { - this.pauseOnExit = value; - } - get [S$.$startTime]() { - return this.startTime; - } - set [S$.$startTime](value) { - this.startTime = value; - } - get [S$1.$track]() { - return this.track; - } - get [S$3.$onEnter]() { - return html$.TextTrackCue.enterEvent.forTarget(this); - } - 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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num), - [S$1.$track]: dart.nullable(html$.TextTrack), - [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$3.$endTime]: dart.nullable(core.num), - [S.$id]: dart.nullable(core.String), - [S$3.$pauseOnExit]: dart.nullable(core.bool), - [S$.$startTime]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.TextTrackCue, I[150]); -dart.setStaticFieldSignature(html$.TextTrackCue, () => ['enterEvent', 'exitEvent']); -dart.defineLazy(html$.TextTrackCue, { - /*html$.TextTrackCue.enterEvent*/get enterEvent() { - return C[395] || CT.C395; - }, - /*html$.TextTrackCue.exitEvent*/get exitEvent() { - return C[396] || CT.C396; - } -}, false); -dart.registerExtension("TextTrackCue", html$.TextTrackCue); -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[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[149], 30249, 25, "index"); - html$.TextTrackCue.as(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[149], 30255, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30283, 30, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$getCueById](...args) { - return this.getCueById.apply(this, args); - } -}; -html$.TextTrackCueList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TextTrackCueList); -dart.addTypeCaches(html$.TextTrackCueList); -html$.TextTrackCueList[dart.implements] = () => [core.List$(html$.TextTrackCue), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrackCue)]; -dart.setMethodSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getMethods(html$.TextTrackCueList.__proto__), - [$_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$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 -})); -dart.setSetterSignature(html$.TextTrackCueList, () => ({ - __proto__: dart.getSetters(html$.TextTrackCueList.__proto__), - [$length]: core.int -})); -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() { - EventTarget_ListMixin$36$.__proto__._created.call(this); -}).prototype = EventTarget_ListMixin$36$.prototype; -dart.applyMixin(EventTarget_ListMixin$36$, collection.ListMixin$(html$.TextTrack)); -const EventTarget_ImmutableListMixin$36$ = class EventTarget_ImmutableListMixin extends EventTarget_ListMixin$36$ {}; -(EventTarget_ImmutableListMixin$36$._created = function() { - EventTarget_ImmutableListMixin$36$.__proto__._created.call(this); -}).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[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[149], 30323, 25, "index"); - html$.TextTrack.as(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[149], 30329, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30357, 27, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S$1.$onAddTrack]() { - return html$.TextTrackList.addTrackEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.TextTrackList.changeEvent.forTarget(this); - } -}; -html$.TextTrackList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TextTrackList); -dart.addTypeCaches(html$.TextTrackList); -html$.TextTrackList[dart.implements] = () => [core.List$(html$.TextTrack), _js_helper.JavaScriptIndexingBehavior$(html$.TextTrack)]; -dart.setMethodSignature(html$.TextTrackList, () => ({ - __proto__: dart.getMethods(html$.TextTrackList.__proto__), - [$_get]: dart.fnType(html$.TextTrack, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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, - [S$1.$onAddTrack]: async.Stream$(html$.TrackEvent), - [S.$onChange]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.TextTrackList, () => ({ - __proto__: dart.getSetters(html$.TextTrackList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$.TextTrackList, I[150]); -dart.setStaticFieldSignature(html$.TextTrackList, () => ['addTrackEvent', 'changeEvent']); -dart.defineLazy(html$.TextTrackList, { - /*html$.TextTrackList.addTrackEvent*/get addTrackEvent() { - return C[397] || CT.C397; - }, - /*html$.TextTrackList.changeEvent*/get changeEvent() { - 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; - } - set [S$1.$dateTime](value) { - this.dateTime = value; - } -}; -(html$.TimeElement.created = function() { - html$.TimeElement.__proto__.created.call(this); - ; -}).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) -})); -dart.setSetterSignature(html$.TimeElement, () => ({ - __proto__: dart.getSetters(html$.TimeElement.__proto__), - [S$1.$dateTime]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.TimeElement, I[150]); -dart.registerExtension("HTMLTimeElement", html$.TimeElement); -html$.TimeRanges = class TimeRanges extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TimeRanges.__(); - } - get [$length]() { - return this.length; - } - [S$3.$end](...args) { - return this.end.apply(this, args); - } - [S$.$start](...args) { - return this.start.apply(this, args); - } -}; -dart.addTypeTests(html$.TimeRanges); -dart.addTypeCaches(html$.TimeRanges); -dart.setMethodSignature(html$.TimeRanges, () => ({ - __proto__: dart.getMethods(html$.TimeRanges.__proto__), - [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[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); - ; -}).prototype = html$.TitleElement.prototype; -dart.addTypeTests(html$.TitleElement); -dart.addTypeCaches(html$.TitleElement); -dart.setStaticMethodSignature(html$.TitleElement, () => ['__', 'new']); -dart.setLibraryUri(html$.TitleElement, I[150]); -dart.registerExtension("HTMLTitleElement", html$.TitleElement); -html$.Touch = class Touch$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.Touch.__(); - } - static new(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); - } - get [S$1._clientX]() { - return this.clientX; - } - get [S$1._clientY]() { - return this.clientY; - } - get [S$3.$force]() { - return this.force; - } - get [S$3.$identifier]() { - return this.identifier; - } - get [S$1._pageX]() { - return this.pageX; - } - get [S$1._pageY]() { - return this.pageY; - } - get [S$3._radiusX]() { - return this.radiusX; - } - get [S$3._radiusY]() { - return this.radiusY; - } - get [S$1.$region]() { - return this.region; - } - get [S$3.$rotationAngle]() { - return this.rotationAngle; - } - get [S$1._screenX]() { - return this.screenX; - } - get [S$1._screenY]() { - return this.screenY; - } - get [S.$target]() { - return html$._convertNativeToDart_EventTarget(this[S._get_target]); - } - get [S._get_target]() { - return this.target; - } - get [S$3.__clientX]() { - return this.clientX[$round](); - } - get [S$3.__clientY]() { - return this.clientY[$round](); - } - get [S$3.__screenX]() { - return this.screenX[$round](); - } - get [S$3.__screenY]() { - return this.screenY[$round](); - } - get [S$3.__pageX]() { - return this.pageX[$round](); - } - get [S$3.__pageY]() { - return this.pageY[$round](); - } - get [S$3.__radiusX]() { - return this.radiusX[$round](); - } - get [S$3.__radiusY]() { - return this.radiusY[$round](); - } - get [S.$client]() { - 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$3.__pageX], this[S$3.__pageY]); - } - get [S$1.$screen]() { - return new (T$0.PointOfnum()).new(this[S$3.__screenX], this[S$3.__screenY]); - } - get [S$3.$radiusX]() { - return this[S$3.__radiusX]; - } - 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$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$3._radiusX]: dart.nullable(core.num), - [S$3._radiusY]: dart.nullable(core.num), - [S$1.$region]: dart.nullable(core.String), - [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$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$3.$radiusX]: core.int, - [S$3.$radiusY]: core.int -})); -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[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); - } - static _create_2(type) { - return new TouchEvent(type); - } - get [S$1.$altKey]() { - return this.altKey; - } - get [S$3.$changedTouches]() { - return this.changedTouches; - } - get [S$1.$ctrlKey]() { - return this.ctrlKey; - } - get [S$1.$metaKey]() { - return this.metaKey; - } - get [S$1.$shiftKey]() { - return this.shiftKey; - } - get [S$3.$targetTouches]() { - return this.targetTouches; - } - get [S$3.$touches]() { - return this.touches; - } - static get supported() { - try { - return html$.TouchEvent.is(html$.TouchEvent.new("touches")); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - return false; - } -}; -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$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.setStaticGetterSignature(html$.TouchEvent, () => ['supported']); -dart.setLibraryUri(html$.TouchEvent, I[150]); -dart.registerExtension("TouchEvent", html$.TouchEvent); -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; - } - get [$length]() { - return this.length; - } - [$_get](index) { - 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[149], 30592, 25, "index"); - html$.Touch.as(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[149], 30598, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 30626, 23, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$.TouchList.prototype[dart.isList] = true; -dart.addTypeTests(html$.TouchList); -dart.addTypeCaches(html$.TouchList); -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 -})); -dart.setSetterSignature(html$.TouchList, () => ({ - __proto__: dart.getSetters(html$.TouchList.__proto__), - [$length]: core.int -})); -dart.setStaticGetterSignature(html$.TouchList, () => ['supported']); -dart.setLibraryUri(html$.TouchList, I[150]); -dart.registerExtension("TouchList", html$.TouchList); -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[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); - } - 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); - } - static _create_2(type, language, label, kinds) { - return new TrackDefault(type, language, label, kinds); - } - get [S$3.$byteStreamTrackID]() { - return this.byteStreamTrackID; - } - get [S$3.$kinds]() { - return this.kinds; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S.$type]() { - return this.type; - } -}; -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$2.$language]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.TrackDefault, I[150]); -dart.registerExtension("TrackDefault", html$.TrackDefault); -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); - } - static _create_2() { - return new TrackDefaultList(); - } - get [$length]() { - return this.length; - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$.TrackDefaultList); -dart.addTypeCaches(html$.TrackDefaultList); -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[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"); - } - get [S$1.$defaultValue]() { - return this.default; - } - set [S$1.$defaultValue](value) { - this.default = value; - } - get [S$.$kind]() { - return this.kind; - } - set [S$.$kind](value) { - this.kind = value; - } - get [S$.$label]() { - return this.label; - } - set [S$.$label](value) { - this.label = value; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$src]() { - return this.src; - } - set [S$.$src](value) { - this.src = value; - } - get [S$3.$srclang]() { - return this.srclang; - } - set [S$3.$srclang](value) { - this.srclang = value; - } - get [S$1.$track]() { - return this.track; - } -}; -(html$.TrackElement.created = function() { - html$.TrackElement.__proto__.created.call(this); - ; -}).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), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S.$readyState]: dart.nullable(core.int), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String), - [S$1.$track]: dart.nullable(html$.TextTrack) -})); -dart.setSetterSignature(html$.TrackElement, () => ({ - __proto__: dart.getSetters(html$.TrackElement.__proto__), - [S$1.$defaultValue]: dart.nullable(core.bool), - [S$.$kind]: dart.nullable(core.String), - [S$.$label]: dart.nullable(core.String), - [S$.$src]: dart.nullable(core.String), - [S$3.$srclang]: dart.nullable(core.String) -})); -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; - }, - /*html$.TrackElement.LOADED*/get LOADED() { - return 2; - }, - /*html$.TrackElement.LOADING*/get LOADING() { - return 1; - }, - /*html$.TrackElement.NONE*/get NONE() { - return 0; - } -}, 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[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); - } - static _create_2(type) { - return new TrackEvent(type); - } - get [S$1.$track]() { - return this.track; - } -}; -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[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[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); - } - static _create_2(type) { - return new TransitionEvent(type); - } - get [S$.$elapsedTime]() { - return this.elapsedTime; - } - get [S$3.$propertyName]() { - return this.propertyName; - } - get [S$3.$pseudoElement]() { - return this.pseudoElement; - } -}; -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[150]); -dart.registerExtension("TransitionEvent", html$.TransitionEvent); -dart.registerExtension("WebKitTransitionEvent", html$.TransitionEvent); -html$.TreeWalker = class TreeWalker extends _interceptors.JavaScriptObject { - static new(root, 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; - } - set [S$3.$currentNode](value) { - this.currentNode = value; - } - get [S$.$filter]() { - return this.filter; - } - get [S$1.$root]() { - return this.root; - } - get [S$2.$whatToShow]() { - return this.whatToShow; - } - [S$.$firstChild](...args) { - return this.firstChild.apply(this, args); - } - [S$.$lastChild](...args) { - return this.lastChild.apply(this, args); - } - [S.$nextNode](...args) { - return this.nextNode.apply(this, args); - } - [S$2.$nextSibling](...args) { - return this.nextSibling.apply(this, args); - } - [S$.$parentNode](...args) { - return this.parentNode.apply(this, args); - } - [S$.$previousNode](...args) { - return this.previousNode.apply(this, args); - } - [S$2.$previousSibling](...args) { - return this.previousSibling.apply(this, args); - } -}; -dart.addTypeTests(html$.TreeWalker); -dart.addTypeCaches(html$.TreeWalker); -dart.setMethodSignature(html$.TreeWalker, () => ({ - __proto__: dart.getMethods(html$.TreeWalker.__proto__), - [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$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$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, - [S$.$filter]: dart.nullable(html$.NodeFilter), - [S$1.$root]: html$.Node, - [S$2.$whatToShow]: core.int -})); -dart.setSetterSignature(html$.TreeWalker, () => ({ - __proto__: dart.getSetters(html$.TreeWalker.__proto__), - [S$3.$currentNode]: html$.Node -})); -dart.setLibraryUri(html$.TreeWalker, I[150]); -dart.registerExtension("TreeWalker", html$.TreeWalker); -html$.TrustedHtml = class TrustedHtml extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedHtml.__(); - } -}; -dart.addTypeTests(html$.TrustedHtml); -dart.addTypeCaches(html$.TrustedHtml); -dart.setStaticMethodSignature(html$.TrustedHtml, () => ['__', 'escape', 'unsafelyCreate']); -dart.setLibraryUri(html$.TrustedHtml, I[150]); -dart.registerExtension("TrustedHTML", html$.TrustedHtml); -html$.TrustedScriptUrl = class TrustedScriptUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedScriptUrl.__(); - } -}; -dart.addTypeTests(html$.TrustedScriptUrl); -dart.addTypeCaches(html$.TrustedScriptUrl); -dart.setStaticMethodSignature(html$.TrustedScriptUrl, () => ['__', 'unsafelyCreate']); -dart.setLibraryUri(html$.TrustedScriptUrl, I[150]); -dart.registerExtension("TrustedScriptURL", html$.TrustedScriptUrl); -html$.TrustedUrl = class TrustedUrl extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.TrustedUrl.__(); - } -}; -dart.addTypeTests(html$.TrustedUrl); -dart.addTypeCaches(html$.TrustedUrl); -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); - ; -}).prototype = html$.UListElement.prototype; -dart.addTypeTests(html$.UListElement); -dart.addTypeCaches(html$.UListElement); -dart.setStaticMethodSignature(html$.UListElement, () => ['__', 'new']); -dart.setLibraryUri(html$.UListElement, I[150]); -dart.registerExtension("HTMLUListElement", html$.UListElement); -html$.UnderlyingSourceBase = class UnderlyingSourceBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UnderlyingSourceBase.__(); - } - [S$.$cancel](reason) { - return js_util.promiseToFuture(dart.dynamic, this.cancel(reason)); - } - [S$3.$notifyLockAcquired](...args) { - return this.notifyLockAcquired.apply(this, args); - } - [S$3.$notifyLockReleased](...args) { - return this.notifyLockReleased.apply(this, args); - } - [S$3.$pull]() { - return js_util.promiseToFuture(dart.dynamic, this.pull()); - } - [S$.$start](stream) { - if (stream == null) dart.nullFailed(I[149], 30997, 23, "stream"); - return js_util.promiseToFuture(dart.dynamic, this.start(stream)); - } -}; -dart.addTypeTests(html$.UnderlyingSourceBase); -dart.addTypeCaches(html$.UnderlyingSourceBase); -dart.setMethodSignature(html$.UnderlyingSourceBase, () => ({ - __proto__: dart.getMethods(html$.UnderlyingSourceBase.__proto__), - [S$.$cancel]: dart.fnType(async.Future, [dart.nullable(core.Object)]), - [S$3.$notifyLockAcquired]: dart.fnType(dart.void, []), - [S$3.$notifyLockReleased]: dart.fnType(dart.void, []), - [S$3.$pull]: dart.fnType(async.Future, []), - [S$.$start]: dart.fnType(async.Future, [core.Object]) -})); -dart.setStaticMethodSignature(html$.UnderlyingSourceBase, () => ['__']); -dart.setLibraryUri(html$.UnderlyingSourceBase, I[150]); -dart.registerExtension("UnderlyingSourceBase", html$.UnderlyingSourceBase); -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.setStaticMethodSignature(html$.UnknownElement, () => ['__']); -dart.setLibraryUri(html$.UnknownElement, I[150]); -dart.registerExtension("HTMLUnknownElement", html$.UnknownElement); -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[149], 31028, 55, "source"); - return (self.URL || self.webkitURL).createObjectURL(source); - } - static createObjectUrlFromStream(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[149], 31034, 46, "blob"); - return (self.URL || self.webkitURL).createObjectURL(blob); - } - static revokeObjectUrl(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; - } - set [S$.$hash](value) { - this.hash = value; - } - get [S$.$host]() { - return this.host; - } - set [S$.$host](value) { - this.host = value; - } - get [S$.$hostname]() { - return this.hostname; - } - set [S$.$hostname](value) { - this.hostname = value; - } - get [S$.$href]() { - return this.href; - } - set [S$.$href](value) { - this.href = value; - } - get [S$.$origin]() { - return this.origin; - } - get [S$.$password]() { - return this.password; - } - set [S$.$password](value) { - this.password = value; - } - get [S$.$pathname]() { - return this.pathname; - } - set [S$.$pathname](value) { - this.pathname = value; - } - get [S$.$port]() { - return this.port; - } - set [S$.$port](value) { - this.port = value; - } - get [S$.$protocol]() { - return this.protocol; - } - set [S$.$protocol](value) { - this.protocol = value; - } - get [S$.$search]() { - return this.search; - } - set [S$.$search](value) { - this.search = value; - } - get [S$3.$searchParams]() { - return this.searchParams; - } - get [S$.$username]() { - return this.username; - } - set [S$.$username](value) { - this.username = value; - } -}; -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), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$3.$searchParams]: dart.nullable(html$.UrlSearchParams), - [S$.$username]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.Url, () => ({ - __proto__: dart.getSetters(html$.Url.__proto__), - [S$.$hash]: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - [S$.$password]: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String), - [S$.$username]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.Url, I[150]); -dart.registerExtension("URL", html$.Url); -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); - } - static _create_2() { - return new URLSearchParams(); - } - [S.$append](...args) { - return this.append.apply(this, args); - } - [S.$delete](...args) { - return this.delete.apply(this, args); - } - [S.$get](...args) { - return this.get.apply(this, args); - } - [S.$getAll](...args) { - return this.getAll.apply(this, args); - } - [S$.$has](...args) { - return this.has.apply(this, args); - } - [S$.$set](...args) { - return this.set.apply(this, args); - } - [$sort](...args) { - return this.sort.apply(this, args); - } -}; -dart.addTypeTests(html$.UrlSearchParams); -dart.addTypeCaches(html$.UrlSearchParams); -dart.setMethodSignature(html$.UrlSearchParams, () => ({ - __proto__: dart.getMethods(html$.UrlSearchParams.__proto__), - [S.$append]: dart.fnType(dart.void, [core.String, core.String]), - [S.$delete]: dart.fnType(dart.void, [core.String]), - [S.$get]: dart.fnType(dart.nullable(core.String), [core.String]), - [S.$getAll]: dart.fnType(core.List$(core.String), [core.String]), - [S$.$has]: dart.fnType(core.bool, [core.String]), - [S$.$set]: dart.fnType(dart.void, [core.String, core.String]), - [$sort]: dart.fnType(dart.void, []) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.UrlUtilsReadOnly.__(); - } - get hash() { - return this.hash; - } - get host() { - return this.host; - } - get hostname() { - return this.hostname; - } - get href() { - return this.href; - } - get origin() { - return this.origin; - } - get pathname() { - return this.pathname; - } - get port() { - return this.port; - } - get protocol() { - return this.protocol; - } - get search() { - return this.search; - } -}; -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), - [S$.$hash]: dart.nullable(core.String), - host: dart.nullable(core.String), - [S$.$host]: dart.nullable(core.String), - hostname: dart.nullable(core.String), - [S$.$hostname]: dart.nullable(core.String), - href: dart.nullable(core.String), - [S$.$href]: dart.nullable(core.String), - origin: dart.nullable(core.String), - [S$.$origin]: dart.nullable(core.String), - pathname: dart.nullable(core.String), - [S$.$pathname]: dart.nullable(core.String), - port: dart.nullable(core.String), - [S$.$port]: dart.nullable(core.String), - protocol: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - search: dart.nullable(core.String), - [S$.$search]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.UrlUtilsReadOnly, I[150]); -dart.defineExtensionAccessors(html$.UrlUtilsReadOnly, [ - 'hash', - 'host', - 'hostname', - 'href', - 'origin', - 'pathname', - 'port', - 'protocol', - 'search' -]); -html$.VR = class VR extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$.VR.__(); - } - [S$3.$getDevices]() { - return js_util.promiseToFuture(dart.dynamic, this.getDevices()); - } -}; -dart.addTypeTests(html$.VR); -dart.addTypeCaches(html$.VR); -dart.setMethodSignature(html$.VR, () => ({ - __proto__: dart.getMethods(html$.VR.__proto__), - [S$3.$getDevices]: dart.fnType(async.Future, []) -})); -dart.setStaticMethodSignature(html$.VR, () => ['__']); -dart.setLibraryUri(html$.VR, I[150]); -dart.registerExtension("VR", html$.VR); -html$.VRCoordinateSystem = class VRCoordinateSystem extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRCoordinateSystem.__(); - } - [S$3.$getTransformTo](...args) { - return this.getTransformTo.apply(this, args); - } -}; -dart.addTypeTests(html$.VRCoordinateSystem); -dart.addTypeCaches(html$.VRCoordinateSystem); -dart.setMethodSignature(html$.VRCoordinateSystem, () => ({ - __proto__: dart.getMethods(html$.VRCoordinateSystem.__proto__), - [S$3.$getTransformTo]: dart.fnType(dart.nullable(typed_data.Float32List), [html$.VRCoordinateSystem]) -})); -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; - } - get [S$3.$isExternal]() { - return this.isExternal; - } - [S$3.$requestSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestSession(options_dict)); - } - [S$3.$supportsSession](options = null) { - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.supportsSession(options_dict)); - } -}; -dart.addTypeTests(html$.VRDevice); -dart.addTypeCaches(html$.VRDevice); -dart.setMethodSignature(html$.VRDevice, () => ({ - __proto__: dart.getMethods(html$.VRDevice.__proto__), - [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[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[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); - } - get [S$3.$device]() { - return this.device; - } -}; -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[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; - } - get [S$3.$depthFar]() { - return this.depthFar; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$1.$displayId]() { - return this.displayId; - } - get [S$3.$displayName]() { - return this.displayName; - } - get [S$3.$isPresenting]() { - return this.isPresenting; - } - get [S$3.$stageParameters]() { - return this.stageParameters; - } - [S$3.$cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3.$exitPresent]() { - return js_util.promiseToFuture(dart.dynamic, this.exitPresent()); - } - [S$3.$getEyeParameters](...args) { - return this.getEyeParameters.apply(this, args); - } - [S$3.$getFrameData](...args) { - return this.getFrameData.apply(this, args); - } - [S$3.$getLayers](...args) { - return this.getLayers.apply(this, args); - } - [S$3.$requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3.$requestPresent](layers) { - if (layers == null) dart.nullFailed(I[149], 31273, 35, "layers"); - return js_util.promiseToFuture(dart.dynamic, this.requestPresent(layers)); - } - [S$3.$submitFrame](...args) { - return this.submitFrame.apply(this, args); - } -}; -dart.addTypeTests(html$.VRDisplay); -dart.addTypeCaches(html$.VRDisplay); -dart.setMethodSignature(html$.VRDisplay, () => ({ - __proto__: dart.getMethods(html$.VRDisplay.__proto__), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3.$exitPresent]: dart.fnType(async.Future, []), - [S$3.$getEyeParameters]: dart.fnType(html$.VREyeParameters, [core.String]), - [S$3.$getFrameData]: dart.fnType(core.bool, [html$.VRFrameData]), - [S$3.$getLayers]: dart.fnType(core.List$(core.Map), []), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [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), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num), - [S$1.$displayId]: dart.nullable(core.int), - [S$3.$displayName]: dart.nullable(core.String), - [S$3.$isPresenting]: dart.nullable(core.bool), - [S$3.$stageParameters]: dart.nullable(html$.VRStageParameters) -})); -dart.setSetterSignature(html$.VRDisplay, () => ({ - __proto__: dart.getSetters(html$.VRDisplay.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.VRDisplay, I[150]); -dart.registerExtension("VRDisplay", html$.VRDisplay); -html$.VRDisplayCapabilities = class VRDisplayCapabilities extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRDisplayCapabilities.__(); - } - get [S$3.$canPresent]() { - return this.canPresent; - } - get [S$3.$hasExternalDisplay]() { - return this.hasExternalDisplay; - } - get [S$1.$hasPosition]() { - return this.hasPosition; - } - get [S$3.$maxLayers]() { - return this.maxLayers; - } -}; -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), - [S$3.$hasExternalDisplay]: dart.nullable(core.bool), - [S$1.$hasPosition]: dart.nullable(core.bool), - [S$3.$maxLayers]: dart.nullable(core.int) -})); -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[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); - } - static _create_2(type) { - return new VRDisplayEvent(type); - } - get [S$0.$display]() { - return this.display; - } - get [S$.$reason]() { - return this.reason; - } -}; -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[150]); -dart.registerExtension("VRDisplayEvent", html$.VRDisplayEvent); -html$.VREyeParameters = class VREyeParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VREyeParameters.__(); - } - get [S.$offset]() { - return this.offset; - } - get [S$3.$renderHeight]() { - return this.renderHeight; - } - get [S$3.$renderWidth]() { - return this.renderWidth; - } -}; -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[150]); -dart.registerExtension("VREyeParameters", html$.VREyeParameters); -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(); - } - get [S$3.$leftProjectionMatrix]() { - return this.leftProjectionMatrix; - } - get [S$3.$leftViewMatrix]() { - return this.leftViewMatrix; - } - get [S$1.$pose]() { - return this.pose; - } - get [S$3.$rightProjectionMatrix]() { - return this.rightProjectionMatrix; - } - get [S$3.$rightViewMatrix]() { - return this.rightViewMatrix; - } -}; -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), - [S$3.$leftViewMatrix]: dart.nullable(typed_data.Float32List), - [S$1.$pose]: dart.nullable(html$.VRPose), - [S$3.$rightProjectionMatrix]: dart.nullable(typed_data.Float32List), - [S$3.$rightViewMatrix]: dart.nullable(typed_data.Float32List) -})); -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; - } - get [S$3.$emulatedHeight]() { - return this.emulatedHeight; - } -}; -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[150]); -dart.registerExtension("VRFrameOfReference", html$.VRFrameOfReference); -html$.VRPose = class VRPose extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRPose.__(); - } - get [S$1.$angularAcceleration]() { - return this.angularAcceleration; - } - get [S$1.$angularVelocity]() { - return this.angularVelocity; - } - get [S$1.$linearAcceleration]() { - return this.linearAcceleration; - } - get [S$1.$linearVelocity]() { - return this.linearVelocity; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$0.$position]() { - return this.position; - } -}; -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), - [S$1.$angularVelocity]: dart.nullable(typed_data.Float32List), - [S$1.$linearAcceleration]: dart.nullable(typed_data.Float32List), - [S$1.$linearVelocity]: dart.nullable(typed_data.Float32List), - [S$.$orientation]: dart.nullable(typed_data.Float32List), - [S$0.$position]: dart.nullable(typed_data.Float32List) -})); -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; - } - set [S$3.$depthFar](value) { - this.depthFar = value; - } - get [S$3.$depthNear]() { - return this.depthNear; - } - set [S$3.$depthNear](value) { - this.depthNear = value; - } - get [S$3.$device]() { - return this.device; - } - get [S$3.$exclusive]() { - return this.exclusive; - } - [S$3.$end]() { - return js_util.promiseToFuture(dart.dynamic, this.end()); - } - [S$3.$requestFrameOfReference](type, options = null) { - if (type == null) dart.nullFailed(I[149], 31436, 41, "type"); - let options_dict = null; - if (options != null) { - options_dict = html_common.convertDartToNative_Dictionary(options); - } - return js_util.promiseToFuture(dart.dynamic, this.requestFrameOfReference(type, options_dict)); - } - get [S.$onBlur]() { - return html$.VRSession.blurEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.VRSession.focusEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.VRSession); -dart.addTypeCaches(html$.VRSession); -dart.setMethodSignature(html$.VRSession, () => ({ - __proto__: dart.getMethods(html$.VRSession.__proto__), - [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), - [S$3.$depthNear]: dart.nullable(core.num), - [S$3.$device]: dart.nullable(html$.VRDevice), - [S$3.$exclusive]: dart.nullable(core.bool), - [S.$onBlur]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.VRSession, () => ({ - __proto__: dart.getSetters(html$.VRSession.__proto__), - [S$3.$depthFar]: dart.nullable(core.num), - [S$3.$depthNear]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$.VRSession, I[150]); -dart.setStaticFieldSignature(html$.VRSession, () => ['blurEvent', 'focusEvent']); -dart.defineLazy(html$.VRSession, { - /*html$.VRSession.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*html$.VRSession.focusEvent*/get focusEvent() { - 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[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); - } - get [S$3.$session]() { - return this.session; - } -}; -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[150]); -dart.registerExtension("VRSessionEvent", html$.VRSessionEvent); -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[150]); -dart.registerExtension("VRStageBounds", html$.VRStageBounds); -html$.VRStageBoundsPoint = class VRStageBoundsPoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageBoundsPoint.__(); - } - get [S$.$x]() { - return this.x; - } - get [S$.$z]() { - return this.z; - } -}; -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[150]); -dart.registerExtension("VRStageBoundsPoint", html$.VRStageBoundsPoint); -html$.VRStageParameters = class VRStageParameters extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VRStageParameters.__(); - } - get [S$3.$sittingToStandingTransform]() { - return this.sittingToStandingTransform; - } - get [S$3.$sizeX]() { - return this.sizeX; - } - get [S$3.$sizeZ]() { - return this.sizeZ; - } -}; -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[150]); -dart.registerExtension("VRStageParameters", html$.VRStageParameters); -html$.ValidityState = class ValidityState extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.ValidityState.__(); - } - get [S$3.$badInput]() { - return this.badInput; - } - get [S$3.$customError]() { - return this.customError; - } - get [S$3.$patternMismatch]() { - return this.patternMismatch; - } - get [S$3.$rangeOverflow]() { - return this.rangeOverflow; - } - get [S$3.$rangeUnderflow]() { - return this.rangeUnderflow; - } - get [S$3.$stepMismatch]() { - return this.stepMismatch; - } - get [S$3.$tooLong]() { - return this.tooLong; - } - get [S$3.$tooShort]() { - return this.tooShort; - } - get [S$3.$typeMismatch]() { - return this.typeMismatch; - } - get [S$3.$valid]() { - return this.valid; - } - get [S$3.$valueMissing]() { - return this.valueMissing; - } -}; -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), - [S$3.$customError]: dart.nullable(core.bool), - [S$3.$patternMismatch]: dart.nullable(core.bool), - [S$3.$rangeOverflow]: dart.nullable(core.bool), - [S$3.$rangeUnderflow]: dart.nullable(core.bool), - [S$3.$stepMismatch]: dart.nullable(core.bool), - [S$3.$tooLong]: dart.nullable(core.bool), - [S$3.$tooShort]: dart.nullable(core.bool), - [S$3.$typeMismatch]: dart.nullable(core.bool), - [S$3.$valid]: dart.nullable(core.bool), - [S$3.$valueMissing]: dart.nullable(core.bool) -})); -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; - } - set [$height](value) { - this.height = value; - } - get [S$3.$poster]() { - return this.poster; - } - set [S$3.$poster](value) { - this.poster = value; - } - get [S$3.$videoHeight]() { - return this.videoHeight; - } - get [S$3.$videoWidth]() { - return this.videoWidth; - } - get [S$3.$decodedFrameCount]() { - return this.webkitDecodedFrameCount; - } - get [S$3.$droppedFrameCount]() { - return this.webkitDroppedFrameCount; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - [S$3.$getVideoPlaybackQuality](...args) { - return this.getVideoPlaybackQuality.apply(this, args); - } - [S$3.$enterFullscreen](...args) { - return this.webkitEnterFullscreen.apply(this, args); - } - [S$1.$exitFullscreen](...args) { - return this.webkitExitFullscreen.apply(this, args); - } -}; -(html$.VideoElement.created = function() { - html$.VideoElement.__proto__.created.call(this); - ; -}).prototype = html$.VideoElement.prototype; -dart.addTypeTests(html$.VideoElement); -dart.addTypeCaches(html$.VideoElement); -html$.VideoElement[dart.implements] = () => [html$.CanvasImageSource]; -dart.setMethodSignature(html$.VideoElement, () => ({ - __proto__: dart.getMethods(html$.VideoElement.__proto__), - [S$3.$getVideoPlaybackQuality]: dart.fnType(html$.VideoPlaybackQuality, []), - [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, - [S$3.$poster]: core.String, - [S$3.$videoHeight]: core.int, - [S$3.$videoWidth]: core.int, - [S$3.$decodedFrameCount]: dart.nullable(core.int), - [S$3.$droppedFrameCount]: dart.nullable(core.int), - [$width]: core.int -})); -dart.setSetterSignature(html$.VideoElement, () => ({ - __proto__: dart.getSetters(html$.VideoElement.__proto__), - [$height]: core.int, - [S$3.$poster]: core.String, - [$width]: core.int -})); -dart.setLibraryUri(html$.VideoElement, I[150]); -dart.registerExtension("HTMLVideoElement", html$.VideoElement); -html$.VideoPlaybackQuality = class VideoPlaybackQuality extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoPlaybackQuality.__(); - } - get [S$3.$corruptedVideoFrames]() { - return this.corruptedVideoFrames; - } - get [S$3.$creationTime]() { - return this.creationTime; - } - get [S$3.$droppedVideoFrames]() { - return this.droppedVideoFrames; - } - get [S$3.$totalVideoFrames]() { - return this.totalVideoFrames; - } -}; -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), - [S$3.$creationTime]: dart.nullable(core.num), - [S$3.$droppedVideoFrames]: dart.nullable(core.int), - [S$3.$totalVideoFrames]: dart.nullable(core.int) -})); -dart.setLibraryUri(html$.VideoPlaybackQuality, I[150]); -dart.registerExtension("VideoPlaybackQuality", html$.VideoPlaybackQuality); -html$.VideoTrack = class VideoTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.VideoTrack.__(); - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$.$selected]() { - return this.selected; - } - set [S$.$selected](value) { - this.selected = value; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } -}; -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$2.$language]: dart.nullable(core.String), - [S$.$selected]: dart.nullable(core.bool), - [S$3.$sourceBuffer]: dart.nullable(html$.SourceBuffer) -})); -dart.setSetterSignature(html$.VideoTrack, () => ({ - __proto__: dart.getSetters(html$.VideoTrack.__proto__), - [S$.$selected]: dart.nullable(core.bool) -})); -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; - } - get [S$2.$selectedIndex]() { - return this.selectedIndex; - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return html$.VideoTrackList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.VideoTrackList); -dart.addTypeCaches(html$.VideoTrackList); -dart.setMethodSignature(html$.VideoTrackList, () => ({ - __proto__: dart.getMethods(html$.VideoTrackList.__proto__), - [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[150]); -dart.setStaticFieldSignature(html$.VideoTrackList, () => ['changeEvent']); -dart.defineLazy(html$.VideoTrackList, { - /*html$.VideoTrackList.changeEvent*/get changeEvent() { - 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; - } - get [S.$offsetLeft]() { - return this.offsetLeft; - } - get [S.$offsetTop]() { - return this.offsetTop; - } - get [S$3.$pageLeft]() { - return this.pageLeft; - } - get [S$3.$pageTop]() { - return this.pageTop; - } - get [S$.$scale]() { - return this.scale; - } - get [$width]() { - return this.width; - } - get [S$.$onResize]() { - return html$.VisualViewport.resizeEvent.forTarget(this); - } - 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), - [S.$offsetLeft]: dart.nullable(core.num), - [S.$offsetTop]: dart.nullable(core.num), - [S$3.$pageLeft]: dart.nullable(core.num), - [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) -})); -dart.setLibraryUri(html$.VisualViewport, I[150]); -dart.setStaticFieldSignature(html$.VisualViewport, () => ['resizeEvent', 'scrollEvent']); -dart.defineLazy(html$.VisualViewport, { - /*html$.VisualViewport.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*html$.VisualViewport.scrollEvent*/get scrollEvent() { - 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[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); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$line]() { - return this.line; - } - set [S$3.$line](value) { - this.line = value; - } - get [S$0.$position]() { - return this.position; - } - set [S$0.$position](value) { - this.position = value; - } - get [S$1.$region]() { - return this.region; - } - set [S$1.$region](value) { - this.region = value; - } - get [S$.$size]() { - return this.size; - } - set [S$.$size](value) { - this.size = value; - } - get [S$3.$snapToLines]() { - return this.snapToLines; - } - set [S$3.$snapToLines](value) { - this.snapToLines = value; - } - get [S.$text]() { - return this.text; - } - set [S.$text](value) { - this.text = value; - } - get [S$3.$vertical]() { - return this.vertical; - } - set [S$3.$vertical](value) { - this.vertical = value; - } - [S$3.$getCueAsHtml](...args) { - return this.getCueAsHTML.apply(this, args); - } -}; -dart.addTypeTests(html$.VttCue); -dart.addTypeCaches(html$.VttCue); -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), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$.VttCue, () => ({ - __proto__: dart.getSetters(html$.VttCue.__proto__), - [S$3.$align]: dart.nullable(core.String), - [S$3.$line]: dart.nullable(core.Object), - [S$0.$position]: dart.nullable(core.Object), - [S$1.$region]: dart.nullable(html$.VttRegion), - [S$.$size]: dart.nullable(core.num), - [S$3.$snapToLines]: dart.nullable(core.bool), - [S.$text]: dart.nullable(core.String), - [S$3.$vertical]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$.VttCue, I[150]); -dart.registerExtension("VTTCue", html$.VttCue); -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(); - } - get [S.$id]() { - return this.id; - } - set [S.$id](value) { - this.id = value; - } - get [S$3.$lines]() { - return this.lines; - } - set [S$3.$lines](value) { - this.lines = value; - } - get [S$3.$regionAnchorX]() { - return this.regionAnchorX; - } - set [S$3.$regionAnchorX](value) { - this.regionAnchorX = value; - } - get [S$3.$regionAnchorY]() { - return this.regionAnchorY; - } - set [S$3.$regionAnchorY](value) { - this.regionAnchorY = value; - } - get [S.$scroll]() { - return this.scroll; - } - set [S.$scroll](value) { - this.scroll = value; - } - get [S$3.$viewportAnchorX]() { - return this.viewportAnchorX; - } - set [S$3.$viewportAnchorX](value) { - this.viewportAnchorX = value; - } - get [S$3.$viewportAnchorY]() { - return this.viewportAnchorY; - } - set [S$3.$viewportAnchorY](value) { - this.viewportAnchorY = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } -}; -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), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) -})); -dart.setSetterSignature(html$.VttRegion, () => ({ - __proto__: dart.getSetters(html$.VttRegion.__proto__), - [S.$id]: dart.nullable(core.String), - [S$3.$lines]: dart.nullable(core.int), - [S$3.$regionAnchorX]: dart.nullable(core.num), - [S$3.$regionAnchorY]: dart.nullable(core.num), - [S.$scroll]: dart.nullable(core.String), - [S$3.$viewportAnchorX]: dart.nullable(core.num), - [S$3.$viewportAnchorY]: dart.nullable(core.num), - [$width]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(url) { - return new WebSocket(url); - } - static get supported() { - return typeof window.WebSocket != "undefined"; - } - get [S$2.$binaryType]() { - return this.binaryType; - } - set [S$2.$binaryType](value) { - this.binaryType = value; - } - get [S$2.$bufferedAmount]() { - return this.bufferedAmount; - } - get [S$3.$extensions]() { - return this.extensions; - } - get [S$.$protocol]() { - return this.protocol; - } - get [S.$readyState]() { - return this.readyState; - } - get [S$.$url]() { - return this.url; - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$1.$send](...args) { - return this.send.apply(this, args); - } - [S$2.$sendBlob](...args) { - return this.send.apply(this, args); - } - [S$2.$sendByteBuffer](...args) { - return this.send.apply(this, args); - } - [S$2.$sendString](...args) { - return this.send.apply(this, args); - } - [S$2.$sendTypedData](...args) { - return this.send.apply(this, args); - } - get [S.$onClose]() { - return html$.WebSocket.closeEvent.forTarget(this); - } - get [S.$onError]() { - return html$.WebSocket.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.WebSocket.messageEvent.forTarget(this); - } - get [S$1.$onOpen]() { - return html$.WebSocket.openEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.WebSocket); -dart.addTypeCaches(html$.WebSocket); -dart.setMethodSignature(html$.WebSocket, () => ({ - __proto__: dart.getMethods(html$.WebSocket.__proto__), - [S.$close]: dart.fnType(dart.void, [], [dart.nullable(core.int), dart.nullable(core.String)]), - [S$1.$send]: dart.fnType(dart.void, [dart.dynamic]), - [S$2.$sendBlob]: dart.fnType(dart.void, [html$.Blob]), - [S$2.$sendByteBuffer]: dart.fnType(dart.void, [typed_data.ByteBuffer]), - [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), - [S$2.$bufferedAmount]: dart.nullable(core.int), - [S$3.$extensions]: dart.nullable(core.String), - [S$.$protocol]: dart.nullable(core.String), - [S.$readyState]: core.int, - [S$.$url]: dart.nullable(core.String), - [S.$onClose]: async.Stream$(html$.CloseEvent), - [S.$onError]: async.Stream$(html$.Event), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - [S$1.$onOpen]: async.Stream$(html$.Event) -})); -dart.setSetterSignature(html$.WebSocket, () => ({ - __proto__: dart.getSetters(html$.WebSocket.__proto__), - [S$2.$binaryType]: dart.nullable(core.String) -})); -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[398] || CT.C398; - }, - /*html$.WebSocket.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*html$.WebSocket.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WebSocket.openEvent*/get openEvent() { - return C[340] || CT.C340; - }, - /*html$.WebSocket.CLOSED*/get CLOSED() { - return 3; - }, - /*html$.WebSocket.CLOSING*/get CLOSING() { - return 2; - }, - /*html$.WebSocket.CONNECTING*/get CONNECTING() { - return 0; - }, - /*html$.WebSocket.OPEN*/get OPEN() { - return 1; - } -}, false); -dart.registerExtension("WebSocket", html$.WebSocket); -html$.WheelEvent = class WheelEvent$ extends html$.MouseEvent { - static new(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; - 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) { - view = html$.window; - } - 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[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); - } - static _create_2(type) { - return new WheelEvent(type); - } - get [S$3._deltaX]() { - return this.deltaX; - } - get [S$3._deltaY]() { - return this.deltaY; - } - get [S$3.$deltaZ]() { - return this.deltaZ; - } - get [S$2.$deltaY]() { - let value = this.deltaY; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaY is not supported")); - } - get [S$2.$deltaX]() { - let value = this.deltaX; - if (value != null) return value; - dart.throw(new core.UnsupportedError.new("deltaX is not supported")); - } - get [S$3.$deltaMode]() { - if (!!this.deltaMode) { - return this.deltaMode; - } - return 0; - } - get [S$3._wheelDelta]() { - return this.wheelDelta; - } - get [S$3._wheelDeltaX]() { - return this.wheelDeltaX; - } - get [S$0._detail]() { - return this.detail; - } - get [S$3._hasInitMouseScrollEvent]() { - return !!this.initMouseScrollEvent; - } - [S$3._initMouseScrollEvent](...args) { - return this.initMouseScrollEvent.apply(this, args); - } - get [S$3._hasInitWheelEvent]() { - return !!this.initWheelEvent; - } - [S$3._initWheelEvent](...args) { - return this.initWheelEvent.apply(this, args); - } -}; -dart.addTypeTests(html$.WheelEvent); -dart.addTypeCaches(html$.WheelEvent); -dart.setMethodSignature(html$.WheelEvent, () => ({ - __proto__: dart.getMethods(html$.WheelEvent.__proto__), - [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), - [S$3._deltaY]: dart.nullable(core.num), - [S$3.$deltaZ]: dart.nullable(core.num), - [S$2.$deltaY]: core.num, - [S$2.$deltaX]: core.num, - [S$3.$deltaMode]: core.int, - [S$3._wheelDelta]: core.num, - [S$3._wheelDeltaX]: core.num, - [S$0._detail]: core.num, - [S$3._hasInitMouseScrollEvent]: core.bool, - [S$3._hasInitWheelEvent]: core.bool -})); -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; - }, - /*html$.WheelEvent.DOM_DELTA_PAGE*/get DOM_DELTA_PAGE() { - return 2; - }, - /*html$.WheelEvent.DOM_DELTA_PIXEL*/get DOM_DELTA_PIXEL() { - return 0; - } -}, false); -dart.registerExtension("WheelEvent", html$.WheelEvent); -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[149], 32233, 28, "time"); - completer.complete(time); - }, T$0.numTovoid())); - return completer.future; - } - get [S$3.$document]() { - return this.document; - } - [S$3._open2](url, name) { - return this.open(url, name); - } - [S$3._open3](url, name, options) { - return this.open(url, name, options); - } - [S.$open](url, name, options = null) { - 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 { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._open3](url, name, options)); - } - } - get [S$0.$location]() { - return html$.Location.as(this[S$3._location]); - } - set [S$0.$location](value) { - if (value == null) dart.nullFailed(I[149], 32287, 16, "value"); - this[S$3._location] = value; - } - get [S$3._location]() { - return this.location; - } - set [S$3._location](value) { - this.location = value; - } - [S$3.$requestAnimationFrame](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[149], 32326, 33, "id"); - this[S$3._ensureRequestAnimationFrame](); - this[S$3._cancelAnimationFrame](id); - } - [S$3._requestAnimationFrame](...args) { - return this.requestAnimationFrame.apply(this, args); - } - [S$3._cancelAnimationFrame](...args) { - return this.cancelAnimationFrame.apply(this, args); - } - [S$3._ensureRequestAnimationFrame]() { - if (!!(this.requestAnimationFrame && this.cancelAnimationFrame)) return; - (function($this) { - var vendors = ['ms', 'moz', 'webkit', 'o']; - for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { - $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; - $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; - } - if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; - $this.requestAnimationFrame = function(callback) { - return window.setTimeout(function() { - callback(Date.now()); - }, 16); - }; - $this.cancelAnimationFrame = function(id) { - clearTimeout(id); - }; - })(this); - } - get [S$0.$indexedDB]() { - return this.indexedDB || this.webkitIndexedDB || this.mozIndexedDB; - } - get [S$2.$console]() { - return html$.Console._safeConsole; - } - [S$3.$requestFileSystem](size, opts) { - 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[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; - } - get [S$3.$applicationCache]() { - return this.applicationCache; - } - get [S$3.$audioWorklet]() { - return this.audioWorklet; - } - get [S$0.$caches]() { - return this.caches; - } - get [S$1.$closed]() { - return this.closed; - } - get [S$3.$cookieStore]() { - return this.cookieStore; - } - get [S$0.$crypto]() { - return this.crypto; - } - get [S$3.$customElements]() { - return this.customElements; - } - get [S$3.$defaultStatus]() { - return this.defaultStatus; - } - set [S$3.$defaultStatus](value) { - this.defaultStatus = value; - } - get [S$3.$defaultstatus]() { - return this.defaultstatus; - } - set [S$3.$defaultstatus](value) { - this.defaultstatus = value; - } - get [S$2.$devicePixelRatio]() { - return this.devicePixelRatio; - } - get [S$3.$external]() { - return this.external; - } - get [S$3.$history]() { - return this.history; - } - get [S$3.$innerHeight]() { - return this.innerHeight; - } - get [S$3.$innerWidth]() { - return this.innerWidth; - } - get [S$0.$isSecureContext]() { - return this.isSecureContext; - } - get [S$3.$localStorage]() { - return this.localStorage; - } - get [S$3.$locationbar]() { - return this.locationbar; - } - get [S$3.$menubar]() { - return this.menubar; - } - get [$name]() { - return this.name; - } - set [$name](value) { - this.name = value; - } - get [S$0.$navigator]() { - return this.navigator; - } - get [S$3.$offscreenBuffering]() { - return this.offscreenBuffering; - } - get [S$3.$opener]() { - return html$._convertNativeToDart_Window(this[S$3._get_opener]); - } - get [S$3._get_opener]() { - return this.opener; - } - set [S$3.$opener](value) { - this.opener = value; - } - get [S$.$orientation]() { - return this.orientation; - } - get [S$.$origin]() { - return this.origin; - } - get [S$3.$outerHeight]() { - return this.outerHeight; - } - get [S$3.$outerWidth]() { - return this.outerWidth; - } - get [S$3._pageXOffset]() { - return this.pageXOffset; - } - get [S$3._pageYOffset]() { - return this.pageYOffset; - } - get [S.$parent]() { - return html$._convertNativeToDart_Window(this[S$3._get_parent]); - } - get [S$3._get_parent]() { - return this.parent; - } - get [S$0.$performance]() { - return this.performance; - } - get [S$1.$screen]() { - return this.screen; - } - get [S$3.$screenLeft]() { - return this.screenLeft; - } - get [S$3.$screenTop]() { - return this.screenTop; - } - get [S$3.$screenX]() { - return this.screenX; - } - get [S$3.$screenY]() { - return this.screenY; - } - get [S$3.$scrollbars]() { - return this.scrollbars; - } - get [S$0.$self]() { - return html$._convertNativeToDart_Window(this[S$3._get_self]); - } - get [S$3._get_self]() { - return this.self; - } - get [S$3.$sessionStorage]() { - return this.sessionStorage; - } - get [S$3.$speechSynthesis]() { - return this.speechSynthesis; - } - get [S$.$status]() { - return this.status; - } - set [S$.$status](value) { - this.status = value; - } - get [S$3.$statusbar]() { - return this.statusbar; - } - get [S$3.$styleMedia]() { - return this.styleMedia; - } - get [S$3.$toolbar]() { - return this.toolbar; - } - get [$top]() { - return html$._convertNativeToDart_Window(this[S$3._get_top]); - } - get [S$3._get_top]() { - return this.top; - } - get [S$3.$visualViewport]() { - return this.visualViewport; - } - get [S$1.$window]() { - return html$._convertNativeToDart_Window(this[S$1._get_window]); - } - get [S$1._get_window]() { - return this.window; - } - [S$.__getter__](index_OR_name) { - if (core.int.is(index_OR_name)) { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___1](index_OR_name))); - } - if (typeof index_OR_name == 'string') { - return dart.nullCheck(html$._convertNativeToDart_Window(this[S$3.__getter___2](index_OR_name))); - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$3.__getter___1](...args) { - return this.__getter__.apply(this, args); - } - [S$3.__getter___2](...args) { - return this.__getter__.apply(this, args); - } - [S$3.$alert](...args) { - return this.alert.apply(this, args); - } - [S$3.$cancelIdleCallback](...args) { - return this.cancelIdleCallback.apply(this, args); - } - [S.$close](...args) { - return this.close.apply(this, args); - } - [S$3.$confirm](...args) { - return this.confirm.apply(this, args); - } - [S$.$fetch](input, init = null) { - let init_dict = null; - if (init != null) { - init_dict = html_common.convertDartToNative_Dictionary(init); - } - return js_util.promiseToFuture(dart.dynamic, this.fetch(input, init_dict)); - } - [S$3.$find](...args) { - return this.find.apply(this, args); - } - [S._getComputedStyle](...args) { - return this.getComputedStyle.apply(this, args); - } - [S$3.$getComputedStyleMap](...args) { - return this.getComputedStyleMap.apply(this, args); - } - [S$3.$getMatchedCssRules](...args) { - return this.getMatchedCSSRules.apply(this, args); - } - [S$1.$getSelection](...args) { - return this.getSelection.apply(this, args); - } - [S$3.$matchMedia](...args) { - return this.matchMedia.apply(this, args); - } - [S$3.$moveBy](...args) { - return this.moveBy.apply(this, args); - } - [S$1._moveTo](...args) { - return this.moveTo.apply(this, args); - } - [S$.$postMessage](message, targetOrigin, transfer = null) { - 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); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1, targetOrigin); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$3.$print](...args) { - return this.print.apply(this, args); - } - [S$3.$requestIdleCallback](callback, options = null) { - 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); - return this[S$3._requestIdleCallback_1](callback_1, options_2); - } - let callback_1 = _js_helper.convertDartClosureToJS(T$0.IdleDeadlineTovoid(), callback, 1); - return this[S$3._requestIdleCallback_2](callback_1); - } - [S$3._requestIdleCallback_1](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3._requestIdleCallback_2](...args) { - return this.requestIdleCallback.apply(this, args); - } - [S$3.$resizeBy](...args) { - return this.resizeBy.apply(this, args); - } - [S$3.$resizeTo](...args) { - return this.resizeTo.apply(this, args); - } - [S.$scroll](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scroll_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scroll_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scroll_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scroll_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scroll_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scroll_1](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_2](...args) { - return this.scroll.apply(this, args); - } - [S._scroll_3](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_4](...args) { - return this.scroll.apply(this, args); - } - [S$3._scroll_5](...args) { - return this.scroll.apply(this, args); - } - [S.$scrollBy](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollBy_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollBy_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollBy_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollBy_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollBy_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollBy_1](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_2](...args) { - return this.scrollBy.apply(this, args); - } - [S._scrollBy_3](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_4](...args) { - return this.scrollBy.apply(this, args); - } - [S$3._scrollBy_5](...args) { - return this.scrollBy.apply(this, args); - } - [S.$scrollTo](options_OR_x = null, y = null, scrollOptions = null) { - if (options_OR_x == null && y == null && scrollOptions == null) { - this[S._scrollTo_1](); - return; - } - if (core.Map.is(options_OR_x) && y == null && scrollOptions == null) { - let options_1 = html_common.convertDartToNative_Dictionary(options_OR_x); - this[S._scrollTo_2](options_1); - return; - } - if (typeof y == 'number' && typeof options_OR_x == 'number' && scrollOptions == null) { - this[S._scrollTo_3](options_OR_x, y); - return; - } - if (core.int.is(y) && core.int.is(options_OR_x) && scrollOptions == null) { - this[S$3._scrollTo_4](options_OR_x, y); - return; - } - if (scrollOptions != null && core.int.is(y) && core.int.is(options_OR_x)) { - let scrollOptions_1 = html_common.convertDartToNative_Dictionary(scrollOptions); - this[S$3._scrollTo_5](options_OR_x, y, scrollOptions_1); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S._scrollTo_1](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_2](...args) { - return this.scrollTo.apply(this, args); - } - [S._scrollTo_3](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_4](...args) { - return this.scrollTo.apply(this, args); - } - [S$3._scrollTo_5](...args) { - return this.scrollTo.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - [S$3.__requestFileSystem](...args) { - return this.webkitRequestFileSystem.apply(this, args); - } - [S$3._requestFileSystem](type, 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[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[149], 33529, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$3._resolveLocalFileSystemUrl](...args) { - return this.webkitResolveLocalFileSystemURL.apply(this, args); - } - [S$3.$resolveLocalFileSystemUrl](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[149], 33562, 38, "value"); - completer.complete(value); - }, T$0.EntryTovoid()), dart.fn(error => { - if (error == null) dart.nullFailed(I[149], 33564, 9, "error"); - completer.completeError(error); - }, T$0.DomExceptionTovoid())); - return completer.future; - } - [S$0.$atob](...args) { - return this.atob.apply(this, args); - } - [S$0.$btoa](...args) { - return this.btoa.apply(this, args); - } - [S$0._setInterval_String](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout_String](...args) { - return this.setTimeout.apply(this, args); - } - [S$0._clearInterval](...args) { - return this.clearInterval.apply(this, args); - } - [S$0._clearTimeout](...args) { - return this.clearTimeout.apply(this, args); - } - [S$0._setInterval](...args) { - return this.setInterval.apply(this, args); - } - [S$0._setTimeout](...args) { - return this.setTimeout.apply(this, args); - } - get [S$3.$onContentLoaded]() { - return html$.Window.contentLoadedEvent.forTarget(this); - } - get [S.$onAbort]() { - return html$.Element.abortEvent.forTarget(this); - } - get [S.$onBlur]() { - return html$.Element.blurEvent.forTarget(this); - } - get [S.$onCanPlay]() { - return html$.Element.canPlayEvent.forTarget(this); - } - get [S.$onCanPlayThrough]() { - return html$.Element.canPlayThroughEvent.forTarget(this); - } - get [S.$onChange]() { - return html$.Element.changeEvent.forTarget(this); - } - get [S.$onClick]() { - return html$.Element.clickEvent.forTarget(this); - } - get [S.$onContextMenu]() { - return html$.Element.contextMenuEvent.forTarget(this); - } - get [S.$onDoubleClick]() { - return html$.Element.doubleClickEvent.forTarget(this); - } - get [S$3.$onDeviceMotion]() { - return html$.Window.deviceMotionEvent.forTarget(this); - } - get [S$3.$onDeviceOrientation]() { - return html$.Window.deviceOrientationEvent.forTarget(this); - } - get [S.$onDrag]() { - return html$.Element.dragEvent.forTarget(this); - } - get [S.$onDragEnd]() { - return html$.Element.dragEndEvent.forTarget(this); - } - get [S.$onDragEnter]() { - return html$.Element.dragEnterEvent.forTarget(this); - } - get [S.$onDragLeave]() { - return html$.Element.dragLeaveEvent.forTarget(this); - } - get [S.$onDragOver]() { - return html$.Element.dragOverEvent.forTarget(this); - } - get [S.$onDragStart]() { - return html$.Element.dragStartEvent.forTarget(this); - } - get [S.$onDrop]() { - return html$.Element.dropEvent.forTarget(this); - } - get [S.$onDurationChange]() { - return html$.Element.durationChangeEvent.forTarget(this); - } - get [S.$onEmptied]() { - return html$.Element.emptiedEvent.forTarget(this); - } - get [S.$onEnded]() { - return html$.Element.endedEvent.forTarget(this); - } - get [S.$onError]() { - return html$.Element.errorEvent.forTarget(this); - } - get [S.$onFocus]() { - return html$.Element.focusEvent.forTarget(this); - } - get [S$.$onHashChange]() { - return html$.Window.hashChangeEvent.forTarget(this); - } - get [S.$onInput]() { - return html$.Element.inputEvent.forTarget(this); - } - get [S.$onInvalid]() { - return html$.Element.invalidEvent.forTarget(this); - } - get [S.$onKeyDown]() { - return html$.Element.keyDownEvent.forTarget(this); - } - get [S.$onKeyPress]() { - return html$.Element.keyPressEvent.forTarget(this); - } - get [S.$onKeyUp]() { - return html$.Element.keyUpEvent.forTarget(this); - } - get [S.$onLoad]() { - return html$.Element.loadEvent.forTarget(this); - } - get [S.$onLoadedData]() { - return html$.Element.loadedDataEvent.forTarget(this); - } - get [S.$onLoadedMetadata]() { - return html$.Element.loadedMetadataEvent.forTarget(this); - } - get [S$1.$onLoadStart]() { - return html$.Window.loadStartEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Window.messageEvent.forTarget(this); - } - get [S.$onMouseDown]() { - return html$.Element.mouseDownEvent.forTarget(this); - } - get [S$.$onMouseEnter]() { - return html$.Element.mouseEnterEvent.forTarget(this); - } - get [S$.$onMouseLeave]() { - return html$.Element.mouseLeaveEvent.forTarget(this); - } - get [S$.$onMouseMove]() { - return html$.Element.mouseMoveEvent.forTarget(this); - } - get [S$.$onMouseOut]() { - return html$.Element.mouseOutEvent.forTarget(this); - } - get [S$.$onMouseOver]() { - return html$.Element.mouseOverEvent.forTarget(this); - } - get [S$.$onMouseUp]() { - return html$.Element.mouseUpEvent.forTarget(this); - } - get [S$.$onMouseWheel]() { - return html$.Element.mouseWheelEvent.forTarget(this); - } - get [S$.$onOffline]() { - return html$.Window.offlineEvent.forTarget(this); - } - get [S$.$onOnline]() { - return html$.Window.onlineEvent.forTarget(this); - } - get [S$3.$onPageHide]() { - return html$.Window.pageHideEvent.forTarget(this); - } - get [S$3.$onPageShow]() { - return html$.Window.pageShowEvent.forTarget(this); - } - get [S$.$onPause]() { - return html$.Element.pauseEvent.forTarget(this); - } - get [S$.$onPlay]() { - return html$.Element.playEvent.forTarget(this); - } - get [S$.$onPlaying]() { - return html$.Element.playingEvent.forTarget(this); - } - get [S$.$onPopState]() { - return html$.Window.popStateEvent.forTarget(this); - } - get [S$.$onProgress]() { - return html$.Window.progressEvent.forTarget(this); - } - get [S$.$onRateChange]() { - return html$.Element.rateChangeEvent.forTarget(this); - } - get [S$.$onReset]() { - return html$.Element.resetEvent.forTarget(this); - } - get [S$.$onResize]() { - return html$.Element.resizeEvent.forTarget(this); - } - get [S$.$onScroll]() { - return html$.Element.scrollEvent.forTarget(this); - } - get [S$.$onSearch]() { - return html$.Element.searchEvent.forTarget(this); - } - get [S$.$onSeeked]() { - return html$.Element.seekedEvent.forTarget(this); - } - get [S$.$onSeeking]() { - return html$.Element.seekingEvent.forTarget(this); - } - get [S$.$onSelect]() { - return html$.Element.selectEvent.forTarget(this); - } - get [S$.$onStalled]() { - return html$.Element.stalledEvent.forTarget(this); - } - get [S$.$onStorage]() { - return html$.Window.storageEvent.forTarget(this); - } - get [S$.$onSubmit]() { - return html$.Element.submitEvent.forTarget(this); - } - get [S$.$onSuspend]() { - return html$.Element.suspendEvent.forTarget(this); - } - get [S$.$onTimeUpdate]() { - return html$.Element.timeUpdateEvent.forTarget(this); - } - get [S$.$onTouchCancel]() { - return html$.Element.touchCancelEvent.forTarget(this); - } - get [S$.$onTouchEnd]() { - return html$.Element.touchEndEvent.forTarget(this); - } - get [S$.$onTouchMove]() { - return html$.Element.touchMoveEvent.forTarget(this); - } - get [S$.$onTouchStart]() { - return html$.Element.touchStartEvent.forTarget(this); - } - get [S$.$onTransitionEnd]() { - return html$.Element.transitionEndEvent.forTarget(this); - } - get [S$.$onUnload]() { - return html$.Window.unloadEvent.forTarget(this); - } - get [S$.$onVolumeChange]() { - return html$.Element.volumeChangeEvent.forTarget(this); - } - get [S$.$onWaiting]() { - return html$.Element.waitingEvent.forTarget(this); - } - get [S$3.$onAnimationEnd]() { - return html$.Window.animationEndEvent.forTarget(this); - } - get [S$3.$onAnimationIteration]() { - return html$.Window.animationIterationEvent.forTarget(this); - } - get [S$3.$onAnimationStart]() { - return html$.Window.animationStartEvent.forTarget(this); - } - get [S$3.$onBeforeUnload]() { - return html$.Window.beforeUnloadEvent.forTarget(this); - } - get [S$.$onWheel]() { - return html$.Element.wheelEvent.forTarget(this); - } - [S$.$moveTo](p) { - 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](); - } - get [S$3.$pageYOffset]() { - return this.pageYOffset[$round](); - } - get [S$3.$scrollX]() { - return "scrollX" in this ? this.scrollX[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollLeft]; - } - get [S$3.$scrollY]() { - return "scrollY" in this ? this.scrollY[$round]() : dart.nullCheck(this[S$3.$document].documentElement)[S.$scrollTop]; - } -}; -dart.addTypeTests(html$.Window); -dart.addTypeCaches(html$.Window); -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]), - [S$3._open3]: dart.fnType(dart.nullable(html$.WindowBase), [dart.dynamic, dart.dynamic, dart.dynamic]), - [S.$open]: dart.fnType(html$.WindowBase, [core.String, core.String], [dart.nullable(core.String)]), - [S$3.$requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3.$cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._requestAnimationFrame]: dart.fnType(core.int, [dart.fnType(dart.void, [core.num])]), - [S$3._cancelAnimationFrame]: dart.fnType(dart.void, [core.int]), - [S$3._ensureRequestAnimationFrame]: dart.fnType(dart.dynamic, []), - [S$3.$requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int], {persistent: core.bool}, {}), - [S$.__getter__]: dart.fnType(html$.WindowBase, [dart.dynamic]), - [S$3.__getter___1]: dart.fnType(dart.dynamic, [core.int]), - [S$3.__getter___2]: dart.fnType(dart.dynamic, [core.String]), - [S$3.$alert]: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - [S$3.$cancelIdleCallback]: dart.fnType(dart.void, [core.int]), - [S.$close]: dart.fnType(dart.void, []), - [S$3.$confirm]: dart.fnType(core.bool, [], [dart.nullable(core.String)]), - [S$.$fetch]: dart.fnType(async.Future, [dart.dynamic], [dart.nullable(core.Map)]), - [S$3.$find]: dart.fnType(core.bool, [dart.nullable(core.String), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool), dart.nullable(core.bool)]), - [S._getComputedStyle]: dart.fnType(html$.CssStyleDeclaration, [html$.Element], [dart.nullable(core.String)]), - [S$3.$getComputedStyleMap]: dart.fnType(html$.StylePropertyMapReadonly, [html$.Element, dart.nullable(core.String)]), - [S$3.$getMatchedCssRules]: dart.fnType(core.List$(html$.CssRule), [dart.nullable(html$.Element), dart.nullable(core.String)]), - [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$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]), - [S$3.$print]: dart.fnType(dart.void, []), - [S$3.$requestIdleCallback]: dart.fnType(core.int, [dart.fnType(dart.void, [html$.IdleDeadline])], [dart.nullable(core.Map)]), - [S$3._requestIdleCallback_1]: dart.fnType(core.int, [dart.dynamic, dart.dynamic]), - [S$3._requestIdleCallback_2]: dart.fnType(core.int, [dart.dynamic]), - [S$3.$resizeBy]: dart.fnType(dart.void, [core.int, core.int]), - [S$3.$resizeTo]: dart.fnType(dart.void, [core.int, core.int]), - [S.$scroll]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scroll_1]: dart.fnType(dart.void, []), - [S._scroll_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scroll_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scroll_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scroll_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollBy]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [S._scrollBy_1]: dart.fnType(dart.void, []), - [S._scrollBy_2]: dart.fnType(dart.void, [dart.dynamic]), - [S._scrollBy_3]: dart.fnType(dart.void, [dart.nullable(core.num), dart.nullable(core.num)]), - [S$3._scrollBy_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollBy_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S.$scrollTo]: dart.fnType(dart.void, [], [dart.dynamic, dart.dynamic, dart.nullable(core.Map)]), - [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.nullable(core.num)]), - [S$3._scrollTo_4]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int)]), - [S$3._scrollTo_5]: dart.fnType(dart.void, [dart.nullable(core.int), dart.nullable(core.int), dart.dynamic]), - [S$.$stop]: dart.fnType(dart.void, []), - [S$3.__requestFileSystem]: dart.fnType(dart.void, [core.int, core.int, dart.fnType(dart.void, [html$.FileSystem])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3._requestFileSystem]: dart.fnType(async.Future$(html$.FileSystem), [core.int, core.int]), - [S$3._resolveLocalFileSystemUrl]: dart.fnType(dart.void, [core.String, dart.fnType(dart.void, [html$.Entry])], [dart.nullable(dart.fnType(dart.void, [html$.DomException]))]), - [S$3.$resolveLocalFileSystemUrl]: dart.fnType(async.Future$(html$.Entry), [core.String]), - [S$0.$atob]: dart.fnType(core.String, [core.String]), - [S$0.$btoa]: dart.fnType(core.String, [core.String]), - [S$0._setInterval_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._setTimeout_String]: dart.fnType(core.int, [core.String], [dart.nullable(core.int), dart.nullable(core.Object)]), - [S$0._clearInterval]: dart.fnType(dart.void, [], [dart.nullable(core.int)]), - [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)]) -})); -dart.setStaticMethodSignature(html$.Window, () => ['__']); -dart.setGetterSignature(html$.Window, () => ({ - __proto__: dart.getGetters(html$.Window.__proto__), - [S$3.$animationFrame]: async.Future$(core.num), - [S$3.$document]: html$.Document, - [S$0.$location]: html$.Location, - [S$3._location]: dart.dynamic, - [S$0.$indexedDB]: dart.nullable(indexed_db.IdbFactory), - [S$2.$console]: html$.Console, - [S$3.$animationWorklet]: dart.nullable(html$._Worklet), - [S$3.$applicationCache]: dart.nullable(html$.ApplicationCache), - [S$3.$audioWorklet]: dart.nullable(html$._Worklet), - [S$0.$caches]: dart.nullable(html$.CacheStorage), - [S$1.$closed]: dart.nullable(core.bool), - [S$3.$cookieStore]: dart.nullable(html$.CookieStore), - [S$0.$crypto]: dart.nullable(html$.Crypto), - [S$3.$customElements]: dart.nullable(html$.CustomElementRegistry), - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [S$2.$devicePixelRatio]: core.num, - [S$3.$external]: dart.nullable(html$.External), - [S$3.$history]: html$.History, - [S$3.$innerHeight]: dart.nullable(core.int), - [S$3.$innerWidth]: dart.nullable(core.int), - [S$0.$isSecureContext]: dart.nullable(core.bool), - [S$3.$localStorage]: html$.Storage, - [S$3.$locationbar]: dart.nullable(html$.BarProp), - [S$3.$menubar]: dart.nullable(html$.BarProp), - [$name]: dart.nullable(core.String), - [S$0.$navigator]: html$.Navigator, - [S$3.$offscreenBuffering]: dart.nullable(core.bool), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$3._get_opener]: dart.dynamic, - [S$.$orientation]: dart.nullable(core.int), - [S$.$origin]: dart.nullable(core.String), - [S$3.$outerHeight]: core.int, - [S$3.$outerWidth]: core.int, - [S$3._pageXOffset]: core.num, - [S$3._pageYOffset]: core.num, - [S.$parent]: dart.nullable(html$.WindowBase), - [S$3._get_parent]: dart.dynamic, - [S$0.$performance]: html$.Performance, - [S$1.$screen]: dart.nullable(html$.Screen), - [S$3.$screenLeft]: dart.nullable(core.int), - [S$3.$screenTop]: dart.nullable(core.int), - [S$3.$screenX]: dart.nullable(core.int), - [S$3.$screenY]: dart.nullable(core.int), - [S$3.$scrollbars]: dart.nullable(html$.BarProp), - [S$0.$self]: dart.nullable(html$.WindowBase), - [S$3._get_self]: dart.dynamic, - [S$3.$sessionStorage]: html$.Storage, - [S$3.$speechSynthesis]: dart.nullable(html$.SpeechSynthesis), - [S$.$status]: dart.nullable(core.String), - [S$3.$statusbar]: dart.nullable(html$.BarProp), - [S$3.$styleMedia]: dart.nullable(html$.StyleMedia), - [S$3.$toolbar]: dart.nullable(html$.BarProp), - [$top]: dart.nullable(html$.WindowBase), - [S$3._get_top]: dart.dynamic, - [S$3.$visualViewport]: dart.nullable(html$.VisualViewport), - [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), - [S.$onCanPlay]: async.Stream$(html$.Event), - [S.$onCanPlayThrough]: async.Stream$(html$.Event), - [S.$onChange]: async.Stream$(html$.Event), - [S.$onClick]: async.Stream$(html$.MouseEvent), - [S.$onContextMenu]: async.Stream$(html$.MouseEvent), - [S.$onDoubleClick]: async.Stream$(html$.Event), - [S$3.$onDeviceMotion]: async.Stream$(html$.DeviceMotionEvent), - [S$3.$onDeviceOrientation]: async.Stream$(html$.DeviceOrientationEvent), - [S.$onDrag]: async.Stream$(html$.MouseEvent), - [S.$onDragEnd]: async.Stream$(html$.MouseEvent), - [S.$onDragEnter]: async.Stream$(html$.MouseEvent), - [S.$onDragLeave]: async.Stream$(html$.MouseEvent), - [S.$onDragOver]: async.Stream$(html$.MouseEvent), - [S.$onDragStart]: async.Stream$(html$.MouseEvent), - [S.$onDrop]: async.Stream$(html$.MouseEvent), - [S.$onDurationChange]: async.Stream$(html$.Event), - [S.$onEmptied]: async.Stream$(html$.Event), - [S.$onEnded]: async.Stream$(html$.Event), - [S.$onError]: async.Stream$(html$.Event), - [S.$onFocus]: async.Stream$(html$.Event), - [S$.$onHashChange]: async.Stream$(html$.Event), - [S.$onInput]: async.Stream$(html$.Event), - [S.$onInvalid]: async.Stream$(html$.Event), - [S.$onKeyDown]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyPress]: async.Stream$(html$.KeyboardEvent), - [S.$onKeyUp]: async.Stream$(html$.KeyboardEvent), - [S.$onLoad]: async.Stream$(html$.Event), - [S.$onLoadedData]: async.Stream$(html$.Event), - [S.$onLoadedMetadata]: async.Stream$(html$.Event), - [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$.$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$.$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$.$onStorage]: async.Stream$(html$.StorageEvent), - [S$.$onSubmit]: async.Stream$(html$.Event), - [S$.$onSuspend]: async.Stream$(html$.Event), - [S$.$onTimeUpdate]: async.Stream$(html$.Event), - [S$.$onTouchCancel]: async.Stream$(html$.TouchEvent), - [S$.$onTouchEnd]: async.Stream$(html$.TouchEvent), - [S$.$onTouchMove]: async.Stream$(html$.TouchEvent), - [S$.$onTouchStart]: async.Stream$(html$.TouchEvent), - [S$.$onTransitionEnd]: async.Stream$(html$.TransitionEvent), - [S$.$onUnload]: async.Stream$(html$.Event), - [S$.$onVolumeChange]: async.Stream$(html$.Event), - [S$.$onWaiting]: async.Stream$(html$.Event), - [S$3.$onAnimationEnd]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationIteration]: async.Stream$(html$.AnimationEvent), - [S$3.$onAnimationStart]: async.Stream$(html$.AnimationEvent), - [S$3.$onBeforeUnload]: async.Stream$(html$.Event), - [S$.$onWheel]: async.Stream$(html$.WheelEvent), - [S$3.$pageXOffset]: core.int, - [S$3.$pageYOffset]: core.int, - [S$3.$scrollX]: core.int, - [S$3.$scrollY]: core.int -})); -dart.setSetterSignature(html$.Window, () => ({ - __proto__: dart.getSetters(html$.Window.__proto__), - [S$0.$location]: html$.LocationBase, - [S$3._location]: dart.dynamic, - [S$3.$defaultStatus]: dart.nullable(core.String), - [S$3.$defaultstatus]: dart.nullable(core.String), - [$name]: dart.nullable(core.String), - [S$3.$opener]: dart.nullable(html$.WindowBase), - [S$.$status]: dart.nullable(core.String) -})); -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[399] || CT.C399; - }, - /*html$.Window.deviceMotionEvent*/get deviceMotionEvent() { - return C[400] || CT.C400; - }, - /*html$.Window.deviceOrientationEvent*/get deviceOrientationEvent() { - return C[401] || CT.C401; - }, - /*html$.Window.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.Window.loadStartEvent*/get loadStartEvent() { - return C[402] || CT.C402; - }, - /*html$.Window.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.Window.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.Window.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.Window.pageHideEvent*/get pageHideEvent() { - return C[403] || CT.C403; - }, - /*html$.Window.pageShowEvent*/get pageShowEvent() { - return C[404] || CT.C404; - }, - /*html$.Window.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.Window.progressEvent*/get progressEvent() { - return C[405] || CT.C405; - }, - /*html$.Window.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.Window.unloadEvent*/get unloadEvent() { - return C[327] || CT.C327; - }, - /*html$.Window.animationEndEvent*/get animationEndEvent() { - return C[406] || CT.C406; - }, - /*html$.Window.animationIterationEvent*/get animationIterationEvent() { - return C[407] || CT.C407; - }, - /*html$.Window.animationStartEvent*/get animationStartEvent() { - return C[408] || CT.C408; - }, - /*html$.Window.PERSISTENT*/get PERSISTENT() { - return 1; - }, - /*html$.Window.TEMPORARY*/get TEMPORARY() { - return 0; - }, - /*html$.Window.beforeUnloadEvent*/get beforeUnloadEvent() { - return C[409] || CT.C409; - } -}, false); -dart.registerExtension("Window", html$.Window); -dart.registerExtension("DOMWindow", html$.Window); -html$.WindowBase64 = class WindowBase64 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WindowBase64.__(); - } -}; -dart.addTypeTests(html$.WindowBase64); -dart.addTypeCaches(html$.WindowBase64); -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; - } - get [S$1.$visibilityState]() { - return this.visibilityState; - } - [S.$focus]() { - return js_util.promiseToFuture(html$.WindowClient, this.focus()); - } - [S$3.$navigate](url) { - if (url == null) dart.nullFailed(I[149], 33914, 40, "url"); - return js_util.promiseToFuture(html$.WindowClient, this.navigate(url)); - } -}; -dart.addTypeTests(html$.WindowClient); -dart.addTypeCaches(html$.WindowClient); -dart.setMethodSignature(html$.WindowClient, () => ({ - __proto__: dart.getMethods(html$.WindowClient.__proto__), - [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[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); - } - get onMessage() { - return html$.WindowEventHandlers.messageEvent.forTarget(this); - } - get onOffline() { - return html$.WindowEventHandlers.offlineEvent.forTarget(this); - } - get onOnline() { - return html$.WindowEventHandlers.onlineEvent.forTarget(this); - } - get onPopState() { - return html$.WindowEventHandlers.popStateEvent.forTarget(this); - } - get onStorage() { - return html$.WindowEventHandlers.storageEvent.forTarget(this); - } - get onUnload() { - return html$.WindowEventHandlers.unloadEvent.forTarget(this); - } -}; -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), - [S$.$onHashChange]: async.Stream$(html$.Event), - onMessage: async.Stream$(html$.MessageEvent), - [S$.$onMessage]: async.Stream$(html$.MessageEvent), - onOffline: async.Stream$(html$.Event), - [S$.$onOffline]: async.Stream$(html$.Event), - onOnline: async.Stream$(html$.Event), - [S$.$onOnline]: async.Stream$(html$.Event), - onPopState: async.Stream$(html$.PopStateEvent), - [S$.$onPopState]: async.Stream$(html$.PopStateEvent), - onStorage: async.Stream$(html$.StorageEvent), - [S$.$onStorage]: async.Stream$(html$.StorageEvent), - onUnload: async.Stream$(html$.Event), - [S$.$onUnload]: async.Stream$(html$.Event) -})); -dart.setLibraryUri(html$.WindowEventHandlers, I[150]); -dart.setStaticFieldSignature(html$.WindowEventHandlers, () => ['hashChangeEvent', 'messageEvent', 'offlineEvent', 'onlineEvent', 'popStateEvent', 'storageEvent', 'unloadEvent']); -dart.defineExtensionAccessors(html$.WindowEventHandlers, [ - 'onHashChange', - 'onMessage', - 'onOffline', - 'onOnline', - 'onPopState', - 'onStorage', - 'onUnload' -]); -dart.defineLazy(html$.WindowEventHandlers, { - /*html$.WindowEventHandlers.hashChangeEvent*/get hashChangeEvent() { - return C[321] || CT.C321; - }, - /*html$.WindowEventHandlers.messageEvent*/get messageEvent() { - return C[322] || CT.C322; - }, - /*html$.WindowEventHandlers.offlineEvent*/get offlineEvent() { - return C[323] || CT.C323; - }, - /*html$.WindowEventHandlers.onlineEvent*/get onlineEvent() { - return C[324] || CT.C324; - }, - /*html$.WindowEventHandlers.popStateEvent*/get popStateEvent() { - return C[325] || CT.C325; - }, - /*html$.WindowEventHandlers.storageEvent*/get storageEvent() { - return C[326] || CT.C326; - }, - /*html$.WindowEventHandlers.unloadEvent*/get unloadEvent() { - 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[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); - } - static get supported() { - return typeof window.Worker != "undefined"; - } - [S$.$postMessage](message, transfer = null) { - if (transfer != null) { - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_1](message_1, transfer); - return; - } - let message_1 = html_common.convertDartToNative_SerializedScriptValue(message); - this[S$0._postMessage_2](message_1); - return; - } - [S$0._postMessage_1](...args) { - return this.postMessage.apply(this, args); - } - [S$0._postMessage_2](...args) { - return this.postMessage.apply(this, args); - } - [S$2.$terminate](...args) { - return this.terminate.apply(this, args); - } - get [S.$onError]() { - return html$.Worker.errorEvent.forTarget(this); - } - get [S$.$onMessage]() { - return html$.Worker.messageEvent.forTarget(this); - } -}; -dart.addTypeTests(html$.Worker); -dart.addTypeCaches(html$.Worker); -html$.Worker[dart.implements] = () => [html$.AbstractWorker]; -dart.setMethodSignature(html$.Worker, () => ({ - __proto__: dart.getMethods(html$.Worker.__proto__), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic], [dart.nullable(core.List$(core.Object))]), - [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]), - [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.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[226] || CT.C226; - }, - /*html$.Worker.messageEvent*/get messageEvent() { - 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; - } - get [S$2.$timeOrigin]() { - return this.timeOrigin; - } - [S$2.$clearMarks](...args) { - return this.clearMarks.apply(this, args); - } - [S$2.$clearMeasures](...args) { - return this.clearMeasures.apply(this, args); - } - [S$2.$clearResourceTimings](...args) { - return this.clearResourceTimings.apply(this, args); - } - [S$2.$getEntries](...args) { - return this.getEntries.apply(this, args); - } - [S$2.$getEntriesByName](...args) { - return this.getEntriesByName.apply(this, args); - } - [S$2.$getEntriesByType](...args) { - return this.getEntriesByType.apply(this, args); - } - [S$2.$mark](...args) { - return this.mark.apply(this, args); - } - [S$2.$measure](...args) { - return this.measure.apply(this, args); - } - [S$2.$now](...args) { - return this.now.apply(this, args); - } - [S$2.$setResourceTimingBufferSize](...args) { - return this.setResourceTimingBufferSize.apply(this, args); - } -}; -dart.addTypeTests(html$.WorkerPerformance); -dart.addTypeCaches(html$.WorkerPerformance); -dart.setMethodSignature(html$.WorkerPerformance, () => ({ - __proto__: dart.getMethods(html$.WorkerPerformance.__proto__), - [S$2.$clearMarks]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearMeasures]: dart.fnType(dart.void, [dart.nullable(core.String)]), - [S$2.$clearResourceTimings]: dart.fnType(dart.void, []), - [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.$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[150]); -dart.registerExtension("WorkerPerformance", html$.WorkerPerformance); -html$.WorkletAnimation = class WorkletAnimation$ extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.WorkletAnimation.__(); - } - static new(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"); - 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); - } - get [S$.$playState]() { - return this.playState; - } - [S$.$cancel](...args) { - return this.cancel.apply(this, args); - } - [S$.$play](...args) { - return this.play.apply(this, args); - } -}; -dart.addTypeTests(html$.WorkletAnimation); -dart.addTypeCaches(html$.WorkletAnimation); -dart.setMethodSignature(html$.WorkletAnimation, () => ({ - __proto__: dart.getMethods(html$.WorkletAnimation.__proto__), - [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[150]); -dart.registerExtension("WorkletAnimation", html$.WorkletAnimation); -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(); - } - [S$3.$createExpression](...args) { - return this.createExpression.apply(this, args); - } - [S$3.$createNSResolver](...args) { - return this.createNSResolver.apply(this, args); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathEvaluator); -dart.addTypeCaches(html$.XPathEvaluator); -dart.setMethodSignature(html$.XPathEvaluator, () => ({ - __proto__: dart.getMethods(html$.XPathEvaluator.__proto__), - [S$3.$createExpression]: dart.fnType(html$.XPathExpression, [core.String, dart.nullable(html$.XPathNSResolver)]), - [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.setStaticMethodSignature(html$.XPathEvaluator, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.XPathEvaluator, I[150]); -dart.registerExtension("XPathEvaluator", html$.XPathEvaluator); -html$.XPathExpression = class XPathExpression extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathExpression.__(); - } - [S$3.$evaluate](...args) { - return this.evaluate.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathExpression); -dart.addTypeCaches(html$.XPathExpression); -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.setStaticMethodSignature(html$.XPathExpression, () => ['__']); -dart.setLibraryUri(html$.XPathExpression, I[150]); -dart.registerExtension("XPathExpression", html$.XPathExpression); -html$.XPathNSResolver = class XPathNSResolver extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathNSResolver.__(); - } - [S$3.$lookupNamespaceUri](...args) { - return this.lookupNamespaceURI.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathNSResolver); -dart.addTypeCaches(html$.XPathNSResolver); -dart.setMethodSignature(html$.XPathNSResolver, () => ({ - __proto__: dart.getMethods(html$.XPathNSResolver.__proto__), - [S$3.$lookupNamespaceUri]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String)]) -})); -dart.setStaticMethodSignature(html$.XPathNSResolver, () => ['__']); -dart.setLibraryUri(html$.XPathNSResolver, I[150]); -dart.registerExtension("XPathNSResolver", html$.XPathNSResolver); -html$.XPathResult = class XPathResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$.XPathResult.__(); - } - get [S$3.$booleanValue]() { - return this.booleanValue; - } - get [S$3.$invalidIteratorState]() { - return this.invalidIteratorState; - } - get [S$3.$numberValue]() { - return this.numberValue; - } - get [S$3.$resultType]() { - return this.resultType; - } - get [S$3.$singleNodeValue]() { - return this.singleNodeValue; - } - get [S$3.$snapshotLength]() { - return this.snapshotLength; - } - get [S$3.$stringValue]() { - return this.stringValue; - } - [S$3.$iterateNext](...args) { - return this.iterateNext.apply(this, args); - } - [S$3.$snapshotItem](...args) { - return this.snapshotItem.apply(this, args); - } -}; -dart.addTypeTests(html$.XPathResult); -dart.addTypeCaches(html$.XPathResult); -dart.setMethodSignature(html$.XPathResult, () => ({ - __proto__: dart.getMethods(html$.XPathResult.__proto__), - [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), - [S$3.$invalidIteratorState]: dart.nullable(core.bool), - [S$3.$numberValue]: dart.nullable(core.num), - [S$3.$resultType]: dart.nullable(core.int), - [S$3.$singleNodeValue]: dart.nullable(html$.Node), - [S$3.$snapshotLength]: dart.nullable(core.int), - [S$3.$stringValue]: dart.nullable(core.String) -})); -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; - }, - /*html$.XPathResult.ANY_UNORDERED_NODE_TYPE*/get ANY_UNORDERED_NODE_TYPE() { - return 8; - }, - /*html$.XPathResult.BOOLEAN_TYPE*/get BOOLEAN_TYPE() { - return 3; - }, - /*html$.XPathResult.FIRST_ORDERED_NODE_TYPE*/get FIRST_ORDERED_NODE_TYPE() { - return 9; - }, - /*html$.XPathResult.NUMBER_TYPE*/get NUMBER_TYPE() { - return 1; - }, - /*html$.XPathResult.ORDERED_NODE_ITERATOR_TYPE*/get ORDERED_NODE_ITERATOR_TYPE() { - return 5; - }, - /*html$.XPathResult.ORDERED_NODE_SNAPSHOT_TYPE*/get ORDERED_NODE_SNAPSHOT_TYPE() { - return 7; - }, - /*html$.XPathResult.STRING_TYPE*/get STRING_TYPE() { - return 2; - }, - /*html$.XPathResult.UNORDERED_NODE_ITERATOR_TYPE*/get UNORDERED_NODE_ITERATOR_TYPE() { - return 4; - }, - /*html$.XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE*/get UNORDERED_NODE_SNAPSHOT_TYPE() { - return 6; - } -}, false); -dart.registerExtension("XPathResult", html$.XPathResult); -html$.XmlDocument = class XmlDocument extends html$.Document { - static ['_#_#tearOff']() { - return html$.XmlDocument.__(); - } -}; -dart.addTypeTests(html$.XmlDocument); -dart.addTypeCaches(html$.XmlDocument); -dart.setStaticMethodSignature(html$.XmlDocument, () => ['__']); -dart.setLibraryUri(html$.XmlDocument, I[150]); -dart.registerExtension("XMLDocument", html$.XmlDocument); -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(); - } - [S$3.$serializeToString](...args) { - return this.serializeToString.apply(this, args); - } -}; -dart.addTypeTests(html$.XmlSerializer); -dart.addTypeCaches(html$.XmlSerializer); -dart.setMethodSignature(html$.XmlSerializer, () => ({ - __proto__: dart.getMethods(html$.XmlSerializer.__proto__), - [S$3.$serializeToString]: dart.fnType(core.String, [html$.Node]) -})); -dart.setStaticMethodSignature(html$.XmlSerializer, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$.XmlSerializer, I[150]); -dart.registerExtension("XMLSerializer", html$.XmlSerializer); -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(); - } - static get supported() { - return !!window.XSLTProcessor; - } - [S$3.$clearParameters](...args) { - return this.clearParameters.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$3.$importStylesheet](...args) { - return this.importStylesheet.apply(this, args); - } - [S$3.$removeParameter](...args) { - return this.removeParameter.apply(this, args); - } - [S$1.$reset](...args) { - return this.reset.apply(this, args); - } - [S$3.$setParameter](...args) { - return this.setParameter.apply(this, args); - } - [S$3.$transformToDocument](...args) { - return this.transformToDocument.apply(this, args); - } - [S$3.$transformToFragment](...args) { - return this.transformToFragment.apply(this, args); - } -}; -dart.addTypeTests(html$.XsltProcessor); -dart.addTypeCaches(html$.XsltProcessor); -dart.setMethodSignature(html$.XsltProcessor, () => ({ - __proto__: dart.getMethods(html$.XsltProcessor.__proto__), - [S$3.$clearParameters]: dart.fnType(dart.void, []), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.String), core.String]), - [S$3.$importStylesheet]: dart.fnType(dart.void, [html$.Node]), - [S$3.$removeParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String]), - [S$1.$reset]: dart.fnType(dart.void, []), - [S$3.$setParameter]: dart.fnType(dart.void, [dart.nullable(core.String), core.String, core.String]), - [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.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; - } - get [$name]() { - return this.name; - } - get [S._namespaceUri]() { - return this.namespaceURI; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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), - [$name]: dart.nullable(core.String), - [S._namespaceUri]: dart.nullable(core.String), - [S.$value]: dart.nullable(core.String) -})); -dart.setSetterSignature(html$._Attr, () => ({ - __proto__: dart.getSetters(html$._Attr.__proto__), - [S.$value]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._Attr, I[150]); -dart.registerExtension("Attr", html$._Attr); -html$._Bluetooth = class _Bluetooth extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Bluetooth.__(); - } -}; -dart.addTypeTests(html$._Bluetooth); -dart.addTypeCaches(html$._Bluetooth); -dart.setStaticMethodSignature(html$._Bluetooth, () => ['__']); -dart.setLibraryUri(html$._Bluetooth, I[150]); -dart.registerExtension("Bluetooth", html$._Bluetooth); -html$._BluetoothCharacteristicProperties = class _BluetoothCharacteristicProperties extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothCharacteristicProperties.__(); - } -}; -dart.addTypeTests(html$._BluetoothCharacteristicProperties); -dart.addTypeCaches(html$._BluetoothCharacteristicProperties); -dart.setStaticMethodSignature(html$._BluetoothCharacteristicProperties, () => ['__']); -dart.setLibraryUri(html$._BluetoothCharacteristicProperties, I[150]); -dart.registerExtension("BluetoothCharacteristicProperties", html$._BluetoothCharacteristicProperties); -html$._BluetoothDevice = class _BluetoothDevice extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothDevice.__(); - } -}; -dart.addTypeTests(html$._BluetoothDevice); -dart.addTypeCaches(html$._BluetoothDevice); -dart.setStaticMethodSignature(html$._BluetoothDevice, () => ['__']); -dart.setLibraryUri(html$._BluetoothDevice, I[150]); -dart.registerExtension("BluetoothDevice", html$._BluetoothDevice); -html$._BluetoothRemoteGATTCharacteristic = class _BluetoothRemoteGATTCharacteristic extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTCharacteristic.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTCharacteristic); -dart.addTypeCaches(html$._BluetoothRemoteGATTCharacteristic); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTCharacteristic, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTCharacteristic, I[150]); -dart.registerExtension("BluetoothRemoteGATTCharacteristic", html$._BluetoothRemoteGATTCharacteristic); -html$._BluetoothRemoteGATTServer = class _BluetoothRemoteGATTServer extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTServer.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTServer); -dart.addTypeCaches(html$._BluetoothRemoteGATTServer); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTServer, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTServer, I[150]); -dart.registerExtension("BluetoothRemoteGATTServer", html$._BluetoothRemoteGATTServer); -html$._BluetoothRemoteGATTService = class _BluetoothRemoteGATTService extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothRemoteGATTService.__(); - } -}; -dart.addTypeTests(html$._BluetoothRemoteGATTService); -dart.addTypeCaches(html$._BluetoothRemoteGATTService); -dart.setStaticMethodSignature(html$._BluetoothRemoteGATTService, () => ['__']); -dart.setLibraryUri(html$._BluetoothRemoteGATTService, I[150]); -dart.registerExtension("BluetoothRemoteGATTService", html$._BluetoothRemoteGATTService); -html$._BluetoothUUID = class _BluetoothUUID extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._BluetoothUUID.__(); - } -}; -dart.addTypeTests(html$._BluetoothUUID); -dart.addTypeCaches(html$._BluetoothUUID); -dart.setStaticMethodSignature(html$._BluetoothUUID, () => ['__']); -dart.setLibraryUri(html$._BluetoothUUID, I[150]); -dart.registerExtension("BluetoothUUID", html$._BluetoothUUID); -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[149], 34482, 33, "operation"); - return js_util.promiseToFuture(core.double, this.getCost(operation)); - } - [S$3.$reserve](operation) { - if (operation == null) dart.nullFailed(I[149], 34485, 31, "operation"); - return js_util.promiseToFuture(core.bool, this.reserve(operation)); - } -}; -dart.addTypeTests(html$._BudgetService); -dart.addTypeCaches(html$._BudgetService); -dart.setMethodSignature(html$._BudgetService, () => ({ - __proto__: dart.getMethods(html$._BudgetService.__proto__), - [S$3.$getBudget]: dart.fnType(async.Future$(html$.BudgetState), []), - [S$3.$getCost]: dart.fnType(async.Future$(core.double), [core.String]), - [S$3.$reserve]: dart.fnType(async.Future$(core.bool), [core.String]) -})); -dart.setStaticMethodSignature(html$._BudgetService, () => ['__']); -dart.setLibraryUri(html$._BudgetService, I[150]); -dart.registerExtension("BudgetService", html$._BudgetService); -html$._Cache = class _Cache extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Cache.__(); - } -}; -dart.addTypeTests(html$._Cache); -dart.addTypeCaches(html$._Cache); -dart.setStaticMethodSignature(html$._Cache, () => ['__']); -dart.setLibraryUri(html$._Cache, I[150]); -dart.registerExtension("Cache", html$._Cache); -html$._CanvasPath = class _CanvasPath extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._CanvasPath.__(); - } -}; -dart.addTypeTests(html$._CanvasPath); -dart.addTypeCaches(html$._CanvasPath); -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()); - } - [S$3.$readText]() { - return js_util.promiseToFuture(core.String, this.readText()); - } - [S$1.$write](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[149], 34529, 27, "data"); - return js_util.promiseToFuture(dart.dynamic, this.writeText(data)); - } -}; -dart.addTypeTests(html$._Clipboard); -dart.addTypeCaches(html$._Clipboard); -dart.setMethodSignature(html$._Clipboard, () => ({ - __proto__: dart.getMethods(html$._Clipboard.__proto__), - [S$3.$read]: dart.fnType(async.Future$(html$.DataTransfer), []), - [S$3.$readText]: dart.fnType(async.Future$(core.String), []), - [S$1.$write]: dart.fnType(async.Future, [html$.DataTransfer]), - [S$3.$writeText]: dart.fnType(async.Future, [core.String]) -})); -dart.setStaticMethodSignature(html$._Clipboard, () => ['__']); -dart.setLibraryUri(html$._Clipboard, I[150]); -dart.registerExtension("Clipboard", html$._Clipboard); -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[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[149], 34553, 25, "index"); - html$.CssRule.as(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[149], 34559, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34587, 25, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._CssRuleList.prototype[dart.isList] = true; -dart.addTypeTests(html$._CssRuleList); -dart.addTypeCaches(html$._CssRuleList); -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 -})); -dart.setSetterSignature(html$._CssRuleList, () => ({ - __proto__: dart.getSetters(html$._CssRuleList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._CssRuleList, I[150]); -dart.registerExtension("CSSRuleList", html$._CssRuleList); -html$._DOMFileSystemSync = class _DOMFileSystemSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DOMFileSystemSync.__(); - } -}; -dart.addTypeTests(html$._DOMFileSystemSync); -dart.addTypeCaches(html$._DOMFileSystemSync); -dart.setStaticMethodSignature(html$._DOMFileSystemSync, () => ['__']); -dart.setLibraryUri(html$._DOMFileSystemSync, I[150]); -dart.registerExtension("DOMFileSystemSync", html$._DOMFileSystemSync); -html$._EntrySync = class _EntrySync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._EntrySync.__(); - } -}; -dart.addTypeTests(html$._EntrySync); -dart.addTypeCaches(html$._EntrySync); -dart.setStaticMethodSignature(html$._EntrySync, () => ['__']); -dart.setLibraryUri(html$._EntrySync, I[150]); -dart.registerExtension("EntrySync", html$._EntrySync); -html$._DirectoryEntrySync = class _DirectoryEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._DirectoryEntrySync.__(); - } -}; -dart.addTypeTests(html$._DirectoryEntrySync); -dart.addTypeCaches(html$._DirectoryEntrySync); -dart.setStaticMethodSignature(html$._DirectoryEntrySync, () => ['__']); -dart.setLibraryUri(html$._DirectoryEntrySync, I[150]); -dart.registerExtension("DirectoryEntrySync", html$._DirectoryEntrySync); -html$._DirectoryReaderSync = class _DirectoryReaderSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._DirectoryReaderSync.__(); - } -}; -dart.addTypeTests(html$._DirectoryReaderSync); -dart.addTypeCaches(html$._DirectoryReaderSync); -dart.setStaticMethodSignature(html$._DirectoryReaderSync, () => ['__']); -dart.setLibraryUri(html$._DirectoryReaderSync, I[150]); -dart.registerExtension("DirectoryReaderSync", html$._DirectoryReaderSync); -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.setStaticMethodSignature(html$._DocumentType, () => ['__']); -dart.setLibraryUri(html$._DocumentType, I[150]); -dart.registerExtension("DocumentType", html$._DocumentType); -html$._DomRect = class _DomRect extends html$.DomRectReadOnly { - [$toString]() { - return "Rectangle (" + dart.str(this[$left]) + ", " + dart.str(this[$top]) + ") " + dart.str(this[$width]) + " x " + dart.str(this[$height]); - } - [$_equals](other) { - if (other == null) return false; - 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 core.Object.hash(this[$left], this[$top], this[$width], this[$height]); - } - [$intersection](other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - [$intersects](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[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]); - let top = math.min(core.num, this[$top], other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - [$containsRectangle](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[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]() { - return new (T$0.PointOfnum()).new(this[$left], this[$top]); - } - get [$topRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), this[$top]); - } - get [$bottomRight]() { - return new (T$0.PointOfnum()).new(dart.notNull(this[$left]) + dart.notNull(this[$width]), dart.notNull(this[$top]) + dart.notNull(this[$height])); - } - 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); - } - if (width != null) { - return html$._DomRect._create_2(x, y, width); - } - if (y != null) { - return html$._DomRect._create_3(x, y); - } - if (x != null) { - return html$._DomRect._create_4(x); - } - 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); - } - static _create_2(x, y, width) { - return new DOMRect(x, y, width); - } - static _create_3(x, y) { - return new DOMRect(x, y); - } - static _create_4(x) { - return new DOMRect(x); - } - static _create_5() { - return new DOMRect(); - } - get [S$0._height$1]() { - return this.height; - } - get [$height]() { - return dart.nullCheck(this[S$0._height$1]); - } - set [$height](value) { - this.height = value; - } - get [S$0._width$1]() { - return this.width; - } - get [$width]() { - return dart.nullCheck(this[S$0._width$1]); - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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, - [$width]: core.num, - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(html$._DomRect, I[150]); -dart.registerExtension("ClientRect", html$._DomRect); -dart.registerExtension("DOMRect", html$._DomRect); -html$._FileEntrySync = class _FileEntrySync extends html$._EntrySync { - static ['_#_#tearOff']() { - return html$._FileEntrySync.__(); - } -}; -dart.addTypeTests(html$._FileEntrySync); -dart.addTypeCaches(html$._FileEntrySync); -dart.setStaticMethodSignature(html$._FileEntrySync, () => ['__']); -dart.setLibraryUri(html$._FileEntrySync, I[150]); -dart.registerExtension("FileEntrySync", html$._FileEntrySync); -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.setStaticMethodSignature(html$._FileReaderSync, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._FileReaderSync, I[150]); -dart.registerExtension("FileReaderSync", html$._FileReaderSync); -html$._FileWriterSync = class _FileWriterSync extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._FileWriterSync.__(); - } -}; -dart.addTypeTests(html$._FileWriterSync); -dart.addTypeCaches(html$._FileWriterSync); -dart.setStaticMethodSignature(html$._FileWriterSync, () => ['__']); -dart.setLibraryUri(html$._FileWriterSync, I[150]); -dart.registerExtension("FileWriterSync", html$._FileWriterSync); -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[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[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[149], 34877, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 34905, 26, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._GamepadList.prototype[dart.isList] = true; -dart.addTypeTests(html$._GamepadList); -dart.addTypeCaches(html$._GamepadList); -html$._GamepadList[dart.implements] = () => [core.List$(dart.nullable(html$.Gamepad)), _js_helper.JavaScriptIndexingBehavior$(dart.nullable(html$.Gamepad))]; -dart.setMethodSignature(html$._GamepadList, () => ({ - __proto__: dart.getMethods(html$._GamepadList.__proto__), - [$_get]: dart.fnType(dart.nullable(html$.Gamepad), [core.int]), - [$_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 -})); -dart.setSetterSignature(html$._GamepadList, () => ({ - __proto__: dart.getSetters(html$._GamepadList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._GamepadList, I[150]); -dart.registerExtension("GamepadList", html$._GamepadList); -html$._HTMLAllCollection = class _HTMLAllCollection extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._HTMLAllCollection.__(); - } - [S$1._item](...args) { - return this.item.apply(this, args); - } -}; -dart.addTypeTests(html$._HTMLAllCollection); -dart.addTypeCaches(html$._HTMLAllCollection); -dart.setMethodSignature(html$._HTMLAllCollection, () => ({ - __proto__: dart.getMethods(html$._HTMLAllCollection.__proto__), - [S$1._item]: dart.fnType(html$.Element, [dart.nullable(core.int)]) -})); -dart.setStaticMethodSignature(html$._HTMLAllCollection, () => ['__']); -dart.setLibraryUri(html$._HTMLAllCollection, I[150]); -dart.registerExtension("HTMLAllCollection", html$._HTMLAllCollection); -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.setStaticMethodSignature(html$._HTMLDirectoryElement, () => ['__']); -dart.setLibraryUri(html$._HTMLDirectoryElement, I[150]); -dart.registerExtension("HTMLDirectoryElement", html$._HTMLDirectoryElement); -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.setStaticMethodSignature(html$._HTMLFontElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFontElement, I[150]); -dart.registerExtension("HTMLFontElement", html$._HTMLFontElement); -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.setStaticMethodSignature(html$._HTMLFrameElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFrameElement, I[150]); -dart.registerExtension("HTMLFrameElement", html$._HTMLFrameElement); -html$._HTMLFrameSetElement = class _HTMLFrameSetElement extends html$.HtmlElement { - static ['_#_#tearOff']() { - return html$._HTMLFrameSetElement.__(); - } -}; -(html$._HTMLFrameSetElement.created = function() { - html$._HTMLFrameSetElement.__proto__.created.call(this); - ; -}).prototype = html$._HTMLFrameSetElement.prototype; -dart.addTypeTests(html$._HTMLFrameSetElement); -dart.addTypeCaches(html$._HTMLFrameSetElement); -html$._HTMLFrameSetElement[dart.implements] = () => [html$.WindowEventHandlers]; -dart.setStaticMethodSignature(html$._HTMLFrameSetElement, () => ['__']); -dart.setLibraryUri(html$._HTMLFrameSetElement, I[150]); -dart.registerExtension("HTMLFrameSetElement", html$._HTMLFrameSetElement); -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.setStaticMethodSignature(html$._HTMLMarqueeElement, () => ['__']); -dart.setLibraryUri(html$._HTMLMarqueeElement, I[150]); -dart.registerExtension("HTMLMarqueeElement", html$._HTMLMarqueeElement); -html$._Mojo = class _Mojo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Mojo.__(); - } -}; -dart.addTypeTests(html$._Mojo); -dart.addTypeCaches(html$._Mojo); -dart.setStaticMethodSignature(html$._Mojo, () => ['__']); -dart.setLibraryUri(html$._Mojo, I[150]); -dart.registerExtension("Mojo", html$._Mojo); -html$._MojoHandle = class _MojoHandle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoHandle.__(); - } -}; -dart.addTypeTests(html$._MojoHandle); -dart.addTypeCaches(html$._MojoHandle); -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[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); - } - static _create_2(interfaceName) { - return new MojoInterfaceInterceptor(interfaceName); - } -}; -dart.addTypeTests(html$._MojoInterfaceInterceptor); -dart.addTypeCaches(html$._MojoInterfaceInterceptor); -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[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); - } - static _create_2(type) { - return new MojoInterfaceRequestEvent(type); - } -}; -dart.addTypeTests(html$._MojoInterfaceRequestEvent); -dart.addTypeCaches(html$._MojoInterfaceRequestEvent); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._MojoWatcher.__(); - } -}; -dart.addTypeTests(html$._MojoWatcher); -dart.addTypeCaches(html$._MojoWatcher); -dart.setStaticMethodSignature(html$._MojoWatcher, () => ['__']); -dart.setLibraryUri(html$._MojoWatcher, I[150]); -dart.registerExtension("MojoWatcher", html$._MojoWatcher); -html$._NFC = class _NFC extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._NFC.__(); - } -}; -dart.addTypeTests(html$._NFC); -dart.addTypeCaches(html$._NFC); -dart.setStaticMethodSignature(html$._NFC, () => ['__']); -dart.setLibraryUri(html$._NFC, I[150]); -dart.registerExtension("NFC", html$._NFC); -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[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[149], 35143, 25, "index"); - html$.Node.as(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[149], 35149, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35177, 22, "index"); - return this[$_get](index); - } - [S$3.$getNamedItem](...args) { - return this.getNamedItem.apply(this, args); - } - [S$3.$getNamedItemNS](...args) { - return this.getNamedItemNS.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } - [S$3.$removeNamedItem](...args) { - return this.removeNamedItem.apply(this, args); - } - [S$3.$removeNamedItemNS](...args) { - return this.removeNamedItemNS.apply(this, args); - } - [S$3.$setNamedItem](...args) { - return this.setNamedItem.apply(this, args); - } - [S$3.$setNamedItemNS](...args) { - return this.setNamedItemNS.apply(this, args); - } -}; -html$._NamedNodeMap.prototype[dart.isList] = true; -dart.addTypeTests(html$._NamedNodeMap); -dart.addTypeCaches(html$._NamedNodeMap); -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]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.$getNamedItem]: dart.fnType(dart.nullable(html$._Attr), [core.String]), - [S$3.$getNamedItemNS]: dart.fnType(dart.nullable(html$._Attr), [dart.nullable(core.String), core.String]), - [S$.$item]: dart.fnType(dart.nullable(html$._Attr), [core.int]), - [S$3.$removeNamedItem]: dart.fnType(html$._Attr, [core.String]), - [S$3.$removeNamedItemNS]: dart.fnType(html$._Attr, [dart.nullable(core.String), core.String]), - [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 -})); -dart.setSetterSignature(html$._NamedNodeMap, () => ({ - __proto__: dart.getSetters(html$._NamedNodeMap.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._NamedNodeMap, I[150]); -dart.registerExtension("NamedNodeMap", html$._NamedNodeMap); -dart.registerExtension("MozNamedAttrMap", html$._NamedNodeMap); -html$._PagePopupController = class _PagePopupController extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._PagePopupController.__(); - } -}; -dart.addTypeTests(html$._PagePopupController); -dart.addTypeCaches(html$._PagePopupController); -dart.setStaticMethodSignature(html$._PagePopupController, () => ['__']); -dart.setLibraryUri(html$._PagePopupController, I[150]); -dart.registerExtension("PagePopupController", html$._PagePopupController); -html$._Report = class _Report extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Report.__(); - } - get [S$1.$body]() { - return this.body; - } - get [S.$type]() { - return this.type; - } - get [S$.$url]() { - return this.url; - } -}; -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[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[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); - } - static _create_2(input) { - return new Request(input); - } - get [S$3.$cache]() { - return this.cache; - } - get [S$2.$credentials]() { - return this.credentials; - } - get [S$2.$headers]() { - return this.headers; - } - get [S$1.$integrity]() { - return this.integrity; - } - get [S.$mode]() { - return this.mode; - } - get [S$3.$redirect]() { - return this.redirect; - } - get [S$1.$referrer]() { - return this.referrer; - } - get [S$.$referrerPolicy]() { - return this.referrerPolicy; - } - get [S$.$url]() { - return this.url; - } - [S$.$clone](...args) { - return this.clone.apply(this, args); - } -}; -dart.addTypeTests(html$._Request); -dart.addTypeCaches(html$._Request); -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$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), - [S$3.$redirect]: dart.nullable(core.String), - [S$1.$referrer]: dart.nullable(core.String), - [S$.$referrerPolicy]: dart.nullable(core.String), - [S$.$url]: dart.nullable(core.String) -})); -dart.setLibraryUri(html$._Request, I[150]); -dart.registerExtension("Request", html$._Request); -html$._ResourceProgressEvent = class _ResourceProgressEvent extends html$.ProgressEvent { - static ['_#_#tearOff']() { - return html$._ResourceProgressEvent.__(); - } -}; -dart.addTypeTests(html$._ResourceProgressEvent); -dart.addTypeCaches(html$._ResourceProgressEvent); -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); - return html$._Response._create_1(body, init_1); - } - if (body != null) { - return html$._Response._create_2(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); - } - static _create_2(body) { - return new Response(body); - } - static _create_3() { - return new Response(); - } -}; -dart.addTypeTests(html$._Response); -dart.addTypeCaches(html$._Response); -dart.setStaticMethodSignature(html$._Response, () => ['__', 'new', '_create_1', '_create_2', '_create_3']); -dart.setLibraryUri(html$._Response, I[150]); -dart.registerExtension("Response", html$._Response); -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[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[149], 35337, 25, "index"); - html$.SpeechRecognitionResult.as(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[149], 35343, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35371, 41, "index"); - return this[$_get](index); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._SpeechRecognitionResultList.prototype[dart.isList] = true; -dart.addTypeTests(html$._SpeechRecognitionResultList); -dart.addTypeCaches(html$._SpeechRecognitionResultList); -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 -})); -dart.setSetterSignature(html$._SpeechRecognitionResultList, () => ({ - __proto__: dart.getSetters(html$._SpeechRecognitionResultList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._SpeechRecognitionResultList, I[150]); -dart.registerExtension("SpeechRecognitionResultList", html$._SpeechRecognitionResultList); -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[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[149], 35397, 25, "index"); - html$.StyleSheet.as(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[149], 35403, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[149], 35431, 28, "index"); - return this[$_get](index); - } - [S$.__getter__](...args) { - return this.__getter__.apply(this, args); - } - [S$.$item](...args) { - return this.item.apply(this, args); - } -}; -html$._StyleSheetList.prototype[dart.isList] = true; -dart.addTypeTests(html$._StyleSheetList); -dart.addTypeCaches(html$._StyleSheetList); -html$._StyleSheetList[dart.implements] = () => [core.List$(html$.StyleSheet), _js_helper.JavaScriptIndexingBehavior$(html$.StyleSheet)]; -dart.setMethodSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getMethods(html$._StyleSheetList.__proto__), - [$_get]: dart.fnType(html$.StyleSheet, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [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 -})); -dart.setSetterSignature(html$._StyleSheetList, () => ({ - __proto__: dart.getSetters(html$._StyleSheetList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(html$._StyleSheetList, I[150]); -dart.registerExtension("StyleSheetList", html$._StyleSheetList); -html$._SubtleCrypto = class _SubtleCrypto extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._SubtleCrypto.__(); - } -}; -dart.addTypeTests(html$._SubtleCrypto); -dart.addTypeCaches(html$._SubtleCrypto); -dart.setStaticMethodSignature(html$._SubtleCrypto, () => ['__']); -dart.setLibraryUri(html$._SubtleCrypto, I[150]); -dart.registerExtension("SubtleCrypto", html$._SubtleCrypto); -html$._USB = class _USB extends html$.EventTarget { - static ['_#_#tearOff']() { - return html$._USB.__(); - } -}; -dart.addTypeTests(html$._USB); -dart.addTypeCaches(html$._USB); -dart.setStaticMethodSignature(html$._USB, () => ['__']); -dart.setLibraryUri(html$._USB, I[150]); -dart.registerExtension("USB", html$._USB); -html$._USBAlternateInterface = class _USBAlternateInterface extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBAlternateInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBAlternateInterface, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBAlternateInterface, I[150]); -dart.registerExtension("USBAlternateInterface", html$._USBAlternateInterface); -html$._USBConfiguration = class _USBConfiguration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBConfiguration.__(); - } - static new(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._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.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[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.setStaticMethodSignature(html$._USBConnectionEvent, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBConnectionEvent, I[150]); -dart.registerExtension("USBConnectionEvent", html$._USBConnectionEvent); -html$._USBDevice = class _USBDevice extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBDevice.__(); - } -}; -dart.addTypeTests(html$._USBDevice); -dart.addTypeCaches(html$._USBDevice); -dart.setStaticMethodSignature(html$._USBDevice, () => ['__']); -dart.setLibraryUri(html$._USBDevice, I[150]); -dart.registerExtension("USBDevice", html$._USBDevice); -html$._USBEndpoint = class _USBEndpoint extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBEndpoint.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBEndpoint, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBEndpoint, I[150]); -dart.registerExtension("USBEndpoint", html$._USBEndpoint); -html$._USBInTransferResult = class _USBInTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInTransferResult.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBInTransferResult(status); - } -}; -dart.addTypeTests(html$._USBInTransferResult); -dart.addTypeCaches(html$._USBInTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBInterface.__(); - } - static new(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._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.setStaticMethodSignature(html$._USBInterface, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBInterface, I[150]); -dart.registerExtension("USBInterface", html$._USBInterface); -html$._USBIsochronousInTransferPacket = class _USBIsochronousInTransferPacket extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferPacket.__(); - } - static new(status, data = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousInTransferPacket(status); - } -}; -dart.addTypeTests(html$._USBIsochronousInTransferPacket); -dart.addTypeCaches(html$._USBIsochronousInTransferPacket); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousInTransferResult.__(); - } - static new(packets, data = null) { - 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); - } - static _create_2(packets) { - return new USBIsochronousInTransferResult(packets); - } -}; -dart.addTypeTests(html$._USBIsochronousInTransferResult); -dart.addTypeCaches(html$._USBIsochronousInTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferPacket.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBIsochronousOutTransferPacket(status); - } -}; -dart.addTypeTests(html$._USBIsochronousOutTransferPacket); -dart.addTypeCaches(html$._USBIsochronousOutTransferPacket); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBIsochronousOutTransferResult.__(); - } - static new(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.setStaticMethodSignature(html$._USBIsochronousOutTransferResult, () => ['__', 'new', '_create_1']); -dart.setLibraryUri(html$._USBIsochronousOutTransferResult, I[150]); -dart.registerExtension("USBIsochronousOutTransferResult", html$._USBIsochronousOutTransferResult); -html$._USBOutTransferResult = class _USBOutTransferResult extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._USBOutTransferResult.__(); - } - static new(status, bytesWritten = null) { - 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); - } - static _create_2(status) { - return new USBOutTransferResult(status); - } -}; -dart.addTypeTests(html$._USBOutTransferResult); -dart.addTypeCaches(html$._USBOutTransferResult); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._WindowTimers.__(); - } -}; -dart.addTypeTests(html$._WindowTimers); -dart.addTypeCaches(html$._WindowTimers); -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.setStaticMethodSignature(html$._WorkerLocation, () => ['__']); -dart.setLibraryUri(html$._WorkerLocation, I[150]); -dart.registerExtension("WorkerLocation", html$._WorkerLocation); -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$.NavigatorID, html$.NavigatorOnLine]; -dart.setStaticMethodSignature(html$._WorkerNavigator, () => ['__']); -dart.setLibraryUri(html$._WorkerNavigator, I[150]); -dart.registerExtension("WorkerNavigator", html$._WorkerNavigator); -html$._Worklet = class _Worklet extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return html$._Worklet.__(); - } -}; -dart.addTypeTests(html$._Worklet); -dart.addTypeCaches(html$._Worklet); -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[149], 35796, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - for (let v of this.values) { - if (dart.equals(value, v)) { - return true; - } - } - return false; - } - putIfAbsent(key, ifAbsent) { - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35812, 29, "key"); - T$.VoidToString().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[149], 35812, 41, "ifAbsent"); - if (!dart.test(this[$containsKey](key))) { - this[$_set](key, ifAbsent()); - } - return dart.nullCast(this[$_get](key), core.String); - } - clear() { - for (let key of this.keys) { - this[$remove](key); - } - } - forEach(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][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)); - if (dart.test(this[S$3._matches](attr))) { - keys[$add](dart.nullCheck(attr.name)); - } - } - return keys; - } - get values() { - 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)); - if (dart.test(this[S$3._matches](attr))) { - values[$add](dart.nullCheck(attr.value)); - } - } - return values; - } - get isEmpty() { - return this[$length] === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } -}; -(html$._AttributeMap.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 35794, 22, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$._AttributeMap.prototype; -dart.addTypeTests(html$._AttributeMap); -dart.addTypeCaches(html$._AttributeMap); -dart.setMethodSignature(html$._AttributeMap, () => ({ - __proto__: dart.getMethods(html$._AttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(html$._AttributeMap, () => ({ - __proto__: dart.getGetters(html$._AttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) -})); -dart.setLibraryUri(html$._AttributeMap, I[150]); -dart.setFieldSignature(html$._AttributeMap, () => ({ - __proto__: dart.getFields(html$._AttributeMap.__proto__), - [S$1._element]: dart.finalFieldType(html$.Element) -})); -dart.defineExtensionMethods(html$._AttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'putIfAbsent', - 'clear', - 'forEach' -]); -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][S._hasAttribute](key)); - } - _get(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[149], 35890, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35880, 32, "element"); - html$._ElementAttributeMap.__proto__.new.call(this, element); - ; -}).prototype = html$._ElementAttributeMap.prototype; -dart.addTypeTests(html$._ElementAttributeMap); -dart.addTypeCaches(html$._ElementAttributeMap); -dart.setMethodSignature(html$._ElementAttributeMap, () => ({ - __proto__: dart.getMethods(html$._ElementAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) -})); -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][S._hasAttributeNS](this[S$3._namespace], key)); - } - _get(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[149], 35938, 28, "key"); - core.String.as(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], key) : null; - } - get length() { - return this.keys[$length]; - } - [S$3._matches](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[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[149], 35928, 35, "element"); - this[S$3._namespace] = _namespace; - html$._NamespacedAttributeMap.__proto__.new.call(this, element); - ; -}).prototype = html$._NamespacedAttributeMap.prototype; -dart.addTypeTests(html$._NamespacedAttributeMap); -dart.addTypeCaches(html$._NamespacedAttributeMap); -dart.setMethodSignature(html$._NamespacedAttributeMap, () => ({ - __proto__: dart.getMethods(html$._NamespacedAttributeMap.__proto__), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [S$3._matches]: dart.fnType(core.bool, [html$._Attr]) -})); -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)) -})); -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[149], 35984, 35, "other"); - other[$forEach](dart.fn((k, 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())); - } - cast(K, V) { - return core.Map.castFrom(core.String, core.String, K, V, this); - } - containsValue(value) { - return this.values[$any](dart.fn(v => { - if (v == null) dart.nullFailed(I[149], 35992, 52, "v"); - return core.identical(v, value); - }, T$.StringTobool())); - } - containsKey(key) { - return this[S._attributes$1][$containsKey](this[S$3._attr](core.String.as(key))); - } - _get(key) { - return this[S._attributes$1][$_get](this[S$3._attr](core.String.as(key))); - } - _set(key, value$) { - let value = value$; - core.String.as(key); - if (key == null) dart.nullFailed(I[149], 35999, 28, "key"); - core.String.as(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[149], 36003, 29, "key"); - T$.VoidToString().as(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) { - return this[S._attributes$1][$remove](this[S$3._attr](core.String.as(key))); - } - clear() { - for (let key of this.keys) { - this.remove(key); - } - } - forEach(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[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); - } - }, T$0.StringAndStringTovoid())); - } - get keys() { - let keys = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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)); - } - }, T$0.StringAndStringTovoid())); - return keys; - } - get values() { - let values = T$.JSArrayOfString().of([]); - this[S._attributes$1][$forEach](dart.fn((key, 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); - } - }, T$0.StringAndStringTovoid())); - return values; - } - get length() { - return this.keys[$length]; - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return !dart.test(this.isEmpty); - } - [S$3._attr](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[149], 36052, 24, "key"); - return key[$startsWith]("data-"); - } - [S$3._strip](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[149], 36060, 30, "hyphenedName"); - let startUppercase = opts && 'startUppercase' in opts ? opts.startUppercase : false; - 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) { - let segment = segments[$_get](i); - if (segment.length > 0) { - segments[$_set](i, segment[$_get](0)[$toUpperCase]() + segment[$substring](1)); - } - } - return segments[$join](""); - } - [S$3._toHyphenedName](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](); - if (word[$_get](i) !== lower && i > 0) sb.write("-"); - sb.write(lower); - } - return sb.toString(); - } -}; -(html$._DataAttributeMap.new = function(_attributes) { - if (_attributes == null) dart.nullFailed(I[149], 35980, 26, "_attributes"); - this[S._attributes$1] = _attributes; - ; -}).prototype = html$._DataAttributeMap.prototype; -dart.addTypeTests(html$._DataAttributeMap); -dart.addTypeCaches(html$._DataAttributeMap); -dart.setMethodSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getMethods(html$._DataAttributeMap.__proto__), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - _get: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - remove: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - [S$3._attr]: dart.fnType(core.String, [core.String]), - [S$3._matches]: dart.fnType(core.bool, [core.String]), - [S$3._strip]: dart.fnType(core.String, [core.String]), - [S$3._toCamelCase]: dart.fnType(core.String, [core.String], {startUppercase: core.bool}, {}), - [S$3._toHyphenedName]: dart.fnType(core.String, [core.String]) -})); -dart.setGetterSignature(html$._DataAttributeMap, () => ({ - __proto__: dart.getGetters(html$._DataAttributeMap.__proto__), - keys: core.Iterable$(core.String), - [$keys]: core.Iterable$(core.String) -})); -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)) -})); -dart.defineExtensionMethods(html$._DataAttributeMap, [ - 'addAll', - 'cast', - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'remove', - 'clear', - 'forEach' -]); -dart.defineExtensionAccessors(html$._DataAttributeMap, [ - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' -]); -html$.CanvasImageSource = class CanvasImageSource extends core.Object {}; -(html$.CanvasImageSource.new = function() { - ; -}).prototype = html$.CanvasImageSource.prototype; -dart.addTypeTests(html$.CanvasImageSource); -dart.addTypeCaches(html$.CanvasImageSource); -dart.setLibraryUri(html$.CanvasImageSource, I[150]); -html$.WindowBase = class WindowBase extends core.Object {}; -(html$.WindowBase.new = function() { - ; -}).prototype = html$.WindowBase.prototype; -dart.addTypeTests(html$.WindowBase); -dart.addTypeCaches(html$.WindowBase); -html$.WindowBase[dart.implements] = () => [html$.EventTarget]; -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[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[150]); -html$.CssClassSet = class CssClassSet extends core.Object { - [Symbol.iterator]() { - return new dart.JsIterator(this[$iterator]); - } -}; -(html$.CssClassSet.new = function() { - ; -}).prototype = html$.CssClassSet.prototype; -dart.addTypeTests(html$.CssClassSet); -dart.addTypeCaches(html$.CssClassSet); -html$.CssClassSet[dart.implements] = () => [core.Set$(core.String)]; -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.")); - } - set width(newWidth) { - dart.throw(new core.UnsupportedError.new("Can only set width for content rect.")); - } - [S$3._addOrSubtractToBoxModel](dimensions, augmentingMeasurement) { - 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) { - val = val + dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(augmentingMeasurement) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement == html$._CONTENT) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue](dart.str(html$._PADDING) + "-" + dart.str(measurement))).value); - } - if (augmentingMeasurement != html$._MARGIN) { - val = val - dart.notNull(new html$.Dimension.css(styles[S$.$getPropertyValue]("border-" + dart.str(measurement) + "-width")).value); - } - } - return val; - } - get right() { - return dart.notNull(this.left) + dart.notNull(this.width); - } - get bottom() { - return dart.notNull(this.top) + dart.notNull(this.height); - } - toString() { - return "Rectangle (" + dart.str(this.left) + ", " + dart.str(this.top) + ") " + dart.str(this.width) + " x " + dart.str(this.height); - } - _equals(other) { - if (other == null) return false; - 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 core.Object.hash(this.left, this.top, this.right, this.bottom); - } - intersection(other) { - T$0.RectangleOfnum().as(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) { - let y0 = math.max(core.num, 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 (T$0.RectangleOfnum()).new(x0, y0, x1 - x0, y1 - y0); - } - } - return null; - } - intersects(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[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]); - let top = math.min(core.num, this.top, other[$top]); - return new (T$0.RectangleOfnum()).new(left, top, right - left, bottom - top); - } - containsRectangle(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[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() { - return new (T$0.PointOfnum()).new(this.left, this.top); - } - get topRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), this.top); - } - get bottomRight() { - return new (T$0.PointOfnum()).new(dart.notNull(this.left) + dart.notNull(this.width), dart.notNull(this.top) + dart.notNull(this.height)); - } - get bottomLeft() { - return new (T$0.PointOfnum()).new(this.left, dart.notNull(this.top) + dart.notNull(this.height)); - } -}; -(html$.CssRect.new = function(_element) { - if (_element == null) dart.nullFailed(I[149], 36563, 16, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$.CssRect.prototype; -dart.addTypeTests(html$.CssRect); -dart.addTypeCaches(html$.CssRect); -html$.CssRect[dart.implements] = () => [math.Rectangle$(core.num)]; -dart.setMethodSignature(html$.CssRect, () => ({ - __proto__: dart.getMethods(html$.CssRect.__proto__), - [S$3._addOrSubtractToBoxModel]: dart.fnType(core.num, [core.List$(core.String), core.String]), - intersection: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - [$intersection]: dart.fnType(dart.nullable(math.Rectangle$(core.num)), [dart.nullable(core.Object)]), - intersects: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$intersects]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - boundingBox: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - [$boundingBox]: dart.fnType(math.Rectangle$(core.num), [dart.nullable(core.Object)]), - containsRectangle: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - [$containsRectangle]: dart.fnType(core.bool, [math.Rectangle$(core.num)]), - containsPoint: dart.fnType(core.bool, [math.Point$(core.num)]), - [$containsPoint]: dart.fnType(core.bool, [math.Point$(core.num)]) -})); -dart.setGetterSignature(html$.CssRect, () => ({ - __proto__: dart.getGetters(html$.CssRect.__proto__), - right: core.num, - [$right]: core.num, - bottom: core.num, - [$bottom]: core.num, - topLeft: math.Point$(core.num), - [$topLeft]: math.Point$(core.num), - topRight: math.Point$(core.num), - [$topRight]: math.Point$(core.num), - bottomRight: math.Point$(core.num), - [$bottomRight]: math.Point$(core.num), - bottomLeft: math.Point$(core.num), - [$bottomLeft]: math.Point$(core.num) -})); -dart.setSetterSignature(html$.CssRect, () => ({ - __proto__: dart.getSetters(html$.CssRect.__proto__), - height: dart.dynamic, - [$height]: dart.dynamic, - width: dart.dynamic, - [$width]: dart.dynamic -})); -dart.setLibraryUri(html$.CssRect, I[150]); -dart.setFieldSignature(html$.CssRect, () => ({ - __proto__: dart.getFields(html$.CssRect.__proto__), - [S$1._element]: dart.fieldType(html$.Element) -})); -dart.defineExtensionMethods(html$.CssRect, [ - 'toString', - '_equals', - 'intersection', - 'intersects', - 'boundingBox', - 'containsRectangle', - 'containsPoint' -]); -dart.defineExtensionAccessors(html$.CssRect, [ - 'height', - 'width', - 'right', - 'bottom', - 'hashCode', - 'topLeft', - 'topRight', - 'bottomRight', - '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][S.$offsetHeight]) + dart.notNull(this[S$3._addOrSubtractToBoxModel](html$._HEIGHT, html$._CONTENT)); - } - get width() { - 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].style[$height] = dart.toString(newHeight); - } else if (typeof newHeight == 'number') { - if (dart.notNull(newHeight) < 0) newHeight = 0; - this[S$1._element].style[$height] = dart.str(newHeight) + "px"; - } else { - dart.throw(new core.ArgumentError.new("newHeight is not a Dimension or num")); - } - } - set width(newWidth) { - if (html$.Dimension.is(newWidth)) { - let newWidthAsDimension = newWidth; - if (dart.notNull(newWidthAsDimension.value) < 0) newWidth = new html$.Dimension.px(0); - 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].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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._CONTENT)); - } - get top() { - 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[149], 36401, 27, "element"); - html$._ContentCssRect.__proto__.new.call(this, element); - ; -}).prototype = html$._ContentCssRect.prototype; -dart.addTypeTests(html$._ContentCssRect); -dart.addTypeCaches(html$._ContentCssRect); -dart.setGetterSignature(html$._ContentCssRect, () => ({ - __proto__: dart.getGetters(html$._ContentCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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[149], 36480, 27, "e"); - return e[S.$contentEdge].height = newHeight; - }, T$0.ElementTovoid())); - } - get height() { - return super.height; - } - set width(newWidth) { - this[S$3._elementList][$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 36490, 27, "e"); - return e[S.$contentEdge].width = newWidth; - }, T$0.ElementTovoid())); - } - get width() { - return super.width; - } -}; -(html$._ContentCssListRect.new = function(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[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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._PADDING)); - } - get top() { - 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) { - html$._PaddingCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._PaddingCssRect.prototype; -dart.addTypeTests(html$._PaddingCssRect); -dart.addTypeCaches(html$._PaddingCssRect); -dart.setGetterSignature(html$._PaddingCssRect, () => ({ - __proto__: dart.getGetters(html$._PaddingCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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][S.$offsetHeight]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$1._element][S.$offsetWidth]; - } - set width(value) { - super.width = value; - } - get left() { - return this[S$1._element].getBoundingClientRect()[$left]; - } - get top() { - return this[S$1._element].getBoundingClientRect()[$top]; - } -}; -(html$._BorderCssRect.new = function(element) { - html$._BorderCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._BorderCssRect.prototype; -dart.addTypeTests(html$._BorderCssRect); -dart.addTypeCaches(html$._BorderCssRect); -dart.setGetterSignature(html$._BorderCssRect, () => ({ - __proto__: dart.getGetters(html$._BorderCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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][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][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].getBoundingClientRect()[$left]) - dart.notNull(this[S$3._addOrSubtractToBoxModel](T$.JSArrayOfString().of(["left"]), html$._MARGIN)); - } - get top() { - 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) { - html$._MarginCssRect.__proto__.new.call(this, html$.Element.as(element)); - ; -}).prototype = html$._MarginCssRect.prototype; -dart.addTypeTests(html$._MarginCssRect); -dart.addTypeCaches(html$._MarginCssRect); -dart.setGetterSignature(html$._MarginCssRect, () => ({ - __proto__: dart.getGetters(html$._MarginCssRect.__proto__), - height: core.num, - [$height]: core.num, - width: core.num, - [$width]: core.num, - left: core.num, - [$left]: core.num, - top: core.num, - [$top]: core.num -})); -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[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")); - } - toString() { - return this.readClasses()[$join](" "); - } - toggle(value, shouldAdd = null) { - if (value == null) dart.nullFailed(I[151], 26, 22, "value"); - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = false; - if (shouldAdd == null) shouldAdd = !dart.test(s.contains(value)); - if (dart.test(shouldAdd)) { - s.add(value); - result = true; - } else { - s.remove(value); - } - this.writeClasses(s); - return result; - } - get frozen() { - return false; - } - get iterator() { - return this.readClasses().iterator; - } - forEach(f) { - if (f == null) dart.nullFailed(I[151], 52, 21, "f"); - this.readClasses()[$forEach](f); - } - join(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[151], 58, 24, "f"); - return this.readClasses()[$map](T, f); - } - where(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[151], 62, 37, "f"); - return this.readClasses()[$expand](T, f); - } - every(f) { - if (f == null) dart.nullFailed(I[151], 65, 19, "f"); - return this.readClasses()[$every](f); - } - any(f) { - if (f == null) dart.nullFailed(I[151], 67, 17, "f"); - return this.readClasses()[$any](f); - } - get isEmpty() { - return this.readClasses()[$isEmpty]; - } - get isNotEmpty() { - return this.readClasses()[$isNotEmpty]; - } - get length() { - return this.readClasses()[$length]; - } - reduce(combine) { - T$0.StringAndStringToString().as(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[151], 79, 31, "combine"); - return this.readClasses()[$fold](T, initialValue, combine); - } - contains(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - return this.readClasses().contains(value); - } - lookup(value) { - return dart.test(this.contains(value)) ? core.String.as(value) : null; - } - add(value) { - let t222; - core.String.as(value); - if (value == null) dart.nullFailed(I[151], 107, 19, "value"); - this[S$3._validateToken](value); - 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())), t222 == null ? false : t222)); - } - remove(value) { - if (!(typeof value == 'string')) return false; - this[S$3._validateToken](value); - let s = this.readClasses(); - let result = s.remove(value); - this.writeClasses(s); - return result; - } - addAll(iterable) { - T$0.IterableOfString().as(iterable); - if (iterable == null) dart.nullFailed(I[151], 136, 32, "iterable"); - this.modify(dart.fn(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[151], 147, 36, "iterable"); - this.modify(dart.fn(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[151], 161, 35, "iterable"); - iterable[$forEach](dart.fn(e => { - if (e == null) dart.nullFailed(I[151], 162, 23, "e"); - return this.toggle(e, shouldAdd); - }, T$0.StringTovoid())); - } - retainAll(iterable) { - if (iterable == null) dart.nullFailed(I[151], 165, 36, "iterable"); - this.modify(dart.fn(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[151], 169, 25, "test"); - this.modify(dart.fn(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[151], 173, 25, "test"); - this.modify(dart.fn(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[151], 177, 38, "collection"); - return this.readClasses().containsAll(collection); - } - intersection(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[151], 183, 33, "other"); - return this.readClasses().union(other); - } - difference(other) { - if (other == null) dart.nullFailed(I[151], 185, 39, "other"); - return this.readClasses().difference(other); - } - get first() { - return this.readClasses()[$first]; - } - get last() { - return this.readClasses()[$last]; - } - get single() { - return this.readClasses()[$single]; - } - toList(opts) { - let growable = opts && 'growable' in opts ? opts.growable : true; - 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[151], 193, 29, "n"); - return this.readClasses()[$take](n); - } - takeWhile(test) { - if (test == null) dart.nullFailed(I[151], 194, 35, "test"); - return this.readClasses()[$takeWhile](test); - } - skip(n) { - if (n == null) dart.nullFailed(I[151], 196, 29, "n"); - return this.readClasses()[$skip](n); - } - skipWhile(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[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[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[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[151], 205, 24, "index"); - return this.readClasses()[$elementAt](index); - } - clear() { - this.modify(dart.fn(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[151], 222, 10, "f"); - let s = this.readClasses(); - let ret = f(s); - this.writeClasses(s); - return ret; - } -}; -(html_common.CssClassSetImpl.new = function() { - ; -}).prototype = html_common.CssClassSetImpl.prototype; -dart.addTypeTests(html_common.CssClassSetImpl); -dart.addTypeCaches(html_common.CssClassSetImpl); -html_common.CssClassSetImpl[dart.implements] = () => [html$.CssClassSet]; -dart.setMethodSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getMethods(html_common.CssClassSetImpl.__proto__), - [S$3._validateToken]: dart.fnType(core.String, [core.String]), - toggle: dart.fnType(core.bool, [core.String], [dart.nullable(core.bool)]), - map: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - [$map]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(T, [core.String])]], T => [dart.nullable(core.Object)]), - expand: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - [$expand]: dart.gFnType(T => [core.Iterable$(T), [dart.fnType(core.Iterable$(T), [core.String])]], T => [dart.nullable(core.Object)]), - fold: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - [$fold]: dart.gFnType(T => [T, [T, dart.fnType(T, [T, core.String])]], T => [dart.nullable(core.Object)]), - contains: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$contains]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - lookup: dart.fnType(dart.nullable(core.String), [dart.nullable(core.Object)]), - add: dart.fnType(core.bool, [dart.nullable(core.Object)]), - remove: dart.fnType(core.bool, [dart.nullable(core.Object)]), - toggleAll: dart.fnType(dart.void, [core.Iterable$(core.String)], [dart.nullable(core.bool)]), - toSet: dart.fnType(core.Set$(core.String), []), - [$toSet]: dart.fnType(core.Set$(core.String), []), - modify: dart.fnType(dart.dynamic, [dart.fnType(dart.dynamic, [core.Set$(core.String)])]) -})); -dart.setGetterSignature(html_common.CssClassSetImpl, () => ({ - __proto__: dart.getGetters(html_common.CssClassSetImpl.__proto__), - frozen: core.bool, - iterator: core.Iterator$(core.String), - [$iterator]: core.Iterator$(core.String), - length: core.int, - [$length]: core.int -})); -dart.setLibraryUri(html_common.CssClassSetImpl, I[152]); -dart.setStaticFieldSignature(html_common.CssClassSetImpl, () => ['_validTokenRE']); -dart.defineExtensionMethods(html_common.CssClassSetImpl, [ - 'toString', - 'forEach', - 'join', - 'map', - 'where', - 'expand', - 'every', - 'any', - 'reduce', - 'fold', - 'contains', - 'toList', - 'toSet', - 'take', - 'takeWhile', - 'skip', - 'skipWhile', - 'firstWhere', - 'lastWhere', - 'singleWhere', - 'elementAt' -]); -dart.defineExtensionAccessors(html_common.CssClassSetImpl, [ - 'iterator', - 'isEmpty', - 'isNotEmpty', - 'length', - 'first', - 'last', - 'single' -]); -dart.defineLazy(html_common.CssClassSetImpl, { - /*html_common.CssClassSetImpl._validTokenRE*/get _validTokenRE() { - return core.RegExp.new("^\\S+$"); - } -}, false); -html$._MultiElementCssClassSet = class _MultiElementCssClassSet extends html_common.CssClassSetImpl { - static new(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[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[149], 36784, 36, "e"); - return s.addAll(e.readClasses()); - }, T$0.CssClassSetImplTovoid())); - return s; - } - writeClasses(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[149], 36804, 10, "f"); - this[S$3._sets][$forEach](dart.fn(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[149], 36815, 22, "value"); - return this[S$3._sets][$fold](core.bool, false, dart.fn((changed, 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[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[149], 36780, 35, "_elementIterable"); - if (_sets == null) dart.nullFailed(I[149], 36780, 58, "_sets"); - this[S$0._elementIterable] = _elementIterable; - this[S$3._sets] = _sets; - ; -}).prototype = html$._MultiElementCssClassSet.prototype; -dart.addTypeTests(html$._MultiElementCssClassSet); -dart.addTypeCaches(html$._MultiElementCssClassSet); -dart.setMethodSignature(html$._MultiElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._MultiElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) -})); -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].className; - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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])); - } - get isEmpty() { - return this.length === 0; - } - get isNotEmpty() { - return this.length !== 0; - } - clear() { - this[S$1._element].className = ""; - } - contains(value) { - return html$._ElementCssClassSet._contains(this[S$1._element], value); - } - add(value) { - core.String.as(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], value)); - } - toggle(value, shouldAdd = null) { - 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[149], 36877, 32, "iterable"); - html$._ElementCssClassSet._addAll(this[S$1._element], iterable); - } - removeAll(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[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[149], 36889, 25, "test"); - html$._ElementCssClassSet._removeWhere(this[S$1._element], test, true); - } - retainWhere(test) { - 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[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[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[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[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[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 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((t222 = shouldAdd, t222 == null ? false : t222))) { - html$._ElementCssClassSet._classListAdd(list, value); - return true; - } else { - html$._ElementCssClassSet._classListRemove(list, value); - return false; - } - } - static _addAll(_element, 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[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[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))) { - let item = dart.nullCheck(list.item(i)); - if (doRemove == test(item)) { - html$._ElementCssClassSet._classListRemove(list, item); - } else { - i = i + 1; - } - } - } - static _classListOf(e) { - if (e == null) dart.nullFailed(I[149], 36979, 44, "e"); - return e.classList; - } - static _classListLength(list) { - if (list == null) dart.nullFailed(I[149], 36984, 44, "list"); - return list.length; - } - static _classListContains(list, 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[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[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[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[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[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[149], 36834, 28, "_element"); - this[S$1._element] = _element; - ; -}).prototype = html$._ElementCssClassSet.prototype; -dart.addTypeTests(html$._ElementCssClassSet); -dart.addTypeCaches(html$._ElementCssClassSet); -dart.setMethodSignature(html$._ElementCssClassSet, () => ({ - __proto__: dart.getMethods(html$._ElementCssClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set$(core.String)]) -})); -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]: 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]); - } - get value() { - return this[S$1._value$7]; - } -}; -(html$.Dimension.percent = function(_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[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[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[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[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[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[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[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[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[149], 37077, 24, "cssValue"); - this[S$3._unit] = ""; - this[S$1._value$7] = 0; - if (cssValue === "") cssValue = "0px"; - if (cssValue[$endsWith]("%")) { - this[S$3._unit] = "%"; - } else { - this[S$3._unit] = cssValue[$substring](cssValue.length - 2); - } - if (cssValue[$contains](".")) { - this[S$1._value$7] = core.double.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } else { - this[S$1._value$7] = core.int.parse(cssValue[$substring](0, cssValue.length - this[S$3._unit].length)); - } -}).prototype = html$.Dimension.prototype; -dart.addTypeTests(html$.Dimension); -dart.addTypeCaches(html$.Dimension); -dart.setGetterSignature(html$.Dimension, () => ({ - __proto__: dart.getGetters(html$.Dimension.__proto__), - value: core.num -})); -dart.setLibraryUri(html$.Dimension, I[150]); -dart.setFieldSignature(html$.Dimension, () => ({ - __proto__: dart.getFields(html$.Dimension.__proto__), - [S$1._value$7]: dart.fieldType(core.num), - [S$3._unit]: dart.fieldType(core.String) -})); -dart.defineExtensionMethods(html$.Dimension, ['toString']); -const _is_EventStreamProvider_default = Symbol('_is_EventStreamProvider_default'); -html$.EventStreamProvider$ = dart.generic(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]; - } - 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[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[149], 37166, 39, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37185, 57, "e"); - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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[149], 37197, 35, "target"); - return this[S$3._eventType$1]; - } - } - (EventStreamProvider.new = function(_eventType) { - if (_eventType == null) dart.nullFailed(I[149], 37117, 34, "_eventType"); - this[S$3._eventType] = _eventType; - ; - }).prototype = EventStreamProvider.prototype; - dart.addTypeTests(EventStreamProvider); - EventStreamProvider.prototype[_is_EventStreamProvider_default] = true; - dart.addTypeCaches(EventStreamProvider); - dart.setMethodSignature(EventStreamProvider, () => ({ - __proto__: dart.getMethods(EventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [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[150]); - dart.setFieldSignature(EventStreamProvider, () => ({ - __proto__: dart.getFields(EventStreamProvider.__proto__), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return EventStreamProvider; -}); -html$.EventStreamProvider = html$.EventStreamProvider$(); -dart.addTypeTests(html$.EventStreamProvider, _is_EventStreamProvider_default); -const _is_ElementStream_default = Symbol('_is_ElementStream_default'); -html$.ElementStream$ = dart.generic(T => { - class ElementStream extends core.Object {} - (ElementStream.new = function() { - ; - }).prototype = ElementStream.prototype; - ElementStream.prototype[dart.isStream] = true; - dart.addTypeTests(ElementStream); - ElementStream.prototype[_is_ElementStream_default] = true; - dart.addTypeCaches(ElementStream); - ElementStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - return this; - } - get isBroadcast() { - return true; - } - 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; - 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[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; - _EventStream.__proto__.new.call(this); - ; - }).prototype = _EventStream.prototype; - dart.addTypeTests(_EventStream); - _EventStream.prototype[_is__EventStream_default] = true; - dart.addTypeCaches(_EventStream); - dart.setMethodSignature(_EventStream, () => ({ - __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[150]); - dart.setFieldSignature(_EventStream, () => ({ - __proto__: dart.getFields(_EventStream.__proto__), - [S$3._target$2]: dart.finalFieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStream; -}); -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 __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[149], 37270, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37271, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37271, 74, "e"); - e[S._selector] = selector; - return e; - }, __t$TToT())); - } - capture(onData) { - 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) { - _ElementEventStreamImpl.__proto__.new.call(this, T$0.EventTargetN().as(target), core.String.as(eventType), core.bool.as(useCapture)); - ; - }).prototype = _ElementEventStreamImpl.prototype; - dart.addTypeTests(_ElementEventStreamImpl); - _ElementEventStreamImpl.prototype[_is__ElementEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementEventStreamImpl); - _ElementEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - capture: dart.fnType(async.StreamSubscription$(T), [dart.fnType(dart.void, [T])]) - })); - 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 __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[149], 37294, 28, "selector"); - return this.where(dart.fn(event => { - if (event == null) dart.nullFailed(I[149], 37295, 19, "event"); - return html$._matchesWithAncestors(event, selector); - }, __t$TTobool())).map(T, dart.fn(e => { - if (e == null) dart.nullFailed(I[149], 37295, 74, "e"); - e[S._selector] = selector; - return e; - }, __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 (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - 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[149], 37311, 38, "onData"); - let pool = new (__t$_StreamPoolOfT()).broadcast(); - for (let target of this[S$3._targetList]) { - pool.add(new (__t$_EventStreamOfT()).new(target, this[S$3._eventType$1], true)); - } - return pool.stream.listen(onData); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this; - } - get isBroadcast() { - return true; - } - } - (_ElementListEventStreamImpl.new = function(_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"); - this[S$3._targetList] = _targetList; - this[S$3._eventType$1] = _eventType; - this[S$3._useCapture] = _useCapture; - _ElementListEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _ElementListEventStreamImpl.prototype; - dart.addTypeTests(_ElementListEventStreamImpl); - _ElementListEventStreamImpl.prototype[_is__ElementListEventStreamImpl_default] = true; - dart.addTypeCaches(_ElementListEventStreamImpl); - _ElementListEventStreamImpl[dart.implements] = () => [html$.ElementStream$(T)]; - dart.setMethodSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getMethods(_ElementListEventStreamImpl.__proto__), - matches: dart.fnType(async.Stream$(T), [core.String]), - 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[150]); - dart.setFieldSignature(_ElementListEventStreamImpl, () => ({ - __proto__: dart.getFields(_ElementListEventStreamImpl.__proto__), - [S$3._targetList]: dart.finalFieldType(core.Iterable$(html$.Element)), - [S$3._useCapture]: dart.finalFieldType(core.bool), - [S$3._eventType$1]: dart.finalFieldType(core.String) - })); - return _ElementListEventStreamImpl; -}); -html$._ElementListEventStreamImpl = html$._ElementListEventStreamImpl$(); -dart.addTypeTests(html$._ElementListEventStreamImpl, _is__ElementListEventStreamImpl_default); -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](); - this[S$3._target$2] = null; - this[S$3._onData$3] = null; - return _internal.nullFuture; - } - get [S$3._canceled]() { - return this[S$3._target$2] == null; - } - onData(handleData) { - if (dart.test(this[S$3._canceled])) { - dart.throw(new core.StateError.new("Subscription has been canceled.")); - } - 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[149], 37367, 29, "e"); - return dart.dcall(handleData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - } - onError(handleError) { - } - onDone(handleDone) { - } - pause(resumeSignal = null) { - if (dart.test(this[S$3._canceled])) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) + 1; - this[S$3._unlisten](); - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - get isPaused() { - return dart.notNull(this[S$3._pauseCount$1]) > 0; - } - resume() { - if (dart.test(this[S$3._canceled]) || !dart.test(this.isPaused)) return; - this[S$3._pauseCount$1] = dart.notNull(this[S$3._pauseCount$1]) - 1; - this[S$3._tryResume](); - } - [S$3._tryResume]() { - if (this[S$3._onData$3] != null && !dart.test(this.isPaused)) { - dart.nullCheck(this[S$3._target$2])[S.$addEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - [S$3._unlisten]() { - if (this[S$3._onData$3] != null) { - dart.nullCheck(this[S$3._target$2])[S.$removeEventListener](this[S$3._eventType$1], this[S$3._onData$3], this[S$3._useCapture]); - } - } - asFuture(E, futureValue = null) { - let completer = async.Completer$(E).new(); - return completer.future; - } - } - (_EventStreamSubscription.new = function(_target, _eventType, onData, _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[149], 37340, 33, "e"); - return dart.dcall(onData, [e]); - }, T$0.EventTovoid())); - this[S$3._tryResume](); - }).prototype = _EventStreamSubscription.prototype; - dart.addTypeTests(_EventStreamSubscription); - _EventStreamSubscription.prototype[_is__EventStreamSubscription_default] = true; - dart.addTypeCaches(_EventStreamSubscription); - dart.setMethodSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getMethods(_EventStreamSubscription.__proto__), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [T]))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [S$3._tryResume]: dart.fnType(dart.void, []), - [S$3._unlisten]: dart.fnType(dart.void, []), - asFuture: dart.gFnType(E => [async.Future$(E), [], [dart.nullable(E)]], E => [dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getGetters(_EventStreamSubscription.__proto__), - [S$3._canceled]: core.bool, - isPaused: core.bool - })); - dart.setLibraryUri(_EventStreamSubscription, I[150]); - dart.setFieldSignature(_EventStreamSubscription, () => ({ - __proto__: dart.getFields(_EventStreamSubscription.__proto__), - [S$3._pauseCount$1]: dart.fieldType(core.int), - [S$3._target$2]: dart.fieldType(dart.nullable(html$.EventTarget)), - [S$3._eventType$1]: dart.finalFieldType(core.String), - [S$3._onData$3]: dart.fieldType(dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))), - [S$3._useCapture]: dart.finalFieldType(core.bool) - })); - return _EventStreamSubscription; -}); -html$._EventStreamSubscription = html$._EventStreamSubscription$(); -dart.addTypeTests(html$._EventStreamSubscription, _is__EventStreamSubscription_default); -const _is_CustomStream_default = Symbol('_is_CustomStream_default'); -html$.CustomStream$ = dart.generic(T => { - class CustomStream extends core.Object {} - (CustomStream.new = function() { - ; - }).prototype = CustomStream.prototype; - CustomStream.prototype[dart.isStream] = true; - dart.addTypeTests(CustomStream); - CustomStream.prototype[_is_CustomStream_default] = true; - dart.addTypeCaches(CustomStream); - CustomStream[dart.implements] = () => [async.Stream$(T)]; - 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 __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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[S$3._streamController].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - asBroadcastStream(opts) { - let onListen = opts && 'onListen' in opts ? opts.onListen : null; - let onCancel = opts && 'onCancel' in opts ? opts.onCancel : null; - return this[S$3._streamController].stream; - } - get isBroadcast() { - return true; - } - add(event) { - T.as(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[149], 37432, 33, "type"); - this[S$3._type$5] = type; - this[S$3._streamController] = __t$StreamControllerOfT().broadcast({sync: true}); - _CustomEventStreamImpl.__proto__.new.call(this); - ; - }).prototype = _CustomEventStreamImpl.prototype; - dart.addTypeTests(_CustomEventStreamImpl); - _CustomEventStreamImpl.prototype[_is__CustomEventStreamImpl_default] = true; - dart.addTypeCaches(_CustomEventStreamImpl); - _CustomEventStreamImpl[dart.implements] = () => [html$.CustomStream$(T)]; - dart.setMethodSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getMethods(_CustomEventStreamImpl.__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)}, {}), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]) - })); - dart.setLibraryUri(_CustomEventStreamImpl, I[150]); - dart.setFieldSignature(_CustomEventStreamImpl, () => ({ - __proto__: dart.getFields(_CustomEventStreamImpl.__proto__), - [S$3._streamController]: dart.fieldType(async.StreamController$(T)), - [S$3._type$5]: dart.fieldType(core.String) - })); - return _CustomEventStreamImpl; -}); -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]; - } - get charCode() { - return this.type === "keypress" ? this[S$3._shadowCharCode] : 0; - } - get altKey() { - return this[S$3._shadowAltKey]; - } - get which() { - return this.keyCode; - } - get [S$3._realKeyCode]() { - return this[S$3._parent$2].keyCode; - } - get [S$3._realCharCode]() { - return this[S$3._parent$2].charCode; - } - get [S$3._realAltKey]() { - return this[S$3._parent$2].altKey; - } - get sourceCapabilities() { - return this.sourceCapabilities; - } - static _makeRecord() { - 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[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; - if (view == null) { - view = html$.window; - } - let eventObj = null; - eventObj = html$.KeyboardEvent.as(html$.Event.eventType("KeyboardEvent", type, {canBubble: canBubble, cancelable: cancelable})); - Object.defineProperty(eventObj, 'keyCode', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'which', { - get: function() { - return this.keyCodeVal; - } - }); - Object.defineProperty(eventObj, 'charCode', { - get: function() { - return this.charCodeVal; - } - }); - let keyIdentifier = html$.KeyEvent._convertToHexString(charCode, keyCode); - 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(eventObj); - if (keyEvent[S$3._currentTarget] == null) { - keyEvent[S$3._currentTarget] = currentTarget == null ? html$.window : currentTarget; - } - return keyEvent; - } - static get canUseDispatchEvent() { - return typeof document.body.dispatchEvent == "function" && document.body.dispatchEvent.length > 0; - } - get currentTarget() { - return this[S$3._currentTarget]; - } - static _convertToHexString(charCode, 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+"); - for (let i = 0; i < 4 - hex.length; i = i + 1) - sb.write("0"); - sb.write(hex); - return sb.toString(); - } else { - return html$.KeyCode._convertKeyCodeToKeyName(keyCode); - } - } - get code() { - return dart.nullCheck(this[S$3._parent$2].code); - } - get ctrlKey() { - return this[S$3._parent$2].ctrlKey; - } - get detail() { - return dart.nullCheck(this[S$3._parent$2].detail); - } - get isComposing() { - return dart.nullCheck(this[S$3._parent$2].isComposing); - } - get key() { - return dart.nullCheck(this[S$3._parent$2].key); - } - get location() { - return this[S$3._parent$2].location; - } - get metaKey() { - return this[S$3._parent$2].metaKey; - } - get shiftKey() { - return this[S$3._parent$2].shiftKey; - } - get view() { - return this[S$3._parent$2][S$.$view]; - } - [S$._initUIEvent](type, canBubble, cancelable, view, 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]() { - return this[S$3._parent$2].keyIdentifier; - } - get [S$1._charCode]() { - return this.charCode; - } - get [S$1._keyCode]() { - return this.keyCode; - } - get [S$._which]() { - return this.which; - } - get [S$3._keyIdentifier]() { - 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[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[149], 40723, 32, "keyArgument"); - return dart.throw(new core.UnimplementedError.new()); - } - get repeat() { - return dart.throw(new core.UnimplementedError.new()); - } - get isComposed() { - return dart.throw(new core.UnimplementedError.new()); - } - get [S$._get_view]() { - return dart.throw(new core.UnimplementedError.new()); - } -}; -(html$.KeyEvent.wrap = function(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; - this[S$3._shadowCharCode] = 0; - this[S$3._shadowKeyCode] = 0; - html$.KeyEvent.__proto__.new.call(this, parent); - this[S$3._parent$2] = parent; - this[S$3._shadowAltKey] = this[S$3._realAltKey]; - this[S$3._shadowCharCode] = this[S$3._realCharCode]; - this[S$3._shadowKeyCode] = this[S$3._realKeyCode]; - this[S$3._currentTarget] = this[S$3._parent$2][S.$currentTarget]; -}).prototype = html$.KeyEvent.prototype; -dart.addTypeTests(html$.KeyEvent); -dart.addTypeCaches(html$.KeyEvent); -html$.KeyEvent[dart.implements] = () => [html$.KeyboardEvent]; -dart.setMethodSignature(html$.KeyEvent, () => ({ - __proto__: dart.getMethods(html$.KeyEvent.__proto__), - [S$._initUIEvent]: dart.fnType(dart.void, [core.String, core.bool, core.bool, dart.nullable(html$.Window), core.int]), - [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]), - 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, - [S$1.$keyCode]: core.int, - charCode: core.int, - [S$1.$charCode]: core.int, - altKey: core.bool, - [S$1.$altKey]: core.bool, - which: core.int, - [S$1.$which]: core.int, - [S$3._realKeyCode]: core.int, - [S$3._realCharCode]: core.int, - [S$3._realAltKey]: core.bool, - sourceCapabilities: dart.nullable(html$.InputDeviceCapabilities), - [S$.$sourceCapabilities]: dart.nullable(html$.InputDeviceCapabilities), - code: core.String, - [S$.$code]: core.String, - ctrlKey: core.bool, - [S$1.$ctrlKey]: core.bool, - detail: core.int, - [S$.$detail]: core.int, - isComposing: core.bool, - [S$1.$isComposing]: core.bool, - key: core.String, - [S.$key]: core.String, - location: core.int, - [S$0.$location]: core.int, - metaKey: core.bool, - [S$1.$metaKey]: core.bool, - shiftKey: core.bool, - [S$1.$shiftKey]: core.bool, - view: dart.nullable(html$.WindowBase), - [S$.$view]: dart.nullable(html$.WindowBase), - [S$3._shadowKeyIdentifier]: core.String, - [S$1._charCode]: core.int, - [S$1._keyCode]: core.int, - [S$._which]: core.int, - [S$3._keyIdentifier]: core.String, - repeat: core.bool, - [S$1.$repeat]: core.bool, - isComposed: core.bool, - [S$._get_view]: dart.dynamic -})); -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), - [S$3._shadowAltKey]: dart.fieldType(core.bool), - [S$3._shadowCharCode]: dart.fieldType(core.int), - [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', - 'charCode', - 'altKey', - 'which', - 'sourceCapabilities', - 'currentTarget', - 'code', - 'ctrlKey', - 'detail', - 'isComposing', - 'key', - 'location', - 'metaKey', - 'shiftKey', - 'view', - 'repeat' -]); -dart.defineLazy(html$.KeyEvent, { - /*html$.KeyEvent._keyboardEventDispatchRecord*/get _keyboardEventDispatchRecord() { - return html$.KeyEvent._makeRecord(); - }, - /*html$.KeyEvent.keyDownEvent*/get keyDownEvent() { - return new html$._KeyboardEventHandler.new("keydown"); - }, - 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(value) { - if (value == null) dart.nullFailed(I[149], 40670, 40, "keyUpEvent"); - }, - /*html$.KeyEvent.keyPressEvent*/get keyPressEvent() { - return new html$._KeyboardEventHandler.new("keypress"); - }, - 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[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); - } - } -}; -(html$._CustomKeyEventStreamImpl.new = function(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[150]); -const _is__StreamPool_default = Symbol('_is__StreamPool_default'); -html$._StreamPool$ = dart.generic(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) { - __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(__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) { - __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(); - } - close() { - for (let subscription of this[S$3._subscriptions][$values]) { - subscription.cancel(); - } - this[S$3._subscriptions][$clear](); - dart.nullCheck(this[S$3._controller$2]).close(); - } - } - (_StreamPool.broadcast = function() { - this[S$3._controller$2] = null; - 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; - dart.addTypeCaches(_StreamPool); - dart.setMethodSignature(_StreamPool, () => ({ - __proto__: dart.getMethods(_StreamPool.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) - })); - dart.setGetterSignature(_StreamPool, () => ({ - __proto__: dart.getGetters(_StreamPool.__proto__), - stream: async.Stream$(T) - })); - dart.setLibraryUri(_StreamPool, I[150]); - dart.setFieldSignature(_StreamPool, () => ({ - __proto__: dart.getFields(_StreamPool.__proto__), - [S$3._controller$2]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [S$3._subscriptions]: dart.fieldType(core.Map$(async.Stream$(T), async.StreamSubscription$(T))) - })); - return _StreamPool; -}); -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 __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]; - } - 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 t222; - let useCapture = opts && 'useCapture' in opts ? opts.useCapture : false; - 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 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[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 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[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 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.")); - } - } - (_CustomEventStreamProvider.new = function(_eventTypeGetter) { - this[S$3._eventTypeGetter] = _eventTypeGetter; - ; - }).prototype = _CustomEventStreamProvider.prototype; - dart.addTypeTests(_CustomEventStreamProvider); - _CustomEventStreamProvider.prototype[_is__CustomEventStreamProvider_default] = true; - dart.addTypeCaches(_CustomEventStreamProvider); - _CustomEventStreamProvider[dart.implements] = () => [html$.EventStreamProvider$(T)]; - dart.setMethodSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getMethods(_CustomEventStreamProvider.__proto__), - forTarget: dart.fnType(async.Stream$(T), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - forElement: dart.fnType(html$.ElementStream$(T), [html$.Element], {useCapture: core.bool}, {}), - [S$1._forElementList]: dart.fnType(html$.ElementStream$(T), [html$.ElementList$(html$.Element)], {useCapture: core.bool}, {}), - getEventType: dart.fnType(core.String, [html$.EventTarget]) - })); - dart.setGetterSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getGetters(_CustomEventStreamProvider.__proto__), - [S$3._eventType$1]: core.String - })); - dart.setLibraryUri(_CustomEventStreamProvider, I[150]); - dart.setFieldSignature(_CustomEventStreamProvider, () => ({ - __proto__: dart.getFields(_CustomEventStreamProvider.__proto__), - [S$3._eventTypeGetter$1]: dart.finalFieldType(dart.dynamic) - })); - return _CustomEventStreamProvider; -}); -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[149], 37975, 30, "element"); - return html$._Html5NodeValidator._allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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) { - validator = html$._Html5NodeValidator._attributeValidators[$_get]("*::" + dart.str(attributeName)); - } - if (validator == null) { - return false; - } - return core.bool.as(dart.dcall(validator, [element, attributeName, value, this])); - } - static _standardAttributeValidator(element, attributeName, value, 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[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 t222; - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - 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[410] || CT.C410); - } - for (let attr of html$._Html5NodeValidator._uriAttributes) { - html$._Html5NodeValidator._attributeValidators[$_set](attr, C[411] || CT.C411); - } - } -}).prototype = html$._Html5NodeValidator.prototype; -dart.addTypeTests(html$._Html5NodeValidator); -dart.addTypeCaches(html$._Html5NodeValidator); -html$._Html5NodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._Html5NodeValidator, () => ({ - __proto__: dart.getMethods(html$._Html5NodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[412] || CT.C412; - }, - /*html$._Html5NodeValidator._uriAttributes*/get _uriAttributes() { - return C[413] || CT.C413; - }, - /*html$._Html5NodeValidator._attributeValidators*/get _attributeValidators() { - return new (T$0.IdentityMapOfString$Function()).new(); - } -}, false); -html$.KeyCode = class KeyCode extends core.Object { - static isCharacterKey(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; - } - if (dart.test(html_common.Device.isWebKit) && keyCode === 0) { - return true; - } - 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[149], 38323, 46, "keyCode"); - switch (keyCode) { - case 18: - { - return "Alt"; - } - case 8: - { - return "Backspace"; - } - case 20: - { - return "CapsLock"; - } - case 17: - { - return "Control"; - } - case 46: - { - return "Del"; - } - case 40: - { - return "Down"; - } - case 35: - { - return "End"; - } - case 13: - { - return "Enter"; - } - case 27: - { - return "Esc"; - } - case 112: - { - return "F1"; - } - case 113: - { - return "F2"; - } - case 114: - { - return "F3"; - } - case 115: - { - return "F4"; - } - case 116: - { - return "F5"; - } - case 117: - { - return "F6"; - } - case 118: - { - return "F7"; - } - case 119: - { - return "F8"; - } - case 120: - { - return "F9"; - } - case 121: - { - return "F10"; - } - case 122: - { - return "F11"; - } - case 123: - { - return "F12"; - } - case 36: - { - return "Home"; - } - case 45: - { - return "Insert"; - } - case 37: - { - return "Left"; - } - case 91: - { - return "Meta"; - } - case 144: - { - return "NumLock"; - } - case 34: - { - return "PageDown"; - } - case 33: - { - return "PageUp"; - } - case 19: - { - return "Pause"; - } - case 44: - { - return "PrintScreen"; - } - case 39: - { - return "Right"; - } - case 145: - { - return "Scroll"; - } - case 16: - { - return "Shift"; - } - case 32: - { - return "Spacebar"; - } - case 9: - { - return "Tab"; - } - case 38: - { - return "Up"; - } - case 229: - case 224: - case 91: - case 92: - { - return "Win"; - } - default: - { - return "Unidentified"; - } - } - return "Unidentified"; - } -}; -(html$.KeyCode.new = function() { - ; -}).prototype = html$.KeyCode.prototype; -dart.addTypeTests(html$.KeyCode); -dart.addTypeCaches(html$.KeyCode); -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; - }, - /*html$.KeyCode.MAC_ENTER*/get MAC_ENTER() { - return 3; - }, - /*html$.KeyCode.BACKSPACE*/get BACKSPACE() { - return 8; - }, - /*html$.KeyCode.TAB*/get TAB() { - return 9; - }, - /*html$.KeyCode.NUM_CENTER*/get NUM_CENTER() { - return 12; - }, - /*html$.KeyCode.ENTER*/get ENTER() { - return 13; - }, - /*html$.KeyCode.SHIFT*/get SHIFT() { - return 16; - }, - /*html$.KeyCode.CTRL*/get CTRL() { - return 17; - }, - /*html$.KeyCode.ALT*/get ALT() { - return 18; - }, - /*html$.KeyCode.PAUSE*/get PAUSE() { - return 19; - }, - /*html$.KeyCode.CAPS_LOCK*/get CAPS_LOCK() { - return 20; - }, - /*html$.KeyCode.ESC*/get ESC() { - return 27; - }, - /*html$.KeyCode.SPACE*/get SPACE() { - return 32; - }, - /*html$.KeyCode.PAGE_UP*/get PAGE_UP() { - return 33; - }, - /*html$.KeyCode.PAGE_DOWN*/get PAGE_DOWN() { - return 34; - }, - /*html$.KeyCode.END*/get END() { - return 35; - }, - /*html$.KeyCode.HOME*/get HOME() { - return 36; - }, - /*html$.KeyCode.LEFT*/get LEFT() { - return 37; - }, - /*html$.KeyCode.UP*/get UP() { - return 38; - }, - /*html$.KeyCode.RIGHT*/get RIGHT() { - return 39; - }, - /*html$.KeyCode.DOWN*/get DOWN() { - return 40; - }, - /*html$.KeyCode.NUM_NORTH_EAST*/get NUM_NORTH_EAST() { - return 33; - }, - /*html$.KeyCode.NUM_SOUTH_EAST*/get NUM_SOUTH_EAST() { - return 34; - }, - /*html$.KeyCode.NUM_SOUTH_WEST*/get NUM_SOUTH_WEST() { - return 35; - }, - /*html$.KeyCode.NUM_NORTH_WEST*/get NUM_NORTH_WEST() { - return 36; - }, - /*html$.KeyCode.NUM_WEST*/get NUM_WEST() { - return 37; - }, - /*html$.KeyCode.NUM_NORTH*/get NUM_NORTH() { - return 38; - }, - /*html$.KeyCode.NUM_EAST*/get NUM_EAST() { - return 39; - }, - /*html$.KeyCode.NUM_SOUTH*/get NUM_SOUTH() { - return 40; - }, - /*html$.KeyCode.PRINT_SCREEN*/get PRINT_SCREEN() { - return 44; - }, - /*html$.KeyCode.INSERT*/get INSERT() { - return 45; - }, - /*html$.KeyCode.NUM_INSERT*/get NUM_INSERT() { - return 45; - }, - /*html$.KeyCode.DELETE*/get DELETE() { - return 46; - }, - /*html$.KeyCode.NUM_DELETE*/get NUM_DELETE() { - return 46; - }, - /*html$.KeyCode.ZERO*/get ZERO() { - return 48; - }, - /*html$.KeyCode.ONE*/get ONE() { - return 49; - }, - /*html$.KeyCode.TWO*/get TWO() { - return 50; - }, - /*html$.KeyCode.THREE*/get THREE() { - return 51; - }, - /*html$.KeyCode.FOUR*/get FOUR() { - return 52; - }, - /*html$.KeyCode.FIVE*/get FIVE() { - return 53; - }, - /*html$.KeyCode.SIX*/get SIX() { - return 54; - }, - /*html$.KeyCode.SEVEN*/get SEVEN() { - return 55; - }, - /*html$.KeyCode.EIGHT*/get EIGHT() { - return 56; - }, - /*html$.KeyCode.NINE*/get NINE() { - return 57; - }, - /*html$.KeyCode.FF_SEMICOLON*/get FF_SEMICOLON() { - return 59; - }, - /*html$.KeyCode.FF_EQUALS*/get FF_EQUALS() { - return 61; - }, - /*html$.KeyCode.QUESTION_MARK*/get QUESTION_MARK() { - return 63; - }, - /*html$.KeyCode.A*/get A() { - return 65; - }, - /*html$.KeyCode.B*/get B() { - return 66; - }, - /*html$.KeyCode.C*/get C() { - return 67; - }, - /*html$.KeyCode.D*/get D() { - return 68; - }, - /*html$.KeyCode.E*/get E() { - return 69; - }, - /*html$.KeyCode.F*/get F() { - return 70; - }, - /*html$.KeyCode.G*/get G() { - return 71; - }, - /*html$.KeyCode.H*/get H() { - return 72; - }, - /*html$.KeyCode.I*/get I() { - return 73; - }, - /*html$.KeyCode.J*/get J() { - return 74; - }, - /*html$.KeyCode.K*/get K() { - return 75; - }, - /*html$.KeyCode.L*/get L() { - return 76; - }, - /*html$.KeyCode.M*/get M() { - return 77; - }, - /*html$.KeyCode.N*/get N() { - return 78; - }, - /*html$.KeyCode.O*/get O() { - return 79; - }, - /*html$.KeyCode.P*/get P() { - return 80; - }, - /*html$.KeyCode.Q*/get Q() { - return 81; - }, - /*html$.KeyCode.R*/get R() { - return 82; - }, - /*html$.KeyCode.S*/get S() { - return 83; - }, - /*html$.KeyCode.T*/get T() { - return 84; - }, - /*html$.KeyCode.U*/get U() { - return 85; - }, - /*html$.KeyCode.V*/get V() { - return 86; - }, - /*html$.KeyCode.W*/get W() { - return 87; - }, - /*html$.KeyCode.X*/get X() { - return 88; - }, - /*html$.KeyCode.Y*/get Y() { - return 89; - }, - /*html$.KeyCode.Z*/get Z() { - return 90; - }, - /*html$.KeyCode.META*/get META() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_LEFT*/get WIN_KEY_LEFT() { - return 91; - }, - /*html$.KeyCode.WIN_KEY_RIGHT*/get WIN_KEY_RIGHT() { - return 92; - }, - /*html$.KeyCode.CONTEXT_MENU*/get CONTEXT_MENU() { - return 93; - }, - /*html$.KeyCode.NUM_ZERO*/get NUM_ZERO() { - return 96; - }, - /*html$.KeyCode.NUM_ONE*/get NUM_ONE() { - return 97; - }, - /*html$.KeyCode.NUM_TWO*/get NUM_TWO() { - return 98; - }, - /*html$.KeyCode.NUM_THREE*/get NUM_THREE() { - return 99; - }, - /*html$.KeyCode.NUM_FOUR*/get NUM_FOUR() { - return 100; - }, - /*html$.KeyCode.NUM_FIVE*/get NUM_FIVE() { - return 101; - }, - /*html$.KeyCode.NUM_SIX*/get NUM_SIX() { - return 102; - }, - /*html$.KeyCode.NUM_SEVEN*/get NUM_SEVEN() { - return 103; - }, - /*html$.KeyCode.NUM_EIGHT*/get NUM_EIGHT() { - return 104; - }, - /*html$.KeyCode.NUM_NINE*/get NUM_NINE() { - return 105; - }, - /*html$.KeyCode.NUM_MULTIPLY*/get NUM_MULTIPLY() { - return 106; - }, - /*html$.KeyCode.NUM_PLUS*/get NUM_PLUS() { - return 107; - }, - /*html$.KeyCode.NUM_MINUS*/get NUM_MINUS() { - return 109; - }, - /*html$.KeyCode.NUM_PERIOD*/get NUM_PERIOD() { - return 110; - }, - /*html$.KeyCode.NUM_DIVISION*/get NUM_DIVISION() { - return 111; - }, - /*html$.KeyCode.F1*/get F1() { - return 112; - }, - /*html$.KeyCode.F2*/get F2() { - return 113; - }, - /*html$.KeyCode.F3*/get F3() { - return 114; - }, - /*html$.KeyCode.F4*/get F4() { - return 115; - }, - /*html$.KeyCode.F5*/get F5() { - return 116; - }, - /*html$.KeyCode.F6*/get F6() { - return 117; - }, - /*html$.KeyCode.F7*/get F7() { - return 118; - }, - /*html$.KeyCode.F8*/get F8() { - return 119; - }, - /*html$.KeyCode.F9*/get F9() { - return 120; - }, - /*html$.KeyCode.F10*/get F10() { - return 121; - }, - /*html$.KeyCode.F11*/get F11() { - return 122; - }, - /*html$.KeyCode.F12*/get F12() { - return 123; - }, - /*html$.KeyCode.NUMLOCK*/get NUMLOCK() { - return 144; - }, - /*html$.KeyCode.SCROLL_LOCK*/get SCROLL_LOCK() { - return 145; - }, - /*html$.KeyCode.FIRST_MEDIA_KEY*/get FIRST_MEDIA_KEY() { - return 166; - }, - /*html$.KeyCode.LAST_MEDIA_KEY*/get LAST_MEDIA_KEY() { - return 183; - }, - /*html$.KeyCode.SEMICOLON*/get SEMICOLON() { - return 186; - }, - /*html$.KeyCode.DASH*/get DASH() { - return 189; - }, - /*html$.KeyCode.EQUALS*/get EQUALS() { - return 187; - }, - /*html$.KeyCode.COMMA*/get COMMA() { - return 188; - }, - /*html$.KeyCode.PERIOD*/get PERIOD() { - return 190; - }, - /*html$.KeyCode.SLASH*/get SLASH() { - return 191; - }, - /*html$.KeyCode.APOSTROPHE*/get APOSTROPHE() { - return 192; - }, - /*html$.KeyCode.TILDE*/get TILDE() { - return 192; - }, - /*html$.KeyCode.SINGLE_QUOTE*/get SINGLE_QUOTE() { - return 222; - }, - /*html$.KeyCode.OPEN_SQUARE_BRACKET*/get OPEN_SQUARE_BRACKET() { - return 219; - }, - /*html$.KeyCode.BACKSLASH*/get BACKSLASH() { - return 220; - }, - /*html$.KeyCode.CLOSE_SQUARE_BRACKET*/get CLOSE_SQUARE_BRACKET() { - return 221; - }, - /*html$.KeyCode.WIN_KEY*/get WIN_KEY() { - return 224; - }, - /*html$.KeyCode.MAC_FF_META*/get MAC_FF_META() { - return 224; - }, - /*html$.KeyCode.WIN_IME*/get WIN_IME() { - return 229; - }, - /*html$.KeyCode.UNKNOWN*/get UNKNOWN() { - return -1; - } -}, false); -html$.KeyLocation = class KeyLocation extends core.Object {}; -(html$.KeyLocation.new = function() { - ; -}).prototype = html$.KeyLocation.prototype; -dart.addTypeTests(html$.KeyLocation); -dart.addTypeCaches(html$.KeyLocation); -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; - }, - /*html$.KeyLocation.LEFT*/get LEFT() { - return 1; - }, - /*html$.KeyLocation.RIGHT*/get RIGHT() { - return 2; - }, - /*html$.KeyLocation.NUMPAD*/get NUMPAD() { - return 3; - }, - /*html$.KeyLocation.MOBILE*/get MOBILE() { - return 4; - }, - /*html$.KeyLocation.JOYSTICK*/get JOYSTICK() { - return 5; - } -}, false); -html$._KeyName = class _KeyName extends core.Object {}; -(html$._KeyName.new = function() { - ; -}).prototype = html$._KeyName.prototype; -dart.addTypeTests(html$._KeyName); -dart.addTypeCaches(html$._KeyName); -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"; - }, - /*html$._KeyName.ADD*/get ADD() { - return "Add"; - }, - /*html$._KeyName.AGAIN*/get AGAIN() { - return "Again"; - }, - /*html$._KeyName.ALL_CANDIDATES*/get ALL_CANDIDATES() { - return "AllCandidates"; - }, - /*html$._KeyName.ALPHANUMERIC*/get ALPHANUMERIC() { - return "Alphanumeric"; - }, - /*html$._KeyName.ALT*/get ALT() { - return "Alt"; - }, - /*html$._KeyName.ALT_GRAPH*/get ALT_GRAPH() { - return "AltGraph"; - }, - /*html$._KeyName.APPS*/get APPS() { - return "Apps"; - }, - /*html$._KeyName.ATTN*/get ATTN() { - return "Attn"; - }, - /*html$._KeyName.BROWSER_BACK*/get BROWSER_BACK() { - return "BrowserBack"; - }, - /*html$._KeyName.BROWSER_FAVORTIES*/get BROWSER_FAVORTIES() { - return "BrowserFavorites"; - }, - /*html$._KeyName.BROWSER_FORWARD*/get BROWSER_FORWARD() { - return "BrowserForward"; - }, - /*html$._KeyName.BROWSER_NAME*/get BROWSER_NAME() { - return "BrowserHome"; - }, - /*html$._KeyName.BROWSER_REFRESH*/get BROWSER_REFRESH() { - return "BrowserRefresh"; - }, - /*html$._KeyName.BROWSER_SEARCH*/get BROWSER_SEARCH() { - return "BrowserSearch"; - }, - /*html$._KeyName.BROWSER_STOP*/get BROWSER_STOP() { - return "BrowserStop"; - }, - /*html$._KeyName.CAMERA*/get CAMERA() { - return "Camera"; - }, - /*html$._KeyName.CAPS_LOCK*/get CAPS_LOCK() { - return "CapsLock"; - }, - /*html$._KeyName.CLEAR*/get CLEAR() { - return "Clear"; - }, - /*html$._KeyName.CODE_INPUT*/get CODE_INPUT() { - return "CodeInput"; - }, - /*html$._KeyName.COMPOSE*/get COMPOSE() { - return "Compose"; - }, - /*html$._KeyName.CONTROL*/get CONTROL() { - return "Control"; - }, - /*html$._KeyName.CRSEL*/get CRSEL() { - return "Crsel"; - }, - /*html$._KeyName.CONVERT*/get CONVERT() { - return "Convert"; - }, - /*html$._KeyName.COPY*/get COPY() { - return "Copy"; - }, - /*html$._KeyName.CUT*/get CUT() { - return "Cut"; - }, - /*html$._KeyName.DECIMAL*/get DECIMAL() { - return "Decimal"; - }, - /*html$._KeyName.DIVIDE*/get DIVIDE() { - return "Divide"; - }, - /*html$._KeyName.DOWN*/get DOWN() { - return "Down"; - }, - /*html$._KeyName.DOWN_LEFT*/get DOWN_LEFT() { - return "DownLeft"; - }, - /*html$._KeyName.DOWN_RIGHT*/get DOWN_RIGHT() { - return "DownRight"; - }, - /*html$._KeyName.EJECT*/get EJECT() { - return "Eject"; - }, - /*html$._KeyName.END*/get END() { - return "End"; - }, - /*html$._KeyName.ENTER*/get ENTER() { - return "Enter"; - }, - /*html$._KeyName.ERASE_EOF*/get ERASE_EOF() { - return "EraseEof"; - }, - /*html$._KeyName.EXECUTE*/get EXECUTE() { - return "Execute"; - }, - /*html$._KeyName.EXSEL*/get EXSEL() { - return "Exsel"; - }, - /*html$._KeyName.FN*/get FN() { - return "Fn"; - }, - /*html$._KeyName.F1*/get F1() { - return "F1"; - }, - /*html$._KeyName.F2*/get F2() { - return "F2"; - }, - /*html$._KeyName.F3*/get F3() { - return "F3"; - }, - /*html$._KeyName.F4*/get F4() { - return "F4"; - }, - /*html$._KeyName.F5*/get F5() { - return "F5"; - }, - /*html$._KeyName.F6*/get F6() { - return "F6"; - }, - /*html$._KeyName.F7*/get F7() { - return "F7"; - }, - /*html$._KeyName.F8*/get F8() { - return "F8"; - }, - /*html$._KeyName.F9*/get F9() { - return "F9"; - }, - /*html$._KeyName.F10*/get F10() { - return "F10"; - }, - /*html$._KeyName.F11*/get F11() { - return "F11"; - }, - /*html$._KeyName.F12*/get F12() { - return "F12"; - }, - /*html$._KeyName.F13*/get F13() { - return "F13"; - }, - /*html$._KeyName.F14*/get F14() { - return "F14"; - }, - /*html$._KeyName.F15*/get F15() { - return "F15"; - }, - /*html$._KeyName.F16*/get F16() { - return "F16"; - }, - /*html$._KeyName.F17*/get F17() { - return "F17"; - }, - /*html$._KeyName.F18*/get F18() { - return "F18"; - }, - /*html$._KeyName.F19*/get F19() { - return "F19"; - }, - /*html$._KeyName.F20*/get F20() { - return "F20"; - }, - /*html$._KeyName.F21*/get F21() { - return "F21"; - }, - /*html$._KeyName.F22*/get F22() { - return "F22"; - }, - /*html$._KeyName.F23*/get F23() { - return "F23"; - }, - /*html$._KeyName.F24*/get F24() { - return "F24"; - }, - /*html$._KeyName.FINAL_MODE*/get FINAL_MODE() { - return "FinalMode"; - }, - /*html$._KeyName.FIND*/get FIND() { - return "Find"; - }, - /*html$._KeyName.FULL_WIDTH*/get FULL_WIDTH() { - return "FullWidth"; - }, - /*html$._KeyName.HALF_WIDTH*/get HALF_WIDTH() { - return "HalfWidth"; - }, - /*html$._KeyName.HANGUL_MODE*/get HANGUL_MODE() { - return "HangulMode"; - }, - /*html$._KeyName.HANJA_MODE*/get HANJA_MODE() { - return "HanjaMode"; - }, - /*html$._KeyName.HELP*/get HELP() { - return "Help"; - }, - /*html$._KeyName.HIRAGANA*/get HIRAGANA() { - return "Hiragana"; - }, - /*html$._KeyName.HOME*/get HOME() { - return "Home"; - }, - /*html$._KeyName.INSERT*/get INSERT() { - return "Insert"; - }, - /*html$._KeyName.JAPANESE_HIRAGANA*/get JAPANESE_HIRAGANA() { - return "JapaneseHiragana"; - }, - /*html$._KeyName.JAPANESE_KATAKANA*/get JAPANESE_KATAKANA() { - return "JapaneseKatakana"; - }, - /*html$._KeyName.JAPANESE_ROMAJI*/get JAPANESE_ROMAJI() { - return "JapaneseRomaji"; - }, - /*html$._KeyName.JUNJA_MODE*/get JUNJA_MODE() { - return "JunjaMode"; - }, - /*html$._KeyName.KANA_MODE*/get KANA_MODE() { - return "KanaMode"; - }, - /*html$._KeyName.KANJI_MODE*/get KANJI_MODE() { - return "KanjiMode"; - }, - /*html$._KeyName.KATAKANA*/get KATAKANA() { - return "Katakana"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_1*/get LAUNCH_APPLICATION_1() { - return "LaunchApplication1"; - }, - /*html$._KeyName.LAUNCH_APPLICATION_2*/get LAUNCH_APPLICATION_2() { - return "LaunchApplication2"; - }, - /*html$._KeyName.LAUNCH_MAIL*/get LAUNCH_MAIL() { - return "LaunchMail"; - }, - /*html$._KeyName.LEFT*/get LEFT() { - return "Left"; - }, - /*html$._KeyName.MENU*/get MENU() { - return "Menu"; - }, - /*html$._KeyName.META*/get META() { - return "Meta"; - }, - /*html$._KeyName.MEDIA_NEXT_TRACK*/get MEDIA_NEXT_TRACK() { - return "MediaNextTrack"; - }, - /*html$._KeyName.MEDIA_PAUSE_PLAY*/get MEDIA_PAUSE_PLAY() { - return "MediaPlayPause"; - }, - /*html$._KeyName.MEDIA_PREVIOUS_TRACK*/get MEDIA_PREVIOUS_TRACK() { - return "MediaPreviousTrack"; - }, - /*html$._KeyName.MEDIA_STOP*/get MEDIA_STOP() { - return "MediaStop"; - }, - /*html$._KeyName.MODE_CHANGE*/get MODE_CHANGE() { - return "ModeChange"; - }, - /*html$._KeyName.NEXT_CANDIDATE*/get NEXT_CANDIDATE() { - return "NextCandidate"; - }, - /*html$._KeyName.NON_CONVERT*/get NON_CONVERT() { - return "Nonconvert"; - }, - /*html$._KeyName.NUM_LOCK*/get NUM_LOCK() { - return "NumLock"; - }, - /*html$._KeyName.PAGE_DOWN*/get PAGE_DOWN() { - return "PageDown"; - }, - /*html$._KeyName.PAGE_UP*/get PAGE_UP() { - return "PageUp"; - }, - /*html$._KeyName.PASTE*/get PASTE() { - return "Paste"; - }, - /*html$._KeyName.PAUSE*/get PAUSE() { - return "Pause"; - }, - /*html$._KeyName.PLAY*/get PLAY() { - return "Play"; - }, - /*html$._KeyName.POWER*/get POWER() { - return "Power"; - }, - /*html$._KeyName.PREVIOUS_CANDIDATE*/get PREVIOUS_CANDIDATE() { - return "PreviousCandidate"; - }, - /*html$._KeyName.PRINT_SCREEN*/get PRINT_SCREEN() { - return "PrintScreen"; - }, - /*html$._KeyName.PROCESS*/get PROCESS() { - return "Process"; - }, - /*html$._KeyName.PROPS*/get PROPS() { - return "Props"; - }, - /*html$._KeyName.RIGHT*/get RIGHT() { - return "Right"; - }, - /*html$._KeyName.ROMAN_CHARACTERS*/get ROMAN_CHARACTERS() { - return "RomanCharacters"; - }, - /*html$._KeyName.SCROLL*/get SCROLL() { - return "Scroll"; - }, - /*html$._KeyName.SELECT*/get SELECT() { - return "Select"; - }, - /*html$._KeyName.SELECT_MEDIA*/get SELECT_MEDIA() { - return "SelectMedia"; - }, - /*html$._KeyName.SEPARATOR*/get SEPARATOR() { - return "Separator"; - }, - /*html$._KeyName.SHIFT*/get SHIFT() { - return "Shift"; - }, - /*html$._KeyName.SOFT_1*/get SOFT_1() { - return "Soft1"; - }, - /*html$._KeyName.SOFT_2*/get SOFT_2() { - return "Soft2"; - }, - /*html$._KeyName.SOFT_3*/get SOFT_3() { - return "Soft3"; - }, - /*html$._KeyName.SOFT_4*/get SOFT_4() { - return "Soft4"; - }, - /*html$._KeyName.STOP*/get STOP() { - return "Stop"; - }, - /*html$._KeyName.SUBTRACT*/get SUBTRACT() { - return "Subtract"; - }, - /*html$._KeyName.SYMBOL_LOCK*/get SYMBOL_LOCK() { - return "SymbolLock"; - }, - /*html$._KeyName.UP*/get UP() { - return "Up"; - }, - /*html$._KeyName.UP_LEFT*/get UP_LEFT() { - return "UpLeft"; - }, - /*html$._KeyName.UP_RIGHT*/get UP_RIGHT() { - return "UpRight"; - }, - /*html$._KeyName.UNDO*/get UNDO() { - return "Undo"; - }, - /*html$._KeyName.VOLUME_DOWN*/get VOLUME_DOWN() { - return "VolumeDown"; - }, - /*html$._KeyName.VOLUMN_MUTE*/get VOLUMN_MUTE() { - return "VolumeMute"; - }, - /*html$._KeyName.VOLUMN_UP*/get VOLUMN_UP() { - return "VolumeUp"; - }, - /*html$._KeyName.WIN*/get WIN() { - return "Win"; - }, - /*html$._KeyName.ZOOM*/get ZOOM() { - return "Zoom"; - }, - /*html$._KeyName.BACKSPACE*/get BACKSPACE() { - return "Backspace"; - }, - /*html$._KeyName.TAB*/get TAB() { - return "Tab"; - }, - /*html$._KeyName.CANCEL*/get CANCEL() { - return "Cancel"; - }, - /*html$._KeyName.ESC*/get ESC() { - return "Esc"; - }, - /*html$._KeyName.SPACEBAR*/get SPACEBAR() { - return "Spacebar"; - }, - /*html$._KeyName.DEL*/get DEL() { - return "Del"; - }, - /*html$._KeyName.DEAD_GRAVE*/get DEAD_GRAVE() { - return "DeadGrave"; - }, - /*html$._KeyName.DEAD_EACUTE*/get DEAD_EACUTE() { - return "DeadEacute"; - }, - /*html$._KeyName.DEAD_CIRCUMFLEX*/get DEAD_CIRCUMFLEX() { - return "DeadCircumflex"; - }, - /*html$._KeyName.DEAD_TILDE*/get DEAD_TILDE() { - return "DeadTilde"; - }, - /*html$._KeyName.DEAD_MACRON*/get DEAD_MACRON() { - return "DeadMacron"; - }, - /*html$._KeyName.DEAD_BREVE*/get DEAD_BREVE() { - return "DeadBreve"; - }, - /*html$._KeyName.DEAD_ABOVE_DOT*/get DEAD_ABOVE_DOT() { - return "DeadAboveDot"; - }, - /*html$._KeyName.DEAD_UMLAUT*/get DEAD_UMLAUT() { - return "DeadUmlaut"; - }, - /*html$._KeyName.DEAD_ABOVE_RING*/get DEAD_ABOVE_RING() { - return "DeadAboveRing"; - }, - /*html$._KeyName.DEAD_DOUBLEACUTE*/get DEAD_DOUBLEACUTE() { - return "DeadDoubleacute"; - }, - /*html$._KeyName.DEAD_CARON*/get DEAD_CARON() { - return "DeadCaron"; - }, - /*html$._KeyName.DEAD_CEDILLA*/get DEAD_CEDILLA() { - return "DeadCedilla"; - }, - /*html$._KeyName.DEAD_OGONEK*/get DEAD_OGONEK() { - return "DeadOgonek"; - }, - /*html$._KeyName.DEAD_IOTA*/get DEAD_IOTA() { - return "DeadIota"; - }, - /*html$._KeyName.DEAD_VOICED_SOUND*/get DEAD_VOICED_SOUND() { - return "DeadVoicedSound"; - }, - /*html$._KeyName.DEC_SEMIVOICED_SOUND*/get DEC_SEMIVOICED_SOUND() { - return "DeadSemivoicedSound"; - }, - /*html$._KeyName.UNIDENTIFIED*/get UNIDENTIFIED() { - return "Unidentified"; - } -}, false); -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[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[149], 39044, 29, "element"); - return element.keyCode === 20; - }, T$0.KeyEventTobool())); - } - [S$3._determineKeyCodeForKeypress](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; - } - if ((dart.test(event.shiftKey) || dart.test(this[S$3._capsLockOn])) && dart.notNull(event.charCode) >= dart.notNull("A"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) <= dart.notNull("Z"[$codeUnits][$_get](0)) && dart.notNull(event.charCode) + dart.notNull(html$._KeyboardEventHandler._ROMAN_ALPHABET_OFFSET) === prevEvent[S$3._shadowCharCode]) { - return prevEvent.keyCode; - } - } - return -1; - } - [S$3._findCharCodeKeyDown](event) { - if (event == null) dart.nullFailed(I[149], 39077, 42, "event"); - if (event.location === 3) { - switch (event.keyCode) { - case 96: - { - return 48; - } - case 97: - { - return 49; - } - case 98: - { - return 50; - } - case 99: - { - return 51; - } - case 100: - { - return 52; - } - case 101: - { - return 53; - } - case 102: - { - return 54; - } - case 103: - { - return 55; - } - case 104: - { - return 56; - } - case 105: - { - return 57; - } - case 106: - { - return 42; - } - case 107: - { - return 43; - } - case 109: - { - return 45; - } - case 110: - { - return 46; - } - case 111: - { - 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; - } - case 187: - { - return 61; - } - case 188: - { - return 44; - } - case 189: - { - return 45; - } - case 190: - { - return 46; - } - case 191: - { - return 47; - } - case 192: - { - return 96; - } - case 219: - { - return 91; - } - case 220: - { - return 92; - } - case 221: - { - return 93; - } - case 222: - { - return 39; - } - } - return event.keyCode; - } - [S$3._firesKeyPressEvent](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; - } - if (html_common.Device.userAgent[$contains]("Mac") && dart.test(event.altKey)) { - return html$.KeyCode.isCharacterKey(event.keyCode); - } - if (dart.test(event.altKey) && !dart.test(event.ctrlKey)) { - return false; - } - if (!dart.test(event.shiftKey) && (this[S$3._keyDownList][$last].keyCode === 17 || this[S$3._keyDownList][$last].keyCode === 18 || html_common.Device.userAgent[$contains]("Mac") && this[S$3._keyDownList][$last].keyCode === 91)) { - return false; - } - if (dart.test(html_common.Device.isWebKit) && dart.test(event.ctrlKey) && dart.test(event.shiftKey) && (event.keyCode === 220 || event.keyCode === 219 || event.keyCode === 221 || event.keyCode === 192 || event.keyCode === 186 || event.keyCode === 189 || event.keyCode === 187 || event.keyCode === 188 || event.keyCode === 190 || event.keyCode === 191 || event.keyCode === 192 || event.keyCode === 222)) { - return false; - } - switch (event.keyCode) { - case 13: - { - return !dart.test(html_common.Device.isIE); - } - case 27: - { - return !dart.test(html_common.Device.isWebKit); - } - } - return html$.KeyCode.isCharacterKey(event.keyCode); - } - [S$3._normalizeKeyCodes](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; - } - case 59: - { - return 186; - } - case 224: - { - return 91; - } - case 0: - { - return 224; - } - } - } - return event.keyCode; - } - processKeyDown(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](); - } - let event = new html$.KeyEvent.wrap(e); - event[S$3._shadowKeyCode] = this[S$3._normalizeKeyCodes](event); - event[S$3._shadowCharCode] = this[S$3._findCharCodeKeyDown](event); - if (dart.notNull(this[S$3._keyDownList][$length]) > 0 && event.keyCode != this[S$3._keyDownList][$last].keyCode && !dart.test(this[S$3._firesKeyPressEvent](event))) { - this.processKeyPress(e); - } - this[S$3._keyDownList][$add](event); - this[S$3._stream$3].add(event); - } - processKeyPress(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) { - e[S$3._shadowCharCode] = 0; - } else { - e[S$3._shadowCharCode] = e.keyCode; - } - } else if (dart.test(html_common.Device.isOpera)) { - e[S$3._shadowCharCode] = dart.test(html$.KeyCode.isCharacterKey(e.keyCode)) ? e.keyCode : 0; - } - e[S$3._shadowKeyCode] = this[S$3._determineKeyCodeForKeypress](e); - if (e[S$3._shadowKeyIdentifier] != null && dart.test(html$._KeyboardEventHandler._keyIdentifier[$containsKey](e[S$3._shadowKeyIdentifier]))) { - 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[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[149], 39288, 35, "event"); - let e = new html$.KeyEvent.wrap(event); - let toRemove = null; - for (let key of this[S$3._keyDownList]) { - if (key.keyCode == e.keyCode) { - toRemove = key; - } - } - if (toRemove != null) { - this[S$3._keyDownList][$removeWhere](dart.fn(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) { - this[S$3._keyDownList][$removeLast](); - } - this[S$3._stream$3].add(e); - } -}; -(html$._KeyboardEventHandler.new = function(_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"); - this[S$3._target$2] = null; - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - ; -}).prototype = html$._KeyboardEventHandler.prototype; -(html$._KeyboardEventHandler.initializeAllEventListeners = function(_type, _target) { - 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; - this[S$3._stream$3] = new html$._CustomKeyEventStreamImpl.new(_type); - html$._KeyboardEventHandler.__proto__.new.call(this, "KeyEvent"); - html$.Element.keyDownEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyDown')); - html$.Element.keyPressEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyPress')); - html$.Element.keyUpEvent.forTarget(this[S$3._target$2], {useCapture: true}).listen(dart.bind(this, 'processKeyUp')); -}).prototype = html$._KeyboardEventHandler.prototype; -dart.addTypeTests(html$._KeyboardEventHandler); -dart.addTypeCaches(html$._KeyboardEventHandler); -dart.setMethodSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getMethods(html$._KeyboardEventHandler.__proto__), - forTarget: dart.fnType(html$.CustomStream$(html$.KeyEvent), [dart.nullable(html$.EventTarget)], {useCapture: core.bool}, {}), - [S$3._determineKeyCodeForKeypress]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._findCharCodeKeyDown]: dart.fnType(core.int, [html$.KeyboardEvent]), - [S$3._firesKeyPressEvent]: dart.fnType(core.bool, [html$.KeyEvent]), - [S$3._normalizeKeyCodes]: dart.fnType(core.int, [html$.KeyboardEvent]), - processKeyDown: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyPress: dart.fnType(dart.void, [html$.KeyboardEvent]), - processKeyUp: dart.fnType(dart.void, [html$.KeyboardEvent]) -})); -dart.setGetterSignature(html$._KeyboardEventHandler, () => ({ - __proto__: dart.getGetters(html$._KeyboardEventHandler.__proto__), - [S$3._capsLockOn]: core.bool -})); -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)), - [S$3._type$5]: dart.finalFieldType(core.String), - [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)); - }, - /*html$._KeyboardEventHandler._EVENT_TYPE*/get _EVENT_TYPE() { - return "KeyEvent"; - }, - /*html$._KeyboardEventHandler._keyIdentifier*/get _keyIdentifier() { - return C[414] || CT.C414; - } -}, false); -html$.KeyboardEventStream = class KeyboardEventStream extends core.Object { - static onKeyPress(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[149], 39329, 53, "target"); - return new html$._KeyboardEventHandler.new("keyup").forTarget(target); - } - static onKeyDown(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.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(); - } - this.add(html$._SimpleNodeValidator.allowNavigation(uriPolicy)); - } - allowImages(uriPolicy = null) { - if (uriPolicy == null) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(html$._SimpleNodeValidator.allowImages(uriPolicy)); - } - allowTextElements() { - this.add(html$._SimpleNodeValidator.allowTextElements()); - } - allowInlineStyles(opts) { - let tagName = opts && 'tagName' in opts ? opts.tagName : null; - if (tagName == null) { - tagName = "*"; - } else { - tagName = tagName[$toUpperCase](); - } - this.add(new html$._SimpleNodeValidator.new(null, {allowedAttributes: T$.JSArrayOfString().of([dart.str(tagName) + "::style"])})); - } - allowHtml5(opts) { - let uriPolicy = opts && 'uriPolicy' in opts ? opts.uriPolicy : null; - this.add(new html$._Html5NodeValidator.new({uriPolicy: uriPolicy})); - } - allowSvg() { - this.add(new html$._SvgNodeValidator.new()); - } - allowCustomElement(tagName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - this.add(new html$._CustomElementNodeValidator.new(uriPolicy, T$.JSArrayOfString().of([tagNameUpper]), attrs, uriAttrs, false, true)); - } - allowTagExtension(tagName, baseName, opts) { - 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 = (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 = (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) { - uriPolicy = html$.UriPolicy.new(); - } - 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[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; - this.allowCustomElement(tagName, {uriPolicy: uriPolicy, attributes: attributes, uriAttributes: uriAttributes}); - } - allowTemplating() { - this.add(new html$._TemplatingNodeValidator.new()); - } - add(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[149], 39558, 30, "element"); - return this[S$3._validators][$any](dart.fn(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[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[149], 39564, 15, "v"); - return v.allowsAttribute(element, attributeName, value); - }, T$0.NodeValidatorTobool())); - } -}; -(html$.NodeValidatorBuilder.new = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); -}).prototype = html$.NodeValidatorBuilder.prototype; -(html$.NodeValidatorBuilder.common = function() { - this[S$3._validators] = T$0.JSArrayOfNodeValidator().of([]); - this.allowHtml5(); - this.allowTemplating(); -}).prototype = html$.NodeValidatorBuilder.prototype; -dart.addTypeTests(html$.NodeValidatorBuilder); -dart.addTypeCaches(html$.NodeValidatorBuilder); -html$.NodeValidatorBuilder[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$.NodeValidatorBuilder, () => ({ - __proto__: dart.getMethods(html$.NodeValidatorBuilder.__proto__), - allowNavigation: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowImages: dart.fnType(dart.void, [], [dart.nullable(html$.UriPolicy)]), - allowTextElements: dart.fnType(dart.void, []), - allowInlineStyles: dart.fnType(dart.void, [], {tagName: dart.nullable(core.String)}, {}), - allowHtml5: dart.fnType(dart.void, [], {uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowSvg: dart.fnType(dart.void, []), - allowCustomElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTagExtension: dart.fnType(dart.void, [core.String, core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowElement: dart.fnType(dart.void, [core.String], {attributes: dart.nullable(core.Iterable$(core.String)), uriAttributes: dart.nullable(core.Iterable$(core.String)), uriPolicy: dart.nullable(html$.UriPolicy)}, {}), - allowTemplating: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [html$.NodeValidator]), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[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[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[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[149], 39662, 30, "element"); - return this.allowedElements.contains(html$.Element._safeTagName(element)); - } - allowsAttribute(element, attributeName, 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); - } else if (dart.test(this.allowedUriAttributes.contains("*::" + dart.str(attributeName)))) { - return dart.nullCheck(this.uriPolicy).allowsUri(value); - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::" + dart.str(attributeName)))) { - return true; - } else if (dart.test(this.allowedAttributes.contains(dart.str(tagName) + "::*"))) { - return true; - } else if (dart.test(this.allowedAttributes.contains("*::*"))) { - return true; - } - return false; - } -}; -(html$._SimpleNodeValidator.new = function(uriPolicy, opts) { - 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; - this.allowedElements = new (T$0._IdentityHashSetOfString()).new(); - this.allowedAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.allowedUriAttributes = new (T$0._IdentityHashSetOfString()).new(); - this.uriPolicy = uriPolicy; - 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[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[149], 39656, 17, "x"); - return html$._Html5NodeValidator._uriAttributes[$contains](x); - }, T$.StringTobool())); - this.allowedAttributes.addAll(legalAttributes); - this.allowedUriAttributes.addAll(allowedUriAttributes); - this.allowedUriAttributes.addAll(extraUriAttributes); -}).prototype = html$._SimpleNodeValidator.prototype; -dart.addTypeTests(html$._SimpleNodeValidator); -dart.addTypeCaches(html$._SimpleNodeValidator); -html$._SimpleNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._SimpleNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SimpleNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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)), - allowedAttributes: dart.finalFieldType(core.Set$(core.String)), - allowedUriAttributes: dart.finalFieldType(core.Set$(core.String)), - 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[149], 39703, 30, "element"); - if (dart.test(this.allowTypeExtension)) { - let isAttr = element[S.$attributes][$_get]("is"); - if (isAttr != null) { - return dart.test(this.allowedElements.contains(isAttr[$toUpperCase]())) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - } - return dart.test(this.allowCustomTag) && dart.test(this.allowedElements.contains(html$.Element._safeTagName(element))); - } - allowsAttribute(element, attributeName, 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; - } - return super.allowsAttribute(element, attributeName, value); - } - return false; - } -}; -(html$._CustomElementNodeValidator.new = function(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"); - this.allowTypeExtension = allowTypeExtension === true; - this.allowCustomTag = allowCustomTag === true; - html$._CustomElementNodeValidator.__proto__.new.call(this, uriPolicy, {allowedElements: allowedElements, allowedAttributes: allowedAttributes, allowedUriAttributes: allowedUriAttributes}); - ; -}).prototype = html$._CustomElementNodeValidator.prototype; -dart.addTypeTests(html$._CustomElementNodeValidator); -dart.addTypeCaches(html$._CustomElementNodeValidator); -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[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; - } - if (attributeName === "template" && value === "") { - return true; - } - if (element[S.$attributes][$_get]("template") === "") { - return this[S$3._templateAttrs].contains(attributeName); - } - return false; - } -}; -(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[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[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[423] || CT.C423; - } -}, false); -html$._SvgNodeValidator = class _SvgNodeValidator extends core.Object { - allowsElement(element) { - if (element == null) dart.nullFailed(I[149], 39763, 30, "element"); - if (svg$.ScriptElement.is(element)) { - return false; - } - if (svg$.SvgElement.is(element) && html$.Element._safeTagName(element) === "foreignObject") { - return false; - } - if (svg$.SvgElement.is(element)) { - return true; - } - return false; - } - allowsAttribute(element, attributeName, 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() { - ; -}).prototype = html$._SvgNodeValidator.prototype; -dart.addTypeTests(html$._SvgNodeValidator); -dart.addTypeCaches(html$._SvgNodeValidator); -html$._SvgNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._SvgNodeValidator, () => ({ - __proto__: dart.getMethods(html$._SvgNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[150]); -dart.setStaticFieldSignature(html$.ReadyState, () => ['LOADING', 'INTERACTIVE', 'COMPLETE']); -dart.defineLazy(html$.ReadyState, { - /*html$.ReadyState.LOADING*/get LOADING() { - return "loading"; - }, - /*html$.ReadyState.INTERACTIVE*/get INTERACTIVE() { - return "interactive"; - }, - /*html$.ReadyState.COMPLETE*/get COMPLETE() { - return "complete"; - } -}, false); -const _is__WrappedList_default = Symbol('_is__WrappedList_default'); -html$._WrappedList$ = dart.generic(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 (__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[149], 39834, 14, "element"); - this[S$3._list$19][$add](element); - } - remove(element) { - return this[S$3._list$19][$remove](element); - } - clear() { - this[S$3._list$19][$clear](); - } - _get(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[149], 39848, 25, "index"); - E.as(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[149], 39852, 18, "newLength"); - this[S$3._list$19][$length] = newLength; - } - sort(compare = null) { - if (compare == null) { - this[S$3._list$19][$sort](); - } else { - this[S$3._list$19][$sort](dart.fn((a, 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[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[149], 39870, 19, "index"); - E.as(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[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[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[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[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[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() { - return this[S$3._list$19]; - } - } - (_WrappedList.new = function(_list) { - if (_list == null) dart.nullFailed(I[149], 39824, 21, "_list"); - this[S$3._list$19] = _list; - ; - }).prototype = _WrappedList.prototype; - dart.addTypeTests(_WrappedList); - _WrappedList.prototype[_is__WrappedList_default] = true; - dart.addTypeCaches(_WrappedList); - _WrappedList[dart.implements] = () => [html_common.NodeListWrapper]; - dart.setMethodSignature(_WrappedList, () => ({ - __proto__: dart.getMethods(_WrappedList.__proto__), - _get: dart.fnType(E, [core.int]), - [$_get]: dart.fnType(E, [core.int]), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]) - })); - dart.setGetterSignature(_WrappedList, () => ({ - __proto__: dart.getGetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) - })); - dart.setSetterSignature(_WrappedList, () => ({ - __proto__: dart.getSetters(_WrappedList.__proto__), - length: core.int, - [$length]: core.int - })); - dart.setLibraryUri(_WrappedList, I[150]); - dart.setFieldSignature(_WrappedList, () => ({ - __proto__: dart.getFields(_WrappedList.__proto__), - [S$3._list$19]: dart.finalFieldType(core.List$(html$.Node)) - })); - dart.defineExtensionMethods(_WrappedList, [ - 'add', - 'remove', - 'clear', - '_get', - '_set', - 'sort', - 'indexOf', - 'lastIndexOf', - 'insert', - 'removeAt', - 'setRange', - 'removeRange', - 'replaceRange', - 'fillRange' - ]); - dart.defineExtensionAccessors(_WrappedList, ['iterator', 'length']); - return _WrappedList; -}); -html$._WrappedList = html$._WrappedList$(); -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$2].moveNext(); - } - get current() { - return E.as(this[S$3._iterator$2].current); - } - } - (_WrappedIterator.new = function(_iterator) { - if (_iterator == null) dart.nullFailed(I[149], 39899, 25, "_iterator"); - this[S$3._iterator$2] = _iterator; - ; - }).prototype = _WrappedIterator.prototype; - dart.addTypeTests(_WrappedIterator); - _WrappedIterator.prototype[_is__WrappedIterator_default] = true; - dart.addTypeCaches(_WrappedIterator); - _WrappedIterator[dart.implements] = () => [core.Iterator$(E)]; - dart.setMethodSignature(_WrappedIterator, () => ({ - __proto__: dart.getMethods(_WrappedIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_WrappedIterator, () => ({ - __proto__: dart.getGetters(_WrappedIterator.__proto__), - current: E - })); - dart.setLibraryUri(_WrappedIterator, I[150]); - dart.setFieldSignature(_WrappedIterator, () => ({ - __proto__: dart.getFields(_WrappedIterator.__proto__), - [S$3._iterator$2]: dart.fieldType(core.Iterator$(html$.Node)) - })); - return _WrappedIterator; -}); -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[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[149], 39920, 40, "e"); - if (request.readyState === 4) { - onComplete(request); - } - }, T$0.EventTovoid())); - 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.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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (FixedSizeListIterator.new = function(array) { - 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]; - ; - }).prototype = FixedSizeListIterator.prototype; - dart.addTypeTests(FixedSizeListIterator); - FixedSizeListIterator.prototype[_is_FixedSizeListIterator_default] = true; - dart.addTypeCaches(FixedSizeListIterator); - FixedSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getMethods(FixedSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(FixedSizeListIterator, () => ({ - __proto__: dart.getGetters(FixedSizeListIterator.__proto__), - current: T - })); - 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$5]: dart.fieldType(dart.nullable(T)) - })); - return FixedSizeListIterator; -}); -html$.FixedSizeListIterator = html$.FixedSizeListIterator$(); -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$5] = this[S$3._array][$_get](nextPosition); - this[S$0._position$2] = nextPosition; - return true; - } - 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$5]); - } - } - (_VariableSizeListIterator.new = function(array) { - 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; - ; - }).prototype = _VariableSizeListIterator.prototype; - dart.addTypeTests(_VariableSizeListIterator); - _VariableSizeListIterator.prototype[_is__VariableSizeListIterator_default] = true; - dart.addTypeCaches(_VariableSizeListIterator); - _VariableSizeListIterator[dart.implements] = () => [core.Iterator$(T)]; - dart.setMethodSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getMethods(_VariableSizeListIterator.__proto__), - moveNext: dart.fnType(core.bool, []) - })); - dart.setGetterSignature(_VariableSizeListIterator, () => ({ - __proto__: dart.getGetters(_VariableSizeListIterator.__proto__), - current: T - })); - 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$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"; - } - get memory() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.memory : null; - } - assertCondition(condition = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.assert(condition, arg) : null; - } - clear(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.clear(arg) : null; - } - count(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.count(arg) : null; - } - countReset(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.countReset(arg) : null; - } - debug(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.debug(arg) : null; - } - dir(item = null, options = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dir(item, options) : null; - } - dirxml(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.dirxml(arg) : null; - } - error(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.error(arg) : null; - } - group(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.group(arg) : null; - } - groupCollapsed(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupCollapsed(arg) : null; - } - groupEnd() { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.groupEnd() : null; - } - info(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.info(arg) : null; - } - log(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.log(arg) : null; - } - table(tabularData = null, properties = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.table(tabularData, properties) : null; - } - time(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.time(label) : null; - } - timeEnd(label = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeEnd(label) : null; - } - timeLog(label = null, arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeLog(label, arg) : null; - } - trace(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.trace(arg) : null; - } - warn(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.warn(arg) : null; - } - profile(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profile(title) : null; - } - profileEnd(title = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.profileEnd(title) : null; - } - timeStamp(arg = null) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.timeStamp(arg) : null; - } - markTimeline(arg) { - return dart.test(this[S$3._isConsoleDefined]) ? window.console.markTimeline(arg) : null; - } -}; -(html$.Console._safe = function() { - ; -}).prototype = html$.Console.prototype; -dart.addTypeTests(html$.Console); -dart.addTypeCaches(html$.Console); -dart.setMethodSignature(html$.Console, () => ({ - __proto__: dart.getMethods(html$.Console.__proto__), - assertCondition: dart.fnType(dart.void, [], [dart.nullable(core.bool), dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - count: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - countReset: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - debug: dart.fnType(dart.void, [dart.nullable(core.Object)]), - dir: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.Object)]), - dirxml: dart.fnType(dart.void, [dart.nullable(core.Object)]), - error: dart.fnType(dart.void, [dart.nullable(core.Object)]), - group: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupCollapsed: dart.fnType(dart.void, [dart.nullable(core.Object)]), - groupEnd: dart.fnType(dart.void, []), - info: dart.fnType(dart.void, [dart.nullable(core.Object)]), - log: dart.fnType(dart.void, [dart.nullable(core.Object)]), - table: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.List$(core.String))]), - time: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeLog: dart.fnType(dart.void, [], [dart.nullable(core.String), dart.nullable(core.Object)]), - trace: dart.fnType(dart.void, [dart.nullable(core.Object)]), - warn: dart.fnType(dart.void, [dart.nullable(core.Object)]), - profile: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - profileEnd: dart.fnType(dart.void, [], [dart.nullable(core.String)]), - timeStamp: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - markTimeline: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(html$.Console, () => ({ - __proto__: dart.getGetters(html$.Console.__proto__), - [S$3._isConsoleDefined]: core.bool, - memory: dart.nullable(html$.MemoryInfo) -})); -dart.setLibraryUri(html$.Console, I[150]); -dart.setStaticFieldSignature(html$.Console, () => ['_safeConsole']); -dart.defineLazy(html$.Console, { - /*html$.Console._safeConsole*/get _safeConsole() { - 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[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]))); - } - } - _js_helper.setNativeSubclassDispatchRecord(element, this[S$3._interceptor]); - this[S$3._constructor](element); - return element; - } -}; -(html$._JSElementUpgrader.new = function(document, type, extendsTag) { - 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; - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - this[S$3._constructor] = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (this[S$3._constructor] == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = _js_helper.findDispatchTagForInterceptorClass(interceptorClass); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTag == null) { - if (!dart.equals(baseClassName, "HTMLElement")) { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - this[S$3._nativeType] = dart.wrapType(html$.HtmlElement); - } else { - let element = document[S.$createElement](extendsTag); - html$._checkExtendsNativeClassOrTemplate(element, extendsTag, core.String.as(baseClassName)); - this[S$3._nativeType] = dart.runtimeType(element); - } - this[S$3._interceptor] = interceptorClass.prototype; -}).prototype = html$._JSElementUpgrader.prototype; -dart.addTypeTests(html$._JSElementUpgrader); -dart.addTypeCaches(html$._JSElementUpgrader); -html$._JSElementUpgrader[dart.implements] = () => [html$.ElementUpgrader]; -dart.setMethodSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getMethods(html$._JSElementUpgrader.__proto__), - upgrade: dart.fnType(html$.Element, [html$.Element]) -})); -dart.setLibraryUri(html$._JSElementUpgrader, I[150]); -dart.setFieldSignature(html$._JSElementUpgrader, () => ({ - __proto__: dart.getFields(html$._JSElementUpgrader.__proto__), - [S$3._interceptor]: dart.fieldType(dart.dynamic), - [S$3._constructor]: dart.fieldType(dart.dynamic), - [S$3._nativeType]: dart.fieldType(dart.dynamic) -})); -html$._DOMWindowCrossFrame = class _DOMWindowCrossFrame extends core.Object { - get history() { - return html$._HistoryCrossFrame._createSafe(this[S$3._window].history); - } - get location() { - return html$._LocationCrossFrame._createSafe(this[S$3._window].location); - } - get closed() { - return this[S$3._window].closed; - } - get opener() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].opener); - } - get parent() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].parent); - } - get top() { - return html$._DOMWindowCrossFrame._createSafe(this[S$3._window].top); - } - close() { - return this[S$3._window].close(); - } - postMessage(message, targetOrigin, messagePorts = null) { - 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); - } else { - _js_helper.registerGlobalObject(w); - return new html$._DOMWindowCrossFrame.new(w); - } - } - get on() { - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } - [S._addEventListener](type, listener, useCapture = null) { - 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[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[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[149], 40431, 35, "type"); - return dart.throw(new core.UnsupportedError.new("You can only attach EventListeners to your own window.")); - } -}; -(html$._DOMWindowCrossFrame.new = function(_window) { - this[S$3._window] = _window; - ; -}).prototype = html$._DOMWindowCrossFrame.prototype; -dart.addTypeTests(html$._DOMWindowCrossFrame); -dart.addTypeCaches(html$._DOMWindowCrossFrame); -html$._DOMWindowCrossFrame[dart.implements] = () => [html$.WindowBase]; -dart.setMethodSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getMethods(html$._DOMWindowCrossFrame.__proto__), - close: dart.fnType(dart.void, []), - [S.$close]: dart.fnType(dart.void, []), - postMessage: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S$.$postMessage]: dart.fnType(dart.void, [dart.dynamic, core.String], [dart.nullable(core.List)]), - [S._addEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - addEventListener: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - [S.$addEventListener]: dart.fnType(dart.void, [core.String, dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - dispatchEvent: dart.fnType(core.bool, [html$.Event]), - [S.$dispatchEvent]: dart.fnType(core.bool, [html$.Event]), - [S._removeEventListener]: dart.fnType(dart.void, [dart.nullable(core.String), dart.nullable(dart.fnType(dart.dynamic, [html$.Event]))], [dart.nullable(core.bool)]), - 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, - [S$3.$history]: html$.HistoryBase, - location: html$.LocationBase, - [S$0.$location]: html$.LocationBase, - closed: core.bool, - [S$1.$closed]: core.bool, - opener: html$.WindowBase, - [S$3.$opener]: html$.WindowBase, - parent: html$.WindowBase, - [S.$parent]: html$.WindowBase, - top: html$.WindowBase, - [$top]: html$.WindowBase, - on: html$.Events, - [S.$on]: html$.Events -})); -dart.setLibraryUri(html$._DOMWindowCrossFrame, I[150]); -dart.setFieldSignature(html$._DOMWindowCrossFrame, () => ({ - __proto__: dart.getFields(html$._DOMWindowCrossFrame.__proto__), - [S$3._window]: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(html$._DOMWindowCrossFrame, [ - 'close', - 'postMessage', - 'addEventListener', - 'dispatchEvent', - 'removeEventListener' -]); -dart.defineExtensionAccessors(html$._DOMWindowCrossFrame, [ - 'history', - 'location', - 'closed', - 'opener', - 'parent', - 'top', - 'on' -]); -html$._LocationCrossFrame = class _LocationCrossFrame extends core.Object { - set href(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); - } else { - return new html$._LocationCrossFrame.new(location); - } - } -}; -(html$._LocationCrossFrame.new = function(_location) { - this[S$3._location] = _location; - ; -}).prototype = html$._LocationCrossFrame.prototype; -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[150]); -dart.setFieldSignature(html$._LocationCrossFrame, () => ({ - __proto__: dart.getFields(html$._LocationCrossFrame.__proto__), - [S$3._location]: dart.fieldType(dart.dynamic) -})); -dart.defineExtensionAccessors(html$._LocationCrossFrame, ['href']); -html$._HistoryCrossFrame = class _HistoryCrossFrame extends core.Object { - back() { - return this[S$3._history].back(); - } - forward() { - return this[S$3._history].forward(); - } - go(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); - } else { - return new html$._HistoryCrossFrame.new(h); - } - } -}; -(html$._HistoryCrossFrame.new = function(_history) { - this[S$3._history] = _history; - ; -}).prototype = html$._HistoryCrossFrame.prototype; -dart.addTypeTests(html$._HistoryCrossFrame); -dart.addTypeCaches(html$._HistoryCrossFrame); -html$._HistoryCrossFrame[dart.implements] = () => [html$.HistoryBase]; -dart.setMethodSignature(html$._HistoryCrossFrame, () => ({ - __proto__: dart.getMethods(html$._HistoryCrossFrame.__proto__), - back: dart.fnType(dart.void, []), - [S$1.$back]: dart.fnType(dart.void, []), - forward: dart.fnType(dart.void, []), - [S$1.$forward]: dart.fnType(dart.void, []), - go: dart.fnType(dart.void, [core.int]), - [S$1.$go]: dart.fnType(dart.void, [core.int]) -})); -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 { - 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[150]); -dart.setStaticFieldSignature(html$.Platform, () => ['supportsTypedData', 'supportsSimd']); -dart.defineLazy(html$.Platform, { - /*html$.Platform.supportsTypedData*/get supportsTypedData() { - return !!window.ArrayBuffer; - }, - /*html$.Platform.supportsSimd*/get supportsSimd() { - return false; - } -}, false); -html$.ElementUpgrader = class ElementUpgrader extends core.Object {}; -(html$.ElementUpgrader.new = function() { - ; -}).prototype = html$.ElementUpgrader.prototype; -dart.addTypeTests(html$.ElementUpgrader); -dart.addTypeCaches(html$.ElementUpgrader); -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[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.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[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.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[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[149], 40983, 21, "node"); - } -}; -(html$._TrustedHtmlTreeSanitizer.new = function() { - ; -}).prototype = html$._TrustedHtmlTreeSanitizer.prototype; -dart.addTypeTests(html$._TrustedHtmlTreeSanitizer); -dart.addTypeCaches(html$._TrustedHtmlTreeSanitizer); -html$._TrustedHtmlTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; -dart.setMethodSignature(html$._TrustedHtmlTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._TrustedHtmlTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]) -})); -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.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[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(); - this[S$3._loc] = html$.window[S$0.$location]; - ; -}).prototype = html$._SameOriginUriPolicy.prototype; -dart.addTypeTests(html$._SameOriginUriPolicy); -dart.addTypeCaches(html$._SameOriginUriPolicy); -html$._SameOriginUriPolicy[dart.implements] = () => [html$.UriPolicy]; -dart.setMethodSignature(html$._SameOriginUriPolicy, () => ({ - __proto__: dart.getMethods(html$._SameOriginUriPolicy.__proto__), - allowsUri: dart.fnType(core.bool, [core.String]) -})); -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[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[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) + "\"]")); - } - return true; - } -}; -(html$._ThrowsNodeValidator.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41034, 29, "validator"); - this.validator = validator; -}).prototype = html$._ThrowsNodeValidator.prototype; -dart.addTypeTests(html$._ThrowsNodeValidator); -dart.addTypeCaches(html$._ThrowsNodeValidator); -html$._ThrowsNodeValidator[dart.implements] = () => [html$.NodeValidator]; -dart.setMethodSignature(html$._ThrowsNodeValidator, () => ({ - __proto__: dart.getMethods(html$._ThrowsNodeValidator.__proto__), - allowsElement: dart.fnType(core.bool, [html$.Element]), - allowsAttribute: dart.fnType(core.bool, [html$.Element, core.String, core.String]) -})); -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[149], 41063, 26, "node"); - const walk = (node, parent) => { - if (node == null) dart.nullFailed(I[149], 41064, 20, "node"); - this.sanitizeNode(node, parent); - let child = node.lastChild; - while (child != null) { - let nextChild = null; - try { - nextChild = child[S$.$previousNode]; - if (nextChild != null && !dart.equals(nextChild[S.$nextNode], child)) { - dart.throw(new core.StateError.new("Corrupt HTML")); - } - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - this[S$3._removeNode](child, node); - child = null; - nextChild = node.lastChild; - } else - throw e$; - } - if (child != null) walk(child, node); - child = nextChild; - } - }; - dart.fn(walk, T$0.NodeAndNodeNTovoid()); - let previousTreeModifications = null; - do { - previousTreeModifications = this.numTreeModifications; - walk(node, null); - } while (!dart.equals(previousTreeModifications, this.numTreeModifications)); - } - [S$3._removeNode](node, parent) { - 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](); - } else { - parent[S$._removeChild](node); - } - } - [S$3._sanitizeUntrustedElement](element, parent) { - let corrupted = true; - let attrs = null; - let isAttr = null; - try { - attrs = dart.dload(element, 'attributes'); - isAttr = dart.dsend(attrs, '_get', ["is"]); - let corruptedTest1 = html$.Element._hasCorruptedAttributes(html$.Element.as(element)); - corrupted = dart.test(corruptedTest1) ? true : html$.Element._hasCorruptedAttributesAdditionalCheck(html$.Element.as(element)); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - let elementText = "element unprintable"; - try { - elementText = dart.toString(element); - } catch (e$0) { - let e = dart.getThrown(e$0); - if (core.Object.is(e)) { - } else - throw e$0; - } - try { - 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); - if (core.ArgumentError.is(ex)) { - dart.rethrow(e$1); - } else if (core.Object.is(ex)) { - let e = ex; - this[S$3._removeNode](html$.Node.as(element), parent); - html$.window[S$2.$console].warn("Removing corrupted element " + dart.str(elementText)); - } else - throw e$1; - } - } - [S$3._sanitizeElement](element, parent, corrupted, text, tag, attrs, isAttr) { - 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) + ">"); - return; - } - if (!dart.test(this.validator.allowsElement(element))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed element <" + dart.str(tag) + "> from " + dart.str(parent)); - return; - } - if (isAttr != null) { - if (!dart.test(this.validator.allowsAttribute(element, "is", isAttr))) { - this[S$3._removeNode](element, parent); - html$.window[S$2.$console].warn("Removing disallowed type extension " + "<" + dart.str(tag) + " is=\"" + dart.str(isAttr) + "\">"); - return; - } - } - let keys = attrs[$keys][$toList](); - for (let i = dart.notNull(attrs[$length]) - 1; i >= 0; i = i - 1) { - let name = keys[$_get](i); - if (!dart.test(this.validator.allowsAttribute(element, core.String.as(dart.dsend(name, 'toLowerCase', [])), core.String.as(attrs[$_get](name))))) { - html$.window[S$2.$console].warn("Removing disallowed attribute " + "<" + dart.str(tag) + " " + dart.str(name) + "=\"" + dart.str(attrs[$_get](name)) + "\">"); - attrs[$remove](name); - } - } - if (html$.TemplateElement.is(element)) { - let template = element; - this.sanitizeTree(dart.nullCheck(template.content)); - } - } - sanitizeNode(node, parent) { - if (node == null) dart.nullFailed(I[149], 41213, 26, "node"); - switch (node.nodeType) { - case 1: - { - this[S$3._sanitizeUntrustedElement](node, parent); - break; - } - case 8: - case 11: - case 3: - case 4: - { - break; - } - default: - { - this[S$3._removeNode](node, parent); - } - } - } -}; -(html$._ValidatingTreeSanitizer.new = function(validator) { - if (validator == null) dart.nullFailed(I[149], 41061, 33, "validator"); - this.numTreeModifications = 0; - this.validator = validator; -}).prototype = html$._ValidatingTreeSanitizer.prototype; -dart.addTypeTests(html$._ValidatingTreeSanitizer); -dart.addTypeCaches(html$._ValidatingTreeSanitizer); -html$._ValidatingTreeSanitizer[dart.implements] = () => [html$.NodeTreeSanitizer]; -dart.setMethodSignature(html$._ValidatingTreeSanitizer, () => ({ - __proto__: dart.getMethods(html$._ValidatingTreeSanitizer.__proto__), - sanitizeTree: dart.fnType(dart.void, [html$.Node]), - [S$3._removeNode]: dart.fnType(dart.void, [html$.Node, dart.nullable(html$.Node)]), - [S$3._sanitizeUntrustedElement]: dart.fnType(dart.void, [dart.dynamic, dart.nullable(html$.Node)]), - [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[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[426] || CT.C426); -}; -html$._matchesWithAncestors = function _matchesWithAncestors(event, 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; -}; -html$._convertNativeToDart_Window = function _convertNativeToDart_Window(win) { - if (win == null) return null; - return html$._DOMWindowCrossFrame._createSafe(win); -}; -html$._convertNativeToDart_EventTarget = function _convertNativeToDart_EventTarget(e) { - if (e == null) { - return null; - } - if ("postMessage" in e) { - let window = html$._DOMWindowCrossFrame._createSafe(e); - if (html$.EventTarget.is(window)) { - return window; - } - return null; - } else - return T$0.EventTargetN().as(e); -}; -html$._convertDartToNative_EventTarget = function _convertDartToNative_EventTarget(e) { - if (html$._DOMWindowCrossFrame.is(e)) { - return T$0.EventTargetN().as(e[S$3._window]); - } else { - return T$0.EventTargetN().as(e); - } -}; -html$._convertNativeToDart_XHR_Response = function _convertNativeToDart_XHR_Response(o) { - if (html$.Document.is(o)) { - return o; - } - return html_common.convertNativeToDart_SerializedScriptValue(o); -}; -html$._callConstructor = function _callConstructor(constructor, interceptor) { - return dart.fn(receiver => { - _js_helper.setNativeSubclassDispatchRecord(receiver, interceptor); - receiver.constructor = receiver.__proto__.constructor; - return constructor(receiver); - }, T$.dynamicToObjectN()); -}; -html$._callAttached = function _callAttached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40153, 23, "receiver"); - return receiver[S.$attached](); -}; -html$._callDetached = function _callDetached(receiver) { - if (receiver == null) dart.nullFailed(I[149], 40157, 23, "receiver"); - return receiver[S.$detached](); -}; -html$._callAttributeChanged = function _callAttributeChanged(receiver, 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) { - return function() { - return invokeCallback(this); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 1)); -}; -html$._makeCallbackMethod3 = function _makeCallbackMethod3(callback) { - return (function(invokeCallback) { - return function(arg1, arg2, arg3) { - return invokeCallback(this, arg1, arg2, arg3); - }; - })(_js_helper.convertDartClosureToJS(dart.dynamic, callback, 4)); -}; -html$._checkExtendsNativeClassOrTemplate = function _checkExtendsNativeClassOrTemplate(element, extendsTag, 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 (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) { - extendsTagName = T$.StringN().as(options[$_get]("extends")); - type = T$0.TypeN().as(options[$_get]("prototype")); - } - let interceptorClass = _interceptors.findInterceptorConstructorForType(type); - if (interceptorClass == null) { - dart.throw(new core.ArgumentError.new(type)); - } - let interceptor = interceptorClass.prototype; - let constructor = _interceptors.findConstructorForNativeSubclassType(type, "created"); - if (constructor == null) { - dart.throw(new core.ArgumentError.new(dart.str(type) + " has no constructor called 'created'")); - } - _interceptors.getNativeInterceptor(html$.Element.tag("article")); - let baseClassName = core.String.as(_js_helper.findDispatchTagForInterceptorClass(interceptorClass)); - if (baseClassName == null) { - dart.throw(new core.ArgumentError.new(type)); - } - if (extendsTagName == null) { - if (baseClassName !== "HTMLElement") { - dart.throw(new core.UnsupportedError.new("Class must provide extendsTag if base " + "native class is not HtmlElement")); - } - } else { - let element = document[S.$createElement](extendsTagName); - html$._checkExtendsNativeClassOrTemplate(element, extendsTagName, baseClassName); - } - let baseConstructor = context[baseClassName]; - let properties = {}; - properties.createdCallback = {value: html$._makeCallbackMethod(html$._callConstructor(constructor, interceptor))}; - properties.attachedCallback = {value: html$._makeCallbackMethod(html$._callAttached)}; - properties.detachedCallback = {value: html$._makeCallbackMethod(html$._callDetached)}; - properties.attributeChangedCallback = {value: html$._makeCallbackMethod3(html$._callAttributeChanged)}; - let baseProto = baseConstructor.prototype; - let proto = Object.create(baseProto, properties); - _js_helper.setNativeSubclassDispatchRecord(proto, interceptor); - let opts = {prototype: proto}; - if (extendsTagName != null) { - opts.extends = extendsTagName; - } - return document.registerElement(tag, opts); -}; -html$._initializeCustomElement = function _initializeCustomElement(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; - if (callback == null) return null; - return async.Zone.current.bindUnaryCallbackGuarded(T, callback); -}; -html$._wrapBinaryZone = function _wrapBinaryZone(T1, T2, callback) { - if (dart.equals(async.Zone.current, async.Zone.root)) return callback; - if (callback == null) return null; - return async.Zone.current.bindBinaryCallbackGuarded(T1, T2, callback); -}; -html$.querySelector = function querySelector(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[149], 40890, 59, "selectors"); - return html$.document[S.$querySelectorAll](T, selectors); -}; -dart.copyProperties(html$, { - get window() { - return window; - }, - get document() { - return document; - }, - get _workerSelf() { - return self; - } -}); -dart.defineLazy(html$, { - /*html$._HEIGHT*/get _HEIGHT() { - return T$.JSArrayOfString().of(["top", "bottom"]); - }, - /*html$._WIDTH*/get _WIDTH() { - return T$.JSArrayOfString().of(["right", "left"]); - }, - /*html$._CONTENT*/get _CONTENT() { - return "content"; - }, - /*html$._PADDING*/get _PADDING() { - return "padding"; - }, - /*html$._MARGIN*/get _MARGIN() { - return "margin"; - } -}, false); -html_common._StructuredClone = class _StructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (core.identical(this.values[$_get](i), value)) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 73, 17, "i"); - this.copies[$_set](i, x); - } - cleanupSlots() { - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (core.DateTime.is(e)) { - return html_common.convertDartToNative_DateTime(e); - } - if (core.RegExp.is(e)) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (html$.File.is(e)) return e; - if (html$.Blob.is(e)) return e; - if (html$.FileList.is(e)) return e; - if (html$.ImageData.is(e)) return e; - if (dart.test(this.cloneNotRequired(e))) return e; - if (core.Map.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsMap(); - this.writeSlot(slot, copy); - e[$forEach](dart.fn((key, value) => { - this.putIntoMap(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicTovoid())); - return copy; - } - if (core.List.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.copyList(e, slot); - return copy; - } - if (_interceptors.JSObject.is(e)) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - copy = this.newJsObject(); - this.writeSlot(slot, copy); - this.forEachObjectKey(e, dart.fn((key, value) => { - this.putIntoObject(copy, key, this.walk(value)); - }, T$.dynamicAnddynamicToNull())); - return copy; - } - dart.throw(new core.UnimplementedError.new("structured clone of other type")); - } - copyList(e, 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); - this.writeSlot(slot, copy); - for (; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(e[$_get](i))); - } - return copy; - } - convertDartToNative_PrepareForStructuredClone(value) { - let copy = this.walk(value); - this.cleanupSlots(); - return copy; - } -}; -(html_common._StructuredClone.new = function() { - this.values = []; - this.copies = []; - ; -}).prototype = html_common._StructuredClone.prototype; -dart.addTypeTests(html_common._StructuredClone); -dart.addTypeCaches(html_common._StructuredClone); -dart.setMethodSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getMethods(html_common._StructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - cleanupSlots: dart.fnType(dart.dynamic, []), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - copyList: dart.fnType(core.List, [core.List, core.int]), - convertDartToNative_PrepareForStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic]) -})); -dart.setLibraryUri(html_common._StructuredClone, I[152]); -dart.setFieldSignature(html_common._StructuredClone, () => ({ - __proto__: dart.getFields(html_common._StructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List) -})); -html_common._AcceptStructuredClone = class _AcceptStructuredClone extends core.Object { - findSlot(value) { - let length = this.values[$length]; - for (let i = 0; i < dart.notNull(length); i = i + 1) { - if (dart.test(this.identicalInJs(this.values[$_get](i), value))) return i; - } - this.values[$add](value); - this.copies[$add](null); - return length; - } - readSlot(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[153], 212, 17, "i"); - this.copies[$_set](i, x); - } - walk(e) { - if (e == null) return e; - if (typeof e == 'boolean') return e; - if (typeof e == 'number') return e; - if (typeof e == 'string') return e; - if (dart.test(html_common.isJavaScriptDate(e))) { - return html_common.convertNativeToDart_DateTime(e); - } - if (dart.test(html_common.isJavaScriptRegExp(e))) { - dart.throw(new core.UnimplementedError.new("structured clone of RegExp")); - } - if (dart.test(html_common.isJavaScriptPromise(e))) { - return js_util.promiseToFuture(dart.dynamic, core.Object.as(e)); - } - if (dart.test(html_common.isJavaScriptSimpleObject(e))) { - let slot = this.findSlot(e); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let map = new _js_helper.LinkedMap.new(); - this.writeSlot(slot, map); - this.forEachJsField(e, dart.fn((key, value) => { - let t229, t228, t227; - t227 = map; - t228 = key; - t229 = this.walk(value); - t227[$_set](t228, t229); - return t229; - }, T$0.dynamicAnddynamicTodynamic())); - return map; - } - if (dart.test(html_common.isJavaScriptArray(e))) { - let l = e; - let slot = this.findSlot(l); - let copy = this.readSlot(slot); - if (copy != null) return copy; - let length = l[$length]; - copy = dart.test(this.mustCopy) ? this.newDartList(length) : l; - this.writeSlot(slot, copy); - for (let i = 0; i < dart.notNull(length); i = i + 1) { - copy[$_set](i, this.walk(l[$_get](i))); - } - return copy; - } - return e; - } - convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - this.mustCopy = core.bool.as(mustCopy); - let copy = this.walk(object); - return copy; - } -}; -(html_common._AcceptStructuredClone.new = function() { - this.values = []; - this.copies = []; - this.mustCopy = false; - ; -}).prototype = html_common._AcceptStructuredClone.prototype; -dart.addTypeTests(html_common._AcceptStructuredClone); -dart.addTypeCaches(html_common._AcceptStructuredClone); -dart.setMethodSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredClone.__proto__), - findSlot: dart.fnType(core.int, [dart.dynamic]), - readSlot: dart.fnType(dart.dynamic, [core.int]), - writeSlot: dart.fnType(dart.dynamic, [core.int, dart.dynamic]), - walk: dart.fnType(dart.dynamic, [dart.dynamic]), - convertNativeToDart_AcceptStructuredClone: dart.fnType(dart.dynamic, [dart.dynamic], {mustCopy: dart.dynamic}, {}) -})); -dart.setLibraryUri(html_common._AcceptStructuredClone, I[152]); -dart.setFieldSignature(html_common._AcceptStructuredClone, () => ({ - __proto__: dart.getFields(html_common._AcceptStructuredClone.__proto__), - values: dart.fieldType(core.List), - copies: dart.fieldType(core.List), - mustCopy: dart.fieldType(core.bool) -})); -html_common.ContextAttributes = class ContextAttributes extends core.Object { - get alpha() { - 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[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; - this[S$3.failIfMajorPerformanceCaveat] = failIfMajorPerformanceCaveat; - this[S$3.premultipliedAlpha] = premultipliedAlpha; - this[S$3.preserveDrawingBuffer] = preserveDrawingBuffer; - this[S$3.stencil] = stencil; - ; -}).prototype = html_common.ContextAttributes.prototype; -dart.addTypeTests(html_common.ContextAttributes); -dart.addTypeCaches(html_common.ContextAttributes); -dart.setLibraryUri(html_common.ContextAttributes, I[152]); -dart.setFieldSignature(html_common.ContextAttributes, () => ({ - __proto__: dart.getFields(html_common.ContextAttributes.__proto__), - alpha: dart.fieldType(core.bool), - antialias: dart.fieldType(core.bool), - depth: dart.fieldType(core.bool), - premultipliedAlpha: dart.fieldType(core.bool), - preserveDrawingBuffer: dart.fieldType(core.bool), - stencil: dart.fieldType(core.bool), - failIfMajorPerformanceCaveat: dart.fieldType(core.bool) -})); -html_common._TypedImageData = class _TypedImageData extends core.Object { - get data() { - return this[S$3.data$2]; - } - set data(value) { - super.data = value; - } - get height() { - return this[S$3.height$1]; - } - set height(value) { - super.height = value; - } - get width() { - return this[S$3.width$1]; - } - 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[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; - ; -}).prototype = html_common._TypedImageData.prototype; -dart.addTypeTests(html_common._TypedImageData); -dart.addTypeCaches(html_common._TypedImageData); -html_common._TypedImageData[dart.implements] = () => [html$.ImageData]; -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), - height: dart.finalFieldType(core.int), - width: dart.finalFieldType(core.int) -})); -dart.defineExtensionAccessors(html_common._TypedImageData, ['data', 'height', 'width']); -html_common._StructuredCloneDart2Js = class _StructuredCloneDart2Js extends html_common._StructuredClone { - newJsObject() { - return {}; - } - forEachObjectKey(object, action) { - if (action == null) dart.nullFailed(I[154], 103, 33, "action"); - for (let key of Object.keys(object)) { - action(key, object[key]); - } - } - putIntoObject(object, key, value) { - return object[key] = value; - } - newJsMap() { - return {}; - } - putIntoMap(map, key, value) { - return map[key] = value; - } - newJsList(length) { - return new Array(length); - } - cloneNotRequired(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() { - html_common._StructuredCloneDart2Js.__proto__.new.call(this); - ; -}).prototype = html_common._StructuredCloneDart2Js.prototype; -dart.addTypeTests(html_common._StructuredCloneDart2Js); -dart.addTypeCaches(html_common._StructuredCloneDart2Js); -dart.setMethodSignature(html_common._StructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._StructuredCloneDart2Js.__proto__), - newJsObject: dart.fnType(_interceptors.JSObject, []), - forEachObjectKey: dart.fnType(dart.void, [dart.dynamic, dart.fnType(dart.dynamic, [dart.dynamic, dart.dynamic])]), - putIntoObject: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsMap: dart.fnType(dart.dynamic, []), - putIntoMap: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic]), - newJsList: dart.fnType(core.List, [dart.dynamic]), - cloneNotRequired: dart.fnType(core.bool, [dart.dynamic]) -})); -dart.setLibraryUri(html_common._StructuredCloneDart2Js, I[152]); -html_common._AcceptStructuredCloneDart2Js = class _AcceptStructuredCloneDart2Js extends html_common._AcceptStructuredClone { - newJsList(length) { - return new Array(length); - } - newDartList(length) { - return this.newJsList(length); - } - identicalInJs(a, b) { - return core.identical(a, b); - } - forEachJsField(object, 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); - ; -}).prototype = html_common._AcceptStructuredCloneDart2Js.prototype; -dart.addTypeTests(html_common._AcceptStructuredCloneDart2Js); -dart.addTypeCaches(html_common._AcceptStructuredCloneDart2Js); -dart.setMethodSignature(html_common._AcceptStructuredCloneDart2Js, () => ({ - __proto__: dart.getMethods(html_common._AcceptStructuredCloneDart2Js.__proto__), - newJsList: dart.fnType(core.List, [dart.dynamic]), - newDartList: dart.fnType(core.List, [dart.dynamic]), - 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[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[155], 52, 43, "eventType"); - try { - let e = html$.Event.eventType(eventType, ""); - return html$.Event.is(e); - } catch (e$) { - let _ = dart.getThrown(e$); - if (core.Object.is(_)) { - } else - throw e$; - } - 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.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); - }, - /*html_common.Device.isIE*/get isIE() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("Trident/", 0); - }, - /*html_common.Device.isFirefox*/get isFirefox() { - return html_common.Device.userAgent[$contains]("Firefox", 0); - }, - /*html_common.Device.isWebKit*/get isWebKit() { - return !dart.test(html_common.Device.isOpera) && html_common.Device.userAgent[$contains]("WebKit", 0); - }, - /*html_common.Device.cssPrefix*/get cssPrefix() { - return "-" + dart.str(html_common.Device.propertyPrefix) + "-"; - }, - /*html_common.Device.propertyPrefix*/get propertyPrefix() { - return dart.test(html_common.Device.isFirefox) ? "moz" : dart.test(html_common.Device.isIE) ? "ms" : dart.test(html_common.Device.isOpera) ? "o" : "webkit"; - } -}, 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[156], 30, 26, "n"); - return html$.Element.is(n); - }, T$0.NodeTobool()))[$map](html$.Element, dart.fn(n => { - if (n == null) dart.nullFailed(I[156], 30, 60, "n"); - return html$.Element.as(n); - }, T$0.NodeToElement())); - } - get [S$3._filtered]() { - return T$0.ListOfElement().from(this[S$3._iterable$2], {growable: false}); - } - forEach(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[156], 40, 25, "index"); - html$.Element.as(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[156], 44, 18, "newLength"); - let len = this.length; - if (dart.notNull(newLength) >= dart.notNull(len)) { - return; - } else if (dart.notNull(newLength) < 0) { - dart.throw(new core.ArgumentError.new("Invalid list length")); - } - this.removeRange(newLength, len); - } - add(value) { - html$.Element.as(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[156], 59, 33, "iterable"); - for (let element of iterable) { - this.add(element); - } - } - contains(needle) { - if (!html$.Element.is(needle)) return false; - let element = needle; - return dart.equals(element.parentNode, this[S$3._node]); - } - get reversed() { - return this[S$3._filtered][$reversed]; - } - sort(compare = null) { - dart.throw(new core.UnsupportedError.new("Cannot sort filtered list")); - } - setRange(start, end, iterable, skipCount = 0) { - 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[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[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[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[156], 86, 59, "iterable"); - dart.throw(new core.UnsupportedError.new("Cannot replaceRange on filtered list")); - } - removeRange(start, end) { - 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](); - } - removeLast() { - let result = this[S$3._iterable$2][$last]; - if (result != null) { - result[$remove](); - } - return result; - } - insert(index, value) { - if (index == null) dart.nullFailed(I[156], 109, 19, "index"); - html$.Element.as(value); - if (value == null) dart.nullFailed(I[156], 109, 34, "value"); - if (index == this.length) { - this.add(value); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode).insertBefore(value, element); - } - } - insertAll(index, iterable) { - if (index == null) dart.nullFailed(I[156], 118, 22, "index"); - T$0.IterableOfElement().as(iterable); - if (iterable == null) dart.nullFailed(I[156], 118, 47, "iterable"); - if (index == this.length) { - this.addAll(iterable); - } else { - let element = this[S$3._iterable$2][$elementAt](index); - dart.nullCheck(element.parentNode)[S$.$insertAllBefore](iterable, element); - } - } - removeAt(index) { - if (index == null) dart.nullFailed(I[156], 127, 24, "index"); - let result = this._get(index); - result[$remove](); - return result; - } - remove(element) { - if (!html$.Element.is(element)) return false; - if (dart.test(this.contains(element))) { - element[$remove](); - return true; - } else { - return false; - } - } - get length() { - return this[S$3._iterable$2][$length]; - } - _get(index) { - if (index == null) dart.nullFailed(I[156], 144, 27, "index"); - return this[S$3._iterable$2][$elementAt](index); - } - get iterator() { - return this[S$3._filtered][$iterator]; - } - get rawList() { - return this[S$3._node].childNodes; - } -}; -(html_common.FilteredElementList.new = function(node) { - if (node == null) dart.nullFailed(I[156], 23, 28, "node"); - this[S$3._childNodes] = node[S.$nodes]; - this[S$3._node] = node; - ; -}).prototype = html_common.FilteredElementList.prototype; -dart.addTypeTests(html_common.FilteredElementList); -dart.addTypeCaches(html_common.FilteredElementList); -html_common.FilteredElementList[dart.implements] = () => [html_common.NodeListWrapper]; -dart.setMethodSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getMethods(html_common.FilteredElementList.__proto__), - _set: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - _get: dart.fnType(html$.Element, [core.int]), - [$_get]: dart.fnType(html$.Element, [core.int]) -})); -dart.setGetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getGetters(html_common.FilteredElementList.__proto__), - [S$3._iterable$2]: core.Iterable$(html$.Element), - [S$3._filtered]: core.List$(html$.Element), - length: core.int, - [$length]: core.int, - rawList: core.List$(html$.Node) -})); -dart.setSetterSignature(html_common.FilteredElementList, () => ({ - __proto__: dart.getSetters(html_common.FilteredElementList.__proto__), - length: core.int, - [$length]: core.int -})); -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), - [S$3._childNodes]: dart.finalFieldType(core.List$(html$.Node)) -})); -dart.defineExtensionMethods(html_common.FilteredElementList, [ - 'forEach', - '_set', - 'add', - 'addAll', - 'contains', - 'sort', - 'setRange', - 'fillRange', - 'replaceRange', - 'removeRange', - 'clear', - 'removeLast', - 'insert', - 'insertAll', - 'removeAt', - 'remove', - '_get' -]); -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[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; - } - if (dart.notNull(startIndex) < 0) { - startIndex = 0; - } - for (let i = startIndex; dart.notNull(i) < dart.notNull(endIndex); i = dart.notNull(i) + 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static lastIndexOf(a, element, 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; - } - if (dart.notNull(startIndex) >= dart.notNull(a[$length])) { - startIndex = dart.notNull(a[$length]) - 1; - } - for (let i = startIndex; dart.notNull(i) >= 0; i = dart.notNull(i) - 1) { - if (dart.equals(a[$_get](i), element)) { - return i; - } - } - return -1; - } - static getRange(a, start, end, 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)); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - accumulator[$add](a[$_get](i)); - } - 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.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[152]); -html_common.convertDartToNative_SerializedScriptValue = function convertDartToNative_SerializedScriptValue(value) { - return html_common.convertDartToNative_PrepareForStructuredClone(value); -}; -html_common.convertNativeToDart_SerializedScriptValue = function convertNativeToDart_SerializedScriptValue(object) { - return html_common.convertNativeToDart_AcceptStructuredClone(object, {mustCopy: true}); -}; -html_common.convertNativeToDart_ContextAttributes = function convertNativeToDart_ContextAttributes(nativeContextAttributes) { - return new html_common.ContextAttributes.new(nativeContextAttributes.alpha, nativeContextAttributes.antialias, nativeContextAttributes.depth, nativeContextAttributes.failIfMajorPerformanceCaveat, nativeContextAttributes.premultipliedAlpha, nativeContextAttributes.preserveDrawingBuffer, nativeContextAttributes.stencil); -}; -html_common.convertNativeToDart_ImageData = function convertNativeToDart_ImageData(nativeImageData) { - 0; - if (html$.ImageData.is(nativeImageData)) { - let data = nativeImageData.data; - if (data.constructor === Array) { - if (typeof CanvasPixelArray !== "undefined") { - data.constructor = CanvasPixelArray; - data.BYTES_PER_ELEMENT = 1; - } - } - return nativeImageData; - } - 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[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](key, html_common._convertNativeToDart_Value(object[key])); - } - return dict; -}; -html_common._convertDartToNative_Value = function _convertDartToNative_Value(value) { - if (value == null) return value; - if (typeof value == 'string' || typeof value == 'number' || typeof value == 'boolean') return value; - if (core.Map.is(value)) return html_common.convertDartToNative_Dictionary(value); - if (core.List.is(value)) { - let array = []; - value[$forEach](dart.fn(element => { - array.push(html_common._convertDartToNative_Value(element)); - }, T$.dynamicTovoid())); - value = array; - } - return value; -}; -html_common.convertDartToNative_Dictionary = function convertDartToNative_Dictionary(dict, postCreate = null) { - if (dict == null) return null; - let object = {}; - if (postCreate != null) { - postCreate(object); - } - dict[$forEach](dart.fn((key, value) => { - object[key] = html_common._convertDartToNative_Value(value); - }, T$.dynamicAnddynamicTovoid())); - return object; -}; -html_common.convertDartToNative_StringArray = function convertDartToNative_StringArray(input) { - if (input == null) dart.nullFailed(I[154], 78, 51, "input"); - return input; -}; -html_common.convertNativeToDart_DateTime = function convertNativeToDart_DateTime(date) { - let millisSinceEpoch = date.getTime(); - return new core.DateTime.fromMillisecondsSinceEpoch(millisSinceEpoch, {isUtc: true}); -}; -html_common.convertDartToNative_DateTime = function convertDartToNative_DateTime(date) { - if (date == null) dart.nullFailed(I[154], 88, 39, "date"); - return new Date(date.millisecondsSinceEpoch); -}; -html_common.convertDartToNative_PrepareForStructuredClone = function convertDartToNative_PrepareForStructuredClone(value) { - return new html_common._StructuredCloneDart2Js.new().convertDartToNative_PrepareForStructuredClone(value); -}; -html_common.convertNativeToDart_AcceptStructuredClone = function convertNativeToDart_AcceptStructuredClone(object, opts) { - let mustCopy = opts && 'mustCopy' in opts ? opts.mustCopy : false; - return new html_common._AcceptStructuredCloneDart2Js.new().convertNativeToDart_AcceptStructuredClone(object, {mustCopy: mustCopy}); -}; -html_common.isJavaScriptDate = function isJavaScriptDate(value) { - return value instanceof Date; -}; -html_common.isJavaScriptRegExp = function isJavaScriptRegExp(value) { - return value instanceof RegExp; -}; -html_common.isJavaScriptArray = function isJavaScriptArray$(value) { - return value instanceof Array; -}; -html_common.isJavaScriptSimpleObject = function isJavaScriptSimpleObject$(value) { - let proto = Object.getPrototypeOf(value); - return proto === Object.prototype || proto === null; -}; -html_common.isImmutableJavaScriptArray = function isImmutableJavaScriptArray(value) { - return !!value.immutable$list; -}; -html_common.isJavaScriptPromise = function isJavaScriptPromise(value) { - return typeof Promise != "undefined" && value instanceof Promise; -}; -dart.defineLazy(html_common, { - /*html_common._serializedScriptValue*/get _serializedScriptValue() { - return "num|String|bool|JSExtendableArray|=Object|Blob|File|NativeByteBuffer|NativeTypedData|MessagePort"; - }, - /*html_common.annotation_Creates_SerializedScriptValue*/get annotation_Creates_SerializedScriptValue() { - return C[427] || CT.C427; - }, - /*html_common.annotation_Returns_SerializedScriptValue*/get annotation_Returns_SerializedScriptValue() { - return C[428] || CT.C428; - } -}, false); -svg$._SvgElementFactoryProvider = class _SvgElementFactoryProvider extends core.Object { - static createSvgElement_tag(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.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[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 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 = (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 = dart.nullCheck(html$.document.body); - } else { - parentElement = svg$.SvgSvgElement.new(); - } - 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); - } - set [S.$classes](value) { - super[S.$classes] = value; - } - get [S.$children]() { - return new html_common.FilteredElementList.new(this); - } - set [S.$children](value) { - if (value == null) dart.nullFailed(I[158], 3020, 30, "value"); - let children = this[S.$children]; - children[$clear](); - children[$addAll](value); - } - get [S.$outerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$add](cloned); - return container[S.$innerHtml]; - } - get [S.$innerHtml]() { - let container = html$.DivElement.new(); - let cloned = svg$.SvgElement.as(this[S$.$clone](true)); - container[S.$children][$addAll](cloned[S.$children]); - return container[S.$innerHtml]; - } - set [S.$innerHtml](value) { - this[S.$setInnerHtml](value); - } - [S.$createFragment](svg, opts) { - 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 = (t228 = new html$.NodeValidatorBuilder.common(), (() => { - t228.allowSvg(); - return t228; - })()); - } - treeSanitizer = html$.NodeTreeSanitizer.new(validator); - } - let html = "" + dart.str(svg) + ""; - let fragment = dart.nullCheck(html$.document.body)[S.$createFragment](html, {treeSanitizer: treeSanitizer}); - let svgFragment = html$.DocumentFragment.new(); - let root = fragment[S.$nodes][$single]; - while (root.firstChild != null) { - svgFragment[S.$append](dart.nullCheck(root.firstChild)); - } - return svgFragment; - } - [S.$insertAdjacentText](where, 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[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[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]() { - dart.throw(new core.UnsupportedError.new("Cannot get _children on SVG.")); - } - get [S.$isContentEditable]() { - return false; - } - [S.$click]() { - dart.throw(new core.UnsupportedError.new("Cannot invoke click SVG.")); - } - static isTagSupported(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; - } - get [S$3.$ownerSvgElement]() { - return this.ownerSVGElement; - } - get [S$3.$viewportElement]() { - return this.viewportElement; - } - [S.$blur](...args) { - return this.blur.apply(this, args); - } - [S.$focus](...args) { - return this.focus.apply(this, args); - } - get [S.$nonce]() { - return this.nonce; - } - set [S.$nonce](value) { - this.nonce = value; - } - get [S.$onAbort]() { - return svg$.SvgElement.abortEvent.forElement(this); - } - get [S.$onBlur]() { - return svg$.SvgElement.blurEvent.forElement(this); - } - get [S.$onCanPlay]() { - return svg$.SvgElement.canPlayEvent.forElement(this); - } - get [S.$onCanPlayThrough]() { - return svg$.SvgElement.canPlayThroughEvent.forElement(this); - } - get [S.$onChange]() { - return svg$.SvgElement.changeEvent.forElement(this); - } - get [S.$onClick]() { - return svg$.SvgElement.clickEvent.forElement(this); - } - get [S.$onContextMenu]() { - return svg$.SvgElement.contextMenuEvent.forElement(this); - } - get [S.$onDoubleClick]() { - return svg$.SvgElement.doubleClickEvent.forElement(this); - } - get [S.$onDrag]() { - return svg$.SvgElement.dragEvent.forElement(this); - } - get [S.$onDragEnd]() { - return svg$.SvgElement.dragEndEvent.forElement(this); - } - get [S.$onDragEnter]() { - return svg$.SvgElement.dragEnterEvent.forElement(this); - } - get [S.$onDragLeave]() { - return svg$.SvgElement.dragLeaveEvent.forElement(this); - } - get [S.$onDragOver]() { - return svg$.SvgElement.dragOverEvent.forElement(this); - } - get [S.$onDragStart]() { - return svg$.SvgElement.dragStartEvent.forElement(this); - } - get [S.$onDrop]() { - return svg$.SvgElement.dropEvent.forElement(this); - } - get [S.$onDurationChange]() { - return svg$.SvgElement.durationChangeEvent.forElement(this); - } - get [S.$onEmptied]() { - return svg$.SvgElement.emptiedEvent.forElement(this); - } - get [S.$onEnded]() { - return svg$.SvgElement.endedEvent.forElement(this); - } - get [S.$onError]() { - return svg$.SvgElement.errorEvent.forElement(this); - } - get [S.$onFocus]() { - return svg$.SvgElement.focusEvent.forElement(this); - } - get [S.$onInput]() { - return svg$.SvgElement.inputEvent.forElement(this); - } - get [S.$onInvalid]() { - return svg$.SvgElement.invalidEvent.forElement(this); - } - get [S.$onKeyDown]() { - return svg$.SvgElement.keyDownEvent.forElement(this); - } - get [S.$onKeyPress]() { - return svg$.SvgElement.keyPressEvent.forElement(this); - } - get [S.$onKeyUp]() { - return svg$.SvgElement.keyUpEvent.forElement(this); - } - get [S.$onLoad]() { - return svg$.SvgElement.loadEvent.forElement(this); - } - get [S.$onLoadedData]() { - return svg$.SvgElement.loadedDataEvent.forElement(this); - } - get [S.$onLoadedMetadata]() { - return svg$.SvgElement.loadedMetadataEvent.forElement(this); - } - get [S.$onMouseDown]() { - return svg$.SvgElement.mouseDownEvent.forElement(this); - } - get [S$.$onMouseEnter]() { - return svg$.SvgElement.mouseEnterEvent.forElement(this); - } - get [S$.$onMouseLeave]() { - return svg$.SvgElement.mouseLeaveEvent.forElement(this); - } - get [S$.$onMouseMove]() { - return svg$.SvgElement.mouseMoveEvent.forElement(this); - } - get [S$.$onMouseOut]() { - return svg$.SvgElement.mouseOutEvent.forElement(this); - } - get [S$.$onMouseOver]() { - return svg$.SvgElement.mouseOverEvent.forElement(this); - } - get [S$.$onMouseUp]() { - return svg$.SvgElement.mouseUpEvent.forElement(this); - } - get [S$.$onMouseWheel]() { - return svg$.SvgElement.mouseWheelEvent.forElement(this); - } - get [S$.$onPause]() { - return svg$.SvgElement.pauseEvent.forElement(this); - } - get [S$.$onPlay]() { - return svg$.SvgElement.playEvent.forElement(this); - } - get [S$.$onPlaying]() { - return svg$.SvgElement.playingEvent.forElement(this); - } - get [S$.$onRateChange]() { - return svg$.SvgElement.rateChangeEvent.forElement(this); - } - get [S$.$onReset]() { - return svg$.SvgElement.resetEvent.forElement(this); - } - get [S$.$onResize]() { - return svg$.SvgElement.resizeEvent.forElement(this); - } - get [S$.$onScroll]() { - return svg$.SvgElement.scrollEvent.forElement(this); - } - get [S$.$onSeeked]() { - return svg$.SvgElement.seekedEvent.forElement(this); - } - get [S$.$onSeeking]() { - return svg$.SvgElement.seekingEvent.forElement(this); - } - get [S$.$onSelect]() { - return svg$.SvgElement.selectEvent.forElement(this); - } - get [S$.$onStalled]() { - return svg$.SvgElement.stalledEvent.forElement(this); - } - get [S$.$onSubmit]() { - return svg$.SvgElement.submitEvent.forElement(this); - } - get [S$.$onSuspend]() { - return svg$.SvgElement.suspendEvent.forElement(this); - } - get [S$.$onTimeUpdate]() { - return svg$.SvgElement.timeUpdateEvent.forElement(this); - } - get [S$.$onTouchCancel]() { - return svg$.SvgElement.touchCancelEvent.forElement(this); - } - get [S$.$onTouchEnd]() { - return svg$.SvgElement.touchEndEvent.forElement(this); - } - get [S$.$onTouchMove]() { - return svg$.SvgElement.touchMoveEvent.forElement(this); - } - get [S$.$onTouchStart]() { - return svg$.SvgElement.touchStartEvent.forElement(this); - } - get [S$.$onVolumeChange]() { - return svg$.SvgElement.volumeChangeEvent.forElement(this); - } - get [S$.$onWaiting]() { - return svg$.SvgElement.waitingEvent.forElement(this); - } - get [S$.$onWheel]() { - return svg$.SvgElement.wheelEvent.forElement(this); - } -}; -(svg$.SvgElement.created = function() { - svg$.SvgElement.__proto__.created.call(this); - ; -}).prototype = svg$.SvgElement.prototype; -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, - [S.$isContentEditable]: core.bool, - [S$3._svgClassName]: svg$.AnimatedString, - [S$3.$ownerSvgElement]: dart.nullable(svg$.SvgSvgElement), - [S$3.$viewportElement]: dart.nullable(svg$.SvgElement), - [S.$nonce]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.SvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgElement.__proto__), - [S.$nonce]: dart.nullable(core.String) -})); -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[224] || CT.C224; - }, - /*svg$.SvgElement.blurEvent*/get blurEvent() { - return C[243] || CT.C243; - }, - /*svg$.SvgElement.canPlayEvent*/get canPlayEvent() { - return C[244] || CT.C244; - }, - /*svg$.SvgElement.canPlayThroughEvent*/get canPlayThroughEvent() { - return C[245] || CT.C245; - }, - /*svg$.SvgElement.changeEvent*/get changeEvent() { - return C[246] || CT.C246; - }, - /*svg$.SvgElement.clickEvent*/get clickEvent() { - return C[247] || CT.C247; - }, - /*svg$.SvgElement.contextMenuEvent*/get contextMenuEvent() { - return C[248] || CT.C248; - }, - /*svg$.SvgElement.doubleClickEvent*/get doubleClickEvent() { - return C[251] || CT.C251; - }, - /*svg$.SvgElement.dragEvent*/get dragEvent() { - return C[252] || CT.C252; - }, - /*svg$.SvgElement.dragEndEvent*/get dragEndEvent() { - return C[253] || CT.C253; - }, - /*svg$.SvgElement.dragEnterEvent*/get dragEnterEvent() { - return C[254] || CT.C254; - }, - /*svg$.SvgElement.dragLeaveEvent*/get dragLeaveEvent() { - return C[255] || CT.C255; - }, - /*svg$.SvgElement.dragOverEvent*/get dragOverEvent() { - return C[256] || CT.C256; - }, - /*svg$.SvgElement.dragStartEvent*/get dragStartEvent() { - return C[257] || CT.C257; - }, - /*svg$.SvgElement.dropEvent*/get dropEvent() { - return C[258] || CT.C258; - }, - /*svg$.SvgElement.durationChangeEvent*/get durationChangeEvent() { - return C[259] || CT.C259; - }, - /*svg$.SvgElement.emptiedEvent*/get emptiedEvent() { - return C[260] || CT.C260; - }, - /*svg$.SvgElement.endedEvent*/get endedEvent() { - return C[261] || CT.C261; - }, - /*svg$.SvgElement.errorEvent*/get errorEvent() { - return C[226] || CT.C226; - }, - /*svg$.SvgElement.focusEvent*/get focusEvent() { - return C[262] || CT.C262; - }, - /*svg$.SvgElement.inputEvent*/get inputEvent() { - return C[263] || CT.C263; - }, - /*svg$.SvgElement.invalidEvent*/get invalidEvent() { - return C[264] || CT.C264; - }, - /*svg$.SvgElement.keyDownEvent*/get keyDownEvent() { - return C[265] || CT.C265; - }, - /*svg$.SvgElement.keyPressEvent*/get keyPressEvent() { - return C[266] || CT.C266; - }, - /*svg$.SvgElement.keyUpEvent*/get keyUpEvent() { - return C[267] || CT.C267; - }, - /*svg$.SvgElement.loadEvent*/get loadEvent() { - return C[268] || CT.C268; - }, - /*svg$.SvgElement.loadedDataEvent*/get loadedDataEvent() { - return C[269] || CT.C269; - }, - /*svg$.SvgElement.loadedMetadataEvent*/get loadedMetadataEvent() { - return C[270] || CT.C270; - }, - /*svg$.SvgElement.mouseDownEvent*/get mouseDownEvent() { - return C[271] || CT.C271; - }, - /*svg$.SvgElement.mouseEnterEvent*/get mouseEnterEvent() { - return C[272] || CT.C272; - }, - /*svg$.SvgElement.mouseLeaveEvent*/get mouseLeaveEvent() { - return C[273] || CT.C273; - }, - /*svg$.SvgElement.mouseMoveEvent*/get mouseMoveEvent() { - return C[274] || CT.C274; - }, - /*svg$.SvgElement.mouseOutEvent*/get mouseOutEvent() { - return C[275] || CT.C275; - }, - /*svg$.SvgElement.mouseOverEvent*/get mouseOverEvent() { - return C[276] || CT.C276; - }, - /*svg$.SvgElement.mouseUpEvent*/get mouseUpEvent() { - return C[277] || CT.C277; - }, - /*svg$.SvgElement.mouseWheelEvent*/get mouseWheelEvent() { - return C[352] || CT.C352; - }, - /*svg$.SvgElement.pauseEvent*/get pauseEvent() { - return C[279] || CT.C279; - }, - /*svg$.SvgElement.playEvent*/get playEvent() { - return C[280] || CT.C280; - }, - /*svg$.SvgElement.playingEvent*/get playingEvent() { - return C[281] || CT.C281; - }, - /*svg$.SvgElement.rateChangeEvent*/get rateChangeEvent() { - return C[282] || CT.C282; - }, - /*svg$.SvgElement.resetEvent*/get resetEvent() { - return C[283] || CT.C283; - }, - /*svg$.SvgElement.resizeEvent*/get resizeEvent() { - return C[284] || CT.C284; - }, - /*svg$.SvgElement.scrollEvent*/get scrollEvent() { - return C[285] || CT.C285; - }, - /*svg$.SvgElement.seekedEvent*/get seekedEvent() { - return C[287] || CT.C287; - }, - /*svg$.SvgElement.seekingEvent*/get seekingEvent() { - return C[288] || CT.C288; - }, - /*svg$.SvgElement.selectEvent*/get selectEvent() { - return C[289] || CT.C289; - }, - /*svg$.SvgElement.stalledEvent*/get stalledEvent() { - return C[291] || CT.C291; - }, - /*svg$.SvgElement.submitEvent*/get submitEvent() { - return C[292] || CT.C292; - }, - /*svg$.SvgElement.suspendEvent*/get suspendEvent() { - return C[293] || CT.C293; - }, - /*svg$.SvgElement.timeUpdateEvent*/get timeUpdateEvent() { - return C[294] || CT.C294; - }, - /*svg$.SvgElement.touchCancelEvent*/get touchCancelEvent() { - return C[295] || CT.C295; - }, - /*svg$.SvgElement.touchEndEvent*/get touchEndEvent() { - return C[296] || CT.C296; - }, - /*svg$.SvgElement.touchMoveEvent*/get touchMoveEvent() { - return C[299] || CT.C299; - }, - /*svg$.SvgElement.touchStartEvent*/get touchStartEvent() { - return C[300] || CT.C300; - }, - /*svg$.SvgElement.volumeChangeEvent*/get volumeChangeEvent() { - return C[301] || CT.C301; - }, - /*svg$.SvgElement.waitingEvent*/get waitingEvent() { - return C[302] || CT.C302; - }, - /*svg$.SvgElement.wheelEvent*/get wheelEvent() { - 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; - } - get [S$3.$nearestViewportElement]() { - return this.nearestViewportElement; - } - get [S$.$transform]() { - return this.transform; - } - [S$3.$getBBox](...args) { - return this.getBBox.apply(this, args); - } - [S$3.$getCtm](...args) { - return this.getCTM.apply(this, args); - } - [S$3.$getScreenCtm](...args) { - return this.getScreenCTM.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.GraphicsElement.created = function() { - svg$.GraphicsElement.__proto__.created.call(this); - ; -}).prototype = svg$.GraphicsElement.prototype; -dart.addTypeTests(svg$.GraphicsElement); -dart.addTypeCaches(svg$.GraphicsElement); -svg$.GraphicsElement[dart.implements] = () => [svg$.Tests]; -dart.setMethodSignature(svg$.GraphicsElement, () => ({ - __proto__: dart.getMethods(svg$.GraphicsElement.__proto__), - [S$3.$getBBox]: dart.fnType(svg$.Rect, []), - [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), - [S$3.$nearestViewportElement]: dart.nullable(svg$.SvgElement), - [S$.$transform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -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; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.AElement.created = function() { - svg$.AElement.__proto__.created.call(this); - ; -}).prototype = svg$.AElement.prototype; -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[159]); -dart.registerExtension("SVGAElement", svg$.AElement); -svg$.Angle = class Angle extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Angle.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } -}; -dart.addTypeTests(svg$.Angle); -dart.addTypeCaches(svg$.Angle); -dart.setMethodSignature(svg$.Angle, () => ({ - __proto__: dart.getMethods(svg$.Angle.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Angle, () => ({ - __proto__: dart.getSetters(svg$.Angle.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -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; - }, - /*svg$.Angle.SVG_ANGLETYPE_GRAD*/get SVG_ANGLETYPE_GRAD() { - return 4; - }, - /*svg$.Angle.SVG_ANGLETYPE_RAD*/get SVG_ANGLETYPE_RAD() { - return 3; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNKNOWN*/get SVG_ANGLETYPE_UNKNOWN() { - return 0; - }, - /*svg$.Angle.SVG_ANGLETYPE_UNSPECIFIED*/get SVG_ANGLETYPE_UNSPECIFIED() { - return 1; - } -}, 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; - } - [S$3.$beginElement](...args) { - return this.beginElement.apply(this, args); - } - [S$3.$beginElementAt](...args) { - return this.beginElementAt.apply(this, args); - } - [S$3.$endElement](...args) { - return this.endElement.apply(this, args); - } - [S$3.$endElementAt](...args) { - return this.endElementAt.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$3.$getSimpleDuration](...args) { - return this.getSimpleDuration.apply(this, args); - } - [S$3.$getStartTime](...args) { - return this.getStartTime.apply(this, args); - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.AnimationElement.created = function() { - svg$.AnimationElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimationElement.prototype; -dart.addTypeTests(svg$.AnimationElement); -dart.addTypeCaches(svg$.AnimationElement); -svg$.AnimationElement[dart.implements] = () => [svg$.Tests]; -dart.setMethodSignature(svg$.AnimationElement, () => ({ - __proto__: dart.getMethods(svg$.AnimationElement.__proto__), - [S$3.$beginElement]: dart.fnType(dart.void, []), - [S$3.$beginElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$endElement]: dart.fnType(dart.void, []), - [S$3.$endElementAt]: dart.fnType(dart.void, [core.num]), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [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[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")); - } -}; -(svg$.AnimateElement.created = function() { - svg$.AnimateElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateElement.prototype; -dart.addTypeTests(svg$.AnimateElement); -dart.addTypeCaches(svg$.AnimateElement); -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")); - } -}; -(svg$.AnimateMotionElement.created = function() { - svg$.AnimateMotionElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateMotionElement.prototype; -dart.addTypeTests(svg$.AnimateMotionElement); -dart.addTypeCaches(svg$.AnimateMotionElement); -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")); - } -}; -(svg$.AnimateTransformElement.created = function() { - svg$.AnimateTransformElement.__proto__.created.call(this); - ; -}).prototype = svg$.AnimateTransformElement.prototype; -dart.addTypeTests(svg$.AnimateTransformElement); -dart.addTypeCaches(svg$.AnimateTransformElement); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedAngle.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedAngle", svg$.AnimatedAngle); -svg$.AnimatedBoolean = class AnimatedBoolean extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedBoolean.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.bool) -})); -dart.setSetterSignature(svg$.AnimatedBoolean, () => ({ - __proto__: dart.getSetters(svg$.AnimatedBoolean.__proto__), - [S$3.$baseVal]: dart.nullable(core.bool) -})); -dart.setLibraryUri(svg$.AnimatedBoolean, I[159]); -dart.registerExtension("SVGAnimatedBoolean", svg$.AnimatedBoolean); -svg$.AnimatedEnumeration = class AnimatedEnumeration extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedEnumeration.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.AnimatedEnumeration, () => ({ - __proto__: dart.getSetters(svg$.AnimatedEnumeration.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.AnimatedEnumeration, I[159]); -dart.registerExtension("SVGAnimatedEnumeration", svg$.AnimatedEnumeration); -svg$.AnimatedInteger = class AnimatedInteger extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedInteger.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.AnimatedInteger, () => ({ - __proto__: dart.getSetters(svg$.AnimatedInteger.__proto__), - [S$3.$baseVal]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.AnimatedInteger, I[159]); -dart.registerExtension("SVGAnimatedInteger", svg$.AnimatedInteger); -svg$.AnimatedLength = class AnimatedLength extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLength.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedLength", svg$.AnimatedLength); -svg$.AnimatedLengthList = class AnimatedLengthList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedLengthList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedLengthList", svg$.AnimatedLengthList); -svg$.AnimatedNumber = class AnimatedNumber extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumber.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.AnimatedNumber, () => ({ - __proto__: dart.getSetters(svg$.AnimatedNumber.__proto__), - [S$3.$baseVal]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.AnimatedNumber, I[159]); -dart.registerExtension("SVGAnimatedNumber", svg$.AnimatedNumber); -svg$.AnimatedNumberList = class AnimatedNumberList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedNumberList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedNumberList", svg$.AnimatedNumberList); -svg$.AnimatedPreserveAspectRatio = class AnimatedPreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedPreserveAspectRatio.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedPreserveAspectRatio", svg$.AnimatedPreserveAspectRatio); -svg$.AnimatedRect = class AnimatedRect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedRect.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[159]); -dart.registerExtension("SVGAnimatedRect", svg$.AnimatedRect); -svg$.AnimatedString = class AnimatedString extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedString.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } - set [S$3.$baseVal](value) { - this.baseVal = value; - } -}; -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), - [S$3.$baseVal]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.AnimatedString, () => ({ - __proto__: dart.getSetters(svg$.AnimatedString.__proto__), - [S$3.$baseVal]: dart.nullable(core.String) -})); -dart.setLibraryUri(svg$.AnimatedString, I[159]); -dart.registerExtension("SVGAnimatedString", svg$.AnimatedString); -svg$.AnimatedTransformList = class AnimatedTransformList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.AnimatedTransformList.__(); - } - get [S$3.$animVal]() { - return this.animVal; - } - get [S$3.$baseVal]() { - return this.baseVal; - } -}; -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[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; - } - [S$3.$getPointAtLength](...args) { - return this.getPointAtLength.apply(this, args); - } - [S$3.$getTotalLength](...args) { - return this.getTotalLength.apply(this, args); - } - [S$3.$isPointInFill](...args) { - return this.isPointInFill.apply(this, args); - } - [S$.$isPointInStroke](...args) { - return this.isPointInStroke.apply(this, args); - } -}; -(svg$.GeometryElement.created = function() { - svg$.GeometryElement.__proto__.created.call(this); - ; -}).prototype = svg$.GeometryElement.prototype; -dart.addTypeTests(svg$.GeometryElement); -dart.addTypeCaches(svg$.GeometryElement); -dart.setMethodSignature(svg$.GeometryElement, () => ({ - __proto__: dart.getMethods(svg$.GeometryElement.__proto__), - [S$3.$getPointAtLength]: dart.fnType(svg$.Point, [core.num]), - [S$3.$getTotalLength]: dart.fnType(core.double, []), - [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[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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$r]() { - return this.r; - } -}; -(svg$.CircleElement.created = function() { - svg$.CircleElement.__proto__.created.call(this); - ; -}).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[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; - } -}; -(svg$.ClipPathElement.created = function() { - svg$.ClipPathElement.__proto__.created.call(this); - ; -}).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[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); - ; -}).prototype = svg$.DefsElement.prototype; -dart.addTypeTests(svg$.DefsElement); -dart.addTypeCaches(svg$.DefsElement); -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); - ; -}).prototype = svg$.DescElement.prototype; -dart.addTypeTests(svg$.DescElement); -dart.addTypeCaches(svg$.DescElement); -dart.setStaticMethodSignature(svg$.DescElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.DescElement, I[159]); -dart.registerExtension("SVGDescElement", svg$.DescElement); -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.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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } -}; -(svg$.EllipseElement.created = function() { - svg$.EllipseElement.__proto__.created.call(this); - ; -}).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S.$mode]() { - return this.mode; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEBlendElement.created = function() { - svg$.FEBlendElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEBlendElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S.$mode]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_LIGHTEN*/get SVG_FEBLEND_MODE_LIGHTEN() { - return 5; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_MULTIPLY*/get SVG_FEBLEND_MODE_MULTIPLY() { - return 2; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_NORMAL*/get SVG_FEBLEND_MODE_NORMAL() { - return 1; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_SCREEN*/get SVG_FEBLEND_MODE_SCREEN() { - return 3; - }, - /*svg$.FEBlendElement.SVG_FEBLEND_MODE_UNKNOWN*/get SVG_FEBLEND_MODE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S.$type]() { - return this.type; - } - get [$values]() { - return this.values; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEColorMatrixElement.created = function() { - svg$.FEColorMatrixElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEColorMatrixElement.prototype; -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, - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$values]: dart.nullable(svg$.AnimatedNumberList), - [$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.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; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA*/get SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA() { - return 4; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX*/get SVG_FECOLORMATRIX_TYPE_MATRIX() { - return 1; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE*/get SVG_FECOLORMATRIX_TYPE_SATURATE() { - return 2; - }, - /*svg$.FEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN*/get SVG_FECOLORMATRIX_TYPE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEComponentTransferElement.created = function() { - svg$.FEComponentTransferElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEComponentTransferElement.prototype; -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), - [$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.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; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$3.$k1]() { - return this.k1; - } - get [S$3.$k2]() { - return this.k2; - } - get [S$3.$k3]() { - return this.k3; - } - get [S$3.$k4]() { - return this.k4; - } - get [S$3.$operator]() { - return this.operator; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FECompositeElement.created = function() { - svg$.FECompositeElement.__proto__.created.call(this); - ; -}).prototype = svg$.FECompositeElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$3.$k1]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k2]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k3]: dart.nullable(svg$.AnimatedNumber), - [S$3.$k4]: dart.nullable(svg$.AnimatedNumber), - [S$3.$operator]: dart.nullable(svg$.AnimatedEnumeration), - [$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$.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; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP*/get SVG_FECOMPOSITE_OPERATOR_ATOP() { - return 4; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN*/get SVG_FECOMPOSITE_OPERATOR_IN() { - return 2; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT*/get SVG_FECOMPOSITE_OPERATOR_OUT() { - return 3; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER*/get SVG_FECOMPOSITE_OPERATOR_OVER() { - return 1; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN*/get SVG_FECOMPOSITE_OPERATOR_UNKNOWN() { - return 0; - }, - /*svg$.FECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR*/get SVG_FECOMPOSITE_OPERATOR_XOR() { - return 5; - } -}, 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")); - } - get [S$3.$bias]() { - return this.bias; - } - get [S$3.$divisor]() { - return this.divisor; - } - get [S$3.$edgeMode]() { - return this.edgeMode; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelMatrix]() { - return this.kernelMatrix; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$orderX]() { - return this.orderX; - } - get [S$3.$orderY]() { - return this.orderY; - } - get [S$3.$preserveAlpha]() { - return this.preserveAlpha; - } - get [S$3.$targetX]() { - return this.targetX; - } - get [S$3.$targetY]() { - return this.targetY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEConvolveMatrixElement.created = function() { - svg$.FEConvolveMatrixElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEConvolveMatrixElement.prototype; -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), - [S$3.$divisor]: dart.nullable(svg$.AnimatedNumber), - [S$3.$edgeMode]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelMatrix]: dart.nullable(svg$.AnimatedNumberList), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$orderX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$orderY]: dart.nullable(svg$.AnimatedInteger), - [S$3.$preserveAlpha]: dart.nullable(svg$.AnimatedBoolean), - [S$3.$targetX]: dart.nullable(svg$.AnimatedInteger), - [S$3.$targetY]: dart.nullable(svg$.AnimatedInteger), - [$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.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; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_NONE*/get SVG_EDGEMODE_NONE() { - return 3; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN*/get SVG_EDGEMODE_UNKNOWN() { - return 0; - }, - /*svg$.FEConvolveMatrixElement.SVG_EDGEMODE_WRAP*/get SVG_EDGEMODE_WRAP() { - return 2; - } -}, 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")); - } - get [S$3.$diffuseConstant]() { - return this.diffuseConstant; - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEDiffuseLightingElement.created = function() { - svg$.FEDiffuseLightingElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEDiffuseLightingElement.prototype; -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), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$in2]() { - return this.in2; - } - get [S$.$scale]() { - return this.scale; - } - get [S$3.$xChannelSelector]() { - return this.xChannelSelector; - } - get [S$3.$yChannelSelector]() { - return this.yChannelSelector; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEDisplacementMapElement.created = function() { - svg$.FEDisplacementMapElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEDisplacementMapElement.prototype; -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), - [S$3.$in2]: dart.nullable(svg$.AnimatedString), - [S$.$scale]: dart.nullable(svg$.AnimatedNumber), - [S$3.$xChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$yChannelSelector]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_B*/get SVG_CHANNEL_B() { - return 3; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_G*/get SVG_CHANNEL_G() { - return 2; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_R*/get SVG_CHANNEL_R() { - return 1; - }, - /*svg$.FEDisplacementMapElement.SVG_CHANNEL_UNKNOWN*/get SVG_CHANNEL_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$azimuth]() { - return this.azimuth; - } - get [S$3.$elevation]() { - return this.elevation; - } -}; -(svg$.FEDistantLightElement.created = function() { - svg$.FEDistantLightElement.__proto__.created.call(this); - ; -}).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.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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEFloodElement.created = function() { - svg$.FEFloodElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFloodElement.prototype; -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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -dart.setStaticGetterSignature(svg$.FEFloodElement, () => ['supported']); -dart.setLibraryUri(svg$.FEFloodElement, I[159]); -dart.registerExtension("SVGFEFloodElement", svg$.FEFloodElement); -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.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")); - } -}; -(svg$.FEFuncAElement.created = function() { - svg$.FEFuncAElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncAElement.prototype; -dart.addTypeTests(svg$.FEFuncAElement); -dart.addTypeCaches(svg$.FEFuncAElement); -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")); - } -}; -(svg$.FEFuncBElement.created = function() { - svg$.FEFuncBElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncBElement.prototype; -dart.addTypeTests(svg$.FEFuncBElement); -dart.addTypeCaches(svg$.FEFuncBElement); -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")); - } -}; -(svg$.FEFuncGElement.created = function() { - svg$.FEFuncGElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncGElement.prototype; -dart.addTypeTests(svg$.FEFuncGElement); -dart.addTypeCaches(svg$.FEFuncGElement); -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")); - } -}; -(svg$.FEFuncRElement.created = function() { - svg$.FEFuncRElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEFuncRElement.prototype; -dart.addTypeTests(svg$.FEFuncRElement); -dart.addTypeCaches(svg$.FEFuncRElement); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$stdDeviationX]() { - return this.stdDeviationX; - } - get [S$3.$stdDeviationY]() { - return this.stdDeviationY; - } - [S$3.$setStdDeviation](...args) { - return this.setStdDeviation.apply(this, args); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEGaussianBlurElement.created = function() { - svg$.FEGaussianBlurElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEGaussianBlurElement.prototype; -dart.addTypeTests(svg$.FEGaussianBlurElement); -dart.addTypeCaches(svg$.FEGaussianBlurElement); -svg$.FEGaussianBlurElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -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), - [S$3.$stdDeviationX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stdDeviationY]: 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.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")); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.FEImageElement.created = function() { - svg$.FEImageElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEImageElement.prototype; -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), - [$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), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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")); - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEMergeElement.created = function() { - svg$.FEMergeElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEMergeElement.prototype; -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), - [S.$result]: dart.nullable(svg$.AnimatedString), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } -}; -(svg$.FEMergeNodeElement.created = function() { - svg$.FEMergeNodeElement.__proto__.created.call(this); - ; -}).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.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$3.$radiusX]() { - return this.radiusX; - } - get [S$3.$radiusY]() { - return this.radiusY; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEMorphologyElement.created = function() { - svg$.FEMorphologyElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEMorphologyElement.prototype; -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$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[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; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE*/get SVG_MORPHOLOGY_OPERATOR_ERODE() { - return 1; - }, - /*svg$.FEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN*/get SVG_MORPHOLOGY_OPERATOR_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$dx]() { - return this.dx; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FEOffsetElement.created = function() { - svg$.FEOffsetElement.__proto__.created.call(this); - ; -}).prototype = svg$.FEOffsetElement.prototype; -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), - [S$3.$dy]: dart.nullable(svg$.AnimatedNumber), - [S$3.$in1]: dart.nullable(svg$.AnimatedString), - [$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.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")); - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -(svg$.FEPointLightElement.created = function() { - svg$.FEPointLightElement.__proto__.created.call(this); - ; -}).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.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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [S$3.$kernelUnitLengthX]() { - return this.kernelUnitLengthX; - } - get [S$3.$kernelUnitLengthY]() { - return this.kernelUnitLengthY; - } - get [S$3.$specularConstant]() { - return this.specularConstant; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$3.$surfaceScale]() { - return this.surfaceScale; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FESpecularLightingElement.created = function() { - svg$.FESpecularLightingElement.__proto__.created.call(this); - ; -}).prototype = svg$.FESpecularLightingElement.prototype; -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), - [S$3.$kernelUnitLengthX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$kernelUnitLengthY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularConstant]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$3.$surfaceScale]: 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.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")); - } - get [S$3.$limitingConeAngle]() { - return this.limitingConeAngle; - } - get [S$3.$pointsAtX]() { - return this.pointsAtX; - } - get [S$3.$pointsAtY]() { - return this.pointsAtY; - } - get [S$3.$pointsAtZ]() { - return this.pointsAtZ; - } - get [S$3.$specularExponent]() { - return this.specularExponent; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$z]() { - return this.z; - } -}; -(svg$.FESpotLightElement.created = function() { - svg$.FESpotLightElement.__proto__.created.call(this); - ; -}).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), - [S$3.$pointsAtX]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$pointsAtZ]: dart.nullable(svg$.AnimatedNumber), - [S$3.$specularExponent]: dart.nullable(svg$.AnimatedNumber), - [S$.$x]: dart.nullable(svg$.AnimatedNumber), - [S$.$y]: dart.nullable(svg$.AnimatedNumber), - [S$.$z]: dart.nullable(svg$.AnimatedNumber) -})); -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")); - } - get [S$3.$in1]() { - return this.in1; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FETileElement.created = function() { - svg$.FETileElement.__proto__.created.call(this); - ; -}).prototype = svg$.FETileElement.prototype; -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), - [$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.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")); - } - get [S$3.$baseFrequencyX]() { - return this.baseFrequencyX; - } - get [S$3.$baseFrequencyY]() { - return this.baseFrequencyY; - } - get [S$3.$numOctaves]() { - return this.numOctaves; - } - get [S$3.$seed]() { - return this.seed; - } - get [S$3.$stitchTiles]() { - return this.stitchTiles; - } - get [S.$type]() { - return this.type; - } - get [$height]() { - return this.height; - } - get [S.$result]() { - return this.result; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.FETurbulenceElement.created = function() { - svg$.FETurbulenceElement.__proto__.created.call(this); - ; -}).prototype = svg$.FETurbulenceElement.prototype; -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), - [S$3.$baseFrequencyY]: dart.nullable(svg$.AnimatedNumber), - [S$3.$numOctaves]: dart.nullable(svg$.AnimatedInteger), - [S$3.$seed]: dart.nullable(svg$.AnimatedNumber), - [S$3.$stitchTiles]: dart.nullable(svg$.AnimatedEnumeration), - [S.$type]: dart.nullable(svg$.AnimatedEnumeration), - [$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.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; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_STITCH*/get SVG_STITCHTYPE_STITCH() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_STITCHTYPE_UNKNOWN*/get SVG_STITCHTYPE_UNKNOWN() { - return 0; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE*/get SVG_TURBULENCE_TYPE_FRACTALNOISE() { - return 1; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE*/get SVG_TURBULENCE_TYPE_TURBULENCE() { - return 2; - }, - /*svg$.FETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN*/get SVG_TURBULENCE_TYPE_UNKNOWN() { - return 0; - } -}, 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")); - } - get [S$3.$filterUnits]() { - return this.filterUnits; - } - get [$height]() { - return this.height; - } - get [S$3.$primitiveUnits]() { - return this.primitiveUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.FilterElement.created = function() { - svg$.FilterElement.__proto__.created.call(this); - ; -}).prototype = svg$.FilterElement.prototype; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$primitiveUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setStaticGetterSignature(svg$.FilterElement, () => ['supported']); -dart.setLibraryUri(svg$.FilterElement, I[159]); -dart.registerExtension("SVGFilterElement", svg$.FilterElement); -svg$.FilterPrimitiveStandardAttributes = class FilterPrimitiveStandardAttributes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FilterPrimitiveStandardAttributes.__(); - } - get height() { - return this.height; - } - get result() { - return this.result; - } - get width() { - return this.width; - } - get x() { - return this.x; - } - get y() { - return this.y; - } -}; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - result: dart.nullable(svg$.AnimatedString), - [S.$result]: dart.nullable(svg$.AnimatedString), - width: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - x: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - y: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -dart.setLibraryUri(svg$.FilterPrimitiveStandardAttributes, I[159]); -dart.defineExtensionAccessors(svg$.FilterPrimitiveStandardAttributes, [ - 'height', - 'result', - 'width', - 'x', - 'y' -]); -svg$.FitToViewBox = class FitToViewBox extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.FitToViewBox.__(); - } - get preserveAspectRatio() { - return this.preserveAspectRatio; - } - get viewBox() { - return this.viewBox; - } -}; -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), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - viewBox: dart.nullable(svg$.AnimatedRect), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) -})); -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")); - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.ForeignObjectElement.created = function() { - svg$.ForeignObjectElement.__proto__.created.call(this); - ; -}).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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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); - ; -}).prototype = svg$.GElement.prototype; -dart.addTypeTests(svg$.GElement); -dart.addTypeCaches(svg$.GElement); -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; - } - set [S$1.$async](value) { - this.async = value; - } - get [$height]() { - return this.height; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$1.$decode]() { - return js_util.promiseToFuture(dart.dynamic, this.decode()); - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.ImageElement.created = function() { - svg$.ImageElement.__proto__.created.call(this); - ; -}).prototype = svg$.ImageElement.prototype; -dart.addTypeTests(svg$.ImageElement); -dart.addTypeCaches(svg$.ImageElement); -svg$.ImageElement[dart.implements] = () => [svg$.UriReference]; -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), - [$height]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setSetterSignature(svg$.ImageElement, () => ({ - __proto__: dart.getSetters(svg$.ImageElement.__proto__), - [S$1.$async]: dart.nullable(core.String) -})); -dart.setLibraryUri(svg$.ImageElement, I[159]); -dart.registerExtension("SVGImageElement", svg$.ImageElement); -svg$.Length = class Length extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Length.__(); - } - get [S$3.$unitType]() { - return this.unitType; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - get [S$3.$valueAsString]() { - return this.valueAsString; - } - set [S$3.$valueAsString](value) { - this.valueAsString = value; - } - get [S$3.$valueInSpecifiedUnits]() { - return this.valueInSpecifiedUnits; - } - set [S$3.$valueInSpecifiedUnits](value) { - this.valueInSpecifiedUnits = value; - } - [S$3.$convertToSpecifiedUnits](...args) { - return this.convertToSpecifiedUnits.apply(this, args); - } - [S$3.$newValueSpecifiedUnits](...args) { - return this.newValueSpecifiedUnits.apply(this, args); - } -}; -dart.addTypeTests(svg$.Length); -dart.addTypeCaches(svg$.Length); -dart.setMethodSignature(svg$.Length, () => ({ - __proto__: dart.getMethods(svg$.Length.__proto__), - [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), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Length, () => ({ - __proto__: dart.getSetters(svg$.Length.__proto__), - [S.$value]: dart.nullable(core.num), - [S$3.$valueAsString]: dart.nullable(core.String), - [S$3.$valueInSpecifiedUnits]: dart.nullable(core.num) -})); -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; - }, - /*svg$.Length.SVG_LENGTHTYPE_EMS*/get SVG_LENGTHTYPE_EMS() { - return 3; - }, - /*svg$.Length.SVG_LENGTHTYPE_EXS*/get SVG_LENGTHTYPE_EXS() { - return 4; - }, - /*svg$.Length.SVG_LENGTHTYPE_IN*/get SVG_LENGTHTYPE_IN() { - return 8; - }, - /*svg$.Length.SVG_LENGTHTYPE_MM*/get SVG_LENGTHTYPE_MM() { - return 7; - }, - /*svg$.Length.SVG_LENGTHTYPE_NUMBER*/get SVG_LENGTHTYPE_NUMBER() { - return 1; - }, - /*svg$.Length.SVG_LENGTHTYPE_PC*/get SVG_LENGTHTYPE_PC() { - return 10; - }, - /*svg$.Length.SVG_LENGTHTYPE_PERCENTAGE*/get SVG_LENGTHTYPE_PERCENTAGE() { - return 2; - }, - /*svg$.Length.SVG_LENGTHTYPE_PT*/get SVG_LENGTHTYPE_PT() { - return 9; - }, - /*svg$.Length.SVG_LENGTHTYPE_PX*/get SVG_LENGTHTYPE_PX() { - return 5; - }, - /*svg$.Length.SVG_LENGTHTYPE_UNKNOWN*/get SVG_LENGTHTYPE_UNKNOWN() { - return 0; - } -}, false); -dart.registerExtension("SVGLength", svg$.Length); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2059, 25, "index"); - svg$.Length.as(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[158], 2065, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2093, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.LengthList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.LengthList); -dart.addTypeCaches(svg$.LengthList); -svg$.LengthList[dart.implements] = () => [core.List$(svg$.Length)]; -dart.setMethodSignature(svg$.LengthList, () => ({ - __proto__: dart.getMethods(svg$.LengthList.__proto__), - [$_get]: dart.fnType(svg$.Length, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Length]), - [S$3.$appendItem]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$getItem]: dart.fnType(svg$.Length, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Length, [svg$.Length]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Length, [svg$.Length, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.LengthList, () => ({ - __proto__: dart.getSetters(svg$.LengthList.__proto__), - [$length]: core.int -})); -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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } -}; -(svg$.LineElement.created = function() { - svg$.LineElement.__proto__.created.call(this); - ; -}).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - get [S$3.$gradientUnits]() { - return this.gradientUnits; - } - get [S$3.$spreadMethod]() { - return this.spreadMethod; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$._GradientElement.created = function() { - svg$._GradientElement.__proto__.created.call(this); - ; -}).prototype = svg$._GradientElement.prototype; -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), - [S$3.$gradientUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$spreadMethod]: dart.nullable(svg$.AnimatedEnumeration), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REFLECT*/get SVG_SPREADMETHOD_REFLECT() { - return 2; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_REPEAT*/get SVG_SPREADMETHOD_REPEAT() { - return 3; - }, - /*svg$._GradientElement.SVG_SPREADMETHOD_UNKNOWN*/get SVG_SPREADMETHOD_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$x2]() { - return this.x2; - } - get [S$3.$y1]() { - return this.y1; - } - get [S$3.$y2]() { - return this.y2; - } -}; -(svg$.LinearGradientElement.created = function() { - svg$.LinearGradientElement.__proto__.created.call(this); - ; -}).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), - [S$3.$x2]: dart.nullable(svg$.AnimatedLength), - [S$3.$y1]: dart.nullable(svg$.AnimatedLength), - [S$3.$y2]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - get [S$3.$markerUnits]() { - return this.markerUnits; - } - get [S$3.$markerWidth]() { - return this.markerWidth; - } - get [S$3.$orientAngle]() { - return this.orientAngle; - } - get [S$3.$orientType]() { - return this.orientType; - } - get [S$3.$refX]() { - return this.refX; - } - get [S$3.$refY]() { - return this.refY; - } - [S$3.$setOrientToAngle](...args) { - return this.setOrientToAngle.apply(this, args); - } - [S$3.$setOrientToAuto](...args) { - return this.setOrientToAuto.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } -}; -(svg$.MarkerElement.created = function() { - svg$.MarkerElement.__proto__.created.call(this); - ; -}).prototype = svg$.MarkerElement.prototype; -dart.addTypeTests(svg$.MarkerElement); -dart.addTypeCaches(svg$.MarkerElement); -svg$.MarkerElement[dart.implements] = () => [svg$.FitToViewBox]; -dart.setMethodSignature(svg$.MarkerElement, () => ({ - __proto__: dart.getMethods(svg$.MarkerElement.__proto__), - [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, - [S$3.$markerUnits]: svg$.AnimatedEnumeration, - [S$3.$markerWidth]: svg$.AnimatedLength, - [S$3.$orientAngle]: dart.nullable(svg$.AnimatedAngle), - [S$3.$orientType]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$refX]: svg$.AnimatedLength, - [S$3.$refY]: svg$.AnimatedLength, - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect) -})); -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; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_UNKNOWN*/get SVG_MARKERUNITS_UNKNOWN() { - return 0; - }, - /*svg$.MarkerElement.SVG_MARKERUNITS_USERSPACEONUSE*/get SVG_MARKERUNITS_USERSPACEONUSE() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_ANGLE*/get SVG_MARKER_ORIENT_ANGLE() { - return 2; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_AUTO*/get SVG_MARKER_ORIENT_AUTO() { - return 1; - }, - /*svg$.MarkerElement.SVG_MARKER_ORIENT_UNKNOWN*/get SVG_MARKER_ORIENT_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$maskContentUnits]() { - return this.maskContentUnits; - } - get [S$3.$maskUnits]() { - return this.maskUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } -}; -(svg$.MaskElement.created = function() { - svg$.MaskElement.__proto__.created.call(this); - ; -}).prototype = svg$.MaskElement.prototype; -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), - [S$3.$maskContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$maskUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -dart.setLibraryUri(svg$.MaskElement, I[159]); -dart.registerExtension("SVGMaskElement", svg$.MaskElement); -svg$.Matrix = class Matrix extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Matrix.__(); - } - get [S$1.$a]() { - return this.a; - } - set [S$1.$a](value) { - this.a = value; - } - get [S$1.$b]() { - return this.b; - } - set [S$1.$b](value) { - this.b = value; - } - get [S$1.$c]() { - return this.c; - } - set [S$1.$c](value) { - this.c = value; - } - get [S$1.$d]() { - return this.d; - } - set [S$1.$d](value) { - this.d = value; - } - get [S$1.$e]() { - return this.e; - } - set [S$1.$e](value) { - this.e = value; - } - get [S$1.$f]() { - return this.f; - } - set [S$1.$f](value) { - this.f = value; - } - [S$1.$flipX](...args) { - return this.flipX.apply(this, args); - } - [S$1.$flipY](...args) { - return this.flipY.apply(this, args); - } - [S$1.$inverse](...args) { - return this.inverse.apply(this, args); - } - [S$1.$multiply](...args) { - return this.multiply.apply(this, args); - } - [S$.$rotate](...args) { - return this.rotate.apply(this, args); - } - [S$1.$rotateFromVector](...args) { - return this.rotateFromVector.apply(this, args); - } - [S$.$scale](...args) { - return this.scale.apply(this, args); - } - [S$3.$scaleNonUniform](...args) { - return this.scaleNonUniform.apply(this, args); - } - [S$1.$skewX](...args) { - return this.skewX.apply(this, args); - } - [S$1.$skewY](...args) { - return this.skewY.apply(this, args); - } - [S.$translate](...args) { - return this.translate.apply(this, args); - } -}; -dart.addTypeTests(svg$.Matrix); -dart.addTypeCaches(svg$.Matrix); -dart.setMethodSignature(svg$.Matrix, () => ({ - __proto__: dart.getMethods(svg$.Matrix.__proto__), - [S$1.$flipX]: dart.fnType(svg$.Matrix, []), - [S$1.$flipY]: dart.fnType(svg$.Matrix, []), - [S$1.$inverse]: dart.fnType(svg$.Matrix, []), - [S$1.$multiply]: dart.fnType(svg$.Matrix, [svg$.Matrix]), - [S$.$rotate]: dart.fnType(svg$.Matrix, [core.num]), - [S$1.$rotateFromVector]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$.$scale]: dart.fnType(svg$.Matrix, [core.num]), - [S$3.$scaleNonUniform]: dart.fnType(svg$.Matrix, [core.num, core.num]), - [S$1.$skewX]: dart.fnType(svg$.Matrix, [core.num]), - [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), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Matrix, () => ({ - __proto__: dart.getSetters(svg$.Matrix.__proto__), - [S$1.$a]: dart.nullable(core.num), - [S$1.$b]: dart.nullable(core.num), - [S$1.$c]: dart.nullable(core.num), - [S$1.$d]: dart.nullable(core.num), - [S$1.$e]: dart.nullable(core.num), - [S$1.$f]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Matrix, I[159]); -dart.registerExtension("SVGMatrix", svg$.Matrix); -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.setStaticMethodSignature(svg$.MetadataElement, () => ['__']); -dart.setLibraryUri(svg$.MetadataElement, I[159]); -dart.registerExtension("SVGMetadataElement", svg$.MetadataElement); -svg$.Number = class Number extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Number.__(); - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } -}; -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) -})); -dart.setSetterSignature(svg$.Number, () => ({ - __proto__: dart.getSetters(svg$.Number.__proto__), - [S.$value]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Number, I[159]); -dart.registerExtension("SVGNumber", svg$.Number); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2384, 25, "index"); - svg$.Number.as(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[158], 2390, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2418, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.NumberList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.NumberList); -dart.addTypeCaches(svg$.NumberList); -svg$.NumberList[dart.implements] = () => [core.List$(svg$.Number)]; -dart.setMethodSignature(svg$.NumberList, () => ({ - __proto__: dart.getMethods(svg$.NumberList.__proto__), - [$_get]: dart.fnType(svg$.Number, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Number]), - [S$3.$appendItem]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$getItem]: dart.fnType(svg$.Number, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Number, [svg$.Number]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Number, [svg$.Number, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.NumberList, () => ({ - __proto__: dart.getSetters(svg$.NumberList.__proto__), - [$length]: core.int -})); -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); - ; -}).prototype = svg$.PathElement.prototype; -dart.addTypeTests(svg$.PathElement); -dart.addTypeCaches(svg$.PathElement); -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; - } - get [S$3.$patternContentUnits]() { - return this.patternContentUnits; - } - get [S$3.$patternTransform]() { - return this.patternTransform; - } - get [S$3.$patternUnits]() { - return this.patternUnits; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$requiredExtensions]() { - return this.requiredExtensions; - } - get [S$3.$systemLanguage]() { - return this.systemLanguage; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.PatternElement.created = function() { - svg$.PatternElement.__proto__.created.call(this); - ; -}).prototype = svg$.PatternElement.prototype; -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), - [S$3.$patternContentUnits]: dart.nullable(svg$.AnimatedEnumeration), - [S$3.$patternTransform]: dart.nullable(svg$.AnimatedTransformList), - [S$3.$patternUnits]: dart.nullable(svg$.AnimatedEnumeration), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setLibraryUri(svg$.PatternElement, I[159]); -dart.registerExtension("SVGPatternElement", svg$.PatternElement); -svg$.Point = class Point extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Point.__(); - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } - [S$1.$matrixTransform](...args) { - return this.matrixTransform.apply(this, args); - } -}; -dart.addTypeTests(svg$.Point); -dart.addTypeCaches(svg$.Point); -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), - [S$.$y]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Point, () => ({ - __proto__: dart.getSetters(svg$.Point.__proto__), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setLibraryUri(svg$.Point, I[159]); -dart.registerExtension("SVGPoint", svg$.Point); -svg$.PointList = class PointList extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PointList.__(); - } - get [$length]() { - return this.length; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -dart.addTypeTests(svg$.PointList); -dart.addTypeCaches(svg$.PointList); -dart.setMethodSignature(svg$.PointList, () => ({ - __proto__: dart.getMethods(svg$.PointList.__proto__), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Point]), - [S$3.$appendItem]: dart.fnType(svg$.Point, [svg$.Point]), - [$clear]: dart.fnType(dart.void, []), - [S$3.$getItem]: dart.fnType(svg$.Point, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Point, [svg$.Point]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Point, [svg$.Point, core.int]), - [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[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; - } - get [S$3.$points]() { - return this.points; - } -}; -(svg$.PolygonElement.created = function() { - svg$.PolygonElement.__proto__.created.call(this); - ; -}).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[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; - } - get [S$3.$points]() { - return this.points; - } -}; -(svg$.PolylineElement.created = function() { - svg$.PolylineElement.__proto__.created.call(this); - ; -}).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[159]); -dart.registerExtension("SVGPolylineElement", svg$.PolylineElement); -svg$.PreserveAspectRatio = class PreserveAspectRatio extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.PreserveAspectRatio.__(); - } - get [S$3.$align]() { - return this.align; - } - set [S$3.$align](value) { - this.align = value; - } - get [S$3.$meetOrSlice]() { - return this.meetOrSlice; - } - set [S$3.$meetOrSlice](value) { - this.meetOrSlice = value; - } -}; -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), - [S$3.$meetOrSlice]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.PreserveAspectRatio, () => ({ - __proto__: dart.getSetters(svg$.PreserveAspectRatio.__proto__), - [S$3.$align]: dart.nullable(core.int), - [S$3.$meetOrSlice]: dart.nullable(core.int) -})); -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; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_SLICE*/get SVG_MEETORSLICE_SLICE() { - return 2; - }, - /*svg$.PreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN*/get SVG_MEETORSLICE_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE*/get SVG_PRESERVEASPECTRATIO_NONE() { - return 1; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN*/get SVG_PRESERVEASPECTRATIO_UNKNOWN() { - return 0; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX*/get SVG_PRESERVEASPECTRATIO_XMAXYMAX() { - return 10; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID*/get SVG_PRESERVEASPECTRATIO_XMAXYMID() { - return 7; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN*/get SVG_PRESERVEASPECTRATIO_XMAXYMIN() { - return 4; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX*/get SVG_PRESERVEASPECTRATIO_XMIDYMAX() { - return 9; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID*/get SVG_PRESERVEASPECTRATIO_XMIDYMID() { - return 6; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN*/get SVG_PRESERVEASPECTRATIO_XMIDYMIN() { - return 3; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX*/get SVG_PRESERVEASPECTRATIO_XMINYMAX() { - return 8; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID*/get SVG_PRESERVEASPECTRATIO_XMINYMID() { - return 5; - }, - /*svg$.PreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN*/get SVG_PRESERVEASPECTRATIO_XMINYMIN() { - return 2; - } -}, 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; - } - get [S$3.$cy]() { - return this.cy; - } - get [S$3.$fr]() { - return this.fr; - } - get [S$3.$fx]() { - return this.fx; - } - get [S$3.$fy]() { - return this.fy; - } - get [S$3.$r]() { - return this.r; - } -}; -(svg$.RadialGradientElement.created = function() { - svg$.RadialGradientElement.__proto__.created.call(this); - ; -}).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), - [S$3.$cy]: dart.nullable(svg$.AnimatedLength), - [S$3.$fr]: dart.nullable(svg$.AnimatedLength), - [S$3.$fx]: dart.nullable(svg$.AnimatedLength), - [S$3.$fy]: dart.nullable(svg$.AnimatedLength), - [S$3.$r]: dart.nullable(svg$.AnimatedLength) -})); -dart.setLibraryUri(svg$.RadialGradientElement, I[159]); -dart.registerExtension("SVGRadialGradientElement", svg$.RadialGradientElement); -svg$.Rect = class Rect extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Rect.__(); - } - get [$height]() { - return this.height; - } - set [$height](value) { - this.height = value; - } - get [$width]() { - return this.width; - } - set [$width](value) { - this.width = value; - } - get [S$.$x]() { - return this.x; - } - set [S$.$x](value) { - this.x = value; - } - get [S$.$y]() { - return this.y; - } - set [S$.$y](value) { - this.y = value; - } -}; -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), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -dart.setSetterSignature(svg$.Rect, () => ({ - __proto__: dart.getSetters(svg$.Rect.__proto__), - [$height]: dart.nullable(core.num), - [$width]: dart.nullable(core.num), - [S$.$x]: dart.nullable(core.num), - [S$.$y]: dart.nullable(core.num) -})); -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; - } - get [S$3.$rx]() { - return this.rx; - } - get [S$3.$ry]() { - return this.ry; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.RectElement.created = function() { - svg$.RectElement.__proto__.created.call(this); - ; -}).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), - [S$3.$rx]: dart.nullable(svg$.AnimatedLength), - [S$3.$ry]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength) -})); -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; - } - set [S.$type](value) { - this.type = value; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.ScriptElement.created = function() { - svg$.ScriptElement.__proto__.created.call(this); - ; -}).prototype = svg$.ScriptElement.prototype; -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), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -dart.setSetterSignature(svg$.ScriptElement, () => ({ - __proto__: dart.getSetters(svg$.ScriptElement.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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")); - } -}; -(svg$.SetElement.created = function() { - svg$.SetElement.__proto__.created.call(this); - ; -}).prototype = svg$.SetElement.prototype; -dart.addTypeTests(svg$.SetElement); -dart.addTypeCaches(svg$.SetElement); -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; - } -}; -(svg$.StopElement.created = function() { - svg$.StopElement.__proto__.created.call(this); - ; -}).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[159]); -dart.registerExtension("SVGStopElement", svg$.StopElement); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 2867, 25, "index"); - core.String.as(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[158], 2873, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 2901, 24, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.StringList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.StringList); -dart.addTypeCaches(svg$.StringList); -svg$.StringList[dart.implements] = () => [core.List$(core.String)]; -dart.setMethodSignature(svg$.StringList, () => ({ - __proto__: dart.getMethods(svg$.StringList.__proto__), - [$_get]: dart.fnType(core.String, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, core.String]), - [S$3.$appendItem]: dart.fnType(core.String, [core.String]), - [S$3.$getItem]: dart.fnType(core.String, [core.int]), - [S$3.$initialize]: dart.fnType(core.String, [core.String]), - [S$3.$insertItemBefore]: dart.fnType(core.String, [core.String, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.StringList, () => ({ - __proto__: dart.getSetters(svg$.StringList.__proto__), - [$length]: core.int -})); -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; - } - set [S$.$disabled](value) { - this.disabled = value; - } - get [S$.$media]() { - return this.media; - } - set [S$.$media](value) { - this.media = value; - } - get [S$1.$sheet]() { - return this.sheet; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } -}; -(svg$.StyleElement.created = function() { - svg$.StyleElement.__proto__.created.call(this); - ; -}).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), - [S$.$media]: dart.nullable(core.String), - [S$1.$sheet]: dart.nullable(html$.StyleSheet), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(svg$.StyleElement, () => ({ - __proto__: dart.getSetters(svg$.StyleElement.__proto__), - [S$.$disabled]: dart.nullable(core.bool), - [S$.$media]: dart.nullable(core.String), - [S.$type]: dart.nullable(core.String) -})); -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$1][S.$attributes][$_get]("class"); - if (svg$.AnimatedString.is(classname)) { - classname = svg$.AnimatedString.as(classname).baseVal; - } - let s = new (T$0._IdentityHashSetOfString()).new(); - if (classname == null) { - return s; - } - for (let name of classname[$split](" ")) { - let trimmed = name[$trim](); - if (!trimmed[$isEmpty]) { - s.add(trimmed); - } - } - return s; - } - writeClasses(s) { - 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[158], 2965, 26, "_element"); - this[S$3._element$1] = _element; - ; -}).prototype = svg$.AttributeClassSet.prototype; -dart.addTypeTests(svg$.AttributeClassSet); -dart.addTypeCaches(svg$.AttributeClassSet); -dart.setMethodSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getMethods(svg$.AttributeClassSet.__proto__), - readClasses: dart.fnType(core.Set$(core.String), []), - writeClasses: dart.fnType(dart.void, [core.Set]) -})); -dart.setLibraryUri(svg$.AttributeClassSet, I[159]); -dart.setFieldSignature(svg$.AttributeClassSet, () => ({ - __proto__: dart.getFields(svg$.AttributeClassSet.__proto__), - [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; - } - set [S$3.$currentScale](value) { - this.currentScale = value; - } - get [S$3.$currentTranslate]() { - return this.currentTranslate; - } - get [$height]() { - return this.height; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - [S$3.$animationsPaused](...args) { - return this.animationsPaused.apply(this, args); - } - [S$3.$checkEnclosure](...args) { - return this.checkEnclosure.apply(this, args); - } - [S$3.$checkIntersection](...args) { - return this.checkIntersection.apply(this, args); - } - [S$3.$createSvgAngle](...args) { - return this.createSVGAngle.apply(this, args); - } - [S$3.$createSvgLength](...args) { - return this.createSVGLength.apply(this, args); - } - [S$3.$createSvgMatrix](...args) { - return this.createSVGMatrix.apply(this, args); - } - [S$3.$createSvgNumber](...args) { - return this.createSVGNumber.apply(this, args); - } - [S$3.$createSvgPoint](...args) { - return this.createSVGPoint.apply(this, args); - } - [S$3.$createSvgRect](...args) { - return this.createSVGRect.apply(this, args); - } - [S$3.$createSvgTransform](...args) { - return this.createSVGTransform.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$deselectAll](...args) { - return this.deselectAll.apply(this, args); - } - [S$3.$forceRedraw](...args) { - return this.forceRedraw.apply(this, args); - } - [S$3.$getCurrentTime](...args) { - return this.getCurrentTime.apply(this, args); - } - [S$1.$getElementById](...args) { - return this.getElementById.apply(this, args); - } - [S$3.$getEnclosureList](...args) { - return this.getEnclosureList.apply(this, args); - } - [S$3.$getIntersectionList](...args) { - return this.getIntersectionList.apply(this, args); - } - [S$3.$pauseAnimations](...args) { - return this.pauseAnimations.apply(this, args); - } - [S$3.$setCurrentTime](...args) { - return this.setCurrentTime.apply(this, args); - } - [S$3.$suspendRedraw](...args) { - return this.suspendRedraw.apply(this, args); - } - [S$3.$unpauseAnimations](...args) { - return this.unpauseAnimations.apply(this, args); - } - [S$3.$unsuspendRedraw](...args) { - return this.unsuspendRedraw.apply(this, args); - } - [S$3.$unsuspendRedrawAll](...args) { - return this.unsuspendRedrawAll.apply(this, args); - } - get [S$3.$preserveAspectRatio]() { - return this.preserveAspectRatio; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } -}; -(svg$.SvgSvgElement.created = function() { - svg$.SvgSvgElement.__proto__.created.call(this); - ; -}).prototype = svg$.SvgSvgElement.prototype; -dart.addTypeTests(svg$.SvgSvgElement); -dart.addTypeCaches(svg$.SvgSvgElement); -svg$.SvgSvgElement[dart.implements] = () => [svg$.FitToViewBox, svg$.ZoomAndPan]; -dart.setMethodSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getMethods(svg$.SvgSvgElement.__proto__), - [S$3.$animationsPaused]: dart.fnType(core.bool, []), - [S$3.$checkEnclosure]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$checkIntersection]: dart.fnType(core.bool, [svg$.SvgElement, svg$.Rect]), - [S$3.$createSvgAngle]: dart.fnType(svg$.Angle, []), - [S$3.$createSvgLength]: dart.fnType(svg$.Length, []), - [S$3.$createSvgMatrix]: dart.fnType(svg$.Matrix, []), - [S$3.$createSvgNumber]: dart.fnType(svg$.Number, []), - [S$3.$createSvgPoint]: dart.fnType(svg$.Point, []), - [S$3.$createSvgRect]: dart.fnType(svg$.Rect, []), - [S$3.$createSvgTransform]: dart.fnType(svg$.Transform, []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$deselectAll]: dart.fnType(dart.void, []), - [S$3.$forceRedraw]: dart.fnType(dart.void, []), - [S$3.$getCurrentTime]: dart.fnType(core.double, []), - [S$1.$getElementById]: dart.fnType(html$.Element, [core.String]), - [S$3.$getEnclosureList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$getIntersectionList]: dart.fnType(core.List$(html$.Node), [svg$.Rect, dart.nullable(svg$.SvgElement)]), - [S$3.$pauseAnimations]: dart.fnType(dart.void, []), - [S$3.$setCurrentTime]: dart.fnType(dart.void, [core.num]), - [S$3.$suspendRedraw]: dart.fnType(core.int, [core.int]), - [S$3.$unpauseAnimations]: dart.fnType(dart.void, []), - [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), - [S$3.$currentTranslate]: dart.nullable(svg$.Point), - [$height]: dart.nullable(svg$.AnimatedLength), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$3.$preserveAspectRatio]: dart.nullable(svg$.AnimatedPreserveAspectRatio), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.SvgSvgElement, () => ({ - __proto__: dart.getSetters(svg$.SvgSvgElement.__proto__), - [S$3.$currentScale]: dart.nullable(core.num), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -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); - ; -}).prototype = svg$.SwitchElement.prototype; -dart.addTypeTests(svg$.SwitchElement); -dart.addTypeCaches(svg$.SwitchElement); -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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } -}; -(svg$.SymbolElement.created = function() { - svg$.SymbolElement.__proto__.created.call(this); - ; -}).prototype = svg$.SymbolElement.prototype; -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[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; - } - get [S$2.$textLength]() { - return this.textLength; - } - [S$3.$getCharNumAtPosition](...args) { - return this.getCharNumAtPosition.apply(this, args); - } - [S$3.$getComputedTextLength](...args) { - return this.getComputedTextLength.apply(this, args); - } - [S$3.$getEndPositionOfChar](...args) { - return this.getEndPositionOfChar.apply(this, args); - } - [S$3.$getExtentOfChar](...args) { - return this.getExtentOfChar.apply(this, args); - } - [S$3.$getNumberOfChars](...args) { - return this.getNumberOfChars.apply(this, args); - } - [S$3.$getRotationOfChar](...args) { - return this.getRotationOfChar.apply(this, args); - } - [S$3.$getStartPositionOfChar](...args) { - return this.getStartPositionOfChar.apply(this, args); - } - [S$3.$getSubStringLength](...args) { - return this.getSubStringLength.apply(this, args); - } - [S$3.$selectSubString](...args) { - return this.selectSubString.apply(this, args); - } -}; -(svg$.TextContentElement.created = function() { - svg$.TextContentElement.__proto__.created.call(this); - ; -}).prototype = svg$.TextContentElement.prototype; -dart.addTypeTests(svg$.TextContentElement); -dart.addTypeCaches(svg$.TextContentElement); -dart.setMethodSignature(svg$.TextContentElement, () => ({ - __proto__: dart.getMethods(svg$.TextContentElement.__proto__), - [S$3.$getCharNumAtPosition]: dart.fnType(core.int, [svg$.Point]), - [S$3.$getComputedTextLength]: dart.fnType(core.double, []), - [S$3.$getEndPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [S$3.$getExtentOfChar]: dart.fnType(svg$.Rect, [core.int]), - [S$3.$getNumberOfChars]: dart.fnType(core.int, []), - [S$3.$getRotationOfChar]: dart.fnType(core.double, [core.int]), - [S$3.$getStartPositionOfChar]: dart.fnType(svg$.Point, [core.int]), - [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[159]); -dart.setStaticFieldSignature(svg$.TextContentElement, () => ['LENGTHADJUST_SPACING', 'LENGTHADJUST_SPACINGANDGLYPHS', 'LENGTHADJUST_UNKNOWN']); -dart.defineLazy(svg$.TextContentElement, { - /*svg$.TextContentElement.LENGTHADJUST_SPACING*/get LENGTHADJUST_SPACING() { - return 1; - }, - /*svg$.TextContentElement.LENGTHADJUST_SPACINGANDGLYPHS*/get LENGTHADJUST_SPACINGANDGLYPHS() { - return 2; - }, - /*svg$.TextContentElement.LENGTHADJUST_UNKNOWN*/get LENGTHADJUST_UNKNOWN() { - return 0; - } -}, 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; - } - get [S$3.$dy]() { - return this.dy; - } - get [S$.$rotate]() { - return this.rotate; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } -}; -(svg$.TextPositioningElement.created = function() { - svg$.TextPositioningElement.__proto__.created.call(this); - ; -}).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), - [S$3.$dy]: dart.nullable(svg$.AnimatedLengthList), - [S$.$rotate]: dart.nullable(svg$.AnimatedNumberList), - [S$.$x]: dart.nullable(svg$.AnimatedLengthList), - [S$.$y]: dart.nullable(svg$.AnimatedLengthList) -})); -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); - ; -}).prototype = svg$.TSpanElement.prototype; -dart.addTypeTests(svg$.TSpanElement); -dart.addTypeCaches(svg$.TSpanElement); -dart.setStaticMethodSignature(svg$.TSpanElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.TSpanElement, I[159]); -dart.registerExtension("SVGTSpanElement", svg$.TSpanElement); -svg$.Tests = class Tests extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Tests.__(); - } - get requiredExtensions() { - return this.requiredExtensions; - } - get systemLanguage() { - return this.systemLanguage; - } -}; -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), - [S$3.$requiredExtensions]: dart.nullable(svg$.StringList), - systemLanguage: dart.nullable(svg$.StringList), - [S$3.$systemLanguage]: dart.nullable(svg$.StringList) -})); -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); - ; -}).prototype = svg$.TextElement.prototype; -dart.addTypeTests(svg$.TextElement); -dart.addTypeCaches(svg$.TextElement); -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; - } - get [S$3.$spacing]() { - return this.spacing; - } - get [S$2.$startOffset]() { - return this.startOffset; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.TextPathElement.created = function() { - svg$.TextPathElement.__proto__.created.call(this); - ; -}).prototype = svg$.TextPathElement.prototype; -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), - [S$3.$spacing]: dart.nullable(svg$.AnimatedEnumeration), - [S$2.$startOffset]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_STRETCH*/get TEXTPATH_METHODTYPE_STRETCH() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_METHODTYPE_UNKNOWN*/get TEXTPATH_METHODTYPE_UNKNOWN() { - return 0; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_AUTO*/get TEXTPATH_SPACINGTYPE_AUTO() { - return 1; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_EXACT*/get TEXTPATH_SPACINGTYPE_EXACT() { - return 2; - }, - /*svg$.TextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN*/get TEXTPATH_SPACINGTYPE_UNKNOWN() { - return 0; - } -}, 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); - ; -}).prototype = svg$.TitleElement.prototype; -dart.addTypeTests(svg$.TitleElement); -dart.addTypeCaches(svg$.TitleElement); -dart.setStaticMethodSignature(svg$.TitleElement, () => ['__', 'new']); -dart.setLibraryUri(svg$.TitleElement, I[159]); -dart.registerExtension("SVGTitleElement", svg$.TitleElement); -svg$.Transform = class Transform extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.Transform.__(); - } - get [S$.$angle]() { - return this.angle; - } - get [S$.$matrix]() { - return this.matrix; - } - get [S.$type]() { - return this.type; - } - [S$3.$setMatrix](...args) { - return this.setMatrix.apply(this, args); - } - [S$3.$setRotate](...args) { - return this.setRotate.apply(this, args); - } - [S$3.$setScale](...args) { - return this.setScale.apply(this, args); - } - [S$3.$setSkewX](...args) { - return this.setSkewX.apply(this, args); - } - [S$3.$setSkewY](...args) { - return this.setSkewY.apply(this, args); - } - [S$3.$setTranslate](...args) { - return this.setTranslate.apply(this, args); - } -}; -dart.addTypeTests(svg$.Transform); -dart.addTypeCaches(svg$.Transform); -dart.setMethodSignature(svg$.Transform, () => ({ - __proto__: dart.getMethods(svg$.Transform.__proto__), - [S$3.$setMatrix]: dart.fnType(dart.void, [svg$.Matrix]), - [S$3.$setRotate]: dart.fnType(dart.void, [core.num, core.num, core.num]), - [S$3.$setScale]: dart.fnType(dart.void, [core.num, core.num]), - [S$3.$setSkewX]: dart.fnType(dart.void, [core.num]), - [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[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; - }, - /*svg$.Transform.SVG_TRANSFORM_ROTATE*/get SVG_TRANSFORM_ROTATE() { - return 4; - }, - /*svg$.Transform.SVG_TRANSFORM_SCALE*/get SVG_TRANSFORM_SCALE() { - return 3; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWX*/get SVG_TRANSFORM_SKEWX() { - return 5; - }, - /*svg$.Transform.SVG_TRANSFORM_SKEWY*/get SVG_TRANSFORM_SKEWY() { - return 6; - }, - /*svg$.Transform.SVG_TRANSFORM_TRANSLATE*/get SVG_TRANSFORM_TRANSLATE() { - return 2; - }, - /*svg$.Transform.SVG_TRANSFORM_UNKNOWN*/get SVG_TRANSFORM_UNKNOWN() { - return 0; - } -}, false); -dart.registerExtension("SVGTransform", svg$.Transform); -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; - } - get [S$3.$numberOfItems]() { - return this.numberOfItems; - } - [$_get](index) { - 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[158], 3856, 25, "index"); - svg$.Transform.as(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[158], 3862, 18, "value"); - dart.throw(new core.UnsupportedError.new("Cannot resize immutable List.")); - } - get [$first]() { - if (dart.notNull(this[$length]) > 0) { - return this[0]; - } - 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]; - } - 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[158], 3890, 27, "index"); - return this[$_get](index); - } - [S$3.__setter__$1](...args) { - return this.__setter__.apply(this, args); - } - [S$3.$appendItem](...args) { - return this.appendItem.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$3.$consolidate](...args) { - return this.consolidate.apply(this, args); - } - [S$3.$createSvgTransformFromMatrix](...args) { - return this.createSVGTransformFromMatrix.apply(this, args); - } - [S$3.$getItem](...args) { - return this.getItem.apply(this, args); - } - [S$3.$initialize](...args) { - return this.initialize.apply(this, args); - } - [S$3.$insertItemBefore](...args) { - return this.insertItemBefore.apply(this, args); - } - [S$3.$removeItem](...args) { - return this.removeItem.apply(this, args); - } - [S$3.$replaceItem](...args) { - return this.replaceItem.apply(this, args); - } -}; -svg$.TransformList.prototype[dart.isList] = true; -dart.addTypeTests(svg$.TransformList); -dart.addTypeCaches(svg$.TransformList); -svg$.TransformList[dart.implements] = () => [core.List$(svg$.Transform)]; -dart.setMethodSignature(svg$.TransformList, () => ({ - __proto__: dart.getMethods(svg$.TransformList.__proto__), - [$_get]: dart.fnType(svg$.Transform, [core.int]), - [$_set]: dart.fnType(dart.void, [core.int, dart.nullable(core.Object)]), - [S$3.__setter__$1]: dart.fnType(dart.void, [core.int, svg$.Transform]), - [S$3.$appendItem]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$consolidate]: dart.fnType(dart.nullable(svg$.Transform), []), - [S$3.$createSvgTransformFromMatrix]: dart.fnType(svg$.Transform, [svg$.Matrix]), - [S$3.$getItem]: dart.fnType(svg$.Transform, [core.int]), - [S$3.$initialize]: dart.fnType(svg$.Transform, [svg$.Transform]), - [S$3.$insertItemBefore]: dart.fnType(svg$.Transform, [svg$.Transform, core.int]), - [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, - [S$3.$numberOfItems]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.TransformList, () => ({ - __proto__: dart.getSetters(svg$.TransformList.__proto__), - [$length]: core.int -})); -dart.setLibraryUri(svg$.TransformList, I[159]); -dart.registerExtension("SVGTransformList", svg$.TransformList); -svg$.UnitTypes = class UnitTypes extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.UnitTypes.__(); - } -}; -dart.addTypeTests(svg$.UnitTypes); -dart.addTypeCaches(svg$.UnitTypes); -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; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_UNKNOWN*/get SVG_UNIT_TYPE_UNKNOWN() { - return 0; - }, - /*svg$.UnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE*/get SVG_UNIT_TYPE_USERSPACEONUSE() { - return 1; - } -}, false); -dart.registerExtension("SVGUnitTypes", svg$.UnitTypes); -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[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; - } - get [$width]() { - return this.width; - } - get [S$.$x]() { - return this.x; - } - get [S$.$y]() { - return this.y; - } - get [S$.$href]() { - return this.href; - } -}; -(svg$.UseElement.created = function() { - svg$.UseElement.__proto__.created.call(this); - ; -}).prototype = svg$.UseElement.prototype; -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), - [$width]: dart.nullable(svg$.AnimatedLength), - [S$.$x]: dart.nullable(svg$.AnimatedLength), - [S$.$y]: dart.nullable(svg$.AnimatedLength), - [S$.$href]: dart.nullable(svg$.AnimatedString) -})); -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; - } - get [S$3.$viewBox]() { - return this.viewBox; - } - get [S$3.$zoomAndPan]() { - return this.zoomAndPan; - } - set [S$3.$zoomAndPan](value) { - this.zoomAndPan = value; - } -}; -(svg$.ViewElement.created = function() { - svg$.ViewElement.__proto__.created.call(this); - ; -}).prototype = svg$.ViewElement.prototype; -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), - [S$3.$viewBox]: dart.nullable(svg$.AnimatedRect), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.ViewElement, () => ({ - __proto__: dart.getSetters(svg$.ViewElement.__proto__), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setLibraryUri(svg$.ViewElement, I[159]); -dart.registerExtension("SVGViewElement", svg$.ViewElement); -svg$.ZoomAndPan = class ZoomAndPan extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return svg$.ZoomAndPan.__(); - } - get zoomAndPan() { - return this.zoomAndPan; - } - set zoomAndPan(value) { - this.zoomAndPan = value; - } -}; -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), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -dart.setSetterSignature(svg$.ZoomAndPan, () => ({ - __proto__: dart.getSetters(svg$.ZoomAndPan.__proto__), - zoomAndPan: dart.nullable(core.int), - [S$3.$zoomAndPan]: dart.nullable(core.int) -})); -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() { - return 1; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY*/get SVG_ZOOMANDPAN_MAGNIFY() { - return 2; - }, - /*svg$.ZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN*/get SVG_ZOOMANDPAN_UNKNOWN() { - return 0; - } -}, false); -svg$._SVGFEDropShadowElement = class _SVGFEDropShadowElement extends svg$.SvgElement { - static ['_#_#tearOff']() { - return svg$._SVGFEDropShadowElement.__(); - } -}; -(svg$._SVGFEDropShadowElement.created = function() { - svg$._SVGFEDropShadowElement.__proto__.created.call(this); - ; -}).prototype = svg$._SVGFEDropShadowElement.prototype; -dart.addTypeTests(svg$._SVGFEDropShadowElement); -dart.addTypeCaches(svg$._SVGFEDropShadowElement); -svg$._SVGFEDropShadowElement[dart.implements] = () => [svg$.FilterPrimitiveStandardAttributes]; -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); - ; -}).prototype = svg$._SVGMPathElement.prototype; -dart.addTypeTests(svg$._SVGMPathElement); -dart.addTypeCaches(svg$._SVGMPathElement); -svg$._SVGMPathElement[dart.implements] = () => [svg$.UriReference]; -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; - } - set [S$3.$channelCount](value) { - this.channelCount = value; - } - get [S$3.$channelCountMode]() { - return this.channelCountMode; - } - set [S$3.$channelCountMode](value) { - this.channelCountMode = value; - } - get [S$3.$channelInterpretation]() { - return this.channelInterpretation; - } - set [S$3.$channelInterpretation](value) { - this.channelInterpretation = value; - } - get [S$3.$context]() { - return this.context; - } - get [S$3.$numberOfInputs]() { - return this.numberOfInputs; - } - get [S$3.$numberOfOutputs]() { - return this.numberOfOutputs; - } - [S$4._connect](...args) { - return this.connect.apply(this, args); - } - [S$1.$disconnect](...args) { - return this.disconnect.apply(this, args); - } - [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$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$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$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), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String), - [S$3.$context]: dart.nullable(web_audio.BaseAudioContext), - [S$3.$numberOfInputs]: dart.nullable(core.int), - [S$3.$numberOfOutputs]: dart.nullable(core.int) -})); -dart.setSetterSignature(web_audio.AudioNode, () => ({ - __proto__: dart.getSetters(web_audio.AudioNode.__proto__), - [S$3.$channelCount]: dart.nullable(core.int), - [S$3.$channelCountMode]: dart.nullable(core.String), - [S$3.$channelInterpretation]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new AnalyserNode(context); - } - get [S$3.$fftSize]() { - return this.fftSize; - } - set [S$3.$fftSize](value) { - this.fftSize = value; - } - get [S$3.$frequencyBinCount]() { - return this.frequencyBinCount; - } - get [S$3.$maxDecibels]() { - return this.maxDecibels; - } - set [S$3.$maxDecibels](value) { - this.maxDecibels = value; - } - get [S$3.$minDecibels]() { - return this.minDecibels; - } - set [S$3.$minDecibels](value) { - this.minDecibels = value; - } - get [S$3.$smoothingTimeConstant]() { - return this.smoothingTimeConstant; - } - set [S$3.$smoothingTimeConstant](value) { - this.smoothingTimeConstant = value; - } - [S$3.$getByteFrequencyData](...args) { - return this.getByteFrequencyData.apply(this, args); - } - [S$3.$getByteTimeDomainData](...args) { - return this.getByteTimeDomainData.apply(this, args); - } - [S$3.$getFloatFrequencyData](...args) { - return this.getFloatFrequencyData.apply(this, args); - } - [S$3.$getFloatTimeDomainData](...args) { - return this.getFloatTimeDomainData.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AnalyserNode); -dart.addTypeCaches(web_audio.AnalyserNode); -dart.setMethodSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getMethods(web_audio.AnalyserNode.__proto__), - [S$3.$getByteFrequencyData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [S$3.$getByteTimeDomainData]: dart.fnType(dart.void, [typed_data.Uint8List]), - [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), - [S$3.$frequencyBinCount]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.AnalyserNode, () => ({ - __proto__: dart.getSetters(web_audio.AnalyserNode.__proto__), - [S$3.$fftSize]: dart.nullable(core.int), - [S$3.$maxDecibels]: dart.nullable(core.num), - [S$3.$minDecibels]: dart.nullable(core.num), - [S$3.$smoothingTimeConstant]: dart.nullable(core.num) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioBuffer.__(); - } - static new(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); - } - get [S$.$duration]() { - return this.duration; - } - get [$length]() { - return this.length; - } - get [S$4.$numberOfChannels]() { - return this.numberOfChannels; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$copyFromChannel](...args) { - return this.copyFromChannel.apply(this, args); - } - [S$4.$copyToChannel](...args) { - return this.copyToChannel.apply(this, args); - } - [S$4.$getChannelData](...args) { - return this.getChannelData.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioBuffer); -dart.addTypeCaches(web_audio.AudioBuffer); -dart.setMethodSignature(web_audio.AudioBuffer, () => ({ - __proto__: dart.getMethods(web_audio.AudioBuffer.__proto__), - [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$4.$numberOfChannels]: dart.nullable(core.int), - [S$4.$sampleRate]: dart.nullable(core.num) -})); -dart.setLibraryUri(web_audio.AudioBuffer, I[161]); -dart.registerExtension("AudioBuffer", web_audio.AudioBuffer); -web_audio.AudioScheduledSourceNode = class AudioScheduledSourceNode extends web_audio.AudioNode { - static ['_#_#tearOff']() { - return web_audio.AudioScheduledSourceNode.__(); - } - [S$4.$start2](...args) { - return this.start.apply(this, args); - } - [S$.$stop](...args) { - return this.stop.apply(this, args); - } - get [S.$onEnded]() { - return web_audio.AudioScheduledSourceNode.endedEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.AudioScheduledSourceNode); -dart.addTypeCaches(web_audio.AudioScheduledSourceNode); -dart.setMethodSignature(web_audio.AudioScheduledSourceNode, () => ({ - __proto__: dart.getMethods(web_audio.AudioScheduledSourceNode.__proto__), - [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[161]); -dart.setStaticFieldSignature(web_audio.AudioScheduledSourceNode, () => ['endedEvent']); -dart.defineLazy(web_audio.AudioScheduledSourceNode, { - /*web_audio.AudioScheduledSourceNode.endedEvent*/get endedEvent() { - 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[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); - } - static _create_2(context) { - return new AudioBufferSourceNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$.$loop]() { - return this.loop; - } - set [S$.$loop](value) { - this.loop = value; - } - get [S$4.$loopEnd]() { - return this.loopEnd; - } - set [S$4.$loopEnd](value) { - this.loopEnd = value; - } - get [S$4.$loopStart]() { - return this.loopStart; - } - set [S$4.$loopStart](value) { - this.loopStart = value; - } - get [S$.$playbackRate]() { - return this.playbackRate; - } - [S$.$start](...args) { - return this.start.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioBufferSourceNode); -dart.addTypeCaches(web_audio.AudioBufferSourceNode); -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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$.$loop]: dart.nullable(core.bool), - [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$4.$loopEnd]: dart.nullable(core.num), - [S$4.$loopStart]: dart.nullable(core.num) -})); -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$4.$destination]() { - return this.destination; - } - get [S$4.$listener]() { - return this.listener; - } - get [S$4.$sampleRate]() { - return this.sampleRate; - } - get [S$.$state]() { - return this.state; - } - [S$4.$createAnalyser](...args) { - return this.createAnalyser.apply(this, args); - } - [S$4.$createBiquadFilter](...args) { - return this.createBiquadFilter.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createBufferSource](...args) { - return this.createBufferSource.apply(this, args); - } - [S$4.$createChannelMerger](...args) { - return this.createChannelMerger.apply(this, args); - } - [S$4.$createChannelSplitter](...args) { - return this.createChannelSplitter.apply(this, args); - } - [S$4.$createConstantSource](...args) { - return this.createConstantSource.apply(this, args); - } - [S$4.$createConvolver](...args) { - return this.createConvolver.apply(this, args); - } - [S$4.$createDelay](...args) { - return this.createDelay.apply(this, args); - } - [S$4.$createDynamicsCompressor](...args) { - return this.createDynamicsCompressor.apply(this, args); - } - [S$4.$createGain](...args) { - return this.createGain.apply(this, args); - } - [S$4.$createIirFilter](...args) { - return this.createIIRFilter.apply(this, args); - } - [S$4.$createMediaElementSource](...args) { - return this.createMediaElementSource.apply(this, args); - } - [S$4.$createMediaStreamDestination](...args) { - return this.createMediaStreamDestination.apply(this, args); - } - [S$4.$createMediaStreamSource](...args) { - return this.createMediaStreamSource.apply(this, args); - } - [S$4.$createOscillator](...args) { - return this.createOscillator.apply(this, args); - } - [S$4.$createPanner](...args) { - return this.createPanner.apply(this, args); - } - [S$4.$createPeriodicWave](real, imag, options = null) { - 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); - } - return this[S$4._createPeriodicWave_2](real, imag); - } - [S$4._createPeriodicWave_1](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4._createPeriodicWave_2](...args) { - return this.createPeriodicWave.apply(this, args); - } - [S$4.$createScriptProcessor](...args) { - return this.createScriptProcessor.apply(this, args); - } - [S$4.$createStereoPanner](...args) { - return this.createStereoPanner.apply(this, args); - } - [S$4.$createWaveShaper](...args) { - return this.createWaveShaper.apply(this, args); - } - [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]() { - return js_util.promiseToFuture(dart.dynamic, this.resume()); - } -}; -dart.addTypeTests(web_audio.BaseAudioContext); -dart.addTypeCaches(web_audio.BaseAudioContext); -dart.setMethodSignature(web_audio.BaseAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.BaseAudioContext.__proto__), - [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$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, []), - [S$4.$createMediaStreamSource]: dart.fnType(web_audio.MediaStreamAudioSourceNode, [html$.MediaStream]), - [S$4.$createOscillator]: dart.fnType(web_audio.OscillatorNode, []), - [S$4.$createPanner]: dart.fnType(web_audio.PannerNode, []), - [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$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$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$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[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$4.$baseLatency]() { - return this.baseLatency; - } - [S.$close]() { - return js_util.promiseToFuture(dart.dynamic, this.close()); - } - [S$4.$getOutputTimestamp]() { - return dart.nullCheck(html_common.convertNativeToDart_Dictionary(this[S$4._getOutputTimestamp_1]())); - } - [S$4._getOutputTimestamp_1](...args) { - return this.getOutputTimestamp.apply(this, args); - } - [S$4.$suspend]() { - return js_util.promiseToFuture(dart.dynamic, this.suspend()); - } - static new() { - return new (window.AudioContext || window.webkitAudioContext)(); - } - static ['_#new#tearOff']() { - return web_audio.AudioContext.new(); - } - [S$4.$createGain]() { - if (this.createGain !== undefined) { - return this.createGain(); - } else { - return this.createGainNode(); - } - } - [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); - } else if (numberOfInputChannels != null) { - return $function.call(this, bufferSize, numberOfInputChannels); - } else if (bufferSize != null) { - return $function.call(this, bufferSize); - } else { - return $function.call(this); - } - } - [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.complete(nullErrorString); - errorInCallbackIsNull = true; - } - } - 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); -dart.addTypeCaches(web_audio.AudioContext); -dart.setMethodSignature(web_audio.AudioContext, () => ({ - __proto__: dart.getMethods(web_audio.AudioContext.__proto__), - [S.$close]: dart.fnType(async.Future, []), - [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$4.$baseLatency]: dart.nullable(core.num) -})); -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[161]); -dart.registerExtension("AudioDestinationNode", web_audio.AudioDestinationNode); -web_audio.AudioListener = class AudioListener extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioListener.__(); - } - get [S$4.$forwardX]() { - return this.forwardX; - } - get [S$4.$forwardY]() { - return this.forwardY; - } - get [S$4.$forwardZ]() { - return this.forwardZ; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$upX]() { - return this.upX; - } - get [S$4.$upY]() { - return this.upY; - } - get [S$4.$upZ]() { - return this.upZ; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioListener); -dart.addTypeCaches(web_audio.AudioListener); -dart.setMethodSignature(web_audio.AudioListener, () => ({ - __proto__: dart.getMethods(web_audio.AudioListener.__proto__), - [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), - [S$4.$forwardY]: dart.nullable(web_audio.AudioParam), - [S$4.$forwardZ]: dart.nullable(web_audio.AudioParam), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$upX]: dart.nullable(web_audio.AudioParam), - [S$4.$upY]: dart.nullable(web_audio.AudioParam), - [S$4.$upZ]: dart.nullable(web_audio.AudioParam) -})); -dart.setLibraryUri(web_audio.AudioListener, I[161]); -dart.registerExtension("AudioListener", web_audio.AudioListener); -web_audio.AudioParam = class AudioParam extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioParam.__(); - } - get [S$1.$defaultValue]() { - return this.defaultValue; - } - get [S$4.$maxValue]() { - return this.maxValue; - } - get [S$4.$minValue]() { - return this.minValue; - } - get [S.$value]() { - return this.value; - } - set [S.$value](value) { - this.value = value; - } - [S$4.$cancelAndHoldAtTime](...args) { - return this.cancelAndHoldAtTime.apply(this, args); - } - [S$4.$cancelScheduledValues](...args) { - return this.cancelScheduledValues.apply(this, args); - } - [S$4.$exponentialRampToValueAtTime](...args) { - return this.exponentialRampToValueAtTime.apply(this, args); - } - [S$4.$linearRampToValueAtTime](...args) { - return this.linearRampToValueAtTime.apply(this, args); - } - [S$4.$setTargetAtTime](...args) { - return this.setTargetAtTime.apply(this, args); - } - [S$4.$setValueAtTime](...args) { - return this.setValueAtTime.apply(this, args); - } - [S$4.$setValueCurveAtTime](...args) { - return this.setValueCurveAtTime.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioParam); -dart.addTypeCaches(web_audio.AudioParam); -dart.setMethodSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getMethods(web_audio.AudioParam.__proto__), - [S$4.$cancelAndHoldAtTime]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$cancelScheduledValues]: dart.fnType(web_audio.AudioParam, [core.num]), - [S$4.$exponentialRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$linearRampToValueAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num]), - [S$4.$setTargetAtTime]: dart.fnType(web_audio.AudioParam, [core.num, core.num, core.num]), - [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), - [S$4.$maxValue]: dart.nullable(core.num), - [S$4.$minValue]: dart.nullable(core.num), - [S.$value]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.AudioParam, () => ({ - __proto__: dart.getSetters(web_audio.AudioParam.__proto__), - [S.$value]: dart.nullable(core.num) -})); -dart.setLibraryUri(web_audio.AudioParam, I[161]); -dart.registerExtension("AudioParam", web_audio.AudioParam); -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[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[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[160], 455, 52, "e"); - return dart.equals(e, value); - }, T$0.MapTobool())); - } - [$containsKey](key) { - return this[S$4._getItem$1](core.String.as(key)) != null; - } - [$_get](key) { - return this[S$4._getItem$1](core.String.as(key)); - } - [$forEach](f) { - if (f == null) dart.nullFailed(I[160], 461, 21, "f"); - let entries = this.entries(); - while (true) { - let entry = entries.next(); - if (entry.done) return; - f(entry.value[0], html_common.convertNativeToDart_Dictionary(entry.value[1])); - } - } - get [$keys]() { - let keys = T$.JSArrayOfString().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 473, 14, "k"); - return keys[$add](k); - }, T$0.StringAnddynamicTovoid())); - return keys; - } - get [$values]() { - let values = T$0.JSArrayOfMap().of([]); - this[$forEach](dart.fn((k, v) => { - if (k == null) dart.nullFailed(I[160], 479, 14, "k"); - return values[$add](core.Map.as(v)); - }, T$0.StringAnddynamicTovoid())); - return values; - } - get [$length]() { - return this.size; - } - get [$isEmpty]() { - return this[$length] === 0; - } - get [$isNotEmpty]() { - return !dart.test(this[$isEmpty]); - } - [$_set](key, value$) { - let value = value$; - core.String.as(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[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) { - dart.throw(new core.UnsupportedError.new("Not supported")); - } - [$clear]() { - dart.throw(new core.UnsupportedError.new("Not supported")); - } -}; -dart.addTypeTests(web_audio.AudioParamMap); -dart.addTypeCaches(web_audio.AudioParamMap); -dart.setMethodSignature(web_audio.AudioParamMap, () => ({ - __proto__: dart.getMethods(web_audio.AudioParamMap.__proto__), - [S$4._getItem$1]: dart.fnType(dart.nullable(core.Map), [core.String]), - [$containsValue]: dart.fnType(core.bool, [dart.dynamic]), - [$containsKey]: dart.fnType(core.bool, [dart.dynamic]), - [$_get]: dart.fnType(dart.nullable(core.Map), [dart.dynamic]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$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[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[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); - } - get [S$4.$inputBuffer]() { - return this.inputBuffer; - } - get [S$4.$outputBuffer]() { - return this.outputBuffer; - } - get [S$4.$playbackTime]() { - return this.playbackTime; - } -}; -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[161]); -dart.registerExtension("AudioProcessingEvent", web_audio.AudioProcessingEvent); -web_audio.AudioTrack = class AudioTrack extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.AudioTrack.__(); - } - get [S$.$enabled]() { - return this.enabled; - } - set [S$.$enabled](value) { - this.enabled = value; - } - get [S.$id]() { - return this.id; - } - get [S$.$kind]() { - return this.kind; - } - get [S$.$label]() { - return this.label; - } - get [S$2.$language]() { - return this.language; - } - get [S$3.$sourceBuffer]() { - return this.sourceBuffer; - } -}; -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$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[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; - } - [S$4.__getter__$1](...args) { - return this.__getter__.apply(this, args); - } - [S$1.$getTrackById](...args) { - return this.getTrackById.apply(this, args); - } - get [S.$onChange]() { - return web_audio.AudioTrackList.changeEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.AudioTrackList); -dart.addTypeCaches(web_audio.AudioTrackList); -dart.setMethodSignature(web_audio.AudioTrackList, () => ({ - __proto__: dart.getMethods(web_audio.AudioTrackList.__proto__), - [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[161]); -dart.setStaticFieldSignature(web_audio.AudioTrackList, () => ['changeEvent']); -dart.defineLazy(web_audio.AudioTrackList, { - /*web_audio.AudioTrackList.changeEvent*/get changeEvent() { - 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$4.$sampleRate]() { - return this.sampleRate; - } - [S$4.$registerProcessor](...args) { - return this.registerProcessor.apply(this, args); - } -}; -dart.addTypeTests(web_audio.AudioWorkletGlobalScope); -dart.addTypeCaches(web_audio.AudioWorkletGlobalScope); -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$4.$sampleRate]: dart.nullable(core.num) -})); -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[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); - } - static _create_2(context, name) { - return new AudioWorkletNode(context, name); - } - get [S$4.$parameters]() { - return this.parameters; - } -}; -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[161]); -dart.registerExtension("AudioWorkletNode", web_audio.AudioWorkletNode); -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.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[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); - } - static _create_2(context) { - return new BiquadFilterNode(context); - } - get [S$4.$Q]() { - return this.Q; - } - get [S$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S$4.$gain]() { - return this.gain; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } -}; -dart.addTypeTests(web_audio.BiquadFilterNode); -dart.addTypeCaches(web_audio.BiquadFilterNode); -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$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) -})); -dart.setSetterSignature(web_audio.BiquadFilterNode, () => ({ - __proto__: dart.getSetters(web_audio.BiquadFilterNode.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new ChannelMergerNode(context); - } -}; -dart.addTypeTests(web_audio.ChannelMergerNode); -dart.addTypeCaches(web_audio.ChannelMergerNode); -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[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); - } - static _create_2(context) { - return new ChannelSplitterNode(context); - } -}; -dart.addTypeTests(web_audio.ChannelSplitterNode); -dart.addTypeCaches(web_audio.ChannelSplitterNode); -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[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); - } - static _create_2(context) { - return new ConstantSourceNode(context); - } - get [S.$offset]() { - return this.offset; - } -}; -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[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[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); - } - static _create_2(context) { - return new ConvolverNode(context); - } - get [$buffer]() { - return this.buffer; - } - set [$buffer](value) { - this.buffer = value; - } - get [S$4.$normalize]() { - return this.normalize; - } - set [S$4.$normalize](value) { - this.normalize = value; - } -}; -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), - [S$4.$normalize]: dart.nullable(core.bool) -})); -dart.setSetterSignature(web_audio.ConvolverNode, () => ({ - __proto__: dart.getSetters(web_audio.ConvolverNode.__proto__), - [$buffer]: dart.nullable(web_audio.AudioBuffer), - [S$4.$normalize]: dart.nullable(core.bool) -})); -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[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); - } - static _create_2(context) { - return new DelayNode(context); - } - get [S$4.$delayTime]() { - return this.delayTime; - } -}; -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[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[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); - } - static _create_2(context) { - return new DynamicsCompressorNode(context); - } - get [S$4.$attack]() { - return this.attack; - } - get [S$4.$knee]() { - return this.knee; - } - get [S$4.$ratio]() { - return this.ratio; - } - get [S$4.$reduction]() { - return this.reduction; - } - get [S$4.$release]() { - return this.release; - } - get [S$4.$threshold]() { - return this.threshold; - } -}; -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), - [S$4.$knee]: dart.nullable(web_audio.AudioParam), - [S$4.$ratio]: dart.nullable(web_audio.AudioParam), - [S$4.$reduction]: dart.nullable(core.num), - [S$4.$release]: dart.nullable(web_audio.AudioParam), - [S$4.$threshold]: dart.nullable(web_audio.AudioParam) -})); -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[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); - } - static _create_2(context) { - return new GainNode(context); - } - get [S$4.$gain]() { - return this.gain; - } -}; -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[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[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); - } - [S$4.$getFrequencyResponse](...args) { - return this.getFrequencyResponse.apply(this, args); - } -}; -dart.addTypeTests(web_audio.IirFilterNode); -dart.addTypeCaches(web_audio.IirFilterNode); -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.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[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); - } - get [S$4.$mediaElement]() { - return this.mediaElement; - } -}; -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[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[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); - } - static _create_2(context) { - return new MediaStreamAudioDestinationNode(context); - } - get [S$1.$stream]() { - return this.stream; - } -}; -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[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[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); - } - get [S$4.$mediaStream]() { - return this.mediaStream; - } -}; -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[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[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); - } - get [S$4.$renderedBuffer]() { - return this.renderedBuffer; - } -}; -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[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); - } - if (core.Map.is(numberOfChannels_OR_options) && numberOfFrames == null && sampleRate == null) { - let options_1 = html_common.convertDartToNative_Dictionary(numberOfChannels_OR_options); - return web_audio.OfflineAudioContext._create_2(options_1); - } - 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); - } - static _create_2(numberOfChannels_OR_options) { - return new OfflineAudioContext(numberOfChannels_OR_options); - } - get [$length]() { - return this.length; - } - [S$4.$startRendering]() { - return js_util.promiseToFuture(web_audio.AudioBuffer, this.startRendering()); - } - [S$4.$suspendFor](suspendTime) { - if (suspendTime == null) dart.nullFailed(I[160], 1147, 25, "suspendTime"); - return js_util.promiseToFuture(dart.dynamic, this.suspend(suspendTime)); - } -}; -dart.addTypeTests(web_audio.OfflineAudioContext); -dart.addTypeCaches(web_audio.OfflineAudioContext); -dart.setMethodSignature(web_audio.OfflineAudioContext, () => ({ - __proto__: dart.getMethods(web_audio.OfflineAudioContext.__proto__), - [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[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[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$4.$detune]() { - return this.detune; - } - get [S$4.$frequency]() { - return this.frequency; - } - get [S.$type]() { - return this.type; - } - set [S.$type](value) { - this.type = value; - } - [S$4.$setPeriodicWave](...args) { - return this.setPeriodicWave.apply(this, args); - } -}; -dart.addTypeTests(web_audio.OscillatorNode); -dart.addTypeCaches(web_audio.OscillatorNode); -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$4.$detune]: dart.nullable(web_audio.AudioParam), - [S$4.$frequency]: dart.nullable(web_audio.AudioParam), - [S.$type]: dart.nullable(core.String) -})); -dart.setSetterSignature(web_audio.OscillatorNode, () => ({ - __proto__: dart.getSetters(web_audio.OscillatorNode.__proto__), - [S.$type]: dart.nullable(core.String) -})); -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[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); - } - static _create_2(context) { - return new PannerNode(context); - } - get [S$4.$coneInnerAngle]() { - return this.coneInnerAngle; - } - set [S$4.$coneInnerAngle](value) { - this.coneInnerAngle = value; - } - get [S$4.$coneOuterAngle]() { - return this.coneOuterAngle; - } - set [S$4.$coneOuterAngle](value) { - this.coneOuterAngle = value; - } - get [S$4.$coneOuterGain]() { - return this.coneOuterGain; - } - set [S$4.$coneOuterGain](value) { - this.coneOuterGain = value; - } - get [S$4.$distanceModel]() { - return this.distanceModel; - } - set [S$4.$distanceModel](value) { - this.distanceModel = value; - } - get [S$4.$maxDistance]() { - return this.maxDistance; - } - set [S$4.$maxDistance](value) { - this.maxDistance = value; - } - get [S$4.$orientationX]() { - return this.orientationX; - } - get [S$4.$orientationY]() { - return this.orientationY; - } - get [S$4.$orientationZ]() { - return this.orientationZ; - } - get [S$4.$panningModel]() { - return this.panningModel; - } - set [S$4.$panningModel](value) { - this.panningModel = value; - } - get [S$2.$positionX]() { - return this.positionX; - } - get [S$2.$positionY]() { - return this.positionY; - } - get [S$4.$positionZ]() { - return this.positionZ; - } - get [S$4.$refDistance]() { - return this.refDistance; - } - set [S$4.$refDistance](value) { - this.refDistance = value; - } - get [S$4.$rolloffFactor]() { - return this.rolloffFactor; - } - set [S$4.$rolloffFactor](value) { - this.rolloffFactor = value; - } - [S$4.$setOrientation](...args) { - return this.setOrientation.apply(this, args); - } - [S$2.$setPosition](...args) { - return this.setPosition.apply(this, args); - } -}; -dart.addTypeTests(web_audio.PannerNode); -dart.addTypeCaches(web_audio.PannerNode); -dart.setMethodSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getMethods(web_audio.PannerNode.__proto__), - [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), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$orientationX]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationY]: dart.nullable(web_audio.AudioParam), - [S$4.$orientationZ]: dart.nullable(web_audio.AudioParam), - [S$4.$panningModel]: dart.nullable(core.String), - [S$2.$positionX]: dart.nullable(web_audio.AudioParam), - [S$2.$positionY]: dart.nullable(web_audio.AudioParam), - [S$4.$positionZ]: dart.nullable(web_audio.AudioParam), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) -})); -dart.setSetterSignature(web_audio.PannerNode, () => ({ - __proto__: dart.getSetters(web_audio.PannerNode.__proto__), - [S$4.$coneInnerAngle]: dart.nullable(core.num), - [S$4.$coneOuterAngle]: dart.nullable(core.num), - [S$4.$coneOuterGain]: dart.nullable(core.num), - [S$4.$distanceModel]: dart.nullable(core.String), - [S$4.$maxDistance]: dart.nullable(core.num), - [S$4.$panningModel]: dart.nullable(core.String), - [S$4.$refDistance]: dart.nullable(core.num), - [S$4.$rolloffFactor]: dart.nullable(core.num) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_audio.PeriodicWave.__(); - } - static new(context, options = null) { - 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); - } - static _create_2(context) { - return new PeriodicWave(context); - } -}; -dart.addTypeTests(web_audio.PeriodicWave); -dart.addTypeCaches(web_audio.PeriodicWave); -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; - } - [S$4.$setEventListener](...args) { - return this.setEventListener.apply(this, args); - } - get [S$4.$onAudioProcess]() { - return web_audio.ScriptProcessorNode.audioProcessEvent.forTarget(this); - } -}; -dart.addTypeTests(web_audio.ScriptProcessorNode); -dart.addTypeCaches(web_audio.ScriptProcessorNode); -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[161]); -dart.setStaticFieldSignature(web_audio.ScriptProcessorNode, () => ['audioProcessEvent']); -dart.defineLazy(web_audio.ScriptProcessorNode, { - /*web_audio.ScriptProcessorNode.audioProcessEvent*/get audioProcessEvent() { - 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[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); - } - static _create_2(context) { - return new StereoPannerNode(context); - } - get [S$4.$pan]() { - return this.pan; - } -}; -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[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[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); - } - static _create_2(context) { - return new WaveShaperNode(context); - } - get [S$4.$curve]() { - return this.curve; - } - set [S$4.$curve](value) { - this.curve = value; - } - get [S$4.$oversample]() { - return this.oversample; - } - set [S$4.$oversample](value) { - this.oversample = value; - } -}; -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), - [S$4.$oversample]: dart.nullable(core.String) -})); -dart.setSetterSignature(web_audio.WaveShaperNode, () => ({ - __proto__: dart.getSetters(web_audio.WaveShaperNode.__proto__), - [S$4.$curve]: dart.nullable(typed_data.Float32List), - [S$4.$oversample]: dart.nullable(core.String) -})); -dart.setLibraryUri(web_audio.WaveShaperNode, I[161]); -dart.registerExtension("WaveShaperNode", web_audio.WaveShaperNode); -web_gl.ActiveInfo = class ActiveInfo extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ActiveInfo.__(); - } - get [$name]() { - return this.name; - } - get [S$.$size]() { - return this.size; - } - get [S.$type]() { - return this.type; - } -}; -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[162]); -dart.registerExtension("WebGLActiveInfo", web_gl.ActiveInfo); -web_gl.AngleInstancedArrays = class AngleInstancedArrays extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.AngleInstancedArrays.__(); - } - [S$4.$drawArraysInstancedAngle](...args) { - return this.drawArraysInstancedANGLE.apply(this, args); - } - [S$4.$drawElementsInstancedAngle](...args) { - return this.drawElementsInstancedANGLE.apply(this, args); - } - [S$4.$vertexAttribDivisorAngle](...args) { - return this.vertexAttribDivisorANGLE.apply(this, args); - } -}; -dart.addTypeTests(web_gl.AngleInstancedArrays); -dart.addTypeCaches(web_gl.AngleInstancedArrays); -dart.setMethodSignature(web_gl.AngleInstancedArrays, () => ({ - __proto__: dart.getMethods(web_gl.AngleInstancedArrays.__proto__), - [S$4.$drawArraysInstancedAngle]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [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.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; - } -}, false); -dart.registerExtension("ANGLEInstancedArrays", web_gl.AngleInstancedArrays); -dart.registerExtension("ANGLE_instanced_arrays", web_gl.AngleInstancedArrays); -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.setStaticMethodSignature(web_gl.Buffer, () => ['__']); -dart.setLibraryUri(web_gl.Buffer, I[162]); -dart.registerExtension("WebGLBuffer", web_gl.Buffer); -web_gl.Canvas = class Canvas extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Canvas.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$offscreenCanvas]() { - return this.canvas; - } -}; -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[162]); -dart.registerExtension("WebGLCanvas", web_gl.Canvas); -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.setStaticMethodSignature(web_gl.ColorBufferFloat, () => ['__']); -dart.setLibraryUri(web_gl.ColorBufferFloat, I[162]); -dart.registerExtension("WebGLColorBufferFloat", web_gl.ColorBufferFloat); -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.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; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x5_KHR*/get COMPRESSED_RGBA_ASTC_10x5_KHR() { - return 37816; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x6_KHR*/get COMPRESSED_RGBA_ASTC_10x6_KHR() { - return 37817; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_10x8_KHR*/get COMPRESSED_RGBA_ASTC_10x8_KHR() { - return 37818; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x10_KHR*/get COMPRESSED_RGBA_ASTC_12x10_KHR() { - return 37820; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_12x12_KHR*/get COMPRESSED_RGBA_ASTC_12x12_KHR() { - return 37821; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_4x4_KHR*/get COMPRESSED_RGBA_ASTC_4x4_KHR() { - return 37808; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x4_KHR*/get COMPRESSED_RGBA_ASTC_5x4_KHR() { - return 37809; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_5x5_KHR*/get COMPRESSED_RGBA_ASTC_5x5_KHR() { - return 37810; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x5_KHR*/get COMPRESSED_RGBA_ASTC_6x5_KHR() { - return 37811; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_6x6_KHR*/get COMPRESSED_RGBA_ASTC_6x6_KHR() { - return 37812; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x5_KHR*/get COMPRESSED_RGBA_ASTC_8x5_KHR() { - return 37813; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x6_KHR*/get COMPRESSED_RGBA_ASTC_8x6_KHR() { - return 37814; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_RGBA_ASTC_8x8_KHR*/get COMPRESSED_RGBA_ASTC_8x8_KHR() { - return 37815; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR() { - return 37851; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR() { - return 37848; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR() { - return 37849; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR() { - return 37850; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR() { - return 37852; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR() { - return 37853; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR() { - return 37840; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR() { - return 37841; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR() { - return 37842; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR() { - return 37843; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR() { - return 37844; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR() { - return 37845; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR() { - return 37846; - }, - /*web_gl.CompressedTextureAstc.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR*/get COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR() { - return 37847; - } -}, false); -dart.registerExtension("WebGLCompressedTextureASTC", web_gl.CompressedTextureAstc); -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.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; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL*/get COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL() { - return 34798; - }, - /*web_gl.CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL*/get COMPRESSED_RGB_ATC_WEBGL() { - return 35986; - } -}, false); -dart.registerExtension("WebGLCompressedTextureATC", web_gl.CompressedTextureAtc); -dart.registerExtension("WEBGL_compressed_texture_atc", web_gl.CompressedTextureAtc); -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.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; - } -}, false); -dart.registerExtension("WebGLCompressedTextureETC1", web_gl.CompressedTextureETC1); -dart.registerExtension("WEBGL_compressed_texture_etc1", web_gl.CompressedTextureETC1); -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.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; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RG11_EAC*/get COMPRESSED_RG11_EAC() { - return 37490; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_ETC2*/get COMPRESSED_RGB8_ETC2() { - return 37492; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37494; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_RGBA8_ETC2_EAC*/get COMPRESSED_RGBA8_ETC2_EAC() { - return 37496; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_R11_EAC*/get COMPRESSED_SIGNED_R11_EAC() { - return 37489; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SIGNED_RG11_EAC*/get COMPRESSED_SIGNED_RG11_EAC() { - return 37491; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC*/get COMPRESSED_SRGB8_ALPHA8_ETC2_EAC() { - return 37497; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_ETC2*/get COMPRESSED_SRGB8_ETC2() { - return 37493; - }, - /*web_gl.CompressedTextureEtc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2*/get COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2() { - return 37495; - } -}, false); -dart.registerExtension("WebGLCompressedTextureETC", web_gl.CompressedTextureEtc); -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.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; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGBA_PVRTC_4BPPV1_IMG() { - return 35842; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_2BPPV1_IMG() { - return 35841; - }, - /*web_gl.CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG*/get COMPRESSED_RGB_PVRTC_4BPPV1_IMG() { - return 35840; - } -}, false); -dart.registerExtension("WebGLCompressedTexturePVRTC", web_gl.CompressedTexturePvrtc); -dart.registerExtension("WEBGL_compressed_texture_pvrtc", web_gl.CompressedTexturePvrtc); -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.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; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT*/get COMPRESSED_RGBA_S3TC_DXT3_EXT() { - return 33778; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT*/get COMPRESSED_RGBA_S3TC_DXT5_EXT() { - return 33779; - }, - /*web_gl.CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT*/get COMPRESSED_RGB_S3TC_DXT1_EXT() { - return 33776; - } -}, false); -dart.registerExtension("WebGLCompressedTextureS3TC", web_gl.CompressedTextureS3TC); -dart.registerExtension("WEBGL_compressed_texture_s3tc", web_gl.CompressedTextureS3TC); -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.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; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT() { - return 35918; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT*/get COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT() { - return 35919; - }, - /*web_gl.CompressedTextureS3TCsRgb.COMPRESSED_SRGB_S3TC_DXT1_EXT*/get COMPRESSED_SRGB_S3TC_DXT1_EXT() { - return 35916; - } -}, 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[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); - } - static _create_2(type) { - return new WebGLContextEvent(type); - } - get [S$4.$statusMessage]() { - return this.statusMessage; - } -}; -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[162]); -dart.registerExtension("WebGLContextEvent", web_gl.ContextEvent); -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.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; - }, - /*web_gl.DebugRendererInfo.UNMASKED_VENDOR_WEBGL*/get UNMASKED_VENDOR_WEBGL() { - return 37445; - } -}, false); -dart.registerExtension("WebGLDebugRendererInfo", web_gl.DebugRendererInfo); -dart.registerExtension("WEBGL_debug_renderer_info", web_gl.DebugRendererInfo); -web_gl.DebugShaders = class DebugShaders extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DebugShaders.__(); - } - [S$4.$getTranslatedShaderSource](...args) { - return this.getTranslatedShaderSource.apply(this, args); - } -}; -dart.addTypeTests(web_gl.DebugShaders); -dart.addTypeCaches(web_gl.DebugShaders); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DepthTexture.__(); - } -}; -dart.addTypeTests(web_gl.DepthTexture); -dart.addTypeCaches(web_gl.DepthTexture); -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; - } -}, false); -dart.registerExtension("WebGLDepthTexture", web_gl.DepthTexture); -dart.registerExtension("WEBGL_depth_texture", web_gl.DepthTexture); -web_gl.DrawBuffers = class DrawBuffers extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.DrawBuffers.__(); - } - [S$4.$drawBuffersWebgl](...args) { - return this.drawBuffersWEBGL.apply(this, args); - } -}; -dart.addTypeTests(web_gl.DrawBuffers); -dart.addTypeCaches(web_gl.DrawBuffers); -dart.setMethodSignature(web_gl.DrawBuffers, () => ({ - __proto__: dart.getMethods(web_gl.DrawBuffers.__proto__), - [S$4.$drawBuffersWebgl]: dart.fnType(dart.void, [core.List$(core.int)]) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.EXTsRgb.__(); - } -}; -dart.addTypeTests(web_gl.EXTsRgb); -dart.addTypeCaches(web_gl.EXTsRgb); -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; - }, - /*web_gl.EXTsRgb.SRGB8_ALPHA8_EXT*/get SRGB8_ALPHA8_EXT() { - return 35907; - }, - /*web_gl.EXTsRgb.SRGB_ALPHA_EXT*/get SRGB_ALPHA_EXT() { - return 35906; - }, - /*web_gl.EXTsRgb.SRGB_EXT*/get SRGB_EXT() { - return 35904; - } -}, false); -dart.registerExtension("EXTsRGB", web_gl.EXTsRgb); -dart.registerExtension("EXT_sRGB", web_gl.EXTsRgb); -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.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; - }, - /*web_gl.ExtBlendMinMax.MIN_EXT*/get MIN_EXT() { - return 32775; - } -}, false); -dart.registerExtension("EXTBlendMinMax", web_gl.ExtBlendMinMax); -dart.registerExtension("EXT_blend_minmax", web_gl.ExtBlendMinMax); -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.setStaticMethodSignature(web_gl.ExtColorBufferFloat, () => ['__']); -dart.setLibraryUri(web_gl.ExtColorBufferFloat, I[162]); -dart.registerExtension("EXTColorBufferFloat", web_gl.ExtColorBufferFloat); -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.setStaticMethodSignature(web_gl.ExtColorBufferHalfFloat, () => ['__']); -dart.setLibraryUri(web_gl.ExtColorBufferHalfFloat, I[162]); -dart.registerExtension("EXTColorBufferHalfFloat", web_gl.ExtColorBufferHalfFloat); -web_gl.ExtDisjointTimerQuery = class ExtDisjointTimerQuery extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQuery.__(); - } - [S$4.$beginQueryExt](...args) { - return this.beginQueryEXT.apply(this, args); - } - [S$4.$createQueryExt](...args) { - return this.createQueryEXT.apply(this, args); - } - [S$4.$deleteQueryExt](...args) { - return this.deleteQueryEXT.apply(this, args); - } - [S$4.$endQueryExt](...args) { - return this.endQueryEXT.apply(this, args); - } - [S$4.$getQueryExt](...args) { - return this.getQueryEXT.apply(this, args); - } - [S$4.$getQueryObjectExt](...args) { - return this.getQueryObjectEXT.apply(this, args); - } - [S$4.$isQueryExt](...args) { - return this.isQueryEXT.apply(this, args); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } -}; -dart.addTypeTests(web_gl.ExtDisjointTimerQuery); -dart.addTypeCaches(web_gl.ExtDisjointTimerQuery); -dart.setMethodSignature(web_gl.ExtDisjointTimerQuery, () => ({ - __proto__: dart.getMethods(web_gl.ExtDisjointTimerQuery.__proto__), - [S$4.$beginQueryExt]: dart.fnType(dart.void, [core.int, web_gl.TimerQueryExt]), - [S$4.$createQueryExt]: dart.fnType(web_gl.TimerQueryExt, []), - [S$4.$deleteQueryExt]: dart.fnType(dart.void, [dart.nullable(web_gl.TimerQueryExt)]), - [S$4.$endQueryExt]: dart.fnType(dart.void, [core.int]), - [S$4.$getQueryExt]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryObjectExt]: dart.fnType(dart.nullable(core.Object), [web_gl.TimerQueryExt, core.int]), - [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.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; - }, - /*web_gl.ExtDisjointTimerQuery.GPU_DISJOINT_EXT*/get GPU_DISJOINT_EXT() { - return 36795; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT*/get QUERY_RESULT_AVAILABLE_EXT() { - return 34919; - }, - /*web_gl.ExtDisjointTimerQuery.QUERY_RESULT_EXT*/get QUERY_RESULT_EXT() { - return 34918; - }, - /*web_gl.ExtDisjointTimerQuery.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQuery.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } -}, false); -dart.registerExtension("EXTDisjointTimerQuery", web_gl.ExtDisjointTimerQuery); -web_gl.ExtDisjointTimerQueryWebGL2 = class ExtDisjointTimerQueryWebGL2 extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtDisjointTimerQueryWebGL2.__(); - } - [S$4.$queryCounterExt](...args) { - return this.queryCounterEXT.apply(this, args); - } -}; -dart.addTypeTests(web_gl.ExtDisjointTimerQueryWebGL2); -dart.addTypeCaches(web_gl.ExtDisjointTimerQueryWebGL2); -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.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; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.QUERY_COUNTER_BITS_EXT*/get QUERY_COUNTER_BITS_EXT() { - return 34916; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIMESTAMP_EXT*/get TIMESTAMP_EXT() { - return 36392; - }, - /*web_gl.ExtDisjointTimerQueryWebGL2.TIME_ELAPSED_EXT*/get TIME_ELAPSED_EXT() { - return 35007; - } -}, false); -dart.registerExtension("EXTDisjointTimerQueryWebGL2", web_gl.ExtDisjointTimerQueryWebGL2); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtShaderTextureLod.__(); - } -}; -dart.addTypeTests(web_gl.ExtShaderTextureLod); -dart.addTypeCaches(web_gl.ExtShaderTextureLod); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ExtTextureFilterAnisotropic.__(); - } -}; -dart.addTypeTests(web_gl.ExtTextureFilterAnisotropic); -dart.addTypeCaches(web_gl.ExtTextureFilterAnisotropic); -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; - }, - /*web_gl.ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT*/get TEXTURE_MAX_ANISOTROPY_EXT() { - return 34046; - } -}, false); -dart.registerExtension("EXTTextureFilterAnisotropic", web_gl.ExtTextureFilterAnisotropic); -dart.registerExtension("EXT_texture_filter_anisotropic", web_gl.ExtTextureFilterAnisotropic); -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.setStaticMethodSignature(web_gl.Framebuffer, () => ['__']); -dart.setLibraryUri(web_gl.Framebuffer, I[162]); -dart.registerExtension("WebGLFramebuffer", web_gl.Framebuffer); -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[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)); - } -}; -dart.addTypeTests(web_gl.GetBufferSubDataAsync); -dart.addTypeCaches(web_gl.GetBufferSubDataAsync); -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.setStaticMethodSignature(web_gl.GetBufferSubDataAsync, () => ['__']); -dart.setLibraryUri(web_gl.GetBufferSubDataAsync, I[162]); -dart.registerExtension("WebGLGetBufferSubDataAsync", web_gl.GetBufferSubDataAsync); -web_gl.LoseContext = class LoseContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.LoseContext.__(); - } - [S$4.$loseContext](...args) { - return this.loseContext.apply(this, args); - } - [S$4.$restoreContext](...args) { - return this.restoreContext.apply(this, args); - } -}; -dart.addTypeTests(web_gl.LoseContext); -dart.addTypeCaches(web_gl.LoseContext); -dart.setMethodSignature(web_gl.LoseContext, () => ({ - __proto__: dart.getMethods(web_gl.LoseContext.__proto__), - [S$4.$loseContext]: dart.fnType(dart.void, []), - [S$4.$restoreContext]: dart.fnType(dart.void, []) -})); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesElementIndexUint.__(); - } -}; -dart.addTypeTests(web_gl.OesElementIndexUint); -dart.addTypeCaches(web_gl.OesElementIndexUint); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesStandardDerivatives.__(); - } -}; -dart.addTypeTests(web_gl.OesStandardDerivatives); -dart.addTypeCaches(web_gl.OesStandardDerivatives); -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; - } -}, false); -dart.registerExtension("OESStandardDerivatives", web_gl.OesStandardDerivatives); -dart.registerExtension("OES_standard_derivatives", web_gl.OesStandardDerivatives); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureFloatLinear.__(); - } -}; -dart.addTypeTests(web_gl.OesTextureFloatLinear); -dart.addTypeCaches(web_gl.OesTextureFloatLinear); -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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesTextureHalfFloat.__(); - } -}; -dart.addTypeTests(web_gl.OesTextureHalfFloat); -dart.addTypeCaches(web_gl.OesTextureHalfFloat); -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; - } -}, false); -dart.registerExtension("OESTextureHalfFloat", web_gl.OesTextureHalfFloat); -dart.registerExtension("OES_texture_half_float", web_gl.OesTextureHalfFloat); -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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.OesVertexArrayObject.__(); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArrayOES.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArrayOES.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArrayOES.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArrayOES.apply(this, args); - } -}; -dart.addTypeTests(web_gl.OesVertexArrayObject); -dart.addTypeCaches(web_gl.OesVertexArrayObject); -dart.setMethodSignature(web_gl.OesVertexArrayObject, () => ({ - __proto__: dart.getMethods(web_gl.OesVertexArrayObject.__proto__), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObjectOes)]), - [S$4.$createVertexArray]: dart.fnType(web_gl.VertexArrayObjectOes, []), - [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.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; - } -}, false); -dart.registerExtension("OESVertexArrayObject", web_gl.OesVertexArrayObject); -dart.registerExtension("OES_vertex_array_object", web_gl.OesVertexArrayObject); -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.setStaticMethodSignature(web_gl.Program, () => ['__']); -dart.setLibraryUri(web_gl.Program, I[162]); -dart.registerExtension("WebGLProgram", web_gl.Program); -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.setStaticMethodSignature(web_gl.Query, () => ['__']); -dart.setLibraryUri(web_gl.Query, I[162]); -dart.registerExtension("WebGLQuery", web_gl.Query); -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.setStaticMethodSignature(web_gl.Renderbuffer, () => ['__']); -dart.setLibraryUri(web_gl.Renderbuffer, I[162]); -dart.registerExtension("WebGLRenderbuffer", web_gl.Renderbuffer); -web_gl.RenderingContext = class RenderingContext extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext.__(); - } - static get supported() { - return !!window.WebGLRenderingContext; - } - get [S$.$canvas]() { - return this.canvas; - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, pixels) { - 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[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[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[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[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[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[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); - } -}; -dart.addTypeTests(web_gl.RenderingContext); -dart.addTypeCaches(web_gl.RenderingContext); -web_gl.RenderingContext[dart.implements] = () => [html$.CanvasRenderingContext]; -dart.setMethodSignature(web_gl.RenderingContext, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext.__proto__), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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, dart.nullable(typed_data.TypedData)]), - [S$4.$texImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [S$4.$texSubImage2DUntyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic]), - [S$4.$texSubImage2DTyped]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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.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.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.RenderingContext2.__(); - } - get [S$.$canvas]() { - return this.canvas; - } - [S$4.$beginQuery](...args) { - return this.beginQuery.apply(this, args); - } - [S$4.$beginTransformFeedback](...args) { - return this.beginTransformFeedback.apply(this, args); - } - [S$4.$bindBufferBase](...args) { - return this.bindBufferBase.apply(this, args); - } - [S$4.$bindBufferRange](...args) { - return this.bindBufferRange.apply(this, args); - } - [S$4.$bindSampler](...args) { - return this.bindSampler.apply(this, args); - } - [S$4.$bindTransformFeedback](...args) { - return this.bindTransformFeedback.apply(this, args); - } - [S$4.$bindVertexArray](...args) { - return this.bindVertexArray.apply(this, args); - } - [S$4.$blitFramebuffer](...args) { - return this.blitFramebuffer.apply(this, args); - } - [S$4.$bufferData2](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData2](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$clearBufferfi](...args) { - return this.clearBufferfi.apply(this, args); - } - [S$4.$clearBufferfv](...args) { - return this.clearBufferfv.apply(this, args); - } - [S$4.$clearBufferiv](...args) { - return this.clearBufferiv.apply(this, args); - } - [S$4.$clearBufferuiv](...args) { - return this.clearBufferuiv.apply(this, args); - } - [S$4.$clientWaitSync](...args) { - return this.clientWaitSync.apply(this, args); - } - [S$4.$compressedTexImage2D2](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage2D3](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexImage3D](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexImage3D2](...args) { - return this.compressedTexImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage2D2](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D3](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage3D](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$compressedTexSubImage3D2](...args) { - return this.compressedTexSubImage3D.apply(this, args); - } - [S$4.$copyBufferSubData](...args) { - return this.copyBufferSubData.apply(this, args); - } - [S$4.$copyTexSubImage3D](...args) { - return this.copyTexSubImage3D.apply(this, args); - } - [S$4.$createQuery](...args) { - return this.createQuery.apply(this, args); - } - [S$4.$createSampler](...args) { - return this.createSampler.apply(this, args); - } - [S$4.$createTransformFeedback](...args) { - return this.createTransformFeedback.apply(this, args); - } - [S$4.$createVertexArray](...args) { - return this.createVertexArray.apply(this, args); - } - [S$4.$deleteQuery](...args) { - return this.deleteQuery.apply(this, args); - } - [S$4.$deleteSampler](...args) { - return this.deleteSampler.apply(this, args); - } - [S$4.$deleteSync](...args) { - return this.deleteSync.apply(this, args); - } - [S$4.$deleteTransformFeedback](...args) { - return this.deleteTransformFeedback.apply(this, args); - } - [S$4.$deleteVertexArray](...args) { - return this.deleteVertexArray.apply(this, args); - } - [S$4.$drawArraysInstanced](...args) { - return this.drawArraysInstanced.apply(this, args); - } - [S$4.$drawBuffers](...args) { - return this.drawBuffers.apply(this, args); - } - [S$4.$drawElementsInstanced](...args) { - return this.drawElementsInstanced.apply(this, args); - } - [S$4.$drawRangeElements](...args) { - return this.drawRangeElements.apply(this, args); - } - [S$4.$endQuery](...args) { - return this.endQuery.apply(this, args); - } - [S$4.$endTransformFeedback](...args) { - return this.endTransformFeedback.apply(this, args); - } - [S$4.$fenceSync](...args) { - return this.fenceSync.apply(this, args); - } - [S$4.$framebufferTextureLayer](...args) { - return this.framebufferTextureLayer.apply(this, args); - } - [S$4.$getActiveUniformBlockName](...args) { - return this.getActiveUniformBlockName.apply(this, args); - } - [S$4.$getActiveUniformBlockParameter](...args) { - return this.getActiveUniformBlockParameter.apply(this, args); - } - [S$4.$getActiveUniforms](...args) { - return this.getActiveUniforms.apply(this, args); - } - [S$4.$getBufferSubData](...args) { - return this.getBufferSubData.apply(this, args); - } - [S$4.$getFragDataLocation](...args) { - return this.getFragDataLocation.apply(this, args); - } - [S$4.$getIndexedParameter](...args) { - return this.getIndexedParameter.apply(this, args); - } - [S$4.$getInternalformatParameter](...args) { - return this.getInternalformatParameter.apply(this, args); - } - [S$4.$getQuery](...args) { - return this.getQuery.apply(this, args); - } - [S$4.$getQueryParameter](...args) { - return this.getQueryParameter.apply(this, args); - } - [S$4.$getSamplerParameter](...args) { - return this.getSamplerParameter.apply(this, args); - } - [S$4.$getSyncParameter](...args) { - return this.getSyncParameter.apply(this, args); - } - [S$4.$getTransformFeedbackVarying](...args) { - return this.getTransformFeedbackVarying.apply(this, args); - } - [S$4.$getUniformBlockIndex](...args) { - return this.getUniformBlockIndex.apply(this, args); - } - [S$4.$getUniformIndices](program, 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); - } - [S$4._getUniformIndices_1](...args) { - return this.getUniformIndices.apply(this, args); - } - [S$4.$invalidateFramebuffer](...args) { - return this.invalidateFramebuffer.apply(this, args); - } - [S$4.$invalidateSubFramebuffer](...args) { - return this.invalidateSubFramebuffer.apply(this, args); - } - [S$4.$isQuery](...args) { - return this.isQuery.apply(this, args); - } - [S$4.$isSampler](...args) { - return this.isSampler.apply(this, args); - } - [S$4.$isSync](...args) { - return this.isSync.apply(this, args); - } - [S$4.$isTransformFeedback](...args) { - return this.isTransformFeedback.apply(this, args); - } - [S$4.$isVertexArray](...args) { - return this.isVertexArray.apply(this, args); - } - [S$4.$pauseTransformFeedback](...args) { - return this.pauseTransformFeedback.apply(this, args); - } - [S$4.$readBuffer](...args) { - return this.readBuffer.apply(this, args); - } - [S$4.$readPixels2](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorageMultisample](...args) { - return this.renderbufferStorageMultisample.apply(this, args); - } - [S$4.$resumeTransformFeedback](...args) { - return this.resumeTransformFeedback.apply(this, args); - } - [S$4.$samplerParameterf](...args) { - return this.samplerParameterf.apply(this, args); - } - [S$4.$samplerParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texImage2D2_2](target, level, internalformat, width, height, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_3](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_4](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_5](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texImage2D2_6](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texImage2D2_7](target, level, internalformat, width, height, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D2_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texImage3D_2](target, level, internalformat, width, height, depth, border, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_3](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_4](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_5](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texImage3D_6](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if ((typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) || bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video == null) && srcOffset == null) { - this[S$4._texImage3D_7](target, level, internalformat, width, height, depth, border, format, type, T$0.TypedDataN().as(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texImage3D_8](target, level, internalformat, width, height, depth, border, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage3D_1](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_2](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_3](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_4](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_5](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_6](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_7](...args) { - return this.texImage3D.apply(this, args); - } - [S$4._texImage3D_8](...args) { - return this.texImage3D.apply(this, args); - } - [S$4.$texStorage2D](...args) { - return this.texStorage2D.apply(this, args); - } - [S$4.$texStorage3D](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - this[S$4._texSubImage2D2_2](target, level, xoffset, yoffset, width, height, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_3](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_4](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_5](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video) && srcOffset == null) { - this[S$4._texSubImage2D2_6](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video)) { - this[S$4._texSubImage2D2_7](target, level, xoffset, yoffset, width, height, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_srcData_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D2_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D2_7](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - let data_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - this[S$4._texSubImage3D_2](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_3](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_4](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_5](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_6](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video) && srcOffset == null) { - this[S$4._texSubImage3D_7](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video); - return; - } - if (srcOffset != null && typed_data.TypedData.is(bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video)) { - this[S$4._texSubImage3D_8](target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bitmap_OR_canvas_OR_data_OR_image_OR_offset_OR_pixels_OR_video, srcOffset); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage3D_1](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_2](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_3](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_4](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_5](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_6](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_7](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4._texSubImage3D_8](...args) { - return this.texSubImage3D.apply(this, args); - } - [S$4.$transformFeedbackVaryings](program, varyings, 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; - } - [S$4._transformFeedbackVaryings_1](...args) { - return this.transformFeedbackVaryings.apply(this, args); - } - [S$4.$uniform1fv2](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1iv2](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform1ui](...args) { - return this.uniform1ui.apply(this, args); - } - [S$4.$uniform1uiv](...args) { - return this.uniform1uiv.apply(this, args); - } - [S$4.$uniform2fv2](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2iv2](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform2ui](...args) { - return this.uniform2ui.apply(this, args); - } - [S$4.$uniform2uiv](...args) { - return this.uniform2uiv.apply(this, args); - } - [S$4.$uniform3fv2](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3iv2](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform3ui](...args) { - return this.uniform3ui.apply(this, args); - } - [S$4.$uniform3uiv](...args) { - return this.uniform3uiv.apply(this, args); - } - [S$4.$uniform4fv2](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4iv2](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniform4ui](...args) { - return this.uniform4ui.apply(this, args); - } - [S$4.$uniform4uiv](...args) { - return this.uniform4uiv.apply(this, args); - } - [S$4.$uniformBlockBinding](...args) { - return this.uniformBlockBinding.apply(this, args); - } - [S$4.$uniformMatrix2fv2](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix2x3fv](...args) { - return this.uniformMatrix2x3fv.apply(this, args); - } - [S$4.$uniformMatrix2x4fv](...args) { - return this.uniformMatrix2x4fv.apply(this, args); - } - [S$4.$uniformMatrix3fv2](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix3x2fv](...args) { - return this.uniformMatrix3x2fv.apply(this, args); - } - [S$4.$uniformMatrix3x4fv](...args) { - return this.uniformMatrix3x4fv.apply(this, args); - } - [S$4.$uniformMatrix4fv2](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$uniformMatrix4x2fv](...args) { - return this.uniformMatrix4x2fv.apply(this, args); - } - [S$4.$uniformMatrix4x3fv](...args) { - return this.uniformMatrix4x3fv.apply(this, args); - } - [S$4.$vertexAttribDivisor](...args) { - return this.vertexAttribDivisor.apply(this, args); - } - [S$4.$vertexAttribI4i](...args) { - return this.vertexAttribI4i.apply(this, args); - } - [S$4.$vertexAttribI4iv](...args) { - return this.vertexAttribI4iv.apply(this, args); - } - [S$4.$vertexAttribI4ui](...args) { - return this.vertexAttribI4ui.apply(this, args); - } - [S$4.$vertexAttribI4uiv](...args) { - return this.vertexAttribI4uiv.apply(this, args); - } - [S$4.$vertexAttribIPointer](...args) { - return this.vertexAttribIPointer.apply(this, args); - } - [S$4.$waitSync](...args) { - return this.waitSync.apply(this, args); - } - get [S$4.$drawingBufferHeight]() { - return this.drawingBufferHeight; - } - get [S$4.$drawingBufferWidth]() { - return this.drawingBufferWidth; - } - [S$4.$activeTexture](...args) { - return this.activeTexture.apply(this, args); - } - [S$4.$attachShader](...args) { - return this.attachShader.apply(this, args); - } - [S$4.$bindAttribLocation](...args) { - return this.bindAttribLocation.apply(this, args); - } - [S$4.$bindBuffer](...args) { - return this.bindBuffer.apply(this, args); - } - [S$4.$bindFramebuffer](...args) { - return this.bindFramebuffer.apply(this, args); - } - [S$4.$bindRenderbuffer](...args) { - return this.bindRenderbuffer.apply(this, args); - } - [S$4.$bindTexture](...args) { - return this.bindTexture.apply(this, args); - } - [S$4.$blendColor](...args) { - return this.blendColor.apply(this, args); - } - [S$4.$blendEquation](...args) { - return this.blendEquation.apply(this, args); - } - [S$4.$blendEquationSeparate](...args) { - return this.blendEquationSeparate.apply(this, args); - } - [S$4.$blendFunc](...args) { - return this.blendFunc.apply(this, args); - } - [S$4.$blendFuncSeparate](...args) { - return this.blendFuncSeparate.apply(this, args); - } - [S$4.$bufferData](...args) { - return this.bufferData.apply(this, args); - } - [S$4.$bufferSubData](...args) { - return this.bufferSubData.apply(this, args); - } - [S$4.$checkFramebufferStatus](...args) { - return this.checkFramebufferStatus.apply(this, args); - } - [$clear](...args) { - return this.clear.apply(this, args); - } - [S$4.$clearColor](...args) { - return this.clearColor.apply(this, args); - } - [S$4.$clearDepth](...args) { - return this.clearDepth.apply(this, args); - } - [S$4.$clearStencil](...args) { - return this.clearStencil.apply(this, args); - } - [S$4.$colorMask](...args) { - return this.colorMask.apply(this, args); - } - [S$2.$commit]() { - return js_util.promiseToFuture(dart.dynamic, this.commit()); - } - [S$4.$compileShader](...args) { - return this.compileShader.apply(this, args); - } - [S$4.$compressedTexImage2D](...args) { - return this.compressedTexImage2D.apply(this, args); - } - [S$4.$compressedTexSubImage2D](...args) { - return this.compressedTexSubImage2D.apply(this, args); - } - [S$4.$copyTexImage2D](...args) { - return this.copyTexImage2D.apply(this, args); - } - [S$4.$copyTexSubImage2D](...args) { - return this.copyTexSubImage2D.apply(this, args); - } - [S$4.$createBuffer](...args) { - return this.createBuffer.apply(this, args); - } - [S$4.$createFramebuffer](...args) { - return this.createFramebuffer.apply(this, args); - } - [S$4.$createProgram](...args) { - return this.createProgram.apply(this, args); - } - [S$4.$createRenderbuffer](...args) { - return this.createRenderbuffer.apply(this, args); - } - [S$4.$createShader](...args) { - return this.createShader.apply(this, args); - } - [S$4.$createTexture](...args) { - return this.createTexture.apply(this, args); - } - [S$4.$cullFace](...args) { - return this.cullFace.apply(this, args); - } - [S$4.$deleteBuffer](...args) { - return this.deleteBuffer.apply(this, args); - } - [S$4.$deleteFramebuffer](...args) { - return this.deleteFramebuffer.apply(this, args); - } - [S$4.$deleteProgram](...args) { - return this.deleteProgram.apply(this, args); - } - [S$4.$deleteRenderbuffer](...args) { - return this.deleteRenderbuffer.apply(this, args); - } - [S$4.$deleteShader](...args) { - return this.deleteShader.apply(this, args); - } - [S$4.$deleteTexture](...args) { - return this.deleteTexture.apply(this, args); - } - [S$4.$depthFunc](...args) { - return this.depthFunc.apply(this, args); - } - [S$4.$depthMask](...args) { - return this.depthMask.apply(this, args); - } - [S$4.$depthRange](...args) { - return this.depthRange.apply(this, args); - } - [S$4.$detachShader](...args) { - return this.detachShader.apply(this, args); - } - [S$2.$disable](...args) { - return this.disable.apply(this, args); - } - [S$4.$disableVertexAttribArray](...args) { - return this.disableVertexAttribArray.apply(this, args); - } - [S$4.$drawArrays](...args) { - return this.drawArrays.apply(this, args); - } - [S$4.$drawElements](...args) { - return this.drawElements.apply(this, args); - } - [S$2.$enable](...args) { - return this.enable.apply(this, args); - } - [S$4.$enableVertexAttribArray](...args) { - return this.enableVertexAttribArray.apply(this, args); - } - [S$.$finish](...args) { - return this.finish.apply(this, args); - } - [S$4.$flush](...args) { - return this.flush.apply(this, args); - } - [S$4.$framebufferRenderbuffer](...args) { - return this.framebufferRenderbuffer.apply(this, args); - } - [S$4.$framebufferTexture2D](...args) { - return this.framebufferTexture2D.apply(this, args); - } - [S$4.$frontFace](...args) { - return this.frontFace.apply(this, args); - } - [S$4.$generateMipmap](...args) { - return this.generateMipmap.apply(this, args); - } - [S$4.$getActiveAttrib](...args) { - return this.getActiveAttrib.apply(this, args); - } - [S$4.$getActiveUniform](...args) { - return this.getActiveUniform.apply(this, args); - } - [S$4.$getAttachedShaders](...args) { - return this.getAttachedShaders.apply(this, args); - } - [S$4.$getAttribLocation](...args) { - return this.getAttribLocation.apply(this, args); - } - [S$4.$getBufferParameter](...args) { - return this.getBufferParameter.apply(this, args); - } - [S$.$getContextAttributes]() { - return html_common.convertNativeToDart_Dictionary(this[S$4._getContextAttributes_1$1]()); - } - [S$4._getContextAttributes_1$1](...args) { - return this.getContextAttributes.apply(this, args); - } - [S$4.$getError](...args) { - return this.getError.apply(this, args); - } - [S$4.$getExtension](...args) { - return this.getExtension.apply(this, args); - } - [S$4.$getFramebufferAttachmentParameter](...args) { - return this.getFramebufferAttachmentParameter.apply(this, args); - } - [S$3.$getParameter](...args) { - return this.getParameter.apply(this, args); - } - [S$4.$getProgramInfoLog](...args) { - return this.getProgramInfoLog.apply(this, args); - } - [S$4.$getProgramParameter](...args) { - return this.getProgramParameter.apply(this, args); - } - [S$4.$getRenderbufferParameter](...args) { - return this.getRenderbufferParameter.apply(this, args); - } - [S$4.$getShaderInfoLog](...args) { - return this.getShaderInfoLog.apply(this, args); - } - [S$4.$getShaderParameter](...args) { - return this.getShaderParameter.apply(this, args); - } - [S$4.$getShaderPrecisionFormat](...args) { - return this.getShaderPrecisionFormat.apply(this, args); - } - [S$4.$getShaderSource](...args) { - return this.getShaderSource.apply(this, args); - } - [S$4.$getSupportedExtensions](...args) { - return this.getSupportedExtensions.apply(this, args); - } - [S$4.$getTexParameter](...args) { - return this.getTexParameter.apply(this, args); - } - [S$4.$getUniform](...args) { - return this.getUniform.apply(this, args); - } - [S$4.$getUniformLocation](...args) { - return this.getUniformLocation.apply(this, args); - } - [S$4.$getVertexAttrib](...args) { - return this.getVertexAttrib.apply(this, args); - } - [S$4.$getVertexAttribOffset](...args) { - return this.getVertexAttribOffset.apply(this, args); - } - [S$4.$hint](...args) { - return this.hint.apply(this, args); - } - [S$4.$isBuffer](...args) { - return this.isBuffer.apply(this, args); - } - [S$.$isContextLost](...args) { - return this.isContextLost.apply(this, args); - } - [S$4.$isEnabled](...args) { - return this.isEnabled.apply(this, args); - } - [S$4.$isFramebuffer](...args) { - return this.isFramebuffer.apply(this, args); - } - [S$4.$isProgram](...args) { - return this.isProgram.apply(this, args); - } - [S$4.$isRenderbuffer](...args) { - return this.isRenderbuffer.apply(this, args); - } - [S$4.$isShader](...args) { - return this.isShader.apply(this, args); - } - [S$4.$isTexture](...args) { - return this.isTexture.apply(this, args); - } - [S$.$lineWidth](...args) { - return this.lineWidth.apply(this, args); - } - [S$4.$linkProgram](...args) { - return this.linkProgram.apply(this, args); - } - [S$4.$pixelStorei](...args) { - return this.pixelStorei.apply(this, args); - } - [S$4.$polygonOffset](...args) { - return this.polygonOffset.apply(this, args); - } - [S$4._readPixels](...args) { - return this.readPixels.apply(this, args); - } - [S$4.$renderbufferStorage](...args) { - return this.renderbufferStorage.apply(this, args); - } - [S$4.$sampleCoverage](...args) { - return this.sampleCoverage.apply(this, args); - } - [S$4.$scissor](...args) { - return this.scissor.apply(this, args); - } - [S$4.$shaderSource](...args) { - return this.shaderSource.apply(this, args); - } - [S$4.$stencilFunc](...args) { - return this.stencilFunc.apply(this, args); - } - [S$4.$stencilFuncSeparate](...args) { - return this.stencilFuncSeparate.apply(this, args); - } - [S$4.$stencilMask](...args) { - return this.stencilMask.apply(this, args); - } - [S$4.$stencilMaskSeparate](...args) { - return this.stencilMaskSeparate.apply(this, args); - } - [S$4.$stencilOp](...args) { - return this.stencilOp.apply(this, args); - } - [S$4.$stencilOpSeparate](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - this[S$4._texImage2D_2](target, level, internalformat, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_3](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_4](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_5](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video) && format == null && type == null && pixels == null) { - this[S$4._texImage2D_6](target, level, internalformat, format_OR_width, height_OR_type, bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texImage2D_1](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_2](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_3](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_4](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_5](...args) { - return this.texImage2D.apply(this, args); - } - [S$4._texImage2D_6](...args) { - return this.texImage2D.apply(this, args); - } - [S$4.$texParameterf](...args) { - return this.texParameterf.apply(this, args); - } - [S$4.$texParameteri](...args) { - 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[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; - } - if (html$.ImageData.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - let pixels_1 = html_common.convertDartToNative_ImageData(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - this[S$4._texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width, height_OR_type, pixels_1); - return; - } - if (html$.ImageElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.CanvasElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.VideoElement.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - if (html$.ImageBitmap.is(bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video) && type == null && pixels == null) { - this[S$4._texSubImage2D_6](target, level, xoffset, yoffset, format_OR_width, height_OR_type, bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video); - return; - } - dart.throw(new core.ArgumentError.new("Incorrect number or type of arguments")); - } - [S$4._texSubImage2D_1](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_2](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_3](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_4](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_5](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4._texSubImage2D_6](...args) { - return this.texSubImage2D.apply(this, args); - } - [S$4.$uniform1f](...args) { - return this.uniform1f.apply(this, args); - } - [S$4.$uniform1fv](...args) { - return this.uniform1fv.apply(this, args); - } - [S$4.$uniform1i](...args) { - return this.uniform1i.apply(this, args); - } - [S$4.$uniform1iv](...args) { - return this.uniform1iv.apply(this, args); - } - [S$4.$uniform2f](...args) { - return this.uniform2f.apply(this, args); - } - [S$4.$uniform2fv](...args) { - return this.uniform2fv.apply(this, args); - } - [S$4.$uniform2i](...args) { - return this.uniform2i.apply(this, args); - } - [S$4.$uniform2iv](...args) { - return this.uniform2iv.apply(this, args); - } - [S$4.$uniform3f](...args) { - return this.uniform3f.apply(this, args); - } - [S$4.$uniform3fv](...args) { - return this.uniform3fv.apply(this, args); - } - [S$4.$uniform3i](...args) { - return this.uniform3i.apply(this, args); - } - [S$4.$uniform3iv](...args) { - return this.uniform3iv.apply(this, args); - } - [S$4.$uniform4f](...args) { - return this.uniform4f.apply(this, args); - } - [S$4.$uniform4fv](...args) { - return this.uniform4fv.apply(this, args); - } - [S$4.$uniform4i](...args) { - return this.uniform4i.apply(this, args); - } - [S$4.$uniform4iv](...args) { - return this.uniform4iv.apply(this, args); - } - [S$4.$uniformMatrix2fv](...args) { - return this.uniformMatrix2fv.apply(this, args); - } - [S$4.$uniformMatrix3fv](...args) { - return this.uniformMatrix3fv.apply(this, args); - } - [S$4.$uniformMatrix4fv](...args) { - return this.uniformMatrix4fv.apply(this, args); - } - [S$4.$useProgram](...args) { - return this.useProgram.apply(this, args); - } - [S$4.$validateProgram](...args) { - return this.validateProgram.apply(this, args); - } - [S$4.$vertexAttrib1f](...args) { - return this.vertexAttrib1f.apply(this, args); - } - [S$4.$vertexAttrib1fv](...args) { - return this.vertexAttrib1fv.apply(this, args); - } - [S$4.$vertexAttrib2f](...args) { - return this.vertexAttrib2f.apply(this, args); - } - [S$4.$vertexAttrib2fv](...args) { - return this.vertexAttrib2fv.apply(this, args); - } - [S$4.$vertexAttrib3f](...args) { - return this.vertexAttrib3f.apply(this, args); - } - [S$4.$vertexAttrib3fv](...args) { - return this.vertexAttrib3fv.apply(this, args); - } - [S$4.$vertexAttrib4f](...args) { - return this.vertexAttrib4f.apply(this, args); - } - [S$4.$vertexAttrib4fv](...args) { - return this.vertexAttrib4fv.apply(this, args); - } - [S$4.$vertexAttribPointer](...args) { - return this.vertexAttribPointer.apply(this, args); - } - [S$4.$viewport](...args) { - return this.viewport.apply(this, args); - } - [S$4.$readPixels](x, y, width, height, format, type, 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); - } -}; -dart.addTypeTests(web_gl.RenderingContext2); -dart.addTypeCaches(web_gl.RenderingContext2); -web_gl.RenderingContext2[dart.implements] = () => [web_gl._WebGL2RenderingContextBase, web_gl._WebGLRenderingContextBase]; -dart.setMethodSignature(web_gl.RenderingContext2, () => ({ - __proto__: dart.getMethods(web_gl.RenderingContext2.__proto__), - [S$4.$beginQuery]: dart.fnType(dart.void, [core.int, web_gl.Query]), - [S$4.$beginTransformFeedback]: dart.fnType(dart.void, [core.int]), - [S$4.$bindBufferBase]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindBufferRange]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Buffer), core.int, core.int]), - [S$4.$bindSampler]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Sampler)]), - [S$4.$bindTransformFeedback]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.TransformFeedback)]), - [S$4.$bindVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$blitFramebuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$bufferData2]: dart.fnType(dart.void, [core.int, typed_data.TypedData, core.int, core.int], [dart.nullable(core.int)]), - [S$4.$bufferSubData2]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$clearBufferfi]: dart.fnType(dart.void, [core.int, core.int, core.num, core.int]), - [S$4.$clearBufferfv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clearBufferuiv]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$clientWaitSync]: dart.fnType(core.int, [web_gl.Sync, core.int, core.int]), - [S$4.$compressedTexImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData, core.int], [dart.nullable(core.int)]), - [S$4.$compressedTexSubImage2D3]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$compressedTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$compressedTexSubImage3D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyBufferSubData]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$copyTexSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$createQuery]: dart.fnType(dart.nullable(web_gl.Query), []), - [S$4.$createSampler]: dart.fnType(dart.nullable(web_gl.Sampler), []), - [S$4.$createTransformFeedback]: dart.fnType(dart.nullable(web_gl.TransformFeedback), []), - [S$4.$createVertexArray]: dart.fnType(dart.nullable(web_gl.VertexArrayObject), []), - [S$4.$deleteQuery]: dart.fnType(dart.void, [dart.nullable(web_gl.Query)]), - [S$4.$deleteSampler]: dart.fnType(dart.void, [dart.nullable(web_gl.Sampler)]), - [S$4.$deleteSync]: dart.fnType(dart.void, [dart.nullable(web_gl.Sync)]), - [S$4.$deleteTransformFeedback]: dart.fnType(dart.void, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$deleteVertexArray]: dart.fnType(dart.void, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$drawArraysInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$drawBuffers]: dart.fnType(dart.void, [core.List$(core.int)]), - [S$4.$drawElementsInstanced]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$drawRangeElements]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$endQuery]: dart.fnType(dart.void, [core.int]), - [S$4.$endTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$fenceSync]: dart.fnType(dart.nullable(web_gl.Sync), [core.int, core.int]), - [S$4.$framebufferTextureLayer]: dart.fnType(dart.void, [core.int, core.int, dart.nullable(web_gl.Texture), core.int, core.int]), - [S$4.$getActiveUniformBlockName]: dart.fnType(dart.nullable(core.String), [web_gl.Program, core.int]), - [S$4.$getActiveUniformBlockParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int, core.int]), - [S$4.$getActiveUniforms]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.List$(core.int), core.int]), - [S$4.$getBufferSubData]: dart.fnType(dart.void, [core.int, core.int, typed_data.TypedData], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$getFragDataLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getIndexedParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getInternalformatParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$4.$getQuery]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getQueryParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Query, core.int]), - [S$4.$getSamplerParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sampler, core.int]), - [S$4.$getSyncParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Sync, core.int]), - [S$4.$getTransformFeedbackVarying]: dart.fnType(dart.nullable(web_gl.ActiveInfo), [web_gl.Program, core.int]), - [S$4.$getUniformBlockIndex]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getUniformIndices]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List$(core.String)]), - [S$4._getUniformIndices_1]: dart.fnType(dart.nullable(core.List$(core.int)), [web_gl.Program, core.List]), - [S$4.$invalidateFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int)]), - [S$4.$invalidateSubFramebuffer]: dart.fnType(dart.void, [core.int, core.List$(core.int), core.int, core.int, core.int, core.int]), - [S$4.$isQuery]: dart.fnType(core.bool, [dart.nullable(web_gl.Query)]), - [S$4.$isSampler]: dart.fnType(core.bool, [dart.nullable(web_gl.Sampler)]), - [S$4.$isSync]: dart.fnType(core.bool, [dart.nullable(web_gl.Sync)]), - [S$4.$isTransformFeedback]: dart.fnType(core.bool, [dart.nullable(web_gl.TransformFeedback)]), - [S$4.$isVertexArray]: dart.fnType(core.bool, [dart.nullable(web_gl.VertexArrayObject)]), - [S$4.$pauseTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$readBuffer]: dart.fnType(dart.void, [core.int]), - [S$4.$readPixels2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4.$renderbufferStorageMultisample]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$resumeTransformFeedback]: dart.fnType(dart.void, []), - [S$4.$samplerParameterf]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.num]), - [S$4.$samplerParameteri]: dart.fnType(dart.void, [web_gl.Sampler, core.int, core.int]), - [S$4.$texImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texStorage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$texStorage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int]), - [S$4.$texSubImage2D2]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage2D2_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage2D2_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D2_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D2_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D2_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D2_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage2D2_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$texSubImage3D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int)]), - [S$4._texSubImage3D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int]), - [S$4._texSubImage3D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage3D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage3D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage3D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage3D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4._texSubImage3D_7]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData]), - [S$4._texSubImage3D_8]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, typed_data.TypedData, dart.dynamic]), - [S$4.$transformFeedbackVaryings]: dart.fnType(dart.void, [web_gl.Program, core.List$(core.String), core.int]), - [S$4._transformFeedbackVaryings_1]: dart.fnType(dart.void, [web_gl.Program, core.List, dart.dynamic]), - [S$4.$uniform1fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform1ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform2ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform3ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniform4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4iv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniform4ui]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4uiv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformBlockBinding]: dart.fnType(dart.void, [web_gl.Program, core.int, core.int]), - [S$4.$uniformMatrix2fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix2x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix2x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix3x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix3x4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4fv2]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic, core.int], [dart.nullable(core.int)]), - [S$4.$uniformMatrix4x2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$uniformMatrix4x3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int)]), - [S$4.$vertexAttribDivisor]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$vertexAttribI4i]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4iv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribI4ui]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$vertexAttribI4uiv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribIPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int]), - [S$4.$waitSync]: dart.fnType(dart.void, [web_gl.Sync, core.int, core.int]), - [S$4.$activeTexture]: dart.fnType(dart.void, [core.int]), - [S$4.$attachShader]: dart.fnType(dart.void, [web_gl.Program, web_gl.Shader]), - [S$4.$bindAttribLocation]: dart.fnType(dart.void, [web_gl.Program, core.int, core.String]), - [S$4.$bindBuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Buffer)]), - [S$4.$bindFramebuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Framebuffer)]), - [S$4.$bindRenderbuffer]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$bindTexture]: dart.fnType(dart.void, [core.int, dart.nullable(web_gl.Texture)]), - [S$4.$blendColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$blendEquation]: dart.fnType(dart.void, [core.int]), - [S$4.$blendEquationSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFunc]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$blendFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$bufferData]: dart.fnType(dart.void, [core.int, dart.dynamic, core.int]), - [S$4.$bufferSubData]: dart.fnType(dart.void, [core.int, core.int, dart.dynamic]), - [S$4.$checkFramebufferStatus]: dart.fnType(core.int, [core.int]), - [$clear]: dart.fnType(dart.void, [core.int]), - [S$4.$clearColor]: dart.fnType(dart.void, [core.num, core.num, core.num, core.num]), - [S$4.$clearDepth]: dart.fnType(dart.void, [core.num]), - [S$4.$clearStencil]: dart.fnType(dart.void, [core.int]), - [S$4.$colorMask]: dart.fnType(dart.void, [core.bool, core.bool, core.bool, core.bool]), - [S$2.$commit]: dart.fnType(async.Future, []), - [S$4.$compileShader]: dart.fnType(dart.void, [web_gl.Shader]), - [S$4.$compressedTexImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]), - [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$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, []), - [S$4.$createShader]: dart.fnType(web_gl.Shader, [core.int]), - [S$4.$createTexture]: dart.fnType(web_gl.Texture, []), - [S$4.$cullFace]: dart.fnType(dart.void, [core.int]), - [S$4.$deleteBuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Buffer)]), - [S$4.$deleteFramebuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$deleteProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$deleteRenderbuffer]: dart.fnType(dart.void, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$deleteShader]: dart.fnType(dart.void, [dart.nullable(web_gl.Shader)]), - [S$4.$deleteTexture]: dart.fnType(dart.void, [dart.nullable(web_gl.Texture)]), - [S$4.$depthFunc]: dart.fnType(dart.void, [core.int]), - [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$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$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, []), - [S$4.$framebufferRenderbuffer]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Renderbuffer)]), - [S$4.$framebufferTexture2D]: dart.fnType(dart.void, [core.int, core.int, core.int, dart.nullable(web_gl.Texture), core.int]), - [S$4.$frontFace]: dart.fnType(dart.void, [core.int]), - [S$4.$generateMipmap]: dart.fnType(dart.void, [core.int]), - [S$4.$getActiveAttrib]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getActiveUniform]: dart.fnType(web_gl.ActiveInfo, [web_gl.Program, core.int]), - [S$4.$getAttachedShaders]: dart.fnType(dart.nullable(core.List$(web_gl.Shader)), [web_gl.Program]), - [S$4.$getAttribLocation]: dart.fnType(core.int, [web_gl.Program, core.String]), - [S$4.$getBufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$.$getContextAttributes]: dart.fnType(dart.nullable(core.Map), []), - [S$4._getContextAttributes_1$1]: dart.fnType(dart.dynamic, []), - [S$4.$getError]: dart.fnType(core.int, []), - [S$4.$getExtension]: dart.fnType(dart.nullable(core.Object), [core.String]), - [S$4.$getFramebufferAttachmentParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int, core.int]), - [S$3.$getParameter]: dart.fnType(dart.nullable(core.Object), [core.int]), - [S$4.$getProgramInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Program]), - [S$4.$getProgramParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, core.int]), - [S$4.$getRenderbufferParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getShaderInfoLog]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getShaderParameter]: dart.fnType(dart.nullable(core.Object), [web_gl.Shader, core.int]), - [S$4.$getShaderPrecisionFormat]: dart.fnType(web_gl.ShaderPrecisionFormat, [core.int, core.int]), - [S$4.$getShaderSource]: dart.fnType(dart.nullable(core.String), [web_gl.Shader]), - [S$4.$getSupportedExtensions]: dart.fnType(dart.nullable(core.List$(core.String)), []), - [S$4.$getTexParameter]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getUniform]: dart.fnType(dart.nullable(core.Object), [web_gl.Program, web_gl.UniformLocation]), - [S$4.$getUniformLocation]: dart.fnType(web_gl.UniformLocation, [web_gl.Program, core.String]), - [S$4.$getVertexAttrib]: dart.fnType(dart.nullable(core.Object), [core.int, core.int]), - [S$4.$getVertexAttribOffset]: dart.fnType(core.int, [core.int, core.int]), - [S$4.$hint]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$isBuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Buffer)]), - [S$.$isContextLost]: dart.fnType(core.bool, []), - [S$4.$isEnabled]: dart.fnType(core.bool, [core.int]), - [S$4.$isFramebuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Framebuffer)]), - [S$4.$isProgram]: dart.fnType(core.bool, [dart.nullable(web_gl.Program)]), - [S$4.$isRenderbuffer]: dart.fnType(core.bool, [dart.nullable(web_gl.Renderbuffer)]), - [S$4.$isShader]: dart.fnType(core.bool, [dart.nullable(web_gl.Shader)]), - [S$4.$isTexture]: dart.fnType(core.bool, [dart.nullable(web_gl.Texture)]), - [S$.$lineWidth]: dart.fnType(dart.void, [core.num]), - [S$4.$linkProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$pixelStorei]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$polygonOffset]: dart.fnType(dart.void, [core.num, core.num]), - [S$4._readPixels]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.nullable(typed_data.TypedData)]), - [S$4.$renderbufferStorage]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$sampleCoverage]: dart.fnType(dart.void, [core.num, core.bool]), - [S$4.$scissor]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$shaderSource]: dart.fnType(dart.void, [web_gl.Shader, core.String]), - [S$4.$stencilFunc]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilFuncSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$stencilMask]: dart.fnType(dart.void, [core.int]), - [S$4.$stencilMaskSeparate]: dart.fnType(dart.void, [core.int, core.int]), - [S$4.$stencilOp]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$stencilOpSeparate]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int]), - [S$4.$texImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$texParameterf]: dart.fnType(dart.void, [core.int, core.int, core.num]), - [S$4.$texParameteri]: dart.fnType(dart.void, [core.int, core.int, core.int]), - [S$4.$texSubImage2D]: dart.fnType(dart.void, [core.int, core.int, core.int, core.int, core.int, core.int, dart.dynamic], [dart.nullable(core.int), dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_1]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, dart.nullable(typed_data.TypedData)]), - [S$4._texSubImage2D_2]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]), - [S$4._texSubImage2D_3]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageElement]), - [S$4._texSubImage2D_4]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.CanvasElement]), - [S$4._texSubImage2D_5]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.VideoElement]), - [S$4._texSubImage2D_6]: dart.fnType(dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, html$.ImageBitmap]), - [S$4.$uniform1f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num]), - [S$4.$uniform1fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform1i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int]), - [S$4.$uniform1iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num]), - [S$4.$uniform2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform2i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int]), - [S$4.$uniform2iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num]), - [S$4.$uniform3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform3i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int]), - [S$4.$uniform3iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4f]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.num, core.num, core.num, core.num]), - [S$4.$uniform4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniform4i]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.int, core.int, core.int, core.int]), - [S$4.$uniform4iv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), dart.dynamic]), - [S$4.$uniformMatrix2fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix3fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$uniformMatrix4fv]: dart.fnType(dart.void, [dart.nullable(web_gl.UniformLocation), core.bool, dart.dynamic]), - [S$4.$useProgram]: dart.fnType(dart.void, [dart.nullable(web_gl.Program)]), - [S$4.$validateProgram]: dart.fnType(dart.void, [web_gl.Program]), - [S$4.$vertexAttrib1f]: dart.fnType(dart.void, [core.int, core.num]), - [S$4.$vertexAttrib1fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib2f]: dart.fnType(dart.void, [core.int, core.num, core.num]), - [S$4.$vertexAttrib2fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib3f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num]), - [S$4.$vertexAttrib3fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttrib4f]: dart.fnType(dart.void, [core.int, core.num, core.num, core.num, core.num]), - [S$4.$vertexAttrib4fv]: dart.fnType(dart.void, [core.int, dart.dynamic]), - [S$4.$vertexAttribPointer]: dart.fnType(dart.void, [core.int, core.int, core.int, core.bool, core.int, core.int]), - [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[162]); -dart.registerExtension("WebGL2RenderingContext", web_gl.RenderingContext2); -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.setStaticMethodSignature(web_gl.Sampler, () => ['__']); -dart.setLibraryUri(web_gl.Sampler, I[162]); -dart.registerExtension("WebGLSampler", web_gl.Sampler); -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.setStaticMethodSignature(web_gl.Shader, () => ['__']); -dart.setLibraryUri(web_gl.Shader, I[162]); -dart.registerExtension("WebGLShader", web_gl.Shader); -web_gl.ShaderPrecisionFormat = class ShaderPrecisionFormat extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.ShaderPrecisionFormat.__(); - } - get [S$4.$precision]() { - return this.precision; - } - get [S$4.$rangeMax]() { - return this.rangeMax; - } - get [S$4.$rangeMin]() { - return this.rangeMin; - } -}; -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[162]); -dart.registerExtension("WebGLShaderPrecisionFormat", web_gl.ShaderPrecisionFormat); -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.setStaticMethodSignature(web_gl.Sync, () => ['__']); -dart.setLibraryUri(web_gl.Sync, I[162]); -dart.registerExtension("WebGLSync", web_gl.Sync); -web_gl.Texture = class Texture extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl.Texture.__(); - } - get [S$4.$lastUploadedVideoFrameWasSkipped]() { - return this.lastUploadedVideoFrameWasSkipped; - } - get [S$4.$lastUploadedVideoHeight]() { - return this.lastUploadedVideoHeight; - } - get [S$4.$lastUploadedVideoTimestamp]() { - return this.lastUploadedVideoTimestamp; - } - get [S$4.$lastUploadedVideoWidth]() { - return this.lastUploadedVideoWidth; - } -}; -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), - [S$4.$lastUploadedVideoHeight]: dart.nullable(core.int), - [S$4.$lastUploadedVideoTimestamp]: dart.nullable(core.num), - [S$4.$lastUploadedVideoWidth]: dart.nullable(core.int) -})); -dart.setLibraryUri(web_gl.Texture, I[162]); -dart.registerExtension("WebGLTexture", web_gl.Texture); -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.setStaticMethodSignature(web_gl.TimerQueryExt, () => ['__']); -dart.setLibraryUri(web_gl.TimerQueryExt, I[162]); -dart.registerExtension("WebGLTimerQueryEXT", web_gl.TimerQueryExt); -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.setStaticMethodSignature(web_gl.TransformFeedback, () => ['__']); -dart.setLibraryUri(web_gl.TransformFeedback, I[162]); -dart.registerExtension("WebGLTransformFeedback", web_gl.TransformFeedback); -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.setStaticMethodSignature(web_gl.UniformLocation, () => ['__']); -dart.setLibraryUri(web_gl.UniformLocation, I[162]); -dart.registerExtension("WebGLUniformLocation", web_gl.UniformLocation); -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.setStaticMethodSignature(web_gl.VertexArrayObject, () => ['__']); -dart.setLibraryUri(web_gl.VertexArrayObject, I[162]); -dart.registerExtension("WebGLVertexArrayObject", web_gl.VertexArrayObject); -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.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 { - 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.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; - }, - /*web_gl.WebGL.ACTIVE_TEXTURE*/get ACTIVE_TEXTURE() { - return 34016; - }, - /*web_gl.WebGL.ACTIVE_UNIFORMS*/get ACTIVE_UNIFORMS() { - return 35718; - }, - /*web_gl.WebGL.ACTIVE_UNIFORM_BLOCKS*/get ACTIVE_UNIFORM_BLOCKS() { - return 35382; - }, - /*web_gl.WebGL.ALIASED_LINE_WIDTH_RANGE*/get ALIASED_LINE_WIDTH_RANGE() { - return 33902; - }, - /*web_gl.WebGL.ALIASED_POINT_SIZE_RANGE*/get ALIASED_POINT_SIZE_RANGE() { - return 33901; - }, - /*web_gl.WebGL.ALPHA*/get ALPHA() { - return 6406; - }, - /*web_gl.WebGL.ALPHA_BITS*/get ALPHA_BITS() { - return 3413; - }, - /*web_gl.WebGL.ALREADY_SIGNALED*/get ALREADY_SIGNALED() { - return 37146; - }, - /*web_gl.WebGL.ALWAYS*/get ALWAYS() { - return 519; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED*/get ANY_SAMPLES_PASSED() { - return 35887; - }, - /*web_gl.WebGL.ANY_SAMPLES_PASSED_CONSERVATIVE*/get ANY_SAMPLES_PASSED_CONSERVATIVE() { - return 36202; - }, - /*web_gl.WebGL.ARRAY_BUFFER*/get ARRAY_BUFFER() { - return 34962; - }, - /*web_gl.WebGL.ARRAY_BUFFER_BINDING*/get ARRAY_BUFFER_BINDING() { - return 34964; - }, - /*web_gl.WebGL.ATTACHED_SHADERS*/get ATTACHED_SHADERS() { - return 35717; - }, - /*web_gl.WebGL.BACK*/get BACK() { - return 1029; - }, - /*web_gl.WebGL.BLEND*/get BLEND() { - return 3042; - }, - /*web_gl.WebGL.BLEND_COLOR*/get BLEND_COLOR() { - return 32773; - }, - /*web_gl.WebGL.BLEND_DST_ALPHA*/get BLEND_DST_ALPHA() { - return 32970; - }, - /*web_gl.WebGL.BLEND_DST_RGB*/get BLEND_DST_RGB() { - return 32968; - }, - /*web_gl.WebGL.BLEND_EQUATION*/get BLEND_EQUATION() { - return 32777; - }, - /*web_gl.WebGL.BLEND_EQUATION_ALPHA*/get BLEND_EQUATION_ALPHA() { - return 34877; - }, - /*web_gl.WebGL.BLEND_EQUATION_RGB*/get BLEND_EQUATION_RGB() { - return 32777; - }, - /*web_gl.WebGL.BLEND_SRC_ALPHA*/get BLEND_SRC_ALPHA() { - return 32971; - }, - /*web_gl.WebGL.BLEND_SRC_RGB*/get BLEND_SRC_RGB() { - return 32969; - }, - /*web_gl.WebGL.BLUE_BITS*/get BLUE_BITS() { - return 3412; - }, - /*web_gl.WebGL.BOOL*/get BOOL() { - return 35670; - }, - /*web_gl.WebGL.BOOL_VEC2*/get BOOL_VEC2() { - return 35671; - }, - /*web_gl.WebGL.BOOL_VEC3*/get BOOL_VEC3() { - return 35672; - }, - /*web_gl.WebGL.BOOL_VEC4*/get BOOL_VEC4() { - return 35673; - }, - /*web_gl.WebGL.BROWSER_DEFAULT_WEBGL*/get BROWSER_DEFAULT_WEBGL() { - return 37444; - }, - /*web_gl.WebGL.BUFFER_SIZE*/get BUFFER_SIZE() { - return 34660; - }, - /*web_gl.WebGL.BUFFER_USAGE*/get BUFFER_USAGE() { - return 34661; - }, - /*web_gl.WebGL.BYTE*/get BYTE() { - return 5120; - }, - /*web_gl.WebGL.CCW*/get CCW() { - return 2305; - }, - /*web_gl.WebGL.CLAMP_TO_EDGE*/get CLAMP_TO_EDGE() { - return 33071; - }, - /*web_gl.WebGL.COLOR*/get COLOR() { - return 6144; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0*/get COLOR_ATTACHMENT0() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT0_WEBGL*/get COLOR_ATTACHMENT0_WEBGL() { - return 36064; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1*/get COLOR_ATTACHMENT1() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10*/get COLOR_ATTACHMENT10() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT10_WEBGL*/get COLOR_ATTACHMENT10_WEBGL() { - return 36074; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11*/get COLOR_ATTACHMENT11() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT11_WEBGL*/get COLOR_ATTACHMENT11_WEBGL() { - return 36075; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12*/get COLOR_ATTACHMENT12() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT12_WEBGL*/get COLOR_ATTACHMENT12_WEBGL() { - return 36076; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13*/get COLOR_ATTACHMENT13() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT13_WEBGL*/get COLOR_ATTACHMENT13_WEBGL() { - return 36077; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14*/get COLOR_ATTACHMENT14() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT14_WEBGL*/get COLOR_ATTACHMENT14_WEBGL() { - return 36078; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15*/get COLOR_ATTACHMENT15() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT15_WEBGL*/get COLOR_ATTACHMENT15_WEBGL() { - return 36079; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT1_WEBGL*/get COLOR_ATTACHMENT1_WEBGL() { - return 36065; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2*/get COLOR_ATTACHMENT2() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT2_WEBGL*/get COLOR_ATTACHMENT2_WEBGL() { - return 36066; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3*/get COLOR_ATTACHMENT3() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT3_WEBGL*/get COLOR_ATTACHMENT3_WEBGL() { - return 36067; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4*/get COLOR_ATTACHMENT4() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT4_WEBGL*/get COLOR_ATTACHMENT4_WEBGL() { - return 36068; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5*/get COLOR_ATTACHMENT5() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT5_WEBGL*/get COLOR_ATTACHMENT5_WEBGL() { - return 36069; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6*/get COLOR_ATTACHMENT6() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT6_WEBGL*/get COLOR_ATTACHMENT6_WEBGL() { - return 36070; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7*/get COLOR_ATTACHMENT7() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT7_WEBGL*/get COLOR_ATTACHMENT7_WEBGL() { - return 36071; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8*/get COLOR_ATTACHMENT8() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT8_WEBGL*/get COLOR_ATTACHMENT8_WEBGL() { - return 36072; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9*/get COLOR_ATTACHMENT9() { - return 36073; - }, - /*web_gl.WebGL.COLOR_ATTACHMENT9_WEBGL*/get COLOR_ATTACHMENT9_WEBGL() { - return 36073; - }, - /*web_gl.WebGL.COLOR_BUFFER_BIT*/get COLOR_BUFFER_BIT() { - return 16384; - }, - /*web_gl.WebGL.COLOR_CLEAR_VALUE*/get COLOR_CLEAR_VALUE() { - return 3106; - }, - /*web_gl.WebGL.COLOR_WRITEMASK*/get COLOR_WRITEMASK() { - return 3107; - }, - /*web_gl.WebGL.COMPARE_REF_TO_TEXTURE*/get COMPARE_REF_TO_TEXTURE() { - return 34894; - }, - /*web_gl.WebGL.COMPILE_STATUS*/get COMPILE_STATUS() { - return 35713; - }, - /*web_gl.WebGL.COMPRESSED_TEXTURE_FORMATS*/get COMPRESSED_TEXTURE_FORMATS() { - return 34467; - }, - /*web_gl.WebGL.CONDITION_SATISFIED*/get CONDITION_SATISFIED() { - return 37148; - }, - /*web_gl.WebGL.CONSTANT_ALPHA*/get CONSTANT_ALPHA() { - return 32771; - }, - /*web_gl.WebGL.CONSTANT_COLOR*/get CONSTANT_COLOR() { - return 32769; - }, - /*web_gl.WebGL.CONTEXT_LOST_WEBGL*/get CONTEXT_LOST_WEBGL() { - return 37442; - }, - /*web_gl.WebGL.COPY_READ_BUFFER*/get COPY_READ_BUFFER() { - return 36662; - }, - /*web_gl.WebGL.COPY_READ_BUFFER_BINDING*/get COPY_READ_BUFFER_BINDING() { - return 36662; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER*/get COPY_WRITE_BUFFER() { - return 36663; - }, - /*web_gl.WebGL.COPY_WRITE_BUFFER_BINDING*/get COPY_WRITE_BUFFER_BINDING() { - return 36663; - }, - /*web_gl.WebGL.CULL_FACE*/get CULL_FACE() { - return 2884; - }, - /*web_gl.WebGL.CULL_FACE_MODE*/get CULL_FACE_MODE() { - return 2885; - }, - /*web_gl.WebGL.CURRENT_PROGRAM*/get CURRENT_PROGRAM() { - return 35725; - }, - /*web_gl.WebGL.CURRENT_QUERY*/get CURRENT_QUERY() { - return 34917; - }, - /*web_gl.WebGL.CURRENT_VERTEX_ATTRIB*/get CURRENT_VERTEX_ATTRIB() { - return 34342; - }, - /*web_gl.WebGL.CW*/get CW() { - return 2304; - }, - /*web_gl.WebGL.DECR*/get DECR() { - return 7683; - }, - /*web_gl.WebGL.DECR_WRAP*/get DECR_WRAP() { - return 34056; - }, - /*web_gl.WebGL.DELETE_STATUS*/get DELETE_STATUS() { - return 35712; - }, - /*web_gl.WebGL.DEPTH*/get DEPTH() { - return 6145; - }, - /*web_gl.WebGL.DEPTH24_STENCIL8*/get DEPTH24_STENCIL8() { - return 35056; - }, - /*web_gl.WebGL.DEPTH32F_STENCIL8*/get DEPTH32F_STENCIL8() { - return 36013; - }, - /*web_gl.WebGL.DEPTH_ATTACHMENT*/get DEPTH_ATTACHMENT() { - return 36096; - }, - /*web_gl.WebGL.DEPTH_BITS*/get DEPTH_BITS() { - return 3414; - }, - /*web_gl.WebGL.DEPTH_BUFFER_BIT*/get DEPTH_BUFFER_BIT() { - return 256; - }, - /*web_gl.WebGL.DEPTH_CLEAR_VALUE*/get DEPTH_CLEAR_VALUE() { - return 2931; - }, - /*web_gl.WebGL.DEPTH_COMPONENT*/get DEPTH_COMPONENT() { - return 6402; - }, - /*web_gl.WebGL.DEPTH_COMPONENT16*/get DEPTH_COMPONENT16() { - return 33189; - }, - /*web_gl.WebGL.DEPTH_COMPONENT24*/get DEPTH_COMPONENT24() { - return 33190; - }, - /*web_gl.WebGL.DEPTH_COMPONENT32F*/get DEPTH_COMPONENT32F() { - return 36012; - }, - /*web_gl.WebGL.DEPTH_FUNC*/get DEPTH_FUNC() { - return 2932; - }, - /*web_gl.WebGL.DEPTH_RANGE*/get DEPTH_RANGE() { - return 2928; - }, - /*web_gl.WebGL.DEPTH_STENCIL*/get DEPTH_STENCIL() { - return 34041; - }, - /*web_gl.WebGL.DEPTH_STENCIL_ATTACHMENT*/get DEPTH_STENCIL_ATTACHMENT() { - return 33306; - }, - /*web_gl.WebGL.DEPTH_TEST*/get DEPTH_TEST() { - return 2929; - }, - /*web_gl.WebGL.DEPTH_WRITEMASK*/get DEPTH_WRITEMASK() { - return 2930; - }, - /*web_gl.WebGL.DITHER*/get DITHER() { - return 3024; - }, - /*web_gl.WebGL.DONT_CARE*/get DONT_CARE() { - return 4352; - }, - /*web_gl.WebGL.DRAW_BUFFER0*/get DRAW_BUFFER0() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER0_WEBGL*/get DRAW_BUFFER0_WEBGL() { - return 34853; - }, - /*web_gl.WebGL.DRAW_BUFFER1*/get DRAW_BUFFER1() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER10*/get DRAW_BUFFER10() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER10_WEBGL*/get DRAW_BUFFER10_WEBGL() { - return 34863; - }, - /*web_gl.WebGL.DRAW_BUFFER11*/get DRAW_BUFFER11() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER11_WEBGL*/get DRAW_BUFFER11_WEBGL() { - return 34864; - }, - /*web_gl.WebGL.DRAW_BUFFER12*/get DRAW_BUFFER12() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER12_WEBGL*/get DRAW_BUFFER12_WEBGL() { - return 34865; - }, - /*web_gl.WebGL.DRAW_BUFFER13*/get DRAW_BUFFER13() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER13_WEBGL*/get DRAW_BUFFER13_WEBGL() { - return 34866; - }, - /*web_gl.WebGL.DRAW_BUFFER14*/get DRAW_BUFFER14() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER14_WEBGL*/get DRAW_BUFFER14_WEBGL() { - return 34867; - }, - /*web_gl.WebGL.DRAW_BUFFER15*/get DRAW_BUFFER15() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER15_WEBGL*/get DRAW_BUFFER15_WEBGL() { - return 34868; - }, - /*web_gl.WebGL.DRAW_BUFFER1_WEBGL*/get DRAW_BUFFER1_WEBGL() { - return 34854; - }, - /*web_gl.WebGL.DRAW_BUFFER2*/get DRAW_BUFFER2() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER2_WEBGL*/get DRAW_BUFFER2_WEBGL() { - return 34855; - }, - /*web_gl.WebGL.DRAW_BUFFER3*/get DRAW_BUFFER3() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER3_WEBGL*/get DRAW_BUFFER3_WEBGL() { - return 34856; - }, - /*web_gl.WebGL.DRAW_BUFFER4*/get DRAW_BUFFER4() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER4_WEBGL*/get DRAW_BUFFER4_WEBGL() { - return 34857; - }, - /*web_gl.WebGL.DRAW_BUFFER5*/get DRAW_BUFFER5() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER5_WEBGL*/get DRAW_BUFFER5_WEBGL() { - return 34858; - }, - /*web_gl.WebGL.DRAW_BUFFER6*/get DRAW_BUFFER6() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER6_WEBGL*/get DRAW_BUFFER6_WEBGL() { - return 34859; - }, - /*web_gl.WebGL.DRAW_BUFFER7*/get DRAW_BUFFER7() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER7_WEBGL*/get DRAW_BUFFER7_WEBGL() { - return 34860; - }, - /*web_gl.WebGL.DRAW_BUFFER8*/get DRAW_BUFFER8() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER8_WEBGL*/get DRAW_BUFFER8_WEBGL() { - return 34861; - }, - /*web_gl.WebGL.DRAW_BUFFER9*/get DRAW_BUFFER9() { - return 34862; - }, - /*web_gl.WebGL.DRAW_BUFFER9_WEBGL*/get DRAW_BUFFER9_WEBGL() { - return 34862; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER*/get DRAW_FRAMEBUFFER() { - return 36009; - }, - /*web_gl.WebGL.DRAW_FRAMEBUFFER_BINDING*/get DRAW_FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.DST_ALPHA*/get DST_ALPHA() { - return 772; - }, - /*web_gl.WebGL.DST_COLOR*/get DST_COLOR() { - return 774; - }, - /*web_gl.WebGL.DYNAMIC_COPY*/get DYNAMIC_COPY() { - return 35050; - }, - /*web_gl.WebGL.DYNAMIC_DRAW*/get DYNAMIC_DRAW() { - return 35048; - }, - /*web_gl.WebGL.DYNAMIC_READ*/get DYNAMIC_READ() { - return 35049; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER*/get ELEMENT_ARRAY_BUFFER() { - return 34963; - }, - /*web_gl.WebGL.ELEMENT_ARRAY_BUFFER_BINDING*/get ELEMENT_ARRAY_BUFFER_BINDING() { - return 34965; - }, - /*web_gl.WebGL.EQUAL*/get EQUAL() { - return 514; - }, - /*web_gl.WebGL.FASTEST*/get FASTEST() { - return 4353; - }, - /*web_gl.WebGL.FLOAT*/get FLOAT() { - return 5126; - }, - /*web_gl.WebGL.FLOAT_32_UNSIGNED_INT_24_8_REV*/get FLOAT_32_UNSIGNED_INT_24_8_REV() { - return 36269; - }, - /*web_gl.WebGL.FLOAT_MAT2*/get FLOAT_MAT2() { - return 35674; - }, - /*web_gl.WebGL.FLOAT_MAT2x3*/get FLOAT_MAT2x3() { - return 35685; - }, - /*web_gl.WebGL.FLOAT_MAT2x4*/get FLOAT_MAT2x4() { - return 35686; - }, - /*web_gl.WebGL.FLOAT_MAT3*/get FLOAT_MAT3() { - return 35675; - }, - /*web_gl.WebGL.FLOAT_MAT3x2*/get FLOAT_MAT3x2() { - return 35687; - }, - /*web_gl.WebGL.FLOAT_MAT3x4*/get FLOAT_MAT3x4() { - return 35688; - }, - /*web_gl.WebGL.FLOAT_MAT4*/get FLOAT_MAT4() { - return 35676; - }, - /*web_gl.WebGL.FLOAT_MAT4x2*/get FLOAT_MAT4x2() { - return 35689; - }, - /*web_gl.WebGL.FLOAT_MAT4x3*/get FLOAT_MAT4x3() { - return 35690; - }, - /*web_gl.WebGL.FLOAT_VEC2*/get FLOAT_VEC2() { - return 35664; - }, - /*web_gl.WebGL.FLOAT_VEC3*/get FLOAT_VEC3() { - return 35665; - }, - /*web_gl.WebGL.FLOAT_VEC4*/get FLOAT_VEC4() { - return 35666; - }, - /*web_gl.WebGL.FRAGMENT_SHADER*/get FRAGMENT_SHADER() { - return 35632; - }, - /*web_gl.WebGL.FRAGMENT_SHADER_DERIVATIVE_HINT*/get FRAGMENT_SHADER_DERIVATIVE_HINT() { - return 35723; - }, - /*web_gl.WebGL.FRAMEBUFFER*/get FRAMEBUFFER() { - return 36160; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE*/get FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE() { - return 33301; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE*/get FRAMEBUFFER_ATTACHMENT_BLUE_SIZE() { - return 33300; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING*/get FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING() { - return 33296; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE*/get FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE() { - return 33297; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE*/get FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE() { - return 33302; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE*/get FRAMEBUFFER_ATTACHMENT_GREEN_SIZE() { - return 33299; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME*/get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() { - return 36049; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE*/get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() { - return 36048; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_RED_SIZE*/get FRAMEBUFFER_ATTACHMENT_RED_SIZE() { - return 33298; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE*/get FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE() { - return 33303; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() { - return 36051; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER() { - return 36052; - }, - /*web_gl.WebGL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL*/get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() { - return 36050; - }, - /*web_gl.WebGL.FRAMEBUFFER_BINDING*/get FRAMEBUFFER_BINDING() { - return 36006; - }, - /*web_gl.WebGL.FRAMEBUFFER_COMPLETE*/get FRAMEBUFFER_COMPLETE() { - return 36053; - }, - /*web_gl.WebGL.FRAMEBUFFER_DEFAULT*/get FRAMEBUFFER_DEFAULT() { - return 33304; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() { - return 36054; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS*/get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() { - return 36057; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT*/get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() { - return 36055; - }, - /*web_gl.WebGL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE*/get FRAMEBUFFER_INCOMPLETE_MULTISAMPLE() { - return 36182; - }, - /*web_gl.WebGL.FRAMEBUFFER_UNSUPPORTED*/get FRAMEBUFFER_UNSUPPORTED() { - return 36061; - }, - /*web_gl.WebGL.FRONT*/get FRONT() { - return 1028; - }, - /*web_gl.WebGL.FRONT_AND_BACK*/get FRONT_AND_BACK() { - return 1032; - }, - /*web_gl.WebGL.FRONT_FACE*/get FRONT_FACE() { - return 2886; - }, - /*web_gl.WebGL.FUNC_ADD*/get FUNC_ADD() { - return 32774; - }, - /*web_gl.WebGL.FUNC_REVERSE_SUBTRACT*/get FUNC_REVERSE_SUBTRACT() { - return 32779; - }, - /*web_gl.WebGL.FUNC_SUBTRACT*/get FUNC_SUBTRACT() { - return 32778; - }, - /*web_gl.WebGL.GENERATE_MIPMAP_HINT*/get GENERATE_MIPMAP_HINT() { - return 33170; - }, - /*web_gl.WebGL.GEQUAL*/get GEQUAL() { - return 518; - }, - /*web_gl.WebGL.GREATER*/get GREATER() { - return 516; - }, - /*web_gl.WebGL.GREEN_BITS*/get GREEN_BITS() { - return 3411; - }, - /*web_gl.WebGL.HALF_FLOAT*/get HALF_FLOAT() { - return 5131; - }, - /*web_gl.WebGL.HIGH_FLOAT*/get HIGH_FLOAT() { - return 36338; - }, - /*web_gl.WebGL.HIGH_INT*/get HIGH_INT() { - return 36341; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_FORMAT*/get IMPLEMENTATION_COLOR_READ_FORMAT() { - return 35739; - }, - /*web_gl.WebGL.IMPLEMENTATION_COLOR_READ_TYPE*/get IMPLEMENTATION_COLOR_READ_TYPE() { - return 35738; - }, - /*web_gl.WebGL.INCR*/get INCR() { - return 7682; - }, - /*web_gl.WebGL.INCR_WRAP*/get INCR_WRAP() { - return 34055; - }, - /*web_gl.WebGL.INT*/get INT() { - return 5124; - }, - /*web_gl.WebGL.INTERLEAVED_ATTRIBS*/get INTERLEAVED_ATTRIBS() { - return 35980; - }, - /*web_gl.WebGL.INT_2_10_10_10_REV*/get INT_2_10_10_10_REV() { - return 36255; - }, - /*web_gl.WebGL.INT_SAMPLER_2D*/get INT_SAMPLER_2D() { - return 36298; - }, - /*web_gl.WebGL.INT_SAMPLER_2D_ARRAY*/get INT_SAMPLER_2D_ARRAY() { - return 36303; - }, - /*web_gl.WebGL.INT_SAMPLER_3D*/get INT_SAMPLER_3D() { - return 36299; - }, - /*web_gl.WebGL.INT_SAMPLER_CUBE*/get INT_SAMPLER_CUBE() { - return 36300; - }, - /*web_gl.WebGL.INT_VEC2*/get INT_VEC2() { - return 35667; - }, - /*web_gl.WebGL.INT_VEC3*/get INT_VEC3() { - return 35668; - }, - /*web_gl.WebGL.INT_VEC4*/get INT_VEC4() { - return 35669; - }, - /*web_gl.WebGL.INVALID_ENUM*/get INVALID_ENUM() { - return 1280; - }, - /*web_gl.WebGL.INVALID_FRAMEBUFFER_OPERATION*/get INVALID_FRAMEBUFFER_OPERATION() { - return 1286; - }, - /*web_gl.WebGL.INVALID_INDEX*/get INVALID_INDEX() { - return 4294967295.0; - }, - /*web_gl.WebGL.INVALID_OPERATION*/get INVALID_OPERATION() { - return 1282; - }, - /*web_gl.WebGL.INVALID_VALUE*/get INVALID_VALUE() { - return 1281; - }, - /*web_gl.WebGL.INVERT*/get INVERT() { - return 5386; - }, - /*web_gl.WebGL.KEEP*/get KEEP() { - return 7680; - }, - /*web_gl.WebGL.LEQUAL*/get LEQUAL() { - return 515; - }, - /*web_gl.WebGL.LESS*/get LESS() { - return 513; - }, - /*web_gl.WebGL.LINEAR*/get LINEAR() { - return 9729; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_LINEAR*/get LINEAR_MIPMAP_LINEAR() { - return 9987; - }, - /*web_gl.WebGL.LINEAR_MIPMAP_NEAREST*/get LINEAR_MIPMAP_NEAREST() { - return 9985; - }, - /*web_gl.WebGL.LINES*/get LINES() { - return 1; - }, - /*web_gl.WebGL.LINE_LOOP*/get LINE_LOOP() { - return 2; - }, - /*web_gl.WebGL.LINE_STRIP*/get LINE_STRIP() { - return 3; - }, - /*web_gl.WebGL.LINE_WIDTH*/get LINE_WIDTH() { - return 2849; - }, - /*web_gl.WebGL.LINK_STATUS*/get LINK_STATUS() { - return 35714; - }, - /*web_gl.WebGL.LOW_FLOAT*/get LOW_FLOAT() { - return 36336; - }, - /*web_gl.WebGL.LOW_INT*/get LOW_INT() { - return 36339; - }, - /*web_gl.WebGL.LUMINANCE*/get LUMINANCE() { - return 6409; - }, - /*web_gl.WebGL.LUMINANCE_ALPHA*/get LUMINANCE_ALPHA() { - return 6410; - }, - /*web_gl.WebGL.MAX*/get MAX() { - return 32776; - }, - /*web_gl.WebGL.MAX_3D_TEXTURE_SIZE*/get MAX_3D_TEXTURE_SIZE() { - return 32883; - }, - /*web_gl.WebGL.MAX_ARRAY_TEXTURE_LAYERS*/get MAX_ARRAY_TEXTURE_LAYERS() { - return 35071; - }, - /*web_gl.WebGL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL*/get MAX_CLIENT_WAIT_TIMEOUT_WEBGL() { - return 37447; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS*/get MAX_COLOR_ATTACHMENTS() { - return 36063; - }, - /*web_gl.WebGL.MAX_COLOR_ATTACHMENTS_WEBGL*/get MAX_COLOR_ATTACHMENTS_WEBGL() { - return 36063; - }, - /*web_gl.WebGL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS() { - return 35379; - }, - /*web_gl.WebGL.MAX_COMBINED_TEXTURE_IMAGE_UNITS*/get MAX_COMBINED_TEXTURE_IMAGE_UNITS() { - return 35661; - }, - /*web_gl.WebGL.MAX_COMBINED_UNIFORM_BLOCKS*/get MAX_COMBINED_UNIFORM_BLOCKS() { - return 35374; - }, - /*web_gl.WebGL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS*/get MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS() { - return 35377; - }, - /*web_gl.WebGL.MAX_CUBE_MAP_TEXTURE_SIZE*/get MAX_CUBE_MAP_TEXTURE_SIZE() { - return 34076; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS*/get MAX_DRAW_BUFFERS() { - return 34852; - }, - /*web_gl.WebGL.MAX_DRAW_BUFFERS_WEBGL*/get MAX_DRAW_BUFFERS_WEBGL() { - return 34852; - }, - /*web_gl.WebGL.MAX_ELEMENTS_INDICES*/get MAX_ELEMENTS_INDICES() { - return 33001; - }, - /*web_gl.WebGL.MAX_ELEMENTS_VERTICES*/get MAX_ELEMENTS_VERTICES() { - return 33000; - }, - /*web_gl.WebGL.MAX_ELEMENT_INDEX*/get MAX_ELEMENT_INDEX() { - return 36203; - }, - /*web_gl.WebGL.MAX_FRAGMENT_INPUT_COMPONENTS*/get MAX_FRAGMENT_INPUT_COMPONENTS() { - return 37157; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_BLOCKS*/get MAX_FRAGMENT_UNIFORM_BLOCKS() { - return 35373; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_COMPONENTS*/get MAX_FRAGMENT_UNIFORM_COMPONENTS() { - return 35657; - }, - /*web_gl.WebGL.MAX_FRAGMENT_UNIFORM_VECTORS*/get MAX_FRAGMENT_UNIFORM_VECTORS() { - return 36349; - }, - /*web_gl.WebGL.MAX_PROGRAM_TEXEL_OFFSET*/get MAX_PROGRAM_TEXEL_OFFSET() { - return 35077; - }, - /*web_gl.WebGL.MAX_RENDERBUFFER_SIZE*/get MAX_RENDERBUFFER_SIZE() { - return 34024; - }, - /*web_gl.WebGL.MAX_SAMPLES*/get MAX_SAMPLES() { - return 36183; - }, - /*web_gl.WebGL.MAX_SERVER_WAIT_TIMEOUT*/get MAX_SERVER_WAIT_TIMEOUT() { - return 37137; - }, - /*web_gl.WebGL.MAX_TEXTURE_IMAGE_UNITS*/get MAX_TEXTURE_IMAGE_UNITS() { - return 34930; - }, - /*web_gl.WebGL.MAX_TEXTURE_LOD_BIAS*/get MAX_TEXTURE_LOD_BIAS() { - return 34045; - }, - /*web_gl.WebGL.MAX_TEXTURE_SIZE*/get MAX_TEXTURE_SIZE() { - return 3379; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS() { - return 35978; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS() { - return 35979; - }, - /*web_gl.WebGL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS*/get MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS() { - return 35968; - }, - /*web_gl.WebGL.MAX_UNIFORM_BLOCK_SIZE*/get MAX_UNIFORM_BLOCK_SIZE() { - return 35376; - }, - /*web_gl.WebGL.MAX_UNIFORM_BUFFER_BINDINGS*/get MAX_UNIFORM_BUFFER_BINDINGS() { - return 35375; - }, - /*web_gl.WebGL.MAX_VARYING_COMPONENTS*/get MAX_VARYING_COMPONENTS() { - return 35659; - }, - /*web_gl.WebGL.MAX_VARYING_VECTORS*/get MAX_VARYING_VECTORS() { - return 36348; - }, - /*web_gl.WebGL.MAX_VERTEX_ATTRIBS*/get MAX_VERTEX_ATTRIBS() { - return 34921; - }, - /*web_gl.WebGL.MAX_VERTEX_OUTPUT_COMPONENTS*/get MAX_VERTEX_OUTPUT_COMPONENTS() { - return 37154; - }, - /*web_gl.WebGL.MAX_VERTEX_TEXTURE_IMAGE_UNITS*/get MAX_VERTEX_TEXTURE_IMAGE_UNITS() { - return 35660; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_BLOCKS*/get MAX_VERTEX_UNIFORM_BLOCKS() { - return 35371; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_COMPONENTS*/get MAX_VERTEX_UNIFORM_COMPONENTS() { - return 35658; - }, - /*web_gl.WebGL.MAX_VERTEX_UNIFORM_VECTORS*/get MAX_VERTEX_UNIFORM_VECTORS() { - return 36347; - }, - /*web_gl.WebGL.MAX_VIEWPORT_DIMS*/get MAX_VIEWPORT_DIMS() { - return 3386; - }, - /*web_gl.WebGL.MEDIUM_FLOAT*/get MEDIUM_FLOAT() { - return 36337; - }, - /*web_gl.WebGL.MEDIUM_INT*/get MEDIUM_INT() { - return 36340; - }, - /*web_gl.WebGL.MIN*/get MIN() { - return 32775; - }, - /*web_gl.WebGL.MIN_PROGRAM_TEXEL_OFFSET*/get MIN_PROGRAM_TEXEL_OFFSET() { - return 35076; - }, - /*web_gl.WebGL.MIRRORED_REPEAT*/get MIRRORED_REPEAT() { - return 33648; - }, - /*web_gl.WebGL.NEAREST*/get NEAREST() { - return 9728; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_LINEAR*/get NEAREST_MIPMAP_LINEAR() { - return 9986; - }, - /*web_gl.WebGL.NEAREST_MIPMAP_NEAREST*/get NEAREST_MIPMAP_NEAREST() { - return 9984; - }, - /*web_gl.WebGL.NEVER*/get NEVER() { - return 512; - }, - /*web_gl.WebGL.NICEST*/get NICEST() { - return 4354; - }, - /*web_gl.WebGL.NONE*/get NONE() { - return 0; - }, - /*web_gl.WebGL.NOTEQUAL*/get NOTEQUAL() { - return 517; - }, - /*web_gl.WebGL.NO_ERROR*/get NO_ERROR() { - return 0; - }, - /*web_gl.WebGL.OBJECT_TYPE*/get OBJECT_TYPE() { - return 37138; - }, - /*web_gl.WebGL.ONE*/get ONE() { - return 1; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_ALPHA*/get ONE_MINUS_CONSTANT_ALPHA() { - return 32772; - }, - /*web_gl.WebGL.ONE_MINUS_CONSTANT_COLOR*/get ONE_MINUS_CONSTANT_COLOR() { - return 32770; - }, - /*web_gl.WebGL.ONE_MINUS_DST_ALPHA*/get ONE_MINUS_DST_ALPHA() { - return 773; - }, - /*web_gl.WebGL.ONE_MINUS_DST_COLOR*/get ONE_MINUS_DST_COLOR() { - return 775; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_ALPHA*/get ONE_MINUS_SRC_ALPHA() { - return 771; - }, - /*web_gl.WebGL.ONE_MINUS_SRC_COLOR*/get ONE_MINUS_SRC_COLOR() { - return 769; - }, - /*web_gl.WebGL.OUT_OF_MEMORY*/get OUT_OF_MEMORY() { - return 1285; - }, - /*web_gl.WebGL.PACK_ALIGNMENT*/get PACK_ALIGNMENT() { - return 3333; - }, - /*web_gl.WebGL.PACK_ROW_LENGTH*/get PACK_ROW_LENGTH() { - return 3330; - }, - /*web_gl.WebGL.PACK_SKIP_PIXELS*/get PACK_SKIP_PIXELS() { - return 3332; - }, - /*web_gl.WebGL.PACK_SKIP_ROWS*/get PACK_SKIP_ROWS() { - return 3331; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER*/get PIXEL_PACK_BUFFER() { - return 35051; - }, - /*web_gl.WebGL.PIXEL_PACK_BUFFER_BINDING*/get PIXEL_PACK_BUFFER_BINDING() { - return 35053; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER*/get PIXEL_UNPACK_BUFFER() { - return 35052; - }, - /*web_gl.WebGL.PIXEL_UNPACK_BUFFER_BINDING*/get PIXEL_UNPACK_BUFFER_BINDING() { - return 35055; - }, - /*web_gl.WebGL.POINTS*/get POINTS() { - return 0; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FACTOR*/get POLYGON_OFFSET_FACTOR() { - return 32824; - }, - /*web_gl.WebGL.POLYGON_OFFSET_FILL*/get POLYGON_OFFSET_FILL() { - return 32823; - }, - /*web_gl.WebGL.POLYGON_OFFSET_UNITS*/get POLYGON_OFFSET_UNITS() { - return 10752; - }, - /*web_gl.WebGL.QUERY_RESULT*/get QUERY_RESULT() { - return 34918; - }, - /*web_gl.WebGL.QUERY_RESULT_AVAILABLE*/get QUERY_RESULT_AVAILABLE() { - return 34919; - }, - /*web_gl.WebGL.R11F_G11F_B10F*/get R11F_G11F_B10F() { - return 35898; - }, - /*web_gl.WebGL.R16F*/get R16F() { - return 33325; - }, - /*web_gl.WebGL.R16I*/get R16I() { - return 33331; - }, - /*web_gl.WebGL.R16UI*/get R16UI() { - return 33332; - }, - /*web_gl.WebGL.R32F*/get R32F() { - return 33326; - }, - /*web_gl.WebGL.R32I*/get R32I() { - return 33333; - }, - /*web_gl.WebGL.R32UI*/get R32UI() { - return 33334; - }, - /*web_gl.WebGL.R8*/get R8() { - return 33321; - }, - /*web_gl.WebGL.R8I*/get R8I() { - return 33329; - }, - /*web_gl.WebGL.R8UI*/get R8UI() { - return 33330; - }, - /*web_gl.WebGL.R8_SNORM*/get R8_SNORM() { - return 36756; - }, - /*web_gl.WebGL.RASTERIZER_DISCARD*/get RASTERIZER_DISCARD() { - return 35977; - }, - /*web_gl.WebGL.READ_BUFFER*/get READ_BUFFER() { - return 3074; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER*/get READ_FRAMEBUFFER() { - return 36008; - }, - /*web_gl.WebGL.READ_FRAMEBUFFER_BINDING*/get READ_FRAMEBUFFER_BINDING() { - return 36010; - }, - /*web_gl.WebGL.RED*/get RED() { - return 6403; - }, - /*web_gl.WebGL.RED_BITS*/get RED_BITS() { - return 3410; - }, - /*web_gl.WebGL.RED_INTEGER*/get RED_INTEGER() { - return 36244; - }, - /*web_gl.WebGL.RENDERBUFFER*/get RENDERBUFFER() { - return 36161; - }, - /*web_gl.WebGL.RENDERBUFFER_ALPHA_SIZE*/get RENDERBUFFER_ALPHA_SIZE() { - return 36179; - }, - /*web_gl.WebGL.RENDERBUFFER_BINDING*/get RENDERBUFFER_BINDING() { - return 36007; - }, - /*web_gl.WebGL.RENDERBUFFER_BLUE_SIZE*/get RENDERBUFFER_BLUE_SIZE() { - return 36178; - }, - /*web_gl.WebGL.RENDERBUFFER_DEPTH_SIZE*/get RENDERBUFFER_DEPTH_SIZE() { - return 36180; - }, - /*web_gl.WebGL.RENDERBUFFER_GREEN_SIZE*/get RENDERBUFFER_GREEN_SIZE() { - return 36177; - }, - /*web_gl.WebGL.RENDERBUFFER_HEIGHT*/get RENDERBUFFER_HEIGHT() { - return 36163; - }, - /*web_gl.WebGL.RENDERBUFFER_INTERNAL_FORMAT*/get RENDERBUFFER_INTERNAL_FORMAT() { - return 36164; - }, - /*web_gl.WebGL.RENDERBUFFER_RED_SIZE*/get RENDERBUFFER_RED_SIZE() { - return 36176; - }, - /*web_gl.WebGL.RENDERBUFFER_SAMPLES*/get RENDERBUFFER_SAMPLES() { - return 36011; - }, - /*web_gl.WebGL.RENDERBUFFER_STENCIL_SIZE*/get RENDERBUFFER_STENCIL_SIZE() { - return 36181; - }, - /*web_gl.WebGL.RENDERBUFFER_WIDTH*/get RENDERBUFFER_WIDTH() { - return 36162; - }, - /*web_gl.WebGL.RENDERER*/get RENDERER() { - return 7937; - }, - /*web_gl.WebGL.REPEAT*/get REPEAT() { - return 10497; - }, - /*web_gl.WebGL.REPLACE*/get REPLACE() { - return 7681; - }, - /*web_gl.WebGL.RG*/get RG() { - return 33319; - }, - /*web_gl.WebGL.RG16F*/get RG16F() { - return 33327; - }, - /*web_gl.WebGL.RG16I*/get RG16I() { - return 33337; - }, - /*web_gl.WebGL.RG16UI*/get RG16UI() { - return 33338; - }, - /*web_gl.WebGL.RG32F*/get RG32F() { - return 33328; - }, - /*web_gl.WebGL.RG32I*/get RG32I() { - return 33339; - }, - /*web_gl.WebGL.RG32UI*/get RG32UI() { - return 33340; - }, - /*web_gl.WebGL.RG8*/get RG8() { - return 33323; - }, - /*web_gl.WebGL.RG8I*/get RG8I() { - return 33335; - }, - /*web_gl.WebGL.RG8UI*/get RG8UI() { - return 33336; - }, - /*web_gl.WebGL.RG8_SNORM*/get RG8_SNORM() { - return 36757; - }, - /*web_gl.WebGL.RGB*/get RGB() { - return 6407; - }, - /*web_gl.WebGL.RGB10_A2*/get RGB10_A2() { - return 32857; - }, - /*web_gl.WebGL.RGB10_A2UI*/get RGB10_A2UI() { - return 36975; - }, - /*web_gl.WebGL.RGB16F*/get RGB16F() { - return 34843; - }, - /*web_gl.WebGL.RGB16I*/get RGB16I() { - return 36233; - }, - /*web_gl.WebGL.RGB16UI*/get RGB16UI() { - return 36215; - }, - /*web_gl.WebGL.RGB32F*/get RGB32F() { - return 34837; - }, - /*web_gl.WebGL.RGB32I*/get RGB32I() { - return 36227; - }, - /*web_gl.WebGL.RGB32UI*/get RGB32UI() { - return 36209; - }, - /*web_gl.WebGL.RGB565*/get RGB565() { - return 36194; - }, - /*web_gl.WebGL.RGB5_A1*/get RGB5_A1() { - return 32855; - }, - /*web_gl.WebGL.RGB8*/get RGB8() { - return 32849; - }, - /*web_gl.WebGL.RGB8I*/get RGB8I() { - return 36239; - }, - /*web_gl.WebGL.RGB8UI*/get RGB8UI() { - return 36221; - }, - /*web_gl.WebGL.RGB8_SNORM*/get RGB8_SNORM() { - return 36758; - }, - /*web_gl.WebGL.RGB9_E5*/get RGB9_E5() { - return 35901; - }, - /*web_gl.WebGL.RGBA*/get RGBA() { - return 6408; - }, - /*web_gl.WebGL.RGBA16F*/get RGBA16F() { - return 34842; - }, - /*web_gl.WebGL.RGBA16I*/get RGBA16I() { - return 36232; - }, - /*web_gl.WebGL.RGBA16UI*/get RGBA16UI() { - return 36214; - }, - /*web_gl.WebGL.RGBA32F*/get RGBA32F() { - return 34836; - }, - /*web_gl.WebGL.RGBA32I*/get RGBA32I() { - return 36226; - }, - /*web_gl.WebGL.RGBA32UI*/get RGBA32UI() { - return 36208; - }, - /*web_gl.WebGL.RGBA4*/get RGBA4() { - return 32854; - }, - /*web_gl.WebGL.RGBA8*/get RGBA8() { - return 32856; - }, - /*web_gl.WebGL.RGBA8I*/get RGBA8I() { - return 36238; - }, - /*web_gl.WebGL.RGBA8UI*/get RGBA8UI() { - return 36220; - }, - /*web_gl.WebGL.RGBA8_SNORM*/get RGBA8_SNORM() { - return 36759; - }, - /*web_gl.WebGL.RGBA_INTEGER*/get RGBA_INTEGER() { - return 36249; - }, - /*web_gl.WebGL.RGB_INTEGER*/get RGB_INTEGER() { - return 36248; - }, - /*web_gl.WebGL.RG_INTEGER*/get RG_INTEGER() { - return 33320; - }, - /*web_gl.WebGL.SAMPLER_2D*/get SAMPLER_2D() { - return 35678; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY*/get SAMPLER_2D_ARRAY() { - return 36289; - }, - /*web_gl.WebGL.SAMPLER_2D_ARRAY_SHADOW*/get SAMPLER_2D_ARRAY_SHADOW() { - return 36292; - }, - /*web_gl.WebGL.SAMPLER_2D_SHADOW*/get SAMPLER_2D_SHADOW() { - return 35682; - }, - /*web_gl.WebGL.SAMPLER_3D*/get SAMPLER_3D() { - return 35679; - }, - /*web_gl.WebGL.SAMPLER_BINDING*/get SAMPLER_BINDING() { - return 35097; - }, - /*web_gl.WebGL.SAMPLER_CUBE*/get SAMPLER_CUBE() { - return 35680; - }, - /*web_gl.WebGL.SAMPLER_CUBE_SHADOW*/get SAMPLER_CUBE_SHADOW() { - return 36293; - }, - /*web_gl.WebGL.SAMPLES*/get SAMPLES() { - return 32937; - }, - /*web_gl.WebGL.SAMPLE_ALPHA_TO_COVERAGE*/get SAMPLE_ALPHA_TO_COVERAGE() { - return 32926; - }, - /*web_gl.WebGL.SAMPLE_BUFFERS*/get SAMPLE_BUFFERS() { - return 32936; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE*/get SAMPLE_COVERAGE() { - return 32928; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_INVERT*/get SAMPLE_COVERAGE_INVERT() { - return 32939; - }, - /*web_gl.WebGL.SAMPLE_COVERAGE_VALUE*/get SAMPLE_COVERAGE_VALUE() { - return 32938; - }, - /*web_gl.WebGL.SCISSOR_BOX*/get SCISSOR_BOX() { - return 3088; - }, - /*web_gl.WebGL.SCISSOR_TEST*/get SCISSOR_TEST() { - return 3089; - }, - /*web_gl.WebGL.SEPARATE_ATTRIBS*/get SEPARATE_ATTRIBS() { - return 35981; - }, - /*web_gl.WebGL.SHADER_TYPE*/get SHADER_TYPE() { - return 35663; - }, - /*web_gl.WebGL.SHADING_LANGUAGE_VERSION*/get SHADING_LANGUAGE_VERSION() { - return 35724; - }, - /*web_gl.WebGL.SHORT*/get SHORT() { - return 5122; - }, - /*web_gl.WebGL.SIGNALED*/get SIGNALED() { - return 37145; - }, - /*web_gl.WebGL.SIGNED_NORMALIZED*/get SIGNED_NORMALIZED() { - return 36764; - }, - /*web_gl.WebGL.SRC_ALPHA*/get SRC_ALPHA() { - return 770; - }, - /*web_gl.WebGL.SRC_ALPHA_SATURATE*/get SRC_ALPHA_SATURATE() { - return 776; - }, - /*web_gl.WebGL.SRC_COLOR*/get SRC_COLOR() { - return 768; - }, - /*web_gl.WebGL.SRGB*/get SRGB() { - return 35904; - }, - /*web_gl.WebGL.SRGB8*/get SRGB8() { - return 35905; - }, - /*web_gl.WebGL.SRGB8_ALPHA8*/get SRGB8_ALPHA8() { - return 35907; - }, - /*web_gl.WebGL.STATIC_COPY*/get STATIC_COPY() { - return 35046; - }, - /*web_gl.WebGL.STATIC_DRAW*/get STATIC_DRAW() { - return 35044; - }, - /*web_gl.WebGL.STATIC_READ*/get STATIC_READ() { - return 35045; - }, - /*web_gl.WebGL.STENCIL*/get STENCIL() { - return 6146; - }, - /*web_gl.WebGL.STENCIL_ATTACHMENT*/get STENCIL_ATTACHMENT() { - return 36128; - }, - /*web_gl.WebGL.STENCIL_BACK_FAIL*/get STENCIL_BACK_FAIL() { - return 34817; - }, - /*web_gl.WebGL.STENCIL_BACK_FUNC*/get STENCIL_BACK_FUNC() { - return 34816; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_FAIL*/get STENCIL_BACK_PASS_DEPTH_FAIL() { - return 34818; - }, - /*web_gl.WebGL.STENCIL_BACK_PASS_DEPTH_PASS*/get STENCIL_BACK_PASS_DEPTH_PASS() { - return 34819; - }, - /*web_gl.WebGL.STENCIL_BACK_REF*/get STENCIL_BACK_REF() { - return 36003; - }, - /*web_gl.WebGL.STENCIL_BACK_VALUE_MASK*/get STENCIL_BACK_VALUE_MASK() { - return 36004; - }, - /*web_gl.WebGL.STENCIL_BACK_WRITEMASK*/get STENCIL_BACK_WRITEMASK() { - return 36005; - }, - /*web_gl.WebGL.STENCIL_BITS*/get STENCIL_BITS() { - return 3415; - }, - /*web_gl.WebGL.STENCIL_BUFFER_BIT*/get STENCIL_BUFFER_BIT() { - return 1024; - }, - /*web_gl.WebGL.STENCIL_CLEAR_VALUE*/get STENCIL_CLEAR_VALUE() { - return 2961; - }, - /*web_gl.WebGL.STENCIL_FAIL*/get STENCIL_FAIL() { - return 2964; - }, - /*web_gl.WebGL.STENCIL_FUNC*/get STENCIL_FUNC() { - return 2962; - }, - /*web_gl.WebGL.STENCIL_INDEX8*/get STENCIL_INDEX8() { - return 36168; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_FAIL*/get STENCIL_PASS_DEPTH_FAIL() { - return 2965; - }, - /*web_gl.WebGL.STENCIL_PASS_DEPTH_PASS*/get STENCIL_PASS_DEPTH_PASS() { - return 2966; - }, - /*web_gl.WebGL.STENCIL_REF*/get STENCIL_REF() { - return 2967; - }, - /*web_gl.WebGL.STENCIL_TEST*/get STENCIL_TEST() { - return 2960; - }, - /*web_gl.WebGL.STENCIL_VALUE_MASK*/get STENCIL_VALUE_MASK() { - return 2963; - }, - /*web_gl.WebGL.STENCIL_WRITEMASK*/get STENCIL_WRITEMASK() { - return 2968; - }, - /*web_gl.WebGL.STREAM_COPY*/get STREAM_COPY() { - return 35042; - }, - /*web_gl.WebGL.STREAM_DRAW*/get STREAM_DRAW() { - return 35040; - }, - /*web_gl.WebGL.STREAM_READ*/get STREAM_READ() { - return 35041; - }, - /*web_gl.WebGL.SUBPIXEL_BITS*/get SUBPIXEL_BITS() { - return 3408; - }, - /*web_gl.WebGL.SYNC_CONDITION*/get SYNC_CONDITION() { - return 37139; - }, - /*web_gl.WebGL.SYNC_FENCE*/get SYNC_FENCE() { - return 37142; - }, - /*web_gl.WebGL.SYNC_FLAGS*/get SYNC_FLAGS() { - return 37141; - }, - /*web_gl.WebGL.SYNC_FLUSH_COMMANDS_BIT*/get SYNC_FLUSH_COMMANDS_BIT() { - return 1; - }, - /*web_gl.WebGL.SYNC_GPU_COMMANDS_COMPLETE*/get SYNC_GPU_COMMANDS_COMPLETE() { - return 37143; - }, - /*web_gl.WebGL.SYNC_STATUS*/get SYNC_STATUS() { - return 37140; - }, - /*web_gl.WebGL.TEXTURE*/get TEXTURE() { - return 5890; - }, - /*web_gl.WebGL.TEXTURE0*/get TEXTURE0() { - return 33984; - }, - /*web_gl.WebGL.TEXTURE1*/get TEXTURE1() { - return 33985; - }, - /*web_gl.WebGL.TEXTURE10*/get TEXTURE10() { - return 33994; - }, - /*web_gl.WebGL.TEXTURE11*/get TEXTURE11() { - return 33995; - }, - /*web_gl.WebGL.TEXTURE12*/get TEXTURE12() { - return 33996; - }, - /*web_gl.WebGL.TEXTURE13*/get TEXTURE13() { - return 33997; - }, - /*web_gl.WebGL.TEXTURE14*/get TEXTURE14() { - return 33998; - }, - /*web_gl.WebGL.TEXTURE15*/get TEXTURE15() { - return 33999; - }, - /*web_gl.WebGL.TEXTURE16*/get TEXTURE16() { - return 34000; - }, - /*web_gl.WebGL.TEXTURE17*/get TEXTURE17() { - return 34001; - }, - /*web_gl.WebGL.TEXTURE18*/get TEXTURE18() { - return 34002; - }, - /*web_gl.WebGL.TEXTURE19*/get TEXTURE19() { - return 34003; - }, - /*web_gl.WebGL.TEXTURE2*/get TEXTURE2() { - return 33986; - }, - /*web_gl.WebGL.TEXTURE20*/get TEXTURE20() { - return 34004; - }, - /*web_gl.WebGL.TEXTURE21*/get TEXTURE21() { - return 34005; - }, - /*web_gl.WebGL.TEXTURE22*/get TEXTURE22() { - return 34006; - }, - /*web_gl.WebGL.TEXTURE23*/get TEXTURE23() { - return 34007; - }, - /*web_gl.WebGL.TEXTURE24*/get TEXTURE24() { - return 34008; - }, - /*web_gl.WebGL.TEXTURE25*/get TEXTURE25() { - return 34009; - }, - /*web_gl.WebGL.TEXTURE26*/get TEXTURE26() { - return 34010; - }, - /*web_gl.WebGL.TEXTURE27*/get TEXTURE27() { - return 34011; - }, - /*web_gl.WebGL.TEXTURE28*/get TEXTURE28() { - return 34012; - }, - /*web_gl.WebGL.TEXTURE29*/get TEXTURE29() { - return 34013; - }, - /*web_gl.WebGL.TEXTURE3*/get TEXTURE3() { - return 33987; - }, - /*web_gl.WebGL.TEXTURE30*/get TEXTURE30() { - return 34014; - }, - /*web_gl.WebGL.TEXTURE31*/get TEXTURE31() { - return 34015; - }, - /*web_gl.WebGL.TEXTURE4*/get TEXTURE4() { - return 33988; - }, - /*web_gl.WebGL.TEXTURE5*/get TEXTURE5() { - return 33989; - }, - /*web_gl.WebGL.TEXTURE6*/get TEXTURE6() { - return 33990; - }, - /*web_gl.WebGL.TEXTURE7*/get TEXTURE7() { - return 33991; - }, - /*web_gl.WebGL.TEXTURE8*/get TEXTURE8() { - return 33992; - }, - /*web_gl.WebGL.TEXTURE9*/get TEXTURE9() { - return 33993; - }, - /*web_gl.WebGL.TEXTURE_2D*/get TEXTURE_2D() { - return 3553; - }, - /*web_gl.WebGL.TEXTURE_2D_ARRAY*/get TEXTURE_2D_ARRAY() { - return 35866; - }, - /*web_gl.WebGL.TEXTURE_3D*/get TEXTURE_3D() { - return 32879; - }, - /*web_gl.WebGL.TEXTURE_BASE_LEVEL*/get TEXTURE_BASE_LEVEL() { - return 33084; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D*/get TEXTURE_BINDING_2D() { - return 32873; - }, - /*web_gl.WebGL.TEXTURE_BINDING_2D_ARRAY*/get TEXTURE_BINDING_2D_ARRAY() { - return 35869; - }, - /*web_gl.WebGL.TEXTURE_BINDING_3D*/get TEXTURE_BINDING_3D() { - return 32874; - }, - /*web_gl.WebGL.TEXTURE_BINDING_CUBE_MAP*/get TEXTURE_BINDING_CUBE_MAP() { - return 34068; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_FUNC*/get TEXTURE_COMPARE_FUNC() { - return 34893; - }, - /*web_gl.WebGL.TEXTURE_COMPARE_MODE*/get TEXTURE_COMPARE_MODE() { - return 34892; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP*/get TEXTURE_CUBE_MAP() { - return 34067; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_X*/get TEXTURE_CUBE_MAP_NEGATIVE_X() { - return 34070; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Y*/get TEXTURE_CUBE_MAP_NEGATIVE_Y() { - return 34072; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_NEGATIVE_Z*/get TEXTURE_CUBE_MAP_NEGATIVE_Z() { - return 34074; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_X*/get TEXTURE_CUBE_MAP_POSITIVE_X() { - return 34069; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Y*/get TEXTURE_CUBE_MAP_POSITIVE_Y() { - return 34071; - }, - /*web_gl.WebGL.TEXTURE_CUBE_MAP_POSITIVE_Z*/get TEXTURE_CUBE_MAP_POSITIVE_Z() { - return 34073; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_FORMAT*/get TEXTURE_IMMUTABLE_FORMAT() { - return 37167; - }, - /*web_gl.WebGL.TEXTURE_IMMUTABLE_LEVELS*/get TEXTURE_IMMUTABLE_LEVELS() { - return 33503; - }, - /*web_gl.WebGL.TEXTURE_MAG_FILTER*/get TEXTURE_MAG_FILTER() { - return 10240; - }, - /*web_gl.WebGL.TEXTURE_MAX_LEVEL*/get TEXTURE_MAX_LEVEL() { - return 33085; - }, - /*web_gl.WebGL.TEXTURE_MAX_LOD*/get TEXTURE_MAX_LOD() { - return 33083; - }, - /*web_gl.WebGL.TEXTURE_MIN_FILTER*/get TEXTURE_MIN_FILTER() { - return 10241; - }, - /*web_gl.WebGL.TEXTURE_MIN_LOD*/get TEXTURE_MIN_LOD() { - return 33082; - }, - /*web_gl.WebGL.TEXTURE_WRAP_R*/get TEXTURE_WRAP_R() { - return 32882; - }, - /*web_gl.WebGL.TEXTURE_WRAP_S*/get TEXTURE_WRAP_S() { - return 10242; - }, - /*web_gl.WebGL.TEXTURE_WRAP_T*/get TEXTURE_WRAP_T() { - return 10243; - }, - /*web_gl.WebGL.TIMEOUT_EXPIRED*/get TIMEOUT_EXPIRED() { - return 37147; - }, - /*web_gl.WebGL.TIMEOUT_IGNORED*/get TIMEOUT_IGNORED() { - return -1; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK*/get TRANSFORM_FEEDBACK() { - return 36386; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_ACTIVE*/get TRANSFORM_FEEDBACK_ACTIVE() { - return 36388; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BINDING*/get TRANSFORM_FEEDBACK_BINDING() { - return 36389; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER*/get TRANSFORM_FEEDBACK_BUFFER() { - return 35982; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_BINDING*/get TRANSFORM_FEEDBACK_BUFFER_BINDING() { - return 35983; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_MODE*/get TRANSFORM_FEEDBACK_BUFFER_MODE() { - return 35967; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_SIZE*/get TRANSFORM_FEEDBACK_BUFFER_SIZE() { - return 35973; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_BUFFER_START*/get TRANSFORM_FEEDBACK_BUFFER_START() { - return 35972; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PAUSED*/get TRANSFORM_FEEDBACK_PAUSED() { - return 36387; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN*/get TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN() { - return 35976; - }, - /*web_gl.WebGL.TRANSFORM_FEEDBACK_VARYINGS*/get TRANSFORM_FEEDBACK_VARYINGS() { - return 35971; - }, - /*web_gl.WebGL.TRIANGLES*/get TRIANGLES() { - return 4; - }, - /*web_gl.WebGL.TRIANGLE_FAN*/get TRIANGLE_FAN() { - return 6; - }, - /*web_gl.WebGL.TRIANGLE_STRIP*/get TRIANGLE_STRIP() { - return 5; - }, - /*web_gl.WebGL.UNIFORM_ARRAY_STRIDE*/get UNIFORM_ARRAY_STRIDE() { - return 35388; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORMS*/get UNIFORM_BLOCK_ACTIVE_UNIFORMS() { - return 35394; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES*/get UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES() { - return 35395; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_BINDING*/get UNIFORM_BLOCK_BINDING() { - return 35391; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_DATA_SIZE*/get UNIFORM_BLOCK_DATA_SIZE() { - return 35392; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_INDEX*/get UNIFORM_BLOCK_INDEX() { - return 35386; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER() { - return 35398; - }, - /*web_gl.WebGL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER*/get UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER() { - return 35396; - }, - /*web_gl.WebGL.UNIFORM_BUFFER*/get UNIFORM_BUFFER() { - return 35345; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_BINDING*/get UNIFORM_BUFFER_BINDING() { - return 35368; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_OFFSET_ALIGNMENT*/get UNIFORM_BUFFER_OFFSET_ALIGNMENT() { - return 35380; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_SIZE*/get UNIFORM_BUFFER_SIZE() { - return 35370; - }, - /*web_gl.WebGL.UNIFORM_BUFFER_START*/get UNIFORM_BUFFER_START() { - return 35369; - }, - /*web_gl.WebGL.UNIFORM_IS_ROW_MAJOR*/get UNIFORM_IS_ROW_MAJOR() { - return 35390; - }, - /*web_gl.WebGL.UNIFORM_MATRIX_STRIDE*/get UNIFORM_MATRIX_STRIDE() { - return 35389; - }, - /*web_gl.WebGL.UNIFORM_OFFSET*/get UNIFORM_OFFSET() { - return 35387; - }, - /*web_gl.WebGL.UNIFORM_SIZE*/get UNIFORM_SIZE() { - return 35384; - }, - /*web_gl.WebGL.UNIFORM_TYPE*/get UNIFORM_TYPE() { - return 35383; - }, - /*web_gl.WebGL.UNPACK_ALIGNMENT*/get UNPACK_ALIGNMENT() { - return 3317; - }, - /*web_gl.WebGL.UNPACK_COLORSPACE_CONVERSION_WEBGL*/get UNPACK_COLORSPACE_CONVERSION_WEBGL() { - return 37443; - }, - /*web_gl.WebGL.UNPACK_FLIP_Y_WEBGL*/get UNPACK_FLIP_Y_WEBGL() { - return 37440; - }, - /*web_gl.WebGL.UNPACK_IMAGE_HEIGHT*/get UNPACK_IMAGE_HEIGHT() { - return 32878; - }, - /*web_gl.WebGL.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/get UNPACK_PREMULTIPLY_ALPHA_WEBGL() { - return 37441; - }, - /*web_gl.WebGL.UNPACK_ROW_LENGTH*/get UNPACK_ROW_LENGTH() { - return 3314; - }, - /*web_gl.WebGL.UNPACK_SKIP_IMAGES*/get UNPACK_SKIP_IMAGES() { - return 32877; - }, - /*web_gl.WebGL.UNPACK_SKIP_PIXELS*/get UNPACK_SKIP_PIXELS() { - return 3316; - }, - /*web_gl.WebGL.UNPACK_SKIP_ROWS*/get UNPACK_SKIP_ROWS() { - return 3315; - }, - /*web_gl.WebGL.UNSIGNALED*/get UNSIGNALED() { - return 37144; - }, - /*web_gl.WebGL.UNSIGNED_BYTE*/get UNSIGNED_BYTE() { - return 5121; - }, - /*web_gl.WebGL.UNSIGNED_INT*/get UNSIGNED_INT() { - return 5125; - }, - /*web_gl.WebGL.UNSIGNED_INT_10F_11F_11F_REV*/get UNSIGNED_INT_10F_11F_11F_REV() { - return 35899; - }, - /*web_gl.WebGL.UNSIGNED_INT_24_8*/get UNSIGNED_INT_24_8() { - return 34042; - }, - /*web_gl.WebGL.UNSIGNED_INT_2_10_10_10_REV*/get UNSIGNED_INT_2_10_10_10_REV() { - return 33640; - }, - /*web_gl.WebGL.UNSIGNED_INT_5_9_9_9_REV*/get UNSIGNED_INT_5_9_9_9_REV() { - return 35902; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D*/get UNSIGNED_INT_SAMPLER_2D() { - return 36306; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_2D_ARRAY*/get UNSIGNED_INT_SAMPLER_2D_ARRAY() { - return 36311; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_3D*/get UNSIGNED_INT_SAMPLER_3D() { - return 36307; - }, - /*web_gl.WebGL.UNSIGNED_INT_SAMPLER_CUBE*/get UNSIGNED_INT_SAMPLER_CUBE() { - return 36308; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC2*/get UNSIGNED_INT_VEC2() { - return 36294; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC3*/get UNSIGNED_INT_VEC3() { - return 36295; - }, - /*web_gl.WebGL.UNSIGNED_INT_VEC4*/get UNSIGNED_INT_VEC4() { - return 36296; - }, - /*web_gl.WebGL.UNSIGNED_NORMALIZED*/get UNSIGNED_NORMALIZED() { - return 35863; - }, - /*web_gl.WebGL.UNSIGNED_SHORT*/get UNSIGNED_SHORT() { - return 5123; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_4_4_4_4*/get UNSIGNED_SHORT_4_4_4_4() { - return 32819; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_5_5_1*/get UNSIGNED_SHORT_5_5_5_1() { - return 32820; - }, - /*web_gl.WebGL.UNSIGNED_SHORT_5_6_5*/get UNSIGNED_SHORT_5_6_5() { - return 33635; - }, - /*web_gl.WebGL.VALIDATE_STATUS*/get VALIDATE_STATUS() { - return 35715; - }, - /*web_gl.WebGL.VENDOR*/get VENDOR() { - return 7936; - }, - /*web_gl.WebGL.VERSION*/get VERSION() { - return 7938; - }, - /*web_gl.WebGL.VERTEX_ARRAY_BINDING*/get VERTEX_ARRAY_BINDING() { - return 34229; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING*/get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() { - return 34975; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_DIVISOR*/get VERTEX_ATTRIB_ARRAY_DIVISOR() { - return 35070; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_ENABLED*/get VERTEX_ATTRIB_ARRAY_ENABLED() { - return 34338; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_INTEGER*/get VERTEX_ATTRIB_ARRAY_INTEGER() { - return 35069; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_NORMALIZED*/get VERTEX_ATTRIB_ARRAY_NORMALIZED() { - return 34922; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_POINTER*/get VERTEX_ATTRIB_ARRAY_POINTER() { - return 34373; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_SIZE*/get VERTEX_ATTRIB_ARRAY_SIZE() { - return 34339; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_STRIDE*/get VERTEX_ATTRIB_ARRAY_STRIDE() { - return 34340; - }, - /*web_gl.WebGL.VERTEX_ATTRIB_ARRAY_TYPE*/get VERTEX_ATTRIB_ARRAY_TYPE() { - return 34341; - }, - /*web_gl.WebGL.VERTEX_SHADER*/get VERTEX_SHADER() { - return 35633; - }, - /*web_gl.WebGL.VIEWPORT*/get VIEWPORT() { - return 2978; - }, - /*web_gl.WebGL.WAIT_FAILED*/get WAIT_FAILED() { - return 37149; - }, - /*web_gl.WebGL.ZERO*/get ZERO() { - return 0; - } -}, false); -dart.registerExtension("WebGL", web_gl.WebGL); -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.setStaticMethodSignature(web_gl._WebGL2RenderingContextBase, () => ['__']); -dart.setLibraryUri(web_gl._WebGL2RenderingContextBase, I[162]); -dart.registerExtension("WebGL2RenderingContextBase", web_gl._WebGL2RenderingContextBase); -web_gl._WebGLRenderingContextBase = class _WebGLRenderingContextBase extends _interceptors.JavaScriptObject { - static ['_#_#tearOff']() { - return web_gl._WebGLRenderingContextBase.__(); - } -}; -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._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); - } - } - detach(detachToken) { - if (detachToken == null) dart.nullFailed(I[7], 230, 22, "detachToken"); - this[_registry].unregister(detachToken); - } - } - (_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], 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[9]); -dart.setFieldSignature(core._CompileTimeError, () => ({ - __proto__: dart.getFields(core._CompileTimeError.__proto__), - [_errorMsg$]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._CompileTimeError, ['toString']); -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$4]) + "' is already initialized."; - } -}; -(core._DuplicatedFieldInitializerError.new = function(_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[9]); -dart.setFieldSignature(core._DuplicatedFieldInitializerError, () => ({ - __proto__: dart.getFields(core._DuplicatedFieldInitializerError.__proto__), - [_name$4]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._DuplicatedFieldInitializerError, ['toString']); -var _used$ = dart.privateName(core, "_used"); -var _digits$ = dart.privateName(core, "_digits"); -var _isNegative = dart.privateName(core, "_isNegative"); -var _isZero = dart.privateName(core, "_isZero"); -var _dlShift = dart.privateName(core, "_dlShift"); -var _drShift = dart.privateName(core, "_drShift"); -var _absCompare = dart.privateName(core, "_absCompare"); -var _absAddSetSign = dart.privateName(core, "_absAddSetSign"); -var _absSubSetSign = dart.privateName(core, "_absSubSetSign"); -var _absAndSetSign = dart.privateName(core, "_absAndSetSign"); -var _absAndNotSetSign = dart.privateName(core, "_absAndNotSetSign"); -var _absOrSetSign = dart.privateName(core, "_absOrSetSign"); -var _absXorSetSign = dart.privateName(core, "_absXorSetSign"); -var _divRem = dart.privateName(core, "_divRem"); -var _div = dart.privateName(core, "_div"); -var _rem = dart.privateName(core, "_rem"); -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], 1112, 35, "source"); - let radix = opts && 'radix' in opts ? opts.radix : null; - let result = core._BigIntImpl._tryParse(source, {radix: radix}); - if (result == null) { - dart.throw(new core.FormatException.new("Could not parse BigInt", source)); - } - return result; - } - static _parseDecimal(source, 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); - if (digitInPartCount === 4) digitInPartCount = 0; - for (let i = 0; i < source.length; i = i + 1) { - part = part * 10 + source[$codeUnitAt](i) - 48; - if ((digitInPartCount = digitInPartCount + 1) === 4) { - result = result['*'](core._BigIntImpl._bigInt10000)['+'](core._BigIntImpl._fromInt(part)); - part = 0; - digitInPartCount = 0; - } - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _codeUnitToRadixValue(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 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](); - let digits = _native_typed_data.NativeUint16List.new(chunkCount); - let lastDigitLength = sourceLength - (chunkCount - 1) * hexDigitsPerChunk; - let digitIndex = dart.notNull(digits[$length]) - 1; - let i = startPos; - let chunk = 0; - for (let j = 0; j < lastDigitLength; j = j + 1) { - 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]((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]((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]((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], 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) { - let digitValue = core._BigIntImpl._codeUnitToRadixValue(source[$codeUnitAt](i)); - if (dart.notNull(digitValue) >= dart.notNull(radix)) return null; - result = result['*'](base)['+'](core._BigIntImpl._fromInt(digitValue)); - } - if (dart.test(isNegative)) return result._negate(); - return result; - } - static _tryParse(source, opts) { - 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); - let signIndex = 1; - let hexIndex = 3; - let decimalIndex = 4; - let nonDecimalHexIndex = 5; - if (match == null) return null; - let isNegative = match._get(signIndex) === "-"; - let decimalMatch = match._get(decimalIndex); - let hexMatch = match._get(hexIndex); - let nonDecimalMatch = match._get(nonDecimalHexIndex); - if (radix == null) { - if (decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (hexMatch != null) { - return core._BigIntImpl._parseHex(hexMatch, 2, isNegative); - } - return null; - } - if (dart.notNull(radix) < 2 || dart.notNull(radix) > 36) { - dart.throw(new core.RangeError.range(radix, 2, 36, "radix")); - } - if (radix === 10 && decimalMatch != null) { - return core._BigIntImpl._parseDecimal(decimalMatch, isNegative); - } - if (radix === 16 && (decimalMatch != null || nonDecimalMatch != null)) { - return core._BigIntImpl._parseHex((t228 = decimalMatch, t228 == null ? dart.nullCheck(nonDecimalMatch) : t228), 0, 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], 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], 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) { - resultDigits[$_set](i, digits[$_get](dart.notNull(from) + i)); - } - return resultDigits; - } - static from(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; - if (value[$abs]() < 4294967296) return core._BigIntImpl._fromInt(value[$toInt]()); - 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 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], 1316, 12, "_digitBits == 16"); - if (isNegative) { - if (value === -9223372036854776000.0) { - let digits = _native_typed_data.NativeUint16List.new(4); - digits[$_set](3, 32768); - return new core._BigIntImpl.__(true, 4, digits); - } - value = -dart.notNull(value); - } - if (dart.notNull(value) < 65536) { - let digits = _native_typed_data.NativeUint16List.new(1); - digits[$_set](0, value); - return new core._BigIntImpl.__(isNegative, 1, digits); - } - if (dart.notNull(value) <= 4294967295) { - let digits = _native_typed_data.NativeUint16List.new(2); - digits[$_set](0, (dart.notNull(value) & 65535) >>> 0); - digits[$_set](1, value[$rightShift](16)); - return new core._BigIntImpl.__(isNegative, 2, digits); - } - let bits = value[$bitLength]; - let digits = _native_typed_data.NativeUint16List.new(((bits - 1) / 16)[$truncate]() + 1); - let i = 0; - while (value !== 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], 1354, 42, "value"); - if (value[$isNaN] || value[$isInfinite]) { - dart.throw(new core.ArgumentError.new("Value must be finite: " + dart.str(value))); - } - let isNegative = dart.notNull(value) < 0; - if (isNegative) value = -dart.notNull(value); - value = value[$floorToDouble](); - if (value === 0) return core._BigIntImpl.zero; - let bits = core._BigIntImpl._bitsForFromDouble; - for (let i = 0; i < 8; i = i + 1) { - bits[$_set](i, 0); - } - 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], 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))); - unshiftedDigits[$_set](2, (dart.notNull(bits[$_get](5)) << 8 >>> 0) + dart.notNull(bits[$_get](4))); - unshiftedDigits[$_set](3, 16 | dart.notNull(bits[$_get](6)) & 15); - let unshiftedBig = new core._BigIntImpl._normalized(false, 4, unshiftedDigits); - let absResult = unshiftedBig; - if (exponent < 0) { - absResult = unshiftedBig['>>'](-exponent); - } else if (exponent > 0) { - absResult = unshiftedBig['<<'](exponent); - } - 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$]); - } - abs() { - return dart.test(this[_isNegative]) ? this._negate() : this; - } - [_dlShift](n) { - if (n == null) dart.nullFailed(I[7], 1414, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(n); - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = dart.notNull(used) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), digits[$_get](i)); - } - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _dlShiftDigits(xDigits, xUsed, n, 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; - } - if (n === 0 && resultDigits == xDigits) { - return xUsed; - } - let resultUsed = dart.notNull(xUsed) + dart.notNull(n); - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i + dart.notNull(n), xDigits[$_get](i)); - } - for (let i = dart.notNull(n) - 1; i >= 0; i = i - 1) { - resultDigits[$_set](i, 0); - } - return resultUsed; - } - [_drShift](n) { - if (n == null) dart.nullFailed(I[7], 1452, 28, "n"); - let used = this[_used$]; - if (used === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) - dart.notNull(n); - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = n; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - resultDigits[$_set](dart.notNull(i) - dart.notNull(n), digits[$_get](i)); - } - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - for (let i = 0; i < dart.notNull(n); i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - static _lsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](carryBitShift) - 1; - let carry = 0; - for (let i = dart.notNull(xUsed) - 1; i >= 0; i = i - 1) { - let digit = xDigits[$_get](i); - resultDigits[$_set](i + digitShift + 1, (digit[$rightShift](carryBitShift) | carry) >>> 0); - carry = ((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](bitShift); - } - resultDigits[$_set](digitShift, carry); - } - ['<<'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_dlShift](digitShift); - } - let resultUsed = dart.notNull(this[_used$]) + digitShift + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._lsh(this[_digits$], this[_used$], shiftAmount, resultDigits); - return new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - } - static _lShiftDigits(xDigits, xUsed, n, 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) { - return core._BigIntImpl._dlShiftDigits(xDigits, xUsed, digitsShift, resultDigits); - } - let resultUsed = dart.notNull(xUsed) + digitsShift + 1; - core._BigIntImpl._lsh(xDigits, xUsed, n, resultDigits); - let i = digitsShift; - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - if (resultDigits[$_get](resultUsed - 1) === 0) { - resultUsed = resultUsed - 1; - } - return resultUsed; - } - static _rsh(xDigits, xUsed, n, resultDigits) { - 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; - let bitMask = (1)[$leftShift](bitShift) - 1; - let carry = xDigits[$_get](digitsShift)[$rightShift](bitShift); - let last = dart.notNull(xUsed) - digitsShift - 1; - for (let i = 0; i < last; i = i + 1) { - let digit = xDigits[$_get](i + digitsShift + 1); - resultDigits[$_set](i, (((dart.notNull(digit) & bitMask) >>> 0)[$leftShift](carryBitShift) | carry) >>> 0); - carry = digit[$rightShift](bitShift); - } - resultDigits[$_set](last, carry); - } - ['>>'](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))); - } - if (dart.test(this[_isZero])) return this; - let digitShift = (dart.notNull(shiftAmount) / 16)[$truncate](); - let bitShift = shiftAmount[$modulo](16); - if (bitShift === 0) { - return this[_drShift](digitShift); - } - let used = this[_used$]; - let resultUsed = dart.notNull(used) - digitShift; - if (resultUsed <= 0) { - return dart.test(this[_isNegative]) ? core._BigIntImpl._minusOne : core._BigIntImpl.zero; - } - let digits = this[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._rsh(digits, used, shiftAmount, resultDigits); - let result = new core._BigIntImpl.__(this[_isNegative], resultUsed, resultDigits); - if (dart.test(this[_isNegative])) { - if ((dart.notNull(digits[$_get](digitShift)) & (1)[$leftShift](bitShift) - 1) !== 0) { - return result['-'](core._BigIntImpl.one); - } - for (let i = 0; i < digitShift; i = i + 1) { - if (digits[$_get](i) !== 0) { - return result['-'](core._BigIntImpl.one); - } - } - } - return result; - } - [_absCompare](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], 1623, 39, "other"); - if (this[_isNegative] == other[_isNegative]) { - let result = this[_absCompare](other); - return dart.test(this[_isNegative]) ? 0 - dart.notNull(result) : result; - } - return dart.test(this[_isNegative]) ? -1 : 1; - } - static _compareDigits(digits, used, otherDigits, 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) { - result = dart.notNull(digits[$_get](i)) - dart.notNull(otherDigits[$_get](i)); - if (result !== 0) return result; - } - } - return result; - } - static _absAdd(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = carry[$rightShift](16); - } - resultDigits[$_set](used, carry); - } - static _absSub(digits, used, otherDigits, otherUsed, resultDigits) { - 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))); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - for (let i = otherUsed; dart.notNull(i) < dart.notNull(used); i = dart.notNull(i) + 1) { - carry = carry + dart.notNull(digits[$_get](i)); - resultDigits[$_set](i, (carry & 65535) >>> 0); - carry = 0 - (carry[$rightShift](16) & 1); - } - } - [_absAddSetSign](other, 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], 1698, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultUsed = dart.notNull(used) + 1; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - core._BigIntImpl._absAdd(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absSubSetSign](other, isNegative) { - 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], 1717, 14, "!isNegative"); - return core._BigIntImpl.zero; - } - let otherUsed = other[_used$]; - if (otherUsed === 0) { - return this[_isNegative] == isNegative ? this : this._negate(); - } - let resultDigits = _native_typed_data.NativeUint16List.new(used); - core._BigIntImpl._absSub(this[_digits$], used, other[_digits$], otherUsed, resultDigits); - return new core._BigIntImpl.__(isNegative, used, resultDigits); - } - [_absAndSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - for (let i = 0; i < dart.notNull(resultUsed); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & dart.notNull(otherDigits[$_get](i))) >>> 0); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absAndNotSetSign](other, 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$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let m = core._min(resultUsed, other[_used$]); - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) & ~dart.notNull(otherDigits[$_get](i)) >>> 0) >>> 0); - } - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, digits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absOrSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) | dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - [_absXorSetSign](other, 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); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let l = null; - let m = null; - if (dart.notNull(used) < dart.notNull(otherUsed)) { - l = other; - m = used; - } else { - l = this; - m = otherUsed; - } - for (let i = 0; i < dart.notNull(m); i = i + 1) { - resultDigits[$_set](i, (dart.notNull(digits[$_get](i)) ^ dart.notNull(otherDigits[$_get](i))) >>> 0); - } - let lDigits = l[_digits$]; - for (let i = m; dart.notNull(i) < dart.notNull(resultUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, lDigits[$_get](i)); - } - return new core._BigIntImpl.__(isNegative, resultUsed, resultDigits); - } - ['&'](other) { - core._BigIntImpl.as(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])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absOrSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absAndSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, false); - return p[_absAndNotSetSign](n1, false); - } - ['|'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absAndSetSign](other1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - return this[_absOrSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return n1[_absAndNotSetSign](p, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['^'](other) { - core._BigIntImpl.as(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]) { - if (dart.test(this[_isNegative])) { - let this1 = this[_absSubSetSign](core._BigIntImpl.one, true); - let other1 = other[_absSubSetSign](core._BigIntImpl.one, true); - return this1[_absXorSetSign](other1, false); - } - return this[_absXorSetSign](other, false); - } - let p = null; - let n = null; - if (dart.test(this[_isNegative])) { - p = other; - n = this; - } else { - p = this; - n = other; - } - let n1 = n[_absSubSetSign](core._BigIntImpl.one, true); - return p[_absXorSetSign](n1, true)[_absAddSetSign](core._BigIntImpl.one, true); - } - ['~']() { - if (dart.test(this[_isZero])) return core._BigIntImpl._minusOne; - if (dart.test(this[_isNegative])) { - return this[_absSubSetSign](core._BigIntImpl.one, false); - } - return this[_absAddSetSign](core._BigIntImpl.one, true); - } - ['+'](other) { - core._BigIntImpl.as(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]; - if (isNegative == other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - ['-'](other) { - core._BigIntImpl.as(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]; - if (isNegative != other[_isNegative]) { - return this[_absAddSetSign](other, isNegative); - } - if (dart.notNull(this[_absCompare](other)) >= 0) { - return this[_absSubSetSign](other, isNegative); - } - return other[_absSubSetSign](this, !dart.test(isNegative)); - } - static _mulAdd(x, multiplicandDigits, i, accumulatorDigits, j, 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]((t228 = i, i = dart.notNull(t228) + 1, t228))); - let combined = product + dart.notNull(accumulatorDigits[$_get](j)) + c; - 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]((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], 2019, 48, "other"); - let used = this[_used$]; - let otherUsed = other[_used$]; - if (used === 0 || otherUsed === 0) { - return core._BigIntImpl.zero; - } - let resultUsed = dart.notNull(used) + dart.notNull(otherUsed); - let digits = this[_digits$]; - let otherDigits = other[_digits$]; - let resultDigits = _native_typed_data.NativeUint16List.new(resultUsed); - let i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), digits, 0, resultDigits, i, used); - i = i + 1; - } - return new core._BigIntImpl.__(this[_isNegative] != other[_isNegative], resultUsed, resultDigits); - } - static _mulDigits(xDigits, xUsed, otherDigits, otherUsed, 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], 2044, 12, "resultDigits.length >= i"); - while ((i = i - 1) >= 0) { - resultDigits[$_set](i, 0); - } - i = 0; - while (i < dart.notNull(otherUsed)) { - core._BigIntImpl._mulAdd(otherDigits[$_get](i), xDigits, 0, resultDigits, i, xUsed); - i = i + 1; - } - return resultUsed; - } - static _estimateQuotientDigit(topDigitDivisor, digits, 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], 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; - } - this[_divRem](other); - let lastQuo_used = dart.nullCheck(core._BigIntImpl._lastQuoRemUsed) - dart.nullCheck(core._BigIntImpl._lastRemUsed); - let quo_digits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastQuoRemUsed), lastQuo_used); - let quo = new core._BigIntImpl.__(false, lastQuo_used, quo_digits); - if (this[_isNegative] != other[_isNegative] && dart.notNull(quo[_used$]) > 0) { - quo = quo._negate(); - } - return quo; - } - [_rem](other) { - 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; - } - this[_divRem](other); - let remDigits = core._BigIntImpl._cloneDigits(dart.nullCheck(core._BigIntImpl._lastQuoRemDigits), 0, dart.nullCheck(core._BigIntImpl._lastRemUsed), dart.nullCheck(core._BigIntImpl._lastRemUsed)); - let rem = new core._BigIntImpl.__(false, dart.nullCheck(core._BigIntImpl._lastRemUsed), remDigits); - if (dart.nullCheck(core._BigIntImpl._lastRem_nsh) > 0) { - rem = rem['>>'](dart.nullCheck(core._BigIntImpl._lastRem_nsh)); - } - if (dart.test(this[_isNegative]) && dart.notNull(rem[_used$]) > 0) { - rem = rem._negate(); - } - return rem; - } - [_divRem](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], 2122, 12, "_used >= other._used"); - let nsh = 16 - other[_digits$][$_get](dart.notNull(other[_used$]) - 1)[$bitLength]; - let resultDigits = null; - let resultUsed = null; - let yDigits = null; - let yUsed = null; - if (nsh > 0) { - yDigits = _native_typed_data.NativeUint16List.new(dart.notNull(other[_used$]) + 5); - yUsed = core._BigIntImpl._lShiftDigits(other[_digits$], other[_used$], nsh, yDigits); - resultDigits = _native_typed_data.NativeUint16List.new(dart.notNull(this[_used$]) + 5); - resultUsed = core._BigIntImpl._lShiftDigits(this[_digits$], this[_used$], nsh, resultDigits); - } else { - yDigits = other[_digits$]; - yUsed = other[_used$]; - resultDigits = core._BigIntImpl._cloneDigits(this[_digits$], 0, this[_used$], dart.notNull(this[_used$]) + 2); - resultUsed = this[_used$]; - } - let topDigitDivisor = yDigits[$_get](dart.notNull(yUsed) - 1); - let i = resultUsed; - let j = dart.notNull(i) - dart.notNull(yUsed); - 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], 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]((t228$ = resultUsed, resultUsed = dart.notNull(t228$) + 1, t228$), 0); - } - let nyDigits = _native_typed_data.NativeUint16List.new(dart.notNull(yUsed) + 2); - nyDigits[$_set](yUsed, 1); - core._BigIntImpl._absSub(nyDigits, dart.notNull(yUsed) + 1, yDigits, yUsed, nyDigits); - i = dart.notNull(i) - 1; - while (j > 0) { - let estimatedQuotientDigit = core._BigIntImpl._estimateQuotientDigit(topDigitDivisor, resultDigits, i); - j = j - 1; - core._BigIntImpl._mulAdd(estimatedQuotientDigit, nyDigits, 0, resultDigits, j, yUsed); - if (dart.notNull(resultDigits[$_get](i)) < dart.notNull(estimatedQuotientDigit)) { - let tmpUsed = core._BigIntImpl._dlShiftDigits(nyDigits, yUsed, j, tmpDigits); - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - while (dart.notNull(resultDigits[$_get](i)) < (estimatedQuotientDigit = dart.notNull(estimatedQuotientDigit) - 1)) { - core._BigIntImpl._absSub(resultDigits, resultUsed, tmpDigits, tmpUsed, resultDigits); - } - } - i = dart.notNull(i) - 1; - } - core._BigIntImpl._lastDividendDigits = this[_digits$]; - core._BigIntImpl._lastDividendUsed = this[_used$]; - core._BigIntImpl._lastDivisorDigits = other[_digits$]; - core._BigIntImpl._lastDivisorUsed = other[_used$]; - core._BigIntImpl._lastQuoRemDigits = resultDigits; - core._BigIntImpl._lastQuoRemUsed = resultUsed; - core._BigIntImpl._lastRemUsed = yUsed; - core._BigIntImpl._lastRem_nsh = nsh; - } - get hashCode() { - function combine(hash, 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], 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); - } - dart.fn(finish, T$0.intToint()); - if (dart.test(this[_isZero])) return 6707; - let hash = dart.test(this[_isNegative]) ? 83585 : 429689; - for (let i = 0; i < dart.notNull(this[_used$]); i = i + 1) { - hash = combine(hash, this[_digits$][$_get](i)); - } - return finish(hash); - } - _equals(other) { - if (other == null) return false; - return core._BigIntImpl.is(other) && this.compareTo(other) === 0; - } - get bitLength() { - if (this[_used$] === 0) return 0; - if (dart.test(this[_isNegative])) return this['~']().bitLength; - return 16 * (dart.notNull(this[_used$]) - 1) + this[_digits$][$_get](dart.notNull(this[_used$]) - 1)[$bitLength]; - } - ['~/'](other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2286, 49, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_div](other); - } - remainder(other) { - core._BigIntImpl.as(other); - if (other == null) dart.nullFailed(I[7], 2300, 47, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - return this[_rem](other); - } - ['/'](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], 2311, 41, "other"); - return dart.notNull(this.compareTo(other)) < 0; - } - ['<='](other) { - core._BigIntImpl.as(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], 2317, 41, "other"); - return dart.notNull(this.compareTo(other)) > 0; - } - ['>='](other) { - core._BigIntImpl.as(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], 2333, 48, "other"); - if (other[_used$] === 0) { - dart.throw(C[430] || CT.C430); - } - let result = this[_rem](other); - if (dart.test(result[_isNegative])) { - if (dart.test(other[_isNegative])) { - result = result['-'](other); - } else { - result = result['+'](other); - } - } - return result; - } - get sign() { - if (this[_used$] === 0) return 0; - return dart.test(this[_isNegative]) ? -1 : 1; - } - get isEven() { - return this[_used$] === 0 || (dart.notNull(this[_digits$][$_get](0)) & 1) === 0; - } - get isOdd() { - return !dart.test(this.isEven); - } - get isNegative() { - return this[_isNegative]; - } - pow(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))); - } - if (exponent === 0) return core._BigIntImpl.one; - let result = core._BigIntImpl.one; - let base = this; - while (exponent !== 0) { - if ((dart.notNull(exponent) & 1) === 1) { - result = result['*'](base); - } - exponent = exponent[$rightShift](1); - if (exponent !== 0) { - base = base['*'](base); - } - } - return result; - } - modPow(exponent, modulus) { - core._BigIntImpl.as(exponent); - if (exponent == null) dart.nullFailed(I[7], 2397, 29, "exponent"); - core._BigIntImpl.as(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))); - } - if (dart.test(modulus['<='](core._BigIntImpl.zero))) { - dart.throw(new core.ArgumentError.new("modulus must be strictly positive: " + dart.str(modulus))); - } - if (dart.test(exponent[_isZero])) return core._BigIntImpl.one; - let modulusUsed = modulus[_used$]; - let modulusUsed2p4 = 2 * dart.notNull(modulusUsed) + 4; - let exponentBitlen = exponent.bitLength; - if (dart.notNull(exponentBitlen) <= 0) return core._BigIntImpl.one; - let z = new core._BigIntClassic.new(modulus); - let resultDigits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let result2Digits = _native_typed_data.NativeUint16List.new(modulusUsed2p4); - let gDigits = _native_typed_data.NativeUint16List.new(modulusUsed); - let gUsed = z.convert(this, gDigits); - for (let j = dart.notNull(gUsed) - 1; j >= 0; j = j - 1) { - resultDigits[$_set](j, gDigits[$_get](j)); - } - let resultUsed = gUsed; - let result2Used = null; - for (let i = dart.notNull(exponentBitlen) - 2; i >= 0; i = i - 1) { - result2Used = z.sqr(resultDigits, resultUsed, result2Digits); - if (!dart.test(exponent['&'](core._BigIntImpl.one['<<'](i))[_isZero])) { - resultUsed = z.mul(result2Digits, result2Used, gDigits, gUsed, resultDigits); - } else { - let tmpDigits = resultDigits; - let tmpUsed = resultUsed; - resultDigits = result2Digits; - resultUsed = result2Used; - result2Digits = tmpDigits; - result2Used = tmpUsed; - } - } - return z.revert(resultDigits, resultUsed); - } - static _binaryGcd(x, y, 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$]; - let yUsed = y[_used$]; - let maxUsed = dart.notNull(xUsed) > dart.notNull(yUsed) ? xUsed : yUsed; - let unshiftedMaxUsed = maxUsed; - xDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, maxUsed); - yDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, maxUsed); - let shiftAmount = 0; - if (dart.test(inv)) { - if (yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - if (yUsed === 0 || yDigits[$_get](0)[$isEven] && xDigits[$_get](0)[$isEven]) { - dart.throw(core.Exception.new("Not coprime")); - } - } else { - if (dart.test(x[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "this", "must not be zero")); - } - if (dart.test(y[_isZero])) { - dart.throw(new core.ArgumentError.value(0, "other", "must not be zero")); - } - if (xUsed === 1 && xDigits[$_get](0) === 1 || yUsed === 1 && yDigits[$_get](0) === 1) return core._BigIntImpl.one; - while ((dart.notNull(xDigits[$_get](0)) & 1) === 0 && (dart.notNull(yDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(xDigits, xUsed, 1, xDigits); - core._BigIntImpl._rsh(yDigits, yUsed, 1, yDigits); - shiftAmount = shiftAmount + 1; - } - if (shiftAmount >= 16) { - let digitShiftAmount = (shiftAmount / 16)[$truncate](); - xUsed = dart.notNull(xUsed) - digitShiftAmount; - yUsed = dart.notNull(yUsed) - digitShiftAmount; - maxUsed = dart.notNull(maxUsed) - digitShiftAmount; - } - if ((dart.notNull(yDigits[$_get](0)) & 1) === 1) { - let tmpDigits = xDigits; - let tmpUsed = xUsed; - xDigits = yDigits; - xUsed = yUsed; - yDigits = tmpDigits; - yUsed = tmpUsed; - } - } - let uDigits = core._BigIntImpl._cloneDigits(xDigits, 0, xUsed, unshiftedMaxUsed); - let vDigits = core._BigIntImpl._cloneDigits(yDigits, 0, yUsed, dart.notNull(unshiftedMaxUsed) + 2); - let ac = (dart.notNull(xDigits[$_get](0)) & 1) === 0; - let abcdUsed = dart.notNull(maxUsed) + 1; - let abcdLen = abcdUsed + 2; - let aDigits = core._dummyList; - let aIsNegative = false; - let cDigits = core._dummyList; - let cIsNegative = false; - if (ac) { - aDigits = _native_typed_data.NativeUint16List.new(abcdLen); - aDigits[$_set](0, 1); - cDigits = _native_typed_data.NativeUint16List.new(abcdLen); - } - let bDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let bIsNegative = false; - let dDigits = _native_typed_data.NativeUint16List.new(abcdLen); - let dIsNegative = false; - dDigits[$_set](0, 1); - while (true) { - while ((dart.notNull(uDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(uDigits, maxUsed, 1, uDigits); - if (ac) { - if ((dart.notNull(aDigits[$_get](0)) & 1) === 1 || (dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (aIsNegative) { - if (aDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(aDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); - aIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); - } - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(aDigits, abcdUsed, 1, aDigits); - } else if ((dart.notNull(bDigits[$_get](0)) & 1) === 1) { - if (bIsNegative) { - core._BigIntImpl._absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else if (bDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(bDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); - bIsNegative = true; - } - } - core._BigIntImpl._rsh(bDigits, abcdUsed, 1, bDigits); - } - while ((dart.notNull(vDigits[$_get](0)) & 1) === 0) { - core._BigIntImpl._rsh(vDigits, maxUsed, 1, vDigits); - if (ac) { - if ((dart.notNull(cDigits[$_get](0)) & 1) === 1 || (dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (cIsNegative) { - if (cDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(cDigits, maxUsed, yDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } else { - core._BigIntImpl._absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); - cIsNegative = false; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); - } - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(cDigits, abcdUsed, 1, cDigits); - } else if ((dart.notNull(dDigits[$_get](0)) & 1) === 1) { - if (dIsNegative) { - core._BigIntImpl._absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else if (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } else { - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = true; - } - } - core._BigIntImpl._rsh(dDigits, abcdUsed, 1, dDigits); - } - if (dart.notNull(core._BigIntImpl._compareDigits(uDigits, maxUsed, vDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); - if (ac) { - if (aIsNegative === cIsNegative) { - let a_cmp_c = core._BigIntImpl._compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); - if (dart.notNull(a_cmp_c) > 0) { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } else { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); - aIsNegative = !aIsNegative && a_cmp_c !== 0; - } - } else { - core._BigIntImpl._absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); - } - } - if (bIsNegative === dIsNegative) { - let b_cmp_d = core._BigIntImpl._compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); - if (dart.notNull(b_cmp_d) > 0) { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } else { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); - bIsNegative = !bIsNegative && b_cmp_d !== 0; - } - } else { - core._BigIntImpl._absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); - } - } else { - core._BigIntImpl._absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); - if (ac) { - if (cIsNegative === aIsNegative) { - let c_cmp_a = core._BigIntImpl._compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); - if (dart.notNull(c_cmp_a) > 0) { - core._BigIntImpl._absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } else { - core._BigIntImpl._absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); - cIsNegative = !cIsNegative && c_cmp_a !== 0; - } - } else { - core._BigIntImpl._absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); - } - } - if (dIsNegative === bIsNegative) { - let d_cmp_b = core._BigIntImpl._compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); - if (dart.notNull(d_cmp_b) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } else { - core._BigIntImpl._absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); - dIsNegative = !dIsNegative && d_cmp_b !== 0; - } - } else { - core._BigIntImpl._absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); - } - } - let i = maxUsed; - while (dart.notNull(i) > 0 && uDigits[$_get](dart.notNull(i) - 1) === 0) - i = dart.notNull(i) - 1; - if (i === 0) break; - } - if (!dart.test(inv)) { - if (shiftAmount > 0) { - maxUsed = core._BigIntImpl._lShiftDigits(vDigits, maxUsed, shiftAmount, vDigits); - } - return new core._BigIntImpl.__(false, maxUsed, vDigits); - } - let i = dart.notNull(maxUsed) - 1; - while (i > 0 && vDigits[$_get](i) === 0) - i = i - 1; - if (i !== 0 || vDigits[$_get](0) !== 1) { - dart.throw(core.Exception.new("Not coprime")); - } - if (dIsNegative) { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) > 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - core._BigIntImpl._absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); - dIsNegative = false; - } else { - while (dDigits[$_get](maxUsed) !== 0 || dart.notNull(core._BigIntImpl._compareDigits(dDigits, maxUsed, xDigits, maxUsed)) >= 0) { - core._BigIntImpl._absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); - } - } - return new core._BigIntImpl.__(false, maxUsed, dDigits); - } - modInverse(modulus) { - core._BigIntImpl.as(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))); - } - if (dart.equals(modulus, core._BigIntImpl.one)) return core._BigIntImpl.zero; - let tmp = this; - if (dart.test(tmp[_isNegative]) || dart.notNull(tmp[_absCompare](modulus)) >= 0) { - tmp = tmp['%'](modulus); - } - return core._BigIntImpl._binaryGcd(modulus, tmp, true); - } - gcd(other) { - core._BigIntImpl.as(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], 2758, 30, "width"); - return this['&'](core._BigIntImpl.one['<<'](width)['-'](core._BigIntImpl.one)); - } - toSigned(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)); - } - get isValidInt() { - if (dart.notNull(this[_used$]) <= 3) return true; - let asInt = this.toInt(); - if (!asInt[$toDouble]()[$isFinite]) return false; - return this._equals(core._BigIntImpl._fromInt(asInt)); - } - toInt() { - let result = 0; - for (let i = dart.notNull(this[_used$]) - 1; i >= 0; i = i - 1) { - result = result * 65536 + dart.notNull(this[_digits$][$_get](i)); - } - return dart.test(this[_isNegative]) ? -result : result; - } - toDouble() { - 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]; - if (length > 971 + 53) { - return dart.test(this[_isNegative]) ? -1 / 0 : 1 / 0; - } - if (dart.test(this[_isNegative])) resultBits[$_set](7, 128); - let biasedExponent = length - 53 + 1075; - resultBits[$_set](6, (biasedExponent & 15) << 4); - 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], 2859, 22, "n"); - while (cachedBitsLength < dart.notNull(n)) { - let nextDigit = null; - let nextDigitLength = 16; - if (digitIndex < 0) { - nextDigit = 0; - digitIndex = digitIndex - 1; - } else { - nextDigit = this[_digits$][$_get](digitIndex); - if (digitIndex === dart.notNull(this[_used$]) - 1) nextDigitLength = nextDigit[$bitLength]; - digitIndex = digitIndex - 1; - } - cachedBits = cachedBits[$leftShift](nextDigitLength) + dart.notNull(nextDigit); - cachedBitsLength = cachedBitsLength + nextDigitLength; - } - let result = cachedBits[$rightShift](cachedBitsLength - dart.notNull(n)); - cachedBits = cachedBits - result[$leftShift](cachedBitsLength - dart.notNull(n)); - cachedBitsLength = cachedBitsLength - dart.notNull(n); - return result; - }; - dart.fn(readBits, T$0.intToint()); - let leadingBits = dart.notNull(readBits(5)) & 15; - 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)); - } - function roundUp() { - let carry = 1; - for (let i = 0; i < 8; i = i + 1) { - if (carry === 0) break; - let sum = dart.notNull(resultBits[$_get](i)) + carry; - resultBits[$_set](i, sum & 255); - carry = sum[$rightShift](8); - } - } - dart.fn(roundUp, T$.VoidTovoid()); - if (readBits(1) === 1) { - if (resultBits[$_get](0)[$isOdd]) { - roundUp(); - } else { - if (cachedBits !== 0) { - roundUp(); - } else { - for (let i = digitIndex; i >= 0; i = i - 1) { - if (this[_digits$][$_get](i) !== 0) { - roundUp(); - break; - } - } - } - } - } - return resultBits[$buffer][$asByteData]()[$getFloat64](0, typed_data.Endian.little); - } - toString() { - if (this[_used$] === 0) return "0"; - if (this[_used$] === 1) { - if (dart.test(this[_isNegative])) return (-dart.notNull(this[_digits$][$_get](0)))[$toString](); - return dart.toString(this[_digits$][$_get](0)); - } - let decimalDigitChunks = T$.JSArrayOfString().of([]); - let rest = dart.test(this.isNegative) ? this._negate() : this; - while (dart.notNull(rest[_used$]) > 1) { - let digits4 = dart.toString(rest.remainder(core._BigIntImpl._bigInt10000)); - decimalDigitChunks[$add](digits4); - if (digits4.length === 1) decimalDigitChunks[$add]("000"); - if (digits4.length === 2) decimalDigitChunks[$add]("00"); - if (digits4.length === 3) decimalDigitChunks[$add]("0"); - rest = rest['~/'](core._BigIntImpl._bigInt10000); - } - decimalDigitChunks[$add](dart.toString(rest[_digits$][$_get](0))); - if (dart.test(this[_isNegative])) decimalDigitChunks[$add]("-"); - return decimalDigitChunks[$reversed][$join](); - } - [_toRadixCodeUnit](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], 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); - if (dart.test(this[_isNegative])) return "-" + digitString; - return digitString; - } - if (radix === 16) return this[_toHexString](); - let base = core._BigIntImpl._fromInt(radix); - let reversedDigitCodeUnits = T$.JSArrayOfint().of([]); - let rest = this.abs(); - while (!dart.test(rest[_isZero])) { - let digit = rest.remainder(base).toInt(); - rest = rest['~/'](base); - reversedDigitCodeUnits[$add](this[_toRadixCodeUnit](digit)); - } - let digitString = core.String.fromCharCodes(reversedDigitCodeUnits[$reversed]); - if (dart.test(this[_isNegative])) return "-" + dart.notNull(digitString); - return digitString; - } - [_toHexString]() { - let chars = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_used$]) - 1; i = i + 1) { - let chunk = this[_digits$][$_get](i); - for (let j = 0; j < (16 / 4)[$truncate](); j = j + 1) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(chunk) & 15)); - chunk = chunk[$rightShift](4); - } - } - let msbChunk = this[_digits$][$_get](dart.notNull(this[_used$]) - 1); - while (msbChunk !== 0) { - chars[$add](this[_toRadixCodeUnit](dart.notNull(msbChunk) & 15)); - msbChunk = msbChunk[$rightShift](4); - } - if (dart.test(this[_isNegative])) { - chars[$add](45); - } - return core.String.fromCharCodes(chars[$reversed]); - } -}; -(core._BigIntImpl.__ = function(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"); - 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], 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; - ; -}).prototype = core._BigIntImpl.prototype; -dart.addTypeTests(core._BigIntImpl); -dart.addTypeCaches(core._BigIntImpl); -core._BigIntImpl[dart.implements] = () => [core.BigInt]; -dart.setMethodSignature(core._BigIntImpl, () => ({ - __proto__: dart.getMethods(core._BigIntImpl.__proto__), - _negate: dart.fnType(core._BigIntImpl, []), - abs: dart.fnType(core._BigIntImpl, []), - [_dlShift]: dart.fnType(core._BigIntImpl, [core.int]), - [_drShift]: dart.fnType(core._BigIntImpl, [core.int]), - '<<': dart.fnType(core._BigIntImpl, [core.int]), - '>>': dart.fnType(core._BigIntImpl, [core.int]), - [_absCompare]: dart.fnType(core.int, [core._BigIntImpl]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - [_absAddSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absSubSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absAndNotSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absOrSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - [_absXorSetSign]: dart.fnType(core._BigIntImpl, [core._BigIntImpl, core.bool]), - '&': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '|': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '^': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '~': dart.fnType(core._BigIntImpl, []), - '+': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '-': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '*': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - [_div]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_rem]: dart.fnType(core._BigIntImpl, [core._BigIntImpl]), - [_divRem]: dart.fnType(dart.void, [core._BigIntImpl]), - '~/': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - remainder: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - '/': dart.fnType(core.double, [core.BigInt]), - '<': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '<=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '>=': dart.fnType(core.bool, [dart.nullable(core.Object)]), - '%': dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - pow: dart.fnType(core._BigIntImpl, [core.int]), - modPow: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object), dart.nullable(core.Object)]), - modInverse: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - gcd: dart.fnType(core._BigIntImpl, [dart.nullable(core.Object)]), - toUnsigned: dart.fnType(core._BigIntImpl, [core.int]), - toSigned: dart.fnType(core._BigIntImpl, [core.int]), - toInt: dart.fnType(core.int, []), - toDouble: dart.fnType(core.double, []), - [_toRadixCodeUnit]: dart.fnType(core.int, [core.int]), - 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, - bitLength: core.int, - sign: core.int, - isEven: core.bool, - isOdd: core.bool, - isNegative: core.bool, - isValidInt: core.bool -})); -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, { - /*core._BigIntImpl._digitBits*/get _digitBits() { - return 16; - }, - /*core._BigIntImpl._digitBase*/get _digitBase() { - return 65536; - }, - /*core._BigIntImpl._digitMask*/get _digitMask() { - return 65535; - }, - /*core._BigIntImpl.zero*/get zero() { - return core._BigIntImpl._fromInt(0); - }, - /*core._BigIntImpl.one*/get one() { - return core._BigIntImpl._fromInt(1); - }, - /*core._BigIntImpl.two*/get two() { - return core._BigIntImpl._fromInt(2); - }, - /*core._BigIntImpl._minusOne*/get _minusOne() { - return core._BigIntImpl.one._negate(); - }, - /*core._BigIntImpl._bigInt10000*/get _bigInt10000() { - return core._BigIntImpl._fromInt(10000); - }, - /*core._BigIntImpl._lastDividendDigits*/get _lastDividendDigits() { - return null; - }, - set _lastDividendDigits(value) {}, - /*core._BigIntImpl._lastDividendUsed*/get _lastDividendUsed() { - return null; - }, - set _lastDividendUsed(value) {}, - /*core._BigIntImpl._lastDivisorDigits*/get _lastDivisorDigits() { - return null; - }, - set _lastDivisorDigits(value) {}, - /*core._BigIntImpl._lastDivisorUsed*/get _lastDivisorUsed() { - return null; - }, - set _lastDivisorUsed(value) {}, - /*core._BigIntImpl._lastQuoRemDigits*/get _lastQuoRemDigits() { - return null; - }, - set _lastQuoRemDigits(value) {}, - /*core._BigIntImpl._lastQuoRemUsed*/get _lastQuoRemUsed() { - return null; - }, - set _lastQuoRemUsed(value) {}, - /*core._BigIntImpl._lastRemUsed*/get _lastRemUsed() { - return null; - }, - set _lastRemUsed(value) {}, - /*core._BigIntImpl._lastRem_nsh*/get _lastRem_nsh() { - return null; - }, - 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(value) { - if (value == null) dart.nullFailed(I[7], 1266, 17, "_parseRE"); - }, - /*core._BigIntImpl._bitsForFromDouble*/get _bitsForFromDouble() { - return _native_typed_data.NativeUint8List.new(8); - }, - /*core._BigIntImpl._simpleValidIntDigits*/get _simpleValidIntDigits() { - return 3; - } -}, false); -core._BigIntReduction = class _BigIntReduction extends core.Object {}; -(core._BigIntReduction.new = function() { - ; -}).prototype = core._BigIntReduction.prototype; -dart.addTypeTests(core._BigIntReduction); -dart.addTypeCaches(core._BigIntReduction); -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], 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], 3050, 16, "remainder._isNegative"); - remainder = remainder['+'](this[_modulus$]); - } - if (!!dart.test(remainder[_isNegative])) dart.assertFailed(null, I[7], 3053, 14, "!remainder._isNegative"); - used = remainder[_used$]; - digits = remainder[_digits$]; - } else { - used = x[_used$]; - digits = x[_digits$]; - } - let i = used; - while ((i = dart.notNull(i) - 1) >= 0) { - resultDigits[$_set](i, digits[$_get](i)); - } - return used; - } - revert(xDigits, 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], 3071, 26, "xDigits"); - if (xUsed == null) dart.nullFailed(I[7], 3071, 39, "xUsed"); - if (dart.notNull(xUsed) < dart.notNull(this[_modulus$][_used$])) { - return xUsed; - } - let reverted = this.revert(xDigits, xUsed); - let rem = reverted[_rem](this[_normalizedModulus]); - return this.convert(rem, xDigits); - } - sqr(xDigits, xUsed, 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) { - resultDigits[$_set](i, b2[_digits$][$_get](i)); - } - for (let i = b2[_used$]; dart.notNull(i) < 2 * dart.notNull(xUsed); i = dart.notNull(i) + 1) { - resultDigits[$_set](i, 0); - } - return this[_reduce](resultDigits, 2 * dart.notNull(xUsed)); - } - mul(xDigits, xUsed, yDigits, yUsed, 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], 3039, 23, "_modulus"); - this[_modulus$] = _modulus; - this[_normalizedModulus] = _modulus['<<'](16 - _modulus[_digits$][$_get](dart.notNull(_modulus[_used$]) - 1)[$bitLength]); - ; -}).prototype = core._BigIntClassic.prototype; -dart.addTypeTests(core._BigIntClassic); -dart.addTypeCaches(core._BigIntClassic); -core._BigIntClassic[dart.implements] = () => [core._BigIntReduction]; -dart.setMethodSignature(core._BigIntClassic, () => ({ - __proto__: dart.getMethods(core._BigIntClassic.__proto__), - convert: dart.fnType(core.int, [core._BigIntImpl, typed_data.Uint16List]), - revert: dart.fnType(core._BigIntImpl, [typed_data.Uint16List, core.int]), - [_reduce]: dart.fnType(core.int, [typed_data.Uint16List, core.int]), - 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[9]); -dart.setFieldSignature(core._BigIntClassic, () => ({ - __proto__: dart.getFields(core._BigIntClassic.__proto__), - [_modulus$]: dart.finalFieldType(core._BigIntImpl), - [_normalizedModulus]: dart.finalFieldType(core._BigIntImpl) -})); -var message$11 = dart.privateName(core, "Deprecated.message"); -core.Deprecated = class Deprecated extends core.Object { - get message() { - return this[message$11]; - } - 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; - } - toString() { - return "Deprecated feature: " + dart.str(this.message); - } -}; -(core.Deprecated.new = function(message) { - if (message == null) dart.nullFailed(I[164], 77, 25, "message"); - this[message$11] = message; - ; -}).prototype = core.Deprecated.prototype; -dart.addTypeTests(core.Deprecated); -dart.addTypeCaches(core.Deprecated); -dart.setGetterSignature(core.Deprecated, () => ({ - __proto__: dart.getGetters(core.Deprecated.__proto__), - expires: core.String -})); -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 { - 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[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; - ; -}).prototype = core.Provisional.prototype; -dart.addTypeTests(core.Provisional); -dart.addTypeCaches(core.Provisional); -dart.setGetterSignature(core.Provisional, () => ({ - __proto__: dart.getGetters(core.Provisional.__proto__), - message: dart.nullable(core.String) -})); -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 { - get name() { - return this[name$12]; - } - set name(value) { - super.name = value; - } - get options() { - return this[options$]; - } - 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[164], 188, 23, "name"); - this[name$12] = name; - this[options$] = options; - ; -}).prototype = core.pragma.prototype; -dart.addTypeTests(core.pragma); -dart.addTypeCaches(core.pragma); -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; - } - static get one() { - return core._BigIntImpl.one; - } - static get two() { - return core._BigIntImpl.two; - } - static parse(source, opts) { - 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], 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.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; - } - static as(o) { - if (o === true || o === false) return o; - return dart.as(o, core.bool); - } - static fromEnvironment(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"); - 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], 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[165], 103, 24, "other"); - return dart.test(other) && this; - } - [$bitOr](other) { - if (other == null) dart.nullFailed(I[165], 109, 24, "other"); - return dart.test(other) || this; - } - [$bitXor](other) { - if (other == null) dart.nullFailed(I[165], 115, 24, "other"); - return !dart.test(other) === this; - } - [$toString]() { - return this ? "true" : "false"; - } -}; -(core.bool[dart.mixinNew] = function() { -}).prototype = core.bool.prototype; -dart.addTypeCaches(core.bool); -dart.setMethodSignature(core.bool, () => ({ - __proto__: dart.getMethods(core.bool.__proto__), - [$bitAnd]: dart.fnType(core.bool, [core.bool]), - [$bitOr]: dart.fnType(core.bool, [core.bool]), - [$bitXor]: dart.fnType(core.bool, [core.bool]) -})); -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[166], 88, 33, "a"); - if (b == null) dart.nullFailed(I[166], 88, 47, "b"); - return a[$compareTo](b); - } - } - (Comparable.new = function() { - ; - }).prototype = Comparable.prototype; - dart.addTypeTests(Comparable); - Comparable.prototype[_is_Comparable_default] = true; - dart.addTypeCaches(Comparable); - dart.setStaticMethodSignature(Comparable, () => ['compare']); - dart.setLibraryUri(Comparable, I[9]); - return Comparable; -}); -core.Comparable = core.Comparable$(); -dart.addTypeTests(core.Comparable, _is_Comparable_default); -var isUtc$ = dart.privateName(core, "DateTime.isUtc"); -var _value$4 = dart.privateName(core, "_value"); -core.DateTime = class DateTime extends core.Object { - get isUtc() { - return this[isUtc$]; - } - set isUtc(value) { - super.isUtc = value; - } - static _microsecondInRoundedMilliseconds(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[167], 289, 32, "formattedString"); - let re = core.DateTime._parseFormat; - let match = re.firstMatch(formattedString); - if (match != null) { - function parseIntOrZero(matched) { - if (matched == null) return 0; - return core.int.parse(matched); - } - dart.fn(parseIntOrZero, T$0.StringNToint()); - function parseMilliAndMicroseconds(matched) { - if (matched == null) return 0; - let length = matched.length; - 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; - if (i < matched.length) { - result = result + ((matched[$codeUnitAt](i) ^ 48) >>> 0); - } - } - return result; - } - dart.fn(parseMilliAndMicroseconds, T$0.StringNToint()); - let years = core.int.parse(dart.nullCheck(match._get(1))); - let month = core.int.parse(dart.nullCheck(match._get(2))); - let day = core.int.parse(dart.nullCheck(match._get(3))); - let hour = parseIntOrZero(match._get(4)); - let minute = parseIntOrZero(match._get(5)); - let second = parseIntOrZero(match._get(6)); - let milliAndMicroseconds = parseMilliAndMicroseconds(match._get(7)); - let millisecond = (dart.notNull(milliAndMicroseconds) / 1000)[$truncate](); - let microsecond = milliAndMicroseconds[$remainder](1000); - let isUtc = false; - if (match._get(8) != null) { - isUtc = true; - let tzSign = match._get(9); - if (tzSign != null) { - let sign = tzSign === "-" ? -1 : 1; - let hourDifference = core.int.parse(dart.nullCheck(match._get(10))); - let minuteDifference = parseIntOrZero(match._get(11)); - minuteDifference = dart.notNull(minuteDifference) + 60 * dart.notNull(hourDifference); - minute = dart.notNull(minute) - sign * dart.notNull(minuteDifference); - } - } - let value = core.DateTime._brokenDownDateToValue(years, month, day, hour, minute, second, millisecond, microsecond, isUtc); - if (value == null) { - dart.throw(new core.FormatException.new("Time out of range", formattedString)); - } - return new core.DateTime._withValue(value, {isUtc: isUtc}); - } else { - dart.throw(new core.FormatException.new("Invalid date format", formattedString)); - } - } - static tryParse(formattedString) { - if (formattedString == null) dart.nullFailed(I[167], 355, 36, "formattedString"); - try { - return core.DateTime.parse(formattedString); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - 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], 497, 26, "other"); - return dart.notNull(this[_value$4]) < dart.notNull(other.millisecondsSinceEpoch); - } - isAfter(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], 503, 34, "other"); - return this[_value$4] == other.millisecondsSinceEpoch; - } - compareTo(other) { - if (other == null) dart.nullFailed(I[7], 507, 26, "other"); - return this[_value$4][$compareTo](other.millisecondsSinceEpoch); - } - get hashCode() { - return (dart.notNull(this[_value$4]) ^ this[_value$4][$rightShift](30)) & 1073741823; - } - toLocal() { - if (dart.test(this.isUtc)) { - return new core.DateTime._withValue(this[_value$4], {isUtc: false}); - } - return this; - } - toUtc() { - if (dart.test(this.isUtc)) return this; - return new core.DateTime._withValue(this[_value$4], {isUtc: true}); - } - static _fourDigits(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); - if (absN >= 100) return sign + "0" + dart.str(absN); - if (absN >= 10) return sign + "00" + dart.str(absN); - return sign + "000" + dart.str(absN); - } - static _sixDigits(n) { - 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[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[167], 563, 32, "n"); - if (dart.notNull(n) >= 10) return dart.str(n); - return "0" + dart.str(n); - } - toString() { - let y = core.DateTime._fourDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + " " + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - toIso8601String() { - let y = dart.notNull(this.year) >= -9999 && dart.notNull(this.year) <= 9999 ? core.DateTime._fourDigits(this.year) : core.DateTime._sixDigits(this.year); - let m = core.DateTime._twoDigits(this.month); - let d = core.DateTime._twoDigits(this.day); - let h = core.DateTime._twoDigits(this.hour); - let min = core.DateTime._twoDigits(this.minute); - let sec = core.DateTime._twoDigits(this.second); - let ms = core.DateTime._threeDigits(this.millisecond); - let us = this.microsecond === 0 ? "" : core.DateTime._threeDigits(this.microsecond); - if (dart.test(this.isUtc)) { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us) + "Z"; - } else { - return dart.str(y) + "-" + dart.str(m) + "-" + dart.str(d) + "T" + dart.str(h) + ":" + dart.str(min) + ":" + dart.str(sec) + "." + dart.str(ms) + dart.str(us); - } - } - add(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], 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], 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], 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() { - return this[_value$4]; - } - get microsecondsSinceEpoch() { - return dart.notNull(this[_value$4]) * 1000; - } - get timeZoneName() { - if (dart.test(this.isUtc)) return "UTC"; - return _js_helper.Primitives.getTimeZoneName(this); - } - get timeZoneOffset() { - if (dart.test(this.isUtc)) return core.Duration.zero; - return new core.Duration.new({minutes: _js_helper.Primitives.getTimeZoneOffsetInMinutes(this)}); - } - get year() { - return _js_helper.Primitives.getYear(this); - } - get month() { - return _js_helper.Primitives.getMonth(this); - } - get day() { - return _js_helper.Primitives.getDay(this); - } - get hour() { - return _js_helper.Primitives.getHours(this); - } - get minute() { - return _js_helper.Primitives.getMinutes(this); - } - get second() { - return _js_helper.Primitives.getSeconds(this); - } - get millisecond() { - return _js_helper.Primitives.getMilliseconds(this); - } - get microsecond() { - return 0; - } - get weekday() { - return _js_helper.Primitives.getWeekday(this); - } -}; -(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[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[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], 379, 43, "millisecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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], 384, 43, "microsecondsSinceEpoch"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : false; - 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[167], 401, 28, "_value"); - let isUtc = opts && 'isUtc' in opts ? opts.isUtc : null; - 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) { - dart.throw(new core.ArgumentError.new("DateTime is outside valid range: " + dart.str(this.millisecondsSinceEpoch))); - } - _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], 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))); - ; -}).prototype = core.DateTime.prototype; -(core.DateTime._now = function() { - this[isUtc$] = false; - this[_value$4] = _js_helper.Primitives.dateNow(); - ; -}).prototype = core.DateTime.prototype; -dart.addTypeTests(core.DateTime); -dart.addTypeCaches(core.DateTime); -core.DateTime[dart.implements] = () => [core.Comparable$(core.DateTime)]; -dart.setMethodSignature(core.DateTime, () => ({ - __proto__: dart.getMethods(core.DateTime.__proto__), - isBefore: dart.fnType(core.bool, [core.DateTime]), - isAfter: dart.fnType(core.bool, [core.DateTime]), - isAtSameMomentAs: dart.fnType(core.bool, [core.DateTime]), - compareTo: dart.fnType(core.int, [core.DateTime]), - [$compareTo]: dart.fnType(core.int, [core.DateTime]), - toLocal: dart.fnType(core.DateTime, []), - toUtc: dart.fnType(core.DateTime, []), - toIso8601String: dart.fnType(core.String, []), - add: dart.fnType(core.DateTime, [core.Duration]), - 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, - microsecondsSinceEpoch: core.int, - timeZoneName: core.String, - timeZoneOffset: core.Duration, - year: core.int, - month: core.int, - day: core.int, - hour: core.int, - minute: core.int, - second: core.int, - millisecond: core.int, - microsecond: core.int, - weekday: core.int -})); -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, { - /*core.DateTime.monday*/get monday() { - return 1; - }, - /*core.DateTime.tuesday*/get tuesday() { - return 2; - }, - /*core.DateTime.wednesday*/get wednesday() { - return 3; - }, - /*core.DateTime.thursday*/get thursday() { - return 4; - }, - /*core.DateTime.friday*/get friday() { - return 5; - }, - /*core.DateTime.saturday*/get saturday() { - return 6; - }, - /*core.DateTime.sunday*/get sunday() { - return 7; - }, - /*core.DateTime.daysPerWeek*/get daysPerWeek() { - return 7; - }, - /*core.DateTime.january*/get january() { - return 1; - }, - /*core.DateTime.february*/get february() { - return 2; - }, - /*core.DateTime.march*/get march() { - return 3; - }, - /*core.DateTime.april*/get april() { - return 4; - }, - /*core.DateTime.may*/get may() { - return 5; - }, - /*core.DateTime.june*/get june() { - return 6; - }, - /*core.DateTime.july*/get july() { - return 7; - }, - /*core.DateTime.august*/get august() { - return 8; - }, - /*core.DateTime.september*/get september() { - return 9; - }, - /*core.DateTime.october*/get october() { - return 10; - }, - /*core.DateTime.november*/get november() { - return 11; - }, - /*core.DateTime.december*/get december() { - return 12; - }, - /*core.DateTime.monthsPerYear*/get monthsPerYear() { - return 12; - }, - /*core.DateTime._maxMillisecondsSinceEpoch*/get _maxMillisecondsSinceEpoch() { - return 8640000000000000.0; - }, - /*core.DateTime._parseFormat*/get _parseFormat() { - return core.RegExp.new("^([+-]?\\d{4,6})-?(\\d\\d)-?(\\d\\d)" + "(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d+))?)?)?" + "( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$"); - } -}, false); -var _duration$ = dart.privateName(core, "Duration._duration"); -var _duration = dart.privateName(core, "_duration"); -core.Duration = class Duration extends core.Object { - get [_duration]() { - return this[_duration$]; - } - 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[168], 193, 32, "other"); - return new core.Duration._microseconds(dart.notNull(this[_duration]) + dart.notNull(other[_duration])); - } - ['-'](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[168], 208, 27, "factor"); - return new core.Duration._microseconds((dart.notNull(this[_duration]) * dart.notNull(factor))[$round]()); - } - ['~/'](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[168], 224, 28, "other"); - return dart.notNull(this[_duration]) < dart.notNull(other[_duration]); - } - ['>'](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[168], 230, 29, "other"); - return dart.notNull(this[_duration]) <= dart.notNull(other[_duration]); - } - ['>='](other) { - if (other == null) dart.nullFailed(I[168], 233, 29, "other"); - return dart.notNull(this[_duration]) >= dart.notNull(other[_duration]); - } - get inDays() { - return (dart.notNull(this[_duration]) / 86400000000.0)[$truncate](); - } - get inHours() { - return (dart.notNull(this[_duration]) / 3600000000.0)[$truncate](); - } - get inMinutes() { - return (dart.notNull(this[_duration]) / 60000000)[$truncate](); - } - get inSeconds() { - return (dart.notNull(this[_duration]) / 1000000)[$truncate](); - } - get inMilliseconds() { - return (dart.notNull(this[_duration]) / 1000)[$truncate](); - } - get inMicroseconds() { - return this[_duration]; - } - _equals(other) { - if (other == null) return false; - return core.Duration.is(other) && this[_duration] == other.inMicroseconds; - } - get hashCode() { - return dart.hashCode(this[_duration]); - } - compareTo(other) { - core.Duration.as(other); - if (other == null) dart.nullFailed(I[168], 319, 26, "other"); - return this[_duration][$compareTo](other[_duration]); - } - toString() { - 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; - } - abs() { - return new core.Duration._microseconds(this[_duration][$abs]()); - } - _negate() { - return new core.Duration._microseconds(0 - dart.notNull(this[_duration])); - } -}; -(core.Duration.new = function(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"); - 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[168], 189, 37, "_duration"); - this[_duration$] = _duration; - ; -}).prototype = core.Duration.prototype; -dart.addTypeTests(core.Duration); -dart.addTypeCaches(core.Duration); -core.Duration[dart.implements] = () => [core.Comparable$(core.Duration)]; -dart.setMethodSignature(core.Duration, () => ({ - __proto__: dart.getMethods(core.Duration.__proto__), - '+': dart.fnType(core.Duration, [core.Duration]), - '-': dart.fnType(core.Duration, [core.Duration]), - '*': dart.fnType(core.Duration, [core.num]), - '~/': dart.fnType(core.Duration, [core.int]), - '<': dart.fnType(core.bool, [core.Duration]), - '>': dart.fnType(core.bool, [core.Duration]), - '<=': dart.fnType(core.bool, [core.Duration]), - '>=': dart.fnType(core.bool, [core.Duration]), - compareTo: dart.fnType(core.int, [dart.nullable(core.Object)]), - [$compareTo]: dart.fnType(core.int, [dart.nullable(core.Object)]), - abs: dart.fnType(core.Duration, []), - _negate: dart.fnType(core.Duration, []) -})); -dart.setGetterSignature(core.Duration, () => ({ - __proto__: dart.getGetters(core.Duration.__proto__), - inDays: core.int, - inHours: core.int, - inMinutes: core.int, - inSeconds: core.int, - inMilliseconds: core.int, - inMicroseconds: core.int, - isNegative: core.bool -})); -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, { - /*core.Duration.microsecondsPerMillisecond*/get microsecondsPerMillisecond() { - return 1000; - }, - /*core.Duration.millisecondsPerSecond*/get millisecondsPerSecond() { - return 1000; - }, - /*core.Duration.secondsPerMinute*/get secondsPerMinute() { - return 60; - }, - /*core.Duration.minutesPerHour*/get minutesPerHour() { - return 60; - }, - /*core.Duration.hoursPerDay*/get hoursPerDay() { - return 24; - }, - /*core.Duration.microsecondsPerSecond*/get microsecondsPerSecond() { - return 1000000; - }, - /*core.Duration.microsecondsPerMinute*/get microsecondsPerMinute() { - return 60000000; - }, - /*core.Duration.microsecondsPerHour*/get microsecondsPerHour() { - return 3600000000.0; - }, - /*core.Duration.microsecondsPerDay*/get microsecondsPerDay() { - return 86400000000.0; - }, - /*core.Duration.millisecondsPerMinute*/get millisecondsPerMinute() { - return 60000; - }, - /*core.Duration.millisecondsPerHour*/get millisecondsPerHour() { - return 3600000; - }, - /*core.Duration.millisecondsPerDay*/get millisecondsPerDay() { - return 86400000; - }, - /*core.Duration.secondsPerHour*/get secondsPerHour() { - return 3600; - }, - /*core.Duration.secondsPerDay*/get secondsPerDay() { - return 86400; - }, - /*core.Duration.minutesPerDay*/get minutesPerDay() { - return 1440; - }, - /*core.Duration.zero*/get zero() { - return C[431] || CT.C431; - } -}, false); -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[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[9]); -core.NullThrownError = class NullThrownError extends core.Error { - static ['_#new#tearOff']() { - return new core.NullThrownError.new(); - } - toString() { - return "Throw of null."; - } -}; -(core.NullThrownError.new = function() { - core.NullThrownError.__proto__.new.call(this); - ; -}).prototype = core.NullThrownError.prototype; -dart.addTypeTests(core.NullThrownError); -dart.addTypeCaches(core.NullThrownError); -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"); -var message$12 = dart.privateName(core, "ArgumentError.message"); -core.ArgumentError = class ArgumentError extends core.Error { - get invalidValue() { - return this[invalidValue]; - } - set invalidValue(value) { - super.invalidValue = value; - } - get name() { - return this[name$13]; - } - set name(value) { - super.name = value; - } - get message() { - return this[message$12]; - } - 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) { - 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)" : ""); - } - get [_errorExplanation$]() { - return ""; - } - toString() { - let name = this[$name]; - let nameString = name == null ? "" : " (" + dart.str(name) + ")"; - let message = this[$message]; - let messageString = message == null ? "" : ": " + dart.str(message); - let prefix = dart.str(this[_errorName$]) + nameString + messageString; - if (!dart.test(this[_hasValue$])) return prefix; - let explanation = this[_errorExplanation$]; - let errorValue = core.Error.safeToString(this[$invalidValue]); - return prefix + dart.str(explanation) + ": " + dart.str(errorValue); - } -}; -(core.ArgumentError.new = function(message = null, name = null) { - this[message$12] = message; - this[name$13] = name; - this[invalidValue] = null; - this[_hasValue$] = false; - core.ArgumentError.__proto__.new.call(this); - ; -}).prototype = core.ArgumentError.prototype; -(core.ArgumentError.value = function(value, name = null, message = null) { - this[name$13] = name; - this[message$12] = message; - this[invalidValue] = value; - this[_hasValue$] = true; - core.ArgumentError.__proto__.new.call(this); - ; -}).prototype = core.ArgumentError.prototype; -(core.ArgumentError.notNull = function(name = null) { - this[name$13] = name; - this[_hasValue$] = false; - this[message$12] = "Must not be null"; - this[invalidValue] = null; - core.ArgumentError.__proto__.new.call(this); - ; -}).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[9]); -dart.setFieldSignature(core.ArgumentError, () => ({ - __proto__: dart.getFields(core.ArgumentError.__proto__), - [_hasValue$]: dart.finalFieldType(core.bool), - invalidValue: dart.finalFieldType(dart.dynamic), - name: dart.finalFieldType(dart.nullable(core.String)), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(core.ArgumentError, ['toString']); -dart.defineExtensionAccessors(core.ArgumentError, ['invalidValue', 'name', 'message']); -var start = dart.privateName(core, "RangeError.start"); -var end = dart.privateName(core, "RangeError.end"); -core.RangeError = class RangeError extends core.ArgumentError { - get start() { - return this[start]; - } - set start(value) { - super.start = value; - } - get end() { - return this[end]; - } - 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[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[28], 347, 34, "index"); - length == null ? length = core.int.as(dart.dload(indexable, 'length')) : null; - 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[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)); - } - if (end != null) { - if (dart.notNull(start) > dart.notNull(end) || dart.notNull(end) > dart.notNull(length)) { - endName == null ? endName = "end" : null; - dart.throw(new core.RangeError.range(end, start, length, endName, message)); - } - return end; - } - return length; - } - static checkNotNegative(value, name = null, message = null) { - 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, (t230 = name, t230 == null ? "index" : t230), message)); - } - return value; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - if (!dart.test(this[_hasValue$])) dart.assertFailed(null, I[28], 404, 12, "_hasValue"); - let explanation = ""; - let start = this.start; - let end = this.end; - if (start == null) { - if (end != null) { - explanation = ": Not less than or equal to " + dart.str(end); - } - } else if (end == null) { - explanation = ": Not greater than or equal to " + dart.str(start); - } else if (dart.notNull(end) > dart.notNull(start)) { - explanation = ": Not in inclusive range " + dart.str(start) + ".." + dart.str(end); - } else if (dart.notNull(end) < dart.notNull(start)) { - explanation = ": Valid value range is empty"; - } else { - explanation = ": Only valid value is " + dart.str(start); - } - return explanation; - } -}; -(core.RangeError.new = function(message) { - this[start] = null; - this[end] = null; - core.RangeError.__proto__.new.call(this, message); - ; -}).prototype = core.RangeError.prototype; -(core.RangeError.value = function(value, name = null, message = null) { - 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, (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 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, (t230 = message, t230 == null ? "Invalid value" : t230)); - ; -}).prototype = core.RangeError.prototype; -dart.addTypeTests(core.RangeError); -dart.addTypeCaches(core.RangeError); -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 { - get indexable() { - return this[indexable$]; - } - set indexable(value) { - super.indexable = value; - } - get length() { - return this[length$]; - } - 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; - } - get end() { - return dart.notNull(this.length) - 1; - } - get [_errorName$]() { - return "RangeError"; - } - get [_errorExplanation$]() { - 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"; - } - if (this.length === 0) { - return ": no indices are valid"; - } - return ": index should be less than " + dart.str(this.length); - } -}; -(core.IndexError.new = function(invalidValue, indexable, name = null, message = null, length = null) { - 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; - 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[9]); -dart.setFieldSignature(core.IndexError, () => ({ - __proto__: dart.getFields(core.IndexError.__proto__), - 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[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[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 = ""; - let $arguments = this[_arguments$]; - if ($arguments != null) { - for (let argument of $arguments) { - sb.write(comma); - sb.write(core.Error.safeToString(argument)); - comma = ", "; - } - } - let namedArguments = this[_namedArguments$]; - if (namedArguments != null) { - namedArguments[$forEach](dart.fn((key, value) => { - if (key == null) dart.nullFailed(I[7], 891, 38, "key"); - sb.write(comma); - sb.write(core._symbolToString(key)); - sb.write(": "); - sb.write(core.Error.safeToString(value)); - comma = ", "; - }, T$0.SymbolAnddynamicTovoid())); - } - let memberName = core._symbolToString(this[_memberName$]); - let receiverText = core.Error.safeToString(this[_receiver$]); - let actualParameters = dart.str(sb); - let invocation = this[_invocation$]; - let failureMessage = dart.InvocationImpl.is(invocation) ? invocation.failureMessage : "method not found"; - return "NoSuchMethodError: '" + dart.str(memberName) + "'\n" + dart.str(failureMessage) + "\n" + "Receiver: " + dart.str(receiverText) + "\n" + "Arguments: [" + actualParameters + "]"; - } -}; -(core.NoSuchMethodError._withInvocation = function(_receiver, invocation) { - if (invocation == null) dart.nullFailed(I[7], 871, 64, "invocation"); - this[_receiver$] = _receiver; - this[_memberName$] = invocation.memberName; - this[_arguments$] = invocation.positionalArguments; - this[_namedArguments$] = invocation.namedArguments; - this[_invocation$] = invocation; - core.NoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = core.NoSuchMethodError.prototype; -(core.NoSuchMethodError.new = function(receiver, memberName, positionalArguments, namedArguments) { - if (memberName == null) dart.nullFailed(I[7], 858, 46, "memberName"); - this[_receiver$] = receiver; - this[_memberName$] = memberName; - this[_arguments$] = positionalArguments; - this[_namedArguments$] = namedArguments; - this[_invocation$] = null; - core.NoSuchMethodError.__proto__.new.call(this); - ; -}).prototype = core.NoSuchMethodError.prototype; -dart.addTypeTests(core.NoSuchMethodError); -dart.addTypeCaches(core.NoSuchMethodError); -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)), - [_memberName$]: dart.finalFieldType(core.Symbol), - [_arguments$]: dart.finalFieldType(dart.nullable(core.List)), - [_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 { - get message() { - return this[message$13]; - } - 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[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[9]); -dart.setFieldSignature(core.UnsupportedError, () => ({ - __proto__: dart.getFields(core.UnsupportedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.UnsupportedError, ['toString']); -var message$14 = dart.privateName(core, "UnimplementedError.message"); -core.UnimplementedError = class UnimplementedError extends core.Error { - get message() { - return this[message$14]; - } - 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"; - } -}; -(core.UnimplementedError.new = function(message = null) { - this[message$14] = message; - core.UnimplementedError.__proto__.new.call(this); - ; -}).prototype = core.UnimplementedError.prototype; -dart.addTypeTests(core.UnimplementedError); -dart.addTypeCaches(core.UnimplementedError); -core.UnimplementedError[dart.implements] = () => [core.UnsupportedError]; -dart.setLibraryUri(core.UnimplementedError, I[9]); -dart.setFieldSignature(core.UnimplementedError, () => ({ - __proto__: dart.getFields(core.UnimplementedError.__proto__), - message: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.UnimplementedError, ['toString']); -var message$15 = dart.privateName(core, "StateError.message"); -core.StateError = class StateError extends core.Error { - get message() { - return this[message$15]; - } - 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[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[9]); -dart.setFieldSignature(core.StateError, () => ({ - __proto__: dart.getFields(core.StateError.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core.StateError, ['toString']); -var modifiedObject$ = dart.privateName(core, "ConcurrentModificationError.modifiedObject"); -core.ConcurrentModificationError = class ConcurrentModificationError extends core.Error { - get modifiedObject() { - return this[modifiedObject$]; - } - 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."; - } - return "Concurrent modification during iteration: " + dart.str(core.Error.safeToString(this.modifiedObject)) + "."; - } -}; -(core.ConcurrentModificationError.new = function(modifiedObject = null) { - this[modifiedObject$] = modifiedObject; - core.ConcurrentModificationError.__proto__.new.call(this); - ; -}).prototype = core.ConcurrentModificationError.prototype; -dart.addTypeTests(core.ConcurrentModificationError); -dart.addTypeCaches(core.ConcurrentModificationError); -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"; - } - get stackTrace() { - return null; - } -}; -(core.OutOfMemoryError.new = function() { - ; -}).prototype = core.OutOfMemoryError.prototype; -dart.addTypeTests(core.OutOfMemoryError); -dart.addTypeCaches(core.OutOfMemoryError); -core.OutOfMemoryError[dart.implements] = () => [core.Error]; -dart.setGetterSignature(core.OutOfMemoryError, () => ({ - __proto__: dart.getGetters(core.OutOfMemoryError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) -})); -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"; - } - get stackTrace() { - return null; - } -}; -(core.StackOverflowError.new = function() { - ; -}).prototype = core.StackOverflowError.prototype; -dart.addTypeTests(core.StackOverflowError); -dart.addTypeCaches(core.StackOverflowError); -core.StackOverflowError[dart.implements] = () => [core.Error]; -dart.setGetterSignature(core.StackOverflowError, () => ({ - __proto__: dart.getGetters(core.StackOverflowError.__proto__), - stackTrace: dart.nullable(core.StackTrace), - [$stackTrace]: dart.nullable(core.StackTrace) -})); -dart.setLibraryUri(core.StackOverflowError, I[9]); -dart.defineExtensionMethods(core.StackOverflowError, ['toString']); -dart.defineExtensionAccessors(core.StackOverflowError, ['stackTrace']); -var variableName$ = dart.privateName(core, "CyclicInitializationError.variableName"); -core.CyclicInitializationError = class CyclicInitializationError extends core.Error { - get variableName() { - return this[variableName$]; - } - 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"; - } -}; -(core.CyclicInitializationError.new = function(variableName = null) { - this[variableName$] = variableName; - core.CyclicInitializationError.__proto__.new.call(this); - ; -}).prototype = core.CyclicInitializationError.prototype; -dart.addTypeTests(core.CyclicInitializationError); -dart.addTypeCaches(core.CyclicInitializationError); -dart.setLibraryUri(core.CyclicInitializationError, I[9]); -dart.setFieldSignature(core.CyclicInitializationError, () => ({ - __proto__: dart.getFields(core.CyclicInitializationError.__proto__), - variableName: dart.finalFieldType(dart.nullable(core.String)) -})); -dart.defineExtensionMethods(core.CyclicInitializationError, ['toString']); -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.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"; - return "Exception: " + dart.str(message); - } -}; -(core._Exception.new = function(message = null) { - this.message = message; - ; -}).prototype = core._Exception.prototype; -dart.addTypeTests(core._Exception); -dart.addTypeCaches(core._Exception); -core._Exception[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core._Exception, I[9]); -dart.setFieldSignature(core._Exception, () => ({ - __proto__: dart.getFields(core._Exception.__proto__), - message: dart.finalFieldType(dart.dynamic) -})); -dart.defineExtensionMethods(core._Exception, ['toString']); -var message$16 = dart.privateName(core, "FormatException.message"); -var source$ = dart.privateName(core, "FormatException.source"); -var offset$ = dart.privateName(core, "FormatException.offset"); -core.FormatException = class FormatException extends core.Object { - get message() { - return this[message$16]; - } - set message(value) { - super.message = value; - } - get source() { - return this[source$]; - } - set source(value) { - super.source = value; - } - get offset() { - return this[offset$]; - } - 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; - if (message != null && "" !== message) { - report = report + ": " + dart.str(message); - } - let offset = this.offset; - let source = this.source; - if (typeof source == 'string') { - if (offset != null && (dart.notNull(offset) < 0 || dart.notNull(offset) > source.length)) { - offset = null; - } - if (offset == null) { - if (source.length > 78) { - source = source[$substring](0, 75) + "..."; - } - return report + "\n" + dart.str(source); - } - let lineNum = 1; - let lineStart = 0; - let previousCharWasCR = false; - for (let i = 0; i < dart.notNull(offset); i = i + 1) { - let char = source[$codeUnitAt](i); - if (char === 10) { - if (lineStart !== i || !previousCharWasCR) { - lineNum = lineNum + 1; - } - lineStart = i + 1; - previousCharWasCR = false; - } else if (char === 13) { - lineNum = lineNum + 1; - lineStart = i + 1; - previousCharWasCR = true; - } - } - if (lineNum > 1) { - report = report + (" (at line " + dart.str(lineNum) + ", character " + dart.str(dart.notNull(offset) - lineStart + 1) + ")\n"); - } else { - report = report + (" (at character " + dart.str(dart.notNull(offset) + 1) + ")\n"); - } - let lineEnd = source.length; - for (let i = offset; dart.notNull(i) < source.length; i = dart.notNull(i) + 1) { - let char = source[$codeUnitAt](i); - if (char === 10 || char === 13) { - lineEnd = i; - break; - } - } - let length = dart.notNull(lineEnd) - lineStart; - let start = lineStart; - let end = lineEnd; - let prefix = ""; - let postfix = ""; - if (length > 78) { - let index = dart.notNull(offset) - lineStart; - if (index < 75) { - end = start + 75; - postfix = "..."; - } else if (dart.notNull(end) - dart.notNull(offset) < 75) { - start = dart.notNull(end) - 75; - prefix = "..."; - } else { - start = dart.notNull(offset) - 36; - end = dart.notNull(offset) + 36; - prefix = postfix = "..."; - } - } - let slice = source[$substring](start, end); - let markOffset = dart.notNull(offset) - start + prefix.length; - return report + prefix + slice + postfix + "\n" + " "[$times](markOffset) + "^\n"; - } else { - if (offset != null) { - report = report + (" (at offset " + dart.str(offset) + ")"); - } - return report; - } - } -}; -(core.FormatException.new = function(message = "", source = null, offset = null) { - if (message == null) dart.nullFailed(I[169], 69, 31, "message"); - this[message$16] = message; - this[source$] = source; - this[offset$] = offset; - ; -}).prototype = core.FormatException.prototype; -dart.addTypeTests(core.FormatException); -dart.addTypeCaches(core.FormatException); -core.FormatException[dart.implements] = () => [core.Exception]; -dart.setLibraryUri(core.FormatException, I[9]); -dart.setFieldSignature(core.FormatException, () => ({ - __proto__: dart.getFields(core.FormatException.__proto__), - message: dart.finalFieldType(core.String), - source: dart.finalFieldType(dart.dynamic), - offset: dart.finalFieldType(dart.nullable(core.int)) -})); -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"; - } -}; -(core.IntegerDivisionByZeroException.new = function() { - ; -}).prototype = core.IntegerDivisionByZeroException.prototype; -dart.addTypeTests(core.IntegerDivisionByZeroException); -dart.addTypeCaches(core.IntegerDivisionByZeroException); -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']); -dart.defineExtensionAccessors(core.IntegerDivisionByZeroException, ['stackTrace']); -core.Function = class Function extends core.Object { - static _toMangledNames(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], 126, 29, "symbol"); - result[$_set](core._symbolToString(symbol), value); - }, T$0.SymbolAnddynamicTovoid())); - return result; - } - static is(o) { - return typeof o == "function"; - } - static as(o) { - if (typeof o == "function") return o; - return dart.as(o, core.Function); - } - static apply($function, positionalArguments, namedArguments = 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], 115, 31, "symbol"); - map[core._symbolToString(symbol)] = arg; - }, T$0.SymbolAnddynamicTovoid())); - return dart.dcall($function, positionalArguments, map); - } - return dart.dcall($function, positionalArguments); - } -}; -(core.Function.new = function() { - ; -}).prototype = core.Function.prototype; -dart.addTypeCaches(core.Function); -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 t230; - t230 = this[_positional]; - return t230 == null ? C[434] || CT.C434 : t230; - } - get namedArguments() { - let t230; - t230 = this[_named]; - return t230 == null ? C[435] || CT.C435 : t230; - } - get isMethod() { - return this[_named] != null; - } - get isGetter() { - return this[_positional] == null; - } - get isSetter() { - return this[_positional] != null && this[_named] == null; - } - get isAccessor() { - return this[_named] == null; - } - static _ensureNonNullTypes(types) { - 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) { - dart.throw(new core.ArgumentError.value(types, "types", "Type arguments must be non-null, was null at index " + dart.str(i) + ".")); - } - } - return typeArguments; - } -}; -(core._Invocation.method = function(memberName, types, positional, named) { - if (memberName == null) dart.nullFailed(I[11], 103, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = core._Invocation._ensureNonNullTypes(types); - 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[11], 113, 27, "memberName"); - this.memberName = memberName; - 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[11], 118, 27, "memberName"); - this.memberName = memberName; - this.typeArguments = C[1] || CT.C1; - this[_positional] = T$.ListOfObjectN().unmodifiable([argument]); - this[_named] = null; - ; -}).prototype = core._Invocation.prototype; -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, - namedArguments: core.Map$(core.Symbol, dart.dynamic), - isMethod: core.bool, - isGetter: core.bool, - isSetter: core.bool, - isAccessor: core.bool -})); -dart.setLibraryUri(core._Invocation, I[9]); -dart.setFieldSignature(core._Invocation, () => ({ - __proto__: dart.getFields(core._Invocation.__proto__), - memberName: dart.finalFieldType(core.Symbol), - typeArguments: dart.finalFieldType(core.List$(core.Type)), - [_positional]: dart.finalFieldType(dart.nullable(core.List$(dart.nullable(core.Object)))), - [_named]: dart.finalFieldType(dart.nullable(core.Map$(core.Symbol, dart.nullable(core.Object)))) -})); -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 __t$intToE = () => (__t$intToE = dart.constFn(dart.fnType(E, [core.int])))(); - class _GeneratorIterable extends _internal.ListIterable$(E) { - get length() { - return this[length$0]; - } - 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 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[36], 823, 22, "n"); - return n; - } - } - (_GeneratorIterable.new = function(length, generator) { - let t230; - if (length == null) dart.nullFailed(I[36], 812, 27, "length"); - this[length$0] = length; - 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.setStaticMethodSignature(_GeneratorIterable, () => ['_id']); - dart.setLibraryUri(_GeneratorIterable, I[9]); - dart.setFieldSignature(_GeneratorIterable, () => ({ - __proto__: dart.getFields(_GeneratorIterable.__proto__), - length: dart.finalFieldType(core.int), - [_generator]: dart.finalFieldType(dart.fnType(E, [core.int])) - })); - dart.defineExtensionMethods(_GeneratorIterable, ['elementAt']); - dart.defineExtensionAccessors(_GeneratorIterable, ['length']); - return _GeneratorIterable; -}); -core._GeneratorIterable = core._GeneratorIterable$(); -dart.addTypeTests(core._GeneratorIterable, _is__GeneratorIterable_default); -const _is_BidirectionalIterator_default = Symbol('_is_BidirectionalIterator_default'); -core.BidirectionalIterator$ = dart.generic(E => { - class BidirectionalIterator extends core.Object {} - (BidirectionalIterator.new = function() { - ; - }).prototype = BidirectionalIterator.prototype; - dart.addTypeTests(BidirectionalIterator); - BidirectionalIterator.prototype[_is_BidirectionalIterator_default] = true; - dart.addTypeCaches(BidirectionalIterator); - BidirectionalIterator[dart.implements] = () => [core.Iterator$(E)]; - 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; - } - static as(o) { - if (o == null) return o; - return dart.as(o, core.Null); - } - static ['_#_uninstantiable#tearOff']() { - return core.Null._uninstantiable(); - } - get hashCode() { - return super[$hashCode]; - } - toString() { - return "null"; - } -}; -(core.Null[dart.mixinNew] = function() { -}).prototype = core.Null.prototype; -dart.addTypeCaches(core.Null); -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 {}; -(core.Pattern.new = function() { - ; -}).prototype = core.Pattern.prototype; -dart.addTypeTests(core.Pattern); -dart.addTypeCaches(core.Pattern); -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], 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 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], 769, 31, "text"); - return _js_helper.quoteStringForRegExp(text); - } -}; -(core.RegExp[dart.mixinNew] = function() { -}).prototype = core.RegExp.prototype; -dart.addTypeTests(core.RegExp); -dart.addTypeCaches(core.RegExp); -core.RegExp[dart.implements] = () => [core.Pattern]; -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[171], 102, 40, "elements"); - return new (collection.UnmodifiableSetView$(E)).new((() => { - 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[171], 128, 39, "source"); - let newSet = opts && 'newSet' in opts ? opts.newSet : null; - return new (_internal.CastSet$(S, T)).new(source, newSet); - } - } - dart.addTypeTests(Set); - Set.prototype[_is_Set_default] = true; - dart.addTypeCaches(Set); - dart.setStaticMethodSignature(Set, () => ['new', 'identity', 'from', 'of', 'unmodifiable', 'castFrom']); - dart.setLibraryUri(Set, I[9]); - dart.setStaticFieldSignature(Set, () => ['_redirecting#']); - return Set; -}); -core.Set = core.Set$(); -dart.addTypeTests(core.Set, _is_Set_default); -const _is_Sink_default = Symbol('_is_Sink_default'); -core.Sink$ = dart.generic(T => { - class Sink extends core.Object {} - (Sink.new = function() { - ; - }).prototype = Sink.prototype; - dart.addTypeTests(Sink); - Sink.prototype[_is_Sink_default] = true; - dart.addTypeCaches(Sink); - 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()); - } -}; -(core.StackTrace.new = function() { - ; -}).prototype = core.StackTrace.prototype; -dart.addTypeTests(core.StackTrace); -dart.addTypeCaches(core.StackTrace); -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[437] || CT.C437; - } -}, false); -var _stackTrace = dart.privateName(core, "_stackTrace"); -const _stackTrace$ = _StringStackTrace__stackTrace; -core._StringStackTrace = class _StringStackTrace extends core.Object { - get [_stackTrace]() { - return this[_stackTrace$]; - } - 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[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[9]); -dart.setFieldSignature(core._StringStackTrace, () => ({ - __proto__: dart.getFields(core._StringStackTrace.__proto__), - [_stackTrace]: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(core._StringStackTrace, ['toString']); -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$3] = dart.notNull(this[_start$3]) + (dart.notNull(core.Stopwatch._now()) - dart.notNull(stop)); - this[_stop] = null; - } - } - stop() { - this[_stop] == null ? this[_stop] = core.Stopwatch._now() : null; - } - reset() { - let t231; - this[_start$3] = (t231 = this[_stop], t231 == null ? core.Stopwatch._now() : t231); - } - get elapsedTicks() { - 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}); - } - get elapsedMicroseconds() { - let ticks = this.elapsedTicks; - if (core.Stopwatch._frequency === 1000000) return ticks; - 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], 535, 12, "_frequency == 1000000"); - return (dart.notNull(ticks) / 1000)[$truncate](); - } - get isRunning() { - return this[_stop] == null; - } - static _initTicker() { - _js_helper.Primitives.initTicker(); - return _js_helper.Primitives.timerFrequency; - } - static _now() { - return _js_helper.Primitives.timerTicks(); - } -}; -(core.Stopwatch.new = function() { - this[_start$3] = 0; - this[_stop] = 0; - core.Stopwatch._frequency; -}).prototype = core.Stopwatch.prototype; -dart.addTypeTests(core.Stopwatch); -dart.addTypeCaches(core.Stopwatch); -dart.setMethodSignature(core.Stopwatch, () => ({ - __proto__: dart.getMethods(core.Stopwatch.__proto__), - start: dart.fnType(dart.void, []), - 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, - elapsedTicks: core.int, - elapsed: core.Duration, - elapsedMicroseconds: core.int, - elapsedMilliseconds: core.int, - isRunning: core.bool -})); -dart.setLibraryUri(core.Stopwatch, I[9]); -dart.setFieldSignature(core.Stopwatch, () => ({ - __proto__: dart.getFields(core.Stopwatch.__proto__), - [_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(); - } -}, false); -var string$ = dart.privateName(core, "Runes.string"); -core.Runes = class Runes extends core.Iterable$(core.int) { - get string() { - return this[string$]; - } - 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); - } - get last() { - if (this.string.length === 0) { - dart.throw(new core.StateError.new("No elements.")); - } - let length = this.string.length; - let code = this.string[$codeUnitAt](length - 1); - if (dart.test(core._isTrailSurrogate(code)) && this.string.length > 1) { - let previousCode = this.string[$codeUnitAt](length - 2); - if (dart.test(core._isLeadSurrogate(previousCode))) { - return core._combineSurrogatePair(previousCode, code); - } - } - return code; - } -}; -(core.Runes.new = function(string) { - if (string == null) dart.nullFailed(I[173], 770, 14, "string"); - this[string$] = string; - core.Runes.__proto__.new.call(this); - ; -}).prototype = core.Runes.prototype; -dart.addTypeTests(core.Runes); -dart.addTypeCaches(core.Runes); -dart.setGetterSignature(core.Runes, () => ({ - __proto__: dart.getGetters(core.Runes.__proto__), - iterator: core.RuneIterator, - [$iterator]: core.RuneIterator -})); -dart.setLibraryUri(core.Runes, I[9]); -dart.setFieldSignature(core.Runes, () => ({ - __proto__: dart.getFields(core.Runes.__proto__), - string: dart.finalFieldType(core.String) -})); -dart.defineExtensionAccessors(core.Runes, ['iterator', 'last']); -var string$0 = dart.privateName(core, "RuneIterator.string"); -var _currentCodePoint = dart.privateName(core, "_currentCodePoint"); -var _position$0 = dart.privateName(core, "_position"); -var _nextPosition = dart.privateName(core, "_nextPosition"); -var _checkSplitSurrogate = dart.privateName(core, "_checkSplitSurrogate"); -core.RuneIterator = class RuneIterator extends core.Object { - get string() { - return this[string$0]; - } - 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[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))); - } - } - get rawIndex() { - return this[_position$0] != this[_nextPosition] ? this[_position$0] : -1; - } - set rawIndex(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[173], 879, 19, "rawIndex"); - core.RangeError.checkValueInInterval(rawIndex, 0, this.string.length, "rawIndex"); - this[_checkSplitSurrogate](rawIndex); - this[_position$0] = this[_nextPosition] = rawIndex; - this[_currentCodePoint] = -1; - } - get current() { - return this[_currentCodePoint]; - } - get currentSize() { - return dart.notNull(this[_nextPosition]) - dart.notNull(this[_position$0]); - } - get currentAsString() { - if (this[_position$0] == this[_nextPosition]) return ""; - if (dart.notNull(this[_position$0]) + 1 === this[_nextPosition]) return this.string[$_get](this[_position$0]); - return this.string[$substring](this[_position$0], this[_nextPosition]); - } - moveNext() { - this[_position$0] = this[_nextPosition]; - if (this[_position$0] === this.string.length) { - this[_currentCodePoint] = -1; - return false; - } - let codeUnit = this.string[$codeUnitAt](this[_position$0]); - let nextPosition = dart.notNull(this[_position$0]) + 1; - if (dart.test(core._isLeadSurrogate(codeUnit)) && nextPosition < this.string.length) { - let nextCodeUnit = this.string[$codeUnitAt](nextPosition); - if (dart.test(core._isTrailSurrogate(nextCodeUnit))) { - this[_nextPosition] = nextPosition + 1; - this[_currentCodePoint] = core._combineSurrogatePair(codeUnit, nextCodeUnit); - return true; - } - } - this[_nextPosition] = nextPosition; - this[_currentCodePoint] = codeUnit; - return true; - } - movePrevious() { - this[_nextPosition] = this[_position$0]; - if (this[_position$0] === 0) { - this[_currentCodePoint] = -1; - return false; - } - let position = dart.notNull(this[_position$0]) - 1; - let codeUnit = this.string[$codeUnitAt](position); - if (dart.test(core._isTrailSurrogate(codeUnit)) && position > 0) { - let prevCodeUnit = this.string[$codeUnitAt](position - 1); - if (dart.test(core._isLeadSurrogate(prevCodeUnit))) { - this[_position$0] = position - 1; - this[_currentCodePoint] = core._combineSurrogatePair(prevCodeUnit, codeUnit); - return true; - } - } - this[_position$0] = position; - this[_currentCodePoint] = codeUnit; - return true; - } -}; -(core.RuneIterator.new = function(string) { - if (string == null) dart.nullFailed(I[173], 819, 23, "string"); - this[_currentCodePoint] = -1; - this[string$0] = string; - this[_position$0] = 0; - this[_nextPosition] = 0; - ; -}).prototype = core.RuneIterator.prototype; -(core.RuneIterator.at = function(string, 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; - this[_nextPosition] = index; - core.RangeError.checkValueInInterval(index, 0, string.length); - this[_checkSplitSurrogate](index); -}).prototype = core.RuneIterator.prototype; -dart.addTypeTests(core.RuneIterator); -dart.addTypeCaches(core.RuneIterator); -core.RuneIterator[dart.implements] = () => [core.BidirectionalIterator$(core.int)]; -dart.setMethodSignature(core.RuneIterator, () => ({ - __proto__: dart.getMethods(core.RuneIterator.__proto__), - [_checkSplitSurrogate]: dart.fnType(dart.void, [core.int]), - reset: dart.fnType(dart.void, [], [core.int]), - moveNext: dart.fnType(core.bool, []), - movePrevious: dart.fnType(core.bool, []) -})); -dart.setGetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getGetters(core.RuneIterator.__proto__), - rawIndex: core.int, - current: core.int, - currentSize: core.int, - currentAsString: core.String -})); -dart.setSetterSignature(core.RuneIterator, () => ({ - __proto__: dart.getSetters(core.RuneIterator.__proto__), - rawIndex: core.int -})); -dart.setLibraryUri(core.RuneIterator, I[9]); -dart.setFieldSignature(core.RuneIterator, () => ({ - __proto__: dart.getFields(core.RuneIterator.__proto__), - string: dart.finalFieldType(core.String), - [_position$0]: dart.fieldType(core.int), - [_nextPosition]: dart.fieldType(core.int), - [_currentCodePoint]: dart.fieldType(core.int) -})); -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.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[438] || CT.C438; - }, - /*core.Symbol.empty*/get empty() { - return C[439] || CT.C439; - } -}, false); -core.Uri = class Uri extends core.Object { - static get base() { - let uri = _js_helper.Primitives.currentUri(); - 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], 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"); - 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], 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"); - 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 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); - if (dataDelta === 0) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) uri = uri[$substring](start, end); - return core.UriData._parse(uri, 5, null).uri; - } else if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](dart.notNull(start) + 5, end), 0, null).uri; - } - } - let indices = T$0.ListOfint().filled(8, 0, {growable: false}); - t231 = indices; - (() => { - 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) { - indices[$_set](7, end); - } - let schemeEnd = indices[$_get](1); - if (dart.notNull(schemeEnd) >= dart.notNull(start)) { - state = core._scan(uri, start, schemeEnd, 20, indices); - if (state === 20) { - indices[$_set](7, schemeEnd); - } - } - let hostStart = dart.notNull(indices[$_get](2)) + 1; - let portStart = indices[$_get](3); - let pathStart = indices[$_get](4); - let queryStart = indices[$_get](5); - let fragmentStart = indices[$_get](6); - let scheme = null; - if (dart.notNull(fragmentStart) < dart.notNull(queryStart)) queryStart = fragmentStart; - if (dart.notNull(pathStart) < hostStart) { - pathStart = queryStart; - } else if (dart.notNull(pathStart) <= dart.notNull(schemeEnd)) { - pathStart = dart.notNull(schemeEnd) + 1; - } - if (dart.notNull(portStart) < hostStart) portStart = pathStart; - 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 { - if (schemeEnd === dart.notNull(start) + 4) { - if (uri[$startsWith]("file", start)) { - scheme = "file"; - if (hostStart <= dart.notNull(start)) { - let schemeAuth = "file://"; - let delta = 2; - if (!uri[$startsWith]("/", pathStart)) { - schemeAuth = "file:///"; - delta = 3; - } - uri = schemeAuth + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = 7; - portStart = 7; - pathStart = 7; - queryStart = dart.notNull(queryStart) + (delta - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (delta - dart.notNull(start)); - start = 0; - end = uri.length; - } else if (pathStart == queryStart) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](pathStart, queryStart, "/"); - queryStart = dart.notNull(queryStart) + 1; - fragmentStart = dart.notNull(fragmentStart) + 1; - end = dart.notNull(end) + 1; - } else { - uri = uri[$substring](start, pathStart) + "/" + uri[$substring](queryStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) + (1 - dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) + (1 - dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } else if (uri[$startsWith]("http", start)) { - scheme = "http"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 3 === pathStart && uri[$startsWith]("80", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 3; - queryStart = dart.notNull(queryStart) - 3; - fragmentStart = dart.notNull(fragmentStart) - 3; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (3 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (3 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (3 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } else if (schemeEnd === dart.notNull(start) + 5 && uri[$startsWith]("https", start)) { - scheme = "https"; - if (dart.notNull(portStart) > dart.notNull(start) && dart.notNull(portStart) + 4 === pathStart && uri[$startsWith]("443", dart.notNull(portStart) + 1)) { - if (start === 0 && end === uri.length) { - uri = uri[$replaceRange](portStart, pathStart, ""); - pathStart = dart.notNull(pathStart) - 4; - queryStart = dart.notNull(queryStart) - 4; - fragmentStart = dart.notNull(fragmentStart) - 4; - end = dart.notNull(end) - 3; - } else { - uri = uri[$substring](start, portStart) + uri[$substring](pathStart, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - (4 + dart.notNull(start)); - queryStart = dart.notNull(queryStart) - (4 + dart.notNull(start)); - fragmentStart = dart.notNull(fragmentStart) - (4 + dart.notNull(start)); - start = 0; - end = uri.length; - } - } - } - } - } - if (isSimple) { - if (dart.notNull(start) > 0 || dart.notNull(end) < uri.length) { - uri = uri[$substring](start, end); - schemeEnd = dart.notNull(schemeEnd) - dart.notNull(start); - hostStart = hostStart - dart.notNull(start); - portStart = dart.notNull(portStart) - dart.notNull(start); - pathStart = dart.notNull(pathStart) - dart.notNull(start); - queryStart = dart.notNull(queryStart) - dart.notNull(start); - fragmentStart = dart.notNull(fragmentStart) - dart.notNull(start); - } - return new core._SimpleUri.new(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme); - } - 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], 1159, 31, "uri"); - if (start == null) dart.nullFailed(I[175], 1159, 41, "start"); - try { - return core.Uri.parse(uri, start, end); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - return null; - } else - throw e; - } - } - static encodeComponent(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], 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], 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], 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], 1284, 35, "uri"); - return core._Uri._uriEncode(core._Uri._encodeFullTable, uri, convert.utf8, false); - } - static decodeFull(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], 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], 1329, 39, "map"); - if (element == null) dart.nullFailed(I[175], 1329, 44, "element"); - let index = element[$indexOf]("="); - if (index === -1) { - if (element !== "") { - map[$_set](core.Uri.decodeQueryComponent(element, {encoding: encoding}), ""); - } - } else if (index !== 0) { - let key = element[$substring](0, index); - let value = element[$substring](index + 1); - map[$_set](core.Uri.decodeQueryComponent(key, {encoding: encoding}), core.Uri.decodeQueryComponent(value, {encoding: encoding})); - } - return map; - }, T$0.MapOfString$StringAndStringToMapOfString$String())); - } - static parseIPv4Address(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 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], 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()); - let result = _native_typed_data.NativeUint8List.new(4); - let partIndex = 0; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char !== 46) { - if ((char ^ 48) >>> 0 > 9) { - error("invalid character", i); - } - } else { - if (partIndex === 3) { - error("IPv4 address should contain exactly 4 parts", i); - } - let part = core.int.parse(host[$substring](partStart, i)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set]((t233 = partIndex, partIndex = t233 + 1, t233), part); - partStart = dart.notNull(i) + 1; - } - } - if (partIndex !== 3) { - error("IPv4 address should contain exactly 4 parts", end); - } - let part = core.int.parse(host[$substring](partStart, end)); - if (dart.notNull(part) > 255) { - error("each part must be in the range 0..255", partStart); - } - result[$_set](partIndex, part); - return result; - } - static parseIPv6Address(host, start = 0, end = null) { - 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) { - 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.StringAndintNTovoid()); - function parseHex(start, 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); - } - let value = core.int.parse(host[$substring](start, end), {radix: 16}); - if (dart.notNull(value) < 0 || dart.notNull(value) > 65535) { - error("each part must be in the range of `0x0..0xFFFF`", start); - } - return value; - } - dart.fn(parseHex, T$0.intAndintToint()); - if (host.length < 2) error("address is too short", null); - let parts = T$.JSArrayOfint().of([]); - let wildcardSeen = false; - let seenDot = false; - let partStart = start; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let char = host[$codeUnitAt](i); - if (char === 58) { - if (i == start) { - i = dart.notNull(i) + 1; - if (host[$codeUnitAt](i) !== 58) { - error("invalid start colon.", i); - } - partStart = i; - } - if (i == partStart) { - if (wildcardSeen) { - error("only one wildcard `::` is allowed", i); - } - wildcardSeen = true; - parts[$add](-1); - } else { - parts[$add](parseHex(partStart, i)); - } - partStart = dart.notNull(i) + 1; - } else if (char === 46) { - seenDot = true; - } - } - if (parts[$length] === 0) error("too few parts", null); - let atEnd = partStart == end; - let isLastWildcard = parts[$last] === -1; - if (atEnd && !isLastWildcard) { - error("expected a part after last `:`", end); - } - if (!atEnd) { - if (!seenDot) { - parts[$add](parseHex(partStart, end)); - } else { - let last = core.Uri._parseIPv4Address(host, partStart, end); - parts[$add]((dart.notNull(last[$_get](0)) << 8 | dart.notNull(last[$_get](1))) >>> 0); - parts[$add]((dart.notNull(last[$_get](2)) << 8 | dart.notNull(last[$_get](3))) >>> 0); - } - } - if (wildcardSeen) { - if (dart.notNull(parts[$length]) > 7) { - 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", null); - } - let bytes = _native_typed_data.NativeUint8List.new(16); - for (let i = 0, index = 0; i < dart.notNull(parts[$length]); i = i + 1) { - let value = parts[$_get](i); - if (value === -1) { - let wildCardLength = 9 - dart.notNull(parts[$length]); - for (let j = 0; j < wildCardLength; j = j + 1) { - bytes[$_set](index, 0); - bytes[$_set](index + 1, 0); - index = index + 2; - } - } else { - bytes[$_set](index, value[$rightShift](8)); - bytes[$_set](index + 1, dart.notNull(value) & 255); - index = index + 2; - } - } - return bytes; - } -}; -(core.Uri[dart.mixinNew] = function() { -}).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.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"); -var ___Uri_pathSegments_isSet = dart.privateName(core, "_#_Uri#pathSegments#isSet"); -var ___Uri_hashCode = dart.privateName(core, "_#_Uri#hashCode"); -var ___Uri_hashCode_isSet = dart.privateName(core, "_#_Uri#hashCode#isSet"); -var ___Uri_queryParameters = dart.privateName(core, "_#_Uri#queryParameters"); -var ___Uri_queryParameters_isSet = dart.privateName(core, "_#_Uri#queryParameters#isSet"); -var ___Uri_queryParametersAll = dart.privateName(core, "_#_Uri#queryParametersAll"); -var ___Uri_queryParametersAll_isSet = dart.privateName(core, "_#_Uri#queryParametersAll#isSet"); -var _userInfo$ = dart.privateName(core, "_userInfo"); -var _host$ = dart.privateName(core, "_host"); -var _port$ = dart.privateName(core, "_port"); -var _query$ = dart.privateName(core, "_query"); -var _fragment$ = dart.privateName(core, "_fragment"); -var _initializeText = dart.privateName(core, "_initializeText"); -var _text$ = dart.privateName(core, "_text"); -var _writeAuthority = dart.privateName(core, "_writeAuthority"); -var _mergePaths = dart.privateName(core, "_mergePaths"); -var _toFilePath = dart.privateName(core, "_toFilePath"); -core._Uri = class _Uri extends core.Object { - get [_text$]() { - let t234; - if (!dart.test(this[___Uri__text_isSet])) { - let t233 = this[_initializeText](); - if (dart.test(this[___Uri__text_isSet])) dart.throw(new _internal.LateError.fieldADI("_text")); - this[___Uri__text] = t233; - this[___Uri__text_isSet] = true; - } - t234 = this[___Uri__text]; - return t234; - } - get pathSegments() { - let t235; - if (!dart.test(this[___Uri_pathSegments_isSet])) { - let t234 = core._Uri._computePathSegments(this.path); - if (dart.test(this[___Uri_pathSegments_isSet])) dart.throw(new _internal.LateError.fieldADI("pathSegments")); - this[___Uri_pathSegments] = t234; - this[___Uri_pathSegments_isSet] = true; - } - t235 = this[___Uri_pathSegments]; - return t235; - } - get hashCode() { - let t236; - if (!dart.test(this[___Uri_hashCode_isSet])) { - let t235 = dart.hashCode(this[_text$]); - if (dart.test(this[___Uri_hashCode_isSet])) dart.throw(new _internal.LateError.fieldADI("hashCode")); - this[___Uri_hashCode] = t235; - this[___Uri_hashCode_isSet] = true; - } - t236 = this[___Uri_hashCode]; - return t236; - } - get queryParameters() { - let t237; - if (!dart.test(this[___Uri_queryParameters_isSet])) { - 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] = t236; - this[___Uri_queryParameters_isSet] = true; - } - t237 = this[___Uri_queryParameters]; - return t237; - } - get queryParametersAll() { - let t238; - if (!dart.test(this[___Uri_queryParametersAll_isSet])) { - let t237 = core._Uri._computeQueryParametersAll(this.query); - if (dart.test(this[___Uri_queryParametersAll_isSet])) dart.throw(new _internal.LateError.fieldADI("queryParametersAll")); - this[___Uri_queryParametersAll] = t237; - this[___Uri_queryParametersAll_isSet] = true; - } - 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 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)) { - scheme = core._Uri._makeScheme(uri, start, schemeEnd); - } else if (schemeEnd == start) { - core._Uri._fail(uri, start, "Invalid empty scheme"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - } - let userInfo = ""; - let host = null; - let port = null; - if (dart.notNull(hostStart) > dart.notNull(start)) { - let userInfoStart = dart.notNull(schemeEnd) + 3; - if (userInfoStart < dart.notNull(hostStart)) { - userInfo = core._Uri._makeUserInfo(uri, userInfoStart, dart.notNull(hostStart) - 1); - } - host = core._Uri._makeHost(uri, hostStart, portStart, false); - if (dart.notNull(portStart) + 1 < dart.notNull(pathStart)) { - 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); - } - } - let path = core._Uri._makePath(uri, pathStart, queryStart, null, scheme, host != null); - let query = null; - if (dart.notNull(queryStart) < dart.notNull(fragmentStart)) { - query = core._Uri._makeQuery(uri, dart.notNull(queryStart) + 1, fragmentStart, null); - } - let fragment = null; - if (dart.notNull(fragmentStart) < dart.notNull(end)) { - fragment = core._Uri._makeFragment(uri, dart.notNull(fragmentStart) + 1, end); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - static new(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; - if (scheme == null) { - scheme = ""; - } else { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - } - userInfo = core._Uri._makeUserInfo(userInfo, 0, core._stringOrNullLength(userInfo)); - if (userInfo == null) { - dart.throw("unreachable"); - } - host = core._Uri._makeHost(host, 0, core._stringOrNullLength(host), false); - if (query === "") query = null; - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - fragment = core._Uri._makeFragment(fragment, 0, core._stringOrNullLength(fragment)); - port = core._Uri._makePort(port, scheme); - let isFile = scheme === "file"; - if (host == null && (userInfo[$isNotEmpty] || port != null || isFile)) { - host = ""; - } - let hasAuthority = host != null; - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - if (path == null) { - dart.throw("unreachable"); - } - if (scheme[$isEmpty] && host == null && !path[$startsWith]("/")) { - let allowScheme = scheme[$isNotEmpty] || host != null; - path = core._Uri._normalizeRelativePath(path, allowScheme); - } else { - path = core._Uri._removeDotSegments(path); - } - if (host == null && path[$startsWith]("//")) { - host = ""; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - 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 ['_#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() { - if (!dart.test(this.hasAuthority)) return ""; - let sb = new core.StringBuffer.new(); - this[_writeAuthority](sb); - return sb.toString(); - } - get userInfo() { - return this[_userInfo$]; - } - get host() { - let host = this[_host$]; - if (host == null) return ""; - if (host[$startsWith]("[")) { - return host[$substring](1, host.length - 1); - } - return host; - } - get port() { - let t238; - t238 = this[_port$]; - return t238 == null ? core._Uri._defaultPort(this.scheme) : t238; - } - static _defaultPort(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 t238; - t238 = this[_query$]; - return t238 == null ? "" : t238; - } - get fragment() { - let t238; - t238 = this[_fragment$]; - return t238 == null ? "" : t238; - } - isScheme(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._caseInsensitiveStartsWith(scheme, thisScheme, 0); - } - static _fail(uri, index, 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], 1741, 35, "scheme"); - if (unencodedPath == null) dart.nullFailed(I[175], 1742, 14, "unencodedPath"); - let userInfo = ""; - let host = null; - let port = null; - if (authority != null && authority[$isNotEmpty]) { - let hostStart = 0; - for (let i = 0; i < authority.length; i = i + 1) { - if (authority[$codeUnitAt](i) === 64) { - userInfo = authority[$substring](0, i); - hostStart = i + 1; - break; - } - } - let hostEnd = hostStart; - if (hostStart < authority.length && authority[$codeUnitAt](hostStart) === 91) { - let escapeForZoneID = -1; - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - let char = authority[$codeUnitAt](hostEnd); - if (char === 37 && escapeForZoneID < 0) { - escapeForZoneID = hostEnd; - if (authority[$startsWith]("25", hostEnd + 1)) { - hostEnd = hostEnd + 2; - } - } else if (char === 93) { - break; - } - } - if (hostEnd === authority.length) { - dart.throw(new core.FormatException.new("Invalid IPv6 host entry.", authority, hostStart)); - } - core.Uri.parseIPv6Address(authority, hostStart + 1, escapeForZoneID < 0 ? hostEnd : escapeForZoneID); - hostEnd = hostEnd + 1; - if (hostEnd !== authority.length && authority[$codeUnitAt](hostEnd) !== 58) { - dart.throw(new core.FormatException.new("Invalid end of authority", authority, hostEnd)); - } - } - for (; hostEnd < authority.length; hostEnd = hostEnd + 1) { - if (authority[$codeUnitAt](hostEnd) === 58) { - let portString = authority[$substring](hostEnd + 1); - if (portString[$isNotEmpty]) port = core.int.parse(portString); - break; - } - } - host = authority[$substring](hostStart, hostEnd); - } - return core._Uri.new({scheme: scheme, userInfo: userInfo, host: host, port: port, pathSegments: unencodedPath[$split]("/"), queryParameters: queryParameters}); - } - static file(path, opts) { - 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((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 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((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], 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)) { - dart.throw(new core.ArgumentError.new("Illegal path character " + dart.str(segment))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal path character " + dart.str(segment))); - } - } - } - } - static _checkWindowsPathReservedCharacters(segments, argumentError, firstSegment = 0) { - 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)) { - dart.throw(new core.ArgumentError.new("Illegal character in path")); - } else { - dart.throw(new core.UnsupportedError.new("Illegal character in path: " + dart.str(segment))); - } - } - } - } - static _checkWindowsDriveLetter(charCode, 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; - } - if (dart.test(argumentError)) { - dart.throw(new core.ArgumentError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } else { - dart.throw(new core.UnsupportedError.new("Illegal drive letter " + dart.notNull(core.String.fromCharCode(charCode)))); - } - } - static _makeFileUri(path, 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](""); - } - if (path[$startsWith]("/")) { - return core._Uri.new({scheme: "file", pathSegments: segments}); - } else { - return core._Uri.new({pathSegments: segments}); - } - } - static _makeWindowsFileUrl(path, 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, "\\"); - } else { - path = path[$substring](4); - if (path.length < 3 || path[$codeUnitAt](1) !== 58 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with \\\\?\\ prefix must be absolute")); - } - } - } else { - path = path[$replaceAll]("/", "\\"); - } - if (path.length > 1 && path[$codeUnitAt](1) === 58) { - core._Uri._checkWindowsDriveLetter(path[$codeUnitAt](0), true); - if (path.length === 2 || path[$codeUnitAt](2) !== 92) { - dart.throw(new core.ArgumentError.new("Windows paths with drive letter must be absolute")); - } - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true, 1); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - if (path[$startsWith]("\\")) { - if (path[$startsWith]("\\", 1)) { - let pathStart = path[$indexOf]("\\", 2); - let hostPart = pathStart < 0 ? path[$substring](2) : path[$substring](2, pathStart); - let pathPart = pathStart < 0 ? "" : path[$substring](pathStart + 1); - let pathSegments = pathPart[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({scheme: "file", host: hostPart, pathSegments: pathSegments}); - } else { - let pathSegments = path[$split]("\\"); - if (dart.test(slashTerminated) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - return core._Uri.new({scheme: "file", pathSegments: pathSegments}); - } - } else { - let pathSegments = path[$split]("\\"); - core._Uri._checkWindowsPathReservedCharacters(pathSegments, true); - if (dart.test(slashTerminated) && dart.test(pathSegments[$isNotEmpty]) && pathSegments[$last][$isNotEmpty]) { - pathSegments[$add](""); - } - return core._Uri.new({pathSegments: pathSegments}); - } - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = scheme != this.scheme; - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else { - userInfo = this[_userInfo$]; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = this[_port$]; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.test(this.hasAuthority)) { - host = this[_host$]; - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - let currentPath = this.path; - if ((isFile || hasAuthority && !currentPath[$isEmpty]) && !currentPath[$startsWith]("/")) { - currentPath = "/" + dart.notNull(currentPath); - } - path = currentPath; - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else { - query = this[_query$]; - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else { - fragment = this[_fragment$]; - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - 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], 2023, 51, "pathToSplit"); - if (pathToSplit[$isNotEmpty] && pathToSplit[$codeUnitAt](0) === 47) { - pathToSplit = pathToSplit[$substring](1); - } - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - normalizePath() { - let path = core._Uri._normalizePath(this.path, this.scheme, this.hasAuthority); - if (path == this.path) return this; - return this.replace({path: path}); - } - static _makePort(port, 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], 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) { - if (host[$codeUnitAt](dart.notNull(end) - 1) !== 93) { - core._Uri._fail(host, start, "Missing end `]` to match `[` in host"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let zoneID = ""; - let index = core._Uri._checkZoneID(host, dart.notNull(start) + 1, dart.notNull(end) - 1); - if (dart.notNull(index) < dart.notNull(end) - 1) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, dart.notNull(end) - 1, "%25"); - } - core.Uri.parseIPv6Address(host, dart.notNull(start) + 1, index); - return host[$substring](start, index)[$toLowerCase]() + dart.notNull(zoneID) + "]"; - } - if (!dart.test(strictIPv6)) { - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - if (host[$codeUnitAt](i) === 58) { - let zoneID = ""; - let index = core._Uri._checkZoneID(host, start, end); - if (dart.notNull(index) < dart.notNull(end)) { - let zoneIDstart = host[$startsWith]("25", dart.notNull(index) + 1) ? dart.notNull(index) + 3 : dart.notNull(index) + 1; - zoneID = core._Uri._normalizeZoneID(host, zoneIDstart, end, "%25"); - } - core.Uri.parseIPv6Address(host, start, index); - return "[" + host[$substring](start, index) + dart.notNull(zoneID) + "]"; - } - } - } - return core._Uri._normalizeRegName(host, start, end); - } - static _checkZoneID(host, start, 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], 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 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); - } - let sectionStart = start; - let index = start; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - core._Uri._fail(host, index, "ZoneID should not contain % anymore"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isZoneIDChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _isRegNameChar(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 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; - let isNormalized = true; - while (dart.notNull(index) < dart.notNull(end)) { - let char = host[$codeUnitAt](index); - if (char === 37) { - let replacement = core._Uri._normalizeEscape(host, index, true); - if (replacement == null && isNormalized) { - index = dart.notNull(index) + 3; - continue; - } - buffer == null ? buffer = new core.StringBuffer.new() : null; - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - let sourceLength = 3; - if (replacement == null) { - replacement = host[$substring](index, dart.notNull(index) + 3); - } else if (replacement === "%") { - replacement = "%25"; - sourceLength = 1; - } - buffer.write(replacement); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - isNormalized = true; - } else if (dart.test(core._Uri._isRegNameChar(char))) { - if (isNormalized && 65 <= char && 90 >= char) { - buffer == null ? buffer = new core.StringBuffer.new() : null; - if (dart.notNull(sectionStart) < dart.notNull(index)) { - buffer.write(host[$substring](sectionStart, index)); - sectionStart = index; - } - isNormalized = false; - } - index = dart.notNull(index) + 1; - } else if (dart.test(core._Uri._isGeneralDelimiter(char))) { - core._Uri._fail(host, index, "Invalid character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } else { - let sourceLength = 1; - if ((char & 64512) === 55296 && dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = host[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - char = 65536 | (char & 1023) << 10 | tail & 1023; - sourceLength = 2; - } - } - let slice = host[$substring](sectionStart, index); - if (!isNormalized) slice = slice[$toLowerCase](); - t238$ = (t238 = buffer, t238 == null ? buffer = new core.StringBuffer.new() : t238); - (() => { - t238$.write(slice); - t238$.write(core._Uri._escapeChar(char)); - return t238$; - })(); - index = dart.notNull(index) + sourceLength; - sectionStart = index; - } - } - if (buffer == null) return host[$substring](start, end); - if (dart.notNull(sectionStart) < dart.notNull(end)) { - let slice = host[$substring](sectionStart, end); - if (!isNormalized) slice = slice[$toLowerCase](); - buffer.write(slice); - } - return dart.toString(buffer); - } - static _makeScheme(scheme, start, 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))) { - core._Uri._fail(scheme, start, "Scheme not starting with alphabetic character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let containsUpperCase = false; - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = scheme[$codeUnitAt](i); - if (!dart.test(core._Uri._isSchemeCharacter(codeUnit))) { - core._Uri._fail(scheme, i, "Illegal scheme character"); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (65 <= codeUnit && codeUnit <= 90) { - containsUpperCase = true; - } - } - scheme = scheme[$substring](start, end); - if (containsUpperCase) scheme = scheme[$toLowerCase](); - return core._Uri._canonicalizeScheme(scheme); - } - static _canonicalizeScheme(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"; - if (scheme === "package") return "package"; - return scheme; - } - static _makeUserInfo(userInfo, start, 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], 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], 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, replaceBackslash: true}); - } - if (result[$isEmpty]) { - if (isFile) return "/"; - } else if (ensureLeadingSlash && !result[$startsWith]("/")) { - result = "/" + dart.notNull(result); - } - result = core._Uri._normalizePath(result, scheme, hasAuthority); - return result; - } - static _normalizePath(path, scheme, hasAuthority) { - 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], 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")); - } - return core._Uri._normalizeOrSubstring(query, start, end, core._Uri._queryCharTable, {escapeDelimiters: true}); - } - if (queryParameters == null) return null; - let result = new core.StringBuffer.new(); - let separator = ""; - function writeParameter(key, value) { - if (key == null) dart.nullFailed(I[175], 2360, 32, "key"); - result.write(separator); - separator = "&"; - result.write(core.Uri.encodeQueryComponent(key)); - if (value != null && value[$isNotEmpty]) { - result.write("="); - result.write(core.Uri.encodeQueryComponent(value)); - } - } - dart.fn(writeParameter, T$0.StringAndStringNTovoid()); - queryParameters[$forEach](dart.fn((key, value) => { - 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 t238 of values) { - let value = core.String.as(t238); - writeParameter(key, value); - } - } - }, T$0.StringAnddynamicTovoid())); - return result.toString(); - } - static _makeFragment(fragment, start, 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], 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 "%"; - } - let firstDigit = source[$codeUnitAt](dart.notNull(index) + 1); - let secondDigit = source[$codeUnitAt](dart.notNull(index) + 2); - let firstDigitValue = _internal.hexDigitValue(firstDigit); - let secondDigitValue = _internal.hexDigitValue(secondDigit); - if (dart.notNull(firstDigitValue) < 0 || dart.notNull(secondDigitValue) < 0) { - return "%"; - } - let value = dart.notNull(firstDigitValue) * 16 + dart.notNull(secondDigitValue); - if (dart.test(core._Uri._isUnreservedChar(value))) { - if (dart.test(lowerCase) && 65 <= value && 90 >= value) { - value = (value | 32) >>> 0; - } - return core.String.fromCharCode(value); - } - if (firstDigit >= 97 || secondDigit >= 97) { - return source[$substring](index, dart.notNull(index) + 3)[$toUpperCase](); - } - return null; - } - static _escapeChar(char) { - 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); - codeUnits[$_set](0, 37); - codeUnits[$_set](1, "0123456789ABCDEF"[$codeUnitAt](char[$rightShift](4))); - codeUnits[$_set](2, "0123456789ABCDEF"[$codeUnitAt](dart.notNull(char) & 15)); - } else { - let flag = 192; - let encodedBytes = 2; - if (dart.notNull(char) > 2047) { - flag = 224; - encodedBytes = 3; - if (dart.notNull(char) > 65535) { - encodedBytes = 4; - flag = 240; - } - } - codeUnits = _native_typed_data.NativeUint8List.new(3 * encodedBytes); - let index = 0; - while ((encodedBytes = encodedBytes - 1) >= 0) { - let byte = (char[$rightShift](6 * encodedBytes) & 63 | flag) >>> 0; - codeUnits[$_set](index, 37); - codeUnits[$_set](index + 1, "0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - codeUnits[$_set](index + 2, "0123456789ABCDEF"[$codeUnitAt](byte & 15)); - index = index + 3; - flag = 128; - } - } - return core.String.fromCharCodes(codeUnits); - } - static _normalizeOrSubstring(component, start, end, charTable, opts) { - 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], 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 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], 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; - while (dart.notNull(index) < dart.notNull(end)) { - let char = component[$codeUnitAt](index); - if (char < 127 && (dart.notNull(charTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) !== 0) { - index = dart.notNull(index) + 1; - } else { - let replacement = null; - let sourceLength = null; - if (char === 37) { - replacement = core._Uri._normalizeEscape(component, index, false); - if (replacement == null) { - index = dart.notNull(index) + 3; - continue; - } - if ("%" === replacement) { - replacement = "%25"; - sourceLength = 1; - } 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`.")); - dart.throw("unreachable"); - } else { - sourceLength = 1; - if ((char & 64512) === 55296) { - if (dart.notNull(index) + 1 < dart.notNull(end)) { - let tail = component[$codeUnitAt](dart.notNull(index) + 1); - if ((tail & 64512) === 56320) { - sourceLength = 2; - char = 65536 | (char & 1023) << 10 | tail & 1023; - } - } - } - replacement = core._Uri._escapeChar(char); - } - t239$ = (t239 = buffer, t239 == null ? buffer = new core.StringBuffer.new() : t239); - (() => { - t239$.write(component[$substring](sectionStart, index)); - t239$.write(replacement); - return t239$; - })(); - index = dart.notNull(index) + dart.notNull(sourceLength); - sectionStart = index; - } - } - if (buffer == null) { - return null; - } - if (dart.notNull(sectionStart) < dart.notNull(end)) { - buffer.write(component[$substring](sectionStart, end)); - } - return dart.toString(buffer); - } - static _isSchemeCharacter(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], 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], 2562, 29, "base"); - if (reference == null) dart.nullFailed(I[175], 2562, 42, "reference"); - let backCount = 0; - let refStart = 0; - while (reference[$startsWith]("../", refStart)) { - refStart = refStart + 3; - backCount = backCount + 1; - } - let baseEnd = base[$lastIndexOf]("/"); - while (baseEnd > 0 && backCount > 0) { - let newEnd = base[$lastIndexOf]("/", baseEnd - 1); - if (newEnd < 0) { - break; - } - let delta = baseEnd - newEnd; - if ((delta === 2 || delta === 3) && base[$codeUnitAt](newEnd + 1) === 46 && (delta === 2 || base[$codeUnitAt](newEnd + 2) === 46)) { - break; - } - baseEnd = newEnd; - backCount = backCount - 1; - } - return base[$replaceRange](baseEnd + 1, null, reference[$substring](refStart - 3 * backCount)); - } - static _mayContainDotSegments(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], 2611, 43, "path"); - if (!dart.test(core._Uri._mayContainDotSegments(path))) return path; - 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]("/")) { - appendSlash = false; - if (segment === "..") { - if (dart.test(output[$isNotEmpty])) { - output[$removeLast](); - if (dart.test(output[$isEmpty])) { - output[$add](""); - } - } - appendSlash = true; - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (appendSlash) output[$add](""); - return output[$join]("/"); - } - static _normalizeRelativePath(path, allowScheme) { - 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], 2653, 12, "path.isNotEmpty"); - let output = T$.JSArrayOfString().of([]); - let appendSlash = false; - for (let segment of path[$split]("/")) { - appendSlash = false; - if (".." === segment) { - if (!dart.test(output[$isEmpty]) && output[$last] !== "..") { - output[$removeLast](); - appendSlash = true; - } else { - output[$add](".."); - } - } else if ("." === segment) { - appendSlash = true; - } else { - output[$add](segment); - } - } - if (dart.test(output[$isEmpty]) || output[$length] === 1 && output[$_get](0)[$isEmpty]) { - return "./"; - } - if (appendSlash || output[$last] === "..") output[$add](""); - if (!dart.test(allowScheme)) output[$_set](0, core._Uri._escapeScheme(output[$_get](0))); - return output[$join]("/"); - } - static _escapeScheme(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); - if (char === 58) { - return path[$substring](0, i) + "%3A" + path[$substring](i + 1); - } - if (char > 127 || (dart.notNull(core._Uri._schemeTable[$_get](char[$rightShift](4))) & 1 << (char & 15)) === 0) { - break; - } - } - } - return path; - } - resolve(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], 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], 2717, 22, "reference"); - let targetScheme = null; - let targetUserInfo = ""; - let targetHost = null; - let targetPort = null; - let targetPath = null; - let targetQuery = null; - if (reference.scheme[$isNotEmpty]) { - targetScheme = reference.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = dart.test(reference.hasPort) ? reference.port : null; - } - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } - } else { - targetScheme = this.scheme; - if (dart.test(reference.hasAuthority)) { - targetUserInfo = reference.userInfo; - targetHost = reference.host; - targetPort = core._Uri._makePort(dart.test(reference.hasPort) ? reference.port : null, targetScheme); - targetPath = core._Uri._removeDotSegments(reference.path); - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } else { - targetUserInfo = this[_userInfo$]; - targetHost = this[_host$]; - targetPort = this[_port$]; - if (reference.path === "") { - targetPath = this.path; - if (dart.test(reference.hasQuery)) { - targetQuery = reference.query; - } else { - targetQuery = this[_query$]; - } - } else { - let basePath = this.path; - let packageNameEnd = core._Uri._packageNameEnd(this, basePath); - if (dart.notNull(packageNameEnd) > 0) { - 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)); - } else { - targetPath = packageName + dart.notNull(core._Uri._removeDotSegments(this[_mergePaths](basePath[$substring](packageName.length), reference.path))); - } - } else if (dart.test(reference.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(reference.path); - } else { - if (dart.test(this.hasEmptyPath)) { - if (!dart.test(this.hasAuthority)) { - if (!dart.test(this.hasScheme)) { - targetPath = reference.path; - } else { - targetPath = core._Uri._removeDotSegments(reference.path); - } - } else { - targetPath = core._Uri._removeDotSegments("/" + dart.notNull(reference.path)); - } - } else { - let mergedPath = this[_mergePaths](this.path, reference.path); - if (dart.test(this.hasScheme) || dart.test(this.hasAuthority) || dart.test(this.hasAbsolutePath)) { - targetPath = core._Uri._removeDotSegments(mergedPath); - } else { - targetPath = core._Uri._normalizeRelativePath(mergedPath, dart.test(this.hasScheme) || dart.test(this.hasAuthority)); - } - } - } - if (dart.test(reference.hasQuery)) targetQuery = reference.query; - } - } - } - let fragment = dart.test(reference.hasFragment) ? reference.fragment : null; - return new core._Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment); - } - get hasScheme() { - return this.scheme[$isNotEmpty]; - } - 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 hasEmptyPath() { - return this.path[$isEmpty]; - } - get hasAbsolutePath() { - return this.path[$startsWith]("/"); - } - get origin() { - if (this.scheme === "") { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (this.scheme !== "http" && this.scheme !== "https") { - dart.throw(new core.StateError.new("Origin is only applicable schemes http and https: " + dart.str(this))); - } - let host = this[_host$]; - if (host == null || host === "") { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - let port = this[_port$]; - if (port == null) return dart.str(this.scheme) + "://" + dart.str(host); - return dart.str(this.scheme) + "://" + dart.str(host) + ":" + dart.str(port); - } - toFilePath(opts) { - 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")); - } - if (this.query !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - if (this.fragment !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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 !== "") { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - let pathSegments = this.pathSegments; - core._Uri._checkNonWindowsPathReservedCharacters(pathSegments, false); - let result = new core.StringBuffer.new(); - if (dart.test(this.hasAbsolutePath)) result.write("/"); - result.writeAll(pathSegments, "/"); - return result.toString(); - } - static _toWindowsFilePath(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) { - core._Uri._checkWindowsDriveLetter(segments[$_get](0)[$codeUnitAt](0), false); - core._Uri._checkWindowsPathReservedCharacters(segments, false, 1); - hasDriveLetter = true; - } else { - core._Uri._checkWindowsPathReservedCharacters(segments, false, 0); - } - let result = new core.StringBuffer.new(); - if (dart.test(uri.hasAbsolutePath) && !hasDriveLetter) result.write("\\"); - if (dart.test(uri.hasAuthority)) { - let host = uri.host; - if (host[$isNotEmpty]) { - result.write("\\"); - result.write(host); - result.write("\\"); - } - } - result.writeAll(segments, "\\"); - if (hasDriveLetter && segments[$length] === 1) result.write("\\"); - return result.toString(); - } - [_writeAuthority](ss) { - if (ss == null) dart.nullFailed(I[175], 2902, 35, "ss"); - if (this[_userInfo$][$isNotEmpty]) { - ss.write(this[_userInfo$]); - ss.write("@"); - } - if (this[_host$] != null) ss.write(this[_host$]); - if (this[_port$] != null) { - ss.write(":"); - ss.write(this[_port$]); - } - } - get data() { - return this.scheme === "data" ? core.UriData.fromUri(this) : null; - } - toString() { - return this[_text$]; - } - [_initializeText]() { - let t239, t239$, t239$0; - let sb = new core.StringBuffer.new(); - if (this.scheme[$isNotEmpty]) { - t239 = sb; - (() => { - t239.write(this.scheme); - t239.write(":"); - return t239; - })(); - } - if (dart.test(this.hasAuthority) || this.scheme === "file") { - sb.write("//"); - this[_writeAuthority](sb); - } - sb.write(this.path); - if (this[_query$] != null) { - t239$ = sb; - (() => { - t239$.write("?"); - t239$.write(this[_query$]); - return t239$; - })(); - } - if (this[_fragment$] != null) { - t239$0 = sb; - (() => { - t239$0.write("#"); - t239$0.write(this[_fragment$]); - return t239$0; - })(); - } - return sb.toString(); - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this.scheme == other.scheme && this.hasAuthority == other.hasAuthority && this.userInfo == other.userInfo && this.host == other.host && this.port == other.port && this.path == other.path && this.hasQuery == other.hasQuery && this.query == other.query && this.hasFragment == other.hasFragment && this.fragment == other.fragment; - } - static _createList() { - return T$.JSArrayOfString().of([]); - } - static _splitQueryStringAll(query, opts) { - 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], 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; - if (dart.notNull(equalsIndex) < 0) { - key = core._Uri._uriDecode(query, start, end, encoding, true); - value = ""; - } else { - 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[443] || CT.C443)[$add](value); - } - dart.fn(parsePair, T$0.intAndintAndintTovoid()); - while (i < query.length) { - let char = query[$codeUnitAt](i); - if (char === 61) { - if (equalsIndex < 0) equalsIndex = i; - } else if (char === 38) { - parsePair(start, equalsIndex, i); - start = i + 1; - equalsIndex = -1; - } - i = i + 1; - } - parsePair(start, equalsIndex, i); - return result; - } - static _uriEncode(canonicalTable, text, encoding, 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; - } - let result = new core.StringBuffer.new(""); - let bytes = encoding.encode(text); - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - result.writeCharCode(byte); - } else if (dart.test(spaceToPlus) && byte === 32) { - result.write("+"); - } else { - result.write("%"); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) >> 4 & 15)); - result.write("0123456789ABCDEF"[$_get](dart.notNull(byte) & 15)); - } - } - return result.toString(); - } - static _hexCharPairToByte(s, 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); - if (48 <= charCode && charCode <= 57) { - byte = byte * 16 + charCode - 48; - } else { - charCode = (charCode | 32) >>> 0; - if (97 <= charCode && charCode <= 102) { - byte = byte * 16 + charCode - 87; - } else { - dart.throw(new core.ArgumentError.new("Invalid URL encoding")); - } - } - } - return byte; - } - static _uriDecode(text, start, end, encoding, plusToSpace) { - 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); - if (codeUnit > 127 || codeUnit === 37 || dart.test(plusToSpace) && codeUnit === 43) { - simple = false; - break; - } - } - let bytes = null; - if (simple) { - if (dart.equals(convert.utf8, encoding) || dart.equals(convert.latin1, encoding) || dart.equals(convert.ascii, encoding)) { - return text[$substring](start, end); - } else { - bytes = text[$substring](start, end)[$codeUnits]; - } - } else { - bytes = T$.JSArrayOfint().of([]); - for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit > 127) { - dart.throw(new core.ArgumentError.new("Illegal percent encoding in URI")); - } - if (codeUnit === 37) { - if (dart.notNull(i) + 3 > text.length) { - dart.throw(new core.ArgumentError.new("Truncated URI")); - } - bytes[$add](core._Uri._hexCharPairToByte(text, dart.notNull(i) + 1)); - i = dart.notNull(i) + 2; - } else if (dart.test(plusToSpace) && codeUnit === 43) { - bytes[$add](32); - } else { - bytes[$add](codeUnit); - } - } - } - return encoding.decode(bytes); - } - static _isAlphabeticCharacter(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], 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], 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; - this[___Uri_pathSegments_isSet] = false; - this[___Uri_hashCode] = null; - this[___Uri_hashCode_isSet] = false; - this[___Uri_queryParameters] = null; - this[___Uri_queryParameters_isSet] = false; - this[___Uri_queryParametersAll] = null; - this[___Uri_queryParametersAll_isSet] = false; - this.scheme = scheme; - this[_userInfo$] = _userInfo; - this[_host$] = _host; - this[_port$] = _port; - this.path = path; - this[_query$] = _query; - this[_fragment$] = _fragment; - ; -}).prototype = core._Uri.prototype; -dart.addTypeTests(core._Uri); -dart.addTypeCaches(core._Uri); -core._Uri[dart.implements] = () => [core.Uri]; -dart.setMethodSignature(core._Uri, () => ({ - __proto__: dart.getMethods(core._Uri.__proto__), - isScheme: dart.fnType(core.bool, [core.String]), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - removeFragment: dart.fnType(core.Uri, []), - normalizePath: dart.fnType(core.Uri, []), - [_mergePaths]: dart.fnType(core.String, [core.String, core.String]), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_toFilePath]: dart.fnType(core.String, []), - [_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, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - query: core.String, - fragment: core.String, - isAbsolute: core.bool, - hasScheme: core.bool, - hasAuthority: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - hasEmptyPath: core.bool, - hasAbsolutePath: core.bool, - origin: core.String, - data: dart.nullable(core.UriData) -})); -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), - [_userInfo$]: dart.finalFieldType(core.String), - [_host$]: dart.finalFieldType(dart.nullable(core.String)), - [_port$]: dart.fieldType(dart.nullable(core.int)), - path: dart.finalFieldType(core.String), - [_query$]: dart.finalFieldType(dart.nullable(core.String)), - [_fragment$]: dart.finalFieldType(dart.nullable(core.String)), - [___Uri__text]: dart.fieldType(dart.nullable(core.String)), - [___Uri__text_isSet]: dart.fieldType(core.bool), - [___Uri_pathSegments]: dart.fieldType(dart.nullable(core.List$(core.String))), - [___Uri_pathSegments_isSet]: dart.fieldType(core.bool), - [___Uri_hashCode]: dart.fieldType(dart.nullable(core.int)), - [___Uri_hashCode_isSet]: dart.fieldType(core.bool), - [___Uri_queryParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - [___Uri_queryParameters_isSet]: dart.fieldType(core.bool), - [___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, { - /*core._Uri._isWindowsCached*/get _isWindowsCached() { - return typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32"; - }, - /*core._Uri._needsNoEncoding*/get _needsNoEncoding() { - return core.RegExp.new("^[\\-\\.0-9A-Z_a-z~]*$"); - }, - /*core._Uri._unreservedTable*/get _unreservedTable() { - return C[444] || CT.C444; - }, - /*core._Uri._unreserved2396Table*/get _unreserved2396Table() { - return C[445] || CT.C445; - }, - /*core._Uri._encodeFullTable*/get _encodeFullTable() { - return C[446] || CT.C446; - }, - /*core._Uri._schemeTable*/get _schemeTable() { - return C[447] || CT.C447; - }, - /*core._Uri._genDelimitersTable*/get _genDelimitersTable() { - return C[448] || CT.C448; - }, - /*core._Uri._userinfoTable*/get _userinfoTable() { - return C[449] || CT.C449; - }, - /*core._Uri._regNameTable*/get _regNameTable() { - return C[450] || CT.C450; - }, - /*core._Uri._pathCharTable*/get _pathCharTable() { - return C[451] || CT.C451; - }, - /*core._Uri._pathCharOrSlashTable*/get _pathCharOrSlashTable() { - return C[452] || CT.C452; - }, - /*core._Uri._queryCharTable*/get _queryCharTable() { - return C[453] || CT.C453; - }, - /*core._Uri._zoneIDTable*/get _zoneIDTable() { - 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 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], 3387, 12, "base64"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - let charsetName = (t239 = parameters, t239 == null ? null : t239[$_get]("charset")); - let encodingName = null; - if (encoding == null) { - if (charsetName != null) { - encoding = convert.Encoding.getByName(charsetName); - } - } else if (charsetName == null) { - encodingName = encoding.name; - } - encoding == null ? encoding = convert.ascii : null; - core.UriData._writeUri(mimeType, encodingName, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(base64)) { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - buffer.write(encoding.fuse(core.String, core.UriData._base64).encode(content)); - } else { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, encoding.encode(content), buffer); - } - 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], 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"); - let buffer = new core.StringBuffer.new(); - let indices = T$.JSArrayOfint().of([-1]); - core.UriData._writeUri(mimeType, null, parameters, buffer, indices); - indices[$add](buffer.length); - if (dart.test(percentEncoded)) { - buffer.write(","); - core.UriData._uriEncodeBytes(core.UriData._uricTable, bytes, buffer); - } else { - buffer.write(";base64,"); - indices[$add](dart.notNull(buffer.length) - 1); - core.UriData._base64.encoder.startChunkedConversion(new (T$0._StringSinkConversionSinkOfStringSink()).new(buffer)).addSlice(bytes, 0, bytes[$length], true); - } - 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], 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)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have authority")); - } - if (dart.test(uri.hasFragment)) { - dart.throw(new core.ArgumentError.value(uri, "uri", "Data uri must not have a fragment part")); - } - if (!dart.test(uri.hasQuery)) { - return core.UriData._parse(uri.path, 0, uri); - } - 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 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") { - buffer.write(mimeType); - } else { - let slashIndex = core.UriData._validateMimeType(mimeType); - if (dart.notNull(slashIndex) < 0) { - dart.throw(new core.ArgumentError.value(mimeType, "mimeType", "Invalid MIME type")); - } - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](0, slashIndex), convert.utf8, false)); - buffer.write("/"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, mimeType[$substring](dart.notNull(slashIndex) + 1), convert.utf8, false)); - } - if (charsetName != null) { - 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)); - } - 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) + "\"]")); - } - t240 = indices; - t240 == null ? null : t240[$add](buffer.length); - buffer.write(";"); - buffer.write(core._Uri._uriEncode(core.UriData._tokenCharTable, key, convert.utf8, false)); - 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], 3524, 39, "mimeType"); - let slashIndex = -1; - for (let i = 0; i < mimeType.length; i = i + 1) { - let char = mimeType[$codeUnitAt](i); - if (char !== 47) continue; - if (slashIndex < 0) { - slashIndex = i; - continue; - } - return -1; - } - return slashIndex; - } - static parse(uri) { - if (uri == null) dart.nullFailed(I[175], 3564, 31, "uri"); - if (uri.length >= 5) { - let dataDelta = core._startsWithData(uri, 0); - if (dataDelta === 0) { - return core.UriData._parse(uri, 5, null); - } - if (dataDelta === 32) { - return core.UriData._parse(uri[$substring](5), 0, null); - } - } - dart.throw(new core.FormatException.new("Does not start with 'data:'", uri, 0)); - } - get uri() { - let t239; - t239 = this[_uriCache$]; - return t239 == null ? this[_uriCache$] = this[_computeUri]() : t239; - } - [_computeUri]() { - let path = this[_text$]; - let query = null; - let colonIndex = this[_separatorIndices$][$_get](0); - let queryIndex = this[_text$][$indexOf]("?", dart.notNull(colonIndex) + 1); - let end = this[_text$].length; - if (queryIndex >= 0) { - query = core._Uri._normalizeOrSubstring(this[_text$], queryIndex + 1, end, core._Uri._queryCharTable); - end = queryIndex; - } - path = core._Uri._normalizeOrSubstring(this[_text$], dart.notNull(colonIndex) + 1, end, core._Uri._pathCharOrSlashTable); - return new core._DataUri.new(this, path, query); - } - get mimeType() { - let start = dart.notNull(this[_separatorIndices$][$_get](0)) + 1; - let end = this[_separatorIndices$][$_get](1); - 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 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); - } - 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 -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]; - } - get contentText() { - return this[_text$][$substring](dart.notNull(this[_separatorIndices$][$last]) + 1); - } - contentAsBytes() { - let t239, t239$; - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - return convert.base64.decoder.convert(text, start); - } - let length = text.length - start; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit === 37) { - i = i + 2; - length = length - 2; - } - } - let result = _native_typed_data.NativeUint8List.new(length); - if (length === text.length) { - result[$setRange](0, length, text[$codeUnits], start); - return result; - } - let index = 0; - for (let i = start; i < text.length; i = i + 1) { - let codeUnit = text[$codeUnitAt](i); - if (codeUnit !== 37) { - 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]((t239$ = index, index = t239$ + 1, t239$), byte); - i = i + 2; - continue; - } - } - dart.throw(new core.FormatException.new("Invalid percent escape", text, i)); - } - } - if (!(index === result[$length])) dart.assertFailed(null, I[175], 3799, 12, "index == result.length"); - return result; - } - contentAsString(opts) { - let encoding = opts && 'encoding' in opts ? opts.encoding : null; - if (encoding == null) { - let charset = this.charset; - encoding = convert.Encoding.getByName(charset); - if (encoding == null) { - dart.throw(new core.UnsupportedError.new("Unknown charset: " + dart.str(charset))); - } - } - let text = this[_text$]; - let start = dart.notNull(this[_separatorIndices$][$last]) + 1; - if (dart.test(this.isBase64)) { - let converter = convert.base64.decoder.fuse(core.String, encoding.decoder); - return converter.convert(text[$substring](start)); - } - return core._Uri._uriDecode(text, start, text.length, encoding, false); - } - get parameters() { - let result = new (T$.IdentityMapOfString$String()).new(); - for (let i = 3; i < dart.notNull(this[_separatorIndices$][$length]); i = i + 2) { - let start = dart.notNull(this[_separatorIndices$][$_get](i - 2)) + 1; - let equals = this[_separatorIndices$][$_get](i - 1); - let end = this[_separatorIndices$][$_get](i); - let key = core._Uri._uriDecode(this[_text$], start, equals, convert.utf8, false); - let value = core._Uri._uriDecode(this[_text$], dart.notNull(equals) + 1, end, convert.utf8, false); - result[$_set](key, value); - } - return result; - } - static _parse(text, start, sourceUri) { - 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; - let i = start; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 44) || dart.equals(char, 59)) break; - if (dart.equals(char, 47)) { - if (dart.notNull(slashIndex) < 0) { - slashIndex = i; - continue; - } - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - } - if (dart.notNull(slashIndex) < 0 && dart.notNull(i) > dart.notNull(start)) { - dart.throw(new core.FormatException.new("Invalid MIME type", text, i)); - } - while (!dart.equals(char, 44)) { - indices[$add](i); - i = dart.notNull(i) + 1; - let equalsIndex = -1; - for (; dart.notNull(i) < text.length; i = dart.notNull(i) + 1) { - char = text[$codeUnitAt](i); - if (dart.equals(char, 61)) { - if (dart.notNull(equalsIndex) < 0) equalsIndex = i; - } else if (dart.equals(char, 59) || dart.equals(char, 44)) { - break; - } - } - if (dart.notNull(equalsIndex) >= 0) { - indices[$add](equalsIndex); - } else { - let lastSeparator = indices[$last]; - if (!dart.equals(char, 44) || i !== dart.notNull(lastSeparator) + 7 || !text[$startsWith]("base64", dart.notNull(lastSeparator) + 1)) { - dart.throw(new core.FormatException.new("Expecting '='", text, i)); - } - break; - } - } - indices[$add](i); - let isBase64 = indices[$length][$isOdd]; - if (isBase64) { - text = convert.base64.normalize(text, dart.notNull(i) + 1, text.length); - } else { - let data = core._Uri._normalize(text, dart.notNull(i) + 1, text.length, core.UriData._uricTable, {escapeDelimiters: true}); - if (data != null) { - text = text[$replaceRange](dart.notNull(i) + 1, text.length, data); - } - } - return new core.UriData.__(text, indices, sourceUri); - } - static _uriEncodeBytes(canonicalTable, bytes, 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); - byteOr = (byteOr | dart.notNull(byte)) >>> 0; - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[$_get](byte[$rightShift](4))) & 1 << (dart.notNull(byte) & 15)) !== 0) { - buffer.writeCharCode(byte); - } else { - buffer.writeCharCode(37); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](byte[$rightShift](4))); - buffer.writeCharCode("0123456789ABCDEF"[$codeUnitAt](dart.notNull(byte) & 15)); - } - } - if ((byteOr & ~255 >>> 0) !== 0) { - for (let i = 0; i < dart.notNull(bytes[$length]); i = i + 1) { - let byte = bytes[$_get](i); - if (dart.notNull(byte) < 0 || dart.notNull(byte) > 255) { - dart.throw(new core.ArgumentError.value(byte, "non-byte value")); - } - } - } - } - toString() { - return this[_separatorIndices$][$_get](0) === -1 ? "data:" + dart.str(this[_text$]) : this[_text$]; - } -}; -(core.UriData.__ = function(_text, _separatorIndices, _uriCache) { - 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; - ; -}).prototype = core.UriData.prototype; -dart.addTypeTests(core.UriData); -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, - mimeType: core.String, - charset: core.String, - isBase64: core.bool, - contentText: core.String, - parameters: core.Map$(core.String, core.String) -})); -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[110] || CT.C110; - }, - /*core.UriData._tokenCharTable*/get _tokenCharTable() { - return C[454] || CT.C454; - }, - /*core.UriData._uricTable*/get _uricTable() { - return C[453] || CT.C453; - } -}, false); -var _hashCodeCache = dart.privateName(core, "_hashCodeCache"); -var _uri$ = dart.privateName(core, "_uri"); -var _schemeEnd$ = dart.privateName(core, "_schemeEnd"); -var _hostStart$ = dart.privateName(core, "_hostStart"); -var _portStart$ = dart.privateName(core, "_portStart"); -var _pathStart$ = dart.privateName(core, "_pathStart"); -var _queryStart$ = dart.privateName(core, "_queryStart"); -var _fragmentStart$ = dart.privateName(core, "_fragmentStart"); -var _schemeCache$ = dart.privateName(core, "_schemeCache"); -var _isFile = dart.privateName(core, "_isFile"); -var _isHttp = dart.privateName(core, "_isHttp"); -var _isHttps = dart.privateName(core, "_isHttps"); -var _isPackage = dart.privateName(core, "_isPackage"); -var _isScheme = dart.privateName(core, "_isScheme"); -var _computeScheme = dart.privateName(core, "_computeScheme"); -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; - } - get hasAuthority() { - return dart.notNull(this[_hostStart$]) > 0; - } - get hasUserInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 4; - } - get hasPort() { - return dart.notNull(this[_hostStart$]) > 0 && dart.notNull(this[_portStart$]) + 1 < dart.notNull(this[_pathStart$]); - } - get hasQuery() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]); - } - get hasFragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length; - } - get [_isFile]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("file"); - } - get [_isHttp]() { - return this[_schemeEnd$] === 4 && this[_uri$][$startsWith]("http"); - } - get [_isHttps]() { - return this[_schemeEnd$] === 5 && this[_uri$][$startsWith]("https"); - } - get [_isPackage]() { - return this[_schemeEnd$] === 7 && this[_uri$][$startsWith]("package"); - } - [_isScheme](scheme) { - if (scheme == null) dart.nullFailed(I[175], 4438, 25, "scheme"); - return this[_schemeEnd$] === scheme.length && this[_uri$][$startsWith](scheme); - } - get hasAbsolutePath() { - return this[_uri$][$startsWith]("/", this[_pathStart$]); - } - get hasEmptyPath() { - return this[_pathStart$] == this[_queryStart$]; - } - get isAbsolute() { - return dart.test(this.hasScheme) && !dart.test(this.hasFragment); - } - isScheme(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._caseInsensitiveStartsWith(scheme, this[_uri$], 0); - } - get scheme() { - let t239; - t239 = this[_schemeCache$]; - return t239 == null ? this[_schemeCache$] = this[_computeScheme]() : t239; - } - [_computeScheme]() { - if (dart.notNull(this[_schemeEnd$]) <= 0) return ""; - if (dart.test(this[_isHttp])) return "http"; - if (dart.test(this[_isHttps])) return "https"; - if (dart.test(this[_isFile])) return "file"; - if (dart.test(this[_isPackage])) return "package"; - return this[_uri$][$substring](0, this[_schemeEnd$]); - } - get authority() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_pathStart$]) : ""; - } - get userInfo() { - return dart.notNull(this[_hostStart$]) > dart.notNull(this[_schemeEnd$]) + 3 ? this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, dart.notNull(this[_hostStart$]) - 1) : ""; - } - get host() { - return dart.notNull(this[_hostStart$]) > 0 ? this[_uri$][$substring](this[_hostStart$], this[_portStart$]) : ""; - } - get port() { - if (dart.test(this.hasPort)) return core.int.parse(this[_uri$][$substring](dart.notNull(this[_portStart$]) + 1, this[_pathStart$])); - if (dart.test(this[_isHttp])) return 80; - if (dart.test(this[_isHttps])) return 443; - return 0; - } - get path() { - return this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - } - get query() { - return dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$]) ? this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]) : ""; - } - get fragment() { - return dart.notNull(this[_fragmentStart$]) < this[_uri$].length ? this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1) : ""; - } - get origin() { - let isHttp = this[_isHttp]; - if (dart.notNull(this[_schemeEnd$]) < 0) { - dart.throw(new core.StateError.new("Cannot use origin without a scheme: " + dart.str(this))); - } - if (!dart.test(isHttp) && !dart.test(this[_isHttps])) { - dart.throw(new core.StateError.new("Origin is only applicable to schemes http and https: " + dart.str(this))); - } - if (this[_hostStart$] == this[_portStart$]) { - dart.throw(new core.StateError.new("A " + dart.str(this.scheme) + ": URI should have a non-empty host name: " + dart.str(this))); - } - if (this[_hostStart$] === dart.notNull(this[_schemeEnd$]) + 3) { - return this[_uri$][$substring](0, this[_pathStart$]); - } - return this[_uri$][$substring](0, dart.notNull(this[_schemeEnd$]) + 3) + this[_uri$][$substring](this[_hostStart$], this[_pathStart$]); - } - get pathSegments() { - let start = this[_pathStart$]; - let end = this[_queryStart$]; - if (this[_uri$][$startsWith]("/", start)) start = dart.notNull(start) + 1; - 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); - if (char === 47) { - parts[$add](this[_uri$][$substring](start, i)); - start = dart.notNull(i) + 1; - } - } - parts[$add](this[_uri$][$substring](start, end)); - return T$.ListOfString().unmodifiable(parts); - } - get queryParameters() { - 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[441] || CT.C441; - let queryParameterLists = core._Uri._splitQueryStringAll(this.query); - queryParameterLists[$updateAll](C[442] || CT.C442); - return T$0.MapOfString$ListOfString().unmodifiable(queryParameterLists); - } - [_isPort](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); - } - normalizePath() { - return this; - } - removeFragment() { - if (!dart.test(this.hasFragment)) return this; - return new core._SimpleUri.new(this[_uri$][$substring](0, this[_fragmentStart$]), this[_schemeEnd$], this[_hostStart$], this[_portStart$], this[_pathStart$], this[_queryStart$], this[_fragmentStart$], this[_schemeCache$]); - } - replace(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; - let schemeChanged = false; - if (scheme != null) { - scheme = core._Uri._makeScheme(scheme, 0, scheme.length); - schemeChanged = !dart.test(this[_isScheme](scheme)); - } else { - scheme = this.scheme; - } - let isFile = scheme === "file"; - if (userInfo != null) { - userInfo = core._Uri._makeUserInfo(userInfo, 0, userInfo.length); - } else if (dart.notNull(this[_hostStart$]) > 0) { - userInfo = this[_uri$][$substring](dart.notNull(this[_schemeEnd$]) + 3, this[_hostStart$]); - } else { - userInfo = ""; - } - if (port != null) { - port = core._Uri._makePort(port, scheme); - } else { - port = dart.test(this.hasPort) ? this.port : null; - if (schemeChanged) { - port = core._Uri._makePort(port, scheme); - } - } - if (host != null) { - host = core._Uri._makeHost(host, 0, host.length, false); - } else if (dart.notNull(this[_hostStart$]) > 0) { - host = this[_uri$][$substring](this[_hostStart$], this[_portStart$]); - } else if (userInfo[$isNotEmpty] || port != null || isFile) { - host = ""; - } - let hasAuthority = host != null; - if (path != null || pathSegments != null) { - path = core._Uri._makePath(path, 0, core._stringOrNullLength(path), pathSegments, scheme, hasAuthority); - } else { - path = this[_uri$][$substring](this[_pathStart$], this[_queryStart$]); - if ((isFile || hasAuthority && !path[$isEmpty]) && !path[$startsWith]("/")) { - path = "/" + dart.notNull(path); - } - } - if (query != null || queryParameters != null) { - query = core._Uri._makeQuery(query, 0, core._stringOrNullLength(query), queryParameters); - } else if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - query = this[_uri$][$substring](dart.notNull(this[_queryStart$]) + 1, this[_fragmentStart$]); - } - if (fragment != null) { - fragment = core._Uri._makeFragment(fragment, 0, fragment.length); - } else if (dart.notNull(this[_fragmentStart$]) < this[_uri$].length) { - fragment = this[_uri$][$substring](dart.notNull(this[_fragmentStart$]) + 1); - } - return new core._Uri._internal(scheme, userInfo, host, port, path, query, fragment); - } - resolve(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], 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], 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], 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; - let isSimple = true; - if (dart.test(base[_isFile])) { - isSimple = !dart.test(ref.hasEmptyPath); - } else if (dart.test(base[_isHttp])) { - isSimple = !dart.test(ref[_isPort]("80")); - } else if (dart.test(base[_isHttps])) { - isSimple = !dart.test(ref[_isPort]("443")); - } - if (isSimple) { - let delta = dart.notNull(base[_schemeEnd$]) + 1; - let newUri = base[_uri$][$substring](0, dart.notNull(base[_schemeEnd$]) + 1) + ref[_uri$][$substring](dart.notNull(ref[_schemeEnd$]) + 1); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], dart.notNull(ref[_hostStart$]) + delta, dart.notNull(ref[_portStart$]) + delta, dart.notNull(ref[_pathStart$]) + delta, dart.notNull(ref[_queryStart$]) + delta, dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } else { - return this[_toNonSimple]().resolveUri(ref); - } - } - if (dart.test(ref.hasEmptyPath)) { - if (dart.test(ref.hasQuery)) { - let delta = dart.notNull(base[_queryStart$]) - dart.notNull(ref[_queryStart$]); - let newUri = base[_uri$][$substring](0, base[_queryStart$]) + ref[_uri$][$substring](ref[_queryStart$]); - 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$]); - } - if (dart.test(ref.hasFragment)) { - let delta = dart.notNull(base[_fragmentStart$]) - dart.notNull(ref[_fragmentStart$]); - let newUri = base[_uri$][$substring](0, base[_fragmentStart$]) + ref[_uri$][$substring](ref[_fragmentStart$]); - return new core._SimpleUri.new(newUri, base[_schemeEnd$], base[_hostStart$], base[_portStart$], base[_pathStart$], base[_queryStart$], dart.notNull(ref[_fragmentStart$]) + delta, base[_schemeCache$]); - } - return base.removeFragment(); - } - if (dart.test(ref.hasAbsolutePath)) { - let basePathStart = base[_pathStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) > 0) basePathStart = packageNameEnd; - let delta = dart.notNull(basePathStart) - dart.notNull(ref[_pathStart$]); - let newUri = base[_uri$][$substring](0, basePathStart) + ref[_uri$][$substring](ref[_pathStart$]); - 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$]); - } - if (dart.test(base.hasEmptyPath) && dart.test(base.hasAuthority)) { - let refStart = ref[_pathStart$]; - while (ref[_uri$][$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - } - let delta = dart.notNull(base[_pathStart$]) - dart.notNull(refStart) + 1; - let newUri = base[_uri$][$substring](0, base[_pathStart$]) + "/" + ref[_uri$][$substring](refStart); - 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$]); - } - let baseUri = base[_uri$]; - let refUri = ref[_uri$]; - let baseStart = base[_pathStart$]; - let baseEnd = base[_queryStart$]; - let packageNameEnd = core._SimpleUri._packageNameEnd(this); - if (dart.notNull(packageNameEnd) >= 0) { - baseStart = packageNameEnd; - } else { - while (baseUri[$startsWith]("../", baseStart)) - baseStart = dart.notNull(baseStart) + 3; - } - let refStart = ref[_pathStart$]; - let refEnd = ref[_queryStart$]; - let backCount = 0; - while (dart.notNull(refStart) + 3 <= dart.notNull(refEnd) && refUri[$startsWith]("../", refStart)) { - refStart = dart.notNull(refStart) + 3; - backCount = backCount + 1; - } - let insert = ""; - while (dart.notNull(baseEnd) > dart.notNull(baseStart)) { - baseEnd = dart.notNull(baseEnd) - 1; - let char = baseUri[$codeUnitAt](baseEnd); - if (char === 47) { - insert = "/"; - if (backCount === 0) break; - backCount = backCount - 1; - } - } - if (baseEnd == baseStart && !dart.test(base.hasScheme) && !dart.test(base.hasAbsolutePath)) { - insert = ""; - refStart = dart.notNull(refStart) - backCount * 3; - } - let delta = dart.notNull(baseEnd) - dart.notNull(refStart) + insert.length; - let newUri = base[_uri$][$substring](0, baseEnd) + insert + ref[_uri$][$substring](refStart); - 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 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")); - } - if (dart.notNull(this[_queryStart$]) < this[_uri$].length) { - if (dart.notNull(this[_queryStart$]) < dart.notNull(this[_fragmentStart$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a query component")); - } - dart.throw(new core.UnsupportedError.new("Cannot extract a file path from a URI with a fragment component")); - } - 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$])) { - dart.throw(new core.UnsupportedError.new("Cannot extract a non-Windows file path from a file URI " + "with an authority")); - } - return this.path; - } - get data() { - if (!(this.scheme !== "data")) dart.assertFailed(null, I[175], 4868, 12, "scheme != \"data\""); - return null; - } - get hashCode() { - let t239; - t239 = this[_hashCodeCache]; - return t239 == null ? this[_hashCodeCache] = dart.hashCode(this[_uri$]) : t239; - } - _equals(other) { - if (other == null) return false; - if (this === other) return true; - return core.Uri.is(other) && this[_uri$] == dart.toString(other); - } - [_toNonSimple]() { - return new core._Uri._internal(this.scheme, this.userInfo, dart.test(this.hasAuthority) ? this.host : null, dart.test(this.hasPort) ? this.port : null, this.path, dart.test(this.hasQuery) ? this.query : null, dart.test(this.hasFragment) ? this.fragment : null); - } - toString() { - return this[_uri$]; - } -}; -(core._SimpleUri.new = function(_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"); - this[_hashCodeCache] = null; - this[_uri$] = _uri; - this[_schemeEnd$] = _schemeEnd; - this[_hostStart$] = _hostStart; - this[_portStart$] = _portStart; - this[_pathStart$] = _pathStart; - this[_queryStart$] = _queryStart; - this[_fragmentStart$] = _fragmentStart; - this[_schemeCache$] = _schemeCache; - ; -}).prototype = core._SimpleUri.prototype; -dart.addTypeTests(core._SimpleUri); -dart.addTypeCaches(core._SimpleUri); -core._SimpleUri[dart.implements] = () => [core.Uri]; -dart.setMethodSignature(core._SimpleUri, () => ({ - __proto__: dart.getMethods(core._SimpleUri.__proto__), - [_isScheme]: dart.fnType(core.bool, [core.String]), - isScheme: dart.fnType(core.bool, [core.String]), - [_computeScheme]: dart.fnType(core.String, []), - [_isPort]: dart.fnType(core.bool, [core.String]), - normalizePath: dart.fnType(core.Uri, []), - removeFragment: dart.fnType(core.Uri, []), - replace: dart.fnType(core.Uri, [], {fragment: dart.nullable(core.String), host: dart.nullable(core.String), path: dart.nullable(core.String), pathSegments: dart.nullable(core.Iterable$(core.String)), port: dart.nullable(core.int), query: dart.nullable(core.String), queryParameters: dart.nullable(core.Map$(core.String, dart.dynamic)), scheme: dart.nullable(core.String), userInfo: dart.nullable(core.String)}, {}), - resolve: dart.fnType(core.Uri, [core.String]), - resolveUri: dart.fnType(core.Uri, [core.Uri]), - [_simpleMerge]: dart.fnType(core.Uri, [core._SimpleUri, core._SimpleUri]), - toFilePath: dart.fnType(core.String, [], {windows: dart.nullable(core.bool)}, {}), - [_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, - hasAuthority: core.bool, - hasUserInfo: core.bool, - hasPort: core.bool, - hasQuery: core.bool, - hasFragment: core.bool, - [_isFile]: core.bool, - [_isHttp]: core.bool, - [_isHttps]: core.bool, - [_isPackage]: core.bool, - hasAbsolutePath: core.bool, - hasEmptyPath: core.bool, - isAbsolute: core.bool, - scheme: core.String, - authority: core.String, - userInfo: core.String, - host: core.String, - port: core.int, - path: core.String, - query: core.String, - fragment: core.String, - origin: core.String, - pathSegments: core.List$(core.String), - queryParameters: core.Map$(core.String, core.String), - queryParametersAll: core.Map$(core.String, core.List$(core.String)), - data: dart.nullable(core.UriData) -})); -dart.setLibraryUri(core._SimpleUri, I[9]); -dart.setFieldSignature(core._SimpleUri, () => ({ - __proto__: dart.getFields(core._SimpleUri.__proto__), - [_uri$]: dart.finalFieldType(core.String), - [_schemeEnd$]: dart.finalFieldType(core.int), - [_hostStart$]: dart.finalFieldType(core.int), - [_portStart$]: dart.finalFieldType(core.int), - [_pathStart$]: dart.finalFieldType(core.int), - [_queryStart$]: dart.finalFieldType(core.int), - [_fragmentStart$]: dart.finalFieldType(core.int), - [_schemeCache$]: dart.fieldType(dart.nullable(core.String)), - [_hashCodeCache]: dart.fieldType(dart.nullable(core.int)) -})); -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], 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[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], 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], 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; -}; -core.identityHashCode = function identityHashCode(object) { - if (object == null) return 0; - let hash = object[dart.identityHashCode_]; - if (hash == null) { - hash = Math.random() * 0x3fffffff | 0; - object[dart.identityHashCode_] = hash; - } - return hash; -}; -core.print = function print$0(object) { - let line = dart.str(object); - let toZone = _internal.printToZone; - if (toZone == null) { - _internal.printToConsole(line); - } else { - toZone(line); - } -}; -core._isLeadSurrogate = function _isLeadSurrogate$(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[173], 794, 28, "code"); - return (dart.notNull(code) & 64512) === 56320; -}; -core._combineSurrogatePair = function _combineSurrogatePair$(start, 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], 4180, 54, "_"); - return _native_typed_data.NativeUint8List.new(96); - }, T$0.intToUint8List())); - function build(state, defaultTransition) { - let t247; - t247 = tables[$_get](core.int.as(state)); - return (() => { - 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], 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); - } - } - dart.fn(setChars, T$0.Uint8ListAndStringAndintTovoid()); - function setRange(target, range, 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); - } - } - dart.fn(setRange, T$0.Uint8ListAndStringAndintTovoid()); - let b = null; - b = build(0, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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), "?", (12 | 160) >>> 0); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(15, (1 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 1); - 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); - b = build(4, (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), ":", (6 | 96) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), pchar, 5); - setRange(typed_data.Uint8List.as(b), "AZ", (5 | 224) >>> 0); - 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); - setChars(typed_data.Uint8List.as(b), "]", 5); - 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), "?", (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), "?", (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); - 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), "?", (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), "?", (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); - setChars(typed_data.Uint8List.as(b), pchar, 12); - setChars(typed_data.Uint8List.as(b), "?", 12); - setChars(typed_data.Uint8List.as(b), "#", (13 | 192) >>> 0); - b = build(13, (13 | 224) >>> 0); - setChars(typed_data.Uint8List.as(b), pchar, 13); - setChars(typed_data.Uint8List.as(b), "?", 13); - b = build(20, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - b = build(21, (21 | 224) >>> 0); - setRange(typed_data.Uint8List.as(b), "az", 21); - setRange(typed_data.Uint8List.as(b), "09", 21); - setChars(typed_data.Uint8List.as(b), "+-.", 21); - return tables; -}; -core._scan = function _scan(uri, start, end, state, 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], 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; - if (char > 95) char = 31; - let transition = table[$_get](char); - state = dart.notNull(transition) & 31; - indices[$_set](transition[$rightShift](5), i); - } - return state; -}; -core._startsWithData = function _startsWithData(text, 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; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 2) ^ 116) >>> 0) >>> 0; - delta = (delta | (text[$codeUnitAt](dart.notNull(start) + 3) ^ 97) >>> 0) >>> 0; - return delta; -}; -core._stringOrNullLength = function _stringOrNullLength(s) { - return s == null ? 0 : s.length; -}; -core._toUnmodifiableStringList = function _toUnmodifiableStringList(key, 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], 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); - if (char === 47) return dots !== 0 ? i : -1; - if (char === 37 || char === 58) return -1; - dots = (dots | (char ^ 46) >>> 0) >>> 0; - } - 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[458] || CT.C458; - }, - /*core.override*/get override() { - return C[459] || CT.C459; - }, - /*core.provisional*/get provisional() { - return null; - }, - /*core.proxy*/get proxy() { - return null; - }, - /*core._hashSeed*/get _hashSeed() { - return core.identityHashCode(dart.wrapType(core.Object)); - }, - /*core._SPACE*/get _SPACE() { - return 32; - }, - /*core._PERCENT*/get _PERCENT() { - return 37; - }, - /*core._AMPERSAND*/get _AMPERSAND() { - return 38; - }, - /*core._PLUS*/get _PLUS() { - return 43; - }, - /*core._DOT*/get _DOT() { - return 46; - }, - /*core._SLASH*/get _SLASH() { - return 47; - }, - /*core._COLON*/get _COLON() { - return 58; - }, - /*core._EQUALS*/get _EQUALS() { - return 61; - }, - /*core._UPPER_CASE_A*/get _UPPER_CASE_A() { - return 65; - }, - /*core._UPPER_CASE_Z*/get _UPPER_CASE_Z() { - return 90; - }, - /*core._LEFT_BRACKET*/get _LEFT_BRACKET() { - return 91; - }, - /*core._BACKSLASH*/get _BACKSLASH() { - return 92; - }, - /*core._RIGHT_BRACKET*/get _RIGHT_BRACKET() { - return 93; - }, - /*core._LOWER_CASE_A*/get _LOWER_CASE_A() { - return 97; - }, - /*core._LOWER_CASE_F*/get _LOWER_CASE_F() { - return 102; - }, - /*core._LOWER_CASE_Z*/get _LOWER_CASE_Z() { - return 122; - }, - /*core._hexDigits*/get _hexDigits() { - return "0123456789ABCDEF"; - }, - /*core._schemeEndIndex*/get _schemeEndIndex() { - return 1; - }, - /*core._hostStartIndex*/get _hostStartIndex() { - return 2; - }, - /*core._portStartIndex*/get _portStartIndex() { - return 3; - }, - /*core._pathStartIndex*/get _pathStartIndex() { - return 4; - }, - /*core._queryStartIndex*/get _queryStartIndex() { - return 5; - }, - /*core._fragmentStartIndex*/get _fragmentStartIndex() { - return 6; - }, - /*core._notSimpleIndex*/get _notSimpleIndex() { - return 7; - }, - /*core._uriStart*/get _uriStart() { - return 0; - }, - /*core._nonSimpleEndStates*/get _nonSimpleEndStates() { - return 14; - }, - /*core._schemeStart*/get _schemeStart() { - return 20; - }, - /*core._scannerTables*/get _scannerTables() { - return core._createTables(); - } -}, false); -var serverHeader = dart.privateName(_http, "HttpServer.serverHeader"); -var autoCompress = dart.privateName(_http, "HttpServer.autoCompress"); -var idleTimeout = dart.privateName(_http, "HttpServer.idleTimeout"); -_http.HttpServer = class HttpServer extends core.Object { - get serverHeader() { - return this[serverHeader]; - } - set serverHeader(value) { - this[serverHeader] = value; - } - get autoCompress() { - return this[autoCompress]; - } - set autoCompress(value) { - if (value == null) dart.nullFailed(I[176], 139, 8, "autoCompress"); - this[autoCompress] = value; - } - get idleTimeout() { - return this[idleTimeout]; - } - set idleTimeout(value) { - this[idleTimeout] = value; - } - static bind(address, port, opts) { - 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], 190, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 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], 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], 233, 16, "backlog"); - let v6Only = opts && 'v6Only' in opts ? opts.v6Only : false; - 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], 235, 16, "requestClientCertificate"); - let shared = opts && 'shared' in opts ? opts.shared : false; - 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], 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[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__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - autoCompress: dart.fieldType(core.bool), - idleTimeout: dart.fieldType(dart.nullable(core.Duration)) -})); -var total = dart.privateName(_http, "HttpConnectionsInfo.total"); -var active = dart.privateName(_http, "HttpConnectionsInfo.active"); -var idle = dart.privateName(_http, "HttpConnectionsInfo.idle"); -var closing = dart.privateName(_http, "HttpConnectionsInfo.closing"); -_http.HttpConnectionsInfo = class HttpConnectionsInfo extends core.Object { - get total() { - 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; - this[active] = 0; - this[idle] = 0; - this[closing] = 0; - ; -}).prototype = _http.HttpConnectionsInfo.prototype; -dart.addTypeTests(_http.HttpConnectionsInfo); -dart.addTypeCaches(_http.HttpConnectionsInfo); -dart.setLibraryUri(_http.HttpConnectionsInfo, I[177]); -dart.setFieldSignature(_http.HttpConnectionsInfo, () => ({ - __proto__: dart.getFields(_http.HttpConnectionsInfo.__proto__), - total: dart.fieldType(core.int), - active: dart.fieldType(core.int), - idle: dart.fieldType(core.int), - closing: dart.fieldType(core.int) -})); -var date = dart.privateName(_http, "HttpHeaders.date"); -var expires = dart.privateName(_http, "HttpHeaders.expires"); -var ifModifiedSince = dart.privateName(_http, "HttpHeaders.ifModifiedSince"); -var host = dart.privateName(_http, "HttpHeaders.host"); -var port = dart.privateName(_http, "HttpHeaders.port"); -var contentType = dart.privateName(_http, "HttpHeaders.contentType"); -var contentLength = dart.privateName(_http, "HttpHeaders.contentLength"); -var __HttpHeaders_persistentConnection = dart.privateName(_http, "_#HttpHeaders#persistentConnection"); -var __HttpHeaders_persistentConnection_isSet = dart.privateName(_http, "_#HttpHeaders#persistentConnection#isSet"); -var __HttpHeaders_chunkedTransferEncoding = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding"); -var __HttpHeaders_chunkedTransferEncoding_isSet = dart.privateName(_http, "_#HttpHeaders#chunkedTransferEncoding#isSet"); -_http.HttpHeaders = class HttpHeaders extends core.Object { - get date() { - return this[date]; - } - set date(value) { - this[date] = value; - } - get expires() { - return this[expires]; - } - set expires(value) { - this[expires] = value; - } - get ifModifiedSince() { - return this[ifModifiedSince]; - } - set ifModifiedSince(value) { - this[ifModifiedSince] = value; - } - get host() { - return this[host]; - } - set host(value) { - this[host] = value; - } - get port() { - return this[port]; - } - set port(value) { - this[port] = value; - } - get contentType() { - return this[contentType]; - } - set contentType(value) { - this[contentType] = value; - } - get contentLength() { - return this[contentLength]; - } - set contentLength(value) { - if (value == null) dart.nullFailed(I[176], 477, 7, "contentLength"); - this[contentLength] = value; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpHeaders_persistentConnection_isSet]) ? (t247 = this[__HttpHeaders_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 480, 13, "persistentConnection#param"); - this[__HttpHeaders_persistentConnection_isSet] = true; - this[__HttpHeaders_persistentConnection] = persistentConnection$35param; - } - get chunkedTransferEncoding() { - let t247; - return dart.test(this[__HttpHeaders_chunkedTransferEncoding_isSet]) ? (t247 = this[__HttpHeaders_chunkedTransferEncoding], t247) : dart.throw(new _internal.LateError.fieldNI("chunkedTransferEncoding")); - } - set chunkedTransferEncoding(chunkedTransferEncoding$35param) { - if (chunkedTransferEncoding$35param == null) dart.nullFailed(I[176], 485, 13, "chunkedTransferEncoding#param"); - this[__HttpHeaders_chunkedTransferEncoding_isSet] = true; - this[__HttpHeaders_chunkedTransferEncoding] = chunkedTransferEncoding$35param; - } -}; -(_http.HttpHeaders.new = function() { - this[date] = null; - this[expires] = null; - this[ifModifiedSince] = null; - this[host] = null; - this[port] = null; - this[contentType] = null; - this[contentLength] = -1; - this[__HttpHeaders_persistentConnection] = null; - this[__HttpHeaders_persistentConnection_isSet] = false; - this[__HttpHeaders_chunkedTransferEncoding] = null; - this[__HttpHeaders_chunkedTransferEncoding_isSet] = false; - ; -}).prototype = _http.HttpHeaders.prototype; -dart.addTypeTests(_http.HttpHeaders); -dart.addTypeCaches(_http.HttpHeaders); -dart.setGetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getGetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool -})); -dart.setSetterSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getSetters(_http.HttpHeaders.__proto__), - persistentConnection: core.bool, - chunkedTransferEncoding: core.bool -})); -dart.setLibraryUri(_http.HttpHeaders, I[177]); -dart.setFieldSignature(_http.HttpHeaders, () => ({ - __proto__: dart.getFields(_http.HttpHeaders.__proto__), - date: dart.fieldType(dart.nullable(core.DateTime)), - expires: dart.fieldType(dart.nullable(core.DateTime)), - ifModifiedSince: dart.fieldType(dart.nullable(core.DateTime)), - host: dart.fieldType(dart.nullable(core.String)), - port: dart.fieldType(dart.nullable(core.int)), - contentType: dart.fieldType(dart.nullable(_http.ContentType)), - contentLength: dart.fieldType(core.int), - [__HttpHeaders_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpHeaders_persistentConnection_isSet]: dart.fieldType(core.bool), - [__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"; - }, - /*_http.HttpHeaders.acceptCharsetHeader*/get acceptCharsetHeader() { - return "accept-charset"; - }, - /*_http.HttpHeaders.acceptEncodingHeader*/get acceptEncodingHeader() { - return "accept-encoding"; - }, - /*_http.HttpHeaders.acceptLanguageHeader*/get acceptLanguageHeader() { - return "accept-language"; - }, - /*_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"; - }, - /*_http.HttpHeaders.allowHeader*/get allowHeader() { - return "allow"; - }, - /*_http.HttpHeaders.authorizationHeader*/get authorizationHeader() { - return "authorization"; - }, - /*_http.HttpHeaders.cacheControlHeader*/get cacheControlHeader() { - return "cache-control"; - }, - /*_http.HttpHeaders.connectionHeader*/get connectionHeader() { - return "connection"; - }, - /*_http.HttpHeaders.contentEncodingHeader*/get contentEncodingHeader() { - return "content-encoding"; - }, - /*_http.HttpHeaders.contentLanguageHeader*/get contentLanguageHeader() { - return "content-language"; - }, - /*_http.HttpHeaders.contentLengthHeader*/get contentLengthHeader() { - return "content-length"; - }, - /*_http.HttpHeaders.contentLocationHeader*/get contentLocationHeader() { - return "content-location"; - }, - /*_http.HttpHeaders.contentMD5Header*/get contentMD5Header() { - return "content-md5"; - }, - /*_http.HttpHeaders.contentRangeHeader*/get contentRangeHeader() { - return "content-range"; - }, - /*_http.HttpHeaders.contentTypeHeader*/get contentTypeHeader() { - return "content-type"; - }, - /*_http.HttpHeaders.dateHeader*/get dateHeader() { - return "date"; - }, - /*_http.HttpHeaders.etagHeader*/get etagHeader() { - return "etag"; - }, - /*_http.HttpHeaders.expectHeader*/get expectHeader() { - return "expect"; - }, - /*_http.HttpHeaders.expiresHeader*/get expiresHeader() { - return "expires"; - }, - /*_http.HttpHeaders.fromHeader*/get fromHeader() { - return "from"; - }, - /*_http.HttpHeaders.hostHeader*/get hostHeader() { - return "host"; - }, - /*_http.HttpHeaders.ifMatchHeader*/get ifMatchHeader() { - return "if-match"; - }, - /*_http.HttpHeaders.ifModifiedSinceHeader*/get ifModifiedSinceHeader() { - return "if-modified-since"; - }, - /*_http.HttpHeaders.ifNoneMatchHeader*/get ifNoneMatchHeader() { - return "if-none-match"; - }, - /*_http.HttpHeaders.ifRangeHeader*/get ifRangeHeader() { - return "if-range"; - }, - /*_http.HttpHeaders.ifUnmodifiedSinceHeader*/get ifUnmodifiedSinceHeader() { - return "if-unmodified-since"; - }, - /*_http.HttpHeaders.lastModifiedHeader*/get lastModifiedHeader() { - return "last-modified"; - }, - /*_http.HttpHeaders.locationHeader*/get locationHeader() { - return "location"; - }, - /*_http.HttpHeaders.maxForwardsHeader*/get maxForwardsHeader() { - return "max-forwards"; - }, - /*_http.HttpHeaders.pragmaHeader*/get pragmaHeader() { - return "pragma"; - }, - /*_http.HttpHeaders.proxyAuthenticateHeader*/get proxyAuthenticateHeader() { - return "proxy-authenticate"; - }, - /*_http.HttpHeaders.proxyAuthorizationHeader*/get proxyAuthorizationHeader() { - return "proxy-authorization"; - }, - /*_http.HttpHeaders.rangeHeader*/get rangeHeader() { - return "range"; - }, - /*_http.HttpHeaders.refererHeader*/get refererHeader() { - return "referer"; - }, - /*_http.HttpHeaders.retryAfterHeader*/get retryAfterHeader() { - return "retry-after"; - }, - /*_http.HttpHeaders.serverHeader*/get serverHeader() { - return "server"; - }, - /*_http.HttpHeaders.teHeader*/get teHeader() { - return "te"; - }, - /*_http.HttpHeaders.trailerHeader*/get trailerHeader() { - return "trailer"; - }, - /*_http.HttpHeaders.transferEncodingHeader*/get transferEncodingHeader() { - return "transfer-encoding"; - }, - /*_http.HttpHeaders.upgradeHeader*/get upgradeHeader() { - return "upgrade"; - }, - /*_http.HttpHeaders.userAgentHeader*/get userAgentHeader() { - return "user-agent"; - }, - /*_http.HttpHeaders.varyHeader*/get varyHeader() { - return "vary"; - }, - /*_http.HttpHeaders.viaHeader*/get viaHeader() { - return "via"; - }, - /*_http.HttpHeaders.warningHeader*/get warningHeader() { - return "warning"; - }, - /*_http.HttpHeaders.wwwAuthenticateHeader*/get wwwAuthenticateHeader() { - return "www-authenticate"; - }, - /*_http.HttpHeaders.cookieHeader*/get cookieHeader() { - return "cookie"; - }, - /*_http.HttpHeaders.setCookieHeader*/get setCookieHeader() { - return "set-cookie"; - }, - /*_http.HttpHeaders.generalHeaders*/get generalHeaders() { - return C[461] || CT.C461; - }, - /*_http.HttpHeaders.entityHeaders*/get entityHeaders() { - return C[462] || CT.C462; - }, - /*_http.HttpHeaders.responseHeaders*/get responseHeaders() { - return C[463] || CT.C463; - }, - /*_http.HttpHeaders.requestHeaders*/get requestHeaders() { - return C[464] || CT.C464; - } -}, false); -_http.HeaderValue = class HeaderValue extends core.Object { - 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], 615, 35, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 618, 12, "preserveBackslash"); - return _http._HeaderValue.parse(value, {parameterSeparator: parameterSeparator, valueSeparator: valueSeparator, preserveBackslash: preserveBackslash}); - } -}; -(_http.HeaderValue[dart.mixinNew] = function() { -}).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() { - ; -}).prototype = _http.HttpSession.prototype; -_http.HttpSession.prototype[dart.isMap] = true; -dart.addTypeTests(_http.HttpSession); -dart.addTypeCaches(_http.HttpSession); -_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], 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 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], 708, 35, "value"); - return _http._ContentType.parse(value); - } -}; -(_http.ContentType[dart.mixinNew] = function() { -}).prototype = _http.ContentType.prototype; -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.html*/get html() { - return _http.ContentType.new("text", "html", {charset: "utf-8"}); - }, - /*_http.ContentType.json*/get json() { - return _http.ContentType.new("application", "json", {charset: "utf-8"}); - }, - /*_http.ContentType.binary*/get binary() { - return _http.ContentType.new("application", "octet-stream"); - } -}, false); -var expires$ = dart.privateName(_http, "Cookie.expires"); -var maxAge = dart.privateName(_http, "Cookie.maxAge"); -var domain = dart.privateName(_http, "Cookie.domain"); -var path = dart.privateName(_http, "Cookie.path"); -var secure = dart.privateName(_http, "Cookie.secure"); -var httpOnly = dart.privateName(_http, "Cookie.httpOnly"); -var __Cookie_name = dart.privateName(_http, "_#Cookie#name"); -var __Cookie_name_isSet = dart.privateName(_http, "_#Cookie#name#isSet"); -var __Cookie_value = dart.privateName(_http, "_#Cookie#value"); -var __Cookie_value_isSet = dart.privateName(_http, "_#Cookie#value#isSet"); -_http.Cookie = class Cookie extends core.Object { - get expires() { - return this[expires$]; - } - set expires(value) { - this[expires$] = value; - } - get maxAge() { - return this[maxAge]; - } - set maxAge(value) { - this[maxAge] = value; - } - get domain() { - return this[domain]; - } - set domain(value) { - this[domain] = value; - } - get path() { - return this[path]; - } - set path(value) { - this[path] = value; - } - get secure() { - 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 t247; - return dart.test(this[__Cookie_name_isSet]) ? (t247 = this[__Cookie_name], t247) : dart.throw(new _internal.LateError.fieldNI("name")); - } - set name(name$35param) { - if (name$35param == null) dart.nullFailed(I[176], 751, 15, "name#param"); - this[__Cookie_name_isSet] = true; - this[__Cookie_name] = name$35param; - } - get value() { - let t247; - return dart.test(this[__Cookie_value_isSet]) ? (t247 = this[__Cookie_value], t247) : dart.throw(new _internal.LateError.fieldNI("value")); - } - set value(value$35param) { - if (value$35param == null) dart.nullFailed(I[176], 762, 15, "value#param"); - this[__Cookie_value_isSet] = true; - this[__Cookie_value] = value$35param; - } - static new(name, 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], 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; - this[__Cookie_name_isSet] = false; - this[__Cookie_value] = null; - this[__Cookie_value_isSet] = false; - this[expires$] = null; - this[maxAge] = null; - this[domain] = null; - this[path] = null; - this[secure] = false; - this[httpOnly] = false; -}).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, - value: core.String -})); -dart.setSetterSignature(_http.Cookie, () => ({ - __proto__: dart.getSetters(_http.Cookie.__proto__), - name: core.String, - value: core.String -})); -dart.setLibraryUri(_http.Cookie, I[177]); -dart.setFieldSignature(_http.Cookie, () => ({ - __proto__: dart.getFields(_http.Cookie.__proto__), - [__Cookie_name]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_name_isSet]: dart.fieldType(core.bool), - [__Cookie_value]: dart.fieldType(dart.nullable(core.String)), - [__Cookie_value_isSet]: dart.fieldType(core.bool), - expires: dart.fieldType(dart.nullable(core.DateTime)), - maxAge: dart.fieldType(dart.nullable(core.int)), - domain: dart.fieldType(dart.nullable(core.String)), - path: dart.fieldType(dart.nullable(core.String)), - secure: dart.fieldType(core.bool), - httpOnly: dart.fieldType(core.bool) -})); -_http.HttpRequest = class HttpRequest extends core.Object {}; -(_http.HttpRequest.new = function() { - ; -}).prototype = _http.HttpRequest.prototype; -_http.HttpRequest.prototype[dart.isStream] = true; -dart.addTypeTests(_http.HttpRequest); -dart.addTypeCaches(_http.HttpRequest); -_http.HttpRequest[dart.implements] = () => [async.Stream$(typed_data.Uint8List)]; -dart.setLibraryUri(_http.HttpRequest, I[177]); -var contentLength$ = dart.privateName(_http, "HttpResponse.contentLength"); -var statusCode = dart.privateName(_http, "HttpResponse.statusCode"); -var deadline = dart.privateName(_http, "HttpResponse.deadline"); -var bufferOutput = dart.privateName(_http, "HttpResponse.bufferOutput"); -var __HttpResponse_reasonPhrase = dart.privateName(_http, "_#HttpResponse#reasonPhrase"); -var __HttpResponse_reasonPhrase_isSet = dart.privateName(_http, "_#HttpResponse#reasonPhrase#isSet"); -var __HttpResponse_persistentConnection = dart.privateName(_http, "_#HttpResponse#persistentConnection"); -var __HttpResponse_persistentConnection_isSet = dart.privateName(_http, "_#HttpResponse#persistentConnection#isSet"); -_http.HttpResponse = class HttpResponse extends core.Object { - get contentLength() { - 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() { - return this[deadline]; - } - set deadline(value) { - this[deadline] = value; - } - get bufferOutput() { - return this[bufferOutput]; - } - set bufferOutput(value) { - if (value == null) dart.nullFailed(I[176], 1014, 8, "bufferOutput"); - this[bufferOutput] = value; - } - get reasonPhrase() { - let t247; - return dart.test(this[__HttpResponse_reasonPhrase_isSet]) ? (t247 = this[__HttpResponse_reasonPhrase], t247) : dart.throw(new _internal.LateError.fieldNI("reasonPhrase")); - } - set reasonPhrase(reasonPhrase$35param) { - if (reasonPhrase$35param == null) dart.nullFailed(I[176], 991, 15, "reasonPhrase#param"); - this[__HttpResponse_reasonPhrase_isSet] = true; - this[__HttpResponse_reasonPhrase] = reasonPhrase$35param; - } - get persistentConnection() { - let t247; - return dart.test(this[__HttpResponse_persistentConnection_isSet]) ? (t247 = this[__HttpResponse_persistentConnection], t247) : dart.throw(new _internal.LateError.fieldNI("persistentConnection")); - } - set persistentConnection(persistentConnection$35param) { - if (persistentConnection$35param == null) dart.nullFailed(I[176], 996, 13, "persistentConnection#param"); - this[__HttpResponse_persistentConnection_isSet] = true; - this[__HttpResponse_persistentConnection] = persistentConnection$35param; - } -}; -(_http.HttpResponse.new = function() { - this[contentLength$] = -1; - this[statusCode] = 200; - this[__HttpResponse_reasonPhrase] = null; - this[__HttpResponse_reasonPhrase_isSet] = false; - this[__HttpResponse_persistentConnection] = null; - this[__HttpResponse_persistentConnection_isSet] = false; - this[deadline] = null; - this[bufferOutput] = true; - ; -}).prototype = _http.HttpResponse.prototype; -dart.addTypeTests(_http.HttpResponse); -dart.addTypeCaches(_http.HttpResponse); -_http.HttpResponse[dart.implements] = () => [io.IOSink]; -dart.setGetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getGetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool -})); -dart.setSetterSignature(_http.HttpResponse, () => ({ - __proto__: dart.getSetters(_http.HttpResponse.__proto__), - reasonPhrase: core.String, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http.HttpResponse, I[177]); -dart.setFieldSignature(_http.HttpResponse, () => ({ - __proto__: dart.getFields(_http.HttpResponse.__proto__), - contentLength: dart.fieldType(core.int), - statusCode: dart.fieldType(core.int), - [__HttpResponse_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [__HttpResponse_reasonPhrase_isSet]: dart.fieldType(core.bool), - [__HttpResponse_persistentConnection]: dart.fieldType(dart.nullable(core.bool)), - [__HttpResponse_persistentConnection_isSet]: dart.fieldType(core.bool), - deadline: dart.fieldType(dart.nullable(core.Duration)), - bufferOutput: dart.fieldType(core.bool) -})); -var idleTimeout$ = dart.privateName(_http, "HttpClient.idleTimeout"); -var connectionTimeout = dart.privateName(_http, "HttpClient.connectionTimeout"); -var maxConnectionsPerHost = dart.privateName(_http, "HttpClient.maxConnectionsPerHost"); -var autoUncompress = dart.privateName(_http, "HttpClient.autoUncompress"); -var userAgent = dart.privateName(_http, "HttpClient.userAgent"); -_http.HttpClient = class HttpClient extends core.Object { - get idleTimeout() { - return this[idleTimeout$]; - } - set idleTimeout(value) { - if (value == null) dart.nullFailed(I[176], 1180, 12, "idleTimeout"); - this[idleTimeout$] = value; - } - get connectionTimeout() { - return this[connectionTimeout]; - } - set connectionTimeout(value) { - this[connectionTimeout] = value; - } - get maxConnectionsPerHost() { - return this[maxConnectionsPerHost]; - } - set maxConnectionsPerHost(value) { - this[maxConnectionsPerHost] = value; - } - get autoUncompress() { - return this[autoUncompress]; - } - set autoUncompress(value) { - if (value == null) dart.nullFailed(I[176], 1226, 8, "autoUncompress"); - this[autoUncompress] = value; - } - get userAgent() { - return this[userAgent]; - } - set userAgent(value) { - this[userAgent] = value; - } - static set enableTimelineLogging(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])); - } - _http.HttpClient._enableTimelineLogging = enabled; - } - static get enableTimelineLogging() { - return _http.HttpClient._enableTimelineLogging; - } - static new(opts) { - let context = opts && 'context' in opts ? opts.context : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return new _http._HttpClient.new(context); - } - 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], 1514, 46, "url"); - let environment = opts && 'environment' in opts ? opts.environment : null; - let overrides = _http.HttpOverrides.current; - if (overrides == null) { - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } - return overrides.findProxyFromEnvironment(url, environment); - } -}; -(_http.HttpClient[dart.mixinNew] = function() { - this[idleTimeout$] = C[466] || CT.C466; - this[connectionTimeout] = null; - this[maxConnectionsPerHost] = null; - this[autoUncompress] = true; - this[userAgent] = null; -}).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__), - idleTimeout: dart.fieldType(core.Duration), - 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, () => ['defaultHttpPort', 'defaultHttpsPort', '_enableTimelineLogging']); -dart.defineLazy(_http.HttpClient, { - /*_http.HttpClient.defaultHttpPort*/get defaultHttpPort() { - return 80; - }, - /*_http.HttpClient.defaultHttpsPort*/get defaultHttpsPort() { - return 443; - }, - /*_http.HttpClient._enableTimelineLogging*/get _enableTimelineLogging() { - return false; - }, - 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"); -var maxRedirects = dart.privateName(_http, "HttpClientRequest.maxRedirects"); -var contentLength$0 = dart.privateName(_http, "HttpClientRequest.contentLength"); -var bufferOutput$ = dart.privateName(_http, "HttpClientRequest.bufferOutput"); -_http.HttpClientRequest = class HttpClientRequest extends core.Object { - get persistentConnection() { - 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; - } -}; -(_http.HttpClientRequest.new = function() { - this[persistentConnection] = true; - this[followRedirects] = true; - this[maxRedirects] = 5; - this[contentLength$0] = -1; - this[bufferOutput$] = true; - ; -}).prototype = _http.HttpClientRequest.prototype; -dart.addTypeTests(_http.HttpClientRequest); -dart.addTypeCaches(_http.HttpClientRequest); -_http.HttpClientRequest[dart.implements] = () => [io.IOSink]; -dart.setLibraryUri(_http.HttpClientRequest, I[177]); -dart.setFieldSignature(_http.HttpClientRequest, () => ({ - __proto__: dart.getFields(_http.HttpClientRequest.__proto__), - persistentConnection: dart.fieldType(core.bool), - followRedirects: dart.fieldType(core.bool), - maxRedirects: dart.fieldType(core.int), - contentLength: dart.fieldType(core.int), - bufferOutput: dart.fieldType(core.bool) -})); -_http.HttpClientResponse = class HttpClientResponse extends core.Object {}; -(_http.HttpClientResponse.new = function() { - ; -}).prototype = _http.HttpClientResponse.prototype; -_http.HttpClientResponse.prototype[dart.isStream] = true; -dart.addTypeTests(_http.HttpClientResponse); -dart.addTypeCaches(_http.HttpClientResponse); -_http.HttpClientResponse[dart.implements] = () => [async.Stream$(core.List$(core.int))]; -dart.setLibraryUri(_http.HttpClientResponse, I[177]); -_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], 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.setMethodSignature(_http.HttpClientResponseCompressionState, () => ({ - __proto__: dart.getMethods(_http.HttpClientResponseCompressionState.__proto__), - [_enumToString]: dart.fnType(core.String, []) -})); -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() { - ; -}).prototype = _http.HttpClientCredentials.prototype; -dart.addTypeTests(_http.HttpClientCredentials); -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], 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], 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() { - ; -}).prototype = _http.HttpConnectionInfo.prototype; -dart.addTypeTests(_http.HttpConnectionInfo); -dart.addTypeCaches(_http.HttpConnectionInfo); -dart.setLibraryUri(_http.HttpConnectionInfo, I[177]); -_http.RedirectInfo = class RedirectInfo extends core.Object {}; -(_http.RedirectInfo.new = function() { - ; -}).prototype = _http.RedirectInfo.prototype; -dart.addTypeTests(_http.RedirectInfo); -dart.addTypeCaches(_http.RedirectInfo); -dart.setLibraryUri(_http.RedirectInfo, 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 { - get message() { - return this[message$17]; - } - set message(value) { - super.message = value; - } - get uri() { - return this[uri$0]; - } - 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 t249; - let b = (t249 = new core.StringBuffer.new(), (() => { - t249.write("HttpException: "); - t249.write(this.message); - return t249; - })()); - let uri = this.uri; - if (uri != null) { - b.write(", uri = " + dart.str(uri)); - } - return dart.toString(b); - } -}; -(_http.HttpException.new = function(message, opts) { - 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; - ; -}).prototype = _http.HttpException.prototype; -dart.addTypeTests(_http.HttpException); -dart.addTypeCaches(_http.HttpException); -_http.HttpException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(_http.HttpException, I[177]); -dart.setFieldSignature(_http.HttpException, () => ({ - __proto__: dart.getFields(_http.HttpException.__proto__), - message: dart.finalFieldType(core.String), - uri: dart.finalFieldType(dart.nullable(core.Uri)) -})); -dart.defineExtensionMethods(_http.HttpException, ['toString']); -var message$18 = dart.privateName(_http, "RedirectException.message"); -var redirects$ = dart.privateName(_http, "RedirectException.redirects"); -_http.RedirectException = class RedirectException extends core.Object { - get message() { - return this[message$18]; - } - set message(value) { - super.message = value; - } - get redirects() { - return this[redirects$]; - } - 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 dart.test(this.redirects[$isEmpty]) ? null : this.redirects[$last].location; - } -}; -(_http.RedirectException.new = function(message, 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; - ; -}).prototype = _http.RedirectException.prototype; -dart.addTypeTests(_http.RedirectException); -dart.addTypeCaches(_http.RedirectException); -_http.RedirectException[dart.implements] = () => [_http.HttpException]; -dart.setGetterSignature(_http.RedirectException, () => ({ - __proto__: dart.getGetters(_http.RedirectException.__proto__), - uri: dart.nullable(core.Uri) -})); -dart.setLibraryUri(_http.RedirectException, I[177]); -dart.setFieldSignature(_http.RedirectException, () => ({ - __proto__: dart.getFields(_http.RedirectException.__proto__), - message: dart.finalFieldType(core.String), - redirects: dart.finalFieldType(core.List$(_http.RedirectInfo)) -})); -dart.defineExtensionMethods(_http.RedirectException, ['toString']); -_http._CryptoUtils = class _CryptoUtils extends core.Object { - static getRandomBytes(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, math.Random.secure().nextInt(255)); - } - return result; - } - static bytesToHex(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 ['_#new#tearOff']() { - return new _http._CryptoUtils.new(); - } -}; -(_http._CryptoUtils.new = function() { - ; -}).prototype = _http._CryptoUtils.prototype; -dart.addTypeTests(_http._CryptoUtils); -dart.addTypeCaches(_http._CryptoUtils); -dart.setStaticMethodSignature(_http._CryptoUtils, () => ['getRandomBytes', 'bytesToHex']); -dart.setLibraryUri(_http._CryptoUtils, I[177]); -var _lengthInBytes = dart.privateName(_http, "_lengthInBytes"); -var _digestCalled = dart.privateName(_http, "_digestCalled"); -var _chunkSizeInWords$ = dart.privateName(_http, "_chunkSizeInWords"); -var _bigEndianWords$ = dart.privateName(_http, "_bigEndianWords"); -var _pendingData = dart.privateName(_http, "_pendingData"); -var _currentChunk = dart.privateName(_http, "_currentChunk"); -var _h = dart.privateName(_http, "_h"); -var _iterate = dart.privateName(_http, "_iterate"); -var _resultAsBytes = dart.privateName(_http, "_resultAsBytes"); -var _finalizeData = dart.privateName(_http, "_finalizeData"); -var _add32 = dart.privateName(_http, "_add32"); -var _roundUp = dart.privateName(_http, "_roundUp"); -var _rotl32 = dart.privateName(_http, "_rotl32"); -var _wordToBytes = dart.privateName(_http, "_wordToBytes"); -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], 49, 22, "data"); - if (dart.test(this[_digestCalled])) { - dart.throw(new core.StateError.new("Hash update method called after digest was retrieved")); - } - this[_lengthInBytes] = dart.notNull(this[_lengthInBytes]) + dart.notNull(data[$length]); - this[_pendingData][$addAll](data); - this[_iterate](); - } - close() { - if (dart.test(this[_digestCalled])) { - return this[_resultAsBytes](); - } - this[_digestCalled] = true; - this[_finalizeData](); - this[_iterate](); - 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) { - 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) { - 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], 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; - } - [_resultAsBytes]() { - let result = T$.JSArrayOfint().of([]); - for (let i = 0; i < dart.notNull(this[_h][$length]); i = i + 1) { - result[$addAll](this[_wordToBytes](this[_h][$_get](i))); - } - return result; - } - [_bytesToChunk](data, dataIndex) { - 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); - let w1 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 2) : data[$_get](dart.notNull(dataIndex) + 1); - let w0 = dart.test(this[_bigEndianWords$]) ? data[$_get](dart.notNull(dataIndex) + 3) : data[$_get](dataIndex); - dataIndex = dart.notNull(dataIndex) + 4; - let word = (dart.notNull(w3) & 255) << 24 >>> 0; - word = (word | (dart.notNull(w2) & 255) >>> 0 << 16 >>> 0) >>> 0; - word = (word | (dart.notNull(w1) & 255) >>> 0 << 8 >>> 0) >>> 0; - word = (word | (dart.notNull(w0) & 255) >>> 0) >>> 0; - this[_currentChunk][$_set](wordIndex, word); - } - } - [_wordToBytes](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); - bytes[$_set](2, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 8 : 16) & 255) >>> 0); - bytes[$_set](3, (word[$rightShift](dart.test(this[_bigEndianWords$]) ? 0 : 24) & 255) >>> 0); - return bytes; - } - [_iterate]() { - let len = this[_pendingData][$length]; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - if (dart.notNull(len) >= chunkSizeInBytes) { - let index = 0; - for (; dart.notNull(len) - index >= chunkSizeInBytes; index = index + chunkSizeInBytes) { - this[_bytesToChunk](this[_pendingData], index); - this[_updateHash](this[_currentChunk]); - } - this[_pendingData] = this[_pendingData][$sublist](index, len); - } - } - [_finalizeData]() { - this[_pendingData][$add](128); - let contentsLength = dart.notNull(this[_lengthInBytes]) + 9; - let chunkSizeInBytes = dart.notNull(this[_chunkSizeInWords$]) * 4; - let finalizedLength = this[_roundUp](contentsLength, chunkSizeInBytes); - 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], 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)); - } else { - this[_pendingData][$addAll](this[_wordToBytes]((lengthInBits & 4294967295.0) >>> 0)); - this[_pendingData][$addAll](this[_wordToBytes](0)); - } - } -}; -(_http._HashBase.new = function(_chunkSizeInWords, digestSizeInWords, _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] = _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.void, [core.List$(core.int)]), - close: dart.fnType(core.List$(core.int), []), - [_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.void, [core.List$(core.int), core.int]), - [_wordToBytes]: dart.fnType(core.List$(core.int), [core.int]), - [_iterate]: dart.fnType(dart.void, []), - [_finalizeData]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HashBase, () => ({ - __proto__: dart.getGetters(_http._HashBase.__proto__), - blockSize: core.int -})); -dart.setLibraryUri(_http._HashBase, I[177]); -dart.setFieldSignature(_http._HashBase, () => ({ - __proto__: dart.getFields(_http._HashBase.__proto__), - [_chunkSizeInWords$]: dart.finalFieldType(core.int), - [_bigEndianWords$]: dart.finalFieldType(core.bool), - [_lengthInBytes]: dart.fieldType(core.int), - [_pendingData]: 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 { - static ['_#new#tearOff']() { - return new _http._MD5.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let t0 = null; - let t1 = null; - for (let i = 0; i < 64; i = i + 1) { - if (i < 16) { - t0 = (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & 4294967295.0 & dart.notNull(d)) >>> 0) >>> 0; - t1 = i; - } else if (i < 32) { - t0 = (dart.notNull(d) & dart.notNull(b) | (~dart.notNull(d) & 4294967295.0 & dart.notNull(c)) >>> 0) >>> 0; - t1 = (5 * i + 1)[$modulo](16); - } else if (i < 48) { - t0 = (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0; - t1 = (3 * i + 5)[$modulo](16); - } else { - t0 = (dart.notNull(c) ^ (dart.notNull(b) | (~dart.notNull(d) & 4294967295.0) >>> 0) >>> 0) >>> 0; - t1 = (7 * i)[$modulo](16); - } - let temp = d; - d = c; - c = b; - 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, 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() { - _http._MD5.__proto__.new.call(this, 16, 4, false); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); -}).prototype = _http._MD5.prototype; -dart.addTypeTests(_http._MD5); -dart.addTypeCaches(_http._MD5); -dart.setMethodSignature(_http._MD5, () => ({ - __proto__: dart.getMethods(_http._MD5.__proto__), - [_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[471] || CT.C471; - }, - /*_http._MD5._r*/get _r() { - return C[472] || CT.C472; - } -}, false); -var _w = dart.privateName(_http, "_w"); -_http._SHA1 = class _SHA1 extends _http._HashBase { - static ['_#new#tearOff']() { - return new _http._SHA1.new(); - } - [_updateHash](m) { - 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); - let d = this[_h][$_get](3); - let e = this[_h][$_get](4); - for (let i = 0; i < 80; i = i + 1) { - if (i < 16) { - this[_w][$_set](i, m[$_get](i)); - } else { - let n = (dart.notNull(this[_w][$_get](i - 3)) ^ dart.notNull(this[_w][$_get](i - 8)) ^ dart.notNull(this[_w][$_get](i - 14)) ^ dart.notNull(this[_w][$_get](i - 16))) >>> 0; - this[_w][$_set](i, this[_rotl32](n, 1)); - } - let t = this[_add32](this[_add32](this[_rotl32](a, 5), e), this[_w][$_get](i)); - if (i < 20) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (~dart.notNull(b) & dart.notNull(d)) >>> 0) >>> 0), 1518500249); - } else if (i < 40) { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 1859775393); - } else if (i < 60) { - t = this[_add32](this[_add32](t, (dart.notNull(b) & dart.notNull(c) | (dart.notNull(b) & dart.notNull(d)) >>> 0 | (dart.notNull(c) & dart.notNull(d)) >>> 0) >>> 0), 2400959708); - } else { - t = this[_add32](this[_add32](t, (dart.notNull(b) ^ dart.notNull(c) ^ dart.notNull(d)) >>> 0), 3395469782); - } - e = d; - d = c; - c = this[_rotl32](b, 30); - b = a; - a = (dart.notNull(t) & 4294967295.0) >>> 0; - } - 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() { - this[_w] = T$0.ListOfint().filled(80, 0); - _http._SHA1.__proto__.new.call(this, 16, 5, true); - this[_h][$_set](0, 1732584193); - this[_h][$_set](1, 4023233417); - this[_h][$_set](2, 2562383102); - this[_h][$_set](3, 271733878); - this[_h][$_set](4, 3285377520); -}).prototype = _http._SHA1.prototype; -dart.addTypeTests(_http._SHA1); -dart.addTypeCaches(_http._SHA1); -dart.setMethodSignature(_http._SHA1, () => ({ - __proto__: dart.getMethods(_http._SHA1.__proto__), - [_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.finalFieldType(core.List$(core.int)) -})); -_http.HttpDate = class HttpDate extends core.Object { - static format(date) { - 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 = (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], 85, 32, "date"); - let SP = 32; - 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], 119, 24, "s"); - if (date.length - index < s.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - let tmp = date[$substring](index, index + s.length); - if (tmp !== s) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - index = index + s.length; - } - dart.fn(expect, T$0.StringTovoid()); - function expectWeekday() { - let weekday = null; - let pos = date[$indexOf](",", index); - if (pos === -1) { - let pos = date[$indexOf](" ", index); - if (pos === -1) dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatAsctime; - } - } else { - tmp = date[$substring](index, pos); - index = pos + 1; - weekday = wkdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc1123; - } - weekday = weekdays[$indexOf](tmp); - if (weekday !== -1) { - return formatRfc850; - } - } - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectWeekday, T$.VoidToint()); - function expectMonth(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); - index = pos + 1; - let month = months[$indexOf](tmp); - if (month !== -1) return month; - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - dart.fn(expectMonth, T$0.StringToint()); - function expectNum(separator) { - if (separator == null) dart.nullFailed(I[179], 168, 26, "separator"); - let pos = null; - if (separator[$isNotEmpty]) { - pos = date[$indexOf](separator, index); - } else { - pos = date.length; - } - let tmp = date[$substring](index, pos); - index = dart.notNull(pos) + separator.length; - try { - let value = core.int.parse(tmp); - return value; - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } else - throw e; - } - } - dart.fn(expectNum, T$0.StringToint()); - function expectEnd() { - if (index !== date.length) { - dart.throw(new _http.HttpException.new("Invalid HTTP date " + dart.str(date))); - } - } - dart.fn(expectEnd, T$.VoidTovoid()); - let format = expectWeekday(); - let year = null; - let month = null; - let day = null; - let hours = null; - let minutes = null; - let seconds = null; - if (format === formatAsctime) { - month = expectMonth(" "); - if (date[$codeUnitAt](index) === SP) index = index + 1; - day = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - year = expectNum(""); - } else { - expect(" "); - day = expectNum(format === formatRfc1123 ? " " : "-"); - month = expectMonth(format === formatRfc1123 ? " " : "-"); - year = expectNum(" "); - hours = expectNum(":"); - minutes = expectNum(":"); - seconds = expectNum(" "); - expect("GMT"); - } - expectEnd(); - 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], 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))); - } - dart.fn(error, T$0.VoidToNever()); - function isEnd() { - return position === date.length; - } - dart.fn(isEnd, T$.VoidTobool()); - function isDelimiter(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; - if (char >= 59 && char <= 64) return true; - if (char >= 91 && char <= 96) return true; - if (char >= 123 && char <= 126) return true; - return false; - } - dart.fn(isDelimiter, T$.StringTobool()); - function isNonDelimiter(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; - if (char >= 48 && char <= 57) return true; - if (char === 58) return true; - if (char >= 65 && char <= 90) return true; - if (char >= 97 && char <= 122) return true; - if (char >= 127 && char <= 255) return true; - return false; - } - dart.fn(isNonDelimiter, T$.StringTobool()); - function isDigit(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], 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], 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 = T$.JSArrayOfString().of([]); - while (!dart.test(isEnd())) { - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - let start = position; - while (!dart.test(isEnd()) && dart.test(isNonDelimiter(date[$_get](position)))) - position = position + 1; - tokens[$add](date[$substring](start, position)[$toLowerCase]()); - while (!dart.test(isEnd()) && dart.test(isDelimiter(date[$_get](position)))) - position = position + 1; - } - let timeStr = null; - let dayOfMonthStr = null; - let monthStr = null; - let yearStr = null; - for (let token of tokens) { - 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) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let year = toInt(yearStr); - if (dart.notNull(year) >= 70 && dart.notNull(year) <= 99) - year = dart.notNull(year) + 1900; - else if (dart.notNull(year) >= 0 && dart.notNull(year) <= 69) year = dart.notNull(year) + 2000; - if (dart.notNull(year) < 1601) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let dayOfMonth = toInt(dayOfMonthStr); - if (dart.notNull(dayOfMonth) < 1 || dart.notNull(dayOfMonth) > 31) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let month = dart.notNull(getMonth(monthStr)) + 1; - let timeList = timeStr[$split](":"); - if (timeList[$length] !== 3) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - let hour = toInt(timeList[$_get](0)); - let minute = toInt(timeList[$_get](1)); - let second = toInt(timeList[$_get](2)); - if (dart.notNull(hour) > 23) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(minute) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - if (dart.notNull(second) > 59) { - error(); - dart.throw(new _internal.ReachabilityError.new("`null` encountered as the result from expression with type `Never`.")); - } - 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"); -var _contentLength = dart.privateName(_http, "_contentLength"); -var _persistentConnection = dart.privateName(_http, "_persistentConnection"); -var _chunkedTransferEncoding = dart.privateName(_http, "_chunkedTransferEncoding"); -var _host = dart.privateName(_http, "_host"); -var _port = dart.privateName(_http, "_port"); -var _headers = dart.privateName(_http, "_headers"); -var _defaultPortForScheme = dart.privateName(_http, "_defaultPortForScheme"); -var _checkMutable = dart.privateName(_http, "_checkMutable"); -var _addAll = dart.privateName(_http, "_addAll"); -var _add$1 = dart.privateName(_http, "_add"); -var _valueToString = dart.privateName(_http, "_valueToString"); -var _originalHeaderName = dart.privateName(_http, "_originalHeaderName"); -var _set = dart.privateName(_http, "_set"); -var _addValue = dart.privateName(_http, "_addValue"); -var _updateHostHeader = dart.privateName(_http, "_updateHostHeader"); -var _addDate = dart.privateName(_http, "_addDate"); -var _addHost = dart.privateName(_http, "_addHost"); -var _addExpires = dart.privateName(_http, "_addExpires"); -var _addConnection = dart.privateName(_http, "_addConnection"); -var _addContentType = dart.privateName(_http, "_addContentType"); -var _addContentLength = dart.privateName(_http, "_addContentLength"); -var _addTransferEncoding = dart.privateName(_http, "_addTransferEncoding"); -var _addIfModifiedSince = dart.privateName(_http, "_addIfModifiedSince"); -var _foldHeader = dart.privateName(_http, "_foldHeader"); -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], 45, 36, "name"); - return this[_headers][$_get](_http._HttpHeaders._validateField(name)); - } - value(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], 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 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], 58, 38, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251 = this[_originalHeaderNames], t251 == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251)[$_set](lowercaseName, name); - } else { - t251$ = this[_originalHeaderNames]; - t251$ == null ? null : t251$[$remove](lowercaseName); - } - this[_addAll](lowercaseName, value); - } - [_addAll](name, value) { - 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))); - } - } else { - this[_add$1](name, _http._HttpHeaders._validateValue(core.Object.as(value))); - } - } - set(name, value, opts) { - 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], 80, 45, "preserveHeaderCase"); - this[_checkMutable](); - let lowercaseName = _http._HttpHeaders._validateField(name); - this[_headers][$remove](lowercaseName); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](lowercaseName); - if (lowercaseName === "content-length") { - this[_contentLength] = -1; - } - if (lowercaseName === "transfer-encoding") { - this[_chunkedTransferEncoding] = false; - } - if (dart.test(preserveHeaderCase) && name != lowercaseName) { - (t251$ = this[_originalHeaderNames], t251$ == null ? this[_originalHeaderNames] = new (T$.IdentityMapOfString$String()).new() : t251$)[$_set](lowercaseName, name); - } - this[_addAll](lowercaseName, value); - } - remove(name, 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 (dart.test(values[$isEmpty])) { - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - } - if (name === "transfer-encoding" && dart.equals(value, "chunked")) { - this[_chunkedTransferEncoding] = false; - } - } - removeAll(name) { - let t251; - if (name == null) dart.nullFailed(I[180], 114, 25, "name"); - this[_checkMutable](); - name = _http._HttpHeaders._validateField(name); - this[_headers][$remove](name); - t251 = this[_originalHeaderNames]; - t251 == null ? null : t251[$remove](name); - } - forEach(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], 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 t251; - if (name == null) dart.nullFailed(I[180], 128, 25, "name"); - name = _http._HttpHeaders._validateField(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], 135, 38, "persistentConnection"); - this[_checkMutable](); - if (persistentConnection == this[_persistentConnection]) return; - let originalName = this[_originalHeaderName]("connection"); - if (dart.test(persistentConnection)) { - if (this.protocolVersion === "1.1") { - this.remove("connection", "close"); - } else { - if (dart.notNull(this[_contentLength]) < 0) { - dart.throw(new _http.HttpException.new("Trying to set 'Connection: Keep-Alive' on HTTP 1.0 headers with " + "no ContentLength")); - } - this.add(originalName, "keep-alive", {preserveHeaderCase: true}); - } - } else { - if (this.protocolVersion === "1.1") { - this.add(originalName, "close", {preserveHeaderCase: true}); - } else { - this.remove("connection", "keep-alive"); - } - } - this[_persistentConnection] = persistentConnection; - } - get contentLength() { - return this[_contentLength]; - } - set contentLength(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")); - } - if (this[_contentLength] == contentLength) return; - this[_contentLength] = contentLength; - if (dart.notNull(this[_contentLength]) >= 0) { - if (dart.test(this.chunkedTransferEncoding)) this.chunkedTransferEncoding = false; - this[_set]("content-length", dart.toString(contentLength)); - } else { - this[_headers][$remove]("content-length"); - if (this.protocolVersion === "1.1") { - this.chunkedTransferEncoding = true; - } - } - } - get chunkedTransferEncoding() { - return this[_chunkedTransferEncoding]; - } - set chunkedTransferEncoding(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")); - } - if (chunkedTransferEncoding == this[_chunkedTransferEncoding]) return; - if (dart.test(chunkedTransferEncoding)) { - let values = this[_headers][$_get]("transfer-encoding"); - if (values == null || !dart.test(values[$contains]("chunked"))) { - this[_addValue]("transfer-encoding", "chunked"); - } - this.contentLength = -1; - } else { - this.remove("transfer-encoding", "chunked"); - } - this[_chunkedTransferEncoding] = chunkedTransferEncoding; - } - get host() { - return this[_host]; - } - set host(host) { - this[_checkMutable](); - this[_host] = host; - this[_updateHostHeader](); - } - get port() { - return this[_port]; - } - set port(port) { - this[_checkMutable](); - this[_port] = port; - this[_updateHostHeader](); - } - get ifModifiedSince() { - let values = this[_headers][$_get]("if-modified-since"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 226, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set ifModifiedSince(ifModifiedSince) { - this[_checkMutable](); - if (ifModifiedSince == null) { - this[_headers][$remove]("if-modified-since"); - } else { - let formatted = _http.HttpDate.format(ifModifiedSince.toUtc()); - this[_set]("if-modified-since", formatted); - } - } - get date() { - let values = this[_headers][$_get]("date"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 250, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set date(date) { - this[_checkMutable](); - if (date == null) { - this[_headers][$remove]("date"); - } else { - let formatted = _http.HttpDate.format(date.toUtc()); - this[_set]("date", formatted); - } - } - get expires() { - let values = this[_headers][$_get]("expires"); - if (values != null) { - if (!dart.test(values[$isNotEmpty])) dart.assertFailed(null, I[180], 274, 14, "values.isNotEmpty"); - try { - return _http.HttpDate.parse(values[$_get](0)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.Exception.is(ex)) { - return null; - } else - throw e; - } - } - return null; - } - set expires(expires) { - this[_checkMutable](); - if (expires == null) { - this[_headers][$remove]("expires"); - } else { - let formatted = _http.HttpDate.format(expires.toUtc()); - this[_set]("expires", formatted); - } - } - get contentType() { - let values = this[_headers][$_get]("content-type"); - if (values != null) { - return _http.ContentType.parse(values[$_get](0)); - } else { - return null; - } - } - set contentType(contentType) { - this[_checkMutable](); - if (contentType == null) { - this[_headers][$remove]("content-type"); - } else { - this[_set]("content-type", dart.toString(contentType)); - } - } - clear() { - this[_checkMutable](); - this[_headers][$clear](); - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - } - [_add$1](name, value) { - 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; - } - break; - } - case 7: - { - if ("expires" === name) { - this[_addExpires](name, value); - return; - } - break; - } - case 10: - { - if ("connection" === name) { - this[_addConnection](name, core.String.as(value)); - return; - } - break; - } - case 12: - { - if ("content-type" === name) { - this[_addContentType](name, value); - return; - } - break; - } - case 14: - { - if ("content-length" === name) { - this[_addContentLength](name, value); - return; - } - break; - } - case 17: - { - 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], 376, 33, "name"); - if (core.int.is(value)) { - if (dart.notNull(value) < 0) { - dart.throw(new _http.HttpException.new("Content-Length must contain only digits")); - } - } else if (typeof value == 'string') { - 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], 392, 36, "name"); - if (dart.equals(value, "chunked")) { - this.chunkedTransferEncoding = true; - } else { - this[_addValue]("transfer-encoding", core.Object.as(value)); - } - } - [_addDate](name, value) { - if (name == null) dart.nullFailed(I[180], 400, 24, "name"); - if (core.DateTime.is(value)) { - this.date = value; - } else if (typeof value == 'string') { - this[_set]("date", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addExpires](name, value) { - if (name == null) dart.nullFailed(I[180], 410, 27, "name"); - if (core.DateTime.is(value)) { - this.expires = value; - } else if (typeof value == 'string') { - this[_set]("expires", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addIfModifiedSince](name, value) { - if (name == null) dart.nullFailed(I[180], 420, 35, "name"); - if (core.DateTime.is(value)) { - this.ifModifiedSince = value; - } else if (typeof value == 'string') { - this[_set]("if-modified-since", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addHost](name, value) { - if (name == null) dart.nullFailed(I[180], 430, 24, "name"); - if (typeof value == 'string') { - let pos = value[$lastIndexOf](":"); - if (pos === -1 || value[$startsWith]("[") && value[$endsWith]("]")) { - this[_host] = value; - this[_port] = 80; - } else { - if (pos > 0) { - this[_host] = value[$substring](0, pos); - } else { - this[_host] = null; - } - if (pos + 1 === value.length) { - this[_port] = 80; - } else { - try { - this[_port] = core.int.parse(value[$substring](pos + 1)); - } catch (e) { - let ex = dart.getThrown(e); - if (core.FormatException.is(ex)) { - this[_port] = null; - } else - throw e; - } - } - } - this[_set]("host", value); - } else { - dart.throw(new _http.HttpException.new("Unexpected type for header named " + dart.str(name))); - } - } - [_addConnection](name, value) { - 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 (lowerCaseValue === "keep-alive") { - this[_persistentConnection] = true; - } - this[_addValue](name, value); - } - [_addContentType](name, value) { - if (name == null) dart.nullFailed(I[180], 473, 31, "name"); - this[_set]("content-type", core.String.as(value)); - } - [_addValue](name, value) { - 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], 482, 32, "value"); - if (core.DateTime.is(value)) { - return _http.HttpDate.format(value); - } else if (typeof value == 'string') { - return value; - } else { - return core.String.as(_http._HttpHeaders._validateValue(dart.toString(value))); - } - } - [_set](name, value) { - 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]() { - if (!dart.test(this[_mutable])) dart.throw(new _http.HttpException.new("HTTP headers are not mutable")); - } - [_updateHostHeader]() { - let host = this[_host]; - if (host != null) { - let defaultPort = this[_port] == null || this[_port] == this[_defaultPortForScheme]; - this[_set]("host", defaultPort ? host : dart.str(host) + ":" + dart.str(this[_port])); - } - } - [_foldHeader](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)); - } - [_finalize]() { - this[_mutable] = false; - } - [_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], 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]; - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - builder.addByte(44); - builder.addByte(32); - } else { - builder.addByte(13); - builder.addByte(10); - builder.add(nameData); - builder.addByte(58); - builder.addByte(32); - } - } - builder.add(values[$_get](i)[$codeUnits]); - } - builder.addByte(13); - builder.addByte(10); - }, T$0.StringAndListOfStringTovoid())); - } - toString() { - let sb = new core.StringBuffer.new(); - this[_headers][$forEach](dart.fn((name, 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); - t259 = sb; - (() => { - t259.write(originalName); - t259.write(": "); - return t259; - })(); - let fold = this[_foldHeader](name); - for (let i = 0; i < dart.notNull(values[$length]); i = i + 1) { - if (i > 0) { - if (dart.test(fold)) { - sb.write(", "); - } else { - t259$ = sb; - (() => { - t259$.write("\n"); - t259$.write(originalName); - t259$.write(": "); - return t259$; - })(); - } - } - sb.write(values[$_get](i)); - } - sb.write("\n"); - }, T$0.StringAndListOfStringTovoid())); - return sb.toString(); - } - [_parseCookies]() { - let cookies = T$0.JSArrayOfCookie().of([]); - function parseCookieString(s) { - if (s == null) dart.nullFailed(I[180], 587, 35, "s"); - let index = 0; - function done() { - return index === -1 || index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === " " || s[$_get](index) === "\t" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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; - return true; - } - dart.fn(expect, T$.StringTobool()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseName(); - skipWS(); - if (!dart.test(expect("="))) { - index = s[$indexOf](";", index); - continue; - } - skipWS(); - let value = parseValue(); - try { - cookies[$add](new _http._Cookie.new(name, value)); - } catch (e) { - let _ = dart.getThrown(e); - if (core.Object.is(_)) { - } else - throw e; - } - skipWS(); - if (dart.test(done())) return; - if (!dart.test(expect(";"))) { - index = s[$indexOf](";", index); - continue; - } - } - } - dart.fn(parseCookieString, T$0.StringTovoid()); - let values = this[_headers][$_get]("cookie"); - if (values != null) { - for (let headerValue of values) { - parseCookieString(headerValue); - } - } - return cookies; - } - static _validateField(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)); - } - } - return field[$toLowerCase](); - } - static _validateValue(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)))) { - dart.throw(new core.FormatException.new("Invalid HTTP header field value: " + dart.str(convert.json.encode(value)), value, i)); - } - } - return value; - } - [_originalHeaderName](name) { - 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], 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; - this[_originalHeaderNames] = null; - this[_mutable] = true; - this[_noFoldingHeaders] = null; - this[_contentLength] = -1; - this[_persistentConnection] = true; - this[_chunkedTransferEncoding] = false; - this[_host] = null; - this[_port] = null; - 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 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]; - this[_chunkedTransferEncoding] = initialHeaders[_chunkedTransferEncoding]; - this[_host] = initialHeaders[_host]; - this[_port] = initialHeaders[_port]; - } - if (this.protocolVersion === "1.0") { - this[_persistentConnection] = false; - this[_chunkedTransferEncoding] = false; - } -}).prototype = _http._HttpHeaders.prototype; -dart.addTypeTests(_http._HttpHeaders); -dart.addTypeCaches(_http._HttpHeaders); -_http._HttpHeaders[dart.implements] = () => [_http.HttpHeaders]; -dart.setMethodSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getMethods(_http._HttpHeaders.__proto__), - _get: dart.fnType(dart.nullable(core.List$(core.String)), [core.String]), - value: dart.fnType(dart.nullable(core.String), [core.String]), - add: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - [_addAll]: dart.fnType(dart.void, [core.String, dart.dynamic]), - set: dart.fnType(dart.void, [core.String, core.Object], {preserveHeaderCase: core.bool}, {}), - remove: dart.fnType(dart.void, [core.String, core.Object]), - removeAll: dart.fnType(dart.void, [core.String]), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [core.String, core.List$(core.String)])]), - noFolding: dart.fnType(dart.void, [core.String]), - clear: dart.fnType(dart.void, []), - [_add$1]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addContentLength]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addTransferEncoding]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_addDate]: dart.fnType(dart.void, [core.String, dart.dynamic]), - [_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, 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]), - [_set]: dart.fnType(dart.void, [core.String, core.String]), - [_checkMutable]: dart.fnType(dart.void, []), - [_updateHostHeader]: dart.fnType(dart.void, []), - [_foldHeader]: dart.fnType(core.bool, [core.String]), - [_finalize]: dart.fnType(dart.void, []), - [_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, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) -})); -dart.setSetterSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getSetters(_http._HttpHeaders.__proto__), - persistentConnection: core.bool, - contentLength: core.int, - chunkedTransferEncoding: core.bool, - host: dart.nullable(core.String), - port: dart.nullable(core.int), - ifModifiedSince: dart.nullable(core.DateTime), - date: dart.nullable(core.DateTime), - expires: dart.nullable(core.DateTime), - contentType: dart.nullable(_http.ContentType) -})); -dart.setLibraryUri(_http._HttpHeaders, I[177]); -dart.setFieldSignature(_http._HttpHeaders, () => ({ - __proto__: dart.getFields(_http._HttpHeaders.__proto__), - [_headers]: dart.finalFieldType(core.Map$(core.String, core.List$(core.String))), - [_originalHeaderNames]: dart.fieldType(dart.nullable(core.Map$(core.String, core.String))), - protocolVersion: dart.finalFieldType(core.String), - [_mutable]: dart.fieldType(core.bool), - [_noFoldingHeaders]: dart.fieldType(dart.nullable(core.List$(core.String))), - [_contentLength]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_chunkedTransferEncoding]: dart.fieldType(core.bool), - [_host]: dart.fieldType(dart.nullable(core.String)), - [_port]: dart.fieldType(dart.nullable(core.int)), - [_defaultPortForScheme]: dart.finalFieldType(core.int) -})); -dart.defineExtensionMethods(_http._HttpHeaders, ['toString']); -var _parameters = dart.privateName(_http, "_parameters"); -var _unmodifiableParameters = dart.privateName(_http, "_unmodifiableParameters"); -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], 697, 36, "value"); - let parameterSeparator = opts && 'parameterSeparator' in opts ? opts.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], 700, 12, "preserveBackslash"); - let result = new _http._HeaderValue.new(); - result[_parse](value, parameterSeparator, valueSeparator, preserveBackslash); - return result; - } - get value() { - return this[_value$5]; - } - [_ensureParameters]() { - let t260; - t260 = this[_parameters]; - return t260 == null ? this[_parameters] = new (T$0.IdentityMapOfString$StringN()).new() : t260; - } - get parameters() { - 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], 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[$contains](token[$_get](i))) { - return false; - } - } - return true; - } - toString() { - let sb = new core.StringBuffer.new(); - sb.write(this[_value$5]); - let parameters = this[_parameters]; - if (parameters != null && dart.test(parameters[$isNotEmpty])) { - parameters[$forEach](dart.fn((name, value) => { - let t260, t260$; - if (name == null) dart.nullFailed(I[180], 734, 34, "name"); - t260 = sb; - (() => { - t260.write("; "); - t260.write(name); - return t260; - })(); - if (value != null) { - sb.write("="); - if (dart.test(_http._HeaderValue._isToken(value))) { - sb.write(value); - } else { - sb.write("\""); - let start = 0; - for (let i = 0; i < value.length; i = i + 1) { - let codeUnit = value[$codeUnitAt](i); - if (codeUnit === 92 || codeUnit === 34) { - sb.write(value[$substring](start, i)); - sb.write("\\"); - start = i; - } - } - t260$ = sb; - (() => { - t260$.write(value[$substring](start)); - t260$.write("\""); - return t260$; - })(); - } - } - }, T$0.StringAndStringNTovoid())); - } - return sb.toString(); - } - [_parse](s, parameterSeparator, valueSeparator, 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; - } - dart.fn(done, T$.VoidTobool()); - function skipWS() { - while (!dart.test(done())) { - if (s[$_get](index) !== " " && s[$_get](index) !== "\t") return; - index = index + 1; - } - } - dart.fn(skipWS, T$.VoidTovoid()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === valueSeparator || char === parameterSeparator) break; - index = index + 1; - } - return s[$substring](start, index); - } - dart.fn(parseValue, T$.VoidToString()); - function expect(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$0.StringTovoid()); - function maybeExpect(expected) { - if (expected == null) dart.nullFailed(I[180], 798, 29, "expected"); - if (dart.test(done()) || !s[$startsWith](expected, index)) { - return false; - } - index = index + 1; - return true; - } - dart.fn(maybeExpect, T$.StringTobool()); - const parseParameters = () => { - let parameters = this[_ensureParameters](); - function parseParameterName() { - let start = index; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === " " || char === "\t" || char === "=" || char === parameterSeparator || char === valueSeparator) break; - index = index + 1; - } - return s[$substring](start, index)[$toLowerCase](); - } - dart.fn(parseParameterName, T$.VoidToString()); - function parseParameterValue() { - if (!dart.test(done()) && s[$_get](index) === "\"") { - let sb = new core.StringBuffer.new(); - index = index + 1; - while (!dart.test(done())) { - let char = s[$_get](index); - if (char === "\\") { - if (index + 1 === s.length) { - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } - if (dart.test(preserveBackslash) && s[$_get](index + 1) !== "\"") { - sb.write(char); - } - index = index + 1; - } else if (char === "\"") { - index = index + 1; - return sb.toString(); - } - char = s[$_get](index); - sb.write(char); - index = index + 1; - } - dart.throw(new _http.HttpException.new("Failed to parse header value")); - } else { - return parseValue(); - } - } - dart.fn(parseParameterValue, T$.VoidToString()); - while (!dart.test(done())) { - skipWS(); - if (dart.test(done())) return; - let name = parseParameterName(); - skipWS(); - if (dart.test(maybeExpect("="))) { - skipWS(); - let value = parseParameterValue(); - if (name === "charset" && _http._ContentType.is(this)) { - value = value[$toLowerCase](); - } - parameters[$_set](name, value); - skipWS(); - } else if (name[$isNotEmpty]) { - parameters[$_set](name, null); - } - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - expect(parameterSeparator); - } - }; - dart.fn(parseParameters, T$.VoidTovoid()); - skipWS(); - this[_value$5] = parseValue(); - skipWS(); - if (dart.test(done())) return; - if (s[$_get](index) === valueSeparator) return; - maybeExpect(parameterSeparator); - parseParameters(); - } -}; -(_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; - let nullableParameters = parameters; - if (nullableParameters != null && dart.test(nullableParameters[$isNotEmpty])) { - this[_parameters] = T$0.HashMapOfString$StringN().from(nullableParameters); - } -}).prototype = _http._HeaderValue.prototype; -dart.addTypeTests(_http._HeaderValue); -dart.addTypeCaches(_http._HeaderValue); -_http._HeaderValue[dart.implements] = () => [_http.HeaderValue]; -dart.setMethodSignature(_http._HeaderValue, () => ({ - __proto__: dart.getMethods(_http._HeaderValue.__proto__), - [_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, - parameters: core.Map$(core.String, dart.nullable(core.String)) -})); -dart.setLibraryUri(_http._HeaderValue, I[177]); -dart.setFieldSignature(_http._HeaderValue, () => ({ - __proto__: dart.getFields(_http._HeaderValue.__proto__), - [_value$5]: dart.fieldType(core.String), - [_parameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))), - [_unmodifiableParameters]: dart.fieldType(dart.nullable(core.Map$(core.String, dart.nullable(core.String)))) -})); -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], 920, 36, "value"); - let result = new _http._ContentType.__(); - result[_parse](value, ";", null, false); - let index = result[_value$5][$indexOf]("/"); - if (index === -1 || index === result[_value$5].length - 1) { - result[_primaryType] = result[_value$5][$trim]()[$toLowerCase](); - } else { - result[_primaryType] = result[_value$5][$substring](0, index)[$trim]()[$toLowerCase](); - result[_subType] = result[_value$5][$substring](index + 1)[$trim]()[$toLowerCase](); - } - return result; - } - get mimeType() { - return dart.str(this.primaryType) + "/" + dart.str(this.subType); - } - get primaryType() { - return this[_primaryType]; - } - get subType() { - return this[_subType]; - } - get charset() { - return this.parameters[$_get]("charset"); - } -}; -(_http._ContentType.new = function(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"); - this[_primaryType] = ""; - this[_subType] = ""; - this[_primaryType] = primaryType; - this[_subType] = subType; - _http._ContentType.__proto__.new.call(this, ""); - function emptyIfNull(string) { - let t260; - t260 = string; - return t260 == null ? "" : t260; - } - 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]); - let nullableParameters = parameters; - if (nullableParameters != null) { - let parameterMap = this[_ensureParameters](); - nullableParameters[$forEach](dart.fn((key, value) => { - let t260; - if (key == null) dart.nullFailed(I[180], 905, 42, "key"); - let lowerCaseKey = key[$toLowerCase](); - if (lowerCaseKey === "charset") { - value = (t260 = value, t260 == null ? null : t260[$toLowerCase]()); - } - parameterMap[$_set](lowerCaseKey, value); - }, T$0.StringAndStringNTovoid())); - } - if (charset != null) { - this[_ensureParameters]()[$_set]("charset", charset[$toLowerCase]()); - } -}).prototype = _http._ContentType.prototype; -(_http._ContentType.__ = function() { - this[_primaryType] = ""; - this[_subType] = ""; - _http._ContentType.__proto__.new.call(this); - ; -}).prototype = _http._ContentType.prototype; -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, - primaryType: core.String, - subType: core.String, - charset: dart.nullable(core.String) -})); -dart.setLibraryUri(_http._ContentType, I[177]); -dart.setFieldSignature(_http._ContentType, () => ({ - __proto__: dart.getFields(_http._ContentType.__proto__), - [_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$8]; - } - get value() { - return this[_value$5]; - } - get path() { - return this[_path$3]; - } - set path(newPath) { - _http._Cookie._validatePath(newPath); - this[_path$3] = newPath; - } - set name(newName) { - if (newName == null) dart.nullFailed(I[180], 968, 19, "newName"); - _http._Cookie._validateName(newName); - this[_name$8] = newName; - } - set value(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], 986, 36, "s"); - let index = 0; - function done() { - return index === s.length; - } - dart.fn(done, T$.VoidTobool()); - function parseName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseName, T$.VoidToString()); - function parseValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim](); - } - dart.fn(parseValue, T$.VoidToString()); - const parseAttributes = () => { - function parseAttributeName() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === "=" || s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeName, T$.VoidToString()); - function parseAttributeValue() { - let start = index; - while (!dart.test(done())) { - if (s[$_get](index) === ";") break; - index = index + 1; - } - return s[$substring](start, index)[$trim]()[$toLowerCase](); - } - dart.fn(parseAttributeValue, T$.VoidToString()); - while (!dart.test(done())) { - let name = parseAttributeName(); - let value = ""; - if (!dart.test(done()) && s[$_get](index) === "=") { - index = index + 1; - value = parseAttributeValue(); - } - if (name === "expires") { - this.expires = _http.HttpDate._parseCookieDate(value); - } else if (name === "max-age") { - this.maxAge = core.int.parse(value); - } else if (name === "domain") { - this.domain = value; - } else if (name === "path") { - this.path = value; - } else if (name === "httponly") { - this.httpOnly = true; - } else if (name === "secure") { - this.secure = true; - } - if (!dart.test(done())) index = index + 1; - } - }; - dart.fn(parseAttributes, T$.VoidTovoid()); - 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; - this[_value$5] = _http._Cookie._validateValue(parseValue()); - if (dart.test(done())) return; - index = index + 1; - parseAttributes(); - } - toString() { - let t260, t260$, t260$0, t260$1, t260$2; - let sb = new core.StringBuffer.new(); - t260 = sb; - (() => { - t260.write(this[_name$8]); - t260.write("="); - t260.write(this[_value$5]); - return t260; - })(); - let expires = this.expires; - if (expires != null) { - t260$ = sb; - (() => { - t260$.write("; Expires="); - t260$.write(_http.HttpDate.format(expires)); - return t260$; - })(); - } - if (this.maxAge != null) { - t260$0 = sb; - (() => { - t260$0.write("; Max-Age="); - t260$0.write(this.maxAge); - return t260$0; - })(); - } - if (this.domain != null) { - t260$1 = sb; - (() => { - t260$1.write("; Domain="); - t260$1.write(this.domain); - return t260$1; - })(); - } - if (this.path != null) { - t260$2 = sb; - (() => { - t260$2.write("; Path="); - t260$2.write(this.path); - return t260$2; - })(); - } - if (dart.test(this.secure)) sb.write("; Secure"); - if (dart.test(this.httpOnly)) sb.write("; HttpOnly"); - return sb.toString(); - } - static _validateName(newName) { - 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.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], 1130, 39, "newValue"); - if (newValue == null) dart.throw(new core.ArgumentError.notNull("value")); - let start = 0; - let end = newValue.length; - if (2 <= newValue.length && newValue[$codeUnits][$_get](start) === 34 && newValue[$codeUnits][$_get](end - 1) === 34) { - start = start + 1; - end = end - 1; - } - for (let i = start; i < end; i = i + 1) { - let codeUnit = newValue[$codeUnits][$_get](i); - if (!(codeUnit === 33 || dart.notNull(codeUnit) >= 35 && dart.notNull(codeUnit) <= 43 || dart.notNull(codeUnit) >= 45 && dart.notNull(codeUnit) <= 58 || dart.notNull(codeUnit) >= 60 && dart.notNull(codeUnit) <= 91 || dart.notNull(codeUnit) >= 93 && dart.notNull(codeUnit) <= 126)) { - dart.throw(new core.FormatException.new("Invalid character in cookie value, code unit: '" + dart.str(codeUnit) + "'", newValue, i)); - } - } - return newValue; - } - static _validatePath(path) { - if (path == null) return; - for (let i = 0; i < path.length; i = i + 1) { - let codeUnit = path[$codeUnitAt](i); - if (codeUnit < 32 || codeUnit >= 127 || codeUnit === 59) { - dart.throw(new core.FormatException.new("Invalid character in cookie path, code unit: '" + dart.str(codeUnit) + "'")); - } - } - } -}; -(_http._Cookie.new = function(name, value) { - 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$8] = _http._Cookie._validateName(name); - this[_value$5] = _http._Cookie._validateValue(value); - this[httpOnly$] = true; - ; -}).prototype = _http._Cookie.prototype; -(_http._Cookie.fromSetCookieValue = function(value) { - 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$8] = ""; - this[_value$5] = ""; - this[_parseSetCookieValue](value); -}).prototype = _http._Cookie.prototype; -dart.addTypeTests(_http._Cookie); -dart.addTypeCaches(_http._Cookie); -_http._Cookie[dart.implements] = () => [_http.Cookie]; -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, - value: core.String, - path: dart.nullable(core.String) -})); -dart.setSetterSignature(_http._Cookie, () => ({ - __proto__: dart.getSetters(_http._Cookie.__proto__), - path: dart.nullable(core.String), - name: core.String, - value: core.String -})); -dart.setLibraryUri(_http._Cookie, I[177]); -dart.setFieldSignature(_http._Cookie, () => ({ - __proto__: dart.getFields(_http._Cookie.__proto__), - [_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)), - domain: dart.fieldType(dart.nullable(core.String)), - [_path$3]: dart.fieldType(dart.nullable(core.String)), - httpOnly: dart.fieldType(core.bool), - secure: dart.fieldType(core.bool) -})); -dart.defineExtensionMethods(_http._Cookie, ['toString']); -var _timeline = dart.privateName(_http, "_timeline"); -_http.HttpProfiler = class HttpProfiler extends core.Object { - static startRequest(method, uri, opts) { - 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, (t260 = parentRequest, t260 == null ? null : t260[_timeline])); - _http.HttpProfiler._profile[$_set](data.id, data); - return data; - } - static getHttpProfileRequest(id) { - if (id == null) dart.nullFailed(I[181], 22, 54, "id"); - return _http.HttpProfiler._profile[$_get](id); - } - static clear() { - return _http.HttpProfiler._profile[$clear](); - } - static toJson(updatedSince) { - return convert.json.encode(new (T$.IdentityMapOfString$Object()).from(["type", "HttpProfile", "timestamp", developer.Timeline.now, "requests", (() => { - 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$1._HttpProfileDataTobool()))) - t260.push(request.toJson()); - return t260; - })()])); - } -}; -(_http.HttpProfiler.new = function() { - ; -}).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$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 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; - })(); - } -}; -(_http._HttpProfileEvent.new = function(name, $arguments) { - if (name == null) dart.nullFailed(I[181], 43, 26, "name"); - this.timestamp = developer.Timeline.now; - this.name = name; - this.arguments = $arguments; - ; -}).prototype = _http._HttpProfileEvent.prototype; -dart.addTypeTests(_http._HttpProfileEvent); -dart.addTypeCaches(_http._HttpProfileEvent); -dart.setMethodSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getMethods(_http._HttpProfileEvent.__proto__), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), []) -})); -dart.setLibraryUri(_http._HttpProfileEvent, I[177]); -dart.setFieldSignature(_http._HttpProfileEvent, () => ({ - __proto__: dart.getFields(_http._HttpProfileEvent.__proto__), - timestamp: dart.finalFieldType(core.int), - name: dart.finalFieldType(core.String), - arguments: dart.finalFieldType(dart.nullable(core.Map)) -})); -var ___HttpProfileData_id = dart.privateName(_http, "_#_HttpProfileData#id"); -var ___HttpProfileData_id_isSet = dart.privateName(_http, "_#_HttpProfileData#id#isSet"); -var ___HttpProfileData_requestStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp"); -var ___HttpProfileData_requestStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestStartTimestamp#isSet"); -var ___HttpProfileData_requestEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp"); -var ___HttpProfileData_requestEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#requestEndTimestamp#isSet"); -var ___HttpProfileData_responseStartTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp"); -var ___HttpProfileData_responseStartTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseStartTimestamp#isSet"); -var ___HttpProfileData_responseEndTimestamp = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp"); -var ___HttpProfileData_responseEndTimestamp_isSet = dart.privateName(_http, "_#_HttpProfileData#responseEndTimestamp#isSet"); -var _lastUpdateTime = dart.privateName(_http, "_lastUpdateTime"); -var ___HttpProfileData__responseTimeline = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline"); -var ___HttpProfileData__responseTimeline_isSet = dart.privateName(_http, "_#_HttpProfileData#_responseTimeline#isSet"); -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; - this[_timeline].instant(name, {arguments: $arguments}); - this.requestEvents[$add](new _http._HttpProfileEvent.new(name, $arguments)); - this[_updated](); - } - proxyEvent(proxy) { - if (proxy == null) dart.nullFailed(I[181], 82, 26, "proxy"); - this.proxyDetails = (() => { - 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](); - } - appendRequestData(data) { - if (data == null) dart.nullFailed(I[181], 94, 36, "data"); - this.requestBody[$addAll](data); - this[_updated](); - } - 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(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], 117, 32, "request"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - 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) - 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], 143, 51, "response"); - function formatRedirectInfo() { - 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$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) - 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], 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 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], 189, 38, "error"); - this.requestInProgress = false; - this.requestEndTimestamp = developer.Timeline.now; - this.requestError = error; - this[_timeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - finishResponse() { - this.responseInProgress = false; - this.responseEndTimestamp = developer.Timeline.now; - this.requestEvent("Content Download"); - this[_responseTimeline].finish(); - this[_updated](); - } - finishResponseWithError(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; - this.responseError = error; - this[_responseTimeline].finish({arguments: new _js_helper.LinkedMap.from(["error", error])}); - this[_updated](); - } - appendResponseData(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], 225, 37, "ref"); - return (() => { - 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) - t268.push(event.toJson()); - return t268; - })()); - 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 (!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; - })()); - return t266; - })(); - } - [_updated]() { - return this[_lastUpdateTime] = developer.Timeline.now; - } - get id() { - let t271; - return dart.test(this[___HttpProfileData_id_isSet]) ? (t271 = this[___HttpProfileData_id], t271) : dart.throw(new _internal.LateError.fieldNI("id")); - } - 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] = id$35param; - } - } - get requestStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestStartTimestamp")); - } - 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] = requestStartTimestamp$35param; - } - } - get requestEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_requestEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_requestEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("requestEndTimestamp")); - } - 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] = requestEndTimestamp$35param; - } - } - get responseStartTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseStartTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseStartTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseStartTimestamp")); - } - 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] = responseStartTimestamp$35param; - } - } - get responseEndTimestamp() { - let t271; - return dart.test(this[___HttpProfileData_responseEndTimestamp_isSet]) ? (t271 = this[___HttpProfileData_responseEndTimestamp], t271) : dart.throw(new _internal.LateError.fieldNI("responseEndTimestamp")); - } - 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] = responseEndTimestamp$35param; - } - } - get lastUpdateTime() { - return this[_lastUpdateTime]; - } - get [_responseTimeline]() { - let t271; - return dart.test(this[___HttpProfileData__responseTimeline_isSet]) ? (t271 = this[___HttpProfileData__responseTimeline], t271) : dart.throw(new _internal.LateError.fieldNI("_responseTimeline")); - } - set [_responseTimeline](_responseTimeline$35param) { - if (_responseTimeline$35param == null) dart.nullFailed(I[181], 286, 21, "_responseTimeline#param"); - this[___HttpProfileData__responseTimeline_isSet] = true; - this[___HttpProfileData__responseTimeline] = _responseTimeline$35param; - } -}; -(_http._HttpProfileData.new = function(method, uri, parent) { - if (method == null) dart.nullFailed(I[181], 58, 27, "method"); - if (uri == null) dart.nullFailed(I[181], 58, 40, "uri"); - this.requestInProgress = true; - this.responseInProgress = null; - this[___HttpProfileData_id] = null; - this[___HttpProfileData_id_isSet] = false; - this[___HttpProfileData_requestStartTimestamp] = null; - this[___HttpProfileData_requestStartTimestamp_isSet] = false; - this[___HttpProfileData_requestEndTimestamp] = null; - this[___HttpProfileData_requestEndTimestamp_isSet] = false; - this.requestDetails = null; - this.proxyDetails = null; - this.requestBody = T$.JSArrayOfint().of([]); - this.requestError = null; - this.requestEvents = T$1.JSArrayOf_HttpProfileEvent().of([]); - this[___HttpProfileData_responseStartTimestamp] = null; - this[___HttpProfileData_responseStartTimestamp_isSet] = false; - this[___HttpProfileData_responseEndTimestamp] = null; - this[___HttpProfileData_responseEndTimestamp_isSet] = false; - this.responseDetails = null; - this.responseBody = T$.JSArrayOfint().of([]); - this.responseError = null; - this[_lastUpdateTime] = 0; - this[___HttpProfileData__responseTimeline] = null; - this[___HttpProfileData__responseTimeline_isSet] = false; - this.uri = uri; - this.method = method[$toUpperCase](); - this[_timeline] = new developer.TimelineTask.new({filterKey: "HTTP/client", parent: parent}); - this.id = this[_timeline].pass(); - this.requestInProgress = true; - this.requestStartTimestamp = developer.Timeline.now; - this[_timeline].start("HTTP CLIENT " + dart.str(method), {arguments: new _js_helper.LinkedMap.from(["method", method[$toUpperCase](), "uri", dart.toString(this.uri)])}); - this[_updated](); -}).prototype = _http._HttpProfileData.prototype; -dart.addTypeTests(_http._HttpProfileData); -dart.addTypeCaches(_http._HttpProfileData); -dart.setMethodSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getMethods(_http._HttpProfileData.__proto__), - 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, [_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]), - finishResponse: dart.fnType(dart.void, []), - finishResponseWithError: dart.fnType(dart.void, [core.String]), - appendResponseData: dart.fnType(dart.void, [typed_data.Uint8List]), - toJson: dart.fnType(core.Map$(core.String, dart.dynamic), [], {ref: core.bool}, {}), - [_updated]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getGetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - lastUpdateTime: core.int, - [_responseTimeline]: developer.TimelineTask -})); -dart.setSetterSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getSetters(_http._HttpProfileData.__proto__), - id: core.int, - requestStartTimestamp: core.int, - requestEndTimestamp: core.int, - responseStartTimestamp: core.int, - responseEndTimestamp: core.int, - [_responseTimeline]: developer.TimelineTask -})); -dart.setLibraryUri(_http._HttpProfileData, I[177]); -dart.setFieldSignature(_http._HttpProfileData, () => ({ - __proto__: dart.getFields(_http._HttpProfileData.__proto__), - requestInProgress: dart.fieldType(core.bool), - responseInProgress: dart.fieldType(dart.nullable(core.bool)), - [___HttpProfileData_id]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_id_isSet]: dart.fieldType(core.bool), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - [___HttpProfileData_requestStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_requestEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_requestEndTimestamp_isSet]: dart.fieldType(core.bool), - requestDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - proxyDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - requestBody: dart.finalFieldType(core.List$(core.int)), - requestError: dart.fieldType(dart.nullable(core.String)), - requestEvents: dart.finalFieldType(core.List$(_http._HttpProfileEvent)), - [___HttpProfileData_responseStartTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseStartTimestamp_isSet]: dart.fieldType(core.bool), - [___HttpProfileData_responseEndTimestamp]: dart.fieldType(dart.nullable(core.int)), - [___HttpProfileData_responseEndTimestamp_isSet]: dart.fieldType(core.bool), - responseDetails: dart.fieldType(dart.nullable(core.Map$(core.String, dart.dynamic))), - responseBody: dart.finalFieldType(core.List$(core.int)), - responseError: dart.fieldType(dart.nullable(core.String)), - [_lastUpdateTime]: dart.fieldType(core.int), - [_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)); - } -}, false); -var __serviceId$ = dart.privateName(_http, "_ServiceObject.__serviceId"); -var __serviceId$0 = dart.privateName(_http, "__serviceId"); -var _serviceId$ = dart.privateName(_http, "_serviceId"); -var _serviceTypePath$ = dart.privateName(_http, "_serviceTypePath"); -var _servicePath$ = dart.privateName(_http, "_servicePath"); -var _serviceTypeName$ = dart.privateName(_http, "_serviceTypeName"); -var _serviceType$ = dart.privateName(_http, "_serviceType"); -_http._ServiceObject = class _ServiceObject extends core.Object { - get [__serviceId$0]() { - return this[__serviceId$]; - } - set [__serviceId$0](value) { - if (value == null) dart.nullFailed(I[181], 293, 7, "__serviceId"); - this[__serviceId$] = value; - } - get [_serviceId$]() { - 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], 305, 28, "ref"); - if (dart.test(ref)) return "@" + dart.str(this[_serviceTypeName$]); - return this[_serviceTypeName$]; - } -}; -(_http._ServiceObject.new = function() { - this[__serviceId$] = 0; - ; -}).prototype = _http._ServiceObject.prototype; -dart.addTypeTests(_http._ServiceObject); -dart.addTypeCaches(_http._ServiceObject); -dart.setMethodSignature(_http._ServiceObject, () => ({ - __proto__: dart.getMethods(_http._ServiceObject.__proto__), - [_serviceType$]: dart.fnType(core.String, [core.bool]) -})); -dart.setGetterSignature(_http._ServiceObject, () => ({ - __proto__: dart.getGetters(_http._ServiceObject.__proto__), - [_serviceId$]: core.int, - [_servicePath$]: core.String -})); -dart.setLibraryUri(_http._ServiceObject, I[177]); -dart.setFieldSignature(_http._ServiceObject, () => ({ - __proto__: dart.getFields(_http._ServiceObject.__proto__), - [__serviceId$0]: dart.fieldType(core.int) -})); -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], 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], 332, 12, "_buffer.length >= required"); - if (typed_data.Uint8List.is(bytes)) { - this[_buffer$1][$setRange](this[_length$1], required, bytes); - } else { - for (let i = 0; i < dart.notNull(bytesLength); i = i + 1) { - this[_buffer$1][$_set](dart.notNull(this[_length$1]) + i, bytes[$_get](i)); - } - } - this[_length$1] = required; - } - addByte(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], 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], 354, 18, "required"); - let newSize = dart.notNull(required) * 2; - if (dart.notNull(newSize) < 1024) { - newSize = 1024; - } else { - newSize = _http._CopyingBytesBuilder._pow2roundup(newSize); - } - let newBuffer = _native_typed_data.NativeUint8List.new(newSize); - newBuffer[$setRange](0, this[_buffer$1][$length], this[_buffer$1]); - this[_buffer$1] = newBuffer; - } - takeBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - let buffer = typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1]); - this.clear(); - return buffer; - } - toBytes() { - if (this[_length$1] === 0) return _http._CopyingBytesBuilder._emptyList; - return _native_typed_data.NativeUint8List.fromList(typed_data.Uint8List.view(this[_buffer$1][$buffer], this[_buffer$1][$offsetInBytes], this[_length$1])); - } - get length() { - return this[_length$1]; - } - get isEmpty() { - return this[_length$1] === 0; - } - get isNotEmpty() { - return this[_length$1] !== 0; - } - clear() { - this[_length$1] = 0; - this[_buffer$1] = _http._CopyingBytesBuilder._emptyList; - } - static _pow2roundup(x) { - 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; - x = (dart.notNull(x) | x[$rightShift](4)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](8)) >>> 0; - x = (dart.notNull(x) | x[$rightShift](16)) >>> 0; - return dart.notNull(x) + 1; - } -}; -(_http._CopyingBytesBuilder.new = function(initialCapacity = 0) { - 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)); - ; -}).prototype = _http._CopyingBytesBuilder.prototype; -dart.addTypeTests(_http._CopyingBytesBuilder); -dart.addTypeCaches(_http._CopyingBytesBuilder); -_http._CopyingBytesBuilder[dart.implements] = () => [_internal.BytesBuilder]; -dart.setMethodSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getMethods(_http._CopyingBytesBuilder.__proto__), - add: dart.fnType(dart.void, [core.List$(core.int)]), - addByte: dart.fnType(dart.void, [core.int]), - [_grow$0]: dart.fnType(dart.void, [core.int]), - takeBytes: dart.fnType(typed_data.Uint8List, []), - 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, - isEmpty: core.bool, - isNotEmpty: core.bool -})); -dart.setLibraryUri(_http._CopyingBytesBuilder, I[177]); -dart.setFieldSignature(_http._CopyingBytesBuilder, () => ({ - __proto__: dart.getFields(_http._CopyingBytesBuilder.__proto__), - [_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; - }, - /*_http._CopyingBytesBuilder._emptyList*/get _emptyList() { - return _native_typed_data.NativeUint8List.new(0); - } -}, false); -var _dataCompleter = dart.privateName(_http, "_dataCompleter"); -var _transferLength$ = dart.privateName(_http, "_transferLength"); -var _stream$1 = dart.privateName(_http, "_stream"); -_http._HttpIncoming = class _HttpIncoming extends async.Stream$(typed_data.Uint8List) { - 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(_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], 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], 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; - this.reasonPhrase = null; - this.method = null; - this.uri = null; - this.hasSubscriber = false; - this.headers = headers; - this[_transferLength$] = _transferLength; - this[_stream$1] = _stream; - _http._HttpIncoming.__proto__.new.call(this); - ; -}).prototype = _http._HttpIncoming.prototype; -dart.addTypeTests(_http._HttpIncoming); -dart.addTypeCaches(_http._HttpIncoming); -dart.setMethodSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpIncoming.__proto__), - 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)}, {}), - close: dart.fnType(dart.void, [core.bool]) -})); -dart.setGetterSignature(_http._HttpIncoming, () => ({ - __proto__: dart.getGetters(_http._HttpIncoming.__proto__), - transferLength: core.int, - 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$(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), - statusCode: dart.fieldType(dart.nullable(core.int)), - reasonPhrase: dart.fieldType(dart.nullable(core.String)), - method: dart.fieldType(dart.nullable(core.String)), - uri: dart.fieldType(dart.nullable(core.Uri)), - hasSubscriber: dart.fieldType(core.bool) -})); -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 t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } -}; -(_http._HttpInboundMessageListInt.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 460, 35, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessageListInt.__proto__.new.call(this); - ; -}).prototype = _http._HttpInboundMessageListInt.prototype; -dart.addTypeTests(_http._HttpInboundMessageListInt); -dart.addTypeCaches(_http._HttpInboundMessageListInt); -dart.setGetterSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessageListInt.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http._HttpInboundMessageListInt, I[177]); -dart.setFieldSignature(_http._HttpInboundMessageListInt, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessageListInt.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) -})); -_http._HttpInboundMessage = class _HttpInboundMessage extends async.Stream$(typed_data.Uint8List) { - get cookies() { - let t271; - t271 = this[_cookies]; - return t271 == null ? this[_cookies] = this.headers[_parseCookies]() : t271; - } - get headers() { - return this[_incoming$].headers; - } - get protocolVersion() { - return this.headers.protocolVersion; - } - get contentLength() { - return this.headers.contentLength; - } - get persistentConnection() { - return this.headers.persistentConnection; - } -}; -(_http._HttpInboundMessage.new = function(_incoming) { - if (_incoming == null) dart.nullFailed(I[181], 474, 28, "_incoming"); - this[_cookies] = null; - this[_incoming$] = _incoming; - _http._HttpInboundMessage.__proto__.new.call(this); - ; -}).prototype = _http._HttpInboundMessage.prototype; -dart.addTypeTests(_http._HttpInboundMessage); -dart.addTypeCaches(_http._HttpInboundMessage); -dart.setGetterSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getGetters(_http._HttpInboundMessage.__proto__), - cookies: core.List$(_http.Cookie), - headers: _http._HttpHeaders, - protocolVersion: core.String, - contentLength: core.int, - persistentConnection: core.bool -})); -dart.setLibraryUri(_http._HttpInboundMessage, I[177]); -dart.setFieldSignature(_http._HttpInboundMessage, () => ({ - __proto__: dart.getFields(_http._HttpInboundMessage.__proto__), - [_incoming$]: dart.finalFieldType(_http._HttpIncoming), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))) -})); -var _session = dart.privateName(_http, "_session"); -var _requestedUri = dart.privateName(_http, "_requestedUri"); -var _httpServer$ = dart.privateName(_http, "_httpServer"); -var _httpConnection$ = dart.privateName(_http, "_httpConnection"); -var _sessionManagerInstance = dart.privateName(_http, "_sessionManagerInstance"); -var _sessionManager$ = dart.privateName(_http, "_sessionManager"); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get uri() { - return dart.nullCheck(this[_incoming$].uri); - } - get requestedUri() { - let requestedUri = this[_requestedUri]; - if (requestedUri != null) return requestedUri; - let proto = this.headers._get("x-forwarded-proto"); - let scheme = proto != null ? proto[$first] : io.SecureSocket.is(this[_httpConnection$][_socket$0]) ? "https" : "http"; - let hostList = this.headers._get("x-forwarded-host"); - let host = null; - if (hostList != null) { - host = hostList[$first]; - } else { - hostList = this.headers._get("host"); - if (hostList != null) { - host = hostList[$first]; - } else { - host = dart.str(this[_httpServer$].address.host) + ":" + dart.str(this[_httpServer$].port); - } - } - return this[_requestedUri] = core.Uri.parse(dart.str(scheme) + "://" + dart.str(host) + dart.str(this.uri)); - } - get method() { - return dart.nullCheck(this[_incoming$].method); - } - get session() { - let session = this[_session]; - if (session != null && !dart.test(session[_destroyed])) { - return session; - } - return this[_session] = this[_httpServer$][_sessionManager$].createSession(); - } - get connectionInfo() { - return this[_httpConnection$].connectionInfo; - } - get certificate() { - let socket = this[_httpConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } -}; -(_http._HttpRequest.new = function(response, _incoming, _httpServer, _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; - this[_httpServer$] = _httpServer; - this[_httpConnection$] = _httpConnection; - _http._HttpRequest.__proto__.new.call(this, _incoming); - if (this.headers.protocolVersion === "1.1") { - t271 = this.response.headers; - (() => { - 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], 507, 19, "cookie"); - return cookie.name[$toUpperCase]() === "DARTSESSID"; - }, T$1.CookieTobool()))[$map](core.String, dart.fn(cookie => { - if (cookie == null) dart.nullFailed(I[181], 508, 25, "cookie"); - return cookie.value; - }, T$1.CookieToString())); - for (let sessionId of sessionIds) { - let session = this[_httpServer$][_sessionManager$].getSession(sessionId); - this[_session] = session; - if (session != null) { - session[_markSeen](); - break; - } - } - } -}).prototype = _http._HttpRequest.prototype; -dart.addTypeTests(_http._HttpRequest); -dart.addTypeCaches(_http._HttpRequest); -_http._HttpRequest[dart.implements] = () => [_http.HttpRequest]; -dart.setMethodSignature(_http._HttpRequest, () => ({ - __proto__: dart.getMethods(_http._HttpRequest.__proto__), - 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)}, {}) -})); -dart.setGetterSignature(_http._HttpRequest, () => ({ - __proto__: dart.getGetters(_http._HttpRequest.__proto__), - uri: core.Uri, - requestedUri: core.Uri, - method: core.String, - session: _http.HttpSession, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - certificate: dart.nullable(io.X509Certificate) -})); -dart.setLibraryUri(_http._HttpRequest, I[177]); -dart.setFieldSignature(_http._HttpRequest, () => ({ - __proto__: dart.getFields(_http._HttpRequest.__proto__), - response: dart.finalFieldType(_http.HttpResponse), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpConnection$]: dart.finalFieldType(_http._HttpConnection), - [_session]: dart.fieldType(dart.nullable(_http._HttpSession)), - [_requestedUri]: dart.fieldType(dart.nullable(core.Uri)) -})); -var _httpRequest$ = dart.privateName(_http, "_httpRequest"); -var _httpClient$ = dart.privateName(_http, "_httpClient"); -var _profileData$ = dart.privateName(_http, "_profileData"); -var _responseRedirects = dart.privateName(_http, "_responseRedirects"); -var _httpClientConnection$ = dart.privateName(_http, "_httpClientConnection"); -var _openUrlFromRequest = dart.privateName(_http, "_openUrlFromRequest"); -var _connectionClosed = dart.privateName(_http, "_connectionClosed"); -var _shouldAuthenticateProxy = dart.privateName(_http, "_shouldAuthenticateProxy"); -var _shouldAuthenticate = dart.privateName(_http, "_shouldAuthenticate"); -var _proxy$ = dart.privateName(_http, "_proxy"); -var _findProxyCredentials = dart.privateName(_http, "_findProxyCredentials"); -var _findCredentials = dart.privateName(_http, "_findCredentials"); -var _removeProxyCredentials = dart.privateName(_http, "_removeProxyCredentials"); -var _removeCredentials = dart.privateName(_http, "_removeCredentials"); -var _authenticateProxy = dart.privateName(_http, "_authenticateProxy"); -var _authenticate = dart.privateName(_http, "_authenticate"); -_http._HttpClientResponse = class _HttpClientResponse extends _http._HttpInboundMessageListInt { - 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], 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 { - return _http.HttpClientResponseCompressionState.notCompressed; - } - } - get statusCode() { - return dart.nullCheck(this[_incoming$].statusCode); - } - get reasonPhrase() { - return dart.nullCheck(this[_incoming$].reasonPhrase); - } - get certificate() { - let socket = this[_httpRequest$][_httpClientConnection$][_socket$0]; - if (io.SecureSocket.is(socket)) return socket.peerCertificate; - return null; - } - get cookies() { - let cookies = this[_cookies]; - if (cookies != null) return cookies; - cookies = T$0.JSArrayOfCookie().of([]); - let values = this.headers._get("set-cookie"); - if (values != null) { - for (let value of values) { - cookies[$add](_http.Cookie.fromSetCookieValue(value)); - } - } - this[_cookies] = cookies; - return cookies; - } - get isRedirect() { - if (this[_httpRequest$].method === "GET" || this[_httpRequest$].method === "HEAD") { - return this.statusCode === 301 || this.statusCode === 308 || this.statusCode === 302 || this.statusCode === 303 || this.statusCode === 307; - } else if (this[_httpRequest$].method === "POST") { - return this.statusCode === 303; - } - return false; - } - redirect(method = null, url = null, followLoops = null) { - if (method == null) { - if (this.statusCode === 303 && this[_httpRequest$].method === "POST") { - method = "GET"; - } else { - method = this[_httpRequest$].method; - } - } - if (url == null) { - let location = this.headers.value("location"); - if (location == null) { - dart.throw(new core.StateError.new("Response has no Location header for redirect")); - } - url = core.Uri.parse(location); - } - if (followLoops !== true) { - for (let redirect of this.redirects) { - if (dart.equals(redirect.location, url)) { - return T$1.FutureOfHttpClientResponse().error(new _http.RedirectException.new("Redirect loop detected", this.redirects)); - } - } - } - 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]; - (() => { - t271[$addAll](this.redirects); - t271[$add](new _http._RedirectInfo.new(this.statusCode, dart.nullCheck(method), dart.nullCheck(url))); - return t271; - })(); - return request.close(); - }, T$1._HttpClientRequestToFutureOfHttpClientResponse())); - } - listen(onData, opts) { - 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)) { - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError("Connection was upgraded"); - this[_httpRequest$][_httpClientConnection$].destroy(); - 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[478] || CT.C478); - } - if (this[_profileData$] != null) { - stream = stream.map(typed_data.Uint8List, dart.fn(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$1.Uint8ListToUint8List())); - } - return stream.listen(onData, {onError: dart.fn((e, st) => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponseWithError(dart.toString(e)); - if (onError == null) { - return; - } - if (T$.ObjectAndStackTraceTovoid().is(onError)) { - onError(core.Object.as(e), core.StackTrace.as(st)); - } else { - T$.ObjectTovoid().as(onError)(core.Object.as(e)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.fn(() => { - let t271; - t271 = this[_profileData$]; - t271 == null ? null : t271.finishResponse(); - if (onDone != null) { - onDone(); - } - }, T$.VoidTovoid()), cancelOnError: cancelOnError}); - } - detachSocket() { - 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(); - } - get connectionInfo() { - return this[_httpRequest$].connectionInfo; - } - get [_shouldAuthenticateProxy]() { - let challenge = this.headers._get("proxy-authenticate"); - return this.statusCode === 407 && challenge != null && challenge[$length] === 1; - } - get [_shouldAuthenticate]() { - let challenge = this.headers._get("www-authenticate"); - return this.statusCode === 401 && challenge != null && challenge[$length] === 1; - } - [_authenticate](proxyAuth) { - 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 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$1._HttpClientRequestToFutureOfHttpClientResponse())), T$1.dynamicToFutureOfHttpClientResponse())); - }; - 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$1.VoidToListNOfString()); - const findCredentials = 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$1._AuthenticationSchemeTo_CredentialsN()); - const removeCredentials = 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$1._CredentialsTovoid()); - const requestAuthentication = (scheme, realm) => { - 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$]; - if (!dart.test(proxy.isDirect)) { - return authenticateProxy(dart.nullCheck(proxy.host), dart.nullCheck(proxy.port), 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$1._AuthenticationSchemeAndStringNToFutureOfbool()); - let challenge = dart.nullCheck(authChallenge()); - 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"); - let cr = findCredentials(scheme); - if (cr != null) { - if (dart.equals(cr.scheme, _http._AuthenticationScheme.BASIC) && !dart.test(cr.used)) { - return retry(); - } - if (dart.equals(cr.scheme, _http._AuthenticationScheme.DIGEST)) { - let algorithm = header.parameters[$_get]("algorithm"); - if (algorithm == null || algorithm[$toLowerCase]() === "md5") { - let nonce = cr.nonce; - if (nonce == null || nonce == header.parameters[$_get]("nonce")) { - if (nonce == null) { - t271$ = cr; - (() => { - t271$.nonce = header.parameters[$_get]("nonce"); - t271$.algorithm = "MD5"; - t271$.qop = header.parameters[$_get]("qop"); - t271$.nonceCount = 0; - return t271$; - })(); - } - return retry(); - } else { - let staleHeader = header.parameters[$_get]("stale"); - if (staleHeader != null && staleHeader[$toLowerCase]() === "true") { - cr.nonce = header.parameters[$_get]("nonce"); - return retry(); - } - } - } - } - } - if (cr != null) { - removeCredentials(cr); - cr = null; - } - return requestAuthentication(scheme, realm).then(_http.HttpClientResponse, dart.fn(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$1.boolToFutureOrOfHttpClientResponse())); - } -}; -(_http._HttpClientResponse.new = function(_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"); - this[_httpRequest$] = _httpRequest; - this[_httpClient$] = _httpClient; - this[_profileData$] = _profileData; - this.compressionState = _http._HttpClientResponse._getCompressionState(_httpClient, _incoming.headers); - _http._HttpClientResponse.__proto__.new.call(this, _incoming); - _incoming.uri = this[_httpRequest$].uri; -}).prototype = _http._HttpClientResponse.prototype; -dart.addTypeTests(_http._HttpClientResponse); -dart.addTypeCaches(_http._HttpClientResponse); -_http._HttpClientResponse[dart.implements] = () => [_http.HttpClientResponse]; -dart.setMethodSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getMethods(_http._HttpClientResponse.__proto__), - redirect: dart.fnType(async.Future$(_http.HttpClientResponse), [], [dart.nullable(core.String), dart.nullable(core.Uri), dart.nullable(core.bool)]), - 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)}, {}), - 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), - statusCode: core.int, - reasonPhrase: core.String, - certificate: dart.nullable(io.X509Certificate), - isRedirect: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_shouldAuthenticateProxy]: core.bool, - [_shouldAuthenticate]: core.bool -})); -dart.setLibraryUri(_http._HttpClientResponse, I[177]); -dart.setFieldSignature(_http._HttpClientResponse, () => ({ - __proto__: dart.getFields(_http._HttpClientResponse.__proto__), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpRequest$]: dart.finalFieldType(_http._HttpClientRequest), - compressionState: dart.finalFieldType(_http.HttpClientResponseCompressionState), - [_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], 868, 31, "input"); - return _native_typed_data.NativeUint8List.fromList(input); - } - startChunkedConversion(sink) { - T$1.SinkOfUint8List().as(sink); - if (sink == null) dart.nullFailed(I[181], 870, 58, "sink"); - return new _http._Uint8ListConversionSink.new(sink); - } -}; -(_http._ToUint8List.new = function() { - _http._ToUint8List.__proto__.new.call(this); - ; -}).prototype = _http._ToUint8List.prototype; -dart.addTypeTests(_http._ToUint8List); -dart.addTypeCaches(_http._ToUint8List); -dart.setMethodSignature(_http._ToUint8List, () => ({ - __proto__: dart.getMethods(_http._ToUint8List.__proto__), - convert: dart.fnType(typed_data.Uint8List, [dart.nullable(core.Object)]) -})); -dart.setLibraryUri(_http._ToUint8List, I[177]); -var _target$1 = dart.privateName(_http, "_Uint8ListConversionSink._target"); -var _target$2 = dart.privateName(_http, "_target"); -_http._Uint8ListConversionSink = class _Uint8ListConversionSink extends core.Object { - get [_target$2]() { - return this[_target$1]; - } - 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], 880, 22, "data"); - this[_target$2].add(_native_typed_data.NativeUint8List.fromList(data)); - } - close() { - this[_target$2].close(); - } -}; -(_http._Uint8ListConversionSink.new = function(_target) { - if (_target == null) dart.nullFailed(I[181], 876, 39, "_target"); - this[_target$1] = _target; - ; -}).prototype = _http._Uint8ListConversionSink.prototype; -dart.addTypeTests(_http._Uint8ListConversionSink); -dart.addTypeCaches(_http._Uint8ListConversionSink); -_http._Uint8ListConversionSink[dart.implements] = () => [core.Sink$(core.List$(core.int))]; -dart.setMethodSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getMethods(_http._Uint8ListConversionSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._Uint8ListConversionSink, I[177]); -dart.setFieldSignature(_http._Uint8ListConversionSink, () => ({ - __proto__: dart.getFields(_http._Uint8ListConversionSink.__proto__), - [_target$2]: dart.finalFieldType(core.Sink$(typed_data.Uint8List)) -})); -var _doneCompleter$ = dart.privateName(_http, "_doneCompleter"); -var _controllerInstance$ = dart.privateName(_http, "_controllerInstance"); -var _controllerCompleter$ = dart.privateName(_http, "_controllerCompleter"); -var _isClosed$0 = dart.privateName(_http, "_isClosed"); -var _isBound$ = dart.privateName(_http, "_isBound"); -var _hasError$0 = dart.privateName(_http, "_hasError"); -var _controller$0 = dart.privateName(_http, "_controller"); -var _closeTarget$ = dart.privateName(_http, "_closeTarget"); -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 __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])) { - dart.throw(new core.StateError.new("StreamSink is closed")); - } - this[_controller$0].add(data); - } - addError(error, stackTrace = null) { - 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) { - __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")); - } - this[_isBound$] = true; - if (dart.test(this[_hasError$0])) return this.done; - const targetAddStream = () => { - return this[_target$2].addStream(stream).whenComplete(dart.fn(() => { - this[_isBound$] = false; - }, T$.VoidToNull())); - }; - dart.fn(targetAddStream, T$0.VoidToFuture()); - let controller = this[_controllerInstance$]; - if (controller == null) return targetAddStream(); - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.close(); - return future.then(dart.dynamic, dart.fn(_ => targetAddStream(), T$.dynamicToFuture())); - } - flush() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - let controller = this[_controllerInstance$]; - if (controller == null) return async.Future.value(this); - this[_isBound$] = true; - let future = dart.nullCheck(this[_controllerCompleter$]).future; - controller.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$0])) { - this[_isClosed$0] = true; - let controller = this[_controllerInstance$]; - if (controller != null) { - controller.close(); - } else { - this[_closeTarget$](); - } - } - return this.done; - } - [_closeTarget$]() { - this[_target$2].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 (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); - } - } - get [_controller$0]() { - if (dart.test(this[_isBound$])) { - dart.throw(new core.StateError.new("StreamSink is bound to a stream")); - } - if (dart.test(this[_isClosed$0])) { - 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$2].addStream(this[_controller$0].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 (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; - this[_controllerInstance$] = null; - } else { - this[_completeDoneError$](error, stackTrace); - } - }, T$.ObjectAndStackTraceToNull())}); - } - return dart.nullCheck(this[_controllerInstance$]); - } - } - (_StreamSinkImpl.new = function(_target) { - 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; - this[_isBound$] = false; - this[_hasError$0] = false; - this[_target$2] = _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, [core.Object, core.StackTrace]) - })); - dart.setGetterSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getGetters(_StreamSinkImpl.__proto__), - done: async.Future, - [_controller$0]: async.StreamController$(T) - })); - dart.setLibraryUri(_StreamSinkImpl, I[177]); - dart.setFieldSignature(_StreamSinkImpl, () => ({ - __proto__: dart.getFields(_StreamSinkImpl.__proto__), - [_target$2]: dart.finalFieldType(async.StreamConsumer$(T)), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(dart.void)), - [_controllerInstance$]: dart.fieldType(dart.nullable(async.StreamController$(T))), - [_controllerCompleter$]: dart.fieldType(dart.nullable(async.Completer)), - [_isClosed$0]: dart.fieldType(core.bool), - [_isBound$]: dart.fieldType(core.bool), - [_hasError$0]: dart.fieldType(core.bool) - })); - return _StreamSinkImpl; -}); -_http._StreamSinkImpl = _http._StreamSinkImpl$(); -dart.addTypeTests(_http._StreamSinkImpl, _is__StreamSinkImpl_default$); -var _encodingMutable$ = dart.privateName(_http, "_encodingMutable"); -var _encoding$0 = dart.privateName(_http, "_encoding"); -var __IOSink_encoding_isSet$ = dart.privateName(_http, "_#IOSink#encoding#isSet"); -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)) { - 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], 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 t271; - let string = dart.str(obj); - if (string[$isEmpty]) return; - 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], 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]) { - 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[181], 1072, 26, "charCode"); - this.write(core.String.fromCharCode(charCode)); - } - get [__IOSink_encoding_isSet]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[479] || CT.C479))); - } - get [__IOSink_encoding]() { - return dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 1028, 33, "target"); - if (_encoding == null) dart.nullFailed(I[181], 1028, 46, "_encoding"); - this[_encodingMutable$] = true; - this[_encoding$0] = _encoding; - this[_profileData$] = _profileData; - _http._IOSinkImpl.__proto__.new.call(this, target); - ; -}).prototype = _http._IOSinkImpl.prototype; -dart.addTypeTests(_http._IOSinkImpl); -dart.addTypeCaches(_http._IOSinkImpl); -_http._IOSinkImpl[dart.implements] = () => [io.IOSink]; -dart.setMethodSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getMethods(_http._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(_http._IOSinkImpl, () => ({ - __proto__: dart.getGetters(_http._IOSinkImpl.__proto__), - encoding: convert.Encoding, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) -})); -dart.setLibraryUri(_http._IOSinkImpl, I[177]); -dart.setFieldSignature(_http._IOSinkImpl, () => ({ - __proto__: dart.getFields(_http._IOSinkImpl.__proto__), - [_encoding$0]: dart.fieldType(convert.Encoding), - [_encodingMutable$]: dart.fieldType(core.bool), - [_profileData$]: dart.finalFieldType(dart.nullable(_http._HttpProfileData)) -})); -var _encodingSet = dart.privateName(_http, "_encodingSet"); -var _bufferOutput = dart.privateName(_http, "_bufferOutput"); -var _uri = dart.privateName(_http, "_uri"); -var _outgoing = dart.privateName(_http, "_outgoing"); -var _isConnectionClosed = dart.privateName(_http, "_isConnectionClosed"); -const _is__HttpOutboundMessage_default = Symbol('_is__HttpOutboundMessage_default'); -_http._HttpOutboundMessage$ = dart.generic(T => { - class _HttpOutboundMessage extends _http._IOSinkImpl { - get contentLength() { - return this.headers.contentLength; - } - set contentLength(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], 1110, 38, "p"); - this.headers.persistentConnection = p; - } - get bufferOutput() { - return this[_bufferOutput]; - } - set bufferOutput(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 t271; - if (dart.test(this[_encodingSet]) && dart.test(this[_outgoing].headersWritten)) { - return this[_encoding$0]; - } - let charset = null; - let contentType = this.headers.contentType; - if (contentType != null && contentType.charset != null) { - charset = dart.nullCheck(contentType.charset); - } else { - charset = "iso-8859-1"; - } - t271 = convert.Encoding.getByName(charset); - return t271 == null ? convert.latin1 : t271; - } - set encoding(value) { - super.encoding = value; - } - add(data) { - let t271; - T$0.ListOfint().as(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], 1140, 38, "s"); - if (this[_profileData$] == null) { - return super.addStream(s); - } - return super.addStream(s.map(T$0.ListOfint(), dart.fn(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$1.ListOfintToListOfint()))); - } - write(obj) { - if (!dart.test(this[_encodingSet])) { - this[_encoding$0] = this.encoding; - this[_encodingSet] = true; - } - super.write(obj); - } - get [_isConnectionClosed]() { - return false; - } - } - (_HttpOutboundMessage.new = function(uri, protocolVersion, outgoing, profileData, opts) { - 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: 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; - this[_encodingMutable$] = false; - }).prototype = _HttpOutboundMessage.prototype; - dart.addTypeTests(_HttpOutboundMessage); - _HttpOutboundMessage.prototype[_is__HttpOutboundMessage_default] = true; - dart.addTypeCaches(_HttpOutboundMessage); - dart.setGetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getGetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool, - [_isConnectionClosed]: core.bool - })); - dart.setSetterSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getSetters(_HttpOutboundMessage.__proto__), - contentLength: core.int, - persistentConnection: core.bool, - bufferOutput: core.bool - })); - dart.setLibraryUri(_HttpOutboundMessage, I[177]); - dart.setFieldSignature(_HttpOutboundMessage, () => ({ - __proto__: dart.getFields(_HttpOutboundMessage.__proto__), - [_encodingSet]: dart.fieldType(core.bool), - [_bufferOutput]: dart.fieldType(core.bool), - [_uri]: dart.finalFieldType(core.Uri), - [_outgoing]: dart.finalFieldType(_http._HttpOutgoing), - headers: dart.finalFieldType(_http._HttpHeaders) - })); - return _HttpOutboundMessage; -}); -_http._HttpOutboundMessage = _http._HttpOutboundMessage$(); -dart.addTypeTests(_http._HttpOutboundMessage, _is__HttpOutboundMessage_default); -var _statusCode = dart.privateName(_http, "_statusCode"); -var _reasonPhrase = dart.privateName(_http, "_reasonPhrase"); -var _deadline = dart.privateName(_http, "_deadline"); -var _deadlineTimer = dart.privateName(_http, "_deadlineTimer"); -var _isClosing = dart.privateName(_http, "_isClosing"); -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 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], 1186, 27, "statusCode"); - if (dart.test(this[_outgoing].headersWritten)) dart.throw(new core.StateError.new("Header already sent")); - this[_statusCode] = statusCode; - } - get reasonPhrase() { - return this[_findReasonPhrase](this.statusCode); - } - set reasonPhrase(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], 1197, 23, "location"); - let status = opts && 'status' in opts ? opts.status : 302; - 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)); - return this.close(); - } - detachSocket(opts) { - let writeHeaders = opts && 'writeHeaders' in opts ? opts.writeHeaders : true; - 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], 1211, 14, "headersFuture == null"); - } else { - this[_outgoing].headersWritten = true; - } - this.close(); - this.done.catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - return future; - } - get connectionInfo() { - return dart.nullCheck(this[_httpRequest$]).connectionInfo; - } - get deadline() { - return this[_deadline]; - } - set deadline(d) { - 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(() => { - dart.nullCheck(this[_httpRequest$])[_httpConnection$].destroy(); - }, T$.VoidTovoid())); - } - [_writeHeader]() { - let t271, t271$, t271$0; - let buffer = new _http._CopyingBytesBuilder.new(8192); - if (this.headers.protocolVersion === "1.1") { - buffer.add(_http._Const.HTTP11); - } else { - buffer.add(_http._Const.HTTP10); - } - buffer.addByte(32); - buffer.add(dart.toString(this.statusCode)[$codeUnits]); - buffer.addByte(32); - buffer.add(this.reasonPhrase[$codeUnits]); - buffer.addByte(13); - buffer.addByte(10); - let session = dart.nullCheck(this[_httpRequest$])[_session]; - if (session != null && !dart.test(session[_destroyed])) { - session[_isNew] = false; - let found = false; - for (let i = 0; i < dart.notNull(this.cookies[$length]); i = i + 1) { - if (this.cookies[$_get](i).name[$toUpperCase]() === "DARTSESSID") { - t271 = this.cookies[$_get](i); - (() => { - 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]((t271$ = cookie, (() => { - t271$.httpOnly = true; - t271$.path = "/"; - return t271$; - })())); - } - } - 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$1.CookieTovoid())); - this.headers[_finalize](); - this.headers[_build](buffer); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - [_findReasonPhrase](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"; - } - case 101: - { - return "Switching Protocols"; - } - case 200: - { - return "OK"; - } - case 201: - { - return "Created"; - } - case 202: - { - return "Accepted"; - } - case 203: - { - return "Non-Authoritative Information"; - } - case 204: - { - return "No Content"; - } - case 205: - { - return "Reset Content"; - } - case 206: - { - return "Partial Content"; - } - case 300: - { - return "Multiple Choices"; - } - case 301: - { - return "Moved Permanently"; - } - case 302: - { - return "Found"; - } - case 303: - { - return "See Other"; - } - case 304: - { - return "Not Modified"; - } - case 305: - { - return "Use Proxy"; - } - case 307: - { - return "Temporary Redirect"; - } - case 400: - { - return "Bad Request"; - } - case 401: - { - return "Unauthorized"; - } - case 402: - { - return "Payment Required"; - } - case 403: - { - return "Forbidden"; - } - case 404: - { - return "Not Found"; - } - case 405: - { - return "Method Not Allowed"; - } - case 406: - { - return "Not Acceptable"; - } - case 407: - { - return "Proxy Authentication Required"; - } - case 408: - { - return "Request Time-out"; - } - case 409: - { - return "Conflict"; - } - case 410: - { - return "Gone"; - } - case 411: - { - return "Length Required"; - } - case 412: - { - return "Precondition Failed"; - } - case 413: - { - return "Request Entity Too Large"; - } - case 414: - { - return "Request-URI Too Long"; - } - case 415: - { - return "Unsupported Media Type"; - } - case 416: - { - return "Requested range not satisfiable"; - } - case 417: - { - return "Expectation Failed"; - } - case 500: - { - return "Internal Server Error"; - } - case 501: - { - return "Not Implemented"; - } - case 502: - { - return "Bad Gateway"; - } - case 503: - { - return "Service Unavailable"; - } - case 504: - { - return "Gateway Time-out"; - } - case 505: - { - return "Http Version not supported"; - } - default: - { - return "Status " + dart.str(statusCode); - } - } - } -}; -(_http._HttpResponse.new = function(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"); - this[_statusCode] = 200; - this[_reasonPhrase] = null; - this[_cookies] = null; - this[_httpRequest$] = null; - this[_deadline] = null; - this[_deadlineTimer] = null; - _http._HttpResponse.__proto__.new.call(this, uri, protocolVersion, outgoing, null, {initialHeaders: _http._HttpHeaders.as(defaultHeaders)}); - if (serverHeader != null) { - this.headers.set("server", serverHeader); - } -}).prototype = _http._HttpResponse.prototype; -dart.addTypeTests(_http._HttpResponse); -dart.addTypeCaches(_http._HttpResponse); -_http._HttpResponse[dart.implements] = () => [_http.HttpResponse]; -dart.setMethodSignature(_http._HttpResponse, () => ({ - __proto__: dart.getMethods(_http._HttpResponse.__proto__), - redirect: dart.fnType(async.Future, [core.Uri], {status: core.int}, {}), - detachSocket: dart.fnType(async.Future$(io.Socket), [], {writeHeaders: core.bool}, {}), - [_writeHeader]: dart.fnType(dart.void, []), - [_findReasonPhrase]: dart.fnType(core.String, [core.int]) -})); -dart.setGetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getGetters(_http._HttpResponse.__proto__), - cookies: core.List$(_http.Cookie), - statusCode: core.int, - reasonPhrase: core.String, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - deadline: dart.nullable(core.Duration) -})); -dart.setSetterSignature(_http._HttpResponse, () => ({ - __proto__: dart.getSetters(_http._HttpResponse.__proto__), - statusCode: core.int, - reasonPhrase: core.String, - deadline: dart.nullable(core.Duration) -})); -dart.setLibraryUri(_http._HttpResponse, I[177]); -dart.setFieldSignature(_http._HttpResponse, () => ({ - __proto__: dart.getFields(_http._HttpResponse.__proto__), - [_statusCode]: dart.fieldType(core.int), - [_reasonPhrase]: dart.fieldType(dart.nullable(core.String)), - [_cookies]: dart.fieldType(dart.nullable(core.List$(_http.Cookie))), - [_httpRequest$]: dart.fieldType(dart.nullable(_http._HttpRequest)), - [_deadline]: dart.fieldType(dart.nullable(core.Duration)), - [_deadlineTimer]: dart.fieldType(dart.nullable(async.Timer)) -})); -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 _proxyTunnel$ = dart.privateName(_http, "_proxyTunnel"); -var _requestUri = dart.privateName(_http, "_requestUri"); -_http._HttpClientRequest = class _HttpClientRequest extends _http._HttpOutboundMessage$(_http.HttpClientResponse) { - 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 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])) { - super.close(); - } - return this.done; - } - get maxRedirects() { - return this[_maxRedirects]; - } - set maxRedirects(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; - } - get followRedirects() { - return this[_followRedirects]; - } - set followRedirects(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; - } - get connectionInfo() { - return this[_httpClientConnection$].connectionInfo; - } - [_onIncoming](incoming) { - if (incoming == null) dart.nullFailed(I[181], 1465, 34, "incoming"); - if (dart.test(this[_aborted])) { - return; - } - let response = new _http._HttpClientResponse.new(incoming, this, this[_httpClient$], this[_profileData$]); - 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$1.dynamicToFutureOfHttpClientResponse())); - } else { - 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$1.FutureOfHttpClientResponse().value(response); - } - future.then(core.Null, dart.fn(v => { - if (v == null) dart.nullFailed(I[181], 1492, 18, "v"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].complete(v); - } - }, 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], 1503, 35, "stackTrace"); - if (!dart.test(this[_responseCompleter].isCompleted)) { - this[_responseCompleter].completeError(core.Object.as(error), stackTrace); - } - } - [_requestUri]() { - const uriStartingFromPath = () => { - let result = this.uri.path; - if (result[$isEmpty]) result = "/"; - if (dart.test(this.uri.hasQuery)) { - result = dart.str(result) + "?" + dart.str(this.uri.query); - } - return result; - }; - dart.fn(uriStartingFromPath, T$.VoidToString()); - if (dart.test(this[_proxy$].isDirect)) { - return uriStartingFromPath(); - } else { - if (this.method === "CONNECT") { - return dart.str(this.uri.host) + ":" + dart.str(this.uri.port); - } else { - if (dart.test(this[_httpClientConnection$][_proxyTunnel$])) { - return uriStartingFromPath(); - } else { - return dart.toString(this.uri.removeFragment()); - } - } - } - } - add(data) { - T$0.ListOfint().as(data); - 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) { - if (dart.test(this[_aborted])) return; - super.write(obj); - } - [_writeHeader]() { - let t271; - if (dart.test(this[_aborted])) { - this[_outgoing].setHeader(_native_typed_data.NativeUint8List.new(0), 0); - return; - } - let buffer = new _http._CopyingBytesBuilder.new(8192); - buffer.add(this.method[$codeUnits]); - buffer.addByte(32); - buffer.add(this[_requestUri]()[$codeUnits]); - buffer.addByte(32); - buffer.add(_http._Const.HTTP11); - buffer.addByte(13); - buffer.addByte(10); - 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("; "); - t271 = sb; - (() => { - 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, {skipZeroContentLength: this.method === "CONNECT" || this.method === "DELETE" || this.method === "GET" || this.method === "HEAD"}); - buffer.addByte(13); - buffer.addByte(10); - let headerBytes = buffer.takeBytes(); - this[_outgoing].setHeader(headerBytes, headerBytes[$length]); - } - abort(exception = null, stackTrace = null) { - this[_aborted] = true; - if (!dart.test(this[_responseCompleter].isCompleted)) { - exception == null ? exception = new _http.HttpException.new("Request has been aborted") : null; - this[_responseCompleter].completeError(exception, stackTrace); - this[_httpClientConnection$].destroy(); - } - } -}; -(_http._HttpClientRequest.new = function(outgoing, uri, method, _proxy, _httpClient, _httpClientConnection, _profileData) { - 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$1.CompleterOfHttpClientResponse().new(); - this[_response] = null; - this[_followRedirects] = true; - this[_maxRedirects] = 5; - this[_responseRedirects] = T$1.JSArrayOfRedirectInfo().of([]); - this[_aborted] = false; - this.uri = uri; - this.method = method; - this[_proxy$] = _proxy; - this[_httpClient$] = _httpClient; - this[_httpClientConnection$] = _httpClientConnection; - _http._HttpClientRequest.__proto__.new.call(this, uri, "1.1", outgoing, _profileData); - t271 = _profileData; - t271 == null ? null : t271.requestEvent("Request sent"); - if (this.method === "GET" || this.method === "HEAD") { - this.contentLength = 0; - } else { - this.headers.chunkedTransferEncoding = true; - } - this[_responseCompleter].future.then(core.Null, dart.fn(response => { - 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); -dart.addTypeCaches(_http._HttpClientRequest); -_http._HttpClientRequest[dart.implements] = () => [_http.HttpClientRequest]; -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]), - [_requestUri]: dart.fnType(core.String, []), - [_writeHeader]: dart.fnType(dart.void, []), - abort: dart.fnType(dart.void, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]) -})); -dart.setGetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getGetters(_http._HttpClientRequest.__proto__), - done: async.Future$(_http.HttpClientResponse), - maxRedirects: core.int, - followRedirects: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo) -})); -dart.setSetterSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getSetters(_http._HttpClientRequest.__proto__), - maxRedirects: core.int, - followRedirects: core.bool -})); -dart.setLibraryUri(_http._HttpClientRequest, I[177]); -dart.setFieldSignature(_http._HttpClientRequest, () => ({ - __proto__: dart.getFields(_http._HttpClientRequest.__proto__), - method: dart.finalFieldType(core.String), - uri: dart.finalFieldType(core.Uri), - cookies: dart.finalFieldType(core.List$(_http.Cookie)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_httpClientConnection$]: dart.finalFieldType(_http._HttpClientConnection), - [_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.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 t271; - T$0.ListOfint().as(chunk); - if (chunk == null) dart.nullFailed(I[181], 1610, 22, "chunk"); - t271 = chunk; - this[_consume$](t271); - } - addSlice(chunk, start, end, 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)) { - t271 = typed_data.Uint8List.view(chunk[$buffer], dart.notNull(chunk[$offsetInBytes]) + dart.notNull(start), dart.notNull(end) - dart.notNull(start)); - this[_consume$](t271); - } else { - 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], 1608, 22, "_consume"); - this[_consume$] = _consume; - _http._HttpGZipSink.__proto__.new.call(this); - ; -}).prototype = _http._HttpGZipSink.prototype; -dart.addTypeTests(_http._HttpGZipSink); -dart.addTypeCaches(_http._HttpGZipSink); -dart.setMethodSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getMethods(_http._HttpGZipSink.__proto__), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addSlice: dart.fnType(dart.void, [core.List$(core.int), core.int, core.int, core.bool]), - close: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._HttpGZipSink, I[177]); -dart.setFieldSignature(_http._HttpGZipSink, () => ({ - __proto__: dart.getFields(_http._HttpGZipSink.__proto__), - [_consume$]: dart.finalFieldType(dart.fnType(dart.void, [core.List$(core.int)])) -})); -var _closeFuture = dart.privateName(_http, "_closeFuture"); -var _pendingChunkedFooter = dart.privateName(_http, "_pendingChunkedFooter"); -var _bytesWritten = dart.privateName(_http, "_bytesWritten"); -var _gzip = dart.privateName(_http, "_gzip"); -var _gzipSink = dart.privateName(_http, "_gzipSink"); -var _gzipAdd = dart.privateName(_http, "_gzipAdd"); -var _gzipBuffer = dart.privateName(_http, "_gzipBuffer"); -var _gzipBufferLength = dart.privateName(_http, "_gzipBufferLength"); -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"); -_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], 1687, 13, "drainRequest"); - let setOutgoing = opts && 'setOutgoing' in opts ? opts.setOutgoing : true; - if (setOutgoing == null) dart.nullFailed(I[181], 1687, 39, "setOutgoing"); - if (dart.test(this.headersWritten)) return null; - this.headersWritten = true; - let drainFuture = null; - let gzip = false; - let response = dart.nullCheck(this.outbound); - if (_http._HttpResponse.is(response)) { - if (dart.test(dart.nullCheck(response[_httpRequest$])[_httpServer$].autoCompress) && dart.test(response.bufferOutput) && dart.test(response.headers.chunkedTransferEncoding)) { - 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], 1705, 26, "list"); - return list[$split](","); - }, 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"); - gzip = true; - } - } - if (dart.test(drainRequest) && !dart.test(dart.nullCheck(response[_httpRequest$])[_incoming$].hasSubscriber)) { - drainFuture = dart.nullCheck(response[_httpRequest$]).drain(dart.void).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - } - } else { - drainRequest = false; - } - if (!dart.test(this.ignoreBody)) { - if (dart.test(setOutgoing)) { - let contentLength = response.headers.contentLength; - if (dart.test(response.headers.chunkedTransferEncoding)) { - this.chunked = true; - if (gzip) this.gzip = true; - } else if (dart.notNull(contentLength) >= 0) { - this.contentLength = contentLength; - } - } - if (drainFuture != null) { - return drainFuture.then(dart.void, dart.fn(_ => response[_writeHeader](), T$1.voidTovoid())); - } - } - response[_writeHeader](); - return null; - } - addStream(stream) { - T$0.StreamOfListOfint().as(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); - } - if (dart.test(this.ignoreBody)) { - stream.drain(dart.dynamic).catchError(dart.fn(_ => { - }, T$.dynamicToNull())); - let future = this.writeHeaders(); - if (future != null) { - return future.then(dart.dynamic, dart.fn(_ => this.close(), T$1.voidToFuture())); - } - return this.close(); - } - let controller = T$1.StreamControllerOfListOfint().new({sync: true}); - const onData = data => { - if (data == null) dart.nullFailed(I[181], 1753, 27, "data"); - if (dart.test(this[_socketError])) return; - if (dart.test(data[$isEmpty])) return; - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - 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]), T$0.ListOfintTovoid().as(dart.bind(controller, 'add'))); - this[_pendingChunkedFooter] = 2; - } else { - let contentLength = this.contentLength; - if (contentLength != null) { - this[_bytesWritten] = dart.notNull(this[_bytesWritten]) + dart.notNull(data[$length]); - if (dart.notNull(this[_bytesWritten]) > dart.notNull(contentLength)) { - controller.addError(new _http.HttpException.new("Content size exceeds specified contentLength. " + dart.str(this[_bytesWritten]) + " bytes written while expected " + dart.str(contentLength) + ". " + "[" + dart.str(core.String.fromCharCodes(data)) + "]")); - return; - } - } - } - 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}); - controller.onPause = dart.bind(sub, 'pause'); - controller.onResume = dart.bind(sub, 'resume'); - if (!dart.test(this.headersWritten)) { - let future = this.writeHeaders(); - if (future != null) { - sub.pause(future); - } - } - 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))) { - return this.outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessageN())}); - } - close() { - let closeFuture = this[_closeFuture]; - if (closeFuture != null) return closeFuture; - let outbound = dart.nullCheck(this.outbound); - if (dart.test(this[_socketError])) return async.Future.value(outbound); - if (dart.test(outbound[_isConnectionClosed])) return async.Future.value(outbound); - if (!dart.test(this.headersWritten) && !dart.test(this.ignoreBody)) { - if (outbound.headers.contentLength === -1) { - outbound.headers.chunkedTransferEncoding = false; - outbound.headers.contentLength = 0; - } else if (dart.notNull(outbound.headers.contentLength) > 0) { - let error = new _http.HttpException.new("No content even though contentLength was specified to be " + "greater than 0: " + dart.str(outbound.headers.contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - let contentLength = this.contentLength; - if (contentLength != null) { - if (dart.notNull(this[_bytesWritten]) < dart.notNull(contentLength)) { - let error = new _http.HttpException.new("Content size below specified contentLength. " + " " + dart.str(this[_bytesWritten]) + " bytes written but expected " + dart.str(contentLength) + ".", {uri: outbound[_uri]}); - this[_doneCompleter$].completeError(error); - return this[_closeFuture] = async.Future.error(error); - } - } - const finalize = () => { - if (dart.test(this.chunked)) { - if (dart.test(this[_gzip])) { - this[_gzipAdd] = dart.bind(this.socket, 'add'); - if (dart.notNull(this[_gzipBufferLength]) > 0) { - dart.nullCheck(this[_gzipSink]).add(typed_data.Uint8List.view(dart.nullCheck(this[_gzipBuffer])[$buffer], dart.nullCheck(this[_gzipBuffer])[$offsetInBytes], this[_gzipBufferLength])); - } - this[_gzipBuffer] = null; - dart.nullCheck(this[_gzipSink]).close(); - this[_gzipAdd] = null; - } - this[_addChunk$](this[_chunkHeader](0), dart.bind(this.socket, 'add')); - } - if (dart.notNull(this[_length$1]) > 0) { - this.socket.add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - } - this[_buffer$1] = null; - return this.socket.flush().then(dart.dynamic, dart.fn(_ => { - this[_doneCompleter$].complete(this.socket); - return outbound; - }, 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))) { - return outbound; - } else { - dart.throw(error); - } - }, T$1.dynamicAnddynamicTo_HttpOutboundMessage())}); - }; - dart.fn(finalize, T$0.VoidToFuture()); - let future = this.writeHeaders(); - if (future != null) { - return this[_closeFuture] = future.whenComplete(finalize); - } - return this[_closeFuture] = finalize(); - } - get done() { - return this[_doneCompleter$].future; - } - setHeader(data, length) { - 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], 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], 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], 1912, 73, "data"); - if (this[_gzipAdd] == null) return; - this[_addChunk$](this[_chunkHeader](data[$length]), dart.nullCheck(this[_gzipAdd])); - this[_pendingChunkedFooter] = 2; - this[_addChunk$](data, dart.nullCheck(this[_gzipAdd])); - }, T$0.ListOfintTovoid()))); - } - } - [_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], 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); - return; - } - let gzipBuffer = dart.nullCheck(this[_gzipBuffer]); - if (dart.notNull(chunk[$length]) > dart.notNull(gzipBuffer[$length]) - dart.notNull(this[_gzipBufferLength])) { - add(typed_data.Uint8List.view(gzipBuffer[$buffer], gzipBuffer[$offsetInBytes], this[_gzipBufferLength])); - this[_gzipBuffer] = _native_typed_data.NativeUint8List.new(8192); - this[_gzipBufferLength] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - let currentLength = this[_gzipBufferLength]; - let newLength = dart.notNull(currentLength) + dart.notNull(chunk[$length]); - dart.nullCheck(this[_gzipBuffer])[$setRange](currentLength, newLength, chunk); - this[_gzipBufferLength] = newLength; - } - } - [_addChunk$](chunk, 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) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = null; - this[_length$1] = 0; - } - add(chunk); - return; - } - if (dart.notNull(chunk[$length]) > dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) - dart.notNull(this[_length$1])) { - add(typed_data.Uint8List.view(dart.nullCheck(this[_buffer$1])[$buffer], dart.nullCheck(this[_buffer$1])[$offsetInBytes], this[_length$1])); - this[_buffer$1] = _native_typed_data.NativeUint8List.new(8192); - this[_length$1] = 0; - } - if (dart.notNull(chunk[$length]) > 8192) { - add(chunk); - } else { - dart.nullCheck(this[_buffer$1])[$setRange](this[_length$1], dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]), chunk); - this[_length$1] = dart.notNull(this[_length$1]) + dart.notNull(chunk[$length]); - } - } - [_chunkHeader](length) { - 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; - } - let size = this[_pendingChunkedFooter]; - let len = length; - while (dart.notNull(len) > 0) { - size = dart.notNull(size) + 1; - len = len[$rightShift](4); - } - let footerAndHeader = _native_typed_data.NativeUint8List.new(dart.notNull(size) + 2); - if (this[_pendingChunkedFooter] === 2) { - footerAndHeader[$_set](0, 13); - footerAndHeader[$_set](1, 10); - } - let index = size; - while (dart.notNull(index) > dart.notNull(this[_pendingChunkedFooter])) { - footerAndHeader[$_set](index = dart.notNull(index) - 1, hexDigits[$_get](dart.notNull(length) & 15)); - length = length[$rightShift](4); - } - footerAndHeader[$_set](dart.notNull(size) + 0, 13); - footerAndHeader[$_set](dart.notNull(size) + 1, 10); - return footerAndHeader; - } -}; -(_http._HttpOutgoing.new = function(socket) { - 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; - this[_length$1] = 0; - this[_closeFuture] = null; - this.chunked = false; - this[_pendingChunkedFooter] = 0; - this.contentLength = null; - this[_bytesWritten] = 0; - this[_gzip] = false; - this[_gzipSink] = null; - this[_gzipAdd] = null; - this[_gzipBuffer] = null; - this[_gzipBufferLength] = 0; - this[_socketError] = false; - this.outbound = null; - this.socket = socket; - ; -}).prototype = _http._HttpOutgoing.prototype; -dart.addTypeTests(_http._HttpOutgoing); -dart.addTypeCaches(_http._HttpOutgoing); -_http._HttpOutgoing[dart.implements] = () => [async.StreamConsumer$(core.List$(core.int))]; -dart.setMethodSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getMethods(_http._HttpOutgoing.__proto__), - writeHeaders: dart.fnType(dart.nullable(async.Future$(dart.void)), [], {drainRequest: core.bool, setOutgoing: core.bool}, {}), - 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]), - [_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]) -})); -dart.setGetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getGetters(_http._HttpOutgoing.__proto__), - done: async.Future$(io.Socket) -})); -dart.setSetterSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getSetters(_http._HttpOutgoing.__proto__), - gzip: core.bool -})); -dart.setLibraryUri(_http._HttpOutgoing, I[177]); -dart.setFieldSignature(_http._HttpOutgoing, () => ({ - __proto__: dart.getFields(_http._HttpOutgoing.__proto__), - [_doneCompleter$]: dart.finalFieldType(async.Completer$(io.Socket)), - socket: dart.finalFieldType(io.Socket), - ignoreBody: dart.fieldType(core.bool), - headersWritten: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_length$1]: dart.fieldType(core.int), - [_closeFuture]: dart.fieldType(dart.nullable(async.Future)), - chunked: dart.fieldType(core.bool), - [_pendingChunkedFooter]: dart.fieldType(core.int), - contentLength: dart.fieldType(dart.nullable(core.int)), - [_bytesWritten]: dart.fieldType(core.int), - [_gzip]: dart.fieldType(core.bool), - [_gzipSink]: dart.fieldType(dart.nullable(convert.ByteConversionSink)), - [_gzipAdd]: dart.fieldType(dart.nullable(dart.fnType(dart.void, [core.List$(core.int)]))), - [_gzipBuffer]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_gzipBufferLength]: dart.fieldType(core.int), - [_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[484] || CT.C484; - }, - /*_http._HttpOutgoing._chunk0Length*/get _chunk0Length() { - return C[485] || CT.C485; - } -}, false); -var _subscription$0 = dart.privateName(_http, "_subscription"); -var _dispose = dart.privateName(_http, "_dispose"); -var _idleTimer = dart.privateName(_http, "_idleTimer"); -var _currentUri = dart.privateName(_http, "_currentUri"); -var _nextResponseCompleter = dart.privateName(_http, "_nextResponseCompleter"); -var _streamFuture = dart.privateName(_http, "_streamFuture"); -var _context$0 = dart.privateName(_http, "_context"); -var _httpParser = dart.privateName(_http, "_httpParser"); -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 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})); - } - this[_currentUri] = uri; - dart.nullCheck(this[_subscription$0]).pause(); - if (method === "CONNECT") { - this[_httpParser].connectMethod = true; - } - let proxyCreds = null; - let creds = null; - let outgoing = new _http._HttpOutgoing.new(this[_socket$0]); - 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) + "]"; - t271 = request.headers; - (() => { - 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 = 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.test(this[_httpClient$][_proxyCredentials][$isNotEmpty])) { - proxyCreds = this[_httpClient$][_findProxyCredentials](proxy); - if (proxyCreds != null) { - proxyCreds.authorize(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)); - } else { - creds = this[_httpClient$][_findCredentials](uri); - if (creds != null) { - creds.authorize(request); - } - } - this[_httpParser].isHead = method === "HEAD"; - this[_streamFuture] = outgoing.done.then(io.Socket, dart.fn(s => { - 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], 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(); - return; - } - if (dart.test(this.closed) || method === "CONNECT" && incoming.statusCode === 200) { - return; - } - 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$.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) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) proxyCreds.nonce = nextnonce; - } - } - if (creds != null && dart.equals(creds.scheme, _http._AuthenticationScheme.DIGEST)) { - let authInfo = incoming.headers._get("authentication-info"); - if (authInfo != null && authInfo[$length] === 1) { - let header = _http._HeaderValue.parse(authInfo[$_get](0), {parameterSeparator: ","}); - let nextnonce = header.parameters[$_get]("nextnonce"); - if (nextnonce != null) creds.nonce = nextnonce; - } - } - request[_onIncoming](incoming); - }, 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], 2221, 17, "error"); - return core.StateError.is(error); - }, T$.ObjectTobool())}).catchError(dart.fn((error, stackTrace) => { - this.destroy(); - request[_onError](error, core.StackTrace.as(stackTrace)); - }, T$.dynamicAnddynamicToNull())); - dart.nullCheck(this[_subscription$0]).resume(); - return s; - }, 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], 2239, 16, "_"); - return new _http._DetachedSocket.new(this[_socket$0], this[_httpParser].detachIncoming()); - }, T$1.SocketTo_DetachedSocket())); - } - destroy() { - this.closed = true; - this[_httpClient$][_connectionClosed](this); - this[_socket$0].destroy(); - } - destroyFromExternal() { - this.closed = true; - this[_httpClient$][_connectionClosedNoFurtherClosing](this); - this[_socket$0].destroy(); - } - close() { - 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], 2259, 16, "_"); - return this[_socket$0].destroy(); - }, 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], 2267, 16, "_"); - return this[_socket$0].destroy(); - }, T$1.SocketTovoid())); - } - createProxyTunnel(host, port, proxy, callback, profileData) { - 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}); - 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 = 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 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) + ")"; - 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$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)); - t271 = profileData; - t271 == null ? null : t271.requestEvent("Proxy tunnel established"); - return new _http._HttpClientConnection.new(key, secureSocket, request[_httpClient$], true); - }, 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], 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 t271; - t271 = this[_idleTimer]; - t271 == null ? null : t271.cancel(); - this[_idleTimer] = null; - } - startTimer() { - 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(); - }, T$.VoidTovoid())); - } -}; -(_http._HttpClientConnection.new = function(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"); - this[_subscription$0] = null; - this[_dispose] = false; - this[_idleTimer] = null; - this.closed = false; - this[_currentUri] = null; - this[_nextResponseCompleter] = null; - this[_streamFuture] = null; - this.key = key; - this[_socket$0] = _socket; - this[_httpClient$] = _httpClient; - this[_proxyTunnel$] = _proxyTunnel; - this[_context$0] = _context; - 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], 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]})); - } - if (incoming.statusCode === 100) { - 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], 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$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$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$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())}); -}).prototype = _http._HttpClientConnection.prototype; -dart.addTypeTests(_http._HttpClientConnection); -dart.addTypeCaches(_http._HttpClientConnection); -dart.setMethodSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getMethods(_http._HttpClientConnection.__proto__), - send: dart.fnType(_http._HttpClientRequest, [core.Uri, core.int, core.String, _http._Proxy, dart.nullable(_http._HttpProfileData)]), - detachSocket: dart.fnType(async.Future$(io.Socket), []), - destroy: dart.fnType(dart.void, []), - destroyFromExternal: dart.fnType(dart.void, []), - close: dart.fnType(dart.void, []), - closeFromExternal: dart.fnType(dart.void, []), - createProxyTunnel: dart.fnType(async.Future$(_http._HttpClientConnection), [core.String, core.int, _http._Proxy, dart.fnType(core.bool, [io.X509Certificate]), dart.nullable(_http._HttpProfileData)]), - 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) -})); -dart.setLibraryUri(_http._HttpClientConnection, I[177]); -dart.setFieldSignature(_http._HttpClientConnection, () => ({ - __proto__: dart.getFields(_http._HttpClientConnection.__proto__), - key: dart.finalFieldType(core.String), - [_socket$0]: dart.finalFieldType(io.Socket), - [_proxyTunnel$]: dart.finalFieldType(core.bool), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_httpClient$]: dart.finalFieldType(_http._HttpClient), - [_dispose]: dart.fieldType(core.bool), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - closed: dart.fieldType(core.bool), - [_currentUri]: dart.fieldType(dart.nullable(core.Uri)), - [_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 { - 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], 2344, 24, "connection"); - if (proxy == null) dart.nullFailed(I[181], 2344, 41, "proxy"); - this.connection = connection; - this.proxy = proxy; - ; -}).prototype = _http._ConnectionInfo.prototype; -dart.addTypeTests(_http._ConnectionInfo); -dart.addTypeCaches(_http._ConnectionInfo); -dart.setLibraryUri(_http._ConnectionInfo, I[177]); -dart.setFieldSignature(_http._ConnectionInfo, () => ({ - __proto__: dart.getFields(_http._ConnectionInfo.__proto__), - connection: dart.finalFieldType(_http._HttpClientConnection), - proxy: dart.finalFieldType(_http._Proxy) -})); -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 _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; - } - get hasIdle() { - return this[_idle][$isNotEmpty]; - } - get hasActive() { - return dart.test(this[_active][$isNotEmpty]) || dart.notNull(this[_connecting]) > 0; - } - takeIdle() { - if (!dart.test(this.hasIdle)) dart.assertFailed(null, I[181], 2372, 12, "hasIdle"); - let connection = this[_idle][$first]; - this[_idle].remove(connection); - connection.stopTimer(); - this[_active].add(connection); - return connection; - } - [_checkPending]() { - if (dart.test(this[_pending$][$isNotEmpty])) { - this[_pending$].removeFirst()(); - } - } - addNewActive(connection) { - if (connection == null) dart.nullFailed(I[181], 2386, 43, "connection"); - this[_active].add(connection); - } - returnConnection(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], 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], 2405, 19, "force"); - for (let t of this[_socketTasks][$toList]()) { - t.socket.then(core.Null, dart.fn(s => { - if (s == null) dart.nullFailed(I[181], 2409, 22, "s"); - s.destroy(); - }, T$1.SocketToNull()), {onError: dart.fn(e => { - }, T$.dynamicToNull())}); - t.cancel(); - } - if (dart.test(force)) { - for (let c of this[_idle][$toList]()) { - c.destroyFromExternal(); - } - for (let c of this[_active][$toList]()) { - c.destroyFromExternal(); - } - } else { - for (let c of this[_idle][$toList]()) { - c.closeFromExternal(); - } - } - } - 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$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$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], 2447, 35, "certificate"); - if (currentBadCertificateCallback == null) return false; - return currentBadCertificateCallback(certificate, uriHost, uriPort); - } - 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], 2469, 56, "task"); - this[_socketTasks].add(task); - let socketFuture = task.socket; - let connectionTimeout = client.connectionTimeout; - if (connectionTimeout != null) { - 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; - 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], 2487, 22, "tunnel"); - client[_getConnectionTarget](uriHost, uriPort, true).addNewActive(tunnel); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(tunnel, proxy); - }, T$1._HttpClientConnectionTo_ConnectionInfo())); - } else { - this.addNewActive(connection); - this[_socketTasks].remove(task); - return new _http._ConnectionInfo.new(connection, proxy); - } - }, T$1.SocketToFutureOrOf_ConnectionInfo()), {onError: dart.fn(error => { - if (async.TimeoutException.is(error)) { - 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(); - dart.throw(new io.SocketException.new("HTTP connection timed out after " + dart.str(connectionTimeout) + ", " + "host: " + dart.str(this.host) + ", port: " + dart.str(this.port))); - } - this[_socketTasks].remove(task); - this[_checkPending](); - dart.throw(error); - }, T$0.dynamicToNever())}); - }, 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, 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); -dart.addTypeCaches(_http._ConnectionTarget); -dart.setMethodSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getMethods(_http._ConnectionTarget.__proto__), - takeIdle: dart.fnType(_http._HttpClientConnection, []), - [_checkPending]: dart.fnType(dart.dynamic, []), - addNewActive: dart.fnType(dart.void, [_http._HttpClientConnection]), - 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.Uri, core.String, core.int, _http._Proxy, _http._HttpClient, dart.nullable(_http._HttpProfileData)]) -})); -dart.setGetterSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getGetters(_http._ConnectionTarget.__proto__), - isEmpty: core.bool, - hasIdle: core.bool, - hasActive: core.bool -})); -dart.setLibraryUri(_http._ConnectionTarget, I[177]); -dart.setFieldSignature(_http._ConnectionTarget, () => ({ - __proto__: dart.getFields(_http._ConnectionTarget.__proto__), - key: dart.finalFieldType(core.String), - host: dart.finalFieldType(core.String), - 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$(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"); -var _Proxy_port = dart.privateName(_http, "_Proxy.port"); -var _Proxy_host = dart.privateName(_http, "_Proxy.host"); -var _ProxyConfiguration_proxies = dart.privateName(_http, "_ProxyConfiguration.proxies"); -var _getConnection = dart.privateName(_http, "_getConnection"); -_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], 2558, 33, "timeout"); - this[_idleTimeout] = timeout; - for (let c of this[_connectionTargets][$values]) { - for (let idle of c[_idle]) { - idle.stopTimer(); - idle.startTimer(); - } - } - } - set badCertificateCallback(callback) { - this[_badCertificateCallback] = callback; - } - set keyLog(callback) { - this[_keyLog] = callback; - } - open(method, host, port, 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) { - let char = path[$codeUnitAt](i); - if (char === 35) { - fragmentStart = i; - queryStart = i; - } else if (char === 63) { - queryStart = i; - } - } - let query = null; - if (queryStart < fragmentStart) { - query = path[$substring](queryStart + 1, fragmentStart); - path = path[$substring](0, queryStart); - } - let uri = core._Uri.new({scheme: "http", host: host, port: port, path: path, query: query}); - return this[_openUrl](method, uri); - } - openUrl(method, 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], 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], 2609, 40, "url"); - return this[_openUrl]("get", url); - } - post(host, port, 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], 2614, 41, "url"); - return this[_openUrl]("post", url); - } - put(host, port, 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], 2619, 40, "url"); - return this[_openUrl]("put", url); - } - delete(host, port, 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], 2624, 43, "url"); - return this[_openUrl]("delete", url); - } - head(host, port, 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], 2629, 41, "url"); - return this[_openUrl]("head", url); - } - patch(host, port, 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], 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], 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], 2640, 44, "s"); - return 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], 2642, 51, "s"); - return 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], 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], 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], 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 (!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 (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"); - let port = uri.port; - if (port === 0) { - port = dart.test(isSecure) ? 443 : 80; - } - let proxyConf = C[487] || CT.C487; - let findProxy = this[_findProxy]; - if (findProxy != null) { - try { - 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$1.FutureOf_HttpClientRequest().error(error, stackTrace); - } else - throw e; - } - } - let profileData = null; - if (dart.test(_http.HttpClient.enableTimelineLogging)) { - profileData = _http.HttpProfiler.startRequest(method, uri); - } - 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 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$1._ConnectionInfoTo_HttpClientRequest()); - if (dart.test(info.connection.closed)) { - return this[_getConnection](uri, uri.host, port, proxyConf, isSecure, profileData).then(_http._HttpClientRequest, send); - } - return send(info); - }, 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())}); - } - 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 t274, t274$; - if (request == null) dart.nullFailed(I[181], 2817, 64, "request"); - t274 = request; - (() => { - t274.followRedirects = previous.followRedirects; - t274.maxRedirects = previous.maxRedirects; - return t274; - })(); - for (let header of previous.headers[_headers][$keys]) { - 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))); - } - } - t274$ = request; - return (() => { - t274$.headers.chunkedTransferEncoding = false; - t274$.contentLength = 0; - return t274$; - })(); - }, T$1._HttpClientRequestTo_HttpClientRequest())); - } - [_returnConnection](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], 2844, 48, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - this[_connectionsChanged](); - } - } - [_connectionClosedNoFurtherClosing](connection) { - if (connection == null) dart.nullFailed(I[181], 2859, 64, "connection"); - connection.stopTimer(); - let connectionTarget = this[_connectionTargets][$_get](connection.key); - if (connectionTarget != null) { - connectionTarget.connectionClosed(connection); - if (dart.test(connectionTarget.isEmpty)) { - this[_connectionTargets][$remove](connection.key); - } - } - } - [_connectionsChanged]() { - if (dart.test(this[_closing])) { - this[_closeConnections](this[_closingForcefully]); - } - } - [_closeConnections](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], 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], 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, 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(uri, uriHost, uriPort, proxy, this, profileData).catchError(connect); - }; - 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], 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; - return siteCredentials.uri.path.length > prev.uri.path.length ? siteCredentials : prev; - } else { - return prev; - } - }, T$1._SiteCredentialsNAnd_CredentialsTo_SiteCredentialsN())); - return cr; - } - [_findProxyCredentials](proxy, scheme = null) { - 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; - } - } - return null; - } - [_removeCredentials](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], 2949, 45, "cr"); - this[_proxyCredentials][$remove](cr); - } - static _findProxyFromEnvironment(url, environment) { - 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], 2957, 55, "s"); - return s[$trim](); - }, T$.StringToString()))[$iterator]; - while (dart.test(names.moveNext())) { - let name = names.current; - if (name[$startsWith]("[") && name[$endsWith]("]") && "[" + dart.str(url.host) + "]" === name || name[$isNotEmpty] && url.host[$endsWith](name)) { - return "DIRECT"; - } - } - return null; - } - dart.fn(checkNoProxy, T$1.StringNToStringN()); - function checkProxy(option) { - if (option == null) return null; - option = option[$trim](); - if (option[$isEmpty]) return null; - let pos = option[$indexOf]("://"); - if (pos >= 0) { - option = option[$substring](pos + 3); - } - pos = option[$indexOf]("/"); - if (pos >= 0) { - option = option[$substring](0, pos); - } - if (option[$indexOf]("[") === 0) { - let pos = option[$lastIndexOf](":"); - if (option[$indexOf]("]") > pos) option = dart.str(option) + ":1080"; - } else { - if (!option[$contains](":")) option = dart.str(option) + ":1080"; - } - return "PROXY " + dart.str(option); - } - dart.fn(checkProxy, T$1.StringNToStringN()); - environment == null ? environment = _http._HttpClient._platformEnvironmentCache : null; - let proxyCfg = null; - let noProxy = (t274 = environment[$_get]("no_proxy"), t274 == null ? environment[$_get]("NO_PROXY") : t274); - proxyCfg = checkNoProxy(noProxy); - if (proxyCfg != null) { - return proxyCfg; - } - 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 (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; - } - } - return "DIRECT"; - } -}; -(_http._HttpClient.new = function(_context) { - this[_closing] = false; - this[_closingForcefully] = false; - 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[486] || CT.C486; - this[_idleTimeout] = C[466] || CT.C466; - this[_badCertificateCallback] = null; - this[_keyLog] = null; - this.connectionTimeout = null; - this.maxConnectionsPerHost = null; - this.autoUncompress = true; - this.userAgent = _http._getHttpVersion(); - this[_context$0] = _context; - ; -}).prototype = _http._HttpClient.prototype; -dart.addTypeTests(_http._HttpClient); -dart.addTypeCaches(_http._HttpClient); -_http._HttpClient[dart.implements] = () => [_http.HttpClient]; -dart.setMethodSignature(_http._HttpClient, () => ({ - __proto__: dart.getMethods(_http._HttpClient.__proto__), - open: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.String, core.int, core.String]), - openUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.Uri]), - get: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - getUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - post: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - postUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - put: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - putUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - delete: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - deleteUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - head: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - headUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - patch: dart.fnType(async.Future$(_http.HttpClientRequest), [core.String, core.int, core.String]), - patchUrl: dart.fnType(async.Future$(_http.HttpClientRequest), [core.Uri]), - 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], {}, {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.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 -})); -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])), - 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]); -dart.setFieldSignature(_http._HttpClient, () => ({ - __proto__: dart.getFields(_http._HttpClient.__proto__), - [_closing]: dart.fieldType(core.bool), - [_closingForcefully]: dart.fieldType(core.bool), - [_connectionTargets]: dart.finalFieldType(core.Map$(core.String, _http._ConnectionTarget)), - [_credentials]: dart.finalFieldType(core.List$(_http._Credentials)), - [_proxyCredentials]: dart.finalFieldType(core.List$(_http._ProxyCredentials)), - [_context$0]: dart.finalFieldType(dart.nullable(io.SecurityContext)), - [_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; - } -}, false); -var _state$1 = dart.privateName(_http, "_state"); -var _idleMark = dart.privateName(_http, "_idleMark"); -var _markActive = dart.privateName(_http, "_markActive"); -var _markIdle = dart.privateName(_http, "_markIdle"); -var _handleRequest = dart.privateName(_http, "_handleRequest"); -var _isActive = dart.privateName(_http, "_isActive"); -var _isIdle = dart.privateName(_http, "_isIdle"); -var _isDetached = dart.privateName(_http, "_isDetached"); -const LinkedListEntry__ServiceObject$36 = class LinkedListEntry__ServiceObject extends collection.LinkedListEntry {}; -(LinkedListEntry__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - LinkedListEntry__ServiceObject$36.__proto__.new.call(this); -}).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; - } - get isMarkedIdle() { - return this[_idleMark]; - } - destroy() { - if (this[_state$1] === 2 || this[_state$1] === 3) return; - this[_state$1] = 2; - this[_socket$0].destroy(); - this[_httpServer$][_connectionClosed](this); - _http._HttpConnection._connections[$remove](this[_serviceId$]); - } - detachSocket() { - this[_state$1] = 3; - this[_httpServer$][_connectionClosed](this); - 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(this[_socket$0], detachedIncoming); - }, T$1.dynamicTo_DetachedSocket())); - } - get connectionInfo() { - return _http._HttpConnectionInfo.create(this[_socket$0]); - } - get [_isActive]() { - return this[_state$1] === 0; - } - get [_isIdle]() { - return this[_state$1] === 1; - } - get [_isClosing]() { - return this[_state$1] === 2; - } - get [_isDetached]() { - return this[_state$1] === 3; - } - get [_serviceTypePath$]() { - return "io/http/serverconnections"; - } - get [_serviceTypeName$]() { - return "HttpServerConnection"; - } -}; -(_http._HttpConnection.new = function(_socket, _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; - this[_streamFuture] = null; - this[_socket$0] = _socket; - this[_httpServer$] = _httpServer; - this[_httpParser] = _http._HttpParser.requestParser(); - _http._HttpConnection.__proto__.new.call(this); - _http._HttpConnection._connections[$_set](this[_serviceId$], this); - this[_httpParser].listenToStream(this[_socket$0]); - this[_subscription$0] = this[_httpParser].listen(dart.fn(incoming => { - if (incoming == null) dart.nullFailed(I[181], 3046, 41, "incoming"); - this[_httpServer$][_markActive](this); - incoming.dataDone.then(core.Null, dart.fn(closing => { - 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(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], 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)) { - this[_state$1] = 1; - this[_idleMark] = false; - this[_httpServer$][_markIdle](this); - dart.nullCheck(this[_subscription$0]).resume(); - } else { - this.destroy(); - } - }, T$1.SocketToNull()), {onError: dart.fn(_ => { - this.destroy(); - }, T$.dynamicToNull())}); - outgoing.ignoreBody = request.method === "HEAD"; - response[_httpRequest$] = request; - this[_httpServer$][_handleRequest](request); - }, T$1._HttpIncomingTovoid()), {onDone: dart.fn(() => { - this.destroy(); - }, T$.VoidTovoid()), onError: dart.fn(error => { - this.destroy(); - }, T$.dynamicToNull())}); -}).prototype = _http._HttpConnection.prototype; -dart.addTypeTests(_http._HttpConnection); -dart.addTypeCaches(_http._HttpConnection); -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), []) -})); -dart.setGetterSignature(_http._HttpConnection, () => ({ - __proto__: dart.getGetters(_http._HttpConnection.__proto__), - isMarkedIdle: core.bool, - connectionInfo: dart.nullable(_http.HttpConnectionInfo), - [_isActive]: core.bool, - [_isIdle]: core.bool, - [_isClosing]: core.bool, - [_isDetached]: core.bool, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setLibraryUri(_http._HttpConnection, I[177]); -dart.setFieldSignature(_http._HttpConnection, () => ({ - __proto__: dart.getFields(_http._HttpConnection.__proto__), - [_socket$0]: dart.finalFieldType(io.Socket), - [_httpServer$]: dart.finalFieldType(_http._HttpServer), - [_httpParser]: dart.finalFieldType(_http._HttpParser), - [_state$1]: dart.fieldType(core.int), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_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; - }, - /*_http._HttpConnection._IDLE*/get _IDLE() { - return 1; - }, - /*_http._HttpConnection._CLOSING*/get _CLOSING() { - return 2; - }, - /*_http._HttpConnection._DETACHED*/get _DETACHED() { - return 3; - }, - /*_http._HttpConnection._connections*/get _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"); -var _closeServer$ = dart.privateName(_http, "_closeServer"); -var _maybePerformCleanup$ = dart.privateName(_http, "_maybePerformCleanup"); -const Stream__ServiceObject$36 = class Stream__ServiceObject extends async.Stream$(_http.HttpRequest) {}; -(Stream__ServiceObject$36.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__.new.call(this); -}).prototype = Stream__ServiceObject$36.prototype; -(Stream__ServiceObject$36._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36.__proto__._internal.call(this); -}).prototype = Stream__ServiceObject$36.prototype; -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], 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], 3165, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, T$1.ServerSocketTo_HttpServer())); - } - static bindSecure(address, port, context, backlog, v6Only, requestClientCertificate, 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], 3183, 28, "socket"); - return new _http._HttpServer.__(socket, true); - }, 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"); - defaultResponseHeaders.contentType = _http.ContentType.text; - defaultResponseHeaders.set("X-Frame-Options", "SAMEORIGIN"); - defaultResponseHeaders.set("X-Content-Type-Options", "nosniff"); - defaultResponseHeaders.set("X-XSS-Protection", "1; mode=block"); - return defaultResponseHeaders; - } - get idleTimeout() { - return this[_idleTimeout]; - } - set idleTimeout(duration) { - let idleTimer = this[_idleTimer]; - if (idleTimer != null) { - idleTimer.cancel(); - this[_idleTimer] = null; - } - this[_idleTimeout] = duration; - if (duration != null) { - this[_idleTimer] = async.Timer.periodic(duration, dart.fn(_ => { - if (_ == null) dart.nullFailed(I[181], 3222, 46, "_"); - for (let idle of this[_idleConnections][$toList]()) { - if (dart.test(idle.isMarkedIdle)) { - idle.destroy(); - } else { - idle.markIdle(); - } - } - }, T$.TimerTovoid())); - } - } - 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[_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$1.SocketTovoid()), {onError: dart.fn((error, stackTrace) => { - if (!io.HandshakeException.is(error)) { - this[_controller$0].addError(core.Object.as(error), T$.StackTraceN().as(stackTrace)); - } - }, T$.dynamicAnddynamicToNull()), onDone: dart.bind(this[_controller$0], 'close')}); - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - close(opts) { - let force = opts && 'force' in opts ? opts.force : false; - if (force == null) dart.nullFailed(I[181], 3257, 22, "force"); - this.closed = true; - let result = null; - if (dart.test(this[_closeServer$])) { - result = this[_serverSocket$].close(); - } else { - result = async.Future.value(); - } - this.idleTimeout = null; - if (dart.test(force)) { - for (let c of this[_activeConnections][$toList]()) { - c.destroy(); - } - if (!dart.test(this[_activeConnections].isEmpty)) dart.assertFailed(null, I[181], 3270, 14, "_activeConnections.isEmpty"); - } - for (let c of this[_idleConnections][$toList]()) { - c.destroy(); - } - this[_maybePerformCleanup$](); - return result; - } - [_maybePerformCleanup$]() { - let sessionManager = this[_sessionManagerInstance]; - if (dart.test(this.closed) && dart.test(this[_idleConnections].isEmpty) && dart.test(this[_activeConnections].isEmpty) && sessionManager != null) { - sessionManager.close(); - this[_sessionManagerInstance] = null; - _http._HttpServer._servers[$remove](this[_serviceId$]); - } - } - get port() { - if (dart.test(this.closed)) dart.throw(new _http.HttpException.new("HttpServer is not bound to a socket")); - 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 this[_serverSocket$].address; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[181], 3301, 26, "timeout"); - this[_sessionManager$].sessionTimeout = timeout; - } - [_handleRequest](request) { - if (request == null) dart.nullFailed(I[181], 3305, 36, "request"); - if (!dart.test(this.closed)) { - this[_controller$0].add(request); - } else { - request[_httpConnection$].destroy(); - } - } - [_connectionClosed](connection) { - if (connection == null) dart.nullFailed(I[181], 3313, 42, "connection"); - connection.unlink(); - this[_maybePerformCleanup$](); - } - [_markIdle](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], 3324, 36, "connection"); - this[_idleConnections].remove(connection); - this[_activeConnections].add(connection); - } - get [_sessionManager$]() { - 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); - for (let conn of this[_activeConnections]) { - if (dart.test(conn[_isActive])) { - t274 = result; - t274.active = dart.notNull(t274.active) + 1; - } else { - 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$]() { - return "io/http/servers"; - } - get [_serviceTypeName$]() { - return "HttpServer"; - } -}; -(_http._HttpServer.__ = function(_serverSocket, _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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - 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; - this[_idleTimeout] = null; - this[_idleTimer] = null; - this[_sessionManagerInstance] = null; - this.closed = false; - 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$1.StreamControllerOfHttpRequest().new({sync: true}); - _http._HttpServer.__proto__.new.call(this); - this[_controller$0].onCancel = dart.bind(this, 'close'); - this.idleTimeout = C[460] || CT.C460; - _http._HttpServer._servers[$_set](this[_serviceId$], this); -}).prototype = _http._HttpServer.prototype; -dart.addTypeTests(_http._HttpServer); -dart.addTypeCaches(_http._HttpServer); -_http._HttpServer[dart.implements] = () => [_http.HttpServer]; -dart.setMethodSignature(_http._HttpServer, () => ({ - __proto__: dart.getMethods(_http._HttpServer.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http.HttpRequest), [dart.nullable(dart.fnType(dart.void, [_http.HttpRequest]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - close: dart.fnType(async.Future, [], {force: core.bool}, {}), - [_maybePerformCleanup$]: dart.fnType(dart.void, []), - [_handleRequest]: dart.fnType(dart.void, [_http._HttpRequest]), - [_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, []) -})); -dart.setStaticMethodSignature(_http._HttpServer, () => ['bind', 'bindSecure', '_initDefaultResponseHeaders']); -dart.setGetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getGetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - port: core.int, - address: io.InternetAddress, - [_sessionManager$]: _http._HttpSessionManager, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setSetterSignature(_http._HttpServer, () => ({ - __proto__: dart.getSetters(_http._HttpServer.__proto__), - idleTimeout: dart.nullable(core.Duration), - sessionTimeout: core.int -})); -dart.setLibraryUri(_http._HttpServer, I[177]); -dart.setFieldSignature(_http._HttpServer, () => ({ - __proto__: dart.getFields(_http._HttpServer.__proto__), - serverHeader: dart.fieldType(dart.nullable(core.String)), - defaultResponseHeaders: dart.finalFieldType(_http.HttpHeaders), - autoCompress: dart.fieldType(core.bool), - [_idleTimeout]: dart.fieldType(dart.nullable(core.Duration)), - [_idleTimer]: dart.fieldType(dart.nullable(async.Timer)), - [_sessionManagerInstance]: dart.fieldType(dart.nullable(_http._HttpSessionManager)), - closed: dart.fieldType(core.bool), - [_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.finalFieldType(async.StreamController$(_http.HttpRequest)) -})); -dart.setStaticFieldSignature(_http._HttpServer, () => ['_servers']); -dart.defineLazy(_http._HttpServer, { - /*_http._HttpServer._servers*/get _servers() { - return new (T$1.IdentityMapOfint$_HttpServer()).new(); - } -}, false); -const proxies = _ProxyConfiguration_proxies; -_http._ProxyConfiguration = class _ProxyConfiguration extends core.Object { - get proxies() { - return this[proxies]; - } - 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], 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](";"); - for (let proxy of list) { - proxy = proxy[$trim](); - if (proxy[$isNotEmpty]) { - if (proxy[$startsWith]("PROXY ")) { - let username = null; - let password = null; - proxy = proxy[$substring]("PROXY ".length)[$trim](); - let at = proxy[$indexOf]("@"); - if (at !== -1) { - let userinfo = proxy[$substring](0, at)[$trim](); - proxy = proxy[$substring](at + 1)[$trim](); - let colon = userinfo[$indexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - username = userinfo[$substring](0, colon)[$trim](); - password = userinfo[$substring](colon + 1)[$trim](); - } - let colon = proxy[$lastIndexOf](":"); - if (colon === -1 || colon === 0 || colon === proxy.length - 1) { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - let host = proxy[$substring](0, colon)[$trim](); - if (host[$startsWith]("[") && host[$endsWith]("]")) { - host = host[$substring](1, host.length - 1); - } - let portString = proxy[$substring](colon + 1)[$trim](); - let port = null; - try { - port = core.int.parse(portString); - } 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; - } - this.proxies[$add](new _http._Proxy.new(host, port, username, password)); - } else if (proxy[$trim]() === "DIRECT") { - this.proxies[$add](new _http._Proxy.direct()); - } else { - dart.throw(new _http.HttpException.new("Invalid proxy configuration " + dart.str(configuration))); - } - } - } -}).prototype = _http._ProxyConfiguration.prototype; -(_http._ProxyConfiguration.direct = function() { - this[proxies] = C[488] || CT.C488; - ; -}).prototype = _http._ProxyConfiguration.prototype; -dart.addTypeTests(_http._ProxyConfiguration); -dart.addTypeCaches(_http._ProxyConfiguration); -dart.setLibraryUri(_http._ProxyConfiguration, I[177]); -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 "; - }, - /*_http._ProxyConfiguration.DIRECT_PREFIX*/get DIRECT_PREFIX() { - return "DIRECT"; - } -}, false); -const host$ = _Proxy_host; -const port$1 = _Proxy_port; -const username$ = _Proxy_username; -const password$ = _Proxy_password; -const isDirect = _Proxy_isDirect; -_http._Proxy = class _Proxy extends core.Object { - get host() { - return this[host$]; - } - set host(value) { - super.host = value; - } - get port() { - return this[port$1]; - } - set port(value) { - super.port = value; - } - get username() { - return this[username$]; - } - set username(value) { - super.username = value; - } - get password() { - return this[password$]; - } - set password(value) { - super.password = value; - } - get isDirect() { - return this[isDirect]; - } - 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], 3438, 28, "host"); - if (port == null) dart.nullFailed(I[181], 3438, 43, "port"); - this[host$] = host; - this[port$1] = port; - this[username$] = username; - this[password$] = password; - this[isDirect] = false; - ; -}).prototype = _http._Proxy.prototype; -(_http._Proxy.direct = function() { - this[host$] = null; - this[port$1] = null; - this[username$] = null; - this[password$] = null; - this[isDirect] = true; - ; -}).prototype = _http._Proxy.prototype; -dart.addTypeTests(_http._Proxy); -dart.addTypeCaches(_http._Proxy); -dart.setGetterSignature(_http._Proxy, () => ({ - __proto__: dart.getGetters(_http._Proxy.__proto__), - isAuthenticated: core.bool -})); -dart.setLibraryUri(_http._Proxy, I[177]); -dart.setFieldSignature(_http._Proxy, () => ({ - __proto__: dart.getFields(_http._Proxy.__proto__), - host: dart.finalFieldType(dart.nullable(core.String)), - port: dart.finalFieldType(dart.nullable(core.int)), - username: dart.finalFieldType(dart.nullable(core.String)), - password: dart.finalFieldType(dart.nullable(core.String)), - 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], 3457, 45, "socket"); - if (socket == null) return null; - try { - return new _http._HttpConnectionInfo.new(socket.remoteAddress, socket.remotePort, socket.port); - } catch (e$) { - let e = dart.getThrown(e$); - if (core.Object.is(e)) { - } else - throw e$; - } - return null; - } -}; -(_http._HttpConnectionInfo.new = function(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"); - this.remoteAddress = remoteAddress; - this.remotePort = remotePort; - this.localPort = localPort; - ; -}).prototype = _http._HttpConnectionInfo.prototype; -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__), - remoteAddress: dart.fieldType(io.InternetAddress), - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_incoming$].listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get encoding() { - return this[_socket$0].encoding; - } - set encoding(value) { - if (value == null) dart.nullFailed(I[181], 3481, 30, "value"); - this[_socket$0].encoding = value; - } - write(obj) { - this[_socket$0].write(obj); - } - writeln(obj = "") { - this[_socket$0].writeln(obj); - } - writeCharCode(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], 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], 3501, 22, "bytes"); - this[_socket$0].add(bytes); - } - addError(error, stackTrace = null) { - 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], 3508, 38, "stream"); - return this[_socket$0].addStream(stream); - } - destroy() { - this[_socket$0].destroy(); - } - flush() { - return this[_socket$0].flush(); - } - close() { - return this[_socket$0].close(); - } - get done() { - return this[_socket$0].done; - } - get port() { - return this[_socket$0].port; - } - get address() { - return this[_socket$0].address; - } - get remoteAddress() { - return this[_socket$0].remoteAddress; - } - get remotePort() { - return this[_socket$0].remotePort; - } - setOption(option, 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], 3534, 42, "option"); - return this[_socket$0].getRawOption(option); - } - setRawOption(option) { - if (option == null) dart.nullFailed(I[181], 3538, 37, "option"); - this[_socket$0].setRawOption(option); - } - get [__IOSink_encoding_isSet]() { - 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 dart.throw(core.NoSuchMethodError.withInvocation(this, new core._Invocation.getter(C[480] || CT.C480))); - } - set [__IOSink_encoding_isSet](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 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], 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); - ; -}).prototype = _http._DetachedSocket.prototype; -dart.addTypeTests(_http._DetachedSocket); -dart.addTypeCaches(_http._DetachedSocket); -_http._DetachedSocket[dart.implements] = () => [io.Socket]; -dart.setMethodSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getMethods(_http._DetachedSocket.__proto__), - 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)}, {}), - write: dart.fnType(dart.void, [dart.nullable(core.Object)]), - writeln: dart.fnType(dart.void, [], [dart.nullable(core.Object)]), - writeCharCode: dart.fnType(dart.void, [core.int]), - writeAll: dart.fnType(dart.void, [core.Iterable], [core.String]), - 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)]), - destroy: dart.fnType(dart.void, []), - flush: dart.fnType(async.Future, []), - close: dart.fnType(async.Future, []), - setOption: dart.fnType(core.bool, [io.SocketOption, core.bool]), - getRawOption: dart.fnType(typed_data.Uint8List, [io.RawSocketOption]), - setRawOption: dart.fnType(dart.void, [io.RawSocketOption]), - [_detachRaw]: dart.fnType(async.Future$(core.List$(dart.nullable(core.Object))), []) -})); -dart.setGetterSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getGetters(_http._DetachedSocket.__proto__), - encoding: convert.Encoding, - done: async.Future, - port: core.int, - address: io.InternetAddress, - remoteAddress: io.InternetAddress, - remotePort: core.int, - [__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]: core.bool, - [__IOSink_encoding]: dart.nullable(convert.Encoding) -})); -dart.setLibraryUri(_http._DetachedSocket, I[177]); -dart.setFieldSignature(_http._DetachedSocket, () => ({ - __proto__: dart.getFields(_http._DetachedSocket.__proto__), - [_incoming$]: dart.finalFieldType(async.Stream$(typed_data.Uint8List)), - [_socket$0]: dart.finalFieldType(io.Socket) -})); -var _scheme$ = dart.privateName(_http, "_AuthenticationScheme._scheme"); -var _scheme = dart.privateName(_http, "_scheme"); -_http._AuthenticationScheme = class _AuthenticationScheme extends core.Object { - get [_scheme]() { - return this[_scheme$]; - } - 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], 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"; - return "Unknown"; - } -}; -(_http._AuthenticationScheme.new = function(_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[492] || CT.C492; - }, - /*_http._AuthenticationScheme.BASIC*/get BASIC() { - return C[493] || CT.C493; - }, - /*_http._AuthenticationScheme.DIGEST*/get DIGEST() { - return C[494] || CT.C494; - } -}, false); -_http._Credentials = class _Credentials extends core.Object { - get scheme() { - return this.credentials.scheme; - } -}; -(_http._Credentials.new = function(credentials, 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; - this.algorithm = null; - this.qop = null; - this.nonceCount = null; - this.credentials = credentials; - this.realm = realm; - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST)) { - let creds = _http._HttpClientDigestCredentials.as(this.credentials); - 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()); - } -}).prototype = _http._Credentials.prototype; -dart.addTypeTests(_http._Credentials); -dart.addTypeCaches(_http._Credentials); -dart.setGetterSignature(_http._Credentials, () => ({ - __proto__: dart.getGetters(_http._Credentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._Credentials, I[177]); -dart.setFieldSignature(_http._Credentials, () => ({ - __proto__: dart.getFields(_http._Credentials.__proto__), - credentials: dart.fieldType(_http._HttpClientCredentials), - realm: dart.fieldType(core.String), - used: dart.fieldType(core.bool), - ha1: dart.fieldType(dart.nullable(core.String)), - nonce: dart.fieldType(dart.nullable(core.String)), - algorithm: dart.fieldType(dart.nullable(core.String)), - qop: dart.fieldType(dart.nullable(core.String)), - 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], 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; - let otherPort = uri.port === 0 ? 80 : uri.port; - if (otherPort != thisPort) return false; - return uri.path[$startsWith](this.uri.path); - } - authorize(request) { - if (request == null) dart.nullFailed(I[181], 3617, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorize(this, _http._HttpClientRequest.as(request)); - this.used = true; - } -}; -(_http._SiteCredentials.new = function(uri, realm, 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)); - ; -}).prototype = _http._SiteCredentials.prototype; -dart.addTypeTests(_http._SiteCredentials); -dart.addTypeCaches(_http._SiteCredentials); -dart.setMethodSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getMethods(_http._SiteCredentials.__proto__), - applies: dart.fnType(core.bool, [core.Uri, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) -})); -dart.setLibraryUri(_http._SiteCredentials, I[177]); -dart.setFieldSignature(_http._SiteCredentials, () => ({ - __proto__: dart.getFields(_http._SiteCredentials.__proto__), - 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], 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], 3640, 36, "request"); - if (dart.equals(this.credentials.scheme, _http._AuthenticationScheme.DIGEST) && this.nonce == null) { - return; - } - this.credentials.authorizeProxy(this, _http._HttpClientRequest.as(request)); - } -}; -(_http._ProxyCredentials.new = function(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"); - this.host = host; - this.port = port; - _http._ProxyCredentials.__proto__.new.call(this, creds, core.String.as(realm)); - ; -}).prototype = _http._ProxyCredentials.prototype; -dart.addTypeTests(_http._ProxyCredentials); -dart.addTypeCaches(_http._ProxyCredentials); -dart.setMethodSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getMethods(_http._ProxyCredentials.__proto__), - applies: dart.fnType(core.bool, [_http._Proxy, dart.nullable(_http._AuthenticationScheme)]), - authorize: dart.fnType(dart.void, [_http.HttpClientRequest]) -})); -dart.setLibraryUri(_http._ProxyCredentials, I[177]); -dart.setFieldSignature(_http._ProxyCredentials, () => ({ - __proto__: dart.getFields(_http._ProxyCredentials.__proto__), - host: dart.fieldType(core.String), - port: dart.fieldType(core.int) -})); -_http._HttpClientCredentials = class _HttpClientCredentials extends core.Object {}; -(_http._HttpClientCredentials.new = function() { - ; -}).prototype = _http._HttpClientCredentials.prototype; -dart.addTypeTests(_http._HttpClientCredentials); -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 = 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], 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], 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], 3661, 36, "username"); - if (password == null) dart.nullFailed(I[181], 3661, 51, "password"); - this.username = username; - this.password = password; - ; -}).prototype = _http._HttpClientBasicCredentials.prototype; -dart.addTypeTests(_http._HttpClientBasicCredentials); -dart.addTypeCaches(_http._HttpClientBasicCredentials); -_http._HttpClientBasicCredentials[dart.implements] = () => [_http.HttpClientBasicCredentials]; -dart.setMethodSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientBasicCredentials.__proto__), - authorization: dart.fnType(core.String, []), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) -})); -dart.setGetterSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientBasicCredentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._HttpClientBasicCredentials, I[177]); -dart.setFieldSignature(_http._HttpClientBasicCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientBasicCredentials.__proto__), - username: dart.fieldType(core.String), - 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 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 = (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 = (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; - cnonce = _http._CryptoUtils.bytesToHex(_http._CryptoUtils.getRandomBytes(4)); - let nonceCount = dart.nullCheck(credentials.nonceCount) + 1; - credentials.nonceCount = nonceCount; - nc = nonceCount[$toRadixString](16)[$padLeft](9, "0"); - t277$0 = hasher; - (() => { - 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 { - t277$1 = hasher; - (() => { - 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 = (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) { - t277$3 = buffer; - (() => { - 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], 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], 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], 3690, 37, "username"); - if (password == null) dart.nullFailed(I[181], 3690, 52, "password"); - this.username = username; - this.password = password; - ; -}).prototype = _http._HttpClientDigestCredentials.prototype; -dart.addTypeTests(_http._HttpClientDigestCredentials); -dart.addTypeCaches(_http._HttpClientDigestCredentials); -_http._HttpClientDigestCredentials[dart.implements] = () => [_http.HttpClientDigestCredentials]; -dart.setMethodSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getMethods(_http._HttpClientDigestCredentials.__proto__), - authorization: dart.fnType(core.String, [_http._Credentials, _http._HttpClientRequest]), - authorize: dart.fnType(dart.void, [_http._Credentials, _http.HttpClientRequest]), - authorizeProxy: dart.fnType(dart.void, [_http._ProxyCredentials, _http.HttpClientRequest]) -})); -dart.setGetterSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getGetters(_http._HttpClientDigestCredentials.__proto__), - scheme: _http._AuthenticationScheme -})); -dart.setLibraryUri(_http._HttpClientDigestCredentials, I[177]); -dart.setFieldSignature(_http._HttpClientDigestCredentials, () => ({ - __proto__: dart.getFields(_http._HttpClientDigestCredentials.__proto__), - username: dart.fieldType(core.String), - password: dart.fieldType(core.String) -})); -var statusCode$ = dart.privateName(_http, "_RedirectInfo.statusCode"); -var method$ = dart.privateName(_http, "_RedirectInfo.method"); -var location$ = dart.privateName(_http, "_RedirectInfo.location"); -_http._RedirectInfo = class _RedirectInfo extends core.Object { - get statusCode() { - return this[statusCode$]; - } - set statusCode(value) { - super.statusCode = value; - } - get method() { - return this[method$]; - } - set method(value) { - super.method = value; - } - get location() { - return this[location$]; - } - 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], 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; - ; -}).prototype = _http._RedirectInfo.prototype; -dart.addTypeTests(_http._RedirectInfo); -dart.addTypeCaches(_http._RedirectInfo); -_http._RedirectInfo[dart.implements] = () => [_http.RedirectInfo]; -dart.setLibraryUri(_http._RedirectInfo, I[177]); -dart.setFieldSignature(_http._RedirectInfo, () => ({ - __proto__: dart.getFields(_http._RedirectInfo.__proto__), - statusCode: dart.finalFieldType(core.int), - method: dart.finalFieldType(core.String), - location: dart.finalFieldType(core.Uri) -})); -_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[495] || CT.C495; - }, - /*_http._Const.HTTP1DOT*/get HTTP1DOT() { - return C[496] || CT.C496; - }, - /*_http._Const.HTTP10*/get HTTP10() { - return C[497] || CT.C497; - }, - /*_http._Const.HTTP11*/get HTTP11() { - return C[498] || CT.C498; - }, - /*_http._Const.T*/get T() { - return true; - }, - /*_http._Const.F*/get F() { - return false; - }, - /*_http._Const.SEPARATOR_MAP*/get SEPARATOR_MAP() { - return C[499] || CT.C499; - } -}, false); -_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; - }, - /*_http._CharCode.LF*/get LF() { - return 10; - }, - /*_http._CharCode.CR*/get CR() { - return 13; - }, - /*_http._CharCode.SP*/get SP() { - return 32; - }, - /*_http._CharCode.COMMA*/get COMMA() { - return 44; - }, - /*_http._CharCode.SLASH*/get SLASH() { - return 47; - }, - /*_http._CharCode.ZERO*/get ZERO() { - return 48; - }, - /*_http._CharCode.ONE*/get ONE() { - return 49; - }, - /*_http._CharCode.COLON*/get COLON() { - return 58; - }, - /*_http._CharCode.SEMI_COLON*/get SEMI_COLON() { - return 59; - } -}, false); -_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; - }, - /*_http._State.METHOD_OR_RESPONSE_HTTP_VERSION*/get METHOD_OR_RESPONSE_HTTP_VERSION() { - return 1; - }, - /*_http._State.RESPONSE_HTTP_VERSION*/get RESPONSE_HTTP_VERSION() { - return 2; - }, - /*_http._State.REQUEST_LINE_METHOD*/get REQUEST_LINE_METHOD() { - return 3; - }, - /*_http._State.REQUEST_LINE_URI*/get REQUEST_LINE_URI() { - return 4; - }, - /*_http._State.REQUEST_LINE_HTTP_VERSION*/get REQUEST_LINE_HTTP_VERSION() { - return 5; - }, - /*_http._State.REQUEST_LINE_ENDING*/get REQUEST_LINE_ENDING() { - return 6; - }, - /*_http._State.RESPONSE_LINE_STATUS_CODE*/get RESPONSE_LINE_STATUS_CODE() { - return 7; - }, - /*_http._State.RESPONSE_LINE_REASON_PHRASE*/get RESPONSE_LINE_REASON_PHRASE() { - return 8; - }, - /*_http._State.RESPONSE_LINE_ENDING*/get RESPONSE_LINE_ENDING() { - return 9; - }, - /*_http._State.HEADER_START*/get HEADER_START() { - return 10; - }, - /*_http._State.HEADER_FIELD*/get HEADER_FIELD() { - return 11; - }, - /*_http._State.HEADER_VALUE_START*/get HEADER_VALUE_START() { - return 12; - }, - /*_http._State.HEADER_VALUE*/get HEADER_VALUE() { - return 13; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END_CR*/get HEADER_VALUE_FOLD_OR_END_CR() { - return 14; - }, - /*_http._State.HEADER_VALUE_FOLD_OR_END*/get HEADER_VALUE_FOLD_OR_END() { - return 15; - }, - /*_http._State.HEADER_ENDING*/get HEADER_ENDING() { - return 16; - }, - /*_http._State.CHUNK_SIZE_STARTING_CR*/get CHUNK_SIZE_STARTING_CR() { - return 17; - }, - /*_http._State.CHUNK_SIZE_STARTING*/get CHUNK_SIZE_STARTING() { - return 18; - }, - /*_http._State.CHUNK_SIZE*/get CHUNK_SIZE() { - return 19; - }, - /*_http._State.CHUNK_SIZE_EXTENSION*/get CHUNK_SIZE_EXTENSION() { - return 20; - }, - /*_http._State.CHUNK_SIZE_ENDING*/get CHUNK_SIZE_ENDING() { - return 21; - }, - /*_http._State.CHUNKED_BODY_DONE_CR*/get CHUNKED_BODY_DONE_CR() { - return 22; - }, - /*_http._State.CHUNKED_BODY_DONE*/get CHUNKED_BODY_DONE() { - return 23; - }, - /*_http._State.BODY*/get BODY() { - return 24; - }, - /*_http._State.CLOSED*/get CLOSED() { - return 25; - }, - /*_http._State.UPGRADED*/get UPGRADED() { - return 26; - }, - /*_http._State.FAILURE*/get FAILURE() { - return 27; - }, - /*_http._State.FIRST_BODY_STATE*/get FIRST_BODY_STATE() { - return 17; - } -}, false); -_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; - }, - /*_http._HttpVersion.HTTP10*/get HTTP10() { - return 1; - }, - /*_http._HttpVersion.HTTP11*/get HTTP11() { - return 2; - } -}, false); -_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; - }, - /*_http._MessageType.REQUEST*/get REQUEST() { - return 1; - }, - /*_http._MessageType.RESPONSE*/get RESPONSE() { - return 0; - } -}, false); -var _isCanceled$ = dart.privateName(_http, "_isCanceled"); -var _scheduled = dart.privateName(_http, "_scheduled"); -var _pauseCount$ = dart.privateName(_http, "_pauseCount"); -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; - } - asFuture(T, futureValue = null) { - return this[_subscription$0].asFuture(T, T.as(futureValue)); - } - cancel() { - this[_isCanceled$] = true; - this[_injectData$] = null; - return this[_subscription$0].cancel(); - } - onData(handleData) { - this[_userOnData$] = handleData; - this[_subscription$0].onData(handleData); - } - onDone(handleDone) { - this[_subscription$0].onDone(handleDone); - } - onError(handleError) { - this[_subscription$0].onError(handleError); - } - pause(resumeSignal = null) { - if (this[_injectData$] == null) { - this[_subscription$0].pause(resumeSignal); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) + 1; - if (resumeSignal != null) { - resumeSignal.whenComplete(dart.bind(this, 'resume')); - } - } - } - resume() { - if (this[_injectData$] == null) { - this[_subscription$0].resume(); - } else { - this[_pauseCount$] = dart.notNull(this[_pauseCount$]) - 1; - this[_maybeScheduleData](); - } - } - [_maybeScheduleData]() { - if (dart.test(this[_scheduled])) return; - if (this[_pauseCount$] !== 0) return; - this[_scheduled] = true; - async.scheduleMicrotask(dart.fn(() => { - let t277; - this[_scheduled] = false; - if (dart.notNull(this[_pauseCount$]) > 0 || dart.test(this[_isCanceled$])) return; - let data = dart.nullCheck(this[_injectData$]); - this[_injectData$] = null; - this[_subscription$0].resume(); - t277 = this[_userOnData$]; - t277 == null ? null : t277(data); - }, T$.VoidTovoid())); - } -}; -(_http._HttpDetachedStreamSubscription.new = function(_subscription, _injectData, _userOnData) { - if (_subscription == null) dart.nullFailed(I[182], 115, 12, "_subscription"); - this[_isCanceled$] = false; - this[_scheduled] = false; - this[_pauseCount$] = 1; - this[_subscription$0] = _subscription; - this[_injectData$] = _injectData; - this[_userOnData$] = _userOnData; - ; -}).prototype = _http._HttpDetachedStreamSubscription.prototype; -_http._HttpDetachedStreamSubscription.prototype[dart.isStreamSubscription] = true; -dart.addTypeTests(_http._HttpDetachedStreamSubscription); -dart.addTypeCaches(_http._HttpDetachedStreamSubscription); -_http._HttpDetachedStreamSubscription[dart.implements] = () => [async.StreamSubscription$(typed_data.Uint8List)]; -dart.setMethodSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedStreamSubscription.__proto__), - asFuture: dart.gFnType(T => [async.Future$(T), [], [dart.nullable(T)]], T => [dart.nullable(core.Object)]), - cancel: dart.fnType(async.Future, []), - onData: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, [typed_data.Uint8List]))]), - onDone: dart.fnType(dart.void, [dart.nullable(dart.fnType(dart.void, []))]), - onError: dart.fnType(dart.void, [dart.nullable(core.Function)]), - pause: dart.fnType(dart.void, [], [dart.nullable(async.Future)]), - resume: dart.fnType(dart.void, []), - [_maybeScheduleData]: dart.fnType(dart.void, []) -})); -dart.setGetterSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getGetters(_http._HttpDetachedStreamSubscription.__proto__), - isPaused: core.bool -})); -dart.setLibraryUri(_http._HttpDetachedStreamSubscription, I[177]); -dart.setFieldSignature(_http._HttpDetachedStreamSubscription, () => ({ - __proto__: dart.getFields(_http._HttpDetachedStreamSubscription.__proto__), - [_subscription$0]: dart.finalFieldType(async.StreamSubscription$(typed_data.Uint8List)), - [_injectData$]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_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 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) { - t277 = subscription; - (() => { - t277.onData(onData); - t277.onError(onError); - t277.onDone(onDone); - return t277; - })(); - if (this.bufferedData == null) { - t277$ = subscription; - return (() => { - t277$.resume(); - return t277$; - })(); - } - t277$0 = new _http._HttpDetachedStreamSubscription.new(subscription, this.bufferedData, onData); - return (() => { - t277$0.resume(); - return t277$0; - })(); - } else { - return T$1.StreamOfUint8List().fromIterable(T$.JSArrayOfUint8List().of([dart.nullCheck(this.bufferedData)])).listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - } -}; -(_http._HttpDetachedIncoming.new = function(subscription, bufferedData) { - this.subscription = subscription; - this.bufferedData = bufferedData; - _http._HttpDetachedIncoming.__proto__.new.call(this); - ; -}).prototype = _http._HttpDetachedIncoming.prototype; -dart.addTypeTests(_http._HttpDetachedIncoming); -dart.addTypeCaches(_http._HttpDetachedIncoming); -dart.setMethodSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getMethods(_http._HttpDetachedIncoming.__proto__), - 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)}, {}) -})); -dart.setLibraryUri(_http._HttpDetachedIncoming, I[177]); -dart.setFieldSignature(_http._HttpDetachedIncoming, () => ({ - __proto__: dart.getFields(_http._HttpDetachedIncoming.__proto__), - 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"); -var _messageType = dart.privateName(_http, "_messageType"); -var _statusCodeLength = dart.privateName(_http, "_statusCodeLength"); -var _method$ = dart.privateName(_http, "_method"); -var _uriOrReasonPhrase = dart.privateName(_http, "_uriOrReasonPhrase"); -var _headerField = dart.privateName(_http, "_headerField"); -var _headerValue = dart.privateName(_http, "_headerValue"); -var _headersReceivedSize = dart.privateName(_http, "_headersReceivedSize"); -var _httpVersion = dart.privateName(_http, "_httpVersion"); -var _connectionUpgrade = dart.privateName(_http, "_connectionUpgrade"); -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 _socketSubscription$ = dart.privateName(_http, "_socketSubscription"); -var _paused = dart.privateName(_http, "_paused"); -var _bodyPaused = dart.privateName(_http, "_bodyPaused"); -var _bodyController = dart.privateName(_http, "_bodyController"); -var _requestParser$ = dart.privateName(_http, "_requestParser"); -var _pauseStateChanged = dart.privateName(_http, "_pauseStateChanged"); -var _reset = dart.privateName(_http, "_reset"); -var _onData$1 = dart.privateName(_http, "_onData"); -var _onDone = dart.privateName(_http, "_onDone"); -var _doParse = dart.privateName(_http, "_doParse"); -var _reportBodyError = dart.privateName(_http, "_reportBodyError"); -var _reportHttpError = dart.privateName(_http, "_reportHttpError"); -var _createIncoming = dart.privateName(_http, "_createIncoming"); -var _closeIncoming = dart.privateName(_http, "_closeIncoming"); -var _headersEnd = dart.privateName(_http, "_headersEnd"); -var _addWithValidation = dart.privateName(_http, "_addWithValidation"); -var _expect = dart.privateName(_http, "_expect"); -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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - listenToStream(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]() { - try { - this[_doParse](); - } catch (e$) { - let e = dart.getThrown(e$); - let s = dart.stackTrace(e$); - if (core.Object.is(e)) { - if (dart.notNull(this[_state$1]) >= 17 && dart.notNull(this[_state$1]) <= 24) { - this[_state$1] = 27; - this[_reportBodyError](e, s); - } else { - this[_state$1] = 27; - this[_reportHttpError](e, s); - } - } else - throw e$; - } - } - [_headersEnd]() { - let headers = dart.nullCheck(this[_headers]); - if (!dart.test(this[_requestParser$]) && dart.notNull(this[_statusCode]) >= 200 && dart.notNull(this[_statusCode]) < 300 && dart.test(this.connectMethod)) { - this[_transferLength$] = -1; - headers.chunkedTransferEncoding = false; - this[_chunked] = false; - headers.removeAll("content-length"); - headers.removeAll("transfer-encoding"); - } - headers[_mutable] = false; - this[_transferLength$] = headers.contentLength; - if (dart.test(this[_chunked])) this[_transferLength$] = -1; - if (this[_messageType] === 1 && dart.notNull(this[_transferLength$]) < 0 && this[_chunked] === false) { - this[_transferLength$] = 0; - } - if (dart.test(this[_connectionUpgrade])) { - this[_state$1] = 26; - this[_transferLength$] = 0; - } - let incoming = this[_createIncoming](this[_transferLength$]); - if (dart.test(this[_requestParser$])) { - incoming.method = core.String.fromCharCodes(this[_method$]); - incoming.uri = core.Uri.parse(core.String.fromCharCodes(this[_uriOrReasonPhrase])); - } else { - incoming.statusCode = this[_statusCode]; - incoming.reasonPhrase = core.String.fromCharCodes(this[_uriOrReasonPhrase]); - } - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - if (dart.test(this[_connectionUpgrade])) { - incoming.upgraded = true; - this[_parserCalled] = false; - this[_closeIncoming](); - this[_controller$0].add(incoming); - return true; - } - if (this[_transferLength$] === 0 || this[_messageType] === 0 && dart.test(this[_noMessageBody])) { - this[_reset](); - this[_closeIncoming](); - this[_controller$0].add(incoming); - return false; - } else if (dart.test(this[_chunked])) { - this[_state$1] = 19; - this[_remainingContent] = 0; - } else if (dart.notNull(this[_transferLength$]) > 0) { - this[_remainingContent] = this[_transferLength$]; - this[_state$1] = 24; - } else { - this[_state$1] = 24; - } - this[_parserCalled] = false; - this[_controller$0].add(incoming); - return true; - } - [_doParse]() { - 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")); - } - if (this[_state$1] === 27) { - dart.throw(new _http.HttpException.new("Data on failed connection")); - } - while (this[_buffer$1] != null && dart.notNull(this[_index$1]) < dart.notNull(dart.nullCheck(this[_buffer$1])[$length]) && this[_state$1] !== 27 && this[_state$1] !== 26) { - if (this[_incoming$] != null && dart.test(this[_bodyPaused]) || this[_incoming$] == null && dart.test(this[_paused])) { - this[_parserCalled] = false; - return; - } - let index = this[_index$1]; - let byte = dart.nullCheck(this[_buffer$1])[$_get](index); - 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; - } 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; - } - 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")); - } - 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")); - } - this[_addWithValidation](this[_method$], byte); - } - break; - } - case 4: - { - 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); - } - 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; - this[_httpVersionIndex] = httpVersionIndex + 1; - } 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; - } - } - break; - } - case 6: - { - 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")); - } else { - this[_statusCode] = dart.notNull(this[_statusCode]) * 10 + dart.notNull(byte) - 48; - } - } - 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); - } - 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[_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; - } - 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))); - } - this[_addWithValidation](this[_headerField], _http._HttpParser._toLowerCaseByte(byte)); - } - 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; - } - break; - } - case 13: - { - if (byte === 13) { - this[_state$1] = 14; - } else if (byte === 10) { - this[_state$1] = 15; - } else { - this[_addWithValidation](this[_headerValue], byte); - } - break; - } - case 14: - { - 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)); - } - } - 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)); - } - } 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; - } - case 16: - { - this[_expect](byte, 10); - if (dart.test(this[_headersEnd]())) { - return; - } - break; - } - case 17: - { - 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; - break; - } - case 18: - { - 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]) > (2147483647)[$rightShift](4)) { - dart.throw(new _http.HttpException.new("Chunk size overflows the integer")); - } - this[_remainingContent] = dart.notNull(this[_remainingContent]) * 16 + dart.notNull(value); - } - 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; - } - break; - } - case 21: - { - this[_expect](byte, 10); - if (dart.notNull(this[_remainingContent]) > 0) { - this[_state$1] = 24; - } else { - this[_state$1] = 22; - } - break; - } - case 22: - { - if (byte === 10) { - this[_state$1] = 23; - this[_index$1] = dart.notNull(this[_index$1]) - 1; - 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[_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; - } - case 27: - { - if (!false) dart.assertFailed(null, I[182], 846, 18, "false"); - break; - } - default: - { - if (!false) dart.assertFailed(null, I[182], 851, 18, "false"); - break; - } - } - } - this[_parserCalled] = false; - let buffer = this[_buffer$1]; - if (buffer != null && this[_index$1] == buffer[$length]) { - this[_releaseBuffer](); - if (this[_state$1] !== 26 && this[_state$1] !== 27) { - dart.nullCheck(this[_socketSubscription$]).resume(); - } - } - } - [_onData$1](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], 870, 12, "_buffer == null"); - this[_buffer$1] = buffer; - this[_index$1] = 0; - this[_parse](); - } - [_onDone]() { - this[_socketSubscription$] = null; - if (this[_state$1] === 25 || this[_state$1] === 27) return; - if (this[_incoming$] != null) { - if (this[_state$1] !== 26 && !(this[_state$1] === 0 && !dart.test(this[_requestParser$])) && !(this[_state$1] === 24 && !dart.test(this[_chunked]) && this[_transferLength$] === -1)) { - this[_reportBodyError](new _http.HttpException.new("Connection closed while receiving data")); - } - this[_closeIncoming](true); - this[_controller$0].close(); - return; - } - if (this[_state$1] === 0) { - if (!dart.test(this[_requestParser$])) { - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - } - this[_controller$0].close(); - return; - } - if (this[_state$1] === 26) { - this[_controller$0].close(); - return; - } - if (dart.notNull(this[_state$1]) < 17) { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full header was received")); - this[_controller$0].close(); - return; - } - if (!dart.test(this[_chunked]) && this[_transferLength$] === -1) { - this[_state$1] = 25; - } else { - this[_state$1] = 27; - this[_reportHttpError](new _http.HttpException.new("Connection closed before full body was received")); - } - this[_controller$0].close(); - } - get version() { - switch (this[_httpVersion]) { - case 1: - { - return "1.0"; - } - case 2: - { - return "1.1"; - } - } - return null; - } - get messageType() { - return this[_messageType]; - } - get transferLength() { - return this[_transferLength$]; - } - get upgrade() { - return dart.test(this[_connectionUpgrade]) && this[_state$1] === 26; - } - get persistentConnection() { - return this[_persistentConnection]; - } - set isHead(value) { - if (value == null) dart.nullFailed(I[182], 944, 24, "value"); - this[_noMessageBody] = _internal.valueOfNonNullableParamWithDefault(core.bool, value, false); - } - detachIncoming() { - this[_state$1] = 26; - return new _http._HttpDetachedIncoming.new(this[_socketSubscription$], this.readUnparsedData()); - } - readUnparsedData() { - let buffer = this[_buffer$1]; - if (buffer == null) return null; - let index = this[_index$1]; - if (index == buffer[$length]) return null; - let result = buffer[$sublist](index); - this[_releaseBuffer](); - return result; - } - [_reset]() { - if (this[_state$1] === 26) return; - this[_state$1] = 0; - this[_messageType] = 0; - this[_headerField][$clear](); - this[_headerValue][$clear](); - this[_headersReceivedSize] = 0; - this[_method$][$clear](); - this[_uriOrReasonPhrase][$clear](); - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[_headers] = null; - } - [_releaseBuffer]() { - this[_buffer$1] = null; - this[_index$1] = -1; - } - static _isTokenChar(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], 1001, 32, "byte"); - return dart.notNull(byte) > 31 && dart.notNull(byte) < 128 || byte === 9; - } - static _tokenizeFieldValue(headerValue) { - if (headerValue == null) dart.nullFailed(I[182], 1005, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _toLowerCaseByte(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], 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; - } - return true; - } - [_expect](val1, 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], 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) { - return dart.notNull(byte) - 65 + 10; - } else if (97 <= dart.notNull(byte) && dart.notNull(byte) <= 102) { - return dart.notNull(byte) - 97 + 10; - } else { - dart.throw(new _http.HttpException.new("Failed to parse HTTP, " + dart.str(byte) + " is expected to be a Hex digit")); - } - } - [_addWithValidation](list, 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); - } else { - this[_reportSizeLimitError](); - } - } - [_reportSizeLimitError]() { - let method = ""; - switch (this[_state$1]) { - case 0: - case 1: - case 3: - { - method = "Method"; - break; - } - case 4: - { - method = "URI"; - break; - } - case 8: - { - method = "Reason phrase"; - break; - } - case 10: - case 11: - { - method = "Header field"; - break; - } - case 12: - case 13: - { - method = "Header value"; - break; - } - default: - { - 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 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); - t278 = controller; - (() => { - t278.onListen = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1112, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onPause = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1118, 16, "!_bodyPaused"); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onResume = dart.fn(() => { - if (!incoming[$_equals](this[_incoming$])) return; - if (!dart.test(this[_bodyPaused])) dart.assertFailed(null, I[182], 1124, 16, "_bodyPaused"); - this[_bodyPaused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t278.onCancel = dart.fn(() => { - let t279; - if (!incoming[$_equals](this[_incoming$])) return; - t279 = this[_socketSubscription$]; - t279 == null ? null : t279.cancel(); - this[_closeIncoming](true); - this[_controller$0].close(); - }, T$.VoidToNull()); - return t278; - })(); - this[_bodyPaused] = true; - this[_pauseStateChanged](); - return incoming; - } - [_closeIncoming](closing = false) { - if (closing == null) dart.nullFailed(I[182], 1139, 29, "closing"); - let tmp = this[_incoming$]; - if (tmp == null) return; - tmp.close(closing); - this[_incoming$] = null; - let controller = this[_bodyController]; - if (controller != null) { - controller.close(); - this[_bodyController] = null; - } - this[_bodyPaused] = false; - this[_pauseStateChanged](); - } - [_pauseStateChanged]() { - if (this[_incoming$] != null) { - if (!dart.test(this[_bodyPaused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } else { - if (!dart.test(this[_paused]) && !dart.test(this[_parserCalled])) { - this[_parse](); - } - } - } - [_reportHttpError](error, stackTrace = null) { - 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 t278, t278$, t278$0; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - this[_state$1] = 27; - 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 t277; - if (_requestParser == null) dart.nullFailed(I[182], 278, 22, "_requestParser"); - this[_parserCalled] = false; - this[_buffer$1] = null; - this[_index$1] = -1; - this[_state$1] = 0; - this[_httpVersionIndex] = null; - this[_messageType] = 0; - this[_statusCode] = 0; - this[_statusCodeLength] = 0; - this[_method$] = T$.JSArrayOfint().of([]); - this[_uriOrReasonPhrase] = T$.JSArrayOfint().of([]); - this[_headerField] = T$.JSArrayOfint().of([]); - this[_headerValue] = T$.JSArrayOfint().of([]); - this[_headersReceivedSize] = 0; - this[_httpVersion] = 0; - this[_transferLength$] = -1; - this[_persistentConnection] = false; - this[_connectionUpgrade] = false; - this[_chunked] = false; - this[_noMessageBody] = false; - this[_remainingContent] = -1; - this[_contentLength] = false; - this[_transferEncoding] = false; - this[connectMethod] = false; - this[_headers] = null; - this[_incoming$] = null; - this[_socketSubscription$] = null; - this[_paused] = true; - this[_bodyPaused] = false; - this[_bodyController] = null; - this[_requestParser$] = _requestParser; - this[_controller$0] = T$1.StreamControllerOf_HttpIncoming().new({sync: true}); - _http._HttpParser.__proto__.new.call(this); - t277 = this[_controller$0]; - (() => { - t277.onListen = dart.fn(() => { - this[_paused] = false; - }, T$.VoidTovoid()); - t277.onPause = dart.fn(() => { - this[_paused] = true; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onResume = dart.fn(() => { - this[_paused] = false; - this[_pauseStateChanged](); - }, T$.VoidTovoid()); - t277.onCancel = dart.fn(() => { - let t278; - t278 = this[_socketSubscription$]; - t278 == null ? null : t278.cancel(); - }, T$.VoidToNull()); - return t277; - })(); - this[_reset](); -}).prototype = _http._HttpParser.prototype; -dart.addTypeTests(_http._HttpParser); -dart.addTypeCaches(_http._HttpParser); -dart.setMethodSignature(_http._HttpParser, () => ({ - __proto__: dart.getMethods(_http._HttpParser.__proto__), - listen: dart.fnType(async.StreamSubscription$(_http._HttpIncoming), [dart.nullable(dart.fnType(dart.void, [_http._HttpIncoming]))], {cancelOnError: dart.nullable(core.bool), onDone: dart.nullable(dart.fnType(dart.void, [])), onError: dart.nullable(core.Function)}, {}), - listenToStream: dart.fnType(dart.void, [async.Stream$(typed_data.Uint8List)]), - [_parse]: dart.fnType(dart.void, []), - [_headersEnd]: dart.fnType(core.bool, []), - [_doParse]: dart.fnType(dart.void, []), - [_onData$1]: dart.fnType(dart.void, [typed_data.Uint8List]), - [_onDone]: dart.fnType(dart.void, []), - detachIncoming: dart.fnType(_http._HttpDetachedIncoming, []), - readUnparsedData: dart.fnType(dart.nullable(typed_data.Uint8List), []), - [_reset]: dart.fnType(dart.void, []), - [_releaseBuffer]: dart.fnType(dart.void, []), - [_expect]: dart.fnType(dart.void, [core.int, core.int]), - [_expectHexDigit]: dart.fnType(core.int, [core.int]), - [_addWithValidation]: dart.fnType(dart.void, [core.List$(core.int), core.int]), - [_reportSizeLimitError]: dart.fnType(dart.void, []), - [_createIncoming]: dart.fnType(_http._HttpIncoming, [core.int]), - [_closeIncoming]: dart.fnType(dart.void, [], [core.bool]), - [_pauseStateChanged]: dart.fnType(dart.void, []), - [_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), - messageType: core.int, - transferLength: core.int, - upgrade: core.bool, - persistentConnection: core.bool -})); -dart.setSetterSignature(_http._HttpParser, () => ({ - __proto__: dart.getSetters(_http._HttpParser.__proto__), - isHead: core.bool -})); -dart.setLibraryUri(_http._HttpParser, I[177]); -dart.setFieldSignature(_http._HttpParser, () => ({ - __proto__: dart.getFields(_http._HttpParser.__proto__), - [_parserCalled]: dart.fieldType(core.bool), - [_buffer$1]: dart.fieldType(dart.nullable(typed_data.Uint8List)), - [_index$1]: dart.fieldType(core.int), - [_requestParser$]: dart.finalFieldType(core.bool), - [_state$1]: dart.fieldType(core.int), - [_httpVersionIndex]: dart.fieldType(dart.nullable(core.int)), - [_messageType]: dart.fieldType(core.int), - [_statusCode]: dart.fieldType(core.int), - [_statusCodeLength]: dart.fieldType(core.int), - [_method$]: dart.finalFieldType(core.List$(core.int)), - [_uriOrReasonPhrase]: dart.finalFieldType(core.List$(core.int)), - [_headerField]: dart.finalFieldType(core.List$(core.int)), - [_headerValue]: dart.finalFieldType(core.List$(core.int)), - [_headersReceivedSize]: dart.fieldType(core.int), - [_httpVersion]: dart.fieldType(core.int), - [_transferLength$]: dart.fieldType(core.int), - [_persistentConnection]: dart.fieldType(core.bool), - [_connectionUpgrade]: dart.fieldType(core.bool), - [_chunked]: dart.fieldType(core.bool), - [_noMessageBody]: dart.fieldType(core.bool), - [_remainingContent]: dart.fieldType(core.int), - [_contentLength]: dart.fieldType(core.bool), - [_transferEncoding]: dart.fieldType(core.bool), - connectMethod: dart.fieldType(core.bool), - [_headers]: dart.fieldType(dart.nullable(_http._HttpHeaders)), - [_incoming$]: dart.fieldType(dart.nullable(_http._HttpIncoming)), - [_socketSubscription$]: dart.fieldType(dart.nullable(async.StreamSubscription$(typed_data.Uint8List))), - [_paused]: dart.fieldType(core.bool), - [_bodyPaused]: dart.fieldType(core.bool), - [_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"); -var _prev = dart.privateName(_http, "_prev"); -var _next$4 = dart.privateName(_http, "_next"); -var _data$1 = dart.privateName(_http, "_data"); -var _lastSeen = dart.privateName(_http, "_lastSeen"); -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; - this[_sessionManager$][_removeFromTimeoutQueue](this); - this[_sessionManager$][_sessions][$remove](this.id); - } - [_markSeen]() { - this[_lastSeen] = new core.DateTime.now(); - this[_sessionManager$][_bumpToEnd](this); - } - get lastSeen() { - return this[_lastSeen]; - } - get isNew() { - return this[_isNew]; - } - set onTimeout(callback) { - this[_timeoutCallback] = callback; - } - containsValue(value) { - return this[_data$1][$containsValue](value); - } - containsKey(key) { - return this[_data$1][$containsKey](key); - } - _get(key) { - return this[_data$1][$_get](key); - } - _set(key, value$) { - let value = value$; - this[_data$1][$_set](key, value); - return value$; - } - putIfAbsent(key, ifAbsent) { - T$0.VoidTodynamic().as(ifAbsent); - if (ifAbsent == null) dart.nullFailed(I[183], 57, 20, "ifAbsent"); - return this[_data$1][$putIfAbsent](key, ifAbsent); - } - addAll(other) { - core.Map.as(other); - if (other == null) dart.nullFailed(I[183], 58, 14, "other"); - return this[_data$1][$addAll](other); - } - remove(key) { - return this[_data$1][$remove](key); - } - clear() { - this[_data$1][$clear](); - } - forEach(f) { - if (f == null) dart.nullFailed(I[183], 64, 21, "f"); - this[_data$1][$forEach](f); - } - get entries() { - return this[_data$1][$entries]; - } - addEntries(entries) { - T$1.IterableOfMapEntry().as(entries); - if (entries == null) dart.nullFailed(I[183], 70, 38, "entries"); - this[_data$1][$addEntries](entries); - } - map(K, V, transform) { - if (transform == null) dart.nullFailed(I[183], 74, 38, "transform"); - return this[_data$1][$map](K, V, transform); - } - removeWhere(test) { - if (test == null) dart.nullFailed(I[183], 77, 25, "test"); - this[_data$1][$removeWhere](test); - } - cast(K, V) { - return this[_data$1][$cast](K, V); - } - update(key, update, opts) { - T$.dynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 82, 15, "update"); - let ifAbsent = opts && 'ifAbsent' in opts ? opts.ifAbsent : null; - T$1.VoidToNdynamic().as(ifAbsent); - return this[_data$1][$update](key, update, {ifAbsent: ifAbsent}); - } - updateAll(update) { - T$0.dynamicAnddynamicTodynamic().as(update); - if (update == null) dart.nullFailed(I[183], 85, 18, "update"); - this[_data$1][$updateAll](update); - } - get keys() { - return this[_data$1][$keys]; - } - get values() { - return this[_data$1][$values]; - } - get length() { - return this[_data$1][$length]; - } - get isEmpty() { - return this[_data$1][$isEmpty]; - } - get isNotEmpty() { - return this[_data$1][$isNotEmpty]; - } - toString() { - return "HttpSession id:" + dart.str(this.id) + " " + dart.str(this[_data$1]); - } -}; -(_http._HttpSession.new = function(_sessionManager, id) { - if (_sessionManager == null) dart.nullFailed(I[183], 25, 21, "_sessionManager"); - if (id == null) dart.nullFailed(I[183], 25, 43, "id"); - this[_destroyed] = false; - this[_isNew] = true; - this[_timeoutCallback] = null; - this[_prev] = null; - this[_next$4] = null; - this[_data$1] = new _js_helper.LinkedMap.new(); - this[_sessionManager$] = _sessionManager; - this.id = id; - this[_lastSeen] = new core.DateTime.now(); - ; -}).prototype = _http._HttpSession.prototype; -dart.addTypeTests(_http._HttpSession); -dart.addTypeCaches(_http._HttpSession); -_http._HttpSession[dart.implements] = () => [_http.HttpSession]; -dart.setMethodSignature(_http._HttpSession, () => ({ - __proto__: dart.getMethods(_http._HttpSession.__proto__), - destroy: dart.fnType(dart.void, []), - [_markSeen]: dart.fnType(dart.void, []), - containsValue: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsValue]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - containsKey: dart.fnType(core.bool, [dart.nullable(core.Object)]), - [$containsKey]: dart.fnType(core.bool, [dart.nullable(core.Object)]), - _get: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$_get]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - _set: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$_set]: dart.fnType(dart.void, [dart.nullable(core.Object), dart.nullable(core.Object)]), - putIfAbsent: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$putIfAbsent]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)]), - addAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - remove: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - [$remove]: dart.fnType(dart.dynamic, [dart.nullable(core.Object)]), - clear: dart.fnType(dart.void, []), - [$clear]: dart.fnType(dart.void, []), - forEach: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - [$forEach]: dart.fnType(dart.void, [dart.fnType(dart.void, [dart.dynamic, dart.dynamic])]), - addEntries: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$addEntries]: dart.fnType(dart.void, [dart.nullable(core.Object)]), - map: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$map]: dart.gFnType((K, V) => [core.Map$(K, V), [dart.fnType(core.MapEntry$(K, V), [dart.dynamic, dart.dynamic])]], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - removeWhere: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - [$removeWhere]: dart.fnType(dart.void, [dart.fnType(core.bool, [dart.dynamic, dart.dynamic])]), - cast: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - [$cast]: dart.gFnType((K, V) => [core.Map$(K, V), []], (K, V) => [dart.nullable(core.Object), dart.nullable(core.Object)]), - update: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - [$update]: dart.fnType(dart.dynamic, [dart.nullable(core.Object), dart.nullable(core.Object)], {ifAbsent: dart.nullable(core.Object)}, {}), - updateAll: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [$updateAll]: dart.fnType(dart.void, [dart.nullable(core.Object)]) -})); -dart.setGetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getGetters(_http._HttpSession.__proto__), - lastSeen: core.DateTime, - isNew: core.bool, - entries: core.Iterable$(core.MapEntry), - [$entries]: core.Iterable$(core.MapEntry), - keys: core.Iterable, - [$keys]: core.Iterable, - values: core.Iterable, - [$values]: core.Iterable, - length: core.int, - [$length]: core.int, - isEmpty: core.bool, - [$isEmpty]: core.bool, - isNotEmpty: core.bool, - [$isNotEmpty]: core.bool -})); -dart.setSetterSignature(_http._HttpSession, () => ({ - __proto__: dart.getSetters(_http._HttpSession.__proto__), - onTimeout: dart.nullable(dart.fnType(dart.void, [])) -})); -dart.setLibraryUri(_http._HttpSession, I[177]); -dart.setFieldSignature(_http._HttpSession, () => ({ - __proto__: dart.getFields(_http._HttpSession.__proto__), - [_destroyed]: dart.fieldType(core.bool), - [_isNew]: dart.fieldType(core.bool), - [_lastSeen]: dart.fieldType(core.DateTime), - [_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), - [_data$1]: dart.finalFieldType(core.Map) -})); -dart.defineExtensionMethods(_http._HttpSession, [ - 'containsValue', - 'containsKey', - '_get', - '_set', - 'putIfAbsent', - 'addAll', - 'remove', - 'clear', - 'forEach', - 'addEntries', - 'map', - 'removeWhere', - 'cast', - 'update', - 'updateAll', - 'toString' -]); -dart.defineExtensionAccessors(_http._HttpSession, [ - 'entries', - 'keys', - 'values', - 'length', - 'isEmpty', - 'isNotEmpty' -]); -var _sessionTimeout = dart.privateName(_http, "_sessionTimeout"); -var _head$ = dart.privateName(_http, "_head"); -var _tail$ = dart.privateName(_http, "_tail"); -var _timer = dart.privateName(_http, "_timer"); -var _addToTimeoutQueue = dart.privateName(_http, "_addToTimeoutQueue"); -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); - } - getSession(id) { - if (id == null) dart.nullFailed(I[183], 118, 35, "id"); - return this[_sessions][$_get](id); - } - createSession() { - let t280, t279, t278; - let id = this.createSessionId(); - while (dart.test(this[_sessions][$containsKey](id))) { - id = this.createSessionId(); - } - let session = (t278 = this[_sessions], t279 = id, t280 = new _http._HttpSession.new(this, id), t278[$_set](t279, t280), t280); - this[_addToTimeoutQueue](session); - return session; - } - set sessionTimeout(timeout) { - if (timeout == null) dart.nullFailed(I[183], 132, 31, "timeout"); - this[_sessionTimeout] = timeout; - this[_stopTimer](); - this[_startTimer](); - } - close() { - this[_stopTimer](); - } - [_bumpToEnd](session) { - if (session == null) dart.nullFailed(I[183], 142, 32, "session"); - this[_removeFromTimeoutQueue](session); - this[_addToTimeoutQueue](session); - } - [_addToTimeoutQueue](session) { - if (session == null) dart.nullFailed(I[183], 147, 40, "session"); - if (this[_head$] == null) { - if (!(this[_tail$] == null)) dart.assertFailed(null, I[183], 149, 14, "_tail == null"); - this[_tail$] = this[_head$] = session; - this[_startTimer](); - } else { - if (!(this[_timer] != null)) dart.assertFailed(null, I[183], 153, 14, "_timer != null"); - let tail = dart.nullCheck(this[_tail$]); - tail[_next$4] = session; - session[_prev] = tail; - this[_tail$] = session; - } - } - [_removeFromTimeoutQueue](session) { - 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; - 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; - } - if (dart.equals(this[_head$], session)) { - this[_head$] = next; - this[_stopTimer](); - this[_startTimer](); - } - } - [_timerTimeout]() { - let t278; - this[_stopTimer](); - let session = dart.nullCheck(this[_head$]); - session.destroy(); - t278 = session[_timeoutCallback]; - t278 == null ? null : t278(); - } - [_startTimer]() { - if (!(this[_timer] == null)) dart.assertFailed(null, I[183], 187, 12, "_timer == null"); - let head = this[_head$]; - if (head != null) { - let seconds = new core.DateTime.now().difference(head.lastSeen).inSeconds; - this[_timer] = async.Timer.new(new core.Duration.new({seconds: dart.notNull(this[_sessionTimeout]) - dart.notNull(seconds)}), dart.bind(this, _timerTimeout)); - } - } - [_stopTimer]() { - let timer = this[_timer]; - if (timer != null) { - timer.cancel(); - this[_timer] = null; - } - } -}; -(_http._HttpSessionManager.new = function() { - this[_sessionTimeout] = 20 * 60; - this[_head$] = null; - this[_tail$] = null; - this[_timer] = null; - this[_sessions] = new (T$1.IdentityMapOfString$_HttpSession()).new(); - ; -}).prototype = _http._HttpSessionManager.prototype; -dart.addTypeTests(_http._HttpSessionManager); -dart.addTypeCaches(_http._HttpSessionManager); -dart.setMethodSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getMethods(_http._HttpSessionManager.__proto__), - createSessionId: dart.fnType(core.String, []), - getSession: dart.fnType(dart.nullable(_http._HttpSession), [core.String]), - createSession: dart.fnType(_http._HttpSession, []), - close: dart.fnType(dart.void, []), - [_bumpToEnd]: dart.fnType(dart.void, [_http._HttpSession]), - [_addToTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_removeFromTimeoutQueue]: dart.fnType(dart.void, [_http._HttpSession]), - [_timerTimeout]: dart.fnType(dart.void, []), - [_startTimer]: dart.fnType(dart.void, []), - [_stopTimer]: dart.fnType(dart.void, []) -})); -dart.setSetterSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getSetters(_http._HttpSessionManager.__proto__), - sessionTimeout: core.int -})); -dart.setLibraryUri(_http._HttpSessionManager, I[177]); -dart.setFieldSignature(_http._HttpSessionManager, () => ({ - __proto__: dart.getFields(_http._HttpSessionManager.__proto__), - [_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)), - [_timer]: dart.fieldType(dart.nullable(async.Timer)) -})); -_http.HttpOverrides = class HttpOverrides extends core.Object { - static get current() { - 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], 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], 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], 82, 39, "url"); - return _http._HttpClient._findProxyFromEnvironment(url, environment); - } -}; -(_http.HttpOverrides.new = function() { - ; -}).prototype = _http.HttpOverrides.prototype; -dart.addTypeTests(_http.HttpOverrides); -dart.addTypeCaches(_http.HttpOverrides); -dart.setMethodSignature(_http.HttpOverrides, () => ({ - __proto__: dart.getMethods(_http.HttpOverrides.__proto__), - 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(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); - let previous = this[_previous$5]; - if (previous != null) return previous.createHttpClient(context); - return super.createHttpClient(context); - } - findProxyFromEnvironment(url, environment) { - if (url == null) dart.nullFailed(I[184], 105, 39, "url"); - let findProxyFromEnvironment = this[_findProxyFromEnvironment$]; - if (findProxyFromEnvironment != null) { - return findProxyFromEnvironment(url, environment); - } - let previous = this[_previous$5]; - if (previous != null) { - return previous.findProxyFromEnvironment(url, environment); - } - return super.findProxyFromEnvironment(url, environment); - } -}; -(_http._HttpOverridesScope.new = function(_createHttpClient, _findProxyFromEnvironment) { - this[_previous$5] = _http.HttpOverrides.current; - this[_createHttpClient$] = _createHttpClient; - this[_findProxyFromEnvironment$] = _findProxyFromEnvironment; - ; -}).prototype = _http._HttpOverridesScope.prototype; -dart.addTypeTests(_http._HttpOverridesScope); -dart.addTypeCaches(_http._HttpOverridesScope); -dart.setLibraryUri(_http._HttpOverridesScope, I[177]); -dart.setFieldSignature(_http._HttpOverridesScope, () => ({ - __proto__: dart.getFields(_http._HttpOverridesScope.__proto__), - [_previous$5]: dart.finalFieldType(dart.nullable(_http.HttpOverrides)), - [_createHttpClient$]: dart.finalFieldType(dart.nullable(dart.fnType(_http.HttpClient, [dart.nullable(io.SecurityContext)]))), - [_findProxyFromEnvironment$]: dart.finalFieldType(dart.nullable(dart.fnType(core.String, [core.Uri, dart.nullable(core.Map$(core.String, core.String))]))) -})); -_http.WebSocketStatus = class WebSocketStatus extends core.Object {}; -(_http.WebSocketStatus.new = function() { - ; -}).prototype = _http.WebSocketStatus.prototype; -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; - }, - /*_http.WebSocketStatus.goingAway*/get goingAway() { - return 1001; - }, - /*_http.WebSocketStatus.protocolError*/get protocolError() { - return 1002; - }, - /*_http.WebSocketStatus.unsupportedData*/get unsupportedData() { - return 1003; - }, - /*_http.WebSocketStatus.reserved1004*/get reserved1004() { - return 1004; - }, - /*_http.WebSocketStatus.noStatusReceived*/get noStatusReceived() { - return 1005; - }, - /*_http.WebSocketStatus.abnormalClosure*/get abnormalClosure() { - return 1006; - }, - /*_http.WebSocketStatus.invalidFramePayloadData*/get invalidFramePayloadData() { - return 1007; - }, - /*_http.WebSocketStatus.policyViolation*/get policyViolation() { - return 1008; - }, - /*_http.WebSocketStatus.messageTooBig*/get messageTooBig() { - return 1009; - }, - /*_http.WebSocketStatus.missingMandatoryExtension*/get missingMandatoryExtension() { - return 1010; - }, - /*_http.WebSocketStatus.internalServerError*/get internalServerError() { - return 1011; - }, - /*_http.WebSocketStatus.reserved1015*/get reserved1015() { - return 1015; - } -}, false); -var clientNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.clientNoContextTakeover"); -var serverNoContextTakeover$ = dart.privateName(_http, "CompressionOptions.serverNoContextTakeover"); -var clientMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.clientMaxWindowBits"); -var serverMaxWindowBits$ = dart.privateName(_http, "CompressionOptions.serverMaxWindowBits"); -var enabled$ = dart.privateName(_http, "CompressionOptions.enabled"); -var _createServerResponseHeader = dart.privateName(_http, "_createServerResponseHeader"); -var _createClientRequestHeader = dart.privateName(_http, "_createClientRequestHeader"); -var _createHeader = dart.privateName(_http, "_createHeader"); -_http.CompressionOptions = class CompressionOptions extends core.Object { - get clientNoContextTakeover() { - return this[clientNoContextTakeover$]; - } - set clientNoContextTakeover(value) { - super.clientNoContextTakeover = value; - } - get serverNoContextTakeover() { - return this[serverNoContextTakeover$]; - } - set serverNoContextTakeover(value) { - super.serverNoContextTakeover = value; - } - get clientMaxWindowBits() { - return this[clientMaxWindowBits$]; - } - set clientMaxWindowBits(value) { - super.clientMaxWindowBits = value; - } - get serverMaxWindowBits() { - return this[serverMaxWindowBits$]; - } - set serverMaxWindowBits(value) { - super.serverMaxWindowBits = value; - } - get enabled() { - return this[enabled$]; - } - 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 t278, t278$, t278$0; - let info = new _http._CompressionMaxWindowBits.new("", 0); - 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 = (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; - } - } else { - info.headerValue = ""; - info.maxWindowBits = 15; - } - return info; - } - [_createClientRequestHeader](requested, size) { - if (size == null) dart.nullFailed(I[185], 122, 65, "size"); - let info = ""; - if (requested != null) { - info = "; client_max_window_bits=" + dart.str(size); - } else { - if (this.clientMaxWindowBits == null) { - info = "; client_max_window_bits"; - } else { - info = "; client_max_window_bits=" + dart.str(this.clientMaxWindowBits); - } - if (this.serverMaxWindowBits != null) { - info = info + ("; server_max_window_bits=" + dart.str(this.serverMaxWindowBits)); - } - } - return info; - } - [_createHeader](requested = null) { - 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 || 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 || 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); - t278$0 = info; - t278$0.headerValue = dart.notNull(t278$0.headerValue) + dart.notNull(headerList.headerValue); - info.maxWindowBits = headerList.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], 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"); - this[clientNoContextTakeover$] = clientNoContextTakeover; - this[serverNoContextTakeover$] = serverNoContextTakeover; - this[clientMaxWindowBits$] = clientMaxWindowBits; - this[serverMaxWindowBits$] = serverMaxWindowBits; - this[enabled$] = enabled; - ; -}).prototype = _http.CompressionOptions.prototype; -dart.addTypeTests(_http.CompressionOptions); -dart.addTypeCaches(_http.CompressionOptions); -dart.setMethodSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getMethods(_http.CompressionOptions.__proto__), - [_createServerResponseHeader]: dart.fnType(_http._CompressionMaxWindowBits, [dart.nullable(_http.HeaderValue)]), - [_createClientRequestHeader]: dart.fnType(core.String, [dart.nullable(_http.HeaderValue), core.int]), - [_createHeader]: dart.fnType(_http._CompressionMaxWindowBits, [], [dart.nullable(_http.HeaderValue)]) -})); -dart.setLibraryUri(_http.CompressionOptions, I[177]); -dart.setFieldSignature(_http.CompressionOptions, () => ({ - __proto__: dart.getFields(_http.CompressionOptions.__proto__), - clientNoContextTakeover: dart.finalFieldType(core.bool), - serverNoContextTakeover: dart.finalFieldType(core.bool), - clientMaxWindowBits: dart.finalFieldType(dart.nullable(core.int)), - 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[500] || CT.C500; - }, - /*_http.CompressionOptions.compressionOff*/get compressionOff() { - 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[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], 245, 48, "request"); - 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], 247, 26, "compression"); - return _http._WebSocketTransformerImpl._upgrade(request, protocolSelector, compression); - } - static isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[185], 253, 44, "request"); - return _http._WebSocketTransformerImpl._isUpgradeRequest(request); - } -}; -(_http.WebSocketTransformer[dart.mixinNew] = function() { -}).prototype = _http.WebSocketTransformer.prototype; -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 { - get pingInterval() { - return this[pingInterval]; - } - set pingInterval(value) { - this[pingInterval] = value; - } - static connect(url, opts) { - 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[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], 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"); - 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; - } - static set userAgent(userAgent) { - _http._WebSocketImpl.userAgent = userAgent; - } -}; -(_http.WebSocket.new = function() { - this[pingInterval] = null; - ; -}).prototype = _http.WebSocket.prototype; -_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; - }, - /*_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"); -_http.WebSocketException = class WebSocketException extends core.Object { - get message() { - return this[message$19]; - } - 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], 411, 34, "message"); - this[message$19] = message; - ; -}).prototype = _http.WebSocketException.prototype; -dart.addTypeTests(_http.WebSocketException); -dart.addTypeCaches(_http.WebSocketException); -_http.WebSocketException[dart.implements] = () => [io.IOException]; -dart.setLibraryUri(_http.WebSocketException, I[177]); -dart.setFieldSignature(_http.WebSocketException, () => ({ - __proto__: dart.getFields(_http.WebSocketException.__proto__), - message: dart.finalFieldType(core.String) -})); -dart.defineExtensionMethods(_http.WebSocketException, ['toString']); -_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; - }, - /*_http._WebSocketMessageType.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketMessageType.BINARY*/get BINARY() { - return 2; - } -}, false); -_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; - }, - /*_http._WebSocketOpcode.TEXT*/get TEXT() { - return 1; - }, - /*_http._WebSocketOpcode.BINARY*/get BINARY() { - return 2; - }, - /*_http._WebSocketOpcode.RESERVED_3*/get RESERVED_3() { - return 3; - }, - /*_http._WebSocketOpcode.RESERVED_4*/get RESERVED_4() { - return 4; - }, - /*_http._WebSocketOpcode.RESERVED_5*/get RESERVED_5() { - return 5; - }, - /*_http._WebSocketOpcode.RESERVED_6*/get RESERVED_6() { - return 6; - }, - /*_http._WebSocketOpcode.RESERVED_7*/get RESERVED_7() { - return 7; - }, - /*_http._WebSocketOpcode.CLOSE*/get CLOSE() { - return 8; - }, - /*_http._WebSocketOpcode.PING*/get PING() { - return 9; - }, - /*_http._WebSocketOpcode.PONG*/get PONG() { - return 10; - }, - /*_http._WebSocketOpcode.RESERVED_B*/get RESERVED_B() { - return 11; - }, - /*_http._WebSocketOpcode.RESERVED_C*/get RESERVED_C() { - return 12; - }, - /*_http._WebSocketOpcode.RESERVED_D*/get RESERVED_D() { - return 13; - }, - /*_http._WebSocketOpcode.RESERVED_E*/get RESERVED_E() { - return 14; - }, - /*_http._WebSocketOpcode.RESERVED_F*/get RESERVED_F() { - return 15; - } -}, false); -_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; - ; -}).prototype = _http._EncodedString.prototype; -dart.addTypeTests(_http._EncodedString); -dart.addTypeCaches(_http._EncodedString); -dart.setLibraryUri(_http._EncodedString, I[177]); -dart.setFieldSignature(_http._EncodedString, () => ({ - __proto__: dart.getFields(_http._EncodedString.__proto__), - 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], 50, 34, "headerValue"); - if (maxWindowBits == null) dart.nullFailed(I[186], 50, 52, "maxWindowBits"); - this.headerValue = headerValue; - this.maxWindowBits = maxWindowBits; - ; -}).prototype = _http._CompressionMaxWindowBits.prototype; -dart.addTypeTests(_http._CompressionMaxWindowBits); -dart.addTypeCaches(_http._CompressionMaxWindowBits); -dart.setLibraryUri(_http._CompressionMaxWindowBits, I[177]); -dart.setFieldSignature(_http._CompressionMaxWindowBits, () => ({ - __proto__: dart.getFields(_http._CompressionMaxWindowBits.__proto__), - headerValue: dart.fieldType(core.String), - 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"); -var _len = dart.privateName(_http, "_len"); -var _masked = dart.privateName(_http, "_masked"); -var _remainingLenBytes = dart.privateName(_http, "_remainingLenBytes"); -var _remainingMaskingKeyBytes = dart.privateName(_http, "_remainingMaskingKeyBytes"); -var _remainingPayloadBytes = dart.privateName(_http, "_remainingPayloadBytes"); -var _unmaskingIndex = dart.privateName(_http, "_unmaskingIndex"); -var _currentMessageType = dart.privateName(_http, "_currentMessageType"); -var _eventSink$ = dart.privateName(_http, "_eventSink"); -var _maskingBytes = dart.privateName(_http, "_maskingBytes"); -var _payload = dart.privateName(_http, "_payload"); -var _serverSide$ = dart.privateName(_http, "_serverSide"); -var _deflate$ = dart.privateName(_http, "_deflate"); -var _isControlFrame = dart.privateName(_http, "_isControlFrame"); -var _lengthDone = dart.privateName(_http, "_lengthDone"); -var _maskDone = dart.privateName(_http, "_maskDone"); -var _unmask = dart.privateName(_http, "_unmask"); -var _controlFrameEnd = dart.privateName(_http, "_controlFrameEnd"); -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], 101, 25, "stream"); - return async.Stream.eventTransformed(stream, dart.fn(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$1.EventSinkTo_WebSocketProtocolTransformer())); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 111, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - dart.nullCheck(this[_eventSink$]).close(); - } - add(bytes) { - let t278; - T$0.ListOfint().as(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]; - if (this[_state$1] === 5) { - dart.throw(new _http.WebSocketException.new("Data on closed connection")); - } - if (this[_state$1] === 6) { - dart.throw(new _http.WebSocketException.new("Data on failed connection")); - } - while (index < dart.notNull(lastIndex) && this[_state$1] !== 5 && this[_state$1] !== 6) { - let byte = buffer[$_get](index); - if (dart.notNull(this[_state$1]) <= 2) { - if (this[_state$1] === 0) { - this[_fin] = (dart.notNull(byte) & 128) !== 0; - if ((dart.notNull(byte) & (32 | 16) >>> 0) !== 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_opcode] = (dart.notNull(byte) & 15) >>> 0; - if (this[_opcode] !== 0) { - if ((dart.notNull(byte) & 64) !== 0) { - this[_compressed] = true; - } else { - this[_compressed] = false; - } - } - if (dart.notNull(this[_opcode]) <= 2) { - if (this[_opcode] === 0) { - if (this[_currentMessageType] === 0) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - } else { - 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")); - } - this[_currentMessageType] = this[_opcode]; - } - } else if (dart.notNull(this[_opcode]) >= 8 && dart.notNull(this[_opcode]) <= 10) { - if (!dart.test(this[_fin])) dart.throw(new _http.WebSocketException.new("Protocol error")); - } else { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - this[_state$1] = 1; - } else if (this[_state$1] === 1) { - this[_masked] = (dart.notNull(byte) & 128) !== 0; - this[_len] = dart.notNull(byte) & 127; - if (dart.test(this[_isControlFrame]()) && dart.notNull(this[_len]) > 125) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_len] === 126) { - this[_len] = 0; - this[_remainingLenBytes] = 2; - this[_state$1] = 2; - } else if (this[_len] === 127) { - this[_len] = 0; - this[_remainingLenBytes] = 8; - this[_state$1] = 2; - } else { - 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], 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) { - this[_lengthDone](); - } - } - } else { - if (this[_state$1] === 3) { - 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], 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])) { - this[_unmask](index, payloadLength, buffer); - } - this[_payload].add(typed_data.Uint8List.view(buffer[$buffer], dart.notNull(buffer[$offsetInBytes]) + index, payloadLength)); - index = index + payloadLength; - if (dart.test(this[_isControlFrame]())) { - if (this[_remainingPayloadBytes] === 0) this[_controlFrameEnd](); - } else { - if (this[_currentMessageType] !== 1 && this[_currentMessageType] !== 2) { - dart.throw(new _http.WebSocketException.new("Protocol error")); - } - if (this[_remainingPayloadBytes] === 0) this[_messageFrameEnd](); - } - index = index - 1; - } - } - index = index + 1; - } - } - [_unmask](index, length, 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) { - 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; - let blockCount = (dart.notNull(length) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(this[_maskingBytes][$_get](dart.notNull(this[_unmaskingIndex]) + i & 3))) >>> 0; - } - 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) { - t278$ = blockBuffer; - t279$ = i; - t278$[$_set](t279$, t278$[$_get](t279$)['^'](blockMask)); - } - let bytes = blockCount * 16; - index = dart.notNull(index) + bytes; - length = dart.notNull(length) - bytes; - } - } - let end = dart.notNull(index) + dart.notNull(length); - for (let i = index; dart.notNull(i) < end; i = dart.notNull(i) + 1) { - 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]() { - if (dart.test(this[_masked])) { - if (!dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received masked frame from server")); - } - this[_state$1] = 3; - } else { - if (dart.test(this[_serverSide$])) { - dart.throw(new _http.WebSocketException.new("Received unmasked frame from client")); - } - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - } - [_maskDone]() { - this[_remainingPayloadBytes] = this[_len]; - this[_startPayload](); - } - [_startPayload]() { - if (this[_remainingPayloadBytes] === 0) { - if (dart.test(this[_isControlFrame]())) { - switch (this[_opcode]) { - case 8: - { - this[_state$1] = 5; - dart.nullCheck(this[_eventSink$]).close(); - break; - } - case 9: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPing.new()); - break; - } - case 10: - { - dart.nullCheck(this[_eventSink$]).add(new _http._WebSocketPong.new()); - break; - } - } - this[_prepareForNextFrame](); - } else { - this[_messageFrameEnd](); - } - } else { - this[_state$1] = 4; - } - } - [_messageFrameEnd]() { - if (dart.test(this[_fin])) { - let bytes = this[_payload].takeBytes(); - let deflate = this[_deflate$]; - if (deflate != null && dart.test(this[_compressed])) { - bytes = deflate.processIncomingMessage(bytes); - } - switch (this[_currentMessageType]) { - case 1: - { - dart.nullCheck(this[_eventSink$]).add(convert.utf8.decode(bytes)); - break; - } - case 2: - { - dart.nullCheck(this[_eventSink$]).add(bytes); - break; - } - } - this[_currentMessageType] = 0; - } - this[_prepareForNextFrame](); - } - [_controlFrameEnd]() { - switch (this[_opcode]) { - case 8: - { - 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; - } - case 9: - { - 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; - } - } - this[_prepareForNextFrame](); - } - [_isControlFrame]() { - return this[_opcode] === 8 || this[_opcode] === 9 || this[_opcode] === 10; - } - [_prepareForNextFrame]() { - if (this[_state$1] !== 5 && this[_state$1] !== 6) this[_state$1] = 0; - this[_fin] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - } -}; -(_http._WebSocketProtocolTransformer.new = function(_serverSide = false, _deflate = null) { - if (_serverSide == null) dart.nullFailed(I[186], 98, 39, "_serverSide"); - this[_state$1] = 0; - this[_fin] = false; - this[_compressed] = false; - this[_opcode] = -1; - this[_len] = -1; - this[_masked] = false; - this[_remainingLenBytes] = -1; - this[_remainingMaskingKeyBytes] = 4; - this[_remainingPayloadBytes] = -1; - this[_unmaskingIndex] = 0; - this[_currentMessageType] = 0; - this[closeCode] = 1005; - this[closeReason] = ""; - this[_eventSink$] = null; - this[_maskingBytes] = _native_typed_data.NativeUint8List.new(4); - this[_payload] = _internal.BytesBuilder.new({copy: false}); - this[_serverSide$] = _serverSide; - this[_deflate$] = _deflate; - _http._WebSocketProtocolTransformer.__proto__.new.call(this); - ; -}).prototype = _http._WebSocketProtocolTransformer.prototype; -dart.addTypeTests(_http._WebSocketProtocolTransformer); -dart.addTypeCaches(_http._WebSocketProtocolTransformer); -_http._WebSocketProtocolTransformer[dart.implements] = () => [async.EventSink$(core.List$(core.int))]; -dart.setMethodSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketProtocolTransformer.__proto__), - bind: dart.fnType(async.Stream, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - close: dart.fnType(dart.void, []), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - [_unmask]: dart.fnType(dart.void, [core.int, core.int, typed_data.Uint8List]), - [_lengthDone]: dart.fnType(dart.void, []), - [_maskDone]: dart.fnType(dart.void, []), - [_startPayload]: dart.fnType(dart.void, []), - [_messageFrameEnd]: dart.fnType(dart.void, []), - [_controlFrameEnd]: dart.fnType(dart.void, []), - [_isControlFrame]: dart.fnType(core.bool, []), - [_prepareForNextFrame]: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._WebSocketProtocolTransformer, I[177]); -dart.setFieldSignature(_http._WebSocketProtocolTransformer, () => ({ - __proto__: dart.getFields(_http._WebSocketProtocolTransformer.__proto__), - [_state$1]: dart.fieldType(core.int), - [_fin]: dart.fieldType(core.bool), - [_compressed]: dart.fieldType(core.bool), - [_opcode]: dart.fieldType(core.int), - [_len]: dart.fieldType(core.int), - [_masked]: dart.fieldType(core.bool), - [_remainingLenBytes]: dart.fieldType(core.int), - [_remainingMaskingKeyBytes]: dart.fieldType(core.int), - [_remainingPayloadBytes]: dart.fieldType(core.int), - [_unmaskingIndex]: dart.fieldType(core.int), - [_currentMessageType]: dart.fieldType(core.int), - closeCode: dart.fieldType(core.int), - closeReason: dart.fieldType(core.String), - [_eventSink$]: dart.fieldType(dart.nullable(async.EventSink)), - [_serverSide$]: dart.finalFieldType(core.bool), - [_maskingBytes]: dart.finalFieldType(typed_data.Uint8List), - [_payload]: dart.finalFieldType(_internal.BytesBuilder), - [_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; - }, - /*_http._WebSocketProtocolTransformer.LEN_FIRST*/get LEN_FIRST() { - return 1; - }, - /*_http._WebSocketProtocolTransformer.LEN_REST*/get LEN_REST() { - return 2; - }, - /*_http._WebSocketProtocolTransformer.MASK*/get MASK() { - return 3; - }, - /*_http._WebSocketProtocolTransformer.PAYLOAD*/get PAYLOAD() { - return 4; - }, - /*_http._WebSocketProtocolTransformer.CLOSED*/get CLOSED() { - return 5; - }, - /*_http._WebSocketProtocolTransformer.FAILURE*/get FAILURE() { - return 6; - }, - /*_http._WebSocketProtocolTransformer.FIN*/get FIN() { - return 128; - }, - /*_http._WebSocketProtocolTransformer.RSV1*/get RSV1() { - return 64; - }, - /*_http._WebSocketProtocolTransformer.RSV2*/get RSV2() { - return 32; - }, - /*_http._WebSocketProtocolTransformer.RSV3*/get RSV3() { - return 16; - }, - /*_http._WebSocketProtocolTransformer.OPCODE*/get OPCODE() { - return 15; - } -}, false); -_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; - ; -}).prototype = _http._WebSocketPing.prototype; -dart.addTypeTests(_http._WebSocketPing); -dart.addTypeCaches(_http._WebSocketPing); -dart.setLibraryUri(_http._WebSocketPing, I[177]); -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 { - static ['_#new#tearOff'](payload = null) { - return new _http._WebSocketPong.new(payload); - } -}; -(_http._WebSocketPong.new = function(payload = null) { - this.payload = payload; - ; -}).prototype = _http._WebSocketPong.prototype; -dart.addTypeTests(_http._WebSocketPong); -dart.addTypeCaches(_http._WebSocketPong); -dart.setLibraryUri(_http._WebSocketPong, I[177]); -dart.setFieldSignature(_http._WebSocketPong, () => ({ - __proto__: dart.getFields(_http._WebSocketPong.__proto__), - payload: dart.finalFieldType(dart.nullable(core.List$(core.int))) -})); -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$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], 417, 20, "request"); - _http._WebSocketTransformerImpl._upgrade(request, this[_protocolSelector$], this[_compression$]).then(dart.void, dart.fn(webSocket => { - if (webSocket == null) dart.nullFailed(I[186], 419, 28, "webSocket"); - return this[_controller$0].add(webSocket); - }, 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], 428, 50, "headerValue"); - let tokens = T$.JSArrayOfString().of([]); - let start = 0; - let index = 0; - while (index < headerValue.length) { - if (headerValue[$_get](index) === ",") { - tokens[$add](headerValue[$substring](start, index)); - start = index + 1; - } else if (headerValue[$_get](index) === " " || headerValue[$_get](index) === "\t") { - start = start + 1; - } - index = index + 1; - } - tokens[$add](headerValue[$substring](start, index)); - return tokens; - } - static _upgrade(request, protocolSelector, 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))) { - t278 = response; - (() => { - t278.statusCode = 400; - t278.close(); - return t278; - })(); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new("Invalid WebSocket upgrade request")); - } - function upgrade(protocol) { - let t278; - t278 = response; - (() => { - 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 = convert.base64Encode(sha1.close()); - response.headers.add("Sec-WebSocket-Accept", accept); - if (protocol != null) { - response.headers.add("Sec-WebSocket-Protocol", protocol); - } - 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], 475, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, true, deflate); - }, T$1.SocketTo_WebSocketImpl())); - } - 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$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 t278; - t278 = response; - (() => { - t278.statusCode = 500; - t278.close(); - return t278; - })(); - dart.throw(error); - }, T$0.dynamicToNever())).then(_http.WebSocket, upgrade); - } else { - return upgrade(null); - } - } - static _negotiateCompression(request, response, 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: ","}); - if (dart.test(compression.enabled) && hv.value === "permessage-deflate") { - let info = compression[_createHeader](hv); - response.headers.add("Sec-WebSocket-Extensions", info.headerValue); - let serverNoContextTakeover = dart.test(hv.parameters[$containsKey]("server_no_context_takeover")) && dart.test(compression.serverNoContextTakeover); - let clientNoContextTakeover = dart.test(hv.parameters[$containsKey]("client_no_context_takeover")) && dart.test(compression.clientNoContextTakeover); - let deflate = new _http._WebSocketPerMessageDeflate.new({serverNoContextTakeover: serverNoContextTakeover, clientNoContextTakeover: clientNoContextTakeover, serverMaxWindowBits: info.maxWindowBits, clientMaxWindowBits: info.maxWindowBits, serverSide: true}); - return deflate; - } - return null; - } - static _isUpgradeRequest(request) { - if (request == null) dart.nullFailed(I[186], 534, 45, "request"); - if (request.method !== "GET") { - return false; - } - let connectionHeader = request.headers._get("connection"); - if (connectionHeader == null) { - return false; - } - let isUpgrade = false; - for (let value of connectionHeader) { - if (value[$toLowerCase]() === "upgrade") { - isUpgrade = true; - break; - } - } - if (!isUpgrade) return false; - let upgrade = request.headers.value("upgrade"); - if (upgrade == null || upgrade[$toLowerCase]() !== "websocket") { - return false; - } - let version = request.headers.value("Sec-WebSocket-Version"); - if (version == null || version !== "13") { - return false; - } - let key = request.headers.value("Sec-WebSocket-Key"); - if (key == null) { - return false; - } - return true; - } -}; -(_http._WebSocketTransformerImpl.new = function(_protocolSelector, _compression) { - 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); - ; -}).prototype = _http._WebSocketTransformerImpl.prototype; -dart.addTypeTests(_http._WebSocketTransformerImpl); -dart.addTypeCaches(_http._WebSocketTransformerImpl); -_http._WebSocketTransformerImpl[dart.implements] = () => [_http.WebSocketTransformer]; -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__), - [_controller$0]: dart.finalFieldType(async.StreamController$(_http.WebSocket)), - [_protocolSelector$]: dart.finalFieldType(dart.nullable(dart.fnType(dart.dynamic, [core.List$(core.String)]))), - [_compression$]: dart.finalFieldType(_http.CompressionOptions) -})); -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 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 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], 591, 46, "msg"); - let decoder = this[_ensureDecoder](); - let data = T$.JSArrayOfint().of([]); - data[$addAll](msg); - data[$addAll](C[502] || CT.C502); - decoder.process(data, 0, data[$length]); - let result = _internal.BytesBuilder.new(); - while (true) { - let out = decoder.processed(); - if (out == null) break; - result.add(out); - } - if (dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || !dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.decoder = null; - } - return result.takeBytes(); - } - processOutgoingMessage(msg) { - if (msg == null) dart.nullFailed(I[186], 615, 46, "msg"); - let encoder = this[_ensureEncoder](); - let result = T$.JSArrayOfint().of([]); - let buffer = null; - if (!typed_data.Uint8List.is(msg)) { - for (let i = 0; i < dart.notNull(msg[$length]); i = i + 1) { - if (dart.notNull(msg[$_get](i)) < 0 || 255 < dart.notNull(msg[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(msg[$_get](i)) + " at index " + dart.str(i) + ")")); - } - } - buffer = _native_typed_data.NativeUint8List.fromList(msg); - } else { - buffer = msg; - } - encoder.process(buffer, 0, buffer[$length]); - while (true) { - let out = encoder.processed(); - if (out == null) break; - result[$addAll](out); - } - if (!dart.test(this.serverSide) && dart.test(this.clientNoContextTakeover) || dart.test(this.serverSide) && dart.test(this.serverNoContextTakeover)) { - this.encoder = null; - } - if (dart.notNull(result[$length]) > 4) { - result = result[$sublist](0, dart.notNull(result[$length]) - 4); - } - if (dart.test(result[$isEmpty])) { - return T$.JSArrayOfint().of([0]); - } - return result; - } -}; -(_http._WebSocketPerMessageDeflate.new = function(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"); - this.decoder = null; - this.encoder = null; - this.clientMaxWindowBits = clientMaxWindowBits; - this.serverMaxWindowBits = serverMaxWindowBits; - this.serverNoContextTakeover = serverNoContextTakeover; - this.clientNoContextTakeover = clientNoContextTakeover; - this.serverSide = serverSide; - ; -}).prototype = _http._WebSocketPerMessageDeflate.prototype; -dart.addTypeTests(_http._WebSocketPerMessageDeflate); -dart.addTypeCaches(_http._WebSocketPerMessageDeflate); -dart.setMethodSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getMethods(_http._WebSocketPerMessageDeflate.__proto__), - [_ensureDecoder]: dart.fnType(io.RawZLibFilter, []), - [_ensureEncoder]: dart.fnType(io.RawZLibFilter, []), - processIncomingMessage: dart.fnType(typed_data.Uint8List, [core.List$(core.int)]), - processOutgoingMessage: dart.fnType(core.List$(core.int), [core.List$(core.int)]) -})); -dart.setLibraryUri(_http._WebSocketPerMessageDeflate, I[177]); -dart.setFieldSignature(_http._WebSocketPerMessageDeflate, () => ({ - __proto__: dart.getFields(_http._WebSocketPerMessageDeflate.__proto__), - serverNoContextTakeover: dart.fieldType(core.bool), - clientNoContextTakeover: dart.fieldType(core.bool), - clientMaxWindowBits: dart.fieldType(core.int), - serverMaxWindowBits: dart.fieldType(core.int), - serverSide: dart.fieldType(core.bool), - decoder: dart.fieldType(dart.nullable(io.RawZLibFilter)), - encoder: dart.fieldType(dart.nullable(io.RawZLibFilter)) -})); -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], 673, 33, "stream"); - return T$0.StreamOfListOfint().eventTransformed(stream, dart.fn(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$1.EventSinkOfListOfintTo_WebSocketOutgoingTransformer())); - } - add(message) { - if (_http._WebSocketPong.is(message)) { - this.addFrame(10, message.payload); - return; - } - if (_http._WebSocketPing.is(message)) { - this.addFrame(9, message.payload); - return; - } - let data = null; - let opcode = null; - if (message != null) { - let messageData = null; - if (typeof message == 'string') { - opcode = 1; - messageData = convert.utf8.encode(message); - } else if (T$0.ListOfint().is(message)) { - opcode = 2; - messageData = message; - } else if (_http._EncodedString.is(message)) { - opcode = 1; - messageData = message.bytes; - } else { - dart.throw(new core.ArgumentError.new(message)); - } - let deflateHelper = this[_deflateHelper]; - if (deflateHelper != null) { - messageData = deflateHelper.processOutgoingMessage(messageData); - } - data = messageData; - } else { - opcode = 1; - } - this.addFrame(opcode, data); - } - addError(error, stackTrace = null) { - if (error == null) dart.nullFailed(I[186], 720, 24, "error"); - core.ArgumentError.checkNotNull(core.Object, error, "error"); - dart.nullCheck(this[_eventSink$]).addError(error, stackTrace); - } - close() { - let code = this.webSocket[_outCloseCode]; - let reason = this.webSocket[_outCloseReason]; - let data = null; - if (code != null) { - data = (() => { - 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], 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], 749, 19, "e"); - dart.nullCheck(this[_eventSink$]).add(e); - }, T$0.ListOfintTovoid())); - } - static createFrame(opcode, data, serverSide, 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; - if (dart.notNull(dataLength) > 65535) { - headerSize = headerSize + 8; - } else if (dart.notNull(dataLength) > 125) { - headerSize = headerSize + 2; - } - 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]((t279 = index, index = t279 + 1, t279), hoc); - let lengthBytes = 1; - if (dart.notNull(dataLength) > 65535) { - header[$_set]((t279$ = index, index = t279$ + 1, t279$), 127); - lengthBytes = 8; - } else if (dart.notNull(dataLength) > 125) { - 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]((t279$1 = index, index = t279$1 + 1, t279$1), dataLength[$rightShift]((lengthBytes - 1 - i) * 8) & 255); - } - if (mask) { - 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; - if (data != null) { - let list = null; - if (opcode === 1 && typed_data.Uint8List.is(data)) { - list = data; - } else { - if (typed_data.Uint8List.is(data)) { - list = _native_typed_data.NativeUint8List.fromList(data); - } else { - list = _native_typed_data.NativeUint8List.new(data[$length]); - for (let i = 0; i < dart.notNull(data[$length]); i = i + 1) { - if (dart.notNull(data[$_get](i)) < 0 || 255 < dart.notNull(data[$_get](i))) { - dart.throw(new core.ArgumentError.new("List element is not a byte value " + "(value " + dart.str(data[$_get](i)) + " at index " + dart.str(i) + ")")); - } - list[$_set](i, data[$_get](i)); - } - } - } - let blockCount = (dart.notNull(list[$length]) / 16)[$truncate](); - if (blockCount > 0) { - let mask = 0; - for (let i = 3; i >= 0; i = i - 1) { - mask = (mask << 8 | dart.notNull(maskBytes[$_get](i))) >>> 0; - } - 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) { - 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) { - 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], 834, 12, "index == headerSize"); - if (data == null) { - return T$0.JSArrayOfListOfint().of([header]); - } else { - return T$0.JSArrayOfListOfint().of([header, data]); - } - } -}; -(_http._WebSocketOutgoingTransformer.new = function(webSocket) { - if (webSocket == null) dart.nullFailed(I[186], 670, 38, "webSocket"); - this[_eventSink$] = null; - this.webSocket = webSocket; - this[_deflateHelper] = webSocket[_deflate$]; - _http._WebSocketOutgoingTransformer.__proto__.new.call(this); - ; -}).prototype = _http._WebSocketOutgoingTransformer.prototype; -dart.addTypeTests(_http._WebSocketOutgoingTransformer); -dart.addTypeCaches(_http._WebSocketOutgoingTransformer); -_http._WebSocketOutgoingTransformer[dart.implements] = () => [async.EventSink]; -dart.setMethodSignature(_http._WebSocketOutgoingTransformer, () => ({ - __proto__: dart.getMethods(_http._WebSocketOutgoingTransformer.__proto__), - bind: dart.fnType(async.Stream$(core.List$(core.int)), [dart.nullable(core.Object)]), - add: dart.fnType(dart.void, [dart.nullable(core.Object)]), - addError: dart.fnType(dart.void, [core.Object], [dart.nullable(core.StackTrace)]), - 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.finalFieldType(dart.nullable(_http._WebSocketPerMessageDeflate)) -})); -var _issuedPause = dart.privateName(_http, "_issuedPause"); -var _closed$ = dart.privateName(_http, "_closed"); -var _closeCompleter$ = dart.privateName(_http, "_closeCompleter"); -var _completer = dart.privateName(_http, "_completer"); -var _onListen = dart.privateName(_http, "_onListen"); -var _onPause$ = dart.privateName(_http, "_onPause"); -var _onResume$ = dart.privateName(_http, "_onResume"); -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 t279; - t279 = this[_subscription$0]; - t279 == null ? null : t279.cancel(); - } - [_onPause$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.pause(); - } else { - this[_issuedPause] = true; - } - } - [_onResume$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - subscription.resume(); - } else { - this[_issuedPause] = false; - } - } - [_cancel$]() { - let subscription = this[_subscription$0]; - if (subscription != null) { - this[_subscription$0] = null; - subscription.cancel(); - } - } - [_ensureController]() { - let controller = this[_controller$0]; - if (controller != null) return controller; - controller = this[_controller$0] = async.StreamController.new({sync: true, onPause: dart.bind(this, _onPause$), onResume: dart.bind(this, _onResume$), onCancel: dart.bind(this, _onListen)}); - let stream = controller.stream.transform(T$0.ListOfint(), new _http._WebSocketOutgoingTransformer.new(this.webSocket)); - this.socket.addStream(stream).then(core.Null, dart.fn(_ => { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - }, T$.dynamicToNull()), {onError: dart.fn((error, 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)) { - if (!dart.test(this[_done](error, stackTrace))) { - this[_closeCompleter$].completeError(error, stackTrace); - } - } else { - this[_done](); - this[_closeCompleter$].complete(this.webSocket); - } - }, T$.ObjectAndStackTraceToNull())}); - return controller; - } - [_done](error = null, stackTrace = null) { - let completer = this[_completer]; - if (completer == null) return false; - if (error != null) { - completer.completeError(error, stackTrace); - } else { - completer.complete(this.webSocket); - } - this[_completer] = null; - return true; - } - addStream(stream) { - async.Stream.as(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); - } - this[_ensureController](); - let completer = this[_completer] = async.Completer.new(); - let subscription = this[_subscription$0] = stream.listen(dart.fn(data => { - dart.nullCheck(this[_controller$0]).add(data); - }, T$.dynamicTovoid()), {onDone: dart.bind(this, _done), onError: dart.bind(this, _done), cancelOnError: true}); - if (dart.test(this[_issuedPause])) { - subscription.pause(); - this[_issuedPause] = false; - } - return completer.future; - } - 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$1.dynamicTo_WebSocketImpl())), T$.dynamicToFuture())); - } - add(data) { - if (dart.test(this[_closed$])) return; - let controller = this[_ensureController](); - if (dart.test(controller.isClosed)) return; - controller.add(data); - } - closeSocket() { - this[_closed$] = true; - this[_cancel$](); - this.close(); - } -}; -(_http._WebSocketConsumer.new = function(webSocket, 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$1.CompleterOfWebSocket().new(); - this[_completer] = null; - this.webSocket = webSocket; - this.socket = socket; - ; -}).prototype = _http._WebSocketConsumer.prototype; -dart.addTypeTests(_http._WebSocketConsumer); -dart.addTypeCaches(_http._WebSocketConsumer); -_http._WebSocketConsumer[dart.implements] = () => [async.StreamConsumer]; -dart.setMethodSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getMethods(_http._WebSocketConsumer.__proto__), - [_onListen]: dart.fnType(dart.void, []), - [_onPause$]: dart.fnType(dart.void, []), - [_onResume$]: dart.fnType(dart.void, []), - [_cancel$]: dart.fnType(dart.void, []), - [_ensureController]: dart.fnType(async.StreamController, []), - [_done]: dart.fnType(core.bool, [], [dart.nullable(core.Object), dart.nullable(core.StackTrace)]), - addStream: dart.fnType(async.Future, [dart.nullable(core.Object)]), - close: dart.fnType(async.Future, []), - add: dart.fnType(dart.void, [dart.dynamic]), - closeSocket: dart.fnType(dart.void, []) -})); -dart.setLibraryUri(_http._WebSocketConsumer, I[177]); -dart.setFieldSignature(_http._WebSocketConsumer, () => ({ - __proto__: dart.getFields(_http._WebSocketConsumer.__proto__), - webSocket: dart.finalFieldType(_http._WebSocketImpl), - socket: dart.finalFieldType(io.Socket), - [_controller$0]: dart.fieldType(dart.nullable(async.StreamController)), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [_issuedPause]: dart.fieldType(core.bool), - [_closed$]: dart.fieldType(core.bool), - [_closeCompleter$]: dart.finalFieldType(async.Completer), - [_completer]: dart.fieldType(dart.nullable(async.Completer)) -})); -var ___WebSocketImpl__sink = dart.privateName(_http, "_#_WebSocketImpl#_sink"); -var ___WebSocketImpl__sink_isSet = dart.privateName(_http, "_#_WebSocketImpl#_sink#isSet"); -var _readyState = dart.privateName(_http, "_readyState"); -var _writeClosed = dart.privateName(_http, "_writeClosed"); -var _closeCode = dart.privateName(_http, "_closeCode"); -var _closeReason = dart.privateName(_http, "_closeReason"); -var _pingInterval = dart.privateName(_http, "_pingInterval"); -var _pingTimer = dart.privateName(_http, "_pingTimer"); -var ___WebSocketImpl__consumer = dart.privateName(_http, "_#_WebSocketImpl#_consumer"); -var ___WebSocketImpl__consumer_isSet = dart.privateName(_http, "_#_WebSocketImpl#_consumer#isSet"); -var _closeTimer = dart.privateName(_http, "_closeTimer"); -var _consumer = dart.privateName(_http, "_consumer"); -var _sink = dart.privateName(_http, "_sink"); -var _close$0 = dart.privateName(_http, "_close"); -const Stream__ServiceObject$36$ = class Stream__ServiceObject extends async.Stream {}; -(Stream__ServiceObject$36$.new = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__.new.call(this); -}).prototype = Stream__ServiceObject$36$.prototype; -(Stream__ServiceObject$36$._internal = function() { - _http._ServiceObject.new.call(this); - Stream__ServiceObject$36$.__proto__._internal.call(this); -}).prototype = Stream__ServiceObject$36$.prototype; -dart.applyMixin(Stream__ServiceObject$36$, _http._ServiceObject); -_http._WebSocketImpl = class _WebSocketImpl extends Stream__ServiceObject$36$ { - get [_sink]() { - let t279; - return dart.test(this[___WebSocketImpl__sink_isSet]) ? (t279 = this[___WebSocketImpl__sink], t279) : dart.throw(new _internal.LateError.fieldNI("_sink")); - } - set [_sink](_sink$35param) { - if (_sink$35param == null) dart.nullFailed(I[186], 975, 19, "_sink#param"); - this[___WebSocketImpl__sink_isSet] = true; - this[___WebSocketImpl__sink] = _sink$35param; - } - get [_consumer]() { - let t279; - return dart.test(this[___WebSocketImpl__consumer_isSet]) ? (t279 = this[___WebSocketImpl__consumer], t279) : dart.throw(new _internal.LateError.fieldNI("_consumer")); - } - set [_consumer](_consumer$35param) { - if (_consumer$35param == null) dart.nullFailed(I[186], 985, 27, "_consumer#param"); - this[___WebSocketImpl__consumer_isSet] = true; - this[___WebSocketImpl__consumer] = _consumer$35param; - } - static connect(url, protocols, headers, opts) { - 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 (!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(); - let nonceData = _native_typed_data.NativeUint8List.new(16); - for (let i = 0; i < 16; i = i + 1) { - nonceData[$_set](i, random.nextInt(256)); - } - 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], 1029, 26, "field"); - return request.headers.add(field, core.Object.as(value)); - }, T$0.StringAnddynamicTovoid())); - } - t279 = request.headers; - (() => { - 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]()); - } - if (dart.test(compression.enabled)) { - request.headers.add("Sec-WebSocket-Extensions", compression[_createHeader]()); - } - return request.close(); - }, 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], 1049, 38, "message"); - response.detachSocket().then(core.Null, dart.fn(socket => { - if (socket == null) dart.nullFailed(I[186], 1051, 39, "socket"); - socket.destroy(); - }, T$1.SocketToNull())); - return T$1.FutureOfWebSocket().error(new _http.WebSocketException.new(message), callerStackTrace); - } - 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], 1061, 34, "value"); - return value[$toLowerCase]() === "upgrade"; - }, T$.StringTobool()))) || dart.nullCheck(response.headers.value("upgrade"))[$toLowerCase]() !== "websocket") { - return error("Connection to '" + dart.str(uri) + "' was not upgraded to websocket"); - } - let accept = response.headers.value("Sec-WebSocket-Accept"); - if (accept == null) { - 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 = convert.base64Decode(accept); - if (expectedAccept[$length] != receivedAccept[$length]) { - 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)) { - 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], 1089, 55, "socket"); - return new _http._WebSocketImpl._fromSocket(socket, protocol, compression, false, deflate); - }, T$1.SocketTo_WebSocketImpl())); - }, T$1.HttpClientResponseToFutureOfWebSocket())); - } - static negotiateClientCompression(response, compression) { - 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 t279; - if (type == null) dart.nullFailed(I[186], 1108, 32, "type"); - let o = hv.parameters[$_get](type); - if (o == null) { - return 15; - } - 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; - let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : null; - return this[_controller$0].stream.listen(onData, {onError: onError, onDone: onDone, cancelOnError: cancelOnError}); - } - get pingInterval() { - return this[_pingInterval]; - } - set pingInterval(interval) { - let t279; - if (dart.test(this[_writeClosed])) return; - 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 t279; - t279 = this[_closeTimer]; - t279 == null ? null : t279.cancel(); - this[_close$0](1001); - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.VoidTovoid())); - }, T$.VoidTovoid())); - } - get readyState() { - return this[_readyState]; - } - get extensions() { - return ""; - } - get closeCode() { - return this[_closeCode]; - } - get closeReason() { - return this[_closeReason]; - } - add(data) { - this[_sink].add(data); - } - addUtf8Text(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], 1231, 24, "error"); - this[_sink].addError(error, stackTrace); - } - addStream(stream) { - async.Stream.as(stream); - if (stream == null) dart.nullFailed(I[186], 1235, 27, "stream"); - return this[_sink].addStream(stream); - } - get done() { - return this[_sink].done; - } - close(code = null, reason = null) { - if (dart.test(_http._WebSocketImpl._isReservedStatusCode(code))) { - dart.throw(new _http.WebSocketException.new("Reserved status code " + dart.str(code))); - } - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - 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$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(); - } - static get userAgent() { - return _http._WebSocketImpl._httpClient.userAgent; - } - static set userAgent(userAgent) { - _http._WebSocketImpl._httpClient.userAgent = userAgent; - } - [_close$0](code = null, reason = null) { - if (dart.test(this[_writeClosed])) return; - if (this[_outCloseCode] == null) { - this[_outCloseCode] = code; - this[_outCloseReason] = reason; - } - this[_writeClosed] = true; - this[_consumer].closeSocket(); - _http._WebSocketImpl._webSockets[$remove](this[_serviceId$]); - } - get [_serviceTypePath$]() { - return "io/websockets"; - } - get [_serviceTypeName$]() { - return "WebSocket"; - } - 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 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; - this[_readyState] = 0; - this[_writeClosed] = false; - this[_closeCode] = null; - this[_closeReason] = null; - this[_pingInterval] = null; - this[_pingTimer] = null; - this[___WebSocketImpl__consumer] = null; - this[___WebSocketImpl__consumer_isSet] = false; - this[_outCloseCode] = null; - this[_outCloseReason] = null; - this[_closeTimer] = null; - this[_deflate$] = null; - this[_socket$0] = _socket; - this.protocol = protocol; - this[_serverSide$] = _serverSide; - this[_controller$0] = async.StreamController.new({sync: true}); - _http._WebSocketImpl.__proto__.new.call(this); - this[_consumer] = new _http._WebSocketConsumer.new(this, this[_socket$0]); - this[_sink] = new _http._StreamSinkImpl.new(this[_consumer]); - this[_readyState] = 1; - this[_deflate$] = deflate; - let transformer = new _http._WebSocketProtocolTransformer.new(this[_serverSide$], deflate); - let subscription = this[_subscription$0] = transformer.bind(this[_socket$0]).listen(dart.fn(data => { - if (_http._WebSocketPing.is(data)) { - if (!dart.test(this[_writeClosed])) this[_consumer].add(new _http._WebSocketPong.new(data.payload)); - } else if (_http._WebSocketPong.is(data)) { - this.pingInterval = this[_pingInterval]; - } else { - this[_controller$0].add(data); - } - }, T$.dynamicTovoid()), {onError: dart.fn((error, stackTrace) => { - 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 { - this[_close$0](1002); - } - this[_closeCode] = this[_outCloseCode]; - this[_closeReason] = this[_outCloseReason]; - this[_controller$0].close(); - }, T$.ObjectAndStackTraceToNull()), onDone: dart.fn(() => { - 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))) { - this[_close$0](transformer.closeCode, transformer.closeReason); - } else { - this[_close$0](); - } - this[_readyState] = 3; - } - this[_closeCode] = transformer.closeCode; - this[_closeReason] = transformer.closeReason; - this[_controller$0].close(); - }, T$.VoidTovoid()), cancelOnError: true}); - subscription.pause(); - t279 = this[_controller$0]; - (() => { - t279.onListen = dart.bind(subscription, 'resume'); - t279.onCancel = dart.fn(() => { - dart.nullCheck(this[_subscription$0]).cancel(); - this[_subscription$0] = null; - }, T$.VoidToNull()); - 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; -dart.addTypeTests(_http._WebSocketImpl); -dart.addTypeCaches(_http._WebSocketImpl); -_http._WebSocketImpl[dart.implements] = () => [_http.WebSocket]; -dart.setMethodSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getMethods(_http._WebSocketImpl.__proto__), - listen: dart.fnType(async.StreamSubscription, [dart.nullable(dart.fnType(dart.void, [dart.dynamic]))], {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)]), - addUtf8Text: dart.fnType(dart.void, [core.List$(core.int)]), - 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)]) -})); -dart.setStaticMethodSignature(_http._WebSocketImpl, () => ['connect', 'negotiateClientCompression', '_isReservedStatusCode']); -dart.setGetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getGetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_consumer]: _http._WebSocketConsumer, - pingInterval: dart.nullable(core.Duration), - readyState: core.int, - extensions: core.String, - closeCode: dart.nullable(core.int), - closeReason: dart.nullable(core.String), - done: async.Future, - [_serviceTypePath$]: core.String, - [_serviceTypeName$]: core.String -})); -dart.setSetterSignature(_http._WebSocketImpl, () => ({ - __proto__: dart.getSetters(_http._WebSocketImpl.__proto__), - [_sink]: async.StreamSink, - [_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__), - protocol: dart.finalFieldType(dart.nullable(core.String)), - [_controller$0]: dart.finalFieldType(async.StreamController), - [_subscription$0]: dart.fieldType(dart.nullable(async.StreamSubscription)), - [___WebSocketImpl__sink]: dart.fieldType(dart.nullable(async.StreamSink)), - [___WebSocketImpl__sink_isSet]: dart.fieldType(core.bool), - [_socket$0]: dart.finalFieldType(io.Socket), - [_serverSide$]: dart.finalFieldType(core.bool), - [_readyState]: dart.fieldType(core.int), - [_writeClosed]: dart.fieldType(core.bool), - [_closeCode]: dart.fieldType(dart.nullable(core.int)), - [_closeReason]: dart.fieldType(dart.nullable(core.String)), - [_pingInterval]: dart.fieldType(dart.nullable(core.Duration)), - [_pingTimer]: dart.fieldType(dart.nullable(async.Timer)), - [___WebSocketImpl__consumer]: dart.fieldType(dart.nullable(_http._WebSocketConsumer)), - [___WebSocketImpl__consumer_isSet]: dart.fieldType(core.bool), - [_outCloseCode]: dart.fieldType(dart.nullable(core.int)), - [_outCloseReason]: dart.fieldType(dart.nullable(core.String)), - [_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$1.IdentityMapOfint$_WebSocketImpl()).new(); - }, - /*_http._WebSocketImpl.DEFAULT_WINDOW_BITS*/get DEFAULT_WINDOW_BITS() { - return 15; - }, - /*_http._WebSocketImpl.PER_MESSAGE_DEFLATE*/get PER_MESSAGE_DEFLATE() { - return "permessage-deflate"; - }, - /*_http._WebSocketImpl._httpClient*/get _httpClient() { - return _http.HttpClient.new(); - } -}, false); -_http._getHttpVersion = function _getHttpVersion() { - let version = io.Platform.version; - let index = version[$indexOf](".", version[$indexOf](".") + 1); - 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; - }, - /*_http._MASK_32*/get _MASK_32() { - return 4294967295.0; - }, - /*_http._BITS_PER_BYTE*/get _BITS_PER_BYTE() { - return 8; - }, - /*_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(value) { - if (value == null) dart.nullFailed(I[181], 289, 5, "_nextServiceId"); - }, - /*_http._OUTGOING_BUFFER_SIZE*/get _OUTGOING_BUFFER_SIZE() { - return 8192; - }, - /*_http._DART_SESSION_ID*/get _DART_SESSION_ID() { - return "DARTSESSID"; - }, - /*_http._httpOverridesToken*/get _httpOverridesToken() { - return new core.Object.new(); - }, - /*_http._asyncRunZoned*/get _asyncRunZoned() { - return C[217] || CT.C217; - }, - /*_http._webSocketGUID*/get _webSocketGUID() { - return "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; - }, - /*_http._clientNoContextTakeover*/get _clientNoContextTakeover() { - return "client_no_context_takeover"; - }, - /*_http._serverNoContextTakeover*/get _serverNoContextTakeover() { - return "server_no_context_takeover"; - }, - /*_http._clientMaxWindowBits*/get _clientMaxWindowBits() { - return "client_max_window_bits"; - }, - /*_http._serverMaxWindowBits*/get _serverMaxWindowBits() { - return "server_max_window_bits"; - } -}, false); -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, - "dart:_internal": _internal, - "dart:_isolate_helper": _isolate_helper, - "dart:_js_helper": _js_helper, - "dart:_js_primitives": _js_primitives, - "dart:_metadata": _metadata, - "dart:_native_typed_data": _native_typed_data, - "dart:async": async, - "dart:collection": collection, - "dart:convert": convert, - "dart:developer": developer, - "dart:io": io, - "dart:isolate": isolate$, - "dart:js": js, - "dart:js_util": js_util, - "dart:math": math, - "dart:typed_data": typed_data, - "dart:indexed_db": indexed_db, - "dart:html": html$, - "dart:html_common": html_common, - "dart:svg": svg$, - "dart:web_audio": web_audio, - "dart:web_gl": web_gl, - "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", "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_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", "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 272600fe9..58986b15c 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 @@ -2,50 +2,40 @@ 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 inherit(a,b){a.prototype.constructor=a a.prototype["$i"+a.name]=a -if(b!=null){if(z){a.prototype.__proto__=b.prototype +if(b!=null){if(z){Object.setPrototypeOf(a.prototype,b.prototype) return}var s=Object.create(b.prototype) copyProperties(a.prototype,s) -a.prototype=s}}function inheritMany(a,b){for(var s=0;s4294967295)throw A.b(A.B(a,0,4294967295,"length",null)) +return J.jj(new Array(a),b)}, +fO(a,b){if(a<0)throw A.b(A.J("Length must be a non-negative integer: "+a)) +return A.f(new Array(a),b.h("u<0>"))}, +jj(a,b){return J.dN(A.f(a,b.h("u<0>")),b)}, +dN(a,b){a.fixed$length=Array +return a}, +fP(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fQ(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}}, +jk(a,b){var s,r +for(s=a.length;b0;b=r){r=b-1 +if(!(r>>0===b&&b").b(a))return new A.bY(a,b.h("@<0>").E(c).h("bY<1,2>")) +return new A.aA(a,b.h("@<0>").E(c).h("aA<1,2>"))}, +eJ(a){var s,r=a^48 if(r<=9)return r s=a|32 if(97<=s&&s<=102)return s-87 return-1}, -cM(a,b){a=a+b&536870911 +cY(a,b){a=a+b&536870911 a=a+((a&524287)<<10)&536870911 return a^a>>>6}, -fN(a){a=a+((a&67108863)<<3)&536870911 +h5(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(){}, -A:function A(){}, -aC:function aC(a,b,c,d){var _=this +fk(a,b,c){return a}, +fr(a){var s,r +for(s=$.a_.length,r=0;rc)A.D(A.B(b,0,c,"start",null))}return new A.aM(a,b,c,d.h("aM<0>"))}, +dT(a,b,c,d){if(t.X.b(a))return new A.bp(a,b,c.h("@<0>").E(d).h("bp<1,2>")) +return new A.V(a,b,c.h("@<0>").E(d).h("V<1,2>"))}, +h6(a,b,c){var s="takeCount" +A.aX(b,s,t.S) +A.O(b,s) +if(t.X.b(a))return new A.bq(a,b,c.h("bq<0>")) +return new A.aN(a,b,c.h("aN<0>"))}, +jx(a,b,c){var s="count" +if(t.X.b(a)){A.aX(b,s,t.S) +A.O(b,s) +return new A.b_(a,b,c.h("b_<0>"))}A.aX(b,s,t.S) +A.O(b,s) +return new A.ah(a,b,c.h("ah<0>"))}, +bx(){return new A.aL("No element")}, +jh(){return new A.aL("Too few elements")}, +ax:function ax(){}, +bl:function bl(a,b){this.a=a +this.$ti=b}, +aA:function aA(a,b){this.a=a +this.$ti=b}, +bY:function bY(a,b){this.a=a +this.$ti=b}, +bX:function bX(){}, +aa:function aa(a,b){this.a=a +this.$ti=b}, +aB:function aB(a,b){this.a=a +this.$ti=b}, +dx:function dx(a,b){this.a=a +this.b=b}, +cC:function cC(a){this.a=a}, +aZ:function aZ(a){this.a=a}, +dZ:function dZ(){}, +i:function i(){}, +x:function x(){}, +aM:function aM(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -a1:function a1(a,b,c){var _=this +L:function L(a,b,c){var _=this _.a=a _.b=b _.c=0 _.d=null _.$ti=c}, -T:function T(a,b,c){this.a=a +V:function V(a,b,c){this.a=a this.b=b this.$ti=c}, -bc:function bc(a,b,c){this.a=a +bp:function bp(a,b,c){this.a=a this.b=b this.$ti=c}, -ay:function ay(a,b,c){var _=this +aH:function aH(a,b,c){var _=this _.a=null _.b=a _.c=b _.$ti=c}, -o:function o(a,b,c){this.a=a +q:function q(a,b,c){this.a=a this.b=b this.$ti=c}, -U:function U(a,b,c){this.a=a +W:function W(a,b,c){this.a=a this.b=b this.$ti=c}, -aH:function aH(a,b,c){this.a=a +aR:function aR(a,b,c){this.a=a this.b=b this.$ti=c}, -bg:function bg(a,b,c){this.a=a +bu:function bu(a,b,c){this.a=a this.b=b this.$ti=c}, -bh:function bh(a,b,c,d){var _=this +bv:function bv(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=null _.$ti=d}, -aE:function aE(a,b,c){this.a=a +aN:function aN(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bq:function bq(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bR:function bR(a,b,c){this.a=a +this.b=b +this.$ti=c}, +ah:function ah(a,b,c){this.a=a this.b=b this.$ti=c}, -bd:function bd(a,b,c){this.a=a +b_:function b_(a,b,c){this.a=a this.b=b this.$ti=c}, -bF:function bF(a,b,c){this.a=a +bL:function bL(a,b,c){this.a=a this.b=b this.$ti=c}, -bz:function bz(a,b,c){this.a=a +bM:function bM(a,b,c){this.a=a this.b=b this.$ti=c}, -bA:function bA(a,b,c){var _=this +bN:function bN(a,b,c){var _=this _.a=a _.b=b _.c=!1 _.$ti=c}, -be:function be(a){this.$ti=a}, -bJ:function bJ(a,b){this.a=a +br:function br(a){this.$ti=a}, +bs:function bs(a){this.$ti=a}, +bU:function bU(a,b){this.a=a +this.$ti=b}, +bV:function bV(a,b){this.a=a this.$ti=b}, -bK:function bK(a,b){this.a=a +bE:function bE(a,b){this.a=a +this.$ti=b}, +bF:function bF(a,b){this.a=a +this.b=null this.$ti=b}, -au:function au(){}, -aG:function aG(){}, -aW:function aW(){}, -aT:function aT(a){this.a=a}, -hM(a){var s=v.mangledGlobalNames[a] +aD:function aD(){}, +aP:function aP(){}, +b7:function b7(){}, +av:function av(a){this.a=a}, +ca:function ca(){}, +ia(a){var s=v.mangledGlobalNames[a] if(s!=null)return s return"minified:"+a}, -kC(a,b){var s +l5(a,b){var s if(b!=null){s=b.x if(s!=null)return s}return t.da.b(a)}, h(a){var s @@ -168,126 +320,131 @@ 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.dd(a) +s=J.bj(a) return s}, -cE(a){var s,r=$.fC -if(r==null)r=$.fC=Symbol("identityHashCode") +cQ(a){var s,r=$.fX +if(r==null)r=$.fX=Symbol("identityHashCode") s=a[r] if(s==null){s=Math.random()*0x3fffffff|0 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) +fY(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) +if(3>=m.length)return A.a(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)) +return n}if(b<2||b>36)throw A.b(A.B(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) +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dY(a){return A.jo(a)}, +jo(a){var s,r,q,p +if(a instanceof A.v)return A.I(A.X(a),null) +s=J.a8(a) +if(s===B.X||s===B.Z||t.cB.b(a)){r=B.v(a) if(r!=="Object"&&r!=="")return r q=a.constructor if(typeof q=="function"){p=q.name -if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.H(A.a6(a),null)}, -j_(){if(!!self.location)return self.location.href +if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.I(A.X(a),null)}, +jr(a){if(typeof a=="number"||A.fi(a))return J.bj(a) +if(typeof a=="string")return JSON.stringify(a) +if(a instanceof A.K)return a.i(0) +return"Instance of '"+A.dY(a)+"'"}, +jq(){if(!!self.location)return self.location.href return null}, -fB(a){var s,r,q,p,o=a.length +fW(a){var s,r,q,p,o=a.length if(o<=500)return String.fromCharCode.apply(null,a) for(s="",r=0;r65535)return A.j0(a)}return A.fB(a)}, -j1(a,b,c){var s,r,q,p +if(!A.eE(q))throw A.b(A.cb(q)) +if(q<0)throw A.b(A.cb(q)) +if(q>65535)return A.js(a)}return A.fW(a)}, +jt(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 A.a(A.x(a,0,1114111,null,null))}, -ao(a,b,c){var s,r,q={} +return String.fromCharCode((B.c.ai(s,10)|55296)>>>0,s&1023|56320)}}throw A.b(A.B(a,0,1114111,null,null))}, +au(a,b,c){var s,r,q={} q.a=0 s=[] r=[] q.a=b.length -B.b.aP(s,b) +B.b.aT(s,b) q.b="" -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(c!=null&&c.a!==0)c.O(0,new A.dX(q,r,s)) +return J.iY(a,new A.cv(B.a5,0,s,r,0))}, +jp(a,b,c){var s,r,q if(Array.isArray(b))s=c==null||c.a===0 else s=!1 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(f>n)return A.au(a,g,null) if(fe)return A.ao(a,g,c) -if(g===b)g=A.bq(g,!0,t.z) +if(g===b)g=A.aG(g,!0,t.z) +B.b.aT(g,m)}return o.apply(a,g)}else{if(f>e)return A.au(a,g,c) +if(g===b)g=A.aG(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=A.kU -if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) -s.name=""}else s.toString=r -return s}, -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$")) +if(c==null)for(r=l.length,k=0;k=s)return A.eW(b,s,a,r) +return A.f2(b,r)}, +kS(a,b,c){if(a>c)return A.B(a,0,c,"start",null) +if(b!=null)if(bc)return A.B(b,a,c,"end",null) +return new A.a3(!0,b,"end",null)}, +cb(a){return new A.a3(!0,a,null,null)}, +b(a){return A.i0(new Error(),a)}, +i0(a,b){var s +if(b==null)b=new A.bS() +a.dartException=b +s=A.lm +if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) +a.name=""}else a.toString=s +return a}, +lm(){return J.bj(this.dartException)}, +D(a){throw A.b(a)}, +ll(a,b){throw A.i0(b,a)}, +ce(a){throw A.b(A.a0(a))}, +aj(a){var s,r,q,p,o,n +a=A.i9(a.replace(String({}),"$receiver$")) s=a.match(/\\\$[a-zA-Z]+\\\$/g) if(s==null)s=A.f([],t.s) r=s.indexOf("\\$arguments\\$") @@ -295,84 +452,75 @@ q=s.indexOf("\\$argumentsExpr\\$") p=s.indexOf("\\$expr\\$") o=s.indexOf("\\$method\\$") n=s.indexOf("\\$receiver\\$") -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$" +return new A.ed(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)}, +ee(a){return function($expr$){var $argumentsExpr$="$arguments$" try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(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) +h9(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +eZ(a,b){var s=b==null,r=s?null:b.method +return new A.cz(a,r,s?null:b.receiver)}, +cf(a){if(a==null)return new A.cM(a) if(typeof a!=="object")return 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 +if("dartException" in a)return A.aV(a,a.dartException) +return A.kN(a)}, +aV(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a return b}, -kn(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 if(!("message" in a))return a s=a.message if("number" in a&&typeof a.number=="number"){r=a.number q=r&65535 -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 A.aK(a,A.eJ(A.j(s),f)) -else{f=n.V(s) -if(f!=null){f.method="call" -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) -if(f==null){f=i.V(s) -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){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 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() +if((B.c.ai(r,16)&8191)===10)switch(q){case 438:return A.aV(a,A.eZ(A.h(s)+" (Error "+q+")",null)) +case 445:case 5007:A.h(s) +return A.aV(a,new A.bH())}}if(a instanceof TypeError){p=$.ie() +o=$.ig() +n=$.ih() +m=$.ii() +l=$.il() +k=$.im() +j=$.ik() +$.ij() +i=$.ip() +h=$.io() +g=p.V(s) +if(g!=null)return A.aV(a,A.eZ(A.k(s),g)) +else{g=o.V(s) +if(g!=null){g.method="call" +return A.aV(a,A.eZ(A.k(s),g))}else if(n.V(s)!=null||m.V(s)!=null||l.V(s)!=null||k.V(s)!=null||j.V(s)!=null||m.V(s)!=null||i.V(s)!=null||h.V(s)!=null){A.k(s) +return A.aV(a,new A.bH())}}return A.aV(a,new A.d0(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.bP() +s=function(b){try{return String(b)}catch(f){}return null}(a) +return A.aV(a,new A.a3(!1,null,null,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.bP() return a}, -hG(a){if(a==null||typeof a!="object")return J.aL(a) -else return A.cE(a)}, -iD(a2){var s,r,q,p,o,n,m,l,k,j,i=a2.co,h=a2.iS,g=a2.iI,f=a2.nDA,e=a2.aI,d=a2.fs,c=a2.cs,b=d[0],a=c[0],a0=i[b],a1=a2.fT +i4(a){if(a==null)return J.aW(a) +if(typeof a=="object")return A.cQ(a) +return J.aW(a)}, +j7(a2){var s,r,q,p,o,n,m,l,k,j,i=a2.co,h=a2.iS,g=a2.iI,f=a2.nDA,e=a2.aI,d=a2.fs,c=a2.cs,b=d[0],a=c[0],a0=i[b],a1=a2.fT a1.toString -s=h?Object.create(new A.cK().constructor.prototype):Object.create(new A.aM(null,null).constructor.prototype) +s=h?Object.create(new A.cX().constructor.prototype):Object.create(new A.aY(null,null).constructor.prototype) s.$initialize=s.constructor -if(h)r=function static_tear_off(){this.$initialize()} -else r=function tear_off(a3,a4){this.$initialize(a3,a4)} +r=h?function static_tear_off(){this.$initialize()}:function tear_off(a3,a4){this.$initialize(a3,a4)} s.constructor=r r.prototype=s s.$_name=b s.$_target=a0 q=!h -if(q)p=A.fq(b,a0,g,f) +if(q)p=A.fI(b,a0,g,f) else{s.$static_name=b -p=a0}s.$S=A.iz(a1,h,g) +p=a0}s.$S=A.j3(a1,h,g) s[a]=p for(o=p,n=1;n=0 -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,"$$$$") +else if(b instanceof A.aq){s=B.a.C(a,c) +return b.b.test(s)}else return!J.eS(b,B.a.C(a,c)).gP(0)}, +fn(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") return a}, -kR(a,b,c,d){var s=b.bh(a,d) +lj(a,b,c,d){var s=b.bn(a,d) if(s==null)return a -return A.fc(a,s.b.index,s.gN(),c)}, -hL(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return A.ft(a,s.b.index,s.gM(),c)}, +i9(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") return a}, -X(a,b,c){var s -if(typeof b=="string")return A.kQ(a,b,c) -if(b instanceof A.aj){s=b.gbm() +Z(a,b,c){var s +if(typeof b=="string")return A.li(a,b,c) +if(b instanceof A.aq){s=b.gbt() s.lastIndex=0 -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() +return a.replace(s,A.fn(c))}return A.lh(a,b,c)}, +lh(a,b,c){var s,r,q,p +for(s=J.eS(b,a),s=s.gt(s),r=0,q="";s.m();){p=s.gn() q=q+a.substring(r,p.gJ())+c -r=p.gN()}s=q+a.substring(r) +r=p.gM()}s=q+a.substring(r) return s.charCodeAt(0)==0?s:s}, -kQ(a,b,c){var s,r,q,p +li(a,b,c){var s,r,q if(b===""){if(a==="")return c s=a.length r=""+c for(q=0;q=0)return a.split(b).join(c) -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 +return a.replace(new RegExp(A.i9(b),"g"),A.fn(c))}, +hT(a){return a}, +lg(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.av(0,a),s=new A.bW(s.a,s.b,s.c),r=t.k,q=0,p="";s.m();){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))) +p=p+A.h(A.hT(B.a.j(a,q,m)))+A.h(c.$1(o)) +q=m+n[0].length}s=p+A.h(A.hT(B.a.C(a,q))) return s.charCodeAt(0)==0?s:s}, -kS(a,b,c,d){var s,r,q,p +lk(a,b,c,d){var s,r,q,p if(typeof b=="string"){s=a.indexOf(b,d) if(s<0)return a -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.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 +return A.ft(a,s,s+b.length,c)}if(b instanceof A.aq)return d===0?a.replace(b.b,A.fn(c)):A.lj(a,b,c,d) +r=J.iR(b,a,d) +q=r.gt(r) +if(!q.m())return a +p=q.gn() +return B.a.W(a,p.gJ(),p.gM(),c)}, +ft(a,b,c,d){return a.substring(0,b)+d+a.substring(c)}, +bn:function bn(a,b){this.a=a +this.$ti=b}, +bm:function bm(){}, +bo:function bo(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bZ:function bZ(a,b){this.a=a this.$ti=b}, -b9:function b9(){}, -bb:function bb(a,b,c,d){var _=this +c_:function c_(a,b,c){var _=this _.a=a _.b=b -_.c=c -_.$ti=d}, -bj:function bj(){}, -bk:function bk(a,b){this.a=a +_.c=0 +_.d=null +_.$ti=c}, +cs:function cs(){}, +b0:function b0(a,b){this.a=a this.$ti=b}, -cj:function cj(a,b,c,d,e){var _=this +cv:function cv(a,b,c,d,e){var _=this _.a=a _.c=b _.d=c _.e=d _.f=e}, -dD:function dD(a,b,c){this.a=a +dX:function dX(a,b,c){this.a=a this.b=b this.c=c}, -dW:function dW(a,b,c,d,e,f){var _=this +ed:function ed(a,b,c,d,e,f){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e _.f=f}, -bv:function bv(a,b){this.a=a -this.b=b}, -cn:function cn(a,b,c){this.a=a +bH:function bH(){}, +cz:function cz(a,b,c){this.a=a this.b=b this.c=c}, -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 +d0:function d0(a){this.a=a}, +cM:function cM(a){this.a=a}, +K:function K(){}, +cm:function cm(){}, +cn:function cn(){}, +cZ:function cZ(){}, +cX:function cX(){}, +aY:function aY(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 +da:function da(a){this.a=a}, +cR:function cR(a){this.a=a}, +d9:function d9(a){this.a=a}, +el:function el(){}, +aF:function aF(a){var _=this _.a=0 _.f=_.e=_.d=_.c=_.b=null _.r=0 _.$ti=a}, -dw:function dw(a){this.a=a}, -dx:function dx(a,b){this.a=a +dP:function dP(a){this.a=a}, +dQ:function dQ(a,b){this.a=a this.b=b this.c=null}, -aa:function aa(a,b){this.a=a +ae:function ae(a,b){this.a=a this.$ti=b}, -bo:function bo(a,b,c){var _=this +bC:function bC(a,b,c){var _=this _.a=a _.b=b _.d=_.c=null _.$ti=c}, -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 +eK:function eK(a){this.a=a}, +eL:function eL(a){this.a=a}, +eM:function eM(a){this.a=a}, +aq:function aq(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, -aY:function aY(a){this.b=a}, -cY:function cY(a,b,c){this.a=a +b8:function b8(a){this.b=a}, +d8:function d8(a,b,c){this.a=a this.b=b this.c=c}, -bL:function bL(a,b,c){var _=this +bW:function bW(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -bE:function bE(a,b){this.a=a +bQ:function bQ(a,b){this.a=a this.c=b}, -d5:function d5(a,b,c){this.a=a +dh:function dh(a,b,c){this.a=a this.b=b this.c=c}, -d6:function d6(a,b,c){var _=this +di:function di(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -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 +hK(a){return a}, +jm(a){return new Uint8Array(a)}, +ex(a,b,c){if(a>>>0!==a||a>=c)throw A.b(A.bg(b,a))}, +kl(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 A.a(A.kr(a,b,c)) +if(s)throw A.b(A.kS(a,b,c)) if(b==null)return c return b}, -cw:function cw(){}, -aR:function aR(){}, -bs:function bs(){}, -cv:function cv(){}, -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) +cH:function cH(){}, +cJ:function cJ(){}, +b4:function b4(){}, +bD:function bD(){}, +cI:function cI(){}, +cK:function cK(){}, +aI:function aI(){}, +c0:function c0(){}, +c1:function c1(){}, +h0(a,b){var s=b.c +return s==null?b.c=A.fc(a,b.x,!0):s}, +f3(a,b){var s=b.c +return s==null?b.c=A.c4(a,"fK",[b.x]):s}, +h1(a){var s=a.w +if(s===6||s===7||s===8)return A.h1(a.x) 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 +jv(a){return a.as}, +dr(a){return A.dk(v.typeUniverse,a,!1)}, +l3(a,b){var s,r,q,p,o if(a==null)return null -s=b.z -r=a.as -if(r==null)r=a.as=new Map() -q=b.at +s=b.y +r=a.Q +if(r==null)r=a.Q=new Map() +q=b.as p=r.get(q) if(p!=null)return p -o=A.af(v.typeUniverse,a.y,s,0) +o=A.am(v.typeUniverse,a.x,s,0) r.set(q,o) return o}, -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.y -r=A.af(a,s,a0,a1) -if(r===s)return b -return A.h3(a,r,!0) -case 7:s=b.y -r=A.af(a,s,a0,a1) -if(r===s)return b -return A.eU(a,r,!0) -case 8:s=b.y -r=A.af(a,s,a0,a1) -if(r===s)return b -return A.h2(a,r,!0) -case 9:q=b.z -p=A.bY(a,q,a0,a1) -if(p===q)return b -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 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 A.h1(a,j,h) -case 13:g=b.z -a1+=g.length -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 A.eT(a,n,f,!0) -case 14:e=b.y -if(e=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=", " +hM(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=null 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(a5==null)a5=A.f([],t.s) +else a3=a5.length +r=a5.length +for(q=s;q>0;--q)B.b.k(a5,"T"+(r+q)) +for(p=t.O,o=t._,n="<",m="",q=0;q=0))return A.a(a5,k) +n=B.a.aq(n+m,a5[k]) +j=a6[q] +i=j.w +if(!(i===2||i===3||i===4||i===5||j===p))l=j===o +else l=!0 +if(!l)n+=" extends "+A.I(j,a5)}n+=">"}else n="" +p=a4.x +h=a4.y +g=h.a +f=g.length +e=h.b +d=e.length +c=h.c +b=c.length +a=A.I(p,a5) +for(a0="",a1="",q=0;q0){a0+=a1+"[" +for(a1="",q=0;q0){a0+=a1+"{" +for(a1="",q=0;q "+a}, +I(a,b){var s,r,q,p,o,n,m,l=a.w 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=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 +if(l===6)return A.I(a.x,b) +if(l===7){s=a.x +r=A.I(s,b) +q=s.w +return(q===12||q===13?"("+r+")":r)+"?"}if(l===8)return"FutureOr<"+A.I(a.x,b)+">" +if(l===9){p=A.kM(a.x) +o=a.y +return o.length>0?p+("<"+A.hQ(o,b)+">"):p}if(l===11)return A.kH(a,b) +if(l===12)return A.hM(a,b,null) +if(l===13)return A.hM(a.x,b,a.y) +if(l===14){n=a.x m=b.length n=m-1-n -if(!(n>=0&&n=0&&n0)p+="<"+A.bR(c)+">" +s+=r+p+o+a[q+2].as}return s}, +c4(a,b,c){var s,r,q,p=b +if(c.length>0)p+="<"+A.c3(c)+">" s=a.eC.get(p) if(s!=null)return s -r=new A.Y(null,null) -r.x=9 -r.y=b -r.z=c +r=new A.a1(null,null) +r.w=9 +r.x=b +r.y=c if(c.length>0)r.c=c[0] -r.at=p -q=A.ad(a,r) +r.as=p +q=A.ak(a,r) a.eC.set(p,q) return q}, -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)+">") +fa(a,b,c){var s,r,q,p,o,n +if(b.w===10){s=b.x +r=b.y.concat(c)}else{r=c +s=b}q=s.as+(";<"+A.c3(r)+">") p=a.eC.get(q) if(p!=null)return p -o=new A.Y(null,null) -o.x=10 -o.y=s -o.z=r -o.at=q -n=A.ad(a,o) +o=new A.a1(null,null) +o.w=10 +o.x=s +o.y=r +o.as=q +n=A.ak(a,o) a.eC.set(q,n) return n}, -jB(a,b,c){var s,r,q="+"+(b+"("+A.bR(c)+")"),p=a.eC.get(q) +hq(a,b,c){var s,r,q="+"+(b+"("+A.c3(c)+")"),p=a.eC.get(q) if(p!=null)return p -s=new A.Y(null,null) -s.x=11 -s.y=b -s.z=c -s.at=q -r=A.ad(a,s) +s=new A.a1(null,null) +s.w=11 +s.x=b +s.y=c +s.as=q +r=A.ak(a,s) a.eC.set(q,r) return 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) +ho(a,b,c){var s,r,q,p,o,n=b.as,m=c.a,l=m.length,k=c.b,j=k.length,i=c.c,h=i.length,g="("+A.c3(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+")") +g+=s+"["+A.c3(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.jS(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) +p=new A.a1(null,null) +p.w=12 +p.x=b +p.y=c +p.as=r +o=A.ak(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) +fb(a,b,c,d){var s,r=b.as+("<"+A.c3(c)+">"),q=a.eC.get(r) if(q!=null)return q -s=A.jx(a,b,c,r,d) +s=A.jU(a,b,c,r,d) a.eC.set(r,s) return s}, -jx(a,b,c,d,e){var s,r,q,p,o,n,m,l +jU(a,b,c,d,e){var s,r,q,p,o,n,m,l if(e){s=c.length -r=A.eb(s) +r=A.ew(s) for(q=0,p=0;p0){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) +if(o.w===1){r[p]=o;++q}}if(q>0){n=A.am(a,b,r,0) +m=A.be(a,c,r,0) +return A.fb(a,n,m,c!==m)}}l=new A.a1(null,null) +l.w=13 +l.x=b +l.y=c +l.as=d +return A.ak(a,l)}, +hi(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hk(a){var s,r,q,p,o,n,m,l=a.r,k=a.s +for(s=l.length,r=0;r=48&&q<=57)r=A.jN(r+1,q,l,k) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.hj(a,r,l,k,!1) +else if(q===46)r=A.hj(a,r,l,k,!0) else{++r switch(q){case 44:break -case 58:i.push(!1) +case 58:k.push(!1) break -case 33:i.push(!0) +case 33:k.push(!0) break -case 59:i.push(A.ap(a.u,a.e,i.pop())) +case 59:k.push(A.ay(a.u,a.e,k.pop())) break -case 94:i.push(A.jA(a.u,i.pop())) +case 94:k.push(A.jX(a.u,k.pop())) break -case 35:i.push(A.bT(a.u,5,"#")) +case 35:k.push(A.c5(a.u,5,"#")) break -case 64:i.push(A.bT(a.u,2,"@")) +case 64:k.push(A.c5(a.u,2,"@")) break -case 126:i.push(A.bT(a.u,3,"~")) +case 126:k.push(A.c5(a.u,3,"~")) break -case 60:i.push(a.p) -a.p=i.length +case 60:k.push(a.p) +a.p=k.length break -case 62:p=a.u -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)) +case 62:A.jP(a,k) break -default:i.push(A.eS(p,m,o)) -break}}break -case 38:A.js(a,i) +case 38:A.jO(a,k) break case 42:p=a.u -i.push(A.h3(p,A.ap(p,a.e,i.pop()),a.n)) +k.push(A.hr(p,A.ay(p,a.e,k.pop()),a.n)) break case 63:p=a.u -i.push(A.eU(p,A.ap(p,a.e,i.pop()),a.n)) +k.push(A.fc(p,A.ay(p,a.e,k.pop()),a.n)) break case 47:p=a.u -i.push(A.h2(p,A.ap(p,a.e,i.pop()),a.n)) +k.push(A.hp(p,A.ay(p,a.e,k.pop()),a.n)) break -case 40:i.push(-3) -i.push(a.p) -a.p=i.length +case 40:k.push(-3) +k.push(a.p) +a.p=k.length break -case 41:A.jq(a,i) +case 41:A.jM(a,k) break -case 91:i.push(a.p) -a.p=i.length +case 91:k.push(a.p) +a.p=k.length break -case 93:o=i.splice(a.p) -A.eR(a.u,a.e,o) -a.p=i.pop() -i.push(o) -i.push(-1) +case 93:o=k.splice(a.p) +A.hl(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-1) break -case 123:i.push(a.p) -a.p=i.length +case 123:k.push(a.p) +a.p=k.length break -case 125:o=i.splice(a.p) -A.ju(a.u,a.e,o) -a.p=i.pop() -i.push(o) -i.push(-2) +case 125:o=k.splice(a.p) +A.jR(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-2) break -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 +case 43:n=l.indexOf("(",r) +k.push(l.substring(r,n)) +k.push(-4) +k.push(a.p) +a.p=k.length +r=n+1 break -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 +default:throw"Bad character "+q}}}m=k.pop() +return A.ay(a.u,a.e,m)}, +jN(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}, -fY(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +hj(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||r===124))q=r>=48&&r<=57 @@ -1223,114 +1369,121 @@ else q=!0 if(!q)break}}p=c.substring(b,m) if(e){s=a.u o=a.e -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) +if(o.w===10)o=o.x +n=A.k1(s,o.x)[p] +if(n==null)A.D('No "'+p+'" in "'+A.jv(o)+'"') +d.push(A.en(s,o,n))}else d.push(p) return m}, -jq(a,b){var s,r,q,p,o,n=null,m=a.u,l=b.pop() -if(typeof l=="number")switch(l){case-1:s=b.pop() -r=n +jP(a,b){var s,r=a.u,q=A.hh(a,b),p=b.pop() +if(typeof p=="string")b.push(A.c4(r,p,q)) +else{s=A.ay(r,a.e,p) +switch(s.w){case 12:b.push(A.fb(r,s,q,a.n)) break -case-2:r=b.pop() -s=n +default:b.push(A.fa(r,s,q)) +break}}}, +jM(a,b){var s,r,q,p=a.u,o=b.pop(),n=null,m=null +if(typeof o=="number")switch(o){case-1:n=b.pop() break -default:b.push(l) -r=n -s=r -break}else{b.push(l) -r=n -s=r}q=A.jp(a,b) -l=b.pop() -switch(l){case-3:l=b.pop() -if(s==null)s=m.sEA -if(r==null)r=m.sEA -p=A.ap(m,a.e,l) -o=new A.d1() -o.a=q -o.b=s -o.c=r -b.push(A.h1(m,p,o)) +case-2:m=b.pop() +break +default:b.push(o) +break}else b.push(o) +s=A.hh(a,b) +o=b.pop() +switch(o){case-3:o=b.pop() +if(n==null)n=p.sEA +if(m==null)m=p.sEA +r=A.ay(p,a.e,o) +q=new A.dd() +q.a=s +q.b=n +q.c=m +b.push(A.ho(p,r,q)) return -case-4:b.push(A.jB(m,b.pop(),q)) +case-4:b.push(A.hq(p,b.pop(),s)) return -default:throw A.a(A.c7("Unexpected state under `()`: "+A.h(l)))}}, -js(a,b){var s=b.pop() -if(0===s){b.push(A.bT(a.u,1,"0&")) -return}if(1===s){b.push(A.bT(a.u,4,"1&")) -return}throw A.a(A.c7("Unexpected extended operation "+A.h(s)))}, -jp(a,b){var s=b.splice(a.p) -A.eR(a.u,a.e,s) +default:throw A.b(A.cj("Unexpected state under `()`: "+A.h(o)))}}, +jO(a,b){var s=b.pop() +if(0===s){b.push(A.c5(a.u,1,"0&")) +return}if(1===s){b.push(A.c5(a.u,4,"1&")) +return}throw A.b(A.cj("Unexpected extended operation "+A.h(s)))}, +hh(a,b){var s=b.splice(a.p) +A.hl(a.u,a.e,s) a.p=b.pop() return s}, -ap(a,b,c){if(typeof c=="string")return A.bS(a,c,a.sEA) +ay(a,b,c){if(typeof c=="string")return A.c4(a,c,a.sEA) else if(typeof c=="number"){b.toString -return A.jt(a,b,c)}else return c}, -eR(a,b,c){var s,r=c.length -for(s=0;s0?new Array(q):v.typeUniverse.sEA -for(o=0;o0?new Array(a):v.typeUniverse.sEA}, -Y:function Y(a,b){var _=this +ew(a){return a>0?new Array(a):v.typeUniverse.sEA}, +a1:function a1(a,b){var _=this _.a=a _.b=b -_.w=_.r=_.c=null -_.x=0 -_.at=_.as=_.Q=_.z=_.y=null}, -d1:function d1(){this.c=this.b=this.a=null}, -d7:function d7(a){this.a=a}, -d0:function d0(){}, -bQ:function bQ(a){this.a=a}, -li(a){return new A.aX(a,1)}, -jn(){return B.a2}, -jo(a){return new A.aX(a,3)}, -kf(a,b){return new A.bP(a,b.i("bP<0>"))}, -aX:function aX(a,b){this.a=a -this.b=b}, -b0:function b0(a,b){var _=this -_.a=a -_.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}, -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=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}, -f1(a){var s,r -for(s=$.V.length,r=0;r=b.length)return A.b(b,-1) -r=b.pop() -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.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 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 A.b(b,-1) -k-=b.pop().length+2 -if(m==null){k+=5 -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) +_.r=_.f=_.d=_.c=null +_.w=0 +_.as=_.Q=_.z=_.y=_.x=null}, +dd:function dd(){this.c=this.b=this.a=null}, +em:function em(a){this.a=a}, +dc:function dc(){}, +c2:function c2(a){this.a=a}, +f_(a,b){return new A.aF(a.h("@<0>").E(b).h("aF<1,2>"))}, +f0(a){var s,r={} +if(A.fr(a))return"{...}" +s=new A.C("") +try{B.b.k($.a_,a) s.a+="{" r.a=!0 -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 +a.O(0,new A.dS(r,s)) +s.a+="}"}finally{if(0>=$.a_.length)return A.a($.a_,-1) +$.a_.pop()}r=s.a return r.charCodeAt(0)==0?r:r}, -bm:function bm(){}, -bp:function bp(){}, -w:function w(){}, -br:function br(){}, -dA:function dA(a,b){this.a=a +o:function o(){}, +E:function E(){}, +dS:function dS(a,b){this.a=a this.b=b}, -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) +c6:function c6(){}, +b3:function b3(){}, +aQ:function aQ(a,b){this.a=a +this.$ti=b}, +bc:function bc(){}, +kF(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=A.cf(r) +q=A.z(String(s),null,null) +throw A.b(q)}q=A.ey(p) return q}, -ee(a){var s +ey(a){var s if(a==null)return null if(typeof a!="object")return a -if(Object.getPrototypeOf(a)!==Array.prototype)return new A.d2(a,Object.create(null)) -for(s=0;s=0)return null -return r}return null}, -jm(a,b,c,d){var s=a?$.i0():$.i_() +ke(a,b,c){var s,r,q,p,o=c-b +if(o<=4096)s=$.iu() +else s=new Uint8Array(o) +for(r=J.a9(a),q=0;q>>0!==0)q=255 -if(!(r")) -for(s=J.R(a);s.n();)B.b.k(r,c.a(s.gp())) +dR(a,b,c){var s,r=A.f([],c.h("u<0>")) +for(s=J.T(a);s.m();)B.b.k(r,c.a(s.gn())) if(b)return r -return J.eG(r,c)}, -bq(a,b,c){var s=A.iV(a,c) +return J.dN(r,c)}, +aG(a,b,c){var s +if(b)return A.fR(a,c) +s=J.dN(A.fR(a,c),c) return s}, -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()) +fR(a,b){var s,r +if(Array.isArray(a))return A.f(a.slice(0),b.h("u<0>")) +s=A.f([],b.h("u<0>")) +for(r=J.T(a);r.m();)B.b.k(s,r.gn()) return s}, -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=A.a4(b,c,r) -return A.fE(b>0||c0||c0)a=J.eT(a,b) +return A.fZ(A.aG(a,!0,t.S))}, +h3(a){return A.N(a)}, +jz(a,b,c){var s=a.length +if(b>=s)return"" +return A.jt(a,b,c==null||c>s?s:c)}, +p(a,b){return new A.aq(a,A.eX(a,b,!0,!1,!1,!1))}, +f5(a,b,c){var s=J.T(b) +if(!s.m())return a +if(c.length===0){do a+=A.h(s.gn()) +while(s.m())}else{a+=A.h(s.gn()) +for(;s.m();)a=a+c+A.h(s.gn())}return a}, +fT(a,b){return new A.cL(a,b.gcz(),b.gcC(),b.gcA())}, +f9(){var s,r,q=A.jq() +if(q==null)throw A.b(A.A("'Uri.base' is not supported")) +s=$.he +if(s!=null&&q===$.hd)return s +r=A.R(q) +$.he=r +$.hd=q +return r}, +kc(a,b,c,d){var s,r,q,p,o,n,m="0123456789ABCDEF" +if(c===B.f){s=$.ir() +s=s.b.test(b)}else s=!1 if(s)return b -A.z(c).i("J.S").a(b) -r=c.gcm().ah(b) +r=B.P.aj(b) for(s=r.length,q=0,p="";q>>4 -if(!(n<8))return A.b(a,n) +if(!(n<8))return A.a(a,n) n=(a[n]&1<<(o&15))!==0}else n=!1 -if(n)p+=A.K(o) +if(n)p+=A.N(o) else p=d&&o===32?p+"+":p+"%"+m[o>>>4&15]+m[o&15]}return p.charCodeAt(0)==0?p:p}, -at(a){if(typeof a=="number"||A.hp(a)||a==null)return J.dd(a) +aC(a){if(typeof a=="number"||A.fi(a)||a==null)return J.bj(a) if(typeof a=="string")return JSON.stringify(a) -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.jr(a)}, +cj(a){return new A.bk(a)}, +J(a){return new A.a3(!1,null,null,a)}, +dv(a,b,c){return new A.a3(!0,a,b,c)}, +fC(a){return new A.a3(!1,null,a,"Must not be null")}, +aX(a,b,c){return a==null?A.D(A.fC(b)):a}, +f1(a){var s=null +return new A.ag(s,s,!1,s,s,a)}, +f2(a,b){return new A.ag(null,null,!0,a,b,"Value not in range")}, +B(a,b,c,d,e){return new A.ag(b,c,!0,a,d,"Invalid value")}, +h_(a,b,c,d){if(ac)throw A.b(A.B(a,b,c,d,null)) return a}, -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)) +aK(a,b,c){if(0>a||a>c)throw A.b(A.B(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw A.b(A.B(b,a,c,"end",null)) return b}return c}, -aS(a,b){if(a<0)throw A.a(A.x(a,0,null,b,null)) +O(a,b){if(a<0)throw A.b(A.B(a,0,null,b,null)) return a}, -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) +eW(a,b,c,d){return new A.bw(b,!0,a,d,"Index out of range")}, +A(a){return new A.d1(a)}, +ha(a){return new A.d_(a)}, +e3(a){return new A.aL(a)}, +a0(a){return new A.co(a)}, +z(a,b,c){return new A.U(a,b,c)}, +ji(a,b,c){var s,r +if(A.fr(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.f([],t.s) +B.b.k($.a_,a) +try{A.kE(a,s)}finally{if(0>=$.a_.length)return A.a($.a_,-1) +$.a_.pop()}r=A.f5(b,t.n.a(s),", ")+c +return r.charCodeAt(0)==0?r:r}, +fM(a,b,c){var s,r +if(A.fr(a))return b+"..."+c +s=new A.C(b) +B.b.k($.a_,a) +try{r=s +r.a=A.f5(r.a,a,", ")}finally{if(0>=$.a_.length)return A.a($.a_,-1) +$.a_.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +kE(a,b){var s,r,q,p,o,n,m,l=a.gt(a),k=0,j=0 +while(!0){if(!(k<80||j<3))break +if(!l.m())return +s=A.h(l.gn()) +B.b.k(b,s) +k+=s.length+2;++j}if(!l.m()){if(j<=5)return +if(0>=b.length)return A.a(b,-1) +r=b.pop() +if(0>=b.length)return A.a(b,-1) +q=b.pop()}else{p=l.gn();++j +if(!l.m()){if(j<=4){B.b.k(b,A.h(p)) +return}r=A.h(p) +if(0>=b.length)return A.a(b,-1) +q=b.pop() +k+=r.length+2}else{o=l.gn();++j +for(;l.m();p=o,o=n){n=l.gn();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +if(0>=b.length)return A.a(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 A.a(b,-1) +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)B.b.k(b,m) +B.b.k(b,q) +B.b.k(b,r)}, +fS(a,b,c,d,e){return new A.aB(a,b.h("@<0>").E(c).E(d).E(e).h("aB<1,2,3,4>"))}, +fU(a,b,c){var s +if(B.n===c){s=J.aW(a) +b=J.aW(b) +return A.h5(A.cY(A.cY($.fw(),s),b))}s=J.aW(a) +b=J.aW(b) +c=c.gD(c) +c=A.h5(A.cY(A.cY(A.cY($.fw(),s),b),c)) +return c}, +hc(a){var s,r=null,q=new A.C(""),p=A.f([-1],t.t) +A.jJ(r,r,r,q,p) B.b.k(p,q.a.length) q.a+="," -A.jg(B.h,B.F.cl(a),q) +A.jI(B.h,B.F.cq(a),q) s=q.a -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) +return new A.d2(s.charCodeAt(0)==0?s:s,p,r).gae()}, +R(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){if(4>=a4)return A.a(a5,4) +s=((a5.charCodeAt(4)^58)*3|a5.charCodeAt(0)^100|a5.charCodeAt(1)^97|a5.charCodeAt(2)^116|a5.charCodeAt(3)^97)>>>0 +if(s===0)return A.hb(a4=14)B.b.v(r,7,a4) q=r[1] -if(q>=0)if(A.ht(a5,0,q,20,r)===20)r[7]=q +if(q>=0)if(A.hR(a5,0,q,20,r)===20)r[7]=q p=r[2]+1 o=r[3] n=r[4] @@ -1688,677 +1814,680 @@ if(nq+3){j=a3 -k=!1}else{i=o>0 -if(i&&o+1===n){j=a3 -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) +j=a3 +if(k){k=!1 +if(!(p>q+3)){i=o>0 +if(!(i&&o+1===n)){if(!B.a.A(a5,"\\",n))if(p>0)h=B.a.A(a5,"\\",p-1)||B.a.A(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) +if(!h){if(!(mn+2&&B.a.A(a5,"/..",m-3) else h=!0 -if(h){j=a3 -k=!1}else{if(q===4)if(B.a.v(a5,"file",0)){if(p<=0){if(!B.a.v(a5,"/",n)){g="file:///" +if(!h)if(q===4){if(B.a.A(a5,"file",0)){if(p<=0){if(!B.a.A(a5,"/",n)){g="file:///" s=3}else{g="file://" s=2}a5=g+B.a.j(a5,n,a4) -q-=0 -i=s-0 -m+=i -l+=i +m+=s +l+=s a4=a5.length p=7 o=7 n=7}else if(n===m){++l f=m+1 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 +m=f}j="file"}else if(B.a.A(a5,"http",0)){if(i&&o+3===n&&B.a.A(a5,"80",o+1)){l-=3 e=n-3 m-=3 a5=B.a.W(a5,o,n,"") a4-=3 -n=e}j="http"}else j=a3 -else if(q===5&&B.a.v(a5,"https",0)){if(i&&o+4===n&&B.a.v(a5,"443",o+1)){l-=4 +n=e}j="http"}}else if(q===5&&B.a.A(a5,"https",0)){if(i&&o+4===n&&B.a.A(a5,"443",o+1)){l-=4 e=n-4 m-=4 a5=B.a.W(a5,o,n,"") a4-=3 -n=e}j="https"}else j=a3 -k=!0}}}}else j=a3 -if(k){if(a40)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=d0)j=A.er(a5,0,q) +else{if(q===0)A.bd(a5,0,"Invalid empty scheme") +j=""}d=a3 +if(p>0){c=q+3 +b=c9)k.$2("invalid character",s)}else{if(q===3)k.$2(m,s) -o=A.W(B.a.j(a,r,s),null) -if(o>255)k.$2(l,r) -n=q+1 -if(!(q<4))return A.b(j,q) -j[q]=o -r=s+1 -q=n}}if(q!==3)k.$2(m,c) -o=A.W(B.a.j(a,r,c),null) -if(o>255)k.$2(l,r) -if(!(q<4))return A.b(j,q) -j[q]=o -return j}, -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) +if(i=0&&r9)j.$2("invalid character",r)}else{if(p===3)j.$2(l,r) +n=A.Y(B.a.j(a,q,r),null) +if(n>255)j.$2(k,q) +m=p+1 +if(!(p<4))return A.a(i,p) +i[p]=n +q=r+1 +p=m}}if(p!==3)j.$2(l,c) +n=A.Y(B.a.j(a,q,c),null) +if(n>255)j.$2(k,q) +if(!(p<4))return A.a(i,p) +i[p]=n +return i}, +hf(a,a0,a1){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null,d=new A.eg(a),c=new A.eh(d,a),b=a.length +if(b<2)d.$2("address is too short",e) s=A.f([],t.t) -for(r=a0,q=r,p=!1,o=!1;r=0&&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=0&&h<16))return A.b(j,h) -j[h]=0 -e=h+1 -if(!(e<16))return A.b(j,e) -j[e]=0 -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 A.b(j,e) -j[e]=g&255 -h+=2}}return j}, -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) +b=B.b.gK(s) +if(m&&b!==-1)d.$2("expected a part after last `:`",a1) +if(!m)if(!o)B.b.k(s,c.$2(q,a1)) +else{l=A.jK(a,q,a1) +B.b.k(s,(l[0]<<8|l[1])>>>0) +B.b.k(s,(l[2]<<8|l[3])>>>0)}if(p){if(s.length>7)d.$2("an address with a wildcard must have less than 7 parts",e)}else if(s.length!==8)d.$2("an address without a wildcard must contain exactly 8 parts",e) +k=new Uint8Array(16) +for(b=s.length,j=9-b,r=0,i=0;r=0&&i<16))return A.a(k,i) +k[i]=0 +f=i+1 +if(!(f<16))return A.a(k,f) +k[f]=0 +i+=2}else{f=B.c.ai(h,8) +if(!(i>=0&&i<16))return A.a(k,i) +k[i]=f +f=i+1 +if(!(f<16))return A.a(k,f) +k[f]=h&255 +i+=2}}return k}, +c8(a,b,c,d,e,f,g){return new A.c7(a,b,c,d,e,f,g)}, +F(a,b,c,d){var s,r,q,p,o,n,m,l,k=null +d=d==null?"":A.er(d,0,d.length) +s=A.hA(k,0,0) +a=A.hx(a,0,a==null?0:a.length,!1) +r=A.hz(k,0,0,k) +q=A.hw(k,0,0) +p=A.eq(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=A.hb(b,0,b==null?0:b.length,c,d,m) +b=A.hy(b,0,b==null?0:b.length,c,d,m) l=d.length===0 -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(l&&n&&!B.a.q(b,"/"))b=A.ff(b,!l||m) +else b=A.aS(b) +return A.c8(d,s,n&&B.a.q(b,"//")?"":a,p,b,r,q)}, +ht(a){if(a==="http")return 80 if(a==="https")return 443 return 0}, -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 +bd(a,b,c){throw A.b(A.z(c,a,b))}, +hs(a,b){return b?A.k8(a,!1):A.k7(a,!1)}, +k3(a,b){var s,r,q for(s=a.length,r=0;r")),r=r.i("A.E");s.n();){q=s.d +if(J.fz(q,"/")){s=A.A("Illegal path character "+A.h(q)) +throw A.b(s)}}}, +eo(a,b,c){var s,r,q +for(s=A.a6(a,c,null,A.w(a).c),r=s.$ti,s=new A.L(s,s.gl(0),r.h("L")),r=r.h("x.E");s.m();){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(B.a.u(q,A.p('["*/:<>?\\\\|]',!1)))if(b)throw A.b(A.J("Illegal character in path")) +else throw A.b(A.A("Illegal character in path: "+q))}}, +k4(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 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) +if(b)throw A.b(A.J(r+A.h3(a))) +else throw A.b(A.A(r+A.h3(a)))}, +k7(a,b){var s=null,r=A.f(a.split("/"),t.s) +if(B.a.q(a,"/"))return A.F(s,s,r,"file") +else return A.F(s,s,r,s)}, +k8(a,b){var s,r,q,p,o,n="\\",m=null,l="file" +if(B.a.q(a,"\\\\?\\"))if(B.a.A(a,"UNC\\",4))a=B.a.W(a,0,7,n) +else{a=B.a.C(a,4) s=a.length -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?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 +r=!0 +if(s>=3){if(1>=s)return A.a(a,1) +if(a.charCodeAt(1)===58){if(2>=s)return A.a(a,2) +s=a.charCodeAt(2)!==92}else s=r}else s=r +if(s)throw A.b(A.dv(a,"path","Windows paths with \\\\?\\ prefix must be absolute"))}else a=A.Z(a,"/",n) +s=a.length +if(s>1&&a.charCodeAt(1)===58){if(0>=s)return A.a(a,0) +A.k4(a.charCodeAt(0),!0) +if(s!==2){if(2>=s)return A.a(a,2) +s=a.charCodeAt(2)!==92}else s=!0 +if(s)throw A.b(A.dv(a,"path","Windows paths with drive letter must be absolute")) +q=A.f(a.split(n),t.s) +A.eo(q,!0,1) +return A.F(m,m,q,l)}if(B.a.q(a,n))if(B.a.A(a,n,1)){p=B.a.a3(a,n,2) +s=p<0 +o=s?B.a.C(a,2):B.a.j(a,2,p) +q=A.f((s?"":B.a.C(a,p+1)).split(n),t.s) +A.eo(q,!0,0) +return A.F(o,m,q,l)}else{q=A.f(a.split(n),t.s) +A.eo(q,!0,0) +return A.F(m,m,q,l)}else{q=A.f(a.split(n),t.s) +A.eo(q,!0,0) +return A.F(m,m,q,m)}}, +eq(a,b){if(a!=null&&a===A.ht(b))return null return a}, -ha(a,b,c,d){var s,r,q,p,o,n +hx(a,b,c,d){var s,r,q,p,o,n if(a==null)return null if(b===c)return"" -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=0&&b=0&&r=b&&q=b&&s>>4 -if(!(n<8))return A.b(B.k,n) -n=(B.k[n]&1<<(p&15))!==0}else n=!1 -if(n){if(q&&65<=p&&90>=p){if(i==null)i=new A.D("") -if(r=0&&r>>4 -if(!(m<8))return A.b(B.A,m) -m=(B.A[m]&1<<(o&15))!==0}else m=!1 -if(m){if(p&&65<=o&&90>=o){if(q==null)q=new A.D("") -if(r>>4 -if(!(m<8))return A.b(B.i,m) -m=(B.i[m]&1<<(o&15))!==0}else m=!1 -if(m)A.b3(a,s,"Invalid character") -else{if((o&64512)===55296&&s+1=o){if(h==null)h=new A.C("") +if(q=0&&r>>4 +if(!(l<8))return A.a(B.y,l) +l=(B.y[l]&1<<(n&15))!==0}else l=!1 +if(l){if(o&&65<=n&&90>=n){if(p==null)p=new A.C("") +if(q>>4 +if(!(l<8))return A.a(B.j,l) +l=(B.j[l]&1<<(n&15))!==0}else l=!1 +if(l)A.bd(a,r,"Invalid character") +else{i=1 +if((n&64512)===55296&&r+1>>4 -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" +s=a.length +if(!(b>>4 +if(!(o<8))return A.a(B.i,o) +o=(B.i[o]&1<<(p&15))!==0}else o=!1 +if(!o)A.bd(a,r,"Illegal scheme character") +if(65<=p&&p<=90)q=!0}a=B.a.j(a,b,c) +return A.k2(q?a.toLowerCase():a)}, +k2(a){if(a==="http")return"http" if(a==="file")return"file" if(a==="https")return"https" if(a==="package")return"package" return a}, -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 +hA(a,b,c){if(a==null)return"" +return A.c9(a,b,c,B.a0,!1,!1)}, +hy(a,b,c,d,e,f){var s,r,q=e==="file",p=q||f if(a==null){if(d==null)return q?"/":"" -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) +s=A.w(d) +r=new A.q(d,s.h("c(1)").a(new A.ep()),s.h("q<1,c>")).Z(0,"/")}else if(d!=null)throw A.b(A.J("Both path and pathSegments specified")) +else r=A.c9(a,b,c,B.z,!0,!0) +if(r.length===0){if(q)return"/"}else if(p&&!B.a.q(r,"/"))r="/"+r +return A.k9(r,e,f)}, +k9(a,b,c){var s=b.length===0 +if(s&&!c&&!B.a.q(a,"/")&&!B.a.q(a,"\\"))return A.ff(a,!s||c) +return A.aS(a)}, +hz(a,b,c,d){if(a!=null)return A.c9(a,b,c,B.h,!0,!1) return null}, -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=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=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() +hw(a,b,c){if(a==null)return null +return A.c9(a,b,c,B.h,!0,!1)}, +fe(a,b,c){var s,r,q,p,o,n,m=b+2,l=a.length +if(m>=l)return"%" +s=b+1 +if(!(s>=0&&s=0))return A.a(a,m) +q=a.charCodeAt(m) +p=A.eJ(r) +o=A.eJ(q) +if(p<0||o<0)return"%" +n=p*16+o +if(n<127){m=B.c.ai(n,4) +if(!(m<8))return A.a(B.k,m) +m=(B.k[m]&1<<(n&15))!==0}else m=!1 +if(m)return A.N(c&&65<=n&&90>=n?(n|32)>>>0:n) +if(r>=97||q>=97)return B.a.j(a,b,b+3).toUpperCase() return null}, -eV(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" +fd(a){var s,r,q,p,o,n,m,l,k="0123456789ABCDEF" if(a<128){s=new Uint8Array(3) s[0]=37 -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=B.c.ca(a,6*q)&63|r -if(!(o>>4 +if(!(r<16))return A.a(k,r) +s[1]=k.charCodeAt(r) +s[2]=k.charCodeAt(a&15)}else{if(a>2047)if(a>65535){q=240 +p=4}else{q=224 +p=3}else{q=192 +p=2}r=3*p +s=new Uint8Array(r) +for(o=0;--p,p>=0;q=128){n=B.c.cf(a,6*p)&63|q +if(!(o>>4) -if(!(m>>4 +if(!(l<16))return A.a(k,l) +if(!(m>>4 -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=A.eX(a,r,!1) -if(m==null){r+=3 -continue}if("%"===m){m="%25" -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){A.b3(a,r,"Invalid character") -l=i -m=l}else{if((o&64512)===55296){n=r+1 -if(n=0&&q>>4 +if(!(m<8))return A.a(d,m) +m=(d[m]&1<<(n&15))!==0}else m=!1 +if(m)++q +else{l=1 +if(n===37){k=A.fe(a,q,!1) +if(k==null){q+=3 +continue}if("%"===k)k="%25" +else l=3}else if(n===92&&f)k="/" +else{m=!1 +if(s)if(n<=93){m=n>>>4 +if(!(m<8))return A.a(B.j,m) +m=(B.j[m]&1<<(n&15))!==0}if(m){A.bd(a,q,"Invalid character") +l=h +k=l}else{if((n&64512)===55296){m=q+1 +if(m=m)return A.b(s,-1) +if(J.H(n,"..")){m=s.length +if(m!==0){if(0>=m)return A.a(s,-1) s.pop() -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 +if(s.length===0)B.b.k(s,"")}p=!0}else{p="."===n +if(!p)B.b.k(s,n)}}if(p)B.b.k(s,"") +return B.b.Z(s,"/")}, +ff(a,b){var s,r,q,p,o,n +if(!A.hB(a))return!b?A.hu(a):a s=A.f([],t.s) for(r=a.split("/"),q=r.length,p=!1,o=0;o=s.length)return A.b(s,-1) -s.pop() -p=!0}else{B.b.k(s,"..") -p=!1}else if("."===n)p=!0 -else{B.b.k(s,n) -p=!1}}r=s.length -if(r!==0)if(r===1){if(0>=r)return A.b(s,0) +if(".."===n){p=s.length!==0&&B.b.gK(s)!==".." +if(p){if(0>=s.length)return A.a(s,-1) +s.pop()}else B.b.k(s,"..")}else{p="."===n +if(!p)B.b.k(s,n)}}r=s.length +if(r!==0)if(r===1){if(0>=r)return A.a(s,0) r=s[0].length===0}else r=!1 else r=!0 if(r)return"./" if(p||B.b.gK(s)==="..")B.b.k(s,"") -if(!b){if(0>=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=s.length)return A.a(s,0) +B.b.v(s,0,A.hu(s[0]))}return B.b.Z(s,"/")}, +hu(a){var s,r,q,p=a.length +if(p>=2&&A.hv(a.charCodeAt(0)))for(s=1;s>>4 -if(!(q<8))return A.b(B.j,q) -q=(B.j[q]&1<<(r&15))===0}else q=!0 +if(!(q<8))return A.a(B.i,q) +q=(B.i[q]&1<<(r&15))===0}else q=!0 if(q)break}return a}, -jP(a,b){if(a.cs("package")&&a.c==null)return A.hu(b,0,b.length) +kb(a,b){if(a.cu("package")&&a.c==null)return A.hS(b,0,b.length) return-1}, -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=A.dM(r,p,"\\") -o=s&&o===1?r+"\\":r -return o.charCodeAt(0)==0?o:o}, -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 A.a(A.F("Invalid URL encoding"))}}return s}, -eZ(a,b,c,d,e){var s,r,q,p,o=b -while(!0){if(!(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 +break}++n}if(s)if(B.f===d)return B.a.j(a,b,c) +else p=new A.aZ(B.a.j(a,b,c)) +else{p=A.f([],t.t) +for(n=b;n127)throw A.b(A.J("Illegal percent encoding in URI")) +if(r===37){if(n+3>o)throw A.b(A.J("Truncated URI")) +B.b.k(p,A.k6(a,n+1)) +n+=2}else B.b.k(p,r)}}t.L.a(p) +return B.ab.aj(p)}, +hv(a){var s=a|32 return 97<=s&&s<=122}, -ji(a,b,c,d,e){var s,r -if(!0)d.a=d.a -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+=A.f_(B.z,B.a.D("",s+1),B.e,!1)}}, -jh(a){var s,r,q -for(s=a.length,r=-1,q=0;qb)throw A.a(A.q(k,a,r)) +continue}throw A.b(A.z(k,a,r))}}if(q<0&&r>b)throw A.b(A.z(k,a,r)) for(;p!==44;){B.b.k(j,r);++r -for(o=-1;r=0))return A.a(a,r) +p=a.charCodeAt(r) if(p===61){if(o<0)o=r}else if(p===59||p===44)break}if(o>=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)) +if(p!==44||r!==n+7||!B.a.A(a,"base64",n+1))throw A.b(A.z("Expecting '='",a,r)) break}}B.b.k(j,r) m=r+1 -if((j.length&1)===1)a=B.G.cv(a,m,s) -else{l=A.hg(a,m,s,B.h,!0,!1) -if(l!=null)a=B.a.W(a,m,s,l)}return new A.cS(a,j,c)}, -jg(a,b,c){var s,r,q,p,o,n,m="0123456789ABCDEF" -for(s=J.aI(b),r=0,q=0;q>>4 +if(!(o<8))return A.a(a,o) o=(a[o]&1<<(p&15))!==0}else o=!1 -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,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,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,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,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,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,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,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,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,138) -q.$3(n,h,172) -q.$3(n,g,205) +if(o){o=A.N(p) +c.a+=o}else{o=A.N(37) +c.a+=o +o=p>>>4 +if(!(o<16))return A.a(n,o) +o=A.N(n.charCodeAt(o)) +c.a+=o +o=A.N(n.charCodeAt(p&15)) +c.a+=o}}if((r&4294967040)!==0)for(q=0;q255)throw A.b(A.dv(p,"non-byte value",null))}}, +kn(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="\\",i="?",h="#",g="/\\",f=A.f(new Array(22),t.dc) +for(s=0;s<22;++s)f[s]=new Uint8Array(96) +r=new A.ez(f) +q=new A.eA() +p=new A.eB() +o=r.$2(0,225) +q.$3(o,n,1) +q.$3(o,m,14) +q.$3(o,l,34) +q.$3(o,k,3) +q.$3(o,j,227) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(14,225) +q.$3(o,n,1) +q.$3(o,m,15) +q.$3(o,l,34) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(15,225) +q.$3(o,n,1) +q.$3(o,"%",225) +q.$3(o,l,34) +q.$3(o,k,9) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(1,225) +q.$3(o,n,1) +q.$3(o,l,34) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(2,235) +q.$3(o,n,139) +q.$3(o,k,131) +q.$3(o,j,131) +q.$3(o,m,146) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(3,235) +q.$3(o,n,11) +q.$3(o,k,68) +q.$3(o,j,68) +q.$3(o,m,18) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(4,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,"[",232) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(5,229) +q.$3(o,n,5) +p.$3(o,"AZ",229) +q.$3(o,l,102) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(6,231) +p.$3(o,"19",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(7,231) +p.$3(o,"09",7) +q.$3(o,"@",68) +q.$3(o,k,138) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,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,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,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,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,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,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,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,234) -q.$3(n,h,172) -q.$3(n,g,205) -n=r.$2(12,236) -q.$3(n,m,12) -q.$3(n,h,12) -q.$3(n,g,205) -n=r.$2(13,237) -q.$3(n,m,13) -q.$3(n,h,13) +o=r.$2(9,235) +q.$3(o,n,11) +q.$3(o,m,16) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(16,235) +q.$3(o,n,11) +q.$3(o,m,17) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(17,235) +q.$3(o,n,11) +q.$3(o,k,9) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(10,235) +q.$3(o,n,11) +q.$3(o,m,18) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(18,235) +q.$3(o,n,11) +q.$3(o,m,19) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(19,235) +q.$3(o,n,11) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(11,235) +q.$3(o,n,11) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) +o=r.$2(12,236) +q.$3(o,n,12) +q.$3(o,i,12) +q.$3(o,h,205) +o=r.$2(13,237) +q.$3(o,n,13) +q.$3(o,i,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) +o=r.$2(21,245) +p.$3(o,"az",21) +p.$3(o,"09",21) +q.$3(o,"+-.",21) +return f}, +hR(a,b,c,d,e){var s,r,q,p,o,n=$.iE() +for(s=a.length,r=b;r=0&&d95?31:p] +d=o&31 +B.b.v(e,o>>>5,r)}return d}, +hm(a){if(a.b===7&&B.a.q(a.a,"package")&&a.c<=0)return A.hS(a.a,a.e,a.f) return-1}, -hu(a,b,c){var s,r,q -for(s=b,r=0;s=0&&r=1;s=q){q=s-1 -if(b[q]!=null)break}p=new A.D("") +if(b[q]!=null)break}p=new A.C("") o=""+(a+"(") p.a=o -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 A.o(l,m.i("c(A.E)").a(new A.em()),m.i("o")).X(0,", ") +n=A.w(b) +m=n.h("aM<1>") +l=new A.aM(b,0,s,m) +l.c_(b,0,s,n.c) +m=o+new A.q(l,m.h("c(x.E)").a(new A.eG()),m.h("q")).Z(0,", ") p.a=m p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") -throw A.a(A.F(p.h(0)))}}, -cd:function cd(a,b){this.a=a +throw A.b(A.J(p.i(0)))}}, +cp:function cp(a,b){this.a=a this.b=b}, -dk:function dk(){}, -dl:function dl(){}, -em:function em(){}, -aZ:function aZ(a){this.a=a}, -b_:function b_(a){this.a=a}, -av:function av(){}, -aA(a,b){var s,r,q,p,o,n=b.bN(a) +dE:function dE(){}, +dF:function dF(){}, +eG:function eG(){}, +b9:function b9(a){this.a=a}, +ba:function ba(a){this.a=a}, +b1:function b1(){}, +aJ(a,b){var s,r,q,p,o,n,m=b.bQ(a) b.R(a) -if(n!=null)a=B.a.D(a,n.length) +if(m!=null)a=B.a.C(a,m.length) s=t.s r=A.f([],s) q=A.f([],s) s=a.length -if(s!==0&&b.A(B.a.l(a,0))){if(0>=s)return A.b(a,0) +if(s!==0){if(0>=s)return A.a(a,0) +p=b.B(a.charCodeAt(0))}else p=!1 +if(p){if(0>=s)return A.a(a,0) B.b.k(q,a[0]) -p=1}else{B.b.k(q,"") -p=0}for(o=p;o=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)) +dq(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.b(A.e3("incomplete VLQ value")) +o=a.gn() +n=$.iw().p(0,o) +if(n==null)throw A.b(A.z("invalid character in VLQ encoding: "+o,l,l)) q=(n&32)===0 -r+=B.c.c9(n&31,p) +r+=B.c.ce(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)) +if(r<$.iM()||r>$.iL())throw A.b(A.z("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 +eD:function eD(){}, +cS:function cS(a,b,c){var _=this _.a=a _.b=b _.c=c _.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 +f4(a,b,c,d){var s=typeof d=="string"?A.R(d):t.I.a(d),r=c==null,q=r?0:c,p=b==null,o=p?a:b +if(a<0)A.D(A.f1("Offset may not be negative, was "+a+".")) +else if(!r&&c<0)A.D(A.f1("Line may not be negative, was "+A.h(c)+".")) +else if(!p&&b<0)A.D(A.f1("Column may not be negative, was "+A.h(b)+".")) +return new A.cT(s,a,q,o)}, +cT:function cT(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=d}, -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(){}, -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 +cU:function cU(){}, +cV:function cV(){}, +j2(a){var s,r,q=u.a +if(a.length===0)return new A.ap(A.a4(A.f([],t.J),t.a)) +s=$.fy() +if(B.a.u(a,s)){s=B.a.ag(a,s) +r=A.w(s) +return new A.ap(A.a4(new A.V(new A.W(s,r.h("S(1)").a(new A.dy()),r.h("W<1>")),r.h("t(1)").a(A.lo()),r.h("V<1,t>")),t.a))}if(!B.a.u(a,q))return new A.ap(A.a4(A.f([A.f7(a)],t.J),t.a)) +return new A.ap(A.a4(new A.q(A.f(a.split(q),t.s),t.u.a(A.ln()),t.ax),t.a))}, +ap:function ap(a){this.a=a}, +dy:function dy(){}, +dD:function dD(){}, +dC:function dC(){}, +dA:function dA(){}, +dB:function dB(a){this.a=a}, +dz:function dz(a){this.a=a}, +jf(a){return A.fJ(A.k(a))}, +fJ(a){return A.cr(a,new A.dM(a))}, +je(a){return A.jb(A.k(a))}, +jb(a){return A.cr(a,new A.dK(a))}, +j8(a){return A.cr(a,new A.dH(a))}, +jc(a){return A.j9(A.k(a))}, +j9(a){return A.cr(a,new A.dI(a))}, +jd(a){return A.ja(A.k(a))}, +ja(a){return A.cr(a,new A.dJ(a))}, +eV(a){if(B.a.u(a,$.ib()))return A.R(a) +else if(B.a.u(a,$.ic()))return A.hs(a,!0) +else if(B.a.q(a,"/"))return A.hs(a,!1) +if(B.a.u(a,"\\"))return $.iO().bP(a) +return A.R(a)}, +cr(a,b){var s,r try{s=b.$0() -return s}catch(r){if(A.c3(r) instanceof A.aO)return new A.a5(A.E(null,"unparsed",null,null),a) +return s}catch(r){if(A.cf(r) instanceof A.U)return new A.a7(A.F(null,"unparsed",null,null),a) else throw r}}, -i:function i(a,b,c,d){var _=this +j:function j(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.d=d}, -du:function du(a){this.a=a}, -ds:function ds(a){this.a=a}, -dt:function dt(a){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 +dM:function dM(a){this.a=a}, +dK:function dK(a){this.a=a}, +dL:function dL(a){this.a=a}, +dH:function dH(a){this.a=a}, +dI:function dI(a){this.a=a}, +dJ:function dJ(a){this.a=a}, +cE:function cE(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) +jE(a){if(t.a.b(a))return a +if(a instanceof A.ap)return a.bO() +return new A.cE(new A.e9(a))}, +f7(a){var s,r,q +try{if(a.length===0){r=A.f6(A.f([],t.F),null) +return r}if(B.a.u(a,$.iH())){r=A.jD(a) +return r}if(B.a.u(a,"\tat ")){r=A.jC(a) +return r}if(B.a.u(a,$.iA())||B.a.u(a,$.iy())){r=A.jB(a) +return r}if(B.a.u(a,u.a)){r=A.j2(a).bO() +return r}if(B.a.u(a,$.iC())){r=A.h7(a) +return r}r=A.h8(a) +return r}catch(q){r=A.cf(q) +if(r instanceof A.U){s=r +throw A.b(A.z(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +jG(a){return A.h8(A.k(a))}, +h8(a){var s=A.a4(A.jH(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))) +jH(a){var s,r=B.a.bf(a),q=$.fy(),p=t.U,o=new A.W(A.f(A.Z(r,q,"").split("\n"),t.s),t.Q.a(new A.ea()),p) +if(!o.gt(0).m())return A.f([],t.F) +r=A.h6(o,o.gl(0)-1,p.h("d.E")) +q=A.l(r) +q=A.dT(r,q.h("j(d.E)").a(A.kW()),q.h("d.E"),t.B) +s=A.aG(q,!0,A.l(q).h("d.E")) +if(!J.iU(o.gK(0),".da"))B.b.k(s,A.fJ(o.gK(0))) 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())) +jD(a){var s,r,q=A.a6(A.f(a.split("\n"),t.s),1,null,t.N) +q=q.bV(0,q.$ti.h("S(x.E)").a(new A.e8())) 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) +s=A.a4(A.dT(q,r.h("j(d.E)").a(A.hZ()),r.h("d.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) +jC(a){var s=A.a4(new A.V(new A.W(A.f(a.split("\n"),t.s),t.Q.a(new A.e7()),t.U),t.d.a(A.hZ()),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) +jB(a){var s=A.a4(new A.V(new A.W(A.f(B.a.bf(a).split("\n"),t.s),t.Q.a(new A.e5()),t.U),t.d.a(A.kU()),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) +jF(a){return A.h7(A.k(a))}, +h7(a){var s=a.length===0?A.f([],t.F):new A.V(new A.W(A.f(B.a.bf(a).split("\n"),t.s),t.Q.a(new A.e6()),t.U),t.d.a(A.kV()),t.M) +s=A.a4(s,t.B) return new A.t(s)}, -eO(a,b){var s=A.a2(a,t.B) +f6(a,b){var s=A.a4(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 +e9:function e9(a){this.a=a}, +ea:function ea(){}, +e8:function e8(){}, +e7:function e7(){}, +e5:function e5(){}, +e6:function e6(){}, +ec:function ec(){}, +eb:function eb(a){this.a=a}, +a7:function a7(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,".") +l9(a,b,c){var s=A.jE(b).ga9(),r=A.w(s) +return A.f6(new A.bE(new A.q(s,r.h("j?(1)").a(new A.eP(a,c)),r.h("q<1,j?>")),t.cK),null)}, +kG(a){var s,r,q,p,o,n,m,l=B.a.bF(a,".") if(l<0)return a -s=B.a.D(a,l+1) +s=B.a.C(a,l+1) a=s==="fn"?a:s -a=A.X(a,"$124","|") -if(B.a.E(a,"|")){r=B.a.ak(a,"|") +a=A.Z(a,"$124","|") +if(B.a.u(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,"|",".") +if(B.a.q(m,"unary")||B.a.q(m,"$"))a=A.kL(a) +o=!1}}a=A.Z(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 +kL(a){return A.lg(a,A.p("\\$[0-9]+",!1),t.aL.a(t.bj.a(new A.eF(a))),null)}, +eP:function eP(a,b){this.a=a this.b=b}, -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 +eF:function eF(a){this.a=a}, +la(a){var s +A.k(a) +s=$.hP +if(s==null)throw A.b(A.e3("Source maps are not done loading.")) +return A.l9(s,A.f7(a),$.iN()).i(0)}, +lc(a){$.hP=new A.cD(new A.cF(A.f_(t.N,t.E)),t.q.a(a))}, +l7(){self.$dartStackTraceUtility={mapper:A.hV(A.ld(),t.bm),setSourceMapProvider:A.hV(A.le(),t.ae)}}, +dG:function dG(){}, +cD:function cD(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 +eQ:function eQ(){}, +ds(a){A.ll(new A.cC("Field '"+a+"' has been assigned during initialization."),new Error())}, +km(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 +s=function(b,c){return function(){return b(c,Array.prototype.slice.apply(arguments))}}(A.kj,a) +s[$.fu()]=a a.$dart_jsFunction=s return s}, -jV(a,b){t.j.a(b) +kj(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 A.jp(a,b,null)}, +hV(a,b){if(typeof a=="function")return a +else return b.a(A.km(a))}, +i3(a,b,c){A.kP(c,t.H,"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 +i7(a,b){return Math.pow(a,b)}, +fm(){var s,r,q,p,o=null +try{o=A.f9()}catch(s){if(t.W.b(A.cf(s))){r=$.eC if(r!=null)return r -throw s}else throw s}if(J.Q(o,$.hl)){r=$.ei +throw s}else throw s}if(J.H(o,$.hJ)){r=$.eC r.toString -return r}$.hl=o -if($.ex()==$.b7())r=$.ei=o.b4(".").h(0) -else{q=o.b5() +return r}$.hJ=o +if($.fv()===$.bi())r=$.eC=o.bd(".").i(0) +else{q=o.be() p=q.length-1 -r=$.ei=p===0?q:B.a.j(q,0,p)}return r}, -hD(a){var s +r=$.eC=p===0?q:B.a.j(q,0,p)}return r}, +i1(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&&b=0&&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=0&&q").E(b).h("aa<1,2>"))}, +k(a,b){A.w(a).c.a(b) +if(!!a.fixed$length)A.D(A.A("add")) a.push(b)}, -aE(a,b){var s -if(!!a.fixed$length)A.C(A.y("removeAt")) +aI(a,b){var s +if(!!a.fixed$length)A.D(A.A("removeAt")) s=a.length -if(b>=s)throw A.a(A.dF(b,null)) +if(b>=s)throw A.b(A.f2(b,null)) return a.splice(b,1)[0]}, -aW(a,b,c){var s -A.B(a).c.a(c) -if(!!a.fixed$length)A.C(A.y("insert")) +b2(a,b,c){var s +A.w(a).c.a(c) +if(!!a.fixed$length)A.D(A.A("insert")) s=a.length -if(b>s)throw A.a(A.dF(b,null)) +if(b>s)throw A.b(A.f2(b,null)) a.splice(b,0,c)}, -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 -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.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)) +b3(a,b,c){var s,r +A.w(a).h("d<1>").a(c) +if(!!a.fixed$length)A.D(A.A("insertAll")) +A.h_(b,0,a.length,"index") +if(!t.X.b(c))c=J.j_(c) +s=J.Q(c) +a.length=a.length+s +r=b+s +this.bi(a,r,a.length,a,b) +this.bS(a,b,r,c)}, +bc(a){if(!!a.fixed$length)A.D(A.A("removeLast")) +if(a.length===0)throw A.b(A.bg(a,-1)) return a.pop()}, -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}, -bZ(a,b){var s,r +aT(a,b){var s +A.w(a).h("d<1>").a(b) +if(!!a.fixed$length)A.D(A.A("addAll")) +if(Array.isArray(b)){this.c1(a,b) +return}for(s=J.T(b);s.m();)a.push(s.gn())}, +c1(a,b){var s,r t.b.a(b) s=b.length if(s===0)return -if(a===b)throw A.a(A.a7(a)) +if(a===b)throw A.b(A.a0(a)) for(r=0;r").S(c).i("o<1,2>"))}, -X(a,b){var s,r=A.am(a.length,"",!1,t.N) -for(s=0;s").E(c).h("q<1,2>"))}, +Z(a,b){var s,r=A.af(a.length,"",!1,t.N) +for(s=0;s=0&&b=0&&b0)return a[0] -throw A.a(A.ch())}, +gaW(a){if(a.length>0)return a[0] +throw A.b(A.bx())}, gK(a){var s=a.length if(s>0)return a[s-1] -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) +throw A.b(A.bx())}, +bi(a,b,c,d,e){var s,r,q,p,o +A.w(a).h("d<1>").a(d) +if(!!a.immutable$list)A.D(A.A("setRange")) +A.aK(b,c,a.length) s=c-b if(s===0)return -A.aS(e,"skipCount") -r=d -q=J.aI(r) -if(e+s>q.gq(r))throw A.a(A.iO()) -if(e=0;--p)a[b+p]=q.t(r,e+p) -else for(p=0;pp.gl(r))throw A.b(A.jh()) +if(q=0;--o)a[b+o]=p.p(r,q+o) +else for(o=0;o"))}, -gF(a){return A.cE(a)}, -gq(a){return a.length}, -t(a,b){A.P(b) -if(!(b>=0&&b"))}, +gD(a){return A.cQ(a)}, +gl(a){return a.length}, +p(a,b){if(!(b>=0&&b=0&&b=0&&b=p){r.sbc(null) -return!1}r.sbc(q[s]);++r.c +m(){var s,r=this,q=r.a,p=q.length +if(r.b!==p){q=A.ce(q) +throw A.b(q)}s=r.c +if(s>=p){r.sbk(null) +return!1}r.sbk(q[s]);++r.c return!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" +sbk(a){this.d=this.$ti.h("1?").a(a)}, +$in:1} +J.cx.prototype={ +i(a){if(a===0&&1/a<0)return"-0.0" else return""+a}, -gF(a){var s,r,q,p,o=a|0 +gD(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}, -aG(a,b){var s=a%b +aq(a,b){return a+b}, +aK(a,b){var s=a%b if(s===0)return 0 if(s>0)return s return s+b}, -bp(a,b){return(a|0)===a?a/b|0:this.cd(a,b)}, -cd(a,b){var s=a/b +bv(a,b){return(a|0)===a?a/b|0:this.cj(a,b)}, +cj(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 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) +throw A.b(A.A("Result of truncating division is "+A.h(s)+": "+A.h(a)+" ~/ "+b))}, +ce(a,b){return b>31?0:a<>>0}, +ai(a,b){var s +if(a>0)s=this.bu(a,b) else{s=b>31?31:b s=a>>s>>>0}return s}, -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(a,b){if(b>=a.length)throw A.a(A.aq(a,b)) +cf(a,b){if(0>b)throw A.b(A.cb(b)) +return this.bu(a,b)}, +bu(a,b){return b>31?0:a>>>b}, +gU(a){return A.an(t.H)}, +$iaU:1} +J.by.prototype={ +gU(a){return A.an(t.S)}, +$iG:1, +$ie:1} +J.cw.prototype={ +gU(a){return A.an(t.i)}, +$iG:1} +J.aE.prototype={ +cl(a,b){if(b<0)throw A.b(A.bg(a,b)) +if(b>=a.length)A.D(A.bg(a,b)) return a.charCodeAt(b)}, -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)) +aw(a,b,c){var s=b.length +if(c>s)throw A.b(A.B(c,0,s,null,null)) +return new A.dh(b,a,c)}, +av(a,b){return this.aw(a,b,0)}, +bH(a,b,c){var s,r,q,p,o=null +if(c<0||c>b.length)throw A.b(A.B(c,0,b.length,o,o)) s=a.length -if(c+s>b.length)return q -for(r=0;rr)return o +for(q=0;q=0&&pr)return!1 -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() +return b===this.C(a,r-s)}, +bN(a,b,c){A.h_(0,0,a.length,"startIndex") +return A.lk(a,b,c,0)}, +ag(a,b){if(typeof b=="string")return A.f(a.split(b),t.s) +else if(b instanceof A.aq&&b.gbs().exec("").length-2===0)return A.f(a.split(b.b),t.s) +else return this.c4(a,b)}, +W(a,b,c,d){var s=A.aK(b,c,a.length) +return A.ft(a,b,s,d)}, +c4(a,b){var s,r,q,p,o,n,m=A.f([],t.s) +for(s=J.eS(b,a),s=s.gt(s),r=0,q=1;s.m();){p=s.gn() o=p.gJ() -n=p.gN() +n=p.gM() q=n-o if(q===0&&r===o)continue B.b.k(m,this.j(a,r,o)) -r=n}if(r0)B.b.k(m,this.D(a,r)) +r=n}if(r0)B.b.k(m,this.C(a,r)) return m}, -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)) +A(a,b,c){var s +if(c<0||c>a.length)throw A.b(A.B(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.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 +return b===a.substring(c,s)}return J.iX(b,a,c)!=null}, +q(a,b){return this.A(a,b,0)}, +j(a,b,c){return a.substring(b,A.aK(b,c,a.length))}, +C(a,b){return this.j(a,b,null)}, +bf(a){var s,r,q,p=a.trim(),o=p.length if(o===0)return p -if(this.l(p,0)===133){s=J.iS(p,1) +if(0>=o)return A.a(p,0) +if(p.charCodeAt(0)===133){s=J.jk(p,1) if(s===o)return""}else s=0 r=o-1 -q=this.m(p,r)===133?J.iT(p,r):o +if(!(r>=0))return A.a(p,r) +q=p.charCodeAt(r)===133?J.jl(p,r):o if(s===0&&q===o)return p return p.substring(s,q)}, -b9(a,b){var s,r +bh(a,b){var s,r if(0>=b)return"" if(b===1||a.length===0)return a -if(b!==b>>>0)throw A.a(B.P) +if(b!==b>>>0)throw A.b(B.O) for(s=a,r="";!0;){if((b&1)===1)r=s+r b=b>>>1 if(b===0)break s+=s}return r}, -bF(a,b){var s=b-a.length +bJ(a,b){var s=b-a.length if(s<=0)return a -return a+this.b9(" ",s)}, -a0(a,b,c){var s -if(c<0||c>a.length)throw A.a(A.x(c,0,a.length,null,null)) +return a+this.bh(" ",s)}, +a3(a,b,c){var s +if(c<0||c>a.length)throw A.b(A.B(c,0,a.length,null,null)) s=a.indexOf(b,c) return s}, -ak(a,b){return this.a0(a,b,0)}, -bz(a,b,c){var s,r +ak(a,b){return this.a3(a,b,0)}, +bG(a,b,c){var s,r if(c==null)c=a.length -else if(c<0||c>a.length)throw A.a(A.x(c,0,a.length,null,null)) +else if(c<0||c>a.length)throw A.b(A.B(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(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 +bF(a,b){return this.bG(a,b,null)}, +u(a,b){return A.lf(a,b,0)}, +i(a){return a}, +gD(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(a){return a.length}, -t(a,b){A.P(b) -if(!(b>=0&&b"))}, -X(a,b){var s,r,q,p=this,o=p.gq(p) +A.ax.prototype={ +gt(a){return new A.bl(J.T(this.gY()),A.l(this).h("bl<1,2>"))}, +gl(a){return J.Q(this.gY())}, +gP(a){return J.fA(this.gY())}, +X(a,b){var s=A.l(this) +return A.dw(J.eT(this.gY(),b),s.c,s.y[1])}, +a7(a,b){var s=A.l(this) +return A.dw(J.fB(this.gY(),b),s.c,s.y[1])}, +H(a,b){return A.l(this).y[1].a(J.du(this.gY(),b))}, +u(a,b){return J.fz(this.gY(),b)}, +i(a){return J.bj(this.gY())}} +A.bl.prototype={ +m(){return this.a.m()}, +gn(){return this.$ti.y[1].a(this.a.gn())}, +$in:1} +A.aA.prototype={ +gY(){return this.a}} +A.bY.prototype={$ii:1} +A.bX.prototype={ +p(a,b){return this.$ti.y[1].a(J.iP(this.a,b))}, +v(a,b,c){var s=this.$ti +J.iQ(this.a,b,s.c.a(s.y[1].a(c)))}, +$ii:1, +$im:1} +A.aa.prototype={ +az(a,b){return new A.aa(this.a,this.$ti.h("@<1>").E(b).h("aa<1,2>"))}, +gY(){return this.a}} +A.aB.prototype={ +a4(a,b,c){return new A.aB(this.a,this.$ti.h("@<1,2>").E(b).E(c).h("aB<1,2,3,4>"))}, +I(a){return this.a.I(a)}, +p(a,b){return this.$ti.h("4?").a(this.a.p(0,b))}, +O(a,b){this.a.O(0,new A.dx(this,this.$ti.h("~(3,4)").a(b)))}, +ga_(){var s=this.$ti +return A.dw(this.a.ga_(),s.c,s.y[2])}, +gl(a){var s=this.a +return s.gl(s)}} +A.dx.prototype={ +$2(a,b){var s=this.a.$ti +s.c.a(a) +s.y[1].a(b) +this.b.$2(s.y[2].a(a),s.y[3].a(b))}, +$S(){return this.a.$ti.h("~(1,2)")}} +A.cC.prototype={ +i(a){return"LateInitializationError: "+this.a}} +A.aZ.prototype={ +gl(a){return this.a.length}, +p(a,b){var s=this.a +if(!(b>=0&&b"))}, +gP(a){return this.gl(this)===0}, +u(a,b){var s,r=this,q=r.gl(r) +for(s=0;ss)throw A.a(A.x(r,0,s,"start",null))}}, -gc1(){var s=J.S(this.a),r=this.c +if(s!=null){A.O(s,"end") +if(r>s)throw A.b(A.B(r,0,s,"start",null))}}, +gc5(){var s=J.Q(this.a),r=this.c if(r==null||r>s)return s return r}, -gcc(){var s=J.S(this.a),r=this.b +gci(){var s=J.Q(this.a),r=this.b if(r>s)return s return r}, -gq(a){var s,r=J.S(this.a),q=this.b +gl(a){var s,r=J.Q(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.cE() +if(typeof s!=="number")return s.cJ() return s-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 +H(a,b){var s=this,r=s.gci()+b +if(b<0||r>=s.gc5())throw A.b(A.eW(b,s.gl(0),s,"index")) +return J.du(s.a,r)}, +X(a,b){var s,r,q=this +A.O(b,"count") +s=q.b+b +r=q.c +if(r!=null&&s>=r)return new A.br(q.$ti.h("br<1>")) +return A.a6(q.a,s,r,q.$ti.c)}, +a7(a,b){var s,r,q,p=this +A.O(b,"count") +s=p.c +r=p.b +if(s==null)return A.a6(p.a,r,B.c.aq(r,b),p.$ti.c) +else{q=B.c.aq(r,b) +if(s=o){r.sY(null) -return!1}r.sY(p.P(q,s));++r.c +if(s>=o){r.sT(null) +return!1}r.sT(p.H(q,s));++r.c return!0}, -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}, -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>"))}} +sT(a){this.d=this.$ti.h("1?").a(a)}, +$in:1} +A.V.prototype={ +gt(a){return new A.aH(J.T(this.a),this.b,A.l(this).h("aH<1,2>"))}, +gl(a){return J.Q(this.a)}, +gP(a){return J.fA(this.a)}, +H(a,b){return this.b.$1(J.du(this.a,b))}} +A.bp.prototype={$ii: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 +m(){var s=this,r=s.b +if(r.m()){s.sT(s.c.$1(r.gn())) +return!0}s.sT(null) +return!1}, +gn(){var s=this.a +return s==null?this.$ti.y[1].a(s):s}, +sT(a){this.a=this.$ti.h("2?").a(a)}, +$in:1} +A.q.prototype={ +gl(a){return J.Q(this.a)}, +H(a,b){return this.b.$1(J.du(this.a,b))}} +A.W.prototype={ +gt(a){return new A.aR(J.T(this.a),this.b,this.$ti.h("aR<1>"))}} +A.aR.prototype={ +m(){var s,r +for(s=this.a,r=this.b;s.m();)if(A.dp(r.$1(s.gn())))return!0 return!1}, -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 +gn(){return this.a.gn()}, +$in:1} +A.bu.prototype={ +gt(a){return new A.bv(J.T(this.a),this.b,B.u,this.$ti.h("bv<1,2>"))}} +A.bv.prototype={ +gn(){var s=this.d +return s==null?this.$ti.y[1].a(s):s}, +m(){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.sbg(null) -q.sbg(J.R(r.$1(s.gp())))}else return!1}q.sY(q.c.gp()) +for(s=q.a,r=q.b;!q.c.m();){q.sT(null) +if(s.m()){q.sbm(null) +q.sbm(J.T(r.$1(s.gn())))}else return!1}q.sT(q.c.gn()) return!0}, -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 +sbm(a){this.c=this.$ti.h("n<2>?").a(a)}, +sT(a){this.d=this.$ti.h("2?").a(a)}, +$in:1} +A.aN.prototype={ +gt(a){return new A.bR(J.T(this.a),this.b,A.l(this).h("bR<1>"))}} +A.bq.prototype={ +gl(a){var s=J.Q(this.a),r=this.b if(s>r)return r return s}, -$in:1} -A.bF.prototype={ -n(){if(--this.b>=0)return this.a.n() +$ii:1} +A.bR.prototype={ +m(){if(--this.b>=0)return this.a.m() this.b=-1 return!1}, -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 +gn(){if(this.b<0){this.$ti.c.a(null) +return null}return this.a.gn()}, +$in:1} +A.ah.prototype={ +X(a,b){A.aX(b,"count",t.S) +A.O(b,"count") +return new A.ah(this.a,this.b+b,A.l(this).h("ah<1>"))}, +gt(a){return new A.bL(J.T(this.a),this.b,A.l(this).h("bL<1>"))}} +A.b_.prototype={ +gl(a){var s=J.Q(this.a)-this.b +if(s>=0)return s +return 0}, +X(a,b){A.aX(b,"count",t.S) +A.O(b,"count") +return new A.b_(this.a,this.b+b,this.$ti)}, +$ii:1} +A.bL.prototype={ +m(){var s,r +for(s=this.a,r=0;r"))}} +A.bN.prototype={ +m(){var s,r,q=this if(!q.c){q.c=!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 +for(s=q.a,r=q.b;s.m();)if(!A.dp(r.$1(s.gn())))return!0}return q.a.m()}, +gn(){return this.a.gn()}, +$in:1} +A.br.prototype={ +gt(a){return B.u}, +gP(a){return!0}, +gl(a){return 0}, +H(a,b){throw A.b(A.B(b,0,0,"index",null))}, +u(a,b){return!1}, +X(a,b){A.O(b,"count") +return this}, +a7(a,b){A.O(b,"count") +return this}} +A.bs.prototype={ +m(){return!1}, +gn(){throw A.b(A.bx())}, +$in:1} +A.bU.prototype={ +gt(a){return new A.bV(J.T(this.a),this.$ti.h("bV<1>"))}} +A.bV.prototype={ +m(){var s,r +for(s=this.a,r=this.$ti.c;s.m();)if(r.b(s.gn()))return!0 return!1}, -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 +gn(){return this.$ti.c.a(this.a.gn())}, +$in:1} +A.bE.prototype={ +gca(){var s,r,q +for(s=this.a,r=s.$ti,s=new A.L(s,s.gl(0),r.h("L")),r=r.h("x.E");s.m();){q=s.d +if(q==null)q=r.a(q) +if(q!=null)return q}return null}, +gP(a){return this.gca()==null}, +gt(a){var s=this.a +return new A.bF(new A.L(s,s.gl(0),s.$ti.h("L")),this.$ti.h("bF<1>"))}} +A.bF.prototype={ +m(){var s,r,q +this.sT(null) +for(s=this.a,r=s.$ti.c;s.m();){q=s.d +if(q==null)q=r.a(q) +if(q!=null){this.sT(q) +return!0}}return!1}, +gn(){var s=this.b +return s==null?A.D(A.bx()):s}, +sT(a){this.b=this.$ti.h("1?").a(a)}, +$in:1} +A.aD.prototype={} +A.aP.prototype={ +v(a,b,c){A.l(this).h("aP.E").a(c) +throw A.b(A.A("Cannot modify an unmodifiable list"))}} +A.b7.prototype={} +A.av.prototype={ +gD(a){var s=this._hashCode if(s!=null)return s -s=664597*J.aL(this.a)&536870911 +s=664597*B.a.gD(this.a)&536870911 this._hashCode=s return s}, -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)}, +i(a){return'Symbol("'+this.a+'")'}, +G(a,b){if(b==null)return!1 +return b instanceof A.av&&this.a===b.a}, +$ib5:1} +A.ca.prototype={} +A.bn.prototype={} +A.bm.prototype={ +a4(a,b,c){var s=A.l(this) +return A.fS(this,s.c,s.y[1],b,c)}, +i(a){return A.f0(this)}, $iM:1} -A.bb.prototype={ -gq(a){return this.a}, -L(a){if("__proto__"===a)return!1 -return this.b.hasOwnProperty(a)}, -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,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}, -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 B.y -q=[] -for(p=0;p"))}} +A.bZ.prototype={ +gl(a){return this.a.length}, +gP(a){return 0===this.a.length}, +gt(a){var s=this.a +return new A.c_(s,s.length,this.$ti.h("c_<1>"))}} +A.c_.prototype={ +gn(){var s=this.d +return s==null?this.$ti.c.a(s):s}, +m(){var s=this,r=s.c +if(r>=s.b){s.sah(null) +return!1}s.sah(s.a[r]);++s.c +return!0}, +sah(a){this.d=this.$ti.h("1?").a(a)}, +$in:1} +A.cs.prototype={ +G(a,b){if(b==null)return!1 +return b instanceof A.b0&&this.a.G(0,b.a)&&A.fp(this)===A.fp(b)}, +gD(a){return A.fU(this.a,A.fp(this),B.n)}, +i(a){var s=B.b.Z([A.an(this.$ti.c)],", ") +return this.a.i(0)+" with "+("<"+s+">")}} +A.b0.prototype={ +$2(a,b){return this.a.$1$2(a,b,this.$ti.y[0])}, +$S(){return A.l3(A.eH(this.a),this.$ti)}} +A.cv.prototype={ +gcz(){var s=this.a +if(s instanceof A.av)return s +return this.a=new A.av(A.k(s))}, +gcC(){var s,r,q,p,o,n=this +if(n.c===1)return B.B +s=n.d +r=J.a9(s) +q=r.gl(s)-J.Q(n.e)-n.f +if(q===0)return B.B +p=[] +for(o=0;o=0&&l>>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 +gD(a){return(A.i4(this.a)^A.cQ(this.$_target))>>>0}, +i(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.dY(this.a)+"'")}} +A.da.prototype={ +i(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.cR.prototype={ +i(a){return"RuntimeError: "+this.a}} +A.d9.prototype={ +i(a){return"Assertion failed: "+A.aC(this.a)}} +A.el.prototype={} +A.aF.prototype={ +gl(a){return this.a}, +ga_(){return new A.ae(this,A.l(this).h("ae<1>"))}, +gcH(){var s=A.l(this) +return A.dT(new A.ae(this,s.h("ae<1>")),new A.dP(this),s.c,s.y[1])}, +I(a){var s=this.b if(s==null)return!1 return s[a]!=null}, -t(a,b){var s,r,q,p,o=null +p(a,b){var s,r,q,p,o=null if(typeof b=="string"){s=this.b if(s==null)return o r=s[b] @@ -3364,550 +3541,545 @@ 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 +return q}else return this.ct(b)}, +ct(a){var s,r,q=this.d if(q==null)return null -s=q[this.bv(a)] -r=this.bw(s,a) +s=q[this.bC(a)] +r=this.bD(s,a) if(r<0)return null return s[r].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) +v(a,b,c){var s,r,q,p,o,n,m=this,l=A.l(m) +l.c.a(b) +l.y[1].a(c) +if(typeof b=="string"){s=m.b +m.bl(s==null?m.b=m.aO():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=m.c +m.bl(r==null?m.c=m.aO():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aO() +p=m.bC(b) +o=q[p] +if(o==null)q[p]=[m.aP(b,c)] +else{n=m.bD(o,b) +if(n>=0)o[n].b=c +else o.push(m.aP(b,c))}}}, +O(a,b){var s,r,q=this +A.l(q).h("~(1,2)").a(b) s=q.e r=q.r for(;s!=null;){b.$2(s.a,s.b) -if(r!==q.r)throw A.a(A.a7(q)) +if(r!==q.r)throw A.b(A.a0(q)) s=s.c}}, -be(a,b,c){var s,r=A.z(this) +bl(a,b,c){var s,r=A.l(this) r.c.a(b) -r.z[1].a(c) +r.y[1].a(c) s=a[b] -if(s==null)a[b]=this.aL(b,c) +if(s==null)a[b]=this.aP(b,c) else s.b=c}, -aL(a,b){var s=this,r=A.z(s),q=new A.dx(r.c.a(a),r.z[1].a(b)) +aP(a,b){var s=this,r=A.l(s),q=new A.dQ(r.c.a(a),r.y[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&1073741823 return q}, -bv(a){return J.aL(a)&0x3fffffff}, -bw(a,b){var s,r +bC(a){return J.aW(a)&1073741823}, +bD(a,b){var s,r if(a==null)return-1 s=a.length -for(r=0;r"]=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>")) +A.dP.prototype={ +$1(a){var s=this.a,r=A.l(s) +s=s.p(0,r.c.a(a)) +return s==null?r.y[1].a(s):s}, +$S(){return A.l(this.a).h("2(1)")}} +A.dQ.prototype={} +A.ae.prototype={ +gl(a){return this.a.a}, +gP(a){return this.a.a===0}, +gt(a){var s=this.a,r=new A.bC(s,s.r,this.$ti.h("bC<1>")) r.c=s.e return r}, -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)) +u(a,b){return this.a.I(b)}} +A.bC.prototype={ +gn(){return this.d}, +m(){var s,r=this,q=r.a +if(r.b!==q.r)throw A.b(A.a0(q)) s=r.c -if(s==null){r.sbd(null) -return!1}else{r.sbd(s.a) +if(s==null){r.sah(null) +return!1}else{r.sah(s.a) r.c=s.c return!0}}, -sbd(a){this.d=this.$ti.i("1?").a(a)}, -$ik:1} -A.eq.prototype={ +sah(a){this.d=this.$ti.h("1?").a(a)}, +$in:1} +A.eK.prototype={ $1(a){return this.a(a)}, -$S:11} -A.er.prototype={ +$S:10} +A.eL.prototype={ $2(a,b){return this.a(a,b)}, +$S:11} +A.eM.prototype={ +$1(a){return this.a(A.k(a))}, $S:12} -A.es.prototype={ -$1(a){return this.a(A.j(a))}, -$S:13} -A.aj.prototype={ -h(a){return"RegExp/"+this.a+"/"+this.b.flags}, -gbm(){var s=this,r=s.c +A.aq.prototype={ +i(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbt(){var s=this,r=s.c if(r!=null)return r r=s.b -return s.c=A.eH(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -gbl(){var s=this,r=s.d +return s.c=A.eX(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbs(){var s=this,r=s.d if(r!=null)return r r=s.b -return s.d=A.eH(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -a_(a){var s=this.b.exec(a) +return s.d=A.eX(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a2(a){var s=this.b.exec(a) if(s==null)return null -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() +return new A.b8(s)}, +aw(a,b,c){var s=b.length +if(c>s)throw A.b(A.B(c,0,s,null,null)) +return new A.d8(this,b,c)}, +av(a,b){return this.aw(0,b,0)}, +bn(a,b){var s,r=this.gbt() if(r==null)r=t.K.a(r) r.lastIndex=b s=r.exec(a) if(s==null)return null -return new A.aY(s)}, -c2(a,b){var s,r=this.gbl() +return new A.b8(s)}, +c6(a,b){var s,r=this.gbs() 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 A.b(s,-1) +if(0>=s.length)return A.a(s,-1) if(s.pop()!=null)return null -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={ +return new A.b8(s)}, +bH(a,b,c){if(c<0||c>b.length)throw A.b(A.B(c,0,b.length,null,null)) +return this.c6(b,c)}, +$idW:1, +$iju:1} +A.b8.prototype={ gJ(){return this.b.index}, -gN(){var s=this.b +gM(){var s=this.b return s.index+s[0].length}, -t(a,b){var s -A.P(b) -s=this.b -if(!(b=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 +$ia5:1, +$ibJ:1} +A.d8.prototype={ +gt(a){return new A.bW(this.a,this.b,this.c)}} +A.bW.prototype={ +gn(){var s=this.d +return s==null?t.k.a(s):s}, +m(){var s,r,q,p,o,n,m=this,l=m.b +if(l==null)return!1 +s=m.c +r=l.length +if(s<=r){q=m.a +p=q.bn(l,s) +if(p!=null){m.d=p +o=p.gM() +if(p.b.index===o){s=!1 +if(q.b.unicode){q=m.c +n=q+1 +if(n=0&&q=55296&&q<=56319){if(!(n>=0))return A.a(l,n) +s=l.charCodeAt(n) +s=s>=56320&&s<=57343}}}o=(s?o+1:o)+1}m.c=o +return!0}}m.b=m.d=null return!1}, -$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}, -$ia3:1, +$in:1} +A.bQ.prototype={ +gM(){return this.a+this.c.length}, +$ia5: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 +A.dh.prototype={ +gt(a){return new A.di(this.a,this.b,this.c)}} +A.di.prototype={ +m(){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 A.bE(s,o) +q.d=new A.bQ(s,o) q.c=r===q.c?r+1:r return!0}, -gp(){var s=this.d +gn(){var s=this.d s.toString return s}, -$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) +$in:1} +A.cH.prototype={ +gU(a){return B.a6}, +$iG:1} +A.cJ.prototype={} +A.b4.prototype={ +gl(a){return a.length}, +$ib2:1} +A.bD.prototype={ +v(a,b,c){A.dl(c) +A.ex(b,a,a.length) a[b]=c}, -$in:1, -$ie:1, -$il:1} -A.cv.prototype={ -t(a,b){A.P(b) -A.ed(b,a,a.length) -return a[b]}} -A.cx.prototype={ -t(a,b){A.P(b) -A.ed(b,a,a.length) +$ii:1, +$id:1, +$im:1} +A.cI.prototype={ +gU(a){return B.a7}, +p(a,b){A.ex(b,a,a.length) return a[b]}, -$ijf:1} -A.az.prototype={ -gq(a){return a.length}, -t(a,b){A.P(b) -A.ed(b,a,a.length) +$iG:1} +A.cK.prototype={ +gU(a){return B.a9}, +p(a,b){A.ex(b,a,a.length) return a[b]}, -$iaz:1, -$iaF:1} -A.bN.prototype={} -A.bO.prototype={} -A.Y.prototype={ -i(a){return A.e6(v.typeUniverse,this,a)}, -S(a){return A.jE(v.typeUniverse,this,a)}} -A.d1.prototype={} -A.d7.prototype={ -h(a){return A.H(this.a,null)}} -A.d0.prototype={ -h(a){return this.a}} -A.bQ.prototype={} -A.aX.prototype={ -h(a){return"IterationMarker("+this.b+", "+A.h(this.a)+")"}} -A.b0.prototype={ -gp(){var s,r=this.c -if(r==null){s=this.b -return s==null?this.$ti.c.a(s):s}return r.gp()}, -n(){var s,r,q,p,o,n,m=this -for(s=m.$ti.i("k<1>");!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"))}, +H(a,b){return this.p(a,b)}, +gP(a){return this.gl(a)===0}, +u(a,b){var s,r=this.gl(a) +for(s=0;s").E(c).h("q<1,2>"))}, +X(a,b){return A.a6(a,b,null,A.X(a).h("o.E"))}, +a7(a,b){return A.a6(a,0,A.fk(b,"count",t.S),A.X(a).h("o.E"))}, +a0(a,b){var s,r,q,p,o=this +if(o.gP(a)){s=J.fO(0,A.X(a).h("o.E")) +return s}r=o.p(a,0) +q=A.af(o.gl(a),r,!0,A.X(a).h("o.E")) +for(p=1;p").E(b).h("aa<1,2>"))}, +cr(a,b,c,d){var s +A.X(a).h("o.E?").a(d) +A.aK(b,c,this.gl(a)) +for(s=b;s").E(c).h("aQ<1,2>"))}} +A.bc.prototype={} +A.de.prototype={ +p(a,b){var s,r=this.b +if(r==null)return this.c.p(0,b) else if(typeof b!="string")return null else{s=r[b] -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 typeof s=="undefined"?this.cd(b):s}}, +gl(a){return this.b==null?this.c.a:this.ar().length}, +ga_(){if(this.b==null){var s=this.c +return new A.ae(s,A.l(s).h("ae<1>"))}return new A.df(this)}, +I(a){if(this.b==null)return this.c.I(a) return Object.prototype.hasOwnProperty.call(this.a,a)}, -T(a,b){var s,r,q,p,o=this +O(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() +if(o.b==null)return o.c.O(0,b) +s=o.ar() for(r=0;r=0&&b=0&&b"))}return s}, -E(a,b){return this.a.L(b)}} -A.e1.prototype={ +gt(a){var s=this.a +if(s.b==null){s=s.ga_() +s=s.gt(s)}else{s=s.ar() +s=new J.az(s,s.length,A.w(s).h("az<1>"))}return s}, +u(a,b){return this.a.I(b)}} +A.eu.prototype={ $0(){var s,r try{s=new TextDecoder("utf-8",{fatal:true}) return s}catch(r){}return null}, -$S:4} -A.e0.prototype={ +$S:5} +A.et.prototype={ $0(){var s,r try{s=new TextDecoder("utf-8",{fatal:false}) return s}catch(r){}return null}, -$S:4} -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) +if(i<=a5){if(!(k=0&&e=0){if(!(d<64))return A.a(a0,d) +e=a0.charCodeAt(d) +if(e===j)continue +j=e}else{if(d===-1){if(n<0){g=o==null?null:o.a.length +if(g==null)g=0 +n=g+(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) +if(j===61)continue}j=e}if(d!==-2){if(o==null){o=new A.C("") +g=o}else g=o +g.a+=B.a.j(a3,p,q) +c=A.N(j) +g.a+=c 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) +continue}}throw A.b(A.z("Invalid base64 data",a3,q))}if(o!=null){a2=B.a.j(a3,p,a5) +a2=o.a+=a2 +r=a2.length +if(n>=0)A.fD(a3,m,a5,n,l,r) +else{b=B.c.aK(r-1,4)+1 +if(b===1)throw A.b(A.z(a1,a3,a5)) +for(;b<4;){a2+="=" +o.a=a2;++b}}a2=o.a +return B.a.W(a3,a4,a5,a2.charCodeAt(0)==0?a2:a2)}a=a5-a4 +if(n>=0)A.fD(a3,m,a5,n,l,a) +else{b=B.c.aK(a,4) +if(b===1)throw A.b(A.z(a1,a3,a5)) +if(b>1)a3=B.a.W(a3,a5,a5,b===2?"==":"=")}return a3}} +A.cl.prototype={} +A.ab.prototype={} +A.ej.prototype={} +A.ac.prototype={} +A.cq.prototype={} +A.cA.prototype={ +cm(a,b){var s=A.kF(a,this.gco().a) return s}, -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 +gco(){return B.a_}} +A.cB.prototype={} +A.d4.prototype={} +A.d6.prototype={ +aj(a){var s,r,q,p,o,n +A.k(a) +s=a.length +r=A.aK(0,null,s) if(r===0)return new Uint8Array(0) q=r*3 p=new Uint8Array(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=0&&n>>18|240 q=n.b=p+1 -if(!(p>>12&63|128 p=n.b=q+1 -if(!(q>>6&63|128 n.b=p+1 -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.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 +c7(a,b,c){var s,r,q,p,o,n,m,l=this +if(b!==c){s=c-1 +if(!(s>=0&&s=r)break +l.b=n+1 +s[n]=o}else{n=o&64512 +if(n===55296){if(l.b+4>r)break +n=p+1 +if(!(nr)break +l.aR()}else if(o<=2047){n=l.b +m=n+1 if(m>=r)break l.b=m -if(!(o>>6|192 +if(!(n>>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>>12|224 -o=l.b=m+1 -if(!(m>>6&63|128 -l.b=o+1 -if(!(o=r)break +m=l.b=n+1 +if(!(n>>12|224 +n=l.b=m+1 +if(!(m>>6&63|128 +l.b=n+1 +if(!(n1000){s=B.c.bp(b+c,2) -r=q.aH(a,b,s,!1) +p=b +b=0}if(s-b>=15){o=l.a +n=A.kd(o,q,b,s) +if(n!=null){if(!o)return n +if(n.indexOf("\ufffd")<0)return n}}n=l.aL(q,b,s,!0) +o=l.b +if((o&1)!==0){m=A.kf(o) +l.b=0 +throw A.b(A.z(m,a,p+l.c))}return n}, +aL(a,b,c,d){var s,r,q=this +if(c-b>1000){s=B.c.bv(b+c,2) +r=q.aL(a,b,s,!1) if((q.b&1)!==0)return r -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=0&&b>>q:(s&63|h<<6)>>>0 -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+=A.K(j) +$label0$0:for(r=k.a;!0;){for(;!0;d=o){if(!(s>=0&&s<256))return A.a(j,s) +q=j.charCodeAt(s)&31 +f=g<=32?s&61694>>>q:(s&63|f<<6)>>>0 +p=g+q +if(!(p>=0&&p<144))return A.a(i,p) +g=i.charCodeAt(p) +if(g===0){p=A.N(f) +e.a+=p +if(d===a0)break $label0$0 +break}else if((g&1)!==0){if(r)switch(g){case 69:case 67:p=A.N(h) +e.a+=p break -case 65:g.a+=A.K(j);--f +case 65:p=A.N(h) +e.a+=p;--d break -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=0&&f=0&&d=0&&d=0&&o=0&&o=128){n=m-1 o=m -break}o=m}if(n-f<20)for(l=f;l32)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}} -A.dB.prototype={ +break}o=m}if(n-d<20)for(l=d;l32)if(r){c=A.N(h) +e.a+=c}else{k.b=77 +k.c=a0 +return""}k.b=g +k.c=f +c=e.a +return c.charCodeAt(0)==0?c:c}} +A.dU.prototype={ $2(a,b){var s,r,q t.cm.a(a) s=this.b @@ -3916,149 +4088,155 @@ q=s.a+=r.a q+=a.a s.a=q s.a=q+": " -s.a+=A.at(b) +q=A.aC(b) +s.a+=q r.a=", "}, -$S:15} -A.p.prototype={} -A.b8.prototype={ -h(a){var s=this.a -if(s!=null)return"Assertion failed: "+A.at(s) +$S:14} +A.r.prototype={} +A.bk.prototype={ +i(a){var s=this.a +if(s!=null)return"Assertion failed: "+A.aC(s) return"Assertion failed"}} -A.cO.prototype={} -A.cy.prototype={ -h(a){return"Throw of null."}} -A.a0.prototype={ -gaJ(){return"Invalid argument"+(!this.a?"(s)":"")}, -gaI(){return""}, -h(a){var s=this,r=s.c,q=r==null?"":" ("+r+")",p=s.d,o=p==null?"":": "+A.h(p),n=s.gaJ()+q+o +A.bS.prototype={} +A.a3.prototype={ +gaN(){return"Invalid argument"+(!this.a?"(s)":"")}, +gaM(){return""}, +i(a){var s=this,r=s.c,q=r==null?"":" ("+r+")",p=s.d,o=p==null?"":": "+A.h(p),n=s.gaN()+q+o if(!s.a)return n -return n+s.gaI()+": "+A.at(s.gaY())}, -gaY(){return this.b}} -A.ab.prototype={ -gaY(){return A.jS(this.b)}, -gaJ(){return"RangeError"}, -gaI(){var s,r=this.e,q=this.f +return n+s.gaM()+": "+A.aC(s.gb4())}, +gb4(){return this.b}} +A.ag.prototype={ +gb4(){return A.kg(this.b)}, +gaN(){return"RangeError"}, +gaM(){var s,r=this.e,q=this.f if(r==null)s=q!=null?": Not less than or equal to "+A.h(q):"" else if(q==null)s=": Not greater than or equal to "+A.h(r) else if(q>r)s=": Not in inclusive range "+A.h(r)+".."+A.h(q) else s=qe.length else s=!1 if(s)f=null if(f==null){if(e.length>78)e=B.a.j(e,0,75)+"..." -return g+"\n"+e}for(r=1,q=0,p=!1,o=0;o1?g+(" (at line "+r+", character "+(f-q+1)+")\n"):g+(" (at character "+(f+1)+")\n") -m=e.length -for(o=f;o78)if(f-q<75){l=q+75 -k=q -j="" -i="..."}else{if(m-f<75){k=m-75 -l=m -i=""}else{k=f-36 -l=f+36 -i="..."}j="..."}else{l=m -k=q -j="" -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 g+"\n"+e}for(r=e.length,q=1,p=0,o=!1,n=0;n1?g+(" (at line "+q+", character "+(f-p+1)+")\n"):g+(" (at character "+(f+1)+")\n") +for(n=f;n=0))return A.a(e,n) +m=e.charCodeAt(n) +if(m===10||m===13){r=n +break}}l="" +if(r-p>78){k="..." +if(f-p<75){j=p+75 +i=p}else{if(r-f<75){i=r-75 +j=r +k=""}else{i=f-36 +j=f+36}l="..."}}else{j=r +i=p +k=""}return g+l+B.a.j(e,i,j)+k+"\n"+B.a.bh(" ",f-i+l.length)+"^\n"}else return f!=null?g+(" (at offset "+A.h(f)+")"):g}, +$ibt:1} +A.d.prototype={ +az(a,b){return A.dw(this,A.l(this).h("d.E"),b)}, +b6(a,b,c){var s=A.l(this) +return A.dT(this,s.E(c).h("1(d.E)").a(b),s.h("d.E"),c)}, +u(a,b){var s +for(s=this.gt(this);s.m();)if(J.H(s.gn(),b))return!0 +return!1}, +a0(a,b){return A.aG(this,b,A.l(this).h("d.E"))}, +ad(a){return this.a0(0,!0)}, +gl(a){var s,r=this.gt(this) +for(s=0;r.m();)++s return s}, -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()) +gP(a){return!this.gt(this).m()}, +a7(a,b){return A.h6(this,b,A.l(this).h("d.E"))}, +X(a,b){return A.jx(this,b,A.l(this).h("d.E"))}, +bT(a,b){var s=A.l(this) +return new A.bM(this,s.h("S(d.E)").a(b),s.h("bM"))}, +gaW(a){var s=this.gt(this) +if(!s.m())throw A.b(A.bx()) +return s.gn()}, +gK(a){var s,r=this.gt(this) +if(!r.m())throw A.b(A.bx()) +do s=r.gn() +while(r.m()) return s}, -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 +H(a,b){var s,r +A.O(b,"index") +s=this.gt(this) +for(r=b;s.m();){if(r===0)return s.gn();--r}throw A.b(A.eW(b,b-r,this,"index"))}, +i(a){return A.ji(this,"(",")")}} +A.bG.prototype={ +gD(a){return A.v.prototype.gD.call(this,0)}, +i(a){return"null"}} +A.v.prototype={$iv:1, +G(a,b){return this===b}, +gD(a){return A.cQ(this)}, +i(a){return"Instance of '"+A.dY(this)+"'"}, +bI(a,b){throw A.b(A.fT(this,t.o.a(b)))}, +gU(a){return A.bh(this)}, +toString(){return this.i(this)}} +A.C.prototype={ +gl(a){return this.a.length}, +i(a){var s=this.a return s.charCodeAt(0)==0?s:s}, -$ij4:1} -A.dY.prototype={ -$2(a,b){throw A.a(A.q("Illegal IPv4 address, "+a,this.a,b))}, +$ijy:1} +A.ef.prototype={ +$2(a,b){throw A.b(A.z("Illegal IPv4 address, "+a,this.a,b))}, +$S:15} +A.eg.prototype={ +$2(a,b){throw A.b(A.z("Illegal IPv6 address, "+a,this.a,b))}, $S:16} -A.dZ.prototype={ -$2(a,b){throw A.a(A.q("Illegal IPv6 address, "+a,this.a,b))}, -$S:17} -A.e_.prototype={ +A.eh.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=A.W(B.a.j(this.b,a,b),16) +s=A.Y(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:18} -A.bV.prototype={ -gbq(){var s,r,q,p,o=this,n=o.w +$S:17} +A.c7.prototype={ +gbw(){var s,r,q,p,o=this,n=o.w if(n===$){s=o.a r=s.length!==0?""+s+":":"" q=o.c @@ -4074,696 +4252,774 @@ r=o.f if(r!=null)s=s+"?"+r r=o.r if(r!=null)s=s+"#"+r -n!==$&&A.dc("_text") +n!==$&&A.ds("_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") +gba(){var s,r,q,p=this,o=p.x +if(o===$){s=p.e +r=s.length +if(r!==0){if(0>=r)return A.a(s,0) +r=s.charCodeAt(0)===47}else r=!1 +if(r)s=B.a.C(s,1) +q=s.length===0?B.A:A.a4(new A.q(A.f(s.split("/"),t.s),t.q.a(A.kQ()),t.r),t.N) +p.x!==$&&A.ds("pathSegments") +p.sc0(q) +o=q}return o}, +gD(a){var s,r=this,q=r.y +if(q===$){s=B.a.gD(r.gbw()) +r.y!==$&&A.ds("hashCode") r.y=s q=s}return q}, -gan(){return this.b}, -gU(){var s=this.c +gbg(){return this.b}, +ga5(){var s=this.c if(s==null)return"" -if(B.a.u(s,"["))return B.a.j(s,1,s.length-1) +if(B.a.q(s,"["))return B.a.j(s,1,s.length-1) return s}, -gac(){var s=this.d -return s==null?A.h6(this.a):s}, -ga4(){var s=this.f +gan(){var s=this.d +return s==null?A.ht(this.a):s}, +gao(){var s=this.f return s==null?"":s}, -gav(){var s=this.r +gaC(){var s=this.r return s==null?"":s}, -cs(a){var s=this.a +cu(a){var s=this.a if(a.length!==s.length)return!1 -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,"/") +return A.kk(a,s,0)>=0}, +bM(a){var s,r,q,p,o,n,m,l=this +a=A.er(a,0,a.length) +s=a==="file" +r=l.b +q=l.d +if(a!==l.a)q=A.eq(q,a) +p=l.c +if(!(p!=null))p=r.length!==0||q!=null||s?"":null +o=l.e +if(!s)n=p!=null&&o.length!==0 +else n=!0 +if(n&&!B.a.q(o,"/"))o="/"+o +m=o +return A.c8(a,r,p,q,m,l.f,l.r)}, +br(a,b){var s,r,q,p,o,n,m,l,k +for(s=0,r=0;B.a.A(b,"../",r);){r+=3;++s}q=B.a.bF(a,"/") +p=a.length while(!0){if(!(q>0&&s>0))break -p=B.a.bz(a,"/",q-1) -if(p<0)break -o=q-p -n=o!==2 -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 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=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=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.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||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")) +o=B.a.bG(a,"/",q-1) +if(o<0)break +n=q-o +m=n!==2 +l=!1 +if(!m||n===3){k=o+1 +if(!(k0){k=B.a.j(n,0,l) +n=a.gaY()?k+A.aS(a.gS()):k+A.aS(h.br(B.a.C(n,k.length),a.gS()))}else if(a.gaY())n=A.aS(a.gS()) +else if(n.length===0)if(p==null)n=s.length===0?a.gS():A.aS(a.gS()) +else n=A.aS("/"+a.gS()) +else{j=h.br(n,a.gS()) +r=s.length===0 +if(!r||p!=null||B.a.q(n,"/"))n=A.aS(j) +else n=A.ff(j,!r||p!=null)}m=a.gaD()?a.gao():null}}}i=a.gb_()?a.gaC():null +return A.c8(s,q,p,o,n,m,i)}, +gaZ(){return this.c!=null}, +gaD(){return this.f!=null}, +gb_(){return this.r!=null}, +gbB(){return this.e.length===0}, +gaY(){return B.a.q(this.e,"/")}, +be(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw A.b(A.A("Cannot extract a file path from a "+q+" URI")) q=r.f -if((q==null?"":q)!=="")throw A.a(A.y(u.i)) +if((q==null?"":q)!=="")throw A.b(A.A(u.i)) q=r.r -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}, -h(a){return this.gbq()}, -H(a,b){var s,r,q=this +if((q==null?"":q)!=="")throw A.b(A.A(u.l)) +if(r.c!=null&&r.ga5()!=="")A.D(A.A(u.j)) +s=r.gba() +A.k3(s,!1) +q=A.f5(B.a.q(r.e,"/")?""+"/":"",s,"/") +q=q.charCodeAt(0)==0?q:q +return q}, +i(a){return this.gbw()}, +G(a,b){var s,r,q,p=this if(b==null)return!1 -if(q===b)return!0 -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.gav()}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}, -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)}, +if(p===b)return!0 +s=!1 +if(t.R.b(b))if(p.a===b.gL())if(p.c!=null===b.gaZ())if(p.b===b.gbg())if(p.ga5()===b.ga5())if(p.gan()===b.gan())if(p.e===b.gS()){r=p.f +q=r==null +if(!q===b.gaD()){if(q)r="" +if(r===b.gao()){r=p.r +q=r==null +if(!q===b.gb_()){s=q?"":r +s=s===b.gaC()}}}}return s}, +sc0(a){this.x=t.h.a(a)}, +$ibT:1, +gL(){return this.a}, +gS(){return this.e}} +A.ep.prototype={ +$1(a){return A.kc(B.a1,A.k(a),B.f,!1)}, $S:3} -A.cS.prototype={ +A.d2.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 A.b(m,0) +if(0>=m.length)return A.a(m,0) s=o.a m=m[0]+1 -r=B.a.a0(s,"?",m) +r=B.a.a3(s,"?",m) q=s.length -if(r>=0){p=A.bX(s,r+1,q,B.h,!1,!1) +if(r>=0){p=A.c9(s,r+1,q,B.h,!1,!1) q=r}else p=n -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) +m=o.c=new A.db("data","",n,n,A.c9(s,m,q,B.z,!1,!1),p,n)}return m}, +i(a){var s,r=this.b +if(0>=r.length)return A.a(r,0) s=this.a return r[0]===-1?"data:"+s:s}} -A.ef.prototype={ +A.ez.prototype={ $2(a,b){var s=this.a -if(!(a>>0 -if(!(q<96))return A.b(a,q) +$S:6} +A.eB.prototype={ +$3(a,b,c){var s,r,q=b.length +if(0>=q)return A.a(b,0) +s=b.charCodeAt(0) +if(1>=q)return A.a(b,1) +r=b.charCodeAt(1) +for(;s<=r;++s){q=(s^96)>>>0 +if(!(q<96))return A.a(a,q) a[q]=c}}, -$S:5} -A.Z.prototype={ -gai(){return this.c>0}, -gaj(){return this.c>0&&this.d+10}, +gb0(){return this.c>0&&this.d+1r?B.a.j(this.a,r,s-1):""}, -gU(){var s=this.c +ga5(){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) +gan(){var s,r=this +if(r.gb0())return A.Y(B.a.j(r.a,r.d+1,r.e),null) s=r.b -if(s===4&&B.a.u(r.a,"http"))return 80 -if(s===5&&B.a.u(r.a,"https"))return 443 +if(s===4&&B.a.q(r.a,"http"))return 80 +if(s===5&&B.a.q(r.a,"https"))return 443 return 0}, -gM(a){return B.a.j(this.a,this.e,this.f)}, -ga4(){var s=this.f,r=this.r +gS(){return B.a.j(this.a,this.e,this.f)}, +gao(){var s=this.f,r=this.r return s=0&&q=q.length)return s -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 +return new A.a2(B.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.w)}, +bM(a){var s,r,q,p,o,n,m,l,k,j,i,h=this,g=null +a=A.er(a,0,a.length) +s=!(h.b===a.length&&B.a.q(h.a,a)) +r=a==="file" +q=h.c +p=q>0?B.a.j(h.a,h.b+3,q):"" +o=h.gb0()?h.gan():g +if(s)o=A.eq(o,a) +q=h.c +if(q>0)n=B.a.j(h.a,q,h.d) +else n=p.length!==0||o!=null||r?"":g +q=h.a +m=h.f +l=B.a.j(q,h.e,m) +if(!r)k=n!=null&&l.length!==0 +else k=!0 +if(k&&!B.a.q(l,"/"))l="/"+l +k=h.r +j=m0)return b s=b.c if(s>0){r=a.b if(r<=0)return b q=r===4 -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(q&&B.a.q(a.a,"file"))p=b.e!==b.f +else if(q&&B.a.q(a.a,"http"))p=!b.bo("80") +else p=!(r===5&&B.a.q(a.a,"https"))||!b.bo("443") if(p){o=r+1 -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 +return new A.a2(B.a.j(a.a,0,o)+B.a.C(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.w)}else return this.bx().ap(b)}n=b.e c=b.f if(n===c){s=b.r if(c0?l:m o=k-n -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 +return new A.a2(B.a.j(a.a,0,k)+B.a.C(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(;B.a.v(s,"../",n);)n+=3 +if(j===i&&a.c>0){for(;B.a.A(s,"../",n);)n+=3 o=j-n+1 -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) +return new A.a2(B.a.j(a.a,0,j)+"/"+B.a.C(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}h=a.a +l=A.hm(this) if(l>=0)g=l -else for(g=j;B.a.v(h,"../",g);)g+=3 +else for(g=j;B.a.A(h,"../",g);)g+=3 f=0 while(!0){e=n+3 -if(!(e<=c&&B.a.v(s,"../",n)))break;++f -n=e}for(d="";i>g;){--i -if(B.a.m(h,i)===47){if(f===0){d="/" +if(!(e<=c&&B.a.A(s,"../",n)))break;++f +n=e}for(r=h.length,d="";i>g;){--i +if(!(i>=0&&i=0){s=!(p===4&&B.a.u(q.a,"file")) -p=s}else p=!1 -if(p)throw A.a(A.y("Cannot extract a file path from a "+q.gI()+" URI")) -p=q.f -s=q.a -if(p=0){s=!(q===4&&B.a.q(r.a,"file")) +q=s}else q=!1 +if(q)throw A.b(A.A("Cannot extract a file path from a "+r.gL()+" URI")) +q=r.f +s=r.a +if(q0?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.ga5():r,n=s.gb0()?s.gan():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.F(a)>0&&!s.R(a) if(s)return a s=this.b -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() +return this.bE(0,s==null?A.fm():s,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)}, +a1(a){var s=null +return this.bz(a,s,s,s,s,s,s,s,s,s,s,s,s,s,s)}, +cp(a){var s,r,q=A.aJ(a,this.a) +q.aJ() 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}B.b.b3(s) +return s==null?".":s}B.b.bc(s) s=q.e -if(0>=s.length)return A.b(s,-1) +if(0>=s.length)return A.a(s,-1) s.pop() -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 +q.aJ() +return q.i(0)}, +bE(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.hU("join",s) +return this.cw(new A.bU(s,t.ab))}, +cv(a,b,c){var s=null +return this.bE(0,b,c,s,s,s,s,s,s,s,s,s,s,s,s,s,s)}, +cw(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) +for(s=a.$ti,r=s.h("S(d.E)").a(new A.dE()),q=a.gt(0),s=new A.aR(q,r,s.h("aR")),r=this.a,p=!1,o=!1,n="";s.m();){m=q.gn() +if(r.R(m)&&o){l=A.aJ(m,r) k=n.charCodeAt(0)==0?n:n -n=B.a.j(k,0,r.ad(k,!0)) +n=B.a.j(k,0,r.ac(k,!0)) l.b=n -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) +if(r.am(n))B.b.v(l.e,0,r.ga8()) +n=""+l.i(0)}else if(r.F(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(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"))) +if(j!==0){if(0>=j)return A.a(m,0) +j=r.aU(m[0])}else j=!1 +if(!j)if(p)n+=r.ga8() +n+=m}p=r.am(m)}return n.charCodeAt(0)==0?n:n}, +ag(a,b){var s=A.aJ(b,this.a),r=s.d,q=A.w(r),p=q.h("W<1>") +s.sbK(A.aG(new A.W(r,q.h("S(1)").a(new A.dF()),p),!0,p.h("d.E"))) r=s.b -if(r!=null)B.b.aW(s.d,0,r) +if(r!=null)B.b.b2(s.d,0,r) return s.d}, -b1(a){var s -if(!this.c7(a))return a -s=A.aA(a,this.a) -s.b0() -return s.h(0)}, -c7(a){var s,r,q,p,o,n,m,l,k=this.a,j=k.G(a) -if(j!==0){if(k===$.c4())for(s=0;s=0))return A.a(s,r) +m=s.charCodeAt(r) +if(k.B(m)){if(k===$.cg()&&m===47)return!0 +if(p!=null&&k.B(p))return!0 +if(p===46)l=n==null||n===46||k.B(n) else l=!1 -if(l)return!0}}if(q==null)return!0 -if(k.A(q))return!0 -if(q===46)k=n==null||k.A(n)||n===46 +if(l)return!0}}if(p==null)return!0 +if(k.B(p))return!0 +if(p===46)k=n==null||k.B(n)||n===46 else k=!1 if(k)return!0 return!1}, -aD(a,b){var s,r,q,p,o,n,m=this,l='Unable to find a path to "',k=b==null -if(k&&m.a.G(a)<=0)return m.b1(a) -if(k){k=m.b -b=k==null?A.en():k}else b=m.Z(b) -k=m.a -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=A.aA(a,k) -r.b0() +aH(a,b){var s,r,q,p,o,n,m,l=this,k='Unable to find a path to "',j=b==null +if(j&&l.a.F(a)<=0)return l.b9(a) +if(j){j=l.b +b=j==null?A.fm():j}else b=l.a1(b) +j=l.a +if(j.F(b)<=0&&j.F(a)>0)return l.b9(a) +if(j.F(a)<=0||j.R(a))a=l.a1(a) +if(j.F(a)<=0&&j.F(b)>0)throw A.b(A.fV(k+a+'" from "'+b+'".')) +s=A.aJ(b,j) +s.b8() +r=A.aJ(a,j) +r.b8() q=s.d p=q.length -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) +if(p!==0){if(0>=p)return A.a(q,0) +q=J.H(q[0],".")}else q=!1 +if(q)return r.i(0) q=s.b p=r.b -if(q!=p)q=q==null||p==null||!k.b2(q,p) +if(q!=p)q=q==null||p==null||!j.bb(q,p) else q=!1 -if(q)return r.h(0) +if(q)return r.i(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 A.b(q,0) +o=!1 +if(p!==0){n=r.d +m=n.length +if(m!==0){if(0>=p)return A.a(q,0) q=q[0] -if(0>=n)return A.b(o,0) -o=k.b2(q,o[0]) -q=o}else q=!1}else q=!1 +if(0>=m)return A.a(n,0) +n=j.bb(q,n[0]) +q=n}else q=o}else q=o if(!q)break -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 +B.b.aI(s.d,0) +B.b.aI(s.e,1) +B.b.aI(r.d,0) +B.b.aI(r.e,1)}q=s.d p=q.length -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+'".')) +if(p!==0){if(0>=p)return A.a(q,0) +q=J.H(q[0],"..")}else q=!1 +if(q)throw A.b(A.fV(k+a+'" from "'+b+'".')) q=t.N -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 +B.b.b3(r.d,0,A.af(s.d.length,"..",!1,q)) +B.b.v(r.e,0,"") +B.b.b3(r.e,1,A.af(s.d.length,j.ga8(),!1,q)) +j=r.d +q=j.length if(q===0)return"." -if(q>1&&J.Q(B.b.gK(k),".")){B.b.b3(r.d) -k=r.e -if(0>=k.length)return A.b(k,-1) -k.pop() -if(0>=k.length)return A.b(k,-1) -k.pop() -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) +if(q>1&&J.H(B.b.gK(j),".")){B.b.bc(r.d) +j=r.e +if(0>=j.length)return A.a(j,-1) +j.pop() +if(0>=j.length)return A.a(j,-1) +j.pop() +B.b.k(j,"")}r.b="" +r.aJ() +return r.i(0)}, +cE(a){return this.aH(a,null)}, +bp(a,b){var s,r,q,p,o,n,m,l,k=this +a=A.k(a) +b=A.k(b) r=k.a -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) +q=r.F(A.k(a))>0 +p=r.F(A.k(b))>0 +if(q&&!p){b=k.a1(b) +if(r.R(a))a=k.a1(a)}else if(p&&!q){a=k.a1(a) +if(r.R(b))b=k.a1(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.c6(a,b) -if(m!==B.f)return m +if(o&&!n)b=k.a1(b) +else if(n&&!o)a=k.a1(a)}m=k.cb(a,b) +if(m!==B.e)return m s=null -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 +try{s=k.aH(b,a)}catch(l){if(A.cf(l) instanceof A.bI)return B.d +else throw l}if(r.F(A.k(s))>0)return B.d +if(J.H(s,"."))return B.t +if(J.H(s,".."))return B.d +return J.Q(s)>=3&&J.iZ(s,"..")&&r.B(J.iT(s,2))?B.d:B.l}, +cb(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e,d=this if(a===".")a="" -s=e.a -r=s.G(a) -q=s.G(b) +s=d.a +r=s.F(a) +q=s.F(b) if(r!==q)return B.d -for(p=0;p=0&&l=0&&m=0&&l=0&&m=0))return A.a(a,q) +n=r.B(a.charCodeAt(q))}else n=!1 +if(!n)break;++q}if(q===s)break +m=q +while(!0){if(m=0))return A.a(a,m) +n=!r.B(a.charCodeAt(m))}else n=!1 +if(!n)break;++m}n=m-q +if(n===1){if(!(q>=0&&q=0&&qq.ag(0,s).length?s:r}} -A.dk.prototype={ -$1(a){return A.j(a)!==""}, +A.dE.prototype={ +$1(a){return A.k(a)!==""}, $S:0} -A.dl.prototype={ -$1(a){return A.j(a).length!==0}, +A.dF.prototype={ +$1(a){return A.k(a).length!==0}, $S:0} -A.em.prototype={ -$1(a){A.ec(a) +A.eG.prototype={ +$1(a){A.dm(a) return a==null?"null":'"'+a+'"'}, -$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) +$S:19} +A.b9.prototype={ +i(a){return this.a}} +A.ba.prototype={ +i(a){return this.a}} +A.b1.prototype={ +bQ(a){var s,r=this.F(a) if(r>0)return B.a.j(a,0,r) -if(this.R(a)){if(0>=a.length)return A.b(a,0) +if(this.R(a)){if(0>=a.length)return A.a(a,0) s=a[0]}else s=null return s}, -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),"") +bL(a){var s,r,q=null,p=a.length +if(p===0)return A.F(q,q,q,q) +s=A.eU(this).ag(0,a) +r=p-1 +if(!(r>=0))return A.a(a,r) +if(this.B(a.charCodeAt(r)))B.b.k(s,"") +return A.F(q,q,s,q)}, +aA(a,b){return a===b}, +bb(a,b){return a===b}} +A.dV.prototype={ +gb1(){var s=this.d +if(s.length!==0)s=J.H(B.b.gK(s),"")||!J.H(B.b.gK(this.e),"") else s=!1 return s}, -aF(){var s,r,q=this +aJ(){var s,r,q=this while(!0){s=q.d -if(!(s.length!==0&&J.Q(B.b.gK(s),"")))break -B.b.b3(q.d) +if(!(s.length!==0&&J.H(B.b.gK(s),"")))break +B.b.bc(q.d) s=q.e -if(0>=s.length)return A.b(s,-1) +if(0>=s.length)return A.a(s,-1) s.pop()}s=q.e r=s.length -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(r!==0)B.b.v(s,r-1,"")}, +b8(){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.a(l,-1) +l.pop()}else ++q}else B.b.k(l,o)}if(m.b==null)B.b.b3(l,0,A.af(q,"..",!1,t.N)) if(l.length===0&&m.b==null)B.b.k(l,".") -m.sbG(l) +m.sbK(l) s=m.a -m.sbO(A.am(l.length+1,s.ga5(),!0,t.N)) +m.sbR(A.af(l.length+1,s.ga8(),!0,t.N)) r=m.b -if(r==null||l.length===0||!s.al(r))B.b.C(m.e,0,"") +if(r==null||l.length===0||!s.am(r))B.b.v(m.e,0,"") r=m.b -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 +if(r!=null&&s===$.cg()){r.toString +m.b=A.Z(r,"/","\\")}m.aJ()}, +i(a){var s,r,q,p=this,o=p.b o=o!=null?""+o:"" for(s=0;s=0))return A.a(a,s) +s=a.charCodeAt(s)!==47 +r=s}else r=!1 +return r}, +ac(a,b){var s=a.length +if(s!==0){if(0>=s)return A.a(a,0) +s=a.charCodeAt(0)===47}else s=!1 +if(s)return 1 return 0}, -G(a){return this.ad(a,!1)}, +F(a){return this.ac(a,!1)}, R(a){return!1}, -aB(a){var s -if(a.gI()===""||a.gI()==="file"){s=a.gM(a) -return A.eZ(s,0,s.length,B.e,!1)}throw A.a(A.F("Uri "+a.h(0)+" must have scheme 'file:'."))}, -aO(a){var s=A.aA(a,this),r=s.d -if(r.length===0)B.b.aP(r,A.f(["",""],t.s)) -else if(s.gaV())B.b.k(s.d,"") -return A.E(null,null,s.d,"file")}, -gb_(){return"posix"}, -ga5(){return"/"}} -A.cT.prototype={ -aQ(a){return B.a.E(a,"/")}, -A(a){return a===47}, -al(a){var s=a.length -if(s===0)return!1 -if(B.a.m(a,s-1)!==47)return!0 -return B.a.aR(a,"://")&&this.G(a)===s}, -ad(a,b){var s,r,q,p,o=a.length -if(o===0)return 0 -if(B.a.l(a,0)===47)return 1 -for(s=0;s=0))return A.a(a,s) +if(a.charCodeAt(s)!==47)return!0 +return B.a.aV(a,"://")&&this.F(a)===r}, +ac(a,b){var s,r,q,p=a.length +if(p===0)return 0 +if(0>=p)return A.a(a,0) +if(a.charCodeAt(0)===47)return 1 +for(s=0;s=s)return A.a(a,0) +s=a.charCodeAt(0)===47}else s=!1 +return s}, +aG(a){return a.i(0)}, +bL(a){return A.R(a)}, +aS(a){return A.R(a)}, +gb7(){return"url"}, +ga8(){return"/"}} +A.d7.prototype={ +aU(a){return B.a.u(a,"/")}, +B(a){return a===47||a===92}, +am(a){var s,r=a.length +if(r===0)return!1 +s=r-1 +if(!(s>=0))return A.a(a,s) +s=a.charCodeAt(s) return!(s===47||s===92)}, -ad(a,b){var s,r,q=a.length +ac(a,b){var s,r,q=a.length if(q===0)return 0 -s=B.a.l(a,0) -if(s===47)return 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(0>=q)return A.a(a,0) +if(a.charCodeAt(0)===47)return 1 +if(a.charCodeAt(0)===92){if(q>=2){if(1>=q)return A.a(a,1) +s=a.charCodeAt(1)!==92}else s=!0 +if(s)return 1 +r=B.a.a3(a,"\\",2) +if(r>0){r=B.a.a3(a,"\\",r+1) if(r>0)return r}return q}if(q<3)return 0 -if(!A.hD(s))return 0 -if(B.a.l(a,1)!==58)return 0 -q=B.a.l(a,2) +if(!A.i1(a.charCodeAt(0)))return 0 +if(a.charCodeAt(1)!==58)return 0 +q=a.charCodeAt(2) if(!(q===47||q===92))return 0 return 3}, -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 +F(a){return this.ac(a,!1)}, +R(a){return this.F(a)===1}, +aG(a){var s,r +if(a.gL()!==""&&a.gL()!=="file")throw A.b(A.J("Uri "+a.i(0)+" must have scheme 'file:'.")) +s=a.gS() +if(a.ga5()===""){if(s.length>=3&&B.a.q(s,"/")&&A.hY(s,1)!=null)s=B.a.bN(s,"/","")}else s="\\\\"+a.ga5()+s +r=A.Z(s,"/","\\") +return A.fg(r,0,r.length,B.f,!1)}, +aS(a){var s,r,q=A.aJ(a,this),p=q.b p.toString -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,"") +if(B.a.q(p,"\\\\")){s=new A.W(A.f(p.split("\\"),t.s),t.Q.a(new A.ei()),t.U) +B.b.b2(q.d,0,s.gK(0)) +if(q.gb1())B.b.k(q.d,"") +return A.F(s.gaW(0),null,q.d,"file")}else{if(q.d.length===0||q.gb1())B.b.k(q.d,"") p=q.d r=q.b r.toString -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 +r=A.Z(r,"/","") +B.b.b2(p,0,A.Z(r,"\\","")) +return A.F(null,null,q.d,"file")}}, +aA(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(a,b){var s,r +bb(a,b){var s,r,q if(a===b)return!0 s=a.length -if(s!==b.length)return!1 -for(r=0;r")),q=this.c,p=this.a,o=this.b,n=t.Y,r=r.h("o.E");s.m();){m=s.d +if(m==null)m=r.a(m) +l=n.a(m.p(0,"offset")) +if(l==null)throw A.b(B.U) +k=A.hH(l.p(0,"line")) +if(k==null)throw A.b(B.W) +j=A.hH(l.p(0,"column")) +if(j==null)throw A.b(B.Q) +B.b.k(p,k) +B.b.k(o,j) +i=A.dm(m.p(0,"url")) +h=n.a(m.p(0,"map")) +m=i!=null +if(m&&h!=null)throw A.b(B.T) +else if(m){m=A.z("section contains refers to "+i+', but no map was given for it. Make sure a map is passed in "otherMaps"',null,null) +throw A.b(m)}else if(h!=null)B.b.k(q,A.i5(h,c,b)) +else throw A.b(B.V)}if(p.length===0)throw A.b(B.S)}, +i(a){var s,r,q,p,o,n,m=this,l=A.bh(m).i(0)+" : [" for(s=m.a,r=m.b,q=m.c,p=0;p").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}, +A.cF.prototype={ +i(a){var s,r,q,p +for(s=this.a.gcH(),r=A.l(s),s=new A.aH(J.T(s.a),s.b,r.h("aH<1,2>")),r=r.y[1],q="";s.m();){p=s.a +q+=(p==null?r.a(p):p).i(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) +d=A.aX(d,"uri",t.N) s=A.f([47,58],t.t) -for(r=d.length,q=this.a,p=!0,o=0;o=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 A.a(f.aM(2,l)) -i+=A.db(n) -p=n.ga3() -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))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)) +break c$1}if(n.ga6().b)throw A.b(f.aQ(0,l)) +k+=A.dq(n) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))B.b.k(m,new A.ai(k,d,d,d,d)) +else{j+=A.dq(n) +if(j>=a0.length)throw A.b(A.e3("Invalid source url id. "+A.h(f.e)+", "+l+", "+j)) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))throw A.b(f.aQ(2,l)) +i+=A.dq(n) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))throw A.b(f.aQ(3,l)) +h+=A.dq(n) +p=n.ga6() +if(!(!p.a&&!p.b&&!p.c))B.b.k(m,new A.ai(k,j,i,h,d)) +else{g+=A.dq(n) +if(g>=a1.length)throw A.b(A.e3("Invalid name id: "+A.h(f.e)+", "+l+", "+g)) +B.b.k(m,new A.ai(k,j,i,h,g))}}if(n.ga6().b)++n.c}}if(m.length!==0)B.b.k(q,new A.aw(l,m)) +a3.O(0,new A.e_(f))}, +aQ(a,b){return new A.aL("Invalid entry in sourcemap, expected 1, 4, or 5 values, but got "+a+".\ntargeturl: "+A.h(this.e)+", line: "+b)}, +c9(a){var s,r=this.d,q=A.hX(r,new A.e1(a),t.e) if(q<=0)r=null else{s=q-1 -if(!(s>>0!==r||r>=q.length)return A.b(q,r) -p=q[r] -q=k.f -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=A.eN(0,s.d,n,q) -if(o!=null){q=k.b -if(o>>>0!==o||o>=q.length)return A.b(q,o) -q=q[o] -n=q.length -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)+"]" +r=l.a +if(s>>>0!==s||s>=r.length)return A.a(r,s) +q=r[s] +r=l.f +if(r!=null)q=r+q +p=k.e +r=l.r +r=r==null?null:r.bd(q) +if(r==null)r=q +o=k.c +n=A.f4(0,k.d,o,r) +if(p!=null){r=l.b +if(p>>>0!==p||p>=r.length)return A.a(r,p) +r=r[p] +o=r.length +o=A.f4(n.b+o,n.d+o,n.c,n.a) +m=new A.bO(n,o,r) +m.bj(n,o,r) +return m}else return A.h2(n,n,"",!1)}, +i(a){var s=this,r=A.bh(s).i(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}} -A.dH.prototype={ -$2(a,b){if(J.fk(a,"x_"))this.a.w.C(0,A.j(a),b)}, +A.e_.prototype={ +$2(a,b){A.k(a) +if(B.a.q(a,"x_"))this.a.w.v(0,a,b)}, +$S:4} +A.e1.prototype={ +$1(a){return t.e.a(a).a>this.a}, +$S:20} +A.e0.prototype={ +$1(a){return t.D.a(a).a>this.a}, $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&&s=0&&s=0&&s0}, -ga3(){var s,r,q -if(!this.gco())return B.a5 +ga6(){var s,r,q +if(!this.gcs())return B.ae s=this.a r=this.c+1 -if(!(r>=0&&r=0&&r=0))return A.b(s,q) -n.a+=s[q]}n.a+=" ("+o.c+")" -s=n.a +if(q===";")return B.ag +if(q===",")return B.af +return B.ad}, +i(a){var s,r,q,p,o,n,m=this,l=new A.C("") +for(s=m.a,r=s.length,q=0;q=0))return A.a(s,q) +l.a+=s[q]}l.a+=" ("+m.c+")" +s=l.a return s.charCodeAt(0)==0?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) +$in:1} +A.bb.prototype={} +A.bO.prototype={} +A.eD.prototype={ +$0(){var s,r=A.f_(t.N,t.S) +for(s=0;s<64;++s)r.v(0,u.n[s],s) return r}, $S:22} -A.bB.prototype={ -gq(a){return this.c.length}, -bW(a,b){var s,r,q,p,o,n,m +A.cS.prototype={ +gl(a){return this.c.length}, +bZ(a,b){var s,r,q,p,o,n,m for(s=this.c,r=s.length,q=this.b,p=0;p"}, -gO(){return this.a}, +i(a){var s=this,r=A.bh(s).i(0) +return"<"+r+": "+s.b+" "+(s.a.i(0)+":"+(s.c+1)+":"+(s.d+1))+">"}, +gN(){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()'}, -$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}, +gM(){return this.b}, +gcG(){return this.c}} +A.cV.prototype={ +gN(){return this.gJ().gN()}, +gl(a){return this.gM().gab()-this.gJ().gab()}, +G(a,b){if(b==null)return!1 +return t.cx.b(b)&&this.gJ().G(0,b.gJ())&&this.gM().G(0,b.gM())}, +gD(a){return A.fU(this.gJ(),this.gM(),B.n)}, +i(a){var s=this +return"<"+A.bh(s).i(0)+": from "+s.gJ().i(0)+" to "+s.gM().i(0)+' "'+s.gcG()+'">'}, +$ie2:1} +A.ap.prototype={ +bO(){var s=this.a,r=A.w(s) +return A.f6(new A.bu(s,r.h("d(1)").a(new A.dD()),r.h("bu<1,j>")),null)}, +i(a){var s=this.a,r=A.w(s) +return new A.q(s,r.h("c(1)").a(new A.dB(new A.q(s,r.h("e(1)").a(new A.dC()),r.h("q<1,e>")).aX(0,0,B.m,t.S))),r.h("q<1,c>")).Z(0,u.a)}, +$icW:1} +A.dy.prototype={ +$1(a){return A.k(a).length!==0}, $S:0} -A.dj.prototype={ -$1(a){return t.a.a(a).ga7()}, +A.dD.prototype={ +$1(a){return t.a.a(a).ga9()}, $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)}, +A.dC.prototype={ +$1(a){var s=t.a.a(a).ga9(),r=A.w(s) +return new A.q(s,r.h("e(1)").a(new A.dA()),r.h("q<1,e>")).aX(0,0,B.m,t.S)}, $S:24} -A.dg.prototype={ +A.dA.prototype={ $1(a){return t.B.a(a).gaa().length}, $S:7} -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)}, +A.dB.prototype={ +$1(a){var s=t.a.a(a).ga9(),r=A.w(s) +return new A.q(s,r.h("c(1)").a(new A.dz(this.a)),r.h("q<1,c>")).aE(0)}, $S:25} -A.df.prototype={ +A.dz.prototype={ $1(a){t.B.a(a) -return B.a.bF(a.gaa(),this.a)+" "+A.h(a.gaA())+"\n"}, +return B.a.bJ(a.gaa(),this.a)+" "+A.h(a.gaF())+"\n"}, $S:8} -A.i.prototype={ -gaZ(){var s=this.a -if(s.gI()==="data")return"data:..." -return $.ey().cw(s)}, +A.j.prototype={ +gb5(){var s=this.a +if(s.gL()==="data")return"data:..." +return $.eR().cD(s)}, gaa(){var s,r=this,q=r.b -if(q==null)return r.gaZ() +if(q==null)return r.gb5() s=r.c -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)}, +if(s==null)return r.gb5()+" "+A.h(q) +return r.gb5()+" "+A.h(q)+":"+A.h(s)}, +i(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={ +gal(){return this.b}, +gaB(){return this.c}, +gaF(){return this.d}} +A.dM.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) +if(k==="...")return new A.j(A.F(l,l,l,l),l,l,"...") +s=$.iK().a2(k) +if(s==null)return new A.a7(A.F(l,"unparsed",l,l),k) k=s.b -if(1>=k.length)return A.b(k,1) +if(1>=k.length)return A.a(k,1) r=k[1] r.toString -q=t.E.a($.i3()) -r=A.X(r,q,"") -p=A.X(r,"","") -if(2>=k.length)return A.b(k,2) +q=$.iv() +r=A.Z(r,q,"") +p=A.Z(r,"","") +if(2>=k.length)return A.a(k,2) r=k[2] q=r q.toString -if(B.a.u(q,"=k.length)return A.b(k,3) +o=A.R(r)}if(3>=k.length)return A.a(k,3) n=k[3].split(":") k=n.length -m=k>1?A.W(n[1],l):l -return new A.i(o,m,k>2?A.W(n[2],l):l,p)}, +m=k>1?A.Y(n[1],l):l +return new A.j(o,m,k>2?A.Y(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) +A.dK.prototype={ +$0(){var s,r,q,p="",o=this.a,n=$.iG().a2(o) +if(n==null)return new A.a7(A.F(null,"unparsed",null,null),o) +o=new A.dL(o) s=n.b r=s.length -if(2>=r)return A.b(s,2) +if(2>=r)return A.a(s,2) q=s[2] if(q!=null){r=q r.toString s=s[1] s.toString -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=A.Z(s,"",p) +s=A.Z(s,"Anonymous function",p) +return o.$2(r,A.Z(s,"(anonymous function)",p))}else{if(3>=r)return A.a(s,3) s=s[3] s.toString return o.$2(s,p)}}, $S:1} -A.dt.prototype={ -$2(a,b){var s,r,q,p,o,n=null,m=$.id(),l=m.a_(a) +A.dL.prototype={ +$2(a,b){var s,r,q,p,o,n=null,m=$.iF(),l=m.a2(a) for(;l!=null;a=s){s=l.b -if(1>=s.length)return A.b(s,1) +if(1>=s.length)return A.a(s,1) s=s[1] s.toString -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) +l=m.a2(s)}if(a==="native")return new A.j(A.R("native"),n,n,b) +r=$.iJ().a2(a) +if(r==null)return new A.a7(A.F(n,"unparsed",n,n),this.a) m=r.b -if(1>=m.length)return A.b(m,1) +if(1>=m.length)return A.a(m,1) s=m[1] s.toString -q=A.eE(s) -if(2>=m.length)return A.b(m,2) +q=A.eV(s) +if(2>=m.length)return A.a(m,2) s=m[2] s.toString -p=A.W(s,n) -if(3>=m.length)return A.b(m,3) +p=A.Y(s,n) +if(3>=m.length)return A.a(m,3) o=m[3] -return new A.i(q,p,o!=null?A.W(o,n):n,b)}, +return new A.j(q,p,o!=null?A.Y(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) +A.dH.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.ix().a2(n) +if(m==null)return new A.a7(A.F(o,"unparsed",o,o),n) n=m.b -if(1>=n.length)return A.b(n,1) +if(1>=n.length)return A.a(n,1) s=n[1] s.toString -r=A.X(s,"/<","") -if(2>=n.length)return A.b(n,2) +r=A.Z(s,"/<","") +if(2>=n.length)return A.a(n,2) s=n[2] s.toString -q=A.eE(s) -if(3>=n.length)return A.b(n,3) +q=A.eV(s) +if(3>=n.length)return A.a(n,3) n=n[3] n.toString -p=A.W(n,o) -return new A.i(q,p,o,r.length===0||r==="anonymous"?"":r)}, +p=A.Y(n,o) +return new A.j(q,p,o,r.length===0||r==="anonymous"?"":r)}, $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) +A.dI.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.iz().a2(k) +if(j==null)return new A.a7(A.F(l,"unparsed",l,l),k) s=j.b -if(3>=s.length)return A.b(s,3) +if(3>=s.length)return A.a(s,3) r=s[3] q=r q.toString -if(B.a.E(q," line "))return A.iF(k) +if(B.a.u(q," line "))return A.j8(k) k=r k.toString -p=A.eE(k) +p=A.eV(k) k=s.length -if(1>=k)return A.b(s,1) +if(1>=k)return A.a(s,1) o=s[1] -if(o!=null){if(2>=k)return A.b(s,2) +if(o!=null){if(2>=k)return A.a(s,2) k=s[2] k.toString -k=B.a.aq("/",k) -o+=B.b.az(A.am(k.gq(k),".",!1,t.N)) +o+=B.b.aE(A.af(B.a.av("/",k).gl(0),".",!1,t.N)) if(o==="")o="" -o=B.a.bJ(o,$.ib(),"")}else o="" -if(4>=s.length)return A.b(s,4) +o=B.a.bN(o,$.iD(),"")}else o="" +if(4>=s.length)return A.a(s,4) k=s[4] if(k==="")n=l else{k=k k.toString -n=A.W(k,l)}if(5>=s.length)return A.b(s,5) +n=A.Y(k,l)}if(5>=s.length)return A.a(s,5) k=s[5] if(k==null||k==="")m=l else{k=k k.toString -m=A.W(k,l)}return new A.i(p,n,m,o)}, +m=A.Y(k,l)}return new A.j(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)) +A.dJ.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iB().a2(n) +if(m==null)throw A.b(A.z("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) n=m.b -if(1>=n.length)return A.b(n,1) +if(1>=n.length)return A.a(n,1) s=n[1] -if(s==="data:...")r=A.fT("") +if(s==="data:...")r=A.hc("") else{s=s s.toString -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) +r=A.R(s)}if(r.gL()===""){s=$.eR() +r=s.bP(s.bz(s.a.aG(A.fj(r)),o,o,o,o,o,o,o,o,o,o,o,o,o,o))}if(2>=n.length)return A.a(n,2) s=n[2] if(s==null)q=o else{s=s s.toString -q=A.W(s,o)}if(3>=n.length)return A.b(n,3) +q=A.Y(s,o)}if(3>=n.length)return A.a(n,3) s=n[3] if(s==null)p=o else{s=s s.toString -p=A.W(s,o)}if(4>=n.length)return A.b(n,4) -return new A.i(r,q,p,n[4])}, +p=A.Y(s,o)}if(4>=n.length)return A.a(n,4) +return new A.j(r,q,p,n[4])}, $S:1} -A.cs.prototype={ -gbs(){var s,r=this,q=r.b +A.cE.prototype={ +gby(){var s,r=this,q=r.b if(q===$){s=r.a.$0() -r.b!==$&&A.dc("_trace") +r.b!==$&&A.ds("_trace") r.b=s q=s}return q}, -ga7(){return this.gbs().ga7()}, -h(a){return this.gbs().h(0)}, -$icJ:1, +ga9(){return this.gby().ga9()}, +i(a){return this.gby().i(0)}, +$icW: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))}, +i(a){var s=this.a,r=A.w(s) +return new A.q(s,r.h("c(1)").a(new A.eb(new A.q(s,r.h("e(1)").a(new A.ec()),r.h("q<1,e>")).aX(0,0,B.m,t.S))),r.h("q<1,c>")).aE(0)}, +$icW:1, +ga9(){return this.a}} +A.e9.prototype={ +$0(){return A.f7(this.a.i(0))}, $S:27} -A.dT.prototype={ -$1(a){return A.j(a).length!==0}, +A.ea.prototype={ +$1(a){return A.k(a).length!==0}, $S:0} -A.dR.prototype={ -$1(a){return!B.a.u(A.j(a),$.ih())}, +A.e8.prototype={ +$1(a){return!B.a.q(A.k(a),$.iI())}, $S:0} -A.dQ.prototype={ -$1(a){return A.j(a)!=="\tat "}, +A.e7.prototype={ +$1(a){return A.k(a)!=="\tat "}, $S:0} -A.dO.prototype={ -$1(a){A.j(a) +A.e5.prototype={ +$1(a){A.k(a) return a.length!==0&&a!=="[native code]"}, $S:0} -A.dP.prototype={ -$1(a){return!B.a.u(A.j(a),"=====")}, +A.e6.prototype={ +$1(a){return!B.a.q(A.k(a),"=====")}, $S:0} -A.dV.prototype={ +A.ec.prototype={ $1(a){return t.B.a(a).gaa().length}, $S:7} -A.dU.prototype={ +A.eb.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"}, +if(a instanceof A.a7)return a.i(0)+"\n" +return B.a.bJ(a.gaa(),this.a)+" "+A.h(a.gaF())+"\n"}, $S:8} -A.a5.prototype={ -h(a){return this.w}, -$ii:1, +A.a7.prototype={ +i(a){return this.w}, +$ij:1, gae(){return this.a}, -ga2(){return null}, -ga6(){return null}, +gal(){return null}, +gaB(){return null}, gaa(){return"unparsed"}, -gaA(){return this.w}} -A.ev.prototype={ +gaF(){return this.w}} +A.eP.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(a.gal()==null)return null +s=a.gaB() if(s==null)s=0 -r=a.ga2() +r=a.gal() r.toString -q=this.a.bR(r-1,s-1,a.gae().h(0)) +q=this.a.bU(r-1,s-1,a.gae().i(0)) if(q==null)return null -p=q.gO().h(0) -for(r=this.b,o=r.length,n=0;n()","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}')) +$S:30};(function aliases(){var s=J.as.prototype +s.bW=s.i +s=A.d.prototype +s.bV=s.bT})();(function installTearOffs(){var s=hunkHelpers._static_1,r=hunkHelpers.installStaticTearOff +s(A,"kQ","jL",3) +s(A,"kW","jf",2) +s(A,"hZ","je",2) +s(A,"kU","jc",2) +s(A,"kV","jd",2) +s(A,"lo","jG",9) +s(A,"ln","jF",9) +s(A,"ld","la",3) +s(A,"le","lc",31) +r(A,"lb",2,null,["$1$2","$2"],["i3",function(a,b){return A.i3(a,b,t.H)}],32,1)})();(function inheritance(){var s=hunkHelpers.mixin,r=hunkHelpers.inherit,q=hunkHelpers.inheritMany +r(A.v,null) +q(A.v,[A.eY,J.ct,J.az,A.d,A.bl,A.E,A.K,A.r,A.o,A.dZ,A.L,A.aH,A.aR,A.bv,A.bR,A.bL,A.bN,A.bs,A.bV,A.bF,A.aD,A.aP,A.av,A.b3,A.bm,A.c_,A.cv,A.ed,A.cM,A.el,A.dQ,A.bC,A.aq,A.b8,A.bW,A.bQ,A.di,A.a1,A.dd,A.em,A.c6,A.ab,A.ac,A.ev,A.es,A.cN,A.bP,A.U,A.bG,A.C,A.c7,A.d2,A.a2,A.cp,A.b9,A.ba,A.e4,A.dV,A.bI,A.at,A.aw,A.ai,A.dg,A.bb,A.cV,A.cS,A.cT,A.ap,A.j,A.cE,A.t,A.a7]) +q(J.ct,[J.cu,J.bz,J.cy,J.bA,J.bB,J.cx,J.aE]) +q(J.cy,[J.as,J.u,A.cH,A.cJ]) +q(J.as,[J.cO,J.b6,J.ar,A.dG]) +r(J.dO,J.u) +q(J.cx,[J.by,J.cw]) +q(A.d,[A.ax,A.i,A.V,A.W,A.bu,A.aN,A.ah,A.bM,A.bU,A.bE,A.bZ,A.d8,A.dh]) +q(A.ax,[A.aA,A.ca]) +r(A.bY,A.aA) +r(A.bX,A.ca) +r(A.aa,A.bX) +q(A.E,[A.aB,A.aF,A.de]) +q(A.K,[A.cn,A.cs,A.cm,A.cZ,A.dP,A.eK,A.eM,A.ep,A.eA,A.eB,A.dE,A.dF,A.eG,A.ei,A.e1,A.e0,A.dy,A.dD,A.dC,A.dA,A.dB,A.dz,A.ea,A.e8,A.e7,A.e5,A.e6,A.ec,A.eb,A.eP,A.eF,A.eQ]) +q(A.cn,[A.dx,A.dX,A.eL,A.dS,A.dU,A.ef,A.eg,A.eh,A.ez,A.e_,A.dL]) +q(A.r,[A.cC,A.bS,A.cz,A.d0,A.da,A.cR,A.bk,A.dc,A.a3,A.cL,A.d1,A.d_,A.aL,A.co]) +r(A.b7,A.o) +r(A.aZ,A.b7) +q(A.i,[A.x,A.br,A.ae]) +q(A.x,[A.aM,A.q,A.df]) +r(A.bp,A.V) +r(A.bq,A.aN) +r(A.b_,A.ah) +r(A.bc,A.b3) +r(A.aQ,A.bc) +r(A.bn,A.aQ) +r(A.bo,A.bm) +r(A.b0,A.cs) +r(A.bH,A.bS) +q(A.cZ,[A.cX,A.aY]) +r(A.d9,A.bk) +r(A.b4,A.cJ) +r(A.c0,A.b4) +r(A.c1,A.c0) +r(A.bD,A.c1) +q(A.bD,[A.cI,A.cK,A.aI]) +r(A.c2,A.dc) +q(A.cm,[A.eu,A.et,A.eD,A.dM,A.dK,A.dH,A.dI,A.dJ,A.e9]) +q(A.ab,[A.cq,A.ck,A.ej,A.cA]) +q(A.cq,[A.ch,A.d4]) +q(A.ac,[A.dj,A.cl,A.cB,A.d6,A.d5]) +r(A.ci,A.dj) +q(A.a3,[A.ag,A.bw]) +r(A.db,A.c7) +r(A.b1,A.e4) +q(A.b1,[A.cP,A.d3,A.d7]) +q(A.at,[A.cG,A.cF,A.bK,A.cD]) +r(A.cU,A.cV) +r(A.bO,A.cU) +s(A.b7,A.aP) +s(A.ca,A.o) +s(A.c0,A.o) +s(A.c1,A.aD) +s(A.bc,A.c6)})() +var v={typeUniverse:{eC:new Map(),tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{e:"int",kT:"double",aU:"num",c:"String",S:"bool",bG:"Null",m:"List",v:"Object",M:"Map"},mangledNames:{},types:["S(c)","j()","j(c)","c(c)","~(c,@)","@()","~(aO,c,e)","e(j)","c(j)","t(c)","@(@)","@(@,c)","@(c)","~(v?,v?)","~(b5,@)","~(c,e)","~(c,e?)","e(e,e)","aO(@,@)","c(c?)","S(aw)","S(ai)","M()","m(t)","e(t)","c(t)","j(c,c)","t()","j?(j)","c(a5)","c(@)","~(@(c))","0^(0^,0^)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.jZ(v.typeUniverse,JSON.parse('{"cO":"as","b6":"as","ar":"as","dG":"as","cu":{"S":[],"G":[]},"bz":{"G":[]},"u":{"m":["1"],"i":["1"],"d":["1"]},"dO":{"u":["1"],"m":["1"],"i":["1"],"d":["1"]},"az":{"n":["1"]},"cx":{"aU":[]},"by":{"e":[],"aU":[],"G":[]},"cw":{"aU":[],"G":[]},"aE":{"c":[],"dW":[],"G":[]},"ax":{"d":["2"]},"bl":{"n":["2"]},"aA":{"ax":["1","2"],"d":["2"],"d.E":"2"},"bY":{"aA":["1","2"],"ax":["1","2"],"i":["2"],"d":["2"],"d.E":"2"},"bX":{"o":["2"],"m":["2"],"ax":["1","2"],"i":["2"],"d":["2"]},"aa":{"bX":["1","2"],"o":["2"],"m":["2"],"ax":["1","2"],"i":["2"],"d":["2"],"o.E":"2","d.E":"2"},"aB":{"E":["3","4"],"M":["3","4"],"E.K":"3","E.V":"4"},"cC":{"r":[]},"aZ":{"o":["e"],"aP":["e"],"m":["e"],"i":["e"],"d":["e"],"o.E":"e","aP.E":"e"},"i":{"d":["1"]},"x":{"i":["1"],"d":["1"]},"aM":{"x":["1"],"i":["1"],"d":["1"],"x.E":"1","d.E":"1"},"L":{"n":["1"]},"V":{"d":["2"],"d.E":"2"},"bp":{"V":["1","2"],"i":["2"],"d":["2"],"d.E":"2"},"aH":{"n":["2"]},"q":{"x":["2"],"i":["2"],"d":["2"],"x.E":"2","d.E":"2"},"W":{"d":["1"],"d.E":"1"},"aR":{"n":["1"]},"bu":{"d":["2"],"d.E":"2"},"bv":{"n":["2"]},"aN":{"d":["1"],"d.E":"1"},"bq":{"aN":["1"],"i":["1"],"d":["1"],"d.E":"1"},"bR":{"n":["1"]},"ah":{"d":["1"],"d.E":"1"},"b_":{"ah":["1"],"i":["1"],"d":["1"],"d.E":"1"},"bL":{"n":["1"]},"bM":{"d":["1"],"d.E":"1"},"bN":{"n":["1"]},"br":{"i":["1"],"d":["1"],"d.E":"1"},"bs":{"n":["1"]},"bU":{"d":["1"],"d.E":"1"},"bV":{"n":["1"]},"bE":{"d":["1"],"d.E":"1"},"bF":{"n":["1"]},"b7":{"o":["1"],"aP":["1"],"m":["1"],"i":["1"],"d":["1"]},"av":{"b5":[]},"bn":{"aQ":["1","2"],"bc":["1","2"],"b3":["1","2"],"c6":["1","2"],"M":["1","2"]},"bm":{"M":["1","2"]},"bo":{"bm":["1","2"],"M":["1","2"]},"bZ":{"d":["1"],"d.E":"1"},"c_":{"n":["1"]},"cs":{"K":[],"ad":[]},"b0":{"K":[],"ad":[]},"cv":{"fL":[]},"bH":{"r":[]},"cz":{"r":[]},"d0":{"r":[]},"cM":{"bt":[]},"K":{"ad":[]},"cm":{"K":[],"ad":[]},"cn":{"K":[],"ad":[]},"cZ":{"K":[],"ad":[]},"cX":{"K":[],"ad":[]},"aY":{"K":[],"ad":[]},"da":{"r":[]},"cR":{"r":[]},"d9":{"r":[]},"aF":{"E":["1","2"],"M":["1","2"],"E.K":"1","E.V":"2"},"ae":{"i":["1"],"d":["1"],"d.E":"1"},"bC":{"n":["1"]},"aq":{"ju":[],"dW":[]},"b8":{"bJ":[],"a5":[]},"d8":{"d":["bJ"],"d.E":"bJ"},"bW":{"n":["bJ"]},"bQ":{"a5":[]},"dh":{"d":["a5"],"d.E":"a5"},"di":{"n":["a5"]},"cH":{"G":[]},"b4":{"b2":["1"]},"bD":{"o":["e"],"m":["e"],"b2":["e"],"i":["e"],"d":["e"],"aD":["e"]},"cI":{"o":["e"],"m":["e"],"b2":["e"],"i":["e"],"d":["e"],"aD":["e"],"G":[],"o.E":"e"},"cK":{"f8":[],"o":["e"],"m":["e"],"b2":["e"],"i":["e"],"d":["e"],"aD":["e"],"G":[],"o.E":"e"},"aI":{"aO":[],"o":["e"],"m":["e"],"b2":["e"],"i":["e"],"d":["e"],"aD":["e"],"G":[],"o.E":"e"},"dc":{"r":[]},"c2":{"r":[]},"o":{"m":["1"],"i":["1"],"d":["1"]},"E":{"M":["1","2"]},"b3":{"M":["1","2"]},"aQ":{"bc":["1","2"],"b3":["1","2"],"c6":["1","2"],"M":["1","2"]},"de":{"E":["c","@"],"M":["c","@"],"E.K":"c","E.V":"@"},"df":{"x":["c"],"i":["c"],"d":["c"],"x.E":"c","d.E":"c"},"ch":{"ab":["c","m"]},"dj":{"ac":["c","m"]},"ci":{"ac":["c","m"]},"ck":{"ab":["m","c"]},"cl":{"ac":["m","c"]},"ej":{"ab":["1","3"]},"cq":{"ab":["c","m"]},"cA":{"ab":["v?","c"]},"cB":{"ac":["c","v?"]},"d4":{"ab":["c","m"]},"d6":{"ac":["c","m"]},"d5":{"ac":["m","c"]},"e":{"aU":[]},"m":{"i":["1"],"d":["1"]},"bJ":{"a5":[]},"c":{"dW":[]},"bk":{"r":[]},"bS":{"r":[]},"a3":{"r":[]},"ag":{"r":[]},"bw":{"ag":[],"r":[]},"cL":{"r":[]},"d1":{"r":[]},"d_":{"r":[]},"aL":{"r":[]},"co":{"r":[]},"cN":{"r":[]},"bP":{"r":[]},"U":{"bt":[]},"C":{"jy":[]},"c7":{"bT":[]},"a2":{"bT":[]},"db":{"bT":[]},"bI":{"bt":[]},"cP":{"b1":[]},"d3":{"b1":[]},"d7":{"b1":[]},"bK":{"at":[]},"cG":{"at":[]},"cF":{"at":[]},"dg":{"n":["c"]},"bO":{"e2":[]},"cU":{"e2":[]},"cV":{"e2":[]},"ap":{"cW":[]},"cE":{"t":[],"cW":[]},"t":{"cW":[]},"a7":{"j":[]},"cD":{"at":[]},"jg":{"m":["e"],"i":["e"],"d":["e"]},"aO":{"m":["e"],"i":["e"],"d":["e"]},"f8":{"m":["e"],"i":["e"],"d":["e"]}}')) +A.jY(v.typeUniverse,JSON.parse('{"b7":1,"ca":2,"b4":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 +var t=(function rtii(){var s=A.dr +return{c:s("bn"),X:s("i<@>"),C:s("r"),W:s("bt"),B:s("j"),d:s("j(c)"),Z:s("ad"),o:s("fL"),l:s("d"),n:s("d<@>"),F:s("u"),v:s("u"),s:s("u"),p:s("u"),x:s("u"),J:s("u"),dc:s("u"),b:s("u<@>"),t:s("u"),m:s("u"),T:s("bz"),g:s("ar"),da:s("b2<@>"),bV:s("aF"),h:s("m"),j:s("m<@>"),L:s("m"),f:s("M<@,@>"),M:s("V"),ax:s("q"),r:s("q"),cr:s("aI"),cK:s("bE"),P:s("bG"),K:s("v"),G:s("ag"),cY:s("lt"),k:s("bJ"),E:s("bK"),cJ:s("cT"),cx:s("e2"),N:s("c"),bj:s("c(a5)"),bm:s("c(c)"),cm:s("b5"),D:s("ai"),e:s("aw"),a:s("t"),u:s("t(c)"),bW:s("G"),cB:s("b6"),R:s("bT"),U:s("W"),ab:s("bU"),y:s("S"),Q:s("S(c)"),i:s("kT"),z:s("@"),q:s("@(c)"),S:s("e"),A:s("0&*"),_:s("v*"),bc:s("fK?"),V:s("m<@>?"),Y:s("M<@,@>?"),O:s("v?"),w:s("cS?"),aD:s("c?"),aL:s("c(a5)?"),I:s("bT?"),H:s("aU"),cQ:s("~(c,@)"),ae:s("~(@(c))")}})();(function constants(){var s=hunkHelpers.makeConstList +B.X=J.ct.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) { +B.c=J.by.prototype +B.a=J.aE.prototype +B.Y=J.ar.prototype +B.Z=J.cy.prototype +B.a3=A.aI.prototype +B.D=J.cO.prototype +B.o=J.b6.prototype +B.E=new A.ci(127) +B.m=new A.b0(A.lb(),A.dr("b0")) +B.F=new A.ch() +B.ah=new A.cl() +B.G=new A.ck() +B.u=new A.bs(A.dr("bs<0&>")) +B.v=function getTagFallback(o) { var s = Object.prototype.toString.call(o); return s.substring(8, s.length - 1); } -B.I=function() { +B.H=function() { var toStringFunction = Object.prototype.toString; function getTag(o) { var s = toStringFunction.call(o); @@ -5317,7 +5571,7 @@ B.I=function() { } } function getUnknownTagGenericBrowser(object, tag) { - if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement"; + if (object instanceof HTMLElement) return "HTMLElement"; return getUnknownTag(object, tag); } function prototypeForTag(tag) { @@ -5328,19 +5582,20 @@ B.I=function() { return constructor.prototype; } function discriminator(tag) { return null; } - var isBrowser = typeof navigator == "object"; + var isBrowser = typeof HTMLElement == "function"; return { getTag: getTag, getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag, prototypeForTag: prototypeForTag, discriminator: discriminator }; } -B.N=function(getTagFallback) { +B.M=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) { + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; + if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks; + if (userAgent.indexOf("Chrome") >= 0) { function confirm(p) { return typeof window == "object" && window[p] && window[p].name == p; } @@ -5349,30 +5604,14 @@ B.N=function(getTagFallback) { hooks.getTag = getTagFallback; }; } -B.J=function(hooks) { +B.I=function(hooks) { if (typeof dartExperimentalFixupGetTag != "function") return hooks; hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); } -B.K=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.M=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; +B.L=function(hooks) { + if (typeof navigator != "object") return hooks; + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; if (userAgent.indexOf("Firefox") == -1) return hooks; var getTag = hooks.getTag; var quickMap = { @@ -5388,8 +5627,10 @@ B.M=function(hooks) { } hooks.getTag = getTagFirefox; } -B.L=function(hooks) { - var userAgent = typeof navigator == "object" ? navigator.userAgent : ""; +B.K=function(hooks) { + if (typeof navigator != "object") return hooks; + var userAgent = navigator.userAgent; + if (typeof userAgent != "string") return hooks; if (userAgent.indexOf("Trident/") == -1) return hooks; var getTag = hooks.getTag; var quickMap = { @@ -5417,108 +5658,137 @@ B.L=function(hooks) { hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; } -B.v=function(hooks) { return hooks; } +B.J=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.w=function(hooks) { return hooks; } -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.N=new A.cA() +B.O=new A.cN() +B.n=new A.dZ() +B.f=new A.d4() +B.P=new A.d6() +B.x=new A.el() +B.Q=new A.U("offset missing column",null,null) +B.R=new A.U('map containing "sections" cannot contain "mappings", "sources", or "names".',null,null) +B.S=new A.U("expected at least one section",null,null) +B.T=new A.U("section can't use both url and map entries",null,null) +B.U=new A.U("section missing offset",null,null) +B.V=new A.U("section missing url or map",null,null) +B.W=new A.U("offset missing line",null,null) +B.a_=new A.cB(null) +B.a0=A.f(s([0,0,32722,12287,65534,34815,65534,18431]),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.y=A.f(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +B.i=A.f(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +B.a1=A.f(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +B.z=A.f(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +B.j=A.f(s([0,0,32776,33792,1,10240,0,0]),t.t) +B.A=A.f(s([]),t.s) +B.B=A.f(s([]),t.b) +B.a2=A.f(s([]),t.m) 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({ +B.a4={} +B.C=new A.bo(B.a4,[],A.dr("bo")) +B.a5=new A.av("call") +B.a6=A.dt("lp") +B.a7=A.dt("jg") +B.a8=A.dt("v") +B.a9=A.dt("f8") +B.aa=A.dt("aO") +B.ab=new A.d5(!1) +B.p=new A.b9("above root") +B.q=new A.b9("at root") +B.ac=new A.b9("reaches root") +B.r=new A.b9("below root") +B.d=new A.ba("different") +B.t=new A.ba("equal") +B.e=new A.ba("inconclusive") +B.l=new A.ba("within") +B.ad=new A.bb(!1,!1,!1) +B.ae=new A.bb(!1,!1,!0) +B.af=new A.bb(!1,!0,!1) +B.ag=new A.bb(!0,!1,!1)})();(function staticFields(){$.ek=null +$.a_=A.f([],A.dr("u")) +$.fX=null +$.fG=null +$.fF=null +$.i_=null +$.hW=null +$.i8=null +$.eI=null +$.eN=null +$.fq=null +$.hd="" +$.he=null +$.hJ=null +$.eC=null +$.hP=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal,r=hunkHelpers.lazy +s($,"lq","fu",()=>A.kX("_$dart_dartClosure")) +s($,"ly","ie",()=>A.aj(A.ee({ toString:function(){return"$receiver$"}}))) -s($,"l6","hR",()=>A.ac(A.dX({$method$:null, +s($,"lz","ig",()=>A.aj(A.ee({$method$:null, toString:function(){return"$receiver$"}}))) -s($,"l7","hS",()=>A.ac(A.dX(null))) -s($,"l8","hT",()=>A.ac(function(){var $argumentsExpr$="$arguments$" +s($,"lA","ih",()=>A.aj(A.ee(null))) +s($,"lB","ii",()=>A.aj(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$" +s($,"lE","il",()=>A.aj(A.ee(void 0))) +s($,"lF","im",()=>A.aj(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={} +s($,"lD","ik",()=>A.aj(A.h9(null))) +s($,"lC","ij",()=>A.aj(function(){try{null.$method$}catch(q){return q.message}}())) +s($,"lH","ip",()=>A.aj(A.h9(void 0))) +s($,"lG","io",()=>A.aj(function(){try{(void 0).$method$}catch(q){return q.message}}())) +s($,"lM","iu",()=>A.jm(4096)) +s($,"lK","is",()=>new A.eu().$0()) +s($,"lL","it",()=>new A.et().$0()) +s($,"lI","iq",()=>new Int8Array(A.hK(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","ir",()=>A.p("^[\\-\\.0-9A-Z_a-z~]*$",!1)) +s($,"m4","fw",()=>A.i4(B.a8)) +s($,"m6","iE",()=>A.kn()) +s($,"ml","iO",()=>A.eU($.cg())) +s($,"mj","fx",()=>A.eU($.bi())) +s($,"md","eR",()=>new A.cp($.fv(),null)) +s($,"lv","id",()=>new A.cP(A.p("/",!1),A.p("[^/]$",!1),A.p("^/",!1))) +s($,"lx","cg",()=>new A.d7(A.p("[/\\\\]",!1),A.p("[^/\\\\]$",!1),A.p("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.p("^[/\\\\](?![/\\\\])",!1))) +s($,"lw","bi",()=>new A.d3(A.p("/",!1),A.p("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.p("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.p("^/",!1))) +s($,"lu","fv",()=>A.jA()) +s($,"lY","iw",()=>new A.eD().$0()) +s($,"mf","iL",()=>A.dl(A.i7(2,31))-1) +s($,"mg","iM",()=>-A.dl(A.i7(2,31))) +s($,"mc","iK",()=>A.p("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)) +s($,"m8","iG",()=>A.p("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)) +s($,"mb","iJ",()=>A.p("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)) +s($,"m7","iF",()=>A.p("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)) +s($,"lZ","ix",()=>A.p("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)) +s($,"m0","iz",()=>A.p("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)) +s($,"m2","iB",()=>A.p("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)) +s($,"lX","iv",()=>A.p("<(|[^>]+)_async_body>",!1)) +s($,"m5","iD",()=>A.p("^\\.",!1)) +s($,"lr","ib",()=>A.p("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)) +s($,"ls","ic",()=>A.p("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)) +s($,"m9","iH",()=>A.p("\\n ?at ",!1)) +s($,"ma","iI",()=>A.p(" ?at ",!1)) +s($,"m_","iy",()=>A.p("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)) +s($,"m1","iA",()=>A.p("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)) +s($,"m3","iC",()=>A.p("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)) +s($,"mk","fy",()=>A.p("^\\n?$",!0)) +r($,"mh","iN",()=>J.iW(self.$dartLoader.rootDirectories,new A.eQ(),t.N).ad(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)} @@ -5529,23 +5799,23 @@ 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.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"})() +hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer:A.cH,ArrayBufferView:A.cJ,Int8Array:A.cI,Uint32Array:A.cK,Uint8Array:A.aI}) +hunkHelpers.setOrUpdateLeafTags({ArrayBuffer:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false}) +A.b4.$nativeSuperclassTag="ArrayBufferView" +A.c0.$nativeSuperclassTag="ArrayBufferView" +A.c1.$nativeSuperclassTag="ArrayBufferView" +A.bD.$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.$2$0=function(){return this()} +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}var s=document.scripts -function onLoad(b){for(var q=0;q 5, <w \ No newline at end of file diff --git a/dev/packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js b/dev/packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js index 067122b62..89b7d6c80 100644 --- a/dev/packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.js +++ b/dev/packages/build_web_compilers/src/dev_compiler_stack_trace/stack_trace_mapper.dart.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;s=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>"))}, -cj:function(a){return new H.ci("Field '"+a+"' has been assigned during initialization.")}, -eN:function(a){var s,r=a^48 +a(hunkHelpers,v,w,$)}var A={eZ:function eZ(){}, +eU(a,b,c){if(b.i("h<0>").b(a))return new A.bD(a,b.i("@<0>").H(c).i("bD<1,2>")) +return new A.ar(a,b.i("@<0>").H(c).i("ar<1,2>"))}, +eG(a){var s,r=a^48 if(r<=9)return r s=a|32 if(97<=s&&s<=102)return s-87 return-1}, -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 +cH(a,b){a=a+b&536870911 +a=a+((a&524287)<<10)&536870911 +return a^a>>>6}, +h9(a){a=a+((a&67108863)<<3)&536870911 +a^=a>>>11 +return a+((a&16383)<<15)&536870911}, +fr(a){var s,r +for(s=$.aI.length,r=0;rc)A.z(A.u(b,0,c,"start",null))}return new A.aC(a,b,c,d.i("aC<0>"))}, +cm(a,b,c,d){if(t.X.b(a))return new A.ba(a,b,c.i("@<0>").H(d).i("ba<1,2>")) +return new A.P(a,b,c.i("@<0>").H(d).i("P<1,2>"))}, +jE(a,b,c){var s="takeCount" +A.aK(b,s) +A.T(b,s) +if(t.X.b(a))return new A.bb(a,b,c.i("bb<0>")) +return new A.aD(a,b,c.i("aD<0>"))}, +jB(a,b,c){var s="count" +if(t.X.b(a)){A.aK(b,s) +A.T(b,s) +return new A.aM(a,b,c.i("aM<0>"))}A.aK(b,s) +A.T(b,s) +return new A.a9(a,b,c.i("a9<0>"))}, +ca(){return new A.aB("No element")}, +jl(){return new A.aB("Too few elements")}, +ao:function ao(){}, +c1:function c1(a,b){this.a=a this.$ti=b}, ar:function ar(a,b){this.a=a this.$ti=b}, -bB:function bB(a,b){this.a=a +bD:function bD(a,b){this.a=a +this.$ti=b}, +bC:function bC(){}, +a4:function a4(a,b){this.a=a this.$ti=b}, -bA:function bA(){}, -a1:function a1(a,b){this.a=a +as:function as(a,b){this.a=a this.$ti=b}, -ci:function ci(a){this.a=a}, -aJ:function aJ(a){this.a=a}, +dc:function dc(a,b){this.a=a +this.b=b}, +bk:function bk(a){this.a=a}, +aL:function aL(a){this.a=a}, +dM:function dM(){}, h:function h(){}, -F:function F(){}, +H:function H(){}, aC:function aC(a,b,c,d){var _=this _.a=a _.b=b _.c=c _.$ti=d}, -ah:function ah(a,b){var _=this +a7:function a7(a,b){var _=this _.a=a _.b=b _.c=0 _.d=null}, -L:function L(a,b,c){this.a=a +P:function P(a,b,c){this.a=a this.b=b this.$ti=c}, -b8:function b8(a,b,c){this.a=a +ba:function ba(a,b,c){this.a=a this.b=b this.$ti=c}, -bj:function bj(a,b){this.a=null +bm:function bm(a,b){this.a=null this.b=a this.c=b}, -i:function i(a,b,c){this.a=a +j:function j(a,b,c){this.a=a this.b=b this.$ti=c}, -E:function E(a,b,c){this.a=a +D:function D(a,b,c){this.a=a this.b=b this.$ti=c}, -by:function by(a,b){this.a=a +bA:function bA(a,b){this.a=a this.b=b}, -bc:function bc(a,b,c){this.a=a +be:function be(a,b,c){this.a=a this.b=b this.$ti=c}, -c4:function c4(a,b,c){var _=this +c6:function c6(a,b,c){var _=this _.a=a _.b=b _.c=c @@ -224,259 +153,260 @@ _.d=null}, aD:function aD(a,b,c){this.a=a this.b=b this.$ti=c}, -b9:function b9(a,b,c){this.a=a +bb:function bb(a,b,c){this.a=a this.b=b this.$ti=c}, -cJ:function cJ(a,b){this.a=a +cI:function cI(a,b){this.a=a this.b=b}, -a7:function a7(a,b,c){this.a=a +a9:function a9(a,b,c){this.a=a this.b=b this.$ti=c}, -aK:function aK(a,b,c){this.a=a +aM:function aM(a,b,c){this.a=a this.b=b this.$ti=c}, -cB:function cB(a,b){this.a=a +cA:function cA(a,b){this.a=a this.b=b}, -br:function br(a,b,c){this.a=a +bt:function bt(a,b,c){this.a=a this.b=b this.$ti=c}, -cC:function cC(a,b){this.a=a +cB:function cB(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 +bc:function bc(a){this.$ti=a}, +c4:function c4(){}, +bB:function bB(a,b){this.a=a this.$ti=b}, -cU:function cU(a,b){this.a=a +cS:function cS(a,b){this.a=a this.$ti=b}, -c5:function c5(){}, -cN:function cN(){}, -aT:function aT(){}, +c7:function c7(){}, +cM:function cM(){}, +aU:function aU(){}, 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 +aR:function aR(a){this.a=a}, +bP:function bP(){}, +jb(){throw A.a(A.q("Cannot modify unmodifiable Map"))}, +ig(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +i6(a,b){var s if(b!=null){s=b.x if(s!=null)return s}return t.D.b(a)}, -d:function(a){var s +d(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.bT(a) +s=J.b4(a) return s}, -bp:function(a){var s=a.$identityHash +cx(a){var s,r=$.h0 +if(r==null)r=$.h0=Symbol("identityHashCode") +s=a[r] if(s==null){s=Math.random()*0x3fffffff|0 -a.$identityHash=s}return s}, -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) +a[r]=s}return s}, +h1(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)) +return n}if(b<2||b>36)throw A.a(A.u(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 +for(p=q.length,o=0;or)return n}return parseInt(a,b)}, +dL(a){return A.jt(a)}, +jt(a){var s,r,q,p +if(a instanceof A.t)return A.O(A.a3(a),null) +s=J.a2(a) +if(s===B.Q||s===B.T||t.cr.b(a)){r=B.t(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.M(H.T(a),null)}, -jf:function(){if(!!self.location)return self.location.href +if(typeof p=="string"&&p!=="Object"&&p!=="")return p}}return A.O(A.a3(a),null)}, +jw(a){if(typeof a=="number"||A.fi(a))return J.b4(a) +if(typeof a=="string")return JSON.stringify(a) +if(a instanceof A.au)return a.h(0) +return"Instance of '"+A.dL(a)+"'"}, +jv(){if(!!self.location)return self.location.href return null}, -fX:function(a){var s,r,q,p,o=a.length +h_(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.jg(a)}return H.fX(a)}, -jh:function(a,b,c){var s,r,q,p +if(!A.ez(q))throw A.a(A.d7(q)) +if(q<0)throw A.a(A.d7(q)) +if(q>65535)return A.jx(a)}return A.h_(a)}, +jy(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.t(a,0,1114111,null,null))}, -ak:function(a,b,c){var s,r,q={} +return String.fromCharCode((B.c.a7(s,10)|55296)>>>0,s&1023|56320)}}throw A.a(A.u(a,0,1114111,null,null))}, +am(a,b,c){var s,r,q={} q.a=0 s=[] r=[] q.a=b.length -C.b.aA(s,b) +B.b.aE(s,b) q.b="" -if(c!=null&&c.a!==0)c.T(0,new H.dR(q,r,s)) -""+q.a -return J.iO(a,new H.dF(C.a_,0,s,r,0))}, -je:function(a,b,c){var s,r,q +if(c!=null&&c.a!==0)c.O(0,new A.dK(q,r,s)) +return J.iZ(a,new A.dz(B.a1,0,s,r,0))}, +ju(a,b,c){var s,r,q if(Array.isArray(b))s=c==null||c.a===0 else s=!1 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(f>n)return A.am(a,g,null) if(fe)return H.ak(a,g,c) -if(g===b)g=P.ai(g,!0,t.z) +if(g===b)g=A.ak(g,!0,t.z) +B.b.aE(g,m)}return o.apply(a,g)}else{if(f>e)return A.am(a,g,c) +if(g===b)g=A.ak(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.l2 -if("defineProperty" in Object){Object.defineProperty(s,"message",{get:r}) -s.name=""}else s.toString=r -return s}, -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$")) +if(c==null)for(r=l.length,k=0;k=s)return A.eX(b,s,a,r) +return A.f2(b,r)}, +l0(a,b,c){if(a>c)return A.u(a,0,c,"start",null) +if(b!=null)if(bc)return A.u(b,a,c,"end",null) +return new A.W(!0,b,"end",null)}, +d7(a){return new A.W(!0,a,null,null)}, +a(a){return A.i3(new Error(),a)}, +i3(a,b){var s +if(b==null)b=new A.by() +a.dartException=b +s=A.lw +if("defineProperty" in Object){Object.defineProperty(a,"message",{get:s}) +a.name=""}else a.toString=s +return a}, +lw(){return J.b4(this.dartException)}, +z(a){throw A.a(a)}, +ie(a,b){throw A.i3(b,a)}, +aH(a){throw A.a(A.S(a))}, +aa(a){var s,r,q,p,o,n +a=A.id(a.replace(String({}),"$receiver$")) s=a.match(/\\\$[a-zA-Z]+\\\$/g) -if(s==null)s=H.b([],t.s) +if(s==null)s=A.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.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$" +return new A.e4(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)}, +e5(a){return function($expr$){var $argumentsExpr$="$arguments$" try{$expr$.$method$($argumentsExpr$)}catch(s){return s.message}}(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) +hc(a){return function($expr$){try{$expr$.$method$}catch(s){return s.message}}(a)}, +f_(a,b){var s=b==null,r=s?null:b.method +return new A.ce(a,r,s?null:b.receiver)}, +b2(a){if(a==null)return new A.cu(a) if(typeof a!=="object")return a -if("dartException" in a)return H.aH(a,a.dartException) -return H.kz(a)}, -aH:function(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a +if("dartException" in a)return A.aG(a,a.dartException) +return A.kW(a)}, +aG(a,b){if(t.C.b(b))if(b.$thrownJsError==null)b.$thrownJsError=a return b}, -kz:function(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null +kW(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.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() -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((B.c.a7(r,16)&8191)===10)switch(q){case 438:return A.aG(a,A.f_(A.d(s)+" (Error "+q+")",e)) +case 445:case 5007:p=A.d(s) +return A.aG(a,new A.bq(p+" (Error "+q+")",e))}}if(a instanceof TypeError){o=$.ik() +n=$.il() +m=$.im() +l=$.io() +k=$.ir() +j=$.is() +i=$.iq() +$.ip() +h=$.iu() +g=$.it() +f=o.X(s) +if(f!=null)return A.aG(a,A.f_(s,f)) +else{f=n.X(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) +return A.aG(a,A.f_(s,f))}else{f=m.X(s) +if(f==null){f=l.X(s) +if(f==null){f=k.X(s) +if(f==null){f=j.X(s) +if(f==null){f=i.X(s) +if(f==null){f=l.X(s) +if(f==null){f=h.X(s) +if(f==null){f=g.X(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() +if(p)return A.aG(a,new A.bq(s,f==null?e:f.method))}}return A.aG(a,new A.cL(typeof s=="string"?s:""))}if(a instanceof RangeError){if(typeof s=="string"&&s.indexOf("call stack")!==-1)return new A.bv() s=function(b){try{return String(b)}catch(d){}return null}(a) -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.aG(a,new A.W(!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.bv() return a}, -kF:function(a,b){var s,r,q,p=a.length +i8(a){if(a==null)return J.aJ(a) +if(typeof a=="object")return A.cx(a) +return J.aJ(a)}, +l2(a,b){var s,r,q,p=a.length for(s=0;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) -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)}}, -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=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}, -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)) +r=A.j7(s,d,a,b) +return r}, +j8(a,b,c,d){var s=A.fK,r=A.j4 +switch(b?-1:a){case 0:throw A.a(new A.cz("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)}}, +j9(a,b,c){var s,r +if($.fI==null)$.fI=A.fH("interceptor") +if($.fJ==null)$.fJ=A.fH("receiver") +s=b.length +r=A.j8(s,c,a,b) +return r}, +fl(a){return A.ja(a)}, +j3(a,b){return A.em(v.typeUniverse,A.a3(a.a),b)}, +fK(a){return a.a}, +j4(a){return a.b}, +fH(a){var s,r,q,p=new A.b6("receiver","interceptor"),o=J.dy(Object.getOwnPropertyNames(p)) for(s=o.length,r=0;r=0 -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,"$$$$") +else if(b instanceof A.ax){s=B.a.A(a,c) +return b.b.test(s)}else{s=J.eS(b,B.a.A(a,c)) +return!s.gC(s)}}, +fn(a){if(a.indexOf("$",0)>=0)return a.replace(/\$/g,"$$$$") return a}, -kZ:function(a,b,c,d){var s=b.bm(a,d) +ls(a,b,c,d){var s=b.bq(a,d) if(s==null)return a -return H.fv(a,s.b.index,s.gS(),c)}, -i3:function(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") +return A.fu(a,s.b.index,s.gR(),c)}, +id(a){if(/[[\]{}()*+?.\\^$|]/.test(a))return a.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&") return a}, -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() +R(a,b,c){var s +if(typeof b=="string")return A.lr(a,b,c) +if(b instanceof A.ax){s=b.gbw() s.lastIndex=0 -return a.replace(s,H.fq(c))}throw H.a("String.replaceAll(Pattern) UNIMPLEMENTED")}, -kY:function(a,b,c){var s,r,q,p +return a.replace(s,A.fn(c))}return A.lq(a,b,c)}, +lq(a,b,c){var s,r,q,p +for(s=J.eS(b,a),s=s.gq(s),r=0,q="";s.l();){p=s.gm() +q=q+a.substring(r,p.gM())+c +r=p.gR()}s=q+a.substring(r) +return s.charCodeAt(0)==0?s:s}, +lr(a,b,c){var s,r,q if(b===""){if(a==="")return c s=a.length r=""+c for(q=0;q=0)return a.split(b).join(c) -return a.replace(new RegExp(H.i3(b),"g"),H.fq(c))}, -hM:function(a){return a}, -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) +return a.replace(new RegExp(A.id(b),"g"),A.fn(c))}, +hX(a){return a}, +lp(a,b,c,d){var s,r,q,p,o,n,m +for(s=b.aF(0,a),s=new A.cU(s.a,s.b,s.c),r=t.d,q=0,p="";s.l();){o=s.d +if(o==null)o=r.a(o) 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))) +p=p+A.d(A.hX(B.a.j(a,q,m)))+A.d(c.$1(o)) +q=m+n[0].length}s=p+A.d(A.hX(B.a.A(a,q))) return s.charCodeAt(0)==0?s:s}, -l_:function(a,b,c,d){var s,r,q,p +lt(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.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.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}, -b6:function b6(a,b){this.a=a +return A.fu(a,s,s+b.length,c)}if(b instanceof A.ax)return d===0?a.replace(b.b,A.fn(c)):A.ls(a,b,c,d) +r=J.iT(b,a,d) +q=r.gq(r) +if(!q.l())return a +p=q.gm() +return B.a.Y(a,p.gM(),p.gR(),c)}, +fu(a,b,c,d){return a.substring(0,b)+d+a.substring(c)}, +b8:function b8(a,b){this.a=a this.$ti=b}, -b5:function b5(){}, -b7:function b7(a,b,c,d){var _=this +b7:function b7(){}, +b9:function b9(a,b,c){this.a=a +this.b=b +this.$ti=c}, +bE:function bE(a,b){this.a=a +this.$ti=b}, +d0:function d0(a,b){var _=this _.a=a _.b=b -_.c=c -_.$ti=d}, -dC:function dC(){}, -c8:function c8(a,b){this.a=a +_.c=0 +_.d=null}, +dw:function dw(){}, +bg:function bg(a,b){this.a=a this.$ti=b}, -dF:function dF(a,b,c,d,e){var _=this +dz:function dz(a,b,c,d,e){var _=this _.a=a _.c=b _.d=c _.e=d _.f=e}, -dR:function dR(a,b,c){this.a=a +dK:function dK(a,b,c){this.a=a this.b=b this.c=c}, -ef:function ef(a,b,c,d,e,f){var _=this +e4:function e4(a,b,c,d,e,f){var _=this _.a=a _.b=b _.c=c _.d=d _.e=e _.f=f}, -bn:function bn(a,b){this.a=a +bq:function bq(a,b){this.a=a this.b=b}, -cd:function cd(a,b,c){this.a=a +ce:function ce(a,b,c){this.a=a this.b=b this.c=c}, -cM:function cM(a){this.a=a}, -cv:function cv(a){this.a=a}, -at:function at(){}, -dp:function dp(){}, -dq:function dq(){}, -e0:function e0(){}, -dZ:function dZ(){}, -b3:function b3(a,b){this.a=a +cL:function cL(a){this.a=a}, +cu:function cu(a){this.a=a}, +au:function au(){}, +dj:function dj(){}, +dk:function dk(){}, +dV:function dV(){}, +dS:function dS(){}, +b6:function b6(a,b){this.a=a this.b=b}, -cA:function cA(a){this.a=a}, -et:function et(){}, -a3:function a3(a){var _=this +cV:function cV(a){this.a=a}, +cz:function cz(a){this.a=a}, +ej:function ej(){}, +a5:function a5(a){var _=this _.a=0 _.f=_.e=_.d=_.c=_.b=null _.r=0 _.$ti=a}, -dI:function dI(a){this.a=a}, -dJ:function dJ(a,b){this.a=a +dB:function dB(a){this.a=a}, +dC:function dC(a,b){this.a=a this.b=b this.c=null}, -a4:function a4(a,b){this.a=a +a6:function a6(a,b){this.a=a this.$ti=b}, -cm:function cm(a,b){var _=this +cl:function cl(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, -eO:function eO(a){this.a=a}, -eP:function eP(a){this.a=a}, -eQ:function eQ(a){this.a=a}, +eH:function eH(a){this.a=a}, +eI:function eI(a){this.a=a}, +eJ:function eJ(a){this.a=a}, ax:function ax(a,b){var _=this _.a=a _.b=b _.d=_.c=null}, aV:function aV(a){this.b=a}, -cW:function cW(a,b,c){this.a=a +cT:function cT(a,b,c){this.a=a this.b=b this.c=c}, -cX:function cX(a,b,c){var _=this +cU:function cU(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -bu:function bu(a,b){this.a=a +bw:function bw(a,b){this.a=a this.c=b}, -d2:function d2(a,b,c){this.a=a +d1:function d1(a,b,c){this.a=a this.b=b this.c=c}, -eu:function eu(a,b,c){var _=this +ek:function ek(a,b,c){var _=this _.a=a _.b=b _.c=c _.d=null}, -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 +hP(a){return a}, +es(a,b,c){if(a>>>0!==a||a>=c)throw A.a(A.bR(b,a))}, +kt(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.kD(a,b,c)) +if(s)throw A.a(A.l0(a,b,c)) if(b==null)return c return b}, +cp:function cp(){}, cr:function cr(){}, -aN:function aN(){}, -bl:function bl(){}, +aP:function aP(){}, +bo:function bo(){}, cq:function cq(){}, cs:function cs(){}, ay:function ay(){}, -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}, -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}, -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 +bF:function bF(){}, +bG:function bG(){}, +h4(a,b){var s=b.c +return s==null?b.c=A.f9(a,b.y,!0):s}, +f3(a,b){var s=b.c +return s==null?b.c=A.bJ(a,"fN",[b.y]):s}, +h5(a){var s=a.x +if(s===6||s===7||s===8)return A.h5(a.y) +return s===12||s===13}, +jz(a){return a.at}, +eE(a){return A.d4(v.typeUniverse,a,!1)}, +ld(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.aa(v.typeUniverse,a.z,s,0) +o=A.ae(v.typeUniverse,a.y,s,0) r.set(q,o) return o}, -aa: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 +ae(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.aa(a,s,a0,a1) +case 6:s=b.y +r=A.ae(a,s,a0,a1) if(r===s)return b -return H.hl(a,r,!0) -case 7:s=b.z -r=H.aa(a,s,a0,a1) +return A.hs(a,r,!0) +case 7:s=b.y +r=A.ae(a,s,a0,a1) if(r===s)return b -return H.fd(a,r,!0) -case 8:s=b.z -r=H.aa(a,s,a0,a1) +return A.f9(a,r,!0) +case 8:s=b.y +r=A.ae(a,s,a0,a1) if(r===s)return b -return H.hk(a,r,!0) -case 9:q=b.Q -p=H.bO(a,q,a0,a1) +return A.hr(a,r,!0) +case 9:q=b.z +p=A.bQ(a,q,a0,a1) if(p===q)return b -return H.bI(a,b.z,p) -case 10:o=b.z -n=H.aa(a,o,a0,a1) -m=b.Q -l=H.bO(a,m,a0,a1) +return A.bJ(a,b.y,p) +case 10:o=b.y +n=A.ae(a,o,a0,a1) +m=b.z +l=A.bQ(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.kv(a,i,a0,a1) +return A.f7(a,n,l) +case 12:k=b.y +j=A.ae(a,k,a0,a1) +i=b.z +h=A.kS(a,i,a0,a1) if(j===k&&h===i)return b -return H.hj(a,j,h) -case 12:g=b.Q +return A.hq(a,j,h) +case 13:g=b.z a1+=g.length -f=H.bO(a,g,a0,a1) -o=b.z -n=H.aa(a,o,a0,a1) +f=A.bQ(a,g,a0,a1) +o=b.y +n=A.ae(a,o,a0,a1) if(f===g&&n===o)return b -return H.fc(a,n,f,!0) -case 13:e=b.z +return A.f8(a,n,f,!0) +case 14:e=b.y if(e=0)p+=" "+r[q];++q}return p+"})"}, +hR(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) +if(a4==null){a4=A.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 +O(a,b){var s,r,q,p,o,n,m=a.x 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.M(a.z,b) -return s}if(m===7){r=a.z -s=H.M(r,b) -q=r.y -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.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 +if(m===6){s=A.O(a.y,b) +return s}if(m===7){r=a.y +s=A.O(r,b) +q=r.x +return(q===12||q===13?"("+s+")":s)+"?"}if(m===8)return"FutureOr<"+A.O(a.y,b)+">" +if(m===9){p=A.kV(a.y) +o=a.z +return o.length>0?p+("<"+A.hU(o,b)+">"):p}if(m===11)return A.kQ(a,b) +if(m===12)return A.hR(a,b,null) +if(m===13)return A.hR(a.y,b,a.z) +if(m===14){n=a.y return b[b.length-1-n]}return"?"}, -ky:function(a){var s,r=v.mangledGlobalNames[a] -if(r!=null)return r -s="minified:"+a -return s}, -hm:function(a,b){var s=a.tR[b] +kV(a){var s=v.mangledGlobalNames[a] +if(s!=null)return s +return"minified:"+a}, +kd(a,b){var s=a.tR[b] for(;typeof s=="string";)s=a.tR[s] return s}, -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) +kc(a,b){var s,r,q,p,o,n=a.eT,m=n[b] +if(m==null)return A.d4(a,b,!1) else if(typeof m=="number"){s=m -r=H.bJ(a,5,"#") -q=[] -for(p=0;p" +s+=r+p+o+a[q+2].at}return s}, +bJ(a,b,c){var s,r,q,p=b +if(c.length>0)p+="<"+A.bI(c)+">" s=a.eC.get(p) if(s!=null)return s -r=new H.W(null,null) -r.y=9 -r.z=b -r.Q=c +r=new A.U(null,null) +r.x=9 +r.y=b +r.z=c if(c.length>0)r.c=c[0] -r.cy=p -q=H.ap(a,r) +r.at=p +q=A.ab(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.d5(r)+">") +f7(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.bI(r)+">") p=a.eC.get(q) if(p!=null)return p -o=new H.W(null,null) -o.y=10 -o.z=s -o.Q=r -o.cy=q -n=H.ap(a,o) +o=new A.U(null,null) +o.x=10 +o.y=s +o.z=r +o.at=q +n=A.ab(a,o) a.eC.set(q,n) return n}, -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.d5(k) -g+=s+"["+r+"]"}if(h>0){s=l>0?",":"" -r=H.jJ(i) -g+=s+"{"+r+"}"}q=n+(g+")") -p=a.eC.get(q) +k8(a,b,c){var s,r,q="+"+(b+"("+A.bI(c)+")"),p=a.eC.get(q) if(p!=null)return p -o=new H.W(null,null) -o.y=11 -o.z=b -o.Q=c -o.cy=q -r=H.ap(a,o) +s=new A.U(null,null) +s.x=11 +s.y=b +s.z=c +s.at=q +r=A.ab(a,s) a.eC.set(q,r) return r}, -fc:function(a,b,c,d){var s,r=b.cy+("<"+H.d5(c)+">"),q=a.eC.get(r) +hq(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.bI(m) +if(j>0){s=l>0?",":"" +g+=s+"["+A.bI(k)+"]"}if(h>0){s=l>0?",":"" +g+=s+"{"+A.k2(i)+"}"}r=n+(g+")") +q=a.eC.get(r) if(q!=null)return q -s=H.jL(a,b,c,r,d) +p=new A.U(null,null) +p.x=12 +p.y=b +p.z=c +p.at=r +o=A.ab(a,p) +a.eC.set(r,o) +return o}, +f8(a,b,c,d){var s,r=b.at+("<"+A.bI(c)+">"),q=a.eC.get(r) +if(q!=null)return q +s=A.k4(a,b,c,r,d) a.eC.set(r,s) return s}, -jL:function(a,b,c,d,e){var s,r,q,p,o,n,m,l +k4(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.er(s) for(q=0,p=0;p0){n=H.aa(a,b,r,0) -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.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) +if(o.x===1){r[p]=o;++q}}if(q>0){n=A.ae(a,b,r,0) +m=A.bQ(a,c,r,0) +return A.f8(a,n,m,c!==m)}}l=new A.U(null,null) +l.x=13 +l.y=b +l.z=c +l.at=d +return A.ab(a,l)}, +hk(a,b,c,d){return{u:a,e:b,r:c,s:[],p:0,n:d}}, +hm(a){var s,r,q,p,o,n,m,l=a.r,k=a.s +for(s=l.length,r=0;r=48&&q<=57)r=A.jX(r+1,q,l,k) +else if((((q|32)>>>0)-97&65535)<26||q===95||q===36||q===124)r=A.hl(a,r,l,k,!1) +else if(q===46)r=A.hl(a,r,l,k,!0) else{++r switch(q){case 44:break -case 58:g.push(!1) +case 58:k.push(!1) break -case 33:g.push(!0) +case 33:k.push(!0) break -case 59:g.push(H.an(a.u,a.e,g.pop())) +case 59:k.push(A.ap(a.u,a.e,k.pop())) break -case 94:g.push(H.jO(a.u,g.pop())) +case 94:k.push(A.k7(a.u,k.pop())) break -case 35:g.push(H.bJ(a.u,5,"#")) +case 35:k.push(A.bK(a.u,5,"#")) break -case 64:g.push(H.bJ(a.u,2,"@")) +case 64:k.push(A.bK(a.u,2,"@")) break -case 126:g.push(H.bJ(a.u,3,"~")) +case 126:k.push(A.bK(a.u,3,"~")) break -case 60:g.push(a.p) -a.p=g.length +case 60:k.push(a.p) +a.p=k.length break -case 62:p=a.u -o=g.splice(a.p) -H.fa(a.u,a.e,o) -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)) +case 62:A.jZ(a,k) break -default:g.push(H.fb(p,m,o)) -break}}break -case 38:H.jF(a,g) +case 38:A.jY(a,k) break case 42:p=a.u -g.push(H.hl(p,H.an(p,a.e,g.pop()),a.n)) +k.push(A.hs(p,A.ap(p,a.e,k.pop()),a.n)) break case 63:p=a.u -g.push(H.fd(p,H.an(p,a.e,g.pop()),a.n)) +k.push(A.f9(p,A.ap(p,a.e,k.pop()),a.n)) break case 47:p=a.u -g.push(H.hk(p,H.an(p,a.e,g.pop()),a.n)) -break -case 40:g.push(a.p) -a.p=g.length +k.push(A.hr(p,A.ap(p,a.e,k.pop()),a.n)) break -case 41:p=a.u -l=new H.d_() -k=p.sEA -j=p.sEA -n=g.pop() -if(typeof n=="number")switch(n){case-1:k=g.pop() +case 40:k.push(-3) +k.push(a.p) +a.p=k.length break -case-2:j=g.pop() +case 41:A.jW(a,k) break -default:g.push(n) -break}else g.push(n) -o=g.splice(a.p) -H.fa(a.u,a.e,o) -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)) +case 91:k.push(a.p) +a.p=k.length break -case 91:g.push(a.p) -a.p=g.length +case 93:o=k.splice(a.p) +A.hn(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-1) break -case 93:o=g.splice(a.p) -H.fa(a.u,a.e,o) -a.p=g.pop() -g.push(o) -g.push(-1) +case 123:k.push(a.p) +a.p=k.length break -case 123:g.push(a.p) -a.p=g.length +case 125:o=k.splice(a.p) +A.k0(a.u,a.e,o) +a.p=k.pop() +k.push(o) +k.push(-2) break -case 125:o=g.splice(a.p) -H.jH(a.u,a.e,o) -a.p=g.pop() -g.push(o) -g.push(-2) +case 43:n=l.indexOf("(",r) +k.push(l.substring(r,n)) +k.push(-4) +k.push(a.p) +a.p=k.length +r=n+1 break -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 +default:throw"Bad character "+q}}}m=k.pop() +return A.ap(a.u,a.e,m)}, +jX(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}, -hg:function(a,b,c,d,e){var s,r,q,p,o,n,m=b+1 +hl(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.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) +if(o.x===10)o=o.y +n=A.kd(s,o.y)[p] +if(n==null)A.z('No "'+p+'" in "'+A.jz(o)+'"') +d.push(A.em(s,o,n))}else d.push(p) return m}, -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;s0?new Array(q):v.typeUniverse.sEA +for(o=0;o0?new Array(a):v.typeUniverse.sEA}, +U:function U(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}, -d3:function d3(a){this.a=a}, -cZ:function cZ(){}, +_.w=_.r=_.c=null +_.x=0 +_.at=_.as=_.Q=_.z=_.y=null}, +cY:function cY(){this.c=this.b=this.a=null}, +el:function el(a){this.a=a}, +cX:function cX(){}, bH:function bH(a){this.a=a}, -l1:function(a){return H.q(H.cj(a))}},J={ -ft:function(a,b,c,d){return{i:a,p:b,e:c,x:d}}, -fr:function(a){var s,r,q,p,o,n=a[v.dispatchPropertyName] -if(n==null)if($.fs==null){H.kJ() -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.h9("Return interceptor for "+H.d(s(a,n))))}q=a.constructor -if(q==null)p=null -else{o=$.eo -if(o==null)o=$.eo=v.getIsolateTag("_$dart_js") -p=q[o]}if(p!=null)return p -p=H.kN(a) -if(p!=null)return p -if(typeof a=="function")return C.R -s=Object.getPrototypeOf(a) -if(s==null)return C.D -if(s===Object.prototype)return C.D -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 -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}}, -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}, -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.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 instanceof P.v))return J.aS.prototype -return a}, -J:function(a,b){if(a==null)return b==null -if(typeof a!="object")return b!=null&&a===b -return J.ab(a).J(a,b)}, -eZ: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$.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 +hp(a,b,c){return 0}, +d2:function d2(a){var _=this _.a=a -_.d=_.c=_.b=null}, -bF:function bF(a,b){this.a=a +_.e=_.d=_.c=_.b=null}, +aY:function aY(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.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.w(b) -$.aE.push(a) -try{r=s -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=$.aE.length,r=0;r100){while(!0){if(!(k>75&&j>3))break -k-=b.pop().length+2;--j}b.push("...") -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 -k-=b.pop().length+2 -if(m==null){k+=5 -m="..."}}if(m!=null)b.push(m) -b.push(q) -b.push(r)}, -dM:function(a){var s,r={} -if(P.fl(a))return"{...}" -s=new P.w("") -try{$.aE.push(a) +jr(a,b,c){return A.l2(a,new A.a5(b.i("@<0>").H(c).i("a5<1,2>")))}, +dD(a,b){return new A.a5(a.i("@<0>").H(b).i("a5<1,2>"))}, +f0(a){var s,r={} +if(A.fr(a))return"{...}" +s=new A.w("") +try{$.aI.push(a) s.a+="{" r.a=!0 -a.T(0,new P.dN(r,s)) -s.a+="}"}finally{$.aE.pop()}r=s.a +a.O(0,new A.dF(r,s)) +s.a+="}"}finally{$.aI.pop()}r=s.a return r.charCodeAt(0)==0?r:r}, -bd:function bd(){}, -bg:function bg(){}, p:function p(){}, -bh:function bh(){}, -dN:function dN(a,b){this.a=a +I:function I(){}, +dF:function dF(a,b){this.a=a this.b=b}, -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) +d5:function d5(){}, +bl:function bl(){}, +aE:function aE(a,b){this.a=a +this.$ti=b}, +bL:function bL(){}, +kO(a,b){var s,r,q,p=null +try{p=JSON.parse(a)}catch(r){s=A.b2(r) +q=A.n(String(s),null,null) +throw A.a(q)}q=A.et(p) return q}, -eA:function(a){var s +et(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}, -jz:function(a,b,c,d){var s=a?$.ik():$.ij() +jT(a,b,c,d){var s=a?$.iw():$.iv() if(s==null)return null -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 +if(0===c&&d===b.length)return A.hh(s,b) +return A.hh(s,b.subarray(c,A.a1(c,d,b.length)))}, +hh(a,b){var s,r try{s=a.decode(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) +return s}catch(r){}return null}, +fG(a,b,c,d,e,f){if(B.c.aT(f,4)!==0)throw A.a(A.n("Invalid base64 padding, padded length must be multiple of four, is "+f,a,c)) +if(d+e!==f)throw A.a(A.n("Invalid base64 padding, '=' not at the end",a,b)) +if(e>2)throw A.a(A.n("Invalid base64 padding, more than two '=' characters",a,b))}, +fU(a,b,c){return new A.bj(a,b)}, +kw(a){return a.aB()}, +jU(a,b){return new A.ef(a,[],A.kY())}, +jV(a,b,c){var s,r=new A.w(""),q=A.jU(r,b) +q.aR(a) s=r.a return s.charCodeAt(0)==0?s:s}, -k3:function(a){switch(a){case 65:return"Missing extension byte" +ko(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" @@ -1791,137 +1519,183 @@ case 73:return"Out of unicode range" case 75:return"Encoded surrogate" case 77:return"Unfinished UTF-8 octet sequence" default:return""}}, -k2:function(a,b,c){var s,r,q,p=c-b,o=new Uint8Array(p) -for(s=J.S(a),r=0;r>>0!==0?255:q}return o}, -d0:function d0(a,b){this.a=a +cZ:function cZ(a,b){this.a=a this.b=b this.c=null}, -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 +d_:function d_(a){this.a=a}, +eb:function eb(){}, +ea:function ea(){}, +bW:function bW(){}, +d3:function d3(){}, +bX:function bX(a){this.a=a}, +c_:function c_(){}, +c0:function c0(){}, +ah:function ah(){}, +a_:function a_(){}, +c5:function c5(){}, +bj:function bj(a,b){this.a=a this.b=b}, -cf:function cf(a,b){this.a=a +cg:function cg(a,b){this.a=a this.b=b}, -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 +cf:function cf(){}, +ci:function ci(a){this.b=a}, +ch:function ch(a){this.a=a}, +eg:function eg(){}, +eh:function eh(a,b){this.a=a this.b=b}, -ep:function ep(a,b,c){this.c=a +ef:function ef(a,b,c){this.c=a this.a=b this.b=c}, +cP:function cP(){}, cR:function cR(){}, -cT:function cT(){}, -ey:function ey(a){this.b=0 +eq:function eq(a){this.b=0 this.c=a}, -cS:function cS(a){this.a=a}, -ex:function ex(a){this.a=a +cQ:function cQ(a){this.a=a}, +ep:function ep(a){this.a=a this.b=16 this.c=0}, -N:function(a,b){var s=H.fY(a,b) +Q(a,b){var s=A.h1(a,b) if(s!=null)return s -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) +throw A.a(A.n(a,null,null))}, +a0(a,b,c,d){var s,r=c?J.fR(a,d):J.fQ(a,d) if(a!==0&&b!=null)for(s=0;s")) -for(s=J.C(a);s.m();)r.push(s.gp()) +dE(a,b,c){var s,r=A.b([],c.i("o<0>")) +for(s=J.E(a);s.l();)r.push(s.gm()) if(b)return r -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 J.dy(r)}, +ak(a,b,c){var s +if(b)return A.fV(a,c) +s=J.dy(A.fV(a,c)) return s}, -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()) +fV(a,b){var s,r +if(Array.isArray(a))return A.b(a.slice(0),b.i("o<0>")) +s=A.b([],b.i("o<0>")) +for(r=J.E(a);r.l();)s.push(r.gm()) return s}, -V:function(a,b){return J.fR(P.dL(a,!1,b))}, -h5:function(a,b,c){var s,r +X(a,b){return J.fS(A.dE(a,!1,b))}, +h8(a,b,c){var s,r if(Array.isArray(a)){s=a r=s.length -c=P.a6(b,c,r) -return H.fZ(b>0||c0||c>>4]&1<<(o&15))!==0)p+=H.G(o) +if(o<128&&(a[o>>>4]&1<<(o&15))!==0)p+=A.J(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.hI(a)||a==null)return J.bT(a) +av(a){if(typeof a=="number"||A.fi(a)||a==null)return J.b4(a) if(typeof a=="string")return JSON.stringify(a) -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.jw(a)}, +bZ(a){return new A.bY(a)}, +G(a){return new A.W(!1,null,null,a)}, +bV(a,b,c){return new A.W(!0,a,b,c)}, +j2(a){return new A.W(!1,null,a,"Must not be null")}, +aK(a,b){return a==null?A.z(A.j2(b)):a}, +f1(a){var s=null +return new A.a8(s,s,!1,s,s,a)}, +f2(a,b){return new A.a8(null,null,!0,a,b,"Value not in range")}, +u(a,b,c,d,e){return new A.a8(b,c,!0,a,d,"Invalid value")}, +h3(a,b,c,d){if(ac)throw A.a(A.u(a,b,c,d,null)) return a}, -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)) +a1(a,b,c){if(0>a||a>c)throw A.a(A.u(a,0,c,"start",null)) +if(b!=null){if(a>b||b>c)throw A.a(A.u(b,a,c,"end",null)) return b}return c}, -Q:function(a,b){if(a<0)throw H.a(P.t(a,0,null,b,null)) +T(a,b){if(a<0)throw A.a(A.u(a,0,null,b,null)) return a}, -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) +eX(a,b,c,d){return new A.bf(b,!0,a,d,"Index out of range")}, +q(a){return new A.cN(a)}, +hd(a){return new A.cK(a)}, +cG(a){return new A.aB(a)}, +S(a){return new A.c2(a)}, +n(a,b,c){return new A.aN(a,b,c)}, +jn(a,b,c){var s,r +if(A.fr(a)){if(b==="("&&c===")")return"(...)" +return b+"..."+c}s=A.b([],t.s) +$.aI.push(a) +try{A.kN(a,s)}finally{$.aI.pop()}r=A.an(b,s,", ")+c +return r.charCodeAt(0)==0?r:r}, +fP(a,b,c){var s,r +if(A.fr(a))return b+"..."+c +s=new A.w(b) +$.aI.push(a) +try{r=s +r.a=A.an(r.a,a,", ")}finally{$.aI.pop()}s.a+=c +r=s.a +return r.charCodeAt(0)==0?r:r}, +kN(a,b){var s,r,q,p,o,n,m,l=a.gq(a),k=0,j=0 +while(!0){if(!(k<80||j<3))break +if(!l.l())return +s=A.d(l.gm()) +b.push(s) +k+=s.length+2;++j}if(!l.l()){if(j<=5)return +r=b.pop() +q=b.pop()}else{p=l.gm();++j +if(!l.l()){if(j<=4){b.push(A.d(p)) +return}r=A.d(p) +q=b.pop() +k+=r.length+2}else{o=l.gm();++j +for(;l.l();p=o,o=n){n=l.gm();++j +if(j>100){while(!0){if(!(k>75&&j>3))break +k-=b.pop().length+2;--j}b.push("...") +return}}q=A.d(p) +r=A.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 +k-=b.pop().length+2 +if(m==null){k+=5 +m="..."}}if(m!=null)b.push(m) +b.push(q) +b.push(r)}, +fW(a,b,c,d,e){return new A.as(a,b.i("@<0>").H(c).H(d).H(e).i("as<1,2,3,4>"))}, +fY(a,b,c){var s +if(B.l===c){s=J.aJ(a) +b=J.aJ(b) +return A.h9(A.cH(A.cH($.fy(),s),b))}s=J.aJ(a) +b=J.aJ(b) +c=c.gD(c) +c=A.h9(A.cH(A.cH(A.cH($.fy(),s),b),c)) +return c}, +hf(a){var s,r=null,q=new A.w(""),p=A.b([-1],t.t) +A.jP(r,r,r,q,p) p.push(q.a.length) q.a+="," -P.jt(C.h,C.F.cu(a),q) +A.jN(B.h,B.G.cw(a),q) s=q.a -return new P.cP(s.charCodeAt(0)==0?s:s,p,r).ga5()}, -H: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=((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=5){s=((a5.charCodeAt(4)^58)*3|a5.charCodeAt(0)^100|a5.charCodeAt(1)^97|a5.charCodeAt(2)^116|a5.charCodeAt(3)^97)>>>0 +if(s===0)return A.he(a4=14)r[7]=a4 +if(A.hV(a5,0,a4,0,r)>=14)r[7]=a4 q=r[1] -if(q>=0)if(P.hK(a5,0,q,20,r)===20)r[7]=q +if(q>=0)if(A.hV(a5,0,q,20,r)===20)r[7]=q p=r[2]+1 o=r[3] n=r[4] @@ -1946,12 +1720,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&&C.a.B(a5,"/..",m-3) +k=!1}else{if(!B.a.u(a5,"\\",n))if(p>0)h=B.a.u(a5,"\\",p-1)||B.a.u(a5,"\\",p-2) +else h=!1 +else h=!0 +if(h){j=a3 +k=!1}else{if(!(mn+2&&B.a.u(a5,"/..",m-3) else h=!0 if(h){j=a3 -k=!1}else{if(q===4)if(C.a.B(a5,"file",0)){if(p<=0){if(!C.a.B(a5,"/",n)){g="file:///" +k=!1}else{if(q===4)if(B.a.u(a5,"file",0)){if(p<=0){if(!B.a.u(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 @@ -1961,309 +1739,306 @@ p=7 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.B(a5,"http",0)){if(i&&o+3===n&&C.a.B(a5,"80",o+1)){l-=3 +a5=B.a.Y(a5,n,m,"/");++a4 +m=f}j="file"}else if(B.a.u(a5,"http",0)){if(i&&o+3===n&&B.a.u(a5,"80",o+1)){l-=3 e=n-3 m-=3 -a5=C.a.X(a5,o,n,"") +a5=B.a.Y(a5,o,n,"") a4-=3 n=e}j="http"}else j=a3 -else if(q===5&&C.a.B(a5,"https",0)){if(i&&o+4===n&&C.a.B(a5,"443",o+1)){l-=4 +else if(q===5&&B.a.u(a5,"https",0)){if(i&&o+4===n&&B.a.u(a5,"443",o+1)){l-=4 e=n-4 m-=4 -a5=C.a.X(a5,o,n,"") +a5=B.a.Y(a5,o,n,"") a4-=3 n=e}j="https"}else j=a3 -k=!0}}}else j=a3 -if(k){if(a40)j=P.hw(a5,0,q) -else{if(q===0)P.aZ(a5,0,"Invalid empty scheme") +l-=0}return new A.V(a5,q,p,o,n,m,l,j)}if(j==null)if(q>0)j=A.hC(a5,0,q) +else{if(q===0)A.b_(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.N(C.a.j(a,r,s),null) +o=A.Q(B.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.N(C.a.j(a,r,c),null) +o=A.Q(B.a.j(a,r,c),null) if(o>255)k.$2(l,r) j[q]=o return j}, -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.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") +s.push((k[2]<<8|k[3])>>>0)}if(p){if(s.length>7)d.$2("an address with a wildcard must have less than 7 parts",e)}else if(s.length!==8)d.$2("an address without a wildcard must contain exactly 8 parts",e) j=new Uint8Array(16) for(l=s.length,i=9-l,r=0,h=0;r?\\\\|]',!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(J.fD(q,"/")){s=A.q("Illegal path character "+A.d(q)) +throw A.a(s)}}}, +bN(a,b,c){var s,r,q +for(s=A.aQ(a,c,null,A.y(a).c),s=new A.a7(s,s.gk(s)),r=A.i(s).c;s.l();){q=s.d +if(q==null)q=r.a(q) +if(B.a.t(q,A.l('["*/:<>?\\\\|]',!1)))if(b)throw A.a(A.G("Illegal character in path")) +else throw A.a(A.q("Illegal character in path: "+q))}}, +hu(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.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.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.A("Windows paths with \\\\?\\ prefix must be absolute"))}else a=H.O(a,"/",o) +if(b)throw A.a(A.G(r+A.h7(a))) +else throw A.a(A.q(r+A.h7(a)))}, +ki(a,b){var s=null,r=A.b(a.split("/"),t.s) +if(B.a.p(a,"/"))return A.x(s,s,r,"file") +else return A.x(s,s,r,s)}, +kj(a,b){var s,r,q,p,o="\\",n=null,m="file" +if(B.a.p(a,"\\\\?\\"))if(B.a.u(a,"UNC\\",4))a=B.a.Y(a,0,7,o) +else{a=B.a.A(a,4) +if(a.length<3||a.charCodeAt(1)!==58||a.charCodeAt(2)!==92)throw A.a(A.bV(a,"path","Windows paths with \\\\?\\ prefix must be absolute"))}else a=A.R(a,"/",o) s=a.length -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) +if(s>1&&a.charCodeAt(1)===58){A.hu(a.charCodeAt(0),!0) +if(s===2||a.charCodeAt(2)!==92)throw A.a(A.bV(a,"path","Windows paths with drive letter must be absolute")) +r=A.b(a.split(o),t.s) +A.bN(r,!0,1) +return A.x(n,n,r,m)}if(B.a.p(a,o))if(B.a.u(a,o,1)){q=B.a.a5(a,o,2) s=q<0 -p=s?C.a.w(a,2):C.a.j(a,2,q) -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.hp(b))return null +p=s?B.a.A(a,2):B.a.j(a,2,q) +r=A.b((s?"":B.a.A(a,q+1)).split(o),t.s) +A.bN(r,!0,0) +return A.x(p,n,r,m)}else{r=A.b(a.split(o),t.s) +A.bN(r,!0,0) +return A.x(n,n,r,m)}else{r=A.b(a.split(o),t.s) +A.bN(r,!0,0) +return A.x(n,n,r,n)}}, +fb(a,b){if(a!=null&&a===A.hv(b))return null return a}, -ht:function(a,b,c,d){var s,r,q,p,o,n +hz(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.aZ(a,b,"Missing end `]` to match `[` in host") +if(a.charCodeAt(b)===91){s=c-1 +if(a.charCodeAt(s)!==93)A.b_(a,b,"Missing end `]` to match `[` in host") r=b+1 -q=P.jV(a,r,s) +q=A.kg(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.w("") -if(r>>4]&1<<(p&15))!==0){if(q&&65<=p&&90>=p){if(i==null)i=new A.w("") +if(r>>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.aZ(a,s,"Invalid character") -else{if((o&64512)===55296&&s+1>>4]&1<<(o&15))!==0){if(p&&65<=o&&90>=o){if(q==null)q=new A.w("") +if(r>>4]&1<<(o&15))!==0)A.b_(a,s,"Invalid character") +else{if((o&64512)===55296&&s+1>>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.hx(a.charCodeAt(b)))A.b_(a,b,"Scheme not starting with alphabetic character") +for(s=b,r=!1;s>>4]&1<<(q&15))!==0))A.b_(a,s,"Illegal scheme character") +if(65<=q&&q<=90)r=!0}a=B.a.j(a,b,c) +return A.ke(r?a.toLowerCase():a)}, +ke(a){if(a==="http")return"http" if(a==="file")return"file" if(a==="https")return"https" if(a==="package")return"package" return a}, -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 +hD(a,b,c){if(a==null)return"" +return A.bO(a,b,c,B.W,!1,!1)}, +hA(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.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.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) +s=new A.j(d,new A.eo(),A.y(d).i("j<1,e>")).a0(0,"/")}else if(d!=null)throw A.a(A.G("Both path and pathSegments specified")) +else s=A.bO(a,b,c,B.y,!0,!0) +if(s.length===0){if(r)return"/"}else if(q&&!B.a.p(s,"/"))s="/"+s +return A.kk(s,e,f)}, +kk(a,b,c){var s=b.length===0 +if(s&&!c&&!B.a.p(a,"/")&&!B.a.p(a,"\\"))return A.fd(a,!s||c) +return A.ac(a)}, +hB(a,b,c,d){if(a!=null)return A.bO(a,b,c,B.h,!0,!1) return null}, -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 +hy(a,b,c){if(a==null)return null +return A.bO(a,b,c,B.h,!0,!1)}, +fc(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.eN(s) -p=H.eN(r) +s=a.charCodeAt(b+1) +r=a.charCodeAt(n) +q=A.eG(s) +p=A.eG(r) if(q<0||p<0)return"%" o=q*16+p -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() +if(o<127&&(B.w[B.c.a7(o,4)]&1<<(o&15))!==0)return A.J(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}, -fe:function(a){var s,r,q,p,o,n="0123456789ABCDEF" +fa(a){var s,r,q,p,o,n="0123456789ABCDEF" if(a<128){s=new Uint8Array(3) s[0]=37 -s[1]=C.a.k(n,a>>>4) -s[2]=C.a.k(n,a&15)}else{if(a>2047)if(a>65535){r=240 +s[1]=n.charCodeAt(a>>>4) +s[2]=n.charCodeAt(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.ck(a,6*q)&63|r +for(p=0;--q,q>=0;r=128){o=B.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.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}, -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) +s[p+2]=n.charCodeAt(o&15) +p+=3}}return A.h8(s,0,null)}, +bO(a,b,c,d,e,f){var s=A.hF(a,b,c,d,e,f) +return s==null?B.a.j(a,b,c):s}, +hF(a,b,c,d,e,f){var s,r,q,p,o,n,m,l,k,j,i=null +for(s=!e,r=b,q=r,p=i;r>>4]&1<<(o&15))!==0)++r -else{if(o===37){n=P.fg(a,r,!1) +else{if(o===37){n=A.fc(a,r,!1) if(n==null){r+=3 continue}if("%"===n){n="%25" -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 +m=1}else m=3}else if(o===92&&f){n="/" +m=1}else if(s&&o<=93&&(B.z[o>>>4]&1<<(o&15))!==0){A.b_(a,r,"Invalid character") +m=i n=m}else{if((o&64512)===55296){l=r+1 -if(l=2&&P.hr(C.a.k(a,0)))for(s=1;s127||(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) +if(p||B.b.gL(s)==="..")s.push("") +if(!b)s[0]=A.hw(s[0]) +return B.b.a0(s,"/")}, +hw(a){var s,r,q=a.length +if(q>=2&&A.hx(a.charCodeAt(0)))for(s=1;s127||(B.x[r>>>4]&1<<(r&15))===0)break}return a}, +km(a,b){if(a.cF("package")&&a.c==null)return A.hW(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,"\\") +hH(a){var s,r,q,p=a.gaa(),o=p.length +if(o>0&&J.F(p[0])===2&&J.eT(p[0],1)===58){A.hu(J.eT(p[0],0),!1) +A.bN(p,!1,1) +s=!0}else{A.bN(p,!1,0) +s=!1}r=a.gaL()&&!s?""+"\\":"" +if(a.gaq()){q=a.gV() +if(q.length!==0)r=r+"\\"+q+"\\"}r=A.an(r,p,"\\") o=s&&o===1?r+"\\":r return o.charCodeAt(0)==0?o:o}, -jX:function(a,b){var s,r,q -for(s=0,r=0;r<2;++r){q=C.a.k(a,b+r) +kh(a,b){var s,r,q +for(s=0,r=0;r<2;++r){q=a.charCodeAt(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.A("Invalid URL encoding"))}}return s}, -fi:function(a,b,c,d,e){var s,r,q,p,o=b +else throw A.a(A.G("Invalid URL encoding"))}}return s}, +fe(a,b,c,d,e){var s,r,q,p,o=b while(!0){if(!(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 +if(q)return B.a.j(a,b,c) +else p=new A.aL(B.a.j(a,b,c))}else{p=A.b([],t.t) +for(q=a.length,o=b;o127)throw A.a(A.G("Illegal percent encoding in URI")) +if(r===37){if(o+3>q)throw A.a(A.G("Truncated URI")) +p.push(A.kh(a,o+1)) +o+=2}else p.push(r)}}return B.a7.ap(p)}, +hx(a){var s=a|32 return 97<=s&&s<=122}, -jv:function(a,b,c,d,e){var s,r +jP(a,b,c,d,e){var s,r if(!0)d.a=d.a -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) +else{s=A.jO("") +if(s<0)throw A.a(A.bV("","mimeType","Invalid MIME type")) +r=d.a+=A.ff(B.C,B.a.j("",0,s),B.e,!1) d.a=r+"/" -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.m(k,a,r)) +continue}throw A.a(A.n(k,a,r))}}if(q<0&&r>b)throw A.a(A.n(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.B(a,"base64",n+1))throw H.a(P.m("Expecting '='",a,r)) +else{n=B.b.gL(j) +if(p!==44||r!==n+7||!B.a.u(a,"base64",n+1))throw A.a(A.n("Expecting '='",a,r)) break}}j.push(r) m=r+1 -if((j.length&1)===1)a=C.G.cF(a,m,s) -else{l=P.hz(a,m,s,C.h,!0) -if(l!=null)a=C.a.X(a,m,s,l)}return new P.cP(a,j,c)}, -jt:function(a,b,c){var s,r,q,p,o,n,m="0123456789ABCDEF" -for(s=J.S(b),r=0,q=0;q>>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.eB(h) -q=new P.eC() -p=new P.eD() +if(p<128&&(a[B.c.a7(p,4)]&1<<(p&15))!==0)c.a+=A.J(p) +else{c.a+=A.J(37) +c.a+=A.J(o.charCodeAt(B.c.a7(p,4))) +c.a+=A.J(o.charCodeAt(p&15))}}if((r&4294967040)>>>0!==0)for(q=0;q255)throw A.a(A.bV(p,"non-byte value",null))}}, +kv(){var s,r,q,p,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",m=".",l=":",k="/",j="\\",i="?",h="#",g="/\\",f=A.b(new Array(22),t.h) +for(s=0;s<22;++s)f[s]=new Uint8Array(96) +r=new A.eu(f) +q=new A.ev() +p=new A.ew() o=r.$2(0,225) q.$3(o,n,1) q.$3(o,m,14) q.$3(o,l,34) q.$3(o,k,3) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,227) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(14,225) q.$3(o,n,1) q.$3(o,m,15) q.$3(o,l,34) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(15,225) q.$3(o,n,1) q.$3(o,"%",225) q.$3(o,l,34) q.$3(o,k,9) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(1,225) q.$3(o,n,1) q.$3(o,l,34) q.$3(o,k,10) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(2,235) q.$3(o,n,139) q.$3(o,k,131) +q.$3(o,j,131) q.$3(o,m,146) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(3,235) q.$3(o,n,11) q.$3(o,k,68) +q.$3(o,j,68) q.$3(o,m,18) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(4,229) q.$3(o,n,5) p.$3(o,"AZ",229) @@ -2402,113 +2178,125 @@ q.$3(o,l,102) q.$3(o,"@",68) q.$3(o,"[",232) q.$3(o,k,138) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(5,229) q.$3(o,n,5) p.$3(o,"AZ",229) q.$3(o,l,102) q.$3(o,"@",68) q.$3(o,k,138) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(6,231) p.$3(o,"19",7) q.$3(o,"@",68) q.$3(o,k,138) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(7,231) p.$3(o,"09",7) q.$3(o,"@",68) q.$3(o,k,138) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,138) +q.$3(o,i,172) +q.$3(o,h,205) q.$3(r.$2(8,8),"]",5) o=r.$2(9,235) q.$3(o,n,11) q.$3(o,m,16) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(16,235) q.$3(o,n,11) q.$3(o,m,17) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(17,235) q.$3(o,n,11) q.$3(o,k,9) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,233) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(10,235) q.$3(o,n,11) q.$3(o,m,18) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,k,10) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(18,235) q.$3(o,n,11) q.$3(o,m,19) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(19,235) q.$3(o,n,11) -q.$3(o,k,234) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,g,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(11,235) q.$3(o,n,11) q.$3(o,k,10) -q.$3(o,j,172) -q.$3(o,i,205) +q.$3(o,j,234) +q.$3(o,i,172) +q.$3(o,h,205) o=r.$2(12,236) q.$3(o,n,12) -q.$3(o,j,12) -q.$3(o,i,205) +q.$3(o,i,12) +q.$3(o,h,205) o=r.$2(13,237) q.$3(o,n,13) -q.$3(o,j,13) +q.$3(o,i,13) p.$3(r.$2(20,245),"az",21) o=r.$2(21,245) p.$3(o,"az",21) p.$3(o,"09",21) q.$3(o,"+-.",21) -return h}, -hK:function(a,b,c,d,e){var s,r,q,p,o=$.ix() +return f}, +hV(a,b,c,d,e){var s,r,q,p,o=$.iI() 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) +ho(a){if(a.b===7&&B.a.p(a.a,"package")&&a.c<=0)return A.hW(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 A.w("") +o=""+(a+"(") +p.a=o +n=A.y(b) +m=n.i("aC<1>") +l=new A.aC(b,0,s,m) +l.c5(b,0,s,n.c) +m=o+new A.j(l,new A.eB(),m.i("j")).a0(0,", ") +p.a=m +p.a=m+("): part "+(r-1)+" was null, but part "+r+" was not.") +throw A.a(A.G(p.h(0)))}}, +c3:function c3(a,b){this.a=a +this.b=b}, +dl:function dl(){}, +dm:function dm(){}, +eB:function eB(){}, +aW:function aW(a){this.a=a}, +aX:function aX(a){this.a=a}, +dx:function dx(){}, +az(a,b){var s,r,q,p,o,n=b.bX(a) +b.T(a) +if(n!=null)a=B.a.A(a,n.length) +s=t.s +r=A.b([],s) +q=A.b([],s) +s=a.length +if(s!==0&&b.v(a.charCodeAt(0))){q.push(a[0]) +p=1}else{q.push("") +p=0}for(o=p;o")),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 +h6(a,b,c,d){var s=new A.bu(a,b,c) +s.bo(a,b,c) +return s}, +bu:function bu(a,b,c){this.a=a +this.b=b +this.c=c}, +d9(a){var s,r,q,p +if(a<$.fA()||a>$.fz())throw A.a(A.G("expected 32 bit int, got: "+a)) +s=A.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}, +d8(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.cG("incomplete VLQ value")) +o=a.gm() +n=$.iA().n(0,o) +if(n==null)throw A.a(A.n("invalid character in VLQ encoding: "+o,l,l)) +q=(n&32)===0 +r+=B.c.cj(n&31,p) +p+=5}m=r>>>1 +r=(r&1)===1?-m:m +if(r<$.fA()||r>$.fz())throw A.a(A.n("expected an encoded 32 bit int, but we got: "+r,l,l)) +return r}, +ey:function ey(){}, +cC:function cC(a,b,c){var _=this _.a=a _.b=b _.c=c -_.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")),A.ly(),r.i("P<1,K>")),t.a))}if(!B.a.t(a,q))return new A.at(A.X(A.b([A.f5(a)],t.J),t.a)) +return new A.at(A.X(new A.j(A.b(a.split(q),t.s),A.lx(),t.k),t.a))}, +at:function at(a){this.a=a}, +dd:function dd(){}, +di:function di(){}, +dh:function dh(){}, +df:function df(){}, +dg:function dg(a){this.a=a}, +de:function de(a){this.a=a}, +jj(a){return A.fM(a)}, +fM(a){return A.c8(a,new A.dv(a))}, +ji(a){return A.jf(a)}, +jf(a){return A.c8(a,new A.dt(a))}, +jc(a){return A.c8(a,new A.dq(a))}, +jg(a){return A.jd(a)}, +jd(a){return A.c8(a,new A.dr(a))}, +jh(a){return A.je(a)}, +je(a){return A.c8(a,new A.ds(a))}, +eW(a){if(B.a.t(a,$.ih()))return A.L(a) +else if(B.a.t(a,$.ii()))return A.ht(a,!0) +else if(B.a.p(a,"/"))return A.ht(a,!1) +if(B.a.t(a,"\\"))return $.iQ().bR(a) +return A.L(a)}, +c8(a,b){var s,r +try{s=b.$0() +return s}catch(r){if(A.b2(r) instanceof A.aN)return new A.Y(A.x(null,"unparsed",null,null),a) +else throw r}}, +v:function v(a,b,c,d){var _=this _.a=a _.b=b _.c=c -_.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))) +_.d=d}, +dv:function dv(a){this.a=a}, +dt:function dt(a){this.a=a}, +du:function du(a){this.a=a}, +dq:function dq(a){this.a=a}, +dr:function dr(a){this.a=a}, +ds:function ds(a){this.a=a}, +ck:function ck(a){this.a=a +this.b=$}, +jI(a){if(t.a.b(a))return a +if(a instanceof A.at)return a.bQ() +return new A.ck(new A.e0(a))}, +f5(a){var s,r,q +try{if(a.length===0){r=A.dW(A.b([],t.F),null) +return r}if(B.a.t(a,$.iL())){r=A.jH(a) +return r}if(B.a.t(a,"\tat ")){r=A.jG(a) +return r}if(B.a.t(a,$.iE())||B.a.t(a,$.iC())){r=A.jF(a) +return r}if(B.a.t(a,u.a)){r=A.j5(a).bQ() +return r}if(B.a.t(a,$.iG())){r=A.ha(a) +return r}r=A.hb(a) +return r}catch(q){r=A.b2(q) +if(r instanceof A.aN){s=r +throw A.a(A.n(s.a+"\nStack trace:\n"+a,null,null))}else throw q}}, +jK(a){return A.hb(a)}, +hb(a){var s=A.X(A.jL(a),t.B) +return new A.K(s,new A.aq(a))}, +jL(a){var s,r=B.a.bl(a),q=$.fB(),p=t.U,o=new A.D(A.b(A.R(r,q,"").split("\n"),t.s),new A.e1(),p) +if(!o.gq(o).l())return A.b([],t.F) +r=A.jE(o,o.gk(o)-1,p.i("c.E")) +r=A.cm(r,A.l6(),A.i(r).i("c.E"),t.B) +s=A.ak(r,!0,A.i(r).i("c.E")) +if(!J.iU(o.gL(o),".da"))B.b.a3(s,A.fM(o.gL(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))}, +jH(a){var s=A.aQ(A.b(a.split("\n"),t.s),1,null,t.N).c0(0,new A.e_()),r=t.B +r=A.X(A.cm(s,A.i1(),s.$ti.i("c.E"),r),r) +return new A.K(r,new A.aq(a))}, +jG(a){var s=A.X(new A.P(new A.D(A.b(a.split("\n"),t.s),new A.dZ(),t.U),A.i1(),t.L),t.B) +return new A.K(s,new A.aq(a))}, +jF(a){var s=A.X(new A.P(new A.D(A.b(B.a.bl(a).split("\n"),t.s),new A.dX(),t.U),A.l4(),t.L),t.B) +return new A.K(s,new A.aq(a))}, +jJ(a){return A.ha(a)}, +ha(a){var s=a.length===0?A.b([],t.F):new A.P(new A.D(A.b(B.a.bl(a).split("\n"),t.s),new A.dY(),t.U),A.l5(),t.L) +s=A.X(s,t.B) +return new A.K(s,new A.aq(a))}, +dW(a,b){var s=A.X(a,t.B) +return new A.K(s,new A.aq(b==null?"":b))}, K:function K(a,b){this.a=a this.b=b}, -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(){}, +e0:function e0(a){this.a=a}, +e1:function e1(){}, +e_:function e_(){}, +dZ:function dZ(){}, +dX:function dX(){}, +dY:function dY(){}, 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) +e2:function e2(a){this.a=a}, +Y:function Y(a,b){this.a=a +this.w=b}, +li(a,b,c){var s=A.jI(b).gad() +return A.dW(A.fO(new A.j(s,new A.eM(a,c),A.y(s).i("j<1,v?>")),t.B),null).cC(new A.eN())}, +kP(a){var s,r,q,p,o,n,m,l=B.a.bJ(a,".") +if(l<0)return a +s=B.a.A(a,l+1) +a=s==="fn"?a:s +a=A.R(a,"$124","|") +if(B.a.t(a,"|")){r=B.a.au(a,"|") +q=B.a.au(a," ") +p=B.a.au(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.Y(a,n,p+3,"")}else{m=B.a.j(a,n,a.length) +if(B.a.p(m,"unary")||B.a.p(m,"$"))a=A.kU(a) +o=!1}}a=A.R(a,"|",".") +n=o?a+"=":a}else n=a +return n}, +kU(a){return A.lp(a,A.l("\\$[0-9]+",!1),new A.eA(a),null)}, +eM:function eM(a,b){this.a=a +this.b=b}, +eN:function eN(){}, +eA:function eA(a){this.a=a}, +l3(a){var s=a.$ti.i("j") +return A.ak(new A.j(a,new A.eF(),s),!0,s.i("H.E"))}, +lj(a){var s,r +if($.fj==null)throw A.a(A.cG("Source maps are not done loading.")) +s=A.f5(a) +r=$.fj +r.toString +return A.li(r,s,$.iP()).h(0)}, +ll(a){$.fj=new A.cj(new A.cn(A.dD(t.N,t.E)),a)}, +lg(){self.$dartStackTraceUtility={mapper:A.hZ(A.lm()),setSourceMapProvider:A.hZ(A.ln())}}, +eF:function eF(){}, +dn:function dn(){}, +cj:function cj(a,b){this.a=a +this.b=b}, +eO:function eO(){}, +lv(a){A.ie(new A.bk("Field '"+a+"' has been assigned during initialization."),new Error())}, +eP(){A.ie(new A.bk("Field '' has been assigned during initialization."),new Error())}, +ku(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.kr,a) +s[$.fv()]=a +a.$dart_jsFunction=s +return s}, +kr(a,b){return A.ju(a,b,null)}, +hZ(a){if(typeof a=="function")return a +else return A.ku(a)}, +i7(a,b){return Math.max(a,b)}, +ib(a,b){return Math.pow(a,b)}, +fO(a,b){return new A.aY(A.jm(a,b),b.i("aY<0>"))}, +jm(a,b){return function(){var s=a,r=b +var q=0,p=1,o,n,m,l +return function $async$fO(c,d,e){if(d===1){o=e +q=p}while(true)switch(q){case 0:n=new A.a7(s,s.gk(s)),m=A.i(n).c +case 2:if(!n.l()){q=3 +break}l=n.d +if(l==null)l=m.a(l) +q=l!=null?4:5 +break +case 4:q=6 +return c.b=l,1 +case 6:case 5:q=2 +break +case 3:return 0 +case 1:return c.c=o,3}}}}, +fm(){var s,r,q,p,o=null +try{o=A.f6()}catch(s){if(t.M.b(A.b2(s))){r=$.ex +if(r!=null)return r +throw s}else throw s}if(J.A(o,$.hO)){r=$.ex +r.toString +return r}$.hO=o +if($.fw()===$.b3())r=$.ex=o.bj(".").h(0) +else{q=o.bk() +p=q.length-1 +r=$.ex=p===0?q:B.a.j(q,0,p)}return r}, +i4(a){var s +if(!(a>=65&&a<=90))s=a>=97&&a<=122 +else s=!0 +return s}, +i5(a,b){var s=a.length,r=b+2 +if(s4294967295)throw A.a(A.u(a,0,4294967295,"length",null)) +return J.jo(new Array(a),b)}, +fR(a,b){if(a<0)throw A.a(A.G("Length must be a non-negative integer: "+a)) +return A.b(new Array(a),b.i("o<0>"))}, +jo(a,b){return J.dy(A.b(a,b.i("o<0>")))}, +dy(a){a.fixed$length=Array +return a}, +fS(a){a.fixed$length=Array +a.immutable$list=Array +return a}, +fT(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}}, +jp(a,b){var s,r +for(s=a.length;b0;b=s){s=b-1 +r=a.charCodeAt(s) +if(r!==32&&r!==13&&!J.fT(r))break}return b}, +a2(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.bh.prototype +return J.cc.prototype}if(typeof a=="string")return J.aw.prototype +if(a==null)return J.bi.prototype +if(typeof a=="boolean")return J.cb.prototype +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +Z(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +aF(a){if(a==null)return a +if(Array.isArray(a))return J.o.prototype +if(typeof a!="object"){if(typeof a=="function")return J.ai.prototype +return a}if(a instanceof A.t)return a +return J.fo(a)}, +bS(a){if(typeof a=="string")return J.aw.prototype +if(a==null)return a +if(!(a instanceof A.t))return J.aT.prototype +return a}, +A(a,b){if(a==null)return b==null +if(typeof a!="object")return b!=null&&a===b +return J.a2(a).G(a,b)}, +iR(a,b){if(typeof b==="number")if(Array.isArray(a)||typeof a=="string"||A.i6(a,a[v.dispatchPropertyName]))if(b>>>0===b&&b>>0===b&&b").R(b).i("a1<1,2>"))}, -a2:function(a,b){if(!!a.fixed$length)H.q(P.r("add")) +aH(a,b){return new A.a4(a,A.y(a).i("@<1>").H(b).i("a4<1,2>"))}, +a3(a,b){if(!!a.fixed$length)A.z(A.q("add")) a.push(b)}, -aL:function(a,b){var s -if(!!a.fixed$length)H.q(P.r("removeAt")) +aP(a,b){var s +if(!!a.fixed$length)A.z(A.q("removeAt")) s=a.length -if(b>=s)throw H.a(P.aO(b,null)) +if(b>=s)throw A.a(A.f2(b,null)) return a.splice(b,1)[0]}, -b6:function(a,b,c){var s -if(!!a.fixed$length)H.q(P.r("insert")) +b9(a,b,c){var s +if(!!a.fixed$length)A.z(A.q("insert")) s=a.length -if(b>s)throw H.a(P.aO(b,null)) +if(b>s)throw A.a(A.f2(b,null)) a.splice(b,0,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) +ba(a,b,c){var s,r +if(!!a.fixed$length)A.z(A.q("insertAll")) +A.h3(b,0,a.length,"index") +if(!t.X.b(c))c=J.j0(c) +s=J.F(c) a.length=a.length+s r=b+s -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)) +this.bn(a,r,a.length,a,b) +this.bY(a,b,r,c)}, +bi(a){if(!!a.fixed$length)A.z(A.q("removeLast")) +if(a.length===0)throw A.a(A.bR(a,-1)) return a.pop()}, -bS:function(a,b){return new H.E(a,b,H.z(a).i("E<1>"))}, -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 +bT(a,b){return new A.D(a,b,A.y(a).i("D<1>"))}, +aE(a,b){var s +if(!!a.fixed$length)A.z(A.q("addAll")) +if(Array.isArray(b)){this.c6(a,b) +return}for(s=J.E(b);s.l();)a.push(s.gm())}, +c6(a,b){var s,r=b.length if(r===0)return -if(a===b)throw H.a(P.Y(a)) +if(a===b)throw A.a(A.S(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;s").H(c).i("j<1,2>"))}, +a0(a,b){var s,r=A.a0(a.length,"",!1,t.N) +for(s=0;s0)return a[0] -throw H.a(H.c9())}, -gK:function(a){var s=a.length +aM(a){return this.a0(a,"")}, +Z(a,b){return A.aQ(a,b,null,A.y(a).c)}, +E(a,b){return a[b]}, +gaJ(a){if(a.length>0)return a[0] +throw A.a(A.ca())}, +gL(a){var s=a.length if(s>0)return a[s-1] -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) +throw A.a(A.ca())}, +bn(a,b,c,d,e){var s,r,q,p,o +if(!!a.immutable$list)A.z(A.q("setRange")) +A.a1(b,c,a.length) s=c-b if(s===0)return -P.Q(e,"skipCount") +A.T(e,"skipCount") if(t.j.b(d)){r=d -q=e}else{r=J.fD(d,e).a_(0,!1) -q=0}p=J.S(r) -if(q+s>p.gl(r))throw H.a(H.j6()) -if(q=0;--o)a[b+o]=p.q(r,q+o) -else for(o=0;op.gk(r))throw A.a(A.jl()) +if(q=0;--o)a[b+o]=p.n(r,q+o) +else for(o=0;oa.length)H.z(a).c.a(null) -a.length=b}, -q:function(a,b){if(b>=a.length||b<0)throw H.a(H.aF(a,b)) +ak(a){return this.a1(a,!0)}, +gq(a){return new J.b5(a,a.length)}, +gD(a){return A.cx(a)}, +gk(a){return a.length}, +n(a,b){if(!(b>=0&&b=a.length||b<0)throw H.a(H.aF(a,b)) +B(a,b,c){if(!!a.immutable$list)A.z(A.q("indexed set")) +if(!(b>=0&&b=p){r.d=null return!1}r.d=q[s] r.c=s+1 return!0}} -J.cc.prototype={ -h:function(a){if(a===0&&1/a<0)return"-0.0" +J.cd.prototype={ +h(a){if(a===0&&1/a<0)return"-0.0" else return""+a}, -gD:function(a){var s,r,q,p,o=a|0 +gD(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}, -aP:function(a,b){var s=a%b +aT(a,b){var s=a%b if(s===0)return 0 if(s>0)return s 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 +bz(a,b){return(a|0)===a?a/b|0:this.cn(a,b)}, +cn(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.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) +throw A.a(A.q("Result of truncating division is "+A.d(s)+": "+A.d(a)+" ~/ "+b))}, +cj(a,b){return b>31?0:a<>>0}, +a7(a,b){var s +if(a>0)s=this.by(a,b) else{s=b>31?31:b s=a>>s>>>0}return s}, -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={} +ck(a,b){if(0>b)throw A.a(A.d7(b)) +return this.by(a,b)}, +by(a,b){return b>31?0:a>>>b}, +gU(a){return A.af(t.H)}} +J.bh.prototype={ +gU(a){return A.af(t.S)}, +$iC:1, +$if:1} +J.cc.prototype={ +gU(a){return A.af(t.i)}, +$iC:1} 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.aF(a,b)) +cr(a,b){if(b<0)throw A.a(A.bR(a,b)) +if(b>=a.length)A.z(A.bR(a,b)) return a.charCodeAt(b)}, -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)}, -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)) +aG(a,b,c){var s=b.length +if(c>s)throw A.a(A.u(c,0,s,null,null)) +return new A.d1(b,a,c)}, +aF(a,b){return this.aG(a,b,0)}, +bL(a,b,c){var s,r,q=null +if(c<0||c>b.length)throw A.a(A.u(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)}, -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) +return b===this.A(a,r-s)}, +bP(a,b,c){A.h3(0,0,a.length,"startIndex") +return A.lt(a,b,c,0)}, +am(a,b){if(typeof b=="string")return A.b(a.split(b),t.s) +else if(b instanceof A.ax&&b.gbv().exec("").length-2===0)return A.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)}, -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() +Y(a,b,c,d){var s=A.a1(b,c,a.length) +return A.fu(a,b,s,d)}, +c8(a,b){var s,r,q,p,o,n,m=A.b([],t.s) +for(s=J.eS(b,a),s=s.gq(s),r=0,q=1;s.l();){p=s.gm() o=p.gM() -n=p.gS() +n=p.gR() 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)) +r=n}if(r0)m.push(this.A(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)) +u(a,b,c){var s +if(c<0||c>a.length)throw A.a(A.u(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.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.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)}, -bh:function(a){var s,r,q,p=a.trim(),o=p.length +return b===a.substring(c,s)}return J.iY(b,a,c)!=null}, +p(a,b){return this.u(a,b,0)}, +j(a,b,c){return a.substring(b,A.a1(b,c,a.length))}, +A(a,b){return this.j(a,b,null)}, +bl(a){var s,r,q,p=a.trim(),o=p.length if(o===0)return p -if(this.k(p,0)===133){s=J.j9(p,1) +if(p.charCodeAt(0)===133){s=J.jp(p,1) if(s===o)return""}else s=0 r=o-1 -q=this.n(p,r)===133?J.ja(p,r):o +q=p.charCodeAt(r)===133?J.jq(p,r):o if(s===0&&q===o)return p return p.substring(s,q)}, -bi:function(a,b){var s,r +bm(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) +if(b!==b>>>0)throw A.a(B.O) for(s=a,r="";!0;){if((b&1)===1)r=s+r b=b>>>1 if(b===0)break s+=s}return r}, -bL:function(a,b){var s=b-a.length +bN(a,b){var s=b-a.length if(s<=0)return a -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)) +return a+this.bm(" ",s)}, +a5(a,b,c){var s +if(c<0||c>a.length)throw A.a(A.u(c,0,a.length,null,null)) s=a.indexOf(b,c) return s}, -ar:function(a,b){return this.a4(a,b,0)}, -bG:function(a,b,c){var s,r +au(a,b){return this.a5(a,b,0)}, +bK(a,b,c){var s,r if(c==null)c=a.length -else if(c<0||c>a.length)throw H.a(P.t(c,0,a.length,null,null)) +else if(c<0||c>a.length)throw A.a(A.u(c,0,a.length,null,null)) s=b.length r=a.length if(c+s>r)c=r-s return a.lastIndexOf(b,c)}, -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}, -gD:function(a){var s,r,q +bJ(a,b){return this.bK(a,b,null)}, +t(a,b){return A.lo(a,b,0)}, +h(a){return a}, +gD(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}, -q:function(a,b){if(b>=a.length||b<0)throw H.a(H.aF(a,b)) -return a[b]}, +gU(a){return A.af(t.N)}, +gk(a){return a.length}, +$iC:1, $ie:1} -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()}, -gp:function(){return this.$ti.Q[1].a(this.a.gp())}} -H.ar.prototype={ -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))}, +A.ao.prototype={ +gq(a){var s=A.i(this) +return new A.c1(J.E(this.ga_()),s.i("@<1>").H(s.z[1]).i("c1<1,2>"))}, +gk(a){return J.F(this.ga_())}, +gC(a){return J.fE(this.ga_())}, +gaf(a){return J.iV(this.ga_())}, +Z(a,b){var s=A.i(this) +return A.eU(J.fF(this.ga_(),b),s.c,s.z[1])}, +E(a,b){return A.i(this).z[1].a(J.db(this.ga_(),b))}, +t(a,b){return J.fD(this.ga_(),b)}, +h(a){return J.b4(this.ga_())}} +A.c1.prototype={ +l(){return this.a.l()}, +gm(){return this.$ti.z[1].a(this.a.gm())}} +A.ar.prototype={ +ga_(){return this.a}} +A.bD.prototype={$ih:1} +A.bC.prototype={ +n(a,b){return this.$ti.z[1].a(J.iR(this.a,b))}, +B(a,b,c){J.iS(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>"))}, -ga0:function(){return this.a}} -H.ci.prototype={ -h:function(a){var s="LateInitializationError: "+this.a -return s}} -H.aJ.prototype={ -gl:function(a){return this.a.length}, -q:function(a,b){return C.a.n(this.a,b)}} -H.h.prototype={} -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) +$ik:1} +A.a4.prototype={ +aH(a,b){return new A.a4(this.a,this.$ti.i("@<1>").H(b).i("a4<1,2>"))}, +ga_(){return this.a}} +A.as.prototype={ +a8(a,b,c){var s=this.$ti +return new A.as(this.a,s.i("@<1>").H(s.z[1]).H(b).H(c).i("as<1,2,3,4>"))}, +K(a){return this.a.K(a)}, +n(a,b){return this.$ti.i("4?").a(this.a.n(0,b))}, +B(a,b,c){var s=this.$ti +this.a.B(0,s.c.a(b),s.z[1].a(c))}, +O(a,b){this.a.O(0,new A.dc(this,b))}, +gW(){var s=this.$ti +return A.eU(this.a.gW(),s.c,s.z[2])}, +gk(a){var s=this.a +return s.gk(s)}, +gC(a){var s=this.a +return s.gC(s)}} +A.dc.prototype={ +$2(a,b){var s=this.a.$ti +this.b.$2(s.z[2].a(a),s.z[3].a(b))}} +A.bk.prototype={ +h(a){return"LateInitializationError: "+this.a}} +A.aL.prototype={ +gk(a){return this.a.length}, +n(a,b){return this.a.charCodeAt(b)}} +A.dM.prototype={} +A.h.prototype={} +A.H.prototype={ +gq(a){return new A.a7(this,this.gk(this))}, +gC(a){return this.gk(this)===0}, +t(a,b){var s,r=this,q=r.gk(r) +for(s=0;ss)throw H.a(P.t(r,0,s,"start",null))}}, -gca:function(){var s=J.D(this.a),r=this.c +if(s!=null){A.T(s,"end") +if(r>s)throw A.a(A.u(r,0,s,"start",null))}}, +gc9(){var s=J.F(this.a),r=this.c if(r==null||r>s)return s return r}, -gcm:function(){var s=J.D(this.a),r=this.b +gcm(){var s=J.F(this.a),r=this.b if(r>s)return s return r}, -gl:function(a){var s,r=J.D(this.a),q=this.b +gk(a){var s,r=J.F(this.a),q=this.b if(q>=r)return 0 s=this.c if(s==null||s>=r)return r-q return s-q}, -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.Q(b,"count") +E(a,b){var s=this,r=s.gcm()+b +if(b<0||r>=s.gc9())throw A.a(A.eX(b,s.gk(s),s,"index")) +return J.db(s.a,r)}, +Z(a,b){var s,r,q=this +A.T(b,"count") s=q.b+b r=q.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(r!=null&&s>=r)return new A.bc(q.$ti.i("bc<1>")) +return A.aQ(q.a,s,r,q.$ti.c)}, +a1(a,b){var s,r,q,p=this,o=p.b,n=p.a,m=J.Z(n),l=m.gk(n),k=p.c if(k!=null&&k=o){r.d=null -return!1}r.d=p.F(q,s);++r.c +return!1}r.d=p.E(q,s);++r.c return!0}} -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.gp()) +A.P.prototype={ +gq(a){return new A.bm(J.E(this.a),this.b)}, +gk(a){return J.F(this.a)}, +gC(a){return J.fE(this.a)}, +E(a,b){return this.b.$1(J.db(this.a,b))}} +A.ba.prototype={$ih:1} +A.bm.prototype={ +l(){var s=this,r=s.b +if(r.l()){s.a=s.c.$1(r.gm()) return!0}s.a=null return!1}, -gp:function(){return H.l(this).Q[1].a(this.a)}} -H.i.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.gp()))return!0 +gm(){var s=this.a +return s==null?A.i(this).z[1].a(s):s}} +A.j.prototype={ +gk(a){return J.F(this.a)}, +E(a,b){return this.b.$1(J.db(this.a,b))}} +A.D.prototype={ +gq(a){return new A.bA(J.E(this.a),this.b)}} +A.bA.prototype={ +l(){var s,r +for(s=this.a,r=this.b;s.l();)if(r.$1(s.gm()))return!0 return!1}, -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 +gm(){return this.a.gm()}} +A.be.prototype={ +gq(a){return new A.c6(J.E(this.a),this.b,B.r)}} +A.c6.prototype={ +gm(){var s=this.d +return s==null?A.i(this).z[1].a(s):s}, +l(){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.C(r.$1(s.gp())) -q.c=p}else return!1}q.d=q.c.gp() +for(s=q.a,r=q.b;!p.l();){q.d=null +if(s.l()){q.c=null +p=J.E(r.$1(s.gm())) +q.c=p}else return!1}q.d=q.c.gm() return!0}} -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 +A.aD.prototype={ +gq(a){return new A.cI(J.E(this.a),this.b)}} +A.bb.prototype={ +gk(a){var s=J.F(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() +A.cI.prototype={ +l(){if(--this.b>=0)return this.a.l() 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 +gm(){if(this.b<0){A.i(this).c.a(null) +return null}return this.a.gm()}} +A.a9.prototype={ +Z(a,b){A.aK(b,"count") +A.T(b,"count") +return new A.a9(this.a,this.b+b,A.i(this).i("a9<1>"))}, +gq(a){return new A.cA(J.E(this.a),this.b)}} +A.aM.prototype={ +gk(a){var s=J.F(this.a)-this.b if(s>=0)return s return 0}, -Y:function(a,b){P.Q(b,"count") -return new H.aK(this.a,this.b+b,this.$ti)}, +Z(a,b){A.aK(b,"count") +A.T(b,"count") +return new A.aM(this.a,this.b+b,this.$ti)}, $ih:1} -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 +A.c4.prototype={ +l(){return!1}, +gm(){throw A.a(A.ca())}} +A.bB.prototype={ +gq(a){return new A.cS(J.E(this.a),this.$ti.i("cS<1>"))}} +A.cS.prototype={ +l(){var s,r +for(s=this.a,r=this.$ti.c;s.l();)if(r.b(s.gm()))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 +gm(){return this.$ti.c.a(this.a.gm())}} +A.c7.prototype={} +A.cM.prototype={ +B(a,b,c){throw A.a(A.q("Cannot modify an unmodifiable list"))}} +A.aU.prototype={} +A.aA.prototype={ +gk(a){return J.F(this.a)}, +E(a,b){var s=this.a,r=J.Z(s) +return r.E(s,r.gk(s)-1-b)}} +A.aR.prototype={ +gD(a){var s=this._hashCode if(s!=null)return s -s=664597*J.dd(this.a)&536870911 +s=664597*B.a.gD(this.a)&536870911 this._hashCode=s return s}, -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}, -L:function(a){if("__proto__"===a)return!1 -return this.b.hasOwnProperty(a)}, -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 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.kL(H.fp(this.a),this.$ti)}} -H.dF.prototype={ -gbI:function(){var s=this.a +h(a){return'Symbol("'+this.a+'")'}, +G(a,b){if(b==null)return!1 +return b instanceof A.aR&&this.a===b.a}, +$idU:1} +A.bP.prototype={} +A.b8.prototype={} +A.b7.prototype={ +a8(a,b,c){var s=A.i(this) +return A.fW(this,s.c,s.z[1],b,c)}, +gC(a){return this.gk(this)===0}, +h(a){return A.f0(this)}, +B(a,b,c){A.jb()}, +$iN:1} +A.b9.prototype={ +gk(a){return this.b.length}, +gbt(){var s=this.$keys +if(s==null){s=Object.keys(this.a) +this.$keys=s}return s}, +K(a){if(typeof a!="string")return!1 +if("__proto__"===a)return!1 +return this.a.hasOwnProperty(a)}, +n(a,b){if(!this.K(b))return null +return this.b[this.a[b]]}, +O(a,b){var s,r,q=this.gbt(),p=this.b +for(s=q.length,r=0;r"))}} +A.bE.prototype={ +gk(a){return this.a.length}, +gC(a){return 0===this.a.length}, +gaf(a){return 0!==this.a.length}, +gq(a){var s=this.a +return new A.d0(s,s.length)}} +A.d0.prototype={ +gm(){var s=this.d +return s==null?A.i(this).c.a(s):s}, +l(){var s=this,r=s.c +if(r>=s.b){s.d=null +return!1}s.d=s.a[r] +s.c=r+1 +return!0}} +A.dw.prototype={ +G(a,b){if(b==null)return!1 +return b instanceof A.bg&&this.a.G(0,b.a)&&A.fp(this)===A.fp(b)}, +gD(a){return A.fY(this.a,A.fp(this),B.l)}, +h(a){var s=B.b.a0([A.af(this.$ti.c)],", ") +return this.a.h(0)+" with "+("<"+s+">")}} +A.bg.prototype={ +$2(a,b){return this.a.$1$2(a,b,this.$ti.z[0])}, +$S(){return A.ld(A.eC(this.a),this.$ti)}} +A.dz.prototype={ +gcH(){var s=this.a return s}, -gbM:function(){var s,r,q,p,o=this -if(o.c===1)return C.y +gcK(){var s,r,q,p,o=this +if(o.c===1)return B.B s=o.d r=s.length-o.e.length-o.f -if(r===0)return C.y +if(r===0)return B.B q=[] for(p=0;p>>0}, -h:function(a){var s=this.b -if(s==null)s=this.a -return"Closure '"+this.$_name+"' of "+("Instance of '"+H.dS(s)+"'")}} -H.cA.prototype={ -h:function(a){return"RuntimeError: "+this.a}} -H.et.prototype={} -H.a3.prototype={ -gl:function(a){return this.a}, -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 +return"Closure '"+A.ig(s)+"'"}} +A.b6.prototype={ +G(a,b){if(b==null)return!1 +if(this===b)return!0 +if(!(b instanceof A.b6))return!1 +return this.$_target===b.$_target&&this.a===b.a}, +gD(a){return(A.i8(this.a)^A.cx(this.$_target))>>>0}, +h(a){return"Closure '"+this.$_name+"' of "+("Instance of '"+A.dL(this.a)+"'")}} +A.cV.prototype={ +h(a){return"Reading static variable '"+this.a+"' during its initialization"}} +A.cz.prototype={ +h(a){return"RuntimeError: "+this.a}} +A.ej.prototype={} +A.a5.prototype={ +gk(a){return this.a}, +gC(a){return this.a===0}, +gW(){return new A.a6(this,A.i(this).i("a6<1>"))}, +gbS(){var s=A.i(this) +return A.cm(new A.a6(this,s.i("a6<1>")),new A.dB(this),s.c,s.z[1])}, +K(a){var s=this.b if(s==null)return!1 -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.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.ay(p,b) -q=r==null?n:r.b -return q}else return o.cC(b)}, -cC:function(a){var s,r,q=this.d +return s[a]!=null}, +n(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.cE(b)}, +cE(a){var s,r,q=this.d if(q==null)return null -s=this.bo(q,J.dd(a)&0x3ffffff) -r=this.bC(s,a) +s=q[this.bF(a)] +r=this.bG(s,a) if(r<0)return null return s[r].b}, -C:function(a,b,c){var s,r,q,p,o,n,m=this +B(a,b,c){var s,r,q,p,o,n,m=this if(typeof b=="string"){s=m.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) +m.bp(s==null?m.b=m.aY():s,b,c)}else if(typeof b=="number"&&(b&0x3fffffff)===b){r=m.c +m.bp(r==null?m.c=m.aY():r,b,c)}else{q=m.d +if(q==null)q=m.d=m.aY() +p=m.bF(b) +o=q[p] +if(o==null)q[p]=[m.aZ(b,c)] +else{n=m.bG(o,b) if(n>=0)o[n].b=c -else o.push(m.aV(b,c))}}}, -T:function(a,b){var s=this,r=s.e,q=s.r +else o.push(m.aZ(b,c))}}}, +O(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.Y(s)) +if(q!==s.r)throw A.a(A.S(s)) r=r.c}}, -bl:function(a,b,c){var s=this.ay(a,b) -if(s==null)this.aX(a,b,this.aV(b,c)) +bp(a,b,c){var s=a[b] +if(s==null)a[b]=this.aZ(b,c) else s.b=c}, -aV:function(a,b){var s=this,r=new H.dJ(a,b) +aZ(a,b){var s=this,r=new A.dC(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 +s.r=s.r+1&1073741823 return r}, -bC:function(a,b){var s,r +bF(a){return J.aJ(a)&1073741823}, +bG(a,b){var s,r if(a==null)return-1 s=a.length -for(r=0;r"]=s +delete s[""] +return s}} +A.dB.prototype={ +$1(a){var s=this.a,r=s.n(0,a) +return r==null?A.i(s).z[1].a(r):r}} +A.dC.prototype={} +A.a6.prototype={ +gk(a){return this.a.a}, +gC(a){return this.a.a===0}, +gq(a){var s=this.a,r=new A.cl(s,s.r) r.c=s.e return r}, -A:function(a,b){return this.a.L(b)}} -H.cm.prototype={ -gp:function(){return this.d}, -m:function(){var s,r=this,q=r.a -if(r.b!==q.r)throw H.a(P.Y(q)) +t(a,b){return this.a.K(b)}} +A.cl.prototype={ +gm(){return this.d}, +l(){var s,r=this,q=r.a +if(r.b!==q.r)throw A.a(A.S(q)) s=r.c if(s==null){r.d=null return!1}else{r.d=s.a r.c=s.c return!0}}} -H.eO.prototype={ -$1:function(a){return this.a(a)}} -H.eP.prototype={ -$2:function(a,b){return this.a(a,b)}} -H.eQ.prototype={ -$1:function(a){return this.a(a)}} -H.ax.prototype={ -h:function(a){return"RegExp/"+this.a+"/"+this.b.flags}, -gbt:function(){var s=this,r=s.c +A.eH.prototype={ +$1(a){return this.a(a)}} +A.eI.prototype={ +$2(a,b){return this.a(a,b)}} +A.eJ.prototype={ +$1(a){return this.a(a)}} +A.ax.prototype={ +h(a){return"RegExp/"+this.a+"/"+this.b.flags}, +gbw(){var s=this,r=s.c if(r!=null)return r r=s.b -return s.c=H.f3(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -gbs:function(){var s=this,r=s.d +return s.c=A.eY(s.a,r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +gbv(){var s=this,r=s.d if(r!=null)return r r=s.b -return s.d=H.f3(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, -a3:function(a){var s=this.b.exec(a) +return s.d=A.eY(s.a+"|()",r.multiline,!r.ignoreCase,r.unicode,r.dotAll,!0)}, +a4(a){var s=this.b.exec(a) if(s==null)return null -return new H.aV(s)}, -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.cW(this,b,c)}, -aB:function(a,b){return this.aC(a,b,0)}, -bm:function(a,b){var s,r=this.gbt() +return new A.aV(s)}, +aG(a,b,c){var s=b.length +if(c>s)throw A.a(A.u(c,0,s,null,null)) +return new A.cT(this,b,c)}, +aF(a,b){return this.aG(a,b,0)}, +bq(a,b){var s,r=this.gbw() r.lastIndex=b s=r.exec(a) if(s==null)return null -return new H.aV(s)}, -cb:function(a,b){var s,r=this.gbs() +return new A.aV(s)}, +ca(a,b){var s,r=this.gbv() r.lastIndex=b s=r.exec(a) if(s==null)return null if(s.pop()!=null)return null -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}, -gS:function(){var s=this.b +return new A.aV(s)}, +bL(a,b,c){if(c<0||c>b.length)throw A.a(A.u(c,0,b.length,null,null)) +return this.ca(b,c)}} +A.aV.prototype={ +gM(){return this.b.index}, +gR(){var s=this.b return s.index+s[0].length}, -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 +$ibn:1, +$icy:1} +A.cT.prototype={ +gq(a){return new A.cU(this.a,this.b,this.c)}} +A.cU.prototype={ +gm(){var s=this.d +return s==null?t.d.a(s):s}, +l(){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.bm(m,s) +p=q.bq(m,s) if(p!=null){n.d=p -o=p.gS() +o=p.gR() if(p.b.index===o){if(q.b.unicode){s=n.c q=s+1 -if(q=55296&&s<=56319){s=C.a.n(m,q) +if(q=55296&&s<=56319){s=m.charCodeAt(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}} -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}, -$ibk:1, -gM:function(){return this.a}} -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 +A.bw.prototype={ +gR(){return this.a+this.c.length}, +$ibn:1, +gM(){return this.a}} +A.d1.prototype={ +gq(a){return new A.ek(this.a,this.b,this.c)}} +A.ek.prototype={ +l(){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.bu(s,o) +q.d=new A.bw(s,o) q.c=r===q.c?r+1:r return!0}, -gp:function(){var s=this.d +gm(){var s=this.d s.toString return s}} -H.cr.prototype={} -H.aN.prototype={ -gl:function(a){return a.length}, -$iaM:1} -H.bl.prototype={ -C:function(a,b,c){H.ez(b,a,a.length) +A.cp.prototype={ +gU(a){return B.a2}, +$iC:1} +A.cr.prototype={} +A.aP.prototype={ +gk(a){return a.length}, +$iaO:1} +A.bo.prototype={ +B(a,b,c){A.es(b,a,a.length) a[b]=c}, $ih:1, -$in:1} -H.cq.prototype={ -q:function(a,b){H.ez(b,a,a.length) -return a[b]}} -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}, -q:function(a,b){H.ez(b,a,a.length) +$ik:1} +A.cq.prototype={ +gU(a){return B.a3}, +n(a,b){A.es(b,a,a.length) +return a[b]}, +$iC:1} +A.cs.prototype={ +gU(a){return B.a5}, +n(a,b){A.es(b,a,a.length) return a[b]}, +$iC:1} +A.ay.prototype={ +gU(a){return B.a6}, +gk(a){return a.length}, +n(a,b){A.es(b,a,a.length) +return a[b]}, +$iC:1, $iay:1, -$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 this.a}} -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.ah(a,this.gl(a))}, -F:function(a,b){return this.q(a,b)}, -gG:function(a){return this.gl(a)===0}, -gas:function(a){return!this.gG(a)}, -b9:function(a,b,c){return new H.i(a,b,H.T(a).i("@").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").H(c).i("j<1,2>"))}, +Z(a,b){return A.aQ(a,b,null,A.a3(a).i("p.E"))}, +a1(a,b){var s,r,q,p,o=this +if(o.gC(a)){s=J.fR(0,A.a3(a).i("p.E")) +return s}r=o.n(a,0) +q=A.a0(o.gk(a),r,!0,A.a3(a).i("p.E")) +for(p=1;p").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").H(b).i("a4<1,2>"))}, +cA(a,b,c,d){var s +A.a1(b,c,this.gk(a)) +for(s=b;s").H(c).i("aE<1,2>"))}} +A.bL.prototype={} +A.cZ.prototype={ +n(a,b){var s,r=this.b +if(r==null)return this.c.n(0,b) else if(typeof b!="string")return null else{s=r[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 +return typeof s=="undefined"?this.cg(b):s}}, +gk(a){return this.b==null?this.c.a:this.an().length}, +gC(a){return this.gk(this)===0}, +gW(){if(this.b==null){var s=this.c +return new A.a6(s,A.i(s).i("a6<1>"))}return new A.d_(this)}, +B(a,b,c){var s,r,q=this +if(q.b==null)q.c.B(0,b,c) +else if(q.K(b)){s=q.b s[b]=c r=q.a -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) +if(r==null?s!=null:r!==s)r[b]=null}else q.co().B(0,b,c)}, +K(a){if(this.b==null)return this.c.K(a) return Object.prototype.hasOwnProperty.call(this.a,a)}, -T:function(a,b){var s,r,q,p,o=this -if(o.b==null)return o.c.T(0,b) +O(a,b){var s,r,q,p,o=this +if(o.b==null)return o.c.O(0,b) s=o.an() for(r=0;r=0){g=C.a.n(u.n,f) +if(f>=0){g=u.n.charCodeAt(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.w("") +if(k===61)continue}k=g}if(f!==-2){if(p==null){p=new A.w("") e=p}else e=p -d=e.a+=C.a.j(a0,q,r) -e.a=d+H.G(k) +e.a+=B.a.j(a0,q,r) +e.a+=A.J(k) q=l -continue}}throw H.a(P.m("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=C.a.j(a0,q,a2) +continue}}throw A.a(A.n("Invalid base64 data",a0,r))}if(p!=null){e=p.a+=B.a.j(a0,q,a2) d=e.length -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.m(a,a0,a2)) +if(o>=0)A.fG(a0,n,a2,o,m,d) +else{c=B.c.aT(d-1,4)+1 +if(c===1)throw A.a(A.n(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.fF(a0,n,a2,o,m,b) -else{c=C.c.aP(b,4) -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.bY.prototype={} -P.ae.prototype={} -P.Z.prototype={} -P.c3.prototype={} -P.bf.prototype={ -h:function(a){var s=P.au(this.a) +return B.a.Y(a0,a1,a2,e.charCodeAt(0)==0?e:e)}b=a2-a1 +if(o>=0)A.fG(a0,n,a2,o,m,b) +else{c=B.c.aT(b,4) +if(c===1)throw A.a(A.n(a,a0,a2)) +if(c>1)a0=B.a.Y(a0,a2,a2,c===2?"==":"=")}return a0}} +A.c0.prototype={} +A.ah.prototype={} +A.a_.prototype={} +A.c5.prototype={} +A.bj.prototype={ +h(a){var s=A.av(this.a) return(this.b!=null?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+s}} -P.cf.prototype={ -h:function(a){return"Cyclic error in JSON stringify"}} -P.ce.prototype={ -bA:function(a,b){var s=P.ks(a,this.gcs().a) +A.cg.prototype={ +h(a){return"Cyclic error in JSON stringify"}} +A.cf.prototype={ +bD(a,b){var s=A.kO(a,this.gcu().a) return s}, -cv:function(a,b){var s=P.jD(a,this.gb1().b,null) +cz(a,b){var s=A.jV(a,this.gb4().b,null) return s}, -gb1:function(){return C.T}, -gcs:function(){return C.S}} -P.ch.prototype={} -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 +p=!(p>=0&&(a.charCodeAt(p)&64512)===55296)}else p=!1 else p=!0 -if(p){if(r>s)n.aO(a,s,r) +if(p){if(r>s)n.aS(a,s,r) s=r+1 -n.H(92) -n.H(117) -n.H(100) +n.I(92) +n.I(117) +n.I(100) p=q>>>8&15 -n.H(p<10?48+p:87+p) +n.I(p<10?48+p:87+p) p=q>>>4&15 -n.H(p<10?48+p:87+p) +n.I(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) +n.I(p<10?48+p:87+p)}}continue}if(q<32){if(r>s)n.aS(a,s,r) s=r+1 -n.H(92) -switch(q){case 8:n.H(98) +n.I(92) +switch(q){case 8:n.I(98) break -case 9:n.H(116) +case 9:n.I(116) break -case 10:n.H(110) +case 10:n.I(110) break -case 12:n.H(102) +case 12:n.I(102) break -case 13:n.H(114) +case 13:n.I(114) break -default:n.H(117) -n.H(48) -n.H(48) +default:n.I(117) +n.I(48) +n.I(48) p=q>>>4&15 -n.H(p<10?48+p:87+p) +n.I(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) +n.I(p<10?48+p:87+p) +break}}else if(q===34||q===92){if(r>s)n.aS(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.aZ() +return!0}else{o.b1() return!1}}, -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;q=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.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 +if(l.cp(p,a.charCodeAt(n)))q=n}else if(o===56320){if(l.b+3>r)break +l.b1()}else if(p<=2047){o=l.b m=o+1 if(m>=r)break l.b=m @@ -3852,39 +4008,39 @@ o=l.b=m+1 s[m]=p>>>6&63|128 l.b=o+1 s[o]=p&63|128}}}return q}} -P.cS.prototype={ -ao:function(a){var s=this.a,r=P.jy(s,a,0,null) +A.cQ.prototype={ +ap(a){var s=this.a,r=A.jS(s,a,0,null) if(r!=null)return r -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)) +return new A.ep(s).cs(a,0,null,!0)}} +A.ep.prototype={ +cs(a,b,c,d){var s,r,q,p,o,n=this,m=A.a1(b,c,J.F(a)) if(b===m)return"" -if(t.n.b(a)){s=a -r=0}else{s=P.k2(a,b,m) +if(t.x.b(a)){s=a +r=0}else{s=A.kn(a,b,m) m-=b r=b -b=0}q=n.aR(s,b,m,!0) +b=0}q=n.aV(s,b,m,!0) p=n.b -if((p&1)!==0){o=P.k3(p) +if((p&1)!==0){o=A.ko(p) n.b=0 -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) +throw A.a(A.n(o,a,r+n.c))}return q}, +aV(a,b,c,d){var s,r,q=this +if(c-b>1000){s=B.c.bz(b+c,2) +r=q.aV(a,b,s,!1) if((q.b&1)!==0)return r -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 +return r+q.aV(a,s,c,d)}return q.ct(a,b,c,d)}, +ct(a,b,c,d){var s,r,q,p,o,n,m,l=this,k=65533,j=l.b,i=l.c,h=new A.w(""),g=b+1,f=a[b] +$label0$0:for(s=l.a;!0;){for(;!0;g=p){r="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(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.G(i) +j=" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(j+r) +if(j===0){h.a+=A.J(i) if(g===c)break $label0$0 -break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=H.G(k) +break}else if((j&1)!==0){if(s)switch(j){case 69:case 67:h.a+=A.J(k) break -case 65:h.a+=H.G(k);--g +case 65:h.a+=A.J(k);--g break -default:q=h.a+=H.G(k) -h.a=q+H.G(k) +default:q=h.a+=A.J(k) +h.a=q+A.J(k) break}else{l.b=j l.c=g-1 return""}j=0}if(g===c)break $label0$0 @@ -3896,280 +4052,275 @@ 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.G(k) +g=p}else g=p}if(d&&j>32)if(s)h.a+=A.J(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.dP.prototype={ -$2:function(a,b){var s=this.b,r=this.a,q=s.a+=r.a +A.dH.prototype={ +$2(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) +s.a+=A.av(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) +A.m.prototype={} +A.bY.prototype={ +h(a){var s=this.a +if(s!=null)return"Assertion failed: "+A.av(s) return"Assertion failed"}} -P.cK.prototype={} -P.cu.prototype={ -h:function(a){return"Throw of null."}} -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.gaS() -r=P.au(q.b) -return l+s+": "+r}} -P.a5.prototype={ -gaT:function(){return"RangeError"}, -gaS: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.d(r)+".."+A.d(q) +else s=qd.length +return"Concurrent modification during iteration: "+A.av(s)+"."}} +A.cv.prototype={ +h(a){return"Out of Memory"}, +$im:1} +A.bv.prototype={ +h(a){return"Stack Overflow"}, +$im:1} +A.aN.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.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 +i=""}return g+j+B.a.j(e,k,l)+i+"\n"+B.a.bm(" ",f-k+j.length)+"^\n"}else return f!=null?g+(" (at offset "+A.d(f)+")"):g}, +$ibd:1} +A.c.prototype={ +aH(a,b){return A.eU(this,A.i(this).i("c.E"),b)}, +bd(a,b,c){return A.cm(this,b,A.i(this).i("c.E"),c)}, +bT(a,b){return new A.D(this,b,A.i(this).i("D"))}, +t(a,b){var s +for(s=this.gq(this);s.l();)if(J.A(s.gm(),b))return!0 +return!1}, +a1(a,b){return A.ak(this,b,A.i(this).i("c.E"))}, +ak(a){return this.a1(a,!0)}, +gk(a){var s,r=this.gq(this) +for(s=0;r.l();)++s return s}, -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.c9()) -return s.gp()}, -gK:function(a){var s,r=this.gu(this) -if(!r.m())throw H.a(H.c9()) -do s=r.gp() -while(r.m()) +gC(a){return!this.gq(this).l()}, +gaf(a){return!this.gC(this)}, +Z(a,b){return A.jB(this,b,A.i(this).i("c.E"))}, +bZ(a,b){return new A.bt(this,b,A.i(this).i("bt"))}, +gaJ(a){var s=this.gq(this) +if(!s.l())throw A.a(A.ca()) +return s.gm()}, +gL(a){var s,r=this.gq(this) +if(!r.l())throw A.a(A.ca()) +do s=r.gm() +while(r.l()) return s}, -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.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.ao.prototype={ -h:function(a){return this.a}} -P.w.prototype={ -gl:function(a){return this.a.length}, -h:function(a){var s=this.a +E(a,b){var s,r +A.T(b,"index") +s=this.gq(this) +for(r=b;s.l();){if(r===0)return s.gm();--r}throw A.a(A.eX(b,b-r,this,"index"))}, +h(a){return A.jn(this,"(",")")}} +A.bp.prototype={ +gD(a){return A.t.prototype.gD.call(this,this)}, +h(a){return"null"}} +A.t.prototype={$it:1, +G(a,b){return this===b}, +gD(a){return A.cx(this)}, +h(a){return"Instance of '"+A.dL(this)+"'"}, +bM(a,b){throw A.a(A.fX(this,b))}, +gU(a){return A.b1(this)}, +toString(){return this.h(this)}} +A.aq.prototype={ +h(a){return this.a}} +A.w.prototype={ +gk(a){return this.a.length}, +h(a){var s=this.a return s.charCodeAt(0)==0?s:s}} -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.ek.prototype={ -$2:function(a,b){var s +A.e6.prototype={ +$2(a,b){throw A.a(A.n("Illegal IPv4 address, "+a,this.a,b))}} +A.e7.prototype={ +$2(a,b){throw A.a(A.n("Illegal IPv6 address, "+a,this.a,b))}} +A.e8.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.N(C.a.j(this.b,a,b),16) +s=A.Q(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}} -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) -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 +A.bM.prototype={ +gb0(){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.d(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.eP() +n=o.w=s.charCodeAt(0)==0?s:s}return n}, +gaa(){var s,r,q=this,p=q.x +if(p===$){s=q.e +if(s.length!==0&&s.charCodeAt(0)===47)s=B.a.A(s,1) +r=s.length===0?B.A:A.X(new A.j(A.b(s.split("/"),t.s),A.kZ(),t.r),t.N) +q.x!==$&&A.eP() +p=q.x=r}return p}, +gD(a){var s,r=this,q=r.y +if(q===$){s=B.a.gD(r.gb0()) +r.y!==$&&A.eP() +r.y=s +q=s}return q}, +gaC(){return this.b}, +gV(){var s=this.c if(s==null)return"" -if(C.a.t(s,"["))return C.a.j(s,1,s.length-1) +if(B.a.p(s,"["))return B.a.j(s,1,s.length-1) return s}, -gai:function(){var s=this.d -return s==null?P.hp(this.a):s}, -gac:function(){var s=this.f +gai(){var s=this.d +return s==null?A.hv(this.a):s}, +gab(){var s=this.f return s==null?"":s}, -gaG:function(){var s=this.r +gaK(){var s=this.r return s==null?"":s}, -cD:function(a){var s=this.a +cF(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,"/") +return A.ks(a,s,0)>=0}, +bu(a,b){var s,r,q,p,o,n +for(s=0,r=0;B.a.u(b,"../",r);){r+=3;++s}q=B.a.bJ(a,"/") while(!0){if(!(q>0&&s>0))break -p=C.a.bG(a,"/",q-1) +p=B.a.bK(a,"/",q-1) if(p<0)break o=q-p n=o!==2 -if(!n||o===3)if(C.a.n(a,p+1)===46)n=!n||C.a.n(a,p+2)===46 +if(!n||o===3)if(a.charCodeAt(p+1)===46)n=!n||a.charCodeAt(p+2)===46 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))}, -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.gap()){r=a.gax() +q=p}return B.a.Y(a,q+1,null,B.a.A(b,r-3*s))}, +bj(a){return this.aA(A.L(a))}, +aA(a){var s,r,q,p,o,n,m,l,k,j,i=this,h=null +if(a.gJ().length!==0){s=a.gJ() +if(a.gaq()){r=a.gaC() q=a.gV() -p=a.gaq()?a.gai():h}else{p=h +p=a.gar()?a.gai():h}else{p=h q=p -r=""}o=P.a9(a.gN(a)) -n=a.gaf()?a.gac():h}else{s=i.a -if(a.gap()){r=a.gax() +r=""}o=A.ac(a.gN(a)) +n=a.gae()?a.gab():h}else{s=i.a +if(a.gaq()){r=a.gaC() q=a.gV() -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 +p=A.fb(a.gar()?a.gai():h,s) +o=A.ac(a.gN(a)) +n=a.gae()?a.gab():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)) +if(a.gN(a)==="")n=a.gae()?a.gab():i.f +else{m=A.km(i,o) +if(m>0){l=B.a.j(o,0,m) +o=a.gaL()?l+A.ac(a.gN(a)):l+A.ac(i.bu(B.a.A(o,l.length),a.gN(a)))}else if(a.gaL())o=A.ac(a.gN(a)) +else if(o.length===0)if(q==null)o=s.length===0?a.gN(a):A.ac(a.gN(a)) +else o=A.ac("/"+a.gN(a)) +else{k=i.bu(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")) +if(!j||q!=null||B.a.p(o,"/"))o=A.ac(k) +else o=A.fd(k,!j||q!=null)}n=a.gae()?a.gab():h}}}return A.en(s,r,q,p,o,n,a.gb7()?a.gaK():h)}, +gaq(){return this.c!=null}, +gar(){return this.d!=null}, +gae(){return this.f!=null}, +gb7(){return this.r!=null}, +gaL(){return B.a.p(this.e,"/")}, +bk(){var s,r=this,q=r.a +if(q!==""&&q!=="file")throw A.a(A.q("Cannot extract a file path from a "+q+" URI")) q=r.f -if((q==null?"":q)!=="")throw H.a(P.r(u.i)) +if((q==null?"":q)!=="")throw A.a(A.q(u.i)) q=r.r -if((q==null?"":q)!=="")throw H.a(P.r(u.l)) -q=$.fz() -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,"/") +if((q==null?"":q)!=="")throw A.a(A.q(u.l)) +q=$.fx() +if(q)q=A.hH(r) +else{if(r.c!=null&&r.gV()!=="")A.z(A.q(u.j)) +s=r.gaa() +A.kf(s,!1) +q=A.an(B.a.p(r.e,"/")?""+"/":"",s,"/") q=q.charCodeAt(0)==0?q:q}return q}, -h:function(a){return this.gaY()}, -J:function(a,b){var s,r,q=this +h(a){return this.gb0()}, +G(a,b){var s,r,q=this if(b==null)return!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 +if(t.R.b(b))if(q.a===b.gJ())if(q.c!=null===b.gaq())if(q.b===b.gaC())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 +if(!r===b.gae()){if(r)s="" +if(s===b.gab()){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 +if(!r===b.gb7()){if(r)s="" +s=s===b.gaK()}else s=!1}else s=!1}else s=!1}else s=!1 else s=!1 else s=!1 else s=!1 @@ -4177,193 +4328,191 @@ else s=!1 else s=!1 else s=!1 return s}, -$ibx:1, -gI:function(){return this.a}, -gN:function(a){return this.e}} -P.ew.prototype={ -$1:function(a){return P.fj(C.Y,a,C.e,!1)}} -P.cP.prototype={ -ga5:function(){var s,r,q,p,o=this,n=null,m=o.c +$ibz:1, +gJ(){return this.a}, +gN(a){return this.e}} +A.eo.prototype={ +$1(a){return A.ff(B.X,a,B.e,!1)}} +A.cO.prototype={ +ga6(){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.a4(m,"?",s) +r=B.a.a5(m,"?",s) q=m.length -if(r>=0){p=P.bM(m,r+1,q,C.h,!1) +if(r>=0){p=A.bO(m,r+1,q,B.h,!1,!1) q=r}else p=n -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 +m=o.c=new A.cW("data","",n,n,A.bO(m,s,q,B.y,!1,!1),p,n)}return m}, +h(a){var s=this.a return this.b[0]===-1?"data:"+s:s}} -P.eB.prototype={ -$2:function(a,b){var s=this.a[a] -C.Z.cw(s,0,96,b) +A.eu.prototype={ +$2(a,b){var s=this.a[a] +B.a_.cA(s,0,96,b) return s}} -P.eC.prototype={ -$3:function(a,b,c){var s,r -for(s=b.length,r=0;r>>0]=c}} -P.R.prototype={ -gap:function(){return this.c>0}, -gaq:function(){return this.c>0&&this.d+1>>0]=c}} +A.V.prototype={ +gaq(){return this.c>0}, +gar(){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):""}, -gai:function(){var s,r=this -if(r.gaq())return P.N(C.a.j(r.a,r.d+1,r.e),null) +if(s&&B.a.p(r.a,"http"))return"http" +if(q===5&&B.a.p(r.a,"https"))return"https" +if(s&&B.a.p(r.a,"file"))return"file" +if(q===7&&B.a.p(r.a,"package"))return"package" +return B.a.j(r.a,0,q)}, +gaC(){var s=this.c,r=this.b+3 +return s>r?B.a.j(this.a,r,s-1):""}, +gV(){var s=this.c +return s>0?B.a.j(this.a,s,this.d):""}, +gai(){var s,r=this +if(r.gar())return A.Q(B.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 +if(s===4&&B.a.p(r.a,"http"))return 80 +if(s===5&&B.a.p(r.a,"https"))return 443 return 0}, -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.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 +return new A.V(B.a.j(q,0,r),s.b,s.c,s.d,s.e,s.f,r,s.w)}, +bj(a){return this.aA(A.L(a))}, +aA(a){if(a instanceof A.V)return this.cl(this,a) +return this.bA().aA(a)}, +cl(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.t(a.a,"file"))p=b.e!==b.f -else if(q&&C.a.t(a.a,"http"))p=!b.bp("80") -else p=!(r===5&&C.a.t(a.a,"https"))||!b.bp("443") +if(q&&B.a.p(a.a,"file"))p=b.e!==b.f +else if(q&&B.a.p(a.a,"http"))p=!b.br("80") +else p=!(r===5&&B.a.p(a.a,"https"))||!b.br("443") if(p){o=r+1 -return new P.R(C.a.j(a.a,0,o)+C.a.w(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.x)}else return this.bx().av(b)}n=b.e +return new A.V(B.a.j(a.a,0,o)+B.a.A(b.a,c+1),r,s+o,b.d+o,b.e+o,b.f+o,b.r+o,a.w)}else return this.bA().aA(b)}n=b.e c=b.f if(n===c){s=b.r if(c0?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 +return new A.V(B.a.j(a.a,0,k)+B.a.A(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.B(s,"../",n);)n+=3 +if(j===i&&a.c>0){for(;B.a.u(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) +return new A.V(B.a.j(a.a,0,j)+"/"+B.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}h=a.a +l=A.ho(this) if(l>=0)g=l -else for(g=j;C.a.B(h,"../",g);)g+=3 +else for(g=j;B.a.u(h,"../",g);)g+=3 f=0 while(!0){e=n+3 -if(!(e<=c&&C.a.B(s,"../",n)))break;++f +if(!(e<=c&&B.a.u(s,"../",n)))break;++f n=e}for(d="";i>g;){--i -if(C.a.n(h,i)===47){if(f===0){d="/" +if(h.charCodeAt(i)===47){if(f===0){d="/" break}--f -d="/"}}if(i===g&&a.b<=0&&!C.a.B(h,"/",j)){n-=f*3 +d="/"}}if(i===g&&a.b<=0&&!B.a.u(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")) +return new A.V(B.a.j(h,0,i)+d+B.a.A(s,n),a.b,a.c,a.d,j,c+o,b.r+o,a.w)}, +bk(){var s,r,q=this,p=q.b +if(p>=0){s=!(p===4&&B.a.p(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")) +if(p)throw A.a(A.q("Cannot extract a file path from a "+q.gJ()+" URI")) p=q.f s=q.a -if(p0?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.gV():r,n=s.gar()?s.gai():r,m=s.a,l=s.f,k=B.a.j(m,s.e,l),j=s.r +l=l0&&!s.U(a) +s=s.F(a)>0&&!s.T(a) if(s)return a s=this.b -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() +return this.bH(0,s==null?A.fm():s,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o)}, +a2(a){return this.bC(a,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +cv(a){var s,r,q=A.az(a,this.a) +q.aQ() 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.be(s) +return s==null?".":s}B.b.bi(s) q.e.pop() -q.aM() +q.aQ() return q.h(0)}, -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.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) +bH(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){var s=A.b([b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q],t.m) +A.hY("join",s) +return this.bI(new A.bB(s,t.ab))}, +cG(a,b,c){return this.bH(a,b,c,null,null,null,null,null,null,null,null,null,null,null,null,null,null)}, +bI(a){var s,r,q,p,o,n,m,l,k +for(s=J.j1(a,new A.dl()),r=J.E(s.a),s=new A.bA(r,s.b),q=this.a,p=!1,o=!1,n="";s.l();){m=r.gm() +if(q.T(m)&&o){l=A.az(m,q) k=n.charCodeAt(0)==0?n:n -n=C.a.j(k,0,q.aj(k,!0)) +n=B.a.j(k,0,q.aj(k,!0)) l.b=n -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")) +if(q.az(n))l.e[0]=q.gac() +n=""+l.h(0)}else if(q.F(m)>0){o=!q.T(m) +n=""+m}else{if(!(m.length!==0&&q.b3(m[0])))if(p)n+=q.gac() +n+=m}p=q.az(m)}return n.charCodeAt(0)==0?n:n}, +am(a,b){var s=A.az(b,this.a),r=s.d,q=A.y(r).i("D<1>") +q=A.ak(new A.D(r,new A.dm(),q),!0,q.i("c.E")) s.d=q r=s.b -if(r!=null)C.b.b6(q,0,r) +if(r!=null)B.b.b9(q,0,r) return s.d}, -bc:function(a){var s -if(!this.cg(a))return a -s=X.az(a,this.a) -s.bb() +bg(a){var s +if(!this.cf(a))return a +s=A.az(a,this.a) +s.bf() return s.h(0)}, -cg:function(a){var s,r,q,p,o,n,m,l,k=this.a,j=k.E(a) -if(j!==0){if(k===$.bS())for(s=0;s0)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.bb() -r=X.az(a,m) -r.bb() +if(m.F(b)<=0&&m.F(a)>0)return o.bg(a) +if(m.F(a)<=0||m.T(a))a=o.a2(a) +if(m.F(a)<=0&&m.F(b)>0)throw A.a(A.fZ(n+a+'" from "'+b+'".')) +s=A.az(b,m) +s.bf() +r=A.az(a,m) +r.bf() q=s.d -if(q.length!==0&&J.J(q[0],"."))return r.h(0) +if(q.length!==0&&J.A(q[0],"."))return r.h(0) q=s.b p=r.b -if(q!=p)q=q==null||p==null||!m.bd(q,p) +if(q!=p)q=q==null||p==null||!m.bh(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.bd(q[0],p[0])}else q=!1 +q=p.length!==0&&m.bh(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.J(q[0],".."))throw H.a(X.fW(n+a+'" from "'+b+'".')) +B.b.aP(s.d,0) +B.b.aP(s.e,1) +B.b.aP(r.d,0) +B.b.aP(r.e,1)}q=s.d +if(q.length!==0&&J.A(q[0],".."))throw A.a(A.fZ(n+a+'" from "'+b+'".')) q=t.N -C.b.b7(r.d,0,P.a_(s.d.length,"..",!1,q)) +B.b.ba(r.d,0,A.a0(s.d.length,"..",!1,q)) p=r.e p[0]="" -C.b.b7(p,1,P.a_(s.d.length,m.gad(),!1,q)) +B.b.ba(p,1,A.a0(s.d.length,m.gac(),!1,q)) m=r.d q=m.length if(q===0)return"." -if(q>1&&J.J(C.b.gK(m),".")){C.b.be(r.d) +if(q>1&&J.A(B.b.gL(m),".")){B.b.bi(r.d) m=r.e m.pop() m.pop() m.push("")}r.b="" -r.aM() +r.aQ() return r.h(0)}, -cH:function(a){return this.aK(a,null)}, -bq:function(a,b){var s,r,q,p,o,n,m,l,k=this +cM(a){return this.aO(a,null)}, +bs(a,b){var s,r,q,p,o,n,m,l,k=this a=a b=b r=k.a -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 +q=r.F(a)>0 +p=r.F(b)>0 +if(q&&!p){b=k.a2(b) +if(r.T(a))a=k.a2(a)}else if(p&&!q){a=k.a2(a) +if(r.T(b))b=k.a2(b)}else if(p&&q){o=r.T(b) +n=r.T(a) +if(o&&!n)b=k.a2(b) +else if(n&&!o)a=k.a2(a)}m=k.ce(a,b) +if(m!==B.f)return m s=null -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 +try{s=k.aO(b,a)}catch(l){if(A.b2(l) instanceof A.br)return B.d +else throw l}if(r.F(s)>0)return B.d +if(J.A(s,"."))return B.q +if(J.A(s,".."))return B.d +return J.F(s)>=3&&J.j_(s,"..")&&r.v(J.eT(s,2))?B.d:B.i}, +ce(a,b){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=this if(a===".")a="" s=e.a -r=s.E(a) -q=s.E(b) -if(r!==q)return C.d -for(p=0;pq.am(0,s).length?s:r}} -M.dr.prototype={ -$1:function(a){return a!==""}} -M.ds.prototype={ -$1:function(a){return a.length!==0}} -M.eJ.prototype={ -$1:function(a){return a==null?"null":'"'+a+'"'}} -M.aW.prototype={ -h:function(a){return this.a}} -M.aX.prototype={ -h:function(a){return this.a}} -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}, -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),"") +A.dl.prototype={ +$1(a){return a!==""}} +A.dm.prototype={ +$1(a){return a.length!==0}} +A.eB.prototype={ +$1(a){return a==null?"null":'"'+a+'"'}} +A.aW.prototype={ +h(a){return this.a}} +A.aX.prototype={ +h(a){return this.a}} +A.dx.prototype={ +bX(a){var s=this.F(a) +if(s>0)return B.a.j(a,0,s) +return this.T(a)?a[0]:null}, +bO(a){var s,r=null,q=a.length +if(q===0)return A.x(r,r,r,r) +s=A.eV(this).am(0,a) +if(this.v(a.charCodeAt(q-1)))B.b.a3(s,"") +return A.x(r,r,s,r)}, +aI(a,b){return a===b}, +bh(a,b){return a===b}} +A.dI.prototype={ +gb8(){var s=this.d +if(s.length!==0)s=J.A(B.b.gL(s),"")||!J.A(B.b.gL(this.e),"") else s=!1 return s}, -aM:function(){var s,r,q=this +aQ(){var s,r,q=this while(!0){s=q.d -if(!(s.length!==0&&J.J(C.b.gK(s),"")))break -C.b.be(q.d) +if(!(s.length!==0&&J.A(B.b.gL(s),"")))break +B.b.bi(q.d) q.e.pop()}s=q.e r=s.length if(r!==0)s[r-1]=""}, -bb:function(){var s,r,q,p,o,n,m=this,l=H.b([],t.s) -for(s=m.d,r=s.length,q=0,p=0;p0){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 +aj(a,b){var s,r=a.length +if(r===0)return 0 +if(a.charCodeAt(0)===47)return 1 +if(a.charCodeAt(0)===92){if(r<2||a.charCodeAt(1)!==92)return 1 +s=B.a.a5(a,"\\",2) +if(s>0){s=B.a.a5(a,"\\",s+1) +if(s>0)return s}return r}if(r<3)return 0 +if(!A.i4(a.charCodeAt(0)))return 0 +if(a.charCodeAt(1)!==58)return 0 +r=a.charCodeAt(2) +if(!(r===47||r===92))return 0 return 3}, -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.A("Uri "+a.h(0)+" must have scheme 'file:'.")) +F(a){return this.aj(a,!1)}, +T(a){return this.F(a)===1}, +aN(a){var s,r +if(a.gJ()!==""&&a.gJ()!=="file")throw A.a(A.G("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)}, -b_:function(a){var s,r,q=X.az(a,this),p=q.b +if(a.gV()===""){if(s.length>=3&&B.a.p(s,"/")&&A.i5(s,1))s=B.a.bP(s,"/","")}else s="\\\\"+a.gV()+s +r=A.R(s,"/","\\") +return A.fe(r,0,r.length,B.e,!1)}, +b2(a){var s,r,q=A.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,"") +if(B.a.p(p,"\\\\")){s=new A.D(A.b(p.split("\\"),t.s),new A.ed(),t.U) +B.b.b9(q.d,0,s.gL(s)) +if(q.gb8())B.b.a3(q.d,"") +return A.x(s.gaJ(s),null,q.d,"file")}else{if(q.d.length===0||q.gb8())B.b.a3(q.d,"") p=q.d r=q.b r.toString -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 +r=A.R(r,"/","") +B.b.b9(p,0,A.R(r,"\\","")) +return A.x(null,null,q.d,"file")}}, +aI(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}, -bd:function(a,b){var s,r +bh(a,b){var s,r if(a===b)return!0 s=a.length if(s!==b.length)return!1 -for(r=0;r0 @@ -4724,77 +4877,77 @@ i=0 h=0 g=0 while(!0){if(!(n.c=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;j=a0.length)throw A.a(A.cG("Invalid source url id. "+A.d(f.e)+", "+l+", "+j)) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.b_(2,l)) +i+=A.d8(n) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))throw A.a(f.b_(3,l)) +h+=A.d8(n) +p=n.ga9() +if(!(!p.a&&!p.b&&!p.c))m.push(new A.aS(k,j,i,h,d)) +else{g+=A.d8(n) +if(g>=a1.length)throw A.a(A.cG("Invalid name id: "+A.d(f.e)+", "+l+", "+g)) +m.push(new A.aS(k,j,i,h,g))}}if(n.ga9().b)++n.c}}if(m.length!==0)q.push(new A.bx(l,m)) +a3.O(0,new A.dN(f))}, +aB(){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 A.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.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.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&&sthis.a}} +A.dO.prototype={ +$1(a){return a.a>this.a}} +A.bx.prototype={ +h(a){return A.b1(this).h(0)+": "+this.a+" "+A.d(this.b)}} +A.aS.prototype={ +h(a){var s=this +return A.b1(s).h(0)+": ("+s.a+", "+A.d(s.b)+", "+A.d(s.c)+", "+A.d(s.d)+", "+A.d(s.e)+")"}} +A.ei.prototype={ +l(){return++this.c=0&&s0}, -gaa:function(){if(!this.gcB())return C.a4 +ga9(){if(!this.gcD())return B.aa var s=this.a[this.c+1] -if(s===";")return C.a6 -if(s===",")return C.a5 -return C.a3}, -h:function(a){var s,r,q,p,o=this,n=new P.w("") +if(s===";")return B.ac +if(s===",")return B.ab +return B.a9}, +h(a){var s,r,q,p,o=this,n=new A.w("") for(s=o.a,r=0;r=r||s[n]!==10)o=10}if(o===10)q.push(p+1)}}} -V.cE.prototype={ -bB:function(a){var s=this.a -if(!s.J(0,a.gP()))throw H.a(P.A('Source URLs "'+s.h(0)+'" and "'+a.gP().h(0)+"\" don't match.")) +A.cD.prototype={ +bE(a){var s=this.a +if(!s.G(0,a.gS()))throw A.a(A.G('Source URLs "'+s.h(0)+'" and "'+a.gS().h(0)+"\" don't match.")) return Math.abs(this.b-a.gah())}, -J:function(a,b){if(b==null)return!1 -return t.l.b(b)&&this.a.J(0,b.gP())&&this.b===b.gah()}, -gD:function(a){var s=this.a +G(a,b){if(b==null)return!1 +return t.q.b(b)&&this.a.G(0,b.gS())&&this.b===b.gah()}, +gD(a){var s=this.a s=s.gD(s) return s+this.b}, -h:function(a){var s=this,r="<"+H.bQ(s).h(0)+": "+s.b+" " -return r+(s.a.h(0)+":"+(s.c+1)+":"+(s.d+1))+">"}, -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()"}, +gS(){return this.a}, +gah(){return this.b}, +gav(){return this.c}, +gao(){return this.d}} +A.cE.prototype={ +bo(a,b,c){var s,r=this.b,q=this.a +if(!r.gS().G(0,q.gS()))throw A.a(A.G('Source URLs "'+q.gS().h(0)+'" and "'+r.gS().h(0)+"\" don't match.")) +else if(r.gah()'}, -$idX:1} -U.as.prototype={ -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){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 $.eX().cG(s)}, -gag:function(){var s,r=this,q=r.b -if(q==null)return r.gb8() +if(s.length!==q.bE(r))throw A.a(A.G('Text "'+s+'" must be '+q.bE(r)+" characters long."))}}, +gM(){return this.a}, +gR(){return this.b}, +gcO(){return this.c}} +A.cF.prototype={ +gS(){return this.gM().gS()}, +gk(a){return this.gR().gah()-this.gM().gah()}, +G(a,b){if(b==null)return!1 +return t.u.b(b)&&this.gM().G(0,b.gM())&&this.gR().G(0,b.gR())}, +gD(a){return A.fY(this.gM(),this.gR(),B.l)}, +h(a){var s=this +return"<"+A.b1(s).h(0)+": from "+s.gM().h(0)+" to "+s.gR().h(0)+' "'+s.gcO()+'">'}, +$idR:1} +A.at.prototype={ +bQ(){var s=this.a +return A.dW(new A.be(s,new A.di(),A.y(s).i("be<1,v>")),null)}, +h(a){var s=this.a,r=A.y(s) +return new A.j(s,new A.dg(new A.j(s,new A.dh(),r.i("j<1,f>")).b6(0,0,B.j)),r.i("j<1,e>")).a0(0,u.a)}} +A.dd.prototype={ +$1(a){return a.length!==0}} +A.di.prototype={ +$1(a){return a.gad()}} +A.dh.prototype={ +$1(a){var s=a.gad() +return new A.j(s,new A.df(),A.y(s).i("j<1,f>")).b6(0,0,B.j)}} +A.df.prototype={ +$1(a){return a.gag().length}} +A.dg.prototype={ +$1(a){var s=a.gad() +return new A.j(s,new A.de(this.a),A.y(s).i("j<1,e>")).aM(0)}} +A.de.prototype={ +$1(a){return B.a.bN(a.gag(),this.a)+" "+A.d(a.gaw())+"\n"}} +A.v.prototype={ +gbc(){var s=this.a +if(s.gJ()==="data")return"data:..." +return $.eQ().cL(s)}, +gag(){var s,r=this,q=r.b +if(q==null)return r.gbc() s=r.c -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.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) +if(s==null)return r.gbc()+" "+A.d(q) +return r.gbc()+" "+A.d(q)+":"+A.d(s)}, +h(a){return this.gag()+" in "+A.d(this.d)}, +ga6(){return this.a}, +gav(){return this.b}, +gao(){return this.c}, +gaw(){return this.d}} +A.dv.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a +if(k==="...")return new A.v(A.x(l,l,l,l),l,l,"...") +s=$.iO().a4(k) +if(s==null)return new A.Y(A.x(l,"unparsed",l,l),k) k=s.b r=k[1] r.toString -q=$.io() -r=H.O(r,q,"") -p=H.O(r,"","") +q=$.iz() +r=A.R(r,q,"") +p=A.R(r,"","") r=k[2] q=r q.toString -if(C.a.t(q,"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) +m=k>1?A.Q(n[1],l):l +return new A.v(o,m,k>2?A.Q(n[2],l):l,p)}} +A.dt.prototype={ +$0(){var s,r,q="",p=this.a,o=$.iK().a4(p) +if(o==null)return new A.Y(A.x(null,"unparsed",null,null),p) +p=new A.du(p) s=o.b r=s[2] 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=A.R(s,"",q) +s=A.R(s,"Anonymous function",q) +return p.$2(r,A.R(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) +A.du.prototype={ +$2(a,b){var s,r,q,p,o,n=null,m=$.iJ(),l=m.a4(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) +l=m.a4(s)}if(a==="native")return new A.v(A.L("native"),n,n,b) +r=$.iN().a4(a) +if(r==null)return new A.Y(A.x(n,"unparsed",n,n),this.a) m=r.b s=m[1] s.toString -q=A.f2(s) +q=A.eW(s) s=m[2] s.toString -p=P.N(s,n) +p=A.Q(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) +return new A.v(q,p,o!=null?A.Q(o,n):n,b)}} +A.dq.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iB().a4(n) +if(m==null)return new A.Y(A.x(o,"unparsed",o,o),n) n=m.b s=n[1] s.toString -r=H.O(s,"/<","") +r=A.R(s,"/<","") s=n[2] s.toString -q=A.f2(s) +q=A.eW(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) +p=A.Q(n,o) +return new A.v(q,p,o,r.length===0||r==="anonymous"?"":r)}} +A.dr.prototype={ +$0(){var s,r,q,p,o,n,m,l=null,k=this.a,j=$.iD().a4(k) +if(j==null)return new A.Y(A.x(l,"unparsed",l,l),k) s=j.b r=s[3] q=r q.toString -if(C.a.A(q," line "))return A.j2(k) +if(B.a.t(q," line "))return A.jc(k) k=r k.toString -p=A.f2(k) +p=A.eW(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)) +k=B.a.aF("/",k) +o+=B.b.aM(A.a0(k.gk(k),".",!1,t.N)) if(o==="")o="" -o=C.a.bO(o,$.iw(),"")}else o="" +o=B.a.bP(o,$.iH(),"")}else o="" k=s[4] if(k==="")n=l else{k=k k.toString -n=P.N(k,l)}k=s[5] +n=A.Q(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)) +m=A.Q(k,l)}return new A.v(p,n,m,o)}} +A.ds.prototype={ +$0(){var s,r,q,p,o=null,n=this.a,m=$.iF().a4(n) +if(m==null)throw A.a(A.n("Couldn't parse package:stack_trace stack trace line '"+n+"'.",o,o)) n=m.b s=n[1] -if(s==="data:...")r=P.hb("") +if(s==="data:...")r=A.hf("") 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] +r=A.L(s)}if(r.gJ()===""){s=$.eQ() +r=s.bR(s.bC(s.a.aN(A.fk(r)),o,o,o,o,o,o,o,o,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] +q=A.Q(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)}, +p=A.Q(s,o)}return new A.v(r,q,p,n[4])}} +A.ck.prototype={ +gbB(){var s,r=this,q=r.b +if(q===$){s=r.a.$0() +r.b!==$&&A.eP() +r.b=s +q=s}return q}, +gad(){return this.gbB().gad()}, +h(a){return this.gbB().h(0)}, $iK:1} -Y.K.prototype={ -cA:function(a){var s,r,q,p,o={} +A.K.prototype={ +cC(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.e8.prototype={ -$1:function(a){return!C.a.t(a,$.iB())}} -Y.e9.prototype={ -$1:function(a){return A.fK(a)}} -Y.e6.prototype={ -$1:function(a){return a!=="\tat "}} -Y.e7.prototype={ -$1:function(a){return A.fK(a)}} -Y.e2.prototype={ -$1:function(a){return a.length!==0&&a!=="[native code]"}} -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}, -$ix:1, -ga5:function(){return this.a}, -ga9:function(){return null}, -ga7:function(){return null}, -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() +s=A.b([],t.F) +for(r=this.a,r=new A.aA(r,A.y(r).i("aA<1>")),r=new A.a7(r,r.gk(r)),q=A.i(r).c;r.l();){p=r.d +if(p==null)p=q.a(p) +if(p instanceof A.Y||!o.a.$1(p))s.push(p) +else if(s.length===0||!o.a.$1(B.b.gL(s)))s.push(new A.v(p.ga6(),p.gav(),p.gao(),p.gaw()))}return A.dW(new A.aA(s,t.n),this.b.a)}, +h(a){var s=this.a,r=A.y(s) +return new A.j(s,new A.e2(new A.j(s,new A.e3(),r.i("j<1,f>")).b6(0,0,B.j)),r.i("j<1,e>")).aM(0)}, +gad(){return this.a}} +A.e0.prototype={ +$0(){return A.f5(this.a.h(0))}} +A.e1.prototype={ +$1(a){return a.length!==0}} +A.e_.prototype={ +$1(a){return!B.a.p(a,$.iM())}} +A.dZ.prototype={ +$1(a){return a!=="\tat "}} +A.dX.prototype={ +$1(a){return a.length!==0&&a!=="[native code]"}} +A.dY.prototype={ +$1(a){return!B.a.p(a,"=====")}} +A.e3.prototype={ +$1(a){return a.gag().length}} +A.e2.prototype={ +$1(a){if(a instanceof A.Y)return a.h(0)+"\n" +return B.a.bN(a.gag(),this.a)+" "+A.d(a.gaw())+"\n"}} +A.Y.prototype={ +h(a){return this.w}, +$iv:1, +ga6(){return this.a}, +gav(){return null}, +gao(){return null}, +gag(){return"unparsed"}, +gaw(){return this.w}} +A.eM.prototype={ +$1(a){var s,r,q,p,o,n,m,l,k,j,i,h,g="dart:",f=a.gav() if(f==null)return null -s=a.ga7() +s=a.gao() if(s==null)s=0 -r=this.a.bZ(f-1,s-1,a.ga5().h(0)) +r=this.a.c_(f-1,s-1,a.ga6().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}')) +q.f=$.eQ().cv(d)+"/" +l.B(0,A.aK(q.e,"mapping.targetUrl"),q)}}p=m.al(a,b,c,d) +if(p!=null){p.gM().gS() +m=!1}else m=!0 +if(m)return n +o=p.gM().gS().gaa() +if(o.length!==0&&J.A(B.b.gL(o),"null"))return n +return p}, +c_(a,b,c){return this.al(a,b,null,c)}} +A.eO.prototype={ +$1(a){return A.d(a)}};(function aliases(){var s=J.aj.prototype +s.c1=s.h +s=A.c.prototype +s.c0=s.bZ})();(function installTearOffs(){var s=hunkHelpers._static_1,r=hunkHelpers.installStaticTearOff +s(A,"kY","kw",3) +s(A,"kZ","jR",1) +s(A,"l6","jj",0) +s(A,"i1","ji",0) +s(A,"l4","jg",0) +s(A,"l5","jh",0) +s(A,"ly","jK",2) +s(A,"lx","jJ",2) +s(A,"lm","lj",1) +s(A,"ln","ll",4) +r(A,"lk",2,null,["$1$2","$2"],["i7",function(a,b){return A.i7(a,b,t.H)}],5,1)})();(function inheritance(){var s=hunkHelpers.mixin,r=hunkHelpers.inherit,q=hunkHelpers.inheritMany +r(A.t,null) +q(A.t,[A.eZ,J.c9,J.b5,A.c,A.c1,A.I,A.au,A.m,A.p,A.dM,A.a7,A.bm,A.bA,A.c6,A.cI,A.cA,A.cB,A.c4,A.cS,A.c7,A.cM,A.aR,A.bl,A.b7,A.d0,A.dz,A.e4,A.cu,A.ej,A.dC,A.cl,A.ax,A.aV,A.cU,A.bw,A.ek,A.U,A.cY,A.el,A.d2,A.d5,A.ah,A.a_,A.eg,A.eq,A.ep,A.cv,A.bv,A.aN,A.bp,A.aq,A.w,A.bM,A.cO,A.V,A.c3,A.aW,A.aX,A.dT,A.dI,A.br,A.al,A.bx,A.aS,A.ei,A.aZ,A.cF,A.cC,A.cD,A.at,A.v,A.ck,A.K,A.Y]) +q(J.c9,[J.cb,J.bi,J.B,J.cd,J.aw]) +q(J.B,[J.aj,J.o,A.cp,A.cr,A.dp]) +q(J.aj,[J.cw,J.aT,J.ai,A.dn]) +r(J.dA,J.o) +q(J.cd,[J.bh,J.cc]) +q(A.c,[A.ao,A.h,A.P,A.D,A.be,A.aD,A.a9,A.bt,A.bB,A.bE,A.cT,A.d1,A.aY]) +q(A.ao,[A.ar,A.bP]) +r(A.bD,A.ar) +r(A.bC,A.bP) +r(A.a4,A.bC) +q(A.I,[A.as,A.a5,A.cZ]) +q(A.au,[A.dk,A.dw,A.dj,A.dV,A.dB,A.eH,A.eJ,A.eo,A.ev,A.ew,A.dl,A.dm,A.eB,A.ed,A.dG,A.dP,A.dO,A.dd,A.di,A.dh,A.df,A.dg,A.de,A.e1,A.e_,A.dZ,A.dX,A.dY,A.e3,A.e2,A.eM,A.eN,A.eA,A.eF,A.eO]) +q(A.dk,[A.dc,A.dK,A.eI,A.dF,A.eh,A.dH,A.e6,A.e7,A.e8,A.eu,A.dN,A.dQ,A.du]) +q(A.m,[A.bk,A.by,A.ce,A.cL,A.cV,A.cz,A.cX,A.bj,A.bY,A.W,A.ct,A.cN,A.cK,A.aB,A.c2]) +r(A.aU,A.p) +r(A.aL,A.aU) +q(A.h,[A.H,A.bc,A.a6]) +q(A.H,[A.aC,A.j,A.aA,A.d_]) +r(A.ba,A.P) +r(A.bb,A.aD) +r(A.aM,A.a9) +r(A.bL,A.bl) +r(A.aE,A.bL) +r(A.b8,A.aE) +r(A.b9,A.b7) +r(A.bg,A.dw) +r(A.bq,A.by) +q(A.dV,[A.dS,A.b6]) +r(A.aP,A.cr) +r(A.bF,A.aP) +r(A.bG,A.bF) +r(A.bo,A.bG) +q(A.bo,[A.cq,A.cs,A.ay]) +r(A.bH,A.cX) +q(A.dj,[A.eb,A.ea,A.ey,A.dv,A.dt,A.dq,A.dr,A.ds,A.e0]) +q(A.ah,[A.c5,A.c_,A.cf]) +q(A.c5,[A.bW,A.cP]) +q(A.a_,[A.d3,A.c0,A.ci,A.ch,A.cR,A.cQ]) +r(A.bX,A.d3) +r(A.cg,A.bj) +r(A.ef,A.eg) +q(A.W,[A.a8,A.bf]) +r(A.cW,A.bM) +r(A.dx,A.dT) +q(A.dx,[A.dJ,A.e9,A.ec]) +q(A.al,[A.co,A.cn,A.bs,A.cj]) +r(A.cE,A.cF) +r(A.bu,A.cE) +s(A.aU,A.cM) +s(A.bP,A.p) +s(A.bF,A.p) +s(A.bG,A.c7) +s(A.bL,A.d5)})() +var v={typeUniverse:{eC:new Map(),tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{f:"int",l1:"double",ft:"num",e:"String",kX:"bool",bp:"Null",k:"List"},mangledNames:{},types:["v(e)","e(e)","K(e)","@(@)","~(@(e))","0^(0^,0^)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti")} +A.ka(v.typeUniverse,JSON.parse('{"cw":"aj","aT":"aj","ai":"aj","dn":"aj","cb":{"C":[]},"bi":{"C":[]},"o":{"k":["1"],"h":["1"]},"dA":{"o":["1"],"k":["1"],"h":["1"]},"bh":{"f":[],"C":[]},"cc":{"C":[]},"aw":{"e":[],"C":[]},"ao":{"c":["2"]},"ar":{"ao":["1","2"],"c":["2"],"c.E":"2"},"bD":{"ar":["1","2"],"ao":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"bC":{"p":["2"],"k":["2"],"ao":["1","2"],"h":["2"],"c":["2"]},"a4":{"bC":["1","2"],"p":["2"],"k":["2"],"ao":["1","2"],"h":["2"],"c":["2"],"c.E":"2","p.E":"2"},"as":{"I":["3","4"],"N":["3","4"],"I.V":"4","I.K":"3"},"bk":{"m":[]},"aL":{"p":["f"],"k":["f"],"h":["f"],"p.E":"f"},"h":{"c":["1"]},"H":{"h":["1"],"c":["1"]},"aC":{"H":["1"],"h":["1"],"c":["1"],"c.E":"1","H.E":"1"},"P":{"c":["2"],"c.E":"2"},"ba":{"P":["1","2"],"h":["2"],"c":["2"],"c.E":"2"},"j":{"H":["2"],"h":["2"],"c":["2"],"c.E":"2","H.E":"2"},"D":{"c":["1"],"c.E":"1"},"be":{"c":["2"],"c.E":"2"},"aD":{"c":["1"],"c.E":"1"},"bb":{"aD":["1"],"h":["1"],"c":["1"],"c.E":"1"},"a9":{"c":["1"],"c.E":"1"},"aM":{"a9":["1"],"h":["1"],"c":["1"],"c.E":"1"},"bt":{"c":["1"],"c.E":"1"},"bc":{"h":["1"],"c":["1"],"c.E":"1"},"bB":{"c":["1"],"c.E":"1"},"aU":{"p":["1"],"k":["1"],"h":["1"]},"aA":{"H":["1"],"h":["1"],"c":["1"],"c.E":"1","H.E":"1"},"aR":{"dU":[]},"b8":{"aE":["1","2"],"N":["1","2"]},"b7":{"N":["1","2"]},"b9":{"b7":["1","2"],"N":["1","2"]},"bE":{"c":["1"],"c.E":"1"},"bq":{"m":[]},"ce":{"m":[]},"cL":{"m":[]},"cu":{"bd":[]},"cV":{"m":[]},"cz":{"m":[]},"a5":{"I":["1","2"],"N":["1","2"],"I.V":"2","I.K":"1"},"a6":{"h":["1"],"c":["1"],"c.E":"1"},"aV":{"cy":[],"bn":[]},"cT":{"c":["cy"],"c.E":"cy"},"bw":{"bn":[]},"d1":{"c":["bn"],"c.E":"bn"},"cp":{"C":[]},"aP":{"aO":["1"]},"bo":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"]},"cq":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"cs":{"p":["f"],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"ay":{"p":["f"],"cJ":[],"aO":["f"],"k":["f"],"h":["f"],"C":[],"p.E":"f"},"cX":{"m":[]},"bH":{"m":[]},"aY":{"c":["1"],"c.E":"1"},"p":{"k":["1"],"h":["1"]},"I":{"N":["1","2"]},"bl":{"N":["1","2"]},"aE":{"N":["1","2"]},"cZ":{"I":["e","@"],"N":["e","@"],"I.V":"@","I.K":"e"},"d_":{"H":["e"],"h":["e"],"c":["e"],"c.E":"e","H.E":"e"},"bW":{"ah":["e","k"]},"d3":{"a_":["e","k"]},"bX":{"a_":["e","k"]},"c_":{"ah":["k","e"]},"c0":{"a_":["k","e"]},"c5":{"ah":["e","k"]},"bj":{"m":[]},"cg":{"m":[]},"cf":{"ah":["t?","e"]},"ci":{"a_":["t?","e"]},"ch":{"a_":["e","t?"]},"cP":{"ah":["e","k"]},"cR":{"a_":["e","k"]},"cQ":{"a_":["k","e"]},"k":{"h":["1"]},"cy":{"bn":[]},"bY":{"m":[]},"by":{"m":[]},"W":{"m":[]},"a8":{"m":[]},"bf":{"a8":[],"m":[]},"ct":{"m":[]},"cN":{"m":[]},"cK":{"m":[]},"aB":{"m":[]},"c2":{"m":[]},"cv":{"m":[]},"bv":{"m":[]},"aN":{"bd":[]},"bM":{"bz":[]},"V":{"bz":[]},"cW":{"bz":[]},"br":{"bd":[]},"bs":{"al":[]},"co":{"al":[]},"cn":{"al":[]},"bu":{"dR":[]},"cE":{"dR":[]},"cF":{"dR":[]},"ck":{"K":[]},"Y":{"v":[]},"cj":{"al":[]},"jk":{"k":["f"],"h":["f"]},"cJ":{"k":["f"],"h":["f"]},"jM":{"k":["f"],"h":["f"]}}')) +A.k9(v.typeUniverse,JSON.parse('{"b5":1,"a7":1,"bm":2,"bA":1,"c6":2,"cI":1,"cA":1,"cB":1,"c4":1,"c7":1,"cM":1,"aU":1,"bP":2,"d0":1,"cl":1,"aP":1,"d2":1,"d5":2,"bl":2,"bL":2}')) 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.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 t=(function rtii(){var s=A.eE +return{Z:s("b8"),X:s("h<@>"),C:s("m"),M:s("bd"),B:s("v"),c:s("lD"),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("bi"),g:s("ai"),D:s("aO<@>"),V:s("a5"),j:s("k<@>"),e:s("N"),f:s("N<@,@>"),L:s("P"),k:s("j"),r:s("j"),l:s("ay"),P:s("bp"),K:s("t"),G:s("a8"),W:s("lE"),d:s("cy"),n:s("aA"),E:s("bs"),q:s("cD"),u:s("dR"),N:s("e"),a:s("K"),v:s("C"),x:s("cJ"),cr:s("aT"),R:s("bz"),U:s("D"),ab:s("bB"),y:s("kX"),i:s("l1"),z:s("@"),S:s("f"),A:s("0&*"),_:s("t*"),bc:s("fN?"),aL:s("k<@>?"),Y:s("N<@,@>?"),ar:s("N?"),O:s("t?"),w:s("cC?"),aD:s("e?"),I:s("bz?"),H:s("ft")}})();(function constants(){var s=hunkHelpers.makeConstList +B.Q=J.c9.prototype +B.b=J.o.prototype +B.c=J.bh.prototype +B.R=J.cd.prototype +B.a=J.aw.prototype +B.S=J.ai.prototype +B.T=J.B.prototype +B.a_=A.ay.prototype +B.E=J.cw.prototype +B.m=J.aT.prototype +B.F=new A.bX(127) +B.j=new A.bg(A.lk(),A.eE("bg")) +B.G=new A.bW() +B.ad=new A.c0() +B.H=new A.c_() +B.r=new A.c4() +B.t=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); @@ -5281,7 +5419,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; @@ -5295,11 +5433,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) { @@ -5317,7 +5455,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; @@ -5334,7 +5472,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; @@ -5363,106 +5501,112 @@ C.K=function(hooks) { hooks.getTag = getTagIE; hooks.prototypeForTag = prototypeForTagIE; } -C.t=function(hooks) { return hooks; } +B.u=function(hooks) { return hooks; } -C.k=new P.ce() -C.N=new P.cw() -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.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 -$.hT=null -$.hP=null +B.k=new A.cf() +B.O=new A.cv() +B.l=new A.dM() +B.e=new A.cP() +B.P=new A.cR() +B.v=new A.ej() +B.U=new A.ch(null) +B.V=new A.ci(null) +B.w=A.b(s([0,0,24576,1023,65534,34815,65534,18431]),t.t) +B.x=A.b(s([0,0,26624,1023,65534,2047,65534,2047]),t.t) +B.W=A.b(s([0,0,32722,12287,65534,34815,65534,18431]),t.t) +B.X=A.b(s([0,0,32722,12287,65535,34815,65534,18431]),t.t) +B.y=A.b(s([0,0,65490,12287,65535,34815,65534,18431]),t.t) +B.z=A.b(s([0,0,32776,33792,1,10240,0,0]),t.t) +B.Y=A.b(s([0,0,32754,11263,65534,34815,65534,18431]),t.t) +B.A=A.b(s([]),t.s) +B.B=A.b(s([]),t.b) +B.Z=A.b(s([]),t.m) +B.h=A.b(s([0,0,65490,45055,65535,34815,65534,18431]),t.t) +B.C=A.b(s([0,0,27858,1023,65534,51199,65535,32767]),t.t) +B.a0={} +B.D=new A.b9(B.a0,[],A.eE("b9")) +B.a1=new A.aR("call") +B.a2=A.da("lz") +B.a3=A.da("jk") +B.a4=A.da("t") +B.a5=A.da("jM") +B.a6=A.da("cJ") +B.a7=new A.cQ(!1) +B.n=new A.aW("at root") +B.o=new A.aW("below root") +B.a8=new A.aW("reaches root") +B.p=new A.aW("above root") +B.d=new A.aX("different") +B.q=new A.aX("equal") +B.f=new A.aX("inconclusive") +B.i=new A.aX("within") +B.a9=new A.aZ(!1,!1,!1) +B.aa=new A.aZ(!1,!1,!0) +B.ab=new A.aZ(!1,!0,!1) +B.ac=new A.aZ(!0,!1,!1)})();(function staticFields(){$.ee=null +$.aI=A.b([],A.eE("o")) +$.h0=null +$.fJ=null +$.fI=null $.i2=null -$.eL=null -$.eR=null -$.fs=null -$.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($,"le","i9",function(){return H.a8(H.eg({$method$:null, -toString:function(){return"$receiver$"}}))}) -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={} +$.i_=null +$.ic=null +$.eD=null +$.eK=null +$.fq=null +$.hO=null +$.ex=null +$.fj=null})();(function lazyInitializers(){var s=hunkHelpers.lazyFinal +s($,"lA","fv",()=>A.l7("_$dart_dartClosure")) +s($,"lJ","ik",()=>A.aa(A.e5({ +toString:function(){return"$receiver$"}}))) +s($,"lK","il",()=>A.aa(A.e5({$method$:null, +toString:function(){return"$receiver$"}}))) +s($,"lL","im",()=>A.aa(A.e5(null))) +s($,"lM","io",()=>A.aa(function(){var $argumentsExpr$="$arguments$" +try{null.$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"lP","ir",()=>A.aa(A.e5(void 0))) +s($,"lQ","is",()=>A.aa(function(){var $argumentsExpr$="$arguments$" +try{(void 0).$method$($argumentsExpr$)}catch(r){return r.message}}())) +s($,"lO","iq",()=>A.aa(A.hc(null))) +s($,"lN","ip",()=>A.aa(function(){try{null.$method$}catch(r){return r.message}}())) +s($,"lS","iu",()=>A.aa(A.hc(void 0))) +s($,"lR","it",()=>A.aa(function(){try{(void 0).$method$}catch(r){return r.message}}())) +s($,"lT","iv",()=>new A.eb().$0()) +s($,"lU","iw",()=>new A.ea().$0()) +s($,"lV","ix",()=>new Int8Array(A.hP(A.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($,"lW","fx",()=>typeof process!="undefined"&&Object.prototype.toString.call(process)=="[object process]"&&process.platform=="win32") +s($,"lX","iy",()=>A.l("^[\\-\\.0-9A-Z_a-z~]*$",!1)) +s($,"mg","fy",()=>A.i8(B.a4)) +s($,"mi","iI",()=>A.kv()) +s($,"mw","iQ",()=>A.eV($.bU())) +s($,"mu","eR",()=>A.eV($.b3())) +s($,"mp","eQ",()=>new A.c3($.fw(),null)) +s($,"lG","ij",()=>new A.dJ(A.l("/",!1),A.l("[^/]$",!1),A.l("^/",!1))) +s($,"lI","bU",()=>new A.ec(A.l("[/\\\\]",!1),A.l("[^/\\\\]$",!1),A.l("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.l("^[/\\\\](?![/\\\\])",!1))) +s($,"lH","b3",()=>new A.e9(A.l("/",!1),A.l("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.l("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.l("^/",!1))) +s($,"lF","fw",()=>A.jD()) +s($,"m9","iA",()=>new A.ey().$0()) +s($,"mr","fz",()=>A.hK(A.ib(2,31))-1) +s($,"ms","fA",()=>-A.hK(A.ib(2,31))) +s($,"mo","iO",()=>A.l("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)) +s($,"mk","iK",()=>A.l("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)) +s($,"mn","iN",()=>A.l("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)) +s($,"mj","iJ",()=>A.l("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)) +s($,"ma","iB",()=>A.l("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)) +s($,"mc","iD",()=>A.l("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)) +s($,"me","iF",()=>A.l("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)) +s($,"m8","iz",()=>A.l("<(|[^>]+)_async_body>",!1)) +s($,"mh","iH",()=>A.l("^\\.",!1)) +s($,"lB","ih",()=>A.l("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)) +s($,"lC","ii",()=>A.l("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)) +s($,"ml","iL",()=>A.l("\\n ?at ",!1)) +s($,"mm","iM",()=>A.l(" ?at ",!1)) +s($,"mb","iC",()=>A.l("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)) +s($,"md","iE",()=>A.l("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)) +s($,"mf","iG",()=>A.l("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)) +s($,"mv","fB",()=>A.l("^\\n?$",!0)) +s($,"mt","iP",()=>J.iX(self.$dartLoader.rootDirectories,new A.eO(),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)} @@ -5473,17 +5617,18 @@ 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.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"})() +hunkHelpers.setOrUpdateInterceptorsByTag({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,GeolocationPositionError:J.B,SensorErrorEvent:J.B,SpeechRecognitionError:J.B,ArrayBuffer:A.cp,ArrayBufferView:A.cr,Int8Array:A.cq,Uint32Array:A.cs,Uint8Array:A.ay,DOMException:A.dp}) +hunkHelpers.setOrUpdateLeafTags({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,ArrayBuffer:true,ArrayBufferView:false,Int8Array:true,Uint32Array:true,Uint8Array:false,DOMException:true}) +A.aP.$nativeSuperclassTag="ArrayBufferView" +A.bF.$nativeSuperclassTag="ArrayBufferView" +A.bG.$nativeSuperclassTag="ArrayBufferView" +A.bo.$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.$2$0=function(){return this()} Function.prototype.$1$1=function(a){return this(a)} convertAllToFastObject(w) convertToFastObject($);(function(a){if(typeof document==="undefined"){a(null) @@ -5491,7 +5636,7 @@ 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 diff --git a/dev/packages/built_collection/src/internal/hash.dart.transitive_digest b/dev/packages/built_collection/src/internal/hash.dart.transitive_digest deleted file mode 100644 index a82588896..000000000 --- a/dev/packages/built_collection/src/internal/hash.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 2ee359e32..000000000 --- a/dev/packages/built_collection/src/set.dart.transitive_digest +++ /dev/null @@ -1,2 +0,0 @@ -浦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 deleted file mode 100644 index 66717cec4..000000000 --- a/dev/packages/built_value/built_value.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -: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 deleted file mode 100644 index 7c490cfa5f39353794d19c1a894c82a7ebd76571..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 Xcmd-mYBug+usW4qud$r_tUw_EF7*Y^ diff --git a/dev/packages/built_value/standard_json_plugin.dart.transitive_digest b/dev/packages/built_value/standard_json_plugin.dart.transitive_digest deleted file mode 100644 index 457f84424..000000000 --- a/dev/packages/built_value/standard_json_plugin.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -t:ͦ \ No newline at end of file diff --git a/dev/packages/collection/collection.dart.transitive_digest b/dev/packages/collection/collection.dart.transitive_digest deleted file mode 100644 index afdc7fe70b582c6d66354f910848f11a459cbf7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmWf!T4Qt|x%7g$#{veXG<`V$GVujz diff --git a/dev/packages/color/color.dart.transitive_digest b/dev/packages/color/color.dart.transitive_digest deleted file mode 100644 index b1507a62b..000000000 --- a/dev/packages/color/color.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ ->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 deleted file mode 100644 index 707f86d85..000000000 --- a/dev/packages/crypto/crypto.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -: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 deleted file mode 100644 index 5824d029e..000000000 --- a/dev/packages/dialog/dialog.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 02504b7a3..000000000 --- a/dev/packages/dnd/dnd.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index c354a9531..000000000 --- a/dev/packages/fixnum/fixnum.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 63c7206c0..000000000 --- a/dev/packages/pointycastle/block/aes.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index c1a0b0cef..000000000 --- a/dev/packages/pointycastle/digests/sha1.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ - 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 deleted file mode 100644 index 378068c84..000000000 --- a/dev/packages/pointycastle/export.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 817148ef7..000000000 --- a/dev/packages/pointycastle/macs/hmac.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index b8bfe61d5..000000000 --- a/dev/packages/pool/pool.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index f5ddbf628..000000000 --- a/dev/packages/pub_semver/pub_semver.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index d582daf27..000000000 --- a/dev/packages/quiver/collection.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 676b91106..000000000 --- a/dev/packages/quiver/core.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index a1c553773..000000000 --- a/dev/packages/quiver/iterables.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -##: 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 deleted file mode 100644 index 7edc6a4f4..000000000 --- a/dev/packages/react/hooks.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -,")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 deleted file mode 100644 index 6e16f3aaa..000000000 --- a/dev/packages/react/react.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 57e301ebdc41bb1480ec67cd8e80f7f862a36ea8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 YcmaFHBc5{FXB|W6m*PFsp4zYg06s$pW&i*H diff --git a/dev/packages/react/react_client/bridge.dart.transitive_digest b/dev/packages/react/react_client/bridge.dart.transitive_digest deleted file mode 100644 index 74f77adc0..000000000 --- a/dev/packages/react/react_client/bridge.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 773d996b3ddaddc4a0a857d7372b3d94008800cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 YcmbPb&b98&6{nxw%(e_%>t?+H06#egegFUf 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 deleted file mode 100644 index cebe6a3d4..000000000 --- a/dev/packages/react/react_client/js_backed_map.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index ad01cb8c0..000000000 --- a/dev/packages/react/react_client/js_interop_helpers.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 06482dbef..000000000 --- a/dev/packages/react/react_client/react_interop.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index c072c1971..000000000 --- a/dev/packages/react/react_dom.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -|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 deleted file mode 100644 index ea5673b10..000000000 --- a/dev/packages/react/react_test_utils.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 29e7eb4b9..000000000 --- a/dev/packages/redux/redux.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 81a713b45..000000000 --- a/dev/packages/redux_dev_tools/redux_dev_tools.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -|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 deleted file mode 100644 index c5d5add8d..000000000 --- a/dev/packages/source_span/source_span.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index f416399a5..000000000 --- a/dev/packages/spreadsheet_decoder/spreadsheet_decoder.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 24b6396fd..000000000 --- a/dev/packages/stack_trace/stack_trace.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -|=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 deleted file mode 100644 index aafd5dc8b..000000000 --- a/dev/packages/stream_channel/stream_channel.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index bcc02a1f5..000000000 --- a/dev/packages/string_scanner/string_scanner.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -ٽ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 deleted file mode 100644 index c9e5f1bee..000000000 --- a/dev/packages/term_glyph/term_glyph.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -J:Zy%xJ \ No newline at end of file diff --git a/dev/packages/test/dart.js b/dev/packages/test/dart.js index a3cc30286..3840ba785 100644 --- a/dev/packages/test/dart.js +++ b/dev/packages/test/dart.js @@ -12,7 +12,6 @@ window.onload = function() { // This mimics a MultiChannel-formatted message. var sendLoadException = function(message) { window.parent.postMessage({ - "href": window.location.href, "data": [0, {"type": "loadException", "message": message}], "exception": true, }, window.location.origin); 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 86173e408..fd3ef3835 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 (NullSafetyMode.sound, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 2.19.0-edge.e4643b54dfba2a4362e47874e742cdffa2892171. +// Generated by dart2js (NullSafetyMode.sound, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.2.0-228.0.dev. // The code supports the following hooks: // dartPrint(message): // if this function is defined it is called instead of the Dart [print] @@ -9,12 +9,14 @@ // directly. Instead, a closure that will invoke [main], and its arguments // [args] is passed to [dartMainRunner]. // -// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId): +// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority): // 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. The loadId argument is the deferred import that resulted in -// this uri being loaded. +// this uri being loaded. The loadPriority argument is the priority the +// library should be loaded with as specified in the code via the +// load-priority annotation (0: normal, 1: high). // // dartCallInstrumentation(id, qualifiedName): // if this function is defined, it will be called at each entry of a @@ -44,7 +46,7 @@ }; cls.prototype = {p: {}}; var object = new cls(); - if (!(object.__proto__ && object.__proto__.p === cls.prototype.p)) + if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p)) return false; try { if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) @@ -63,7 +65,7 @@ cls.prototype["$is" + cls.name] = cls; if (sup != null) { if (supportsDirectProtoAccess) { - cls.prototype.__proto__ = sup.prototype; + Object.setPrototypeOf(cls.prototype, sup.prototype); return; } var clsPrototype = Object.create(sup.prototype); @@ -234,88 +236,500 @@ typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } - var A = {JS_CONST: function JS_CONST() { + var J = { + makeDispatchRecord(interceptor, proto, extension, indexability) { + return {i: interceptor, p: proto, e: extension, x: indexability}; }, - LateError$fieldADI(fieldName) { - return new A.LateError("Field '" + fieldName + "' has been assigned during initialization."); + 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; }, - LateError$fieldNI(fieldName) { - return new A.LateError("Field '" + fieldName + "' has not been initialized."); + 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); }, - LateError$fieldAI(fieldName) { - return new A.LateError("Field '" + fieldName + "' has already been initialized."); + 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>")); }, - hexDigitValue(char) { - var letter, - digit = char ^ 48; - if (digit <= 9) - return digit; - letter = char | 32; - if (97 <= letter && letter <= 102) - return letter - 87; - return -1; + JSArray_JSArray$markFixed(allocation, $E) { + return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")), $E); }, - SystemHash_combine(hash, value) { - hash = hash + value & 536870911; - hash = hash + ((hash & 524287) << 10) & 536870911; - return hash ^ hash >>> 6; + JSArray_markFixedList(list, $T) { + list.fixed$length = Array; + return list; }, - SystemHash_finish(hash) { - hash = hash + ((hash & 67108863) << 3) & 536870911; - hash ^= hash >>> 11; - return hash + ((hash & 16383) << 15) & 536870911; + JSArray_markUnmodifiableList(list) { + list.fixed$length = Array; + list.immutable$list = Array; + return list; }, - checkNotNullable(value, $name, $T) { - return value; + 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; + } }, - SubListIterable$(_iterable, _start, _endOrLength, $E) { - A.RangeError_checkNotNegative(_start, "start"); - if (_endOrLength != null) { - A.RangeError_checkNotNegative(_endOrLength, "end"); - if (_start > _endOrLength) - A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); + JSString__skipLeadingWhitespace(string, index) { + var t1, codeUnit; + for (t1 = string.length; index < t1;) { + codeUnit = string.charCodeAt(index); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + ++index; } - return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>")); + return index; }, - 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>")); + JSString__skipTrailingWhitespace(string, index) { + var t1, index0, codeUnit; + for (t1 = string.length; index > 0; index = index0) { + index0 = index - 1; + if (!(index0 < t1)) + return A.ioore(string, index0); + codeUnit = string.charCodeAt(index0); + if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) + break; + } + return index; }, - 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>")); + 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 (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - IterableElementError_noElement() { - return new A.StateError("No element"); + getInterceptor$asx(receiver) { + if (typeof receiver == "string") + return J.JSString.prototype; + if (receiver == null) + return receiver; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - IterableElementError_tooFew() { - return new A.StateError("Too few elements"); + getInterceptor$ax(receiver) { + if (receiver == null) + return receiver; + if (Array.isArray(receiver)) + return J.JSArray.prototype; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - CastStream: function CastStream(t0, t1) { - this._source = t0; - this.$ti = t1; + 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; }, - CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { - var _ = this; - _._source = t0; - _.__internal$_zone = t1; - _._handleError = _._handleData = null; - _.$ti = t2; + 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; }, - LateError: function LateError(t0) { - this._message = t0; + getInterceptor$x(receiver) { + if (receiver == null) + return receiver; + if (typeof receiver != "object") { + if (typeof receiver == "function") + return J.JavaScriptFunction.prototype; + if (typeof receiver == "symbol") + return J.JavaScriptSymbol.prototype; + if (typeof receiver == "bigint") + return J.JavaScriptBigInt.prototype; + return receiver; + } + if (receiver instanceof A.Object) + return receiver; + return J.getNativeInterceptor(receiver); }, - CodeUnits: function CodeUnits(t0) { - this._string = t0; + getInterceptor$z(receiver) { + if (receiver == null) + return receiver; + if (!(receiver instanceof A.Object)) + return J.UnknownJavaScriptObject.prototype; + return receiver; }, - nullFuture_closure: function nullFuture_closure() { + get$hashCode$(receiver) { + return J.getInterceptor$(receiver).get$hashCode(receiver); }, - SentinelValue: function SentinelValue() { + get$isEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + }, + get$isNotEmpty$asx(receiver) { + return J.getInterceptor$asx(receiver).get$isNotEmpty(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); + }, + get$runtimeType$(receiver) { + return J.getInterceptor$(receiver).get$runtimeType(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 (Array.isArray(receiver) || 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); + }, + cancel$0$z(receiver) { + return J.getInterceptor$z(receiver).cancel$0(receiver); + }, + cast$1$0$ax(receiver, $T1) { + return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1); + }, + codeUnitAt$1$s(receiver, a0) { + return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + }, + contains$1$asx(receiver, a0) { + return J.getInterceptor$asx(receiver).contains$1(receiver, a0); + }, + containsKey$1$x(receiver, a0) { + return J.getInterceptor$x(receiver).containsKey$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); + }, + skip$1$ax(receiver, a0) { + return J.getInterceptor$ax(receiver).skip$1(receiver, a0); + }, + toInt$0$n(receiver) { + return J.getInterceptor$n(receiver).toInt$0(receiver); + }, + toList$0$ax(receiver) { + return J.getInterceptor$ax(receiver).toList$0(receiver); + }, + 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() { + }, + JavaScriptBigInt: function JavaScriptBigInt() { + }, + JavaScriptSymbol: function JavaScriptSymbol() { + }, + 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() { + } + }, + A = {JS_CONST: function JS_CONST() { + }, + CastIterable_CastIterable(source, $S, $T) { + if ($S._eval$1("EfficientLengthIterable<0>")._is(source)) + 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>")); + }, + hexDigitValue(char) { + var letter, + digit = char ^ 48; + if (digit <= 9) + return digit; + letter = char | 32; + if (97 <= letter && letter <= 102) + return letter - 87; + return -1; + }, + 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; + }, + isToStringVisiting(object) { + var t1, i; + for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i) + if (object === $.toStringVisiting[i]) + return true; + return false; + }, + SubListIterable$(_iterable, _start, _endOrLength, $E) { + A.RangeError_checkNotNegative(_start, "start"); + if (_endOrLength != null) { + A.RangeError_checkNotNegative(_endOrLength, "end"); + if (_start > _endOrLength) + A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null)); + } + 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>")); + }, + SkipIterable_SkipIterable(iterable, count, $E) { + var _s5_ = "count"; + if (type$.EfficientLengthIterable_dynamic._is(iterable)) { + A.ArgumentError_checkNotNull(count, _s5_, type$.int); + A.RangeError_checkNotNegative(count, _s5_); + return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<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() { + return new A.StateError("No element"); + }, + IterableElementError_tooFew() { + return new A.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; + }, + _CastIterableBase: function _CastIterableBase() { + }, + CastIterator: function CastIterator(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + CastIterable: function CastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + _CastListBase: function _CastListBase() { + }, + CastList: function CastList(t0, t1) { + this._source = t0; + this.$ti = t1; + }, + 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() { }, @@ -324,7 +738,7 @@ SubListIterable: function SubListIterable(t0, t1, t2, t3) { var _ = this; _.__internal$_iterable = t0; - _.__internal$_start = t1; + _._start = t1; _._endOrLength = t2; _.$ti = t3; }, @@ -396,6 +810,21 @@ this._remaining = t1; this.$ti = t2; }, + SkipIterable: function SkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) { + this.__internal$_iterable = t0; + this._skipCount = t1; + this.$ti = t2; + }, + SkipIterator: function SkipIterator(t0, t1, t2) { + this._iterator = t0; + this._skipCount = t1; + this.$ti = t2; + }, SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) { this.__internal$_iterable = t0; this._f = t1; @@ -408,6 +837,9 @@ _._hasSkipped = false; _.$ti = t2; }, + EmptyIterable: function EmptyIterable(t0) { + this.$ti = t0; + }, EmptyIterator: function EmptyIterator(t0) { this.$ti = t0; }, @@ -432,6 +864,8 @@ Symbol: function Symbol(t0) { this._name = t0; }, + __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { + }, ConstantMap__throwUnmodifiable() { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); }, @@ -501,7 +935,7 @@ maxCharCode = radix <= 10 ? 47 + radix : 86 + radix; digitsPart = match[1]; for (t1 = digitsPart.length, i = 0; i < t1; ++i) - if ((B.JSString_methods._codeUnitAt$1(digitsPart, i) | 32) > maxCharCode) + if ((digitsPart.charCodeAt(i) | 32) > maxCharCode) return _null; } return parseInt(source, radix); @@ -527,6 +961,15 @@ } return A._rtiToString(A.instanceType(object), null); }, + Primitives_safeToString(object) { + if (typeof object == "number" || A._isBool(object)) + return J.toString$0$(object); + if (typeof object == "string") + return JSON.stringify(object); + if (object instanceof A.Closure) + return object.toString$0(0); + return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; + }, Primitives_currentUri() { if (!!self.location) return self.location.href; @@ -599,7 +1042,7 @@ }, 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(receiver) { @@ -754,7 +1197,7 @@ 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.IndexError$withLength(index, $length, indexable, _s5_); return A.RangeError$value(index, _s5_); }, diagnoseRangeError(start, end, $length) { @@ -769,10 +1212,12 @@ return new A.ArgumentError(true, object, null, null); }, wrapException(ex) { - var wrapper, t1; + return A.initializeExceptionWrapper(new Error(), ex); + }, + initializeExceptionWrapper(wrapper, ex) { + var t1; if (ex == null) - ex = new A.NullThrownError(); - wrapper = new Error(); + ex = new A.TypeError(); wrapper.dartException = ex; t1 = A.toStringWrapper; if ("defineProperty" in Object) { @@ -788,6 +1233,9 @@ throwExpression(ex) { throw A.wrapException(ex); }, + throwExpressionWithWrapper(ex, wrapper) { + throw A.initializeExceptionWrapper(wrapper, ex); + }, throwConcurrentModificationError(collection) { throw A.wrapException(A.ConcurrentModificationError$(collection)); }, @@ -829,13 +1277,8 @@ return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver); }, unwrapException(ex) { - var t1; if (ex == null) 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) @@ -849,7 +1292,7 @@ return error; }, _unwrapNonDartException(ex) { - var message, number, ieErrorCode, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; + var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match; if (!("message" in ex)) return ex; message = ex.message; @@ -859,11 +1302,11 @@ if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10) switch (ieErrorCode) { case 438: - return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", _null)); + return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null)); case 445: case 5007: - t1 = A.S(message); - return A.saveStackTrace(ex, new A.NullError(t1 + " (Error " + ieErrorCode + ")", _null)); + A.S(message); + return A.saveStackTrace(ex, new A.NullError()); } } if (ex instanceof TypeError) { @@ -885,41 +1328,9 @@ if (match != null) { match.method = "call"; return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A._asString(message), match)); - } else { - match = nullCall.matchTypeError$1(message); - if (match == null) { - match = nullLiteralCall.matchTypeError$1(message); - if (match == null) { - match = undefCall.matchTypeError$1(message); - if (match == null) { - match = undefLiteralCall.matchTypeError$1(message); - if (match == null) { - match = nullProperty.matchTypeError$1(message); - if (match == null) { - match = nullLiteralCall.matchTypeError$1(message); - if (match == null) { - match = undefProperty.matchTypeError$1(message); - if (match == null) { - match = undefLiteralProperty.matchTypeError$1(message); - t1 = match != null; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - } else - t1 = true; - if (t1) { - A._asString(message); - return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); - } + } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null) { + A._asString(message); + return A.saveStackTrace(ex, new A.NullError()); } } return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : "")); @@ -934,7 +1345,7 @@ } return null; }(ex); - return A.saveStackTrace(ex, new A.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") @@ -943,20 +1354,22 @@ }, getTraceFromException(exception) { var trace; - if (exception instanceof A.ExceptionAndStackTrace) - return exception.stackTrace; if (exception == null) return new A._StackTrace(exception); trace = exception.$cachedTrace; if (trace != null) return trace; - return exception.$cachedTrace = new A._StackTrace(exception); + trace = new A._StackTrace(exception); + if (typeof exception === "object") + exception.$cachedTrace = trace; + return trace; }, objectHashCode(object) { - if (object == null || typeof object != "object") + if (object == null) return J.get$hashCode$(object); - else + if (typeof object == "object") return A.Primitives_objectHashCode(object); + return J.get$hashCode$(object); }, fillLiteralMap(keyValuePairs, result) { var index, index0, index1, @@ -968,7 +1381,7 @@ } return result; }, - invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { + _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) { type$.Function._as(closure); switch (A._asInt(numberOfArguments)) { case 0: @@ -985,32 +1398,54 @@ throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure")); }, convertDartClosureToJS(closure, arity) { - var $function; - if (closure == null) - return null; - $function = closure.$identity; + var $function = closure.$identity; if (!!$function) return $function; - $function = function(closure, arity, invoke) { - return function(a1, a2, a3, a4) { - return invoke(closure, arity, a1, a2, a3, a4); - }; - }(closure, arity, A.invokeClosure); + $function = A.convertDartClosureToJSUncached(closure, arity); closure.$identity = $function; return $function; }, - 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], + convertDartClosureToJSUncached(closure, arity) { + var entry; + switch (arity) { + case 0: + entry = closure.call$0; + break; + case 1: + entry = closure.call$1; + break; + case 2: + entry = closure.call$2; + break; + case 3: + entry = closure.call$3; + break; + case 4: + entry = closure.call$4; + break; + default: + entry = null; + } + if (entry != null) + return entry.bind(closure); + return function(closure, arity, invoke) { + return function(a1, a2, a3, a4) { + return invoke(closure, arity, a1, a2, a3, a4); + }; + }(closure, arity, A._invokeClosure); + }, + 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); @@ -1221,7 +1656,7 @@ throw A.wrapException(new A._AssertionError(message)); }, throwCyclicInit(staticName) { - throw A.wrapException(new A.CyclicInitializationError(staticName)); + throw A.wrapException(new A._CyclicInitializationError(staticName)); }, getIsolateAffinityTag($name) { return init.getIsolateTag($name); @@ -1350,7 +1785,7 @@ transformers = dartNativeDispatchHooksTransformer; if (typeof transformers == "function") transformers = [transformers]; - if (transformers.constructor == Array) + if (Array.isArray(transformers)) for (i = 0; i < transformers.length; ++i) { transformer = transformers[i]; if (typeof transformer == "function") @@ -1367,6 +1802,17 @@ applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, + createRecordTypePredicate(shape, fieldRtis) { + var $length = fieldRtis.length, + $function = init.rttc["" + $length + ";" + shape]; + if ($function == null) + return null; + if ($length === 0) + return $function; + if ($length === $function.length) + return $function.apply(null, fieldRtis); + return $function(fieldRtis); + }, JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) { var m = multiLine ? "m" : "", i = caseSensitive ? "" : "i", @@ -1434,7 +1880,7 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, stringReplaceAllUncheckedString(receiver, pattern, replacement) { - var $length, t1, i, index; + var $length, t1, i; if (pattern === "") { if (receiver === "") return replacement; @@ -1444,8 +1890,7 @@ t1 = t1 + receiver[i] + replacement; return t1.charCodeAt(0) == 0 ? t1 : t1; } - index = receiver.indexOf(pattern, 0); - if (index < 0) + if (receiver.indexOf(pattern, 0) < 0) return receiver; if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) return receiver.split(pattern).join(replacement); @@ -1477,17 +1922,23 @@ }, ConstantMap: function ConstantMap() { }, - ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { - var _ = this; - _._length = t0; - _._jsObject = t1; - _.__js_helper$_keys = t2; - _.$ti = t3; + ConstantStringMap: function ConstantStringMap(t0, t1, t2) { + this._jsIndex = t0; + this._values = t1; + this.$ti = t2; }, - _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) { - this._map = t0; + _KeysOrValues: function _KeysOrValues(t0, t1) { + this._elements = t0; this.$ti = t1; }, + _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) { + var _ = this; + _._elements = t0; + _._length = t1; + _.__js_helper$_index = 0; + _.__js_helper$_current = null; + _.$ti = t2; + }, Instantiation: function Instantiation() { }, Instantiation1: function Instantiation1(t0, t1) { @@ -1516,9 +1967,7 @@ _._method = t4; _._receiver = t5; }, - NullError: function NullError(t0, t1) { - this.__js_helper$_message = t0; - this._method = t1; + NullError: function NullError() { }, JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { this.__js_helper$_message = t0; @@ -1531,10 +1980,6 @@ NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) { this._irritant = t0; }, - ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) { - this.dartException = t0; - this.stackTrace = t1; - }, _StackTrace: function _StackTrace(t0) { this._exception = t0; this._trace = null; @@ -1553,6 +1998,9 @@ this._receiver = t0; this._interceptor = t1; }, + _CyclicInitializationError: function _CyclicInitializationError(t0) { + this.variableName = t0; + }, RuntimeError: function RuntimeError(t0) { this.message = t0; }, @@ -1609,7 +2057,7 @@ _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) { this._re = t0; this.__js_helper$_string = t1; - this._start = t2; + this.__js_helper$_start = t2; }, _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) { var _ = this; @@ -1635,21 +2083,30 @@ _.__js_helper$_current = null; }, throwLateFieldNI(fieldName) { - return A.throwExpression(A.LateError$fieldNI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has not been initialized."), new Error()); }, throwLateFieldAI(fieldName) { - return A.throwExpression(A.LateError$fieldAI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has already been initialized."), new Error()); }, throwLateFieldADI(fieldName) { - return A.throwExpression(A.LateError$fieldADI(fieldName)); + A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + string$.x27_has_), new Error()); }, _Cell$named(_name) { var t1 = new A._Cell(_name); - return t1.__late_helper$_value = t1; + return t1._value = t1; + }, + _InitializedCell$named(_name, _initializer) { + var t1 = new A._InitializedCell(_name, _initializer); + return t1._value = t1; }, _Cell: function _Cell(t0) { this.__late_helper$_name = t0; - this.__late_helper$_value = null; + this._value = null; + }, + _InitializedCell: function _InitializedCell(t0, t1) { + this.__late_helper$_name = t0; + this._value = null; + this._initializer = t1; }, _ensureNativeList(list) { return list; @@ -1671,14 +2128,22 @@ throw A.wrapException(A.diagnoseRangeError(start, end, $length)); return end; }, + NativeByteBuffer: function NativeByteBuffer() { + }, NativeTypedData: function NativeTypedData() { }, + NativeByteData: function NativeByteData() { + }, NativeTypedArray: function NativeTypedArray() { }, NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() { }, NativeTypedArrayOfInt: function NativeTypedArrayOfInt() { }, + NativeFloat32List: function NativeFloat32List() { + }, + NativeFloat64List: function NativeFloat64List() { + }, NativeInt16List: function NativeInt16List() { }, NativeInt32List: function NativeInt32List() { @@ -1709,11 +2174,17 @@ var future = rti._precomputed1; return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future; }, + Rti__getIsSubtypeCache(rti) { + var probe = rti._isSubtypeCache; + if (probe != null) + return probe; + return rti._isSubtypeCache = new Map(); + }, 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; + return kind === 12 || kind === 13; }, Rti__getCanonicalRecipe(rti) { return rti._canonicalRecipe; @@ -1779,7 +2250,7 @@ if (substitutedBase === base && substitutedArguments === $arguments) return rti; return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments); - case 11: + case 12: returnType = rti._primary; substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth); functionParameters = rti._rest; @@ -1787,7 +2258,7 @@ if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters) return rti; return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters); - case 12: + case 13: bounds = rti._rest; depth += bounds.length; substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth); @@ -1796,7 +2267,7 @@ if (substitutedBounds === bounds && substitutedBase === base) return rti; return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true); - case 13: + case 14: index = rti._primary; if (index < depth) return rti; @@ -1857,11 +2328,13 @@ return target; }, closureFunctionType(closure) { - var signature = closure.$signature; + var t1, + signature = closure.$signature; if (signature != null) { if (typeof signature == "number") return A.getTypeFromTypesTable(signature); - return closure.$signature(); + t1 = closure.$signature(); + return t1; } return null; }, @@ -1876,11 +2349,8 @@ return A.instanceType(object); }, instanceType(object) { - var rti; - if (object instanceof A.Object) { - rti = object.$ti; - return rti != null ? rti : A._instanceTypeFromConstructor(object); - } + if (object instanceof A.Object) + return A._instanceType(object); if (Array.isArray(object)) return A._arrayInstanceType(object); return A._instanceTypeFromConstructor(J.getInterceptor$(object)); @@ -1906,7 +2376,7 @@ return A._instanceTypeFromConstructorMiss(instance, $constructor); }, _instanceTypeFromConstructorMiss(instance, $constructor) { - var effectiveConstructor = instance instanceof A.Closure ? instance.__proto__.__proto__.constructor : $constructor, + var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor, rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name); $constructor.$ccache = rti; return rti; @@ -1922,28 +2392,42 @@ } return type; }, - getRuntimeType(object) { - var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null; - return A.createRuntimeType(rti == null ? A.instanceType(object) : rti); + getRuntimeTypeOfDartObject(object) { + return A.createRuntimeType(A._instanceType(object)); + }, + getRuntimeTypeOfClosure(closure) { + var rti = A.closureFunctionType(closure); + return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti); + }, + _structuralTypeOf(object) { + var functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null; + if (functionRti != null) + return functionRti; + if (type$.TrustedGetRuntimeType._is(object)) + return J.get$runtimeType$(object)._rti; + if (Array.isArray(object)) + return A._arrayInstanceType(object); + return A.instanceType(object); }, createRuntimeType(rti) { - var recipe, starErasedRecipe, starErasedRti, - type = rti._cachedRuntimeType; - if (type != null) - return type; - recipe = rti._canonicalRecipe; - starErasedRecipe = recipe.replace(/\*/g, ""); - if (starErasedRecipe === recipe) + var t1 = rti._cachedRuntimeType; + return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1; + }, + _createRuntimeType(rti) { + var starErasedRti, t1, + 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 A._Type(starErasedRti) : type; + t1 = starErasedRti._cachedRuntimeType; + return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1; }, typeLiteral(recipe) { return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, _installSpecializedIsTest(object) { - var t1, unstarred, isFn, $name, testRti = this; + var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this; if (testRti === type$.Object) return A._finishIsFn(testRti, object, A._isObject); if (!A.isStrongTopType(testRti)) @@ -1956,7 +2440,14 @@ if (t1) return A._finishIsFn(testRti, object, A._isTop); t1 = testRti._kind; + if (t1 === 7) + return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); + if (t1 === 1) + return A._finishIsFn(testRti, object, A._isNever); unstarred = t1 === 6 ? testRti._primary : testRti; + unstarredKind = unstarred._kind; + if (unstarredKind === 8) + return A._finishIsFn(testRti, object, A._isFutureOr); if (unstarred === type$.int) isFn = A._isInt; else if (unstarred === type$.double || unstarred === type$.num) @@ -1967,7 +2458,7 @@ isFn = unstarred === type$.bool ? A._isBool : null; if (isFn != null) return A._finishIsFn(testRti, object, isFn); - if (unstarred._kind === 9) { + if (unstarredKind === 9) { $name = unstarred._primary; if (unstarred._rest.every(A.isTopType)) { testRti._specializedTestResource = "$is" + $name; @@ -1975,8 +2466,10 @@ 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); + } else if (unstarredKind === 11) { + predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest); + return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate); + } return A._finishIsFn(testRti, object, A._generalIsTestImplementation); }, _finishIsFn(testRti, object, isFn) { @@ -2012,7 +2505,10 @@ 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; + 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 @@ -2027,7 +2523,7 @@ var testRti = this; if (object == null) return A._nullIs(testRti); - return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null); + return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti); }, _generalNullableIsTestImplementation(object) { if (object == null) @@ -2075,23 +2571,26 @@ A._failedAsCheck(object, testRti); }, _failedAsCheck(object, testRti) { - throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null)))); + throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null)))); }, checkTypeBound(type, bound, variable, methodName) { - var _null = null; - if (A._isSubtype(init.typeUniverse, type, _null, bound, _null)) + if (A.isSubtype(init.typeUniverse, type, bound)) 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 + "'.")); + 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 + "'.")); }, - _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 + "'"; + _Error_compose(object, checkedTypeDescription) { + return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'"; }, _TypeError$fromMessage(message) { return new A._TypeError("TypeError: " + message); }, _TypeError__TypeError$forType(object, type) { - return new A._TypeError("TypeError: " + A._Error_compose(object, null, type)); + return new A._TypeError("TypeError: " + A._Error_compose(object, type)); + }, + _isFutureOr(object) { + var testRti = this, + unstarred = testRti._kind === 6 ? testRti._primary : testRti; + return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object); }, _isObject(object) { return object != null; @@ -2107,6 +2606,9 @@ _asTop(object) { return object; }, + _isNever(object) { + return false; + }, _isBool(object) { return true === object || false === object; }, @@ -2226,6 +2728,26 @@ s += sep + A._rtiToString(array[i], genericContext); return s; }, + _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 += 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, typeParametersText, typeSep, t3, t4, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", "; if (bounds != null) { @@ -2315,7 +2837,7 @@ questionArgument = rti._primary; s = A._rtiToString(questionArgument, genericContext); argumentKind = questionArgument._kind; - return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?"; + return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?"; } if (kind === 8) return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">"; @@ -2325,10 +2847,12 @@ return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name; } if (kind === 11) - return A._functionRtiToString(rti, genericContext, null); + return A._recordRtiToString(rti, genericContext); if (kind === 12) + return A._functionRtiToString(rti, genericContext, null); + if (kind === 13) return A._functionRtiToString(rti._primary, genericContext, rti._rest); - if (kind === 13) { + if (kind === 14) { t1 = rti._primary; t2 = genericContext.length; t1 = t2 - 1 - t1; @@ -2536,7 +3060,7 @@ if (probe != null) return probe; rti = new A.Rti(null, null); - rti._kind = 13; + rti._kind = 14; rti._primary = index; rti._canonicalRecipe = key; t1 = A._Universe__installTypeTests(universe, rti); @@ -2601,6 +3125,21 @@ 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(universe, returnType, parameters) { var sep, key, probe, rti, t1, s = returnType._canonicalRecipe, @@ -2624,7 +3163,7 @@ if (probe != null) return probe; rti = new A.Rti(null, null); - rti._kind = 11; + rti._kind = 12; rti._primary = returnType; rti._rest = parameters; rti._canonicalRecipe = key; @@ -2661,7 +3200,7 @@ } } rti = new A.Rti(null, null); - rti._kind = 12; + rti._kind = 13; rti._primary = baseFunctionType; rti._rest = bounds; rti._canonicalRecipe = key; @@ -2671,14 +3210,14 @@ 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, + var t2, i, ch, t3, array, end, 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) + else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124) i = A._Parser_handleIdentifier(parser, i, source, t1, false); else if (ch === 46) i = A._Parser_handleIdentifier(parser, i, source, t1, true); @@ -2713,24 +3252,7 @@ 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; - } - } + A._Parser_handleTypeArguments(parser, t1); break; case 38: A._Parser_handleExtendedOperations(parser, t1); @@ -2748,36 +3270,12 @@ t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n)); break; case 40: + t1.push(-3); 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)); + A._Parser_handleArguments(parser, t1); break; case 91: t1.push(parser.p); @@ -2801,6 +3299,14 @@ t1.push(array); t1.push(-2); break; + case 43: + end = source.indexOf("(", i); + t1.push(source.substring(i, end)); + t1.push(-4); + t1.push(parser.p); + parser.p = t1.length; + i = end + 1; + break; default: throw "Bad character " + ch; } @@ -2831,7 +3337,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; @@ -2853,6 +3359,73 @@ stack.push(string); return i; }, + _Parser_handleTypeArguments(parser, stack) { + var base, + t1 = parser.u, + $arguments = A._Parser_collectArray(parser, stack), + head = stack.pop(); + if (typeof head == "string") + stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments)); + else { + base = A._Parser_toType(t1, parser.e, head); + switch (base._kind) { + case 12: + stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n)); + break; + default: + stack.push(A._Universe__lookupBindingRti(t1, base, $arguments)); + break; + } + } + }, + _Parser_handleArguments(parser, stack) { + var optionalPositional, named, requiredPositional, returnType, parameters, _null = null, + t1 = 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 = t1.sEA; + if (named == null) + named = t1.sEA; + returnType = A._Parser_toType(t1, parser.e, head); + parameters = new A._FunctionParameters(); + parameters._requiredPositional = requiredPositional; + parameters._optionalPositional = optionalPositional; + parameters._named = named; + stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters)); + return; + case -4: + stack.push(A._Universe__lookupRecordRti(t1, 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) { @@ -2865,6 +3438,12 @@ } 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(universe, environment, item) { if (typeof item == "string") return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); @@ -2908,8 +3487,18 @@ return typeArguments[index - 1]; throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0))); }, + isSubtype(universe, s, t) { + var result, + sCache = A.Rti__getIsSubtypeCache(s), + probe = sCache.get(t); + if (probe != null) + return probe; + result = A._isSubtype(universe, s, null, t, null); + sCache.set(t, result); + return result; + }, _isSubtype(universe, s, sEnv, t, tEnv) { - var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound; + var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound; if (s === t) return true; if (!A.isStrongTopType(t)) @@ -2932,7 +3521,7 @@ t1 = true; if (t1) return true; - leftTypeVariable = sKind === 13; + leftTypeVariable = sKind === 14; if (leftTypeVariable) if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) return true; @@ -2976,13 +3565,16 @@ } 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) { + t2 = sKind === 11; + if (t2 && t === type$.Record) + return true; + if (tKind === 13) { if (s === type$.JavaScriptFunction) return true; - if (sKind !== 12) + if (sKind !== 13) return false; sBounds = s._rest; tBounds = t._rest; @@ -2999,7 +3591,7 @@ } return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); } - if (tKind === 11) { + if (tKind === 12) { if (s === type$.JavaScriptFunction) return true; if (t1) @@ -3011,6 +3603,8 @@ return false; return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); } + if (t2 && tKind === 11) + return A._isRecordSubtype(universe, s, sEnv, t, tEnv); return false; }, _isFunctionSubtype(universe, s, sEnv, t, tEnv) { @@ -3118,6 +3712,20 @@ } 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; + if (s._primary !== t._primary) + return false; + for (i = 0; i < sCount; ++i) + if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv)) + return false; + return true; + }, isNullable(t) { var t1, kind = t._kind; @@ -3167,7 +3775,7 @@ var _ = this; _._as = t0; _._is = t1; - _._cachedRuntimeType = _._specializedTestResource = _._precomputed1 = null; + _._cachedRuntimeType = _._specializedTestResource = _._unsoundIsSubtypeCache = _._isSubtypeCache = _._precomputed1 = null; _._kind = 0; _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; }, @@ -3223,56 +3831,6 @@ t1._TimerImpl$periodic$2(milliseconds, callback); return t1; }, - _makeAsyncAwaitCompleter($T) { - return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>")); - }, - _asyncStartSync(bodyFunction, completer) { - bodyFunction.call$2(0, null); - completer.isSync = true; - 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 { - 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) { - 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); - }, AsyncError$(error, stackTrace) { var t1 = A.checkNotNullable(error, "error", type$.Object); return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); @@ -3287,14 +3845,13 @@ return B._StringStackTrace_3uE; }, Future_Future$value(value, $T) { - var t1, t2; + var t1; $T._as(value); - t1 = value; - t2 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); - t2._asyncComplete$1(t1); - return t2; + t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); + t1._asyncComplete$1(value); + return t1; }, - _Future__chainCoreFuture(source, target) { + _Future__chainCoreFutureSync(source, target) { var t1, t2, listeners; for (t1 = type$._Future_dynamic; t2 = source._async$_state, (t2 & 4) !== 0;) source = t1._as(source._resultOrListeners); @@ -3304,11 +3861,30 @@ A._Future__propagateToListeners(target, listeners); } else { listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); - target._async$_state = target._async$_state & 1 | 4; - target._resultOrListeners = source; + target._setChained$1(source); source._prependListeners$1(listeners); } }, + _Future__chainCoreFutureAsync(source, target) { + var t2, t3, listeners, _box_0 = {}, + t1 = _box_0.source = source; + for (t2 = type$._Future_dynamic; t3 = t1._async$_state, (t3 & 4) !== 0; t1 = source) { + source = t2._as(t1._resultOrListeners); + _box_0.source = source; + } + if ((t3 & 24) === 0) { + listeners = type$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners); + target._setChained$1(t1); + _box_0.source._prependListeners$1(listeners); + return; + } + if ((t3 & 16) === 0 && target._resultOrListeners == null) { + target._cloneResult$1(t1); + return; + } + target._async$_state ^= 2; + target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target)); + }, _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; @@ -3370,7 +3946,7 @@ if (oldZone != null) $.Zone__current = oldZone; t1 = _box_0.listenerValueOrError; - if (t4._is(t1)) { + if (t1 instanceof A._Future) { t5 = _box_0.listener.$ti; t5 = t5._eval$1("Future<2>")._is(t1) || !t5._rest[1]._is(t1); } else @@ -3387,7 +3963,7 @@ _box_1.source = t1; continue; } else - A._Future__chainCoreFuture(t1, result); + A._Future__chainCoreFutureSync(t1, result); return; } } @@ -3488,10 +4064,6 @@ t1 = $.Zone__current; t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback)); }, - StreamIterator_StreamIterator(stream, $T) { - A.checkNotNullable(stream, "stream", type$.Object); - return new A._StreamIterator($T._eval$1("_StreamIterator<0>")); - }, StreamController_StreamController(onCancel, onListen, sync, $T) { return new A._SyncStreamController(onListen, null, null, onCancel, $T._eval$1("_SyncStreamController<0>")); }, @@ -3638,18 +4210,13 @@ return A.Timer__createPeriodicTimer(duration, B.C__RootZone !== zone ? zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer) : callback); }, _rootPrint($self, $parent, zone, line) { - A.printString(A._asString(line)); - }, - _printToZone(line) { - $.Zone__current.print$1(0, line); + A.printString(A.S(A._asString(line))); }, _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(); - 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) @@ -3704,20 +4271,6 @@ _.start = t2; _.callback = t3; }, - _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) { - this._future = t0; - this.isSync = false; - this.$ti = t1; - }, - _awaitOnObject_closure: function _awaitOnObject_closure(t0) { - this.bodyFunction = t0; - }, - _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) { - this.bodyFunction = t0; - }, - _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) { - this.$protected = t0; - }, AsyncError: function AsyncError(t0, t1) { this.error = t0; this.stackTrace = t1; @@ -3767,11 +4320,11 @@ this.e = t1; this.s = t2; }, - _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { - this.$this = t0; - this.value = t1; + _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) { + this._box_0 = t0; + this.target = t1; }, - _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) { + _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { this.$this = t0; this.value = t1; }, @@ -3813,8 +4366,6 @@ this._box_0 = t0; this.future = t1; }, - StreamTransformerBase: function StreamTransformerBase() { - }, _StreamController: function _StreamController() { }, _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) { @@ -3894,15 +4445,12 @@ this.$this = t0; this.dispatch = t1; }, - _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { + _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1) { var _ = this; + _._async$_state = 1; _._zone = t0; - _._async$_state = 0; - _._onDone = t1; - _.$ti = t2; - }, - _StreamIterator: function _StreamIterator(t0) { - this.$ti = t0; + _._onDone = null; + _.$ti = t1; }, _EmptyStream: function _EmptyStream(t0) { this.$ti = t0; @@ -4038,155 +4586,35 @@ delete table[""]; return table; }, - IterableBase_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { - var parts, t1; - if (A._isToStringVisiting(iterable)) { - if (leftDelimiter === "(" && rightDelimiter === ")") - return "(...)"; - return leftDelimiter + "..." + rightDelimiter; - } - parts = A._setArrayType([], type$.JSArray_String); - B.JSArray_methods.add$1($._toStringVisiting, iterable); - try { - A._iterablePartsToStrings(iterable, parts); - } finally { - if (0 >= $._toStringVisiting.length) - return A.ioore($._toStringVisiting, -1); - $._toStringVisiting.pop(); - } - t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; - return t1.charCodeAt(0) == 0 ? t1 : t1; + _LinkedHashSetIterator$(_set, _modifications, $E) { + var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>")); + t1._collection$_cell = _set._collection$_first; + return t1; }, - IterableBase_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { - var buffer, t1; - if (A._isToStringVisiting(iterable)) - return leftDelimiter + "..." + rightDelimiter; - buffer = new A.StringBuffer(leftDelimiter); - B.JSArray_methods.add$1($._toStringVisiting, iterable); + MapBase_mapToString(m) { + var result, t1 = {}; + if (A.isToStringVisiting(m)) + return "{...}"; + result = new A.StringBuffer(""); try { - t1 = buffer; - t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); + B.JSArray_methods.add$1($.toStringVisiting, m); + result._contents += "{"; + t1.first = true; + J.forEach$1$x(m, new A.MapBase_mapToString_closure(t1, result)); + result._contents += "}"; } finally { - if (0 >= $._toStringVisiting.length) - return A.ioore($._toStringVisiting, -1); - $._toStringVisiting.pop(); + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); } - buffer._contents += rightDelimiter; - t1 = buffer._contents; + t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, - _isToStringVisiting(o) { - var t1, i; - for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) - if (o === $._toStringVisiting[i]) - return true; - return false; - }, - _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 = A.S(it.get$current(it)); - B.JSArray_methods.add$1(parts, next); - $length += next.length + 2; - ++count; - } - if (!it.moveNext$0()) { - if (count <= 5) - return; - if (0 >= parts.length) - return A.ioore(parts, -1); - ultimateString = parts.pop(); - if (0 >= parts.length) - return A.ioore(parts, -1); - penultimateString = parts.pop(); - } else { - penultimate = it.get$current(it); - ++count; - if (!it.moveNext$0()) { - if (count <= 4) { - B.JSArray_methods.add$1(parts, A.S(penultimate)); - return; - } - ultimateString = A.S(penultimate); - if (0 >= parts.length) - return A.ioore(parts, -1); - penultimateString = parts.pop(); - $length += ultimateString.length + 2; - } else { - ultimate = it.get$current(it); - ++count; - for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { - ultimate0 = it.get$current(it); - ++count; - if (count > 100) { - while (true) { - if (!($length > 75 && count > 3)) - break; - if (0 >= parts.length) - return A.ioore(parts, -1); - $length -= parts.pop().length + 2; - --count; - } - B.JSArray_methods.add$1(parts, "..."); - return; - } - } - penultimateString = A.S(penultimate); - ultimateString = A.S(ultimate); - $length += ultimateString.length + penultimateString.length + 4; - } - } - if (count > parts.length + 2) { - $length += 5; - elision = "..."; - } else - elision = null; - while (true) { - if (!($length > 80 && parts.length > 3)) - break; - if (0 >= parts.length) - return A.ioore(parts, -1); - $length -= parts.pop().length + 2; - if (elision == null) { - $length += 5; - elision = "..."; - } - } - if (elision != null) - 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 A.StringBuffer(""); - try { - B.JSArray_methods.add$1($._toStringVisiting, m); - result._contents += "{"; - t1.first = true; - J.forEach$1$x(m, new A.MapBase_mapToString_closure(t1, result)); - result._contents += "}"; - } finally { - if (0 >= $._toStringVisiting.length) - return A.ioore($._toStringVisiting, -1); - $._toStringVisiting.pop(); - } - t1 = result._contents; - return t1.charCodeAt(0) == 0 ? t1 : t1; - }, - _HashMap: function _HashMap(t0) { - var _ = this; - _._collection$_length = 0; - _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; - _.$ti = t0; + _HashMap: function _HashMap(t0) { + var _ = this; + _._collection$_length = 0; + _._keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; + _.$ti = t0; }, _IdentityHashMap: function _IdentityHashMap(t0) { var _ = this; @@ -4224,20 +4652,14 @@ _._collection$_current = _._collection$_cell = null; _.$ti = t2; }, - IterableBase: function IterableBase() { - }, ListBase: function ListBase() { }, - ListMixin: function ListMixin() { - }, MapBase: function MapBase() { }, MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { this._box_0 = t0; this.result = t1; }, - MapMixin: function MapMixin() { - }, _UnmodifiableMapMixin: function _UnmodifiableMapMixin() { }, MapView: function MapView() { @@ -4246,16 +4668,12 @@ this._collection$_map = t0; this.$ti = t1; }, - SetMixin: function SetMixin() { + SetBase: function SetBase() { }, _SetBase: function _SetBase() { }, - _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() { - }, _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { }, - __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { - }, _parseJson(source, reviver) { var e, exception, t1, parsed = null; try { @@ -4457,11 +4875,6 @@ return value; throw A.wrapException(A.FormatException$(source, null, null)); }, - Error__objectToString(object) { - if (object instanceof A.Closure) - return object.toString$0(0); - return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; - }, Error__throw(error, stackTrace) { error = A.wrapException(error); if (error == null) @@ -4470,17 +4883,6 @@ 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); @@ -4499,7 +4901,10 @@ return J.JSArray_markFixedList(list, $E); }, List_List$of(elements, growable, $E) { - var t1 = A.List_List$_of(elements, $E); + var t1; + if (growable) + return A.List_List$_of(elements, $E); + t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E), $E); return t1; }, List_List$_of(elements, $E) { @@ -4570,27 +4975,33 @@ } return string; }, - NoSuchMethodError$(receiver, memberName, positionalArguments, namedArguments) { - return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments); + NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) { + return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments()); }, Uri_base() { - var uri = A.Primitives_currentUri(); - if (uri != null) - return A.Uri_parse(uri); - throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); + var cachedUri, uri, + current = A.Primitives_currentUri(); + if (current == null) + throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); + cachedUri = $.Uri__cachedBaseUri; + if (cachedUri != null && current === $.Uri__cachedBaseString) + return cachedUri; + uri = A.Uri_parse(current); + $.Uri__cachedBaseUri = uri; + $.Uri__cachedBaseString = current; + return uri; }, _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; - t1 = t1.test(text); + t1 = $.$get$_Uri__needsNoEncoding(); + t1 = t1._nativeRegExp.test(text); } else t1 = false; if (t1) return text; - A._instanceType(encoding)._eval$1("Codec.S")._as(text); - bytes = encoding.get$encoder().convert$1(text); + bytes = B.C_Utf8Encoder.convert$1(text); for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) { byte = bytes[i]; if (byte < 128) { @@ -4635,7 +5046,12 @@ return J.toString$0$(object); if (typeof object == "string") return JSON.stringify(object); - return A.Error__objectToString(object); + return A.Primitives_safeToString(object); + }, + Error_throwWithStackTrace(error, stackTrace) { + A.checkNotNullable(error, "error", type$.Object); + A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace); + A.Error__throw(error, stackTrace); }, AssertionError$(message) { return new A.AssertionError(message); @@ -4675,9 +5091,8 @@ throw A.wrapException(A.RangeError$range(value, 0, null, $name, null)); return value; }, - 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"); + IndexError$withLength(invalidValue, $length, indexable, $name) { + return new A.IndexError($length, true, invalidValue, $name, "Index out of range"); }, UnsupportedError$(message) { return new A.UnsupportedError(message); @@ -4694,8 +5109,126 @@ FormatException$(message, source, offset) { return new A.FormatException(message, source, offset); }, + Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) { + var parts, t1; + if (A.isToStringVisiting(iterable)) { + if (leftDelimiter === "(" && rightDelimiter === ")") + return "(...)"; + return leftDelimiter + "..." + rightDelimiter; + } + parts = A._setArrayType([], type$.JSArray_String); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + A._iterablePartsToStrings(iterable, parts); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + t1 = A.StringBuffer__writeAll(leftDelimiter, type$.Iterable_dynamic._as(parts), ", ") + rightDelimiter; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) { + var buffer, t1; + if (A.isToStringVisiting(iterable)) + return leftDelimiter + "..." + rightDelimiter; + buffer = new A.StringBuffer(leftDelimiter); + B.JSArray_methods.add$1($.toStringVisiting, iterable); + try { + t1 = buffer; + t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", "); + } finally { + if (0 >= $.toStringVisiting.length) + return A.ioore($.toStringVisiting, -1); + $.toStringVisiting.pop(); + } + buffer._contents += rightDelimiter; + t1 = buffer._contents; + return t1.charCodeAt(0) == 0 ? t1 : t1; + }, + _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 = A.S(it.get$current(it)); + B.JSArray_methods.add$1(parts, next); + $length += next.length + 2; + ++count; + } + if (!it.moveNext$0()) { + if (count <= 5) + return; + if (0 >= parts.length) + return A.ioore(parts, -1); + ultimateString = parts.pop(); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + } else { + penultimate = it.get$current(it); + ++count; + if (!it.moveNext$0()) { + if (count <= 4) { + B.JSArray_methods.add$1(parts, A.S(penultimate)); + return; + } + ultimateString = A.S(penultimate); + if (0 >= parts.length) + return A.ioore(parts, -1); + penultimateString = parts.pop(); + $length += ultimateString.length + 2; + } else { + ultimate = it.get$current(it); + ++count; + for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) { + ultimate0 = it.get$current(it); + ++count; + if (count > 100) { + while (true) { + if (!($length > 75 && count > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + --count; + } + B.JSArray_methods.add$1(parts, "..."); + return; + } + } + penultimateString = A.S(penultimate); + ultimateString = A.S(ultimate); + $length += ultimateString.length + penultimateString.length + 4; + } + } + if (count > parts.length + 2) { + $length += 5; + elision = "..."; + } else + elision = null; + while (true) { + if (!($length > 80 && parts.length > 3)) + break; + if (0 >= parts.length) + return A.ioore(parts, -1); + $length -= parts.pop().length + 2; + if (elision == null) { + $length += 5; + elision = "..."; + } + } + if (elision != null) + B.JSArray_methods.add$1(parts, elision); + B.JSArray_methods.add$1(parts, penultimateString); + B.JSArray_methods.add$1(parts, ultimateString); + }, Object_hash(object1, object2, object3, object4) { - var t1, t2; + var t1; if (B.C_SentinelValue === object3) { t1 = J.get$hashCode$(object1); object2 = J.get$hashCode$(object2); @@ -4711,8 +5244,8 @@ 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)); + object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4)); + return object4; }, Uri_Uri$dataFromString($content) { var t1, _null = null, @@ -4721,7 +5254,7 @@ 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); + A.UriData__uriEncodeBytes(B.List_oFp, B.C_AsciiCodec.encode$1($content), buffer); t1 = buffer._contents; return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri(); }, @@ -4729,7 +5262,9 @@ 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 = ((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 (4 >= end) + return A.ioore(uri, 4); + delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0; if (delta === 0) return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri(); else if (delta === 32) @@ -4774,66 +5309,78 @@ scheme = _null; isSimple = false; } else { - 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); + 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 (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; + 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 + 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; - } - 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; + 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 && 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 = "https"; - } else - scheme = _null; - isSimple = true; + isSimple = true; + } } } } @@ -4887,13 +5434,15 @@ 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, + var t1, 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); + for (t1 = host.length, i = start, partStart = i, partIndex = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); @@ -4922,18 +5471,23 @@ return result; }, Uri_parseIPv6Address(host, start, end) { - var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, t2, _null = null, + var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, 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) + parseHex = new A.Uri_parseIPv6Address_parseHex(error, host), + t1 = host.length; + if (t1 < 2) 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 = B.JSString_methods.codeUnitAt$1(host, i); + if (!(i >= 0 && i < t1)) + return A.ioore(host, i); + char = host.charCodeAt(i); if (char === 58) { if (i === start) { ++i; - if (B.JSString_methods.codeUnitAt$1(host, i) !== 58) + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) !== 58) error.call$2("invalid start colon.", i); partStart = i; } @@ -5037,30 +5591,24 @@ return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false); }, _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) { - var t1, _i, segment, t2, t3; + var t1, _i, segment; 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)) { + if (J.contains$1$asx(segment, "/")) { t1 = A.UnsupportedError$("Illegal path character " + A.S(segment)); throw A.wrapException(t1); } } }, _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();) { + var t1, t2, t3; + 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 (B.JSString_methods.contains$1(t3, A.RegExp_RegExp('["*/:<>?\\\\|]', false))) if (argumentError) - throw A.wrapException(A.ArgumentError$("Illegal character in path", _null)); + throw A.wrapException(A.ArgumentError$("Illegal character in path", null)); else throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3)); } @@ -5094,16 +5642,36 @@ path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_); else { 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)); + t1 = path.length; + if (t1 >= 3) { + if (1 >= t1) + return A.ioore(path, 1); + if (path.charCodeAt(1) === 58) { + if (2 >= t1) + return A.ioore(path, 2); + t1 = path.charCodeAt(2) !== 92; + } else + t1 = true; + } else + t1 = true; + if (t1) + throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute")); } else path = A.stringReplaceAllUnchecked(path, "/", _s1_); t1 = path.length; - 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)); + if (t1 > 1 && path.charCodeAt(1) === 58) { + if (0 >= t1) + return A.ioore(path, 0); + A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true); + if (t1 !== 2) { + if (2 >= t1) + return A.ioore(path, 2); + t1 = path.charCodeAt(2) !== 92; + } else + t1 = true; + if (t1) + throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute")); pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String); A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1); return A._Uri__Uri(_null, _null, pathSegments, _s4_); @@ -5138,22 +5706,29 @@ return null; if (start === end) return ""; - if (B.JSString_methods.codeUnitAt$1(host, start) === 91) { - t1 = end - 1; - if (B.JSString_methods.codeUnitAt$1(host, t1) !== 93) + t1 = host.length; + if (!(start >= 0 && start < t1)) + return A.ioore(host, start); + if (host.charCodeAt(start) === 91) { + t2 = end - 1; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(host, t2); + if (host.charCodeAt(t2) !== 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) { + t1 = start + 1; + index = A._Uri__checkZoneID(host, t1, t2); + if (index < t2) { zoneIDstart = index + 1; - zoneID = A._Uri__normalizeZoneID(host, B.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, t2, "%25"); } else zoneID = ""; - A.Uri_parseIPv6Address(host, t2, index); + A.Uri_parseIPv6Address(host, t1, 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) { + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(host, i); + if (host.charCodeAt(i) === 58) { index = B.JSString_methods.indexOf$2(host, "%", start); index = index >= start && index < end ? index : end; if (index < end) { @@ -5164,6 +5739,7 @@ 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) { @@ -5171,37 +5747,39 @@ return index >= start && index < end ? index : end; }, _Uri__normalizeZoneID(host, start, end, prefix) { - var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice, + var t1, index, sectionStart, isNormalized, char, replacement, t2, t3, 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); + for (t1 = host.length, index = start, sectionStart = index, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); - t1 = replacement == null; - if (t1 && isNormalized) { + t2 = replacement == null; + if (t2 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); - t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); - if (t1) + t3 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index); + if (t2) 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; + buffer._contents = t3 + 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; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_M1A, t2); + t2 = (B.List_M1A[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) { + t2 = false; + if (t2) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); @@ -5214,7 +5792,10 @@ ++index; } else { if ((char & 64512) === 55296 && index + 1 < end) { - tail = B.JSString_methods.codeUnitAt$1(host, index + 1); + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -5225,11 +5806,11 @@ slice = B.JSString_methods.substring$2(host, sectionStart, index); if (buffer == null) { buffer = new A.StringBuffer(""); - t1 = buffer; + t2 = buffer; } else - t1 = buffer; - t1._contents += slice; - t1._contents += A._Uri__escapeChar(char); + t2 = buffer; + t2._contents += slice; + t2._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } @@ -5243,21 +5824,23 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, _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 = B.JSString_methods.codeUnitAt$1(host, index); + var t1, index, sectionStart, buffer, isNormalized, char, replacement, t2, slice, t3, sourceLength, tail; + for (t1 = host.length, index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) { + if (!(index >= 0 && index < t1)) + return A.ioore(host, index); + char = host.charCodeAt(index); if (char === 37) { replacement = A._Uri__normalizeEscape(host, index, true); - t1 = replacement == null; - if (t1 && isNormalized) { + t2 = replacement == null; + if (t2 && isNormalized) { index += 3; continue; } if (buffer == null) buffer = new A.StringBuffer(""); slice = B.JSString_methods.substring$2(host, sectionStart, index); - t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; - if (t1) { + t3 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice; + if (t2) { replacement = B.JSString_methods.substring$2(host, index, index + 3); sourceLength = 3; } else if (replacement === "%") { @@ -5265,19 +5848,19 @@ sourceLength = 1; } else sourceLength = 3; - buffer._contents = t2 + replacement; + buffer._contents = t3 + replacement; index += sourceLength; sectionStart = index; isNormalized = true; } else { if (char < 127) { - t1 = char >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_qNA, t1); - t1 = (B.List_qNA[t1] & 1 << (char & 15)) !== 0; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_ejq, t2); + t2 = (B.List_ejq[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) { + t2 = false; + if (t2) { if (isNormalized && 65 <= char && 90 >= char) { if (buffer == null) buffer = new A.StringBuffer(""); @@ -5290,17 +5873,20 @@ ++index; } else { if (char <= 93) { - t1 = char >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_2Vk, t1); - t1 = (B.List_2Vk[t1] & 1 << (char & 15)) !== 0; + t2 = char >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_YmH, t2); + t2 = (B.List_YmH[t2] & 1 << (char & 15)) !== 0; } else - t1 = false; - if (t1) + t2 = false; + if (t2) A._Uri__fail(host, index, "Invalid character"); else { if ((char & 64512) === 55296 && index + 1 < end) { - tail = B.JSString_methods.codeUnitAt$1(host, index + 1); + t2 = index + 1; + if (!(t2 < t1)) + return A.ioore(host, t2); + tail = host.charCodeAt(t2); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -5313,11 +5899,11 @@ slice = slice.toLowerCase(); if (buffer == null) { buffer = new A.StringBuffer(""); - t1 = buffer; + t2 = buffer; } else - t1 = buffer; - t1._contents += slice; - t1._contents += A._Uri__escapeChar(char); + t2 = buffer; + t2._contents += slice; + t2._contents += A._Uri__escapeChar(char); index += sourceLength; sectionStart = index; } @@ -5334,21 +5920,26 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, _Uri__makeScheme(scheme, start, end) { - var i, containsUpperCase, codeUnit, t1; + var t1, i, containsUpperCase, codeUnit, t2; if (start === end) return ""; - if (!A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(scheme, start))) + t1 = scheme.length; + if (!(start < t1)) + return A.ioore(scheme, start); + if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(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 (!(i < t1)) + return A.ioore(scheme, i); + codeUnit = scheme.charCodeAt(i); if (codeUnit < 128) { - t1 = codeUnit >>> 4; - if (!(t1 < 8)) - return A.ioore(B.List_JYB, t1); - t1 = (B.List_JYB[t1] & 1 << (codeUnit & 15)) !== 0; + t2 = codeUnit >>> 4; + if (!(t2 < 8)) + return A.ioore(B.List_MMm, t2); + t2 = (B.List_MMm[t2] & 1 << (codeUnit & 15)) !== 0; } else - t1 = false; - if (!t1) + t2 = false; + if (!t2) A._Uri__fail(scheme, i, "Illegal scheme character"); if (65 <= codeUnit && codeUnit <= 90) containsUpperCase = true; @@ -5370,7 +5961,7 @@ _Uri__makeUserInfo(userInfo, start, end) { if (userInfo == null) return ""; - return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_gRj, false); + return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false); }, _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { var t1, result, @@ -5384,7 +5975,7 @@ } 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); + result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true); if (result.length === 0) { if (isFile) return "/"; @@ -5394,27 +5985,33 @@ }, _Uri__normalizePath(path, scheme, hasAuthority) { var t1 = scheme.length === 0; - if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(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(query, start, end, queryParameters) { if (query != null) - return A._Uri__normalizeOrSubstring(query, start, end, B.List_CVk, true); + return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false); return null; }, _Uri__makeFragment(fragment, start, end) { if (fragment == null) return null; - return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_CVk, true); + return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false); }, _Uri__normalizeEscape(source, index, lowerCase) { - var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, - t1 = index + 2; - if (t1 >= source.length) + var t3, firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, + t1 = index + 2, + t2 = source.length; + if (t1 >= t2) return "%"; - firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1); - secondDigit = B.JSString_methods.codeUnitAt$1(source, t1); + t3 = index + 1; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(source, t3); + firstDigit = source.charCodeAt(t3); + if (!(t1 >= 0)) + return A.ioore(source, t1); + secondDigit = source.charCodeAt(t1); firstDigitValue = A.hexDigitValue(firstDigit); secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) @@ -5423,8 +6020,8 @@ if (value < 127) { 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; + return A.ioore(B.List_M1A, t1); + t1 = (B.List_M1A[t1] & 1 << (value & 15)) !== 0; } else t1 = false; if (t1) @@ -5434,13 +6031,16 @@ return null; }, _Uri__escapeChar(char) { - var codeUnits, flag, encodedBytes, t1, index, byte, t2, t3, + var codeUnits, t1, flag, encodedBytes, index, byte, t2, t3, _s16_ = "0123456789ABCDEF"; if (char < 128) { 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); + t1 = char >>> 4; + if (!(t1 < 16)) + return A.ioore(_s16_, t1); + codeUnits[1] = _s16_.charCodeAt(t1); + codeUnits[2] = _s16_.charCodeAt(char & 15); } else { if (char > 2047) if (char > 65535) { @@ -5462,36 +6062,39 @@ return A.ioore(codeUnits, index); codeUnits[index] = 37; t2 = index + 1; - t3 = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); + t3 = byte >>> 4; + if (!(t3 < 16)) + return A.ioore(_s16_, t3); if (!(t2 < t1)) return A.ioore(codeUnits, t2); - codeUnits[t2] = t3; + codeUnits[t2] = _s16_.charCodeAt(t3); t3 = index + 2; - t2 = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15); if (!(t3 < t1)) return A.ioore(codeUnits, t3); - codeUnits[t3] = t2; + codeUnits[t3] = _s16_.charCodeAt(byte & 15); index += 3; } } 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); + _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(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); + _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) { + var t1, t2, index, sectionStart, buffer, char, t3, replacement, sourceLength, tail, t4, _null = null; + for (t1 = !escapeDelimiters, t2 = component.length, index = start, sectionStart = index, buffer = _null; index < end;) { + if (!(index >= 0 && index < t2)) + return A.ioore(component, index); + char = component.charCodeAt(index); if (char < 127) { - t2 = char >>> 4; - if (!(t2 < 8)) - return A.ioore(charTable, t2); - t2 = (charTable[t2] & 1 << (char & 15)) !== 0; + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(charTable, t3); + t3 = (charTable[t3] & 1 << (char & 15)) !== 0; } else - t2 = false; - if (t2) + t3 = false; + if (t3) ++index; else { if (char === 37) { @@ -5505,26 +6108,31 @@ 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 A.ioore(B.List_2Vk, t2); - t2 = (B.List_2Vk[t2] & 1 << (char & 15)) !== 0; + t3 = char >>> 4; + if (!(t3 < 8)) + return A.ioore(B.List_YmH, t3); + t3 = (B.List_YmH[t3] & 1 << (char & 15)) !== 0; } else - t2 = false; + t3 = false; else - t2 = false; - if (t2) { + t3 = false; + if (t3) { 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); + t3 = index + 1; + if (t3 < end) { + if (!(t3 < t2)) + return A.ioore(component, t3); + tail = component.charCodeAt(t3); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; @@ -5539,11 +6147,11 @@ } if (buffer == null) { buffer = new A.StringBuffer(""); - t2 = buffer; + t3 = buffer; } else - t2 = buffer; - t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); - t2._contents = t3 + A.S(replacement); + t3 = buffer; + t4 = t3._contents += B.JSString_methods.substring$2(component, sectionStart, index); + t3._contents = t4 + A.S(replacement); if (typeof sourceLength !== "number") return A.iae(sourceLength); index += sourceLength; @@ -5638,16 +6246,16 @@ _Uri__escapeScheme(path) { var i, char, t2, t1 = path.length; - if (t1 >= 2 && A._Uri__isAlphabeticCharacter(B.JSString_methods._codeUnitAt$1(path, 0))) + if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0))) for (i = 1; i < t1; ++i) { - char = B.JSString_methods._codeUnitAt$1(path, i); + char = path.charCodeAt(i); if (char === 58) 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 A.ioore(B.List_JYB, t2); - t2 = (B.List_JYB[t2] & 1 << (char & 15)) === 0; + return A.ioore(B.List_MMm, t2); + t2 = (B.List_MMm[t2] & 1 << (char & 15)) === 0; } else t2 = true; if (t2) @@ -5685,9 +6293,12 @@ return t1.charCodeAt(0) == 0 ? t1 : t1; }, _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); + var t1, byte, i, t2, charCode; + for (t1 = s.length, byte = 0, i = 0; i < 2; ++i) { + t2 = pos + i; + if (!(t2 < t1)) + return A.ioore(s, t2); + charCode = s.charCodeAt(t2); if (48 <= charCode && charCode <= 57) byte = byte * 16 + charCode - 48; else { @@ -5701,22 +6312,25 @@ return byte; }, _Uri__uriDecode(text, start, end, encoding, plusToSpace) { - var simple, codeUnit, t1, bytes, + var simple, codeUnit, t2, bytes, + t1 = text.length, i = start; while (true) { if (!(i < end)) { simple = true; break; } - codeUnit = B.JSString_methods._codeUnitAt$1(text, i); + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); if (codeUnit <= 127) if (codeUnit !== 37) - t1 = plusToSpace && codeUnit === 43; + t2 = plusToSpace && codeUnit === 43; else - t1 = true; + t2 = true; else - t1 = true; - if (t1) { + t2 = true; + if (t2) { simple = false; break; } @@ -5733,8 +6347,10 @@ bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end)); } else { bytes = A._setArrayType([], type$.JSArray_int); - for (t1 = text.length, i = start; i < end; ++i) { - codeUnit = B.JSString_methods._codeUnitAt$1(text, i); + for (i = start; i < end; ++i) { + if (!(i < t1)) + return A.ioore(text, i); + codeUnit = text.charCodeAt(i); if (codeUnit > 127) throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null)); if (codeUnit === 37) { @@ -5763,15 +6379,15 @@ slashIndex = A.UriData__validateMimeType(""); if (slashIndex < 0) 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); + t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$2("", 0, slashIndex), B.C_Utf8Codec, false); buffer._contents = t1 + "/"; - buffer._contents += A._Uri__uriEncode(B.List_qFt, B.JSString_methods.substring$1("", slashIndex + 1), B.C_Utf8Codec, false); + buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$1("", slashIndex + 1), B.C_Utf8Codec, false); } }, UriData__validateMimeType(mimeType) { var t1, slashIndex, i; for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) { - if (B.JSString_methods._codeUnitAt$1(mimeType, i) !== 47) + if (mimeType.charCodeAt(i) !== 47) continue; if (slashIndex < 0) { slashIndex = i; @@ -5786,7 +6402,7 @@ _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 = B.JSString_methods._codeUnitAt$1(text, i); + char = text.charCodeAt(i); if (char === 44 || char === 59) break; if (char === 47) { @@ -5803,7 +6419,9 @@ B.JSArray_methods.add$1(indices, i); ++i; for (equalsIndex = -1; i < t1; ++i) { - char = B.JSString_methods._codeUnitAt$1(text, i); + if (!(i >= 0)) + return A.ioore(text, i); + char = text.charCodeAt(i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; @@ -5824,92 +6442,97 @@ if ((indices.length & 1) === 1) text = B.C_Base64Codec.normalize$3(0, text, t2, t1); else { - data = A._Uri__normalize(text, t2, t1, B.List_CVk, true); + data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false); if (data != null) text = B.JSString_methods.replaceRange$3(text, t2, t1, data); } return new A.UriData(text, indices, sourceUri); }, UriData__uriEncodeBytes(canonicalTable, bytes, buffer) { - var t1, byteOr, i, byte, t2, t3, + var t1, byteOr, i, byte, t2, _s16_ = "0123456789ABCDEF"; - for (t1 = J.getInterceptor$asx(bytes), byteOr = 0, i = 0; i < t1.get$length(bytes); ++i) { - byte = t1.$index(bytes, i); + for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) { + byte = bytes[i]; byteOr |= byte; if (byte < 128) { - t2 = B.JSInt_methods._shrOtherPositive$1(byte, 4); + t2 = 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 = t3 + A.Primitives_stringFromCharCode(byte); + buffer._contents += A.Primitives_stringFromCharCode(byte); else { - 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)); + buffer._contents += A.Primitives_stringFromCharCode(37); + t2 = byte >>> 4; + if (!(t2 < 16)) + return A.ioore(_s16_, t2); + buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(t2)); + buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15)); } } - if ((byteOr & 4294967040) >>> 0 !== 0) - for (i = 0; i < t1.get$length(bytes); ++i) { - byte = t1.$index(bytes, i); - if (byte < 0 || byte > 255) + if ((byteOr & 4294967040) !== 0) + for (i = 0; i < t1; ++i) { + byte = bytes[i]; + if (byte > 255) throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null)); } }, _createTables() { - var _i, t1, t2, t3, t4, b, + var _i, t1, t2, t3, b, _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=", - _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "?", _s1_3 = "#", + _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\", 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(0, 225); + t2.call$3(b, _s77_, 1); + t2.call$3(b, _s1_, 14); + t2.call$3(b, _s1_0, 34); + t2.call$3(b, _s1_1, 3); + t2.call$3(b, _s1_2, 227); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); b = t1.call$2(15, 225); t2.call$3(b, _s77_, 1); t2.call$3(b, "%", 225); 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); + t2.call$3(b, _s1_2, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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_2, 131); t2.call$3(b, _s1_, 146); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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_2, 68); t2.call$3(b, _s1_, 18); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); b = t1.call$2(4, 229); t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); @@ -5917,75 +6540,82 @@ t2.call$3(b, "@", 68); t2.call$3(b, "[", 232); t2.call$3(b, _s1_1, 138); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); b = t1.call$2(5, 229); t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); t2.call$3(b, _s1_0, 102); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); b = t1.call$2(6, 231); t3.call$3(b, "19", 7); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 205); b = t1.call$2(7, 231); t3.call$3(b, "09", 7); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); - t2.call$3(b, _s1_2, 172); - t2.call$3(b, _s1_3, 205); + t2.call$3(b, _s1_2, 138); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s1_2, 233); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s1_1, 10); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s2_, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s1_2, 234); + t2.call$3(b, _s1_3, 172); + t2.call$3(b, _s1_4, 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); + t2.call$3(b, _s1_3, 12); + t2.call$3(b, _s1_4, 205); b = t1.call$2(13, 237); t2.call$3(b, _s77_, 13); - t2.call$3(b, _s1_2, 13); + t2.call$3(b, _s1_3, 13); t3.call$3(t1.call$2(20, 245), "az", 21); b = t1.call$2(21, 245); t3.call$3(b, "az", 21); @@ -5994,13 +6624,15 @@ return tables; }, _scan(uri, start, end, state, indices) { - var i, table, char, transition, + var t1, i, table, char, transition, tables = $.$get$_scannerTables(); - for (i = start; i < end; ++i) { + for (t1 = uri.length, i = start; i < end; ++i) { if (!(state >= 0 && state < tables.length)) return A.ioore(tables, state); table = tables[state]; - char = B.JSString_methods._codeUnitAt$1(uri, i) ^ 96; + if (!(i < t1)) + return A.ioore(uri, i); + char = uri.charCodeAt(i) ^ 96; transition = table[char > 95 ? 31 : char]; state = transition & 31; B.JSArray_methods.$indexSet(indices, transition >>> 5, i); @@ -6013,9 +6645,11 @@ 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); + var t1, i, dots, char; + for (t1 = source.length, i = start, dots = 0; i < end; ++i) { + if (!(i >= 0 && i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 47) return dots !== 0 ? i : -1; if (char === 37 || char === 58) @@ -6025,11 +6659,13 @@ 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; + var t1, t2, result, i, t3, stringChar, delta, lowerChar; + for (t1 = prefix.length, t2 = string.length, result = 0, i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 < t2)) + return A.ioore(string, t3); + stringChar = string.charCodeAt(t3); + delta = prefix.charCodeAt(i) ^ stringChar; if (delta !== 0) { if (delta === 32) { lowerChar = stringChar | delta; @@ -6048,7 +6684,7 @@ this.sb = t1; }, DateTime: function DateTime(t0, t1) { - this._value = t0; + this._core$_value = t0; this.isUtc = t1; }, Duration: function Duration(t0) { @@ -6061,8 +6697,6 @@ }, TypeError: function TypeError() { }, - NullThrownError: function NullThrownError() { - }, ArgumentError: function ArgumentError(t0, t1, t2, t3) { var _ = this; _._hasValue = t0; @@ -6110,9 +6744,6 @@ }, StackOverflowError: function StackOverflowError() { }, - CyclicInitializationError: function CyclicInitializationError(t0) { - this.variableName = t0; - }, _Exception: function _Exception(t0) { this.message = t0; }, @@ -6123,8 +6754,6 @@ }, Iterable: function Iterable() { }, - Iterator: function Iterator() { - }, Null: function Null() { }, Object: function Object() { @@ -6424,10 +7053,38 @@ }, __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; + _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)); + }, + _noJsifyRequired(o) { + return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o); + }, + jsify(object) { + if (A._noJsifyRequired(object)) + return object; + return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object); }, getProperty(o, $name, $T) { return $T._as(o[$name]); @@ -6462,10 +7119,15 @@ jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer, $T), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1)); return t1; }, + _noDartifyRequired(o) { + return o == null || typeof o === "boolean" || typeof o === "number" || typeof o === "string" || o instanceof Int8Array || o instanceof Uint8Array || o instanceof Uint8ClampedArray || o instanceof Int16Array || o instanceof Uint16Array || o instanceof Int32Array || o instanceof Uint32Array || o instanceof Float32Array || o instanceof Float64Array || o instanceof ArrayBuffer || o instanceof DataView; + }, dartify(o) { - return new A.dartify_convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(o); + if (A._noDartifyRequired(o)) + return o; + return new A.dartify_convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(o); }, - _convertDataTree__convert: function _convertDataTree__convert(t0) { + jsify__convert: function jsify__convert(t0) { this._convertedObjects = t0; }, promiseToFuture_closure: function promiseToFuture_closure(t0, t1) { @@ -6538,10 +7200,7 @@ this.$this = t0; }, Context_Context(style) { - var current = style == null ? A.current() : "."; - if (style == null) - style = $.$get$Style_platform(); - return new A.Context(type$.InternalStyle._as(style), current); + return new A.Context(style, "."); }, _parseUri(uri) { return uri; @@ -6582,7 +7241,7 @@ InternalStyle: function InternalStyle() { }, ParsedPath_ParsedPath$parse(path, style) { - var t1, parts, separators, start, i, + var t1, parts, separators, t2, start, i, root = style.getRoot$1(path); style.isRootRelative$1(path); if (root != null) @@ -6591,7 +7250,13 @@ 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 (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t2 = style.isSeparator$1(path.charCodeAt(0)); + } else + t2 = false; + if (t2) { if (0 >= t1) return A.ioore(path, 0); B.JSArray_methods.add$1(separators, path[0]); @@ -6601,7 +7266,7 @@ start = 0; } for (i = start; i < t1; ++i) - if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, i))) { + if (style.isSeparator$1(path.charCodeAt(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; @@ -6660,28 +7325,24 @@ }, Chain_Chain$parse(chain) { var t1, t2, - _s51_ = string$.______; + _s51_ = string$.x3d_____; 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)); + 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(A.trace_Trace___parseVM_tearOff$closure()), 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)); + return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), type$.Trace_Function_String._as(A.trace_Trace___parseFriendly_tearOff$closure()), type$.MappedListIterable_String_Trace), type$.Trace)); }, Chain: function Chain(t0) { this.traces = t0; }, Chain_Chain$parse_closure: function Chain_Chain$parse_closure() { }, - 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() { @@ -6694,18 +7355,30 @@ Chain_toString__closure: function Chain_toString__closure(t0) { this.longest = t0; }, + Frame___parseVM_tearOff(frame) { + return A.Frame_Frame$parseVM(A._asString(frame)); + }, Frame_Frame$parseVM(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame)); }, + Frame___parseV8_tearOff(frame) { + return A.Frame_Frame$parseV8(A._asString(frame)); + }, Frame_Frame$parseV8(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame)); }, Frame_Frame$_parseFirefoxEval(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame)); }, + Frame___parseFirefox_tearOff(frame) { + return A.Frame_Frame$parseFirefox(A._asString(frame)); + }, Frame_Frame$parseFirefox(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame)); }, + Frame___parseFriendly_tearOff(frame) { + return A.Frame_Frame$parseFriendly(A._asString(frame)); + }, Frame_Frame$parseFriendly(frame) { return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame)); }, @@ -6790,7 +7463,7 @@ t1 = A.Trace$parseFirefox(trace); return t1; } - if (B.JSString_methods.contains$1(trace, string$.______)) { + if (B.JSString_methods.contains$1(trace, string$.x3d_____)) { t1 = A.Chain_Chain$parse(trace).toTrace$0(); return t1; } @@ -6809,6 +7482,9 @@ throw exception; } }, + Trace___parseVM_tearOff(trace) { + return A.Trace$parseVM(A._asString(trace)); + }, Trace$parseVM(trace) { var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame); return new A.Trace(t1, new A._StringStackTrace(trace)); @@ -6816,14 +7492,14 @@ Trace__parseVM(trace) { var $frames, t1 = B.JSString_methods.trim$0(trace), - t2 = type$.Pattern._as($.$get$vmChainGap()), + t2 = $.$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); + t2 = A.MappedIterable_MappedIterable(t1, t2._eval$1("Frame(Iterable.E)")._as(A.frame_Frame___parseVM_tearOff$closure()), 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))); @@ -6835,19 +7511,22 @@ 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); + t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, t3._eval$1("Frame(Iterable.E)")._as(A.frame_Frame___parseV8_tearOff$closure()), t3._eval$1("Iterable.E"), t2), t2); return new A.Trace(t2, new A._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); + 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(A.frame_Frame___parseV8_tearOff$closure()), type$.MappedIterable_String_Frame), type$.Frame); return new A.Trace(t1, new A._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); + 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(A.frame_Frame___parseFirefox_tearOff$closure()), type$.MappedIterable_String_Frame), type$.Frame); return new A.Trace(t1, new A._StringStackTrace(trace)); }, + Trace___parseFriendly_tearOff(trace) { + return A.Trace$parseFriendly(A._asString(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); + 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(A.frame_Frame___parseFriendly_tearOff$closure()), type$.MappedIterable_String_Frame); t1 = A.List_List$unmodifiable(t1, type$.Frame); return new A.Trace(t1, new A._StringStackTrace(trace)); }, @@ -6864,24 +7543,14 @@ }, 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() { - }, Trace$parseJSCore_closure: function Trace$parseJSCore_closure() { }, - Trace$parseJSCore_closure0: function Trace$parseJSCore_closure0() { - }, Trace$parseFirefox_closure: function Trace$parseFirefox_closure() { }, - Trace$parseFirefox_closure0: function Trace$parseFirefox_closure0() { - }, Trace$parseFriendly_closure: function Trace$parseFriendly_closure() { }, - Trace$parseFriendly_closure0: function Trace$parseFriendly_closure0() { - }, Trace_terse_closure: function Trace_terse_closure() { }, Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) { @@ -6992,625 +7661,272 @@ 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; - }, - StreamChannelController: function StreamChannelController(t0) { - this.__StreamChannelController__foreign_F = this.__StreamChannelController__local_F = $; - this.$ti = t0; - }, - StreamChannelMixin: function StreamChannelMixin() { - }, - WindowExtension_get_location(_this) { - return type$.JavaScriptObject._as(_this.location); - }, - EventTargetExtension_addEventListener(_this, type, listener) { - var t1 = A._setArrayType([type, listener], type$.JSArray_Object); - A.callMethod(_this, "addEventListener", t1, type$.dynamic); - }, - _callConstructor(constructorName, args) { - var $constructor = self.window[constructorName]; - if ($constructor == null) - return null; - return A.callConstructor($constructor, args, type$.nullable_Object); - }, - Subscription$(target, type, listener) { - A.EventTargetExtension_addEventListener(target, type, listener); - return new A.Subscription(type, target, listener); - }, - Window0: function Window0() { - }, - Document0: function Document0() { - }, - HTMLDocument: function HTMLDocument() { - }, - Navigator0: function Navigator0() { - }, - Element0: function Element0() { - }, - HTMLElement: function HTMLElement() { - }, - HTMLBodyElement: function HTMLBodyElement() { - }, - Node0: function Node0() { - }, - EventTarget0: function EventTarget0() { - }, - Event0: function Event0() { - }, - MessageEvent0: function MessageEvent0() { - }, - Location0: function Location0() { - }, - MessagePort0: function MessagePort0() { - }, - CSSStyleDeclaration: function CSSStyleDeclaration() { - }, - HTMLScriptElement: function HTMLScriptElement() { - }, - DomTokenList0: function DomTokenList0() { - }, - HTMLIFrameElement: function HTMLIFrameElement() { - }, - WebSocket0: function WebSocket0() { - }, - MessageChannel0: function MessageChannel0() { - }, - Subscription: function Subscription(t0, t1, t2) { - this.type = t0; - this.target = t1; - this.listener = t2; - }, - 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); - }, - _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; - }, - 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; - }, - 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); + t1.__StreamChannelController__foreign_F !== $ && A.throwLateFieldAI("_foreign"); + t1.set$__StreamChannelController__foreign_F(t2); + return t1; }, - 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); + StreamChannelController: function StreamChannelController(t0) { + this.__StreamChannelController__foreign_F = this.__StreamChannelController__local_F = $; + this.$ti = t0; }, - 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; + StreamChannelMixin: function StreamChannelMixin() { }, - 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); + EventTargetExtension_addEventListener(_this, type, listener) { + var t1 = A._setArrayType([type, listener], type$.JSArray_Object); + A.callMethod(_this, "addEventListener", t1, type$.dynamic); }, - getInterceptor$z(receiver) { - if (receiver == null) - return receiver; - if (!(receiver instanceof A.Object)) - return J.UnknownJavaScriptObject.prototype; - return receiver; + EventTargetExtension_removeEventListener(_this, type, listener) { + var t1 = A._setArrayType([type, listener], type$.JSArray_Object); + A.callMethod(_this, "removeEventListener", t1, type$.dynamic); }, - get$hashCode$(receiver) { - return J.getInterceptor$(receiver).get$hashCode(receiver); + MessagePortExtension_get_postMessage(_this) { + return new A.MessagePortExtension_get_postMessage_closure(_this); }, - get$isEmpty$asx(receiver) { - return J.getInterceptor$asx(receiver).get$isEmpty(receiver); + _callConstructor(constructorName, args) { + var $constructor = self.window[constructorName]; + if ($constructor == null) + return null; + return A.callConstructor($constructor, args, type$.nullable_Object); }, - get$iterator$ax(receiver) { - return J.getInterceptor$ax(receiver).get$iterator(receiver); + Subscription$(target, type, listener) { + A.EventTargetExtension_addEventListener(target, type, listener); + return new A.Subscription(type, target, listener); }, - get$keys$x(receiver) { - return J.getInterceptor$x(receiver).get$keys(receiver); + MessagePortExtension_get_postMessage_closure: function MessagePortExtension_get_postMessage_closure(t0) { + this._this = t0; }, - get$length$asx(receiver) { - return J.getInterceptor$asx(receiver).get$length(receiver); + Subscription: function Subscription(t0, t1, t2) { + this.type = t0; + this.target = t1; + this.listener = t2; }, - get$parent$z(receiver) { - return J.getInterceptor$z(receiver).get$parent(receiver); + main() { + var t1 = type$.JavaScriptObject; + t1._as(self.window.console).log("Dart test runner browser host running"); + if (J.$eq$($.$get$_currentUrl().get$queryParameters().$index(0, "debug"), "true")) + t1._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("debug"); + A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type$.Null); }, - $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); + _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); }, - $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); + _connectToIframe(url, id) { + var t2, t3, t4, iframe, controller, windowSubscription, + suiteUrl = A.Uri_parse(url).removeFragment$0(), + t1 = type$.JavaScriptObject; + t1._as(self.window.console).log("Starting suite " + suiteUrl.toString$0(0)); + t2 = self.document; + t3 = A._setArrayType(["iframe"], type$.JSArray_Object); + t4 = type$.dynamic; + iframe = t1._as(A.callMethod(t2, "createElement", t3, t4)); + $._iframes.$indexSet(0, id, iframe); + controller = A.StreamChannelController$(true, t4); + windowSubscription = A._Cell$named("windowSubscription"); + windowSubscription._value = A.Subscription$(self.window, "message", A.allowInterop(new A._connectToIframe_closure(iframe, windowSubscription, suiteUrl, id, controller), type$.void_Function_JavaScriptObject)); + iframe.src = url; + t1._as(type$.nullable_JavaScriptObject._as(self.document.body).appendChild(iframe)); + t1 = controller.__StreamChannelController__foreign_F; + t1 === $ && A.throwLateFieldNI("_foreign"); + return t1; }, - $indexSet$ax(receiver, a0, a1) { - return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); + main_closure: function main_closure() { }, - allMatches$1$s(receiver, a0) { - return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); + main__closure: function main__closure(t0) { + this.serverChannel = t0; }, - allMatches$2$s(receiver, a0, a1) { - return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1); + main___closure: function main___closure(t0) { + this._0_0 = t0; }, - codeUnitAt$1$s(receiver, a0) { - return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); + main___closure0: function main___closure0(t0) { + this._0_0 = t0; }, - elementAt$1$ax(receiver, a0) { - return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); + main___closure1: function main___closure1(t0) { + this._0_0 = t0; }, - endsWith$1$s(receiver, a0) { - return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); + main___closure2: function main___closure2(t0) { + this._0_0 = t0; }, - forEach$1$x(receiver, a0) { - return J.getInterceptor$x(receiver).forEach$1(receiver, a0); + main___closure3: function main___closure3(t0) { + this._0_0 = t0; }, - map$1$1$ax(receiver, a0, $T1) { - return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1); + main___closure4: function main___closure4(t0) { + this._0_0 = t0; }, - matchAsPrefix$2$s(receiver, a0, a1) { - return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1); + main__closure0: function main__closure0(t0) { + this.serverChannel = t0; }, - noSuchMethod$1$(receiver, a0) { - return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); + main__closure1: function main__closure1(t0) { + this.serverChannel = t0; }, - toString$0$(receiver) { - return J.getInterceptor$(receiver).toString$0(receiver); + main__closure2: function main__closure2(t0) { + this.serverChannel = t0; }, - Interceptor: function Interceptor() { + main__closure3: function main__closure3(t0) { + this.serverChannel = t0; }, - JSBool: function JSBool() { + main_closure0: function main_closure0() { }, - JSNull: function JSNull() { + _connectToServer_closure: function _connectToServer_closure(t0) { + this.controller = t0; }, - JavaScriptObject: function JavaScriptObject() { + _connectToServer_closure0: function _connectToServer_closure0(t0) { + this.webSocket = t0; }, - LegacyJavaScriptObject: function LegacyJavaScriptObject() { + _connectToIframe_closure: function _connectToIframe_closure(t0, t1, t2, t3, t4) { + var _ = this; + _.iframe = t0; + _.windowSubscription = t1; + _.suiteUrl = t2; + _.id = t3; + _.controller = t4; }, - PlainJavaScriptObject: function PlainJavaScriptObject() { + _connectToIframe__closure1: function _connectToIframe__closure1(t0) { + this.controller = t0; }, - UnknownJavaScriptObject: function UnknownJavaScriptObject() { + _connectToIframe__closure: function _connectToIframe__closure(t0) { + this._0_0 = t0; }, - JavaScriptFunction: function JavaScriptFunction() { + _connectToIframe__closure0: function _connectToIframe__closure0(t0) { + this._0_0 = t0; }, - JSArray: function JSArray(t0) { - this.$ti = t0; + max(a, b, $T) { + A.checkTypeBound($T, type$.num, "T", "max"); + return Math.max($T._as(a), $T._as(b)); }, - JSUnmodifiableArray: function JSUnmodifiableArray(t0) { - this.$ti = t0; + printString(string) { + if (typeof dartPrint == "function") { + dartPrint(string); + return; + } + if (typeof console == "object" && typeof console.log != "undefined") { + console.log(string); + return; + } + if (typeof print == "function") { + print(string); + return; + } + throw "Unable to print message: " + String(string); }, - ArrayIterator: function ArrayIterator(t0, t1, t2) { - var _ = this; - _._iterable = t0; - _.__interceptors$_length = t1; - _._index = 0; - _._current = null; - _.$ti = t2; + _convertNativeToDart_Value(value) { + var proto, t1, values, i; + if (value == null) + return value; + if (typeof value == "string" || typeof value == "number" || A._isBool(value)) + return value; + proto = Object.getPrototypeOf(value); + t1 = proto === Object.prototype; + t1.toString; + if (!t1) { + t1 = proto === null; + t1.toString; + } else + t1 = true; + if (t1) + return A.convertNativeToDart_Dictionary(value); + t1 = Array.isArray(value); + t1.toString; + if (t1) { + values = []; + i = 0; + while (true) { + t1 = value.length; + t1.toString; + if (!(i < t1)) + break; + values.push(A._convertNativeToDart_Value(value[i])); + ++i; + } + return values; + } + return value; }, - JSNumber: function JSNumber() { + convertNativeToDart_Dictionary(object) { + var dict, keys, t1, _i, key, t2; + 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]; + t2 = key; + t2.toString; + dict.$indexSet(0, t2, A._convertNativeToDart_Value(object[key])); + } + return dict; }, - JSInt: function JSInt() { + 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; }, - JSNumNotInt: function JSNumNotInt() { + isAlphabetic(char) { + var t1; + if (!(char >= 65 && char <= 90)) + t1 = char >= 97 && char <= 122; + else + t1 = true; + return t1; }, - JSString: function JSString() { + isDriveLetter(path, index) { + var t3, + t1 = path.length, + t2 = index + 2; + if (t1 < t2) + return false; + if (!(index >= 0 && index < t1)) + return A.ioore(path, index); + if (!A.isAlphabetic(path.charCodeAt(index))) + return false; + t3 = index + 1; + if (!(t3 < t1)) + return A.ioore(path, t3); + if (path.charCodeAt(t3) !== 58) + return false; + if (t1 === t2) + return true; + if (!(t2 >= 0 && t2 < t1)) + return A.ioore(path, t2); + return path.charCodeAt(t2) === 47; } }, B = {}; @@ -7628,8 +7944,10 @@ 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())); + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, type$.Invocation._as(invocation))); + }, + get$runtimeType(receiver) { + return A.createRuntimeType(A._instanceTypeFromConstructor(this)); } }; J.JSBool.prototype = { @@ -7639,6 +7957,10 @@ get$hashCode(receiver) { return receiver ? 519018 : 218159; }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.bool); + }, + $isTrustedGetRuntimeType: 1, $isbool: 1 }; J.JSNull.prototype = { @@ -7651,6 +7973,7 @@ get$hashCode(receiver) { return 0; }, + $isTrustedGetRuntimeType: 1, $isNull: 1 }; J.JavaScriptObject.prototype = {}; @@ -7673,7 +7996,26 @@ }, $isFunction: 1 }; + J.JavaScriptBigInt.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; + J.JavaScriptSymbol.prototype = { + get$hashCode(receiver) { + return 0; + }, + toString$0(receiver) { + return String(receiver); + } + }; 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>")); + }, add$1(receiver, value) { A._arrayInstanceType(receiver)._precomputed1._as(value); if (!!receiver.fixed$length) @@ -7700,14 +8042,15 @@ receiver.splice(index, 0, value); }, insertAll$2(receiver, index, iterable) { - var t1, insertionLength, end; + var 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; + 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); + receiver.length = receiver.length + insertionLength; end = index + insertionLength; this.setRange$4(receiver, end, receiver.length, receiver, index); this.setRange$3(receiver, index, end, iterable); @@ -7761,6 +8104,9 @@ join$0($receiver) { return this.join$1($receiver, ""); }, + skip$1(receiver, n) { + return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1); + }, fold$1$2(receiver, initialValue, combine, $T) { var $length, value, i; $T._as(initialValue); @@ -7790,7 +8136,7 @@ throw A.wrapException(A.IterableElementError_noElement()); }, setRange$4(receiver, start, end, iterable, skipCount) { - var $length, otherList, t1, i; + var $length, otherList, otherStart, t1, i; A._arrayInstanceType(receiver)._eval$1("Iterable<1>")._as(iterable); if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("setRange")); @@ -7799,20 +8145,33 @@ if ($length === 0) return; A.RangeError_checkNotNegative(skipCount, "skipCount"); - otherList = iterable; + 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); - if (skipCount + $length > t1.get$length(otherList)) + if (otherStart + $length > t1.get$length(otherList)) throw A.wrapException(A.IterableElementError_tooFew()); - if (skipCount < start) + if (otherStart < start) for (i = $length - 1; i >= 0; --i) - receiver[start + i] = t1.$index(otherList, skipCount + i); + receiver[start + i] = t1.$index(otherList, otherStart + i); else for (i = 0; i < $length; ++i) - receiver[start + i] = t1.$index(otherList, skipCount + i); + receiver[start + i] = t1.$index(otherList, otherStart + i); }, setRange$3($receiver, start, end, iterable) { return this.setRange$4($receiver, start, end, iterable, 0); }, + contains$1(receiver, other) { + var i; + for (i = 0; i < receiver.length; ++i) + if (J.$eq$(receiver[i], other)) + return true; + return false; + }, get$isEmpty(receiver) { return receiver.length === 0; }, @@ -7820,7 +8179,14 @@ return receiver.length !== 0; }, toString$0(receiver) { - return A.IterableBase_iterableToFullString(receiver, "[", "]"); + return A.Iterable_iterableToFullString(receiver, "[", "]"); + }, + toList$1$growable(receiver, growable) { + var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver)); + return t1; + }, + toList$0($receiver) { + return this.toList$1$growable($receiver, true); }, get$iterator(receiver) { return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>")); @@ -7832,13 +8198,11 @@ 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")); @@ -7860,8 +8224,10 @@ var t2, _this = this, t1 = _this._iterable, $length = t1.length; - if (_this.__interceptors$_length !== $length) - throw A.wrapException(A.throwConcurrentModificationError(t1)); + if (_this.__interceptors$_length !== $length) { + t1 = A.throwConcurrentModificationError(t1); + throw A.wrapException(t1); + } t2 = _this._index; if (t2 >= $length) { _this.set$_current(null); @@ -7877,6 +8243,16 @@ $isIterator: 1 }; J.JSNumber.prototype = { + 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; + } + throw A.wrapException(A.UnsupportedError$("" + receiver + ".toInt()")); + }, toString$0(receiver) { if (receiver === 0 && 1 / receiver < 0) return "-0.0"; @@ -7940,11 +8316,25 @@ _shrBothPositive$1(receiver, other) { return other > 31 ? 0 : receiver >>> other; }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.num); + }, $isdouble: 1, $isnum: 1 }; - J.JSInt.prototype = {$isint: 1}; - J.JSNumNotInt.prototype = {}; + J.JSInt.prototype = { + get$runtimeType(receiver) { + return A.createRuntimeType(type$.int); + }, + $isTrustedGetRuntimeType: 1, + $isint: 1 + }; + J.JSNumNotInt.prototype = { + get$runtimeType(receiver) { + return A.createRuntimeType(type$.double); + }, + $isTrustedGetRuntimeType: 1 + }; J.JSString.prototype = { codeUnitAt$1(receiver, index) { if (index < 0) @@ -7953,11 +8343,6 @@ A.throwExpression(A.diagnoseIndexError(receiver, index)); return receiver.charCodeAt(index); }, - _codeUnitAt$1(receiver, index) { - if (index >= receiver.length) - throw A.wrapException(A.diagnoseIndexError(receiver, index)); - return receiver.charCodeAt(index); - }, allMatches$2(receiver, string, start) { var t1 = string.length; if (start > t1) @@ -7968,15 +8353,20 @@ return this.allMatches$2($receiver, string, 0); }, matchAsPrefix$2(receiver, string, start) { - var t1, i, _null = null; + var t1, t2, i, t3, _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) + t2 = string.length; + if (start + t1 > t2) return _null; - for (i = 0; i < t1; ++i) - if (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, i)) + for (i = 0; i < t1; ++i) { + t3 = start + i; + if (!(t3 >= 0 && t3 < t2)) + return A.ioore(string, t3); + if (string.charCodeAt(t3) !== receiver.charCodeAt(i)) return _null; + } return new A.StringMatch(start, receiver); }, $add(receiver, other) { @@ -7990,12 +8380,10 @@ return other === this.substring$1(receiver, t1 - otherLength); }, 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) @@ -8026,7 +8414,6 @@ }, startsWith$2(receiver, pattern, index) { var endIndex; - type$.Pattern._as(pattern); if (index < 0 || index > receiver.length) throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null)); if (typeof pattern == "string") { @@ -8052,14 +8439,18 @@ endIndex = result.length; if (endIndex === 0) return result; - if (this._codeUnitAt$1(result, 0) === 133) { + if (0 >= endIndex) + return A.ioore(result, 0); + if (result.charCodeAt(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 (!(t1 >= 0)) + return A.ioore(result, t1); + endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; if (startIndex === 0 && endIndex0 === endIndex) return result; return result.substring(startIndex, endIndex0); @@ -8119,16 +8510,8 @@ lastIndexOf$1($receiver, pattern) { return this.lastIndexOf$2($receiver, pattern, null); }, - 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); - }, - contains$1($receiver, other) { - return this.contains$2($receiver, other, 0); + contains$1(receiver, other) { + return A.stringContainsUnchecked(receiver, other, 0); }, toString$0(receiver) { return receiver; @@ -8144,15 +8527,13 @@ hash ^= hash >> 11; return hash + ((hash & 16383) << 15) & 536870911; }, + get$runtimeType(receiver) { + return A.createRuntimeType(type$.String); + }, get$length(receiver) { return receiver.length; }, - $index(receiver, index) { - A._asInt(index); - if (index >= receiver.length) - throw A.wrapException(A.diagnoseIndexError(receiver, index)); - return receiver[index]; - }, + $isTrustedGetRuntimeType: 1, $isPattern: 1, $isString: 1 }; @@ -8232,6 +8613,66 @@ }, $isStreamSubscription: 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>")); + }, + get$length(_) { + return J.get$length$asx(this.get$_source()); + }, + get$isEmpty(_) { + return J.get$isEmpty$asx(this.get$_source()); + }, + get$isNotEmpty(_) { + return J.get$isNotEmpty$asx(this.get$_source()); + }, + 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]); + }, + elementAt$1(_, index) { + return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index)); + }, + toString$0(_) { + return J.toString$0$(this.get$_source()); + } + }; + A.CastIterator.prototype = { + moveNext$0() { + return this._source.moveNext$0(); + }, + get$current(_) { + var t1 = this._source; + return this.$ti._rest[1]._as(t1.get$current(t1)); + }, + $isIterator: 1 + }; + A.CastIterable.prototype = { + get$_source() { + return this._source; + } + }; + A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1}; + A._CastListBase.prototype = { + $index(_, index) { + return this.$ti._rest[1]._as(J.$index$asx(this._source, index)); + }, + $indexSet(_, index, value) { + var t1 = this.$ti; + J.$indexSet$ax(this._source, index, t1._precomputed1._as(t1._rest[1]._as(value))); + }, + $isEfficientLengthIterable: 1, + $isList: 1 + }; + 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$_source() { + return this._source; + } + }; A.LateError.prototype = { toString$0(_) { return "LateInitializationError: " + this._message; @@ -8242,14 +8683,17 @@ return this._string.length; }, $index(_, i) { - return B.JSString_methods.codeUnitAt$1(this._string, A._asInt(i)); + var t1 = this._string; + if (!(i >= 0 && i < t1.length)) + return A.ioore(t1, i); + return t1.charCodeAt(i); } }; A.nullFuture_closure.prototype = { call$0() { return A.Future_Future$value(null, type$.Null); }, - $signature: 44 + $signature: 60 }; A.SentinelValue.prototype = {}; A.EfficientLengthIterable.prototype = {}; @@ -8303,12 +8747,15 @@ throw A.wrapException(A.ConcurrentModificationError$(_this)); } return value; + }, + skip$1(_, count) { + return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E")); } }; A.SubListIterable.prototype = { SubListIterable$3(_iterable, _start, _endOrLength, $E) { var endOrLength, - t1 = this.__internal$_start; + t1 = this._start; A.RangeError_checkNotNegative(t1, "start"); endOrLength = this._endOrLength; if (endOrLength != null) { @@ -8326,7 +8773,7 @@ }, get$_startIndex() { var $length = J.get$length$asx(this.__internal$_iterable), - t1 = this.__internal$_start; + t1 = this._start; if (t1 > $length) return $length; return t1; @@ -8334,7 +8781,7 @@ get$length(_) { var endOrLength, $length = J.get$length$asx(this.__internal$_iterable), - t1 = this.__internal$_start; + t1 = this._start; if (t1 >= $length) return 0; endOrLength = this._endOrLength; @@ -8348,8 +8795,39 @@ 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)); + throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, "index")); return J.elementAt$1$ax(_this.__internal$_iterable, realIndex); + }, + skip$1(_, count) { + var newStart, endOrLength, _this = this; + A.RangeError_checkNotNegative(count, "count"); + newStart = _this._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); + }, + toList$1$growable(_, growable) { + var $length, result, i, _this = this, + start = _this._start, + t1 = _this.__internal$_iterable, + t2 = J.getInterceptor$asx(t1), + end = t2.get$length(t1), + endOrLength = _this._endOrLength; + if (endOrLength != null && endOrLength < end) + end = endOrLength; + $length = end - start; + if ($length <= 0) { + t1 = J.JSArray_JSArray$fixed(0, _this.$ti._precomputed1); + return t1; + } + result = A.List_List$filled($length, t2.elementAt$1(t1, start), false, _this.$ti._precomputed1); + for (i = 1; i < $length; ++i) { + B.JSArray_methods.$indexSet(result, i, t2.elementAt$1(t1, start + i)); + if (t2.get$length(t1) < end) + throw A.wrapException(A.ConcurrentModificationError$(_this)); + } + return result; } }; A.ListIterator.prototype = { @@ -8385,6 +8863,12 @@ }, get$length(_) { return J.get$length$asx(this.__internal$_iterable); + }, + get$isEmpty(_) { + return J.get$isEmpty$asx(this.__internal$_iterable); + }, + elementAt$1(_, index) { + return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index)); } }; A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1}; @@ -8405,7 +8889,8 @@ }, set$__internal$_current(_current) { this.__internal$_current = this.$ti._eval$1("2?")._as(_current); - } + }, + $isIterator: 1 }; A.MappedListIterable.prototype = { get$length(_) { @@ -8435,7 +8920,8 @@ get$current(_) { var t1 = this._iterator; return t1.get$current(t1); - } + }, + $isIterator: 1 }; A.ExpandIterable.prototype = { get$iterator(_) { @@ -8502,8 +8988,47 @@ } t1 = this._iterator; return t1.get$current(t1); + }, + $isIterator: 1 + }; + 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>")); + }, + get$iterator(_) { + return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount, A._instanceType(this)._eval$1("SkipIterator<1>")); } }; + A.EfficientLengthSkipIterable.prototype = { + get$length(_) { + var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount; + if ($length >= 0) + return $length; + return 0; + }, + 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); + }, + $isIterator: 1 + }; A.SkipWhileIterable.prototype = { get$iterator(_) { return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, this.$ti._eval$1("SkipWhileIterator<1>")); @@ -8523,6 +9048,29 @@ get$current(_) { var t1 = this._iterator; return t1.get$current(t1); + }, + $isIterator: 1 + }; + A.EmptyIterable.prototype = { + get$iterator(_) { + return B.C_EmptyIterator; + }, + get$isEmpty(_) { + return true; + }, + get$length(_) { + return 0; + }, + elementAt$1(_, index) { + throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null)); + }, + 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>")); + }, + skip$1(_, count) { + A.RangeError_checkNotNegative(count, "count"); + return this; } }; A.EmptyIterator.prototype = { @@ -8556,7 +9104,6 @@ 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")); } @@ -8577,20 +9124,21 @@ var hash = this._hashCode; if (hash != null) return hash; - hash = 664597 * J.get$hashCode$(this._name) & 536870911; + hash = 664597 * B.JSString_methods.get$hashCode(this._name) & 536870911; this._hashCode = hash; return hash; }, toString$0(_) { - return 'Symbol("' + A.S(this._name) + '")'; + return 'Symbol("' + this._name + '")'; }, $eq(_, other) { if (other == null) return false; - return other instanceof A.Symbol && this._name == other._name; + return other instanceof A.Symbol && this._name === other._name; }, $isSymbol0: 1 }; + A.__CastListBase__CastIterableBase_ListMixin.prototype = {}; A.ConstantMapView.prototype = {}; A.ConstantMap.prototype = { get$isEmpty(_) { @@ -8599,61 +9147,94 @@ toString$0(_) { return A.MapBase_mapToString(this); }, - $indexSet(_, key, val) { + $indexSet(_, key, value) { var t1 = A._instanceType(this); t1._precomputed1._as(key); - t1._rest[1]._as(val); + t1._rest[1]._as(value); A.ConstantMap__throwUnmodifiable(); }, $isMap: 1 }; A.ConstantStringMap.prototype = { get$length(_) { - return this._length; + return this._values.length; + }, + get$__js_helper$_keys() { + var keys = this.$keys; + if (keys == null) { + keys = Object.keys(this._jsIndex); + this.$keys = keys; + } + return keys; }, containsKey$1(_, key) { if (typeof key != "string") return false; if ("__proto__" === key) return false; - return this._jsObject.hasOwnProperty(key); + return this._jsIndex.hasOwnProperty(key); }, $index(_, key) { if (!this.containsKey$1(0, key)) return null; - return this._jsObject[A._asString(key)]; + return this._values[this._jsIndex[key]]; }, 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])); - } + var keys, values, t1, i; + this.$ti._eval$1("~(1,2)")._as(f); + keys = this.get$__js_helper$_keys(); + values = this._values; + for (t1 = keys.length, i = 0; i < t1; ++i) + f.call$2(keys[i], values[i]); }, get$keys(_) { - return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>")); + return new A._KeysOrValues(this.get$__js_helper$_keys(), this.$ti._eval$1("_KeysOrValues<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>")); - }, + A._KeysOrValues.prototype = { get$length(_) { - return this._map.__js_helper$_keys.length; + return this._elements.length; + }, + get$isEmpty(_) { + return 0 === this._elements.length; + }, + get$isNotEmpty(_) { + return 0 !== this._elements.length; + }, + get$iterator(_) { + var t1 = this._elements; + return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>")); } }; + A._KeysOrValuesOrElementsIterator.prototype = { + get$current(_) { + var t1 = this.__js_helper$_current; + return t1 == null ? this.$ti._precomputed1._as(t1) : t1; + }, + moveNext$0() { + var _this = this, + t1 = _this.__js_helper$_index; + if (t1 >= _this._length) { + _this.set$__js_helper$_current(null); + return false; + } + _this.set$__js_helper$_current(_this._elements[t1]); + ++_this.__js_helper$_index; + return true; + }, + set$__js_helper$_current(_current) { + this.__js_helper$_current = this.$ti._eval$1("1?")._as(_current); + }, + $isIterator: 1 + }; 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); + return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other); }, get$hashCode(_) { - return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue); + return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", "); @@ -8726,7 +9307,7 @@ B.JSArray_methods.add$1(this.$arguments, argument); ++t1.argumentCount; }, - $signature: 5 + $signature: 4 }; A.TypeErrorDecoder.prototype = { matchTypeError$1(message) { @@ -8755,10 +9336,7 @@ }; A.NullError.prototype = { toString$0(_) { - var t1 = this._method; - if (t1 == null) - return "NoSuchMethodError: " + this.__js_helper$_message; - return "NoSuchMethodError: method not found: '" + t1 + "' on null"; + return "Null check operator used on a null value"; } }; A.JsNoSuchMethodError.prototype = { @@ -8786,7 +9364,6 @@ }, $isException: 1 }; - A.ExceptionAndStackTrace.prototype = {}; A._StackTrace.prototype = { toString$0(_) { var trace, @@ -8841,6 +9418,11 @@ return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'"); } }; + A._CyclicInitializationError.prototype = { + toString$0(_) { + return "Reading static variable '" + this.variableName + "' during its initialization"; + } + }; A.RuntimeError.prototype = { toString$0(_) { return "RuntimeError: " + this.message; @@ -8918,7 +9500,7 @@ return bucket[index].hashMapCellValue; }, $indexSet(_, key, value) { - var strings, nums, _this = this, + var strings, nums, rest, hash, bucket, index, _this = this, t1 = A._instanceType(_this); t1._precomputed1._as(key); t1._rest[1]._as(value); @@ -8928,27 +9510,21 @@ } 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)); + } else { + 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(_, key, ifAbsent) { @@ -9066,7 +9642,7 @@ _this._modified$0(); }, internalComputeHashCode$1(key) { - return J.get$hashCode$(key) & 0x3fffffff; + return J.get$hashCode$(key) & 1073741823; }, internalFindBucketIndex$2(bucket, key) { var $length, i; @@ -9113,6 +9689,9 @@ 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); } }; A.LinkedHashMapKeyIterator.prototype = { @@ -9143,19 +9722,19 @@ call$1(o) { return this.getTag(o); }, - $signature: 14 + $signature: 15 }; A.initHooks_closure0.prototype = { call$2(o, tag) { return this.getUnknownTag(o, tag); }, - $signature: 42 + $signature: 36 }; A.initHooks_closure1.prototype = { call$1(tag) { return this.prototypeForTag(A._asString(tag)); }, - $signature: 50 + $signature: 37 }; A.JSSyntaxRegExp.prototype = { toString$0(_) { @@ -9223,7 +9802,8 @@ throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null)); return this._execAnchored$2(string, start); }, - $isPattern: 1 + $isPattern: 1, + $isRegExp: 1 }; A._MatchImplementation.prototype = { get$start(_) { @@ -9233,20 +9813,12 @@ var t1 = this._match; return t1.index + t1[0].length; }, - $index(_, index) { - var t1; - A._asInt(index); - t1 = this._match; - if (!(index < t1.length)) - return A.ioore(t1, index); - return t1[index]; - }, $isMatch: 1, $isRegExpMatch: 1 }; A._AllMatchesIterable.prototype = { get$iterator(_) { - return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this._start); + return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start); } }; A._AllMatchesIterator.prototype = { @@ -9272,9 +9844,13 @@ t1 = _this._nextIndex; t3 = t1 + 1; if (t3 < t2) { - t1 = B.JSString_methods.codeUnitAt$1(string, t1); + if (!(t1 >= 0 && t1 < t2)) + return A.ioore(string, t1); + t1 = string.charCodeAt(t1); if (t1 >= 55296 && t1 <= 56319) { - t1 = B.JSString_methods.codeUnitAt$1(string, t3); + if (!(t3 >= 0)) + return A.ioore(string, t3); + t1 = string.charCodeAt(t3); t1 = t1 >= 56320 && t1 <= 57343; } else t1 = false; @@ -9297,10 +9873,6 @@ get$end(_) { return this.start + this.pattern.length; }, - $index(_, g) { - A.throwExpression(A.RangeError$value(A._asInt(g), null)); - return this.pattern; - }, $isMatch: 1, get$start(receiver) { return this.start; @@ -9343,13 +9915,41 @@ }; A._Cell.prototype = { _readLocal$0() { - var t1 = this.__late_helper$_value; + var t1 = this._value; if (t1 === this) throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized.")); return t1; } }; + A._InitializedCell.prototype = { + _readFinal$0() { + var result, _this = this, + t1 = _this._value; + if (t1 === _this) { + result = _this._initializer.call$0(); + if (_this._value !== _this) + throw A.wrapException(new A.LateError("Local '" + _this.__late_helper$_name + string$.x27_has_)); + _this._value = result; + t1 = result; + } + return t1; + } + }; + A.NativeByteBuffer.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteBuffer_RkP; + }, + $isTrustedGetRuntimeType: 1, + $isByteBuffer: 1 + }; A.NativeTypedData.prototype = {}; + A.NativeByteData.prototype = { + get$runtimeType(receiver) { + return B.Type_ByteData_zNC; + }, + $isTrustedGetRuntimeType: 1, + $isByteData: 1 + }; A.NativeTypedArray.prototype = { get$length(receiver) { return receiver.length; @@ -9358,12 +9958,10 @@ }; A.NativeTypedArrayOfDouble.prototype = { $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; }, $indexSet(receiver, index, value) { - A._asInt(index); A._asDouble(value); A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; @@ -9374,7 +9972,6 @@ }; A.NativeTypedArrayOfInt.prototype = { $indexSet(receiver, index, value) { - A._asInt(index); A._asInt(value); A._checkValidIndex(index, receiver, receiver.length); receiver[index] = value; @@ -9383,63 +9980,104 @@ $isIterable: 1, $isList: 1 }; + A.NativeFloat32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float32List_LB7; + }, + $isTrustedGetRuntimeType: 1, + $isFloat32List: 1 + }; + A.NativeFloat64List.prototype = { + get$runtimeType(receiver) { + return B.Type_Float64List_LB7; + }, + $isTrustedGetRuntimeType: 1, + $isFloat64List: 1 + }; A.NativeInt16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int16List_uXf; + }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isInt16List: 1 }; A.NativeInt32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int32List_O50; + }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isInt32List: 1 }; A.NativeInt8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Int8List_ekJ; + }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isInt8List: 1 }; A.NativeUint16List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint16List_2bx; + }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isUint16List: 1 }; A.NativeUint32List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint32List_2bx; + }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isUint32List: 1 }; A.NativeUint8ClampedList.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8ClampedList_Jik; + }, get$length(receiver) { return receiver.length; }, $index(receiver, index) { - A._asInt(index); A._checkValidIndex(index, receiver, receiver.length); return receiver[index]; - } + }, + $isTrustedGetRuntimeType: 1, + $isUint8ClampedList: 1 }; A.NativeUint8List.prototype = { + get$runtimeType(receiver) { + return B.Type_Uint8List_WLA; + }, get$length(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))); }, + $isTrustedGetRuntimeType: 1, $isNativeUint8List: 1, $isUint8List: 1 }; @@ -9474,7 +10112,7 @@ t1.storedCallback = null; f.call$0(); }, - $signature: 8 + $signature: 10 }; A._AsyncRun__initializeScheduleImmediate_closure.prototype = { call$1(callback) { @@ -9484,19 +10122,19 @@ t2 = this.span; t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); }, - $signature: 48 + $signature: 30 }; A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { call$0() { this.callback.call$0(); }, - $signature: 2 + $signature: 3 }; A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { call$0() { this.callback.call$0(); }, - $signature: 2 + $signature: 3 }; A._TimerImpl.prototype = { _TimerImpl$2(milliseconds, callback) { @@ -9534,52 +10172,8 @@ 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); @@ -9674,6 +10268,10 @@ } }; A._Future.prototype = { + _setChained$1(source) { + this._async$_state = this._async$_state & 1 | 4; + this._resultOrListeners = source; + }, then$1$2$onError(f, onError, $R) { var currentZone, result, t2, t1 = this.$ti; @@ -9695,14 +10293,6 @@ 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); @@ -9798,7 +10388,7 @@ t1._eval$1("1/")._as(value); if (t1._eval$1("Future<1>")._is(value)) if (t1._is(value)) - A._Future__chainCoreFuture(value, _this); + A._Future__chainCoreFutureSync(value, _this); else _this._chainForeignFuture$1(value); else { @@ -9832,7 +10422,7 @@ this._chainFuture$1(value); return; } - this._asyncCompleteWithValue$1(t1._precomputed1._as(value)); + this._asyncCompleteWithValue$1(value); }, _asyncCompleteWithValue$1(value) { var _this = this; @@ -9841,18 +10431,13 @@ _this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(_this, value)); }, _chainFuture$1(value) { - var _this = this, - t1 = _this.$ti; + var 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); + A._Future__chainCoreFutureAsync(value, this); return; } - _this._chainForeignFuture$1(value); + this._chainForeignFuture$1(value); }, _asyncCompleteError$2(error, stackTrace) { type$.StackTrace._as(stackTrace); @@ -9886,13 +10471,13 @@ t1._completeError$2(error, stackTrace); } }, - $signature: 8 + $signature: 10 }; A._Future__chainForeignFuture_closure0.prototype = { call$2(error, stackTrace) { this.$this._completeError$2(type$.Object._as(error), type$.StackTrace._as(stackTrace)); }, - $signature: 37 + $signature: 26 }; A._Future__chainForeignFuture_closure1.prototype = { call$0() { @@ -9900,15 +10485,15 @@ }, $signature: 0 }; - A._Future__asyncCompleteWithValue_closure.prototype = { + A._Future__chainCoreFutureAsync_closure.prototype = { call$0() { - this.$this._completeWithValue$1(this.value); + A._Future__chainCoreFutureSync(this._box_0.source, this.target); }, $signature: 0 }; - A._Future__chainFuture_closure.prototype = { + A._Future__asyncCompleteWithValue_closure.prototype = { call$0() { - A._Future__chainCoreFuture(this.value, this.$this); + this.$this._completeWithValue$1(this.value); }, $signature: 0 }; @@ -9944,7 +10529,7 @@ } return; } - if (type$.Future_dynamic._is(completeResult)) { + if (completeResult instanceof A._Future) { originalSource = _this._box_1.source; t1 = _this._box_0; t1.listenerValueOrError = completeResult.then$1$1(new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic); @@ -9957,7 +10542,7 @@ call$1(_) { return this.originalSource; }, - $signature: 34 + $signature: 28 }; A._Future__propagateToListeners_handleValueCallback.prototype = { call$0() { @@ -10021,7 +10606,7 @@ call$1(_) { return this.streamConsumer.close$0(0); }, - $signature: 32 + $signature: 29 }; A.Stream_length_closure.prototype = { call$1(_) { @@ -10038,7 +10623,6 @@ }, $signature: 0 }; - A.StreamTransformerBase.prototype = {$isStreamTransformer: 1}; A._StreamController.prototype = { get$_pendingEvents() { var t1, _this = this; @@ -10175,7 +10759,7 @@ if (result == null) try { cancelResult = onCancel.call$0(); - if (type$.Future_void._is(cancelResult)) + if (cancelResult instanceof A._Future) result = cancelResult; } catch (exception) { e = A.unwrapException(exception); @@ -10270,7 +10854,7 @@ call$0() { this.$this.addStreamFuture._asyncComplete$1(null); }, - $signature: 2 + $signature: 3 }; A._BufferingStreamSubscription.prototype = { _setPendingEvents$1(pendingEvents) { @@ -10588,41 +11172,52 @@ $signature: 0 }; 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; - }, onData$1(handleData) { this.$ti._eval$1("~(1)?")._as(handleData); }, onError$1(_, handleError) { }, cancel$0(_) { + this._async$_state = -1; + this.set$_onDone(null); 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); + _onMicrotask$0() { + var _0_0, doneHandler, t1, _this = this, + unscheduledState = _this._async$_state - 1; + if (unscheduledState === 0) { + _this._async$_state = -1; + _0_0 = _this._onDone; + if (_0_0 != null) { + doneHandler = _0_0; + t1 = true; + } else { + doneHandler = null; + t1 = false; + } + if (t1) { + _this.set$_onDone(null); + _this._zone.runGuarded$1(doneHandler); + } + } else + _this._async$_state = unscheduledState; + }, + set$_onDone(_onDone) { + this._onDone = type$.nullable_void_Function._as(_onDone); }, $isStreamSubscription: 1 }; - A._StreamIterator.prototype = {}; A._EmptyStream.prototype = { listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { - var t1 = this.$ti; + var t2, + 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(); + t2 = $.Zone__current; + t1 = new A._DoneStreamSubscription(t2, t1._eval$1("_DoneStreamSubscription<1>")); + A.scheduleMicrotask(t1.get$_onMicrotask()); + if (onDone != null) + t1.set$_onDone(t2.registerCallback$1$1(onDone, type$.void)); return t1; }, listen$1(onData) { @@ -10727,17 +11322,6 @@ 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); }, - $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; - }, handleUncaughtError$2(error, stackTrace) { this._processUncaughtError$3(this, error, type$.StackTrace._as(stackTrace)); }, @@ -10814,11 +11398,6 @@ t1 = implementation.zone; return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f); }, - 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); }, @@ -10903,11 +11482,7 @@ }; 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); + A.Error_throwWithStackTrace(this.error, this.stackTrace); }, $signature: 0 }; @@ -11028,9 +11603,6 @@ bindUnaryCallbackGuarded$1$1(f, $T) { return new A._RootZone_bindUnaryCallbackGuarded_closure(this, $T._eval$1("~(0)")._as(f), $T); }, - $index(_, key) { - return null; - }, handleUncaughtError$2(error, stackTrace) { A._rootHandleError(error, type$.StackTrace._as(stackTrace)); }, @@ -11075,9 +11647,6 @@ }, createPeriodicTimer$2(duration, f) { return A.Timer__createPeriodicTimer(duration, type$.void_Function_Timer._as(f)); - }, - print$1(_, line) { - A.printString(line); } }; A._RootZone_bindCallback_closure.prototype = { @@ -11130,7 +11699,7 @@ t2._processUncaughtError$3(zone, type$.Object._as(e), t1._as(s)); } }, - $signature: 31 + $signature: 34 }; A._HashMap.prototype = { get$length(_) { @@ -11325,9 +11894,15 @@ get$isEmpty(_) { return this._collection$_map._collection$_length === 0; }, + get$isNotEmpty(_) { + return this._collection$_map._collection$_length !== 0; + }, get$iterator(_) { var t1 = this._collection$_map; return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>")); + }, + contains$1(_, element) { + return this._collection$_map.containsKey$1(0, element); } }; A._HashMapKeyIterator.prototype = { @@ -11366,6 +11941,12 @@ get$length(_) { return this._collection$_length; }, + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_length !== 0; + }, contains$1(_, object) { var nums; if ((object & 1073741823) === object) { @@ -11412,20 +11993,17 @@ return true; }, 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); + if ((object & 1073741823) === object) + return this._collection$_removeHashTableEntry$2(this._collection$_nums, object); else - return _this._remove$1(0, object); + return this._remove$1(0, object); }, _remove$1(_, object) { var hash, bucket, index, cell, rest = this._collection$_rest; if (rest == null) return false; - hash = J.get$hashCode$(object) & 1073741823; + hash = B.JSInt_methods.get$hashCode(object) & 1073741823; bucket = rest[hash]; index = this._findBucketIndex$2(bucket, object); if (index < 0) @@ -11524,59 +12102,62 @@ }, $isIterator: 1 }; - A.IterableBase.prototype = {}; - A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; - A.ListMixin.prototype = { + A.ListBase.prototype = { get$iterator(receiver) { - return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); + return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator")); }, elementAt$1(receiver, index) { return this.$index(receiver, index); }, + get$isEmpty(receiver) { + return this.get$length(receiver) === 0; + }, get$isNotEmpty(receiver) { - return this.get$length(receiver) !== 0; + return !this.get$isEmpty(receiver); + }, + get$first(receiver) { + if (this.get$length(receiver) === 0) + throw A.wrapException(A.IterableElementError_noElement()); + return this.$index(receiver, 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>")); + return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListBase.E)")._as(f), t1._eval$1("@")._bind$1($T)._eval$1("MappedListIterable<1,2>")); + }, + skip$1(receiver, count) { + return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E")); + }, + cast$1$0(receiver, $R) { + return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@")._bind$1($R)._eval$1("CastList<1,2>")); }, fillRange$3(receiver, start, end, fill) { var i; - A.instanceType(receiver)._eval$1("ListMixin.E?")._as(fill); + A.instanceType(receiver)._eval$1("ListBase.E?")._as(fill); A.RangeError_checkValidRange(start, end, this.get$length(receiver)); for (i = start; i < end; ++i) this.$indexSet(receiver, i, fill); }, 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); + return A.Iterable_iterableToFullString(receiver, "[", "]"); }, - $signature: 21 + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isList: 1 }; - A.MapMixin.prototype = { + A.MapBase.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();) { + t1._eval$1("~(MapBase.K,MapBase.V)")._as(action); + for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) { key = t2.get$current(t2); t3 = this.$index(receiver, key); action.call$2(key, t3 == null ? t1._as(t3) : t3); } }, + containsKey$1(receiver, key) { + return J.contains$1$asx(this.get$keys(receiver), key); + }, get$length(receiver) { return J.get$length$asx(this.get$keys(receiver)); }, @@ -11588,6 +12169,20 @@ }, $isMap: 1 }; + 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); + }, + $signature: 16 + }; A._UnmodifiableMapMixin.prototype = { $indexSet(_, key, value) { var t1 = A._instanceType(this); @@ -11604,6 +12199,9 @@ var t1 = A._instanceType(this); J.$indexSet$ax(this._collection$_map, t1._precomputed1._as(key), t1._rest[1]._as(value)); }, + containsKey$1(_, key) { + return J.containsKey$1$x(this._collection$_map, key); + }, forEach$1(_, action) { J.forEach$1$x(this._collection$_map, A._instanceType(this)._eval$1("~(1,2)")._as(action)); }, @@ -11622,19 +12220,42 @@ $isMap: 1 }; A.UnmodifiableMapView.prototype = {}; - A.SetMixin.prototype = { + A.SetBase.prototype = { + get$isEmpty(_) { + return this._collection$_length === 0; + }, + get$isNotEmpty(_) { + return this._collection$_length !== 0; + }, 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>")); }, toString$0(_) { - return A.IterableBase_iterableToFullString(this, "{", "}"); - } + return A.Iterable_iterableToFullString(this, "{", "}"); + }, + skip$1(_, n) { + return A.SkipIterable_SkipIterable(this, n, this.$ti._precomputed1); + }, + elementAt$1(_, index) { + var iterator, skipCount, t1, _this = this; + A.RangeError_checkNotNegative(index, "index"); + iterator = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, _this.$ti._precomputed1); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) { + t1 = iterator._collection$_current; + return t1 == null ? iterator.$ti._precomputed1._as(t1) : t1; + } + --skipCount; + } + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, _this, "index")); + }, + $isEfficientLengthIterable: 1, + $isIterable: 1, + $isSet: 1 }; - A._SetBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1}; - A._ListBase_Object_ListMixin.prototype = {}; + A._SetBase.prototype = {}; A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; - A.__SetBase_Object_SetMixin.prototype = {}; A._JsonMap.prototype = { $index(_, key) { var result, @@ -11756,6 +12377,9 @@ t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); } return t1; + }, + contains$1(_, key) { + return this._convert$_parent.containsKey$1(0, key); } }; A.Utf8Decoder__decoder_closure.prototype = { @@ -11768,7 +12392,7 @@ } return null; }, - $signature: 19 + $signature: 2 }; A.Utf8Decoder__decoderNonfatal_closure.prototype = { call$0() { @@ -11780,7 +12404,7 @@ } return null; }, - $signature: 19 + $signature: 2 }; A.AsciiCodec.prototype = { encode$1(source) { @@ -11789,12 +12413,15 @@ }; A._UnicodeSubsetEncoder.prototype = { convert$1(string) { - var $length, result, t1, i, codeUnit; + var stringLength, $length, result, t1, i, codeUnit; A._asString(string); - $length = A.RangeError_checkValidRange(0, null, string.length) - 0; + stringLength = string.length; + $length = A.RangeError_checkValidRange(0, null, stringLength) - 0; result = new Uint8Array($length); for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) { - codeUnit = B.JSString_methods._codeUnitAt$1(string, i); + if (!(i < stringLength)) + return A.ioore(string, i); + codeUnit = string.charCodeAt(i); if ((codeUnit & t1) !== 0) throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); if (!(i < $length)) @@ -11807,18 +12434,27 @@ 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); + var inverseAlphabet, t2, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, t3, digit2, char0, value, endLength, $length, + _s64_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", + _s31_ = "Invalid base64 encoding length ", + t1 = source.length; + end = A.RangeError_checkValidRange(start, end, t1); inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet(); - for (t1 = inverseAlphabet.length, i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) { + for (t2 = 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 (!(i < t1)) + return A.ioore(source, i); + char = source.charCodeAt(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)); + if (!(i0 < t1)) + return A.ioore(source, i0); + digit1 = A.hexDigitValue(source.charCodeAt(i0)); + t3 = i0 + 1; + if (!(t3 < t1)) + return A.ioore(source, t3); + digit2 = A.hexDigitValue(source.charCodeAt(t3)); char0 = digit1 * 16 + digit2 - (digit2 & 256); if (char0 === 37) char0 = -1; @@ -11828,21 +12464,23 @@ } else char0 = char; if (0 <= char0 && char0 <= 127) { - if (!(char0 >= 0 && char0 < t1)) + if (!(char0 >= 0 && char0 < t2)) return A.ioore(inverseAlphabet, char0); value = inverseAlphabet[char0]; if (value >= 0) { - char0 = B.JSString_methods.codeUnitAt$1("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", value); + if (!(value < 64)) + return A.ioore(_s64_, value); + char0 = _s64_.charCodeAt(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); + t3 = buffer == null ? null : buffer._contents.length; + if (t3 == null) + t3 = 0; + firstPadding = t3 + (i - sliceStart); firstPaddingSourceIndex = i; } ++paddingCount; @@ -11854,11 +12492,11 @@ if (value !== -2) { if (buffer == null) { buffer = new A.StringBuffer(""); - t2 = buffer; + t3 = buffer; } else - t2 = buffer; - t3 = t2._contents += B.JSString_methods.substring$2(source, sliceStart, i); - t2._contents = t3 + A.Primitives_stringFromCharCode(char); + t3 = buffer; + t3._contents += B.JSString_methods.substring$2(source, sliceStart, i); + t3._contents += A.Primitives_stringFromCharCode(char); sliceStart = i0; continue; } @@ -11899,7 +12537,7 @@ A.Base64Encoder.prototype = {}; A.Codec.prototype = {}; A._FusedCodec.prototype = {}; - A.Converter.prototype = {}; + A.Converter.prototype = {$isStreamTransformer: 1}; A.Encoding.prototype = {}; A.JsonUnsupportedObjectError.prototype = { toString$0(_) { @@ -11914,15 +12552,11 @@ }; 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); + var t1 = A._parseJson(source, this.get$decoder()._reviver); return 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); + var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null); return t1; }, get$encoder() { @@ -11939,19 +12573,19 @@ 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); + charCode = s.charCodeAt(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); + t2 = !(t2 < $length && (s.charCodeAt(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); + t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296); } else t1 = false; else @@ -12138,7 +12772,7 @@ B.JSArray_methods.$indexSet(t1, t2.i++, key); B.JSArray_methods.$indexSet(t1, t2.i++, value); }, - $signature: 21 + $signature: 16 }; A._JsonStringStringifier.prototype = { get$_partialResult() { @@ -12158,23 +12792,22 @@ this._sink.writeCharCode$1(charCode); } }; - A.Utf8Codec.prototype = { - get$encoder() { - return B.C_Utf8Encoder; - } - }; + A.Utf8Codec.prototype = {}; A.Utf8Encoder.prototype = { convert$1(string) { - var end, $length, t1, encoder; + var stringLength, end, $length, t1, encoder, t2; A._asString(string); - end = A.RangeError_checkValidRange(0, null, string.length); + stringLength = string.length; + end = A.RangeError_checkValidRange(0, null, stringLength); $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); + t2 = end - 1; + if (!(t2 >= 0 && t2 < stringLength)) + return A.ioore(string, t2); encoder._writeReplacementCharacter$0(); } return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); @@ -12229,56 +12862,67 @@ } }, _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) + var t1, t2, t3, stringIndex, codeUnit, t4, t5, _this = this; + if (start !== end) { + t1 = end - 1; + if (!(t1 >= 0 && t1 < str.length)) + return A.ioore(str, t1); + t1 = (str.charCodeAt(t1) & 64512) === 55296; + } else + t1 = false; + if (t1) --end; - for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { - codeUnit = B.JSString_methods._codeUnitAt$1(str, stringIndex); + for (t1 = _this._buffer, t2 = t1.length, t3 = str.length, stringIndex = start; stringIndex < end; ++stringIndex) { + if (!(stringIndex < t3)) + return A.ioore(str, stringIndex); + codeUnit = str.charCodeAt(stringIndex); if (codeUnit <= 127) { - t3 = _this._bufferIndex; - if (t3 >= t2) + t4 = _this._bufferIndex; + if (t4 >= t2) break; - _this._bufferIndex = t3 + 1; - t1[t3] = codeUnit; + _this._bufferIndex = t4 + 1; + t1[t4] = codeUnit; } else { - t3 = codeUnit & 64512; - if (t3 === 55296) { + t4 = codeUnit & 64512; + if (t4 === 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) { + t4 = stringIndex + 1; + if (!(t4 < t3)) + return A.ioore(str, t4); + if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(t4))) + stringIndex = t4; + } else if (t4 === 56320) { if (_this._bufferIndex + 3 > t2) break; _this._writeReplacementCharacter$0(); } else if (codeUnit <= 2047) { - t3 = _this._bufferIndex; - t4 = t3 + 1; - if (t4 >= t2) + t4 = _this._bufferIndex; + t5 = t4 + 1; + if (t5 >= 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; + _this._bufferIndex = t5; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 6 | 192; + _this._bufferIndex = t5 + 1; + t1[t5] = codeUnit & 63 | 128; } else { - t3 = _this._bufferIndex; - if (t3 + 2 >= t2) + t4 = _this._bufferIndex; + if (t4 + 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; + t5 = _this._bufferIndex = t4 + 1; + if (!(t4 < t2)) + return A.ioore(t1, t4); + t1[t4] = codeUnit >>> 12 | 224; + t4 = _this._bufferIndex = t5 + 1; + if (!(t5 < t2)) + return A.ioore(t1, t5); + t1[t5] = codeUnit >>> 6 & 63 | 128; + _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; + t1[t4] = codeUnit & 63 | 128; } } } @@ -12333,7 +12977,10 @@ 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, + var byte, t2, type, t3, i0, markEnd, i1, m, _this = this, + _s256_ = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", + _s144_ = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", + _65533 = 65533, state = _this._state, char = _this._charOrIndex, buffer = new A.StringBuffer(""), @@ -12345,9 +12992,14 @@ $label0$0: for (t2 = _this.allowMalformed; true;) { for (; true; i = i0) { - type = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; + if (!(byte >= 0 && byte < 256)) + return A.ioore(_s256_, byte); + type = _s256_.charCodeAt(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); + t3 = state + type; + if (!(t3 >= 0 && t3 < 144)) + return A.ioore(_s144_, t3); + state = _s144_.charCodeAt(t3); if (state === 0) { buffer._contents += A.Primitives_stringFromCharCode(char); if (i === end) @@ -12445,16 +13097,16 @@ t1._contents += A.Error_safeToString(value); t2.comma = ", "; }, - $signature: 29 + $signature: 39 }; A.DateTime.prototype = { $eq(_, other) { if (other == null) return false; - return other instanceof A.DateTime && this._value === other._value && true; + return other instanceof A.DateTime && this._core$_value === other._core$_value && true; }, get$hashCode(_) { - var t1 = this._value; + var t1 = this._core$_value; return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; }, toString$0(_) { @@ -12488,7 +13140,7 @@ 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"); + return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); } }; A.Error.prototype = { @@ -12505,11 +13157,6 @@ } }; A.TypeError.prototype = {}; - A.NullThrownError.prototype = { - toString$0(_) { - return "Throw of null."; - } - }; A.ArgumentError.prototype = { get$_errorName() { return "Invalid argument" + (!this._hasValue ? "(s)" : ""); @@ -12526,10 +13173,16 @@ prefix = _this.get$_errorName() + nameString + messageString; if (!_this._hasValue) return prefix; - return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.invalidValue); + return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue()); + }, + get$invalidValue() { + return this.invalidValue; } }; A.RangeError.prototype = { + get$invalidValue() { + return A._asNumQ(this.invalidValue); + }, get$_errorName() { return "RangeError"; }, @@ -12549,6 +13202,9 @@ } }; A.IndexError.prototype = { + get$invalidValue() { + return A._asInt(this.invalidValue); + }, get$_errorName() { return "RangeError"; }, @@ -12623,11 +13279,6 @@ }, $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; @@ -12636,7 +13287,7 @@ }; A.FormatException.prototype = { toString$0(_) { - var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, + var t1, lineEnd, lineNum, lineStart, previousCharWasCR, i, char, end, start, prefix, postfix, message = this.message, report = "" !== message ? "FormatException: " + message : "FormatException", offset = this.offset, @@ -12653,8 +13304,10 @@ 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); + for (lineEnd = source.length, lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) { + if (!(i < lineEnd)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 10) { if (lineStart !== i || !previousCharWasCR) ++lineNum; @@ -12667,9 +13320,10 @@ } } 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 (!(i >= 0)) + return A.ioore(source, i); + char = source.charCodeAt(i); if (char === 10 || char === 13) { lineEnd = i; break; @@ -12706,10 +13360,19 @@ $isException: 1 }; A.Iterable.prototype = { + cast$1$0(_, $R) { + return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R); + }, 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); }, + toList$1$growable(_, growable) { + return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E")); + }, + toList$0($receiver) { + return this.toList$1$growable($receiver, true); + }, get$length(_) { var count, it = this.get$iterator(this); @@ -12720,6 +13383,12 @@ get$isEmpty(_) { return !this.get$iterator(this).moveNext$0(); }, + get$isNotEmpty(_) { + return !this.get$isEmpty(this); + }, + skip$1(_, count) { + return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E")); + }, 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")); @@ -12741,21 +13410,20 @@ return result; }, elementAt$1(_, index) { - var t1, elementIndex, element; + var iterator, skipCount; 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; + iterator = this.get$iterator(this); + for (skipCount = index; iterator.moveNext$0();) { + if (skipCount === 0) + return iterator.get$current(iterator); + --skipCount; } - throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex)); + throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, "index")); }, toString$0(_) { - return A.IterableBase_iterableToShortString(this, "(", ")"); + return A.Iterable_iterableToShortString(this, "(", ")"); } }; - A.Iterator.prototype = {}; A.Null.prototype = { get$hashCode(_) { return A.Object.prototype.get$hashCode.call(this, this); @@ -12775,8 +13443,10 @@ return "Instance of '" + A.Primitives_objectTypeName(this) + "'"; }, noSuchMethod$1(_, invocation) { - type$.Invocation._as(invocation); - throw A.wrapException(A.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); + throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, type$.Invocation._as(invocation))); + }, + get$runtimeType(_) { + return A.getRuntimeTypeOfDartObject(this); }, toString() { return this.toString$0(this); @@ -12821,19 +13491,19 @@ } return map; }, - $signature: 27 + $signature: 40 }; A.Uri__parseIPv4Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, - $signature: 24 + $signature: 25 }; A.Uri_parseIPv6Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, - $signature: 25 + $signature: 45 }; A.Uri_parseIPv6Address_parseHex.prototype = { call$2(start, end) { @@ -12845,7 +13515,7 @@ this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start); return value; }, - $signature: 26 + $signature: 46 }; A._Uri.prototype = { get$_text() { @@ -12881,11 +13551,18 @@ return value; }, get$pathSegments() { - var pathToSplit, result, _this = this, + var pathToSplit, t1, 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) + t1 = pathToSplit.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(pathToSplit, 0); + t1 = pathToSplit.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) 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"); @@ -12946,13 +13623,20 @@ return false; return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0; }, + removeFragment$0() { + var _this = this; + if (_this._fragment == null) + return _this; + return A._Uri$_internal(_this.scheme, _this._userInfo, _this._host, _this._port, _this.path, _this._query, null); + }, _mergePaths$2(base, reference) { - var backCount, refStart, baseEnd, newEnd, delta, t1; + var backCount, refStart, baseEnd, t1, newEnd, delta, t2, t3; for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) { refStart += 3; ++backCount; } baseEnd = B.JSString_methods.lastIndexOf$1(base, "/"); + t1 = base.length; while (true) { if (!(baseEnd > 0 && backCount > 0)) break; @@ -12960,15 +13644,24 @@ 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; + t2 = delta !== 2; + if (!t2 || delta === 3) { + t3 = newEnd + 1; + if (!(t3 < t1)) + return A.ioore(base, t3); + if (base.charCodeAt(t3) === 46) + if (t2) { + t2 = newEnd + 2; + if (!(t2 < t1)) + return A.ioore(base, t2); + t2 = base.charCodeAt(t2) === 46; + } else + t2 = true; else - t1 = false; - else - t1 = false; - if (t1) + t2 = false; + } else + t2 = false; + if (t2) break; --backCount; baseEnd = newEnd; @@ -13061,7 +13754,7 @@ if ((t1 == null ? "" : t1) !== "") throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); t1 = $.$get$_Uri__isWindowsCached(); - if (A.boolConversionCheck(t1)) + if (t1) t1 = A._Uri__toWindowsFilePath(_this); else { if (_this._host != null && _this.get$host(_this) !== "") @@ -13139,9 +13832,9 @@ }; A._Uri__makePath_closure.prototype = { call$1(s) { - return A._Uri__uriEncode(B.List_qg40, A._asString(s), B.C_Utf8Codec, false); + return A._Uri__uriEncode(B.List_XRg0, A._asString(s), B.C_Utf8Codec, false); }, - $signature: 23 + $signature: 17 }; A.UriData.prototype = { get$uri() { @@ -13156,11 +13849,11 @@ 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); + query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, B.List_oFp, 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), query, _null); + t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, B.List_XRg, false, false), query, _null); } return t1; }, @@ -13182,31 +13875,38 @@ B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition); return t1; }, - $signature: 28 + $signature: 61 }; 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; + t2 = chars.charCodeAt(i) ^ 96; if (!(t2 < 96)) return A.ioore(target, t2); target[t2] = transition; } }, - $signature: 22 + $signature: 18 }; 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) { + var i, n, + t1 = range.length; + if (0 >= t1) + return A.ioore(range, 0); + i = range.charCodeAt(0); + if (1 >= t1) + return A.ioore(range, 1); + n = range.charCodeAt(1); + for (; i <= n; ++i) { t1 = (i ^ 96) >>> 0; if (!(t1 < 96)) return A.ioore(target, t1); target[t1] = transition; } }, - $signature: 22 + $signature: 18 }; A._SimpleUri.prototype = { get$hasAuthority() { @@ -13278,7 +13978,7 @@ return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : ""; }, get$pathSegments() { - var parts, i, + var parts, t2, i, start = this._pathStart, end = this._queryStart, t1 = this._uri; @@ -13287,11 +13987,14 @@ 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) { + for (t2 = t1.length, i = start; i < end; ++i) { + if (!(i >= 0 && i < t2)) + return A.ioore(t1, i); + if (t1.charCodeAt(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); }, @@ -13391,9 +14094,11 @@ ++backCount; refStart = refStart0; } - for (insert = ""; baseEnd > baseStart0;) { + for (t3 = baseUri.length, insert = ""; baseEnd > baseStart0;) { --baseEnd; - if (B.JSString_methods.codeUnitAt$1(baseUri, baseEnd) === 47) { + if (!(baseEnd >= 0 && baseEnd < t3)) + return A.ioore(baseUri, baseEnd); + if (baseUri.charCodeAt(baseEnd) === 47) { if (backCount === 0) { insert = "/"; break; @@ -13427,7 +14132,7 @@ throw A.wrapException(A.UnsupportedError$(string$.Cannotff)); } t3 = $.$get$_Uri__isWindowsCached(); - if (A.boolConversionCheck(t3)) + if (t3) t1 = A._Uri__toWindowsFilePath(_this); else { if (_this._hostStart < _this._portStart) @@ -13474,12 +14179,16 @@ }; A.AnchorElement.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.AreaElement.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.Blob.prototype = {}; @@ -13496,7 +14205,9 @@ A.CssRule.prototype = {$isCssRule: 1}; A.CssStyleDeclaration.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.CssStyleDeclarationBase.prototype = {}; @@ -13515,28 +14226,32 @@ A.DataTransferItemList.prototype = { get$length(receiver) { return receiver.length; - }, - $index(receiver, index) { - return receiver[A._asInt(index)]; } }; A.DomException.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.DomRectList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Rectangle_num._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13612,16 +14327,21 @@ }; A.DomStringList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); A._asString(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13637,28 +14357,37 @@ }; A.DomTokenList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.Element.prototype = { toString$0(receiver) { - return receiver.localName; + var t1 = receiver.localName; + t1.toString; + return t1; } }; A.EventTarget.prototype = {}; A.File.prototype = {$isFile: 1}; A.FileList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.File._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13685,21 +14414,28 @@ A.Gamepad.prototype = {$isGamepad: 1}; A.History.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.HtmlCollection.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13715,7 +14451,9 @@ }; A.Location.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.MediaList.prototype = { @@ -13724,18 +14462,25 @@ } }; A.MidiInputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -13744,10 +14489,14 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); @@ -13758,21 +14507,28 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 5 + $signature: 4 }; A.MidiOutputMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -13781,10 +14537,14 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); @@ -13795,21 +14555,26 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 5 + $signature: 4 }; A.MimeType.prototype = {$isMimeType: 1}; A.MimeTypeArray.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.MimeType._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13832,16 +14597,21 @@ }; A.NodeList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13863,16 +14633,21 @@ }; A.PluginArray.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Plugin._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13887,18 +14662,25 @@ $isList: 1 }; A.RtcStatsReport.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -13907,10 +14689,14 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); @@ -13921,7 +14707,7 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 5 + $signature: 4 }; A.SelectElement.prototype = { get$length(receiver) { @@ -13931,16 +14717,21 @@ A.SourceBuffer.prototype = {$isSourceBuffer: 1}; A.SourceBufferList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.SourceBuffer._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13957,16 +14748,21 @@ A.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; A.SpeechGrammarList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.SpeechGrammar._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -13987,6 +14783,9 @@ $isSpeechRecognitionResult: 1 }; A.Storage.prototype = { + containsKey$1(receiver, key) { + return receiver.getItem(key) != null; + }, $index(receiver, key) { return receiver.getItem(A._asString(key)); }, @@ -14011,7 +14810,9 @@ return keys; }, get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; }, get$isEmpty(receiver) { return receiver.key(0) == null; @@ -14022,23 +14823,28 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 30 + $signature: 27 }; A.StyleSheet.prototype = {$isStyleSheet: 1}; A.TextTrack.prototype = {$isTextTrack: 1}; A.TextTrackCue.prototype = {$isTextTrackCue: 1}; A.TextTrackCueList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.TextTrackCue._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14054,16 +14860,21 @@ }; A.TextTrackList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.TextTrack._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14079,22 +14890,29 @@ }; A.TimeRanges.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + return t1; } }; A.Touch.prototype = {$isTouch: 1}; A.TouchList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Touch._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14115,7 +14933,9 @@ }; A.Url.prototype = { toString$0(receiver) { - return String(receiver); + var t1 = String(receiver); + t1.toString; + return t1; } }; A.VideoTrackList.prototype = { @@ -14125,16 +14945,21 @@ }; A._CssRuleList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.CssRule._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14225,16 +15050,19 @@ }; A._GamepadList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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)); + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); return receiver[index]; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.nullable_Gamepad._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14250,16 +15078,21 @@ }; A._NamedNodeMap.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Node._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14275,16 +15108,21 @@ }; A._SpeechRecognitionResultList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.SpeechRecognitionResult._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14300,16 +15138,21 @@ }; A._StyleSheetList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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]; + var t1 = receiver.length, + t2 = index >>> 0 !== index || index >= t1; + t2.toString; + if (t2) + throw A.wrapException(A.IndexError$withLength(index, t1, receiver, null)); + t1 = receiver[index]; + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.StyleSheet._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14390,13 +15233,15 @@ A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; A.__StyleSheetList_JavaScriptObject_ListMixin.prototype = {}; A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin.prototype = {}; - A._convertDataTree__convert.prototype = { + A.jsify__convert.prototype = { call$1(o) { - var convertedMap, t2, key, convertedList, - t1 = this._convertedObjects; + var t1, convertedMap, t2, key, convertedList; + if (A._noJsifyRequired(o)) + return o; + t1 = this._convertedObjects; if (t1.containsKey$1(0, o)) return t1.$index(0, o); - if (type$.Map_dynamic_dynamic._is(o)) { + if (type$.Map_of_nullable_Object_and_nullable_Object._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();) { @@ -14404,7 +15249,7 @@ convertedMap[key] = this.call$1(t1.$index(o, key)); } return convertedMap; - } else if (type$.Iterable_dynamic._is(o)) { + } else if (type$.Iterable_nullable_Object._is(o)) { convertedList = []; t1.$indexSet(0, o, convertedList); B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic)); @@ -14412,13 +15257,13 @@ } else return o; }, - $signature: 20 + $signature: 19 }; A.promiseToFuture_closure.prototype = { call$1(r) { return this.completer.complete$1(0, this.T._eval$1("0/?")._as(r)); }, - $signature: 3 + $signature: 5 }; A.promiseToFuture_closure0.prototype = { call$1(e) { @@ -14426,22 +15271,32 @@ return this.completer.completeError$1(new A.NullRejectionException(e === undefined)); return this.completer.completeError$1(e); }, - $signature: 3 + $signature: 5 }; A.dartify_convert.prototype = { call$1(o) { - var proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, $length, - t1 = this._convertedObjects; + var t1, millisSinceEpoch, proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, $length; + if (A._noDartifyRequired(o)) + return o; + t1 = this._convertedObjects; + o.toString; 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 Date) { + millisSinceEpoch = o.getTime(); + if (Math.abs(millisSinceEpoch) <= 864e13) + t1 = false; + else + t1 = true; + if (t1) + A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + millisSinceEpoch, null)); + A.checkNotNullable(true, "isUtc", type$.bool); + return new A.DateTime(millisSinceEpoch, 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); + return A.promiseToFuture(o, type$.nullable_Object); proto = Object.getPrototypeOf(o); if (proto === Object.prototype || proto === null) { t2 = type$.nullable_Object; @@ -14472,7 +15327,7 @@ } return o; }, - $signature: 20 + $signature: 19 }; A.NullRejectionException.prototype = { toString$0(_) { @@ -14483,16 +15338,22 @@ A.Length.prototype = {$isLength: 1}; A.LengthList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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.getItem(index); + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Length._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14506,16 +15367,22 @@ A.Number.prototype = {$isNumber: 1}; A.NumberList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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.getItem(index); + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Number._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14533,16 +15400,22 @@ }; A.StringList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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.getItem(index); + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); A._asString(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14556,16 +15429,22 @@ A.Transform.prototype = {$isTransform: 1}; A.TransformList.prototype = { get$length(receiver) { - return receiver.length; + var t1 = receiver.length; + t1.toString; + 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.getItem(index); + var t1 = receiver.length; + t1.toString; + t1 = index >>> 0 !== index || index >= t1; + t1.toString; + if (t1) + throw A.wrapException(A.IndexError$withLength(index, this.get$length(receiver), receiver, null)); + t1 = receiver.getItem(index); + t1.toString; + return t1; }, $indexSet(receiver, index, value) { - A._asInt(index); type$.Transform._as(value); throw A.wrapException(A.UnsupportedError$("Cannot assign element of immutable List.")); }, @@ -14590,18 +15469,25 @@ } }; A.AudioParamMap.prototype = { + containsKey$1(receiver, key) { + return A.convertNativeToDart_Dictionary(receiver.get(key)) != null; + }, $index(receiver, key) { return A.convertNativeToDart_Dictionary(receiver.get(A._asString(key))); }, forEach$1(receiver, f) { - var entries, entry; + var entries, entry, t1; type$.void_Function_String_dynamic._as(f); entries = receiver.entries(); for (; true;) { entry = entries.next(); - if (entry.done) + t1 = entry.done; + t1.toString; + if (t1) return; - f.call$2(entry.value[0], A.convertNativeToDart_Dictionary(entry.value[1])); + t1 = entry.value[0]; + t1.toString; + f.call$2(t1, A.convertNativeToDart_Dictionary(entry.value[1])); } }, get$keys(receiver) { @@ -14610,10 +15496,14 @@ return keys; }, get$length(receiver) { - return receiver.size; + var t1 = receiver.size; + t1.toString; + return t1; }, get$isEmpty(receiver) { - return receiver.size === 0; + var t1 = receiver.size; + t1.toString; + return t1 === 0; }, $indexSet(receiver, key, value) { throw A.wrapException(A.UnsupportedError$("Not supported")); @@ -14624,7 +15514,7 @@ call$2(k, v) { return B.JSArray_methods.add$1(this.keys, k); }, - $signature: 5 + $signature: 4 }; A.AudioTrackList.prototype = { get$length(receiver) { @@ -14663,29 +15553,29 @@ call$0() { this.$this._addingStream = false; }, - $signature: 2 + $signature: 3 }; A.Context.prototype = { - absolute$7(_, part1, part2, part3, part4, part5, part6, part7) { + absolute$15(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) { var t1; - A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7], type$.JSArray_nullable_String)); + A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], 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 ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7); + return this.join$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15); }, absolute$1($receiver, part1) { - return this.absolute$7($receiver, part1, null, null, null, null, null, null); + return this.absolute$15($receiver, part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, - 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); + join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) { + var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String); A._validateArgList("join", parts); return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String)); }, join$2($receiver, part1, part2) { - return this.join$8($receiver, part1, part2, null, null, null, null, null, null); + return this.join$16($receiver, part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, joinAll$1(parts) { var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6; @@ -14740,14 +15630,17 @@ return parsed.toString$0(0); }, _needsNormalization$1(path) { - var i, start, previous, t2, t3, previousPrevious, codeUnit, t4, + var t2, i, start, previous, 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) + for (t2 = path.length, i = 0; i < root; ++i) { + if (!(i < t2)) + return A.ioore(path, i); + if (path.charCodeAt(i) === 47) return true; + } start = root; previous = 47; } else { @@ -14755,7 +15648,9 @@ previous = null; } 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 (!(i >= 0)) + return A.ioore(t2, i); + codeUnit = t2.charCodeAt(i); if (t1.isSeparator$1(codeUnit)) { if (t1 === $.$get$Style_windows() && codeUnit === 47) return true; @@ -14915,7 +15810,7 @@ A._asStringQ(arg); return arg == null ? "null" : '"' + arg + '"'; }, - $signature: 33 + $signature: 31 }; A.InternalStyle.prototype = { getRoot$1(path) { @@ -14932,12 +15827,15 @@ return t1; }, relativePathToUri$1(path) { - var segments, _null = null, + var segments, t2, _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))) + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + if (this.isSeparator$1(path.charCodeAt(t2))) B.JSArray_methods.add$1(segments, ""); return A._Uri__Uri(_null, _null, segments, _null); }, @@ -15049,11 +15947,27 @@ return codeUnit === 47; }, needsSeparator$1(path) { - var t1 = path.length; - return t1 !== 0 && B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47; + var t2, + t1 = path.length; + if (t1 !== 0) { + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2) !== 47; + t1 = t2; + } else + t1 = false; + return t1; }, rootLength$2$withDrive(path, withDrive) { - if (path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47) + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + if (t1) return 1; return 0; }, @@ -15095,10 +16009,14 @@ return codeUnit === 47; }, needsSeparator$1(path) { - var t1 = path.length; + var t2, + t1 = path.length; if (t1 === 0) return false; - if (B.JSString_methods.codeUnitAt$1(path, t1 - 1) !== 47) + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + if (path.charCodeAt(t2) !== 47) return true; return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1; }, @@ -15107,10 +16025,12 @@ t1 = path.length; if (t1 === 0) return 0; - if (B.JSString_methods._codeUnitAt$1(path, 0) === 47) + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) return 1; for (i = 0; i < t1; ++i) { - codeUnit = B.JSString_methods._codeUnitAt$1(path, i); + codeUnit = path.charCodeAt(i); if (codeUnit === 47) return 0; if (codeUnit === 58) { @@ -15135,7 +16055,14 @@ return this.rootLength$2$withDrive(path, false); }, isRootRelative$1(path) { - return path.length !== 0 && B.JSString_methods._codeUnitAt$1(path, 0) === 47; + var t1 = path.length; + if (t1 !== 0) { + if (0 >= t1) + return A.ioore(path, 0); + t1 = path.charCodeAt(0) === 47; + } else + t1 = false; + return t1; }, pathFromUri$1(uri) { return uri.toString$0(0); @@ -15161,22 +16088,33 @@ return codeUnit === 47 || codeUnit === 92; }, needsSeparator$1(path) { - var t1 = path.length; + var t2, + t1 = path.length; if (t1 === 0) return false; - t1 = B.JSString_methods.codeUnitAt$1(path, t1 - 1); - return !(t1 === 47 || t1 === 92); + t2 = t1 - 1; + if (!(t2 >= 0)) + return A.ioore(path, t2); + t2 = path.charCodeAt(t2); + return !(t2 === 47 || t2 === 92); }, 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) + if (0 >= t1) + return A.ioore(path, 0); + if (path.charCodeAt(0) === 47) return 1; - if (t2 === 92) { - if (t1 < 2 || B.JSString_methods._codeUnitAt$1(path, 1) !== 92) + if (path.charCodeAt(0) === 92) { + if (t1 >= 2) { + if (1 >= t1) + return A.ioore(path, 1); + t2 = path.charCodeAt(1) !== 92; + } else + t2 = true; + if (t2) return 1; index = B.JSString_methods.indexOf$2(path, "\\", 2); if (index > 0) { @@ -15188,11 +16126,11 @@ } if (t1 < 3) return 0; - if (!A.isAlphabetic(t2)) + if (!A.isAlphabetic(path.charCodeAt(0))) return 0; - if (B.JSString_methods._codeUnitAt$1(path, 1) !== 58) + if (path.charCodeAt(1) !== 58) return 0; - t1 = B.JSString_methods._codeUnitAt$1(path, 2); + t1 = path.charCodeAt(2); if (!(t1 === 47 || t1 === 92)) return 0; return 3; @@ -15252,15 +16190,19 @@ return upperCase1 >= 97 && upperCase1 <= 122; }, pathsEqual$2(path1, path2) { - var t1, i; + var t1, t2, i; if (path1 === path2) return true; t1 = path1.length; - if (t1 !== path2.length) + t2 = path2.length; + if (t1 !== t2) 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))) + for (i = 0; i < t1; ++i) { + if (!(i < t2)) + return A.ioore(path2, i); + if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i))) return false; + } return true; }, get$name() { @@ -15285,7 +16227,7 @@ 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$.______); + 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$.x3d_____); }, $isStackTrace: 1 }; @@ -15295,23 +16237,11 @@ }, $signature: 1 }; - A.Chain_Chain$parse_closure0.prototype = { - call$1(trace) { - return A.Trace$parseVM(A._asString(trace)); - }, - $signature: 18 - }; - A.Chain_Chain$parse_closure1.prototype = { - call$1(trace) { - return A.Trace$parseFriendly(A._asString(trace)); - }, - $signature: 18 - }; A.Chain_toTrace_closure.prototype = { call$1(trace) { return type$.Trace._as(trace).get$frames(); }, - $signature: 35 + $signature: 32 }; A.Chain_toString_closure0.prototype = { call$1(trace) { @@ -15319,14 +16249,14 @@ 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 + $signature: 33 }; A.Chain_toString__closure0.prototype = { call$1(frame) { type$.Frame._as(frame); return frame.get$location(frame).length; }, - $signature: 17 + $signature: 20 }; A.Chain_toString_closure.prototype = { call$1(trace) { @@ -15334,14 +16264,14 @@ 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: 38 + $signature: 35 }; 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: 16 + $signature: 21 }; A.Frame.prototype = { get$isCore() { @@ -15399,7 +16329,7 @@ return A.ioore(t1, 1); t2 = t1[1]; t2.toString; - t3 = type$.Pattern._as($.$get$_asyncBody()); + t3 = $.$get$_asyncBody(); t2 = A.stringReplaceAllUnchecked(t2, t3, ""); member = A.stringReplaceAllUnchecked(t2, "", ""); if (2 >= t1.length) @@ -15488,7 +16418,7 @@ columnMatch = t1[3]; return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member); }, - $signature: 41 + $signature: 38 }; A.Frame_Frame$_parseFirefoxEval_closure.prototype = { call$0() { @@ -15595,7 +16525,7 @@ } if (uri.get$scheme() === "") { t2 = $.$get$context(); - uri = t2.toUri$1(t2.absolute$7(0, t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null)); + uri = t2.toUri$1(t2.absolute$15(0, t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); } if (2 >= t1.length) return A.ioore(t1, 2); @@ -15651,7 +16581,7 @@ call$0() { return this.$this.get$_lazy_trace$_trace().get$terse(); }, - $signature: 15 + $signature: 22 }; A.Trace.prototype = { get$terse() { @@ -15693,7 +16623,7 @@ call$0() { return A.Trace_Trace$parse(this.trace.toString$0(0)); }, - $signature: 15 + $signature: 22 }; A.Trace__parseVM_closure.prototype = { call$1(line) { @@ -15701,36 +16631,18 @@ }, $signature: 1 }; - A.Trace__parseVM_closure0.prototype = { - call$1(line) { - return A.Frame_Frame$parseVM(A._asString(line)); - }, - $signature: 4 - }; A.Trace$parseV8_closure.prototype = { call$1(line) { return !B.JSString_methods.startsWith$1(A._asString(line), $.$get$_v8TraceLine()); }, $signature: 1 }; - A.Trace$parseV8_closure0.prototype = { - call$1(line) { - return A.Frame_Frame$parseV8(A._asString(line)); - }, - $signature: 4 - }; A.Trace$parseJSCore_closure.prototype = { call$1(line) { return A._asString(line) !== "\tat "; }, $signature: 1 }; - A.Trace$parseJSCore_closure0.prototype = { - call$1(line) { - return A.Frame_Frame$parseV8(A._asString(line)); - }, - $signature: 4 - }; A.Trace$parseFirefox_closure.prototype = { call$1(line) { A._asString(line); @@ -15738,29 +16650,17 @@ }, $signature: 1 }; - A.Trace$parseFirefox_closure0.prototype = { - call$1(line) { - return A.Frame_Frame$parseFirefox(A._asString(line)); - }, - $signature: 4 - }; A.Trace$parseFriendly_closure.prototype = { call$1(line) { return !B.JSString_methods.startsWith$1(A._asString(line), "====="); }, $signature: 1 }; - A.Trace$parseFriendly_closure0.prototype = { - call$1(line) { - return A.Frame_Frame$parseFriendly(A._asString(line)); - }, - $signature: 4 - }; A.Trace_terse_closure.prototype = { call$1(_) { return false; }, - $signature: 13 + $signature: 23 }; A.Trace_foldFrames_closure.prototype = { call$1(frame) { @@ -15777,7 +16677,7 @@ return false; return frame.get$line(frame) == null; }, - $signature: 13 + $signature: 23 }; A.Trace_foldFrames_closure0.prototype = { call$1(frame) { @@ -15786,17 +16686,17 @@ if (frame instanceof A.UnparsedFrame || !A.boolConversionCheck(this._box_0.predicate.call$1(frame))) return frame; t1 = frame.get$library(); - t2 = type$.Pattern._as($.$get$_terseRegExp()); + t2 = $.$get$_terseRegExp(); return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member()); }, - $signature: 45 + $signature: 62 }; A.Trace_toString_closure0.prototype = { call$1(frame) { type$.Frame._as(frame); return frame.get$location(frame).length; }, - $signature: 17 + $signature: 20 }; A.Trace_toString_closure.prototype = { call$1(frame) { @@ -15805,7 +16705,7 @@ return frame.toString$0(0) + "\n"; return B.JSString_methods.padRight$1(frame.get$location(frame), this.longest) + " " + A.S(frame.get$member()) + "\n"; }, - $signature: 16 + $signature: 21 }; A.UnparsedFrame.prototype = { toString$0(_) { @@ -15983,7 +16883,7 @@ t1._addStreamCompleter = null; t1.set$_addStreamSubscription(null); }, - $signature: 8 + $signature: 10 }; A._MultiChannel.prototype = { _MultiChannel$1(inner, $T) { @@ -16020,13 +16920,13 @@ if (_this._pendingIds.remove$1(0, id)) { t2 = _this._controllers.$index(0, id); t2.toString; - controller.__late_helper$_value = t2; + controller._value = t2; } else { 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.__late_helper$_value = A.StreamChannelController$(true, _this.$ti._precomputed1); + controller._value = A.StreamChannelController$(true, _this.$ti._precomputed1); t2.$indexSet(0, id, controller._readLocal$0()); } } @@ -16072,8 +16972,10 @@ 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; + for (t1 = _this._controllers, t2 = t1.get$values(t1), t2 = A.List_List$of(t2, false, A._instanceType(t2)._eval$1("Iterable.E")), t3 = t2.length, _i = 0; _i < t3; ++_i) { + t4 = t2[_i].__StreamChannelController__local_F; + t4 === $ && A.throwLateFieldNI("_local"); + t4 = t4.__GuaranteeChannel__sink_F; t4 === $ && A.throwLateFieldNI("_sink"); t4.close$0(0); } @@ -16104,7 +17006,7 @@ var t1, id, t2, t3, controller, t4; type$.List_dynamic._as(message); t1 = J.getInterceptor$asx(message); - id = A._asInt(t1.$index(message, 0)); + id = B.JSNumber_methods.toInt$0(A._asNum(t1.$index(message, 0))); t2 = this.$this; if (t2._closedIds.contains$1(0, id)) return; @@ -16124,7 +17026,7 @@ t1.close$0(0); } }, - $signature: 46 + $signature: 42 }; A._MultiChannel__closure.prototype = { call$0() { @@ -16156,11 +17058,6 @@ }; A.VirtualChannel.prototype = {$isMultiChannel: 1}; A.StreamChannelController.prototype = { - get$local() { - var t1 = this.__StreamChannelController__local_F; - t1 === $ && A.throwLateFieldNI("_local"); - return t1; - }, set$__StreamChannelController__local_F(__StreamChannelController__local_F) { this.__StreamChannelController__local_F = this.$ti._eval$1("StreamChannel<1>")._as(__StreamChannelController__local_F); }, @@ -16169,87 +17066,243 @@ } }; 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.MessagePortExtension_get_postMessage_closure.prototype = { + call$1(message) { + var t2, + t1 = A._setArrayType([], type$.JSArray_Object); + if (message != null) { + t2 = A.jsify(message); + t1.push(t2 == null ? type$.Object._as(t2) : t2); + } + return A.callMethod(this._this, "postMessage", t1, type$.void); + }, + $signature: 7 + }; A.Subscription.prototype = {}; - A.TestRunner.prototype = {}; - A._JSApi.prototype = {}; A.main_closure.prototype = { call$0() { - var serverChannel = A._connectToServer(), + var play, + 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; - A.EventTargetExtension_addEventListener(t1, "click", A.allowInterop(new A.main__closure1(serverChannel), type$.void_Function_JavaScriptObject)); + play = type$.nullable_JavaScriptObject._as(self.document.querySelector("#play")); + play.toString; + A.EventTargetExtension_addEventListener(play, "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 + $signature: 3 }; 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 = $._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); + var _0_4, _0_3, _0_9, _0_12, _0_15, _0_14, t1, t2, channel, url, id, suiteChannel, _null = null; + $label0$0: { + _0_4 = A._InitializedCell$named("#0#4", new A.main___closure(message)); + _0_3 = A._InitializedCell$named("#0#3", new A.main___closure0(message)); + _0_9 = A._InitializedCell$named("#0#9", new A.main___closure1(message)); + _0_12 = A._InitializedCell$named("#0#12", new A.main___closure2(message)); + _0_15 = A._InitializedCell$named("#0#15", new A.main___closure3(message)); + _0_14 = A._InitializedCell$named("#0#14", new A.main___closure4(message)); + t1 = type$.Map_dynamic_dynamic._is(message); + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + if (t2) + if ("loadSuite" === _0_4._readFinal$0()) { + if (_0_9._readFinal$0() == null) + t2 = J.containsKey$1$x(message, "channel"); + else + t2 = true; + if (t2) + if (typeof _0_9._readFinal$0() == "number") { + channel = _0_9._readFinal$0(); + if (_0_12._readFinal$0() == null) + t2 = J.containsKey$1$x(message, "url"); + else + t2 = true; + if (t2) + if (typeof _0_12._readFinal$0() == "string") { + url = _0_12._readFinal$0(); + if (_0_15._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_14._readFinal$0()); + else + t2 = true; + if (t2) + if (typeof _0_15._readFinal$0() == "number") { + id = _0_15._readFinal$0(); + t2 = true; + } else { + id = _null; + t2 = false; + } + else { + id = _null; + t2 = false; + } + } else { + id = _null; + url = id; + t2 = false; + } + else { + id = _null; + url = id; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + else { + id = _null; + url = id; + channel = url; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + else { + id = _null; + url = id; + channel = url; + t2 = false; + } + } else { + id = _null; + url = id; + channel = url; + t2 = false; + } + if (t2) { + suiteChannel = this.serverChannel.virtualChannel$1(J.toInt$0$n(channel)); + t1 = suiteChannel.$ti._eval$1("StreamChannel<1>")._as(A._connectToIframe(url, J.toInt$0$n(id))); + 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); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + t2 = t2 && "displayPause" === _0_4._readFinal$0(); + } else + t2 = false; + if (t2) { + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).add("paused"); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t2 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t2 = true; + t2 = t2 && "resume" === _0_4._readFinal$0(); + } else + t2 = false; + if (t2) { + type$.JavaScriptObject._as(type$.nullable_JavaScriptObject._as(self.document.body).classList).remove("paused"); + break $label0$0; + } + if (t1) { + if (_0_4._readFinal$0() == null) + t1 = A.boolConversionCheck(_0_3._readFinal$0()); + else + t1 = true; + if (t1) + if ("closeSuite" === _0_4._readFinal$0()) { + if (_0_15._readFinal$0() == null) + t1 = A.boolConversionCheck(_0_14._readFinal$0()); + else + t1 = true; + if (t1) { + id = _0_15._readFinal$0(); + t1 = true; + } else { + id = _null; + t1 = false; + } + } else { + id = _null; + t1 = false; + } + else { + id = _null; + t1 = false; + } + } else { + id = _null; + t1 = false; + } + if (t1) { + t1 = $._iframes.remove$1(0, id); + t2 = type$.nullable_JavaScriptObject; + if (t2._as(t1.parentNode) != null) + type$.JavaScriptObject._as(t2._as(t1.parentNode).removeChild(t1)); + t1 = $._subscriptions.remove$1(0, id); + if (t1 != null) + J.cancel$0$z(t1); + t1 = $._domSubscriptions.remove$1(0, id); + if (t1 != null) + A.EventTargetExtension_removeEventListener(t1.target, t1.type, t1.listener); + break $label0$0; } + type$.JavaScriptObject._as(self.window.console).warn("Unhandled message from test runner: " + A.S(message)); } }, - $signature: 3 + $signature: 5 + }; + A.main___closure.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "command"); + }, + $signature: 2 + }; + A.main___closure0.prototype = { + call$0() { + return J.containsKey$1$x(type$.Map_dynamic_dynamic._as(this._0_0), "command"); + }, + $signature: 24 + }; + A.main___closure1.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "channel"); + }, + $signature: 2 + }; + A.main___closure2.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "url"); + }, + $signature: 2 + }; + A.main___closure3.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "id"); + }, + $signature: 2 + }; + A.main___closure4.prototype = { + call$0() { + return J.containsKey$1$x(type$.Map_dynamic_dynamic._as(this._0_0), "id"); + }, + $signature: 24 }; A.main__closure0.prototype = { call$1(_) { @@ -16262,7 +17315,7 @@ t2 = type$.String; return t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "ping"], t2, t2)); }, - $signature: 47 + $signature: 44 }; A.main__closure1.prototype = { call$1(_) { @@ -16280,7 +17333,7 @@ t2 = type$.String; t1.add$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["command", "resume"], t2, t2)); }, - $signature: 7 + $signature: 8 }; A.main__closure2.prototype = { call$0() { @@ -16312,17 +17365,11 @@ }; 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 - toZone.call$1(line); + type$.JavaScriptObject._as(self.window.console).warn(A.S(error) + "\n" + A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)); }, - $signature: 10 + $signature: 11 }; A._connectToServer_closure.prototype = { call$1(message) { @@ -16334,41 +17381,89 @@ t1 === $ && A.throwLateFieldNI("_sink"); t1.add$1(0, B.C_JsonCodec.decode$2$reviver(0, A._asString(A.dartify(message.data)), null)); }, - $signature: 7 + $signature: 8 }; A._connectToServer_closure0.prototype = { call$1(message) { - return A.callMethod(this.webSocket, "send", [B.C_JsonCodec.encode$2$toEncodable(message, null)], type$.void); + return this.webSocket.send(B.C_JsonCodec.encode$2$toEncodable(message, null)); }, - $signature: 3 + $signature: 5 }; A._connectToIframe_closure.prototype = { call$1($event) { - var t2, t3, _this = this, + var t2, _0_0, _0_6, _0_11, port, data, _this = this, _null = null, t1 = type$.JavaScriptObject; t1._as($event); if (A._asString($event.origin) !== A._asString(t1._as(self.window.location).origin)) return; - t2 = _this.iframe; - if (!J.$eq$(J.$index$asx(A.dartify($event.data), "href"), A._asStringQ(t2.src))) + t2 = $event.source.location; + t2 = t2 == null ? _null : A._asStringQ(t2.href); + if (t2 != A._asStringQ(_this.iframe.src)) return; $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")); + t2 = _this.windowSubscription._readLocal$0(); + A.EventTargetExtension_removeEventListener(t2.target, t2.type, t2.listener); + $label0$0: { + _0_0 = A.dartify($event.data); + _0_6 = A._InitializedCell$named("#0#6", new A._connectToIframe__closure(_0_0)); + _0_11 = A._InitializedCell$named("#0#11", new A._connectToIframe__closure0(_0_0)); + if ("port" === _0_0) { + t1._as(self.window.console).log("Connecting channel for suite " + _this.suiteUrl.toString$0(0)); + t1 = J.cast$1$0$ax(type$.List_dynamic._as($event.ports), t1); + port = t1.get$first(t1); + t1 = _this.id; + t2 = _this.controller; + $._domSubscriptions.$indexSet(0, t1, A.Subscription$(port, "message", A.allowInterop(new A._connectToIframe__closure1(t2), type$.void_Function_JavaScriptObject))); + port.start(); + t2 = t2.__StreamChannelController__local_F; + t2 === $ && A.throwLateFieldNI("_local"); + t2 = t2.__GuaranteeChannel__streamController_F; + t2 === $ && A.throwLateFieldNI("_streamController"); + $._subscriptions.$indexSet(0, t1, new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>")).listen$1(A.MessagePortExtension_get_postMessage(port))); + break $label0$0; + } + if (type$.Map_dynamic_dynamic._is(_0_0)) { + if (_0_6._readFinal$0() == null) + t1 = J.containsKey$1$x(_0_0, "exception"); + else + t1 = true; + if (t1) + if (true === _0_6._readFinal$0()) { + if (_0_11._readFinal$0() == null) + t1 = J.containsKey$1$x(_0_0, "data"); + else + t1 = true; + if (t1) { + data = _0_11._readFinal$0(); + t1 = true; + } else { + data = _null; + t1 = false; + } + } else { + data = _null; + t1 = false; + } + else { + data = _null; + t1 = false; + } + } else { + data = _null; + t1 = false; + } + if (t1) { + t1 = _this.controller.__StreamChannelController__local_F; + t1 === $ && A.throwLateFieldNI("_local"); + t1 = t1.__GuaranteeChannel__sink_F; + t1 === $ && A.throwLateFieldNI("_sink"); + t1.add$1(0, data); + } } }, - $signature: 7 + $signature: 8 }; - A._connectToIframe_closure0.prototype = { + A._connectToIframe__closure1.prototype = { call$1($event) { var t1; type$.JavaScriptObject._as($event); @@ -16376,42 +17471,21 @@ 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")); + t1.add$1(0, A.dartify($event.data)); }, - $signature: 7 + $signature: 8 }; - A._connectToIframe_closure1.prototype = { - call$1(message) { - var $async$goto = 0, - $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 A._asyncRethrow($async$result, $async$completer); - while (true) - switch ($async$goto) { - case 0: - // Function start - $async$goto = 2; - return A._asyncAwait($async$self.readyCompleter.future, $async$call$1); - case 2: - // returning from await. - 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 A._asyncReturn(null, $async$completer); - } - }); - return A._asyncStartSync($async$call$1, $async$completer); + A._connectToIframe__closure.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "exception"); + }, + $signature: 2 + }; + A._connectToIframe__closure0.prototype = { + call$0() { + return J.$index$asx(type$.Map_dynamic_dynamic._as(this._0_0), "data"); }, - $signature: 49 + $signature: 2 }; (function aliases() { var _ = J.Interceptor.prototype; @@ -16431,106 +17505,113 @@ _instance_2_u = hunkHelpers._instance_2u, _instance_1_i = hunkHelpers._instance_1i, _instance_0_u = hunkHelpers._instance_0u; - _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); + _instance_1_u(A.CastStreamSubscription.prototype, "get$__internal$_onData", "__internal$_onData$1", 7); + _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 13); + _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 13); + _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 13); _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_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 5); + _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 11); _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0); - _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 51, 0); + _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 47, 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); + }], 48, 1); _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); + }], 49, 1); _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); + }], 50, 1); _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); + }], 51, 0); _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); + }], 52, 0); _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(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); + }], 53, 0); + _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 54, 0); + _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 55, 0); + _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 56, 0); + _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 57, 0); + _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 58, 0); + _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 59, 0); _instance(A._SyncCompleter.prototype, "get$complete", 1, 0, function() { return [null]; - }, ["call$1", "call$0"], ["complete$1", "complete$0"], 39, 0, 0); - _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 10); + }, ["call$1", "call$0"], ["complete$1", "complete$0"], 43, 0, 0); + _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 11); var _; - _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 12); + _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 7); _instance(_, "get$addError", 0, 1, function() { return [null]; - }, ["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); + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 12, 0, 0); + _instance_1_i(A._StreamSinkWrapper.prototype, "get$add", "add$1", 7); + _instance_0_u(A._DoneStreamSubscription.prototype, "get$_onMicrotask", "_onMicrotask$0", 0); + _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 15); + _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 17); + _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 9); + _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 9); + _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 9); + _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 9); + _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 14); + _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 14); _instance(_ = A._GuaranteeSink.prototype, "get$addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["addError$2", "addError$1"], 11, 0, 0); + }, ["call$2", "call$1"], ["addError$2", "addError$1"], 12, 0, 0); _instance(_, "get$_addError", 0, 1, function() { return [null]; - }, ["call$2", "call$1"], ["_addError$2", "_addError$1"], 11, 0, 0); + }, ["call$2", "call$1"], ["_addError$2", "_addError$1"], 12, 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); + }], 41, 0); })(); (function inheritance() { var _mixin = hunkHelpers.mixin, _inherit = hunkHelpers.inherit, _inheritMany = hunkHelpers.inheritMany; _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]); + _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Stream, A.CastStreamSubscription, A.Iterable, A.CastIterator, A.Error, A.ListBase, A.Closure, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.JSInvocationMirror, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A._StackTrace, A._Required, A.MapBase, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A._InitializedCell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A._StreamController, A._SyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.SetBase, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._UnmodifiableMapMixin, A.Codec, A.Converter, 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.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]); + _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData, 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]); _inherit(J.JSUnmodifiableArray, J.JSArray); _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); + _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable]); + _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin]); + _inherit(A._EfficientLengthCastIterable, A.CastIterable); + _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin); + _inherit(A.CastList, A._CastListBase); + _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A.AssertionError, A._Error, A.JsonUnsupportedObjectError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]); _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.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._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.jsify__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_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, 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.MessagePortExtension_get_postMessage_closure, A.main__closure, A.main__closure0, A.main__closure1, A._connectToServer_closure, A._connectToServer_closure0, A._connectToIframe_closure, 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__chainCoreFutureAsync_closure, A._Future__asyncCompleteWithValue_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___closure, A.main___closure0, A.main___closure1, A.main___closure2, A.main___closure3, A.main___closure4, A.main__closure2, A.main__closure3, A._connectToIframe__closure, A._connectToIframe__closure0]); + _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, 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.EfficientLengthSkipIterable, A.SkipIterable); _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]); + _inheritMany(A.Closure2Args, [A.Primitives_functionNoSuchMethod_closure, A.initHooks_closure0, 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.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._Completer, [A._AsyncCompleter, A._SyncCompleter]); @@ -16540,11 +17621,10 @@ _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._SetBase, A.SetBase); _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); @@ -16611,83 +17691,77 @@ _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.__CastListBase__CastIterableBase_ListMixin, A.ListBase); + _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase); _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin); - _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListMixin); + _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase); _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, A.ListBase); _mixin(A._DomRectList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._DomStringList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._DomStringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._FileList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._FileList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._HtmlCollection_JavaScriptObject_ListMixin, A.ListBase); _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._MidiInputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MidiOutputMap_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._MimeTypeArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NodeList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._NodeList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._PluginArray_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._PluginArray_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapMixin); - _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._RtcStatsReport_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._SourceBufferList_EventTarget_ListMixin, A.ListBase); _mixin(A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._SpeechGrammarList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapMixin); - _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._Storage_JavaScriptObject_MapMixin, A.MapBase); + _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._TextTrackCueList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListMixin); + _mixin(A._TextTrackList_EventTarget_ListMixin, A.ListBase); _mixin(A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TouchList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._TouchList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__CssRuleList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__CssRuleList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__GamepadList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__GamepadList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__NamedNodeMap_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__SpeechRecognitionResultList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A.__StyleSheetList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._LengthList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._LengthList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._NumberList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._NumberList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._StringList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._StringList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListMixin); + _mixin(A._TransformList_JavaScriptObject_ListMixin, A.ListBase); _mixin(A._TransformList_JavaScriptObject_ListMixin_ImmutableListMixin, A.ImmutableListMixin); - _mixin(A._AudioParamMap_JavaScriptObject_MapMixin, A.MapMixin); + _mixin(A._AudioParamMap_JavaScriptObject_MapMixin, A.MapBase); })(); 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)"], + types: ["~()", "bool(String)", "@()", "Null()", "~(String,@)", "~(@)", "Frame()", "~(Object?)", "~(JavaScriptObject)", "Frame(String)", "Null(@)", "~(Object,StackTrace)", "~(Object[StackTrace?])", "~(~())", "Trace(String)", "@(@)", "~(Object?,Object?)", "String(String)", "~(Uint8List,String,int)", "Object?(Object?)", "int(Frame)", "String(Frame)", "Trace()", "bool(Frame)", "bool()", "~(String,int)", "Null(Object,StackTrace)", "~(String,String)", "_Future<@>(@)", "Future<@>(@)", "Null(~())", "String(String?)", "List(Trace)", "int(Trace)", "~(Zone,ZoneDelegate,Zone,Object,StackTrace)", "String(Trace)", "@(@,String)", "@(String)", "Frame(String,String)", "~(Symbol0,@)", "Map(Map,String)", "0^(0^,0^)", "~(List<@>)", "~([Object?])", "~(Timer)", "~(String,int?)", "int(int,int)", "~(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)", "Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map?)", "Future()", "Uint8List(@,@)", "Frame(Frame)"], 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}')); + A._Universe_addRules(init.typeUniverse, JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"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","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"JavaScriptObject":[]},"JSArray":{"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"Iterable":["1"]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[]},"JSInt":{"double":[],"int":[],"num":[],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Pattern":[],"TrustedGetRuntimeType":[]},"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":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.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"]},"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":{"ListBase":["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"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"_KeysOrValuesOrElementsIterator":{"Iterator":["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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"_AssertionError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.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":{"JavaScriptObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JavaScriptObject":[]},"NativeByteData":{"JavaScriptObject":[],"ByteData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JavaScriptObject":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"ListBase":["double"],"Float32List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"ListBase":["double"],"Float64List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"ListBase":["int"],"Int16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"ListBase":["int"],"Int32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"ListBase":["int"],"Int8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"ListBase":["int"],"Uint16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"ListBase":["int"],"Uint32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"ListBase":["int"],"Uint8ClampedList":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"ListBase":["int"],"Uint8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_Future":{"Future":["1"]},"_TimerImpl":{"Timer":[]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_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":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedHashSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedHashSetIterator":{"Iterator":["1"]},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List"]},"_UnicodeSubsetEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"AsciiEncoder":{"Converter":["String","List"],"StreamTransformer":["String","List"]},"Base64Codec":{"Codec":["List","String"]},"Base64Encoder":{"Converter":["List","String"],"StreamTransformer":["List","String"]},"_FusedCodec":{"Codec":["1","3"]},"Converter":{"StreamTransformer":["1","2"]},"Encoding":{"Codec":["String","List"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Utf8Codec":{"Codec":["String","List"]},"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":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"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":{"ListBase":["Rectangle"],"ImmutableListMixin":["Rectangle"],"List":["Rectangle"],"JavaScriptIndexingBehavior":["Rectangle"],"JavaScriptObject":[],"EfficientLengthIterable":["Rectangle"],"Iterable":["Rectangle"],"ImmutableListMixin.E":"Rectangle","ListBase.E":"Rectangle"},"DomRectReadOnly":{"JavaScriptObject":[],"Rectangle":["num"]},"DomStringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptIndexingBehavior":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"DomTokenList":{"JavaScriptObject":[]},"Element":{"Node":[],"JavaScriptObject":[]},"EventTarget":{"JavaScriptObject":[]},"FileList":{"ListBase":["File"],"ImmutableListMixin":["File"],"List":["File"],"JavaScriptIndexingBehavior":["File"],"JavaScriptObject":[],"EfficientLengthIterable":["File"],"Iterable":["File"],"ImmutableListMixin.E":"File","ListBase.E":"File"},"FileWriter":{"JavaScriptObject":[]},"FormElement":{"Node":[],"JavaScriptObject":[]},"History":{"JavaScriptObject":[]},"HtmlCollection":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"Location":{"JavaScriptObject":[]},"MediaList":{"JavaScriptObject":[]},"MidiInputMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MidiOutputMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"MimeTypeArray":{"ListBase":["MimeType"],"ImmutableListMixin":["MimeType"],"List":["MimeType"],"JavaScriptIndexingBehavior":["MimeType"],"JavaScriptObject":[],"EfficientLengthIterable":["MimeType"],"Iterable":["MimeType"],"ImmutableListMixin.E":"MimeType","ListBase.E":"MimeType"},"NodeList":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"PluginArray":{"ListBase":["Plugin"],"ImmutableListMixin":["Plugin"],"List":["Plugin"],"JavaScriptIndexingBehavior":["Plugin"],"JavaScriptObject":[],"EfficientLengthIterable":["Plugin"],"Iterable":["Plugin"],"ImmutableListMixin.E":"Plugin","ListBase.E":"Plugin"},"RtcStatsReport":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"SelectElement":{"Node":[],"JavaScriptObject":[]},"SourceBufferList":{"ListBase":["SourceBuffer"],"ImmutableListMixin":["SourceBuffer"],"List":["SourceBuffer"],"JavaScriptIndexingBehavior":["SourceBuffer"],"JavaScriptObject":[],"EfficientLengthIterable":["SourceBuffer"],"Iterable":["SourceBuffer"],"ImmutableListMixin.E":"SourceBuffer","ListBase.E":"SourceBuffer"},"SpeechGrammarList":{"ListBase":["SpeechGrammar"],"ImmutableListMixin":["SpeechGrammar"],"List":["SpeechGrammar"],"JavaScriptIndexingBehavior":["SpeechGrammar"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechGrammar"],"Iterable":["SpeechGrammar"],"ImmutableListMixin.E":"SpeechGrammar","ListBase.E":"SpeechGrammar"},"Storage":{"JavaScriptObject":[],"MapBase":["String","String"],"Map":["String","String"],"MapBase.K":"String","MapBase.V":"String"},"TextTrackCueList":{"ListBase":["TextTrackCue"],"ImmutableListMixin":["TextTrackCue"],"List":["TextTrackCue"],"JavaScriptIndexingBehavior":["TextTrackCue"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrackCue"],"Iterable":["TextTrackCue"],"ImmutableListMixin.E":"TextTrackCue","ListBase.E":"TextTrackCue"},"TextTrackList":{"ListBase":["TextTrack"],"ImmutableListMixin":["TextTrack"],"List":["TextTrack"],"JavaScriptIndexingBehavior":["TextTrack"],"JavaScriptObject":[],"EfficientLengthIterable":["TextTrack"],"Iterable":["TextTrack"],"ImmutableListMixin.E":"TextTrack","ListBase.E":"TextTrack"},"TimeRanges":{"JavaScriptObject":[]},"TouchList":{"ListBase":["Touch"],"ImmutableListMixin":["Touch"],"List":["Touch"],"JavaScriptIndexingBehavior":["Touch"],"JavaScriptObject":[],"EfficientLengthIterable":["Touch"],"Iterable":["Touch"],"ImmutableListMixin.E":"Touch","ListBase.E":"Touch"},"TrackDefaultList":{"JavaScriptObject":[]},"Url":{"JavaScriptObject":[]},"VideoTrackList":{"JavaScriptObject":[]},"_CssRuleList":{"ListBase":["CssRule"],"ImmutableListMixin":["CssRule"],"List":["CssRule"],"JavaScriptIndexingBehavior":["CssRule"],"JavaScriptObject":[],"EfficientLengthIterable":["CssRule"],"Iterable":["CssRule"],"ImmutableListMixin.E":"CssRule","ListBase.E":"CssRule"},"_DomRect":{"JavaScriptObject":[],"Rectangle":["num"]},"_GamepadList":{"ListBase":["Gamepad?"],"ImmutableListMixin":["Gamepad?"],"List":["Gamepad?"],"JavaScriptIndexingBehavior":["Gamepad?"],"JavaScriptObject":[],"EfficientLengthIterable":["Gamepad?"],"Iterable":["Gamepad?"],"ImmutableListMixin.E":"Gamepad?","ListBase.E":"Gamepad?"},"_NamedNodeMap":{"ListBase":["Node"],"ImmutableListMixin":["Node"],"List":["Node"],"JavaScriptIndexingBehavior":["Node"],"JavaScriptObject":[],"EfficientLengthIterable":["Node"],"Iterable":["Node"],"ImmutableListMixin.E":"Node","ListBase.E":"Node"},"_SpeechRecognitionResultList":{"ListBase":["SpeechRecognitionResult"],"ImmutableListMixin":["SpeechRecognitionResult"],"List":["SpeechRecognitionResult"],"JavaScriptIndexingBehavior":["SpeechRecognitionResult"],"JavaScriptObject":[],"EfficientLengthIterable":["SpeechRecognitionResult"],"Iterable":["SpeechRecognitionResult"],"ImmutableListMixin.E":"SpeechRecognitionResult","ListBase.E":"SpeechRecognitionResult"},"_StyleSheetList":{"ListBase":["StyleSheet"],"ImmutableListMixin":["StyleSheet"],"List":["StyleSheet"],"JavaScriptIndexingBehavior":["StyleSheet"],"JavaScriptObject":[],"EfficientLengthIterable":["StyleSheet"],"Iterable":["StyleSheet"],"ImmutableListMixin.E":"StyleSheet","ListBase.E":"StyleSheet"},"FixedSizeListIterator":{"Iterator":["1"]},"NullRejectionException":{"Exception":[]},"Length":{"JavaScriptObject":[]},"Number":{"JavaScriptObject":[]},"Transform":{"JavaScriptObject":[]},"LengthList":{"ListBase":["Length"],"ImmutableListMixin":["Length"],"List":["Length"],"JavaScriptObject":[],"EfficientLengthIterable":["Length"],"Iterable":["Length"],"ImmutableListMixin.E":"Length","ListBase.E":"Length"},"NumberList":{"ListBase":["Number"],"ImmutableListMixin":["Number"],"List":["Number"],"JavaScriptObject":[],"EfficientLengthIterable":["Number"],"Iterable":["Number"],"ImmutableListMixin.E":"Number","ListBase.E":"Number"},"PointList":{"JavaScriptObject":[]},"StringList":{"ListBase":["String"],"ImmutableListMixin":["String"],"List":["String"],"JavaScriptObject":[],"EfficientLengthIterable":["String"],"Iterable":["String"],"ImmutableListMixin.E":"String","ListBase.E":"String"},"TransformList":{"ListBase":["Transform"],"ImmutableListMixin":["Transform"],"List":["Transform"],"JavaScriptObject":[],"EfficientLengthIterable":["Transform"],"Iterable":["Transform"],"ImmutableListMixin.E":"Transform","ListBase.E":"Transform"},"AudioBuffer":{"JavaScriptObject":[]},"AudioParamMap":{"JavaScriptObject":[],"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.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"]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]}}')); + A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"_DelayedEvent":1,"_SetBase":1}')); var string$ = { - ______: "===== asynchronous gap ===========================\n", + x27_has_: "' has been assigned during initialization.", + x3d_____: "===== 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", @@ -16698,6 +17772,8 @@ var findType = A.findType; return { AsyncError: findType("AsyncError"), + ByteBuffer: findType("ByteBuffer"), + ByteData: findType("ByteData"), ConstantMapView_Symbol_dynamic: findType("ConstantMapView"), CssRule: findType("CssRule"), Duration: findType("Duration"), @@ -16705,22 +17781,23 @@ Error: findType("Error"), Exception: findType("Exception"), File: findType("File"), + Float32List: findType("Float32List"), + Float64List: findType("Float64List"), 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"), + Int16List: findType("Int16List"), + Int32List: findType("Int32List"), + Int8List: findType("Int8List"), Invocation: findType("Invocation"), Iterable_String: findType("Iterable"), Iterable_dynamic: findType("Iterable<@>"), + Iterable_nullable_Object: 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<@>"), @@ -16737,6 +17814,7 @@ List_int: findType("List"), Map_String_String: findType("Map"), Map_dynamic_dynamic: findType("Map<@,@>"), + Map_of_nullable_Object_and_nullable_Object: findType("Map"), MappedIterable_String_Frame: findType("MappedIterable"), MappedListIterable_Frame_Frame: findType("MappedListIterable"), MappedListIterable_String_Trace: findType("MappedListIterable"), @@ -16747,8 +17825,8 @@ Null: findType("Null"), Number: findType("Number"), Object: findType("Object"), - Pattern: findType("Pattern"), Plugin: findType("Plugin"), + Record: findType("Record"), Rectangle_num: findType("Rectangle"), RegExpMatch: findType("RegExpMatch"), SourceBuffer: findType("SourceBuffer"), @@ -16765,7 +17843,11 @@ Trace: findType("Trace"), Trace_Function_String: findType("Trace(String)"), Transform: findType("Transform"), + TrustedGetRuntimeType: findType("TrustedGetRuntimeType"), TypeError: findType("TypeError"), + Uint16List: findType("Uint16List"), + Uint32List: findType("Uint32List"), + Uint8ClampedList: findType("Uint8ClampedList"), Uint8List: findType("Uint8List"), UnknownJavaScriptObject: findType("UnknownJavaScriptObject"), UnmodifiableMapView_String_String: findType("UnmodifiableMapView"), @@ -16777,7 +17859,7 @@ _Future_dynamic: findType("_Future<@>"), _Future_int: findType("_Future"), _Future_void: findType("_Future<~>"), - _IdentityHashMap_dynamic_dynamic: findType("_IdentityHashMap<@,@>"), + _IdentityHashMap_of_nullable_Object_and_nullable_Object: 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)>"), @@ -16807,8 +17889,6 @@ 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("~"), @@ -16971,27 +18051,38 @@ 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_M1A = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_MMm = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int); + B.List_OL3 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int); + B.List_XRg0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_XRg = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_YmH = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int); + B.List_ejq = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), 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.List_oFp = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int); + B.List_yzX = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int); + B.Object_empty = {}; + B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); + B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap")); B.Symbol_call = new A.Symbol("call"); + B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer"); + B.Type_ByteData_zNC = A.typeLiteral("ByteData"); + B.Type_Float32List_LB7 = A.typeLiteral("Float32List"); + B.Type_Float64List_LB7 = A.typeLiteral("Float64List"); + B.Type_Int16List_uXf = A.typeLiteral("Int16List"); + B.Type_Int32List_O50 = A.typeLiteral("Int32List"); + B.Type_Int8List_ekJ = A.typeLiteral("Int8List"); B.Type_Object_xQ6 = A.typeLiteral("Object"); + 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.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_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")); @@ -16999,13 +18090,13 @@ 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__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; + $.toStringVisiting = A._setArrayType([], type$.JSArray_Object); $.Primitives__identityHashCodeProperty = null; $.BoundClosure__receiverFieldNameCache = null; $.BoundClosure__interceptorFieldNameCache = null; @@ -17021,12 +18112,13 @@ $._isInCallbackLoop = false; $.Zone__current = B.C__RootZone; $._RootZone__rootDelegate = null; - $._toStringVisiting = A._setArrayType([], type$.JSArray_Object); + $.Uri__cachedBaseString = ""; + $.Uri__cachedBaseUri = null; $._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")); + $._subscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("StreamSubscription<~>")); + $._domSubscriptions = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, A.findType("Subscription")); })(); (function lazyInitializers() { var _lazyFinal = hunkHelpers.lazyFinal; @@ -17090,7 +18182,7 @@ _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($, "context", "$get$context", () => new A.Context($.$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))); @@ -17113,7 +18205,7 @@ _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))); + _lazyFinal($, "_currentUrl", "$get$_currentUrl", () => A.Uri_parse(A.getProperty(A.getProperty(self.window, "location", type$.JavaScriptObject), "href", type$.String))); })(); (function nativeSupport() { !function() { @@ -17138,8 +18230,8 @@ } init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); }(); - 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}); + hunkHelpers.setOrUpdateInterceptorsByTag({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, 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, 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, webkitSpeechRecognition: 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({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, 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, 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, webkitSpeechRecognition: 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"; @@ -17173,9 +18265,6 @@ 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$3$6 = function(a, b, c, d, e, f) { return this(a, b, c, d, e, f); }; @@ -17191,6 +18280,9 @@ Function.prototype.call$2$4 = function(a, b, c, d) { return this(a, b, c, d); }; + Function.prototype.call$4 = function(a, b, c, d) { + return this(a, b, c, d); + }; Function.prototype.call$2$2 = function(a, b) { return this(a, b); }; @@ -17203,6 +18295,9 @@ Function.prototype.call$1$2 = function(a, b) { return this(a, b); }; + Function.prototype.call$1$0 = function() { + return this(); + }; Function.prototype.call$2$3 = function(a, b, c) { return this(a, b, c); }; diff --git a/dev/packages/test/src/runner/browser/static/run_wasm_chrome.js b/dev/packages/test/src/runner/browser/static/run_wasm_chrome.js new file mode 100644 index 000000000..6e3bda02b --- /dev/null +++ b/dev/packages/test/src/runner/browser/static/run_wasm_chrome.js @@ -0,0 +1,47 @@ +// 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; + + // Instantiate the Dart module, importing from the global scope. + let dart2wasmJsRuntime = await import("./" + data.jsruntimeurl); + + // Support three versions of dart2wasm: + // + // (1) Versions before 3.6.0-167.0.dev require the user to compile using the + // browser's `WebAssembly` API, the compiled module needs to be instantiated + // using the JS runtime. + // + // (2) Versions starting with 3.6.0-167.0.dev added helpers for compiling and + // instantiating. + // + // (3) Versions starting with 3.6.0-212.0.dev made compilation functions + // return a new type that comes with instantiation and invoke methods. + + if (dart2wasmJsRuntime.compileStreaming !== undefined) { + // Version (2) or (3). + let compiledModule = await dart2wasmJsRuntime.compileStreaming( + fetch(data.wasmurl), + ); + if (compiledModule.instantiate !== undefined) { + // Version (3). + let instantiatedModule = await compiledModule.instantiate(); + instantiatedModule.invokeMain(); + } else { + // Version (2). + let dartInstance = await dart2wasmJsRuntime.instantiate(compiledModule, {}); + await dart2wasmJsRuntime.invoke(dartInstance); + } + } else { + // Version (1). + let modulePromise = WebAssembly.compileStreaming(fetch(data.wasmurl)); + let dartInstance = await dart2wasmJsRuntime.instantiate(modulePromise, {}); + await dart2wasmJsRuntime.invoke(dartInstance); + } +})(); diff --git a/dev/packages/test/src/runner/wasm/static/default.html.tpl b/dev/packages/test/src/runner/wasm/static/default.html.tpl deleted file mode 100644 index 3d0504057..000000000 --- a/dev/packages/test/src/runner/wasm/static/default.html.tpl +++ /dev/null @@ -1,9 +0,0 @@ - - - - {{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 deleted file mode 100644 index d8628b9fe..000000000 --- a/dev/packages/test/src/runner/wasm/static/run_wasm_chrome.js +++ /dev/null @@ -1,21 +0,0 @@ -// 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 deleted file mode 100644 index 0f7e0bc96..000000000 --- a/dev/packages/test/test.dart.transitive_digest +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index e562f6eb9..000000000 --- a/dev/packages/test_api/backend.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -``\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 deleted file mode 100644 index 5bc1a9328465d6378a96936a72fd63aaab7a5227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmdN}ey(<-Nm@V&a~DH$&{=i>I=%)* diff --git a/dev/packages/test_api/scaffolding.dart.transitive_digest b/dev/packages/test_api/scaffolding.dart.transitive_digest deleted file mode 100644 index 9d6e0369c..000000000 --- a/dev/packages/test_api/scaffolding.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 18b60aaa6..000000000 --- a/dev/packages/test_api/src/backend/compiler.dart.transitive_digest +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index 0e9d6d96e..000000000 --- a/dev/packages/test_api/src/backend/declarer.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -ʼ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 deleted file mode 100644 index 17e08c153..000000000 --- a/dev/packages/test_api/src/backend/group.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index d91364e53..000000000 --- a/dev/packages/test_api/src/backend/invoker.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 51b928a2f..000000000 --- a/dev/packages/test_api/src/backend/live_test.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 04a00737d..000000000 --- a/dev/packages/test_api/src/backend/live_test_controller.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -ǻ=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 deleted file mode 100644 index 419222896..000000000 --- a/dev/packages/test_api/src/backend/message.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ ->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 deleted file mode 100644 index 138648bdd..000000000 --- a/dev/packages/test_api/src/backend/metadata.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -€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 deleted file mode 100644 index 4b7fb4c96..000000000 --- a/dev/packages/test_api/src/backend/operating_system.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 67dcb4a3e..000000000 --- a/dev/packages/test_api/src/backend/platform_selector.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index d24158e8b..000000000 --- a/dev/packages/test_api/src/backend/runtime.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index a77f15b62b60419092debaff34fed24b47d5f836..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmbO}-JCa<;fU7++t1haIcy97Htq%} diff --git a/dev/packages/test_api/src/backend/suite.dart.transitive_digest b/dev/packages/test_api/src/backend/suite.dart.transitive_digest deleted file mode 100644 index 1ffe69d74..000000000 --- a/dev/packages/test_api/src/backend/suite.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -#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 deleted file mode 100644 index 76775e743..000000000 --- a/dev/packages/test_api/src/backend/suite_platform.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 3ac95cee3..000000000 --- a/dev/packages/test_api/src/backend/test.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 7824a4a9465812ab607e64606218807e04aba072..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16 XcmebJ<8=1mK4+Qs!k)TdiDL`^Ms^2h diff --git a/dev/packages/tuple/tuple.dart.transitive_digest b/dev/packages/tuple/tuple.dart.transitive_digest deleted file mode 100644 index 1ea5638dd..000000000 --- a/dev/packages/tuple/tuple.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index f4bb7cbad..000000000 --- a/dev/packages/typed_data/typed_data.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ - D}=(c \ No newline at end of file diff --git a/dev/packages/vm_service/DEPENDENCIES.md b/dev/packages/vm_service/DEPENDENCIES.md new file mode 100644 index 000000000..c9cb2f065 --- /dev/null +++ b/dev/packages/vm_service/DEPENDENCIES.md @@ -0,0 +1,17 @@ + + +```mermaid +flowchart TD; +vm_service.dart-->src; +vm_service_io.dart-->src; +vm_service_io.dart-->vm_service.dart; +``` + +### Inversions +In this folder: 0 + +Including sub-folders: 0 + diff --git a/dev/packages/vm_service/src/DEPENDENCIES.md b/dev/packages/vm_service/src/DEPENDENCIES.md new file mode 100644 index 000000000..97676ccd7 --- /dev/null +++ b/dev/packages/vm_service/src/DEPENDENCIES.md @@ -0,0 +1,18 @@ + + +```mermaid +flowchart TD; +_helpers.dart-->vm_service.dart; +dart_io_extensions.dart-->vm_service.dart; +snapshot_graph.dart-->_stream_helpers.dart; +snapshot_graph.dart-->vm_service.dart; +``` + +### Inversions +In this folder: 0 + +Including sub-folders: 0 + diff --git a/dev/packages/vm_service/src/README.md b/dev/packages/vm_service/src/README.md new file mode 100644 index 000000000..8375f1c84 --- /dev/null +++ b/dev/packages/vm_service/src/README.md @@ -0,0 +1 @@ +Files, that are not exported, start with `_`. diff --git a/dev/packages/w_common/disposable.dart.transitive_digest b/dev/packages/w_common/disposable.dart.transitive_digest deleted file mode 100644 index bc09291b3..000000000 --- a/dev/packages/w_common/disposable.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -ƀ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 deleted file mode 100644 index 01c53edc1..000000000 --- a/dev/packages/w_flux/w_flux.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -|dQF2q \ No newline at end of file diff --git a/dev/packages/web/fix_data.yaml b/dev/packages/web/fix_data.yaml new file mode 100644 index 000000000..7d6fc6c8b --- /dev/null +++ b/dev/packages/web/fix_data.yaml @@ -0,0 +1,1279 @@ +# Copyright (c) 2024, 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. + +# Please add new fixes to the top of the file. For documentation about this file +# format, see https://dart.dev/go/data-driven-fixes. + +version: 1 + +transforms: + # AnchorElement => HTMLAnchorElement + - title: "Rename to 'HTMLAnchorElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'AnchorElement' + changes: + - kind: 'rename' + newName: 'HTMLAnchorElement' + # AreaElement => HTMLAreaElement + - title: "Rename to 'HTMLAreaElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'AreaElement' + changes: + - kind: 'rename' + newName: 'HTMLAreaElement' + # AudioElement => HTMLAudioElement + - title: "Rename to 'HTMLAudioElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'AudioElement' + changes: + - kind: 'rename' + newName: 'HTMLAudioElement' + # BaseElement => HTMLBaseElement + - title: "Rename to 'HTMLBaseElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'BaseElement' + changes: + - kind: 'rename' + newName: 'HTMLBaseElement' + # BodyElement => HTMLBodyElement + - title: "Rename to 'HTMLBodyElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'BodyElement' + changes: + - kind: 'rename' + newName: 'HTMLBodyElement' + # BRElement => HTMLBRElement + - title: "Rename to 'HTMLBRElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'BRElement' + changes: + - kind: 'rename' + newName: 'HTMLBRElement' + # ButtonElement => HTMLButtonElement + - title: "Rename to 'HTMLButtonElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ButtonElement' + changes: + - kind: 'rename' + newName: 'HTMLButtonElement' + # CanvasElement => HTMLCanvasElement + - title: "Rename to 'HTMLCanvasElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CanvasElement' + changes: + - kind: 'rename' + newName: 'HTMLCanvasElement' + # CDataSection => CDATASection + - title: "Rename to 'CDATASection'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CDataSection' + changes: + - kind: 'rename' + newName: 'CDATASection' + # CssConditionRule => CSSConditionRule + - title: "Rename to 'CSSConditionRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssConditionRule' + changes: + - kind: 'rename' + newName: 'CSSConditionRule' + # CssFontFaceRule => CSSFontFaceRule + - title: "Rename to 'CSSFontFaceRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssFontFaceRule' + changes: + - kind: 'rename' + newName: 'CSSFontFaceRule' + # CssGroupingRule => CSSGroupingRule + - title: "Rename to 'CSSGroupingRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssGroupingRule' + changes: + - kind: 'rename' + newName: 'CSSGroupingRule' + # CssImageValue => CSSImageValue + - title: "Rename to 'CSSImageValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssImageValue' + changes: + - kind: 'rename' + newName: 'CSSImageValue' + # CssImportRule => CSSImportRule + - title: "Rename to 'CSSImportRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssImportRule' + changes: + - kind: 'rename' + newName: 'CSSImportRule' + # CssKeyframeRule => CSSKeyframeRule + - title: "Rename to 'CSSKeyframeRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssKeyframeRule' + changes: + - kind: 'rename' + newName: 'CSSKeyframeRule' + # CssKeyframesRule => CSSKeyframesRule + - title: "Rename to 'CSSKeyframesRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssKeyframesRule' + changes: + - kind: 'rename' + newName: 'CSSKeyframesRule' + # CssKeywordValue => CSSKeywordValue + - title: "Rename to 'CSSKeywordValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssKeywordValue' + changes: + - kind: 'rename' + newName: 'CSSKeywordValue' + # CssMatrixComponent => CSSMatrixComponent + - title: "Rename to 'CSSMatrixComponent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssMatrixComponent' + changes: + - kind: 'rename' + newName: 'CSSMatrixComponent' + # CssMediaRule => CSSMediaRule + - title: "Rename to 'CSSMediaRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssMediaRule' + changes: + - kind: 'rename' + newName: 'CSSMediaRule' + # CssNamespaceRule => CSSNamespaceRule + - title: "Rename to 'CSSNamespaceRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssNamespaceRule' + changes: + - kind: 'rename' + newName: 'CSSNamespaceRule' + # CssNumericValue => CSSNumericValue + - title: "Rename to 'CSSNumericValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssNumericValue' + changes: + - kind: 'rename' + newName: 'CSSNumericValue' + # CssPageRule => CSSPageRule + - title: "Rename to 'CSSPageRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssPageRule' + changes: + - kind: 'rename' + newName: 'CSSPageRule' + # CssPerspective => CSSPerspective + - title: "Rename to 'CSSPerspective'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssPerspective' + changes: + - kind: 'rename' + newName: 'CSSPerspective' + # CssRule => CSSRule + - title: "Rename to 'CSSRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssRule' + changes: + - kind: 'rename' + newName: 'CSSRule' + # CssScale => CSSScale + - title: "Rename to 'CSSScale'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssScale' + changes: + - kind: 'rename' + newName: 'CSSScale' + # CssSkew => CSSSkew + - title: "Rename to 'CSSSkew'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssSkew' + changes: + - kind: 'rename' + newName: 'CSSSkew' + # CssStyleDeclaration => CSSStyleDeclaration + - title: "Rename to 'CSSStyleDeclaration'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssStyleDeclaration' + changes: + - kind: 'rename' + newName: 'CSSStyleDeclaration' + # CssStyleRule => CSSStyleRule + - title: "Rename to 'CSSStyleRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssStyleRule' + changes: + - kind: 'rename' + newName: 'CSSStyleRule' + # CssStyleSheet => CSSStyleSheet + - title: "Rename to 'CSSStyleSheet'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssStyleSheet' + changes: + - kind: 'rename' + newName: 'CSSStyleSheet' + # CssStyleValue => CSSStyleValue + - title: "Rename to 'CSSStyleValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssStyleValue' + changes: + - kind: 'rename' + newName: 'CSSStyleValue' + # CssSupportsRule => CSSSupportsRule + - title: "Rename to 'CSSSupportsRule'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssSupportsRule' + changes: + - kind: 'rename' + newName: 'CSSSupportsRule' + # CssTransformComponent => CSSTransformComponent + - title: "Rename to 'CSSTransformComponent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssTransformComponent' + changes: + - kind: 'rename' + newName: 'CSSTransformComponent' + # CssTransformValue => CSSTransformValue + - title: "Rename to 'CSSTransformValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssTransformValue' + changes: + - kind: 'rename' + newName: 'CSSTransformValue' + # CssUnitValue => CSSUnitValue + - title: "Rename to 'CSSUnitValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssUnitValue' + changes: + - kind: 'rename' + newName: 'CSSUnitValue' + # CssUnparsedValue => CSSUnparsedValue + - title: "Rename to 'CSSUnparsedValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssUnparsedValue' + changes: + - kind: 'rename' + newName: 'CSSUnparsedValue' + # CssVariableReferenceValue => CSSVariableReferenceValue + - title: "Rename to 'CSSVariableReferenceValue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'CssVariableReferenceValue' + changes: + - kind: 'rename' + newName: 'CSSVariableReferenceValue' + # DataElement => HTMLDataElement + - title: "Rename to 'HTMLDataElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DataElement' + changes: + - kind: 'rename' + newName: 'HTMLDataElement' + # DataListElement => HTMLDataListElement + - title: "Rename to 'HTMLDataListElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DataListElement' + changes: + - kind: 'rename' + newName: 'HTMLDataListElement' + # DetailsElement => HTMLDetailsElement + - title: "Rename to 'HTMLDetailsElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DetailsElement' + changes: + - kind: 'rename' + newName: 'HTMLDetailsElement' + # DialogElement => HTMLDialogElement + - title: "Rename to 'HTMLDialogElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DialogElement' + changes: + - kind: 'rename' + newName: 'HTMLDialogElement' + # DivElement => HTMLDivElement + - title: "Rename to 'HTMLDivElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DivElement' + changes: + - kind: 'rename' + newName: 'HTMLDivElement' + # DListElement => HTMLDListElement + - title: "Rename to 'HTMLDListElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DListElement' + changes: + - kind: 'rename' + newName: 'HTMLDListElement' + # DomException => DOMException + - title: "Rename to 'DOMException'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomException' + changes: + - kind: 'rename' + newName: 'DOMException' + # DomImplementation => DOMImplementation + - title: "Rename to 'DOMImplementation'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomImplementation' + changes: + - kind: 'rename' + newName: 'DOMImplementation' + # DomMatrix => DOMMatrix + - title: "Rename to 'DOMMatrix'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomMatrix' + changes: + - kind: 'rename' + newName: 'DOMMatrix' + # DomMatrixReadOnly => DOMMatrixReadOnly + - title: "Rename to 'DOMMatrixReadOnly'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomMatrixReadOnly' + changes: + - kind: 'rename' + newName: 'DOMMatrixReadOnly' + # DomParser => DOMParser + - title: "Rename to 'DOMParser'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomParser' + changes: + - kind: 'rename' + newName: 'DOMParser' + # DomPoint => DOMPoint + - title: "Rename to 'DOMPoint'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomPoint' + changes: + - kind: 'rename' + newName: 'DOMPoint' + # DomPointReadOnly => DOMPointReadOnly + - title: "Rename to 'DOMPointReadOnly'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomPointReadOnly' + changes: + - kind: 'rename' + newName: 'DOMPointReadOnly' + # DomQuad => DOMQuad + - title: "Rename to 'DOMQuad'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomQuad' + changes: + - kind: 'rename' + newName: 'DOMQuad' + # DomRectList => DOMRectList + - title: "Rename to 'DOMRectList'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomRectList' + changes: + - kind: 'rename' + newName: 'DOMRectList' + # DomRectReadOnly => DOMRectReadOnly + - title: "Rename to 'DOMRectReadOnly'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomRectReadOnly' + changes: + - kind: 'rename' + newName: 'DOMRectReadOnly' + # DomStringList => DOMStringList + - title: "Rename to 'DOMStringList'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomStringList' + changes: + - kind: 'rename' + newName: 'DOMStringList' + # DomStringMap => DOMStringMap + - title: "Rename to 'DOMStringMap'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomStringMap' + changes: + - kind: 'rename' + newName: 'DOMStringMap' + # DomTokenList => DOMTokenList + - title: "Rename to 'DOMTokenList'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'DomTokenList' + changes: + - kind: 'rename' + newName: 'DOMTokenList' + # EmbedElement => HTMLEmbedElement + - title: "Rename to 'HTMLEmbedElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'EmbedElement' + changes: + - kind: 'rename' + newName: 'HTMLEmbedElement' + # Entry => FileSystemEntry + - title: "Rename to 'FileSystemEntry'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'Entry' + changes: + - kind: 'rename' + newName: 'FileSystemEntry' + # FieldSetElement => HTMLFieldSetElement + - title: "Rename to 'HTMLFieldSetElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'FieldSetElement' + changes: + - kind: 'rename' + newName: 'HTMLFieldSetElement' + # FileEntry => FileSystemFileEntry + - title: "Rename to 'FileSystemFileEntry'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'FileEntry' + changes: + - kind: 'rename' + newName: 'FileSystemFileEntry' + # FormElement => HTMLFormElement + - title: "Rename to 'HTMLFormElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'FormElement' + changes: + - kind: 'rename' + newName: 'HTMLFormElement' + # Geoposition => GeolocationPosition + - title: "Rename to 'GeolocationPosition'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'Geoposition' + changes: + - kind: 'rename' + newName: 'GeolocationPosition' + # HeadElement => HTMLHeadElement + - title: "Rename to 'HTMLHeadElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HeadElement' + changes: + - kind: 'rename' + newName: 'HTMLHeadElement' + # HeadingElement => HTMLHeadingElement + - title: "Rename to 'HTMLHeadingElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HeadingElement' + changes: + - kind: 'rename' + newName: 'HTMLHeadingElement' + # HRElement => HTMLHRElement + - title: "Rename to 'HTMLHRElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HRElement' + changes: + - kind: 'rename' + newName: 'HTMLHRElement' + # HtmlCollection => HTMLCollection + - title: "Rename to 'HTMLCollection'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlCollection' + changes: + - kind: 'rename' + newName: 'HTMLCollection' + # HtmlDocument => Document + - title: "Rename to 'Document'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlDocument' + changes: + - kind: 'rename' + newName: 'Document' + # HtmlElement => HTMLElement + - title: "Rename to 'HTMLElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlElement' + changes: + - kind: 'rename' + newName: 'HTMLElement' + # HtmlFormControlsCollection => HTMLFormControlsCollection + - title: "Rename to 'HTMLFormControlsCollection'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlFormControlsCollection' + changes: + - kind: 'rename' + newName: 'HTMLFormControlsCollection' + # HtmlHtmlElement => HTMLHtmlElement + - title: "Rename to 'HTMLHtmlElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlHtmlElement' + changes: + - kind: 'rename' + newName: 'HTMLHtmlElement' + # HtmlOptionsCollection => HTMLOptionsCollection + - title: "Rename to 'HTMLOptionsCollection'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HtmlOptionsCollection' + changes: + - kind: 'rename' + newName: 'HTMLOptionsCollection' + # HttpRequest => XMLHttpRequest (see test_fixes/README.md) + # - title: "Rename to 'XMLHttpRequest'" + # date: 2024-01-12 + # element: + # uris: [ 'package:web/web.dart' ] + # class: 'HttpRequest' + # changes: + # - kind: 'rename' + # newName: 'XMLHttpRequest' + # HttpRequestEventTarget => XMLHttpRequestEventTarget + - title: "Rename to 'XMLHttpRequestEventTarget'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HttpRequestEventTarget' + changes: + - kind: 'rename' + newName: 'XMLHttpRequestEventTarget' + # HttpRequestUpload => XMLHttpRequestUpload + - title: "Rename to 'XMLHttpRequestUpload'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'HttpRequestUpload' + changes: + - kind: 'rename' + newName: 'XMLHttpRequestUpload' + # IFrameElement => HTMLIFrameElement + - title: "Rename to 'HTMLIFrameElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'IFrameElement' + changes: + - kind: 'rename' + newName: 'HTMLIFrameElement' + # ImageElement => HTMLImageElement + - title: "Rename to 'HTMLImageElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ImageElement' + changes: + - kind: 'rename' + newName: 'HTMLImageElement' + # InputElement => HTMLInputElement + - title: "Rename to 'HTMLInputElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'InputElement' + changes: + - kind: 'rename' + newName: 'HTMLInputElement' + # LabelElement => HTMLLabelElement + - title: "Rename to 'HTMLLabelElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'LabelElement' + changes: + - kind: 'rename' + newName: 'HTMLLabelElement' + # LegendElement => HTMLLegendElement + - title: "Rename to 'HTMLLegendElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'LegendElement' + changes: + - kind: 'rename' + newName: 'HTMLLegendElement' + # LIElement => HTMLLIElement + - title: "Rename to 'HTMLLIElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'LIElement' + changes: + - kind: 'rename' + newName: 'HTMLLIElement' + # LinkElement => HTMLLinkElement + - title: "Rename to 'HTMLLinkElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'LinkElement' + changes: + - kind: 'rename' + newName: 'HTMLLinkElement' + # MapElement => HTMLMapElement + - title: "Rename to 'HTMLMapElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'MapElement' + changes: + - kind: 'rename' + newName: 'HTMLMapElement' + # MediaElement => HTMLMediaElement + - title: "Rename to 'HTMLMediaElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'MediaElement' + changes: + - kind: 'rename' + newName: 'HTMLMediaElement' + # MenuElement => HTMLMenuElement + - title: "Rename to 'HTMLMenuElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'MenuElement' + changes: + - kind: 'rename' + newName: 'HTMLMenuElement' + # MetaElement => HTMLMetaElement + - title: "Rename to 'HTMLMetaElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'MetaElement' + changes: + - kind: 'rename' + newName: 'HTMLMetaElement' + # MeterElement => HTMLMeterElement + - title: "Rename to 'HTMLMeterElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'MeterElement' + changes: + - kind: 'rename' + newName: 'HTMLMeterElement' + # ModElement => HTMLModElement + - title: "Rename to 'HTMLModElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ModElement' + changes: + - kind: 'rename' + newName: 'HTMLModElement' + # ObjectElement => HTMLObjectElement + - title: "Rename to 'HTMLObjectElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ObjectElement' + changes: + - kind: 'rename' + newName: 'HTMLObjectElement' + # OListElement => HTMLOListElement + - title: "Rename to 'HTMLOListElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'OListElement' + changes: + - kind: 'rename' + newName: 'HTMLOListElement' + # OptGroupElement => HTMLOptGroupElement + - title: "Rename to 'HTMLOptGroupElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'OptGroupElement' + changes: + - kind: 'rename' + newName: 'HTMLOptGroupElement' + # OptionElement => HTMLOptionElement + - title: "Rename to 'HTMLOptionElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'OptionElement' + changes: + - kind: 'rename' + newName: 'HTMLOptionElement' + # OutputElement => HTMLOutputElement + - title: "Rename to 'HTMLOutputElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'OutputElement' + changes: + - kind: 'rename' + newName: 'HTMLOutputElement' + # ParagraphElement => HTMLParagraphElement + - title: "Rename to 'HTMLParagraphElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ParagraphElement' + changes: + - kind: 'rename' + newName: 'HTMLParagraphElement' + # ParamElement => HTMLParamElement + - title: "Rename to 'HTMLParamElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ParamElement' + changes: + - kind: 'rename' + newName: 'HTMLParamElement' + # PictureElement => HTMLPictureElement + - title: "Rename to 'HTMLPictureElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'PictureElement' + changes: + - kind: 'rename' + newName: 'HTMLPictureElement' + # PositionError => GeolocationPositionError + - title: "Rename to 'GeolocationPositionError'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'PositionError' + changes: + - kind: 'rename' + newName: 'GeolocationPositionError' + # PreElement => HTMLPreElement + - title: "Rename to 'HTMLPreElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'PreElement' + changes: + - kind: 'rename' + newName: 'HTMLPreElement' + # ProgressElement => HTMLProgressElement + - title: "Rename to 'HTMLProgressElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ProgressElement' + changes: + - kind: 'rename' + newName: 'HTMLProgressElement' + # QuoteElement => HTMLQuoteElement + - title: "Rename to 'HTMLQuoteElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'QuoteElement' + changes: + - kind: 'rename' + newName: 'HTMLQuoteElement' + # RtcCertificate => RTCCertificate + - title: "Rename to 'RTCCertificate'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcCertificate' + changes: + - kind: 'rename' + newName: 'RTCCertificate' + # RtcDataChannel => RTCDataChannel + - title: "Rename to 'RTCDataChannel'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcDataChannel' + changes: + - kind: 'rename' + newName: 'RTCDataChannel' + # RtcDataChannelEvent => RTCDataChannelEvent + - title: "Rename to 'RTCDataChannelEvent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcDataChannelEvent' + changes: + - kind: 'rename' + newName: 'RTCDataChannelEvent' + # RtcDtmfSender => RTCDTMFSender + - title: "Rename to 'RTCDTMFSender'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcDtmfSender' + changes: + - kind: 'rename' + newName: 'RTCDTMFSender' + # RtcDtmfToneChangeEvent => RTCDTMFToneChangeEvent + - title: "Rename to 'RTCDTMFToneChangeEvent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcDtmfToneChangeEvent' + changes: + - kind: 'rename' + newName: 'RTCDTMFToneChangeEvent' + # RtcIceCandidate => RTCIceCandidate + - title: "Rename to 'RTCIceCandidate'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcIceCandidate' + changes: + - kind: 'rename' + newName: 'RTCIceCandidate' + # RtcPeerConnection => RTCPeerConnection + - title: "Rename to 'RTCPeerConnection'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcPeerConnection' + changes: + - kind: 'rename' + newName: 'RTCPeerConnection' + # RtcPeerConnectionIceEvent => RTCPeerConnectionIceEvent + - title: "Rename to 'RTCPeerConnectionIceEvent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcPeerConnectionIceEvent' + changes: + - kind: 'rename' + newName: 'RTCPeerConnectionIceEvent' + # RtcRtpContributingSource => RTCRtpContributingSource + - title: "Rename to 'RTCRtpContributingSource'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcRtpContributingSource' + changes: + - kind: 'rename' + newName: 'RTCRtpContributingSource' + # RtcRtpReceiver => RTCRtpReceiver + - title: "Rename to 'RTCRtpReceiver'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcRtpReceiver' + changes: + - kind: 'rename' + newName: 'RTCRtpReceiver' + # RtcRtpSender => RTCRtpSender + - title: "Rename to 'RTCRtpSender'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcRtpSender' + changes: + - kind: 'rename' + newName: 'RTCRtpSender' + # RtcSessionDescription => RTCSessionDescription + - title: "Rename to 'RTCSessionDescription'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcSessionDescription' + changes: + - kind: 'rename' + newName: 'RTCSessionDescription' + # RtcStatsReport => RTCStatsReport + - title: "Rename to 'RTCStatsReport'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcStatsReport' + changes: + - kind: 'rename' + newName: 'RTCStatsReport' + # RtcTrackEvent => RTCTrackEvent + - title: "Rename to 'RTCTrackEvent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'RtcTrackEvent' + changes: + - kind: 'rename' + newName: 'RTCTrackEvent' + # ScriptElement => HTMLScriptElement + - title: "Rename to 'HTMLScriptElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'ScriptElement' + changes: + - kind: 'rename' + newName: 'HTMLScriptElement' + # SelectElement => HTMLSelectElement + - title: "Rename to 'HTMLSelectElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'SelectElement' + changes: + - kind: 'rename' + newName: 'HTMLSelectElement' + # SlotElement => HTMLSlotElement + - title: "Rename to 'HTMLSlotElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'SlotElement' + changes: + - kind: 'rename' + newName: 'HTMLSlotElement' + # SourceElement => HTMLSourceElement + - title: "Rename to 'HTMLSourceElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'SourceElement' + changes: + - kind: 'rename' + newName: 'HTMLSourceElement' + # SpanElement => HTMLSpanElement + - title: "Rename to 'HTMLSpanElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'SpanElement' + changes: + - kind: 'rename' + newName: 'HTMLSpanElement' + # SpeechRecognitionError => SpeechRecognitionErrorEvent + - title: "Rename to 'SpeechRecognitionErrorEvent'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'SpeechRecognitionError' + changes: + - kind: 'rename' + newName: 'SpeechRecognitionErrorEvent' + # StyleElement => HTMLStyleElement + - title: "Rename to 'HTMLStyleElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'StyleElement' + changes: + - kind: 'rename' + newName: 'HTMLStyleElement' + # StylePropertyMapReadonly => StylePropertyMapReadOnly + - title: "Rename to 'StylePropertyMapReadOnly'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'StylePropertyMapReadonly' + changes: + - kind: 'rename' + newName: 'StylePropertyMapReadOnly' + # TableCaptionElement => HTMLTableCaptionElement + - title: "Rename to 'HTMLTableCaptionElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TableCaptionElement' + changes: + - kind: 'rename' + newName: 'HTMLTableCaptionElement' + # TableColElement => HTMLTableColElement + - title: "Rename to 'HTMLTableColElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TableColElement' + changes: + - kind: 'rename' + newName: 'HTMLTableColElement' + # TableElement => HTMLTableElement + - title: "Rename to 'HTMLTableElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TableElement' + changes: + - kind: 'rename' + newName: 'HTMLTableElement' + # TableRowElement => HTMLTableRowElement + - title: "Rename to 'HTMLTableRowElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TableRowElement' + changes: + - kind: 'rename' + newName: 'HTMLTableRowElement' + # TableSectionElement => HTMLTableSectionElement + - title: "Rename to 'HTMLTableSectionElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TableSectionElement' + changes: + - kind: 'rename' + newName: 'HTMLTableSectionElement' + # TemplateElement => HTMLTemplateElement + - title: "Rename to 'HTMLTemplateElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TemplateElement' + changes: + - kind: 'rename' + newName: 'HTMLTemplateElement' + # TextAreaElement => HTMLTextAreaElement + - title: "Rename to 'HTMLTextAreaElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TextAreaElement' + changes: + - kind: 'rename' + newName: 'HTMLTextAreaElement' + # TimeElement => HTMLTimeElement + - title: "Rename to 'HTMLTimeElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TimeElement' + changes: + - kind: 'rename' + newName: 'HTMLTimeElement' + # TitleElement => HTMLTitleElement + - title: "Rename to 'HTMLTitleElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TitleElement' + changes: + - kind: 'rename' + newName: 'HTMLTitleElement' + # TrackElement => HTMLTrackElement + - title: "Rename to 'HTMLTrackElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'TrackElement' + changes: + - kind: 'rename' + newName: 'HTMLTrackElement' + # UListElement => HTMLUListElement + - title: "Rename to 'HTMLUListElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'UListElement' + changes: + - kind: 'rename' + newName: 'HTMLUListElement' + # UnderlyingSourceBase => UnderlyingSource + - title: "Rename to 'UnderlyingSource'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'UnderlyingSourceBase' + changes: + - kind: 'rename' + newName: 'UnderlyingSource' + # UnknownElement => HTMLUnknownElement + - title: "Rename to 'HTMLUnknownElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'UnknownElement' + changes: + - kind: 'rename' + newName: 'HTMLUnknownElement' + # Url => URL + - title: "Rename to 'URL'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'Url' + changes: + - kind: 'rename' + newName: 'URL' + # UrlSearchParams => URLSearchParams + - title: "Rename to 'URLSearchParams'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'UrlSearchParams' + changes: + - kind: 'rename' + newName: 'URLSearchParams' + # VideoElement => HTMLVideoElement + - title: "Rename to 'HTMLVideoElement'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'VideoElement' + changes: + - kind: 'rename' + newName: 'HTMLVideoElement' + # VttCue => VTTCue + - title: "Rename to 'VTTCue'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'VttCue' + changes: + - kind: 'rename' + newName: 'VTTCue' + # VttRegion => VTTRegion + - title: "Rename to 'VTTRegion'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'VttRegion' + changes: + - kind: 'rename' + newName: 'VTTRegion' + # XmlDocument => XMLDocument + - title: "Rename to 'XMLDocument'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'XmlDocument' + changes: + - kind: 'rename' + newName: 'XMLDocument' + # XmlSerializer => XMLSerializer + - title: "Rename to 'XMLSerializer'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'XmlSerializer' + changes: + - kind: 'rename' + newName: 'XMLSerializer' + # XsltProcessor => XSLTProcessor + - title: "Rename to 'XSLTProcessor'" + date: 2024-01-12 + element: + uris: [ 'package:web/web.dart' ] + class: 'XsltProcessor' + changes: + - kind: 'rename' + newName: 'XSLTProcessor' diff --git a/dev/packages/xml/xml.dart.transitive_digest b/dev/packages/xml/xml.dart.transitive_digest deleted file mode 100644 index d81dbff18..000000000 --- a/dev/packages/xml/xml.dart.transitive_digest +++ /dev/null @@ -1 +0,0 @@ -hKs \ No newline at end of file